@bagelink/vue 0.0.1000 → 0.0.1006
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/BglVideo.vue.d.ts +8 -1
- package/dist/components/BglVideo.vue.d.ts.map +1 -1
- package/dist/components/IframeVue.vue.d.ts +47 -0
- package/dist/components/IframeVue.vue.d.ts.map +1 -0
- package/dist/components/Image.vue.d.ts +5 -0
- package/dist/components/Image.vue.d.ts.map +1 -1
- package/dist/components/TableSchema.vue.d.ts.map +1 -1
- package/dist/components/form/BglField.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RichText/composables/useEditor.d.ts.map +1 -1
- package/dist/components/form/inputs/RichText/utils/media.d.ts.map +1 -1
- package/dist/components/form/inputs/SelectInput.vue.d.ts +23 -35
- package/dist/components/form/inputs/SelectInput.vue.d.ts.map +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/layout/SidebarMenu.vue.d.ts.map +1 -1
- package/dist/index.cjs +404 -275
- package/dist/index.mjs +404 -275
- package/dist/style.css +85 -85
- package/package.json +1 -2
- package/src/components/BglVideo.vue +33 -5
- package/src/components/IframeVue.vue +72 -0
- package/src/components/Image.vue +11 -6
- package/src/components/Pill.vue +2 -2
- package/src/components/TableSchema.vue +60 -71
- package/src/components/form/BglField.vue +2 -1
- package/src/components/form/inputs/RichText/composables/useEditor.ts +0 -1
- package/src/components/form/inputs/RichText/utils/media.ts +27 -5
- package/src/components/form/inputs/SelectInput.vue +9 -4
- package/src/components/index.ts +2 -1
- package/src/components/layout/SidebarMenu.vue +0 -1
package/dist/index.cjs
CHANGED
|
@@ -5,7 +5,43 @@ var __publicField2 = (obj, key, value) => __defNormalProp2(obj, typeof key !== "
|
|
|
5
5
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
6
6
|
const vue = require("vue");
|
|
7
7
|
const vueRouter = require("vue-router");
|
|
8
|
-
const
|
|
8
|
+
const bagelFormUtils = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9
|
+
__proto__: null,
|
|
10
|
+
get bglForm() {
|
|
11
|
+
return bglForm;
|
|
12
|
+
},
|
|
13
|
+
get checkField() {
|
|
14
|
+
return checkField;
|
|
15
|
+
},
|
|
16
|
+
get dateField() {
|
|
17
|
+
return dateField;
|
|
18
|
+
},
|
|
19
|
+
get findBglFieldById() {
|
|
20
|
+
return findBglFieldById;
|
|
21
|
+
},
|
|
22
|
+
get frmRow() {
|
|
23
|
+
return frmRow;
|
|
24
|
+
},
|
|
25
|
+
get getBaseField() {
|
|
26
|
+
return getBaseField;
|
|
27
|
+
},
|
|
28
|
+
get numField() {
|
|
29
|
+
return numField;
|
|
30
|
+
},
|
|
31
|
+
get richText() {
|
|
32
|
+
return richText;
|
|
33
|
+
},
|
|
34
|
+
get slctField() {
|
|
35
|
+
return slctField;
|
|
36
|
+
},
|
|
37
|
+
get telField() {
|
|
38
|
+
return telField;
|
|
39
|
+
},
|
|
40
|
+
get txtField() {
|
|
41
|
+
return txtField;
|
|
42
|
+
}
|
|
43
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
44
|
+
const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
|
|
9
45
|
__name: "Accordion",
|
|
10
46
|
setup(__props) {
|
|
11
47
|
const state2 = vue.reactive({
|
|
@@ -19,10 +55,10 @@ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
|
|
|
19
55
|
};
|
|
20
56
|
}
|
|
21
57
|
});
|
|
22
|
-
const _hoisted_1$
|
|
58
|
+
const _hoisted_1$P = ["aria-expanded", "aria-controls"];
|
|
23
59
|
const _hoisted_2$v = { class: "accordion-label" };
|
|
24
|
-
const _hoisted_3$
|
|
25
|
-
const _sfc_main
|
|
60
|
+
const _hoisted_3$p = ["id", "aria-hidden"];
|
|
61
|
+
const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
|
|
26
62
|
__name: "AccordionItem",
|
|
27
63
|
props: {
|
|
28
64
|
label: {},
|
|
@@ -96,7 +132,7 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
|
|
|
96
132
|
}, [
|
|
97
133
|
vue.createVNode(vue.unref(_sfc_main$c), { icon: computedIcon.value }, null, 8, ["icon"])
|
|
98
134
|
], 2)) : vue.createCommentVNode("", true)
|
|
99
|
-
], 8, _hoisted_1$
|
|
135
|
+
], 8, _hoisted_1$P),
|
|
100
136
|
vue.createVNode(vue.Transition, { name: "expand" }, {
|
|
101
137
|
default: vue.withCtx(() => [
|
|
102
138
|
vue.unref(isOpen) ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -106,7 +142,7 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
|
|
|
106
142
|
"aria-hidden": vue.unref(isOpen) ? "false" : "true"
|
|
107
143
|
}, [
|
|
108
144
|
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
109
|
-
], 8, _hoisted_3$
|
|
145
|
+
], 8, _hoisted_3$p)) : vue.createCommentVNode("", true)
|
|
110
146
|
]),
|
|
111
147
|
_: 3
|
|
112
148
|
})
|
|
@@ -121,9 +157,9 @@ const _export_sfc = (sfc, props2) => {
|
|
|
121
157
|
}
|
|
122
158
|
return target;
|
|
123
159
|
};
|
|
124
|
-
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
125
|
-
const _hoisted_1$
|
|
126
|
-
const _sfc_main
|
|
160
|
+
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__scopeId", "data-v-3a286d21"]]);
|
|
161
|
+
const _hoisted_1$O = { class: "relative" };
|
|
162
|
+
const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
|
|
127
163
|
__name: "AddressSearch",
|
|
128
164
|
emits: ["addressSelected"],
|
|
129
165
|
setup(__props, { emit: __emit }) {
|
|
@@ -145,8 +181,8 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
|
|
|
145
181
|
(_a2 = suggestion.value) == null ? void 0 : _a2.show();
|
|
146
182
|
}
|
|
147
183
|
return (_ctx, _cache) => {
|
|
148
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
149
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
184
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$O, [
|
|
185
|
+
vue.createVNode(vue.unref(_sfc_main$R), {
|
|
150
186
|
ref_key: "suggestion",
|
|
151
187
|
ref: suggestion,
|
|
152
188
|
noAutoFocus: true,
|
|
@@ -181,11 +217,11 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
|
|
|
181
217
|
};
|
|
182
218
|
}
|
|
183
219
|
});
|
|
184
|
-
const _hoisted_1$
|
|
220
|
+
const _hoisted_1$N = {
|
|
185
221
|
key: 1,
|
|
186
222
|
class: "bgl_btn-flex"
|
|
187
223
|
};
|
|
188
|
-
const _sfc_main$
|
|
224
|
+
const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
|
|
189
225
|
__name: "Btn",
|
|
190
226
|
props: {
|
|
191
227
|
disabled: { type: Boolean, default: false },
|
|
@@ -249,7 +285,7 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
|
|
|
249
285
|
_ctx.loading ? (vue.openBlock(), vue.createBlock(vue.unref(Loading), {
|
|
250
286
|
key: 0,
|
|
251
287
|
size: "15"
|
|
252
|
-
})) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
288
|
+
})) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$N, [
|
|
253
289
|
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$c), {
|
|
254
290
|
key: 0,
|
|
255
291
|
icon: _ctx.icon
|
|
@@ -271,10 +307,10 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
|
|
|
271
307
|
};
|
|
272
308
|
}
|
|
273
309
|
});
|
|
274
|
-
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
275
|
-
const _hoisted_1$
|
|
310
|
+
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-3c0720f5"]]);
|
|
311
|
+
const _hoisted_1$M = ["dismissable"];
|
|
276
312
|
const _hoisted_2$u = { class: "m-0" };
|
|
277
|
-
const _sfc_main$
|
|
313
|
+
const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
|
|
278
314
|
__name: "Alert",
|
|
279
315
|
props: {
|
|
280
316
|
message: {},
|
|
@@ -310,13 +346,13 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
|
|
|
310
346
|
icon: "close",
|
|
311
347
|
onClick: _cache[0] || (_cache[0] = ($event) => isDismissed.value = true)
|
|
312
348
|
})
|
|
313
|
-
], 10, _hoisted_1$
|
|
349
|
+
], 10, _hoisted_1$M)) : vue.createCommentVNode("", true);
|
|
314
350
|
};
|
|
315
351
|
}
|
|
316
352
|
});
|
|
317
|
-
const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
318
|
-
const _hoisted_1$
|
|
319
|
-
const _sfc_main$
|
|
353
|
+
const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-57141c32"]]);
|
|
354
|
+
const _hoisted_1$L = ["src", "alt"];
|
|
355
|
+
const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
|
|
320
356
|
__name: "Avatar",
|
|
321
357
|
props: {
|
|
322
358
|
fallback: {},
|
|
@@ -334,7 +370,7 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
|
|
|
334
370
|
key: 0,
|
|
335
371
|
src: _ctx.src,
|
|
336
372
|
alt: _ctx.name
|
|
337
|
-
}, null, 8, _hoisted_1$
|
|
373
|
+
}, null, 8, _hoisted_1$L)) : (vue.openBlock(), vue.createElementBlock("p", {
|
|
338
374
|
key: 1,
|
|
339
375
|
style: vue.normalizeStyle({ "line-height": `${_ctx.size}px`, "font-size": `calc(1.5rem * ${_ctx.size} / 50)` })
|
|
340
376
|
}, vue.toDisplayString((_ctx.fallback || vue.unref(initials)(_ctx.name || "")).toUpperCase()), 5))
|
|
@@ -342,8 +378,8 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
|
|
|
342
378
|
};
|
|
343
379
|
}
|
|
344
380
|
});
|
|
345
|
-
const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
346
|
-
const _sfc_main$
|
|
381
|
+
const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-46ad8c25"]]);
|
|
382
|
+
const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
|
|
347
383
|
__name: "Badge",
|
|
348
384
|
props: {
|
|
349
385
|
color: {},
|
|
@@ -372,10 +408,11 @@ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
|
|
|
372
408
|
};
|
|
373
409
|
}
|
|
374
410
|
});
|
|
375
|
-
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
376
|
-
const _hoisted_1$
|
|
377
|
-
const _hoisted_2$t = ["
|
|
378
|
-
const
|
|
411
|
+
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-2f3caf93"]]);
|
|
412
|
+
const _hoisted_1$K = ["src"];
|
|
413
|
+
const _hoisted_2$t = ["autoplay", "muted", "loop", "controls", "playsinline"];
|
|
414
|
+
const _hoisted_3$o = ["src", "type"];
|
|
415
|
+
const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
|
|
379
416
|
__name: "BglVideo",
|
|
380
417
|
props: {
|
|
381
418
|
src: {},
|
|
@@ -383,16 +420,36 @@ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
|
|
|
383
420
|
mute: { type: Boolean },
|
|
384
421
|
aspectRatio: {},
|
|
385
422
|
controls: { type: Boolean },
|
|
386
|
-
loop: { type: Boolean }
|
|
423
|
+
loop: { type: Boolean },
|
|
424
|
+
status: {},
|
|
425
|
+
playsinline: { type: Boolean }
|
|
387
426
|
},
|
|
388
|
-
setup(__props) {
|
|
427
|
+
setup(__props, { expose: __expose }) {
|
|
389
428
|
const props2 = __props;
|
|
429
|
+
const videoFormat = vue.computed(() => {
|
|
430
|
+
var _a2, _b, _c;
|
|
431
|
+
return ((_c = (_b = (_a2 = props2.src) == null ? void 0 : _a2.split(".").pop()) == null ? void 0 : _b.split("?").shift()) == null ? void 0 : _c.toLowerCase()) || "mp4";
|
|
432
|
+
});
|
|
390
433
|
const aspectRatio = vue.computed(
|
|
391
434
|
() => {
|
|
392
435
|
var _a2;
|
|
393
436
|
return ((_a2 = props2.aspectRatio) == null ? void 0 : _a2.replace(":", "/")) || "16/9";
|
|
394
437
|
}
|
|
395
438
|
);
|
|
439
|
+
const video = vue.ref();
|
|
440
|
+
function play() {
|
|
441
|
+
var _a2;
|
|
442
|
+
(_a2 = video.value) == null ? void 0 : _a2.play();
|
|
443
|
+
}
|
|
444
|
+
function pause() {
|
|
445
|
+
var _a2;
|
|
446
|
+
(_a2 = video.value) == null ? void 0 : _a2.pause();
|
|
447
|
+
}
|
|
448
|
+
vue.watch(() => props2.status, (status) => {
|
|
449
|
+
if (status === "play") play();
|
|
450
|
+
if (status === "pause") pause();
|
|
451
|
+
});
|
|
452
|
+
__expose({ play, pause });
|
|
396
453
|
const embedType = vue.computed(() => {
|
|
397
454
|
const youtubeRegex2 = /youtube\.com|youtu\.be/;
|
|
398
455
|
if (youtubeRegex2.test(props2.src || "")) return "YouTube";
|
|
@@ -405,7 +462,10 @@ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
|
|
|
405
462
|
if (embedType.value === "YouTube") {
|
|
406
463
|
const videoId = (_c = (_b = (_a2 = props2.src) == null ? void 0 : _a2.split(/v=|youtu\.be\//)[1]) == null ? void 0 : _b.split("&")) == null ? void 0 : _c[0];
|
|
407
464
|
const queryParams = new URLSearchParams({
|
|
408
|
-
autoplay: props2.autoplay ? "1" : "0"
|
|
465
|
+
autoplay: props2.autoplay ? "1" : "0",
|
|
466
|
+
controls: "0",
|
|
467
|
+
showinfo: "0",
|
|
468
|
+
modestbranding: "1"
|
|
409
469
|
});
|
|
410
470
|
return `https://www.youtube.com/embed/${videoId}?${queryParams}`;
|
|
411
471
|
}
|
|
@@ -429,26 +489,32 @@ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
|
|
|
429
489
|
allowfullscreen: "",
|
|
430
490
|
title: "Video",
|
|
431
491
|
allow: "autoplay"
|
|
432
|
-
}, null, 12, _hoisted_1$
|
|
492
|
+
}, null, 12, _hoisted_1$K)) : _ctx.src ? (vue.openBlock(), vue.createElementBlock("video", {
|
|
433
493
|
key: 1,
|
|
434
|
-
|
|
494
|
+
ref_key: "video",
|
|
495
|
+
ref: video,
|
|
435
496
|
autoplay: _ctx.autoplay,
|
|
436
497
|
muted: _ctx.mute,
|
|
437
498
|
loop: _ctx.loop,
|
|
438
499
|
style: vue.normalizeStyle({ aspectRatio: aspectRatio.value }),
|
|
439
500
|
controls: _ctx.controls,
|
|
440
|
-
playsinline:
|
|
441
|
-
},
|
|
501
|
+
playsinline: _ctx.playsinline
|
|
502
|
+
}, [
|
|
503
|
+
vue.createElementVNode("source", {
|
|
504
|
+
src: _ctx.src,
|
|
505
|
+
type: `video/${videoFormat.value}`
|
|
506
|
+
}, null, 8, _hoisted_3$o)
|
|
507
|
+
], 12, _hoisted_2$t)) : vue.createCommentVNode("", true)
|
|
442
508
|
], 2);
|
|
443
509
|
};
|
|
444
510
|
}
|
|
445
511
|
});
|
|
446
|
-
const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
447
|
-
const _hoisted_1$
|
|
512
|
+
const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-006552f6"]]);
|
|
513
|
+
const _hoisted_1$J = {
|
|
448
514
|
key: 0,
|
|
449
515
|
class: "card_label"
|
|
450
516
|
};
|
|
451
|
-
const _sfc_main$
|
|
517
|
+
const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
|
|
452
518
|
__name: "Card",
|
|
453
519
|
props: {
|
|
454
520
|
label: {},
|
|
@@ -477,7 +543,7 @@ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
|
|
|
477
543
|
}])
|
|
478
544
|
}, {
|
|
479
545
|
default: vue.withCtx(() => [
|
|
480
|
-
_ctx.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$
|
|
546
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$J, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
|
|
481
547
|
vue.renderSlot(_ctx.$slots, "default")
|
|
482
548
|
]),
|
|
483
549
|
_: 3
|
|
@@ -487,13 +553,13 @@ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
|
|
|
487
553
|
};
|
|
488
554
|
}
|
|
489
555
|
});
|
|
490
|
-
const _hoisted_1$
|
|
556
|
+
const _hoisted_1$I = ["dir"];
|
|
491
557
|
const _hoisted_2$s = {
|
|
492
558
|
key: 0,
|
|
493
559
|
class: "blocker"
|
|
494
560
|
};
|
|
495
561
|
const _hoisted_3$n = { class: "Handlers" };
|
|
496
|
-
const _sfc_main$
|
|
562
|
+
const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
|
|
497
563
|
__name: "Carousel",
|
|
498
564
|
props: {
|
|
499
565
|
autoHeight: { type: Boolean, default: false },
|
|
@@ -678,11 +744,11 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
|
|
|
678
744
|
}, void 0, true)
|
|
679
745
|
])
|
|
680
746
|
])
|
|
681
|
-
], 14, _hoisted_1$
|
|
747
|
+
], 14, _hoisted_1$I);
|
|
682
748
|
};
|
|
683
749
|
}
|
|
684
750
|
});
|
|
685
|
-
const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
751
|
+
const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-98e36ac5"]]);
|
|
686
752
|
function _isPlaceholder(a2) {
|
|
687
753
|
return a2 != null && typeof a2 === "object" && a2["@@functional/placeholder"] === true;
|
|
688
754
|
}
|
|
@@ -6626,13 +6692,13 @@ var script = vue.defineComponent({
|
|
|
6626
6692
|
return { bar, canvas, direction, mouse };
|
|
6627
6693
|
}
|
|
6628
6694
|
});
|
|
6629
|
-
const _hoisted_1$
|
|
6695
|
+
const _hoisted_1$H = {
|
|
6630
6696
|
key: 0,
|
|
6631
6697
|
class: "layer-hover-bar"
|
|
6632
6698
|
};
|
|
6633
6699
|
const _hoisted_2$r = ["x", "y", "width", "height"];
|
|
6634
6700
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6635
|
-
return _ctx.mouse.hover ? (vue.openBlock(), vue.createElementBlock("g", _hoisted_1$
|
|
6701
|
+
return _ctx.mouse.hover ? (vue.openBlock(), vue.createElementBlock("g", _hoisted_1$H, [
|
|
6636
6702
|
vue.createElementVNode("rect", vue.mergeProps({ class: "hover-bar" }, _ctx.barStyle, {
|
|
6637
6703
|
x: _ctx.bar.x,
|
|
6638
6704
|
y: _ctx.bar.y,
|
|
@@ -6644,7 +6710,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6644
6710
|
script.render = render;
|
|
6645
6711
|
script.__file = "src/components/HoverBar/index.vue";
|
|
6646
6712
|
const BRAND_COLOR = "var(--bgl-primary)";
|
|
6647
|
-
const _sfc_main$
|
|
6713
|
+
const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
|
|
6648
6714
|
__name: "Lineart",
|
|
6649
6715
|
props: {
|
|
6650
6716
|
data: {},
|
|
@@ -6784,7 +6850,7 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
|
|
|
6784
6850
|
};
|
|
6785
6851
|
}
|
|
6786
6852
|
});
|
|
6787
|
-
const _hoisted_1$
|
|
6853
|
+
const _hoisted_1$G = {
|
|
6788
6854
|
key: 0,
|
|
6789
6855
|
class: "data"
|
|
6790
6856
|
};
|
|
@@ -6805,7 +6871,7 @@ const _hoisted_9$3 = {
|
|
|
6805
6871
|
key: 0,
|
|
6806
6872
|
class: "m-0"
|
|
6807
6873
|
};
|
|
6808
|
-
const _sfc_main$
|
|
6874
|
+
const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
|
|
6809
6875
|
__name: "DataPreview",
|
|
6810
6876
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
6811
6877
|
showFields: {},
|
|
@@ -6841,7 +6907,7 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
|
6841
6907
|
const computedSchema = vue.computed(() => getFallbackSchema([itemData.value], props2.showFields));
|
|
6842
6908
|
return (_ctx, _cache) => {
|
|
6843
6909
|
var _a2;
|
|
6844
|
-
return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
6910
|
+
return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$G, [
|
|
6845
6911
|
_ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$3), {
|
|
6846
6912
|
key: 0,
|
|
6847
6913
|
label: _ctx.title
|
|
@@ -6854,7 +6920,7 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
|
6854
6920
|
vue.createElementVNode("div", _hoisted_3$l, [
|
|
6855
6921
|
vue.createElementVNode("p", _hoisted_4$d, vue.toDisplayString((field == null ? void 0 : field.label) || vue.unref(keyToLabel)(field.id)), 1)
|
|
6856
6922
|
]),
|
|
6857
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
6923
|
+
vue.createVNode(vue.unref(_sfc_main$O), {
|
|
6858
6924
|
modelValue: itemData.value,
|
|
6859
6925
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => itemData.value = $event),
|
|
6860
6926
|
label: "",
|
|
@@ -6883,7 +6949,7 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
|
6883
6949
|
};
|
|
6884
6950
|
}
|
|
6885
6951
|
});
|
|
6886
|
-
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6952
|
+
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-6c27f163"]]);
|
|
6887
6953
|
const sides = ["top", "right", "bottom", "left"];
|
|
6888
6954
|
const alignments = ["start", "end"];
|
|
6889
6955
|
const placements = /* @__PURE__ */ sides.reduce((acc, side) => acc.concat(side, side + "-" + alignments[0], side + "-" + alignments[1]), []);
|
|
@@ -7487,9 +7553,10 @@ async function convertValueToCoords(state2, options) {
|
|
|
7487
7553
|
crossAxis: 0,
|
|
7488
7554
|
alignmentAxis: null
|
|
7489
7555
|
} : {
|
|
7490
|
-
mainAxis:
|
|
7491
|
-
crossAxis:
|
|
7492
|
-
alignmentAxis:
|
|
7556
|
+
mainAxis: 0,
|
|
7557
|
+
crossAxis: 0,
|
|
7558
|
+
alignmentAxis: null,
|
|
7559
|
+
...rawValue
|
|
7493
7560
|
};
|
|
7494
7561
|
if (alignment && typeof alignmentAxis === "number") {
|
|
7495
7562
|
crossAxis = alignment === "end" ? alignmentAxis * -1 : alignmentAxis;
|
|
@@ -7594,11 +7661,7 @@ const shift = function(options) {
|
|
|
7594
7661
|
...limitedCoords,
|
|
7595
7662
|
data: {
|
|
7596
7663
|
x: limitedCoords.x - x2,
|
|
7597
|
-
y: limitedCoords.y - y2
|
|
7598
|
-
enabled: {
|
|
7599
|
-
[mainAxis]: checkMainAxis,
|
|
7600
|
-
[crossAxis]: checkCrossAxis
|
|
7601
|
-
}
|
|
7664
|
+
y: limitedCoords.y - y2
|
|
7602
7665
|
}
|
|
7603
7666
|
};
|
|
7604
7667
|
}
|
|
@@ -7612,7 +7675,6 @@ const size = function(options) {
|
|
|
7612
7675
|
name: "size",
|
|
7613
7676
|
options,
|
|
7614
7677
|
async fn(state2) {
|
|
7615
|
-
var _state$middlewareData, _state$middlewareData2;
|
|
7616
7678
|
const {
|
|
7617
7679
|
placement,
|
|
7618
7680
|
rects,
|
|
@@ -7648,11 +7710,10 @@ const size = function(options) {
|
|
|
7648
7710
|
const noShift = !state2.middlewareData.shift;
|
|
7649
7711
|
let availableHeight = overflowAvailableHeight;
|
|
7650
7712
|
let availableWidth = overflowAvailableWidth;
|
|
7651
|
-
if (
|
|
7652
|
-
availableWidth = maximumClippingWidth;
|
|
7653
|
-
}
|
|
7654
|
-
|
|
7655
|
-
availableHeight = maximumClippingHeight;
|
|
7713
|
+
if (isYAxis) {
|
|
7714
|
+
availableWidth = alignment || noShift ? min(overflowAvailableWidth, maximumClippingWidth) : maximumClippingWidth;
|
|
7715
|
+
} else {
|
|
7716
|
+
availableHeight = alignment || noShift ? min(overflowAvailableHeight, maximumClippingHeight) : maximumClippingHeight;
|
|
7656
7717
|
}
|
|
7657
7718
|
if (noShift && !alignment) {
|
|
7658
7719
|
const xMin = max(overflow.left, 0);
|
|
@@ -9430,7 +9491,7 @@ const Gt$1 = {
|
|
|
9430
9491
|
install: Ct$1,
|
|
9431
9492
|
options: h
|
|
9432
9493
|
};
|
|
9433
|
-
const _sfc_main$
|
|
9494
|
+
const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
9434
9495
|
__name: "Dropdown",
|
|
9435
9496
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
9436
9497
|
value: {},
|
|
@@ -9501,7 +9562,7 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
|
|
|
9501
9562
|
};
|
|
9502
9563
|
}
|
|
9503
9564
|
});
|
|
9504
|
-
const _sfc_main$
|
|
9565
|
+
const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
|
|
9505
9566
|
__name: "Flag",
|
|
9506
9567
|
props: {
|
|
9507
9568
|
country: {},
|
|
@@ -9531,7 +9592,7 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
|
9531
9592
|
};
|
|
9532
9593
|
}
|
|
9533
9594
|
});
|
|
9534
|
-
const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9595
|
+
const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-f99f1900"]]);
|
|
9535
9596
|
const state$1 = vue.reactive(/* @__PURE__ */ new Map());
|
|
9536
9597
|
function useTabs(group) {
|
|
9537
9598
|
if (!state$1.has(group)) {
|
|
@@ -9545,8 +9606,8 @@ function useTabs(group) {
|
|
|
9545
9606
|
});
|
|
9546
9607
|
return { currentTab };
|
|
9547
9608
|
}
|
|
9548
|
-
const _hoisted_1$
|
|
9549
|
-
const _sfc_main$
|
|
9609
|
+
const _hoisted_1$F = ["onClick"];
|
|
9610
|
+
const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
9550
9611
|
__name: "TabsNav",
|
|
9551
9612
|
props: {
|
|
9552
9613
|
title: {},
|
|
@@ -9625,14 +9686,14 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
|
|
|
9625
9686
|
icon: tab.icon
|
|
9626
9687
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
9627
9688
|
vue.createTextVNode(" " + vue.toDisplayString(tabLabel(tab)), 1)
|
|
9628
|
-
], 10, _hoisted_1$
|
|
9689
|
+
], 10, _hoisted_1$F);
|
|
9629
9690
|
}), 128))
|
|
9630
9691
|
], 2);
|
|
9631
9692
|
};
|
|
9632
9693
|
}
|
|
9633
9694
|
});
|
|
9634
|
-
const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9635
|
-
const _sfc_main$
|
|
9695
|
+
const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-90649f98"]]);
|
|
9696
|
+
const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
|
|
9636
9697
|
__name: "BglField",
|
|
9637
9698
|
props: {
|
|
9638
9699
|
field: {},
|
|
@@ -9654,7 +9715,7 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
|
9654
9715
|
if (props2.field.$el === "check") return CheckInput;
|
|
9655
9716
|
if (props2.field.$el === "richtext") return RichText;
|
|
9656
9717
|
if (props2.field.$el === "file") return FileUpload;
|
|
9657
|
-
if (props2.field.$el === "date") return _sfc_main$
|
|
9718
|
+
if (props2.field.$el === "date") return _sfc_main$H;
|
|
9658
9719
|
if (props2.field.$el === "tabs") return TabsNav;
|
|
9659
9720
|
return props2.field.$el ?? "div";
|
|
9660
9721
|
});
|
|
@@ -9679,6 +9740,7 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
|
9679
9740
|
return data2;
|
|
9680
9741
|
}
|
|
9681
9742
|
function getFieldData(obj, key) {
|
|
9743
|
+
if (typeof obj !== "object" || obj === null) return obj;
|
|
9682
9744
|
const keys4 = key.split(objPathRegex);
|
|
9683
9745
|
let result2 = obj;
|
|
9684
9746
|
for (const k2 of keys4) {
|
|
@@ -9765,7 +9827,7 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
|
9765
9827
|
};
|
|
9766
9828
|
}
|
|
9767
9829
|
});
|
|
9768
|
-
const _sfc_main$
|
|
9830
|
+
const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
9769
9831
|
__name: "BglForm",
|
|
9770
9832
|
props: {
|
|
9771
9833
|
label: {},
|
|
@@ -9863,7 +9925,7 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
|
9863
9925
|
label: _ctx.label
|
|
9864
9926
|
}, null, 8, ["label"])) : vue.createCommentVNode("", true),
|
|
9865
9927
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(computedSchema.value, (field, i2) => {
|
|
9866
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
9928
|
+
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$O), {
|
|
9867
9929
|
key: field.id || `${i2}p`,
|
|
9868
9930
|
modelValue: vue.unref(data2),
|
|
9869
9931
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(data2) ? data2.value = $event : data2 = $event),
|
|
@@ -9887,7 +9949,7 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
|
9887
9949
|
label: _ctx.label
|
|
9888
9950
|
}, null, 8, ["label"])) : vue.createCommentVNode("", true),
|
|
9889
9951
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(computedSchema.value, (field, i2) => {
|
|
9890
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
9952
|
+
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$O), {
|
|
9891
9953
|
key: field.id || `${i2}p`,
|
|
9892
9954
|
modelValue: vue.unref(data2),
|
|
9893
9955
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(data2) ? data2.value = $event : data2 = $event),
|
|
@@ -9906,8 +9968,8 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
|
9906
9968
|
};
|
|
9907
9969
|
}
|
|
9908
9970
|
});
|
|
9909
|
-
const _hoisted_1$
|
|
9910
|
-
const _sfc_main$
|
|
9971
|
+
const _hoisted_1$E = { key: 0 };
|
|
9972
|
+
const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
9911
9973
|
__name: "BglMultiStepForm",
|
|
9912
9974
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
9913
9975
|
bagelFormProps: { default: () => ({}) },
|
|
@@ -9974,8 +10036,8 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
|
9974
10036
|
mode: "out-in"
|
|
9975
10037
|
}, {
|
|
9976
10038
|
default: vue.withCtx(() => [
|
|
9977
|
-
!vue.unref(isStepping) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
9978
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
10039
|
+
!vue.unref(isStepping) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$E, [
|
|
10040
|
+
vue.createVNode(vue.unref(_sfc_main$N), vue.mergeProps({
|
|
9979
10041
|
ref_key: "formRef",
|
|
9980
10042
|
ref: formRef,
|
|
9981
10043
|
modelValue: formData.value,
|
|
@@ -10014,8 +10076,8 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
|
10014
10076
|
};
|
|
10015
10077
|
}
|
|
10016
10078
|
});
|
|
10017
|
-
const _hoisted_1$
|
|
10018
|
-
const _sfc_main$
|
|
10079
|
+
const _hoisted_1$D = { class: "primary-checkbox" };
|
|
10080
|
+
const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
10019
10081
|
__name: "Checkbox",
|
|
10020
10082
|
props: {
|
|
10021
10083
|
"modelValue": { type: Boolean, ...{ default: false } },
|
|
@@ -10025,7 +10087,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
|
10025
10087
|
setup(__props) {
|
|
10026
10088
|
const val = vue.useModel(__props, "modelValue");
|
|
10027
10089
|
return (_ctx, _cache) => {
|
|
10028
|
-
return vue.openBlock(), vue.createElementBlock("label", _hoisted_1$
|
|
10090
|
+
return vue.openBlock(), vue.createElementBlock("label", _hoisted_1$D, [
|
|
10029
10091
|
vue.renderSlot(_ctx.$slots, "label", {}, void 0, true),
|
|
10030
10092
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
10031
10093
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => val.value = $event),
|
|
@@ -10037,11 +10099,11 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
|
10037
10099
|
};
|
|
10038
10100
|
}
|
|
10039
10101
|
});
|
|
10040
|
-
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10041
|
-
const _hoisted_1$
|
|
10102
|
+
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-73f1d9ad"]]);
|
|
10103
|
+
const _hoisted_1$C = ["title"];
|
|
10042
10104
|
const _hoisted_2$p = ["id", "value", "required"];
|
|
10043
10105
|
const _hoisted_3$k = ["for"];
|
|
10044
|
-
const _sfc_main$
|
|
10106
|
+
const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
10045
10107
|
__name: "CheckInput",
|
|
10046
10108
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
10047
10109
|
label: {},
|
|
@@ -10083,19 +10145,19 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
|
10083
10145
|
vue.createTextVNode(vue.toDisplayString(_ctx.label), 1)
|
|
10084
10146
|
], true)
|
|
10085
10147
|
], 8, _hoisted_3$k)
|
|
10086
|
-
], 10, _hoisted_1$
|
|
10148
|
+
], 10, _hoisted_1$C);
|
|
10087
10149
|
};
|
|
10088
10150
|
}
|
|
10089
10151
|
});
|
|
10090
|
-
const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10091
|
-
const _hoisted_1$
|
|
10152
|
+
const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-03ed2982"]]);
|
|
10153
|
+
const _hoisted_1$B = {
|
|
10092
10154
|
key: 0,
|
|
10093
10155
|
class: "code-editor-wrap grid rounded p-1 overflow hm-300px"
|
|
10094
10156
|
};
|
|
10095
10157
|
const _hoisted_2$o = { class: "overflow-hidden absolute inset-0 p-0 m-0 h-100 codeText" };
|
|
10096
10158
|
const _hoisted_3$j = ["innerHTML"];
|
|
10097
10159
|
const _hoisted_4$c = ["onKeydown"];
|
|
10098
|
-
const _sfc_main$
|
|
10160
|
+
const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
10099
10161
|
__name: "Index",
|
|
10100
10162
|
props: {
|
|
10101
10163
|
language: {},
|
|
@@ -10175,7 +10237,7 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
|
10175
10237
|
}
|
|
10176
10238
|
}, { immediate: true });
|
|
10177
10239
|
return (_ctx, _cache) => {
|
|
10178
|
-
return vue.unref(loaded) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
10240
|
+
return vue.unref(loaded) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$B, [
|
|
10179
10241
|
vue.createElementVNode("div", {
|
|
10180
10242
|
class: "relative block h-100",
|
|
10181
10243
|
style: vue.normalizeStyle({ height: vue.unref(height) })
|
|
@@ -10208,10 +10270,10 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
|
10208
10270
|
};
|
|
10209
10271
|
}
|
|
10210
10272
|
});
|
|
10211
|
-
const CodeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10212
|
-
const _hoisted_1$
|
|
10273
|
+
const CodeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-4f1dc18a"]]);
|
|
10274
|
+
const _hoisted_1$A = ["title"];
|
|
10213
10275
|
const _hoisted_2$n = ["id", "placeholder", "required"];
|
|
10214
|
-
const _sfc_main$
|
|
10276
|
+
const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
10215
10277
|
__name: "ColorPicker",
|
|
10216
10278
|
props: {
|
|
10217
10279
|
label: {},
|
|
@@ -10253,7 +10315,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
10253
10315
|
[vue.vModelText, inputVal.value]
|
|
10254
10316
|
])
|
|
10255
10317
|
])
|
|
10256
|
-
], 10, _hoisted_1$
|
|
10318
|
+
], 10, _hoisted_1$A)) : vue.createCommentVNode("", true);
|
|
10257
10319
|
};
|
|
10258
10320
|
}
|
|
10259
10321
|
});
|
|
@@ -18811,9 +18873,9 @@ const eo = ({
|
|
|
18811
18873
|
Object.entries(go).forEach(([e, t]) => {
|
|
18812
18874
|
e !== "default" && (Hn[e] = t);
|
|
18813
18875
|
});
|
|
18814
|
-
const _hoisted_1$
|
|
18876
|
+
const _hoisted_1$z = ["title"];
|
|
18815
18877
|
const _hoisted_2$m = { key: 0 };
|
|
18816
|
-
const _sfc_main$
|
|
18878
|
+
const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
18817
18879
|
__name: "DateInput",
|
|
18818
18880
|
props: {
|
|
18819
18881
|
required: { type: Boolean },
|
|
@@ -18871,11 +18933,11 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
|
18871
18933
|
"minutes-grid-increment": _ctx.minutesGridIncrement,
|
|
18872
18934
|
"start-time": { hours: 8, minutes: 0 }
|
|
18873
18935
|
}), null, 16, ["modelValue", "required", "enable-time-picker", "allowed-dates", "time-picker-inline", "minutes-increment", "minutes-grid-increment"])
|
|
18874
|
-
], 10, _hoisted_1$
|
|
18936
|
+
], 10, _hoisted_1$z);
|
|
18875
18937
|
};
|
|
18876
18938
|
}
|
|
18877
18939
|
});
|
|
18878
|
-
const _hoisted_1$
|
|
18940
|
+
const _hoisted_1$y = { class: "datetime-wrap" };
|
|
18879
18941
|
const _hoisted_2$l = { class: "date-wrap" };
|
|
18880
18942
|
const _hoisted_3$i = {
|
|
18881
18943
|
key: 0,
|
|
@@ -18883,7 +18945,7 @@ const _hoisted_3$i = {
|
|
|
18883
18945
|
};
|
|
18884
18946
|
const _hoisted_4$b = ["id", "name", "value"];
|
|
18885
18947
|
const _hoisted_5$b = ["for"];
|
|
18886
|
-
const _sfc_main$
|
|
18948
|
+
const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
18887
18949
|
__name: "DatePicker",
|
|
18888
18950
|
props: {
|
|
18889
18951
|
label: {},
|
|
@@ -18911,7 +18973,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
|
18911
18973
|
return `${hour}:${minute}`;
|
|
18912
18974
|
});
|
|
18913
18975
|
return (_ctx, _cache) => {
|
|
18914
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
18976
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$y, [
|
|
18915
18977
|
vue.createElementVNode("div", _hoisted_2$l, [
|
|
18916
18978
|
vue.createVNode(vue.unref(Hn), vue.mergeProps({
|
|
18917
18979
|
modelValue: selectedDate.value,
|
|
@@ -18952,8 +19014,8 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
|
18952
19014
|
};
|
|
18953
19015
|
}
|
|
18954
19016
|
});
|
|
18955
|
-
const _hoisted_1$
|
|
18956
|
-
const _sfc_main$
|
|
19017
|
+
const _hoisted_1$x = ["src", "alt", "width", "height"];
|
|
19018
|
+
const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
18957
19019
|
__name: "Image",
|
|
18958
19020
|
props: {
|
|
18959
19021
|
src: {},
|
|
@@ -18987,10 +19049,10 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
|
18987
19049
|
}
|
|
18988
19050
|
}
|
|
18989
19051
|
try {
|
|
19052
|
+
await appendScript("https://cdnjs.cloudflare.com/ajax/libs/heic2any/0.0.1/index.min.js");
|
|
18990
19053
|
const response = await fetch(src);
|
|
18991
19054
|
const blob = await response.blob();
|
|
18992
|
-
const
|
|
18993
|
-
const convertedBlob = await heic2any({ blob });
|
|
19055
|
+
const convertedBlob = await window.heic2any({ blob });
|
|
18994
19056
|
imageSrc.value = URL.createObjectURL(convertedBlob);
|
|
18995
19057
|
if ("caches" in window) {
|
|
18996
19058
|
try {
|
|
@@ -19016,7 +19078,7 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
|
19016
19078
|
alt: _ctx.alt,
|
|
19017
19079
|
width: vue.unref(normalizeDimension)(_ctx.width),
|
|
19018
19080
|
height: vue.unref(normalizeDimension)(_ctx.height)
|
|
19019
|
-
}), null, 16, _hoisted_1$
|
|
19081
|
+
}), null, 16, _hoisted_1$x)) : (vue.openBlock(), vue.createBlock(vue.unref(Skeleton), {
|
|
19020
19082
|
key: 1,
|
|
19021
19083
|
class: "img-web-kit",
|
|
19022
19084
|
width: vue.unref(normalizeDimension)(_ctx.width),
|
|
@@ -19025,8 +19087,8 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
|
19025
19087
|
};
|
|
19026
19088
|
}
|
|
19027
19089
|
});
|
|
19028
|
-
const Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19029
|
-
const _hoisted_1$
|
|
19090
|
+
const Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-a96b25a8"]]);
|
|
19091
|
+
const _hoisted_1$w = { class: "bagel-input" };
|
|
19030
19092
|
const _hoisted_2$k = {
|
|
19031
19093
|
key: 0,
|
|
19032
19094
|
placeholder: "required",
|
|
@@ -19064,7 +19126,7 @@ const _hoisted_13$1 = {
|
|
|
19064
19126
|
class: "progress"
|
|
19065
19127
|
};
|
|
19066
19128
|
const _hoisted_14 = { class: "p-1 flex column hover fileUploadPlaceHolder justify-content-center mb-05" };
|
|
19067
|
-
const _sfc_main$
|
|
19129
|
+
const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
19068
19130
|
__name: "FileUpload",
|
|
19069
19131
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
19070
19132
|
label: {},
|
|
@@ -19238,10 +19300,10 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
19238
19300
|
return (_ctx, _cache) => {
|
|
19239
19301
|
const _directive_tooltip = vue.resolveDirective("tooltip");
|
|
19240
19302
|
const _directive_lightbox = vue.resolveDirective("lightbox");
|
|
19241
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
19303
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$w, [
|
|
19242
19304
|
vue.createElementVNode("label", null, vue.toDisplayString(_ctx.label), 1),
|
|
19243
19305
|
_ctx.required && !storageFiles.value.length ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_2$k)) : vue.createCommentVNode("", true),
|
|
19244
|
-
_ctx.theme === "basic" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
19306
|
+
_ctx.theme === "basic" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$V), {
|
|
19245
19307
|
key: 1,
|
|
19246
19308
|
outline: "",
|
|
19247
19309
|
class: "flex p-05 gap-1",
|
|
@@ -19486,11 +19548,11 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
19486
19548
|
};
|
|
19487
19549
|
}
|
|
19488
19550
|
});
|
|
19489
|
-
const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19490
|
-
const _hoisted_1$
|
|
19551
|
+
const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-6bfdaea2"]]);
|
|
19552
|
+
const _hoisted_1$v = ["title"];
|
|
19491
19553
|
const _hoisted_2$j = { key: 0 };
|
|
19492
19554
|
const _hoisted_3$g = ["value", "placeholder"];
|
|
19493
|
-
const _sfc_main$
|
|
19555
|
+
const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
19494
19556
|
__name: "JSONInput",
|
|
19495
19557
|
props: {
|
|
19496
19558
|
description: { default: "" },
|
|
@@ -19522,13 +19584,13 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
|
19522
19584
|
placeholder: _ctx.placeholder,
|
|
19523
19585
|
onInput: handleInput
|
|
19524
19586
|
}, null, 42, _hoisted_3$g)
|
|
19525
|
-
], 10, _hoisted_1$
|
|
19587
|
+
], 10, _hoisted_1$v);
|
|
19526
19588
|
};
|
|
19527
19589
|
}
|
|
19528
19590
|
});
|
|
19529
|
-
const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19530
|
-
const _hoisted_1$
|
|
19531
|
-
const _sfc_main$
|
|
19591
|
+
const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-1cbaeab2"]]);
|
|
19592
|
+
const _hoisted_1$u = ["value", "autofocus", "onKeydown", "onPaste"];
|
|
19593
|
+
const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
19532
19594
|
__name: "OTP",
|
|
19533
19595
|
props: {
|
|
19534
19596
|
digitCount: {},
|
|
@@ -19626,14 +19688,14 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
|
19626
19688
|
oninput: "this.value = this.value.slice(0, 1);",
|
|
19627
19689
|
onKeydown: ($event) => handleKeyDown($event, ind),
|
|
19628
19690
|
onPaste: ($event) => handlePaste($event, ind)
|
|
19629
|
-
}, null, 40, _hoisted_1$
|
|
19691
|
+
}, null, 40, _hoisted_1$u);
|
|
19630
19692
|
}), 128))
|
|
19631
19693
|
], 512);
|
|
19632
19694
|
};
|
|
19633
19695
|
}
|
|
19634
19696
|
});
|
|
19635
|
-
const OTP = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19636
|
-
const _sfc_main$
|
|
19697
|
+
const OTP = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-5c22c199"]]);
|
|
19698
|
+
const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
19637
19699
|
__name: "PasswordInput",
|
|
19638
19700
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
19639
19701
|
id: {},
|
|
@@ -19696,7 +19758,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
19696
19758
|
};
|
|
19697
19759
|
}
|
|
19698
19760
|
});
|
|
19699
|
-
const _hoisted_1$
|
|
19761
|
+
const _hoisted_1$t = ["for"];
|
|
19700
19762
|
const _hoisted_2$i = ["id", "name", "value"];
|
|
19701
19763
|
const _hoisted_3$f = { class: "flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025" };
|
|
19702
19764
|
const _hoisted_4$9 = ["src", "alt"];
|
|
@@ -19709,7 +19771,7 @@ const _hoisted_7$4 = {
|
|
|
19709
19771
|
key: 1,
|
|
19710
19772
|
class: "txt-gray txt-12 m-0"
|
|
19711
19773
|
};
|
|
19712
|
-
const _sfc_main$
|
|
19774
|
+
const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
19713
19775
|
__name: "RadioGroup",
|
|
19714
19776
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
19715
19777
|
groupName: {},
|
|
@@ -19762,19 +19824,19 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
|
19762
19824
|
icon: "delete",
|
|
19763
19825
|
onClick: ($event) => _ctx.$emit("delete", opt)
|
|
19764
19826
|
}, null, 8, ["onClick"])) : vue.createCommentVNode("", true)
|
|
19765
|
-
], 8, _hoisted_1$
|
|
19827
|
+
], 8, _hoisted_1$t);
|
|
19766
19828
|
}), 128))
|
|
19767
19829
|
]);
|
|
19768
19830
|
};
|
|
19769
19831
|
}
|
|
19770
19832
|
});
|
|
19771
|
-
const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19772
|
-
const _hoisted_1$
|
|
19833
|
+
const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-3e9e030f"]]);
|
|
19834
|
+
const _hoisted_1$s = { class: "bagel-input" };
|
|
19773
19835
|
const _hoisted_2$h = { class: "pb-025" };
|
|
19774
19836
|
const _hoisted_3$e = { class: "flex gap-05 flex-wrap" };
|
|
19775
19837
|
const _hoisted_4$8 = ["id", "name", "value", "checked"];
|
|
19776
19838
|
const _hoisted_5$8 = ["for"];
|
|
19777
|
-
const _sfc_main$
|
|
19839
|
+
const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
19778
19840
|
__name: "RadioPillsInput",
|
|
19779
19841
|
props: {
|
|
19780
19842
|
options: {},
|
|
@@ -19815,7 +19877,7 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
|
19815
19877
|
selectedValue.value = props2.modelValue;
|
|
19816
19878
|
});
|
|
19817
19879
|
return (_ctx, _cache) => {
|
|
19818
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
19880
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$s, [
|
|
19819
19881
|
vue.createElementVNode("label", _hoisted_2$h, vue.toDisplayString(_ctx.label), 1),
|
|
19820
19882
|
vue.createElementVNode("div", _hoisted_3$e, [
|
|
19821
19883
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.options, (option2, index2) => {
|
|
@@ -19841,11 +19903,11 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
|
19841
19903
|
};
|
|
19842
19904
|
}
|
|
19843
19905
|
});
|
|
19844
|
-
const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19845
|
-
const _hoisted_1$
|
|
19906
|
+
const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-cf892d71"]]);
|
|
19907
|
+
const _hoisted_1$r = { key: 0 };
|
|
19846
19908
|
const _hoisted_2$g = ["id", "disabled", "max", "min", "step", "required", "name"];
|
|
19847
19909
|
const _hoisted_3$d = { key: 1 };
|
|
19848
|
-
const _sfc_main$
|
|
19910
|
+
const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
19849
19911
|
__name: "RangeInput",
|
|
19850
19912
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
19851
19913
|
min: {},
|
|
@@ -19889,7 +19951,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
19889
19951
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
19890
19952
|
class: vue.normalizeClass(["flex gap-1 align-center range-slide", { disabled: _ctx.disabled }])
|
|
19891
19953
|
}, [
|
|
19892
|
-
_ctx.min !== void 0 ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_1$
|
|
19954
|
+
_ctx.min !== void 0 ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_1$r, vue.toDisplayString(_ctx.min), 1)) : vue.createCommentVNode("", true),
|
|
19893
19955
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
19894
19956
|
id: _ctx.id,
|
|
19895
19957
|
ref_key: "range",
|
|
@@ -19911,7 +19973,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
19911
19973
|
};
|
|
19912
19974
|
}
|
|
19913
19975
|
});
|
|
19914
|
-
const RangeInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19976
|
+
const RangeInput = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-ded4d62d"]]);
|
|
19915
19977
|
const defaultToolbarConfig = [
|
|
19916
19978
|
"h2",
|
|
19917
19979
|
"h3",
|
|
@@ -19978,12 +20040,12 @@ const toolbarOptions = [
|
|
|
19978
20040
|
{ name: "separator" },
|
|
19979
20041
|
{ name: "fullScreen", label: "Full Screen", icon: "fullscreen", class: "ms-auto" }
|
|
19980
20042
|
];
|
|
19981
|
-
const _hoisted_1$
|
|
20043
|
+
const _hoisted_1$q = { class: "grid grid-wrap p-05" };
|
|
19982
20044
|
const _hoisted_2$f = ["onMousemove", "onClick"];
|
|
19983
20045
|
const _hoisted_3$c = { class: "txt-center txt-12 color-gray" };
|
|
19984
20046
|
const fb = 1;
|
|
19985
20047
|
const base = 5;
|
|
19986
|
-
const _sfc_main$
|
|
20048
|
+
const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
19987
20049
|
__name: "gridBox",
|
|
19988
20050
|
emits: ["select"],
|
|
19989
20051
|
setup(__props, { emit: __emit }) {
|
|
@@ -19999,7 +20061,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
19999
20061
|
return hoveredCol.value > base - 1 ? enlarge : base;
|
|
20000
20062
|
});
|
|
20001
20063
|
return (_ctx, _cache) => {
|
|
20002
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
20064
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$q, [
|
|
20003
20065
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(rowSize.value, (row) => {
|
|
20004
20066
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
20005
20067
|
key: `row-${row}`,
|
|
@@ -20035,12 +20097,12 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
20035
20097
|
};
|
|
20036
20098
|
}
|
|
20037
20099
|
});
|
|
20038
|
-
const GridBox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20039
|
-
const _hoisted_1$
|
|
20100
|
+
const GridBox = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-4548b70f"]]);
|
|
20101
|
+
const _hoisted_1$p = {
|
|
20040
20102
|
class: "toolbar flex gap-025 pb-05 flex-wrap",
|
|
20041
20103
|
role: "toolbar"
|
|
20042
20104
|
};
|
|
20043
|
-
const _sfc_main$
|
|
20105
|
+
const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
20044
20106
|
__name: "Toolbar",
|
|
20045
20107
|
props: {
|
|
20046
20108
|
config: { default: defaultToolbarConfig },
|
|
@@ -20055,10 +20117,10 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
|
20055
20117
|
}
|
|
20056
20118
|
return (_ctx, _cache) => {
|
|
20057
20119
|
const _directive_tooltip = vue.resolveDirective("tooltip");
|
|
20058
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
20120
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$p, [
|
|
20059
20121
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.config.map(configToOption).filter(Boolean), (action, index2) => {
|
|
20060
20122
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: index2 }, [
|
|
20061
|
-
action.name === "insertTable" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
20123
|
+
action.name === "insertTable" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$R), {
|
|
20062
20124
|
key: 0,
|
|
20063
20125
|
placement: "bottom-start",
|
|
20064
20126
|
thin: "",
|
|
@@ -20097,7 +20159,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
|
20097
20159
|
};
|
|
20098
20160
|
}
|
|
20099
20161
|
});
|
|
20100
|
-
const Toolbar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20162
|
+
const Toolbar = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-9688758a"]]);
|
|
20101
20163
|
function formatting(state2) {
|
|
20102
20164
|
const { doc, range: range2, selection } = state2;
|
|
20103
20165
|
function setRangeAndSelect(node, start, end) {
|
|
@@ -20361,6 +20423,7 @@ function formatting(state2) {
|
|
|
20361
20423
|
};
|
|
20362
20424
|
return { text, block, list, clear };
|
|
20363
20425
|
}
|
|
20426
|
+
const { frmRow: frmRow$1, numField: numField$1 } = bagelFormUtils;
|
|
20364
20427
|
function insertImage(modal, state2) {
|
|
20365
20428
|
const { range: range2, doc } = state2;
|
|
20366
20429
|
if (!range2 || !doc) return;
|
|
@@ -20368,15 +20431,31 @@ function insertImage(modal, state2) {
|
|
|
20368
20431
|
title: "Upload Image",
|
|
20369
20432
|
schema: [
|
|
20370
20433
|
{ id: "src", $el: "file", attrs: { bindkey: "url" } },
|
|
20371
|
-
{ id: "alt", $el: "text", label: "Alt Text" }
|
|
20434
|
+
{ id: "alt", $el: "text", label: "Alt Text" },
|
|
20435
|
+
frmRow$1(
|
|
20436
|
+
numField$1("width", "Width", { min: 1 }),
|
|
20437
|
+
numField$1("height", "Height", { min: 1 })
|
|
20438
|
+
),
|
|
20439
|
+
{ id: "figcaption", $el: "check", label: "Show Caption" }
|
|
20372
20440
|
],
|
|
20373
20441
|
onSubmit: (data2) => {
|
|
20374
20442
|
if (data2.src) {
|
|
20375
20443
|
const img = doc.createElement("img");
|
|
20376
|
-
img
|
|
20377
|
-
|
|
20444
|
+
Object.assign(img, {
|
|
20445
|
+
src: data2.src,
|
|
20446
|
+
alt: data2.alt || "",
|
|
20447
|
+
width: data2.width || void 0,
|
|
20448
|
+
height: data2.height || void 0
|
|
20449
|
+
});
|
|
20450
|
+
const node = data2.figcaption ? (() => {
|
|
20451
|
+
const figcaption = doc.createElement("figcaption");
|
|
20452
|
+
figcaption.textContent = data2.alt;
|
|
20453
|
+
const figure = doc.createElement("figure");
|
|
20454
|
+
figure.append(img, figcaption);
|
|
20455
|
+
return figure;
|
|
20456
|
+
})() : img;
|
|
20378
20457
|
range2.collapse(false);
|
|
20379
|
-
range2.insertNode(
|
|
20458
|
+
range2.insertNode(node);
|
|
20380
20459
|
}
|
|
20381
20460
|
}
|
|
20382
20461
|
});
|
|
@@ -20715,8 +20794,8 @@ function useEditorKeyboard(doc, handleToolbarAction) {
|
|
|
20715
20794
|
}
|
|
20716
20795
|
});
|
|
20717
20796
|
}
|
|
20718
|
-
const _hoisted_1$
|
|
20719
|
-
const _sfc_main$
|
|
20797
|
+
const _hoisted_1$o = { class: "content-area radius-05" };
|
|
20798
|
+
const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
20720
20799
|
__name: "index",
|
|
20721
20800
|
props: {
|
|
20722
20801
|
modelValue: {},
|
|
@@ -20772,7 +20851,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
20772
20851
|
vue.createElementVNode("div", {
|
|
20773
20852
|
class: vue.normalizeClass(["editor-container", { "split-view": (_a2 = vue.unref(editor)) == null ? void 0 : _a2.state.isSplitView }])
|
|
20774
20853
|
}, [
|
|
20775
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
20854
|
+
vue.createElementVNode("div", _hoisted_1$o, [
|
|
20776
20855
|
vue.createElementVNode("iframe", {
|
|
20777
20856
|
id: "rich-text-iframe",
|
|
20778
20857
|
ref_key: "iframe",
|
|
@@ -20796,8 +20875,8 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
20796
20875
|
};
|
|
20797
20876
|
}
|
|
20798
20877
|
});
|
|
20799
|
-
const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20800
|
-
const _hoisted_1$
|
|
20878
|
+
const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-e274dd3b"]]);
|
|
20879
|
+
const _hoisted_1$n = { class: "flex gap-05" };
|
|
20801
20880
|
const _hoisted_2$e = ["disabled"];
|
|
20802
20881
|
const _hoisted_3$b = { key: 1 };
|
|
20803
20882
|
const _hoisted_4$7 = {
|
|
@@ -20807,11 +20886,11 @@ const _hoisted_4$7 = {
|
|
|
20807
20886
|
const _hoisted_5$7 = ["value"];
|
|
20808
20887
|
const _hoisted_6$6 = ["aria-selected", "onClick", "onKeydown"];
|
|
20809
20888
|
const _hoisted_7$3 = { class: "block" };
|
|
20810
|
-
const _sfc_main$
|
|
20889
|
+
const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
20811
20890
|
__name: "SelectInput",
|
|
20812
20891
|
props: {
|
|
20813
20892
|
options: {},
|
|
20814
|
-
placeholder: {},
|
|
20893
|
+
placeholder: { default: "Select" },
|
|
20815
20894
|
disabled: { type: Boolean },
|
|
20816
20895
|
modelValue: {},
|
|
20817
20896
|
searchable: { type: Boolean },
|
|
@@ -20823,14 +20902,14 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
20823
20902
|
hideLabel: { type: Boolean },
|
|
20824
20903
|
defaultValue: {},
|
|
20825
20904
|
clearable: { type: Boolean },
|
|
20826
|
-
searchPlaceholder: {},
|
|
20827
|
-
onSearch: {
|
|
20905
|
+
searchPlaceholder: { default: "Search" },
|
|
20906
|
+
onSearch: {}
|
|
20828
20907
|
},
|
|
20829
20908
|
emits: ["update:modelValue"],
|
|
20830
20909
|
setup(__props, { emit: __emit }) {
|
|
20831
20910
|
const props2 = __props;
|
|
20832
20911
|
const emit2 = __emit;
|
|
20833
|
-
const searchPlaceholder = vue.computed(() => props2.searchPlaceholder
|
|
20912
|
+
const searchPlaceholder = vue.computed(() => props2.searchPlaceholder);
|
|
20834
20913
|
const searchInput = vue.ref();
|
|
20835
20914
|
let selectedItems = vue.ref([]);
|
|
20836
20915
|
const selectedItemCount = vue.computed(() => selectedItems.value.length ?? 0);
|
|
@@ -20839,7 +20918,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
20839
20918
|
let selected = vue.ref(false);
|
|
20840
20919
|
let open = vue.ref(false);
|
|
20841
20920
|
const selectedLabel = vue.computed(() => {
|
|
20842
|
-
if (selectedItemCount.value === 0) return props2.placeholder
|
|
20921
|
+
if (selectedItemCount.value === 0) return props2.placeholder;
|
|
20843
20922
|
if (selectedItemCount.value > 4) {
|
|
20844
20923
|
const str = selectedItems.value.slice(0, 4).map((item) => getLabel(item)).join(", ");
|
|
20845
20924
|
return `${str}... +${selectedItemCount.value - 4}`;
|
|
@@ -20981,7 +21060,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
20981
21060
|
}
|
|
20982
21061
|
});
|
|
20983
21062
|
return (_ctx, _cache) => {
|
|
20984
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
21063
|
+
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$R), {
|
|
20985
21064
|
ref_key: "dropdown",
|
|
20986
21065
|
ref: dropdown,
|
|
20987
21066
|
shown: vue.unref(open),
|
|
@@ -20993,7 +21072,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
20993
21072
|
trigger: vue.withCtx(() => [
|
|
20994
21073
|
vue.createElementVNode("label", null, [
|
|
20995
21074
|
vue.createTextVNode(vue.toDisplayString(_ctx.label) + " ", 1),
|
|
20996
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
21075
|
+
vue.createElementVNode("div", _hoisted_1$n, [
|
|
20997
21076
|
_ctx.searchable && vue.unref(open) ? (vue.openBlock(), vue.createBlock(vue.unref(TextInput), {
|
|
20998
21077
|
key: 0,
|
|
20999
21078
|
ref_key: "searchInput",
|
|
@@ -21060,7 +21139,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
21060
21139
|
height: "25px",
|
|
21061
21140
|
class: "mx-1 my-1"
|
|
21062
21141
|
})) : vue.createCommentVNode("", true),
|
|
21063
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
21142
|
+
vue.createVNode(vue.unref(_sfc_main$V), {
|
|
21064
21143
|
class: "p-05",
|
|
21065
21144
|
style: vue.normalizeStyle({ width: _ctx.fullWidth ? "100%" : "auto" })
|
|
21066
21145
|
}, {
|
|
@@ -21111,7 +21190,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
21111
21190
|
};
|
|
21112
21191
|
}
|
|
21113
21192
|
});
|
|
21114
|
-
const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
21193
|
+
const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-9574c8a2"]]);
|
|
21115
21194
|
/*!
|
|
21116
21195
|
* Signature Pad v5.0.4 | https://github.com/szimek/signature_pad
|
|
21117
21196
|
* (c) 2024 Szymon Nowak | Released under the MIT license
|
|
@@ -21708,7 +21787,7 @@ class SignaturePad extends SignatureEventTarget {
|
|
|
21708
21787
|
return svg.outerHTML;
|
|
21709
21788
|
}
|
|
21710
21789
|
}
|
|
21711
|
-
const _hoisted_1$
|
|
21790
|
+
const _hoisted_1$m = ["disabled"];
|
|
21712
21791
|
const _hoisted_2$d = {
|
|
21713
21792
|
key: 1,
|
|
21714
21793
|
placeholder: "required",
|
|
@@ -21716,7 +21795,7 @@ const _hoisted_2$d = {
|
|
|
21716
21795
|
required: "",
|
|
21717
21796
|
class: "pixel"
|
|
21718
21797
|
};
|
|
21719
|
-
const _sfc_main$
|
|
21798
|
+
const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
21720
21799
|
__name: "SignaturePad",
|
|
21721
21800
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
21722
21801
|
sigOption: {},
|
|
@@ -21869,7 +21948,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
21869
21948
|
ref: vCanvas,
|
|
21870
21949
|
class: "canvas",
|
|
21871
21950
|
disabled: _ctx.disabled
|
|
21872
|
-
}, null, 8, _hoisted_1$
|
|
21951
|
+
}, null, 8, _hoisted_1$m),
|
|
21873
21952
|
_ctx.required && vue.unref(_isEmpty) ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_2$d)) : vue.createCommentVNode("", true)
|
|
21874
21953
|
], 34);
|
|
21875
21954
|
};
|
|
@@ -24354,13 +24433,13 @@ const VueDraggableNext = vue.defineComponent({
|
|
|
24354
24433
|
}
|
|
24355
24434
|
}
|
|
24356
24435
|
});
|
|
24357
|
-
const _hoisted_1$
|
|
24436
|
+
const _hoisted_1$l = ["title"];
|
|
24358
24437
|
const _hoisted_2$c = { class: "bagel-input" };
|
|
24359
24438
|
const _hoisted_3$a = { class: "table-side-scroll" };
|
|
24360
24439
|
const _hoisted_4$6 = { class: "table-header" };
|
|
24361
24440
|
const _hoisted_5$6 = { class: "table-reorder" };
|
|
24362
24441
|
const _hoisted_6$5 = { class: "table-action" };
|
|
24363
|
-
const _sfc_main$
|
|
24442
|
+
const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
24364
24443
|
__name: "TableField",
|
|
24365
24444
|
props: {
|
|
24366
24445
|
description: { default: "" },
|
|
@@ -24500,11 +24579,11 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
24500
24579
|
])),
|
|
24501
24580
|
_: 1
|
|
24502
24581
|
})
|
|
24503
|
-
], 8, _hoisted_1$
|
|
24582
|
+
], 8, _hoisted_1$l);
|
|
24504
24583
|
};
|
|
24505
24584
|
}
|
|
24506
24585
|
});
|
|
24507
|
-
const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
24586
|
+
const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-a65c658c"]]);
|
|
24508
24587
|
function bind(fn2, thisArg) {
|
|
24509
24588
|
return function wrap() {
|
|
24510
24589
|
return fn2.apply(thisArg, arguments);
|
|
@@ -28951,13 +29030,13 @@ function parsePhoneNumber$1() {
|
|
|
28951
29030
|
function parsePhoneNumber() {
|
|
28952
29031
|
return withMetadataArgument(parsePhoneNumber$1, arguments);
|
|
28953
29032
|
}
|
|
28954
|
-
const _hoisted_1$
|
|
29033
|
+
const _hoisted_1$k = ["aria-expanded"];
|
|
28955
29034
|
const _hoisted_2$b = { class: "p-075 tel-countryp-dropdown" };
|
|
28956
29035
|
const _hoisted_3$9 = ["aria-selected", "onClick", "onMousemove"];
|
|
28957
29036
|
const _hoisted_4$5 = { class: "tel-country" };
|
|
28958
29037
|
const _hoisted_5$5 = { key: 1 };
|
|
28959
29038
|
const _hoisted_6$4 = ["id", "required", "placeholder", "disabled", "autocomplete", "pattern", "minlength", "maxlength", "name", "readonly", "tabindex", "aria-describedby"];
|
|
28960
|
-
const _sfc_main$
|
|
29039
|
+
const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
28961
29040
|
__name: "TelInput",
|
|
28962
29041
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
28963
29042
|
label: {},
|
|
@@ -29218,7 +29297,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
29218
29297
|
vue.withKeys(reset, ["tab"])
|
|
29219
29298
|
]
|
|
29220
29299
|
}, [
|
|
29221
|
-
!computedDropDownOptions.value.hide ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
29300
|
+
!computedDropDownOptions.value.hide ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$R), {
|
|
29222
29301
|
key: 0,
|
|
29223
29302
|
ref_key: "phoneDropdown",
|
|
29224
29303
|
ref: phoneDropdown,
|
|
@@ -29305,19 +29384,19 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
29305
29384
|
}, null, 44, _hoisted_6$4), [
|
|
29306
29385
|
[vue.vModelText, phone.value]
|
|
29307
29386
|
])
|
|
29308
|
-
], 40, _hoisted_1$
|
|
29387
|
+
], 40, _hoisted_1$k)
|
|
29309
29388
|
])
|
|
29310
29389
|
], 2);
|
|
29311
29390
|
};
|
|
29312
29391
|
}
|
|
29313
29392
|
});
|
|
29314
|
-
const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
29315
|
-
const _hoisted_1$
|
|
29393
|
+
const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-627af458"]]);
|
|
29394
|
+
const _hoisted_1$j = ["title"];
|
|
29316
29395
|
const _hoisted_2$a = ["for"];
|
|
29317
29396
|
const _hoisted_3$8 = ["id", "title", "autocomplete", "type", "placeholder", "disabled", "required", "pattern"];
|
|
29318
29397
|
const _hoisted_4$4 = ["id", "title", "type", "rows", "placeholder", "disabled", "required", "pattern"];
|
|
29319
29398
|
const _hoisted_5$4 = { key: 2 };
|
|
29320
|
-
const _sfc_main$
|
|
29399
|
+
const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
29321
29400
|
__name: "TextInput",
|
|
29322
29401
|
props: {
|
|
29323
29402
|
id: {},
|
|
@@ -29454,15 +29533,15 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
|
29454
29533
|
icon: _ctx.icon
|
|
29455
29534
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true)
|
|
29456
29535
|
], 8, _hoisted_2$a)
|
|
29457
|
-
], 10, _hoisted_1$
|
|
29536
|
+
], 10, _hoisted_1$j);
|
|
29458
29537
|
};
|
|
29459
29538
|
}
|
|
29460
29539
|
});
|
|
29461
|
-
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
29462
|
-
const _hoisted_1$
|
|
29540
|
+
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-0e10a3b5"]]);
|
|
29541
|
+
const _hoisted_1$i = ["title"];
|
|
29463
29542
|
const _hoisted_2$9 = ["id", "required"];
|
|
29464
29543
|
const _hoisted_3$7 = ["for"];
|
|
29465
|
-
const _sfc_main$
|
|
29544
|
+
const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
29466
29545
|
__name: "ToggleInput",
|
|
29467
29546
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
29468
29547
|
label: {},
|
|
@@ -29506,11 +29585,75 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
|
29506
29585
|
vue.createTextVNode(vue.toDisplayString(_ctx.label), 1)
|
|
29507
29586
|
], true)
|
|
29508
29587
|
], 8, _hoisted_3$7)
|
|
29509
|
-
], 10, _hoisted_1$
|
|
29588
|
+
], 10, _hoisted_1$i);
|
|
29589
|
+
};
|
|
29590
|
+
}
|
|
29591
|
+
});
|
|
29592
|
+
const ToggleInput = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-486451e5"]]);
|
|
29593
|
+
const _hoisted_1$h = ["src", "title", "width", "height", "marginwidth", "marginheight", "csp", "scrolling", "srcset"];
|
|
29594
|
+
const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
29595
|
+
__name: "IframeVue",
|
|
29596
|
+
props: {
|
|
29597
|
+
src: {},
|
|
29598
|
+
title: {},
|
|
29599
|
+
height: {},
|
|
29600
|
+
width: {},
|
|
29601
|
+
name: {},
|
|
29602
|
+
sandbox: {},
|
|
29603
|
+
allow: {},
|
|
29604
|
+
allowfullscreen: { type: Boolean },
|
|
29605
|
+
loading: {},
|
|
29606
|
+
referrerpolicy: {},
|
|
29607
|
+
marginwidth: {},
|
|
29608
|
+
marginheight: {},
|
|
29609
|
+
scrolling: {},
|
|
29610
|
+
csp: {},
|
|
29611
|
+
srcset: {}
|
|
29612
|
+
},
|
|
29613
|
+
emits: ["message", "load"],
|
|
29614
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
29615
|
+
const emit2 = __emit;
|
|
29616
|
+
const iframe = vue.ref();
|
|
29617
|
+
function handleMessage(event) {
|
|
29618
|
+
emit2("message", event.data);
|
|
29619
|
+
}
|
|
29620
|
+
function handleMessageWrapper(event) {
|
|
29621
|
+
var _a2;
|
|
29622
|
+
if (event.source === ((_a2 = iframe.value) == null ? void 0 : _a2.contentWindow)) {
|
|
29623
|
+
handleMessage(event);
|
|
29624
|
+
}
|
|
29625
|
+
}
|
|
29626
|
+
vue.onMounted(() => {
|
|
29627
|
+
window.addEventListener("message", handleMessageWrapper);
|
|
29628
|
+
});
|
|
29629
|
+
vue.onBeforeUnmount(() => {
|
|
29630
|
+
window.removeEventListener("message", handleMessageWrapper);
|
|
29631
|
+
});
|
|
29632
|
+
const contentWindow = () => {
|
|
29633
|
+
var _a2;
|
|
29634
|
+
return (_a2 = iframe.value) == null ? void 0 : _a2.contentWindow;
|
|
29635
|
+
};
|
|
29636
|
+
__expose({ contentWindow });
|
|
29637
|
+
return (_ctx, _cache) => {
|
|
29638
|
+
return vue.openBlock(), vue.createElementBlock("iframe", {
|
|
29639
|
+
ref_key: "iframe",
|
|
29640
|
+
ref: iframe,
|
|
29641
|
+
src: _ctx.src,
|
|
29642
|
+
title: _ctx.title,
|
|
29643
|
+
frameborder: "none",
|
|
29644
|
+
width: _ctx.width,
|
|
29645
|
+
height: _ctx.height,
|
|
29646
|
+
allowpaymentrequest: "true",
|
|
29647
|
+
marginwidth: _ctx.marginwidth,
|
|
29648
|
+
marginheight: _ctx.marginheight,
|
|
29649
|
+
csp: _ctx.csp,
|
|
29650
|
+
scrolling: _ctx.scrolling,
|
|
29651
|
+
srcset: _ctx.srcset,
|
|
29652
|
+
onLoad: _cache[0] || (_cache[0] = ($event) => emit2("load", $event))
|
|
29653
|
+
}, null, 40, _hoisted_1$h);
|
|
29510
29654
|
};
|
|
29511
29655
|
}
|
|
29512
29656
|
});
|
|
29513
|
-
const ToggleInput = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-486451e5"]]);
|
|
29514
29657
|
const _hoisted_1$g = { class: "m-0 pb-025 txt14 line-height-1" };
|
|
29515
29658
|
const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
29516
29659
|
__name: "BottomMenu",
|
|
@@ -29519,7 +29662,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
|
29519
29662
|
},
|
|
29520
29663
|
setup(__props) {
|
|
29521
29664
|
return (_ctx, _cache) => {
|
|
29522
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
29665
|
+
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$V), { class: "hide m_grid gap-05 bgl_bottombar px-1 txt14 justify-content-start align-items-center overflow-x" }, {
|
|
29523
29666
|
default: vue.withCtx(() => [
|
|
29524
29667
|
vue.renderSlot(_ctx.$slots, "brand", {}, void 0, true),
|
|
29525
29668
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.navLinks, (nav, i2) => {
|
|
@@ -29620,7 +29763,7 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
|
29620
29763
|
icon: "keyboard_arrow_right",
|
|
29621
29764
|
onClick: toggleMenu
|
|
29622
29765
|
}),
|
|
29623
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
29766
|
+
vue.createVNode(vue.unref(_sfc_main$V), { class: "py-1 px-05 h-100 flex column gap-05 rounded relative bg-primary font-light overflow-y" }, {
|
|
29624
29767
|
default: vue.withCtx(() => [
|
|
29625
29768
|
!vue.unref(isOpen) || !vue.unref(slots)["brand-open"] ? vue.renderSlot(_ctx.$slots, "brand", { key: 0 }, void 0, true) : vue.createCommentVNode("", true),
|
|
29626
29769
|
vue.unref(isOpen) ? vue.renderSlot(_ctx.$slots, "brand-open", { key: 1 }, void 0, true) : vue.createCommentVNode("", true),
|
|
@@ -29649,8 +29792,7 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
|
29649
29792
|
_directive_tooltip,
|
|
29650
29793
|
{
|
|
29651
29794
|
content: nav.label,
|
|
29652
|
-
disabled: _ctx.open
|
|
29653
|
-
class: ["nav-tooltip"]
|
|
29795
|
+
disabled: _ctx.open
|
|
29654
29796
|
},
|
|
29655
29797
|
void 0,
|
|
29656
29798
|
{ right: true }
|
|
@@ -29666,7 +29808,7 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
|
29666
29808
|
};
|
|
29667
29809
|
}
|
|
29668
29810
|
});
|
|
29669
|
-
const SidebarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-
|
|
29811
|
+
const SidebarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-0cd6a0fb"]]);
|
|
29670
29812
|
const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
29671
29813
|
__name: "Skeleton",
|
|
29672
29814
|
props: {
|
|
@@ -30145,7 +30287,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
|
30145
30287
|
onClick: _cache[1] || (_cache[1] = () => _ctx.dismissable ? closeModal() : ""),
|
|
30146
30288
|
onKeydown: vue.withKeys(closeModal, ["esc"])
|
|
30147
30289
|
}, [
|
|
30148
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
30290
|
+
vue.createVNode(vue.unref(_sfc_main$V), {
|
|
30149
30291
|
class: "modal",
|
|
30150
30292
|
style: vue.normalizeStyle({ ...maxWidth.value }),
|
|
30151
30293
|
onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
|
|
@@ -30322,7 +30464,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
30322
30464
|
"onUpdate:visible": _cache[1] || (_cache[1] = ($event) => emit2("update:visible", $event))
|
|
30323
30465
|
}, vue.createSlots({
|
|
30324
30466
|
default: vue.withCtx(() => [
|
|
30325
|
-
_ctx.visible ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
30467
|
+
_ctx.visible ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$N), {
|
|
30326
30468
|
key: 0,
|
|
30327
30469
|
ref_key: "form",
|
|
30328
30470
|
ref: form,
|
|
@@ -30523,8 +30665,8 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
|
|
|
30523
30665
|
},
|
|
30524
30666
|
setup(__props) {
|
|
30525
30667
|
vue.useCssVars((_ctx) => ({
|
|
30526
|
-
"
|
|
30527
|
-
"
|
|
30668
|
+
"33699ebd": computedBackgroundColor.value,
|
|
30669
|
+
"bd23d150": cumputedTextColor.value
|
|
30528
30670
|
}));
|
|
30529
30671
|
const props2 = __props;
|
|
30530
30672
|
const slots = vue.useSlots();
|
|
@@ -30586,6 +30728,7 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
|
|
|
30586
30728
|
_ctx.btn ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$2, [
|
|
30587
30729
|
vue.createVNode(vue.unref(Btn), vue.mergeProps({
|
|
30588
30730
|
class: "bgl_pill-btn",
|
|
30731
|
+
round: "",
|
|
30589
30732
|
thin: ""
|
|
30590
30733
|
}, _ctx.btn), null, 16)
|
|
30591
30734
|
])) : vue.createCommentVNode("", true)
|
|
@@ -30606,6 +30749,7 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
|
|
|
30606
30749
|
_ctx.btnEnd ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$2, [
|
|
30607
30750
|
vue.createVNode(vue.unref(Btn), vue.mergeProps({
|
|
30608
30751
|
class: "bgl_pill-btn",
|
|
30752
|
+
round: "",
|
|
30609
30753
|
thin: ""
|
|
30610
30754
|
}, _ctx.btnEnd), null, 16)
|
|
30611
30755
|
])) : vue.createCommentVNode("", true)
|
|
@@ -30615,7 +30759,7 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
|
|
|
30615
30759
|
};
|
|
30616
30760
|
}
|
|
30617
30761
|
});
|
|
30618
|
-
const Pill = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-
|
|
30762
|
+
const Pill = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-4249cc3e"]]);
|
|
30619
30763
|
const _sfc_main$5 = {};
|
|
30620
30764
|
function _sfc_render$1(_ctx, _cache) {
|
|
30621
30765
|
const _component_router_view = vue.resolveComponent("router-view");
|
|
@@ -31236,25 +31380,26 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
|
31236
31380
|
emits: /* @__PURE__ */ vue.mergeModels(["update:selectedItems", "orderBy", "select", "lastItemVisible"], ["update:loading", "update:itemHeight", "update:selectedItems"]),
|
|
31237
31381
|
setup(__props, { emit: __emit }) {
|
|
31238
31382
|
vue.useCssVars((_ctx) => ({
|
|
31239
|
-
"
|
|
31383
|
+
"0469f9a7": vue.unref(computedItemHeight)
|
|
31240
31384
|
}));
|
|
31241
31385
|
const emit2 = __emit;
|
|
31386
|
+
const NON_DIGIT_REGEX = /[^\d.-]/g;
|
|
31242
31387
|
const slots = vue.useSlots();
|
|
31243
31388
|
const loading = vue.useModel(__props, "loading");
|
|
31244
31389
|
const itemHeight = vue.useModel(__props, "itemHeight");
|
|
31245
|
-
const computedItemHeight = vue.computed(() => `${itemHeight.value}px`);
|
|
31246
|
-
let sortField = vue.ref("");
|
|
31247
|
-
let sortDirection = vue.ref("ASC");
|
|
31248
31390
|
const selectedItems = vue.useModel(
|
|
31249
31391
|
__props,
|
|
31250
31392
|
"selectedItems",
|
|
31251
31393
|
{
|
|
31252
|
-
set: (value) =>
|
|
31253
|
-
setTimeout(updateAllSelectorState, 0);
|
|
31254
|
-
return value;
|
|
31255
|
-
}
|
|
31394
|
+
set: (value) => value
|
|
31256
31395
|
}
|
|
31257
31396
|
);
|
|
31397
|
+
let sortField = vue.ref("");
|
|
31398
|
+
let sortDirection = vue.ref("ASC");
|
|
31399
|
+
const allSelectorEl = vue.ref();
|
|
31400
|
+
const lastItemEl = vue.ref();
|
|
31401
|
+
const computedSelectedItems = vue.computed(() => selectedItems.value);
|
|
31402
|
+
const computedItemHeight = vue.computed(() => `${itemHeight.value}px`);
|
|
31258
31403
|
const isSelectable = vue.computed(() => __props.selectable === true && Array.isArray(selectedItems.value));
|
|
31259
31404
|
const computedSortField = vue.computed(() => `_transformed_${sortField.value}`);
|
|
31260
31405
|
const computedSchema = vue.computed(() => useBglSchema({
|
|
@@ -31262,21 +31407,6 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
|
31262
31407
|
showFields: __props.showFields,
|
|
31263
31408
|
data: __props.data
|
|
31264
31409
|
}));
|
|
31265
|
-
function transform(rowData) {
|
|
31266
|
-
var _a2;
|
|
31267
|
-
const obj = { ...rowData };
|
|
31268
|
-
const schemaFields = computedSchema.value.filter((f2) => f2.id);
|
|
31269
|
-
for (const field of schemaFields) {
|
|
31270
|
-
const fieldData = rowData[`${field.id}`];
|
|
31271
|
-
const newFieldVal = (_a2 = field.transform) == null ? void 0 : _a2.call(field, fieldData, rowData);
|
|
31272
|
-
Object.assign(obj, {
|
|
31273
|
-
[`${field.id}`]: fieldData,
|
|
31274
|
-
[`_transformed_${field.id}`]: newFieldVal
|
|
31275
|
-
});
|
|
31276
|
-
}
|
|
31277
|
-
return obj;
|
|
31278
|
-
}
|
|
31279
|
-
const NON_DIGIT_REGEX = /[^\d.-]/g;
|
|
31280
31410
|
const computedData = vue.computed(() => {
|
|
31281
31411
|
if (!sortField.value || __props.useServerSort === true) return __props.data.map(transform);
|
|
31282
31412
|
return __props.data.map(transform).sort(
|
|
@@ -31302,6 +31432,20 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
|
31302
31432
|
}
|
|
31303
31433
|
);
|
|
31304
31434
|
});
|
|
31435
|
+
function transform(rowData) {
|
|
31436
|
+
var _a2;
|
|
31437
|
+
const obj = { ...rowData };
|
|
31438
|
+
const schemaFields = computedSchema.value.filter((f2) => f2.id);
|
|
31439
|
+
for (const field of schemaFields) {
|
|
31440
|
+
const fieldData = rowData[`${field.id}`];
|
|
31441
|
+
const newFieldVal = (_a2 = field.transform) == null ? void 0 : _a2.call(field, fieldData, rowData);
|
|
31442
|
+
Object.assign(obj, {
|
|
31443
|
+
[`${field.id}`]: fieldData,
|
|
31444
|
+
[`_transformed_${field.id}`]: newFieldVal
|
|
31445
|
+
});
|
|
31446
|
+
}
|
|
31447
|
+
return obj;
|
|
31448
|
+
}
|
|
31305
31449
|
function sort2(fieldname) {
|
|
31306
31450
|
if (sortField.value === fieldname) {
|
|
31307
31451
|
if (sortDirection.value === "ASC") sortDirection.value = "DESC";
|
|
@@ -31319,50 +31463,47 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
|
31319
31463
|
overscan: 10
|
|
31320
31464
|
}
|
|
31321
31465
|
);
|
|
31322
|
-
vue.watch(
|
|
31323
|
-
() => computedData.value.length,
|
|
31324
|
-
(newLength, oldLength) => {
|
|
31325
|
-
if (newLength === oldLength || __props.onLastItemVisible !== void 0) return;
|
|
31326
|
-
scrollTo(0);
|
|
31327
|
-
}
|
|
31328
|
-
);
|
|
31329
|
-
const allSelector = vue.ref();
|
|
31330
|
-
const computedSelectedItems = vue.computed(() => selectedItems.value);
|
|
31331
31466
|
function updateAllSelectorState() {
|
|
31332
|
-
if (!
|
|
31467
|
+
if (!allSelectorEl.value) return;
|
|
31333
31468
|
const allSelected = computedData.value.length === computedSelectedItems.value.length && computedData.value.every((s2) => s2.id && computedSelectedItems.value.includes(s2.id));
|
|
31334
|
-
|
|
31335
|
-
|
|
31469
|
+
allSelectorEl.value.checked = allSelected;
|
|
31470
|
+
allSelectorEl.value.indeterminate = !allSelected && computedSelectedItems.value.length > 0;
|
|
31336
31471
|
}
|
|
31337
31472
|
function toggleSelectItem(item) {
|
|
31338
31473
|
if (computedSelectedItems.value.length === 0) {
|
|
31339
31474
|
const obj = { ...item };
|
|
31340
|
-
Object.keys(obj).forEach((key) =>
|
|
31341
|
-
if (key.startsWith("_transformed_")) delete obj[key];
|
|
31342
|
-
});
|
|
31475
|
+
Object.keys(obj).forEach((key) => key.startsWith("_transformed_") && delete obj[key]);
|
|
31343
31476
|
emit2("select", obj);
|
|
31344
31477
|
return;
|
|
31345
31478
|
}
|
|
31346
31479
|
const index2 = computedSelectedItems.value.indexOf(item.id);
|
|
31347
|
-
|
|
31348
|
-
computedSelectedItems.value.splice(index2, 1);
|
|
31349
|
-
} else {
|
|
31350
|
-
computedSelectedItems.value.push(item.id);
|
|
31351
|
-
}
|
|
31480
|
+
index2 > -1 ? computedSelectedItems.value.splice(index2, 1) : computedSelectedItems.value.push(item.id);
|
|
31352
31481
|
}
|
|
31353
31482
|
function toggleSelectAll(event) {
|
|
31354
31483
|
const value = event.target.checked;
|
|
31355
31484
|
selectedItems.value = value ? computedData.value.map((d2) => d2.id) : [];
|
|
31356
31485
|
}
|
|
31357
|
-
const lastItem = vue.ref();
|
|
31358
31486
|
async function registerLastItemObserver() {
|
|
31359
|
-
await until(() =>
|
|
31360
|
-
useIntersectionObserver(
|
|
31487
|
+
await until(() => lastItemEl.value).toBeTruthy();
|
|
31488
|
+
useIntersectionObserver(lastItemEl.value, ([entry]) => {
|
|
31361
31489
|
if (entry.isIntersecting && computedData.value.length) {
|
|
31362
31490
|
emit2("lastItemVisible");
|
|
31363
31491
|
}
|
|
31364
31492
|
});
|
|
31365
31493
|
}
|
|
31494
|
+
vue.watch(
|
|
31495
|
+
() => computedData.value.length,
|
|
31496
|
+
(newLength, oldLength) => {
|
|
31497
|
+
if (newLength === oldLength || __props.onLastItemVisible !== void 0) return;
|
|
31498
|
+
scrollTo(0);
|
|
31499
|
+
}
|
|
31500
|
+
);
|
|
31501
|
+
vue.watch(
|
|
31502
|
+
() => computedSelectedItems.value.length,
|
|
31503
|
+
() => {
|
|
31504
|
+
updateAllSelectorState();
|
|
31505
|
+
}
|
|
31506
|
+
);
|
|
31366
31507
|
vue.watch(
|
|
31367
31508
|
() => loading.value,
|
|
31368
31509
|
(newLoadingVal, oldLoadingVal) => {
|
|
@@ -31382,8 +31523,8 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
|
31382
31523
|
vue.createElementVNode("thead", _hoisted_3$1, [
|
|
31383
31524
|
vue.unref(isSelectable) ? (vue.openBlock(), vue.createElementBlock("th", _hoisted_4$1, [
|
|
31384
31525
|
vue.createElementVNode("input", {
|
|
31385
|
-
ref_key: "
|
|
31386
|
-
ref:
|
|
31526
|
+
ref_key: "allSelectorEl",
|
|
31527
|
+
ref: allSelectorEl,
|
|
31387
31528
|
type: "checkbox",
|
|
31388
31529
|
onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
|
|
31389
31530
|
}, ["stop"])),
|
|
@@ -31441,7 +31582,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
|
31441
31582
|
row,
|
|
31442
31583
|
field
|
|
31443
31584
|
}, void 0, true) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_10$1, [
|
|
31444
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
31585
|
+
vue.createVNode(vue.unref(_sfc_main$O), {
|
|
31445
31586
|
class: "embedded-field",
|
|
31446
31587
|
field,
|
|
31447
31588
|
modelValue: row,
|
|
@@ -31454,8 +31595,9 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
|
31454
31595
|
}), 128)),
|
|
31455
31596
|
_ctx.onLastItemVisible !== void 0 ? (vue.openBlock(), vue.createElementBlock("tr", {
|
|
31456
31597
|
key: 0,
|
|
31457
|
-
ref_key: "
|
|
31458
|
-
ref:
|
|
31598
|
+
ref_key: "lastItemEl",
|
|
31599
|
+
ref: lastItemEl,
|
|
31600
|
+
style: { "height": "1px" }
|
|
31459
31601
|
}, null, 512)) : vue.createCommentVNode("", true)
|
|
31460
31602
|
])
|
|
31461
31603
|
])
|
|
@@ -31464,7 +31606,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
|
31464
31606
|
};
|
|
31465
31607
|
}
|
|
31466
31608
|
});
|
|
31467
|
-
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-
|
|
31609
|
+
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-4a5861ed"]]);
|
|
31468
31610
|
const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
|
|
31469
31611
|
__name: "Title",
|
|
31470
31612
|
props: {
|
|
@@ -32620,7 +32762,7 @@ function frmRow(...children2) {
|
|
|
32620
32762
|
function bglForm(idOrField, ...schema) {
|
|
32621
32763
|
if (typeof idOrField === "string") {
|
|
32622
32764
|
return {
|
|
32623
|
-
$el: vue.markRaw(_sfc_main$
|
|
32765
|
+
$el: vue.markRaw(_sfc_main$N),
|
|
32624
32766
|
id: idOrField,
|
|
32625
32767
|
attrs: {
|
|
32626
32768
|
schema: [idOrField, ...schema]
|
|
@@ -32628,7 +32770,7 @@ function bglForm(idOrField, ...schema) {
|
|
|
32628
32770
|
};
|
|
32629
32771
|
}
|
|
32630
32772
|
return {
|
|
32631
|
-
$el: vue.markRaw(_sfc_main$
|
|
32773
|
+
$el: vue.markRaw(_sfc_main$N),
|
|
32632
32774
|
attrs: {
|
|
32633
32775
|
schema: [idOrField, ...schema]
|
|
32634
32776
|
}
|
|
@@ -32652,20 +32794,6 @@ function findBglFieldById(id, _schema) {
|
|
|
32652
32794
|
}
|
|
32653
32795
|
return void 0;
|
|
32654
32796
|
}
|
|
32655
|
-
const BagelFormUtils = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
32656
|
-
__proto__: null,
|
|
32657
|
-
bglForm,
|
|
32658
|
-
checkField,
|
|
32659
|
-
dateField,
|
|
32660
|
-
findBglFieldById,
|
|
32661
|
-
frmRow,
|
|
32662
|
-
getBaseField,
|
|
32663
|
-
numField,
|
|
32664
|
-
richText,
|
|
32665
|
-
slctField,
|
|
32666
|
-
telField,
|
|
32667
|
-
txtField
|
|
32668
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
32669
32797
|
const state = vue.reactive({
|
|
32670
32798
|
defaultLang: "",
|
|
32671
32799
|
availableLangs: [],
|
|
@@ -33406,39 +33534,40 @@ function timeAgo(date2, lang = "en") {
|
|
|
33406
33534
|
}
|
|
33407
33535
|
return selectedLang.justNow;
|
|
33408
33536
|
}
|
|
33409
|
-
exports.Accordion = _sfc_main$
|
|
33537
|
+
exports.Accordion = _sfc_main$11;
|
|
33410
33538
|
exports.AccordionItem = AccordionItem;
|
|
33411
|
-
exports.AddressSearch = _sfc_main
|
|
33539
|
+
exports.AddressSearch = _sfc_main$$;
|
|
33412
33540
|
exports.Alert = Alert;
|
|
33413
33541
|
exports.Avatar = Avatar;
|
|
33414
33542
|
exports.Badge = Badge;
|
|
33415
|
-
exports.BagelForm = _sfc_main$
|
|
33543
|
+
exports.BagelForm = _sfc_main$N;
|
|
33416
33544
|
exports.BagelVue = BagelVue;
|
|
33417
|
-
exports.BglField = _sfc_main$
|
|
33418
|
-
exports.BglForm = _sfc_main$
|
|
33419
|
-
exports.BglMultiStepForm = _sfc_main$
|
|
33545
|
+
exports.BglField = _sfc_main$O;
|
|
33546
|
+
exports.BglForm = _sfc_main$N;
|
|
33547
|
+
exports.BglMultiStepForm = _sfc_main$M;
|
|
33420
33548
|
exports.BglVideo = BglVideo;
|
|
33421
33549
|
exports.BottomMenu = BottomMenu;
|
|
33422
33550
|
exports.Btn = Btn;
|
|
33423
|
-
exports.Card = _sfc_main$
|
|
33551
|
+
exports.Card = _sfc_main$V;
|
|
33424
33552
|
exports.Carousel = Carousel;
|
|
33425
33553
|
exports.CheckInput = CheckInput;
|
|
33426
33554
|
exports.Checkbox = Checkbox;
|
|
33427
33555
|
exports.CodeEditor = CodeEditor;
|
|
33428
|
-
exports.ColorPicker = _sfc_main$
|
|
33556
|
+
exports.ColorPicker = _sfc_main$I;
|
|
33429
33557
|
exports.DataPreview = DataPreview;
|
|
33430
|
-
exports.DateInput = _sfc_main$
|
|
33431
|
-
exports.DatePicker = _sfc_main$
|
|
33432
|
-
exports.Dropdown = _sfc_main$
|
|
33558
|
+
exports.DateInput = _sfc_main$H;
|
|
33559
|
+
exports.DatePicker = _sfc_main$G;
|
|
33560
|
+
exports.Dropdown = _sfc_main$R;
|
|
33433
33561
|
exports.FileUpload = FileUpload;
|
|
33434
33562
|
exports.Flag = Flag;
|
|
33435
33563
|
exports.IMAGE_FORMATS = IMAGE_FORMATS;
|
|
33436
33564
|
exports.IMAGE_FORMATS_REGEXP = IMAGE_FORMATS_REGEXP;
|
|
33437
33565
|
exports.Icon = _sfc_main$c;
|
|
33566
|
+
exports.IframeVue = _sfc_main$o;
|
|
33438
33567
|
exports.Image = Image$1;
|
|
33439
33568
|
exports.JSONInput = JSONInput;
|
|
33440
33569
|
exports.Layout = Layout;
|
|
33441
|
-
exports.Lineart = _sfc_main$
|
|
33570
|
+
exports.Lineart = _sfc_main$T;
|
|
33442
33571
|
exports.ListItem = _sfc_main$g;
|
|
33443
33572
|
exports.ListView = ListView;
|
|
33444
33573
|
exports.Loading = Loading;
|
|
@@ -33451,7 +33580,7 @@ exports.ModalPlugin = ModalPlugin;
|
|
|
33451
33580
|
exports.NavBar = NavBar;
|
|
33452
33581
|
exports.OTP = OTP;
|
|
33453
33582
|
exports.PageTitle = _sfc_main$7;
|
|
33454
|
-
exports.PasswordInput = _sfc_main$
|
|
33583
|
+
exports.PasswordInput = _sfc_main$B;
|
|
33455
33584
|
exports.Pill = Pill;
|
|
33456
33585
|
exports.RadioGroup = RadioGroup;
|
|
33457
33586
|
exports.RadioPillsInput = RadioPillsInput;
|
|
@@ -33460,7 +33589,7 @@ exports.RichText = RichText;
|
|
|
33460
33589
|
exports.RouterWrapper = RouterWrapper;
|
|
33461
33590
|
exports.SelectInput = SelectInput;
|
|
33462
33591
|
exports.SidebarMenu = SidebarMenu;
|
|
33463
|
-
exports.SignaturePad = _sfc_main$
|
|
33592
|
+
exports.SignaturePad = _sfc_main$t;
|
|
33464
33593
|
exports.Skeleton = Skeleton;
|
|
33465
33594
|
exports.TabbedLayout = TabbedLayout;
|
|
33466
33595
|
exports.TableField = TableField;
|
|
@@ -33479,7 +33608,7 @@ exports.Zoomer = Zoomer;
|
|
|
33479
33608
|
exports.allCountries = allCountries;
|
|
33480
33609
|
exports.appendScript = appendScript;
|
|
33481
33610
|
exports.appendStyle = appendStyle;
|
|
33482
|
-
exports.bagelFormUtils =
|
|
33611
|
+
exports.bagelFormUtils = bagelFormUtils;
|
|
33483
33612
|
exports.bagelInjectionKey = bagelInjectionKey;
|
|
33484
33613
|
exports.bindAttrs = bindAttrs;
|
|
33485
33614
|
exports.classify = classify;
|