@bagelink/vue 0.0.823 → 0.0.827
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/form/inputs/SelectInput.vue.d.ts +2 -0
- package/dist/components/form/inputs/SelectInput.vue.d.ts.map +1 -1
- package/dist/components/layout/Skeleton.vue.d.ts +6 -2
- package/dist/components/layout/Skeleton.vue.d.ts.map +1 -1
- package/dist/index.cjs +117 -87
- package/dist/index.mjs +117 -87
- package/dist/style.css +27 -23
- package/dist/utils/BagelFormUtils.d.ts +1 -0
- package/dist/utils/BagelFormUtils.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/form/inputs/SelectInput.vue +36 -12
- package/src/components/layout/Skeleton.vue +24 -18
- package/src/styles/theme.css +5 -1
- package/src/utils/BagelFormUtils.ts +3 -0
package/dist/index.mjs
CHANGED
|
@@ -52,7 +52,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
52
52
|
};
|
|
53
53
|
}
|
|
54
54
|
});
|
|
55
|
-
const _hoisted_1$
|
|
55
|
+
const _hoisted_1$M = ["aria-expanded", "aria-controls"];
|
|
56
56
|
const _hoisted_2$w = { class: "accordion-label" };
|
|
57
57
|
const _hoisted_3$m = ["id", "aria-hidden"];
|
|
58
58
|
const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
@@ -131,7 +131,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
131
131
|
}, [
|
|
132
132
|
createVNode(unref(_sfc_main$c), { icon: computedIcon.value }, null, 8, ["icon"])
|
|
133
133
|
], 2)) : createCommentVNode("", true)
|
|
134
|
-
], 8, _hoisted_1$
|
|
134
|
+
], 8, _hoisted_1$M),
|
|
135
135
|
createVNode(Transition, { name: "expand" }, {
|
|
136
136
|
default: withCtx(() => [
|
|
137
137
|
unref(isOpen) ? (openBlock(), createElementBlock("div", {
|
|
@@ -157,7 +157,7 @@ const _export_sfc = (sfc, props2) => {
|
|
|
157
157
|
return target;
|
|
158
158
|
};
|
|
159
159
|
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-9d8335fa"]]);
|
|
160
|
-
const _hoisted_1$
|
|
160
|
+
const _hoisted_1$L = { class: "relative" };
|
|
161
161
|
const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
162
162
|
__name: "AddressSearch",
|
|
163
163
|
emits: ["addressSelected"],
|
|
@@ -180,7 +180,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
180
180
|
(_a2 = suggestion.value) == null ? void 0 : _a2.show();
|
|
181
181
|
}
|
|
182
182
|
return (_ctx, _cache) => {
|
|
183
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
183
|
+
return openBlock(), createElementBlock("div", _hoisted_1$L, [
|
|
184
184
|
createVNode(unref(_sfc_main$N), {
|
|
185
185
|
ref_key: "suggestion",
|
|
186
186
|
ref: suggestion,
|
|
@@ -216,7 +216,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
216
216
|
};
|
|
217
217
|
}
|
|
218
218
|
});
|
|
219
|
-
const _hoisted_1$
|
|
219
|
+
const _hoisted_1$K = {
|
|
220
220
|
key: 0,
|
|
221
221
|
class: "loading"
|
|
222
222
|
};
|
|
@@ -319,7 +319,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
319
319
|
onClick: withModifiers(_ctx.onClick, ["stop"])
|
|
320
320
|
}, {
|
|
321
321
|
default: withCtx(() => [
|
|
322
|
-
_ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
322
|
+
_ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_1$K)) : (openBlock(), createElementBlock("div", _hoisted_2$v, [
|
|
323
323
|
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$c), {
|
|
324
324
|
key: 0,
|
|
325
325
|
icon: _ctx.icon
|
|
@@ -340,7 +340,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
340
340
|
}
|
|
341
341
|
});
|
|
342
342
|
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-c00fb1b9"]]);
|
|
343
|
-
const _hoisted_1$
|
|
343
|
+
const _hoisted_1$J = ["dismissable"];
|
|
344
344
|
const _hoisted_2$u = { class: "m-0" };
|
|
345
345
|
const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
346
346
|
__name: "Alert",
|
|
@@ -378,12 +378,12 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
378
378
|
icon: "close",
|
|
379
379
|
onClick: _cache[0] || (_cache[0] = ($event) => isDismissed.value = true)
|
|
380
380
|
})
|
|
381
|
-
], 10, _hoisted_1$
|
|
381
|
+
], 10, _hoisted_1$J)) : createCommentVNode("", true);
|
|
382
382
|
};
|
|
383
383
|
}
|
|
384
384
|
});
|
|
385
385
|
const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-57141c32"]]);
|
|
386
|
-
const _hoisted_1$
|
|
386
|
+
const _hoisted_1$I = ["src", "alt"];
|
|
387
387
|
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
388
388
|
__name: "Avatar",
|
|
389
389
|
props: {
|
|
@@ -402,7 +402,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
402
402
|
key: 0,
|
|
403
403
|
src: _ctx.src,
|
|
404
404
|
alt: _ctx.name
|
|
405
|
-
}, null, 8, _hoisted_1$
|
|
405
|
+
}, null, 8, _hoisted_1$I)) : (openBlock(), createElementBlock("p", {
|
|
406
406
|
key: 1,
|
|
407
407
|
style: normalizeStyle({ "line-height": `${_ctx.size}px`, "font-size": `calc(1.5rem * ${_ctx.size} / 50)` })
|
|
408
408
|
}, toDisplayString((_ctx.fallback || unref(initials)(_ctx.name || "")).toUpperCase()), 5))
|
|
@@ -443,7 +443,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
443
443
|
}
|
|
444
444
|
});
|
|
445
445
|
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-1b4c8cfe"]]);
|
|
446
|
-
const _hoisted_1$
|
|
446
|
+
const _hoisted_1$H = ["src"];
|
|
447
447
|
const _hoisted_2$t = ["src", "autoplay", "muted", "loop", "controls"];
|
|
448
448
|
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
449
449
|
__name: "BglVideo",
|
|
@@ -499,7 +499,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
499
499
|
allowfullscreen: "",
|
|
500
500
|
title: "Video",
|
|
501
501
|
allow: "autoplay"
|
|
502
|
-
}, null, 12, _hoisted_1$
|
|
502
|
+
}, null, 12, _hoisted_1$H)) : _ctx.src ? (openBlock(), createElementBlock("video", {
|
|
503
503
|
key: 1,
|
|
504
504
|
src: _ctx.src,
|
|
505
505
|
autoplay: _ctx.autoplay,
|
|
@@ -514,7 +514,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
514
514
|
}
|
|
515
515
|
});
|
|
516
516
|
const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-30c80244"]]);
|
|
517
|
-
const _hoisted_1$
|
|
517
|
+
const _hoisted_1$G = {
|
|
518
518
|
key: 0,
|
|
519
519
|
class: "card_label"
|
|
520
520
|
};
|
|
@@ -546,7 +546,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
546
546
|
}])
|
|
547
547
|
}, {
|
|
548
548
|
default: withCtx(() => [
|
|
549
|
-
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
549
|
+
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$G, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
|
|
550
550
|
renderSlot(_ctx.$slots, "default")
|
|
551
551
|
]),
|
|
552
552
|
_: 3
|
|
@@ -554,7 +554,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
554
554
|
};
|
|
555
555
|
}
|
|
556
556
|
});
|
|
557
|
-
const _hoisted_1$
|
|
557
|
+
const _hoisted_1$F = {
|
|
558
558
|
key: 0,
|
|
559
559
|
class: "blocker"
|
|
560
560
|
};
|
|
@@ -748,7 +748,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
748
748
|
onScroll: scrollEnd,
|
|
749
749
|
onMousedown: startDragging
|
|
750
750
|
}, [
|
|
751
|
-
unref(isDragging) ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
751
|
+
unref(isDragging) ? (openBlock(), createElementBlock("div", _hoisted_1$F)) : createCommentVNode("", true),
|
|
752
752
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
753
753
|
], 38),
|
|
754
754
|
createElementVNode("div", _hoisted_2$s, [
|
|
@@ -6710,13 +6710,13 @@ var script = defineComponent({
|
|
|
6710
6710
|
return { bar, canvas, direction, mouse };
|
|
6711
6711
|
}
|
|
6712
6712
|
});
|
|
6713
|
-
const _hoisted_1$
|
|
6713
|
+
const _hoisted_1$E = {
|
|
6714
6714
|
key: 0,
|
|
6715
6715
|
class: "layer-hover-bar"
|
|
6716
6716
|
};
|
|
6717
6717
|
const _hoisted_2$r = ["x", "y", "width", "height"];
|
|
6718
6718
|
function render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6719
|
-
return _ctx.mouse.hover ? (openBlock(), createElementBlock("g", _hoisted_1$
|
|
6719
|
+
return _ctx.mouse.hover ? (openBlock(), createElementBlock("g", _hoisted_1$E, [
|
|
6720
6720
|
createElementVNode("rect", mergeProps({ class: "hover-bar" }, _ctx.barStyle, {
|
|
6721
6721
|
x: _ctx.bar.x,
|
|
6722
6722
|
y: _ctx.bar.y,
|
|
@@ -6868,7 +6868,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
6868
6868
|
};
|
|
6869
6869
|
}
|
|
6870
6870
|
});
|
|
6871
|
-
const _hoisted_1$
|
|
6871
|
+
const _hoisted_1$D = {
|
|
6872
6872
|
key: 0,
|
|
6873
6873
|
class: "data"
|
|
6874
6874
|
};
|
|
@@ -6925,7 +6925,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
6925
6925
|
const computedSchema = computed(() => getFallbackSchema([itemData.value], props2.showFields));
|
|
6926
6926
|
return (_ctx, _cache) => {
|
|
6927
6927
|
var _a2;
|
|
6928
|
-
return __props.data ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
6928
|
+
return __props.data ? (openBlock(), createElementBlock("div", _hoisted_1$D, [
|
|
6929
6929
|
_ctx.title ? (openBlock(), createBlock(unref(_sfc_main$3), {
|
|
6930
6930
|
key: 0,
|
|
6931
6931
|
label: _ctx.title
|
|
@@ -9845,7 +9845,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
9845
9845
|
};
|
|
9846
9846
|
}
|
|
9847
9847
|
});
|
|
9848
|
-
const _hoisted_1$
|
|
9848
|
+
const _hoisted_1$C = { key: 0 };
|
|
9849
9849
|
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
9850
9850
|
__name: "BglMultiStepForm",
|
|
9851
9851
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -9913,7 +9913,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
9913
9913
|
mode: "out-in"
|
|
9914
9914
|
}, {
|
|
9915
9915
|
default: withCtx(() => [
|
|
9916
|
-
!unref(isStepping) ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
9916
|
+
!unref(isStepping) ? (openBlock(), createElementBlock("div", _hoisted_1$C, [
|
|
9917
9917
|
createVNode(unref(_sfc_main$K), mergeProps({
|
|
9918
9918
|
ref_key: "formRef",
|
|
9919
9919
|
ref: formRef,
|
|
@@ -9953,7 +9953,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
9953
9953
|
};
|
|
9954
9954
|
}
|
|
9955
9955
|
});
|
|
9956
|
-
const _hoisted_1$
|
|
9956
|
+
const _hoisted_1$B = { class: "primary-checkbox" };
|
|
9957
9957
|
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
9958
9958
|
__name: "Checkbox",
|
|
9959
9959
|
props: {
|
|
@@ -9964,7 +9964,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
9964
9964
|
setup(__props) {
|
|
9965
9965
|
const val = useModel(__props, "modelValue");
|
|
9966
9966
|
return (_ctx, _cache) => {
|
|
9967
|
-
return openBlock(), createElementBlock("label", _hoisted_1$
|
|
9967
|
+
return openBlock(), createElementBlock("label", _hoisted_1$B, [
|
|
9968
9968
|
renderSlot(_ctx.$slots, "label", {}, void 0, true),
|
|
9969
9969
|
withDirectives(createElementVNode("input", {
|
|
9970
9970
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => val.value = $event),
|
|
@@ -9977,7 +9977,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
9977
9977
|
}
|
|
9978
9978
|
});
|
|
9979
9979
|
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-73f1d9ad"]]);
|
|
9980
|
-
const _hoisted_1$
|
|
9980
|
+
const _hoisted_1$A = ["title"];
|
|
9981
9981
|
const _hoisted_2$p = ["id", "value", "required"];
|
|
9982
9982
|
const _hoisted_3$j = ["for"];
|
|
9983
9983
|
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
@@ -10022,12 +10022,12 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
10022
10022
|
createTextVNode(toDisplayString(_ctx.label), 1)
|
|
10023
10023
|
], true)
|
|
10024
10024
|
], 8, _hoisted_3$j)
|
|
10025
|
-
], 10, _hoisted_1$
|
|
10025
|
+
], 10, _hoisted_1$A);
|
|
10026
10026
|
};
|
|
10027
10027
|
}
|
|
10028
10028
|
});
|
|
10029
10029
|
const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-03ed2982"]]);
|
|
10030
|
-
const _hoisted_1$
|
|
10030
|
+
const _hoisted_1$z = ["title"];
|
|
10031
10031
|
const _hoisted_2$o = ["id", "placeholder", "required"];
|
|
10032
10032
|
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
10033
10033
|
__name: "ColorPicker",
|
|
@@ -10071,7 +10071,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
10071
10071
|
[vModelText, inputVal.value]
|
|
10072
10072
|
])
|
|
10073
10073
|
])
|
|
10074
|
-
], 10, _hoisted_1$
|
|
10074
|
+
], 10, _hoisted_1$z)) : createCommentVNode("", true);
|
|
10075
10075
|
};
|
|
10076
10076
|
}
|
|
10077
10077
|
});
|
|
@@ -18514,7 +18514,7 @@ const eo = ({
|
|
|
18514
18514
|
Object.entries(go).forEach(([e, t]) => {
|
|
18515
18515
|
e !== "default" && (Hn[e] = t);
|
|
18516
18516
|
});
|
|
18517
|
-
const _hoisted_1$
|
|
18517
|
+
const _hoisted_1$y = ["title"];
|
|
18518
18518
|
const _hoisted_2$n = { key: 0 };
|
|
18519
18519
|
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
18520
18520
|
__name: "DateInput",
|
|
@@ -18574,11 +18574,11 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
18574
18574
|
"minutes-grid-increment": _ctx.minutesGridIncrement,
|
|
18575
18575
|
"start-time": { hours: 8, minutes: 0 }
|
|
18576
18576
|
}), null, 16, ["modelValue", "required", "enable-time-picker", "allowed-dates", "time-picker-inline", "minutes-increment", "minutes-grid-increment"])
|
|
18577
|
-
], 10, _hoisted_1$
|
|
18577
|
+
], 10, _hoisted_1$y);
|
|
18578
18578
|
};
|
|
18579
18579
|
}
|
|
18580
18580
|
});
|
|
18581
|
-
const _hoisted_1$
|
|
18581
|
+
const _hoisted_1$x = { class: "datetime-wrap" };
|
|
18582
18582
|
const _hoisted_2$m = { class: "date-wrap" };
|
|
18583
18583
|
const _hoisted_3$i = {
|
|
18584
18584
|
key: 0,
|
|
@@ -18614,7 +18614,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
18614
18614
|
return `${hour}:${minute}`;
|
|
18615
18615
|
});
|
|
18616
18616
|
return (_ctx, _cache) => {
|
|
18617
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
18617
|
+
return openBlock(), createElementBlock("div", _hoisted_1$x, [
|
|
18618
18618
|
createElementVNode("div", _hoisted_2$m, [
|
|
18619
18619
|
createVNode(unref(Hn), mergeProps({
|
|
18620
18620
|
modelValue: selectedDate.value,
|
|
@@ -18655,7 +18655,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
18655
18655
|
};
|
|
18656
18656
|
}
|
|
18657
18657
|
});
|
|
18658
|
-
const _hoisted_1$
|
|
18658
|
+
const _hoisted_1$w = { class: "bagel-input" };
|
|
18659
18659
|
const _hoisted_2$l = {
|
|
18660
18660
|
key: 0,
|
|
18661
18661
|
class: "bgl-multi-preview"
|
|
@@ -18840,7 +18840,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
18840
18840
|
return (_ctx, _cache) => {
|
|
18841
18841
|
const _directive_lightbox = resolveDirective("lightbox");
|
|
18842
18842
|
const _directive_tooltip = resolveDirective("tooltip");
|
|
18843
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
18843
|
+
return openBlock(), createElementBlock("div", _hoisted_1$w, [
|
|
18844
18844
|
createElementVNode("label", null, toDisplayString(_ctx.label), 1),
|
|
18845
18845
|
createElementVNode("div", {
|
|
18846
18846
|
class: normalizeClass(["fileUploadWrap", {
|
|
@@ -19001,7 +19001,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
19001
19001
|
}
|
|
19002
19002
|
});
|
|
19003
19003
|
const $el = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-bfb0bd63"]]);
|
|
19004
|
-
const _hoisted_1$
|
|
19004
|
+
const _hoisted_1$v = ["title"];
|
|
19005
19005
|
const _hoisted_2$k = { key: 0 };
|
|
19006
19006
|
const _hoisted_3$g = ["value", "placeholder"];
|
|
19007
19007
|
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
@@ -19036,12 +19036,12 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
19036
19036
|
placeholder: _ctx.placeholder,
|
|
19037
19037
|
onInput: handleInput
|
|
19038
19038
|
}, null, 42, _hoisted_3$g)
|
|
19039
|
-
], 10, _hoisted_1$
|
|
19039
|
+
], 10, _hoisted_1$v);
|
|
19040
19040
|
};
|
|
19041
19041
|
}
|
|
19042
19042
|
});
|
|
19043
19043
|
const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-1cbaeab2"]]);
|
|
19044
|
-
const _hoisted_1$
|
|
19044
|
+
const _hoisted_1$u = ["value", "autofocus", "onKeydown", "onPaste"];
|
|
19045
19045
|
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
19046
19046
|
__name: "OTP",
|
|
19047
19047
|
props: {
|
|
@@ -19140,14 +19140,14 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
19140
19140
|
oninput: "this.value = this.value.slice(0, 1);",
|
|
19141
19141
|
onKeydown: ($event) => handleKeyDown2($event, ind),
|
|
19142
19142
|
onPaste: ($event) => handlePaste2($event, ind)
|
|
19143
|
-
}, null, 40, _hoisted_1$
|
|
19143
|
+
}, null, 40, _hoisted_1$u);
|
|
19144
19144
|
}), 128))
|
|
19145
19145
|
], 512);
|
|
19146
19146
|
};
|
|
19147
19147
|
}
|
|
19148
19148
|
});
|
|
19149
19149
|
const OTP = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-5c22c199"]]);
|
|
19150
|
-
const _hoisted_1$
|
|
19150
|
+
const _hoisted_1$t = { class: "relative" };
|
|
19151
19151
|
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
19152
19152
|
__name: "PasswordInput",
|
|
19153
19153
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -19188,7 +19188,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
19188
19188
|
);
|
|
19189
19189
|
const inputType = computed(() => showPwd.value ? "text" : "password");
|
|
19190
19190
|
return (_ctx, _cache) => {
|
|
19191
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
19191
|
+
return openBlock(), createElementBlock("div", _hoisted_1$t, [
|
|
19192
19192
|
createVNode(unref(TextInput), mergeProps({
|
|
19193
19193
|
modelValue: password.value,
|
|
19194
19194
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => password.value = $event)
|
|
@@ -19208,7 +19208,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
19208
19208
|
};
|
|
19209
19209
|
}
|
|
19210
19210
|
});
|
|
19211
|
-
const _hoisted_1$
|
|
19211
|
+
const _hoisted_1$s = ["for"];
|
|
19212
19212
|
const _hoisted_2$j = ["id", "name", "value"];
|
|
19213
19213
|
const _hoisted_3$f = { class: "flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025" };
|
|
19214
19214
|
const _hoisted_4$b = ["src", "alt"];
|
|
@@ -19274,14 +19274,14 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
19274
19274
|
icon: "delete",
|
|
19275
19275
|
onClick: ($event) => _ctx.$emit("delete", opt)
|
|
19276
19276
|
}, null, 8, ["onClick"])) : createCommentVNode("", true)
|
|
19277
|
-
], 8, _hoisted_1$
|
|
19277
|
+
], 8, _hoisted_1$s);
|
|
19278
19278
|
}), 128))
|
|
19279
19279
|
]);
|
|
19280
19280
|
};
|
|
19281
19281
|
}
|
|
19282
19282
|
});
|
|
19283
19283
|
const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-3e9e030f"]]);
|
|
19284
|
-
const _hoisted_1$
|
|
19284
|
+
const _hoisted_1$r = { class: "bagel-input" };
|
|
19285
19285
|
const _hoisted_2$i = { class: "pb-025" };
|
|
19286
19286
|
const _hoisted_3$e = { class: "flex gap-05 flex-wrap" };
|
|
19287
19287
|
const _hoisted_4$a = ["id", "name", "value", "checked"];
|
|
@@ -19327,7 +19327,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
19327
19327
|
selectedValue.value = props2.modelValue;
|
|
19328
19328
|
});
|
|
19329
19329
|
return (_ctx, _cache) => {
|
|
19330
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
19330
|
+
return openBlock(), createElementBlock("div", _hoisted_1$r, [
|
|
19331
19331
|
createElementVNode("label", _hoisted_2$i, toDisplayString(_ctx.label), 1),
|
|
19332
19332
|
createElementVNode("div", _hoisted_3$e, [
|
|
19333
19333
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.options, (option2, index2) => {
|
|
@@ -19354,7 +19354,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
19354
19354
|
}
|
|
19355
19355
|
});
|
|
19356
19356
|
const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-cf892d71"]]);
|
|
19357
|
-
const _hoisted_1$
|
|
19357
|
+
const _hoisted_1$q = { class: "flex gap-1 align-center range-slide" };
|
|
19358
19358
|
const _hoisted_2$h = { key: 0 };
|
|
19359
19359
|
const _hoisted_3$d = ["max", "min", "step"];
|
|
19360
19360
|
const _hoisted_4$9 = { key: 1 };
|
|
@@ -19378,7 +19378,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
19378
19378
|
return `linear-gradient(to right, var(--bgl-primary) ${percentage}%, var(--input-bg) ${percentage}%)`;
|
|
19379
19379
|
});
|
|
19380
19380
|
return (_ctx, _cache) => {
|
|
19381
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
19381
|
+
return openBlock(), createElementBlock("div", _hoisted_1$q, [
|
|
19382
19382
|
_ctx.min !== void 0 ? (openBlock(), createElementBlock("p", _hoisted_2$h, toDisplayString(_ctx.min), 1)) : createCommentVNode("", true),
|
|
19383
19383
|
withDirectives(createElementVNode("input", {
|
|
19384
19384
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => val.value = $event),
|
|
@@ -43273,7 +43273,7 @@ defineComponent({
|
|
|
43273
43273
|
}, (_b = (_a2 = this.$slots).default) === null || _b === void 0 ? void 0 : _b.call(_a2));
|
|
43274
43274
|
}
|
|
43275
43275
|
});
|
|
43276
|
-
const _hoisted_1$
|
|
43276
|
+
const _hoisted_1$p = { class: "RichText" };
|
|
43277
43277
|
const _hoisted_2$g = {
|
|
43278
43278
|
key: 0,
|
|
43279
43279
|
class: "RichText-tools"
|
|
@@ -43503,7 +43503,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
43503
43503
|
});
|
|
43504
43504
|
return (_ctx, _cache) => {
|
|
43505
43505
|
const _directive_tooltip = resolveDirective("tooltip");
|
|
43506
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
43506
|
+
return openBlock(), createElementBlock("div", _hoisted_1$p, [
|
|
43507
43507
|
unref(editor) ? (openBlock(), createElementBlock("div", _hoisted_2$g, [
|
|
43508
43508
|
(openBlock(), createElementBlock(Fragment$1, null, renderList(config, (item) => {
|
|
43509
43509
|
var _a2;
|
|
@@ -43697,7 +43697,7 @@ function createTable() {
|
|
|
43697
43697
|
}
|
|
43698
43698
|
}
|
|
43699
43699
|
}
|
|
43700
|
-
const _hoisted_1$
|
|
43700
|
+
const _hoisted_1$o = { class: "flex gap-05" };
|
|
43701
43701
|
const _hoisted_2$f = ["disabled"];
|
|
43702
43702
|
const _hoisted_3$c = { key: 1 };
|
|
43703
43703
|
const _hoisted_4$8 = {
|
|
@@ -43723,7 +43723,8 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
43723
43723
|
hideLabel: { type: Boolean },
|
|
43724
43724
|
defaultValue: {},
|
|
43725
43725
|
clearable: { type: Boolean },
|
|
43726
|
-
searchPlaceholder: {}
|
|
43726
|
+
searchPlaceholder: {},
|
|
43727
|
+
onSearch: { type: Function }
|
|
43727
43728
|
},
|
|
43728
43729
|
emits: ["update:modelValue"],
|
|
43729
43730
|
setup(__props, { emit: __emit }) {
|
|
@@ -43749,10 +43750,26 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
43749
43750
|
}
|
|
43750
43751
|
return selectedItems.value.map((item) => getLabel(item)).join(", ");
|
|
43751
43752
|
});
|
|
43752
|
-
|
|
43753
|
-
|
|
43754
|
-
|
|
43755
|
-
|
|
43753
|
+
let serverOptions = ref([]);
|
|
43754
|
+
let isSearching = ref(false);
|
|
43755
|
+
async function runServerSearch() {
|
|
43756
|
+
if (props2.onSearch !== void 0) {
|
|
43757
|
+
isSearching.value = true;
|
|
43758
|
+
serverOptions.value = await props2.onSearch(search.value);
|
|
43759
|
+
isSearching.value = false;
|
|
43760
|
+
}
|
|
43761
|
+
}
|
|
43762
|
+
const filteredOptions = computed(() => {
|
|
43763
|
+
if (props2.onSearch !== void 0) {
|
|
43764
|
+
if (isSearching.value) return [];
|
|
43765
|
+
if (search.value.trim().length) return serverOptions.value;
|
|
43766
|
+
return props2.options;
|
|
43767
|
+
}
|
|
43768
|
+
return props2.options.filter((option2) => {
|
|
43769
|
+
const searchTerm = search.value.split(/\s+/).filter(Boolean).map((t) => new RegExp(t.replaceAll(/[.*+?^${}()|[\]\\]/g, "\\$&"), "gi"));
|
|
43770
|
+
return Boolean(option2) && searchTerm.every((s2) => getLabel(option2).match(s2));
|
|
43771
|
+
});
|
|
43772
|
+
});
|
|
43756
43773
|
const isSelected = (option2) => selectedItems.value.find((item) => getValue(option2) === getValue(item)) !== void 0;
|
|
43757
43774
|
function updateOpen(visible) {
|
|
43758
43775
|
open.value = visible;
|
|
@@ -43769,7 +43786,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
43769
43786
|
var _a2, _b, _c;
|
|
43770
43787
|
return (_c = (_b = (_a2 = searchInput.value) == null ? void 0 : _a2.$el) == null ? void 0 : _b.querySelector("input")) == null ? void 0 : _c.focus();
|
|
43771
43788
|
},
|
|
43772
|
-
|
|
43789
|
+
100
|
|
43773
43790
|
);
|
|
43774
43791
|
}
|
|
43775
43792
|
}
|
|
@@ -43846,6 +43863,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
43846
43863
|
{ deep: true, immediate: true }
|
|
43847
43864
|
);
|
|
43848
43865
|
onMounted(() => {
|
|
43866
|
+
console.log("mounted");
|
|
43849
43867
|
if (props2.defaultValue !== void 0) {
|
|
43850
43868
|
const defaultOption = props2.options.find(
|
|
43851
43869
|
(o2) => getValue(o2) === getValue(props2.defaultValue)
|
|
@@ -43860,12 +43878,13 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
43860
43878
|
ref: dropdown,
|
|
43861
43879
|
placement: "bottom-start",
|
|
43862
43880
|
class: "bagel-input selectinput",
|
|
43881
|
+
noAutoFocus: "",
|
|
43863
43882
|
onHide: _cache[5] || (_cache[5] = ($event) => updateOpen(false))
|
|
43864
43883
|
}, {
|
|
43865
43884
|
trigger: withCtx(() => [
|
|
43866
43885
|
createElementVNode("label", null, [
|
|
43867
43886
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
43868
|
-
createElementVNode("div", _hoisted_1$
|
|
43887
|
+
createElementVNode("div", _hoisted_1$o, [
|
|
43869
43888
|
_ctx.searchable && unref(open) ? (openBlock(), createBlock(unref(TextInput), {
|
|
43870
43889
|
key: 0,
|
|
43871
43890
|
ref_key: "searchInput",
|
|
@@ -43876,6 +43895,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
43876
43895
|
dense: "",
|
|
43877
43896
|
placeholder: searchPlaceholder.value,
|
|
43878
43897
|
icon: "search",
|
|
43898
|
+
onDebounce: runServerSearch,
|
|
43879
43899
|
onInput: _cache[1] || (_cache[1] = ($event) => isRef(selected) ? selected.value = false : selected = false)
|
|
43880
43900
|
}, null, 8, ["modelValue", "placeholder"])) : (openBlock(), createElementBlock("button", {
|
|
43881
43901
|
key: 1,
|
|
@@ -43919,6 +43939,13 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
43919
43939
|
])
|
|
43920
43940
|
]),
|
|
43921
43941
|
default: withCtx(() => [
|
|
43942
|
+
unref(isSearching) ? (openBlock(), createBlock(unref(Skeleton), {
|
|
43943
|
+
key: 0,
|
|
43944
|
+
count: 3,
|
|
43945
|
+
width: "230px",
|
|
43946
|
+
height: "30px",
|
|
43947
|
+
class: "mx-1 my-05"
|
|
43948
|
+
})) : createCommentVNode("", true),
|
|
43922
43949
|
createVNode(unref(_sfc_main$R), {
|
|
43923
43950
|
class: "p-05",
|
|
43924
43951
|
style: normalizeStyle({ width: _ctx.fullWidth ? "100%" : "auto" })
|
|
@@ -43964,8 +43991,8 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
43964
43991
|
};
|
|
43965
43992
|
}
|
|
43966
43993
|
});
|
|
43967
|
-
const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-
|
|
43968
|
-
const _hoisted_1$
|
|
43994
|
+
const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-e3164caf"]]);
|
|
43995
|
+
const _hoisted_1$n = {
|
|
43969
43996
|
class: "toolbar flex gap-025 pb-05 flex-wrap",
|
|
43970
43997
|
role: "toolbar"
|
|
43971
43998
|
};
|
|
@@ -43999,7 +44026,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
43999
44026
|
}
|
|
44000
44027
|
return (_ctx, _cache) => {
|
|
44001
44028
|
const _directive_tooltip = resolveDirective("tooltip");
|
|
44002
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
44029
|
+
return openBlock(), createElementBlock("div", _hoisted_1$n, [
|
|
44003
44030
|
createVNode(SelectInput, {
|
|
44004
44031
|
class: "m-0 w150",
|
|
44005
44032
|
options: ["Text", "Heading 1", "Heading 2", "Heading 3", "Heading 4", "Heading 5", "Heading 6", "Blockquote", "Code"],
|
|
@@ -44028,7 +44055,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
44028
44055
|
};
|
|
44029
44056
|
}
|
|
44030
44057
|
});
|
|
44031
|
-
const _hoisted_1$
|
|
44058
|
+
const _hoisted_1$m = { class: "rich-text-editor rounded pt-05 px-1 pb-1" };
|
|
44032
44059
|
const _hoisted_2$e = { class: "editor-container flex flex-stretch gap-1 m_column" };
|
|
44033
44060
|
const _hoisted_3$b = { class: "content-area radius-05 p-1 shadow-light w-100 grid" };
|
|
44034
44061
|
const _hoisted_4$7 = {
|
|
@@ -44162,7 +44189,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
44162
44189
|
}
|
|
44163
44190
|
}
|
|
44164
44191
|
return (_ctx, _cache) => {
|
|
44165
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
44192
|
+
return openBlock(), createElementBlock("div", _hoisted_1$m, [
|
|
44166
44193
|
createVNode(_sfc_main$u, {
|
|
44167
44194
|
config: config.value,
|
|
44168
44195
|
onAction: handleToolbarAction
|
|
@@ -44788,7 +44815,7 @@ class SignaturePad extends SignatureEventTarget {
|
|
|
44788
44815
|
return svg.outerHTML;
|
|
44789
44816
|
}
|
|
44790
44817
|
}
|
|
44791
|
-
const _hoisted_1$
|
|
44818
|
+
const _hoisted_1$l = ["disabled"];
|
|
44792
44819
|
const _hoisted_2$d = {
|
|
44793
44820
|
key: 1,
|
|
44794
44821
|
placeholder: "required",
|
|
@@ -44949,7 +44976,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
44949
44976
|
ref: vCanvas,
|
|
44950
44977
|
class: "canvas",
|
|
44951
44978
|
disabled: _ctx.disabled
|
|
44952
|
-
}, null, 8, _hoisted_1$
|
|
44979
|
+
}, null, 8, _hoisted_1$l),
|
|
44953
44980
|
_ctx.required && unref(_isEmpty) ? (openBlock(), createElementBlock("input", _hoisted_2$d)) : createCommentVNode("", true)
|
|
44954
44981
|
], 34);
|
|
44955
44982
|
};
|
|
@@ -47434,7 +47461,7 @@ const VueDraggableNext = defineComponent({
|
|
|
47434
47461
|
}
|
|
47435
47462
|
}
|
|
47436
47463
|
});
|
|
47437
|
-
const _hoisted_1$
|
|
47464
|
+
const _hoisted_1$k = ["title"];
|
|
47438
47465
|
const _hoisted_2$c = { class: "bagel-input" };
|
|
47439
47466
|
const _hoisted_3$a = { class: "table-side-scroll" };
|
|
47440
47467
|
const _hoisted_4$6 = { class: "table-header" };
|
|
@@ -47580,7 +47607,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
47580
47607
|
])),
|
|
47581
47608
|
_: 1
|
|
47582
47609
|
})
|
|
47583
|
-
], 8, _hoisted_1$
|
|
47610
|
+
], 8, _hoisted_1$k);
|
|
47584
47611
|
};
|
|
47585
47612
|
}
|
|
47586
47613
|
});
|
|
@@ -52051,7 +52078,7 @@ function parsePhoneNumber$1() {
|
|
|
52051
52078
|
function parsePhoneNumber() {
|
|
52052
52079
|
return withMetadataArgument(parsePhoneNumber$1, arguments);
|
|
52053
52080
|
}
|
|
52054
|
-
const _hoisted_1$
|
|
52081
|
+
const _hoisted_1$j = ["aria-expanded"];
|
|
52055
52082
|
const _hoisted_2$b = { class: "p-075 tel-countryp-dropdown" };
|
|
52056
52083
|
const _hoisted_3$9 = ["aria-selected", "onClick", "onMousemove"];
|
|
52057
52084
|
const _hoisted_4$5 = { class: "tel-country" };
|
|
@@ -52405,14 +52432,14 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
52405
52432
|
}, null, 44, _hoisted_6$4), [
|
|
52406
52433
|
[vModelText, phone.value]
|
|
52407
52434
|
])
|
|
52408
|
-
], 40, _hoisted_1$
|
|
52435
|
+
], 40, _hoisted_1$j)
|
|
52409
52436
|
])
|
|
52410
52437
|
], 2);
|
|
52411
52438
|
};
|
|
52412
52439
|
}
|
|
52413
52440
|
});
|
|
52414
52441
|
const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-627af458"]]);
|
|
52415
|
-
const _hoisted_1$
|
|
52442
|
+
const _hoisted_1$i = ["title"];
|
|
52416
52443
|
const _hoisted_2$a = ["for"];
|
|
52417
52444
|
const _hoisted_3$8 = ["id", "title", "autocomplete", "type", "placeholder", "disabled", "required", "pattern"];
|
|
52418
52445
|
const _hoisted_4$4 = ["id", "title", "type", "rows", "placeholder", "disabled", "required", "pattern"];
|
|
@@ -52548,12 +52575,12 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
52548
52575
|
key: 1,
|
|
52549
52576
|
icon: _ctx.icon
|
|
52550
52577
|
}, null, 8, ["icon"])) : createCommentVNode("", true)
|
|
52551
|
-
], 10, _hoisted_1$
|
|
52578
|
+
], 10, _hoisted_1$i);
|
|
52552
52579
|
};
|
|
52553
52580
|
}
|
|
52554
52581
|
});
|
|
52555
52582
|
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-e5ae4283"]]);
|
|
52556
|
-
const _hoisted_1$
|
|
52583
|
+
const _hoisted_1$h = ["title"];
|
|
52557
52584
|
const _hoisted_2$9 = ["id", "required"];
|
|
52558
52585
|
const _hoisted_3$7 = ["for"];
|
|
52559
52586
|
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
@@ -52600,12 +52627,12 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
52600
52627
|
createTextVNode(toDisplayString(_ctx.label), 1)
|
|
52601
52628
|
], true)
|
|
52602
52629
|
], 8, _hoisted_3$7)
|
|
52603
|
-
], 10, _hoisted_1$
|
|
52630
|
+
], 10, _hoisted_1$h);
|
|
52604
52631
|
};
|
|
52605
52632
|
}
|
|
52606
52633
|
});
|
|
52607
52634
|
const ToggleInput = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-486451e5"]]);
|
|
52608
|
-
const _hoisted_1$
|
|
52635
|
+
const _hoisted_1$g = { class: "m-0 pb-025 txt14 line-height-1" };
|
|
52609
52636
|
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
52610
52637
|
__name: "BottomMenu",
|
|
52611
52638
|
props: {
|
|
@@ -52629,7 +52656,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
52629
52656
|
size: 1.4,
|
|
52630
52657
|
class: "m-0 line-height-14"
|
|
52631
52658
|
}, null, 8, ["icon"]),
|
|
52632
|
-
createElementVNode("p", _hoisted_1$
|
|
52659
|
+
createElementVNode("p", _hoisted_1$g, toDisplayString(nav2.label), 1)
|
|
52633
52660
|
]),
|
|
52634
52661
|
_: 2
|
|
52635
52662
|
}, 1032, ["to", "onClick"]);
|
|
@@ -52683,7 +52710,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
52683
52710
|
}
|
|
52684
52711
|
});
|
|
52685
52712
|
const Layout = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-1814129a"]]);
|
|
52686
|
-
const _hoisted_1$
|
|
52713
|
+
const _hoisted_1$f = { key: 0 };
|
|
52687
52714
|
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
52688
52715
|
__name: "SidebarMenu",
|
|
52689
52716
|
props: {
|
|
@@ -52731,7 +52758,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
52731
52758
|
}, null, 8, ["icon"]),
|
|
52732
52759
|
createVNode(Transition, { name: "showP" }, {
|
|
52733
52760
|
default: withCtx(() => [
|
|
52734
|
-
_ctx.open ? (openBlock(), createElementBlock("p", _hoisted_1$
|
|
52761
|
+
_ctx.open ? (openBlock(), createElementBlock("p", _hoisted_1$f, toDisplayString(nav2.label), 1)) : createCommentVNode("", true)
|
|
52735
52762
|
]),
|
|
52736
52763
|
_: 2
|
|
52737
52764
|
}, 1024)
|
|
@@ -52760,36 +52787,38 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
52760
52787
|
}
|
|
52761
52788
|
});
|
|
52762
52789
|
const SidebarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-51cedd11"]]);
|
|
52763
|
-
const _hoisted_1$f = {
|
|
52764
|
-
key: 0,
|
|
52765
|
-
class: "skeleton-wrap"
|
|
52766
|
-
};
|
|
52767
52790
|
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
52768
52791
|
__name: "Skeleton",
|
|
52769
52792
|
props: {
|
|
52770
52793
|
count: { default: 1 },
|
|
52771
52794
|
height: { default: "50px" },
|
|
52772
52795
|
width: { default: "auto" },
|
|
52773
|
-
|
|
52796
|
+
round: { type: Boolean, default: false },
|
|
52797
|
+
borderRadius: { default: "var(--skeleton-radius)" },
|
|
52798
|
+
class: { default: "" }
|
|
52774
52799
|
},
|
|
52775
52800
|
setup(__props) {
|
|
52801
|
+
const className = toRef(__props, "class");
|
|
52776
52802
|
const slots = useSlots();
|
|
52777
52803
|
return (_ctx, _cache) => {
|
|
52778
|
-
return openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.count, (i2) => {
|
|
52804
|
+
return openBlock(true), createElementBlock(Fragment$1, null, renderList(+_ctx.count, (i2) => {
|
|
52779
52805
|
return openBlock(), createElementBlock(Fragment$1, { key: i2 }, [
|
|
52780
|
-
unref(slots).default ? (openBlock(), createElementBlock("div",
|
|
52806
|
+
unref(slots).default ? (openBlock(), createElementBlock("div", {
|
|
52807
|
+
key: 0,
|
|
52808
|
+
class: normalizeClass(["skeleton-wrap", className.value])
|
|
52809
|
+
}, [
|
|
52781
52810
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
52782
|
-
])) : (openBlock(), createElementBlock("div", {
|
|
52811
|
+
], 2)) : (openBlock(), createElementBlock("div", {
|
|
52783
52812
|
key: 1,
|
|
52784
|
-
class: "skeleton",
|
|
52813
|
+
class: normalizeClass(["skeleton", { round: _ctx.round, [className.value]: true }]),
|
|
52785
52814
|
style: normalizeStyle({ height: _ctx.height, width: _ctx.width, borderRadius: _ctx.borderRadius })
|
|
52786
|
-
}, null,
|
|
52815
|
+
}, null, 6))
|
|
52787
52816
|
], 64);
|
|
52788
52817
|
}), 128);
|
|
52789
52818
|
};
|
|
52790
52819
|
}
|
|
52791
52820
|
});
|
|
52792
|
-
const Skeleton = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-
|
|
52821
|
+
const Skeleton = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-9a44f23a"]]);
|
|
52793
52822
|
const _hoisted_1$e = { class: "bgl_card tabs-top" };
|
|
52794
52823
|
const _hoisted_2$8 = { class: "tabs grid auto-flow-columns fit-content" };
|
|
52795
52824
|
const _hoisted_3$6 = ["onClick"];
|
|
@@ -55383,7 +55412,8 @@ function slctField(id, label, options, config) {
|
|
|
55383
55412
|
attrs: {
|
|
55384
55413
|
disabled: config == null ? void 0 : config.disabled,
|
|
55385
55414
|
searchable: config == null ? void 0 : config.searchable,
|
|
55386
|
-
multiselect: config == null ? void 0 : config.multiselect
|
|
55415
|
+
multiselect: config == null ? void 0 : config.multiselect,
|
|
55416
|
+
onSearch: config == null ? void 0 : config.onSearch
|
|
55387
55417
|
}
|
|
55388
55418
|
};
|
|
55389
55419
|
}
|