@bagelink/vue 0.0.145 → 0.0.147
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/form/inputs/ColorPicker.vue.d.ts +45 -0
- package/dist/components/form/inputs/ColorPicker.vue.d.ts.map +1 -0
- package/dist/components/form/inputs/DynamicLinkField.vue.d.ts +56 -0
- package/dist/components/form/inputs/DynamicLinkField.vue.d.ts.map +1 -0
- package/dist/components/form/inputs/PlainText.vue.d.ts +47 -0
- package/dist/components/form/inputs/PlainText.vue.d.ts.map +1 -0
- package/dist/components/form/inputs/TextArea.vue.d.ts +57 -0
- package/dist/components/form/inputs/TextArea.vue.d.ts.map +1 -0
- package/dist/components/form/inputs/index.d.ts +5 -0
- package/dist/components/form/inputs/index.d.ts.map +1 -1
- package/dist/index.cjs +674 -405
- package/dist/index.mjs +674 -405
- package/dist/style.css +25 -0
- package/package.json +1 -1
- package/src/components/form/inputs/DynamicLinkField.vue +0 -2
- package/src/components/form/inputs/index.ts +5 -0
package/dist/index.cjs
CHANGED
|
@@ -2293,7 +2293,7 @@ const ModalPlugin = {
|
|
|
2293
2293
|
},
|
|
2294
2294
|
render() {
|
|
2295
2295
|
return modalStack.value.map((modal, index2) => {
|
|
2296
|
-
const renderComponent = modal.isModalForm ? ModalForm : _sfc_main$
|
|
2296
|
+
const renderComponent = modal.isModalForm ? ModalForm : _sfc_main$O;
|
|
2297
2297
|
return vue.h(
|
|
2298
2298
|
renderComponent,
|
|
2299
2299
|
{
|
|
@@ -2369,8 +2369,8 @@ function useEscape(event, closeModel) {
|
|
|
2369
2369
|
closeModel();
|
|
2370
2370
|
}
|
|
2371
2371
|
}
|
|
2372
|
-
const _hoisted_1$
|
|
2373
|
-
const _sfc_main$
|
|
2372
|
+
const _hoisted_1$Z = { ref: "el" };
|
|
2373
|
+
const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
|
|
2374
2374
|
__name: "LangText",
|
|
2375
2375
|
props: {
|
|
2376
2376
|
input: {}
|
|
@@ -2378,7 +2378,7 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
|
2378
2378
|
setup(__props) {
|
|
2379
2379
|
return (_ctx, _cache) => {
|
|
2380
2380
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
2381
|
-
vue.createElementVNode("span", _hoisted_1$
|
|
2381
|
+
vue.createElementVNode("span", _hoisted_1$Z, null, 512),
|
|
2382
2382
|
vue.createTextVNode(" " + vue.toDisplayString(_ctx.input) + " ", 1)
|
|
2383
2383
|
], 64);
|
|
2384
2384
|
};
|
|
@@ -14494,8 +14494,8 @@ const marks = {
|
|
|
14494
14494
|
}
|
|
14495
14495
|
};
|
|
14496
14496
|
const schema = new Schema({ nodes, marks });
|
|
14497
|
-
const _hoisted_1$
|
|
14498
|
-
const _sfc_main$
|
|
14497
|
+
const _hoisted_1$Y = ["id"];
|
|
14498
|
+
const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
|
|
14499
14499
|
__name: "RTXEditor",
|
|
14500
14500
|
props: {
|
|
14501
14501
|
elementId: { default: Math.random().toString(36).substr(2, 9) },
|
|
@@ -14572,11 +14572,11 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
|
|
|
14572
14572
|
onClick: focusEditor,
|
|
14573
14573
|
id: `canvas-${_ctx.elementId}`,
|
|
14574
14574
|
onKeydown: _cache[0] || (_cache[0] = vue.withKeys(vue.withModifiers(($event) => _ctx.$emit("keydown.meta.enter"), ["meta"]), ["enter"]))
|
|
14575
|
-
}, null, 40, _hoisted_1$
|
|
14575
|
+
}, null, 40, _hoisted_1$Y);
|
|
14576
14576
|
};
|
|
14577
14577
|
}
|
|
14578
14578
|
});
|
|
14579
|
-
const _sfc_main$
|
|
14579
|
+
const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
14580
14580
|
__name: "MaterialIcon",
|
|
14581
14581
|
props: {
|
|
14582
14582
|
icon: {},
|
|
@@ -14591,17 +14591,17 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
|
14591
14591
|
};
|
|
14592
14592
|
}
|
|
14593
14593
|
});
|
|
14594
|
-
const _hoisted_1$
|
|
14595
|
-
const _hoisted_2$
|
|
14596
|
-
_hoisted_1$
|
|
14594
|
+
const _hoisted_1$X = /* @__PURE__ */ vue.createElementVNode("div", { class: "icon-font top-arrow" }, " chevron_right ", -1);
|
|
14595
|
+
const _hoisted_2$P = [
|
|
14596
|
+
_hoisted_1$X
|
|
14597
14597
|
];
|
|
14598
|
-
const _hoisted_3$
|
|
14599
|
-
const _hoisted_4$
|
|
14598
|
+
const _hoisted_3$J = { class: "full-nav" };
|
|
14599
|
+
const _hoisted_4$r = { class: "nav-scroll" };
|
|
14600
14600
|
const _hoisted_5$l = { class: "nav-links-wrapper" };
|
|
14601
14601
|
const _hoisted_6$h = { class: "icon-font" };
|
|
14602
14602
|
const _hoisted_7$c = { class: "tooltip" };
|
|
14603
14603
|
const _hoisted_8$7 = { class: "bot-buttons-wrapper" };
|
|
14604
|
-
const _sfc_main$
|
|
14604
|
+
const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
|
|
14605
14605
|
__name: "NavBar",
|
|
14606
14606
|
props: {
|
|
14607
14607
|
links: {},
|
|
@@ -14625,9 +14625,9 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
|
14625
14625
|
role: "button",
|
|
14626
14626
|
"aria-label": "Toggle Navigation",
|
|
14627
14627
|
tabindex: "0"
|
|
14628
|
-
}, _hoisted_2$
|
|
14629
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
14630
|
-
vue.createElementVNode("div", _hoisted_4$
|
|
14628
|
+
}, _hoisted_2$P, 32),
|
|
14629
|
+
vue.createElementVNode("div", _hoisted_3$J, [
|
|
14630
|
+
vue.createElementVNode("div", _hoisted_4$r, [
|
|
14631
14631
|
vue.createElementVNode("div", _hoisted_5$l, [
|
|
14632
14632
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList((_a = _ctx.links) == null ? void 0 : _a.call(_ctx), (link) => {
|
|
14633
14633
|
return vue.openBlock(), vue.createBlock(_component_RouterLink, {
|
|
@@ -14652,15 +14652,15 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
|
14652
14652
|
};
|
|
14653
14653
|
}
|
|
14654
14654
|
});
|
|
14655
|
-
const _hoisted_1$
|
|
14655
|
+
const _hoisted_1$W = {
|
|
14656
14656
|
key: 0,
|
|
14657
14657
|
class: "loading"
|
|
14658
14658
|
};
|
|
14659
|
-
const _hoisted_2$
|
|
14659
|
+
const _hoisted_2$O = {
|
|
14660
14660
|
key: 1,
|
|
14661
14661
|
class: "btn-flex"
|
|
14662
14662
|
};
|
|
14663
|
-
const _sfc_main$
|
|
14663
|
+
const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
14664
14664
|
__name: "Btn",
|
|
14665
14665
|
props: {
|
|
14666
14666
|
disabled: { type: Boolean, default: false },
|
|
@@ -14696,8 +14696,8 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
|
14696
14696
|
})
|
|
14697
14697
|
}, {
|
|
14698
14698
|
default: vue.withCtx(() => [
|
|
14699
|
-
_ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
14700
|
-
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
14699
|
+
_ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$W)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$O, [
|
|
14700
|
+
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$R), {
|
|
14701
14701
|
key: 0,
|
|
14702
14702
|
icon: _ctx.icon
|
|
14703
14703
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
@@ -14705,7 +14705,7 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
|
14705
14705
|
!vue.unref(slots)["default"] && _ctx.value ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
14706
14706
|
vue.createTextVNode(vue.toDisplayString(_ctx.value), 1)
|
|
14707
14707
|
], 64)) : vue.createCommentVNode("", true),
|
|
14708
|
-
props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
14708
|
+
props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$R), {
|
|
14709
14709
|
key: 2,
|
|
14710
14710
|
icon: props2["icon.end"]
|
|
14711
14711
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true)
|
|
@@ -14723,12 +14723,12 @@ const _export_sfc = (sfc, props2) => {
|
|
|
14723
14723
|
}
|
|
14724
14724
|
return target;
|
|
14725
14725
|
};
|
|
14726
|
-
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14727
|
-
const _hoisted_1$
|
|
14728
|
-
const _hoisted_2$
|
|
14729
|
-
const _hoisted_3$
|
|
14730
|
-
const _hoisted_4$
|
|
14731
|
-
const _sfc_main$
|
|
14726
|
+
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-b94d75fb"]]);
|
|
14727
|
+
const _hoisted_1$V = ["onKeydown"];
|
|
14728
|
+
const _hoisted_2$N = { class: "tool-bar" };
|
|
14729
|
+
const _hoisted_3$I = { class: "modal-title" };
|
|
14730
|
+
const _hoisted_4$q = { class: "modal-footer mt-3" };
|
|
14731
|
+
const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
|
|
14732
14732
|
__name: "Modal",
|
|
14733
14733
|
props: {
|
|
14734
14734
|
side: { type: Boolean },
|
|
@@ -14773,12 +14773,12 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
|
14773
14773
|
onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
|
|
14774
14774
|
}, ["stop"]))
|
|
14775
14775
|
}, [
|
|
14776
|
-
vue.createElementVNode("header", _hoisted_2$
|
|
14776
|
+
vue.createElementVNode("header", _hoisted_2$N, [
|
|
14777
14777
|
vue.renderSlot(_ctx.$slots, "toolbar")
|
|
14778
14778
|
]),
|
|
14779
|
-
vue.createElementVNode("h3", _hoisted_3$
|
|
14779
|
+
vue.createElementVNode("h3", _hoisted_3$I, vue.toDisplayString(_ctx.title), 1),
|
|
14780
14780
|
vue.renderSlot(_ctx.$slots, "default"),
|
|
14781
|
-
vue.createElementVNode("footer", _hoisted_4$
|
|
14781
|
+
vue.createElementVNode("footer", _hoisted_4$q, [
|
|
14782
14782
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.actions, (action, i2) => {
|
|
14783
14783
|
return vue.openBlock(), vue.createBlock(vue.unref(Btn), vue.mergeProps({
|
|
14784
14784
|
key: i2,
|
|
@@ -14789,14 +14789,14 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
|
14789
14789
|
vue.renderSlot(_ctx.$slots, "footer")
|
|
14790
14790
|
])
|
|
14791
14791
|
])
|
|
14792
|
-
], 42, _hoisted_1$
|
|
14792
|
+
], 42, _hoisted_1$V);
|
|
14793
14793
|
};
|
|
14794
14794
|
}
|
|
14795
14795
|
});
|
|
14796
|
-
const _hoisted_1$
|
|
14797
|
-
const _hoisted_2$
|
|
14798
|
-
const _hoisted_3$
|
|
14799
|
-
const _sfc_main$
|
|
14796
|
+
const _hoisted_1$U = { class: "dropdown-title" };
|
|
14797
|
+
const _hoisted_2$M = { class: "dropdown-body" };
|
|
14798
|
+
const _hoisted_3$H = ["onClick"];
|
|
14799
|
+
const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
14800
14800
|
__name: "DropDown",
|
|
14801
14801
|
props: {
|
|
14802
14802
|
modelValue: String,
|
|
@@ -14822,31 +14822,31 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
|
14822
14822
|
class: vue.normalizeClass(["dropdown", { opendrop: isOpen.value }]),
|
|
14823
14823
|
onClick: toggleDropdown
|
|
14824
14824
|
}, [
|
|
14825
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
14825
|
+
vue.createElementVNode("div", _hoisted_1$U, [
|
|
14826
14826
|
vue.createTextVNode(vue.toDisplayString(selectedOption.value || __props.placeholder) + " ", 1),
|
|
14827
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
14827
|
+
vue.createVNode(vue.unref(_sfc_main$R), { icon: "keyboard_arrow_down" })
|
|
14828
14828
|
]),
|
|
14829
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
14829
|
+
vue.createElementVNode("div", _hoisted_2$M, [
|
|
14830
14830
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.options, (option2, index2) => {
|
|
14831
14831
|
return vue.openBlock(), vue.createElementBlock("p", {
|
|
14832
14832
|
key: index2,
|
|
14833
14833
|
onClick: vue.withModifiers(($event) => selectOption(option2, index2), ["stop"])
|
|
14834
|
-
}, vue.toDisplayString(option2), 9, _hoisted_3$
|
|
14834
|
+
}, vue.toDisplayString(option2), 9, _hoisted_3$H);
|
|
14835
14835
|
}), 128))
|
|
14836
14836
|
])
|
|
14837
14837
|
], 2);
|
|
14838
14838
|
};
|
|
14839
14839
|
}
|
|
14840
14840
|
});
|
|
14841
|
-
const _hoisted_1$
|
|
14842
|
-
const _hoisted_2$
|
|
14843
|
-
const _hoisted_3$
|
|
14841
|
+
const _hoisted_1$T = { class: "card list-view grid thin" };
|
|
14842
|
+
const _hoisted_2$L = { class: "list-header flex gap-3 align-items-top" };
|
|
14843
|
+
const _hoisted_3$G = {
|
|
14844
14844
|
key: 0,
|
|
14845
14845
|
class: "bagel-input search-wrap"
|
|
14846
14846
|
};
|
|
14847
|
-
const _hoisted_4$
|
|
14847
|
+
const _hoisted_4$p = ["placeholder"];
|
|
14848
14848
|
const _hoisted_5$k = { class: "list-content grid auto-flow-rows align-items-start" };
|
|
14849
|
-
const _sfc_main$
|
|
14849
|
+
const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
14850
14850
|
__name: "ListView",
|
|
14851
14851
|
props: {
|
|
14852
14852
|
enableAdd: { type: Boolean },
|
|
@@ -14862,17 +14862,17 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
|
14862
14862
|
debounce(() => emit2("debounce", searchTerm.value));
|
|
14863
14863
|
};
|
|
14864
14864
|
return (_ctx, _cache) => {
|
|
14865
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
14866
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
14867
|
-
_ctx.enableSearch ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$
|
|
14865
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$T, [
|
|
14866
|
+
vue.createElementVNode("div", _hoisted_2$L, [
|
|
14867
|
+
_ctx.enableSearch ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$G, [
|
|
14868
14868
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
14869
14869
|
placeholder: _ctx.searchPlaceholder,
|
|
14870
14870
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => searchTerm.value = $event),
|
|
14871
14871
|
onInput: _cache[1] || (_cache[1] = ($event) => search())
|
|
14872
|
-
}, null, 40, _hoisted_4$
|
|
14872
|
+
}, null, 40, _hoisted_4$p), [
|
|
14873
14873
|
[vue.vModelText, searchTerm.value]
|
|
14874
14874
|
]),
|
|
14875
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
14875
|
+
vue.createVNode(vue.unref(_sfc_main$R), {
|
|
14876
14876
|
class: "txtgray",
|
|
14877
14877
|
icon: "search"
|
|
14878
14878
|
})
|
|
@@ -14891,9 +14891,9 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
|
14891
14891
|
};
|
|
14892
14892
|
}
|
|
14893
14893
|
});
|
|
14894
|
-
const _hoisted_1$
|
|
14895
|
-
const _hoisted_2$
|
|
14896
|
-
const _sfc_main$
|
|
14894
|
+
const _hoisted_1$S = { class: "txt16 no-margin" };
|
|
14895
|
+
const _hoisted_2$K = { class: "txt14 no-margin txtgray" };
|
|
14896
|
+
const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
14897
14897
|
__name: "ListItem",
|
|
14898
14898
|
props: {
|
|
14899
14899
|
to: {}
|
|
@@ -14905,10 +14905,10 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
14905
14905
|
class: "list-item ellipsis"
|
|
14906
14906
|
}, {
|
|
14907
14907
|
default: vue.withCtx(() => [
|
|
14908
|
-
vue.createElementVNode("p", _hoisted_1$
|
|
14908
|
+
vue.createElementVNode("p", _hoisted_1$S, [
|
|
14909
14909
|
vue.renderSlot(_ctx.$slots, "default")
|
|
14910
14910
|
]),
|
|
14911
|
-
vue.createElementVNode("p", _hoisted_2$
|
|
14911
|
+
vue.createElementVNode("p", _hoisted_2$K, [
|
|
14912
14912
|
vue.renderSlot(_ctx.$slots, "subtitle")
|
|
14913
14913
|
])
|
|
14914
14914
|
]),
|
|
@@ -14917,11 +14917,11 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
14917
14917
|
};
|
|
14918
14918
|
}
|
|
14919
14919
|
});
|
|
14920
|
-
const _hoisted_1$
|
|
14921
|
-
const _hoisted_2$
|
|
14922
|
-
const _hoisted_3$
|
|
14923
|
-
const _hoisted_4$
|
|
14924
|
-
const _sfc_main$
|
|
14920
|
+
const _hoisted_1$R = { class: "h-100 grid list-view gap-3" };
|
|
14921
|
+
const _hoisted_2$J = { class: "card tabs-top" };
|
|
14922
|
+
const _hoisted_3$F = { class: "tabs grid auto-flow-columns fit-content" };
|
|
14923
|
+
const _hoisted_4$o = ["onClick"];
|
|
14924
|
+
const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
14925
14925
|
__name: "TabbedLayout",
|
|
14926
14926
|
props: {
|
|
14927
14927
|
title: {},
|
|
@@ -14949,10 +14949,10 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
|
14949
14949
|
activeTab.value = firstTab;
|
|
14950
14950
|
});
|
|
14951
14951
|
return (_ctx, _cache) => {
|
|
14952
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
14953
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
14952
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$R, [
|
|
14953
|
+
vue.createElementVNode("div", _hoisted_2$J, [
|
|
14954
14954
|
vue.renderSlot(_ctx.$slots, "top-section", {}, void 0, true),
|
|
14955
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
14955
|
+
vue.createElementVNode("div", _hoisted_3$F, [
|
|
14956
14956
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.tabs, (tab) => {
|
|
14957
14957
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
14958
14958
|
class: vue.normalizeClass([{
|
|
@@ -14960,7 +14960,7 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
|
14960
14960
|
}, "tab"]),
|
|
14961
14961
|
key: tab,
|
|
14962
14962
|
onClick: ($event) => changeTab(tab)
|
|
14963
|
-
}, vue.toDisplayString(tab), 11, _hoisted_4$
|
|
14963
|
+
}, vue.toDisplayString(tab), 11, _hoisted_4$o);
|
|
14964
14964
|
}), 128))
|
|
14965
14965
|
])
|
|
14966
14966
|
]),
|
|
@@ -14976,16 +14976,16 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
|
14976
14976
|
};
|
|
14977
14977
|
}
|
|
14978
14978
|
});
|
|
14979
|
-
const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14980
|
-
const _hoisted_1$
|
|
14981
|
-
const _hoisted_2$
|
|
14982
|
-
const _hoisted_3$
|
|
14983
|
-
const _hoisted_4$
|
|
14979
|
+
const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-4ac29f1d"]]);
|
|
14980
|
+
const _hoisted_1$Q = { class: "comments-wrap" };
|
|
14981
|
+
const _hoisted_2$I = { class: "comment-list" };
|
|
14982
|
+
const _hoisted_3$E = { class: "comment-top" };
|
|
14983
|
+
const _hoisted_4$n = { class: "comment-owner" };
|
|
14984
14984
|
const _hoisted_5$j = { class: "comment-time" };
|
|
14985
14985
|
const _hoisted_6$g = { class: "comment-actions" };
|
|
14986
14986
|
const _hoisted_7$b = ["innerHTML"];
|
|
14987
14987
|
const _hoisted_8$6 = { class: "new-comment" };
|
|
14988
|
-
const _sfc_main$
|
|
14988
|
+
const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
14989
14989
|
__name: "Comments",
|
|
14990
14990
|
props: {
|
|
14991
14991
|
ref_table: {},
|
|
@@ -15030,8 +15030,8 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
|
15030
15030
|
void fetchData();
|
|
15031
15031
|
};
|
|
15032
15032
|
return (_ctx, _cache) => {
|
|
15033
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
15034
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
15033
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$Q, [
|
|
15034
|
+
vue.createElementVNode("div", _hoisted_2$I, [
|
|
15035
15035
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(comments), (comment) => {
|
|
15036
15036
|
var _a, _b, _c;
|
|
15037
15037
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -15041,23 +15041,23 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
|
15041
15041
|
}, "comment"]),
|
|
15042
15042
|
key: comment.id
|
|
15043
15043
|
}, [
|
|
15044
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
15045
|
-
vue.createElementVNode("div", _hoisted_4$
|
|
15044
|
+
vue.createElementVNode("div", _hoisted_3$E, [
|
|
15045
|
+
vue.createElementVNode("div", _hoisted_4$n, vue.toDisplayString(comment.sender.first_name) + " " + vue.toDisplayString(comment.sender.last_name), 1),
|
|
15046
15046
|
vue.createElementVNode("div", _hoisted_5$j, vue.toDisplayString(comment.updated_at.split("T")[0]), 1),
|
|
15047
15047
|
vue.createElementVNode("div", _hoisted_6$g, [
|
|
15048
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
15048
|
+
vue.createVNode(vue.unref(_sfc_main$R), {
|
|
15049
15049
|
size: 1,
|
|
15050
15050
|
class: "edit",
|
|
15051
15051
|
icon: "edit",
|
|
15052
15052
|
onClick: ($event) => vue.isRef(editComment) ? editComment.value = comment : editComment = comment
|
|
15053
15053
|
}, null, 8, ["onClick"]),
|
|
15054
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
15054
|
+
vue.createVNode(vue.unref(_sfc_main$R), {
|
|
15055
15055
|
size: 1.2,
|
|
15056
15056
|
class: "delete",
|
|
15057
15057
|
icon: "delete",
|
|
15058
15058
|
onClick: ($event) => deleteComment(comment.id)
|
|
15059
15059
|
}, null, 8, ["onClick"]),
|
|
15060
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
15060
|
+
vue.createVNode(vue.unref(_sfc_main$R), {
|
|
15061
15061
|
size: 1.2,
|
|
15062
15062
|
class: "save",
|
|
15063
15063
|
icon: "save",
|
|
@@ -15065,7 +15065,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
|
15065
15065
|
})
|
|
15066
15066
|
])
|
|
15067
15067
|
]),
|
|
15068
|
-
vue.unref(editComment) !== null && ((_c = vue.unref(editComment)) == null ? void 0 : _c.id) === comment.id ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
15068
|
+
vue.unref(editComment) !== null && ((_c = vue.unref(editComment)) == null ? void 0 : _c.id) === comment.id ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
|
|
15069
15069
|
key: 0,
|
|
15070
15070
|
modelValue: vue.unref(editComment).body_html,
|
|
15071
15071
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(editComment).body_html = $event),
|
|
@@ -15079,7 +15079,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
|
15079
15079
|
}), 128))
|
|
15080
15080
|
]),
|
|
15081
15081
|
vue.createElementVNode("div", _hoisted_8$6, [
|
|
15082
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
15082
|
+
vue.createVNode(vue.unref(_sfc_main$S), {
|
|
15083
15083
|
class: "comment-input",
|
|
15084
15084
|
modelValue: vue.unref(bodyHtml),
|
|
15085
15085
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(bodyHtml) ? bodyHtml.value = $event : bodyHtml = $event),
|
|
@@ -15099,10 +15099,10 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
|
15099
15099
|
};
|
|
15100
15100
|
}
|
|
15101
15101
|
});
|
|
15102
|
-
const Comments = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15103
|
-
const _hoisted_1$
|
|
15104
|
-
const _hoisted_2$
|
|
15105
|
-
const _sfc_main$
|
|
15102
|
+
const Comments = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-ff29354a"]]);
|
|
15103
|
+
const _hoisted_1$P = { class: "page-top" };
|
|
15104
|
+
const _hoisted_2$H = { class: "top-title" };
|
|
15105
|
+
const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
15106
15106
|
__name: "PageTitle",
|
|
15107
15107
|
props: {
|
|
15108
15108
|
value: {
|
|
@@ -15112,8 +15112,8 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
|
15112
15112
|
},
|
|
15113
15113
|
setup(__props) {
|
|
15114
15114
|
return (_ctx, _cache) => {
|
|
15115
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
15116
|
-
vue.createElementVNode("h1", _hoisted_2$
|
|
15115
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$P, [
|
|
15116
|
+
vue.createElementVNode("h1", _hoisted_2$H, [
|
|
15117
15117
|
vue.renderSlot(_ctx.$slots, "default"),
|
|
15118
15118
|
vue.createTextVNode(" " + vue.toDisplayString(__props.value), 1)
|
|
15119
15119
|
])
|
|
@@ -15121,10 +15121,10 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
|
15121
15121
|
};
|
|
15122
15122
|
}
|
|
15123
15123
|
});
|
|
15124
|
-
const _hoisted_1$
|
|
15125
|
-
const _hoisted_2$
|
|
15126
|
-
const _hoisted_3$
|
|
15127
|
-
const _sfc_main$
|
|
15124
|
+
const _hoisted_1$O = ["onKeydown"];
|
|
15125
|
+
const _hoisted_2$G = { class: "tool-bar" };
|
|
15126
|
+
const _hoisted_3$D = { class: "modal-title" };
|
|
15127
|
+
const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
15128
15128
|
__name: "ModalForm",
|
|
15129
15129
|
props: {
|
|
15130
15130
|
side: { type: Boolean },
|
|
@@ -15197,7 +15197,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
15197
15197
|
onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
|
|
15198
15198
|
}, ["stop"]))
|
|
15199
15199
|
}, [
|
|
15200
|
-
vue.createElementVNode("header", _hoisted_2$
|
|
15200
|
+
vue.createElementVNode("header", _hoisted_2$G, [
|
|
15201
15201
|
vue.renderSlot(_ctx.$slots, "toolbar", {}, void 0, true),
|
|
15202
15202
|
vue.createVNode(vue.unref(Btn), {
|
|
15203
15203
|
style: vue.normalizeStyle({ float: _ctx.side ? "left" : "right" }),
|
|
@@ -15205,9 +15205,9 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
15205
15205
|
icon: "close",
|
|
15206
15206
|
onClick: closeModal
|
|
15207
15207
|
}, null, 8, ["style"]),
|
|
15208
|
-
vue.createElementVNode("h3", _hoisted_3$
|
|
15208
|
+
vue.createElementVNode("h3", _hoisted_3$D, vue.toDisplayString(_ctx.title), 1)
|
|
15209
15209
|
]),
|
|
15210
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
15210
|
+
vue.createVNode(vue.unref(_sfc_main$F), {
|
|
15211
15211
|
onDelete: _ctx.onDelete ? runDelete : void 0,
|
|
15212
15212
|
modelValue: _ctx.modelValue,
|
|
15213
15213
|
"onUpdate:modelValue": handleEmit,
|
|
@@ -15215,24 +15215,24 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
15215
15215
|
schema: computedFormSchema.value
|
|
15216
15216
|
}, null, 8, ["onDelete", "modelValue", "schema"])
|
|
15217
15217
|
])
|
|
15218
|
-
], 42, _hoisted_1$
|
|
15218
|
+
], 42, _hoisted_1$O);
|
|
15219
15219
|
};
|
|
15220
15220
|
}
|
|
15221
15221
|
});
|
|
15222
|
-
const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15223
|
-
const _hoisted_1$
|
|
15222
|
+
const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-ca1b8501"]]);
|
|
15223
|
+
const _hoisted_1$N = {
|
|
15224
15224
|
key: 0,
|
|
15225
15225
|
class: "data"
|
|
15226
15226
|
};
|
|
15227
|
-
const _hoisted_2$
|
|
15227
|
+
const _hoisted_2$F = {
|
|
15228
15228
|
key: 0,
|
|
15229
15229
|
class: "mb-3 mt-0"
|
|
15230
15230
|
};
|
|
15231
|
-
const _hoisted_3$
|
|
15232
|
-
const _hoisted_4$
|
|
15231
|
+
const _hoisted_3$C = { class: "key" };
|
|
15232
|
+
const _hoisted_4$m = { key: 1 };
|
|
15233
15233
|
const _hoisted_5$i = { class: "key" };
|
|
15234
15234
|
const _hoisted_6$f = { class: "vlue" };
|
|
15235
|
-
const _sfc_main$
|
|
15235
|
+
const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
15236
15236
|
__name: "DataPreview",
|
|
15237
15237
|
props: {
|
|
15238
15238
|
data: {},
|
|
@@ -15244,14 +15244,14 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
|
15244
15244
|
const keysToIgnore = ["id", "person_id", "person", "created_at", "updated_at"];
|
|
15245
15245
|
return (_ctx, _cache) => {
|
|
15246
15246
|
var _a;
|
|
15247
|
-
return _ctx.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
15248
|
-
_ctx.title ? (vue.openBlock(), vue.createElementBlock("h3", _hoisted_2$
|
|
15247
|
+
return _ctx.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$N, [
|
|
15248
|
+
_ctx.title ? (vue.openBlock(), vue.createElementBlock("h3", _hoisted_2$F, vue.toDisplayString(_ctx.title), 1)) : vue.createCommentVNode("", true),
|
|
15249
15249
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.schema || [], (field) => {
|
|
15250
15250
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
15251
15251
|
key: field.id,
|
|
15252
15252
|
class: "data-row"
|
|
15253
15253
|
}, [
|
|
15254
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
15254
|
+
vue.createElementVNode("div", _hoisted_3$C, vue.toDisplayString((field == null ? void 0 : field.label) || vue.unref(keyToLabel)(field.id)), 1),
|
|
15255
15255
|
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(field.$el || "div"), { class: "vlue" }, {
|
|
15256
15256
|
default: vue.withCtx(() => [
|
|
15257
15257
|
vue.createTextVNode(vue.toDisplayString(_ctx.data[field.id] || field.defaultValue), 1)
|
|
@@ -15260,7 +15260,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
|
15260
15260
|
}, 1024))
|
|
15261
15261
|
]);
|
|
15262
15262
|
}), 128)),
|
|
15263
|
-
!((_a = _ctx.schema) == null ? void 0 : _a.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$
|
|
15263
|
+
!((_a = _ctx.schema) == null ? void 0 : _a.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$m, [
|
|
15264
15264
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(Object.entries(_ctx.data).filter(
|
|
15265
15265
|
([key]) => !keysToIgnore.includes(key)
|
|
15266
15266
|
), ([key, value]) => {
|
|
@@ -15278,8 +15278,8 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
|
15278
15278
|
};
|
|
15279
15279
|
}
|
|
15280
15280
|
});
|
|
15281
|
-
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15282
|
-
const _sfc_main$
|
|
15281
|
+
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-0350cc0c"]]);
|
|
15282
|
+
const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
15283
15283
|
__name: "FormSchema",
|
|
15284
15284
|
props: {
|
|
15285
15285
|
modelValue: {},
|
|
@@ -15352,14 +15352,14 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
|
15352
15352
|
};
|
|
15353
15353
|
}
|
|
15354
15354
|
});
|
|
15355
|
-
const _hoisted_1$
|
|
15356
|
-
const _hoisted_2$
|
|
15357
|
-
const _hoisted_3$
|
|
15358
|
-
const _hoisted_4$
|
|
15355
|
+
const _hoisted_1$M = { class: "table-list-wrap h-100" };
|
|
15356
|
+
const _hoisted_2$E = { class: "infinite-wrapper" };
|
|
15357
|
+
const _hoisted_3$B = { class: "row first-row" };
|
|
15358
|
+
const _hoisted_4$l = ["onClick"];
|
|
15359
15359
|
const _hoisted_5$h = { class: "flex" };
|
|
15360
15360
|
const _hoisted_6$e = ["onClick"];
|
|
15361
15361
|
const _hoisted_7$a = { key: 1 };
|
|
15362
|
-
const _sfc_main$
|
|
15362
|
+
const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
15363
15363
|
__name: "TableSchema",
|
|
15364
15364
|
props: {
|
|
15365
15365
|
data: {},
|
|
@@ -15409,9 +15409,9 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
15409
15409
|
}
|
|
15410
15410
|
);
|
|
15411
15411
|
return (_ctx, _cache) => {
|
|
15412
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
15413
|
-
vue.createElementVNode("table", _hoisted_2$
|
|
15414
|
-
vue.createElementVNode("thead", _hoisted_3$
|
|
15412
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$M, [
|
|
15413
|
+
vue.createElementVNode("table", _hoisted_2$E, [
|
|
15414
|
+
vue.createElementVNode("thead", _hoisted_3$B, [
|
|
15415
15415
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(columns.value, (field) => {
|
|
15416
15416
|
return vue.openBlock(), vue.createElementBlock("th", {
|
|
15417
15417
|
class: "col",
|
|
@@ -15423,13 +15423,13 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
15423
15423
|
vue.createElementVNode("div", {
|
|
15424
15424
|
class: vue.normalizeClass(["list-arrows", { sorted: vue.unref(sortField) === field.id }])
|
|
15425
15425
|
}, [
|
|
15426
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
15426
|
+
vue.createVNode(vue.unref(_sfc_main$R), {
|
|
15427
15427
|
class: vue.normalizeClass({ desc: vue.unref(sortDirection) === "DESC" }),
|
|
15428
15428
|
icon: "keyboard_arrow_up"
|
|
15429
15429
|
}, null, 8, ["class"])
|
|
15430
15430
|
], 2)
|
|
15431
15431
|
])
|
|
15432
|
-
], 8, _hoisted_4$
|
|
15432
|
+
], 8, _hoisted_4$l);
|
|
15433
15433
|
}), 128))
|
|
15434
15434
|
]),
|
|
15435
15435
|
vue.createElementVNode("tbody", {
|
|
@@ -15475,16 +15475,16 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
15475
15475
|
};
|
|
15476
15476
|
}
|
|
15477
15477
|
});
|
|
15478
|
-
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15479
|
-
const _sfc_main$
|
|
15480
|
-
const _hoisted_1$
|
|
15478
|
+
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-fa7146ce"]]);
|
|
15479
|
+
const _sfc_main$D = {};
|
|
15480
|
+
const _hoisted_1$L = { class: "flex space-between" };
|
|
15481
15481
|
function _sfc_render$1(_ctx, _cache) {
|
|
15482
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
15482
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$L, [
|
|
15483
15483
|
vue.renderSlot(_ctx.$slots, "default")
|
|
15484
15484
|
]);
|
|
15485
15485
|
}
|
|
15486
|
-
const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15487
|
-
const _sfc_main$
|
|
15486
|
+
const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["render", _sfc_render$1]]);
|
|
15487
|
+
const _sfc_main$C = {};
|
|
15488
15488
|
function _sfc_render(_ctx, _cache) {
|
|
15489
15489
|
const _component_router_view = vue.resolveComponent("router-view");
|
|
15490
15490
|
return vue.openBlock(), vue.createBlock(_component_router_view, null, {
|
|
@@ -15506,9 +15506,9 @@ function _sfc_render(_ctx, _cache) {
|
|
|
15506
15506
|
_: 1
|
|
15507
15507
|
});
|
|
15508
15508
|
}
|
|
15509
|
-
const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15510
|
-
const _hoisted_1$
|
|
15511
|
-
const _sfc_main$
|
|
15509
|
+
const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["render", _sfc_render]]);
|
|
15510
|
+
const _hoisted_1$K = { class: "card h-100 thin" };
|
|
15511
|
+
const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
15512
15512
|
__name: "ContactSubmissions",
|
|
15513
15513
|
props: {
|
|
15514
15514
|
person_id: {
|
|
@@ -15538,7 +15538,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
15538
15538
|
void getData();
|
|
15539
15539
|
});
|
|
15540
15540
|
return (_ctx, _cache) => {
|
|
15541
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
15541
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$K, [
|
|
15542
15542
|
vue.createVNode(vue.unref(TableSchema), {
|
|
15543
15543
|
schema: schema2,
|
|
15544
15544
|
data: vue.unref(data2)
|
|
@@ -15547,13 +15547,13 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
15547
15547
|
};
|
|
15548
15548
|
}
|
|
15549
15549
|
});
|
|
15550
|
-
const _hoisted_1$
|
|
15550
|
+
const _hoisted_1$J = {
|
|
15551
15551
|
key: 0,
|
|
15552
15552
|
class: "person-card-edit flex gap-2"
|
|
15553
15553
|
};
|
|
15554
|
-
const _hoisted_2$
|
|
15555
|
-
const _hoisted_3$
|
|
15556
|
-
const _hoisted_4$
|
|
15554
|
+
const _hoisted_2$D = { class: "person-card-icon-wrap" };
|
|
15555
|
+
const _hoisted_3$A = { class: "person-card-icon" };
|
|
15556
|
+
const _hoisted_4$k = { class: "person-card-name txt20" };
|
|
15557
15557
|
const _hoisted_5$g = { class: "person-card-details-wrap" };
|
|
15558
15558
|
const _hoisted_6$d = {
|
|
15559
15559
|
key: 0,
|
|
@@ -15569,7 +15569,7 @@ const _hoisted_8$5 = {
|
|
|
15569
15569
|
};
|
|
15570
15570
|
const _hoisted_9$4 = { key: 0 };
|
|
15571
15571
|
const _hoisted_10$3 = { key: 1 };
|
|
15572
|
-
const _sfc_main$
|
|
15572
|
+
const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
15573
15573
|
__name: "PersonPreview",
|
|
15574
15574
|
props: {
|
|
15575
15575
|
person: {},
|
|
@@ -15599,7 +15599,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
15599
15599
|
(...args) => _ctx.onClick && _ctx.onClick(...args)),
|
|
15600
15600
|
class: "person-card"
|
|
15601
15601
|
}, [
|
|
15602
|
-
!_ctx.onClick ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
15602
|
+
!_ctx.onClick ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$J, [
|
|
15603
15603
|
!_ctx.$route.path.match("/search") ? (vue.openBlock(), vue.createBlock(vue.unref(Btn), {
|
|
15604
15604
|
key: 0,
|
|
15605
15605
|
round: "",
|
|
@@ -15616,13 +15616,13 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
15616
15616
|
icon: "edit"
|
|
15617
15617
|
})
|
|
15618
15618
|
])) : vue.createCommentVNode("", true),
|
|
15619
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
15620
|
-
vue.createElementVNode("p", _hoisted_3$
|
|
15621
|
-
vue.createElementVNode("p", _hoisted_4$
|
|
15619
|
+
vue.createElementVNode("div", _hoisted_2$D, [
|
|
15620
|
+
vue.createElementVNode("p", _hoisted_3$A, vue.toDisplayString(vue.unref(initials)(_ctx.person.first_name, _ctx.person.last_name)), 1),
|
|
15621
|
+
vue.createElementVNode("p", _hoisted_4$k, vue.toDisplayString(_ctx.person.first_name) + " " + vue.toDisplayString(_ctx.person.last_name), 1)
|
|
15622
15622
|
]),
|
|
15623
15623
|
vue.createElementVNode("div", _hoisted_5$g, [
|
|
15624
15624
|
((_a = _ctx.person.phone) == null ? void 0 : _a.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$d, [
|
|
15625
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
15625
|
+
vue.createVNode(vue.unref(_sfc_main$R), { icon: "phone" }),
|
|
15626
15626
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.person.phone, (phone) => {
|
|
15627
15627
|
return vue.openBlock(), vue.createElementBlock("p", {
|
|
15628
15628
|
key: phone.id
|
|
@@ -15630,7 +15630,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
15630
15630
|
}), 128))
|
|
15631
15631
|
])) : vue.createCommentVNode("", true),
|
|
15632
15632
|
((_b = _ctx.person.email) == null ? void 0 : _b.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$9, [
|
|
15633
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
15633
|
+
vue.createVNode(vue.unref(_sfc_main$R), { icon: "email" }),
|
|
15634
15634
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.person.email, (email) => {
|
|
15635
15635
|
return vue.openBlock(), vue.createElementBlock("p", {
|
|
15636
15636
|
key: email.id
|
|
@@ -15638,7 +15638,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
15638
15638
|
}), 128))
|
|
15639
15639
|
])) : vue.createCommentVNode("", true),
|
|
15640
15640
|
_ctx.person.date_of_birth || _ctx.person.gender ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$5, [
|
|
15641
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
15641
|
+
vue.createVNode(vue.unref(_sfc_main$R), { icon: "badge" }),
|
|
15642
15642
|
_ctx.person.date_of_birth ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_9$4, vue.toDisplayString(_ctx.person.date_of_birth), 1)) : vue.createCommentVNode("", true),
|
|
15643
15643
|
_ctx.person.gender ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_10$3, vue.toDisplayString(_ctx.person.gender), 1)) : vue.createCommentVNode("", true)
|
|
15644
15644
|
])) : vue.createCommentVNode("", true)
|
|
@@ -15648,13 +15648,13 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
15648
15648
|
}
|
|
15649
15649
|
});
|
|
15650
15650
|
const _withScopeId$2 = (n) => (vue.pushScopeId("data-v-f7af54ed"), n = n(), vue.popScopeId(), n);
|
|
15651
|
-
const _hoisted_1$
|
|
15652
|
-
const _hoisted_2$
|
|
15651
|
+
const _hoisted_1$I = { class: "bar-chart" };
|
|
15652
|
+
const _hoisted_2$C = {
|
|
15653
15653
|
key: 0,
|
|
15654
15654
|
class: "group-wrap"
|
|
15655
15655
|
};
|
|
15656
|
-
const _hoisted_3$
|
|
15657
|
-
const _hoisted_4$
|
|
15656
|
+
const _hoisted_3$z = { class: "group-title" };
|
|
15657
|
+
const _hoisted_4$j = {
|
|
15658
15658
|
key: 1,
|
|
15659
15659
|
class: "bar-wrap"
|
|
15660
15660
|
};
|
|
@@ -15662,7 +15662,7 @@ const _hoisted_5$f = { class: "bar-txt" };
|
|
|
15662
15662
|
const _hoisted_6$c = { class: "factor" };
|
|
15663
15663
|
const _hoisted_7$8 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ vue.createElementVNode("div", { class: "red-bar" }, null, -1));
|
|
15664
15664
|
const _hoisted_8$4 = { class: "bar-lines" };
|
|
15665
|
-
const _sfc_main$
|
|
15665
|
+
const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
15666
15666
|
__name: "BarChart",
|
|
15667
15667
|
props: {
|
|
15668
15668
|
title: {},
|
|
@@ -15712,14 +15712,14 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
|
15712
15712
|
const percent = (val) => val / maxValue.value * 100;
|
|
15713
15713
|
const floodPercent = vue.computed(() => `${props2.flood}%`);
|
|
15714
15714
|
return (_ctx, _cache) => {
|
|
15715
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
15715
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$I, [
|
|
15716
15716
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(dataArray.value, (item, i2) => {
|
|
15717
15717
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
15718
15718
|
class: "graph-wrap",
|
|
15719
15719
|
key: i2
|
|
15720
15720
|
}, [
|
|
15721
|
-
item.group ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
15722
|
-
vue.createElementVNode("p", _hoisted_3$
|
|
15721
|
+
item.group ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$C, [
|
|
15722
|
+
vue.createElementVNode("p", _hoisted_3$z, vue.toDisplayString(item.group), 1),
|
|
15723
15723
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList((item == null ? void 0 : item.data) || [], (nested, i22) => {
|
|
15724
15724
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
15725
15725
|
key: i22,
|
|
@@ -15738,7 +15738,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
|
15738
15738
|
}, null, 4)) : vue.createCommentVNode("", true)
|
|
15739
15739
|
]);
|
|
15740
15740
|
}), 128))
|
|
15741
|
-
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$
|
|
15741
|
+
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$j, [
|
|
15742
15742
|
vue.createElementVNode("div", {
|
|
15743
15743
|
class: "bar",
|
|
15744
15744
|
style: vue.normalizeStyle({ height: loaded.value ? `${percent(item.value)}%` : "0" })
|
|
@@ -15763,7 +15763,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
|
15763
15763
|
};
|
|
15764
15764
|
}
|
|
15765
15765
|
});
|
|
15766
|
-
const BarChart = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15766
|
+
const BarChart = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-f7af54ed"]]);
|
|
15767
15767
|
const explicitKeys = [
|
|
15768
15768
|
"__key",
|
|
15769
15769
|
"__init",
|
|
@@ -17019,8 +17019,8 @@ function createInput(schemaOrComponent, definitionOptions = {}) {
|
|
|
17019
17019
|
}
|
|
17020
17020
|
return definition;
|
|
17021
17021
|
}
|
|
17022
|
-
const _hoisted_1$
|
|
17023
|
-
const _sfc_main$
|
|
17022
|
+
const _hoisted_1$H = { class: "primary-checkbox" };
|
|
17023
|
+
const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
17024
17024
|
__name: "Checkbox",
|
|
17025
17025
|
props: {
|
|
17026
17026
|
modelValue: Boolean
|
|
@@ -17044,7 +17044,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
17044
17044
|
(v) => emits("update:modelValue", v)
|
|
17045
17045
|
);
|
|
17046
17046
|
return (_ctx, _cache) => {
|
|
17047
|
-
return vue.openBlock(), vue.createElementBlock("label", _hoisted_1$
|
|
17047
|
+
return vue.openBlock(), vue.createElementBlock("label", _hoisted_1$H, [
|
|
17048
17048
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
17049
17049
|
type: "checkbox",
|
|
17050
17050
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(val) ? val.value = $event : val = $event)
|
|
@@ -17052,24 +17052,24 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
17052
17052
|
[vue.vModelCheckbox, vue.unref(val)]
|
|
17053
17053
|
]),
|
|
17054
17054
|
vue.createElementVNode("span", null, [
|
|
17055
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
17055
|
+
vue.createVNode(vue.unref(_sfc_main$R), { icon: "check" })
|
|
17056
17056
|
])
|
|
17057
17057
|
]);
|
|
17058
17058
|
};
|
|
17059
17059
|
}
|
|
17060
17060
|
});
|
|
17061
|
-
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17062
|
-
const _hoisted_1$
|
|
17063
|
-
const _hoisted_2$
|
|
17064
|
-
const _hoisted_3$
|
|
17061
|
+
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-5f3ff6ea"]]);
|
|
17062
|
+
const _hoisted_1$G = { class: "bagel-input" };
|
|
17063
|
+
const _hoisted_2$B = { class: "mt-1" };
|
|
17064
|
+
const _hoisted_3$y = {
|
|
17065
17065
|
key: 0,
|
|
17066
17066
|
class: "bglform-contact-confirm"
|
|
17067
17067
|
};
|
|
17068
|
-
const _hoisted_4$
|
|
17068
|
+
const _hoisted_4$i = { class: "txt14" };
|
|
17069
17069
|
const _hoisted_5$e = ["onUpdate:modelValue", "placeholder"];
|
|
17070
17070
|
const _hoisted_6$b = ["onUpdate:modelValue", "placeholder"];
|
|
17071
17071
|
const _hoisted_7$7 = ["onUpdate:modelValue", "placeholder"];
|
|
17072
|
-
const _sfc_main$
|
|
17072
|
+
const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
17073
17073
|
__name: "ContactArrayFormKit",
|
|
17074
17074
|
props: {
|
|
17075
17075
|
context: {}
|
|
@@ -17120,16 +17120,16 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
17120
17120
|
}
|
|
17121
17121
|
);
|
|
17122
17122
|
return (_ctx, _cache) => {
|
|
17123
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
17124
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
17123
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$G, [
|
|
17124
|
+
vue.createElementVNode("div", _hoisted_2$B, [
|
|
17125
17125
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(val), (contact, i2) => {
|
|
17126
17126
|
var _a, _b, _c, _d, _e, _f;
|
|
17127
17127
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
17128
17128
|
class: "bglform-contact mb-2",
|
|
17129
17129
|
key: i2
|
|
17130
17130
|
}, [
|
|
17131
|
-
vue.unref(deleteCandidate) === i2 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$
|
|
17132
|
-
vue.createElementVNode("p", _hoisted_4$
|
|
17131
|
+
vue.unref(deleteCandidate) === i2 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$y, [
|
|
17132
|
+
vue.createElementVNode("p", _hoisted_4$i, vue.toDisplayString((_a = formPlaceholders.value) == null ? void 0 : _a.sure), 1),
|
|
17133
17133
|
vue.createVNode(vue.unref(Btn), {
|
|
17134
17134
|
thin: "",
|
|
17135
17135
|
color: "red",
|
|
@@ -17213,14 +17213,14 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
17213
17213
|
};
|
|
17214
17214
|
}
|
|
17215
17215
|
});
|
|
17216
|
-
const ContactArrayFormKit = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17217
|
-
const _hoisted_1$
|
|
17218
|
-
const _hoisted_2$
|
|
17219
|
-
const _hoisted_3$
|
|
17216
|
+
const ContactArrayFormKit = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-0533667e"]]);
|
|
17217
|
+
const _hoisted_1$F = { class: "bagel-input" };
|
|
17218
|
+
const _hoisted_2$A = { class: "mt-1" };
|
|
17219
|
+
const _hoisted_3$x = {
|
|
17220
17220
|
key: 0,
|
|
17221
17221
|
class: "bglform-contact-confirm"
|
|
17222
17222
|
};
|
|
17223
|
-
const _hoisted_4$
|
|
17223
|
+
const _hoisted_4$h = { class: "txt14" };
|
|
17224
17224
|
const _hoisted_5$d = ["onUpdate:modelValue", "placeholder"];
|
|
17225
17225
|
const _hoisted_6$a = { class: "bglform-contact-address" };
|
|
17226
17226
|
const _hoisted_7$6 = ["onUpdate:modelValue", "placeholder"];
|
|
@@ -17229,7 +17229,7 @@ const _hoisted_9$3 = ["onUpdate:modelValue", "placeholder"];
|
|
|
17229
17229
|
const _hoisted_10$2 = ["onUpdate:modelValue", "placeholder"];
|
|
17230
17230
|
const _hoisted_11$1 = ["onUpdate:modelValue", "placeholder"];
|
|
17231
17231
|
const _hoisted_12$1 = { class: "bglform-address-del" };
|
|
17232
|
-
const _sfc_main$
|
|
17232
|
+
const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
17233
17233
|
__name: "AddressArray",
|
|
17234
17234
|
props: {
|
|
17235
17235
|
context: {}
|
|
@@ -17286,16 +17286,16 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
17286
17286
|
}
|
|
17287
17287
|
);
|
|
17288
17288
|
return (_ctx, _cache) => {
|
|
17289
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
17290
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
17289
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$F, [
|
|
17290
|
+
vue.createElementVNode("div", _hoisted_2$A, [
|
|
17291
17291
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(val), (address, i2) => {
|
|
17292
17292
|
var _a, _b, _c, _d, _e, _f;
|
|
17293
17293
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
17294
17294
|
class: "bglform-contact mb-3",
|
|
17295
17295
|
key: i2
|
|
17296
17296
|
}, [
|
|
17297
|
-
vue.unref(deleteCandidate) === i2 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$
|
|
17298
|
-
vue.createElementVNode("p", _hoisted_4$
|
|
17297
|
+
vue.unref(deleteCandidate) === i2 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$x, [
|
|
17298
|
+
vue.createElementVNode("p", _hoisted_4$h, vue.toDisplayString((_a = formPlaceholders.value) == null ? void 0 : _a.sure), 1),
|
|
17299
17299
|
vue.createVNode(vue.unref(Btn), {
|
|
17300
17300
|
thin: "",
|
|
17301
17301
|
color: "red",
|
|
@@ -17396,14 +17396,14 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
17396
17396
|
};
|
|
17397
17397
|
}
|
|
17398
17398
|
});
|
|
17399
|
-
const AddressArray = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17400
|
-
const _hoisted_1$
|
|
17401
|
-
const _hoisted_2$
|
|
17402
|
-
const _hoisted_3$
|
|
17399
|
+
const AddressArray = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-98a4f943"]]);
|
|
17400
|
+
const _hoisted_1$E = { class: "bagel-input" };
|
|
17401
|
+
const _hoisted_2$z = { class: "mt-1" };
|
|
17402
|
+
const _hoisted_3$w = {
|
|
17403
17403
|
key: 0,
|
|
17404
17404
|
class: "bglform-contact-confirm"
|
|
17405
17405
|
};
|
|
17406
|
-
const _hoisted_4$
|
|
17406
|
+
const _hoisted_4$g = { class: "txt14" };
|
|
17407
17407
|
const _hoisted_5$c = ["onUpdate:modelValue", "placeholder"];
|
|
17408
17408
|
const _hoisted_6$9 = { class: "bglform-contact-address" };
|
|
17409
17409
|
const _hoisted_7$5 = ["onUpdate:modelValue", "placeholder"];
|
|
@@ -17417,7 +17417,7 @@ const _hoisted_14 = ["onUpdate:modelValue"];
|
|
|
17417
17417
|
const _hoisted_15 = ["onUpdate:modelValue"];
|
|
17418
17418
|
const _hoisted_16 = ["onUpdate:modelValue", "placeholder"];
|
|
17419
17419
|
const _hoisted_17 = { class: "bglform-address-del" };
|
|
17420
|
-
const _sfc_main$
|
|
17420
|
+
const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
17421
17421
|
__name: "BankDetailsArray",
|
|
17422
17422
|
props: {
|
|
17423
17423
|
context: {}
|
|
@@ -17468,16 +17468,16 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
17468
17468
|
}
|
|
17469
17469
|
);
|
|
17470
17470
|
return (_ctx, _cache) => {
|
|
17471
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
17472
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
17471
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$E, [
|
|
17472
|
+
vue.createElementVNode("div", _hoisted_2$z, [
|
|
17473
17473
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(val), (bank_account, i2) => {
|
|
17474
17474
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
17475
17475
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
17476
17476
|
class: "bglform-contact mb-3",
|
|
17477
17477
|
key: i2
|
|
17478
17478
|
}, [
|
|
17479
|
-
vue.unref(deleteCandidate) === i2 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$
|
|
17480
|
-
vue.createElementVNode("p", _hoisted_4$
|
|
17479
|
+
vue.unref(deleteCandidate) === i2 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$w, [
|
|
17480
|
+
vue.createElementVNode("p", _hoisted_4$g, vue.toDisplayString((_a = formPlaceholders.value) == null ? void 0 : _a.sure), 1),
|
|
17481
17481
|
vue.createVNode(vue.unref(Btn), {
|
|
17482
17482
|
thin: "",
|
|
17483
17483
|
color: "red",
|
|
@@ -17612,9 +17612,9 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
17612
17612
|
};
|
|
17613
17613
|
}
|
|
17614
17614
|
});
|
|
17615
|
-
const BankDetailsArray = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17616
|
-
const _hoisted_1$
|
|
17617
|
-
const _sfc_main$
|
|
17615
|
+
const BankDetailsArray = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-0928eb22"]]);
|
|
17616
|
+
const _hoisted_1$D = { class: "misc-wrap" };
|
|
17617
|
+
const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
17618
17618
|
__name: "MiscFields",
|
|
17619
17619
|
props: {
|
|
17620
17620
|
context: {},
|
|
@@ -17631,7 +17631,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
17631
17631
|
console.log(fields.value);
|
|
17632
17632
|
};
|
|
17633
17633
|
return (_ctx, _cache) => {
|
|
17634
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
17634
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$D, [
|
|
17635
17635
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(fields.value.filter(
|
|
17636
17636
|
(field) => {
|
|
17637
17637
|
var _a;
|
|
@@ -17659,13 +17659,13 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
17659
17659
|
};
|
|
17660
17660
|
}
|
|
17661
17661
|
});
|
|
17662
|
-
const MiscFieldsBtns = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17662
|
+
const MiscFieldsBtns = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-bac6c2ee"]]);
|
|
17663
17663
|
const _withScopeId$1 = (n) => (vue.pushScopeId("data-v-d12598ff"), n = n(), vue.popScopeId(), n);
|
|
17664
|
-
const _hoisted_1$
|
|
17665
|
-
const _hoisted_2$
|
|
17666
|
-
const _hoisted_3$
|
|
17667
|
-
const _hoisted_4$
|
|
17668
|
-
const _sfc_main$
|
|
17664
|
+
const _hoisted_1$C = ["title"];
|
|
17665
|
+
const _hoisted_2$y = { class: "switch" };
|
|
17666
|
+
const _hoisted_3$v = ["id"];
|
|
17667
|
+
const _hoisted_4$f = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("span", { class: "slider round" }, null, -1));
|
|
17668
|
+
const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
17669
17669
|
__name: "Toggle",
|
|
17670
17670
|
props: {
|
|
17671
17671
|
context: Object
|
|
@@ -17689,7 +17689,7 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
|
17689
17689
|
class: vue.normalizeClass(["bagel-input checkbox", { check: (_a = __props.context) == null ? void 0 : _a.attrs.isCheckbox }]),
|
|
17690
17690
|
title: (_b = __props.context) == null ? void 0 : _b.help
|
|
17691
17691
|
}, [
|
|
17692
|
-
vue.createElementVNode("label", _hoisted_2$
|
|
17692
|
+
vue.createElementVNode("label", _hoisted_2$y, [
|
|
17693
17693
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
17694
17694
|
onChange: _cache[0] || (_cache[0] = () => {
|
|
17695
17695
|
var _a2;
|
|
@@ -17698,23 +17698,23 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
|
17698
17698
|
type: "checkbox",
|
|
17699
17699
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(inputVal) ? inputVal.value = $event : inputVal = $event),
|
|
17700
17700
|
id: (_c = __props.context) == null ? void 0 : _c.id
|
|
17701
|
-
}, null, 40, _hoisted_3$
|
|
17701
|
+
}, null, 40, _hoisted_3$v), [
|
|
17702
17702
|
[vue.vModelCheckbox, vue.unref(inputVal)]
|
|
17703
17703
|
]),
|
|
17704
|
-
_hoisted_4$
|
|
17704
|
+
_hoisted_4$f
|
|
17705
17705
|
])
|
|
17706
|
-
], 10, _hoisted_1$
|
|
17706
|
+
], 10, _hoisted_1$C);
|
|
17707
17707
|
};
|
|
17708
17708
|
}
|
|
17709
17709
|
});
|
|
17710
|
-
const Toggle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17711
|
-
const _hoisted_1$
|
|
17712
|
-
const _hoisted_2$
|
|
17713
|
-
const _hoisted_3$
|
|
17710
|
+
const Toggle = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-d12598ff"]]);
|
|
17711
|
+
const _hoisted_1$B = { class: "files-wrapper flex" };
|
|
17712
|
+
const _hoisted_2$x = ["onDrop"];
|
|
17713
|
+
const _hoisted_3$u = {
|
|
17714
17714
|
key: 0,
|
|
17715
17715
|
class: "img-label"
|
|
17716
17716
|
};
|
|
17717
|
-
const _hoisted_4$
|
|
17717
|
+
const _hoisted_4$e = { class: "uploading-wrap" };
|
|
17718
17718
|
const _hoisted_5$b = { class: "load-file-bar" };
|
|
17719
17719
|
const _hoisted_6$8 = ["src", "alt"];
|
|
17720
17720
|
const _hoisted_7$4 = { class: "flex" };
|
|
@@ -17723,7 +17723,7 @@ const _hoisted_8$1 = {
|
|
|
17723
17723
|
class: "progress"
|
|
17724
17724
|
};
|
|
17725
17725
|
const _hoisted_9$1 = ["multiple"];
|
|
17726
|
-
const _sfc_main$
|
|
17726
|
+
const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
17727
17727
|
__name: "FileUploader",
|
|
17728
17728
|
props: {
|
|
17729
17729
|
context: {},
|
|
@@ -17848,7 +17848,7 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
|
17848
17848
|
}
|
|
17849
17849
|
return (_ctx, _cache) => {
|
|
17850
17850
|
var _a;
|
|
17851
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
17851
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$B, [
|
|
17852
17852
|
vue.createElementVNode("div", {
|
|
17853
17853
|
ref_key: "dropZoneEl",
|
|
17854
17854
|
ref: dropZoneEl,
|
|
@@ -17868,13 +17868,13 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
|
17868
17868
|
]),
|
|
17869
17869
|
_: 1
|
|
17870
17870
|
}),
|
|
17871
|
-
allowUpload.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$
|
|
17871
|
+
allowUpload.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$u, [
|
|
17872
17872
|
vue.createElementVNode("p", null, [
|
|
17873
17873
|
vue.createTextVNode(vue.toDisplayString(_ctx.dragDropLabel) + " ", 1),
|
|
17874
17874
|
vue.createElementVNode("span", null, vue.toDisplayString(_ctx.browseLabel), 1)
|
|
17875
17875
|
])
|
|
17876
17876
|
])) : vue.createCommentVNode("", true),
|
|
17877
|
-
vue.createElementVNode("div", _hoisted_4$
|
|
17877
|
+
vue.createElementVNode("div", _hoisted_4$e, [
|
|
17878
17878
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(files.value, (item, index2) => {
|
|
17879
17879
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
17880
17880
|
class: vue.normalizeClass({ uploading: item.uploading }),
|
|
@@ -17895,7 +17895,7 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
|
17895
17895
|
style: vue.normalizeStyle([`--p:${item.progress}`, { "--b": "2px" }])
|
|
17896
17896
|
}, [
|
|
17897
17897
|
item.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_8$1, vue.toDisplayString(`${item.progress.toFixed(0)}`), 1)) : vue.createCommentVNode("", true),
|
|
17898
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
17898
|
+
vue.createVNode(vue.unref(_sfc_main$R), {
|
|
17899
17899
|
class: "success",
|
|
17900
17900
|
icon: "check"
|
|
17901
17901
|
})
|
|
@@ -17912,7 +17912,7 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
|
17912
17912
|
], 2);
|
|
17913
17913
|
}), 128))
|
|
17914
17914
|
])
|
|
17915
|
-
], 40, _hoisted_2$
|
|
17915
|
+
], 40, _hoisted_2$x),
|
|
17916
17916
|
vue.createElementVNode("input", {
|
|
17917
17917
|
class: "file-input",
|
|
17918
17918
|
type: "file",
|
|
@@ -17925,13 +17925,13 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
|
17925
17925
|
};
|
|
17926
17926
|
}
|
|
17927
17927
|
});
|
|
17928
|
-
const _hoisted_1$
|
|
17928
|
+
const _hoisted_1$A = {
|
|
17929
17929
|
key: 0,
|
|
17930
17930
|
class: "person-card-edit flex gap-2"
|
|
17931
17931
|
};
|
|
17932
|
-
const _hoisted_2$
|
|
17933
|
-
const _hoisted_3$
|
|
17934
|
-
const _hoisted_4$
|
|
17932
|
+
const _hoisted_2$w = { class: "person-card-icon-wrap" };
|
|
17933
|
+
const _hoisted_3$t = { class: "person-card-icon" };
|
|
17934
|
+
const _hoisted_4$d = { class: "person-card-name txt20" };
|
|
17935
17935
|
const _hoisted_5$a = { class: "person-card-details-wrap" };
|
|
17936
17936
|
const _hoisted_6$7 = {
|
|
17937
17937
|
key: 0,
|
|
@@ -17947,7 +17947,7 @@ const _hoisted_8 = {
|
|
|
17947
17947
|
};
|
|
17948
17948
|
const _hoisted_9 = { key: 0 };
|
|
17949
17949
|
const _hoisted_10 = { key: 1 };
|
|
17950
|
-
const _sfc_main$
|
|
17950
|
+
const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
17951
17951
|
__name: "PersonPreviewFormkit",
|
|
17952
17952
|
props: {
|
|
17953
17953
|
context: {},
|
|
@@ -17978,7 +17978,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
|
17978
17978
|
(...args) => _ctx.onClick && _ctx.onClick(...args)),
|
|
17979
17979
|
class: "person-card"
|
|
17980
17980
|
}, [
|
|
17981
|
-
!_ctx.onClick ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
17981
|
+
!_ctx.onClick ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$A, [
|
|
17982
17982
|
!_ctx.$route.path.match("/search") ? (vue.openBlock(), vue.createBlock(vue.unref(Btn), {
|
|
17983
17983
|
key: 0,
|
|
17984
17984
|
onClick: vue.unref(hideModal),
|
|
@@ -17996,13 +17996,13 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
|
17996
17996
|
icon: "edit"
|
|
17997
17997
|
})
|
|
17998
17998
|
])) : vue.createCommentVNode("", true),
|
|
17999
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
18000
|
-
vue.createElementVNode("p", _hoisted_3$
|
|
18001
|
-
vue.createElementVNode("p", _hoisted_4$
|
|
17999
|
+
vue.createElementVNode("div", _hoisted_2$w, [
|
|
18000
|
+
vue.createElementVNode("p", _hoisted_3$t, vue.toDisplayString(vue.unref(initials)(person.value.first_name, person.value.last_name)), 1),
|
|
18001
|
+
vue.createElementVNode("p", _hoisted_4$d, vue.toDisplayString(person.value.first_name) + " " + vue.toDisplayString(person.value.last_name), 1)
|
|
18002
18002
|
]),
|
|
18003
18003
|
vue.createElementVNode("div", _hoisted_5$a, [
|
|
18004
18004
|
((_a = person.value.phone) == null ? void 0 : _a.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$7, [
|
|
18005
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
18005
|
+
vue.createVNode(vue.unref(_sfc_main$R), { icon: "phone" }),
|
|
18006
18006
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(person.value.phone, (phone) => {
|
|
18007
18007
|
return vue.openBlock(), vue.createElementBlock("p", {
|
|
18008
18008
|
key: phone.id
|
|
@@ -18010,7 +18010,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
|
18010
18010
|
}), 128))
|
|
18011
18011
|
])) : vue.createCommentVNode("", true),
|
|
18012
18012
|
((_b = person.value.email) == null ? void 0 : _b.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$3, [
|
|
18013
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
18013
|
+
vue.createVNode(vue.unref(_sfc_main$R), { icon: "email" }),
|
|
18014
18014
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(person.value.email, (email) => {
|
|
18015
18015
|
return vue.openBlock(), vue.createElementBlock("p", {
|
|
18016
18016
|
key: email.id
|
|
@@ -18018,7 +18018,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
|
18018
18018
|
}), 128))
|
|
18019
18019
|
])) : vue.createCommentVNode("", true),
|
|
18020
18020
|
person.value.date_of_birth || person.value.gender ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8, [
|
|
18021
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
18021
|
+
vue.createVNode(vue.unref(_sfc_main$R), { icon: "badge" }),
|
|
18022
18022
|
person.value.date_of_birth ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_9, vue.toDisplayString(person.value.date_of_birth), 1)) : vue.createCommentVNode("", true),
|
|
18023
18023
|
person.value.gender ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_10, vue.toDisplayString(person.value.gender), 1)) : vue.createCommentVNode("", true)
|
|
18024
18024
|
])) : vue.createCommentVNode("", true)
|
|
@@ -18027,7 +18027,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
|
18027
18027
|
};
|
|
18028
18028
|
}
|
|
18029
18029
|
});
|
|
18030
|
-
const _sfc_main$
|
|
18030
|
+
const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
18031
18031
|
__name: "TextVariableExamples",
|
|
18032
18032
|
props: {
|
|
18033
18033
|
context: Object
|
|
@@ -18103,7 +18103,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
18103
18103
|
}, [
|
|
18104
18104
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(variables.value, (v) => {
|
|
18105
18105
|
var _a;
|
|
18106
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
18106
|
+
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$6), {
|
|
18107
18107
|
key: v,
|
|
18108
18108
|
placeholder: `Variable ${v}`,
|
|
18109
18109
|
modelValue: (_a = vue.unref(val)) == null ? void 0 : _a[v - 1],
|
|
@@ -18119,14 +18119,14 @@ const AddressInput = createInput(AddressArray);
|
|
|
18119
18119
|
const BankDetailsInput = createInput(BankDetailsArray);
|
|
18120
18120
|
const MiscFieldsInput = createInput(MiscFieldsBtns);
|
|
18121
18121
|
const ToggleSwitchInput = createInput(Toggle);
|
|
18122
|
-
const FileUploadInput = createInput(_sfc_main$
|
|
18123
|
-
const TextVariablesInput = createInput(_sfc_main$
|
|
18124
|
-
const PersonPreviewInput = createInput(_sfc_main$
|
|
18125
|
-
const _hoisted_1$
|
|
18122
|
+
const FileUploadInput = createInput(_sfc_main$s);
|
|
18123
|
+
const TextVariablesInput = createInput(_sfc_main$q);
|
|
18124
|
+
const PersonPreviewInput = createInput(_sfc_main$r);
|
|
18125
|
+
const _hoisted_1$z = {
|
|
18126
18126
|
key: 1,
|
|
18127
18127
|
class: "pill"
|
|
18128
18128
|
};
|
|
18129
|
-
const _sfc_main$
|
|
18129
|
+
const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
18130
18130
|
__name: "ItemRef",
|
|
18131
18131
|
props: {
|
|
18132
18132
|
modelValue: {},
|
|
@@ -18160,15 +18160,15 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
|
18160
18160
|
}, {
|
|
18161
18161
|
default: vue.withCtx(() => [
|
|
18162
18162
|
vue.createTextVNode(vue.toDisplayString(content.value) + " ", 1),
|
|
18163
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
18163
|
+
vue.createVNode(vue.unref(_sfc_main$R), { icon: "arrow_forward" })
|
|
18164
18164
|
]),
|
|
18165
18165
|
_: 1
|
|
18166
|
-
})) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$
|
|
18166
|
+
})) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$z, vue.toDisplayString(content.value), 1))
|
|
18167
18167
|
]);
|
|
18168
18168
|
};
|
|
18169
18169
|
}
|
|
18170
18170
|
});
|
|
18171
|
-
const _sfc_main$
|
|
18171
|
+
const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
18172
18172
|
__name: "MaterialIcon",
|
|
18173
18173
|
props: {
|
|
18174
18174
|
icon: {},
|
|
@@ -18183,13 +18183,13 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
|
18183
18183
|
};
|
|
18184
18184
|
}
|
|
18185
18185
|
});
|
|
18186
|
-
const _hoisted_1$
|
|
18187
|
-
const _hoisted_2$
|
|
18188
|
-
const _hoisted_3$
|
|
18189
|
-
const _hoisted_4$
|
|
18186
|
+
const _hoisted_1$y = { class: "bagel-input" };
|
|
18187
|
+
const _hoisted_2$v = ["for"];
|
|
18188
|
+
const _hoisted_3$s = ["checked"];
|
|
18189
|
+
const _hoisted_4$c = ["name", "type", "value"];
|
|
18190
18190
|
const _hoisted_5$9 = ["name", "type", "value"];
|
|
18191
18191
|
const _hoisted_6$6 = ["name", "type", "value"];
|
|
18192
|
-
const _sfc_main$
|
|
18192
|
+
const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
18193
18193
|
__name: "PlainInputField",
|
|
18194
18194
|
props: {
|
|
18195
18195
|
type: {},
|
|
@@ -18219,14 +18219,14 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
18219
18219
|
}
|
|
18220
18220
|
});
|
|
18221
18221
|
return (_ctx, _cache) => {
|
|
18222
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
18222
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$y, [
|
|
18223
18223
|
vue.createElementVNode("label", {
|
|
18224
18224
|
for: vue.unref(formatString)(_ctx.name, "pascal")
|
|
18225
18225
|
}, [
|
|
18226
|
-
vue.createVNode(_sfc_main$
|
|
18226
|
+
vue.createVNode(_sfc_main$T, {
|
|
18227
18227
|
input: vue.unref(formatString)(_ctx.name, "titleCase")
|
|
18228
18228
|
}, null, 8, ["input"])
|
|
18229
|
-
], 8, _hoisted_2$
|
|
18229
|
+
], 8, _hoisted_2$v),
|
|
18230
18230
|
_ctx.type === "checkbox" ? (vue.openBlock(), vue.createElementBlock("input", {
|
|
18231
18231
|
key: 0,
|
|
18232
18232
|
ref_key: "el",
|
|
@@ -18235,7 +18235,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
18235
18235
|
class: "ctl",
|
|
18236
18236
|
type: "checkbox",
|
|
18237
18237
|
onChange: handleCheck
|
|
18238
|
-
}, null, 40, _hoisted_3$
|
|
18238
|
+
}, null, 40, _hoisted_3$s)) : _ctx.type === "number" ? (vue.openBlock(), vue.createElementBlock("input", {
|
|
18239
18239
|
key: 1,
|
|
18240
18240
|
ref_key: "el",
|
|
18241
18241
|
ref: el,
|
|
@@ -18244,7 +18244,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
18244
18244
|
value: _ctx.modelValue,
|
|
18245
18245
|
class: "ctl",
|
|
18246
18246
|
onInput: handleInput
|
|
18247
|
-
}, null, 40, _hoisted_4$
|
|
18247
|
+
}, null, 40, _hoisted_4$c)) : _ctx.type === "text" ? (vue.openBlock(), vue.createElementBlock("input", {
|
|
18248
18248
|
key: 2,
|
|
18249
18249
|
ref_key: "el",
|
|
18250
18250
|
ref: el,
|
|
@@ -18264,19 +18264,19 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
18264
18264
|
onInput: handleInput
|
|
18265
18265
|
}, null, 40, _hoisted_6$6)) : vue.createCommentVNode("", true),
|
|
18266
18266
|
vue.createElementVNode("div", null, [
|
|
18267
|
-
vue.createVNode(_sfc_main$
|
|
18267
|
+
vue.createVNode(_sfc_main$T, { input: _ctx.errorMessage }, null, 8, ["input"])
|
|
18268
18268
|
])
|
|
18269
18269
|
]);
|
|
18270
18270
|
};
|
|
18271
18271
|
}
|
|
18272
18272
|
});
|
|
18273
18273
|
const _withScopeId = (n) => (vue.pushScopeId("data-v-69f0d857"), n = n(), vue.popScopeId(), n);
|
|
18274
|
-
const _hoisted_1$
|
|
18275
|
-
const _hoisted_2$
|
|
18276
|
-
const _hoisted_3$
|
|
18277
|
-
const _hoisted_4$
|
|
18274
|
+
const _hoisted_1$x = ["title"];
|
|
18275
|
+
const _hoisted_2$u = ["for"];
|
|
18276
|
+
const _hoisted_3$r = { class: "switch" };
|
|
18277
|
+
const _hoisted_4$b = ["id"];
|
|
18278
18278
|
const _hoisted_5$8 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("span", { class: "slider round" }, null, -1));
|
|
18279
|
-
const _sfc_main$
|
|
18279
|
+
const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
18280
18280
|
__name: "CheckInput",
|
|
18281
18281
|
props: {
|
|
18282
18282
|
field: {},
|
|
@@ -18309,29 +18309,29 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
|
18309
18309
|
}, [
|
|
18310
18310
|
vue.createElementVNode("label", {
|
|
18311
18311
|
for: _ctx.field.id
|
|
18312
|
-
}, vue.toDisplayString(_ctx.field.label), 9, _hoisted_2$
|
|
18313
|
-
vue.createElementVNode("label", _hoisted_3$
|
|
18312
|
+
}, vue.toDisplayString(_ctx.field.label), 9, _hoisted_2$u),
|
|
18313
|
+
vue.createElementVNode("label", _hoisted_3$r, [
|
|
18314
18314
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
18315
18315
|
id: _ctx.field.id,
|
|
18316
18316
|
type: "checkbox",
|
|
18317
18317
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inputVal.value = $event),
|
|
18318
18318
|
class: vue.normalizeClass({ "no-edit": !_ctx.editMode })
|
|
18319
|
-
}, null, 10, _hoisted_4$
|
|
18319
|
+
}, null, 10, _hoisted_4$b), [
|
|
18320
18320
|
[vue.vModelCheckbox, inputVal.value]
|
|
18321
18321
|
]),
|
|
18322
18322
|
_hoisted_5$8
|
|
18323
18323
|
])
|
|
18324
|
-
], 10, _hoisted_1$
|
|
18324
|
+
], 10, _hoisted_1$x);
|
|
18325
18325
|
};
|
|
18326
18326
|
}
|
|
18327
18327
|
});
|
|
18328
|
-
const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18329
|
-
const _hoisted_1$
|
|
18330
|
-
const _hoisted_2$
|
|
18331
|
-
const _hoisted_3$
|
|
18332
|
-
const _hoisted_4$
|
|
18328
|
+
const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-69f0d857"]]);
|
|
18329
|
+
const _hoisted_1$w = ["title"];
|
|
18330
|
+
const _hoisted_2$t = { key: 0 };
|
|
18331
|
+
const _hoisted_3$q = { class: "flex gap-3" };
|
|
18332
|
+
const _hoisted_4$a = ["value", "placeholder"];
|
|
18333
18333
|
const _hoisted_5$7 = { class: "currency" };
|
|
18334
|
-
const _sfc_main$
|
|
18334
|
+
const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
18335
18335
|
__name: "CurrencyInput",
|
|
18336
18336
|
props: {
|
|
18337
18337
|
field: {},
|
|
@@ -18432,26 +18432,26 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
|
18432
18432
|
class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
18433
18433
|
title: _ctx.field.description
|
|
18434
18434
|
}, [
|
|
18435
|
-
_ctx.field.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$
|
|
18436
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
18435
|
+
_ctx.field.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$t, vue.toDisplayString(_ctx.field.label), 1)) : vue.createCommentVNode("", true),
|
|
18436
|
+
vue.createElementVNode("div", _hoisted_3$q, [
|
|
18437
18437
|
vue.createElementVNode("input", {
|
|
18438
18438
|
value: _ctx.modelValue,
|
|
18439
18439
|
type: "number",
|
|
18440
18440
|
onInput: handleInput,
|
|
18441
18441
|
placeholder: _ctx.placeholder,
|
|
18442
18442
|
class: vue.normalizeClass({ "no-edit": !_ctx.editMode })
|
|
18443
|
-
}, null, 42, _hoisted_4$
|
|
18443
|
+
}, null, 42, _hoisted_4$a),
|
|
18444
18444
|
vue.createElementVNode("p", _hoisted_5$7, vue.toDisplayString(((_a = currencies.find((c) => c.symbol === _ctx.field.currency)) == null ? void 0 : _a.character) || _ctx.field.currency), 1)
|
|
18445
18445
|
])
|
|
18446
|
-
], 10, _hoisted_1$
|
|
18446
|
+
], 10, _hoisted_1$w);
|
|
18447
18447
|
};
|
|
18448
18448
|
}
|
|
18449
18449
|
});
|
|
18450
|
-
const CurrencyInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18451
|
-
const _hoisted_1$
|
|
18452
|
-
const _hoisted_2$
|
|
18453
|
-
const _hoisted_3$
|
|
18454
|
-
const _sfc_main$
|
|
18450
|
+
const CurrencyInput = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-17a56a3f"]]);
|
|
18451
|
+
const _hoisted_1$v = ["title"];
|
|
18452
|
+
const _hoisted_2$s = { key: 0 };
|
|
18453
|
+
const _hoisted_3$p = ["placeholder", "disabled"];
|
|
18454
|
+
const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
18455
18455
|
__name: "DateInput",
|
|
18456
18456
|
props: {
|
|
18457
18457
|
field: {},
|
|
@@ -18472,7 +18472,7 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
|
18472
18472
|
class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
18473
18473
|
title: _ctx.field.description
|
|
18474
18474
|
}, [
|
|
18475
|
-
_ctx.field.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$
|
|
18475
|
+
_ctx.field.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$s, vue.toDisplayString(_ctx.field.label), 1)) : vue.createCommentVNode("", true),
|
|
18476
18476
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
18477
18477
|
type: "date",
|
|
18478
18478
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => date2.value = $event),
|
|
@@ -18482,18 +18482,18 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
|
18482
18482
|
disabled: !_ctx.editMode,
|
|
18483
18483
|
enableTimePicker: false,
|
|
18484
18484
|
textInputOptions: { format: "yyyy-MM-dd" }
|
|
18485
|
-
}, null, 40, _hoisted_3$
|
|
18485
|
+
}, null, 40, _hoisted_3$p), [
|
|
18486
18486
|
[vue.vModelText, date2.value]
|
|
18487
18487
|
])
|
|
18488
|
-
], 10, _hoisted_1$
|
|
18488
|
+
], 10, _hoisted_1$v);
|
|
18489
18489
|
};
|
|
18490
18490
|
}
|
|
18491
18491
|
});
|
|
18492
|
-
const DateInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18493
|
-
const _hoisted_1$
|
|
18494
|
-
const _hoisted_2$
|
|
18495
|
-
const _hoisted_3$
|
|
18496
|
-
const _sfc_main$
|
|
18492
|
+
const DateInput = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-782aee7f"]]);
|
|
18493
|
+
const _hoisted_1$u = ["title"];
|
|
18494
|
+
const _hoisted_2$r = { key: 0 };
|
|
18495
|
+
const _hoisted_3$o = ["value", "placeholder"];
|
|
18496
|
+
const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
18497
18497
|
__name: "DatetimeInput",
|
|
18498
18498
|
props: {
|
|
18499
18499
|
description: { default: "" },
|
|
@@ -18519,7 +18519,7 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
18519
18519
|
class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
18520
18520
|
title: _ctx.description
|
|
18521
18521
|
}, [
|
|
18522
|
-
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$
|
|
18522
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$r, [
|
|
18523
18523
|
vue.createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
|
|
18524
18524
|
])) : vue.createCommentVNode("", true),
|
|
18525
18525
|
vue.createElementVNode("input", {
|
|
@@ -18528,15 +18528,15 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
18528
18528
|
onInput: handleInput,
|
|
18529
18529
|
placeholder: _ctx.placeholder,
|
|
18530
18530
|
class: vue.normalizeClass({ "no-edit": !_ctx.editMode })
|
|
18531
|
-
}, null, 42, _hoisted_3$
|
|
18532
|
-
], 10, _hoisted_1$
|
|
18531
|
+
}, null, 42, _hoisted_3$o)
|
|
18532
|
+
], 10, _hoisted_1$u);
|
|
18533
18533
|
};
|
|
18534
18534
|
}
|
|
18535
18535
|
});
|
|
18536
|
-
const _hoisted_1$
|
|
18537
|
-
const _hoisted_2$
|
|
18538
|
-
const _hoisted_3$
|
|
18539
|
-
const _sfc_main$
|
|
18536
|
+
const _hoisted_1$t = ["title"];
|
|
18537
|
+
const _hoisted_2$q = { key: 0 };
|
|
18538
|
+
const _hoisted_3$n = ["value", "placeholder"];
|
|
18539
|
+
const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
18540
18540
|
__name: "EmailInput",
|
|
18541
18541
|
props: {
|
|
18542
18542
|
description: { default: "" },
|
|
@@ -18559,7 +18559,7 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
|
18559
18559
|
class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
18560
18560
|
title: _ctx.description
|
|
18561
18561
|
}, [
|
|
18562
|
-
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$
|
|
18562
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$q, [
|
|
18563
18563
|
vue.createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
|
|
18564
18564
|
])) : vue.createCommentVNode("", true),
|
|
18565
18565
|
vue.createElementVNode("input", {
|
|
@@ -18569,16 +18569,16 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
|
18569
18569
|
onInput: handleInput,
|
|
18570
18570
|
class: vue.normalizeClass({ "no-edit": !_ctx.editMode }),
|
|
18571
18571
|
placeholder: _ctx.placeholder
|
|
18572
|
-
}, null, 42, _hoisted_3$
|
|
18573
|
-
], 10, _hoisted_1$
|
|
18572
|
+
}, null, 42, _hoisted_3$n)
|
|
18573
|
+
], 10, _hoisted_1$t);
|
|
18574
18574
|
};
|
|
18575
18575
|
}
|
|
18576
18576
|
});
|
|
18577
|
-
const EmailInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18578
|
-
const _hoisted_1$
|
|
18579
|
-
const _hoisted_2$
|
|
18580
|
-
const _hoisted_3$
|
|
18581
|
-
const _sfc_main$
|
|
18577
|
+
const EmailInput = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-ed81a514"]]);
|
|
18578
|
+
const _hoisted_1$s = ["title"];
|
|
18579
|
+
const _hoisted_2$p = { key: 0 };
|
|
18580
|
+
const _hoisted_3$m = ["value", "placeholder"];
|
|
18581
|
+
const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
18582
18582
|
__name: "FloatInput",
|
|
18583
18583
|
props: {
|
|
18584
18584
|
description: { default: "" },
|
|
@@ -18605,7 +18605,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
|
18605
18605
|
class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
18606
18606
|
title: _ctx.description
|
|
18607
18607
|
}, [
|
|
18608
|
-
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$
|
|
18608
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$p, [
|
|
18609
18609
|
vue.createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
|
|
18610
18610
|
])) : vue.createCommentVNode("", true),
|
|
18611
18611
|
vue.createElementVNode("input", {
|
|
@@ -18614,15 +18614,15 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
|
18614
18614
|
onInput: handleInput,
|
|
18615
18615
|
class: vue.normalizeClass({ "no-edit": !_ctx.editMode }),
|
|
18616
18616
|
placeholder: _ctx.placeholder
|
|
18617
|
-
}, null, 42, _hoisted_3$
|
|
18618
|
-
], 10, _hoisted_1$
|
|
18617
|
+
}, null, 42, _hoisted_3$m)
|
|
18618
|
+
], 10, _hoisted_1$s);
|
|
18619
18619
|
};
|
|
18620
18620
|
}
|
|
18621
18621
|
});
|
|
18622
|
-
const _hoisted_1$
|
|
18623
|
-
const _hoisted_2$
|
|
18624
|
-
const _hoisted_3$
|
|
18625
|
-
const _sfc_main$
|
|
18622
|
+
const _hoisted_1$r = ["title"];
|
|
18623
|
+
const _hoisted_2$o = { key: 0 };
|
|
18624
|
+
const _hoisted_3$l = ["value", "placeholder"];
|
|
18625
|
+
const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
18626
18626
|
__name: "IntInput",
|
|
18627
18627
|
props: {
|
|
18628
18628
|
description: { default: "" },
|
|
@@ -18649,7 +18649,7 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
18649
18649
|
class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
18650
18650
|
title: _ctx.description
|
|
18651
18651
|
}, [
|
|
18652
|
-
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$
|
|
18652
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$o, [
|
|
18653
18653
|
vue.createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
|
|
18654
18654
|
])) : vue.createCommentVNode("", true),
|
|
18655
18655
|
vue.createElementVNode("input", {
|
|
@@ -18658,15 +18658,15 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
18658
18658
|
onInput: handleInput,
|
|
18659
18659
|
class: vue.normalizeClass({ "no-edit": !_ctx.editMode }),
|
|
18660
18660
|
placeholder: _ctx.placeholder
|
|
18661
|
-
}, null, 42, _hoisted_3$
|
|
18662
|
-
], 10, _hoisted_1$
|
|
18661
|
+
}, null, 42, _hoisted_3$l)
|
|
18662
|
+
], 10, _hoisted_1$r);
|
|
18663
18663
|
};
|
|
18664
18664
|
}
|
|
18665
18665
|
});
|
|
18666
|
-
const _hoisted_1$
|
|
18667
|
-
const _hoisted_2$
|
|
18668
|
-
const _hoisted_3$
|
|
18669
|
-
const _sfc_main$
|
|
18666
|
+
const _hoisted_1$q = ["title"];
|
|
18667
|
+
const _hoisted_2$n = { key: 0 };
|
|
18668
|
+
const _hoisted_3$k = ["value", "placeholder"];
|
|
18669
|
+
const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
18670
18670
|
__name: "JSONInput",
|
|
18671
18671
|
props: {
|
|
18672
18672
|
description: { default: "" },
|
|
@@ -18689,7 +18689,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
|
18689
18689
|
class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
18690
18690
|
title: _ctx.description
|
|
18691
18691
|
}, [
|
|
18692
|
-
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$
|
|
18692
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$n, [
|
|
18693
18693
|
vue.createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
|
|
18694
18694
|
])) : vue.createCommentVNode("", true),
|
|
18695
18695
|
vue.createElementVNode("textarea", {
|
|
@@ -18697,16 +18697,16 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
|
18697
18697
|
onInput: handleInput,
|
|
18698
18698
|
class: vue.normalizeClass({ "no-edit": !_ctx.editMode }),
|
|
18699
18699
|
placeholder: _ctx.placeholder
|
|
18700
|
-
}, null, 42, _hoisted_3$
|
|
18701
|
-
], 10, _hoisted_1$
|
|
18700
|
+
}, null, 42, _hoisted_3$k)
|
|
18701
|
+
], 10, _hoisted_1$q);
|
|
18702
18702
|
};
|
|
18703
18703
|
}
|
|
18704
18704
|
});
|
|
18705
|
-
const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18706
|
-
const _hoisted_1$
|
|
18707
|
-
const _hoisted_2$
|
|
18708
|
-
const _hoisted_3$
|
|
18709
|
-
const _hoisted_4$
|
|
18705
|
+
const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-1fc4f739"]]);
|
|
18706
|
+
const _hoisted_1$p = ["title"];
|
|
18707
|
+
const _hoisted_2$m = { key: 0 };
|
|
18708
|
+
const _hoisted_3$j = ["onKeydown", "disabled"];
|
|
18709
|
+
const _hoisted_4$9 = ["onClick"];
|
|
18710
18710
|
const _hoisted_5$6 = {
|
|
18711
18711
|
key: 0,
|
|
18712
18712
|
class: "option-label"
|
|
@@ -18716,7 +18716,7 @@ const _hoisted_6$5 = {
|
|
|
18716
18716
|
class: "option-label"
|
|
18717
18717
|
};
|
|
18718
18718
|
const _hoisted_7$2 = { class: "option-description" };
|
|
18719
|
-
const _sfc_main$
|
|
18719
|
+
const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
18720
18720
|
__name: "LinkField",
|
|
18721
18721
|
props: {
|
|
18722
18722
|
description: { default: "" },
|
|
@@ -18840,7 +18840,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
|
18840
18840
|
class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
18841
18841
|
title: _ctx.description
|
|
18842
18842
|
}, [
|
|
18843
|
-
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$
|
|
18843
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$m, [
|
|
18844
18844
|
vue.createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
|
|
18845
18845
|
])) : vue.createCommentVNode("", true),
|
|
18846
18846
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
@@ -18852,7 +18852,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
|
18852
18852
|
onFocus: initList,
|
|
18853
18853
|
onInput: handleInput,
|
|
18854
18854
|
disabled: !_ctx.editMode
|
|
18855
|
-
}, null, 40, _hoisted_3$
|
|
18855
|
+
}, null, 40, _hoisted_3$j), [
|
|
18856
18856
|
[vue.vModelText, selectedItem.value]
|
|
18857
18857
|
]),
|
|
18858
18858
|
vue.createElementVNode("div", {
|
|
@@ -18877,21 +18877,21 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
|
18877
18877
|
vue.createElementVNode("span", null, "ID: " + vue.toDisplayString(option2.value), 1)
|
|
18878
18878
|
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$5, " ID: " + vue.toDisplayString(option2.value), 1)),
|
|
18879
18879
|
vue.createElementVNode("div", _hoisted_7$2, vue.toDisplayString(option2.description), 1)
|
|
18880
|
-
], 8, _hoisted_4$
|
|
18880
|
+
], 8, _hoisted_4$9);
|
|
18881
18881
|
}), 128))
|
|
18882
18882
|
], 2)
|
|
18883
18883
|
]))
|
|
18884
18884
|
], 2)
|
|
18885
|
-
], 10, _hoisted_1$
|
|
18885
|
+
], 10, _hoisted_1$p);
|
|
18886
18886
|
};
|
|
18887
18887
|
}
|
|
18888
18888
|
});
|
|
18889
|
-
const LinkField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18890
|
-
const _hoisted_1$
|
|
18891
|
-
const _hoisted_2$
|
|
18892
|
-
const _hoisted_3$
|
|
18893
|
-
const _hoisted_4$
|
|
18894
|
-
const _sfc_main$
|
|
18889
|
+
const LinkField = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-947beb38"]]);
|
|
18890
|
+
const _hoisted_1$o = ["title"];
|
|
18891
|
+
const _hoisted_2$l = { key: 0 };
|
|
18892
|
+
const _hoisted_3$i = { class: "password-input-wrap" };
|
|
18893
|
+
const _hoisted_4$8 = ["value", "type", "placeholder"];
|
|
18894
|
+
const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
18895
18895
|
__name: "PasswordInput",
|
|
18896
18896
|
props: {
|
|
18897
18897
|
description: { default: "" },
|
|
@@ -18925,31 +18925,31 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
18925
18925
|
class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
18926
18926
|
title: _ctx.description
|
|
18927
18927
|
}, [
|
|
18928
|
-
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$
|
|
18928
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$l, [
|
|
18929
18929
|
vue.createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
|
|
18930
18930
|
])) : vue.createCommentVNode("", true),
|
|
18931
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
18931
|
+
vue.createElementVNode("div", _hoisted_3$i, [
|
|
18932
18932
|
vue.createElementVNode("input", {
|
|
18933
18933
|
value: _ctx.modelValue,
|
|
18934
18934
|
type: vue.unref(inputType),
|
|
18935
18935
|
onInput: handleInput,
|
|
18936
18936
|
placeholder: _ctx.placeholder,
|
|
18937
18937
|
class: vue.normalizeClass({ "no-edit": !_ctx.editMode })
|
|
18938
|
-
}, null, 42, _hoisted_4$
|
|
18938
|
+
}, null, 42, _hoisted_4$8),
|
|
18939
18939
|
vue.createElementVNode("div", {
|
|
18940
18940
|
class: "icon-font password-icon",
|
|
18941
18941
|
onMousedown: toggleInputType
|
|
18942
18942
|
}, " visibility ", 32)
|
|
18943
18943
|
])
|
|
18944
|
-
], 10, _hoisted_1$
|
|
18944
|
+
], 10, _hoisted_1$o);
|
|
18945
18945
|
};
|
|
18946
18946
|
}
|
|
18947
18947
|
});
|
|
18948
|
-
const PasswordInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18949
|
-
const _hoisted_1$
|
|
18950
|
-
const _hoisted_2$
|
|
18951
|
-
const _hoisted_3$
|
|
18952
|
-
const _sfc_main$
|
|
18948
|
+
const PasswordInput = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-eec3e237"]]);
|
|
18949
|
+
const _hoisted_1$n = ["title"];
|
|
18950
|
+
const _hoisted_2$k = ["for"];
|
|
18951
|
+
const _hoisted_3$h = ["id", "type", "placeholder", "required", "pattern"];
|
|
18952
|
+
const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
18953
18953
|
__name: "Password",
|
|
18954
18954
|
props: {
|
|
18955
18955
|
field: {},
|
|
@@ -18989,22 +18989,22 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
|
18989
18989
|
class: { "no-edit": !_ctx.editMode },
|
|
18990
18990
|
required: _ctx.required,
|
|
18991
18991
|
pattern: _ctx.pattern
|
|
18992
|
-
}, _ctx.nativeInputAttrs), null, 16, _hoisted_3$
|
|
18992
|
+
}, _ctx.nativeInputAttrs), null, 16, _hoisted_3$h), [
|
|
18993
18993
|
[vue.vModelDynamic, inputVal.value]
|
|
18994
18994
|
])
|
|
18995
|
-
], 8, _hoisted_2$
|
|
18996
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
18995
|
+
], 8, _hoisted_2$k),
|
|
18996
|
+
vue.createVNode(vue.unref(_sfc_main$R), {
|
|
18997
18997
|
onClick: showPassword,
|
|
18998
18998
|
icon: vue.unref(seePassword) ? "visibility" : "visibility_off"
|
|
18999
18999
|
}, null, 8, ["icon"])
|
|
19000
|
-
], 10, _hoisted_1$
|
|
19000
|
+
], 10, _hoisted_1$n)) : vue.createCommentVNode("", true);
|
|
19001
19001
|
};
|
|
19002
19002
|
}
|
|
19003
19003
|
});
|
|
19004
|
-
const Password = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19005
|
-
const _hoisted_1$
|
|
19006
|
-
const _hoisted_2$
|
|
19007
|
-
const _sfc_main$
|
|
19004
|
+
const Password = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-800f4000"]]);
|
|
19005
|
+
const _hoisted_1$m = ["title"];
|
|
19006
|
+
const _hoisted_2$j = { key: 0 };
|
|
19007
|
+
const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
19008
19008
|
__name: "ReadOnlyInput",
|
|
19009
19009
|
props: {
|
|
19010
19010
|
field: {},
|
|
@@ -19017,17 +19017,17 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
|
|
|
19017
19017
|
class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
19018
19018
|
title: _ctx.field.description
|
|
19019
19019
|
}, [
|
|
19020
|
-
_ctx.field.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$
|
|
19020
|
+
_ctx.field.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$j, vue.toDisplayString(_ctx.field.label), 1)) : vue.createCommentVNode("", true),
|
|
19021
19021
|
vue.createTextVNode(" " + vue.toDisplayString(_ctx.modelValue), 1)
|
|
19022
|
-
], 10, _hoisted_1$
|
|
19022
|
+
], 10, _hoisted_1$m);
|
|
19023
19023
|
};
|
|
19024
19024
|
}
|
|
19025
19025
|
});
|
|
19026
|
-
const ReadOnlyInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19027
|
-
const _hoisted_1$
|
|
19028
|
-
const _hoisted_2$
|
|
19029
|
-
const _hoisted_3$
|
|
19030
|
-
const _sfc_main$
|
|
19026
|
+
const ReadOnlyInput = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-b3b5a368"]]);
|
|
19027
|
+
const _hoisted_1$l = ["title"];
|
|
19028
|
+
const _hoisted_2$i = ["onClick"];
|
|
19029
|
+
const _hoisted_3$g = ["onClick"];
|
|
19030
|
+
const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
19031
19031
|
__name: "SelectField",
|
|
19032
19032
|
props: {
|
|
19033
19033
|
inputType: {},
|
|
@@ -19159,7 +19159,7 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
|
|
|
19159
19159
|
for: "label",
|
|
19160
19160
|
class: vue.normalizeClass({ active: showList.value })
|
|
19161
19161
|
}, [
|
|
19162
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
19162
|
+
vue.createVNode(vue.unref(_sfc_main$T), { input: _ctx.label }, null, 8, ["input"])
|
|
19163
19163
|
], 2)) : vue.createCommentVNode("", true),
|
|
19164
19164
|
vue.createElementVNode("div", {
|
|
19165
19165
|
class: vue.normalizeClass(["custom-select", { "open-select": showList.value && _ctx.editMode }]),
|
|
@@ -19171,8 +19171,8 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
|
|
|
19171
19171
|
class: vue.normalizeClass(["input", { active: showList.value }]),
|
|
19172
19172
|
name: "select-input"
|
|
19173
19173
|
}, [
|
|
19174
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
19175
|
-
], 10, _hoisted_2$
|
|
19174
|
+
vue.createVNode(vue.unref(_sfc_main$T), { input: displayValue.value }, null, 8, ["input"])
|
|
19175
|
+
], 10, _hoisted_2$i),
|
|
19176
19176
|
(vue.openBlock(), vue.createBlock(vue.Teleport, { to: "#app" }, [
|
|
19177
19177
|
vue.createElementVNode("div", {
|
|
19178
19178
|
ref_key: "dropdown",
|
|
@@ -19184,23 +19184,23 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
|
|
|
19184
19184
|
key: option2.value,
|
|
19185
19185
|
onClick: ($event) => handleSelect(option2)
|
|
19186
19186
|
}, [
|
|
19187
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
19187
|
+
vue.createVNode(vue.unref(_sfc_main$T), {
|
|
19188
19188
|
input: option2.label
|
|
19189
19189
|
}, null, 8, ["input"])
|
|
19190
|
-
], 8, _hoisted_3$
|
|
19190
|
+
], 8, _hoisted_3$g);
|
|
19191
19191
|
}), 128))
|
|
19192
19192
|
], 2)
|
|
19193
19193
|
]))
|
|
19194
19194
|
], 2)
|
|
19195
|
-
], 10, _hoisted_1$
|
|
19195
|
+
], 10, _hoisted_1$l);
|
|
19196
19196
|
};
|
|
19197
19197
|
}
|
|
19198
19198
|
});
|
|
19199
|
-
const SelectField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19200
|
-
const _hoisted_1$
|
|
19201
|
-
const _hoisted_2$
|
|
19202
|
-
const _hoisted_3$
|
|
19203
|
-
const _sfc_main$
|
|
19199
|
+
const SelectField = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-028ea61b"]]);
|
|
19200
|
+
const _hoisted_1$k = ["title"];
|
|
19201
|
+
const _hoisted_2$h = { key: 0 };
|
|
19202
|
+
const _hoisted_3$f = ["value", "placeholder"];
|
|
19203
|
+
const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
19204
19204
|
__name: "RichTextEditor",
|
|
19205
19205
|
props: {
|
|
19206
19206
|
description: { default: "" },
|
|
@@ -19223,7 +19223,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
19223
19223
|
class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
19224
19224
|
title: _ctx.description
|
|
19225
19225
|
}, [
|
|
19226
|
-
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$
|
|
19226
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$h, [
|
|
19227
19227
|
vue.createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
|
|
19228
19228
|
])) : vue.createCommentVNode("", true),
|
|
19229
19229
|
vue.createElementVNode("textarea", {
|
|
@@ -19231,12 +19231,12 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
19231
19231
|
onInput: handleInput,
|
|
19232
19232
|
placeholder: _ctx.placeholder,
|
|
19233
19233
|
class: vue.normalizeClass({ "no-edit": !_ctx.editMode })
|
|
19234
|
-
}, null, 42, _hoisted_3$
|
|
19235
|
-
], 10, _hoisted_1$
|
|
19234
|
+
}, null, 42, _hoisted_3$f)
|
|
19235
|
+
], 10, _hoisted_1$k);
|
|
19236
19236
|
};
|
|
19237
19237
|
}
|
|
19238
19238
|
});
|
|
19239
|
-
const RichTextEditor = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19239
|
+
const RichTextEditor = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-69a60381"]]);
|
|
19240
19240
|
/*!
|
|
19241
19241
|
* vue-draggable-next v2.2.0
|
|
19242
19242
|
* (c) 2023 Anish George
|
|
@@ -21759,13 +21759,13 @@ const VueDraggableNext = vue.defineComponent({
|
|
|
21759
21759
|
}
|
|
21760
21760
|
}
|
|
21761
21761
|
});
|
|
21762
|
-
const _hoisted_1$
|
|
21763
|
-
const _hoisted_2$
|
|
21764
|
-
const _hoisted_3$
|
|
21765
|
-
const _hoisted_4$
|
|
21762
|
+
const _hoisted_1$j = ["title"];
|
|
21763
|
+
const _hoisted_2$g = { class: "bagel-input" };
|
|
21764
|
+
const _hoisted_3$e = { class: "table-side-scroll" };
|
|
21765
|
+
const _hoisted_4$7 = { class: "table-header" };
|
|
21766
21766
|
const _hoisted_5$5 = { class: "table-reorder" };
|
|
21767
21767
|
const _hoisted_6$4 = { class: "table-action" };
|
|
21768
|
-
const _sfc_main$
|
|
21768
|
+
const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
21769
21769
|
__name: "TableField",
|
|
21770
21770
|
props: {
|
|
21771
21771
|
description: { default: "" },
|
|
@@ -21830,11 +21830,11 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
|
21830
21830
|
class: "table-field-wrap",
|
|
21831
21831
|
title: _ctx.description
|
|
21832
21832
|
}, [
|
|
21833
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
21833
|
+
vue.createElementVNode("div", _hoisted_2$g, [
|
|
21834
21834
|
vue.createElementVNode("label", null, vue.toDisplayString((_a = vue.unref(fieldMeta)) == null ? void 0 : _a.label), 1)
|
|
21835
21835
|
]),
|
|
21836
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
21837
|
-
vue.createElementVNode("div", _hoisted_4$
|
|
21836
|
+
vue.createElementVNode("div", _hoisted_3$e, [
|
|
21837
|
+
vue.createElementVNode("div", _hoisted_4$7, [
|
|
21838
21838
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList((_b = vue.unref(entityMeta)) == null ? void 0 : _b.fields, (field) => {
|
|
21839
21839
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
21840
21840
|
class: vue.normalizeClass(["header-col", vue.unref(formatString)(field.fieldtype, "pascal")]),
|
|
@@ -21862,7 +21862,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
|
21862
21862
|
key: row.id
|
|
21863
21863
|
}, [
|
|
21864
21864
|
vue.createElementVNode("div", _hoisted_5$5, [
|
|
21865
|
-
vue.createVNode(_sfc_main$
|
|
21865
|
+
vue.createVNode(_sfc_main$o, { icon: "more_vert" })
|
|
21866
21866
|
]),
|
|
21867
21867
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList((_a2 = vue.unref(entityMeta)) == null ? void 0 : _a2.fields, (field) => {
|
|
21868
21868
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -21879,7 +21879,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
|
21879
21879
|
], 2);
|
|
21880
21880
|
}), 128)),
|
|
21881
21881
|
vue.createElementVNode("div", _hoisted_6$4, [
|
|
21882
|
-
vue.createVNode(_sfc_main$
|
|
21882
|
+
vue.createVNode(_sfc_main$o, {
|
|
21883
21883
|
icon: "delete",
|
|
21884
21884
|
onClick: ($event) => removeRow(index2)
|
|
21885
21885
|
}, null, 8, ["onClick"])
|
|
@@ -21905,15 +21905,15 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
|
21905
21905
|
]),
|
|
21906
21906
|
_: 1
|
|
21907
21907
|
})
|
|
21908
|
-
], 8, _hoisted_1$
|
|
21908
|
+
], 8, _hoisted_1$j);
|
|
21909
21909
|
};
|
|
21910
21910
|
}
|
|
21911
21911
|
});
|
|
21912
|
-
const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
21913
|
-
const _hoisted_1$
|
|
21914
|
-
const _hoisted_2$
|
|
21915
|
-
const _hoisted_3$
|
|
21916
|
-
const _sfc_main$
|
|
21912
|
+
const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-b01223bc"]]);
|
|
21913
|
+
const _hoisted_1$i = ["title"];
|
|
21914
|
+
const _hoisted_2$f = { key: 0 };
|
|
21915
|
+
const _hoisted_3$d = ["value", "title", "placeholder"];
|
|
21916
|
+
const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
|
|
21917
21917
|
__name: "DurationInput",
|
|
21918
21918
|
props: {
|
|
21919
21919
|
description: { default: "" },
|
|
@@ -21940,7 +21940,7 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
|
|
|
21940
21940
|
class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
21941
21941
|
title: _ctx.description
|
|
21942
21942
|
}, [
|
|
21943
|
-
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$
|
|
21943
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$f, [
|
|
21944
21944
|
vue.createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
|
|
21945
21945
|
])) : vue.createCommentVNode("", true),
|
|
21946
21946
|
vue.createElementVNode("input", {
|
|
@@ -21950,15 +21950,15 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
|
|
|
21950
21950
|
onInput: handleInput,
|
|
21951
21951
|
placeholder: _ctx.placeholder,
|
|
21952
21952
|
class: vue.normalizeClass({ "no-edit": !_ctx.editMode })
|
|
21953
|
-
}, null, 42, _hoisted_3$
|
|
21954
|
-
], 10, _hoisted_1$
|
|
21953
|
+
}, null, 42, _hoisted_3$d)
|
|
21954
|
+
], 10, _hoisted_1$i);
|
|
21955
21955
|
};
|
|
21956
21956
|
}
|
|
21957
21957
|
});
|
|
21958
|
-
const _hoisted_1$
|
|
21959
|
-
const _hoisted_2$
|
|
21960
|
-
const _hoisted_3$
|
|
21961
|
-
const _sfc_main$
|
|
21958
|
+
const _hoisted_1$h = ["title"];
|
|
21959
|
+
const _hoisted_2$e = ["for"];
|
|
21960
|
+
const _hoisted_3$c = ["id", "placeholder", "required", "pattern"];
|
|
21961
|
+
const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
|
|
21962
21962
|
__name: "TextInput",
|
|
21963
21963
|
props: {
|
|
21964
21964
|
id: {},
|
|
@@ -22007,14 +22007,278 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
|
22007
22007
|
class: { "no-edit": !_ctx.editMode },
|
|
22008
22008
|
required: _ctx.required,
|
|
22009
22009
|
pattern: _ctx.pattern
|
|
22010
|
+
}, _ctx.nativeInputAttrs), null, 16, _hoisted_3$c), [
|
|
22011
|
+
[vue.vModelText, vue.unref(inputVal)]
|
|
22012
|
+
])
|
|
22013
|
+
], 8, _hoisted_2$e)
|
|
22014
|
+
], 10, _hoisted_1$h);
|
|
22015
|
+
};
|
|
22016
|
+
}
|
|
22017
|
+
});
|
|
22018
|
+
const _hoisted_1$g = ["title"];
|
|
22019
|
+
const _hoisted_2$d = { key: 0 };
|
|
22020
|
+
const _hoisted_3$b = {
|
|
22021
|
+
key: 1,
|
|
22022
|
+
class: "character-limit"
|
|
22023
|
+
};
|
|
22024
|
+
const _hoisted_4$6 = ["value"];
|
|
22025
|
+
const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
22026
|
+
__name: "TextArea",
|
|
22027
|
+
props: {
|
|
22028
|
+
description: { default: "" },
|
|
22029
|
+
label: { default: "" },
|
|
22030
|
+
modelValue: {},
|
|
22031
|
+
placeholder: { default: "" },
|
|
22032
|
+
editMode: { type: Boolean, default: true },
|
|
22033
|
+
small: { type: Boolean },
|
|
22034
|
+
nativeInputAttrs: {},
|
|
22035
|
+
showCharacterLimit: { type: Boolean }
|
|
22036
|
+
},
|
|
22037
|
+
emits: ["update:modelValue"],
|
|
22038
|
+
setup(__props, { emit: __emit }) {
|
|
22039
|
+
const emits = __emit;
|
|
22040
|
+
const handleInput = (e) => {
|
|
22041
|
+
const el = e.target;
|
|
22042
|
+
emits("update:modelValue", el.value);
|
|
22043
|
+
};
|
|
22044
|
+
return (_ctx, _cache) => {
|
|
22045
|
+
var _a, _b;
|
|
22046
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
22047
|
+
class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
22048
|
+
title: _ctx.description
|
|
22049
|
+
}, [
|
|
22050
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$d, [
|
|
22051
|
+
vue.createVNode(vue.unref(_sfc_main$T), { input: _ctx.label }, null, 8, ["input"])
|
|
22052
|
+
])) : vue.createCommentVNode("", true),
|
|
22053
|
+
_ctx.showCharacterLimit ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$b, vue.toDisplayString((_a = _ctx.modelValue) == null ? void 0 : _a.length) + " " + vue.toDisplayString(((_b = _ctx.nativeInputAttrs) == null ? void 0 : _b.maxlength) ? `/${_ctx.nativeInputAttrs.maxlength}` : ""), 1)) : vue.createCommentVNode("", true),
|
|
22054
|
+
vue.createElementVNode("textarea", vue.mergeProps({
|
|
22055
|
+
value: _ctx.modelValue,
|
|
22056
|
+
onInput: handleInput,
|
|
22057
|
+
class: { "no-edit": !_ctx.editMode }
|
|
22058
|
+
}, _ctx.nativeInputAttrs), null, 16, _hoisted_4$6)
|
|
22059
|
+
], 10, _hoisted_1$g);
|
|
22060
|
+
};
|
|
22061
|
+
}
|
|
22062
|
+
});
|
|
22063
|
+
const TextArea = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-a5b28c58"]]);
|
|
22064
|
+
const _hoisted_1$f = ["title"];
|
|
22065
|
+
const _hoisted_2$c = ["for"];
|
|
22066
|
+
const _hoisted_3$a = ["id", "placeholder", "required"];
|
|
22067
|
+
const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
22068
|
+
__name: "ColorPicker",
|
|
22069
|
+
props: {
|
|
22070
|
+
field: {},
|
|
22071
|
+
modelValue: {},
|
|
22072
|
+
editMode: { type: Boolean, default: true },
|
|
22073
|
+
small: { type: Boolean },
|
|
22074
|
+
required: { type: Boolean },
|
|
22075
|
+
nativeInputAttrs: {}
|
|
22076
|
+
},
|
|
22077
|
+
emits: ["update:modelValue"],
|
|
22078
|
+
setup(__props, { emit: __emit }) {
|
|
22079
|
+
const emits = __emit;
|
|
22080
|
+
const props2 = __props;
|
|
22081
|
+
const inputVal = vue.ref(props2.modelValue);
|
|
22082
|
+
vue.watch(
|
|
22083
|
+
() => inputVal.value,
|
|
22084
|
+
(newVal) => emits("update:modelValue", newVal)
|
|
22085
|
+
);
|
|
22086
|
+
return (_ctx, _cache) => {
|
|
22087
|
+
var _a;
|
|
22088
|
+
return _ctx.field.id ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
22089
|
+
key: 0,
|
|
22090
|
+
class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
22091
|
+
title: _ctx.field.description
|
|
22092
|
+
}, [
|
|
22093
|
+
vue.createElementVNode("label", {
|
|
22094
|
+
for: _ctx.field.id
|
|
22095
|
+
}, [
|
|
22096
|
+
vue.createTextVNode(vue.toDisplayString(_ctx.field.label) + " ", 1),
|
|
22097
|
+
vue.withDirectives(vue.createElementVNode("input", vue.mergeProps({
|
|
22098
|
+
id: _ctx.field.id,
|
|
22099
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inputVal.value = $event),
|
|
22100
|
+
type: "color",
|
|
22101
|
+
placeholder: ((_a = _ctx.field) == null ? void 0 : _a.placeholder) || _ctx.field.label,
|
|
22102
|
+
class: { "no-edit": !_ctx.editMode },
|
|
22103
|
+
required: _ctx.required
|
|
22104
|
+
}, _ctx.nativeInputAttrs), null, 16, _hoisted_3$a), [
|
|
22105
|
+
[vue.vModelText, inputVal.value]
|
|
22106
|
+
])
|
|
22107
|
+
], 8, _hoisted_2$c)
|
|
22108
|
+
], 10, _hoisted_1$f)) : vue.createCommentVNode("", true);
|
|
22109
|
+
};
|
|
22110
|
+
}
|
|
22111
|
+
});
|
|
22112
|
+
const _hoisted_1$e = { key: 0 };
|
|
22113
|
+
const _hoisted_2$b = ["onKeydown", "disabled"];
|
|
22114
|
+
const _hoisted_3$9 = { class: "custom-select-drop" };
|
|
22115
|
+
const _hoisted_4$5 = ["onClick"];
|
|
22116
|
+
const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
|
|
22117
|
+
__name: "DynamicLinkField",
|
|
22118
|
+
props: {
|
|
22119
|
+
label: { default: "" },
|
|
22120
|
+
modelValue: {},
|
|
22121
|
+
useId: { type: Boolean, default: false },
|
|
22122
|
+
bagelApp: {},
|
|
22123
|
+
entity: {},
|
|
22124
|
+
editMode: { type: Boolean },
|
|
22125
|
+
filters: { default: {} },
|
|
22126
|
+
small: { type: Boolean }
|
|
22127
|
+
},
|
|
22128
|
+
emits: ["update:modelValue", "selected"],
|
|
22129
|
+
setup(__props, { emit: __emit }) {
|
|
22130
|
+
const props2 = __props;
|
|
22131
|
+
const showList = vue.ref(false);
|
|
22132
|
+
const linkOptions = vue.ref([]);
|
|
22133
|
+
const item = vue.ref();
|
|
22134
|
+
const emits = __emit;
|
|
22135
|
+
const selectedItem = vue.ref();
|
|
22136
|
+
function handleSelect(item2) {
|
|
22137
|
+
showList.value = false;
|
|
22138
|
+
selectedItem.value = item2;
|
|
22139
|
+
if (props2.useId) {
|
|
22140
|
+
selectedItem.value = item2.value;
|
|
22141
|
+
} else {
|
|
22142
|
+
selectedItem.value = item2.label || item2.description || item2.value;
|
|
22143
|
+
}
|
|
22144
|
+
emits("update:modelValue", item2.value);
|
|
22145
|
+
emits("selected");
|
|
22146
|
+
}
|
|
22147
|
+
async function getLinkOptions(inputString) {
|
|
22148
|
+
var _a;
|
|
22149
|
+
linkOptions.value = await ((_a = props2.bagelApp) == null ? void 0 : _a.entity.getLinkedFieldList({
|
|
22150
|
+
entity: props2.entity,
|
|
22151
|
+
txt: inputString,
|
|
22152
|
+
reference_entity: "",
|
|
22153
|
+
filters: props2.filters
|
|
22154
|
+
}));
|
|
22155
|
+
}
|
|
22156
|
+
async function initList(e) {
|
|
22157
|
+
await getLinkOptions(getElValue(e));
|
|
22158
|
+
showList.value = true;
|
|
22159
|
+
}
|
|
22160
|
+
function getElValue(e) {
|
|
22161
|
+
const el = e.target;
|
|
22162
|
+
return el.value.trim();
|
|
22163
|
+
}
|
|
22164
|
+
function handleEnter(e) {
|
|
22165
|
+
emits("update:modelValue", getElValue(e));
|
|
22166
|
+
emits("selected");
|
|
22167
|
+
showList.value = false;
|
|
22168
|
+
}
|
|
22169
|
+
function handleClick(e) {
|
|
22170
|
+
const { target } = e;
|
|
22171
|
+
if (target.name != "link-input" && showList.value == true) {
|
|
22172
|
+
showList.value = false;
|
|
22173
|
+
emits("update:modelValue", item.value);
|
|
22174
|
+
emits("selected");
|
|
22175
|
+
}
|
|
22176
|
+
}
|
|
22177
|
+
const handleInput = async (e) => {
|
|
22178
|
+
showList.value = true;
|
|
22179
|
+
const el = e.target;
|
|
22180
|
+
emits("update:modelValue", el.value);
|
|
22181
|
+
await getLinkOptions(el.value);
|
|
22182
|
+
};
|
|
22183
|
+
vue.onMounted(() => {
|
|
22184
|
+
selectedItem.value = props2.modelValue;
|
|
22185
|
+
document.addEventListener("click", handleClick);
|
|
22186
|
+
});
|
|
22187
|
+
return (_ctx, _cache) => {
|
|
22188
|
+
const _component_LangText = vue.resolveComponent("LangText");
|
|
22189
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
22190
|
+
class: vue.normalizeClass(["bagel-input", { small: _ctx.small }])
|
|
22191
|
+
}, [
|
|
22192
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_1$e, [
|
|
22193
|
+
vue.createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
|
|
22194
|
+
])) : vue.createCommentVNode("", true),
|
|
22195
|
+
vue.withDirectives(vue.createElementVNode("input", {
|
|
22196
|
+
onKeydown: vue.withKeys(handleEnter, ["enter"]),
|
|
22197
|
+
autocomplete: "off",
|
|
22198
|
+
onClick: _cache[0] || (_cache[0] = ($event) => showList.value = true),
|
|
22199
|
+
name: "link-input",
|
|
22200
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => selectedItem.value = $event),
|
|
22201
|
+
onFocus: initList,
|
|
22202
|
+
onInput: handleInput,
|
|
22203
|
+
disabled: !_ctx.editMode
|
|
22204
|
+
}, null, 40, _hoisted_2$b), [
|
|
22205
|
+
[vue.vModelText, selectedItem.value]
|
|
22206
|
+
]),
|
|
22207
|
+
vue.createElementVNode("div", {
|
|
22208
|
+
class: vue.normalizeClass(["custom-select", { "open-select": showList.value && linkOptions.value.length > 0 }]),
|
|
22209
|
+
name: "link-input"
|
|
22210
|
+
}, [
|
|
22211
|
+
vue.createElementVNode("div", _hoisted_3$9, [
|
|
22212
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(linkOptions.value, (item2) => {
|
|
22213
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
22214
|
+
key: vue.unref(formatString)(item2.value, "pascal"),
|
|
22215
|
+
onClick: vue.withModifiers(($event) => handleSelect(item2), ["stop"])
|
|
22216
|
+
}, vue.toDisplayString(_ctx.useId || _ctx.entity === "Entity" ? item2.value : item2.label || item2.description || item2.value), 9, _hoisted_4$5);
|
|
22217
|
+
}), 128))
|
|
22218
|
+
])
|
|
22219
|
+
], 2)
|
|
22220
|
+
], 2);
|
|
22221
|
+
};
|
|
22222
|
+
}
|
|
22223
|
+
});
|
|
22224
|
+
const _hoisted_1$d = ["title"];
|
|
22225
|
+
const _hoisted_2$a = ["for"];
|
|
22226
|
+
const _hoisted_3$8 = ["id", "placeholder", "required", "pattern"];
|
|
22227
|
+
const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
22228
|
+
__name: "PlainText",
|
|
22229
|
+
props: {
|
|
22230
|
+
field: {},
|
|
22231
|
+
modelValue: {},
|
|
22232
|
+
editMode: { type: Boolean, default: true },
|
|
22233
|
+
small: { type: Boolean },
|
|
22234
|
+
required: { type: Boolean },
|
|
22235
|
+
pattern: {},
|
|
22236
|
+
nativeInputAttrs: {}
|
|
22237
|
+
},
|
|
22238
|
+
emits: ["update:modelValue"],
|
|
22239
|
+
setup(__props, { emit: __emit }) {
|
|
22240
|
+
const emit2 = __emit;
|
|
22241
|
+
const props2 = __props;
|
|
22242
|
+
let inputVal = vue.ref();
|
|
22243
|
+
vue.watch(
|
|
22244
|
+
() => inputVal.value,
|
|
22245
|
+
(newVal) => emit2("update:modelValue", newVal)
|
|
22246
|
+
);
|
|
22247
|
+
vue.watch(
|
|
22248
|
+
() => props2.modelValue,
|
|
22249
|
+
(newVal) => {
|
|
22250
|
+
if (newVal !== inputVal.value)
|
|
22251
|
+
inputVal.value = newVal;
|
|
22252
|
+
},
|
|
22253
|
+
{ immediate: true }
|
|
22254
|
+
);
|
|
22255
|
+
return (_ctx, _cache) => {
|
|
22256
|
+
return _ctx.field.id ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
22257
|
+
key: 0,
|
|
22258
|
+
class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
22259
|
+
title: _ctx.field.description
|
|
22260
|
+
}, [
|
|
22261
|
+
vue.createElementVNode("label", {
|
|
22262
|
+
for: _ctx.field.id
|
|
22263
|
+
}, [
|
|
22264
|
+
vue.createTextVNode(vue.toDisplayString(_ctx.field.label) + " ", 1),
|
|
22265
|
+
vue.withDirectives(vue.createElementVNode("input", vue.mergeProps({
|
|
22266
|
+
id: _ctx.field.id,
|
|
22267
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(inputVal) ? inputVal.value = $event : inputVal = $event),
|
|
22268
|
+
type: "text",
|
|
22269
|
+
placeholder: _ctx.field.placeholder || _ctx.field.label,
|
|
22270
|
+
class: { "no-edit": !_ctx.editMode },
|
|
22271
|
+
required: _ctx.required,
|
|
22272
|
+
pattern: _ctx.pattern
|
|
22010
22273
|
}, _ctx.nativeInputAttrs), null, 16, _hoisted_3$8), [
|
|
22011
22274
|
[vue.vModelText, vue.unref(inputVal)]
|
|
22012
22275
|
])
|
|
22013
22276
|
], 8, _hoisted_2$a)
|
|
22014
|
-
], 10, _hoisted_1$d);
|
|
22277
|
+
], 10, _hoisted_1$d)) : vue.createCommentVNode("", true);
|
|
22015
22278
|
};
|
|
22016
22279
|
}
|
|
22017
22280
|
});
|
|
22281
|
+
const PlainText = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-188270a2"]]);
|
|
22018
22282
|
function _isPlaceholder(a) {
|
|
22019
22283
|
return a != null && typeof a === "object" && a["@@functional/placeholder"] === true;
|
|
22020
22284
|
}
|
|
@@ -28459,7 +28723,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
28459
28723
|
return (_ctx, _cache) => {
|
|
28460
28724
|
var _a, _b, _c, _d, _e, _f;
|
|
28461
28725
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
28462
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
28726
|
+
vue.createVNode(vue.unref(_sfc_main$I), null, {
|
|
28463
28727
|
default: vue.withCtx(() => [
|
|
28464
28728
|
vue.createTextVNode("Whatsapp Template")
|
|
28465
28729
|
]),
|
|
@@ -28468,7 +28732,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
28468
28732
|
vue.createElementVNode("div", _hoisted_2, [
|
|
28469
28733
|
vue.createElementVNode("div", _hoisted_3, [
|
|
28470
28734
|
vue.createElementVNode("div", _hoisted_4, [
|
|
28471
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
28735
|
+
vue.createVNode(vue.unref(_sfc_main$F), {
|
|
28472
28736
|
schema: _ctx.whatsappTemplateSchema(),
|
|
28473
28737
|
modelValue: vue.unref(localWhatsappData),
|
|
28474
28738
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(localWhatsappData) ? localWhatsappData.value = $event : localWhatsappData = $event),
|
|
@@ -28498,41 +28762,45 @@ exports.BankDetailsInput = BankDetailsInput;
|
|
|
28498
28762
|
exports.BarChart = BarChart;
|
|
28499
28763
|
exports.Btn = Btn;
|
|
28500
28764
|
exports.CheckInput = CheckInput;
|
|
28765
|
+
exports.Checkbox = Checkbox;
|
|
28766
|
+
exports.ColorPicker = _sfc_main$4;
|
|
28501
28767
|
exports.Comments = Comments;
|
|
28502
28768
|
exports.ContactArrayInput = ContactArrayInput;
|
|
28503
|
-
exports.ContactSubmissions = _sfc_main$
|
|
28769
|
+
exports.ContactSubmissions = _sfc_main$B;
|
|
28504
28770
|
exports.CurrencyInput = CurrencyInput;
|
|
28505
28771
|
exports.DataPreview = DataPreview;
|
|
28506
28772
|
exports.DateInput = DateInput;
|
|
28507
|
-
exports.DatetimeInput = _sfc_main$
|
|
28508
|
-
exports.DropDown = _sfc_main$
|
|
28509
|
-
exports.DurationInput = _sfc_main$
|
|
28773
|
+
exports.DatetimeInput = _sfc_main$j;
|
|
28774
|
+
exports.DropDown = _sfc_main$N;
|
|
28775
|
+
exports.DurationInput = _sfc_main$7;
|
|
28776
|
+
exports.DynamicLinkField = _sfc_main$3;
|
|
28510
28777
|
exports.EmailInput = EmailInput;
|
|
28511
28778
|
exports.FileUploadInput = FileUploadInput;
|
|
28512
|
-
exports.FloatInput = _sfc_main$
|
|
28513
|
-
exports.FormSchema = _sfc_main$
|
|
28514
|
-
exports.IntInput = _sfc_main$
|
|
28515
|
-
exports.ItemRef = _sfc_main$
|
|
28779
|
+
exports.FloatInput = _sfc_main$h;
|
|
28780
|
+
exports.FormSchema = _sfc_main$F;
|
|
28781
|
+
exports.IntInput = _sfc_main$g;
|
|
28782
|
+
exports.ItemRef = _sfc_main$p;
|
|
28516
28783
|
exports.JSONInput = JSONInput;
|
|
28517
|
-
exports.LangText = _sfc_main$
|
|
28784
|
+
exports.LangText = _sfc_main$T;
|
|
28518
28785
|
exports.Lineart = _sfc_main$1;
|
|
28519
28786
|
exports.LinkField = LinkField;
|
|
28520
|
-
exports.ListItem = _sfc_main$
|
|
28521
|
-
exports.ListView = _sfc_main$
|
|
28522
|
-
exports.MaterialIcon = _sfc_main$
|
|
28787
|
+
exports.ListItem = _sfc_main$L;
|
|
28788
|
+
exports.ListView = _sfc_main$M;
|
|
28789
|
+
exports.MaterialIcon = _sfc_main$R;
|
|
28523
28790
|
exports.MiscFieldsInput = MiscFieldsInput;
|
|
28524
|
-
exports.Modal = _sfc_main$
|
|
28791
|
+
exports.Modal = _sfc_main$O;
|
|
28525
28792
|
exports.ModalForm = ModalForm;
|
|
28526
28793
|
exports.ModalPlugin = ModalPlugin;
|
|
28527
28794
|
exports.MsgTemplate = MsgTemplate;
|
|
28528
|
-
exports.NavBar = _sfc_main$
|
|
28529
|
-
exports.PageTitle = _sfc_main$
|
|
28795
|
+
exports.NavBar = _sfc_main$Q;
|
|
28796
|
+
exports.PageTitle = _sfc_main$I;
|
|
28530
28797
|
exports.Password = Password;
|
|
28531
28798
|
exports.PasswordInput = PasswordInput;
|
|
28532
|
-
exports.PersonPreview = _sfc_main$
|
|
28799
|
+
exports.PersonPreview = _sfc_main$A;
|
|
28533
28800
|
exports.PersonPreviewInput = PersonPreviewInput;
|
|
28534
|
-
exports.PlainInputField = _sfc_main$
|
|
28535
|
-
exports.
|
|
28801
|
+
exports.PlainInputField = _sfc_main$n;
|
|
28802
|
+
exports.PlainText = PlainText;
|
|
28803
|
+
exports.RTXEditor = _sfc_main$S;
|
|
28536
28804
|
exports.ReadOnlyInput = ReadOnlyInput;
|
|
28537
28805
|
exports.RichTextEditor = RichTextEditor;
|
|
28538
28806
|
exports.RouterWrapper = RouterWrapper;
|
|
@@ -28540,8 +28808,9 @@ exports.SelectField = SelectField;
|
|
|
28540
28808
|
exports.TabbedLayout = TabbedLayout;
|
|
28541
28809
|
exports.TableField = TableField;
|
|
28542
28810
|
exports.TableSchema = TableSchema;
|
|
28543
|
-
exports.
|
|
28544
|
-
exports.
|
|
28811
|
+
exports.TextArea = TextArea;
|
|
28812
|
+
exports.TextInput = _sfc_main$6;
|
|
28813
|
+
exports.TextVariableExamples = _sfc_main$q;
|
|
28545
28814
|
exports.TextVariablesInput = TextVariablesInput;
|
|
28546
28815
|
exports.ToggleSwitchInput = ToggleSwitchInput;
|
|
28547
28816
|
exports.TopBar = TopBar;
|