platypush/platypush/backend/http/dist/static/js/chunk-0a891b5a.1431e4ce.js

2 lines
1.4 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0a891b5a"],{"365a":function(e,t,n){"use strict";n.r(t);var a=n("7a23"),o=Object(a["K"])("data-v-4835dfb0");Object(a["u"])("data-v-4835dfb0");var s={class:"date-time"};Object(a["s"])();var i=o((function(e,t,n,o,i,r){return Object(a["r"])(),Object(a["e"])("div",s,[r._showDate?(Object(a["r"])(),Object(a["e"])("div",{key:0,class:"date",textContent:Object(a["C"])(e.formatDate(e.now))},null,8,["textContent"])):Object(a["f"])("",!0),r._showTime?(Object(a["r"])(),Object(a["e"])("div",{key:1,class:"time",textContent:Object(a["C"])(e.formatTime(e.now,r._showSeconds))},null,8,["textContent"])):Object(a["f"])("",!0)])})),r=n("3e54"),c={name:"DateTime",mixins:[r["a"]],props:{showDate:{required:!1,default:!0},showTime:{required:!1,default:!0},showSeconds:{required:!1,default:!0}},computed:{_showTime:function(){return this.parseBoolean(this.showTime)},_showDate:function(){return this.parseBoolean(this.showDate)},_showSeconds:function(){return this.parseBoolean(this.showSeconds)}},data:function(){return{now:new Date}},methods:{refreshTime:function(){this.now=new Date}},mounted:function(){this.refreshTime(),setInterval(this.refreshTime,1e3)}};n("a8ae");c.render=i,c.__scopeId="data-v-4835dfb0";t["default"]=c},"7aee":function(e,t,n){},a8ae:function(e,t,n){"use strict";n("7aee")}}]);
//# sourceMappingURL=chunk-0a891b5a.1431e4ce.js.map