@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/index.cjs CHANGED
@@ -54,7 +54,7 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
54
54
  };
55
55
  }
56
56
  });
57
- const _hoisted_1$M = ["aria-expanded", "aria-controls"];
57
+ const _hoisted_1$L = ["aria-expanded", "aria-controls"];
58
58
  const _hoisted_2$w = { class: "accordion-label" };
59
59
  const _hoisted_3$n = ["id", "aria-hidden"];
60
60
  const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
@@ -131,7 +131,7 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
131
131
  }, [
132
132
  vue.createVNode(vue.unref(_sfc_main$c), { icon: computedIcon.value }, null, 8, ["icon"])
133
133
  ], 2)) : vue.createCommentVNode("", true)
134
- ], 8, _hoisted_1$M),
134
+ ], 8, _hoisted_1$L),
135
135
  vue.createVNode(vue.Transition, { name: "expand" }, {
136
136
  default: vue.withCtx(() => [
137
137
  vue.unref(isOpen) ? (vue.openBlock(), vue.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-bb26ed1a"]]);
160
- const _hoisted_1$L = { class: "relative" };
160
+ const _hoisted_1$K = { class: "relative" };
161
161
  const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
162
162
  __name: "AddressSearch",
163
163
  emits: ["addressSelected"],
@@ -180,7 +180,7 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
180
180
  (_a2 = suggestion.value) == null ? void 0 : _a2.show();
181
181
  }
182
182
  return (_ctx, _cache) => {
183
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$L, [
183
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$K, [
184
184
  vue.createVNode(vue.unref(_sfc_main$N), {
185
185
  ref_key: "suggestion",
186
186
  ref: suggestion,
@@ -216,7 +216,7 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
216
216
  };
217
217
  }
218
218
  });
219
- const _hoisted_1$K = {
219
+ const _hoisted_1$J = {
220
220
  key: 0,
221
221
  class: "loading"
222
222
  };
@@ -229,7 +229,7 @@ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
229
229
  props: {
230
230
  disabled: { type: Boolean, default: false },
231
231
  icon: {},
232
- "icon.end": {},
232
+ iconEnd: {},
233
233
  color: {},
234
234
  theme: {},
235
235
  flat: { type: Boolean },
@@ -248,8 +248,8 @@ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
248
248
  },
249
249
  setup(__props) {
250
250
  vue.useCssVars((_ctx) => ({
251
- "17220d29": computedBackgroundColor.value,
252
- "1a04c6c4": cumputedTextColor.value
251
+ "f042e370": computedBackgroundColor.value,
252
+ "6e044b23": cumputedTextColor.value
253
253
  }));
254
254
  const props2 = __props;
255
255
  const isComponent = vue.computed(() => {
@@ -319,7 +319,7 @@ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
319
319
  onClick: vue.withModifiers(_ctx.onClick, ["stop"])
320
320
  }, {
321
321
  default: vue.withCtx(() => [
322
- _ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$K)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$v, [
322
+ _ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$J)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$v, [
323
323
  _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$c), {
324
324
  key: 0,
325
325
  icon: _ctx.icon
@@ -328,9 +328,9 @@ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
328
328
  !vue.unref(slots).default && _ctx.value ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
329
329
  vue.createTextVNode(vue.toDisplayString(_ctx.value), 1)
330
330
  ], 64)) : vue.createCommentVNode("", true),
331
- props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$c), {
331
+ _ctx.iconEnd ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$c), {
332
332
  key: 2,
333
- icon: props2["icon.end"]
333
+ icon: _ctx.iconEnd
334
334
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true)
335
335
  ]))
336
336
  ]),
@@ -339,8 +339,8 @@ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
339
339
  };
340
340
  }
341
341
  });
342
- const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-c00fb1b9"]]);
343
- const _hoisted_1$J = ["dismissable"];
342
+ const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-b6c20bd9"]]);
343
+ const _hoisted_1$I = ["dismissable"];
344
344
  const _hoisted_2$u = { class: "m-0" };
345
345
  const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
346
346
  __name: "Alert",
@@ -378,12 +378,12 @@ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
378
378
  icon: "close",
379
379
  onClick: _cache[0] || (_cache[0] = ($event) => isDismissed.value = true)
380
380
  })
381
- ], 10, _hoisted_1$J)) : vue.createCommentVNode("", true);
381
+ ], 10, _hoisted_1$I)) : vue.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$I = ["src", "alt"];
386
+ const _hoisted_1$H = ["src", "alt"];
387
387
  const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
388
388
  __name: "Avatar",
389
389
  props: {
@@ -402,7 +402,7 @@ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
402
402
  key: 0,
403
403
  src: _ctx.src,
404
404
  alt: _ctx.name
405
- }, null, 8, _hoisted_1$I)) : (vue.openBlock(), vue.createElementBlock("p", {
405
+ }, null, 8, _hoisted_1$H)) : (vue.openBlock(), vue.createElementBlock("p", {
406
406
  key: 1,
407
407
  style: vue.normalizeStyle({ "line-height": `${_ctx.size}px`, "font-size": `calc(1.5rem * ${_ctx.size} / 50)` })
408
408
  }, vue.toDisplayString((_ctx.fallback || vue.unref(initials)(_ctx.name || "")).toUpperCase()), 5))
@@ -418,11 +418,9 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
418
418
  size: {},
419
419
  text: {},
420
420
  icon: {},
421
- "icon.end": {},
422
421
  iconEnd: {}
423
422
  },
424
423
  setup(__props) {
425
- const props2 = __props;
426
424
  return (_ctx, _cache) => {
427
425
  return vue.openBlock(), vue.createElementBlock("div", {
428
426
  class: vue.normalizeClass(["pill", [_ctx.color]])
@@ -433,17 +431,17 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
433
431
  icon: _ctx.icon
434
432
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true),
435
433
  vue.createTextVNode(" " + vue.toDisplayString(_ctx.text) + " ", 1),
436
- props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$c), {
434
+ _ctx.iconEnd ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$c), {
437
435
  key: 1,
438
436
  class: "inline",
439
- icon: props2["icon.end"]
437
+ icon: _ctx.iconEnd
440
438
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true)
441
439
  ], 2);
442
440
  };
443
441
  }
444
442
  });
445
- const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-1b4c8cfe"]]);
446
- const _hoisted_1$H = ["src"];
443
+ const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-2f3caf93"]]);
444
+ const _hoisted_1$G = ["src"];
447
445
  const _hoisted_2$t = ["src", "autoplay", "muted", "loop", "controls"];
448
446
  const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
449
447
  __name: "BglVideo",
@@ -499,7 +497,7 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
499
497
  allowfullscreen: "",
500
498
  title: "Video",
501
499
  allow: "autoplay"
502
- }, null, 12, _hoisted_1$H)) : _ctx.src ? (vue.openBlock(), vue.createElementBlock("video", {
500
+ }, null, 12, _hoisted_1$G)) : _ctx.src ? (vue.openBlock(), vue.createElementBlock("video", {
503
501
  key: 1,
504
502
  src: _ctx.src,
505
503
  autoplay: _ctx.autoplay,
@@ -514,7 +512,7 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
514
512
  }
515
513
  });
516
514
  const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-30c80244"]]);
517
- const _hoisted_1$G = {
515
+ const _hoisted_1$F = {
518
516
  key: 0,
519
517
  class: "card_label"
520
518
  };
@@ -546,7 +544,7 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
546
544
  }])
547
545
  }, {
548
546
  default: vue.withCtx(() => [
549
- _ctx.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$G, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
547
+ _ctx.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$F, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
550
548
  vue.renderSlot(_ctx.$slots, "default")
551
549
  ]),
552
550
  _: 3
@@ -554,7 +552,7 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
554
552
  };
555
553
  }
556
554
  });
557
- const _hoisted_1$F = ["dir"];
555
+ const _hoisted_1$E = ["dir"];
558
556
  const _hoisted_2$s = {
559
557
  key: 0,
560
558
  class: "blocker"
@@ -737,7 +735,7 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
737
735
  }, void 0, true)
738
736
  ])
739
737
  ])
740
- ], 14, _hoisted_1$F);
738
+ ], 14, _hoisted_1$E);
741
739
  };
742
740
  }
743
741
  });
@@ -6682,13 +6680,13 @@ var script = vue.defineComponent({
6682
6680
  return { bar, canvas, direction, mouse };
6683
6681
  }
6684
6682
  });
6685
- const _hoisted_1$E = {
6683
+ const _hoisted_1$D = {
6686
6684
  key: 0,
6687
6685
  class: "layer-hover-bar"
6688
6686
  };
6689
6687
  const _hoisted_2$r = ["x", "y", "width", "height"];
6690
6688
  function render$e(_ctx, _cache, $props, $setup, $data, $options) {
6691
- return _ctx.mouse.hover ? (vue.openBlock(), vue.createElementBlock("g", _hoisted_1$E, [
6689
+ return _ctx.mouse.hover ? (vue.openBlock(), vue.createElementBlock("g", _hoisted_1$D, [
6692
6690
  vue.createElementVNode("rect", vue.mergeProps({ class: "hover-bar" }, _ctx.barStyle, {
6693
6691
  x: _ctx.bar.x,
6694
6692
  y: _ctx.bar.y,
@@ -6840,7 +6838,7 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
6840
6838
  };
6841
6839
  }
6842
6840
  });
6843
- const _hoisted_1$D = {
6841
+ const _hoisted_1$C = {
6844
6842
  key: 0,
6845
6843
  class: "data"
6846
6844
  };
@@ -6897,7 +6895,7 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
6897
6895
  const computedSchema = vue.computed(() => getFallbackSchema([itemData.value], props2.showFields));
6898
6896
  return (_ctx, _cache) => {
6899
6897
  var _a2;
6900
- return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$D, [
6898
+ return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$C, [
6901
6899
  _ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$3), {
6902
6900
  key: 0,
6903
6901
  label: _ctx.title
@@ -9817,7 +9815,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
9817
9815
  };
9818
9816
  }
9819
9817
  });
9820
- const _hoisted_1$C = { key: 0 };
9818
+ const _hoisted_1$B = { key: 0 };
9821
9819
  const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
9822
9820
  __name: "BglMultiStepForm",
9823
9821
  props: /* @__PURE__ */ vue.mergeModels({
@@ -9885,7 +9883,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
9885
9883
  mode: "out-in"
9886
9884
  }, {
9887
9885
  default: vue.withCtx(() => [
9888
- !vue.unref(isStepping) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$C, [
9886
+ !vue.unref(isStepping) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$B, [
9889
9887
  vue.createVNode(vue.unref(_sfc_main$K), vue.mergeProps({
9890
9888
  ref_key: "formRef",
9891
9889
  ref: formRef,
@@ -9925,7 +9923,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
9925
9923
  };
9926
9924
  }
9927
9925
  });
9928
- const _hoisted_1$B = { class: "primary-checkbox" };
9926
+ const _hoisted_1$A = { class: "primary-checkbox" };
9929
9927
  const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
9930
9928
  __name: "Checkbox",
9931
9929
  props: {
@@ -9936,7 +9934,7 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
9936
9934
  setup(__props) {
9937
9935
  const val = vue.useModel(__props, "modelValue");
9938
9936
  return (_ctx, _cache) => {
9939
- return vue.openBlock(), vue.createElementBlock("label", _hoisted_1$B, [
9937
+ return vue.openBlock(), vue.createElementBlock("label", _hoisted_1$A, [
9940
9938
  vue.renderSlot(_ctx.$slots, "label", {}, void 0, true),
9941
9939
  vue.withDirectives(vue.createElementVNode("input", {
9942
9940
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => val.value = $event),
@@ -9949,7 +9947,7 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
9949
9947
  }
9950
9948
  });
9951
9949
  const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-73f1d9ad"]]);
9952
- const _hoisted_1$A = ["title"];
9950
+ const _hoisted_1$z = ["title"];
9953
9951
  const _hoisted_2$p = ["id", "value", "required"];
9954
9952
  const _hoisted_3$j = ["for"];
9955
9953
  const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
@@ -9994,12 +9992,12 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
9994
9992
  vue.createTextVNode(vue.toDisplayString(_ctx.label), 1)
9995
9993
  ], true)
9996
9994
  ], 8, _hoisted_3$j)
9997
- ], 10, _hoisted_1$A);
9995
+ ], 10, _hoisted_1$z);
9998
9996
  };
9999
9997
  }
10000
9998
  });
10001
9999
  const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-03ed2982"]]);
10002
- const _hoisted_1$z = ["title"];
10000
+ const _hoisted_1$y = ["title"];
10003
10001
  const _hoisted_2$o = ["id", "placeholder", "required"];
10004
10002
  const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
10005
10003
  __name: "ColorPicker",
@@ -10043,7 +10041,7 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
10043
10041
  [vue.vModelText, inputVal.value]
10044
10042
  ])
10045
10043
  ])
10046
- ], 10, _hoisted_1$z)) : vue.createCommentVNode("", true);
10044
+ ], 10, _hoisted_1$y)) : vue.createCommentVNode("", true);
10047
10045
  };
10048
10046
  }
10049
10047
  });
@@ -18486,7 +18484,7 @@ const eo = ({
18486
18484
  Object.entries(go).forEach(([e, t]) => {
18487
18485
  e !== "default" && (Hn[e] = t);
18488
18486
  });
18489
- const _hoisted_1$y = ["title"];
18487
+ const _hoisted_1$x = ["title"];
18490
18488
  const _hoisted_2$n = { key: 0 };
18491
18489
  const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
18492
18490
  __name: "DateInput",
@@ -18546,11 +18544,11 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
18546
18544
  "minutes-grid-increment": _ctx.minutesGridIncrement,
18547
18545
  "start-time": { hours: 8, minutes: 0 }
18548
18546
  }), null, 16, ["modelValue", "required", "enable-time-picker", "allowed-dates", "time-picker-inline", "minutes-increment", "minutes-grid-increment"])
18549
- ], 10, _hoisted_1$y);
18547
+ ], 10, _hoisted_1$x);
18550
18548
  };
18551
18549
  }
18552
18550
  });
18553
- const _hoisted_1$x = { class: "datetime-wrap" };
18551
+ const _hoisted_1$w = { class: "datetime-wrap" };
18554
18552
  const _hoisted_2$m = { class: "date-wrap" };
18555
18553
  const _hoisted_3$i = {
18556
18554
  key: 0,
@@ -18586,7 +18584,7 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
18586
18584
  return `${hour}:${minute}`;
18587
18585
  });
18588
18586
  return (_ctx, _cache) => {
18589
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$x, [
18587
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$w, [
18590
18588
  vue.createElementVNode("div", _hoisted_2$m, [
18591
18589
  vue.createVNode(vue.unref(Hn), vue.mergeProps({
18592
18590
  modelValue: selectedDate.value,
@@ -18627,7 +18625,7 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
18627
18625
  };
18628
18626
  }
18629
18627
  });
18630
- const _hoisted_1$w = { class: "bagel-input" };
18628
+ const _hoisted_1$v = { class: "bagel-input" };
18631
18629
  const _hoisted_2$l = {
18632
18630
  key: 0,
18633
18631
  class: "bgl-multi-preview"
@@ -18812,7 +18810,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
18812
18810
  return (_ctx, _cache) => {
18813
18811
  const _directive_lightbox = vue.resolveDirective("lightbox");
18814
18812
  const _directive_tooltip = vue.resolveDirective("tooltip");
18815
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$w, [
18813
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$v, [
18816
18814
  vue.createElementVNode("label", null, vue.toDisplayString(_ctx.label), 1),
18817
18815
  vue.createElementVNode("div", {
18818
18816
  class: vue.normalizeClass(["fileUploadWrap", {
@@ -18973,7 +18971,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
18973
18971
  }
18974
18972
  });
18975
18973
  const $el = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-bfb0bd63"]]);
18976
- const _hoisted_1$v = ["title"];
18974
+ const _hoisted_1$u = ["title"];
18977
18975
  const _hoisted_2$k = { key: 0 };
18978
18976
  const _hoisted_3$g = ["value", "placeholder"];
18979
18977
  const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
@@ -19008,12 +19006,12 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
19008
19006
  placeholder: _ctx.placeholder,
19009
19007
  onInput: handleInput
19010
19008
  }, null, 42, _hoisted_3$g)
19011
- ], 10, _hoisted_1$v);
19009
+ ], 10, _hoisted_1$u);
19012
19010
  };
19013
19011
  }
19014
19012
  });
19015
19013
  const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-1cbaeab2"]]);
19016
- const _hoisted_1$u = ["value", "autofocus", "onKeydown", "onPaste"];
19014
+ const _hoisted_1$t = ["value", "autofocus", "onKeydown", "onPaste"];
19017
19015
  const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
19018
19016
  __name: "OTP",
19019
19017
  props: {
@@ -19112,14 +19110,13 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
19112
19110
  oninput: "this.value = this.value.slice(0, 1);",
19113
19111
  onKeydown: ($event) => handleKeyDown2($event, ind),
19114
19112
  onPaste: ($event) => handlePaste2($event, ind)
19115
- }, null, 40, _hoisted_1$u);
19113
+ }, null, 40, _hoisted_1$t);
19116
19114
  }), 128))
19117
19115
  ], 512);
19118
19116
  };
19119
19117
  }
19120
19118
  });
19121
19119
  const OTP = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-5c22c199"]]);
19122
- const _hoisted_1$t = { class: "relative" };
19123
19120
  const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
19124
19121
  __name: "PasswordInput",
19125
19122
  props: /* @__PURE__ */ vue.mergeModels({
@@ -19127,7 +19124,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
19127
19124
  title: {},
19128
19125
  helptext: {},
19129
19126
  placeholder: {},
19130
- label: {},
19127
+ label: { default: "" },
19131
19128
  small: { type: Boolean },
19132
19129
  dense: { type: Boolean },
19133
19130
  required: { type: Boolean },
@@ -19154,6 +19151,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
19154
19151
  emits: ["update:modelValue", "update:showPwd"],
19155
19152
  setup(__props) {
19156
19153
  const props2 = __props;
19154
+ const hasLabel = vue.computed(() => props2.label && props2.label.trim() !== "");
19157
19155
  const password = vue.useModel(__props, "modelValue");
19158
19156
  const showPwd = vue.useModel(__props, "showPwd");
19159
19157
  const toggleShowPwdIcon = vue.computed(
@@ -19161,7 +19159,9 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
19161
19159
  );
19162
19160
  const inputType = vue.computed(() => showPwd.value ? "text" : "password");
19163
19161
  return (_ctx, _cache) => {
19164
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$t, [
19162
+ return vue.openBlock(), vue.createElementBlock("div", {
19163
+ class: vue.normalizeClass(["relative", { "has-label": hasLabel.value }])
19164
+ }, [
19165
19165
  vue.createVNode(vue.unref(TextInput), vue.mergeProps({
19166
19166
  modelValue: password.value,
19167
19167
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => password.value = $event)
@@ -19176,7 +19176,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
19176
19176
  icon: toggleShowPwdIcon.value,
19177
19177
  onClick: _cache[1] || (_cache[1] = ($event) => showPwd.value = !showPwd.value)
19178
19178
  }, null, 8, ["icon"])
19179
- ]);
19179
+ ], 2);
19180
19180
  };
19181
19181
  }
19182
19182
  });
@@ -44005,6 +44005,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
44005
44005
  function openOptions() {
44006
44006
  var _a2;
44007
44007
  (_a2 = dropdown.value) == null ? void 0 : _a2.show();
44008
+ updateOpen(true);
44008
44009
  }
44009
44010
  const selectedLabel = vue.computed(() => {
44010
44011
  if (selectedItemCount.value === 0) return props2.placeholder || "Select";
@@ -44034,14 +44035,31 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
44034
44035
  return Boolean(option2) && searchTerm.every((s2) => getLabel(option2).match(s2));
44035
44036
  });
44036
44037
  });
44038
+ let highlightedIndex = vue.ref(0);
44039
+ const selectOptions = vue.ref();
44040
+ function navigate(direction) {
44041
+ if (direction === "up") {
44042
+ highlightedIndex.value = highlightedIndex.value > 0 ? highlightedIndex.value - 1 : filteredOptions.value.length - 1;
44043
+ } else if (direction === "down") {
44044
+ highlightedIndex.value = highlightedIndex.value < filteredOptions.value.length - 1 ? highlightedIndex.value + 1 : 0;
44045
+ }
44046
+ setTimeout(() => {
44047
+ var _a2;
44048
+ const el = (_a2 = selectOptions.value) == null ? void 0 : _a2.children[highlightedIndex.value];
44049
+ if (el) el.focus();
44050
+ }, 10);
44051
+ }
44037
44052
  const isSelected = (option2) => selectedItems.value.find((item) => getValue(option2) === getValue(item)) !== void 0;
44038
44053
  function updateOpen(visible) {
44039
44054
  open.value = visible;
44040
44055
  if (!open.value) {
44041
- if (props2.searchable && !props2.multiselect && !search.value && !selected.value) selectedItems.value = [];
44056
+ if (props2.searchable && !props2.multiselect && !search.value && !selected.value) {
44057
+ selectedItems.value = [];
44058
+ }
44042
44059
  if (props2.searchable && !props2.multiselect && search.value && filteredOptions.value.length === 1 && !isSelected(filteredOptions.value[0])) {
44043
44060
  select2(filteredOptions.value[0]);
44044
44061
  }
44062
+ highlightedIndex.value = -1;
44045
44063
  search.value = "";
44046
44064
  } else {
44047
44065
  if (props2.searchable && !props2.multiselect && selectedItemCount.value) search.value = selectedLabel.value;
@@ -44142,7 +44160,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
44142
44160
  placement: "bottom-start",
44143
44161
  class: "bagel-input selectinput",
44144
44162
  noAutoFocus: "",
44145
- onHide: _cache[5] || (_cache[5] = ($event) => updateOpen(false))
44163
+ onHide: _cache[10] || (_cache[10] = ($event) => updateOpen(false))
44146
44164
  }, {
44147
44165
  trigger: vue.withCtx(() => [
44148
44166
  vue.createElementVNode("label", null, [
@@ -44155,18 +44173,22 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
44155
44173
  modelValue: vue.unref(search),
44156
44174
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(search) ? search.value = $event : search = $event),
44157
44175
  class: "mb-0",
44158
- dense: "",
44159
44176
  placeholder: searchPlaceholder.value,
44160
44177
  icon: "search",
44161
44178
  onDebounce: runServerSearch,
44162
- onInput: _cache[1] || (_cache[1] = ($event) => vue.isRef(selected) ? selected.value = false : selected = false)
44179
+ onInput: _cache[1] || (_cache[1] = ($event) => vue.isRef(selected) ? selected.value = false : selected = false),
44180
+ onKeydown: [
44181
+ _cache[2] || (_cache[2] = vue.withKeys(vue.withModifiers(($event) => navigate("down"), ["prevent"]), ["down"])),
44182
+ _cache[3] || (_cache[3] = vue.withKeys(vue.withModifiers(($event) => navigate("up"), ["prevent"]), ["up"])),
44183
+ _cache[4] || (_cache[4] = vue.withKeys(($event) => updateOpen(false), ["enter"]))
44184
+ ]
44163
44185
  }, null, 8, ["modelValue", "placeholder"])) : (vue.openBlock(), vue.createElementBlock("button", {
44164
44186
  key: 1,
44165
44187
  disabled: _ctx.disabled,
44166
44188
  type: "button",
44167
44189
  class: vue.normalizeClass(["selectinput-btn", { isEmpty: selectedItemCount.value === 0 }]),
44168
- onKeydown: openOptions,
44169
- onClick: _cache[3] || (_cache[3] = ($event) => updateOpen(true))
44190
+ onFocus: openOptions,
44191
+ onClick: _cache[6] || (_cache[6] = ($event) => updateOpen(true))
44170
44192
  }, [
44171
44193
  _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$c), {
44172
44194
  key: 0,
@@ -44179,7 +44201,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
44179
44201
  thin: "",
44180
44202
  icon: "clear",
44181
44203
  class: "color-gray",
44182
- onClick: _cache[2] || (_cache[2] = ($event) => {
44204
+ onClick: _cache[5] || (_cache[5] = ($event) => {
44183
44205
  vue.isRef(selectedItems) ? selectedItems.value = [] : selectedItems = [];
44184
44206
  emitUpdate();
44185
44207
  })
@@ -44196,7 +44218,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
44196
44218
  style: { "width": "0", "height": "0", "position": "absolute", "opacity": "0", "z-index": "-1" },
44197
44219
  value: vue.unref(selectedItems),
44198
44220
  required: "",
44199
- onInput: _cache[4] || (_cache[4] = ($event) => updateOpen(true))
44221
+ onInput: _cache[7] || (_cache[7] = ($event) => updateOpen(true))
44200
44222
  }, null, 40, _hoisted_5$7)) : vue.createCommentVNode("", true)
44201
44223
  ])
44202
44224
  ])
@@ -44215,6 +44237,8 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
44215
44237
  }, {
44216
44238
  default: vue.withCtx(() => [
44217
44239
  vue.createElementVNode("div", {
44240
+ ref_key: "selectOptions",
44241
+ ref: selectOptions,
44218
44242
  class: vue.normalizeClass(["selectinput-options", { multiselect: _ctx.multiselect }])
44219
44243
  }, [
44220
44244
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(filteredOptions.value, (option2, i2) => {
@@ -44225,7 +44249,11 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
44225
44249
  tabindex: "0",
44226
44250
  "aria-selected": isSelected(option2),
44227
44251
  onClick: ($event) => select2(option2),
44228
- onKeydown: vue.withKeys(($event) => select2(option2), ["enter"])
44252
+ onKeydown: [
44253
+ vue.withKeys(($event) => select2(option2), ["enter"]),
44254
+ _cache[8] || (_cache[8] = vue.withKeys(vue.withModifiers(($event) => navigate("down"), ["prevent"]), ["down"])),
44255
+ _cache[9] || (_cache[9] = vue.withKeys(vue.withModifiers(($event) => navigate("up"), ["prevent"]), ["up"]))
44256
+ ]
44229
44257
  }, [
44230
44258
  _ctx.multiselect ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
44231
44259
  isSelected(option2) ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$c), {
@@ -44254,7 +44282,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
44254
44282
  };
44255
44283
  }
44256
44284
  });
44257
- const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-4d1e8e98"]]);
44285
+ const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-0ea75792"]]);
44258
44286
  /*!
44259
44287
  * Signature Pad v5.0.3 | https://github.com/szimek/signature_pad
44260
44288
  * (c) 2024 Szymon Nowak | Released under the MIT license
@@ -52597,22 +52625,22 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
52597
52625
  }), null, 16, _hoisted_4$4)), [
52598
52626
  [vue.vModelText, vue.unref(inputVal)]
52599
52627
  ]),
52600
- _ctx.helptext ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_5$4, vue.toDisplayString(_ctx.helptext), 1)) : vue.createCommentVNode("", true)
52601
- ], 8, _hoisted_2$a),
52602
- _ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$c), {
52603
- key: 0,
52604
- class: "iconStart",
52605
- icon: _ctx.iconStart
52606
- }, null, 8, ["icon"])) : vue.createCommentVNode("", true),
52607
- _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$c), {
52608
- key: 1,
52609
- icon: _ctx.icon
52610
- }, null, 8, ["icon"])) : vue.createCommentVNode("", true)
52628
+ _ctx.helptext ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_5$4, vue.toDisplayString(_ctx.helptext), 1)) : vue.createCommentVNode("", true),
52629
+ _ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$c), {
52630
+ key: 3,
52631
+ class: "iconStart",
52632
+ icon: _ctx.iconStart
52633
+ }, null, 8, ["icon"])) : vue.createCommentVNode("", true),
52634
+ _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$c), {
52635
+ key: 4,
52636
+ icon: _ctx.icon
52637
+ }, null, 8, ["icon"])) : vue.createCommentVNode("", true)
52638
+ ], 8, _hoisted_2$a)
52611
52639
  ], 10, _hoisted_1$i);
52612
52640
  };
52613
52641
  }
52614
52642
  });
52615
- const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-63ff8c9c"]]);
52643
+ const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-91822151"]]);
52616
52644
  const _hoisted_1$h = ["title"];
52617
52645
  const _hoisted_2$9 = ["id", "required"];
52618
52646
  const _hoisted_3$7 = ["for"];
@@ -55265,7 +55293,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
55265
55293
  round: "",
55266
55294
  thin: "",
55267
55295
  flat: "",
55268
- "icon.end": "arrow_outward",
55296
+ iconEnd: "arrow_outward",
55269
55297
  value: "Open File",
55270
55298
  href: (_d = vue.unref(currentItem)) == null ? void 0 : _d.src,
55271
55299
  target: "_blank"
@@ -55353,7 +55381,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
55353
55381
  };
55354
55382
  }
55355
55383
  });
55356
- const Lightbox$1 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-04df78d3"]]);
55384
+ const Lightbox$1 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c8e5a3c4"]]);
55357
55385
  const groups = {};
55358
55386
  let clickHandler = (_e2) => void 0;
55359
55387
  const lightboxDirective = {