@bagelink/vue 0.0.1066 → 0.0.1070

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
@@ -61,8 +61,8 @@ const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
61
61
  };
62
62
  }
63
63
  });
64
- const _hoisted_1$V = ["aria-expanded", "aria-controls"];
65
- const _hoisted_2$B = { class: "accordion-label" };
64
+ const _hoisted_1$W = ["aria-expanded", "aria-controls"];
65
+ const _hoisted_2$C = { class: "accordion-label" };
66
66
  const _hoisted_3$s = ["id", "aria-hidden"];
67
67
  const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
68
68
  __name: "AccordionItem",
@@ -130,7 +130,7 @@ const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
130
130
  vue.createVNode(vue.unref(_sfc_main$d), { icon: computedIcon.value }, null, 8, ["icon"])
131
131
  ], 2)) : vue.createCommentVNode("", true),
132
132
  vue.renderSlot(_ctx.$slots, "head", {}, () => [
133
- vue.createElementVNode("span", _hoisted_2$B, vue.toDisplayString(_ctx.label), 1)
133
+ vue.createElementVNode("span", _hoisted_2$C, vue.toDisplayString(_ctx.label), 1)
134
134
  ], true),
135
135
  iconPosition.value === "end" ? (vue.openBlock(), vue.createElementBlock("span", {
136
136
  key: 1,
@@ -138,7 +138,7 @@ const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
138
138
  }, [
139
139
  vue.createVNode(vue.unref(_sfc_main$d), { icon: computedIcon.value }, null, 8, ["icon"])
140
140
  ], 2)) : vue.createCommentVNode("", true)
141
- ], 8, _hoisted_1$V),
141
+ ], 8, _hoisted_1$W),
142
142
  vue.createVNode(vue.Transition, { name: "expand" }, {
143
143
  default: vue.withCtx(() => [
144
144
  vue.unref(isOpen) ? (vue.openBlock(), vue.createElementBlock("div", {
@@ -164,7 +164,7 @@ const _export_sfc = (sfc, props2) => {
164
164
  return target;
165
165
  };
166
166
  const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__scopeId", "data-v-1e73ca3e"]]);
167
- const _hoisted_1$U = { class: "relative" };
167
+ const _hoisted_1$V = { class: "relative" };
168
168
  const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
169
169
  __name: "AddressSearch",
170
170
  emits: ["addressSelected"],
@@ -187,7 +187,7 @@ const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
187
187
  (_a2 = suggestion.value) == null ? void 0 : _a2.show();
188
188
  }
189
189
  return (_ctx, _cache) => {
190
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$U, [
190
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$V, [
191
191
  vue.createVNode(vue.unref(_sfc_main$W), {
192
192
  ref_key: "suggestion",
193
193
  ref: suggestion,
@@ -223,7 +223,7 @@ const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
223
223
  };
224
224
  }
225
225
  });
226
- const _hoisted_1$T = {
226
+ const _hoisted_1$U = {
227
227
  key: 1,
228
228
  class: "bgl_btn-flex"
229
229
  };
@@ -292,7 +292,7 @@ const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
292
292
  _ctx.loading ? (vue.openBlock(), vue.createBlock(vue.unref(Loading), {
293
293
  key: 0,
294
294
  size: "15"
295
- })) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$T, [
295
+ })) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$U, [
296
296
  _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$d), {
297
297
  key: 0,
298
298
  icon: _ctx.icon
@@ -315,8 +315,8 @@ const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
315
315
  }
316
316
  });
317
317
  const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-c23a3626"]]);
318
- const _hoisted_1$S = ["dismissable"];
319
- const _hoisted_2$A = { class: "m-0" };
318
+ const _hoisted_1$T = ["dismissable"];
319
+ const _hoisted_2$B = { class: "m-0" };
320
320
  const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
321
321
  __name: "Alert",
322
322
  props: {
@@ -345,7 +345,7 @@ const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
345
345
  size: 2,
346
346
  color: color2[_ctx.type]
347
347
  }, null, 8, ["icon", "color"])) : vue.createCommentVNode("", true),
348
- vue.createElementVNode("p", _hoisted_2$A, vue.toDisplayString(_ctx.message), 1),
348
+ vue.createElementVNode("p", _hoisted_2$B, vue.toDisplayString(_ctx.message), 1),
349
349
  vue.createVNode(Btn, {
350
350
  flat: "",
351
351
  thin: "",
@@ -353,12 +353,12 @@ const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
353
353
  icon: "close",
354
354
  onClick: _cache[0] || (_cache[0] = ($event) => isDismissed.value = true)
355
355
  })
356
- ], 10, _hoisted_1$S)) : vue.createCommentVNode("", true);
356
+ ], 10, _hoisted_1$T)) : vue.createCommentVNode("", true);
357
357
  };
358
358
  }
359
359
  });
360
360
  const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-57141c32"]]);
361
- const _hoisted_1$R = ["src", "alt"];
361
+ const _hoisted_1$S = ["src", "alt"];
362
362
  const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
363
363
  __name: "Avatar",
364
364
  props: {
@@ -377,7 +377,7 @@ const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
377
377
  key: 0,
378
378
  src: _ctx.src,
379
379
  alt: _ctx.name
380
- }, null, 8, _hoisted_1$R)) : (vue.openBlock(), vue.createElementBlock("p", {
380
+ }, null, 8, _hoisted_1$S)) : (vue.openBlock(), vue.createElementBlock("p", {
381
381
  key: 1,
382
382
  style: vue.normalizeStyle({ "line-height": `${_ctx.size}px`, "font-size": `calc(1.5rem * ${_ctx.size} / 50)` })
383
383
  }, vue.toDisplayString((_ctx.fallback || vue.unref(initials)(_ctx.name || "")).toUpperCase()), 5))
@@ -416,7 +416,7 @@ const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
416
416
  }
417
417
  });
418
418
  const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["__scopeId", "data-v-2f3caf93"]]);
419
- const _hoisted_1$Q = { key: 1 };
419
+ const _hoisted_1$R = { key: 1 };
420
420
  const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
421
421
  __name: "BglComponent",
422
422
  props: {
@@ -563,7 +563,7 @@ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
563
563
  id: [props2.id, child.id].filter(Boolean).join("."),
564
564
  field: child,
565
565
  "parent-path": props2.id
566
- }, null, 8, ["id", "field", "parent-path"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$Q, vue.toDisplayString(child), 1))
566
+ }, null, 8, ["id", "field", "parent-path"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$R, vue.toDisplayString(child), 1))
567
567
  ], 64);
568
568
  }), 128))
569
569
  ], 64))
@@ -573,8 +573,8 @@ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
573
573
  };
574
574
  }
575
575
  });
576
- const _hoisted_1$P = ["src"];
577
- const _hoisted_2$z = ["autoplay", "muted", "loop", "controls", "playsinline"];
576
+ const _hoisted_1$Q = ["src"];
577
+ const _hoisted_2$A = ["autoplay", "muted", "loop", "controls", "playsinline"];
578
578
  const _hoisted_3$r = ["src", "type"];
579
579
  const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
580
580
  __name: "BglVideo",
@@ -653,7 +653,7 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
653
653
  allowfullscreen: "",
654
654
  title: "Video",
655
655
  allow: "autoplay"
656
- }, null, 12, _hoisted_1$P)) : _ctx.src ? (vue.openBlock(), vue.createElementBlock("video", {
656
+ }, null, 12, _hoisted_1$Q)) : _ctx.src ? (vue.openBlock(), vue.createElementBlock("video", {
657
657
  key: 1,
658
658
  ref_key: "video",
659
659
  ref: video,
@@ -668,13 +668,13 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
668
668
  src: _ctx.src,
669
669
  type: `video/${videoFormat.value}`
670
670
  }, null, 8, _hoisted_3$r)
671
- ], 12, _hoisted_2$z)) : vue.createCommentVNode("", true)
671
+ ], 12, _hoisted_2$A)) : vue.createCommentVNode("", true)
672
672
  ], 2);
673
673
  };
674
674
  }
675
675
  });
676
676
  const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-006552f6"]]);
677
- const _hoisted_1$O = {
677
+ const _hoisted_1$P = {
678
678
  key: 0,
679
679
  class: "card_label"
680
680
  };
@@ -707,7 +707,7 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
707
707
  }])
708
708
  }, {
709
709
  default: vue.withCtx(() => [
710
- _ctx.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$O, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
710
+ _ctx.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$P, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
711
711
  vue.renderSlot(_ctx.$slots, "default")
712
712
  ]),
713
713
  _: 3
@@ -717,8 +717,8 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
717
717
  };
718
718
  }
719
719
  });
720
- const _hoisted_1$N = ["dir"];
721
- const _hoisted_2$y = {
720
+ const _hoisted_1$O = ["dir"];
721
+ const _hoisted_2$z = {
722
722
  key: 0,
723
723
  class: "blocker"
724
724
  };
@@ -904,7 +904,7 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
904
904
  onMouseover: clearAutoplay,
905
905
  onFocusin: clearAutoplay
906
906
  }, [
907
- vue.unref(isDragging) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$y)) : vue.createCommentVNode("", true),
907
+ vue.unref(isDragging) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$z)) : vue.createCommentVNode("", true),
908
908
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
909
909
  ], 38),
910
910
  __props.dots && vue.unref(slideCount) > 1 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$q, [
@@ -930,7 +930,7 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
930
930
  }, void 0, true)
931
931
  ])
932
932
  ])
933
- ], 14, _hoisted_1$N);
933
+ ], 14, _hoisted_1$O);
934
934
  };
935
935
  }
936
936
  });
@@ -6878,19 +6878,19 @@ var script = vue.defineComponent({
6878
6878
  return { bar, canvas, direction, mouse };
6879
6879
  }
6880
6880
  });
6881
- const _hoisted_1$M = {
6881
+ const _hoisted_1$N = {
6882
6882
  key: 0,
6883
6883
  class: "layer-hover-bar"
6884
6884
  };
6885
- const _hoisted_2$x = ["x", "y", "width", "height"];
6885
+ const _hoisted_2$y = ["x", "y", "width", "height"];
6886
6886
  function render(_ctx, _cache, $props, $setup, $data, $options) {
6887
- return _ctx.mouse.hover ? (vue.openBlock(), vue.createElementBlock("g", _hoisted_1$M, [
6887
+ return _ctx.mouse.hover ? (vue.openBlock(), vue.createElementBlock("g", _hoisted_1$N, [
6888
6888
  vue.createElementVNode("rect", vue.mergeProps({ class: "hover-bar" }, _ctx.barStyle, {
6889
6889
  x: _ctx.bar.x,
6890
6890
  y: _ctx.bar.y,
6891
6891
  width: _ctx.bar.width > 0 ? _ctx.bar.width : 0,
6892
6892
  height: _ctx.bar.height > 0 ? _ctx.bar.height : 0
6893
- }), null, 16, _hoisted_2$x)
6893
+ }), null, 16, _hoisted_2$y)
6894
6894
  ])) : vue.createCommentVNode("v-if", true);
6895
6895
  }
6896
6896
  script.render = render;
@@ -7036,11 +7036,11 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
7036
7036
  };
7037
7037
  }
7038
7038
  });
7039
- const _hoisted_1$L = {
7039
+ const _hoisted_1$M = {
7040
7040
  key: 0,
7041
7041
  class: "data"
7042
7042
  };
7043
- const _hoisted_2$w = {
7043
+ const _hoisted_2$x = {
7044
7044
  key: 0,
7045
7045
  class: "data-row m_py-05"
7046
7046
  };
@@ -7093,7 +7093,7 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
7093
7093
  const computedSchema = vue.computed(() => getFallbackSchema([itemData.value], props2.showFields));
7094
7094
  return (_ctx, _cache) => {
7095
7095
  var _a2;
7096
- return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$L, [
7096
+ return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$M, [
7097
7097
  _ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$4), {
7098
7098
  key: 0,
7099
7099
  label: _ctx.title
@@ -7102,7 +7102,7 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
7102
7102
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, {
7103
7103
  key: field.id
7104
7104
  }, [
7105
- vue.unref(iffer)(field, itemData.value) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$w, [
7105
+ vue.unref(iffer)(field, itemData.value) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$x, [
7106
7106
  vue.createElementVNode("div", _hoisted_3$o, [
7107
7107
  vue.createElementVNode("p", _hoisted_4$g, vue.toDisplayString((field == null ? void 0 : field.label) || vue.unref(keyToLabel)(field.id)), 1)
7108
7108
  ]),
@@ -9749,8 +9749,8 @@ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
9749
9749
  };
9750
9750
  }
9751
9751
  });
9752
- const _hoisted_1$K = { class: "px-1 pt-025 pb-1" };
9753
- const _hoisted_2$v = { class: "ms-1" };
9752
+ const _hoisted_1$L = { class: "px-1 pt-025 pb-1" };
9753
+ const _hoisted_2$w = { class: "ms-1" };
9754
9754
  const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
9755
9755
  __name: "FieldSetVue",
9756
9756
  props: {
@@ -9759,8 +9759,8 @@ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
9759
9759
  },
9760
9760
  setup(__props) {
9761
9761
  return (_ctx, _cache) => {
9762
- return vue.openBlock(), vue.createElementBlock("fieldset", _hoisted_1$K, [
9763
- vue.createElementVNode("legend", _hoisted_2$v, vue.toDisplayString(_ctx.legend || _ctx.label), 1),
9762
+ return vue.openBlock(), vue.createElementBlock("fieldset", _hoisted_1$L, [
9763
+ vue.createElementVNode("legend", _hoisted_2$w, vue.toDisplayString(_ctx.legend || _ctx.label), 1),
9764
9764
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
9765
9765
  ]);
9766
9766
  };
@@ -9811,7 +9811,7 @@ function useTabs(group) {
9811
9811
  });
9812
9812
  return { currentTab };
9813
9813
  }
9814
- const _hoisted_1$J = ["onClick"];
9814
+ const _hoisted_1$K = ["onClick"];
9815
9815
  const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
9816
9816
  __name: "TabsNav",
9817
9817
  props: {
@@ -9894,7 +9894,7 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
9894
9894
  icon: tab.icon
9895
9895
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true),
9896
9896
  vue.createTextVNode(" " + vue.toDisplayString(tabLabel(tab)), 1)
9897
- ], 10, _hoisted_1$J);
9897
+ ], 10, _hoisted_1$K);
9898
9898
  }), 128))
9899
9899
  ], true)
9900
9900
  ], 2);
@@ -9963,7 +9963,7 @@ function useBagelFormState() {
9963
9963
  if (!state2) throw new Error("BagelFormState must be provided");
9964
9964
  return state2;
9965
9965
  }
9966
- const _hoisted_1$I = { key: 1 };
9966
+ const _hoisted_1$J = { key: 1 };
9967
9967
  const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
9968
9968
  __name: "BglField",
9969
9969
  props: {
@@ -10023,12 +10023,6 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
10023
10023
  if (typeof props2.field.vIf === "function") return props2.field.vIf(fieldData.value, formState.data.value);
10024
10024
  return true;
10025
10025
  });
10026
- vue.computed(
10027
- () => {
10028
- var _a2, _b;
10029
- return ((_b = (_a2 = props2.field).transform) == null ? void 0 : _b.call(_a2, fieldData.value, formState.data.value)) ?? fieldData.value;
10030
- }
10031
- );
10032
10026
  const computedOptions = vue.computed(
10033
10027
  () => bindAttrs({ options: props2.field.options }, fieldData.value, formState.data.value).options
10034
10028
  );
@@ -10065,7 +10059,7 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
10065
10059
  fieldID: [props2.fieldID, child.id].filter(Boolean).join("."),
10066
10060
  field: child,
10067
10061
  "parent-path": props2.fieldID
10068
- }, null, 8, ["fieldID", "field", "parent-path"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$I, vue.toDisplayString(child), 1))
10062
+ }, null, 8, ["fieldID", "field", "parent-path"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$J, vue.toDisplayString(child), 1))
10069
10063
  ], 64);
10070
10064
  }), 128))
10071
10065
  ]),
@@ -10216,7 +10210,7 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
10216
10210
  };
10217
10211
  }
10218
10212
  });
10219
- const _hoisted_1$H = { key: 0 };
10213
+ const _hoisted_1$I = { key: 0 };
10220
10214
  const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
10221
10215
  __name: "BglMultiStepForm",
10222
10216
  props: /* @__PURE__ */ vue.mergeModels({
@@ -10284,7 +10278,7 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
10284
10278
  mode: "out-in"
10285
10279
  }, {
10286
10280
  default: vue.withCtx(() => [
10287
- !vue.unref(isStepping) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$H, [
10281
+ !vue.unref(isStepping) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$I, [
10288
10282
  vue.createVNode(vue.unref(_sfc_main$R), vue.mergeProps({
10289
10283
  ref_key: "formRef",
10290
10284
  ref: formRef,
@@ -10324,8 +10318,8 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
10324
10318
  };
10325
10319
  }
10326
10320
  });
10327
- const _hoisted_1$G = { class: "label mb-05" };
10328
- const _hoisted_2$u = {
10321
+ const _hoisted_1$H = { class: "label mb-05" };
10322
+ const _hoisted_2$v = {
10329
10323
  key: 0,
10330
10324
  class: "-ms-05 ps-05 border-start"
10331
10325
  };
@@ -10386,8 +10380,8 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
10386
10380
  return vue.openBlock(), vue.createElementBlock("div", {
10387
10381
  class: vue.normalizeClass(props2.class)
10388
10382
  }, [
10389
- vue.createElementVNode("p", _hoisted_1$G, vue.toDisplayString(_ctx.label), 1),
10390
- _ctx.schema ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$u, [
10383
+ vue.createElementVNode("p", _hoisted_1$H, vue.toDisplayString(_ctx.label), 1),
10384
+ _ctx.schema ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$v, [
10391
10385
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(data2.value, (_2, i2) => {
10392
10386
  return vue.openBlock(), vue.createElementBlock("div", {
10393
10387
  key: i2,
@@ -10436,7 +10430,7 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
10436
10430
  };
10437
10431
  }
10438
10432
  });
10439
- const _hoisted_1$F = { class: "primary-checkbox" };
10433
+ const _hoisted_1$G = { class: "primary-checkbox" };
10440
10434
  const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
10441
10435
  __name: "Checkbox",
10442
10436
  props: {
@@ -10447,7 +10441,7 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
10447
10441
  setup(__props) {
10448
10442
  const val = vue.useModel(__props, "modelValue");
10449
10443
  return (_ctx, _cache) => {
10450
- return vue.openBlock(), vue.createElementBlock("label", _hoisted_1$F, [
10444
+ return vue.openBlock(), vue.createElementBlock("label", _hoisted_1$G, [
10451
10445
  vue.renderSlot(_ctx.$slots, "label", {}, void 0, true),
10452
10446
  vue.withDirectives(vue.createElementVNode("input", {
10453
10447
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => val.value = $event),
@@ -10460,8 +10454,8 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
10460
10454
  }
10461
10455
  });
10462
10456
  const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-73f1d9ad"]]);
10463
- const _hoisted_1$E = ["title"];
10464
- const _hoisted_2$t = ["id", "value", "required"];
10457
+ const _hoisted_1$F = ["title"];
10458
+ const _hoisted_2$u = ["id", "value", "required"];
10465
10459
  const _hoisted_3$n = ["for"];
10466
10460
  const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
10467
10461
  __name: "CheckInput",
@@ -10497,7 +10491,7 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
10497
10491
  required: _ctx.required,
10498
10492
  type: "checkbox",
10499
10493
  class: "me-05"
10500
- }, null, 8, _hoisted_2$t), [
10494
+ }, null, 8, _hoisted_2$u), [
10501
10495
  [vue.vModelCheckbox, checked.value]
10502
10496
  ]),
10503
10497
  vue.createElementVNode("label", { for: inputId.value }, [
@@ -10505,16 +10499,16 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
10505
10499
  vue.createTextVNode(vue.toDisplayString(_ctx.label), 1)
10506
10500
  ], true)
10507
10501
  ], 8, _hoisted_3$n)
10508
- ], 10, _hoisted_1$E);
10502
+ ], 10, _hoisted_1$F);
10509
10503
  };
10510
10504
  }
10511
10505
  });
10512
10506
  const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-03ed2982"]]);
10513
- const _hoisted_1$D = {
10507
+ const _hoisted_1$E = {
10514
10508
  key: 0,
10515
10509
  class: "code-editor-wrap grid rounded p-1 overflow hm-300px"
10516
10510
  };
10517
- const _hoisted_2$s = { class: "overflow-hidden absolute inset-0 p-0 m-0 h-100 codeText" };
10511
+ const _hoisted_2$t = { class: "overflow-hidden absolute inset-0 p-0 m-0 h-100 codeText" };
10518
10512
  const _hoisted_3$m = ["innerHTML"];
10519
10513
  const _hoisted_4$f = ["onKeydown"];
10520
10514
  const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
@@ -10597,12 +10591,12 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
10597
10591
  }
10598
10592
  }, { immediate: true });
10599
10593
  return (_ctx, _cache) => {
10600
- return vue.unref(loaded) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$D, [
10594
+ return vue.unref(loaded) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$E, [
10601
10595
  vue.createElementVNode("div", {
10602
10596
  class: "relative block h-100",
10603
10597
  style: vue.normalizeStyle({ height: vue.unref(height) })
10604
10598
  }, [
10605
- vue.createElementVNode("pre", _hoisted_2$s, [
10599
+ vue.createElementVNode("pre", _hoisted_2$t, [
10606
10600
  _cache[2] || (_cache[2] = vue.createTextVNode(" ")),
10607
10601
  vue.createElementVNode("code", {
10608
10602
  class: vue.normalizeClass(className.value),
@@ -10631,8 +10625,8 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
10631
10625
  }
10632
10626
  });
10633
10627
  const CodeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-4f1dc18a"]]);
10634
- const _hoisted_1$C = ["title"];
10635
- const _hoisted_2$r = ["id", "placeholder", "required"];
10628
+ const _hoisted_1$D = ["title"];
10629
+ const _hoisted_2$s = ["id", "placeholder", "required"];
10636
10630
  const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
10637
10631
  __name: "ColorPicker",
10638
10632
  props: {
@@ -10671,11 +10665,11 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
10671
10665
  placeholder: _ctx.placeholder || _ctx.label,
10672
10666
  class: { "no-edit": !_ctx.editMode },
10673
10667
  required: _ctx.required
10674
- }, _ctx.nativeInputAttrs), null, 16, _hoisted_2$r), [
10668
+ }, _ctx.nativeInputAttrs), null, 16, _hoisted_2$s), [
10675
10669
  [vue.vModelText, inputVal.value]
10676
10670
  ])
10677
10671
  ])
10678
- ], 10, _hoisted_1$C)) : vue.createCommentVNode("", true);
10672
+ ], 10, _hoisted_1$D)) : vue.createCommentVNode("", true);
10679
10673
  };
10680
10674
  }
10681
10675
  });
@@ -19233,8 +19227,8 @@ const eo = ({
19233
19227
  Object.entries(go).forEach(([e, t]) => {
19234
19228
  e !== "default" && (Hn[e] = t);
19235
19229
  });
19236
- const _hoisted_1$B = ["title"];
19237
- const _hoisted_2$q = { key: 0 };
19230
+ const _hoisted_1$C = ["title"];
19231
+ const _hoisted_2$r = { key: 0 };
19238
19232
  const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
19239
19233
  __name: "DateInput",
19240
19234
  props: {
@@ -19277,7 +19271,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
19277
19271
  class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
19278
19272
  title: _ctx.label
19279
19273
  }, [
19280
- _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$q, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
19274
+ _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$r, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
19281
19275
  vue.createVNode(vue.unref(Hn), vue.mergeProps({
19282
19276
  ref_key: "datePicker",
19283
19277
  ref: datePicker,
@@ -19293,12 +19287,12 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
19293
19287
  "minutes-grid-increment": _ctx.minutesGridIncrement,
19294
19288
  "start-time": { hours: 8, minutes: 0 }
19295
19289
  }), null, 16, ["modelValue", "required", "enable-time-picker", "allowed-dates", "time-picker-inline", "minutes-increment", "minutes-grid-increment"])
19296
- ], 10, _hoisted_1$B);
19290
+ ], 10, _hoisted_1$C);
19297
19291
  };
19298
19292
  }
19299
19293
  });
19300
- const _hoisted_1$A = { class: "datetime-wrap" };
19301
- const _hoisted_2$p = { class: "date-wrap" };
19294
+ const _hoisted_1$B = { class: "datetime-wrap" };
19295
+ const _hoisted_2$q = { class: "date-wrap" };
19302
19296
  const _hoisted_3$l = {
19303
19297
  key: 0,
19304
19298
  class: "time-wrap"
@@ -19333,8 +19327,8 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
19333
19327
  return `${hour}:${minute}`;
19334
19328
  });
19335
19329
  return (_ctx, _cache) => {
19336
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$A, [
19337
- vue.createElementVNode("div", _hoisted_2$p, [
19330
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$B, [
19331
+ vue.createElementVNode("div", _hoisted_2$q, [
19338
19332
  vue.createVNode(vue.unref(Hn), vue.mergeProps({
19339
19333
  modelValue: selectedDate.value,
19340
19334
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => selectedDate.value = $event),
@@ -19374,8 +19368,8 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
19374
19368
  };
19375
19369
  }
19376
19370
  });
19377
- const _hoisted_1$z = { key: 0 };
19378
- const _hoisted_2$o = ["src", "alt", "width", "height"];
19371
+ const _hoisted_1$A = { key: 0 };
19372
+ const _hoisted_2$p = ["src", "alt", "width", "height"];
19379
19373
  const _hoisted_3$k = ["src", "alt", "width", "height"];
19380
19374
  const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
19381
19375
  __name: "Image",
@@ -19438,7 +19432,7 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
19438
19432
  }
19439
19433
  vue.watch(() => [__props.src, __props.pathKey], loadImage, { immediate: true });
19440
19434
  return (_ctx, _cache) => {
19441
- return _ctx.caption ? (vue.openBlock(), vue.createElementBlock("figcaption", _hoisted_1$z, [
19435
+ return _ctx.caption ? (vue.openBlock(), vue.createElementBlock("figcaption", _hoisted_1$A, [
19442
19436
  vue.unref(imageSrc) ? (vue.openBlock(), vue.createElementBlock("img", vue.mergeProps({
19443
19437
  key: 0,
19444
19438
  src: vue.unref(imageSrc)
@@ -19446,7 +19440,7 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
19446
19440
  alt: _ctx.alt,
19447
19441
  width: vue.unref(normalizeDimension)(_ctx.width),
19448
19442
  height: vue.unref(normalizeDimension)(_ctx.height)
19449
- }), null, 16, _hoisted_2$o)) : (vue.openBlock(), vue.createBlock(vue.unref(Skeleton), {
19443
+ }), null, 16, _hoisted_2$p)) : (vue.openBlock(), vue.createBlock(vue.unref(Skeleton), {
19450
19444
  key: 1,
19451
19445
  class: "img-web-kit",
19452
19446
  width: vue.unref(normalizeDimension)(_ctx.width),
@@ -19469,8 +19463,8 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
19469
19463
  }
19470
19464
  });
19471
19465
  const Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-3aff6eb2"]]);
19472
- const _hoisted_1$y = { class: "bagel-input" };
19473
- const _hoisted_2$n = {
19466
+ const _hoisted_1$z = { class: "bagel-input" };
19467
+ const _hoisted_2$o = {
19474
19468
  key: 0,
19475
19469
  placeholder: "required",
19476
19470
  type: "text",
@@ -19681,9 +19675,9 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
19681
19675
  return (_ctx, _cache) => {
19682
19676
  const _directive_tooltip = vue.resolveDirective("tooltip");
19683
19677
  const _directive_lightbox = vue.resolveDirective("lightbox");
19684
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$y, [
19678
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$z, [
19685
19679
  vue.createElementVNode("label", null, vue.toDisplayString(_ctx.label), 1),
19686
- _ctx.required && !storageFiles.value.length ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_2$n)) : vue.createCommentVNode("", true),
19680
+ _ctx.required && !storageFiles.value.length ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_2$o)) : vue.createCommentVNode("", true),
19687
19681
  _ctx.theme === "basic" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$_), {
19688
19682
  key: 1,
19689
19683
  outline: "",
@@ -19930,8 +19924,8 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
19930
19924
  }
19931
19925
  });
19932
19926
  const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-6bfdaea2"]]);
19933
- const _hoisted_1$x = ["title"];
19934
- const _hoisted_2$m = { key: 0 };
19927
+ const _hoisted_1$y = ["title"];
19928
+ const _hoisted_2$n = { key: 0 };
19935
19929
  const _hoisted_3$i = ["value", "placeholder"];
19936
19930
  const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
19937
19931
  __name: "JSONInput",
@@ -19956,7 +19950,7 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
19956
19950
  class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
19957
19951
  title: _ctx.description
19958
19952
  }, [
19959
- _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$m, [
19953
+ _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$n, [
19960
19954
  vue.createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
19961
19955
  ])) : vue.createCommentVNode("", true),
19962
19956
  vue.createElementVNode("textarea", {
@@ -19965,13 +19959,13 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
19965
19959
  placeholder: _ctx.placeholder,
19966
19960
  onInput: handleInput
19967
19961
  }, null, 42, _hoisted_3$i)
19968
- ], 10, _hoisted_1$x);
19962
+ ], 10, _hoisted_1$y);
19969
19963
  };
19970
19964
  }
19971
19965
  });
19972
19966
  const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-1cbaeab2"]]);
19973
- const _hoisted_1$w = ["for"];
19974
- const _hoisted_2$l = ["id", "placeholder", "disabled", "required", "readonly", "onKeydown"];
19967
+ const _hoisted_1$x = ["for"];
19968
+ const _hoisted_2$m = ["id", "placeholder", "disabled", "required", "readonly", "onKeydown"];
19975
19969
  const _hoisted_3$h = { key: 1 };
19976
19970
  const _hoisted_4$c = {
19977
19971
  key: 5,
@@ -20073,7 +20067,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
20073
20067
  vue.withKeys(vue.withModifiers(increment, ["prevent"]), ["up"]),
20074
20068
  vue.withKeys(vue.withModifiers(decrement, ["prevent"]), ["down"])
20075
20069
  ]
20076
- }, null, 42, _hoisted_2$l), [
20070
+ }, null, 42, _hoisted_2$m), [
20077
20071
  [
20078
20072
  vue.vModelText,
20079
20073
  vue.unref(formattedValue),
@@ -20109,7 +20103,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
20109
20103
  icon: "add",
20110
20104
  flat: "",
20111
20105
  thin: "",
20112
- class: "bgl-ctrl-num-btn ctrl-add color-gray",
20106
+ class: "bgl-ctrl-num-btn ctrl-add color-gray top-bgl-ctrl-num-btn",
20113
20107
  onClick: increment
20114
20108
  }),
20115
20109
  vue.createVNode(vue.unref(Btn), {
@@ -20121,13 +20115,13 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
20121
20115
  })
20122
20116
  ])) : vue.createCommentVNode("", true)
20123
20117
  ], 2)
20124
- ], 8, _hoisted_1$w)
20118
+ ], 8, _hoisted_1$x)
20125
20119
  ], 2);
20126
20120
  };
20127
20121
  }
20128
20122
  });
20129
- const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-abb5baff"]]);
20130
- const _hoisted_1$v = ["value", "autofocus", "onKeydown", "onPaste"];
20123
+ const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-09ec7e39"]]);
20124
+ const _hoisted_1$w = ["value", "autofocus", "onKeydown", "onPaste"];
20131
20125
  const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
20132
20126
  __name: "OTP",
20133
20127
  props: {
@@ -20226,13 +20220,15 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
20226
20220
  oninput: "this.value = this.value.slice(0, 1);",
20227
20221
  onKeydown: ($event) => handleKeyDown($event, ind),
20228
20222
  onPaste: ($event) => handlePaste($event, ind)
20229
- }, null, 40, _hoisted_1$v);
20223
+ }, null, 40, _hoisted_1$w);
20230
20224
  }), 128))
20231
20225
  ], 512);
20232
20226
  };
20233
20227
  }
20234
20228
  });
20235
20229
  const OTP = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-5c22c199"]]);
20230
+ const _hoisted_1$v = { class: "relative" };
20231
+ const _hoisted_2$l = { class: "m-password position-bottom-end flex column justify-content-center" };
20236
20232
  const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
20237
20233
  __name: "PasswordInput",
20238
20234
  props: /* @__PURE__ */ vue.mergeModels({
@@ -20267,7 +20263,6 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
20267
20263
  emits: ["update:modelValue", "update:showPwd"],
20268
20264
  setup(__props) {
20269
20265
  const props2 = __props;
20270
- const hasLabel = vue.computed(() => props2.label && props2.label.trim() !== "");
20271
20266
  const password = vue.useModel(__props, "modelValue");
20272
20267
  const showPwd = vue.useModel(__props, "showPwd");
20273
20268
  const toggleShowPwdIcon = vue.computed(
@@ -20275,9 +20270,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
20275
20270
  );
20276
20271
  const inputType = vue.computed(() => showPwd.value ? "text" : "password");
20277
20272
  return (_ctx, _cache) => {
20278
- return vue.openBlock(), vue.createElementBlock("div", {
20279
- class: vue.normalizeClass(["relative", { "has-label": hasLabel.value }])
20280
- }, [
20273
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$v, [
20281
20274
  vue.createVNode(vue.unref(TextInput), vue.mergeProps({
20282
20275
  modelValue: password.value,
20283
20276
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => password.value = $event)
@@ -20285,14 +20278,16 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
20285
20278
  type: inputType.value,
20286
20279
  class: "mb-0"
20287
20280
  }), null, 16, ["modelValue", "type"]),
20288
- vue.createVNode(vue.unref(Btn), {
20289
- flat: "",
20290
- thin: "",
20291
- class: "mx-05 m-password position-bottom-end",
20292
- icon: toggleShowPwdIcon.value,
20293
- onClick: _cache[1] || (_cache[1] = ($event) => showPwd.value = !showPwd.value)
20294
- }, null, 8, ["icon"])
20295
- ], 2);
20281
+ vue.createElementVNode("div", _hoisted_2$l, [
20282
+ vue.createVNode(vue.unref(Btn), {
20283
+ flat: "",
20284
+ thin: "",
20285
+ class: "mx-05",
20286
+ icon: toggleShowPwdIcon.value,
20287
+ onClick: _cache[1] || (_cache[1] = ($event) => showPwd.value = !showPwd.value)
20288
+ }, null, 8, ["icon"])
20289
+ ])
20290
+ ]);
20296
20291
  };
20297
20292
  }
20298
20293
  });
@@ -20618,7 +20613,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
20618
20613
  };
20619
20614
  }
20620
20615
  });
20621
- const RangeInput = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-5c90c7f5"]]);
20616
+ const RangeInput = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-2e7787ea"]]);
20622
20617
  const tableTools = [
20623
20618
  "mergeCells",
20624
20619
  "splitCells",
@@ -21899,7 +21894,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
21899
21894
  };
21900
21895
  }
21901
21896
  });
21902
- const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-70080819"]]);
21897
+ const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-2e74943d"]]);
21903
21898
  const _hoisted_1$o = { class: "flex gap-05" };
21904
21899
  const _hoisted_2$f = ["disabled"];
21905
21900
  const _hoisted_3$c = { key: 1 };