platypush/platypush/backend/http/webapp/dist/static/js/chunk-01c1b3b0.33dec1bb.js

2 lines
1.4 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-01c1b3b0"],{"365a":function(e,t,n){"use strict";n.r(t);var o=n("7a23"),s=Object(o["K"])("data-v-ca42eb9c");Object(o["u"])("data-v-ca42eb9c");var a={class:"date-time"};Object(o["s"])();var c=s((function(e,t,n,s,c,i){return Object(o["r"])(),Object(o["e"])("div",a,[i._showDate?(Object(o["r"])(),Object(o["e"])("div",{key:0,class:"date",textContent:Object(o["C"])(e.formatDate(e.now))},null,8,["textContent"])):Object(o["f"])("",!0),i._showTime?(Object(o["r"])(),Object(o["e"])("div",{key:1,class:"time",textContent:Object(o["C"])(e.formatTime(e.now,i._showSeconds))},null,8,["textContent"])):Object(o["f"])("",!0)])})),i=n("3e54"),r={name:"DateTime",mixins:[i["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("b2e7");r.render=c,r.__scopeId="data-v-ca42eb9c";t["default"]=r},a4fc:function(e,t,n){},b2e7:function(e,t,n){"use strict";n("a4fc")}}]);
//# sourceMappingURL=chunk-01c1b3b0.33dec1bb.js.map