@stonecrop/aform 0.2.33 → 0.2.34
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/src/tsdoc-metadata.json +1 -1
- package/dist/aform.js +468 -472
- package/dist/aform.js.map +1 -1
- package/dist/aform.umd.cjs +1 -1
- package/dist/aform.umd.cjs.map +1 -1
- package/dist/src/types/index.d.ts +8 -0
- package/dist/src/types/index.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +11 -11
- package/src/components/AForm.vue +6 -7
- package/src/components/form/ACheckbox.vue +3 -13
- package/src/components/form/ADate.vue +12 -16
- package/src/components/form/ADatePicker.vue +5 -4
- package/src/components/form/ADropdown.vue +8 -8
- package/src/components/form/AFieldset.vue +6 -8
- package/src/components/form/AFileAttach.vue +9 -14
- package/src/components/form/ANumericInput.vue +2 -12
- package/src/components/form/ATextInput.vue +2 -15
- package/src/components/utilities/Login.vue +4 -10
- package/src/types/index.ts +9 -0
package/dist/aform.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
const
|
|
1
|
+
import { defineComponent as A, mergeModels as H, useModel as P, openBlock as m, createElementBlock as h, createElementVNode as i, toDisplayString as k, withDirectives as D, vModelCheckbox as ye, vShow as x, resolveComponent as be, createBlock as N, withCtx as _e, useTemplateRef as ce, ref as v, onMounted as K, onUnmounted as ke, normalizeClass as G, withKeys as Y, vModelText as I, Fragment as F, renderList as B, watch as O, onBeforeUnmount as we, computed as L, unref as V, getCurrentScope as de, onScopeDispose as fe, getCurrentInstance as De, nextTick as Ae, withModifiers as Me, resolveDynamicComponent as Ee, mergeProps as Ce, createTextVNode as me, createCommentVNode as j, renderSlot as Te, createVNode as $e, readonly as Se } from "vue";
|
|
2
|
+
const Le = { class: "aform__form-element" }, Ve = ["for"], He = { class: "aform__checkbox-container aform__input-field" }, Pe = ["id", "readonly", "required"], xe = ["innerHTML"], Ie = /* @__PURE__ */ A({
|
|
3
3
|
__name: "ACheckbox",
|
|
4
|
-
props: /* @__PURE__ */
|
|
4
|
+
props: /* @__PURE__ */ H({
|
|
5
5
|
label: {},
|
|
6
|
+
mask: {},
|
|
6
7
|
required: { type: Boolean },
|
|
7
|
-
|
|
8
|
+
readonly: { type: Boolean },
|
|
8
9
|
uuid: {},
|
|
9
10
|
validation: { default: () => ({ errorMessage: " " }) }
|
|
10
11
|
}, {
|
|
@@ -13,58 +14,59 @@ const $e = { class: "aform__form-element" }, Se = ["for"], Le = { class: "aform_
|
|
|
13
14
|
}),
|
|
14
15
|
emits: ["update:modelValue"],
|
|
15
16
|
setup(e) {
|
|
16
|
-
const t =
|
|
17
|
-
return (n, o) => (
|
|
18
|
-
|
|
17
|
+
const t = P(e, "modelValue");
|
|
18
|
+
return (n, o) => (m(), h("div", Le, [
|
|
19
|
+
i("label", {
|
|
19
20
|
class: "aform__field-label",
|
|
20
21
|
for: n.uuid
|
|
21
|
-
}, k(n.label), 9,
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
}, k(n.label), 9, Ve),
|
|
23
|
+
i("span", He, [
|
|
24
|
+
D(i("input", {
|
|
24
25
|
"onUpdate:modelValue": o[0] || (o[0] = (l) => t.value = l),
|
|
25
26
|
type: "checkbox",
|
|
26
27
|
id: n.uuid,
|
|
27
28
|
class: "aform__checkbox",
|
|
28
|
-
readonly: n.
|
|
29
|
+
readonly: n.readonly,
|
|
29
30
|
required: n.required
|
|
30
|
-
}, null, 8,
|
|
31
|
-
[
|
|
31
|
+
}, null, 8, Pe), [
|
|
32
|
+
[ye, t.value]
|
|
32
33
|
])
|
|
33
34
|
]),
|
|
34
|
-
|
|
35
|
+
D(i("p", {
|
|
35
36
|
class: "error",
|
|
36
37
|
innerHTML: n.validation.errorMessage
|
|
37
38
|
}, null, 8, xe), [
|
|
38
|
-
[
|
|
39
|
+
[x, n.validation.errorMessage]
|
|
39
40
|
])
|
|
40
41
|
]));
|
|
41
42
|
}
|
|
42
|
-
}),
|
|
43
|
-
/* @__PURE__ */ c("input", { type: "text" }),
|
|
44
|
-
/* @__PURE__ */ c("input", { type: "text" }),
|
|
45
|
-
/* @__PURE__ */ c("input", { type: "text" })
|
|
46
|
-
], -1), Pe = /* @__PURE__ */ E({
|
|
43
|
+
}), Fe = /* @__PURE__ */ A({
|
|
47
44
|
__name: "AComboBox",
|
|
48
45
|
props: ["event", "cellData", "tableID"],
|
|
49
46
|
setup(e) {
|
|
50
47
|
return (t, n) => {
|
|
51
|
-
const o =
|
|
52
|
-
return
|
|
48
|
+
const o = be("ATableModal");
|
|
49
|
+
return m(), N(o, {
|
|
53
50
|
event: e.event,
|
|
54
51
|
cellData: e.cellData,
|
|
55
52
|
class: "amodal"
|
|
56
53
|
}, {
|
|
57
|
-
default:
|
|
58
|
-
|
|
59
|
-
|
|
54
|
+
default: _e(() => n[0] || (n[0] = [
|
|
55
|
+
i("div", null, [
|
|
56
|
+
i("input", { type: "text" }),
|
|
57
|
+
i("input", { type: "text" }),
|
|
58
|
+
i("input", { type: "text" })
|
|
59
|
+
], -1)
|
|
60
|
+
])),
|
|
60
61
|
_: 1
|
|
61
62
|
}, 8, ["event", "cellData"]);
|
|
62
63
|
};
|
|
63
64
|
}
|
|
64
|
-
}),
|
|
65
|
+
}), Be = ["id", "disabled", "required", "value"], qe = ["for"], Re = ["innerHTML"], Oe = /* @__PURE__ */ A({
|
|
65
66
|
__name: "ADate",
|
|
66
|
-
props: /* @__PURE__ */
|
|
67
|
+
props: /* @__PURE__ */ H({
|
|
67
68
|
label: { default: "Date" },
|
|
69
|
+
mask: {},
|
|
68
70
|
required: { type: Boolean },
|
|
69
71
|
readonly: { type: Boolean },
|
|
70
72
|
uuid: {},
|
|
@@ -75,42 +77,41 @@ const $e = { class: "aform__form-element" }, Se = ["for"], Le = { class: "aform_
|
|
|
75
77
|
}),
|
|
76
78
|
emits: ["update:modelValue"],
|
|
77
79
|
setup(e) {
|
|
78
|
-
const t =
|
|
80
|
+
const t = P(e, "modelValue"), n = ce("date"), o = () => {
|
|
79
81
|
n.value && "showPicker" in HTMLInputElement.prototype && n.value.showPicker();
|
|
80
82
|
};
|
|
81
|
-
return (l, a) => (
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
ref: n,
|
|
83
|
+
return (l, a) => (m(), h("div", null, [
|
|
84
|
+
i("input", {
|
|
85
|
+
ref: "date",
|
|
85
86
|
type: "date",
|
|
86
87
|
id: l.uuid,
|
|
87
88
|
disabled: l.readonly,
|
|
88
89
|
required: l.required,
|
|
89
90
|
value: t.value,
|
|
90
91
|
onClick: o
|
|
91
|
-
}, null, 8,
|
|
92
|
-
|
|
93
|
-
|
|
92
|
+
}, null, 8, Be),
|
|
93
|
+
i("label", { for: l.uuid }, k(l.label), 9, qe),
|
|
94
|
+
D(i("p", {
|
|
94
95
|
innerHTML: l.validation.errorMessage
|
|
95
|
-
}, null, 8,
|
|
96
|
-
[
|
|
96
|
+
}, null, 8, Re), [
|
|
97
|
+
[x, l.validation.errorMessage]
|
|
97
98
|
])
|
|
98
99
|
]));
|
|
99
100
|
}
|
|
100
|
-
}),
|
|
101
|
+
}), z = (e, t) => {
|
|
101
102
|
const n = e.__vccOpts || e;
|
|
102
103
|
for (const [o, l] of t)
|
|
103
104
|
n[o] = l;
|
|
104
105
|
return n;
|
|
105
|
-
},
|
|
106
|
+
}, Ue = /* @__PURE__ */ z(Oe, [["__scopeId", "data-v-6a48e3a6"]]), We = { class: "input-wrapper" }, Ye = {
|
|
106
107
|
id: "autocomplete-results",
|
|
107
108
|
class: "autocomplete-results"
|
|
108
|
-
},
|
|
109
|
+
}, Ge = {
|
|
109
110
|
key: 0,
|
|
110
111
|
class: "loading autocomplete-result"
|
|
111
|
-
},
|
|
112
|
+
}, Ke = ["onClick"], ze = /* @__PURE__ */ A({
|
|
112
113
|
__name: "ADropdown",
|
|
113
|
-
props: /* @__PURE__ */
|
|
114
|
+
props: /* @__PURE__ */ H({
|
|
114
115
|
label: {},
|
|
115
116
|
items: {},
|
|
116
117
|
isAsync: { type: Boolean }
|
|
@@ -118,191 +119,190 @@ const $e = { class: "aform__form-element" }, Se = ["for"], Le = { class: "aform_
|
|
|
118
119
|
modelValue: {},
|
|
119
120
|
modelModifiers: {}
|
|
120
121
|
}),
|
|
121
|
-
emits: /* @__PURE__ */
|
|
122
|
+
emits: /* @__PURE__ */ H(["filterChanged"], ["update:modelValue"]),
|
|
122
123
|
setup(e, { emit: t }) {
|
|
123
|
-
const n =
|
|
124
|
-
|
|
125
|
-
document.addEventListener("click",
|
|
126
|
-
}),
|
|
127
|
-
document.removeEventListener("click",
|
|
124
|
+
const n = t, o = v(e.items), l = P(e, "modelValue"), a = v(!1), s = v(0), r = v(!1);
|
|
125
|
+
K(() => {
|
|
126
|
+
document.addEventListener("click", f), u();
|
|
127
|
+
}), ke(() => {
|
|
128
|
+
document.removeEventListener("click", f);
|
|
128
129
|
});
|
|
129
|
-
const
|
|
130
|
-
|
|
131
|
-
},
|
|
132
|
-
|
|
133
|
-
},
|
|
134
|
-
|
|
135
|
-
},
|
|
136
|
-
|
|
137
|
-
},
|
|
138
|
-
|
|
139
|
-
},
|
|
140
|
-
s.value <
|
|
141
|
-
},
|
|
130
|
+
const c = (b) => {
|
|
131
|
+
l.value = b, p();
|
|
132
|
+
}, u = () => {
|
|
133
|
+
l.value ? o.value = e.items.filter((b) => b.toLowerCase().indexOf(l.value.toLowerCase()) > -1) : o.value = e.items;
|
|
134
|
+
}, d = () => {
|
|
135
|
+
r.value = !0, e.isAsync ? (a.value = !0, n("filterChanged", l.value)) : u();
|
|
136
|
+
}, f = () => {
|
|
137
|
+
p(), s.value = 0;
|
|
138
|
+
}, p = () => {
|
|
139
|
+
r.value = !1, e.items.includes(l.value) || (l.value = "");
|
|
140
|
+
}, y = () => {
|
|
141
|
+
s.value < o.value.length && (s.value = s.value + 1);
|
|
142
|
+
}, w = () => {
|
|
142
143
|
s.value > 0 && (s.value = s.value - 1);
|
|
143
|
-
},
|
|
144
|
-
|
|
144
|
+
}, T = () => {
|
|
145
|
+
l.value = o.value[s.value], p(), s.value = 0;
|
|
145
146
|
};
|
|
146
|
-
return (
|
|
147
|
-
class:
|
|
147
|
+
return (b, $) => (m(), h("div", {
|
|
148
|
+
class: G(["autocomplete", { isOpen: r.value }])
|
|
148
149
|
}, [
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
ref: i,
|
|
150
|
+
i("div", We, [
|
|
151
|
+
D(i("input", {
|
|
152
|
+
ref: "mopInput",
|
|
153
153
|
type: "text",
|
|
154
|
-
onInput:
|
|
155
|
-
onFocus:
|
|
156
|
-
"onUpdate:modelValue":
|
|
154
|
+
onInput: d,
|
|
155
|
+
onFocus: d,
|
|
156
|
+
"onUpdate:modelValue": $[0] || ($[0] = (g) => l.value = g),
|
|
157
157
|
onKeydown: [
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
158
|
+
Y(y, ["down"]),
|
|
159
|
+
Y(w, ["up"]),
|
|
160
|
+
Y(T, ["enter"])
|
|
161
161
|
]
|
|
162
162
|
}, null, 544), [
|
|
163
|
-
[
|
|
163
|
+
[I, l.value]
|
|
164
164
|
]),
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
key:
|
|
168
|
-
onClick: (
|
|
169
|
-
class:
|
|
170
|
-
}, k(
|
|
165
|
+
D(i("ul", Ye, [
|
|
166
|
+
a.value ? (m(), h("li", Ge, "Loading results...")) : (m(!0), h(F, { key: 1 }, B(o.value, (g, _) => (m(), h("li", {
|
|
167
|
+
key: _,
|
|
168
|
+
onClick: (M) => c(g),
|
|
169
|
+
class: G(["autocomplete-result", { "is-active": _ === s.value }])
|
|
170
|
+
}, k(g), 11, Ke))), 128))
|
|
171
171
|
], 512), [
|
|
172
|
-
[
|
|
172
|
+
[x, r.value]
|
|
173
173
|
]),
|
|
174
|
-
|
|
174
|
+
i("label", null, k(b.label), 1)
|
|
175
175
|
])
|
|
176
176
|
], 2));
|
|
177
177
|
}
|
|
178
178
|
});
|
|
179
179
|
function pe(e) {
|
|
180
|
-
return
|
|
180
|
+
return de() ? (fe(e), !0) : !1;
|
|
181
181
|
}
|
|
182
182
|
function J(e) {
|
|
183
|
-
return typeof e == "function" ? e() :
|
|
183
|
+
return typeof e == "function" ? e() : V(e);
|
|
184
184
|
}
|
|
185
|
-
const
|
|
185
|
+
const Ne = typeof window < "u" && typeof document < "u";
|
|
186
186
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
187
|
-
const
|
|
188
|
-
};
|
|
189
|
-
function
|
|
187
|
+
const je = (e) => e != null, Je = Object.prototype.toString, Qe = (e) => Je.call(e) === "[object Object]", Xe = () => {
|
|
188
|
+
}, U = Ne ? window : void 0;
|
|
189
|
+
function q(e) {
|
|
190
190
|
var t;
|
|
191
191
|
const n = J(e);
|
|
192
192
|
return (t = n == null ? void 0 : n.$el) != null ? t : n;
|
|
193
193
|
}
|
|
194
|
-
|
|
195
|
-
function z(...e) {
|
|
194
|
+
function R(...e) {
|
|
196
195
|
let t, n, o, l;
|
|
197
|
-
if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([n, o, l] = e, t =
|
|
198
|
-
return
|
|
196
|
+
if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([n, o, l] = e, t = U) : [t, n, o, l] = e, !t)
|
|
197
|
+
return Xe;
|
|
199
198
|
Array.isArray(n) || (n = [n]), Array.isArray(o) || (o = [o]);
|
|
200
|
-
const a = [],
|
|
199
|
+
const a = [], s = () => {
|
|
201
200
|
a.forEach((d) => d()), a.length = 0;
|
|
202
|
-
},
|
|
203
|
-
() => [
|
|
204
|
-
([d,
|
|
205
|
-
if (
|
|
201
|
+
}, r = (d, f, p, y) => (d.addEventListener(f, p, y), () => d.removeEventListener(f, p, y)), c = O(
|
|
202
|
+
() => [q(t), J(l)],
|
|
203
|
+
([d, f]) => {
|
|
204
|
+
if (s(), !d)
|
|
206
205
|
return;
|
|
207
|
-
const
|
|
206
|
+
const p = Qe(f) ? { ...f } : f;
|
|
208
207
|
a.push(
|
|
209
|
-
...n.flatMap((
|
|
208
|
+
...n.flatMap((y) => o.map((w) => r(d, y, w, p)))
|
|
210
209
|
);
|
|
211
210
|
},
|
|
212
211
|
{ immediate: !0, flush: "post" }
|
|
213
|
-
),
|
|
214
|
-
|
|
212
|
+
), u = () => {
|
|
213
|
+
c(), s();
|
|
215
214
|
};
|
|
216
|
-
return pe(
|
|
215
|
+
return pe(u), u;
|
|
217
216
|
}
|
|
218
|
-
function
|
|
219
|
-
const e =
|
|
220
|
-
return t &&
|
|
217
|
+
function Ze() {
|
|
218
|
+
const e = v(!1), t = De();
|
|
219
|
+
return t && K(() => {
|
|
221
220
|
e.value = !0;
|
|
222
221
|
}, t), e;
|
|
223
222
|
}
|
|
224
|
-
function
|
|
225
|
-
const t =
|
|
226
|
-
return
|
|
223
|
+
function et(e) {
|
|
224
|
+
const t = Ze();
|
|
225
|
+
return L(() => (t.value, !!e()));
|
|
227
226
|
}
|
|
228
|
-
function
|
|
229
|
-
const { window: o =
|
|
227
|
+
function tt(e, t, n = {}) {
|
|
228
|
+
const { window: o = U, ...l } = n;
|
|
230
229
|
let a;
|
|
231
|
-
const
|
|
230
|
+
const s = et(() => o && "MutationObserver" in o), r = () => {
|
|
232
231
|
a && (a.disconnect(), a = void 0);
|
|
233
|
-
},
|
|
234
|
-
const
|
|
235
|
-
return new Set(
|
|
236
|
-
}),
|
|
237
|
-
() =>
|
|
238
|
-
(
|
|
239
|
-
|
|
232
|
+
}, c = L(() => {
|
|
233
|
+
const p = J(e), y = (Array.isArray(p) ? p : [p]).map(q).filter(je);
|
|
234
|
+
return new Set(y);
|
|
235
|
+
}), u = O(
|
|
236
|
+
() => c.value,
|
|
237
|
+
(p) => {
|
|
238
|
+
r(), s.value && p.size && (a = new MutationObserver(t), p.forEach((y) => a.observe(y, l)));
|
|
240
239
|
},
|
|
241
240
|
{ immediate: !0, flush: "post" }
|
|
242
|
-
), d = () => a == null ? void 0 : a.takeRecords(),
|
|
243
|
-
|
|
241
|
+
), d = () => a == null ? void 0 : a.takeRecords(), f = () => {
|
|
242
|
+
u(), r();
|
|
244
243
|
};
|
|
245
|
-
return pe(
|
|
246
|
-
isSupported:
|
|
247
|
-
stop:
|
|
244
|
+
return pe(f), {
|
|
245
|
+
isSupported: s,
|
|
246
|
+
stop: f,
|
|
248
247
|
takeRecords: d
|
|
249
248
|
};
|
|
250
249
|
}
|
|
251
|
-
function
|
|
250
|
+
function nt(e = {}) {
|
|
252
251
|
var t;
|
|
253
252
|
const {
|
|
254
|
-
window: n =
|
|
253
|
+
window: n = U,
|
|
255
254
|
deep: o = !0,
|
|
256
255
|
triggerOnRemoval: l = !1
|
|
257
|
-
} = e, a = (t = e.document) != null ? t : n == null ? void 0 : n.document,
|
|
258
|
-
var
|
|
256
|
+
} = e, a = (t = e.document) != null ? t : n == null ? void 0 : n.document, s = () => {
|
|
257
|
+
var u;
|
|
259
258
|
let d = a == null ? void 0 : a.activeElement;
|
|
260
259
|
if (o)
|
|
261
260
|
for (; d != null && d.shadowRoot; )
|
|
262
|
-
d = (
|
|
261
|
+
d = (u = d == null ? void 0 : d.shadowRoot) == null ? void 0 : u.activeElement;
|
|
263
262
|
return d;
|
|
264
|
-
},
|
|
265
|
-
|
|
263
|
+
}, r = v(), c = () => {
|
|
264
|
+
r.value = s();
|
|
266
265
|
};
|
|
267
|
-
return n && (
|
|
268
|
-
|
|
269
|
-
}, !0),
|
|
270
|
-
|
|
271
|
-
d ===
|
|
266
|
+
return n && (R(n, "blur", (u) => {
|
|
267
|
+
u.relatedTarget === null && c();
|
|
268
|
+
}, !0), R(n, "focus", c, !0)), l && tt(a, (u) => {
|
|
269
|
+
u.filter((d) => d.removedNodes.length).map((d) => Array.from(d.removedNodes)).flat().forEach((d) => {
|
|
270
|
+
d === r.value && c();
|
|
272
271
|
});
|
|
273
272
|
}, {
|
|
274
273
|
childList: !0,
|
|
275
274
|
subtree: !0
|
|
276
|
-
}),
|
|
275
|
+
}), c(), r;
|
|
277
276
|
}
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
277
|
+
const ot = "focusin", lt = "focusout";
|
|
278
|
+
function at(e, t = {}) {
|
|
279
|
+
const { window: n = U } = t, o = L(() => q(e)), l = v(!1), a = L(() => l.value), s = nt(t);
|
|
280
|
+
return !n || !s.value ? { focused: a } : (R(o, ot, () => l.value = !0), R(o, lt, () => l.value = !1), { focused: a });
|
|
281
281
|
}
|
|
282
|
-
function
|
|
283
|
-
const o =
|
|
282
|
+
function st(e, { window: t = U, scrollTarget: n } = {}) {
|
|
283
|
+
const o = v(!1), l = () => {
|
|
284
284
|
if (!t) return;
|
|
285
|
-
const a = t.document,
|
|
286
|
-
if (!
|
|
285
|
+
const a = t.document, s = q(e);
|
|
286
|
+
if (!s)
|
|
287
287
|
o.value = !1;
|
|
288
288
|
else {
|
|
289
|
-
const
|
|
290
|
-
o.value =
|
|
289
|
+
const r = s.getBoundingClientRect();
|
|
290
|
+
o.value = r.top <= (t.innerHeight || a.documentElement.clientHeight) && r.left <= (t.innerWidth || a.documentElement.clientWidth) && r.bottom >= 0 && r.right >= 0;
|
|
291
291
|
}
|
|
292
292
|
};
|
|
293
|
-
return
|
|
294
|
-
() =>
|
|
293
|
+
return O(
|
|
294
|
+
() => q(e),
|
|
295
295
|
() => l(),
|
|
296
296
|
{ immediate: !0, flush: "post" }
|
|
297
|
-
), t &&
|
|
297
|
+
), t && R(n || t, "scroll", l, {
|
|
298
298
|
capture: !1,
|
|
299
299
|
passive: !0
|
|
300
300
|
}), o;
|
|
301
301
|
}
|
|
302
|
-
const
|
|
303
|
-
let t =
|
|
302
|
+
const E = (e) => {
|
|
303
|
+
let t = st(e).value;
|
|
304
304
|
return t = t && e.offsetHeight > 0, t;
|
|
305
|
-
},
|
|
305
|
+
}, C = (e) => e.tabIndex >= 0, te = (e) => {
|
|
306
306
|
const t = e.target;
|
|
307
307
|
return Q(t);
|
|
308
308
|
}, Q = (e) => {
|
|
@@ -318,8 +318,8 @@ const T = (e) => {
|
|
|
318
318
|
const o = e.previousElementSibling;
|
|
319
319
|
o && (n = o);
|
|
320
320
|
}
|
|
321
|
-
return n && (
|
|
322
|
-
},
|
|
321
|
+
return n && (!C(n) || !E(n)) ? Q(n) : n;
|
|
322
|
+
}, rt = (e) => {
|
|
323
323
|
var t;
|
|
324
324
|
const n = e.target;
|
|
325
325
|
let o;
|
|
@@ -336,8 +336,8 @@ const T = (e) => {
|
|
|
336
336
|
a && (o = a);
|
|
337
337
|
}
|
|
338
338
|
}
|
|
339
|
-
return o && (
|
|
340
|
-
},
|
|
339
|
+
return o && (!C(o) || !E(o)) ? X(o) : o;
|
|
340
|
+
}, ne = (e) => {
|
|
341
341
|
const t = e.target;
|
|
342
342
|
return X(t);
|
|
343
343
|
}, X = (e) => {
|
|
@@ -353,8 +353,8 @@ const T = (e) => {
|
|
|
353
353
|
const o = e.nextElementSibling;
|
|
354
354
|
o && (n = o);
|
|
355
355
|
}
|
|
356
|
-
return n && (
|
|
357
|
-
},
|
|
356
|
+
return n && (!C(n) || !E(n)) ? X(n) : n;
|
|
357
|
+
}, it = (e) => {
|
|
358
358
|
var t;
|
|
359
359
|
const n = e.target;
|
|
360
360
|
let o;
|
|
@@ -371,8 +371,8 @@ const T = (e) => {
|
|
|
371
371
|
a && (o = a);
|
|
372
372
|
}
|
|
373
373
|
}
|
|
374
|
-
return o && (
|
|
375
|
-
},
|
|
374
|
+
return o && (!C(o) || !E(o)) ? Q(o) : o;
|
|
375
|
+
}, oe = (e) => {
|
|
376
376
|
const t = e.target;
|
|
377
377
|
return Z(t);
|
|
378
378
|
}, Z = (e) => {
|
|
@@ -384,8 +384,8 @@ const T = (e) => {
|
|
|
384
384
|
const o = (t = e.parentElement) == null ? void 0 : t.previousElementSibling;
|
|
385
385
|
n = o == null ? void 0 : o.lastElementChild;
|
|
386
386
|
}
|
|
387
|
-
return n && (
|
|
388
|
-
},
|
|
387
|
+
return n && (!C(n) || !E(n)) ? Z(n) : n;
|
|
388
|
+
}, le = (e) => {
|
|
389
389
|
const t = e.target;
|
|
390
390
|
return ee(t);
|
|
391
391
|
}, ee = (e) => {
|
|
@@ -397,157 +397,153 @@ const T = (e) => {
|
|
|
397
397
|
const o = (t = e.parentElement) == null ? void 0 : t.nextElementSibling;
|
|
398
398
|
n = o == null ? void 0 : o.firstElementChild;
|
|
399
399
|
}
|
|
400
|
-
return n && (
|
|
401
|
-
},
|
|
400
|
+
return n && (!C(n) || !E(n)) ? ee(n) : n;
|
|
401
|
+
}, ae = (e) => {
|
|
402
402
|
const t = e.target.parentElement.firstElementChild;
|
|
403
|
-
return t && (
|
|
404
|
-
},
|
|
403
|
+
return t && (!C(t) || !E(t)) ? ee(t) : t;
|
|
404
|
+
}, se = (e) => {
|
|
405
405
|
const t = e.target.parentElement.lastElementChild;
|
|
406
|
-
return t && (
|
|
407
|
-
},
|
|
406
|
+
return t && (!C(t) || !E(t)) ? Z(t) : t;
|
|
407
|
+
}, W = ["alt", "control", "shift", "meta"], ut = {
|
|
408
408
|
ArrowUp: "up",
|
|
409
409
|
ArrowDown: "down",
|
|
410
410
|
ArrowLeft: "left",
|
|
411
411
|
ArrowRight: "right"
|
|
412
|
-
},
|
|
412
|
+
}, ve = {
|
|
413
413
|
"keydown.up": (e) => {
|
|
414
|
-
const t =
|
|
414
|
+
const t = te(e);
|
|
415
415
|
t && (e.preventDefault(), e.stopPropagation(), t.focus());
|
|
416
416
|
},
|
|
417
417
|
"keydown.down": (e) => {
|
|
418
|
-
const t =
|
|
418
|
+
const t = ne(e);
|
|
419
419
|
t && (e.preventDefault(), e.stopPropagation(), t.focus());
|
|
420
420
|
},
|
|
421
421
|
"keydown.left": (e) => {
|
|
422
|
-
const t =
|
|
422
|
+
const t = oe(e);
|
|
423
423
|
e.preventDefault(), e.stopPropagation(), t && t.focus();
|
|
424
424
|
},
|
|
425
425
|
"keydown.right": (e) => {
|
|
426
|
-
const t =
|
|
426
|
+
const t = le(e);
|
|
427
427
|
e.preventDefault(), e.stopPropagation(), t && t.focus();
|
|
428
428
|
},
|
|
429
429
|
"keydown.control.up": (e) => {
|
|
430
|
-
const t =
|
|
430
|
+
const t = rt(e);
|
|
431
431
|
t && (e.preventDefault(), e.stopPropagation(), t.focus());
|
|
432
432
|
},
|
|
433
433
|
"keydown.control.down": (e) => {
|
|
434
|
-
const t =
|
|
434
|
+
const t = it(e);
|
|
435
435
|
t && (e.preventDefault(), e.stopPropagation(), t.focus());
|
|
436
436
|
},
|
|
437
437
|
"keydown.control.left": (e) => {
|
|
438
|
-
const t =
|
|
438
|
+
const t = ae(e);
|
|
439
439
|
t && (e.preventDefault(), e.stopPropagation(), t.focus());
|
|
440
440
|
},
|
|
441
441
|
"keydown.control.right": (e) => {
|
|
442
|
-
const t =
|
|
442
|
+
const t = se(e);
|
|
443
443
|
t && (e.preventDefault(), e.stopPropagation(), t.focus());
|
|
444
444
|
},
|
|
445
445
|
"keydown.end": (e) => {
|
|
446
|
-
const t =
|
|
446
|
+
const t = se(e);
|
|
447
447
|
t && (e.preventDefault(), e.stopPropagation(), t.focus());
|
|
448
448
|
},
|
|
449
449
|
"keydown.enter": (e) => {
|
|
450
450
|
if (e.target instanceof HTMLTableCellElement) {
|
|
451
451
|
e.preventDefault(), e.stopPropagation();
|
|
452
|
-
const t =
|
|
452
|
+
const t = ne(e);
|
|
453
453
|
t && t.focus();
|
|
454
454
|
}
|
|
455
455
|
},
|
|
456
456
|
"keydown.shift.enter": (e) => {
|
|
457
457
|
if (e.target instanceof HTMLTableCellElement) {
|
|
458
458
|
e.preventDefault(), e.stopPropagation();
|
|
459
|
-
const t =
|
|
459
|
+
const t = te(e);
|
|
460
460
|
t && t.focus();
|
|
461
461
|
}
|
|
462
462
|
},
|
|
463
463
|
"keydown.home": (e) => {
|
|
464
|
-
const t =
|
|
464
|
+
const t = ae(e);
|
|
465
465
|
t && (e.preventDefault(), e.stopPropagation(), t.focus());
|
|
466
466
|
},
|
|
467
467
|
"keydown.tab": (e) => {
|
|
468
|
-
const t =
|
|
468
|
+
const t = le(e);
|
|
469
469
|
t && (e.preventDefault(), e.stopPropagation(), t.focus());
|
|
470
470
|
},
|
|
471
471
|
"keydown.shift.tab": (e) => {
|
|
472
|
-
const t =
|
|
472
|
+
const t = oe(e);
|
|
473
473
|
t && (e.preventDefault(), e.stopPropagation(), t.focus());
|
|
474
474
|
}
|
|
475
475
|
};
|
|
476
|
-
function
|
|
477
|
-
const t = (
|
|
478
|
-
let
|
|
479
|
-
return
|
|
480
|
-
}, n = (
|
|
481
|
-
const
|
|
482
|
-
let
|
|
483
|
-
if (typeof
|
|
484
|
-
|
|
485
|
-
else if (Array.isArray(
|
|
486
|
-
for (const
|
|
487
|
-
|
|
488
|
-
else if (
|
|
489
|
-
|
|
490
|
-
else if (Array.isArray(
|
|
491
|
-
for (const
|
|
492
|
-
|
|
476
|
+
function ct(e) {
|
|
477
|
+
const t = (s) => {
|
|
478
|
+
let r = null;
|
|
479
|
+
return s.parent && (typeof s.parent == "string" ? r = document.querySelector(s.parent) : s.parent instanceof HTMLElement ? r = s.parent : r = s.parent.value), r;
|
|
480
|
+
}, n = (s) => {
|
|
481
|
+
const r = t(s);
|
|
482
|
+
let c = [];
|
|
483
|
+
if (typeof s.selectors == "string")
|
|
484
|
+
c = r ? Array.from(r.querySelectorAll(s.selectors)) : Array.from(document.querySelectorAll(s.selectors));
|
|
485
|
+
else if (Array.isArray(s.selectors))
|
|
486
|
+
for (const u of s.selectors)
|
|
487
|
+
u instanceof HTMLElement ? c.push(u) : c.push(u.$el);
|
|
488
|
+
else if (s.selectors instanceof HTMLElement)
|
|
489
|
+
c.push(s.selectors);
|
|
490
|
+
else if (Array.isArray(s.selectors.value))
|
|
491
|
+
for (const u of s.selectors.value)
|
|
492
|
+
u instanceof HTMLElement ? c.push(u) : c.push(u.$el);
|
|
493
493
|
else
|
|
494
|
-
|
|
495
|
-
return
|
|
496
|
-
}, o = (
|
|
497
|
-
const
|
|
498
|
-
let
|
|
499
|
-
return
|
|
500
|
-
}, l = (
|
|
501
|
-
const
|
|
502
|
-
if (
|
|
503
|
-
const
|
|
504
|
-
for (const d of Object.keys(
|
|
505
|
-
const [
|
|
506
|
-
if (
|
|
507
|
-
const
|
|
508
|
-
const
|
|
509
|
-
return
|
|
494
|
+
c.push(s.selectors.value);
|
|
495
|
+
return c;
|
|
496
|
+
}, o = (s) => {
|
|
497
|
+
const r = t(s);
|
|
498
|
+
let c = [];
|
|
499
|
+
return s.selectors ? c = n(s) : r && (c = Array.from(r.children).filter((u) => C(u) && E(u))), c;
|
|
500
|
+
}, l = (s) => (r) => {
|
|
501
|
+
const c = ut[r.key] || r.key.toLowerCase();
|
|
502
|
+
if (W.includes(c)) return;
|
|
503
|
+
const u = s.handlers || ve;
|
|
504
|
+
for (const d of Object.keys(u)) {
|
|
505
|
+
const [f, ...p] = d.split(".");
|
|
506
|
+
if (f === "keydown" && p.includes(c)) {
|
|
507
|
+
const y = u[d], w = p.filter((b) => W.includes(b)), T = W.some((b) => {
|
|
508
|
+
const $ = b.charAt(0).toUpperCase() + b.slice(1);
|
|
509
|
+
return r.getModifierState($);
|
|
510
510
|
});
|
|
511
|
-
if (
|
|
512
|
-
if (
|
|
513
|
-
for (const
|
|
514
|
-
if (
|
|
515
|
-
const
|
|
516
|
-
|
|
511
|
+
if (w.length > 0) {
|
|
512
|
+
if (T) {
|
|
513
|
+
for (const b of W)
|
|
514
|
+
if (p.includes(b)) {
|
|
515
|
+
const $ = b.charAt(0).toUpperCase() + b.slice(1);
|
|
516
|
+
r.getModifierState($) && y(r);
|
|
517
517
|
}
|
|
518
518
|
}
|
|
519
519
|
} else
|
|
520
|
-
|
|
520
|
+
T || y(r);
|
|
521
521
|
}
|
|
522
522
|
}
|
|
523
523
|
}, a = [];
|
|
524
|
-
|
|
525
|
-
for (const
|
|
526
|
-
const
|
|
527
|
-
for (const
|
|
528
|
-
const { focused:
|
|
529
|
-
|
|
524
|
+
K(() => {
|
|
525
|
+
for (const s of e) {
|
|
526
|
+
const r = t(s), c = o(s), u = l(s), d = r ? [r] : c;
|
|
527
|
+
for (const f of d) {
|
|
528
|
+
const { focused: p } = at(v(f)), y = O(p, (w) => {
|
|
529
|
+
w ? f.addEventListener("keydown", u) : f.removeEventListener("keydown", u);
|
|
530
530
|
});
|
|
531
|
-
a.push(
|
|
531
|
+
a.push(y);
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
|
-
}),
|
|
535
|
-
for (const
|
|
536
|
-
|
|
534
|
+
}), we(() => {
|
|
535
|
+
for (const s of a)
|
|
536
|
+
s();
|
|
537
537
|
});
|
|
538
538
|
}
|
|
539
|
-
const
|
|
539
|
+
const dt = {
|
|
540
|
+
class: "adatepicker",
|
|
541
|
+
tabindex: "0",
|
|
542
|
+
ref: "datepicker"
|
|
543
|
+
}, ft = {
|
|
540
544
|
colspan: "5",
|
|
541
545
|
tabindex: -1
|
|
542
|
-
},
|
|
543
|
-
/* @__PURE__ */ c("td", null, "M"),
|
|
544
|
-
/* @__PURE__ */ c("td", null, "T"),
|
|
545
|
-
/* @__PURE__ */ c("td", null, "W"),
|
|
546
|
-
/* @__PURE__ */ c("td", null, "T"),
|
|
547
|
-
/* @__PURE__ */ c("td", null, "F"),
|
|
548
|
-
/* @__PURE__ */ c("td", null, "S"),
|
|
549
|
-
/* @__PURE__ */ c("td", null, "S")
|
|
550
|
-
], -1), ct = ["onClick", "onKeydown"], dt = 6, ie = 7, ft = /* @__PURE__ */ E({
|
|
546
|
+
}, mt = ["onClick", "onKeydown"], pt = 6, re = 7, vt = /* @__PURE__ */ A({
|
|
551
547
|
__name: "ADatePicker",
|
|
552
548
|
props: {
|
|
553
549
|
modelValue: { default: /* @__PURE__ */ new Date() },
|
|
@@ -555,48 +551,48 @@ const it = {
|
|
|
555
551
|
},
|
|
556
552
|
emits: ["update:modelValue"],
|
|
557
553
|
setup(e) {
|
|
558
|
-
const t =
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
const
|
|
562
|
-
if (
|
|
563
|
-
|
|
554
|
+
const t = P(e, "modelValue"), n = v(new Date(t.value)), o = v(n.value.getMonth()), l = v(n.value.getFullYear()), a = v([]), s = ce("datepicker");
|
|
555
|
+
K(async () => {
|
|
556
|
+
r(), await Ae();
|
|
557
|
+
const g = document.getElementsByClassName("selectedDate");
|
|
558
|
+
if (g.length > 0)
|
|
559
|
+
g[0].focus();
|
|
564
560
|
else {
|
|
565
|
-
const
|
|
566
|
-
|
|
561
|
+
const _ = document.getElementsByClassName("todaysDate");
|
|
562
|
+
_.length > 0 && _[0].focus();
|
|
567
563
|
}
|
|
568
564
|
});
|
|
569
|
-
const
|
|
565
|
+
const r = () => {
|
|
570
566
|
a.value = [];
|
|
571
|
-
const
|
|
572
|
-
for (const
|
|
573
|
-
a.value.push(
|
|
567
|
+
const g = new Date(l.value, o.value, 1), _ = g.getDay(), M = g.setDate(g.getDate() - _);
|
|
568
|
+
for (const S of Array(43).keys())
|
|
569
|
+
a.value.push(M + S * 864e5);
|
|
574
570
|
};
|
|
575
|
-
|
|
576
|
-
const
|
|
577
|
-
o.value == 0 ? (o.value = 11,
|
|
578
|
-
},
|
|
579
|
-
o.value == 11 ? (o.value = 0,
|
|
580
|
-
},
|
|
581
|
-
const
|
|
582
|
-
if (o.value ===
|
|
583
|
-
return
|
|
584
|
-
},
|
|
585
|
-
t.value = n.value = new Date(a.value[
|
|
586
|
-
},
|
|
571
|
+
O([o, l], r);
|
|
572
|
+
const c = () => l.value -= 1, u = () => l.value += 1, d = () => {
|
|
573
|
+
o.value == 0 ? (o.value = 11, c()) : o.value -= 1;
|
|
574
|
+
}, f = () => {
|
|
575
|
+
o.value == 11 ? (o.value = 0, u()) : o.value += 1;
|
|
576
|
+
}, p = (g) => {
|
|
577
|
+
const _ = /* @__PURE__ */ new Date();
|
|
578
|
+
if (o.value === _.getMonth())
|
|
579
|
+
return _.toDateString() === new Date(g).toDateString();
|
|
580
|
+
}, y = (g) => new Date(g).toDateString() === new Date(n.value).toDateString(), w = (g, _) => (g - 1) * re + _, T = (g, _) => a.value[w(g, _)], b = (g) => {
|
|
581
|
+
t.value = n.value = new Date(a.value[g]);
|
|
582
|
+
}, $ = L(() => new Date(l.value, o.value, 1).toLocaleDateString(void 0, {
|
|
587
583
|
year: "numeric",
|
|
588
584
|
month: "long"
|
|
589
585
|
}));
|
|
590
|
-
return
|
|
586
|
+
return ct([
|
|
591
587
|
{
|
|
592
|
-
parent:
|
|
588
|
+
parent: s,
|
|
593
589
|
selectors: "td",
|
|
594
590
|
handlers: {
|
|
595
|
-
...
|
|
591
|
+
...ve,
|
|
596
592
|
"keydown.pageup": d,
|
|
597
|
-
"keydown.shift.pageup":
|
|
598
|
-
"keydown.pagedown":
|
|
599
|
-
"keydown.shift.pagedown":
|
|
593
|
+
"keydown.shift.pageup": c,
|
|
594
|
+
"keydown.pagedown": f,
|
|
595
|
+
"keydown.shift.pagedown": u,
|
|
600
596
|
// TODO: this is a hack to override the stonecrop enter handler;
|
|
601
597
|
// store context inside the component so that handlers can be setup consistently
|
|
602
598
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
@@ -604,57 +600,60 @@ const it = {
|
|
|
604
600
|
}
|
|
605
601
|
}
|
|
606
602
|
}
|
|
607
|
-
]), (
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
ref: r
|
|
612
|
-
}, [
|
|
613
|
-
c("table", null, [
|
|
614
|
-
c("tr", null, [
|
|
615
|
-
c("td", {
|
|
603
|
+
]), (g, _) => (m(), h("div", dt, [
|
|
604
|
+
i("table", null, [
|
|
605
|
+
i("tr", null, [
|
|
606
|
+
i("td", {
|
|
616
607
|
id: "previous-month-btn",
|
|
617
608
|
onClick: d,
|
|
618
609
|
tabindex: -1
|
|
619
610
|
}, "<"),
|
|
620
|
-
|
|
621
|
-
|
|
611
|
+
i("th", ft, k($.value), 1),
|
|
612
|
+
i("td", {
|
|
622
613
|
id: "next-month-btn",
|
|
623
|
-
onClick:
|
|
614
|
+
onClick: f,
|
|
624
615
|
tabindex: -1
|
|
625
616
|
}, ">")
|
|
626
617
|
]),
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
(
|
|
618
|
+
_[0] || (_[0] = i("tr", { class: "days-header" }, [
|
|
619
|
+
i("td", null, "M"),
|
|
620
|
+
i("td", null, "T"),
|
|
621
|
+
i("td", null, "W"),
|
|
622
|
+
i("td", null, "T"),
|
|
623
|
+
i("td", null, "F"),
|
|
624
|
+
i("td", null, "S"),
|
|
625
|
+
i("td", null, "S")
|
|
626
|
+
], -1)),
|
|
627
|
+
(m(), h(F, null, B(pt, (M) => i("tr", { key: M }, [
|
|
628
|
+
(m(), h(F, null, B(re, (S) => i("td", {
|
|
630
629
|
ref_for: !0,
|
|
631
630
|
ref: "celldate",
|
|
632
|
-
key:
|
|
631
|
+
key: w(M, S),
|
|
633
632
|
contenteditable: !1,
|
|
634
633
|
spellcheck: !1,
|
|
635
634
|
tabindex: 0,
|
|
636
|
-
onClick:
|
|
637
|
-
onKeydown:
|
|
638
|
-
class:
|
|
639
|
-
todaysDate:
|
|
640
|
-
selectedDate:
|
|
635
|
+
onClick: Me((he) => b(w(M, S)), ["prevent", "stop"]),
|
|
636
|
+
onKeydown: Y((he) => b(w(M, S)), ["enter"]),
|
|
637
|
+
class: G({
|
|
638
|
+
todaysDate: p(T(M, S)),
|
|
639
|
+
selectedDate: y(T(M, S))
|
|
641
640
|
})
|
|
642
|
-
}, k(new Date(
|
|
641
|
+
}, k(new Date(T(M, S)).getDate()), 43, mt)), 64))
|
|
643
642
|
])), 64))
|
|
644
643
|
])
|
|
645
644
|
], 512));
|
|
646
645
|
}
|
|
647
|
-
}),
|
|
646
|
+
}), gt = /* @__PURE__ */ A({
|
|
648
647
|
__name: "CollapseButton",
|
|
649
648
|
props: {
|
|
650
649
|
collapsed: { type: Boolean }
|
|
651
650
|
},
|
|
652
651
|
setup(e) {
|
|
653
|
-
return (t, n) => (
|
|
654
|
-
class:
|
|
652
|
+
return (t, n) => (m(), h("button", {
|
|
653
|
+
class: G(["collapse-button", t.collapsed ? "rotated" : "unrotated"])
|
|
655
654
|
}, "×", 2));
|
|
656
655
|
}
|
|
657
|
-
}),
|
|
656
|
+
}), ht = /* @__PURE__ */ z(gt, [["__scopeId", "data-v-6f1c1b45"]]), yt = { class: "aform" }, bt = /* @__PURE__ */ A({
|
|
658
657
|
__name: "AForm",
|
|
659
658
|
props: {
|
|
660
659
|
modelValue: {},
|
|
@@ -663,36 +662,36 @@ const it = {
|
|
|
663
662
|
},
|
|
664
663
|
emits: ["update:modelValue"],
|
|
665
664
|
setup(e, { emit: t }) {
|
|
666
|
-
const n =
|
|
667
|
-
let
|
|
668
|
-
for (const [
|
|
669
|
-
["component", "fieldtype"].includes(
|
|
670
|
-
return
|
|
671
|
-
},
|
|
672
|
-
get: () =>
|
|
665
|
+
const n = t, o = v(e.data || {}), l = (s) => {
|
|
666
|
+
let r = {};
|
|
667
|
+
for (const [c, u] of Object.entries(s))
|
|
668
|
+
["component", "fieldtype"].includes(c) || (r[c] = u), c === "rows" && u && u.length === 0 && (r.rows = o.value[s.fieldname]);
|
|
669
|
+
return r;
|
|
670
|
+
}, a = L({
|
|
671
|
+
get: () => e.modelValue.map((s, r) => L({
|
|
673
672
|
get() {
|
|
674
673
|
return s.value;
|
|
675
674
|
},
|
|
676
|
-
set: (
|
|
677
|
-
|
|
675
|
+
set: (c) => {
|
|
676
|
+
e.modelValue[r].value = c, n("update:modelValue", e.modelValue);
|
|
678
677
|
}
|
|
679
678
|
})),
|
|
680
679
|
set: () => {
|
|
681
680
|
}
|
|
682
681
|
});
|
|
683
|
-
return (s,
|
|
684
|
-
(
|
|
685
|
-
key:
|
|
686
|
-
schema:
|
|
687
|
-
modelValue:
|
|
688
|
-
"onUpdate:modelValue": (
|
|
689
|
-
data:
|
|
682
|
+
return (s, r) => (m(), h("form", yt, [
|
|
683
|
+
(m(!0), h(F, null, B(s.modelValue, (c, u) => (m(), N(Ee(c.component), Ce({
|
|
684
|
+
key: u,
|
|
685
|
+
schema: c,
|
|
686
|
+
modelValue: a.value[u].value,
|
|
687
|
+
"onUpdate:modelValue": (d) => a.value[u].value = d,
|
|
688
|
+
data: o.value[c.fieldname],
|
|
690
689
|
readonly: s.readonly,
|
|
691
690
|
ref_for: !0
|
|
692
|
-
},
|
|
691
|
+
}, l(c)), null, 16, ["schema", "modelValue", "onUpdate:modelValue", "data", "readonly"]))), 128))
|
|
693
692
|
]));
|
|
694
693
|
}
|
|
695
|
-
}),
|
|
694
|
+
}), ge = /* @__PURE__ */ z(bt, [["__scopeId", "data-v-15ed36be"]]), _t = /* @__PURE__ */ A({
|
|
696
695
|
__name: "AFieldset",
|
|
697
696
|
props: {
|
|
698
697
|
schema: {},
|
|
@@ -701,37 +700,36 @@ const it = {
|
|
|
701
700
|
data: {}
|
|
702
701
|
},
|
|
703
702
|
setup(e) {
|
|
704
|
-
const t =
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
onSubmit: r
|
|
703
|
+
const t = v(!1), n = v(e.data || []), o = v(e.schema), l = (a) => {
|
|
704
|
+
a.preventDefault(), e.collapsible && (t.value = !t.value);
|
|
705
|
+
};
|
|
706
|
+
return (a, s) => (m(), h("fieldset", null, [
|
|
707
|
+
i("legend", {
|
|
708
|
+
onClick: l,
|
|
709
|
+
onSubmit: l
|
|
712
710
|
}, [
|
|
713
|
-
|
|
714
|
-
|
|
711
|
+
me(k(a.label) + " ", 1),
|
|
712
|
+
a.collapsible ? (m(), N(ht, {
|
|
715
713
|
key: 0,
|
|
716
|
-
collapsed:
|
|
714
|
+
collapsed: t.value
|
|
717
715
|
}, null, 8, ["collapsed"])) : j("", !0)
|
|
718
716
|
], 32),
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
modelValue:
|
|
722
|
-
"onUpdate:modelValue":
|
|
717
|
+
Te(a.$slots, "default", { collapsed: t.value }, () => [
|
|
718
|
+
D($e(ge, {
|
|
719
|
+
modelValue: o.value,
|
|
720
|
+
"onUpdate:modelValue": s[0] || (s[0] = (r) => o.value = r),
|
|
723
721
|
data: n.value
|
|
724
722
|
}, null, 8, ["modelValue", "data"]), [
|
|
725
|
-
[
|
|
723
|
+
[x, !t.value]
|
|
726
724
|
])
|
|
727
725
|
], !0)
|
|
728
726
|
]));
|
|
729
727
|
}
|
|
730
|
-
}),
|
|
731
|
-
function
|
|
732
|
-
return
|
|
728
|
+
}), kt = /* @__PURE__ */ z(_t, [["__scopeId", "data-v-620f821b"]]);
|
|
729
|
+
function wt(e) {
|
|
730
|
+
return de() ? (fe(e), !0) : !1;
|
|
733
731
|
}
|
|
734
|
-
function
|
|
732
|
+
function ie() {
|
|
735
733
|
const e = /* @__PURE__ */ new Set(), t = (l) => {
|
|
736
734
|
e.delete(l);
|
|
737
735
|
};
|
|
@@ -739,7 +737,7 @@ function bt() {
|
|
|
739
737
|
on: (l) => {
|
|
740
738
|
e.add(l);
|
|
741
739
|
const a = () => t(l);
|
|
742
|
-
return
|
|
740
|
+
return wt(a), {
|
|
743
741
|
off: a
|
|
744
742
|
};
|
|
745
743
|
},
|
|
@@ -747,82 +745,83 @@ function bt() {
|
|
|
747
745
|
trigger: (...l) => Promise.all(Array.from(e).map((a) => a(...l)))
|
|
748
746
|
};
|
|
749
747
|
}
|
|
750
|
-
const
|
|
748
|
+
const Dt = typeof window < "u" && typeof document < "u";
|
|
751
749
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
752
|
-
const
|
|
750
|
+
const At = (e, t) => Object.prototype.hasOwnProperty.call(e, t), Mt = Dt ? window.document : void 0, Et = {
|
|
753
751
|
multiple: !0,
|
|
754
752
|
accept: "*",
|
|
755
753
|
reset: !1,
|
|
756
754
|
directory: !1
|
|
757
755
|
};
|
|
758
|
-
function
|
|
756
|
+
function Ct(e = {}) {
|
|
759
757
|
const {
|
|
760
|
-
document: t =
|
|
761
|
-
} = e, n =
|
|
762
|
-
let
|
|
763
|
-
t && (
|
|
764
|
-
const
|
|
765
|
-
n.value =
|
|
758
|
+
document: t = Mt
|
|
759
|
+
} = e, n = v(null), { on: o, trigger: l } = ie(), { on: a, trigger: s } = ie();
|
|
760
|
+
let r;
|
|
761
|
+
t && (r = t.createElement("input"), r.type = "file", r.onchange = (d) => {
|
|
762
|
+
const f = d.target;
|
|
763
|
+
n.value = f.files, l(n.value);
|
|
764
|
+
}, r.oncancel = () => {
|
|
765
|
+
s();
|
|
766
766
|
});
|
|
767
|
-
const
|
|
768
|
-
n.value = null,
|
|
769
|
-
},
|
|
770
|
-
if (!
|
|
767
|
+
const c = () => {
|
|
768
|
+
n.value = null, r && r.value && (r.value = "", l(null));
|
|
769
|
+
}, u = (d) => {
|
|
770
|
+
if (!r)
|
|
771
771
|
return;
|
|
772
|
-
const
|
|
773
|
-
...
|
|
772
|
+
const f = {
|
|
773
|
+
...Et,
|
|
774
774
|
...e,
|
|
775
|
-
...
|
|
775
|
+
...d
|
|
776
776
|
};
|
|
777
|
-
|
|
777
|
+
r.multiple = f.multiple, r.accept = f.accept, r.webkitdirectory = f.directory, At(f, "capture") && (r.capture = f.capture), f.reset && c(), r.click();
|
|
778
778
|
};
|
|
779
779
|
return {
|
|
780
|
-
files:
|
|
781
|
-
open:
|
|
782
|
-
reset:
|
|
780
|
+
files: Se(n),
|
|
781
|
+
open: u,
|
|
782
|
+
reset: c,
|
|
783
|
+
onCancel: a,
|
|
783
784
|
onChange: o
|
|
784
785
|
};
|
|
785
786
|
}
|
|
786
|
-
const
|
|
787
|
+
const Tt = { class: "aform__form-element aform__file-attach aform__grid--full" }, $t = {
|
|
787
788
|
key: 0,
|
|
788
789
|
class: "aform__file-attach-feedback"
|
|
789
|
-
},
|
|
790
|
+
}, St = ["disabled"], Lt = /* @__PURE__ */ A({
|
|
790
791
|
__name: "AFileAttach",
|
|
791
792
|
props: {
|
|
792
|
-
|
|
793
|
-
label: {},
|
|
794
|
-
collapsible: { type: Boolean },
|
|
795
|
-
data: {}
|
|
793
|
+
label: {}
|
|
796
794
|
},
|
|
797
795
|
setup(e) {
|
|
798
|
-
const
|
|
799
|
-
return
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
796
|
+
const { files: t, open: n, reset: o, onChange: l } = Ct(), a = L(() => `${t.value.length} ${t.value.length === 1 ? "file" : "files"}`);
|
|
797
|
+
return l((s) => s), (s, r) => (m(), h("div", Tt, [
|
|
798
|
+
V(t) ? (m(), h("div", $t, [
|
|
799
|
+
i("p", null, [
|
|
800
|
+
r[2] || (r[2] = me(" You have selected: ")),
|
|
801
|
+
i("b", null, k(a.value), 1)
|
|
804
802
|
]),
|
|
805
|
-
(
|
|
806
|
-
key:
|
|
807
|
-
}, k(
|
|
803
|
+
(m(!0), h(F, null, B(V(t), (c) => (m(), h("li", {
|
|
804
|
+
key: c.name
|
|
805
|
+
}, k(c.name), 1))), 128))
|
|
808
806
|
])) : j("", !0),
|
|
809
|
-
|
|
807
|
+
i("button", {
|
|
810
808
|
type: "button",
|
|
811
|
-
onClick:
|
|
809
|
+
onClick: r[0] || (r[0] = (c) => V(n)()),
|
|
812
810
|
class: "aform__form-btn"
|
|
813
|
-
}, k(
|
|
814
|
-
|
|
811
|
+
}, k(s.label), 1),
|
|
812
|
+
i("button", {
|
|
815
813
|
type: "button",
|
|
816
|
-
disabled: !
|
|
817
|
-
onClick:
|
|
814
|
+
disabled: !V(t),
|
|
815
|
+
onClick: r[1] || (r[1] = (c) => V(o)()),
|
|
818
816
|
class: "aform__form-btn"
|
|
819
|
-
}, "Reset", 8,
|
|
817
|
+
}, "Reset", 8, St)
|
|
820
818
|
]));
|
|
821
819
|
}
|
|
822
|
-
}),
|
|
820
|
+
}), Vt = { class: "aform__form-element" }, Ht = ["for"], Pt = ["id", "disabled", "required"], xt = ["innerHTML"], It = /* @__PURE__ */ A({
|
|
823
821
|
__name: "ANumericInput",
|
|
824
|
-
props: /* @__PURE__ */
|
|
822
|
+
props: /* @__PURE__ */ H({
|
|
825
823
|
label: {},
|
|
824
|
+
mask: {},
|
|
826
825
|
required: { type: Boolean },
|
|
827
826
|
readonly: { type: Boolean },
|
|
828
827
|
uuid: {},
|
|
@@ -833,27 +832,27 @@ const Mt = { class: "aform__form-element aform__file-attach aform__grid--full" }
|
|
|
833
832
|
}),
|
|
834
833
|
emits: ["update:modelValue"],
|
|
835
834
|
setup(e) {
|
|
836
|
-
const t =
|
|
837
|
-
return (n, o) => (
|
|
838
|
-
|
|
835
|
+
const t = P(e, "modelValue");
|
|
836
|
+
return (n, o) => (m(), h("div", Vt, [
|
|
837
|
+
i("label", {
|
|
839
838
|
class: "aform__field-label",
|
|
840
839
|
for: n.uuid
|
|
841
|
-
}, k(n.label), 9,
|
|
842
|
-
|
|
840
|
+
}, k(n.label), 9, Ht),
|
|
841
|
+
D(i("input", {
|
|
843
842
|
class: "aform__input-field",
|
|
844
843
|
"onUpdate:modelValue": o[0] || (o[0] = (l) => t.value = l),
|
|
845
844
|
type: "number",
|
|
846
845
|
id: n.uuid,
|
|
847
846
|
disabled: n.readonly,
|
|
848
847
|
required: n.required
|
|
849
|
-
}, null, 8,
|
|
850
|
-
[
|
|
848
|
+
}, null, 8, Pt), [
|
|
849
|
+
[I, t.value]
|
|
851
850
|
]),
|
|
852
|
-
|
|
851
|
+
D(i("p", {
|
|
853
852
|
class: "error",
|
|
854
853
|
innerHTML: n.validation.errorMessage
|
|
855
854
|
}, null, 8, xt), [
|
|
856
|
-
[
|
|
855
|
+
[x, n.validation.errorMessage]
|
|
857
856
|
])
|
|
858
857
|
]));
|
|
859
858
|
}
|
|
@@ -865,17 +864,17 @@ const Mt = { class: "aform__form-element aform__file-attach aform__grid--full" }
|
|
|
865
864
|
phone: "(###) ### - ####",
|
|
866
865
|
card: "#### #### #### ####"
|
|
867
866
|
};
|
|
868
|
-
function
|
|
867
|
+
function Ft(e) {
|
|
869
868
|
try {
|
|
870
869
|
return Function(`"use strict";return (${e})`)();
|
|
871
870
|
} catch {
|
|
872
871
|
}
|
|
873
872
|
}
|
|
874
|
-
function
|
|
873
|
+
function Bt(e) {
|
|
875
874
|
var n;
|
|
876
875
|
let t = e.value;
|
|
877
876
|
if (t) {
|
|
878
|
-
const o =
|
|
877
|
+
const o = Ft(t);
|
|
879
878
|
if (o) {
|
|
880
879
|
const l = e.instance.locale;
|
|
881
880
|
t = o(l);
|
|
@@ -886,40 +885,37 @@ function Pt(e) {
|
|
|
886
885
|
}
|
|
887
886
|
return t;
|
|
888
887
|
}
|
|
889
|
-
function
|
|
890
|
-
t || (t = "#");
|
|
888
|
+
function qt(e, t) {
|
|
891
889
|
let n = e;
|
|
892
890
|
const o = [t, "/", "-", "(", ")", " "];
|
|
893
891
|
for (const l of o)
|
|
894
892
|
n = n.replaceAll(l, "");
|
|
895
893
|
return n;
|
|
896
894
|
}
|
|
897
|
-
function
|
|
898
|
-
n || (n = "#");
|
|
895
|
+
function Rt(e, t, n) {
|
|
899
896
|
let o = t;
|
|
900
897
|
for (const l of e) {
|
|
901
898
|
const a = o.indexOf(n);
|
|
902
899
|
if (a !== -1) {
|
|
903
|
-
const
|
|
904
|
-
o =
|
|
900
|
+
const s = o.substring(0, a), r = o.substring(a + 1);
|
|
901
|
+
o = s + l + r;
|
|
905
902
|
}
|
|
906
903
|
}
|
|
907
904
|
return o.slice(0, t.length);
|
|
908
905
|
}
|
|
909
906
|
function Ot(e, t) {
|
|
910
|
-
const n =
|
|
907
|
+
const n = Bt(t);
|
|
911
908
|
if (!n) return;
|
|
912
|
-
const o = "#", l = e.value, a =
|
|
909
|
+
const o = "#", l = e.value, a = qt(l, o);
|
|
913
910
|
if (a) {
|
|
914
|
-
const
|
|
915
|
-
t.instance.maskFilled && (t.instance.maskFilled = !
|
|
911
|
+
const s = Rt(a, n, o);
|
|
912
|
+
t.instance.maskFilled && (t.instance.maskFilled = !s.includes(o)), e.value = s;
|
|
916
913
|
} else
|
|
917
914
|
e.value = n;
|
|
918
915
|
}
|
|
919
|
-
const
|
|
916
|
+
const Ut = { class: "aform__form-element" }, Wt = ["for"], Yt = ["id", "disabled", "maxlength", "required"], Gt = ["innerHTML"], Kt = /* @__PURE__ */ A({
|
|
920
917
|
__name: "ATextInput",
|
|
921
|
-
props: /* @__PURE__ */
|
|
922
|
-
schema: {},
|
|
918
|
+
props: /* @__PURE__ */ H({
|
|
923
919
|
label: {},
|
|
924
920
|
mask: {},
|
|
925
921
|
required: { type: Boolean },
|
|
@@ -932,45 +928,35 @@ const qt = { class: "aform__form-element" }, Rt = ["for"], Ut = ["id", "disabled
|
|
|
932
928
|
}),
|
|
933
929
|
emits: ["update:modelValue"],
|
|
934
930
|
setup(e) {
|
|
935
|
-
const t =
|
|
936
|
-
return (o, l) => (
|
|
937
|
-
|
|
931
|
+
const t = v(!0), n = P(e, "modelValue");
|
|
932
|
+
return (o, l) => (m(), h("div", Ut, [
|
|
933
|
+
i("label", {
|
|
938
934
|
class: "aform__field-label",
|
|
939
935
|
for: o.uuid
|
|
940
|
-
}, k(o.label), 9,
|
|
941
|
-
|
|
936
|
+
}, k(o.label), 9, Wt),
|
|
937
|
+
D(i("input", {
|
|
942
938
|
class: "aform__input-field",
|
|
943
939
|
"onUpdate:modelValue": l[0] || (l[0] = (a) => n.value = a),
|
|
944
940
|
id: o.uuid,
|
|
945
941
|
disabled: o.readonly,
|
|
946
942
|
maxlength: o.mask ? t.value && o.mask.length : void 0,
|
|
947
943
|
required: o.required
|
|
948
|
-
}, null, 8,
|
|
949
|
-
[
|
|
950
|
-
[
|
|
944
|
+
}, null, 8, Yt), [
|
|
945
|
+
[I, n.value],
|
|
946
|
+
[V(Ot), o.mask]
|
|
951
947
|
]),
|
|
952
|
-
|
|
948
|
+
D(i("p", {
|
|
953
949
|
class: "error",
|
|
954
950
|
innerHTML: o.validation.errorMessage
|
|
955
|
-
}, null, 8,
|
|
956
|
-
[
|
|
951
|
+
}, null, 8, Gt), [
|
|
952
|
+
[x, o.validation.errorMessage]
|
|
957
953
|
])
|
|
958
954
|
]));
|
|
959
955
|
}
|
|
960
|
-
}),
|
|
961
|
-
id: "login-email",
|
|
962
|
-
for: "email",
|
|
963
|
-
class: "aform__field-label"
|
|
964
|
-
}, "Email", -1), Zt = ["disabled"], en = { class: "login-form-password login-form-element" }, tn = /* @__PURE__ */ c("label", {
|
|
965
|
-
id: "login-password",
|
|
966
|
-
for: "password",
|
|
967
|
-
class: "aform__field-label"
|
|
968
|
-
}, "Password", -1), nn = ["disabled"], on = ["disabled"], ln = {
|
|
956
|
+
}), zt = { class: "login-container" }, Nt = { class: "account-container" }, jt = { class: "account-header" }, Jt = { id: "account-title" }, Qt = { id: "account-subtitle" }, Xt = { class: "login-form-container" }, Zt = { class: "login-form-email login-form-element" }, en = ["disabled"], tn = { class: "login-form-password login-form-element" }, nn = ["disabled"], on = ["disabled"], ln = {
|
|
969
957
|
key: 0,
|
|
970
958
|
class: "material-symbols-outlined loading-icon"
|
|
971
|
-
},
|
|
972
|
-
/* @__PURE__ */ c("span", { id: "forgot-password-button" }, "Forgot password?")
|
|
973
|
-
], -1), un = /* @__PURE__ */ E({
|
|
959
|
+
}, sn = /* @__PURE__ */ A({
|
|
974
960
|
__name: "Login",
|
|
975
961
|
props: {
|
|
976
962
|
headerTitle: { default: "Login" },
|
|
@@ -978,84 +964,94 @@ const qt = { class: "aform__form-element" }, Rt = ["for"], Ut = ["id", "disabled
|
|
|
978
964
|
},
|
|
979
965
|
emits: ["loginFailed", "loginSuccess"],
|
|
980
966
|
setup(e, { emit: t }) {
|
|
981
|
-
const n = t, o =
|
|
982
|
-
function
|
|
983
|
-
if (
|
|
967
|
+
const n = t, o = v(""), l = v(""), a = v(!1), s = v(!1);
|
|
968
|
+
function r(c) {
|
|
969
|
+
if (c.preventDefault(), a.value = !0, s.value) {
|
|
984
970
|
a.value = !1, n("loginFailed");
|
|
985
971
|
return;
|
|
986
972
|
}
|
|
987
973
|
a.value = !1, n("loginSuccess");
|
|
988
974
|
}
|
|
989
|
-
return (
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
975
|
+
return (c, u) => (m(), h("div", zt, [
|
|
976
|
+
i("div", null, [
|
|
977
|
+
i("div", Nt, [
|
|
978
|
+
i("div", jt, [
|
|
979
|
+
i("h1", Jt, k(c.headerTitle), 1),
|
|
980
|
+
i("p", Qt, k(c.headerSubtitle), 1)
|
|
995
981
|
]),
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
982
|
+
i("form", { onSubmit: r }, [
|
|
983
|
+
i("div", Xt, [
|
|
984
|
+
i("div", Zt, [
|
|
985
|
+
u[2] || (u[2] = i("label", {
|
|
986
|
+
id: "login-email",
|
|
987
|
+
for: "email",
|
|
988
|
+
class: "aform__field-label"
|
|
989
|
+
}, "Email", -1)),
|
|
990
|
+
D(i("input", {
|
|
1001
991
|
id: "email",
|
|
1002
992
|
class: "aform__input-field",
|
|
1003
993
|
name: "email",
|
|
1004
994
|
placeholder: "name@example.com",
|
|
1005
995
|
type: "email",
|
|
1006
|
-
"onUpdate:modelValue":
|
|
996
|
+
"onUpdate:modelValue": u[0] || (u[0] = (d) => o.value = d),
|
|
1007
997
|
"auto-capitalize": "none",
|
|
1008
998
|
"auto-complete": "email",
|
|
1009
999
|
"auto-correct": "off",
|
|
1010
1000
|
disabled: a.value
|
|
1011
|
-
}, null, 8,
|
|
1012
|
-
[
|
|
1001
|
+
}, null, 8, en), [
|
|
1002
|
+
[I, o.value]
|
|
1013
1003
|
])
|
|
1014
1004
|
]),
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1005
|
+
i("div", tn, [
|
|
1006
|
+
u[3] || (u[3] = i("label", {
|
|
1007
|
+
id: "login-password",
|
|
1008
|
+
for: "password",
|
|
1009
|
+
class: "aform__field-label"
|
|
1010
|
+
}, "Password", -1)),
|
|
1011
|
+
D(i("input", {
|
|
1018
1012
|
id: "password",
|
|
1019
1013
|
class: "aform__input-field",
|
|
1020
1014
|
name: "password",
|
|
1021
1015
|
type: "password",
|
|
1022
|
-
"onUpdate:modelValue":
|
|
1016
|
+
"onUpdate:modelValue": u[1] || (u[1] = (d) => l.value = d),
|
|
1023
1017
|
disabled: a.value
|
|
1024
1018
|
}, null, 8, nn), [
|
|
1025
|
-
[
|
|
1019
|
+
[I, l.value]
|
|
1026
1020
|
])
|
|
1027
1021
|
]),
|
|
1028
|
-
|
|
1022
|
+
i("button", {
|
|
1029
1023
|
class: "btn",
|
|
1030
|
-
onClick:
|
|
1024
|
+
onClick: r,
|
|
1031
1025
|
disabled: a.value || !o.value || !l.value
|
|
1032
1026
|
}, [
|
|
1033
|
-
a.value ? (
|
|
1034
|
-
|
|
1027
|
+
a.value ? (m(), h("span", ln, "progress_activity")) : j("", !0),
|
|
1028
|
+
u[4] || (u[4] = i("span", { id: "login-form-button" }, "Login", -1))
|
|
1035
1029
|
], 8, on)
|
|
1036
1030
|
])
|
|
1037
1031
|
], 32),
|
|
1038
|
-
|
|
1032
|
+
u[5] || (u[5] = i("button", { class: "btn" }, [
|
|
1033
|
+
i("span", { id: "forgot-password-button" }, "Forgot password?")
|
|
1034
|
+
], -1))
|
|
1039
1035
|
])
|
|
1040
1036
|
])
|
|
1041
1037
|
]));
|
|
1042
1038
|
}
|
|
1043
1039
|
});
|
|
1044
|
-
function
|
|
1045
|
-
e.component("ACheckbox",
|
|
1040
|
+
function rn(e) {
|
|
1041
|
+
e.component("ACheckbox", Ie), e.component("ACombobox", Fe), e.component("ADate", Ue), e.component("ADropdown", ze), e.component("ADatePicker", vt), e.component("AFieldset", kt), e.component("AFileAttach", Lt), e.component("AForm", ge), e.component("ANumericInput", It), e.component("ATextInput", Kt);
|
|
1046
1042
|
}
|
|
1047
1043
|
export {
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1044
|
+
Ie as ACheckbox,
|
|
1045
|
+
Fe as AComboBox,
|
|
1046
|
+
Ue as ADate,
|
|
1047
|
+
vt as ADatePicker,
|
|
1048
|
+
ze as ADropdown,
|
|
1049
|
+
kt as AFieldset,
|
|
1050
|
+
Lt as AFileAttach,
|
|
1051
|
+
ge as AForm,
|
|
1052
|
+
It as ANumericInput,
|
|
1053
|
+
Kt as ATextInput,
|
|
1054
|
+
sn as Login,
|
|
1055
|
+
rn as install
|
|
1060
1056
|
};
|
|
1061
1057
|
//# sourceMappingURL=aform.js.map
|