@bagelink/vue 0.0.200 → 0.0.204
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.map +1 -1
- package/dist/components/form/BglField.vue.d.ts +23 -0
- package/dist/components/form/BglField.vue.d.ts.map +1 -0
- package/dist/components/form/BglForm.vue.d.ts +36 -0
- package/dist/components/form/BglForm.vue.d.ts.map +1 -0
- package/dist/components/form/ItemRef.vue.d.ts +0 -1
- package/dist/components/form/ItemRef.vue.d.ts.map +1 -1
- package/dist/components/form/index.d.ts +2 -0
- package/dist/components/form/index.d.ts.map +1 -1
- package/dist/components/form/inputs/CheckInput.vue.d.ts +0 -1
- package/dist/components/form/inputs/CheckInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/ColorPicker.vue.d.ts +0 -1
- package/dist/components/form/inputs/ColorPicker.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/CurrencyInput.vue.d.ts +0 -1
- package/dist/components/form/inputs/CurrencyInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/DateInput.vue.d.ts +0 -1
- package/dist/components/form/inputs/DateInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/FileUpload.vue.d.ts +18 -0
- package/dist/components/form/inputs/FileUpload.vue.d.ts.map +1 -0
- package/dist/components/form/inputs/Password.vue.d.ts +0 -1
- package/dist/components/form/inputs/Password.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/PlainText.vue.d.ts +0 -1
- package/dist/components/form/inputs/PlainText.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/ReadOnlyInput.vue.d.ts +0 -1
- package/dist/components/form/inputs/ReadOnlyInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/SelectField.vue.d.ts +4 -1
- package/dist/components/form/inputs/SelectField.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/TextInput.vue.d.ts +13 -0
- package/dist/components/form/inputs/TextInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/index.d.ts +1 -0
- package/dist/components/form/inputs/index.d.ts.map +1 -1
- package/dist/index.cjs +810 -579
- package/dist/index.mjs +810 -579
- package/dist/style.css +127 -67
- package/dist/types/BagelField.d.ts +1 -8
- package/dist/types/BagelField.d.ts.map +1 -1
- package/dist/types/BagelForm.d.ts +23 -0
- package/dist/types/BagelForm.d.ts.map +1 -0
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.d.ts.map +1 -1
- package/dist/utils/index.d.ts +2 -2
- package/dist/utils/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/Btn.vue +7 -7
- package/src/components/form/BglField.vue +29 -0
- package/src/components/form/BglForm.vue +75 -0
- package/src/components/form/index.ts +2 -0
- package/src/components/form/inputs/FileUpload.vue +130 -0
- package/src/components/form/inputs/SelectField.vue +2 -0
- package/src/components/form/inputs/TextInput.vue +44 -8
- package/src/components/form/inputs/index.ts +1 -0
- package/src/types/BagelField.ts +1 -6
- package/src/types/BagelForm.ts +24 -0
- package/src/types/index.ts +11 -2
- package/src/utils/index.ts +10 -23
- package/dist/components/FileUploader.vue.d.ts +0 -60
- package/dist/components/FileUploader.vue.d.ts.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -2298,7 +2298,7 @@ const ModalPlugin = {
|
|
|
2298
2298
|
},
|
|
2299
2299
|
render() {
|
|
2300
2300
|
return modalStack.value.map((modal, index2) => {
|
|
2301
|
-
const renderComponent = modal.isModalForm ? ModalForm : _sfc_main$
|
|
2301
|
+
const renderComponent = modal.isModalForm ? ModalForm : _sfc_main$T;
|
|
2302
2302
|
return h(
|
|
2303
2303
|
renderComponent,
|
|
2304
2304
|
{
|
|
@@ -2339,26 +2339,6 @@ const debounce = (fn2, delay = 500) => {
|
|
|
2339
2339
|
timeout = setTimeout(fn2, delay);
|
|
2340
2340
|
};
|
|
2341
2341
|
const keyToLabel = (key) => key.split("_").map((k2) => k2.charAt(0).toUpperCase() + k2.slice(1)).join(" ");
|
|
2342
|
-
function computeFields(modelValue) {
|
|
2343
|
-
const fields = [];
|
|
2344
|
-
for (const key of Object.keys(modelValue)) {
|
|
2345
|
-
const field = {
|
|
2346
|
-
label: keyToLabel(key),
|
|
2347
|
-
id: key,
|
|
2348
|
-
inputType: "PlainText"
|
|
2349
|
-
};
|
|
2350
|
-
if (typeof modelValue[key] === "string")
|
|
2351
|
-
field.inputType = "PlainText";
|
|
2352
|
-
if (typeof modelValue[key] === "number")
|
|
2353
|
-
field.inputType = "NumberInput";
|
|
2354
|
-
if (modelValue[key] === true || modelValue[key] === false)
|
|
2355
|
-
field.inputType = "CheckInput";
|
|
2356
|
-
if (modelValue[key] instanceof Date || !Number.isNaN(Date.parse(modelValue[key])))
|
|
2357
|
-
field.inputType = "DateInput";
|
|
2358
|
-
fields.push(field);
|
|
2359
|
-
}
|
|
2360
|
-
return fields;
|
|
2361
|
-
}
|
|
2362
2342
|
const copyText = async (text2, cb) => {
|
|
2363
2343
|
await navigator.clipboard.writeText(text2);
|
|
2364
2344
|
if (cb)
|
|
@@ -2374,8 +2354,16 @@ function useEscape(event, closeModel) {
|
|
|
2374
2354
|
closeModel();
|
|
2375
2355
|
}
|
|
2376
2356
|
}
|
|
2377
|
-
|
|
2378
|
-
const
|
|
2357
|
+
function bindAttrs(attrs, fieldVal, row) {
|
|
2358
|
+
const arr = Object.entries(attrs).map(([key, value]) => [
|
|
2359
|
+
key,
|
|
2360
|
+
typeof value === "function" ? value(fieldVal, row) : value
|
|
2361
|
+
]);
|
|
2362
|
+
const resolvedAttrs = Object.fromEntries(arr);
|
|
2363
|
+
return resolvedAttrs;
|
|
2364
|
+
}
|
|
2365
|
+
const _hoisted_1$11 = { ref: "el" };
|
|
2366
|
+
const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
2379
2367
|
__name: "LangText",
|
|
2380
2368
|
props: {
|
|
2381
2369
|
input: {}
|
|
@@ -2383,7 +2371,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
2383
2371
|
setup(__props) {
|
|
2384
2372
|
return (_ctx, _cache) => {
|
|
2385
2373
|
return openBlock(), createElementBlock(Fragment$1, null, [
|
|
2386
|
-
createElementVNode("span", _hoisted_1
|
|
2374
|
+
createElementVNode("span", _hoisted_1$11, null, 512),
|
|
2387
2375
|
createTextVNode(" " + toDisplayString(_ctx.input), 1)
|
|
2388
2376
|
], 64);
|
|
2389
2377
|
};
|
|
@@ -14496,8 +14484,8 @@ const marks = {
|
|
|
14496
14484
|
}
|
|
14497
14485
|
};
|
|
14498
14486
|
const schema = new Schema({ nodes, marks });
|
|
14499
|
-
const _hoisted_1$
|
|
14500
|
-
const _sfc_main$
|
|
14487
|
+
const _hoisted_1$10 = ["id"];
|
|
14488
|
+
const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
14501
14489
|
__name: "RTXEditor",
|
|
14502
14490
|
props: {
|
|
14503
14491
|
elementId: { default: Math.random().toString(36).substr(2, 9) },
|
|
@@ -14574,11 +14562,11 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
14574
14562
|
onClick: focusEditor,
|
|
14575
14563
|
id: `canvas-${_ctx.elementId}`,
|
|
14576
14564
|
onKeydown: _cache[0] || (_cache[0] = withKeys(withModifiers(($event) => _ctx.$emit("keydown.meta.enter"), ["meta"]), ["enter"]))
|
|
14577
|
-
}, null, 40, _hoisted_1$
|
|
14565
|
+
}, null, 40, _hoisted_1$10);
|
|
14578
14566
|
};
|
|
14579
14567
|
}
|
|
14580
14568
|
});
|
|
14581
|
-
const _sfc_main$
|
|
14569
|
+
const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
14582
14570
|
__name: "MaterialIcon",
|
|
14583
14571
|
props: {
|
|
14584
14572
|
icon: {},
|
|
@@ -14593,17 +14581,17 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
14593
14581
|
};
|
|
14594
14582
|
}
|
|
14595
14583
|
});
|
|
14596
|
-
const _hoisted_1
|
|
14597
|
-
const _hoisted_2$
|
|
14598
|
-
_hoisted_1
|
|
14584
|
+
const _hoisted_1$$ = /* @__PURE__ */ createElementVNode("div", { class: "icon-font top-arrow" }, "chevron_right", -1);
|
|
14585
|
+
const _hoisted_2$S = [
|
|
14586
|
+
_hoisted_1$$
|
|
14599
14587
|
];
|
|
14600
|
-
const _hoisted_3$
|
|
14601
|
-
const _hoisted_4$
|
|
14602
|
-
const _hoisted_5$
|
|
14603
|
-
const _hoisted_6$
|
|
14588
|
+
const _hoisted_3$K = { class: "full-nav" };
|
|
14589
|
+
const _hoisted_4$t = { class: "nav-scroll" };
|
|
14590
|
+
const _hoisted_5$n = { class: "nav-links-wrapper" };
|
|
14591
|
+
const _hoisted_6$i = { class: "icon-font" };
|
|
14604
14592
|
const _hoisted_7$d = { class: "tooltip" };
|
|
14605
14593
|
const _hoisted_8$7 = { class: "bot-buttons-wrapper" };
|
|
14606
|
-
const _sfc_main$
|
|
14594
|
+
const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
14607
14595
|
__name: "NavBar",
|
|
14608
14596
|
props: {
|
|
14609
14597
|
links: {},
|
|
@@ -14627,10 +14615,10 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
14627
14615
|
role: "button",
|
|
14628
14616
|
"aria-label": "Toggle Navigation",
|
|
14629
14617
|
tabindex: "0"
|
|
14630
|
-
}, _hoisted_2$
|
|
14631
|
-
createElementVNode("div", _hoisted_3$
|
|
14632
|
-
createElementVNode("div", _hoisted_4$
|
|
14633
|
-
createElementVNode("div", _hoisted_5$
|
|
14618
|
+
}, _hoisted_2$S, 32),
|
|
14619
|
+
createElementVNode("div", _hoisted_3$K, [
|
|
14620
|
+
createElementVNode("div", _hoisted_4$t, [
|
|
14621
|
+
createElementVNode("div", _hoisted_5$n, [
|
|
14634
14622
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList((_a2 = _ctx.links) == null ? void 0 : _a2.call(_ctx), (link) => {
|
|
14635
14623
|
return openBlock(), createBlock(_component_RouterLink, {
|
|
14636
14624
|
class: "nav-button",
|
|
@@ -14638,7 +14626,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
14638
14626
|
key: link.label
|
|
14639
14627
|
}, {
|
|
14640
14628
|
default: withCtx(() => [
|
|
14641
|
-
createElementVNode("div", _hoisted_6$
|
|
14629
|
+
createElementVNode("div", _hoisted_6$i, toDisplayString(link.materialIcon), 1),
|
|
14642
14630
|
createElementVNode("div", _hoisted_7$d, toDisplayString(link.localized ? link.localized : link.label), 1)
|
|
14643
14631
|
]),
|
|
14644
14632
|
_: 2
|
|
@@ -14654,15 +14642,15 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
14654
14642
|
};
|
|
14655
14643
|
}
|
|
14656
14644
|
});
|
|
14657
|
-
const _hoisted_1$
|
|
14645
|
+
const _hoisted_1$_ = {
|
|
14658
14646
|
key: 0,
|
|
14659
14647
|
class: "loading"
|
|
14660
14648
|
};
|
|
14661
|
-
const _hoisted_2$
|
|
14649
|
+
const _hoisted_2$R = {
|
|
14662
14650
|
key: 1,
|
|
14663
14651
|
class: "btn-flex"
|
|
14664
14652
|
};
|
|
14665
|
-
const _sfc_main$
|
|
14653
|
+
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
14666
14654
|
__name: "Btn",
|
|
14667
14655
|
props: {
|
|
14668
14656
|
disabled: { type: Boolean, default: false },
|
|
@@ -14683,8 +14671,8 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
14683
14671
|
},
|
|
14684
14672
|
setup(__props) {
|
|
14685
14673
|
useCssVars((_ctx) => ({
|
|
14686
|
-
"
|
|
14687
|
-
"
|
|
14674
|
+
"0bd3bef7": computedBackgroundColor.value,
|
|
14675
|
+
"1b1b6b12": cumputedTextColor.value
|
|
14688
14676
|
}));
|
|
14689
14677
|
const slots = useSlots();
|
|
14690
14678
|
const props2 = __props;
|
|
@@ -14708,10 +14696,11 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
14708
14696
|
red: getThemeColors({ backgroundColor: "var(--bgl-red)" }),
|
|
14709
14697
|
black: getThemeColors({ backgroundColor: "var(--bgl-black)" }),
|
|
14710
14698
|
green: getThemeColors({ backgroundColor: "var(--bgl-green)", color: "var(--bgl-white)" }),
|
|
14711
|
-
|
|
14699
|
+
primary: getThemeColors({ backgroundColor: "var(--bgl-primary)", color: "var(--bgl-white)" }),
|
|
14712
14700
|
gray: getThemeColors({ backgroundColor: "var(--bgl-gray-light)", color: "var(--bgl-black)" }),
|
|
14713
14701
|
light: getThemeColors({ backgroundColor: "var(--bgl-primary-light)", color: "var(--bgl-primary)" }),
|
|
14714
|
-
"gray-light": getThemeColors({ backgroundColor: "var(--bgl-gray-light)", color: "var(--bgl-gray)" })
|
|
14702
|
+
"gray-light": getThemeColors({ backgroundColor: "var(--bgl-gray-light)", color: "var(--bgl-gray)" }),
|
|
14703
|
+
blue: getThemeColors({})
|
|
14715
14704
|
};
|
|
14716
14705
|
const cumputedTextColor = computed(
|
|
14717
14706
|
() => {
|
|
@@ -14741,8 +14730,8 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
14741
14730
|
})
|
|
14742
14731
|
}, {
|
|
14743
14732
|
default: withCtx(() => [
|
|
14744
|
-
_ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
14745
|
-
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$
|
|
14733
|
+
_ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_1$_)) : (openBlock(), createElementBlock("div", _hoisted_2$R, [
|
|
14734
|
+
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$W), {
|
|
14746
14735
|
key: 0,
|
|
14747
14736
|
icon: _ctx.icon
|
|
14748
14737
|
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
@@ -14750,7 +14739,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
14750
14739
|
!unref(slots)["default"] && _ctx.value ? (openBlock(), createElementBlock(Fragment$1, { key: 1 }, [
|
|
14751
14740
|
createTextVNode(toDisplayString(_ctx.value), 1)
|
|
14752
14741
|
], 64)) : createCommentVNode("", true),
|
|
14753
|
-
props2["icon.end"] ? (openBlock(), createBlock(unref(_sfc_main$
|
|
14742
|
+
props2["icon.end"] ? (openBlock(), createBlock(unref(_sfc_main$W), {
|
|
14754
14743
|
key: 2,
|
|
14755
14744
|
icon: props2["icon.end"]
|
|
14756
14745
|
}, null, 8, ["icon"])) : createCommentVNode("", true)
|
|
@@ -14768,11 +14757,11 @@ const _export_sfc = (sfc, props2) => {
|
|
|
14768
14757
|
}
|
|
14769
14758
|
return target;
|
|
14770
14759
|
};
|
|
14771
|
-
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14772
|
-
const _hoisted_1$
|
|
14773
|
-
const _hoisted_2$
|
|
14774
|
-
const _hoisted_3$
|
|
14775
|
-
const _sfc_main$
|
|
14760
|
+
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-845b751e"]]);
|
|
14761
|
+
const _hoisted_1$Z = { class: "tool-bar" };
|
|
14762
|
+
const _hoisted_2$Q = { class: "modal-title" };
|
|
14763
|
+
const _hoisted_3$J = { class: "modal-footer mt-3" };
|
|
14764
|
+
const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
14776
14765
|
__name: "Modal",
|
|
14777
14766
|
props: {
|
|
14778
14767
|
side: { type: Boolean },
|
|
@@ -14818,7 +14807,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
14818
14807
|
onClick: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
14819
14808
|
}, ["stop"]))
|
|
14820
14809
|
}, [
|
|
14821
|
-
createElementVNode("header", _hoisted_1$
|
|
14810
|
+
createElementVNode("header", _hoisted_1$Z, [
|
|
14822
14811
|
renderSlot(_ctx.$slots, "toolbar"),
|
|
14823
14812
|
createVNode(unref(Btn), {
|
|
14824
14813
|
style: normalizeStyle({ float: _ctx.side ? "left" : "right" }),
|
|
@@ -14826,10 +14815,10 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
14826
14815
|
icon: "close",
|
|
14827
14816
|
onClick: closeModal
|
|
14828
14817
|
}, null, 8, ["style"]),
|
|
14829
|
-
createElementVNode("h3", _hoisted_2$
|
|
14818
|
+
createElementVNode("h3", _hoisted_2$Q, toDisplayString(_ctx.title), 1)
|
|
14830
14819
|
]),
|
|
14831
14820
|
renderSlot(_ctx.$slots, "default"),
|
|
14832
|
-
createElementVNode("footer", _hoisted_3$
|
|
14821
|
+
createElementVNode("footer", _hoisted_3$J, [
|
|
14833
14822
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.actions, (action, i3) => {
|
|
14834
14823
|
return openBlock(), createBlock(unref(Btn), mergeProps({
|
|
14835
14824
|
key: i3,
|
|
@@ -14844,10 +14833,10 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
14844
14833
|
};
|
|
14845
14834
|
}
|
|
14846
14835
|
});
|
|
14847
|
-
const _hoisted_1$
|
|
14848
|
-
const _hoisted_2$
|
|
14849
|
-
const _hoisted_3$
|
|
14850
|
-
const _sfc_main$
|
|
14836
|
+
const _hoisted_1$Y = { class: "dropdown-title" };
|
|
14837
|
+
const _hoisted_2$P = { class: "dropdown-body" };
|
|
14838
|
+
const _hoisted_3$I = ["onClick"];
|
|
14839
|
+
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
14851
14840
|
__name: "DropDown",
|
|
14852
14841
|
props: {
|
|
14853
14842
|
modelValue: String,
|
|
@@ -14873,31 +14862,31 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
14873
14862
|
class: normalizeClass(["dropdown", { opendrop: unref(isOpen) }]),
|
|
14874
14863
|
onClick: toggleDropdown
|
|
14875
14864
|
}, [
|
|
14876
|
-
createElementVNode("div", _hoisted_1$
|
|
14865
|
+
createElementVNode("div", _hoisted_1$Y, [
|
|
14877
14866
|
createTextVNode(toDisplayString(unref(selectedOption) || __props.placeholder) + " ", 1),
|
|
14878
|
-
createVNode(unref(_sfc_main$
|
|
14867
|
+
createVNode(unref(_sfc_main$W), { icon: "keyboard_arrow_down" })
|
|
14879
14868
|
]),
|
|
14880
|
-
createElementVNode("div", _hoisted_2$
|
|
14869
|
+
createElementVNode("div", _hoisted_2$P, [
|
|
14881
14870
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(__props.options, (option2, index2) => {
|
|
14882
14871
|
return openBlock(), createElementBlock("p", {
|
|
14883
14872
|
key: index2,
|
|
14884
14873
|
onClick: withModifiers(($event) => selectOption(option2, index2), ["stop"])
|
|
14885
|
-
}, toDisplayString(option2), 9, _hoisted_3$
|
|
14874
|
+
}, toDisplayString(option2), 9, _hoisted_3$I);
|
|
14886
14875
|
}), 128))
|
|
14887
14876
|
])
|
|
14888
14877
|
], 2);
|
|
14889
14878
|
};
|
|
14890
14879
|
}
|
|
14891
14880
|
});
|
|
14892
|
-
const _hoisted_1$
|
|
14893
|
-
const _hoisted_2$
|
|
14894
|
-
const _hoisted_3$
|
|
14881
|
+
const _hoisted_1$X = { class: "card list-view grid thin" };
|
|
14882
|
+
const _hoisted_2$O = { class: "list-header flex gap-3 align-items-top" };
|
|
14883
|
+
const _hoisted_3$H = {
|
|
14895
14884
|
key: 0,
|
|
14896
14885
|
class: "bagel-input search-wrap"
|
|
14897
14886
|
};
|
|
14898
|
-
const _hoisted_4$
|
|
14899
|
-
const _hoisted_5$
|
|
14900
|
-
const _sfc_main$
|
|
14887
|
+
const _hoisted_4$s = ["placeholder"];
|
|
14888
|
+
const _hoisted_5$m = { class: "list-content grid auto-flow-rows align-items-start" };
|
|
14889
|
+
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
14901
14890
|
__name: "ListView",
|
|
14902
14891
|
props: {
|
|
14903
14892
|
enableAdd: { type: Boolean },
|
|
@@ -14913,17 +14902,17 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
14913
14902
|
debounce(() => emit2("debounce", searchTerm.value));
|
|
14914
14903
|
};
|
|
14915
14904
|
return (_ctx, _cache) => {
|
|
14916
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
14917
|
-
createElementVNode("div", _hoisted_2$
|
|
14918
|
-
_ctx.enableSearch ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
14905
|
+
return openBlock(), createElementBlock("div", _hoisted_1$X, [
|
|
14906
|
+
createElementVNode("div", _hoisted_2$O, [
|
|
14907
|
+
_ctx.enableSearch ? (openBlock(), createElementBlock("div", _hoisted_3$H, [
|
|
14919
14908
|
withDirectives(createElementVNode("input", {
|
|
14920
14909
|
placeholder: _ctx.searchPlaceholder,
|
|
14921
14910
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => searchTerm.value = $event),
|
|
14922
14911
|
onInput: _cache[1] || (_cache[1] = ($event) => search())
|
|
14923
|
-
}, null, 40, _hoisted_4$
|
|
14912
|
+
}, null, 40, _hoisted_4$s), [
|
|
14924
14913
|
[vModelText, searchTerm.value]
|
|
14925
14914
|
]),
|
|
14926
|
-
createVNode(unref(_sfc_main$
|
|
14915
|
+
createVNode(unref(_sfc_main$W), {
|
|
14927
14916
|
class: "txtgray",
|
|
14928
14917
|
icon: "search"
|
|
14929
14918
|
})
|
|
@@ -14934,16 +14923,16 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
14934
14923
|
onClick: _cache[2] || (_cache[2] = ($event) => emit2("add"))
|
|
14935
14924
|
})) : createCommentVNode("", true)
|
|
14936
14925
|
]),
|
|
14937
|
-
createElementVNode("div", _hoisted_5$
|
|
14926
|
+
createElementVNode("div", _hoisted_5$m, [
|
|
14938
14927
|
renderSlot(_ctx.$slots, "default")
|
|
14939
14928
|
])
|
|
14940
14929
|
]);
|
|
14941
14930
|
};
|
|
14942
14931
|
}
|
|
14943
14932
|
});
|
|
14944
|
-
const _hoisted_1$
|
|
14945
|
-
const _hoisted_2$
|
|
14946
|
-
const _sfc_main$
|
|
14933
|
+
const _hoisted_1$W = { class: "txt16 no-margin" };
|
|
14934
|
+
const _hoisted_2$N = { class: "txt14 no-margin txtgray" };
|
|
14935
|
+
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
14947
14936
|
__name: "ListItem",
|
|
14948
14937
|
props: {
|
|
14949
14938
|
to: {}
|
|
@@ -14955,10 +14944,10 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
14955
14944
|
class: "list-item ellipsis"
|
|
14956
14945
|
}, {
|
|
14957
14946
|
default: withCtx(() => [
|
|
14958
|
-
createElementVNode("p", _hoisted_1$
|
|
14947
|
+
createElementVNode("p", _hoisted_1$W, [
|
|
14959
14948
|
renderSlot(_ctx.$slots, "default")
|
|
14960
14949
|
]),
|
|
14961
|
-
createElementVNode("p", _hoisted_2$
|
|
14950
|
+
createElementVNode("p", _hoisted_2$N, [
|
|
14962
14951
|
renderSlot(_ctx.$slots, "subtitle")
|
|
14963
14952
|
])
|
|
14964
14953
|
]),
|
|
@@ -14967,11 +14956,11 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
14967
14956
|
};
|
|
14968
14957
|
}
|
|
14969
14958
|
});
|
|
14970
|
-
const _hoisted_1$
|
|
14971
|
-
const _hoisted_2$
|
|
14972
|
-
const _hoisted_3$
|
|
14973
|
-
const _hoisted_4$
|
|
14974
|
-
const _sfc_main$
|
|
14959
|
+
const _hoisted_1$V = { class: "h-100 grid list-view gap-3" };
|
|
14960
|
+
const _hoisted_2$M = { class: "card tabs-top" };
|
|
14961
|
+
const _hoisted_3$G = { class: "tabs grid auto-flow-columns fit-content" };
|
|
14962
|
+
const _hoisted_4$r = ["onClick"];
|
|
14963
|
+
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
14975
14964
|
__name: "TabbedLayout",
|
|
14976
14965
|
props: {
|
|
14977
14966
|
title: {},
|
|
@@ -14999,10 +14988,10 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
14999
14988
|
activeTab.value = firstTab;
|
|
15000
14989
|
});
|
|
15001
14990
|
return (_ctx, _cache) => {
|
|
15002
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
15003
|
-
createElementVNode("div", _hoisted_2$
|
|
14991
|
+
return openBlock(), createElementBlock("div", _hoisted_1$V, [
|
|
14992
|
+
createElementVNode("div", _hoisted_2$M, [
|
|
15004
14993
|
renderSlot(_ctx.$slots, "top-section", {}, void 0, true),
|
|
15005
|
-
createElementVNode("div", _hoisted_3$
|
|
14994
|
+
createElementVNode("div", _hoisted_3$G, [
|
|
15006
14995
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.tabs, (tab) => {
|
|
15007
14996
|
return openBlock(), createElementBlock("div", {
|
|
15008
14997
|
class: normalizeClass([{
|
|
@@ -15010,7 +14999,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
15010
14999
|
}, "tab"]),
|
|
15011
15000
|
key: tab,
|
|
15012
15001
|
onClick: ($event) => changeTab(tab)
|
|
15013
|
-
}, toDisplayString(tab), 11, _hoisted_4$
|
|
15002
|
+
}, toDisplayString(tab), 11, _hoisted_4$r);
|
|
15014
15003
|
}), 128))
|
|
15015
15004
|
])
|
|
15016
15005
|
]),
|
|
@@ -15026,16 +15015,16 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
15026
15015
|
};
|
|
15027
15016
|
}
|
|
15028
15017
|
});
|
|
15029
|
-
const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15030
|
-
const _hoisted_1$
|
|
15031
|
-
const _hoisted_2$
|
|
15032
|
-
const _hoisted_3$
|
|
15033
|
-
const _hoisted_4$
|
|
15034
|
-
const _hoisted_5$
|
|
15035
|
-
const _hoisted_6$
|
|
15018
|
+
const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-3941cced"]]);
|
|
15019
|
+
const _hoisted_1$U = { class: "comments-wrap" };
|
|
15020
|
+
const _hoisted_2$L = { class: "comment-list" };
|
|
15021
|
+
const _hoisted_3$F = { class: "comment-top" };
|
|
15022
|
+
const _hoisted_4$q = { class: "comment-owner" };
|
|
15023
|
+
const _hoisted_5$l = { class: "comment-time" };
|
|
15024
|
+
const _hoisted_6$h = { class: "comment-actions" };
|
|
15036
15025
|
const _hoisted_7$c = ["innerHTML"];
|
|
15037
15026
|
const _hoisted_8$6 = { class: "new-comment" };
|
|
15038
|
-
const _sfc_main$
|
|
15027
|
+
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
15039
15028
|
__name: "Comments",
|
|
15040
15029
|
props: {
|
|
15041
15030
|
ref_table: {},
|
|
@@ -15078,8 +15067,8 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
15078
15067
|
void fetchData();
|
|
15079
15068
|
};
|
|
15080
15069
|
return (_ctx, _cache) => {
|
|
15081
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
15082
|
-
createElementVNode("div", _hoisted_2$
|
|
15070
|
+
return openBlock(), createElementBlock("div", _hoisted_1$U, [
|
|
15071
|
+
createElementVNode("div", _hoisted_2$L, [
|
|
15083
15072
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(comments), (comment) => {
|
|
15084
15073
|
var _a2, _b, _c;
|
|
15085
15074
|
return openBlock(), createElementBlock("div", {
|
|
@@ -15089,23 +15078,23 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
15089
15078
|
}, "comment"]),
|
|
15090
15079
|
key: comment.id
|
|
15091
15080
|
}, [
|
|
15092
|
-
createElementVNode("div", _hoisted_3$
|
|
15093
|
-
createElementVNode("div", _hoisted_4$
|
|
15094
|
-
createElementVNode("div", _hoisted_5$
|
|
15095
|
-
createElementVNode("div", _hoisted_6$
|
|
15096
|
-
createVNode(unref(_sfc_main$
|
|
15081
|
+
createElementVNode("div", _hoisted_3$F, [
|
|
15082
|
+
createElementVNode("div", _hoisted_4$q, toDisplayString(comment.sender.first_name) + " " + toDisplayString(comment.sender.last_name), 1),
|
|
15083
|
+
createElementVNode("div", _hoisted_5$l, toDisplayString(comment.updated_at.split("T")[0]), 1),
|
|
15084
|
+
createElementVNode("div", _hoisted_6$h, [
|
|
15085
|
+
createVNode(unref(_sfc_main$W), {
|
|
15097
15086
|
size: 1,
|
|
15098
15087
|
class: "edit",
|
|
15099
15088
|
icon: "edit",
|
|
15100
15089
|
onClick: ($event) => isRef(editComment) ? editComment.value = comment : editComment = comment
|
|
15101
15090
|
}, null, 8, ["onClick"]),
|
|
15102
|
-
createVNode(unref(_sfc_main$
|
|
15091
|
+
createVNode(unref(_sfc_main$W), {
|
|
15103
15092
|
size: 1.2,
|
|
15104
15093
|
class: "delete",
|
|
15105
15094
|
icon: "delete",
|
|
15106
15095
|
onClick: ($event) => deleteComment(comment.id)
|
|
15107
15096
|
}, null, 8, ["onClick"]),
|
|
15108
|
-
createVNode(unref(_sfc_main$
|
|
15097
|
+
createVNode(unref(_sfc_main$W), {
|
|
15109
15098
|
size: 1.2,
|
|
15110
15099
|
class: "save",
|
|
15111
15100
|
icon: "save",
|
|
@@ -15113,7 +15102,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
15113
15102
|
})
|
|
15114
15103
|
])
|
|
15115
15104
|
]),
|
|
15116
|
-
unref(editComment) !== null && ((_c = unref(editComment)) == null ? void 0 : _c.id) === comment.id ? (openBlock(), createBlock(unref(_sfc_main$
|
|
15105
|
+
unref(editComment) !== null && ((_c = unref(editComment)) == null ? void 0 : _c.id) === comment.id ? (openBlock(), createBlock(unref(_sfc_main$X), {
|
|
15117
15106
|
key: 0,
|
|
15118
15107
|
modelValue: unref(editComment).body_html,
|
|
15119
15108
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(editComment).body_html = $event),
|
|
@@ -15127,7 +15116,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
15127
15116
|
}), 128))
|
|
15128
15117
|
]),
|
|
15129
15118
|
createElementVNode("div", _hoisted_8$6, [
|
|
15130
|
-
createVNode(unref(_sfc_main$
|
|
15119
|
+
createVNode(unref(_sfc_main$X), {
|
|
15131
15120
|
class: "comment-input",
|
|
15132
15121
|
modelValue: unref(bodyHtml),
|
|
15133
15122
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(bodyHtml) ? bodyHtml.value = $event : bodyHtml = $event),
|
|
@@ -15147,10 +15136,10 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
15147
15136
|
};
|
|
15148
15137
|
}
|
|
15149
15138
|
});
|
|
15150
|
-
const Comments = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15151
|
-
const _hoisted_1$
|
|
15152
|
-
const _hoisted_2$
|
|
15153
|
-
const _sfc_main$
|
|
15139
|
+
const Comments = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-2eead7c8"]]);
|
|
15140
|
+
const _hoisted_1$T = { class: "page-top" };
|
|
15141
|
+
const _hoisted_2$K = { class: "top-title" };
|
|
15142
|
+
const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
15154
15143
|
__name: "PageTitle",
|
|
15155
15144
|
props: {
|
|
15156
15145
|
value: {
|
|
@@ -15160,8 +15149,8 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
15160
15149
|
},
|
|
15161
15150
|
setup(__props) {
|
|
15162
15151
|
return (_ctx, _cache) => {
|
|
15163
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
15164
|
-
createElementVNode("h1", _hoisted_2$
|
|
15152
|
+
return openBlock(), createElementBlock("div", _hoisted_1$T, [
|
|
15153
|
+
createElementVNode("h1", _hoisted_2$K, [
|
|
15165
15154
|
renderSlot(_ctx.$slots, "default"),
|
|
15166
15155
|
createTextVNode(" " + toDisplayString(__props.value), 1)
|
|
15167
15156
|
])
|
|
@@ -15169,9 +15158,9 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
15169
15158
|
};
|
|
15170
15159
|
}
|
|
15171
15160
|
});
|
|
15172
|
-
const _hoisted_1$
|
|
15173
|
-
const _hoisted_2$
|
|
15174
|
-
const _sfc_main$
|
|
15161
|
+
const _hoisted_1$S = { class: "tool-bar" };
|
|
15162
|
+
const _hoisted_2$J = { class: "modal-title" };
|
|
15163
|
+
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
15175
15164
|
__name: "ModalForm",
|
|
15176
15165
|
props: {
|
|
15177
15166
|
side: { type: Boolean },
|
|
@@ -15244,7 +15233,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
15244
15233
|
onClick: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
15245
15234
|
}, ["stop"]))
|
|
15246
15235
|
}, [
|
|
15247
|
-
createElementVNode("header", _hoisted_1$
|
|
15236
|
+
createElementVNode("header", _hoisted_1$S, [
|
|
15248
15237
|
renderSlot(_ctx.$slots, "toolbar", {}, void 0, true),
|
|
15249
15238
|
createVNode(unref(Btn), {
|
|
15250
15239
|
style: normalizeStyle({ float: _ctx.side ? "left" : "right" }),
|
|
@@ -15252,9 +15241,9 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
15252
15241
|
icon: "close",
|
|
15253
15242
|
onClick: closeModal
|
|
15254
15243
|
}, null, 8, ["style"]),
|
|
15255
|
-
createElementVNode("h3", _hoisted_2$
|
|
15244
|
+
createElementVNode("h3", _hoisted_2$J, toDisplayString(_ctx.title), 1)
|
|
15256
15245
|
]),
|
|
15257
|
-
createVNode(unref(_sfc_main$
|
|
15246
|
+
createVNode(unref(_sfc_main$L), {
|
|
15258
15247
|
onDelete: _ctx.onDelete ? runDelete : void 0,
|
|
15259
15248
|
modelValue: _ctx.modelValue,
|
|
15260
15249
|
"onUpdate:modelValue": handleEmit,
|
|
@@ -15266,8 +15255,8 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
15266
15255
|
};
|
|
15267
15256
|
}
|
|
15268
15257
|
});
|
|
15269
|
-
const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15270
|
-
const _sfc_main$
|
|
15258
|
+
const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-1799b7d0"]]);
|
|
15259
|
+
const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
15271
15260
|
__name: "FormSchema",
|
|
15272
15261
|
props: {
|
|
15273
15262
|
modelValue: {},
|
|
@@ -15340,14 +15329,14 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
15340
15329
|
};
|
|
15341
15330
|
}
|
|
15342
15331
|
});
|
|
15343
|
-
const _hoisted_1$
|
|
15344
|
-
const _hoisted_2$
|
|
15345
|
-
const _hoisted_3$
|
|
15346
|
-
const _hoisted_4$
|
|
15347
|
-
const _hoisted_5$
|
|
15348
|
-
const _hoisted_6$
|
|
15332
|
+
const _hoisted_1$R = { class: "table-list-wrap h-100" };
|
|
15333
|
+
const _hoisted_2$I = { class: "infinite-wrapper" };
|
|
15334
|
+
const _hoisted_3$E = { class: "row first-row" };
|
|
15335
|
+
const _hoisted_4$p = ["onClick"];
|
|
15336
|
+
const _hoisted_5$k = { class: "flex" };
|
|
15337
|
+
const _hoisted_6$g = ["onClick"];
|
|
15349
15338
|
const _hoisted_7$b = { key: 1 };
|
|
15350
|
-
const _sfc_main$
|
|
15339
|
+
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
15351
15340
|
__name: "TableSchema",
|
|
15352
15341
|
props: {
|
|
15353
15342
|
data: {},
|
|
@@ -15362,7 +15351,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
15362
15351
|
const selectElement = (data2) => {
|
|
15363
15352
|
emit2("select", data2);
|
|
15364
15353
|
};
|
|
15365
|
-
const
|
|
15354
|
+
const bindAttrs2 = (attrs, field, row) => {
|
|
15366
15355
|
const arr = Object.entries(attrs || {}).map(([key, value]) => [
|
|
15367
15356
|
key,
|
|
15368
15357
|
typeof value === "function" ? value(field, row) : value
|
|
@@ -15393,27 +15382,27 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
15393
15382
|
}
|
|
15394
15383
|
);
|
|
15395
15384
|
return (_ctx, _cache) => {
|
|
15396
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
15397
|
-
createElementVNode("table", _hoisted_2$
|
|
15398
|
-
createElementVNode("thead", _hoisted_3$
|
|
15385
|
+
return openBlock(), createElementBlock("div", _hoisted_1$R, [
|
|
15386
|
+
createElementVNode("table", _hoisted_2$I, [
|
|
15387
|
+
createElementVNode("thead", _hoisted_3$E, [
|
|
15399
15388
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(columns.value, (field) => {
|
|
15400
15389
|
return openBlock(), createElementBlock("th", {
|
|
15401
15390
|
class: "col",
|
|
15402
15391
|
key: field.id,
|
|
15403
15392
|
onClick: ($event) => sort2(field.id)
|
|
15404
15393
|
}, [
|
|
15405
|
-
createElementVNode("div", _hoisted_5$
|
|
15394
|
+
createElementVNode("div", _hoisted_5$k, [
|
|
15406
15395
|
createTextVNode(toDisplayString((field == null ? void 0 : field.label) || (field == null ? void 0 : field.id)) + " ", 1),
|
|
15407
15396
|
createElementVNode("div", {
|
|
15408
15397
|
class: normalizeClass(["list-arrows", { sorted: unref(sortField) === field.id }])
|
|
15409
15398
|
}, [
|
|
15410
|
-
createVNode(unref(_sfc_main$
|
|
15399
|
+
createVNode(unref(_sfc_main$W), {
|
|
15411
15400
|
class: normalizeClass({ desc: unref(sortDirection) === "DESC" }),
|
|
15412
15401
|
icon: "keyboard_arrow_up"
|
|
15413
15402
|
}, null, 8, ["class"])
|
|
15414
15403
|
], 2)
|
|
15415
15404
|
])
|
|
15416
|
-
], 8, _hoisted_4$
|
|
15405
|
+
], 8, _hoisted_4$p);
|
|
15417
15406
|
}), 128))
|
|
15418
15407
|
]),
|
|
15419
15408
|
createElementVNode("tbody", {
|
|
@@ -15437,7 +15426,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
15437
15426
|
row,
|
|
15438
15427
|
field
|
|
15439
15428
|
}, void 0, true) : (openBlock(), createElementBlock("div", _hoisted_7$b, [
|
|
15440
|
-
(field["v-if"] ? field["v-if"](row[field.id], row) : true) ? (openBlock(), createBlock(resolveDynamicComponent(field.$el || field.$cmp || "div"), mergeProps({ key: 0 },
|
|
15429
|
+
(field["v-if"] ? field["v-if"](row[field.id], row) : true) ? (openBlock(), createBlock(resolveDynamicComponent(field.$el || field.$cmp || "div"), mergeProps({ key: 0 }, bindAttrs2(field.attrs, row[field.id], row), {
|
|
15441
15430
|
src: field.$el === "img" ? (_a2 = row[field.id]) == null ? void 0 : _a2.url : "",
|
|
15442
15431
|
"onUpdate:modelValue": ($event) => {
|
|
15443
15432
|
var _a3;
|
|
@@ -15456,7 +15445,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
15456
15445
|
]))
|
|
15457
15446
|
]);
|
|
15458
15447
|
}), 128))
|
|
15459
|
-
], 8, _hoisted_6$
|
|
15448
|
+
], 8, _hoisted_6$g);
|
|
15460
15449
|
}), 128))
|
|
15461
15450
|
], 2)
|
|
15462
15451
|
])
|
|
@@ -15464,16 +15453,16 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
15464
15453
|
};
|
|
15465
15454
|
}
|
|
15466
15455
|
});
|
|
15467
|
-
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15468
|
-
const _sfc_main$
|
|
15469
|
-
const _hoisted_1$
|
|
15456
|
+
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-f3a410c2"]]);
|
|
15457
|
+
const _sfc_main$J = {};
|
|
15458
|
+
const _hoisted_1$Q = { class: "flex space-between" };
|
|
15470
15459
|
function _sfc_render$1(_ctx, _cache) {
|
|
15471
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
15460
|
+
return openBlock(), createElementBlock("div", _hoisted_1$Q, [
|
|
15472
15461
|
renderSlot(_ctx.$slots, "default")
|
|
15473
15462
|
]);
|
|
15474
15463
|
}
|
|
15475
|
-
const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15476
|
-
const _sfc_main$
|
|
15464
|
+
const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["render", _sfc_render$1]]);
|
|
15465
|
+
const _sfc_main$I = {};
|
|
15477
15466
|
function _sfc_render(_ctx, _cache) {
|
|
15478
15467
|
const _component_router_view = resolveComponent("router-view");
|
|
15479
15468
|
return openBlock(), createBlock(_component_router_view, null, {
|
|
@@ -15495,9 +15484,9 @@ function _sfc_render(_ctx, _cache) {
|
|
|
15495
15484
|
_: 1
|
|
15496
15485
|
});
|
|
15497
15486
|
}
|
|
15498
|
-
const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15499
|
-
const _hoisted_1$
|
|
15500
|
-
const _sfc_main$
|
|
15487
|
+
const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["render", _sfc_render]]);
|
|
15488
|
+
const _hoisted_1$P = { class: "card h-100 thin" };
|
|
15489
|
+
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
15501
15490
|
__name: "ContactSubmissions",
|
|
15502
15491
|
props: {
|
|
15503
15492
|
person_id: {
|
|
@@ -15527,7 +15516,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
15527
15516
|
void getData();
|
|
15528
15517
|
});
|
|
15529
15518
|
return (_ctx, _cache) => {
|
|
15530
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
15519
|
+
return openBlock(), createElementBlock("div", _hoisted_1$P, [
|
|
15531
15520
|
createVNode(unref(TableSchema), {
|
|
15532
15521
|
schema: schema2,
|
|
15533
15522
|
data: unref(data2)
|
|
@@ -15536,15 +15525,15 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
15536
15525
|
};
|
|
15537
15526
|
}
|
|
15538
15527
|
});
|
|
15539
|
-
const _hoisted_1$
|
|
15528
|
+
const _hoisted_1$O = {
|
|
15540
15529
|
key: 0,
|
|
15541
15530
|
class: "person-card-edit flex gap-2"
|
|
15542
15531
|
};
|
|
15543
|
-
const _hoisted_2$
|
|
15544
|
-
const _hoisted_3$
|
|
15545
|
-
const _hoisted_4$
|
|
15546
|
-
const _hoisted_5$
|
|
15547
|
-
const _hoisted_6$
|
|
15532
|
+
const _hoisted_2$H = { class: "person-card-icon-wrap" };
|
|
15533
|
+
const _hoisted_3$D = { class: "person-card-icon" };
|
|
15534
|
+
const _hoisted_4$o = { class: "person-card-name txt20" };
|
|
15535
|
+
const _hoisted_5$j = { class: "person-card-details-wrap" };
|
|
15536
|
+
const _hoisted_6$f = {
|
|
15548
15537
|
key: 0,
|
|
15549
15538
|
class: "person-card-details"
|
|
15550
15539
|
};
|
|
@@ -15558,7 +15547,7 @@ const _hoisted_8$5 = {
|
|
|
15558
15547
|
};
|
|
15559
15548
|
const _hoisted_9$3 = { key: 0 };
|
|
15560
15549
|
const _hoisted_10$3 = { key: 1 };
|
|
15561
|
-
const _sfc_main$
|
|
15550
|
+
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
15562
15551
|
__name: "PersonPreview",
|
|
15563
15552
|
props: {
|
|
15564
15553
|
person: {},
|
|
@@ -15588,7 +15577,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
15588
15577
|
(...args) => _ctx.onClick && _ctx.onClick(...args)),
|
|
15589
15578
|
class: "person-card"
|
|
15590
15579
|
}, [
|
|
15591
|
-
!_ctx.onClick ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
15580
|
+
!_ctx.onClick ? (openBlock(), createElementBlock("div", _hoisted_1$O, [
|
|
15592
15581
|
!_ctx.$route.path.match("/search") ? (openBlock(), createBlock(unref(Btn), {
|
|
15593
15582
|
key: 0,
|
|
15594
15583
|
round: "",
|
|
@@ -15605,13 +15594,13 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
15605
15594
|
icon: "edit"
|
|
15606
15595
|
})
|
|
15607
15596
|
])) : createCommentVNode("", true),
|
|
15608
|
-
createElementVNode("div", _hoisted_2$
|
|
15609
|
-
createElementVNode("p", _hoisted_3$
|
|
15610
|
-
createElementVNode("p", _hoisted_4$
|
|
15597
|
+
createElementVNode("div", _hoisted_2$H, [
|
|
15598
|
+
createElementVNode("p", _hoisted_3$D, toDisplayString(unref(initials)(_ctx.person.first_name, _ctx.person.last_name)), 1),
|
|
15599
|
+
createElementVNode("p", _hoisted_4$o, toDisplayString(_ctx.person.first_name) + " " + toDisplayString(_ctx.person.last_name), 1)
|
|
15611
15600
|
]),
|
|
15612
|
-
createElementVNode("div", _hoisted_5$
|
|
15613
|
-
((_a2 = _ctx.person.phone) == null ? void 0 : _a2.length) ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
15614
|
-
createVNode(unref(_sfc_main$
|
|
15601
|
+
createElementVNode("div", _hoisted_5$j, [
|
|
15602
|
+
((_a2 = _ctx.person.phone) == null ? void 0 : _a2.length) ? (openBlock(), createElementBlock("div", _hoisted_6$f, [
|
|
15603
|
+
createVNode(unref(_sfc_main$W), { icon: "phone" }),
|
|
15615
15604
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.person.phone, (phone) => {
|
|
15616
15605
|
return openBlock(), createElementBlock("p", {
|
|
15617
15606
|
key: phone.id
|
|
@@ -15619,7 +15608,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
15619
15608
|
}), 128))
|
|
15620
15609
|
])) : createCommentVNode("", true),
|
|
15621
15610
|
((_b = _ctx.person.email) == null ? void 0 : _b.length) ? (openBlock(), createElementBlock("div", _hoisted_7$a, [
|
|
15622
|
-
createVNode(unref(_sfc_main$
|
|
15611
|
+
createVNode(unref(_sfc_main$W), { icon: "email" }),
|
|
15623
15612
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.person.email, (email) => {
|
|
15624
15613
|
return openBlock(), createElementBlock("p", {
|
|
15625
15614
|
key: email.id
|
|
@@ -15627,7 +15616,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
15627
15616
|
}), 128))
|
|
15628
15617
|
])) : createCommentVNode("", true),
|
|
15629
15618
|
_ctx.person.date_of_birth || _ctx.person.gender ? (openBlock(), createElementBlock("div", _hoisted_8$5, [
|
|
15630
|
-
createVNode(unref(_sfc_main$
|
|
15619
|
+
createVNode(unref(_sfc_main$W), { icon: "badge" }),
|
|
15631
15620
|
_ctx.person.date_of_birth ? (openBlock(), createElementBlock("p", _hoisted_9$3, toDisplayString(_ctx.person.date_of_birth), 1)) : createCommentVNode("", true),
|
|
15632
15621
|
_ctx.person.gender ? (openBlock(), createElementBlock("p", _hoisted_10$3, toDisplayString(_ctx.person.gender), 1)) : createCommentVNode("", true)
|
|
15633
15622
|
])) : createCommentVNode("", true)
|
|
@@ -15636,23 +15625,23 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
15636
15625
|
};
|
|
15637
15626
|
}
|
|
15638
15627
|
});
|
|
15639
|
-
const _hoisted_1$
|
|
15628
|
+
const _hoisted_1$N = {
|
|
15640
15629
|
key: 0,
|
|
15641
15630
|
class: "data"
|
|
15642
15631
|
};
|
|
15643
|
-
const _hoisted_2$
|
|
15632
|
+
const _hoisted_2$G = {
|
|
15644
15633
|
key: 0,
|
|
15645
15634
|
class: "mb-3 mt-0"
|
|
15646
15635
|
};
|
|
15647
|
-
const _hoisted_3$
|
|
15636
|
+
const _hoisted_3$C = {
|
|
15648
15637
|
key: 0,
|
|
15649
15638
|
class: "data-row"
|
|
15650
15639
|
};
|
|
15651
|
-
const _hoisted_4$
|
|
15652
|
-
const _hoisted_5$
|
|
15653
|
-
const _hoisted_6$
|
|
15640
|
+
const _hoisted_4$n = { class: "key" };
|
|
15641
|
+
const _hoisted_5$i = { key: 1 };
|
|
15642
|
+
const _hoisted_6$e = { class: "key" };
|
|
15654
15643
|
const _hoisted_7$9 = { class: "vlue" };
|
|
15655
|
-
const _sfc_main$
|
|
15644
|
+
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
15656
15645
|
__name: "DataPreview",
|
|
15657
15646
|
props: {
|
|
15658
15647
|
data: {},
|
|
@@ -15664,7 +15653,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
15664
15653
|
const keysToIgnore = ["id", "person_id", "person", "created_at", "updated_at"];
|
|
15665
15654
|
const props2 = __props;
|
|
15666
15655
|
const itemData = ref(props2.data);
|
|
15667
|
-
const
|
|
15656
|
+
const bindAttrs2 = (attrs, field, row) => {
|
|
15668
15657
|
const arr = Object.entries(attrs || {}).map(([key, value]) => [
|
|
15669
15658
|
key,
|
|
15670
15659
|
typeof value === "function" ? value(field, row) : value
|
|
@@ -15674,14 +15663,14 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
15674
15663
|
};
|
|
15675
15664
|
return (_ctx, _cache) => {
|
|
15676
15665
|
var _a2;
|
|
15677
|
-
return _ctx.data ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
15678
|
-
_ctx.title ? (openBlock(), createElementBlock("h3", _hoisted_2$
|
|
15666
|
+
return _ctx.data ? (openBlock(), createElementBlock("div", _hoisted_1$N, [
|
|
15667
|
+
_ctx.title ? (openBlock(), createElementBlock("h3", _hoisted_2$G, toDisplayString(_ctx.title), 1)) : createCommentVNode("", true),
|
|
15679
15668
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.schema || [], (field) => {
|
|
15680
15669
|
return openBlock(), createElementBlock(Fragment$1, {
|
|
15681
15670
|
key: field.id
|
|
15682
15671
|
}, [
|
|
15683
|
-
(field["v-if"] ? field["v-if"](itemData.value[field.id], itemData.value) : true) ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
15684
|
-
createElementVNode("div", _hoisted_4$
|
|
15672
|
+
(field["v-if"] ? field["v-if"](itemData.value[field.id], itemData.value) : true) ? (openBlock(), createElementBlock("div", _hoisted_3$C, [
|
|
15673
|
+
createElementVNode("div", _hoisted_4$n, toDisplayString((field == null ? void 0 : field.label) || unref(keyToLabel)(field.id)), 1),
|
|
15685
15674
|
(openBlock(), createBlock(resolveDynamicComponent(field.$el || "div"), mergeProps({
|
|
15686
15675
|
class: "vlue",
|
|
15687
15676
|
modelValue: itemData.value[field.id],
|
|
@@ -15689,7 +15678,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
15689
15678
|
var _a3;
|
|
15690
15679
|
return (_a3 = field == null ? void 0 : field.onUpdate) == null ? void 0 : _a3.call(field, $event, _ctx.data[field.id], itemData.value);
|
|
15691
15680
|
}]
|
|
15692
|
-
},
|
|
15681
|
+
}, bindAttrs2(field.attrs, itemData.value[field.id], itemData.value)), {
|
|
15693
15682
|
default: withCtx(() => {
|
|
15694
15683
|
var _a3;
|
|
15695
15684
|
return [
|
|
@@ -15701,7 +15690,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
15701
15690
|
])) : createCommentVNode("", true)
|
|
15702
15691
|
], 64);
|
|
15703
15692
|
}), 128)),
|
|
15704
|
-
!((_a2 = _ctx.schema) == null ? void 0 : _a2.length) ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
15693
|
+
!((_a2 = _ctx.schema) == null ? void 0 : _a2.length) ? (openBlock(), createElementBlock("div", _hoisted_5$i, [
|
|
15705
15694
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(Object.entries(itemData.value).filter(
|
|
15706
15695
|
([key]) => !keysToIgnore.includes(key)
|
|
15707
15696
|
), ([key, value]) => {
|
|
@@ -15709,7 +15698,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
15709
15698
|
class: "data-row",
|
|
15710
15699
|
key
|
|
15711
15700
|
}, [
|
|
15712
|
-
createElementVNode("div", _hoisted_6$
|
|
15701
|
+
createElementVNode("div", _hoisted_6$e, toDisplayString(unref(i18nT)(unref(keyToLabel)(key))), 1),
|
|
15713
15702
|
createElementVNode("div", _hoisted_7$9, toDisplayString(value), 1)
|
|
15714
15703
|
]);
|
|
15715
15704
|
}), 128))
|
|
@@ -15719,23 +15708,23 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
15719
15708
|
};
|
|
15720
15709
|
}
|
|
15721
15710
|
});
|
|
15722
|
-
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15711
|
+
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-dc2757c4"]]);
|
|
15723
15712
|
const _withScopeId$2 = (n) => (pushScopeId("data-v-fe5af582"), n = n(), popScopeId(), n);
|
|
15724
|
-
const _hoisted_1$
|
|
15725
|
-
const _hoisted_2$
|
|
15713
|
+
const _hoisted_1$M = { class: "bar-chart" };
|
|
15714
|
+
const _hoisted_2$F = {
|
|
15726
15715
|
key: 0,
|
|
15727
15716
|
class: "group-wrap"
|
|
15728
15717
|
};
|
|
15729
|
-
const _hoisted_3$
|
|
15730
|
-
const _hoisted_4$
|
|
15718
|
+
const _hoisted_3$B = { class: "group-title" };
|
|
15719
|
+
const _hoisted_4$m = {
|
|
15731
15720
|
key: 1,
|
|
15732
15721
|
class: "bar-wrap"
|
|
15733
15722
|
};
|
|
15734
|
-
const _hoisted_5$
|
|
15735
|
-
const _hoisted_6$
|
|
15723
|
+
const _hoisted_5$h = { class: "bar-txt" };
|
|
15724
|
+
const _hoisted_6$d = { class: "factor" };
|
|
15736
15725
|
const _hoisted_7$8 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", { class: "red-bar" }, null, -1));
|
|
15737
15726
|
const _hoisted_8$4 = { class: "bar-lines" };
|
|
15738
|
-
const _sfc_main$
|
|
15727
|
+
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
15739
15728
|
__name: "BarChart",
|
|
15740
15729
|
props: {
|
|
15741
15730
|
title: {},
|
|
@@ -15787,14 +15776,14 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
15787
15776
|
const percent = (val) => val / maxValue.value * 100;
|
|
15788
15777
|
const floodPercent = computed(() => `${props2.flood}%`);
|
|
15789
15778
|
return (_ctx, _cache) => {
|
|
15790
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
15779
|
+
return openBlock(), createElementBlock("div", _hoisted_1$M, [
|
|
15791
15780
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(dataArray.value, (item, i3) => {
|
|
15792
15781
|
return openBlock(), createElementBlock("div", {
|
|
15793
15782
|
class: "graph-wrap",
|
|
15794
15783
|
key: i3
|
|
15795
15784
|
}, [
|
|
15796
|
-
item.group ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
15797
|
-
createElementVNode("p", _hoisted_3$
|
|
15785
|
+
item.group ? (openBlock(), createElementBlock("div", _hoisted_2$F, [
|
|
15786
|
+
createElementVNode("p", _hoisted_3$B, toDisplayString(item.group), 1),
|
|
15798
15787
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList((item == null ? void 0 : item.data) || [], (nested, i22) => {
|
|
15799
15788
|
return openBlock(), createElementBlock("div", {
|
|
15800
15789
|
key: i22,
|
|
@@ -15813,7 +15802,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
15813
15802
|
}, null, 4)) : createCommentVNode("", true)
|
|
15814
15803
|
]);
|
|
15815
15804
|
}), 128))
|
|
15816
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_4$
|
|
15805
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_4$m, [
|
|
15817
15806
|
createElementVNode("div", {
|
|
15818
15807
|
class: "bar",
|
|
15819
15808
|
style: normalizeStyle({ height: loaded.value ? `${percent(item.value)}%` : "0" })
|
|
@@ -15823,11 +15812,11 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
15823
15812
|
class: "bar compare",
|
|
15824
15813
|
style: normalizeStyle({ height: loaded.value ? `${percent(item.compareValue)}%` : "0" })
|
|
15825
15814
|
}, null, 4)) : createCommentVNode("", true),
|
|
15826
|
-
createElementVNode("p", _hoisted_5$
|
|
15815
|
+
createElementVNode("p", _hoisted_5$h, toDisplayString(item.title), 1)
|
|
15827
15816
|
]))
|
|
15828
15817
|
]);
|
|
15829
15818
|
}), 128)),
|
|
15830
|
-
createElementVNode("p", _hoisted_6$
|
|
15819
|
+
createElementVNode("p", _hoisted_6$d, toDisplayString(_ctx.title), 1),
|
|
15831
15820
|
_hoisted_7$8,
|
|
15832
15821
|
createElementVNode("div", _hoisted_8$4, [
|
|
15833
15822
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(marks2.value, (mark) => {
|
|
@@ -15838,7 +15827,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
15838
15827
|
};
|
|
15839
15828
|
}
|
|
15840
15829
|
});
|
|
15841
|
-
const BarChart = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15830
|
+
const BarChart = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-fe5af582"]]);
|
|
15842
15831
|
const explicitKeys = [
|
|
15843
15832
|
"__key",
|
|
15844
15833
|
"__init",
|
|
@@ -17094,8 +17083,8 @@ function createInput(schemaOrComponent, definitionOptions = {}) {
|
|
|
17094
17083
|
}
|
|
17095
17084
|
return definition;
|
|
17096
17085
|
}
|
|
17097
|
-
const _hoisted_1$
|
|
17098
|
-
const _sfc_main$
|
|
17086
|
+
const _hoisted_1$L = { class: "primary-checkbox" };
|
|
17087
|
+
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
17099
17088
|
__name: "Checkbox",
|
|
17100
17089
|
props: {
|
|
17101
17090
|
modelValue: Boolean
|
|
@@ -17123,7 +17112,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
17123
17112
|
}
|
|
17124
17113
|
);
|
|
17125
17114
|
return (_ctx, _cache) => {
|
|
17126
|
-
return openBlock(), createElementBlock("label", _hoisted_1$
|
|
17115
|
+
return openBlock(), createElementBlock("label", _hoisted_1$L, [
|
|
17127
17116
|
withDirectives(createElementVNode("input", {
|
|
17128
17117
|
type: "checkbox",
|
|
17129
17118
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(val) ? val.value = $event : val = $event)
|
|
@@ -17131,24 +17120,24 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
17131
17120
|
[vModelCheckbox, unref(val)]
|
|
17132
17121
|
]),
|
|
17133
17122
|
createElementVNode("span", null, [
|
|
17134
|
-
createVNode(unref(_sfc_main$
|
|
17123
|
+
createVNode(unref(_sfc_main$W), { icon: "check" })
|
|
17135
17124
|
])
|
|
17136
17125
|
]);
|
|
17137
17126
|
};
|
|
17138
17127
|
}
|
|
17139
17128
|
});
|
|
17140
|
-
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17141
|
-
const _hoisted_1$
|
|
17142
|
-
const _hoisted_2$
|
|
17143
|
-
const _hoisted_3$
|
|
17129
|
+
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-6b168ea9"]]);
|
|
17130
|
+
const _hoisted_1$K = { class: "bagel-input" };
|
|
17131
|
+
const _hoisted_2$E = { class: "mt-1" };
|
|
17132
|
+
const _hoisted_3$A = {
|
|
17144
17133
|
key: 0,
|
|
17145
17134
|
class: "bglform-contact-confirm"
|
|
17146
17135
|
};
|
|
17147
|
-
const _hoisted_4$
|
|
17148
|
-
const _hoisted_5$
|
|
17149
|
-
const _hoisted_6$
|
|
17136
|
+
const _hoisted_4$l = { class: "txt14" };
|
|
17137
|
+
const _hoisted_5$g = ["onUpdate:modelValue", "placeholder"];
|
|
17138
|
+
const _hoisted_6$c = ["onUpdate:modelValue", "placeholder"];
|
|
17150
17139
|
const _hoisted_7$7 = ["onUpdate:modelValue", "placeholder"];
|
|
17151
|
-
const _sfc_main$
|
|
17140
|
+
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
17152
17141
|
__name: "ContactArrayFormKit",
|
|
17153
17142
|
props: {
|
|
17154
17143
|
context: {}
|
|
@@ -17201,16 +17190,16 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
17201
17190
|
}
|
|
17202
17191
|
);
|
|
17203
17192
|
return (_ctx, _cache) => {
|
|
17204
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
17205
|
-
createElementVNode("div", _hoisted_2$
|
|
17193
|
+
return openBlock(), createElementBlock("div", _hoisted_1$K, [
|
|
17194
|
+
createElementVNode("div", _hoisted_2$E, [
|
|
17206
17195
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(val), (contact, i3) => {
|
|
17207
17196
|
var _a2, _b, _c, _d, _e2, _f;
|
|
17208
17197
|
return openBlock(), createElementBlock("div", {
|
|
17209
17198
|
class: "bglform-contact mb-2",
|
|
17210
17199
|
key: i3
|
|
17211
17200
|
}, [
|
|
17212
|
-
unref(deleteCandidate) === i3 ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
17213
|
-
createElementVNode("p", _hoisted_4$
|
|
17201
|
+
unref(deleteCandidate) === i3 ? (openBlock(), createElementBlock("div", _hoisted_3$A, [
|
|
17202
|
+
createElementVNode("p", _hoisted_4$l, toDisplayString((_a2 = formPlaceholders.value) == null ? void 0 : _a2.sure), 1),
|
|
17214
17203
|
createVNode(unref(Btn), {
|
|
17215
17204
|
thin: "",
|
|
17216
17205
|
color: "red",
|
|
@@ -17246,7 +17235,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
17246
17235
|
"onUpdate:modelValue": ($event) => contact.label = $event,
|
|
17247
17236
|
type: "text",
|
|
17248
17237
|
placeholder: (_b = formPlaceholders.value) == null ? void 0 : _b.label
|
|
17249
|
-
}, null, 8, _hoisted_5$
|
|
17238
|
+
}, null, 8, _hoisted_5$g), [
|
|
17250
17239
|
[vModelText, contact.label]
|
|
17251
17240
|
]),
|
|
17252
17241
|
((_c = _ctx.context) == null ? void 0 : _c.id) === "email" ? withDirectives((openBlock(), createElementBlock("input", {
|
|
@@ -17254,7 +17243,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
17254
17243
|
"onUpdate:modelValue": ($event) => contact.email = $event,
|
|
17255
17244
|
placeholder: (_d = formPlaceholders.value) == null ? void 0 : _d.email,
|
|
17256
17245
|
type: "email"
|
|
17257
|
-
}, null, 8, _hoisted_6$
|
|
17246
|
+
}, null, 8, _hoisted_6$c)), [
|
|
17258
17247
|
[vModelText, contact.email]
|
|
17259
17248
|
]) : createCommentVNode("", true),
|
|
17260
17249
|
((_e2 = _ctx.context) == null ? void 0 : _e2.id) === "phone" ? withDirectives((openBlock(), createElementBlock("input", {
|
|
@@ -17293,23 +17282,23 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
17293
17282
|
};
|
|
17294
17283
|
}
|
|
17295
17284
|
});
|
|
17296
|
-
const ContactArrayFormKit = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17297
|
-
const _hoisted_1$
|
|
17298
|
-
const _hoisted_2$
|
|
17299
|
-
const _hoisted_3$
|
|
17285
|
+
const ContactArrayFormKit = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-f93bb259"]]);
|
|
17286
|
+
const _hoisted_1$J = { class: "bagel-input" };
|
|
17287
|
+
const _hoisted_2$D = { class: "mt-1" };
|
|
17288
|
+
const _hoisted_3$z = {
|
|
17300
17289
|
key: 0,
|
|
17301
17290
|
class: "bglform-contact-confirm"
|
|
17302
17291
|
};
|
|
17303
|
-
const _hoisted_4$
|
|
17304
|
-
const _hoisted_5$
|
|
17305
|
-
const _hoisted_6$
|
|
17292
|
+
const _hoisted_4$k = { class: "txt14" };
|
|
17293
|
+
const _hoisted_5$f = ["onUpdate:modelValue", "placeholder"];
|
|
17294
|
+
const _hoisted_6$b = { class: "bglform-contact-address" };
|
|
17306
17295
|
const _hoisted_7$6 = ["onUpdate:modelValue", "placeholder"];
|
|
17307
17296
|
const _hoisted_8$3 = { class: "bglform-contact-address-flex" };
|
|
17308
17297
|
const _hoisted_9$2 = ["onUpdate:modelValue", "placeholder"];
|
|
17309
17298
|
const _hoisted_10$2 = ["onUpdate:modelValue", "placeholder"];
|
|
17310
17299
|
const _hoisted_11$1 = ["onUpdate:modelValue", "placeholder"];
|
|
17311
17300
|
const _hoisted_12$1 = { class: "bglform-address-del" };
|
|
17312
|
-
const _sfc_main$
|
|
17301
|
+
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
17313
17302
|
__name: "AddressArray",
|
|
17314
17303
|
props: {
|
|
17315
17304
|
context: {}
|
|
@@ -17368,16 +17357,16 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
17368
17357
|
}
|
|
17369
17358
|
);
|
|
17370
17359
|
return (_ctx, _cache) => {
|
|
17371
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
17372
|
-
createElementVNode("div", _hoisted_2$
|
|
17360
|
+
return openBlock(), createElementBlock("div", _hoisted_1$J, [
|
|
17361
|
+
createElementVNode("div", _hoisted_2$D, [
|
|
17373
17362
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(val), (address, i3) => {
|
|
17374
17363
|
var _a2, _b, _c, _d, _e2, _f;
|
|
17375
17364
|
return openBlock(), createElementBlock("div", {
|
|
17376
17365
|
class: "bglform-contact mb-3",
|
|
17377
17366
|
key: i3
|
|
17378
17367
|
}, [
|
|
17379
|
-
unref(deleteCandidate) === i3 ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
17380
|
-
createElementVNode("p", _hoisted_4$
|
|
17368
|
+
unref(deleteCandidate) === i3 ? (openBlock(), createElementBlock("div", _hoisted_3$z, [
|
|
17369
|
+
createElementVNode("p", _hoisted_4$k, toDisplayString((_a2 = formPlaceholders.value) == null ? void 0 : _a2.sure), 1),
|
|
17381
17370
|
createVNode(unref(Btn), {
|
|
17382
17371
|
thin: "",
|
|
17383
17372
|
color: "red",
|
|
@@ -17413,10 +17402,10 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
17413
17402
|
"onUpdate:modelValue": ($event) => address.label = $event,
|
|
17414
17403
|
type: "text",
|
|
17415
17404
|
placeholder: (_b = formPlaceholders.value) == null ? void 0 : _b.label
|
|
17416
|
-
}, null, 8, _hoisted_5$
|
|
17405
|
+
}, null, 8, _hoisted_5$f), [
|
|
17417
17406
|
[vModelText, address.label]
|
|
17418
17407
|
]),
|
|
17419
|
-
createElementVNode("div", _hoisted_6$
|
|
17408
|
+
createElementVNode("div", _hoisted_6$b, [
|
|
17420
17409
|
withDirectives(createElementVNode("input", {
|
|
17421
17410
|
"onUpdate:modelValue": ($event) => address.street = $event,
|
|
17422
17411
|
placeholder: (_c = formPlaceholders.value) == null ? void 0 : _c.street,
|
|
@@ -17477,16 +17466,16 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
17477
17466
|
};
|
|
17478
17467
|
}
|
|
17479
17468
|
});
|
|
17480
|
-
const AddressArray = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17481
|
-
const _hoisted_1$
|
|
17482
|
-
const _hoisted_2$
|
|
17483
|
-
const _hoisted_3$
|
|
17469
|
+
const AddressArray = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-77d03b04"]]);
|
|
17470
|
+
const _hoisted_1$I = { class: "bagel-input" };
|
|
17471
|
+
const _hoisted_2$C = { class: "mt-1" };
|
|
17472
|
+
const _hoisted_3$y = {
|
|
17484
17473
|
key: 0,
|
|
17485
17474
|
class: "bglform-contact-confirm"
|
|
17486
17475
|
};
|
|
17487
|
-
const _hoisted_4$
|
|
17488
|
-
const _hoisted_5$
|
|
17489
|
-
const _hoisted_6$
|
|
17476
|
+
const _hoisted_4$j = { class: "txt14" };
|
|
17477
|
+
const _hoisted_5$e = ["onUpdate:modelValue", "placeholder"];
|
|
17478
|
+
const _hoisted_6$a = { class: "bglform-contact-address" };
|
|
17490
17479
|
const _hoisted_7$5 = ["onUpdate:modelValue", "placeholder"];
|
|
17491
17480
|
const _hoisted_8$2 = { class: "bglform-contact-address-flex" };
|
|
17492
17481
|
const _hoisted_9$1 = ["onUpdate:modelValue", "placeholder"];
|
|
@@ -17498,7 +17487,7 @@ const _hoisted_14 = ["onUpdate:modelValue"];
|
|
|
17498
17487
|
const _hoisted_15 = ["onUpdate:modelValue"];
|
|
17499
17488
|
const _hoisted_16 = ["onUpdate:modelValue", "placeholder"];
|
|
17500
17489
|
const _hoisted_17 = { class: "bglform-address-del" };
|
|
17501
|
-
const _sfc_main$
|
|
17490
|
+
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
17502
17491
|
__name: "BankDetailsArray",
|
|
17503
17492
|
props: {
|
|
17504
17493
|
context: {}
|
|
@@ -17551,16 +17540,16 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
17551
17540
|
}
|
|
17552
17541
|
);
|
|
17553
17542
|
return (_ctx, _cache) => {
|
|
17554
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
17555
|
-
createElementVNode("div", _hoisted_2$
|
|
17543
|
+
return openBlock(), createElementBlock("div", _hoisted_1$I, [
|
|
17544
|
+
createElementVNode("div", _hoisted_2$C, [
|
|
17556
17545
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(val), (bank_account, i3) => {
|
|
17557
17546
|
var _a2, _b, _c, _d, _e2, _f, _g, _h;
|
|
17558
17547
|
return openBlock(), createElementBlock("div", {
|
|
17559
17548
|
class: "bglform-contact mb-3",
|
|
17560
17549
|
key: i3
|
|
17561
17550
|
}, [
|
|
17562
|
-
unref(deleteCandidate) === i3 ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
17563
|
-
createElementVNode("p", _hoisted_4$
|
|
17551
|
+
unref(deleteCandidate) === i3 ? (openBlock(), createElementBlock("div", _hoisted_3$y, [
|
|
17552
|
+
createElementVNode("p", _hoisted_4$j, toDisplayString((_a2 = formPlaceholders.value) == null ? void 0 : _a2.sure), 1),
|
|
17564
17553
|
createVNode(unref(Btn), {
|
|
17565
17554
|
thin: "",
|
|
17566
17555
|
color: "red",
|
|
@@ -17596,10 +17585,10 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
17596
17585
|
"onUpdate:modelValue": ($event) => bank_account.label = $event,
|
|
17597
17586
|
type: "text",
|
|
17598
17587
|
placeholder: (_b = formPlaceholders.value) == null ? void 0 : _b.label
|
|
17599
|
-
}, null, 8, _hoisted_5$
|
|
17588
|
+
}, null, 8, _hoisted_5$e), [
|
|
17600
17589
|
[vModelText, bank_account.label]
|
|
17601
17590
|
]),
|
|
17602
|
-
createElementVNode("div", _hoisted_6$
|
|
17591
|
+
createElementVNode("div", _hoisted_6$a, [
|
|
17603
17592
|
withDirectives(createElementVNode("input", {
|
|
17604
17593
|
"onUpdate:modelValue": ($event) => bank_account.bank_name = $event,
|
|
17605
17594
|
placeholder: (_c = formPlaceholders.value) == null ? void 0 : _c.bankName,
|
|
@@ -17694,9 +17683,9 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
17694
17683
|
};
|
|
17695
17684
|
}
|
|
17696
17685
|
});
|
|
17697
|
-
const BankDetailsArray = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17698
|
-
const _hoisted_1$
|
|
17699
|
-
const _sfc_main$
|
|
17686
|
+
const BankDetailsArray = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-a0d366d4"]]);
|
|
17687
|
+
const _hoisted_1$H = { class: "misc-wrap" };
|
|
17688
|
+
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
17700
17689
|
__name: "MiscFields",
|
|
17701
17690
|
props: {
|
|
17702
17691
|
context: {},
|
|
@@ -17713,7 +17702,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
17713
17702
|
console.log(fields.value);
|
|
17714
17703
|
};
|
|
17715
17704
|
return (_ctx, _cache) => {
|
|
17716
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
17705
|
+
return openBlock(), createElementBlock("div", _hoisted_1$H, [
|
|
17717
17706
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(fields.value.filter(
|
|
17718
17707
|
(field) => {
|
|
17719
17708
|
var _a2;
|
|
@@ -17741,13 +17730,13 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
17741
17730
|
};
|
|
17742
17731
|
}
|
|
17743
17732
|
});
|
|
17744
|
-
const MiscFieldsBtns = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17733
|
+
const MiscFieldsBtns = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-a096417d"]]);
|
|
17745
17734
|
const _withScopeId$1 = (n) => (pushScopeId("data-v-d0543d4b"), n = n(), popScopeId(), n);
|
|
17746
|
-
const _hoisted_1$
|
|
17747
|
-
const _hoisted_2$
|
|
17748
|
-
const _hoisted_3$
|
|
17749
|
-
const _hoisted_4$
|
|
17750
|
-
const _sfc_main$
|
|
17735
|
+
const _hoisted_1$G = ["title"];
|
|
17736
|
+
const _hoisted_2$B = { class: "switch" };
|
|
17737
|
+
const _hoisted_3$x = ["id"];
|
|
17738
|
+
const _hoisted_4$i = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "slider round" }, null, -1));
|
|
17739
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
17751
17740
|
__name: "Toggle",
|
|
17752
17741
|
props: {
|
|
17753
17742
|
context: Object
|
|
@@ -17771,7 +17760,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
17771
17760
|
class: normalizeClass(["bagel-input checkbox", { check: (_a2 = __props.context) == null ? void 0 : _a2.attrs.isCheckbox }]),
|
|
17772
17761
|
title: (_b = __props.context) == null ? void 0 : _b.help
|
|
17773
17762
|
}, [
|
|
17774
|
-
createElementVNode("label", _hoisted_2$
|
|
17763
|
+
createElementVNode("label", _hoisted_2$B, [
|
|
17775
17764
|
withDirectives(createElementVNode("input", {
|
|
17776
17765
|
onChange: _cache[0] || (_cache[0] = () => {
|
|
17777
17766
|
var _a3;
|
|
@@ -17780,31 +17769,31 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
17780
17769
|
type: "checkbox",
|
|
17781
17770
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(inputVal) ? inputVal.value = $event : inputVal = $event),
|
|
17782
17771
|
id: (_c = __props.context) == null ? void 0 : _c.id
|
|
17783
|
-
}, null, 40, _hoisted_3$
|
|
17772
|
+
}, null, 40, _hoisted_3$x), [
|
|
17784
17773
|
[vModelCheckbox, unref(inputVal)]
|
|
17785
17774
|
]),
|
|
17786
|
-
_hoisted_4$
|
|
17775
|
+
_hoisted_4$i
|
|
17787
17776
|
])
|
|
17788
|
-
], 10, _hoisted_1$
|
|
17777
|
+
], 10, _hoisted_1$G);
|
|
17789
17778
|
};
|
|
17790
17779
|
}
|
|
17791
17780
|
});
|
|
17792
|
-
const Toggle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17793
|
-
const _hoisted_1$
|
|
17794
|
-
const _hoisted_2$
|
|
17781
|
+
const Toggle = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-d0543d4b"]]);
|
|
17782
|
+
const _hoisted_1$F = { class: "files-wrapper flex" };
|
|
17783
|
+
const _hoisted_2$A = {
|
|
17795
17784
|
key: 0,
|
|
17796
17785
|
class: "img-label"
|
|
17797
17786
|
};
|
|
17798
|
-
const _hoisted_3$
|
|
17799
|
-
const _hoisted_4$
|
|
17800
|
-
const _hoisted_5$
|
|
17801
|
-
const _hoisted_6$
|
|
17787
|
+
const _hoisted_3$w = { class: "uploading-wrap" };
|
|
17788
|
+
const _hoisted_4$h = { class: "load-file-bar" };
|
|
17789
|
+
const _hoisted_5$d = ["src", "alt"];
|
|
17790
|
+
const _hoisted_6$9 = { class: "flex" };
|
|
17802
17791
|
const _hoisted_7$4 = {
|
|
17803
17792
|
key: 0,
|
|
17804
17793
|
class: "progress"
|
|
17805
17794
|
};
|
|
17806
17795
|
const _hoisted_8$1 = ["multiple"];
|
|
17807
|
-
const _sfc_main$
|
|
17796
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
17808
17797
|
__name: "FileUploader",
|
|
17809
17798
|
props: {
|
|
17810
17799
|
context: {},
|
|
@@ -17942,7 +17931,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
17942
17931
|
void addFiles(filesToAdd);
|
|
17943
17932
|
}
|
|
17944
17933
|
return (_ctx, _cache) => {
|
|
17945
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
17934
|
+
return openBlock(), createElementBlock("div", _hoisted_1$F, [
|
|
17946
17935
|
createElementVNode("div", {
|
|
17947
17936
|
ref_key: "dropZoneEl",
|
|
17948
17937
|
ref: dropZoneEl,
|
|
@@ -17962,34 +17951,34 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
17962
17951
|
]),
|
|
17963
17952
|
_: 1
|
|
17964
17953
|
}),
|
|
17965
|
-
allowUpload.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
17954
|
+
allowUpload.value ? (openBlock(), createElementBlock("div", _hoisted_2$A, [
|
|
17966
17955
|
createElementVNode("p", null, [
|
|
17967
17956
|
createTextVNode(toDisplayString(computedDragDropLabel.value) + " ", 1),
|
|
17968
17957
|
createElementVNode("span", null, toDisplayString(computedDrowseLabel.value), 1)
|
|
17969
17958
|
])
|
|
17970
17959
|
])) : createCommentVNode("", true),
|
|
17971
|
-
createElementVNode("div", _hoisted_3$
|
|
17960
|
+
createElementVNode("div", _hoisted_3$w, [
|
|
17972
17961
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(files.value, (item, index2) => {
|
|
17973
17962
|
return openBlock(), createElementBlock("div", {
|
|
17974
17963
|
class: normalizeClass({ uploading: item.uploading }),
|
|
17975
17964
|
key: index2
|
|
17976
17965
|
}, [
|
|
17977
|
-
createElementVNode("div", _hoisted_4$
|
|
17966
|
+
createElementVNode("div", _hoisted_4$h, [
|
|
17978
17967
|
isImg(item) ? (openBlock(), createElementBlock("img", {
|
|
17979
17968
|
key: 0,
|
|
17980
17969
|
width: "40",
|
|
17981
17970
|
src: item.dataUrl,
|
|
17982
17971
|
alt: item.name,
|
|
17983
17972
|
style: { "margin-inline-end": "10px" }
|
|
17984
|
-
}, null, 8, _hoisted_5$
|
|
17973
|
+
}, null, 8, _hoisted_5$d)) : createCommentVNode("", true),
|
|
17985
17974
|
createElementVNode("p", null, toDisplayString(item.name), 1),
|
|
17986
|
-
createElementVNode("div", _hoisted_6$
|
|
17975
|
+
createElementVNode("div", _hoisted_6$9, [
|
|
17987
17976
|
createElementVNode("div", {
|
|
17988
17977
|
class: normalizeClass(["pie", { complete: item.progress === 100 }]),
|
|
17989
17978
|
style: normalizeStyle([`--p:${item.progress}`, { "--b": "2px" }])
|
|
17990
17979
|
}, [
|
|
17991
17980
|
item.progress < 100 ? (openBlock(), createElementBlock("span", _hoisted_7$4, toDisplayString(`${item.progress.toFixed(0)}`), 1)) : createCommentVNode("", true),
|
|
17992
|
-
createVNode(unref(_sfc_main$
|
|
17981
|
+
createVNode(unref(_sfc_main$W), {
|
|
17993
17982
|
class: "success",
|
|
17994
17983
|
icon: "check"
|
|
17995
17984
|
})
|
|
@@ -18019,15 +18008,15 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
18019
18008
|
};
|
|
18020
18009
|
}
|
|
18021
18010
|
});
|
|
18022
|
-
const _hoisted_1$
|
|
18011
|
+
const _hoisted_1$E = {
|
|
18023
18012
|
key: 0,
|
|
18024
18013
|
class: "person-card-edit flex gap-2"
|
|
18025
18014
|
};
|
|
18026
|
-
const _hoisted_2$
|
|
18027
|
-
const _hoisted_3$
|
|
18028
|
-
const _hoisted_4$
|
|
18029
|
-
const _hoisted_5$
|
|
18030
|
-
const _hoisted_6$
|
|
18015
|
+
const _hoisted_2$z = { class: "person-card-icon-wrap" };
|
|
18016
|
+
const _hoisted_3$v = { class: "person-card-icon" };
|
|
18017
|
+
const _hoisted_4$g = { class: "person-card-name txt20" };
|
|
18018
|
+
const _hoisted_5$c = { class: "person-card-details-wrap" };
|
|
18019
|
+
const _hoisted_6$8 = {
|
|
18031
18020
|
key: 0,
|
|
18032
18021
|
class: "person-card-details"
|
|
18033
18022
|
};
|
|
@@ -18041,7 +18030,7 @@ const _hoisted_8 = {
|
|
|
18041
18030
|
};
|
|
18042
18031
|
const _hoisted_9 = { key: 0 };
|
|
18043
18032
|
const _hoisted_10 = { key: 1 };
|
|
18044
|
-
const _sfc_main$
|
|
18033
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
18045
18034
|
__name: "PersonPreviewFormkit",
|
|
18046
18035
|
props: {
|
|
18047
18036
|
context: {},
|
|
@@ -18072,7 +18061,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
18072
18061
|
(...args) => _ctx.onClick && _ctx.onClick(...args)),
|
|
18073
18062
|
class: "person-card"
|
|
18074
18063
|
}, [
|
|
18075
|
-
!_ctx.onClick ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
18064
|
+
!_ctx.onClick ? (openBlock(), createElementBlock("div", _hoisted_1$E, [
|
|
18076
18065
|
!_ctx.$route.path.match("/search") ? (openBlock(), createBlock(unref(Btn), {
|
|
18077
18066
|
key: 0,
|
|
18078
18067
|
onClick: unref(hideModal),
|
|
@@ -18090,13 +18079,13 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
18090
18079
|
icon: "edit"
|
|
18091
18080
|
})
|
|
18092
18081
|
])) : createCommentVNode("", true),
|
|
18093
|
-
createElementVNode("div", _hoisted_2$
|
|
18094
|
-
createElementVNode("p", _hoisted_3$
|
|
18095
|
-
createElementVNode("p", _hoisted_4$
|
|
18082
|
+
createElementVNode("div", _hoisted_2$z, [
|
|
18083
|
+
createElementVNode("p", _hoisted_3$v, toDisplayString(unref(initials)(person.value.first_name, person.value.last_name)), 1),
|
|
18084
|
+
createElementVNode("p", _hoisted_4$g, toDisplayString(person.value.first_name) + " " + toDisplayString(person.value.last_name), 1)
|
|
18096
18085
|
]),
|
|
18097
|
-
createElementVNode("div", _hoisted_5$
|
|
18098
|
-
((_a2 = person.value.phone) == null ? void 0 : _a2.length) ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
18099
|
-
createVNode(unref(_sfc_main$
|
|
18086
|
+
createElementVNode("div", _hoisted_5$c, [
|
|
18087
|
+
((_a2 = person.value.phone) == null ? void 0 : _a2.length) ? (openBlock(), createElementBlock("div", _hoisted_6$8, [
|
|
18088
|
+
createVNode(unref(_sfc_main$W), { icon: "phone" }),
|
|
18100
18089
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(person.value.phone, (phone) => {
|
|
18101
18090
|
return openBlock(), createElementBlock("p", {
|
|
18102
18091
|
key: phone.id
|
|
@@ -18104,7 +18093,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
18104
18093
|
}), 128))
|
|
18105
18094
|
])) : createCommentVNode("", true),
|
|
18106
18095
|
((_b = person.value.email) == null ? void 0 : _b.length) ? (openBlock(), createElementBlock("div", _hoisted_7$3, [
|
|
18107
|
-
createVNode(unref(_sfc_main$
|
|
18096
|
+
createVNode(unref(_sfc_main$W), { icon: "email" }),
|
|
18108
18097
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(person.value.email, (email) => {
|
|
18109
18098
|
return openBlock(), createElementBlock("p", {
|
|
18110
18099
|
key: email.id
|
|
@@ -18112,7 +18101,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
18112
18101
|
}), 128))
|
|
18113
18102
|
])) : createCommentVNode("", true),
|
|
18114
18103
|
person.value.date_of_birth || person.value.gender ? (openBlock(), createElementBlock("div", _hoisted_8, [
|
|
18115
|
-
createVNode(unref(_sfc_main$
|
|
18104
|
+
createVNode(unref(_sfc_main$W), { icon: "badge" }),
|
|
18116
18105
|
person.value.date_of_birth ? (openBlock(), createElementBlock("p", _hoisted_9, toDisplayString(person.value.date_of_birth), 1)) : createCommentVNode("", true),
|
|
18117
18106
|
person.value.gender ? (openBlock(), createElementBlock("p", _hoisted_10, toDisplayString(person.value.gender), 1)) : createCommentVNode("", true)
|
|
18118
18107
|
])) : createCommentVNode("", true)
|
|
@@ -18121,7 +18110,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
18121
18110
|
};
|
|
18122
18111
|
}
|
|
18123
18112
|
});
|
|
18124
|
-
const _sfc_main$
|
|
18113
|
+
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
18125
18114
|
__name: "TextVariableExamples",
|
|
18126
18115
|
props: {
|
|
18127
18116
|
context: Object
|
|
@@ -18213,14 +18202,14 @@ const AddressInput = createInput(AddressArray);
|
|
|
18213
18202
|
const BankDetailsInput = createInput(BankDetailsArray);
|
|
18214
18203
|
const MiscFieldsInput = createInput(MiscFieldsBtns);
|
|
18215
18204
|
const ToggleSwitchInput = createInput(Toggle);
|
|
18216
|
-
const FileUploadInput = createInput(_sfc_main$
|
|
18217
|
-
const TextVariablesInput = createInput(_sfc_main$
|
|
18218
|
-
const PersonPreviewInput = createInput(_sfc_main$
|
|
18219
|
-
const _hoisted_1$
|
|
18205
|
+
const FileUploadInput = createInput(_sfc_main$x);
|
|
18206
|
+
const TextVariablesInput = createInput(_sfc_main$v);
|
|
18207
|
+
const PersonPreviewInput = createInput(_sfc_main$w);
|
|
18208
|
+
const _hoisted_1$D = {
|
|
18220
18209
|
key: 1,
|
|
18221
18210
|
class: "pill"
|
|
18222
18211
|
};
|
|
18223
|
-
const _sfc_main$
|
|
18212
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
18224
18213
|
__name: "ItemRef",
|
|
18225
18214
|
props: {
|
|
18226
18215
|
modelValue: {},
|
|
@@ -18254,15 +18243,15 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
18254
18243
|
}, {
|
|
18255
18244
|
default: withCtx(() => [
|
|
18256
18245
|
createTextVNode(toDisplayString(content.value) + " ", 1),
|
|
18257
|
-
createVNode(unref(_sfc_main$
|
|
18246
|
+
createVNode(unref(_sfc_main$W), { icon: "arrow_forward" })
|
|
18258
18247
|
]),
|
|
18259
18248
|
_: 1
|
|
18260
|
-
})) : (openBlock(), createElementBlock("span", _hoisted_1$
|
|
18249
|
+
})) : (openBlock(), createElementBlock("span", _hoisted_1$D, toDisplayString(content.value), 1))
|
|
18261
18250
|
]);
|
|
18262
18251
|
};
|
|
18263
18252
|
}
|
|
18264
18253
|
});
|
|
18265
|
-
const _sfc_main$
|
|
18254
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
18266
18255
|
__name: "MaterialIcon",
|
|
18267
18256
|
props: {
|
|
18268
18257
|
icon: {},
|
|
@@ -18277,13 +18266,13 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
18277
18266
|
};
|
|
18278
18267
|
}
|
|
18279
18268
|
});
|
|
18280
|
-
const _hoisted_1$
|
|
18281
|
-
const _hoisted_2$
|
|
18282
|
-
const _hoisted_3$
|
|
18283
|
-
const _hoisted_4$
|
|
18284
|
-
const _hoisted_5$
|
|
18285
|
-
const _hoisted_6$
|
|
18286
|
-
const _sfc_main$
|
|
18269
|
+
const _hoisted_1$C = { class: "bagel-input" };
|
|
18270
|
+
const _hoisted_2$y = ["for"];
|
|
18271
|
+
const _hoisted_3$u = ["checked"];
|
|
18272
|
+
const _hoisted_4$f = ["name", "type", "value"];
|
|
18273
|
+
const _hoisted_5$b = ["name", "type", "value"];
|
|
18274
|
+
const _hoisted_6$7 = ["name", "type", "value"];
|
|
18275
|
+
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
18287
18276
|
__name: "PlainInputField",
|
|
18288
18277
|
props: {
|
|
18289
18278
|
type: {},
|
|
@@ -18313,14 +18302,14 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
18313
18302
|
}
|
|
18314
18303
|
});
|
|
18315
18304
|
return (_ctx, _cache) => {
|
|
18316
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
18305
|
+
return openBlock(), createElementBlock("div", _hoisted_1$C, [
|
|
18317
18306
|
createElementVNode("label", {
|
|
18318
18307
|
for: unref(formatString)(_ctx.name, "pascal")
|
|
18319
18308
|
}, [
|
|
18320
|
-
createVNode(_sfc_main$
|
|
18309
|
+
createVNode(_sfc_main$Y, {
|
|
18321
18310
|
input: unref(formatString)(_ctx.name, "titleCase")
|
|
18322
18311
|
}, null, 8, ["input"])
|
|
18323
|
-
], 8, _hoisted_2$
|
|
18312
|
+
], 8, _hoisted_2$y),
|
|
18324
18313
|
_ctx.type === "checkbox" ? (openBlock(), createElementBlock("input", {
|
|
18325
18314
|
key: 0,
|
|
18326
18315
|
ref_key: "el",
|
|
@@ -18329,7 +18318,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
18329
18318
|
class: "ctl",
|
|
18330
18319
|
type: "checkbox",
|
|
18331
18320
|
onChange: handleCheck
|
|
18332
|
-
}, null, 40, _hoisted_3$
|
|
18321
|
+
}, null, 40, _hoisted_3$u)) : _ctx.type === "number" ? (openBlock(), createElementBlock("input", {
|
|
18333
18322
|
key: 1,
|
|
18334
18323
|
ref_key: "el",
|
|
18335
18324
|
ref: el2,
|
|
@@ -18338,7 +18327,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
18338
18327
|
value: _ctx.modelValue,
|
|
18339
18328
|
class: "ctl",
|
|
18340
18329
|
onInput: handleInput
|
|
18341
|
-
}, null, 40, _hoisted_4$
|
|
18330
|
+
}, null, 40, _hoisted_4$f)) : _ctx.type === "text" ? (openBlock(), createElementBlock("input", {
|
|
18342
18331
|
key: 2,
|
|
18343
18332
|
ref_key: "el",
|
|
18344
18333
|
ref: el2,
|
|
@@ -18347,7 +18336,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
18347
18336
|
value: _ctx.modelValue,
|
|
18348
18337
|
class: "ctl",
|
|
18349
18338
|
onInput: handleInput
|
|
18350
|
-
}, null, 40, _hoisted_5$
|
|
18339
|
+
}, null, 40, _hoisted_5$b)) : _ctx.type === "textarea" ? (openBlock(), createElementBlock("textarea", {
|
|
18351
18340
|
key: 3,
|
|
18352
18341
|
ref_key: "el",
|
|
18353
18342
|
ref: el2,
|
|
@@ -18356,21 +18345,141 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
18356
18345
|
value: _ctx.modelValue,
|
|
18357
18346
|
class: "ctl",
|
|
18358
18347
|
onInput: handleInput
|
|
18359
|
-
}, null, 40, _hoisted_6$
|
|
18348
|
+
}, null, 40, _hoisted_6$7)) : createCommentVNode("", true),
|
|
18360
18349
|
createElementVNode("div", null, [
|
|
18361
|
-
createVNode(_sfc_main$
|
|
18350
|
+
createVNode(_sfc_main$Y, { input: _ctx.errorMessage }, null, 8, ["input"])
|
|
18362
18351
|
])
|
|
18363
18352
|
]);
|
|
18364
18353
|
};
|
|
18365
18354
|
}
|
|
18366
18355
|
});
|
|
18356
|
+
const _hoisted_1$B = { key: 2 };
|
|
18357
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
18358
|
+
__name: "BglForm",
|
|
18359
|
+
props: {
|
|
18360
|
+
modelValue: {},
|
|
18361
|
+
schema: {},
|
|
18362
|
+
onDelete: { type: Function },
|
|
18363
|
+
onSubmit: { type: Function }
|
|
18364
|
+
},
|
|
18365
|
+
emits: ["update:modelValue", "submit"],
|
|
18366
|
+
setup(__props, { emit: __emit }) {
|
|
18367
|
+
const { showModal } = useModal();
|
|
18368
|
+
const props2 = __props;
|
|
18369
|
+
const emits = __emit;
|
|
18370
|
+
const handleEmit = (val) => emits("update:modelValue", val);
|
|
18371
|
+
let data2 = ref({
|
|
18372
|
+
...props2.modelValue
|
|
18373
|
+
});
|
|
18374
|
+
const runSubmit = () => {
|
|
18375
|
+
emits("submit", data2.value);
|
|
18376
|
+
clearForm();
|
|
18377
|
+
};
|
|
18378
|
+
const clearForm = () => data2.value = {};
|
|
18379
|
+
const i18nT = (val) => val;
|
|
18380
|
+
watch(
|
|
18381
|
+
() => data2.value,
|
|
18382
|
+
() => handleEmit,
|
|
18383
|
+
{ immediate: true }
|
|
18384
|
+
);
|
|
18385
|
+
const runDelete = () => {
|
|
18386
|
+
showModal(
|
|
18387
|
+
{
|
|
18388
|
+
class: "small-modal",
|
|
18389
|
+
title: i18nT("Are you sure?"),
|
|
18390
|
+
actions: [
|
|
18391
|
+
{
|
|
18392
|
+
value: "Confirm",
|
|
18393
|
+
color: "red",
|
|
18394
|
+
onClick: () => {
|
|
18395
|
+
var _a2;
|
|
18396
|
+
return (_a2 = props2.onDelete) == null ? void 0 : _a2.call(props2, data2.value.id);
|
|
18397
|
+
}
|
|
18398
|
+
},
|
|
18399
|
+
{ value: "Cancel", color: "gray" }
|
|
18400
|
+
]
|
|
18401
|
+
},
|
|
18402
|
+
{ default: i18nT("form.deleteMessage") }
|
|
18403
|
+
);
|
|
18404
|
+
};
|
|
18405
|
+
return (_ctx, _cache) => {
|
|
18406
|
+
var _a2;
|
|
18407
|
+
return openBlock(), createElementBlock("form", {
|
|
18408
|
+
onSubmit: withModifiers(runSubmit, ["prevent"])
|
|
18409
|
+
}, [
|
|
18410
|
+
(openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.schema, (field, i3) => {
|
|
18411
|
+
return openBlock(), createBlock(unref(_sfc_main$q), {
|
|
18412
|
+
key: field.id || `${i3}p`,
|
|
18413
|
+
field,
|
|
18414
|
+
modelValue: unref(data2),
|
|
18415
|
+
"onUpdate:modelValue": ($event) => field.id ? unref(data2)[field.id] = $event : ""
|
|
18416
|
+
}, null, 8, ["field", "modelValue", "onUpdate:modelValue"]);
|
|
18417
|
+
}), 128)),
|
|
18418
|
+
((_a2 = _ctx.modelValue) == null ? void 0 : _a2.id) && _ctx.onDelete ? (openBlock(), createBlock(unref(Btn), {
|
|
18419
|
+
key: 0,
|
|
18420
|
+
class: "del-top",
|
|
18421
|
+
onClick: runDelete,
|
|
18422
|
+
value: "Delete",
|
|
18423
|
+
flat: "",
|
|
18424
|
+
icon: "delete",
|
|
18425
|
+
color: "red",
|
|
18426
|
+
thin: ""
|
|
18427
|
+
})) : createCommentVNode("", true),
|
|
18428
|
+
!_ctx.$slots.submit && _ctx.onSubmit ? (openBlock(), createBlock(unref(Btn), {
|
|
18429
|
+
key: 1,
|
|
18430
|
+
value: "Submit",
|
|
18431
|
+
type: "submit",
|
|
18432
|
+
thin: ""
|
|
18433
|
+
})) : (openBlock(), createElementBlock("div", _hoisted_1$B, [
|
|
18434
|
+
renderSlot(_ctx.$slots, "submit")
|
|
18435
|
+
]))
|
|
18436
|
+
], 32);
|
|
18437
|
+
};
|
|
18438
|
+
}
|
|
18439
|
+
});
|
|
18440
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
18441
|
+
__name: "BglField",
|
|
18442
|
+
props: {
|
|
18443
|
+
modelValue: {},
|
|
18444
|
+
field: {}
|
|
18445
|
+
},
|
|
18446
|
+
emits: ["update:modelValue"],
|
|
18447
|
+
setup(__props, { emit: __emit }) {
|
|
18448
|
+
const props2 = __props;
|
|
18449
|
+
const emits = __emit;
|
|
18450
|
+
return (_ctx, _cache) => {
|
|
18451
|
+
var _a2;
|
|
18452
|
+
const _component_BglField = resolveComponent("BglField", true);
|
|
18453
|
+
return openBlock(), createBlock(resolveDynamicComponent(_ctx.field.$el || "div"), mergeProps({
|
|
18454
|
+
required: _ctx.field.required
|
|
18455
|
+
}, unref(bindAttrs)(((_a2 = _ctx.field) == null ? void 0 : _a2.attrs) || {}, props2.modelValue[_ctx.field.id || ""], props2.modelValue), {
|
|
18456
|
+
label: _ctx.field.label,
|
|
18457
|
+
placeholder: _ctx.field.placeholder || _ctx.field.label,
|
|
18458
|
+
modelValue: props2.modelValue[_ctx.field.id || ""],
|
|
18459
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => emits("update:modelValue", $event))
|
|
18460
|
+
}), {
|
|
18461
|
+
default: withCtx(() => [
|
|
18462
|
+
(openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.field.children, (child, ii) => {
|
|
18463
|
+
return openBlock(), createBlock(_component_BglField, {
|
|
18464
|
+
modelValue: _ctx.modelValue,
|
|
18465
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => emits("update:modelValue", $event)),
|
|
18466
|
+
key: child.id || ii,
|
|
18467
|
+
field: child
|
|
18468
|
+
}, null, 8, ["modelValue", "field"]);
|
|
18469
|
+
}), 128))
|
|
18470
|
+
]),
|
|
18471
|
+
_: 1
|
|
18472
|
+
}, 16, ["required", "label", "placeholder", "modelValue"]);
|
|
18473
|
+
};
|
|
18474
|
+
}
|
|
18475
|
+
});
|
|
18367
18476
|
const _withScopeId = (n) => (pushScopeId("data-v-0dacba34"), n = n(), popScopeId(), n);
|
|
18368
|
-
const _hoisted_1$
|
|
18369
|
-
const _hoisted_2$
|
|
18370
|
-
const _hoisted_3$
|
|
18371
|
-
const _hoisted_4$
|
|
18372
|
-
const _hoisted_5$
|
|
18373
|
-
const _sfc_main$
|
|
18477
|
+
const _hoisted_1$A = ["title"];
|
|
18478
|
+
const _hoisted_2$x = ["for"];
|
|
18479
|
+
const _hoisted_3$t = { class: "switch" };
|
|
18480
|
+
const _hoisted_4$e = ["id"];
|
|
18481
|
+
const _hoisted_5$a = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "slider round" }, null, -1));
|
|
18482
|
+
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
18374
18483
|
__name: "CheckInput",
|
|
18375
18484
|
props: {
|
|
18376
18485
|
field: {},
|
|
@@ -18403,29 +18512,29 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
18403
18512
|
}, [
|
|
18404
18513
|
createElementVNode("label", {
|
|
18405
18514
|
for: _ctx.field.id
|
|
18406
|
-
}, toDisplayString(_ctx.field.label), 9, _hoisted_2$
|
|
18407
|
-
createElementVNode("label", _hoisted_3$
|
|
18515
|
+
}, toDisplayString(_ctx.field.label), 9, _hoisted_2$x),
|
|
18516
|
+
createElementVNode("label", _hoisted_3$t, [
|
|
18408
18517
|
withDirectives(createElementVNode("input", {
|
|
18409
18518
|
id: _ctx.field.id,
|
|
18410
18519
|
type: "checkbox",
|
|
18411
18520
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inputVal.value = $event),
|
|
18412
18521
|
class: normalizeClass({ "no-edit": !_ctx.editMode })
|
|
18413
|
-
}, null, 10, _hoisted_4$
|
|
18522
|
+
}, null, 10, _hoisted_4$e), [
|
|
18414
18523
|
[vModelCheckbox, inputVal.value]
|
|
18415
18524
|
]),
|
|
18416
|
-
_hoisted_5$
|
|
18525
|
+
_hoisted_5$a
|
|
18417
18526
|
])
|
|
18418
|
-
], 10, _hoisted_1$
|
|
18527
|
+
], 10, _hoisted_1$A);
|
|
18419
18528
|
};
|
|
18420
18529
|
}
|
|
18421
18530
|
});
|
|
18422
|
-
const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18423
|
-
const _hoisted_1$
|
|
18424
|
-
const _hoisted_2$
|
|
18425
|
-
const _hoisted_3$
|
|
18426
|
-
const _hoisted_4$
|
|
18427
|
-
const _hoisted_5$
|
|
18428
|
-
const _sfc_main$
|
|
18531
|
+
const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-0dacba34"]]);
|
|
18532
|
+
const _hoisted_1$z = ["title"];
|
|
18533
|
+
const _hoisted_2$w = { key: 0 };
|
|
18534
|
+
const _hoisted_3$s = { class: "flex gap-3" };
|
|
18535
|
+
const _hoisted_4$d = ["value", "placeholder"];
|
|
18536
|
+
const _hoisted_5$9 = { class: "currency" };
|
|
18537
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
18429
18538
|
__name: "CurrencyInput",
|
|
18430
18539
|
props: {
|
|
18431
18540
|
field: {},
|
|
@@ -18526,26 +18635,26 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
18526
18635
|
class: normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
18527
18636
|
title: _ctx.field.description
|
|
18528
18637
|
}, [
|
|
18529
|
-
_ctx.field.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
18530
|
-
createElementVNode("div", _hoisted_3$
|
|
18638
|
+
_ctx.field.label ? (openBlock(), createElementBlock("label", _hoisted_2$w, toDisplayString(_ctx.field.label), 1)) : createCommentVNode("", true),
|
|
18639
|
+
createElementVNode("div", _hoisted_3$s, [
|
|
18531
18640
|
createElementVNode("input", {
|
|
18532
18641
|
value: _ctx.modelValue,
|
|
18533
18642
|
type: "number",
|
|
18534
18643
|
onInput: handleInput,
|
|
18535
18644
|
placeholder: _ctx.placeholder,
|
|
18536
18645
|
class: normalizeClass({ "no-edit": !_ctx.editMode })
|
|
18537
|
-
}, null, 42, _hoisted_4$
|
|
18538
|
-
createElementVNode("p", _hoisted_5$
|
|
18646
|
+
}, null, 42, _hoisted_4$d),
|
|
18647
|
+
createElementVNode("p", _hoisted_5$9, toDisplayString(((_a2 = currencies.find((c2) => c2.symbol === _ctx.field.currency)) == null ? void 0 : _a2.character) || _ctx.field.currency), 1)
|
|
18539
18648
|
])
|
|
18540
|
-
], 10, _hoisted_1$
|
|
18649
|
+
], 10, _hoisted_1$z);
|
|
18541
18650
|
};
|
|
18542
18651
|
}
|
|
18543
18652
|
});
|
|
18544
|
-
const CurrencyInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18545
|
-
const _hoisted_1$
|
|
18546
|
-
const _hoisted_2$
|
|
18547
|
-
const _hoisted_3$
|
|
18548
|
-
const _sfc_main$
|
|
18653
|
+
const CurrencyInput = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-17a56a3f"]]);
|
|
18654
|
+
const _hoisted_1$y = ["title"];
|
|
18655
|
+
const _hoisted_2$v = { key: 0 };
|
|
18656
|
+
const _hoisted_3$r = ["placeholder", "disabled"];
|
|
18657
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
18549
18658
|
__name: "DateInput",
|
|
18550
18659
|
props: {
|
|
18551
18660
|
field: {},
|
|
@@ -18566,7 +18675,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18566
18675
|
class: normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
18567
18676
|
title: _ctx.field.description
|
|
18568
18677
|
}, [
|
|
18569
|
-
_ctx.field.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
18678
|
+
_ctx.field.label ? (openBlock(), createElementBlock("label", _hoisted_2$v, toDisplayString(_ctx.field.label), 1)) : createCommentVNode("", true),
|
|
18570
18679
|
withDirectives(createElementVNode("input", {
|
|
18571
18680
|
type: "date",
|
|
18572
18681
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => date2.value = $event),
|
|
@@ -18576,18 +18685,18 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18576
18685
|
disabled: !_ctx.editMode,
|
|
18577
18686
|
enableTimePicker: false,
|
|
18578
18687
|
textInputOptions: { format: "yyyy-MM-dd" }
|
|
18579
|
-
}, null, 40, _hoisted_3$
|
|
18688
|
+
}, null, 40, _hoisted_3$r), [
|
|
18580
18689
|
[vModelText, date2.value]
|
|
18581
18690
|
])
|
|
18582
|
-
], 10, _hoisted_1$
|
|
18691
|
+
], 10, _hoisted_1$y);
|
|
18583
18692
|
};
|
|
18584
18693
|
}
|
|
18585
18694
|
});
|
|
18586
|
-
const DateInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18587
|
-
const _hoisted_1$
|
|
18588
|
-
const _hoisted_2$
|
|
18589
|
-
const _hoisted_3$
|
|
18590
|
-
const _sfc_main$
|
|
18695
|
+
const DateInput = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-782aee7f"]]);
|
|
18696
|
+
const _hoisted_1$x = ["title"];
|
|
18697
|
+
const _hoisted_2$u = { key: 0 };
|
|
18698
|
+
const _hoisted_3$q = ["value", "placeholder"];
|
|
18699
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
18591
18700
|
__name: "DatetimeInput",
|
|
18592
18701
|
props: {
|
|
18593
18702
|
description: { default: "" },
|
|
@@ -18613,7 +18722,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
18613
18722
|
class: normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
18614
18723
|
title: _ctx.description
|
|
18615
18724
|
}, [
|
|
18616
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
18725
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$u, [
|
|
18617
18726
|
createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
|
|
18618
18727
|
])) : createCommentVNode("", true),
|
|
18619
18728
|
createElementVNode("input", {
|
|
@@ -18622,15 +18731,15 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
18622
18731
|
onInput: handleInput,
|
|
18623
18732
|
placeholder: _ctx.placeholder,
|
|
18624
18733
|
class: normalizeClass({ "no-edit": !_ctx.editMode })
|
|
18625
|
-
}, null, 42, _hoisted_3$
|
|
18626
|
-
], 10, _hoisted_1$
|
|
18734
|
+
}, null, 42, _hoisted_3$q)
|
|
18735
|
+
], 10, _hoisted_1$x);
|
|
18627
18736
|
};
|
|
18628
18737
|
}
|
|
18629
18738
|
});
|
|
18630
|
-
const _hoisted_1$
|
|
18631
|
-
const _hoisted_2$
|
|
18632
|
-
const _hoisted_3$
|
|
18633
|
-
const _sfc_main$
|
|
18739
|
+
const _hoisted_1$w = ["title"];
|
|
18740
|
+
const _hoisted_2$t = { key: 0 };
|
|
18741
|
+
const _hoisted_3$p = ["value", "placeholder"];
|
|
18742
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
18634
18743
|
__name: "EmailInput",
|
|
18635
18744
|
props: {
|
|
18636
18745
|
description: { default: "" },
|
|
@@ -18653,7 +18762,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
18653
18762
|
class: normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
18654
18763
|
title: _ctx.description
|
|
18655
18764
|
}, [
|
|
18656
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
18765
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$t, [
|
|
18657
18766
|
createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
|
|
18658
18767
|
])) : createCommentVNode("", true),
|
|
18659
18768
|
createElementVNode("input", {
|
|
@@ -18663,16 +18772,16 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
18663
18772
|
onInput: handleInput,
|
|
18664
18773
|
class: normalizeClass({ "no-edit": !_ctx.editMode }),
|
|
18665
18774
|
placeholder: _ctx.placeholder
|
|
18666
|
-
}, null, 42, _hoisted_3$
|
|
18667
|
-
], 10, _hoisted_1$
|
|
18775
|
+
}, null, 42, _hoisted_3$p)
|
|
18776
|
+
], 10, _hoisted_1$w);
|
|
18668
18777
|
};
|
|
18669
18778
|
}
|
|
18670
18779
|
});
|
|
18671
|
-
const EmailInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18672
|
-
const _hoisted_1$
|
|
18673
|
-
const _hoisted_2$
|
|
18674
|
-
const _hoisted_3$
|
|
18675
|
-
const _sfc_main$
|
|
18780
|
+
const EmailInput = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-ed81a514"]]);
|
|
18781
|
+
const _hoisted_1$v = ["title"];
|
|
18782
|
+
const _hoisted_2$s = { key: 0 };
|
|
18783
|
+
const _hoisted_3$o = ["value", "placeholder"];
|
|
18784
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
18676
18785
|
__name: "FloatInput",
|
|
18677
18786
|
props: {
|
|
18678
18787
|
description: { default: "" },
|
|
@@ -18699,7 +18808,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
18699
18808
|
class: normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
18700
18809
|
title: _ctx.description
|
|
18701
18810
|
}, [
|
|
18702
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
18811
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$s, [
|
|
18703
18812
|
createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
|
|
18704
18813
|
])) : createCommentVNode("", true),
|
|
18705
18814
|
createElementVNode("input", {
|
|
@@ -18708,15 +18817,15 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
18708
18817
|
onInput: handleInput,
|
|
18709
18818
|
class: normalizeClass({ "no-edit": !_ctx.editMode }),
|
|
18710
18819
|
placeholder: _ctx.placeholder
|
|
18711
|
-
}, null, 42, _hoisted_3$
|
|
18712
|
-
], 10, _hoisted_1$
|
|
18820
|
+
}, null, 42, _hoisted_3$o)
|
|
18821
|
+
], 10, _hoisted_1$v);
|
|
18713
18822
|
};
|
|
18714
18823
|
}
|
|
18715
18824
|
});
|
|
18716
|
-
const _hoisted_1$
|
|
18717
|
-
const _hoisted_2$
|
|
18718
|
-
const _hoisted_3$
|
|
18719
|
-
const _sfc_main$
|
|
18825
|
+
const _hoisted_1$u = ["title"];
|
|
18826
|
+
const _hoisted_2$r = { key: 0 };
|
|
18827
|
+
const _hoisted_3$n = ["value", "placeholder"];
|
|
18828
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
18720
18829
|
__name: "IntInput",
|
|
18721
18830
|
props: {
|
|
18722
18831
|
description: { default: "" },
|
|
@@ -18743,7 +18852,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
18743
18852
|
class: normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
18744
18853
|
title: _ctx.description
|
|
18745
18854
|
}, [
|
|
18746
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
18855
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$r, [
|
|
18747
18856
|
createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
|
|
18748
18857
|
])) : createCommentVNode("", true),
|
|
18749
18858
|
createElementVNode("input", {
|
|
@@ -18752,15 +18861,15 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
18752
18861
|
onInput: handleInput,
|
|
18753
18862
|
class: normalizeClass({ "no-edit": !_ctx.editMode }),
|
|
18754
18863
|
placeholder: _ctx.placeholder
|
|
18755
|
-
}, null, 42, _hoisted_3$
|
|
18756
|
-
], 10, _hoisted_1$
|
|
18864
|
+
}, null, 42, _hoisted_3$n)
|
|
18865
|
+
], 10, _hoisted_1$u);
|
|
18757
18866
|
};
|
|
18758
18867
|
}
|
|
18759
18868
|
});
|
|
18760
|
-
const _hoisted_1$
|
|
18761
|
-
const _hoisted_2$
|
|
18762
|
-
const _hoisted_3$
|
|
18763
|
-
const _sfc_main$
|
|
18869
|
+
const _hoisted_1$t = ["title"];
|
|
18870
|
+
const _hoisted_2$q = { key: 0 };
|
|
18871
|
+
const _hoisted_3$m = ["value", "placeholder"];
|
|
18872
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
18764
18873
|
__name: "JSONInput",
|
|
18765
18874
|
props: {
|
|
18766
18875
|
description: { default: "" },
|
|
@@ -18783,7 +18892,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
18783
18892
|
class: normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
18784
18893
|
title: _ctx.description
|
|
18785
18894
|
}, [
|
|
18786
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
18895
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$q, [
|
|
18787
18896
|
createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
|
|
18788
18897
|
])) : createCommentVNode("", true),
|
|
18789
18898
|
createElementVNode("textarea", {
|
|
@@ -18791,26 +18900,26 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
18791
18900
|
onInput: handleInput,
|
|
18792
18901
|
class: normalizeClass({ "no-edit": !_ctx.editMode }),
|
|
18793
18902
|
placeholder: _ctx.placeholder
|
|
18794
|
-
}, null, 42, _hoisted_3$
|
|
18795
|
-
], 10, _hoisted_1$
|
|
18903
|
+
}, null, 42, _hoisted_3$m)
|
|
18904
|
+
], 10, _hoisted_1$t);
|
|
18796
18905
|
};
|
|
18797
18906
|
}
|
|
18798
18907
|
});
|
|
18799
|
-
const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18800
|
-
const _hoisted_1$
|
|
18801
|
-
const _hoisted_2$
|
|
18802
|
-
const _hoisted_3$
|
|
18803
|
-
const _hoisted_4$
|
|
18804
|
-
const _hoisted_5$
|
|
18908
|
+
const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-1fc4f739"]]);
|
|
18909
|
+
const _hoisted_1$s = ["title"];
|
|
18910
|
+
const _hoisted_2$p = { key: 0 };
|
|
18911
|
+
const _hoisted_3$l = ["disabled"];
|
|
18912
|
+
const _hoisted_4$c = ["onClick"];
|
|
18913
|
+
const _hoisted_5$8 = {
|
|
18805
18914
|
key: 0,
|
|
18806
18915
|
class: "option-label"
|
|
18807
18916
|
};
|
|
18808
|
-
const _hoisted_6$
|
|
18917
|
+
const _hoisted_6$6 = {
|
|
18809
18918
|
key: 1,
|
|
18810
18919
|
class: "option-label"
|
|
18811
18920
|
};
|
|
18812
18921
|
const _hoisted_7$2 = { class: "option-description" };
|
|
18813
|
-
const _sfc_main$
|
|
18922
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
18814
18923
|
__name: "LinkField",
|
|
18815
18924
|
props: {
|
|
18816
18925
|
description: { default: "" },
|
|
@@ -18934,7 +19043,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
18934
19043
|
class: normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
18935
19044
|
title: _ctx.description
|
|
18936
19045
|
}, [
|
|
18937
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
19046
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$p, [
|
|
18938
19047
|
createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
|
|
18939
19048
|
])) : createCommentVNode("", true),
|
|
18940
19049
|
withDirectives(createElementVNode("input", {
|
|
@@ -18946,7 +19055,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
18946
19055
|
onFocus: initList,
|
|
18947
19056
|
onInput: handleInput,
|
|
18948
19057
|
disabled: !_ctx.editMode
|
|
18949
|
-
}, null, 40, _hoisted_3$
|
|
19058
|
+
}, null, 40, _hoisted_3$l), [
|
|
18950
19059
|
[vModelText, selectedItem.value]
|
|
18951
19060
|
]),
|
|
18952
19061
|
createElementVNode("div", {
|
|
@@ -18966,26 +19075,26 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
18966
19075
|
key: unref(formatString)(option2.value, "pascal"),
|
|
18967
19076
|
onClick: withModifiers(($event) => handleSelect(option2), ["stop"])
|
|
18968
19077
|
}, [
|
|
18969
|
-
option2.label ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
19078
|
+
option2.label ? (openBlock(), createElementBlock("div", _hoisted_5$8, [
|
|
18970
19079
|
createTextVNode(toDisplayString(option2.label), 1),
|
|
18971
19080
|
createElementVNode("span", null, "ID: " + toDisplayString(option2.value), 1)
|
|
18972
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_6$
|
|
19081
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_6$6, " ID: " + toDisplayString(option2.value), 1)),
|
|
18973
19082
|
createElementVNode("div", _hoisted_7$2, toDisplayString(option2.description), 1)
|
|
18974
|
-
], 8, _hoisted_4$
|
|
19083
|
+
], 8, _hoisted_4$c);
|
|
18975
19084
|
}), 128))
|
|
18976
19085
|
], 2)
|
|
18977
19086
|
]))
|
|
18978
19087
|
], 2)
|
|
18979
|
-
], 10, _hoisted_1$
|
|
19088
|
+
], 10, _hoisted_1$s);
|
|
18980
19089
|
};
|
|
18981
19090
|
}
|
|
18982
19091
|
});
|
|
18983
|
-
const LinkField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18984
|
-
const _hoisted_1$
|
|
18985
|
-
const _hoisted_2$
|
|
18986
|
-
const _hoisted_3$
|
|
18987
|
-
const _hoisted_4$
|
|
18988
|
-
const _sfc_main$
|
|
19092
|
+
const LinkField = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-947beb38"]]);
|
|
19093
|
+
const _hoisted_1$r = ["title"];
|
|
19094
|
+
const _hoisted_2$o = { key: 0 };
|
|
19095
|
+
const _hoisted_3$k = { class: "password-input-wrap" };
|
|
19096
|
+
const _hoisted_4$b = ["value", "type", "placeholder"];
|
|
19097
|
+
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
18989
19098
|
__name: "PasswordInput",
|
|
18990
19099
|
props: {
|
|
18991
19100
|
description: { default: "" },
|
|
@@ -19019,31 +19128,31 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
19019
19128
|
class: normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
19020
19129
|
title: _ctx.description
|
|
19021
19130
|
}, [
|
|
19022
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
19131
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$o, [
|
|
19023
19132
|
createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
|
|
19024
19133
|
])) : createCommentVNode("", true),
|
|
19025
|
-
createElementVNode("div", _hoisted_3$
|
|
19134
|
+
createElementVNode("div", _hoisted_3$k, [
|
|
19026
19135
|
createElementVNode("input", {
|
|
19027
19136
|
value: _ctx.modelValue,
|
|
19028
19137
|
type: unref(inputType),
|
|
19029
19138
|
onInput: handleInput,
|
|
19030
19139
|
placeholder: _ctx.placeholder,
|
|
19031
19140
|
class: normalizeClass({ "no-edit": !_ctx.editMode })
|
|
19032
|
-
}, null, 42, _hoisted_4$
|
|
19141
|
+
}, null, 42, _hoisted_4$b),
|
|
19033
19142
|
createElementVNode("div", {
|
|
19034
19143
|
class: "icon-font password-icon",
|
|
19035
19144
|
onMousedown: toggleInputType
|
|
19036
19145
|
}, " visibility ", 32)
|
|
19037
19146
|
])
|
|
19038
|
-
], 10, _hoisted_1$
|
|
19147
|
+
], 10, _hoisted_1$r);
|
|
19039
19148
|
};
|
|
19040
19149
|
}
|
|
19041
19150
|
});
|
|
19042
|
-
const PasswordInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19043
|
-
const _hoisted_1$
|
|
19044
|
-
const _hoisted_2$
|
|
19045
|
-
const _hoisted_3$
|
|
19046
|
-
const _sfc_main$
|
|
19151
|
+
const PasswordInput = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-525f5e2e"]]);
|
|
19152
|
+
const _hoisted_1$q = ["title"];
|
|
19153
|
+
const _hoisted_2$n = ["for"];
|
|
19154
|
+
const _hoisted_3$j = ["id", "type", "placeholder", "required", "pattern"];
|
|
19155
|
+
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
19047
19156
|
__name: "Password",
|
|
19048
19157
|
props: {
|
|
19049
19158
|
field: {},
|
|
@@ -19083,22 +19192,22 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
19083
19192
|
class: { "no-edit": !_ctx.editMode },
|
|
19084
19193
|
required: _ctx.required,
|
|
19085
19194
|
pattern: _ctx.pattern
|
|
19086
|
-
}, _ctx.nativeInputAttrs), null, 16, _hoisted_3$
|
|
19195
|
+
}, _ctx.nativeInputAttrs), null, 16, _hoisted_3$j), [
|
|
19087
19196
|
[vModelDynamic, inputVal.value]
|
|
19088
19197
|
])
|
|
19089
|
-
], 8, _hoisted_2$
|
|
19090
|
-
createVNode(unref(_sfc_main$
|
|
19198
|
+
], 8, _hoisted_2$n),
|
|
19199
|
+
createVNode(unref(_sfc_main$W), {
|
|
19091
19200
|
onClick: showPassword,
|
|
19092
19201
|
icon: unref(seePassword) ? "visibility" : "visibility_off"
|
|
19093
19202
|
}, null, 8, ["icon"])
|
|
19094
|
-
], 10, _hoisted_1$
|
|
19203
|
+
], 10, _hoisted_1$q)) : createCommentVNode("", true);
|
|
19095
19204
|
};
|
|
19096
19205
|
}
|
|
19097
19206
|
});
|
|
19098
|
-
const Password = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19099
|
-
const _hoisted_1$
|
|
19100
|
-
const _hoisted_2$
|
|
19101
|
-
const _sfc_main$
|
|
19207
|
+
const Password = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-800f4000"]]);
|
|
19208
|
+
const _hoisted_1$p = ["title"];
|
|
19209
|
+
const _hoisted_2$m = { key: 0 };
|
|
19210
|
+
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
19102
19211
|
__name: "ReadOnlyInput",
|
|
19103
19212
|
props: {
|
|
19104
19213
|
field: {},
|
|
@@ -19111,49 +19220,33 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
19111
19220
|
class: normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
19112
19221
|
title: _ctx.field.description
|
|
19113
19222
|
}, [
|
|
19114
|
-
_ctx.field.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
19223
|
+
_ctx.field.label ? (openBlock(), createElementBlock("label", _hoisted_2$m, toDisplayString(_ctx.field.label), 1)) : createCommentVNode("", true),
|
|
19115
19224
|
createTextVNode(" " + toDisplayString(_ctx.modelValue), 1)
|
|
19116
|
-
], 10, _hoisted_1$
|
|
19225
|
+
], 10, _hoisted_1$p);
|
|
19117
19226
|
};
|
|
19118
19227
|
}
|
|
19119
19228
|
});
|
|
19120
|
-
const ReadOnlyInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19121
|
-
const _hoisted_1$
|
|
19122
|
-
const _hoisted_2$
|
|
19123
|
-
const _sfc_main$
|
|
19229
|
+
const ReadOnlyInput = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-b3b5a368"]]);
|
|
19230
|
+
const _hoisted_1$o = ["title"];
|
|
19231
|
+
const _hoisted_2$l = ["onClick"];
|
|
19232
|
+
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
19124
19233
|
__name: "SelectField",
|
|
19125
19234
|
props: {
|
|
19126
19235
|
inputType: {},
|
|
19127
19236
|
options: {},
|
|
19128
|
-
id: {},
|
|
19129
|
-
label: { default: "" },
|
|
19130
|
-
placeholder: { default: "" },
|
|
19131
|
-
required: { type: Boolean },
|
|
19132
|
-
is_array: { type: Boolean },
|
|
19133
|
-
can_add: { type: Boolean },
|
|
19134
|
-
can_delete: { type: [Boolean, Function] },
|
|
19135
|
-
allow_array_add: { type: Boolean },
|
|
19136
19237
|
editMode: { type: Boolean, default: true },
|
|
19137
|
-
description: { default: "" },
|
|
19138
|
-
helpText: {},
|
|
19139
|
-
currency: {},
|
|
19140
|
-
refCollection: {},
|
|
19141
|
-
refFields: {},
|
|
19142
|
-
file_key: {},
|
|
19143
|
-
fields: {},
|
|
19144
|
-
pattern: {},
|
|
19145
|
-
fieldClass: {},
|
|
19146
|
-
link: {},
|
|
19147
19238
|
field: {},
|
|
19148
19239
|
modelValue: {},
|
|
19149
|
-
small: { type: Boolean }
|
|
19240
|
+
small: { type: Boolean },
|
|
19241
|
+
label: { default: "" },
|
|
19242
|
+
description: { default: "" }
|
|
19150
19243
|
},
|
|
19151
19244
|
emits: ["update:modelValue", "selected"],
|
|
19152
19245
|
setup(__props, { emit: __emit }) {
|
|
19153
19246
|
useCssVars((_ctx) => ({
|
|
19154
|
-
"
|
|
19155
|
-
"
|
|
19156
|
-
"
|
|
19247
|
+
"530a7ef0": left2.value,
|
|
19248
|
+
"7d0177a2": `${top2.value}px`,
|
|
19249
|
+
"0ee22bfd": width.value
|
|
19157
19250
|
}));
|
|
19158
19251
|
const selectEl = ref();
|
|
19159
19252
|
const dropdown = ref();
|
|
@@ -19252,7 +19345,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
19252
19345
|
for: "label",
|
|
19253
19346
|
class: normalizeClass({ active: showList.value })
|
|
19254
19347
|
}, [
|
|
19255
|
-
createVNode(unref(_sfc_main$
|
|
19348
|
+
createVNode(unref(_sfc_main$Y), { input: _ctx.label }, null, 8, ["input"])
|
|
19256
19349
|
], 2)) : createCommentVNode("", true),
|
|
19257
19350
|
createElementVNode("div", {
|
|
19258
19351
|
class: normalizeClass(["custom-select", { "open-select": showList.value && _ctx.editMode }]),
|
|
@@ -19264,7 +19357,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
19264
19357
|
class: normalizeClass(["input", { active: showList.value }]),
|
|
19265
19358
|
name: "select-input"
|
|
19266
19359
|
}, [
|
|
19267
|
-
createVNode(unref(_sfc_main$
|
|
19360
|
+
createVNode(unref(_sfc_main$Y), { input: displayValue.value }, null, 8, ["input"])
|
|
19268
19361
|
], 2),
|
|
19269
19362
|
(openBlock(), createBlock(Teleport, { to: "#app" }, [
|
|
19270
19363
|
createElementVNode("div", {
|
|
@@ -19277,23 +19370,23 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
19277
19370
|
key: option2.value,
|
|
19278
19371
|
onClick: ($event) => handleSelect(option2)
|
|
19279
19372
|
}, [
|
|
19280
|
-
createVNode(unref(_sfc_main$
|
|
19373
|
+
createVNode(unref(_sfc_main$Y), {
|
|
19281
19374
|
input: option2.label
|
|
19282
19375
|
}, null, 8, ["input"])
|
|
19283
|
-
], 8, _hoisted_2$
|
|
19376
|
+
], 8, _hoisted_2$l);
|
|
19284
19377
|
}), 128))
|
|
19285
19378
|
], 2)
|
|
19286
19379
|
]))
|
|
19287
19380
|
], 2)
|
|
19288
|
-
], 10, _hoisted_1$
|
|
19381
|
+
], 10, _hoisted_1$o);
|
|
19289
19382
|
};
|
|
19290
19383
|
}
|
|
19291
19384
|
});
|
|
19292
|
-
const SelectField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19293
|
-
const _hoisted_1$
|
|
19294
|
-
const _hoisted_2$
|
|
19295
|
-
const _hoisted_3$
|
|
19296
|
-
const _sfc_main$
|
|
19385
|
+
const SelectField = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-f2c5b9ca"]]);
|
|
19386
|
+
const _hoisted_1$n = ["title"];
|
|
19387
|
+
const _hoisted_2$k = { key: 0 };
|
|
19388
|
+
const _hoisted_3$i = ["value", "placeholder"];
|
|
19389
|
+
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
19297
19390
|
__name: "RichTextEditor",
|
|
19298
19391
|
props: {
|
|
19299
19392
|
description: { default: "" },
|
|
@@ -19316,7 +19409,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
19316
19409
|
class: normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
19317
19410
|
title: _ctx.description
|
|
19318
19411
|
}, [
|
|
19319
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
19412
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$k, [
|
|
19320
19413
|
createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
|
|
19321
19414
|
])) : createCommentVNode("", true),
|
|
19322
19415
|
createElementVNode("textarea", {
|
|
@@ -19324,12 +19417,12 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
19324
19417
|
onInput: handleInput,
|
|
19325
19418
|
placeholder: _ctx.placeholder,
|
|
19326
19419
|
class: normalizeClass({ "no-edit": !_ctx.editMode })
|
|
19327
|
-
}, null, 42, _hoisted_3$
|
|
19328
|
-
], 10, _hoisted_1$
|
|
19420
|
+
}, null, 42, _hoisted_3$i)
|
|
19421
|
+
], 10, _hoisted_1$n);
|
|
19329
19422
|
};
|
|
19330
19423
|
}
|
|
19331
19424
|
});
|
|
19332
|
-
const RichTextEditor = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19425
|
+
const RichTextEditor = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-69a60381"]]);
|
|
19333
19426
|
/*!
|
|
19334
19427
|
* vue-draggable-next v2.2.0
|
|
19335
19428
|
* (c) 2023 Anish George
|
|
@@ -21852,13 +21945,13 @@ const VueDraggableNext = defineComponent({
|
|
|
21852
21945
|
}
|
|
21853
21946
|
}
|
|
21854
21947
|
});
|
|
21855
|
-
const _hoisted_1$
|
|
21856
|
-
const _hoisted_2$
|
|
21857
|
-
const _hoisted_3$
|
|
21858
|
-
const _hoisted_4$
|
|
21859
|
-
const _hoisted_5$
|
|
21860
|
-
const _hoisted_6$
|
|
21861
|
-
const _sfc_main$
|
|
21948
|
+
const _hoisted_1$m = ["title"];
|
|
21949
|
+
const _hoisted_2$j = { class: "bagel-input" };
|
|
21950
|
+
const _hoisted_3$h = { class: "table-side-scroll" };
|
|
21951
|
+
const _hoisted_4$a = { class: "table-header" };
|
|
21952
|
+
const _hoisted_5$7 = { class: "table-reorder" };
|
|
21953
|
+
const _hoisted_6$5 = { class: "table-action" };
|
|
21954
|
+
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
21862
21955
|
__name: "TableField",
|
|
21863
21956
|
props: {
|
|
21864
21957
|
description: { default: "" },
|
|
@@ -21923,11 +22016,11 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
21923
22016
|
class: "table-field-wrap",
|
|
21924
22017
|
title: _ctx.description
|
|
21925
22018
|
}, [
|
|
21926
|
-
createElementVNode("div", _hoisted_2$
|
|
22019
|
+
createElementVNode("div", _hoisted_2$j, [
|
|
21927
22020
|
createElementVNode("label", null, toDisplayString((_a2 = unref(fieldMeta)) == null ? void 0 : _a2.label), 1)
|
|
21928
22021
|
]),
|
|
21929
|
-
createElementVNode("div", _hoisted_3$
|
|
21930
|
-
createElementVNode("div", _hoisted_4$
|
|
22022
|
+
createElementVNode("div", _hoisted_3$h, [
|
|
22023
|
+
createElementVNode("div", _hoisted_4$a, [
|
|
21931
22024
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList((_b = unref(entityMeta)) == null ? void 0 : _b.fields, (field) => {
|
|
21932
22025
|
return openBlock(), createElementBlock("div", {
|
|
21933
22026
|
class: normalizeClass(["header-col", unref(formatString)(field.fieldtype, "pascal")]),
|
|
@@ -21954,8 +22047,8 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
21954
22047
|
class: "flex table-row",
|
|
21955
22048
|
key: row.id
|
|
21956
22049
|
}, [
|
|
21957
|
-
createElementVNode("div", _hoisted_5$
|
|
21958
|
-
createVNode(_sfc_main$
|
|
22050
|
+
createElementVNode("div", _hoisted_5$7, [
|
|
22051
|
+
createVNode(_sfc_main$t, { icon: "more_vert" })
|
|
21959
22052
|
]),
|
|
21960
22053
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList((_a3 = unref(entityMeta)) == null ? void 0 : _a3.fields, (field) => {
|
|
21961
22054
|
return openBlock(), createElementBlock("div", {
|
|
@@ -21971,8 +22064,8 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
21971
22064
|
}, null, 8, ["field-meta", "bagel-app", "onUpdate:modelValue", "model-value"])
|
|
21972
22065
|
], 2);
|
|
21973
22066
|
}), 128)),
|
|
21974
|
-
createElementVNode("div", _hoisted_6$
|
|
21975
|
-
createVNode(_sfc_main$
|
|
22067
|
+
createElementVNode("div", _hoisted_6$5, [
|
|
22068
|
+
createVNode(_sfc_main$t, {
|
|
21976
22069
|
icon: "delete",
|
|
21977
22070
|
onClick: ($event) => removeRow(index2)
|
|
21978
22071
|
}, null, 8, ["onClick"])
|
|
@@ -21998,15 +22091,15 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
21998
22091
|
]),
|
|
21999
22092
|
_: 1
|
|
22000
22093
|
})
|
|
22001
|
-
], 8, _hoisted_1$
|
|
22094
|
+
], 8, _hoisted_1$m);
|
|
22002
22095
|
};
|
|
22003
22096
|
}
|
|
22004
22097
|
});
|
|
22005
|
-
const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22006
|
-
const _hoisted_1$
|
|
22007
|
-
const _hoisted_2$
|
|
22008
|
-
const _hoisted_3$
|
|
22009
|
-
const _sfc_main$
|
|
22098
|
+
const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-1d1376d2"]]);
|
|
22099
|
+
const _hoisted_1$l = ["title"];
|
|
22100
|
+
const _hoisted_2$i = { key: 0 };
|
|
22101
|
+
const _hoisted_3$g = ["value", "title", "placeholder"];
|
|
22102
|
+
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
22010
22103
|
__name: "DurationInput",
|
|
22011
22104
|
props: {
|
|
22012
22105
|
description: { default: "" },
|
|
@@ -22033,7 +22126,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
22033
22126
|
class: normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
22034
22127
|
title: _ctx.description
|
|
22035
22128
|
}, [
|
|
22036
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
22129
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$i, [
|
|
22037
22130
|
createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
|
|
22038
22131
|
])) : createCommentVNode("", true),
|
|
22039
22132
|
createElementVNode("input", {
|
|
@@ -22043,15 +22136,16 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
22043
22136
|
onInput: handleInput,
|
|
22044
22137
|
placeholder: _ctx.placeholder,
|
|
22045
22138
|
class: normalizeClass({ "no-edit": !_ctx.editMode })
|
|
22046
|
-
}, null, 42, _hoisted_3$
|
|
22047
|
-
], 10, _hoisted_1$
|
|
22139
|
+
}, null, 42, _hoisted_3$g)
|
|
22140
|
+
], 10, _hoisted_1$l);
|
|
22048
22141
|
};
|
|
22049
22142
|
}
|
|
22050
22143
|
});
|
|
22051
|
-
const _hoisted_1$
|
|
22052
|
-
const _hoisted_2$
|
|
22053
|
-
const _hoisted_3$
|
|
22054
|
-
const
|
|
22144
|
+
const _hoisted_1$k = ["title"];
|
|
22145
|
+
const _hoisted_2$h = ["for"];
|
|
22146
|
+
const _hoisted_3$f = ["autocomplete", "id", "type", "placeholder", "disabled", "required", "pattern"];
|
|
22147
|
+
const _hoisted_4$9 = ["id", "type", "rows", "placeholder", "disabled", "required", "pattern"];
|
|
22148
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
22055
22149
|
__name: "TextInput",
|
|
22056
22150
|
props: {
|
|
22057
22151
|
id: {},
|
|
@@ -22067,7 +22161,12 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
22067
22161
|
type: { default: "text" },
|
|
22068
22162
|
nativeInputAttrs: {},
|
|
22069
22163
|
icon: {},
|
|
22070
|
-
iconStart: {}
|
|
22164
|
+
iconStart: {},
|
|
22165
|
+
multiline: { type: Boolean },
|
|
22166
|
+
autoheight: { type: Boolean },
|
|
22167
|
+
code: { type: Boolean },
|
|
22168
|
+
lines: {},
|
|
22169
|
+
autocomplete: { default: "off" }
|
|
22071
22170
|
},
|
|
22072
22171
|
emits: ["update:modelValue", "debounce"],
|
|
22073
22172
|
setup(__props, { emit: __emit }) {
|
|
@@ -22089,6 +22188,16 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
22089
22188
|
}, 10);
|
|
22090
22189
|
}
|
|
22091
22190
|
};
|
|
22191
|
+
const rows = computed(() => {
|
|
22192
|
+
var _a2;
|
|
22193
|
+
if (props2.lines)
|
|
22194
|
+
return props2.lines;
|
|
22195
|
+
if (props2.autoheight)
|
|
22196
|
+
return ((_a2 = `${inputVal.value}`) == null ? void 0 : _a2.split("\n").length) || 1;
|
|
22197
|
+
if (props2.multiline || props2.code)
|
|
22198
|
+
return 4;
|
|
22199
|
+
return 1;
|
|
22200
|
+
});
|
|
22092
22201
|
watch(
|
|
22093
22202
|
() => inputVal.value,
|
|
22094
22203
|
(newVal) => {
|
|
@@ -22110,34 +22219,48 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
22110
22219
|
);
|
|
22111
22220
|
return (_ctx, _cache) => {
|
|
22112
22221
|
return openBlock(), createElementBlock("div", {
|
|
22113
|
-
class: normalizeClass(["bagel-input", { small: _ctx.small, shrink: _ctx.shrink, toggleEdit: _ctx.toggleEdit, editMode: unref(editMode), textInputIconWrap: _ctx.icon, txtInputIconStart: _ctx.iconStart }]),
|
|
22222
|
+
class: normalizeClass(["bagel-input text-input", { small: _ctx.small, shrink: _ctx.shrink, toggleEdit: _ctx.toggleEdit, editMode: unref(editMode), textInputIconWrap: _ctx.icon, txtInputIconStart: _ctx.iconStart, code: _ctx.code }]),
|
|
22114
22223
|
title: _ctx.title
|
|
22115
22224
|
}, [
|
|
22116
22225
|
createElementVNode("label", { for: _ctx.id }, [
|
|
22117
22226
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
22118
|
-
withDirectives(
|
|
22227
|
+
!_ctx.multiline && !_ctx.autoheight && !_ctx.code ? withDirectives((openBlock(), createElementBlock("input", mergeProps({
|
|
22228
|
+
key: 0,
|
|
22229
|
+
autocomplete: _ctx.autocomplete,
|
|
22119
22230
|
id: _ctx.id,
|
|
22120
22231
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(inputVal) ? inputVal.value = $event : inputVal = $event),
|
|
22121
22232
|
type: _ctx.type,
|
|
22233
|
+
rows: 1,
|
|
22122
22234
|
ref_key: "input",
|
|
22123
22235
|
ref: input2,
|
|
22124
22236
|
placeholder: _ctx.placeholder || _ctx.label,
|
|
22125
22237
|
disabled: !unref(editMode),
|
|
22126
22238
|
required: _ctx.required,
|
|
22127
22239
|
pattern: _ctx.pattern
|
|
22128
|
-
}, _ctx.nativeInputAttrs, {
|
|
22129
|
-
onDblclick: toggleEditAction,
|
|
22130
|
-
onKeydown: withKeys(toggleEditAction, ["enter"])
|
|
22131
|
-
}), null, 16, _hoisted_3$e), [
|
|
22240
|
+
}, _ctx.nativeInputAttrs, { onDblclick: toggleEditAction }), null, 16, _hoisted_3$f)), [
|
|
22132
22241
|
[vModelDynamic, unref(inputVal)]
|
|
22242
|
+
]) : withDirectives((openBlock(), createElementBlock("textarea", mergeProps({
|
|
22243
|
+
key: 1,
|
|
22244
|
+
id: _ctx.id,
|
|
22245
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(inputVal) ? inputVal.value = $event : inputVal = $event),
|
|
22246
|
+
type: _ctx.type,
|
|
22247
|
+
rows: rows.value,
|
|
22248
|
+
ref_key: "input",
|
|
22249
|
+
ref: input2,
|
|
22250
|
+
placeholder: _ctx.placeholder || _ctx.label,
|
|
22251
|
+
disabled: !unref(editMode),
|
|
22252
|
+
required: _ctx.required,
|
|
22253
|
+
pattern: _ctx.pattern
|
|
22254
|
+
}, _ctx.nativeInputAttrs, { onDblclick: toggleEditAction }), null, 16, _hoisted_4$9)), [
|
|
22255
|
+
[vModelText, unref(inputVal)]
|
|
22133
22256
|
])
|
|
22134
|
-
], 8, _hoisted_2$
|
|
22135
|
-
_ctx.iconStart ? (openBlock(), createBlock(unref(_sfc_main$
|
|
22257
|
+
], 8, _hoisted_2$h),
|
|
22258
|
+
_ctx.iconStart ? (openBlock(), createBlock(unref(_sfc_main$W), {
|
|
22136
22259
|
key: 0,
|
|
22137
22260
|
class: "iconStart",
|
|
22138
22261
|
icon: _ctx.iconStart
|
|
22139
22262
|
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
22140
|
-
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$
|
|
22263
|
+
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$W), {
|
|
22141
22264
|
key: 1,
|
|
22142
22265
|
icon: _ctx.icon
|
|
22143
22266
|
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
@@ -22149,19 +22272,19 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
22149
22272
|
icon: unref(editMode) ? "check" : "edit",
|
|
22150
22273
|
flat: ""
|
|
22151
22274
|
}, null, 8, ["icon"])) : createCommentVNode("", true)
|
|
22152
|
-
], 10, _hoisted_1$
|
|
22275
|
+
], 10, _hoisted_1$k);
|
|
22153
22276
|
};
|
|
22154
22277
|
}
|
|
22155
22278
|
});
|
|
22156
|
-
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22157
|
-
const _hoisted_1$
|
|
22158
|
-
const _hoisted_2$
|
|
22159
|
-
const _hoisted_3$
|
|
22279
|
+
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-9f24ba22"]]);
|
|
22280
|
+
const _hoisted_1$j = ["title"];
|
|
22281
|
+
const _hoisted_2$g = { key: 0 };
|
|
22282
|
+
const _hoisted_3$e = {
|
|
22160
22283
|
key: 1,
|
|
22161
22284
|
class: "character-limit"
|
|
22162
22285
|
};
|
|
22163
|
-
const _hoisted_4$
|
|
22164
|
-
const _sfc_main$
|
|
22286
|
+
const _hoisted_4$8 = ["value"];
|
|
22287
|
+
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
22165
22288
|
__name: "TextArea",
|
|
22166
22289
|
props: {
|
|
22167
22290
|
description: { default: "" },
|
|
@@ -22186,24 +22309,24 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
22186
22309
|
class: normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
22187
22310
|
title: _ctx.description
|
|
22188
22311
|
}, [
|
|
22189
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
22190
|
-
createVNode(unref(_sfc_main$
|
|
22312
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$g, [
|
|
22313
|
+
createVNode(unref(_sfc_main$Y), { input: _ctx.label }, null, 8, ["input"])
|
|
22191
22314
|
])) : createCommentVNode("", true),
|
|
22192
|
-
_ctx.showCharacterLimit ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
22315
|
+
_ctx.showCharacterLimit ? (openBlock(), createElementBlock("span", _hoisted_3$e, toDisplayString((_a2 = _ctx.modelValue) == null ? void 0 : _a2.length) + " " + toDisplayString(((_b = _ctx.nativeInputAttrs) == null ? void 0 : _b.maxlength) ? `/${_ctx.nativeInputAttrs.maxlength}` : ""), 1)) : createCommentVNode("", true),
|
|
22193
22316
|
createElementVNode("textarea", mergeProps({
|
|
22194
22317
|
value: _ctx.modelValue,
|
|
22195
22318
|
onInput: handleInput,
|
|
22196
22319
|
class: { "no-edit": !_ctx.editMode }
|
|
22197
|
-
}, _ctx.nativeInputAttrs), null, 16, _hoisted_4$
|
|
22198
|
-
], 10, _hoisted_1$
|
|
22320
|
+
}, _ctx.nativeInputAttrs), null, 16, _hoisted_4$8)
|
|
22321
|
+
], 10, _hoisted_1$j);
|
|
22199
22322
|
};
|
|
22200
22323
|
}
|
|
22201
22324
|
});
|
|
22202
|
-
const TextArea = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22203
|
-
const _hoisted_1$
|
|
22204
|
-
const _hoisted_2$
|
|
22205
|
-
const _hoisted_3$
|
|
22206
|
-
const _sfc_main$
|
|
22325
|
+
const TextArea = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-a5b28c58"]]);
|
|
22326
|
+
const _hoisted_1$i = ["title"];
|
|
22327
|
+
const _hoisted_2$f = ["for"];
|
|
22328
|
+
const _hoisted_3$d = ["id", "placeholder", "required"];
|
|
22329
|
+
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
22207
22330
|
__name: "ColorPicker",
|
|
22208
22331
|
props: {
|
|
22209
22332
|
field: {},
|
|
@@ -22240,19 +22363,19 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
22240
22363
|
placeholder: ((_a2 = _ctx.field) == null ? void 0 : _a2.placeholder) || _ctx.field.label,
|
|
22241
22364
|
class: { "no-edit": !_ctx.editMode },
|
|
22242
22365
|
required: _ctx.required
|
|
22243
|
-
}, _ctx.nativeInputAttrs), null, 16, _hoisted_3$
|
|
22366
|
+
}, _ctx.nativeInputAttrs), null, 16, _hoisted_3$d), [
|
|
22244
22367
|
[vModelText, inputVal.value]
|
|
22245
22368
|
])
|
|
22246
|
-
], 8, _hoisted_2$
|
|
22247
|
-
], 10, _hoisted_1$
|
|
22369
|
+
], 8, _hoisted_2$f)
|
|
22370
|
+
], 10, _hoisted_1$i)) : createCommentVNode("", true);
|
|
22248
22371
|
};
|
|
22249
22372
|
}
|
|
22250
22373
|
});
|
|
22251
|
-
const _hoisted_1$
|
|
22252
|
-
const _hoisted_2$
|
|
22253
|
-
const _hoisted_3$
|
|
22254
|
-
const _hoisted_4$
|
|
22255
|
-
const _sfc_main$
|
|
22374
|
+
const _hoisted_1$h = { key: 0 };
|
|
22375
|
+
const _hoisted_2$e = ["disabled"];
|
|
22376
|
+
const _hoisted_3$c = { class: "custom-select-drop" };
|
|
22377
|
+
const _hoisted_4$7 = ["onClick"];
|
|
22378
|
+
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
22256
22379
|
__name: "DynamicLinkField",
|
|
22257
22380
|
props: {
|
|
22258
22381
|
label: { default: "" },
|
|
@@ -22328,7 +22451,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
22328
22451
|
return openBlock(), createElementBlock("div", {
|
|
22329
22452
|
class: normalizeClass(["bagel-input", { small: _ctx.small }])
|
|
22330
22453
|
}, [
|
|
22331
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
22454
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_1$h, [
|
|
22332
22455
|
createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
|
|
22333
22456
|
])) : createCommentVNode("", true),
|
|
22334
22457
|
withDirectives(createElementVNode("input", {
|
|
@@ -22340,19 +22463,19 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
22340
22463
|
onFocus: initList,
|
|
22341
22464
|
onInput: handleInput,
|
|
22342
22465
|
disabled: !_ctx.editMode
|
|
22343
|
-
}, null, 40, _hoisted_2$
|
|
22466
|
+
}, null, 40, _hoisted_2$e), [
|
|
22344
22467
|
[vModelText, selectedItem.value]
|
|
22345
22468
|
]),
|
|
22346
22469
|
createElementVNode("div", {
|
|
22347
22470
|
class: normalizeClass(["custom-select", { "open-select": showList.value && linkOptions.value.length > 0 }]),
|
|
22348
22471
|
name: "link-input"
|
|
22349
22472
|
}, [
|
|
22350
|
-
createElementVNode("div", _hoisted_3$
|
|
22473
|
+
createElementVNode("div", _hoisted_3$c, [
|
|
22351
22474
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(linkOptions.value, (item2) => {
|
|
22352
22475
|
return openBlock(), createElementBlock("div", {
|
|
22353
22476
|
key: unref(formatString)(item2.value, "pascal"),
|
|
22354
22477
|
onClick: withModifiers(($event) => handleSelect(item2), ["stop"])
|
|
22355
|
-
}, toDisplayString(_ctx.useId || _ctx.entity === "Entity" ? item2.value : item2.label || item2.description || item2.value), 9, _hoisted_4$
|
|
22478
|
+
}, toDisplayString(_ctx.useId || _ctx.entity === "Entity" ? item2.value : item2.label || item2.description || item2.value), 9, _hoisted_4$7);
|
|
22356
22479
|
}), 128))
|
|
22357
22480
|
])
|
|
22358
22481
|
], 2)
|
|
@@ -22360,10 +22483,10 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
22360
22483
|
};
|
|
22361
22484
|
}
|
|
22362
22485
|
});
|
|
22363
|
-
const _hoisted_1$
|
|
22364
|
-
const _hoisted_2$
|
|
22365
|
-
const _hoisted_3$
|
|
22366
|
-
const _sfc_main$
|
|
22486
|
+
const _hoisted_1$g = ["title"];
|
|
22487
|
+
const _hoisted_2$d = ["for"];
|
|
22488
|
+
const _hoisted_3$b = ["id", "placeholder", "required", "pattern"];
|
|
22489
|
+
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
22367
22490
|
__name: "PlainText",
|
|
22368
22491
|
props: {
|
|
22369
22492
|
field: {},
|
|
@@ -22409,15 +22532,15 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
22409
22532
|
class: { "no-edit": !_ctx.editMode },
|
|
22410
22533
|
required: _ctx.required,
|
|
22411
22534
|
pattern: _ctx.pattern
|
|
22412
|
-
}, _ctx.nativeInputAttrs), null, 16, _hoisted_3$
|
|
22535
|
+
}, _ctx.nativeInputAttrs), null, 16, _hoisted_3$b), [
|
|
22413
22536
|
[vModelText, unref(inputVal)]
|
|
22414
22537
|
])
|
|
22415
|
-
], 8, _hoisted_2$
|
|
22416
|
-
], 10, _hoisted_1$
|
|
22538
|
+
], 8, _hoisted_2$d)
|
|
22539
|
+
], 10, _hoisted_1$g)) : createCommentVNode("", true);
|
|
22417
22540
|
};
|
|
22418
22541
|
}
|
|
22419
22542
|
});
|
|
22420
|
-
const PlainText = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22543
|
+
const PlainText = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-188270a2"]]);
|
|
22421
22544
|
function _typeof(o) {
|
|
22422
22545
|
"@babel/helpers - typeof";
|
|
22423
22546
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
@@ -31794,15 +31917,15 @@ const vl = ({
|
|
|
31794
31917
|
Object.entries(Ro).forEach(([e3, t4]) => {
|
|
31795
31918
|
e3 !== "default" && (ja[e3] = t4);
|
|
31796
31919
|
});
|
|
31797
|
-
const _hoisted_1$
|
|
31798
|
-
const _hoisted_2$
|
|
31799
|
-
const _hoisted_3$
|
|
31920
|
+
const _hoisted_1$f = { class: "datetime-wrap" };
|
|
31921
|
+
const _hoisted_2$c = { class: "date-wrap" };
|
|
31922
|
+
const _hoisted_3$a = {
|
|
31800
31923
|
key: 0,
|
|
31801
31924
|
class: "time-wrap"
|
|
31802
31925
|
};
|
|
31803
|
-
const _hoisted_4$
|
|
31804
|
-
const _hoisted_5$
|
|
31805
|
-
const _sfc_main$
|
|
31926
|
+
const _hoisted_4$6 = ["id", "name", "value"];
|
|
31927
|
+
const _hoisted_5$6 = ["for"];
|
|
31928
|
+
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
31806
31929
|
__name: "DatePicker",
|
|
31807
31930
|
props: {
|
|
31808
31931
|
name: {},
|
|
@@ -31818,8 +31941,8 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
31818
31941
|
return `${hour}:${minute}`;
|
|
31819
31942
|
});
|
|
31820
31943
|
return (_ctx, _cache) => {
|
|
31821
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
31822
|
-
createElementVNode("div", _hoisted_2$
|
|
31944
|
+
return openBlock(), createElementBlock("div", _hoisted_1$f, [
|
|
31945
|
+
createElementVNode("div", _hoisted_2$c, [
|
|
31823
31946
|
createVNode(unref(ja), mergeProps({
|
|
31824
31947
|
inline: "",
|
|
31825
31948
|
"week-start": "0",
|
|
@@ -31834,7 +31957,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
31834
31957
|
_: 1
|
|
31835
31958
|
}, 16, ["modelValue"])
|
|
31836
31959
|
]),
|
|
31837
|
-
_ctx.showTimeWrap ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
31960
|
+
_ctx.showTimeWrap ? (openBlock(), createElementBlock("div", _hoisted_3$a, [
|
|
31838
31961
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(hours), (hr2) => {
|
|
31839
31962
|
return openBlock(), createElementBlock(Fragment$1, { key: hr2 }, [
|
|
31840
31963
|
withDirectives(createElementVNode("input", {
|
|
@@ -31843,12 +31966,12 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
31843
31966
|
name: _ctx.name,
|
|
31844
31967
|
value: hr2,
|
|
31845
31968
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => selectedHour.value = $event)
|
|
31846
|
-
}, null, 8, _hoisted_4$
|
|
31969
|
+
}, null, 8, _hoisted_4$6), [
|
|
31847
31970
|
[vModelRadio, selectedHour.value]
|
|
31848
31971
|
]),
|
|
31849
31972
|
createElementVNode("label", {
|
|
31850
31973
|
for: `${hr2}_${_ctx.name}`
|
|
31851
|
-
}, toDisplayString(hr2), 9, _hoisted_5$
|
|
31974
|
+
}, toDisplayString(hr2), 9, _hoisted_5$6)
|
|
31852
31975
|
], 64);
|
|
31853
31976
|
}), 128))
|
|
31854
31977
|
])) : createCommentVNode("", true)
|
|
@@ -31856,10 +31979,10 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
31856
31979
|
};
|
|
31857
31980
|
}
|
|
31858
31981
|
});
|
|
31859
|
-
const _hoisted_1$
|
|
31860
|
-
const _hoisted_2$
|
|
31861
|
-
const _hoisted_3$
|
|
31862
|
-
const _sfc_main$
|
|
31982
|
+
const _hoisted_1$e = { class: "flex gap-2 flex-wrap" };
|
|
31983
|
+
const _hoisted_2$b = ["id", "name", "value", "checked"];
|
|
31984
|
+
const _hoisted_3$9 = ["for"];
|
|
31985
|
+
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
31863
31986
|
__name: "RadioPillsInput",
|
|
31864
31987
|
props: {
|
|
31865
31988
|
options: {},
|
|
@@ -31897,7 +32020,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
31897
32020
|
selectedValue.value = props2.modelValue;
|
|
31898
32021
|
});
|
|
31899
32022
|
return (_ctx, _cache) => {
|
|
31900
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
32023
|
+
return openBlock(), createElementBlock("div", _hoisted_1$e, [
|
|
31901
32024
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(cumputedOptions.value, ({ id, label: label2, value }, index2) => {
|
|
31902
32025
|
return openBlock(), createElementBlock("div", {
|
|
31903
32026
|
class: "radio-pill",
|
|
@@ -31910,15 +32033,120 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
31910
32033
|
value,
|
|
31911
32034
|
checked: unref(selectedValue) === value,
|
|
31912
32035
|
onChange: handleSelect
|
|
31913
|
-
}, null, 40, _hoisted_2$
|
|
31914
|
-
createElementVNode("label", { for: id }, toDisplayString(label2), 9, _hoisted_3$
|
|
32036
|
+
}, null, 40, _hoisted_2$b),
|
|
32037
|
+
createElementVNode("label", { for: id }, toDisplayString(label2), 9, _hoisted_3$9)
|
|
31915
32038
|
]);
|
|
31916
32039
|
}), 128))
|
|
31917
32040
|
]);
|
|
31918
32041
|
};
|
|
31919
32042
|
}
|
|
31920
32043
|
});
|
|
31921
|
-
const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
32044
|
+
const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-97e3ba8c"]]);
|
|
32045
|
+
const _hoisted_1$d = { class: "bagel-input" };
|
|
32046
|
+
const _hoisted_2$a = { key: 0 };
|
|
32047
|
+
const _hoisted_3$8 = { class: "imagePreviewWrap" };
|
|
32048
|
+
const _hoisted_4$5 = ["src"];
|
|
32049
|
+
const _hoisted_5$5 = { class: "previewName" };
|
|
32050
|
+
const _hoisted_6$4 = { class: "no-margin" };
|
|
32051
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
32052
|
+
__name: "FileUpload",
|
|
32053
|
+
props: {
|
|
32054
|
+
label: {},
|
|
32055
|
+
multiple: { type: Boolean }
|
|
32056
|
+
},
|
|
32057
|
+
setup(__props) {
|
|
32058
|
+
const props2 = __props;
|
|
32059
|
+
const files = ref([]);
|
|
32060
|
+
const fileQueue = ref([]);
|
|
32061
|
+
let isDragOver = ref(false);
|
|
32062
|
+
const preventDefault = (e3) => {
|
|
32063
|
+
e3.preventDefault();
|
|
32064
|
+
e3.stopPropagation();
|
|
32065
|
+
};
|
|
32066
|
+
const fileToUrl = (file) => URL.createObjectURL(file);
|
|
32067
|
+
const removeFile = (file) => {
|
|
32068
|
+
const index2 = files.value.indexOf(file);
|
|
32069
|
+
files.value.splice(index2, 1);
|
|
32070
|
+
};
|
|
32071
|
+
const flushQueue = () => {
|
|
32072
|
+
fileQueue.value.forEach((file, i3) => {
|
|
32073
|
+
if (props2.multiple) {
|
|
32074
|
+
if (!files.value.includes(file))
|
|
32075
|
+
files.value.push(file);
|
|
32076
|
+
} else
|
|
32077
|
+
files.value.splice(0, 1, file);
|
|
32078
|
+
console.log(files.value);
|
|
32079
|
+
fileQueue.value.splice(i3, 1);
|
|
32080
|
+
});
|
|
32081
|
+
};
|
|
32082
|
+
const browse = () => {
|
|
32083
|
+
const input2 = document.createElement("input");
|
|
32084
|
+
input2.type = "file";
|
|
32085
|
+
input2.multiple = props2.multiple;
|
|
32086
|
+
input2.onchange = (e3) => {
|
|
32087
|
+
const target = e3 == null ? void 0 : e3.target;
|
|
32088
|
+
if (target == null ? void 0 : target.files)
|
|
32089
|
+
fileQueue.value.push(...Array.from(target.files));
|
|
32090
|
+
flushQueue();
|
|
32091
|
+
};
|
|
32092
|
+
input2.click();
|
|
32093
|
+
};
|
|
32094
|
+
const dragleave = (e3) => {
|
|
32095
|
+
preventDefault(e3);
|
|
32096
|
+
if (e3.dataTransfer)
|
|
32097
|
+
isDragOver.value = false;
|
|
32098
|
+
else
|
|
32099
|
+
isDragOver.value = false;
|
|
32100
|
+
};
|
|
32101
|
+
const dragenter = (e3) => {
|
|
32102
|
+
preventDefault(e3);
|
|
32103
|
+
if (e3.dataTransfer)
|
|
32104
|
+
isDragOver.value = true;
|
|
32105
|
+
else
|
|
32106
|
+
isDragOver.value = false;
|
|
32107
|
+
};
|
|
32108
|
+
const drop3 = (e3) => {
|
|
32109
|
+
preventDefault(e3);
|
|
32110
|
+
if (e3.dataTransfer)
|
|
32111
|
+
fileQueue.value.push(...Array.from(e3.dataTransfer.files));
|
|
32112
|
+
isDragOver.value = false;
|
|
32113
|
+
flushQueue();
|
|
32114
|
+
};
|
|
32115
|
+
return (_ctx, _cache) => {
|
|
32116
|
+
return openBlock(), createElementBlock("div", _hoisted_1$d, [
|
|
32117
|
+
createElementVNode("label", null, toDisplayString(_ctx.label), 1),
|
|
32118
|
+
createElementVNode("div", {
|
|
32119
|
+
onClick: browse,
|
|
32120
|
+
onDragover: dragenter,
|
|
32121
|
+
onDrop: drop3,
|
|
32122
|
+
onDragleave: dragleave,
|
|
32123
|
+
class: normalizeClass(["fileUploadWrap", { fileDropZone: !files.value.length, dragover: unref(isDragOver) }])
|
|
32124
|
+
}, [
|
|
32125
|
+
files.value.length && !_ctx.multiple ? (openBlock(), createElementBlock("div", _hoisted_2$a, [
|
|
32126
|
+
createElementVNode("div", _hoisted_3$8, [
|
|
32127
|
+
createElementVNode("img", {
|
|
32128
|
+
class: "preview",
|
|
32129
|
+
src: fileToUrl(files.value[0]),
|
|
32130
|
+
alt: ""
|
|
32131
|
+
}, null, 8, _hoisted_4$5)
|
|
32132
|
+
]),
|
|
32133
|
+
createElementVNode("div", _hoisted_5$5, [
|
|
32134
|
+
createElementVNode("p", _hoisted_6$4, toDisplayString(files.value[0].name), 1),
|
|
32135
|
+
createVNode(unref(Btn), {
|
|
32136
|
+
thin: "",
|
|
32137
|
+
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => removeFile(files.value[0]), ["stop"])),
|
|
32138
|
+
flat: "",
|
|
32139
|
+
icon: "delete",
|
|
32140
|
+
color: "red"
|
|
32141
|
+
})
|
|
32142
|
+
])
|
|
32143
|
+
])) : createCommentVNode("", true)
|
|
32144
|
+
], 34)
|
|
32145
|
+
]);
|
|
32146
|
+
};
|
|
32147
|
+
}
|
|
32148
|
+
});
|
|
32149
|
+
const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-352399c0"]]);
|
|
31922
32150
|
function _isPlaceholder(a3) {
|
|
31923
32151
|
return a3 != null && typeof a3 === "object" && a3["@@functional/placeholder"] === true;
|
|
31924
32152
|
}
|
|
@@ -38376,7 +38604,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
38376
38604
|
return (_ctx, _cache) => {
|
|
38377
38605
|
var _a2, _b, _c, _d, _e2, _f;
|
|
38378
38606
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
38379
|
-
createVNode(unref(_sfc_main$
|
|
38607
|
+
createVNode(unref(_sfc_main$N), null, {
|
|
38380
38608
|
default: withCtx(() => [
|
|
38381
38609
|
createTextVNode("Whatsapp Template")
|
|
38382
38610
|
]),
|
|
@@ -38385,7 +38613,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
38385
38613
|
createElementVNode("div", _hoisted_2, [
|
|
38386
38614
|
createElementVNode("div", _hoisted_3, [
|
|
38387
38615
|
createElementVNode("div", _hoisted_4, [
|
|
38388
|
-
createVNode(unref(_sfc_main$
|
|
38616
|
+
createVNode(unref(_sfc_main$L), {
|
|
38389
38617
|
schema: _ctx.whatsappTemplateSchema(),
|
|
38390
38618
|
modelValue: unref(localWhatsappData),
|
|
38391
38619
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(localWhatsappData) ? localWhatsappData.value = $event : localWhatsappData = $event),
|
|
@@ -38414,49 +38642,52 @@ export {
|
|
|
38414
38642
|
BagelVue,
|
|
38415
38643
|
BankDetailsInput,
|
|
38416
38644
|
BarChart,
|
|
38645
|
+
_sfc_main$q as BglField,
|
|
38646
|
+
_sfc_main$r as BglForm,
|
|
38417
38647
|
Btn,
|
|
38418
38648
|
CheckInput,
|
|
38419
38649
|
Checkbox,
|
|
38420
|
-
_sfc_main$
|
|
38650
|
+
_sfc_main$7 as ColorPicker,
|
|
38421
38651
|
Comments,
|
|
38422
38652
|
ContactArrayInput,
|
|
38423
|
-
_sfc_main$
|
|
38653
|
+
_sfc_main$H as ContactSubmissions,
|
|
38424
38654
|
CurrencyInput,
|
|
38425
38655
|
DataPreview,
|
|
38426
38656
|
DateInput,
|
|
38427
|
-
_sfc_main$
|
|
38428
|
-
_sfc_main$
|
|
38429
|
-
_sfc_main$
|
|
38430
|
-
_sfc_main$
|
|
38431
|
-
_sfc_main$
|
|
38657
|
+
_sfc_main$4 as DatePicker,
|
|
38658
|
+
_sfc_main$m as DatetimeInput,
|
|
38659
|
+
_sfc_main$S as DropDown,
|
|
38660
|
+
_sfc_main$a as DurationInput,
|
|
38661
|
+
_sfc_main$6 as DynamicLinkField,
|
|
38432
38662
|
EmailInput,
|
|
38663
|
+
FileUpload,
|
|
38433
38664
|
FileUploadInput,
|
|
38434
|
-
_sfc_main$
|
|
38435
|
-
_sfc_main$
|
|
38436
|
-
_sfc_main$
|
|
38437
|
-
_sfc_main$
|
|
38438
|
-
_sfc_main$
|
|
38665
|
+
_sfc_main$x as FileUploader,
|
|
38666
|
+
_sfc_main$k as FloatInput,
|
|
38667
|
+
_sfc_main$L as FormSchema,
|
|
38668
|
+
_sfc_main$j as IntInput,
|
|
38669
|
+
_sfc_main$u as ItemRef,
|
|
38439
38670
|
JSONInput,
|
|
38440
|
-
_sfc_main$
|
|
38671
|
+
_sfc_main$Y as LangText,
|
|
38441
38672
|
_sfc_main$1 as Lineart,
|
|
38442
38673
|
LinkField,
|
|
38443
|
-
_sfc_main$
|
|
38444
|
-
_sfc_main$
|
|
38445
|
-
_sfc_main$
|
|
38674
|
+
_sfc_main$Q as ListItem,
|
|
38675
|
+
_sfc_main$R as ListView,
|
|
38676
|
+
_sfc_main$W as MaterialIcon,
|
|
38446
38677
|
MiscFieldsInput,
|
|
38447
|
-
_sfc_main$
|
|
38678
|
+
_sfc_main$T as Modal,
|
|
38448
38679
|
ModalForm,
|
|
38449
38680
|
ModalPlugin,
|
|
38450
38681
|
MsgTemplate,
|
|
38451
|
-
_sfc_main$
|
|
38452
|
-
_sfc_main$
|
|
38682
|
+
_sfc_main$V as NavBar,
|
|
38683
|
+
_sfc_main$N as PageTitle,
|
|
38453
38684
|
Password,
|
|
38454
38685
|
PasswordInput,
|
|
38455
|
-
_sfc_main$
|
|
38686
|
+
_sfc_main$G as PersonPreview,
|
|
38456
38687
|
PersonPreviewInput,
|
|
38457
|
-
_sfc_main$
|
|
38688
|
+
_sfc_main$s as PlainInputField,
|
|
38458
38689
|
PlainText,
|
|
38459
|
-
_sfc_main$
|
|
38690
|
+
_sfc_main$X as RTXEditor,
|
|
38460
38691
|
RadioPillsInput,
|
|
38461
38692
|
ReadOnlyInput,
|
|
38462
38693
|
RichTextEditor,
|
|
@@ -38467,12 +38698,12 @@ export {
|
|
|
38467
38698
|
TableSchema,
|
|
38468
38699
|
TextArea,
|
|
38469
38700
|
TextInput,
|
|
38470
|
-
_sfc_main$
|
|
38701
|
+
_sfc_main$v as TextVariableExamples,
|
|
38471
38702
|
TextVariablesInput,
|
|
38472
38703
|
ToggleSwitchInput,
|
|
38473
38704
|
TopBar,
|
|
38474
38705
|
bagelInjectionKey,
|
|
38475
|
-
|
|
38706
|
+
bindAttrs,
|
|
38476
38707
|
copyText,
|
|
38477
38708
|
debounce,
|
|
38478
38709
|
formatString,
|