@fewangsit/wangsvue-gsts 1.0.0-alpha.38 → 1.0.0-alpha.39
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/approverinfo/index.d.ts +4 -0
- package/approverinfo/index.es.js +50 -43
- package/buttonbulkaction/index.es.js +15 -14
- package/calendar/index.es.js +47 -42
- package/columnlist/index.es.js +141 -116
- package/customcolumn/index.d.ts +5 -1
- package/datatable/index.d.ts +38 -0
- package/datatable/index.es.js +463 -435
- package/headercell/index.es.js +40 -0
- package/package.json +2 -1
- package/plugins/WangsVue.d.ts +1 -1
- package/stats.html +1 -1
- package/style.css +2 -2
- package/vendor/@tagsamurai/fats-api-services/api-services.es.es.js +163 -74
- package/wangsvue-gsts.esm.browser.js +11184 -10996
- package/wangsvue-gsts.system.js +60 -60
package/approverinfo/index.d.ts
CHANGED
|
@@ -20,6 +20,10 @@ export interface ApproverInfoProps {
|
|
|
20
20
|
* @default true
|
|
21
21
|
*/
|
|
22
22
|
showShortInfo?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* To customize the level 0 label, for example 'Senior'
|
|
25
|
+
*/
|
|
26
|
+
customLevelZeroLabel?: string;
|
|
23
27
|
/**
|
|
24
28
|
* To set label text when showShortInfo is false
|
|
25
29
|
*/
|
package/approverinfo/index.es.js
CHANGED
|
@@ -1,39 +1,40 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { f as
|
|
3
|
-
import { _ as
|
|
1
|
+
import { defineComponent as N, shallowRef as B, computed as F, createElementBlock as o, openBlock as t, Fragment as i, createElementVNode as l, createVNode as m, toDisplayString as r, withCtx as I, renderList as k, createBlock as g, createCommentVNode as h, createTextVNode as w } from "vue";
|
|
2
|
+
import { f as V } from "../utils/date.util.es.js";
|
|
3
|
+
import { _ as L } from "../badge/index.es.js";
|
|
4
4
|
import { _ as $ } from "../dialog/index.es.js";
|
|
5
5
|
import { _ as A } from "../icon/index.es.js";
|
|
6
|
-
const
|
|
6
|
+
const E = {
|
|
7
7
|
class: "flex justify-end gap-1 items-center pb-1 flex-wrap whitespace-nowrap",
|
|
8
8
|
"data-wv-name": "approver-info"
|
|
9
|
-
},
|
|
9
|
+
}, Z = { class: "text-primary-500" }, H = { class: "text-general-800" }, M = { key: 1 }, S = { class: "flex flex-col gap-3 justify-between" }, T = { class: "flex justify-between" }, U = { class: "text-general-800 text-xs font-medium" }, P = { class: "flex justify-between items-center" }, R = { class: "text-primary-500 font-medium text-xs" }, q = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "text-general-800 font-normal text-xs"
|
|
12
12
|
}, z = {
|
|
13
13
|
key: 1,
|
|
14
14
|
class: "flex gap-1 justify-end items-center"
|
|
15
|
-
}, G = { class: "text-general-800 font-normal text-xs" }, X = /* @__PURE__ */
|
|
15
|
+
}, G = { class: "text-general-800 font-normal text-xs" }, X = /* @__PURE__ */ N({
|
|
16
16
|
__name: "ApproverInfo",
|
|
17
17
|
props: {
|
|
18
18
|
approvals: {},
|
|
19
19
|
showShortInfo: { type: Boolean, default: !0 },
|
|
20
|
+
customLevelZeroLabel: {},
|
|
20
21
|
label: {},
|
|
21
22
|
btnLabel: {},
|
|
22
23
|
useFormatDate: { type: Boolean, default: !0 }
|
|
23
24
|
},
|
|
24
25
|
setup(D) {
|
|
25
|
-
const u = D,
|
|
26
|
-
var
|
|
27
|
-
let
|
|
28
|
-
return (
|
|
29
|
-
e = b.approvers.findIndex((
|
|
26
|
+
const u = D, p = B(!1), d = F(() => {
|
|
27
|
+
var c, a, n, v, y, x, _;
|
|
28
|
+
let s, e;
|
|
29
|
+
return (c = u.approvals) == null || c.forEach((b) => {
|
|
30
|
+
e = b.approvers.findIndex((C) => !!C.actionAt), s = e === -1 ? 0 : b.level - 1, e = e === -1 ? 0 : e;
|
|
30
31
|
}), {
|
|
31
|
-
name: (v = (n = (
|
|
32
|
-
date: (
|
|
32
|
+
name: (v = (n = (a = u.approvals) == null ? void 0 : a[s]) == null ? void 0 : n.approvers[e]) == null ? void 0 : v.fullName,
|
|
33
|
+
date: (_ = (x = (y = u.approvals) == null ? void 0 : y[s]) == null ? void 0 : x.approvers[e]) == null ? void 0 : _.actionAt
|
|
33
34
|
};
|
|
34
|
-
}), j = (
|
|
35
|
+
}), j = (s) => {
|
|
35
36
|
let e;
|
|
36
|
-
switch (
|
|
37
|
+
switch (s) {
|
|
37
38
|
case "menyetujui":
|
|
38
39
|
e = "success";
|
|
39
40
|
break;
|
|
@@ -44,73 +45,79 @@ const V = {
|
|
|
44
45
|
e = "warning";
|
|
45
46
|
}
|
|
46
47
|
return e;
|
|
47
|
-
}, f = (
|
|
48
|
+
}, f = (s) => u.useFormatDate ? s ? V(new Date(s), {
|
|
48
49
|
locale: "id-ID",
|
|
49
50
|
dateFormat: "dd M yyyy",
|
|
50
51
|
timeFormat: "HH:mm:ss"
|
|
51
|
-
}) : "-" :
|
|
52
|
-
return (
|
|
53
|
-
var
|
|
54
|
-
return
|
|
55
|
-
l("div",
|
|
56
|
-
|
|
52
|
+
}) : "-" : s;
|
|
53
|
+
return (s, e) => {
|
|
54
|
+
var c;
|
|
55
|
+
return t(), o(i, null, [
|
|
56
|
+
l("div", E, [
|
|
57
|
+
s.showShortInfo ? (t(), o(i, { key: 0 }, [
|
|
57
58
|
e[3] || (e[3] = l("span", null, "Approver:", -1)),
|
|
58
|
-
(
|
|
59
|
+
(c = s.approvals) != null && c.length ? (t(), o(i, { key: 0 }, [
|
|
59
60
|
m(A, {
|
|
60
61
|
class: "!text-general-200 !text-base",
|
|
61
62
|
icon: "user"
|
|
62
63
|
}),
|
|
63
|
-
l("span",
|
|
64
|
+
l("span", Z, r(d.value.name), 1),
|
|
64
65
|
l("span", H, r(f(d.value.date)), 1),
|
|
65
66
|
l("span", {
|
|
66
|
-
onClick: e[0] || (e[0] = (
|
|
67
|
+
onClick: e[0] || (e[0] = (a) => p.value = !0),
|
|
67
68
|
class: "text-primary-500 hover:cursor-pointer"
|
|
68
69
|
}, r(u.btnLabel ?? "more"), 1)
|
|
69
|
-
], 64)) : (
|
|
70
|
-
], 64)) : (
|
|
70
|
+
], 64)) : (t(), o("span", M, "-"))
|
|
71
|
+
], 64)) : (t(), o("span", {
|
|
71
72
|
key: 1,
|
|
72
|
-
onClick: e[1] || (e[1] = (
|
|
73
|
+
onClick: e[1] || (e[1] = (a) => p.value = !0),
|
|
73
74
|
class: "text-primary-500 hover:cursor-pointer"
|
|
74
|
-
}, r(
|
|
75
|
+
}, r(s.label ?? "Lihat Approval"), 1))
|
|
75
76
|
]),
|
|
76
77
|
m($, {
|
|
77
|
-
visible:
|
|
78
|
-
"onUpdate:visible": e[2] || (e[2] = (
|
|
78
|
+
visible: p.value,
|
|
79
|
+
"onUpdate:visible": e[2] || (e[2] = (a) => p.value = a),
|
|
79
80
|
class: "min-w-[400px]",
|
|
80
81
|
header: "List Approver",
|
|
81
82
|
modal: ""
|
|
82
83
|
}, {
|
|
83
84
|
default: I(() => [
|
|
84
85
|
l("div", S, [
|
|
85
|
-
(
|
|
86
|
-
key:
|
|
86
|
+
(t(!0), o(i, null, k(s.approvals, (a) => (t(), o(i, {
|
|
87
|
+
key: a._id
|
|
87
88
|
}, [
|
|
88
|
-
l("div",
|
|
89
|
-
l("span",
|
|
90
|
-
|
|
89
|
+
l("div", T, [
|
|
90
|
+
l("span", U, [
|
|
91
|
+
a.level === 0 && u.customLevelZeroLabel ? (t(), o(i, { key: 0 }, [
|
|
92
|
+
w(r(u.customLevelZeroLabel), 1)
|
|
93
|
+
], 64)) : (t(), o(i, { key: 1 }, [
|
|
94
|
+
w(" Level " + r(a.level) + " (" + r(a.type.toLowerCase()) + ") ", 1)
|
|
95
|
+
], 64))
|
|
96
|
+
]),
|
|
97
|
+
a.status !== "menunggu approval" ? (t(), g(L, {
|
|
91
98
|
key: 0,
|
|
92
99
|
label: "selesai",
|
|
93
100
|
severity: "success"
|
|
94
|
-
})) :
|
|
101
|
+
})) : h("", !0)
|
|
95
102
|
]),
|
|
96
|
-
(
|
|
103
|
+
(t(!0), o(i, null, k(a.approvers, (n) => (t(), o("div", {
|
|
97
104
|
key: n._id,
|
|
98
105
|
class: "flex justify-between"
|
|
99
106
|
}, [
|
|
100
|
-
l("div",
|
|
107
|
+
l("div", P, [
|
|
101
108
|
m(A, {
|
|
102
109
|
class: "!text-general-200 !text-base",
|
|
103
110
|
icon: "user"
|
|
104
111
|
}),
|
|
105
|
-
l("span",
|
|
112
|
+
l("span", R, r(n.fullName), 1)
|
|
106
113
|
]),
|
|
107
|
-
|
|
114
|
+
a.status !== "menunggu approval" && !n.action ? (t(), o("span", q, " Tidak terlibat ")) : (t(), o("div", z, [
|
|
108
115
|
l("span", G, r(n.actionAt ? f(n.actionAt) : "Menunggu approval..."), 1),
|
|
109
|
-
n.action ? (
|
|
116
|
+
n.action ? (t(), g(L, {
|
|
110
117
|
key: 0,
|
|
111
118
|
label: n.action,
|
|
112
119
|
severity: j(n.action)
|
|
113
|
-
}, null, 8, ["label", "severity"])) :
|
|
120
|
+
}, null, 8, ["label", "severity"])) : h("", !0)
|
|
114
121
|
]))
|
|
115
122
|
]))), 128))
|
|
116
123
|
], 64))), 128))
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as Y, onMounted as Z, onUnmounted as I, ref as R, shallowRef as k, computed as x, watch as F, withDirectives as y, createElementBlock as h, openBlock as
|
|
1
|
+
import { defineComponent as Y, onMounted as Z, onUnmounted as I, ref as R, shallowRef as k, computed as x, watch as F, withDirectives as y, createElementBlock as h, openBlock as u, mergeProps as f, createBlock as E, createCommentVNode as w, createVNode as v, unref as o, Fragment as T, renderSlot as ee, withCtx as V, normalizeClass as te, vShow as $, createElementVNode as le, normalizeProps as ae, guardReactiveProps as oe, toDisplayString as P, createTextVNode as H, nextTick as ne } from "vue";
|
|
2
2
|
import { e as c } from "../event-bus/index.es.js";
|
|
3
3
|
import { u as se } from "../plugins/WangsVue.es.js";
|
|
4
4
|
import { m as ie } from "../utils/mergePropsWithDefaults.util.es.js";
|
|
5
|
-
import { s as
|
|
5
|
+
import { s as ue } from "../vendor/primevue/dropdown/dropdown.esm.es.js";
|
|
6
6
|
import { _ as A } from "../button/index.es.js";
|
|
7
|
-
import { _ as
|
|
7
|
+
import { _ as re } from "../icon/index.es.js";
|
|
8
8
|
import { _ as ce } from "../menu/index.es.js";
|
|
9
9
|
import { _ as de } from "../menuitem/index.es.js";
|
|
10
10
|
const pe = (D, N) => {
|
|
@@ -58,7 +58,7 @@ const pe = (D, N) => {
|
|
|
58
58
|
var t, s;
|
|
59
59
|
if (e.useAdditionSlot) {
|
|
60
60
|
n.value = e, await ne();
|
|
61
|
-
const
|
|
61
|
+
const r = (t = _.value) == null ? void 0 : t.children[1], a = r == null ? void 0 : r.querySelector(
|
|
62
62
|
"input"
|
|
63
63
|
);
|
|
64
64
|
a && (a == null || a.click(), a == null || a.focus());
|
|
@@ -84,22 +84,23 @@ const pe = (D, N) => {
|
|
|
84
84
|
(e) => m.value = e ?? 0,
|
|
85
85
|
{ immediate: !0 }
|
|
86
86
|
), (e, t) => {
|
|
87
|
-
var s,
|
|
88
|
-
return y((
|
|
87
|
+
var s, r, a, U, W, q;
|
|
88
|
+
return y((u(), h("div", f(e.$preset.buttonbulkaction.root, {
|
|
89
89
|
ref_key: "wrapper",
|
|
90
90
|
ref: _
|
|
91
91
|
}), [
|
|
92
|
-
o(p).selectMenuType === "overlay-panel" && ((s = i.value) != null && s.length) ? (
|
|
92
|
+
o(p).selectMenuType === "overlay-panel" && ((s = i.value) != null && s.length) ? (u(), E(ce, {
|
|
93
93
|
key: 0,
|
|
94
94
|
ref_key: "menu",
|
|
95
95
|
ref: S,
|
|
96
96
|
model: e.options,
|
|
97
97
|
popup: ""
|
|
98
98
|
}, null, 8, ["model"])) : w("", !0),
|
|
99
|
-
o(p).selectMenuType === "dropdown" ? (
|
|
100
|
-
(
|
|
99
|
+
o(p).selectMenuType === "dropdown" ? (u(), h(T, { key: 1 }, [
|
|
100
|
+
(r = e.selectedData) != null && r.length ? (u(), E(o(ue), {
|
|
101
101
|
key: 0,
|
|
102
102
|
disabled: l.disabled || M.value || !((a = e.selectedData) != null && a.length),
|
|
103
|
+
"model-value": n.value,
|
|
103
104
|
options: o(pe)(
|
|
104
105
|
e.options,
|
|
105
106
|
e.$wangsvue.config.locale.components.Menu.noOptionLabel
|
|
@@ -111,7 +112,7 @@ const pe = (D, N) => {
|
|
|
111
112
|
placeholder: "Bulk Action"
|
|
112
113
|
}, {
|
|
113
114
|
dropdownicon: V(({ class: b }) => [
|
|
114
|
-
v(
|
|
115
|
+
v(re, {
|
|
115
116
|
class: te([b]),
|
|
116
117
|
icon: "arrow-down"
|
|
117
118
|
}, null, 8, ["class"])
|
|
@@ -127,7 +128,7 @@ const pe = (D, N) => {
|
|
|
127
128
|
}, null, 8, ["item", "router-props"])
|
|
128
129
|
]),
|
|
129
130
|
_: 1
|
|
130
|
-
}, 8, ["disabled", "options", "pt"])) : w("", !0),
|
|
131
|
+
}, 8, ["disabled", "model-value", "options", "pt"])) : w("", !0),
|
|
131
132
|
ee(e.$slots, "addition", { selectedOption: n.value }),
|
|
132
133
|
y(v(A, f({ onClick: X }, e.$preset.buttonbulkaction.applybutton, { label: "Apply" }), null, 16), [
|
|
133
134
|
[$, (U = n.value) == null ? void 0 : U.useAdditionSlot]
|
|
@@ -147,9 +148,9 @@ const pe = (D, N) => {
|
|
|
147
148
|
{ text: "" }
|
|
148
149
|
), {
|
|
149
150
|
default: V(() => [
|
|
150
|
-
C.value ? (
|
|
151
|
+
C.value ? (u(), h(T, { key: 1 }, [
|
|
151
152
|
H(P(o(d).allRecordSelected.replace("{naming}", o(p).naming)), 1)
|
|
152
|
-
], 64)) : (
|
|
153
|
+
], 64)) : (u(), h(T, { key: 0 }, [
|
|
153
154
|
H(P(o(d).selectAllRecords.replace(
|
|
154
155
|
"{totalRecords}",
|
|
155
156
|
m.value.toString()
|
|
@@ -160,7 +161,7 @@ const pe = (D, N) => {
|
|
|
160
161
|
}, 16), [
|
|
161
162
|
[$, j.value]
|
|
162
163
|
]),
|
|
163
|
-
o(p).selectMenuType === "overlay-panel" ? (
|
|
164
|
+
o(p).selectMenuType === "overlay-panel" ? (u(), E(A, f({
|
|
164
165
|
key: 2,
|
|
165
166
|
onClick: K
|
|
166
167
|
}, e.$preset.buttonbulkaction.bulkactiontoggle, {
|
package/calendar/index.es.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { u as
|
|
3
|
-
import { u as
|
|
4
|
-
import { a as
|
|
5
|
-
import { _ as
|
|
6
|
-
const
|
|
1
|
+
import { defineComponent as C, onMounted as F, ref as f, computed as d, watch as s, watchEffect as S, createBlock as x, openBlock as D, mergeProps as b, unref as I, withCtx as c, renderSlot as y, nextTick as k } from "vue";
|
|
2
|
+
import { u as L } from "../vendor/vee-validate/dist/vee-validate.esm.es.js";
|
|
3
|
+
import { u as O } from "../plugins/WangsVue.es.js";
|
|
4
|
+
import { a as N } from "../utils/textFormatter.util.es.js";
|
|
5
|
+
import { _ as U } from "../basecalendar/index.es.js";
|
|
6
|
+
const Y = /* @__PURE__ */ C({
|
|
7
7
|
__name: "Calendar",
|
|
8
8
|
props: {
|
|
9
9
|
modelValue: {},
|
|
@@ -33,7 +33,7 @@ const N = /* @__PURE__ */ T({
|
|
|
33
33
|
validatorMessage: {},
|
|
34
34
|
customValidation: {},
|
|
35
35
|
dateFormat: { default: "dd/mm/yy" },
|
|
36
|
-
hourFormat: {
|
|
36
|
+
hourFormat: {},
|
|
37
37
|
showTime: { type: Boolean },
|
|
38
38
|
timeSeparator: { default: ":" },
|
|
39
39
|
stepHour: { default: 1 },
|
|
@@ -48,70 +48,75 @@ const N = /* @__PURE__ */ T({
|
|
|
48
48
|
exactSelection: { type: Boolean }
|
|
49
49
|
},
|
|
50
50
|
emits: ["update:modelValue", "update:epochTimeMillis", "monthChange", "yearChange", "dateSelect"],
|
|
51
|
-
setup(
|
|
52
|
-
const e =
|
|
53
|
-
|
|
54
|
-
e.dateValue != null && (t.value =
|
|
51
|
+
setup(V, { emit: g }) {
|
|
52
|
+
const e = V, n = g;
|
|
53
|
+
F(() => {
|
|
54
|
+
e.dateValue != null && (t.value = u(e.dateValue), o.value = t.value, i.value++), e.epochTimeMillis != null && (t.value = u(e.epochTimeMillis), o.value = t.value, i.value++);
|
|
55
55
|
});
|
|
56
|
-
const { locale:
|
|
57
|
-
value:
|
|
56
|
+
const { locale: h } = O("Calendar"), t = f(), i = f(0), { value: o, errorMessage: M } = e.useValidator ? L(e.fieldName ?? "date", (a) => w(a)) : {
|
|
57
|
+
value: d({
|
|
58
58
|
get: () => e.modelValue,
|
|
59
59
|
set: (a) => {
|
|
60
|
-
|
|
60
|
+
n("update:modelValue", a);
|
|
61
61
|
}
|
|
62
62
|
})
|
|
63
|
-
},
|
|
63
|
+
}, B = d(
|
|
64
64
|
() => e.invalid || "errorMessage" in o && !!o.errorMessage
|
|
65
|
-
),
|
|
66
|
-
var
|
|
67
|
-
|
|
68
|
-
|
|
65
|
+
), T = d(() => {
|
|
66
|
+
var r, v;
|
|
67
|
+
const a = JSON.parse(localStorage.getItem("user") || "{}"), l = (r = a == null ? void 0 : a.generalSetting) == null ? void 0 : r.timeFormat;
|
|
68
|
+
return e.hourFormat ? e.hourFormat : (v = l == null ? void 0 : l.toLowerCase()) != null && v.includes("pm") ? "12" : "24";
|
|
69
|
+
}), w = async (a) => {
|
|
70
|
+
var l, r;
|
|
71
|
+
return await k(), typeof e.validatorMessage == "string" && e.invalid ? e.validatorMessage : typeof e.validatorMessage != "string" && !a && e.mandatory ? ((l = e.validatorMessage) == null ? void 0 : l.empty) ?? m() : !a && e.mandatory ? ((r = e.customValidation) == null ? void 0 : r.empty) ?? m() : !0;
|
|
72
|
+
}, m = () => {
|
|
69
73
|
var a;
|
|
70
|
-
return
|
|
74
|
+
return h.emptyInvalidText.replace("{label}", e.label).replace(
|
|
71
75
|
"{formattedLabel}",
|
|
72
|
-
(a =
|
|
76
|
+
(a = N(e.label)) == null ? void 0 : a.toLowerCase()
|
|
73
77
|
);
|
|
74
|
-
},
|
|
75
|
-
(a === e.valueFormat && e.useValidator || !e.useValidator && a === "date") && (o.value = l), a === "date" && e.useValidator &&
|
|
76
|
-
},
|
|
77
|
-
return
|
|
78
|
+
}, p = (a, l) => {
|
|
79
|
+
(a === e.valueFormat && e.useValidator || !e.useValidator && a === "date") && (o.value = l), a === "date" && e.useValidator && n("update:modelValue", l), a === "millis" && n("update:epochTimeMillis", l);
|
|
80
|
+
}, u = (a) => Array.isArray(a) ? a.map((l) => l == null ? null : new Date(l)) : new Date(a);
|
|
81
|
+
return s(
|
|
78
82
|
() => e.dateValue,
|
|
79
83
|
() => {
|
|
80
|
-
t.value =
|
|
84
|
+
t.value = u(e.dateValue), e.useValidator && (o.value = t.value), i.value++;
|
|
81
85
|
},
|
|
82
86
|
{
|
|
83
87
|
once: !0
|
|
84
88
|
}
|
|
85
|
-
),
|
|
89
|
+
), s(
|
|
86
90
|
() => e.epochTimeMillis,
|
|
87
91
|
() => {
|
|
88
|
-
t.value =
|
|
92
|
+
t.value = u(e.epochTimeMillis), e.useValidator && (o.value = t.value), i.value++;
|
|
89
93
|
}
|
|
90
|
-
),
|
|
94
|
+
), s(
|
|
91
95
|
() => e.modelValue,
|
|
92
96
|
() => {
|
|
93
97
|
t.value = e.modelValue, e.useValidator && (o.value = t.value);
|
|
94
98
|
}
|
|
95
|
-
),
|
|
96
|
-
t.value = e.valueFormat === "date" ? o.value : o.value ?
|
|
97
|
-
}), (a, l) => (D(), x(
|
|
98
|
-
"error-message":
|
|
99
|
-
|
|
99
|
+
), S(() => {
|
|
100
|
+
t.value = e.valueFormat === "date" ? o.value : o.value ? u(o.value) : o.value;
|
|
101
|
+
}), (a, l) => (D(), x(U, b({ key: i.value }, e, {
|
|
102
|
+
"error-message": I(M),
|
|
103
|
+
"hour-format": T.value,
|
|
104
|
+
invalid: B.value,
|
|
100
105
|
"model-value": t.value,
|
|
101
106
|
"selection-mode": a.selectionMode || a.mode,
|
|
102
|
-
"onUpdate:epochTimeMillis": l[0] || (l[0] = (
|
|
103
|
-
"onUpdate:modelValue": l[1] || (l[1] = (
|
|
107
|
+
"onUpdate:epochTimeMillis": l[0] || (l[0] = (r) => p("millis", r)),
|
|
108
|
+
"onUpdate:modelValue": l[1] || (l[1] = (r) => p("date", r))
|
|
104
109
|
}), {
|
|
105
|
-
default:
|
|
106
|
-
|
|
110
|
+
default: c(({ onClick: r }) => [
|
|
111
|
+
y(a.$slots, "default", { onClick: r })
|
|
107
112
|
]),
|
|
108
|
-
"addon-overlay":
|
|
109
|
-
|
|
113
|
+
"addon-overlay": c(() => [
|
|
114
|
+
y(a.$slots, "addon-overlay")
|
|
110
115
|
]),
|
|
111
116
|
_: 3
|
|
112
|
-
}, 16, ["error-message", "invalid", "model-value", "selection-mode"]));
|
|
117
|
+
}, 16, ["error-message", "hour-format", "invalid", "model-value", "selection-mode"]));
|
|
113
118
|
}
|
|
114
119
|
});
|
|
115
120
|
export {
|
|
116
|
-
|
|
121
|
+
Y as _
|
|
117
122
|
};
|