@bagelink/vue 0.0.284 → 0.0.291
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/Alert.vue.d.ts +30 -0
- package/dist/components/Alert.vue.d.ts.map +1 -0
- package/dist/components/Avatar.vue.d.ts.map +1 -1
- package/dist/components/Badge.vue.d.ts +20 -0
- package/dist/components/Badge.vue.d.ts.map +1 -0
- package/dist/components/Card.vue.d.ts +2 -2
- package/dist/components/MaterialIcon.vue.d.ts +2 -0
- package/dist/components/MaterialIcon.vue.d.ts.map +1 -1
- package/dist/components/Modal.vue.d.ts +4 -2
- package/dist/components/Modal.vue.d.ts.map +1 -1
- package/dist/components/index.d.ts +2 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/index.cjs +254 -303
- package/dist/index.mjs +254 -303
- package/dist/plugins/modal.d.ts +2 -0
- package/dist/plugins/modal.d.ts.map +1 -1
- package/dist/style.css +52 -197
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/materialIcon.d.ts +2 -0
- package/dist/types/materialIcon.d.ts.map +1 -0
- 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/Alert.vue +44 -0
- package/src/components/Avatar.vue +23 -24
- package/src/components/Badge.vue +28 -0
- package/src/components/BglVideo.vue +58 -0
- package/src/components/MaterialIcon.vue +6 -8
- package/src/components/Modal.vue +38 -53
- package/src/components/index.ts +2 -1
- package/src/components/layout/Column.vue +6 -0
- package/src/plugins/modal.ts +3 -1
- package/src/types/index.ts +8 -8
- package/src/types/materialIcons.ts +3006 -3006
- package/src/components/charts/BarChart.vue +0 -301
- package/src/components/charts/index.ts +0 -1
package/dist/index.cjs
CHANGED
|
@@ -4877,10 +4877,10 @@ const ModalPlugin = {
|
|
|
4877
4877
|
data: () => ({ modalStack: modalStack.value }),
|
|
4878
4878
|
render() {
|
|
4879
4879
|
return modalStack.value.map((modal, index2) => {
|
|
4880
|
-
const props2 = { ...modal.modalOptions, "onUpdate:
|
|
4880
|
+
const props2 = { ...modal.modalOptions, visible: true, "onUpdate:visible": () => 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$A, 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$F = /* @__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$E = /* @__PURE__ */ vue.defineComponent({
|
|
17085
17085
|
__name: "RTXEditor",
|
|
17086
17086
|
props: {
|
|
17087
17087
|
elementId: { default: Math.random().toString(36).substr(2, 9) },
|
|
@@ -17158,32 +17158,33 @@ 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$D = /* @__PURE__ */ vue.defineComponent({
|
|
17166
17166
|
__name: "MaterialIcon",
|
|
17167
17167
|
props: {
|
|
17168
17168
|
icon: {},
|
|
17169
|
-
size: {}
|
|
17169
|
+
size: {},
|
|
17170
|
+
color: {}
|
|
17170
17171
|
},
|
|
17171
17172
|
setup(__props) {
|
|
17172
17173
|
return (_ctx, _cache) => {
|
|
17173
17174
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
17174
17175
|
class: "bgl_icon-font",
|
|
17175
|
-
style: vue.normalizeStyle({ fontSize: `${_ctx.size}rem
|
|
17176
|
+
style: vue.normalizeStyle({ fontSize: `${_ctx.size}rem`, color: _ctx.color })
|
|
17176
17177
|
}, vue.toDisplayString(_ctx.icon), 5);
|
|
17177
17178
|
};
|
|
17178
17179
|
}
|
|
17179
17180
|
});
|
|
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$
|
|
17181
|
+
const _hoisted_1$F = { class: "full-nav" };
|
|
17182
|
+
const _hoisted_2$w = { class: "nav-scroll" };
|
|
17183
|
+
const _hoisted_3$o = { class: "nav-links-wrapper" };
|
|
17184
|
+
const _hoisted_4$i = { class: "tooltip" };
|
|
17185
|
+
const _hoisted_5$f = { class: "bot-buttons-wrapper" };
|
|
17186
|
+
const _hoisted_6$a = { class: "tooltip" };
|
|
17187
|
+
const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
17187
17188
|
__name: "NavBar",
|
|
17188
17189
|
props: {
|
|
17189
17190
|
footerLinks: { default: () => [] },
|
|
@@ -17207,14 +17208,14 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
|
17207
17208
|
"aria-label": "Toggle Navigation",
|
|
17208
17209
|
tabindex: "0"
|
|
17209
17210
|
}, [
|
|
17210
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
17211
|
+
vue.createVNode(vue.unref(_sfc_main$D), {
|
|
17211
17212
|
icon: "chevron_right",
|
|
17212
17213
|
class: "top-arrow"
|
|
17213
17214
|
})
|
|
17214
17215
|
], 32),
|
|
17215
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
17216
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
17217
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
17216
|
+
vue.createElementVNode("div", _hoisted_1$F, [
|
|
17217
|
+
vue.createElementVNode("div", _hoisted_2$w, [
|
|
17218
|
+
vue.createElementVNode("div", _hoisted_3$o, [
|
|
17218
17219
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.links, (link) => {
|
|
17219
17220
|
return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(link.to ? "router-link" : "div"), {
|
|
17220
17221
|
class: "nav-button",
|
|
@@ -17226,17 +17227,17 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
|
17226
17227
|
}
|
|
17227
17228
|
}, {
|
|
17228
17229
|
default: vue.withCtx(() => [
|
|
17229
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
17230
|
+
vue.createVNode(vue.unref(_sfc_main$D), {
|
|
17230
17231
|
icon: link.materialIcon
|
|
17231
17232
|
}, null, 8, ["icon"]),
|
|
17232
|
-
vue.createElementVNode("div", _hoisted_4$
|
|
17233
|
+
vue.createElementVNode("div", _hoisted_4$i, vue.toDisplayString(link.label), 1)
|
|
17233
17234
|
]),
|
|
17234
17235
|
_: 2
|
|
17235
17236
|
}, 1032, ["to", "onClick"]);
|
|
17236
17237
|
}), 128))
|
|
17237
17238
|
])
|
|
17238
17239
|
]),
|
|
17239
|
-
vue.createElementVNode("div", _hoisted_5$
|
|
17240
|
+
vue.createElementVNode("div", _hoisted_5$f, [
|
|
17240
17241
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.footerLinks, (link) => {
|
|
17241
17242
|
return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(link.to ? "router-link" : "div"), {
|
|
17242
17243
|
class: "nav-button",
|
|
@@ -17248,10 +17249,10 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
|
17248
17249
|
key: link.label
|
|
17249
17250
|
}, {
|
|
17250
17251
|
default: vue.withCtx(() => [
|
|
17251
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
17252
|
+
vue.createVNode(vue.unref(_sfc_main$D), {
|
|
17252
17253
|
icon: link.materialIcon
|
|
17253
17254
|
}, null, 8, ["icon"]),
|
|
17254
|
-
vue.createElementVNode("div", _hoisted_6$
|
|
17255
|
+
vue.createElementVNode("div", _hoisted_6$a, vue.toDisplayString(link.label), 1)
|
|
17255
17256
|
]),
|
|
17256
17257
|
_: 2
|
|
17257
17258
|
}, 1032, ["to", "onClick"]);
|
|
@@ -17270,16 +17271,16 @@ const _export_sfc = (sfc, props2) => {
|
|
|
17270
17271
|
}
|
|
17271
17272
|
return target;
|
|
17272
17273
|
};
|
|
17273
|
-
const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17274
|
-
const _hoisted_1$
|
|
17274
|
+
const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-776ccc02"]]);
|
|
17275
|
+
const _hoisted_1$E = {
|
|
17275
17276
|
key: 0,
|
|
17276
17277
|
class: "loading"
|
|
17277
17278
|
};
|
|
17278
|
-
const _hoisted_2$
|
|
17279
|
+
const _hoisted_2$v = {
|
|
17279
17280
|
key: 1,
|
|
17280
17281
|
class: "bgl_btn-flex"
|
|
17281
17282
|
};
|
|
17282
|
-
const _sfc_main$
|
|
17283
|
+
const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
17283
17284
|
__name: "Btn",
|
|
17284
17285
|
props: {
|
|
17285
17286
|
disabled: { type: Boolean, default: false },
|
|
@@ -17365,8 +17366,8 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
17365
17366
|
})
|
|
17366
17367
|
}, {
|
|
17367
17368
|
default: vue.withCtx(() => [
|
|
17368
|
-
_ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
17369
|
-
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
17369
|
+
_ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$E)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$v, [
|
|
17370
|
+
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$D), {
|
|
17370
17371
|
key: 0,
|
|
17371
17372
|
icon: _ctx.icon
|
|
17372
17373
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
@@ -17374,7 +17375,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
17374
17375
|
!vue.unref(slots)["default"] && _ctx.value ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
17375
17376
|
vue.createTextVNode(vue.toDisplayString(_ctx.value), 1)
|
|
17376
17377
|
], 64)) : vue.createCommentVNode("", true),
|
|
17377
|
-
props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
17378
|
+
props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$D), {
|
|
17378
17379
|
key: 2,
|
|
17379
17380
|
icon: props2["icon.end"]
|
|
17380
17381
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true)
|
|
@@ -17385,48 +17386,57 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
17385
17386
|
};
|
|
17386
17387
|
}
|
|
17387
17388
|
});
|
|
17388
|
-
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17389
|
-
const _hoisted_1$
|
|
17390
|
-
const _hoisted_2$
|
|
17391
|
-
const _sfc_main$
|
|
17389
|
+
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-7a7625e7"]]);
|
|
17390
|
+
const _hoisted_1$D = { class: "tool-bar" };
|
|
17391
|
+
const _hoisted_2$u = { class: "modal-footer mt-3" };
|
|
17392
|
+
const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
17392
17393
|
__name: "Modal",
|
|
17393
17394
|
props: {
|
|
17394
17395
|
side: { type: Boolean },
|
|
17395
17396
|
title: {},
|
|
17396
17397
|
dismissable: { type: Boolean },
|
|
17397
|
-
actions: {}
|
|
17398
|
+
actions: {},
|
|
17399
|
+
visible: { type: Boolean }
|
|
17398
17400
|
},
|
|
17399
|
-
emits: ["update:
|
|
17401
|
+
emits: ["update:visible"],
|
|
17400
17402
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
17401
17403
|
const props2 = __props;
|
|
17402
|
-
let
|
|
17404
|
+
let isVisible = vue.ref(false);
|
|
17405
|
+
vue.watch(() => props2.visible, (val) => {
|
|
17406
|
+
if (val === isVisible.value || val === void 0)
|
|
17407
|
+
return;
|
|
17408
|
+
if (val)
|
|
17409
|
+
openModal();
|
|
17410
|
+
else
|
|
17411
|
+
closeModal();
|
|
17412
|
+
}, { immediate: true });
|
|
17403
17413
|
const emit2 = __emit;
|
|
17404
17414
|
const closeModal = () => {
|
|
17405
|
-
|
|
17406
|
-
setTimeout(() => emit2("update:
|
|
17415
|
+
isVisible.value = false;
|
|
17416
|
+
setTimeout(() => emit2("update:visible", false), 200);
|
|
17407
17417
|
};
|
|
17408
17418
|
__expose({ closeModal });
|
|
17409
17419
|
const escapeKeyClose = (e) => (props2 == null ? void 0 : props2.dismissable) && useEscape(e, () => closeModal());
|
|
17410
|
-
|
|
17411
|
-
setTimeout(() =>
|
|
17420
|
+
function openModal() {
|
|
17421
|
+
setTimeout(() => isVisible.value = true, 1);
|
|
17412
17422
|
document.addEventListener("keydown", escapeKeyClose);
|
|
17413
|
-
}
|
|
17423
|
+
}
|
|
17414
17424
|
vue.onUnmounted(() => {
|
|
17415
17425
|
document.removeEventListener("keydown", escapeKeyClose);
|
|
17416
17426
|
});
|
|
17417
17427
|
return (_ctx, _cache) => {
|
|
17418
17428
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
17419
|
-
class: vue.normalizeClass(["bg-dark", { "is-side": _ctx.side, "is-active": vue.unref(
|
|
17429
|
+
class: vue.normalizeClass(["bg-dark", { "is-side": _ctx.side, "is-active": vue.unref(isVisible), "bg-lignt": false }]),
|
|
17420
17430
|
onClick: _cache[1] || (_cache[1] = () => _ctx.dismissable ? closeModal() : ""),
|
|
17421
17431
|
onKeydown: vue.withKeys(closeModal, ["esc"])
|
|
17422
17432
|
}, [
|
|
17423
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
17433
|
+
vue.createVNode(vue.unref(_sfc_main$o), {
|
|
17424
17434
|
class: "modal",
|
|
17425
17435
|
onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
|
|
17426
17436
|
}, ["stop"]))
|
|
17427
17437
|
}, {
|
|
17428
17438
|
default: vue.withCtx(() => [
|
|
17429
|
-
vue.createElementVNode("header", _hoisted_1$
|
|
17439
|
+
vue.createElementVNode("header", _hoisted_1$D, [
|
|
17430
17440
|
vue.renderSlot(_ctx.$slots, "toolbar"),
|
|
17431
17441
|
vue.createVNode(vue.unref(Btn), {
|
|
17432
17442
|
style: vue.normalizeStyle({ float: _ctx.side ? "left" : "right" }),
|
|
@@ -17434,7 +17444,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
|
17434
17444
|
icon: "close",
|
|
17435
17445
|
onClick: closeModal
|
|
17436
17446
|
}, null, 8, ["style"]),
|
|
17437
|
-
_ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
17447
|
+
_ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$m), {
|
|
17438
17448
|
key: 0,
|
|
17439
17449
|
class: "modal-title",
|
|
17440
17450
|
tag: "h3",
|
|
@@ -17442,7 +17452,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
|
17442
17452
|
}, null, 8, ["label"])) : vue.createCommentVNode("", true)
|
|
17443
17453
|
]),
|
|
17444
17454
|
vue.renderSlot(_ctx.$slots, "default"),
|
|
17445
|
-
vue.createElementVNode("footer", _hoisted_2$
|
|
17455
|
+
vue.createElementVNode("footer", _hoisted_2$u, [
|
|
17446
17456
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.actions, (action, i2) => {
|
|
17447
17457
|
return vue.openBlock(), vue.createBlock(vue.unref(Btn), vue.mergeProps({
|
|
17448
17458
|
key: i2,
|
|
@@ -17459,7 +17469,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
|
17459
17469
|
};
|
|
17460
17470
|
}
|
|
17461
17471
|
});
|
|
17462
|
-
const _sfc_main$
|
|
17472
|
+
const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
17463
17473
|
__name: "ModalForm",
|
|
17464
17474
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
17465
17475
|
side: { type: Boolean },
|
|
@@ -17516,7 +17526,7 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
|
17516
17526
|
}
|
|
17517
17527
|
__expose({ setFormValues });
|
|
17518
17528
|
return (_ctx, _cache) => {
|
|
17519
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
17529
|
+
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$A), {
|
|
17520
17530
|
"onOnUpdate:isModalVisible": props2["onUpdate:isModalVisible"],
|
|
17521
17531
|
side: _ctx.side,
|
|
17522
17532
|
ref_key: "modal",
|
|
@@ -17567,12 +17577,12 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
|
17567
17577
|
};
|
|
17568
17578
|
}
|
|
17569
17579
|
});
|
|
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$
|
|
17580
|
+
const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-dca6fe18"]]);
|
|
17581
|
+
const _hoisted_1$C = { class: "accordion-item" };
|
|
17582
|
+
const _hoisted_2$t = ["aria-expanded", "aria-controls"];
|
|
17583
|
+
const _hoisted_3$n = { class: "accordion-label" };
|
|
17584
|
+
const _hoisted_4$h = ["id", "aria-hidden"];
|
|
17585
|
+
const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
17576
17586
|
__name: "AccordionItem",
|
|
17577
17587
|
props: {
|
|
17578
17588
|
label: {},
|
|
@@ -17583,33 +17593,33 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
17583
17593
|
let open = vue.ref(false);
|
|
17584
17594
|
const accordionState = vue.inject("accordionState");
|
|
17585
17595
|
const id = props2.id || Math.random().toString(36).substring(7);
|
|
17586
|
-
vue.watch(() => accordionState.openItem, (currentOpenId) => {
|
|
17596
|
+
vue.watch(() => accordionState == null ? void 0 : accordionState.openItem, (currentOpenId) => {
|
|
17587
17597
|
if (currentOpenId !== id) {
|
|
17588
17598
|
open.value = false;
|
|
17589
17599
|
}
|
|
17590
17600
|
}, { immediate: true });
|
|
17591
17601
|
function toggle() {
|
|
17592
17602
|
open.value = !open.value;
|
|
17593
|
-
if (open.value)
|
|
17603
|
+
if (open.value && (accordionState == null ? void 0 : accordionState.openItem))
|
|
17594
17604
|
accordionState.openItem = id;
|
|
17595
|
-
else if (accordionState.openItem === id)
|
|
17605
|
+
else if ((accordionState == null ? void 0 : accordionState.openItem) === id)
|
|
17596
17606
|
accordionState.openItem = null;
|
|
17597
17607
|
}
|
|
17598
17608
|
return (_ctx, _cache) => {
|
|
17599
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
17609
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$C, [
|
|
17600
17610
|
vue.createElementVNode("button", {
|
|
17601
17611
|
onClick: _cache[0] || (_cache[0] = ($event) => toggle()),
|
|
17602
17612
|
"aria-expanded": vue.unref(open) ? "true" : "false",
|
|
17603
17613
|
class: "accordion-head",
|
|
17604
17614
|
"aria-controls": `accordion-body-${vue.unref(id)}`
|
|
17605
17615
|
}, [
|
|
17606
|
-
vue.createElementVNode("span", _hoisted_3$
|
|
17616
|
+
vue.createElementVNode("span", _hoisted_3$n, vue.toDisplayString(_ctx.label), 1),
|
|
17607
17617
|
vue.createElementVNode("div", {
|
|
17608
17618
|
class: vue.normalizeClass(["accordion-icon", { open: vue.unref(open) }])
|
|
17609
17619
|
}, [
|
|
17610
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
17620
|
+
vue.createVNode(vue.unref(_sfc_main$D), { icon: "expand_more" })
|
|
17611
17621
|
], 2)
|
|
17612
|
-
], 8, _hoisted_2$
|
|
17622
|
+
], 8, _hoisted_2$t),
|
|
17613
17623
|
vue.createVNode(vue.Transition, { name: "expand" }, {
|
|
17614
17624
|
default: vue.withCtx(() => [
|
|
17615
17625
|
vue.unref(open) ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -17619,7 +17629,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
17619
17629
|
"aria-hidden": vue.unref(open) ? "false" : "true"
|
|
17620
17630
|
}, [
|
|
17621
17631
|
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
17622
|
-
], 8, _hoisted_4$
|
|
17632
|
+
], 8, _hoisted_4$h)) : vue.createCommentVNode("", true)
|
|
17623
17633
|
]),
|
|
17624
17634
|
_: 3
|
|
17625
17635
|
})
|
|
@@ -17627,16 +17637,16 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
17627
17637
|
};
|
|
17628
17638
|
}
|
|
17629
17639
|
});
|
|
17630
|
-
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17631
|
-
const _hoisted_1$
|
|
17632
|
-
const _hoisted_2$
|
|
17633
|
-
const _hoisted_3$
|
|
17640
|
+
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-bf74738b"]]);
|
|
17641
|
+
const _hoisted_1$B = { class: "card list-view grid thin" };
|
|
17642
|
+
const _hoisted_2$s = { class: "list-header flex gap-3 align-items-top" };
|
|
17643
|
+
const _hoisted_3$m = {
|
|
17634
17644
|
key: 0,
|
|
17635
17645
|
class: "bagel-input search-wrap"
|
|
17636
17646
|
};
|
|
17637
|
-
const _hoisted_4$
|
|
17638
|
-
const _hoisted_5$
|
|
17639
|
-
const _sfc_main$
|
|
17647
|
+
const _hoisted_4$g = ["placeholder"];
|
|
17648
|
+
const _hoisted_5$e = { class: "list-content grid auto-flow-rows align-items-start" };
|
|
17649
|
+
const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
17640
17650
|
__name: "ListView",
|
|
17641
17651
|
props: {
|
|
17642
17652
|
enableAdd: { type: Boolean },
|
|
@@ -17652,17 +17662,17 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
17652
17662
|
debounce(() => emit2("debounce", searchTerm.value));
|
|
17653
17663
|
};
|
|
17654
17664
|
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$
|
|
17665
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$B, [
|
|
17666
|
+
vue.createElementVNode("div", _hoisted_2$s, [
|
|
17667
|
+
_ctx.enableSearch ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$m, [
|
|
17658
17668
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
17659
17669
|
placeholder: _ctx.searchPlaceholder,
|
|
17660
17670
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => searchTerm.value = $event),
|
|
17661
17671
|
onInput: _cache[1] || (_cache[1] = ($event) => search())
|
|
17662
|
-
}, null, 40, _hoisted_4$
|
|
17672
|
+
}, null, 40, _hoisted_4$g), [
|
|
17663
17673
|
[vue.vModelText, searchTerm.value]
|
|
17664
17674
|
]),
|
|
17665
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
17675
|
+
vue.createVNode(vue.unref(_sfc_main$D), {
|
|
17666
17676
|
class: "txtgray",
|
|
17667
17677
|
icon: "search"
|
|
17668
17678
|
})
|
|
@@ -17673,16 +17683,16 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
17673
17683
|
onClick: _cache[2] || (_cache[2] = ($event) => emit2("add"))
|
|
17674
17684
|
})) : vue.createCommentVNode("", true)
|
|
17675
17685
|
]),
|
|
17676
|
-
vue.createElementVNode("div", _hoisted_5$
|
|
17686
|
+
vue.createElementVNode("div", _hoisted_5$e, [
|
|
17677
17687
|
vue.renderSlot(_ctx.$slots, "default")
|
|
17678
17688
|
])
|
|
17679
17689
|
]);
|
|
17680
17690
|
};
|
|
17681
17691
|
}
|
|
17682
17692
|
});
|
|
17683
|
-
const _hoisted_1$
|
|
17684
|
-
const _hoisted_2$
|
|
17685
|
-
const _sfc_main$
|
|
17693
|
+
const _hoisted_1$A = { class: "txt16 no-margin ellipsis" };
|
|
17694
|
+
const _hoisted_2$r = { class: "txt14 no-margin txtgray ellipsis" };
|
|
17695
|
+
const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
17686
17696
|
__name: "ListItem",
|
|
17687
17697
|
props: {
|
|
17688
17698
|
src: {},
|
|
@@ -17706,11 +17716,11 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
|
17706
17716
|
size: 40
|
|
17707
17717
|
}, null, 8, ["name", "src"])) : vue.createCommentVNode("", true),
|
|
17708
17718
|
vue.createElementVNode("div", null, [
|
|
17709
|
-
vue.createElementVNode("p", _hoisted_1$
|
|
17719
|
+
vue.createElementVNode("p", _hoisted_1$A, [
|
|
17710
17720
|
vue.createTextVNode(vue.toDisplayString(_ctx.title) + " ", 1),
|
|
17711
17721
|
vue.renderSlot(_ctx.$slots, "default")
|
|
17712
17722
|
]),
|
|
17713
|
-
vue.createElementVNode("p", _hoisted_2$
|
|
17723
|
+
vue.createElementVNode("p", _hoisted_2$r, [
|
|
17714
17724
|
vue.createTextVNode(vue.toDisplayString(_ctx.subtitle) + " ", 1),
|
|
17715
17725
|
vue.renderSlot(_ctx.$slots, "subtitle")
|
|
17716
17726
|
])
|
|
@@ -17721,10 +17731,10 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
|
17721
17731
|
};
|
|
17722
17732
|
}
|
|
17723
17733
|
});
|
|
17724
|
-
const _hoisted_1$
|
|
17725
|
-
const _hoisted_2$
|
|
17726
|
-
const _hoisted_3$
|
|
17727
|
-
const _sfc_main$
|
|
17734
|
+
const _hoisted_1$z = { class: "card tabs-top" };
|
|
17735
|
+
const _hoisted_2$q = { class: "tabs grid auto-flow-columns fit-content" };
|
|
17736
|
+
const _hoisted_3$l = ["onClick"];
|
|
17737
|
+
const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
17728
17738
|
__name: "TabbedLayout",
|
|
17729
17739
|
props: {
|
|
17730
17740
|
title: {},
|
|
@@ -17759,9 +17769,9 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
17759
17769
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
17760
17770
|
class: vue.normalizeClass(["h-100 grid list-view gap-3", { "side-tabs": _ctx.sideTabs }])
|
|
17761
17771
|
}, [
|
|
17762
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
17772
|
+
vue.createElementVNode("div", _hoisted_1$z, [
|
|
17763
17773
|
vue.renderSlot(_ctx.$slots, "top-section", {}, void 0, true),
|
|
17764
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
17774
|
+
vue.createElementVNode("div", _hoisted_2$q, [
|
|
17765
17775
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.tabs, (tab) => {
|
|
17766
17776
|
var _a2;
|
|
17767
17777
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -17770,7 +17780,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
17770
17780
|
}, "tab"]),
|
|
17771
17781
|
key: tab,
|
|
17772
17782
|
onClick: ($event) => changeTab(tab)
|
|
17773
|
-
}, vue.toDisplayString(tab), 11, _hoisted_3$
|
|
17783
|
+
}, vue.toDisplayString(tab), 11, _hoisted_3$l);
|
|
17774
17784
|
}), 128))
|
|
17775
17785
|
])
|
|
17776
17786
|
]),
|
|
@@ -17786,16 +17796,16 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
17786
17796
|
};
|
|
17787
17797
|
}
|
|
17788
17798
|
});
|
|
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$
|
|
17799
|
+
const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-09fce741"]]);
|
|
17800
|
+
const _hoisted_1$y = { class: "comments-wrap" };
|
|
17801
|
+
const _hoisted_2$p = { class: "comment-list" };
|
|
17802
|
+
const _hoisted_3$k = { class: "comment-top" };
|
|
17803
|
+
const _hoisted_4$f = { class: "comment-owner" };
|
|
17804
|
+
const _hoisted_5$d = { class: "comment-time" };
|
|
17805
|
+
const _hoisted_6$9 = { class: "comment-actions" };
|
|
17806
|
+
const _hoisted_7$5 = ["innerHTML"];
|
|
17807
|
+
const _hoisted_8$2 = { class: "new-comment" };
|
|
17808
|
+
const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
17799
17809
|
__name: "Comments",
|
|
17800
17810
|
props: {
|
|
17801
17811
|
ref_table: {},
|
|
@@ -17838,8 +17848,8 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
17838
17848
|
void fetchData();
|
|
17839
17849
|
};
|
|
17840
17850
|
return (_ctx, _cache) => {
|
|
17841
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
17842
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
17851
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$y, [
|
|
17852
|
+
vue.createElementVNode("div", _hoisted_2$p, [
|
|
17843
17853
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(comments), (comment) => {
|
|
17844
17854
|
var _a2, _b, _c;
|
|
17845
17855
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -17849,23 +17859,23 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
17849
17859
|
}, "comment"]),
|
|
17850
17860
|
key: comment.id
|
|
17851
17861
|
}, [
|
|
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$
|
|
17862
|
+
vue.createElementVNode("div", _hoisted_3$k, [
|
|
17863
|
+
vue.createElementVNode("div", _hoisted_4$f, vue.toDisplayString(comment.sender.first_name) + " " + vue.toDisplayString(comment.sender.last_name), 1),
|
|
17864
|
+
vue.createElementVNode("div", _hoisted_5$d, vue.toDisplayString(comment.updated_at.split("T")[0]), 1),
|
|
17865
|
+
vue.createElementVNode("div", _hoisted_6$9, [
|
|
17866
|
+
vue.createVNode(vue.unref(_sfc_main$D), {
|
|
17857
17867
|
size: 1,
|
|
17858
17868
|
class: "edit",
|
|
17859
17869
|
icon: "edit",
|
|
17860
17870
|
onClick: ($event) => vue.isRef(editComment) ? editComment.value = comment : editComment = comment
|
|
17861
17871
|
}, null, 8, ["onClick"]),
|
|
17862
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
17872
|
+
vue.createVNode(vue.unref(_sfc_main$D), {
|
|
17863
17873
|
size: 1.2,
|
|
17864
17874
|
class: "delete",
|
|
17865
17875
|
icon: "delete",
|
|
17866
17876
|
onClick: ($event) => deleteComment(comment.id)
|
|
17867
17877
|
}, null, 8, ["onClick"]),
|
|
17868
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
17878
|
+
vue.createVNode(vue.unref(_sfc_main$D), {
|
|
17869
17879
|
size: 1.2,
|
|
17870
17880
|
class: "save",
|
|
17871
17881
|
icon: "save",
|
|
@@ -17873,7 +17883,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
17873
17883
|
})
|
|
17874
17884
|
])
|
|
17875
17885
|
]),
|
|
17876
|
-
vue.unref(editComment) !== null && ((_c = vue.unref(editComment)) == null ? void 0 : _c.id) === comment.id ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
17886
|
+
vue.unref(editComment) !== null && ((_c = vue.unref(editComment)) == null ? void 0 : _c.id) === comment.id ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$E), {
|
|
17877
17887
|
key: 0,
|
|
17878
17888
|
modelValue: vue.unref(editComment).body_html,
|
|
17879
17889
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(editComment).body_html = $event),
|
|
@@ -17882,12 +17892,12 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
17882
17892
|
key: 1,
|
|
17883
17893
|
class: "editor-wrapper",
|
|
17884
17894
|
innerHTML: comment.body_html
|
|
17885
|
-
}, null, 8, _hoisted_7$
|
|
17895
|
+
}, null, 8, _hoisted_7$5))
|
|
17886
17896
|
], 2);
|
|
17887
17897
|
}), 128))
|
|
17888
17898
|
]),
|
|
17889
|
-
vue.createElementVNode("div", _hoisted_8$
|
|
17890
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
17899
|
+
vue.createElementVNode("div", _hoisted_8$2, [
|
|
17900
|
+
vue.createVNode(vue.unref(_sfc_main$E), {
|
|
17891
17901
|
class: "comment-input",
|
|
17892
17902
|
modelValue: vue.unref(bodyHtml),
|
|
17893
17903
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(bodyHtml) ? bodyHtml.value = $event : bodyHtml = $event),
|
|
@@ -17907,10 +17917,10 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
17907
17917
|
};
|
|
17908
17918
|
}
|
|
17909
17919
|
});
|
|
17910
|
-
const Comments = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17911
|
-
const _hoisted_1$
|
|
17912
|
-
const _hoisted_2$
|
|
17913
|
-
const _sfc_main$
|
|
17920
|
+
const Comments = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-c4b41dc0"]]);
|
|
17921
|
+
const _hoisted_1$x = { class: "page-top" };
|
|
17922
|
+
const _hoisted_2$o = { class: "top-title" };
|
|
17923
|
+
const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
17914
17924
|
__name: "PageTitle",
|
|
17915
17925
|
props: {
|
|
17916
17926
|
value: {
|
|
@@ -17920,8 +17930,8 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
17920
17930
|
},
|
|
17921
17931
|
setup(__props) {
|
|
17922
17932
|
return (_ctx, _cache) => {
|
|
17923
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
17924
|
-
vue.createElementVNode("h1", _hoisted_2$
|
|
17933
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$x, [
|
|
17934
|
+
vue.createElementVNode("h1", _hoisted_2$o, [
|
|
17925
17935
|
vue.renderSlot(_ctx.$slots, "default"),
|
|
17926
17936
|
vue.createTextVNode(" " + vue.toDisplayString(__props.value), 1)
|
|
17927
17937
|
])
|
|
@@ -17929,14 +17939,14 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
17929
17939
|
};
|
|
17930
17940
|
}
|
|
17931
17941
|
});
|
|
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$
|
|
17942
|
+
const _hoisted_1$w = { class: "table-list-wrap h-100" };
|
|
17943
|
+
const _hoisted_2$n = { class: "infinite-wrapper" };
|
|
17944
|
+
const _hoisted_3$j = { class: "row first-row" };
|
|
17945
|
+
const _hoisted_4$e = ["onClick"];
|
|
17946
|
+
const _hoisted_5$c = { class: "flex" };
|
|
17947
|
+
const _hoisted_6$8 = ["onClick"];
|
|
17948
|
+
const _hoisted_7$4 = { key: 1 };
|
|
17949
|
+
const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
17940
17950
|
__name: "TableSchema",
|
|
17941
17951
|
props: {
|
|
17942
17952
|
data: {},
|
|
@@ -17970,27 +17980,27 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
17970
17980
|
emit2("orderBy", `${fieldname} ${sortDirection.value}`.trim());
|
|
17971
17981
|
};
|
|
17972
17982
|
return (_ctx, _cache) => {
|
|
17973
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
17974
|
-
vue.createElementVNode("table", _hoisted_2$
|
|
17975
|
-
vue.createElementVNode("thead", _hoisted_3$
|
|
17983
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$w, [
|
|
17984
|
+
vue.createElementVNode("table", _hoisted_2$n, [
|
|
17985
|
+
vue.createElementVNode("thead", _hoisted_3$j, [
|
|
17976
17986
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(computedSchema.value, (field) => {
|
|
17977
17987
|
return vue.openBlock(), vue.createElementBlock("th", {
|
|
17978
17988
|
class: "col",
|
|
17979
17989
|
key: field.id,
|
|
17980
17990
|
onClick: ($event) => sort2((field == null ? void 0 : field.id) || "")
|
|
17981
17991
|
}, [
|
|
17982
|
-
vue.createElementVNode("div", _hoisted_5$
|
|
17992
|
+
vue.createElementVNode("div", _hoisted_5$c, [
|
|
17983
17993
|
vue.createTextVNode(vue.toDisplayString(field.id) + " ", 1),
|
|
17984
17994
|
vue.createElementVNode("div", {
|
|
17985
17995
|
class: vue.normalizeClass(["list-arrows", { sorted: vue.unref(sortField) === field.id }])
|
|
17986
17996
|
}, [
|
|
17987
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
17997
|
+
vue.createVNode(vue.unref(_sfc_main$D), {
|
|
17988
17998
|
class: vue.normalizeClass({ desc: vue.unref(sortDirection) === "DESC" }),
|
|
17989
17999
|
icon: "keyboard_arrow_up"
|
|
17990
18000
|
}, null, 8, ["class"])
|
|
17991
18001
|
], 2)
|
|
17992
18002
|
])
|
|
17993
|
-
], 8, _hoisted_4$
|
|
18003
|
+
], 8, _hoisted_4$e);
|
|
17994
18004
|
}), 128))
|
|
17995
18005
|
]),
|
|
17996
18006
|
vue.createElementVNode("tbody", {
|
|
@@ -18012,7 +18022,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
18012
18022
|
key: 0,
|
|
18013
18023
|
row,
|
|
18014
18024
|
field
|
|
18015
|
-
}, void 0, true) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$
|
|
18025
|
+
}, void 0, true) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$4, [
|
|
18016
18026
|
vue.createVNode(vue.unref(_sfc_main$g), {
|
|
18017
18027
|
field,
|
|
18018
18028
|
modelValue: row
|
|
@@ -18020,7 +18030,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
18020
18030
|
]))
|
|
18021
18031
|
]);
|
|
18022
18032
|
}), 128))
|
|
18023
|
-
], 8, _hoisted_6$
|
|
18033
|
+
], 8, _hoisted_6$8);
|
|
18024
18034
|
}), 128))
|
|
18025
18035
|
], 2)
|
|
18026
18036
|
])
|
|
@@ -18028,16 +18038,16 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
18028
18038
|
};
|
|
18029
18039
|
}
|
|
18030
18040
|
});
|
|
18031
|
-
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18032
|
-
const _sfc_main$
|
|
18033
|
-
const _hoisted_1$
|
|
18041
|
+
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-2137a7a8"]]);
|
|
18042
|
+
const _sfc_main$r = {};
|
|
18043
|
+
const _hoisted_1$v = { class: "flex space-between" };
|
|
18034
18044
|
function _sfc_render$1(_ctx, _cache) {
|
|
18035
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
18045
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$v, [
|
|
18036
18046
|
vue.renderSlot(_ctx.$slots, "default")
|
|
18037
18047
|
]);
|
|
18038
18048
|
}
|
|
18039
|
-
const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18040
|
-
const _sfc_main$
|
|
18049
|
+
const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$1]]);
|
|
18050
|
+
const _sfc_main$q = {};
|
|
18041
18051
|
function _sfc_render(_ctx, _cache) {
|
|
18042
18052
|
const _component_router_view = vue.resolveComponent("router-view");
|
|
18043
18053
|
return vue.openBlock(), vue.createBlock(_component_router_view, null, {
|
|
@@ -18059,20 +18069,20 @@ function _sfc_render(_ctx, _cache) {
|
|
|
18059
18069
|
_: 1
|
|
18060
18070
|
});
|
|
18061
18071
|
}
|
|
18062
|
-
const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18063
|
-
const _hoisted_1$
|
|
18072
|
+
const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render]]);
|
|
18073
|
+
const _hoisted_1$u = {
|
|
18064
18074
|
key: 0,
|
|
18065
18075
|
class: "data"
|
|
18066
18076
|
};
|
|
18067
|
-
const _hoisted_2$
|
|
18077
|
+
const _hoisted_2$m = {
|
|
18068
18078
|
key: 0,
|
|
18069
18079
|
class: "data-row"
|
|
18070
18080
|
};
|
|
18071
|
-
const _hoisted_3$
|
|
18072
|
-
const _hoisted_4$
|
|
18073
|
-
const _hoisted_5$
|
|
18074
|
-
const _hoisted_6$
|
|
18075
|
-
const _sfc_main$
|
|
18081
|
+
const _hoisted_3$i = { class: "key" };
|
|
18082
|
+
const _hoisted_4$d = { key: 1 };
|
|
18083
|
+
const _hoisted_5$b = { class: "key" };
|
|
18084
|
+
const _hoisted_6$7 = { class: "vlue" };
|
|
18085
|
+
const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
18076
18086
|
__name: "DataPreview",
|
|
18077
18087
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
18078
18088
|
schema: {},
|
|
@@ -18086,8 +18096,8 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
|
18086
18096
|
const itemData = vue.useModel(__props, "data");
|
|
18087
18097
|
return (_ctx, _cache) => {
|
|
18088
18098
|
var _a2;
|
|
18089
|
-
return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
18090
|
-
_ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
18099
|
+
return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$u, [
|
|
18100
|
+
_ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$m), {
|
|
18091
18101
|
key: 0,
|
|
18092
18102
|
label: _ctx.title
|
|
18093
18103
|
}, null, 8, ["label"])) : vue.createCommentVNode("", true),
|
|
@@ -18095,8 +18105,8 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
|
18095
18105
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, {
|
|
18096
18106
|
key: field.id
|
|
18097
18107
|
}, [
|
|
18098
|
-
vue.unref(iffer)(field, itemData.value) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
18099
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
18108
|
+
vue.unref(iffer)(field, itemData.value) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$m, [
|
|
18109
|
+
vue.createElementVNode("div", _hoisted_3$i, vue.toDisplayString((field == null ? void 0 : field.label) || vue.unref(keyToLabel)(field.id)), 1),
|
|
18100
18110
|
vue.createVNode(vue.unref(_sfc_main$g), {
|
|
18101
18111
|
field,
|
|
18102
18112
|
modelValue: itemData.value,
|
|
@@ -18105,14 +18115,14 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
|
18105
18115
|
])) : vue.createCommentVNode("", true)
|
|
18106
18116
|
], 64);
|
|
18107
18117
|
}), 128)),
|
|
18108
|
-
!((_a2 = _ctx.schema) == null ? void 0 : _a2.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$
|
|
18118
|
+
!((_a2 = _ctx.schema) == null ? void 0 : _a2.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$d, [
|
|
18109
18119
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(Object.entries(itemData.value), ([key, value]) => {
|
|
18110
18120
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
18111
18121
|
class: "data-row",
|
|
18112
18122
|
key
|
|
18113
18123
|
}, [
|
|
18114
|
-
vue.createElementVNode("div", _hoisted_5$
|
|
18115
|
-
vue.createElementVNode("div", _hoisted_6$
|
|
18124
|
+
vue.createElementVNode("div", _hoisted_5$b, vue.toDisplayString(vue.unref(keyToLabel)(key)), 1),
|
|
18125
|
+
vue.createElementVNode("div", _hoisted_6$7, vue.toDisplayString(value), 1)
|
|
18116
18126
|
]);
|
|
18117
18127
|
}), 128))
|
|
18118
18128
|
])) : vue.createCommentVNode("", true),
|
|
@@ -18121,8 +18131,8 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
|
18121
18131
|
};
|
|
18122
18132
|
}
|
|
18123
18133
|
});
|
|
18124
|
-
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18125
|
-
const _sfc_main$
|
|
18134
|
+
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-bb2526f9"]]);
|
|
18135
|
+
const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
18126
18136
|
__name: "Card",
|
|
18127
18137
|
props: {
|
|
18128
18138
|
thin: { type: Boolean },
|
|
@@ -18140,8 +18150,8 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
|
18140
18150
|
};
|
|
18141
18151
|
}
|
|
18142
18152
|
});
|
|
18143
|
-
const _hoisted_1$
|
|
18144
|
-
const _sfc_main$
|
|
18153
|
+
const _hoisted_1$t = ["src", "alt"];
|
|
18154
|
+
const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
18145
18155
|
__name: "Avatar",
|
|
18146
18156
|
props: {
|
|
18147
18157
|
fallback: {},
|
|
@@ -18159,7 +18169,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
18159
18169
|
key: 0,
|
|
18160
18170
|
src: _ctx.src,
|
|
18161
18171
|
alt: _ctx.name
|
|
18162
|
-
}, null, 8, _hoisted_1$
|
|
18172
|
+
}, null, 8, _hoisted_1$t)) : (vue.openBlock(), vue.createElementBlock("p", {
|
|
18163
18173
|
key: 1,
|
|
18164
18174
|
style: vue.normalizeStyle({ "line-height": `${_ctx.size * 0.9}px` })
|
|
18165
18175
|
}, vue.toDisplayString(_ctx.fallback || vue.unref(initials)(_ctx.name || "")), 5))
|
|
@@ -18167,8 +18177,8 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
18167
18177
|
};
|
|
18168
18178
|
}
|
|
18169
18179
|
});
|
|
18170
|
-
const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18171
|
-
const _sfc_main$
|
|
18180
|
+
const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-b46163a3"]]);
|
|
18181
|
+
const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
18172
18182
|
__name: "Title",
|
|
18173
18183
|
props: {
|
|
18174
18184
|
value: {
|
|
@@ -18196,7 +18206,7 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
|
18196
18206
|
};
|
|
18197
18207
|
}
|
|
18198
18208
|
});
|
|
18199
|
-
const _sfc_main$
|
|
18209
|
+
const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
18200
18210
|
__name: "Accordion",
|
|
18201
18211
|
setup(__props) {
|
|
18202
18212
|
const state = vue.reactive({
|
|
@@ -18210,8 +18220,8 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
|
18210
18220
|
};
|
|
18211
18221
|
}
|
|
18212
18222
|
});
|
|
18213
|
-
const _hoisted_1$
|
|
18214
|
-
const _sfc_main$
|
|
18223
|
+
const _hoisted_1$s = ["onClick"];
|
|
18224
|
+
const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
18215
18225
|
__name: "ComboBox",
|
|
18216
18226
|
props: {
|
|
18217
18227
|
options: {},
|
|
@@ -18291,7 +18301,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
18291
18301
|
class: "bagel-input combobox"
|
|
18292
18302
|
}, {
|
|
18293
18303
|
popper: vue.withCtx(({ hide }) => [
|
|
18294
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
18304
|
+
vue.createVNode(vue.unref(_sfc_main$o), {
|
|
18295
18305
|
thin: "",
|
|
18296
18306
|
class: "combobox-options"
|
|
18297
18307
|
}, {
|
|
@@ -18316,11 +18326,11 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
18316
18326
|
}
|
|
18317
18327
|
}, [
|
|
18318
18328
|
vue.createElementVNode("span", null, vue.toDisplayString(label(option2)), 1),
|
|
18319
|
-
isSelected(option2) ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
18329
|
+
isSelected(option2) ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$D), {
|
|
18320
18330
|
key: 0,
|
|
18321
18331
|
icon: "check"
|
|
18322
18332
|
})) : vue.createCommentVNode("", true)
|
|
18323
|
-
], 10, _hoisted_1$
|
|
18333
|
+
], 10, _hoisted_1$s);
|
|
18324
18334
|
}), 128))
|
|
18325
18335
|
]),
|
|
18326
18336
|
_: 2
|
|
@@ -18333,7 +18343,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
18333
18343
|
onClick: toggle
|
|
18334
18344
|
}, [
|
|
18335
18345
|
vue.createTextVNode(vue.toDisplayString(valueToLabel(vue.unref(selectedItem)) || _ctx.placeholder || "Select") + " ", 1),
|
|
18336
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
18346
|
+
vue.createVNode(vue.unref(_sfc_main$D), vue.normalizeProps(vue.guardReactiveProps({ "icon": vue.unref(open) ? "unfold_less" : "unfold_more" })), null, 16)
|
|
18337
18347
|
]),
|
|
18338
18348
|
_ctx.required ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", {
|
|
18339
18349
|
key: 0,
|
|
@@ -18349,126 +18359,66 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
18349
18359
|
};
|
|
18350
18360
|
}
|
|
18351
18361
|
});
|
|
18352
|
-
const ComboBox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18353
|
-
const
|
|
18354
|
-
|
|
18355
|
-
|
|
18356
|
-
|
|
18357
|
-
|
|
18358
|
-
}
|
|
18359
|
-
|
|
18360
|
-
const
|
|
18361
|
-
|
|
18362
|
-
|
|
18363
|
-
|
|
18364
|
-
|
|
18365
|
-
|
|
18366
|
-
|
|
18367
|
-
|
|
18362
|
+
const ComboBox = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-ceeb5855"]]);
|
|
18363
|
+
const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
18364
|
+
__name: "Alert",
|
|
18365
|
+
props: {
|
|
18366
|
+
message: {},
|
|
18367
|
+
type: { default: "info" }
|
|
18368
|
+
},
|
|
18369
|
+
setup(__props) {
|
|
18370
|
+
const color2 = {
|
|
18371
|
+
info: "#739DEF",
|
|
18372
|
+
warning: "#efdb73",
|
|
18373
|
+
error: "#DC3545"
|
|
18374
|
+
};
|
|
18375
|
+
return (_ctx, _cache) => {
|
|
18376
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
18377
|
+
class: vue.normalizeClass(["alert", [_ctx.type]])
|
|
18378
|
+
}, [
|
|
18379
|
+
vue.createVNode(vue.unref(_sfc_main$D), {
|
|
18380
|
+
class: "alert_icon",
|
|
18381
|
+
icon: _ctx.type,
|
|
18382
|
+
size: 2,
|
|
18383
|
+
color: color2[_ctx.type]
|
|
18384
|
+
}, null, 8, ["icon", "color"]),
|
|
18385
|
+
vue.createTextVNode(" " + vue.toDisplayString(_ctx.message), 1)
|
|
18386
|
+
], 2);
|
|
18387
|
+
};
|
|
18388
|
+
}
|
|
18389
|
+
});
|
|
18390
|
+
const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-dfb0f29d"]]);
|
|
18368
18391
|
const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
18369
|
-
__name: "
|
|
18392
|
+
__name: "Badge",
|
|
18370
18393
|
props: {
|
|
18371
|
-
|
|
18372
|
-
|
|
18373
|
-
|
|
18374
|
-
|
|
18394
|
+
color: {},
|
|
18395
|
+
size: {},
|
|
18396
|
+
text: {},
|
|
18397
|
+
icon: {},
|
|
18398
|
+
"icon.end": {}
|
|
18375
18399
|
},
|
|
18376
18400
|
setup(__props) {
|
|
18377
|
-
vue.useCssVars((_ctx) => ({
|
|
18378
|
-
"b74eb91e": floodPercent.value
|
|
18379
|
-
}));
|
|
18380
18401
|
const props2 = __props;
|
|
18381
|
-
const loaded = vue.ref(false);
|
|
18382
|
-
vue.onMounted(() => {
|
|
18383
|
-
setTimeout(() => {
|
|
18384
|
-
loaded.value = true;
|
|
18385
|
-
}, 400);
|
|
18386
|
-
});
|
|
18387
|
-
const dataArray = vue.computed(
|
|
18388
|
-
() => props2.modelValue
|
|
18389
|
-
// const allData = []
|
|
18390
|
-
// for (const item of props.modelValue) {
|
|
18391
|
-
// if (item.group) {
|
|
18392
|
-
// let groupIndex = allData.findIndex(d => d.group === item.group)
|
|
18393
|
-
// if (groupIndex > -1) allData[groupIndex].data?.push(item);
|
|
18394
|
-
// else allData.push({ group: item.group, data: [item] })
|
|
18395
|
-
// } else {
|
|
18396
|
-
// allData.push(item)
|
|
18397
|
-
// }
|
|
18398
|
-
// }
|
|
18399
|
-
// return allData;
|
|
18400
|
-
);
|
|
18401
|
-
const maxValue = vue.computed(
|
|
18402
|
-
() => Math.ceil(
|
|
18403
|
-
Math.max(
|
|
18404
|
-
...dataArray.value.map((d2) => d2.value),
|
|
18405
|
-
...dataArray.value.map((d2) => (d2 == null ? void 0 : d2.compareValue) || 0)
|
|
18406
|
-
)
|
|
18407
|
-
)
|
|
18408
|
-
);
|
|
18409
|
-
const marks2 = vue.computed(() => {
|
|
18410
|
-
const marksArray = [];
|
|
18411
|
-
for (let i2 = 0; i2 <= 5; i2 += 1) {
|
|
18412
|
-
const step = i2 * maxValue.value / 5;
|
|
18413
|
-
marksArray.push(Math.round(step / 10) * 10);
|
|
18414
|
-
}
|
|
18415
|
-
return marksArray;
|
|
18416
|
-
});
|
|
18417
|
-
const percent = (val) => val / maxValue.value * 100;
|
|
18418
|
-
const floodPercent = vue.computed(() => `${props2.flood}%`);
|
|
18419
18402
|
return (_ctx, _cache) => {
|
|
18420
|
-
return vue.openBlock(), vue.createElementBlock("div",
|
|
18421
|
-
|
|
18422
|
-
|
|
18423
|
-
|
|
18424
|
-
|
|
18425
|
-
|
|
18426
|
-
|
|
18427
|
-
|
|
18428
|
-
|
|
18429
|
-
|
|
18430
|
-
|
|
18431
|
-
|
|
18432
|
-
|
|
18433
|
-
|
|
18434
|
-
|
|
18435
|
-
style: vue.normalizeStyle({ height: loaded.value ? `${percent(nested.value)}%` : "0" })
|
|
18436
|
-
}, null, 4),
|
|
18437
|
-
nested.compareValue ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
18438
|
-
key: 0,
|
|
18439
|
-
class: "bar compare",
|
|
18440
|
-
style: vue.normalizeStyle({
|
|
18441
|
-
height: loaded.value ? `${percent(nested.compareValue)}%` : "0"
|
|
18442
|
-
})
|
|
18443
|
-
}, null, 4)) : vue.createCommentVNode("", true)
|
|
18444
|
-
]);
|
|
18445
|
-
}), 128))
|
|
18446
|
-
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$d, [
|
|
18447
|
-
vue.createElementVNode("div", {
|
|
18448
|
-
class: "bar",
|
|
18449
|
-
style: vue.normalizeStyle({ height: loaded.value ? `${percent(item.value)}%` : "0" })
|
|
18450
|
-
}, null, 4),
|
|
18451
|
-
(item == null ? void 0 : item.compareValue) ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
18452
|
-
key: 0,
|
|
18453
|
-
class: "bar compare",
|
|
18454
|
-
style: vue.normalizeStyle({ height: loaded.value ? `${percent(item.compareValue)}%` : "0" })
|
|
18455
|
-
}, null, 4)) : vue.createCommentVNode("", true),
|
|
18456
|
-
vue.createElementVNode("p", _hoisted_5$b, vue.toDisplayString(item.title), 1)
|
|
18457
|
-
]))
|
|
18458
|
-
]);
|
|
18459
|
-
}), 128)),
|
|
18460
|
-
vue.createElementVNode("p", _hoisted_6$7, vue.toDisplayString(_ctx.title), 1),
|
|
18461
|
-
_hoisted_7$4,
|
|
18462
|
-
vue.createElementVNode("div", _hoisted_8$2, [
|
|
18463
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(marks2.value, (mark) => {
|
|
18464
|
-
return vue.openBlock(), vue.createElementBlock("p", { key: mark }, vue.toDisplayString(mark.toLocaleString()), 1);
|
|
18465
|
-
}), 128))
|
|
18466
|
-
])
|
|
18467
|
-
]);
|
|
18403
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
18404
|
+
class: vue.normalizeClass(["pill", [_ctx.color]])
|
|
18405
|
+
}, [
|
|
18406
|
+
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$D), {
|
|
18407
|
+
key: 0,
|
|
18408
|
+
class: "inline",
|
|
18409
|
+
icon: _ctx.icon
|
|
18410
|
+
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
18411
|
+
vue.createTextVNode(" " + vue.toDisplayString(_ctx.text) + " ", 1),
|
|
18412
|
+
props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$D), {
|
|
18413
|
+
key: 1,
|
|
18414
|
+
class: "inline",
|
|
18415
|
+
icon: props2["icon.end"]
|
|
18416
|
+
}, null, 8, ["icon"])) : vue.createCommentVNode("", true)
|
|
18417
|
+
], 2);
|
|
18468
18418
|
};
|
|
18469
18419
|
}
|
|
18470
18420
|
});
|
|
18471
|
-
const
|
|
18421
|
+
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-64e0d988"]]);
|
|
18472
18422
|
const _hoisted_1$r = {
|
|
18473
18423
|
key: 1,
|
|
18474
18424
|
type: "submit",
|
|
@@ -18549,7 +18499,7 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
|
18549
18499
|
ref: form,
|
|
18550
18500
|
onSubmit: vue.withModifiers(runSubmit, ["prevent"])
|
|
18551
18501
|
}, [
|
|
18552
|
-
_ctx.label ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
18502
|
+
_ctx.label ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$m), {
|
|
18553
18503
|
key: 0,
|
|
18554
18504
|
tag: "h4",
|
|
18555
18505
|
label: _ctx.label
|
|
@@ -31448,7 +31398,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
|
31448
31398
|
key: row.id
|
|
31449
31399
|
}, [
|
|
31450
31400
|
vue.createElementVNode("div", _hoisted_5$9, [
|
|
31451
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
31401
|
+
vue.createVNode(vue.unref(_sfc_main$D), { icon: "more_vert" })
|
|
31452
31402
|
]),
|
|
31453
31403
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList((_a3 = vue.unref(entityMeta)) == null ? void 0 : _a3.fields, (field) => {
|
|
31454
31404
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -31465,7 +31415,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
|
31465
31415
|
], 2);
|
|
31466
31416
|
}), 128)),
|
|
31467
31417
|
vue.createElementVNode("div", _hoisted_6$5, [
|
|
31468
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
31418
|
+
vue.createVNode(vue.unref(_sfc_main$D), {
|
|
31469
31419
|
icon: "delete",
|
|
31470
31420
|
onClick: ($event) => removeRow(index2)
|
|
31471
31421
|
}, null, 8, ["onClick"])
|
|
@@ -31627,12 +31577,12 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
31627
31577
|
]),
|
|
31628
31578
|
_ctx.helptext ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_5$8, vue.toDisplayString(_ctx.helptext), 1)) : vue.createCommentVNode("", true)
|
|
31629
31579
|
], 8, _hoisted_2$f),
|
|
31630
|
-
_ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
31580
|
+
_ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$D), {
|
|
31631
31581
|
key: 0,
|
|
31632
31582
|
class: "iconStart",
|
|
31633
31583
|
icon: _ctx.iconStart
|
|
31634
31584
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
31635
|
-
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
31585
|
+
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$D), {
|
|
31636
31586
|
key: 1,
|
|
31637
31587
|
icon: _ctx.icon
|
|
31638
31588
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
@@ -31671,7 +31621,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
|
31671
31621
|
[vue.vModelCheckbox, val.value]
|
|
31672
31622
|
]),
|
|
31673
31623
|
vue.createElementVNode("span", null, [
|
|
31674
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
31624
|
+
vue.createVNode(vue.unref(_sfc_main$D), { icon: "check" })
|
|
31675
31625
|
])
|
|
31676
31626
|
]);
|
|
31677
31627
|
};
|
|
@@ -32036,7 +31986,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
|
32036
31986
|
style: vue.normalizeStyle([`--p:${fileQ.progress}`, { "--b": "2px" }])
|
|
32037
31987
|
}, [
|
|
32038
31988
|
fileQ.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_12, vue.toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : vue.createCommentVNode("", true),
|
|
32039
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
31989
|
+
vue.createVNode(vue.unref(_sfc_main$D), {
|
|
32040
31990
|
class: "success",
|
|
32041
31991
|
icon: "check"
|
|
32042
31992
|
})
|
|
@@ -38551,7 +38501,7 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
|
38551
38501
|
return (_ctx, _cache) => {
|
|
38552
38502
|
var _a2, _b, _c, _d, _e2, _f;
|
|
38553
38503
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
38554
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
38504
|
+
vue.createVNode(vue.unref(_sfc_main$t), null, {
|
|
38555
38505
|
default: vue.withCtx(() => [
|
|
38556
38506
|
vue.createTextVNode("Whatsapp Template")
|
|
38557
38507
|
]),
|
|
@@ -38671,16 +38621,17 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
38671
38621
|
};
|
|
38672
38622
|
}
|
|
38673
38623
|
});
|
|
38674
|
-
exports.Accordion = _sfc_main$
|
|
38624
|
+
exports.Accordion = _sfc_main$l;
|
|
38675
38625
|
exports.AccordionItem = AccordionItem;
|
|
38626
|
+
exports.Alert = Alert;
|
|
38676
38627
|
exports.Avatar = Avatar;
|
|
38628
|
+
exports.Badge = Badge;
|
|
38677
38629
|
exports.BagelForm = _sfc_main$h;
|
|
38678
38630
|
exports.BagelVue = BagelVue;
|
|
38679
|
-
exports.BarChart = BarChart;
|
|
38680
38631
|
exports.BglField = _sfc_main$g;
|
|
38681
38632
|
exports.BglForm = _sfc_main$h;
|
|
38682
38633
|
exports.Btn = Btn;
|
|
38683
|
-
exports.Card = _sfc_main$
|
|
38634
|
+
exports.Card = _sfc_main$o;
|
|
38684
38635
|
exports.CheckInput = CheckInput;
|
|
38685
38636
|
exports.Checkbox = Checkbox;
|
|
38686
38637
|
exports.ColorPicker = _sfc_main$7;
|
|
@@ -38690,20 +38641,20 @@ exports.DataPreview = DataPreview;
|
|
|
38690
38641
|
exports.DateInput = _sfc_main$e;
|
|
38691
38642
|
exports.DatePicker = _sfc_main$6;
|
|
38692
38643
|
exports.FileUpload = FileUpload;
|
|
38693
|
-
exports.Icon = _sfc_main$
|
|
38644
|
+
exports.Icon = _sfc_main$D;
|
|
38694
38645
|
exports.JSONInput = JSONInput;
|
|
38695
|
-
exports.LangText = _sfc_main$
|
|
38646
|
+
exports.LangText = _sfc_main$F;
|
|
38696
38647
|
exports.Lineart = _sfc_main$2;
|
|
38697
|
-
exports.ListItem = _sfc_main$
|
|
38698
|
-
exports.ListView = _sfc_main$
|
|
38699
|
-
exports.MaterialIcon = _sfc_main$
|
|
38700
|
-
exports.Modal = _sfc_main$
|
|
38648
|
+
exports.ListItem = _sfc_main$w;
|
|
38649
|
+
exports.ListView = _sfc_main$x;
|
|
38650
|
+
exports.MaterialIcon = _sfc_main$D;
|
|
38651
|
+
exports.Modal = _sfc_main$A;
|
|
38701
38652
|
exports.ModalForm = ModalForm;
|
|
38702
38653
|
exports.ModalPlugin = ModalPlugin;
|
|
38703
38654
|
exports.MsgTemplate = MsgTemplate;
|
|
38704
38655
|
exports.NavBar = NavBar;
|
|
38705
|
-
exports.PageTitle = _sfc_main$
|
|
38706
|
-
exports.RTXEditor = _sfc_main$
|
|
38656
|
+
exports.PageTitle = _sfc_main$t;
|
|
38657
|
+
exports.RTXEditor = _sfc_main$E;
|
|
38707
38658
|
exports.RadioPillsInput = RadioPillsInput;
|
|
38708
38659
|
exports.RichTextEditor = RichTextEditor;
|
|
38709
38660
|
exports.RouterWrapper = RouterWrapper;
|
|
@@ -38713,7 +38664,7 @@ exports.TableField = TableField;
|
|
|
38713
38664
|
exports.TableSchema = TableSchema;
|
|
38714
38665
|
exports.TextInput = TextInput;
|
|
38715
38666
|
exports.TextVariableExamples = _sfc_main;
|
|
38716
|
-
exports.Title = _sfc_main$
|
|
38667
|
+
exports.Title = _sfc_main$m;
|
|
38717
38668
|
exports.ToggleInput = ToggleInput;
|
|
38718
38669
|
exports.TopBar = TopBar;
|
|
38719
38670
|
exports.bagelInjectionKey = bagelInjectionKey;
|