@bagelink/vue 0.0.282 → 0.0.287
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/Avatar.vue.d.ts.map +1 -1
- package/dist/components/ComboBox.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/SelectInput.vue.d.ts.map +1 -1
- package/dist/components/index.d.ts +0 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/index.cjs +196 -313
- package/dist/index.mjs +196 -313
- package/dist/style.css +87 -231
- package/dist/types/materialIcons.d.ts +1 -1
- package/dist/types/materialIcons.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/Accordion.vue +4 -4
- package/src/components/AccordionItem.vue +41 -41
- package/src/components/Avatar.vue +23 -24
- package/src/components/BglVideo.vue +58 -0
- package/src/components/ComboBox.vue +79 -74
- package/src/components/form/inputs/SelectInput.vue +23 -21
- package/src/components/index.ts +0 -1
- package/src/components/layout/Column.vue +6 -0
- package/src/styles/layout.css +26 -5
- package/src/types/materialIcons.ts +1 -0
- package/src/components/charts/BarChart.vue +0 -301
- package/src/components/charts/index.ts +0 -1
package/dist/index.cjs
CHANGED
|
@@ -4880,7 +4880,7 @@ const ModalPlugin = {
|
|
|
4880
4880
|
const props2 = { ...modal.modalOptions, "onUpdate:isModalVisible": () => hideModal(index2) };
|
|
4881
4881
|
if (modal.modalType === "modalForm")
|
|
4882
4882
|
return vue.h(ModalForm, props2, modal.componentSlots);
|
|
4883
|
-
return vue.h(_sfc_main$
|
|
4883
|
+
return vue.h(_sfc_main$y, props2, modal.componentSlots);
|
|
4884
4884
|
});
|
|
4885
4885
|
}
|
|
4886
4886
|
});
|
|
@@ -4958,8 +4958,8 @@ const iffer = (field, itemData) => {
|
|
|
4958
4958
|
return true;
|
|
4959
4959
|
};
|
|
4960
4960
|
const denullify = (itemData, fieldID) => fieldID && itemData ? itemData[fieldID] : null;
|
|
4961
|
-
const _hoisted_1$
|
|
4962
|
-
const _sfc_main$
|
|
4961
|
+
const _hoisted_1$H = { ref: "el" };
|
|
4962
|
+
const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
4963
4963
|
__name: "LangText",
|
|
4964
4964
|
props: {
|
|
4965
4965
|
input: {}
|
|
@@ -4967,7 +4967,7 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
|
4967
4967
|
setup(__props) {
|
|
4968
4968
|
return (_ctx, _cache) => {
|
|
4969
4969
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
4970
|
-
vue.createElementVNode("span", _hoisted_1$
|
|
4970
|
+
vue.createElementVNode("span", _hoisted_1$H, null, 512),
|
|
4971
4971
|
vue.createTextVNode(" " + vue.toDisplayString(_ctx.input), 1)
|
|
4972
4972
|
], 64);
|
|
4973
4973
|
};
|
|
@@ -17080,8 +17080,8 @@ const marks = {
|
|
|
17080
17080
|
}
|
|
17081
17081
|
};
|
|
17082
17082
|
const schema = new Schema({ nodes, marks });
|
|
17083
|
-
const _hoisted_1$
|
|
17084
|
-
const _sfc_main$
|
|
17083
|
+
const _hoisted_1$G = ["id"];
|
|
17084
|
+
const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
17085
17085
|
__name: "RTXEditor",
|
|
17086
17086
|
props: {
|
|
17087
17087
|
elementId: { default: Math.random().toString(36).substr(2, 9) },
|
|
@@ -17158,11 +17158,11 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
17158
17158
|
onClick: focusEditor,
|
|
17159
17159
|
id: `canvas-${_ctx.elementId}`,
|
|
17160
17160
|
onKeydown: _cache[0] || (_cache[0] = vue.withKeys(vue.withModifiers(($event) => _ctx.$emit("keydown.meta.enter"), ["meta"]), ["enter"]))
|
|
17161
|
-
}, null, 40, _hoisted_1$
|
|
17161
|
+
}, null, 40, _hoisted_1$G);
|
|
17162
17162
|
};
|
|
17163
17163
|
}
|
|
17164
17164
|
});
|
|
17165
|
-
const _sfc_main$
|
|
17165
|
+
const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
17166
17166
|
__name: "MaterialIcon",
|
|
17167
17167
|
props: {
|
|
17168
17168
|
icon: {},
|
|
@@ -17177,13 +17177,13 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
|
17177
17177
|
};
|
|
17178
17178
|
}
|
|
17179
17179
|
});
|
|
17180
|
-
const _hoisted_1$
|
|
17181
|
-
const _hoisted_2$
|
|
17182
|
-
const _hoisted_3$
|
|
17183
|
-
const _hoisted_4$
|
|
17184
|
-
const _hoisted_5$
|
|
17185
|
-
const _hoisted_6$
|
|
17186
|
-
const _sfc_main$
|
|
17180
|
+
const _hoisted_1$F = { class: "full-nav" };
|
|
17181
|
+
const _hoisted_2$w = { class: "nav-scroll" };
|
|
17182
|
+
const _hoisted_3$o = { class: "nav-links-wrapper" };
|
|
17183
|
+
const _hoisted_4$i = { class: "tooltip" };
|
|
17184
|
+
const _hoisted_5$f = { class: "bot-buttons-wrapper" };
|
|
17185
|
+
const _hoisted_6$a = { class: "tooltip" };
|
|
17186
|
+
const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
17187
17187
|
__name: "NavBar",
|
|
17188
17188
|
props: {
|
|
17189
17189
|
footerLinks: { default: () => [] },
|
|
@@ -17207,14 +17207,14 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
|
17207
17207
|
"aria-label": "Toggle Navigation",
|
|
17208
17208
|
tabindex: "0"
|
|
17209
17209
|
}, [
|
|
17210
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
17210
|
+
vue.createVNode(vue.unref(_sfc_main$B), {
|
|
17211
17211
|
icon: "chevron_right",
|
|
17212
17212
|
class: "top-arrow"
|
|
17213
17213
|
})
|
|
17214
17214
|
], 32),
|
|
17215
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
17216
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
17217
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
17215
|
+
vue.createElementVNode("div", _hoisted_1$F, [
|
|
17216
|
+
vue.createElementVNode("div", _hoisted_2$w, [
|
|
17217
|
+
vue.createElementVNode("div", _hoisted_3$o, [
|
|
17218
17218
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.links, (link) => {
|
|
17219
17219
|
return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(link.to ? "router-link" : "div"), {
|
|
17220
17220
|
class: "nav-button",
|
|
@@ -17226,17 +17226,17 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
|
17226
17226
|
}
|
|
17227
17227
|
}, {
|
|
17228
17228
|
default: vue.withCtx(() => [
|
|
17229
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
17229
|
+
vue.createVNode(vue.unref(_sfc_main$B), {
|
|
17230
17230
|
icon: link.materialIcon
|
|
17231
17231
|
}, null, 8, ["icon"]),
|
|
17232
|
-
vue.createElementVNode("div", _hoisted_4$
|
|
17232
|
+
vue.createElementVNode("div", _hoisted_4$i, vue.toDisplayString(link.label), 1)
|
|
17233
17233
|
]),
|
|
17234
17234
|
_: 2
|
|
17235
17235
|
}, 1032, ["to", "onClick"]);
|
|
17236
17236
|
}), 128))
|
|
17237
17237
|
])
|
|
17238
17238
|
]),
|
|
17239
|
-
vue.createElementVNode("div", _hoisted_5$
|
|
17239
|
+
vue.createElementVNode("div", _hoisted_5$f, [
|
|
17240
17240
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.footerLinks, (link) => {
|
|
17241
17241
|
return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(link.to ? "router-link" : "div"), {
|
|
17242
17242
|
class: "nav-button",
|
|
@@ -17248,10 +17248,10 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
|
17248
17248
|
key: link.label
|
|
17249
17249
|
}, {
|
|
17250
17250
|
default: vue.withCtx(() => [
|
|
17251
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
17251
|
+
vue.createVNode(vue.unref(_sfc_main$B), {
|
|
17252
17252
|
icon: link.materialIcon
|
|
17253
17253
|
}, null, 8, ["icon"]),
|
|
17254
|
-
vue.createElementVNode("div", _hoisted_6$
|
|
17254
|
+
vue.createElementVNode("div", _hoisted_6$a, vue.toDisplayString(link.label), 1)
|
|
17255
17255
|
]),
|
|
17256
17256
|
_: 2
|
|
17257
17257
|
}, 1032, ["to", "onClick"]);
|
|
@@ -17270,16 +17270,16 @@ const _export_sfc = (sfc, props2) => {
|
|
|
17270
17270
|
}
|
|
17271
17271
|
return target;
|
|
17272
17272
|
};
|
|
17273
|
-
const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17274
|
-
const _hoisted_1$
|
|
17273
|
+
const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-776ccc02"]]);
|
|
17274
|
+
const _hoisted_1$E = {
|
|
17275
17275
|
key: 0,
|
|
17276
17276
|
class: "loading"
|
|
17277
17277
|
};
|
|
17278
|
-
const _hoisted_2$
|
|
17278
|
+
const _hoisted_2$v = {
|
|
17279
17279
|
key: 1,
|
|
17280
17280
|
class: "bgl_btn-flex"
|
|
17281
17281
|
};
|
|
17282
|
-
const _sfc_main$
|
|
17282
|
+
const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
17283
17283
|
__name: "Btn",
|
|
17284
17284
|
props: {
|
|
17285
17285
|
disabled: { type: Boolean, default: false },
|
|
@@ -17365,8 +17365,8 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
17365
17365
|
})
|
|
17366
17366
|
}, {
|
|
17367
17367
|
default: vue.withCtx(() => [
|
|
17368
|
-
_ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
17369
|
-
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
17368
|
+
_ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$E)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$v, [
|
|
17369
|
+
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$B), {
|
|
17370
17370
|
key: 0,
|
|
17371
17371
|
icon: _ctx.icon
|
|
17372
17372
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
@@ -17374,7 +17374,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
17374
17374
|
!vue.unref(slots)["default"] && _ctx.value ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
17375
17375
|
vue.createTextVNode(vue.toDisplayString(_ctx.value), 1)
|
|
17376
17376
|
], 64)) : vue.createCommentVNode("", true),
|
|
17377
|
-
props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
17377
|
+
props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$B), {
|
|
17378
17378
|
key: 2,
|
|
17379
17379
|
icon: props2["icon.end"]
|
|
17380
17380
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true)
|
|
@@ -17385,10 +17385,10 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
17385
17385
|
};
|
|
17386
17386
|
}
|
|
17387
17387
|
});
|
|
17388
|
-
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17389
|
-
const _hoisted_1$
|
|
17390
|
-
const _hoisted_2$
|
|
17391
|
-
const _sfc_main$
|
|
17388
|
+
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-7a7625e7"]]);
|
|
17389
|
+
const _hoisted_1$D = { class: "tool-bar" };
|
|
17390
|
+
const _hoisted_2$u = { class: "modal-footer mt-3" };
|
|
17391
|
+
const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
17392
17392
|
__name: "Modal",
|
|
17393
17393
|
props: {
|
|
17394
17394
|
side: { type: Boolean },
|
|
@@ -17420,13 +17420,13 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
|
17420
17420
|
onClick: _cache[1] || (_cache[1] = () => _ctx.dismissable ? closeModal() : ""),
|
|
17421
17421
|
onKeydown: vue.withKeys(closeModal, ["esc"])
|
|
17422
17422
|
}, [
|
|
17423
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
17423
|
+
vue.createVNode(vue.unref(_sfc_main$m), {
|
|
17424
17424
|
class: "modal",
|
|
17425
17425
|
onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
|
|
17426
17426
|
}, ["stop"]))
|
|
17427
17427
|
}, {
|
|
17428
17428
|
default: vue.withCtx(() => [
|
|
17429
|
-
vue.createElementVNode("header", _hoisted_1$
|
|
17429
|
+
vue.createElementVNode("header", _hoisted_1$D, [
|
|
17430
17430
|
vue.renderSlot(_ctx.$slots, "toolbar"),
|
|
17431
17431
|
vue.createVNode(vue.unref(Btn), {
|
|
17432
17432
|
style: vue.normalizeStyle({ float: _ctx.side ? "left" : "right" }),
|
|
@@ -17434,7 +17434,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
|
17434
17434
|
icon: "close",
|
|
17435
17435
|
onClick: closeModal
|
|
17436
17436
|
}, null, 8, ["style"]),
|
|
17437
|
-
_ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
17437
|
+
_ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$k), {
|
|
17438
17438
|
key: 0,
|
|
17439
17439
|
class: "modal-title",
|
|
17440
17440
|
tag: "h3",
|
|
@@ -17442,7 +17442,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
|
17442
17442
|
}, null, 8, ["label"])) : vue.createCommentVNode("", true)
|
|
17443
17443
|
]),
|
|
17444
17444
|
vue.renderSlot(_ctx.$slots, "default"),
|
|
17445
|
-
vue.createElementVNode("footer", _hoisted_2$
|
|
17445
|
+
vue.createElementVNode("footer", _hoisted_2$u, [
|
|
17446
17446
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.actions, (action, i2) => {
|
|
17447
17447
|
return vue.openBlock(), vue.createBlock(vue.unref(Btn), vue.mergeProps({
|
|
17448
17448
|
key: i2,
|
|
@@ -17459,7 +17459,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
|
17459
17459
|
};
|
|
17460
17460
|
}
|
|
17461
17461
|
});
|
|
17462
|
-
const _sfc_main$
|
|
17462
|
+
const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
17463
17463
|
__name: "ModalForm",
|
|
17464
17464
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
17465
17465
|
side: { type: Boolean },
|
|
@@ -17516,7 +17516,7 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
|
17516
17516
|
}
|
|
17517
17517
|
__expose({ setFormValues });
|
|
17518
17518
|
return (_ctx, _cache) => {
|
|
17519
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
17519
|
+
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$y), {
|
|
17520
17520
|
"onOnUpdate:isModalVisible": props2["onUpdate:isModalVisible"],
|
|
17521
17521
|
side: _ctx.side,
|
|
17522
17522
|
ref_key: "modal",
|
|
@@ -17567,12 +17567,12 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
|
17567
17567
|
};
|
|
17568
17568
|
}
|
|
17569
17569
|
});
|
|
17570
|
-
const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17571
|
-
const _hoisted_1$
|
|
17572
|
-
const _hoisted_2$
|
|
17573
|
-
const _hoisted_3$
|
|
17574
|
-
const _hoisted_4$
|
|
17575
|
-
const _sfc_main$
|
|
17570
|
+
const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-dca6fe18"]]);
|
|
17571
|
+
const _hoisted_1$C = { class: "accordion-item" };
|
|
17572
|
+
const _hoisted_2$t = ["aria-expanded", "aria-controls"];
|
|
17573
|
+
const _hoisted_3$n = { class: "accordion-label" };
|
|
17574
|
+
const _hoisted_4$h = ["id", "aria-hidden"];
|
|
17575
|
+
const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
17576
17576
|
__name: "AccordionItem",
|
|
17577
17577
|
props: {
|
|
17578
17578
|
label: {},
|
|
@@ -17583,33 +17583,33 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
17583
17583
|
let open = vue.ref(false);
|
|
17584
17584
|
const accordionState = vue.inject("accordionState");
|
|
17585
17585
|
const id = props2.id || Math.random().toString(36).substring(7);
|
|
17586
|
-
vue.watch(() => accordionState.openItem, (currentOpenId) => {
|
|
17586
|
+
vue.watch(() => accordionState == null ? void 0 : accordionState.openItem, (currentOpenId) => {
|
|
17587
17587
|
if (currentOpenId !== id) {
|
|
17588
17588
|
open.value = false;
|
|
17589
17589
|
}
|
|
17590
17590
|
}, { immediate: true });
|
|
17591
17591
|
function toggle() {
|
|
17592
17592
|
open.value = !open.value;
|
|
17593
|
-
if (open.value)
|
|
17593
|
+
if (open.value && (accordionState == null ? void 0 : accordionState.openItem))
|
|
17594
17594
|
accordionState.openItem = id;
|
|
17595
|
-
else if (accordionState.openItem === id)
|
|
17595
|
+
else if ((accordionState == null ? void 0 : accordionState.openItem) === id)
|
|
17596
17596
|
accordionState.openItem = null;
|
|
17597
17597
|
}
|
|
17598
17598
|
return (_ctx, _cache) => {
|
|
17599
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
17599
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$C, [
|
|
17600
17600
|
vue.createElementVNode("button", {
|
|
17601
17601
|
onClick: _cache[0] || (_cache[0] = ($event) => toggle()),
|
|
17602
17602
|
"aria-expanded": vue.unref(open) ? "true" : "false",
|
|
17603
17603
|
class: "accordion-head",
|
|
17604
17604
|
"aria-controls": `accordion-body-${vue.unref(id)}`
|
|
17605
17605
|
}, [
|
|
17606
|
-
vue.createElementVNode("span", _hoisted_3$
|
|
17606
|
+
vue.createElementVNode("span", _hoisted_3$n, vue.toDisplayString(_ctx.label), 1),
|
|
17607
17607
|
vue.createElementVNode("div", {
|
|
17608
17608
|
class: vue.normalizeClass(["accordion-icon", { open: vue.unref(open) }])
|
|
17609
17609
|
}, [
|
|
17610
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
17610
|
+
vue.createVNode(vue.unref(_sfc_main$B), { icon: "expand_more" })
|
|
17611
17611
|
], 2)
|
|
17612
|
-
], 8, _hoisted_2$
|
|
17612
|
+
], 8, _hoisted_2$t),
|
|
17613
17613
|
vue.createVNode(vue.Transition, { name: "expand" }, {
|
|
17614
17614
|
default: vue.withCtx(() => [
|
|
17615
17615
|
vue.unref(open) ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -17619,7 +17619,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
17619
17619
|
"aria-hidden": vue.unref(open) ? "false" : "true"
|
|
17620
17620
|
}, [
|
|
17621
17621
|
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
17622
|
-
], 8, _hoisted_4$
|
|
17622
|
+
], 8, _hoisted_4$h)) : vue.createCommentVNode("", true)
|
|
17623
17623
|
]),
|
|
17624
17624
|
_: 3
|
|
17625
17625
|
})
|
|
@@ -17627,16 +17627,16 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
17627
17627
|
};
|
|
17628
17628
|
}
|
|
17629
17629
|
});
|
|
17630
|
-
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17631
|
-
const _hoisted_1$
|
|
17632
|
-
const _hoisted_2$
|
|
17633
|
-
const _hoisted_3$
|
|
17630
|
+
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-bf74738b"]]);
|
|
17631
|
+
const _hoisted_1$B = { class: "card list-view grid thin" };
|
|
17632
|
+
const _hoisted_2$s = { class: "list-header flex gap-3 align-items-top" };
|
|
17633
|
+
const _hoisted_3$m = {
|
|
17634
17634
|
key: 0,
|
|
17635
17635
|
class: "bagel-input search-wrap"
|
|
17636
17636
|
};
|
|
17637
|
-
const _hoisted_4$
|
|
17638
|
-
const _hoisted_5$
|
|
17639
|
-
const _sfc_main$
|
|
17637
|
+
const _hoisted_4$g = ["placeholder"];
|
|
17638
|
+
const _hoisted_5$e = { class: "list-content grid auto-flow-rows align-items-start" };
|
|
17639
|
+
const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
17640
17640
|
__name: "ListView",
|
|
17641
17641
|
props: {
|
|
17642
17642
|
enableAdd: { type: Boolean },
|
|
@@ -17652,17 +17652,17 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
17652
17652
|
debounce(() => emit2("debounce", searchTerm.value));
|
|
17653
17653
|
};
|
|
17654
17654
|
return (_ctx, _cache) => {
|
|
17655
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
17656
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
17657
|
-
_ctx.enableSearch ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$
|
|
17655
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$B, [
|
|
17656
|
+
vue.createElementVNode("div", _hoisted_2$s, [
|
|
17657
|
+
_ctx.enableSearch ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$m, [
|
|
17658
17658
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
17659
17659
|
placeholder: _ctx.searchPlaceholder,
|
|
17660
17660
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => searchTerm.value = $event),
|
|
17661
17661
|
onInput: _cache[1] || (_cache[1] = ($event) => search())
|
|
17662
|
-
}, null, 40, _hoisted_4$
|
|
17662
|
+
}, null, 40, _hoisted_4$g), [
|
|
17663
17663
|
[vue.vModelText, searchTerm.value]
|
|
17664
17664
|
]),
|
|
17665
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
17665
|
+
vue.createVNode(vue.unref(_sfc_main$B), {
|
|
17666
17666
|
class: "txtgray",
|
|
17667
17667
|
icon: "search"
|
|
17668
17668
|
})
|
|
@@ -17673,16 +17673,16 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
17673
17673
|
onClick: _cache[2] || (_cache[2] = ($event) => emit2("add"))
|
|
17674
17674
|
})) : vue.createCommentVNode("", true)
|
|
17675
17675
|
]),
|
|
17676
|
-
vue.createElementVNode("div", _hoisted_5$
|
|
17676
|
+
vue.createElementVNode("div", _hoisted_5$e, [
|
|
17677
17677
|
vue.renderSlot(_ctx.$slots, "default")
|
|
17678
17678
|
])
|
|
17679
17679
|
]);
|
|
17680
17680
|
};
|
|
17681
17681
|
}
|
|
17682
17682
|
});
|
|
17683
|
-
const _hoisted_1$
|
|
17684
|
-
const _hoisted_2$
|
|
17685
|
-
const _sfc_main$
|
|
17683
|
+
const _hoisted_1$A = { class: "txt16 no-margin ellipsis" };
|
|
17684
|
+
const _hoisted_2$r = { class: "txt14 no-margin txtgray ellipsis" };
|
|
17685
|
+
const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
17686
17686
|
__name: "ListItem",
|
|
17687
17687
|
props: {
|
|
17688
17688
|
src: {},
|
|
@@ -17706,11 +17706,11 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
|
17706
17706
|
size: 40
|
|
17707
17707
|
}, null, 8, ["name", "src"])) : vue.createCommentVNode("", true),
|
|
17708
17708
|
vue.createElementVNode("div", null, [
|
|
17709
|
-
vue.createElementVNode("p", _hoisted_1$
|
|
17709
|
+
vue.createElementVNode("p", _hoisted_1$A, [
|
|
17710
17710
|
vue.createTextVNode(vue.toDisplayString(_ctx.title) + " ", 1),
|
|
17711
17711
|
vue.renderSlot(_ctx.$slots, "default")
|
|
17712
17712
|
]),
|
|
17713
|
-
vue.createElementVNode("p", _hoisted_2$
|
|
17713
|
+
vue.createElementVNode("p", _hoisted_2$r, [
|
|
17714
17714
|
vue.createTextVNode(vue.toDisplayString(_ctx.subtitle) + " ", 1),
|
|
17715
17715
|
vue.renderSlot(_ctx.$slots, "subtitle")
|
|
17716
17716
|
])
|
|
@@ -17721,10 +17721,10 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
|
17721
17721
|
};
|
|
17722
17722
|
}
|
|
17723
17723
|
});
|
|
17724
|
-
const _hoisted_1$
|
|
17725
|
-
const _hoisted_2$
|
|
17726
|
-
const _hoisted_3$
|
|
17727
|
-
const _sfc_main$
|
|
17724
|
+
const _hoisted_1$z = { class: "card tabs-top" };
|
|
17725
|
+
const _hoisted_2$q = { class: "tabs grid auto-flow-columns fit-content" };
|
|
17726
|
+
const _hoisted_3$l = ["onClick"];
|
|
17727
|
+
const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
17728
17728
|
__name: "TabbedLayout",
|
|
17729
17729
|
props: {
|
|
17730
17730
|
title: {},
|
|
@@ -17759,9 +17759,9 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
17759
17759
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
17760
17760
|
class: vue.normalizeClass(["h-100 grid list-view gap-3", { "side-tabs": _ctx.sideTabs }])
|
|
17761
17761
|
}, [
|
|
17762
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
17762
|
+
vue.createElementVNode("div", _hoisted_1$z, [
|
|
17763
17763
|
vue.renderSlot(_ctx.$slots, "top-section", {}, void 0, true),
|
|
17764
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
17764
|
+
vue.createElementVNode("div", _hoisted_2$q, [
|
|
17765
17765
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.tabs, (tab) => {
|
|
17766
17766
|
var _a2;
|
|
17767
17767
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -17770,7 +17770,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
17770
17770
|
}, "tab"]),
|
|
17771
17771
|
key: tab,
|
|
17772
17772
|
onClick: ($event) => changeTab(tab)
|
|
17773
|
-
}, vue.toDisplayString(tab), 11, _hoisted_3$
|
|
17773
|
+
}, vue.toDisplayString(tab), 11, _hoisted_3$l);
|
|
17774
17774
|
}), 128))
|
|
17775
17775
|
])
|
|
17776
17776
|
]),
|
|
@@ -17786,16 +17786,16 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
17786
17786
|
};
|
|
17787
17787
|
}
|
|
17788
17788
|
});
|
|
17789
|
-
const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17790
|
-
const _hoisted_1$
|
|
17791
|
-
const _hoisted_2$
|
|
17792
|
-
const _hoisted_3$
|
|
17793
|
-
const _hoisted_4$
|
|
17794
|
-
const _hoisted_5$
|
|
17795
|
-
const _hoisted_6$
|
|
17796
|
-
const _hoisted_7$
|
|
17797
|
-
const _hoisted_8$
|
|
17798
|
-
const _sfc_main$
|
|
17789
|
+
const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-09fce741"]]);
|
|
17790
|
+
const _hoisted_1$y = { class: "comments-wrap" };
|
|
17791
|
+
const _hoisted_2$p = { class: "comment-list" };
|
|
17792
|
+
const _hoisted_3$k = { class: "comment-top" };
|
|
17793
|
+
const _hoisted_4$f = { class: "comment-owner" };
|
|
17794
|
+
const _hoisted_5$d = { class: "comment-time" };
|
|
17795
|
+
const _hoisted_6$9 = { class: "comment-actions" };
|
|
17796
|
+
const _hoisted_7$5 = ["innerHTML"];
|
|
17797
|
+
const _hoisted_8$2 = { class: "new-comment" };
|
|
17798
|
+
const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
17799
17799
|
__name: "Comments",
|
|
17800
17800
|
props: {
|
|
17801
17801
|
ref_table: {},
|
|
@@ -17838,8 +17838,8 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
17838
17838
|
void fetchData();
|
|
17839
17839
|
};
|
|
17840
17840
|
return (_ctx, _cache) => {
|
|
17841
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
17842
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
17841
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$y, [
|
|
17842
|
+
vue.createElementVNode("div", _hoisted_2$p, [
|
|
17843
17843
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(comments), (comment) => {
|
|
17844
17844
|
var _a2, _b, _c;
|
|
17845
17845
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -17849,23 +17849,23 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
17849
17849
|
}, "comment"]),
|
|
17850
17850
|
key: comment.id
|
|
17851
17851
|
}, [
|
|
17852
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
17853
|
-
vue.createElementVNode("div", _hoisted_4$
|
|
17854
|
-
vue.createElementVNode("div", _hoisted_5$
|
|
17855
|
-
vue.createElementVNode("div", _hoisted_6$
|
|
17856
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
17852
|
+
vue.createElementVNode("div", _hoisted_3$k, [
|
|
17853
|
+
vue.createElementVNode("div", _hoisted_4$f, vue.toDisplayString(comment.sender.first_name) + " " + vue.toDisplayString(comment.sender.last_name), 1),
|
|
17854
|
+
vue.createElementVNode("div", _hoisted_5$d, vue.toDisplayString(comment.updated_at.split("T")[0]), 1),
|
|
17855
|
+
vue.createElementVNode("div", _hoisted_6$9, [
|
|
17856
|
+
vue.createVNode(vue.unref(_sfc_main$B), {
|
|
17857
17857
|
size: 1,
|
|
17858
17858
|
class: "edit",
|
|
17859
17859
|
icon: "edit",
|
|
17860
17860
|
onClick: ($event) => vue.isRef(editComment) ? editComment.value = comment : editComment = comment
|
|
17861
17861
|
}, null, 8, ["onClick"]),
|
|
17862
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
17862
|
+
vue.createVNode(vue.unref(_sfc_main$B), {
|
|
17863
17863
|
size: 1.2,
|
|
17864
17864
|
class: "delete",
|
|
17865
17865
|
icon: "delete",
|
|
17866
17866
|
onClick: ($event) => deleteComment(comment.id)
|
|
17867
17867
|
}, null, 8, ["onClick"]),
|
|
17868
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
17868
|
+
vue.createVNode(vue.unref(_sfc_main$B), {
|
|
17869
17869
|
size: 1.2,
|
|
17870
17870
|
class: "save",
|
|
17871
17871
|
icon: "save",
|
|
@@ -17873,7 +17873,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
17873
17873
|
})
|
|
17874
17874
|
])
|
|
17875
17875
|
]),
|
|
17876
|
-
vue.unref(editComment) !== null && ((_c = vue.unref(editComment)) == null ? void 0 : _c.id) === comment.id ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
17876
|
+
vue.unref(editComment) !== null && ((_c = vue.unref(editComment)) == null ? void 0 : _c.id) === comment.id ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$C), {
|
|
17877
17877
|
key: 0,
|
|
17878
17878
|
modelValue: vue.unref(editComment).body_html,
|
|
17879
17879
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(editComment).body_html = $event),
|
|
@@ -17882,12 +17882,12 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
17882
17882
|
key: 1,
|
|
17883
17883
|
class: "editor-wrapper",
|
|
17884
17884
|
innerHTML: comment.body_html
|
|
17885
|
-
}, null, 8, _hoisted_7$
|
|
17885
|
+
}, null, 8, _hoisted_7$5))
|
|
17886
17886
|
], 2);
|
|
17887
17887
|
}), 128))
|
|
17888
17888
|
]),
|
|
17889
|
-
vue.createElementVNode("div", _hoisted_8$
|
|
17890
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
17889
|
+
vue.createElementVNode("div", _hoisted_8$2, [
|
|
17890
|
+
vue.createVNode(vue.unref(_sfc_main$C), {
|
|
17891
17891
|
class: "comment-input",
|
|
17892
17892
|
modelValue: vue.unref(bodyHtml),
|
|
17893
17893
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(bodyHtml) ? bodyHtml.value = $event : bodyHtml = $event),
|
|
@@ -17907,10 +17907,10 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
17907
17907
|
};
|
|
17908
17908
|
}
|
|
17909
17909
|
});
|
|
17910
|
-
const Comments = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17911
|
-
const _hoisted_1$
|
|
17912
|
-
const _hoisted_2$
|
|
17913
|
-
const _sfc_main$
|
|
17910
|
+
const Comments = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-c4b41dc0"]]);
|
|
17911
|
+
const _hoisted_1$x = { class: "page-top" };
|
|
17912
|
+
const _hoisted_2$o = { class: "top-title" };
|
|
17913
|
+
const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
17914
17914
|
__name: "PageTitle",
|
|
17915
17915
|
props: {
|
|
17916
17916
|
value: {
|
|
@@ -17920,8 +17920,8 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
17920
17920
|
},
|
|
17921
17921
|
setup(__props) {
|
|
17922
17922
|
return (_ctx, _cache) => {
|
|
17923
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
17924
|
-
vue.createElementVNode("h1", _hoisted_2$
|
|
17923
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$x, [
|
|
17924
|
+
vue.createElementVNode("h1", _hoisted_2$o, [
|
|
17925
17925
|
vue.renderSlot(_ctx.$slots, "default"),
|
|
17926
17926
|
vue.createTextVNode(" " + vue.toDisplayString(__props.value), 1)
|
|
17927
17927
|
])
|
|
@@ -17929,14 +17929,14 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
17929
17929
|
};
|
|
17930
17930
|
}
|
|
17931
17931
|
});
|
|
17932
|
-
const _hoisted_1$
|
|
17933
|
-
const _hoisted_2$
|
|
17934
|
-
const _hoisted_3$
|
|
17935
|
-
const _hoisted_4$
|
|
17936
|
-
const _hoisted_5$
|
|
17937
|
-
const _hoisted_6$
|
|
17938
|
-
const _hoisted_7$
|
|
17939
|
-
const _sfc_main$
|
|
17932
|
+
const _hoisted_1$w = { class: "table-list-wrap h-100" };
|
|
17933
|
+
const _hoisted_2$n = { class: "infinite-wrapper" };
|
|
17934
|
+
const _hoisted_3$j = { class: "row first-row" };
|
|
17935
|
+
const _hoisted_4$e = ["onClick"];
|
|
17936
|
+
const _hoisted_5$c = { class: "flex" };
|
|
17937
|
+
const _hoisted_6$8 = ["onClick"];
|
|
17938
|
+
const _hoisted_7$4 = { key: 1 };
|
|
17939
|
+
const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
17940
17940
|
__name: "TableSchema",
|
|
17941
17941
|
props: {
|
|
17942
17942
|
data: {},
|
|
@@ -17970,27 +17970,27 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
17970
17970
|
emit2("orderBy", `${fieldname} ${sortDirection.value}`.trim());
|
|
17971
17971
|
};
|
|
17972
17972
|
return (_ctx, _cache) => {
|
|
17973
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
17974
|
-
vue.createElementVNode("table", _hoisted_2$
|
|
17975
|
-
vue.createElementVNode("thead", _hoisted_3$
|
|
17973
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$w, [
|
|
17974
|
+
vue.createElementVNode("table", _hoisted_2$n, [
|
|
17975
|
+
vue.createElementVNode("thead", _hoisted_3$j, [
|
|
17976
17976
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(computedSchema.value, (field) => {
|
|
17977
17977
|
return vue.openBlock(), vue.createElementBlock("th", {
|
|
17978
17978
|
class: "col",
|
|
17979
17979
|
key: field.id,
|
|
17980
17980
|
onClick: ($event) => sort2((field == null ? void 0 : field.id) || "")
|
|
17981
17981
|
}, [
|
|
17982
|
-
vue.createElementVNode("div", _hoisted_5$
|
|
17982
|
+
vue.createElementVNode("div", _hoisted_5$c, [
|
|
17983
17983
|
vue.createTextVNode(vue.toDisplayString(field.id) + " ", 1),
|
|
17984
17984
|
vue.createElementVNode("div", {
|
|
17985
17985
|
class: vue.normalizeClass(["list-arrows", { sorted: vue.unref(sortField) === field.id }])
|
|
17986
17986
|
}, [
|
|
17987
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
17987
|
+
vue.createVNode(vue.unref(_sfc_main$B), {
|
|
17988
17988
|
class: vue.normalizeClass({ desc: vue.unref(sortDirection) === "DESC" }),
|
|
17989
17989
|
icon: "keyboard_arrow_up"
|
|
17990
17990
|
}, null, 8, ["class"])
|
|
17991
17991
|
], 2)
|
|
17992
17992
|
])
|
|
17993
|
-
], 8, _hoisted_4$
|
|
17993
|
+
], 8, _hoisted_4$e);
|
|
17994
17994
|
}), 128))
|
|
17995
17995
|
]),
|
|
17996
17996
|
vue.createElementVNode("tbody", {
|
|
@@ -18012,7 +18012,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
18012
18012
|
key: 0,
|
|
18013
18013
|
row,
|
|
18014
18014
|
field
|
|
18015
|
-
}, void 0, true) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$
|
|
18015
|
+
}, void 0, true) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$4, [
|
|
18016
18016
|
vue.createVNode(vue.unref(_sfc_main$g), {
|
|
18017
18017
|
field,
|
|
18018
18018
|
modelValue: row
|
|
@@ -18020,7 +18020,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
18020
18020
|
]))
|
|
18021
18021
|
]);
|
|
18022
18022
|
}), 128))
|
|
18023
|
-
], 8, _hoisted_6$
|
|
18023
|
+
], 8, _hoisted_6$8);
|
|
18024
18024
|
}), 128))
|
|
18025
18025
|
], 2)
|
|
18026
18026
|
])
|
|
@@ -18028,16 +18028,16 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
18028
18028
|
};
|
|
18029
18029
|
}
|
|
18030
18030
|
});
|
|
18031
|
-
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18032
|
-
const _sfc_main$
|
|
18033
|
-
const _hoisted_1$
|
|
18031
|
+
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-2137a7a8"]]);
|
|
18032
|
+
const _sfc_main$p = {};
|
|
18033
|
+
const _hoisted_1$v = { class: "flex space-between" };
|
|
18034
18034
|
function _sfc_render$1(_ctx, _cache) {
|
|
18035
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
18035
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$v, [
|
|
18036
18036
|
vue.renderSlot(_ctx.$slots, "default")
|
|
18037
18037
|
]);
|
|
18038
18038
|
}
|
|
18039
|
-
const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18040
|
-
const _sfc_main$
|
|
18039
|
+
const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$1]]);
|
|
18040
|
+
const _sfc_main$o = {};
|
|
18041
18041
|
function _sfc_render(_ctx, _cache) {
|
|
18042
18042
|
const _component_router_view = vue.resolveComponent("router-view");
|
|
18043
18043
|
return vue.openBlock(), vue.createBlock(_component_router_view, null, {
|
|
@@ -18059,20 +18059,20 @@ function _sfc_render(_ctx, _cache) {
|
|
|
18059
18059
|
_: 1
|
|
18060
18060
|
});
|
|
18061
18061
|
}
|
|
18062
|
-
const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18063
|
-
const _hoisted_1$
|
|
18062
|
+
const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render]]);
|
|
18063
|
+
const _hoisted_1$u = {
|
|
18064
18064
|
key: 0,
|
|
18065
18065
|
class: "data"
|
|
18066
18066
|
};
|
|
18067
|
-
const _hoisted_2$
|
|
18067
|
+
const _hoisted_2$m = {
|
|
18068
18068
|
key: 0,
|
|
18069
18069
|
class: "data-row"
|
|
18070
18070
|
};
|
|
18071
|
-
const _hoisted_3$
|
|
18072
|
-
const _hoisted_4$
|
|
18073
|
-
const _hoisted_5$
|
|
18074
|
-
const _hoisted_6$
|
|
18075
|
-
const _sfc_main$
|
|
18071
|
+
const _hoisted_3$i = { class: "key" };
|
|
18072
|
+
const _hoisted_4$d = { key: 1 };
|
|
18073
|
+
const _hoisted_5$b = { class: "key" };
|
|
18074
|
+
const _hoisted_6$7 = { class: "vlue" };
|
|
18075
|
+
const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
18076
18076
|
__name: "DataPreview",
|
|
18077
18077
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
18078
18078
|
schema: {},
|
|
@@ -18086,8 +18086,8 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
|
18086
18086
|
const itemData = vue.useModel(__props, "data");
|
|
18087
18087
|
return (_ctx, _cache) => {
|
|
18088
18088
|
var _a2;
|
|
18089
|
-
return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
18090
|
-
_ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
18089
|
+
return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$u, [
|
|
18090
|
+
_ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$k), {
|
|
18091
18091
|
key: 0,
|
|
18092
18092
|
label: _ctx.title
|
|
18093
18093
|
}, null, 8, ["label"])) : vue.createCommentVNode("", true),
|
|
@@ -18095,8 +18095,8 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
|
18095
18095
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, {
|
|
18096
18096
|
key: field.id
|
|
18097
18097
|
}, [
|
|
18098
|
-
vue.unref(iffer)(field, itemData.value) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
18099
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
18098
|
+
vue.unref(iffer)(field, itemData.value) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$m, [
|
|
18099
|
+
vue.createElementVNode("div", _hoisted_3$i, vue.toDisplayString((field == null ? void 0 : field.label) || vue.unref(keyToLabel)(field.id)), 1),
|
|
18100
18100
|
vue.createVNode(vue.unref(_sfc_main$g), {
|
|
18101
18101
|
field,
|
|
18102
18102
|
modelValue: itemData.value,
|
|
@@ -18105,14 +18105,14 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
|
18105
18105
|
])) : vue.createCommentVNode("", true)
|
|
18106
18106
|
], 64);
|
|
18107
18107
|
}), 128)),
|
|
18108
|
-
!((_a2 = _ctx.schema) == null ? void 0 : _a2.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$
|
|
18108
|
+
!((_a2 = _ctx.schema) == null ? void 0 : _a2.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$d, [
|
|
18109
18109
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(Object.entries(itemData.value), ([key, value]) => {
|
|
18110
18110
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
18111
18111
|
class: "data-row",
|
|
18112
18112
|
key
|
|
18113
18113
|
}, [
|
|
18114
|
-
vue.createElementVNode("div", _hoisted_5$
|
|
18115
|
-
vue.createElementVNode("div", _hoisted_6$
|
|
18114
|
+
vue.createElementVNode("div", _hoisted_5$b, vue.toDisplayString(vue.unref(keyToLabel)(key)), 1),
|
|
18115
|
+
vue.createElementVNode("div", _hoisted_6$7, vue.toDisplayString(value), 1)
|
|
18116
18116
|
]);
|
|
18117
18117
|
}), 128))
|
|
18118
18118
|
])) : vue.createCommentVNode("", true),
|
|
@@ -18121,8 +18121,8 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
|
18121
18121
|
};
|
|
18122
18122
|
}
|
|
18123
18123
|
});
|
|
18124
|
-
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18125
|
-
const _sfc_main$
|
|
18124
|
+
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-bb2526f9"]]);
|
|
18125
|
+
const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
18126
18126
|
__name: "Card",
|
|
18127
18127
|
props: {
|
|
18128
18128
|
thin: { type: Boolean },
|
|
@@ -18140,8 +18140,8 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
|
18140
18140
|
};
|
|
18141
18141
|
}
|
|
18142
18142
|
});
|
|
18143
|
-
const _hoisted_1$
|
|
18144
|
-
const _sfc_main$
|
|
18143
|
+
const _hoisted_1$t = ["src", "alt"];
|
|
18144
|
+
const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
18145
18145
|
__name: "Avatar",
|
|
18146
18146
|
props: {
|
|
18147
18147
|
fallback: {},
|
|
@@ -18159,7 +18159,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
18159
18159
|
key: 0,
|
|
18160
18160
|
src: _ctx.src,
|
|
18161
18161
|
alt: _ctx.name
|
|
18162
|
-
}, null, 8, _hoisted_1$
|
|
18162
|
+
}, null, 8, _hoisted_1$t)) : (vue.openBlock(), vue.createElementBlock("p", {
|
|
18163
18163
|
key: 1,
|
|
18164
18164
|
style: vue.normalizeStyle({ "line-height": `${_ctx.size * 0.9}px` })
|
|
18165
18165
|
}, vue.toDisplayString(_ctx.fallback || vue.unref(initials)(_ctx.name || "")), 5))
|
|
@@ -18167,8 +18167,8 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
18167
18167
|
};
|
|
18168
18168
|
}
|
|
18169
18169
|
});
|
|
18170
|
-
const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18171
|
-
const _sfc_main$
|
|
18170
|
+
const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-b46163a3"]]);
|
|
18171
|
+
const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
18172
18172
|
__name: "Title",
|
|
18173
18173
|
props: {
|
|
18174
18174
|
value: {
|
|
@@ -18196,7 +18196,7 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
|
18196
18196
|
};
|
|
18197
18197
|
}
|
|
18198
18198
|
});
|
|
18199
|
-
const _sfc_main$
|
|
18199
|
+
const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
18200
18200
|
__name: "Accordion",
|
|
18201
18201
|
setup(__props) {
|
|
18202
18202
|
const state = vue.reactive({
|
|
@@ -18210,8 +18210,8 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
|
18210
18210
|
};
|
|
18211
18211
|
}
|
|
18212
18212
|
});
|
|
18213
|
-
const _hoisted_1$
|
|
18214
|
-
const _sfc_main$
|
|
18213
|
+
const _hoisted_1$s = ["onClick"];
|
|
18214
|
+
const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
18215
18215
|
__name: "ComboBox",
|
|
18216
18216
|
props: {
|
|
18217
18217
|
options: {},
|
|
@@ -18224,9 +18224,9 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
18224
18224
|
emits: ["update:modelValue"],
|
|
18225
18225
|
setup(__props, { emit: __emit }) {
|
|
18226
18226
|
let open = vue.ref(false);
|
|
18227
|
-
let selectedItem = vue.ref();
|
|
18228
18227
|
const searchInput = vue.ref(null);
|
|
18229
18228
|
const props2 = __props;
|
|
18229
|
+
let selectedItem = vue.ref();
|
|
18230
18230
|
let search = vue.ref("");
|
|
18231
18231
|
const toggle = () => {
|
|
18232
18232
|
open.value = !open.value;
|
|
@@ -18281,13 +18281,17 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
18281
18281
|
emit2("update:modelValue", selectedItem.value);
|
|
18282
18282
|
open.value = false;
|
|
18283
18283
|
};
|
|
18284
|
+
vue.watch(() => props2.modelValue, (value) => {
|
|
18285
|
+
if (value !== selectedItem.value)
|
|
18286
|
+
selectedItem.value = value;
|
|
18287
|
+
}, { immediate: true });
|
|
18284
18288
|
return (_ctx, _cache) => {
|
|
18285
18289
|
return vue.openBlock(), vue.createBlock(vue.unref(kt$1), {
|
|
18286
18290
|
placement: "auto-start",
|
|
18287
18291
|
class: "bagel-input combobox"
|
|
18288
18292
|
}, {
|
|
18289
18293
|
popper: vue.withCtx(({ hide }) => [
|
|
18290
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
18294
|
+
vue.createVNode(vue.unref(_sfc_main$m), {
|
|
18291
18295
|
thin: "",
|
|
18292
18296
|
class: "combobox-options"
|
|
18293
18297
|
}, {
|
|
@@ -18312,11 +18316,11 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
18312
18316
|
}
|
|
18313
18317
|
}, [
|
|
18314
18318
|
vue.createElementVNode("span", null, vue.toDisplayString(label(option2)), 1),
|
|
18315
|
-
isSelected(option2) ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
18319
|
+
isSelected(option2) ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$B), {
|
|
18316
18320
|
key: 0,
|
|
18317
18321
|
icon: "check"
|
|
18318
18322
|
})) : vue.createCommentVNode("", true)
|
|
18319
|
-
], 10, _hoisted_1$
|
|
18323
|
+
], 10, _hoisted_1$s);
|
|
18320
18324
|
}), 128))
|
|
18321
18325
|
]),
|
|
18322
18326
|
_: 2
|
|
@@ -18329,7 +18333,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
18329
18333
|
onClick: toggle
|
|
18330
18334
|
}, [
|
|
18331
18335
|
vue.createTextVNode(vue.toDisplayString(valueToLabel(vue.unref(selectedItem)) || _ctx.placeholder || "Select") + " ", 1),
|
|
18332
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
18336
|
+
vue.createVNode(vue.unref(_sfc_main$B), vue.normalizeProps(vue.guardReactiveProps({ "icon": vue.unref(open) ? "unfold_less" : "unfold_more" })), null, 16)
|
|
18333
18337
|
]),
|
|
18334
18338
|
_ctx.required ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", {
|
|
18335
18339
|
key: 0,
|
|
@@ -18345,126 +18349,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
18345
18349
|
};
|
|
18346
18350
|
}
|
|
18347
18351
|
});
|
|
18348
|
-
const ComboBox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18349
|
-
const _withScopeId$2 = (n2) => (vue.pushScopeId("data-v-fe5af582"), n2 = n2(), vue.popScopeId(), n2);
|
|
18350
|
-
const _hoisted_1$s = { class: "bar-chart" };
|
|
18351
|
-
const _hoisted_2$n = {
|
|
18352
|
-
key: 0,
|
|
18353
|
-
class: "group-wrap"
|
|
18354
|
-
};
|
|
18355
|
-
const _hoisted_3$i = { class: "group-title" };
|
|
18356
|
-
const _hoisted_4$d = {
|
|
18357
|
-
key: 1,
|
|
18358
|
-
class: "bar-wrap"
|
|
18359
|
-
};
|
|
18360
|
-
const _hoisted_5$b = { class: "bar-txt" };
|
|
18361
|
-
const _hoisted_6$7 = { class: "factor" };
|
|
18362
|
-
const _hoisted_7$4 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ vue.createElementVNode("div", { class: "red-bar" }, null, -1));
|
|
18363
|
-
const _hoisted_8$2 = { class: "bar-lines" };
|
|
18364
|
-
const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
18365
|
-
__name: "BarChart",
|
|
18366
|
-
props: {
|
|
18367
|
-
title: {},
|
|
18368
|
-
showMarks: { type: Boolean },
|
|
18369
|
-
flood: {},
|
|
18370
|
-
modelValue: {}
|
|
18371
|
-
},
|
|
18372
|
-
setup(__props) {
|
|
18373
|
-
vue.useCssVars((_ctx) => ({
|
|
18374
|
-
"b74eb91e": floodPercent.value
|
|
18375
|
-
}));
|
|
18376
|
-
const props2 = __props;
|
|
18377
|
-
const loaded = vue.ref(false);
|
|
18378
|
-
vue.onMounted(() => {
|
|
18379
|
-
setTimeout(() => {
|
|
18380
|
-
loaded.value = true;
|
|
18381
|
-
}, 400);
|
|
18382
|
-
});
|
|
18383
|
-
const dataArray = vue.computed(
|
|
18384
|
-
() => props2.modelValue
|
|
18385
|
-
// const allData = []
|
|
18386
|
-
// for (const item of props.modelValue) {
|
|
18387
|
-
// if (item.group) {
|
|
18388
|
-
// let groupIndex = allData.findIndex(d => d.group === item.group)
|
|
18389
|
-
// if (groupIndex > -1) allData[groupIndex].data?.push(item);
|
|
18390
|
-
// else allData.push({ group: item.group, data: [item] })
|
|
18391
|
-
// } else {
|
|
18392
|
-
// allData.push(item)
|
|
18393
|
-
// }
|
|
18394
|
-
// }
|
|
18395
|
-
// return allData;
|
|
18396
|
-
);
|
|
18397
|
-
const maxValue = vue.computed(
|
|
18398
|
-
() => Math.ceil(
|
|
18399
|
-
Math.max(
|
|
18400
|
-
...dataArray.value.map((d2) => d2.value),
|
|
18401
|
-
...dataArray.value.map((d2) => (d2 == null ? void 0 : d2.compareValue) || 0)
|
|
18402
|
-
)
|
|
18403
|
-
)
|
|
18404
|
-
);
|
|
18405
|
-
const marks2 = vue.computed(() => {
|
|
18406
|
-
const marksArray = [];
|
|
18407
|
-
for (let i2 = 0; i2 <= 5; i2 += 1) {
|
|
18408
|
-
const step = i2 * maxValue.value / 5;
|
|
18409
|
-
marksArray.push(Math.round(step / 10) * 10);
|
|
18410
|
-
}
|
|
18411
|
-
return marksArray;
|
|
18412
|
-
});
|
|
18413
|
-
const percent = (val) => val / maxValue.value * 100;
|
|
18414
|
-
const floodPercent = vue.computed(() => `${props2.flood}%`);
|
|
18415
|
-
return (_ctx, _cache) => {
|
|
18416
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$s, [
|
|
18417
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(dataArray.value, (item, i2) => {
|
|
18418
|
-
return vue.openBlock(), vue.createElementBlock("div", {
|
|
18419
|
-
class: "graph-wrap",
|
|
18420
|
-
key: i2
|
|
18421
|
-
}, [
|
|
18422
|
-
item.group ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$n, [
|
|
18423
|
-
vue.createElementVNode("p", _hoisted_3$i, vue.toDisplayString(item.group), 1),
|
|
18424
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList((item == null ? void 0 : item.data) || [], (nested, i22) => {
|
|
18425
|
-
return vue.openBlock(), vue.createElementBlock("div", {
|
|
18426
|
-
key: i22,
|
|
18427
|
-
class: "bar-wrap"
|
|
18428
|
-
}, [
|
|
18429
|
-
vue.createElementVNode("div", {
|
|
18430
|
-
class: "bar",
|
|
18431
|
-
style: vue.normalizeStyle({ height: loaded.value ? `${percent(nested.value)}%` : "0" })
|
|
18432
|
-
}, null, 4),
|
|
18433
|
-
nested.compareValue ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
18434
|
-
key: 0,
|
|
18435
|
-
class: "bar compare",
|
|
18436
|
-
style: vue.normalizeStyle({
|
|
18437
|
-
height: loaded.value ? `${percent(nested.compareValue)}%` : "0"
|
|
18438
|
-
})
|
|
18439
|
-
}, null, 4)) : vue.createCommentVNode("", true)
|
|
18440
|
-
]);
|
|
18441
|
-
}), 128))
|
|
18442
|
-
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$d, [
|
|
18443
|
-
vue.createElementVNode("div", {
|
|
18444
|
-
class: "bar",
|
|
18445
|
-
style: vue.normalizeStyle({ height: loaded.value ? `${percent(item.value)}%` : "0" })
|
|
18446
|
-
}, null, 4),
|
|
18447
|
-
(item == null ? void 0 : item.compareValue) ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
18448
|
-
key: 0,
|
|
18449
|
-
class: "bar compare",
|
|
18450
|
-
style: vue.normalizeStyle({ height: loaded.value ? `${percent(item.compareValue)}%` : "0" })
|
|
18451
|
-
}, null, 4)) : vue.createCommentVNode("", true),
|
|
18452
|
-
vue.createElementVNode("p", _hoisted_5$b, vue.toDisplayString(item.title), 1)
|
|
18453
|
-
]))
|
|
18454
|
-
]);
|
|
18455
|
-
}), 128)),
|
|
18456
|
-
vue.createElementVNode("p", _hoisted_6$7, vue.toDisplayString(_ctx.title), 1),
|
|
18457
|
-
_hoisted_7$4,
|
|
18458
|
-
vue.createElementVNode("div", _hoisted_8$2, [
|
|
18459
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(marks2.value, (mark) => {
|
|
18460
|
-
return vue.openBlock(), vue.createElementBlock("p", { key: mark }, vue.toDisplayString(mark.toLocaleString()), 1);
|
|
18461
|
-
}), 128))
|
|
18462
|
-
])
|
|
18463
|
-
]);
|
|
18464
|
-
};
|
|
18465
|
-
}
|
|
18466
|
-
});
|
|
18467
|
-
const BarChart = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-fe5af582"]]);
|
|
18352
|
+
const ComboBox = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-ceeb5855"]]);
|
|
18468
18353
|
const _hoisted_1$r = {
|
|
18469
18354
|
key: 1,
|
|
18470
18355
|
type: "submit",
|
|
@@ -18545,7 +18430,7 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
|
18545
18430
|
ref: form,
|
|
18546
18431
|
onSubmit: vue.withModifiers(runSubmit, ["prevent"])
|
|
18547
18432
|
}, [
|
|
18548
|
-
_ctx.label ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
18433
|
+
_ctx.label ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$k), {
|
|
18549
18434
|
key: 0,
|
|
18550
18435
|
tag: "h4",
|
|
18551
18436
|
label: _ctx.label
|
|
@@ -18656,7 +18541,7 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
|
18656
18541
|
});
|
|
18657
18542
|
const _withScopeId$1 = (n2) => (vue.pushScopeId("data-v-e8219826"), n2 = n2(), vue.popScopeId(), n2);
|
|
18658
18543
|
const _hoisted_1$q = ["title"];
|
|
18659
|
-
const _hoisted_2$
|
|
18544
|
+
const _hoisted_2$l = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("svg", {
|
|
18660
18545
|
xmlns: "http://www.w3.org/2000/svg",
|
|
18661
18546
|
height: "24",
|
|
18662
18547
|
viewBox: "0 -960 960 960",
|
|
@@ -18665,7 +18550,7 @@ const _hoisted_2$m = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.cr
|
|
|
18665
18550
|
/* @__PURE__ */ vue.createElementVNode("path", { d: "M382-240 154-468l57-57 171 171 367-367 57 57-424 424Z" })
|
|
18666
18551
|
], -1));
|
|
18667
18552
|
const _hoisted_3$h = [
|
|
18668
|
-
_hoisted_2$
|
|
18553
|
+
_hoisted_2$l
|
|
18669
18554
|
];
|
|
18670
18555
|
const _hoisted_4$c = ["required", "id"];
|
|
18671
18556
|
const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -27319,7 +27204,7 @@ Object.entries(Mo).forEach(([e, t]) => {
|
|
|
27319
27204
|
e !== "default" && (Va[e] = t);
|
|
27320
27205
|
});
|
|
27321
27206
|
const _hoisted_1$p = ["title"];
|
|
27322
|
-
const _hoisted_2$
|
|
27207
|
+
const _hoisted_2$k = { key: 0 };
|
|
27323
27208
|
const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
27324
27209
|
__name: "DateInput",
|
|
27325
27210
|
props: {
|
|
@@ -27357,7 +27242,7 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
|
27357
27242
|
class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
27358
27243
|
title: _ctx.label
|
|
27359
27244
|
}, [
|
|
27360
|
-
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$
|
|
27245
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$k, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
|
|
27361
27246
|
vue.createVNode(vue.unref(Va), vue.mergeProps({
|
|
27362
27247
|
ref_key: "datePicker",
|
|
27363
27248
|
ref: datePicker,
|
|
@@ -27371,7 +27256,7 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
|
27371
27256
|
}
|
|
27372
27257
|
});
|
|
27373
27258
|
const _hoisted_1$o = ["title"];
|
|
27374
|
-
const _hoisted_2$
|
|
27259
|
+
const _hoisted_2$j = { key: 0 };
|
|
27375
27260
|
const _hoisted_3$g = ["value", "placeholder"];
|
|
27376
27261
|
const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
27377
27262
|
__name: "JSONInput",
|
|
@@ -27396,7 +27281,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
|
27396
27281
|
class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
27397
27282
|
title: _ctx.description
|
|
27398
27283
|
}, [
|
|
27399
|
-
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$
|
|
27284
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$j, [
|
|
27400
27285
|
vue.createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
|
|
27401
27286
|
])) : vue.createCommentVNode("", true),
|
|
27402
27287
|
vue.createElementVNode("textarea", {
|
|
@@ -28401,7 +28286,7 @@ const _hoisted_1$n = {
|
|
|
28401
28286
|
ref: "tags",
|
|
28402
28287
|
class: "multiselect__tags"
|
|
28403
28288
|
};
|
|
28404
|
-
const _hoisted_2$
|
|
28289
|
+
const _hoisted_2$i = { class: "multiselect__tags-wrap" };
|
|
28405
28290
|
const _hoisted_3$f = { class: "multiselect__spinner" };
|
|
28406
28291
|
const _hoisted_4$b = { key: 0 };
|
|
28407
28292
|
const _hoisted_5$a = { class: "multiselect__option" };
|
|
@@ -28449,7 +28334,7 @@ function render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
28449
28334
|
}, () => [
|
|
28450
28335
|
vue.withDirectives(vue.createVNode(
|
|
28451
28336
|
"div",
|
|
28452
|
-
_hoisted_2$
|
|
28337
|
+
_hoisted_2$i,
|
|
28453
28338
|
[
|
|
28454
28339
|
(vue.openBlock(true), vue.createBlock(
|
|
28455
28340
|
vue.Fragment,
|
|
@@ -28715,8 +28600,7 @@ function render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
28715
28600
|
}
|
|
28716
28601
|
script$e.render = render$e;
|
|
28717
28602
|
const Multiselect = script$e;
|
|
28718
|
-
const _hoisted_1$m =
|
|
28719
|
-
const _hoisted_2$i = ["for"];
|
|
28603
|
+
const _hoisted_1$m = ["for"];
|
|
28720
28604
|
const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
28721
28605
|
__name: "SelectInput",
|
|
28722
28606
|
props: {
|
|
@@ -28756,7 +28640,7 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
28756
28640
|
}
|
|
28757
28641
|
vue.watch(() => props2.options, updateOptionList, { immediate: true });
|
|
28758
28642
|
return (_ctx, _cache) => {
|
|
28759
|
-
return vue.openBlock(), vue.createElementBlock("div",
|
|
28643
|
+
return vue.openBlock(), vue.createElementBlock("div", null, [
|
|
28760
28644
|
vue.createElementVNode("label", {
|
|
28761
28645
|
class: "txt-start",
|
|
28762
28646
|
for: _ctx.id
|
|
@@ -28775,7 +28659,7 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
28775
28659
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => seletValue.value = $event),
|
|
28776
28660
|
"close-on-select": true
|
|
28777
28661
|
}, _ctx.extraProps), null, 16, ["id", "options", "required", "placeholder", "modelValue"])
|
|
28778
|
-
], 8,
|
|
28662
|
+
], 8, _hoisted_1$m)
|
|
28779
28663
|
]);
|
|
28780
28664
|
};
|
|
28781
28665
|
}
|
|
@@ -31445,7 +31329,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
|
31445
31329
|
key: row.id
|
|
31446
31330
|
}, [
|
|
31447
31331
|
vue.createElementVNode("div", _hoisted_5$9, [
|
|
31448
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
31332
|
+
vue.createVNode(vue.unref(_sfc_main$B), { icon: "more_vert" })
|
|
31449
31333
|
]),
|
|
31450
31334
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList((_a3 = vue.unref(entityMeta)) == null ? void 0 : _a3.fields, (field) => {
|
|
31451
31335
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -31462,7 +31346,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
|
31462
31346
|
], 2);
|
|
31463
31347
|
}), 128)),
|
|
31464
31348
|
vue.createElementVNode("div", _hoisted_6$5, [
|
|
31465
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
31349
|
+
vue.createVNode(vue.unref(_sfc_main$B), {
|
|
31466
31350
|
icon: "delete",
|
|
31467
31351
|
onClick: ($event) => removeRow(index2)
|
|
31468
31352
|
}, null, 8, ["onClick"])
|
|
@@ -31624,12 +31508,12 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
31624
31508
|
]),
|
|
31625
31509
|
_ctx.helptext ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_5$8, vue.toDisplayString(_ctx.helptext), 1)) : vue.createCommentVNode("", true)
|
|
31626
31510
|
], 8, _hoisted_2$f),
|
|
31627
|
-
_ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
31511
|
+
_ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$B), {
|
|
31628
31512
|
key: 0,
|
|
31629
31513
|
class: "iconStart",
|
|
31630
31514
|
icon: _ctx.iconStart
|
|
31631
31515
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
31632
|
-
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
31516
|
+
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$B), {
|
|
31633
31517
|
key: 1,
|
|
31634
31518
|
icon: _ctx.icon
|
|
31635
31519
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
@@ -31668,7 +31552,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
|
31668
31552
|
[vue.vModelCheckbox, val.value]
|
|
31669
31553
|
]),
|
|
31670
31554
|
vue.createElementVNode("span", null, [
|
|
31671
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
31555
|
+
vue.createVNode(vue.unref(_sfc_main$B), { icon: "check" })
|
|
31672
31556
|
])
|
|
31673
31557
|
]);
|
|
31674
31558
|
};
|
|
@@ -32033,7 +31917,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
|
32033
31917
|
style: vue.normalizeStyle([`--p:${fileQ.progress}`, { "--b": "2px" }])
|
|
32034
31918
|
}, [
|
|
32035
31919
|
fileQ.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_12, vue.toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : vue.createCommentVNode("", true),
|
|
32036
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
31920
|
+
vue.createVNode(vue.unref(_sfc_main$B), {
|
|
32037
31921
|
class: "success",
|
|
32038
31922
|
icon: "check"
|
|
32039
31923
|
})
|
|
@@ -38548,7 +38432,7 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
|
38548
38432
|
return (_ctx, _cache) => {
|
|
38549
38433
|
var _a2, _b, _c, _d, _e2, _f;
|
|
38550
38434
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
38551
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
38435
|
+
vue.createVNode(vue.unref(_sfc_main$r), null, {
|
|
38552
38436
|
default: vue.withCtx(() => [
|
|
38553
38437
|
vue.createTextVNode("Whatsapp Template")
|
|
38554
38438
|
]),
|
|
@@ -38668,16 +38552,15 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
38668
38552
|
};
|
|
38669
38553
|
}
|
|
38670
38554
|
});
|
|
38671
|
-
exports.Accordion = _sfc_main$
|
|
38555
|
+
exports.Accordion = _sfc_main$j;
|
|
38672
38556
|
exports.AccordionItem = AccordionItem;
|
|
38673
38557
|
exports.Avatar = Avatar;
|
|
38674
38558
|
exports.BagelForm = _sfc_main$h;
|
|
38675
38559
|
exports.BagelVue = BagelVue;
|
|
38676
|
-
exports.BarChart = BarChart;
|
|
38677
38560
|
exports.BglField = _sfc_main$g;
|
|
38678
38561
|
exports.BglForm = _sfc_main$h;
|
|
38679
38562
|
exports.Btn = Btn;
|
|
38680
|
-
exports.Card = _sfc_main$
|
|
38563
|
+
exports.Card = _sfc_main$m;
|
|
38681
38564
|
exports.CheckInput = CheckInput;
|
|
38682
38565
|
exports.Checkbox = Checkbox;
|
|
38683
38566
|
exports.ColorPicker = _sfc_main$7;
|
|
@@ -38687,20 +38570,20 @@ exports.DataPreview = DataPreview;
|
|
|
38687
38570
|
exports.DateInput = _sfc_main$e;
|
|
38688
38571
|
exports.DatePicker = _sfc_main$6;
|
|
38689
38572
|
exports.FileUpload = FileUpload;
|
|
38690
|
-
exports.Icon = _sfc_main$
|
|
38573
|
+
exports.Icon = _sfc_main$B;
|
|
38691
38574
|
exports.JSONInput = JSONInput;
|
|
38692
|
-
exports.LangText = _sfc_main$
|
|
38575
|
+
exports.LangText = _sfc_main$D;
|
|
38693
38576
|
exports.Lineart = _sfc_main$2;
|
|
38694
|
-
exports.ListItem = _sfc_main$
|
|
38695
|
-
exports.ListView = _sfc_main$
|
|
38696
|
-
exports.MaterialIcon = _sfc_main$
|
|
38697
|
-
exports.Modal = _sfc_main$
|
|
38577
|
+
exports.ListItem = _sfc_main$u;
|
|
38578
|
+
exports.ListView = _sfc_main$v;
|
|
38579
|
+
exports.MaterialIcon = _sfc_main$B;
|
|
38580
|
+
exports.Modal = _sfc_main$y;
|
|
38698
38581
|
exports.ModalForm = ModalForm;
|
|
38699
38582
|
exports.ModalPlugin = ModalPlugin;
|
|
38700
38583
|
exports.MsgTemplate = MsgTemplate;
|
|
38701
38584
|
exports.NavBar = NavBar;
|
|
38702
|
-
exports.PageTitle = _sfc_main$
|
|
38703
|
-
exports.RTXEditor = _sfc_main$
|
|
38585
|
+
exports.PageTitle = _sfc_main$r;
|
|
38586
|
+
exports.RTXEditor = _sfc_main$C;
|
|
38704
38587
|
exports.RadioPillsInput = RadioPillsInput;
|
|
38705
38588
|
exports.RichTextEditor = RichTextEditor;
|
|
38706
38589
|
exports.RouterWrapper = RouterWrapper;
|
|
@@ -38710,7 +38593,7 @@ exports.TableField = TableField;
|
|
|
38710
38593
|
exports.TableSchema = TableSchema;
|
|
38711
38594
|
exports.TextInput = TextInput;
|
|
38712
38595
|
exports.TextVariableExamples = _sfc_main;
|
|
38713
|
-
exports.Title = _sfc_main$
|
|
38596
|
+
exports.Title = _sfc_main$k;
|
|
38714
38597
|
exports.ToggleInput = ToggleInput;
|
|
38715
38598
|
exports.TopBar = TopBar;
|
|
38716
38599
|
exports.bagelInjectionKey = bagelInjectionKey;
|