@bagelink/vue 0.0.787 → 0.0.791

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
@@ -40,7 +40,7 @@ const bagelFormUtils = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defi
40
40
  return txtField;
41
41
  }
42
42
  }, Symbol.toStringTag, { value: "Module" }));
43
- const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
43
+ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
44
44
  __name: "Accordion",
45
45
  setup(__props) {
46
46
  const state2 = vue.reactive({
@@ -54,11 +54,11 @@ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
54
54
  };
55
55
  }
56
56
  });
57
- const _hoisted_1$K = { class: "accordion-item" };
58
- const _hoisted_2$v = ["aria-expanded", "aria-controls"];
59
- const _hoisted_3$l = { class: "accordion-label" };
60
- const _hoisted_4$f = ["id", "aria-hidden"];
61
- const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
57
+ const _hoisted_1$M = { class: "accordion-item" };
58
+ const _hoisted_2$w = ["aria-expanded", "aria-controls"];
59
+ const _hoisted_3$m = { class: "accordion-label" };
60
+ const _hoisted_4$g = ["id", "aria-hidden"];
61
+ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
62
62
  __name: "AccordionItem",
63
63
  props: {
64
64
  label: {},
@@ -95,7 +95,7 @@ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
95
95
  else if (accordionState.openItem === id) accordionState.openItem = null;
96
96
  }
97
97
  return (_ctx, _cache) => {
98
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$K, [
98
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$M, [
99
99
  vue.createElementVNode("button", {
100
100
  "aria-expanded": vue.unref(isOpen) ? "true" : "false",
101
101
  class: "accordion-head",
@@ -103,14 +103,14 @@ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
103
103
  onClick: _cache[0] || (_cache[0] = ($event) => toggle())
104
104
  }, [
105
105
  vue.renderSlot(_ctx.$slots, "head", {}, () => [
106
- vue.createElementVNode("span", _hoisted_3$l, vue.toDisplayString(_ctx.label), 1)
106
+ vue.createElementVNode("span", _hoisted_3$m, vue.toDisplayString(_ctx.label), 1)
107
107
  ], true),
108
108
  vue.createElementVNode("div", {
109
109
  class: vue.normalizeClass(["accordion-icon", { open: vue.unref(isOpen) }])
110
110
  }, [
111
111
  vue.createVNode(vue.unref(_sfc_main$c), { icon: "expand_more" })
112
112
  ], 2)
113
- ], 8, _hoisted_2$v),
113
+ ], 8, _hoisted_2$w),
114
114
  vue.createVNode(vue.Transition, { name: "expand" }, {
115
115
  default: vue.withCtx(() => [
116
116
  vue.unref(isOpen) ? (vue.openBlock(), vue.createElementBlock("div", {
@@ -120,7 +120,7 @@ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
120
120
  "aria-hidden": vue.unref(isOpen) ? "false" : "true"
121
121
  }, [
122
122
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
123
- ], 8, _hoisted_4$f)) : vue.createCommentVNode("", true)
123
+ ], 8, _hoisted_4$g)) : vue.createCommentVNode("", true)
124
124
  ]),
125
125
  _: 3
126
126
  })
@@ -135,9 +135,9 @@ const _export_sfc = (sfc, props2) => {
135
135
  }
136
136
  return target;
137
137
  };
138
- const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-f87b579d"]]);
139
- const _hoisted_1$J = { class: "relative" };
140
- const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
138
+ const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-f87b579d"]]);
139
+ const _hoisted_1$L = { class: "relative" };
140
+ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
141
141
  __name: "AddressSearch",
142
142
  emits: ["addressSelected"],
143
143
  setup(__props, { emit: __emit }) {
@@ -159,8 +159,8 @@ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
159
159
  (_a2 = suggestion.value) == null ? void 0 : _a2.show();
160
160
  }
161
161
  return (_ctx, _cache) => {
162
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$J, [
163
- vue.createVNode(vue.unref(_sfc_main$K), {
162
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$L, [
163
+ vue.createVNode(vue.unref(_sfc_main$M), {
164
164
  ref_key: "suggestion",
165
165
  ref: suggestion,
166
166
  noAutoFocus: true,
@@ -195,15 +195,15 @@ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
195
195
  };
196
196
  }
197
197
  });
198
- const _hoisted_1$I = {
198
+ const _hoisted_1$K = {
199
199
  key: 0,
200
200
  class: "loading"
201
201
  };
202
- const _hoisted_2$u = {
202
+ const _hoisted_2$v = {
203
203
  key: 1,
204
204
  class: "bgl_btn-flex"
205
205
  };
206
- const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
206
+ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
207
207
  __name: "Btn",
208
208
  props: {
209
209
  disabled: { type: Boolean, default: false },
@@ -297,7 +297,7 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
297
297
  onClick: vue.withModifiers(_ctx.onClick, ["stop"])
298
298
  }, {
299
299
  default: vue.withCtx(() => [
300
- _ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$I)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$u, [
300
+ _ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$K)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$v, [
301
301
  _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$c), {
302
302
  key: 0,
303
303
  icon: _ctx.icon
@@ -317,10 +317,10 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
317
317
  };
318
318
  }
319
319
  });
320
- const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-047c9778"]]);
321
- const _hoisted_1$H = ["dismissable"];
322
- const _hoisted_2$t = { class: "m-0" };
323
- const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
320
+ const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-047c9778"]]);
321
+ const _hoisted_1$J = ["dismissable"];
322
+ const _hoisted_2$u = { class: "m-0" };
323
+ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
324
324
  __name: "Alert",
325
325
  props: {
326
326
  message: {},
@@ -348,7 +348,7 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
348
348
  size: 2,
349
349
  color: color2[_ctx.type]
350
350
  }, null, 8, ["icon", "color"])) : vue.createCommentVNode("", true),
351
- vue.createElementVNode("p", _hoisted_2$t, vue.toDisplayString(_ctx.message), 1),
351
+ vue.createElementVNode("p", _hoisted_2$u, vue.toDisplayString(_ctx.message), 1),
352
352
  vue.createVNode(Btn, {
353
353
  flat: "",
354
354
  thin: "",
@@ -356,13 +356,13 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
356
356
  icon: "close",
357
357
  onClick: _cache[0] || (_cache[0] = ($event) => isDismissed.value = true)
358
358
  })
359
- ], 10, _hoisted_1$H)) : vue.createCommentVNode("", true);
359
+ ], 10, _hoisted_1$J)) : vue.createCommentVNode("", true);
360
360
  };
361
361
  }
362
362
  });
363
- const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-57141c32"]]);
364
- const _hoisted_1$G = ["src", "alt"];
365
- const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
363
+ const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-57141c32"]]);
364
+ const _hoisted_1$I = ["src", "alt"];
365
+ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
366
366
  __name: "Avatar",
367
367
  props: {
368
368
  fallback: {},
@@ -380,7 +380,7 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
380
380
  key: 0,
381
381
  src: _ctx.src,
382
382
  alt: _ctx.name
383
- }, null, 8, _hoisted_1$G)) : (vue.openBlock(), vue.createElementBlock("p", {
383
+ }, null, 8, _hoisted_1$I)) : (vue.openBlock(), vue.createElementBlock("p", {
384
384
  key: 1,
385
385
  style: vue.normalizeStyle({ "line-height": `${_ctx.size}px`, "font-size": `calc(1.5rem * ${_ctx.size} / 50)` })
386
386
  }, vue.toDisplayString((_ctx.fallback || vue.unref(initials)(_ctx.name || "")).toUpperCase()), 5))
@@ -388,8 +388,8 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
388
388
  };
389
389
  }
390
390
  });
391
- const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-46ad8c25"]]);
392
- const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
391
+ const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-46ad8c25"]]);
392
+ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
393
393
  __name: "Badge",
394
394
  props: {
395
395
  color: {},
@@ -420,10 +420,10 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
420
420
  };
421
421
  }
422
422
  });
423
- const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-40a0b03a"]]);
424
- const _hoisted_1$F = ["src"];
425
- const _hoisted_2$s = ["src", "autoplay", "muted", "loop", "controls"];
426
- const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
423
+ const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-40a0b03a"]]);
424
+ const _hoisted_1$H = ["src"];
425
+ const _hoisted_2$t = ["src", "autoplay", "muted", "loop", "controls"];
426
+ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
427
427
  __name: "BglVideo",
428
428
  props: {
429
429
  src: {},
@@ -478,7 +478,7 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
478
478
  allowfullscreen: "",
479
479
  title: "Video",
480
480
  allow: "autoplay"
481
- }, null, 12, _hoisted_1$F)) : _ctx.src ? (vue.openBlock(), vue.createElementBlock("video", {
481
+ }, null, 12, _hoisted_1$H)) : _ctx.src ? (vue.openBlock(), vue.createElementBlock("video", {
482
482
  key: 1,
483
483
  src: _ctx.src,
484
484
  autoplay: _ctx.autoplay,
@@ -487,17 +487,17 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
487
487
  style: vue.normalizeStyle({ aspectRatio: aspectRatio.value }),
488
488
  controls: _ctx.controls,
489
489
  playsinline: ""
490
- }, null, 12, _hoisted_2$s)) : vue.createCommentVNode("", true)
490
+ }, null, 12, _hoisted_2$t)) : vue.createCommentVNode("", true)
491
491
  ], 2);
492
492
  };
493
493
  }
494
494
  });
495
- const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-8495afe2"]]);
496
- const _hoisted_1$E = {
495
+ const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-8495afe2"]]);
496
+ const _hoisted_1$G = {
497
497
  key: 0,
498
498
  class: "card_label"
499
499
  };
500
- const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
500
+ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
501
501
  __name: "Card",
502
502
  props: {
503
503
  label: {},
@@ -525,7 +525,7 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
525
525
  }])
526
526
  }, {
527
527
  default: vue.withCtx(() => [
528
- _ctx.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$E, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
528
+ _ctx.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$G, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
529
529
  vue.renderSlot(_ctx.$slots, "default")
530
530
  ]),
531
531
  _: 3
@@ -533,12 +533,12 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
533
533
  };
534
534
  }
535
535
  });
536
- const _hoisted_1$D = {
536
+ const _hoisted_1$F = {
537
537
  key: 0,
538
538
  class: "blocker"
539
539
  };
540
- const _hoisted_2$r = { class: "Handlers" };
541
- const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
540
+ const _hoisted_2$s = { class: "Handlers" };
541
+ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
542
542
  __name: "Carousel",
543
543
  props: {
544
544
  autoHeight: {
@@ -686,10 +686,10 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
686
686
  onScrollend: scrollEnd,
687
687
  onMousedown: startDragging
688
688
  }, [
689
- vue.unref(isDragging) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$D)) : vue.createCommentVNode("", true),
689
+ vue.unref(isDragging) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$F)) : vue.createCommentVNode("", true),
690
690
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
691
691
  ], 34),
692
- vue.createElementVNode("div", _hoisted_2$r, [
692
+ vue.createElementVNode("div", _hoisted_2$s, [
693
693
  vue.createElementVNode("span", { onClick: prev }, [
694
694
  vue.renderSlot(_ctx.$slots, "prev", {
695
695
  prev,
@@ -707,7 +707,7 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
707
707
  };
708
708
  }
709
709
  });
710
- const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-1f9c6644"]]);
710
+ const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-1f9c6644"]]);
711
711
  function _isPlaceholder(a2) {
712
712
  return a2 != null && typeof a2 === "object" && a2["@@functional/placeholder"] === true;
713
713
  }
@@ -6538,8 +6538,8 @@ const _hoisted_1$1$1 = {
6538
6538
  style: { display: "flex", position: "relative" }
6539
6539
  };
6540
6540
  const _hoisted_2$1$1 = ["width", "height", "viewBox"];
6541
- const _hoisted_3$k = { class: "layer-rectangles" };
6542
- const _hoisted_4$e = ["transform", "onMouseover"];
6541
+ const _hoisted_3$l = { class: "layer-rectangles" };
6542
+ const _hoisted_4$f = ["transform", "onMouseover"];
6543
6543
  const _hoisted_5$d = ["width", "height"];
6544
6544
  const _hoisted_6$a = {
6545
6545
  x: 0 + 10,
@@ -6556,7 +6556,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
6556
6556
  viewBox: `0 0 ${_ctx.size.width} ${_ctx.size.height}`,
6557
6557
  ref: "el"
6558
6558
  }, [
6559
- vue.createElementVNode("g", _hoisted_3$k, [
6559
+ vue.createElementVNode("g", _hoisted_3$l, [
6560
6560
  (vue.openBlock(true), vue.createElementBlock(
6561
6561
  vue.Fragment,
6562
6562
  null,
@@ -6591,7 +6591,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
6591
6591
  )
6592
6592
  ])
6593
6593
  ])
6594
- ], 42, _hoisted_4$e);
6594
+ ], 42, _hoisted_4$f);
6595
6595
  }),
6596
6596
  128
6597
6597
  /* KEYED_FRAGMENT */
@@ -6648,25 +6648,25 @@ var script = vue.defineComponent({
6648
6648
  return { bar, canvas, direction, mouse };
6649
6649
  }
6650
6650
  });
6651
- const _hoisted_1$C = {
6651
+ const _hoisted_1$E = {
6652
6652
  key: 0,
6653
6653
  class: "layer-hover-bar"
6654
6654
  };
6655
- const _hoisted_2$q = ["x", "y", "width", "height"];
6655
+ const _hoisted_2$r = ["x", "y", "width", "height"];
6656
6656
  function render$e(_ctx, _cache, $props, $setup, $data, $options) {
6657
- return _ctx.mouse.hover ? (vue.openBlock(), vue.createElementBlock("g", _hoisted_1$C, [
6657
+ return _ctx.mouse.hover ? (vue.openBlock(), vue.createElementBlock("g", _hoisted_1$E, [
6658
6658
  vue.createElementVNode("rect", vue.mergeProps({ class: "hover-bar" }, _ctx.barStyle, {
6659
6659
  x: _ctx.bar.x,
6660
6660
  y: _ctx.bar.y,
6661
6661
  width: _ctx.bar.width > 0 ? _ctx.bar.width : 0,
6662
6662
  height: _ctx.bar.height > 0 ? _ctx.bar.height : 0
6663
- }), null, 16, _hoisted_2$q)
6663
+ }), null, 16, _hoisted_2$r)
6664
6664
  ])) : vue.createCommentVNode("v-if", true);
6665
6665
  }
6666
6666
  script.render = render$e;
6667
6667
  script.__file = "src/components/HoverBar/index.vue";
6668
6668
  const BRAND_COLOR = "var(--bgl-primary)";
6669
- const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
6669
+ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
6670
6670
  __name: "Lineart",
6671
6671
  props: {
6672
6672
  data: {},
@@ -6806,16 +6806,16 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
6806
6806
  };
6807
6807
  }
6808
6808
  });
6809
- const _hoisted_1$B = {
6809
+ const _hoisted_1$D = {
6810
6810
  key: 0,
6811
6811
  class: "data"
6812
6812
  };
6813
- const _hoisted_2$p = {
6813
+ const _hoisted_2$q = {
6814
6814
  key: 0,
6815
6815
  class: "data-row m_py-05"
6816
6816
  };
6817
- const _hoisted_3$j = { class: "key" };
6818
- const _hoisted_4$d = { class: "m-0" };
6817
+ const _hoisted_3$k = { class: "key" };
6818
+ const _hoisted_4$e = { class: "m-0" };
6819
6819
  const _hoisted_5$c = { key: 1 };
6820
6820
  const _hoisted_6$9 = {
6821
6821
  key: 0,
@@ -6827,7 +6827,7 @@ const _hoisted_9$3 = {
6827
6827
  key: 0,
6828
6828
  class: "m-0"
6829
6829
  };
6830
- const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
6830
+ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
6831
6831
  __name: "DataPreview",
6832
6832
  props: /* @__PURE__ */ vue.mergeModels({
6833
6833
  showFields: {},
@@ -6863,7 +6863,7 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
6863
6863
  const computedSchema = vue.computed(() => getFallbackSchema([itemData.value], props2.showFields));
6864
6864
  return (_ctx, _cache) => {
6865
6865
  var _a2;
6866
- return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$B, [
6866
+ return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$D, [
6867
6867
  _ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$3), {
6868
6868
  key: 0,
6869
6869
  label: _ctx.title
@@ -6872,11 +6872,11 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
6872
6872
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, {
6873
6873
  key: field.id
6874
6874
  }, [
6875
- vue.unref(iffer)(field, itemData.value) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$p, [
6876
- vue.createElementVNode("div", _hoisted_3$j, [
6877
- vue.createElementVNode("p", _hoisted_4$d, vue.toDisplayString((field == null ? void 0 : field.label) || vue.unref(keyToLabel)(field.id)), 1)
6875
+ vue.unref(iffer)(field, itemData.value) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$q, [
6876
+ vue.createElementVNode("div", _hoisted_3$k, [
6877
+ vue.createElementVNode("p", _hoisted_4$e, vue.toDisplayString((field == null ? void 0 : field.label) || vue.unref(keyToLabel)(field.id)), 1)
6878
6878
  ]),
6879
- vue.createVNode(vue.unref(_sfc_main$I), {
6879
+ vue.createVNode(vue.unref(_sfc_main$K), {
6880
6880
  modelValue: itemData.value,
6881
6881
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => itemData.value = $event),
6882
6882
  label: "",
@@ -6905,7 +6905,7 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
6905
6905
  };
6906
6906
  }
6907
6907
  });
6908
- const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-5f91f598"]]);
6908
+ const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-5f91f598"]]);
6909
6909
  const sides = ["top", "right", "bottom", "left"];
6910
6910
  const alignments = ["start", "end"];
6911
6911
  const placements$1 = /* @__PURE__ */ sides.reduce((acc, side) => acc.concat(side, side + "-" + alignments[0], side + "-" + alignments[1]), []);
@@ -9447,7 +9447,7 @@ const Gt$1 = {
9447
9447
  install: Ct$1,
9448
9448
  options: h
9449
9449
  };
9450
- const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
9450
+ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
9451
9451
  __name: "Dropdown",
9452
9452
  props: {
9453
9453
  value: {},
@@ -9504,7 +9504,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
9504
9504
  };
9505
9505
  }
9506
9506
  });
9507
- const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
9507
+ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
9508
9508
  __name: "Flag",
9509
9509
  props: {
9510
9510
  country: {},
@@ -9534,8 +9534,8 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
9534
9534
  };
9535
9535
  }
9536
9536
  });
9537
- const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-f99f1900"]]);
9538
- const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
9537
+ const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-f99f1900"]]);
9538
+ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
9539
9539
  __name: "BglField",
9540
9540
  props: {
9541
9541
  field: {},
@@ -9551,7 +9551,7 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
9551
9551
  if (props2.field.$el === "toggle") return ToggleInput;
9552
9552
  if (props2.field.$el === "check") return CheckInput;
9553
9553
  if (props2.field.$el === "richtext") return _sfc_main$v;
9554
- if (props2.field.$el === "date") return _sfc_main$C;
9554
+ if (props2.field.$el === "date") return _sfc_main$E;
9555
9555
  return props2.field.$el ?? "div";
9556
9556
  });
9557
9557
  const formData = vue.computed({
@@ -9635,7 +9635,7 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
9635
9635
  };
9636
9636
  }
9637
9637
  });
9638
- const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
9638
+ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
9639
9639
  __name: "BglForm",
9640
9640
  props: {
9641
9641
  label: {},
@@ -9733,7 +9733,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
9733
9733
  label: _ctx.label
9734
9734
  }, null, 8, ["label"])) : vue.createCommentVNode("", true),
9735
9735
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(computedSchema.value, (field, i2) => {
9736
- return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$I), {
9736
+ return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$K), {
9737
9737
  key: field.id || `${i2}p`,
9738
9738
  modelValue: vue.unref(data2),
9739
9739
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(data2) ? data2.value = $event : data2 = $event),
@@ -9757,7 +9757,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
9757
9757
  label: _ctx.label
9758
9758
  }, null, 8, ["label"])) : vue.createCommentVNode("", true),
9759
9759
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(computedSchema.value, (field, i2) => {
9760
- return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$I), {
9760
+ return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$K), {
9761
9761
  key: field.id || `${i2}p`,
9762
9762
  modelValue: vue.unref(data2),
9763
9763
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(data2) ? data2.value = $event : data2 = $event),
@@ -9776,8 +9776,8 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
9776
9776
  };
9777
9777
  }
9778
9778
  });
9779
- const _hoisted_1$A = { key: 0 };
9780
- const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
9779
+ const _hoisted_1$C = { key: 0 };
9780
+ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
9781
9781
  __name: "BglMultiStepForm",
9782
9782
  props: /* @__PURE__ */ vue.mergeModels({
9783
9783
  bagelFormProps: { default: () => ({}) },
@@ -9844,8 +9844,8 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
9844
9844
  mode: "out-in"
9845
9845
  }, {
9846
9846
  default: vue.withCtx(() => [
9847
- !vue.unref(isStepping) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$A, [
9848
- vue.createVNode(vue.unref(_sfc_main$H), vue.mergeProps({
9847
+ !vue.unref(isStepping) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$C, [
9848
+ vue.createVNode(vue.unref(_sfc_main$J), vue.mergeProps({
9849
9849
  ref_key: "formRef",
9850
9850
  ref: formRef,
9851
9851
  modelValue: formData.value,
@@ -9884,8 +9884,8 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
9884
9884
  };
9885
9885
  }
9886
9886
  });
9887
- const _hoisted_1$z = { class: "primary-checkbox" };
9888
- const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
9887
+ const _hoisted_1$B = { class: "primary-checkbox" };
9888
+ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
9889
9889
  __name: "Checkbox",
9890
9890
  props: {
9891
9891
  "modelValue": { type: Boolean, ...{ default: false } },
@@ -9895,7 +9895,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
9895
9895
  setup(__props) {
9896
9896
  const val = vue.useModel(__props, "modelValue");
9897
9897
  return (_ctx, _cache) => {
9898
- return vue.openBlock(), vue.createElementBlock("label", _hoisted_1$z, [
9898
+ return vue.openBlock(), vue.createElementBlock("label", _hoisted_1$B, [
9899
9899
  vue.renderSlot(_ctx.$slots, "label", {}, void 0, true),
9900
9900
  vue.withDirectives(vue.createElementVNode("input", {
9901
9901
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => val.value = $event),
@@ -9907,11 +9907,11 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
9907
9907
  };
9908
9908
  }
9909
9909
  });
9910
- const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-73f1d9ad"]]);
9911
- const _hoisted_1$y = ["title"];
9912
- const _hoisted_2$o = ["id", "value", "required"];
9913
- const _hoisted_3$i = ["for"];
9914
- const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
9910
+ const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-73f1d9ad"]]);
9911
+ const _hoisted_1$A = ["title"];
9912
+ const _hoisted_2$p = ["id", "value", "required"];
9913
+ const _hoisted_3$j = ["for"];
9914
+ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
9915
9915
  __name: "CheckInput",
9916
9916
  props: /* @__PURE__ */ vue.mergeModels({
9917
9917
  label: {},
@@ -9945,22 +9945,22 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
9945
9945
  required: _ctx.required,
9946
9946
  type: "checkbox",
9947
9947
  class: "me-05"
9948
- }, null, 8, _hoisted_2$o), [
9948
+ }, null, 8, _hoisted_2$p), [
9949
9949
  [vue.vModelCheckbox, checked.value]
9950
9950
  ]),
9951
9951
  vue.createElementVNode("label", { for: inputId.value }, [
9952
9952
  vue.renderSlot(_ctx.$slots, "label", {}, () => [
9953
9953
  vue.createTextVNode(vue.toDisplayString(_ctx.label), 1)
9954
9954
  ], true)
9955
- ], 8, _hoisted_3$i)
9956
- ], 10, _hoisted_1$y);
9955
+ ], 8, _hoisted_3$j)
9956
+ ], 10, _hoisted_1$A);
9957
9957
  };
9958
9958
  }
9959
9959
  });
9960
- const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-1b4d18c6"]]);
9961
- const _hoisted_1$x = ["title"];
9962
- const _hoisted_2$n = ["id", "placeholder", "required"];
9963
- const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
9960
+ const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-1b4d18c6"]]);
9961
+ const _hoisted_1$z = ["title"];
9962
+ const _hoisted_2$o = ["id", "placeholder", "required"];
9963
+ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
9964
9964
  __name: "ColorPicker",
9965
9965
  props: {
9966
9966
  label: {},
@@ -9998,11 +9998,11 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
9998
9998
  placeholder: _ctx.placeholder || _ctx.label,
9999
9999
  class: { "no-edit": !_ctx.editMode },
10000
10000
  required: _ctx.required
10001
- }, _ctx.nativeInputAttrs), null, 16, _hoisted_2$n), [
10001
+ }, _ctx.nativeInputAttrs), null, 16, _hoisted_2$o), [
10002
10002
  [vue.vModelText, inputVal.value]
10003
10003
  ])
10004
10004
  ])
10005
- ], 10, _hoisted_1$x)) : vue.createCommentVNode("", true);
10005
+ ], 10, _hoisted_1$z)) : vue.createCommentVNode("", true);
10006
10006
  };
10007
10007
  }
10008
10008
  });
@@ -18445,9 +18445,9 @@ const eo = ({
18445
18445
  Object.entries(go).forEach(([e, t]) => {
18446
18446
  e !== "default" && (Hn[e] = t);
18447
18447
  });
18448
- const _hoisted_1$w = ["title"];
18449
- const _hoisted_2$m = { key: 0 };
18450
- const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
18448
+ const _hoisted_1$y = ["title"];
18449
+ const _hoisted_2$n = { key: 0 };
18450
+ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
18451
18451
  __name: "DateInput",
18452
18452
  props: {
18453
18453
  required: { type: Boolean },
@@ -18489,7 +18489,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
18489
18489
  class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
18490
18490
  title: _ctx.label
18491
18491
  }, [
18492
- _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$m, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
18492
+ _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$n, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
18493
18493
  vue.createVNode(vue.unref(Hn), vue.mergeProps({
18494
18494
  ref_key: "datePicker",
18495
18495
  ref: datePicker,
@@ -18505,19 +18505,19 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
18505
18505
  "minutes-grid-increment": _ctx.minutesGridIncrement,
18506
18506
  "start-time": { hours: 8, minutes: 0 }
18507
18507
  }), null, 16, ["modelValue", "required", "enable-time-picker", "allowed-dates", "time-picker-inline", "minutes-increment", "minutes-grid-increment"])
18508
- ], 10, _hoisted_1$w);
18508
+ ], 10, _hoisted_1$y);
18509
18509
  };
18510
18510
  }
18511
18511
  });
18512
- const _hoisted_1$v = { class: "datetime-wrap" };
18513
- const _hoisted_2$l = { class: "date-wrap" };
18514
- const _hoisted_3$h = {
18512
+ const _hoisted_1$x = { class: "datetime-wrap" };
18513
+ const _hoisted_2$m = { class: "date-wrap" };
18514
+ const _hoisted_3$i = {
18515
18515
  key: 0,
18516
18516
  class: "time-wrap"
18517
18517
  };
18518
- const _hoisted_4$c = ["id", "name", "value"];
18518
+ const _hoisted_4$d = ["id", "name", "value"];
18519
18519
  const _hoisted_5$b = ["for"];
18520
- const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
18520
+ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
18521
18521
  __name: "DatePicker",
18522
18522
  props: {
18523
18523
  label: {},
@@ -18545,8 +18545,8 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
18545
18545
  return `${hour}:${minute}`;
18546
18546
  });
18547
18547
  return (_ctx, _cache) => {
18548
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$v, [
18549
- vue.createElementVNode("div", _hoisted_2$l, [
18548
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$x, [
18549
+ vue.createElementVNode("div", _hoisted_2$m, [
18550
18550
  vue.createVNode(vue.unref(Hn), vue.mergeProps({
18551
18551
  modelValue: selectedDate.value,
18552
18552
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => selectedDate.value = $event),
@@ -18564,7 +18564,7 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
18564
18564
  _: 1
18565
18565
  }, 16, ["modelValue", "allowed-dates", "disabled-dates"])
18566
18566
  ]),
18567
- _ctx.showTimeWrap ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$h, [
18567
+ _ctx.showTimeWrap ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$i, [
18568
18568
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(hours), (hr2) => {
18569
18569
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: hr2 }, [
18570
18570
  vue.withDirectives(vue.createElementVNode("input", {
@@ -18573,7 +18573,7 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
18573
18573
  type: "radio",
18574
18574
  name: _ctx.label,
18575
18575
  value: hr2
18576
- }, null, 8, _hoisted_4$c), [
18576
+ }, null, 8, _hoisted_4$d), [
18577
18577
  [vue.vModelRadio, selectedHour.value]
18578
18578
  ]),
18579
18579
  vue.createElementVNode("label", {
@@ -18586,13 +18586,13 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
18586
18586
  };
18587
18587
  }
18588
18588
  });
18589
- const _hoisted_1$u = { class: "bagel-input" };
18590
- const _hoisted_2$k = {
18589
+ const _hoisted_1$w = { class: "bagel-input" };
18590
+ const _hoisted_2$l = {
18591
18591
  key: 0,
18592
18592
  class: "bgl-multi-preview"
18593
18593
  };
18594
- const _hoisted_3$g = ["src"];
18595
- const _hoisted_4$b = { class: "m-0" };
18594
+ const _hoisted_3$h = ["src"];
18595
+ const _hoisted_4$c = { class: "m-0" };
18596
18596
  const _hoisted_5$a = ["width", "src"];
18597
18597
  const _hoisted_6$8 = { class: "no-margin multi-preview-txt" };
18598
18598
  const _hoisted_7$5 = {
@@ -18610,7 +18610,7 @@ const _hoisted_10$2 = {
18610
18610
  };
18611
18611
  const _hoisted_11$1 = ["src"];
18612
18612
  const _hoisted_12 = { class: "p-1 flex column hover fileUploadPlaceHolder justify-content-center mb-05" };
18613
- const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
18613
+ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
18614
18614
  __name: "FileUpload",
18615
18615
  props: {
18616
18616
  label: {},
@@ -18759,7 +18759,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
18759
18759
  }
18760
18760
  return (_ctx, _cache) => {
18761
18761
  const _directive_lightbox = vue.resolveDirective("lightbox");
18762
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$u, [
18762
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$w, [
18763
18763
  vue.createElementVNode("label", null, vue.toDisplayString(_ctx.label), 1),
18764
18764
  vue.createElementVNode("div", {
18765
18765
  class: vue.normalizeClass(["fileUploadWrap", {
@@ -18777,7 +18777,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
18777
18777
  files: storageFiles.value,
18778
18778
  fileQueue: fileQueue.value
18779
18779
  }, () => [
18780
- _ctx.multiple ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$k, [
18780
+ _ctx.multiple ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$l, [
18781
18781
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(storageFiles.value, (file) => {
18782
18782
  return vue.openBlock(), vue.createElementBlock("div", {
18783
18783
  key: file.id,
@@ -18788,14 +18788,14 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
18788
18788
  class: "multi-preview",
18789
18789
  src: file.url,
18790
18790
  alt: ""
18791
- }, null, 8, _hoisted_3$g)), [
18791
+ }, null, 8, _hoisted_3$h)), [
18792
18792
  [_directive_lightbox]
18793
18793
  ]) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$c), {
18794
18794
  key: 1,
18795
18795
  icon: "draft",
18796
18796
  class: "multi-preview"
18797
18797
  })),
18798
- vue.createElementVNode("p", _hoisted_4$b, vue.toDisplayString(file.name), 1),
18798
+ vue.createElementVNode("p", _hoisted_4$c, vue.toDisplayString(file.name), 1),
18799
18799
  vue.createVNode(vue.unref(Btn), {
18800
18800
  thin: "",
18801
18801
  flat: "",
@@ -18900,11 +18900,11 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
18900
18900
  };
18901
18901
  }
18902
18902
  });
18903
- const $el = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-be593d04"]]);
18904
- const _hoisted_1$t = ["title"];
18905
- const _hoisted_2$j = { key: 0 };
18906
- const _hoisted_3$f = ["value", "placeholder"];
18907
- const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
18903
+ const $el = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-be593d04"]]);
18904
+ const _hoisted_1$v = ["title"];
18905
+ const _hoisted_2$k = { key: 0 };
18906
+ const _hoisted_3$g = ["value", "placeholder"];
18907
+ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
18908
18908
  __name: "JSONInput",
18909
18909
  props: {
18910
18910
  description: { default: "" },
@@ -18927,7 +18927,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
18927
18927
  class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
18928
18928
  title: _ctx.description
18929
18929
  }, [
18930
- _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$j, [
18930
+ _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$k, [
18931
18931
  vue.createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
18932
18932
  ])) : vue.createCommentVNode("", true),
18933
18933
  vue.createElementVNode("textarea", {
@@ -18935,14 +18935,120 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
18935
18935
  class: vue.normalizeClass({ "no-edit": !_ctx.editMode }),
18936
18936
  placeholder: _ctx.placeholder,
18937
18937
  onInput: handleInput
18938
- }, null, 42, _hoisted_3$f)
18939
- ], 10, _hoisted_1$t);
18938
+ }, null, 42, _hoisted_3$g)
18939
+ ], 10, _hoisted_1$v);
18940
18940
  };
18941
18941
  }
18942
18942
  });
18943
- const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-1cbaeab2"]]);
18944
- const _hoisted_1$s = { class: "relative" };
18945
- const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
18943
+ const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-1cbaeab2"]]);
18944
+ const _hoisted_1$u = ["value", "autofocus", "onKeydown", "onPaste"];
18945
+ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
18946
+ __name: "OTP",
18947
+ props: {
18948
+ digitCount: {},
18949
+ default: {},
18950
+ modelValue: {}
18951
+ },
18952
+ emits: ["update:modelValue", "complete"],
18953
+ setup(__props, { emit: __emit }) {
18954
+ const props2 = __props;
18955
+ const emit2 = __emit;
18956
+ const digits = vue.reactive([]);
18957
+ const otpCont = vue.ref();
18958
+ function handlePaste2(event, index2) {
18959
+ event.preventDefault();
18960
+ const { clipboardData } = event;
18961
+ const pastedText = clipboardData == null ? void 0 : clipboardData.getData("text").replace(/\D/g, "");
18962
+ const pastedDigits = pastedText == null ? void 0 : pastedText.split("");
18963
+ if (!pastedDigits) return;
18964
+ for (let i2 = 0; i2 < pastedDigits.length; i2++) {
18965
+ const digit = pastedDigits[i2];
18966
+ if (index2 + i2 < digits.length) {
18967
+ digits[index2 + i2] = digit;
18968
+ }
18969
+ }
18970
+ emitUpdate();
18971
+ }
18972
+ function emitUpdate() {
18973
+ if (isDigitsFull()) {
18974
+ emit2("complete", digits.join(""));
18975
+ } else {
18976
+ emit2("update:modelValue", digits.join(""));
18977
+ }
18978
+ }
18979
+ function handleKeyDown2(event, index2) {
18980
+ var _a2;
18981
+ const noPreventKeys = ["Tab", "ArrowRight", "ArrowLeft", "Control", "Shift", "Alt", "Meta"];
18982
+ if (noPreventKeys.includes(event.key)) {
18983
+ return;
18984
+ }
18985
+ if (event.key === "Backspace") {
18986
+ digits[index2] = null;
18987
+ if (index2 !== 0) {
18988
+ const prevDigit = (_a2 = otpCont.value) == null ? void 0 : _a2.children[index2 - 1];
18989
+ prevDigit.focus();
18990
+ }
18991
+ emitUpdate();
18992
+ return;
18993
+ }
18994
+ const numberRegex = /^\d$/;
18995
+ if (numberRegex.test(event.key)) {
18996
+ digits[index2] = event.key;
18997
+ if (index2 !== props2.digitCount - 1) {
18998
+ setTimeout(() => {
18999
+ var _a3;
19000
+ const nextDigit = (_a3 = otpCont.value) == null ? void 0 : _a3.children[index2 + 1];
19001
+ nextDigit.focus();
19002
+ }, 10);
19003
+ }
19004
+ emitUpdate();
19005
+ }
19006
+ }
19007
+ if (props2.default && props2.default.length === props2.digitCount) {
19008
+ for (let i2 = 0; i2 < props2.digitCount; i2++) {
19009
+ digits[i2] = props2.default.charAt(i2);
19010
+ }
19011
+ } else {
19012
+ for (let i2 = 0; i2 < props2.digitCount; i2++) {
19013
+ digits[i2] = null;
19014
+ }
19015
+ }
19016
+ function isDigitsFull() {
19017
+ for (const elem of digits) {
19018
+ if (elem == null || elem == void 0) {
19019
+ return false;
19020
+ }
19021
+ }
19022
+ return true;
19023
+ }
19024
+ return (_ctx, _cache) => {
19025
+ return vue.openBlock(), vue.createElementBlock("div", {
19026
+ ref_key: "otpCont",
19027
+ ref: otpCont,
19028
+ class: "otp_wrap"
19029
+ }, [
19030
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(digits, (el, ind) => {
19031
+ return vue.openBlock(), vue.createElementBlock("input", {
19032
+ key: ind,
19033
+ value: digits[ind] || "",
19034
+ type: "number",
19035
+ inputmode: "numeric",
19036
+ class: "digit-box",
19037
+ autofocus: ind === 0,
19038
+ maxlength: "1",
19039
+ pattern: "[0-9]*",
19040
+ oninput: "this.value = this.value.slice(0, 1);",
19041
+ onKeydown: ($event) => handleKeyDown2($event, ind),
19042
+ onPaste: ($event) => handlePaste2($event, ind)
19043
+ }, null, 40, _hoisted_1$u);
19044
+ }), 128))
19045
+ ], 512);
19046
+ };
19047
+ }
19048
+ });
19049
+ const OTP = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-539a9fdb"]]);
19050
+ const _hoisted_1$t = { class: "relative" };
19051
+ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
18946
19052
  __name: "PasswordInput",
18947
19053
  props: /* @__PURE__ */ vue.mergeModels({
18948
19054
  id: {},
@@ -18982,7 +19088,7 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
18982
19088
  );
18983
19089
  const inputType = vue.computed(() => showPwd.value ? "text" : "password");
18984
19090
  return (_ctx, _cache) => {
18985
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$s, [
19091
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$t, [
18986
19092
  vue.createVNode(vue.unref(TextInput), vue.mergeProps({
18987
19093
  modelValue: password.value,
18988
19094
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => password.value = $event)
@@ -19002,10 +19108,10 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
19002
19108
  };
19003
19109
  }
19004
19110
  });
19005
- const _hoisted_1$r = ["for"];
19006
- const _hoisted_2$i = ["id", "name", "value"];
19007
- const _hoisted_3$e = { class: "flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025" };
19008
- const _hoisted_4$a = ["src", "alt"];
19111
+ const _hoisted_1$s = ["for"];
19112
+ const _hoisted_2$j = ["id", "name", "value"];
19113
+ const _hoisted_3$f = { class: "flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025" };
19114
+ const _hoisted_4$b = ["src", "alt"];
19009
19115
  const _hoisted_5$9 = { class: "" };
19010
19116
  const _hoisted_6$7 = {
19011
19117
  key: 0,
@@ -19015,7 +19121,7 @@ const _hoisted_7$4 = {
19015
19121
  key: 1,
19016
19122
  class: "txt-gray txt-12 m-0"
19017
19123
  };
19018
- const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
19124
+ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
19019
19125
  __name: "RadioGroup",
19020
19126
  props: /* @__PURE__ */ vue.mergeModels({
19021
19127
  groupName: {},
@@ -19043,17 +19149,17 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
19043
19149
  type: "radio",
19044
19150
  name: _ctx.groupName,
19045
19151
  value: opt.value
19046
- }, null, 8, _hoisted_2$i), [
19152
+ }, null, 8, _hoisted_2$j), [
19047
19153
  [vue.vModelRadio, selectedOption.value]
19048
19154
  ]),
19049
- vue.createElementVNode("div", _hoisted_3$e, [
19155
+ vue.createElementVNode("div", _hoisted_3$f, [
19050
19156
  opt.imgSrc ? (vue.openBlock(), vue.createElementBlock("img", {
19051
19157
  key: 0,
19052
19158
  class: "bg-popup shadow-light py-025 radius-05 m_w40",
19053
19159
  width: "60",
19054
19160
  src: opt.imgSrc,
19055
19161
  alt: opt.imgAlt
19056
- }, null, 8, _hoisted_4$a)) : vue.createCommentVNode("", true),
19162
+ }, null, 8, _hoisted_4$b)) : vue.createCommentVNode("", true),
19057
19163
  vue.createElementVNode("div", _hoisted_5$9, [
19058
19164
  opt.label ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_6$7, vue.toDisplayString(opt.label), 1)) : vue.createCommentVNode("", true),
19059
19165
  opt.subLabel ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_7$4, vue.toDisplayString(opt.subLabel), 1)) : vue.createCommentVNode("", true)
@@ -19068,19 +19174,19 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
19068
19174
  icon: "delete",
19069
19175
  onClick: ($event) => _ctx.$emit("delete", opt)
19070
19176
  }, null, 8, ["onClick"])) : vue.createCommentVNode("", true)
19071
- ], 8, _hoisted_1$r);
19177
+ ], 8, _hoisted_1$s);
19072
19178
  }), 128))
19073
19179
  ]);
19074
19180
  };
19075
19181
  }
19076
19182
  });
19077
- const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-3e9e030f"]]);
19078
- const _hoisted_1$q = { class: "bagel-input" };
19079
- const _hoisted_2$h = { class: "pb-025" };
19080
- const _hoisted_3$d = { class: "flex gap-05 flex-wrap" };
19081
- const _hoisted_4$9 = ["id", "name", "value", "checked"];
19183
+ const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-3e9e030f"]]);
19184
+ const _hoisted_1$r = { class: "bagel-input" };
19185
+ const _hoisted_2$i = { class: "pb-025" };
19186
+ const _hoisted_3$e = { class: "flex gap-05 flex-wrap" };
19187
+ const _hoisted_4$a = ["id", "name", "value", "checked"];
19082
19188
  const _hoisted_5$8 = ["for"];
19083
- const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
19189
+ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
19084
19190
  __name: "RadioPillsInput",
19085
19191
  props: {
19086
19192
  options: {},
@@ -19121,9 +19227,9 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
19121
19227
  selectedValue.value = props2.modelValue;
19122
19228
  });
19123
19229
  return (_ctx, _cache) => {
19124
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$q, [
19125
- vue.createElementVNode("label", _hoisted_2$h, vue.toDisplayString(_ctx.label), 1),
19126
- vue.createElementVNode("div", _hoisted_3$d, [
19230
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$r, [
19231
+ vue.createElementVNode("label", _hoisted_2$i, vue.toDisplayString(_ctx.label), 1),
19232
+ vue.createElementVNode("div", _hoisted_3$e, [
19127
19233
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.options, (option2, index2) => {
19128
19234
  return vue.openBlock(), vue.createElementBlock("div", {
19129
19235
  key: index2,
@@ -19136,7 +19242,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
19136
19242
  value: getValue(option2),
19137
19243
  checked: vue.unref(selectedValue) === getValue(option2),
19138
19244
  onChange: handleSelect
19139
- }, null, 40, _hoisted_4$9),
19245
+ }, null, 40, _hoisted_4$a),
19140
19246
  vue.createElementVNode("label", {
19141
19247
  for: `${_ctx.id}-${getValue(option2)}`
19142
19248
  }, vue.toDisplayString(getLabel(option2)), 9, _hoisted_5$8)
@@ -19147,7 +19253,49 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
19147
19253
  };
19148
19254
  }
19149
19255
  });
19150
- const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-f2912ed8"]]);
19256
+ const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-f2912ed8"]]);
19257
+ const _hoisted_1$q = { class: "flex gap-1 align-center range-slide" };
19258
+ const _hoisted_2$h = { key: 0 };
19259
+ const _hoisted_3$d = ["max", "min", "step"];
19260
+ const _hoisted_4$9 = { key: 1 };
19261
+ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
19262
+ __name: "RangeInput",
19263
+ props: /* @__PURE__ */ vue.mergeModels({
19264
+ min: {},
19265
+ max: {},
19266
+ step: {}
19267
+ }, {
19268
+ "modelValue": { default: 0 },
19269
+ "modelModifiers": {}
19270
+ }),
19271
+ emits: ["update:modelValue"],
19272
+ setup(__props) {
19273
+ const val = vue.useModel(__props, "modelValue");
19274
+ const background = vue.computed(() => {
19275
+ const minVal = __props.min ?? 0;
19276
+ const maxVal = __props.max ?? 100;
19277
+ const percentage = (val.value - minVal) / (maxVal - minVal) * 100;
19278
+ return `linear-gradient(to right, var(--bgl-primary) ${percentage}%, var(--input-bg) ${percentage}%)`;
19279
+ });
19280
+ return (_ctx, _cache) => {
19281
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$q, [
19282
+ _ctx.min !== void 0 ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_2$h, vue.toDisplayString(_ctx.min), 1)) : vue.createCommentVNode("", true),
19283
+ vue.withDirectives(vue.createElementVNode("input", {
19284
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => val.value = $event),
19285
+ style: vue.normalizeStyle({ background: background.value }),
19286
+ max: _ctx.max,
19287
+ min: _ctx.min,
19288
+ step: _ctx.step,
19289
+ type: "range"
19290
+ }, null, 12, _hoisted_3$d), [
19291
+ [vue.vModelText, val.value]
19292
+ ]),
19293
+ _ctx.max !== void 0 ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_4$9, vue.toDisplayString(_ctx.max), 1)) : vue.createCommentVNode("", true)
19294
+ ]);
19295
+ };
19296
+ }
19297
+ });
19298
+ const RangeInput = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-d653c76a"]]);
19151
19299
  function OrderedMap(content) {
19152
19300
  this.content = content;
19153
19301
  }
@@ -43539,7 +43687,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
43539
43687
  }
43540
43688
  });
43541
43689
  return (_ctx, _cache) => {
43542
- return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$K), {
43690
+ return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$M), {
43543
43691
  ref_key: "dropdown",
43544
43692
  ref: dropdown,
43545
43693
  placement: "bottom-start",
@@ -43591,7 +43739,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
43591
43739
  ])
43592
43740
  ]),
43593
43741
  default: vue.withCtx(() => [
43594
- vue.createVNode(vue.unref(_sfc_main$O), {
43742
+ vue.createVNode(vue.unref(_sfc_main$Q), {
43595
43743
  class: "p-05",
43596
43744
  style: vue.normalizeStyle({ width: _ctx.fullWidth ? "100%" : "auto" })
43597
43745
  }, {
@@ -52000,7 +52148,7 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
52000
52148
  vue.withKeys(reset, ["tab"])
52001
52149
  ]
52002
52150
  }, [
52003
- !computedDropDownOptions.value.hide ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$K), {
52151
+ !computedDropDownOptions.value.hide ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$M), {
52004
52152
  key: 0,
52005
52153
  ref_key: "phoneDropdown",
52006
52154
  ref: phoneDropdown,
@@ -52234,7 +52382,7 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
52234
52382
  };
52235
52383
  }
52236
52384
  });
52237
- const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-739e3acb"]]);
52385
+ const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-194260fc"]]);
52238
52386
  const _hoisted_1$h = ["title"];
52239
52387
  const _hoisted_2$9 = ["id", "required"];
52240
52388
  const _hoisted_3$7 = ["for"];
@@ -52295,7 +52443,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
52295
52443
  },
52296
52444
  setup(__props) {
52297
52445
  return (_ctx, _cache) => {
52298
- return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$O), { class: "hide m_grid gap-05 bgl_bottombar px-1 txt14 justify-content-start align-items-center overflow-x" }, {
52446
+ return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$Q), { class: "hide m_grid gap-05 bgl_bottombar px-1 txt14 justify-content-start align-items-center overflow-x" }, {
52299
52447
  default: vue.withCtx(() => [
52300
52448
  vue.renderSlot(_ctx.$slots, "brand", {}, void 0, true),
52301
52449
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.navLinks, (nav2, i2) => {
@@ -52395,7 +52543,7 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
52395
52543
  icon: "keyboard_arrow_right",
52396
52544
  onClick: toggleMenu
52397
52545
  }),
52398
- vue.createVNode(vue.unref(_sfc_main$O), { class: "py-1 px-05 h-100 flex column gap-05 rounded relative bg-primary font-light overflow-y" }, {
52546
+ vue.createVNode(vue.unref(_sfc_main$Q), { class: "py-1 px-05 h-100 flex column gap-05 rounded relative bg-primary font-light overflow-y" }, {
52399
52547
  default: vue.withCtx(() => [
52400
52548
  !vue.unref(isOpen) || !vue.unref(slots)["brand-open"] ? vue.renderSlot(_ctx.$slots, "brand", { key: 0 }, void 0, true) : vue.createCommentVNode("", true),
52401
52549
  vue.unref(isOpen) ? vue.renderSlot(_ctx.$slots, "brand-open", { key: 1 }, void 0, true) : vue.createCommentVNode("", true),
@@ -52902,7 +53050,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
52902
53050
  onClick: _cache[1] || (_cache[1] = () => _ctx.dismissable ? closeModal() : ""),
52903
53051
  onKeydown: vue.withKeys(closeModal, ["esc"])
52904
53052
  }, [
52905
- vue.createVNode(vue.unref(_sfc_main$O), {
53053
+ vue.createVNode(vue.unref(_sfc_main$Q), {
52906
53054
  class: "modal",
52907
53055
  style: vue.normalizeStyle({ ...maxWidth.value }),
52908
53056
  onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
@@ -53070,7 +53218,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
53070
53218
  "onUpdate:visible": _cache[1] || (_cache[1] = ($event) => emit2("update:visible", $event))
53071
53219
  }, vue.createSlots({
53072
53220
  default: vue.withCtx(() => [
53073
- vue.createVNode(vue.unref(_sfc_main$H), {
53221
+ vue.createVNode(vue.unref(_sfc_main$J), {
53074
53222
  ref_key: "form",
53075
53223
  ref: form,
53076
53224
  modelValue: formData.value,
@@ -53920,7 +54068,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
53920
54068
  row,
53921
54069
  field
53922
54070
  }, void 0, true) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_10$1, [
53923
- vue.createVNode(vue.unref(_sfc_main$I), {
54071
+ vue.createVNode(vue.unref(_sfc_main$K), {
53924
54072
  class: "embedded-field",
53925
54073
  field,
53926
54074
  modelValue: row,
@@ -55071,7 +55219,7 @@ function frmRow(...children2) {
55071
55219
  function bglForm(idOrField, ...schema) {
55072
55220
  if (typeof idOrField === "string") {
55073
55221
  return {
55074
- $el: vue.markRaw(_sfc_main$H),
55222
+ $el: vue.markRaw(_sfc_main$J),
55075
55223
  id: idOrField,
55076
55224
  attrs: {
55077
55225
  schema: [idOrField, ...schema]
@@ -55079,7 +55227,7 @@ function bglForm(idOrField, ...schema) {
55079
55227
  };
55080
55228
  }
55081
55229
  return {
55082
- $el: vue.markRaw(_sfc_main$H),
55230
+ $el: vue.markRaw(_sfc_main$J),
55083
55231
  attrs: {
55084
55232
  schema: [idOrField, ...schema]
55085
55233
  }
@@ -55680,29 +55828,29 @@ const IMAGE_FORMATS = ["jpeg", "png", "webp", "avif", "apng", "gif", "avifs", "s
55680
55828
  const IMAGE_FORMATS_REGEXP = new RegExp(`(${IMAGE_FORMATS.join("|")})$`, "i");
55681
55829
  const VIDEO_FORMATS = ["mp4", "webm", "ogg", "mov", "avi", "flv", "wmv", "mkv", "ts", "m3u8"];
55682
55830
  const VIDEO_FORMATS_REGEXP = new RegExp(`(${VIDEO_FORMATS.join("|")})$`, "i");
55683
- exports.Accordion = _sfc_main$W;
55831
+ exports.Accordion = _sfc_main$Y;
55684
55832
  exports.AccordionItem = AccordionItem;
55685
- exports.AddressSearch = _sfc_main$U;
55833
+ exports.AddressSearch = _sfc_main$W;
55686
55834
  exports.Alert = Alert;
55687
55835
  exports.Avatar = Avatar;
55688
55836
  exports.Badge = Badge;
55689
- exports.BagelForm = _sfc_main$H;
55837
+ exports.BagelForm = _sfc_main$J;
55690
55838
  exports.BagelVue = BagelVue;
55691
- exports.BglField = _sfc_main$I;
55692
- exports.BglForm = _sfc_main$H;
55693
- exports.BglMultiStepForm = _sfc_main$G;
55839
+ exports.BglField = _sfc_main$K;
55840
+ exports.BglForm = _sfc_main$J;
55841
+ exports.BglMultiStepForm = _sfc_main$I;
55694
55842
  exports.BglVideo = BglVideo;
55695
55843
  exports.BottomMenu = BottomMenu;
55696
55844
  exports.Btn = Btn;
55697
- exports.Card = _sfc_main$O;
55845
+ exports.Card = _sfc_main$Q;
55698
55846
  exports.Carousel = Carousel;
55699
55847
  exports.CheckInput = CheckInput;
55700
55848
  exports.Checkbox = Checkbox;
55701
- exports.ColorPicker = _sfc_main$D;
55849
+ exports.ColorPicker = _sfc_main$F;
55702
55850
  exports.DataPreview = DataPreview;
55703
- exports.DateInput = _sfc_main$C;
55704
- exports.DatePicker = _sfc_main$B;
55705
- exports.Dropdown = _sfc_main$K;
55851
+ exports.DateInput = _sfc_main$E;
55852
+ exports.DatePicker = _sfc_main$D;
55853
+ exports.Dropdown = _sfc_main$M;
55706
55854
  exports.FileUpload = $el;
55707
55855
  exports.Flag = Flag;
55708
55856
  exports.IMAGE_FORMATS = IMAGE_FORMATS;
@@ -55710,7 +55858,7 @@ exports.IMAGE_FORMATS_REGEXP = IMAGE_FORMATS_REGEXP;
55710
55858
  exports.Icon = _sfc_main$c;
55711
55859
  exports.JSONInput = JSONInput;
55712
55860
  exports.Layout = Layout;
55713
- exports.Lineart = _sfc_main$M;
55861
+ exports.Lineart = _sfc_main$O;
55714
55862
  exports.ListItem = _sfc_main$f;
55715
55863
  exports.ListView = ListView;
55716
55864
  exports.MapEmbed = _sfc_main$d;
@@ -55720,11 +55868,13 @@ exports.ModalConfirm = _sfc_main$a;
55720
55868
  exports.ModalForm = ModalForm;
55721
55869
  exports.ModalPlugin = ModalPlugin;
55722
55870
  exports.NavBar = NavBar;
55871
+ exports.OTP = OTP;
55723
55872
  exports.PageTitle = _sfc_main$7;
55724
- exports.PasswordInput = _sfc_main$y;
55873
+ exports.PasswordInput = _sfc_main$z;
55725
55874
  exports.Pill = Pill;
55726
55875
  exports.RadioGroup = RadioGroup;
55727
55876
  exports.RadioPillsInput = RadioPillsInput;
55877
+ exports.RangeInput = RangeInput;
55728
55878
  exports.RichText = _sfc_main$v;
55729
55879
  exports.RichText2 = index$1;
55730
55880
  exports.RouterWrapper = RouterWrapper;