@bagelink/vue 0.0.114 → 0.0.120
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/Comments.vue.d.ts +2 -6
- package/dist/components/Comments.vue.d.ts.map +1 -1
- package/dist/components/DataPreview.vue.d.ts +5 -5
- package/dist/components/FormSchema.vue.d.ts +5 -5
- package/dist/components/FormSchema.vue.d.ts.map +1 -1
- package/dist/components/PersonPreview.vue.d.ts +22 -0
- package/dist/components/PersonPreview.vue.d.ts.map +1 -0
- package/dist/components/charts/index.d.ts +1 -1
- package/dist/components/charts/index.d.ts.map +1 -1
- package/dist/components/dashboard/index.d.ts +1 -1
- package/dist/components/dashboard/index.d.ts.map +1 -1
- package/dist/components/form/index.d.ts +3 -3
- package/dist/components/form/index.d.ts.map +1 -1
- package/dist/components/form/inputs/index.d.ts +17 -17
- package/dist/components/form/inputs/index.d.ts.map +1 -1
- package/dist/components/formkit/index.d.ts +9 -9
- package/dist/components/formkit/index.d.ts.map +1 -1
- package/dist/components/index.d.ts +20 -19
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/whatsapp/index.d.ts +2 -2
- package/dist/components/whatsapp/index.d.ts.map +1 -1
- package/dist/index.cjs +443 -518
- package/dist/index.mjs +443 -518
- package/dist/style.css +108 -29
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/package.json +2 -3
- package/src/components/Comments.vue +2 -4
- package/src/components/DataPreview.vue +3 -3
- package/src/components/FormSchema.vue +6 -6
- package/src/components/LangText.vue +1 -1
- package/src/components/PersonPreview.vue +2 -2
- package/src/components/PersonPreviewFormkit.vue +1 -1
- package/src/components/charts/index.ts +1 -1
- package/src/components/dashboard/index.ts +1 -1
- package/src/components/form/index.ts +3 -3
- package/src/components/form/inputs/index.ts +17 -17
- package/src/components/formkit/index.ts +16 -16
- package/src/components/index.ts +20 -19
- package/src/components/whatsapp/index.ts +2 -2
- package/src/utils/index.ts +2 -2
- package/tsconfig.json +1 -0
- package/vite.config.ts +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,28 +1,4 @@
|
|
|
1
1
|
import { inject, ref, defineComponent, h, openBlock, createElementBlock, Fragment as Fragment$1, createElementVNode, createTextVNode, toDisplayString, watch, onMounted, withKeys, withModifiers, normalizeStyle, resolveComponent, normalizeClass, renderSlot, renderList, createBlock, withCtx, useSlots, resolveDynamicComponent, unref, createCommentVNode, mergeProps, createVNode, withDirectives, vModelText, isRef, computed, reactive, Transition, useCssVars, pushScopeId, popScopeId, markRaw, vModelCheckbox, onUnmounted, Teleport, vModelDynamic, TransitionGroup, provide } from "vue";
|
|
2
|
-
const Modal = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3
|
-
__proto__: null,
|
|
4
|
-
get default() {
|
|
5
|
-
return _sfc_main$J;
|
|
6
|
-
}
|
|
7
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
8
|
-
const ModalForm$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9
|
-
__proto__: null,
|
|
10
|
-
get default() {
|
|
11
|
-
return ModalForm;
|
|
12
|
-
}
|
|
13
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
14
|
-
const FormSchema = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15
|
-
__proto__: null,
|
|
16
|
-
get default() {
|
|
17
|
-
return _sfc_main$A;
|
|
18
|
-
}
|
|
19
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
20
|
-
const TextInput = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
21
|
-
__proto__: null,
|
|
22
|
-
get default() {
|
|
23
|
-
return _sfc_main$5;
|
|
24
|
-
}
|
|
25
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
26
2
|
function bind$2(fn, thisArg) {
|
|
27
3
|
return function wrap2() {
|
|
28
4
|
return fn.apply(thisArg, arguments);
|
|
@@ -2315,7 +2291,7 @@ const ModalPlugin = {
|
|
|
2315
2291
|
},
|
|
2316
2292
|
render() {
|
|
2317
2293
|
return modalStack.value.map((modal, index2) => {
|
|
2318
|
-
const renderComponent = modal.isModalForm ? ModalForm
|
|
2294
|
+
const renderComponent = modal.isModalForm ? ModalForm : _sfc_main$K;
|
|
2319
2295
|
return h(
|
|
2320
2296
|
renderComponent,
|
|
2321
2297
|
{
|
|
@@ -2386,14 +2362,14 @@ const useFormkit = () => {
|
|
|
2386
2362
|
return formkit;
|
|
2387
2363
|
};
|
|
2388
2364
|
const initials = (...strArr) => strArr.map((str) => str == null ? void 0 : str.charAt(0)).join("");
|
|
2389
|
-
const parseLocale = (str,
|
|
2365
|
+
const parseLocale = (str, i18nT = (_str) => _str) => {
|
|
2390
2366
|
const [_, w] = str.split(/\$t\('?"?|'?"?\)/);
|
|
2391
2367
|
if (!w)
|
|
2392
2368
|
return str;
|
|
2393
|
-
return
|
|
2369
|
+
return i18nT(w);
|
|
2394
2370
|
};
|
|
2395
|
-
const _hoisted_1$
|
|
2396
|
-
const _sfc_main$
|
|
2371
|
+
const _hoisted_1$V = { ref: "el" };
|
|
2372
|
+
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
2397
2373
|
__name: "LangText",
|
|
2398
2374
|
props: {
|
|
2399
2375
|
input: {}
|
|
@@ -2401,16 +2377,12 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
2401
2377
|
setup(__props) {
|
|
2402
2378
|
return (_ctx, _cache) => {
|
|
2403
2379
|
return openBlock(), createElementBlock(Fragment$1, null, [
|
|
2404
|
-
createElementVNode("span", _hoisted_1$
|
|
2380
|
+
createElementVNode("span", _hoisted_1$V, null, 512),
|
|
2405
2381
|
createTextVNode(" " + toDisplayString(_ctx.input) + " ", 1)
|
|
2406
2382
|
], 64);
|
|
2407
2383
|
};
|
|
2408
2384
|
}
|
|
2409
2385
|
});
|
|
2410
|
-
const LangText = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2411
|
-
__proto__: null,
|
|
2412
|
-
default: _sfc_main$O
|
|
2413
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
2414
2386
|
function OrderedMap(content) {
|
|
2415
2387
|
this.content = content;
|
|
2416
2388
|
}
|
|
@@ -14521,8 +14493,8 @@ const marks = {
|
|
|
14521
14493
|
}
|
|
14522
14494
|
};
|
|
14523
14495
|
const schema = new Schema({ nodes, marks });
|
|
14524
|
-
const _hoisted_1$
|
|
14525
|
-
const _sfc_main$
|
|
14496
|
+
const _hoisted_1$U = ["id"];
|
|
14497
|
+
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
14526
14498
|
__name: "RTXEditor",
|
|
14527
14499
|
props: {
|
|
14528
14500
|
elementId: { default: Math.random().toString(36).substr(2, 9) },
|
|
@@ -14599,15 +14571,11 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
14599
14571
|
onClick: focusEditor,
|
|
14600
14572
|
id: `canvas-${_ctx.elementId}`,
|
|
14601
14573
|
onKeydown: _cache[0] || (_cache[0] = withKeys(withModifiers(($event) => _ctx.$emit("keydown.meta.enter"), ["meta"]), ["enter"]))
|
|
14602
|
-
}, null, 40, _hoisted_1$
|
|
14574
|
+
}, null, 40, _hoisted_1$U);
|
|
14603
14575
|
};
|
|
14604
14576
|
}
|
|
14605
14577
|
});
|
|
14606
|
-
const
|
|
14607
|
-
__proto__: null,
|
|
14608
|
-
default: _sfc_main$N
|
|
14609
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
14610
|
-
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
14578
|
+
const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
14611
14579
|
__name: "MaterialIcon",
|
|
14612
14580
|
props: {
|
|
14613
14581
|
icon: {},
|
|
@@ -14622,21 +14590,17 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
14622
14590
|
};
|
|
14623
14591
|
}
|
|
14624
14592
|
});
|
|
14625
|
-
const
|
|
14626
|
-
|
|
14627
|
-
|
|
14628
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
14629
|
-
const _hoisted_1$S = /* @__PURE__ */ createElementVNode("div", { class: "icon-font top-arrow" }, " chevron_right ", -1);
|
|
14630
|
-
const _hoisted_2$K = [
|
|
14631
|
-
_hoisted_1$S
|
|
14593
|
+
const _hoisted_1$T = /* @__PURE__ */ createElementVNode("div", { class: "icon-font top-arrow" }, " chevron_right ", -1);
|
|
14594
|
+
const _hoisted_2$L = [
|
|
14595
|
+
_hoisted_1$T
|
|
14632
14596
|
];
|
|
14633
|
-
const _hoisted_3$
|
|
14634
|
-
const _hoisted_4$
|
|
14635
|
-
const _hoisted_5$
|
|
14636
|
-
const _hoisted_6$
|
|
14637
|
-
const _hoisted_7$
|
|
14638
|
-
const _hoisted_8$
|
|
14639
|
-
const _sfc_main$
|
|
14597
|
+
const _hoisted_3$F = { class: "full-nav" };
|
|
14598
|
+
const _hoisted_4$p = { class: "nav-scroll" };
|
|
14599
|
+
const _hoisted_5$l = { class: "nav-links-wrapper" };
|
|
14600
|
+
const _hoisted_6$h = { class: "icon-font" };
|
|
14601
|
+
const _hoisted_7$c = { class: "tooltip" };
|
|
14602
|
+
const _hoisted_8$7 = { class: "bot-buttons-wrapper" };
|
|
14603
|
+
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
14640
14604
|
__name: "NavBar",
|
|
14641
14605
|
props: {
|
|
14642
14606
|
links: {},
|
|
@@ -14659,10 +14623,10 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
14659
14623
|
role: "button",
|
|
14660
14624
|
"aria-label": "Toggle Navigation",
|
|
14661
14625
|
tabindex: "0"
|
|
14662
|
-
}, _hoisted_2$
|
|
14663
|
-
createElementVNode("div", _hoisted_3$
|
|
14664
|
-
createElementVNode("div", _hoisted_4$
|
|
14665
|
-
createElementVNode("div", _hoisted_5$
|
|
14626
|
+
}, _hoisted_2$L, 32),
|
|
14627
|
+
createElementVNode("div", _hoisted_3$F, [
|
|
14628
|
+
createElementVNode("div", _hoisted_4$p, [
|
|
14629
|
+
createElementVNode("div", _hoisted_5$l, [
|
|
14666
14630
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.links, (link) => {
|
|
14667
14631
|
return openBlock(), createBlock(_component_RouterLink, {
|
|
14668
14632
|
class: "nav-button",
|
|
@@ -14670,15 +14634,15 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
14670
14634
|
key: link.label
|
|
14671
14635
|
}, {
|
|
14672
14636
|
default: withCtx(() => [
|
|
14673
|
-
createElementVNode("div", _hoisted_6$
|
|
14674
|
-
createElementVNode("div", _hoisted_7$
|
|
14637
|
+
createElementVNode("div", _hoisted_6$h, toDisplayString(link.materialIcon), 1),
|
|
14638
|
+
createElementVNode("div", _hoisted_7$c, toDisplayString(link.localized ? link.localized : link.label), 1)
|
|
14675
14639
|
]),
|
|
14676
14640
|
_: 2
|
|
14677
14641
|
}, 1032, ["to"]);
|
|
14678
14642
|
}), 128))
|
|
14679
14643
|
])
|
|
14680
14644
|
]),
|
|
14681
|
-
createElementVNode("div", _hoisted_8$
|
|
14645
|
+
createElementVNode("div", _hoisted_8$7, [
|
|
14682
14646
|
renderSlot(_ctx.$slots, "floor")
|
|
14683
14647
|
])
|
|
14684
14648
|
])
|
|
@@ -14686,19 +14650,15 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
14686
14650
|
};
|
|
14687
14651
|
}
|
|
14688
14652
|
});
|
|
14689
|
-
const
|
|
14690
|
-
__proto__: null,
|
|
14691
|
-
default: _sfc_main$L
|
|
14692
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
14693
|
-
const _hoisted_1$R = {
|
|
14653
|
+
const _hoisted_1$S = {
|
|
14694
14654
|
key: 0,
|
|
14695
14655
|
class: "loading"
|
|
14696
14656
|
};
|
|
14697
|
-
const _hoisted_2$
|
|
14657
|
+
const _hoisted_2$K = {
|
|
14698
14658
|
key: 1,
|
|
14699
14659
|
class: "btn-flex"
|
|
14700
14660
|
};
|
|
14701
|
-
const _sfc_main$
|
|
14661
|
+
const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
14702
14662
|
__name: "Btn",
|
|
14703
14663
|
props: {
|
|
14704
14664
|
disabled: { type: Boolean, default: false },
|
|
@@ -14734,8 +14694,8 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
14734
14694
|
})
|
|
14735
14695
|
}, {
|
|
14736
14696
|
default: withCtx(() => [
|
|
14737
|
-
_ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
14738
|
-
_ctx.icon ? (openBlock(), createBlock(unref(
|
|
14697
|
+
_ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_1$S)) : (openBlock(), createElementBlock("div", _hoisted_2$K, [
|
|
14698
|
+
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$N), {
|
|
14739
14699
|
key: 0,
|
|
14740
14700
|
icon: _ctx.icon
|
|
14741
14701
|
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
@@ -14743,7 +14703,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
14743
14703
|
!unref(slots)["default"] && _ctx.value ? (openBlock(), createElementBlock(Fragment$1, { key: 1 }, [
|
|
14744
14704
|
createTextVNode(toDisplayString(_ctx.value), 1)
|
|
14745
14705
|
], 64)) : createCommentVNode("", true),
|
|
14746
|
-
props2["icon.end"] ? (openBlock(), createBlock(unref(
|
|
14706
|
+
props2["icon.end"] ? (openBlock(), createBlock(unref(_sfc_main$N), {
|
|
14747
14707
|
key: 2,
|
|
14748
14708
|
icon: props2["icon.end"]
|
|
14749
14709
|
}, null, 8, ["icon"])) : createCommentVNode("", true)
|
|
@@ -14761,16 +14721,12 @@ const _export_sfc = (sfc, props2) => {
|
|
|
14761
14721
|
}
|
|
14762
14722
|
return target;
|
|
14763
14723
|
};
|
|
14764
|
-
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14765
|
-
const
|
|
14766
|
-
|
|
14767
|
-
|
|
14768
|
-
|
|
14769
|
-
const
|
|
14770
|
-
const _hoisted_2$I = { class: "tool-bar" };
|
|
14771
|
-
const _hoisted_3$D = { class: "modal-title" };
|
|
14772
|
-
const _hoisted_4$n = { class: "modal-footer mt-3" };
|
|
14773
|
-
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
14724
|
+
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-b94d75fb"]]);
|
|
14725
|
+
const _hoisted_1$R = ["onKeydown"];
|
|
14726
|
+
const _hoisted_2$J = { class: "tool-bar" };
|
|
14727
|
+
const _hoisted_3$E = { class: "modal-title" };
|
|
14728
|
+
const _hoisted_4$o = { class: "modal-footer mt-3" };
|
|
14729
|
+
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
14774
14730
|
__name: "Modal",
|
|
14775
14731
|
props: {
|
|
14776
14732
|
side: { type: Boolean },
|
|
@@ -14804,14 +14760,14 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
14804
14760
|
onClick: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
14805
14761
|
}, ["stop"]))
|
|
14806
14762
|
}, [
|
|
14807
|
-
createElementVNode("header", _hoisted_2$
|
|
14763
|
+
createElementVNode("header", _hoisted_2$J, [
|
|
14808
14764
|
renderSlot(_ctx.$slots, "toolbar")
|
|
14809
14765
|
]),
|
|
14810
|
-
createElementVNode("h3", _hoisted_3$
|
|
14766
|
+
createElementVNode("h3", _hoisted_3$E, toDisplayString(_ctx.title), 1),
|
|
14811
14767
|
renderSlot(_ctx.$slots, "default"),
|
|
14812
|
-
createElementVNode("footer", _hoisted_4$
|
|
14768
|
+
createElementVNode("footer", _hoisted_4$o, [
|
|
14813
14769
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.actions, (action, i2) => {
|
|
14814
|
-
return openBlock(), createBlock(unref(Btn
|
|
14770
|
+
return openBlock(), createBlock(unref(Btn), mergeProps({
|
|
14815
14771
|
key: i2,
|
|
14816
14772
|
onClick: closeModal,
|
|
14817
14773
|
color: "gray"
|
|
@@ -14820,14 +14776,14 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
14820
14776
|
renderSlot(_ctx.$slots, "footer")
|
|
14821
14777
|
])
|
|
14822
14778
|
])
|
|
14823
|
-
], 42, _hoisted_1$
|
|
14779
|
+
], 42, _hoisted_1$R);
|
|
14824
14780
|
};
|
|
14825
14781
|
}
|
|
14826
14782
|
});
|
|
14827
|
-
const _hoisted_1$
|
|
14828
|
-
const _hoisted_2$
|
|
14829
|
-
const _hoisted_3$
|
|
14830
|
-
const _sfc_main$
|
|
14783
|
+
const _hoisted_1$Q = { class: "dropdown-title" };
|
|
14784
|
+
const _hoisted_2$I = { class: "dropdown-body" };
|
|
14785
|
+
const _hoisted_3$D = ["onClick"];
|
|
14786
|
+
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
14831
14787
|
__name: "DropDown",
|
|
14832
14788
|
props: {
|
|
14833
14789
|
modelValue: String,
|
|
@@ -14853,35 +14809,31 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
14853
14809
|
class: normalizeClass(["dropdown", { opendrop: isOpen.value }]),
|
|
14854
14810
|
onClick: toggleDropdown
|
|
14855
14811
|
}, [
|
|
14856
|
-
createElementVNode("div", _hoisted_1$
|
|
14812
|
+
createElementVNode("div", _hoisted_1$Q, [
|
|
14857
14813
|
createTextVNode(toDisplayString(selectedOption.value || __props.placeholder) + " ", 1),
|
|
14858
|
-
createVNode(unref(
|
|
14814
|
+
createVNode(unref(_sfc_main$N), { icon: "keyboard_arrow_down" })
|
|
14859
14815
|
]),
|
|
14860
|
-
createElementVNode("div", _hoisted_2$
|
|
14816
|
+
createElementVNode("div", _hoisted_2$I, [
|
|
14861
14817
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(__props.options, (option2, index2) => {
|
|
14862
14818
|
return openBlock(), createElementBlock("p", {
|
|
14863
14819
|
key: index2,
|
|
14864
14820
|
onClick: withModifiers(($event) => selectOption(option2, index2), ["stop"])
|
|
14865
|
-
}, toDisplayString(option2), 9, _hoisted_3$
|
|
14821
|
+
}, toDisplayString(option2), 9, _hoisted_3$D);
|
|
14866
14822
|
}), 128))
|
|
14867
14823
|
])
|
|
14868
14824
|
], 2);
|
|
14869
14825
|
};
|
|
14870
14826
|
}
|
|
14871
14827
|
});
|
|
14872
|
-
const
|
|
14873
|
-
|
|
14874
|
-
|
|
14875
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
14876
|
-
const _hoisted_1$O = { class: "card list-view grid thin" };
|
|
14877
|
-
const _hoisted_2$G = { class: "list-header flex gap-3 align-items-top" };
|
|
14878
|
-
const _hoisted_3$B = {
|
|
14828
|
+
const _hoisted_1$P = { class: "card list-view grid thin" };
|
|
14829
|
+
const _hoisted_2$H = { class: "list-header flex gap-3 align-items-top" };
|
|
14830
|
+
const _hoisted_3$C = {
|
|
14879
14831
|
key: 0,
|
|
14880
14832
|
class: "bagel-input search-wrap"
|
|
14881
14833
|
};
|
|
14882
|
-
const _hoisted_4$
|
|
14883
|
-
const _hoisted_5$
|
|
14884
|
-
const _sfc_main$
|
|
14834
|
+
const _hoisted_4$n = ["placeholder"];
|
|
14835
|
+
const _hoisted_5$k = { class: "list-content grid auto-flow-rows align-items-start" };
|
|
14836
|
+
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
14885
14837
|
__name: "ListView",
|
|
14886
14838
|
props: {
|
|
14887
14839
|
enableAdd: { type: Boolean },
|
|
@@ -14898,42 +14850,38 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
14898
14850
|
debounce(() => emit2("debounce", searchTerm.value));
|
|
14899
14851
|
};
|
|
14900
14852
|
return (_ctx, _cache) => {
|
|
14901
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
14902
|
-
createElementVNode("div", _hoisted_2$
|
|
14903
|
-
_ctx.enableSearch ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
14853
|
+
return openBlock(), createElementBlock("div", _hoisted_1$P, [
|
|
14854
|
+
createElementVNode("div", _hoisted_2$H, [
|
|
14855
|
+
_ctx.enableSearch ? (openBlock(), createElementBlock("div", _hoisted_3$C, [
|
|
14904
14856
|
withDirectives(createElementVNode("input", {
|
|
14905
14857
|
placeholder: _ctx.searchPlaceholder,
|
|
14906
14858
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => searchTerm.value = $event),
|
|
14907
14859
|
onInput: _cache[1] || (_cache[1] = ($event) => search())
|
|
14908
|
-
}, null, 40, _hoisted_4$
|
|
14860
|
+
}, null, 40, _hoisted_4$n), [
|
|
14909
14861
|
[vModelText, searchTerm.value]
|
|
14910
14862
|
]),
|
|
14911
|
-
createVNode(unref(
|
|
14863
|
+
createVNode(unref(_sfc_main$N), {
|
|
14912
14864
|
class: "txtgray",
|
|
14913
14865
|
icon: "search"
|
|
14914
14866
|
})
|
|
14915
14867
|
])) : createCommentVNode("", true),
|
|
14916
|
-
_ctx.enableAdd ? (openBlock(), createBlock(unref(Btn
|
|
14868
|
+
_ctx.enableAdd ? (openBlock(), createBlock(unref(Btn), {
|
|
14917
14869
|
key: 1,
|
|
14918
14870
|
color: "blue",
|
|
14919
14871
|
icon: "add",
|
|
14920
14872
|
onClick: _cache[2] || (_cache[2] = ($event) => emit2("add"))
|
|
14921
14873
|
})) : createCommentVNode("", true)
|
|
14922
14874
|
]),
|
|
14923
|
-
createElementVNode("div", _hoisted_5$
|
|
14875
|
+
createElementVNode("div", _hoisted_5$k, [
|
|
14924
14876
|
renderSlot(_ctx.$slots, "default")
|
|
14925
14877
|
])
|
|
14926
14878
|
]);
|
|
14927
14879
|
};
|
|
14928
14880
|
}
|
|
14929
14881
|
});
|
|
14930
|
-
const
|
|
14931
|
-
|
|
14932
|
-
|
|
14933
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
14934
|
-
const _hoisted_1$N = { class: "txt16 no-margin" };
|
|
14935
|
-
const _hoisted_2$F = { class: "txt14 no-margin txtgray" };
|
|
14936
|
-
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
14882
|
+
const _hoisted_1$O = { class: "txt16 no-margin" };
|
|
14883
|
+
const _hoisted_2$G = { class: "txt14 no-margin txtgray" };
|
|
14884
|
+
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
14937
14885
|
__name: "ListItem",
|
|
14938
14886
|
props: {
|
|
14939
14887
|
to: {}
|
|
@@ -14945,10 +14893,10 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
14945
14893
|
class: "list-item ellipsis"
|
|
14946
14894
|
}, {
|
|
14947
14895
|
default: withCtx(() => [
|
|
14948
|
-
createElementVNode("p", _hoisted_1$
|
|
14896
|
+
createElementVNode("p", _hoisted_1$O, [
|
|
14949
14897
|
renderSlot(_ctx.$slots, "default")
|
|
14950
14898
|
]),
|
|
14951
|
-
createElementVNode("p", _hoisted_2$
|
|
14899
|
+
createElementVNode("p", _hoisted_2$G, [
|
|
14952
14900
|
renderSlot(_ctx.$slots, "subtitle")
|
|
14953
14901
|
])
|
|
14954
14902
|
]),
|
|
@@ -14957,15 +14905,11 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
14957
14905
|
};
|
|
14958
14906
|
}
|
|
14959
14907
|
});
|
|
14960
|
-
const
|
|
14961
|
-
|
|
14962
|
-
|
|
14963
|
-
|
|
14964
|
-
const
|
|
14965
|
-
const _hoisted_2$E = { class: "card tabs-top" };
|
|
14966
|
-
const _hoisted_3$A = { class: "tabs grid auto-flow-columns fit-content" };
|
|
14967
|
-
const _hoisted_4$l = ["onClick"];
|
|
14968
|
-
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
14908
|
+
const _hoisted_1$N = { class: "h-100 grid list-view gap-3" };
|
|
14909
|
+
const _hoisted_2$F = { class: "card tabs-top" };
|
|
14910
|
+
const _hoisted_3$B = { class: "tabs grid auto-flow-columns fit-content" };
|
|
14911
|
+
const _hoisted_4$m = ["onClick"];
|
|
14912
|
+
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
14969
14913
|
__name: "TabbedLayout",
|
|
14970
14914
|
props: {
|
|
14971
14915
|
title: {},
|
|
@@ -14993,10 +14937,10 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
14993
14937
|
activeTab.value = firstTab;
|
|
14994
14938
|
});
|
|
14995
14939
|
return (_ctx, _cache) => {
|
|
14996
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
14997
|
-
createElementVNode("div", _hoisted_2$
|
|
14940
|
+
return openBlock(), createElementBlock("div", _hoisted_1$N, [
|
|
14941
|
+
createElementVNode("div", _hoisted_2$F, [
|
|
14998
14942
|
renderSlot(_ctx.$slots, "top-section", {}, void 0, true),
|
|
14999
|
-
createElementVNode("div", _hoisted_3$
|
|
14943
|
+
createElementVNode("div", _hoisted_3$B, [
|
|
15000
14944
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.tabs, (tab) => {
|
|
15001
14945
|
return openBlock(), createElementBlock("div", {
|
|
15002
14946
|
class: normalizeClass([{
|
|
@@ -15004,7 +14948,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
15004
14948
|
}, "tab"]),
|
|
15005
14949
|
key: tab,
|
|
15006
14950
|
onClick: ($event) => changeTab(tab)
|
|
15007
|
-
}, toDisplayString(tab), 11, _hoisted_4$
|
|
14951
|
+
}, toDisplayString(tab), 11, _hoisted_4$m);
|
|
15008
14952
|
}), 128))
|
|
15009
14953
|
])
|
|
15010
14954
|
]),
|
|
@@ -15020,25 +14964,21 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
15020
14964
|
};
|
|
15021
14965
|
}
|
|
15022
14966
|
});
|
|
15023
|
-
const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15024
|
-
const
|
|
15025
|
-
|
|
15026
|
-
|
|
15027
|
-
|
|
15028
|
-
const
|
|
15029
|
-
const
|
|
15030
|
-
const
|
|
15031
|
-
const
|
|
15032
|
-
const
|
|
15033
|
-
const _hoisted_6$f = { class: "comment-actions" };
|
|
15034
|
-
const _hoisted_7$a = ["innerHTML"];
|
|
15035
|
-
const _hoisted_8$5 = { class: "new-comment" };
|
|
15036
|
-
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
14967
|
+
const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-4ac29f1d"]]);
|
|
14968
|
+
const _hoisted_1$M = { class: "comments-wrap" };
|
|
14969
|
+
const _hoisted_2$E = { class: "comment-list" };
|
|
14970
|
+
const _hoisted_3$A = { class: "comment-top" };
|
|
14971
|
+
const _hoisted_4$l = { class: "comment-owner" };
|
|
14972
|
+
const _hoisted_5$j = { class: "comment-time" };
|
|
14973
|
+
const _hoisted_6$g = { class: "comment-actions" };
|
|
14974
|
+
const _hoisted_7$b = ["innerHTML"];
|
|
14975
|
+
const _hoisted_8$6 = { class: "new-comment" };
|
|
14976
|
+
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
15037
14977
|
__name: "Comments",
|
|
15038
14978
|
props: {
|
|
15039
14979
|
ref_table: {},
|
|
15040
14980
|
ref_id: {},
|
|
15041
|
-
|
|
14981
|
+
sendBtnLabel: {}
|
|
15042
14982
|
},
|
|
15043
14983
|
setup(__props) {
|
|
15044
14984
|
const bagel = useBagel();
|
|
@@ -15078,8 +15018,8 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
15078
15018
|
void fetchData();
|
|
15079
15019
|
};
|
|
15080
15020
|
return (_ctx, _cache) => {
|
|
15081
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
15082
|
-
createElementVNode("div", _hoisted_2$
|
|
15021
|
+
return openBlock(), createElementBlock("div", _hoisted_1$M, [
|
|
15022
|
+
createElementVNode("div", _hoisted_2$E, [
|
|
15083
15023
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(comments), (comment) => {
|
|
15084
15024
|
var _a, _b, _c;
|
|
15085
15025
|
return openBlock(), createElementBlock("div", {
|
|
@@ -15089,23 +15029,23 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
15089
15029
|
}, "comment"]),
|
|
15090
15030
|
key: comment.id
|
|
15091
15031
|
}, [
|
|
15092
|
-
createElementVNode("div", _hoisted_3$
|
|
15093
|
-
createElementVNode("div", _hoisted_4$
|
|
15094
|
-
createElementVNode("div", _hoisted_5$
|
|
15095
|
-
createElementVNode("div", _hoisted_6$
|
|
15096
|
-
createVNode(unref(
|
|
15032
|
+
createElementVNode("div", _hoisted_3$A, [
|
|
15033
|
+
createElementVNode("div", _hoisted_4$l, toDisplayString(comment.sender.first_name) + " " + toDisplayString(comment.sender.last_name), 1),
|
|
15034
|
+
createElementVNode("div", _hoisted_5$j, toDisplayString(comment.updated_at.split("T")[0]), 1),
|
|
15035
|
+
createElementVNode("div", _hoisted_6$g, [
|
|
15036
|
+
createVNode(unref(_sfc_main$N), {
|
|
15097
15037
|
size: 1,
|
|
15098
15038
|
class: "edit",
|
|
15099
15039
|
icon: "edit",
|
|
15100
15040
|
onClick: ($event) => isRef(editComment) ? editComment.value = comment : editComment = comment
|
|
15101
15041
|
}, null, 8, ["onClick"]),
|
|
15102
|
-
createVNode(unref(
|
|
15042
|
+
createVNode(unref(_sfc_main$N), {
|
|
15103
15043
|
size: 1.2,
|
|
15104
15044
|
class: "delete",
|
|
15105
15045
|
icon: "delete",
|
|
15106
15046
|
onClick: ($event) => deleteComment(comment.id)
|
|
15107
15047
|
}, null, 8, ["onClick"]),
|
|
15108
|
-
createVNode(unref(
|
|
15048
|
+
createVNode(unref(_sfc_main$N), {
|
|
15109
15049
|
size: 1.2,
|
|
15110
15050
|
class: "save",
|
|
15111
15051
|
icon: "save",
|
|
@@ -15113,7 +15053,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
15113
15053
|
})
|
|
15114
15054
|
])
|
|
15115
15055
|
]),
|
|
15116
|
-
unref(editComment) !== null && ((_c = unref(editComment)) == null ? void 0 : _c.id) === comment.id ? (openBlock(), createBlock(unref(
|
|
15056
|
+
unref(editComment) !== null && ((_c = unref(editComment)) == null ? void 0 : _c.id) === comment.id ? (openBlock(), createBlock(unref(_sfc_main$O), {
|
|
15117
15057
|
key: 0,
|
|
15118
15058
|
modelValue: unref(editComment).body_html,
|
|
15119
15059
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(editComment).body_html = $event),
|
|
@@ -15122,23 +15062,23 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
15122
15062
|
key: 1,
|
|
15123
15063
|
class: "editor-wrapper",
|
|
15124
15064
|
innerHTML: comment.body_html
|
|
15125
|
-
}, null, 8, _hoisted_7$
|
|
15065
|
+
}, null, 8, _hoisted_7$b))
|
|
15126
15066
|
], 2);
|
|
15127
15067
|
}), 128))
|
|
15128
15068
|
]),
|
|
15129
|
-
createElementVNode("div", _hoisted_8$
|
|
15130
|
-
createVNode(unref(
|
|
15069
|
+
createElementVNode("div", _hoisted_8$6, [
|
|
15070
|
+
createVNode(unref(_sfc_main$O), {
|
|
15131
15071
|
class: "comment-input",
|
|
15132
15072
|
modelValue: unref(bodyHtml),
|
|
15133
15073
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(bodyHtml) ? bodyHtml.value = $event : bodyHtml = $event),
|
|
15134
15074
|
onKeydown: withKeys(withModifiers(newComment, ["meta"]), ["enter"])
|
|
15135
15075
|
}, null, 8, ["modelValue", "onKeydown"]),
|
|
15136
|
-
createVNode(unref(Btn
|
|
15076
|
+
createVNode(unref(Btn), {
|
|
15137
15077
|
icon: "send",
|
|
15138
15078
|
onClick: newComment
|
|
15139
15079
|
}, {
|
|
15140
15080
|
default: withCtx(() => [
|
|
15141
|
-
createTextVNode(toDisplayString(_ctx.
|
|
15081
|
+
createTextVNode(toDisplayString(_ctx.sendBtnLabel), 1)
|
|
15142
15082
|
]),
|
|
15143
15083
|
_: 1
|
|
15144
15084
|
})
|
|
@@ -15147,14 +15087,10 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
15147
15087
|
};
|
|
15148
15088
|
}
|
|
15149
15089
|
});
|
|
15150
|
-
const Comments = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15151
|
-
const
|
|
15152
|
-
|
|
15153
|
-
|
|
15154
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
15155
|
-
const _hoisted_1$K = { class: "page-top" };
|
|
15156
|
-
const _hoisted_2$C = { class: "top-title" };
|
|
15157
|
-
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
15090
|
+
const Comments = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-ff29354a"]]);
|
|
15091
|
+
const _hoisted_1$L = { class: "page-top" };
|
|
15092
|
+
const _hoisted_2$D = { class: "top-title" };
|
|
15093
|
+
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
15158
15094
|
__name: "PageTitle",
|
|
15159
15095
|
props: {
|
|
15160
15096
|
value: {
|
|
@@ -15164,8 +15100,8 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
15164
15100
|
},
|
|
15165
15101
|
setup(__props) {
|
|
15166
15102
|
return (_ctx, _cache) => {
|
|
15167
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
15168
|
-
createElementVNode("h1", _hoisted_2$
|
|
15103
|
+
return openBlock(), createElementBlock("div", _hoisted_1$L, [
|
|
15104
|
+
createElementVNode("h1", _hoisted_2$D, [
|
|
15169
15105
|
renderSlot(_ctx.$slots, "default"),
|
|
15170
15106
|
createTextVNode(" " + toDisplayString(__props.value), 1)
|
|
15171
15107
|
])
|
|
@@ -15173,14 +15109,10 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
15173
15109
|
};
|
|
15174
15110
|
}
|
|
15175
15111
|
});
|
|
15176
|
-
const
|
|
15177
|
-
|
|
15178
|
-
|
|
15179
|
-
|
|
15180
|
-
const _hoisted_1$J = ["onKeydown"];
|
|
15181
|
-
const _hoisted_2$B = { class: "tool-bar" };
|
|
15182
|
-
const _hoisted_3$y = { class: "modal-title" };
|
|
15183
|
-
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
15112
|
+
const _hoisted_1$K = ["onKeydown"];
|
|
15113
|
+
const _hoisted_2$C = { class: "tool-bar" };
|
|
15114
|
+
const _hoisted_3$z = { class: "modal-title" };
|
|
15115
|
+
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
15184
15116
|
__name: "ModalForm",
|
|
15185
15117
|
props: {
|
|
15186
15118
|
side: { type: Boolean },
|
|
@@ -15242,17 +15174,17 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
15242
15174
|
onClick: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
15243
15175
|
}, ["stop"]))
|
|
15244
15176
|
}, [
|
|
15245
|
-
createElementVNode("header", _hoisted_2$
|
|
15177
|
+
createElementVNode("header", _hoisted_2$C, [
|
|
15246
15178
|
renderSlot(_ctx.$slots, "toolbar", {}, void 0, true),
|
|
15247
|
-
createVNode(unref(Btn
|
|
15179
|
+
createVNode(unref(Btn), {
|
|
15248
15180
|
style: normalizeStyle({ float: _ctx.side ? "left" : "right" }),
|
|
15249
15181
|
flat: "",
|
|
15250
15182
|
icon: "close",
|
|
15251
15183
|
onClick: closeModal
|
|
15252
15184
|
}, null, 8, ["style"]),
|
|
15253
|
-
createElementVNode("h3", _hoisted_3$
|
|
15185
|
+
createElementVNode("h3", _hoisted_3$z, toDisplayString(_ctx.title), 1)
|
|
15254
15186
|
]),
|
|
15255
|
-
createVNode(unref(
|
|
15187
|
+
createVNode(unref(_sfc_main$B), {
|
|
15256
15188
|
onDelete: _ctx.onDelete ? runDelete : null,
|
|
15257
15189
|
modelValue: _ctx.modelValue,
|
|
15258
15190
|
"onUpdate:modelValue": handleEmit,
|
|
@@ -15260,43 +15192,43 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
15260
15192
|
schema: computedFormSchema.value
|
|
15261
15193
|
}, null, 8, ["onDelete", "modelValue", "schema"])
|
|
15262
15194
|
])
|
|
15263
|
-
], 42, _hoisted_1$
|
|
15195
|
+
], 42, _hoisted_1$K);
|
|
15264
15196
|
};
|
|
15265
15197
|
}
|
|
15266
15198
|
});
|
|
15267
|
-
const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15268
|
-
const _hoisted_1$
|
|
15199
|
+
const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-d04a51e8"]]);
|
|
15200
|
+
const _hoisted_1$J = {
|
|
15269
15201
|
key: 0,
|
|
15270
15202
|
class: "data"
|
|
15271
15203
|
};
|
|
15272
|
-
const _hoisted_2$
|
|
15204
|
+
const _hoisted_2$B = {
|
|
15273
15205
|
key: 0,
|
|
15274
15206
|
class: "mb-3 mt-0"
|
|
15275
15207
|
};
|
|
15276
|
-
const _hoisted_3$
|
|
15277
|
-
const _hoisted_4$
|
|
15278
|
-
const _hoisted_5$
|
|
15279
|
-
const _hoisted_6$
|
|
15280
|
-
const _sfc_main$
|
|
15208
|
+
const _hoisted_3$y = { class: "key" };
|
|
15209
|
+
const _hoisted_4$k = { key: 1 };
|
|
15210
|
+
const _hoisted_5$i = { class: "key" };
|
|
15211
|
+
const _hoisted_6$f = { class: "vlue" };
|
|
15212
|
+
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
15281
15213
|
__name: "DataPreview",
|
|
15282
15214
|
props: {
|
|
15283
15215
|
data: {},
|
|
15284
15216
|
schema: {},
|
|
15285
15217
|
title: {},
|
|
15286
|
-
|
|
15218
|
+
i18nT: { type: Function, default: (str) => str }
|
|
15287
15219
|
},
|
|
15288
15220
|
setup(__props) {
|
|
15289
15221
|
const keysToIgnore = ["id", "person_id", "person", "created_at", "updated_at"];
|
|
15290
15222
|
return (_ctx, _cache) => {
|
|
15291
15223
|
var _a;
|
|
15292
|
-
return _ctx.data ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
15293
|
-
_ctx.title ? (openBlock(), createElementBlock("h3", _hoisted_2$
|
|
15224
|
+
return _ctx.data ? (openBlock(), createElementBlock("div", _hoisted_1$J, [
|
|
15225
|
+
_ctx.title ? (openBlock(), createElementBlock("h3", _hoisted_2$B, toDisplayString(_ctx.title), 1)) : createCommentVNode("", true),
|
|
15294
15226
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.schema || [], (field) => {
|
|
15295
15227
|
return openBlock(), createElementBlock("div", {
|
|
15296
15228
|
key: field.id,
|
|
15297
15229
|
class: "data-row"
|
|
15298
15230
|
}, [
|
|
15299
|
-
createElementVNode("div", _hoisted_3$
|
|
15231
|
+
createElementVNode("div", _hoisted_3$y, toDisplayString(field.label ? unref(parseLocale)(field.label) : unref(keyToLabel)(field.id)), 1),
|
|
15300
15232
|
(openBlock(), createBlock(resolveDynamicComponent(field.$el || "div"), { class: "vlue" }, {
|
|
15301
15233
|
default: withCtx(() => [
|
|
15302
15234
|
createTextVNode(toDisplayString(_ctx.data[field.id] || field.defaultValue), 1)
|
|
@@ -15305,7 +15237,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
15305
15237
|
}, 1024))
|
|
15306
15238
|
]);
|
|
15307
15239
|
}), 128)),
|
|
15308
|
-
!((_a = _ctx.schema) == null ? void 0 : _a.length) ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
15240
|
+
!((_a = _ctx.schema) == null ? void 0 : _a.length) ? (openBlock(), createElementBlock("div", _hoisted_4$k, [
|
|
15309
15241
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(Object.entries(_ctx.data).filter(
|
|
15310
15242
|
([key]) => !keysToIgnore.includes(key)
|
|
15311
15243
|
), ([key, value]) => {
|
|
@@ -15313,8 +15245,8 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
15313
15245
|
class: "data-row",
|
|
15314
15246
|
key
|
|
15315
15247
|
}, [
|
|
15316
|
-
createElementVNode("div", _hoisted_5$
|
|
15317
|
-
createElementVNode("div", _hoisted_6$
|
|
15248
|
+
createElementVNode("div", _hoisted_5$i, toDisplayString(_ctx.i18nT(unref(keyToLabel)(key))), 1),
|
|
15249
|
+
createElementVNode("div", _hoisted_6$f, toDisplayString(value), 1)
|
|
15318
15250
|
]);
|
|
15319
15251
|
}), 128))
|
|
15320
15252
|
])) : createCommentVNode("", true),
|
|
@@ -15323,18 +15255,14 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
15323
15255
|
};
|
|
15324
15256
|
}
|
|
15325
15257
|
});
|
|
15326
|
-
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15327
|
-
const
|
|
15328
|
-
__proto__: null,
|
|
15329
|
-
default: DataPreview
|
|
15330
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
15331
|
-
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
15258
|
+
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-d4ee3566"]]);
|
|
15259
|
+
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
15332
15260
|
__name: "FormSchema",
|
|
15333
15261
|
props: {
|
|
15334
15262
|
modelValue: {},
|
|
15335
15263
|
schema: {},
|
|
15336
15264
|
onDelete: {},
|
|
15337
|
-
|
|
15265
|
+
i18nT: { type: Function, default: (key) => key }
|
|
15338
15266
|
},
|
|
15339
15267
|
emits: ["update:modelValue", "submit"],
|
|
15340
15268
|
setup(__props, { emit: __emit }) {
|
|
@@ -15345,13 +15273,13 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
15345
15273
|
const props2 = __props;
|
|
15346
15274
|
const data2 = reactive({
|
|
15347
15275
|
...props2.modelValue,
|
|
15348
|
-
t: (val) => props2
|
|
15276
|
+
t: (val) => props2.i18nT(val)
|
|
15349
15277
|
});
|
|
15350
15278
|
const runDelete = () => {
|
|
15351
15279
|
showModal(
|
|
15352
15280
|
{
|
|
15353
15281
|
class: "small-modal",
|
|
15354
|
-
title: props2
|
|
15282
|
+
title: props2.i18nT("Are you sure?"),
|
|
15355
15283
|
actions: [
|
|
15356
15284
|
{
|
|
15357
15285
|
value: "Confirm",
|
|
@@ -15364,7 +15292,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
15364
15292
|
{ value: "Cancel", color: "gray" }
|
|
15365
15293
|
]
|
|
15366
15294
|
},
|
|
15367
|
-
{ default: props2
|
|
15295
|
+
{ default: props2.i18nT("form.deleteMessage") }
|
|
15368
15296
|
);
|
|
15369
15297
|
};
|
|
15370
15298
|
return (_ctx, _cache) => {
|
|
@@ -15377,7 +15305,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
15377
15305
|
modelValue: _ctx.modelValue,
|
|
15378
15306
|
"onUpdate:modelValue": handleEmit,
|
|
15379
15307
|
onSubmit: runSubmit,
|
|
15380
|
-
submitLabel: _ctx
|
|
15308
|
+
submitLabel: _ctx.i18nT("save")
|
|
15381
15309
|
}, {
|
|
15382
15310
|
default: withCtx(() => [
|
|
15383
15311
|
createVNode(_component_FormKitSchema, {
|
|
@@ -15387,7 +15315,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
15387
15315
|
]),
|
|
15388
15316
|
_: 1
|
|
15389
15317
|
}, 8, ["modelValue", "submitLabel"]),
|
|
15390
|
-
((_a = _ctx.modelValue) == null ? void 0 : _a.id) && _ctx.onDelete ? (openBlock(), createBlock(unref(Btn
|
|
15318
|
+
((_a = _ctx.modelValue) == null ? void 0 : _a.id) && _ctx.onDelete ? (openBlock(), createBlock(unref(Btn), {
|
|
15391
15319
|
key: 0,
|
|
15392
15320
|
class: "del-top",
|
|
15393
15321
|
onClick: runDelete,
|
|
@@ -15401,14 +15329,14 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
15401
15329
|
};
|
|
15402
15330
|
}
|
|
15403
15331
|
});
|
|
15404
|
-
const _hoisted_1$
|
|
15405
|
-
const _hoisted_2$
|
|
15406
|
-
const _hoisted_3$
|
|
15407
|
-
const _hoisted_4$
|
|
15408
|
-
const _hoisted_5$
|
|
15409
|
-
const _hoisted_6$
|
|
15410
|
-
const _hoisted_7$
|
|
15411
|
-
const _sfc_main$
|
|
15332
|
+
const _hoisted_1$I = { class: "table-list-wrap h-100" };
|
|
15333
|
+
const _hoisted_2$A = { class: "infinite-wrapper" };
|
|
15334
|
+
const _hoisted_3$x = { class: "row first-row" };
|
|
15335
|
+
const _hoisted_4$j = ["onClick"];
|
|
15336
|
+
const _hoisted_5$h = { class: "flex" };
|
|
15337
|
+
const _hoisted_6$e = ["onClick"];
|
|
15338
|
+
const _hoisted_7$a = { key: 1 };
|
|
15339
|
+
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
15412
15340
|
__name: "TableSchema",
|
|
15413
15341
|
props: {
|
|
15414
15342
|
data: {},
|
|
@@ -15455,27 +15383,27 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
15455
15383
|
}))
|
|
15456
15384
|
);
|
|
15457
15385
|
return (_ctx, _cache) => {
|
|
15458
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
15459
|
-
createElementVNode("table", _hoisted_2$
|
|
15460
|
-
createElementVNode("thead", _hoisted_3$
|
|
15386
|
+
return openBlock(), createElementBlock("div", _hoisted_1$I, [
|
|
15387
|
+
createElementVNode("table", _hoisted_2$A, [
|
|
15388
|
+
createElementVNode("thead", _hoisted_3$x, [
|
|
15461
15389
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(columns.value, (field) => {
|
|
15462
15390
|
return openBlock(), createElementBlock("th", {
|
|
15463
15391
|
class: "col",
|
|
15464
15392
|
key: field.id,
|
|
15465
15393
|
onClick: ($event) => sort2(field.id)
|
|
15466
15394
|
}, [
|
|
15467
|
-
createElementVNode("div", _hoisted_5$
|
|
15395
|
+
createElementVNode("div", _hoisted_5$h, [
|
|
15468
15396
|
createTextVNode(toDisplayString(unref(parseLocale)(field.label || field.id)) + " ", 1),
|
|
15469
15397
|
createElementVNode("div", {
|
|
15470
15398
|
class: normalizeClass(["list-arrows", { sorted: unref(sortField) === field.id }])
|
|
15471
15399
|
}, [
|
|
15472
|
-
createVNode(unref(
|
|
15400
|
+
createVNode(unref(_sfc_main$N), {
|
|
15473
15401
|
class: normalizeClass({ desc: unref(sortDirection) === "DESC" }),
|
|
15474
15402
|
icon: "keyboard_arrow_up"
|
|
15475
15403
|
}, null, 8, ["class"])
|
|
15476
15404
|
], 2)
|
|
15477
15405
|
])
|
|
15478
|
-
], 8, _hoisted_4$
|
|
15406
|
+
], 8, _hoisted_4$j);
|
|
15479
15407
|
}), 128))
|
|
15480
15408
|
]),
|
|
15481
15409
|
createElementVNode("tbody", {
|
|
@@ -15498,7 +15426,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
15498
15426
|
key: 0,
|
|
15499
15427
|
row,
|
|
15500
15428
|
field
|
|
15501
|
-
}, void 0, true) : (openBlock(), createElementBlock("div", _hoisted_7$
|
|
15429
|
+
}, void 0, true) : (openBlock(), createElementBlock("div", _hoisted_7$a, [
|
|
15502
15430
|
(field["v-if"] ? field["v-if"](row[field.id], row) : true) ? (openBlock(), createBlock(resolveDynamicComponent(field.$el || field.$cmp || "div"), mergeProps({ key: 0 }, bindAttrs(field.attrs, row[field.id], row), {
|
|
15503
15431
|
src: field.$el === "img" ? (_a = row[field.id]) == null ? void 0 : _a.url : ""
|
|
15504
15432
|
}), {
|
|
@@ -15513,7 +15441,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
15513
15441
|
]))
|
|
15514
15442
|
]);
|
|
15515
15443
|
}), 128))
|
|
15516
|
-
], 8, _hoisted_6$
|
|
15444
|
+
], 8, _hoisted_6$e);
|
|
15517
15445
|
}), 128))
|
|
15518
15446
|
], 2)
|
|
15519
15447
|
])
|
|
@@ -15521,24 +15449,16 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
15521
15449
|
};
|
|
15522
15450
|
}
|
|
15523
15451
|
});
|
|
15524
|
-
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15525
|
-
const
|
|
15526
|
-
|
|
15527
|
-
default: TableSchema
|
|
15528
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
15529
|
-
const _sfc_main$y = {};
|
|
15530
|
-
const _hoisted_1$G = { class: "flex space-between" };
|
|
15452
|
+
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-5c5ba615"]]);
|
|
15453
|
+
const _sfc_main$z = {};
|
|
15454
|
+
const _hoisted_1$H = { class: "flex space-between" };
|
|
15531
15455
|
function _sfc_render$1(_ctx, _cache) {
|
|
15532
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
15456
|
+
return openBlock(), createElementBlock("div", _hoisted_1$H, [
|
|
15533
15457
|
renderSlot(_ctx.$slots, "default")
|
|
15534
15458
|
]);
|
|
15535
15459
|
}
|
|
15536
|
-
const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15537
|
-
const
|
|
15538
|
-
__proto__: null,
|
|
15539
|
-
default: TopBar
|
|
15540
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
15541
|
-
const _sfc_main$x = {};
|
|
15460
|
+
const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["render", _sfc_render$1]]);
|
|
15461
|
+
const _sfc_main$y = {};
|
|
15542
15462
|
function _sfc_render(_ctx, _cache) {
|
|
15543
15463
|
const _component_router_view = resolveComponent("router-view");
|
|
15544
15464
|
return openBlock(), createBlock(_component_router_view, null, {
|
|
@@ -15560,13 +15480,9 @@ function _sfc_render(_ctx, _cache) {
|
|
|
15560
15480
|
_: 1
|
|
15561
15481
|
});
|
|
15562
15482
|
}
|
|
15563
|
-
const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15564
|
-
const
|
|
15565
|
-
|
|
15566
|
-
default: RouterWrapper
|
|
15567
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
15568
|
-
const _hoisted_1$F = { class: "card h-100 thin" };
|
|
15569
|
-
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
15483
|
+
const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render]]);
|
|
15484
|
+
const _hoisted_1$G = { class: "card h-100 thin" };
|
|
15485
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
15570
15486
|
__name: "ContactSubmissions",
|
|
15571
15487
|
props: {
|
|
15572
15488
|
person_id: {
|
|
@@ -15596,8 +15512,8 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
15596
15512
|
void getData();
|
|
15597
15513
|
});
|
|
15598
15514
|
return (_ctx, _cache) => {
|
|
15599
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
15600
|
-
createVNode(unref(TableSchema
|
|
15515
|
+
return openBlock(), createElementBlock("div", _hoisted_1$G, [
|
|
15516
|
+
createVNode(unref(TableSchema), {
|
|
15601
15517
|
schema: schema2,
|
|
15602
15518
|
data: unref(data2)
|
|
15603
15519
|
}, null, 8, ["data"])
|
|
@@ -15605,10 +15521,106 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
15605
15521
|
};
|
|
15606
15522
|
}
|
|
15607
15523
|
});
|
|
15608
|
-
const
|
|
15609
|
-
|
|
15610
|
-
|
|
15611
|
-
}
|
|
15524
|
+
const _hoisted_1$F = {
|
|
15525
|
+
key: 0,
|
|
15526
|
+
class: "person-card-edit flex gap-2"
|
|
15527
|
+
};
|
|
15528
|
+
const _hoisted_2$z = { class: "person-card-icon-wrap" };
|
|
15529
|
+
const _hoisted_3$w = { class: "person-card-icon" };
|
|
15530
|
+
const _hoisted_4$i = { class: "person-card-name txt20" };
|
|
15531
|
+
const _hoisted_5$g = { class: "person-card-details-wrap" };
|
|
15532
|
+
const _hoisted_6$d = {
|
|
15533
|
+
key: 0,
|
|
15534
|
+
class: "person-card-details"
|
|
15535
|
+
};
|
|
15536
|
+
const _hoisted_7$9 = {
|
|
15537
|
+
key: 1,
|
|
15538
|
+
class: "person-card-details"
|
|
15539
|
+
};
|
|
15540
|
+
const _hoisted_8$5 = {
|
|
15541
|
+
key: 2,
|
|
15542
|
+
class: "person-card-details badge"
|
|
15543
|
+
};
|
|
15544
|
+
const _hoisted_9$4 = { key: 0 };
|
|
15545
|
+
const _hoisted_10$3 = { key: 1 };
|
|
15546
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
15547
|
+
__name: "PersonPreview",
|
|
15548
|
+
props: {
|
|
15549
|
+
person: {},
|
|
15550
|
+
onClick: { type: Function },
|
|
15551
|
+
personSchema: { type: Function }
|
|
15552
|
+
},
|
|
15553
|
+
setup(__props) {
|
|
15554
|
+
const bagel = useBagel();
|
|
15555
|
+
const { modalForm } = useModal();
|
|
15556
|
+
const props2 = __props;
|
|
15557
|
+
const showEditForm = async () => {
|
|
15558
|
+
const { first_name, last_name } = props2.person;
|
|
15559
|
+
modalForm({
|
|
15560
|
+
side: true,
|
|
15561
|
+
title: `${first_name} ${last_name}`,
|
|
15562
|
+
schema: props2.personSchema(),
|
|
15563
|
+
modelValue: props2.person,
|
|
15564
|
+
onSubmit: (newPerson) => bagel.put("/person", newPerson)
|
|
15565
|
+
// .then(() => toast.success(i18nT('updatedSuccessfully'))),
|
|
15566
|
+
});
|
|
15567
|
+
};
|
|
15568
|
+
return (_ctx, _cache) => {
|
|
15569
|
+
var _a, _b;
|
|
15570
|
+
return _ctx.person ? (openBlock(), createElementBlock("div", {
|
|
15571
|
+
key: 0,
|
|
15572
|
+
onClick: _cache[0] || (_cache[0] = //@ts-ignore
|
|
15573
|
+
(...args) => _ctx.onClick && _ctx.onClick(...args)),
|
|
15574
|
+
class: "person-card"
|
|
15575
|
+
}, [
|
|
15576
|
+
!_ctx.onClick ? (openBlock(), createElementBlock("div", _hoisted_1$F, [
|
|
15577
|
+
!_ctx.$route.path.match("/search") ? (openBlock(), createBlock(unref(Btn), {
|
|
15578
|
+
key: 0,
|
|
15579
|
+
round: "",
|
|
15580
|
+
thin: "",
|
|
15581
|
+
"icon.end": "arrow_outward",
|
|
15582
|
+
value: "Profile",
|
|
15583
|
+
is: "router-link",
|
|
15584
|
+
to: `/search/${_ctx.person.id}`
|
|
15585
|
+
}, null, 8, ["to"])) : createCommentVNode("", true),
|
|
15586
|
+
createVNode(unref(Btn), {
|
|
15587
|
+
thin: "",
|
|
15588
|
+
flat: "",
|
|
15589
|
+
onClick: showEditForm,
|
|
15590
|
+
icon: "edit"
|
|
15591
|
+
})
|
|
15592
|
+
])) : createCommentVNode("", true),
|
|
15593
|
+
createElementVNode("div", _hoisted_2$z, [
|
|
15594
|
+
createElementVNode("p", _hoisted_3$w, toDisplayString(unref(initials)(_ctx.person.first_name, _ctx.person.last_name)), 1),
|
|
15595
|
+
createElementVNode("p", _hoisted_4$i, toDisplayString(_ctx.person.first_name) + " " + toDisplayString(_ctx.person.last_name), 1)
|
|
15596
|
+
]),
|
|
15597
|
+
createElementVNode("div", _hoisted_5$g, [
|
|
15598
|
+
((_a = _ctx.person.phone) == null ? void 0 : _a.length) ? (openBlock(), createElementBlock("div", _hoisted_6$d, [
|
|
15599
|
+
createVNode(unref(_sfc_main$N), { icon: "phone" }),
|
|
15600
|
+
(openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.person.phone, (phone) => {
|
|
15601
|
+
return openBlock(), createElementBlock("p", {
|
|
15602
|
+
key: phone.id
|
|
15603
|
+
}, toDisplayString(phone.phone), 1);
|
|
15604
|
+
}), 128))
|
|
15605
|
+
])) : createCommentVNode("", true),
|
|
15606
|
+
((_b = _ctx.person.email) == null ? void 0 : _b.length) ? (openBlock(), createElementBlock("div", _hoisted_7$9, [
|
|
15607
|
+
createVNode(unref(_sfc_main$N), { icon: "email" }),
|
|
15608
|
+
(openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.person.email, (email) => {
|
|
15609
|
+
return openBlock(), createElementBlock("p", {
|
|
15610
|
+
key: email.id
|
|
15611
|
+
}, toDisplayString(email.email), 1);
|
|
15612
|
+
}), 128))
|
|
15613
|
+
])) : createCommentVNode("", true),
|
|
15614
|
+
_ctx.person.date_of_birth || _ctx.person.gender ? (openBlock(), createElementBlock("div", _hoisted_8$5, [
|
|
15615
|
+
createVNode(unref(_sfc_main$N), { icon: "badge" }),
|
|
15616
|
+
_ctx.person.date_of_birth ? (openBlock(), createElementBlock("p", _hoisted_9$4, toDisplayString(_ctx.person.date_of_birth), 1)) : createCommentVNode("", true),
|
|
15617
|
+
_ctx.person.gender ? (openBlock(), createElementBlock("p", _hoisted_10$3, toDisplayString(_ctx.person.gender), 1)) : createCommentVNode("", true)
|
|
15618
|
+
])) : createCommentVNode("", true)
|
|
15619
|
+
])
|
|
15620
|
+
])) : createCommentVNode("", true);
|
|
15621
|
+
};
|
|
15622
|
+
}
|
|
15623
|
+
});
|
|
15612
15624
|
const _withScopeId$2 = (n) => (pushScopeId("data-v-f7af54ed"), n = n(), popScopeId(), n);
|
|
15613
15625
|
const _hoisted_1$E = { class: "bar-chart" };
|
|
15614
15626
|
const _hoisted_2$y = {
|
|
@@ -15726,10 +15738,6 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
15726
15738
|
}
|
|
15727
15739
|
});
|
|
15728
15740
|
const BarChart = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-f7af54ed"]]);
|
|
15729
|
-
const BarChart$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15730
|
-
__proto__: null,
|
|
15731
|
-
default: BarChart
|
|
15732
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
15733
15741
|
const explicitKeys = [
|
|
15734
15742
|
"__key",
|
|
15735
15743
|
"__init",
|
|
@@ -17018,7 +17026,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
17018
17026
|
[vModelCheckbox, unref(val)]
|
|
17019
17027
|
]),
|
|
17020
17028
|
createElementVNode("span", null, [
|
|
17021
|
-
createVNode(unref(
|
|
17029
|
+
createVNode(unref(_sfc_main$N), { icon: "check" })
|
|
17022
17030
|
])
|
|
17023
17031
|
]);
|
|
17024
17032
|
};
|
|
@@ -17093,7 +17101,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
17093
17101
|
}, [
|
|
17094
17102
|
unref(deleteCandidate) === i2 ? (openBlock(), createElementBlock("div", _hoisted_3$u, [
|
|
17095
17103
|
createElementVNode("p", _hoisted_4$g, toDisplayString(_ctx.form.sure), 1),
|
|
17096
|
-
createVNode(unref(Btn
|
|
17104
|
+
createVNode(unref(Btn), {
|
|
17097
17105
|
thin: "",
|
|
17098
17106
|
color: "red",
|
|
17099
17107
|
onClick: ($event) => deleteContact(contact.id)
|
|
@@ -17103,7 +17111,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
17103
17111
|
]),
|
|
17104
17112
|
_: 2
|
|
17105
17113
|
}, 1032, ["onClick"]),
|
|
17106
|
-
createVNode(unref(Btn
|
|
17114
|
+
createVNode(unref(Btn), {
|
|
17107
17115
|
thin: "",
|
|
17108
17116
|
onClick: _cache[0] || (_cache[0] = ($event) => isRef(deleteCandidate) ? deleteCandidate.value = -1 : deleteCandidate = -1)
|
|
17109
17117
|
}, {
|
|
@@ -17141,7 +17149,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
17141
17149
|
}, null, 8, _hoisted_7$7)), [
|
|
17142
17150
|
[vModelText, contact.phone]
|
|
17143
17151
|
]) : createCommentVNode("", true),
|
|
17144
|
-
createVNode(unref(Btn
|
|
17152
|
+
createVNode(unref(Btn), {
|
|
17145
17153
|
thin: "",
|
|
17146
17154
|
onClick: ($event) => isRef(deleteCandidate) ? deleteCandidate.value = i2 : deleteCandidate = i2,
|
|
17147
17155
|
icon: "delete",
|
|
@@ -17150,7 +17158,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
17150
17158
|
}, null, 8, ["onClick", "disabled"])
|
|
17151
17159
|
]);
|
|
17152
17160
|
}), 128)),
|
|
17153
|
-
createVNode(unref(Btn
|
|
17161
|
+
createVNode(unref(Btn), {
|
|
17154
17162
|
class: "add-btn",
|
|
17155
17163
|
color: "blue",
|
|
17156
17164
|
flat: "",
|
|
@@ -17249,7 +17257,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
17249
17257
|
}, [
|
|
17250
17258
|
unref(deleteCandidate) === i2 ? (openBlock(), createElementBlock("div", _hoisted_3$t, [
|
|
17251
17259
|
createElementVNode("p", _hoisted_4$f, toDisplayString(_ctx.form.sure), 1),
|
|
17252
|
-
createVNode(unref(Btn
|
|
17260
|
+
createVNode(unref(Btn), {
|
|
17253
17261
|
thin: "",
|
|
17254
17262
|
color: "red",
|
|
17255
17263
|
onClick: ($event) => deleteContact(address.id)
|
|
@@ -17259,7 +17267,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
17259
17267
|
]),
|
|
17260
17268
|
_: 2
|
|
17261
17269
|
}, 1032, ["onClick"]),
|
|
17262
|
-
createVNode(unref(Btn
|
|
17270
|
+
createVNode(unref(Btn), {
|
|
17263
17271
|
thin: "",
|
|
17264
17272
|
onClick: _cache[0] || (_cache[0] = ($event) => isRef(deleteCandidate) ? deleteCandidate.value = -1 : deleteCandidate = -1)
|
|
17265
17273
|
}, {
|
|
@@ -17314,7 +17322,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
17314
17322
|
])
|
|
17315
17323
|
]),
|
|
17316
17324
|
createElementVNode("div", _hoisted_12$1, [
|
|
17317
|
-
createVNode(unref(Btn
|
|
17325
|
+
createVNode(unref(Btn), {
|
|
17318
17326
|
thin: "",
|
|
17319
17327
|
onClick: ($event) => isRef(deleteCandidate) ? deleteCandidate.value = i2 : deleteCandidate = i2,
|
|
17320
17328
|
icon: "delete",
|
|
@@ -17323,7 +17331,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
17323
17331
|
])
|
|
17324
17332
|
]);
|
|
17325
17333
|
}), 128)),
|
|
17326
|
-
createVNode(unref(Btn
|
|
17334
|
+
createVNode(unref(Btn), {
|
|
17327
17335
|
class: "add-btn",
|
|
17328
17336
|
color: "blue",
|
|
17329
17337
|
flat: "",
|
|
@@ -17421,7 +17429,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
17421
17429
|
}, [
|
|
17422
17430
|
unref(deleteCandidate) === i2 ? (openBlock(), createElementBlock("div", _hoisted_3$s, [
|
|
17423
17431
|
createElementVNode("p", _hoisted_4$e, toDisplayString(_ctx.form.sure), 1),
|
|
17424
|
-
createVNode(unref(Btn
|
|
17432
|
+
createVNode(unref(Btn), {
|
|
17425
17433
|
thin: "",
|
|
17426
17434
|
color: "red",
|
|
17427
17435
|
onClick: ($event) => deleteContact(bank_account.id)
|
|
@@ -17431,7 +17439,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
17431
17439
|
]),
|
|
17432
17440
|
_: 2
|
|
17433
17441
|
}, 1032, ["onClick"]),
|
|
17434
|
-
createVNode(unref(Btn
|
|
17442
|
+
createVNode(unref(Btn), {
|
|
17435
17443
|
thin: "",
|
|
17436
17444
|
onClick: _cache[0] || (_cache[0] = ($event) => isRef(deleteCandidate) ? deleteCandidate.value = -1 : deleteCandidate = -1)
|
|
17437
17445
|
}, {
|
|
@@ -17520,7 +17528,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
17520
17528
|
])
|
|
17521
17529
|
]),
|
|
17522
17530
|
createElementVNode("div", _hoisted_17, [
|
|
17523
|
-
createVNode(unref(Btn
|
|
17531
|
+
createVNode(unref(Btn), {
|
|
17524
17532
|
thin: "",
|
|
17525
17533
|
onClick: ($event) => isRef(deleteCandidate) ? deleteCandidate.value = i2 : deleteCandidate = i2,
|
|
17526
17534
|
icon: "delete",
|
|
@@ -17529,7 +17537,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
17529
17537
|
])
|
|
17530
17538
|
]);
|
|
17531
17539
|
}), 128)),
|
|
17532
|
-
createVNode(unref(Btn
|
|
17540
|
+
createVNode(unref(Btn), {
|
|
17533
17541
|
class: "add-btn",
|
|
17534
17542
|
color: "blue",
|
|
17535
17543
|
flat: "",
|
|
@@ -17575,7 +17583,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
17575
17583
|
return ((_a = field.value) == null ? void 0 : _a.length) === 0;
|
|
17576
17584
|
}
|
|
17577
17585
|
), (field, i2) => {
|
|
17578
|
-
return openBlock(), createBlock(unref(Btn
|
|
17586
|
+
return openBlock(), createBlock(unref(Btn), {
|
|
17579
17587
|
class: "add-btn",
|
|
17580
17588
|
color: "gray",
|
|
17581
17589
|
flat: "",
|
|
@@ -17832,12 +17840,12 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
17832
17840
|
style: normalizeStyle([`--p:${item.progress}`, { "--b": "2px" }])
|
|
17833
17841
|
}, [
|
|
17834
17842
|
item.progress < 100 ? (openBlock(), createElementBlock("span", _hoisted_8$1, toDisplayString(`${item.progress.toFixed(0)}`), 1)) : createCommentVNode("", true),
|
|
17835
|
-
createVNode(unref(
|
|
17843
|
+
createVNode(unref(_sfc_main$N), {
|
|
17836
17844
|
class: "success",
|
|
17837
17845
|
icon: "check"
|
|
17838
17846
|
})
|
|
17839
17847
|
], 6),
|
|
17840
|
-
item.progress === 100 ? (openBlock(), createBlock(unref(Btn
|
|
17848
|
+
item.progress === 100 ? (openBlock(), createBlock(unref(Btn), {
|
|
17841
17849
|
key: 0,
|
|
17842
17850
|
thin: "",
|
|
17843
17851
|
class: "delete-btn",
|
|
@@ -17904,7 +17912,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
17904
17912
|
schema: props2.personSchema,
|
|
17905
17913
|
modelValue: person.value,
|
|
17906
17914
|
onSubmit: (newPerson) => bagel.put("/person", newPerson)
|
|
17907
|
-
// .then(() => toast.success(
|
|
17915
|
+
// .then(() => toast.success(i18nT('updatedSuccessfully'))), // TODO: use toast
|
|
17908
17916
|
});
|
|
17909
17917
|
};
|
|
17910
17918
|
return (_ctx, _cache) => {
|
|
@@ -17916,7 +17924,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
17916
17924
|
class: "person-card"
|
|
17917
17925
|
}, [
|
|
17918
17926
|
!_ctx.onClick ? (openBlock(), createElementBlock("div", _hoisted_1$w, [
|
|
17919
|
-
!_ctx.$route.path.match("/search") ? (openBlock(), createBlock(unref(Btn
|
|
17927
|
+
!_ctx.$route.path.match("/search") ? (openBlock(), createBlock(unref(Btn), {
|
|
17920
17928
|
key: 0,
|
|
17921
17929
|
onClick: unref(hideModal),
|
|
17922
17930
|
round: "",
|
|
@@ -17926,7 +17934,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
17926
17934
|
is: "router-link",
|
|
17927
17935
|
to: `/search/${person.value.id}`
|
|
17928
17936
|
}, null, 8, ["onClick", "to"])) : createCommentVNode("", true),
|
|
17929
|
-
createVNode(unref(Btn
|
|
17937
|
+
createVNode(unref(Btn), {
|
|
17930
17938
|
thin: "",
|
|
17931
17939
|
flat: "",
|
|
17932
17940
|
onClick: showEditForm,
|
|
@@ -17939,7 +17947,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
17939
17947
|
]),
|
|
17940
17948
|
createElementVNode("div", _hoisted_5$a, [
|
|
17941
17949
|
((_a = person.value.phone) == null ? void 0 : _a.length) ? (openBlock(), createElementBlock("div", _hoisted_6$7, [
|
|
17942
|
-
createVNode(unref(
|
|
17950
|
+
createVNode(unref(_sfc_main$N), { icon: "phone" }),
|
|
17943
17951
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(person.value.phone, (phone) => {
|
|
17944
17952
|
return openBlock(), createElementBlock("p", {
|
|
17945
17953
|
key: phone.id
|
|
@@ -17947,7 +17955,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
17947
17955
|
}), 128))
|
|
17948
17956
|
])) : createCommentVNode("", true),
|
|
17949
17957
|
((_b = person.value.email) == null ? void 0 : _b.length) ? (openBlock(), createElementBlock("div", _hoisted_7$3, [
|
|
17950
|
-
createVNode(unref(
|
|
17958
|
+
createVNode(unref(_sfc_main$N), { icon: "email" }),
|
|
17951
17959
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(person.value.email, (email) => {
|
|
17952
17960
|
return openBlock(), createElementBlock("p", {
|
|
17953
17961
|
key: email.id
|
|
@@ -17955,7 +17963,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
17955
17963
|
}), 128))
|
|
17956
17964
|
])) : createCommentVNode("", true),
|
|
17957
17965
|
person.value.date_of_birth || person.value.gender ? (openBlock(), createElementBlock("div", _hoisted_8, [
|
|
17958
|
-
createVNode(unref(
|
|
17966
|
+
createVNode(unref(_sfc_main$N), { icon: "badge" }),
|
|
17959
17967
|
person.value.date_of_birth ? (openBlock(), createElementBlock("p", _hoisted_9, toDisplayString(person.value.date_of_birth), 1)) : createCommentVNode("", true),
|
|
17960
17968
|
person.value.gender ? (openBlock(), createElementBlock("p", _hoisted_10, toDisplayString(person.value.gender), 1)) : createCommentVNode("", true)
|
|
17961
17969
|
])) : createCommentVNode("", true)
|
|
@@ -18040,7 +18048,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18040
18048
|
}, [
|
|
18041
18049
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(variables.value, (v) => {
|
|
18042
18050
|
var _a;
|
|
18043
|
-
return openBlock(), createBlock(unref(
|
|
18051
|
+
return openBlock(), createBlock(unref(_sfc_main$2), {
|
|
18044
18052
|
key: v,
|
|
18045
18053
|
placeholder: `Variable ${v}`,
|
|
18046
18054
|
modelValue: (_a = unref(val)) == null ? void 0 : _a[v - 1],
|
|
@@ -18051,18 +18059,14 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18051
18059
|
};
|
|
18052
18060
|
}
|
|
18053
18061
|
});
|
|
18054
|
-
const
|
|
18055
|
-
|
|
18056
|
-
|
|
18057
|
-
|
|
18058
|
-
const
|
|
18059
|
-
const
|
|
18060
|
-
const
|
|
18061
|
-
const
|
|
18062
|
-
const ToggleSwitch = createInput(Toggle);
|
|
18063
|
-
const FileUpload = createInput(_sfc_main$o);
|
|
18064
|
-
const TextVariables = createInput(_sfc_main$m);
|
|
18065
|
-
const PersonPreview = createInput(_sfc_main$n);
|
|
18062
|
+
const ContactArrayInput = createInput(ContactArrayFormKit);
|
|
18063
|
+
const AddressInput = createInput(AddressArray);
|
|
18064
|
+
const BankDetailsInput = createInput(BankDetailsArray);
|
|
18065
|
+
const MiscFieldsInput = createInput(MiscFieldsBtns);
|
|
18066
|
+
const ToggleSwitchInput = createInput(Toggle);
|
|
18067
|
+
const FileUploadInput = createInput(_sfc_main$o);
|
|
18068
|
+
const TextVariablesInput = createInput(_sfc_main$m);
|
|
18069
|
+
const PersonPreviewInput = createInput(_sfc_main$n);
|
|
18066
18070
|
const _hoisted_1$v = {
|
|
18067
18071
|
key: 1,
|
|
18068
18072
|
class: "pill"
|
|
@@ -18093,14 +18097,14 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
18093
18097
|
return (_ctx, _cache) => {
|
|
18094
18098
|
return openBlock(), createElementBlock("div", null, [
|
|
18095
18099
|
createTextVNode(toDisplayString(_ctx.field.label || _ctx.field.id) + " ", 1),
|
|
18096
|
-
_ctx.field.refCollection ? (openBlock(), createBlock(unref(Btn
|
|
18100
|
+
_ctx.field.refCollection ? (openBlock(), createBlock(unref(Btn), {
|
|
18097
18101
|
key: 0,
|
|
18098
18102
|
color: "gray",
|
|
18099
18103
|
onClick: _cache[0] || (_cache[0] = ($event) => openModal())
|
|
18100
18104
|
}, {
|
|
18101
18105
|
default: withCtx(() => [
|
|
18102
18106
|
createTextVNode(toDisplayString(content.value) + " ", 1),
|
|
18103
|
-
createVNode(unref(
|
|
18107
|
+
createVNode(unref(_sfc_main$N), { icon: "arrow_forward" })
|
|
18104
18108
|
]),
|
|
18105
18109
|
_: 1
|
|
18106
18110
|
})) : (openBlock(), createElementBlock("span", _hoisted_1$v, toDisplayString(content.value), 1))
|
|
@@ -18108,10 +18112,6 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
18108
18112
|
};
|
|
18109
18113
|
}
|
|
18110
18114
|
});
|
|
18111
|
-
const ItemRef = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
18112
|
-
__proto__: null,
|
|
18113
|
-
default: _sfc_main$l
|
|
18114
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
18115
18115
|
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
18116
18116
|
__name: "MaterialIcon",
|
|
18117
18117
|
props: {
|
|
@@ -18167,7 +18167,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
18167
18167
|
createElementVNode("label", {
|
|
18168
18168
|
for: unref(formatString)(_ctx.name, "pascal")
|
|
18169
18169
|
}, [
|
|
18170
|
-
createVNode(_sfc_main$
|
|
18170
|
+
createVNode(_sfc_main$P, {
|
|
18171
18171
|
input: unref(formatString)(_ctx.name, "titleCase")
|
|
18172
18172
|
}, null, 8, ["input"])
|
|
18173
18173
|
], 8, _hoisted_2$r),
|
|
@@ -18208,16 +18208,12 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
18208
18208
|
onInput: handleInput
|
|
18209
18209
|
}, null, 40, _hoisted_6$6)) : createCommentVNode("", true),
|
|
18210
18210
|
createElementVNode("div", null, [
|
|
18211
|
-
createVNode(_sfc_main$
|
|
18211
|
+
createVNode(_sfc_main$P, { input: _ctx.errorMessage }, null, 8, ["input"])
|
|
18212
18212
|
])
|
|
18213
18213
|
]);
|
|
18214
18214
|
};
|
|
18215
18215
|
}
|
|
18216
18216
|
});
|
|
18217
|
-
const PlainInputField = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
18218
|
-
__proto__: null,
|
|
18219
|
-
default: _sfc_main$j
|
|
18220
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
18221
18217
|
const _withScopeId = (n) => (pushScopeId("data-v-69f0d857"), n = n(), popScopeId(), n);
|
|
18222
18218
|
const _hoisted_1$t = ["title"];
|
|
18223
18219
|
const _hoisted_2$q = ["for"];
|
|
@@ -18274,10 +18270,6 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
18274
18270
|
}
|
|
18275
18271
|
});
|
|
18276
18272
|
const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-69f0d857"]]);
|
|
18277
|
-
const CheckInput$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
18278
|
-
__proto__: null,
|
|
18279
|
-
default: CheckInput
|
|
18280
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
18281
18273
|
const _hoisted_1$s = ["title"];
|
|
18282
18274
|
const _hoisted_2$p = { key: 0 };
|
|
18283
18275
|
const _hoisted_3$m = { class: "flex gap-3" };
|
|
@@ -18400,10 +18392,6 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
18400
18392
|
}
|
|
18401
18393
|
});
|
|
18402
18394
|
const CurrencyInput = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-17a56a3f"]]);
|
|
18403
|
-
const CurrencyInput$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
18404
|
-
__proto__: null,
|
|
18405
|
-
default: CurrencyInput
|
|
18406
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
18407
18395
|
const _hoisted_1$r = ["title"];
|
|
18408
18396
|
const _hoisted_2$o = { key: 0 };
|
|
18409
18397
|
const _hoisted_3$l = ["placeholder", "disabled"];
|
|
@@ -18446,10 +18434,6 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
18446
18434
|
}
|
|
18447
18435
|
});
|
|
18448
18436
|
const DateInput = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-782aee7f"]]);
|
|
18449
|
-
const DateInput$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
18450
|
-
__proto__: null,
|
|
18451
|
-
default: DateInput
|
|
18452
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
18453
18437
|
const _hoisted_1$q = ["title"];
|
|
18454
18438
|
const _hoisted_2$n = { key: 0 };
|
|
18455
18439
|
const _hoisted_3$k = ["value", "placeholder"];
|
|
@@ -18493,10 +18477,6 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
18493
18477
|
};
|
|
18494
18478
|
}
|
|
18495
18479
|
});
|
|
18496
|
-
const DatetimeInput = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
18497
|
-
__proto__: null,
|
|
18498
|
-
default: _sfc_main$f
|
|
18499
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
18500
18480
|
const _hoisted_1$p = ["title"];
|
|
18501
18481
|
const _hoisted_2$m = { key: 0 };
|
|
18502
18482
|
const _hoisted_3$j = ["value", "placeholder"];
|
|
@@ -18539,10 +18519,6 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
18539
18519
|
}
|
|
18540
18520
|
});
|
|
18541
18521
|
const EmailInput = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-ed81a514"]]);
|
|
18542
|
-
const EmailInput$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
18543
|
-
__proto__: null,
|
|
18544
|
-
default: EmailInput
|
|
18545
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
18546
18522
|
const _hoisted_1$o = ["title"];
|
|
18547
18523
|
const _hoisted_2$l = { key: 0 };
|
|
18548
18524
|
const _hoisted_3$i = ["value", "placeholder"];
|
|
@@ -18587,10 +18563,6 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
18587
18563
|
};
|
|
18588
18564
|
}
|
|
18589
18565
|
});
|
|
18590
|
-
const FloatInput = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
18591
|
-
__proto__: null,
|
|
18592
|
-
default: _sfc_main$d
|
|
18593
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
18594
18566
|
const _hoisted_1$n = ["title"];
|
|
18595
18567
|
const _hoisted_2$k = { key: 0 };
|
|
18596
18568
|
const _hoisted_3$h = ["value", "placeholder"];
|
|
@@ -18635,10 +18607,6 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
18635
18607
|
};
|
|
18636
18608
|
}
|
|
18637
18609
|
});
|
|
18638
|
-
const IntInput = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
18639
|
-
__proto__: null,
|
|
18640
|
-
default: _sfc_main$c
|
|
18641
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
18642
18610
|
const _hoisted_1$m = ["title"];
|
|
18643
18611
|
const _hoisted_2$j = { key: 0 };
|
|
18644
18612
|
const _hoisted_3$g = ["value", "placeholder"];
|
|
@@ -18679,10 +18647,6 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
18679
18647
|
}
|
|
18680
18648
|
});
|
|
18681
18649
|
const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-1fc4f739"]]);
|
|
18682
|
-
const JSONInput$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
18683
|
-
__proto__: null,
|
|
18684
|
-
default: JSONInput
|
|
18685
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
18686
18650
|
const _hoisted_1$l = ["title"];
|
|
18687
18651
|
const _hoisted_2$i = { key: 0 };
|
|
18688
18652
|
const _hoisted_3$f = ["onKeydown", "disabled"];
|
|
@@ -18867,10 +18831,6 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
18867
18831
|
}
|
|
18868
18832
|
});
|
|
18869
18833
|
const LinkField = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-947beb38"]]);
|
|
18870
|
-
const LinkField$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
18871
|
-
__proto__: null,
|
|
18872
|
-
default: LinkField
|
|
18873
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
18874
18834
|
const _hoisted_1$k = ["title"];
|
|
18875
18835
|
const _hoisted_2$h = { key: 0 };
|
|
18876
18836
|
const _hoisted_3$e = { class: "password-input-wrap" };
|
|
@@ -18930,10 +18890,6 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
18930
18890
|
}
|
|
18931
18891
|
});
|
|
18932
18892
|
const PasswordInput = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-eec3e237"]]);
|
|
18933
|
-
const PasswordInput$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
18934
|
-
__proto__: null,
|
|
18935
|
-
default: PasswordInput
|
|
18936
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
18937
18893
|
const _hoisted_1$j = ["title"];
|
|
18938
18894
|
const _hoisted_2$g = ["for"];
|
|
18939
18895
|
const _hoisted_3$d = ["id", "type", "placeholder", "required", "pattern"];
|
|
@@ -18981,7 +18937,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
18981
18937
|
[vModelDynamic, inputVal.value]
|
|
18982
18938
|
])
|
|
18983
18939
|
], 8, _hoisted_2$g),
|
|
18984
|
-
createVNode(unref(
|
|
18940
|
+
createVNode(unref(_sfc_main$N), {
|
|
18985
18941
|
onClick: showPassword,
|
|
18986
18942
|
icon: unref(seePassword) ? "visibility" : "visibility_off"
|
|
18987
18943
|
}, null, 8, ["icon"])
|
|
@@ -18990,10 +18946,6 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
18990
18946
|
}
|
|
18991
18947
|
});
|
|
18992
18948
|
const Password = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-800f4000"]]);
|
|
18993
|
-
const Password$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
18994
|
-
__proto__: null,
|
|
18995
|
-
default: Password
|
|
18996
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
18997
18949
|
const _hoisted_1$i = ["title"];
|
|
18998
18950
|
const _hoisted_2$f = { key: 0 };
|
|
18999
18951
|
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
@@ -19016,10 +18968,6 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
19016
18968
|
}
|
|
19017
18969
|
});
|
|
19018
18970
|
const ReadOnlyInput = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-b3b5a368"]]);
|
|
19019
|
-
const ReadOnlyInput$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
19020
|
-
__proto__: null,
|
|
19021
|
-
default: ReadOnlyInput
|
|
19022
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
19023
18971
|
const _hoisted_1$h = ["title"];
|
|
19024
18972
|
const _hoisted_2$e = ["onClick"];
|
|
19025
18973
|
const _hoisted_3$c = ["onClick"];
|
|
@@ -19155,7 +19103,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
19155
19103
|
for: "label",
|
|
19156
19104
|
class: normalizeClass({ active: showList.value })
|
|
19157
19105
|
}, [
|
|
19158
|
-
createVNode(unref(
|
|
19106
|
+
createVNode(unref(_sfc_main$P), { input: _ctx.label }, null, 8, ["input"])
|
|
19159
19107
|
], 2)) : createCommentVNode("", true),
|
|
19160
19108
|
createElementVNode("div", {
|
|
19161
19109
|
class: normalizeClass(["custom-select", { "open-select": showList.value && _ctx.editMode }]),
|
|
@@ -19167,7 +19115,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
19167
19115
|
class: normalizeClass(["input", { active: showList.value }]),
|
|
19168
19116
|
name: "select-input"
|
|
19169
19117
|
}, [
|
|
19170
|
-
createVNode(unref(
|
|
19118
|
+
createVNode(unref(_sfc_main$P), { input: displayValue.value }, null, 8, ["input"])
|
|
19171
19119
|
], 10, _hoisted_2$e),
|
|
19172
19120
|
(openBlock(), createBlock(Teleport, { to: "#app" }, [
|
|
19173
19121
|
createElementVNode("div", {
|
|
@@ -19180,7 +19128,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
19180
19128
|
key: option2.value,
|
|
19181
19129
|
onClick: ($event) => handleSelect(option2)
|
|
19182
19130
|
}, [
|
|
19183
|
-
createVNode(unref(
|
|
19131
|
+
createVNode(unref(_sfc_main$P), {
|
|
19184
19132
|
input: option2.label
|
|
19185
19133
|
}, null, 8, ["input"])
|
|
19186
19134
|
], 8, _hoisted_3$c);
|
|
@@ -19193,74 +19141,10 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
19193
19141
|
}
|
|
19194
19142
|
});
|
|
19195
19143
|
const SelectField = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-028ea61b"]]);
|
|
19196
|
-
const SelectField$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
19197
|
-
__proto__: null,
|
|
19198
|
-
default: SelectField
|
|
19199
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
19200
19144
|
const _hoisted_1$g = ["title"];
|
|
19201
|
-
const _hoisted_2$d =
|
|
19202
|
-
const _hoisted_3$b = ["
|
|
19145
|
+
const _hoisted_2$d = { key: 0 };
|
|
19146
|
+
const _hoisted_3$b = ["value", "placeholder"];
|
|
19203
19147
|
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
19204
|
-
__name: "TextInput",
|
|
19205
|
-
props: {
|
|
19206
|
-
id: {},
|
|
19207
|
-
title: {},
|
|
19208
|
-
placeholder: {},
|
|
19209
|
-
modelValue: { default: "" },
|
|
19210
|
-
label: {},
|
|
19211
|
-
editMode: { type: Boolean, default: true },
|
|
19212
|
-
small: { type: Boolean },
|
|
19213
|
-
required: { type: Boolean },
|
|
19214
|
-
pattern: {},
|
|
19215
|
-
nativeInputAttrs: {}
|
|
19216
|
-
},
|
|
19217
|
-
emits: ["update:modelValue", "debounce"],
|
|
19218
|
-
setup(__props, { emit: __emit }) {
|
|
19219
|
-
const emit2 = __emit;
|
|
19220
|
-
const props2 = __props;
|
|
19221
|
-
let inputVal = ref();
|
|
19222
|
-
watch(
|
|
19223
|
-
() => inputVal.value,
|
|
19224
|
-
(newVal) => {
|
|
19225
|
-
emit2("update:modelValue", newVal);
|
|
19226
|
-
debounce(() => emit2("debounce", newVal));
|
|
19227
|
-
}
|
|
19228
|
-
);
|
|
19229
|
-
watch(
|
|
19230
|
-
() => props2.modelValue,
|
|
19231
|
-
(newVal) => {
|
|
19232
|
-
if (newVal !== inputVal.value)
|
|
19233
|
-
inputVal.value = newVal;
|
|
19234
|
-
},
|
|
19235
|
-
{ immediate: true }
|
|
19236
|
-
);
|
|
19237
|
-
return (_ctx, _cache) => {
|
|
19238
|
-
return openBlock(), createElementBlock("div", {
|
|
19239
|
-
class: normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
19240
|
-
title: _ctx.title
|
|
19241
|
-
}, [
|
|
19242
|
-
createElementVNode("label", { for: _ctx.id }, [
|
|
19243
|
-
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
19244
|
-
withDirectives(createElementVNode("input", mergeProps({
|
|
19245
|
-
id: _ctx.id,
|
|
19246
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(inputVal) ? inputVal.value = $event : inputVal = $event),
|
|
19247
|
-
type: "text",
|
|
19248
|
-
placeholder: _ctx.placeholder || _ctx.label,
|
|
19249
|
-
class: { "no-edit": !_ctx.editMode },
|
|
19250
|
-
required: _ctx.required,
|
|
19251
|
-
pattern: _ctx.pattern
|
|
19252
|
-
}, _ctx.nativeInputAttrs), null, 16, _hoisted_3$b), [
|
|
19253
|
-
[vModelText, unref(inputVal)]
|
|
19254
|
-
])
|
|
19255
|
-
], 8, _hoisted_2$d)
|
|
19256
|
-
], 10, _hoisted_1$g);
|
|
19257
|
-
};
|
|
19258
|
-
}
|
|
19259
|
-
});
|
|
19260
|
-
const _hoisted_1$f = ["title"];
|
|
19261
|
-
const _hoisted_2$c = { key: 0 };
|
|
19262
|
-
const _hoisted_3$a = ["value", "placeholder"];
|
|
19263
|
-
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
19264
19148
|
__name: "RichTextEditor",
|
|
19265
19149
|
props: {
|
|
19266
19150
|
description: { default: "" },
|
|
@@ -19283,7 +19167,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
19283
19167
|
class: normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
19284
19168
|
title: _ctx.description
|
|
19285
19169
|
}, [
|
|
19286
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
19170
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$d, [
|
|
19287
19171
|
createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
|
|
19288
19172
|
])) : createCommentVNode("", true),
|
|
19289
19173
|
createElementVNode("textarea", {
|
|
@@ -19291,16 +19175,12 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
19291
19175
|
onInput: handleInput,
|
|
19292
19176
|
placeholder: _ctx.placeholder,
|
|
19293
19177
|
class: normalizeClass({ "no-edit": !_ctx.editMode })
|
|
19294
|
-
}, null, 42, _hoisted_3$
|
|
19295
|
-
], 10, _hoisted_1$
|
|
19178
|
+
}, null, 42, _hoisted_3$b)
|
|
19179
|
+
], 10, _hoisted_1$g);
|
|
19296
19180
|
};
|
|
19297
19181
|
}
|
|
19298
19182
|
});
|
|
19299
|
-
const RichTextEditor = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19300
|
-
const RichTextEditor$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
19301
|
-
__proto__: null,
|
|
19302
|
-
default: RichTextEditor
|
|
19303
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
19183
|
+
const RichTextEditor = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-69a60381"]]);
|
|
19304
19184
|
/*!
|
|
19305
19185
|
* vue-draggable-next v2.2.0
|
|
19306
19186
|
* (c) 2023 Anish George
|
|
@@ -21823,13 +21703,13 @@ const VueDraggableNext = defineComponent({
|
|
|
21823
21703
|
}
|
|
21824
21704
|
}
|
|
21825
21705
|
});
|
|
21826
|
-
const _hoisted_1$
|
|
21827
|
-
const _hoisted_2$
|
|
21828
|
-
const _hoisted_3$
|
|
21706
|
+
const _hoisted_1$f = ["title"];
|
|
21707
|
+
const _hoisted_2$c = { class: "bagel-input" };
|
|
21708
|
+
const _hoisted_3$a = { class: "table-side-scroll" };
|
|
21829
21709
|
const _hoisted_4$5 = { class: "table-header" };
|
|
21830
21710
|
const _hoisted_5$5 = { class: "table-reorder" };
|
|
21831
21711
|
const _hoisted_6$4 = { class: "table-action" };
|
|
21832
|
-
const _sfc_main$
|
|
21712
|
+
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
21833
21713
|
__name: "TableField",
|
|
21834
21714
|
props: {
|
|
21835
21715
|
description: { default: "" },
|
|
@@ -21894,10 +21774,10 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
21894
21774
|
class: "table-field-wrap",
|
|
21895
21775
|
title: _ctx.description
|
|
21896
21776
|
}, [
|
|
21897
|
-
createElementVNode("div", _hoisted_2$
|
|
21777
|
+
createElementVNode("div", _hoisted_2$c, [
|
|
21898
21778
|
createElementVNode("label", null, toDisplayString((_a = unref(fieldMeta)) == null ? void 0 : _a.label), 1)
|
|
21899
21779
|
]),
|
|
21900
|
-
createElementVNode("div", _hoisted_3$
|
|
21780
|
+
createElementVNode("div", _hoisted_3$a, [
|
|
21901
21781
|
createElementVNode("div", _hoisted_4$5, [
|
|
21902
21782
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList((_b = unref(entityMeta)) == null ? void 0 : _b.fields, (field) => {
|
|
21903
21783
|
return openBlock(), createElementBlock("div", {
|
|
@@ -21957,7 +21837,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
21957
21837
|
_: 1
|
|
21958
21838
|
}, 8, ["modelValue"])
|
|
21959
21839
|
]),
|
|
21960
|
-
createVNode(unref(Btn
|
|
21840
|
+
createVNode(unref(Btn), {
|
|
21961
21841
|
thin: "",
|
|
21962
21842
|
flat: "",
|
|
21963
21843
|
icon: "add",
|
|
@@ -21969,19 +21849,15 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
21969
21849
|
]),
|
|
21970
21850
|
_: 1
|
|
21971
21851
|
})
|
|
21972
|
-
], 8, _hoisted_1$
|
|
21852
|
+
], 8, _hoisted_1$f);
|
|
21973
21853
|
};
|
|
21974
21854
|
}
|
|
21975
21855
|
});
|
|
21976
|
-
const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
21977
|
-
const
|
|
21978
|
-
|
|
21979
|
-
|
|
21980
|
-
|
|
21981
|
-
const _hoisted_1$d = ["title"];
|
|
21982
|
-
const _hoisted_2$a = { key: 0 };
|
|
21983
|
-
const _hoisted_3$8 = ["value", "title", "placeholder"];
|
|
21984
|
-
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
21856
|
+
const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-b01223bc"]]);
|
|
21857
|
+
const _hoisted_1$e = ["title"];
|
|
21858
|
+
const _hoisted_2$b = { key: 0 };
|
|
21859
|
+
const _hoisted_3$9 = ["value", "title", "placeholder"];
|
|
21860
|
+
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
21985
21861
|
__name: "DurationInput",
|
|
21986
21862
|
props: {
|
|
21987
21863
|
description: { default: "" },
|
|
@@ -22008,7 +21884,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
22008
21884
|
class: normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
22009
21885
|
title: _ctx.description
|
|
22010
21886
|
}, [
|
|
22011
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
21887
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$b, [
|
|
22012
21888
|
createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
|
|
22013
21889
|
])) : createCommentVNode("", true),
|
|
22014
21890
|
createElementVNode("input", {
|
|
@@ -22018,15 +21894,71 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
22018
21894
|
onInput: handleInput,
|
|
22019
21895
|
placeholder: _ctx.placeholder,
|
|
22020
21896
|
class: normalizeClass({ "no-edit": !_ctx.editMode })
|
|
22021
|
-
}, null, 42, _hoisted_3$
|
|
21897
|
+
}, null, 42, _hoisted_3$9)
|
|
21898
|
+
], 10, _hoisted_1$e);
|
|
21899
|
+
};
|
|
21900
|
+
}
|
|
21901
|
+
});
|
|
21902
|
+
const _hoisted_1$d = ["title"];
|
|
21903
|
+
const _hoisted_2$a = ["for"];
|
|
21904
|
+
const _hoisted_3$8 = ["id", "placeholder", "required", "pattern"];
|
|
21905
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
21906
|
+
__name: "TextInput",
|
|
21907
|
+
props: {
|
|
21908
|
+
id: {},
|
|
21909
|
+
title: {},
|
|
21910
|
+
placeholder: {},
|
|
21911
|
+
modelValue: { default: "" },
|
|
21912
|
+
label: {},
|
|
21913
|
+
editMode: { type: Boolean, default: true },
|
|
21914
|
+
small: { type: Boolean },
|
|
21915
|
+
required: { type: Boolean },
|
|
21916
|
+
pattern: {},
|
|
21917
|
+
nativeInputAttrs: {}
|
|
21918
|
+
},
|
|
21919
|
+
emits: ["update:modelValue", "debounce"],
|
|
21920
|
+
setup(__props, { emit: __emit }) {
|
|
21921
|
+
const emit2 = __emit;
|
|
21922
|
+
const props2 = __props;
|
|
21923
|
+
let inputVal = ref();
|
|
21924
|
+
watch(
|
|
21925
|
+
() => inputVal.value,
|
|
21926
|
+
(newVal) => {
|
|
21927
|
+
emit2("update:modelValue", newVal);
|
|
21928
|
+
debounce(() => emit2("debounce", newVal));
|
|
21929
|
+
}
|
|
21930
|
+
);
|
|
21931
|
+
watch(
|
|
21932
|
+
() => props2.modelValue,
|
|
21933
|
+
(newVal) => {
|
|
21934
|
+
if (newVal !== inputVal.value)
|
|
21935
|
+
inputVal.value = newVal;
|
|
21936
|
+
},
|
|
21937
|
+
{ immediate: true }
|
|
21938
|
+
);
|
|
21939
|
+
return (_ctx, _cache) => {
|
|
21940
|
+
return openBlock(), createElementBlock("div", {
|
|
21941
|
+
class: normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
21942
|
+
title: _ctx.title
|
|
21943
|
+
}, [
|
|
21944
|
+
createElementVNode("label", { for: _ctx.id }, [
|
|
21945
|
+
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
21946
|
+
withDirectives(createElementVNode("input", mergeProps({
|
|
21947
|
+
id: _ctx.id,
|
|
21948
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(inputVal) ? inputVal.value = $event : inputVal = $event),
|
|
21949
|
+
type: "text",
|
|
21950
|
+
placeholder: _ctx.placeholder || _ctx.label,
|
|
21951
|
+
class: { "no-edit": !_ctx.editMode },
|
|
21952
|
+
required: _ctx.required,
|
|
21953
|
+
pattern: _ctx.pattern
|
|
21954
|
+
}, _ctx.nativeInputAttrs), null, 16, _hoisted_3$8), [
|
|
21955
|
+
[vModelText, unref(inputVal)]
|
|
21956
|
+
])
|
|
21957
|
+
], 8, _hoisted_2$a)
|
|
22022
21958
|
], 10, _hoisted_1$d);
|
|
22023
21959
|
};
|
|
22024
21960
|
}
|
|
22025
21961
|
});
|
|
22026
|
-
const DurationInput = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
22027
|
-
__proto__: null,
|
|
22028
|
-
default: _sfc_main$2
|
|
22029
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
22030
21962
|
function _isPlaceholder(a) {
|
|
22031
21963
|
return a != null && typeof a === "object" && a["@@functional/placeholder"] === true;
|
|
22032
21964
|
}
|
|
@@ -28364,10 +28296,6 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
28364
28296
|
};
|
|
28365
28297
|
}
|
|
28366
28298
|
});
|
|
28367
|
-
const Lineart = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
28368
|
-
__proto__: null,
|
|
28369
|
-
default: _sfc_main$1
|
|
28370
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
28371
28299
|
const _hoisted_1 = { class: "main-content" };
|
|
28372
28300
|
const _hoisted_2 = { class: "view-wrapper card thin" };
|
|
28373
28301
|
const _hoisted_3 = { class: "whatsapp-wrap" };
|
|
@@ -28474,7 +28402,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
28474
28402
|
return (_ctx, _cache) => {
|
|
28475
28403
|
var _a, _b, _c, _d, _e, _f;
|
|
28476
28404
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
28477
|
-
createVNode(unref(
|
|
28405
|
+
createVNode(unref(_sfc_main$E), null, {
|
|
28478
28406
|
default: withCtx(() => [
|
|
28479
28407
|
createTextVNode("Whatsapp Template")
|
|
28480
28408
|
]),
|
|
@@ -28483,7 +28411,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
28483
28411
|
createElementVNode("div", _hoisted_2, [
|
|
28484
28412
|
createElementVNode("div", _hoisted_3, [
|
|
28485
28413
|
createElementVNode("div", _hoisted_4, [
|
|
28486
|
-
createVNode(unref(
|
|
28414
|
+
createVNode(unref(_sfc_main$B), {
|
|
28487
28415
|
schema: _ctx.whatsappTemplateSchema(),
|
|
28488
28416
|
modelValue: unref(localWhatsappData),
|
|
28489
28417
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(localWhatsappData) ? localWhatsappData.value = $event : localWhatsappData = $event),
|
|
@@ -28507,63 +28435,60 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
28507
28435
|
}
|
|
28508
28436
|
});
|
|
28509
28437
|
const MsgTemplate = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b1fdb496"]]);
|
|
28510
|
-
const MsgTemplate$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
28511
|
-
__proto__: null,
|
|
28512
|
-
default: MsgTemplate
|
|
28513
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
28514
28438
|
export {
|
|
28515
|
-
|
|
28439
|
+
AddressInput,
|
|
28516
28440
|
BagelVue,
|
|
28517
|
-
|
|
28518
|
-
BarChart
|
|
28519
|
-
Btn
|
|
28520
|
-
CheckInput
|
|
28521
|
-
Comments
|
|
28522
|
-
|
|
28523
|
-
ContactSubmissions,
|
|
28524
|
-
CurrencyInput
|
|
28525
|
-
DataPreview
|
|
28526
|
-
DateInput
|
|
28527
|
-
DatetimeInput,
|
|
28528
|
-
DropDown,
|
|
28529
|
-
DurationInput,
|
|
28530
|
-
EmailInput
|
|
28531
|
-
|
|
28532
|
-
FloatInput,
|
|
28533
|
-
FormSchema,
|
|
28534
|
-
IntInput,
|
|
28535
|
-
ItemRef,
|
|
28536
|
-
JSONInput
|
|
28537
|
-
LangText,
|
|
28538
|
-
Lineart,
|
|
28539
|
-
LinkField
|
|
28540
|
-
ListItem,
|
|
28541
|
-
ListView,
|
|
28542
|
-
MaterialIcon,
|
|
28543
|
-
|
|
28544
|
-
Modal,
|
|
28545
|
-
ModalForm
|
|
28441
|
+
BankDetailsInput,
|
|
28442
|
+
BarChart,
|
|
28443
|
+
Btn,
|
|
28444
|
+
CheckInput,
|
|
28445
|
+
Comments,
|
|
28446
|
+
ContactArrayInput,
|
|
28447
|
+
_sfc_main$x as ContactSubmissions,
|
|
28448
|
+
CurrencyInput,
|
|
28449
|
+
DataPreview,
|
|
28450
|
+
DateInput,
|
|
28451
|
+
_sfc_main$f as DatetimeInput,
|
|
28452
|
+
_sfc_main$J as DropDown,
|
|
28453
|
+
_sfc_main$3 as DurationInput,
|
|
28454
|
+
EmailInput,
|
|
28455
|
+
FileUploadInput,
|
|
28456
|
+
_sfc_main$d as FloatInput,
|
|
28457
|
+
_sfc_main$B as FormSchema,
|
|
28458
|
+
_sfc_main$c as IntInput,
|
|
28459
|
+
_sfc_main$l as ItemRef,
|
|
28460
|
+
JSONInput,
|
|
28461
|
+
_sfc_main$P as LangText,
|
|
28462
|
+
_sfc_main$1 as Lineart,
|
|
28463
|
+
LinkField,
|
|
28464
|
+
_sfc_main$H as ListItem,
|
|
28465
|
+
_sfc_main$I as ListView,
|
|
28466
|
+
_sfc_main$N as MaterialIcon,
|
|
28467
|
+
MiscFieldsInput,
|
|
28468
|
+
_sfc_main$K as Modal,
|
|
28469
|
+
ModalForm,
|
|
28546
28470
|
ModalPlugin,
|
|
28547
|
-
MsgTemplate
|
|
28548
|
-
NavBar,
|
|
28549
|
-
PageTitle,
|
|
28550
|
-
Password
|
|
28551
|
-
PasswordInput
|
|
28552
|
-
PersonPreview,
|
|
28553
|
-
|
|
28554
|
-
|
|
28555
|
-
|
|
28556
|
-
|
|
28557
|
-
|
|
28558
|
-
|
|
28559
|
-
|
|
28560
|
-
|
|
28561
|
-
|
|
28562
|
-
|
|
28563
|
-
|
|
28564
|
-
|
|
28565
|
-
|
|
28566
|
-
|
|
28471
|
+
MsgTemplate,
|
|
28472
|
+
_sfc_main$M as NavBar,
|
|
28473
|
+
_sfc_main$E as PageTitle,
|
|
28474
|
+
Password,
|
|
28475
|
+
PasswordInput,
|
|
28476
|
+
_sfc_main$w as PersonPreview,
|
|
28477
|
+
PersonPreviewInput,
|
|
28478
|
+
_sfc_main$j as PlainInputField,
|
|
28479
|
+
_sfc_main$O as RTXEditor,
|
|
28480
|
+
ReadOnlyInput,
|
|
28481
|
+
RichTextEditor,
|
|
28482
|
+
RouterWrapper,
|
|
28483
|
+
SelectField,
|
|
28484
|
+
TabbedLayout,
|
|
28485
|
+
TableField,
|
|
28486
|
+
TableSchema,
|
|
28487
|
+
_sfc_main$2 as TextInput,
|
|
28488
|
+
_sfc_main$m as TextVariableExamples,
|
|
28489
|
+
TextVariablesInput,
|
|
28490
|
+
ToggleSwitchInput,
|
|
28491
|
+
TopBar,
|
|
28567
28492
|
bagelInjectionKey,
|
|
28568
28493
|
computeFields,
|
|
28569
28494
|
copyText,
|