@bagelink/vue 0.0.544 → 0.0.552
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/TableSchema.vue.d.ts +7 -16
- package/dist/components/TableSchema.vue.d.ts.map +1 -1
- package/dist/components/form/BglField.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RichText2/Toolbar.vue.d.ts +22 -0
- package/dist/components/form/inputs/RichText2/Toolbar.vue.d.ts.map +1 -0
- package/dist/components/form/inputs/RichText2/formatting.d.ts +5 -0
- package/dist/components/form/inputs/RichText2/formatting.d.ts.map +1 -0
- package/dist/components/form/inputs/RichText2/index.vue.d.ts +24 -0
- package/dist/components/form/inputs/RichText2/index.vue.d.ts.map +1 -0
- package/dist/components/form/inputs/RichText2/richtext-types.d.ts +3 -0
- package/dist/components/form/inputs/RichText2/richtext-types.d.ts.map +1 -0
- package/dist/components/form/inputs/index.d.ts +1 -0
- package/dist/components/form/inputs/index.d.ts.map +1 -1
- package/dist/index.cjs +706 -278
- package/dist/index.mjs +706 -278
- package/dist/style.css +448 -119
- package/dist/types/BagelForm.d.ts +5 -4
- package/dist/types/BagelForm.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/Btn.vue +1 -1
- package/src/components/DataPreview.vue +3 -3
- package/src/components/TableSchema.vue +10 -10
- package/src/components/form/BglField.vue +19 -2
- package/src/components/form/inputs/RichText2/Toolbar.vue +106 -0
- package/src/components/form/inputs/RichText2/formatting.ts +194 -0
- package/src/components/form/inputs/RichText2/index.vue +204 -0
- package/src/components/form/inputs/RichText2/richtext-types.ts +25 -0
- package/src/components/form/inputs/index.ts +1 -0
- package/src/components/formkit/FileUploader.vue +1 -1
- package/src/styles/appearance.css +16 -16
- package/src/styles/layout.css +113 -6
- package/src/styles/mobilLayout.css +124 -12
- package/src/styles/text.css +78 -12
- package/src/styles/theme.css +1 -0
- package/src/types/BagelForm.ts +15 -1
package/dist/index.cjs
CHANGED
|
@@ -5365,15 +5365,15 @@ const ModalPlugin = {
|
|
|
5365
5365
|
hideModal(index2);
|
|
5366
5366
|
} };
|
|
5367
5367
|
if (modal.modalType === "modalForm") return vue.h(ModalForm, props2, modal.componentSlots);
|
|
5368
|
-
if (modal.modalType === "confirm") return vue.h(_sfc_main$
|
|
5369
|
-
return vue.h(_sfc_main$
|
|
5368
|
+
if (modal.modalType === "confirm") return vue.h(_sfc_main$t, props2, {});
|
|
5369
|
+
return vue.h(_sfc_main$L, props2, modal.componentSlots);
|
|
5370
5370
|
});
|
|
5371
5371
|
}
|
|
5372
5372
|
});
|
|
5373
5373
|
app.component("ModalContainer", ModalComponent);
|
|
5374
5374
|
}
|
|
5375
5375
|
};
|
|
5376
|
-
const _sfc_main$
|
|
5376
|
+
const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
|
|
5377
5377
|
__name: "MaterialIcon",
|
|
5378
5378
|
props: {
|
|
5379
5379
|
icon: {},
|
|
@@ -5390,13 +5390,13 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
|
5390
5390
|
};
|
|
5391
5391
|
}
|
|
5392
5392
|
});
|
|
5393
|
-
const _hoisted_1$
|
|
5394
|
-
const _hoisted_2$
|
|
5393
|
+
const _hoisted_1$J = { class: "full-nav" };
|
|
5394
|
+
const _hoisted_2$A = { class: "nav-scroll" };
|
|
5395
5395
|
const _hoisted_3$n = { class: "nav-links-wrapper" };
|
|
5396
5396
|
const _hoisted_4$f = { class: "tooltip" };
|
|
5397
5397
|
const _hoisted_5$c = { class: "bot-buttons-wrapper" };
|
|
5398
5398
|
const _hoisted_6$8 = { class: "tooltip" };
|
|
5399
|
-
const _sfc_main$
|
|
5399
|
+
const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
5400
5400
|
__name: "NavBar",
|
|
5401
5401
|
props: {
|
|
5402
5402
|
footerLinks: { default: () => [] },
|
|
@@ -5420,13 +5420,13 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
|
5420
5420
|
onClick: _cache[0] || (_cache[0] = ($event) => isOpen.value = !isOpen.value),
|
|
5421
5421
|
onKeypress: _cache[1] || (_cache[1] = vue.withKeys(($event) => isOpen.value = !isOpen.value, ["enter"]))
|
|
5422
5422
|
}, [
|
|
5423
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
5423
|
+
vue.createVNode(vue.unref(_sfc_main$O), {
|
|
5424
5424
|
icon: "chevron_right",
|
|
5425
5425
|
class: "top-arrow"
|
|
5426
5426
|
})
|
|
5427
5427
|
], 32),
|
|
5428
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
5429
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
5428
|
+
vue.createElementVNode("div", _hoisted_1$J, [
|
|
5429
|
+
vue.createElementVNode("div", _hoisted_2$A, [
|
|
5430
5430
|
vue.createElementVNode("div", _hoisted_3$n, [
|
|
5431
5431
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.links, (link) => {
|
|
5432
5432
|
return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(link.to ? "router-link" : "div"), {
|
|
@@ -5439,7 +5439,7 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
|
5439
5439
|
}
|
|
5440
5440
|
}, {
|
|
5441
5441
|
default: vue.withCtx(() => [
|
|
5442
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
5442
|
+
vue.createVNode(vue.unref(_sfc_main$O), {
|
|
5443
5443
|
icon: link.icon
|
|
5444
5444
|
}, null, 8, ["icon"]),
|
|
5445
5445
|
vue.createElementVNode("div", _hoisted_4$f, vue.toDisplayString(link.label), 1)
|
|
@@ -5461,7 +5461,7 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
|
5461
5461
|
}
|
|
5462
5462
|
}, {
|
|
5463
5463
|
default: vue.withCtx(() => [
|
|
5464
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
5464
|
+
vue.createVNode(vue.unref(_sfc_main$O), {
|
|
5465
5465
|
icon: link.icon
|
|
5466
5466
|
}, null, 8, ["icon"]),
|
|
5467
5467
|
vue.createElementVNode("div", _hoisted_6$8, vue.toDisplayString(link.label), 1)
|
|
@@ -5483,16 +5483,16 @@ const _export_sfc = (sfc, props2) => {
|
|
|
5483
5483
|
}
|
|
5484
5484
|
return target;
|
|
5485
5485
|
};
|
|
5486
|
-
const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5487
|
-
const _hoisted_1$
|
|
5486
|
+
const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-d1115533"]]);
|
|
5487
|
+
const _hoisted_1$I = {
|
|
5488
5488
|
key: 0,
|
|
5489
5489
|
class: "loading"
|
|
5490
5490
|
};
|
|
5491
|
-
const _hoisted_2$
|
|
5491
|
+
const _hoisted_2$z = {
|
|
5492
5492
|
key: 1,
|
|
5493
5493
|
class: "bgl_btn-flex"
|
|
5494
5494
|
};
|
|
5495
|
-
const _sfc_main$
|
|
5495
|
+
const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
5496
5496
|
__name: "Btn",
|
|
5497
5497
|
props: {
|
|
5498
5498
|
disabled: { type: Boolean, default: false },
|
|
@@ -5516,8 +5516,8 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
|
5516
5516
|
},
|
|
5517
5517
|
setup(__props) {
|
|
5518
5518
|
vue.useCssVars((_ctx) => ({
|
|
5519
|
-
"
|
|
5520
|
-
"
|
|
5519
|
+
"54b736fd": computedBackgroundColor.value,
|
|
5520
|
+
"5c3a40d0": cumputedTextColor.value
|
|
5521
5521
|
}));
|
|
5522
5522
|
const props2 = __props;
|
|
5523
5523
|
const isComponent = vue.computed(() => {
|
|
@@ -5586,8 +5586,8 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
|
5586
5586
|
onClick: vue.withModifiers(_ctx.onClick, ["stop"])
|
|
5587
5587
|
}, {
|
|
5588
5588
|
default: vue.withCtx(() => [
|
|
5589
|
-
_ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
5590
|
-
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
5589
|
+
_ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$I)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$z, [
|
|
5590
|
+
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$O), {
|
|
5591
5591
|
key: 0,
|
|
5592
5592
|
icon: _ctx.icon
|
|
5593
5593
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
@@ -5595,7 +5595,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
|
5595
5595
|
!vue.unref(slots).default && _ctx.value ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
5596
5596
|
vue.createTextVNode(vue.toDisplayString(_ctx.value), 1)
|
|
5597
5597
|
], 64)) : vue.createCommentVNode("", true),
|
|
5598
|
-
props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
5598
|
+
props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$O), {
|
|
5599
5599
|
key: 2,
|
|
5600
5600
|
icon: props2["icon.end"]
|
|
5601
5601
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true)
|
|
@@ -5606,12 +5606,12 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
|
5606
5606
|
};
|
|
5607
5607
|
}
|
|
5608
5608
|
});
|
|
5609
|
-
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5610
|
-
const _hoisted_1$
|
|
5609
|
+
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-7f505d62"]]);
|
|
5610
|
+
const _hoisted_1$H = {
|
|
5611
5611
|
key: 0,
|
|
5612
5612
|
class: "tool-bar"
|
|
5613
5613
|
};
|
|
5614
|
-
const _hoisted_2$
|
|
5614
|
+
const _hoisted_2$y = {
|
|
5615
5615
|
key: 1,
|
|
5616
5616
|
class: "sticky bg-white z-index-999 -mt-1 -ms-1 px-025 h-30px pt-025 modal-no-title"
|
|
5617
5617
|
};
|
|
@@ -5619,7 +5619,7 @@ const _hoisted_3$m = {
|
|
|
5619
5619
|
key: 2,
|
|
5620
5620
|
class: "modal-footer mt-1"
|
|
5621
5621
|
};
|
|
5622
|
-
const _sfc_main$
|
|
5622
|
+
const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
5623
5623
|
__name: "Modal",
|
|
5624
5624
|
props: {
|
|
5625
5625
|
side: { type: Boolean },
|
|
@@ -5675,7 +5675,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
|
5675
5675
|
onClick: _cache[1] || (_cache[1] = () => _ctx.dismissable ? closeModal() : ""),
|
|
5676
5676
|
onKeydown: vue.withKeys(closeModal, ["esc"])
|
|
5677
5677
|
}, [
|
|
5678
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
5678
|
+
vue.createVNode(vue.unref(_sfc_main$B), {
|
|
5679
5679
|
class: "modal",
|
|
5680
5680
|
style: vue.normalizeStyle({ ...maxWidth.value }),
|
|
5681
5681
|
onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
|
|
@@ -5684,7 +5684,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
|
5684
5684
|
default: vue.withCtx(() => {
|
|
5685
5685
|
var _a2;
|
|
5686
5686
|
return [
|
|
5687
|
-
vue.unref(slots).toolbar || _ctx.title ? (vue.openBlock(), vue.createElementBlock("header", _hoisted_1$
|
|
5687
|
+
vue.unref(slots).toolbar || _ctx.title ? (vue.openBlock(), vue.createElementBlock("header", _hoisted_1$H, [
|
|
5688
5688
|
vue.renderSlot(_ctx.$slots, "toolbar"),
|
|
5689
5689
|
vue.createVNode(vue.unref(Btn), {
|
|
5690
5690
|
style: vue.normalizeStyle({ float: _ctx.side ? "left" : "right" }),
|
|
@@ -5692,13 +5692,13 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
|
5692
5692
|
icon: "close",
|
|
5693
5693
|
onClick: closeModal
|
|
5694
5694
|
}, null, 8, ["style"]),
|
|
5695
|
-
_ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
5695
|
+
_ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$z), {
|
|
5696
5696
|
key: 0,
|
|
5697
5697
|
class: "modal-title",
|
|
5698
5698
|
tag: "h3",
|
|
5699
5699
|
label: _ctx.title
|
|
5700
5700
|
}, null, 8, ["label"])) : vue.createCommentVNode("", true)
|
|
5701
|
-
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
5701
|
+
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$y, [
|
|
5702
5702
|
vue.createVNode(vue.unref(Btn), {
|
|
5703
5703
|
class: "color-black position-start",
|
|
5704
5704
|
icon: "close",
|
|
@@ -5726,7 +5726,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
|
5726
5726
|
};
|
|
5727
5727
|
}
|
|
5728
5728
|
});
|
|
5729
|
-
const _sfc_main$
|
|
5729
|
+
const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
5730
5730
|
__name: "ModalForm",
|
|
5731
5731
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
5732
5732
|
side: { type: Boolean },
|
|
@@ -5783,7 +5783,7 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
|
5783
5783
|
}
|
|
5784
5784
|
__expose({ setFormValues });
|
|
5785
5785
|
return (_ctx, _cache) => {
|
|
5786
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
5786
|
+
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$L), {
|
|
5787
5787
|
ref_key: "modal",
|
|
5788
5788
|
ref: modal,
|
|
5789
5789
|
side: _ctx.side,
|
|
@@ -5794,7 +5794,7 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
|
5794
5794
|
"onUpdate:visible": _cache[1] || (_cache[1] = ($event) => emit2("update:visible", $event))
|
|
5795
5795
|
}, vue.createSlots({
|
|
5796
5796
|
default: vue.withCtx(() => [
|
|
5797
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
5797
|
+
vue.createVNode(vue.unref(_sfc_main$q), {
|
|
5798
5798
|
ref_key: "form",
|
|
5799
5799
|
ref: form,
|
|
5800
5800
|
modelValue: formData.value,
|
|
@@ -5836,12 +5836,12 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
|
5836
5836
|
};
|
|
5837
5837
|
}
|
|
5838
5838
|
});
|
|
5839
|
-
const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5840
|
-
const _hoisted_1$
|
|
5841
|
-
const _hoisted_2$
|
|
5839
|
+
const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-9b1b63ca"]]);
|
|
5840
|
+
const _hoisted_1$G = { class: "accordion-item" };
|
|
5841
|
+
const _hoisted_2$x = ["aria-expanded", "aria-controls"];
|
|
5842
5842
|
const _hoisted_3$l = { class: "accordion-label" };
|
|
5843
5843
|
const _hoisted_4$e = ["id", "aria-hidden"];
|
|
5844
|
-
const _sfc_main$
|
|
5844
|
+
const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
5845
5845
|
__name: "AccordionItem",
|
|
5846
5846
|
props: {
|
|
5847
5847
|
label: {},
|
|
@@ -5878,7 +5878,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
5878
5878
|
else if (accordionState.openItem === id) accordionState.openItem = null;
|
|
5879
5879
|
}
|
|
5880
5880
|
return (_ctx, _cache) => {
|
|
5881
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
5881
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$G, [
|
|
5882
5882
|
vue.createElementVNode("button", {
|
|
5883
5883
|
"aria-expanded": vue.unref(isOpen) ? "true" : "false",
|
|
5884
5884
|
class: "accordion-head",
|
|
@@ -5891,9 +5891,9 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
5891
5891
|
vue.createElementVNode("div", {
|
|
5892
5892
|
class: vue.normalizeClass(["accordion-icon", { open: vue.unref(isOpen) }])
|
|
5893
5893
|
}, [
|
|
5894
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
5894
|
+
vue.createVNode(vue.unref(_sfc_main$O), { icon: "expand_more" })
|
|
5895
5895
|
], 2)
|
|
5896
|
-
], 8, _hoisted_2$
|
|
5896
|
+
], 8, _hoisted_2$x),
|
|
5897
5897
|
vue.createVNode(vue.Transition, { name: "expand" }, {
|
|
5898
5898
|
default: vue.withCtx(() => [
|
|
5899
5899
|
vue.unref(isOpen) ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -5911,14 +5911,14 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
5911
5911
|
};
|
|
5912
5912
|
}
|
|
5913
5913
|
});
|
|
5914
|
-
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5915
|
-
const _sfc_main$
|
|
5916
|
-
const _hoisted_1$
|
|
5917
|
-
const _hoisted_2$
|
|
5914
|
+
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-b862dfb8"]]);
|
|
5915
|
+
const _sfc_main$I = {};
|
|
5916
|
+
const _hoisted_1$F = { class: "list-wrap bgl_card thin grid overflow-hidden h-100 pt-0 pb-05 px-0" };
|
|
5917
|
+
const _hoisted_2$w = { class: "p-1" };
|
|
5918
5918
|
const _hoisted_3$k = { class: "list-content auto-flow-rows align-items-start overflow-y h-100" };
|
|
5919
5919
|
function _sfc_render$2(_ctx, _cache) {
|
|
5920
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
5921
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
5920
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$F, [
|
|
5921
|
+
vue.createElementVNode("div", _hoisted_2$w, [
|
|
5922
5922
|
vue.renderSlot(_ctx.$slots, "header")
|
|
5923
5923
|
]),
|
|
5924
5924
|
vue.createElementVNode("div", _hoisted_3$k, [
|
|
@@ -5926,10 +5926,10 @@ function _sfc_render$2(_ctx, _cache) {
|
|
|
5926
5926
|
])
|
|
5927
5927
|
]);
|
|
5928
5928
|
}
|
|
5929
|
-
const ListView = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5930
|
-
const _hoisted_1$
|
|
5931
|
-
const _hoisted_2$
|
|
5932
|
-
const _sfc_main$
|
|
5929
|
+
const ListView = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["render", _sfc_render$2]]);
|
|
5930
|
+
const _hoisted_1$E = { class: "no-margin ellipsis line-height-14 pb-025" };
|
|
5931
|
+
const _hoisted_2$v = { class: "txt12 no-margin txt-gray ellipsis" };
|
|
5932
|
+
const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
5933
5933
|
__name: "ListItem",
|
|
5934
5934
|
props: {
|
|
5935
5935
|
src: {},
|
|
@@ -5953,11 +5953,11 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
|
5953
5953
|
size: 40
|
|
5954
5954
|
}, null, 8, ["name", "src"])) : vue.createCommentVNode("", true),
|
|
5955
5955
|
vue.createElementVNode("div", null, [
|
|
5956
|
-
vue.createElementVNode("p", _hoisted_1$
|
|
5956
|
+
vue.createElementVNode("p", _hoisted_1$E, [
|
|
5957
5957
|
vue.createTextVNode(vue.toDisplayString(_ctx.title) + " ", 1),
|
|
5958
5958
|
vue.renderSlot(_ctx.$slots, "default")
|
|
5959
5959
|
]),
|
|
5960
|
-
vue.createElementVNode("p", _hoisted_2$
|
|
5960
|
+
vue.createElementVNode("p", _hoisted_2$v, [
|
|
5961
5961
|
vue.createTextVNode(vue.toDisplayString(_ctx.subtitle) + " ", 1),
|
|
5962
5962
|
vue.renderSlot(_ctx.$slots, "subtitle")
|
|
5963
5963
|
])
|
|
@@ -5968,9 +5968,9 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
|
5968
5968
|
};
|
|
5969
5969
|
}
|
|
5970
5970
|
});
|
|
5971
|
-
const _hoisted_1$
|
|
5972
|
-
const _hoisted_2$
|
|
5973
|
-
const _sfc_main$
|
|
5971
|
+
const _hoisted_1$D = { class: "page-top" };
|
|
5972
|
+
const _hoisted_2$u = { class: "top-title m-0" };
|
|
5973
|
+
const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
5974
5974
|
__name: "PageTitle",
|
|
5975
5975
|
props: {
|
|
5976
5976
|
value: {
|
|
@@ -5980,8 +5980,8 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
|
5980
5980
|
},
|
|
5981
5981
|
setup(__props) {
|
|
5982
5982
|
return (_ctx, _cache) => {
|
|
5983
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
5984
|
-
vue.createElementVNode("h1", _hoisted_2$
|
|
5983
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$D, [
|
|
5984
|
+
vue.createElementVNode("h1", _hoisted_2$u, [
|
|
5985
5985
|
vue.renderSlot(_ctx.$slots, "default"),
|
|
5986
5986
|
vue.createTextVNode(" " + vue.toDisplayString(__props.value), 1)
|
|
5987
5987
|
])
|
|
@@ -5989,33 +5989,33 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
|
5989
5989
|
};
|
|
5990
5990
|
}
|
|
5991
5991
|
});
|
|
5992
|
-
const _hoisted_1$
|
|
5993
|
-
const _hoisted_2$
|
|
5992
|
+
const _hoisted_1$C = { class: "table-list-wrap h-100" };
|
|
5993
|
+
const _hoisted_2$t = { class: "infinite-wrapper" };
|
|
5994
5994
|
const _hoisted_3$j = { class: "row first-row" };
|
|
5995
5995
|
const _hoisted_4$d = ["onClick"];
|
|
5996
5996
|
const _hoisted_5$b = { class: "flex" };
|
|
5997
5997
|
const _hoisted_6$7 = ["onClick"];
|
|
5998
5998
|
const _hoisted_7$2 = { key: 1 };
|
|
5999
|
-
const _sfc_main$
|
|
5999
|
+
const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
6000
6000
|
__name: "TableSchema",
|
|
6001
6001
|
props: {
|
|
6002
|
-
|
|
6002
|
+
selectedItems: {},
|
|
6003
6003
|
data: {},
|
|
6004
6004
|
schema: { type: Function },
|
|
6005
6005
|
showFields: {}
|
|
6006
6006
|
},
|
|
6007
|
-
emits: ["update:
|
|
6007
|
+
emits: ["update:selectedItems", "orderBy", "select"],
|
|
6008
6008
|
setup(__props, { emit: __emit }) {
|
|
6009
6009
|
const props2 = __props;
|
|
6010
6010
|
const emit2 = __emit;
|
|
6011
6011
|
const slots = vue.useSlots();
|
|
6012
6012
|
const loading = vue.ref(true);
|
|
6013
|
-
let
|
|
6013
|
+
let selectedItems = vue.ref(props2.selectedItems || []);
|
|
6014
6014
|
vue.computed({
|
|
6015
|
-
get: () =>
|
|
6015
|
+
get: () => selectedItems.value,
|
|
6016
6016
|
set: (value) => {
|
|
6017
|
-
|
|
6018
|
-
emit2("update:
|
|
6017
|
+
selectedItems.value = value;
|
|
6018
|
+
emit2("update:selectedItems", value);
|
|
6019
6019
|
}
|
|
6020
6020
|
});
|
|
6021
6021
|
function selectElement(item) {
|
|
@@ -6095,8 +6095,8 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
6095
6095
|
emit2("orderBy", `${fieldname} ${sortDirection.value}`.trim());
|
|
6096
6096
|
}
|
|
6097
6097
|
return (_ctx, _cache) => {
|
|
6098
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
6099
|
-
vue.createElementVNode("table", _hoisted_2$
|
|
6098
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$C, [
|
|
6099
|
+
vue.createElementVNode("table", _hoisted_2$t, [
|
|
6100
6100
|
vue.createElementVNode("thead", _hoisted_3$j, [
|
|
6101
6101
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(computedSchema.value, (field) => {
|
|
6102
6102
|
return vue.openBlock(), vue.createElementBlock("th", {
|
|
@@ -6109,7 +6109,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
6109
6109
|
vue.createElementVNode("div", {
|
|
6110
6110
|
class: vue.normalizeClass(["list-arrows", { sorted: vue.unref(sortField) === field.id }])
|
|
6111
6111
|
}, [
|
|
6112
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
6112
|
+
vue.createVNode(vue.unref(_sfc_main$O), {
|
|
6113
6113
|
class: vue.normalizeClass({ desc: vue.unref(sortDirection) === "DESC" }),
|
|
6114
6114
|
icon: "keyboard_arrow_up"
|
|
6115
6115
|
}, null, 8, ["class"])
|
|
@@ -6141,7 +6141,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
6141
6141
|
row,
|
|
6142
6142
|
field
|
|
6143
6143
|
}, void 0, true) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$2, [
|
|
6144
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
6144
|
+
vue.createVNode(vue.unref(_sfc_main$p), {
|
|
6145
6145
|
class: "embedded-field",
|
|
6146
6146
|
field,
|
|
6147
6147
|
modelValue: row,
|
|
@@ -6158,16 +6158,16 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
6158
6158
|
};
|
|
6159
6159
|
}
|
|
6160
6160
|
});
|
|
6161
|
-
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6162
|
-
const _sfc_main$
|
|
6163
|
-
const _hoisted_1$
|
|
6161
|
+
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-9bf1b6df"]]);
|
|
6162
|
+
const _sfc_main$E = {};
|
|
6163
|
+
const _hoisted_1$B = { class: "flex space-between" };
|
|
6164
6164
|
function _sfc_render$1(_ctx, _cache) {
|
|
6165
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
6165
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$B, [
|
|
6166
6166
|
vue.renderSlot(_ctx.$slots, "default")
|
|
6167
6167
|
]);
|
|
6168
6168
|
}
|
|
6169
|
-
const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6170
|
-
const _sfc_main$
|
|
6169
|
+
const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["render", _sfc_render$1]]);
|
|
6170
|
+
const _sfc_main$D = {};
|
|
6171
6171
|
function _sfc_render(_ctx, _cache) {
|
|
6172
6172
|
const _component_router_view = vue.resolveComponent("router-view");
|
|
6173
6173
|
return vue.openBlock(), vue.createBlock(_component_router_view, null, {
|
|
@@ -6189,12 +6189,12 @@ function _sfc_render(_ctx, _cache) {
|
|
|
6189
6189
|
_: 1
|
|
6190
6190
|
});
|
|
6191
6191
|
}
|
|
6192
|
-
const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6193
|
-
const _hoisted_1$
|
|
6192
|
+
const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["render", _sfc_render]]);
|
|
6193
|
+
const _hoisted_1$A = {
|
|
6194
6194
|
key: 0,
|
|
6195
6195
|
class: "data"
|
|
6196
6196
|
};
|
|
6197
|
-
const _hoisted_2$
|
|
6197
|
+
const _hoisted_2$s = {
|
|
6198
6198
|
key: 0,
|
|
6199
6199
|
class: "data-row"
|
|
6200
6200
|
};
|
|
@@ -6202,7 +6202,7 @@ const _hoisted_3$i = { class: "key" };
|
|
|
6202
6202
|
const _hoisted_4$c = { key: 1 };
|
|
6203
6203
|
const _hoisted_5$a = { class: "key" };
|
|
6204
6204
|
const _hoisted_6$6 = { class: "vlue" };
|
|
6205
|
-
const _sfc_main$
|
|
6205
|
+
const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
6206
6206
|
__name: "DataPreview",
|
|
6207
6207
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
6208
6208
|
showFields: {},
|
|
@@ -6217,7 +6217,6 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
6217
6217
|
const props2 = __props;
|
|
6218
6218
|
const itemData = vue.useModel(__props, "data");
|
|
6219
6219
|
const computedSchema = vue.computed(() => {
|
|
6220
|
-
console.log(itemData.value);
|
|
6221
6220
|
const schema = Object.keys(itemData.value);
|
|
6222
6221
|
if (props2.showFields && props2.showFields.length) {
|
|
6223
6222
|
return schema.filter((field) => {
|
|
@@ -6225,13 +6224,12 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
6225
6224
|
return (_a2 = props2.showFields) == null ? void 0 : _a2.includes(field);
|
|
6226
6225
|
});
|
|
6227
6226
|
}
|
|
6228
|
-
console.log(schema);
|
|
6229
6227
|
return schema;
|
|
6230
6228
|
});
|
|
6231
6229
|
return (_ctx, _cache) => {
|
|
6232
6230
|
var _a2;
|
|
6233
|
-
return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
6234
|
-
_ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
6231
|
+
return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$A, [
|
|
6232
|
+
_ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$z), {
|
|
6235
6233
|
key: 0,
|
|
6236
6234
|
label: _ctx.title
|
|
6237
6235
|
}, null, 8, ["label"])) : vue.createCommentVNode("", true),
|
|
@@ -6239,9 +6237,9 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
6239
6237
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, {
|
|
6240
6238
|
key: field.id
|
|
6241
6239
|
}, [
|
|
6242
|
-
vue.unref(iffer)(field, itemData.value) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
6240
|
+
vue.unref(iffer)(field, itemData.value) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$s, [
|
|
6243
6241
|
vue.createElementVNode("div", _hoisted_3$i, vue.toDisplayString((field == null ? void 0 : field.label) || vue.unref(keyToLabel)(field.id)), 1),
|
|
6244
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
6242
|
+
vue.createVNode(vue.unref(_sfc_main$p), {
|
|
6245
6243
|
modelValue: itemData.value,
|
|
6246
6244
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => itemData.value = $event),
|
|
6247
6245
|
label: "",
|
|
@@ -6267,12 +6265,12 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
6267
6265
|
};
|
|
6268
6266
|
}
|
|
6269
6267
|
});
|
|
6270
|
-
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6271
|
-
const _hoisted_1$
|
|
6268
|
+
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-078d6853"]]);
|
|
6269
|
+
const _hoisted_1$z = {
|
|
6272
6270
|
key: 0,
|
|
6273
6271
|
class: "card_label"
|
|
6274
6272
|
};
|
|
6275
|
-
const _sfc_main$
|
|
6273
|
+
const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
6276
6274
|
__name: "Card",
|
|
6277
6275
|
props: {
|
|
6278
6276
|
label: {},
|
|
@@ -6300,7 +6298,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
|
6300
6298
|
}])
|
|
6301
6299
|
}, {
|
|
6302
6300
|
default: vue.withCtx(() => [
|
|
6303
|
-
_ctx.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$
|
|
6301
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$z, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
|
|
6304
6302
|
vue.renderSlot(_ctx.$slots, "default")
|
|
6305
6303
|
]),
|
|
6306
6304
|
_: 3
|
|
@@ -6308,8 +6306,8 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
|
6308
6306
|
};
|
|
6309
6307
|
}
|
|
6310
6308
|
});
|
|
6311
|
-
const _hoisted_1$
|
|
6312
|
-
const _sfc_main$
|
|
6309
|
+
const _hoisted_1$y = ["src", "alt"];
|
|
6310
|
+
const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
6313
6311
|
__name: "Avatar",
|
|
6314
6312
|
props: {
|
|
6315
6313
|
fallback: {},
|
|
@@ -6327,7 +6325,7 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
|
6327
6325
|
key: 0,
|
|
6328
6326
|
src: _ctx.src,
|
|
6329
6327
|
alt: _ctx.name
|
|
6330
|
-
}, null, 8, _hoisted_1$
|
|
6328
|
+
}, null, 8, _hoisted_1$y)) : (vue.openBlock(), vue.createElementBlock("p", {
|
|
6331
6329
|
key: 1,
|
|
6332
6330
|
style: vue.normalizeStyle({ "line-height": `${_ctx.size}px`, "font-size": `calc(1.5rem * ${_ctx.size} / 50)` })
|
|
6333
6331
|
}, vue.toDisplayString(_ctx.fallback || vue.unref(initials)(_ctx.name || "")), 5))
|
|
@@ -6335,8 +6333,8 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
|
6335
6333
|
};
|
|
6336
6334
|
}
|
|
6337
6335
|
});
|
|
6338
|
-
const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6339
|
-
const _sfc_main$
|
|
6336
|
+
const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-dd2f6734"]]);
|
|
6337
|
+
const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
6340
6338
|
__name: "Title",
|
|
6341
6339
|
props: {
|
|
6342
6340
|
value: {
|
|
@@ -6364,7 +6362,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
6364
6362
|
};
|
|
6365
6363
|
}
|
|
6366
6364
|
});
|
|
6367
|
-
const _sfc_main$
|
|
6365
|
+
const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
6368
6366
|
__name: "Accordion",
|
|
6369
6367
|
setup(__props) {
|
|
6370
6368
|
const state2 = vue.reactive({
|
|
@@ -6378,9 +6376,9 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
6378
6376
|
};
|
|
6379
6377
|
}
|
|
6380
6378
|
});
|
|
6381
|
-
const _hoisted_1$
|
|
6382
|
-
const _hoisted_2$
|
|
6383
|
-
const _sfc_main$
|
|
6379
|
+
const _hoisted_1$x = ["dismissable"];
|
|
6380
|
+
const _hoisted_2$r = { class: "m-0" };
|
|
6381
|
+
const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
6384
6382
|
__name: "Alert",
|
|
6385
6383
|
props: {
|
|
6386
6384
|
message: {},
|
|
@@ -6401,14 +6399,14 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
|
6401
6399
|
class: vue.normalizeClass(["alert", [_ctx.type]]),
|
|
6402
6400
|
dismissable: _ctx.dismissable
|
|
6403
6401
|
}, [
|
|
6404
|
-
_ctx.icon !== "none" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
6402
|
+
_ctx.icon !== "none" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$O), {
|
|
6405
6403
|
key: 0,
|
|
6406
6404
|
class: "alert_icon",
|
|
6407
6405
|
icon: _ctx.icon || _ctx.type,
|
|
6408
6406
|
size: 2,
|
|
6409
6407
|
color: color2[_ctx.type]
|
|
6410
6408
|
}, null, 8, ["icon", "color"])) : vue.createCommentVNode("", true),
|
|
6411
|
-
vue.createElementVNode("p", _hoisted_2$
|
|
6409
|
+
vue.createElementVNode("p", _hoisted_2$r, vue.toDisplayString(_ctx.message), 1),
|
|
6412
6410
|
vue.createVNode(Btn, {
|
|
6413
6411
|
flat: "",
|
|
6414
6412
|
thin: "",
|
|
@@ -6416,12 +6414,12 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
|
6416
6414
|
icon: "close",
|
|
6417
6415
|
onClick: _cache[0] || (_cache[0] = ($event) => isDismissed.value = true)
|
|
6418
6416
|
})
|
|
6419
|
-
], 10, _hoisted_1$
|
|
6417
|
+
], 10, _hoisted_1$x)) : vue.createCommentVNode("", true);
|
|
6420
6418
|
};
|
|
6421
6419
|
}
|
|
6422
6420
|
});
|
|
6423
|
-
const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6424
|
-
const _sfc_main$
|
|
6421
|
+
const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-1322d9e1"]]);
|
|
6422
|
+
const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
6425
6423
|
__name: "Badge",
|
|
6426
6424
|
props: {
|
|
6427
6425
|
color: {},
|
|
@@ -6437,13 +6435,13 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
6437
6435
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
6438
6436
|
class: vue.normalizeClass(["pill", [_ctx.color]])
|
|
6439
6437
|
}, [
|
|
6440
|
-
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
6438
|
+
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$O), {
|
|
6441
6439
|
key: 0,
|
|
6442
6440
|
class: "inline",
|
|
6443
6441
|
icon: _ctx.icon
|
|
6444
6442
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
6445
6443
|
vue.createTextVNode(" " + vue.toDisplayString(_ctx.text) + " ", 1),
|
|
6446
|
-
props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
6444
|
+
props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$O), {
|
|
6447
6445
|
key: 1,
|
|
6448
6446
|
class: "inline",
|
|
6449
6447
|
icon: props2["icon.end"]
|
|
@@ -6452,10 +6450,10 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
6452
6450
|
};
|
|
6453
6451
|
}
|
|
6454
6452
|
});
|
|
6455
|
-
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6456
|
-
const _hoisted_1$
|
|
6457
|
-
const _hoisted_2$
|
|
6458
|
-
const _sfc_main$
|
|
6453
|
+
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-532b36ae"]]);
|
|
6454
|
+
const _hoisted_1$w = ["src"];
|
|
6455
|
+
const _hoisted_2$q = ["src", "autoplay", "muted", "loop", "controls"];
|
|
6456
|
+
const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
6459
6457
|
__name: "BglVideo",
|
|
6460
6458
|
props: {
|
|
6461
6459
|
src: {},
|
|
@@ -6507,7 +6505,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
6507
6505
|
frameborder: "0",
|
|
6508
6506
|
allowfullscreen: "",
|
|
6509
6507
|
title: "Video"
|
|
6510
|
-
}, null, 12, _hoisted_1$
|
|
6508
|
+
}, null, 12, _hoisted_1$w)) : _ctx.src ? (vue.openBlock(), vue.createElementBlock("video", {
|
|
6511
6509
|
key: 1,
|
|
6512
6510
|
src: _ctx.src,
|
|
6513
6511
|
autoplay: _ctx.autoplay,
|
|
@@ -6516,18 +6514,18 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
6516
6514
|
style: vue.normalizeStyle({ aspectRatio: aspectRatio.value }),
|
|
6517
6515
|
controls: _ctx.controls,
|
|
6518
6516
|
playsinline: ""
|
|
6519
|
-
}, null, 12, _hoisted_2$
|
|
6517
|
+
}, null, 12, _hoisted_2$q)) : vue.createCommentVNode("", true)
|
|
6520
6518
|
], 2);
|
|
6521
6519
|
};
|
|
6522
6520
|
}
|
|
6523
6521
|
});
|
|
6524
|
-
const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6525
|
-
const _hoisted_1$
|
|
6522
|
+
const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-862e1f20"]]);
|
|
6523
|
+
const _hoisted_1$v = {
|
|
6526
6524
|
key: 0,
|
|
6527
6525
|
class: "blocker"
|
|
6528
6526
|
};
|
|
6529
|
-
const _hoisted_2$
|
|
6530
|
-
const _sfc_main$
|
|
6527
|
+
const _hoisted_2$p = { class: "Handlers" };
|
|
6528
|
+
const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
6531
6529
|
__name: "Carousel",
|
|
6532
6530
|
props: {
|
|
6533
6531
|
autoHeight: {
|
|
@@ -6675,10 +6673,10 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
6675
6673
|
onScrollend: scrollEnd,
|
|
6676
6674
|
onMousedown: startDragging
|
|
6677
6675
|
}, [
|
|
6678
|
-
vue.unref(isDragging) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
6676
|
+
vue.unref(isDragging) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$v)) : vue.createCommentVNode("", true),
|
|
6679
6677
|
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
6680
6678
|
], 34),
|
|
6681
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
6679
|
+
vue.createElementVNode("div", _hoisted_2$p, [
|
|
6682
6680
|
vue.createElementVNode("span", { onClick: prev }, [
|
|
6683
6681
|
vue.renderSlot(_ctx.$slots, "prev", {
|
|
6684
6682
|
prev,
|
|
@@ -6696,8 +6694,8 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
6696
6694
|
};
|
|
6697
6695
|
}
|
|
6698
6696
|
});
|
|
6699
|
-
const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6700
|
-
const _sfc_main$
|
|
6697
|
+
const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-1f9c6644"]]);
|
|
6698
|
+
const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
6701
6699
|
__name: "ModalConfirm",
|
|
6702
6700
|
props: {
|
|
6703
6701
|
title: {},
|
|
@@ -6713,7 +6711,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
6713
6711
|
emit2("update:visible");
|
|
6714
6712
|
}
|
|
6715
6713
|
return (_ctx, _cache) => {
|
|
6716
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
6714
|
+
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$L), {
|
|
6717
6715
|
width: "380px",
|
|
6718
6716
|
dismissable: false,
|
|
6719
6717
|
title: _ctx.title
|
|
@@ -16294,10 +16292,10 @@ var leafletSrc = { exports: {} };
|
|
|
16294
16292
|
})(leafletSrc, leafletSrc.exports);
|
|
16295
16293
|
var leafletSrcExports = leafletSrc.exports;
|
|
16296
16294
|
const L$1 = /* @__PURE__ */ getDefaultExportFromCjs(leafletSrcExports);
|
|
16297
|
-
const _hoisted_1$
|
|
16298
|
-
const _hoisted_2$
|
|
16295
|
+
const _hoisted_1$u = /* @__PURE__ */ vue.createElementVNode("div", { class: "map-test" }, null, -1);
|
|
16296
|
+
const _hoisted_2$o = ["id"];
|
|
16299
16297
|
const markerSVG = '<svg width="284" height="284" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M29.859 29.266A99 99 0 0 1 198.862 99.27c0 74.25-99 183.857-99 183.857s-99-109.607-99-183.858A99 99 0 0 1 29.86 29.266Zm70.004 118.961c25.513 0 46.195-20.683 46.195-46.196 0-25.513-20.682-46.195-46.195-46.195S53.667 76.518 53.667 102.03s20.683 46.196 46.196 46.196Z" fill="#F04033"/></svg>';
|
|
16300
|
-
const _sfc_main$
|
|
16298
|
+
const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
16301
16299
|
__name: "MapEmbed",
|
|
16302
16300
|
props: {
|
|
16303
16301
|
center: { default: () => [31.7683, 35.2137] },
|
|
@@ -16348,17 +16346,17 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
16348
16346
|
}, { immediate: true });
|
|
16349
16347
|
return (_ctx, _cache) => {
|
|
16350
16348
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
16351
|
-
_hoisted_1$
|
|
16349
|
+
_hoisted_1$u,
|
|
16352
16350
|
vue.createElementVNode("div", {
|
|
16353
16351
|
id: id.value,
|
|
16354
16352
|
class: "map",
|
|
16355
16353
|
style: vue.normalizeStyle({ height: `${_ctx.height || 400}px` })
|
|
16356
|
-
}, null, 12, _hoisted_2$
|
|
16354
|
+
}, null, 12, _hoisted_2$o)
|
|
16357
16355
|
], 64);
|
|
16358
16356
|
};
|
|
16359
16357
|
}
|
|
16360
16358
|
});
|
|
16361
|
-
const _sfc_main$
|
|
16359
|
+
const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
16362
16360
|
__name: "Flag",
|
|
16363
16361
|
props: {
|
|
16364
16362
|
country: {},
|
|
@@ -16388,8 +16386,8 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
|
16388
16386
|
};
|
|
16389
16387
|
}
|
|
16390
16388
|
});
|
|
16391
|
-
const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16392
|
-
const _sfc_main$
|
|
16389
|
+
const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-f99f1900"]]);
|
|
16390
|
+
const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
16393
16391
|
__name: "BglForm",
|
|
16394
16392
|
props: {
|
|
16395
16393
|
label: {},
|
|
@@ -16473,7 +16471,7 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
|
16473
16471
|
return (_ctx, _cache) => {
|
|
16474
16472
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
16475
16473
|
_ctx.id ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 0 }, vue.renderList(_ctx.schema, (field, i2) => {
|
|
16476
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
16474
|
+
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$p), {
|
|
16477
16475
|
key: field.id || `${i2}p`,
|
|
16478
16476
|
modelValue: vue.unref(data2),
|
|
16479
16477
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(data2) ? data2.value = $event : data2 = $event),
|
|
@@ -16485,13 +16483,13 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
|
16485
16483
|
ref: form,
|
|
16486
16484
|
onSubmit: vue.withModifiers(runSubmit, ["prevent"])
|
|
16487
16485
|
}, [
|
|
16488
|
-
_ctx.label ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
16486
|
+
_ctx.label ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$z), {
|
|
16489
16487
|
key: 0,
|
|
16490
16488
|
tag: "h4",
|
|
16491
16489
|
label: _ctx.label
|
|
16492
16490
|
}, null, 8, ["label"])) : vue.createCommentVNode("", true),
|
|
16493
16491
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.schema, (field, i2) => {
|
|
16494
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
16492
|
+
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$p), {
|
|
16495
16493
|
key: field.id || `${i2}p`,
|
|
16496
16494
|
modelValue: vue.unref(data2),
|
|
16497
16495
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(data2) ? data2.value = $event : data2 = $event),
|
|
@@ -16509,7 +16507,7 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
|
16509
16507
|
};
|
|
16510
16508
|
}
|
|
16511
16509
|
});
|
|
16512
|
-
const _sfc_main$
|
|
16510
|
+
const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
16513
16511
|
__name: "BglField",
|
|
16514
16512
|
props: {
|
|
16515
16513
|
field: {},
|
|
@@ -16524,8 +16522,8 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
|
16524
16522
|
if (props2.field.$el === "select") return SelectInput;
|
|
16525
16523
|
if (props2.field.$el === "toggle") return ToggleInput;
|
|
16526
16524
|
if (props2.field.$el === "check") return CheckInput;
|
|
16527
|
-
if (props2.field.$el === "richtext") return _sfc_main$
|
|
16528
|
-
if (props2.field.$el === "date") return _sfc_main$
|
|
16525
|
+
if (props2.field.$el === "richtext") return _sfc_main$c;
|
|
16526
|
+
if (props2.field.$el === "date") return _sfc_main$n;
|
|
16529
16527
|
return props2.field.$el || "div";
|
|
16530
16528
|
});
|
|
16531
16529
|
const formData = vue.computed({
|
|
@@ -16543,7 +16541,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
|
16543
16541
|
},
|
|
16544
16542
|
get: () => {
|
|
16545
16543
|
if (props2.field.id) return props2.modelValue[props2.field.id];
|
|
16546
|
-
return props2.field.defaultValue
|
|
16544
|
+
return props2.field.defaultValue ?? "";
|
|
16547
16545
|
}
|
|
16548
16546
|
});
|
|
16549
16547
|
const vIf = vue.computed(() => {
|
|
@@ -16555,6 +16553,15 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
|
16555
16553
|
}
|
|
16556
16554
|
return true;
|
|
16557
16555
|
});
|
|
16556
|
+
const badTransform = /undefined|NaN|Invalid Date/;
|
|
16557
|
+
const computedFieldData = vue.computed(
|
|
16558
|
+
() => {
|
|
16559
|
+
var _a2, _b;
|
|
16560
|
+
const transformedData = (_b = (_a2 = props2.field).transform) == null ? void 0 : _b.call(_a2, fieldData.value, props2.modelValue);
|
|
16561
|
+
if (badTransform.test(transformedData)) return fieldData.value;
|
|
16562
|
+
return transformedData;
|
|
16563
|
+
}
|
|
16564
|
+
);
|
|
16558
16565
|
return (_ctx, _cache) => {
|
|
16559
16566
|
var _a2, _b;
|
|
16560
16567
|
const _component_BglField = vue.resolveComponent("BglField", true);
|
|
@@ -16577,29 +16584,26 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
|
16577
16584
|
options: vue.unref(bindAttrs)({ options: _ctx.field.options }, fieldData.value, _ctx.modelValue).options,
|
|
16578
16585
|
helptext: _ctx.field.helptext
|
|
16579
16586
|
}), {
|
|
16580
|
-
default: vue.withCtx(() =>
|
|
16581
|
-
|
|
16582
|
-
|
|
16583
|
-
vue.
|
|
16584
|
-
|
|
16585
|
-
|
|
16586
|
-
|
|
16587
|
-
|
|
16588
|
-
|
|
16589
|
-
|
|
16590
|
-
|
|
16591
|
-
}), 128))
|
|
16592
|
-
];
|
|
16593
|
-
}),
|
|
16587
|
+
default: vue.withCtx(() => [
|
|
16588
|
+
vue.createTextVNode(vue.toDisplayString(computedFieldData.value) + " ", 1),
|
|
16589
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.field.children, (child, ii) => {
|
|
16590
|
+
return vue.openBlock(), vue.createBlock(_component_BglField, {
|
|
16591
|
+
key: child.id || ii,
|
|
16592
|
+
modelValue: formData.value,
|
|
16593
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formData.value = $event),
|
|
16594
|
+
field: child
|
|
16595
|
+
}, null, 8, ["modelValue", "field"]);
|
|
16596
|
+
}), 128))
|
|
16597
|
+
]),
|
|
16594
16598
|
_: 1
|
|
16595
16599
|
}, 16, ["id", "modelValue", "required", "class", "label", "placeholder", "defaultValue", "disabled", "options", "helptext"])) : vue.createCommentVNode("", true);
|
|
16596
16600
|
};
|
|
16597
16601
|
}
|
|
16598
16602
|
});
|
|
16599
|
-
const _hoisted_1$
|
|
16600
|
-
const _hoisted_2$
|
|
16603
|
+
const _hoisted_1$t = ["title"];
|
|
16604
|
+
const _hoisted_2$n = ["id", "required"];
|
|
16601
16605
|
const _hoisted_3$h = ["for"];
|
|
16602
|
-
const _sfc_main$
|
|
16606
|
+
const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
16603
16607
|
__name: "CheckInput",
|
|
16604
16608
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
16605
16609
|
label: {},
|
|
@@ -16627,7 +16631,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
16627
16631
|
required: _ctx.required,
|
|
16628
16632
|
type: "checkbox",
|
|
16629
16633
|
class: "me-05"
|
|
16630
|
-
}, null, 8, _hoisted_2$
|
|
16634
|
+
}, null, 8, _hoisted_2$n), [
|
|
16631
16635
|
[vue.vModelCheckbox, checked.value]
|
|
16632
16636
|
]),
|
|
16633
16637
|
vue.createElementVNode("label", { for: inputId.value }, [
|
|
@@ -16635,11 +16639,11 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
16635
16639
|
vue.createTextVNode(vue.toDisplayString(_ctx.label), 1)
|
|
16636
16640
|
], true)
|
|
16637
16641
|
], 8, _hoisted_3$h)
|
|
16638
|
-
], 10, _hoisted_1$
|
|
16642
|
+
], 10, _hoisted_1$t);
|
|
16639
16643
|
};
|
|
16640
16644
|
}
|
|
16641
16645
|
});
|
|
16642
|
-
const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16646
|
+
const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-ac068f18"]]);
|
|
16643
16647
|
function toDate(argument) {
|
|
16644
16648
|
const argStr = Object.prototype.toString.call(argument);
|
|
16645
16649
|
if (argument instanceof Date || typeof argument === "object" && argStr === "[object Date]") {
|
|
@@ -25089,9 +25093,9 @@ const eo = ({
|
|
|
25089
25093
|
Object.entries(go).forEach(([e, t]) => {
|
|
25090
25094
|
e !== "default" && (Hn[e] = t);
|
|
25091
25095
|
});
|
|
25092
|
-
const _hoisted_1$
|
|
25093
|
-
const _hoisted_2$
|
|
25094
|
-
const _sfc_main$
|
|
25096
|
+
const _hoisted_1$s = ["title"];
|
|
25097
|
+
const _hoisted_2$m = { key: 0 };
|
|
25098
|
+
const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
25095
25099
|
__name: "DateInput",
|
|
25096
25100
|
props: {
|
|
25097
25101
|
label: {},
|
|
@@ -25132,7 +25136,7 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
|
25132
25136
|
class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
25133
25137
|
title: _ctx.label
|
|
25134
25138
|
}, [
|
|
25135
|
-
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$
|
|
25139
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$m, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
|
|
25136
25140
|
vue.createVNode(vue.unref(Hn), vue.mergeProps({
|
|
25137
25141
|
ref_key: "datePicker",
|
|
25138
25142
|
ref: datePicker,
|
|
@@ -25147,14 +25151,14 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
|
25147
25151
|
"minutes-grid-increment": _ctx.minutesGridIncrement,
|
|
25148
25152
|
"start-time": { hours: 8, minutes: 0 }
|
|
25149
25153
|
}), null, 16, ["modelValue", "enable-time-picker", "allowed-dates", "time-picker-inline", "minutes-increment", "minutes-grid-increment"])
|
|
25150
|
-
], 10, _hoisted_1$
|
|
25154
|
+
], 10, _hoisted_1$s);
|
|
25151
25155
|
};
|
|
25152
25156
|
}
|
|
25153
25157
|
});
|
|
25154
|
-
const _hoisted_1$
|
|
25155
|
-
const _hoisted_2$
|
|
25158
|
+
const _hoisted_1$r = ["title"];
|
|
25159
|
+
const _hoisted_2$l = { key: 0 };
|
|
25156
25160
|
const _hoisted_3$g = ["value", "placeholder"];
|
|
25157
|
-
const _sfc_main$
|
|
25161
|
+
const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
25158
25162
|
__name: "JSONInput",
|
|
25159
25163
|
props: {
|
|
25160
25164
|
description: { default: "" },
|
|
@@ -25177,7 +25181,7 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
|
25177
25181
|
class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
25178
25182
|
title: _ctx.description
|
|
25179
25183
|
}, [
|
|
25180
|
-
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$
|
|
25184
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$l, [
|
|
25181
25185
|
vue.createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
|
|
25182
25186
|
])) : vue.createCommentVNode("", true),
|
|
25183
25187
|
vue.createElementVNode("textarea", {
|
|
@@ -25186,16 +25190,16 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
|
25186
25190
|
placeholder: _ctx.placeholder,
|
|
25187
25191
|
onInput: handleInput
|
|
25188
25192
|
}, null, 42, _hoisted_3$g)
|
|
25189
|
-
], 10, _hoisted_1$
|
|
25193
|
+
], 10, _hoisted_1$r);
|
|
25190
25194
|
};
|
|
25191
25195
|
}
|
|
25192
25196
|
});
|
|
25193
|
-
const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25194
|
-
const _hoisted_1$
|
|
25195
|
-
const _hoisted_2$
|
|
25197
|
+
const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-1cbaeab2"]]);
|
|
25198
|
+
const _hoisted_1$q = ["disabled"];
|
|
25199
|
+
const _hoisted_2$k = { key: 1 };
|
|
25196
25200
|
const _hoisted_3$f = ["value"];
|
|
25197
25201
|
const _hoisted_4$b = ["onClick"];
|
|
25198
|
-
const _sfc_main$
|
|
25202
|
+
const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
25199
25203
|
__name: "SelectInput",
|
|
25200
25204
|
props: {
|
|
25201
25205
|
options: {},
|
|
@@ -25332,7 +25336,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
25332
25336
|
onHide: _cache[4] || (_cache[4] = ($event) => updateOpen(false))
|
|
25333
25337
|
}, {
|
|
25334
25338
|
popper: vue.withCtx(() => [
|
|
25335
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
25339
|
+
vue.createVNode(vue.unref(_sfc_main$B), {
|
|
25336
25340
|
class: "selectinput-options p-05",
|
|
25337
25341
|
style: vue.normalizeStyle({ width: _ctx.fullWidth ? "100%" : "auto" })
|
|
25338
25342
|
}, {
|
|
@@ -25353,11 +25357,11 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
25353
25357
|
class: vue.normalizeClass(["selectinput-option hover gap-1", { selected: isSelected(option2) }]),
|
|
25354
25358
|
onClick: ($event) => select2(option2)
|
|
25355
25359
|
}, [
|
|
25356
|
-
isSelected(option2) ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
25360
|
+
isSelected(option2) ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$O), {
|
|
25357
25361
|
key: 0,
|
|
25358
25362
|
icon: "check"
|
|
25359
25363
|
})) : vue.createCommentVNode("", true),
|
|
25360
|
-
!isSelected(option2) ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
25364
|
+
!isSelected(option2) ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$O), {
|
|
25361
25365
|
key: 1,
|
|
25362
25366
|
class: "opacity-3",
|
|
25363
25367
|
icon: "fiber_manual_record"
|
|
@@ -25380,16 +25384,16 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
25380
25384
|
onKeydown: openOptions,
|
|
25381
25385
|
onClick: _cache[0] || (_cache[0] = ($event) => updateOpen(true))
|
|
25382
25386
|
}, [
|
|
25383
|
-
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
25387
|
+
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$O), {
|
|
25384
25388
|
key: 0,
|
|
25385
25389
|
icon: _ctx.icon
|
|
25386
25390
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
25387
|
-
!_ctx.hideLabel ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_2$
|
|
25388
|
-
!_ctx.disabled ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
25391
|
+
!_ctx.hideLabel ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_2$k, vue.toDisplayString(selectedLabel.value), 1)) : vue.createCommentVNode("", true),
|
|
25392
|
+
!_ctx.disabled ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$O), vue.mergeProps({
|
|
25389
25393
|
key: 2,
|
|
25390
25394
|
thin: ""
|
|
25391
25395
|
}, { icon: vue.unref(open) ? "unfold_less" : "unfold_more" }), null, 16)) : vue.createCommentVNode("", true)
|
|
25392
|
-
], 42, _hoisted_1$
|
|
25396
|
+
], 42, _hoisted_1$q),
|
|
25393
25397
|
_ctx.required ? (vue.openBlock(), vue.createElementBlock("input", {
|
|
25394
25398
|
key: 0,
|
|
25395
25399
|
tabindex: "-1",
|
|
@@ -25405,7 +25409,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
25405
25409
|
};
|
|
25406
25410
|
}
|
|
25407
25411
|
});
|
|
25408
|
-
const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25412
|
+
const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-761f89bf"]]);
|
|
25409
25413
|
/*!
|
|
25410
25414
|
* vue-draggable-next v2.2.0
|
|
25411
25415
|
* (c) 2023 Anish George
|
|
@@ -25722,7 +25726,7 @@ function lastChild(el, selector2) {
|
|
|
25722
25726
|
}
|
|
25723
25727
|
return last || null;
|
|
25724
25728
|
}
|
|
25725
|
-
function index(el, selector2) {
|
|
25729
|
+
function index$1(el, selector2) {
|
|
25726
25730
|
var index2 = 0;
|
|
25727
25731
|
if (!el || !el.parentNode) {
|
|
25728
25732
|
return -1;
|
|
@@ -26316,8 +26320,8 @@ Sortable.prototype = /** @lends Sortable.prototype */
|
|
|
26316
26320
|
if (lastDownEl === target) {
|
|
26317
26321
|
return;
|
|
26318
26322
|
}
|
|
26319
|
-
oldIndex = index(target);
|
|
26320
|
-
oldDraggableIndex = index(target, options.draggable);
|
|
26323
|
+
oldIndex = index$1(target);
|
|
26324
|
+
oldDraggableIndex = index$1(target, options.draggable);
|
|
26321
26325
|
if (typeof filter3 === "function") {
|
|
26322
26326
|
if (filter3.call(this, evt, target, this)) {
|
|
26323
26327
|
_dispatchEvent({
|
|
@@ -26736,8 +26740,8 @@ Sortable.prototype = /** @lends Sortable.prototype */
|
|
|
26736
26740
|
return completedFired = true;
|
|
26737
26741
|
}
|
|
26738
26742
|
function changed() {
|
|
26739
|
-
newIndex = index(dragEl);
|
|
26740
|
-
newDraggableIndex = index(dragEl, options.draggable);
|
|
26743
|
+
newIndex = index$1(dragEl);
|
|
26744
|
+
newDraggableIndex = index$1(dragEl, options.draggable);
|
|
26741
26745
|
_dispatchEvent({
|
|
26742
26746
|
sortable: _this,
|
|
26743
26747
|
name: "change",
|
|
@@ -26819,7 +26823,7 @@ Sortable.prototype = /** @lends Sortable.prototype */
|
|
|
26819
26823
|
direction = _getSwapDirection(evt, target, targetRect, vertical, differentRowCol ? 1 : options.swapThreshold, options.invertedSwapThreshold == null ? options.swapThreshold : options.invertedSwapThreshold, isCircumstantialInvert, lastTarget === target);
|
|
26820
26824
|
var sibling;
|
|
26821
26825
|
if (direction !== 0) {
|
|
26822
|
-
var dragIndex = index(dragEl);
|
|
26826
|
+
var dragIndex = index$1(dragEl);
|
|
26823
26827
|
do {
|
|
26824
26828
|
dragIndex -= direction;
|
|
26825
26829
|
sibling = parentEl.children[dragIndex];
|
|
@@ -26881,14 +26885,14 @@ Sortable.prototype = /** @lends Sortable.prototype */
|
|
|
26881
26885
|
},
|
|
26882
26886
|
_onDrop: function _onDrop(evt) {
|
|
26883
26887
|
var el = this.el, options = this.options;
|
|
26884
|
-
newIndex = index(dragEl);
|
|
26885
|
-
newDraggableIndex = index(dragEl, options.draggable);
|
|
26888
|
+
newIndex = index$1(dragEl);
|
|
26889
|
+
newDraggableIndex = index$1(dragEl, options.draggable);
|
|
26886
26890
|
pluginEvent("drop", this, {
|
|
26887
26891
|
evt
|
|
26888
26892
|
});
|
|
26889
26893
|
parentEl = dragEl && dragEl.parentNode;
|
|
26890
|
-
newIndex = index(dragEl);
|
|
26891
|
-
newDraggableIndex = index(dragEl, options.draggable);
|
|
26894
|
+
newIndex = index$1(dragEl);
|
|
26895
|
+
newDraggableIndex = index$1(dragEl, options.draggable);
|
|
26892
26896
|
if (Sortable.eventCanceled) {
|
|
26893
26897
|
this._nulling();
|
|
26894
26898
|
return;
|
|
@@ -27233,7 +27237,7 @@ function _getSwapDirection(evt, target, targetRect, vertical, swapThreshold, inv
|
|
|
27233
27237
|
return 0;
|
|
27234
27238
|
}
|
|
27235
27239
|
function _getInsertDirection(target) {
|
|
27236
|
-
if (index(dragEl) < index(target)) {
|
|
27240
|
+
if (index$1(dragEl) < index$1(target)) {
|
|
27237
27241
|
return 1;
|
|
27238
27242
|
} else {
|
|
27239
27243
|
return -1;
|
|
@@ -27281,7 +27285,7 @@ Sortable.utils = {
|
|
|
27281
27285
|
closest,
|
|
27282
27286
|
toggleClass,
|
|
27283
27287
|
clone,
|
|
27284
|
-
index,
|
|
27288
|
+
index: index$1,
|
|
27285
27289
|
nextTick: _nextTick,
|
|
27286
27290
|
cancelNextTick: _cancelNextTick,
|
|
27287
27291
|
detectDirection: _detectDirection,
|
|
@@ -27887,13 +27891,13 @@ const VueDraggableNext = vue.defineComponent({
|
|
|
27887
27891
|
}
|
|
27888
27892
|
}
|
|
27889
27893
|
});
|
|
27890
|
-
const _hoisted_1$
|
|
27891
|
-
const _hoisted_2$
|
|
27894
|
+
const _hoisted_1$p = ["title"];
|
|
27895
|
+
const _hoisted_2$j = { class: "bagel-input" };
|
|
27892
27896
|
const _hoisted_3$e = { class: "table-side-scroll" };
|
|
27893
27897
|
const _hoisted_4$a = { class: "table-header" };
|
|
27894
27898
|
const _hoisted_5$9 = { class: "table-reorder" };
|
|
27895
27899
|
const _hoisted_6$5 = { class: "table-action" };
|
|
27896
|
-
const _sfc_main$
|
|
27900
|
+
const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
27897
27901
|
__name: "TableField",
|
|
27898
27902
|
props: {
|
|
27899
27903
|
description: { default: "" },
|
|
@@ -27958,7 +27962,7 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
|
27958
27962
|
class: "table-field-wrap",
|
|
27959
27963
|
title: _ctx.description
|
|
27960
27964
|
}, [
|
|
27961
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
27965
|
+
vue.createElementVNode("div", _hoisted_2$j, [
|
|
27962
27966
|
vue.createElementVNode("label", null, vue.toDisplayString((_a2 = vue.unref(fieldMeta)) == null ? void 0 : _a2.label), 1)
|
|
27963
27967
|
]),
|
|
27964
27968
|
vue.createElementVNode("div", _hoisted_3$e, [
|
|
@@ -27990,7 +27994,7 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
|
27990
27994
|
class: "flex table-row"
|
|
27991
27995
|
}, [
|
|
27992
27996
|
vue.createElementVNode("div", _hoisted_5$9, [
|
|
27993
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
27997
|
+
vue.createVNode(vue.unref(_sfc_main$O), { icon: "more_vert" })
|
|
27994
27998
|
]),
|
|
27995
27999
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList((_a3 = vue.unref(entityMeta)) == null ? void 0 : _a3.fields, (field) => {
|
|
27996
28000
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -28007,7 +28011,7 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
|
28007
28011
|
], 2);
|
|
28008
28012
|
}), 128)),
|
|
28009
28013
|
vue.createElementVNode("div", _hoisted_6$5, [
|
|
28010
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
28014
|
+
vue.createVNode(vue.unref(_sfc_main$O), {
|
|
28011
28015
|
icon: "delete",
|
|
28012
28016
|
onClick: ($event) => removeRow2(index2)
|
|
28013
28017
|
}, null, 8, ["onClick"])
|
|
@@ -28033,17 +28037,17 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
|
28033
28037
|
]),
|
|
28034
28038
|
_: 1
|
|
28035
28039
|
})
|
|
28036
|
-
], 8, _hoisted_1$
|
|
28040
|
+
], 8, _hoisted_1$p);
|
|
28037
28041
|
};
|
|
28038
28042
|
}
|
|
28039
28043
|
});
|
|
28040
|
-
const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
28041
|
-
const _hoisted_1$
|
|
28042
|
-
const _hoisted_2$
|
|
28044
|
+
const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-515f5dc9"]]);
|
|
28045
|
+
const _hoisted_1$o = ["title"];
|
|
28046
|
+
const _hoisted_2$i = ["for"];
|
|
28043
28047
|
const _hoisted_3$d = ["id", "title", "autocomplete", "type", "placeholder", "disabled", "required", "pattern"];
|
|
28044
28048
|
const _hoisted_4$9 = ["id", "title", "type", "rows", "placeholder", "disabled", "required", "pattern"];
|
|
28045
28049
|
const _hoisted_5$8 = { key: 2 };
|
|
28046
|
-
const _sfc_main$
|
|
28050
|
+
const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
28047
28051
|
__name: "TextInput",
|
|
28048
28052
|
props: {
|
|
28049
28053
|
id: {},
|
|
@@ -28149,23 +28153,23 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
|
28149
28153
|
[vue.vModelText, vue.unref(inputVal)]
|
|
28150
28154
|
]),
|
|
28151
28155
|
_ctx.helptext ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_5$8, vue.toDisplayString(_ctx.helptext), 1)) : vue.createCommentVNode("", true)
|
|
28152
|
-
], 8, _hoisted_2$
|
|
28153
|
-
_ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
28156
|
+
], 8, _hoisted_2$i),
|
|
28157
|
+
_ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$O), {
|
|
28154
28158
|
key: 0,
|
|
28155
28159
|
class: "iconStart",
|
|
28156
28160
|
icon: _ctx.iconStart
|
|
28157
28161
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
28158
|
-
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
28162
|
+
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$O), {
|
|
28159
28163
|
key: 1,
|
|
28160
28164
|
icon: _ctx.icon
|
|
28161
28165
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true)
|
|
28162
|
-
], 10, _hoisted_1$
|
|
28166
|
+
], 10, _hoisted_1$o);
|
|
28163
28167
|
};
|
|
28164
28168
|
}
|
|
28165
28169
|
});
|
|
28166
|
-
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
28167
|
-
const _hoisted_1$
|
|
28168
|
-
const _sfc_main$
|
|
28170
|
+
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-b024d618"]]);
|
|
28171
|
+
const _hoisted_1$n = { class: "primary-checkbox" };
|
|
28172
|
+
const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
28169
28173
|
__name: "Checkbox",
|
|
28170
28174
|
props: {
|
|
28171
28175
|
"modelValue": {
|
|
@@ -28178,7 +28182,7 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
|
28178
28182
|
setup(__props) {
|
|
28179
28183
|
const val = vue.useModel(__props, "modelValue");
|
|
28180
28184
|
return (_ctx, _cache) => {
|
|
28181
|
-
return vue.openBlock(), vue.createElementBlock("label", _hoisted_1$
|
|
28185
|
+
return vue.openBlock(), vue.createElementBlock("label", _hoisted_1$n, [
|
|
28182
28186
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
28183
28187
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => val.value = $event),
|
|
28184
28188
|
type: "checkbox"
|
|
@@ -28186,16 +28190,16 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
|
28186
28190
|
[vue.vModelCheckbox, val.value]
|
|
28187
28191
|
]),
|
|
28188
28192
|
vue.createElementVNode("span", null, [
|
|
28189
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
28193
|
+
vue.createVNode(vue.unref(_sfc_main$O), { icon: "check" })
|
|
28190
28194
|
])
|
|
28191
28195
|
]);
|
|
28192
28196
|
};
|
|
28193
28197
|
}
|
|
28194
28198
|
});
|
|
28195
|
-
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
28196
|
-
const _hoisted_1$
|
|
28197
|
-
const _hoisted_2$
|
|
28198
|
-
const _sfc_main$
|
|
28199
|
+
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-2f03e6ec"]]);
|
|
28200
|
+
const _hoisted_1$m = ["title"];
|
|
28201
|
+
const _hoisted_2$h = ["id", "placeholder", "required"];
|
|
28202
|
+
const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
28199
28203
|
__name: "ColorPicker",
|
|
28200
28204
|
props: {
|
|
28201
28205
|
label: {},
|
|
@@ -28233,23 +28237,23 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
28233
28237
|
placeholder: _ctx.placeholder || _ctx.label,
|
|
28234
28238
|
class: { "no-edit": !_ctx.editMode },
|
|
28235
28239
|
required: _ctx.required
|
|
28236
|
-
}, _ctx.nativeInputAttrs), null, 16, _hoisted_2$
|
|
28240
|
+
}, _ctx.nativeInputAttrs), null, 16, _hoisted_2$h), [
|
|
28237
28241
|
[vue.vModelText, inputVal.value]
|
|
28238
28242
|
])
|
|
28239
28243
|
])
|
|
28240
|
-
], 10, _hoisted_1$
|
|
28244
|
+
], 10, _hoisted_1$m)) : vue.createCommentVNode("", true);
|
|
28241
28245
|
};
|
|
28242
28246
|
}
|
|
28243
28247
|
});
|
|
28244
|
-
const _hoisted_1$
|
|
28245
|
-
const _hoisted_2$
|
|
28248
|
+
const _hoisted_1$l = { class: "datetime-wrap" };
|
|
28249
|
+
const _hoisted_2$g = { class: "date-wrap" };
|
|
28246
28250
|
const _hoisted_3$c = {
|
|
28247
28251
|
key: 0,
|
|
28248
28252
|
class: "time-wrap"
|
|
28249
28253
|
};
|
|
28250
28254
|
const _hoisted_4$8 = ["id", "name", "value"];
|
|
28251
28255
|
const _hoisted_5$7 = ["for"];
|
|
28252
|
-
const _sfc_main$
|
|
28256
|
+
const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
28253
28257
|
__name: "DatePicker",
|
|
28254
28258
|
props: {
|
|
28255
28259
|
label: {},
|
|
@@ -28278,8 +28282,8 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
|
28278
28282
|
return `${hour}:${minute}`;
|
|
28279
28283
|
});
|
|
28280
28284
|
return (_ctx, _cache) => {
|
|
28281
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
28282
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
28285
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$l, [
|
|
28286
|
+
vue.createElementVNode("div", _hoisted_2$g, [
|
|
28283
28287
|
vue.createVNode(vue.unref(Hn), vue.mergeProps({
|
|
28284
28288
|
modelValue: selectedDate.value,
|
|
28285
28289
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => selectedDate.value = $event),
|
|
@@ -28319,12 +28323,12 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
|
28319
28323
|
};
|
|
28320
28324
|
}
|
|
28321
28325
|
});
|
|
28322
|
-
const _hoisted_1$
|
|
28323
|
-
const _hoisted_2$
|
|
28326
|
+
const _hoisted_1$k = { class: "bagel-input" };
|
|
28327
|
+
const _hoisted_2$f = { class: "pb-025" };
|
|
28324
28328
|
const _hoisted_3$b = { class: "flex gap-05 flex-wrap" };
|
|
28325
28329
|
const _hoisted_4$7 = ["id", "name", "value", "checked"];
|
|
28326
28330
|
const _hoisted_5$6 = ["for"];
|
|
28327
|
-
const _sfc_main$
|
|
28331
|
+
const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
28328
28332
|
__name: "RadioPillsInput",
|
|
28329
28333
|
props: {
|
|
28330
28334
|
options: {},
|
|
@@ -28365,8 +28369,8 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
|
28365
28369
|
selectedValue.value = props2.modelValue;
|
|
28366
28370
|
});
|
|
28367
28371
|
return (_ctx, _cache) => {
|
|
28368
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
28369
|
-
vue.createElementVNode("label", _hoisted_2$
|
|
28372
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$k, [
|
|
28373
|
+
vue.createElementVNode("label", _hoisted_2$f, vue.toDisplayString(_ctx.label), 1),
|
|
28370
28374
|
vue.createElementVNode("div", _hoisted_3$b, [
|
|
28371
28375
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.options, (option2, index2) => {
|
|
28372
28376
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -28391,10 +28395,10 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
|
28391
28395
|
};
|
|
28392
28396
|
}
|
|
28393
28397
|
});
|
|
28394
|
-
const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
28398
|
+
const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-681173be"]]);
|
|
28395
28399
|
const _withScopeId$2 = (n2) => (vue.pushScopeId("data-v-82316bcb"), n2 = n2(), vue.popScopeId(), n2);
|
|
28396
|
-
const _hoisted_1$
|
|
28397
|
-
const _hoisted_2$
|
|
28400
|
+
const _hoisted_1$j = { class: "bagel-input" };
|
|
28401
|
+
const _hoisted_2$e = {
|
|
28398
28402
|
key: 0,
|
|
28399
28403
|
class: "single-image"
|
|
28400
28404
|
};
|
|
@@ -28418,7 +28422,7 @@ const _hoisted_12 = {
|
|
|
28418
28422
|
class: "progress"
|
|
28419
28423
|
};
|
|
28420
28424
|
const _hoisted_13 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ vue.createElementVNode("p", null, "Drop files here or click to upload", -1));
|
|
28421
|
-
const _sfc_main$
|
|
28425
|
+
const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
28422
28426
|
__name: "FileUpload",
|
|
28423
28427
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
28424
28428
|
label: {},
|
|
@@ -28539,7 +28543,7 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
28539
28543
|
flushQueue();
|
|
28540
28544
|
}
|
|
28541
28545
|
return (_ctx, _cache) => {
|
|
28542
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
28546
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$j, [
|
|
28543
28547
|
vue.createElementVNode("label", null, vue.toDisplayString(_ctx.label), 1),
|
|
28544
28548
|
vue.createElementVNode("div", {
|
|
28545
28549
|
class: vue.normalizeClass(["fileUploadWrap", {
|
|
@@ -28559,7 +28563,7 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
28559
28563
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, {
|
|
28560
28564
|
key: file.id
|
|
28561
28565
|
}, [
|
|
28562
|
-
!_ctx.multiple ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
28566
|
+
!_ctx.multiple ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$e, [
|
|
28563
28567
|
vue.createElementVNode("img", {
|
|
28564
28568
|
class: "single preview",
|
|
28565
28569
|
src: file.url,
|
|
@@ -28608,7 +28612,7 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
28608
28612
|
style: vue.normalizeStyle([`--p:${fileQ.progress}`, { "--b": "2px" }])
|
|
28609
28613
|
}, [
|
|
28610
28614
|
fileQ.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_12, vue.toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : vue.createCommentVNode("", true),
|
|
28611
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
28615
|
+
vue.createVNode(vue.unref(_sfc_main$O), {
|
|
28612
28616
|
class: "success",
|
|
28613
28617
|
icon: "check"
|
|
28614
28618
|
})
|
|
@@ -28628,15 +28632,15 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
28628
28632
|
};
|
|
28629
28633
|
}
|
|
28630
28634
|
});
|
|
28631
|
-
const $el = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
28635
|
+
const $el = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-82316bcb"]]);
|
|
28632
28636
|
const _withScopeId$1 = (n2) => (vue.pushScopeId("data-v-50198c44"), n2 = n2(), vue.popScopeId(), n2);
|
|
28633
|
-
const _hoisted_1$
|
|
28634
|
-
const _hoisted_2$
|
|
28637
|
+
const _hoisted_1$i = ["title"];
|
|
28638
|
+
const _hoisted_2$d = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("span", { class: "slider round" }, null, -1));
|
|
28635
28639
|
const _hoisted_3$9 = [
|
|
28636
|
-
_hoisted_2$
|
|
28640
|
+
_hoisted_2$d
|
|
28637
28641
|
];
|
|
28638
28642
|
const _hoisted_4$5 = ["id"];
|
|
28639
|
-
const _sfc_main$
|
|
28643
|
+
const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
28640
28644
|
__name: "ToggleInput",
|
|
28641
28645
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
28642
28646
|
label: {},
|
|
@@ -28673,11 +28677,11 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
|
28673
28677
|
[vue.vModelCheckbox, checked.value]
|
|
28674
28678
|
])
|
|
28675
28679
|
])
|
|
28676
|
-
], 10, _hoisted_1$
|
|
28680
|
+
], 10, _hoisted_1$i);
|
|
28677
28681
|
};
|
|
28678
28682
|
}
|
|
28679
28683
|
});
|
|
28680
|
-
const ToggleInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
28684
|
+
const ToggleInput = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-50198c44"]]);
|
|
28681
28685
|
function OrderedMap(content) {
|
|
28682
28686
|
this.content = content;
|
|
28683
28687
|
}
|
|
@@ -51819,7 +51823,7 @@ function getTableNodeTypes(schema) {
|
|
|
51819
51823
|
schema.cached.tableNodeTypes = roles;
|
|
51820
51824
|
return roles;
|
|
51821
51825
|
}
|
|
51822
|
-
function createTable(schema, rowsCount, colsCount, withHeaderRow, cellContent) {
|
|
51826
|
+
function createTable$1(schema, rowsCount, colsCount, withHeaderRow, cellContent) {
|
|
51823
51827
|
const types = getTableNodeTypes(schema);
|
|
51824
51828
|
const headerCells = [];
|
|
51825
51829
|
const cells = [];
|
|
@@ -51905,7 +51909,7 @@ const Table = Node$2.create({
|
|
|
51905
51909
|
addCommands() {
|
|
51906
51910
|
return {
|
|
51907
51911
|
insertTable: ({ rows = 3, cols = 3, withHeaderRow = true } = {}) => ({ tr: tr2, dispatch, editor }) => {
|
|
51908
|
-
const node = createTable(editor.schema, rows, cols, withHeaderRow);
|
|
51912
|
+
const node = createTable$1(editor.schema, rows, cols, withHeaderRow);
|
|
51909
51913
|
if (dispatch) {
|
|
51910
51914
|
const offset2 = tr2.selection.anchor + 1;
|
|
51911
51915
|
tr2.replaceSelectionWith(node).scrollIntoView().setSelection(TextSelection.near(tr2.doc.resolve(offset2)));
|
|
@@ -52118,12 +52122,12 @@ const TableHeader = Node$2.create({
|
|
|
52118
52122
|
return ["th", mergeAttributes(this.options.HTMLAttributes, HTMLAttributes), 0];
|
|
52119
52123
|
}
|
|
52120
52124
|
});
|
|
52121
|
-
const _hoisted_1$
|
|
52122
|
-
const _hoisted_2$
|
|
52125
|
+
const _hoisted_1$h = { class: "RichText" };
|
|
52126
|
+
const _hoisted_2$c = {
|
|
52123
52127
|
key: 0,
|
|
52124
52128
|
class: "RichText-tools"
|
|
52125
52129
|
};
|
|
52126
|
-
const _sfc_main$
|
|
52130
|
+
const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
52127
52131
|
__name: "RichText",
|
|
52128
52132
|
props: {
|
|
52129
52133
|
modelValue: {}
|
|
@@ -52348,8 +52352,8 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
|
52348
52352
|
});
|
|
52349
52353
|
return (_ctx, _cache) => {
|
|
52350
52354
|
const _directive_tooltip = vue.resolveDirective("tooltip");
|
|
52351
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
52352
|
-
vue.unref(editor) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
52355
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$h, [
|
|
52356
|
+
vue.unref(editor) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$c, [
|
|
52353
52357
|
(vue.openBlock(), vue.createElementBlock(vue.Fragment, null, vue.renderList(config, (item) => {
|
|
52354
52358
|
var _a2;
|
|
52355
52359
|
return vue.withDirectives(vue.createVNode(vue.unref(Btn), {
|
|
@@ -54531,13 +54535,13 @@ function parsePhoneNumber$1() {
|
|
|
54531
54535
|
function parsePhoneNumber() {
|
|
54532
54536
|
return withMetadataArgument(parsePhoneNumber$1, arguments);
|
|
54533
54537
|
}
|
|
54534
|
-
const _hoisted_1$
|
|
54535
|
-
const _hoisted_2$
|
|
54538
|
+
const _hoisted_1$g = ["aria-expanded"];
|
|
54539
|
+
const _hoisted_2$b = { class: "p-075 tel-countryp-dropdown" };
|
|
54536
54540
|
const _hoisted_3$8 = ["aria-selected", "onClick", "onMousemove"];
|
|
54537
54541
|
const _hoisted_4$4 = { class: "tel-country" };
|
|
54538
54542
|
const _hoisted_5$4 = { key: 1 };
|
|
54539
54543
|
const _hoisted_6$3 = ["id", "required", "placeholder", "disabled", "autocomplete", "pattern", "minlength", "maxlength", "name", "readonly", "tabindex", "aria-describedby"];
|
|
54540
|
-
const _sfc_main$
|
|
54544
|
+
const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
54541
54545
|
__name: "TelInput",
|
|
54542
54546
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
54543
54547
|
label: {},
|
|
@@ -54795,7 +54799,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
54795
54799
|
onHide: _cache[2] || (_cache[2] = ($event) => vue.isRef(open) ? open.value = false : open = false)
|
|
54796
54800
|
}, {
|
|
54797
54801
|
popper: vue.withCtx(({ hide: hide2 }) => [
|
|
54798
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
54802
|
+
vue.createElementVNode("div", _hoisted_2$b, [
|
|
54799
54803
|
_ctx.searchable ? (vue.openBlock(), vue.createBlock(vue.unref(TextInput), {
|
|
54800
54804
|
key: 0,
|
|
54801
54805
|
modelValue: searchQuery.value,
|
|
@@ -54838,7 +54842,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
54838
54842
|
class: "flex gap-05",
|
|
54839
54843
|
onClick: _cache[0] || (_cache[0] = ($event) => vue.isRef(open) ? open.value = true : open = true)
|
|
54840
54844
|
}, [
|
|
54841
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
54845
|
+
vue.createVNode(vue.unref(_sfc_main$O), {
|
|
54842
54846
|
icon: vue.unref(open) ? "collapse_all" : "expand_all"
|
|
54843
54847
|
}, null, 8, ["icon"]),
|
|
54844
54848
|
computedDropDownOptions.value.showFlags && vue.unref(activeCountryCode) ? (vue.openBlock(), vue.createBlock(vue.unref(Flag), {
|
|
@@ -54876,13 +54880,13 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
54876
54880
|
}, null, 44, _hoisted_6$3), [
|
|
54877
54881
|
[vue.vModelText, phone.value]
|
|
54878
54882
|
])
|
|
54879
|
-
], 40, _hoisted_1$
|
|
54883
|
+
], 40, _hoisted_1$g)
|
|
54880
54884
|
])
|
|
54881
54885
|
], 2);
|
|
54882
54886
|
};
|
|
54883
54887
|
}
|
|
54884
54888
|
});
|
|
54885
|
-
const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
54889
|
+
const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-b13ff2af"]]);
|
|
54886
54890
|
/*!
|
|
54887
54891
|
* Signature Pad v5.0.2 | https://github.com/szimek/signature_pad
|
|
54888
54892
|
* (c) 2024 Szymon Nowak | Released under the MIT license
|
|
@@ -55476,8 +55480,8 @@ class SignaturePad extends SignatureEventTarget {
|
|
|
55476
55480
|
return svg.outerHTML;
|
|
55477
55481
|
}
|
|
55478
55482
|
}
|
|
55479
|
-
const _hoisted_1$
|
|
55480
|
-
const _sfc_main$
|
|
55483
|
+
const _hoisted_1$f = ["disabled"];
|
|
55484
|
+
const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
55481
55485
|
__name: "SignaturePad",
|
|
55482
55486
|
props: {
|
|
55483
55487
|
sigOption: {},
|
|
@@ -55599,11 +55603,434 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
|
55599
55603
|
ref: vCanvas,
|
|
55600
55604
|
class: "canvas",
|
|
55601
55605
|
disabled: _ctx.disabled
|
|
55602
|
-
}, null, 8, _hoisted_1$
|
|
55606
|
+
}, null, 8, _hoisted_1$f)
|
|
55603
55607
|
], 32);
|
|
55604
55608
|
};
|
|
55605
55609
|
}
|
|
55606
55610
|
});
|
|
55611
|
+
const _hoisted_1$e = {
|
|
55612
|
+
class: "toolbar",
|
|
55613
|
+
role: "toolbar"
|
|
55614
|
+
};
|
|
55615
|
+
const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
55616
|
+
__name: "Toolbar",
|
|
55617
|
+
props: {
|
|
55618
|
+
config: {}
|
|
55619
|
+
},
|
|
55620
|
+
emits: ["action"],
|
|
55621
|
+
setup(__props, { emit: __emit }) {
|
|
55622
|
+
const emit2 = __emit;
|
|
55623
|
+
const colorPicker = vue.ref(null);
|
|
55624
|
+
const fontSizeInput = vue.ref(null);
|
|
55625
|
+
const toolbarOptions = [
|
|
55626
|
+
{ name: "bold", icon: "format_bold" },
|
|
55627
|
+
{ name: "italic", icon: "format_italic" },
|
|
55628
|
+
{ name: "underline", icon: "format_underlined" },
|
|
55629
|
+
{ name: "fontSize", icon: "format_size" },
|
|
55630
|
+
{ name: "fontFamily", icon: "font_download" },
|
|
55631
|
+
{ name: "textColor", icon: "text_format" },
|
|
55632
|
+
{ name: "backgroundColor", icon: "format_color_fill" },
|
|
55633
|
+
{ name: "alignLeft", icon: "format_align_left" },
|
|
55634
|
+
{ name: "alignCenter", icon: "format_align_center" },
|
|
55635
|
+
{ name: "alignRight", icon: "format_align_right" },
|
|
55636
|
+
{ name: "alignJustify", icon: "format_align_justify" },
|
|
55637
|
+
{ name: "orderedList", icon: "format_list_numbered" },
|
|
55638
|
+
{ name: "unorderedList", icon: "format_list_bulleted" },
|
|
55639
|
+
{ name: "indent", icon: "format_indent_increase" },
|
|
55640
|
+
{ name: "outdent", icon: "format_indent_decrease" },
|
|
55641
|
+
{ name: "link", icon: "link" },
|
|
55642
|
+
{ name: "image", icon: "image" },
|
|
55643
|
+
{ name: "table", icon: "table_chart" },
|
|
55644
|
+
{ name: "blockquote", icon: "format_quote" },
|
|
55645
|
+
{ name: "codeBlock", icon: "code" },
|
|
55646
|
+
{ name: "splitView", icon: "splitscreen_right" },
|
|
55647
|
+
{ name: "codeView", icon: "code" }
|
|
55648
|
+
];
|
|
55649
|
+
function handleColorPick(type3) {
|
|
55650
|
+
var _a2;
|
|
55651
|
+
const color2 = (_a2 = colorPicker.value) == null ? void 0 : _a2.value;
|
|
55652
|
+
if (color2) {
|
|
55653
|
+
emit2("action", type3, color2);
|
|
55654
|
+
}
|
|
55655
|
+
}
|
|
55656
|
+
function handleFontSizeChange() {
|
|
55657
|
+
var _a2;
|
|
55658
|
+
const size2 = (_a2 = fontSizeInput.value) == null ? void 0 : _a2.value;
|
|
55659
|
+
if (size2) {
|
|
55660
|
+
emit2("action", "fontSize", size2);
|
|
55661
|
+
}
|
|
55662
|
+
}
|
|
55663
|
+
return (_ctx, _cache) => {
|
|
55664
|
+
const _directive_tooltip = vue.resolveDirective("tooltip");
|
|
55665
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$e, [
|
|
55666
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(toolbarOptions.filter((t) => _ctx.config.includes(t.name)), (action) => {
|
|
55667
|
+
return vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(Btn), {
|
|
55668
|
+
key: action.name,
|
|
55669
|
+
thin: "",
|
|
55670
|
+
color: "light",
|
|
55671
|
+
"aria-label": action.name,
|
|
55672
|
+
icon: action.icon,
|
|
55673
|
+
onClick: ($event) => emit2("action", action.name)
|
|
55674
|
+
}, null, 8, ["aria-label", "icon", "onClick"])), [
|
|
55675
|
+
[_directive_tooltip, action.name]
|
|
55676
|
+
]);
|
|
55677
|
+
}), 128)),
|
|
55678
|
+
_ctx.config.includes("textColor") || _ctx.config.includes("backgroundColor") ? (vue.openBlock(), vue.createElementBlock("input", {
|
|
55679
|
+
key: 0,
|
|
55680
|
+
ref_key: "colorPicker",
|
|
55681
|
+
ref: colorPicker,
|
|
55682
|
+
type: "color",
|
|
55683
|
+
onChange: _cache[0] || (_cache[0] = ($event) => handleColorPick(_ctx.config.includes("textColor") ? "textColor" : "backgroundColor"))
|
|
55684
|
+
}, null, 544)) : vue.createCommentVNode("", true),
|
|
55685
|
+
_ctx.config.includes("fontSize") ? (vue.openBlock(), vue.createElementBlock("input", {
|
|
55686
|
+
key: 1,
|
|
55687
|
+
ref_key: "fontSizeInput",
|
|
55688
|
+
ref: fontSizeInput,
|
|
55689
|
+
type: "number",
|
|
55690
|
+
min: "1",
|
|
55691
|
+
max: "7",
|
|
55692
|
+
onChange: handleFontSizeChange
|
|
55693
|
+
}, null, 544)) : vue.createCommentVNode("", true)
|
|
55694
|
+
]);
|
|
55695
|
+
};
|
|
55696
|
+
}
|
|
55697
|
+
});
|
|
55698
|
+
const Toolbar = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-ace0040e"]]);
|
|
55699
|
+
function applyFormatting(command2, value = "") {
|
|
55700
|
+
const selection = window.getSelection();
|
|
55701
|
+
if (selection && selection.rangeCount > 0) {
|
|
55702
|
+
const range2 = selection.getRangeAt(0);
|
|
55703
|
+
const span = document.createElement("span");
|
|
55704
|
+
switch (command2) {
|
|
55705
|
+
case "bold":
|
|
55706
|
+
span.style.fontWeight = "bold";
|
|
55707
|
+
break;
|
|
55708
|
+
case "italic":
|
|
55709
|
+
span.style.fontStyle = "italic";
|
|
55710
|
+
break;
|
|
55711
|
+
case "underline":
|
|
55712
|
+
span.style.textDecoration = "underline";
|
|
55713
|
+
break;
|
|
55714
|
+
case "strikeThrough":
|
|
55715
|
+
span.style.textDecoration = "line-through";
|
|
55716
|
+
break;
|
|
55717
|
+
case "fontSize":
|
|
55718
|
+
span.style.fontSize = value;
|
|
55719
|
+
break;
|
|
55720
|
+
case "foreColor":
|
|
55721
|
+
span.style.color = value;
|
|
55722
|
+
break;
|
|
55723
|
+
case "backColor":
|
|
55724
|
+
span.style.backgroundColor = value;
|
|
55725
|
+
break;
|
|
55726
|
+
case "justifyLeft":
|
|
55727
|
+
span.style.textAlign = "left";
|
|
55728
|
+
break;
|
|
55729
|
+
case "justifyCenter":
|
|
55730
|
+
span.style.textAlign = "center";
|
|
55731
|
+
break;
|
|
55732
|
+
case "justifyRight":
|
|
55733
|
+
span.style.textAlign = "right";
|
|
55734
|
+
break;
|
|
55735
|
+
case "justifyFull":
|
|
55736
|
+
span.style.textAlign = "justify";
|
|
55737
|
+
break;
|
|
55738
|
+
case "insertOrderedList":
|
|
55739
|
+
insertList("ol");
|
|
55740
|
+
return;
|
|
55741
|
+
case "insertUnorderedList":
|
|
55742
|
+
insertList("ul");
|
|
55743
|
+
return;
|
|
55744
|
+
case "indent":
|
|
55745
|
+
span.style.marginLeft = "40px";
|
|
55746
|
+
break;
|
|
55747
|
+
case "outdent":
|
|
55748
|
+
span.style.marginLeft = "-40px";
|
|
55749
|
+
break;
|
|
55750
|
+
case "removeFormatting":
|
|
55751
|
+
removeFormatting();
|
|
55752
|
+
break;
|
|
55753
|
+
case "insertHorizontalRule":
|
|
55754
|
+
insertHorizontalRule();
|
|
55755
|
+
break;
|
|
55756
|
+
case "subscript":
|
|
55757
|
+
span.style.verticalAlign = "sub";
|
|
55758
|
+
break;
|
|
55759
|
+
case "superscript":
|
|
55760
|
+
span.style.verticalAlign = "super";
|
|
55761
|
+
break;
|
|
55762
|
+
case "fontName":
|
|
55763
|
+
span.style.fontFamily = value;
|
|
55764
|
+
break;
|
|
55765
|
+
case "increaseFontSize":
|
|
55766
|
+
increaseFontSize();
|
|
55767
|
+
break;
|
|
55768
|
+
case "decreaseFontSize":
|
|
55769
|
+
break;
|
|
55770
|
+
case "insertLink":
|
|
55771
|
+
insertLink();
|
|
55772
|
+
break;
|
|
55773
|
+
case "insertImage":
|
|
55774
|
+
insertImage();
|
|
55775
|
+
break;
|
|
55776
|
+
case "createTable":
|
|
55777
|
+
createTable();
|
|
55778
|
+
break;
|
|
55779
|
+
default:
|
|
55780
|
+
console.warn(`Command ${command2} is not supported`);
|
|
55781
|
+
return;
|
|
55782
|
+
}
|
|
55783
|
+
range2.surroundContents(span);
|
|
55784
|
+
}
|
|
55785
|
+
}
|
|
55786
|
+
function increaseFontSize() {
|
|
55787
|
+
const selection = window.getSelection();
|
|
55788
|
+
if (selection && selection.rangeCount > 0) {
|
|
55789
|
+
const range2 = selection.getRangeAt(0);
|
|
55790
|
+
const span = document.createElement("span");
|
|
55791
|
+
const currentFontSize = Number.parseInt(range2.startContainer.parentNode.style.fontSize || "16", 10);
|
|
55792
|
+
const newFontSize = currentFontSize + 2;
|
|
55793
|
+
span.style.fontSize = `${newFontSize}px`;
|
|
55794
|
+
range2.surroundContents(span);
|
|
55795
|
+
}
|
|
55796
|
+
}
|
|
55797
|
+
function removeFormatting() {
|
|
55798
|
+
const selection = window.getSelection();
|
|
55799
|
+
if (selection && selection.rangeCount > 0) {
|
|
55800
|
+
const range2 = selection.getRangeAt(0);
|
|
55801
|
+
const span = document.createElement("span");
|
|
55802
|
+
span.textContent = range2.toString();
|
|
55803
|
+
range2.deleteContents();
|
|
55804
|
+
range2.insertNode(span);
|
|
55805
|
+
}
|
|
55806
|
+
}
|
|
55807
|
+
function insertHorizontalRule() {
|
|
55808
|
+
const selection = window.getSelection();
|
|
55809
|
+
if (selection && selection.rangeCount > 0) {
|
|
55810
|
+
const range2 = selection.getRangeAt(0);
|
|
55811
|
+
const hr2 = document.createElement("hr");
|
|
55812
|
+
range2.deleteContents();
|
|
55813
|
+
range2.insertNode(hr2);
|
|
55814
|
+
}
|
|
55815
|
+
}
|
|
55816
|
+
function insertList(type3) {
|
|
55817
|
+
const selection = window.getSelection();
|
|
55818
|
+
if (selection && selection.rangeCount > 0) {
|
|
55819
|
+
const range2 = selection.getRangeAt(0);
|
|
55820
|
+
const list = document.createElement(type3);
|
|
55821
|
+
const listItem = document.createElement("li");
|
|
55822
|
+
listItem.textContent = range2.toString();
|
|
55823
|
+
list.appendChild(listItem);
|
|
55824
|
+
range2.deleteContents();
|
|
55825
|
+
range2.insertNode(list);
|
|
55826
|
+
}
|
|
55827
|
+
}
|
|
55828
|
+
function insertLink() {
|
|
55829
|
+
const url = prompt("Enter the URL:");
|
|
55830
|
+
if (url) {
|
|
55831
|
+
const selection = window.getSelection();
|
|
55832
|
+
if (selection && selection.rangeCount > 0) {
|
|
55833
|
+
const range2 = selection.getRangeAt(0);
|
|
55834
|
+
const anchor = document.createElement("a");
|
|
55835
|
+
anchor.href = url;
|
|
55836
|
+
range2.surroundContents(anchor);
|
|
55837
|
+
}
|
|
55838
|
+
}
|
|
55839
|
+
}
|
|
55840
|
+
function insertImage() {
|
|
55841
|
+
const url = prompt("Enter the image URL:");
|
|
55842
|
+
if (url) {
|
|
55843
|
+
const selection = window.getSelection();
|
|
55844
|
+
if (selection && selection.rangeCount > 0) {
|
|
55845
|
+
const range2 = selection.getRangeAt(0);
|
|
55846
|
+
const img = document.createElement("img");
|
|
55847
|
+
img.src = url;
|
|
55848
|
+
range2.deleteContents();
|
|
55849
|
+
range2.insertNode(img);
|
|
55850
|
+
}
|
|
55851
|
+
}
|
|
55852
|
+
}
|
|
55853
|
+
function createTable() {
|
|
55854
|
+
const rows = prompt("Enter the number of rows:");
|
|
55855
|
+
const cols = prompt("Enter the number of columns:");
|
|
55856
|
+
if (rows && cols) {
|
|
55857
|
+
const table = document.createElement("table");
|
|
55858
|
+
table.style.border = "1px solid black";
|
|
55859
|
+
table.style.borderCollapse = "collapse";
|
|
55860
|
+
for (let i2 = 0; i2 < Number.parseInt(rows); i2++) {
|
|
55861
|
+
const row = table.insertRow();
|
|
55862
|
+
for (let j2 = 0; j2 < Number.parseInt(cols); j2++) {
|
|
55863
|
+
const cell = row.insertCell();
|
|
55864
|
+
cell.style.border = "1px solid black";
|
|
55865
|
+
cell.style.padding = "5px";
|
|
55866
|
+
cell.textContent = `Cell ${i2 + 1},${j2 + 1}`;
|
|
55867
|
+
}
|
|
55868
|
+
}
|
|
55869
|
+
const selection = window.getSelection();
|
|
55870
|
+
if (selection && selection.rangeCount > 0) {
|
|
55871
|
+
const range2 = selection.getRangeAt(0);
|
|
55872
|
+
range2.deleteContents();
|
|
55873
|
+
range2.insertNode(table);
|
|
55874
|
+
}
|
|
55875
|
+
}
|
|
55876
|
+
}
|
|
55877
|
+
const _hoisted_1$d = { class: "rich-text-editor" };
|
|
55878
|
+
const _hoisted_2$a = ["innerHTML"];
|
|
55879
|
+
const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
55880
|
+
__name: "index",
|
|
55881
|
+
props: {
|
|
55882
|
+
modelValue: {},
|
|
55883
|
+
toolbarConfig: {}
|
|
55884
|
+
},
|
|
55885
|
+
emits: ["update:modelValue"],
|
|
55886
|
+
setup(__props, { emit: __emit }) {
|
|
55887
|
+
const props2 = __props;
|
|
55888
|
+
const emit2 = __emit;
|
|
55889
|
+
const editableContent = vue.ref(null);
|
|
55890
|
+
const defaultConfig2 = [
|
|
55891
|
+
"bold",
|
|
55892
|
+
"italic",
|
|
55893
|
+
"underline",
|
|
55894
|
+
"fontSize",
|
|
55895
|
+
"fontFamily",
|
|
55896
|
+
"textColor",
|
|
55897
|
+
"backgroundColor",
|
|
55898
|
+
"alignLeft",
|
|
55899
|
+
"alignCenter",
|
|
55900
|
+
"alignRight",
|
|
55901
|
+
"alignJustify",
|
|
55902
|
+
"orderedList",
|
|
55903
|
+
"unorderedList",
|
|
55904
|
+
"indent",
|
|
55905
|
+
"outdent",
|
|
55906
|
+
"link",
|
|
55907
|
+
"image",
|
|
55908
|
+
"table",
|
|
55909
|
+
"blockquote",
|
|
55910
|
+
"codeBlock",
|
|
55911
|
+
"splitView",
|
|
55912
|
+
"codeView"
|
|
55913
|
+
];
|
|
55914
|
+
const config = vue.ref(props2.toolbarConfig || defaultConfig2);
|
|
55915
|
+
let contentHtml = vue.ref(props2.modelValue);
|
|
55916
|
+
let isCodeView = vue.ref(false);
|
|
55917
|
+
let isSplitView = vue.ref(false);
|
|
55918
|
+
function updateContent() {
|
|
55919
|
+
var _a2;
|
|
55920
|
+
if (!isCodeView.value) {
|
|
55921
|
+
contentHtml.value = ((_a2 = editableContent.value) == null ? void 0 : _a2.innerHTML) ?? "";
|
|
55922
|
+
}
|
|
55923
|
+
emit2("update:modelValue", contentHtml.value);
|
|
55924
|
+
}
|
|
55925
|
+
function handleToolbarAction(action, value) {
|
|
55926
|
+
if (!editableContent.value) return;
|
|
55927
|
+
if (["alignLeft", "alignCenter", "alignRight", "alignJustify"].includes(action))
|
|
55928
|
+
value = action.replace("align", "").toLowerCase();
|
|
55929
|
+
switch (action) {
|
|
55930
|
+
case "orderedList":
|
|
55931
|
+
applyFormatting("insertOrderedList");
|
|
55932
|
+
break;
|
|
55933
|
+
case "unorderedList":
|
|
55934
|
+
applyFormatting("insertUnorderedList");
|
|
55935
|
+
break;
|
|
55936
|
+
case "blockquote":
|
|
55937
|
+
applyFormatting("formatBlock", "<blockquote>");
|
|
55938
|
+
break;
|
|
55939
|
+
case "codeBlock":
|
|
55940
|
+
applyFormatting("formatBlock", "<pre>");
|
|
55941
|
+
break;
|
|
55942
|
+
case "splitView":
|
|
55943
|
+
isSplitView.value = !isSplitView.value;
|
|
55944
|
+
break;
|
|
55945
|
+
case "codeView":
|
|
55946
|
+
isCodeView.value = !isCodeView.value;
|
|
55947
|
+
break;
|
|
55948
|
+
default:
|
|
55949
|
+
applyFormatting(action, value);
|
|
55950
|
+
break;
|
|
55951
|
+
}
|
|
55952
|
+
updateContent();
|
|
55953
|
+
}
|
|
55954
|
+
vue.watch(() => props2.modelValue, (newValue) => {
|
|
55955
|
+
if (newValue !== contentHtml.value) {
|
|
55956
|
+
contentHtml.value = newValue;
|
|
55957
|
+
if (editableContent.value) {
|
|
55958
|
+
editableContent.value.innerHTML = newValue;
|
|
55959
|
+
}
|
|
55960
|
+
}
|
|
55961
|
+
});
|
|
55962
|
+
vue.onMounted(() => {
|
|
55963
|
+
if (editableContent.value) {
|
|
55964
|
+
editableContent.value.innerHTML = contentHtml.value;
|
|
55965
|
+
}
|
|
55966
|
+
});
|
|
55967
|
+
function handleKeyDown2(event) {
|
|
55968
|
+
if (event.ctrlKey || event.metaKey) {
|
|
55969
|
+
switch (event.key.toLowerCase()) {
|
|
55970
|
+
case "b":
|
|
55971
|
+
event.preventDefault();
|
|
55972
|
+
handleToolbarAction("bold");
|
|
55973
|
+
break;
|
|
55974
|
+
case "i":
|
|
55975
|
+
event.preventDefault();
|
|
55976
|
+
handleToolbarAction("italic");
|
|
55977
|
+
break;
|
|
55978
|
+
case "u":
|
|
55979
|
+
event.preventDefault();
|
|
55980
|
+
handleToolbarAction("underline");
|
|
55981
|
+
break;
|
|
55982
|
+
case "k":
|
|
55983
|
+
event.preventDefault();
|
|
55984
|
+
handleToolbarAction("link");
|
|
55985
|
+
break;
|
|
55986
|
+
case "l":
|
|
55987
|
+
event.preventDefault();
|
|
55988
|
+
handleToolbarAction("orderedList");
|
|
55989
|
+
break;
|
|
55990
|
+
}
|
|
55991
|
+
}
|
|
55992
|
+
}
|
|
55993
|
+
return (_ctx, _cache) => {
|
|
55994
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$d, [
|
|
55995
|
+
vue.createVNode(Toolbar, {
|
|
55996
|
+
config: config.value,
|
|
55997
|
+
onAction: handleToolbarAction
|
|
55998
|
+
}, null, 8, ["config"]),
|
|
55999
|
+
vue.createElementVNode("div", {
|
|
56000
|
+
class: vue.normalizeClass(["editor-container", { "split-view": vue.unref(isSplitView) }])
|
|
56001
|
+
}, [
|
|
56002
|
+
vue.createElementVNode("div", {
|
|
56003
|
+
class: vue.normalizeClass(["content-area", { "code-view": vue.unref(isCodeView) }])
|
|
56004
|
+
}, [
|
|
56005
|
+
vue.unref(isCodeView) ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("textarea", {
|
|
56006
|
+
key: 0,
|
|
56007
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(contentHtml) ? contentHtml.value = $event : contentHtml = $event),
|
|
56008
|
+
onInput: updateContent
|
|
56009
|
+
}, null, 544)), [
|
|
56010
|
+
[vue.vModelText, vue.unref(contentHtml)]
|
|
56011
|
+
]) : (vue.openBlock(), vue.createElementBlock("div", {
|
|
56012
|
+
key: 1,
|
|
56013
|
+
ref_key: "editableContent",
|
|
56014
|
+
ref: editableContent,
|
|
56015
|
+
contenteditable: "true",
|
|
56016
|
+
role: "textbox",
|
|
56017
|
+
"aria-multiline": "true",
|
|
56018
|
+
tabindex: "0",
|
|
56019
|
+
onInput: updateContent,
|
|
56020
|
+
onKeydown: handleKeyDown2
|
|
56021
|
+
}, null, 544))
|
|
56022
|
+
], 2),
|
|
56023
|
+
vue.unref(isSplitView) ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
56024
|
+
key: 0,
|
|
56025
|
+
class: "preview-area",
|
|
56026
|
+
innerHTML: vue.unref(contentHtml)
|
|
56027
|
+
}, null, 8, _hoisted_2$a)) : vue.createCommentVNode("", true)
|
|
56028
|
+
], 2)
|
|
56029
|
+
]);
|
|
56030
|
+
};
|
|
56031
|
+
}
|
|
56032
|
+
});
|
|
56033
|
+
const index = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-e3cd444d"]]);
|
|
55607
56034
|
function _isPlaceholder(a2) {
|
|
55608
56035
|
return a2 != null && typeof a2 === "object" && a2["@@functional/placeholder"] === true;
|
|
55609
56036
|
}
|
|
@@ -61781,7 +62208,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
61781
62208
|
}
|
|
61782
62209
|
return (_ctx, _cache) => {
|
|
61783
62210
|
const _directive_tooltip = vue.resolveDirective("tooltip");
|
|
61784
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
62211
|
+
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$B), {
|
|
61785
62212
|
class: vue.normalizeClass(["flex column gap-05 pt-1 bgl_sidebar", { wideNav: vue.unref(isOpen) }])
|
|
61786
62213
|
}, {
|
|
61787
62214
|
default: vue.withCtx(() => [
|
|
@@ -61804,7 +62231,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
61804
62231
|
class: "nav-button px-075"
|
|
61805
62232
|
}, {
|
|
61806
62233
|
default: vue.withCtx(() => [
|
|
61807
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
62234
|
+
vue.createVNode(vue.unref(_sfc_main$O), {
|
|
61808
62235
|
icon: nav2.icon,
|
|
61809
62236
|
size: 1.4
|
|
61810
62237
|
}, null, 8, ["icon"]),
|
|
@@ -61841,7 +62268,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
|
61841
62268
|
},
|
|
61842
62269
|
setup(__props) {
|
|
61843
62270
|
return (_ctx, _cache) => {
|
|
61844
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
62271
|
+
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$B), { class: "hide m_grid gap-05 bgl_bottombar px-1 txt14 justify-content-start align-items-center overflow-x" }, {
|
|
61845
62272
|
default: vue.withCtx(() => [
|
|
61846
62273
|
vue.renderSlot(_ctx.$slots, "brand", {}, void 0, true),
|
|
61847
62274
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.navLinks, (nav2, i2) => {
|
|
@@ -61852,7 +62279,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
|
61852
62279
|
onClick: nav2.onClick
|
|
61853
62280
|
}, {
|
|
61854
62281
|
default: vue.withCtx(() => [
|
|
61855
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
62282
|
+
vue.createVNode(vue.unref(_sfc_main$O), {
|
|
61856
62283
|
icon: nav2.icon,
|
|
61857
62284
|
size: 1.4,
|
|
61858
62285
|
class: "m-0"
|
|
@@ -62003,7 +62430,7 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
|
62003
62430
|
class: vue.normalizeClass([{ active: isActive2(tab) }, "bgl_tab relative z-1"]),
|
|
62004
62431
|
onClick: ($event) => selectTab(tab)
|
|
62005
62432
|
}, [
|
|
62006
|
-
typeof tab !== "string" && tab.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
62433
|
+
typeof tab !== "string" && tab.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$O), {
|
|
62007
62434
|
key: 0,
|
|
62008
62435
|
icon: tab.icon
|
|
62009
62436
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
@@ -62417,49 +62844,50 @@ const allCountries = countryArray.map(
|
|
|
62417
62844
|
areaCodes
|
|
62418
62845
|
})
|
|
62419
62846
|
);
|
|
62420
|
-
exports.Accordion = _sfc_main$
|
|
62847
|
+
exports.Accordion = _sfc_main$y;
|
|
62421
62848
|
exports.AccordionItem = AccordionItem;
|
|
62422
62849
|
exports.Alert = Alert;
|
|
62423
62850
|
exports.Avatar = Avatar;
|
|
62424
62851
|
exports.Badge = Badge;
|
|
62425
|
-
exports.BagelForm = _sfc_main$
|
|
62852
|
+
exports.BagelForm = _sfc_main$q;
|
|
62426
62853
|
exports.BagelVue = BagelVue;
|
|
62427
|
-
exports.BglField = _sfc_main$
|
|
62428
|
-
exports.BglForm = _sfc_main$
|
|
62854
|
+
exports.BglField = _sfc_main$p;
|
|
62855
|
+
exports.BglForm = _sfc_main$q;
|
|
62429
62856
|
exports.BglVideo = BglVideo;
|
|
62430
62857
|
exports.BottomMenu = BottomMenu;
|
|
62431
62858
|
exports.Btn = Btn;
|
|
62432
|
-
exports.Card = _sfc_main$
|
|
62859
|
+
exports.Card = _sfc_main$B;
|
|
62433
62860
|
exports.Carousel = Carousel;
|
|
62434
62861
|
exports.CheckInput = CheckInput;
|
|
62435
62862
|
exports.Checkbox = Checkbox;
|
|
62436
|
-
exports.ColorPicker = _sfc_main$
|
|
62863
|
+
exports.ColorPicker = _sfc_main$h;
|
|
62437
62864
|
exports.DataPreview = DataPreview;
|
|
62438
|
-
exports.DateInput = _sfc_main$
|
|
62439
|
-
exports.DatePicker = _sfc_main$
|
|
62865
|
+
exports.DateInput = _sfc_main$n;
|
|
62866
|
+
exports.DatePicker = _sfc_main$g;
|
|
62440
62867
|
exports.Dropdown = kt$1;
|
|
62441
62868
|
exports.FileUpload = $el;
|
|
62442
62869
|
exports.Flag = Flag;
|
|
62443
|
-
exports.Icon = _sfc_main$
|
|
62870
|
+
exports.Icon = _sfc_main$O;
|
|
62444
62871
|
exports.JSONInput = JSONInput;
|
|
62445
62872
|
exports.Layout = Layout;
|
|
62446
62873
|
exports.Lineart = _sfc_main$7;
|
|
62447
|
-
exports.ListItem = _sfc_main$
|
|
62874
|
+
exports.ListItem = _sfc_main$H;
|
|
62448
62875
|
exports.ListView = ListView;
|
|
62449
|
-
exports.MapEmbed = _sfc_main$
|
|
62450
|
-
exports.MaterialIcon = _sfc_main$
|
|
62451
|
-
exports.Modal = _sfc_main$
|
|
62452
|
-
exports.ModalConfirm = _sfc_main$
|
|
62876
|
+
exports.MapEmbed = _sfc_main$s;
|
|
62877
|
+
exports.MaterialIcon = _sfc_main$O;
|
|
62878
|
+
exports.Modal = _sfc_main$L;
|
|
62879
|
+
exports.ModalConfirm = _sfc_main$t;
|
|
62453
62880
|
exports.ModalForm = ModalForm;
|
|
62454
62881
|
exports.ModalPlugin = ModalPlugin;
|
|
62455
62882
|
exports.NavBar = NavBar;
|
|
62456
|
-
exports.PageTitle = _sfc_main$
|
|
62883
|
+
exports.PageTitle = _sfc_main$G;
|
|
62457
62884
|
exports.RadioPillsInput = RadioPillsInput;
|
|
62458
|
-
exports.RichText = _sfc_main$
|
|
62885
|
+
exports.RichText = _sfc_main$c;
|
|
62886
|
+
exports.RichText2 = index;
|
|
62459
62887
|
exports.RouterWrapper = RouterWrapper;
|
|
62460
62888
|
exports.SelectInput = SelectInput;
|
|
62461
62889
|
exports.SidebarMenu = SidebarMenu;
|
|
62462
|
-
exports.SignaturePad = _sfc_main$
|
|
62890
|
+
exports.SignaturePad = _sfc_main$a;
|
|
62463
62891
|
exports.TabbedLayout = TabbedLayout;
|
|
62464
62892
|
exports.TableField = TableField;
|
|
62465
62893
|
exports.TableSchema = TableSchema;
|
|
@@ -62468,7 +62896,7 @@ exports.TabsBody = _sfc_main$1;
|
|
|
62468
62896
|
exports.TabsNav = TabsNav;
|
|
62469
62897
|
exports.TelInput = TelInput;
|
|
62470
62898
|
exports.TextInput = TextInput;
|
|
62471
|
-
exports.Title = _sfc_main$
|
|
62899
|
+
exports.Title = _sfc_main$z;
|
|
62472
62900
|
exports.ToggleInput = ToggleInput;
|
|
62473
62901
|
exports.TopBar = TopBar;
|
|
62474
62902
|
exports.allCountries = allCountries;
|