@bagelink/vue 0.0.318 → 0.0.331
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/Badge.vue.d.ts +2 -2
- package/dist/components/Badge.vue.d.ts.map +1 -1
- package/dist/components/Card.vue.d.ts +2 -2
- package/dist/components/ComboBox.vue.d.ts +13 -2
- package/dist/components/ComboBox.vue.d.ts.map +1 -1
- 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/ModalBglForm.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/form/BglField.vue.d.ts.map +1 -1
- package/dist/components/form/BglForm.vue.d.ts +1 -5
- package/dist/components/form/BglForm.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/DateInput.vue.d.ts +0 -1
- package/dist/components/form/inputs/TextArea.vue.d.ts +3 -1
- package/dist/components/form/inputs/TextArea.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/TextInput.vue.d.ts +2 -0
- package/dist/components/form/inputs/TextInput.vue.d.ts.map +1 -1
- package/dist/components/formkit/index.d.ts +1 -14
- package/dist/components/formkit/index.d.ts.map +1 -1
- package/dist/components/index.d.ts +0 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/layout/SidebarMenu.vue.d.ts.map +1 -1
- package/dist/components/whatsapp/index.d.ts +0 -2
- package/dist/components/whatsapp/index.d.ts.map +1 -1
- package/dist/index.cjs +419 -569
- package/dist/index.d.ts +0 -1
- package/dist/index.mjs +419 -569
- package/dist/style.css +1815 -331
- package/dist/types/BagelForm.d.ts +1 -1
- package/dist/types/BagelForm.d.ts.map +1 -1
- package/dist/types/materialIcon.d.ts +2 -0
- package/dist/types/materialIcon.d.ts.map +1 -0
- package/dist/types/materialIcons.d.ts +1 -1
- package/dist/types/materialIcons.d.ts.map +1 -1
- package/dist/utils/BagelFormUtils.d.ts +23 -0
- package/dist/utils/BagelFormUtils.d.ts.map +1 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/Badge.vue +2 -2
- package/src/components/Carousel.vue +137 -137
- package/src/components/ComboBox.vue +79 -50
- package/src/components/ListView.vue +28 -27
- package/src/components/Modal.vue +25 -23
- package/src/components/form/BglField.vue +33 -48
- package/src/components/form/BglForm.vue +65 -49
- package/src/components/form/inputs/TextInput.vue +20 -4
- package/src/components/index.ts +1 -1
- package/src/components/layout/SidebarMenu.vue +4 -5
- package/src/components/whatsapp/index.ts +2 -2
- package/src/styles/appearance.css +39 -0
- package/src/styles/bagel.css +2 -0
- package/src/styles/layout.css +112 -6
- package/src/styles/mobilLayout.css +1416 -0
- package/src/styles/text.css +4 -0
- package/src/types/BagelForm.ts +7 -7
- package/src/types/materialIcons.ts +1183 -3006
- package/src/utils/BagelFormUtils.ts +58 -0
- package/src/utils/index.ts +3 -0
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
|
});
|
|
@@ -4907,6 +4907,55 @@ function formatString(str, format2) {
|
|
|
4907
4907
|
}
|
|
4908
4908
|
return str;
|
|
4909
4909
|
}
|
|
4910
|
+
function txtField(id, label, options) {
|
|
4911
|
+
return {
|
|
4912
|
+
$el: "text",
|
|
4913
|
+
class: options == null ? void 0 : options.class,
|
|
4914
|
+
required: options == null ? void 0 : options.required,
|
|
4915
|
+
id,
|
|
4916
|
+
label,
|
|
4917
|
+
placeholder: options == null ? void 0 : options.placeholder,
|
|
4918
|
+
attrs: { type: options == null ? void 0 : options.type }
|
|
4919
|
+
};
|
|
4920
|
+
}
|
|
4921
|
+
function slctField(id, label, options, config) {
|
|
4922
|
+
return {
|
|
4923
|
+
$el: "select",
|
|
4924
|
+
id,
|
|
4925
|
+
options,
|
|
4926
|
+
class: config == null ? void 0 : config.class,
|
|
4927
|
+
placeholder: config == null ? void 0 : config.placeholder,
|
|
4928
|
+
required: config == null ? void 0 : config.required,
|
|
4929
|
+
label,
|
|
4930
|
+
defaultValue: config == null ? void 0 : config.defaultValue,
|
|
4931
|
+
attrs: { disabled: config == null ? void 0 : config.disabled }
|
|
4932
|
+
};
|
|
4933
|
+
}
|
|
4934
|
+
function numField(id, label, options) {
|
|
4935
|
+
return {
|
|
4936
|
+
$el: "text",
|
|
4937
|
+
class: options == null ? void 0 : options.class,
|
|
4938
|
+
required: options == null ? void 0 : options.required,
|
|
4939
|
+
id,
|
|
4940
|
+
label,
|
|
4941
|
+
placeholder: options == null ? void 0 : options.placeholder,
|
|
4942
|
+
attrs: { type: "number" }
|
|
4943
|
+
};
|
|
4944
|
+
}
|
|
4945
|
+
function frmRow(...children2) {
|
|
4946
|
+
return {
|
|
4947
|
+
$el: "div",
|
|
4948
|
+
class: "flex gap-1 m_block",
|
|
4949
|
+
children: children2
|
|
4950
|
+
};
|
|
4951
|
+
}
|
|
4952
|
+
const BagelFormUtils = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4953
|
+
__proto__: null,
|
|
4954
|
+
frmRow,
|
|
4955
|
+
numField,
|
|
4956
|
+
slctField,
|
|
4957
|
+
txtField
|
|
4958
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
4910
4959
|
let timeout;
|
|
4911
4960
|
const debounce = (fn, delay = 500) => {
|
|
4912
4961
|
clearTimeout(timeout);
|
|
@@ -4942,6 +4991,8 @@ function bindAttrs(attrs, fieldVal, row) {
|
|
|
4942
4991
|
key,
|
|
4943
4992
|
typeof value === "function" ? value(fieldVal, row) : value
|
|
4944
4993
|
]);
|
|
4994
|
+
if (attrs.options)
|
|
4995
|
+
console.log("arr", arr);
|
|
4945
4996
|
const resolvedAttrs = Object.fromEntries(arr);
|
|
4946
4997
|
return resolvedAttrs;
|
|
4947
4998
|
}
|
|
@@ -17065,8 +17116,8 @@ const marks = {
|
|
|
17065
17116
|
}
|
|
17066
17117
|
};
|
|
17067
17118
|
const schema = new Schema({ nodes, marks });
|
|
17068
|
-
const _hoisted_1$
|
|
17069
|
-
const _sfc_main$
|
|
17119
|
+
const _hoisted_1$I = ["id"];
|
|
17120
|
+
const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
17070
17121
|
__name: "RTXEditor",
|
|
17071
17122
|
props: {
|
|
17072
17123
|
elementId: { default: Math.random().toString(36).substr(2, 9) },
|
|
@@ -17143,11 +17194,11 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
|
17143
17194
|
onClick: focusEditor,
|
|
17144
17195
|
id: `canvas-${_ctx.elementId}`,
|
|
17145
17196
|
onKeydown: _cache[0] || (_cache[0] = vue.withKeys(vue.withModifiers(($event) => _ctx.$emit("keydown.meta.enter"), ["meta"]), ["enter"]))
|
|
17146
|
-
}, null, 40, _hoisted_1$
|
|
17197
|
+
}, null, 40, _hoisted_1$I);
|
|
17147
17198
|
};
|
|
17148
17199
|
}
|
|
17149
17200
|
});
|
|
17150
|
-
const _sfc_main$
|
|
17201
|
+
const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
17151
17202
|
__name: "MaterialIcon",
|
|
17152
17203
|
props: {
|
|
17153
17204
|
icon: {},
|
|
@@ -17163,13 +17214,13 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
17163
17214
|
};
|
|
17164
17215
|
}
|
|
17165
17216
|
});
|
|
17166
|
-
const _hoisted_1$
|
|
17217
|
+
const _hoisted_1$H = { class: "full-nav" };
|
|
17167
17218
|
const _hoisted_2$y = { class: "nav-scroll" };
|
|
17168
|
-
const _hoisted_3$
|
|
17169
|
-
const _hoisted_4$
|
|
17170
|
-
const _hoisted_5$
|
|
17171
|
-
const _hoisted_6$
|
|
17172
|
-
const _sfc_main$
|
|
17219
|
+
const _hoisted_3$o = { class: "nav-links-wrapper" };
|
|
17220
|
+
const _hoisted_4$g = { class: "tooltip" };
|
|
17221
|
+
const _hoisted_5$d = { class: "bot-buttons-wrapper" };
|
|
17222
|
+
const _hoisted_6$9 = { class: "tooltip" };
|
|
17223
|
+
const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
17173
17224
|
__name: "NavBar",
|
|
17174
17225
|
props: {
|
|
17175
17226
|
footerLinks: { default: () => [] },
|
|
@@ -17193,14 +17244,14 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
|
17193
17244
|
"aria-label": "Toggle Navigation",
|
|
17194
17245
|
tabindex: "0"
|
|
17195
17246
|
}, [
|
|
17196
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
17247
|
+
vue.createVNode(vue.unref(_sfc_main$F), {
|
|
17197
17248
|
icon: "chevron_right",
|
|
17198
17249
|
class: "top-arrow"
|
|
17199
17250
|
})
|
|
17200
17251
|
], 32),
|
|
17201
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
17252
|
+
vue.createElementVNode("div", _hoisted_1$H, [
|
|
17202
17253
|
vue.createElementVNode("div", _hoisted_2$y, [
|
|
17203
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
17254
|
+
vue.createElementVNode("div", _hoisted_3$o, [
|
|
17204
17255
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.links, (link) => {
|
|
17205
17256
|
return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(link.to ? "router-link" : "div"), {
|
|
17206
17257
|
class: "nav-button",
|
|
@@ -17212,17 +17263,17 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
|
17212
17263
|
}
|
|
17213
17264
|
}, {
|
|
17214
17265
|
default: vue.withCtx(() => [
|
|
17215
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
17266
|
+
vue.createVNode(vue.unref(_sfc_main$F), {
|
|
17216
17267
|
icon: link.icon
|
|
17217
17268
|
}, null, 8, ["icon"]),
|
|
17218
|
-
vue.createElementVNode("div", _hoisted_4$
|
|
17269
|
+
vue.createElementVNode("div", _hoisted_4$g, vue.toDisplayString(link.label), 1)
|
|
17219
17270
|
]),
|
|
17220
17271
|
_: 2
|
|
17221
17272
|
}, 1032, ["to", "onClick"]);
|
|
17222
17273
|
}), 128))
|
|
17223
17274
|
])
|
|
17224
17275
|
]),
|
|
17225
|
-
vue.createElementVNode("div", _hoisted_5$
|
|
17276
|
+
vue.createElementVNode("div", _hoisted_5$d, [
|
|
17226
17277
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.footerLinks, (link) => {
|
|
17227
17278
|
return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(link.to ? "router-link" : "div"), {
|
|
17228
17279
|
class: "nav-button",
|
|
@@ -17234,10 +17285,10 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
|
17234
17285
|
key: link.label
|
|
17235
17286
|
}, {
|
|
17236
17287
|
default: vue.withCtx(() => [
|
|
17237
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
17288
|
+
vue.createVNode(vue.unref(_sfc_main$F), {
|
|
17238
17289
|
icon: link.icon
|
|
17239
17290
|
}, null, 8, ["icon"]),
|
|
17240
|
-
vue.createElementVNode("div", _hoisted_6$
|
|
17291
|
+
vue.createElementVNode("div", _hoisted_6$9, vue.toDisplayString(link.label), 1)
|
|
17241
17292
|
]),
|
|
17242
17293
|
_: 2
|
|
17243
17294
|
}, 1032, ["to", "onClick"]);
|
|
@@ -17256,8 +17307,8 @@ const _export_sfc = (sfc, props2) => {
|
|
|
17256
17307
|
}
|
|
17257
17308
|
return target;
|
|
17258
17309
|
};
|
|
17259
|
-
const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17260
|
-
const _hoisted_1$
|
|
17310
|
+
const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-727b754a"]]);
|
|
17311
|
+
const _hoisted_1$G = {
|
|
17261
17312
|
key: 0,
|
|
17262
17313
|
class: "loading"
|
|
17263
17314
|
};
|
|
@@ -17265,7 +17316,7 @@ const _hoisted_2$x = {
|
|
|
17265
17316
|
key: 1,
|
|
17266
17317
|
class: "bgl_btn-flex"
|
|
17267
17318
|
};
|
|
17268
|
-
const _sfc_main$
|
|
17319
|
+
const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
17269
17320
|
__name: "Btn",
|
|
17270
17321
|
props: {
|
|
17271
17322
|
disabled: { type: Boolean, default: false },
|
|
@@ -17351,8 +17402,8 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
|
17351
17402
|
})
|
|
17352
17403
|
}, {
|
|
17353
17404
|
default: vue.withCtx(() => [
|
|
17354
|
-
_ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
17355
|
-
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
17405
|
+
_ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$G)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$x, [
|
|
17406
|
+
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$F), {
|
|
17356
17407
|
key: 0,
|
|
17357
17408
|
icon: _ctx.icon
|
|
17358
17409
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
@@ -17360,7 +17411,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
|
17360
17411
|
!vue.unref(slots)["default"] && _ctx.value ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
17361
17412
|
vue.createTextVNode(vue.toDisplayString(_ctx.value), 1)
|
|
17362
17413
|
], 64)) : vue.createCommentVNode("", true),
|
|
17363
|
-
props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
17414
|
+
props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$F), {
|
|
17364
17415
|
key: 2,
|
|
17365
17416
|
icon: props2["icon.end"]
|
|
17366
17417
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true)
|
|
@@ -17371,10 +17422,10 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
|
17371
17422
|
};
|
|
17372
17423
|
}
|
|
17373
17424
|
});
|
|
17374
|
-
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17375
|
-
const _hoisted_1$
|
|
17425
|
+
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-0c8d9a95"]]);
|
|
17426
|
+
const _hoisted_1$F = { class: "tool-bar" };
|
|
17376
17427
|
const _hoisted_2$w = { class: "modal-footer mt-3" };
|
|
17377
|
-
const _sfc_main$
|
|
17428
|
+
const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
17378
17429
|
__name: "Modal",
|
|
17379
17430
|
props: {
|
|
17380
17431
|
side: { type: Boolean },
|
|
@@ -17415,13 +17466,13 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
|
17415
17466
|
onClick: _cache[1] || (_cache[1] = () => _ctx.dismissable ? closeModal() : ""),
|
|
17416
17467
|
onKeydown: vue.withKeys(closeModal, ["esc"])
|
|
17417
17468
|
}, [
|
|
17418
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
17469
|
+
vue.createVNode(vue.unref(_sfc_main$q), {
|
|
17419
17470
|
class: "modal",
|
|
17420
17471
|
onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
|
|
17421
17472
|
}, ["stop"]))
|
|
17422
17473
|
}, {
|
|
17423
17474
|
default: vue.withCtx(() => [
|
|
17424
|
-
vue.createElementVNode("header", _hoisted_1$
|
|
17475
|
+
vue.createElementVNode("header", _hoisted_1$F, [
|
|
17425
17476
|
vue.renderSlot(_ctx.$slots, "toolbar"),
|
|
17426
17477
|
vue.createVNode(vue.unref(Btn), {
|
|
17427
17478
|
style: vue.normalizeStyle({ float: _ctx.side ? "left" : "right" }),
|
|
@@ -17429,7 +17480,7 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
|
17429
17480
|
icon: "close",
|
|
17430
17481
|
onClick: closeModal
|
|
17431
17482
|
}, null, 8, ["style"]),
|
|
17432
|
-
_ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
17483
|
+
_ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$o), {
|
|
17433
17484
|
key: 0,
|
|
17434
17485
|
class: "modal-title",
|
|
17435
17486
|
tag: "h3",
|
|
@@ -17454,7 +17505,7 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
|
17454
17505
|
};
|
|
17455
17506
|
}
|
|
17456
17507
|
});
|
|
17457
|
-
const _sfc_main$
|
|
17508
|
+
const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
17458
17509
|
__name: "ModalForm",
|
|
17459
17510
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
17460
17511
|
side: { type: Boolean },
|
|
@@ -17511,7 +17562,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
17511
17562
|
}
|
|
17512
17563
|
__expose({ setFormValues });
|
|
17513
17564
|
return (_ctx, _cache) => {
|
|
17514
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
17565
|
+
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$C), {
|
|
17515
17566
|
"onOnUpdate:isModalVisible": props2["onUpdate:isModalVisible"],
|
|
17516
17567
|
side: _ctx.side,
|
|
17517
17568
|
ref_key: "modal",
|
|
@@ -17520,7 +17571,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
17520
17571
|
title: _ctx.title
|
|
17521
17572
|
}, vue.createSlots({
|
|
17522
17573
|
default: vue.withCtx(() => [
|
|
17523
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
17574
|
+
vue.createVNode(vue.unref(_sfc_main$h), {
|
|
17524
17575
|
onSubmit: runSubmit,
|
|
17525
17576
|
ref_key: "form",
|
|
17526
17577
|
ref: form,
|
|
@@ -17562,12 +17613,12 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
17562
17613
|
};
|
|
17563
17614
|
}
|
|
17564
17615
|
});
|
|
17565
|
-
const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17566
|
-
const _hoisted_1$
|
|
17616
|
+
const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-7e6899c7"]]);
|
|
17617
|
+
const _hoisted_1$E = { class: "accordion-item" };
|
|
17567
17618
|
const _hoisted_2$v = ["aria-expanded", "aria-controls"];
|
|
17568
|
-
const _hoisted_3$
|
|
17569
|
-
const _hoisted_4$
|
|
17570
|
-
const _sfc_main$
|
|
17619
|
+
const _hoisted_3$n = { class: "accordion-label" };
|
|
17620
|
+
const _hoisted_4$f = ["id", "aria-hidden"];
|
|
17621
|
+
const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
17571
17622
|
__name: "AccordionItem",
|
|
17572
17623
|
props: {
|
|
17573
17624
|
label: {},
|
|
@@ -17591,18 +17642,18 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
|
17591
17642
|
accordionState.openItem = null;
|
|
17592
17643
|
}
|
|
17593
17644
|
return (_ctx, _cache) => {
|
|
17594
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
17645
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$E, [
|
|
17595
17646
|
vue.createElementVNode("button", {
|
|
17596
17647
|
onClick: _cache[0] || (_cache[0] = ($event) => toggle()),
|
|
17597
17648
|
"aria-expanded": vue.unref(open) ? "true" : "false",
|
|
17598
17649
|
class: "accordion-head",
|
|
17599
17650
|
"aria-controls": `accordion-body-${vue.unref(id)}`
|
|
17600
17651
|
}, [
|
|
17601
|
-
vue.createElementVNode("span", _hoisted_3$
|
|
17652
|
+
vue.createElementVNode("span", _hoisted_3$n, vue.toDisplayString(_ctx.label), 1),
|
|
17602
17653
|
vue.createElementVNode("div", {
|
|
17603
17654
|
class: vue.normalizeClass(["accordion-icon", { open: vue.unref(open) }])
|
|
17604
17655
|
}, [
|
|
17605
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
17656
|
+
vue.createVNode(vue.unref(_sfc_main$F), { icon: "expand_more" })
|
|
17606
17657
|
], 2)
|
|
17607
17658
|
], 8, _hoisted_2$v),
|
|
17608
17659
|
vue.createVNode(vue.Transition, { name: "expand" }, {
|
|
@@ -17614,7 +17665,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
|
17614
17665
|
"aria-hidden": vue.unref(open) ? "false" : "true"
|
|
17615
17666
|
}, [
|
|
17616
17667
|
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
17617
|
-
], 8, _hoisted_4$
|
|
17668
|
+
], 8, _hoisted_4$f)) : vue.createCommentVNode("", true)
|
|
17618
17669
|
]),
|
|
17619
17670
|
_: 3
|
|
17620
17671
|
})
|
|
@@ -17622,29 +17673,28 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
|
17622
17673
|
};
|
|
17623
17674
|
}
|
|
17624
17675
|
});
|
|
17625
|
-
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17626
|
-
const _hoisted_1$
|
|
17676
|
+
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-bf74738b"]]);
|
|
17677
|
+
const _hoisted_1$D = { class: "list-wrap bgl_card thin grid overflow-hidden h-100 p-0" };
|
|
17627
17678
|
const _hoisted_2$u = { class: "p-1" };
|
|
17628
|
-
const _hoisted_3$
|
|
17629
|
-
const _sfc_main$
|
|
17679
|
+
const _hoisted_3$m = { class: "list-content auto-flow-rows align-items-start overflow-y h-100" };
|
|
17680
|
+
const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
17630
17681
|
__name: "ListView",
|
|
17631
17682
|
setup(__props) {
|
|
17632
17683
|
return (_ctx, _cache) => {
|
|
17633
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
17684
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$D, [
|
|
17634
17685
|
vue.createElementVNode("div", _hoisted_2$u, [
|
|
17635
17686
|
vue.renderSlot(_ctx.$slots, "header")
|
|
17636
17687
|
]),
|
|
17637
|
-
vue.
|
|
17638
|
-
vue.createElementVNode("div", _hoisted_3$n, [
|
|
17688
|
+
vue.createElementVNode("div", _hoisted_3$m, [
|
|
17639
17689
|
vue.renderSlot(_ctx.$slots, "default")
|
|
17640
17690
|
])
|
|
17641
17691
|
]);
|
|
17642
17692
|
};
|
|
17643
17693
|
}
|
|
17644
17694
|
});
|
|
17645
|
-
const _hoisted_1$
|
|
17695
|
+
const _hoisted_1$C = { class: "txt16 no-margin ellipsis" };
|
|
17646
17696
|
const _hoisted_2$t = { class: "txt14 no-margin txt-gray ellipsis" };
|
|
17647
|
-
const _sfc_main$
|
|
17697
|
+
const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
17648
17698
|
__name: "ListItem",
|
|
17649
17699
|
props: {
|
|
17650
17700
|
src: {},
|
|
@@ -17668,7 +17718,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
17668
17718
|
size: 40
|
|
17669
17719
|
}, null, 8, ["name", "src"])) : vue.createCommentVNode("", true),
|
|
17670
17720
|
vue.createElementVNode("div", null, [
|
|
17671
|
-
vue.createElementVNode("p", _hoisted_1$
|
|
17721
|
+
vue.createElementVNode("p", _hoisted_1$C, [
|
|
17672
17722
|
vue.createTextVNode(vue.toDisplayString(_ctx.title) + " ", 1),
|
|
17673
17723
|
vue.renderSlot(_ctx.$slots, "default")
|
|
17674
17724
|
]),
|
|
@@ -17683,10 +17733,10 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
17683
17733
|
};
|
|
17684
17734
|
}
|
|
17685
17735
|
});
|
|
17686
|
-
const _hoisted_1$
|
|
17736
|
+
const _hoisted_1$B = { class: "bgl_card tabs-top" };
|
|
17687
17737
|
const _hoisted_2$s = { class: "tabs grid auto-flow-columns fit-content" };
|
|
17688
|
-
const _hoisted_3$
|
|
17689
|
-
const _sfc_main$
|
|
17738
|
+
const _hoisted_3$l = ["onClick"];
|
|
17739
|
+
const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
17690
17740
|
__name: "TabbedLayout",
|
|
17691
17741
|
props: {
|
|
17692
17742
|
title: {},
|
|
@@ -17721,7 +17771,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
|
17721
17771
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
17722
17772
|
class: vue.normalizeClass(["h-100 grid list-view gap-1", { "side-tabs": _ctx.sideTabs }])
|
|
17723
17773
|
}, [
|
|
17724
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
17774
|
+
vue.createElementVNode("div", _hoisted_1$B, [
|
|
17725
17775
|
vue.renderSlot(_ctx.$slots, "top-section", {}, void 0, true),
|
|
17726
17776
|
vue.createElementVNode("div", _hoisted_2$s, [
|
|
17727
17777
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.tabs, (tab) => {
|
|
@@ -17732,7 +17782,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
|
17732
17782
|
}, "tab"]),
|
|
17733
17783
|
key: tab,
|
|
17734
17784
|
onClick: ($event) => changeTab(tab)
|
|
17735
|
-
}, vue.toDisplayString(tab), 11, _hoisted_3$
|
|
17785
|
+
}, vue.toDisplayString(tab), 11, _hoisted_3$l);
|
|
17736
17786
|
}), 128))
|
|
17737
17787
|
])
|
|
17738
17788
|
]),
|
|
@@ -17748,16 +17798,16 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
|
17748
17798
|
};
|
|
17749
17799
|
}
|
|
17750
17800
|
});
|
|
17751
|
-
const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17752
|
-
const _hoisted_1$
|
|
17801
|
+
const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-37337215"]]);
|
|
17802
|
+
const _hoisted_1$A = { class: "comments-wrap" };
|
|
17753
17803
|
const _hoisted_2$r = { class: "comment-list" };
|
|
17754
|
-
const _hoisted_3$
|
|
17755
|
-
const _hoisted_4$
|
|
17756
|
-
const _hoisted_5$
|
|
17757
|
-
const _hoisted_6$
|
|
17758
|
-
const _hoisted_7$
|
|
17804
|
+
const _hoisted_3$k = { class: "comment-top" };
|
|
17805
|
+
const _hoisted_4$e = { class: "comment-owner" };
|
|
17806
|
+
const _hoisted_5$c = { class: "comment-time" };
|
|
17807
|
+
const _hoisted_6$8 = { class: "comment-actions" };
|
|
17808
|
+
const _hoisted_7$4 = ["innerHTML"];
|
|
17759
17809
|
const _hoisted_8$2 = { class: "new-comment" };
|
|
17760
|
-
const _sfc_main$
|
|
17810
|
+
const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
17761
17811
|
__name: "Comments",
|
|
17762
17812
|
props: {
|
|
17763
17813
|
ref_table: {},
|
|
@@ -17800,7 +17850,7 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
|
17800
17850
|
void fetchData();
|
|
17801
17851
|
};
|
|
17802
17852
|
return (_ctx, _cache) => {
|
|
17803
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
17853
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$A, [
|
|
17804
17854
|
vue.createElementVNode("div", _hoisted_2$r, [
|
|
17805
17855
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(comments), (comment) => {
|
|
17806
17856
|
var _a2, _b, _c;
|
|
@@ -17811,23 +17861,23 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
|
17811
17861
|
}, "comment"]),
|
|
17812
17862
|
key: comment.id
|
|
17813
17863
|
}, [
|
|
17814
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
17815
|
-
vue.createElementVNode("div", _hoisted_4$
|
|
17816
|
-
vue.createElementVNode("div", _hoisted_5$
|
|
17817
|
-
vue.createElementVNode("div", _hoisted_6$
|
|
17818
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
17864
|
+
vue.createElementVNode("div", _hoisted_3$k, [
|
|
17865
|
+
vue.createElementVNode("div", _hoisted_4$e, vue.toDisplayString(comment.sender.first_name) + " " + vue.toDisplayString(comment.sender.last_name), 1),
|
|
17866
|
+
vue.createElementVNode("div", _hoisted_5$c, vue.toDisplayString(comment.updated_at.split("T")[0]), 1),
|
|
17867
|
+
vue.createElementVNode("div", _hoisted_6$8, [
|
|
17868
|
+
vue.createVNode(vue.unref(_sfc_main$F), {
|
|
17819
17869
|
size: 1,
|
|
17820
17870
|
class: "edit",
|
|
17821
17871
|
icon: "edit",
|
|
17822
17872
|
onClick: ($event) => vue.isRef(editComment) ? editComment.value = comment : editComment = comment
|
|
17823
17873
|
}, null, 8, ["onClick"]),
|
|
17824
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
17874
|
+
vue.createVNode(vue.unref(_sfc_main$F), {
|
|
17825
17875
|
size: 1.2,
|
|
17826
17876
|
class: "delete",
|
|
17827
17877
|
icon: "delete",
|
|
17828
17878
|
onClick: ($event) => deleteComment(comment.id)
|
|
17829
17879
|
}, null, 8, ["onClick"]),
|
|
17830
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
17880
|
+
vue.createVNode(vue.unref(_sfc_main$F), {
|
|
17831
17881
|
size: 1.2,
|
|
17832
17882
|
class: "save",
|
|
17833
17883
|
icon: "save",
|
|
@@ -17835,7 +17885,7 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
|
17835
17885
|
})
|
|
17836
17886
|
])
|
|
17837
17887
|
]),
|
|
17838
|
-
vue.unref(editComment) !== null && ((_c = vue.unref(editComment)) == null ? void 0 : _c.id) === comment.id ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
17888
|
+
vue.unref(editComment) !== null && ((_c = vue.unref(editComment)) == null ? void 0 : _c.id) === comment.id ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$G), {
|
|
17839
17889
|
key: 0,
|
|
17840
17890
|
modelValue: vue.unref(editComment).body_html,
|
|
17841
17891
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(editComment).body_html = $event),
|
|
@@ -17844,12 +17894,12 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
|
17844
17894
|
key: 1,
|
|
17845
17895
|
class: "editor-wrapper",
|
|
17846
17896
|
innerHTML: comment.body_html
|
|
17847
|
-
}, null, 8, _hoisted_7$
|
|
17897
|
+
}, null, 8, _hoisted_7$4))
|
|
17848
17898
|
], 2);
|
|
17849
17899
|
}), 128))
|
|
17850
17900
|
]),
|
|
17851
17901
|
vue.createElementVNode("div", _hoisted_8$2, [
|
|
17852
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
17902
|
+
vue.createVNode(vue.unref(_sfc_main$G), {
|
|
17853
17903
|
class: "comment-input",
|
|
17854
17904
|
modelValue: vue.unref(bodyHtml),
|
|
17855
17905
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(bodyHtml) ? bodyHtml.value = $event : bodyHtml = $event),
|
|
@@ -17869,10 +17919,10 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
|
17869
17919
|
};
|
|
17870
17920
|
}
|
|
17871
17921
|
});
|
|
17872
|
-
const Comments = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17873
|
-
const _hoisted_1$
|
|
17922
|
+
const Comments = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-c4b41dc0"]]);
|
|
17923
|
+
const _hoisted_1$z = { class: "page-top" };
|
|
17874
17924
|
const _hoisted_2$q = { class: "top-title" };
|
|
17875
|
-
const _sfc_main$
|
|
17925
|
+
const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
17876
17926
|
__name: "PageTitle",
|
|
17877
17927
|
props: {
|
|
17878
17928
|
value: {
|
|
@@ -17882,7 +17932,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
17882
17932
|
},
|
|
17883
17933
|
setup(__props) {
|
|
17884
17934
|
return (_ctx, _cache) => {
|
|
17885
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
17935
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$z, [
|
|
17886
17936
|
vue.createElementVNode("h1", _hoisted_2$q, [
|
|
17887
17937
|
vue.renderSlot(_ctx.$slots, "default"),
|
|
17888
17938
|
vue.createTextVNode(" " + vue.toDisplayString(__props.value), 1)
|
|
@@ -17891,14 +17941,14 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
17891
17941
|
};
|
|
17892
17942
|
}
|
|
17893
17943
|
});
|
|
17894
|
-
const _hoisted_1$
|
|
17944
|
+
const _hoisted_1$y = { class: "table-list-wrap h-100" };
|
|
17895
17945
|
const _hoisted_2$p = { class: "infinite-wrapper" };
|
|
17896
|
-
const _hoisted_3$
|
|
17897
|
-
const _hoisted_4$
|
|
17898
|
-
const _hoisted_5$
|
|
17899
|
-
const _hoisted_6$
|
|
17900
|
-
const _hoisted_7$
|
|
17901
|
-
const _sfc_main$
|
|
17946
|
+
const _hoisted_3$j = { class: "row first-row" };
|
|
17947
|
+
const _hoisted_4$d = ["onClick"];
|
|
17948
|
+
const _hoisted_5$b = { class: "flex" };
|
|
17949
|
+
const _hoisted_6$7 = ["onClick"];
|
|
17950
|
+
const _hoisted_7$3 = { key: 1 };
|
|
17951
|
+
const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
17902
17952
|
__name: "TableSchema",
|
|
17903
17953
|
props: {
|
|
17904
17954
|
data: {},
|
|
@@ -17932,27 +17982,27 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
17932
17982
|
emit2("orderBy", `${fieldname} ${sortDirection.value}`.trim());
|
|
17933
17983
|
};
|
|
17934
17984
|
return (_ctx, _cache) => {
|
|
17935
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
17985
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$y, [
|
|
17936
17986
|
vue.createElementVNode("table", _hoisted_2$p, [
|
|
17937
|
-
vue.createElementVNode("thead", _hoisted_3$
|
|
17987
|
+
vue.createElementVNode("thead", _hoisted_3$j, [
|
|
17938
17988
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(computedSchema.value, (field) => {
|
|
17939
17989
|
return vue.openBlock(), vue.createElementBlock("th", {
|
|
17940
17990
|
class: "col",
|
|
17941
17991
|
key: field.id,
|
|
17942
17992
|
onClick: ($event) => sort2((field == null ? void 0 : field.id) || "")
|
|
17943
17993
|
}, [
|
|
17944
|
-
vue.createElementVNode("div", _hoisted_5$
|
|
17994
|
+
vue.createElementVNode("div", _hoisted_5$b, [
|
|
17945
17995
|
vue.createTextVNode(vue.toDisplayString(field.label || vue.unref(keyToLabel)(field.id)) + " ", 1),
|
|
17946
17996
|
vue.createElementVNode("div", {
|
|
17947
17997
|
class: vue.normalizeClass(["list-arrows", { sorted: vue.unref(sortField) === field.id }])
|
|
17948
17998
|
}, [
|
|
17949
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
17999
|
+
vue.createVNode(vue.unref(_sfc_main$F), {
|
|
17950
18000
|
class: vue.normalizeClass({ desc: vue.unref(sortDirection) === "DESC" }),
|
|
17951
18001
|
icon: "keyboard_arrow_up"
|
|
17952
18002
|
}, null, 8, ["class"])
|
|
17953
18003
|
], 2)
|
|
17954
18004
|
])
|
|
17955
|
-
], 8, _hoisted_4$
|
|
18005
|
+
], 8, _hoisted_4$d);
|
|
17956
18006
|
}), 128))
|
|
17957
18007
|
]),
|
|
17958
18008
|
vue.createElementVNode("tbody", {
|
|
@@ -17974,15 +18024,15 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
17974
18024
|
key: 0,
|
|
17975
18025
|
row,
|
|
17976
18026
|
field
|
|
17977
|
-
}, void 0, true) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$
|
|
17978
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
18027
|
+
}, void 0, true) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$3, [
|
|
18028
|
+
vue.createVNode(vue.unref(_sfc_main$g), {
|
|
17979
18029
|
field,
|
|
17980
18030
|
modelValue: row
|
|
17981
18031
|
}, null, 8, ["field", "modelValue"])
|
|
17982
18032
|
]))
|
|
17983
18033
|
]);
|
|
17984
18034
|
}), 128))
|
|
17985
|
-
], 8, _hoisted_6$
|
|
18035
|
+
], 8, _hoisted_6$7);
|
|
17986
18036
|
}), 128))
|
|
17987
18037
|
], 2)
|
|
17988
18038
|
])
|
|
@@ -17990,16 +18040,16 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
17990
18040
|
};
|
|
17991
18041
|
}
|
|
17992
18042
|
});
|
|
17993
|
-
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17994
|
-
const _sfc_main$
|
|
17995
|
-
const _hoisted_1$
|
|
18043
|
+
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-f3641508"]]);
|
|
18044
|
+
const _sfc_main$t = {};
|
|
18045
|
+
const _hoisted_1$x = { class: "flex space-between" };
|
|
17996
18046
|
function _sfc_render$1(_ctx, _cache) {
|
|
17997
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
18047
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$x, [
|
|
17998
18048
|
vue.renderSlot(_ctx.$slots, "default")
|
|
17999
18049
|
]);
|
|
18000
18050
|
}
|
|
18001
|
-
const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18002
|
-
const _sfc_main$
|
|
18051
|
+
const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$1]]);
|
|
18052
|
+
const _sfc_main$s = {};
|
|
18003
18053
|
function _sfc_render(_ctx, _cache) {
|
|
18004
18054
|
const _component_router_view = vue.resolveComponent("router-view");
|
|
18005
18055
|
return vue.openBlock(), vue.createBlock(_component_router_view, null, {
|
|
@@ -18021,8 +18071,8 @@ function _sfc_render(_ctx, _cache) {
|
|
|
18021
18071
|
_: 1
|
|
18022
18072
|
});
|
|
18023
18073
|
}
|
|
18024
|
-
const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18025
|
-
const _hoisted_1$
|
|
18074
|
+
const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render]]);
|
|
18075
|
+
const _hoisted_1$w = {
|
|
18026
18076
|
key: 0,
|
|
18027
18077
|
class: "data"
|
|
18028
18078
|
};
|
|
@@ -18030,11 +18080,11 @@ const _hoisted_2$o = {
|
|
|
18030
18080
|
key: 0,
|
|
18031
18081
|
class: "data-row"
|
|
18032
18082
|
};
|
|
18033
|
-
const _hoisted_3$
|
|
18034
|
-
const _hoisted_4$
|
|
18035
|
-
const _hoisted_5$
|
|
18036
|
-
const _hoisted_6$
|
|
18037
|
-
const _sfc_main$
|
|
18083
|
+
const _hoisted_3$i = { class: "key" };
|
|
18084
|
+
const _hoisted_4$c = { key: 1 };
|
|
18085
|
+
const _hoisted_5$a = { class: "key" };
|
|
18086
|
+
const _hoisted_6$6 = { class: "vlue" };
|
|
18087
|
+
const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
18038
18088
|
__name: "DataPreview",
|
|
18039
18089
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
18040
18090
|
schema: {},
|
|
@@ -18048,8 +18098,8 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
18048
18098
|
const itemData = vue.useModel(__props, "data");
|
|
18049
18099
|
return (_ctx, _cache) => {
|
|
18050
18100
|
var _a2;
|
|
18051
|
-
return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
18052
|
-
_ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
18101
|
+
return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$w, [
|
|
18102
|
+
_ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$o), {
|
|
18053
18103
|
key: 0,
|
|
18054
18104
|
label: _ctx.title
|
|
18055
18105
|
}, null, 8, ["label"])) : vue.createCommentVNode("", true),
|
|
@@ -18058,8 +18108,8 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
18058
18108
|
key: field.id
|
|
18059
18109
|
}, [
|
|
18060
18110
|
vue.unref(iffer)(field, itemData.value) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$o, [
|
|
18061
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
18062
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
18111
|
+
vue.createElementVNode("div", _hoisted_3$i, vue.toDisplayString((field == null ? void 0 : field.label) || vue.unref(keyToLabel)(field.id)), 1),
|
|
18112
|
+
vue.createVNode(vue.unref(_sfc_main$g), {
|
|
18063
18113
|
field,
|
|
18064
18114
|
modelValue: itemData.value,
|
|
18065
18115
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => itemData.value = $event)
|
|
@@ -18067,14 +18117,14 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
18067
18117
|
])) : vue.createCommentVNode("", true)
|
|
18068
18118
|
], 64);
|
|
18069
18119
|
}), 128)),
|
|
18070
|
-
!((_a2 = _ctx.schema) == null ? void 0 : _a2.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$
|
|
18120
|
+
!((_a2 = _ctx.schema) == null ? void 0 : _a2.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$c, [
|
|
18071
18121
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(Object.entries(itemData.value), ([key, value]) => {
|
|
18072
18122
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
18073
18123
|
class: "data-row",
|
|
18074
18124
|
key
|
|
18075
18125
|
}, [
|
|
18076
|
-
vue.createElementVNode("div", _hoisted_5$
|
|
18077
|
-
vue.createElementVNode("div", _hoisted_6$
|
|
18126
|
+
vue.createElementVNode("div", _hoisted_5$a, vue.toDisplayString(vue.unref(keyToLabel)(key)), 1),
|
|
18127
|
+
vue.createElementVNode("div", _hoisted_6$6, vue.toDisplayString(value), 1)
|
|
18078
18128
|
]);
|
|
18079
18129
|
}), 128))
|
|
18080
18130
|
])) : vue.createCommentVNode("", true),
|
|
@@ -18083,8 +18133,8 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
18083
18133
|
};
|
|
18084
18134
|
}
|
|
18085
18135
|
});
|
|
18086
|
-
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18087
|
-
const _sfc_main$
|
|
18136
|
+
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-bb2526f9"]]);
|
|
18137
|
+
const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
18088
18138
|
__name: "Card",
|
|
18089
18139
|
props: {
|
|
18090
18140
|
thin: { type: Boolean },
|
|
@@ -18111,8 +18161,8 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
18111
18161
|
};
|
|
18112
18162
|
}
|
|
18113
18163
|
});
|
|
18114
|
-
const _hoisted_1$
|
|
18115
|
-
const _sfc_main$
|
|
18164
|
+
const _hoisted_1$v = ["src", "alt"];
|
|
18165
|
+
const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
18116
18166
|
__name: "Avatar",
|
|
18117
18167
|
props: {
|
|
18118
18168
|
fallback: {},
|
|
@@ -18130,7 +18180,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
18130
18180
|
key: 0,
|
|
18131
18181
|
src: _ctx.src,
|
|
18132
18182
|
alt: _ctx.name
|
|
18133
|
-
}, null, 8, _hoisted_1$
|
|
18183
|
+
}, null, 8, _hoisted_1$v)) : (vue.openBlock(), vue.createElementBlock("p", {
|
|
18134
18184
|
key: 1,
|
|
18135
18185
|
style: vue.normalizeStyle({ "line-height": `${_ctx.size}px`, "font-size": `calc(1.5rem * ${_ctx.size} / 50)` })
|
|
18136
18186
|
}, vue.toDisplayString(_ctx.fallback || vue.unref(initials)(_ctx.name || "")), 5))
|
|
@@ -18138,8 +18188,8 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
18138
18188
|
};
|
|
18139
18189
|
}
|
|
18140
18190
|
});
|
|
18141
|
-
const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18142
|
-
const _sfc_main$
|
|
18191
|
+
const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-c38bc02a"]]);
|
|
18192
|
+
const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
18143
18193
|
__name: "Title",
|
|
18144
18194
|
props: {
|
|
18145
18195
|
value: {
|
|
@@ -18167,7 +18217,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
18167
18217
|
};
|
|
18168
18218
|
}
|
|
18169
18219
|
});
|
|
18170
|
-
const _sfc_main$
|
|
18220
|
+
const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
18171
18221
|
__name: "Accordion",
|
|
18172
18222
|
setup(__props) {
|
|
18173
18223
|
const state = vue.reactive({
|
|
@@ -18181,8 +18231,8 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
|
18181
18231
|
};
|
|
18182
18232
|
}
|
|
18183
18233
|
});
|
|
18184
|
-
const _hoisted_1$
|
|
18185
|
-
const _sfc_main$
|
|
18234
|
+
const _hoisted_1$u = ["onClick"];
|
|
18235
|
+
const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
18186
18236
|
__name: "ComboBox",
|
|
18187
18237
|
props: {
|
|
18188
18238
|
options: {},
|
|
@@ -18190,7 +18240,9 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
|
18190
18240
|
disabled: { type: Boolean },
|
|
18191
18241
|
modelValue: {},
|
|
18192
18242
|
searchable: { type: Boolean },
|
|
18193
|
-
required: { type: Boolean }
|
|
18243
|
+
required: { type: Boolean },
|
|
18244
|
+
label: {},
|
|
18245
|
+
fullWidth: { type: Boolean }
|
|
18194
18246
|
},
|
|
18195
18247
|
emits: ["update:modelValue"],
|
|
18196
18248
|
setup(__props, { emit: __emit }) {
|
|
@@ -18219,10 +18271,10 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
|
18219
18271
|
});
|
|
18220
18272
|
if (!option2)
|
|
18221
18273
|
return value;
|
|
18222
|
-
return
|
|
18274
|
+
return getLabel(option2);
|
|
18223
18275
|
};
|
|
18224
18276
|
const emit2 = __emit;
|
|
18225
|
-
const
|
|
18277
|
+
const getLabel = (option2) => {
|
|
18226
18278
|
if (typeof option2 === "string")
|
|
18227
18279
|
return option2;
|
|
18228
18280
|
if (typeof option2 === "number")
|
|
@@ -18258,13 +18310,13 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
|
18258
18310
|
}, { immediate: true });
|
|
18259
18311
|
return (_ctx, _cache) => {
|
|
18260
18312
|
return vue.openBlock(), vue.createBlock(vue.unref(kt$1), {
|
|
18261
|
-
placement: "
|
|
18313
|
+
placement: "bottom-start",
|
|
18262
18314
|
class: "bagel-input combobox"
|
|
18263
18315
|
}, {
|
|
18264
18316
|
popper: vue.withCtx(({ hide }) => [
|
|
18265
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
18266
|
-
|
|
18267
|
-
|
|
18317
|
+
vue.createVNode(vue.unref(_sfc_main$q), {
|
|
18318
|
+
class: "combobox-options p-05",
|
|
18319
|
+
style: vue.normalizeStyle({ width: _ctx.fullWidth ? "100%" : "auto" })
|
|
18268
18320
|
}, {
|
|
18269
18321
|
default: vue.withCtx(() => [
|
|
18270
18322
|
_ctx.searchable ? (vue.openBlock(), vue.createBlock(vue.unref(TextInput), {
|
|
@@ -18279,50 +18331,59 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
|
18279
18331
|
}, null, 8, ["modelValue"])) : vue.createCommentVNode("", true),
|
|
18280
18332
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(filteredOptions.value, (option2, i2) => {
|
|
18281
18333
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
18282
|
-
class: vue.normalizeClass(["combobox-option", { selected: option2 === vue.unref(selectedItem) }]),
|
|
18334
|
+
class: vue.normalizeClass(["combobox-option hover gap-1", { selected: option2 === vue.unref(selectedItem) }]),
|
|
18283
18335
|
key: `${option2}${i2}`,
|
|
18284
18336
|
onClick: () => {
|
|
18285
18337
|
select2(option2);
|
|
18286
18338
|
hide();
|
|
18287
18339
|
}
|
|
18288
18340
|
}, [
|
|
18289
|
-
vue.
|
|
18290
|
-
isSelected(option2) ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$H), {
|
|
18341
|
+
isSelected(option2) ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$F), {
|
|
18291
18342
|
key: 0,
|
|
18292
18343
|
icon: "check"
|
|
18293
|
-
})) : vue.createCommentVNode("", true)
|
|
18294
|
-
|
|
18295
|
-
|
|
18344
|
+
})) : vue.createCommentVNode("", true),
|
|
18345
|
+
!isSelected(option2) ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$F), {
|
|
18346
|
+
key: 1,
|
|
18347
|
+
class: "opacity-3",
|
|
18348
|
+
icon: "fiber_manual_record"
|
|
18349
|
+
})) : vue.createCommentVNode("", true),
|
|
18350
|
+
vue.createElementVNode("span", null, vue.toDisplayString(getLabel(option2)), 1)
|
|
18351
|
+
], 10, _hoisted_1$u);
|
|
18352
|
+
}), 128)),
|
|
18353
|
+
vue.renderSlot(_ctx.$slots, "last", {}, void 0, true)
|
|
18296
18354
|
]),
|
|
18297
18355
|
_: 2
|
|
18298
|
-
},
|
|
18356
|
+
}, 1032, ["style"])
|
|
18299
18357
|
]),
|
|
18300
18358
|
default: vue.withCtx(() => [
|
|
18301
|
-
vue.createElementVNode("
|
|
18302
|
-
|
|
18303
|
-
|
|
18304
|
-
|
|
18305
|
-
|
|
18306
|
-
|
|
18307
|
-
|
|
18308
|
-
|
|
18309
|
-
|
|
18310
|
-
|
|
18311
|
-
|
|
18312
|
-
|
|
18313
|
-
|
|
18314
|
-
|
|
18315
|
-
|
|
18316
|
-
|
|
18359
|
+
vue.createElementVNode("label", null, [
|
|
18360
|
+
vue.createTextVNode(vue.toDisplayString(_ctx.label) + " ", 1),
|
|
18361
|
+
vue.createElementVNode("button", {
|
|
18362
|
+
type: "button",
|
|
18363
|
+
class: "combobox-btn",
|
|
18364
|
+
onClick: toggle
|
|
18365
|
+
}, [
|
|
18366
|
+
vue.createTextVNode(vue.toDisplayString(valueToLabel(vue.unref(selectedItem)) || _ctx.placeholder || "Select") + " ", 1),
|
|
18367
|
+
vue.createVNode(vue.unref(_sfc_main$F), vue.normalizeProps(vue.guardReactiveProps({ "icon": vue.unref(open) ? "unfold_less" : "unfold_more" })), null, 16)
|
|
18368
|
+
]),
|
|
18369
|
+
_ctx.required ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", {
|
|
18370
|
+
key: 0,
|
|
18371
|
+
style: { "width": "0", "height": "0", "position": "absolute", "opacity": "0", "z-index": "-1" },
|
|
18372
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(selectedItem) ? selectedItem.value = $event : selectedItem = $event),
|
|
18373
|
+
required: ""
|
|
18374
|
+
}, null, 512)), [
|
|
18375
|
+
[vue.vModelText, vue.unref(selectedItem)]
|
|
18376
|
+
]) : vue.createCommentVNode("", true)
|
|
18377
|
+
])
|
|
18317
18378
|
]),
|
|
18318
|
-
_:
|
|
18379
|
+
_: 3
|
|
18319
18380
|
});
|
|
18320
18381
|
};
|
|
18321
18382
|
}
|
|
18322
18383
|
});
|
|
18323
|
-
const ComboBox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18324
|
-
const _hoisted_1$
|
|
18325
|
-
const _sfc_main$
|
|
18384
|
+
const ComboBox = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-14fbb20b"]]);
|
|
18385
|
+
const _hoisted_1$t = ["dismissable"];
|
|
18386
|
+
const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
18326
18387
|
__name: "Alert",
|
|
18327
18388
|
props: {
|
|
18328
18389
|
message: {},
|
|
@@ -18342,7 +18403,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
|
18342
18403
|
class: vue.normalizeClass(["alert", [_ctx.type]]),
|
|
18343
18404
|
dismissable: _ctx.dismissable
|
|
18344
18405
|
}, [
|
|
18345
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
18406
|
+
vue.createVNode(vue.unref(_sfc_main$F), {
|
|
18346
18407
|
class: "alert_icon",
|
|
18347
18408
|
icon: _ctx.type,
|
|
18348
18409
|
size: 2,
|
|
@@ -18356,12 +18417,12 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
|
18356
18417
|
class: "alert_close",
|
|
18357
18418
|
icon: "close"
|
|
18358
18419
|
})
|
|
18359
|
-
], 10, _hoisted_1$
|
|
18420
|
+
], 10, _hoisted_1$t)) : vue.createCommentVNode("", true);
|
|
18360
18421
|
};
|
|
18361
18422
|
}
|
|
18362
18423
|
});
|
|
18363
|
-
const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18364
|
-
const _sfc_main$
|
|
18424
|
+
const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-94bfcb05"]]);
|
|
18425
|
+
const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
18365
18426
|
__name: "Badge",
|
|
18366
18427
|
props: {
|
|
18367
18428
|
color: {},
|
|
@@ -18376,13 +18437,13 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
18376
18437
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
18377
18438
|
class: vue.normalizeClass(["pill", [_ctx.color]])
|
|
18378
18439
|
}, [
|
|
18379
|
-
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
18440
|
+
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$F), {
|
|
18380
18441
|
key: 0,
|
|
18381
18442
|
class: "inline",
|
|
18382
18443
|
icon: _ctx.icon
|
|
18383
18444
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
18384
18445
|
vue.createTextVNode(" " + vue.toDisplayString(_ctx.text) + " ", 1),
|
|
18385
|
-
props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
18446
|
+
props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$F), {
|
|
18386
18447
|
key: 1,
|
|
18387
18448
|
class: "inline",
|
|
18388
18449
|
icon: props2["icon.end"]
|
|
@@ -18391,11 +18452,11 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
18391
18452
|
};
|
|
18392
18453
|
}
|
|
18393
18454
|
});
|
|
18394
|
-
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18395
|
-
const _hoisted_1$
|
|
18455
|
+
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-10743b06"]]);
|
|
18456
|
+
const _hoisted_1$s = { class: "bgl_vid" };
|
|
18396
18457
|
const _hoisted_2$n = ["src"];
|
|
18397
|
-
const _hoisted_3$
|
|
18398
|
-
const _sfc_main$
|
|
18458
|
+
const _hoisted_3$h = ["src", "autoplay", "muted", "loop", "controls"];
|
|
18459
|
+
const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
18399
18460
|
__name: "BglVideo",
|
|
18400
18461
|
props: {
|
|
18401
18462
|
src: {},
|
|
@@ -18434,7 +18495,7 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
|
18434
18495
|
});
|
|
18435
18496
|
console.log("Video URL:", videoUrl.value);
|
|
18436
18497
|
return (_ctx, _cache) => {
|
|
18437
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
18498
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$s, [
|
|
18438
18499
|
embedType.value ? (vue.openBlock(), vue.createElementBlock("iframe", {
|
|
18439
18500
|
key: 0,
|
|
18440
18501
|
src: videoUrl.value,
|
|
@@ -18451,18 +18512,18 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
|
18451
18512
|
style: vue.normalizeStyle({ aspectRatio: aspectRatio.value }),
|
|
18452
18513
|
controls: _ctx.controls,
|
|
18453
18514
|
playsinline: ""
|
|
18454
|
-
}, null, 12, _hoisted_3$
|
|
18515
|
+
}, null, 12, _hoisted_3$h))
|
|
18455
18516
|
]);
|
|
18456
18517
|
};
|
|
18457
18518
|
}
|
|
18458
18519
|
});
|
|
18459
|
-
const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18460
|
-
const _hoisted_1$
|
|
18520
|
+
const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-23835d69"]]);
|
|
18521
|
+
const _hoisted_1$r = {
|
|
18461
18522
|
key: 0,
|
|
18462
18523
|
class: "blocker"
|
|
18463
18524
|
};
|
|
18464
18525
|
const _hoisted_2$m = { class: "Handlers" };
|
|
18465
|
-
const _sfc_main$
|
|
18526
|
+
const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
18466
18527
|
__name: "Carousel",
|
|
18467
18528
|
props: {
|
|
18468
18529
|
autoHeight: {
|
|
@@ -18612,7 +18673,7 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
|
18612
18673
|
ref_key: "bglSlider",
|
|
18613
18674
|
ref: bglSlider
|
|
18614
18675
|
}, [
|
|
18615
|
-
vue.unref(isDragging) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
18676
|
+
vue.unref(isDragging) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$r)) : vue.createCommentVNode("", true),
|
|
18616
18677
|
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
18617
18678
|
], 34),
|
|
18618
18679
|
vue.createElementVNode("div", _hoisted_2$m, [
|
|
@@ -18627,13 +18688,8 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
|
18627
18688
|
};
|
|
18628
18689
|
}
|
|
18629
18690
|
});
|
|
18630
|
-
const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18631
|
-
const
|
|
18632
|
-
key: 1,
|
|
18633
|
-
type: "submit",
|
|
18634
|
-
hidden: ""
|
|
18635
|
-
};
|
|
18636
|
-
const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
18691
|
+
const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-7e8d16cb"]]);
|
|
18692
|
+
const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
18637
18693
|
__name: "BglForm",
|
|
18638
18694
|
props: {
|
|
18639
18695
|
label: {},
|
|
@@ -18645,10 +18701,12 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
18645
18701
|
},
|
|
18646
18702
|
emits: ["update:modelValue", "submit", "dirty"],
|
|
18647
18703
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
18704
|
+
const slots = vue.useSlots();
|
|
18648
18705
|
const { showModal } = useModal();
|
|
18649
18706
|
const props2 = __props;
|
|
18650
18707
|
const instAt = /* @__PURE__ */ new Date();
|
|
18651
18708
|
const timeSinceInst = () => (/* @__PURE__ */ new Date()).getTime() - instAt.getTime();
|
|
18709
|
+
let formData = vue.ref(props2.modelValue);
|
|
18652
18710
|
const emit2 = __emit;
|
|
18653
18711
|
let isDirty = vue.ref(false);
|
|
18654
18712
|
const data2 = vue.computed({
|
|
@@ -18657,9 +18715,10 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
18657
18715
|
emit2("dirty");
|
|
18658
18716
|
isDirty.value = true;
|
|
18659
18717
|
}
|
|
18718
|
+
formData.value = val;
|
|
18660
18719
|
emit2("update:modelValue", val);
|
|
18661
18720
|
},
|
|
18662
|
-
get: () => props2.modelValue ||
|
|
18721
|
+
get: () => props2.modelValue || formData.value
|
|
18663
18722
|
});
|
|
18664
18723
|
const form = vue.ref();
|
|
18665
18724
|
const validateForm = () => {
|
|
@@ -18667,10 +18726,18 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
18667
18726
|
return (_b = (_a2 = form.value) == null ? void 0 : _a2.reportValidity) == null ? void 0 : _b.call(_a2);
|
|
18668
18727
|
};
|
|
18669
18728
|
const clearForm = () => Object.assign(data2.value, {});
|
|
18729
|
+
let formStatus = vue.ref("idle");
|
|
18670
18730
|
const runSubmit = () => {
|
|
18671
|
-
|
|
18672
|
-
|
|
18673
|
-
|
|
18731
|
+
var _a2;
|
|
18732
|
+
console.log("runSubmit");
|
|
18733
|
+
try {
|
|
18734
|
+
validateForm();
|
|
18735
|
+
(_a2 = props2.onSubmit) == null ? void 0 : _a2.call(props2, data2.value);
|
|
18736
|
+
clearForm();
|
|
18737
|
+
formStatus.value = "success";
|
|
18738
|
+
} catch (e) {
|
|
18739
|
+
formStatus.value = "error";
|
|
18740
|
+
}
|
|
18674
18741
|
};
|
|
18675
18742
|
const i18nT = (val) => val;
|
|
18676
18743
|
const deleteItem = () => {
|
|
@@ -18695,39 +18762,42 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
18695
18762
|
};
|
|
18696
18763
|
__expose({ validateForm, deleteItem, isDirty: isDirty.value });
|
|
18697
18764
|
return (_ctx, _cache) => {
|
|
18698
|
-
return
|
|
18699
|
-
|
|
18700
|
-
|
|
18701
|
-
field,
|
|
18702
|
-
modelValue: data2.value,
|
|
18703
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => data2.value = $event)
|
|
18704
|
-
}, null, 8, ["field", "modelValue"]);
|
|
18705
|
-
}), 128)) : (vue.openBlock(), vue.createElementBlock("form", {
|
|
18706
|
-
key: 1,
|
|
18707
|
-
ref_key: "form",
|
|
18708
|
-
ref: form,
|
|
18709
|
-
onSubmit: vue.withModifiers(runSubmit, ["prevent"])
|
|
18710
|
-
}, [
|
|
18711
|
-
_ctx.label ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$q), {
|
|
18712
|
-
key: 0,
|
|
18713
|
-
tag: "h4",
|
|
18714
|
-
label: _ctx.label
|
|
18715
|
-
}, null, 8, ["label"])) : vue.createCommentVNode("", true),
|
|
18716
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.schema, (field, i2) => {
|
|
18717
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$i), {
|
|
18765
|
+
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
18766
|
+
_ctx.id ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 0 }, vue.renderList(_ctx.schema, (field, i2) => {
|
|
18767
|
+
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$g), {
|
|
18718
18768
|
key: field.id || `${i2}p`,
|
|
18719
18769
|
field,
|
|
18720
18770
|
modelValue: data2.value,
|
|
18721
|
-
"onUpdate:modelValue": _cache[
|
|
18771
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => data2.value = $event)
|
|
18722
18772
|
}, null, 8, ["field", "modelValue"]);
|
|
18723
|
-
}), 128)),
|
|
18724
|
-
|
|
18725
|
-
|
|
18726
|
-
|
|
18773
|
+
}), 128)) : !vue.unref(slots).success || vue.unref(formStatus) !== "success" ? (vue.openBlock(), vue.createElementBlock("form", {
|
|
18774
|
+
key: 1,
|
|
18775
|
+
ref_key: "form",
|
|
18776
|
+
ref: form,
|
|
18777
|
+
onSubmit: vue.withModifiers(runSubmit, ["prevent"])
|
|
18778
|
+
}, [
|
|
18779
|
+
_ctx.label ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$o), {
|
|
18780
|
+
key: 0,
|
|
18781
|
+
tag: "h4",
|
|
18782
|
+
label: _ctx.label
|
|
18783
|
+
}, null, 8, ["label"])) : vue.createCommentVNode("", true),
|
|
18784
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.schema, (field, i2) => {
|
|
18785
|
+
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$g), {
|
|
18786
|
+
key: field.id || `${i2}p`,
|
|
18787
|
+
field,
|
|
18788
|
+
modelValue: data2.value,
|
|
18789
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => data2.value = $event)
|
|
18790
|
+
}, null, 8, ["field", "modelValue"]);
|
|
18791
|
+
}), 128)),
|
|
18792
|
+
vue.renderSlot(_ctx.$slots, "submit")
|
|
18793
|
+
], 544)) : vue.createCommentVNode("", true),
|
|
18794
|
+
vue.unref(formStatus) === "success" ? vue.renderSlot(_ctx.$slots, "success", { key: 2 }) : vue.createCommentVNode("", true),
|
|
18795
|
+
vue.unref(formStatus) === "error" ? vue.renderSlot(_ctx.$slots, "error", { key: 3 }) : vue.createCommentVNode("", true)
|
|
18796
|
+
], 64);
|
|
18727
18797
|
};
|
|
18728
18798
|
}
|
|
18729
18799
|
});
|
|
18730
|
-
const _sfc_main$
|
|
18800
|
+
const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
18731
18801
|
__name: "BglField",
|
|
18732
18802
|
props: {
|
|
18733
18803
|
field: {},
|
|
@@ -18740,7 +18810,7 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
|
18740
18810
|
if (props2.field.$el === "text")
|
|
18741
18811
|
return TextInput;
|
|
18742
18812
|
if (props2.field.$el === "select")
|
|
18743
|
-
return
|
|
18813
|
+
return ComboBox;
|
|
18744
18814
|
if (props2.field.$el === "toggle")
|
|
18745
18815
|
return ToggleInput;
|
|
18746
18816
|
if (props2.field.$el === "check")
|
|
@@ -18795,7 +18865,7 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
|
18795
18865
|
})
|
|
18796
18866
|
],
|
|
18797
18867
|
defaultValue: _ctx.field.defaultValue,
|
|
18798
|
-
options: _ctx.field.options,
|
|
18868
|
+
options: vue.unref(bindAttrs)({ options: _ctx.field.options }, fieldData.value, _ctx.modelValue).options,
|
|
18799
18869
|
helptext: _ctx.field.helptext
|
|
18800
18870
|
}), {
|
|
18801
18871
|
default: vue.withCtx(() => {
|
|
@@ -18827,11 +18897,11 @@ const _hoisted_2$l = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.cr
|
|
|
18827
18897
|
}, [
|
|
18828
18898
|
/* @__PURE__ */ vue.createElementVNode("path", { d: "M382-240 154-468l57-57 171 171 367-367 57 57-424 424Z" })
|
|
18829
18899
|
], -1));
|
|
18830
|
-
const _hoisted_3$
|
|
18900
|
+
const _hoisted_3$g = [
|
|
18831
18901
|
_hoisted_2$l
|
|
18832
18902
|
];
|
|
18833
|
-
const _hoisted_4$
|
|
18834
|
-
const _sfc_main$
|
|
18903
|
+
const _hoisted_4$b = ["required", "id"];
|
|
18904
|
+
const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
18835
18905
|
__name: "CheckInput",
|
|
18836
18906
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
18837
18907
|
label: {},
|
|
@@ -18854,14 +18924,14 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
|
18854
18924
|
vue.createElementVNode("div", {
|
|
18855
18925
|
class: vue.normalizeClass(["check-square", { checked: checked.value }]),
|
|
18856
18926
|
onClick: _cache[0] || (_cache[0] = ($event) => checked.value = !checked.value)
|
|
18857
|
-
}, _hoisted_3$
|
|
18927
|
+
}, _hoisted_3$g, 2),
|
|
18858
18928
|
vue.createElementVNode("label", null, [
|
|
18859
18929
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
18860
18930
|
required: _ctx.required,
|
|
18861
18931
|
id: _ctx.id,
|
|
18862
18932
|
type: "checkbox",
|
|
18863
18933
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => checked.value = $event)
|
|
18864
|
-
}, null, 8, _hoisted_4$
|
|
18934
|
+
}, null, 8, _hoisted_4$b), [
|
|
18865
18935
|
[vue.vModelCheckbox, checked.value]
|
|
18866
18936
|
]),
|
|
18867
18937
|
vue.renderSlot(_ctx.$slots, "label", {}, () => [
|
|
@@ -18872,7 +18942,7 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
|
18872
18942
|
};
|
|
18873
18943
|
}
|
|
18874
18944
|
});
|
|
18875
|
-
const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18945
|
+
const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-e8219826"]]);
|
|
18876
18946
|
function toDate(argument) {
|
|
18877
18947
|
const argStr = Object.prototype.toString.call(argument);
|
|
18878
18948
|
if (argument instanceof Date || typeof argument === "object" && argStr === "[object Date]") {
|
|
@@ -27483,7 +27553,7 @@ Object.entries(Mo).forEach(([e, t]) => {
|
|
|
27483
27553
|
});
|
|
27484
27554
|
const _hoisted_1$p = ["title"];
|
|
27485
27555
|
const _hoisted_2$k = { key: 0 };
|
|
27486
|
-
const _sfc_main$
|
|
27556
|
+
const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
27487
27557
|
__name: "DateInput",
|
|
27488
27558
|
props: {
|
|
27489
27559
|
label: {},
|
|
@@ -27535,8 +27605,8 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
|
27535
27605
|
});
|
|
27536
27606
|
const _hoisted_1$o = ["title"];
|
|
27537
27607
|
const _hoisted_2$j = { key: 0 };
|
|
27538
|
-
const _hoisted_3$
|
|
27539
|
-
const _sfc_main$
|
|
27608
|
+
const _hoisted_3$f = ["value", "placeholder"];
|
|
27609
|
+
const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
27540
27610
|
__name: "JSONInput",
|
|
27541
27611
|
props: {
|
|
27542
27612
|
description: { default: "" },
|
|
@@ -27567,12 +27637,12 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
27567
27637
|
onInput: handleInput,
|
|
27568
27638
|
class: vue.normalizeClass({ "no-edit": !_ctx.editMode }),
|
|
27569
27639
|
placeholder: _ctx.placeholder
|
|
27570
|
-
}, null, 42, _hoisted_3$
|
|
27640
|
+
}, null, 42, _hoisted_3$f)
|
|
27571
27641
|
], 10, _hoisted_1$o);
|
|
27572
27642
|
};
|
|
27573
27643
|
}
|
|
27574
27644
|
});
|
|
27575
|
-
const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
27645
|
+
const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-1fc4f739"]]);
|
|
27576
27646
|
function isEmpty(opt) {
|
|
27577
27647
|
if (opt === 0)
|
|
27578
27648
|
return false;
|
|
@@ -28565,11 +28635,11 @@ const _hoisted_1$n = {
|
|
|
28565
28635
|
class: "multiselect__tags"
|
|
28566
28636
|
};
|
|
28567
28637
|
const _hoisted_2$i = { class: "multiselect__tags-wrap" };
|
|
28568
|
-
const _hoisted_3$
|
|
28569
|
-
const _hoisted_4$
|
|
28570
|
-
const _hoisted_5$
|
|
28571
|
-
const _hoisted_6$
|
|
28572
|
-
const _hoisted_7$
|
|
28638
|
+
const _hoisted_3$e = { class: "multiselect__spinner" };
|
|
28639
|
+
const _hoisted_4$a = { key: 0 };
|
|
28640
|
+
const _hoisted_5$9 = { class: "multiselect__option" };
|
|
28641
|
+
const _hoisted_6$5 = { class: "multiselect__option" };
|
|
28642
|
+
const _hoisted_7$2 = /* @__PURE__ */ vue.createTextVNode("No elements found. Consider changing the search query.");
|
|
28573
28643
|
const _hoisted_8$1 = { class: "multiselect__option" };
|
|
28574
28644
|
const _hoisted_9$1 = /* @__PURE__ */ vue.createTextVNode("List is empty.");
|
|
28575
28645
|
function render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -28660,7 +28730,7 @@ function render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
28660
28730
|
vue.renderSlot(_ctx.$slots, "loading", {}, () => [
|
|
28661
28731
|
vue.withDirectives(vue.createVNode(
|
|
28662
28732
|
"div",
|
|
28663
|
-
_hoisted_3$
|
|
28733
|
+
_hoisted_3$e,
|
|
28664
28734
|
null,
|
|
28665
28735
|
512
|
|
28666
28736
|
/* NEED_PATCH */
|
|
@@ -28761,8 +28831,8 @@ function render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
28761
28831
|
id: "listbox-" + _ctx.id
|
|
28762
28832
|
}, [
|
|
28763
28833
|
vue.renderSlot(_ctx.$slots, "beforeList"),
|
|
28764
|
-
_ctx.multiple && _ctx.max === _ctx.internalValue.length ? (vue.openBlock(), vue.createBlock("li", _hoisted_4$
|
|
28765
|
-
vue.createVNode("span", _hoisted_5$
|
|
28834
|
+
_ctx.multiple && _ctx.max === _ctx.internalValue.length ? (vue.openBlock(), vue.createBlock("li", _hoisted_4$a, [
|
|
28835
|
+
vue.createVNode("span", _hoisted_5$9, [
|
|
28766
28836
|
vue.renderSlot(_ctx.$slots, "maxElements", {}, () => [
|
|
28767
28837
|
vue.createTextVNode(
|
|
28768
28838
|
"Maximum of " + vue.toDisplayString(_ctx.max) + " options selected. First remove a selected option to select another.",
|
|
@@ -28836,9 +28906,9 @@ function render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
28836
28906
|
"li",
|
|
28837
28907
|
null,
|
|
28838
28908
|
[
|
|
28839
|
-
vue.createVNode("span", _hoisted_6$
|
|
28909
|
+
vue.createVNode("span", _hoisted_6$5, [
|
|
28840
28910
|
vue.renderSlot(_ctx.$slots, "noResult", { search: _ctx.search }, () => [
|
|
28841
|
-
_hoisted_7$
|
|
28911
|
+
_hoisted_7$2
|
|
28842
28912
|
])
|
|
28843
28913
|
])
|
|
28844
28914
|
],
|
|
@@ -28879,7 +28949,7 @@ function render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
28879
28949
|
script$e.render = render$e;
|
|
28880
28950
|
const Multiselect = script$e;
|
|
28881
28951
|
const _hoisted_1$m = ["for"];
|
|
28882
|
-
const _sfc_main$
|
|
28952
|
+
const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
28883
28953
|
__name: "SelectInput",
|
|
28884
28954
|
props: {
|
|
28885
28955
|
required: { type: Boolean },
|
|
@@ -28944,8 +29014,8 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
|
28944
29014
|
});
|
|
28945
29015
|
const _hoisted_1$l = ["title"];
|
|
28946
29016
|
const _hoisted_2$h = { key: 0 };
|
|
28947
|
-
const _hoisted_3$
|
|
28948
|
-
const _sfc_main$
|
|
29017
|
+
const _hoisted_3$d = ["value", "placeholder"];
|
|
29018
|
+
const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
28949
29019
|
__name: "RichTextEditor",
|
|
28950
29020
|
props: {
|
|
28951
29021
|
description: { default: "" },
|
|
@@ -28976,12 +29046,12 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
|
28976
29046
|
onInput: handleInput,
|
|
28977
29047
|
placeholder: _ctx.placeholder,
|
|
28978
29048
|
class: vue.normalizeClass({ "no-edit": !_ctx.editMode })
|
|
28979
|
-
}, null, 42, _hoisted_3$
|
|
29049
|
+
}, null, 42, _hoisted_3$d)
|
|
28980
29050
|
], 10, _hoisted_1$l);
|
|
28981
29051
|
};
|
|
28982
29052
|
}
|
|
28983
29053
|
});
|
|
28984
|
-
const RichTextEditor = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
29054
|
+
const RichTextEditor = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-69a60381"]]);
|
|
28985
29055
|
/*!
|
|
28986
29056
|
* vue-draggable-next v2.2.0
|
|
28987
29057
|
* (c) 2023 Anish George
|
|
@@ -31506,11 +31576,11 @@ const VueDraggableNext = vue.defineComponent({
|
|
|
31506
31576
|
});
|
|
31507
31577
|
const _hoisted_1$k = ["title"];
|
|
31508
31578
|
const _hoisted_2$g = { class: "bagel-input" };
|
|
31509
|
-
const _hoisted_3$
|
|
31510
|
-
const _hoisted_4$
|
|
31511
|
-
const _hoisted_5$
|
|
31512
|
-
const _hoisted_6$
|
|
31513
|
-
const _sfc_main$
|
|
31579
|
+
const _hoisted_3$c = { class: "table-side-scroll" };
|
|
31580
|
+
const _hoisted_4$9 = { class: "table-header" };
|
|
31581
|
+
const _hoisted_5$8 = { class: "table-reorder" };
|
|
31582
|
+
const _hoisted_6$4 = { class: "table-action" };
|
|
31583
|
+
const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
31514
31584
|
__name: "TableField",
|
|
31515
31585
|
props: {
|
|
31516
31586
|
description: { default: "" },
|
|
@@ -31578,8 +31648,8 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
31578
31648
|
vue.createElementVNode("div", _hoisted_2$g, [
|
|
31579
31649
|
vue.createElementVNode("label", null, vue.toDisplayString((_a2 = vue.unref(fieldMeta)) == null ? void 0 : _a2.label), 1)
|
|
31580
31650
|
]),
|
|
31581
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
31582
|
-
vue.createElementVNode("div", _hoisted_4$
|
|
31651
|
+
vue.createElementVNode("div", _hoisted_3$c, [
|
|
31652
|
+
vue.createElementVNode("div", _hoisted_4$9, [
|
|
31583
31653
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList((_b = vue.unref(entityMeta)) == null ? void 0 : _b.fields, (field) => {
|
|
31584
31654
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
31585
31655
|
class: vue.normalizeClass(["header-col", vue.unref(formatString)(field.fieldtype, "pascal")]),
|
|
@@ -31606,8 +31676,8 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
31606
31676
|
class: "flex table-row",
|
|
31607
31677
|
key: row.id
|
|
31608
31678
|
}, [
|
|
31609
|
-
vue.createElementVNode("div", _hoisted_5$
|
|
31610
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
31679
|
+
vue.createElementVNode("div", _hoisted_5$8, [
|
|
31680
|
+
vue.createVNode(vue.unref(_sfc_main$F), { icon: "more_vert" })
|
|
31611
31681
|
]),
|
|
31612
31682
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList((_a3 = vue.unref(entityMeta)) == null ? void 0 : _a3.fields, (field) => {
|
|
31613
31683
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -31623,8 +31693,8 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
31623
31693
|
}, null, 8, ["field-meta", "bagel-app", "onUpdate:modelValue", "model-value"])
|
|
31624
31694
|
], 2);
|
|
31625
31695
|
}), 128)),
|
|
31626
|
-
vue.createElementVNode("div", _hoisted_6$
|
|
31627
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
31696
|
+
vue.createElementVNode("div", _hoisted_6$4, [
|
|
31697
|
+
vue.createVNode(vue.unref(_sfc_main$F), {
|
|
31628
31698
|
icon: "delete",
|
|
31629
31699
|
onClick: ($event) => removeRow(index2)
|
|
31630
31700
|
}, null, 8, ["onClick"])
|
|
@@ -31654,13 +31724,13 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
31654
31724
|
};
|
|
31655
31725
|
}
|
|
31656
31726
|
});
|
|
31657
|
-
const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
31727
|
+
const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-cdacf10e"]]);
|
|
31658
31728
|
const _hoisted_1$j = ["title"];
|
|
31659
31729
|
const _hoisted_2$f = ["for"];
|
|
31660
|
-
const _hoisted_3$
|
|
31661
|
-
const _hoisted_4$
|
|
31662
|
-
const _hoisted_5$
|
|
31663
|
-
const _sfc_main$
|
|
31730
|
+
const _hoisted_3$b = ["title", "autocomplete", "id", "type", "placeholder", "disabled", "required", "pattern"];
|
|
31731
|
+
const _hoisted_4$8 = ["title", "id", "type", "rows", "placeholder", "disabled", "required", "pattern"];
|
|
31732
|
+
const _hoisted_5$7 = { key: 2 };
|
|
31733
|
+
const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
31664
31734
|
__name: "TextInput",
|
|
31665
31735
|
props: {
|
|
31666
31736
|
id: {},
|
|
@@ -31683,7 +31753,8 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
|
31683
31753
|
autoheight: { type: Boolean },
|
|
31684
31754
|
code: { type: Boolean },
|
|
31685
31755
|
lines: {},
|
|
31686
|
-
autocomplete: { default: "off" }
|
|
31756
|
+
autocomplete: { default: "off" },
|
|
31757
|
+
autofocus: { type: Boolean }
|
|
31687
31758
|
},
|
|
31688
31759
|
emits: ["update:modelValue", "debounce"],
|
|
31689
31760
|
setup(__props, { emit: __emit }) {
|
|
@@ -31736,6 +31807,13 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
|
31736
31807
|
},
|
|
31737
31808
|
{ immediate: true }
|
|
31738
31809
|
);
|
|
31810
|
+
vue.onMounted(() => {
|
|
31811
|
+
if (props2.autofocus)
|
|
31812
|
+
setTimeout(() => {
|
|
31813
|
+
var _a2;
|
|
31814
|
+
return (_a2 = input.value) == null ? void 0 : _a2.focus();
|
|
31815
|
+
}, 10);
|
|
31816
|
+
});
|
|
31739
31817
|
return (_ctx, _cache) => {
|
|
31740
31818
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
31741
31819
|
class: vue.normalizeClass(["bagel-input text-input", {
|
|
@@ -31766,7 +31844,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
|
31766
31844
|
disabled: !vue.unref(editMode),
|
|
31767
31845
|
required: _ctx.required,
|
|
31768
31846
|
pattern: _ctx.pattern
|
|
31769
|
-
}, _ctx.nativeInputAttrs, { onDblclick: toggleEditAction }), null, 16, _hoisted_3$
|
|
31847
|
+
}, _ctx.nativeInputAttrs, { onDblclick: toggleEditAction }), null, 16, _hoisted_3$b)), [
|
|
31770
31848
|
[vue.vModelDynamic, vue.unref(inputVal)]
|
|
31771
31849
|
]) : vue.withDirectives((vue.openBlock(), vue.createElementBlock("textarea", vue.mergeProps({
|
|
31772
31850
|
key: 1,
|
|
@@ -31781,17 +31859,17 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
|
31781
31859
|
disabled: !vue.unref(editMode),
|
|
31782
31860
|
required: _ctx.required,
|
|
31783
31861
|
pattern: _ctx.pattern
|
|
31784
|
-
}, _ctx.nativeInputAttrs, { onDblclick: toggleEditAction }), null, 16, _hoisted_4$
|
|
31862
|
+
}, _ctx.nativeInputAttrs, { onDblclick: toggleEditAction }), null, 16, _hoisted_4$8)), [
|
|
31785
31863
|
[vue.vModelText, vue.unref(inputVal)]
|
|
31786
31864
|
]),
|
|
31787
|
-
_ctx.helptext ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_5$
|
|
31865
|
+
_ctx.helptext ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_5$7, vue.toDisplayString(_ctx.helptext), 1)) : vue.createCommentVNode("", true)
|
|
31788
31866
|
], 8, _hoisted_2$f),
|
|
31789
|
-
_ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
31867
|
+
_ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$F), {
|
|
31790
31868
|
key: 0,
|
|
31791
31869
|
class: "iconStart",
|
|
31792
31870
|
icon: _ctx.iconStart
|
|
31793
31871
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
31794
|
-
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
31872
|
+
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$F), {
|
|
31795
31873
|
key: 1,
|
|
31796
31874
|
icon: _ctx.icon
|
|
31797
31875
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
@@ -31807,9 +31885,9 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
|
31807
31885
|
};
|
|
31808
31886
|
}
|
|
31809
31887
|
});
|
|
31810
|
-
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
31888
|
+
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-cd4c27ad"]]);
|
|
31811
31889
|
const _hoisted_1$i = { class: "primary-checkbox" };
|
|
31812
|
-
const _sfc_main$
|
|
31890
|
+
const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
31813
31891
|
__name: "Checkbox",
|
|
31814
31892
|
props: {
|
|
31815
31893
|
"modelValue": {
|
|
@@ -31830,16 +31908,16 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
|
31830
31908
|
[vue.vModelCheckbox, val.value]
|
|
31831
31909
|
]),
|
|
31832
31910
|
vue.createElementVNode("span", null, [
|
|
31833
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
31911
|
+
vue.createVNode(vue.unref(_sfc_main$F), { icon: "check" })
|
|
31834
31912
|
])
|
|
31835
31913
|
]);
|
|
31836
31914
|
};
|
|
31837
31915
|
}
|
|
31838
31916
|
});
|
|
31839
|
-
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
31917
|
+
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-e4cbb088"]]);
|
|
31840
31918
|
const _hoisted_1$h = ["title"];
|
|
31841
31919
|
const _hoisted_2$e = ["id", "placeholder", "required"];
|
|
31842
|
-
const _sfc_main$
|
|
31920
|
+
const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
|
|
31843
31921
|
__name: "ColorPicker",
|
|
31844
31922
|
props: {
|
|
31845
31923
|
label: {},
|
|
@@ -31885,13 +31963,13 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
31885
31963
|
});
|
|
31886
31964
|
const _hoisted_1$g = { class: "datetime-wrap" };
|
|
31887
31965
|
const _hoisted_2$d = { class: "date-wrap" };
|
|
31888
|
-
const _hoisted_3$
|
|
31966
|
+
const _hoisted_3$a = {
|
|
31889
31967
|
key: 0,
|
|
31890
31968
|
class: "time-wrap"
|
|
31891
31969
|
};
|
|
31892
|
-
const _hoisted_4$
|
|
31893
|
-
const _hoisted_5$
|
|
31894
|
-
const _sfc_main$
|
|
31970
|
+
const _hoisted_4$7 = ["id", "name", "value"];
|
|
31971
|
+
const _hoisted_5$6 = ["for"];
|
|
31972
|
+
const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
|
|
31895
31973
|
__name: "DatePicker",
|
|
31896
31974
|
props: {
|
|
31897
31975
|
name: {},
|
|
@@ -31923,7 +32001,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
|
31923
32001
|
_: 1
|
|
31924
32002
|
}, 16, ["modelValue"])
|
|
31925
32003
|
]),
|
|
31926
|
-
_ctx.showTimeWrap ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$
|
|
32004
|
+
_ctx.showTimeWrap ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$a, [
|
|
31927
32005
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(hours), (hr2) => {
|
|
31928
32006
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: hr2 }, [
|
|
31929
32007
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
@@ -31932,12 +32010,12 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
|
31932
32010
|
name: _ctx.name,
|
|
31933
32011
|
value: hr2,
|
|
31934
32012
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => selectedHour.value = $event)
|
|
31935
|
-
}, null, 8, _hoisted_4$
|
|
32013
|
+
}, null, 8, _hoisted_4$7), [
|
|
31936
32014
|
[vue.vModelRadio, selectedHour.value]
|
|
31937
32015
|
]),
|
|
31938
32016
|
vue.createElementVNode("label", {
|
|
31939
32017
|
for: `${hr2}_${_ctx.name}`
|
|
31940
|
-
}, vue.toDisplayString(hr2), 9, _hoisted_5$
|
|
32018
|
+
}, vue.toDisplayString(hr2), 9, _hoisted_5$6)
|
|
31941
32019
|
], 64);
|
|
31942
32020
|
}), 128))
|
|
31943
32021
|
])) : vue.createCommentVNode("", true)
|
|
@@ -31947,10 +32025,10 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
|
31947
32025
|
});
|
|
31948
32026
|
const _hoisted_1$f = { class: "bagel-input" };
|
|
31949
32027
|
const _hoisted_2$c = { class: "pb-025" };
|
|
31950
|
-
const _hoisted_3$
|
|
31951
|
-
const _hoisted_4$
|
|
31952
|
-
const _hoisted_5$
|
|
31953
|
-
const _sfc_main$
|
|
32028
|
+
const _hoisted_3$9 = { class: "flex gap-05 flex-wrap" };
|
|
32029
|
+
const _hoisted_4$6 = ["id", "name", "value", "checked"];
|
|
32030
|
+
const _hoisted_5$5 = ["for"];
|
|
32031
|
+
const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
31954
32032
|
__name: "RadioPillsInput",
|
|
31955
32033
|
props: {
|
|
31956
32034
|
options: {},
|
|
@@ -31991,7 +32069,7 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
|
|
|
31991
32069
|
return (_ctx, _cache) => {
|
|
31992
32070
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$f, [
|
|
31993
32071
|
vue.createElementVNode("label", _hoisted_2$c, vue.toDisplayString(_ctx.label), 1),
|
|
31994
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
32072
|
+
vue.createElementVNode("div", _hoisted_3$9, [
|
|
31995
32073
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(cumputedOptions.value, ({ optioId, label, value }, index2) => {
|
|
31996
32074
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
31997
32075
|
class: "radio-pill",
|
|
@@ -32004,8 +32082,8 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
|
|
|
32004
32082
|
value,
|
|
32005
32083
|
checked: vue.unref(selectedValue) === value,
|
|
32006
32084
|
onChange: handleSelect
|
|
32007
|
-
}, null, 40, _hoisted_4$
|
|
32008
|
-
vue.createElementVNode("label", { for: optioId }, vue.toDisplayString(label), 9, _hoisted_5$
|
|
32085
|
+
}, null, 40, _hoisted_4$6),
|
|
32086
|
+
vue.createElementVNode("label", { for: optioId }, vue.toDisplayString(label), 9, _hoisted_5$5)
|
|
32009
32087
|
]);
|
|
32010
32088
|
}), 128))
|
|
32011
32089
|
])
|
|
@@ -32013,17 +32091,17 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
|
|
|
32013
32091
|
};
|
|
32014
32092
|
}
|
|
32015
32093
|
});
|
|
32016
|
-
const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
32094
|
+
const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-e47ae8b5"]]);
|
|
32017
32095
|
const _hoisted_1$e = { class: "bagel-input" };
|
|
32018
32096
|
const _hoisted_2$b = {
|
|
32019
32097
|
key: 0,
|
|
32020
32098
|
class: "imagePreviewWrap"
|
|
32021
32099
|
};
|
|
32022
|
-
const _hoisted_3$
|
|
32023
|
-
const _hoisted_4$
|
|
32024
|
-
const _hoisted_5$
|
|
32025
|
-
const _hoisted_6$
|
|
32026
|
-
const _hoisted_7$
|
|
32100
|
+
const _hoisted_3$8 = ["src"];
|
|
32101
|
+
const _hoisted_4$5 = { class: "previewName" };
|
|
32102
|
+
const _hoisted_5$4 = ["src"];
|
|
32103
|
+
const _hoisted_6$3 = { class: "no-margin" };
|
|
32104
|
+
const _hoisted_7$1 = {
|
|
32027
32105
|
key: 0,
|
|
32028
32106
|
class: "imagePreviewWrap"
|
|
32029
32107
|
};
|
|
@@ -32035,7 +32113,7 @@ const _hoisted_12 = {
|
|
|
32035
32113
|
key: 0,
|
|
32036
32114
|
class: "progress"
|
|
32037
32115
|
};
|
|
32038
|
-
const _sfc_main$
|
|
32116
|
+
const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
32039
32117
|
__name: "FileUpload",
|
|
32040
32118
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
32041
32119
|
label: {},
|
|
@@ -32149,17 +32227,17 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
|
|
|
32149
32227
|
class: "preview",
|
|
32150
32228
|
src: file.url,
|
|
32151
32229
|
alt: ""
|
|
32152
|
-
}, null, 8, _hoisted_3$
|
|
32230
|
+
}, null, 8, _hoisted_3$8)
|
|
32153
32231
|
])) : vue.createCommentVNode("", true),
|
|
32154
|
-
vue.createElementVNode("div", _hoisted_4$
|
|
32232
|
+
vue.createElementVNode("div", _hoisted_4$5, [
|
|
32155
32233
|
_ctx.multiple ? (vue.openBlock(), vue.createElementBlock("img", {
|
|
32156
32234
|
key: 0,
|
|
32157
32235
|
height: "60",
|
|
32158
32236
|
class: "preview",
|
|
32159
32237
|
src: file.url,
|
|
32160
32238
|
alt: ""
|
|
32161
|
-
}, null, 8, _hoisted_5$
|
|
32162
|
-
vue.createElementVNode("p", _hoisted_6$
|
|
32239
|
+
}, null, 8, _hoisted_5$4)) : vue.createCommentVNode("", true),
|
|
32240
|
+
vue.createElementVNode("p", _hoisted_6$3, vue.toDisplayString(file.name), 1),
|
|
32163
32241
|
vue.createVNode(vue.unref(Btn), {
|
|
32164
32242
|
thin: "",
|
|
32165
32243
|
onClick: vue.withModifiers(($event) => removeFile(file), ["stop"]),
|
|
@@ -32174,7 +32252,7 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
|
|
|
32174
32252
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, {
|
|
32175
32253
|
key: fileQ.file
|
|
32176
32254
|
}, [
|
|
32177
|
-
!_ctx.multiple ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$
|
|
32255
|
+
!_ctx.multiple ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$1, [
|
|
32178
32256
|
vue.createElementVNode("img", {
|
|
32179
32257
|
class: "preview",
|
|
32180
32258
|
src: fileToUrl(fileQ.file),
|
|
@@ -32195,7 +32273,7 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
|
|
|
32195
32273
|
style: vue.normalizeStyle([`--p:${fileQ.progress}`, { "--b": "2px" }])
|
|
32196
32274
|
}, [
|
|
32197
32275
|
fileQ.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_12, vue.toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : vue.createCommentVNode("", true),
|
|
32198
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
32276
|
+
vue.createVNode(vue.unref(_sfc_main$F), {
|
|
32199
32277
|
class: "success",
|
|
32200
32278
|
icon: "check"
|
|
32201
32279
|
})
|
|
@@ -32208,15 +32286,15 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
|
|
|
32208
32286
|
};
|
|
32209
32287
|
}
|
|
32210
32288
|
});
|
|
32211
|
-
const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
32289
|
+
const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-1be8d7b1"]]);
|
|
32212
32290
|
const _withScopeId = (n2) => (vue.pushScopeId("data-v-b87221d6"), n2 = n2(), vue.popScopeId(), n2);
|
|
32213
32291
|
const _hoisted_1$d = ["title"];
|
|
32214
32292
|
const _hoisted_2$a = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("span", { class: "slider round" }, null, -1));
|
|
32215
|
-
const _hoisted_3$
|
|
32293
|
+
const _hoisted_3$7 = [
|
|
32216
32294
|
_hoisted_2$a
|
|
32217
32295
|
];
|
|
32218
|
-
const _hoisted_4$
|
|
32219
|
-
const _sfc_main$
|
|
32296
|
+
const _hoisted_4$4 = ["id"];
|
|
32297
|
+
const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
|
|
32220
32298
|
__name: "ToggleInput",
|
|
32221
32299
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
32222
32300
|
label: {},
|
|
@@ -32237,14 +32315,14 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
32237
32315
|
}, [
|
|
32238
32316
|
vue.createElementVNode("div", {
|
|
32239
32317
|
class: vue.normalizeClass(["switch", { checked: checked.value }])
|
|
32240
|
-
}, _hoisted_3$
|
|
32318
|
+
}, _hoisted_3$7, 2),
|
|
32241
32319
|
vue.createElementVNode("label", null, [
|
|
32242
32320
|
vue.createTextVNode(vue.toDisplayString(_ctx.label) + " ", 1),
|
|
32243
32321
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
32244
32322
|
id: _ctx.id,
|
|
32245
32323
|
type: "checkbox",
|
|
32246
32324
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => checked.value = $event)
|
|
32247
|
-
}, null, 8, _hoisted_4$
|
|
32325
|
+
}, null, 8, _hoisted_4$4), [
|
|
32248
32326
|
[vue.vModelCheckbox, checked.value]
|
|
32249
32327
|
])
|
|
32250
32328
|
])
|
|
@@ -32252,7 +32330,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
32252
32330
|
};
|
|
32253
32331
|
}
|
|
32254
32332
|
});
|
|
32255
|
-
const ToggleInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
32333
|
+
const ToggleInput = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-b87221d6"]]);
|
|
32256
32334
|
function _isPlaceholder(a2) {
|
|
32257
32335
|
return a2 != null && typeof a2 === "object" && a2["@@functional/placeholder"] === true;
|
|
32258
32336
|
}
|
|
@@ -37371,7 +37449,7 @@ const _hoisted_4$2 = {
|
|
|
37371
37449
|
};
|
|
37372
37450
|
const _hoisted_5$2 = ["x1", "y1", "x2", "y2"];
|
|
37373
37451
|
const _hoisted_6$2 = ["x1", "y1", "x2", "y2"];
|
|
37374
|
-
const _hoisted_7
|
|
37452
|
+
const _hoisted_7 = ["x1", "y1", "x2", "y2"];
|
|
37375
37453
|
function render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
37376
37454
|
return _ctx.data.length ? (vue.openBlock(), vue.createElementBlock("g", {
|
|
37377
37455
|
key: 0,
|
|
@@ -37427,7 +37505,7 @@ function render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37427
37505
|
y1: _ctx.canvas.y,
|
|
37428
37506
|
x2: _ctx.canvas.width - 1,
|
|
37429
37507
|
y2: _ctx.canvas.height
|
|
37430
|
-
}, null, 8, _hoisted_7
|
|
37508
|
+
}, null, 8, _hoisted_7)
|
|
37431
37509
|
])
|
|
37432
37510
|
], 8, _hoisted_1$4)) : vue.createCommentVNode("v-if", true);
|
|
37433
37511
|
}
|
|
@@ -37691,7 +37769,7 @@ var script$2 = vue.defineComponent({
|
|
|
37691
37769
|
return { y: y2, canvas, direction };
|
|
37692
37770
|
}
|
|
37693
37771
|
});
|
|
37694
|
-
const _hoisted_1$2
|
|
37772
|
+
const _hoisted_1$2 = {
|
|
37695
37773
|
key: 0,
|
|
37696
37774
|
class: "layer-marker"
|
|
37697
37775
|
};
|
|
@@ -37704,7 +37782,7 @@ const _hoisted_4$1 = {
|
|
|
37704
37782
|
const _hoisted_5$1 = ["x", "y", "fill"];
|
|
37705
37783
|
const _hoisted_6$1 = ["x1", "y1", "x2", "y2", "stroke", "stroke-opacity", "stroke-width", "stroke-dasharray"];
|
|
37706
37784
|
function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
37707
|
-
return _ctx.direction === "horizontal" ? (vue.openBlock(), vue.createElementBlock("g", _hoisted_1$2
|
|
37785
|
+
return _ctx.direction === "horizontal" ? (vue.openBlock(), vue.createElementBlock("g", _hoisted_1$2, [
|
|
37708
37786
|
vue.createElementVNode("text", {
|
|
37709
37787
|
x: _ctx.canvas.x + 5,
|
|
37710
37788
|
y: _ctx.y - 5,
|
|
@@ -38324,11 +38402,11 @@ const _hoisted_1$1$1 = {
|
|
|
38324
38402
|
class: "treemap",
|
|
38325
38403
|
style: { display: "flex", position: "relative" }
|
|
38326
38404
|
};
|
|
38327
|
-
const _hoisted_2$1
|
|
38328
|
-
const _hoisted_3
|
|
38329
|
-
const _hoisted_4
|
|
38330
|
-
const _hoisted_5
|
|
38331
|
-
const _hoisted_6
|
|
38405
|
+
const _hoisted_2$1 = ["width", "height", "viewBox"];
|
|
38406
|
+
const _hoisted_3 = { class: "layer-rectangles" };
|
|
38407
|
+
const _hoisted_4 = ["transform", "onMouseover"];
|
|
38408
|
+
const _hoisted_5 = ["width", "height"];
|
|
38409
|
+
const _hoisted_6 = {
|
|
38332
38410
|
x: 0 + 10,
|
|
38333
38411
|
y: 0 + 20,
|
|
38334
38412
|
"font-size": `15px`,
|
|
@@ -38343,7 +38421,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38343
38421
|
viewBox: `0 0 ${_ctx.size.width} ${_ctx.size.height}`,
|
|
38344
38422
|
ref: "el"
|
|
38345
38423
|
}, [
|
|
38346
|
-
vue.createElementVNode("g", _hoisted_3
|
|
38424
|
+
vue.createElementVNode("g", _hoisted_3, [
|
|
38347
38425
|
(vue.openBlock(true), vue.createElementBlock(
|
|
38348
38426
|
vue.Fragment,
|
|
38349
38427
|
null,
|
|
@@ -38364,27 +38442,27 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38364
38442
|
y: 0,
|
|
38365
38443
|
width: r2.width,
|
|
38366
38444
|
height: r2.height
|
|
38367
|
-
}), null, 16, _hoisted_5
|
|
38445
|
+
}), null, 16, _hoisted_5),
|
|
38368
38446
|
vue.renderSlot(_ctx.$slots, "text", {
|
|
38369
38447
|
r: r2,
|
|
38370
38448
|
selected: _ctx.selected === i2
|
|
38371
38449
|
}, () => [
|
|
38372
38450
|
vue.createElementVNode(
|
|
38373
38451
|
"text",
|
|
38374
|
-
_hoisted_6
|
|
38452
|
+
_hoisted_6,
|
|
38375
38453
|
vue.toDisplayString(r2.data.name),
|
|
38376
38454
|
1
|
|
38377
38455
|
/* TEXT */
|
|
38378
38456
|
)
|
|
38379
38457
|
])
|
|
38380
38458
|
])
|
|
38381
|
-
], 42, _hoisted_4
|
|
38459
|
+
], 42, _hoisted_4);
|
|
38382
38460
|
}),
|
|
38383
38461
|
128
|
|
38384
38462
|
/* KEYED_FRAGMENT */
|
|
38385
38463
|
))
|
|
38386
38464
|
])
|
|
38387
|
-
], 8, _hoisted_2$1
|
|
38465
|
+
], 8, _hoisted_2$1)),
|
|
38388
38466
|
vue.renderSlot(_ctx.$slots, "widgets")
|
|
38389
38467
|
]);
|
|
38390
38468
|
}
|
|
@@ -38452,13 +38530,13 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38452
38530
|
}
|
|
38453
38531
|
script.render = render;
|
|
38454
38532
|
script.__file = "src/components/HoverBar/index.vue";
|
|
38455
|
-
const _hoisted_1$
|
|
38533
|
+
const _hoisted_1$1 = /* @__PURE__ */ vue.createElementVNode("stop", {
|
|
38456
38534
|
offset: "100%",
|
|
38457
38535
|
"stop-color": "white",
|
|
38458
38536
|
"stop-opacity": "0.4"
|
|
38459
38537
|
}, null, -1);
|
|
38460
38538
|
const BRAND_COLOR = "var(--bgl-primary)";
|
|
38461
|
-
const _sfc_main$
|
|
38539
|
+
const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
38462
38540
|
__name: "Lineart",
|
|
38463
38541
|
props: {
|
|
38464
38542
|
data: {},
|
|
@@ -38587,7 +38665,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
|
38587
38665
|
"stop-color": BRAND_COLOR,
|
|
38588
38666
|
"stop-opacity": "1"
|
|
38589
38667
|
}),
|
|
38590
|
-
_hoisted_1$
|
|
38668
|
+
_hoisted_1$1
|
|
38591
38669
|
])
|
|
38592
38670
|
])
|
|
38593
38671
|
]),
|
|
@@ -38603,233 +38681,6 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
|
38603
38681
|
};
|
|
38604
38682
|
}
|
|
38605
38683
|
});
|
|
38606
|
-
const _hoisted_1$1 = { class: "main-content" };
|
|
38607
|
-
const _hoisted_2$1 = { class: "view-wrapper bgl_card thin" };
|
|
38608
|
-
const _hoisted_3 = { class: "whatsapp-wrap" };
|
|
38609
|
-
const _hoisted_4 = { class: "create-template-form" };
|
|
38610
|
-
const _hoisted_5 = { class: "whatsapp-msg" };
|
|
38611
|
-
const _hoisted_6 = { class: "whatsapp-body" };
|
|
38612
|
-
const _hoisted_7 = { class: "whatsapp-footer" };
|
|
38613
|
-
const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
|
|
38614
|
-
__name: "MsgTemplate",
|
|
38615
|
-
props: {
|
|
38616
|
-
whatsappTemplateSchema: {},
|
|
38617
|
-
router: {},
|
|
38618
|
-
route: {},
|
|
38619
|
-
previewLabel: { default: "Preview" }
|
|
38620
|
-
},
|
|
38621
|
-
setup(__props) {
|
|
38622
|
-
const props2 = __props;
|
|
38623
|
-
const bagel = useBagel();
|
|
38624
|
-
const regex2 = /\{\{(\d+)}}/g;
|
|
38625
|
-
let localWhatsappData = vue.ref();
|
|
38626
|
-
const serverToLocal = (data2) => {
|
|
38627
|
-
var _a2, _b, _c, _d, _e2;
|
|
38628
|
-
return {
|
|
38629
|
-
id: data2.id,
|
|
38630
|
-
status: data2.status,
|
|
38631
|
-
name: data2.name,
|
|
38632
|
-
language: data2.language,
|
|
38633
|
-
headerText: (_a2 = data2.components.find(
|
|
38634
|
-
(c2) => c2.type === "HEADER"
|
|
38635
|
-
)) == null ? void 0 : _a2.text,
|
|
38636
|
-
bodyText: (_b = data2.components.find((c2) => c2.type === "BODY")) == null ? void 0 : _b.text,
|
|
38637
|
-
bodyExamples: (_d = (_c = data2.components.find(
|
|
38638
|
-
(c2) => c2.type === "BODY"
|
|
38639
|
-
)) == null ? void 0 : _c.example) == null ? void 0 : _d.body_text[0],
|
|
38640
|
-
footerText: (_e2 = data2.components.find(
|
|
38641
|
-
(c2) => c2.type === "FOOTER"
|
|
38642
|
-
)) == null ? void 0 : _e2.text,
|
|
38643
|
-
category: data2.category
|
|
38644
|
-
};
|
|
38645
|
-
};
|
|
38646
|
-
const localToServer = (data2) => {
|
|
38647
|
-
const obj = {};
|
|
38648
|
-
obj.language = data2.language;
|
|
38649
|
-
if (data2.id)
|
|
38650
|
-
obj.id = data2.id;
|
|
38651
|
-
obj.name = data2.name;
|
|
38652
|
-
obj.components = [];
|
|
38653
|
-
obj.category = data2.category;
|
|
38654
|
-
if (data2.headerText) {
|
|
38655
|
-
obj.components.push({
|
|
38656
|
-
type: "HEADER",
|
|
38657
|
-
format: "TEXT",
|
|
38658
|
-
text: data2.headerText
|
|
38659
|
-
});
|
|
38660
|
-
}
|
|
38661
|
-
if (data2.bodyText) {
|
|
38662
|
-
const bodyComponent = { type: "BODY", text: data2.bodyText };
|
|
38663
|
-
if (data2.bodyExamples) {
|
|
38664
|
-
bodyComponent.example = { body_text: [data2.bodyExamples] };
|
|
38665
|
-
}
|
|
38666
|
-
obj.components.push(bodyComponent);
|
|
38667
|
-
}
|
|
38668
|
-
if (data2.footerText) {
|
|
38669
|
-
obj.components.push({ type: "FOOTER", text: data2.footerText });
|
|
38670
|
-
}
|
|
38671
|
-
return obj;
|
|
38672
|
-
};
|
|
38673
|
-
const loadTemplateData = async () => {
|
|
38674
|
-
const template_name = props2.route.params.id;
|
|
38675
|
-
if (template_name) {
|
|
38676
|
-
const res = await bagel.get(
|
|
38677
|
-
`communication/whatsapp/get_template_by_name/${template_name}`
|
|
38678
|
-
);
|
|
38679
|
-
localWhatsappData.value = serverToLocal(res.data[0]);
|
|
38680
|
-
}
|
|
38681
|
-
};
|
|
38682
|
-
const replaceHeader = (match2) => {
|
|
38683
|
-
var _a2, _b;
|
|
38684
|
-
const index2 = +match2[2];
|
|
38685
|
-
const example = (_b = (_a2 = localWhatsappData.value) == null ? void 0 : _a2.headerExamples) == null ? void 0 : _b[index2 - 1];
|
|
38686
|
-
return example || match2;
|
|
38687
|
-
};
|
|
38688
|
-
const replaceBody = (match2) => {
|
|
38689
|
-
var _a2, _b;
|
|
38690
|
-
const index2 = +match2[2];
|
|
38691
|
-
const example = (_b = (_a2 = localWhatsappData.value) == null ? void 0 : _a2.bodyExamples) == null ? void 0 : _b[index2 - 1];
|
|
38692
|
-
return example || match2;
|
|
38693
|
-
};
|
|
38694
|
-
const upsertTemplate = async () => {
|
|
38695
|
-
if (!localWhatsappData.value)
|
|
38696
|
-
return;
|
|
38697
|
-
const payload = localToServer(localWhatsappData.value);
|
|
38698
|
-
console.log(payload);
|
|
38699
|
-
if (payload.id) {
|
|
38700
|
-
await bagel.put(
|
|
38701
|
-
`communication/whatsapp/update_template/${payload.id}`,
|
|
38702
|
-
payload
|
|
38703
|
-
);
|
|
38704
|
-
} else {
|
|
38705
|
-
await bagel.post("communication/whatsapp/create_template", payload);
|
|
38706
|
-
void props2.router.push(`/whatsapp/template/${payload.name}`);
|
|
38707
|
-
}
|
|
38708
|
-
};
|
|
38709
|
-
vue.onMounted(loadTemplateData);
|
|
38710
|
-
return (_ctx, _cache) => {
|
|
38711
|
-
var _a2, _b, _c, _d, _e2, _f;
|
|
38712
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1, [
|
|
38713
|
-
vue.createVNode(vue.unref(_sfc_main$x), null, {
|
|
38714
|
-
default: vue.withCtx(() => [
|
|
38715
|
-
vue.createTextVNode("Whatsapp Template")
|
|
38716
|
-
]),
|
|
38717
|
-
_: 1
|
|
38718
|
-
}),
|
|
38719
|
-
vue.createElementVNode("div", _hoisted_2$1, [
|
|
38720
|
-
vue.createElementVNode("div", _hoisted_3, [
|
|
38721
|
-
vue.createElementVNode("div", _hoisted_4, [
|
|
38722
|
-
vue.createVNode(vue.unref(_sfc_main$j), {
|
|
38723
|
-
schema: _ctx.whatsappTemplateSchema,
|
|
38724
|
-
modelValue: vue.unref(localWhatsappData),
|
|
38725
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(localWhatsappData) ? localWhatsappData.value = $event : localWhatsappData = $event),
|
|
38726
|
-
onSubmit: upsertTemplate
|
|
38727
|
-
}, null, 8, ["schema", "modelValue"])
|
|
38728
|
-
]),
|
|
38729
|
-
vue.createElementVNode("div", {
|
|
38730
|
-
class: vue.normalizeClass(["whatsapp-preview", { whatsappHebrew: ((_a2 = vue.unref(localWhatsappData)) == null ? void 0 : _a2.language) === "he" }])
|
|
38731
|
-
}, [
|
|
38732
|
-
vue.createTextVNode(vue.toDisplayString(_ctx.previewLabel) + " ", 1),
|
|
38733
|
-
vue.createElementVNode("div", _hoisted_5, [
|
|
38734
|
-
vue.createElementVNode("b", null, vue.toDisplayString((_c = (_b = vue.unref(localWhatsappData)) == null ? void 0 : _b.headerText) == null ? void 0 : _c.replace(regex2, replaceHeader)), 1),
|
|
38735
|
-
vue.createElementVNode("p", _hoisted_6, vue.toDisplayString((_e2 = (_d = vue.unref(localWhatsappData)) == null ? void 0 : _d.bodyText) == null ? void 0 : _e2.replace(regex2, replaceBody)), 1),
|
|
38736
|
-
vue.createElementVNode("p", _hoisted_7, vue.toDisplayString((_f = vue.unref(localWhatsappData)) == null ? void 0 : _f.footerText), 1)
|
|
38737
|
-
])
|
|
38738
|
-
], 2)
|
|
38739
|
-
])
|
|
38740
|
-
])
|
|
38741
|
-
]);
|
|
38742
|
-
};
|
|
38743
|
-
}
|
|
38744
|
-
});
|
|
38745
|
-
const MsgTemplate = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-208db149"]]);
|
|
38746
|
-
const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
38747
|
-
__name: "TextVariableExamples",
|
|
38748
|
-
props: {
|
|
38749
|
-
context: Object
|
|
38750
|
-
},
|
|
38751
|
-
setup(__props) {
|
|
38752
|
-
const props2 = __props;
|
|
38753
|
-
const exampleEl = vue.ref();
|
|
38754
|
-
let boundValue = vue.ref();
|
|
38755
|
-
let boundNode = vue.ref();
|
|
38756
|
-
let val = vue.ref([]);
|
|
38757
|
-
const handleUpdate = (value, index2) => {
|
|
38758
|
-
var _a2, _b, _c;
|
|
38759
|
-
if (!boundValue.value)
|
|
38760
|
-
return;
|
|
38761
|
-
if (index2 > ((_a2 = val.value) == null ? void 0 : _a2.length))
|
|
38762
|
-
val.value = [...val.value, ...Array(index2 - val.value.length).fill(""), value];
|
|
38763
|
-
else
|
|
38764
|
-
(_b = val.value) == null ? void 0 : _b.splice(index2 - 1, 1, value);
|
|
38765
|
-
(_c = props2.context) == null ? void 0 : _c.node.input(val.value);
|
|
38766
|
-
};
|
|
38767
|
-
const extractVariables = (text) => {
|
|
38768
|
-
const matches2 = (text == null ? void 0 : text.match(/{{(\d+)}}/g)) || [];
|
|
38769
|
-
return matches2.map((match2) => +match2.match(/\d+/)[0]);
|
|
38770
|
-
};
|
|
38771
|
-
const txtType = vue.computed(() => {
|
|
38772
|
-
var _a2;
|
|
38773
|
-
return ((_a2 = props2.context) == null ? void 0 : _a2.id) === "bodyExamples" ? "bodyText" : "headerText";
|
|
38774
|
-
});
|
|
38775
|
-
const variables = vue.computed(() => {
|
|
38776
|
-
var _a2, _b;
|
|
38777
|
-
let vars = extractVariables(boundValue.value);
|
|
38778
|
-
if (txtType.value === "headerText")
|
|
38779
|
-
vars.slice(0, 1);
|
|
38780
|
-
const nonSequentialDigits = vars == null ? void 0 : vars.reduce((acc, currDigit, i2) => {
|
|
38781
|
-
const prevDigit = i2 > 0 ? vars[i2 - 1] : 0;
|
|
38782
|
-
if (currDigit - prevDigit !== 1) {
|
|
38783
|
-
acc.push(currDigit);
|
|
38784
|
-
}
|
|
38785
|
-
return acc;
|
|
38786
|
-
}, []);
|
|
38787
|
-
if (nonSequentialDigits == null ? void 0 : nonSequentialDigits.length) {
|
|
38788
|
-
const regex2 = new RegExp(nonSequentialDigits.map((d2) => `\\{\\{${d2}\\}\\}`).join("|"), "g");
|
|
38789
|
-
const newVal = `${boundValue.value}`.replace(regex2, "");
|
|
38790
|
-
void ((_a2 = boundNode.value) == null ? void 0 : _a2.input(newVal));
|
|
38791
|
-
vars = extractVariables(boundValue.value);
|
|
38792
|
-
}
|
|
38793
|
-
const parentEl2 = (_b = exampleEl.value) == null ? void 0 : _b.closest(".formkit-outer");
|
|
38794
|
-
if (!vars.length && parentEl2) {
|
|
38795
|
-
parentEl2.classList.add("hide");
|
|
38796
|
-
} else if (parentEl2) {
|
|
38797
|
-
parentEl2.classList.remove("hide");
|
|
38798
|
-
}
|
|
38799
|
-
return vars;
|
|
38800
|
-
});
|
|
38801
|
-
const setupListners = (node) => {
|
|
38802
|
-
node == null ? void 0 : node.on("input", (v2) => {
|
|
38803
|
-
boundValue.value = v2.payload;
|
|
38804
|
-
});
|
|
38805
|
-
};
|
|
38806
|
-
vue.onMounted(() => {
|
|
38807
|
-
var _a2;
|
|
38808
|
-
boundNode.value = (_a2 = props2.context) == null ? void 0 : _a2.node.parent.children.find((c2) => c2.name === txtType.value);
|
|
38809
|
-
setupListners(boundNode.value);
|
|
38810
|
-
});
|
|
38811
|
-
vue.watch(() => {
|
|
38812
|
-
var _a2;
|
|
38813
|
-
return (_a2 = props2.context) == null ? void 0 : _a2.value;
|
|
38814
|
-
}, (v2) => val.value = v2, { immediate: true });
|
|
38815
|
-
return (_ctx, _cache) => {
|
|
38816
|
-
return vue.openBlock(), vue.createElementBlock("div", {
|
|
38817
|
-
ref_key: "exampleEl",
|
|
38818
|
-
ref: exampleEl
|
|
38819
|
-
}, [
|
|
38820
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(variables.value, (v2) => {
|
|
38821
|
-
var _a2;
|
|
38822
|
-
return vue.openBlock(), vue.createBlock(vue.unref(TextInput), {
|
|
38823
|
-
key: v2,
|
|
38824
|
-
placeholder: `Variable ${v2}`,
|
|
38825
|
-
modelValue: (_a2 = vue.unref(val)) == null ? void 0 : _a2[v2 - 1],
|
|
38826
|
-
"onUpdate:modelValue": ($event) => handleUpdate($event, v2)
|
|
38827
|
-
}, null, 8, ["placeholder", "modelValue", "onUpdate:modelValue"]);
|
|
38828
|
-
}), 128))
|
|
38829
|
-
], 512);
|
|
38830
|
-
};
|
|
38831
|
-
}
|
|
38832
|
-
});
|
|
38833
38684
|
const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
38834
38685
|
__name: "Layout",
|
|
38835
38686
|
props: {
|
|
@@ -38901,10 +38752,10 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
38901
38752
|
return vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(Btn), {
|
|
38902
38753
|
key: i2,
|
|
38903
38754
|
to: nav2.to,
|
|
38904
|
-
class: "nav-button"
|
|
38755
|
+
class: "nav-button px-075"
|
|
38905
38756
|
}, {
|
|
38906
38757
|
default: vue.withCtx(() => [
|
|
38907
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
38758
|
+
vue.createVNode(vue.unref(_sfc_main$F), {
|
|
38908
38759
|
icon: nav2.icon,
|
|
38909
38760
|
size: 1.4
|
|
38910
38761
|
}, null, 8, ["icon"]),
|
|
@@ -38927,56 +38778,55 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
38927
38778
|
};
|
|
38928
38779
|
}
|
|
38929
38780
|
});
|
|
38930
|
-
const SidebarMenu = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
38931
|
-
exports.Accordion = _sfc_main$
|
|
38781
|
+
const SidebarMenu = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-8d6bd3d8"]]);
|
|
38782
|
+
exports.Accordion = _sfc_main$n;
|
|
38932
38783
|
exports.AccordionItem = AccordionItem;
|
|
38933
38784
|
exports.Alert = Alert;
|
|
38934
38785
|
exports.Avatar = Avatar;
|
|
38935
38786
|
exports.Badge = Badge;
|
|
38936
|
-
exports.BagelForm = _sfc_main$
|
|
38787
|
+
exports.BagelForm = _sfc_main$h;
|
|
38937
38788
|
exports.BagelVue = BagelVue;
|
|
38938
|
-
exports.BglField = _sfc_main$
|
|
38939
|
-
exports.BglForm = _sfc_main$
|
|
38789
|
+
exports.BglField = _sfc_main$g;
|
|
38790
|
+
exports.BglForm = _sfc_main$h;
|
|
38940
38791
|
exports.BglVideo = BglVideo;
|
|
38941
38792
|
exports.Btn = Btn;
|
|
38942
|
-
exports.Card = _sfc_main$
|
|
38793
|
+
exports.Card = _sfc_main$q;
|
|
38943
38794
|
exports.Carousel = Carousel;
|
|
38944
38795
|
exports.CheckInput = CheckInput;
|
|
38945
38796
|
exports.Checkbox = Checkbox;
|
|
38946
|
-
exports.ColorPicker = _sfc_main$
|
|
38797
|
+
exports.ColorPicker = _sfc_main$7;
|
|
38947
38798
|
exports.ComboBox = ComboBox;
|
|
38948
38799
|
exports.Comments = Comments;
|
|
38949
38800
|
exports.DataPreview = DataPreview;
|
|
38950
|
-
exports.DateInput = _sfc_main$
|
|
38951
|
-
exports.DatePicker = _sfc_main$
|
|
38801
|
+
exports.DateInput = _sfc_main$e;
|
|
38802
|
+
exports.DatePicker = _sfc_main$6;
|
|
38952
38803
|
exports.FileUpload = FileUpload;
|
|
38953
|
-
exports.Icon = _sfc_main$
|
|
38804
|
+
exports.Icon = _sfc_main$F;
|
|
38954
38805
|
exports.JSONInput = JSONInput;
|
|
38955
38806
|
exports.Layout = _sfc_main$1;
|
|
38956
|
-
exports.Lineart = _sfc_main$
|
|
38957
|
-
exports.ListItem = _sfc_main$
|
|
38958
|
-
exports.ListView = _sfc_main$
|
|
38959
|
-
exports.MaterialIcon = _sfc_main$
|
|
38960
|
-
exports.Modal = _sfc_main$
|
|
38807
|
+
exports.Lineart = _sfc_main$2;
|
|
38808
|
+
exports.ListItem = _sfc_main$y;
|
|
38809
|
+
exports.ListView = _sfc_main$z;
|
|
38810
|
+
exports.MaterialIcon = _sfc_main$F;
|
|
38811
|
+
exports.Modal = _sfc_main$C;
|
|
38961
38812
|
exports.ModalForm = ModalForm;
|
|
38962
38813
|
exports.ModalPlugin = ModalPlugin;
|
|
38963
|
-
exports.MsgTemplate = MsgTemplate;
|
|
38964
38814
|
exports.NavBar = NavBar;
|
|
38965
|
-
exports.PageTitle = _sfc_main$
|
|
38966
|
-
exports.RTXEditor = _sfc_main$
|
|
38815
|
+
exports.PageTitle = _sfc_main$v;
|
|
38816
|
+
exports.RTXEditor = _sfc_main$G;
|
|
38967
38817
|
exports.RadioPillsInput = RadioPillsInput;
|
|
38968
38818
|
exports.RichTextEditor = RichTextEditor;
|
|
38969
38819
|
exports.RouterWrapper = RouterWrapper;
|
|
38970
|
-
exports.SelectInput = _sfc_main$
|
|
38820
|
+
exports.SelectInput = _sfc_main$c;
|
|
38971
38821
|
exports.SidebarMenu = SidebarMenu;
|
|
38972
38822
|
exports.TabbedLayout = TabbedLayout;
|
|
38973
38823
|
exports.TableField = TableField;
|
|
38974
38824
|
exports.TableSchema = TableSchema;
|
|
38975
38825
|
exports.TextInput = TextInput;
|
|
38976
|
-
exports.
|
|
38977
|
-
exports.Title = _sfc_main$q;
|
|
38826
|
+
exports.Title = _sfc_main$o;
|
|
38978
38827
|
exports.ToggleInput = ToggleInput;
|
|
38979
38828
|
exports.TopBar = TopBar;
|
|
38829
|
+
exports.bagelFormUtils = BagelFormUtils;
|
|
38980
38830
|
exports.bagelInjectionKey = bagelInjectionKey;
|
|
38981
38831
|
exports.bindAttrs = bindAttrs;
|
|
38982
38832
|
exports.classify = classify;
|