@bagelink/vue 0.0.158 → 0.0.160
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/FileUploader.vue.d.ts +60 -0
- package/dist/components/FileUploader.vue.d.ts.map +1 -0
- package/dist/components/formkit/index.d.ts.map +1 -1
- package/dist/components/index.d.ts +2 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/index.cjs +386 -224
- package/dist/index.mjs +386 -224
- package/dist/style.css +151 -21
- package/package.json +1 -1
- package/src/components/formkit/index.ts +3 -3
- package/src/components/index.ts +2 -1
package/dist/index.mjs
CHANGED
|
@@ -2291,7 +2291,7 @@ const ModalPlugin = {
|
|
|
2291
2291
|
},
|
|
2292
2292
|
render() {
|
|
2293
2293
|
return modalStack.value.map((modal, index2) => {
|
|
2294
|
-
const renderComponent = modal.isModalForm ? ModalForm : _sfc_main$
|
|
2294
|
+
const renderComponent = modal.isModalForm ? ModalForm : _sfc_main$P;
|
|
2295
2295
|
return h(
|
|
2296
2296
|
renderComponent,
|
|
2297
2297
|
{
|
|
@@ -2367,8 +2367,8 @@ function useEscape(event, closeModel) {
|
|
|
2367
2367
|
closeModel();
|
|
2368
2368
|
}
|
|
2369
2369
|
}
|
|
2370
|
-
const _hoisted_1$
|
|
2371
|
-
const _sfc_main$
|
|
2370
|
+
const _hoisted_1$_ = { ref: "el" };
|
|
2371
|
+
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
2372
2372
|
__name: "LangText",
|
|
2373
2373
|
props: {
|
|
2374
2374
|
input: {}
|
|
@@ -2376,7 +2376,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
2376
2376
|
setup(__props) {
|
|
2377
2377
|
return (_ctx, _cache) => {
|
|
2378
2378
|
return openBlock(), createElementBlock(Fragment$1, null, [
|
|
2379
|
-
createElementVNode("span", _hoisted_1$
|
|
2379
|
+
createElementVNode("span", _hoisted_1$_, null, 512),
|
|
2380
2380
|
createTextVNode(" " + toDisplayString(_ctx.input) + " ", 1)
|
|
2381
2381
|
], 64);
|
|
2382
2382
|
};
|
|
@@ -14492,8 +14492,8 @@ const marks = {
|
|
|
14492
14492
|
}
|
|
14493
14493
|
};
|
|
14494
14494
|
const schema = new Schema({ nodes, marks });
|
|
14495
|
-
const _hoisted_1$
|
|
14496
|
-
const _sfc_main$
|
|
14495
|
+
const _hoisted_1$Z = ["id"];
|
|
14496
|
+
const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
14497
14497
|
__name: "RTXEditor",
|
|
14498
14498
|
props: {
|
|
14499
14499
|
elementId: { default: Math.random().toString(36).substr(2, 9) },
|
|
@@ -14570,11 +14570,11 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
14570
14570
|
onClick: focusEditor,
|
|
14571
14571
|
id: `canvas-${_ctx.elementId}`,
|
|
14572
14572
|
onKeydown: _cache[0] || (_cache[0] = withKeys(withModifiers(($event) => _ctx.$emit("keydown.meta.enter"), ["meta"]), ["enter"]))
|
|
14573
|
-
}, null, 40, _hoisted_1$
|
|
14573
|
+
}, null, 40, _hoisted_1$Z);
|
|
14574
14574
|
};
|
|
14575
14575
|
}
|
|
14576
14576
|
});
|
|
14577
|
-
const _sfc_main$
|
|
14577
|
+
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
14578
14578
|
__name: "MaterialIcon",
|
|
14579
14579
|
props: {
|
|
14580
14580
|
icon: {},
|
|
@@ -14589,17 +14589,17 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
14589
14589
|
};
|
|
14590
14590
|
}
|
|
14591
14591
|
});
|
|
14592
|
-
const _hoisted_1$
|
|
14593
|
-
const _hoisted_2$
|
|
14594
|
-
_hoisted_1$
|
|
14592
|
+
const _hoisted_1$Y = /* @__PURE__ */ createElementVNode("div", { class: "icon-font top-arrow" }, " chevron_right ", -1);
|
|
14593
|
+
const _hoisted_2$Q = [
|
|
14594
|
+
_hoisted_1$Y
|
|
14595
14595
|
];
|
|
14596
|
-
const _hoisted_3$
|
|
14597
|
-
const _hoisted_4$
|
|
14598
|
-
const _hoisted_5$
|
|
14596
|
+
const _hoisted_3$I = { class: "full-nav" };
|
|
14597
|
+
const _hoisted_4$r = { class: "nav-scroll" };
|
|
14598
|
+
const _hoisted_5$m = { class: "nav-links-wrapper" };
|
|
14599
14599
|
const _hoisted_6$h = { class: "icon-font" };
|
|
14600
14600
|
const _hoisted_7$c = { class: "tooltip" };
|
|
14601
14601
|
const _hoisted_8$7 = { class: "bot-buttons-wrapper" };
|
|
14602
|
-
const _sfc_main$
|
|
14602
|
+
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
14603
14603
|
__name: "NavBar",
|
|
14604
14604
|
props: {
|
|
14605
14605
|
links: {},
|
|
@@ -14623,10 +14623,10 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
14623
14623
|
role: "button",
|
|
14624
14624
|
"aria-label": "Toggle Navigation",
|
|
14625
14625
|
tabindex: "0"
|
|
14626
|
-
}, _hoisted_2$
|
|
14627
|
-
createElementVNode("div", _hoisted_3$
|
|
14628
|
-
createElementVNode("div", _hoisted_4$
|
|
14629
|
-
createElementVNode("div", _hoisted_5$
|
|
14626
|
+
}, _hoisted_2$Q, 32),
|
|
14627
|
+
createElementVNode("div", _hoisted_3$I, [
|
|
14628
|
+
createElementVNode("div", _hoisted_4$r, [
|
|
14629
|
+
createElementVNode("div", _hoisted_5$m, [
|
|
14630
14630
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList((_a = _ctx.links) == null ? void 0 : _a.call(_ctx), (link) => {
|
|
14631
14631
|
return openBlock(), createBlock(_component_RouterLink, {
|
|
14632
14632
|
class: "nav-button",
|
|
@@ -14650,15 +14650,15 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
14650
14650
|
};
|
|
14651
14651
|
}
|
|
14652
14652
|
});
|
|
14653
|
-
const _hoisted_1$
|
|
14653
|
+
const _hoisted_1$X = {
|
|
14654
14654
|
key: 0,
|
|
14655
14655
|
class: "loading"
|
|
14656
14656
|
};
|
|
14657
|
-
const _hoisted_2$
|
|
14657
|
+
const _hoisted_2$P = {
|
|
14658
14658
|
key: 1,
|
|
14659
14659
|
class: "btn-flex"
|
|
14660
14660
|
};
|
|
14661
|
-
const _sfc_main$
|
|
14661
|
+
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
14662
14662
|
__name: "Btn",
|
|
14663
14663
|
props: {
|
|
14664
14664
|
disabled: { type: Boolean, default: false },
|
|
@@ -14694,8 +14694,8 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
14694
14694
|
})
|
|
14695
14695
|
}, {
|
|
14696
14696
|
default: withCtx(() => [
|
|
14697
|
-
_ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
14698
|
-
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$
|
|
14697
|
+
_ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_1$X)) : (openBlock(), createElementBlock("div", _hoisted_2$P, [
|
|
14698
|
+
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$S), {
|
|
14699
14699
|
key: 0,
|
|
14700
14700
|
icon: _ctx.icon
|
|
14701
14701
|
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
@@ -14703,7 +14703,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
14703
14703
|
!unref(slots)["default"] && _ctx.value ? (openBlock(), createElementBlock(Fragment$1, { key: 1 }, [
|
|
14704
14704
|
createTextVNode(toDisplayString(_ctx.value), 1)
|
|
14705
14705
|
], 64)) : createCommentVNode("", true),
|
|
14706
|
-
props2["icon.end"] ? (openBlock(), createBlock(unref(_sfc_main$
|
|
14706
|
+
props2["icon.end"] ? (openBlock(), createBlock(unref(_sfc_main$S), {
|
|
14707
14707
|
key: 2,
|
|
14708
14708
|
icon: props2["icon.end"]
|
|
14709
14709
|
}, null, 8, ["icon"])) : createCommentVNode("", true)
|
|
@@ -14721,11 +14721,11 @@ const _export_sfc = (sfc, props2) => {
|
|
|
14721
14721
|
}
|
|
14722
14722
|
return target;
|
|
14723
14723
|
};
|
|
14724
|
-
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14725
|
-
const _hoisted_1$
|
|
14726
|
-
const _hoisted_2$
|
|
14727
|
-
const _hoisted_3$
|
|
14728
|
-
const _sfc_main$
|
|
14724
|
+
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-b94d75fb"]]);
|
|
14725
|
+
const _hoisted_1$W = { class: "tool-bar" };
|
|
14726
|
+
const _hoisted_2$O = { class: "modal-title" };
|
|
14727
|
+
const _hoisted_3$H = { class: "modal-footer mt-3" };
|
|
14728
|
+
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
14729
14729
|
__name: "Modal",
|
|
14730
14730
|
props: {
|
|
14731
14731
|
side: { type: Boolean },
|
|
@@ -14771,7 +14771,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
14771
14771
|
onClick: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
14772
14772
|
}, ["stop"]))
|
|
14773
14773
|
}, [
|
|
14774
|
-
createElementVNode("header", _hoisted_1$
|
|
14774
|
+
createElementVNode("header", _hoisted_1$W, [
|
|
14775
14775
|
renderSlot(_ctx.$slots, "toolbar"),
|
|
14776
14776
|
createVNode(unref(Btn), {
|
|
14777
14777
|
style: normalizeStyle({ float: _ctx.side ? "left" : "right" }),
|
|
@@ -14779,10 +14779,10 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
14779
14779
|
icon: "close",
|
|
14780
14780
|
onClick: closeModal
|
|
14781
14781
|
}, null, 8, ["style"]),
|
|
14782
|
-
createElementVNode("h3", _hoisted_2$
|
|
14782
|
+
createElementVNode("h3", _hoisted_2$O, toDisplayString(_ctx.title), 1)
|
|
14783
14783
|
]),
|
|
14784
14784
|
renderSlot(_ctx.$slots, "default"),
|
|
14785
|
-
createElementVNode("footer", _hoisted_3$
|
|
14785
|
+
createElementVNode("footer", _hoisted_3$H, [
|
|
14786
14786
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.actions, (action, i2) => {
|
|
14787
14787
|
return openBlock(), createBlock(unref(Btn), mergeProps({
|
|
14788
14788
|
key: i2,
|
|
@@ -14797,10 +14797,10 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
14797
14797
|
};
|
|
14798
14798
|
}
|
|
14799
14799
|
});
|
|
14800
|
-
const _hoisted_1$
|
|
14801
|
-
const _hoisted_2$
|
|
14802
|
-
const _hoisted_3$
|
|
14803
|
-
const _sfc_main$
|
|
14800
|
+
const _hoisted_1$V = { class: "dropdown-title" };
|
|
14801
|
+
const _hoisted_2$N = { class: "dropdown-body" };
|
|
14802
|
+
const _hoisted_3$G = ["onClick"];
|
|
14803
|
+
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
14804
14804
|
__name: "DropDown",
|
|
14805
14805
|
props: {
|
|
14806
14806
|
modelValue: String,
|
|
@@ -14826,31 +14826,31 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
14826
14826
|
class: normalizeClass(["dropdown", { opendrop: isOpen.value }]),
|
|
14827
14827
|
onClick: toggleDropdown
|
|
14828
14828
|
}, [
|
|
14829
|
-
createElementVNode("div", _hoisted_1$
|
|
14829
|
+
createElementVNode("div", _hoisted_1$V, [
|
|
14830
14830
|
createTextVNode(toDisplayString(selectedOption.value || __props.placeholder) + " ", 1),
|
|
14831
|
-
createVNode(unref(_sfc_main$
|
|
14831
|
+
createVNode(unref(_sfc_main$S), { icon: "keyboard_arrow_down" })
|
|
14832
14832
|
]),
|
|
14833
|
-
createElementVNode("div", _hoisted_2$
|
|
14833
|
+
createElementVNode("div", _hoisted_2$N, [
|
|
14834
14834
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(__props.options, (option2, index2) => {
|
|
14835
14835
|
return openBlock(), createElementBlock("p", {
|
|
14836
14836
|
key: index2,
|
|
14837
14837
|
onClick: withModifiers(($event) => selectOption(option2, index2), ["stop"])
|
|
14838
|
-
}, toDisplayString(option2), 9, _hoisted_3$
|
|
14838
|
+
}, toDisplayString(option2), 9, _hoisted_3$G);
|
|
14839
14839
|
}), 128))
|
|
14840
14840
|
])
|
|
14841
14841
|
], 2);
|
|
14842
14842
|
};
|
|
14843
14843
|
}
|
|
14844
14844
|
});
|
|
14845
|
-
const _hoisted_1$
|
|
14846
|
-
const _hoisted_2$
|
|
14847
|
-
const _hoisted_3$
|
|
14845
|
+
const _hoisted_1$U = { class: "card list-view grid thin" };
|
|
14846
|
+
const _hoisted_2$M = { class: "list-header flex gap-3 align-items-top" };
|
|
14847
|
+
const _hoisted_3$F = {
|
|
14848
14848
|
key: 0,
|
|
14849
14849
|
class: "bagel-input search-wrap"
|
|
14850
14850
|
};
|
|
14851
|
-
const _hoisted_4$
|
|
14852
|
-
const _hoisted_5$
|
|
14853
|
-
const _sfc_main$
|
|
14851
|
+
const _hoisted_4$q = ["placeholder"];
|
|
14852
|
+
const _hoisted_5$l = { class: "list-content grid auto-flow-rows align-items-start" };
|
|
14853
|
+
const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
14854
14854
|
__name: "ListView",
|
|
14855
14855
|
props: {
|
|
14856
14856
|
enableAdd: { type: Boolean },
|
|
@@ -14866,17 +14866,17 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
14866
14866
|
debounce(() => emit2("debounce", searchTerm.value));
|
|
14867
14867
|
};
|
|
14868
14868
|
return (_ctx, _cache) => {
|
|
14869
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
14870
|
-
createElementVNode("div", _hoisted_2$
|
|
14871
|
-
_ctx.enableSearch ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
14869
|
+
return openBlock(), createElementBlock("div", _hoisted_1$U, [
|
|
14870
|
+
createElementVNode("div", _hoisted_2$M, [
|
|
14871
|
+
_ctx.enableSearch ? (openBlock(), createElementBlock("div", _hoisted_3$F, [
|
|
14872
14872
|
withDirectives(createElementVNode("input", {
|
|
14873
14873
|
placeholder: _ctx.searchPlaceholder,
|
|
14874
14874
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => searchTerm.value = $event),
|
|
14875
14875
|
onInput: _cache[1] || (_cache[1] = ($event) => search())
|
|
14876
|
-
}, null, 40, _hoisted_4$
|
|
14876
|
+
}, null, 40, _hoisted_4$q), [
|
|
14877
14877
|
[vModelText, searchTerm.value]
|
|
14878
14878
|
]),
|
|
14879
|
-
createVNode(unref(_sfc_main$
|
|
14879
|
+
createVNode(unref(_sfc_main$S), {
|
|
14880
14880
|
class: "txtgray",
|
|
14881
14881
|
icon: "search"
|
|
14882
14882
|
})
|
|
@@ -14888,16 +14888,16 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
14888
14888
|
onClick: _cache[2] || (_cache[2] = ($event) => emit2("add"))
|
|
14889
14889
|
})) : createCommentVNode("", true)
|
|
14890
14890
|
]),
|
|
14891
|
-
createElementVNode("div", _hoisted_5$
|
|
14891
|
+
createElementVNode("div", _hoisted_5$l, [
|
|
14892
14892
|
renderSlot(_ctx.$slots, "default")
|
|
14893
14893
|
])
|
|
14894
14894
|
]);
|
|
14895
14895
|
};
|
|
14896
14896
|
}
|
|
14897
14897
|
});
|
|
14898
|
-
const _hoisted_1$
|
|
14899
|
-
const _hoisted_2$
|
|
14900
|
-
const _sfc_main$
|
|
14898
|
+
const _hoisted_1$T = { class: "txt16 no-margin" };
|
|
14899
|
+
const _hoisted_2$L = { class: "txt14 no-margin txtgray" };
|
|
14900
|
+
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
14901
14901
|
__name: "ListItem",
|
|
14902
14902
|
props: {
|
|
14903
14903
|
to: {}
|
|
@@ -14909,10 +14909,10 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
14909
14909
|
class: "list-item ellipsis"
|
|
14910
14910
|
}, {
|
|
14911
14911
|
default: withCtx(() => [
|
|
14912
|
-
createElementVNode("p", _hoisted_1$
|
|
14912
|
+
createElementVNode("p", _hoisted_1$T, [
|
|
14913
14913
|
renderSlot(_ctx.$slots, "default")
|
|
14914
14914
|
]),
|
|
14915
|
-
createElementVNode("p", _hoisted_2$
|
|
14915
|
+
createElementVNode("p", _hoisted_2$L, [
|
|
14916
14916
|
renderSlot(_ctx.$slots, "subtitle")
|
|
14917
14917
|
])
|
|
14918
14918
|
]),
|
|
@@ -14921,11 +14921,11 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
14921
14921
|
};
|
|
14922
14922
|
}
|
|
14923
14923
|
});
|
|
14924
|
-
const _hoisted_1$
|
|
14925
|
-
const _hoisted_2$
|
|
14926
|
-
const _hoisted_3$
|
|
14927
|
-
const _hoisted_4$
|
|
14928
|
-
const _sfc_main$
|
|
14924
|
+
const _hoisted_1$S = { class: "h-100 grid list-view gap-3" };
|
|
14925
|
+
const _hoisted_2$K = { class: "card tabs-top" };
|
|
14926
|
+
const _hoisted_3$E = { class: "tabs grid auto-flow-columns fit-content" };
|
|
14927
|
+
const _hoisted_4$p = ["onClick"];
|
|
14928
|
+
const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
14929
14929
|
__name: "TabbedLayout",
|
|
14930
14930
|
props: {
|
|
14931
14931
|
title: {},
|
|
@@ -14953,10 +14953,10 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
14953
14953
|
activeTab.value = firstTab;
|
|
14954
14954
|
});
|
|
14955
14955
|
return (_ctx, _cache) => {
|
|
14956
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
14957
|
-
createElementVNode("div", _hoisted_2$
|
|
14956
|
+
return openBlock(), createElementBlock("div", _hoisted_1$S, [
|
|
14957
|
+
createElementVNode("div", _hoisted_2$K, [
|
|
14958
14958
|
renderSlot(_ctx.$slots, "top-section", {}, void 0, true),
|
|
14959
|
-
createElementVNode("div", _hoisted_3$
|
|
14959
|
+
createElementVNode("div", _hoisted_3$E, [
|
|
14960
14960
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.tabs, (tab) => {
|
|
14961
14961
|
return openBlock(), createElementBlock("div", {
|
|
14962
14962
|
class: normalizeClass([{
|
|
@@ -14964,7 +14964,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
14964
14964
|
}, "tab"]),
|
|
14965
14965
|
key: tab,
|
|
14966
14966
|
onClick: ($event) => changeTab(tab)
|
|
14967
|
-
}, toDisplayString(tab), 11, _hoisted_4$
|
|
14967
|
+
}, toDisplayString(tab), 11, _hoisted_4$p);
|
|
14968
14968
|
}), 128))
|
|
14969
14969
|
])
|
|
14970
14970
|
]),
|
|
@@ -14980,16 +14980,16 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
14980
14980
|
};
|
|
14981
14981
|
}
|
|
14982
14982
|
});
|
|
14983
|
-
const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14984
|
-
const _hoisted_1$
|
|
14985
|
-
const _hoisted_2$
|
|
14986
|
-
const _hoisted_3$
|
|
14987
|
-
const _hoisted_4$
|
|
14988
|
-
const _hoisted_5$
|
|
14983
|
+
const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-4ac29f1d"]]);
|
|
14984
|
+
const _hoisted_1$R = { class: "comments-wrap" };
|
|
14985
|
+
const _hoisted_2$J = { class: "comment-list" };
|
|
14986
|
+
const _hoisted_3$D = { class: "comment-top" };
|
|
14987
|
+
const _hoisted_4$o = { class: "comment-owner" };
|
|
14988
|
+
const _hoisted_5$k = { class: "comment-time" };
|
|
14989
14989
|
const _hoisted_6$g = { class: "comment-actions" };
|
|
14990
14990
|
const _hoisted_7$b = ["innerHTML"];
|
|
14991
14991
|
const _hoisted_8$6 = { class: "new-comment" };
|
|
14992
|
-
const _sfc_main$
|
|
14992
|
+
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
14993
14993
|
__name: "Comments",
|
|
14994
14994
|
props: {
|
|
14995
14995
|
ref_table: {},
|
|
@@ -15034,8 +15034,8 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
15034
15034
|
void fetchData();
|
|
15035
15035
|
};
|
|
15036
15036
|
return (_ctx, _cache) => {
|
|
15037
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
15038
|
-
createElementVNode("div", _hoisted_2$
|
|
15037
|
+
return openBlock(), createElementBlock("div", _hoisted_1$R, [
|
|
15038
|
+
createElementVNode("div", _hoisted_2$J, [
|
|
15039
15039
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(comments), (comment) => {
|
|
15040
15040
|
var _a, _b, _c;
|
|
15041
15041
|
return openBlock(), createElementBlock("div", {
|
|
@@ -15045,23 +15045,23 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
15045
15045
|
}, "comment"]),
|
|
15046
15046
|
key: comment.id
|
|
15047
15047
|
}, [
|
|
15048
|
-
createElementVNode("div", _hoisted_3$
|
|
15049
|
-
createElementVNode("div", _hoisted_4$
|
|
15050
|
-
createElementVNode("div", _hoisted_5$
|
|
15048
|
+
createElementVNode("div", _hoisted_3$D, [
|
|
15049
|
+
createElementVNode("div", _hoisted_4$o, toDisplayString(comment.sender.first_name) + " " + toDisplayString(comment.sender.last_name), 1),
|
|
15050
|
+
createElementVNode("div", _hoisted_5$k, toDisplayString(comment.updated_at.split("T")[0]), 1),
|
|
15051
15051
|
createElementVNode("div", _hoisted_6$g, [
|
|
15052
|
-
createVNode(unref(_sfc_main$
|
|
15052
|
+
createVNode(unref(_sfc_main$S), {
|
|
15053
15053
|
size: 1,
|
|
15054
15054
|
class: "edit",
|
|
15055
15055
|
icon: "edit",
|
|
15056
15056
|
onClick: ($event) => isRef(editComment) ? editComment.value = comment : editComment = comment
|
|
15057
15057
|
}, null, 8, ["onClick"]),
|
|
15058
|
-
createVNode(unref(_sfc_main$
|
|
15058
|
+
createVNode(unref(_sfc_main$S), {
|
|
15059
15059
|
size: 1.2,
|
|
15060
15060
|
class: "delete",
|
|
15061
15061
|
icon: "delete",
|
|
15062
15062
|
onClick: ($event) => deleteComment(comment.id)
|
|
15063
15063
|
}, null, 8, ["onClick"]),
|
|
15064
|
-
createVNode(unref(_sfc_main$
|
|
15064
|
+
createVNode(unref(_sfc_main$S), {
|
|
15065
15065
|
size: 1.2,
|
|
15066
15066
|
class: "save",
|
|
15067
15067
|
icon: "save",
|
|
@@ -15069,7 +15069,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
15069
15069
|
})
|
|
15070
15070
|
])
|
|
15071
15071
|
]),
|
|
15072
|
-
unref(editComment) !== null && ((_c = unref(editComment)) == null ? void 0 : _c.id) === comment.id ? (openBlock(), createBlock(unref(_sfc_main$
|
|
15072
|
+
unref(editComment) !== null && ((_c = unref(editComment)) == null ? void 0 : _c.id) === comment.id ? (openBlock(), createBlock(unref(_sfc_main$T), {
|
|
15073
15073
|
key: 0,
|
|
15074
15074
|
modelValue: unref(editComment).body_html,
|
|
15075
15075
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(editComment).body_html = $event),
|
|
@@ -15083,7 +15083,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
15083
15083
|
}), 128))
|
|
15084
15084
|
]),
|
|
15085
15085
|
createElementVNode("div", _hoisted_8$6, [
|
|
15086
|
-
createVNode(unref(_sfc_main$
|
|
15086
|
+
createVNode(unref(_sfc_main$T), {
|
|
15087
15087
|
class: "comment-input",
|
|
15088
15088
|
modelValue: unref(bodyHtml),
|
|
15089
15089
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(bodyHtml) ? bodyHtml.value = $event : bodyHtml = $event),
|
|
@@ -15103,10 +15103,10 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
15103
15103
|
};
|
|
15104
15104
|
}
|
|
15105
15105
|
});
|
|
15106
|
-
const Comments = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15107
|
-
const _hoisted_1$
|
|
15108
|
-
const _hoisted_2$
|
|
15109
|
-
const _sfc_main$
|
|
15106
|
+
const Comments = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-ff29354a"]]);
|
|
15107
|
+
const _hoisted_1$Q = { class: "page-top" };
|
|
15108
|
+
const _hoisted_2$I = { class: "top-title" };
|
|
15109
|
+
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
15110
15110
|
__name: "PageTitle",
|
|
15111
15111
|
props: {
|
|
15112
15112
|
value: {
|
|
@@ -15116,8 +15116,8 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
15116
15116
|
},
|
|
15117
15117
|
setup(__props) {
|
|
15118
15118
|
return (_ctx, _cache) => {
|
|
15119
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
15120
|
-
createElementVNode("h1", _hoisted_2$
|
|
15119
|
+
return openBlock(), createElementBlock("div", _hoisted_1$Q, [
|
|
15120
|
+
createElementVNode("h1", _hoisted_2$I, [
|
|
15121
15121
|
renderSlot(_ctx.$slots, "default"),
|
|
15122
15122
|
createTextVNode(" " + toDisplayString(__props.value), 1)
|
|
15123
15123
|
])
|
|
@@ -15125,9 +15125,9 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
15125
15125
|
};
|
|
15126
15126
|
}
|
|
15127
15127
|
});
|
|
15128
|
-
const _hoisted_1$
|
|
15129
|
-
const _hoisted_2$
|
|
15130
|
-
const _sfc_main$
|
|
15128
|
+
const _hoisted_1$P = { class: "tool-bar" };
|
|
15129
|
+
const _hoisted_2$H = { class: "modal-title" };
|
|
15130
|
+
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
15131
15131
|
__name: "ModalForm",
|
|
15132
15132
|
props: {
|
|
15133
15133
|
side: { type: Boolean },
|
|
@@ -15200,7 +15200,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
15200
15200
|
onClick: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
15201
15201
|
}, ["stop"]))
|
|
15202
15202
|
}, [
|
|
15203
|
-
createElementVNode("header", _hoisted_1$
|
|
15203
|
+
createElementVNode("header", _hoisted_1$P, [
|
|
15204
15204
|
renderSlot(_ctx.$slots, "toolbar", {}, void 0, true),
|
|
15205
15205
|
createVNode(unref(Btn), {
|
|
15206
15206
|
style: normalizeStyle({ float: _ctx.side ? "left" : "right" }),
|
|
@@ -15208,9 +15208,9 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
15208
15208
|
icon: "close",
|
|
15209
15209
|
onClick: closeModal
|
|
15210
15210
|
}, null, 8, ["style"]),
|
|
15211
|
-
createElementVNode("h3", _hoisted_2$
|
|
15211
|
+
createElementVNode("h3", _hoisted_2$H, toDisplayString(_ctx.title), 1)
|
|
15212
15212
|
]),
|
|
15213
|
-
createVNode(unref(_sfc_main$
|
|
15213
|
+
createVNode(unref(_sfc_main$H), {
|
|
15214
15214
|
onDelete: _ctx.onDelete ? runDelete : void 0,
|
|
15215
15215
|
modelValue: _ctx.modelValue,
|
|
15216
15216
|
"onUpdate:modelValue": handleEmit,
|
|
@@ -15222,67 +15222,8 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
15222
15222
|
};
|
|
15223
15223
|
}
|
|
15224
15224
|
});
|
|
15225
|
-
const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15226
|
-
const
|
|
15227
|
-
key: 0,
|
|
15228
|
-
class: "data"
|
|
15229
|
-
};
|
|
15230
|
-
const _hoisted_2$F = {
|
|
15231
|
-
key: 0,
|
|
15232
|
-
class: "mb-3 mt-0"
|
|
15233
|
-
};
|
|
15234
|
-
const _hoisted_3$B = { class: "key" };
|
|
15235
|
-
const _hoisted_4$m = { key: 1 };
|
|
15236
|
-
const _hoisted_5$i = { class: "key" };
|
|
15237
|
-
const _hoisted_6$f = { class: "vlue" };
|
|
15238
|
-
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
15239
|
-
__name: "DataPreview",
|
|
15240
|
-
props: {
|
|
15241
|
-
data: {},
|
|
15242
|
-
schema: {},
|
|
15243
|
-
title: {},
|
|
15244
|
-
i18nT: { type: Function, default: (str) => str }
|
|
15245
|
-
},
|
|
15246
|
-
setup(__props) {
|
|
15247
|
-
const keysToIgnore = ["id", "person_id", "person", "created_at", "updated_at"];
|
|
15248
|
-
return (_ctx, _cache) => {
|
|
15249
|
-
var _a;
|
|
15250
|
-
return _ctx.data ? (openBlock(), createElementBlock("div", _hoisted_1$N, [
|
|
15251
|
-
_ctx.title ? (openBlock(), createElementBlock("h3", _hoisted_2$F, toDisplayString(_ctx.title), 1)) : createCommentVNode("", true),
|
|
15252
|
-
(openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.schema || [], (field) => {
|
|
15253
|
-
return openBlock(), createElementBlock("div", {
|
|
15254
|
-
key: field.id,
|
|
15255
|
-
class: "data-row"
|
|
15256
|
-
}, [
|
|
15257
|
-
createElementVNode("div", _hoisted_3$B, toDisplayString((field == null ? void 0 : field.label) || unref(keyToLabel)(field.id)), 1),
|
|
15258
|
-
(openBlock(), createBlock(resolveDynamicComponent(field.$el || "div"), { class: "vlue" }, {
|
|
15259
|
-
default: withCtx(() => [
|
|
15260
|
-
createTextVNode(toDisplayString(_ctx.data[field.id] || field.defaultValue), 1)
|
|
15261
|
-
]),
|
|
15262
|
-
_: 2
|
|
15263
|
-
}, 1024))
|
|
15264
|
-
]);
|
|
15265
|
-
}), 128)),
|
|
15266
|
-
!((_a = _ctx.schema) == null ? void 0 : _a.length) ? (openBlock(), createElementBlock("div", _hoisted_4$m, [
|
|
15267
|
-
(openBlock(true), createElementBlock(Fragment$1, null, renderList(Object.entries(_ctx.data).filter(
|
|
15268
|
-
([key]) => !keysToIgnore.includes(key)
|
|
15269
|
-
), ([key, value]) => {
|
|
15270
|
-
return openBlock(), createElementBlock("div", {
|
|
15271
|
-
class: "data-row",
|
|
15272
|
-
key
|
|
15273
|
-
}, [
|
|
15274
|
-
createElementVNode("div", _hoisted_5$i, toDisplayString(_ctx.i18nT(unref(keyToLabel)(key))), 1),
|
|
15275
|
-
createElementVNode("div", _hoisted_6$f, toDisplayString(value), 1)
|
|
15276
|
-
]);
|
|
15277
|
-
}), 128))
|
|
15278
|
-
])) : createCommentVNode("", true),
|
|
15279
|
-
renderSlot(_ctx.$slots, "footer", {}, void 0, true)
|
|
15280
|
-
])) : createCommentVNode("", true);
|
|
15281
|
-
};
|
|
15282
|
-
}
|
|
15283
|
-
});
|
|
15284
|
-
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-0350cc0c"]]);
|
|
15285
|
-
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
15225
|
+
const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-1799b7d0"]]);
|
|
15226
|
+
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
15286
15227
|
__name: "FormSchema",
|
|
15287
15228
|
props: {
|
|
15288
15229
|
modelValue: {},
|
|
@@ -15355,14 +15296,14 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
15355
15296
|
};
|
|
15356
15297
|
}
|
|
15357
15298
|
});
|
|
15358
|
-
const _hoisted_1$
|
|
15359
|
-
const _hoisted_2$
|
|
15360
|
-
const _hoisted_3$
|
|
15361
|
-
const _hoisted_4$
|
|
15362
|
-
const _hoisted_5$
|
|
15363
|
-
const _hoisted_6$
|
|
15299
|
+
const _hoisted_1$O = { class: "table-list-wrap h-100" };
|
|
15300
|
+
const _hoisted_2$G = { class: "infinite-wrapper" };
|
|
15301
|
+
const _hoisted_3$C = { class: "row first-row" };
|
|
15302
|
+
const _hoisted_4$n = ["onClick"];
|
|
15303
|
+
const _hoisted_5$j = { class: "flex" };
|
|
15304
|
+
const _hoisted_6$f = ["onClick"];
|
|
15364
15305
|
const _hoisted_7$a = { key: 1 };
|
|
15365
|
-
const _sfc_main$
|
|
15306
|
+
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
15366
15307
|
__name: "TableSchema",
|
|
15367
15308
|
props: {
|
|
15368
15309
|
data: {},
|
|
@@ -15412,27 +15353,27 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
15412
15353
|
}
|
|
15413
15354
|
);
|
|
15414
15355
|
return (_ctx, _cache) => {
|
|
15415
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
15416
|
-
createElementVNode("table", _hoisted_2$
|
|
15417
|
-
createElementVNode("thead", _hoisted_3$
|
|
15356
|
+
return openBlock(), createElementBlock("div", _hoisted_1$O, [
|
|
15357
|
+
createElementVNode("table", _hoisted_2$G, [
|
|
15358
|
+
createElementVNode("thead", _hoisted_3$C, [
|
|
15418
15359
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(columns.value, (field) => {
|
|
15419
15360
|
return openBlock(), createElementBlock("th", {
|
|
15420
15361
|
class: "col",
|
|
15421
15362
|
key: field.id,
|
|
15422
15363
|
onClick: ($event) => sort2(field.id)
|
|
15423
15364
|
}, [
|
|
15424
|
-
createElementVNode("div", _hoisted_5$
|
|
15365
|
+
createElementVNode("div", _hoisted_5$j, [
|
|
15425
15366
|
createTextVNode(toDisplayString((field == null ? void 0 : field.label) || (field == null ? void 0 : field.id)) + " ", 1),
|
|
15426
15367
|
createElementVNode("div", {
|
|
15427
15368
|
class: normalizeClass(["list-arrows", { sorted: unref(sortField) === field.id }])
|
|
15428
15369
|
}, [
|
|
15429
|
-
createVNode(unref(_sfc_main$
|
|
15370
|
+
createVNode(unref(_sfc_main$S), {
|
|
15430
15371
|
class: normalizeClass({ desc: unref(sortDirection) === "DESC" }),
|
|
15431
15372
|
icon: "keyboard_arrow_up"
|
|
15432
15373
|
}, null, 8, ["class"])
|
|
15433
15374
|
], 2)
|
|
15434
15375
|
])
|
|
15435
|
-
], 8, _hoisted_4$
|
|
15376
|
+
], 8, _hoisted_4$n);
|
|
15436
15377
|
}), 128))
|
|
15437
15378
|
]),
|
|
15438
15379
|
createElementVNode("tbody", {
|
|
@@ -15470,7 +15411,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
15470
15411
|
]))
|
|
15471
15412
|
]);
|
|
15472
15413
|
}), 128))
|
|
15473
|
-
], 8, _hoisted_6$
|
|
15414
|
+
], 8, _hoisted_6$f);
|
|
15474
15415
|
}), 128))
|
|
15475
15416
|
], 2)
|
|
15476
15417
|
])
|
|
@@ -15478,16 +15419,16 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
15478
15419
|
};
|
|
15479
15420
|
}
|
|
15480
15421
|
});
|
|
15481
|
-
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15482
|
-
const _sfc_main$
|
|
15483
|
-
const _hoisted_1$
|
|
15422
|
+
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-fa7146ce"]]);
|
|
15423
|
+
const _sfc_main$F = {};
|
|
15424
|
+
const _hoisted_1$N = { class: "flex space-between" };
|
|
15484
15425
|
function _sfc_render$1(_ctx, _cache) {
|
|
15485
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
15426
|
+
return openBlock(), createElementBlock("div", _hoisted_1$N, [
|
|
15486
15427
|
renderSlot(_ctx.$slots, "default")
|
|
15487
15428
|
]);
|
|
15488
15429
|
}
|
|
15489
|
-
const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15490
|
-
const _sfc_main$
|
|
15430
|
+
const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["render", _sfc_render$1]]);
|
|
15431
|
+
const _sfc_main$E = {};
|
|
15491
15432
|
function _sfc_render(_ctx, _cache) {
|
|
15492
15433
|
const _component_router_view = resolveComponent("router-view");
|
|
15493
15434
|
return openBlock(), createBlock(_component_router_view, null, {
|
|
@@ -15509,9 +15450,9 @@ function _sfc_render(_ctx, _cache) {
|
|
|
15509
15450
|
_: 1
|
|
15510
15451
|
});
|
|
15511
15452
|
}
|
|
15512
|
-
const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15513
|
-
const _hoisted_1$
|
|
15514
|
-
const _sfc_main$
|
|
15453
|
+
const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["render", _sfc_render]]);
|
|
15454
|
+
const _hoisted_1$M = { class: "card h-100 thin" };
|
|
15455
|
+
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
15515
15456
|
__name: "ContactSubmissions",
|
|
15516
15457
|
props: {
|
|
15517
15458
|
person_id: {
|
|
@@ -15541,7 +15482,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
15541
15482
|
void getData();
|
|
15542
15483
|
});
|
|
15543
15484
|
return (_ctx, _cache) => {
|
|
15544
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
15485
|
+
return openBlock(), createElementBlock("div", _hoisted_1$M, [
|
|
15545
15486
|
createVNode(unref(TableSchema), {
|
|
15546
15487
|
schema: schema2,
|
|
15547
15488
|
data: unref(data2)
|
|
@@ -15550,15 +15491,15 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
15550
15491
|
};
|
|
15551
15492
|
}
|
|
15552
15493
|
});
|
|
15553
|
-
const _hoisted_1$
|
|
15494
|
+
const _hoisted_1$L = {
|
|
15554
15495
|
key: 0,
|
|
15555
15496
|
class: "person-card-edit flex gap-2"
|
|
15556
15497
|
};
|
|
15557
|
-
const _hoisted_2$
|
|
15558
|
-
const _hoisted_3$
|
|
15559
|
-
const _hoisted_4$
|
|
15560
|
-
const _hoisted_5$
|
|
15561
|
-
const _hoisted_6$
|
|
15498
|
+
const _hoisted_2$F = { class: "person-card-icon-wrap" };
|
|
15499
|
+
const _hoisted_3$B = { class: "person-card-icon" };
|
|
15500
|
+
const _hoisted_4$m = { class: "person-card-name txt20" };
|
|
15501
|
+
const _hoisted_5$i = { class: "person-card-details-wrap" };
|
|
15502
|
+
const _hoisted_6$e = {
|
|
15562
15503
|
key: 0,
|
|
15563
15504
|
class: "person-card-details"
|
|
15564
15505
|
};
|
|
@@ -15572,7 +15513,7 @@ const _hoisted_8$5 = {
|
|
|
15572
15513
|
};
|
|
15573
15514
|
const _hoisted_9$3 = { key: 0 };
|
|
15574
15515
|
const _hoisted_10$3 = { key: 1 };
|
|
15575
|
-
const _sfc_main$
|
|
15516
|
+
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
15576
15517
|
__name: "PersonPreview",
|
|
15577
15518
|
props: {
|
|
15578
15519
|
person: {},
|
|
@@ -15602,7 +15543,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
15602
15543
|
(...args) => _ctx.onClick && _ctx.onClick(...args)),
|
|
15603
15544
|
class: "person-card"
|
|
15604
15545
|
}, [
|
|
15605
|
-
!_ctx.onClick ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
15546
|
+
!_ctx.onClick ? (openBlock(), createElementBlock("div", _hoisted_1$L, [
|
|
15606
15547
|
!_ctx.$route.path.match("/search") ? (openBlock(), createBlock(unref(Btn), {
|
|
15607
15548
|
key: 0,
|
|
15608
15549
|
round: "",
|
|
@@ -15619,13 +15560,13 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
15619
15560
|
icon: "edit"
|
|
15620
15561
|
})
|
|
15621
15562
|
])) : createCommentVNode("", true),
|
|
15622
|
-
createElementVNode("div", _hoisted_2$
|
|
15623
|
-
createElementVNode("p", _hoisted_3$
|
|
15624
|
-
createElementVNode("p", _hoisted_4$
|
|
15563
|
+
createElementVNode("div", _hoisted_2$F, [
|
|
15564
|
+
createElementVNode("p", _hoisted_3$B, toDisplayString(unref(initials)(_ctx.person.first_name, _ctx.person.last_name)), 1),
|
|
15565
|
+
createElementVNode("p", _hoisted_4$m, toDisplayString(_ctx.person.first_name) + " " + toDisplayString(_ctx.person.last_name), 1)
|
|
15625
15566
|
]),
|
|
15626
|
-
createElementVNode("div", _hoisted_5$
|
|
15627
|
-
((_a = _ctx.person.phone) == null ? void 0 : _a.length) ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
15628
|
-
createVNode(unref(_sfc_main$
|
|
15567
|
+
createElementVNode("div", _hoisted_5$i, [
|
|
15568
|
+
((_a = _ctx.person.phone) == null ? void 0 : _a.length) ? (openBlock(), createElementBlock("div", _hoisted_6$e, [
|
|
15569
|
+
createVNode(unref(_sfc_main$S), { icon: "phone" }),
|
|
15629
15570
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.person.phone, (phone) => {
|
|
15630
15571
|
return openBlock(), createElementBlock("p", {
|
|
15631
15572
|
key: phone.id
|
|
@@ -15633,7 +15574,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
15633
15574
|
}), 128))
|
|
15634
15575
|
])) : createCommentVNode("", true),
|
|
15635
15576
|
((_b = _ctx.person.email) == null ? void 0 : _b.length) ? (openBlock(), createElementBlock("div", _hoisted_7$9, [
|
|
15636
|
-
createVNode(unref(_sfc_main$
|
|
15577
|
+
createVNode(unref(_sfc_main$S), { icon: "email" }),
|
|
15637
15578
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.person.email, (email) => {
|
|
15638
15579
|
return openBlock(), createElementBlock("p", {
|
|
15639
15580
|
key: email.id
|
|
@@ -15641,7 +15582,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
15641
15582
|
}), 128))
|
|
15642
15583
|
])) : createCommentVNode("", true),
|
|
15643
15584
|
_ctx.person.date_of_birth || _ctx.person.gender ? (openBlock(), createElementBlock("div", _hoisted_8$5, [
|
|
15644
|
-
createVNode(unref(_sfc_main$
|
|
15585
|
+
createVNode(unref(_sfc_main$S), { icon: "badge" }),
|
|
15645
15586
|
_ctx.person.date_of_birth ? (openBlock(), createElementBlock("p", _hoisted_9$3, toDisplayString(_ctx.person.date_of_birth), 1)) : createCommentVNode("", true),
|
|
15646
15587
|
_ctx.person.gender ? (openBlock(), createElementBlock("p", _hoisted_10$3, toDisplayString(_ctx.person.gender), 1)) : createCommentVNode("", true)
|
|
15647
15588
|
])) : createCommentVNode("", true)
|
|
@@ -15650,6 +15591,226 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
15650
15591
|
};
|
|
15651
15592
|
}
|
|
15652
15593
|
});
|
|
15594
|
+
const _hoisted_1$K = {
|
|
15595
|
+
key: 0,
|
|
15596
|
+
class: "data"
|
|
15597
|
+
};
|
|
15598
|
+
const _hoisted_2$E = {
|
|
15599
|
+
key: 0,
|
|
15600
|
+
class: "mb-3 mt-0"
|
|
15601
|
+
};
|
|
15602
|
+
const _hoisted_3$A = { class: "key" };
|
|
15603
|
+
const _hoisted_4$l = { key: 1 };
|
|
15604
|
+
const _hoisted_5$h = { class: "key" };
|
|
15605
|
+
const _hoisted_6$d = { class: "vlue" };
|
|
15606
|
+
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
15607
|
+
__name: "DataPreview",
|
|
15608
|
+
props: {
|
|
15609
|
+
data: {},
|
|
15610
|
+
schema: {},
|
|
15611
|
+
title: {},
|
|
15612
|
+
i18nT: { type: Function, default: (str) => str }
|
|
15613
|
+
},
|
|
15614
|
+
setup(__props) {
|
|
15615
|
+
const keysToIgnore = ["id", "person_id", "person", "created_at", "updated_at"];
|
|
15616
|
+
return (_ctx, _cache) => {
|
|
15617
|
+
var _a;
|
|
15618
|
+
return _ctx.data ? (openBlock(), createElementBlock("div", _hoisted_1$K, [
|
|
15619
|
+
_ctx.title ? (openBlock(), createElementBlock("h3", _hoisted_2$E, toDisplayString(_ctx.title), 1)) : createCommentVNode("", true),
|
|
15620
|
+
(openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.schema || [], (field) => {
|
|
15621
|
+
return openBlock(), createElementBlock("div", {
|
|
15622
|
+
key: field.id,
|
|
15623
|
+
class: "data-row"
|
|
15624
|
+
}, [
|
|
15625
|
+
createElementVNode("div", _hoisted_3$A, toDisplayString((field == null ? void 0 : field.label) || unref(keyToLabel)(field.id)), 1),
|
|
15626
|
+
(openBlock(), createBlock(resolveDynamicComponent(field.$el || "div"), { class: "vlue" }, {
|
|
15627
|
+
default: withCtx(() => [
|
|
15628
|
+
createTextVNode(toDisplayString(_ctx.data[field.id] || field.defaultValue), 1)
|
|
15629
|
+
]),
|
|
15630
|
+
_: 2
|
|
15631
|
+
}, 1024))
|
|
15632
|
+
]);
|
|
15633
|
+
}), 128)),
|
|
15634
|
+
!((_a = _ctx.schema) == null ? void 0 : _a.length) ? (openBlock(), createElementBlock("div", _hoisted_4$l, [
|
|
15635
|
+
(openBlock(true), createElementBlock(Fragment$1, null, renderList(Object.entries(_ctx.data).filter(
|
|
15636
|
+
([key]) => !keysToIgnore.includes(key)
|
|
15637
|
+
), ([key, value]) => {
|
|
15638
|
+
return openBlock(), createElementBlock("div", {
|
|
15639
|
+
class: "data-row",
|
|
15640
|
+
key
|
|
15641
|
+
}, [
|
|
15642
|
+
createElementVNode("div", _hoisted_5$h, toDisplayString(_ctx.i18nT(unref(keyToLabel)(key))), 1),
|
|
15643
|
+
createElementVNode("div", _hoisted_6$d, toDisplayString(value), 1)
|
|
15644
|
+
]);
|
|
15645
|
+
}), 128))
|
|
15646
|
+
])) : createCommentVNode("", true),
|
|
15647
|
+
renderSlot(_ctx.$slots, "footer", {}, void 0, true)
|
|
15648
|
+
])) : createCommentVNode("", true);
|
|
15649
|
+
};
|
|
15650
|
+
}
|
|
15651
|
+
});
|
|
15652
|
+
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-0350cc0c"]]);
|
|
15653
|
+
const _hoisted_1$J = { class: "files-wrapper flex" };
|
|
15654
|
+
const _hoisted_2$D = { class: "img-label" };
|
|
15655
|
+
const _hoisted_3$z = { class: "uploading-wrap" };
|
|
15656
|
+
const _hoisted_4$k = { class: "load-file-bar" };
|
|
15657
|
+
const _hoisted_5$g = ["multiple"];
|
|
15658
|
+
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
15659
|
+
__name: "FileUploader",
|
|
15660
|
+
props: {
|
|
15661
|
+
id: { default: "" },
|
|
15662
|
+
private: { default: 0 },
|
|
15663
|
+
singleFile: { type: Boolean },
|
|
15664
|
+
beforeUpload: { type: Function, default: async () => {
|
|
15665
|
+
} },
|
|
15666
|
+
dragDropLabel: { default: "Drag and drop your files here" },
|
|
15667
|
+
browseLabel: { default: "Browse" }
|
|
15668
|
+
},
|
|
15669
|
+
emits: ["complete", "done"],
|
|
15670
|
+
setup(__props, { emit: __emit }) {
|
|
15671
|
+
const bagel = useBagel();
|
|
15672
|
+
const draggingOver = ref(false);
|
|
15673
|
+
const dropCircle = ref();
|
|
15674
|
+
const dropZoneEl = ref();
|
|
15675
|
+
const fileInputEl = ref();
|
|
15676
|
+
const circleTop = ref("0");
|
|
15677
|
+
const circleLeft = ref("0");
|
|
15678
|
+
const files = ref([]);
|
|
15679
|
+
const props2 = __props;
|
|
15680
|
+
function openFileDialog() {
|
|
15681
|
+
var _a;
|
|
15682
|
+
(_a = fileInputEl.value) == null ? void 0 : _a.click();
|
|
15683
|
+
}
|
|
15684
|
+
function onDragOver(e) {
|
|
15685
|
+
var _a, _b;
|
|
15686
|
+
if (!draggingOver.value)
|
|
15687
|
+
return;
|
|
15688
|
+
const parentEl2 = ((_b = (_a = dropZoneEl.value) == null ? void 0 : _a.getBoundingClientRect) == null ? void 0 : _b.call(_a)) || {
|
|
15689
|
+
left: 0,
|
|
15690
|
+
top: 0,
|
|
15691
|
+
width: 0,
|
|
15692
|
+
height: 0
|
|
15693
|
+
};
|
|
15694
|
+
const x2 = e.clientX - parentEl2.left;
|
|
15695
|
+
const y2 = e.clientY - parentEl2.top;
|
|
15696
|
+
circleLeft.value = `${x2}px`;
|
|
15697
|
+
circleTop.value = `${y2}px`;
|
|
15698
|
+
if (x2 < 0 || x2 > parentEl2.width || y2 < 0 || y2 > parentEl2.height) {
|
|
15699
|
+
draggingOver.value = false;
|
|
15700
|
+
}
|
|
15701
|
+
}
|
|
15702
|
+
function handleFileInput(e) {
|
|
15703
|
+
const filesToAdd = e.target.files;
|
|
15704
|
+
addFiles(filesToAdd);
|
|
15705
|
+
}
|
|
15706
|
+
function preventDefaults(e) {
|
|
15707
|
+
e.preventDefault();
|
|
15708
|
+
}
|
|
15709
|
+
function hideCircle(e) {
|
|
15710
|
+
console.log({ e });
|
|
15711
|
+
draggingOver.value = false;
|
|
15712
|
+
}
|
|
15713
|
+
const events = ["dragenter", "dragover", "dragleave", "drop"];
|
|
15714
|
+
onMounted(() => {
|
|
15715
|
+
events.forEach((event) => {
|
|
15716
|
+
document.addEventListener(event, preventDefaults);
|
|
15717
|
+
});
|
|
15718
|
+
document.addEventListener("dragover", onDragOver);
|
|
15719
|
+
});
|
|
15720
|
+
onUnmounted(() => {
|
|
15721
|
+
document.removeEventListener("dragover", onDragOver);
|
|
15722
|
+
events.forEach((event) => {
|
|
15723
|
+
document.removeEventListener(event, preventDefaults);
|
|
15724
|
+
});
|
|
15725
|
+
});
|
|
15726
|
+
function addFiles(addedFiles) {
|
|
15727
|
+
if (props2.singleFile && files.value.length > 1)
|
|
15728
|
+
return;
|
|
15729
|
+
for (let i2 = 0; i2 < addedFiles.length; i2++) {
|
|
15730
|
+
files.value.push({
|
|
15731
|
+
file: addedFiles[i2],
|
|
15732
|
+
uid: Math.random().toString(36).substring(2, 9),
|
|
15733
|
+
progress: "",
|
|
15734
|
+
uploading: false
|
|
15735
|
+
});
|
|
15736
|
+
}
|
|
15737
|
+
uploadFiles();
|
|
15738
|
+
}
|
|
15739
|
+
const emit2 = __emit;
|
|
15740
|
+
function uploadFiles() {
|
|
15741
|
+
files.value.forEach((item) => {
|
|
15742
|
+
item.uploading = true;
|
|
15743
|
+
});
|
|
15744
|
+
}
|
|
15745
|
+
async function onDrop(e) {
|
|
15746
|
+
var _a;
|
|
15747
|
+
hideCircle(e);
|
|
15748
|
+
preventDefaults(e);
|
|
15749
|
+
const filesToAdd = (_a = e.dataTransfer) == null ? void 0 : _a.files;
|
|
15750
|
+
if (filesToAdd) {
|
|
15751
|
+
addFiles(filesToAdd);
|
|
15752
|
+
const file = await bagel.uploadFile(filesToAdd[0]);
|
|
15753
|
+
emit2("complete", file);
|
|
15754
|
+
}
|
|
15755
|
+
}
|
|
15756
|
+
return (_ctx, _cache) => {
|
|
15757
|
+
return openBlock(), createElementBlock("div", _hoisted_1$J, [
|
|
15758
|
+
createElementVNode("div", {
|
|
15759
|
+
ref_key: "dropZoneEl",
|
|
15760
|
+
ref: dropZoneEl,
|
|
15761
|
+
class: "drop-zone flex-grow",
|
|
15762
|
+
onClick: openFileDialog,
|
|
15763
|
+
onDragenter: _cache[0] || (_cache[0] = ($event) => draggingOver.value = true),
|
|
15764
|
+
onDrop: withModifiers(onDrop, ["prevent", "stop"])
|
|
15765
|
+
}, [
|
|
15766
|
+
createVNode(Transition, { name: "pop" }, {
|
|
15767
|
+
default: withCtx(() => [
|
|
15768
|
+
draggingOver.value ? (openBlock(), createElementBlock("div", {
|
|
15769
|
+
key: 0,
|
|
15770
|
+
ref_key: "dropCircle",
|
|
15771
|
+
ref: dropCircle,
|
|
15772
|
+
class: "drop-circle"
|
|
15773
|
+
}, null, 512)) : createCommentVNode("", true)
|
|
15774
|
+
]),
|
|
15775
|
+
_: 1
|
|
15776
|
+
}),
|
|
15777
|
+
createElementVNode("div", _hoisted_2$D, [
|
|
15778
|
+
createElementVNode("p", null, [
|
|
15779
|
+
createTextVNode(toDisplayString(_ctx.dragDropLabel) + " ", 1),
|
|
15780
|
+
createElementVNode("span", null, toDisplayString(_ctx.browseLabel), 1)
|
|
15781
|
+
])
|
|
15782
|
+
]),
|
|
15783
|
+
createElementVNode("div", _hoisted_3$z, [
|
|
15784
|
+
(openBlock(true), createElementBlock(Fragment$1, null, renderList(files.value, (item, index2) => {
|
|
15785
|
+
return openBlock(), createElementBlock("div", {
|
|
15786
|
+
class: normalizeClass({ uploading: item.uploading }),
|
|
15787
|
+
key: index2
|
|
15788
|
+
}, [
|
|
15789
|
+
createElementVNode("div", _hoisted_4$k, [
|
|
15790
|
+
createElementVNode("p", null, toDisplayString(item.file.name), 1),
|
|
15791
|
+
createElementVNode("div", {
|
|
15792
|
+
class: "pie",
|
|
15793
|
+
style: normalizeStyle([`--p:${item.progress}`, { "--b": "2px" }])
|
|
15794
|
+
}, [
|
|
15795
|
+
createElementVNode("span", null, toDisplayString(`${item.progress}`), 1)
|
|
15796
|
+
], 4)
|
|
15797
|
+
])
|
|
15798
|
+
], 2);
|
|
15799
|
+
}), 128))
|
|
15800
|
+
])
|
|
15801
|
+
], 544),
|
|
15802
|
+
createElementVNode("input", {
|
|
15803
|
+
class: "file-input",
|
|
15804
|
+
type: "file",
|
|
15805
|
+
onChange: handleFileInput,
|
|
15806
|
+
ref_key: "fileInputEl",
|
|
15807
|
+
ref: fileInputEl,
|
|
15808
|
+
multiple: !_ctx.singleFile
|
|
15809
|
+
}, null, 40, _hoisted_5$g)
|
|
15810
|
+
]);
|
|
15811
|
+
};
|
|
15812
|
+
}
|
|
15813
|
+
});
|
|
15653
15814
|
const _withScopeId$2 = (n) => (pushScopeId("data-v-f7af54ed"), n = n(), popScopeId(), n);
|
|
15654
15815
|
const _hoisted_1$I = { class: "bar-chart" };
|
|
15655
15816
|
const _hoisted_2$C = {
|
|
@@ -17055,7 +17216,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
17055
17216
|
[vModelCheckbox, unref(val)]
|
|
17056
17217
|
]),
|
|
17057
17218
|
createElementVNode("span", null, [
|
|
17058
|
-
createVNode(unref(_sfc_main$
|
|
17219
|
+
createVNode(unref(_sfc_main$S), { icon: "check" })
|
|
17059
17220
|
])
|
|
17060
17221
|
]);
|
|
17061
17222
|
};
|
|
@@ -17897,7 +18058,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
17897
18058
|
style: normalizeStyle([`--p:${item.progress}`, { "--b": "2px" }])
|
|
17898
18059
|
}, [
|
|
17899
18060
|
item.progress < 100 ? (openBlock(), createElementBlock("span", _hoisted_7$4, toDisplayString(`${item.progress.toFixed(0)}`), 1)) : createCommentVNode("", true),
|
|
17900
|
-
createVNode(unref(_sfc_main$
|
|
18061
|
+
createVNode(unref(_sfc_main$S), {
|
|
17901
18062
|
class: "success",
|
|
17902
18063
|
icon: "check"
|
|
17903
18064
|
})
|
|
@@ -18004,7 +18165,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
18004
18165
|
]),
|
|
18005
18166
|
createElementVNode("div", _hoisted_5$a, [
|
|
18006
18167
|
((_a = person.value.phone) == null ? void 0 : _a.length) ? (openBlock(), createElementBlock("div", _hoisted_6$7, [
|
|
18007
|
-
createVNode(unref(_sfc_main$
|
|
18168
|
+
createVNode(unref(_sfc_main$S), { icon: "phone" }),
|
|
18008
18169
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(person.value.phone, (phone) => {
|
|
18009
18170
|
return openBlock(), createElementBlock("p", {
|
|
18010
18171
|
key: phone.id
|
|
@@ -18012,7 +18173,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
18012
18173
|
}), 128))
|
|
18013
18174
|
])) : createCommentVNode("", true),
|
|
18014
18175
|
((_b = person.value.email) == null ? void 0 : _b.length) ? (openBlock(), createElementBlock("div", _hoisted_7$3, [
|
|
18015
|
-
createVNode(unref(_sfc_main$
|
|
18176
|
+
createVNode(unref(_sfc_main$S), { icon: "email" }),
|
|
18016
18177
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(person.value.email, (email) => {
|
|
18017
18178
|
return openBlock(), createElementBlock("p", {
|
|
18018
18179
|
key: email.id
|
|
@@ -18020,7 +18181,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
18020
18181
|
}), 128))
|
|
18021
18182
|
])) : createCommentVNode("", true),
|
|
18022
18183
|
person.value.date_of_birth || person.value.gender ? (openBlock(), createElementBlock("div", _hoisted_8, [
|
|
18023
|
-
createVNode(unref(_sfc_main$
|
|
18184
|
+
createVNode(unref(_sfc_main$S), { icon: "badge" }),
|
|
18024
18185
|
person.value.date_of_birth ? (openBlock(), createElementBlock("p", _hoisted_9, toDisplayString(person.value.date_of_birth), 1)) : createCommentVNode("", true),
|
|
18025
18186
|
person.value.gender ? (openBlock(), createElementBlock("p", _hoisted_10, toDisplayString(person.value.gender), 1)) : createCommentVNode("", true)
|
|
18026
18187
|
])) : createCommentVNode("", true)
|
|
@@ -18162,7 +18323,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
18162
18323
|
}, {
|
|
18163
18324
|
default: withCtx(() => [
|
|
18164
18325
|
createTextVNode(toDisplayString(content.value) + " ", 1),
|
|
18165
|
-
createVNode(unref(_sfc_main$
|
|
18326
|
+
createVNode(unref(_sfc_main$S), { icon: "arrow_forward" })
|
|
18166
18327
|
]),
|
|
18167
18328
|
_: 1
|
|
18168
18329
|
})) : (openBlock(), createElementBlock("span", _hoisted_1$z, toDisplayString(content.value), 1))
|
|
@@ -18225,7 +18386,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
18225
18386
|
createElementVNode("label", {
|
|
18226
18387
|
for: unref(formatString)(_ctx.name, "pascal")
|
|
18227
18388
|
}, [
|
|
18228
|
-
createVNode(_sfc_main$
|
|
18389
|
+
createVNode(_sfc_main$U, {
|
|
18229
18390
|
input: unref(formatString)(_ctx.name, "titleCase")
|
|
18230
18391
|
}, null, 8, ["input"])
|
|
18231
18392
|
], 8, _hoisted_2$v),
|
|
@@ -18266,7 +18427,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
18266
18427
|
onInput: handleInput
|
|
18267
18428
|
}, null, 40, _hoisted_6$6)) : createCommentVNode("", true),
|
|
18268
18429
|
createElementVNode("div", null, [
|
|
18269
|
-
createVNode(_sfc_main$
|
|
18430
|
+
createVNode(_sfc_main$U, { input: _ctx.errorMessage }, null, 8, ["input"])
|
|
18270
18431
|
])
|
|
18271
18432
|
]);
|
|
18272
18433
|
};
|
|
@@ -18995,7 +19156,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
18995
19156
|
[vModelDynamic, inputVal.value]
|
|
18996
19157
|
])
|
|
18997
19158
|
], 8, _hoisted_2$k),
|
|
18998
|
-
createVNode(unref(_sfc_main$
|
|
19159
|
+
createVNode(unref(_sfc_main$S), {
|
|
18999
19160
|
onClick: showPassword,
|
|
19000
19161
|
icon: unref(seePassword) ? "visibility" : "visibility_off"
|
|
19001
19162
|
}, null, 8, ["icon"])
|
|
@@ -19160,7 +19321,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
19160
19321
|
for: "label",
|
|
19161
19322
|
class: normalizeClass({ active: showList.value })
|
|
19162
19323
|
}, [
|
|
19163
|
-
createVNode(unref(_sfc_main$
|
|
19324
|
+
createVNode(unref(_sfc_main$U), { input: _ctx.label }, null, 8, ["input"])
|
|
19164
19325
|
], 2)) : createCommentVNode("", true),
|
|
19165
19326
|
createElementVNode("div", {
|
|
19166
19327
|
class: normalizeClass(["custom-select", { "open-select": showList.value && _ctx.editMode }]),
|
|
@@ -19172,7 +19333,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
19172
19333
|
class: normalizeClass(["input", { active: showList.value }]),
|
|
19173
19334
|
name: "select-input"
|
|
19174
19335
|
}, [
|
|
19175
|
-
createVNode(unref(_sfc_main$
|
|
19336
|
+
createVNode(unref(_sfc_main$U), { input: displayValue.value }, null, 8, ["input"])
|
|
19176
19337
|
], 2),
|
|
19177
19338
|
(openBlock(), createBlock(Teleport, { to: "#app" }, [
|
|
19178
19339
|
createElementVNode("div", {
|
|
@@ -19185,7 +19346,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
19185
19346
|
key: option2.value,
|
|
19186
19347
|
onClick: ($event) => handleSelect(option2)
|
|
19187
19348
|
}, [
|
|
19188
|
-
createVNode(unref(_sfc_main$
|
|
19349
|
+
createVNode(unref(_sfc_main$U), {
|
|
19189
19350
|
input: option2.label
|
|
19190
19351
|
}, null, 8, ["input"])
|
|
19191
19352
|
], 8, _hoisted_2$i);
|
|
@@ -22049,7 +22210,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
22049
22210
|
title: _ctx.description
|
|
22050
22211
|
}, [
|
|
22051
22212
|
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$d, [
|
|
22052
|
-
createVNode(unref(_sfc_main$
|
|
22213
|
+
createVNode(unref(_sfc_main$U), { input: _ctx.label }, null, 8, ["input"])
|
|
22053
22214
|
])) : createCommentVNode("", true),
|
|
22054
22215
|
_ctx.showCharacterLimit ? (openBlock(), createElementBlock("span", _hoisted_3$b, toDisplayString((_a = _ctx.modelValue) == null ? void 0 : _a.length) + " " + toDisplayString(((_b = _ctx.nativeInputAttrs) == null ? void 0 : _b.maxlength) ? `/${_ctx.nativeInputAttrs.maxlength}` : ""), 1)) : createCommentVNode("", true),
|
|
22055
22216
|
createElementVNode("textarea", mergeProps({
|
|
@@ -28724,7 +28885,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
28724
28885
|
return (_ctx, _cache) => {
|
|
28725
28886
|
var _a, _b, _c, _d, _e, _f;
|
|
28726
28887
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
28727
|
-
createVNode(unref(_sfc_main$
|
|
28888
|
+
createVNode(unref(_sfc_main$J), null, {
|
|
28728
28889
|
default: withCtx(() => [
|
|
28729
28890
|
createTextVNode("Whatsapp Template")
|
|
28730
28891
|
]),
|
|
@@ -28733,7 +28894,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
28733
28894
|
createElementVNode("div", _hoisted_2, [
|
|
28734
28895
|
createElementVNode("div", _hoisted_3, [
|
|
28735
28896
|
createElementVNode("div", _hoisted_4, [
|
|
28736
|
-
createVNode(unref(_sfc_main$
|
|
28897
|
+
createVNode(unref(_sfc_main$H), {
|
|
28737
28898
|
schema: _ctx.whatsappTemplateSchema(),
|
|
28738
28899
|
modelValue: unref(localWhatsappData),
|
|
28739
28900
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(localWhatsappData) ? localWhatsappData.value = $event : localWhatsappData = $event),
|
|
@@ -28768,41 +28929,42 @@ export {
|
|
|
28768
28929
|
_sfc_main$4 as ColorPicker,
|
|
28769
28930
|
Comments,
|
|
28770
28931
|
ContactArrayInput,
|
|
28771
|
-
_sfc_main$
|
|
28932
|
+
_sfc_main$D as ContactSubmissions,
|
|
28772
28933
|
CurrencyInput,
|
|
28773
28934
|
DataPreview,
|
|
28774
28935
|
DateInput,
|
|
28775
28936
|
_sfc_main$j as DatetimeInput,
|
|
28776
|
-
_sfc_main$
|
|
28937
|
+
_sfc_main$O as DropDown,
|
|
28777
28938
|
_sfc_main$7 as DurationInput,
|
|
28778
28939
|
_sfc_main$3 as DynamicLinkField,
|
|
28779
28940
|
EmailInput,
|
|
28780
28941
|
FileUploadInput,
|
|
28942
|
+
_sfc_main$A as FileUploader,
|
|
28781
28943
|
_sfc_main$h as FloatInput,
|
|
28782
|
-
_sfc_main$
|
|
28944
|
+
_sfc_main$H as FormSchema,
|
|
28783
28945
|
_sfc_main$g as IntInput,
|
|
28784
28946
|
_sfc_main$p as ItemRef,
|
|
28785
28947
|
JSONInput,
|
|
28786
|
-
_sfc_main$
|
|
28948
|
+
_sfc_main$U as LangText,
|
|
28787
28949
|
_sfc_main$1 as Lineart,
|
|
28788
28950
|
LinkField,
|
|
28789
|
-
_sfc_main$
|
|
28790
|
-
_sfc_main$
|
|
28791
|
-
_sfc_main$
|
|
28951
|
+
_sfc_main$M as ListItem,
|
|
28952
|
+
_sfc_main$N as ListView,
|
|
28953
|
+
_sfc_main$S as MaterialIcon,
|
|
28792
28954
|
MiscFieldsInput,
|
|
28793
|
-
_sfc_main$
|
|
28955
|
+
_sfc_main$P as Modal,
|
|
28794
28956
|
ModalForm,
|
|
28795
28957
|
ModalPlugin,
|
|
28796
28958
|
MsgTemplate,
|
|
28797
|
-
_sfc_main$
|
|
28798
|
-
_sfc_main$
|
|
28959
|
+
_sfc_main$R as NavBar,
|
|
28960
|
+
_sfc_main$J as PageTitle,
|
|
28799
28961
|
Password,
|
|
28800
28962
|
PasswordInput,
|
|
28801
|
-
_sfc_main$
|
|
28963
|
+
_sfc_main$C as PersonPreview,
|
|
28802
28964
|
PersonPreviewInput,
|
|
28803
28965
|
_sfc_main$n as PlainInputField,
|
|
28804
28966
|
PlainText,
|
|
28805
|
-
_sfc_main$
|
|
28967
|
+
_sfc_main$T as RTXEditor,
|
|
28806
28968
|
ReadOnlyInput,
|
|
28807
28969
|
RichTextEditor,
|
|
28808
28970
|
RouterWrapper,
|