@bagelink/vue 0.0.296 → 0.0.302
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.map +1 -1
- package/dist/components/BglVideo.vue.d.ts +20 -0
- package/dist/components/BglVideo.vue.d.ts.map +1 -0
- package/dist/components/Drop.vue.d.ts +34 -0
- package/dist/components/Drop.vue.d.ts.map +1 -0
- package/dist/components/FileUploader.vue.d.ts +60 -0
- package/dist/components/FileUploader.vue.d.ts.map +1 -0
- package/dist/components/Modal.vue.d.ts +1 -0
- package/dist/components/form/BglForm.vue.d.ts.map +1 -1
- package/dist/components/form/ItemRef.vue.d.ts +1 -0
- package/dist/components/form/ItemRef.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/DateInput.vue.d.ts +1 -0
- package/dist/components/form/inputs/SelectField.vue.d.ts +1 -4
- package/dist/components/form/inputs/SelectField.vue.d.ts.map +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/index.cjs +214 -148
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +214 -148
- package/dist/style.css +20 -7
- package/package.json +3 -3
- package/src/components/Alert.vue +13 -6
- package/src/components/BglVideo.vue +25 -12
- package/src/components/index.ts +1 -0
- package/dist/components/Popover.vue.d.ts +0 -10
- package/dist/components/Popover.vue.d.ts.map +0 -1
- package/dist/types/materialIcon.d.ts +0 -2
- package/dist/types/materialIcon.d.ts.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -4878,7 +4878,7 @@ const ModalPlugin = {
|
|
|
4878
4878
|
const props2 = { ...modal.modalOptions, visible: true, "onUpdate:visible": () => hideModal(index2) };
|
|
4879
4879
|
if (modal.modalType === "modalForm")
|
|
4880
4880
|
return h$2(ModalForm, props2, modal.componentSlots);
|
|
4881
|
-
return h$2(_sfc_main$
|
|
4881
|
+
return h$2(_sfc_main$B, props2, modal.componentSlots);
|
|
4882
4882
|
});
|
|
4883
4883
|
}
|
|
4884
4884
|
});
|
|
@@ -4956,8 +4956,8 @@ const iffer = (field, itemData) => {
|
|
|
4956
4956
|
return true;
|
|
4957
4957
|
};
|
|
4958
4958
|
const denullify = (itemData, fieldID) => fieldID && itemData ? itemData[fieldID] : null;
|
|
4959
|
-
const _hoisted_1$
|
|
4960
|
-
const _sfc_main$
|
|
4959
|
+
const _hoisted_1$I = { ref: "el" };
|
|
4960
|
+
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
4961
4961
|
__name: "LangText",
|
|
4962
4962
|
props: {
|
|
4963
4963
|
input: {}
|
|
@@ -4965,7 +4965,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
4965
4965
|
setup(__props) {
|
|
4966
4966
|
return (_ctx, _cache) => {
|
|
4967
4967
|
return openBlock(), createElementBlock(Fragment$1, null, [
|
|
4968
|
-
createElementVNode("span", _hoisted_1$
|
|
4968
|
+
createElementVNode("span", _hoisted_1$I, null, 512),
|
|
4969
4969
|
createTextVNode(" " + toDisplayString(_ctx.input), 1)
|
|
4970
4970
|
], 64);
|
|
4971
4971
|
};
|
|
@@ -17078,8 +17078,8 @@ const marks = {
|
|
|
17078
17078
|
}
|
|
17079
17079
|
};
|
|
17080
17080
|
const schema = new Schema({ nodes, marks });
|
|
17081
|
-
const _hoisted_1$
|
|
17082
|
-
const _sfc_main$
|
|
17081
|
+
const _hoisted_1$H = ["id"];
|
|
17082
|
+
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
17083
17083
|
__name: "RTXEditor",
|
|
17084
17084
|
props: {
|
|
17085
17085
|
elementId: { default: Math.random().toString(36).substr(2, 9) },
|
|
@@ -17156,11 +17156,11 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
17156
17156
|
onClick: focusEditor,
|
|
17157
17157
|
id: `canvas-${_ctx.elementId}`,
|
|
17158
17158
|
onKeydown: _cache[0] || (_cache[0] = withKeys(withModifiers(($event) => _ctx.$emit("keydown.meta.enter"), ["meta"]), ["enter"]))
|
|
17159
|
-
}, null, 40, _hoisted_1$
|
|
17159
|
+
}, null, 40, _hoisted_1$H);
|
|
17160
17160
|
};
|
|
17161
17161
|
}
|
|
17162
17162
|
});
|
|
17163
|
-
const _sfc_main$
|
|
17163
|
+
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
17164
17164
|
__name: "MaterialIcon",
|
|
17165
17165
|
props: {
|
|
17166
17166
|
icon: {},
|
|
@@ -17176,13 +17176,13 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
17176
17176
|
};
|
|
17177
17177
|
}
|
|
17178
17178
|
});
|
|
17179
|
-
const _hoisted_1$
|
|
17180
|
-
const _hoisted_2$
|
|
17181
|
-
const _hoisted_3$
|
|
17179
|
+
const _hoisted_1$G = { class: "full-nav" };
|
|
17180
|
+
const _hoisted_2$x = { class: "nav-scroll" };
|
|
17181
|
+
const _hoisted_3$p = { class: "nav-links-wrapper" };
|
|
17182
17182
|
const _hoisted_4$i = { class: "tooltip" };
|
|
17183
17183
|
const _hoisted_5$f = { class: "bot-buttons-wrapper" };
|
|
17184
17184
|
const _hoisted_6$a = { class: "tooltip" };
|
|
17185
|
-
const _sfc_main$
|
|
17185
|
+
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
17186
17186
|
__name: "NavBar",
|
|
17187
17187
|
props: {
|
|
17188
17188
|
footerLinks: { default: () => [] },
|
|
@@ -17206,14 +17206,14 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
17206
17206
|
"aria-label": "Toggle Navigation",
|
|
17207
17207
|
tabindex: "0"
|
|
17208
17208
|
}, [
|
|
17209
|
-
createVNode(unref(_sfc_main$
|
|
17209
|
+
createVNode(unref(_sfc_main$E), {
|
|
17210
17210
|
icon: "chevron_right",
|
|
17211
17211
|
class: "top-arrow"
|
|
17212
17212
|
})
|
|
17213
17213
|
], 32),
|
|
17214
|
-
createElementVNode("div", _hoisted_1$
|
|
17215
|
-
createElementVNode("div", _hoisted_2$
|
|
17216
|
-
createElementVNode("div", _hoisted_3$
|
|
17214
|
+
createElementVNode("div", _hoisted_1$G, [
|
|
17215
|
+
createElementVNode("div", _hoisted_2$x, [
|
|
17216
|
+
createElementVNode("div", _hoisted_3$p, [
|
|
17217
17217
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.links, (link) => {
|
|
17218
17218
|
return openBlock(), createBlock(resolveDynamicComponent(link.to ? "router-link" : "div"), {
|
|
17219
17219
|
class: "nav-button",
|
|
@@ -17225,7 +17225,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
17225
17225
|
}
|
|
17226
17226
|
}, {
|
|
17227
17227
|
default: withCtx(() => [
|
|
17228
|
-
createVNode(unref(_sfc_main$
|
|
17228
|
+
createVNode(unref(_sfc_main$E), {
|
|
17229
17229
|
icon: link.materialIcon
|
|
17230
17230
|
}, null, 8, ["icon"]),
|
|
17231
17231
|
createElementVNode("div", _hoisted_4$i, toDisplayString(link.label), 1)
|
|
@@ -17247,7 +17247,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
17247
17247
|
key: link.label
|
|
17248
17248
|
}, {
|
|
17249
17249
|
default: withCtx(() => [
|
|
17250
|
-
createVNode(unref(_sfc_main$
|
|
17250
|
+
createVNode(unref(_sfc_main$E), {
|
|
17251
17251
|
icon: link.materialIcon
|
|
17252
17252
|
}, null, 8, ["icon"]),
|
|
17253
17253
|
createElementVNode("div", _hoisted_6$a, toDisplayString(link.label), 1)
|
|
@@ -17269,16 +17269,16 @@ const _export_sfc = (sfc, props2) => {
|
|
|
17269
17269
|
}
|
|
17270
17270
|
return target;
|
|
17271
17271
|
};
|
|
17272
|
-
const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17273
|
-
const _hoisted_1$
|
|
17272
|
+
const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-776ccc02"]]);
|
|
17273
|
+
const _hoisted_1$F = {
|
|
17274
17274
|
key: 0,
|
|
17275
17275
|
class: "loading"
|
|
17276
17276
|
};
|
|
17277
|
-
const _hoisted_2$
|
|
17277
|
+
const _hoisted_2$w = {
|
|
17278
17278
|
key: 1,
|
|
17279
17279
|
class: "bgl_btn-flex"
|
|
17280
17280
|
};
|
|
17281
|
-
const _sfc_main$
|
|
17281
|
+
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
17282
17282
|
__name: "Btn",
|
|
17283
17283
|
props: {
|
|
17284
17284
|
disabled: { type: Boolean, default: false },
|
|
@@ -17364,8 +17364,8 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
17364
17364
|
})
|
|
17365
17365
|
}, {
|
|
17366
17366
|
default: withCtx(() => [
|
|
17367
|
-
_ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
17368
|
-
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$
|
|
17367
|
+
_ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_1$F)) : (openBlock(), createElementBlock("div", _hoisted_2$w, [
|
|
17368
|
+
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$E), {
|
|
17369
17369
|
key: 0,
|
|
17370
17370
|
icon: _ctx.icon
|
|
17371
17371
|
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
@@ -17373,7 +17373,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
17373
17373
|
!unref(slots)["default"] && _ctx.value ? (openBlock(), createElementBlock(Fragment$1, { key: 1 }, [
|
|
17374
17374
|
createTextVNode(toDisplayString(_ctx.value), 1)
|
|
17375
17375
|
], 64)) : createCommentVNode("", true),
|
|
17376
|
-
props2["icon.end"] ? (openBlock(), createBlock(unref(_sfc_main$
|
|
17376
|
+
props2["icon.end"] ? (openBlock(), createBlock(unref(_sfc_main$E), {
|
|
17377
17377
|
key: 2,
|
|
17378
17378
|
icon: props2["icon.end"]
|
|
17379
17379
|
}, null, 8, ["icon"])) : createCommentVNode("", true)
|
|
@@ -17384,10 +17384,10 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
17384
17384
|
};
|
|
17385
17385
|
}
|
|
17386
17386
|
});
|
|
17387
|
-
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17388
|
-
const _hoisted_1$
|
|
17389
|
-
const _hoisted_2$
|
|
17390
|
-
const _sfc_main$
|
|
17387
|
+
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-7a7625e7"]]);
|
|
17388
|
+
const _hoisted_1$E = { class: "tool-bar" };
|
|
17389
|
+
const _hoisted_2$v = { class: "modal-footer mt-3" };
|
|
17390
|
+
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
17391
17391
|
__name: "Modal",
|
|
17392
17392
|
props: {
|
|
17393
17393
|
side: { type: Boolean },
|
|
@@ -17428,13 +17428,13 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
17428
17428
|
onClick: _cache[1] || (_cache[1] = () => _ctx.dismissable ? closeModal() : ""),
|
|
17429
17429
|
onKeydown: withKeys(closeModal, ["esc"])
|
|
17430
17430
|
}, [
|
|
17431
|
-
createVNode(unref(_sfc_main$
|
|
17431
|
+
createVNode(unref(_sfc_main$p), {
|
|
17432
17432
|
class: "modal",
|
|
17433
17433
|
onClick: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
17434
17434
|
}, ["stop"]))
|
|
17435
17435
|
}, {
|
|
17436
17436
|
default: withCtx(() => [
|
|
17437
|
-
createElementVNode("header", _hoisted_1$
|
|
17437
|
+
createElementVNode("header", _hoisted_1$E, [
|
|
17438
17438
|
renderSlot(_ctx.$slots, "toolbar"),
|
|
17439
17439
|
createVNode(unref(Btn), {
|
|
17440
17440
|
style: normalizeStyle({ float: _ctx.side ? "left" : "right" }),
|
|
@@ -17442,7 +17442,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
17442
17442
|
icon: "close",
|
|
17443
17443
|
onClick: closeModal
|
|
17444
17444
|
}, null, 8, ["style"]),
|
|
17445
|
-
_ctx.title ? (openBlock(), createBlock(unref(_sfc_main$
|
|
17445
|
+
_ctx.title ? (openBlock(), createBlock(unref(_sfc_main$n), {
|
|
17446
17446
|
key: 0,
|
|
17447
17447
|
class: "modal-title",
|
|
17448
17448
|
tag: "h3",
|
|
@@ -17450,7 +17450,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
17450
17450
|
}, null, 8, ["label"])) : createCommentVNode("", true)
|
|
17451
17451
|
]),
|
|
17452
17452
|
renderSlot(_ctx.$slots, "default"),
|
|
17453
|
-
createElementVNode("footer", _hoisted_2$
|
|
17453
|
+
createElementVNode("footer", _hoisted_2$v, [
|
|
17454
17454
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.actions, (action, i2) => {
|
|
17455
17455
|
return openBlock(), createBlock(unref(Btn), mergeProps({
|
|
17456
17456
|
key: i2,
|
|
@@ -17467,7 +17467,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
17467
17467
|
};
|
|
17468
17468
|
}
|
|
17469
17469
|
});
|
|
17470
|
-
const _sfc_main$
|
|
17470
|
+
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
17471
17471
|
__name: "ModalForm",
|
|
17472
17472
|
props: /* @__PURE__ */ mergeModels({
|
|
17473
17473
|
side: { type: Boolean },
|
|
@@ -17524,7 +17524,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
17524
17524
|
}
|
|
17525
17525
|
__expose({ setFormValues });
|
|
17526
17526
|
return (_ctx, _cache) => {
|
|
17527
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
17527
|
+
return openBlock(), createBlock(unref(_sfc_main$B), {
|
|
17528
17528
|
"onOnUpdate:isModalVisible": props2["onUpdate:isModalVisible"],
|
|
17529
17529
|
side: _ctx.side,
|
|
17530
17530
|
ref_key: "modal",
|
|
@@ -17575,12 +17575,12 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
17575
17575
|
};
|
|
17576
17576
|
}
|
|
17577
17577
|
});
|
|
17578
|
-
const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17579
|
-
const _hoisted_1$
|
|
17580
|
-
const _hoisted_2$
|
|
17581
|
-
const _hoisted_3$
|
|
17578
|
+
const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-dca6fe18"]]);
|
|
17579
|
+
const _hoisted_1$D = { class: "accordion-item" };
|
|
17580
|
+
const _hoisted_2$u = ["aria-expanded", "aria-controls"];
|
|
17581
|
+
const _hoisted_3$o = { class: "accordion-label" };
|
|
17582
17582
|
const _hoisted_4$h = ["id", "aria-hidden"];
|
|
17583
|
-
const _sfc_main$
|
|
17583
|
+
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
17584
17584
|
__name: "AccordionItem",
|
|
17585
17585
|
props: {
|
|
17586
17586
|
label: {},
|
|
@@ -17604,20 +17604,20 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
17604
17604
|
accordionState.openItem = null;
|
|
17605
17605
|
}
|
|
17606
17606
|
return (_ctx, _cache) => {
|
|
17607
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
17607
|
+
return openBlock(), createElementBlock("div", _hoisted_1$D, [
|
|
17608
17608
|
createElementVNode("button", {
|
|
17609
17609
|
onClick: _cache[0] || (_cache[0] = ($event) => toggle()),
|
|
17610
17610
|
"aria-expanded": unref(open) ? "true" : "false",
|
|
17611
17611
|
class: "accordion-head",
|
|
17612
17612
|
"aria-controls": `accordion-body-${unref(id)}`
|
|
17613
17613
|
}, [
|
|
17614
|
-
createElementVNode("span", _hoisted_3$
|
|
17614
|
+
createElementVNode("span", _hoisted_3$o, toDisplayString(_ctx.label), 1),
|
|
17615
17615
|
createElementVNode("div", {
|
|
17616
17616
|
class: normalizeClass(["accordion-icon", { open: unref(open) }])
|
|
17617
17617
|
}, [
|
|
17618
|
-
createVNode(unref(_sfc_main$
|
|
17618
|
+
createVNode(unref(_sfc_main$E), { icon: "expand_more" })
|
|
17619
17619
|
], 2)
|
|
17620
|
-
], 8, _hoisted_2$
|
|
17620
|
+
], 8, _hoisted_2$u),
|
|
17621
17621
|
createVNode(Transition, { name: "expand" }, {
|
|
17622
17622
|
default: withCtx(() => [
|
|
17623
17623
|
unref(open) ? (openBlock(), createElementBlock("div", {
|
|
@@ -17635,16 +17635,16 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
17635
17635
|
};
|
|
17636
17636
|
}
|
|
17637
17637
|
});
|
|
17638
|
-
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17639
|
-
const _hoisted_1$
|
|
17640
|
-
const _hoisted_2$
|
|
17641
|
-
const _hoisted_3$
|
|
17638
|
+
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-bf74738b"]]);
|
|
17639
|
+
const _hoisted_1$C = { class: "card list-view grid thin" };
|
|
17640
|
+
const _hoisted_2$t = { class: "list-header flex gap-3 align-items-top" };
|
|
17641
|
+
const _hoisted_3$n = {
|
|
17642
17642
|
key: 0,
|
|
17643
17643
|
class: "bagel-input search-wrap"
|
|
17644
17644
|
};
|
|
17645
17645
|
const _hoisted_4$g = ["placeholder"];
|
|
17646
17646
|
const _hoisted_5$e = { class: "list-content grid auto-flow-rows align-items-start" };
|
|
17647
|
-
const _sfc_main$
|
|
17647
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
17648
17648
|
__name: "ListView",
|
|
17649
17649
|
props: {
|
|
17650
17650
|
enableAdd: { type: Boolean },
|
|
@@ -17660,9 +17660,9 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
17660
17660
|
debounce(() => emit2("debounce", searchTerm.value));
|
|
17661
17661
|
};
|
|
17662
17662
|
return (_ctx, _cache) => {
|
|
17663
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
17664
|
-
createElementVNode("div", _hoisted_2$
|
|
17665
|
-
_ctx.enableSearch ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
17663
|
+
return openBlock(), createElementBlock("div", _hoisted_1$C, [
|
|
17664
|
+
createElementVNode("div", _hoisted_2$t, [
|
|
17665
|
+
_ctx.enableSearch ? (openBlock(), createElementBlock("div", _hoisted_3$n, [
|
|
17666
17666
|
withDirectives(createElementVNode("input", {
|
|
17667
17667
|
placeholder: _ctx.searchPlaceholder,
|
|
17668
17668
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => searchTerm.value = $event),
|
|
@@ -17670,7 +17670,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
17670
17670
|
}, null, 40, _hoisted_4$g), [
|
|
17671
17671
|
[vModelText, searchTerm.value]
|
|
17672
17672
|
]),
|
|
17673
|
-
createVNode(unref(_sfc_main$
|
|
17673
|
+
createVNode(unref(_sfc_main$E), {
|
|
17674
17674
|
class: "txtgray",
|
|
17675
17675
|
icon: "search"
|
|
17676
17676
|
})
|
|
@@ -17688,9 +17688,9 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
17688
17688
|
};
|
|
17689
17689
|
}
|
|
17690
17690
|
});
|
|
17691
|
-
const _hoisted_1$
|
|
17692
|
-
const _hoisted_2$
|
|
17693
|
-
const _sfc_main$
|
|
17691
|
+
const _hoisted_1$B = { class: "txt16 no-margin ellipsis" };
|
|
17692
|
+
const _hoisted_2$s = { class: "txt14 no-margin txtgray ellipsis" };
|
|
17693
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
17694
17694
|
__name: "ListItem",
|
|
17695
17695
|
props: {
|
|
17696
17696
|
src: {},
|
|
@@ -17714,11 +17714,11 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
17714
17714
|
size: 40
|
|
17715
17715
|
}, null, 8, ["name", "src"])) : createCommentVNode("", true),
|
|
17716
17716
|
createElementVNode("div", null, [
|
|
17717
|
-
createElementVNode("p", _hoisted_1$
|
|
17717
|
+
createElementVNode("p", _hoisted_1$B, [
|
|
17718
17718
|
createTextVNode(toDisplayString(_ctx.title) + " ", 1),
|
|
17719
17719
|
renderSlot(_ctx.$slots, "default")
|
|
17720
17720
|
]),
|
|
17721
|
-
createElementVNode("p", _hoisted_2$
|
|
17721
|
+
createElementVNode("p", _hoisted_2$s, [
|
|
17722
17722
|
createTextVNode(toDisplayString(_ctx.subtitle) + " ", 1),
|
|
17723
17723
|
renderSlot(_ctx.$slots, "subtitle")
|
|
17724
17724
|
])
|
|
@@ -17729,10 +17729,10 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
17729
17729
|
};
|
|
17730
17730
|
}
|
|
17731
17731
|
});
|
|
17732
|
-
const _hoisted_1$
|
|
17733
|
-
const _hoisted_2$
|
|
17734
|
-
const _hoisted_3$
|
|
17735
|
-
const _sfc_main$
|
|
17732
|
+
const _hoisted_1$A = { class: "card tabs-top" };
|
|
17733
|
+
const _hoisted_2$r = { class: "tabs grid auto-flow-columns fit-content" };
|
|
17734
|
+
const _hoisted_3$m = ["onClick"];
|
|
17735
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
17736
17736
|
__name: "TabbedLayout",
|
|
17737
17737
|
props: {
|
|
17738
17738
|
title: {},
|
|
@@ -17767,9 +17767,9 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
17767
17767
|
return openBlock(), createElementBlock("div", {
|
|
17768
17768
|
class: normalizeClass(["h-100 grid list-view gap-3", { "side-tabs": _ctx.sideTabs }])
|
|
17769
17769
|
}, [
|
|
17770
|
-
createElementVNode("div", _hoisted_1$
|
|
17770
|
+
createElementVNode("div", _hoisted_1$A, [
|
|
17771
17771
|
renderSlot(_ctx.$slots, "top-section", {}, void 0, true),
|
|
17772
|
-
createElementVNode("div", _hoisted_2$
|
|
17772
|
+
createElementVNode("div", _hoisted_2$r, [
|
|
17773
17773
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.tabs, (tab) => {
|
|
17774
17774
|
var _a2;
|
|
17775
17775
|
return openBlock(), createElementBlock("div", {
|
|
@@ -17778,7 +17778,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
17778
17778
|
}, "tab"]),
|
|
17779
17779
|
key: tab,
|
|
17780
17780
|
onClick: ($event) => changeTab(tab)
|
|
17781
|
-
}, toDisplayString(tab), 11, _hoisted_3$
|
|
17781
|
+
}, toDisplayString(tab), 11, _hoisted_3$m);
|
|
17782
17782
|
}), 128))
|
|
17783
17783
|
])
|
|
17784
17784
|
]),
|
|
@@ -17794,16 +17794,16 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
17794
17794
|
};
|
|
17795
17795
|
}
|
|
17796
17796
|
});
|
|
17797
|
-
const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17798
|
-
const _hoisted_1$
|
|
17799
|
-
const _hoisted_2$
|
|
17800
|
-
const _hoisted_3$
|
|
17797
|
+
const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-09fce741"]]);
|
|
17798
|
+
const _hoisted_1$z = { class: "comments-wrap" };
|
|
17799
|
+
const _hoisted_2$q = { class: "comment-list" };
|
|
17800
|
+
const _hoisted_3$l = { class: "comment-top" };
|
|
17801
17801
|
const _hoisted_4$f = { class: "comment-owner" };
|
|
17802
17802
|
const _hoisted_5$d = { class: "comment-time" };
|
|
17803
17803
|
const _hoisted_6$9 = { class: "comment-actions" };
|
|
17804
17804
|
const _hoisted_7$5 = ["innerHTML"];
|
|
17805
17805
|
const _hoisted_8$2 = { class: "new-comment" };
|
|
17806
|
-
const _sfc_main$
|
|
17806
|
+
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
17807
17807
|
__name: "Comments",
|
|
17808
17808
|
props: {
|
|
17809
17809
|
ref_table: {},
|
|
@@ -17846,8 +17846,8 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
17846
17846
|
void fetchData();
|
|
17847
17847
|
};
|
|
17848
17848
|
return (_ctx, _cache) => {
|
|
17849
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
17850
|
-
createElementVNode("div", _hoisted_2$
|
|
17849
|
+
return openBlock(), createElementBlock("div", _hoisted_1$z, [
|
|
17850
|
+
createElementVNode("div", _hoisted_2$q, [
|
|
17851
17851
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(comments), (comment) => {
|
|
17852
17852
|
var _a2, _b, _c;
|
|
17853
17853
|
return openBlock(), createElementBlock("div", {
|
|
@@ -17857,23 +17857,23 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
17857
17857
|
}, "comment"]),
|
|
17858
17858
|
key: comment.id
|
|
17859
17859
|
}, [
|
|
17860
|
-
createElementVNode("div", _hoisted_3$
|
|
17860
|
+
createElementVNode("div", _hoisted_3$l, [
|
|
17861
17861
|
createElementVNode("div", _hoisted_4$f, toDisplayString(comment.sender.first_name) + " " + toDisplayString(comment.sender.last_name), 1),
|
|
17862
17862
|
createElementVNode("div", _hoisted_5$d, toDisplayString(comment.updated_at.split("T")[0]), 1),
|
|
17863
17863
|
createElementVNode("div", _hoisted_6$9, [
|
|
17864
|
-
createVNode(unref(_sfc_main$
|
|
17864
|
+
createVNode(unref(_sfc_main$E), {
|
|
17865
17865
|
size: 1,
|
|
17866
17866
|
class: "edit",
|
|
17867
17867
|
icon: "edit",
|
|
17868
17868
|
onClick: ($event) => isRef(editComment) ? editComment.value = comment : editComment = comment
|
|
17869
17869
|
}, null, 8, ["onClick"]),
|
|
17870
|
-
createVNode(unref(_sfc_main$
|
|
17870
|
+
createVNode(unref(_sfc_main$E), {
|
|
17871
17871
|
size: 1.2,
|
|
17872
17872
|
class: "delete",
|
|
17873
17873
|
icon: "delete",
|
|
17874
17874
|
onClick: ($event) => deleteComment(comment.id)
|
|
17875
17875
|
}, null, 8, ["onClick"]),
|
|
17876
|
-
createVNode(unref(_sfc_main$
|
|
17876
|
+
createVNode(unref(_sfc_main$E), {
|
|
17877
17877
|
size: 1.2,
|
|
17878
17878
|
class: "save",
|
|
17879
17879
|
icon: "save",
|
|
@@ -17881,7 +17881,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
17881
17881
|
})
|
|
17882
17882
|
])
|
|
17883
17883
|
]),
|
|
17884
|
-
unref(editComment) !== null && ((_c = unref(editComment)) == null ? void 0 : _c.id) === comment.id ? (openBlock(), createBlock(unref(_sfc_main$
|
|
17884
|
+
unref(editComment) !== null && ((_c = unref(editComment)) == null ? void 0 : _c.id) === comment.id ? (openBlock(), createBlock(unref(_sfc_main$F), {
|
|
17885
17885
|
key: 0,
|
|
17886
17886
|
modelValue: unref(editComment).body_html,
|
|
17887
17887
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(editComment).body_html = $event),
|
|
@@ -17895,7 +17895,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
17895
17895
|
}), 128))
|
|
17896
17896
|
]),
|
|
17897
17897
|
createElementVNode("div", _hoisted_8$2, [
|
|
17898
|
-
createVNode(unref(_sfc_main$
|
|
17898
|
+
createVNode(unref(_sfc_main$F), {
|
|
17899
17899
|
class: "comment-input",
|
|
17900
17900
|
modelValue: unref(bodyHtml),
|
|
17901
17901
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(bodyHtml) ? bodyHtml.value = $event : bodyHtml = $event),
|
|
@@ -17915,10 +17915,10 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
17915
17915
|
};
|
|
17916
17916
|
}
|
|
17917
17917
|
});
|
|
17918
|
-
const Comments = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17919
|
-
const _hoisted_1$
|
|
17920
|
-
const _hoisted_2$
|
|
17921
|
-
const _sfc_main$
|
|
17918
|
+
const Comments = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-c4b41dc0"]]);
|
|
17919
|
+
const _hoisted_1$y = { class: "page-top" };
|
|
17920
|
+
const _hoisted_2$p = { class: "top-title" };
|
|
17921
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
17922
17922
|
__name: "PageTitle",
|
|
17923
17923
|
props: {
|
|
17924
17924
|
value: {
|
|
@@ -17928,8 +17928,8 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
17928
17928
|
},
|
|
17929
17929
|
setup(__props) {
|
|
17930
17930
|
return (_ctx, _cache) => {
|
|
17931
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
17932
|
-
createElementVNode("h1", _hoisted_2$
|
|
17931
|
+
return openBlock(), createElementBlock("div", _hoisted_1$y, [
|
|
17932
|
+
createElementVNode("h1", _hoisted_2$p, [
|
|
17933
17933
|
renderSlot(_ctx.$slots, "default"),
|
|
17934
17934
|
createTextVNode(" " + toDisplayString(__props.value), 1)
|
|
17935
17935
|
])
|
|
@@ -17937,14 +17937,14 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
17937
17937
|
};
|
|
17938
17938
|
}
|
|
17939
17939
|
});
|
|
17940
|
-
const _hoisted_1$
|
|
17941
|
-
const _hoisted_2$
|
|
17942
|
-
const _hoisted_3$
|
|
17940
|
+
const _hoisted_1$x = { class: "table-list-wrap h-100" };
|
|
17941
|
+
const _hoisted_2$o = { class: "infinite-wrapper" };
|
|
17942
|
+
const _hoisted_3$k = { class: "row first-row" };
|
|
17943
17943
|
const _hoisted_4$e = ["onClick"];
|
|
17944
17944
|
const _hoisted_5$c = { class: "flex" };
|
|
17945
17945
|
const _hoisted_6$8 = ["onClick"];
|
|
17946
17946
|
const _hoisted_7$4 = { key: 1 };
|
|
17947
|
-
const _sfc_main$
|
|
17947
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
17948
17948
|
__name: "TableSchema",
|
|
17949
17949
|
props: {
|
|
17950
17950
|
data: {},
|
|
@@ -17978,9 +17978,9 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
17978
17978
|
emit2("orderBy", `${fieldname} ${sortDirection.value}`.trim());
|
|
17979
17979
|
};
|
|
17980
17980
|
return (_ctx, _cache) => {
|
|
17981
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
17982
|
-
createElementVNode("table", _hoisted_2$
|
|
17983
|
-
createElementVNode("thead", _hoisted_3$
|
|
17981
|
+
return openBlock(), createElementBlock("div", _hoisted_1$x, [
|
|
17982
|
+
createElementVNode("table", _hoisted_2$o, [
|
|
17983
|
+
createElementVNode("thead", _hoisted_3$k, [
|
|
17984
17984
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(computedSchema.value, (field) => {
|
|
17985
17985
|
return openBlock(), createElementBlock("th", {
|
|
17986
17986
|
class: "col",
|
|
@@ -17992,7 +17992,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
17992
17992
|
createElementVNode("div", {
|
|
17993
17993
|
class: normalizeClass(["list-arrows", { sorted: unref(sortField) === field.id }])
|
|
17994
17994
|
}, [
|
|
17995
|
-
createVNode(unref(_sfc_main$
|
|
17995
|
+
createVNode(unref(_sfc_main$E), {
|
|
17996
17996
|
class: normalizeClass({ desc: unref(sortDirection) === "DESC" }),
|
|
17997
17997
|
icon: "keyboard_arrow_up"
|
|
17998
17998
|
}, null, 8, ["class"])
|
|
@@ -18036,16 +18036,16 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
18036
18036
|
};
|
|
18037
18037
|
}
|
|
18038
18038
|
});
|
|
18039
|
-
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18040
|
-
const _sfc_main$
|
|
18041
|
-
const _hoisted_1$
|
|
18039
|
+
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-2137a7a8"]]);
|
|
18040
|
+
const _sfc_main$s = {};
|
|
18041
|
+
const _hoisted_1$w = { class: "flex space-between" };
|
|
18042
18042
|
function _sfc_render$1(_ctx, _cache) {
|
|
18043
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
18043
|
+
return openBlock(), createElementBlock("div", _hoisted_1$w, [
|
|
18044
18044
|
renderSlot(_ctx.$slots, "default")
|
|
18045
18045
|
]);
|
|
18046
18046
|
}
|
|
18047
|
-
const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18048
|
-
const _sfc_main$
|
|
18047
|
+
const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$1]]);
|
|
18048
|
+
const _sfc_main$r = {};
|
|
18049
18049
|
function _sfc_render(_ctx, _cache) {
|
|
18050
18050
|
const _component_router_view = resolveComponent("router-view");
|
|
18051
18051
|
return openBlock(), createBlock(_component_router_view, null, {
|
|
@@ -18067,20 +18067,20 @@ function _sfc_render(_ctx, _cache) {
|
|
|
18067
18067
|
_: 1
|
|
18068
18068
|
});
|
|
18069
18069
|
}
|
|
18070
|
-
const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18071
|
-
const _hoisted_1$
|
|
18070
|
+
const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render]]);
|
|
18071
|
+
const _hoisted_1$v = {
|
|
18072
18072
|
key: 0,
|
|
18073
18073
|
class: "data"
|
|
18074
18074
|
};
|
|
18075
|
-
const _hoisted_2$
|
|
18075
|
+
const _hoisted_2$n = {
|
|
18076
18076
|
key: 0,
|
|
18077
18077
|
class: "data-row"
|
|
18078
18078
|
};
|
|
18079
|
-
const _hoisted_3$
|
|
18079
|
+
const _hoisted_3$j = { class: "key" };
|
|
18080
18080
|
const _hoisted_4$d = { key: 1 };
|
|
18081
18081
|
const _hoisted_5$b = { class: "key" };
|
|
18082
18082
|
const _hoisted_6$7 = { class: "vlue" };
|
|
18083
|
-
const _sfc_main$
|
|
18083
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
18084
18084
|
__name: "DataPreview",
|
|
18085
18085
|
props: /* @__PURE__ */ mergeModels({
|
|
18086
18086
|
schema: {},
|
|
@@ -18094,8 +18094,8 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
18094
18094
|
const itemData = useModel(__props, "data");
|
|
18095
18095
|
return (_ctx, _cache) => {
|
|
18096
18096
|
var _a2;
|
|
18097
|
-
return __props.data ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
18098
|
-
_ctx.title ? (openBlock(), createBlock(unref(_sfc_main$
|
|
18097
|
+
return __props.data ? (openBlock(), createElementBlock("div", _hoisted_1$v, [
|
|
18098
|
+
_ctx.title ? (openBlock(), createBlock(unref(_sfc_main$n), {
|
|
18099
18099
|
key: 0,
|
|
18100
18100
|
label: _ctx.title
|
|
18101
18101
|
}, null, 8, ["label"])) : createCommentVNode("", true),
|
|
@@ -18103,8 +18103,8 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
18103
18103
|
return openBlock(), createElementBlock(Fragment$1, {
|
|
18104
18104
|
key: field.id
|
|
18105
18105
|
}, [
|
|
18106
|
-
unref(iffer)(field, itemData.value) ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
18107
|
-
createElementVNode("div", _hoisted_3$
|
|
18106
|
+
unref(iffer)(field, itemData.value) ? (openBlock(), createElementBlock("div", _hoisted_2$n, [
|
|
18107
|
+
createElementVNode("div", _hoisted_3$j, toDisplayString((field == null ? void 0 : field.label) || unref(keyToLabel)(field.id)), 1),
|
|
18108
18108
|
createVNode(unref(_sfc_main$g), {
|
|
18109
18109
|
field,
|
|
18110
18110
|
modelValue: itemData.value,
|
|
@@ -18129,8 +18129,8 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
18129
18129
|
};
|
|
18130
18130
|
}
|
|
18131
18131
|
});
|
|
18132
|
-
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18133
|
-
const _sfc_main$
|
|
18132
|
+
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-bb2526f9"]]);
|
|
18133
|
+
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
18134
18134
|
__name: "Card",
|
|
18135
18135
|
props: {
|
|
18136
18136
|
thin: { type: Boolean },
|
|
@@ -18148,8 +18148,8 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
18148
18148
|
};
|
|
18149
18149
|
}
|
|
18150
18150
|
});
|
|
18151
|
-
const _hoisted_1$
|
|
18152
|
-
const _sfc_main$
|
|
18151
|
+
const _hoisted_1$u = ["src", "alt"];
|
|
18152
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
18153
18153
|
__name: "Avatar",
|
|
18154
18154
|
props: {
|
|
18155
18155
|
fallback: {},
|
|
@@ -18167,7 +18167,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
18167
18167
|
key: 0,
|
|
18168
18168
|
src: _ctx.src,
|
|
18169
18169
|
alt: _ctx.name
|
|
18170
|
-
}, null, 8, _hoisted_1$
|
|
18170
|
+
}, null, 8, _hoisted_1$u)) : (openBlock(), createElementBlock("p", {
|
|
18171
18171
|
key: 1,
|
|
18172
18172
|
style: normalizeStyle({ "line-height": `${_ctx.size * 0.9}px` })
|
|
18173
18173
|
}, toDisplayString(_ctx.fallback || unref(initials)(_ctx.name || "")), 5))
|
|
@@ -18175,8 +18175,8 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
18175
18175
|
};
|
|
18176
18176
|
}
|
|
18177
18177
|
});
|
|
18178
|
-
const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18179
|
-
const _sfc_main$
|
|
18178
|
+
const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-b46163a3"]]);
|
|
18179
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
18180
18180
|
__name: "Title",
|
|
18181
18181
|
props: {
|
|
18182
18182
|
value: {
|
|
@@ -18204,7 +18204,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18204
18204
|
};
|
|
18205
18205
|
}
|
|
18206
18206
|
});
|
|
18207
|
-
const _sfc_main$
|
|
18207
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
18208
18208
|
__name: "Accordion",
|
|
18209
18209
|
setup(__props) {
|
|
18210
18210
|
const state = reactive({
|
|
@@ -18218,8 +18218,8 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
18218
18218
|
};
|
|
18219
18219
|
}
|
|
18220
18220
|
});
|
|
18221
|
-
const _hoisted_1$
|
|
18222
|
-
const _sfc_main$
|
|
18221
|
+
const _hoisted_1$t = ["onClick"];
|
|
18222
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
18223
18223
|
__name: "ComboBox",
|
|
18224
18224
|
props: {
|
|
18225
18225
|
options: {},
|
|
@@ -18299,7 +18299,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
18299
18299
|
class: "bagel-input combobox"
|
|
18300
18300
|
}, {
|
|
18301
18301
|
popper: withCtx(({ hide }) => [
|
|
18302
|
-
createVNode(unref(_sfc_main$
|
|
18302
|
+
createVNode(unref(_sfc_main$p), {
|
|
18303
18303
|
thin: "",
|
|
18304
18304
|
class: "combobox-options"
|
|
18305
18305
|
}, {
|
|
@@ -18324,11 +18324,11 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
18324
18324
|
}
|
|
18325
18325
|
}, [
|
|
18326
18326
|
createElementVNode("span", null, toDisplayString(label(option2)), 1),
|
|
18327
|
-
isSelected(option2) ? (openBlock(), createBlock(unref(_sfc_main$
|
|
18327
|
+
isSelected(option2) ? (openBlock(), createBlock(unref(_sfc_main$E), {
|
|
18328
18328
|
key: 0,
|
|
18329
18329
|
icon: "check"
|
|
18330
18330
|
})) : createCommentVNode("", true)
|
|
18331
|
-
], 10, _hoisted_1$
|
|
18331
|
+
], 10, _hoisted_1$t);
|
|
18332
18332
|
}), 128))
|
|
18333
18333
|
]),
|
|
18334
18334
|
_: 2
|
|
@@ -18341,7 +18341,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
18341
18341
|
onClick: toggle
|
|
18342
18342
|
}, [
|
|
18343
18343
|
createTextVNode(toDisplayString(valueToLabel(unref(selectedItem)) || _ctx.placeholder || "Select") + " ", 1),
|
|
18344
|
-
createVNode(unref(_sfc_main$
|
|
18344
|
+
createVNode(unref(_sfc_main$E), normalizeProps(guardReactiveProps({ "icon": unref(open) ? "unfold_less" : "unfold_more" })), null, 16)
|
|
18345
18345
|
]),
|
|
18346
18346
|
_ctx.required ? withDirectives((openBlock(), createElementBlock("input", {
|
|
18347
18347
|
key: 0,
|
|
@@ -18357,8 +18357,8 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
18357
18357
|
};
|
|
18358
18358
|
}
|
|
18359
18359
|
});
|
|
18360
|
-
const ComboBox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18361
|
-
const _sfc_main$
|
|
18360
|
+
const ComboBox = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-ceeb5855"]]);
|
|
18361
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
18362
18362
|
__name: "Alert",
|
|
18363
18363
|
props: {
|
|
18364
18364
|
message: {},
|
|
@@ -18374,7 +18374,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
18374
18374
|
return openBlock(), createElementBlock("div", {
|
|
18375
18375
|
class: normalizeClass(["alert", [_ctx.type]])
|
|
18376
18376
|
}, [
|
|
18377
|
-
createVNode(unref(_sfc_main$
|
|
18377
|
+
createVNode(unref(_sfc_main$E), {
|
|
18378
18378
|
class: "alert_icon",
|
|
18379
18379
|
icon: _ctx.type,
|
|
18380
18380
|
size: 2,
|
|
@@ -18385,8 +18385,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
18385
18385
|
};
|
|
18386
18386
|
}
|
|
18387
18387
|
});
|
|
18388
|
-
const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18389
|
-
const _sfc_main$
|
|
18388
|
+
const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-f5e16fcc"]]);
|
|
18389
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
18390
18390
|
__name: "Badge",
|
|
18391
18391
|
props: {
|
|
18392
18392
|
color: {},
|
|
@@ -18401,13 +18401,13 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
18401
18401
|
return openBlock(), createElementBlock("div", {
|
|
18402
18402
|
class: normalizeClass(["pill", [_ctx.color]])
|
|
18403
18403
|
}, [
|
|
18404
|
-
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$
|
|
18404
|
+
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$E), {
|
|
18405
18405
|
key: 0,
|
|
18406
18406
|
class: "inline",
|
|
18407
18407
|
icon: _ctx.icon
|
|
18408
18408
|
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
18409
18409
|
createTextVNode(" " + toDisplayString(_ctx.text) + " ", 1),
|
|
18410
|
-
props2["icon.end"] ? (openBlock(), createBlock(unref(_sfc_main$
|
|
18410
|
+
props2["icon.end"] ? (openBlock(), createBlock(unref(_sfc_main$E), {
|
|
18411
18411
|
key: 1,
|
|
18412
18412
|
class: "inline",
|
|
18413
18413
|
icon: props2["icon.end"]
|
|
@@ -18416,7 +18416,72 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
18416
18416
|
};
|
|
18417
18417
|
}
|
|
18418
18418
|
});
|
|
18419
|
-
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18419
|
+
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-64e0d988"]]);
|
|
18420
|
+
const _hoisted_1$s = { class: "bgl_vid" };
|
|
18421
|
+
const _hoisted_2$m = ["src"];
|
|
18422
|
+
const _hoisted_3$i = ["src", "autoplay", "muted", "loop", "controls"];
|
|
18423
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
18424
|
+
__name: "BglVideo",
|
|
18425
|
+
props: {
|
|
18426
|
+
src: {},
|
|
18427
|
+
autoplay: { type: Boolean },
|
|
18428
|
+
mute: { type: Boolean },
|
|
18429
|
+
aspectRatio: {},
|
|
18430
|
+
controls: { type: Boolean },
|
|
18431
|
+
loop: { type: Boolean }
|
|
18432
|
+
},
|
|
18433
|
+
setup(__props) {
|
|
18434
|
+
const props2 = __props;
|
|
18435
|
+
const aspectRatio = computed(() => props2.aspectRatio.replace(":", "/"));
|
|
18436
|
+
const embedType = computed(() => {
|
|
18437
|
+
const youtubeRegex = /youtube\.com|youtu\.be/;
|
|
18438
|
+
if (youtubeRegex.test(props2.src))
|
|
18439
|
+
return "YouTube";
|
|
18440
|
+
const vimeoRegex = /vimeo\.com/;
|
|
18441
|
+
if (vimeoRegex.test(props2.src))
|
|
18442
|
+
return "Vimeo";
|
|
18443
|
+
return null;
|
|
18444
|
+
});
|
|
18445
|
+
const videoUrl = computed(() => {
|
|
18446
|
+
var _a2, _b, _c, _d;
|
|
18447
|
+
if (embedType.value) {
|
|
18448
|
+
if (embedType.value === "YouTube") {
|
|
18449
|
+
const videoId = (_c = (_b = (_a2 = props2.src.split(/v=|youtu\.be\//)) == null ? void 0 : _a2[1]) == null ? void 0 : _b.split("&")) == null ? void 0 : _c[0];
|
|
18450
|
+
return `https://www.youtube.com/embed/${videoId}`;
|
|
18451
|
+
}
|
|
18452
|
+
if (embedType.value === "Vimeo") {
|
|
18453
|
+
const vimeoRegex = /vimeo\.com\/(?:channels\/(?:\w+\/)?|groups\/([^/]*)\/videos\/|album\/(\d+)\/video\/)?(\d+)(?:$|\/|\?)/;
|
|
18454
|
+
const videoId = (_d = props2.src.match(vimeoRegex)) == null ? void 0 : _d[3];
|
|
18455
|
+
return `https://player.vimeo.com/video/${videoId}`;
|
|
18456
|
+
}
|
|
18457
|
+
}
|
|
18458
|
+
return props2.src;
|
|
18459
|
+
});
|
|
18460
|
+
console.log("Video URL:", videoUrl.value);
|
|
18461
|
+
return (_ctx, _cache) => {
|
|
18462
|
+
return openBlock(), createElementBlock("div", _hoisted_1$s, [
|
|
18463
|
+
embedType.value ? (openBlock(), createElementBlock("iframe", {
|
|
18464
|
+
key: 0,
|
|
18465
|
+
src: videoUrl.value,
|
|
18466
|
+
style: normalizeStyle({ aspectRatio: aspectRatio.value }),
|
|
18467
|
+
frameborder: "0",
|
|
18468
|
+
allowfullscreen: "",
|
|
18469
|
+
title: "Video"
|
|
18470
|
+
}, null, 12, _hoisted_2$m)) : (openBlock(), createElementBlock("video", {
|
|
18471
|
+
key: 1,
|
|
18472
|
+
src: _ctx.src,
|
|
18473
|
+
autoplay: _ctx.autoplay,
|
|
18474
|
+
muted: _ctx.mute,
|
|
18475
|
+
loop: _ctx.loop,
|
|
18476
|
+
style: normalizeStyle({ aspectRatio: aspectRatio.value }),
|
|
18477
|
+
controls: _ctx.controls,
|
|
18478
|
+
playsinline: ""
|
|
18479
|
+
}, null, 12, _hoisted_3$i))
|
|
18480
|
+
]);
|
|
18481
|
+
};
|
|
18482
|
+
}
|
|
18483
|
+
});
|
|
18484
|
+
const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-23835d69"]]);
|
|
18420
18485
|
const _hoisted_1$r = {
|
|
18421
18486
|
key: 1,
|
|
18422
18487
|
type: "submit",
|
|
@@ -18497,7 +18562,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
18497
18562
|
ref: form,
|
|
18498
18563
|
onSubmit: withModifiers(runSubmit, ["prevent"])
|
|
18499
18564
|
}, [
|
|
18500
|
-
_ctx.label ? (openBlock(), createBlock(unref(_sfc_main$
|
|
18565
|
+
_ctx.label ? (openBlock(), createBlock(unref(_sfc_main$n), {
|
|
18501
18566
|
key: 0,
|
|
18502
18567
|
tag: "h4",
|
|
18503
18568
|
label: _ctx.label
|
|
@@ -31396,7 +31461,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
31396
31461
|
key: row.id
|
|
31397
31462
|
}, [
|
|
31398
31463
|
createElementVNode("div", _hoisted_5$9, [
|
|
31399
|
-
createVNode(unref(_sfc_main$
|
|
31464
|
+
createVNode(unref(_sfc_main$E), { icon: "more_vert" })
|
|
31400
31465
|
]),
|
|
31401
31466
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList((_a3 = unref(entityMeta)) == null ? void 0 : _a3.fields, (field) => {
|
|
31402
31467
|
return openBlock(), createElementBlock("div", {
|
|
@@ -31413,7 +31478,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
31413
31478
|
], 2);
|
|
31414
31479
|
}), 128)),
|
|
31415
31480
|
createElementVNode("div", _hoisted_6$5, [
|
|
31416
|
-
createVNode(unref(_sfc_main$
|
|
31481
|
+
createVNode(unref(_sfc_main$E), {
|
|
31417
31482
|
icon: "delete",
|
|
31418
31483
|
onClick: ($event) => removeRow(index2)
|
|
31419
31484
|
}, null, 8, ["onClick"])
|
|
@@ -31575,12 +31640,12 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
31575
31640
|
]),
|
|
31576
31641
|
_ctx.helptext ? (openBlock(), createElementBlock("p", _hoisted_5$8, toDisplayString(_ctx.helptext), 1)) : createCommentVNode("", true)
|
|
31577
31642
|
], 8, _hoisted_2$f),
|
|
31578
|
-
_ctx.iconStart ? (openBlock(), createBlock(unref(_sfc_main$
|
|
31643
|
+
_ctx.iconStart ? (openBlock(), createBlock(unref(_sfc_main$E), {
|
|
31579
31644
|
key: 0,
|
|
31580
31645
|
class: "iconStart",
|
|
31581
31646
|
icon: _ctx.iconStart
|
|
31582
31647
|
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
31583
|
-
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$
|
|
31648
|
+
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$E), {
|
|
31584
31649
|
key: 1,
|
|
31585
31650
|
icon: _ctx.icon
|
|
31586
31651
|
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
@@ -31619,7 +31684,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
31619
31684
|
[vModelCheckbox, val.value]
|
|
31620
31685
|
]),
|
|
31621
31686
|
createElementVNode("span", null, [
|
|
31622
|
-
createVNode(unref(_sfc_main$
|
|
31687
|
+
createVNode(unref(_sfc_main$E), { icon: "check" })
|
|
31623
31688
|
])
|
|
31624
31689
|
]);
|
|
31625
31690
|
};
|
|
@@ -31984,7 +32049,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
31984
32049
|
style: normalizeStyle([`--p:${fileQ.progress}`, { "--b": "2px" }])
|
|
31985
32050
|
}, [
|
|
31986
32051
|
fileQ.progress < 100 ? (openBlock(), createElementBlock("span", _hoisted_12, toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : createCommentVNode("", true),
|
|
31987
|
-
createVNode(unref(_sfc_main$
|
|
32052
|
+
createVNode(unref(_sfc_main$E), {
|
|
31988
32053
|
class: "success",
|
|
31989
32054
|
icon: "check"
|
|
31990
32055
|
})
|
|
@@ -38499,7 +38564,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
38499
38564
|
return (_ctx, _cache) => {
|
|
38500
38565
|
var _a2, _b, _c, _d, _e2, _f;
|
|
38501
38566
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
38502
|
-
createVNode(unref(_sfc_main$
|
|
38567
|
+
createVNode(unref(_sfc_main$u), null, {
|
|
38503
38568
|
default: withCtx(() => [
|
|
38504
38569
|
createTextVNode("Whatsapp Template")
|
|
38505
38570
|
]),
|
|
@@ -38620,7 +38685,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
38620
38685
|
}
|
|
38621
38686
|
});
|
|
38622
38687
|
export {
|
|
38623
|
-
_sfc_main$
|
|
38688
|
+
_sfc_main$m as Accordion,
|
|
38624
38689
|
AccordionItem,
|
|
38625
38690
|
Alert,
|
|
38626
38691
|
Avatar,
|
|
@@ -38629,8 +38694,9 @@ export {
|
|
|
38629
38694
|
BagelVue,
|
|
38630
38695
|
_sfc_main$g as BglField,
|
|
38631
38696
|
_sfc_main$h as BglForm,
|
|
38697
|
+
BglVideo,
|
|
38632
38698
|
Btn,
|
|
38633
|
-
_sfc_main$
|
|
38699
|
+
_sfc_main$p as Card,
|
|
38634
38700
|
CheckInput,
|
|
38635
38701
|
Checkbox,
|
|
38636
38702
|
_sfc_main$7 as ColorPicker,
|
|
@@ -38640,20 +38706,20 @@ export {
|
|
|
38640
38706
|
_sfc_main$e as DateInput,
|
|
38641
38707
|
_sfc_main$6 as DatePicker,
|
|
38642
38708
|
FileUpload,
|
|
38643
|
-
_sfc_main$
|
|
38709
|
+
_sfc_main$E as Icon,
|
|
38644
38710
|
JSONInput,
|
|
38645
|
-
_sfc_main$
|
|
38711
|
+
_sfc_main$G as LangText,
|
|
38646
38712
|
_sfc_main$2 as Lineart,
|
|
38647
|
-
_sfc_main$
|
|
38648
|
-
_sfc_main$
|
|
38649
|
-
_sfc_main$
|
|
38650
|
-
_sfc_main$
|
|
38713
|
+
_sfc_main$x as ListItem,
|
|
38714
|
+
_sfc_main$y as ListView,
|
|
38715
|
+
_sfc_main$E as MaterialIcon,
|
|
38716
|
+
_sfc_main$B as Modal,
|
|
38651
38717
|
ModalForm,
|
|
38652
38718
|
ModalPlugin,
|
|
38653
38719
|
MsgTemplate,
|
|
38654
38720
|
NavBar,
|
|
38655
|
-
_sfc_main$
|
|
38656
|
-
_sfc_main$
|
|
38721
|
+
_sfc_main$u as PageTitle,
|
|
38722
|
+
_sfc_main$F as RTXEditor,
|
|
38657
38723
|
RadioPillsInput,
|
|
38658
38724
|
RichTextEditor,
|
|
38659
38725
|
RouterWrapper,
|
|
@@ -38663,7 +38729,7 @@ export {
|
|
|
38663
38729
|
TableSchema,
|
|
38664
38730
|
TextInput,
|
|
38665
38731
|
_sfc_main as TextVariableExamples,
|
|
38666
|
-
_sfc_main$
|
|
38732
|
+
_sfc_main$n as Title,
|
|
38667
38733
|
ToggleInput,
|
|
38668
38734
|
TopBar,
|
|
38669
38735
|
bagelInjectionKey,
|