@stonecrop/aform 0.3.0 → 0.3.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/aform.js +41 -39
- package/dist/aform.js.map +1 -1
- package/dist/aform.umd.cjs +2 -2
- package/dist/aform.umd.cjs.map +1 -1
- package/dist/assets/index.css +1 -1
- package/package.json +7 -7
- package/src/components/form/ADatePicker.vue +34 -32
package/dist/aform.js
CHANGED
|
@@ -602,48 +602,50 @@ const mt = {
|
|
|
602
602
|
}
|
|
603
603
|
]), (g, _) => (m(), h("div", mt, [
|
|
604
604
|
i("table", null, [
|
|
605
|
-
i("
|
|
606
|
-
i("
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
i("
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
(m(), h(B, null, q(
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
605
|
+
i("tbody", null, [
|
|
606
|
+
i("tr", null, [
|
|
607
|
+
i("td", {
|
|
608
|
+
id: "previous-month-btn",
|
|
609
|
+
onClick: d,
|
|
610
|
+
tabindex: -1
|
|
611
|
+
}, "<"),
|
|
612
|
+
i("th", pt, k(S.value), 1),
|
|
613
|
+
i("td", {
|
|
614
|
+
id: "next-month-btn",
|
|
615
|
+
onClick: f,
|
|
616
|
+
tabindex: -1
|
|
617
|
+
}, ">")
|
|
618
|
+
]),
|
|
619
|
+
_[0] || (_[0] = i("tr", { class: "days-header" }, [
|
|
620
|
+
i("td", null, "M"),
|
|
621
|
+
i("td", null, "T"),
|
|
622
|
+
i("td", null, "W"),
|
|
623
|
+
i("td", null, "T"),
|
|
624
|
+
i("td", null, "F"),
|
|
625
|
+
i("td", null, "S"),
|
|
626
|
+
i("td", null, "S")
|
|
627
|
+
], -1)),
|
|
628
|
+
(m(), h(B, null, q(gt, (M) => i("tr", { key: M }, [
|
|
629
|
+
(m(), h(B, null, q(re, (L) => i("td", {
|
|
630
|
+
ref_for: !0,
|
|
631
|
+
ref: "celldate",
|
|
632
|
+
key: w(M, L),
|
|
633
|
+
contenteditable: !1,
|
|
634
|
+
spellcheck: !1,
|
|
635
|
+
tabindex: 0,
|
|
636
|
+
onClick: Me((he) => b(w(M, L)), ["prevent", "stop"]),
|
|
637
|
+
onKeydown: G((he) => b(w(M, L)), ["enter"]),
|
|
638
|
+
class: K({
|
|
639
|
+
todaysDate: p($(M, L)),
|
|
640
|
+
selectedDate: y($(M, L))
|
|
641
|
+
})
|
|
642
|
+
}, k(new Date($(M, L)).getDate()), 43, vt)), 64))
|
|
643
|
+
])), 64))
|
|
644
|
+
])
|
|
643
645
|
])
|
|
644
646
|
], 512));
|
|
645
647
|
}
|
|
646
|
-
}), yt = /* @__PURE__ */ E(ht, [["__scopeId", "data-v-
|
|
648
|
+
}), yt = /* @__PURE__ */ E(ht, [["__scopeId", "data-v-72e0307f"]]), bt = /* @__PURE__ */ A({
|
|
647
649
|
__name: "CollapseButton",
|
|
648
650
|
props: {
|
|
649
651
|
collapsed: { type: Boolean }
|