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