@bagelink/vue 0.0.1000 → 0.0.1004

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.mjs CHANGED
@@ -3,7 +3,7 @@ var __defNormalProp2 = (obj, key, value) => key in obj ? __defProp2(obj, key, {
3
3
  var __publicField2 = (obj, key, value) => __defNormalProp2(obj, typeof key !== "symbol" ? key + "" : key, value);
4
4
  import { defineComponent, reactive, provide, openBlock, createElementBlock, renderSlot, ref, computed, inject, watch, normalizeClass, createElementVNode, unref, createVNode, createCommentVNode, toDisplayString, Transition, withCtx, isRef, Fragment, renderList, createBlock, useSlots, resolveDirective, withDirectives, resolveDynamicComponent, mergeProps, withModifiers, withKeys, createTextVNode, normalizeStyle, onMounted, onUnmounted, resolveComponent, mergeModels, useModel, pushScopeId, popScopeId, nextTick, normalizeProps, guardReactiveProps, withScopeId, createApp, h as h$2, onBeforeUnmount, vModelCheckbox, vModelText, toRef, createSlots, Teleport, render as render$e, onBeforeUpdate, vShow, getCurrentScope, onScopeDispose, vModelRadio, TransitionGroup, vModelDynamic, useCssVars, getCurrentInstance, shallowRef, markRaw } from "vue";
5
5
  import { RouterLink } from "vue-router";
6
- const _sfc_main$10 = /* @__PURE__ */ defineComponent({
6
+ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
7
7
  __name: "Accordion",
8
8
  setup(__props) {
9
9
  const state2 = reactive({
@@ -17,10 +17,10 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
17
17
  };
18
18
  }
19
19
  });
20
- const _hoisted_1$O = ["aria-expanded", "aria-controls"];
20
+ const _hoisted_1$P = ["aria-expanded", "aria-controls"];
21
21
  const _hoisted_2$v = { class: "accordion-label" };
22
22
  const _hoisted_3$o = ["id", "aria-hidden"];
23
- const _sfc_main$$ = /* @__PURE__ */ defineComponent({
23
+ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
24
24
  __name: "AccordionItem",
25
25
  props: {
26
26
  label: {},
@@ -94,7 +94,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
94
94
  }, [
95
95
  createVNode(unref(_sfc_main$c), { icon: computedIcon.value }, null, 8, ["icon"])
96
96
  ], 2)) : createCommentVNode("", true)
97
- ], 8, _hoisted_1$O),
97
+ ], 8, _hoisted_1$P),
98
98
  createVNode(Transition, { name: "expand" }, {
99
99
  default: withCtx(() => [
100
100
  unref(isOpen) ? (openBlock(), createElementBlock("div", {
@@ -119,9 +119,9 @@ const _export_sfc = (sfc, props2) => {
119
119
  }
120
120
  return target;
121
121
  };
122
- const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-3a286d21"]]);
123
- const _hoisted_1$N = { class: "relative" };
124
- const _sfc_main$_ = /* @__PURE__ */ defineComponent({
122
+ const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__scopeId", "data-v-3a286d21"]]);
123
+ const _hoisted_1$O = { class: "relative" };
124
+ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
125
125
  __name: "AddressSearch",
126
126
  emits: ["addressSelected"],
127
127
  setup(__props, { emit: __emit }) {
@@ -143,8 +143,8 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
143
143
  (_a2 = suggestion.value) == null ? void 0 : _a2.show();
144
144
  }
145
145
  return (_ctx, _cache) => {
146
- return openBlock(), createElementBlock("div", _hoisted_1$N, [
147
- createVNode(unref(_sfc_main$Q), {
146
+ return openBlock(), createElementBlock("div", _hoisted_1$O, [
147
+ createVNode(unref(_sfc_main$R), {
148
148
  ref_key: "suggestion",
149
149
  ref: suggestion,
150
150
  noAutoFocus: true,
@@ -179,11 +179,11 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
179
179
  };
180
180
  }
181
181
  });
182
- const _hoisted_1$M = {
182
+ const _hoisted_1$N = {
183
183
  key: 1,
184
184
  class: "bgl_btn-flex"
185
185
  };
186
- const _sfc_main$Z = /* @__PURE__ */ defineComponent({
186
+ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
187
187
  __name: "Btn",
188
188
  props: {
189
189
  disabled: { type: Boolean, default: false },
@@ -247,7 +247,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
247
247
  _ctx.loading ? (openBlock(), createBlock(unref(Loading), {
248
248
  key: 0,
249
249
  size: "15"
250
- })) : (openBlock(), createElementBlock("div", _hoisted_1$M, [
250
+ })) : (openBlock(), createElementBlock("div", _hoisted_1$N, [
251
251
  _ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$c), {
252
252
  key: 0,
253
253
  icon: _ctx.icon
@@ -269,10 +269,10 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
269
269
  };
270
270
  }
271
271
  });
272
- const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-3c0720f5"]]);
273
- const _hoisted_1$L = ["dismissable"];
272
+ const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-3c0720f5"]]);
273
+ const _hoisted_1$M = ["dismissable"];
274
274
  const _hoisted_2$u = { class: "m-0" };
275
- const _sfc_main$Y = /* @__PURE__ */ defineComponent({
275
+ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
276
276
  __name: "Alert",
277
277
  props: {
278
278
  message: {},
@@ -308,13 +308,13 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
308
308
  icon: "close",
309
309
  onClick: _cache[0] || (_cache[0] = ($event) => isDismissed.value = true)
310
310
  })
311
- ], 10, _hoisted_1$L)) : createCommentVNode("", true);
311
+ ], 10, _hoisted_1$M)) : createCommentVNode("", true);
312
312
  };
313
313
  }
314
314
  });
315
- const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-57141c32"]]);
316
- const _hoisted_1$K = ["src", "alt"];
317
- const _sfc_main$X = /* @__PURE__ */ defineComponent({
315
+ const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-57141c32"]]);
316
+ const _hoisted_1$L = ["src", "alt"];
317
+ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
318
318
  __name: "Avatar",
319
319
  props: {
320
320
  fallback: {},
@@ -332,7 +332,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
332
332
  key: 0,
333
333
  src: _ctx.src,
334
334
  alt: _ctx.name
335
- }, null, 8, _hoisted_1$K)) : (openBlock(), createElementBlock("p", {
335
+ }, null, 8, _hoisted_1$L)) : (openBlock(), createElementBlock("p", {
336
336
  key: 1,
337
337
  style: normalizeStyle({ "line-height": `${_ctx.size}px`, "font-size": `calc(1.5rem * ${_ctx.size} / 50)` })
338
338
  }, toDisplayString((_ctx.fallback || unref(initials)(_ctx.name || "")).toUpperCase()), 5))
@@ -340,8 +340,8 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
340
340
  };
341
341
  }
342
342
  });
343
- const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-46ad8c25"]]);
344
- const _sfc_main$W = /* @__PURE__ */ defineComponent({
343
+ const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-46ad8c25"]]);
344
+ const _sfc_main$X = /* @__PURE__ */ defineComponent({
345
345
  __name: "Badge",
346
346
  props: {
347
347
  color: {},
@@ -370,10 +370,10 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
370
370
  };
371
371
  }
372
372
  });
373
- const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-2f3caf93"]]);
374
- const _hoisted_1$J = ["src"];
373
+ const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-2f3caf93"]]);
374
+ const _hoisted_1$K = ["src"];
375
375
  const _hoisted_2$t = ["src", "autoplay", "muted", "loop", "controls"];
376
- const _sfc_main$V = /* @__PURE__ */ defineComponent({
376
+ const _sfc_main$W = /* @__PURE__ */ defineComponent({
377
377
  __name: "BglVideo",
378
378
  props: {
379
379
  src: {},
@@ -403,7 +403,10 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
403
403
  if (embedType.value === "YouTube") {
404
404
  const videoId = (_c = (_b = (_a2 = props2.src) == null ? void 0 : _a2.split(/v=|youtu\.be\//)[1]) == null ? void 0 : _b.split("&")) == null ? void 0 : _c[0];
405
405
  const queryParams = new URLSearchParams({
406
- autoplay: props2.autoplay ? "1" : "0"
406
+ autoplay: props2.autoplay ? "1" : "0",
407
+ controls: "0",
408
+ showinfo: "0",
409
+ modestbranding: "1"
407
410
  });
408
411
  return `https://www.youtube.com/embed/${videoId}?${queryParams}`;
409
412
  }
@@ -427,7 +430,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
427
430
  allowfullscreen: "",
428
431
  title: "Video",
429
432
  allow: "autoplay"
430
- }, null, 12, _hoisted_1$J)) : _ctx.src ? (openBlock(), createElementBlock("video", {
433
+ }, null, 12, _hoisted_1$K)) : _ctx.src ? (openBlock(), createElementBlock("video", {
431
434
  key: 1,
432
435
  src: _ctx.src,
433
436
  autoplay: _ctx.autoplay,
@@ -441,12 +444,12 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
441
444
  };
442
445
  }
443
446
  });
444
- const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-30c80244"]]);
445
- const _hoisted_1$I = {
447
+ const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-732c510b"]]);
448
+ const _hoisted_1$J = {
446
449
  key: 0,
447
450
  class: "card_label"
448
451
  };
449
- const _sfc_main$U = /* @__PURE__ */ defineComponent({
452
+ const _sfc_main$V = /* @__PURE__ */ defineComponent({
450
453
  __name: "Card",
451
454
  props: {
452
455
  label: {},
@@ -475,7 +478,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
475
478
  }])
476
479
  }, {
477
480
  default: withCtx(() => [
478
- _ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$I, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
481
+ _ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$J, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
479
482
  renderSlot(_ctx.$slots, "default")
480
483
  ]),
481
484
  _: 3
@@ -485,13 +488,13 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
485
488
  };
486
489
  }
487
490
  });
488
- const _hoisted_1$H = ["dir"];
491
+ const _hoisted_1$I = ["dir"];
489
492
  const _hoisted_2$s = {
490
493
  key: 0,
491
494
  class: "blocker"
492
495
  };
493
496
  const _hoisted_3$n = { class: "Handlers" };
494
- const _sfc_main$T = /* @__PURE__ */ defineComponent({
497
+ const _sfc_main$U = /* @__PURE__ */ defineComponent({
495
498
  __name: "Carousel",
496
499
  props: {
497
500
  autoHeight: { type: Boolean, default: false },
@@ -676,11 +679,11 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
676
679
  }, void 0, true)
677
680
  ])
678
681
  ])
679
- ], 14, _hoisted_1$H);
682
+ ], 14, _hoisted_1$I);
680
683
  };
681
684
  }
682
685
  });
683
- const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-98e36ac5"]]);
686
+ const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-98e36ac5"]]);
684
687
  function _isPlaceholder(a2) {
685
688
  return a2 != null && typeof a2 === "object" && a2["@@functional/placeholder"] === true;
686
689
  }
@@ -6624,13 +6627,13 @@ var script = defineComponent({
6624
6627
  return { bar, canvas, direction, mouse };
6625
6628
  }
6626
6629
  });
6627
- const _hoisted_1$G = {
6630
+ const _hoisted_1$H = {
6628
6631
  key: 0,
6629
6632
  class: "layer-hover-bar"
6630
6633
  };
6631
6634
  const _hoisted_2$r = ["x", "y", "width", "height"];
6632
6635
  function render(_ctx, _cache, $props, $setup, $data, $options) {
6633
- return _ctx.mouse.hover ? (openBlock(), createElementBlock("g", _hoisted_1$G, [
6636
+ return _ctx.mouse.hover ? (openBlock(), createElementBlock("g", _hoisted_1$H, [
6634
6637
  createElementVNode("rect", mergeProps({ class: "hover-bar" }, _ctx.barStyle, {
6635
6638
  x: _ctx.bar.x,
6636
6639
  y: _ctx.bar.y,
@@ -6642,7 +6645,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
6642
6645
  script.render = render;
6643
6646
  script.__file = "src/components/HoverBar/index.vue";
6644
6647
  const BRAND_COLOR = "var(--bgl-primary)";
6645
- const _sfc_main$S = /* @__PURE__ */ defineComponent({
6648
+ const _sfc_main$T = /* @__PURE__ */ defineComponent({
6646
6649
  __name: "Lineart",
6647
6650
  props: {
6648
6651
  data: {},
@@ -6782,7 +6785,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
6782
6785
  };
6783
6786
  }
6784
6787
  });
6785
- const _hoisted_1$F = {
6788
+ const _hoisted_1$G = {
6786
6789
  key: 0,
6787
6790
  class: "data"
6788
6791
  };
@@ -6803,7 +6806,7 @@ const _hoisted_9$3 = {
6803
6806
  key: 0,
6804
6807
  class: "m-0"
6805
6808
  };
6806
- const _sfc_main$R = /* @__PURE__ */ defineComponent({
6809
+ const _sfc_main$S = /* @__PURE__ */ defineComponent({
6807
6810
  __name: "DataPreview",
6808
6811
  props: /* @__PURE__ */ mergeModels({
6809
6812
  showFields: {},
@@ -6839,7 +6842,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
6839
6842
  const computedSchema = computed(() => getFallbackSchema([itemData.value], props2.showFields));
6840
6843
  return (_ctx, _cache) => {
6841
6844
  var _a2;
6842
- return __props.data ? (openBlock(), createElementBlock("div", _hoisted_1$F, [
6845
+ return __props.data ? (openBlock(), createElementBlock("div", _hoisted_1$G, [
6843
6846
  _ctx.title ? (openBlock(), createBlock(unref(_sfc_main$3), {
6844
6847
  key: 0,
6845
6848
  label: _ctx.title
@@ -6852,7 +6855,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
6852
6855
  createElementVNode("div", _hoisted_3$l, [
6853
6856
  createElementVNode("p", _hoisted_4$d, toDisplayString((field == null ? void 0 : field.label) || unref(keyToLabel)(field.id)), 1)
6854
6857
  ]),
6855
- createVNode(unref(_sfc_main$N), {
6858
+ createVNode(unref(_sfc_main$O), {
6856
6859
  modelValue: itemData.value,
6857
6860
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => itemData.value = $event),
6858
6861
  label: "",
@@ -6881,7 +6884,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
6881
6884
  };
6882
6885
  }
6883
6886
  });
6884
- const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-6c27f163"]]);
6887
+ const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-6c27f163"]]);
6885
6888
  const sides = ["top", "right", "bottom", "left"];
6886
6889
  const alignments = ["start", "end"];
6887
6890
  const placements = /* @__PURE__ */ sides.reduce((acc, side) => acc.concat(side, side + "-" + alignments[0], side + "-" + alignments[1]), []);
@@ -9428,7 +9431,7 @@ const Gt$1 = {
9428
9431
  install: Ct$1,
9429
9432
  options: h
9430
9433
  };
9431
- const _sfc_main$Q = /* @__PURE__ */ defineComponent({
9434
+ const _sfc_main$R = /* @__PURE__ */ defineComponent({
9432
9435
  __name: "Dropdown",
9433
9436
  props: /* @__PURE__ */ mergeModels({
9434
9437
  value: {},
@@ -9499,7 +9502,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
9499
9502
  };
9500
9503
  }
9501
9504
  });
9502
- const _sfc_main$P = /* @__PURE__ */ defineComponent({
9505
+ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
9503
9506
  __name: "Flag",
9504
9507
  props: {
9505
9508
  country: {},
@@ -9529,7 +9532,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
9529
9532
  };
9530
9533
  }
9531
9534
  });
9532
- const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-f99f1900"]]);
9535
+ const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-f99f1900"]]);
9533
9536
  const state$1 = reactive(/* @__PURE__ */ new Map());
9534
9537
  function useTabs(group) {
9535
9538
  if (!state$1.has(group)) {
@@ -9543,8 +9546,8 @@ function useTabs(group) {
9543
9546
  });
9544
9547
  return { currentTab };
9545
9548
  }
9546
- const _hoisted_1$E = ["onClick"];
9547
- const _sfc_main$O = /* @__PURE__ */ defineComponent({
9549
+ const _hoisted_1$F = ["onClick"];
9550
+ const _sfc_main$P = /* @__PURE__ */ defineComponent({
9548
9551
  __name: "TabsNav",
9549
9552
  props: {
9550
9553
  title: {},
@@ -9623,14 +9626,14 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
9623
9626
  icon: tab.icon
9624
9627
  }, null, 8, ["icon"])) : createCommentVNode("", true),
9625
9628
  createTextVNode(" " + toDisplayString(tabLabel(tab)), 1)
9626
- ], 10, _hoisted_1$E);
9629
+ ], 10, _hoisted_1$F);
9627
9630
  }), 128))
9628
9631
  ], 2);
9629
9632
  };
9630
9633
  }
9631
9634
  });
9632
- const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-90649f98"]]);
9633
- const _sfc_main$N = /* @__PURE__ */ defineComponent({
9635
+ const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-90649f98"]]);
9636
+ const _sfc_main$O = /* @__PURE__ */ defineComponent({
9634
9637
  __name: "BglField",
9635
9638
  props: {
9636
9639
  field: {},
@@ -9652,7 +9655,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
9652
9655
  if (props2.field.$el === "check") return CheckInput;
9653
9656
  if (props2.field.$el === "richtext") return RichText;
9654
9657
  if (props2.field.$el === "file") return FileUpload;
9655
- if (props2.field.$el === "date") return _sfc_main$G;
9658
+ if (props2.field.$el === "date") return _sfc_main$H;
9656
9659
  if (props2.field.$el === "tabs") return TabsNav;
9657
9660
  return props2.field.$el ?? "div";
9658
9661
  });
@@ -9763,7 +9766,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
9763
9766
  };
9764
9767
  }
9765
9768
  });
9766
- const _sfc_main$M = /* @__PURE__ */ defineComponent({
9769
+ const _sfc_main$N = /* @__PURE__ */ defineComponent({
9767
9770
  __name: "BglForm",
9768
9771
  props: {
9769
9772
  label: {},
@@ -9861,7 +9864,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
9861
9864
  label: _ctx.label
9862
9865
  }, null, 8, ["label"])) : createCommentVNode("", true),
9863
9866
  (openBlock(true), createElementBlock(Fragment, null, renderList(computedSchema.value, (field, i2) => {
9864
- return openBlock(), createBlock(unref(_sfc_main$N), {
9867
+ return openBlock(), createBlock(unref(_sfc_main$O), {
9865
9868
  key: field.id || `${i2}p`,
9866
9869
  modelValue: unref(data2),
9867
9870
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(data2) ? data2.value = $event : data2 = $event),
@@ -9885,7 +9888,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
9885
9888
  label: _ctx.label
9886
9889
  }, null, 8, ["label"])) : createCommentVNode("", true),
9887
9890
  (openBlock(true), createElementBlock(Fragment, null, renderList(computedSchema.value, (field, i2) => {
9888
- return openBlock(), createBlock(unref(_sfc_main$N), {
9891
+ return openBlock(), createBlock(unref(_sfc_main$O), {
9889
9892
  key: field.id || `${i2}p`,
9890
9893
  modelValue: unref(data2),
9891
9894
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(data2) ? data2.value = $event : data2 = $event),
@@ -9904,8 +9907,8 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
9904
9907
  };
9905
9908
  }
9906
9909
  });
9907
- const _hoisted_1$D = { key: 0 };
9908
- const _sfc_main$L = /* @__PURE__ */ defineComponent({
9910
+ const _hoisted_1$E = { key: 0 };
9911
+ const _sfc_main$M = /* @__PURE__ */ defineComponent({
9909
9912
  __name: "BglMultiStepForm",
9910
9913
  props: /* @__PURE__ */ mergeModels({
9911
9914
  bagelFormProps: { default: () => ({}) },
@@ -9972,8 +9975,8 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
9972
9975
  mode: "out-in"
9973
9976
  }, {
9974
9977
  default: withCtx(() => [
9975
- !unref(isStepping) ? (openBlock(), createElementBlock("div", _hoisted_1$D, [
9976
- createVNode(unref(_sfc_main$M), mergeProps({
9978
+ !unref(isStepping) ? (openBlock(), createElementBlock("div", _hoisted_1$E, [
9979
+ createVNode(unref(_sfc_main$N), mergeProps({
9977
9980
  ref_key: "formRef",
9978
9981
  ref: formRef,
9979
9982
  modelValue: formData.value,
@@ -10012,8 +10015,8 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
10012
10015
  };
10013
10016
  }
10014
10017
  });
10015
- const _hoisted_1$C = { class: "primary-checkbox" };
10016
- const _sfc_main$K = /* @__PURE__ */ defineComponent({
10018
+ const _hoisted_1$D = { class: "primary-checkbox" };
10019
+ const _sfc_main$L = /* @__PURE__ */ defineComponent({
10017
10020
  __name: "Checkbox",
10018
10021
  props: {
10019
10022
  "modelValue": { type: Boolean, ...{ default: false } },
@@ -10023,7 +10026,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
10023
10026
  setup(__props) {
10024
10027
  const val = useModel(__props, "modelValue");
10025
10028
  return (_ctx, _cache) => {
10026
- return openBlock(), createElementBlock("label", _hoisted_1$C, [
10029
+ return openBlock(), createElementBlock("label", _hoisted_1$D, [
10027
10030
  renderSlot(_ctx.$slots, "label", {}, void 0, true),
10028
10031
  withDirectives(createElementVNode("input", {
10029
10032
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => val.value = $event),
@@ -10035,11 +10038,11 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
10035
10038
  };
10036
10039
  }
10037
10040
  });
10038
- const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-73f1d9ad"]]);
10039
- const _hoisted_1$B = ["title"];
10041
+ const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-73f1d9ad"]]);
10042
+ const _hoisted_1$C = ["title"];
10040
10043
  const _hoisted_2$p = ["id", "value", "required"];
10041
10044
  const _hoisted_3$k = ["for"];
10042
- const _sfc_main$J = /* @__PURE__ */ defineComponent({
10045
+ const _sfc_main$K = /* @__PURE__ */ defineComponent({
10043
10046
  __name: "CheckInput",
10044
10047
  props: /* @__PURE__ */ mergeModels({
10045
10048
  label: {},
@@ -10081,19 +10084,19 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
10081
10084
  createTextVNode(toDisplayString(_ctx.label), 1)
10082
10085
  ], true)
10083
10086
  ], 8, _hoisted_3$k)
10084
- ], 10, _hoisted_1$B);
10087
+ ], 10, _hoisted_1$C);
10085
10088
  };
10086
10089
  }
10087
10090
  });
10088
- const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-03ed2982"]]);
10089
- const _hoisted_1$A = {
10091
+ const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-03ed2982"]]);
10092
+ const _hoisted_1$B = {
10090
10093
  key: 0,
10091
10094
  class: "code-editor-wrap grid rounded p-1 overflow hm-300px"
10092
10095
  };
10093
10096
  const _hoisted_2$o = { class: "overflow-hidden absolute inset-0 p-0 m-0 h-100 codeText" };
10094
10097
  const _hoisted_3$j = ["innerHTML"];
10095
10098
  const _hoisted_4$c = ["onKeydown"];
10096
- const _sfc_main$I = /* @__PURE__ */ defineComponent({
10099
+ const _sfc_main$J = /* @__PURE__ */ defineComponent({
10097
10100
  __name: "Index",
10098
10101
  props: {
10099
10102
  language: {},
@@ -10173,7 +10176,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
10173
10176
  }
10174
10177
  }, { immediate: true });
10175
10178
  return (_ctx, _cache) => {
10176
- return unref(loaded) ? (openBlock(), createElementBlock("div", _hoisted_1$A, [
10179
+ return unref(loaded) ? (openBlock(), createElementBlock("div", _hoisted_1$B, [
10177
10180
  createElementVNode("div", {
10178
10181
  class: "relative block h-100",
10179
10182
  style: normalizeStyle({ height: unref(height) })
@@ -10206,10 +10209,10 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
10206
10209
  };
10207
10210
  }
10208
10211
  });
10209
- const CodeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-4f1dc18a"]]);
10210
- const _hoisted_1$z = ["title"];
10212
+ const CodeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-4f1dc18a"]]);
10213
+ const _hoisted_1$A = ["title"];
10211
10214
  const _hoisted_2$n = ["id", "placeholder", "required"];
10212
- const _sfc_main$H = /* @__PURE__ */ defineComponent({
10215
+ const _sfc_main$I = /* @__PURE__ */ defineComponent({
10213
10216
  __name: "ColorPicker",
10214
10217
  props: {
10215
10218
  label: {},
@@ -10251,7 +10254,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
10251
10254
  [vModelText, inputVal.value]
10252
10255
  ])
10253
10256
  ])
10254
- ], 10, _hoisted_1$z)) : createCommentVNode("", true);
10257
+ ], 10, _hoisted_1$A)) : createCommentVNode("", true);
10255
10258
  };
10256
10259
  }
10257
10260
  });
@@ -18809,9 +18812,9 @@ const eo = ({
18809
18812
  Object.entries(go).forEach(([e, t]) => {
18810
18813
  e !== "default" && (Hn[e] = t);
18811
18814
  });
18812
- const _hoisted_1$y = ["title"];
18815
+ const _hoisted_1$z = ["title"];
18813
18816
  const _hoisted_2$m = { key: 0 };
18814
- const _sfc_main$G = /* @__PURE__ */ defineComponent({
18817
+ const _sfc_main$H = /* @__PURE__ */ defineComponent({
18815
18818
  __name: "DateInput",
18816
18819
  props: {
18817
18820
  required: { type: Boolean },
@@ -18869,11 +18872,11 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
18869
18872
  "minutes-grid-increment": _ctx.minutesGridIncrement,
18870
18873
  "start-time": { hours: 8, minutes: 0 }
18871
18874
  }), null, 16, ["modelValue", "required", "enable-time-picker", "allowed-dates", "time-picker-inline", "minutes-increment", "minutes-grid-increment"])
18872
- ], 10, _hoisted_1$y);
18875
+ ], 10, _hoisted_1$z);
18873
18876
  };
18874
18877
  }
18875
18878
  });
18876
- const _hoisted_1$x = { class: "datetime-wrap" };
18879
+ const _hoisted_1$y = { class: "datetime-wrap" };
18877
18880
  const _hoisted_2$l = { class: "date-wrap" };
18878
18881
  const _hoisted_3$i = {
18879
18882
  key: 0,
@@ -18881,7 +18884,7 @@ const _hoisted_3$i = {
18881
18884
  };
18882
18885
  const _hoisted_4$b = ["id", "name", "value"];
18883
18886
  const _hoisted_5$b = ["for"];
18884
- const _sfc_main$F = /* @__PURE__ */ defineComponent({
18887
+ const _sfc_main$G = /* @__PURE__ */ defineComponent({
18885
18888
  __name: "DatePicker",
18886
18889
  props: {
18887
18890
  label: {},
@@ -18909,7 +18912,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
18909
18912
  return `${hour}:${minute}`;
18910
18913
  });
18911
18914
  return (_ctx, _cache) => {
18912
- return openBlock(), createElementBlock("div", _hoisted_1$x, [
18915
+ return openBlock(), createElementBlock("div", _hoisted_1$y, [
18913
18916
  createElementVNode("div", _hoisted_2$l, [
18914
18917
  createVNode(unref(Hn), mergeProps({
18915
18918
  modelValue: selectedDate.value,
@@ -18950,8 +18953,8 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
18950
18953
  };
18951
18954
  }
18952
18955
  });
18953
- const _hoisted_1$w = ["src", "alt", "width", "height"];
18954
- const _sfc_main$E = /* @__PURE__ */ defineComponent({
18956
+ const _hoisted_1$x = ["src", "alt", "width", "height"];
18957
+ const _sfc_main$F = /* @__PURE__ */ defineComponent({
18955
18958
  __name: "Image",
18956
18959
  props: {
18957
18960
  src: {},
@@ -19014,7 +19017,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
19014
19017
  alt: _ctx.alt,
19015
19018
  width: unref(normalizeDimension)(_ctx.width),
19016
19019
  height: unref(normalizeDimension)(_ctx.height)
19017
- }), null, 16, _hoisted_1$w)) : (openBlock(), createBlock(unref(Skeleton), {
19020
+ }), null, 16, _hoisted_1$x)) : (openBlock(), createBlock(unref(Skeleton), {
19018
19021
  key: 1,
19019
19022
  class: "img-web-kit",
19020
19023
  width: unref(normalizeDimension)(_ctx.width),
@@ -19023,8 +19026,8 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
19023
19026
  };
19024
19027
  }
19025
19028
  });
19026
- const Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-3f8cf457"]]);
19027
- const _hoisted_1$v = { class: "bagel-input" };
19029
+ const Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-3f8cf457"]]);
19030
+ const _hoisted_1$w = { class: "bagel-input" };
19028
19031
  const _hoisted_2$k = {
19029
19032
  key: 0,
19030
19033
  placeholder: "required",
@@ -19062,7 +19065,7 @@ const _hoisted_13$1 = {
19062
19065
  class: "progress"
19063
19066
  };
19064
19067
  const _hoisted_14 = { class: "p-1 flex column hover fileUploadPlaceHolder justify-content-center mb-05" };
19065
- const _sfc_main$D = /* @__PURE__ */ defineComponent({
19068
+ const _sfc_main$E = /* @__PURE__ */ defineComponent({
19066
19069
  __name: "FileUpload",
19067
19070
  props: /* @__PURE__ */ mergeModels({
19068
19071
  label: {},
@@ -19236,10 +19239,10 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
19236
19239
  return (_ctx, _cache) => {
19237
19240
  const _directive_tooltip = resolveDirective("tooltip");
19238
19241
  const _directive_lightbox = resolveDirective("lightbox");
19239
- return openBlock(), createElementBlock("div", _hoisted_1$v, [
19242
+ return openBlock(), createElementBlock("div", _hoisted_1$w, [
19240
19243
  createElementVNode("label", null, toDisplayString(_ctx.label), 1),
19241
19244
  _ctx.required && !storageFiles.value.length ? (openBlock(), createElementBlock("input", _hoisted_2$k)) : createCommentVNode("", true),
19242
- _ctx.theme === "basic" ? (openBlock(), createBlock(unref(_sfc_main$U), {
19245
+ _ctx.theme === "basic" ? (openBlock(), createBlock(unref(_sfc_main$V), {
19243
19246
  key: 1,
19244
19247
  outline: "",
19245
19248
  class: "flex p-05 gap-1",
@@ -19484,11 +19487,11 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
19484
19487
  };
19485
19488
  }
19486
19489
  });
19487
- const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-6bfdaea2"]]);
19488
- const _hoisted_1$u = ["title"];
19490
+ const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-6bfdaea2"]]);
19491
+ const _hoisted_1$v = ["title"];
19489
19492
  const _hoisted_2$j = { key: 0 };
19490
19493
  const _hoisted_3$g = ["value", "placeholder"];
19491
- const _sfc_main$C = /* @__PURE__ */ defineComponent({
19494
+ const _sfc_main$D = /* @__PURE__ */ defineComponent({
19492
19495
  __name: "JSONInput",
19493
19496
  props: {
19494
19497
  description: { default: "" },
@@ -19520,13 +19523,13 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
19520
19523
  placeholder: _ctx.placeholder,
19521
19524
  onInput: handleInput
19522
19525
  }, null, 42, _hoisted_3$g)
19523
- ], 10, _hoisted_1$u);
19526
+ ], 10, _hoisted_1$v);
19524
19527
  };
19525
19528
  }
19526
19529
  });
19527
- const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-1cbaeab2"]]);
19528
- const _hoisted_1$t = ["value", "autofocus", "onKeydown", "onPaste"];
19529
- const _sfc_main$B = /* @__PURE__ */ defineComponent({
19530
+ const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-1cbaeab2"]]);
19531
+ const _hoisted_1$u = ["value", "autofocus", "onKeydown", "onPaste"];
19532
+ const _sfc_main$C = /* @__PURE__ */ defineComponent({
19530
19533
  __name: "OTP",
19531
19534
  props: {
19532
19535
  digitCount: {},
@@ -19624,14 +19627,14 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
19624
19627
  oninput: "this.value = this.value.slice(0, 1);",
19625
19628
  onKeydown: ($event) => handleKeyDown($event, ind),
19626
19629
  onPaste: ($event) => handlePaste($event, ind)
19627
- }, null, 40, _hoisted_1$t);
19630
+ }, null, 40, _hoisted_1$u);
19628
19631
  }), 128))
19629
19632
  ], 512);
19630
19633
  };
19631
19634
  }
19632
19635
  });
19633
- const OTP = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-5c22c199"]]);
19634
- const _sfc_main$A = /* @__PURE__ */ defineComponent({
19636
+ const OTP = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-5c22c199"]]);
19637
+ const _sfc_main$B = /* @__PURE__ */ defineComponent({
19635
19638
  __name: "PasswordInput",
19636
19639
  props: /* @__PURE__ */ mergeModels({
19637
19640
  id: {},
@@ -19694,7 +19697,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
19694
19697
  };
19695
19698
  }
19696
19699
  });
19697
- const _hoisted_1$s = ["for"];
19700
+ const _hoisted_1$t = ["for"];
19698
19701
  const _hoisted_2$i = ["id", "name", "value"];
19699
19702
  const _hoisted_3$f = { class: "flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025" };
19700
19703
  const _hoisted_4$9 = ["src", "alt"];
@@ -19707,7 +19710,7 @@ const _hoisted_7$4 = {
19707
19710
  key: 1,
19708
19711
  class: "txt-gray txt-12 m-0"
19709
19712
  };
19710
- const _sfc_main$z = /* @__PURE__ */ defineComponent({
19713
+ const _sfc_main$A = /* @__PURE__ */ defineComponent({
19711
19714
  __name: "RadioGroup",
19712
19715
  props: /* @__PURE__ */ mergeModels({
19713
19716
  groupName: {},
@@ -19760,19 +19763,19 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
19760
19763
  icon: "delete",
19761
19764
  onClick: ($event) => _ctx.$emit("delete", opt)
19762
19765
  }, null, 8, ["onClick"])) : createCommentVNode("", true)
19763
- ], 8, _hoisted_1$s);
19766
+ ], 8, _hoisted_1$t);
19764
19767
  }), 128))
19765
19768
  ]);
19766
19769
  };
19767
19770
  }
19768
19771
  });
19769
- const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-3e9e030f"]]);
19770
- const _hoisted_1$r = { class: "bagel-input" };
19772
+ const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-3e9e030f"]]);
19773
+ const _hoisted_1$s = { class: "bagel-input" };
19771
19774
  const _hoisted_2$h = { class: "pb-025" };
19772
19775
  const _hoisted_3$e = { class: "flex gap-05 flex-wrap" };
19773
19776
  const _hoisted_4$8 = ["id", "name", "value", "checked"];
19774
19777
  const _hoisted_5$8 = ["for"];
19775
- const _sfc_main$y = /* @__PURE__ */ defineComponent({
19778
+ const _sfc_main$z = /* @__PURE__ */ defineComponent({
19776
19779
  __name: "RadioPillsInput",
19777
19780
  props: {
19778
19781
  options: {},
@@ -19813,7 +19816,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
19813
19816
  selectedValue.value = props2.modelValue;
19814
19817
  });
19815
19818
  return (_ctx, _cache) => {
19816
- return openBlock(), createElementBlock("div", _hoisted_1$r, [
19819
+ return openBlock(), createElementBlock("div", _hoisted_1$s, [
19817
19820
  createElementVNode("label", _hoisted_2$h, toDisplayString(_ctx.label), 1),
19818
19821
  createElementVNode("div", _hoisted_3$e, [
19819
19822
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.options, (option2, index2) => {
@@ -19839,11 +19842,11 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
19839
19842
  };
19840
19843
  }
19841
19844
  });
19842
- const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-cf892d71"]]);
19843
- const _hoisted_1$q = { key: 0 };
19845
+ const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-cf892d71"]]);
19846
+ const _hoisted_1$r = { key: 0 };
19844
19847
  const _hoisted_2$g = ["id", "disabled", "max", "min", "step", "required", "name"];
19845
19848
  const _hoisted_3$d = { key: 1 };
19846
- const _sfc_main$x = /* @__PURE__ */ defineComponent({
19849
+ const _sfc_main$y = /* @__PURE__ */ defineComponent({
19847
19850
  __name: "RangeInput",
19848
19851
  props: /* @__PURE__ */ mergeModels({
19849
19852
  min: {},
@@ -19887,7 +19890,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
19887
19890
  return openBlock(), createElementBlock("div", {
19888
19891
  class: normalizeClass(["flex gap-1 align-center range-slide", { disabled: _ctx.disabled }])
19889
19892
  }, [
19890
- _ctx.min !== void 0 ? (openBlock(), createElementBlock("p", _hoisted_1$q, toDisplayString(_ctx.min), 1)) : createCommentVNode("", true),
19893
+ _ctx.min !== void 0 ? (openBlock(), createElementBlock("p", _hoisted_1$r, toDisplayString(_ctx.min), 1)) : createCommentVNode("", true),
19891
19894
  withDirectives(createElementVNode("input", {
19892
19895
  id: _ctx.id,
19893
19896
  ref_key: "range",
@@ -19909,7 +19912,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
19909
19912
  };
19910
19913
  }
19911
19914
  });
19912
- const RangeInput = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-ded4d62d"]]);
19915
+ const RangeInput = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-ded4d62d"]]);
19913
19916
  const defaultToolbarConfig = [
19914
19917
  "h2",
19915
19918
  "h3",
@@ -19976,12 +19979,12 @@ const toolbarOptions = [
19976
19979
  { name: "separator" },
19977
19980
  { name: "fullScreen", label: "Full Screen", icon: "fullscreen", class: "ms-auto" }
19978
19981
  ];
19979
- const _hoisted_1$p = { class: "grid grid-wrap p-05" };
19982
+ const _hoisted_1$q = { class: "grid grid-wrap p-05" };
19980
19983
  const _hoisted_2$f = ["onMousemove", "onClick"];
19981
19984
  const _hoisted_3$c = { class: "txt-center txt-12 color-gray" };
19982
19985
  const fb = 1;
19983
19986
  const base = 5;
19984
- const _sfc_main$w = /* @__PURE__ */ defineComponent({
19987
+ const _sfc_main$x = /* @__PURE__ */ defineComponent({
19985
19988
  __name: "gridBox",
19986
19989
  emits: ["select"],
19987
19990
  setup(__props, { emit: __emit }) {
@@ -19997,7 +20000,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
19997
20000
  return hoveredCol.value > base - 1 ? enlarge : base;
19998
20001
  });
19999
20002
  return (_ctx, _cache) => {
20000
- return openBlock(), createElementBlock("div", _hoisted_1$p, [
20003
+ return openBlock(), createElementBlock("div", _hoisted_1$q, [
20001
20004
  (openBlock(true), createElementBlock(Fragment, null, renderList(rowSize.value, (row) => {
20002
20005
  return openBlock(), createElementBlock("div", {
20003
20006
  key: `row-${row}`,
@@ -20033,12 +20036,12 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
20033
20036
  };
20034
20037
  }
20035
20038
  });
20036
- const GridBox = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-4548b70f"]]);
20037
- const _hoisted_1$o = {
20039
+ const GridBox = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-4548b70f"]]);
20040
+ const _hoisted_1$p = {
20038
20041
  class: "toolbar flex gap-025 pb-05 flex-wrap",
20039
20042
  role: "toolbar"
20040
20043
  };
20041
- const _sfc_main$v = /* @__PURE__ */ defineComponent({
20044
+ const _sfc_main$w = /* @__PURE__ */ defineComponent({
20042
20045
  __name: "Toolbar",
20043
20046
  props: {
20044
20047
  config: { default: defaultToolbarConfig },
@@ -20053,10 +20056,10 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
20053
20056
  }
20054
20057
  return (_ctx, _cache) => {
20055
20058
  const _directive_tooltip = resolveDirective("tooltip");
20056
- return openBlock(), createElementBlock("div", _hoisted_1$o, [
20059
+ return openBlock(), createElementBlock("div", _hoisted_1$p, [
20057
20060
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.config.map(configToOption).filter(Boolean), (action, index2) => {
20058
20061
  return openBlock(), createElementBlock(Fragment, { key: index2 }, [
20059
- action.name === "insertTable" ? (openBlock(), createBlock(unref(_sfc_main$Q), {
20062
+ action.name === "insertTable" ? (openBlock(), createBlock(unref(_sfc_main$R), {
20060
20063
  key: 0,
20061
20064
  placement: "bottom-start",
20062
20065
  thin: "",
@@ -20095,7 +20098,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
20095
20098
  };
20096
20099
  }
20097
20100
  });
20098
- const Toolbar = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-9688758a"]]);
20101
+ const Toolbar = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-9688758a"]]);
20099
20102
  function formatting(state2) {
20100
20103
  const { doc, range: range2, selection } = state2;
20101
20104
  function setRangeAndSelect(node, start, end) {
@@ -20713,8 +20716,8 @@ function useEditorKeyboard(doc, handleToolbarAction) {
20713
20716
  }
20714
20717
  });
20715
20718
  }
20716
- const _hoisted_1$n = { class: "content-area radius-05" };
20717
- const _sfc_main$u = /* @__PURE__ */ defineComponent({
20719
+ const _hoisted_1$o = { class: "content-area radius-05" };
20720
+ const _sfc_main$v = /* @__PURE__ */ defineComponent({
20718
20721
  __name: "index",
20719
20722
  props: {
20720
20723
  modelValue: {},
@@ -20770,7 +20773,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
20770
20773
  createElementVNode("div", {
20771
20774
  class: normalizeClass(["editor-container", { "split-view": (_a2 = unref(editor)) == null ? void 0 : _a2.state.isSplitView }])
20772
20775
  }, [
20773
- createElementVNode("div", _hoisted_1$n, [
20776
+ createElementVNode("div", _hoisted_1$o, [
20774
20777
  createElementVNode("iframe", {
20775
20778
  id: "rich-text-iframe",
20776
20779
  ref_key: "iframe",
@@ -20794,8 +20797,8 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
20794
20797
  };
20795
20798
  }
20796
20799
  });
20797
- const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-e274dd3b"]]);
20798
- const _hoisted_1$m = { class: "flex gap-05" };
20800
+ const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-e274dd3b"]]);
20801
+ const _hoisted_1$n = { class: "flex gap-05" };
20799
20802
  const _hoisted_2$e = ["disabled"];
20800
20803
  const _hoisted_3$b = { key: 1 };
20801
20804
  const _hoisted_4$7 = {
@@ -20805,7 +20808,7 @@ const _hoisted_4$7 = {
20805
20808
  const _hoisted_5$7 = ["value"];
20806
20809
  const _hoisted_6$6 = ["aria-selected", "onClick", "onKeydown"];
20807
20810
  const _hoisted_7$3 = { class: "block" };
20808
- const _sfc_main$t = /* @__PURE__ */ defineComponent({
20811
+ const _sfc_main$u = /* @__PURE__ */ defineComponent({
20809
20812
  __name: "SelectInput",
20810
20813
  props: {
20811
20814
  options: {},
@@ -20979,7 +20982,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
20979
20982
  }
20980
20983
  });
20981
20984
  return (_ctx, _cache) => {
20982
- return openBlock(), createBlock(unref(_sfc_main$Q), {
20985
+ return openBlock(), createBlock(unref(_sfc_main$R), {
20983
20986
  ref_key: "dropdown",
20984
20987
  ref: dropdown,
20985
20988
  shown: unref(open),
@@ -20991,7 +20994,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
20991
20994
  trigger: withCtx(() => [
20992
20995
  createElementVNode("label", null, [
20993
20996
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
20994
- createElementVNode("div", _hoisted_1$m, [
20997
+ createElementVNode("div", _hoisted_1$n, [
20995
20998
  _ctx.searchable && unref(open) ? (openBlock(), createBlock(unref(TextInput), {
20996
20999
  key: 0,
20997
21000
  ref_key: "searchInput",
@@ -21058,7 +21061,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
21058
21061
  height: "25px",
21059
21062
  class: "mx-1 my-1"
21060
21063
  })) : createCommentVNode("", true),
21061
- createVNode(unref(_sfc_main$U), {
21064
+ createVNode(unref(_sfc_main$V), {
21062
21065
  class: "p-05",
21063
21066
  style: normalizeStyle({ width: _ctx.fullWidth ? "100%" : "auto" })
21064
21067
  }, {
@@ -21109,7 +21112,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
21109
21112
  };
21110
21113
  }
21111
21114
  });
21112
- const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-982f5078"]]);
21115
+ const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-982f5078"]]);
21113
21116
  /*!
21114
21117
  * Signature Pad v5.0.4 | https://github.com/szimek/signature_pad
21115
21118
  * (c) 2024 Szymon Nowak | Released under the MIT license
@@ -21706,7 +21709,7 @@ class SignaturePad extends SignatureEventTarget {
21706
21709
  return svg.outerHTML;
21707
21710
  }
21708
21711
  }
21709
- const _hoisted_1$l = ["disabled"];
21712
+ const _hoisted_1$m = ["disabled"];
21710
21713
  const _hoisted_2$d = {
21711
21714
  key: 1,
21712
21715
  placeholder: "required",
@@ -21714,7 +21717,7 @@ const _hoisted_2$d = {
21714
21717
  required: "",
21715
21718
  class: "pixel"
21716
21719
  };
21717
- const _sfc_main$s = /* @__PURE__ */ defineComponent({
21720
+ const _sfc_main$t = /* @__PURE__ */ defineComponent({
21718
21721
  __name: "SignaturePad",
21719
21722
  props: /* @__PURE__ */ mergeModels({
21720
21723
  sigOption: {},
@@ -21867,7 +21870,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
21867
21870
  ref: vCanvas,
21868
21871
  class: "canvas",
21869
21872
  disabled: _ctx.disabled
21870
- }, null, 8, _hoisted_1$l),
21873
+ }, null, 8, _hoisted_1$m),
21871
21874
  _ctx.required && unref(_isEmpty) ? (openBlock(), createElementBlock("input", _hoisted_2$d)) : createCommentVNode("", true)
21872
21875
  ], 34);
21873
21876
  };
@@ -24352,13 +24355,13 @@ const VueDraggableNext = defineComponent({
24352
24355
  }
24353
24356
  }
24354
24357
  });
24355
- const _hoisted_1$k = ["title"];
24358
+ const _hoisted_1$l = ["title"];
24356
24359
  const _hoisted_2$c = { class: "bagel-input" };
24357
24360
  const _hoisted_3$a = { class: "table-side-scroll" };
24358
24361
  const _hoisted_4$6 = { class: "table-header" };
24359
24362
  const _hoisted_5$6 = { class: "table-reorder" };
24360
24363
  const _hoisted_6$5 = { class: "table-action" };
24361
- const _sfc_main$r = /* @__PURE__ */ defineComponent({
24364
+ const _sfc_main$s = /* @__PURE__ */ defineComponent({
24362
24365
  __name: "TableField",
24363
24366
  props: {
24364
24367
  description: { default: "" },
@@ -24498,11 +24501,11 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
24498
24501
  ])),
24499
24502
  _: 1
24500
24503
  })
24501
- ], 8, _hoisted_1$k);
24504
+ ], 8, _hoisted_1$l);
24502
24505
  };
24503
24506
  }
24504
24507
  });
24505
- const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-a65c658c"]]);
24508
+ const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-a65c658c"]]);
24506
24509
  function bind(fn2, thisArg) {
24507
24510
  return function wrap() {
24508
24511
  return fn2.apply(thisArg, arguments);
@@ -28949,13 +28952,13 @@ function parsePhoneNumber$1() {
28949
28952
  function parsePhoneNumber() {
28950
28953
  return withMetadataArgument(parsePhoneNumber$1, arguments);
28951
28954
  }
28952
- const _hoisted_1$j = ["aria-expanded"];
28955
+ const _hoisted_1$k = ["aria-expanded"];
28953
28956
  const _hoisted_2$b = { class: "p-075 tel-countryp-dropdown" };
28954
28957
  const _hoisted_3$9 = ["aria-selected", "onClick", "onMousemove"];
28955
28958
  const _hoisted_4$5 = { class: "tel-country" };
28956
28959
  const _hoisted_5$5 = { key: 1 };
28957
28960
  const _hoisted_6$4 = ["id", "required", "placeholder", "disabled", "autocomplete", "pattern", "minlength", "maxlength", "name", "readonly", "tabindex", "aria-describedby"];
28958
- const _sfc_main$q = /* @__PURE__ */ defineComponent({
28961
+ const _sfc_main$r = /* @__PURE__ */ defineComponent({
28959
28962
  __name: "TelInput",
28960
28963
  props: /* @__PURE__ */ mergeModels({
28961
28964
  label: {},
@@ -29216,7 +29219,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
29216
29219
  withKeys(reset, ["tab"])
29217
29220
  ]
29218
29221
  }, [
29219
- !computedDropDownOptions.value.hide ? (openBlock(), createBlock(unref(_sfc_main$Q), {
29222
+ !computedDropDownOptions.value.hide ? (openBlock(), createBlock(unref(_sfc_main$R), {
29220
29223
  key: 0,
29221
29224
  ref_key: "phoneDropdown",
29222
29225
  ref: phoneDropdown,
@@ -29303,19 +29306,19 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
29303
29306
  }, null, 44, _hoisted_6$4), [
29304
29307
  [vModelText, phone.value]
29305
29308
  ])
29306
- ], 40, _hoisted_1$j)
29309
+ ], 40, _hoisted_1$k)
29307
29310
  ])
29308
29311
  ], 2);
29309
29312
  };
29310
29313
  }
29311
29314
  });
29312
- const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-627af458"]]);
29313
- const _hoisted_1$i = ["title"];
29315
+ const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-627af458"]]);
29316
+ const _hoisted_1$j = ["title"];
29314
29317
  const _hoisted_2$a = ["for"];
29315
29318
  const _hoisted_3$8 = ["id", "title", "autocomplete", "type", "placeholder", "disabled", "required", "pattern"];
29316
29319
  const _hoisted_4$4 = ["id", "title", "type", "rows", "placeholder", "disabled", "required", "pattern"];
29317
29320
  const _hoisted_5$4 = { key: 2 };
29318
- const _sfc_main$p = /* @__PURE__ */ defineComponent({
29321
+ const _sfc_main$q = /* @__PURE__ */ defineComponent({
29319
29322
  __name: "TextInput",
29320
29323
  props: {
29321
29324
  id: {},
@@ -29452,15 +29455,15 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
29452
29455
  icon: _ctx.icon
29453
29456
  }, null, 8, ["icon"])) : createCommentVNode("", true)
29454
29457
  ], 8, _hoisted_2$a)
29455
- ], 10, _hoisted_1$i);
29458
+ ], 10, _hoisted_1$j);
29456
29459
  };
29457
29460
  }
29458
29461
  });
29459
- const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-0e10a3b5"]]);
29460
- const _hoisted_1$h = ["title"];
29462
+ const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-0e10a3b5"]]);
29463
+ const _hoisted_1$i = ["title"];
29461
29464
  const _hoisted_2$9 = ["id", "required"];
29462
29465
  const _hoisted_3$7 = ["for"];
29463
- const _sfc_main$o = /* @__PURE__ */ defineComponent({
29466
+ const _sfc_main$p = /* @__PURE__ */ defineComponent({
29464
29467
  __name: "ToggleInput",
29465
29468
  props: /* @__PURE__ */ mergeModels({
29466
29469
  label: {},
@@ -29504,11 +29507,75 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
29504
29507
  createTextVNode(toDisplayString(_ctx.label), 1)
29505
29508
  ], true)
29506
29509
  ], 8, _hoisted_3$7)
29507
- ], 10, _hoisted_1$h);
29510
+ ], 10, _hoisted_1$i);
29511
+ };
29512
+ }
29513
+ });
29514
+ const ToggleInput = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-486451e5"]]);
29515
+ const _hoisted_1$h = ["src", "title", "width", "height", "marginwidth", "marginheight", "csp", "scrolling", "srcset"];
29516
+ const _sfc_main$o = /* @__PURE__ */ defineComponent({
29517
+ __name: "IframeVue",
29518
+ props: {
29519
+ src: {},
29520
+ title: {},
29521
+ height: {},
29522
+ width: {},
29523
+ name: {},
29524
+ sandbox: {},
29525
+ allow: {},
29526
+ allowfullscreen: { type: Boolean },
29527
+ loading: {},
29528
+ referrerpolicy: {},
29529
+ marginwidth: {},
29530
+ marginheight: {},
29531
+ scrolling: {},
29532
+ csp: {},
29533
+ srcset: {}
29534
+ },
29535
+ emits: ["message", "load"],
29536
+ setup(__props, { expose: __expose, emit: __emit }) {
29537
+ const emit2 = __emit;
29538
+ const iframe = ref();
29539
+ function handleMessage(event) {
29540
+ emit2("message", event.data);
29541
+ }
29542
+ function handleMessageWrapper(event) {
29543
+ var _a2;
29544
+ if (event.source === ((_a2 = iframe.value) == null ? void 0 : _a2.contentWindow)) {
29545
+ handleMessage(event);
29546
+ }
29547
+ }
29548
+ onMounted(() => {
29549
+ window.addEventListener("message", handleMessageWrapper);
29550
+ });
29551
+ onBeforeUnmount(() => {
29552
+ window.removeEventListener("message", handleMessageWrapper);
29553
+ });
29554
+ const contentWindow = () => {
29555
+ var _a2;
29556
+ return (_a2 = iframe.value) == null ? void 0 : _a2.contentWindow;
29557
+ };
29558
+ __expose({ contentWindow });
29559
+ return (_ctx, _cache) => {
29560
+ return openBlock(), createElementBlock("iframe", {
29561
+ ref_key: "iframe",
29562
+ ref: iframe,
29563
+ src: _ctx.src,
29564
+ title: _ctx.title,
29565
+ frameborder: "none",
29566
+ width: _ctx.width,
29567
+ height: _ctx.height,
29568
+ allowpaymentrequest: "true",
29569
+ marginwidth: _ctx.marginwidth,
29570
+ marginheight: _ctx.marginheight,
29571
+ csp: _ctx.csp,
29572
+ scrolling: _ctx.scrolling,
29573
+ srcset: _ctx.srcset,
29574
+ onLoad: _cache[0] || (_cache[0] = ($event) => emit2("load", $event))
29575
+ }, null, 40, _hoisted_1$h);
29508
29576
  };
29509
29577
  }
29510
29578
  });
29511
- const ToggleInput = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-486451e5"]]);
29512
29579
  const _hoisted_1$g = { class: "m-0 pb-025 txt14 line-height-1" };
29513
29580
  const _sfc_main$n = /* @__PURE__ */ defineComponent({
29514
29581
  __name: "BottomMenu",
@@ -29517,7 +29584,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
29517
29584
  },
29518
29585
  setup(__props) {
29519
29586
  return (_ctx, _cache) => {
29520
- return openBlock(), createBlock(unref(_sfc_main$U), { class: "hide m_grid gap-05 bgl_bottombar px-1 txt14 justify-content-start align-items-center overflow-x" }, {
29587
+ return openBlock(), createBlock(unref(_sfc_main$V), { class: "hide m_grid gap-05 bgl_bottombar px-1 txt14 justify-content-start align-items-center overflow-x" }, {
29521
29588
  default: withCtx(() => [
29522
29589
  renderSlot(_ctx.$slots, "brand", {}, void 0, true),
29523
29590
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.navLinks, (nav, i2) => {
@@ -29618,7 +29685,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
29618
29685
  icon: "keyboard_arrow_right",
29619
29686
  onClick: toggleMenu
29620
29687
  }),
29621
- createVNode(unref(_sfc_main$U), { class: "py-1 px-05 h-100 flex column gap-05 rounded relative bg-primary font-light overflow-y" }, {
29688
+ createVNode(unref(_sfc_main$V), { class: "py-1 px-05 h-100 flex column gap-05 rounded relative bg-primary font-light overflow-y" }, {
29622
29689
  default: withCtx(() => [
29623
29690
  !unref(isOpen) || !unref(slots)["brand-open"] ? renderSlot(_ctx.$slots, "brand", { key: 0 }, void 0, true) : createCommentVNode("", true),
29624
29691
  unref(isOpen) ? renderSlot(_ctx.$slots, "brand-open", { key: 1 }, void 0, true) : createCommentVNode("", true),
@@ -30143,7 +30210,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
30143
30210
  onClick: _cache[1] || (_cache[1] = () => _ctx.dismissable ? closeModal() : ""),
30144
30211
  onKeydown: withKeys(closeModal, ["esc"])
30145
30212
  }, [
30146
- createVNode(unref(_sfc_main$U), {
30213
+ createVNode(unref(_sfc_main$V), {
30147
30214
  class: "modal",
30148
30215
  style: normalizeStyle({ ...maxWidth.value }),
30149
30216
  onClick: _cache[0] || (_cache[0] = withModifiers(() => {
@@ -30320,7 +30387,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
30320
30387
  "onUpdate:visible": _cache[1] || (_cache[1] = ($event) => emit2("update:visible", $event))
30321
30388
  }, createSlots({
30322
30389
  default: withCtx(() => [
30323
- _ctx.visible ? (openBlock(), createBlock(unref(_sfc_main$M), {
30390
+ _ctx.visible ? (openBlock(), createBlock(unref(_sfc_main$N), {
30324
30391
  key: 0,
30325
30392
  ref_key: "form",
30326
30393
  ref: form,
@@ -31439,7 +31506,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
31439
31506
  row,
31440
31507
  field
31441
31508
  }, void 0, true) : (openBlock(), createElementBlock("div", _hoisted_10$1, [
31442
- createVNode(unref(_sfc_main$N), {
31509
+ createVNode(unref(_sfc_main$O), {
31443
31510
  class: "embedded-field",
31444
31511
  field,
31445
31512
  modelValue: row,
@@ -32618,7 +32685,7 @@ function frmRow(...children2) {
32618
32685
  function bglForm(idOrField, ...schema) {
32619
32686
  if (typeof idOrField === "string") {
32620
32687
  return {
32621
- $el: markRaw(_sfc_main$M),
32688
+ $el: markRaw(_sfc_main$N),
32622
32689
  id: idOrField,
32623
32690
  attrs: {
32624
32691
  schema: [idOrField, ...schema]
@@ -32626,7 +32693,7 @@ function bglForm(idOrField, ...schema) {
32626
32693
  };
32627
32694
  }
32628
32695
  return {
32629
- $el: markRaw(_sfc_main$M),
32696
+ $el: markRaw(_sfc_main$N),
32630
32697
  attrs: {
32631
32698
  schema: [idOrField, ...schema]
32632
32699
  }
@@ -33405,39 +33472,40 @@ function timeAgo(date2, lang = "en") {
33405
33472
  return selectedLang.justNow;
33406
33473
  }
33407
33474
  export {
33408
- _sfc_main$10 as Accordion,
33475
+ _sfc_main$11 as Accordion,
33409
33476
  AccordionItem,
33410
- _sfc_main$_ as AddressSearch,
33477
+ _sfc_main$$ as AddressSearch,
33411
33478
  Alert,
33412
33479
  Avatar,
33413
33480
  Badge,
33414
- _sfc_main$M as BagelForm,
33481
+ _sfc_main$N as BagelForm,
33415
33482
  BagelVue,
33416
- _sfc_main$N as BglField,
33417
- _sfc_main$M as BglForm,
33418
- _sfc_main$L as BglMultiStepForm,
33483
+ _sfc_main$O as BglField,
33484
+ _sfc_main$N as BglForm,
33485
+ _sfc_main$M as BglMultiStepForm,
33419
33486
  BglVideo,
33420
33487
  BottomMenu,
33421
33488
  Btn,
33422
- _sfc_main$U as Card,
33489
+ _sfc_main$V as Card,
33423
33490
  Carousel,
33424
33491
  CheckInput,
33425
33492
  Checkbox,
33426
33493
  CodeEditor,
33427
- _sfc_main$H as ColorPicker,
33494
+ _sfc_main$I as ColorPicker,
33428
33495
  DataPreview,
33429
- _sfc_main$G as DateInput,
33430
- _sfc_main$F as DatePicker,
33431
- _sfc_main$Q as Dropdown,
33496
+ _sfc_main$H as DateInput,
33497
+ _sfc_main$G as DatePicker,
33498
+ _sfc_main$R as Dropdown,
33432
33499
  FileUpload,
33433
33500
  Flag,
33434
33501
  IMAGE_FORMATS,
33435
33502
  IMAGE_FORMATS_REGEXP,
33436
33503
  _sfc_main$c as Icon,
33504
+ _sfc_main$o as IframeVue,
33437
33505
  Image$1 as Image,
33438
33506
  JSONInput,
33439
33507
  Layout,
33440
- _sfc_main$S as Lineart,
33508
+ _sfc_main$T as Lineart,
33441
33509
  _sfc_main$g as ListItem,
33442
33510
  ListView,
33443
33511
  Loading,
@@ -33450,7 +33518,7 @@ export {
33450
33518
  NavBar,
33451
33519
  OTP,
33452
33520
  _sfc_main$7 as PageTitle,
33453
- _sfc_main$A as PasswordInput,
33521
+ _sfc_main$B as PasswordInput,
33454
33522
  Pill,
33455
33523
  RadioGroup,
33456
33524
  RadioPillsInput,
@@ -33459,7 +33527,7 @@ export {
33459
33527
  RouterWrapper,
33460
33528
  SelectInput,
33461
33529
  SidebarMenu,
33462
- _sfc_main$s as SignaturePad,
33530
+ _sfc_main$t as SignaturePad,
33463
33531
  Skeleton,
33464
33532
  TabbedLayout,
33465
33533
  TableField,