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