@zeedhi/zd-calendar-vue 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calendar-vue.esm.js +24 -9
- package/dist/calendar-vue.umd.js +24 -9
- package/package.json +2 -2
package/dist/calendar-vue.esm.js
CHANGED
|
@@ -38,12 +38,17 @@ let ZdCalendar = class ZdCalendar extends ZdComponentRender {
|
|
|
38
38
|
}
|
|
39
39
|
mounted() {
|
|
40
40
|
this.$refs.calendar.checkChange();
|
|
41
|
+
const value = this.instance.value;
|
|
42
|
+
this.instance.value = '';
|
|
43
|
+
this.instance.value = value;
|
|
41
44
|
}
|
|
42
45
|
prev() {
|
|
43
46
|
this.$refs.calendar.prev();
|
|
47
|
+
this.instance.previous(this.$el);
|
|
44
48
|
}
|
|
45
49
|
next() {
|
|
46
50
|
this.$refs.calendar.next();
|
|
51
|
+
this.instance.next(this.$el);
|
|
47
52
|
}
|
|
48
53
|
setToday() {
|
|
49
54
|
this.instance.value = '';
|
|
@@ -526,17 +531,27 @@ var __vue_render__ = function () {
|
|
|
526
531
|
1
|
|
527
532
|
),
|
|
528
533
|
_vm._v(" "),
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
534
|
+
_c("div", { staticClass: "zd-calendar-content-title" }, [
|
|
535
|
+
_vm.instance.title
|
|
536
|
+
? _c("h2", [
|
|
532
537
|
_vm._v(
|
|
533
|
-
"\n
|
|
538
|
+
"\n " +
|
|
534
539
|
_vm._s(_vm.instance.title) +
|
|
535
|
-
"\n
|
|
540
|
+
"\n "
|
|
541
|
+
),
|
|
542
|
+
])
|
|
543
|
+
: _vm._e(),
|
|
544
|
+
_vm._v(" "),
|
|
545
|
+
_vm.$refs.calendar
|
|
546
|
+
? _c("h3", [
|
|
547
|
+
_vm._v(
|
|
548
|
+
"\n " +
|
|
549
|
+
_vm._s(_vm.$refs.calendar.title) +
|
|
550
|
+
"\n "
|
|
536
551
|
),
|
|
537
|
-
])
|
|
538
|
-
|
|
539
|
-
|
|
552
|
+
])
|
|
553
|
+
: _vm._e(),
|
|
554
|
+
]),
|
|
540
555
|
_vm._v(" "),
|
|
541
556
|
_c(
|
|
542
557
|
"div",
|
|
@@ -783,7 +798,7 @@ __vue_render__._withStripped = true;
|
|
|
783
798
|
/* style */
|
|
784
799
|
const __vue_inject_styles__ = function (inject) {
|
|
785
800
|
if (!inject) return
|
|
786
|
-
inject("data-v-
|
|
801
|
+
inject("data-v-392cfa47_0", { source: ".zd-calendar-content .zd-toolbar-calendar {\n display: flex;\n justify-items: center;\n justify-content: space-between;\n background-color: #fff;\n padding: 0.75rem 0.5rem;\n}\n.zd-calendar-content .zd-toolbar-calendar.theme--dark {\n background-color: #1e1e1e;\n}\n.zd-calendar-content .zd-toolbar-calendar div {\n align-items: center;\n display: flex;\n}\n.zd-calendar-content .zd-calendar-content-title {\n display: flex;\n flex-direction: column;\n}", map: undefined, media: undefined });
|
|
787
802
|
|
|
788
803
|
};
|
|
789
804
|
/* scoped */
|
package/dist/calendar-vue.umd.js
CHANGED
|
@@ -40,12 +40,17 @@
|
|
|
40
40
|
}
|
|
41
41
|
mounted() {
|
|
42
42
|
this.$refs.calendar.checkChange();
|
|
43
|
+
const value = this.instance.value;
|
|
44
|
+
this.instance.value = '';
|
|
45
|
+
this.instance.value = value;
|
|
43
46
|
}
|
|
44
47
|
prev() {
|
|
45
48
|
this.$refs.calendar.prev();
|
|
49
|
+
this.instance.previous(this.$el);
|
|
46
50
|
}
|
|
47
51
|
next() {
|
|
48
52
|
this.$refs.calendar.next();
|
|
53
|
+
this.instance.next(this.$el);
|
|
49
54
|
}
|
|
50
55
|
setToday() {
|
|
51
56
|
this.instance.value = '';
|
|
@@ -528,17 +533,27 @@
|
|
|
528
533
|
1
|
|
529
534
|
),
|
|
530
535
|
_vm._v(" "),
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
536
|
+
_c("div", { staticClass: "zd-calendar-content-title" }, [
|
|
537
|
+
_vm.instance.title
|
|
538
|
+
? _c("h2", [
|
|
534
539
|
_vm._v(
|
|
535
|
-
"\n
|
|
540
|
+
"\n " +
|
|
536
541
|
_vm._s(_vm.instance.title) +
|
|
537
|
-
"\n
|
|
542
|
+
"\n "
|
|
543
|
+
),
|
|
544
|
+
])
|
|
545
|
+
: _vm._e(),
|
|
546
|
+
_vm._v(" "),
|
|
547
|
+
_vm.$refs.calendar
|
|
548
|
+
? _c("h3", [
|
|
549
|
+
_vm._v(
|
|
550
|
+
"\n " +
|
|
551
|
+
_vm._s(_vm.$refs.calendar.title) +
|
|
552
|
+
"\n "
|
|
538
553
|
),
|
|
539
|
-
])
|
|
540
|
-
|
|
541
|
-
|
|
554
|
+
])
|
|
555
|
+
: _vm._e(),
|
|
556
|
+
]),
|
|
542
557
|
_vm._v(" "),
|
|
543
558
|
_c(
|
|
544
559
|
"div",
|
|
@@ -785,7 +800,7 @@
|
|
|
785
800
|
/* style */
|
|
786
801
|
const __vue_inject_styles__ = function (inject) {
|
|
787
802
|
if (!inject) return
|
|
788
|
-
inject("data-v-
|
|
803
|
+
inject("data-v-392cfa47_0", { source: ".zd-calendar-content .zd-toolbar-calendar {\n display: flex;\n justify-items: center;\n justify-content: space-between;\n background-color: #fff;\n padding: 0.75rem 0.5rem;\n}\n.zd-calendar-content .zd-toolbar-calendar.theme--dark {\n background-color: #1e1e1e;\n}\n.zd-calendar-content .zd-toolbar-calendar div {\n align-items: center;\n display: flex;\n}\n.zd-calendar-content .zd-calendar-content-title {\n display: flex;\n flex-direction: column;\n}", map: undefined, media: undefined });
|
|
789
804
|
|
|
790
805
|
};
|
|
791
806
|
/* scoped */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeedhi/zd-calendar-vue",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "Powered by Zeedhi",
|
|
5
5
|
"main": "dist/calendar-vue.umd.js",
|
|
6
6
|
"module": "dist/calendar-vue.esm.js",
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
"vue-class-component": "^7.2.6",
|
|
21
21
|
"vue-property-decorator": "^9.1.2"
|
|
22
22
|
},
|
|
23
|
-
"gitHead": "
|
|
23
|
+
"gitHead": "e6b9405c9bb60893994e6352349f083d11153cd4"
|
|
24
24
|
}
|