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