@bagelink/vue 0.0.158 → 0.0.162
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Btn.vue.d.ts +2 -2
- package/dist/components/Btn.vue.d.ts.map +1 -1
- package/dist/components/Comments.vue.d.ts.map +1 -1
- package/dist/components/DropDown.vue.d.ts.map +1 -1
- package/dist/components/FileUploader.vue.d.ts +60 -0
- package/dist/components/FileUploader.vue.d.ts.map +1 -0
- package/dist/components/LangText.vue.d.ts.map +1 -1
- package/dist/components/NavBar.vue.d.ts.map +1 -1
- package/dist/components/PersonPreview.vue.d.ts +1 -1
- package/dist/components/PersonPreview.vue.d.ts.map +1 -1
- package/dist/components/PersonPreviewFormkit.vue.d.ts +1 -1
- package/dist/components/PersonPreviewFormkit.vue.d.ts.map +1 -1
- package/dist/components/RTXEditor.vue.d.ts.map +1 -1
- package/dist/components/TableSchema.vue.d.ts.map +1 -1
- package/dist/components/charts/BarChart.vue.d.ts.map +1 -1
- package/dist/components/dashboard/Lineart.vue.d.ts +1 -1
- package/dist/components/dashboard/Lineart.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/CheckInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/Checkbox.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/PasswordInput.vue.d.ts.map +1 -1
- package/dist/components/formkit/AddressArray.vue.d.ts.map +1 -1
- package/dist/components/formkit/BankDetailsArray.vue.d.ts.map +1 -1
- package/dist/components/formkit/ContactArrayFormKit.vue.d.ts.map +1 -1
- package/dist/components/formkit/FileUploader.vue.d.ts.map +1 -1
- package/dist/components/formkit/MiscFields.vue.d.ts.map +1 -1
- 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 +442 -269
- package/dist/index.mjs +442 -269
- package/dist/style.css +1600 -1404
- package/package.json +1 -1
- package/src/components/Btn.vue +127 -132
- package/src/components/Comments.vue +155 -169
- package/src/components/DropDown.vue +73 -77
- package/src/components/FileUploader.vue +133 -141
- package/src/components/FormKitTable.vue +191 -205
- package/src/components/LangText.vue +14 -14
- package/src/components/NavBar.vue +264 -261
- package/src/components/PersonPreview.vue +123 -148
- package/src/components/PersonPreviewFormkit.vue +124 -148
- package/src/components/RTXEditor.vue +91 -91
- package/src/components/TableSchema.vue +150 -156
- package/src/components/charts/BarChart.vue +212 -227
- package/src/components/dashboard/Lineart.vue +117 -130
- package/src/components/form/inputs/CheckInput.vue +90 -90
- package/src/components/form/inputs/Checkbox.vue +38 -41
- package/src/components/form/inputs/PasswordInput.vue +56 -63
- package/src/components/formkit/AddressArray.vue +150 -173
- package/src/components/formkit/BankDetailsArray.vue +175 -198
- package/src/components/formkit/ContactArrayFormKit.vue +124 -142
- package/src/components/formkit/FileUploader.vue +256 -260
- package/src/components/formkit/MiscFields.vue +42 -42
- package/src/components/formkit/Toggle.vue +97 -97
- package/src/components/formkit/index.ts +3 -3
- package/src/components/index.ts +2 -1
- package/src/styles/bagel.css +1 -0
- package/src/styles/buttons.css +5 -0
- package/src/styles/dark.css +46 -0
- package/src/styles/fonts/Ploni.css +8 -8
- package/src/styles/inputs.css +57 -13
- package/src/styles/layout.css +43 -0
- package/src/styles/text.css +83 -10
- package/src/styles/theme.css +25 -155
- package/src/styles/fonts/Ploni/ploni-black.eot +0 -0
- package/src/styles/fonts/Ploni/ploni-black.woff +0 -0
- package/src/styles/fonts/Ploni/ploni-black.woff2 +0 -0
- package/src/styles/fonts/Ploni/ploni-bold.eot +0 -0
- package/src/styles/fonts/Ploni/ploni-bold.woff +0 -0
- package/src/styles/fonts/Ploni/ploni-bold.woff2 +0 -0
- package/src/styles/fonts/Ploni/ploni-demibold.eot +0 -0
- package/src/styles/fonts/Ploni/ploni-demibold.woff +0 -0
- package/src/styles/fonts/Ploni/ploni-demibold.woff2 +0 -0
- package/src/styles/fonts/Ploni/ploni-light.eot +0 -0
- package/src/styles/fonts/Ploni/ploni-light.woff +0 -0
- package/src/styles/fonts/Ploni/ploni-light.woff2 +0 -0
- package/src/styles/fonts/Ploni/ploni-medium.eot +0 -0
- package/src/styles/fonts/Ploni/ploni-medium.woff +0 -0
- package/src/styles/fonts/Ploni/ploni-medium.woff2 +0 -0
- package/src/styles/fonts/Ploni/ploni-regular.eot +0 -0
- package/src/styles/fonts/Ploni/ploni-regular.woff +0 -0
- package/src/styles/fonts/Ploni/ploni-regular.woff2 +0 -0
- package/src/styles/fonts/Ploni/ploni-ultrabold.eot +0 -0
- package/src/styles/fonts/Ploni/ploni-ultrabold.woff +0 -0
- package/src/styles/fonts/Ploni/ploni-ultrabold.woff2 +0 -0
- package/src/styles/fonts/Ploni/ploni-ultralight.eot +0 -0
- package/src/styles/fonts/Ploni/ploni-ultralight.woff +0 -0
- package/src/styles/fonts/Ploni/ploni-ultralight.woff2 +0 -0
package/dist/index.cjs
CHANGED
|
@@ -2293,7 +2293,7 @@ const ModalPlugin = {
|
|
|
2293
2293
|
},
|
|
2294
2294
|
render() {
|
|
2295
2295
|
return modalStack.value.map((modal, index2) => {
|
|
2296
|
-
const renderComponent = modal.isModalForm ? ModalForm : _sfc_main$
|
|
2296
|
+
const renderComponent = modal.isModalForm ? ModalForm : _sfc_main$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-8fe48560"]]);
|
|
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: {},
|
|
@@ -15005,9 +15005,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
|
15005
15005
|
const props2 = __props;
|
|
15006
15006
|
const fetchData = async () => {
|
|
15007
15007
|
comments.value = [];
|
|
15008
|
-
comments.value = await bagel.get(
|
|
15009
|
-
`comments/${props2.ref_table}/${props2.ref_id}`
|
|
15010
|
-
);
|
|
15008
|
+
comments.value = await bagel.get(`comments/${props2.ref_table}/${props2.ref_id}`);
|
|
15011
15009
|
};
|
|
15012
15010
|
vue.onMounted(fetchData);
|
|
15013
15011
|
vue.watch(() => props2.ref_id, fetchData);
|
|
@@ -15036,8 +15034,8 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
|
15036
15034
|
void fetchData();
|
|
15037
15035
|
};
|
|
15038
15036
|
return (_ctx, _cache) => {
|
|
15039
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
15040
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
15037
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$R, [
|
|
15038
|
+
vue.createElementVNode("div", _hoisted_2$J, [
|
|
15041
15039
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(comments), (comment) => {
|
|
15042
15040
|
var _a, _b, _c;
|
|
15043
15041
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -15047,23 +15045,23 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
|
15047
15045
|
}, "comment"]),
|
|
15048
15046
|
key: comment.id
|
|
15049
15047
|
}, [
|
|
15050
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
15051
|
-
vue.createElementVNode("div", _hoisted_4$
|
|
15052
|
-
vue.createElementVNode("div", _hoisted_5$
|
|
15048
|
+
vue.createElementVNode("div", _hoisted_3$D, [
|
|
15049
|
+
vue.createElementVNode("div", _hoisted_4$o, vue.toDisplayString(comment.sender.first_name) + " " + vue.toDisplayString(comment.sender.last_name), 1),
|
|
15050
|
+
vue.createElementVNode("div", _hoisted_5$k, vue.toDisplayString(comment.updated_at.split("T")[0]), 1),
|
|
15053
15051
|
vue.createElementVNode("div", _hoisted_6$g, [
|
|
15054
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
15052
|
+
vue.createVNode(vue.unref(_sfc_main$S), {
|
|
15055
15053
|
size: 1,
|
|
15056
15054
|
class: "edit",
|
|
15057
15055
|
icon: "edit",
|
|
15058
15056
|
onClick: ($event) => vue.isRef(editComment) ? editComment.value = comment : editComment = comment
|
|
15059
15057
|
}, null, 8, ["onClick"]),
|
|
15060
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
15058
|
+
vue.createVNode(vue.unref(_sfc_main$S), {
|
|
15061
15059
|
size: 1.2,
|
|
15062
15060
|
class: "delete",
|
|
15063
15061
|
icon: "delete",
|
|
15064
15062
|
onClick: ($event) => deleteComment(comment.id)
|
|
15065
15063
|
}, null, 8, ["onClick"]),
|
|
15066
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
15064
|
+
vue.createVNode(vue.unref(_sfc_main$S), {
|
|
15067
15065
|
size: 1.2,
|
|
15068
15066
|
class: "save",
|
|
15069
15067
|
icon: "save",
|
|
@@ -15071,7 +15069,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
|
15071
15069
|
})
|
|
15072
15070
|
])
|
|
15073
15071
|
]),
|
|
15074
|
-
vue.unref(editComment) !== null && ((_c = vue.unref(editComment)) == null ? void 0 : _c.id) === comment.id ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
15072
|
+
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
15073
|
key: 0,
|
|
15076
15074
|
modelValue: vue.unref(editComment).body_html,
|
|
15077
15075
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(editComment).body_html = $event),
|
|
@@ -15085,7 +15083,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
|
15085
15083
|
}), 128))
|
|
15086
15084
|
]),
|
|
15087
15085
|
vue.createElementVNode("div", _hoisted_8$6, [
|
|
15088
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
15086
|
+
vue.createVNode(vue.unref(_sfc_main$T), {
|
|
15089
15087
|
class: "comment-input",
|
|
15090
15088
|
modelValue: vue.unref(bodyHtml),
|
|
15091
15089
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(bodyHtml) ? bodyHtml.value = $event : bodyHtml = $event),
|
|
@@ -15105,10 +15103,10 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
|
15105
15103
|
};
|
|
15106
15104
|
}
|
|
15107
15105
|
});
|
|
15108
|
-
const Comments = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15109
|
-
const _hoisted_1$
|
|
15110
|
-
const _hoisted_2$
|
|
15111
|
-
const _sfc_main$
|
|
15106
|
+
const Comments = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-2eead7c8"]]);
|
|
15107
|
+
const _hoisted_1$Q = { class: "page-top" };
|
|
15108
|
+
const _hoisted_2$I = { class: "top-title" };
|
|
15109
|
+
const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
15112
15110
|
__name: "PageTitle",
|
|
15113
15111
|
props: {
|
|
15114
15112
|
value: {
|
|
@@ -15118,8 +15116,8 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
|
15118
15116
|
},
|
|
15119
15117
|
setup(__props) {
|
|
15120
15118
|
return (_ctx, _cache) => {
|
|
15121
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
15122
|
-
vue.createElementVNode("h1", _hoisted_2$
|
|
15119
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$Q, [
|
|
15120
|
+
vue.createElementVNode("h1", _hoisted_2$I, [
|
|
15123
15121
|
vue.renderSlot(_ctx.$slots, "default"),
|
|
15124
15122
|
vue.createTextVNode(" " + vue.toDisplayString(__props.value), 1)
|
|
15125
15123
|
])
|
|
@@ -15127,9 +15125,9 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
|
15127
15125
|
};
|
|
15128
15126
|
}
|
|
15129
15127
|
});
|
|
15130
|
-
const _hoisted_1$
|
|
15131
|
-
const _hoisted_2$
|
|
15132
|
-
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__ */ vue.defineComponent({
|
|
15133
15131
|
__name: "ModalForm",
|
|
15134
15132
|
props: {
|
|
15135
15133
|
side: { type: Boolean },
|
|
@@ -15202,7 +15200,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
15202
15200
|
onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
|
|
15203
15201
|
}, ["stop"]))
|
|
15204
15202
|
}, [
|
|
15205
|
-
vue.createElementVNode("header", _hoisted_1$
|
|
15203
|
+
vue.createElementVNode("header", _hoisted_1$P, [
|
|
15206
15204
|
vue.renderSlot(_ctx.$slots, "toolbar", {}, void 0, true),
|
|
15207
15205
|
vue.createVNode(vue.unref(Btn), {
|
|
15208
15206
|
style: vue.normalizeStyle({ float: _ctx.side ? "left" : "right" }),
|
|
@@ -15210,9 +15208,9 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
15210
15208
|
icon: "close",
|
|
15211
15209
|
onClick: closeModal
|
|
15212
15210
|
}, null, 8, ["style"]),
|
|
15213
|
-
vue.createElementVNode("h3", _hoisted_2$
|
|
15211
|
+
vue.createElementVNode("h3", _hoisted_2$H, vue.toDisplayString(_ctx.title), 1)
|
|
15214
15212
|
]),
|
|
15215
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
15213
|
+
vue.createVNode(vue.unref(_sfc_main$H), {
|
|
15216
15214
|
onDelete: _ctx.onDelete ? runDelete : void 0,
|
|
15217
15215
|
modelValue: _ctx.modelValue,
|
|
15218
15216
|
"onUpdate:modelValue": handleEmit,
|
|
@@ -15224,67 +15222,8 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
15224
15222
|
};
|
|
15225
15223
|
}
|
|
15226
15224
|
});
|
|
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({
|
|
15225
|
+
const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-1799b7d0"]]);
|
|
15226
|
+
const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
15288
15227
|
__name: "FormSchema",
|
|
15289
15228
|
props: {
|
|
15290
15229
|
modelValue: {},
|
|
@@ -15357,14 +15296,14 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
|
15357
15296
|
};
|
|
15358
15297
|
}
|
|
15359
15298
|
});
|
|
15360
|
-
const _hoisted_1$
|
|
15361
|
-
const _hoisted_2$
|
|
15362
|
-
const _hoisted_3$
|
|
15363
|
-
const _hoisted_4$
|
|
15364
|
-
const _hoisted_5$
|
|
15365
|
-
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"];
|
|
15366
15305
|
const _hoisted_7$a = { key: 1 };
|
|
15367
|
-
const _sfc_main$
|
|
15306
|
+
const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
15368
15307
|
__name: "TableSchema",
|
|
15369
15308
|
props: {
|
|
15370
15309
|
data: {},
|
|
@@ -15380,14 +15319,10 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
|
15380
15319
|
emit2("select", data2);
|
|
15381
15320
|
};
|
|
15382
15321
|
const bindAttrs = (attrs, field, row) => {
|
|
15383
|
-
const arr = Object.entries(
|
|
15384
|
-
|
|
15385
|
-
|
|
15386
|
-
|
|
15387
|
-
key,
|
|
15388
|
-
typeof value === "function" ? value(field, row) : value
|
|
15389
|
-
]
|
|
15390
|
-
);
|
|
15322
|
+
const arr = Object.entries(attrs || {}).map(([key, value]) => [
|
|
15323
|
+
key,
|
|
15324
|
+
typeof value === "function" ? value(field, row) : value
|
|
15325
|
+
]);
|
|
15391
15326
|
const resolvedAttrs = Object.fromEntries(arr);
|
|
15392
15327
|
return resolvedAttrs;
|
|
15393
15328
|
};
|
|
@@ -15414,27 +15349,27 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
|
15414
15349
|
}
|
|
15415
15350
|
);
|
|
15416
15351
|
return (_ctx, _cache) => {
|
|
15417
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
15418
|
-
vue.createElementVNode("table", _hoisted_2$
|
|
15419
|
-
vue.createElementVNode("thead", _hoisted_3$
|
|
15352
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$O, [
|
|
15353
|
+
vue.createElementVNode("table", _hoisted_2$G, [
|
|
15354
|
+
vue.createElementVNode("thead", _hoisted_3$C, [
|
|
15420
15355
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(columns.value, (field) => {
|
|
15421
15356
|
return vue.openBlock(), vue.createElementBlock("th", {
|
|
15422
15357
|
class: "col",
|
|
15423
15358
|
key: field.id,
|
|
15424
15359
|
onClick: ($event) => sort2(field.id)
|
|
15425
15360
|
}, [
|
|
15426
|
-
vue.createElementVNode("div", _hoisted_5$
|
|
15361
|
+
vue.createElementVNode("div", _hoisted_5$j, [
|
|
15427
15362
|
vue.createTextVNode(vue.toDisplayString((field == null ? void 0 : field.label) || (field == null ? void 0 : field.id)) + " ", 1),
|
|
15428
15363
|
vue.createElementVNode("div", {
|
|
15429
15364
|
class: vue.normalizeClass(["list-arrows", { sorted: vue.unref(sortField) === field.id }])
|
|
15430
15365
|
}, [
|
|
15431
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
15366
|
+
vue.createVNode(vue.unref(_sfc_main$S), {
|
|
15432
15367
|
class: vue.normalizeClass({ desc: vue.unref(sortDirection) === "DESC" }),
|
|
15433
15368
|
icon: "keyboard_arrow_up"
|
|
15434
15369
|
}, null, 8, ["class"])
|
|
15435
15370
|
], 2)
|
|
15436
15371
|
])
|
|
15437
|
-
], 8, _hoisted_4$
|
|
15372
|
+
], 8, _hoisted_4$n);
|
|
15438
15373
|
}), 128))
|
|
15439
15374
|
]),
|
|
15440
15375
|
vue.createElementVNode("tbody", {
|
|
@@ -15472,7 +15407,7 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
|
15472
15407
|
]))
|
|
15473
15408
|
]);
|
|
15474
15409
|
}), 128))
|
|
15475
|
-
], 8, _hoisted_6$
|
|
15410
|
+
], 8, _hoisted_6$f);
|
|
15476
15411
|
}), 128))
|
|
15477
15412
|
], 2)
|
|
15478
15413
|
])
|
|
@@ -15480,16 +15415,16 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
|
15480
15415
|
};
|
|
15481
15416
|
}
|
|
15482
15417
|
});
|
|
15483
|
-
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15484
|
-
const _sfc_main$
|
|
15485
|
-
const _hoisted_1$
|
|
15418
|
+
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-fb5b163a"]]);
|
|
15419
|
+
const _sfc_main$F = {};
|
|
15420
|
+
const _hoisted_1$N = { class: "flex space-between" };
|
|
15486
15421
|
function _sfc_render$1(_ctx, _cache) {
|
|
15487
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
15422
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$N, [
|
|
15488
15423
|
vue.renderSlot(_ctx.$slots, "default")
|
|
15489
15424
|
]);
|
|
15490
15425
|
}
|
|
15491
|
-
const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15492
|
-
const _sfc_main$
|
|
15426
|
+
const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["render", _sfc_render$1]]);
|
|
15427
|
+
const _sfc_main$E = {};
|
|
15493
15428
|
function _sfc_render(_ctx, _cache) {
|
|
15494
15429
|
const _component_router_view = vue.resolveComponent("router-view");
|
|
15495
15430
|
return vue.openBlock(), vue.createBlock(_component_router_view, null, {
|
|
@@ -15511,9 +15446,9 @@ function _sfc_render(_ctx, _cache) {
|
|
|
15511
15446
|
_: 1
|
|
15512
15447
|
});
|
|
15513
15448
|
}
|
|
15514
|
-
const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15515
|
-
const _hoisted_1$
|
|
15516
|
-
const _sfc_main$
|
|
15449
|
+
const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["render", _sfc_render]]);
|
|
15450
|
+
const _hoisted_1$M = { class: "card h-100 thin" };
|
|
15451
|
+
const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
15517
15452
|
__name: "ContactSubmissions",
|
|
15518
15453
|
props: {
|
|
15519
15454
|
person_id: {
|
|
@@ -15543,7 +15478,7 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
|
15543
15478
|
void getData();
|
|
15544
15479
|
});
|
|
15545
15480
|
return (_ctx, _cache) => {
|
|
15546
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
15481
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$M, [
|
|
15547
15482
|
vue.createVNode(vue.unref(TableSchema), {
|
|
15548
15483
|
schema: schema2,
|
|
15549
15484
|
data: vue.unref(data2)
|
|
@@ -15552,15 +15487,15 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
|
15552
15487
|
};
|
|
15553
15488
|
}
|
|
15554
15489
|
});
|
|
15555
|
-
const _hoisted_1$
|
|
15490
|
+
const _hoisted_1$L = {
|
|
15556
15491
|
key: 0,
|
|
15557
15492
|
class: "person-card-edit flex gap-2"
|
|
15558
15493
|
};
|
|
15559
|
-
const _hoisted_2$
|
|
15560
|
-
const _hoisted_3$
|
|
15561
|
-
const _hoisted_4$
|
|
15562
|
-
const _hoisted_5$
|
|
15563
|
-
const _hoisted_6$
|
|
15494
|
+
const _hoisted_2$F = { class: "person-card-icon-wrap" };
|
|
15495
|
+
const _hoisted_3$B = { class: "person-card-icon" };
|
|
15496
|
+
const _hoisted_4$m = { class: "person-card-name txt20" };
|
|
15497
|
+
const _hoisted_5$i = { class: "person-card-details-wrap" };
|
|
15498
|
+
const _hoisted_6$e = {
|
|
15564
15499
|
key: 0,
|
|
15565
15500
|
class: "person-card-details"
|
|
15566
15501
|
};
|
|
@@ -15574,7 +15509,7 @@ const _hoisted_8$5 = {
|
|
|
15574
15509
|
};
|
|
15575
15510
|
const _hoisted_9$3 = { key: 0 };
|
|
15576
15511
|
const _hoisted_10$3 = { key: 1 };
|
|
15577
|
-
const _sfc_main$
|
|
15512
|
+
const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
15578
15513
|
__name: "PersonPreview",
|
|
15579
15514
|
props: {
|
|
15580
15515
|
person: {},
|
|
@@ -15604,7 +15539,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
15604
15539
|
(...args) => _ctx.onClick && _ctx.onClick(...args)),
|
|
15605
15540
|
class: "person-card"
|
|
15606
15541
|
}, [
|
|
15607
|
-
!_ctx.onClick ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
15542
|
+
!_ctx.onClick ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$L, [
|
|
15608
15543
|
!_ctx.$route.path.match("/search") ? (vue.openBlock(), vue.createBlock(vue.unref(Btn), {
|
|
15609
15544
|
key: 0,
|
|
15610
15545
|
round: "",
|
|
@@ -15621,13 +15556,13 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
15621
15556
|
icon: "edit"
|
|
15622
15557
|
})
|
|
15623
15558
|
])) : vue.createCommentVNode("", true),
|
|
15624
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
15625
|
-
vue.createElementVNode("p", _hoisted_3$
|
|
15626
|
-
vue.createElementVNode("p", _hoisted_4$
|
|
15559
|
+
vue.createElementVNode("div", _hoisted_2$F, [
|
|
15560
|
+
vue.createElementVNode("p", _hoisted_3$B, vue.toDisplayString(vue.unref(initials)(_ctx.person.first_name, _ctx.person.last_name)), 1),
|
|
15561
|
+
vue.createElementVNode("p", _hoisted_4$m, vue.toDisplayString(_ctx.person.first_name) + " " + vue.toDisplayString(_ctx.person.last_name), 1)
|
|
15627
15562
|
]),
|
|
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$
|
|
15563
|
+
vue.createElementVNode("div", _hoisted_5$i, [
|
|
15564
|
+
((_a = _ctx.person.phone) == null ? void 0 : _a.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$e, [
|
|
15565
|
+
vue.createVNode(vue.unref(_sfc_main$S), { icon: "phone" }),
|
|
15631
15566
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.person.phone, (phone) => {
|
|
15632
15567
|
return vue.openBlock(), vue.createElementBlock("p", {
|
|
15633
15568
|
key: phone.id
|
|
@@ -15635,7 +15570,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
15635
15570
|
}), 128))
|
|
15636
15571
|
])) : vue.createCommentVNode("", true),
|
|
15637
15572
|
((_b = _ctx.person.email) == null ? void 0 : _b.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$9, [
|
|
15638
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
15573
|
+
vue.createVNode(vue.unref(_sfc_main$S), { icon: "email" }),
|
|
15639
15574
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.person.email, (email) => {
|
|
15640
15575
|
return vue.openBlock(), vue.createElementBlock("p", {
|
|
15641
15576
|
key: email.id
|
|
@@ -15643,7 +15578,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
15643
15578
|
}), 128))
|
|
15644
15579
|
])) : vue.createCommentVNode("", true),
|
|
15645
15580
|
_ctx.person.date_of_birth || _ctx.person.gender ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$5, [
|
|
15646
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
15581
|
+
vue.createVNode(vue.unref(_sfc_main$S), { icon: "badge" }),
|
|
15647
15582
|
_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
15583
|
_ctx.person.gender ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_10$3, vue.toDisplayString(_ctx.person.gender), 1)) : vue.createCommentVNode("", true)
|
|
15649
15584
|
])) : vue.createCommentVNode("", true)
|
|
@@ -15652,7 +15587,227 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
15652
15587
|
};
|
|
15653
15588
|
}
|
|
15654
15589
|
});
|
|
15655
|
-
const
|
|
15590
|
+
const _hoisted_1$K = {
|
|
15591
|
+
key: 0,
|
|
15592
|
+
class: "data"
|
|
15593
|
+
};
|
|
15594
|
+
const _hoisted_2$E = {
|
|
15595
|
+
key: 0,
|
|
15596
|
+
class: "mb-3 mt-0"
|
|
15597
|
+
};
|
|
15598
|
+
const _hoisted_3$A = { class: "key" };
|
|
15599
|
+
const _hoisted_4$l = { key: 1 };
|
|
15600
|
+
const _hoisted_5$h = { class: "key" };
|
|
15601
|
+
const _hoisted_6$d = { class: "vlue" };
|
|
15602
|
+
const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
15603
|
+
__name: "DataPreview",
|
|
15604
|
+
props: {
|
|
15605
|
+
data: {},
|
|
15606
|
+
schema: {},
|
|
15607
|
+
title: {},
|
|
15608
|
+
i18nT: { type: Function, default: (str) => str }
|
|
15609
|
+
},
|
|
15610
|
+
setup(__props) {
|
|
15611
|
+
const keysToIgnore = ["id", "person_id", "person", "created_at", "updated_at"];
|
|
15612
|
+
return (_ctx, _cache) => {
|
|
15613
|
+
var _a;
|
|
15614
|
+
return _ctx.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$K, [
|
|
15615
|
+
_ctx.title ? (vue.openBlock(), vue.createElementBlock("h3", _hoisted_2$E, vue.toDisplayString(_ctx.title), 1)) : vue.createCommentVNode("", true),
|
|
15616
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.schema || [], (field) => {
|
|
15617
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
15618
|
+
key: field.id,
|
|
15619
|
+
class: "data-row"
|
|
15620
|
+
}, [
|
|
15621
|
+
vue.createElementVNode("div", _hoisted_3$A, vue.toDisplayString((field == null ? void 0 : field.label) || vue.unref(keyToLabel)(field.id)), 1),
|
|
15622
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(field.$el || "div"), { class: "vlue" }, {
|
|
15623
|
+
default: vue.withCtx(() => [
|
|
15624
|
+
vue.createTextVNode(vue.toDisplayString(_ctx.data[field.id] || field.defaultValue), 1)
|
|
15625
|
+
]),
|
|
15626
|
+
_: 2
|
|
15627
|
+
}, 1024))
|
|
15628
|
+
]);
|
|
15629
|
+
}), 128)),
|
|
15630
|
+
!((_a = _ctx.schema) == null ? void 0 : _a.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$l, [
|
|
15631
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(Object.entries(_ctx.data).filter(
|
|
15632
|
+
([key]) => !keysToIgnore.includes(key)
|
|
15633
|
+
), ([key, value]) => {
|
|
15634
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
15635
|
+
class: "data-row",
|
|
15636
|
+
key
|
|
15637
|
+
}, [
|
|
15638
|
+
vue.createElementVNode("div", _hoisted_5$h, vue.toDisplayString(_ctx.i18nT(vue.unref(keyToLabel)(key))), 1),
|
|
15639
|
+
vue.createElementVNode("div", _hoisted_6$d, vue.toDisplayString(value), 1)
|
|
15640
|
+
]);
|
|
15641
|
+
}), 128))
|
|
15642
|
+
])) : vue.createCommentVNode("", true),
|
|
15643
|
+
vue.renderSlot(_ctx.$slots, "footer", {}, void 0, true)
|
|
15644
|
+
])) : vue.createCommentVNode("", true);
|
|
15645
|
+
};
|
|
15646
|
+
}
|
|
15647
|
+
});
|
|
15648
|
+
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-0350cc0c"]]);
|
|
15649
|
+
const _hoisted_1$J = { class: "files-wrapper flex" };
|
|
15650
|
+
const _hoisted_2$D = { class: "img-label" };
|
|
15651
|
+
const _hoisted_3$z = { class: "uploading-wrap" };
|
|
15652
|
+
const _hoisted_4$k = { class: "load-file-bar" };
|
|
15653
|
+
const _hoisted_5$g = ["multiple"];
|
|
15654
|
+
const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
15655
|
+
__name: "FileUploader",
|
|
15656
|
+
props: {
|
|
15657
|
+
id: { default: "" },
|
|
15658
|
+
private: { default: 0 },
|
|
15659
|
+
singleFile: { type: Boolean },
|
|
15660
|
+
beforeUpload: { type: Function, default: async () => {
|
|
15661
|
+
} },
|
|
15662
|
+
dragDropLabel: { default: "Drag and drop your files here" },
|
|
15663
|
+
browseLabel: { default: "Browse" }
|
|
15664
|
+
},
|
|
15665
|
+
emits: ["complete", "done"],
|
|
15666
|
+
setup(__props, { emit: __emit }) {
|
|
15667
|
+
const bagel = useBagel();
|
|
15668
|
+
const draggingOver = vue.ref(false);
|
|
15669
|
+
const dropCircle = vue.ref();
|
|
15670
|
+
const dropZoneEl = vue.ref();
|
|
15671
|
+
const fileInputEl = vue.ref();
|
|
15672
|
+
const circleTop = vue.ref("0");
|
|
15673
|
+
const circleLeft = vue.ref("0");
|
|
15674
|
+
const files = vue.ref([]);
|
|
15675
|
+
const props2 = __props;
|
|
15676
|
+
function openFileDialog() {
|
|
15677
|
+
var _a;
|
|
15678
|
+
(_a = fileInputEl.value) == null ? void 0 : _a.click();
|
|
15679
|
+
}
|
|
15680
|
+
function onDragOver(e) {
|
|
15681
|
+
var _a, _b;
|
|
15682
|
+
if (!draggingOver.value)
|
|
15683
|
+
return;
|
|
15684
|
+
const parentEl2 = ((_b = (_a = dropZoneEl.value) == null ? void 0 : _a.getBoundingClientRect) == null ? void 0 : _b.call(_a)) || {
|
|
15685
|
+
left: 0,
|
|
15686
|
+
top: 0,
|
|
15687
|
+
width: 0,
|
|
15688
|
+
height: 0
|
|
15689
|
+
};
|
|
15690
|
+
const x2 = e.clientX - parentEl2.left;
|
|
15691
|
+
const y2 = e.clientY - parentEl2.top;
|
|
15692
|
+
circleLeft.value = `${x2}px`;
|
|
15693
|
+
circleTop.value = `${y2}px`;
|
|
15694
|
+
if (x2 < 0 || x2 > parentEl2.width || y2 < 0 || y2 > parentEl2.height) {
|
|
15695
|
+
draggingOver.value = false;
|
|
15696
|
+
}
|
|
15697
|
+
}
|
|
15698
|
+
function handleFileInput(e) {
|
|
15699
|
+
const filesToAdd = e.target.files;
|
|
15700
|
+
addFiles(filesToAdd);
|
|
15701
|
+
}
|
|
15702
|
+
function preventDefaults(e) {
|
|
15703
|
+
e.preventDefault();
|
|
15704
|
+
}
|
|
15705
|
+
function hideCircle(e) {
|
|
15706
|
+
console.log({ e });
|
|
15707
|
+
draggingOver.value = false;
|
|
15708
|
+
}
|
|
15709
|
+
const events = ["dragenter", "dragover", "dragleave", "drop"];
|
|
15710
|
+
vue.onMounted(() => {
|
|
15711
|
+
events.forEach((event) => {
|
|
15712
|
+
document.addEventListener(event, preventDefaults);
|
|
15713
|
+
});
|
|
15714
|
+
document.addEventListener("dragover", onDragOver);
|
|
15715
|
+
});
|
|
15716
|
+
vue.onUnmounted(() => {
|
|
15717
|
+
document.removeEventListener("dragover", onDragOver);
|
|
15718
|
+
events.forEach((event) => {
|
|
15719
|
+
document.removeEventListener(event, preventDefaults);
|
|
15720
|
+
});
|
|
15721
|
+
});
|
|
15722
|
+
function addFiles(addedFiles) {
|
|
15723
|
+
if (props2.singleFile && files.value.length > 1)
|
|
15724
|
+
return;
|
|
15725
|
+
for (let i2 = 0; i2 < addedFiles.length; i2++) {
|
|
15726
|
+
files.value.push({
|
|
15727
|
+
file: addedFiles[i2],
|
|
15728
|
+
uid: Math.random().toString(36).substring(2, 9),
|
|
15729
|
+
progress: "",
|
|
15730
|
+
uploading: false
|
|
15731
|
+
});
|
|
15732
|
+
}
|
|
15733
|
+
uploadFiles();
|
|
15734
|
+
}
|
|
15735
|
+
const emit2 = __emit;
|
|
15736
|
+
function uploadFiles() {
|
|
15737
|
+
files.value.forEach((item) => {
|
|
15738
|
+
item.uploading = true;
|
|
15739
|
+
});
|
|
15740
|
+
}
|
|
15741
|
+
async function onDrop(e) {
|
|
15742
|
+
var _a;
|
|
15743
|
+
hideCircle(e);
|
|
15744
|
+
preventDefaults(e);
|
|
15745
|
+
const filesToAdd = (_a = e.dataTransfer) == null ? void 0 : _a.files;
|
|
15746
|
+
if (filesToAdd) {
|
|
15747
|
+
addFiles(filesToAdd);
|
|
15748
|
+
const file = await bagel.uploadFile(filesToAdd[0]);
|
|
15749
|
+
emit2("complete", file);
|
|
15750
|
+
}
|
|
15751
|
+
}
|
|
15752
|
+
return (_ctx, _cache) => {
|
|
15753
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$J, [
|
|
15754
|
+
vue.createElementVNode("div", {
|
|
15755
|
+
ref_key: "dropZoneEl",
|
|
15756
|
+
ref: dropZoneEl,
|
|
15757
|
+
class: "drop-zone flex-grow",
|
|
15758
|
+
onClick: openFileDialog,
|
|
15759
|
+
onDragenter: _cache[0] || (_cache[0] = ($event) => draggingOver.value = true),
|
|
15760
|
+
onDrop: vue.withModifiers(onDrop, ["prevent", "stop"])
|
|
15761
|
+
}, [
|
|
15762
|
+
vue.createVNode(vue.Transition, { name: "pop" }, {
|
|
15763
|
+
default: vue.withCtx(() => [
|
|
15764
|
+
draggingOver.value ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
15765
|
+
key: 0,
|
|
15766
|
+
ref_key: "dropCircle",
|
|
15767
|
+
ref: dropCircle,
|
|
15768
|
+
class: "drop-circle"
|
|
15769
|
+
}, null, 512)) : vue.createCommentVNode("", true)
|
|
15770
|
+
]),
|
|
15771
|
+
_: 1
|
|
15772
|
+
}),
|
|
15773
|
+
vue.createElementVNode("div", _hoisted_2$D, [
|
|
15774
|
+
vue.createElementVNode("p", null, [
|
|
15775
|
+
vue.createTextVNode(vue.toDisplayString(_ctx.dragDropLabel) + " ", 1),
|
|
15776
|
+
vue.createElementVNode("span", null, vue.toDisplayString(_ctx.browseLabel), 1)
|
|
15777
|
+
])
|
|
15778
|
+
]),
|
|
15779
|
+
vue.createElementVNode("div", _hoisted_3$z, [
|
|
15780
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(files.value, (item, index2) => {
|
|
15781
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
15782
|
+
class: vue.normalizeClass({ uploading: item.uploading }),
|
|
15783
|
+
key: index2
|
|
15784
|
+
}, [
|
|
15785
|
+
vue.createElementVNode("div", _hoisted_4$k, [
|
|
15786
|
+
vue.createElementVNode("p", null, vue.toDisplayString(item.file.name), 1),
|
|
15787
|
+
vue.createElementVNode("div", {
|
|
15788
|
+
class: "pie",
|
|
15789
|
+
style: vue.normalizeStyle([`--p:${item.progress}`, { "--b": "2px" }])
|
|
15790
|
+
}, [
|
|
15791
|
+
vue.createElementVNode("span", null, vue.toDisplayString(`${item.progress}`), 1)
|
|
15792
|
+
], 4)
|
|
15793
|
+
])
|
|
15794
|
+
], 2);
|
|
15795
|
+
}), 128))
|
|
15796
|
+
])
|
|
15797
|
+
], 544),
|
|
15798
|
+
vue.createElementVNode("input", {
|
|
15799
|
+
class: "file-input",
|
|
15800
|
+
type: "file",
|
|
15801
|
+
onChange: handleFileInput,
|
|
15802
|
+
ref_key: "fileInputEl",
|
|
15803
|
+
ref: fileInputEl,
|
|
15804
|
+
multiple: !_ctx.singleFile
|
|
15805
|
+
}, null, 40, _hoisted_5$g)
|
|
15806
|
+
]);
|
|
15807
|
+
};
|
|
15808
|
+
}
|
|
15809
|
+
});
|
|
15810
|
+
const _withScopeId$2 = (n) => (vue.pushScopeId("data-v-fe5af582"), n = n(), vue.popScopeId(), n);
|
|
15656
15811
|
const _hoisted_1$I = { class: "bar-chart" };
|
|
15657
15812
|
const _hoisted_2$C = {
|
|
15658
15813
|
key: 0,
|
|
@@ -15677,7 +15832,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
|
15677
15832
|
},
|
|
15678
15833
|
setup(__props) {
|
|
15679
15834
|
vue.useCssVars((_ctx) => ({
|
|
15680
|
-
"
|
|
15835
|
+
"b74eb91e": floodPercent.value
|
|
15681
15836
|
}));
|
|
15682
15837
|
const props2 = __props;
|
|
15683
15838
|
const loaded = vue.ref(false);
|
|
@@ -15700,12 +15855,14 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
|
15700
15855
|
// }
|
|
15701
15856
|
// return allData;
|
|
15702
15857
|
);
|
|
15703
|
-
const maxValue = vue.computed(
|
|
15704
|
-
Math.
|
|
15705
|
-
|
|
15706
|
-
|
|
15858
|
+
const maxValue = vue.computed(
|
|
15859
|
+
() => Math.ceil(
|
|
15860
|
+
Math.max(
|
|
15861
|
+
...dataArray.value.map((d) => d.value),
|
|
15862
|
+
...dataArray.value.map((d) => (d == null ? void 0 : d.compareValue) || 0)
|
|
15863
|
+
)
|
|
15707
15864
|
)
|
|
15708
|
-
)
|
|
15865
|
+
);
|
|
15709
15866
|
const marks2 = vue.computed(() => {
|
|
15710
15867
|
const marksArray = [];
|
|
15711
15868
|
for (let i2 = 0; i2 <= 5; i2 += 1) {
|
|
@@ -15768,7 +15925,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
|
15768
15925
|
};
|
|
15769
15926
|
}
|
|
15770
15927
|
});
|
|
15771
|
-
const BarChart = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-
|
|
15928
|
+
const BarChart = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-fe5af582"]]);
|
|
15772
15929
|
const explicitKeys = [
|
|
15773
15930
|
"__key",
|
|
15774
15931
|
"__init",
|
|
@@ -17057,13 +17214,13 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
|
17057
17214
|
[vue.vModelCheckbox, vue.unref(val)]
|
|
17058
17215
|
]),
|
|
17059
17216
|
vue.createElementVNode("span", null, [
|
|
17060
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
17217
|
+
vue.createVNode(vue.unref(_sfc_main$S), { icon: "check" })
|
|
17061
17218
|
])
|
|
17062
17219
|
]);
|
|
17063
17220
|
};
|
|
17064
17221
|
}
|
|
17065
17222
|
});
|
|
17066
|
-
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-
|
|
17223
|
+
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-5d0f75db"]]);
|
|
17067
17224
|
const _hoisted_1$G = { class: "bagel-input" };
|
|
17068
17225
|
const _hoisted_2$B = { class: "mt-1" };
|
|
17069
17226
|
const _hoisted_3$x = {
|
|
@@ -17082,10 +17239,12 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
17082
17239
|
setup(__props) {
|
|
17083
17240
|
const bagel = useBagel();
|
|
17084
17241
|
const props2 = __props;
|
|
17085
|
-
const formPlaceholders = vue.computed(
|
|
17086
|
-
|
|
17087
|
-
|
|
17088
|
-
|
|
17242
|
+
const formPlaceholders = vue.computed(
|
|
17243
|
+
() => {
|
|
17244
|
+
var _a, _b;
|
|
17245
|
+
return (_b = (_a = props2.context) == null ? void 0 : _a.attrs) == null ? void 0 : _b.formPlaceholders;
|
|
17246
|
+
}
|
|
17247
|
+
);
|
|
17089
17248
|
let val = vue.ref([]);
|
|
17090
17249
|
let deleteCandidate = vue.ref(-1);
|
|
17091
17250
|
const del2 = (i2) => {
|
|
@@ -17218,7 +17377,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
17218
17377
|
};
|
|
17219
17378
|
}
|
|
17220
17379
|
});
|
|
17221
|
-
const ContactArrayFormKit = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-
|
|
17380
|
+
const ContactArrayFormKit = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-312e5767"]]);
|
|
17222
17381
|
const _hoisted_1$F = { class: "bagel-input" };
|
|
17223
17382
|
const _hoisted_2$A = { class: "mt-1" };
|
|
17224
17383
|
const _hoisted_3$w = {
|
|
@@ -17242,10 +17401,12 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
17242
17401
|
setup(__props) {
|
|
17243
17402
|
const bagel = useBagel();
|
|
17244
17403
|
const props2 = __props;
|
|
17245
|
-
const formPlaceholders = vue.computed(
|
|
17246
|
-
|
|
17247
|
-
|
|
17248
|
-
|
|
17404
|
+
const formPlaceholders = vue.computed(
|
|
17405
|
+
() => {
|
|
17406
|
+
var _a, _b;
|
|
17407
|
+
return (_b = (_a = props2.context) == null ? void 0 : _a.attrs) == null ? void 0 : _b.formPlaceholders;
|
|
17408
|
+
}
|
|
17409
|
+
);
|
|
17249
17410
|
let val = vue.ref([]);
|
|
17250
17411
|
const addNew = () => {
|
|
17251
17412
|
if (!val.value)
|
|
@@ -17401,7 +17562,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
17401
17562
|
};
|
|
17402
17563
|
}
|
|
17403
17564
|
});
|
|
17404
|
-
const AddressArray = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-
|
|
17565
|
+
const AddressArray = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-1e3274f9"]]);
|
|
17405
17566
|
const _hoisted_1$E = { class: "bagel-input" };
|
|
17406
17567
|
const _hoisted_2$z = { class: "mt-1" };
|
|
17407
17568
|
const _hoisted_3$v = {
|
|
@@ -17430,10 +17591,12 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
|
17430
17591
|
setup(__props) {
|
|
17431
17592
|
const bagel = useBagel();
|
|
17432
17593
|
const props2 = __props;
|
|
17433
|
-
const formPlaceholders = vue.computed(
|
|
17434
|
-
|
|
17435
|
-
|
|
17436
|
-
|
|
17594
|
+
const formPlaceholders = vue.computed(
|
|
17595
|
+
() => {
|
|
17596
|
+
var _a, _b;
|
|
17597
|
+
return (_b = (_a = props2.context) == null ? void 0 : _a.attrs) == null ? void 0 : _b.formPlaceholders;
|
|
17598
|
+
}
|
|
17599
|
+
);
|
|
17437
17600
|
let val = vue.ref([]);
|
|
17438
17601
|
let deleteCandidate = vue.ref(-1);
|
|
17439
17602
|
const del2 = (i2) => {
|
|
@@ -17617,7 +17780,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
|
17617
17780
|
};
|
|
17618
17781
|
}
|
|
17619
17782
|
});
|
|
17620
|
-
const BankDetailsArray = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-
|
|
17783
|
+
const BankDetailsArray = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-cc20bcbb"]]);
|
|
17621
17784
|
const _hoisted_1$D = { class: "misc-wrap" };
|
|
17622
17785
|
const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
17623
17786
|
__name: "MiscFields",
|
|
@@ -17664,8 +17827,8 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
17664
17827
|
};
|
|
17665
17828
|
}
|
|
17666
17829
|
});
|
|
17667
|
-
const MiscFieldsBtns = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-
|
|
17668
|
-
const _withScopeId$1 = (n) => (vue.pushScopeId("data-v-
|
|
17830
|
+
const MiscFieldsBtns = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-91b04350"]]);
|
|
17831
|
+
const _withScopeId$1 = (n) => (vue.pushScopeId("data-v-d0543d4b"), n = n(), vue.popScopeId(), n);
|
|
17669
17832
|
const _hoisted_1$C = ["title"];
|
|
17670
17833
|
const _hoisted_2$y = { class: "switch" };
|
|
17671
17834
|
const _hoisted_3$u = ["id"];
|
|
@@ -17712,7 +17875,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
17712
17875
|
};
|
|
17713
17876
|
}
|
|
17714
17877
|
});
|
|
17715
|
-
const Toggle = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-
|
|
17878
|
+
const Toggle = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-d0543d4b"]]);
|
|
17716
17879
|
const _hoisted_1$B = { class: "files-wrapper flex" };
|
|
17717
17880
|
const _hoisted_2$x = {
|
|
17718
17881
|
key: 0,
|
|
@@ -17899,7 +18062,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
17899
18062
|
style: vue.normalizeStyle([`--p:${item.progress}`, { "--b": "2px" }])
|
|
17900
18063
|
}, [
|
|
17901
18064
|
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$
|
|
18065
|
+
vue.createVNode(vue.unref(_sfc_main$S), {
|
|
17903
18066
|
class: "success",
|
|
17904
18067
|
icon: "check"
|
|
17905
18068
|
})
|
|
@@ -18006,7 +18169,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
18006
18169
|
]),
|
|
18007
18170
|
vue.createElementVNode("div", _hoisted_5$a, [
|
|
18008
18171
|
((_a = person.value.phone) == null ? void 0 : _a.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$7, [
|
|
18009
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
18172
|
+
vue.createVNode(vue.unref(_sfc_main$S), { icon: "phone" }),
|
|
18010
18173
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(person.value.phone, (phone) => {
|
|
18011
18174
|
return vue.openBlock(), vue.createElementBlock("p", {
|
|
18012
18175
|
key: phone.id
|
|
@@ -18014,7 +18177,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
18014
18177
|
}), 128))
|
|
18015
18178
|
])) : vue.createCommentVNode("", true),
|
|
18016
18179
|
((_b = person.value.email) == null ? void 0 : _b.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$3, [
|
|
18017
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
18180
|
+
vue.createVNode(vue.unref(_sfc_main$S), { icon: "email" }),
|
|
18018
18181
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(person.value.email, (email) => {
|
|
18019
18182
|
return vue.openBlock(), vue.createElementBlock("p", {
|
|
18020
18183
|
key: email.id
|
|
@@ -18022,7 +18185,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
18022
18185
|
}), 128))
|
|
18023
18186
|
])) : vue.createCommentVNode("", true),
|
|
18024
18187
|
person.value.date_of_birth || person.value.gender ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8, [
|
|
18025
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
18188
|
+
vue.createVNode(vue.unref(_sfc_main$S), { icon: "badge" }),
|
|
18026
18189
|
person.value.date_of_birth ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_9, vue.toDisplayString(person.value.date_of_birth), 1)) : vue.createCommentVNode("", true),
|
|
18027
18190
|
person.value.gender ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_10, vue.toDisplayString(person.value.gender), 1)) : vue.createCommentVNode("", true)
|
|
18028
18191
|
])) : vue.createCommentVNode("", true)
|
|
@@ -18164,7 +18327,7 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
|
18164
18327
|
}, {
|
|
18165
18328
|
default: vue.withCtx(() => [
|
|
18166
18329
|
vue.createTextVNode(vue.toDisplayString(content.value) + " ", 1),
|
|
18167
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
18330
|
+
vue.createVNode(vue.unref(_sfc_main$S), { icon: "arrow_forward" })
|
|
18168
18331
|
]),
|
|
18169
18332
|
_: 1
|
|
18170
18333
|
})) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$z, vue.toDisplayString(content.value), 1))
|
|
@@ -18227,7 +18390,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
|
18227
18390
|
vue.createElementVNode("label", {
|
|
18228
18391
|
for: vue.unref(formatString)(_ctx.name, "pascal")
|
|
18229
18392
|
}, [
|
|
18230
|
-
vue.createVNode(_sfc_main$
|
|
18393
|
+
vue.createVNode(_sfc_main$U, {
|
|
18231
18394
|
input: vue.unref(formatString)(_ctx.name, "titleCase")
|
|
18232
18395
|
}, null, 8, ["input"])
|
|
18233
18396
|
], 8, _hoisted_2$v),
|
|
@@ -18268,13 +18431,13 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
|
18268
18431
|
onInput: handleInput
|
|
18269
18432
|
}, null, 40, _hoisted_6$6)) : vue.createCommentVNode("", true),
|
|
18270
18433
|
vue.createElementVNode("div", null, [
|
|
18271
|
-
vue.createVNode(_sfc_main$
|
|
18434
|
+
vue.createVNode(_sfc_main$U, { input: _ctx.errorMessage }, null, 8, ["input"])
|
|
18272
18435
|
])
|
|
18273
18436
|
]);
|
|
18274
18437
|
};
|
|
18275
18438
|
}
|
|
18276
18439
|
});
|
|
18277
|
-
const _withScopeId = (n) => (vue.pushScopeId("data-v-
|
|
18440
|
+
const _withScopeId = (n) => (vue.pushScopeId("data-v-0dacba34"), n = n(), vue.popScopeId(), n);
|
|
18278
18441
|
const _hoisted_1$x = ["title"];
|
|
18279
18442
|
const _hoisted_2$u = ["for"];
|
|
18280
18443
|
const _hoisted_3$q = { class: "switch" };
|
|
@@ -18329,7 +18492,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
18329
18492
|
};
|
|
18330
18493
|
}
|
|
18331
18494
|
});
|
|
18332
|
-
const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-
|
|
18495
|
+
const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-0dacba34"]]);
|
|
18333
18496
|
const _hoisted_1$w = ["title"];
|
|
18334
18497
|
const _hoisted_2$t = { key: 0 };
|
|
18335
18498
|
const _hoisted_3$p = { class: "flex gap-3" };
|
|
@@ -18949,7 +19112,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
|
18949
19112
|
};
|
|
18950
19113
|
}
|
|
18951
19114
|
});
|
|
18952
|
-
const PasswordInput = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-
|
|
19115
|
+
const PasswordInput = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-525f5e2e"]]);
|
|
18953
19116
|
const _hoisted_1$n = ["title"];
|
|
18954
19117
|
const _hoisted_2$k = ["for"];
|
|
18955
19118
|
const _hoisted_3$g = ["id", "type", "placeholder", "required", "pattern"];
|
|
@@ -18997,7 +19160,7 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
18997
19160
|
[vue.vModelDynamic, inputVal.value]
|
|
18998
19161
|
])
|
|
18999
19162
|
], 8, _hoisted_2$k),
|
|
19000
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
19163
|
+
vue.createVNode(vue.unref(_sfc_main$S), {
|
|
19001
19164
|
onClick: showPassword,
|
|
19002
19165
|
icon: vue.unref(seePassword) ? "visibility" : "visibility_off"
|
|
19003
19166
|
}, null, 8, ["icon"])
|
|
@@ -19162,7 +19325,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
|
19162
19325
|
for: "label",
|
|
19163
19326
|
class: vue.normalizeClass({ active: showList.value })
|
|
19164
19327
|
}, [
|
|
19165
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
19328
|
+
vue.createVNode(vue.unref(_sfc_main$U), { input: _ctx.label }, null, 8, ["input"])
|
|
19166
19329
|
], 2)) : vue.createCommentVNode("", true),
|
|
19167
19330
|
vue.createElementVNode("div", {
|
|
19168
19331
|
class: vue.normalizeClass(["custom-select", { "open-select": showList.value && _ctx.editMode }]),
|
|
@@ -19174,7 +19337,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
|
19174
19337
|
class: vue.normalizeClass(["input", { active: showList.value }]),
|
|
19175
19338
|
name: "select-input"
|
|
19176
19339
|
}, [
|
|
19177
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
19340
|
+
vue.createVNode(vue.unref(_sfc_main$U), { input: displayValue.value }, null, 8, ["input"])
|
|
19178
19341
|
], 2),
|
|
19179
19342
|
(vue.openBlock(), vue.createBlock(vue.Teleport, { to: "#app" }, [
|
|
19180
19343
|
vue.createElementVNode("div", {
|
|
@@ -19187,7 +19350,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
|
19187
19350
|
key: option2.value,
|
|
19188
19351
|
onClick: ($event) => handleSelect(option2)
|
|
19189
19352
|
}, [
|
|
19190
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
19353
|
+
vue.createVNode(vue.unref(_sfc_main$U), {
|
|
19191
19354
|
input: option2.label
|
|
19192
19355
|
}, null, 8, ["input"])
|
|
19193
19356
|
], 8, _hoisted_2$i);
|
|
@@ -22051,7 +22214,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
22051
22214
|
title: _ctx.description
|
|
22052
22215
|
}, [
|
|
22053
22216
|
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$d, [
|
|
22054
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
22217
|
+
vue.createVNode(vue.unref(_sfc_main$U), { input: _ctx.label }, null, 8, ["input"])
|
|
22055
22218
|
])) : vue.createCommentVNode("", true),
|
|
22056
22219
|
_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
22220
|
vue.createElementVNode("textarea", vue.mergeProps({
|
|
@@ -28486,7 +28649,7 @@ const _hoisted_1$1 = /* @__PURE__ */ vue.createElementVNode("stop", {
|
|
|
28486
28649
|
"stop-color": "white",
|
|
28487
28650
|
"stop-opacity": "0.4"
|
|
28488
28651
|
}, null, -1);
|
|
28489
|
-
const BRAND_COLOR = "var(--bgl-
|
|
28652
|
+
const BRAND_COLOR = "var(--bgl-primary)";
|
|
28490
28653
|
const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
28491
28654
|
__name: "Lineart",
|
|
28492
28655
|
props: {
|
|
@@ -28495,7 +28658,9 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
|
28495
28658
|
},
|
|
28496
28659
|
setup(__props) {
|
|
28497
28660
|
const props2 = __props;
|
|
28498
|
-
const data2 = vue.computed(
|
|
28661
|
+
const data2 = vue.computed(
|
|
28662
|
+
() => props2.locale === "he" ? [...props2.data].reverse() : props2.data
|
|
28663
|
+
);
|
|
28499
28664
|
const meanValue = vue.computed(() => {
|
|
28500
28665
|
const sum = props2.data.reduce((acc, curr) => acc + +curr.total_value, 0);
|
|
28501
28666
|
return sum / props2.data.length;
|
|
@@ -28519,8 +28684,15 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
|
28519
28684
|
});
|
|
28520
28685
|
const tooltipConfiguration = {
|
|
28521
28686
|
date: { label: "תאריך" },
|
|
28522
|
-
total_value: {
|
|
28523
|
-
|
|
28687
|
+
total_value: {
|
|
28688
|
+
color: BRAND_COLOR,
|
|
28689
|
+
label: "סכום",
|
|
28690
|
+
format: (v) => `₪${v.toLocaleString()}`
|
|
28691
|
+
},
|
|
28692
|
+
total_count: {
|
|
28693
|
+
label: "מספר התרומות",
|
|
28694
|
+
format: (v) => `${v.toLocaleString()}`
|
|
28695
|
+
}
|
|
28524
28696
|
};
|
|
28525
28697
|
let chartSize = vue.ref(null);
|
|
28526
28698
|
const chartContainer = vue.ref();
|
|
@@ -28726,7 +28898,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
28726
28898
|
return (_ctx, _cache) => {
|
|
28727
28899
|
var _a, _b, _c, _d, _e, _f;
|
|
28728
28900
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
28729
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
28901
|
+
vue.createVNode(vue.unref(_sfc_main$J), null, {
|
|
28730
28902
|
default: vue.withCtx(() => [
|
|
28731
28903
|
vue.createTextVNode("Whatsapp Template")
|
|
28732
28904
|
]),
|
|
@@ -28735,7 +28907,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
28735
28907
|
vue.createElementVNode("div", _hoisted_2, [
|
|
28736
28908
|
vue.createElementVNode("div", _hoisted_3, [
|
|
28737
28909
|
vue.createElementVNode("div", _hoisted_4, [
|
|
28738
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
28910
|
+
vue.createVNode(vue.unref(_sfc_main$H), {
|
|
28739
28911
|
schema: _ctx.whatsappTemplateSchema(),
|
|
28740
28912
|
modelValue: vue.unref(localWhatsappData),
|
|
28741
28913
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(localWhatsappData) ? localWhatsappData.value = $event : localWhatsappData = $event),
|
|
@@ -28769,41 +28941,42 @@ exports.Checkbox = Checkbox;
|
|
|
28769
28941
|
exports.ColorPicker = _sfc_main$4;
|
|
28770
28942
|
exports.Comments = Comments;
|
|
28771
28943
|
exports.ContactArrayInput = ContactArrayInput;
|
|
28772
|
-
exports.ContactSubmissions = _sfc_main$
|
|
28944
|
+
exports.ContactSubmissions = _sfc_main$D;
|
|
28773
28945
|
exports.CurrencyInput = CurrencyInput;
|
|
28774
28946
|
exports.DataPreview = DataPreview;
|
|
28775
28947
|
exports.DateInput = DateInput;
|
|
28776
28948
|
exports.DatetimeInput = _sfc_main$j;
|
|
28777
|
-
exports.DropDown = _sfc_main$
|
|
28949
|
+
exports.DropDown = _sfc_main$O;
|
|
28778
28950
|
exports.DurationInput = _sfc_main$7;
|
|
28779
28951
|
exports.DynamicLinkField = _sfc_main$3;
|
|
28780
28952
|
exports.EmailInput = EmailInput;
|
|
28781
28953
|
exports.FileUploadInput = FileUploadInput;
|
|
28954
|
+
exports.FileUploader = _sfc_main$A;
|
|
28782
28955
|
exports.FloatInput = _sfc_main$h;
|
|
28783
|
-
exports.FormSchema = _sfc_main$
|
|
28956
|
+
exports.FormSchema = _sfc_main$H;
|
|
28784
28957
|
exports.IntInput = _sfc_main$g;
|
|
28785
28958
|
exports.ItemRef = _sfc_main$p;
|
|
28786
28959
|
exports.JSONInput = JSONInput;
|
|
28787
|
-
exports.LangText = _sfc_main$
|
|
28960
|
+
exports.LangText = _sfc_main$U;
|
|
28788
28961
|
exports.Lineart = _sfc_main$1;
|
|
28789
28962
|
exports.LinkField = LinkField;
|
|
28790
|
-
exports.ListItem = _sfc_main$
|
|
28791
|
-
exports.ListView = _sfc_main$
|
|
28792
|
-
exports.MaterialIcon = _sfc_main$
|
|
28963
|
+
exports.ListItem = _sfc_main$M;
|
|
28964
|
+
exports.ListView = _sfc_main$N;
|
|
28965
|
+
exports.MaterialIcon = _sfc_main$S;
|
|
28793
28966
|
exports.MiscFieldsInput = MiscFieldsInput;
|
|
28794
|
-
exports.Modal = _sfc_main$
|
|
28967
|
+
exports.Modal = _sfc_main$P;
|
|
28795
28968
|
exports.ModalForm = ModalForm;
|
|
28796
28969
|
exports.ModalPlugin = ModalPlugin;
|
|
28797
28970
|
exports.MsgTemplate = MsgTemplate;
|
|
28798
|
-
exports.NavBar = _sfc_main$
|
|
28799
|
-
exports.PageTitle = _sfc_main$
|
|
28971
|
+
exports.NavBar = _sfc_main$R;
|
|
28972
|
+
exports.PageTitle = _sfc_main$J;
|
|
28800
28973
|
exports.Password = Password;
|
|
28801
28974
|
exports.PasswordInput = PasswordInput;
|
|
28802
|
-
exports.PersonPreview = _sfc_main$
|
|
28975
|
+
exports.PersonPreview = _sfc_main$C;
|
|
28803
28976
|
exports.PersonPreviewInput = PersonPreviewInput;
|
|
28804
28977
|
exports.PlainInputField = _sfc_main$n;
|
|
28805
28978
|
exports.PlainText = PlainText;
|
|
28806
|
-
exports.RTXEditor = _sfc_main$
|
|
28979
|
+
exports.RTXEditor = _sfc_main$T;
|
|
28807
28980
|
exports.ReadOnlyInput = ReadOnlyInput;
|
|
28808
28981
|
exports.RichTextEditor = RichTextEditor;
|
|
28809
28982
|
exports.RouterWrapper = RouterWrapper;
|