@bagelink/vue 0.0.188 → 0.0.190
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/TableSchema.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/DatePicker.vue.d.ts +20 -0
- package/dist/components/form/inputs/DatePicker.vue.d.ts.map +1 -0
- 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 +545 -478
- package/dist/index.mjs +546 -479
- package/dist/style.css +186 -84
- package/package.json +6 -2
- package/src/components/TableSchema.vue +79 -70
- package/src/components/form/inputs/DatePicker.vue +153 -0
- package/src/components/form/inputs/index.ts +1 -0
- package/src/components/formkit/FileUploader.vue +4 -4
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { inject, ref, defineComponent, h, openBlock, createElementBlock, Fragment as Fragment$1, createElementVNode, createTextVNode, toDisplayString, watch, onMounted, withKeys, withModifiers, normalizeStyle, resolveComponent, normalizeClass, renderSlot, renderList, createBlock, withCtx, useSlots, resolveDynamicComponent, unref, createCommentVNode, onUnmounted, createVNode, mergeProps, withDirectives, vModelText, isRef, computed, reactive, Transition, useCssVars, pushScopeId, popScopeId, markRaw, vModelCheckbox, Teleport, vModelDynamic, TransitionGroup, provide } from "vue";
|
|
1
|
+
import { inject, ref, defineComponent, h, openBlock, createElementBlock, Fragment as Fragment$1, createElementVNode, createTextVNode, toDisplayString, watch, onMounted, withKeys, withModifiers, normalizeStyle, resolveComponent, normalizeClass, renderSlot, renderList, createBlock, withCtx, useSlots, resolveDynamicComponent, unref, createCommentVNode, onUnmounted, createVNode, mergeProps, withDirectives, vModelText, isRef, computed, reactive, Transition, useCssVars, pushScopeId, popScopeId, markRaw, vModelCheckbox, Teleport, vModelDynamic, TransitionGroup, vModelRadio, provide } from "vue";
|
|
2
2
|
function bind$2(fn, thisArg) {
|
|
3
3
|
return function wrap2() {
|
|
4
4
|
return fn.apply(thisArg, arguments);
|
|
@@ -2300,7 +2300,7 @@ const ModalPlugin = {
|
|
|
2300
2300
|
},
|
|
2301
2301
|
render() {
|
|
2302
2302
|
return modalStack.value.map((modal, index2) => {
|
|
2303
|
-
const renderComponent = modal.isModalForm ? ModalForm : _sfc_main$
|
|
2303
|
+
const renderComponent = modal.isModalForm ? ModalForm : _sfc_main$P;
|
|
2304
2304
|
return h(
|
|
2305
2305
|
renderComponent,
|
|
2306
2306
|
{
|
|
@@ -2376,8 +2376,8 @@ function useEscape(event, closeModel) {
|
|
|
2376
2376
|
closeModel();
|
|
2377
2377
|
}
|
|
2378
2378
|
}
|
|
2379
|
-
const _hoisted_1$
|
|
2380
|
-
const _sfc_main$
|
|
2379
|
+
const _hoisted_1$_ = { ref: "el" };
|
|
2380
|
+
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
2381
2381
|
__name: "LangText",
|
|
2382
2382
|
props: {
|
|
2383
2383
|
input: {}
|
|
@@ -2385,7 +2385,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
2385
2385
|
setup(__props) {
|
|
2386
2386
|
return (_ctx, _cache) => {
|
|
2387
2387
|
return openBlock(), createElementBlock(Fragment$1, null, [
|
|
2388
|
-
createElementVNode("span", _hoisted_1$
|
|
2388
|
+
createElementVNode("span", _hoisted_1$_, null, 512),
|
|
2389
2389
|
createTextVNode(" " + toDisplayString(_ctx.input), 1)
|
|
2390
2390
|
], 64);
|
|
2391
2391
|
};
|
|
@@ -14501,8 +14501,8 @@ const marks = {
|
|
|
14501
14501
|
}
|
|
14502
14502
|
};
|
|
14503
14503
|
const schema = new Schema({ nodes, marks });
|
|
14504
|
-
const _hoisted_1$
|
|
14505
|
-
const _sfc_main$
|
|
14504
|
+
const _hoisted_1$Z = ["id"];
|
|
14505
|
+
const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
14506
14506
|
__name: "RTXEditor",
|
|
14507
14507
|
props: {
|
|
14508
14508
|
elementId: { default: Math.random().toString(36).substr(2, 9) },
|
|
@@ -14579,11 +14579,11 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
14579
14579
|
onClick: focusEditor,
|
|
14580
14580
|
id: `canvas-${_ctx.elementId}`,
|
|
14581
14581
|
onKeydown: _cache[0] || (_cache[0] = withKeys(withModifiers(($event) => _ctx.$emit("keydown.meta.enter"), ["meta"]), ["enter"]))
|
|
14582
|
-
}, null, 40, _hoisted_1$
|
|
14582
|
+
}, null, 40, _hoisted_1$Z);
|
|
14583
14583
|
};
|
|
14584
14584
|
}
|
|
14585
14585
|
});
|
|
14586
|
-
const _sfc_main$
|
|
14586
|
+
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
14587
14587
|
__name: "MaterialIcon",
|
|
14588
14588
|
props: {
|
|
14589
14589
|
icon: {},
|
|
@@ -14598,17 +14598,17 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
14598
14598
|
};
|
|
14599
14599
|
}
|
|
14600
14600
|
});
|
|
14601
|
-
const _hoisted_1$
|
|
14602
|
-
const _hoisted_2$
|
|
14603
|
-
_hoisted_1$
|
|
14601
|
+
const _hoisted_1$Y = /* @__PURE__ */ createElementVNode("div", { class: "icon-font top-arrow" }, "chevron_right", -1);
|
|
14602
|
+
const _hoisted_2$Q = [
|
|
14603
|
+
_hoisted_1$Y
|
|
14604
14604
|
];
|
|
14605
|
-
const _hoisted_3$
|
|
14606
|
-
const _hoisted_4$
|
|
14607
|
-
const _hoisted_5$
|
|
14605
|
+
const _hoisted_3$I = { class: "full-nav" };
|
|
14606
|
+
const _hoisted_4$r = { class: "nav-scroll" };
|
|
14607
|
+
const _hoisted_5$m = { class: "nav-links-wrapper" };
|
|
14608
14608
|
const _hoisted_6$h = { class: "icon-font" };
|
|
14609
14609
|
const _hoisted_7$d = { class: "tooltip" };
|
|
14610
14610
|
const _hoisted_8$7 = { class: "bot-buttons-wrapper" };
|
|
14611
|
-
const _sfc_main$
|
|
14611
|
+
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
14612
14612
|
__name: "NavBar",
|
|
14613
14613
|
props: {
|
|
14614
14614
|
links: {},
|
|
@@ -14632,10 +14632,10 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
14632
14632
|
role: "button",
|
|
14633
14633
|
"aria-label": "Toggle Navigation",
|
|
14634
14634
|
tabindex: "0"
|
|
14635
|
-
}, _hoisted_2$
|
|
14636
|
-
createElementVNode("div", _hoisted_3$
|
|
14637
|
-
createElementVNode("div", _hoisted_4$
|
|
14638
|
-
createElementVNode("div", _hoisted_5$
|
|
14635
|
+
}, _hoisted_2$Q, 32),
|
|
14636
|
+
createElementVNode("div", _hoisted_3$I, [
|
|
14637
|
+
createElementVNode("div", _hoisted_4$r, [
|
|
14638
|
+
createElementVNode("div", _hoisted_5$m, [
|
|
14639
14639
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList((_a = _ctx.links) == null ? void 0 : _a.call(_ctx), (link) => {
|
|
14640
14640
|
return openBlock(), createBlock(_component_RouterLink, {
|
|
14641
14641
|
class: "nav-button",
|
|
@@ -14659,15 +14659,15 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
14659
14659
|
};
|
|
14660
14660
|
}
|
|
14661
14661
|
});
|
|
14662
|
-
const _hoisted_1$
|
|
14662
|
+
const _hoisted_1$X = {
|
|
14663
14663
|
key: 0,
|
|
14664
14664
|
class: "loading"
|
|
14665
14665
|
};
|
|
14666
|
-
const _hoisted_2$
|
|
14666
|
+
const _hoisted_2$P = {
|
|
14667
14667
|
key: 1,
|
|
14668
14668
|
class: "btn-flex"
|
|
14669
14669
|
};
|
|
14670
|
-
const _sfc_main$
|
|
14670
|
+
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
14671
14671
|
__name: "Btn",
|
|
14672
14672
|
props: {
|
|
14673
14673
|
disabled: { type: Boolean, default: false },
|
|
@@ -14703,8 +14703,8 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
14703
14703
|
})
|
|
14704
14704
|
}, {
|
|
14705
14705
|
default: withCtx(() => [
|
|
14706
|
-
_ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
14707
|
-
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$
|
|
14706
|
+
_ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_1$X)) : (openBlock(), createElementBlock("div", _hoisted_2$P, [
|
|
14707
|
+
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$S), {
|
|
14708
14708
|
key: 0,
|
|
14709
14709
|
icon: _ctx.icon
|
|
14710
14710
|
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
@@ -14712,7 +14712,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
14712
14712
|
!unref(slots)["default"] && _ctx.value ? (openBlock(), createElementBlock(Fragment$1, { key: 1 }, [
|
|
14713
14713
|
createTextVNode(toDisplayString(_ctx.value), 1)
|
|
14714
14714
|
], 64)) : createCommentVNode("", true),
|
|
14715
|
-
props2["icon.end"] ? (openBlock(), createBlock(unref(_sfc_main$
|
|
14715
|
+
props2["icon.end"] ? (openBlock(), createBlock(unref(_sfc_main$S), {
|
|
14716
14716
|
key: 2,
|
|
14717
14717
|
icon: props2["icon.end"]
|
|
14718
14718
|
}, null, 8, ["icon"])) : createCommentVNode("", true)
|
|
@@ -14730,11 +14730,11 @@ const _export_sfc = (sfc, props2) => {
|
|
|
14730
14730
|
}
|
|
14731
14731
|
return target;
|
|
14732
14732
|
};
|
|
14733
|
-
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14734
|
-
const _hoisted_1$
|
|
14735
|
-
const _hoisted_2$
|
|
14736
|
-
const _hoisted_3$
|
|
14737
|
-
const _sfc_main$
|
|
14733
|
+
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-8fe48560"]]);
|
|
14734
|
+
const _hoisted_1$W = { class: "tool-bar" };
|
|
14735
|
+
const _hoisted_2$O = { class: "modal-title" };
|
|
14736
|
+
const _hoisted_3$H = { class: "modal-footer mt-3" };
|
|
14737
|
+
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
14738
14738
|
__name: "Modal",
|
|
14739
14739
|
props: {
|
|
14740
14740
|
side: { type: Boolean },
|
|
@@ -14780,7 +14780,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
14780
14780
|
onClick: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
14781
14781
|
}, ["stop"]))
|
|
14782
14782
|
}, [
|
|
14783
|
-
createElementVNode("header", _hoisted_1$
|
|
14783
|
+
createElementVNode("header", _hoisted_1$W, [
|
|
14784
14784
|
renderSlot(_ctx.$slots, "toolbar"),
|
|
14785
14785
|
createVNode(unref(Btn), {
|
|
14786
14786
|
style: normalizeStyle({ float: _ctx.side ? "left" : "right" }),
|
|
@@ -14788,10 +14788,10 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
14788
14788
|
icon: "close",
|
|
14789
14789
|
onClick: closeModal
|
|
14790
14790
|
}, null, 8, ["style"]),
|
|
14791
|
-
createElementVNode("h3", _hoisted_2$
|
|
14791
|
+
createElementVNode("h3", _hoisted_2$O, toDisplayString(_ctx.title), 1)
|
|
14792
14792
|
]),
|
|
14793
14793
|
renderSlot(_ctx.$slots, "default"),
|
|
14794
|
-
createElementVNode("footer", _hoisted_3$
|
|
14794
|
+
createElementVNode("footer", _hoisted_3$H, [
|
|
14795
14795
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.actions, (action, i2) => {
|
|
14796
14796
|
return openBlock(), createBlock(unref(Btn), mergeProps({
|
|
14797
14797
|
key: i2,
|
|
@@ -14806,10 +14806,10 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
14806
14806
|
};
|
|
14807
14807
|
}
|
|
14808
14808
|
});
|
|
14809
|
-
const _hoisted_1$
|
|
14810
|
-
const _hoisted_2$
|
|
14811
|
-
const _hoisted_3$
|
|
14812
|
-
const _sfc_main$
|
|
14809
|
+
const _hoisted_1$V = { class: "dropdown-title" };
|
|
14810
|
+
const _hoisted_2$N = { class: "dropdown-body" };
|
|
14811
|
+
const _hoisted_3$G = ["onClick"];
|
|
14812
|
+
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
14813
14813
|
__name: "DropDown",
|
|
14814
14814
|
props: {
|
|
14815
14815
|
modelValue: String,
|
|
@@ -14835,31 +14835,31 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
14835
14835
|
class: normalizeClass(["dropdown", { opendrop: unref(isOpen) }]),
|
|
14836
14836
|
onClick: toggleDropdown
|
|
14837
14837
|
}, [
|
|
14838
|
-
createElementVNode("div", _hoisted_1$
|
|
14838
|
+
createElementVNode("div", _hoisted_1$V, [
|
|
14839
14839
|
createTextVNode(toDisplayString(unref(selectedOption) || __props.placeholder) + " ", 1),
|
|
14840
|
-
createVNode(unref(_sfc_main$
|
|
14840
|
+
createVNode(unref(_sfc_main$S), { icon: "keyboard_arrow_down" })
|
|
14841
14841
|
]),
|
|
14842
|
-
createElementVNode("div", _hoisted_2$
|
|
14842
|
+
createElementVNode("div", _hoisted_2$N, [
|
|
14843
14843
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(__props.options, (option2, index2) => {
|
|
14844
14844
|
return openBlock(), createElementBlock("p", {
|
|
14845
14845
|
key: index2,
|
|
14846
14846
|
onClick: withModifiers(($event) => selectOption(option2, index2), ["stop"])
|
|
14847
|
-
}, toDisplayString(option2), 9, _hoisted_3$
|
|
14847
|
+
}, toDisplayString(option2), 9, _hoisted_3$G);
|
|
14848
14848
|
}), 128))
|
|
14849
14849
|
])
|
|
14850
14850
|
], 2);
|
|
14851
14851
|
};
|
|
14852
14852
|
}
|
|
14853
14853
|
});
|
|
14854
|
-
const _hoisted_1$
|
|
14855
|
-
const _hoisted_2$
|
|
14856
|
-
const _hoisted_3$
|
|
14854
|
+
const _hoisted_1$U = { class: "card list-view grid thin" };
|
|
14855
|
+
const _hoisted_2$M = { class: "list-header flex gap-3 align-items-top" };
|
|
14856
|
+
const _hoisted_3$F = {
|
|
14857
14857
|
key: 0,
|
|
14858
14858
|
class: "bagel-input search-wrap"
|
|
14859
14859
|
};
|
|
14860
|
-
const _hoisted_4$
|
|
14861
|
-
const _hoisted_5$
|
|
14862
|
-
const _sfc_main$
|
|
14860
|
+
const _hoisted_4$q = ["placeholder"];
|
|
14861
|
+
const _hoisted_5$l = { class: "list-content grid auto-flow-rows align-items-start" };
|
|
14862
|
+
const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
14863
14863
|
__name: "ListView",
|
|
14864
14864
|
props: {
|
|
14865
14865
|
enableAdd: { type: Boolean },
|
|
@@ -14875,17 +14875,17 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
14875
14875
|
debounce(() => emit2("debounce", searchTerm.value));
|
|
14876
14876
|
};
|
|
14877
14877
|
return (_ctx, _cache) => {
|
|
14878
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
14879
|
-
createElementVNode("div", _hoisted_2$
|
|
14880
|
-
_ctx.enableSearch ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
14878
|
+
return openBlock(), createElementBlock("div", _hoisted_1$U, [
|
|
14879
|
+
createElementVNode("div", _hoisted_2$M, [
|
|
14880
|
+
_ctx.enableSearch ? (openBlock(), createElementBlock("div", _hoisted_3$F, [
|
|
14881
14881
|
withDirectives(createElementVNode("input", {
|
|
14882
14882
|
placeholder: _ctx.searchPlaceholder,
|
|
14883
14883
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => searchTerm.value = $event),
|
|
14884
14884
|
onInput: _cache[1] || (_cache[1] = ($event) => search())
|
|
14885
|
-
}, null, 40, _hoisted_4$
|
|
14885
|
+
}, null, 40, _hoisted_4$q), [
|
|
14886
14886
|
[vModelText, searchTerm.value]
|
|
14887
14887
|
]),
|
|
14888
|
-
createVNode(unref(_sfc_main$
|
|
14888
|
+
createVNode(unref(_sfc_main$S), {
|
|
14889
14889
|
class: "txtgray",
|
|
14890
14890
|
icon: "search"
|
|
14891
14891
|
})
|
|
@@ -14897,16 +14897,16 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
14897
14897
|
onClick: _cache[2] || (_cache[2] = ($event) => emit2("add"))
|
|
14898
14898
|
})) : createCommentVNode("", true)
|
|
14899
14899
|
]),
|
|
14900
|
-
createElementVNode("div", _hoisted_5$
|
|
14900
|
+
createElementVNode("div", _hoisted_5$l, [
|
|
14901
14901
|
renderSlot(_ctx.$slots, "default")
|
|
14902
14902
|
])
|
|
14903
14903
|
]);
|
|
14904
14904
|
};
|
|
14905
14905
|
}
|
|
14906
14906
|
});
|
|
14907
|
-
const _hoisted_1$
|
|
14908
|
-
const _hoisted_2$
|
|
14909
|
-
const _sfc_main$
|
|
14907
|
+
const _hoisted_1$T = { class: "txt16 no-margin" };
|
|
14908
|
+
const _hoisted_2$L = { class: "txt14 no-margin txtgray" };
|
|
14909
|
+
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
14910
14910
|
__name: "ListItem",
|
|
14911
14911
|
props: {
|
|
14912
14912
|
to: {}
|
|
@@ -14918,10 +14918,10 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
14918
14918
|
class: "list-item ellipsis"
|
|
14919
14919
|
}, {
|
|
14920
14920
|
default: withCtx(() => [
|
|
14921
|
-
createElementVNode("p", _hoisted_1$
|
|
14921
|
+
createElementVNode("p", _hoisted_1$T, [
|
|
14922
14922
|
renderSlot(_ctx.$slots, "default")
|
|
14923
14923
|
]),
|
|
14924
|
-
createElementVNode("p", _hoisted_2$
|
|
14924
|
+
createElementVNode("p", _hoisted_2$L, [
|
|
14925
14925
|
renderSlot(_ctx.$slots, "subtitle")
|
|
14926
14926
|
])
|
|
14927
14927
|
]),
|
|
@@ -14930,11 +14930,11 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
14930
14930
|
};
|
|
14931
14931
|
}
|
|
14932
14932
|
});
|
|
14933
|
-
const _hoisted_1$
|
|
14934
|
-
const _hoisted_2$
|
|
14935
|
-
const _hoisted_3$
|
|
14936
|
-
const _hoisted_4$
|
|
14937
|
-
const _sfc_main$
|
|
14933
|
+
const _hoisted_1$S = { class: "h-100 grid list-view gap-3" };
|
|
14934
|
+
const _hoisted_2$K = { class: "card tabs-top" };
|
|
14935
|
+
const _hoisted_3$E = { class: "tabs grid auto-flow-columns fit-content" };
|
|
14936
|
+
const _hoisted_4$p = ["onClick"];
|
|
14937
|
+
const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
14938
14938
|
__name: "TabbedLayout",
|
|
14939
14939
|
props: {
|
|
14940
14940
|
title: {},
|
|
@@ -14962,10 +14962,10 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
14962
14962
|
activeTab.value = firstTab;
|
|
14963
14963
|
});
|
|
14964
14964
|
return (_ctx, _cache) => {
|
|
14965
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
14966
|
-
createElementVNode("div", _hoisted_2$
|
|
14965
|
+
return openBlock(), createElementBlock("div", _hoisted_1$S, [
|
|
14966
|
+
createElementVNode("div", _hoisted_2$K, [
|
|
14967
14967
|
renderSlot(_ctx.$slots, "top-section", {}, void 0, true),
|
|
14968
|
-
createElementVNode("div", _hoisted_3$
|
|
14968
|
+
createElementVNode("div", _hoisted_3$E, [
|
|
14969
14969
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.tabs, (tab) => {
|
|
14970
14970
|
return openBlock(), createElementBlock("div", {
|
|
14971
14971
|
class: normalizeClass([{
|
|
@@ -14973,7 +14973,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
14973
14973
|
}, "tab"]),
|
|
14974
14974
|
key: tab,
|
|
14975
14975
|
onClick: ($event) => changeTab(tab)
|
|
14976
|
-
}, toDisplayString(tab), 11, _hoisted_4$
|
|
14976
|
+
}, toDisplayString(tab), 11, _hoisted_4$p);
|
|
14977
14977
|
}), 128))
|
|
14978
14978
|
])
|
|
14979
14979
|
]),
|
|
@@ -14989,16 +14989,16 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
14989
14989
|
};
|
|
14990
14990
|
}
|
|
14991
14991
|
});
|
|
14992
|
-
const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14993
|
-
const _hoisted_1$
|
|
14994
|
-
const _hoisted_2$
|
|
14995
|
-
const _hoisted_3$
|
|
14996
|
-
const _hoisted_4$
|
|
14997
|
-
const _hoisted_5$
|
|
14992
|
+
const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-3941cced"]]);
|
|
14993
|
+
const _hoisted_1$R = { class: "comments-wrap" };
|
|
14994
|
+
const _hoisted_2$J = { class: "comment-list" };
|
|
14995
|
+
const _hoisted_3$D = { class: "comment-top" };
|
|
14996
|
+
const _hoisted_4$o = { class: "comment-owner" };
|
|
14997
|
+
const _hoisted_5$k = { class: "comment-time" };
|
|
14998
14998
|
const _hoisted_6$g = { class: "comment-actions" };
|
|
14999
14999
|
const _hoisted_7$c = ["innerHTML"];
|
|
15000
15000
|
const _hoisted_8$6 = { class: "new-comment" };
|
|
15001
|
-
const _sfc_main$
|
|
15001
|
+
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
15002
15002
|
__name: "Comments",
|
|
15003
15003
|
props: {
|
|
15004
15004
|
ref_table: {},
|
|
@@ -15041,8 +15041,8 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
15041
15041
|
void fetchData();
|
|
15042
15042
|
};
|
|
15043
15043
|
return (_ctx, _cache) => {
|
|
15044
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
15045
|
-
createElementVNode("div", _hoisted_2$
|
|
15044
|
+
return openBlock(), createElementBlock("div", _hoisted_1$R, [
|
|
15045
|
+
createElementVNode("div", _hoisted_2$J, [
|
|
15046
15046
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(comments), (comment) => {
|
|
15047
15047
|
var _a, _b, _c;
|
|
15048
15048
|
return openBlock(), createElementBlock("div", {
|
|
@@ -15052,23 +15052,23 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
15052
15052
|
}, "comment"]),
|
|
15053
15053
|
key: comment.id
|
|
15054
15054
|
}, [
|
|
15055
|
-
createElementVNode("div", _hoisted_3$
|
|
15056
|
-
createElementVNode("div", _hoisted_4$
|
|
15057
|
-
createElementVNode("div", _hoisted_5$
|
|
15055
|
+
createElementVNode("div", _hoisted_3$D, [
|
|
15056
|
+
createElementVNode("div", _hoisted_4$o, toDisplayString(comment.sender.first_name) + " " + toDisplayString(comment.sender.last_name), 1),
|
|
15057
|
+
createElementVNode("div", _hoisted_5$k, toDisplayString(comment.updated_at.split("T")[0]), 1),
|
|
15058
15058
|
createElementVNode("div", _hoisted_6$g, [
|
|
15059
|
-
createVNode(unref(_sfc_main$
|
|
15059
|
+
createVNode(unref(_sfc_main$S), {
|
|
15060
15060
|
size: 1,
|
|
15061
15061
|
class: "edit",
|
|
15062
15062
|
icon: "edit",
|
|
15063
15063
|
onClick: ($event) => isRef(editComment) ? editComment.value = comment : editComment = comment
|
|
15064
15064
|
}, null, 8, ["onClick"]),
|
|
15065
|
-
createVNode(unref(_sfc_main$
|
|
15065
|
+
createVNode(unref(_sfc_main$S), {
|
|
15066
15066
|
size: 1.2,
|
|
15067
15067
|
class: "delete",
|
|
15068
15068
|
icon: "delete",
|
|
15069
15069
|
onClick: ($event) => deleteComment(comment.id)
|
|
15070
15070
|
}, null, 8, ["onClick"]),
|
|
15071
|
-
createVNode(unref(_sfc_main$
|
|
15071
|
+
createVNode(unref(_sfc_main$S), {
|
|
15072
15072
|
size: 1.2,
|
|
15073
15073
|
class: "save",
|
|
15074
15074
|
icon: "save",
|
|
@@ -15076,7 +15076,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
15076
15076
|
})
|
|
15077
15077
|
])
|
|
15078
15078
|
]),
|
|
15079
|
-
unref(editComment) !== null && ((_c = unref(editComment)) == null ? void 0 : _c.id) === comment.id ? (openBlock(), createBlock(unref(_sfc_main$
|
|
15079
|
+
unref(editComment) !== null && ((_c = unref(editComment)) == null ? void 0 : _c.id) === comment.id ? (openBlock(), createBlock(unref(_sfc_main$T), {
|
|
15080
15080
|
key: 0,
|
|
15081
15081
|
modelValue: unref(editComment).body_html,
|
|
15082
15082
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(editComment).body_html = $event),
|
|
@@ -15090,7 +15090,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
15090
15090
|
}), 128))
|
|
15091
15091
|
]),
|
|
15092
15092
|
createElementVNode("div", _hoisted_8$6, [
|
|
15093
|
-
createVNode(unref(_sfc_main$
|
|
15093
|
+
createVNode(unref(_sfc_main$T), {
|
|
15094
15094
|
class: "comment-input",
|
|
15095
15095
|
modelValue: unref(bodyHtml),
|
|
15096
15096
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(bodyHtml) ? bodyHtml.value = $event : bodyHtml = $event),
|
|
@@ -15110,10 +15110,10 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
15110
15110
|
};
|
|
15111
15111
|
}
|
|
15112
15112
|
});
|
|
15113
|
-
const Comments = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15114
|
-
const _hoisted_1$
|
|
15115
|
-
const _hoisted_2$
|
|
15116
|
-
const _sfc_main$
|
|
15113
|
+
const Comments = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-2eead7c8"]]);
|
|
15114
|
+
const _hoisted_1$Q = { class: "page-top" };
|
|
15115
|
+
const _hoisted_2$I = { class: "top-title" };
|
|
15116
|
+
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
15117
15117
|
__name: "PageTitle",
|
|
15118
15118
|
props: {
|
|
15119
15119
|
value: {
|
|
@@ -15123,8 +15123,8 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
15123
15123
|
},
|
|
15124
15124
|
setup(__props) {
|
|
15125
15125
|
return (_ctx, _cache) => {
|
|
15126
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
15127
|
-
createElementVNode("h1", _hoisted_2$
|
|
15126
|
+
return openBlock(), createElementBlock("div", _hoisted_1$Q, [
|
|
15127
|
+
createElementVNode("h1", _hoisted_2$I, [
|
|
15128
15128
|
renderSlot(_ctx.$slots, "default"),
|
|
15129
15129
|
createTextVNode(" " + toDisplayString(__props.value), 1)
|
|
15130
15130
|
])
|
|
@@ -15132,9 +15132,9 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
15132
15132
|
};
|
|
15133
15133
|
}
|
|
15134
15134
|
});
|
|
15135
|
-
const _hoisted_1$
|
|
15136
|
-
const _hoisted_2$
|
|
15137
|
-
const _sfc_main$
|
|
15135
|
+
const _hoisted_1$P = { class: "tool-bar" };
|
|
15136
|
+
const _hoisted_2$H = { class: "modal-title" };
|
|
15137
|
+
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
15138
15138
|
__name: "ModalForm",
|
|
15139
15139
|
props: {
|
|
15140
15140
|
side: { type: Boolean },
|
|
@@ -15207,7 +15207,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
15207
15207
|
onClick: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
15208
15208
|
}, ["stop"]))
|
|
15209
15209
|
}, [
|
|
15210
|
-
createElementVNode("header", _hoisted_1$
|
|
15210
|
+
createElementVNode("header", _hoisted_1$P, [
|
|
15211
15211
|
renderSlot(_ctx.$slots, "toolbar", {}, void 0, true),
|
|
15212
15212
|
createVNode(unref(Btn), {
|
|
15213
15213
|
style: normalizeStyle({ float: _ctx.side ? "left" : "right" }),
|
|
@@ -15215,9 +15215,9 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
15215
15215
|
icon: "close",
|
|
15216
15216
|
onClick: closeModal
|
|
15217
15217
|
}, null, 8, ["style"]),
|
|
15218
|
-
createElementVNode("h3", _hoisted_2$
|
|
15218
|
+
createElementVNode("h3", _hoisted_2$H, toDisplayString(_ctx.title), 1)
|
|
15219
15219
|
]),
|
|
15220
|
-
createVNode(unref(_sfc_main$
|
|
15220
|
+
createVNode(unref(_sfc_main$H), {
|
|
15221
15221
|
onDelete: _ctx.onDelete ? runDelete : void 0,
|
|
15222
15222
|
modelValue: _ctx.modelValue,
|
|
15223
15223
|
"onUpdate:modelValue": handleEmit,
|
|
@@ -15229,8 +15229,8 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
15229
15229
|
};
|
|
15230
15230
|
}
|
|
15231
15231
|
});
|
|
15232
|
-
const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15233
|
-
const _sfc_main$
|
|
15232
|
+
const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-1799b7d0"]]);
|
|
15233
|
+
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
15234
15234
|
__name: "FormSchema",
|
|
15235
15235
|
props: {
|
|
15236
15236
|
modelValue: {},
|
|
@@ -15303,14 +15303,14 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
15303
15303
|
};
|
|
15304
15304
|
}
|
|
15305
15305
|
});
|
|
15306
|
-
const _hoisted_1$
|
|
15307
|
-
const _hoisted_2$
|
|
15308
|
-
const _hoisted_3$
|
|
15309
|
-
const _hoisted_4$
|
|
15310
|
-
const _hoisted_5$
|
|
15306
|
+
const _hoisted_1$O = { class: "table-list-wrap h-100" };
|
|
15307
|
+
const _hoisted_2$G = { class: "infinite-wrapper" };
|
|
15308
|
+
const _hoisted_3$C = { class: "row first-row" };
|
|
15309
|
+
const _hoisted_4$n = ["onClick"];
|
|
15310
|
+
const _hoisted_5$j = { class: "flex" };
|
|
15311
15311
|
const _hoisted_6$f = ["onClick"];
|
|
15312
15312
|
const _hoisted_7$b = { key: 1 };
|
|
15313
|
-
const _sfc_main$
|
|
15313
|
+
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
15314
15314
|
__name: "TableSchema",
|
|
15315
15315
|
props: {
|
|
15316
15316
|
data: {},
|
|
@@ -15348,32 +15348,35 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
15348
15348
|
};
|
|
15349
15349
|
const columns = computed(
|
|
15350
15350
|
() => {
|
|
15351
|
-
var _a;
|
|
15352
|
-
return ((_a = props2.schema) == null ? void 0 : _a.call(props2))
|
|
15351
|
+
var _a, _b;
|
|
15352
|
+
return ((_b = (_a = props2.schema) == null ? void 0 : _a.call(props2)) == null ? void 0 : _b.map((field) => ({
|
|
15353
|
+
...field,
|
|
15354
|
+
id: (field == null ? void 0 : field.relationshipObjKey) || field.id
|
|
15355
|
+
}))) || Object.keys(props2.data[0]).map((k) => ({ id: k, inputType: "PlainText" }));
|
|
15353
15356
|
}
|
|
15354
15357
|
);
|
|
15355
15358
|
return (_ctx, _cache) => {
|
|
15356
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
15357
|
-
createElementVNode("table", _hoisted_2$
|
|
15358
|
-
createElementVNode("thead", _hoisted_3$
|
|
15359
|
+
return openBlock(), createElementBlock("div", _hoisted_1$O, [
|
|
15360
|
+
createElementVNode("table", _hoisted_2$G, [
|
|
15361
|
+
createElementVNode("thead", _hoisted_3$C, [
|
|
15359
15362
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(columns.value, (field) => {
|
|
15360
15363
|
return openBlock(), createElementBlock("th", {
|
|
15361
15364
|
class: "col",
|
|
15362
15365
|
key: field.id,
|
|
15363
15366
|
onClick: ($event) => sort2(field.id)
|
|
15364
15367
|
}, [
|
|
15365
|
-
createElementVNode("div", _hoisted_5$
|
|
15368
|
+
createElementVNode("div", _hoisted_5$j, [
|
|
15366
15369
|
createTextVNode(toDisplayString((field == null ? void 0 : field.label) || (field == null ? void 0 : field.id)) + " ", 1),
|
|
15367
15370
|
createElementVNode("div", {
|
|
15368
15371
|
class: normalizeClass(["list-arrows", { sorted: unref(sortField) === field.id }])
|
|
15369
15372
|
}, [
|
|
15370
|
-
createVNode(unref(_sfc_main$
|
|
15373
|
+
createVNode(unref(_sfc_main$S), {
|
|
15371
15374
|
class: normalizeClass({ desc: unref(sortDirection) === "DESC" }),
|
|
15372
15375
|
icon: "keyboard_arrow_up"
|
|
15373
15376
|
}, null, 8, ["class"])
|
|
15374
15377
|
], 2)
|
|
15375
15378
|
])
|
|
15376
|
-
], 8, _hoisted_4$
|
|
15379
|
+
], 8, _hoisted_4$n);
|
|
15377
15380
|
}), 128))
|
|
15378
15381
|
]),
|
|
15379
15382
|
createElementVNode("tbody", {
|
|
@@ -15424,16 +15427,16 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
15424
15427
|
};
|
|
15425
15428
|
}
|
|
15426
15429
|
});
|
|
15427
|
-
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15428
|
-
const _sfc_main$
|
|
15429
|
-
const _hoisted_1$
|
|
15430
|
+
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-f3a410c2"]]);
|
|
15431
|
+
const _sfc_main$F = {};
|
|
15432
|
+
const _hoisted_1$N = { class: "flex space-between" };
|
|
15430
15433
|
function _sfc_render$1(_ctx, _cache) {
|
|
15431
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
15434
|
+
return openBlock(), createElementBlock("div", _hoisted_1$N, [
|
|
15432
15435
|
renderSlot(_ctx.$slots, "default")
|
|
15433
15436
|
]);
|
|
15434
15437
|
}
|
|
15435
|
-
const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15436
|
-
const _sfc_main$
|
|
15438
|
+
const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["render", _sfc_render$1]]);
|
|
15439
|
+
const _sfc_main$E = {};
|
|
15437
15440
|
function _sfc_render(_ctx, _cache) {
|
|
15438
15441
|
const _component_router_view = resolveComponent("router-view");
|
|
15439
15442
|
return openBlock(), createBlock(_component_router_view, null, {
|
|
@@ -15455,9 +15458,9 @@ function _sfc_render(_ctx, _cache) {
|
|
|
15455
15458
|
_: 1
|
|
15456
15459
|
});
|
|
15457
15460
|
}
|
|
15458
|
-
const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15459
|
-
const _hoisted_1$
|
|
15460
|
-
const _sfc_main$
|
|
15461
|
+
const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["render", _sfc_render]]);
|
|
15462
|
+
const _hoisted_1$M = { class: "card h-100 thin" };
|
|
15463
|
+
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
15461
15464
|
__name: "ContactSubmissions",
|
|
15462
15465
|
props: {
|
|
15463
15466
|
person_id: {
|
|
@@ -15487,7 +15490,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
15487
15490
|
void getData();
|
|
15488
15491
|
});
|
|
15489
15492
|
return (_ctx, _cache) => {
|
|
15490
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
15493
|
+
return openBlock(), createElementBlock("div", _hoisted_1$M, [
|
|
15491
15494
|
createVNode(unref(TableSchema), {
|
|
15492
15495
|
schema: schema2,
|
|
15493
15496
|
data: unref(data2)
|
|
@@ -15496,14 +15499,14 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
15496
15499
|
};
|
|
15497
15500
|
}
|
|
15498
15501
|
});
|
|
15499
|
-
const _hoisted_1$
|
|
15502
|
+
const _hoisted_1$L = {
|
|
15500
15503
|
key: 0,
|
|
15501
15504
|
class: "person-card-edit flex gap-2"
|
|
15502
15505
|
};
|
|
15503
|
-
const _hoisted_2$
|
|
15504
|
-
const _hoisted_3$
|
|
15505
|
-
const _hoisted_4$
|
|
15506
|
-
const _hoisted_5$
|
|
15506
|
+
const _hoisted_2$F = { class: "person-card-icon-wrap" };
|
|
15507
|
+
const _hoisted_3$B = { class: "person-card-icon" };
|
|
15508
|
+
const _hoisted_4$m = { class: "person-card-name txt20" };
|
|
15509
|
+
const _hoisted_5$i = { class: "person-card-details-wrap" };
|
|
15507
15510
|
const _hoisted_6$e = {
|
|
15508
15511
|
key: 0,
|
|
15509
15512
|
class: "person-card-details"
|
|
@@ -15518,7 +15521,7 @@ const _hoisted_8$5 = {
|
|
|
15518
15521
|
};
|
|
15519
15522
|
const _hoisted_9$3 = { key: 0 };
|
|
15520
15523
|
const _hoisted_10$3 = { key: 1 };
|
|
15521
|
-
const _sfc_main$
|
|
15524
|
+
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
15522
15525
|
__name: "PersonPreview",
|
|
15523
15526
|
props: {
|
|
15524
15527
|
person: {},
|
|
@@ -15548,7 +15551,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
15548
15551
|
(...args) => _ctx.onClick && _ctx.onClick(...args)),
|
|
15549
15552
|
class: "person-card"
|
|
15550
15553
|
}, [
|
|
15551
|
-
!_ctx.onClick ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
15554
|
+
!_ctx.onClick ? (openBlock(), createElementBlock("div", _hoisted_1$L, [
|
|
15552
15555
|
!_ctx.$route.path.match("/search") ? (openBlock(), createBlock(unref(Btn), {
|
|
15553
15556
|
key: 0,
|
|
15554
15557
|
round: "",
|
|
@@ -15565,13 +15568,13 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
15565
15568
|
icon: "edit"
|
|
15566
15569
|
})
|
|
15567
15570
|
])) : createCommentVNode("", true),
|
|
15568
|
-
createElementVNode("div", _hoisted_2$
|
|
15569
|
-
createElementVNode("p", _hoisted_3$
|
|
15570
|
-
createElementVNode("p", _hoisted_4$
|
|
15571
|
+
createElementVNode("div", _hoisted_2$F, [
|
|
15572
|
+
createElementVNode("p", _hoisted_3$B, toDisplayString(unref(initials)(_ctx.person.first_name, _ctx.person.last_name)), 1),
|
|
15573
|
+
createElementVNode("p", _hoisted_4$m, toDisplayString(_ctx.person.first_name) + " " + toDisplayString(_ctx.person.last_name), 1)
|
|
15571
15574
|
]),
|
|
15572
|
-
createElementVNode("div", _hoisted_5$
|
|
15575
|
+
createElementVNode("div", _hoisted_5$i, [
|
|
15573
15576
|
((_a = _ctx.person.phone) == null ? void 0 : _a.length) ? (openBlock(), createElementBlock("div", _hoisted_6$e, [
|
|
15574
|
-
createVNode(unref(_sfc_main$
|
|
15577
|
+
createVNode(unref(_sfc_main$S), { icon: "phone" }),
|
|
15575
15578
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.person.phone, (phone) => {
|
|
15576
15579
|
return openBlock(), createElementBlock("p", {
|
|
15577
15580
|
key: phone.id
|
|
@@ -15579,7 +15582,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
15579
15582
|
}), 128))
|
|
15580
15583
|
])) : createCommentVNode("", true),
|
|
15581
15584
|
((_b = _ctx.person.email) == null ? void 0 : _b.length) ? (openBlock(), createElementBlock("div", _hoisted_7$a, [
|
|
15582
|
-
createVNode(unref(_sfc_main$
|
|
15585
|
+
createVNode(unref(_sfc_main$S), { icon: "email" }),
|
|
15583
15586
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.person.email, (email) => {
|
|
15584
15587
|
return openBlock(), createElementBlock("p", {
|
|
15585
15588
|
key: email.id
|
|
@@ -15587,7 +15590,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
15587
15590
|
}), 128))
|
|
15588
15591
|
])) : createCommentVNode("", true),
|
|
15589
15592
|
_ctx.person.date_of_birth || _ctx.person.gender ? (openBlock(), createElementBlock("div", _hoisted_8$5, [
|
|
15590
|
-
createVNode(unref(_sfc_main$
|
|
15593
|
+
createVNode(unref(_sfc_main$S), { icon: "badge" }),
|
|
15591
15594
|
_ctx.person.date_of_birth ? (openBlock(), createElementBlock("p", _hoisted_9$3, toDisplayString(_ctx.person.date_of_birth), 1)) : createCommentVNode("", true),
|
|
15592
15595
|
_ctx.person.gender ? (openBlock(), createElementBlock("p", _hoisted_10$3, toDisplayString(_ctx.person.gender), 1)) : createCommentVNode("", true)
|
|
15593
15596
|
])) : createCommentVNode("", true)
|
|
@@ -15596,23 +15599,23 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
15596
15599
|
};
|
|
15597
15600
|
}
|
|
15598
15601
|
});
|
|
15599
|
-
const _hoisted_1$
|
|
15602
|
+
const _hoisted_1$K = {
|
|
15600
15603
|
key: 0,
|
|
15601
15604
|
class: "data"
|
|
15602
15605
|
};
|
|
15603
|
-
const _hoisted_2$
|
|
15606
|
+
const _hoisted_2$E = {
|
|
15604
15607
|
key: 0,
|
|
15605
15608
|
class: "mb-3 mt-0"
|
|
15606
15609
|
};
|
|
15607
|
-
const _hoisted_3$
|
|
15610
|
+
const _hoisted_3$A = {
|
|
15608
15611
|
key: 0,
|
|
15609
15612
|
class: "data-row"
|
|
15610
15613
|
};
|
|
15611
|
-
const _hoisted_4$
|
|
15612
|
-
const _hoisted_5$
|
|
15614
|
+
const _hoisted_4$l = { class: "key" };
|
|
15615
|
+
const _hoisted_5$h = { key: 1 };
|
|
15613
15616
|
const _hoisted_6$d = { class: "key" };
|
|
15614
15617
|
const _hoisted_7$9 = { class: "vlue" };
|
|
15615
|
-
const _sfc_main$
|
|
15618
|
+
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
15616
15619
|
__name: "DataPreview",
|
|
15617
15620
|
props: {
|
|
15618
15621
|
data: {},
|
|
@@ -15634,14 +15637,14 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
15634
15637
|
};
|
|
15635
15638
|
return (_ctx, _cache) => {
|
|
15636
15639
|
var _a;
|
|
15637
|
-
return _ctx.data ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
15638
|
-
_ctx.title ? (openBlock(), createElementBlock("h3", _hoisted_2$
|
|
15640
|
+
return _ctx.data ? (openBlock(), createElementBlock("div", _hoisted_1$K, [
|
|
15641
|
+
_ctx.title ? (openBlock(), createElementBlock("h3", _hoisted_2$E, toDisplayString(_ctx.title), 1)) : createCommentVNode("", true),
|
|
15639
15642
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.schema || [], (field) => {
|
|
15640
15643
|
return openBlock(), createElementBlock(Fragment$1, {
|
|
15641
15644
|
key: field.id
|
|
15642
15645
|
}, [
|
|
15643
|
-
(field["v-if"] ? field["v-if"](itemData.value[field.id], itemData.value) : true) ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
15644
|
-
createElementVNode("div", _hoisted_4$
|
|
15646
|
+
(field["v-if"] ? field["v-if"](itemData.value[field.id], itemData.value) : true) ? (openBlock(), createElementBlock("div", _hoisted_3$A, [
|
|
15647
|
+
createElementVNode("div", _hoisted_4$l, toDisplayString((field == null ? void 0 : field.label) || unref(keyToLabel)(field.id)), 1),
|
|
15645
15648
|
(openBlock(), createBlock(resolveDynamicComponent(field.$el || "div"), mergeProps({
|
|
15646
15649
|
class: "vlue",
|
|
15647
15650
|
modelValue: itemData.value[field.id],
|
|
@@ -15661,7 +15664,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
15661
15664
|
])) : createCommentVNode("", true)
|
|
15662
15665
|
], 64);
|
|
15663
15666
|
}), 128)),
|
|
15664
|
-
!((_a = _ctx.schema) == null ? void 0 : _a.length) ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
15667
|
+
!((_a = _ctx.schema) == null ? void 0 : _a.length) ? (openBlock(), createElementBlock("div", _hoisted_5$h, [
|
|
15665
15668
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(Object.entries(itemData.value).filter(
|
|
15666
15669
|
([key]) => !keysToIgnore.includes(key)
|
|
15667
15670
|
), ([key, value]) => {
|
|
@@ -15679,23 +15682,23 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
15679
15682
|
};
|
|
15680
15683
|
}
|
|
15681
15684
|
});
|
|
15682
|
-
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15685
|
+
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-dc2757c4"]]);
|
|
15683
15686
|
const _withScopeId$2 = (n) => (pushScopeId("data-v-fe5af582"), n = n(), popScopeId(), n);
|
|
15684
|
-
const _hoisted_1$
|
|
15685
|
-
const _hoisted_2$
|
|
15687
|
+
const _hoisted_1$J = { class: "bar-chart" };
|
|
15688
|
+
const _hoisted_2$D = {
|
|
15686
15689
|
key: 0,
|
|
15687
15690
|
class: "group-wrap"
|
|
15688
15691
|
};
|
|
15689
|
-
const _hoisted_3$
|
|
15690
|
-
const _hoisted_4$
|
|
15692
|
+
const _hoisted_3$z = { class: "group-title" };
|
|
15693
|
+
const _hoisted_4$k = {
|
|
15691
15694
|
key: 1,
|
|
15692
15695
|
class: "bar-wrap"
|
|
15693
15696
|
};
|
|
15694
|
-
const _hoisted_5$
|
|
15697
|
+
const _hoisted_5$g = { class: "bar-txt" };
|
|
15695
15698
|
const _hoisted_6$c = { class: "factor" };
|
|
15696
15699
|
const _hoisted_7$8 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", { class: "red-bar" }, null, -1));
|
|
15697
15700
|
const _hoisted_8$4 = { class: "bar-lines" };
|
|
15698
|
-
const _sfc_main$
|
|
15701
|
+
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
15699
15702
|
__name: "BarChart",
|
|
15700
15703
|
props: {
|
|
15701
15704
|
title: {},
|
|
@@ -15747,14 +15750,14 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
15747
15750
|
const percent = (val) => val / maxValue.value * 100;
|
|
15748
15751
|
const floodPercent = computed(() => `${props2.flood}%`);
|
|
15749
15752
|
return (_ctx, _cache) => {
|
|
15750
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
15753
|
+
return openBlock(), createElementBlock("div", _hoisted_1$J, [
|
|
15751
15754
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(dataArray.value, (item, i2) => {
|
|
15752
15755
|
return openBlock(), createElementBlock("div", {
|
|
15753
15756
|
class: "graph-wrap",
|
|
15754
15757
|
key: i2
|
|
15755
15758
|
}, [
|
|
15756
|
-
item.group ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
15757
|
-
createElementVNode("p", _hoisted_3$
|
|
15759
|
+
item.group ? (openBlock(), createElementBlock("div", _hoisted_2$D, [
|
|
15760
|
+
createElementVNode("p", _hoisted_3$z, toDisplayString(item.group), 1),
|
|
15758
15761
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList((item == null ? void 0 : item.data) || [], (nested, i22) => {
|
|
15759
15762
|
return openBlock(), createElementBlock("div", {
|
|
15760
15763
|
key: i22,
|
|
@@ -15773,7 +15776,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
15773
15776
|
}, null, 4)) : createCommentVNode("", true)
|
|
15774
15777
|
]);
|
|
15775
15778
|
}), 128))
|
|
15776
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_4$
|
|
15779
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_4$k, [
|
|
15777
15780
|
createElementVNode("div", {
|
|
15778
15781
|
class: "bar",
|
|
15779
15782
|
style: normalizeStyle({ height: loaded.value ? `${percent(item.value)}%` : "0" })
|
|
@@ -15783,7 +15786,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
15783
15786
|
class: "bar compare",
|
|
15784
15787
|
style: normalizeStyle({ height: loaded.value ? `${percent(item.compareValue)}%` : "0" })
|
|
15785
15788
|
}, null, 4)) : createCommentVNode("", true),
|
|
15786
|
-
createElementVNode("p", _hoisted_5$
|
|
15789
|
+
createElementVNode("p", _hoisted_5$g, toDisplayString(item.title), 1)
|
|
15787
15790
|
]))
|
|
15788
15791
|
]);
|
|
15789
15792
|
}), 128)),
|
|
@@ -15798,7 +15801,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
15798
15801
|
};
|
|
15799
15802
|
}
|
|
15800
15803
|
});
|
|
15801
|
-
const BarChart = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15804
|
+
const BarChart = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-fe5af582"]]);
|
|
15802
15805
|
const explicitKeys = [
|
|
15803
15806
|
"__key",
|
|
15804
15807
|
"__init",
|
|
@@ -17054,8 +17057,8 @@ function createInput(schemaOrComponent, definitionOptions = {}) {
|
|
|
17054
17057
|
}
|
|
17055
17058
|
return definition;
|
|
17056
17059
|
}
|
|
17057
|
-
const _hoisted_1$
|
|
17058
|
-
const _sfc_main$
|
|
17060
|
+
const _hoisted_1$I = { class: "primary-checkbox" };
|
|
17061
|
+
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
17059
17062
|
__name: "Checkbox",
|
|
17060
17063
|
props: {
|
|
17061
17064
|
modelValue: Boolean
|
|
@@ -17083,7 +17086,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
17083
17086
|
}
|
|
17084
17087
|
);
|
|
17085
17088
|
return (_ctx, _cache) => {
|
|
17086
|
-
return openBlock(), createElementBlock("label", _hoisted_1$
|
|
17089
|
+
return openBlock(), createElementBlock("label", _hoisted_1$I, [
|
|
17087
17090
|
withDirectives(createElementVNode("input", {
|
|
17088
17091
|
type: "checkbox",
|
|
17089
17092
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(val) ? val.value = $event : val = $event)
|
|
@@ -17091,24 +17094,24 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
17091
17094
|
[vModelCheckbox, unref(val)]
|
|
17092
17095
|
]),
|
|
17093
17096
|
createElementVNode("span", null, [
|
|
17094
|
-
createVNode(unref(_sfc_main$
|
|
17097
|
+
createVNode(unref(_sfc_main$S), { icon: "check" })
|
|
17095
17098
|
])
|
|
17096
17099
|
]);
|
|
17097
17100
|
};
|
|
17098
17101
|
}
|
|
17099
17102
|
});
|
|
17100
|
-
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17101
|
-
const _hoisted_1$
|
|
17102
|
-
const _hoisted_2$
|
|
17103
|
-
const _hoisted_3$
|
|
17103
|
+
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-6b168ea9"]]);
|
|
17104
|
+
const _hoisted_1$H = { class: "bagel-input" };
|
|
17105
|
+
const _hoisted_2$C = { class: "mt-1" };
|
|
17106
|
+
const _hoisted_3$y = {
|
|
17104
17107
|
key: 0,
|
|
17105
17108
|
class: "bglform-contact-confirm"
|
|
17106
17109
|
};
|
|
17107
|
-
const _hoisted_4$
|
|
17108
|
-
const _hoisted_5$
|
|
17110
|
+
const _hoisted_4$j = { class: "txt14" };
|
|
17111
|
+
const _hoisted_5$f = ["onUpdate:modelValue", "placeholder"];
|
|
17109
17112
|
const _hoisted_6$b = ["onUpdate:modelValue", "placeholder"];
|
|
17110
17113
|
const _hoisted_7$7 = ["onUpdate:modelValue", "placeholder"];
|
|
17111
|
-
const _sfc_main$
|
|
17114
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
17112
17115
|
__name: "ContactArrayFormKit",
|
|
17113
17116
|
props: {
|
|
17114
17117
|
context: {}
|
|
@@ -17161,16 +17164,16 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
17161
17164
|
}
|
|
17162
17165
|
);
|
|
17163
17166
|
return (_ctx, _cache) => {
|
|
17164
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
17165
|
-
createElementVNode("div", _hoisted_2$
|
|
17167
|
+
return openBlock(), createElementBlock("div", _hoisted_1$H, [
|
|
17168
|
+
createElementVNode("div", _hoisted_2$C, [
|
|
17166
17169
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(val), (contact, i2) => {
|
|
17167
17170
|
var _a, _b, _c, _d, _e, _f;
|
|
17168
17171
|
return openBlock(), createElementBlock("div", {
|
|
17169
17172
|
class: "bglform-contact mb-2",
|
|
17170
17173
|
key: i2
|
|
17171
17174
|
}, [
|
|
17172
|
-
unref(deleteCandidate) === i2 ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
17173
|
-
createElementVNode("p", _hoisted_4$
|
|
17175
|
+
unref(deleteCandidate) === i2 ? (openBlock(), createElementBlock("div", _hoisted_3$y, [
|
|
17176
|
+
createElementVNode("p", _hoisted_4$j, toDisplayString((_a = formPlaceholders.value) == null ? void 0 : _a.sure), 1),
|
|
17174
17177
|
createVNode(unref(Btn), {
|
|
17175
17178
|
thin: "",
|
|
17176
17179
|
color: "red",
|
|
@@ -17206,7 +17209,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
17206
17209
|
"onUpdate:modelValue": ($event) => contact.label = $event,
|
|
17207
17210
|
type: "text",
|
|
17208
17211
|
placeholder: (_b = formPlaceholders.value) == null ? void 0 : _b.label
|
|
17209
|
-
}, null, 8, _hoisted_5$
|
|
17212
|
+
}, null, 8, _hoisted_5$f), [
|
|
17210
17213
|
[vModelText, contact.label]
|
|
17211
17214
|
]),
|
|
17212
17215
|
((_c = _ctx.context) == null ? void 0 : _c.id) === "email" ? withDirectives((openBlock(), createElementBlock("input", {
|
|
@@ -17254,15 +17257,15 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
17254
17257
|
};
|
|
17255
17258
|
}
|
|
17256
17259
|
});
|
|
17257
|
-
const ContactArrayFormKit = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17258
|
-
const _hoisted_1$
|
|
17259
|
-
const _hoisted_2$
|
|
17260
|
-
const _hoisted_3$
|
|
17260
|
+
const ContactArrayFormKit = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-312e5767"]]);
|
|
17261
|
+
const _hoisted_1$G = { class: "bagel-input" };
|
|
17262
|
+
const _hoisted_2$B = { class: "mt-1" };
|
|
17263
|
+
const _hoisted_3$x = {
|
|
17261
17264
|
key: 0,
|
|
17262
17265
|
class: "bglform-contact-confirm"
|
|
17263
17266
|
};
|
|
17264
|
-
const _hoisted_4$
|
|
17265
|
-
const _hoisted_5$
|
|
17267
|
+
const _hoisted_4$i = { class: "txt14" };
|
|
17268
|
+
const _hoisted_5$e = ["onUpdate:modelValue", "placeholder"];
|
|
17266
17269
|
const _hoisted_6$a = { class: "bglform-contact-address" };
|
|
17267
17270
|
const _hoisted_7$6 = ["onUpdate:modelValue", "placeholder"];
|
|
17268
17271
|
const _hoisted_8$3 = { class: "bglform-contact-address-flex" };
|
|
@@ -17270,7 +17273,7 @@ const _hoisted_9$2 = ["onUpdate:modelValue", "placeholder"];
|
|
|
17270
17273
|
const _hoisted_10$2 = ["onUpdate:modelValue", "placeholder"];
|
|
17271
17274
|
const _hoisted_11$1 = ["onUpdate:modelValue", "placeholder"];
|
|
17272
17275
|
const _hoisted_12$1 = { class: "bglform-address-del" };
|
|
17273
|
-
const _sfc_main$
|
|
17276
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
17274
17277
|
__name: "AddressArray",
|
|
17275
17278
|
props: {
|
|
17276
17279
|
context: {}
|
|
@@ -17329,16 +17332,16 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
17329
17332
|
}
|
|
17330
17333
|
);
|
|
17331
17334
|
return (_ctx, _cache) => {
|
|
17332
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
17333
|
-
createElementVNode("div", _hoisted_2$
|
|
17335
|
+
return openBlock(), createElementBlock("div", _hoisted_1$G, [
|
|
17336
|
+
createElementVNode("div", _hoisted_2$B, [
|
|
17334
17337
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(val), (address, i2) => {
|
|
17335
17338
|
var _a, _b, _c, _d, _e, _f;
|
|
17336
17339
|
return openBlock(), createElementBlock("div", {
|
|
17337
17340
|
class: "bglform-contact mb-3",
|
|
17338
17341
|
key: i2
|
|
17339
17342
|
}, [
|
|
17340
|
-
unref(deleteCandidate) === i2 ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
17341
|
-
createElementVNode("p", _hoisted_4$
|
|
17343
|
+
unref(deleteCandidate) === i2 ? (openBlock(), createElementBlock("div", _hoisted_3$x, [
|
|
17344
|
+
createElementVNode("p", _hoisted_4$i, toDisplayString((_a = formPlaceholders.value) == null ? void 0 : _a.sure), 1),
|
|
17342
17345
|
createVNode(unref(Btn), {
|
|
17343
17346
|
thin: "",
|
|
17344
17347
|
color: "red",
|
|
@@ -17374,7 +17377,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
17374
17377
|
"onUpdate:modelValue": ($event) => address.label = $event,
|
|
17375
17378
|
type: "text",
|
|
17376
17379
|
placeholder: (_b = formPlaceholders.value) == null ? void 0 : _b.label
|
|
17377
|
-
}, null, 8, _hoisted_5$
|
|
17380
|
+
}, null, 8, _hoisted_5$e), [
|
|
17378
17381
|
[vModelText, address.label]
|
|
17379
17382
|
]),
|
|
17380
17383
|
createElementVNode("div", _hoisted_6$a, [
|
|
@@ -17439,15 +17442,15 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
17439
17442
|
};
|
|
17440
17443
|
}
|
|
17441
17444
|
});
|
|
17442
|
-
const AddressArray = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17443
|
-
const _hoisted_1$
|
|
17444
|
-
const _hoisted_2$
|
|
17445
|
-
const _hoisted_3$
|
|
17445
|
+
const AddressArray = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-1e3274f9"]]);
|
|
17446
|
+
const _hoisted_1$F = { class: "bagel-input" };
|
|
17447
|
+
const _hoisted_2$A = { class: "mt-1" };
|
|
17448
|
+
const _hoisted_3$w = {
|
|
17446
17449
|
key: 0,
|
|
17447
17450
|
class: "bglform-contact-confirm"
|
|
17448
17451
|
};
|
|
17449
|
-
const _hoisted_4$
|
|
17450
|
-
const _hoisted_5$
|
|
17452
|
+
const _hoisted_4$h = { class: "txt14" };
|
|
17453
|
+
const _hoisted_5$d = ["onUpdate:modelValue", "placeholder"];
|
|
17451
17454
|
const _hoisted_6$9 = { class: "bglform-contact-address" };
|
|
17452
17455
|
const _hoisted_7$5 = ["onUpdate:modelValue", "placeholder"];
|
|
17453
17456
|
const _hoisted_8$2 = { class: "bglform-contact-address-flex" };
|
|
@@ -17460,7 +17463,7 @@ const _hoisted_14 = ["onUpdate:modelValue"];
|
|
|
17460
17463
|
const _hoisted_15 = ["onUpdate:modelValue"];
|
|
17461
17464
|
const _hoisted_16 = ["onUpdate:modelValue", "placeholder"];
|
|
17462
17465
|
const _hoisted_17 = { class: "bglform-address-del" };
|
|
17463
|
-
const _sfc_main$
|
|
17466
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
17464
17467
|
__name: "BankDetailsArray",
|
|
17465
17468
|
props: {
|
|
17466
17469
|
context: {}
|
|
@@ -17513,16 +17516,16 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
17513
17516
|
}
|
|
17514
17517
|
);
|
|
17515
17518
|
return (_ctx, _cache) => {
|
|
17516
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
17517
|
-
createElementVNode("div", _hoisted_2$
|
|
17519
|
+
return openBlock(), createElementBlock("div", _hoisted_1$F, [
|
|
17520
|
+
createElementVNode("div", _hoisted_2$A, [
|
|
17518
17521
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(val), (bank_account, i2) => {
|
|
17519
17522
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
17520
17523
|
return openBlock(), createElementBlock("div", {
|
|
17521
17524
|
class: "bglform-contact mb-3",
|
|
17522
17525
|
key: i2
|
|
17523
17526
|
}, [
|
|
17524
|
-
unref(deleteCandidate) === i2 ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
17525
|
-
createElementVNode("p", _hoisted_4$
|
|
17527
|
+
unref(deleteCandidate) === i2 ? (openBlock(), createElementBlock("div", _hoisted_3$w, [
|
|
17528
|
+
createElementVNode("p", _hoisted_4$h, toDisplayString((_a = formPlaceholders.value) == null ? void 0 : _a.sure), 1),
|
|
17526
17529
|
createVNode(unref(Btn), {
|
|
17527
17530
|
thin: "",
|
|
17528
17531
|
color: "red",
|
|
@@ -17558,7 +17561,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
17558
17561
|
"onUpdate:modelValue": ($event) => bank_account.label = $event,
|
|
17559
17562
|
type: "text",
|
|
17560
17563
|
placeholder: (_b = formPlaceholders.value) == null ? void 0 : _b.label
|
|
17561
|
-
}, null, 8, _hoisted_5$
|
|
17564
|
+
}, null, 8, _hoisted_5$d), [
|
|
17562
17565
|
[vModelText, bank_account.label]
|
|
17563
17566
|
]),
|
|
17564
17567
|
createElementVNode("div", _hoisted_6$9, [
|
|
@@ -17657,9 +17660,9 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
17657
17660
|
};
|
|
17658
17661
|
}
|
|
17659
17662
|
});
|
|
17660
|
-
const BankDetailsArray = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17661
|
-
const _hoisted_1$
|
|
17662
|
-
const _sfc_main$
|
|
17663
|
+
const BankDetailsArray = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-cc20bcbb"]]);
|
|
17664
|
+
const _hoisted_1$E = { class: "misc-wrap" };
|
|
17665
|
+
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
17663
17666
|
__name: "MiscFields",
|
|
17664
17667
|
props: {
|
|
17665
17668
|
context: {},
|
|
@@ -17676,7 +17679,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
17676
17679
|
console.log(fields.value);
|
|
17677
17680
|
};
|
|
17678
17681
|
return (_ctx, _cache) => {
|
|
17679
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
17682
|
+
return openBlock(), createElementBlock("div", _hoisted_1$E, [
|
|
17680
17683
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(fields.value.filter(
|
|
17681
17684
|
(field) => {
|
|
17682
17685
|
var _a;
|
|
@@ -17704,13 +17707,13 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
17704
17707
|
};
|
|
17705
17708
|
}
|
|
17706
17709
|
});
|
|
17707
|
-
const MiscFieldsBtns = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17710
|
+
const MiscFieldsBtns = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-91b04350"]]);
|
|
17708
17711
|
const _withScopeId$1 = (n) => (pushScopeId("data-v-d0543d4b"), n = n(), popScopeId(), n);
|
|
17709
|
-
const _hoisted_1$
|
|
17710
|
-
const _hoisted_2$
|
|
17711
|
-
const _hoisted_3$
|
|
17712
|
-
const _hoisted_4$
|
|
17713
|
-
const _sfc_main$
|
|
17712
|
+
const _hoisted_1$D = ["title"];
|
|
17713
|
+
const _hoisted_2$z = { class: "switch" };
|
|
17714
|
+
const _hoisted_3$v = ["id"];
|
|
17715
|
+
const _hoisted_4$g = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "slider round" }, null, -1));
|
|
17716
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
17714
17717
|
__name: "Toggle",
|
|
17715
17718
|
props: {
|
|
17716
17719
|
context: Object
|
|
@@ -17734,7 +17737,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
17734
17737
|
class: normalizeClass(["bagel-input checkbox", { check: (_a = __props.context) == null ? void 0 : _a.attrs.isCheckbox }]),
|
|
17735
17738
|
title: (_b = __props.context) == null ? void 0 : _b.help
|
|
17736
17739
|
}, [
|
|
17737
|
-
createElementVNode("label", _hoisted_2$
|
|
17740
|
+
createElementVNode("label", _hoisted_2$z, [
|
|
17738
17741
|
withDirectives(createElementVNode("input", {
|
|
17739
17742
|
onChange: _cache[0] || (_cache[0] = () => {
|
|
17740
17743
|
var _a2;
|
|
@@ -17743,31 +17746,31 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
17743
17746
|
type: "checkbox",
|
|
17744
17747
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(inputVal) ? inputVal.value = $event : inputVal = $event),
|
|
17745
17748
|
id: (_c = __props.context) == null ? void 0 : _c.id
|
|
17746
|
-
}, null, 40, _hoisted_3$
|
|
17749
|
+
}, null, 40, _hoisted_3$v), [
|
|
17747
17750
|
[vModelCheckbox, unref(inputVal)]
|
|
17748
17751
|
]),
|
|
17749
|
-
_hoisted_4$
|
|
17752
|
+
_hoisted_4$g
|
|
17750
17753
|
])
|
|
17751
|
-
], 10, _hoisted_1$
|
|
17754
|
+
], 10, _hoisted_1$D);
|
|
17752
17755
|
};
|
|
17753
17756
|
}
|
|
17754
17757
|
});
|
|
17755
|
-
const Toggle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17756
|
-
const _hoisted_1$
|
|
17757
|
-
const _hoisted_2$
|
|
17758
|
+
const Toggle = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-d0543d4b"]]);
|
|
17759
|
+
const _hoisted_1$C = { class: "files-wrapper flex" };
|
|
17760
|
+
const _hoisted_2$y = {
|
|
17758
17761
|
key: 0,
|
|
17759
17762
|
class: "img-label"
|
|
17760
17763
|
};
|
|
17761
|
-
const _hoisted_3$
|
|
17762
|
-
const _hoisted_4$
|
|
17763
|
-
const _hoisted_5$
|
|
17764
|
+
const _hoisted_3$u = { class: "uploading-wrap" };
|
|
17765
|
+
const _hoisted_4$f = { class: "load-file-bar" };
|
|
17766
|
+
const _hoisted_5$c = ["src", "alt"];
|
|
17764
17767
|
const _hoisted_6$8 = { class: "flex" };
|
|
17765
17768
|
const _hoisted_7$4 = {
|
|
17766
17769
|
key: 0,
|
|
17767
17770
|
class: "progress"
|
|
17768
17771
|
};
|
|
17769
17772
|
const _hoisted_8$1 = ["multiple"];
|
|
17770
|
-
const _sfc_main$
|
|
17773
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
17771
17774
|
__name: "FileUploader",
|
|
17772
17775
|
props: {
|
|
17773
17776
|
context: {},
|
|
@@ -17817,9 +17820,9 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
17817
17820
|
}
|
|
17818
17821
|
function emitValue() {
|
|
17819
17822
|
var _a, _b, _c;
|
|
17820
|
-
const
|
|
17823
|
+
const relationshipObjKey = (_b = (_a = props2.context) == null ? void 0 : _a.attrs) == null ? void 0 : _b.relationshipObjKey;
|
|
17821
17824
|
if (!computedMultiple.value)
|
|
17822
|
-
return (_c = props2.context) == null ? void 0 : _c.node.input(
|
|
17825
|
+
return (_c = props2.context) == null ? void 0 : _c.node.input(relationshipObjKey ? files.value[0].serverFile.id : files.value[0].serverFile);
|
|
17823
17826
|
return alert("not implemented");
|
|
17824
17827
|
}
|
|
17825
17828
|
const isImg = (file) => {
|
|
@@ -17875,8 +17878,8 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
17875
17878
|
onMounted(() => {
|
|
17876
17879
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
17877
17880
|
(_a = dropZoneEl.value) == null ? void 0 : _a.addEventListener("dragover", animateCircle);
|
|
17878
|
-
const
|
|
17879
|
-
const imageObj =
|
|
17881
|
+
const relationshipObjKey = (_c = (_b = props2.context) == null ? void 0 : _b.attrs) == null ? void 0 : _c.relationshipObjKey;
|
|
17882
|
+
const imageObj = relationshipObjKey ? (_f = (_e = (_d = props2.context) == null ? void 0 : _d.node) == null ? void 0 : _e.parent) == null ? void 0 : _f.value[relationshipObjKey] : (_h = (_g = props2.context) == null ? void 0 : _g.node) == null ? void 0 : _h.value;
|
|
17880
17883
|
if (!computedMultiple.value && imageObj) {
|
|
17881
17884
|
files.value.push({
|
|
17882
17885
|
serverFile: imageObj,
|
|
@@ -17905,7 +17908,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
17905
17908
|
void addFiles(filesToAdd);
|
|
17906
17909
|
}
|
|
17907
17910
|
return (_ctx, _cache) => {
|
|
17908
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
17911
|
+
return openBlock(), createElementBlock("div", _hoisted_1$C, [
|
|
17909
17912
|
createElementVNode("div", {
|
|
17910
17913
|
ref_key: "dropZoneEl",
|
|
17911
17914
|
ref: dropZoneEl,
|
|
@@ -17925,26 +17928,26 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
17925
17928
|
]),
|
|
17926
17929
|
_: 1
|
|
17927
17930
|
}),
|
|
17928
|
-
allowUpload.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
17931
|
+
allowUpload.value ? (openBlock(), createElementBlock("div", _hoisted_2$y, [
|
|
17929
17932
|
createElementVNode("p", null, [
|
|
17930
17933
|
createTextVNode(toDisplayString(computedDragDropLabel.value) + " ", 1),
|
|
17931
17934
|
createElementVNode("span", null, toDisplayString(computedDrowseLabel.value), 1)
|
|
17932
17935
|
])
|
|
17933
17936
|
])) : createCommentVNode("", true),
|
|
17934
|
-
createElementVNode("div", _hoisted_3$
|
|
17937
|
+
createElementVNode("div", _hoisted_3$u, [
|
|
17935
17938
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(files.value, (item, index2) => {
|
|
17936
17939
|
return openBlock(), createElementBlock("div", {
|
|
17937
17940
|
class: normalizeClass({ uploading: item.uploading }),
|
|
17938
17941
|
key: index2
|
|
17939
17942
|
}, [
|
|
17940
|
-
createElementVNode("div", _hoisted_4$
|
|
17943
|
+
createElementVNode("div", _hoisted_4$f, [
|
|
17941
17944
|
isImg(item) ? (openBlock(), createElementBlock("img", {
|
|
17942
17945
|
key: 0,
|
|
17943
17946
|
width: "40",
|
|
17944
17947
|
src: item.dataUrl,
|
|
17945
17948
|
alt: item.name,
|
|
17946
17949
|
style: { "margin-inline-end": "10px" }
|
|
17947
|
-
}, null, 8, _hoisted_5$
|
|
17950
|
+
}, null, 8, _hoisted_5$c)) : createCommentVNode("", true),
|
|
17948
17951
|
createElementVNode("p", null, toDisplayString(item.name), 1),
|
|
17949
17952
|
createElementVNode("div", _hoisted_6$8, [
|
|
17950
17953
|
createElementVNode("div", {
|
|
@@ -17952,7 +17955,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
17952
17955
|
style: normalizeStyle([`--p:${item.progress}`, { "--b": "2px" }])
|
|
17953
17956
|
}, [
|
|
17954
17957
|
item.progress < 100 ? (openBlock(), createElementBlock("span", _hoisted_7$4, toDisplayString(`${item.progress.toFixed(0)}`), 1)) : createCommentVNode("", true),
|
|
17955
|
-
createVNode(unref(_sfc_main$
|
|
17958
|
+
createVNode(unref(_sfc_main$S), {
|
|
17956
17959
|
class: "success",
|
|
17957
17960
|
icon: "check"
|
|
17958
17961
|
})
|
|
@@ -17982,14 +17985,14 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
17982
17985
|
};
|
|
17983
17986
|
}
|
|
17984
17987
|
});
|
|
17985
|
-
const _hoisted_1$
|
|
17988
|
+
const _hoisted_1$B = {
|
|
17986
17989
|
key: 0,
|
|
17987
17990
|
class: "person-card-edit flex gap-2"
|
|
17988
17991
|
};
|
|
17989
|
-
const _hoisted_2$
|
|
17990
|
-
const _hoisted_3$
|
|
17991
|
-
const _hoisted_4$
|
|
17992
|
-
const _hoisted_5$
|
|
17992
|
+
const _hoisted_2$x = { class: "person-card-icon-wrap" };
|
|
17993
|
+
const _hoisted_3$t = { class: "person-card-icon" };
|
|
17994
|
+
const _hoisted_4$e = { class: "person-card-name txt20" };
|
|
17995
|
+
const _hoisted_5$b = { class: "person-card-details-wrap" };
|
|
17993
17996
|
const _hoisted_6$7 = {
|
|
17994
17997
|
key: 0,
|
|
17995
17998
|
class: "person-card-details"
|
|
@@ -18004,7 +18007,7 @@ const _hoisted_8 = {
|
|
|
18004
18007
|
};
|
|
18005
18008
|
const _hoisted_9 = { key: 0 };
|
|
18006
18009
|
const _hoisted_10 = { key: 1 };
|
|
18007
|
-
const _sfc_main$
|
|
18010
|
+
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
18008
18011
|
__name: "PersonPreviewFormkit",
|
|
18009
18012
|
props: {
|
|
18010
18013
|
context: {},
|
|
@@ -18035,7 +18038,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
18035
18038
|
(...args) => _ctx.onClick && _ctx.onClick(...args)),
|
|
18036
18039
|
class: "person-card"
|
|
18037
18040
|
}, [
|
|
18038
|
-
!_ctx.onClick ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
18041
|
+
!_ctx.onClick ? (openBlock(), createElementBlock("div", _hoisted_1$B, [
|
|
18039
18042
|
!_ctx.$route.path.match("/search") ? (openBlock(), createBlock(unref(Btn), {
|
|
18040
18043
|
key: 0,
|
|
18041
18044
|
onClick: unref(hideModal),
|
|
@@ -18053,13 +18056,13 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
18053
18056
|
icon: "edit"
|
|
18054
18057
|
})
|
|
18055
18058
|
])) : createCommentVNode("", true),
|
|
18056
|
-
createElementVNode("div", _hoisted_2$
|
|
18057
|
-
createElementVNode("p", _hoisted_3$
|
|
18058
|
-
createElementVNode("p", _hoisted_4$
|
|
18059
|
+
createElementVNode("div", _hoisted_2$x, [
|
|
18060
|
+
createElementVNode("p", _hoisted_3$t, toDisplayString(unref(initials)(person.value.first_name, person.value.last_name)), 1),
|
|
18061
|
+
createElementVNode("p", _hoisted_4$e, toDisplayString(person.value.first_name) + " " + toDisplayString(person.value.last_name), 1)
|
|
18059
18062
|
]),
|
|
18060
|
-
createElementVNode("div", _hoisted_5$
|
|
18063
|
+
createElementVNode("div", _hoisted_5$b, [
|
|
18061
18064
|
((_a = person.value.phone) == null ? void 0 : _a.length) ? (openBlock(), createElementBlock("div", _hoisted_6$7, [
|
|
18062
|
-
createVNode(unref(_sfc_main$
|
|
18065
|
+
createVNode(unref(_sfc_main$S), { icon: "phone" }),
|
|
18063
18066
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(person.value.phone, (phone) => {
|
|
18064
18067
|
return openBlock(), createElementBlock("p", {
|
|
18065
18068
|
key: phone.id
|
|
@@ -18067,7 +18070,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
18067
18070
|
}), 128))
|
|
18068
18071
|
])) : createCommentVNode("", true),
|
|
18069
18072
|
((_b = person.value.email) == null ? void 0 : _b.length) ? (openBlock(), createElementBlock("div", _hoisted_7$3, [
|
|
18070
|
-
createVNode(unref(_sfc_main$
|
|
18073
|
+
createVNode(unref(_sfc_main$S), { icon: "email" }),
|
|
18071
18074
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(person.value.email, (email) => {
|
|
18072
18075
|
return openBlock(), createElementBlock("p", {
|
|
18073
18076
|
key: email.id
|
|
@@ -18075,7 +18078,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
18075
18078
|
}), 128))
|
|
18076
18079
|
])) : createCommentVNode("", true),
|
|
18077
18080
|
person.value.date_of_birth || person.value.gender ? (openBlock(), createElementBlock("div", _hoisted_8, [
|
|
18078
|
-
createVNode(unref(_sfc_main$
|
|
18081
|
+
createVNode(unref(_sfc_main$S), { icon: "badge" }),
|
|
18079
18082
|
person.value.date_of_birth ? (openBlock(), createElementBlock("p", _hoisted_9, toDisplayString(person.value.date_of_birth), 1)) : createCommentVNode("", true),
|
|
18080
18083
|
person.value.gender ? (openBlock(), createElementBlock("p", _hoisted_10, toDisplayString(person.value.gender), 1)) : createCommentVNode("", true)
|
|
18081
18084
|
])) : createCommentVNode("", true)
|
|
@@ -18084,7 +18087,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
18084
18087
|
};
|
|
18085
18088
|
}
|
|
18086
18089
|
});
|
|
18087
|
-
const _sfc_main$
|
|
18090
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
18088
18091
|
__name: "TextVariableExamples",
|
|
18089
18092
|
props: {
|
|
18090
18093
|
context: Object
|
|
@@ -18176,14 +18179,14 @@ const AddressInput = createInput(AddressArray);
|
|
|
18176
18179
|
const BankDetailsInput = createInput(BankDetailsArray);
|
|
18177
18180
|
const MiscFieldsInput = createInput(MiscFieldsBtns);
|
|
18178
18181
|
const ToggleSwitchInput = createInput(Toggle);
|
|
18179
|
-
const FileUploadInput = createInput(_sfc_main$
|
|
18180
|
-
const TextVariablesInput = createInput(_sfc_main$
|
|
18181
|
-
const PersonPreviewInput = createInput(_sfc_main$
|
|
18182
|
-
const _hoisted_1$
|
|
18182
|
+
const FileUploadInput = createInput(_sfc_main$t);
|
|
18183
|
+
const TextVariablesInput = createInput(_sfc_main$r);
|
|
18184
|
+
const PersonPreviewInput = createInput(_sfc_main$s);
|
|
18185
|
+
const _hoisted_1$A = {
|
|
18183
18186
|
key: 1,
|
|
18184
18187
|
class: "pill"
|
|
18185
18188
|
};
|
|
18186
|
-
const _sfc_main$
|
|
18189
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
18187
18190
|
__name: "ItemRef",
|
|
18188
18191
|
props: {
|
|
18189
18192
|
modelValue: {},
|
|
@@ -18217,15 +18220,15 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
18217
18220
|
}, {
|
|
18218
18221
|
default: withCtx(() => [
|
|
18219
18222
|
createTextVNode(toDisplayString(content.value) + " ", 1),
|
|
18220
|
-
createVNode(unref(_sfc_main$
|
|
18223
|
+
createVNode(unref(_sfc_main$S), { icon: "arrow_forward" })
|
|
18221
18224
|
]),
|
|
18222
18225
|
_: 1
|
|
18223
|
-
})) : (openBlock(), createElementBlock("span", _hoisted_1$
|
|
18226
|
+
})) : (openBlock(), createElementBlock("span", _hoisted_1$A, toDisplayString(content.value), 1))
|
|
18224
18227
|
]);
|
|
18225
18228
|
};
|
|
18226
18229
|
}
|
|
18227
18230
|
});
|
|
18228
|
-
const _sfc_main$
|
|
18231
|
+
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
18229
18232
|
__name: "MaterialIcon",
|
|
18230
18233
|
props: {
|
|
18231
18234
|
icon: {},
|
|
@@ -18240,13 +18243,13 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
18240
18243
|
};
|
|
18241
18244
|
}
|
|
18242
18245
|
});
|
|
18243
|
-
const _hoisted_1$
|
|
18244
|
-
const _hoisted_2$
|
|
18245
|
-
const _hoisted_3$
|
|
18246
|
-
const _hoisted_4$
|
|
18247
|
-
const _hoisted_5$
|
|
18246
|
+
const _hoisted_1$z = { class: "bagel-input" };
|
|
18247
|
+
const _hoisted_2$w = ["for"];
|
|
18248
|
+
const _hoisted_3$s = ["checked"];
|
|
18249
|
+
const _hoisted_4$d = ["name", "type", "value"];
|
|
18250
|
+
const _hoisted_5$a = ["name", "type", "value"];
|
|
18248
18251
|
const _hoisted_6$6 = ["name", "type", "value"];
|
|
18249
|
-
const _sfc_main$
|
|
18252
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
18250
18253
|
__name: "PlainInputField",
|
|
18251
18254
|
props: {
|
|
18252
18255
|
type: {},
|
|
@@ -18276,14 +18279,14 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
18276
18279
|
}
|
|
18277
18280
|
});
|
|
18278
18281
|
return (_ctx, _cache) => {
|
|
18279
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
18282
|
+
return openBlock(), createElementBlock("div", _hoisted_1$z, [
|
|
18280
18283
|
createElementVNode("label", {
|
|
18281
18284
|
for: unref(formatString)(_ctx.name, "pascal")
|
|
18282
18285
|
}, [
|
|
18283
|
-
createVNode(_sfc_main$
|
|
18286
|
+
createVNode(_sfc_main$U, {
|
|
18284
18287
|
input: unref(formatString)(_ctx.name, "titleCase")
|
|
18285
18288
|
}, null, 8, ["input"])
|
|
18286
|
-
], 8, _hoisted_2$
|
|
18289
|
+
], 8, _hoisted_2$w),
|
|
18287
18290
|
_ctx.type === "checkbox" ? (openBlock(), createElementBlock("input", {
|
|
18288
18291
|
key: 0,
|
|
18289
18292
|
ref_key: "el",
|
|
@@ -18292,7 +18295,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
18292
18295
|
class: "ctl",
|
|
18293
18296
|
type: "checkbox",
|
|
18294
18297
|
onChange: handleCheck
|
|
18295
|
-
}, null, 40, _hoisted_3$
|
|
18298
|
+
}, null, 40, _hoisted_3$s)) : _ctx.type === "number" ? (openBlock(), createElementBlock("input", {
|
|
18296
18299
|
key: 1,
|
|
18297
18300
|
ref_key: "el",
|
|
18298
18301
|
ref: el,
|
|
@@ -18301,7 +18304,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
18301
18304
|
value: _ctx.modelValue,
|
|
18302
18305
|
class: "ctl",
|
|
18303
18306
|
onInput: handleInput
|
|
18304
|
-
}, null, 40, _hoisted_4$
|
|
18307
|
+
}, null, 40, _hoisted_4$d)) : _ctx.type === "text" ? (openBlock(), createElementBlock("input", {
|
|
18305
18308
|
key: 2,
|
|
18306
18309
|
ref_key: "el",
|
|
18307
18310
|
ref: el,
|
|
@@ -18310,7 +18313,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
18310
18313
|
value: _ctx.modelValue,
|
|
18311
18314
|
class: "ctl",
|
|
18312
18315
|
onInput: handleInput
|
|
18313
|
-
}, null, 40, _hoisted_5$
|
|
18316
|
+
}, null, 40, _hoisted_5$a)) : _ctx.type === "textarea" ? (openBlock(), createElementBlock("textarea", {
|
|
18314
18317
|
key: 3,
|
|
18315
18318
|
ref_key: "el",
|
|
18316
18319
|
ref: el,
|
|
@@ -18321,19 +18324,19 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
18321
18324
|
onInput: handleInput
|
|
18322
18325
|
}, null, 40, _hoisted_6$6)) : createCommentVNode("", true),
|
|
18323
18326
|
createElementVNode("div", null, [
|
|
18324
|
-
createVNode(_sfc_main$
|
|
18327
|
+
createVNode(_sfc_main$U, { input: _ctx.errorMessage }, null, 8, ["input"])
|
|
18325
18328
|
])
|
|
18326
18329
|
]);
|
|
18327
18330
|
};
|
|
18328
18331
|
}
|
|
18329
18332
|
});
|
|
18330
18333
|
const _withScopeId = (n) => (pushScopeId("data-v-0dacba34"), n = n(), popScopeId(), n);
|
|
18331
|
-
const _hoisted_1$
|
|
18332
|
-
const _hoisted_2$
|
|
18333
|
-
const _hoisted_3$
|
|
18334
|
-
const _hoisted_4$
|
|
18335
|
-
const _hoisted_5$
|
|
18336
|
-
const _sfc_main$
|
|
18334
|
+
const _hoisted_1$y = ["title"];
|
|
18335
|
+
const _hoisted_2$v = ["for"];
|
|
18336
|
+
const _hoisted_3$r = { class: "switch" };
|
|
18337
|
+
const _hoisted_4$c = ["id"];
|
|
18338
|
+
const _hoisted_5$9 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "slider round" }, null, -1));
|
|
18339
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
18337
18340
|
__name: "CheckInput",
|
|
18338
18341
|
props: {
|
|
18339
18342
|
field: {},
|
|
@@ -18366,29 +18369,29 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18366
18369
|
}, [
|
|
18367
18370
|
createElementVNode("label", {
|
|
18368
18371
|
for: _ctx.field.id
|
|
18369
|
-
}, toDisplayString(_ctx.field.label), 9, _hoisted_2$
|
|
18370
|
-
createElementVNode("label", _hoisted_3$
|
|
18372
|
+
}, toDisplayString(_ctx.field.label), 9, _hoisted_2$v),
|
|
18373
|
+
createElementVNode("label", _hoisted_3$r, [
|
|
18371
18374
|
withDirectives(createElementVNode("input", {
|
|
18372
18375
|
id: _ctx.field.id,
|
|
18373
18376
|
type: "checkbox",
|
|
18374
18377
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inputVal.value = $event),
|
|
18375
18378
|
class: normalizeClass({ "no-edit": !_ctx.editMode })
|
|
18376
|
-
}, null, 10, _hoisted_4$
|
|
18379
|
+
}, null, 10, _hoisted_4$c), [
|
|
18377
18380
|
[vModelCheckbox, inputVal.value]
|
|
18378
18381
|
]),
|
|
18379
|
-
_hoisted_5$
|
|
18382
|
+
_hoisted_5$9
|
|
18380
18383
|
])
|
|
18381
|
-
], 10, _hoisted_1$
|
|
18384
|
+
], 10, _hoisted_1$y);
|
|
18382
18385
|
};
|
|
18383
18386
|
}
|
|
18384
18387
|
});
|
|
18385
|
-
const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18386
|
-
const _hoisted_1$
|
|
18387
|
-
const _hoisted_2$
|
|
18388
|
-
const _hoisted_3$
|
|
18389
|
-
const _hoisted_4$
|
|
18390
|
-
const _hoisted_5$
|
|
18391
|
-
const _sfc_main$
|
|
18388
|
+
const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-0dacba34"]]);
|
|
18389
|
+
const _hoisted_1$x = ["title"];
|
|
18390
|
+
const _hoisted_2$u = { key: 0 };
|
|
18391
|
+
const _hoisted_3$q = { class: "flex gap-3" };
|
|
18392
|
+
const _hoisted_4$b = ["value", "placeholder"];
|
|
18393
|
+
const _hoisted_5$8 = { class: "currency" };
|
|
18394
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
18392
18395
|
__name: "CurrencyInput",
|
|
18393
18396
|
props: {
|
|
18394
18397
|
field: {},
|
|
@@ -18489,26 +18492,26 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
18489
18492
|
class: normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
18490
18493
|
title: _ctx.field.description
|
|
18491
18494
|
}, [
|
|
18492
|
-
_ctx.field.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
18493
|
-
createElementVNode("div", _hoisted_3$
|
|
18495
|
+
_ctx.field.label ? (openBlock(), createElementBlock("label", _hoisted_2$u, toDisplayString(_ctx.field.label), 1)) : createCommentVNode("", true),
|
|
18496
|
+
createElementVNode("div", _hoisted_3$q, [
|
|
18494
18497
|
createElementVNode("input", {
|
|
18495
18498
|
value: _ctx.modelValue,
|
|
18496
18499
|
type: "number",
|
|
18497
18500
|
onInput: handleInput,
|
|
18498
18501
|
placeholder: _ctx.placeholder,
|
|
18499
18502
|
class: normalizeClass({ "no-edit": !_ctx.editMode })
|
|
18500
|
-
}, null, 42, _hoisted_4$
|
|
18501
|
-
createElementVNode("p", _hoisted_5$
|
|
18503
|
+
}, null, 42, _hoisted_4$b),
|
|
18504
|
+
createElementVNode("p", _hoisted_5$8, toDisplayString(((_a = currencies.find((c) => c.symbol === _ctx.field.currency)) == null ? void 0 : _a.character) || _ctx.field.currency), 1)
|
|
18502
18505
|
])
|
|
18503
|
-
], 10, _hoisted_1$
|
|
18506
|
+
], 10, _hoisted_1$x);
|
|
18504
18507
|
};
|
|
18505
18508
|
}
|
|
18506
18509
|
});
|
|
18507
|
-
const CurrencyInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18508
|
-
const _hoisted_1$
|
|
18509
|
-
const _hoisted_2$
|
|
18510
|
-
const _hoisted_3$
|
|
18511
|
-
const _sfc_main$
|
|
18510
|
+
const CurrencyInput = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-17a56a3f"]]);
|
|
18511
|
+
const _hoisted_1$w = ["title"];
|
|
18512
|
+
const _hoisted_2$t = { key: 0 };
|
|
18513
|
+
const _hoisted_3$p = ["placeholder", "disabled"];
|
|
18514
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
18512
18515
|
__name: "DateInput",
|
|
18513
18516
|
props: {
|
|
18514
18517
|
field: {},
|
|
@@ -18529,7 +18532,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
18529
18532
|
class: normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
18530
18533
|
title: _ctx.field.description
|
|
18531
18534
|
}, [
|
|
18532
|
-
_ctx.field.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
18535
|
+
_ctx.field.label ? (openBlock(), createElementBlock("label", _hoisted_2$t, toDisplayString(_ctx.field.label), 1)) : createCommentVNode("", true),
|
|
18533
18536
|
withDirectives(createElementVNode("input", {
|
|
18534
18537
|
type: "date",
|
|
18535
18538
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => date2.value = $event),
|
|
@@ -18539,18 +18542,18 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
18539
18542
|
disabled: !_ctx.editMode,
|
|
18540
18543
|
enableTimePicker: false,
|
|
18541
18544
|
textInputOptions: { format: "yyyy-MM-dd" }
|
|
18542
|
-
}, null, 40, _hoisted_3$
|
|
18545
|
+
}, null, 40, _hoisted_3$p), [
|
|
18543
18546
|
[vModelText, date2.value]
|
|
18544
18547
|
])
|
|
18545
|
-
], 10, _hoisted_1$
|
|
18548
|
+
], 10, _hoisted_1$w);
|
|
18546
18549
|
};
|
|
18547
18550
|
}
|
|
18548
18551
|
});
|
|
18549
|
-
const DateInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18550
|
-
const _hoisted_1$
|
|
18551
|
-
const _hoisted_2$
|
|
18552
|
-
const _hoisted_3$
|
|
18553
|
-
const _sfc_main$
|
|
18552
|
+
const DateInput = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-782aee7f"]]);
|
|
18553
|
+
const _hoisted_1$v = ["title"];
|
|
18554
|
+
const _hoisted_2$s = { key: 0 };
|
|
18555
|
+
const _hoisted_3$o = ["value", "placeholder"];
|
|
18556
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
18554
18557
|
__name: "DatetimeInput",
|
|
18555
18558
|
props: {
|
|
18556
18559
|
description: { default: "" },
|
|
@@ -18576,7 +18579,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
18576
18579
|
class: normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
18577
18580
|
title: _ctx.description
|
|
18578
18581
|
}, [
|
|
18579
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
18582
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$s, [
|
|
18580
18583
|
createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
|
|
18581
18584
|
])) : createCommentVNode("", true),
|
|
18582
18585
|
createElementVNode("input", {
|
|
@@ -18585,15 +18588,15 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
18585
18588
|
onInput: handleInput,
|
|
18586
18589
|
placeholder: _ctx.placeholder,
|
|
18587
18590
|
class: normalizeClass({ "no-edit": !_ctx.editMode })
|
|
18588
|
-
}, null, 42, _hoisted_3$
|
|
18589
|
-
], 10, _hoisted_1$
|
|
18591
|
+
}, null, 42, _hoisted_3$o)
|
|
18592
|
+
], 10, _hoisted_1$v);
|
|
18590
18593
|
};
|
|
18591
18594
|
}
|
|
18592
18595
|
});
|
|
18593
|
-
const _hoisted_1$
|
|
18594
|
-
const _hoisted_2$
|
|
18595
|
-
const _hoisted_3$
|
|
18596
|
-
const _sfc_main$
|
|
18596
|
+
const _hoisted_1$u = ["title"];
|
|
18597
|
+
const _hoisted_2$r = { key: 0 };
|
|
18598
|
+
const _hoisted_3$n = ["value", "placeholder"];
|
|
18599
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
18597
18600
|
__name: "EmailInput",
|
|
18598
18601
|
props: {
|
|
18599
18602
|
description: { default: "" },
|
|
@@ -18616,7 +18619,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
18616
18619
|
class: normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
18617
18620
|
title: _ctx.description
|
|
18618
18621
|
}, [
|
|
18619
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
18622
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$r, [
|
|
18620
18623
|
createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
|
|
18621
18624
|
])) : createCommentVNode("", true),
|
|
18622
18625
|
createElementVNode("input", {
|
|
@@ -18626,16 +18629,16 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
18626
18629
|
onInput: handleInput,
|
|
18627
18630
|
class: normalizeClass({ "no-edit": !_ctx.editMode }),
|
|
18628
18631
|
placeholder: _ctx.placeholder
|
|
18629
|
-
}, null, 42, _hoisted_3$
|
|
18630
|
-
], 10, _hoisted_1$
|
|
18632
|
+
}, null, 42, _hoisted_3$n)
|
|
18633
|
+
], 10, _hoisted_1$u);
|
|
18631
18634
|
};
|
|
18632
18635
|
}
|
|
18633
18636
|
});
|
|
18634
|
-
const EmailInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18635
|
-
const _hoisted_1$
|
|
18636
|
-
const _hoisted_2$
|
|
18637
|
-
const _hoisted_3$
|
|
18638
|
-
const _sfc_main$
|
|
18637
|
+
const EmailInput = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-ed81a514"]]);
|
|
18638
|
+
const _hoisted_1$t = ["title"];
|
|
18639
|
+
const _hoisted_2$q = { key: 0 };
|
|
18640
|
+
const _hoisted_3$m = ["value", "placeholder"];
|
|
18641
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
18639
18642
|
__name: "FloatInput",
|
|
18640
18643
|
props: {
|
|
18641
18644
|
description: { default: "" },
|
|
@@ -18662,7 +18665,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
18662
18665
|
class: normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
18663
18666
|
title: _ctx.description
|
|
18664
18667
|
}, [
|
|
18665
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
18668
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$q, [
|
|
18666
18669
|
createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
|
|
18667
18670
|
])) : createCommentVNode("", true),
|
|
18668
18671
|
createElementVNode("input", {
|
|
@@ -18671,15 +18674,15 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
18671
18674
|
onInput: handleInput,
|
|
18672
18675
|
class: normalizeClass({ "no-edit": !_ctx.editMode }),
|
|
18673
18676
|
placeholder: _ctx.placeholder
|
|
18674
|
-
}, null, 42, _hoisted_3$
|
|
18675
|
-
], 10, _hoisted_1$
|
|
18677
|
+
}, null, 42, _hoisted_3$m)
|
|
18678
|
+
], 10, _hoisted_1$t);
|
|
18676
18679
|
};
|
|
18677
18680
|
}
|
|
18678
18681
|
});
|
|
18679
|
-
const _hoisted_1$
|
|
18680
|
-
const _hoisted_2$
|
|
18681
|
-
const _hoisted_3$
|
|
18682
|
-
const _sfc_main$
|
|
18682
|
+
const _hoisted_1$s = ["title"];
|
|
18683
|
+
const _hoisted_2$p = { key: 0 };
|
|
18684
|
+
const _hoisted_3$l = ["value", "placeholder"];
|
|
18685
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
18683
18686
|
__name: "IntInput",
|
|
18684
18687
|
props: {
|
|
18685
18688
|
description: { default: "" },
|
|
@@ -18706,7 +18709,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
18706
18709
|
class: normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
18707
18710
|
title: _ctx.description
|
|
18708
18711
|
}, [
|
|
18709
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
18712
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$p, [
|
|
18710
18713
|
createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
|
|
18711
18714
|
])) : createCommentVNode("", true),
|
|
18712
18715
|
createElementVNode("input", {
|
|
@@ -18715,15 +18718,15 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
18715
18718
|
onInput: handleInput,
|
|
18716
18719
|
class: normalizeClass({ "no-edit": !_ctx.editMode }),
|
|
18717
18720
|
placeholder: _ctx.placeholder
|
|
18718
|
-
}, null, 42, _hoisted_3$
|
|
18719
|
-
], 10, _hoisted_1$
|
|
18721
|
+
}, null, 42, _hoisted_3$l)
|
|
18722
|
+
], 10, _hoisted_1$s);
|
|
18720
18723
|
};
|
|
18721
18724
|
}
|
|
18722
18725
|
});
|
|
18723
|
-
const _hoisted_1$
|
|
18724
|
-
const _hoisted_2$
|
|
18725
|
-
const _hoisted_3$
|
|
18726
|
-
const _sfc_main$
|
|
18726
|
+
const _hoisted_1$r = ["title"];
|
|
18727
|
+
const _hoisted_2$o = { key: 0 };
|
|
18728
|
+
const _hoisted_3$k = ["value", "placeholder"];
|
|
18729
|
+
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
18727
18730
|
__name: "JSONInput",
|
|
18728
18731
|
props: {
|
|
18729
18732
|
description: { default: "" },
|
|
@@ -18746,7 +18749,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
18746
18749
|
class: normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
18747
18750
|
title: _ctx.description
|
|
18748
18751
|
}, [
|
|
18749
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
18752
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$o, [
|
|
18750
18753
|
createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
|
|
18751
18754
|
])) : createCommentVNode("", true),
|
|
18752
18755
|
createElementVNode("textarea", {
|
|
@@ -18754,17 +18757,17 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
18754
18757
|
onInput: handleInput,
|
|
18755
18758
|
class: normalizeClass({ "no-edit": !_ctx.editMode }),
|
|
18756
18759
|
placeholder: _ctx.placeholder
|
|
18757
|
-
}, null, 42, _hoisted_3$
|
|
18758
|
-
], 10, _hoisted_1$
|
|
18760
|
+
}, null, 42, _hoisted_3$k)
|
|
18761
|
+
], 10, _hoisted_1$r);
|
|
18759
18762
|
};
|
|
18760
18763
|
}
|
|
18761
18764
|
});
|
|
18762
|
-
const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18763
|
-
const _hoisted_1$
|
|
18764
|
-
const _hoisted_2$
|
|
18765
|
-
const _hoisted_3$
|
|
18766
|
-
const _hoisted_4$
|
|
18767
|
-
const _hoisted_5$
|
|
18765
|
+
const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-1fc4f739"]]);
|
|
18766
|
+
const _hoisted_1$q = ["title"];
|
|
18767
|
+
const _hoisted_2$n = { key: 0 };
|
|
18768
|
+
const _hoisted_3$j = ["disabled"];
|
|
18769
|
+
const _hoisted_4$a = ["onClick"];
|
|
18770
|
+
const _hoisted_5$7 = {
|
|
18768
18771
|
key: 0,
|
|
18769
18772
|
class: "option-label"
|
|
18770
18773
|
};
|
|
@@ -18773,7 +18776,7 @@ const _hoisted_6$5 = {
|
|
|
18773
18776
|
class: "option-label"
|
|
18774
18777
|
};
|
|
18775
18778
|
const _hoisted_7$2 = { class: "option-description" };
|
|
18776
|
-
const _sfc_main$
|
|
18779
|
+
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
18777
18780
|
__name: "LinkField",
|
|
18778
18781
|
props: {
|
|
18779
18782
|
description: { default: "" },
|
|
@@ -18897,7 +18900,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
18897
18900
|
class: normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
18898
18901
|
title: _ctx.description
|
|
18899
18902
|
}, [
|
|
18900
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
18903
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$n, [
|
|
18901
18904
|
createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
|
|
18902
18905
|
])) : createCommentVNode("", true),
|
|
18903
18906
|
withDirectives(createElementVNode("input", {
|
|
@@ -18909,7 +18912,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
18909
18912
|
onFocus: initList,
|
|
18910
18913
|
onInput: handleInput,
|
|
18911
18914
|
disabled: !_ctx.editMode
|
|
18912
|
-
}, null, 40, _hoisted_3$
|
|
18915
|
+
}, null, 40, _hoisted_3$j), [
|
|
18913
18916
|
[vModelText, selectedItem.value]
|
|
18914
18917
|
]),
|
|
18915
18918
|
createElementVNode("div", {
|
|
@@ -18929,26 +18932,26 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
18929
18932
|
key: unref(formatString)(option2.value, "pascal"),
|
|
18930
18933
|
onClick: withModifiers(($event) => handleSelect(option2), ["stop"])
|
|
18931
18934
|
}, [
|
|
18932
|
-
option2.label ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
18935
|
+
option2.label ? (openBlock(), createElementBlock("div", _hoisted_5$7, [
|
|
18933
18936
|
createTextVNode(toDisplayString(option2.label), 1),
|
|
18934
18937
|
createElementVNode("span", null, "ID: " + toDisplayString(option2.value), 1)
|
|
18935
18938
|
])) : (openBlock(), createElementBlock("div", _hoisted_6$5, " ID: " + toDisplayString(option2.value), 1)),
|
|
18936
18939
|
createElementVNode("div", _hoisted_7$2, toDisplayString(option2.description), 1)
|
|
18937
|
-
], 8, _hoisted_4$
|
|
18940
|
+
], 8, _hoisted_4$a);
|
|
18938
18941
|
}), 128))
|
|
18939
18942
|
], 2)
|
|
18940
18943
|
]))
|
|
18941
18944
|
], 2)
|
|
18942
|
-
], 10, _hoisted_1$
|
|
18945
|
+
], 10, _hoisted_1$q);
|
|
18943
18946
|
};
|
|
18944
18947
|
}
|
|
18945
18948
|
});
|
|
18946
|
-
const LinkField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18947
|
-
const _hoisted_1$
|
|
18948
|
-
const _hoisted_2$
|
|
18949
|
-
const _hoisted_3$
|
|
18950
|
-
const _hoisted_4$
|
|
18951
|
-
const _sfc_main$
|
|
18949
|
+
const LinkField = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-947beb38"]]);
|
|
18950
|
+
const _hoisted_1$p = ["title"];
|
|
18951
|
+
const _hoisted_2$m = { key: 0 };
|
|
18952
|
+
const _hoisted_3$i = { class: "password-input-wrap" };
|
|
18953
|
+
const _hoisted_4$9 = ["value", "type", "placeholder"];
|
|
18954
|
+
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
18952
18955
|
__name: "PasswordInput",
|
|
18953
18956
|
props: {
|
|
18954
18957
|
description: { default: "" },
|
|
@@ -18982,31 +18985,31 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
18982
18985
|
class: normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
18983
18986
|
title: _ctx.description
|
|
18984
18987
|
}, [
|
|
18985
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
18988
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$m, [
|
|
18986
18989
|
createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
|
|
18987
18990
|
])) : createCommentVNode("", true),
|
|
18988
|
-
createElementVNode("div", _hoisted_3$
|
|
18991
|
+
createElementVNode("div", _hoisted_3$i, [
|
|
18989
18992
|
createElementVNode("input", {
|
|
18990
18993
|
value: _ctx.modelValue,
|
|
18991
18994
|
type: unref(inputType),
|
|
18992
18995
|
onInput: handleInput,
|
|
18993
18996
|
placeholder: _ctx.placeholder,
|
|
18994
18997
|
class: normalizeClass({ "no-edit": !_ctx.editMode })
|
|
18995
|
-
}, null, 42, _hoisted_4$
|
|
18998
|
+
}, null, 42, _hoisted_4$9),
|
|
18996
18999
|
createElementVNode("div", {
|
|
18997
19000
|
class: "icon-font password-icon",
|
|
18998
19001
|
onMousedown: toggleInputType
|
|
18999
19002
|
}, " visibility ", 32)
|
|
19000
19003
|
])
|
|
19001
|
-
], 10, _hoisted_1$
|
|
19004
|
+
], 10, _hoisted_1$p);
|
|
19002
19005
|
};
|
|
19003
19006
|
}
|
|
19004
19007
|
});
|
|
19005
|
-
const PasswordInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19006
|
-
const _hoisted_1$
|
|
19007
|
-
const _hoisted_2$
|
|
19008
|
-
const _hoisted_3$
|
|
19009
|
-
const _sfc_main$
|
|
19008
|
+
const PasswordInput = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-525f5e2e"]]);
|
|
19009
|
+
const _hoisted_1$o = ["title"];
|
|
19010
|
+
const _hoisted_2$l = ["for"];
|
|
19011
|
+
const _hoisted_3$h = ["id", "type", "placeholder", "required", "pattern"];
|
|
19012
|
+
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
19010
19013
|
__name: "Password",
|
|
19011
19014
|
props: {
|
|
19012
19015
|
field: {},
|
|
@@ -19046,22 +19049,22 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
19046
19049
|
class: { "no-edit": !_ctx.editMode },
|
|
19047
19050
|
required: _ctx.required,
|
|
19048
19051
|
pattern: _ctx.pattern
|
|
19049
|
-
}, _ctx.nativeInputAttrs), null, 16, _hoisted_3$
|
|
19052
|
+
}, _ctx.nativeInputAttrs), null, 16, _hoisted_3$h), [
|
|
19050
19053
|
[vModelDynamic, inputVal.value]
|
|
19051
19054
|
])
|
|
19052
|
-
], 8, _hoisted_2$
|
|
19053
|
-
createVNode(unref(_sfc_main$
|
|
19055
|
+
], 8, _hoisted_2$l),
|
|
19056
|
+
createVNode(unref(_sfc_main$S), {
|
|
19054
19057
|
onClick: showPassword,
|
|
19055
19058
|
icon: unref(seePassword) ? "visibility" : "visibility_off"
|
|
19056
19059
|
}, null, 8, ["icon"])
|
|
19057
|
-
], 10, _hoisted_1$
|
|
19060
|
+
], 10, _hoisted_1$o)) : createCommentVNode("", true);
|
|
19058
19061
|
};
|
|
19059
19062
|
}
|
|
19060
19063
|
});
|
|
19061
|
-
const Password = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19062
|
-
const _hoisted_1$
|
|
19063
|
-
const _hoisted_2$
|
|
19064
|
-
const _sfc_main$
|
|
19064
|
+
const Password = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-800f4000"]]);
|
|
19065
|
+
const _hoisted_1$n = ["title"];
|
|
19066
|
+
const _hoisted_2$k = { key: 0 };
|
|
19067
|
+
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
19065
19068
|
__name: "ReadOnlyInput",
|
|
19066
19069
|
props: {
|
|
19067
19070
|
field: {},
|
|
@@ -19074,16 +19077,16 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
19074
19077
|
class: normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
19075
19078
|
title: _ctx.field.description
|
|
19076
19079
|
}, [
|
|
19077
|
-
_ctx.field.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
19080
|
+
_ctx.field.label ? (openBlock(), createElementBlock("label", _hoisted_2$k, toDisplayString(_ctx.field.label), 1)) : createCommentVNode("", true),
|
|
19078
19081
|
createTextVNode(" " + toDisplayString(_ctx.modelValue), 1)
|
|
19079
|
-
], 10, _hoisted_1$
|
|
19082
|
+
], 10, _hoisted_1$n);
|
|
19080
19083
|
};
|
|
19081
19084
|
}
|
|
19082
19085
|
});
|
|
19083
|
-
const ReadOnlyInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19084
|
-
const _hoisted_1$
|
|
19085
|
-
const _hoisted_2$
|
|
19086
|
-
const _sfc_main$
|
|
19086
|
+
const ReadOnlyInput = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-b3b5a368"]]);
|
|
19087
|
+
const _hoisted_1$m = ["title"];
|
|
19088
|
+
const _hoisted_2$j = ["onClick"];
|
|
19089
|
+
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
19087
19090
|
__name: "SelectField",
|
|
19088
19091
|
props: {
|
|
19089
19092
|
inputType: {},
|
|
@@ -19215,7 +19218,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
19215
19218
|
for: "label",
|
|
19216
19219
|
class: normalizeClass({ active: showList.value })
|
|
19217
19220
|
}, [
|
|
19218
|
-
createVNode(unref(_sfc_main$
|
|
19221
|
+
createVNode(unref(_sfc_main$U), { input: _ctx.label }, null, 8, ["input"])
|
|
19219
19222
|
], 2)) : createCommentVNode("", true),
|
|
19220
19223
|
createElementVNode("div", {
|
|
19221
19224
|
class: normalizeClass(["custom-select", { "open-select": showList.value && _ctx.editMode }]),
|
|
@@ -19227,7 +19230,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
19227
19230
|
class: normalizeClass(["input", { active: showList.value }]),
|
|
19228
19231
|
name: "select-input"
|
|
19229
19232
|
}, [
|
|
19230
|
-
createVNode(unref(_sfc_main$
|
|
19233
|
+
createVNode(unref(_sfc_main$U), { input: displayValue.value }, null, 8, ["input"])
|
|
19231
19234
|
], 2),
|
|
19232
19235
|
(openBlock(), createBlock(Teleport, { to: "#app" }, [
|
|
19233
19236
|
createElementVNode("div", {
|
|
@@ -19240,23 +19243,23 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
19240
19243
|
key: option2.value,
|
|
19241
19244
|
onClick: ($event) => handleSelect(option2)
|
|
19242
19245
|
}, [
|
|
19243
|
-
createVNode(unref(_sfc_main$
|
|
19246
|
+
createVNode(unref(_sfc_main$U), {
|
|
19244
19247
|
input: option2.label
|
|
19245
19248
|
}, null, 8, ["input"])
|
|
19246
|
-
], 8, _hoisted_2$
|
|
19249
|
+
], 8, _hoisted_2$j);
|
|
19247
19250
|
}), 128))
|
|
19248
19251
|
], 2)
|
|
19249
19252
|
]))
|
|
19250
19253
|
], 2)
|
|
19251
|
-
], 10, _hoisted_1$
|
|
19254
|
+
], 10, _hoisted_1$m);
|
|
19252
19255
|
};
|
|
19253
19256
|
}
|
|
19254
19257
|
});
|
|
19255
|
-
const SelectField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19256
|
-
const _hoisted_1$
|
|
19257
|
-
const _hoisted_2$
|
|
19258
|
-
const _hoisted_3$
|
|
19259
|
-
const _sfc_main$
|
|
19258
|
+
const SelectField = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-028ea61b"]]);
|
|
19259
|
+
const _hoisted_1$l = ["title"];
|
|
19260
|
+
const _hoisted_2$i = { key: 0 };
|
|
19261
|
+
const _hoisted_3$g = ["value", "placeholder"];
|
|
19262
|
+
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
19260
19263
|
__name: "RichTextEditor",
|
|
19261
19264
|
props: {
|
|
19262
19265
|
description: { default: "" },
|
|
@@ -19279,7 +19282,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
19279
19282
|
class: normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
19280
19283
|
title: _ctx.description
|
|
19281
19284
|
}, [
|
|
19282
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
19285
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$i, [
|
|
19283
19286
|
createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
|
|
19284
19287
|
])) : createCommentVNode("", true),
|
|
19285
19288
|
createElementVNode("textarea", {
|
|
@@ -19287,12 +19290,12 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
19287
19290
|
onInput: handleInput,
|
|
19288
19291
|
placeholder: _ctx.placeholder,
|
|
19289
19292
|
class: normalizeClass({ "no-edit": !_ctx.editMode })
|
|
19290
|
-
}, null, 42, _hoisted_3$
|
|
19291
|
-
], 10, _hoisted_1$
|
|
19293
|
+
}, null, 42, _hoisted_3$g)
|
|
19294
|
+
], 10, _hoisted_1$l);
|
|
19292
19295
|
};
|
|
19293
19296
|
}
|
|
19294
19297
|
});
|
|
19295
|
-
const RichTextEditor = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19298
|
+
const RichTextEditor = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-69a60381"]]);
|
|
19296
19299
|
/*!
|
|
19297
19300
|
* vue-draggable-next v2.2.0
|
|
19298
19301
|
* (c) 2023 Anish George
|
|
@@ -21815,13 +21818,13 @@ const VueDraggableNext = defineComponent({
|
|
|
21815
21818
|
}
|
|
21816
21819
|
}
|
|
21817
21820
|
});
|
|
21818
|
-
const _hoisted_1$
|
|
21819
|
-
const _hoisted_2$
|
|
21820
|
-
const _hoisted_3$
|
|
21821
|
-
const _hoisted_4$
|
|
21822
|
-
const _hoisted_5$
|
|
21821
|
+
const _hoisted_1$k = ["title"];
|
|
21822
|
+
const _hoisted_2$h = { class: "bagel-input" };
|
|
21823
|
+
const _hoisted_3$f = { class: "table-side-scroll" };
|
|
21824
|
+
const _hoisted_4$8 = { class: "table-header" };
|
|
21825
|
+
const _hoisted_5$6 = { class: "table-reorder" };
|
|
21823
21826
|
const _hoisted_6$4 = { class: "table-action" };
|
|
21824
|
-
const _sfc_main$
|
|
21827
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
21825
21828
|
__name: "TableField",
|
|
21826
21829
|
props: {
|
|
21827
21830
|
description: { default: "" },
|
|
@@ -21886,11 +21889,11 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
21886
21889
|
class: "table-field-wrap",
|
|
21887
21890
|
title: _ctx.description
|
|
21888
21891
|
}, [
|
|
21889
|
-
createElementVNode("div", _hoisted_2$
|
|
21892
|
+
createElementVNode("div", _hoisted_2$h, [
|
|
21890
21893
|
createElementVNode("label", null, toDisplayString((_a = unref(fieldMeta)) == null ? void 0 : _a.label), 1)
|
|
21891
21894
|
]),
|
|
21892
|
-
createElementVNode("div", _hoisted_3$
|
|
21893
|
-
createElementVNode("div", _hoisted_4$
|
|
21895
|
+
createElementVNode("div", _hoisted_3$f, [
|
|
21896
|
+
createElementVNode("div", _hoisted_4$8, [
|
|
21894
21897
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList((_b = unref(entityMeta)) == null ? void 0 : _b.fields, (field) => {
|
|
21895
21898
|
return openBlock(), createElementBlock("div", {
|
|
21896
21899
|
class: normalizeClass(["header-col", unref(formatString)(field.fieldtype, "pascal")]),
|
|
@@ -21917,8 +21920,8 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
21917
21920
|
class: "flex table-row",
|
|
21918
21921
|
key: row.id
|
|
21919
21922
|
}, [
|
|
21920
|
-
createElementVNode("div", _hoisted_5$
|
|
21921
|
-
createVNode(_sfc_main$
|
|
21923
|
+
createElementVNode("div", _hoisted_5$6, [
|
|
21924
|
+
createVNode(_sfc_main$p, { icon: "more_vert" })
|
|
21922
21925
|
]),
|
|
21923
21926
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList((_a2 = unref(entityMeta)) == null ? void 0 : _a2.fields, (field) => {
|
|
21924
21927
|
return openBlock(), createElementBlock("div", {
|
|
@@ -21935,7 +21938,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
21935
21938
|
], 2);
|
|
21936
21939
|
}), 128)),
|
|
21937
21940
|
createElementVNode("div", _hoisted_6$4, [
|
|
21938
|
-
createVNode(_sfc_main$
|
|
21941
|
+
createVNode(_sfc_main$p, {
|
|
21939
21942
|
icon: "delete",
|
|
21940
21943
|
onClick: ($event) => removeRow(index2)
|
|
21941
21944
|
}, null, 8, ["onClick"])
|
|
@@ -21961,15 +21964,15 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
21961
21964
|
]),
|
|
21962
21965
|
_: 1
|
|
21963
21966
|
})
|
|
21964
|
-
], 8, _hoisted_1$
|
|
21967
|
+
], 8, _hoisted_1$k);
|
|
21965
21968
|
};
|
|
21966
21969
|
}
|
|
21967
21970
|
});
|
|
21968
|
-
const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
21969
|
-
const _hoisted_1$
|
|
21970
|
-
const _hoisted_2$
|
|
21971
|
-
const _hoisted_3$
|
|
21972
|
-
const _sfc_main$
|
|
21971
|
+
const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-b01223bc"]]);
|
|
21972
|
+
const _hoisted_1$j = ["title"];
|
|
21973
|
+
const _hoisted_2$g = { key: 0 };
|
|
21974
|
+
const _hoisted_3$e = ["value", "title", "placeholder"];
|
|
21975
|
+
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
21973
21976
|
__name: "DurationInput",
|
|
21974
21977
|
props: {
|
|
21975
21978
|
description: { default: "" },
|
|
@@ -21996,7 +21999,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
21996
21999
|
class: normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
21997
22000
|
title: _ctx.description
|
|
21998
22001
|
}, [
|
|
21999
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
22002
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$g, [
|
|
22000
22003
|
createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
|
|
22001
22004
|
])) : createCommentVNode("", true),
|
|
22002
22005
|
createElementVNode("input", {
|
|
@@ -22006,15 +22009,15 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
22006
22009
|
onInput: handleInput,
|
|
22007
22010
|
placeholder: _ctx.placeholder,
|
|
22008
22011
|
class: normalizeClass({ "no-edit": !_ctx.editMode })
|
|
22009
|
-
}, null, 42, _hoisted_3$
|
|
22010
|
-
], 10, _hoisted_1$
|
|
22012
|
+
}, null, 42, _hoisted_3$e)
|
|
22013
|
+
], 10, _hoisted_1$j);
|
|
22011
22014
|
};
|
|
22012
22015
|
}
|
|
22013
22016
|
});
|
|
22014
|
-
const _hoisted_1$
|
|
22015
|
-
const _hoisted_2$
|
|
22016
|
-
const _hoisted_3$
|
|
22017
|
-
const _sfc_main$
|
|
22017
|
+
const _hoisted_1$i = ["title"];
|
|
22018
|
+
const _hoisted_2$f = ["for"];
|
|
22019
|
+
const _hoisted_3$d = ["id", "type", "placeholder", "disabled", "required", "pattern"];
|
|
22020
|
+
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
22018
22021
|
__name: "TextInput",
|
|
22019
22022
|
props: {
|
|
22020
22023
|
id: {},
|
|
@@ -22089,10 +22092,10 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
22089
22092
|
}, _ctx.nativeInputAttrs, {
|
|
22090
22093
|
onDblclick: toggleEditAction,
|
|
22091
22094
|
onKeydown: withKeys(toggleEditAction, ["enter"])
|
|
22092
|
-
}), null, 16, _hoisted_3$
|
|
22095
|
+
}), null, 16, _hoisted_3$d), [
|
|
22093
22096
|
[vModelDynamic, unref(inputVal)]
|
|
22094
22097
|
])
|
|
22095
|
-
], 8, _hoisted_2$
|
|
22098
|
+
], 8, _hoisted_2$f),
|
|
22096
22099
|
_ctx.toggleEdit ? (openBlock(), createBlock(unref(Btn), {
|
|
22097
22100
|
key: 0,
|
|
22098
22101
|
class: "toggleEditBtn",
|
|
@@ -22101,19 +22104,19 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
22101
22104
|
icon: unref(editMode) ? "check" : "edit",
|
|
22102
22105
|
flat: ""
|
|
22103
22106
|
}, null, 8, ["icon"])) : createCommentVNode("", true)
|
|
22104
|
-
], 10, _hoisted_1$
|
|
22107
|
+
], 10, _hoisted_1$i);
|
|
22105
22108
|
};
|
|
22106
22109
|
}
|
|
22107
22110
|
});
|
|
22108
|
-
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22109
|
-
const _hoisted_1$
|
|
22110
|
-
const _hoisted_2$
|
|
22111
|
-
const _hoisted_3$
|
|
22111
|
+
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-7b082166"]]);
|
|
22112
|
+
const _hoisted_1$h = ["title"];
|
|
22113
|
+
const _hoisted_2$e = { key: 0 };
|
|
22114
|
+
const _hoisted_3$c = {
|
|
22112
22115
|
key: 1,
|
|
22113
22116
|
class: "character-limit"
|
|
22114
22117
|
};
|
|
22115
|
-
const _hoisted_4$
|
|
22116
|
-
const _sfc_main$
|
|
22118
|
+
const _hoisted_4$7 = ["value"];
|
|
22119
|
+
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
22117
22120
|
__name: "TextArea",
|
|
22118
22121
|
props: {
|
|
22119
22122
|
description: { default: "" },
|
|
@@ -22138,24 +22141,24 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
22138
22141
|
class: normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
22139
22142
|
title: _ctx.description
|
|
22140
22143
|
}, [
|
|
22141
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
22142
|
-
createVNode(unref(_sfc_main$
|
|
22144
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$e, [
|
|
22145
|
+
createVNode(unref(_sfc_main$U), { input: _ctx.label }, null, 8, ["input"])
|
|
22143
22146
|
])) : createCommentVNode("", true),
|
|
22144
|
-
_ctx.showCharacterLimit ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
22147
|
+
_ctx.showCharacterLimit ? (openBlock(), createElementBlock("span", _hoisted_3$c, toDisplayString((_a = _ctx.modelValue) == null ? void 0 : _a.length) + " " + toDisplayString(((_b = _ctx.nativeInputAttrs) == null ? void 0 : _b.maxlength) ? `/${_ctx.nativeInputAttrs.maxlength}` : ""), 1)) : createCommentVNode("", true),
|
|
22145
22148
|
createElementVNode("textarea", mergeProps({
|
|
22146
22149
|
value: _ctx.modelValue,
|
|
22147
22150
|
onInput: handleInput,
|
|
22148
22151
|
class: { "no-edit": !_ctx.editMode }
|
|
22149
|
-
}, _ctx.nativeInputAttrs), null, 16, _hoisted_4$
|
|
22150
|
-
], 10, _hoisted_1$
|
|
22152
|
+
}, _ctx.nativeInputAttrs), null, 16, _hoisted_4$7)
|
|
22153
|
+
], 10, _hoisted_1$h);
|
|
22151
22154
|
};
|
|
22152
22155
|
}
|
|
22153
22156
|
});
|
|
22154
|
-
const TextArea = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22155
|
-
const _hoisted_1$
|
|
22156
|
-
const _hoisted_2$
|
|
22157
|
-
const _hoisted_3$
|
|
22158
|
-
const _sfc_main$
|
|
22157
|
+
const TextArea = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-a5b28c58"]]);
|
|
22158
|
+
const _hoisted_1$g = ["title"];
|
|
22159
|
+
const _hoisted_2$d = ["for"];
|
|
22160
|
+
const _hoisted_3$b = ["id", "placeholder", "required"];
|
|
22161
|
+
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
22159
22162
|
__name: "ColorPicker",
|
|
22160
22163
|
props: {
|
|
22161
22164
|
field: {},
|
|
@@ -22192,19 +22195,19 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
22192
22195
|
placeholder: ((_a = _ctx.field) == null ? void 0 : _a.placeholder) || _ctx.field.label,
|
|
22193
22196
|
class: { "no-edit": !_ctx.editMode },
|
|
22194
22197
|
required: _ctx.required
|
|
22195
|
-
}, _ctx.nativeInputAttrs), null, 16, _hoisted_3$
|
|
22198
|
+
}, _ctx.nativeInputAttrs), null, 16, _hoisted_3$b), [
|
|
22196
22199
|
[vModelText, inputVal.value]
|
|
22197
22200
|
])
|
|
22198
|
-
], 8, _hoisted_2$
|
|
22199
|
-
], 10, _hoisted_1$
|
|
22201
|
+
], 8, _hoisted_2$d)
|
|
22202
|
+
], 10, _hoisted_1$g)) : createCommentVNode("", true);
|
|
22200
22203
|
};
|
|
22201
22204
|
}
|
|
22202
22205
|
});
|
|
22203
|
-
const _hoisted_1$
|
|
22204
|
-
const _hoisted_2$
|
|
22205
|
-
const _hoisted_3$
|
|
22206
|
-
const _hoisted_4$
|
|
22207
|
-
const _sfc_main$
|
|
22206
|
+
const _hoisted_1$f = { key: 0 };
|
|
22207
|
+
const _hoisted_2$c = ["disabled"];
|
|
22208
|
+
const _hoisted_3$a = { class: "custom-select-drop" };
|
|
22209
|
+
const _hoisted_4$6 = ["onClick"];
|
|
22210
|
+
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
22208
22211
|
__name: "DynamicLinkField",
|
|
22209
22212
|
props: {
|
|
22210
22213
|
label: { default: "" },
|
|
@@ -22280,7 +22283,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
22280
22283
|
return openBlock(), createElementBlock("div", {
|
|
22281
22284
|
class: normalizeClass(["bagel-input", { small: _ctx.small }])
|
|
22282
22285
|
}, [
|
|
22283
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
22286
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_1$f, [
|
|
22284
22287
|
createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
|
|
22285
22288
|
])) : createCommentVNode("", true),
|
|
22286
22289
|
withDirectives(createElementVNode("input", {
|
|
@@ -22292,19 +22295,19 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
22292
22295
|
onFocus: initList,
|
|
22293
22296
|
onInput: handleInput,
|
|
22294
22297
|
disabled: !_ctx.editMode
|
|
22295
|
-
}, null, 40, _hoisted_2$
|
|
22298
|
+
}, null, 40, _hoisted_2$c), [
|
|
22296
22299
|
[vModelText, selectedItem.value]
|
|
22297
22300
|
]),
|
|
22298
22301
|
createElementVNode("div", {
|
|
22299
22302
|
class: normalizeClass(["custom-select", { "open-select": showList.value && linkOptions.value.length > 0 }]),
|
|
22300
22303
|
name: "link-input"
|
|
22301
22304
|
}, [
|
|
22302
|
-
createElementVNode("div", _hoisted_3$
|
|
22305
|
+
createElementVNode("div", _hoisted_3$a, [
|
|
22303
22306
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(linkOptions.value, (item2) => {
|
|
22304
22307
|
return openBlock(), createElementBlock("div", {
|
|
22305
22308
|
key: unref(formatString)(item2.value, "pascal"),
|
|
22306
22309
|
onClick: withModifiers(($event) => handleSelect(item2), ["stop"])
|
|
22307
|
-
}, toDisplayString(_ctx.useId || _ctx.entity === "Entity" ? item2.value : item2.label || item2.description || item2.value), 9, _hoisted_4$
|
|
22310
|
+
}, toDisplayString(_ctx.useId || _ctx.entity === "Entity" ? item2.value : item2.label || item2.description || item2.value), 9, _hoisted_4$6);
|
|
22308
22311
|
}), 128))
|
|
22309
22312
|
])
|
|
22310
22313
|
], 2)
|
|
@@ -22312,10 +22315,10 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
22312
22315
|
};
|
|
22313
22316
|
}
|
|
22314
22317
|
});
|
|
22315
|
-
const _hoisted_1$
|
|
22316
|
-
const _hoisted_2$
|
|
22317
|
-
const _hoisted_3$
|
|
22318
|
-
const _sfc_main$
|
|
22318
|
+
const _hoisted_1$e = ["title"];
|
|
22319
|
+
const _hoisted_2$b = ["for"];
|
|
22320
|
+
const _hoisted_3$9 = ["id", "placeholder", "required", "pattern"];
|
|
22321
|
+
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
22319
22322
|
__name: "PlainText",
|
|
22320
22323
|
props: {
|
|
22321
22324
|
field: {},
|
|
@@ -22361,15 +22364,78 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
22361
22364
|
class: { "no-edit": !_ctx.editMode },
|
|
22362
22365
|
required: _ctx.required,
|
|
22363
22366
|
pattern: _ctx.pattern
|
|
22364
|
-
}, _ctx.nativeInputAttrs), null, 16, _hoisted_3$
|
|
22367
|
+
}, _ctx.nativeInputAttrs), null, 16, _hoisted_3$9), [
|
|
22365
22368
|
[vModelText, unref(inputVal)]
|
|
22366
22369
|
])
|
|
22367
|
-
], 8, _hoisted_2$
|
|
22368
|
-
], 10, _hoisted_1$
|
|
22370
|
+
], 8, _hoisted_2$b)
|
|
22371
|
+
], 10, _hoisted_1$e)) : createCommentVNode("", true);
|
|
22372
|
+
};
|
|
22373
|
+
}
|
|
22374
|
+
});
|
|
22375
|
+
const PlainText = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-188270a2"]]);
|
|
22376
|
+
const VDatepicker = {};
|
|
22377
|
+
const _hoisted_1$d = { class: "datetime-wrap" };
|
|
22378
|
+
const _hoisted_2$a = { class: "date-wrap" };
|
|
22379
|
+
const _hoisted_3$8 = {
|
|
22380
|
+
key: 0,
|
|
22381
|
+
class: "time-wrap"
|
|
22382
|
+
};
|
|
22383
|
+
const _hoisted_4$5 = ["id", "name", "value"];
|
|
22384
|
+
const _hoisted_5$5 = ["for"];
|
|
22385
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
22386
|
+
__name: "DatePicker",
|
|
22387
|
+
props: {
|
|
22388
|
+
name: {},
|
|
22389
|
+
options: {},
|
|
22390
|
+
showTimeWrap: { type: Boolean }
|
|
22391
|
+
},
|
|
22392
|
+
setup(__props) {
|
|
22393
|
+
const selectedDate = ref(null);
|
|
22394
|
+
const selectedHour = ref();
|
|
22395
|
+
const hours = Array.from({ length: 18 }, (_, index2) => {
|
|
22396
|
+
const hour = Math.floor(index2 / 2) + 9;
|
|
22397
|
+
const minute = index2 % 2 === 0 ? "00" : "30";
|
|
22398
|
+
return `${hour}:${minute}`;
|
|
22399
|
+
});
|
|
22400
|
+
return (_ctx, _cache) => {
|
|
22401
|
+
return openBlock(), createElementBlock("div", _hoisted_1$d, [
|
|
22402
|
+
createElementVNode("div", _hoisted_2$a, [
|
|
22403
|
+
createVNode(unref(VDatepicker), mergeProps({
|
|
22404
|
+
inline: "",
|
|
22405
|
+
"week-start": "0",
|
|
22406
|
+
modelValue: selectedDate.value,
|
|
22407
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => selectedDate.value = $event),
|
|
22408
|
+
"highlight-week-days": [6],
|
|
22409
|
+
"enable-time-picker": false,
|
|
22410
|
+
"month-change-on-scroll": false
|
|
22411
|
+
}, _ctx.options), {
|
|
22412
|
+
"action-buttons": withCtx(() => []),
|
|
22413
|
+
"action-preview": withCtx(() => []),
|
|
22414
|
+
_: 1
|
|
22415
|
+
}, 16, ["modelValue"])
|
|
22416
|
+
]),
|
|
22417
|
+
_ctx.showTimeWrap ? (openBlock(), createElementBlock("div", _hoisted_3$8, [
|
|
22418
|
+
(openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(hours), (hr) => {
|
|
22419
|
+
return openBlock(), createElementBlock(Fragment$1, { key: hr }, [
|
|
22420
|
+
withDirectives(createElementVNode("input", {
|
|
22421
|
+
type: "radio",
|
|
22422
|
+
id: `${hr}_${_ctx.name}`,
|
|
22423
|
+
name: _ctx.name,
|
|
22424
|
+
value: hr,
|
|
22425
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => selectedHour.value = $event)
|
|
22426
|
+
}, null, 8, _hoisted_4$5), [
|
|
22427
|
+
[vModelRadio, selectedHour.value]
|
|
22428
|
+
]),
|
|
22429
|
+
createElementVNode("label", {
|
|
22430
|
+
for: `${hr}_${_ctx.name}`
|
|
22431
|
+
}, toDisplayString(hr), 9, _hoisted_5$5)
|
|
22432
|
+
], 64);
|
|
22433
|
+
}), 128))
|
|
22434
|
+
])) : createCommentVNode("", true)
|
|
22435
|
+
]);
|
|
22369
22436
|
};
|
|
22370
22437
|
}
|
|
22371
22438
|
});
|
|
22372
|
-
const PlainText = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-188270a2"]]);
|
|
22373
22439
|
function _isPlaceholder(a) {
|
|
22374
22440
|
return a != null && typeof a === "object" && a["@@functional/placeholder"] === true;
|
|
22375
22441
|
}
|
|
@@ -28827,7 +28893,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
28827
28893
|
return (_ctx, _cache) => {
|
|
28828
28894
|
var _a, _b, _c, _d, _e, _f;
|
|
28829
28895
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
28830
|
-
createVNode(unref(_sfc_main$
|
|
28896
|
+
createVNode(unref(_sfc_main$J), null, {
|
|
28831
28897
|
default: withCtx(() => [
|
|
28832
28898
|
createTextVNode("Whatsapp Template")
|
|
28833
28899
|
]),
|
|
@@ -28836,7 +28902,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
28836
28902
|
createElementVNode("div", _hoisted_2, [
|
|
28837
28903
|
createElementVNode("div", _hoisted_3, [
|
|
28838
28904
|
createElementVNode("div", _hoisted_4, [
|
|
28839
|
-
createVNode(unref(_sfc_main$
|
|
28905
|
+
createVNode(unref(_sfc_main$H), {
|
|
28840
28906
|
schema: _ctx.whatsappTemplateSchema(),
|
|
28841
28907
|
modelValue: unref(localWhatsappData),
|
|
28842
28908
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(localWhatsappData) ? localWhatsappData.value = $event : localWhatsappData = $event),
|
|
@@ -28868,45 +28934,46 @@ export {
|
|
|
28868
28934
|
Btn,
|
|
28869
28935
|
CheckInput,
|
|
28870
28936
|
Checkbox,
|
|
28871
|
-
_sfc_main$
|
|
28937
|
+
_sfc_main$5 as ColorPicker,
|
|
28872
28938
|
Comments,
|
|
28873
28939
|
ContactArrayInput,
|
|
28874
|
-
_sfc_main$
|
|
28940
|
+
_sfc_main$D as ContactSubmissions,
|
|
28875
28941
|
CurrencyInput,
|
|
28876
28942
|
DataPreview,
|
|
28877
28943
|
DateInput,
|
|
28878
|
-
_sfc_main$
|
|
28879
|
-
_sfc_main$
|
|
28880
|
-
_sfc_main$
|
|
28881
|
-
_sfc_main$
|
|
28944
|
+
_sfc_main$2 as DatePicker,
|
|
28945
|
+
_sfc_main$k as DatetimeInput,
|
|
28946
|
+
_sfc_main$O as DropDown,
|
|
28947
|
+
_sfc_main$8 as DurationInput,
|
|
28948
|
+
_sfc_main$4 as DynamicLinkField,
|
|
28882
28949
|
EmailInput,
|
|
28883
28950
|
FileUploadInput,
|
|
28884
|
-
_sfc_main$
|
|
28885
|
-
_sfc_main$
|
|
28886
|
-
_sfc_main$
|
|
28887
|
-
_sfc_main$
|
|
28888
|
-
_sfc_main$
|
|
28951
|
+
_sfc_main$t as FileUploader,
|
|
28952
|
+
_sfc_main$i as FloatInput,
|
|
28953
|
+
_sfc_main$H as FormSchema,
|
|
28954
|
+
_sfc_main$h as IntInput,
|
|
28955
|
+
_sfc_main$q as ItemRef,
|
|
28889
28956
|
JSONInput,
|
|
28890
|
-
_sfc_main$
|
|
28957
|
+
_sfc_main$U as LangText,
|
|
28891
28958
|
_sfc_main$1 as Lineart,
|
|
28892
28959
|
LinkField,
|
|
28893
|
-
_sfc_main$
|
|
28894
|
-
_sfc_main$
|
|
28895
|
-
_sfc_main$
|
|
28960
|
+
_sfc_main$M as ListItem,
|
|
28961
|
+
_sfc_main$N as ListView,
|
|
28962
|
+
_sfc_main$S as MaterialIcon,
|
|
28896
28963
|
MiscFieldsInput,
|
|
28897
|
-
_sfc_main$
|
|
28964
|
+
_sfc_main$P as Modal,
|
|
28898
28965
|
ModalForm,
|
|
28899
28966
|
ModalPlugin,
|
|
28900
28967
|
MsgTemplate,
|
|
28901
|
-
_sfc_main$
|
|
28902
|
-
_sfc_main$
|
|
28968
|
+
_sfc_main$R as NavBar,
|
|
28969
|
+
_sfc_main$J as PageTitle,
|
|
28903
28970
|
Password,
|
|
28904
28971
|
PasswordInput,
|
|
28905
|
-
_sfc_main$
|
|
28972
|
+
_sfc_main$C as PersonPreview,
|
|
28906
28973
|
PersonPreviewInput,
|
|
28907
|
-
_sfc_main$
|
|
28974
|
+
_sfc_main$o as PlainInputField,
|
|
28908
28975
|
PlainText,
|
|
28909
|
-
_sfc_main$
|
|
28976
|
+
_sfc_main$T as RTXEditor,
|
|
28910
28977
|
ReadOnlyInput,
|
|
28911
28978
|
RichTextEditor,
|
|
28912
28979
|
RouterWrapper,
|
|
@@ -28916,7 +28983,7 @@ export {
|
|
|
28916
28983
|
TableSchema,
|
|
28917
28984
|
TextArea,
|
|
28918
28985
|
TextInput,
|
|
28919
|
-
_sfc_main$
|
|
28986
|
+
_sfc_main$r as TextVariableExamples,
|
|
28920
28987
|
TextVariablesInput,
|
|
28921
28988
|
ToggleSwitchInput,
|
|
28922
28989
|
TopBar,
|