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