@bagelink/vue 0.0.1016 → 0.0.1023

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
@@ -55,8 +55,8 @@ const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
55
55
  };
56
56
  }
57
57
  });
58
- const _hoisted_1$Q = ["aria-expanded", "aria-controls"];
59
- const _hoisted_2$v = { class: "accordion-label" };
58
+ const _hoisted_1$P = ["aria-expanded", "aria-controls"];
59
+ const _hoisted_2$w = { class: "accordion-label" };
60
60
  const _hoisted_3$p = ["id", "aria-hidden"];
61
61
  const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
62
62
  __name: "AccordionItem",
@@ -124,7 +124,7 @@ const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
124
124
  vue.createVNode(vue.unref(_sfc_main$c), { icon: computedIcon.value }, null, 8, ["icon"])
125
125
  ], 2)) : vue.createCommentVNode("", true),
126
126
  vue.renderSlot(_ctx.$slots, "head", {}, () => [
127
- vue.createElementVNode("span", _hoisted_2$v, vue.toDisplayString(_ctx.label), 1)
127
+ vue.createElementVNode("span", _hoisted_2$w, vue.toDisplayString(_ctx.label), 1)
128
128
  ], true),
129
129
  iconPosition.value === "end" ? (vue.openBlock(), vue.createElementBlock("span", {
130
130
  key: 1,
@@ -132,7 +132,7 @@ const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
132
132
  }, [
133
133
  vue.createVNode(vue.unref(_sfc_main$c), { icon: computedIcon.value }, null, 8, ["icon"])
134
134
  ], 2)) : vue.createCommentVNode("", true)
135
- ], 8, _hoisted_1$Q),
135
+ ], 8, _hoisted_1$P),
136
136
  vue.createVNode(vue.Transition, { name: "expand" }, {
137
137
  default: vue.withCtx(() => [
138
138
  vue.unref(isOpen) ? (vue.openBlock(), vue.createElementBlock("div", {
@@ -158,7 +158,7 @@ const _export_sfc = (sfc, props2) => {
158
158
  return target;
159
159
  };
160
160
  const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["__scopeId", "data-v-1e73ca3e"]]);
161
- const _hoisted_1$P = { class: "relative" };
161
+ const _hoisted_1$O = { class: "relative" };
162
162
  const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
163
163
  __name: "AddressSearch",
164
164
  emits: ["addressSelected"],
@@ -181,7 +181,7 @@ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
181
181
  (_a2 = suggestion.value) == null ? void 0 : _a2.show();
182
182
  }
183
183
  return (_ctx, _cache) => {
184
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$P, [
184
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$O, [
185
185
  vue.createVNode(vue.unref(_sfc_main$S), {
186
186
  ref_key: "suggestion",
187
187
  ref: suggestion,
@@ -217,7 +217,7 @@ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
217
217
  };
218
218
  }
219
219
  });
220
- const _hoisted_1$O = {
220
+ const _hoisted_1$N = {
221
221
  key: 1,
222
222
  class: "bgl_btn-flex"
223
223
  };
@@ -241,6 +241,7 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
241
241
  href: {},
242
242
  round: { type: Boolean, default: false },
243
243
  is: { default: "button" },
244
+ ripple: { type: Boolean, default: true },
244
245
  onClick: { type: Function, default: () => "" }
245
246
  },
246
247
  setup(__props) {
@@ -285,7 +286,7 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
285
286
  _ctx.loading ? (vue.openBlock(), vue.createBlock(vue.unref(Loading), {
286
287
  key: 0,
287
288
  size: "15"
288
- })) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$O, [
289
+ })) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$N, [
289
290
  _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$c), {
290
291
  key: 0,
291
292
  icon: _ctx.icon
@@ -302,14 +303,14 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
302
303
  ]),
303
304
  _: 3
304
305
  }, 16, ["disabled", "class", "tabindex", "onClick", "onKeydown"])), [
305
- [_directive_ripple]
306
+ [_directive_ripple, _ctx.ripple]
306
307
  ]);
307
308
  };
308
309
  }
309
310
  });
310
- const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-521354bb"]]);
311
- const _hoisted_1$N = ["dismissable"];
312
- const _hoisted_2$u = { class: "m-0" };
311
+ const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-c23a3626"]]);
312
+ const _hoisted_1$M = ["dismissable"];
313
+ const _hoisted_2$v = { class: "m-0" };
313
314
  const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
314
315
  __name: "Alert",
315
316
  props: {
@@ -338,7 +339,7 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
338
339
  size: 2,
339
340
  color: color2[_ctx.type]
340
341
  }, null, 8, ["icon", "color"])) : vue.createCommentVNode("", true),
341
- vue.createElementVNode("p", _hoisted_2$u, vue.toDisplayString(_ctx.message), 1),
342
+ vue.createElementVNode("p", _hoisted_2$v, vue.toDisplayString(_ctx.message), 1),
342
343
  vue.createVNode(Btn, {
343
344
  flat: "",
344
345
  thin: "",
@@ -346,12 +347,12 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
346
347
  icon: "close",
347
348
  onClick: _cache[0] || (_cache[0] = ($event) => isDismissed.value = true)
348
349
  })
349
- ], 10, _hoisted_1$N)) : vue.createCommentVNode("", true);
350
+ ], 10, _hoisted_1$M)) : vue.createCommentVNode("", true);
350
351
  };
351
352
  }
352
353
  });
353
354
  const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-57141c32"]]);
354
- const _hoisted_1$M = ["src", "alt"];
355
+ const _hoisted_1$L = ["src", "alt"];
355
356
  const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
356
357
  __name: "Avatar",
357
358
  props: {
@@ -370,7 +371,7 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
370
371
  key: 0,
371
372
  src: _ctx.src,
372
373
  alt: _ctx.name
373
- }, null, 8, _hoisted_1$M)) : (vue.openBlock(), vue.createElementBlock("p", {
374
+ }, null, 8, _hoisted_1$L)) : (vue.openBlock(), vue.createElementBlock("p", {
374
375
  key: 1,
375
376
  style: vue.normalizeStyle({ "line-height": `${_ctx.size}px`, "font-size": `calc(1.5rem * ${_ctx.size} / 50)` })
376
377
  }, vue.toDisplayString((_ctx.fallback || vue.unref(initials)(_ctx.name || "")).toUpperCase()), 5))
@@ -409,8 +410,8 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
409
410
  }
410
411
  });
411
412
  const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-2f3caf93"]]);
412
- const _hoisted_1$L = ["src"];
413
- const _hoisted_2$t = ["autoplay", "muted", "loop", "controls", "playsinline"];
413
+ const _hoisted_1$K = ["src"];
414
+ const _hoisted_2$u = ["autoplay", "muted", "loop", "controls", "playsinline"];
414
415
  const _hoisted_3$o = ["src", "type"];
415
416
  const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
416
417
  __name: "BglVideo",
@@ -489,7 +490,7 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
489
490
  allowfullscreen: "",
490
491
  title: "Video",
491
492
  allow: "autoplay"
492
- }, null, 12, _hoisted_1$L)) : _ctx.src ? (vue.openBlock(), vue.createElementBlock("video", {
493
+ }, null, 12, _hoisted_1$K)) : _ctx.src ? (vue.openBlock(), vue.createElementBlock("video", {
493
494
  key: 1,
494
495
  ref_key: "video",
495
496
  ref: video,
@@ -504,13 +505,13 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
504
505
  src: _ctx.src,
505
506
  type: `video/${videoFormat.value}`
506
507
  }, null, 8, _hoisted_3$o)
507
- ], 12, _hoisted_2$t)) : vue.createCommentVNode("", true)
508
+ ], 12, _hoisted_2$u)) : vue.createCommentVNode("", true)
508
509
  ], 2);
509
510
  };
510
511
  }
511
512
  });
512
513
  const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-006552f6"]]);
513
- const _hoisted_1$K = {
514
+ const _hoisted_1$J = {
514
515
  key: 0,
515
516
  class: "card_label"
516
517
  };
@@ -543,7 +544,7 @@ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
543
544
  }])
544
545
  }, {
545
546
  default: vue.withCtx(() => [
546
- _ctx.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$K, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
547
+ _ctx.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$J, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
547
548
  vue.renderSlot(_ctx.$slots, "default")
548
549
  ]),
549
550
  _: 3
@@ -553,8 +554,8 @@ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
553
554
  };
554
555
  }
555
556
  });
556
- const _hoisted_1$J = ["dir"];
557
- const _hoisted_2$s = {
557
+ const _hoisted_1$I = ["dir"];
558
+ const _hoisted_2$t = {
558
559
  key: 0,
559
560
  class: "blocker"
560
561
  };
@@ -727,7 +728,7 @@ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
727
728
  onMouseover: clearAutoplay,
728
729
  onFocusin: clearAutoplay
729
730
  }, [
730
- vue.unref(isDragging) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$s)) : vue.createCommentVNode("", true),
731
+ vue.unref(isDragging) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$t)) : vue.createCommentVNode("", true),
731
732
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
732
733
  ], 38),
733
734
  vue.createElementVNode("div", _hoisted_3$n, [
@@ -744,7 +745,7 @@ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
744
745
  }, void 0, true)
745
746
  ])
746
747
  ])
747
- ], 14, _hoisted_1$J);
748
+ ], 14, _hoisted_1$I);
748
749
  };
749
750
  }
750
751
  });
@@ -6583,9 +6584,9 @@ const _hoisted_1$1$1 = {
6583
6584
  };
6584
6585
  const _hoisted_2$1$1 = ["width", "height", "viewBox"];
6585
6586
  const _hoisted_3$m = { class: "layer-rectangles" };
6586
- const _hoisted_4$e = ["transform", "onMouseover"];
6587
- const _hoisted_5$d = ["width", "height"];
6588
- const _hoisted_6$a = {
6587
+ const _hoisted_4$f = ["transform", "onMouseover"];
6588
+ const _hoisted_5$e = ["width", "height"];
6589
+ const _hoisted_6$b = {
6589
6590
  x: 0 + 10,
6590
6591
  y: 0 + 20,
6591
6592
  "font-size": `15px`,
@@ -6621,21 +6622,21 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
6621
6622
  y: 0,
6622
6623
  width: r2.width,
6623
6624
  height: r2.height
6624
- }), null, 16, _hoisted_5$d),
6625
+ }), null, 16, _hoisted_5$e),
6625
6626
  vue.renderSlot(_ctx.$slots, "text", {
6626
6627
  r: r2,
6627
6628
  selected: _ctx.selected === i2
6628
6629
  }, () => [
6629
6630
  vue.createElementVNode(
6630
6631
  "text",
6631
- _hoisted_6$a,
6632
+ _hoisted_6$b,
6632
6633
  vue.toDisplayString(r2.data.name),
6633
6634
  1
6634
6635
  /* TEXT */
6635
6636
  )
6636
6637
  ])
6637
6638
  ])
6638
- ], 42, _hoisted_4$e);
6639
+ ], 42, _hoisted_4$f);
6639
6640
  }),
6640
6641
  128
6641
6642
  /* KEYED_FRAGMENT */
@@ -6692,19 +6693,19 @@ var script = vue.defineComponent({
6692
6693
  return { bar, canvas, direction, mouse };
6693
6694
  }
6694
6695
  });
6695
- const _hoisted_1$I = {
6696
+ const _hoisted_1$H = {
6696
6697
  key: 0,
6697
6698
  class: "layer-hover-bar"
6698
6699
  };
6699
- const _hoisted_2$r = ["x", "y", "width", "height"];
6700
+ const _hoisted_2$s = ["x", "y", "width", "height"];
6700
6701
  function render(_ctx, _cache, $props, $setup, $data, $options) {
6701
- return _ctx.mouse.hover ? (vue.openBlock(), vue.createElementBlock("g", _hoisted_1$I, [
6702
+ return _ctx.mouse.hover ? (vue.openBlock(), vue.createElementBlock("g", _hoisted_1$H, [
6702
6703
  vue.createElementVNode("rect", vue.mergeProps({ class: "hover-bar" }, _ctx.barStyle, {
6703
6704
  x: _ctx.bar.x,
6704
6705
  y: _ctx.bar.y,
6705
6706
  width: _ctx.bar.width > 0 ? _ctx.bar.width : 0,
6706
6707
  height: _ctx.bar.height > 0 ? _ctx.bar.height : 0
6707
- }), null, 16, _hoisted_2$r)
6708
+ }), null, 16, _hoisted_2$s)
6708
6709
  ])) : vue.createCommentVNode("v-if", true);
6709
6710
  }
6710
6711
  script.render = render;
@@ -6850,18 +6851,18 @@ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
6850
6851
  };
6851
6852
  }
6852
6853
  });
6853
- const _hoisted_1$H = {
6854
+ const _hoisted_1$G = {
6854
6855
  key: 0,
6855
6856
  class: "data"
6856
6857
  };
6857
- const _hoisted_2$q = {
6858
+ const _hoisted_2$r = {
6858
6859
  key: 0,
6859
6860
  class: "data-row m_py-05"
6860
6861
  };
6861
6862
  const _hoisted_3$l = { class: "key" };
6862
- const _hoisted_4$d = { class: "m-0" };
6863
- const _hoisted_5$c = { key: 1 };
6864
- const _hoisted_6$9 = {
6863
+ const _hoisted_4$e = { class: "m-0" };
6864
+ const _hoisted_5$d = { key: 1 };
6865
+ const _hoisted_6$a = {
6865
6866
  key: 0,
6866
6867
  class: "data-row"
6867
6868
  };
@@ -6907,7 +6908,7 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
6907
6908
  const computedSchema = vue.computed(() => getFallbackSchema([itemData.value], props2.showFields));
6908
6909
  return (_ctx, _cache) => {
6909
6910
  var _a2;
6910
- return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$H, [
6911
+ return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$G, [
6911
6912
  _ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$3), {
6912
6913
  key: 0,
6913
6914
  label: _ctx.title
@@ -6916,9 +6917,9 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
6916
6917
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, {
6917
6918
  key: field.id
6918
6919
  }, [
6919
- vue.unref(iffer)(field, itemData.value) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$q, [
6920
+ vue.unref(iffer)(field, itemData.value) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$r, [
6920
6921
  vue.createElementVNode("div", _hoisted_3$l, [
6921
- vue.createElementVNode("p", _hoisted_4$d, vue.toDisplayString((field == null ? void 0 : field.label) || vue.unref(keyToLabel)(field.id)), 1)
6922
+ vue.createElementVNode("p", _hoisted_4$e, vue.toDisplayString((field == null ? void 0 : field.label) || vue.unref(keyToLabel)(field.id)), 1)
6922
6923
  ]),
6923
6924
  vue.createVNode(vue.unref(_sfc_main$P), {
6924
6925
  modelValue: itemData.value,
@@ -6930,10 +6931,10 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
6930
6931
  ])) : vue.createCommentVNode("", true)
6931
6932
  ], 64);
6932
6933
  }), 128)),
6933
- !((_a2 = _ctx.schema) == null ? void 0 : _a2.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$c, [
6934
+ !((_a2 = _ctx.schema) == null ? void 0 : _a2.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$d, [
6934
6935
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(computedSchema.value, ({ id, label }) => {
6935
6936
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: id }, [
6936
- !isUnset(itemData.value[id]) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$9, [
6937
+ !isUnset(itemData.value[id]) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$a, [
6937
6938
  vue.createElementVNode("div", _hoisted_7$6, [
6938
6939
  vue.createElementVNode("p", _hoisted_8$4, vue.toDisplayString(label), 1)
6939
6940
  ]),
@@ -9606,7 +9607,7 @@ function useTabs(group) {
9606
9607
  });
9607
9608
  return { currentTab };
9608
9609
  }
9609
- const _hoisted_1$G = ["onClick"];
9610
+ const _hoisted_1$F = ["onClick"];
9610
9611
  const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
9611
9612
  __name: "TabsNav",
9612
9613
  props: {
@@ -9671,30 +9672,33 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
9671
9672
  window.removeEventListener("resize", updateIndicator);
9672
9673
  });
9673
9674
  return (_ctx, _cache) => {
9675
+ const _component_Icon = vue.resolveComponent("Icon");
9674
9676
  return vue.openBlock(), vue.createElementBlock("div", {
9675
9677
  ref_key: "tabsWrap",
9676
9678
  ref: tabsWrap,
9677
9679
  class: vue.normalizeClass(["grid auto-flow-columns relative fit-content bgl_tabs_wrap overflow-hidden", { "bgl_flat-tabs": _ctx.flat, "bgl_vertical-tabs": _ctx.vertical }])
9678
9680
  }, [
9679
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(props2.tabs, (tab, i2) => {
9680
- return vue.openBlock(), vue.createElementBlock("button", {
9681
- key: i2,
9682
- type: "button",
9683
- class: vue.normalizeClass([{ active: isActive(tab) }, "bgl_tab relative z-1"]),
9684
- onClick: ($event) => selectTab(tab)
9685
- }, [
9686
- typeof tab !== "string" && tab.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$c), {
9687
- key: 0,
9688
- icon: tab.icon
9689
- }, null, 8, ["icon"])) : vue.createCommentVNode("", true),
9690
- vue.createTextVNode(" " + vue.toDisplayString(tabLabel(tab)), 1)
9691
- ], 10, _hoisted_1$G);
9692
- }), 128))
9681
+ vue.renderSlot(_ctx.$slots, "tabs", vue.normalizeProps(vue.guardReactiveProps({ selectTab, isActive, tabLabel, tabs: tabs.value })), () => [
9682
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(props2.tabs, (tab, i2) => {
9683
+ return vue.openBlock(), vue.createElementBlock("button", {
9684
+ key: i2,
9685
+ type: "button",
9686
+ class: vue.normalizeClass([{ active: isActive(tab) }, "bgl_tab relative z-1"]),
9687
+ onClick: ($event) => selectTab(tab)
9688
+ }, [
9689
+ typeof tab !== "string" && tab.icon ? (vue.openBlock(), vue.createBlock(_component_Icon, {
9690
+ key: 0,
9691
+ icon: tab.icon
9692
+ }, null, 8, ["icon"])) : vue.createCommentVNode("", true),
9693
+ vue.createTextVNode(" " + vue.toDisplayString(tabLabel(tab)), 1)
9694
+ ], 10, _hoisted_1$F);
9695
+ }), 128))
9696
+ ], true)
9693
9697
  ], 2);
9694
9698
  };
9695
9699
  }
9696
9700
  });
9697
- const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-dbce6d28"]]);
9701
+ const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-bbb66a44"]]);
9698
9702
  const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
9699
9703
  __name: "BglField",
9700
9704
  props: {
@@ -9712,7 +9716,7 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
9712
9716
  customAttrs.value.multiline = true;
9713
9717
  return TextInput;
9714
9718
  }
9715
- if (props2.field.$el === "array") return FieldArray;
9719
+ if (props2.field.$el === "array") return _sfc_main$M;
9716
9720
  if (props2.field.$el === "select") return SelectInput;
9717
9721
  if (props2.field.$el === "toggle") return ToggleInput;
9718
9722
  if (props2.field.$el === "check") return CheckInput;
@@ -9720,6 +9724,7 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
9720
9724
  if (props2.field.$el === "file") return FileUpload;
9721
9725
  if (props2.field.$el === "date") return _sfc_main$H;
9722
9726
  if (props2.field.$el === "tabs") return TabsNav;
9727
+ if (props2.field.$el === "form") return _sfc_main$O;
9723
9728
  return props2.field.$el ?? "div";
9724
9729
  });
9725
9730
  const formData = vue.computed({
@@ -9742,6 +9747,7 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
9742
9747
  temp[keys4[keys4.length - 1]] = val;
9743
9748
  return data2;
9744
9749
  }
9750
+ const isForm = vue.computed(() => props2.field.$el === "form" || props2.field.$el === _sfc_main$O);
9745
9751
  function getFieldData(obj, key) {
9746
9752
  if (typeof obj !== "object" || obj === null) return obj;
9747
9753
  const keys4 = key.split(objPathRegex);
@@ -9757,12 +9763,17 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
9757
9763
  }
9758
9764
  const fieldData = vue.computed({
9759
9765
  set: (val) => {
9766
+ if (isForm.value) {
9767
+ emit2("update:modelValue", val);
9768
+ return;
9769
+ }
9760
9770
  if (!props2.field.id) return;
9761
9771
  const data2 = setFieldData(props2.field.id, val);
9762
9772
  emit2("update:modelValue", data2);
9763
9773
  },
9764
9774
  get: () => {
9765
9775
  if (props2.field.id) return getFieldData(props2.modelValue, props2.field.id);
9776
+ if (isForm.value) return props2.modelValue;
9766
9777
  return props2.field.defaultValue ?? "";
9767
9778
  }
9768
9779
  });
@@ -9971,7 +9982,7 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
9971
9982
  };
9972
9983
  }
9973
9984
  });
9974
- const _hoisted_1$F = { key: 0 };
9985
+ const _hoisted_1$E = { key: 0 };
9975
9986
  const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
9976
9987
  __name: "BglMultiStepForm",
9977
9988
  props: /* @__PURE__ */ vue.mergeModels({
@@ -10039,7 +10050,7 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
10039
10050
  mode: "out-in"
10040
10051
  }, {
10041
10052
  default: vue.withCtx(() => [
10042
- !vue.unref(isStepping) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$F, [
10053
+ !vue.unref(isStepping) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$E, [
10043
10054
  vue.createVNode(vue.unref(_sfc_main$O), vue.mergeProps({
10044
10055
  ref_key: "formRef",
10045
10056
  ref: formRef,
@@ -10079,7 +10090,8 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
10079
10090
  };
10080
10091
  }
10081
10092
  });
10082
- const _hoisted_1$E = { class: "label mb-05" };
10093
+ const _hoisted_1$D = { class: "label mb-05" };
10094
+ const _hoisted_2$q = { class: "-ms-05 ps-05 border-start" };
10083
10095
  const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
10084
10096
  __name: "FieldArray",
10085
10097
  props: {
@@ -10116,57 +10128,40 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
10116
10128
  data2.value.push({});
10117
10129
  emitValue();
10118
10130
  }
10119
- vue.computed(
10120
- () => ({
10121
- label: props2.label,
10122
- placeholder: props2.placeholder,
10123
- children: props2.children,
10124
- class: props2.class,
10125
- attrs: props2.attrs,
10126
- required: props2.required,
10127
- disabled: props2.disabled,
10128
- helptext: props2.helptext,
10129
- options: props2.options,
10130
- defaultValue: props2.defaultValue,
10131
- $el: props2.el
10132
- })
10133
- );
10134
10131
  return (_ctx, _cache) => {
10135
10132
  return vue.openBlock(), vue.createElementBlock("div", null, [
10136
- vue.createElementVNode("p", _hoisted_1$E, vue.toDisplayString(_ctx.label), 1),
10137
- vue.createElementVNode("div", null, [
10133
+ vue.createElementVNode("p", _hoisted_1$D, vue.toDisplayString(_ctx.label), 1),
10134
+ vue.createElementVNode("div", _hoisted_2$q, [
10138
10135
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(data2.value, (_2, i2) => {
10139
- return vue.openBlock(), vue.createBlock(_sfc_main$W, {
10136
+ return vue.openBlock(), vue.createElementBlock("div", {
10140
10137
  key: i2,
10141
10138
  outline: "",
10142
10139
  thin: "",
10143
- class: "mb-05 itemBox bg-white transition"
10144
- }, {
10145
- default: vue.withCtx(() => [
10146
- _ctx.schema ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$O), {
10147
- key: 0,
10148
- modelValue: data2.value[i2],
10149
- "onUpdate:modelValue": [($event) => data2.value[i2] = $event, emitValue],
10150
- schema: _ctx.schema
10151
- }, null, 8, ["modelValue", "onUpdate:modelValue", "schema"])) : vue.createCommentVNode("", true),
10152
- props2.delete ? (vue.openBlock(), vue.createBlock(vue.unref(Btn), {
10153
- key: 1,
10154
- icon: "delete",
10155
- value: "Delete",
10156
- class: "txt10 opacity-7 color-red",
10157
- thin: "",
10158
- flat: "",
10159
- onClick: ($event) => deleteItem(i2)
10160
- }, null, 8, ["onClick"])) : vue.createCommentVNode("", true)
10161
- ]),
10162
- _: 2
10163
- }, 1024);
10140
+ class: "mb-05 itemBox transition p-05"
10141
+ }, [
10142
+ _ctx.schema ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$O), {
10143
+ key: 0,
10144
+ modelValue: data2.value[i2],
10145
+ "onUpdate:modelValue": [($event) => data2.value[i2] = $event, emitValue],
10146
+ schema: _ctx.schema
10147
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "schema"])) : vue.createCommentVNode("", true),
10148
+ props2.delete ? (vue.openBlock(), vue.createBlock(vue.unref(Btn), {
10149
+ key: 1,
10150
+ icon: "delete",
10151
+ value: "Delete",
10152
+ class: "txt10 opacity-7 color-red",
10153
+ thin: "",
10154
+ flat: "",
10155
+ onClick: ($event) => deleteItem(i2)
10156
+ }, null, 8, ["onClick"])) : vue.createCommentVNode("", true)
10157
+ ]);
10164
10158
  }), 128)),
10165
10159
  _ctx.add ? (vue.openBlock(), vue.createBlock(vue.unref(Btn), {
10166
10160
  key: 0,
10161
+ thin: "",
10167
10162
  icon: "add",
10168
10163
  color: "gray",
10169
- class: "w-100",
10164
+ class: "txt12",
10170
10165
  onClick: addItem
10171
10166
  }, {
10172
10167
  default: vue.withCtx(() => [
@@ -10179,8 +10174,7 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
10179
10174
  };
10180
10175
  }
10181
10176
  });
10182
- const FieldArray = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-e8cf25b3"]]);
10183
- const _hoisted_1$D = { class: "primary-checkbox" };
10177
+ const _hoisted_1$C = { class: "primary-checkbox" };
10184
10178
  const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
10185
10179
  __name: "Checkbox",
10186
10180
  props: {
@@ -10191,7 +10185,7 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
10191
10185
  setup(__props) {
10192
10186
  const val = vue.useModel(__props, "modelValue");
10193
10187
  return (_ctx, _cache) => {
10194
- return vue.openBlock(), vue.createElementBlock("label", _hoisted_1$D, [
10188
+ return vue.openBlock(), vue.createElementBlock("label", _hoisted_1$C, [
10195
10189
  vue.renderSlot(_ctx.$slots, "label", {}, void 0, true),
10196
10190
  vue.withDirectives(vue.createElementVNode("input", {
10197
10191
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => val.value = $event),
@@ -10204,7 +10198,7 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
10204
10198
  }
10205
10199
  });
10206
10200
  const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-73f1d9ad"]]);
10207
- const _hoisted_1$C = ["title"];
10201
+ const _hoisted_1$B = ["title"];
10208
10202
  const _hoisted_2$p = ["id", "value", "required"];
10209
10203
  const _hoisted_3$k = ["for"];
10210
10204
  const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
@@ -10249,18 +10243,18 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
10249
10243
  vue.createTextVNode(vue.toDisplayString(_ctx.label), 1)
10250
10244
  ], true)
10251
10245
  ], 8, _hoisted_3$k)
10252
- ], 10, _hoisted_1$C);
10246
+ ], 10, _hoisted_1$B);
10253
10247
  };
10254
10248
  }
10255
10249
  });
10256
10250
  const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-03ed2982"]]);
10257
- const _hoisted_1$B = {
10251
+ const _hoisted_1$A = {
10258
10252
  key: 0,
10259
10253
  class: "code-editor-wrap grid rounded p-1 overflow hm-300px"
10260
10254
  };
10261
10255
  const _hoisted_2$o = { class: "overflow-hidden absolute inset-0 p-0 m-0 h-100 codeText" };
10262
10256
  const _hoisted_3$j = ["innerHTML"];
10263
- const _hoisted_4$c = ["onKeydown"];
10257
+ const _hoisted_4$d = ["onKeydown"];
10264
10258
  const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
10265
10259
  __name: "Index",
10266
10260
  props: {
@@ -10341,7 +10335,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
10341
10335
  }
10342
10336
  }, { immediate: true });
10343
10337
  return (_ctx, _cache) => {
10344
- return vue.unref(loaded) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$B, [
10338
+ return vue.unref(loaded) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$A, [
10345
10339
  vue.createElementVNode("div", {
10346
10340
  class: "relative block h-100",
10347
10341
  style: vue.normalizeStyle({ height: vue.unref(height) })
@@ -10366,7 +10360,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
10366
10360
  "data-gramm": "false",
10367
10361
  onKeydown: vue.withKeys(vue.withModifiers(handleTab, ["prevent"]), ["tab"]),
10368
10362
  onInput: _cache[1] || (_cache[1] = ($event) => emit2("update:modelValue", vue.unref(code)))
10369
- }, null, 40, _hoisted_4$c)), [
10363
+ }, null, 40, _hoisted_4$d)), [
10370
10364
  [vue.vModelText, vue.unref(code)]
10371
10365
  ]) : vue.createCommentVNode("", true)
10372
10366
  ], 4)
@@ -10375,7 +10369,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
10375
10369
  }
10376
10370
  });
10377
10371
  const CodeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-4f1dc18a"]]);
10378
- const _hoisted_1$A = ["title"];
10372
+ const _hoisted_1$z = ["title"];
10379
10373
  const _hoisted_2$n = ["id", "placeholder", "required"];
10380
10374
  const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
10381
10375
  __name: "ColorPicker",
@@ -10419,7 +10413,7 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
10419
10413
  [vue.vModelText, inputVal.value]
10420
10414
  ])
10421
10415
  ])
10422
- ], 10, _hoisted_1$A)) : vue.createCommentVNode("", true);
10416
+ ], 10, _hoisted_1$z)) : vue.createCommentVNode("", true);
10423
10417
  };
10424
10418
  }
10425
10419
  });
@@ -18977,7 +18971,7 @@ const eo = ({
18977
18971
  Object.entries(go).forEach(([e, t]) => {
18978
18972
  e !== "default" && (Hn[e] = t);
18979
18973
  });
18980
- const _hoisted_1$z = ["title"];
18974
+ const _hoisted_1$y = ["title"];
18981
18975
  const _hoisted_2$m = { key: 0 };
18982
18976
  const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
18983
18977
  __name: "DateInput",
@@ -19037,18 +19031,18 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
19037
19031
  "minutes-grid-increment": _ctx.minutesGridIncrement,
19038
19032
  "start-time": { hours: 8, minutes: 0 }
19039
19033
  }), null, 16, ["modelValue", "required", "enable-time-picker", "allowed-dates", "time-picker-inline", "minutes-increment", "minutes-grid-increment"])
19040
- ], 10, _hoisted_1$z);
19034
+ ], 10, _hoisted_1$y);
19041
19035
  };
19042
19036
  }
19043
19037
  });
19044
- const _hoisted_1$y = { class: "datetime-wrap" };
19038
+ const _hoisted_1$x = { class: "datetime-wrap" };
19045
19039
  const _hoisted_2$l = { class: "date-wrap" };
19046
19040
  const _hoisted_3$i = {
19047
19041
  key: 0,
19048
19042
  class: "time-wrap"
19049
19043
  };
19050
- const _hoisted_4$b = ["id", "name", "value"];
19051
- const _hoisted_5$b = ["for"];
19044
+ const _hoisted_4$c = ["id", "name", "value"];
19045
+ const _hoisted_5$c = ["for"];
19052
19046
  const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
19053
19047
  __name: "DatePicker",
19054
19048
  props: {
@@ -19077,7 +19071,7 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
19077
19071
  return `${hour}:${minute}`;
19078
19072
  });
19079
19073
  return (_ctx, _cache) => {
19080
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$y, [
19074
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$x, [
19081
19075
  vue.createElementVNode("div", _hoisted_2$l, [
19082
19076
  vue.createVNode(vue.unref(Hn), vue.mergeProps({
19083
19077
  modelValue: selectedDate.value,
@@ -19105,12 +19099,12 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
19105
19099
  type: "radio",
19106
19100
  name: _ctx.label,
19107
19101
  value: hr2
19108
- }, null, 8, _hoisted_4$b), [
19102
+ }, null, 8, _hoisted_4$c), [
19109
19103
  [vue.vModelRadio, selectedHour.value]
19110
19104
  ]),
19111
19105
  vue.createElementVNode("label", {
19112
19106
  for: `${hr2}_${_ctx.id}`
19113
- }, vue.toDisplayString(hr2), 9, _hoisted_5$b)
19107
+ }, vue.toDisplayString(hr2), 9, _hoisted_5$c)
19114
19108
  ], 64);
19115
19109
  }), 128))
19116
19110
  ])) : vue.createCommentVNode("", true)
@@ -19118,7 +19112,7 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
19118
19112
  };
19119
19113
  }
19120
19114
  });
19121
- const _hoisted_1$x = ["src", "alt", "width", "height"];
19115
+ const _hoisted_1$w = ["src", "alt", "width", "height"];
19122
19116
  const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
19123
19117
  __name: "Image",
19124
19118
  props: {
@@ -19182,7 +19176,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
19182
19176
  alt: _ctx.alt,
19183
19177
  width: vue.unref(normalizeDimension)(_ctx.width),
19184
19178
  height: vue.unref(normalizeDimension)(_ctx.height)
19185
- }), null, 16, _hoisted_1$x)) : (vue.openBlock(), vue.createBlock(vue.unref(Skeleton), {
19179
+ }), null, 16, _hoisted_1$w)) : (vue.openBlock(), vue.createBlock(vue.unref(Skeleton), {
19186
19180
  key: 1,
19187
19181
  class: "img-web-kit",
19188
19182
  width: vue.unref(normalizeDimension)(_ctx.width),
@@ -19192,7 +19186,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
19192
19186
  }
19193
19187
  });
19194
19188
  const Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-a96b25a8"]]);
19195
- const _hoisted_1$w = { class: "bagel-input" };
19189
+ const _hoisted_1$v = { class: "bagel-input" };
19196
19190
  const _hoisted_2$k = {
19197
19191
  key: 0,
19198
19192
  placeholder: "required",
@@ -19201,12 +19195,12 @@ const _hoisted_2$k = {
19201
19195
  class: "pixel"
19202
19196
  };
19203
19197
  const _hoisted_3$h = { class: "m-05 flex opacity-7 z-99" };
19204
- const _hoisted_4$a = { class: "ellipsis-1 word-break-all h-20 m-0" };
19205
- const _hoisted_5$a = {
19198
+ const _hoisted_4$b = { class: "ellipsis-1 word-break-all h-20 m-0" };
19199
+ const _hoisted_5$b = {
19206
19200
  key: 1,
19207
19201
  class: "txt-gray txt-12"
19208
19202
  };
19209
- const _hoisted_6$8 = {
19203
+ const _hoisted_6$9 = {
19210
19204
  key: 0,
19211
19205
  class: "bgl-multi-preview"
19212
19206
  };
@@ -19404,7 +19398,7 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
19404
19398
  return (_ctx, _cache) => {
19405
19399
  const _directive_tooltip = vue.resolveDirective("tooltip");
19406
19400
  const _directive_lightbox = vue.resolveDirective("lightbox");
19407
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$w, [
19401
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$v, [
19408
19402
  vue.createElementVNode("label", null, vue.toDisplayString(_ctx.label), 1),
19409
19403
  _ctx.required && !storageFiles.value.length ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_2$k)) : vue.createCommentVNode("", true),
19410
19404
  _ctx.theme === "basic" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$W), {
@@ -19461,7 +19455,7 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
19461
19455
  }, null, 8, ["href", "download"]), [
19462
19456
  [_directive_tooltip, "Download"]
19463
19457
  ]),
19464
- vue.withDirectives((vue.openBlock(), vue.createElementBlock("p", _hoisted_4$a, [
19458
+ vue.withDirectives((vue.openBlock(), vue.createElementBlock("p", _hoisted_4$b, [
19465
19459
  vue.createTextVNode(vue.toDisplayString(file.name), 1)
19466
19460
  ])), [
19467
19461
  [_directive_lightbox, { src: file.url, download: true }]
@@ -19476,7 +19470,7 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
19476
19470
  ])
19477
19471
  ]);
19478
19472
  }), 128)),
19479
- !storageFiles.value.length && !fileQueue.value.length ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_5$a, " No file selected ")) : vue.createCommentVNode("", true)
19473
+ !storageFiles.value.length && !fileQueue.value.length ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_5$b, " No file selected ")) : vue.createCommentVNode("", true)
19480
19474
  ]),
19481
19475
  _: 1
19482
19476
  })) : (vue.openBlock(), vue.createElementBlock("div", {
@@ -19496,7 +19490,7 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
19496
19490
  files: storageFiles.value,
19497
19491
  fileQueue: fileQueue.value
19498
19492
  }, () => [
19499
- _ctx.multiple ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$8, [
19493
+ _ctx.multiple ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$9, [
19500
19494
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(storageFiles.value, (file) => {
19501
19495
  return vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
19502
19496
  key: file.id,
@@ -19653,7 +19647,7 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
19653
19647
  }
19654
19648
  });
19655
19649
  const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-6bfdaea2"]]);
19656
- const _hoisted_1$v = ["title"];
19650
+ const _hoisted_1$u = ["title"];
19657
19651
  const _hoisted_2$j = { key: 0 };
19658
19652
  const _hoisted_3$g = ["value", "placeholder"];
19659
19653
  const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
@@ -19688,12 +19682,12 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
19688
19682
  placeholder: _ctx.placeholder,
19689
19683
  onInput: handleInput
19690
19684
  }, null, 42, _hoisted_3$g)
19691
- ], 10, _hoisted_1$v);
19685
+ ], 10, _hoisted_1$u);
19692
19686
  };
19693
19687
  }
19694
19688
  });
19695
19689
  const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-1cbaeab2"]]);
19696
- const _hoisted_1$u = ["value", "autofocus", "onKeydown", "onPaste"];
19690
+ const _hoisted_1$t = ["value", "autofocus", "onKeydown", "onPaste"];
19697
19691
  const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
19698
19692
  __name: "OTP",
19699
19693
  props: {
@@ -19792,7 +19786,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
19792
19786
  oninput: "this.value = this.value.slice(0, 1);",
19793
19787
  onKeydown: ($event) => handleKeyDown($event, ind),
19794
19788
  onPaste: ($event) => handlePaste($event, ind)
19795
- }, null, 40, _hoisted_1$u);
19789
+ }, null, 40, _hoisted_1$t);
19796
19790
  }), 128))
19797
19791
  ], 512);
19798
19792
  };
@@ -19862,12 +19856,12 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
19862
19856
  };
19863
19857
  }
19864
19858
  });
19865
- const _hoisted_1$t = ["for"];
19859
+ const _hoisted_1$s = ["for"];
19866
19860
  const _hoisted_2$i = ["id", "name", "value"];
19867
19861
  const _hoisted_3$f = { class: "flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025" };
19868
- const _hoisted_4$9 = ["src", "alt"];
19869
- const _hoisted_5$9 = { class: "" };
19870
- const _hoisted_6$7 = {
19862
+ const _hoisted_4$a = ["src", "alt"];
19863
+ const _hoisted_5$a = { class: "" };
19864
+ const _hoisted_6$8 = {
19871
19865
  key: 0,
19872
19866
  class: "m-0 m_txt-14"
19873
19867
  };
@@ -19913,9 +19907,9 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
19913
19907
  width: "60",
19914
19908
  src: opt.imgSrc,
19915
19909
  alt: opt.imgAlt
19916
- }, null, 8, _hoisted_4$9)) : vue.createCommentVNode("", true),
19917
- vue.createElementVNode("div", _hoisted_5$9, [
19918
- opt.label ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_6$7, vue.toDisplayString(opt.label), 1)) : vue.createCommentVNode("", true),
19910
+ }, null, 8, _hoisted_4$a)) : vue.createCommentVNode("", true),
19911
+ vue.createElementVNode("div", _hoisted_5$a, [
19912
+ opt.label ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_6$8, vue.toDisplayString(opt.label), 1)) : vue.createCommentVNode("", true),
19919
19913
  opt.subLabel ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_7$4, vue.toDisplayString(opt.subLabel), 1)) : vue.createCommentVNode("", true)
19920
19914
  ]),
19921
19915
  vue.renderSlot(_ctx.$slots, "radioItem", vue.mergeProps({ ref_for: true }, opt), void 0, true)
@@ -19928,18 +19922,18 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
19928
19922
  icon: "delete",
19929
19923
  onClick: ($event) => _ctx.$emit("delete", opt)
19930
19924
  }, null, 8, ["onClick"])) : vue.createCommentVNode("", true)
19931
- ], 8, _hoisted_1$t);
19925
+ ], 8, _hoisted_1$s);
19932
19926
  }), 128))
19933
19927
  ]);
19934
19928
  };
19935
19929
  }
19936
19930
  });
19937
19931
  const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-3e9e030f"]]);
19938
- const _hoisted_1$s = { class: "bagel-input" };
19932
+ const _hoisted_1$r = { class: "bagel-input" };
19939
19933
  const _hoisted_2$h = { class: "pb-025" };
19940
19934
  const _hoisted_3$e = { class: "flex gap-05 flex-wrap" };
19941
- const _hoisted_4$8 = ["id", "name", "value", "checked"];
19942
- const _hoisted_5$8 = ["for"];
19935
+ const _hoisted_4$9 = ["id", "name", "value", "checked"];
19936
+ const _hoisted_5$9 = ["for"];
19943
19937
  const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
19944
19938
  __name: "RadioPillsInput",
19945
19939
  props: {
@@ -19981,7 +19975,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
19981
19975
  selectedValue.value = props2.modelValue;
19982
19976
  });
19983
19977
  return (_ctx, _cache) => {
19984
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$s, [
19978
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$r, [
19985
19979
  vue.createElementVNode("label", _hoisted_2$h, vue.toDisplayString(_ctx.label), 1),
19986
19980
  vue.createElementVNode("div", _hoisted_3$e, [
19987
19981
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.options, (option2, index2) => {
@@ -19996,10 +19990,10 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
19996
19990
  value: getValue(option2),
19997
19991
  checked: vue.unref(selectedValue) === getValue(option2),
19998
19992
  onChange: handleSelect
19999
- }, null, 40, _hoisted_4$8),
19993
+ }, null, 40, _hoisted_4$9),
20000
19994
  vue.createElementVNode("label", {
20001
19995
  for: `${_ctx.id}-${getValue(option2)}`
20002
- }, vue.toDisplayString(getLabel(option2)), 9, _hoisted_5$8)
19996
+ }, vue.toDisplayString(getLabel(option2)), 9, _hoisted_5$9)
20003
19997
  ]);
20004
19998
  }), 128))
20005
19999
  ])
@@ -20008,76 +20002,113 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
20008
20002
  }
20009
20003
  });
20010
20004
  const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-cf892d71"]]);
20011
- const _hoisted_1$r = { key: 0 };
20012
- const _hoisted_2$g = ["id", "disabled", "max", "min", "step", "required", "name"];
20013
- const _hoisted_3$d = { key: 1 };
20005
+ const _hoisted_1$q = { class: "label" };
20006
+ const _hoisted_2$g = { class: "range-slider relative w-100" };
20007
+ const _hoisted_3$d = ["id", "min", "max", "step", "required", "disabled"];
20008
+ const _hoisted_4$8 = ["min", "max", "step", "required", "disabled"];
20009
+ const _hoisted_5$8 = { class: "track absolute pointer-events-none overflow-hidden round" };
20010
+ const _hoisted_6$7 = { class: "txt-center txt-14 range-slider-txt flex space-between opacity-4 mx-05" };
20014
20011
  const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
20015
20012
  __name: "RangeInput",
20016
- props: /* @__PURE__ */ vue.mergeModels({
20017
- min: {},
20018
- max: {},
20019
- step: {},
20013
+ props: {
20014
+ min: { default: 0 },
20015
+ max: { default: 100 },
20016
+ modelValue: {},
20017
+ step: { default: 1 },
20018
+ required: { type: Boolean },
20019
+ label: {},
20020
20020
  disabled: { type: Boolean },
20021
20021
  id: {},
20022
- name: {},
20023
- required: { type: Boolean },
20024
- thickness: { default: "8px" }
20025
- }, {
20026
- "modelValue": { default: 0 },
20027
- "modelModifiers": {}
20028
- }),
20022
+ rtl: { type: Boolean }
20023
+ },
20029
20024
  emits: ["update:modelValue"],
20030
- setup(__props) {
20031
- const val = vue.useModel(__props, "modelValue");
20032
- const range2 = vue.ref();
20033
- const direction = vue.computed(() => {
20034
- if (!range2.value) return "ltr";
20035
- const parent = range2.value.parentElement;
20036
- return getComputedStyle(parent).direction;
20037
- });
20038
- const background = vue.computed(() => {
20039
- const minVal = __props.min ?? 0;
20040
- const maxVal = __props.max ?? 100;
20041
- const percentage = (val.value - minVal) / (maxVal - minVal) * 100;
20042
- if (direction.value === "rtl") {
20043
- return `linear-gradient(to left, var(--bgl-primary) ${percentage}%, var(--input-bg) ${percentage}%)`;
20044
- }
20045
- return `linear-gradient(to right, var(--bgl-primary) ${percentage}%, var(--input-bg) ${percentage}%)`;
20025
+ setup(__props, { emit: __emit }) {
20026
+ const emit2 = __emit;
20027
+ const isRange = vue.computed(() => Array.isArray(__props.modelValue));
20028
+ let from = vue.ref(__props.min);
20029
+ let to2 = vue.ref(__props.max);
20030
+ const validFrom = vue.computed(() => Math.min(Math.max(from.value, __props.min), to2.value));
20031
+ const validTo = vue.computed(() => Math.max(Math.min(to2.value, __props.max), from.value));
20032
+ function emitValue() {
20033
+ emit2("update:modelValue", isRange.value ? [validFrom.value, validTo.value] : validFrom.value);
20034
+ }
20035
+ vue.watch(() => validFrom.value, (newVal) => {
20036
+ if (from.value !== newVal) from.value = newVal;
20046
20037
  });
20047
- vue.watch(() => val.value, (newValue) => {
20048
- if (__props.min !== void 0 && newValue < __props.min) val.value = __props.min;
20049
- if (__props.max !== void 0 && newValue > __props.max) val.value = __props.max;
20038
+ vue.watch(() => validTo.value, (newVal) => {
20039
+ if (to2.value !== newVal) to2.value = newVal;
20050
20040
  });
20051
- const height = vue.computed(() => {
20052
- return Number.isNaN(Number(__props.thickness)) ? __props.thickness : `${__props.thickness}px`;
20041
+ const fromPercentage = vue.computed(() => (validFrom.value - __props.min) / (__props.max - __props.min) * 100);
20042
+ const toPercentage = vue.computed(() => (validTo.value - __props.min) / (__props.max - __props.min) * 100);
20043
+ const rangeStyle = vue.computed(() => {
20044
+ const width = (validTo.value - validFrom.value) / (__props.max - __props.min) * 100;
20045
+ if (__props.rtl || isRange.value) return { left: `${fromPercentage.value}%`, width: `${width}%` };
20046
+ return { right: `${width}%`, width: `${fromPercentage.value}%` };
20053
20047
  });
20054
20048
  return (_ctx, _cache) => {
20055
- return vue.openBlock(), vue.createElementBlock("div", {
20056
- class: vue.normalizeClass(["flex gap-1 align-center range-slide", { disabled: _ctx.disabled }])
20057
- }, [
20058
- _ctx.min !== void 0 ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_1$r, vue.toDisplayString(_ctx.min), 1)) : vue.createCommentVNode("", true),
20059
- vue.withDirectives(vue.createElementVNode("input", {
20060
- id: _ctx.id,
20061
- ref_key: "range",
20062
- ref: range2,
20063
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => val.value = $event),
20064
- disabled: _ctx.disabled,
20065
- style: vue.normalizeStyle({ background: background.value, height: height.value }),
20066
- max: _ctx.max,
20067
- min: _ctx.min,
20068
- step: _ctx.step,
20069
- required: _ctx.required,
20070
- type: "range",
20071
- name: _ctx.name
20072
- }, null, 12, _hoisted_2$g), [
20073
- [vue.vModelText, val.value]
20049
+ return vue.openBlock(), vue.createElementBlock("div", null, [
20050
+ vue.createElementVNode("label", _hoisted_1$q, vue.toDisplayString(_ctx.label), 1),
20051
+ vue.createElementVNode("div", _hoisted_2$g, [
20052
+ vue.withDirectives(vue.createElementVNode("input", {
20053
+ id: _ctx.id,
20054
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(from) ? from.value = $event : from = $event),
20055
+ class: "from",
20056
+ type: "range",
20057
+ min: _ctx.min,
20058
+ max: _ctx.max,
20059
+ step: _ctx.step,
20060
+ required: _ctx.required,
20061
+ disabled: _ctx.disabled,
20062
+ "aria-label": "Minimum value",
20063
+ onChange: emitValue
20064
+ }, null, 40, _hoisted_3$d), [
20065
+ [vue.vModelText, vue.unref(from)]
20066
+ ]),
20067
+ isRange.value ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", {
20068
+ key: 0,
20069
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(to2) ? to2.value = $event : to2 = $event),
20070
+ class: "to",
20071
+ type: "range",
20072
+ min: _ctx.min,
20073
+ max: _ctx.max,
20074
+ step: _ctx.step,
20075
+ required: _ctx.required,
20076
+ disabled: _ctx.disabled,
20077
+ "aria-label": "Maximum value",
20078
+ onChange: emitValue
20079
+ }, null, 40, _hoisted_4$8)), [
20080
+ [vue.vModelText, vue.unref(to2)]
20081
+ ]) : vue.createCommentVNode("", true),
20082
+ vue.createElementVNode("div", _hoisted_5$8, [
20083
+ vue.createElementVNode("div", {
20084
+ class: "active-range absolute h-100 pointer-events-none bg-primary",
20085
+ style: vue.normalizeStyle(rangeStyle.value)
20086
+ }, null, 4)
20087
+ ]),
20088
+ vue.unref(from) !== _ctx.min ? (vue.openBlock(), vue.createElementBlock("p", {
20089
+ key: 1,
20090
+ class: "txt-center txt-12 range-slider-position-txt absolute line-height-1 opacity-0",
20091
+ style: vue.normalizeStyle({ marginInlineStart: `calc(${fromPercentage.value}% - 4px)` })
20092
+ }, [
20093
+ vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(from)), 1)
20094
+ ], 4)) : vue.createCommentVNode("", true),
20095
+ isRange.value && vue.unref(to2) !== _ctx.max ? (vue.openBlock(), vue.createElementBlock("p", {
20096
+ key: 2,
20097
+ class: "txt-center txt-12 range-slider-position-txt opacity-0 line-height-1 absolute",
20098
+ style: vue.normalizeStyle({ marginInlineStart: `calc(${toPercentage.value}% - 12px)` })
20099
+ }, [
20100
+ vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(to2)), 1)
20101
+ ], 4)) : vue.createCommentVNode("", true)
20074
20102
  ]),
20075
- _ctx.max !== void 0 ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_3$d, vue.toDisplayString(_ctx.max), 1)) : vue.createCommentVNode("", true)
20076
- ], 2);
20103
+ vue.createElementVNode("p", _hoisted_6$7, [
20104
+ vue.createElementVNode("span", null, vue.toDisplayString(_ctx.min), 1),
20105
+ vue.createElementVNode("span", null, vue.toDisplayString(_ctx.max), 1)
20106
+ ])
20107
+ ]);
20077
20108
  };
20078
20109
  }
20079
20110
  });
20080
- const RangeInput = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-ded4d62d"]]);
20111
+ const RangeInput = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-dae624bd"]]);
20081
20112
  const defaultToolbarConfig = [
20082
20113
  "h2",
20083
20114
  "h3",
@@ -20144,7 +20175,7 @@ const toolbarOptions = [
20144
20175
  { name: "separator" },
20145
20176
  { name: "fullScreen", label: "Full Screen", icon: "fullscreen", class: "ms-auto" }
20146
20177
  ];
20147
- const _hoisted_1$q = { class: "grid grid-wrap p-05" };
20178
+ const _hoisted_1$p = { class: "grid grid-wrap p-05" };
20148
20179
  const _hoisted_2$f = ["onMousemove", "onClick"];
20149
20180
  const _hoisted_3$c = { class: "txt-center txt-12 color-gray" };
20150
20181
  const fb = 1;
@@ -20165,7 +20196,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
20165
20196
  return hoveredCol.value > base - 1 ? enlarge : base;
20166
20197
  });
20167
20198
  return (_ctx, _cache) => {
20168
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$q, [
20199
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$p, [
20169
20200
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(rowSize.value, (row) => {
20170
20201
  return vue.openBlock(), vue.createElementBlock("div", {
20171
20202
  key: `row-${row}`,
@@ -20202,7 +20233,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
20202
20233
  }
20203
20234
  });
20204
20235
  const GridBox = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-4548b70f"]]);
20205
- const _hoisted_1$p = {
20236
+ const _hoisted_1$o = {
20206
20237
  class: "toolbar flex gap-025 pb-05 flex-wrap",
20207
20238
  role: "toolbar"
20208
20239
  };
@@ -20221,7 +20252,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
20221
20252
  }
20222
20253
  return (_ctx, _cache) => {
20223
20254
  const _directive_tooltip = vue.resolveDirective("tooltip");
20224
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$p, [
20255
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$o, [
20225
20256
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.config.map(configToOption).filter(Boolean), (action, index2) => {
20226
20257
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: index2 }, [
20227
20258
  action.name === "insertTable" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
@@ -20898,7 +20929,7 @@ function useEditorKeyboard(doc, handleToolbarAction) {
20898
20929
  }
20899
20930
  });
20900
20931
  }
20901
- const _hoisted_1$o = { class: "content-area radius-05" };
20932
+ const _hoisted_1$n = { class: "content-area radius-05" };
20902
20933
  const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
20903
20934
  __name: "index",
20904
20935
  props: {
@@ -20944,7 +20975,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
20944
20975
  return (_ctx, _cache) => {
20945
20976
  var _a2, _b;
20946
20977
  return vue.openBlock(), vue.createElementBlock("div", {
20947
- class: vue.normalizeClass(["rich-text-editor rounded pt-05 px-05 pb-075", { "fullscreen-mode": vue.unref(editor).state.isFullscreen }])
20978
+ class: vue.normalizeClass(["rich-text-editor rounded pt-05 px-05 pb-075 mb-05", { "fullscreen-mode": vue.unref(editor).state.isFullscreen }])
20948
20979
  }, [
20949
20980
  vue.unref(editor).state.hasInit ? (vue.openBlock(), vue.createBlock(Toolbar, {
20950
20981
  key: 0,
@@ -20955,7 +20986,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
20955
20986
  vue.createElementVNode("div", {
20956
20987
  class: vue.normalizeClass(["editor-container", { "split-view": (_a2 = vue.unref(editor)) == null ? void 0 : _a2.state.isSplitView }])
20957
20988
  }, [
20958
- vue.createElementVNode("div", _hoisted_1$o, [
20989
+ vue.createElementVNode("div", _hoisted_1$n, [
20959
20990
  vue.createElementVNode("iframe", {
20960
20991
  id: "rich-text-iframe",
20961
20992
  ref_key: "iframe",
@@ -20979,8 +21010,8 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
20979
21010
  };
20980
21011
  }
20981
21012
  });
20982
- const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-7a98aefd"]]);
20983
- const _hoisted_1$n = { class: "flex gap-05" };
21013
+ const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-8d91c8f8"]]);
21014
+ const _hoisted_1$m = { class: "flex gap-05" };
20984
21015
  const _hoisted_2$e = ["disabled"];
20985
21016
  const _hoisted_3$b = { key: 1 };
20986
21017
  const _hoisted_4$7 = {
@@ -21176,7 +21207,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
21176
21207
  trigger: vue.withCtx(() => [
21177
21208
  vue.createElementVNode("label", null, [
21178
21209
  vue.createTextVNode(vue.toDisplayString(_ctx.label) + " ", 1),
21179
- vue.createElementVNode("div", _hoisted_1$n, [
21210
+ vue.createElementVNode("div", _hoisted_1$m, [
21180
21211
  _ctx.searchable && vue.unref(open) ? (vue.openBlock(), vue.createBlock(vue.unref(TextInput), {
21181
21212
  key: 0,
21182
21213
  ref_key: "searchInput",
@@ -21891,7 +21922,7 @@ class SignaturePad extends SignatureEventTarget {
21891
21922
  return svg.outerHTML;
21892
21923
  }
21893
21924
  }
21894
- const _hoisted_1$m = ["disabled"];
21925
+ const _hoisted_1$l = ["disabled"];
21895
21926
  const _hoisted_2$d = {
21896
21927
  key: 1,
21897
21928
  placeholder: "required",
@@ -22052,7 +22083,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
22052
22083
  ref: vCanvas,
22053
22084
  class: "canvas",
22054
22085
  disabled: _ctx.disabled
22055
- }, null, 8, _hoisted_1$m),
22086
+ }, null, 8, _hoisted_1$l),
22056
22087
  _ctx.required && vue.unref(_isEmpty) ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_2$d)) : vue.createCommentVNode("", true)
22057
22088
  ], 34);
22058
22089
  };
@@ -24537,7 +24568,7 @@ const VueDraggableNext = vue.defineComponent({
24537
24568
  }
24538
24569
  }
24539
24570
  });
24540
- const _hoisted_1$l = ["title"];
24571
+ const _hoisted_1$k = ["title"];
24541
24572
  const _hoisted_2$c = { class: "bagel-input" };
24542
24573
  const _hoisted_3$a = { class: "table-side-scroll" };
24543
24574
  const _hoisted_4$6 = { class: "table-header" };
@@ -24683,7 +24714,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
24683
24714
  ])),
24684
24715
  _: 1
24685
24716
  })
24686
- ], 8, _hoisted_1$l);
24717
+ ], 8, _hoisted_1$k);
24687
24718
  };
24688
24719
  }
24689
24720
  });
@@ -29134,7 +29165,7 @@ function parsePhoneNumber$1() {
29134
29165
  function parsePhoneNumber() {
29135
29166
  return withMetadataArgument(parsePhoneNumber$1, arguments);
29136
29167
  }
29137
- const _hoisted_1$k = ["aria-expanded"];
29168
+ const _hoisted_1$j = ["aria-expanded"];
29138
29169
  const _hoisted_2$b = { class: "p-075 tel-countryp-dropdown" };
29139
29170
  const _hoisted_3$9 = ["aria-selected", "onClick", "onMousemove"];
29140
29171
  const _hoisted_4$5 = { class: "tel-country" };
@@ -29488,14 +29519,14 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
29488
29519
  }, null, 44, _hoisted_6$4), [
29489
29520
  [vue.vModelText, phone.value]
29490
29521
  ])
29491
- ], 40, _hoisted_1$k)
29522
+ ], 40, _hoisted_1$j)
29492
29523
  ])
29493
29524
  ], 2);
29494
29525
  };
29495
29526
  }
29496
29527
  });
29497
29528
  const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-627af458"]]);
29498
- const _hoisted_1$j = ["title"];
29529
+ const _hoisted_1$i = ["title"];
29499
29530
  const _hoisted_2$a = ["for"];
29500
29531
  const _hoisted_3$8 = ["id", "title", "autocomplete", "type", "placeholder", "disabled", "required", "pattern"];
29501
29532
  const _hoisted_4$4 = ["id", "title", "type", "rows", "placeholder", "disabled", "required", "pattern"];
@@ -29637,12 +29668,12 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
29637
29668
  icon: _ctx.icon
29638
29669
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true)
29639
29670
  ], 8, _hoisted_2$a)
29640
- ], 10, _hoisted_1$j);
29671
+ ], 10, _hoisted_1$i);
29641
29672
  };
29642
29673
  }
29643
29674
  });
29644
29675
  const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-0e10a3b5"]]);
29645
- const _hoisted_1$i = ["title"];
29676
+ const _hoisted_1$h = ["title"];
29646
29677
  const _hoisted_2$9 = ["id", "required"];
29647
29678
  const _hoisted_3$7 = ["for"];
29648
29679
  const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
@@ -29689,12 +29720,12 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
29689
29720
  vue.createTextVNode(vue.toDisplayString(_ctx.label), 1)
29690
29721
  ], true)
29691
29722
  ], 8, _hoisted_3$7)
29692
- ], 10, _hoisted_1$i);
29723
+ ], 10, _hoisted_1$h);
29693
29724
  };
29694
29725
  }
29695
29726
  });
29696
29727
  const ToggleInput = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-486451e5"]]);
29697
- const _hoisted_1$h = ["src", "title", "width", "height", "marginwidth", "marginheight", "csp", "scrolling", "srcset"];
29728
+ const _hoisted_1$g = ["src", "title", "width", "height", "marginwidth", "marginheight", "csp", "scrolling", "srcset"];
29698
29729
  const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
29699
29730
  __name: "IframeVue",
29700
29731
  props: {
@@ -29754,11 +29785,11 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
29754
29785
  scrolling: _ctx.scrolling,
29755
29786
  srcset: _ctx.srcset,
29756
29787
  onLoad: _cache[0] || (_cache[0] = ($event) => emit2("load", $event))
29757
- }, null, 40, _hoisted_1$h);
29788
+ }, null, 40, _hoisted_1$g);
29758
29789
  };
29759
29790
  }
29760
29791
  });
29761
- const _hoisted_1$g = { class: "m-0 pb-025 txt14 line-height-1 w60 menu-text" };
29792
+ const _hoisted_1$f = { class: "m-0 pb-025 txt14 line-height-1 w60 menu-text" };
29762
29793
  const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
29763
29794
  __name: "BottomMenu",
29764
29795
  props: {
@@ -29782,7 +29813,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
29782
29813
  size: 1.4,
29783
29814
  class: "m-0 line-height-14"
29784
29815
  }, null, 8, ["icon"]),
29785
- vue.createElementVNode("p", _hoisted_1$g, vue.toDisplayString(nav.label), 1)
29816
+ vue.createElementVNode("p", _hoisted_1$f, vue.toDisplayString(nav.label), 1)
29786
29817
  ]),
29787
29818
  _: 2
29788
29819
  }, 1032, ["to", "onClick"]);
@@ -29837,7 +29868,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
29837
29868
  }
29838
29869
  });
29839
29870
  const Layout = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-1814129a"]]);
29840
- const _hoisted_1$f = { key: 0 };
29871
+ const _hoisted_1$e = { key: 0 };
29841
29872
  const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
29842
29873
  __name: "SidebarMenu",
29843
29874
  props: {
@@ -29885,7 +29916,7 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
29885
29916
  }, null, 8, ["icon"]),
29886
29917
  vue.createVNode(vue.Transition, { name: "showP" }, {
29887
29918
  default: vue.withCtx(() => [
29888
- _ctx.open ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_1$f, vue.toDisplayString(nav.label), 1)) : vue.createCommentVNode("", true)
29919
+ _ctx.open ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_1$e, vue.toDisplayString(nav.label), 1)) : vue.createCommentVNode("", true)
29889
29920
  ]),
29890
29921
  _: 2
29891
29922
  }, 1024)
@@ -29945,7 +29976,7 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
29945
29976
  }
29946
29977
  });
29947
29978
  const Skeleton = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-4da8c0d1"]]);
29948
- const _hoisted_1$e = { class: "bgl_card tabs-top" };
29979
+ const _hoisted_1$d = { class: "bgl_card tabs-top" };
29949
29980
  const _hoisted_2$8 = { class: "tabs grid auto-flow-columns fit-content" };
29950
29981
  const _hoisted_3$6 = ["onClick"];
29951
29982
  const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
@@ -29981,7 +30012,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
29981
30012
  return vue.openBlock(), vue.createElementBlock("div", {
29982
30013
  class: vue.normalizeClass(["h-100 grid list-view gap-1", { "side-tabs": _ctx.sideTabs }])
29983
30014
  }, [
29984
- vue.createElementVNode("div", _hoisted_1$e, [
30015
+ vue.createElementVNode("div", _hoisted_1$d, [
29985
30016
  vue.renderSlot(_ctx.$slots, "top-section", {}, void 0, true),
29986
30017
  vue.createElementVNode("div", _hoisted_2$8, [
29987
30018
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.tabs, (tab) => {
@@ -30009,7 +30040,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
30009
30040
  }
30010
30041
  });
30011
30042
  const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-0a54cdeb"]]);
30012
- const _hoisted_1$d = { key: 0 };
30043
+ const _hoisted_1$c = { key: 0 };
30013
30044
  const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
30014
30045
  __name: "Tabs",
30015
30046
  props: {
@@ -30052,14 +30083,13 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
30052
30083
  group: vue.unref(group),
30053
30084
  class: "mb-05"
30054
30085
  }, null, 8, ["modelValue", "flat", "tabs", "group"]),
30055
- vue.unref(currentTab) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$d, [
30086
+ vue.unref(currentTab) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$c, [
30056
30087
  vue.unref(slots)[vue.unref(currentTab)] ? vue.renderSlot(_ctx.$slots, vue.unref(currentTab), { key: 0 }) : vue.unref(currentTab) ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(vue.unref(tabComponent)), { key: 1 })) : vue.createCommentVNode("", true)
30057
30088
  ])) : vue.createCommentVNode("", true)
30058
30089
  ], 64);
30059
30090
  };
30060
30091
  }
30061
30092
  });
30062
- const _hoisted_1$c = { key: 0 };
30063
30093
  const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
30064
30094
  __name: "TabsBody",
30065
30095
  props: {
@@ -30069,9 +30099,7 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
30069
30099
  const props2 = __props;
30070
30100
  const { currentTab } = useTabs(props2.group);
30071
30101
  return (_ctx, _cache) => {
30072
- return vue.unref(currentTab) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$c, [
30073
- vue.renderSlot(_ctx.$slots, vue.unref(currentTab))
30074
- ])) : vue.createCommentVNode("", true);
30102
+ return vue.unref(currentTab) ? vue.renderSlot(_ctx.$slots, vue.unref(currentTab), { key: 0 }) : vue.createCommentVNode("", true);
30075
30103
  };
30076
30104
  }
30077
30105
  });
@@ -32689,7 +32717,6 @@ const groups = {};
32689
32717
  let clickHandler = (_e2) => void 0;
32690
32718
  const lightboxDirective = {
32691
32719
  mounted(el, binding) {
32692
- el.classList.add("hover");
32693
32720
  const item = bindingToItem(binding, el);
32694
32721
  groupHandler(item);
32695
32722
  clickHandler = (e) => {
@@ -33672,7 +33699,7 @@ exports.DataPreview = DataPreview;
33672
33699
  exports.DateInput = _sfc_main$H;
33673
33700
  exports.DatePicker = _sfc_main$G;
33674
33701
  exports.Dropdown = _sfc_main$S;
33675
- exports.FieldArray = FieldArray;
33702
+ exports.FieldArray = _sfc_main$M;
33676
33703
  exports.FileUpload = FileUpload;
33677
33704
  exports.Flag = Flag;
33678
33705
  exports.IMAGE_FORMATS = IMAGE_FORMATS;