@bagelink/vue 0.0.300 → 0.0.304
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 +1 -0
- package/dist/components/Alert.vue.d.ts.map +1 -1
- package/dist/components/BglVideo.vue.d.ts.map +1 -1
- package/dist/components/Btn.vue.d.ts.map +1 -1
- package/dist/components/Card.vue.d.ts +6 -2
- package/dist/components/Card.vue.d.ts.map +1 -1
- package/dist/components/Carousel.vue.d.ts +64 -0
- package/dist/components/Carousel.vue.d.ts.map +1 -0
- package/dist/components/ListView.vue.d.ts +2 -26
- package/dist/components/ListView.vue.d.ts.map +1 -1
- package/dist/components/Modal.vue.d.ts.map +1 -1
- package/dist/components/ModalForm.vue.d.ts.map +1 -1
- package/dist/components/NavBar.vue.d.ts +0 -7
- package/dist/components/NavBar.vue.d.ts.map +1 -1
- package/dist/components/PageTitle.vue.d.ts.map +1 -1
- package/dist/components/TableSchema.vue.d.ts.map +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/index.cjs +357 -212
- package/dist/index.mjs +358 -213
- package/dist/style.css +1191 -883
- package/dist/types/NavLink.d.ts +9 -0
- package/dist/types/NavLink.d.ts.map +1 -0
- package/package.json +3 -3
- package/src/components/Alert.vue +37 -16
- package/src/components/Avatar.vue +1 -1
- package/src/components/Badge.vue +50 -5
- package/src/components/BglVideo.vue +38 -22
- package/src/components/Btn.vue +137 -135
- package/src/components/Card.vue +46 -3
- package/src/components/Carousel.vue +258 -0
- package/src/components/ListItem.vue +1 -1
- package/src/components/ListView.vue +47 -38
- package/src/components/Modal.vue +38 -2
- package/src/components/ModalForm.vue +4 -2
- package/src/components/NavBar.vue +42 -67
- package/src/components/PageTitle.vue +33 -11
- package/src/components/TabbedLayout.vue +1 -1
- package/src/components/TableSchema.vue +67 -77
- package/src/components/index.ts +1 -1
- package/src/components/whatsapp/form/MsgTemplate.vue +1 -1
- package/src/styles/bagel.css +11 -2
- package/src/styles/buttons.css +1 -0
- package/src/styles/inputs.css +91 -92
- package/src/styles/layout.css +337 -18
- package/src/styles/loginCard.css +48 -0
- package/src/styles/text.css +27 -11
- package/src/styles/theme.css +226 -515
- package/src/styles/transitions.css +18 -0
- package/src/types/NavLink.ts +9 -0
- package/src/components/LangText.vue +0 -32
package/dist/index.cjs
CHANGED
|
@@ -4880,7 +4880,7 @@ const ModalPlugin = {
|
|
|
4880
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$C, props2, modal.componentSlots);
|
|
4884
4884
|
});
|
|
4885
4885
|
}
|
|
4886
4886
|
});
|
|
@@ -4958,21 +4958,6 @@ 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$I = { ref: "el" };
|
|
4962
|
-
const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
4963
|
-
__name: "LangText",
|
|
4964
|
-
props: {
|
|
4965
|
-
input: {}
|
|
4966
|
-
},
|
|
4967
|
-
setup(__props) {
|
|
4968
|
-
return (_ctx, _cache) => {
|
|
4969
|
-
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
4970
|
-
vue.createElementVNode("span", _hoisted_1$I, null, 512),
|
|
4971
|
-
vue.createTextVNode(" " + vue.toDisplayString(_ctx.input), 1)
|
|
4972
|
-
], 64);
|
|
4973
|
-
};
|
|
4974
|
-
}
|
|
4975
|
-
});
|
|
4976
4961
|
function OrderedMap(content) {
|
|
4977
4962
|
this.content = content;
|
|
4978
4963
|
}
|
|
@@ -17080,8 +17065,8 @@ const marks = {
|
|
|
17080
17065
|
}
|
|
17081
17066
|
};
|
|
17082
17067
|
const schema = new Schema({ nodes, marks });
|
|
17083
|
-
const _hoisted_1$
|
|
17084
|
-
const _sfc_main$
|
|
17068
|
+
const _hoisted_1$J = ["id"];
|
|
17069
|
+
const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
17085
17070
|
__name: "RTXEditor",
|
|
17086
17071
|
props: {
|
|
17087
17072
|
elementId: { default: Math.random().toString(36).substr(2, 9) },
|
|
@@ -17158,11 +17143,11 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
|
17158
17143
|
onClick: focusEditor,
|
|
17159
17144
|
id: `canvas-${_ctx.elementId}`,
|
|
17160
17145
|
onKeydown: _cache[0] || (_cache[0] = vue.withKeys(vue.withModifiers(($event) => _ctx.$emit("keydown.meta.enter"), ["meta"]), ["enter"]))
|
|
17161
|
-
}, null, 40, _hoisted_1$
|
|
17146
|
+
}, null, 40, _hoisted_1$J);
|
|
17162
17147
|
};
|
|
17163
17148
|
}
|
|
17164
17149
|
});
|
|
17165
|
-
const _sfc_main$
|
|
17150
|
+
const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
17166
17151
|
__name: "MaterialIcon",
|
|
17167
17152
|
props: {
|
|
17168
17153
|
icon: {},
|
|
@@ -17178,13 +17163,13 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
|
17178
17163
|
};
|
|
17179
17164
|
}
|
|
17180
17165
|
});
|
|
17181
|
-
const _hoisted_1$
|
|
17182
|
-
const _hoisted_2$
|
|
17166
|
+
const _hoisted_1$I = { class: "full-nav" };
|
|
17167
|
+
const _hoisted_2$y = { class: "nav-scroll" };
|
|
17183
17168
|
const _hoisted_3$p = { class: "nav-links-wrapper" };
|
|
17184
|
-
const _hoisted_4$
|
|
17185
|
-
const _hoisted_5$
|
|
17169
|
+
const _hoisted_4$h = { class: "tooltip" };
|
|
17170
|
+
const _hoisted_5$e = { class: "bot-buttons-wrapper" };
|
|
17186
17171
|
const _hoisted_6$a = { class: "tooltip" };
|
|
17187
|
-
const _sfc_main$
|
|
17172
|
+
const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
17188
17173
|
__name: "NavBar",
|
|
17189
17174
|
props: {
|
|
17190
17175
|
footerLinks: { default: () => [] },
|
|
@@ -17208,13 +17193,13 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
17208
17193
|
"aria-label": "Toggle Navigation",
|
|
17209
17194
|
tabindex: "0"
|
|
17210
17195
|
}, [
|
|
17211
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
17196
|
+
vue.createVNode(vue.unref(_sfc_main$F), {
|
|
17212
17197
|
icon: "chevron_right",
|
|
17213
17198
|
class: "top-arrow"
|
|
17214
17199
|
})
|
|
17215
17200
|
], 32),
|
|
17216
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
17217
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
17201
|
+
vue.createElementVNode("div", _hoisted_1$I, [
|
|
17202
|
+
vue.createElementVNode("div", _hoisted_2$y, [
|
|
17218
17203
|
vue.createElementVNode("div", _hoisted_3$p, [
|
|
17219
17204
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.links, (link) => {
|
|
17220
17205
|
return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(link.to ? "router-link" : "div"), {
|
|
@@ -17227,17 +17212,17 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
17227
17212
|
}
|
|
17228
17213
|
}, {
|
|
17229
17214
|
default: vue.withCtx(() => [
|
|
17230
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
17215
|
+
vue.createVNode(vue.unref(_sfc_main$F), {
|
|
17231
17216
|
icon: link.materialIcon
|
|
17232
17217
|
}, null, 8, ["icon"]),
|
|
17233
|
-
vue.createElementVNode("div", _hoisted_4$
|
|
17218
|
+
vue.createElementVNode("div", _hoisted_4$h, vue.toDisplayString(link.label), 1)
|
|
17234
17219
|
]),
|
|
17235
17220
|
_: 2
|
|
17236
17221
|
}, 1032, ["to", "onClick"]);
|
|
17237
17222
|
}), 128))
|
|
17238
17223
|
])
|
|
17239
17224
|
]),
|
|
17240
|
-
vue.createElementVNode("div", _hoisted_5$
|
|
17225
|
+
vue.createElementVNode("div", _hoisted_5$e, [
|
|
17241
17226
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.footerLinks, (link) => {
|
|
17242
17227
|
return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(link.to ? "router-link" : "div"), {
|
|
17243
17228
|
class: "nav-button",
|
|
@@ -17249,7 +17234,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
17249
17234
|
key: link.label
|
|
17250
17235
|
}, {
|
|
17251
17236
|
default: vue.withCtx(() => [
|
|
17252
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
17237
|
+
vue.createVNode(vue.unref(_sfc_main$F), {
|
|
17253
17238
|
icon: link.materialIcon
|
|
17254
17239
|
}, null, 8, ["icon"]),
|
|
17255
17240
|
vue.createElementVNode("div", _hoisted_6$a, vue.toDisplayString(link.label), 1)
|
|
@@ -17271,16 +17256,16 @@ const _export_sfc = (sfc, props2) => {
|
|
|
17271
17256
|
}
|
|
17272
17257
|
return target;
|
|
17273
17258
|
};
|
|
17274
|
-
const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17275
|
-
const _hoisted_1$
|
|
17259
|
+
const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-1da5b921"]]);
|
|
17260
|
+
const _hoisted_1$H = {
|
|
17276
17261
|
key: 0,
|
|
17277
17262
|
class: "loading"
|
|
17278
17263
|
};
|
|
17279
|
-
const _hoisted_2$
|
|
17264
|
+
const _hoisted_2$x = {
|
|
17280
17265
|
key: 1,
|
|
17281
17266
|
class: "bgl_btn-flex"
|
|
17282
17267
|
};
|
|
17283
|
-
const _sfc_main$
|
|
17268
|
+
const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
17284
17269
|
__name: "Btn",
|
|
17285
17270
|
props: {
|
|
17286
17271
|
disabled: { type: Boolean, default: false },
|
|
@@ -17302,8 +17287,8 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
|
17302
17287
|
},
|
|
17303
17288
|
setup(__props) {
|
|
17304
17289
|
vue.useCssVars((_ctx) => ({
|
|
17305
|
-
"
|
|
17306
|
-
"
|
|
17290
|
+
"f1f27722": computedBackgroundColor.value,
|
|
17291
|
+
"b7042aec": cumputedTextColor.value
|
|
17307
17292
|
}));
|
|
17308
17293
|
const slots = vue.useSlots();
|
|
17309
17294
|
const props2 = __props;
|
|
@@ -17366,8 +17351,8 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
|
17366
17351
|
})
|
|
17367
17352
|
}, {
|
|
17368
17353
|
default: vue.withCtx(() => [
|
|
17369
|
-
_ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
17370
|
-
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
17354
|
+
_ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$H)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$x, [
|
|
17355
|
+
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$F), {
|
|
17371
17356
|
key: 0,
|
|
17372
17357
|
icon: _ctx.icon
|
|
17373
17358
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
@@ -17375,7 +17360,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
|
17375
17360
|
!vue.unref(slots)["default"] && _ctx.value ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
17376
17361
|
vue.createTextVNode(vue.toDisplayString(_ctx.value), 1)
|
|
17377
17362
|
], 64)) : vue.createCommentVNode("", true),
|
|
17378
|
-
props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
17363
|
+
props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$F), {
|
|
17379
17364
|
key: 2,
|
|
17380
17365
|
icon: props2["icon.end"]
|
|
17381
17366
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true)
|
|
@@ -17386,10 +17371,10 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
|
17386
17371
|
};
|
|
17387
17372
|
}
|
|
17388
17373
|
});
|
|
17389
|
-
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17390
|
-
const _hoisted_1$
|
|
17391
|
-
const _hoisted_2$
|
|
17392
|
-
const _sfc_main$
|
|
17374
|
+
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-0c8d9a95"]]);
|
|
17375
|
+
const _hoisted_1$G = { class: "tool-bar" };
|
|
17376
|
+
const _hoisted_2$w = { class: "modal-footer mt-3" };
|
|
17377
|
+
const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
17393
17378
|
__name: "Modal",
|
|
17394
17379
|
props: {
|
|
17395
17380
|
side: { type: Boolean },
|
|
@@ -17419,8 +17404,8 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
|
17419
17404
|
const escapeKeyClose = (e) => (props2 == null ? void 0 : props2.dismissable) && useEscape(e, () => closeModal());
|
|
17420
17405
|
function openModal() {
|
|
17421
17406
|
setTimeout(() => isVisible.value = true, 1);
|
|
17422
|
-
document.addEventListener("keydown", escapeKeyClose);
|
|
17423
17407
|
}
|
|
17408
|
+
vue.onMounted(() => document.addEventListener("keydown", escapeKeyClose));
|
|
17424
17409
|
vue.onUnmounted(() => {
|
|
17425
17410
|
document.removeEventListener("keydown", escapeKeyClose);
|
|
17426
17411
|
});
|
|
@@ -17430,13 +17415,13 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
|
17430
17415
|
onClick: _cache[1] || (_cache[1] = () => _ctx.dismissable ? closeModal() : ""),
|
|
17431
17416
|
onKeydown: vue.withKeys(closeModal, ["esc"])
|
|
17432
17417
|
}, [
|
|
17433
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
17418
|
+
vue.createVNode(vue.unref(_sfc_main$q), {
|
|
17434
17419
|
class: "modal",
|
|
17435
17420
|
onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
|
|
17436
17421
|
}, ["stop"]))
|
|
17437
17422
|
}, {
|
|
17438
17423
|
default: vue.withCtx(() => [
|
|
17439
|
-
vue.createElementVNode("header", _hoisted_1$
|
|
17424
|
+
vue.createElementVNode("header", _hoisted_1$G, [
|
|
17440
17425
|
vue.renderSlot(_ctx.$slots, "toolbar"),
|
|
17441
17426
|
vue.createVNode(vue.unref(Btn), {
|
|
17442
17427
|
style: vue.normalizeStyle({ float: _ctx.side ? "left" : "right" }),
|
|
@@ -17444,7 +17429,7 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
|
17444
17429
|
icon: "close",
|
|
17445
17430
|
onClick: closeModal
|
|
17446
17431
|
}, null, 8, ["style"]),
|
|
17447
|
-
_ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
17432
|
+
_ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$o), {
|
|
17448
17433
|
key: 0,
|
|
17449
17434
|
class: "modal-title",
|
|
17450
17435
|
tag: "h3",
|
|
@@ -17452,7 +17437,7 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
|
17452
17437
|
}, null, 8, ["label"])) : vue.createCommentVNode("", true)
|
|
17453
17438
|
]),
|
|
17454
17439
|
vue.renderSlot(_ctx.$slots, "default"),
|
|
17455
|
-
vue.createElementVNode("footer", _hoisted_2$
|
|
17440
|
+
vue.createElementVNode("footer", _hoisted_2$w, [
|
|
17456
17441
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.actions, (action, i2) => {
|
|
17457
17442
|
return vue.openBlock(), vue.createBlock(vue.unref(Btn), vue.mergeProps({
|
|
17458
17443
|
key: i2,
|
|
@@ -17469,7 +17454,7 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
|
17469
17454
|
};
|
|
17470
17455
|
}
|
|
17471
17456
|
});
|
|
17472
|
-
const _sfc_main$
|
|
17457
|
+
const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
17473
17458
|
__name: "ModalForm",
|
|
17474
17459
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
17475
17460
|
side: { type: Boolean },
|
|
@@ -17526,7 +17511,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
17526
17511
|
}
|
|
17527
17512
|
__expose({ setFormValues });
|
|
17528
17513
|
return (_ctx, _cache) => {
|
|
17529
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
17514
|
+
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$C), {
|
|
17530
17515
|
"onOnUpdate:isModalVisible": props2["onUpdate:isModalVisible"],
|
|
17531
17516
|
side: _ctx.side,
|
|
17532
17517
|
ref_key: "modal",
|
|
@@ -17577,12 +17562,12 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
17577
17562
|
};
|
|
17578
17563
|
}
|
|
17579
17564
|
});
|
|
17580
|
-
const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17581
|
-
const _hoisted_1$
|
|
17582
|
-
const _hoisted_2$
|
|
17565
|
+
const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-7e6899c7"]]);
|
|
17566
|
+
const _hoisted_1$F = { class: "accordion-item" };
|
|
17567
|
+
const _hoisted_2$v = ["aria-expanded", "aria-controls"];
|
|
17583
17568
|
const _hoisted_3$o = { class: "accordion-label" };
|
|
17584
|
-
const _hoisted_4$
|
|
17585
|
-
const _sfc_main$
|
|
17569
|
+
const _hoisted_4$g = ["id", "aria-hidden"];
|
|
17570
|
+
const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
17586
17571
|
__name: "AccordionItem",
|
|
17587
17572
|
props: {
|
|
17588
17573
|
label: {},
|
|
@@ -17606,7 +17591,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
|
17606
17591
|
accordionState.openItem = null;
|
|
17607
17592
|
}
|
|
17608
17593
|
return (_ctx, _cache) => {
|
|
17609
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
17594
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$F, [
|
|
17610
17595
|
vue.createElementVNode("button", {
|
|
17611
17596
|
onClick: _cache[0] || (_cache[0] = ($event) => toggle()),
|
|
17612
17597
|
"aria-expanded": vue.unref(open) ? "true" : "false",
|
|
@@ -17617,9 +17602,9 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
|
17617
17602
|
vue.createElementVNode("div", {
|
|
17618
17603
|
class: vue.normalizeClass(["accordion-icon", { open: vue.unref(open) }])
|
|
17619
17604
|
}, [
|
|
17620
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
17605
|
+
vue.createVNode(vue.unref(_sfc_main$F), { icon: "expand_more" })
|
|
17621
17606
|
], 2)
|
|
17622
|
-
], 8, _hoisted_2$
|
|
17607
|
+
], 8, _hoisted_2$v),
|
|
17623
17608
|
vue.createVNode(vue.Transition, { name: "expand" }, {
|
|
17624
17609
|
default: vue.withCtx(() => [
|
|
17625
17610
|
vue.unref(open) ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -17629,7 +17614,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
|
17629
17614
|
"aria-hidden": vue.unref(open) ? "false" : "true"
|
|
17630
17615
|
}, [
|
|
17631
17616
|
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
17632
|
-
], 8, _hoisted_4$
|
|
17617
|
+
], 8, _hoisted_4$g)) : vue.createCommentVNode("", true)
|
|
17633
17618
|
]),
|
|
17634
17619
|
_: 3
|
|
17635
17620
|
})
|
|
@@ -17637,62 +17622,29 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
|
17637
17622
|
};
|
|
17638
17623
|
}
|
|
17639
17624
|
});
|
|
17640
|
-
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17641
|
-
const _hoisted_1$
|
|
17642
|
-
const _hoisted_2$
|
|
17643
|
-
const _hoisted_3$n = {
|
|
17644
|
-
|
|
17645
|
-
class: "bagel-input search-wrap"
|
|
17646
|
-
};
|
|
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$y = /* @__PURE__ */ vue.defineComponent({
|
|
17625
|
+
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-bf74738b"]]);
|
|
17626
|
+
const _hoisted_1$E = { class: "list-wrap bgl_card thin grid overflow-hidden h-100 p-0" };
|
|
17627
|
+
const _hoisted_2$u = { class: "p-1" };
|
|
17628
|
+
const _hoisted_3$n = { class: "list-content auto-flow-rows align-items-start overflow-y h-100" };
|
|
17629
|
+
const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
17650
17630
|
__name: "ListView",
|
|
17651
|
-
|
|
17652
|
-
enableAdd: { type: Boolean },
|
|
17653
|
-
enableSearch: { type: Boolean },
|
|
17654
|
-
searchPlaceholder: {}
|
|
17655
|
-
},
|
|
17656
|
-
emits: ["search", "add", "debounce"],
|
|
17657
|
-
setup(__props, { emit: __emit }) {
|
|
17658
|
-
const emit2 = __emit;
|
|
17659
|
-
const searchTerm = vue.ref("");
|
|
17660
|
-
const search = () => {
|
|
17661
|
-
emit2("search", searchTerm.value);
|
|
17662
|
-
debounce(() => emit2("debounce", searchTerm.value));
|
|
17663
|
-
};
|
|
17631
|
+
setup(__props) {
|
|
17664
17632
|
return (_ctx, _cache) => {
|
|
17665
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
17666
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
17667
|
-
|
|
17668
|
-
vue.withDirectives(vue.createElementVNode("input", {
|
|
17669
|
-
placeholder: _ctx.searchPlaceholder,
|
|
17670
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => searchTerm.value = $event),
|
|
17671
|
-
onInput: _cache[1] || (_cache[1] = ($event) => search())
|
|
17672
|
-
}, null, 40, _hoisted_4$g), [
|
|
17673
|
-
[vue.vModelText, searchTerm.value]
|
|
17674
|
-
]),
|
|
17675
|
-
vue.createVNode(vue.unref(_sfc_main$E), {
|
|
17676
|
-
class: "txtgray",
|
|
17677
|
-
icon: "search"
|
|
17678
|
-
})
|
|
17679
|
-
])) : vue.createCommentVNode("", true),
|
|
17680
|
-
_ctx.enableAdd ? (vue.openBlock(), vue.createBlock(vue.unref(Btn), {
|
|
17681
|
-
key: 1,
|
|
17682
|
-
icon: "add",
|
|
17683
|
-
onClick: _cache[2] || (_cache[2] = ($event) => emit2("add"))
|
|
17684
|
-
})) : vue.createCommentVNode("", true)
|
|
17633
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$E, [
|
|
17634
|
+
vue.createElementVNode("div", _hoisted_2$u, [
|
|
17635
|
+
vue.renderSlot(_ctx.$slots, "header")
|
|
17685
17636
|
]),
|
|
17686
|
-
vue.
|
|
17637
|
+
vue.createTextVNode(),
|
|
17638
|
+
vue.createElementVNode("div", _hoisted_3$n, [
|
|
17687
17639
|
vue.renderSlot(_ctx.$slots, "default")
|
|
17688
17640
|
])
|
|
17689
17641
|
]);
|
|
17690
17642
|
};
|
|
17691
17643
|
}
|
|
17692
17644
|
});
|
|
17693
|
-
const _hoisted_1$
|
|
17694
|
-
const _hoisted_2$
|
|
17695
|
-
const _sfc_main$
|
|
17645
|
+
const _hoisted_1$D = { class: "txt16 no-margin ellipsis" };
|
|
17646
|
+
const _hoisted_2$t = { class: "txt14 no-margin txt-gray ellipsis" };
|
|
17647
|
+
const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
17696
17648
|
__name: "ListItem",
|
|
17697
17649
|
props: {
|
|
17698
17650
|
src: {},
|
|
@@ -17716,11 +17668,11 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
17716
17668
|
size: 40
|
|
17717
17669
|
}, null, 8, ["name", "src"])) : vue.createCommentVNode("", true),
|
|
17718
17670
|
vue.createElementVNode("div", null, [
|
|
17719
|
-
vue.createElementVNode("p", _hoisted_1$
|
|
17671
|
+
vue.createElementVNode("p", _hoisted_1$D, [
|
|
17720
17672
|
vue.createTextVNode(vue.toDisplayString(_ctx.title) + " ", 1),
|
|
17721
17673
|
vue.renderSlot(_ctx.$slots, "default")
|
|
17722
17674
|
]),
|
|
17723
|
-
vue.createElementVNode("p", _hoisted_2$
|
|
17675
|
+
vue.createElementVNode("p", _hoisted_2$t, [
|
|
17724
17676
|
vue.createTextVNode(vue.toDisplayString(_ctx.subtitle) + " ", 1),
|
|
17725
17677
|
vue.renderSlot(_ctx.$slots, "subtitle")
|
|
17726
17678
|
])
|
|
@@ -17731,10 +17683,10 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
17731
17683
|
};
|
|
17732
17684
|
}
|
|
17733
17685
|
});
|
|
17734
|
-
const _hoisted_1$
|
|
17735
|
-
const _hoisted_2$
|
|
17686
|
+
const _hoisted_1$C = { class: "bgl_card tabs-top" };
|
|
17687
|
+
const _hoisted_2$s = { class: "tabs grid auto-flow-columns fit-content" };
|
|
17736
17688
|
const _hoisted_3$m = ["onClick"];
|
|
17737
|
-
const _sfc_main$
|
|
17689
|
+
const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
17738
17690
|
__name: "TabbedLayout",
|
|
17739
17691
|
props: {
|
|
17740
17692
|
title: {},
|
|
@@ -17769,9 +17721,9 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
17769
17721
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
17770
17722
|
class: vue.normalizeClass(["h-100 grid list-view gap-3", { "side-tabs": _ctx.sideTabs }])
|
|
17771
17723
|
}, [
|
|
17772
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
17724
|
+
vue.createElementVNode("div", _hoisted_1$C, [
|
|
17773
17725
|
vue.renderSlot(_ctx.$slots, "top-section", {}, void 0, true),
|
|
17774
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
17726
|
+
vue.createElementVNode("div", _hoisted_2$s, [
|
|
17775
17727
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.tabs, (tab) => {
|
|
17776
17728
|
var _a2;
|
|
17777
17729
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -17796,16 +17748,16 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
17796
17748
|
};
|
|
17797
17749
|
}
|
|
17798
17750
|
});
|
|
17799
|
-
const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17800
|
-
const _hoisted_1$
|
|
17801
|
-
const _hoisted_2$
|
|
17751
|
+
const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-a45251cc"]]);
|
|
17752
|
+
const _hoisted_1$B = { class: "comments-wrap" };
|
|
17753
|
+
const _hoisted_2$r = { class: "comment-list" };
|
|
17802
17754
|
const _hoisted_3$l = { class: "comment-top" };
|
|
17803
17755
|
const _hoisted_4$f = { class: "comment-owner" };
|
|
17804
17756
|
const _hoisted_5$d = { class: "comment-time" };
|
|
17805
17757
|
const _hoisted_6$9 = { class: "comment-actions" };
|
|
17806
17758
|
const _hoisted_7$5 = ["innerHTML"];
|
|
17807
17759
|
const _hoisted_8$2 = { class: "new-comment" };
|
|
17808
|
-
const _sfc_main$
|
|
17760
|
+
const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
17809
17761
|
__name: "Comments",
|
|
17810
17762
|
props: {
|
|
17811
17763
|
ref_table: {},
|
|
@@ -17848,8 +17800,8 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
|
17848
17800
|
void fetchData();
|
|
17849
17801
|
};
|
|
17850
17802
|
return (_ctx, _cache) => {
|
|
17851
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
17852
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
17803
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$B, [
|
|
17804
|
+
vue.createElementVNode("div", _hoisted_2$r, [
|
|
17853
17805
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(comments), (comment) => {
|
|
17854
17806
|
var _a2, _b, _c;
|
|
17855
17807
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -17863,19 +17815,19 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
|
17863
17815
|
vue.createElementVNode("div", _hoisted_4$f, vue.toDisplayString(comment.sender.first_name) + " " + vue.toDisplayString(comment.sender.last_name), 1),
|
|
17864
17816
|
vue.createElementVNode("div", _hoisted_5$d, vue.toDisplayString(comment.updated_at.split("T")[0]), 1),
|
|
17865
17817
|
vue.createElementVNode("div", _hoisted_6$9, [
|
|
17866
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
17818
|
+
vue.createVNode(vue.unref(_sfc_main$F), {
|
|
17867
17819
|
size: 1,
|
|
17868
17820
|
class: "edit",
|
|
17869
17821
|
icon: "edit",
|
|
17870
17822
|
onClick: ($event) => vue.isRef(editComment) ? editComment.value = comment : editComment = comment
|
|
17871
17823
|
}, null, 8, ["onClick"]),
|
|
17872
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
17824
|
+
vue.createVNode(vue.unref(_sfc_main$F), {
|
|
17873
17825
|
size: 1.2,
|
|
17874
17826
|
class: "delete",
|
|
17875
17827
|
icon: "delete",
|
|
17876
17828
|
onClick: ($event) => deleteComment(comment.id)
|
|
17877
17829
|
}, null, 8, ["onClick"]),
|
|
17878
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
17830
|
+
vue.createVNode(vue.unref(_sfc_main$F), {
|
|
17879
17831
|
size: 1.2,
|
|
17880
17832
|
class: "save",
|
|
17881
17833
|
icon: "save",
|
|
@@ -17883,7 +17835,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
|
17883
17835
|
})
|
|
17884
17836
|
])
|
|
17885
17837
|
]),
|
|
17886
|
-
vue.unref(editComment) !== null && ((_c = vue.unref(editComment)) == null ? void 0 : _c.id) === comment.id ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
17838
|
+
vue.unref(editComment) !== null && ((_c = vue.unref(editComment)) == null ? void 0 : _c.id) === comment.id ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$G), {
|
|
17887
17839
|
key: 0,
|
|
17888
17840
|
modelValue: vue.unref(editComment).body_html,
|
|
17889
17841
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(editComment).body_html = $event),
|
|
@@ -17897,7 +17849,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
|
17897
17849
|
}), 128))
|
|
17898
17850
|
]),
|
|
17899
17851
|
vue.createElementVNode("div", _hoisted_8$2, [
|
|
17900
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
17852
|
+
vue.createVNode(vue.unref(_sfc_main$G), {
|
|
17901
17853
|
class: "comment-input",
|
|
17902
17854
|
modelValue: vue.unref(bodyHtml),
|
|
17903
17855
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(bodyHtml) ? bodyHtml.value = $event : bodyHtml = $event),
|
|
@@ -17917,10 +17869,10 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
|
17917
17869
|
};
|
|
17918
17870
|
}
|
|
17919
17871
|
});
|
|
17920
|
-
const Comments = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17921
|
-
const _hoisted_1$
|
|
17922
|
-
const _hoisted_2$
|
|
17923
|
-
const _sfc_main$
|
|
17872
|
+
const Comments = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-c4b41dc0"]]);
|
|
17873
|
+
const _hoisted_1$A = { class: "page-top" };
|
|
17874
|
+
const _hoisted_2$q = { class: "top-title" };
|
|
17875
|
+
const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
17924
17876
|
__name: "PageTitle",
|
|
17925
17877
|
props: {
|
|
17926
17878
|
value: {
|
|
@@ -17930,8 +17882,8 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
17930
17882
|
},
|
|
17931
17883
|
setup(__props) {
|
|
17932
17884
|
return (_ctx, _cache) => {
|
|
17933
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
17934
|
-
vue.createElementVNode("h1", _hoisted_2$
|
|
17885
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$A, [
|
|
17886
|
+
vue.createElementVNode("h1", _hoisted_2$q, [
|
|
17935
17887
|
vue.renderSlot(_ctx.$slots, "default"),
|
|
17936
17888
|
vue.createTextVNode(" " + vue.toDisplayString(__props.value), 1)
|
|
17937
17889
|
])
|
|
@@ -17939,14 +17891,14 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
17939
17891
|
};
|
|
17940
17892
|
}
|
|
17941
17893
|
});
|
|
17942
|
-
const _hoisted_1$
|
|
17943
|
-
const _hoisted_2$
|
|
17894
|
+
const _hoisted_1$z = { class: "table-list-wrap h-100" };
|
|
17895
|
+
const _hoisted_2$p = { class: "infinite-wrapper" };
|
|
17944
17896
|
const _hoisted_3$k = { class: "row first-row" };
|
|
17945
17897
|
const _hoisted_4$e = ["onClick"];
|
|
17946
17898
|
const _hoisted_5$c = { class: "flex" };
|
|
17947
17899
|
const _hoisted_6$8 = ["onClick"];
|
|
17948
17900
|
const _hoisted_7$4 = { key: 1 };
|
|
17949
|
-
const _sfc_main$
|
|
17901
|
+
const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
17950
17902
|
__name: "TableSchema",
|
|
17951
17903
|
props: {
|
|
17952
17904
|
data: {},
|
|
@@ -17980,8 +17932,8 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
17980
17932
|
emit2("orderBy", `${fieldname} ${sortDirection.value}`.trim());
|
|
17981
17933
|
};
|
|
17982
17934
|
return (_ctx, _cache) => {
|
|
17983
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
17984
|
-
vue.createElementVNode("table", _hoisted_2$
|
|
17935
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$z, [
|
|
17936
|
+
vue.createElementVNode("table", _hoisted_2$p, [
|
|
17985
17937
|
vue.createElementVNode("thead", _hoisted_3$k, [
|
|
17986
17938
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(computedSchema.value, (field) => {
|
|
17987
17939
|
return vue.openBlock(), vue.createElementBlock("th", {
|
|
@@ -17990,11 +17942,11 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
17990
17942
|
onClick: ($event) => sort2((field == null ? void 0 : field.id) || "")
|
|
17991
17943
|
}, [
|
|
17992
17944
|
vue.createElementVNode("div", _hoisted_5$c, [
|
|
17993
|
-
vue.createTextVNode(vue.toDisplayString(field.id) + " ", 1),
|
|
17945
|
+
vue.createTextVNode(vue.toDisplayString(field.label || vue.unref(keyToLabel)(field.id)) + " ", 1),
|
|
17994
17946
|
vue.createElementVNode("div", {
|
|
17995
17947
|
class: vue.normalizeClass(["list-arrows", { sorted: vue.unref(sortField) === field.id }])
|
|
17996
17948
|
}, [
|
|
17997
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
17949
|
+
vue.createVNode(vue.unref(_sfc_main$F), {
|
|
17998
17950
|
class: vue.normalizeClass({ desc: vue.unref(sortDirection) === "DESC" }),
|
|
17999
17951
|
icon: "keyboard_arrow_up"
|
|
18000
17952
|
}, null, 8, ["class"])
|
|
@@ -18038,16 +17990,16 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
18038
17990
|
};
|
|
18039
17991
|
}
|
|
18040
17992
|
});
|
|
18041
|
-
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18042
|
-
const _sfc_main$
|
|
18043
|
-
const _hoisted_1$
|
|
17993
|
+
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-f3641508"]]);
|
|
17994
|
+
const _sfc_main$t = {};
|
|
17995
|
+
const _hoisted_1$y = { class: "flex space-between" };
|
|
18044
17996
|
function _sfc_render$1(_ctx, _cache) {
|
|
18045
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
17997
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$y, [
|
|
18046
17998
|
vue.renderSlot(_ctx.$slots, "default")
|
|
18047
17999
|
]);
|
|
18048
18000
|
}
|
|
18049
|
-
const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18050
|
-
const _sfc_main$
|
|
18001
|
+
const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$1]]);
|
|
18002
|
+
const _sfc_main$s = {};
|
|
18051
18003
|
function _sfc_render(_ctx, _cache) {
|
|
18052
18004
|
const _component_router_view = vue.resolveComponent("router-view");
|
|
18053
18005
|
return vue.openBlock(), vue.createBlock(_component_router_view, null, {
|
|
@@ -18069,12 +18021,12 @@ function _sfc_render(_ctx, _cache) {
|
|
|
18069
18021
|
_: 1
|
|
18070
18022
|
});
|
|
18071
18023
|
}
|
|
18072
|
-
const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18073
|
-
const _hoisted_1$
|
|
18024
|
+
const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render]]);
|
|
18025
|
+
const _hoisted_1$x = {
|
|
18074
18026
|
key: 0,
|
|
18075
18027
|
class: "data"
|
|
18076
18028
|
};
|
|
18077
|
-
const _hoisted_2$
|
|
18029
|
+
const _hoisted_2$o = {
|
|
18078
18030
|
key: 0,
|
|
18079
18031
|
class: "data-row"
|
|
18080
18032
|
};
|
|
@@ -18082,7 +18034,7 @@ const _hoisted_3$j = { class: "key" };
|
|
|
18082
18034
|
const _hoisted_4$d = { key: 1 };
|
|
18083
18035
|
const _hoisted_5$b = { class: "key" };
|
|
18084
18036
|
const _hoisted_6$7 = { class: "vlue" };
|
|
18085
|
-
const _sfc_main$
|
|
18037
|
+
const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
18086
18038
|
__name: "DataPreview",
|
|
18087
18039
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
18088
18040
|
schema: {},
|
|
@@ -18096,8 +18048,8 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
18096
18048
|
const itemData = vue.useModel(__props, "data");
|
|
18097
18049
|
return (_ctx, _cache) => {
|
|
18098
18050
|
var _a2;
|
|
18099
|
-
return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
18100
|
-
_ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
18051
|
+
return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$x, [
|
|
18052
|
+
_ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$o), {
|
|
18101
18053
|
key: 0,
|
|
18102
18054
|
label: _ctx.title
|
|
18103
18055
|
}, null, 8, ["label"])) : vue.createCommentVNode("", true),
|
|
@@ -18105,7 +18057,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
18105
18057
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, {
|
|
18106
18058
|
key: field.id
|
|
18107
18059
|
}, [
|
|
18108
|
-
vue.unref(iffer)(field, itemData.value) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
18060
|
+
vue.unref(iffer)(field, itemData.value) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$o, [
|
|
18109
18061
|
vue.createElementVNode("div", _hoisted_3$j, vue.toDisplayString((field == null ? void 0 : field.label) || vue.unref(keyToLabel)(field.id)), 1),
|
|
18110
18062
|
vue.createVNode(vue.unref(_sfc_main$g), {
|
|
18111
18063
|
field,
|
|
@@ -18131,27 +18083,36 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
18131
18083
|
};
|
|
18132
18084
|
}
|
|
18133
18085
|
});
|
|
18134
|
-
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18135
|
-
const _sfc_main$
|
|
18086
|
+
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-bb2526f9"]]);
|
|
18087
|
+
const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
18136
18088
|
__name: "Card",
|
|
18137
18089
|
props: {
|
|
18138
18090
|
thin: { type: Boolean },
|
|
18139
|
-
|
|
18091
|
+
outline: { type: Boolean },
|
|
18140
18092
|
h100: { type: Boolean },
|
|
18093
|
+
overflowX: { type: Boolean },
|
|
18094
|
+
overflowY: { type: Boolean },
|
|
18141
18095
|
bg: {}
|
|
18142
18096
|
},
|
|
18143
18097
|
setup(__props) {
|
|
18144
18098
|
return (_ctx, _cache) => {
|
|
18145
18099
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
18146
|
-
class: vue.normalizeClass(["
|
|
18100
|
+
class: vue.normalizeClass(["bgl_card", {
|
|
18101
|
+
thin: _ctx.thin,
|
|
18102
|
+
border: _ctx.outline,
|
|
18103
|
+
"h-100": _ctx.h100,
|
|
18104
|
+
[_ctx.bg || ""]: _ctx.bg,
|
|
18105
|
+
"overflow-x": _ctx.overflowX,
|
|
18106
|
+
"overflow-y": _ctx.overflowY
|
|
18107
|
+
}])
|
|
18147
18108
|
}, [
|
|
18148
18109
|
vue.renderSlot(_ctx.$slots, "default")
|
|
18149
18110
|
], 2);
|
|
18150
18111
|
};
|
|
18151
18112
|
}
|
|
18152
18113
|
});
|
|
18153
|
-
const _hoisted_1$
|
|
18154
|
-
const _sfc_main$
|
|
18114
|
+
const _hoisted_1$w = ["src", "alt"];
|
|
18115
|
+
const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
18155
18116
|
__name: "Avatar",
|
|
18156
18117
|
props: {
|
|
18157
18118
|
fallback: {},
|
|
@@ -18169,16 +18130,16 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
|
18169
18130
|
key: 0,
|
|
18170
18131
|
src: _ctx.src,
|
|
18171
18132
|
alt: _ctx.name
|
|
18172
|
-
}, null, 8, _hoisted_1$
|
|
18133
|
+
}, null, 8, _hoisted_1$w)) : (vue.openBlock(), vue.createElementBlock("p", {
|
|
18173
18134
|
key: 1,
|
|
18174
|
-
style: vue.normalizeStyle({ "line-height": `${_ctx.size *
|
|
18135
|
+
style: vue.normalizeStyle({ "line-height": `${_ctx.size}px`, "font-size": `calc(1.5rem * ${_ctx.size} / 50)` })
|
|
18175
18136
|
}, vue.toDisplayString(_ctx.fallback || vue.unref(initials)(_ctx.name || "")), 5))
|
|
18176
18137
|
], 4);
|
|
18177
18138
|
};
|
|
18178
18139
|
}
|
|
18179
18140
|
});
|
|
18180
|
-
const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18181
|
-
const _sfc_main$
|
|
18141
|
+
const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-c38bc02a"]]);
|
|
18142
|
+
const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
18182
18143
|
__name: "Title",
|
|
18183
18144
|
props: {
|
|
18184
18145
|
value: {
|
|
@@ -18206,7 +18167,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
|
18206
18167
|
};
|
|
18207
18168
|
}
|
|
18208
18169
|
});
|
|
18209
|
-
const _sfc_main$
|
|
18170
|
+
const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
18210
18171
|
__name: "Accordion",
|
|
18211
18172
|
setup(__props) {
|
|
18212
18173
|
const state = vue.reactive({
|
|
@@ -18220,8 +18181,8 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
18220
18181
|
};
|
|
18221
18182
|
}
|
|
18222
18183
|
});
|
|
18223
|
-
const _hoisted_1$
|
|
18224
|
-
const _sfc_main$
|
|
18184
|
+
const _hoisted_1$v = ["onClick"];
|
|
18185
|
+
const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
18225
18186
|
__name: "ComboBox",
|
|
18226
18187
|
props: {
|
|
18227
18188
|
options: {},
|
|
@@ -18301,7 +18262,7 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
|
18301
18262
|
class: "bagel-input combobox"
|
|
18302
18263
|
}, {
|
|
18303
18264
|
popper: vue.withCtx(({ hide }) => [
|
|
18304
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
18265
|
+
vue.createVNode(vue.unref(_sfc_main$q), {
|
|
18305
18266
|
thin: "",
|
|
18306
18267
|
class: "combobox-options"
|
|
18307
18268
|
}, {
|
|
@@ -18326,11 +18287,11 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
|
18326
18287
|
}
|
|
18327
18288
|
}, [
|
|
18328
18289
|
vue.createElementVNode("span", null, vue.toDisplayString(label(option2)), 1),
|
|
18329
|
-
isSelected(option2) ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
18290
|
+
isSelected(option2) ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$F), {
|
|
18330
18291
|
key: 0,
|
|
18331
18292
|
icon: "check"
|
|
18332
18293
|
})) : vue.createCommentVNode("", true)
|
|
18333
|
-
], 10, _hoisted_1$
|
|
18294
|
+
], 10, _hoisted_1$v);
|
|
18334
18295
|
}), 128))
|
|
18335
18296
|
]),
|
|
18336
18297
|
_: 2
|
|
@@ -18343,7 +18304,7 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
|
18343
18304
|
onClick: toggle
|
|
18344
18305
|
}, [
|
|
18345
18306
|
vue.createTextVNode(vue.toDisplayString(valueToLabel(vue.unref(selectedItem)) || _ctx.placeholder || "Select") + " ", 1),
|
|
18346
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
18307
|
+
vue.createVNode(vue.unref(_sfc_main$F), vue.normalizeProps(vue.guardReactiveProps({ "icon": vue.unref(open) ? "unfold_less" : "unfold_more" })), null, 16)
|
|
18347
18308
|
]),
|
|
18348
18309
|
_ctx.required ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", {
|
|
18349
18310
|
key: 0,
|
|
@@ -18359,36 +18320,48 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
|
18359
18320
|
};
|
|
18360
18321
|
}
|
|
18361
18322
|
});
|
|
18362
|
-
const ComboBox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18363
|
-
const
|
|
18323
|
+
const ComboBox = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-ceeb5855"]]);
|
|
18324
|
+
const _hoisted_1$u = ["dismissable"];
|
|
18325
|
+
const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
18364
18326
|
__name: "Alert",
|
|
18365
18327
|
props: {
|
|
18366
18328
|
message: {},
|
|
18329
|
+
dismissable: { type: Boolean },
|
|
18367
18330
|
type: { default: "info" }
|
|
18368
18331
|
},
|
|
18369
18332
|
setup(__props) {
|
|
18333
|
+
const isDismissed = vue.ref(false);
|
|
18370
18334
|
const color2 = {
|
|
18371
|
-
info: "
|
|
18372
|
-
warning: "
|
|
18373
|
-
error: "
|
|
18335
|
+
info: "var(--bgl-primary)",
|
|
18336
|
+
warning: "var(--bgl-yellow)",
|
|
18337
|
+
error: "var(--bgl-red)"
|
|
18374
18338
|
};
|
|
18375
18339
|
return (_ctx, _cache) => {
|
|
18376
|
-
return vue.openBlock(), vue.createElementBlock("div", {
|
|
18377
|
-
|
|
18340
|
+
return !isDismissed.value ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
18341
|
+
key: 0,
|
|
18342
|
+
class: vue.normalizeClass(["alert", [_ctx.type]]),
|
|
18343
|
+
dismissable: _ctx.dismissable
|
|
18378
18344
|
}, [
|
|
18379
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
18345
|
+
vue.createVNode(vue.unref(_sfc_main$F), {
|
|
18380
18346
|
class: "alert_icon",
|
|
18381
18347
|
icon: _ctx.type,
|
|
18382
18348
|
size: 2,
|
|
18383
18349
|
color: color2[_ctx.type]
|
|
18384
18350
|
}, null, 8, ["icon", "color"]),
|
|
18385
|
-
vue.
|
|
18386
|
-
|
|
18351
|
+
vue.createElementVNode("p", null, vue.toDisplayString(_ctx.message), 1),
|
|
18352
|
+
vue.createVNode(Btn, {
|
|
18353
|
+
onClick: _cache[0] || (_cache[0] = ($event) => isDismissed.value = true),
|
|
18354
|
+
flat: "",
|
|
18355
|
+
thin: "",
|
|
18356
|
+
class: "alert_close",
|
|
18357
|
+
icon: "close"
|
|
18358
|
+
})
|
|
18359
|
+
], 10, _hoisted_1$u)) : vue.createCommentVNode("", true);
|
|
18387
18360
|
};
|
|
18388
18361
|
}
|
|
18389
18362
|
});
|
|
18390
|
-
const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18391
|
-
const _sfc_main$
|
|
18363
|
+
const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-94bfcb05"]]);
|
|
18364
|
+
const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
18392
18365
|
__name: "Badge",
|
|
18393
18366
|
props: {
|
|
18394
18367
|
color: {},
|
|
@@ -18403,13 +18376,13 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
18403
18376
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
18404
18377
|
class: vue.normalizeClass(["pill", [_ctx.color]])
|
|
18405
18378
|
}, [
|
|
18406
|
-
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
18379
|
+
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$F), {
|
|
18407
18380
|
key: 0,
|
|
18408
18381
|
class: "inline",
|
|
18409
18382
|
icon: _ctx.icon
|
|
18410
18383
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
18411
18384
|
vue.createTextVNode(" " + vue.toDisplayString(_ctx.text) + " ", 1),
|
|
18412
|
-
props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
18385
|
+
props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$F), {
|
|
18413
18386
|
key: 1,
|
|
18414
18387
|
class: "inline",
|
|
18415
18388
|
icon: props2["icon.end"]
|
|
@@ -18418,11 +18391,11 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
18418
18391
|
};
|
|
18419
18392
|
}
|
|
18420
18393
|
});
|
|
18421
|
-
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18422
|
-
const _hoisted_1$
|
|
18423
|
-
const _hoisted_2$
|
|
18394
|
+
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-ad24530a"]]);
|
|
18395
|
+
const _hoisted_1$t = { class: "bgl_vid" };
|
|
18396
|
+
const _hoisted_2$n = ["src"];
|
|
18424
18397
|
const _hoisted_3$i = ["src", "autoplay", "muted", "loop", "controls"];
|
|
18425
|
-
const _sfc_main$
|
|
18398
|
+
const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
18426
18399
|
__name: "BglVideo",
|
|
18427
18400
|
props: {
|
|
18428
18401
|
src: {},
|
|
@@ -18461,7 +18434,7 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
|
18461
18434
|
});
|
|
18462
18435
|
console.log("Video URL:", videoUrl.value);
|
|
18463
18436
|
return (_ctx, _cache) => {
|
|
18464
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
18437
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$t, [
|
|
18465
18438
|
embedType.value ? (vue.openBlock(), vue.createElementBlock("iframe", {
|
|
18466
18439
|
key: 0,
|
|
18467
18440
|
src: videoUrl.value,
|
|
@@ -18469,20 +18442,192 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
|
18469
18442
|
frameborder: "0",
|
|
18470
18443
|
allowfullscreen: "",
|
|
18471
18444
|
title: "Video"
|
|
18472
|
-
}, null, 12, _hoisted_2$
|
|
18445
|
+
}, null, 12, _hoisted_2$n)) : (vue.openBlock(), vue.createElementBlock("video", {
|
|
18473
18446
|
key: 1,
|
|
18474
18447
|
src: _ctx.src,
|
|
18475
18448
|
autoplay: _ctx.autoplay,
|
|
18476
18449
|
muted: _ctx.mute,
|
|
18477
18450
|
loop: _ctx.loop,
|
|
18478
18451
|
style: vue.normalizeStyle({ aspectRatio: aspectRatio.value }),
|
|
18479
|
-
controls: _ctx.controls
|
|
18452
|
+
controls: _ctx.controls,
|
|
18453
|
+
playsinline: ""
|
|
18480
18454
|
}, null, 12, _hoisted_3$i))
|
|
18481
18455
|
]);
|
|
18482
18456
|
};
|
|
18483
18457
|
}
|
|
18484
18458
|
});
|
|
18485
|
-
const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18459
|
+
const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-23835d69"]]);
|
|
18460
|
+
const _hoisted_1$s = {
|
|
18461
|
+
key: 0,
|
|
18462
|
+
class: "blocker"
|
|
18463
|
+
};
|
|
18464
|
+
const _hoisted_2$m = { class: "Handlers" };
|
|
18465
|
+
const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
18466
|
+
__name: "Carousel",
|
|
18467
|
+
props: {
|
|
18468
|
+
autoHeight: {
|
|
18469
|
+
type: Boolean,
|
|
18470
|
+
default: false
|
|
18471
|
+
},
|
|
18472
|
+
allowScroll: {
|
|
18473
|
+
type: Boolean,
|
|
18474
|
+
default: true
|
|
18475
|
+
},
|
|
18476
|
+
freeDrag: {
|
|
18477
|
+
type: Boolean,
|
|
18478
|
+
default: true
|
|
18479
|
+
},
|
|
18480
|
+
items: {
|
|
18481
|
+
type: Number,
|
|
18482
|
+
default: 4
|
|
18483
|
+
},
|
|
18484
|
+
index: {
|
|
18485
|
+
type: Number,
|
|
18486
|
+
default: 0
|
|
18487
|
+
}
|
|
18488
|
+
},
|
|
18489
|
+
emits: ["update:index"],
|
|
18490
|
+
setup(__props, { emit: __emit }) {
|
|
18491
|
+
const bglSlider = vue.ref();
|
|
18492
|
+
let activeSlideIndex = vue.ref(0);
|
|
18493
|
+
let isDragging = vue.ref(false);
|
|
18494
|
+
let startX = vue.ref(0);
|
|
18495
|
+
let scrollLeft = vue.ref(0);
|
|
18496
|
+
let isPressed = vue.ref(false);
|
|
18497
|
+
const emit2 = __emit;
|
|
18498
|
+
const props2 = __props;
|
|
18499
|
+
const disableDrag = () => {
|
|
18500
|
+
var _a2, _b;
|
|
18501
|
+
(_a2 = bglSlider.value) == null ? void 0 : _a2.querySelectorAll("img").forEach((e) => e.setAttribute("draggable", "false"));
|
|
18502
|
+
for (const e of ((_b = bglSlider.value) == null ? void 0 : _b.children) || []) {
|
|
18503
|
+
e.setAttribute("draggable", "false");
|
|
18504
|
+
e.addEventListener("click", (e22) => e22.preventDefault());
|
|
18505
|
+
}
|
|
18506
|
+
};
|
|
18507
|
+
let yHeight = vue.ref("auto");
|
|
18508
|
+
const evalHeight = () => {
|
|
18509
|
+
if (!props2.autoHeight || !bglSlider.value)
|
|
18510
|
+
return;
|
|
18511
|
+
const slidChildren = bglSlider.value.children[activeSlideIndex.value].children;
|
|
18512
|
+
const height = Array.from(slidChildren).map((el) => el.clientHeight).reduce((a2, b2) => a2 + b2, 0);
|
|
18513
|
+
yHeight.value = `${height}px`;
|
|
18514
|
+
};
|
|
18515
|
+
const goToSlide = (index2) => {
|
|
18516
|
+
if (!bglSlider.value || index2 < 0 || index2 > bglSlider.value.children.length - 1)
|
|
18517
|
+
return;
|
|
18518
|
+
const slider = bglSlider.value;
|
|
18519
|
+
const scrollX = slider.offsetWidth * index2;
|
|
18520
|
+
slider.scrollTo({ left: scrollX, behavior: "smooth" });
|
|
18521
|
+
activeSlideIndex.value = index2;
|
|
18522
|
+
evalHeight();
|
|
18523
|
+
};
|
|
18524
|
+
vue.watch(() => props2.index, goToSlide);
|
|
18525
|
+
vue.watch(activeSlideIndex.value, (index2) => emit2("update:index", index2));
|
|
18526
|
+
const scrollEnd = () => {
|
|
18527
|
+
const slider = bglSlider.value;
|
|
18528
|
+
if (!slider || props2.items !== 1)
|
|
18529
|
+
return;
|
|
18530
|
+
const nextSlide = Math.round(slider.scrollLeft / slider.offsetWidth);
|
|
18531
|
+
goToSlide(nextSlide);
|
|
18532
|
+
};
|
|
18533
|
+
const stopDragging = (e) => {
|
|
18534
|
+
isPressed.value = false;
|
|
18535
|
+
const slider = bglSlider.value;
|
|
18536
|
+
if (!slider)
|
|
18537
|
+
return;
|
|
18538
|
+
const isDragForward = startX.value > e.pageX + slider.offsetLeft;
|
|
18539
|
+
if (isDragForward)
|
|
18540
|
+
activeSlideIndex.value = Math.ceil(slider.scrollLeft / slider.offsetWidth);
|
|
18541
|
+
else
|
|
18542
|
+
activeSlideIndex.value = Math.floor(slider.scrollLeft / slider.offsetWidth);
|
|
18543
|
+
if (props2.items === 1)
|
|
18544
|
+
goToSlide(activeSlideIndex.value);
|
|
18545
|
+
startX.value = 0;
|
|
18546
|
+
document.removeEventListener("mousemove", move);
|
|
18547
|
+
document.removeEventListener("mouseup", stopDragging);
|
|
18548
|
+
document.removeEventListener("dragend", stopDragging);
|
|
18549
|
+
setTimeout(() => isDragging.value = false, 100);
|
|
18550
|
+
};
|
|
18551
|
+
const move = (e) => {
|
|
18552
|
+
if (!bglSlider.value)
|
|
18553
|
+
return;
|
|
18554
|
+
const x2 = e.pageX - bglSlider.value.offsetLeft;
|
|
18555
|
+
const walk = x2 - startX.value;
|
|
18556
|
+
if (walk > 20 || walk < -20)
|
|
18557
|
+
isDragging.value = true;
|
|
18558
|
+
if (!isDragging.value)
|
|
18559
|
+
return;
|
|
18560
|
+
const scroll = x2 - startX.value;
|
|
18561
|
+
bglSlider.value.scrollLeft = scrollLeft.value - scroll;
|
|
18562
|
+
};
|
|
18563
|
+
const startDragging = (e) => {
|
|
18564
|
+
if (e.button !== 0 || !props2.freeDrag || !bglSlider.value)
|
|
18565
|
+
return;
|
|
18566
|
+
startX.value = e.pageX - bglSlider.value.offsetLeft;
|
|
18567
|
+
scrollLeft.value = bglSlider.value.scrollLeft;
|
|
18568
|
+
isPressed.value = true;
|
|
18569
|
+
document.addEventListener("mousemove", move);
|
|
18570
|
+
document.addEventListener("mouseup", stopDragging);
|
|
18571
|
+
document.addEventListener("dragend", stopDragging);
|
|
18572
|
+
};
|
|
18573
|
+
const next = () => {
|
|
18574
|
+
if (!bglSlider.value)
|
|
18575
|
+
return;
|
|
18576
|
+
const slideCount = bglSlider.value.children.length;
|
|
18577
|
+
const isLastSlide = activeSlideIndex.value >= slideCount - 1;
|
|
18578
|
+
if (isLastSlide)
|
|
18579
|
+
goToSlide(0);
|
|
18580
|
+
else
|
|
18581
|
+
goToSlide(activeSlideIndex.value + 1);
|
|
18582
|
+
};
|
|
18583
|
+
const prev = () => {
|
|
18584
|
+
if (!bglSlider.value)
|
|
18585
|
+
return;
|
|
18586
|
+
const slideCount = bglSlider.value.children.length;
|
|
18587
|
+
if (activeSlideIndex.value === 0)
|
|
18588
|
+
goToSlide(slideCount - 1);
|
|
18589
|
+
else
|
|
18590
|
+
goToSlide(activeSlideIndex.value - 1);
|
|
18591
|
+
};
|
|
18592
|
+
const evalWidth = () => {
|
|
18593
|
+
if (!bglSlider.value)
|
|
18594
|
+
return;
|
|
18595
|
+
goToSlide(activeSlideIndex.value);
|
|
18596
|
+
};
|
|
18597
|
+
vue.onMounted(() => {
|
|
18598
|
+
window.addEventListener("resize", evalWidth);
|
|
18599
|
+
evalHeight();
|
|
18600
|
+
disableDrag();
|
|
18601
|
+
});
|
|
18602
|
+
vue.onUnmounted(() => window.removeEventListener("resize", evalWidth));
|
|
18603
|
+
return (_ctx, _cache) => {
|
|
18604
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
18605
|
+
class: vue.normalizeClass(["BglCarousel", { autoHeight: __props.autoHeight }]),
|
|
18606
|
+
style: vue.normalizeStyle({ height: vue.unref(yHeight) })
|
|
18607
|
+
}, [
|
|
18608
|
+
vue.createElementVNode("div", {
|
|
18609
|
+
class: vue.normalizeClass([{ dragging: vue.unref(isDragging), clicking: vue.unref(isPressed), [`slides-${__props.items}`]: true, allowScroll: __props.allowScroll }, "bgl-slider"]),
|
|
18610
|
+
onScrollend: scrollEnd,
|
|
18611
|
+
onMousedown: startDragging,
|
|
18612
|
+
ref_key: "bglSlider",
|
|
18613
|
+
ref: bglSlider
|
|
18614
|
+
}, [
|
|
18615
|
+
vue.unref(isDragging) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$s)) : vue.createCommentVNode("", true),
|
|
18616
|
+
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
18617
|
+
], 34),
|
|
18618
|
+
vue.createElementVNode("div", _hoisted_2$m, [
|
|
18619
|
+
vue.createElementVNode("span", { onClick: prev }, [
|
|
18620
|
+
vue.renderSlot(_ctx.$slots, "prev", {}, void 0, true)
|
|
18621
|
+
]),
|
|
18622
|
+
vue.createElementVNode("span", { onClick: next }, [
|
|
18623
|
+
vue.renderSlot(_ctx.$slots, "next", {}, void 0, true)
|
|
18624
|
+
])
|
|
18625
|
+
])
|
|
18626
|
+
], 6);
|
|
18627
|
+
};
|
|
18628
|
+
}
|
|
18629
|
+
});
|
|
18630
|
+
const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-dc11f21a"]]);
|
|
18486
18631
|
const _hoisted_1$r = {
|
|
18487
18632
|
key: 1,
|
|
18488
18633
|
type: "submit",
|
|
@@ -18563,7 +18708,7 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
|
18563
18708
|
ref: form,
|
|
18564
18709
|
onSubmit: vue.withModifiers(runSubmit, ["prevent"])
|
|
18565
18710
|
}, [
|
|
18566
|
-
_ctx.label ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
18711
|
+
_ctx.label ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$o), {
|
|
18567
18712
|
key: 0,
|
|
18568
18713
|
tag: "h4",
|
|
18569
18714
|
label: _ctx.label
|
|
@@ -31462,7 +31607,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
|
31462
31607
|
key: row.id
|
|
31463
31608
|
}, [
|
|
31464
31609
|
vue.createElementVNode("div", _hoisted_5$9, [
|
|
31465
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
31610
|
+
vue.createVNode(vue.unref(_sfc_main$F), { icon: "more_vert" })
|
|
31466
31611
|
]),
|
|
31467
31612
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList((_a3 = vue.unref(entityMeta)) == null ? void 0 : _a3.fields, (field) => {
|
|
31468
31613
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -31479,7 +31624,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
|
31479
31624
|
], 2);
|
|
31480
31625
|
}), 128)),
|
|
31481
31626
|
vue.createElementVNode("div", _hoisted_6$5, [
|
|
31482
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
31627
|
+
vue.createVNode(vue.unref(_sfc_main$F), {
|
|
31483
31628
|
icon: "delete",
|
|
31484
31629
|
onClick: ($event) => removeRow(index2)
|
|
31485
31630
|
}, null, 8, ["onClick"])
|
|
@@ -31641,12 +31786,12 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
31641
31786
|
]),
|
|
31642
31787
|
_ctx.helptext ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_5$8, vue.toDisplayString(_ctx.helptext), 1)) : vue.createCommentVNode("", true)
|
|
31643
31788
|
], 8, _hoisted_2$f),
|
|
31644
|
-
_ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
31789
|
+
_ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$F), {
|
|
31645
31790
|
key: 0,
|
|
31646
31791
|
class: "iconStart",
|
|
31647
31792
|
icon: _ctx.iconStart
|
|
31648
31793
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
31649
|
-
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
31794
|
+
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$F), {
|
|
31650
31795
|
key: 1,
|
|
31651
31796
|
icon: _ctx.icon
|
|
31652
31797
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
@@ -31685,7 +31830,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
|
31685
31830
|
[vue.vModelCheckbox, val.value]
|
|
31686
31831
|
]),
|
|
31687
31832
|
vue.createElementVNode("span", null, [
|
|
31688
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
31833
|
+
vue.createVNode(vue.unref(_sfc_main$F), { icon: "check" })
|
|
31689
31834
|
])
|
|
31690
31835
|
]);
|
|
31691
31836
|
};
|
|
@@ -32050,7 +32195,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
|
32050
32195
|
style: vue.normalizeStyle([`--p:${fileQ.progress}`, { "--b": "2px" }])
|
|
32051
32196
|
}, [
|
|
32052
32197
|
fileQ.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_12, vue.toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : vue.createCommentVNode("", true),
|
|
32053
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
32198
|
+
vue.createVNode(vue.unref(_sfc_main$F), {
|
|
32054
32199
|
class: "success",
|
|
32055
32200
|
icon: "check"
|
|
32056
32201
|
})
|
|
@@ -38459,7 +38604,7 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
|
38459
38604
|
}
|
|
38460
38605
|
});
|
|
38461
38606
|
const _hoisted_1 = { class: "main-content" };
|
|
38462
|
-
const _hoisted_2 = { class: "view-wrapper
|
|
38607
|
+
const _hoisted_2 = { class: "view-wrapper bgl_card thin" };
|
|
38463
38608
|
const _hoisted_3 = { class: "whatsapp-wrap" };
|
|
38464
38609
|
const _hoisted_4 = { class: "create-template-form" };
|
|
38465
38610
|
const _hoisted_5 = { class: "whatsapp-msg" };
|
|
@@ -38565,7 +38710,7 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
|
38565
38710
|
return (_ctx, _cache) => {
|
|
38566
38711
|
var _a2, _b, _c, _d, _e2, _f;
|
|
38567
38712
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
38568
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
38713
|
+
vue.createVNode(vue.unref(_sfc_main$v), null, {
|
|
38569
38714
|
default: vue.withCtx(() => [
|
|
38570
38715
|
vue.createTextVNode("Whatsapp Template")
|
|
38571
38716
|
]),
|
|
@@ -38597,7 +38742,7 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
|
38597
38742
|
};
|
|
38598
38743
|
}
|
|
38599
38744
|
});
|
|
38600
|
-
const MsgTemplate = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
38745
|
+
const MsgTemplate = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-208db149"]]);
|
|
38601
38746
|
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
38602
38747
|
__name: "TextVariableExamples",
|
|
38603
38748
|
props: {
|
|
@@ -38685,7 +38830,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
38685
38830
|
};
|
|
38686
38831
|
}
|
|
38687
38832
|
});
|
|
38688
|
-
exports.Accordion = _sfc_main$
|
|
38833
|
+
exports.Accordion = _sfc_main$n;
|
|
38689
38834
|
exports.AccordionItem = AccordionItem;
|
|
38690
38835
|
exports.Alert = Alert;
|
|
38691
38836
|
exports.Avatar = Avatar;
|
|
@@ -38696,7 +38841,8 @@ exports.BglField = _sfc_main$g;
|
|
|
38696
38841
|
exports.BglForm = _sfc_main$h;
|
|
38697
38842
|
exports.BglVideo = BglVideo;
|
|
38698
38843
|
exports.Btn = Btn;
|
|
38699
|
-
exports.Card = _sfc_main$
|
|
38844
|
+
exports.Card = _sfc_main$q;
|
|
38845
|
+
exports.Carousel = Carousel;
|
|
38700
38846
|
exports.CheckInput = CheckInput;
|
|
38701
38847
|
exports.Checkbox = Checkbox;
|
|
38702
38848
|
exports.ColorPicker = _sfc_main$7;
|
|
@@ -38706,20 +38852,19 @@ exports.DataPreview = DataPreview;
|
|
|
38706
38852
|
exports.DateInput = _sfc_main$e;
|
|
38707
38853
|
exports.DatePicker = _sfc_main$6;
|
|
38708
38854
|
exports.FileUpload = FileUpload;
|
|
38709
|
-
exports.Icon = _sfc_main$
|
|
38855
|
+
exports.Icon = _sfc_main$F;
|
|
38710
38856
|
exports.JSONInput = JSONInput;
|
|
38711
|
-
exports.LangText = _sfc_main$G;
|
|
38712
38857
|
exports.Lineart = _sfc_main$2;
|
|
38713
|
-
exports.ListItem = _sfc_main$
|
|
38714
|
-
exports.ListView = _sfc_main$
|
|
38715
|
-
exports.MaterialIcon = _sfc_main$
|
|
38716
|
-
exports.Modal = _sfc_main$
|
|
38858
|
+
exports.ListItem = _sfc_main$y;
|
|
38859
|
+
exports.ListView = _sfc_main$z;
|
|
38860
|
+
exports.MaterialIcon = _sfc_main$F;
|
|
38861
|
+
exports.Modal = _sfc_main$C;
|
|
38717
38862
|
exports.ModalForm = ModalForm;
|
|
38718
38863
|
exports.ModalPlugin = ModalPlugin;
|
|
38719
38864
|
exports.MsgTemplate = MsgTemplate;
|
|
38720
38865
|
exports.NavBar = NavBar;
|
|
38721
|
-
exports.PageTitle = _sfc_main$
|
|
38722
|
-
exports.RTXEditor = _sfc_main$
|
|
38866
|
+
exports.PageTitle = _sfc_main$v;
|
|
38867
|
+
exports.RTXEditor = _sfc_main$G;
|
|
38723
38868
|
exports.RadioPillsInput = RadioPillsInput;
|
|
38724
38869
|
exports.RichTextEditor = RichTextEditor;
|
|
38725
38870
|
exports.RouterWrapper = RouterWrapper;
|
|
@@ -38729,7 +38874,7 @@ exports.TableField = TableField;
|
|
|
38729
38874
|
exports.TableSchema = TableSchema;
|
|
38730
38875
|
exports.TextInput = TextInput;
|
|
38731
38876
|
exports.TextVariableExamples = _sfc_main;
|
|
38732
|
-
exports.Title = _sfc_main$
|
|
38877
|
+
exports.Title = _sfc_main$o;
|
|
38733
38878
|
exports.ToggleInput = ToggleInput;
|
|
38734
38879
|
exports.TopBar = TopBar;
|
|
38735
38880
|
exports.bagelInjectionKey = bagelInjectionKey;
|