@bagelink/vue 0.0.1006 → 0.0.1010
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/Modal.vue.d.ts.map +1 -1
- package/dist/components/ModalForm.vue.d.ts +2 -2
- package/dist/components/ModalForm.vue.d.ts.map +1 -1
- package/dist/components/form/BglField.vue.d.ts.map +1 -1
- package/dist/components/form/FieldArray.vue.d.ts +34 -0
- package/dist/components/form/FieldArray.vue.d.ts.map +1 -0
- package/dist/components/form/index.d.ts +1 -0
- package/dist/components/form/index.d.ts.map +1 -1
- package/dist/components/form/inputs/RichText/index.vue.d.ts.map +1 -1
- package/dist/components/layout/SidebarMenu.vue.d.ts.map +1 -1
- package/dist/components/layout/TabsNav.vue.d.ts.map +1 -1
- package/dist/index.cjs +208 -94
- package/dist/index.mjs +208 -94
- package/dist/style.css +714 -107
- package/dist/utils/timeAgo.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/Btn.vue +2 -2
- package/src/components/Modal.vue +3 -1
- package/src/components/ModalForm.vue +2 -2
- package/src/components/form/BglField.vue +2 -0
- package/src/components/form/FieldArray.vue +103 -0
- package/src/components/form/index.ts +1 -0
- package/src/components/form/inputs/RichText/index.vue +9 -1
- package/src/components/layout/SidebarMenu.vue +3 -4
- package/src/components/layout/Tabs.vue +2 -2
- package/src/components/layout/TabsNav.vue +4 -2
- package/src/styles/layout.css +350 -0
- package/src/styles/mobilLayout.css +347 -32
- package/src/utils/timeAgo.ts +13 -5
package/dist/index.cjs
CHANGED
|
@@ -41,7 +41,7 @@ const bagelFormUtils = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defi
|
|
|
41
41
|
return txtField;
|
|
42
42
|
}
|
|
43
43
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
44
|
-
const _sfc_main$
|
|
44
|
+
const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
|
|
45
45
|
__name: "Accordion",
|
|
46
46
|
setup(__props) {
|
|
47
47
|
const state2 = vue.reactive({
|
|
@@ -55,10 +55,10 @@ const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
|
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
57
|
});
|
|
58
|
-
const _hoisted_1$
|
|
58
|
+
const _hoisted_1$Q = ["aria-expanded", "aria-controls"];
|
|
59
59
|
const _hoisted_2$v = { class: "accordion-label" };
|
|
60
60
|
const _hoisted_3$p = ["id", "aria-hidden"];
|
|
61
|
-
const _sfc_main$
|
|
61
|
+
const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
|
|
62
62
|
__name: "AccordionItem",
|
|
63
63
|
props: {
|
|
64
64
|
label: {},
|
|
@@ -132,7 +132,7 @@ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
|
|
|
132
132
|
}, [
|
|
133
133
|
vue.createVNode(vue.unref(_sfc_main$c), { icon: computedIcon.value }, null, 8, ["icon"])
|
|
134
134
|
], 2)) : vue.createCommentVNode("", true)
|
|
135
|
-
], 8, _hoisted_1$
|
|
135
|
+
], 8, _hoisted_1$Q),
|
|
136
136
|
vue.createVNode(vue.Transition, { name: "expand" }, {
|
|
137
137
|
default: vue.withCtx(() => [
|
|
138
138
|
vue.unref(isOpen) ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -157,9 +157,9 @@ const _export_sfc = (sfc, props2) => {
|
|
|
157
157
|
}
|
|
158
158
|
return target;
|
|
159
159
|
};
|
|
160
|
-
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
161
|
-
const _hoisted_1$
|
|
162
|
-
const _sfc_main
|
|
160
|
+
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["__scopeId", "data-v-3a286d21"]]);
|
|
161
|
+
const _hoisted_1$P = { class: "relative" };
|
|
162
|
+
const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
|
|
163
163
|
__name: "AddressSearch",
|
|
164
164
|
emits: ["addressSelected"],
|
|
165
165
|
setup(__props, { emit: __emit }) {
|
|
@@ -181,8 +181,8 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
|
|
|
181
181
|
(_a2 = suggestion.value) == null ? void 0 : _a2.show();
|
|
182
182
|
}
|
|
183
183
|
return (_ctx, _cache) => {
|
|
184
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
185
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
184
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$P, [
|
|
185
|
+
vue.createVNode(vue.unref(_sfc_main$S), {
|
|
186
186
|
ref_key: "suggestion",
|
|
187
187
|
ref: suggestion,
|
|
188
188
|
noAutoFocus: true,
|
|
@@ -217,11 +217,11 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
|
|
|
217
217
|
};
|
|
218
218
|
}
|
|
219
219
|
});
|
|
220
|
-
const _hoisted_1$
|
|
220
|
+
const _hoisted_1$O = {
|
|
221
221
|
key: 1,
|
|
222
222
|
class: "bgl_btn-flex"
|
|
223
223
|
};
|
|
224
|
-
const _sfc_main
|
|
224
|
+
const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
|
|
225
225
|
__name: "Btn",
|
|
226
226
|
props: {
|
|
227
227
|
disabled: { type: Boolean, default: false },
|
|
@@ -285,7 +285,7 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
|
|
|
285
285
|
_ctx.loading ? (vue.openBlock(), vue.createBlock(vue.unref(Loading), {
|
|
286
286
|
key: 0,
|
|
287
287
|
size: "15"
|
|
288
|
-
})) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
288
|
+
})) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$O, [
|
|
289
289
|
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$c), {
|
|
290
290
|
key: 0,
|
|
291
291
|
icon: _ctx.icon
|
|
@@ -307,10 +307,10 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
|
|
|
307
307
|
};
|
|
308
308
|
}
|
|
309
309
|
});
|
|
310
|
-
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
311
|
-
const _hoisted_1$
|
|
310
|
+
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-521354bb"]]);
|
|
311
|
+
const _hoisted_1$N = ["dismissable"];
|
|
312
312
|
const _hoisted_2$u = { class: "m-0" };
|
|
313
|
-
const _sfc_main$
|
|
313
|
+
const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
|
|
314
314
|
__name: "Alert",
|
|
315
315
|
props: {
|
|
316
316
|
message: {},
|
|
@@ -346,13 +346,13 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
|
|
|
346
346
|
icon: "close",
|
|
347
347
|
onClick: _cache[0] || (_cache[0] = ($event) => isDismissed.value = true)
|
|
348
348
|
})
|
|
349
|
-
], 10, _hoisted_1$
|
|
349
|
+
], 10, _hoisted_1$N)) : vue.createCommentVNode("", true);
|
|
350
350
|
};
|
|
351
351
|
}
|
|
352
352
|
});
|
|
353
|
-
const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
354
|
-
const _hoisted_1$
|
|
355
|
-
const _sfc_main$
|
|
353
|
+
const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-57141c32"]]);
|
|
354
|
+
const _hoisted_1$M = ["src", "alt"];
|
|
355
|
+
const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
|
|
356
356
|
__name: "Avatar",
|
|
357
357
|
props: {
|
|
358
358
|
fallback: {},
|
|
@@ -370,7 +370,7 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
|
|
|
370
370
|
key: 0,
|
|
371
371
|
src: _ctx.src,
|
|
372
372
|
alt: _ctx.name
|
|
373
|
-
}, null, 8, _hoisted_1$
|
|
373
|
+
}, null, 8, _hoisted_1$M)) : (vue.openBlock(), vue.createElementBlock("p", {
|
|
374
374
|
key: 1,
|
|
375
375
|
style: vue.normalizeStyle({ "line-height": `${_ctx.size}px`, "font-size": `calc(1.5rem * ${_ctx.size} / 50)` })
|
|
376
376
|
}, vue.toDisplayString((_ctx.fallback || vue.unref(initials)(_ctx.name || "")).toUpperCase()), 5))
|
|
@@ -378,8 +378,8 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
|
|
|
378
378
|
};
|
|
379
379
|
}
|
|
380
380
|
});
|
|
381
|
-
const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
382
|
-
const _sfc_main$
|
|
381
|
+
const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-46ad8c25"]]);
|
|
382
|
+
const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
|
|
383
383
|
__name: "Badge",
|
|
384
384
|
props: {
|
|
385
385
|
color: {},
|
|
@@ -408,11 +408,11 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
|
|
|
408
408
|
};
|
|
409
409
|
}
|
|
410
410
|
});
|
|
411
|
-
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
412
|
-
const _hoisted_1$
|
|
411
|
+
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-2f3caf93"]]);
|
|
412
|
+
const _hoisted_1$L = ["src"];
|
|
413
413
|
const _hoisted_2$t = ["autoplay", "muted", "loop", "controls", "playsinline"];
|
|
414
414
|
const _hoisted_3$o = ["src", "type"];
|
|
415
|
-
const _sfc_main$
|
|
415
|
+
const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
|
|
416
416
|
__name: "BglVideo",
|
|
417
417
|
props: {
|
|
418
418
|
src: {},
|
|
@@ -489,7 +489,7 @@ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
|
|
|
489
489
|
allowfullscreen: "",
|
|
490
490
|
title: "Video",
|
|
491
491
|
allow: "autoplay"
|
|
492
|
-
}, null, 12, _hoisted_1$
|
|
492
|
+
}, null, 12, _hoisted_1$L)) : _ctx.src ? (vue.openBlock(), vue.createElementBlock("video", {
|
|
493
493
|
key: 1,
|
|
494
494
|
ref_key: "video",
|
|
495
495
|
ref: video,
|
|
@@ -509,12 +509,12 @@ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
|
|
|
509
509
|
};
|
|
510
510
|
}
|
|
511
511
|
});
|
|
512
|
-
const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
513
|
-
const _hoisted_1$
|
|
512
|
+
const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-006552f6"]]);
|
|
513
|
+
const _hoisted_1$K = {
|
|
514
514
|
key: 0,
|
|
515
515
|
class: "card_label"
|
|
516
516
|
};
|
|
517
|
-
const _sfc_main$
|
|
517
|
+
const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
|
|
518
518
|
__name: "Card",
|
|
519
519
|
props: {
|
|
520
520
|
label: {},
|
|
@@ -543,7 +543,7 @@ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
|
|
|
543
543
|
}])
|
|
544
544
|
}, {
|
|
545
545
|
default: vue.withCtx(() => [
|
|
546
|
-
_ctx.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$
|
|
546
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$K, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
|
|
547
547
|
vue.renderSlot(_ctx.$slots, "default")
|
|
548
548
|
]),
|
|
549
549
|
_: 3
|
|
@@ -553,13 +553,13 @@ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
|
|
|
553
553
|
};
|
|
554
554
|
}
|
|
555
555
|
});
|
|
556
|
-
const _hoisted_1$
|
|
556
|
+
const _hoisted_1$J = ["dir"];
|
|
557
557
|
const _hoisted_2$s = {
|
|
558
558
|
key: 0,
|
|
559
559
|
class: "blocker"
|
|
560
560
|
};
|
|
561
561
|
const _hoisted_3$n = { class: "Handlers" };
|
|
562
|
-
const _sfc_main$
|
|
562
|
+
const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
|
|
563
563
|
__name: "Carousel",
|
|
564
564
|
props: {
|
|
565
565
|
autoHeight: { type: Boolean, default: false },
|
|
@@ -744,11 +744,11 @@ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
|
|
|
744
744
|
}, void 0, true)
|
|
745
745
|
])
|
|
746
746
|
])
|
|
747
|
-
], 14, _hoisted_1$
|
|
747
|
+
], 14, _hoisted_1$J);
|
|
748
748
|
};
|
|
749
749
|
}
|
|
750
750
|
});
|
|
751
|
-
const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
751
|
+
const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-98e36ac5"]]);
|
|
752
752
|
function _isPlaceholder(a2) {
|
|
753
753
|
return a2 != null && typeof a2 === "object" && a2["@@functional/placeholder"] === true;
|
|
754
754
|
}
|
|
@@ -6692,13 +6692,13 @@ var script = vue.defineComponent({
|
|
|
6692
6692
|
return { bar, canvas, direction, mouse };
|
|
6693
6693
|
}
|
|
6694
6694
|
});
|
|
6695
|
-
const _hoisted_1$
|
|
6695
|
+
const _hoisted_1$I = {
|
|
6696
6696
|
key: 0,
|
|
6697
6697
|
class: "layer-hover-bar"
|
|
6698
6698
|
};
|
|
6699
6699
|
const _hoisted_2$r = ["x", "y", "width", "height"];
|
|
6700
6700
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6701
|
-
return _ctx.mouse.hover ? (vue.openBlock(), vue.createElementBlock("g", _hoisted_1$
|
|
6701
|
+
return _ctx.mouse.hover ? (vue.openBlock(), vue.createElementBlock("g", _hoisted_1$I, [
|
|
6702
6702
|
vue.createElementVNode("rect", vue.mergeProps({ class: "hover-bar" }, _ctx.barStyle, {
|
|
6703
6703
|
x: _ctx.bar.x,
|
|
6704
6704
|
y: _ctx.bar.y,
|
|
@@ -6710,7 +6710,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6710
6710
|
script.render = render;
|
|
6711
6711
|
script.__file = "src/components/HoverBar/index.vue";
|
|
6712
6712
|
const BRAND_COLOR = "var(--bgl-primary)";
|
|
6713
|
-
const _sfc_main$
|
|
6713
|
+
const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
|
|
6714
6714
|
__name: "Lineart",
|
|
6715
6715
|
props: {
|
|
6716
6716
|
data: {},
|
|
@@ -6850,7 +6850,7 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
|
|
|
6850
6850
|
};
|
|
6851
6851
|
}
|
|
6852
6852
|
});
|
|
6853
|
-
const _hoisted_1$
|
|
6853
|
+
const _hoisted_1$H = {
|
|
6854
6854
|
key: 0,
|
|
6855
6855
|
class: "data"
|
|
6856
6856
|
};
|
|
@@ -6871,7 +6871,7 @@ const _hoisted_9$3 = {
|
|
|
6871
6871
|
key: 0,
|
|
6872
6872
|
class: "m-0"
|
|
6873
6873
|
};
|
|
6874
|
-
const _sfc_main$
|
|
6874
|
+
const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
|
|
6875
6875
|
__name: "DataPreview",
|
|
6876
6876
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
6877
6877
|
showFields: {},
|
|
@@ -6907,7 +6907,7 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
|
|
|
6907
6907
|
const computedSchema = vue.computed(() => getFallbackSchema([itemData.value], props2.showFields));
|
|
6908
6908
|
return (_ctx, _cache) => {
|
|
6909
6909
|
var _a2;
|
|
6910
|
-
return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
6910
|
+
return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$H, [
|
|
6911
6911
|
_ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$3), {
|
|
6912
6912
|
key: 0,
|
|
6913
6913
|
label: _ctx.title
|
|
@@ -6920,7 +6920,7 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
|
|
|
6920
6920
|
vue.createElementVNode("div", _hoisted_3$l, [
|
|
6921
6921
|
vue.createElementVNode("p", _hoisted_4$d, vue.toDisplayString((field == null ? void 0 : field.label) || vue.unref(keyToLabel)(field.id)), 1)
|
|
6922
6922
|
]),
|
|
6923
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
6923
|
+
vue.createVNode(vue.unref(_sfc_main$P), {
|
|
6924
6924
|
modelValue: itemData.value,
|
|
6925
6925
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => itemData.value = $event),
|
|
6926
6926
|
label: "",
|
|
@@ -6949,7 +6949,7 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
|
|
|
6949
6949
|
};
|
|
6950
6950
|
}
|
|
6951
6951
|
});
|
|
6952
|
-
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6952
|
+
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-6c27f163"]]);
|
|
6953
6953
|
const sides = ["top", "right", "bottom", "left"];
|
|
6954
6954
|
const alignments = ["start", "end"];
|
|
6955
6955
|
const placements = /* @__PURE__ */ sides.reduce((acc, side) => acc.concat(side, side + "-" + alignments[0], side + "-" + alignments[1]), []);
|
|
@@ -9491,7 +9491,7 @@ const Gt$1 = {
|
|
|
9491
9491
|
install: Ct$1,
|
|
9492
9492
|
options: h
|
|
9493
9493
|
};
|
|
9494
|
-
const _sfc_main$
|
|
9494
|
+
const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
|
|
9495
9495
|
__name: "Dropdown",
|
|
9496
9496
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
9497
9497
|
value: {},
|
|
@@ -9562,7 +9562,7 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
|
9562
9562
|
};
|
|
9563
9563
|
}
|
|
9564
9564
|
});
|
|
9565
|
-
const _sfc_main$
|
|
9565
|
+
const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
9566
9566
|
__name: "Flag",
|
|
9567
9567
|
props: {
|
|
9568
9568
|
country: {},
|
|
@@ -9592,7 +9592,7 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
|
|
|
9592
9592
|
};
|
|
9593
9593
|
}
|
|
9594
9594
|
});
|
|
9595
|
-
const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9595
|
+
const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-f99f1900"]]);
|
|
9596
9596
|
const state$1 = vue.reactive(/* @__PURE__ */ new Map());
|
|
9597
9597
|
function useTabs(group) {
|
|
9598
9598
|
if (!state$1.has(group)) {
|
|
@@ -9606,8 +9606,8 @@ function useTabs(group) {
|
|
|
9606
9606
|
});
|
|
9607
9607
|
return { currentTab };
|
|
9608
9608
|
}
|
|
9609
|
-
const _hoisted_1$
|
|
9610
|
-
const _sfc_main$
|
|
9609
|
+
const _hoisted_1$G = ["onClick"];
|
|
9610
|
+
const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
|
|
9611
9611
|
__name: "TabsNav",
|
|
9612
9612
|
props: {
|
|
9613
9613
|
title: {},
|
|
@@ -9631,7 +9631,9 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
|
9631
9631
|
if (activeTab && tabsWrap.value) {
|
|
9632
9632
|
const { offsetLeft, offsetWidth } = activeTab;
|
|
9633
9633
|
tabsWrap.value.style.setProperty("--indicator-left", `${offsetLeft}px`);
|
|
9634
|
-
tabsWrap.value
|
|
9634
|
+
if (tabsWrap.value) {
|
|
9635
|
+
tabsWrap.value.style.setProperty("--indicator-width", `${offsetWidth}px`);
|
|
9636
|
+
}
|
|
9635
9637
|
}
|
|
9636
9638
|
}
|
|
9637
9639
|
function selectTab(tab) {
|
|
@@ -9672,7 +9674,7 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
|
9672
9674
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
9673
9675
|
ref_key: "tabsWrap",
|
|
9674
9676
|
ref: tabsWrap,
|
|
9675
|
-
class: vue.normalizeClass(["grid auto-flow-columns relative fit-content bgl_tabs_wrap", { "bgl_flat-tabs": _ctx.flat, "bgl_vertical-tabs": _ctx.vertical }])
|
|
9677
|
+
class: vue.normalizeClass(["grid auto-flow-columns relative fit-content bgl_tabs_wrap overflow-hidden", { "bgl_flat-tabs": _ctx.flat, "bgl_vertical-tabs": _ctx.vertical }])
|
|
9676
9678
|
}, [
|
|
9677
9679
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(props2.tabs, (tab, i2) => {
|
|
9678
9680
|
return vue.openBlock(), vue.createElementBlock("button", {
|
|
@@ -9686,14 +9688,14 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
|
9686
9688
|
icon: tab.icon
|
|
9687
9689
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
9688
9690
|
vue.createTextVNode(" " + vue.toDisplayString(tabLabel(tab)), 1)
|
|
9689
|
-
], 10, _hoisted_1$
|
|
9691
|
+
], 10, _hoisted_1$G);
|
|
9690
9692
|
}), 128))
|
|
9691
9693
|
], 2);
|
|
9692
9694
|
};
|
|
9693
9695
|
}
|
|
9694
9696
|
});
|
|
9695
|
-
const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9696
|
-
const _sfc_main$
|
|
9697
|
+
const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-dbce6d28"]]);
|
|
9698
|
+
const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
9697
9699
|
__name: "BglField",
|
|
9698
9700
|
props: {
|
|
9699
9701
|
field: {},
|
|
@@ -9710,6 +9712,7 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
|
|
|
9710
9712
|
customAttrs.value.multiline = true;
|
|
9711
9713
|
return TextInput;
|
|
9712
9714
|
}
|
|
9715
|
+
if (props2.field.$el === "array") return FieldArray;
|
|
9713
9716
|
if (props2.field.$el === "select") return SelectInput;
|
|
9714
9717
|
if (props2.field.$el === "toggle") return ToggleInput;
|
|
9715
9718
|
if (props2.field.$el === "check") return CheckInput;
|
|
@@ -9827,7 +9830,7 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
|
|
|
9827
9830
|
};
|
|
9828
9831
|
}
|
|
9829
9832
|
});
|
|
9830
|
-
const _sfc_main$
|
|
9833
|
+
const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
|
|
9831
9834
|
__name: "BglForm",
|
|
9832
9835
|
props: {
|
|
9833
9836
|
label: {},
|
|
@@ -9925,7 +9928,7 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
|
9925
9928
|
label: _ctx.label
|
|
9926
9929
|
}, null, 8, ["label"])) : vue.createCommentVNode("", true),
|
|
9927
9930
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(computedSchema.value, (field, i2) => {
|
|
9928
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
9931
|
+
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$P), {
|
|
9929
9932
|
key: field.id || `${i2}p`,
|
|
9930
9933
|
modelValue: vue.unref(data2),
|
|
9931
9934
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(data2) ? data2.value = $event : data2 = $event),
|
|
@@ -9949,7 +9952,7 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
|
9949
9952
|
label: _ctx.label
|
|
9950
9953
|
}, null, 8, ["label"])) : vue.createCommentVNode("", true),
|
|
9951
9954
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(computedSchema.value, (field, i2) => {
|
|
9952
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
9955
|
+
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$P), {
|
|
9953
9956
|
key: field.id || `${i2}p`,
|
|
9954
9957
|
modelValue: vue.unref(data2),
|
|
9955
9958
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(data2) ? data2.value = $event : data2 = $event),
|
|
@@ -9968,8 +9971,8 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
|
9968
9971
|
};
|
|
9969
9972
|
}
|
|
9970
9973
|
});
|
|
9971
|
-
const _hoisted_1$
|
|
9972
|
-
const _sfc_main$
|
|
9974
|
+
const _hoisted_1$F = { key: 0 };
|
|
9975
|
+
const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
9973
9976
|
__name: "BglMultiStepForm",
|
|
9974
9977
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
9975
9978
|
bagelFormProps: { default: () => ({}) },
|
|
@@ -10036,8 +10039,8 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
|
10036
10039
|
mode: "out-in"
|
|
10037
10040
|
}, {
|
|
10038
10041
|
default: vue.withCtx(() => [
|
|
10039
|
-
!vue.unref(isStepping) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
10040
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
10042
|
+
!vue.unref(isStepping) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$F, [
|
|
10043
|
+
vue.createVNode(vue.unref(_sfc_main$O), vue.mergeProps({
|
|
10041
10044
|
ref_key: "formRef",
|
|
10042
10045
|
ref: formRef,
|
|
10043
10046
|
modelValue: formData.value,
|
|
@@ -10076,6 +10079,107 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
|
10076
10079
|
};
|
|
10077
10080
|
}
|
|
10078
10081
|
});
|
|
10082
|
+
const _hoisted_1$E = { class: "label mb-05" };
|
|
10083
|
+
const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
10084
|
+
__name: "FieldArray",
|
|
10085
|
+
props: {
|
|
10086
|
+
el: { default: "div" },
|
|
10087
|
+
id: {},
|
|
10088
|
+
label: {},
|
|
10089
|
+
placeholder: {},
|
|
10090
|
+
children: {},
|
|
10091
|
+
class: { type: [String, Number, Boolean, Object] },
|
|
10092
|
+
attrs: {},
|
|
10093
|
+
required: { type: Boolean },
|
|
10094
|
+
disabled: { type: Boolean },
|
|
10095
|
+
helptext: {},
|
|
10096
|
+
options: {},
|
|
10097
|
+
defaultValue: {},
|
|
10098
|
+
add: { type: Boolean, default: true },
|
|
10099
|
+
delete: { type: Boolean, default: true },
|
|
10100
|
+
schema: {},
|
|
10101
|
+
modelValue: {}
|
|
10102
|
+
},
|
|
10103
|
+
emits: ["update:modelValue"],
|
|
10104
|
+
setup(__props, { emit: __emit }) {
|
|
10105
|
+
const props2 = __props;
|
|
10106
|
+
const emit2 = __emit;
|
|
10107
|
+
const data2 = vue.ref(props2.modelValue || []);
|
|
10108
|
+
function emitValue() {
|
|
10109
|
+
emit2("update:modelValue", data2.value);
|
|
10110
|
+
}
|
|
10111
|
+
function deleteItem(i2) {
|
|
10112
|
+
data2.value.splice(i2, 1);
|
|
10113
|
+
emitValue();
|
|
10114
|
+
}
|
|
10115
|
+
function addItem() {
|
|
10116
|
+
data2.value.push({});
|
|
10117
|
+
emitValue();
|
|
10118
|
+
}
|
|
10119
|
+
vue.computed(
|
|
10120
|
+
() => ({
|
|
10121
|
+
label: props2.label,
|
|
10122
|
+
placeholder: props2.placeholder,
|
|
10123
|
+
children: props2.children,
|
|
10124
|
+
class: props2.class,
|
|
10125
|
+
attrs: props2.attrs,
|
|
10126
|
+
required: props2.required,
|
|
10127
|
+
disabled: props2.disabled,
|
|
10128
|
+
helptext: props2.helptext,
|
|
10129
|
+
options: props2.options,
|
|
10130
|
+
defaultValue: props2.defaultValue,
|
|
10131
|
+
$el: props2.el
|
|
10132
|
+
})
|
|
10133
|
+
);
|
|
10134
|
+
return (_ctx, _cache) => {
|
|
10135
|
+
return vue.openBlock(), vue.createElementBlock("div", null, [
|
|
10136
|
+
vue.createElementVNode("p", _hoisted_1$E, vue.toDisplayString(_ctx.label), 1),
|
|
10137
|
+
vue.createElementVNode("div", null, [
|
|
10138
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(data2.value, (_2, i2) => {
|
|
10139
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$W, {
|
|
10140
|
+
key: i2,
|
|
10141
|
+
outline: "",
|
|
10142
|
+
thin: "",
|
|
10143
|
+
class: "mb-05 itemBox bg-white transition"
|
|
10144
|
+
}, {
|
|
10145
|
+
default: vue.withCtx(() => [
|
|
10146
|
+
_ctx.schema ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$O), {
|
|
10147
|
+
key: 0,
|
|
10148
|
+
modelValue: data2.value[i2],
|
|
10149
|
+
"onUpdate:modelValue": [($event) => data2.value[i2] = $event, emitValue],
|
|
10150
|
+
schema: _ctx.schema
|
|
10151
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "schema"])) : vue.createCommentVNode("", true),
|
|
10152
|
+
props2.delete ? (vue.openBlock(), vue.createBlock(vue.unref(Btn), {
|
|
10153
|
+
key: 1,
|
|
10154
|
+
icon: "delete",
|
|
10155
|
+
value: "Delete",
|
|
10156
|
+
class: "txt10 opacity-7 color-red",
|
|
10157
|
+
thin: "",
|
|
10158
|
+
flat: "",
|
|
10159
|
+
onClick: ($event) => deleteItem(i2)
|
|
10160
|
+
}, null, 8, ["onClick"])) : vue.createCommentVNode("", true)
|
|
10161
|
+
]),
|
|
10162
|
+
_: 2
|
|
10163
|
+
}, 1024);
|
|
10164
|
+
}), 128)),
|
|
10165
|
+
_ctx.add ? (vue.openBlock(), vue.createBlock(vue.unref(Btn), {
|
|
10166
|
+
key: 0,
|
|
10167
|
+
icon: "add",
|
|
10168
|
+
color: "gray",
|
|
10169
|
+
class: "w-100",
|
|
10170
|
+
onClick: addItem
|
|
10171
|
+
}, {
|
|
10172
|
+
default: vue.withCtx(() => [
|
|
10173
|
+
vue.createElementVNode("p", null, "Add " + vue.toDisplayString(_ctx.label), 1)
|
|
10174
|
+
]),
|
|
10175
|
+
_: 1
|
|
10176
|
+
})) : vue.createCommentVNode("", true)
|
|
10177
|
+
])
|
|
10178
|
+
]);
|
|
10179
|
+
};
|
|
10180
|
+
}
|
|
10181
|
+
});
|
|
10182
|
+
const FieldArray = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-e8cf25b3"]]);
|
|
10079
10183
|
const _hoisted_1$D = { class: "primary-checkbox" };
|
|
10080
10184
|
const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
10081
10185
|
__name: "Checkbox",
|
|
@@ -19303,7 +19407,7 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
|
19303
19407
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$w, [
|
|
19304
19408
|
vue.createElementVNode("label", null, vue.toDisplayString(_ctx.label), 1),
|
|
19305
19409
|
_ctx.required && !storageFiles.value.length ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_2$k)) : vue.createCommentVNode("", true),
|
|
19306
|
-
_ctx.theme === "basic" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
19410
|
+
_ctx.theme === "basic" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$W), {
|
|
19307
19411
|
key: 1,
|
|
19308
19412
|
outline: "",
|
|
19309
19413
|
class: "flex p-05 gap-1",
|
|
@@ -20120,7 +20224,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
20120
20224
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$p, [
|
|
20121
20225
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.config.map(configToOption).filter(Boolean), (action, index2) => {
|
|
20122
20226
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: index2 }, [
|
|
20123
|
-
action.name === "insertTable" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
20227
|
+
action.name === "insertTable" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
|
|
20124
20228
|
key: 0,
|
|
20125
20229
|
placement: "bottom-start",
|
|
20126
20230
|
thin: "",
|
|
@@ -20875,7 +20979,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
|
20875
20979
|
};
|
|
20876
20980
|
}
|
|
20877
20981
|
});
|
|
20878
|
-
const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-
|
|
20982
|
+
const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-7a98aefd"]]);
|
|
20879
20983
|
const _hoisted_1$n = { class: "flex gap-05" };
|
|
20880
20984
|
const _hoisted_2$e = ["disabled"];
|
|
20881
20985
|
const _hoisted_3$b = { key: 1 };
|
|
@@ -21060,7 +21164,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
21060
21164
|
}
|
|
21061
21165
|
});
|
|
21062
21166
|
return (_ctx, _cache) => {
|
|
21063
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
21167
|
+
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
|
|
21064
21168
|
ref_key: "dropdown",
|
|
21065
21169
|
ref: dropdown,
|
|
21066
21170
|
shown: vue.unref(open),
|
|
@@ -21139,7 +21243,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
21139
21243
|
height: "25px",
|
|
21140
21244
|
class: "mx-1 my-1"
|
|
21141
21245
|
})) : vue.createCommentVNode("", true),
|
|
21142
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
21246
|
+
vue.createVNode(vue.unref(_sfc_main$W), {
|
|
21143
21247
|
class: "p-05",
|
|
21144
21248
|
style: vue.normalizeStyle({ width: _ctx.fullWidth ? "100%" : "auto" })
|
|
21145
21249
|
}, {
|
|
@@ -29297,7 +29401,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
29297
29401
|
vue.withKeys(reset, ["tab"])
|
|
29298
29402
|
]
|
|
29299
29403
|
}, [
|
|
29300
|
-
!computedDropDownOptions.value.hide ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
29404
|
+
!computedDropDownOptions.value.hide ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
|
|
29301
29405
|
key: 0,
|
|
29302
29406
|
ref_key: "phoneDropdown",
|
|
29303
29407
|
ref: phoneDropdown,
|
|
@@ -29662,7 +29766,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
|
29662
29766
|
},
|
|
29663
29767
|
setup(__props) {
|
|
29664
29768
|
return (_ctx, _cache) => {
|
|
29665
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
29769
|
+
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$W), { class: "hide m_grid gap-05 bgl_bottombar px-1 txt14 justify-content-start align-items-center overflow-x" }, {
|
|
29666
29770
|
default: vue.withCtx(() => [
|
|
29667
29771
|
vue.renderSlot(_ctx.$slots, "brand", {}, void 0, true),
|
|
29668
29772
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.navLinks, (nav, i2) => {
|
|
@@ -29747,10 +29851,10 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
|
29747
29851
|
const emit2 = __emit;
|
|
29748
29852
|
const slots = vue.useSlots();
|
|
29749
29853
|
let isOpen = vue.ref(props2.open);
|
|
29750
|
-
|
|
29854
|
+
const toggleMenu = useDebounceFn(() => {
|
|
29751
29855
|
isOpen.value = !isOpen.value;
|
|
29752
29856
|
emit2("update:open", isOpen.value);
|
|
29753
|
-
}
|
|
29857
|
+
});
|
|
29754
29858
|
return (_ctx, _cache) => {
|
|
29755
29859
|
const _directive_tooltip = vue.resolveDirective("tooltip");
|
|
29756
29860
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -29761,9 +29865,9 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
|
29761
29865
|
color: "white",
|
|
29762
29866
|
class: "mb-05 absolute toggleNav z-2 border",
|
|
29763
29867
|
icon: "keyboard_arrow_right",
|
|
29764
|
-
onClick: toggleMenu
|
|
29765
|
-
}),
|
|
29766
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
29868
|
+
onClick: vue.unref(toggleMenu)
|
|
29869
|
+
}, null, 8, ["onClick"]),
|
|
29870
|
+
vue.createVNode(vue.unref(_sfc_main$W), { class: "py-1 px-05 h-100 flex column gap-05 rounded relative bg-primary font-light overflow-y" }, {
|
|
29767
29871
|
default: vue.withCtx(() => [
|
|
29768
29872
|
!vue.unref(isOpen) || !vue.unref(slots)["brand-open"] ? vue.renderSlot(_ctx.$slots, "brand", { key: 0 }, void 0, true) : vue.createCommentVNode("", true),
|
|
29769
29873
|
vue.unref(isOpen) ? vue.renderSlot(_ctx.$slots, "brand-open", { key: 1 }, void 0, true) : vue.createCommentVNode("", true),
|
|
@@ -29808,7 +29912,7 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
|
29808
29912
|
};
|
|
29809
29913
|
}
|
|
29810
29914
|
});
|
|
29811
|
-
const SidebarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-
|
|
29915
|
+
const SidebarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-ac02125e"]]);
|
|
29812
29916
|
const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
29813
29917
|
__name: "Skeleton",
|
|
29814
29918
|
props: {
|
|
@@ -30287,7 +30391,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
|
30287
30391
|
onClick: _cache[1] || (_cache[1] = () => _ctx.dismissable ? closeModal() : ""),
|
|
30288
30392
|
onKeydown: vue.withKeys(closeModal, ["esc"])
|
|
30289
30393
|
}, [
|
|
30290
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
30394
|
+
vue.createVNode(vue.unref(_sfc_main$W), {
|
|
30291
30395
|
class: "modal",
|
|
30292
30396
|
style: vue.normalizeStyle({ ...maxWidth.value }),
|
|
30293
30397
|
onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
|
|
@@ -30302,8 +30406,8 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
|
30302
30406
|
style: vue.normalizeStyle({ float: _ctx.side ? "left" : "right" }),
|
|
30303
30407
|
flat: "",
|
|
30304
30408
|
icon: "close",
|
|
30305
|
-
|
|
30306
|
-
|
|
30409
|
+
thin: "",
|
|
30410
|
+
onClick: closeModal
|
|
30307
30411
|
}, null, 8, ["style"]),
|
|
30308
30412
|
_ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$3), {
|
|
30309
30413
|
key: 0,
|
|
@@ -30400,7 +30504,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
30400
30504
|
width: {},
|
|
30401
30505
|
dismissable: { type: Boolean },
|
|
30402
30506
|
actions: {},
|
|
30403
|
-
schema: {
|
|
30507
|
+
schema: {},
|
|
30404
30508
|
onSubmit: { type: Function },
|
|
30405
30509
|
onDelete: { type: Function },
|
|
30406
30510
|
visible: { type: Boolean },
|
|
@@ -30464,7 +30568,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
30464
30568
|
"onUpdate:visible": _cache[1] || (_cache[1] = ($event) => emit2("update:visible", $event))
|
|
30465
30569
|
}, vue.createSlots({
|
|
30466
30570
|
default: vue.withCtx(() => [
|
|
30467
|
-
_ctx.visible ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
30571
|
+
_ctx.visible ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$O), {
|
|
30468
30572
|
key: 0,
|
|
30469
30573
|
ref_key: "form",
|
|
30470
30574
|
ref: form,
|
|
@@ -30507,7 +30611,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
30507
30611
|
};
|
|
30508
30612
|
}
|
|
30509
30613
|
});
|
|
30510
|
-
const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-
|
|
30614
|
+
const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-3342a563"]]);
|
|
30511
30615
|
const _hoisted_1$5 = { class: "full-nav" };
|
|
30512
30616
|
const _hoisted_2$4 = { class: "nav-scroll" };
|
|
30513
30617
|
const _hoisted_3$3 = { class: "nav-links-wrapper" };
|
|
@@ -31582,7 +31686,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
|
31582
31686
|
row,
|
|
31583
31687
|
field
|
|
31584
31688
|
}, void 0, true) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_10$1, [
|
|
31585
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
31689
|
+
vue.createVNode(vue.unref(_sfc_main$P), {
|
|
31586
31690
|
class: "embedded-field",
|
|
31587
31691
|
field,
|
|
31588
31692
|
modelValue: row,
|
|
@@ -32762,7 +32866,7 @@ function frmRow(...children2) {
|
|
|
32762
32866
|
function bglForm(idOrField, ...schema) {
|
|
32763
32867
|
if (typeof idOrField === "string") {
|
|
32764
32868
|
return {
|
|
32765
|
-
$el: vue.markRaw(_sfc_main$
|
|
32869
|
+
$el: vue.markRaw(_sfc_main$O),
|
|
32766
32870
|
id: idOrField,
|
|
32767
32871
|
attrs: {
|
|
32768
32872
|
schema: [idOrField, ...schema]
|
|
@@ -32770,7 +32874,7 @@ function bglForm(idOrField, ...schema) {
|
|
|
32770
32874
|
};
|
|
32771
32875
|
}
|
|
32772
32876
|
return {
|
|
32773
|
-
$el: vue.markRaw(_sfc_main$
|
|
32877
|
+
$el: vue.markRaw(_sfc_main$O),
|
|
32774
32878
|
attrs: {
|
|
32775
32879
|
schema: [idOrField, ...schema]
|
|
32776
32880
|
}
|
|
@@ -33471,6 +33575,7 @@ const translations = {
|
|
|
33471
33575
|
minute: "minute",
|
|
33472
33576
|
second: "second",
|
|
33473
33577
|
ago: "ago",
|
|
33578
|
+
in: "in",
|
|
33474
33579
|
justNow: "Just now"
|
|
33475
33580
|
},
|
|
33476
33581
|
es: {
|
|
@@ -33482,6 +33587,7 @@ const translations = {
|
|
|
33482
33587
|
minute: "minuto",
|
|
33483
33588
|
second: "segundo",
|
|
33484
33589
|
ago: "hace",
|
|
33590
|
+
in: "en",
|
|
33485
33591
|
justNow: "Justo ahora"
|
|
33486
33592
|
},
|
|
33487
33593
|
fr: {
|
|
@@ -33493,6 +33599,7 @@ const translations = {
|
|
|
33493
33599
|
minute: "minute",
|
|
33494
33600
|
second: "seconde",
|
|
33495
33601
|
ago: "il y a",
|
|
33602
|
+
in: "dans",
|
|
33496
33603
|
justNow: "À l’instant"
|
|
33497
33604
|
},
|
|
33498
33605
|
he: {
|
|
@@ -33504,6 +33611,7 @@ const translations = {
|
|
|
33504
33611
|
minute: "דקה",
|
|
33505
33612
|
second: "שנייה",
|
|
33506
33613
|
ago: "לפני",
|
|
33614
|
+
in: "בעוד",
|
|
33507
33615
|
justNow: "זה עתה"
|
|
33508
33616
|
}
|
|
33509
33617
|
};
|
|
@@ -33513,7 +33621,7 @@ function timeAgo(date2, lang = "en") {
|
|
|
33513
33621
|
const now = /* @__PURE__ */ new Date();
|
|
33514
33622
|
const nowNumber = now.getTime();
|
|
33515
33623
|
const dateNumber = date2.getTime();
|
|
33516
|
-
const seconds = Math.floor((
|
|
33624
|
+
const seconds = Math.floor((dateNumber - nowNumber) / 1e3);
|
|
33517
33625
|
const intervals = [
|
|
33518
33626
|
{ label: "year", seconds: 31536e3 },
|
|
33519
33627
|
{ label: "month", seconds: 2592e3 },
|
|
@@ -33525,30 +33633,35 @@ function timeAgo(date2, lang = "en") {
|
|
|
33525
33633
|
];
|
|
33526
33634
|
const selectedLang = translations[lang];
|
|
33527
33635
|
for (const interval of intervals) {
|
|
33528
|
-
const count2 = Math.floor(seconds / interval.seconds);
|
|
33636
|
+
const count2 = Math.floor(Math.abs(seconds) / interval.seconds);
|
|
33529
33637
|
if (count2 >= 1) {
|
|
33530
|
-
const suffix =
|
|
33531
|
-
const prefix =
|
|
33638
|
+
const suffix = seconds < 0 ? ` ${selectedLang.ago}` : "";
|
|
33639
|
+
const prefix = "";
|
|
33640
|
+
if (interval.label === "day" && seconds > 0) {
|
|
33641
|
+
const hours = Math.floor(Math.abs(seconds) % 86400 / 3600);
|
|
33642
|
+
const hourLabel = hours > 1 ? `${selectedLang.hour}s` : selectedLang.hour;
|
|
33643
|
+
return `${prefix}${count2} ${selectedLang[interval.label]}${hours > 0 ? ` ${hours} ${hourLabel}` : ""}${suffix}`;
|
|
33644
|
+
}
|
|
33532
33645
|
return `${prefix}${count2} ${selectedLang[interval.label]}${suffix}`;
|
|
33533
33646
|
}
|
|
33534
33647
|
}
|
|
33535
33648
|
return selectedLang.justNow;
|
|
33536
33649
|
}
|
|
33537
|
-
exports.Accordion = _sfc_main$
|
|
33650
|
+
exports.Accordion = _sfc_main$12;
|
|
33538
33651
|
exports.AccordionItem = AccordionItem;
|
|
33539
|
-
exports.AddressSearch = _sfc_main
|
|
33652
|
+
exports.AddressSearch = _sfc_main$10;
|
|
33540
33653
|
exports.Alert = Alert;
|
|
33541
33654
|
exports.Avatar = Avatar;
|
|
33542
33655
|
exports.Badge = Badge;
|
|
33543
|
-
exports.BagelForm = _sfc_main$
|
|
33656
|
+
exports.BagelForm = _sfc_main$O;
|
|
33544
33657
|
exports.BagelVue = BagelVue;
|
|
33545
|
-
exports.BglField = _sfc_main$
|
|
33546
|
-
exports.BglForm = _sfc_main$
|
|
33547
|
-
exports.BglMultiStepForm = _sfc_main$
|
|
33658
|
+
exports.BglField = _sfc_main$P;
|
|
33659
|
+
exports.BglForm = _sfc_main$O;
|
|
33660
|
+
exports.BglMultiStepForm = _sfc_main$N;
|
|
33548
33661
|
exports.BglVideo = BglVideo;
|
|
33549
33662
|
exports.BottomMenu = BottomMenu;
|
|
33550
33663
|
exports.Btn = Btn;
|
|
33551
|
-
exports.Card = _sfc_main$
|
|
33664
|
+
exports.Card = _sfc_main$W;
|
|
33552
33665
|
exports.Carousel = Carousel;
|
|
33553
33666
|
exports.CheckInput = CheckInput;
|
|
33554
33667
|
exports.Checkbox = Checkbox;
|
|
@@ -33557,7 +33670,8 @@ exports.ColorPicker = _sfc_main$I;
|
|
|
33557
33670
|
exports.DataPreview = DataPreview;
|
|
33558
33671
|
exports.DateInput = _sfc_main$H;
|
|
33559
33672
|
exports.DatePicker = _sfc_main$G;
|
|
33560
|
-
exports.Dropdown = _sfc_main$
|
|
33673
|
+
exports.Dropdown = _sfc_main$S;
|
|
33674
|
+
exports.FieldArray = FieldArray;
|
|
33561
33675
|
exports.FileUpload = FileUpload;
|
|
33562
33676
|
exports.Flag = Flag;
|
|
33563
33677
|
exports.IMAGE_FORMATS = IMAGE_FORMATS;
|
|
@@ -33567,7 +33681,7 @@ exports.IframeVue = _sfc_main$o;
|
|
|
33567
33681
|
exports.Image = Image$1;
|
|
33568
33682
|
exports.JSONInput = JSONInput;
|
|
33569
33683
|
exports.Layout = Layout;
|
|
33570
|
-
exports.Lineart = _sfc_main$
|
|
33684
|
+
exports.Lineart = _sfc_main$U;
|
|
33571
33685
|
exports.ListItem = _sfc_main$g;
|
|
33572
33686
|
exports.ListView = ListView;
|
|
33573
33687
|
exports.Loading = Loading;
|