@bagelink/vue 0.0.93 → 0.0.95
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/components/Btn.vue.d.ts +31 -31
- package/dist/components/DataPreview.vue.d.ts +4 -4
- package/dist/components/DropDown.vue.d.ts +1 -1
- package/dist/components/FormSchema.vue.d.ts +4 -4
- package/dist/components/ListItem.vue.d.ts +2 -2
- package/dist/components/ListView.vue.d.ts +4 -4
- package/dist/components/MaterialIcon.vue.d.ts +2 -2
- package/dist/components/Modal.vue.d.ts +9 -9
- package/dist/components/ModalForm.vue.d.ts +16 -16
- package/dist/components/NavBar.vue.d.ts +10 -10
- package/dist/components/PersonPreviewFormkit.vue.d.ts +2 -2
- package/dist/components/RTXEditor.vue.d.ts +4 -4
- package/dist/components/TabbedLayout.vue.d.ts +5 -5
- package/dist/components/TableSchema.vue.d.ts +3 -3
- package/dist/components/charts/BarChart.vue.d.ts +6 -6
- package/dist/components/form/MaterialIcon.vue.d.ts +3 -3
- package/dist/components/form/inputs/CheckInput.vue.d.ts +5 -5
- package/dist/components/form/inputs/Checkbox.vue.d.ts +1 -1
- package/dist/components/form/inputs/CurrencyInput.vue.d.ts +7 -7
- package/dist/components/form/inputs/DateInput.vue.d.ts +5 -5
- package/dist/components/form/inputs/DatetimeInput.vue.d.ts +12 -12
- package/dist/components/form/inputs/DurationInput.vue.d.ts +12 -12
- package/dist/components/form/inputs/EmailInput.vue.d.ts +12 -12
- package/dist/components/form/inputs/FloatInput.vue.d.ts +12 -12
- package/dist/components/form/inputs/IntInput.vue.d.ts +12 -12
- package/dist/components/form/inputs/JSONInput.vue.d.ts +12 -12
- package/dist/components/form/inputs/LinkField.vue.d.ts +13 -13
- package/dist/components/form/inputs/Password.vue.d.ts +11 -11
- package/dist/components/form/inputs/PasswordInput.vue.d.ts +12 -12
- package/dist/components/form/inputs/ReadOnlyInput.vue.d.ts +2 -2
- package/dist/components/form/inputs/RichTextEditor.vue.d.ts +12 -12
- package/dist/components/form/inputs/SelectField.vue.d.ts +7 -7
- package/dist/components/form/inputs/TableField.vue.d.ts +5 -5
- package/dist/components/form/inputs/TextInput.vue.d.ts +22 -22
- package/dist/components/index.d.ts +1 -0
- package/dist/index.cjs +453 -256
- package/dist/index.mjs +453 -256
- package/dist/style.css +246 -244
- package/dist/types/BtnOptions.d.ts +1 -1
- package/dist/types/materialIcons.d.ts +1 -0
- package/dist/utils/index.d.ts +2 -1
- package/package.json +2 -2
- package/src/components/Btn.vue +4 -3
- package/src/components/Comments.vue +2 -2
- package/src/components/ContactArray.vue +2 -2
- package/src/components/ContactSubmissions.vue +2 -2
- package/src/components/DataPreview.vue +1 -1
- package/src/components/DropDown.vue +3 -2
- package/src/components/FileUploader.vue +1 -1
- package/src/components/FormKitTable.vue +2 -2
- package/src/components/FormSchema.vue +2 -2
- package/src/components/ListView.vue +2 -2
- package/src/components/MaterialIcon.vue +1 -1
- package/src/components/Modal.vue +2 -2
- package/src/components/ModalForm.vue +3 -3
- package/src/components/NavBar.vue +2 -1
- package/src/components/PersonPreview.vue +4 -4
- package/src/components/PersonPreviewFormkit.vue +4 -4
- package/src/components/RouterWrapper.vue +0 -2
- package/src/components/TableSchema.vue +2 -2
- package/src/components/form/ItemRef.vue +4 -3
- package/src/components/form/MaterialIcon.vue +1 -1
- package/src/components/form/PlainInputField.vue +2 -2
- package/src/components/form/inputs/CheckInput.vue +1 -1
- package/src/components/form/inputs/Checkbox.vue +1 -1
- package/src/components/form/inputs/ColorPicker.vue +1 -1
- package/src/components/form/inputs/CurrencyInput.vue +1 -1
- package/src/components/form/inputs/DateInput.vue +1 -1
- package/src/components/form/inputs/DynamicLinkField.vue +2 -1
- package/src/components/form/inputs/LinkField.vue +1 -1
- package/src/components/form/inputs/Password.vue +3 -3
- package/src/components/form/inputs/PlainText.vue +1 -1
- package/src/components/form/inputs/ReadOnlyInput.vue +1 -1
- package/src/components/form/inputs/SelectField.vue +2 -2
- package/src/components/form/inputs/TableField.vue +3 -3
- package/src/components/form/inputs/TextArea.vue +1 -1
- package/src/components/form/inputs/TextInput.vue +1 -1
- package/src/components/formkit/AddressArray.vue +4 -3
- package/src/components/formkit/BankDetailsArray.vue +3 -3
- package/src/components/formkit/ContactArrayFormKit.vue +4 -3
- package/src/components/formkit/FileUploader.vue +3 -2
- package/src/components/formkit/MiscFields.vue +1 -1
- package/src/components/index.ts +1 -0
- package/src/components/whatsapp/form/MsgTemplate.vue +3 -2
- package/src/components/whatsapp/form/TextVariableExamples.vue +1 -1
- package/src/plugins/modal.ts +1 -1
- package/src/types/BtnOptions.ts +1 -1
- package/src/utils/index.ts +3 -1
- package/src/utils/objects.ts +1 -1
- package/tsconfig.json +40 -31
- package/vite.config.ts +2 -2
- /package/src/types/{materialIcons.d.ts → materialIcons.ts} +0 -0
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const FormSchema = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2
2
|
__proto__: null,
|
|
3
3
|
get default() {
|
|
4
|
-
return _sfc_main$
|
|
4
|
+
return _sfc_main$u;
|
|
5
5
|
}
|
|
6
6
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
7
7
|
function makeMap(str, expectsLowerCase) {
|
|
@@ -27,7 +27,7 @@ const remove = (arr, el) => {
|
|
|
27
27
|
};
|
|
28
28
|
const hasOwnProperty$2 = Object.prototype.hasOwnProperty;
|
|
29
29
|
const hasOwn = (val, key) => hasOwnProperty$2.call(val, key);
|
|
30
|
-
const isArray$
|
|
30
|
+
const isArray$2 = Array.isArray;
|
|
31
31
|
const isMap = (val) => toTypeString(val) === "[object Map]";
|
|
32
32
|
const isSet = (val) => toTypeString(val) === "[object Set]";
|
|
33
33
|
const isDate$1 = (val) => toTypeString(val) === "[object Date]";
|
|
@@ -93,7 +93,7 @@ const getGlobalThis = () => {
|
|
|
93
93
|
return _globalThis || (_globalThis = typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : {});
|
|
94
94
|
};
|
|
95
95
|
function normalizeStyle(value) {
|
|
96
|
-
if (isArray$
|
|
96
|
+
if (isArray$2(value)) {
|
|
97
97
|
const res = {};
|
|
98
98
|
for (let i = 0; i < value.length; i++) {
|
|
99
99
|
const item = value[i];
|
|
@@ -126,7 +126,7 @@ function normalizeClass(value) {
|
|
|
126
126
|
let res = "";
|
|
127
127
|
if (isString$1(value)) {
|
|
128
128
|
res = value;
|
|
129
|
-
} else if (isArray$
|
|
129
|
+
} else if (isArray$2(value)) {
|
|
130
130
|
for (let i = 0; i < value.length; i++) {
|
|
131
131
|
const normalized = normalizeClass(value[i]);
|
|
132
132
|
if (normalized) {
|
|
@@ -164,8 +164,8 @@ function looseEqual(a, b) {
|
|
|
164
164
|
if (aValidType || bValidType) {
|
|
165
165
|
return a === b;
|
|
166
166
|
}
|
|
167
|
-
aValidType = isArray$
|
|
168
|
-
bValidType = isArray$
|
|
167
|
+
aValidType = isArray$2(a);
|
|
168
|
+
bValidType = isArray$2(b);
|
|
169
169
|
if (aValidType || bValidType) {
|
|
170
170
|
return aValidType && bValidType ? looseCompareArrays(a, b) : false;
|
|
171
171
|
}
|
|
@@ -194,7 +194,7 @@ function looseIndexOf(arr, val) {
|
|
|
194
194
|
return arr.findIndex((item) => looseEqual(item, val));
|
|
195
195
|
}
|
|
196
196
|
const toDisplayString = (val) => {
|
|
197
|
-
return isString$1(val) ? val : val == null ? "" : isArray$
|
|
197
|
+
return isString$1(val) ? val : val == null ? "" : isArray$2(val) || isObject$2(val) && (val.toString === objectToString || !isFunction$1(val.toString)) ? JSON.stringify(val, replacer, 2) : String(val);
|
|
198
198
|
};
|
|
199
199
|
const replacer = (_key, val) => {
|
|
200
200
|
if (val && val.__v_isRef) {
|
|
@@ -210,7 +210,7 @@ const replacer = (_key, val) => {
|
|
|
210
210
|
return {
|
|
211
211
|
[`Set(${val.size})`]: [...val.values()]
|
|
212
212
|
};
|
|
213
|
-
} else if (isObject$2(val) && !isArray$
|
|
213
|
+
} else if (isObject$2(val) && !isArray$2(val) && !isPlainObject$1(val)) {
|
|
214
214
|
return String(val);
|
|
215
215
|
}
|
|
216
216
|
return val;
|
|
@@ -389,7 +389,7 @@ function trigger(target, type, key, newValue, oldValue, oldTarget) {
|
|
|
389
389
|
let deps = [];
|
|
390
390
|
if (type === "clear") {
|
|
391
391
|
deps = [...depsMap.values()];
|
|
392
|
-
} else if (key === "length" && isArray$
|
|
392
|
+
} else if (key === "length" && isArray$2(target)) {
|
|
393
393
|
const newLength = Number(newValue);
|
|
394
394
|
depsMap.forEach((dep, key2) => {
|
|
395
395
|
if (key2 === "length" || !isSymbol(key2) && key2 >= newLength) {
|
|
@@ -402,7 +402,7 @@ function trigger(target, type, key, newValue, oldValue, oldTarget) {
|
|
|
402
402
|
}
|
|
403
403
|
switch (type) {
|
|
404
404
|
case "add":
|
|
405
|
-
if (!isArray$
|
|
405
|
+
if (!isArray$2(target)) {
|
|
406
406
|
deps.push(depsMap.get(ITERATE_KEY));
|
|
407
407
|
if (isMap(target)) {
|
|
408
408
|
deps.push(depsMap.get(MAP_KEY_ITERATE_KEY));
|
|
@@ -412,7 +412,7 @@ function trigger(target, type, key, newValue, oldValue, oldTarget) {
|
|
|
412
412
|
}
|
|
413
413
|
break;
|
|
414
414
|
case "delete":
|
|
415
|
-
if (!isArray$
|
|
415
|
+
if (!isArray$2(target)) {
|
|
416
416
|
deps.push(depsMap.get(ITERATE_KEY));
|
|
417
417
|
if (isMap(target)) {
|
|
418
418
|
deps.push(depsMap.get(MAP_KEY_ITERATE_KEY));
|
|
@@ -450,7 +450,7 @@ function trigger(target, type, key, newValue, oldValue, oldTarget) {
|
|
|
450
450
|
}
|
|
451
451
|
}
|
|
452
452
|
function triggerEffects(dep, debuggerEventExtraInfo) {
|
|
453
|
-
const effects = isArray$
|
|
453
|
+
const effects = isArray$2(dep) ? dep : [...dep];
|
|
454
454
|
for (const effect2 of effects) {
|
|
455
455
|
if (effect2.computed) {
|
|
456
456
|
triggerEffect(effect2, debuggerEventExtraInfo);
|
|
@@ -526,7 +526,7 @@ class BaseReactiveHandler {
|
|
|
526
526
|
} else if (key === "__v_raw" && receiver === (isReadonly2 ? shallow ? shallowReadonlyMap : readonlyMap : shallow ? shallowReactiveMap : reactiveMap).get(target)) {
|
|
527
527
|
return target;
|
|
528
528
|
}
|
|
529
|
-
const targetIsArray = isArray$
|
|
529
|
+
const targetIsArray = isArray$2(target);
|
|
530
530
|
if (!isReadonly2) {
|
|
531
531
|
if (targetIsArray && hasOwn(arrayInstrumentations, key)) {
|
|
532
532
|
return Reflect.get(arrayInstrumentations, key, receiver);
|
|
@@ -568,12 +568,12 @@ class MutableReactiveHandler extends BaseReactiveHandler {
|
|
|
568
568
|
oldValue = toRaw(oldValue);
|
|
569
569
|
value = toRaw(value);
|
|
570
570
|
}
|
|
571
|
-
if (!isArray$
|
|
571
|
+
if (!isArray$2(target) && isRef(oldValue) && !isRef(value)) {
|
|
572
572
|
oldValue.value = value;
|
|
573
573
|
return true;
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
|
-
const hadKey = isArray$
|
|
576
|
+
const hadKey = isArray$2(target) && isIntegerKey(key) ? Number(key) < target.length : hasOwn(target, key);
|
|
577
577
|
const result = Reflect.set(target, key, value, receiver);
|
|
578
578
|
if (target === toRaw(receiver)) {
|
|
579
579
|
if (!hadKey) {
|
|
@@ -604,7 +604,7 @@ class MutableReactiveHandler extends BaseReactiveHandler {
|
|
|
604
604
|
track(
|
|
605
605
|
target,
|
|
606
606
|
"iterate",
|
|
607
|
-
isArray$
|
|
607
|
+
isArray$2(target) ? "length" : ITERATE_KEY
|
|
608
608
|
);
|
|
609
609
|
return Reflect.ownKeys(target);
|
|
610
610
|
}
|
|
@@ -1422,7 +1422,7 @@ function queueFlush() {
|
|
|
1422
1422
|
}
|
|
1423
1423
|
}
|
|
1424
1424
|
function queuePostFlushCb(cb) {
|
|
1425
|
-
if (!isArray$
|
|
1425
|
+
if (!isArray$2(cb)) {
|
|
1426
1426
|
if (!activePostFlushCbs || !activePostFlushCbs.includes(
|
|
1427
1427
|
cb,
|
|
1428
1428
|
cb.allowRecurse ? postFlushIndex + 1 : postFlushIndex
|
|
@@ -1732,7 +1732,7 @@ function resolve(registry2, name) {
|
|
|
1732
1732
|
const isSuspense = (type) => type.__isSuspense;
|
|
1733
1733
|
function queueEffectWithSuspense(fn, suspense) {
|
|
1734
1734
|
if (suspense && suspense.pendingBranch) {
|
|
1735
|
-
if (isArray$
|
|
1735
|
+
if (isArray$2(fn)) {
|
|
1736
1736
|
suspense.effects.push(...fn);
|
|
1737
1737
|
} else {
|
|
1738
1738
|
suspense.effects.push(fn);
|
|
@@ -1741,6 +1741,9 @@ function queueEffectWithSuspense(fn, suspense) {
|
|
|
1741
1741
|
queuePostFlushCb(fn);
|
|
1742
1742
|
}
|
|
1743
1743
|
}
|
|
1744
|
+
function watchEffect(effect2, options) {
|
|
1745
|
+
return doWatch(effect2, null, options);
|
|
1746
|
+
}
|
|
1744
1747
|
function watchPostEffect(effect2, options) {
|
|
1745
1748
|
return doWatch(
|
|
1746
1749
|
effect2,
|
|
@@ -1788,7 +1791,7 @@ function doWatch(source, cb, { immediate, deep, flush, onTrack, onTrigger } = EM
|
|
|
1788
1791
|
} else if (isReactive(source)) {
|
|
1789
1792
|
getter = () => source;
|
|
1790
1793
|
deep = true;
|
|
1791
|
-
} else if (isArray$
|
|
1794
|
+
} else if (isArray$2(source)) {
|
|
1792
1795
|
isMultiSource = true;
|
|
1793
1796
|
forceTrigger = source.some((s) => isReactive(s) || isShallow(s));
|
|
1794
1797
|
getter = () => source.map((s) => {
|
|
@@ -1959,7 +1962,7 @@ function traverse(value, seen) {
|
|
|
1959
1962
|
seen.add(value);
|
|
1960
1963
|
if (isRef(value)) {
|
|
1961
1964
|
traverse(value.value, seen);
|
|
1962
|
-
} else if (isArray$
|
|
1965
|
+
} else if (isArray$2(value)) {
|
|
1963
1966
|
for (let i = 0; i < value.length; i++) {
|
|
1964
1967
|
traverse(value[i], seen);
|
|
1965
1968
|
}
|
|
@@ -2184,7 +2187,7 @@ function resolveTransitionHooks(vnode, props2, state, instance) {
|
|
|
2184
2187
|
const callAsyncHook = (hook, args) => {
|
|
2185
2188
|
const done = args[1];
|
|
2186
2189
|
callHook2(hook, args);
|
|
2187
|
-
if (isArray$
|
|
2190
|
+
if (isArray$2(hook)) {
|
|
2188
2191
|
if (hook.every((hook2) => hook2.length <= 1))
|
|
2189
2192
|
done();
|
|
2190
2193
|
} else if (hook.length <= 1) {
|
|
@@ -2382,7 +2385,7 @@ const onUnmounted = createHook("um");
|
|
|
2382
2385
|
function renderList(source, renderItem, cache, index2) {
|
|
2383
2386
|
let ret;
|
|
2384
2387
|
const cached2 = cache && cache[index2];
|
|
2385
|
-
if (isArray$
|
|
2388
|
+
if (isArray$2(source) || isString$1(source)) {
|
|
2386
2389
|
ret = new Array(source.length);
|
|
2387
2390
|
for (let i = 0, l = source.length; i < l; i++) {
|
|
2388
2391
|
ret[i] = renderItem(source[i], i, void 0, cached2 && cached2[i]);
|
|
@@ -2641,7 +2644,7 @@ function getContext$1() {
|
|
|
2641
2644
|
return i.setupContext || (i.setupContext = createSetupContext(i));
|
|
2642
2645
|
}
|
|
2643
2646
|
function normalizePropsOrEmits(props2) {
|
|
2644
|
-
return isArray$
|
|
2647
|
+
return isArray$2(props2) ? props2.reduce(
|
|
2645
2648
|
(normalized, p) => (normalized[p] = null, normalized),
|
|
2646
2649
|
{}
|
|
2647
2650
|
) : props2;
|
|
@@ -2747,7 +2750,7 @@ function mergeInject(to, from2) {
|
|
|
2747
2750
|
return mergeObjectOptions(normalizeInject(to), normalizeInject(from2));
|
|
2748
2751
|
}
|
|
2749
2752
|
function normalizeInject(raw) {
|
|
2750
|
-
if (isArray$
|
|
2753
|
+
if (isArray$2(raw)) {
|
|
2751
2754
|
const res = {};
|
|
2752
2755
|
for (let i = 0; i < raw.length; i++) {
|
|
2753
2756
|
res[raw[i]] = raw[i];
|
|
@@ -2764,7 +2767,7 @@ function mergeObjectOptions(to, from2) {
|
|
|
2764
2767
|
}
|
|
2765
2768
|
function mergeEmitsOrPropsOptions(to, from2) {
|
|
2766
2769
|
if (to) {
|
|
2767
|
-
if (isArray$
|
|
2770
|
+
if (isArray$2(to) && isArray$2(from2)) {
|
|
2768
2771
|
return [.../* @__PURE__ */ new Set([...to, ...from2])];
|
|
2769
2772
|
}
|
|
2770
2773
|
return extend$4(
|
|
@@ -2807,7 +2810,7 @@ const queuePostRenderEffect = queueEffectWithSuspense;
|
|
|
2807
2810
|
function traverseStaticChildren(n1, n2, shallow = false) {
|
|
2808
2811
|
const ch1 = n1.children;
|
|
2809
2812
|
const ch2 = n2.children;
|
|
2810
|
-
if (isArray$
|
|
2813
|
+
if (isArray$2(ch1) && isArray$2(ch2)) {
|
|
2811
2814
|
for (let i = 0; i < ch1.length; i++) {
|
|
2812
2815
|
const c1 = ch1[i];
|
|
2813
2816
|
let c2 = ch2[i];
|
|
@@ -3262,7 +3265,7 @@ function _createVNode(type, props2 = null, children = null, patchFlag = 0, dynam
|
|
|
3262
3265
|
props2.class = normalizeClass(klass);
|
|
3263
3266
|
}
|
|
3264
3267
|
if (isObject$2(style)) {
|
|
3265
|
-
if (isProxy(style) && !isArray$
|
|
3268
|
+
if (isProxy(style) && !isArray$2(style)) {
|
|
3266
3269
|
style = extend$4({}, style);
|
|
3267
3270
|
}
|
|
3268
3271
|
props2.style = normalizeStyle(style);
|
|
@@ -3307,11 +3310,11 @@ function cloneVNode(vnode, extraProps, mergeRef = false) {
|
|
|
3307
3310
|
// #2078 in the case of <component :is="vnode" ref="extra"/>
|
|
3308
3311
|
// if the vnode itself already has a ref, cloneVNode will need to merge
|
|
3309
3312
|
// the refs so the single vnode can be set on multiple refs
|
|
3310
|
-
mergeRef && ref3 ? isArray$
|
|
3313
|
+
mergeRef && ref3 ? isArray$2(ref3) ? ref3.concat(normalizeRef(extraProps)) : [ref3, normalizeRef(extraProps)] : normalizeRef(extraProps)
|
|
3311
3314
|
) : ref3,
|
|
3312
3315
|
scopeId: vnode.scopeId,
|
|
3313
3316
|
slotScopeIds: vnode.slotScopeIds,
|
|
3314
|
-
children: !!(process.env.NODE_ENV !== "production") && patchFlag === -1 && isArray$
|
|
3317
|
+
children: !!(process.env.NODE_ENV !== "production") && patchFlag === -1 && isArray$2(children) ? children.map(deepCloneVNode) : children,
|
|
3315
3318
|
target: vnode.target,
|
|
3316
3319
|
targetAnchor: vnode.targetAnchor,
|
|
3317
3320
|
staticCount: vnode.staticCount,
|
|
@@ -3343,7 +3346,7 @@ function cloneVNode(vnode, extraProps, mergeRef = false) {
|
|
|
3343
3346
|
}
|
|
3344
3347
|
function deepCloneVNode(vnode) {
|
|
3345
3348
|
const cloned = cloneVNode(vnode);
|
|
3346
|
-
if (isArray$
|
|
3349
|
+
if (isArray$2(vnode.children)) {
|
|
3347
3350
|
cloned.children = vnode.children.map(deepCloneVNode);
|
|
3348
3351
|
}
|
|
3349
3352
|
return cloned;
|
|
@@ -3362,7 +3365,7 @@ function normalizeChildren(vnode, children) {
|
|
|
3362
3365
|
const { shapeFlag } = vnode;
|
|
3363
3366
|
if (children == null) {
|
|
3364
3367
|
children = null;
|
|
3365
|
-
} else if (isArray$
|
|
3368
|
+
} else if (isArray$2(children)) {
|
|
3366
3369
|
type = 16;
|
|
3367
3370
|
} else if (typeof children === "object") {
|
|
3368
3371
|
if (shapeFlag & (1 | 64)) {
|
|
@@ -3416,7 +3419,7 @@ function mergeProps(...args) {
|
|
|
3416
3419
|
} else if (isOn(key)) {
|
|
3417
3420
|
const existing = ret[key];
|
|
3418
3421
|
const incoming = toMerge[key];
|
|
3419
|
-
if (incoming && existing !== incoming && !(isArray$
|
|
3422
|
+
if (incoming && existing !== incoming && !(isArray$2(existing) && existing.includes(incoming))) {
|
|
3420
3423
|
ret[key] = existing ? [].concat(existing, incoming) : incoming;
|
|
3421
3424
|
}
|
|
3422
3425
|
} else if (key !== "") {
|
|
@@ -3497,7 +3500,7 @@ function createSetupContext(instance) {
|
|
|
3497
3500
|
if (exposed != null) {
|
|
3498
3501
|
let exposedType = typeof exposed;
|
|
3499
3502
|
if (exposedType === "object") {
|
|
3500
|
-
if (isArray$
|
|
3503
|
+
if (isArray$2(exposed)) {
|
|
3501
3504
|
exposedType = "array";
|
|
3502
3505
|
} else if (isRef(exposed)) {
|
|
3503
3506
|
exposedType = "ref";
|
|
@@ -3588,7 +3591,7 @@ const computed = (getterOrOptions, debugOptions) => {
|
|
|
3588
3591
|
function h(type, propsOrChildren, children) {
|
|
3589
3592
|
const l = arguments.length;
|
|
3590
3593
|
if (l === 2) {
|
|
3591
|
-
if (isObject$2(propsOrChildren) && !isArray$
|
|
3594
|
+
if (isObject$2(propsOrChildren) && !isArray$2(propsOrChildren)) {
|
|
3592
3595
|
if (isVNode(propsOrChildren)) {
|
|
3593
3596
|
return createVNode(type, null, [propsOrChildren]);
|
|
3594
3597
|
}
|
|
@@ -3770,7 +3773,7 @@ function initCustomFormatter() {
|
|
|
3770
3773
|
}
|
|
3771
3774
|
function isKeyOfType(Comp, key, type) {
|
|
3772
3775
|
const opts = Comp[type];
|
|
3773
|
-
if (isArray$
|
|
3776
|
+
if (isArray$2(opts) && opts.includes(key) || isObject$2(opts) && key in opts) {
|
|
3774
3777
|
return true;
|
|
3775
3778
|
}
|
|
3776
3779
|
if (Comp.extends && isKeyOfType(Comp.extends, key, type)) {
|
|
@@ -3824,14 +3827,14 @@ const TransitionPropsValidators = Transition.props = /* @__PURE__ */ extend$4(
|
|
|
3824
3827
|
DOMTransitionPropsValidators
|
|
3825
3828
|
);
|
|
3826
3829
|
const callHook = (hook, args = []) => {
|
|
3827
|
-
if (isArray$
|
|
3830
|
+
if (isArray$2(hook)) {
|
|
3828
3831
|
hook.forEach((h2) => h2(...args));
|
|
3829
3832
|
} else if (hook) {
|
|
3830
3833
|
hook(...args);
|
|
3831
3834
|
}
|
|
3832
3835
|
};
|
|
3833
3836
|
const hasExplicitCallback = (hook) => {
|
|
3834
|
-
return hook ? isArray$
|
|
3837
|
+
return hook ? isArray$2(hook) ? hook.some((h2) => h2.length > 1) : hook.length > 1 : false;
|
|
3835
3838
|
};
|
|
3836
3839
|
function resolveTransitionProps(rawProps) {
|
|
3837
3840
|
const baseProps = {};
|
|
@@ -4249,7 +4252,7 @@ function hasCSSTransform(el, root, moveClass) {
|
|
|
4249
4252
|
}
|
|
4250
4253
|
const getModelAssigner = (vnode) => {
|
|
4251
4254
|
const fn = vnode.props["onUpdate:modelValue"] || false;
|
|
4252
|
-
return isArray$
|
|
4255
|
+
return isArray$2(fn) ? (value) => invokeArrayFns(fn, value) : fn;
|
|
4253
4256
|
};
|
|
4254
4257
|
function onCompositionStart(e) {
|
|
4255
4258
|
e.target.composing = true;
|
|
@@ -4324,7 +4327,7 @@ const vModelCheckbox = {
|
|
|
4324
4327
|
const elementValue = getValue(el);
|
|
4325
4328
|
const checked = el.checked;
|
|
4326
4329
|
const assign = el[assignKey];
|
|
4327
|
-
if (isArray$
|
|
4330
|
+
if (isArray$2(modelValue)) {
|
|
4328
4331
|
const index2 = looseIndexOf(modelValue, elementValue);
|
|
4329
4332
|
const found2 = index2 !== -1;
|
|
4330
4333
|
if (checked && !found2) {
|
|
@@ -4356,7 +4359,7 @@ const vModelCheckbox = {
|
|
|
4356
4359
|
};
|
|
4357
4360
|
function setChecked(el, { value, oldValue }, vnode) {
|
|
4358
4361
|
el._modelValue = value;
|
|
4359
|
-
if (isArray$
|
|
4362
|
+
if (isArray$2(value)) {
|
|
4360
4363
|
el.checked = looseIndexOf(value, vnode.props.value) > -1;
|
|
4361
4364
|
} else if (isSet(value)) {
|
|
4362
4365
|
el.checked = value.has(vnode.props.value);
|
|
@@ -4408,7 +4411,7 @@ const vModelSelect = {
|
|
|
4408
4411
|
};
|
|
4409
4412
|
function setSelected(el, value) {
|
|
4410
4413
|
const isMultiple = el.multiple;
|
|
4411
|
-
if (isMultiple && !isArray$
|
|
4414
|
+
if (isMultiple && !isArray$2(value) && !isSet(value)) {
|
|
4412
4415
|
!!(process.env.NODE_ENV !== "production") && warn$1(
|
|
4413
4416
|
`<select multiple v-model> expects an Array or Set value for its binding, but got ${Object.prototype.toString.call(value).slice(8, -1)}.`
|
|
4414
4417
|
);
|
|
@@ -4418,7 +4421,7 @@ function setSelected(el, value) {
|
|
|
4418
4421
|
const option2 = el.options[i];
|
|
4419
4422
|
const optionValue = getValue(option2);
|
|
4420
4423
|
if (isMultiple) {
|
|
4421
|
-
if (isArray$
|
|
4424
|
+
if (isArray$2(value)) {
|
|
4422
4425
|
option2.selected = looseIndexOf(value, optionValue) > -1;
|
|
4423
4426
|
} else {
|
|
4424
4427
|
option2.selected = value.has(optionValue);
|
|
@@ -4549,7 +4552,7 @@ const kindOfTest = (type) => {
|
|
|
4549
4552
|
return (thing) => kindOf(thing) === type;
|
|
4550
4553
|
};
|
|
4551
4554
|
const typeOfTest = (type) => (thing) => typeof thing === type;
|
|
4552
|
-
const { isArray } = Array;
|
|
4555
|
+
const { isArray: isArray$1 } = Array;
|
|
4553
4556
|
const isUndefined = typeOfTest("undefined");
|
|
4554
4557
|
function isBuffer(val) {
|
|
4555
4558
|
return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor) && isFunction(val.constructor.isBuffer) && val.constructor.isBuffer(val);
|
|
@@ -4597,7 +4600,7 @@ function forEach(obj, fn, { allOwnKeys = false } = {}) {
|
|
|
4597
4600
|
if (typeof obj !== "object") {
|
|
4598
4601
|
obj = [obj];
|
|
4599
4602
|
}
|
|
4600
|
-
if (isArray(obj)) {
|
|
4603
|
+
if (isArray$1(obj)) {
|
|
4601
4604
|
for (i = 0, l = obj.length; i < l; i++) {
|
|
4602
4605
|
fn.call(null, obj[i], i, obj);
|
|
4603
4606
|
}
|
|
@@ -4639,7 +4642,7 @@ function merge() {
|
|
|
4639
4642
|
result[targetKey] = merge(result[targetKey], val);
|
|
4640
4643
|
} else if (isPlainObject(val)) {
|
|
4641
4644
|
result[targetKey] = merge({}, val);
|
|
4642
|
-
} else if (isArray(val)) {
|
|
4645
|
+
} else if (isArray$1(val)) {
|
|
4643
4646
|
result[targetKey] = val.slice();
|
|
4644
4647
|
} else {
|
|
4645
4648
|
result[targetKey] = val;
|
|
@@ -4708,7 +4711,7 @@ const endsWith = (str, searchString, position) => {
|
|
|
4708
4711
|
const toArray = (thing) => {
|
|
4709
4712
|
if (!thing)
|
|
4710
4713
|
return null;
|
|
4711
|
-
if (isArray(thing))
|
|
4714
|
+
if (isArray$1(thing))
|
|
4712
4715
|
return thing;
|
|
4713
4716
|
let i = thing.length;
|
|
4714
4717
|
if (!isNumber(i))
|
|
@@ -4790,10 +4793,10 @@ const toObjectSet = (arrayOrString, delimiter) => {
|
|
|
4790
4793
|
obj[value] = true;
|
|
4791
4794
|
});
|
|
4792
4795
|
};
|
|
4793
|
-
isArray(arrayOrString) ? define2(arrayOrString) : define2(String(arrayOrString).split(delimiter));
|
|
4796
|
+
isArray$1(arrayOrString) ? define2(arrayOrString) : define2(String(arrayOrString).split(delimiter));
|
|
4794
4797
|
return obj;
|
|
4795
4798
|
};
|
|
4796
|
-
const noop = () => {
|
|
4799
|
+
const noop$1 = () => {
|
|
4797
4800
|
};
|
|
4798
4801
|
const toFiniteNumber = (value, defaultValue) => {
|
|
4799
4802
|
value = +value;
|
|
@@ -4826,7 +4829,7 @@ const toJSONObject = (obj) => {
|
|
|
4826
4829
|
}
|
|
4827
4830
|
if (!("toJSON" in source)) {
|
|
4828
4831
|
stack2[i] = source;
|
|
4829
|
-
const target = isArray(source) ? [] : {};
|
|
4832
|
+
const target = isArray$1(source) ? [] : {};
|
|
4830
4833
|
forEach(source, (value, key) => {
|
|
4831
4834
|
const reducedValue = visit(value, i + 1);
|
|
4832
4835
|
!isUndefined(reducedValue) && (target[key] = reducedValue);
|
|
@@ -4842,7 +4845,7 @@ const toJSONObject = (obj) => {
|
|
|
4842
4845
|
const isAsyncFn = kindOfTest("AsyncFunction");
|
|
4843
4846
|
const isThenable = (thing) => thing && (isObject$1(thing) || isFunction(thing)) && isFunction(thing.then) && isFunction(thing.catch);
|
|
4844
4847
|
const utils$1 = {
|
|
4845
|
-
isArray,
|
|
4848
|
+
isArray: isArray$1,
|
|
4846
4849
|
isArrayBuffer,
|
|
4847
4850
|
isBuffer,
|
|
4848
4851
|
isFormData,
|
|
@@ -4883,7 +4886,7 @@ const utils$1 = {
|
|
|
4883
4886
|
freezeMethods,
|
|
4884
4887
|
toObjectSet,
|
|
4885
4888
|
toCamelCase,
|
|
4886
|
-
noop,
|
|
4889
|
+
noop: noop$1,
|
|
4887
4890
|
toFiniteNumber,
|
|
4888
4891
|
findKey,
|
|
4889
4892
|
global: _global,
|
|
@@ -6791,6 +6794,25 @@ const BagelVue = {
|
|
|
6791
6794
|
app.provide(bagelInjectionKey, bagel);
|
|
6792
6795
|
}
|
|
6793
6796
|
};
|
|
6797
|
+
const _hoisted_1$F = { ref: "el" };
|
|
6798
|
+
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
6799
|
+
__name: "LangText",
|
|
6800
|
+
props: {
|
|
6801
|
+
input: {}
|
|
6802
|
+
},
|
|
6803
|
+
setup(__props) {
|
|
6804
|
+
return (_ctx, _cache) => {
|
|
6805
|
+
return openBlock(), createElementBlock(Fragment$1, null, [
|
|
6806
|
+
createBaseVNode("span", _hoisted_1$F, null, 512),
|
|
6807
|
+
createTextVNode(" " + toDisplayString(_ctx.input) + " ", 1)
|
|
6808
|
+
], 64);
|
|
6809
|
+
};
|
|
6810
|
+
}
|
|
6811
|
+
});
|
|
6812
|
+
const LangText = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6813
|
+
__proto__: null,
|
|
6814
|
+
default: _sfc_main$K
|
|
6815
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
6794
6816
|
function OrderedMap(content) {
|
|
6795
6817
|
this.content = content;
|
|
6796
6818
|
}
|
|
@@ -18901,8 +18923,8 @@ const marks = {
|
|
|
18901
18923
|
}
|
|
18902
18924
|
};
|
|
18903
18925
|
const schema = new Schema({ nodes, marks });
|
|
18904
|
-
const _hoisted_1$
|
|
18905
|
-
const _sfc_main$
|
|
18926
|
+
const _hoisted_1$E = ["id"];
|
|
18927
|
+
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
18906
18928
|
__name: "RTXEditor",
|
|
18907
18929
|
props: {
|
|
18908
18930
|
elementId: { default: Math.random().toString(36).substr(2, 9) },
|
|
@@ -18979,15 +19001,15 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
18979
19001
|
onClick: focusEditor,
|
|
18980
19002
|
id: `canvas-${_ctx.elementId}`,
|
|
18981
19003
|
onKeydown: _cache[0] || (_cache[0] = withKeys(withModifiers(($event) => _ctx.$emit("keydown.meta.enter"), ["meta"]), ["enter"]))
|
|
18982
|
-
}, null, 40, _hoisted_1$
|
|
19004
|
+
}, null, 40, _hoisted_1$E);
|
|
18983
19005
|
};
|
|
18984
19006
|
}
|
|
18985
19007
|
});
|
|
18986
19008
|
const RTXEditor = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
18987
19009
|
__proto__: null,
|
|
18988
|
-
default: _sfc_main$
|
|
19010
|
+
default: _sfc_main$J
|
|
18989
19011
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
18990
|
-
const _sfc_main$
|
|
19012
|
+
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
18991
19013
|
__name: "MaterialIcon",
|
|
18992
19014
|
props: {
|
|
18993
19015
|
icon: {},
|
|
@@ -19004,11 +19026,200 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
19004
19026
|
});
|
|
19005
19027
|
const MaterialIcon = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
19006
19028
|
__proto__: null,
|
|
19007
|
-
default: _sfc_main$
|
|
19029
|
+
default: _sfc_main$I
|
|
19008
19030
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
19009
|
-
|
|
19031
|
+
/*!
|
|
19032
|
+
* vue-router v4.2.5
|
|
19033
|
+
* (c) 2023 Eduardo San Martin Morote
|
|
19034
|
+
* @license MIT
|
|
19035
|
+
*/
|
|
19036
|
+
const isBrowser = typeof window !== "undefined";
|
|
19037
|
+
const noop = () => {
|
|
19038
|
+
};
|
|
19039
|
+
const isArray = Array.isArray;
|
|
19040
|
+
function isSameRouteRecord(a, b) {
|
|
19041
|
+
return (a.aliasOf || a) === (b.aliasOf || b);
|
|
19042
|
+
}
|
|
19043
|
+
function isSameRouteLocationParams(a, b) {
|
|
19044
|
+
if (Object.keys(a).length !== Object.keys(b).length)
|
|
19045
|
+
return false;
|
|
19046
|
+
for (const key in a) {
|
|
19047
|
+
if (!isSameRouteLocationParamsValue(a[key], b[key]))
|
|
19048
|
+
return false;
|
|
19049
|
+
}
|
|
19050
|
+
return true;
|
|
19051
|
+
}
|
|
19052
|
+
function isSameRouteLocationParamsValue(a, b) {
|
|
19053
|
+
return isArray(a) ? isEquivalentArray(a, b) : isArray(b) ? isEquivalentArray(b, a) : a === b;
|
|
19054
|
+
}
|
|
19055
|
+
function isEquivalentArray(a, b) {
|
|
19056
|
+
return isArray(b) ? a.length === b.length && a.every((value, i) => value === b[i]) : a.length === 1 && a[0] === b;
|
|
19057
|
+
}
|
|
19058
|
+
var NavigationType;
|
|
19059
|
+
(function(NavigationType2) {
|
|
19060
|
+
NavigationType2["pop"] = "pop";
|
|
19061
|
+
NavigationType2["push"] = "push";
|
|
19062
|
+
})(NavigationType || (NavigationType = {}));
|
|
19063
|
+
var NavigationDirection;
|
|
19064
|
+
(function(NavigationDirection2) {
|
|
19065
|
+
NavigationDirection2["back"] = "back";
|
|
19066
|
+
NavigationDirection2["forward"] = "forward";
|
|
19067
|
+
NavigationDirection2["unknown"] = "";
|
|
19068
|
+
})(NavigationDirection || (NavigationDirection = {}));
|
|
19069
|
+
Symbol(process.env.NODE_ENV !== "production" ? "navigation failure" : "");
|
|
19070
|
+
var NavigationFailureType;
|
|
19071
|
+
(function(NavigationFailureType2) {
|
|
19072
|
+
NavigationFailureType2[NavigationFailureType2["aborted"] = 4] = "aborted";
|
|
19073
|
+
NavigationFailureType2[NavigationFailureType2["cancelled"] = 8] = "cancelled";
|
|
19074
|
+
NavigationFailureType2[NavigationFailureType2["duplicated"] = 16] = "duplicated";
|
|
19075
|
+
})(NavigationFailureType || (NavigationFailureType = {}));
|
|
19076
|
+
Symbol(process.env.NODE_ENV !== "production" ? "router view location matched" : "");
|
|
19077
|
+
Symbol(process.env.NODE_ENV !== "production" ? "router view depth" : "");
|
|
19078
|
+
const routerKey = Symbol(process.env.NODE_ENV !== "production" ? "router" : "");
|
|
19079
|
+
const routeLocationKey = Symbol(process.env.NODE_ENV !== "production" ? "route location" : "");
|
|
19080
|
+
Symbol(process.env.NODE_ENV !== "production" ? "router view location" : "");
|
|
19081
|
+
function useLink(props2) {
|
|
19082
|
+
const router = inject(routerKey);
|
|
19083
|
+
const currentRoute = inject(routeLocationKey);
|
|
19084
|
+
const route = computed(() => router.resolve(unref(props2.to)));
|
|
19085
|
+
const activeRecordIndex = computed(() => {
|
|
19086
|
+
const { matched } = route.value;
|
|
19087
|
+
const { length } = matched;
|
|
19088
|
+
const routeMatched = matched[length - 1];
|
|
19089
|
+
const currentMatched = currentRoute.matched;
|
|
19090
|
+
if (!routeMatched || !currentMatched.length)
|
|
19091
|
+
return -1;
|
|
19092
|
+
const index2 = currentMatched.findIndex(isSameRouteRecord.bind(null, routeMatched));
|
|
19093
|
+
if (index2 > -1)
|
|
19094
|
+
return index2;
|
|
19095
|
+
const parentRecordPath = getOriginalPath(matched[length - 2]);
|
|
19096
|
+
return (
|
|
19097
|
+
// we are dealing with nested routes
|
|
19098
|
+
length > 1 && // if the parent and matched route have the same path, this link is
|
|
19099
|
+
// referring to the empty child. Or we currently are on a different
|
|
19100
|
+
// child of the same parent
|
|
19101
|
+
getOriginalPath(routeMatched) === parentRecordPath && // avoid comparing the child with its parent
|
|
19102
|
+
currentMatched[currentMatched.length - 1].path !== parentRecordPath ? currentMatched.findIndex(isSameRouteRecord.bind(null, matched[length - 2])) : index2
|
|
19103
|
+
);
|
|
19104
|
+
});
|
|
19105
|
+
const isActive = computed(() => activeRecordIndex.value > -1 && includesParams(currentRoute.params, route.value.params));
|
|
19106
|
+
const isExactActive = computed(() => activeRecordIndex.value > -1 && activeRecordIndex.value === currentRoute.matched.length - 1 && isSameRouteLocationParams(currentRoute.params, route.value.params));
|
|
19107
|
+
function navigate(e = {}) {
|
|
19108
|
+
if (guardEvent(e)) {
|
|
19109
|
+
return router[unref(props2.replace) ? "replace" : "push"](
|
|
19110
|
+
unref(props2.to)
|
|
19111
|
+
// avoid uncaught errors are they are logged anyway
|
|
19112
|
+
).catch(noop);
|
|
19113
|
+
}
|
|
19114
|
+
return Promise.resolve();
|
|
19115
|
+
}
|
|
19116
|
+
if ((process.env.NODE_ENV !== "production" || false) && isBrowser) {
|
|
19117
|
+
const instance = getCurrentInstance();
|
|
19118
|
+
if (instance) {
|
|
19119
|
+
const linkContextDevtools = {
|
|
19120
|
+
route: route.value,
|
|
19121
|
+
isActive: isActive.value,
|
|
19122
|
+
isExactActive: isExactActive.value
|
|
19123
|
+
};
|
|
19124
|
+
instance.__vrl_devtools = instance.__vrl_devtools || [];
|
|
19125
|
+
instance.__vrl_devtools.push(linkContextDevtools);
|
|
19126
|
+
watchEffect(() => {
|
|
19127
|
+
linkContextDevtools.route = route.value;
|
|
19128
|
+
linkContextDevtools.isActive = isActive.value;
|
|
19129
|
+
linkContextDevtools.isExactActive = isExactActive.value;
|
|
19130
|
+
}, { flush: "post" });
|
|
19131
|
+
}
|
|
19132
|
+
}
|
|
19133
|
+
return {
|
|
19134
|
+
route,
|
|
19135
|
+
href: computed(() => route.value.href),
|
|
19136
|
+
isActive,
|
|
19137
|
+
isExactActive,
|
|
19138
|
+
navigate
|
|
19139
|
+
};
|
|
19140
|
+
}
|
|
19141
|
+
const RouterLinkImpl = /* @__PURE__ */ defineComponent({
|
|
19142
|
+
name: "RouterLink",
|
|
19143
|
+
compatConfig: { MODE: 3 },
|
|
19144
|
+
props: {
|
|
19145
|
+
to: {
|
|
19146
|
+
type: [String, Object],
|
|
19147
|
+
required: true
|
|
19148
|
+
},
|
|
19149
|
+
replace: Boolean,
|
|
19150
|
+
activeClass: String,
|
|
19151
|
+
// inactiveClass: String,
|
|
19152
|
+
exactActiveClass: String,
|
|
19153
|
+
custom: Boolean,
|
|
19154
|
+
ariaCurrentValue: {
|
|
19155
|
+
type: String,
|
|
19156
|
+
default: "page"
|
|
19157
|
+
}
|
|
19158
|
+
},
|
|
19159
|
+
useLink,
|
|
19160
|
+
setup(props2, { slots }) {
|
|
19161
|
+
const link = reactive(useLink(props2));
|
|
19162
|
+
const { options } = inject(routerKey);
|
|
19163
|
+
const elClass = computed(() => ({
|
|
19164
|
+
[getLinkClass(props2.activeClass, options.linkActiveClass, "router-link-active")]: link.isActive,
|
|
19165
|
+
// [getLinkClass(
|
|
19166
|
+
// props.inactiveClass,
|
|
19167
|
+
// options.linkInactiveClass,
|
|
19168
|
+
// 'router-link-inactive'
|
|
19169
|
+
// )]: !link.isExactActive,
|
|
19170
|
+
[getLinkClass(props2.exactActiveClass, options.linkExactActiveClass, "router-link-exact-active")]: link.isExactActive
|
|
19171
|
+
}));
|
|
19172
|
+
return () => {
|
|
19173
|
+
const children = slots.default && slots.default(link);
|
|
19174
|
+
return props2.custom ? children : h("a", {
|
|
19175
|
+
"aria-current": link.isExactActive ? props2.ariaCurrentValue : null,
|
|
19176
|
+
href: link.href,
|
|
19177
|
+
// this would override user added attrs but Vue will still add
|
|
19178
|
+
// the listener, so we end up triggering both
|
|
19179
|
+
onClick: link.navigate,
|
|
19180
|
+
class: elClass.value
|
|
19181
|
+
}, children);
|
|
19182
|
+
};
|
|
19183
|
+
}
|
|
19184
|
+
});
|
|
19185
|
+
const RouterLink = RouterLinkImpl;
|
|
19186
|
+
function guardEvent(e) {
|
|
19187
|
+
if (e.metaKey || e.altKey || e.ctrlKey || e.shiftKey)
|
|
19188
|
+
return;
|
|
19189
|
+
if (e.defaultPrevented)
|
|
19190
|
+
return;
|
|
19191
|
+
if (e.button !== void 0 && e.button !== 0)
|
|
19192
|
+
return;
|
|
19193
|
+
if (e.currentTarget && e.currentTarget.getAttribute) {
|
|
19194
|
+
const target = e.currentTarget.getAttribute("target");
|
|
19195
|
+
if (/\b_blank\b/i.test(target))
|
|
19196
|
+
return;
|
|
19197
|
+
}
|
|
19198
|
+
if (e.preventDefault)
|
|
19199
|
+
e.preventDefault();
|
|
19200
|
+
return true;
|
|
19201
|
+
}
|
|
19202
|
+
function includesParams(outer2, inner2) {
|
|
19203
|
+
for (const key in inner2) {
|
|
19204
|
+
const innerValue = inner2[key];
|
|
19205
|
+
const outerValue = outer2[key];
|
|
19206
|
+
if (typeof innerValue === "string") {
|
|
19207
|
+
if (innerValue !== outerValue)
|
|
19208
|
+
return false;
|
|
19209
|
+
} else {
|
|
19210
|
+
if (!isArray(outerValue) || outerValue.length !== innerValue.length || innerValue.some((value, i) => value !== outerValue[i]))
|
|
19211
|
+
return false;
|
|
19212
|
+
}
|
|
19213
|
+
}
|
|
19214
|
+
return true;
|
|
19215
|
+
}
|
|
19216
|
+
function getOriginalPath(record) {
|
|
19217
|
+
return record ? record.aliasOf ? record.aliasOf.path : record.path : "";
|
|
19218
|
+
}
|
|
19219
|
+
const getLinkClass = (propClass, globalClass, defaultClass) => propClass != null ? propClass : globalClass != null ? globalClass : defaultClass;
|
|
19220
|
+
const _hoisted_1$D = /* @__PURE__ */ createBaseVNode("div", { class: "icon-font top-arrow" }, " chevron_right ", -1);
|
|
19010
19221
|
const _hoisted_2$z = [
|
|
19011
|
-
_hoisted_1$
|
|
19222
|
+
_hoisted_1$D
|
|
19012
19223
|
];
|
|
19013
19224
|
const _hoisted_3$v = { class: "full-nav" };
|
|
19014
19225
|
const _hoisted_4$i = { class: "nav-scroll" };
|
|
@@ -19016,7 +19227,7 @@ const _hoisted_5$e = { class: "nav-links-wrapper" };
|
|
|
19016
19227
|
const _hoisted_6$b = { class: "icon-font" };
|
|
19017
19228
|
const _hoisted_7$9 = { class: "tooltip" };
|
|
19018
19229
|
const _hoisted_8$6 = { class: "bot-buttons-wrapper" };
|
|
19019
|
-
const _sfc_main$
|
|
19230
|
+
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
19020
19231
|
__name: "NavBar",
|
|
19021
19232
|
props: {
|
|
19022
19233
|
links: {},
|
|
@@ -19027,7 +19238,6 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
19027
19238
|
setup(__props) {
|
|
19028
19239
|
const isOpen = ref(true);
|
|
19029
19240
|
return (_ctx, _cache) => {
|
|
19030
|
-
const _component_RouterLink = resolveComponent("RouterLink");
|
|
19031
19241
|
return openBlock(), createElementBlock("div", {
|
|
19032
19242
|
class: normalizeClass({ open: isOpen.value, closed: !isOpen.value })
|
|
19033
19243
|
}, [
|
|
@@ -19044,7 +19254,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
19044
19254
|
createBaseVNode("div", _hoisted_4$i, [
|
|
19045
19255
|
createBaseVNode("div", _hoisted_5$e, [
|
|
19046
19256
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.links, (link) => {
|
|
19047
|
-
return openBlock(), createBlock(
|
|
19257
|
+
return openBlock(), createBlock(unref(RouterLink), {
|
|
19048
19258
|
class: "nav-button",
|
|
19049
19259
|
to: link.to,
|
|
19050
19260
|
key: link.label
|
|
@@ -19068,9 +19278,9 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
19068
19278
|
});
|
|
19069
19279
|
const NavBar = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
19070
19280
|
__proto__: null,
|
|
19071
|
-
default: _sfc_main$
|
|
19281
|
+
default: _sfc_main$H
|
|
19072
19282
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
19073
|
-
const _hoisted_1$
|
|
19283
|
+
const _hoisted_1$C = {
|
|
19074
19284
|
key: 0,
|
|
19075
19285
|
class: "loading"
|
|
19076
19286
|
};
|
|
@@ -19078,7 +19288,7 @@ const _hoisted_2$y = {
|
|
|
19078
19288
|
key: 1,
|
|
19079
19289
|
class: "btn-flex"
|
|
19080
19290
|
};
|
|
19081
|
-
const _sfc_main$
|
|
19291
|
+
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
19082
19292
|
__name: "Btn",
|
|
19083
19293
|
props: {
|
|
19084
19294
|
disabled: { type: Boolean, default: false },
|
|
@@ -19114,7 +19324,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
19114
19324
|
})
|
|
19115
19325
|
}, {
|
|
19116
19326
|
default: withCtx(() => [
|
|
19117
|
-
_ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
19327
|
+
_ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_1$C)) : (openBlock(), createElementBlock("div", _hoisted_2$y, [
|
|
19118
19328
|
_ctx.icon ? (openBlock(), createBlock(unref(MaterialIcon), {
|
|
19119
19329
|
key: 0,
|
|
19120
19330
|
icon: _ctx.icon
|
|
@@ -19141,16 +19351,16 @@ const _export_sfc = (sfc, props2) => {
|
|
|
19141
19351
|
}
|
|
19142
19352
|
return target;
|
|
19143
19353
|
};
|
|
19144
|
-
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19354
|
+
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-aec5db19"]]);
|
|
19145
19355
|
const Btn$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
19146
19356
|
__proto__: null,
|
|
19147
19357
|
default: Btn
|
|
19148
19358
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
19149
|
-
const _hoisted_1$
|
|
19359
|
+
const _hoisted_1$B = ["onKeydown"];
|
|
19150
19360
|
const _hoisted_2$x = { class: "tool-bar" };
|
|
19151
19361
|
const _hoisted_3$u = { class: "modal-title" };
|
|
19152
19362
|
const _hoisted_4$h = { class: "modal-footer mt-3" };
|
|
19153
|
-
const _sfc_main$
|
|
19363
|
+
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
19154
19364
|
__name: "Modal",
|
|
19155
19365
|
props: {
|
|
19156
19366
|
side: { type: Boolean },
|
|
@@ -19200,16 +19410,16 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
19200
19410
|
renderSlot(_ctx.$slots, "footer")
|
|
19201
19411
|
])
|
|
19202
19412
|
])
|
|
19203
|
-
], 42, _hoisted_1$
|
|
19413
|
+
], 42, _hoisted_1$B);
|
|
19204
19414
|
};
|
|
19205
19415
|
}
|
|
19206
19416
|
});
|
|
19207
19417
|
const Modal = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
19208
19418
|
__proto__: null,
|
|
19209
|
-
default: _sfc_main$
|
|
19419
|
+
default: _sfc_main$F
|
|
19210
19420
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
19211
19421
|
const _withScopeId$2 = (n) => (pushScopeId("data-v-f7af54ed"), n = n(), popScopeId(), n);
|
|
19212
|
-
const _hoisted_1$
|
|
19422
|
+
const _hoisted_1$A = { class: "bar-chart" };
|
|
19213
19423
|
const _hoisted_2$w = {
|
|
19214
19424
|
key: 0,
|
|
19215
19425
|
class: "group-wrap"
|
|
@@ -19223,7 +19433,7 @@ const _hoisted_5$d = { class: "bar-txt" };
|
|
|
19223
19433
|
const _hoisted_6$a = { class: "factor" };
|
|
19224
19434
|
const _hoisted_7$8 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createBaseVNode("div", { class: "red-bar" }, null, -1));
|
|
19225
19435
|
const _hoisted_8$5 = { class: "bar-lines" };
|
|
19226
|
-
const _sfc_main$
|
|
19436
|
+
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
19227
19437
|
__name: "BarChart",
|
|
19228
19438
|
props: {
|
|
19229
19439
|
title: {},
|
|
@@ -19273,7 +19483,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
19273
19483
|
const percent = (val) => val / maxValue.value * 100;
|
|
19274
19484
|
const floodPercent = computed(() => `${props2.flood}%`);
|
|
19275
19485
|
return (_ctx, _cache) => {
|
|
19276
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
19486
|
+
return openBlock(), createElementBlock("div", _hoisted_1$A, [
|
|
19277
19487
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(dataArray.value, (item, i) => {
|
|
19278
19488
|
return openBlock(), createElementBlock("div", {
|
|
19279
19489
|
class: "graph-wrap",
|
|
@@ -19324,15 +19534,15 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
19324
19534
|
};
|
|
19325
19535
|
}
|
|
19326
19536
|
});
|
|
19327
|
-
const BarChart = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19537
|
+
const BarChart = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-f7af54ed"]]);
|
|
19328
19538
|
const BarChart$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
19329
19539
|
__proto__: null,
|
|
19330
19540
|
default: BarChart
|
|
19331
19541
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
19332
|
-
const _hoisted_1$
|
|
19542
|
+
const _hoisted_1$z = { class: "dropdown-title" };
|
|
19333
19543
|
const _hoisted_2$v = { class: "dropdown-body" };
|
|
19334
19544
|
const _hoisted_3$s = ["onClick"];
|
|
19335
|
-
const _sfc_main$
|
|
19545
|
+
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
19336
19546
|
__name: "DropDown",
|
|
19337
19547
|
props: {
|
|
19338
19548
|
modelValue: String,
|
|
@@ -19358,7 +19568,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
19358
19568
|
class: normalizeClass(["dropdown", { opendrop: isOpen.value }]),
|
|
19359
19569
|
onClick: toggleDropdown
|
|
19360
19570
|
}, [
|
|
19361
|
-
createBaseVNode("div", _hoisted_1$
|
|
19571
|
+
createBaseVNode("div", _hoisted_1$z, [
|
|
19362
19572
|
createTextVNode(toDisplayString(selectedOption.value || __props.placeholder) + " ", 1),
|
|
19363
19573
|
createVNode(unref(MaterialIcon), { icon: "keyboard_arrow_down" })
|
|
19364
19574
|
]),
|
|
@@ -19376,8 +19586,28 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
19376
19586
|
});
|
|
19377
19587
|
const DropDown = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
19378
19588
|
__proto__: null,
|
|
19379
|
-
default: _sfc_main$
|
|
19589
|
+
default: _sfc_main$D
|
|
19380
19590
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
19591
|
+
function formatString(str, format) {
|
|
19592
|
+
if (format === "titleCase") {
|
|
19593
|
+
return str.split("_").map((word) => word[0].toUpperCase() + word.slice(1).toLocaleLowerCase()).join(" ");
|
|
19594
|
+
}
|
|
19595
|
+
if (format === "pascal") {
|
|
19596
|
+
return str.split("_").map((word) => word[0].toUpperCase() + word.slice(1).toLocaleLowerCase()).join("");
|
|
19597
|
+
}
|
|
19598
|
+
if (format === "camel") {
|
|
19599
|
+
return str.split("_").map((word, index2) => index2 === 0 ? word : word[0].toUpperCase() + word.slice(1)).join("");
|
|
19600
|
+
}
|
|
19601
|
+
if (format === "snake") {
|
|
19602
|
+
return str.split("").map((letter) => {
|
|
19603
|
+
if (letter === letter.toUpperCase()) {
|
|
19604
|
+
return `_${letter.toLowerCase()}`;
|
|
19605
|
+
}
|
|
19606
|
+
return letter;
|
|
19607
|
+
}).join("");
|
|
19608
|
+
}
|
|
19609
|
+
return str;
|
|
19610
|
+
}
|
|
19381
19611
|
let timeout;
|
|
19382
19612
|
const debounce = (fn, delay = 500) => {
|
|
19383
19613
|
clearTimeout(timeout);
|
|
@@ -19420,7 +19650,7 @@ const parseLocale = (str, $t = (_str) => _str) => {
|
|
|
19420
19650
|
return str;
|
|
19421
19651
|
return $t(w);
|
|
19422
19652
|
};
|
|
19423
|
-
const _hoisted_1$
|
|
19653
|
+
const _hoisted_1$y = { class: "card list-view grid thin" };
|
|
19424
19654
|
const _hoisted_2$u = { class: "list-header flex gap-3 align-items-top" };
|
|
19425
19655
|
const _hoisted_3$r = {
|
|
19426
19656
|
key: 0,
|
|
@@ -19428,7 +19658,7 @@ const _hoisted_3$r = {
|
|
|
19428
19658
|
};
|
|
19429
19659
|
const _hoisted_4$f = ["placeholder"];
|
|
19430
19660
|
const _hoisted_5$c = { class: "list-content grid auto-flow-rows align-items-start" };
|
|
19431
|
-
const _sfc_main$
|
|
19661
|
+
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
19432
19662
|
__name: "ListView",
|
|
19433
19663
|
props: {
|
|
19434
19664
|
enableAdd: { type: Boolean },
|
|
@@ -19445,7 +19675,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
19445
19675
|
debounce(() => emit2("debounce", searchTerm.value));
|
|
19446
19676
|
};
|
|
19447
19677
|
return (_ctx, _cache) => {
|
|
19448
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
19678
|
+
return openBlock(), createElementBlock("div", _hoisted_1$y, [
|
|
19449
19679
|
createBaseVNode("div", _hoisted_2$u, [
|
|
19450
19680
|
_ctx.enableSearch ? (openBlock(), createElementBlock("div", _hoisted_3$r, [
|
|
19451
19681
|
withDirectives(createBaseVNode("input", {
|
|
@@ -19476,11 +19706,11 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
19476
19706
|
});
|
|
19477
19707
|
const ListView = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
19478
19708
|
__proto__: null,
|
|
19479
|
-
default: _sfc_main$
|
|
19709
|
+
default: _sfc_main$C
|
|
19480
19710
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
19481
|
-
const _hoisted_1$
|
|
19711
|
+
const _hoisted_1$x = { class: "txt16 no-margin" };
|
|
19482
19712
|
const _hoisted_2$t = { class: "txt14 no-margin txtgray" };
|
|
19483
|
-
const _sfc_main$
|
|
19713
|
+
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
19484
19714
|
__name: "ListItem",
|
|
19485
19715
|
props: {
|
|
19486
19716
|
to: {}
|
|
@@ -19492,7 +19722,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
19492
19722
|
class: "list-item ellipsis"
|
|
19493
19723
|
}, {
|
|
19494
19724
|
default: withCtx(() => [
|
|
19495
|
-
createBaseVNode("p", _hoisted_1$
|
|
19725
|
+
createBaseVNode("p", _hoisted_1$x, [
|
|
19496
19726
|
renderSlot(_ctx.$slots, "default")
|
|
19497
19727
|
]),
|
|
19498
19728
|
createBaseVNode("p", _hoisted_2$t, [
|
|
@@ -19506,13 +19736,13 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
19506
19736
|
});
|
|
19507
19737
|
const ListItem = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
19508
19738
|
__proto__: null,
|
|
19509
|
-
default: _sfc_main$
|
|
19739
|
+
default: _sfc_main$B
|
|
19510
19740
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
19511
|
-
const _hoisted_1$
|
|
19741
|
+
const _hoisted_1$w = { class: "h-100 grid list-view gap-3" };
|
|
19512
19742
|
const _hoisted_2$s = { class: "card tabs-top" };
|
|
19513
19743
|
const _hoisted_3$q = { class: "tabs grid auto-flow-columns fit-content" };
|
|
19514
19744
|
const _hoisted_4$e = ["onClick"];
|
|
19515
|
-
const _sfc_main$
|
|
19745
|
+
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
19516
19746
|
__name: "TabbedLayout",
|
|
19517
19747
|
props: {
|
|
19518
19748
|
title: {},
|
|
@@ -19540,7 +19770,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
19540
19770
|
activeTab.value = firstTab;
|
|
19541
19771
|
});
|
|
19542
19772
|
return (_ctx, _cache) => {
|
|
19543
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
19773
|
+
return openBlock(), createElementBlock("div", _hoisted_1$w, [
|
|
19544
19774
|
createBaseVNode("div", _hoisted_2$s, [
|
|
19545
19775
|
renderSlot(_ctx.$slots, "top-section", {}, void 0, true),
|
|
19546
19776
|
createBaseVNode("div", _hoisted_3$q, [
|
|
@@ -19567,12 +19797,12 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
19567
19797
|
};
|
|
19568
19798
|
}
|
|
19569
19799
|
});
|
|
19570
|
-
const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19800
|
+
const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-4ac29f1d"]]);
|
|
19571
19801
|
const TabbedLayout$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
19572
19802
|
__proto__: null,
|
|
19573
19803
|
default: TabbedLayout
|
|
19574
19804
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
19575
|
-
const _hoisted_1$
|
|
19805
|
+
const _hoisted_1$v = { class: "comments-wrap" };
|
|
19576
19806
|
const _hoisted_2$r = { class: "comment-list" };
|
|
19577
19807
|
const _hoisted_3$p = { class: "comment-top" };
|
|
19578
19808
|
const _hoisted_4$d = { class: "comment-owner" };
|
|
@@ -19580,7 +19810,7 @@ const _hoisted_5$b = { class: "comment-time" };
|
|
|
19580
19810
|
const _hoisted_6$9 = { class: "comment-actions" };
|
|
19581
19811
|
const _hoisted_7$7 = ["innerHTML"];
|
|
19582
19812
|
const _hoisted_8$4 = { class: "new-comment" };
|
|
19583
|
-
const _sfc_main$
|
|
19813
|
+
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
19584
19814
|
__name: "Comments",
|
|
19585
19815
|
props: {
|
|
19586
19816
|
ref_table: {},
|
|
@@ -19625,7 +19855,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
19625
19855
|
void fetchData();
|
|
19626
19856
|
};
|
|
19627
19857
|
return (_ctx, _cache) => {
|
|
19628
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
19858
|
+
return openBlock(), createElementBlock("div", _hoisted_1$v, [
|
|
19629
19859
|
createBaseVNode("div", _hoisted_2$r, [
|
|
19630
19860
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(comments), (comment) => {
|
|
19631
19861
|
var _a, _b, _c;
|
|
@@ -19694,14 +19924,14 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
19694
19924
|
};
|
|
19695
19925
|
}
|
|
19696
19926
|
});
|
|
19697
|
-
const Comments = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19927
|
+
const Comments = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-7736e5b9"]]);
|
|
19698
19928
|
const Comments$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
19699
19929
|
__proto__: null,
|
|
19700
19930
|
default: Comments
|
|
19701
19931
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
19702
|
-
const _hoisted_1$
|
|
19932
|
+
const _hoisted_1$u = { class: "page-top" };
|
|
19703
19933
|
const _hoisted_2$q = { class: "top-title" };
|
|
19704
|
-
const _sfc_main$
|
|
19934
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
19705
19935
|
__name: "PageTitle",
|
|
19706
19936
|
props: {
|
|
19707
19937
|
value: {
|
|
@@ -19711,7 +19941,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
19711
19941
|
},
|
|
19712
19942
|
setup(__props) {
|
|
19713
19943
|
return (_ctx, _cache) => {
|
|
19714
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
19944
|
+
return openBlock(), createElementBlock("div", _hoisted_1$u, [
|
|
19715
19945
|
createBaseVNode("h1", _hoisted_2$q, [
|
|
19716
19946
|
renderSlot(_ctx.$slots, "default"),
|
|
19717
19947
|
createTextVNode(" " + toDisplayString(__props.value), 1)
|
|
@@ -19722,12 +19952,12 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
19722
19952
|
});
|
|
19723
19953
|
const PageTitle = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
19724
19954
|
__proto__: null,
|
|
19725
|
-
default: _sfc_main$
|
|
19955
|
+
default: _sfc_main$y
|
|
19726
19956
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
19727
|
-
const _hoisted_1$
|
|
19957
|
+
const _hoisted_1$t = ["onKeydown"];
|
|
19728
19958
|
const _hoisted_2$p = { class: "tool-bar" };
|
|
19729
19959
|
const _hoisted_3$o = { class: "modal-title" };
|
|
19730
|
-
const _sfc_main$
|
|
19960
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
19731
19961
|
__name: "ModalForm",
|
|
19732
19962
|
props: {
|
|
19733
19963
|
side: { type: Boolean },
|
|
@@ -19807,19 +20037,19 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
19807
20037
|
schema: computedFormSchema.value
|
|
19808
20038
|
}, null, 8, ["onDelete", "modelValue", "schema"])
|
|
19809
20039
|
])
|
|
19810
|
-
], 42, _hoisted_1$
|
|
20040
|
+
], 42, _hoisted_1$t);
|
|
19811
20041
|
};
|
|
19812
20042
|
}
|
|
19813
20043
|
});
|
|
19814
|
-
const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20044
|
+
const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-58e23976"]]);
|
|
19815
20045
|
const ModalForm$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
19816
20046
|
__proto__: null,
|
|
19817
20047
|
default: ModalForm
|
|
19818
20048
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
19819
|
-
const _hoisted_1$
|
|
20049
|
+
const _hoisted_1$s = ["title"];
|
|
19820
20050
|
const _hoisted_2$o = ["for"];
|
|
19821
20051
|
const _hoisted_3$n = ["id", "placeholder", "required", "pattern"];
|
|
19822
|
-
const _sfc_main$
|
|
20052
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
19823
20053
|
__name: "TextInput",
|
|
19824
20054
|
props: {
|
|
19825
20055
|
id: {},
|
|
@@ -19872,15 +20102,15 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
19872
20102
|
[vModelText, unref(inputVal)]
|
|
19873
20103
|
])
|
|
19874
20104
|
], 8, _hoisted_2$o)
|
|
19875
|
-
], 10, _hoisted_1$
|
|
20105
|
+
], 10, _hoisted_1$s);
|
|
19876
20106
|
};
|
|
19877
20107
|
}
|
|
19878
20108
|
});
|
|
19879
20109
|
const TextInput = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
19880
20110
|
__proto__: null,
|
|
19881
|
-
default: _sfc_main$
|
|
20111
|
+
default: _sfc_main$w
|
|
19882
20112
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
19883
|
-
const _hoisted_1$
|
|
20113
|
+
const _hoisted_1$r = {
|
|
19884
20114
|
key: 0,
|
|
19885
20115
|
class: "data"
|
|
19886
20116
|
};
|
|
@@ -19892,7 +20122,7 @@ const _hoisted_3$m = { class: "key" };
|
|
|
19892
20122
|
const _hoisted_4$c = { key: 1 };
|
|
19893
20123
|
const _hoisted_5$a = { class: "key" };
|
|
19894
20124
|
const _hoisted_6$8 = { class: "vlue" };
|
|
19895
|
-
const _sfc_main$
|
|
20125
|
+
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
19896
20126
|
__name: "DataPreview",
|
|
19897
20127
|
props: {
|
|
19898
20128
|
data: {},
|
|
@@ -19904,7 +20134,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
19904
20134
|
const keysToIgnore = ["id", "person_id", "person", "created_at", "updated_at"];
|
|
19905
20135
|
return (_ctx, _cache) => {
|
|
19906
20136
|
var _a;
|
|
19907
|
-
return _ctx.data ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
20137
|
+
return _ctx.data ? (openBlock(), createElementBlock("div", _hoisted_1$r, [
|
|
19908
20138
|
_ctx.title ? (openBlock(), createElementBlock("h3", _hoisted_2$n, toDisplayString(_ctx.title), 1)) : createCommentVNode("", true),
|
|
19909
20139
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.schema || [], (field) => {
|
|
19910
20140
|
return openBlock(), createElementBlock("div", {
|
|
@@ -19938,12 +20168,12 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
19938
20168
|
};
|
|
19939
20169
|
}
|
|
19940
20170
|
});
|
|
19941
|
-
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20171
|
+
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-db194f6c"]]);
|
|
19942
20172
|
const DataPreview$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
19943
20173
|
__proto__: null,
|
|
19944
20174
|
default: DataPreview
|
|
19945
20175
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
19946
|
-
const _sfc_main$
|
|
20176
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
19947
20177
|
__name: "FormSchema",
|
|
19948
20178
|
props: {
|
|
19949
20179
|
modelValue: {},
|
|
@@ -20016,14 +20246,14 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
20016
20246
|
};
|
|
20017
20247
|
}
|
|
20018
20248
|
});
|
|
20019
|
-
const _hoisted_1$
|
|
20249
|
+
const _hoisted_1$q = { class: "table-list-wrap h-100" };
|
|
20020
20250
|
const _hoisted_2$m = { class: "infinite-wrapper" };
|
|
20021
20251
|
const _hoisted_3$l = { class: "row first-row" };
|
|
20022
20252
|
const _hoisted_4$b = ["onClick"];
|
|
20023
20253
|
const _hoisted_5$9 = { class: "flex" };
|
|
20024
20254
|
const _hoisted_6$7 = ["onClick"];
|
|
20025
20255
|
const _hoisted_7$6 = { key: 1 };
|
|
20026
|
-
const _sfc_main$
|
|
20256
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
20027
20257
|
__name: "TableSchema",
|
|
20028
20258
|
props: {
|
|
20029
20259
|
data: {},
|
|
@@ -20070,7 +20300,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
20070
20300
|
}))
|
|
20071
20301
|
);
|
|
20072
20302
|
return (_ctx, _cache) => {
|
|
20073
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
20303
|
+
return openBlock(), createElementBlock("div", _hoisted_1$q, [
|
|
20074
20304
|
createBaseVNode("table", _hoisted_2$m, [
|
|
20075
20305
|
createBaseVNode("thead", _hoisted_3$l, [
|
|
20076
20306
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(columns.value, (field) => {
|
|
@@ -20136,24 +20366,24 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
20136
20366
|
};
|
|
20137
20367
|
}
|
|
20138
20368
|
});
|
|
20139
|
-
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20369
|
+
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-cb4dabf7"]]);
|
|
20140
20370
|
const TableSchema$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
20141
20371
|
__proto__: null,
|
|
20142
20372
|
default: TableSchema
|
|
20143
20373
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
20144
|
-
const _sfc_main$
|
|
20145
|
-
const _hoisted_1$
|
|
20374
|
+
const _sfc_main$s = {};
|
|
20375
|
+
const _hoisted_1$p = { class: "flex space-between" };
|
|
20146
20376
|
function _sfc_render$1(_ctx, _cache) {
|
|
20147
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
20377
|
+
return openBlock(), createElementBlock("div", _hoisted_1$p, [
|
|
20148
20378
|
renderSlot(_ctx.$slots, "default")
|
|
20149
20379
|
]);
|
|
20150
20380
|
}
|
|
20151
|
-
const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20381
|
+
const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$1]]);
|
|
20152
20382
|
const TopBar$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
20153
20383
|
__proto__: null,
|
|
20154
20384
|
default: TopBar
|
|
20155
20385
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
20156
|
-
const _sfc_main$
|
|
20386
|
+
const _sfc_main$r = {};
|
|
20157
20387
|
function _sfc_render(_ctx, _cache) {
|
|
20158
20388
|
const _component_router_view = resolveComponent("router-view");
|
|
20159
20389
|
return openBlock(), createBlock(_component_router_view, null, {
|
|
@@ -20175,13 +20405,13 @@ function _sfc_render(_ctx, _cache) {
|
|
|
20175
20405
|
_: 1
|
|
20176
20406
|
});
|
|
20177
20407
|
}
|
|
20178
|
-
const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20408
|
+
const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render]]);
|
|
20179
20409
|
const RouterWrapper$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
20180
20410
|
__proto__: null,
|
|
20181
20411
|
default: RouterWrapper
|
|
20182
20412
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
20183
|
-
const _hoisted_1$
|
|
20184
|
-
const _sfc_main$
|
|
20413
|
+
const _hoisted_1$o = { class: "card h-100 thin" };
|
|
20414
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
20185
20415
|
__name: "ContactSubmissions",
|
|
20186
20416
|
props: {
|
|
20187
20417
|
person_id: {
|
|
@@ -20211,7 +20441,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
20211
20441
|
void getData();
|
|
20212
20442
|
});
|
|
20213
20443
|
return (_ctx, _cache) => {
|
|
20214
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
20444
|
+
return openBlock(), createElementBlock("div", _hoisted_1$o, [
|
|
20215
20445
|
createVNode(unref(TableSchema$1), {
|
|
20216
20446
|
schema: schema2,
|
|
20217
20447
|
data: unref(data)
|
|
@@ -20222,7 +20452,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
20222
20452
|
});
|
|
20223
20453
|
const ContactSubmissions = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
20224
20454
|
__proto__: null,
|
|
20225
|
-
default: _sfc_main$
|
|
20455
|
+
default: _sfc_main$q
|
|
20226
20456
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
20227
20457
|
const ModalSymbol = Symbol("modal");
|
|
20228
20458
|
const useModal = () => {
|
|
@@ -21528,8 +21758,8 @@ function createInput(schemaOrComponent, definitionOptions = {}) {
|
|
|
21528
21758
|
}
|
|
21529
21759
|
return definition;
|
|
21530
21760
|
}
|
|
21531
|
-
const _hoisted_1$
|
|
21532
|
-
const _sfc_main$
|
|
21761
|
+
const _hoisted_1$n = { class: "primary-checkbox" };
|
|
21762
|
+
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
21533
21763
|
__name: "Checkbox",
|
|
21534
21764
|
props: {
|
|
21535
21765
|
modelValue: Boolean
|
|
@@ -21553,7 +21783,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
21553
21783
|
(v) => emits("update:modelValue", v)
|
|
21554
21784
|
);
|
|
21555
21785
|
return (_ctx, _cache) => {
|
|
21556
|
-
return openBlock(), createElementBlock("label", _hoisted_1$
|
|
21786
|
+
return openBlock(), createElementBlock("label", _hoisted_1$n, [
|
|
21557
21787
|
withDirectives(createBaseVNode("input", {
|
|
21558
21788
|
type: "checkbox",
|
|
21559
21789
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(val) ? val.value = $event : val = $event)
|
|
@@ -21567,8 +21797,8 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
21567
21797
|
};
|
|
21568
21798
|
}
|
|
21569
21799
|
});
|
|
21570
|
-
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
21571
|
-
const _hoisted_1$
|
|
21800
|
+
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-19e44daf"]]);
|
|
21801
|
+
const _hoisted_1$m = { class: "bagel-input" };
|
|
21572
21802
|
const _hoisted_2$l = { class: "mt-1" };
|
|
21573
21803
|
const _hoisted_3$k = {
|
|
21574
21804
|
key: 0,
|
|
@@ -21578,7 +21808,7 @@ const _hoisted_4$a = { class: "txt14" };
|
|
|
21578
21808
|
const _hoisted_5$8 = ["onUpdate:modelValue", "placeholder"];
|
|
21579
21809
|
const _hoisted_6$6 = ["onUpdate:modelValue", "placeholder"];
|
|
21580
21810
|
const _hoisted_7$5 = ["onUpdate:modelValue", "placeholder"];
|
|
21581
|
-
const _sfc_main$
|
|
21811
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
21582
21812
|
__name: "ContactArrayFormKit",
|
|
21583
21813
|
props: {
|
|
21584
21814
|
context: {},
|
|
@@ -21626,7 +21856,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
21626
21856
|
}
|
|
21627
21857
|
);
|
|
21628
21858
|
return (_ctx, _cache) => {
|
|
21629
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
21859
|
+
return openBlock(), createElementBlock("div", _hoisted_1$m, [
|
|
21630
21860
|
createBaseVNode("div", _hoisted_2$l, [
|
|
21631
21861
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(val), (contact, i) => {
|
|
21632
21862
|
var _a, _b;
|
|
@@ -21713,8 +21943,8 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
21713
21943
|
};
|
|
21714
21944
|
}
|
|
21715
21945
|
});
|
|
21716
|
-
const ContactArrayFormKit = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
21717
|
-
const _hoisted_1$
|
|
21946
|
+
const ContactArrayFormKit = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-c078d5ac"]]);
|
|
21947
|
+
const _hoisted_1$l = { class: "bagel-input" };
|
|
21718
21948
|
const _hoisted_2$k = { class: "mt-1" };
|
|
21719
21949
|
const _hoisted_3$j = {
|
|
21720
21950
|
key: 0,
|
|
@@ -21729,7 +21959,7 @@ const _hoisted_9$3 = ["onUpdate:modelValue", "placeholder"];
|
|
|
21729
21959
|
const _hoisted_10$2 = ["onUpdate:modelValue", "placeholder"];
|
|
21730
21960
|
const _hoisted_11$1 = ["onUpdate:modelValue", "placeholder"];
|
|
21731
21961
|
const _hoisted_12$1 = { class: "bglform-address-del" };
|
|
21732
|
-
const _sfc_main$
|
|
21962
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
21733
21963
|
__name: "AddressArray",
|
|
21734
21964
|
props: {
|
|
21735
21965
|
context: {},
|
|
@@ -21783,7 +22013,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
21783
22013
|
}
|
|
21784
22014
|
);
|
|
21785
22015
|
return (_ctx, _cache) => {
|
|
21786
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
22016
|
+
return openBlock(), createElementBlock("div", _hoisted_1$l, [
|
|
21787
22017
|
createBaseVNode("div", _hoisted_2$k, [
|
|
21788
22018
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(val), (address, i) => {
|
|
21789
22019
|
return openBlock(), createElementBlock("div", {
|
|
@@ -21886,8 +22116,8 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
21886
22116
|
};
|
|
21887
22117
|
}
|
|
21888
22118
|
});
|
|
21889
|
-
const AddressArray = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
21890
|
-
const _hoisted_1$
|
|
22119
|
+
const AddressArray = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-f3464e6e"]]);
|
|
22120
|
+
const _hoisted_1$k = { class: "bagel-input" };
|
|
21891
22121
|
const _hoisted_2$j = { class: "mt-1" };
|
|
21892
22122
|
const _hoisted_3$i = {
|
|
21893
22123
|
key: 0,
|
|
@@ -21907,7 +22137,7 @@ const _hoisted_14 = ["onUpdate:modelValue"];
|
|
|
21907
22137
|
const _hoisted_15 = ["onUpdate:modelValue"];
|
|
21908
22138
|
const _hoisted_16 = ["onUpdate:modelValue", "placeholder"];
|
|
21909
22139
|
const _hoisted_17 = { class: "bglform-address-del" };
|
|
21910
|
-
const _sfc_main$
|
|
22140
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
21911
22141
|
__name: "BankDetailsArray",
|
|
21912
22142
|
props: {
|
|
21913
22143
|
context: {},
|
|
@@ -21955,7 +22185,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
21955
22185
|
}
|
|
21956
22186
|
);
|
|
21957
22187
|
return (_ctx, _cache) => {
|
|
21958
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
22188
|
+
return openBlock(), createElementBlock("div", _hoisted_1$k, [
|
|
21959
22189
|
createBaseVNode("div", _hoisted_2$j, [
|
|
21960
22190
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(val), (bank_account, i) => {
|
|
21961
22191
|
return openBlock(), createElementBlock("div", {
|
|
@@ -22092,9 +22322,9 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
22092
22322
|
};
|
|
22093
22323
|
}
|
|
22094
22324
|
});
|
|
22095
|
-
const BankDetailsArray = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22096
|
-
const _hoisted_1$
|
|
22097
|
-
const _sfc_main$
|
|
22325
|
+
const BankDetailsArray = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-962f5ddb"]]);
|
|
22326
|
+
const _hoisted_1$j = { class: "misc-wrap" };
|
|
22327
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
22098
22328
|
__name: "MiscFields",
|
|
22099
22329
|
props: {
|
|
22100
22330
|
context: {},
|
|
@@ -22111,7 +22341,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
22111
22341
|
console.log(fields.value);
|
|
22112
22342
|
};
|
|
22113
22343
|
return (_ctx, _cache) => {
|
|
22114
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
22344
|
+
return openBlock(), createElementBlock("div", _hoisted_1$j, [
|
|
22115
22345
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(fields.value.filter(
|
|
22116
22346
|
(field) => {
|
|
22117
22347
|
var _a;
|
|
@@ -22139,13 +22369,13 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
22139
22369
|
};
|
|
22140
22370
|
}
|
|
22141
22371
|
});
|
|
22142
|
-
const MiscFieldsBtns = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22372
|
+
const MiscFieldsBtns = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-6f2d6ed0"]]);
|
|
22143
22373
|
const _withScopeId$1 = (n) => (pushScopeId("data-v-d12598ff"), n = n(), popScopeId(), n);
|
|
22144
|
-
const _hoisted_1$
|
|
22374
|
+
const _hoisted_1$i = ["title"];
|
|
22145
22375
|
const _hoisted_2$i = { class: "switch" };
|
|
22146
22376
|
const _hoisted_3$h = ["id"];
|
|
22147
22377
|
const _hoisted_4$7 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createBaseVNode("span", { class: "slider round" }, null, -1));
|
|
22148
|
-
const _sfc_main$
|
|
22378
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
22149
22379
|
__name: "Toggle",
|
|
22150
22380
|
props: {
|
|
22151
22381
|
context: Object
|
|
@@ -22183,12 +22413,12 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
22183
22413
|
]),
|
|
22184
22414
|
_hoisted_4$7
|
|
22185
22415
|
])
|
|
22186
|
-
], 10, _hoisted_1$
|
|
22416
|
+
], 10, _hoisted_1$i);
|
|
22187
22417
|
};
|
|
22188
22418
|
}
|
|
22189
22419
|
});
|
|
22190
|
-
const Toggle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22191
|
-
const _hoisted_1$
|
|
22420
|
+
const Toggle = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-d12598ff"]]);
|
|
22421
|
+
const _hoisted_1$h = { class: "files-wrapper flex" };
|
|
22192
22422
|
const _hoisted_2$h = ["onDrop"];
|
|
22193
22423
|
const _hoisted_3$g = {
|
|
22194
22424
|
key: 0,
|
|
@@ -22203,7 +22433,7 @@ const _hoisted_8$1 = {
|
|
|
22203
22433
|
class: "progress"
|
|
22204
22434
|
};
|
|
22205
22435
|
const _hoisted_9$1 = ["multiple"];
|
|
22206
|
-
const _sfc_main$
|
|
22436
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
22207
22437
|
__name: "FileUploader",
|
|
22208
22438
|
props: {
|
|
22209
22439
|
context: {},
|
|
@@ -22328,7 +22558,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
22328
22558
|
}
|
|
22329
22559
|
return (_ctx, _cache) => {
|
|
22330
22560
|
var _a;
|
|
22331
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
22561
|
+
return openBlock(), createElementBlock("div", _hoisted_1$h, [
|
|
22332
22562
|
createBaseVNode("div", {
|
|
22333
22563
|
ref_key: "dropZoneEl",
|
|
22334
22564
|
ref: dropZoneEl,
|
|
@@ -22405,7 +22635,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
22405
22635
|
};
|
|
22406
22636
|
}
|
|
22407
22637
|
});
|
|
22408
|
-
const _hoisted_1$
|
|
22638
|
+
const _hoisted_1$g = {
|
|
22409
22639
|
key: 0,
|
|
22410
22640
|
class: "person-card-edit flex gap-2"
|
|
22411
22641
|
};
|
|
@@ -22427,7 +22657,7 @@ const _hoisted_8 = {
|
|
|
22427
22657
|
};
|
|
22428
22658
|
const _hoisted_9 = { key: 0 };
|
|
22429
22659
|
const _hoisted_10 = { key: 1 };
|
|
22430
|
-
const _sfc_main$
|
|
22660
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
22431
22661
|
__name: "PersonPreviewFormkit",
|
|
22432
22662
|
props: {
|
|
22433
22663
|
context: {},
|
|
@@ -22458,7 +22688,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
22458
22688
|
(...args) => _ctx.onClick && _ctx.onClick(...args)),
|
|
22459
22689
|
class: "person-card"
|
|
22460
22690
|
}, [
|
|
22461
|
-
!_ctx.onClick ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
22691
|
+
!_ctx.onClick ? (openBlock(), createElementBlock("div", _hoisted_1$g, [
|
|
22462
22692
|
!_ctx.$route.path.match("/search") ? (openBlock(), createBlock(unref(Btn$1), {
|
|
22463
22693
|
key: 0,
|
|
22464
22694
|
onClick: unref(hideModal),
|
|
@@ -22507,7 +22737,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
22507
22737
|
};
|
|
22508
22738
|
}
|
|
22509
22739
|
});
|
|
22510
|
-
const _sfc_main$
|
|
22740
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
22511
22741
|
__name: "TextVariableExamples",
|
|
22512
22742
|
props: {
|
|
22513
22743
|
context: Object
|
|
@@ -22599,16 +22829,16 @@ const Address = createInput(AddressArray);
|
|
|
22599
22829
|
const BankDetails = createInput(BankDetailsArray);
|
|
22600
22830
|
const MiscFields = createInput(MiscFieldsBtns);
|
|
22601
22831
|
const ToggleSwitch = createInput(Toggle);
|
|
22602
|
-
const FileUpload = createInput(_sfc_main$
|
|
22603
|
-
const TextVariables = createInput(_sfc_main$
|
|
22604
|
-
const PersonPreview = createInput(_sfc_main$
|
|
22605
|
-
const _withScopeId = (n) => (pushScopeId("data-v-
|
|
22606
|
-
const _hoisted_1$
|
|
22832
|
+
const FileUpload = createInput(_sfc_main$j);
|
|
22833
|
+
const TextVariables = createInput(_sfc_main$h);
|
|
22834
|
+
const PersonPreview = createInput(_sfc_main$i);
|
|
22835
|
+
const _withScopeId = (n) => (pushScopeId("data-v-590e33ed"), n = n(), popScopeId(), n);
|
|
22836
|
+
const _hoisted_1$f = ["title"];
|
|
22607
22837
|
const _hoisted_2$f = ["for"];
|
|
22608
22838
|
const _hoisted_3$e = { class: "switch" };
|
|
22609
22839
|
const _hoisted_4$4 = ["id"];
|
|
22610
22840
|
const _hoisted_5$3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createBaseVNode("span", { class: "slider round" }, null, -1));
|
|
22611
|
-
const _sfc_main$
|
|
22841
|
+
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
22612
22842
|
__name: "CheckInput",
|
|
22613
22843
|
props: {
|
|
22614
22844
|
field: {},
|
|
@@ -22653,21 +22883,21 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
22653
22883
|
]),
|
|
22654
22884
|
_hoisted_5$3
|
|
22655
22885
|
])
|
|
22656
|
-
], 10, _hoisted_1$
|
|
22886
|
+
], 10, _hoisted_1$f);
|
|
22657
22887
|
};
|
|
22658
22888
|
}
|
|
22659
22889
|
});
|
|
22660
|
-
const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22890
|
+
const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-590e33ed"]]);
|
|
22661
22891
|
const CheckInput$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
22662
22892
|
__proto__: null,
|
|
22663
22893
|
default: CheckInput
|
|
22664
22894
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
22665
|
-
const _hoisted_1$
|
|
22895
|
+
const _hoisted_1$e = ["title"];
|
|
22666
22896
|
const _hoisted_2$e = { key: 0 };
|
|
22667
22897
|
const _hoisted_3$d = { class: "flex gap-3" };
|
|
22668
22898
|
const _hoisted_4$3 = ["value", "placeholder"];
|
|
22669
22899
|
const _hoisted_5$2 = { class: "currency" };
|
|
22670
|
-
const _sfc_main$
|
|
22900
|
+
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
22671
22901
|
__name: "CurrencyInput",
|
|
22672
22902
|
props: {
|
|
22673
22903
|
field: {},
|
|
@@ -22779,19 +23009,19 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
22779
23009
|
}, null, 42, _hoisted_4$3),
|
|
22780
23010
|
createBaseVNode("p", _hoisted_5$2, toDisplayString(((_a = currencies.find((c) => c.symbol === _ctx.field.currency)) == null ? void 0 : _a.character) || _ctx.field.currency), 1)
|
|
22781
23011
|
])
|
|
22782
|
-
], 10, _hoisted_1$
|
|
23012
|
+
], 10, _hoisted_1$e);
|
|
22783
23013
|
};
|
|
22784
23014
|
}
|
|
22785
23015
|
});
|
|
22786
|
-
const CurrencyInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
23016
|
+
const CurrencyInput = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-fb02d200"]]);
|
|
22787
23017
|
const CurrencyInput$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
22788
23018
|
__proto__: null,
|
|
22789
23019
|
default: CurrencyInput
|
|
22790
23020
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
22791
|
-
const _hoisted_1$
|
|
23021
|
+
const _hoisted_1$d = ["title"];
|
|
22792
23022
|
const _hoisted_2$d = { key: 0 };
|
|
22793
23023
|
const _hoisted_3$c = ["placeholder", "disabled"];
|
|
22794
|
-
const _sfc_main$
|
|
23024
|
+
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
22795
23025
|
__name: "DateInput",
|
|
22796
23026
|
props: {
|
|
22797
23027
|
field: {},
|
|
@@ -22825,19 +23055,19 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
22825
23055
|
}, null, 40, _hoisted_3$c), [
|
|
22826
23056
|
[vModelText, date.value]
|
|
22827
23057
|
])
|
|
22828
|
-
], 10, _hoisted_1$
|
|
23058
|
+
], 10, _hoisted_1$d);
|
|
22829
23059
|
};
|
|
22830
23060
|
}
|
|
22831
23061
|
});
|
|
22832
|
-
const DateInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
23062
|
+
const DateInput = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-e7f1b3f2"]]);
|
|
22833
23063
|
const DateInput$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
22834
23064
|
__proto__: null,
|
|
22835
23065
|
default: DateInput
|
|
22836
23066
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
22837
|
-
const _hoisted_1$
|
|
23067
|
+
const _hoisted_1$c = ["title"];
|
|
22838
23068
|
const _hoisted_2$c = { key: 0 };
|
|
22839
23069
|
const _hoisted_3$b = ["value", "placeholder"];
|
|
22840
|
-
const _sfc_main$
|
|
23070
|
+
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
22841
23071
|
__name: "DatetimeInput",
|
|
22842
23072
|
props: {
|
|
22843
23073
|
description: { default: "" },
|
|
@@ -22873,18 +23103,18 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
22873
23103
|
placeholder: _ctx.placeholder,
|
|
22874
23104
|
class: normalizeClass({ "no-edit": !_ctx.editMode })
|
|
22875
23105
|
}, null, 42, _hoisted_3$b)
|
|
22876
|
-
], 10, _hoisted_1$
|
|
23106
|
+
], 10, _hoisted_1$c);
|
|
22877
23107
|
};
|
|
22878
23108
|
}
|
|
22879
23109
|
});
|
|
22880
23110
|
const DatetimeInput = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
22881
23111
|
__proto__: null,
|
|
22882
|
-
default: _sfc_main$
|
|
23112
|
+
default: _sfc_main$d
|
|
22883
23113
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
22884
|
-
const _hoisted_1$
|
|
23114
|
+
const _hoisted_1$b = ["title"];
|
|
22885
23115
|
const _hoisted_2$b = { key: 0 };
|
|
22886
23116
|
const _hoisted_3$a = ["value", "placeholder"];
|
|
22887
|
-
const _sfc_main$
|
|
23117
|
+
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
22888
23118
|
__name: "EmailInput",
|
|
22889
23119
|
props: {
|
|
22890
23120
|
description: { default: "" },
|
|
@@ -22918,19 +23148,19 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
22918
23148
|
class: normalizeClass({ "no-edit": !_ctx.editMode }),
|
|
22919
23149
|
placeholder: _ctx.placeholder
|
|
22920
23150
|
}, null, 42, _hoisted_3$a)
|
|
22921
|
-
], 10, _hoisted_1$
|
|
23151
|
+
], 10, _hoisted_1$b);
|
|
22922
23152
|
};
|
|
22923
23153
|
}
|
|
22924
23154
|
});
|
|
22925
|
-
const EmailInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
23155
|
+
const EmailInput = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-ed81a514"]]);
|
|
22926
23156
|
const EmailInput$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
22927
23157
|
__proto__: null,
|
|
22928
23158
|
default: EmailInput
|
|
22929
23159
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
22930
|
-
const _hoisted_1$
|
|
23160
|
+
const _hoisted_1$a = ["title"];
|
|
22931
23161
|
const _hoisted_2$a = { key: 0 };
|
|
22932
23162
|
const _hoisted_3$9 = ["value", "placeholder"];
|
|
22933
|
-
const _sfc_main$
|
|
23163
|
+
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
22934
23164
|
__name: "FloatInput",
|
|
22935
23165
|
props: {
|
|
22936
23166
|
description: { default: "" },
|
|
@@ -22967,18 +23197,18 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
22967
23197
|
class: normalizeClass({ "no-edit": !_ctx.editMode }),
|
|
22968
23198
|
placeholder: _ctx.placeholder
|
|
22969
23199
|
}, null, 42, _hoisted_3$9)
|
|
22970
|
-
], 10, _hoisted_1$
|
|
23200
|
+
], 10, _hoisted_1$a);
|
|
22971
23201
|
};
|
|
22972
23202
|
}
|
|
22973
23203
|
});
|
|
22974
23204
|
const FloatInput = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
22975
23205
|
__proto__: null,
|
|
22976
|
-
default: _sfc_main$
|
|
23206
|
+
default: _sfc_main$b
|
|
22977
23207
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
22978
|
-
const _hoisted_1$
|
|
23208
|
+
const _hoisted_1$9 = ["title"];
|
|
22979
23209
|
const _hoisted_2$9 = { key: 0 };
|
|
22980
23210
|
const _hoisted_3$8 = ["value", "placeholder"];
|
|
22981
|
-
const _sfc_main$
|
|
23211
|
+
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
22982
23212
|
__name: "IntInput",
|
|
22983
23213
|
props: {
|
|
22984
23214
|
description: { default: "" },
|
|
@@ -23015,18 +23245,18 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
23015
23245
|
class: normalizeClass({ "no-edit": !_ctx.editMode }),
|
|
23016
23246
|
placeholder: _ctx.placeholder
|
|
23017
23247
|
}, null, 42, _hoisted_3$8)
|
|
23018
|
-
], 10, _hoisted_1$
|
|
23248
|
+
], 10, _hoisted_1$9);
|
|
23019
23249
|
};
|
|
23020
23250
|
}
|
|
23021
23251
|
});
|
|
23022
23252
|
const IntInput = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
23023
23253
|
__proto__: null,
|
|
23024
|
-
default: _sfc_main$
|
|
23254
|
+
default: _sfc_main$a
|
|
23025
23255
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
23026
|
-
const _hoisted_1$
|
|
23256
|
+
const _hoisted_1$8 = ["title"];
|
|
23027
23257
|
const _hoisted_2$8 = { key: 0 };
|
|
23028
23258
|
const _hoisted_3$7 = ["value", "placeholder"];
|
|
23029
|
-
const _sfc_main$
|
|
23259
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
23030
23260
|
__name: "JSONInput",
|
|
23031
23261
|
props: {
|
|
23032
23262
|
description: { default: "" },
|
|
@@ -23058,36 +23288,16 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
23058
23288
|
class: normalizeClass({ "no-edit": !_ctx.editMode }),
|
|
23059
23289
|
placeholder: _ctx.placeholder
|
|
23060
23290
|
}, null, 42, _hoisted_3$7)
|
|
23061
|
-
], 10, _hoisted_1$
|
|
23291
|
+
], 10, _hoisted_1$8);
|
|
23062
23292
|
};
|
|
23063
23293
|
}
|
|
23064
23294
|
});
|
|
23065
|
-
const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
23295
|
+
const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-1fc4f739"]]);
|
|
23066
23296
|
const JSONInput$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
23067
23297
|
__proto__: null,
|
|
23068
23298
|
default: JSONInput
|
|
23069
23299
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
23070
|
-
|
|
23071
|
-
if (format === "titleCase") {
|
|
23072
|
-
return str.split("_").map((word) => word[0].toUpperCase() + word.slice(1).toLocaleLowerCase()).join(" ");
|
|
23073
|
-
}
|
|
23074
|
-
if (format === "pascal") {
|
|
23075
|
-
return str.split("_").map((word) => word[0].toUpperCase() + word.slice(1).toLocaleLowerCase()).join("");
|
|
23076
|
-
}
|
|
23077
|
-
if (format === "camel") {
|
|
23078
|
-
return str.split("_").map((word, index2) => index2 === 0 ? word : word[0].toUpperCase() + word.slice(1)).join("");
|
|
23079
|
-
}
|
|
23080
|
-
if (format === "snake") {
|
|
23081
|
-
return str.split("").map((letter) => {
|
|
23082
|
-
if (letter === letter.toUpperCase()) {
|
|
23083
|
-
return `_${letter.toLowerCase()}`;
|
|
23084
|
-
}
|
|
23085
|
-
return letter;
|
|
23086
|
-
}).join("");
|
|
23087
|
-
}
|
|
23088
|
-
return str;
|
|
23089
|
-
}
|
|
23090
|
-
const _hoisted_1$8 = ["title"];
|
|
23300
|
+
const _hoisted_1$7 = ["title"];
|
|
23091
23301
|
const _hoisted_2$7 = { key: 0 };
|
|
23092
23302
|
const _hoisted_3$6 = ["onKeydown", "disabled"];
|
|
23093
23303
|
const _hoisted_4$2 = ["onClick"];
|
|
@@ -23100,7 +23310,7 @@ const _hoisted_6$1 = {
|
|
|
23100
23310
|
class: "option-label"
|
|
23101
23311
|
};
|
|
23102
23312
|
const _hoisted_7 = { class: "option-description" };
|
|
23103
|
-
const _sfc_main$
|
|
23313
|
+
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
23104
23314
|
__name: "LinkField",
|
|
23105
23315
|
props: {
|
|
23106
23316
|
description: { default: "" },
|
|
@@ -23116,9 +23326,9 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
23116
23326
|
emits: ["update:modelValue", "selected"],
|
|
23117
23327
|
setup(__props, { emit: __emit }) {
|
|
23118
23328
|
useCssVars((_ctx) => ({
|
|
23119
|
-
"
|
|
23120
|
-
"
|
|
23121
|
-
"
|
|
23329
|
+
"389c1e7f": left.value,
|
|
23330
|
+
"858a201e": `${top.value}px`,
|
|
23331
|
+
"48f70364": width.value
|
|
23122
23332
|
}));
|
|
23123
23333
|
const props2 = __props;
|
|
23124
23334
|
const showList = ref(false);
|
|
@@ -23266,20 +23476,20 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
23266
23476
|
], 2)
|
|
23267
23477
|
]))
|
|
23268
23478
|
], 2)
|
|
23269
|
-
], 10, _hoisted_1$
|
|
23479
|
+
], 10, _hoisted_1$7);
|
|
23270
23480
|
};
|
|
23271
23481
|
}
|
|
23272
23482
|
});
|
|
23273
|
-
const LinkField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
23483
|
+
const LinkField = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-9ea2d30f"]]);
|
|
23274
23484
|
const LinkField$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
23275
23485
|
__proto__: null,
|
|
23276
23486
|
default: LinkField
|
|
23277
23487
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
23278
|
-
const _hoisted_1$
|
|
23488
|
+
const _hoisted_1$6 = ["title"];
|
|
23279
23489
|
const _hoisted_2$6 = { key: 0 };
|
|
23280
23490
|
const _hoisted_3$5 = { class: "password-input-wrap" };
|
|
23281
23491
|
const _hoisted_4$1 = ["value", "type", "placeholder"];
|
|
23282
|
-
const _sfc_main$
|
|
23492
|
+
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
23283
23493
|
__name: "PasswordInput",
|
|
23284
23494
|
props: {
|
|
23285
23495
|
description: { default: "" },
|
|
@@ -23329,19 +23539,19 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
23329
23539
|
onMousedown: toggleInputType
|
|
23330
23540
|
}, " visibility ", 32)
|
|
23331
23541
|
])
|
|
23332
|
-
], 10, _hoisted_1$
|
|
23542
|
+
], 10, _hoisted_1$6);
|
|
23333
23543
|
};
|
|
23334
23544
|
}
|
|
23335
23545
|
});
|
|
23336
|
-
const PasswordInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
23546
|
+
const PasswordInput = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-eec3e237"]]);
|
|
23337
23547
|
const PasswordInput$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
23338
23548
|
__proto__: null,
|
|
23339
23549
|
default: PasswordInput
|
|
23340
23550
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
23341
|
-
const _hoisted_1$
|
|
23551
|
+
const _hoisted_1$5 = ["title"];
|
|
23342
23552
|
const _hoisted_2$5 = ["for"];
|
|
23343
23553
|
const _hoisted_3$4 = ["id", "type", "placeholder", "required", "pattern"];
|
|
23344
|
-
const _sfc_main$
|
|
23554
|
+
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
23345
23555
|
__name: "Password",
|
|
23346
23556
|
props: {
|
|
23347
23557
|
field: {},
|
|
@@ -23386,21 +23596,21 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
23386
23596
|
])
|
|
23387
23597
|
], 8, _hoisted_2$5),
|
|
23388
23598
|
createVNode(unref(MaterialIcon), {
|
|
23389
|
-
onClick:
|
|
23599
|
+
onClick: showPassword,
|
|
23390
23600
|
icon: unref(seePassword) ? "visibility" : "visibility_off"
|
|
23391
23601
|
}, null, 8, ["icon"])
|
|
23392
|
-
], 10, _hoisted_1$
|
|
23602
|
+
], 10, _hoisted_1$5)) : createCommentVNode("", true);
|
|
23393
23603
|
};
|
|
23394
23604
|
}
|
|
23395
23605
|
});
|
|
23396
|
-
const Password = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
23606
|
+
const Password = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-ba45b5bf"]]);
|
|
23397
23607
|
const Password$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
23398
23608
|
__proto__: null,
|
|
23399
23609
|
default: Password
|
|
23400
23610
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
23401
|
-
const _hoisted_1$
|
|
23611
|
+
const _hoisted_1$4 = ["title"];
|
|
23402
23612
|
const _hoisted_2$4 = { key: 0 };
|
|
23403
|
-
const _sfc_main$
|
|
23613
|
+
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
23404
23614
|
__name: "ReadOnlyInput",
|
|
23405
23615
|
props: {
|
|
23406
23616
|
field: {},
|
|
@@ -23415,30 +23625,15 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
23415
23625
|
}, [
|
|
23416
23626
|
_ctx.field.label ? (openBlock(), createElementBlock("label", _hoisted_2$4, toDisplayString(_ctx.field.label), 1)) : createCommentVNode("", true),
|
|
23417
23627
|
createTextVNode(" " + toDisplayString(_ctx.modelValue), 1)
|
|
23418
|
-
], 10, _hoisted_1$
|
|
23628
|
+
], 10, _hoisted_1$4);
|
|
23419
23629
|
};
|
|
23420
23630
|
}
|
|
23421
23631
|
});
|
|
23422
|
-
const ReadOnlyInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
23632
|
+
const ReadOnlyInput = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-1f87e7f9"]]);
|
|
23423
23633
|
const ReadOnlyInput$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
23424
23634
|
__proto__: null,
|
|
23425
23635
|
default: ReadOnlyInput
|
|
23426
23636
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
23427
|
-
const _hoisted_1$4 = { ref: "el" };
|
|
23428
|
-
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
23429
|
-
__name: "LangText",
|
|
23430
|
-
props: {
|
|
23431
|
-
input: {}
|
|
23432
|
-
},
|
|
23433
|
-
setup(__props) {
|
|
23434
|
-
return (_ctx, _cache) => {
|
|
23435
|
-
return openBlock(), createElementBlock(Fragment$1, null, [
|
|
23436
|
-
createBaseVNode("span", _hoisted_1$4, null, 512),
|
|
23437
|
-
createTextVNode(" " + toDisplayString(_ctx.input) + " ", 1)
|
|
23438
|
-
], 64);
|
|
23439
|
-
};
|
|
23440
|
-
}
|
|
23441
|
-
});
|
|
23442
23637
|
const _hoisted_1$3 = ["title"];
|
|
23443
23638
|
const _hoisted_2$3 = ["onClick"];
|
|
23444
23639
|
const _hoisted_3$3 = ["onClick"];
|
|
@@ -23473,9 +23668,9 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
23473
23668
|
emits: ["update:modelValue", "selected"],
|
|
23474
23669
|
setup(__props, { emit: __emit }) {
|
|
23475
23670
|
useCssVars((_ctx) => ({
|
|
23476
|
-
"
|
|
23477
|
-
"
|
|
23478
|
-
"
|
|
23671
|
+
"1a04bb0f": left.value,
|
|
23672
|
+
"03803efe": `${top.value}px`,
|
|
23673
|
+
"272f73be": width.value
|
|
23479
23674
|
}));
|
|
23480
23675
|
const selectEl = ref();
|
|
23481
23676
|
const dropdown = ref();
|
|
@@ -23574,7 +23769,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
23574
23769
|
for: "label",
|
|
23575
23770
|
class: normalizeClass({ active: showList.value })
|
|
23576
23771
|
}, [
|
|
23577
|
-
createVNode(
|
|
23772
|
+
createVNode(unref(LangText), { input: _ctx.label }, null, 8, ["input"])
|
|
23578
23773
|
], 2)) : createCommentVNode("", true),
|
|
23579
23774
|
createBaseVNode("div", {
|
|
23580
23775
|
class: normalizeClass(["custom-select", { "open-select": showList.value && _ctx.editMode }]),
|
|
@@ -23586,7 +23781,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
23586
23781
|
class: normalizeClass(["input", { active: showList.value }]),
|
|
23587
23782
|
name: "select-input"
|
|
23588
23783
|
}, [
|
|
23589
|
-
createVNode(
|
|
23784
|
+
createVNode(unref(LangText), { input: displayValue.value }, null, 8, ["input"])
|
|
23590
23785
|
], 10, _hoisted_2$3),
|
|
23591
23786
|
(openBlock(), createBlock(Teleport, { to: "#app" }, [
|
|
23592
23787
|
createBaseVNode("div", {
|
|
@@ -23599,7 +23794,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
23599
23794
|
key: option2.value,
|
|
23600
23795
|
onClick: ($event) => handleSelect(option2)
|
|
23601
23796
|
}, [
|
|
23602
|
-
createVNode(
|
|
23797
|
+
createVNode(unref(LangText), {
|
|
23603
23798
|
input: option2.label
|
|
23604
23799
|
}, null, 8, ["input"])
|
|
23605
23800
|
], 8, _hoisted_3$3);
|
|
@@ -23611,7 +23806,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
23611
23806
|
};
|
|
23612
23807
|
}
|
|
23613
23808
|
});
|
|
23614
|
-
const SelectField = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-
|
|
23809
|
+
const SelectField = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-6e9ccd80"]]);
|
|
23615
23810
|
const SelectField$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
23616
23811
|
__proto__: null,
|
|
23617
23812
|
default: SelectField
|
|
@@ -26347,7 +26542,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
26347
26542
|
};
|
|
26348
26543
|
}
|
|
26349
26544
|
});
|
|
26350
|
-
const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
26545
|
+
const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-570a76ab"]]);
|
|
26351
26546
|
const TableField$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
26352
26547
|
__proto__: null,
|
|
26353
26548
|
default: TableField
|
|
@@ -26423,6 +26618,7 @@ export {
|
|
|
26423
26618
|
FormSchema,
|
|
26424
26619
|
IntInput,
|
|
26425
26620
|
JSONInput$1 as JSONInput,
|
|
26621
|
+
LangText,
|
|
26426
26622
|
LinkField$1 as LinkField,
|
|
26427
26623
|
ListItem,
|
|
26428
26624
|
ListView,
|
|
@@ -26452,6 +26648,7 @@ export {
|
|
|
26452
26648
|
computeFields,
|
|
26453
26649
|
copyText,
|
|
26454
26650
|
debounce,
|
|
26651
|
+
formatString,
|
|
26455
26652
|
initials,
|
|
26456
26653
|
keyToLabel,
|
|
26457
26654
|
parseLocale,
|