@bagelink/vue 0.0.878 → 0.0.882
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Badge.vue.d.ts +5 -6
- package/dist/components/Badge.vue.d.ts.map +1 -1
- package/dist/components/Btn.vue.d.ts +2 -2
- package/dist/components/Btn.vue.d.ts.map +1 -1
- package/dist/components/DropDown.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/PasswordInput.vue.d.ts +1 -0
- package/dist/components/form/inputs/PasswordInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/SelectInput.vue.d.ts +1 -0
- package/dist/components/form/inputs/SelectInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/TextInput.vue.d.ts.map +1 -1
- package/dist/index.cjs +105 -77
- package/dist/index.mjs +105 -77
- package/dist/style.css +84 -81
- package/dist/utils/index.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/components/Badge.vue +7 -9
- package/src/components/Btn.vue +19 -20
- package/src/components/Dropdown.vue +1 -1
- package/src/components/form/inputs/PasswordInput.vue +11 -2
- package/src/components/form/inputs/SelectInput.vue +28 -7
- package/src/components/form/inputs/TextInput.vue +10 -11
- package/src/components/lightbox/Lightbox.vue +1 -1
- package/src/utils/index.ts +1 -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$L = ["aria-expanded", "aria-controls"];
|
|
56
56
|
const _hoisted_2$w = { class: "accordion-label" };
|
|
57
57
|
const _hoisted_3$n = ["id", "aria-hidden"];
|
|
58
58
|
const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
@@ -129,7 +129,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
129
129
|
}, [
|
|
130
130
|
createVNode(unref(_sfc_main$c), { icon: computedIcon.value }, null, 8, ["icon"])
|
|
131
131
|
], 2)) : createCommentVNode("", true)
|
|
132
|
-
], 8, _hoisted_1$
|
|
132
|
+
], 8, _hoisted_1$L),
|
|
133
133
|
createVNode(Transition, { name: "expand" }, {
|
|
134
134
|
default: withCtx(() => [
|
|
135
135
|
unref(isOpen) ? (openBlock(), createElementBlock("div", {
|
|
@@ -155,7 +155,7 @@ const _export_sfc = (sfc, props2) => {
|
|
|
155
155
|
return target;
|
|
156
156
|
};
|
|
157
157
|
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-bb26ed1a"]]);
|
|
158
|
-
const _hoisted_1$
|
|
158
|
+
const _hoisted_1$K = { class: "relative" };
|
|
159
159
|
const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
160
160
|
__name: "AddressSearch",
|
|
161
161
|
emits: ["addressSelected"],
|
|
@@ -178,7 +178,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
178
178
|
(_a2 = suggestion.value) == null ? void 0 : _a2.show();
|
|
179
179
|
}
|
|
180
180
|
return (_ctx, _cache) => {
|
|
181
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
181
|
+
return openBlock(), createElementBlock("div", _hoisted_1$K, [
|
|
182
182
|
createVNode(unref(_sfc_main$N), {
|
|
183
183
|
ref_key: "suggestion",
|
|
184
184
|
ref: suggestion,
|
|
@@ -214,7 +214,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
214
214
|
};
|
|
215
215
|
}
|
|
216
216
|
});
|
|
217
|
-
const _hoisted_1$
|
|
217
|
+
const _hoisted_1$J = {
|
|
218
218
|
key: 0,
|
|
219
219
|
class: "loading"
|
|
220
220
|
};
|
|
@@ -227,7 +227,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
227
227
|
props: {
|
|
228
228
|
disabled: { type: Boolean, default: false },
|
|
229
229
|
icon: {},
|
|
230
|
-
|
|
230
|
+
iconEnd: {},
|
|
231
231
|
color: {},
|
|
232
232
|
theme: {},
|
|
233
233
|
flat: { type: Boolean },
|
|
@@ -246,8 +246,8 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
246
246
|
},
|
|
247
247
|
setup(__props) {
|
|
248
248
|
useCssVars((_ctx) => ({
|
|
249
|
-
"
|
|
250
|
-
"
|
|
249
|
+
"f042e370": computedBackgroundColor.value,
|
|
250
|
+
"6e044b23": cumputedTextColor.value
|
|
251
251
|
}));
|
|
252
252
|
const props2 = __props;
|
|
253
253
|
const isComponent = computed(() => {
|
|
@@ -317,7 +317,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
317
317
|
onClick: withModifiers(_ctx.onClick, ["stop"])
|
|
318
318
|
}, {
|
|
319
319
|
default: withCtx(() => [
|
|
320
|
-
_ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
320
|
+
_ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_1$J)) : (openBlock(), createElementBlock("div", _hoisted_2$v, [
|
|
321
321
|
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$c), {
|
|
322
322
|
key: 0,
|
|
323
323
|
icon: _ctx.icon
|
|
@@ -326,9 +326,9 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
326
326
|
!unref(slots).default && _ctx.value ? (openBlock(), createElementBlock(Fragment$1, { key: 1 }, [
|
|
327
327
|
createTextVNode(toDisplayString(_ctx.value), 1)
|
|
328
328
|
], 64)) : createCommentVNode("", true),
|
|
329
|
-
|
|
329
|
+
_ctx.iconEnd ? (openBlock(), createBlock(unref(_sfc_main$c), {
|
|
330
330
|
key: 2,
|
|
331
|
-
icon:
|
|
331
|
+
icon: _ctx.iconEnd
|
|
332
332
|
}, null, 8, ["icon"])) : createCommentVNode("", true)
|
|
333
333
|
]))
|
|
334
334
|
]),
|
|
@@ -337,8 +337,8 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
337
337
|
};
|
|
338
338
|
}
|
|
339
339
|
});
|
|
340
|
-
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-
|
|
341
|
-
const _hoisted_1$
|
|
340
|
+
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-b6c20bd9"]]);
|
|
341
|
+
const _hoisted_1$I = ["dismissable"];
|
|
342
342
|
const _hoisted_2$u = { class: "m-0" };
|
|
343
343
|
const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
344
344
|
__name: "Alert",
|
|
@@ -376,12 +376,12 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
376
376
|
icon: "close",
|
|
377
377
|
onClick: _cache[0] || (_cache[0] = ($event) => isDismissed.value = true)
|
|
378
378
|
})
|
|
379
|
-
], 10, _hoisted_1$
|
|
379
|
+
], 10, _hoisted_1$I)) : createCommentVNode("", true);
|
|
380
380
|
};
|
|
381
381
|
}
|
|
382
382
|
});
|
|
383
383
|
const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-57141c32"]]);
|
|
384
|
-
const _hoisted_1$
|
|
384
|
+
const _hoisted_1$H = ["src", "alt"];
|
|
385
385
|
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
386
386
|
__name: "Avatar",
|
|
387
387
|
props: {
|
|
@@ -400,7 +400,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
400
400
|
key: 0,
|
|
401
401
|
src: _ctx.src,
|
|
402
402
|
alt: _ctx.name
|
|
403
|
-
}, null, 8, _hoisted_1$
|
|
403
|
+
}, null, 8, _hoisted_1$H)) : (openBlock(), createElementBlock("p", {
|
|
404
404
|
key: 1,
|
|
405
405
|
style: normalizeStyle({ "line-height": `${_ctx.size}px`, "font-size": `calc(1.5rem * ${_ctx.size} / 50)` })
|
|
406
406
|
}, toDisplayString((_ctx.fallback || unref(initials)(_ctx.name || "")).toUpperCase()), 5))
|
|
@@ -416,11 +416,9 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
416
416
|
size: {},
|
|
417
417
|
text: {},
|
|
418
418
|
icon: {},
|
|
419
|
-
"icon.end": {},
|
|
420
419
|
iconEnd: {}
|
|
421
420
|
},
|
|
422
421
|
setup(__props) {
|
|
423
|
-
const props2 = __props;
|
|
424
422
|
return (_ctx, _cache) => {
|
|
425
423
|
return openBlock(), createElementBlock("div", {
|
|
426
424
|
class: normalizeClass(["pill", [_ctx.color]])
|
|
@@ -431,17 +429,17 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
431
429
|
icon: _ctx.icon
|
|
432
430
|
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
433
431
|
createTextVNode(" " + toDisplayString(_ctx.text) + " ", 1),
|
|
434
|
-
|
|
432
|
+
_ctx.iconEnd ? (openBlock(), createBlock(unref(_sfc_main$c), {
|
|
435
433
|
key: 1,
|
|
436
434
|
class: "inline",
|
|
437
|
-
icon:
|
|
435
|
+
icon: _ctx.iconEnd
|
|
438
436
|
}, null, 8, ["icon"])) : createCommentVNode("", true)
|
|
439
437
|
], 2);
|
|
440
438
|
};
|
|
441
439
|
}
|
|
442
440
|
});
|
|
443
|
-
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-
|
|
444
|
-
const _hoisted_1$
|
|
441
|
+
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-2f3caf93"]]);
|
|
442
|
+
const _hoisted_1$G = ["src"];
|
|
445
443
|
const _hoisted_2$t = ["src", "autoplay", "muted", "loop", "controls"];
|
|
446
444
|
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
447
445
|
__name: "BglVideo",
|
|
@@ -497,7 +495,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
497
495
|
allowfullscreen: "",
|
|
498
496
|
title: "Video",
|
|
499
497
|
allow: "autoplay"
|
|
500
|
-
}, null, 12, _hoisted_1$
|
|
498
|
+
}, null, 12, _hoisted_1$G)) : _ctx.src ? (openBlock(), createElementBlock("video", {
|
|
501
499
|
key: 1,
|
|
502
500
|
src: _ctx.src,
|
|
503
501
|
autoplay: _ctx.autoplay,
|
|
@@ -512,7 +510,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
512
510
|
}
|
|
513
511
|
});
|
|
514
512
|
const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-30c80244"]]);
|
|
515
|
-
const _hoisted_1$
|
|
513
|
+
const _hoisted_1$F = {
|
|
516
514
|
key: 0,
|
|
517
515
|
class: "card_label"
|
|
518
516
|
};
|
|
@@ -544,7 +542,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
544
542
|
}])
|
|
545
543
|
}, {
|
|
546
544
|
default: withCtx(() => [
|
|
547
|
-
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
545
|
+
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$F, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
|
|
548
546
|
renderSlot(_ctx.$slots, "default")
|
|
549
547
|
]),
|
|
550
548
|
_: 3
|
|
@@ -552,7 +550,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
552
550
|
};
|
|
553
551
|
}
|
|
554
552
|
});
|
|
555
|
-
const _hoisted_1$
|
|
553
|
+
const _hoisted_1$E = ["dir"];
|
|
556
554
|
const _hoisted_2$s = {
|
|
557
555
|
key: 0,
|
|
558
556
|
class: "blocker"
|
|
@@ -735,7 +733,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
735
733
|
}, void 0, true)
|
|
736
734
|
])
|
|
737
735
|
])
|
|
738
|
-
], 14, _hoisted_1$
|
|
736
|
+
], 14, _hoisted_1$E);
|
|
739
737
|
};
|
|
740
738
|
}
|
|
741
739
|
});
|
|
@@ -6680,13 +6678,13 @@ var script = defineComponent({
|
|
|
6680
6678
|
return { bar, canvas, direction, mouse };
|
|
6681
6679
|
}
|
|
6682
6680
|
});
|
|
6683
|
-
const _hoisted_1$
|
|
6681
|
+
const _hoisted_1$D = {
|
|
6684
6682
|
key: 0,
|
|
6685
6683
|
class: "layer-hover-bar"
|
|
6686
6684
|
};
|
|
6687
6685
|
const _hoisted_2$r = ["x", "y", "width", "height"];
|
|
6688
6686
|
function render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6689
|
-
return _ctx.mouse.hover ? (openBlock(), createElementBlock("g", _hoisted_1$
|
|
6687
|
+
return _ctx.mouse.hover ? (openBlock(), createElementBlock("g", _hoisted_1$D, [
|
|
6690
6688
|
createElementVNode("rect", mergeProps({ class: "hover-bar" }, _ctx.barStyle, {
|
|
6691
6689
|
x: _ctx.bar.x,
|
|
6692
6690
|
y: _ctx.bar.y,
|
|
@@ -6838,7 +6836,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
6838
6836
|
};
|
|
6839
6837
|
}
|
|
6840
6838
|
});
|
|
6841
|
-
const _hoisted_1$
|
|
6839
|
+
const _hoisted_1$C = {
|
|
6842
6840
|
key: 0,
|
|
6843
6841
|
class: "data"
|
|
6844
6842
|
};
|
|
@@ -6895,7 +6893,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
6895
6893
|
const computedSchema = computed(() => getFallbackSchema([itemData.value], props2.showFields));
|
|
6896
6894
|
return (_ctx, _cache) => {
|
|
6897
6895
|
var _a2;
|
|
6898
|
-
return __props.data ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
6896
|
+
return __props.data ? (openBlock(), createElementBlock("div", _hoisted_1$C, [
|
|
6899
6897
|
_ctx.title ? (openBlock(), createBlock(unref(_sfc_main$3), {
|
|
6900
6898
|
key: 0,
|
|
6901
6899
|
label: _ctx.title
|
|
@@ -9815,7 +9813,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
9815
9813
|
};
|
|
9816
9814
|
}
|
|
9817
9815
|
});
|
|
9818
|
-
const _hoisted_1$
|
|
9816
|
+
const _hoisted_1$B = { key: 0 };
|
|
9819
9817
|
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
9820
9818
|
__name: "BglMultiStepForm",
|
|
9821
9819
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -9883,7 +9881,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
9883
9881
|
mode: "out-in"
|
|
9884
9882
|
}, {
|
|
9885
9883
|
default: withCtx(() => [
|
|
9886
|
-
!unref(isStepping) ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
9884
|
+
!unref(isStepping) ? (openBlock(), createElementBlock("div", _hoisted_1$B, [
|
|
9887
9885
|
createVNode(unref(_sfc_main$K), mergeProps({
|
|
9888
9886
|
ref_key: "formRef",
|
|
9889
9887
|
ref: formRef,
|
|
@@ -9923,7 +9921,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
9923
9921
|
};
|
|
9924
9922
|
}
|
|
9925
9923
|
});
|
|
9926
|
-
const _hoisted_1$
|
|
9924
|
+
const _hoisted_1$A = { class: "primary-checkbox" };
|
|
9927
9925
|
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
9928
9926
|
__name: "Checkbox",
|
|
9929
9927
|
props: {
|
|
@@ -9934,7 +9932,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
9934
9932
|
setup(__props) {
|
|
9935
9933
|
const val = useModel(__props, "modelValue");
|
|
9936
9934
|
return (_ctx, _cache) => {
|
|
9937
|
-
return openBlock(), createElementBlock("label", _hoisted_1$
|
|
9935
|
+
return openBlock(), createElementBlock("label", _hoisted_1$A, [
|
|
9938
9936
|
renderSlot(_ctx.$slots, "label", {}, void 0, true),
|
|
9939
9937
|
withDirectives(createElementVNode("input", {
|
|
9940
9938
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => val.value = $event),
|
|
@@ -9947,7 +9945,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
9947
9945
|
}
|
|
9948
9946
|
});
|
|
9949
9947
|
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-73f1d9ad"]]);
|
|
9950
|
-
const _hoisted_1$
|
|
9948
|
+
const _hoisted_1$z = ["title"];
|
|
9951
9949
|
const _hoisted_2$p = ["id", "value", "required"];
|
|
9952
9950
|
const _hoisted_3$j = ["for"];
|
|
9953
9951
|
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
@@ -9992,12 +9990,12 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
9992
9990
|
createTextVNode(toDisplayString(_ctx.label), 1)
|
|
9993
9991
|
], true)
|
|
9994
9992
|
], 8, _hoisted_3$j)
|
|
9995
|
-
], 10, _hoisted_1$
|
|
9993
|
+
], 10, _hoisted_1$z);
|
|
9996
9994
|
};
|
|
9997
9995
|
}
|
|
9998
9996
|
});
|
|
9999
9997
|
const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-03ed2982"]]);
|
|
10000
|
-
const _hoisted_1$
|
|
9998
|
+
const _hoisted_1$y = ["title"];
|
|
10001
9999
|
const _hoisted_2$o = ["id", "placeholder", "required"];
|
|
10002
10000
|
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
10003
10001
|
__name: "ColorPicker",
|
|
@@ -10041,7 +10039,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
10041
10039
|
[vModelText, inputVal.value]
|
|
10042
10040
|
])
|
|
10043
10041
|
])
|
|
10044
|
-
], 10, _hoisted_1$
|
|
10042
|
+
], 10, _hoisted_1$y)) : createCommentVNode("", true);
|
|
10045
10043
|
};
|
|
10046
10044
|
}
|
|
10047
10045
|
});
|
|
@@ -18484,7 +18482,7 @@ const eo = ({
|
|
|
18484
18482
|
Object.entries(go).forEach(([e, t]) => {
|
|
18485
18483
|
e !== "default" && (Hn[e] = t);
|
|
18486
18484
|
});
|
|
18487
|
-
const _hoisted_1$
|
|
18485
|
+
const _hoisted_1$x = ["title"];
|
|
18488
18486
|
const _hoisted_2$n = { key: 0 };
|
|
18489
18487
|
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
18490
18488
|
__name: "DateInput",
|
|
@@ -18544,11 +18542,11 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
18544
18542
|
"minutes-grid-increment": _ctx.minutesGridIncrement,
|
|
18545
18543
|
"start-time": { hours: 8, minutes: 0 }
|
|
18546
18544
|
}), null, 16, ["modelValue", "required", "enable-time-picker", "allowed-dates", "time-picker-inline", "minutes-increment", "minutes-grid-increment"])
|
|
18547
|
-
], 10, _hoisted_1$
|
|
18545
|
+
], 10, _hoisted_1$x);
|
|
18548
18546
|
};
|
|
18549
18547
|
}
|
|
18550
18548
|
});
|
|
18551
|
-
const _hoisted_1$
|
|
18549
|
+
const _hoisted_1$w = { class: "datetime-wrap" };
|
|
18552
18550
|
const _hoisted_2$m = { class: "date-wrap" };
|
|
18553
18551
|
const _hoisted_3$i = {
|
|
18554
18552
|
key: 0,
|
|
@@ -18584,7 +18582,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
18584
18582
|
return `${hour}:${minute}`;
|
|
18585
18583
|
});
|
|
18586
18584
|
return (_ctx, _cache) => {
|
|
18587
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
18585
|
+
return openBlock(), createElementBlock("div", _hoisted_1$w, [
|
|
18588
18586
|
createElementVNode("div", _hoisted_2$m, [
|
|
18589
18587
|
createVNode(unref(Hn), mergeProps({
|
|
18590
18588
|
modelValue: selectedDate.value,
|
|
@@ -18625,7 +18623,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
18625
18623
|
};
|
|
18626
18624
|
}
|
|
18627
18625
|
});
|
|
18628
|
-
const _hoisted_1$
|
|
18626
|
+
const _hoisted_1$v = { class: "bagel-input" };
|
|
18629
18627
|
const _hoisted_2$l = {
|
|
18630
18628
|
key: 0,
|
|
18631
18629
|
class: "bgl-multi-preview"
|
|
@@ -18810,7 +18808,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
18810
18808
|
return (_ctx, _cache) => {
|
|
18811
18809
|
const _directive_lightbox = resolveDirective("lightbox");
|
|
18812
18810
|
const _directive_tooltip = resolveDirective("tooltip");
|
|
18813
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
18811
|
+
return openBlock(), createElementBlock("div", _hoisted_1$v, [
|
|
18814
18812
|
createElementVNode("label", null, toDisplayString(_ctx.label), 1),
|
|
18815
18813
|
createElementVNode("div", {
|
|
18816
18814
|
class: normalizeClass(["fileUploadWrap", {
|
|
@@ -18971,7 +18969,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
18971
18969
|
}
|
|
18972
18970
|
});
|
|
18973
18971
|
const $el = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-bfb0bd63"]]);
|
|
18974
|
-
const _hoisted_1$
|
|
18972
|
+
const _hoisted_1$u = ["title"];
|
|
18975
18973
|
const _hoisted_2$k = { key: 0 };
|
|
18976
18974
|
const _hoisted_3$g = ["value", "placeholder"];
|
|
18977
18975
|
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
@@ -19006,12 +19004,12 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
19006
19004
|
placeholder: _ctx.placeholder,
|
|
19007
19005
|
onInput: handleInput
|
|
19008
19006
|
}, null, 42, _hoisted_3$g)
|
|
19009
|
-
], 10, _hoisted_1$
|
|
19007
|
+
], 10, _hoisted_1$u);
|
|
19010
19008
|
};
|
|
19011
19009
|
}
|
|
19012
19010
|
});
|
|
19013
19011
|
const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-1cbaeab2"]]);
|
|
19014
|
-
const _hoisted_1$
|
|
19012
|
+
const _hoisted_1$t = ["value", "autofocus", "onKeydown", "onPaste"];
|
|
19015
19013
|
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
19016
19014
|
__name: "OTP",
|
|
19017
19015
|
props: {
|
|
@@ -19110,14 +19108,13 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
19110
19108
|
oninput: "this.value = this.value.slice(0, 1);",
|
|
19111
19109
|
onKeydown: ($event) => handleKeyDown2($event, ind),
|
|
19112
19110
|
onPaste: ($event) => handlePaste2($event, ind)
|
|
19113
|
-
}, null, 40, _hoisted_1$
|
|
19111
|
+
}, null, 40, _hoisted_1$t);
|
|
19114
19112
|
}), 128))
|
|
19115
19113
|
], 512);
|
|
19116
19114
|
};
|
|
19117
19115
|
}
|
|
19118
19116
|
});
|
|
19119
19117
|
const OTP = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-5c22c199"]]);
|
|
19120
|
-
const _hoisted_1$t = { class: "relative" };
|
|
19121
19118
|
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
19122
19119
|
__name: "PasswordInput",
|
|
19123
19120
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -19125,7 +19122,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
19125
19122
|
title: {},
|
|
19126
19123
|
helptext: {},
|
|
19127
19124
|
placeholder: {},
|
|
19128
|
-
label: {},
|
|
19125
|
+
label: { default: "" },
|
|
19129
19126
|
small: { type: Boolean },
|
|
19130
19127
|
dense: { type: Boolean },
|
|
19131
19128
|
required: { type: Boolean },
|
|
@@ -19152,6 +19149,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
19152
19149
|
emits: ["update:modelValue", "update:showPwd"],
|
|
19153
19150
|
setup(__props) {
|
|
19154
19151
|
const props2 = __props;
|
|
19152
|
+
const hasLabel = computed(() => props2.label && props2.label.trim() !== "");
|
|
19155
19153
|
const password = useModel(__props, "modelValue");
|
|
19156
19154
|
const showPwd = useModel(__props, "showPwd");
|
|
19157
19155
|
const toggleShowPwdIcon = computed(
|
|
@@ -19159,7 +19157,9 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
19159
19157
|
);
|
|
19160
19158
|
const inputType = computed(() => showPwd.value ? "text" : "password");
|
|
19161
19159
|
return (_ctx, _cache) => {
|
|
19162
|
-
return openBlock(), createElementBlock("div",
|
|
19160
|
+
return openBlock(), createElementBlock("div", {
|
|
19161
|
+
class: normalizeClass(["relative", { "has-label": hasLabel.value }])
|
|
19162
|
+
}, [
|
|
19163
19163
|
createVNode(unref(TextInput), mergeProps({
|
|
19164
19164
|
modelValue: password.value,
|
|
19165
19165
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => password.value = $event)
|
|
@@ -19174,7 +19174,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
19174
19174
|
icon: toggleShowPwdIcon.value,
|
|
19175
19175
|
onClick: _cache[1] || (_cache[1] = ($event) => showPwd.value = !showPwd.value)
|
|
19176
19176
|
}, null, 8, ["icon"])
|
|
19177
|
-
]);
|
|
19177
|
+
], 2);
|
|
19178
19178
|
};
|
|
19179
19179
|
}
|
|
19180
19180
|
});
|
|
@@ -44003,6 +44003,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
44003
44003
|
function openOptions() {
|
|
44004
44004
|
var _a2;
|
|
44005
44005
|
(_a2 = dropdown.value) == null ? void 0 : _a2.show();
|
|
44006
|
+
updateOpen(true);
|
|
44006
44007
|
}
|
|
44007
44008
|
const selectedLabel = computed(() => {
|
|
44008
44009
|
if (selectedItemCount.value === 0) return props2.placeholder || "Select";
|
|
@@ -44032,14 +44033,31 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
44032
44033
|
return Boolean(option2) && searchTerm.every((s2) => getLabel(option2).match(s2));
|
|
44033
44034
|
});
|
|
44034
44035
|
});
|
|
44036
|
+
let highlightedIndex = ref(0);
|
|
44037
|
+
const selectOptions = ref();
|
|
44038
|
+
function navigate(direction) {
|
|
44039
|
+
if (direction === "up") {
|
|
44040
|
+
highlightedIndex.value = highlightedIndex.value > 0 ? highlightedIndex.value - 1 : filteredOptions.value.length - 1;
|
|
44041
|
+
} else if (direction === "down") {
|
|
44042
|
+
highlightedIndex.value = highlightedIndex.value < filteredOptions.value.length - 1 ? highlightedIndex.value + 1 : 0;
|
|
44043
|
+
}
|
|
44044
|
+
setTimeout(() => {
|
|
44045
|
+
var _a2;
|
|
44046
|
+
const el = (_a2 = selectOptions.value) == null ? void 0 : _a2.children[highlightedIndex.value];
|
|
44047
|
+
if (el) el.focus();
|
|
44048
|
+
}, 10);
|
|
44049
|
+
}
|
|
44035
44050
|
const isSelected = (option2) => selectedItems.value.find((item) => getValue(option2) === getValue(item)) !== void 0;
|
|
44036
44051
|
function updateOpen(visible) {
|
|
44037
44052
|
open.value = visible;
|
|
44038
44053
|
if (!open.value) {
|
|
44039
|
-
if (props2.searchable && !props2.multiselect && !search.value && !selected.value)
|
|
44054
|
+
if (props2.searchable && !props2.multiselect && !search.value && !selected.value) {
|
|
44055
|
+
selectedItems.value = [];
|
|
44056
|
+
}
|
|
44040
44057
|
if (props2.searchable && !props2.multiselect && search.value && filteredOptions.value.length === 1 && !isSelected(filteredOptions.value[0])) {
|
|
44041
44058
|
select2(filteredOptions.value[0]);
|
|
44042
44059
|
}
|
|
44060
|
+
highlightedIndex.value = -1;
|
|
44043
44061
|
search.value = "";
|
|
44044
44062
|
} else {
|
|
44045
44063
|
if (props2.searchable && !props2.multiselect && selectedItemCount.value) search.value = selectedLabel.value;
|
|
@@ -44140,7 +44158,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
44140
44158
|
placement: "bottom-start",
|
|
44141
44159
|
class: "bagel-input selectinput",
|
|
44142
44160
|
noAutoFocus: "",
|
|
44143
|
-
onHide: _cache[
|
|
44161
|
+
onHide: _cache[10] || (_cache[10] = ($event) => updateOpen(false))
|
|
44144
44162
|
}, {
|
|
44145
44163
|
trigger: withCtx(() => [
|
|
44146
44164
|
createElementVNode("label", null, [
|
|
@@ -44153,18 +44171,22 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
44153
44171
|
modelValue: unref(search),
|
|
44154
44172
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(search) ? search.value = $event : search = $event),
|
|
44155
44173
|
class: "mb-0",
|
|
44156
|
-
dense: "",
|
|
44157
44174
|
placeholder: searchPlaceholder.value,
|
|
44158
44175
|
icon: "search",
|
|
44159
44176
|
onDebounce: runServerSearch,
|
|
44160
|
-
onInput: _cache[1] || (_cache[1] = ($event) => isRef(selected) ? selected.value = false : selected = false)
|
|
44177
|
+
onInput: _cache[1] || (_cache[1] = ($event) => isRef(selected) ? selected.value = false : selected = false),
|
|
44178
|
+
onKeydown: [
|
|
44179
|
+
_cache[2] || (_cache[2] = withKeys(withModifiers(($event) => navigate("down"), ["prevent"]), ["down"])),
|
|
44180
|
+
_cache[3] || (_cache[3] = withKeys(withModifiers(($event) => navigate("up"), ["prevent"]), ["up"])),
|
|
44181
|
+
_cache[4] || (_cache[4] = withKeys(($event) => updateOpen(false), ["enter"]))
|
|
44182
|
+
]
|
|
44161
44183
|
}, null, 8, ["modelValue", "placeholder"])) : (openBlock(), createElementBlock("button", {
|
|
44162
44184
|
key: 1,
|
|
44163
44185
|
disabled: _ctx.disabled,
|
|
44164
44186
|
type: "button",
|
|
44165
44187
|
class: normalizeClass(["selectinput-btn", { isEmpty: selectedItemCount.value === 0 }]),
|
|
44166
|
-
|
|
44167
|
-
onClick: _cache[
|
|
44188
|
+
onFocus: openOptions,
|
|
44189
|
+
onClick: _cache[6] || (_cache[6] = ($event) => updateOpen(true))
|
|
44168
44190
|
}, [
|
|
44169
44191
|
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$c), {
|
|
44170
44192
|
key: 0,
|
|
@@ -44177,7 +44199,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
44177
44199
|
thin: "",
|
|
44178
44200
|
icon: "clear",
|
|
44179
44201
|
class: "color-gray",
|
|
44180
|
-
onClick: _cache[
|
|
44202
|
+
onClick: _cache[5] || (_cache[5] = ($event) => {
|
|
44181
44203
|
isRef(selectedItems) ? selectedItems.value = [] : selectedItems = [];
|
|
44182
44204
|
emitUpdate();
|
|
44183
44205
|
})
|
|
@@ -44194,7 +44216,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
44194
44216
|
style: { "width": "0", "height": "0", "position": "absolute", "opacity": "0", "z-index": "-1" },
|
|
44195
44217
|
value: unref(selectedItems),
|
|
44196
44218
|
required: "",
|
|
44197
|
-
onInput: _cache[
|
|
44219
|
+
onInput: _cache[7] || (_cache[7] = ($event) => updateOpen(true))
|
|
44198
44220
|
}, null, 40, _hoisted_5$7)) : createCommentVNode("", true)
|
|
44199
44221
|
])
|
|
44200
44222
|
])
|
|
@@ -44213,6 +44235,8 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
44213
44235
|
}, {
|
|
44214
44236
|
default: withCtx(() => [
|
|
44215
44237
|
createElementVNode("div", {
|
|
44238
|
+
ref_key: "selectOptions",
|
|
44239
|
+
ref: selectOptions,
|
|
44216
44240
|
class: normalizeClass(["selectinput-options", { multiselect: _ctx.multiselect }])
|
|
44217
44241
|
}, [
|
|
44218
44242
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(filteredOptions.value, (option2, i2) => {
|
|
@@ -44223,7 +44247,11 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
44223
44247
|
tabindex: "0",
|
|
44224
44248
|
"aria-selected": isSelected(option2),
|
|
44225
44249
|
onClick: ($event) => select2(option2),
|
|
44226
|
-
onKeydown:
|
|
44250
|
+
onKeydown: [
|
|
44251
|
+
withKeys(($event) => select2(option2), ["enter"]),
|
|
44252
|
+
_cache[8] || (_cache[8] = withKeys(withModifiers(($event) => navigate("down"), ["prevent"]), ["down"])),
|
|
44253
|
+
_cache[9] || (_cache[9] = withKeys(withModifiers(($event) => navigate("up"), ["prevent"]), ["up"]))
|
|
44254
|
+
]
|
|
44227
44255
|
}, [
|
|
44228
44256
|
_ctx.multiselect ? (openBlock(), createElementBlock(Fragment$1, { key: 0 }, [
|
|
44229
44257
|
isSelected(option2) ? (openBlock(), createBlock(unref(_sfc_main$c), {
|
|
@@ -44252,7 +44280,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
44252
44280
|
};
|
|
44253
44281
|
}
|
|
44254
44282
|
});
|
|
44255
|
-
const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-
|
|
44283
|
+
const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-0ea75792"]]);
|
|
44256
44284
|
/*!
|
|
44257
44285
|
* Signature Pad v5.0.3 | https://github.com/szimek/signature_pad
|
|
44258
44286
|
* (c) 2024 Szymon Nowak | Released under the MIT license
|
|
@@ -52595,22 +52623,22 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
52595
52623
|
}), null, 16, _hoisted_4$4)), [
|
|
52596
52624
|
[vModelText, unref(inputVal)]
|
|
52597
52625
|
]),
|
|
52598
|
-
_ctx.helptext ? (openBlock(), createElementBlock("p", _hoisted_5$4, toDisplayString(_ctx.helptext), 1)) : createCommentVNode("", true)
|
|
52599
|
-
|
|
52600
|
-
|
|
52601
|
-
|
|
52602
|
-
|
|
52603
|
-
icon:
|
|
52604
|
-
|
|
52605
|
-
|
|
52606
|
-
|
|
52607
|
-
icon:
|
|
52608
|
-
|
|
52626
|
+
_ctx.helptext ? (openBlock(), createElementBlock("p", _hoisted_5$4, toDisplayString(_ctx.helptext), 1)) : createCommentVNode("", true),
|
|
52627
|
+
_ctx.iconStart ? (openBlock(), createBlock(unref(_sfc_main$c), {
|
|
52628
|
+
key: 3,
|
|
52629
|
+
class: "iconStart",
|
|
52630
|
+
icon: _ctx.iconStart
|
|
52631
|
+
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
52632
|
+
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$c), {
|
|
52633
|
+
key: 4,
|
|
52634
|
+
icon: _ctx.icon
|
|
52635
|
+
}, null, 8, ["icon"])) : createCommentVNode("", true)
|
|
52636
|
+
], 8, _hoisted_2$a)
|
|
52609
52637
|
], 10, _hoisted_1$i);
|
|
52610
52638
|
};
|
|
52611
52639
|
}
|
|
52612
52640
|
});
|
|
52613
|
-
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-
|
|
52641
|
+
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-91822151"]]);
|
|
52614
52642
|
const _hoisted_1$h = ["title"];
|
|
52615
52643
|
const _hoisted_2$9 = ["id", "required"];
|
|
52616
52644
|
const _hoisted_3$7 = ["for"];
|
|
@@ -55263,7 +55291,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
55263
55291
|
round: "",
|
|
55264
55292
|
thin: "",
|
|
55265
55293
|
flat: "",
|
|
55266
|
-
|
|
55294
|
+
iconEnd: "arrow_outward",
|
|
55267
55295
|
value: "Open File",
|
|
55268
55296
|
href: (_d = unref(currentItem)) == null ? void 0 : _d.src,
|
|
55269
55297
|
target: "_blank"
|
|
@@ -55351,7 +55379,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
55351
55379
|
};
|
|
55352
55380
|
}
|
|
55353
55381
|
});
|
|
55354
|
-
const Lightbox$1 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
55382
|
+
const Lightbox$1 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c8e5a3c4"]]);
|
|
55355
55383
|
const groups = {};
|
|
55356
55384
|
let clickHandler = (_e2) => void 0;
|
|
55357
55385
|
const lightboxDirective = {
|