@avakhula/ui 0.0.147 → 0.0.148

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.js CHANGED
@@ -1,4 +1,4 @@
1
- import { openBlock as G, createElementBlock as ne, normalizeStyle as On, normalizeClass as ve, resolveComponent as ce, createElementVNode as ae, renderSlot as Te, createVNode as ge, Transition as $r, withCtx as be, withDirectives as Ve, vShow as Ye, createBlock as $e, resolveDynamicComponent as wr, mergeProps as Et, Fragment as rt, renderList as jt, createCommentVNode as he, toDisplayString as we, withModifiers as vt, resolveDirective as Or, createSlots as Eo, Teleport as ua, createTextVNode as Ke, vModelDynamic as So, withKeys as bn, pushScopeId as _i, popScopeId as $i, vModelText as xo, defineComponent as da, onMounted as ca, onBeforeUnmount as fa, ref as Ri, watch as ei, nextTick as Bi, h as ha, createStaticVNode as pa, createApp as ga } from "vue";
1
+ import { openBlock as G, createElementBlock as ne, normalizeStyle as On, normalizeClass as ve, resolveComponent as ce, createElementVNode as ae, renderSlot as Te, createVNode as ge, Transition as $r, withCtx as be, withDirectives as Fe, vShow as Ke, createBlock as $e, resolveDynamicComponent as wr, mergeProps as Et, Fragment as rt, renderList as jt, createCommentVNode as he, toDisplayString as we, withModifiers as vt, resolveDirective as Or, createSlots as Eo, Teleport as ua, createTextVNode as Ge, vModelDynamic as So, withKeys as bn, pushScopeId as _i, popScopeId as $i, vModelText as xo, defineComponent as da, onMounted as ca, onBeforeUnmount as fa, ref as Ri, watch as ei, nextTick as Bi, h as ha, createStaticVNode as pa, createApp as ga } from "vue";
2
2
  const Ae = (t, n) => {
3
3
  const e = t.__vccOpts || t;
4
4
  for (const [i, o] of n)
@@ -106,10 +106,10 @@ function $a(t, n, e, i, o, r) {
106
106
  onLeave: t.leave
107
107
  }, {
108
108
  default: be(() => [
109
- Ve(ae("div", _a, [
109
+ Fe(ae("div", _a, [
110
110
  Te(t.$slots, "content", {}, void 0, !0)
111
111
  ], 512), [
112
- [Ye, o.isActive]
112
+ [Ke, o.isActive]
113
113
  ])
114
114
  ]),
115
115
  _: 3
@@ -225,7 +225,7 @@ function Sa(t, n, e, i, o, r) {
225
225
  default: be(() => [
226
226
  Te(t.$slots, "icon"),
227
227
  Te(t.$slots, "default"),
228
- e.href.length && e.linkMethod.toUpperCase() !== "GET" ? Ve((G(), ne("form", {
228
+ e.href.length && e.linkMethod.toUpperCase() !== "GET" ? Fe((G(), ne("form", {
229
229
  key: 0,
230
230
  ref: "form",
231
231
  method: r.formMethod,
@@ -248,7 +248,7 @@ function Sa(t, n, e, i, o, r) {
248
248
  value: e.postOptions[l]
249
249
  }, null, 8, Ea))), 128))
250
250
  ], 8, Oa)), [
251
- [Ye, !1]
251
+ [Ke, !1]
252
252
  ]) : he("", !0)
253
253
  ]),
254
254
  _: 3
@@ -312,12 +312,12 @@ const Aa = {
312
312
  function Na(t, n, e, i, o, r) {
313
313
  return G(), $e($r, null, {
314
314
  default: be(() => [
315
- Ve(ae("div", {
315
+ Fe(ae("div", {
316
316
  class: ve(r.classes)
317
317
  }, [
318
318
  Te(t.$slots, "default", {}, void 0, !0)
319
319
  ], 2), [
320
- [Ye, o.isVisible]
320
+ [Ke, o.isVisible]
321
321
  ])
322
322
  ]),
323
323
  _: 3
@@ -351,8 +351,7 @@ const Ma = {
351
351
  }, Pa = { key: 0 };
352
352
  function Da(t, n, e, i, o, r) {
353
353
  const l = ce("ib-popover");
354
- return e.text.length ? (G(), $e(l, {
355
- key: 0,
354
+ return Fe((G(), $e(l, {
356
355
  position: e.position,
357
356
  "always-visible": e.alwaysVisible,
358
357
  class: ve(r.classList)
@@ -362,9 +361,11 @@ function Da(t, n, e, i, o, r) {
362
361
  ae("p", null, we(e.text), 1)
363
362
  ]),
364
363
  _: 1
365
- }, 8, ["position", "always-visible", "class"])) : he("", !0);
364
+ }, 8, ["position", "always-visible", "class"])), [
365
+ [Ke, e.text.length]
366
+ ]);
366
367
  }
367
- const Qt = /* @__PURE__ */ Ae(Ma, [["render", Da], ["__scopeId", "data-v-66a9104b"]]), ji = {
368
+ const Qt = /* @__PURE__ */ Ae(Ma, [["render", Da], ["__scopeId", "data-v-16499412"]]), ji = {
368
369
  [sn.primary]: sn.primary,
369
370
  [sn.tertiary]: sn.tertiary,
370
371
  [sn.ghost]: sn.ghost,
@@ -789,7 +790,7 @@ function ll(t, n, e, i, o, r) {
789
790
  const l = ce("ib-icon"), a = ce("ib-icon-button");
790
791
  return G(), $e($r, null, {
791
792
  default: be(() => [
792
- Ve(ae("div", {
793
+ Fe(ae("div", {
793
794
  class: ve(r.classes)
794
795
  }, [
795
796
  ae("div", il, [
@@ -812,7 +813,7 @@ function ll(t, n, e, i, o, r) {
812
813
  Te(t.$slots, "buttons", {}, void 0, !0)
813
814
  ])
814
815
  ], 2), [
815
- [Ye, o.isOpenedState]
816
+ [Ke, o.isOpenedState]
816
817
  ])
817
818
  ]),
818
819
  _: 3
@@ -969,7 +970,7 @@ const yl = {
969
970
  }, bl = { class: "ib-dropdown" }, _l = { class: "footer-slot" };
970
971
  function $l(t, n, e, i, o, r) {
971
972
  const l = Or("outside");
972
- return Ve((G(), ne("div", bl, [
973
+ return Fe((G(), ne("div", bl, [
973
974
  r.hasTrigger && e.triggerType === "click" ? (G(), ne("span", {
974
975
  key: 0,
975
976
  class: ve(["dropdown-trigger", r.triggerClasses]),
@@ -987,7 +988,7 @@ function $l(t, n, e, i, o, r) {
987
988
  }, [
988
989
  Te(t.$slots, "trigger", { isOpened: o.isOpenedState }, void 0, !0)
989
990
  ], 34)) : he("", !0),
990
- !e.destroyOnHide || o.isOpenedState ? Ve((G(), ne("div", {
991
+ !e.destroyOnHide || o.isOpenedState ? Fe((G(), ne("div", {
991
992
  key: 2,
992
993
  ref: "body",
993
994
  class: ve("ib-dropdown-menu " + r.classes)
@@ -1009,7 +1010,7 @@ function $l(t, n, e, i, o, r) {
1009
1010
  Te(t.$slots, "footerslot", {}, void 0, !0)
1010
1011
  ])
1011
1012
  ], 2)), [
1012
- [Ye, o.isOpenedState]
1013
+ [Ke, o.isOpenedState]
1013
1014
  ]) : he("", !0),
1014
1015
  ae("div", {
1015
1016
  class: "before",
@@ -1449,11 +1450,11 @@ function Hl(t, n, e, i, o, r) {
1449
1450
  Te(t.$slots, "trigger", {}, void 0, !0)
1450
1451
  ], 544)) : he("", !0),
1451
1452
  (G(), $e(ua, { to: "body" }, [
1452
- Ve(ae("div", {
1453
+ Fe(ae("div", {
1453
1454
  class: ve(["modal", e.classList]),
1454
1455
  ref: "modal"
1455
1456
  }, [
1456
- Ve((G(), ne("div", {
1457
+ Fe((G(), ne("div", {
1457
1458
  class: ve(r.bodyClassList),
1458
1459
  style: On(r.bodyStyles)
1459
1460
  }, [
@@ -1483,7 +1484,7 @@ function Hl(t, n, e, i, o, r) {
1483
1484
  [d, r.clickOutside]
1484
1485
  ])
1485
1486
  ], 2), [
1486
- [Ye, o.isActive]
1487
+ [Ke, o.isActive]
1487
1488
  ])
1488
1489
  ]))
1489
1490
  ], 64);
@@ -1550,7 +1551,7 @@ function Kl(t, n, e, i, o, r) {
1550
1551
  }]),
1551
1552
  tabindex: o.isDisabledDropdown ? -1 : 0
1552
1553
  }, [
1553
- Ke(we(e.tabs.name) + " ", 1),
1554
+ Ge(we(e.tabs.name) + " ", 1),
1554
1555
  ge(l, { name: "chevron-down" })
1555
1556
  ], 10, zl)
1556
1557
  ]),
@@ -1567,7 +1568,7 @@ function Kl(t, n, e, i, o, r) {
1567
1568
  onClick: (c) => r.selectTab(f.id)
1568
1569
  }, {
1569
1570
  default: be(() => [
1570
- Ke(we(f.title), 1)
1571
+ Ge(we(f.title), 1)
1571
1572
  ]),
1572
1573
  _: 2
1573
1574
  }, 1032, ["checked", "href", "tabindex", "class", "onClick"]))), 128))
@@ -1695,10 +1696,10 @@ const Jh = /* @__PURE__ */ Ae(Yl, [["render", es], ["__scopeId", "data-v-d30d6f3
1695
1696
  }
1696
1697
  };
1697
1698
  function ns(t, n, e, i, o, r) {
1698
- return Ve((G(), ne("div", null, [
1699
+ return Fe((G(), ne("div", null, [
1699
1700
  Te(t.$slots, "default")
1700
1701
  ], 512)), [
1701
- [Ye, r.isTabActive]
1702
+ [Ke, r.isTabActive]
1702
1703
  ]);
1703
1704
  }
1704
1705
  const Xh = /* @__PURE__ */ Ae(ts, [["render", ns]]), rs = {
@@ -1787,7 +1788,7 @@ function ds(t, n, e, i, o, r) {
1787
1788
  }])
1788
1789
  }, [
1789
1790
  ae("button", ls, [
1790
- Ke(we(e.title) + " ", 1),
1791
+ Ge(we(e.title) + " ", 1),
1791
1792
  e.tooltipText ? (G(), $e(l, {
1792
1793
  key: 0,
1793
1794
  text: e.tooltipText,
@@ -1819,7 +1820,7 @@ function ds(t, n, e, i, o, r) {
1819
1820
  "aria-label": e.sort,
1820
1821
  onClick: n[0] || (n[0] = (...f) => r.clickHandler && r.clickHandler(...f))
1821
1822
  }, [
1822
- Ke(we(e.title) + " ", 1),
1823
+ Ge(we(e.title) + " ", 1),
1823
1824
  r.iconType ? (G(), $e(d, {
1824
1825
  key: 0,
1825
1826
  name: r.iconType
@@ -2110,14 +2111,14 @@ function ks(t, n, e, i, o, r) {
2110
2111
  return G(), ne("div", null, [
2111
2112
  e.errorMessage ? (G(), $e(l, { key: 0 }, {
2112
2113
  default: be(() => [
2113
- Ke(we(e.errorMessage), 1)
2114
+ Ge(we(e.errorMessage), 1)
2114
2115
  ]),
2115
2116
  _: 1
2116
2117
  })) : he("", !0),
2117
2118
  ae("div", {
2118
2119
  class: ve(["ib-input-wrapper", { "has-settings": r.hasSettings }])
2119
2120
  }, [
2120
- Ve(ae("input", Et(r.attrs, {
2121
+ Fe(ae("input", Et(r.attrs, {
2121
2122
  "onUpdate:modelValue": n[0] || (n[0] = (s) => o.actualValue = s),
2122
2123
  readonly: e.readonly,
2123
2124
  disabled: e.disabled,
@@ -2307,22 +2308,22 @@ function Ms(t, n, e, i, o, r) {
2307
2308
  class: ve(["ib-checkbox-label", { "ib-checkbox-label-left": e.labelPosition === "left" }])
2308
2309
  }, [
2309
2310
  e.required ? (G(), ne("span", Ts, "*")) : he("", !0),
2310
- Ke(" " + we(e.label), 1)
2311
+ Ge(" " + we(e.label), 1)
2311
2312
  ], 2)) : he("", !0),
2312
2313
  ae("span", As, [
2313
- Ve(ge(l, { name: "checkmark-sharp" }, null, 512), [
2314
- [Ye, o.checked && !r.indeterminate]
2314
+ Fe(ge(l, { name: "checkmark-sharp" }, null, 512), [
2315
+ [Ke, o.checked && !r.indeterminate]
2315
2316
  ]),
2316
- Ve(ge(l, {
2317
+ Fe(ge(l, {
2317
2318
  class: ve("checkbox-undeterminate-icon"),
2318
2319
  name: "remove-sharp"
2319
2320
  }, null, 512), [
2320
- [Ye, r.indeterminate]
2321
+ [Ke, r.indeterminate]
2321
2322
  ])
2322
2323
  ]),
2323
2324
  e.labelPosition === "right" && ((a = e.label) != null && a.length) ? (G(), ne("span", Ns, [
2324
2325
  e.required ? (G(), ne("span", Is, "*")) : he("", !0),
2325
- Ke(" " + we(e.label), 1)
2326
+ Ge(" " + we(e.label), 1)
2326
2327
  ])) : he("", !0)
2327
2328
  ])
2328
2329
  ], 16, Es);
@@ -2623,7 +2624,7 @@ function Ws(t, n, e, i, o, r) {
2623
2624
  key: 0,
2624
2625
  text: e.option.title
2625
2626
  }, null, 8, ["text"])) : he("", !0),
2626
- Ve(ge(d, {
2627
+ Fe(ge(d, {
2627
2628
  "disabled-focus": !0,
2628
2629
  kind: "ghost",
2629
2630
  class: "toggle-children",
@@ -2634,7 +2635,7 @@ function Ws(t, n, e, i, o, r) {
2634
2635
  ]),
2635
2636
  _: 1
2636
2637
  }, 8, ["onClick"]), [
2637
- [Ye, r.hasVisibleChildren]
2638
+ [Ke, r.hasVisibleChildren]
2638
2639
  ]),
2639
2640
  ae("div", {
2640
2641
  onClick: n[1] || (n[1] = vt((...c) => r.onChange && r.onChange(...c), ["prevent"])),
@@ -2645,7 +2646,7 @@ function Ws(t, n, e, i, o, r) {
2645
2646
  active: !e.showInput && e.option.checked
2646
2647
  })
2647
2648
  }, [
2648
- Ve((G(), $e(wr(r.component), {
2649
+ Fe((G(), $e(wr(r.component), {
2649
2650
  ref: "component",
2650
2651
  tabindex: "-1",
2651
2652
  name: r.actualName,
@@ -2659,7 +2660,7 @@ function Ws(t, n, e, i, o, r) {
2659
2660
  spellcheck: "false",
2660
2661
  onInput: r.toggle
2661
2662
  }, null, 40, ["name", "value", "id", "is-checked", "disabled", "onInput"])), [
2662
- [Ye, e.showInput]
2663
+ [Ke, e.showInput]
2663
2664
  ]),
2664
2665
  e.isBookmarkable ? (G(), ne("span", {
2665
2666
  key: 0,
@@ -2668,7 +2669,7 @@ function Ws(t, n, e, i, o, r) {
2668
2669
  )
2669
2670
  }, [
2670
2671
  r.hasChildren ? (G(), ne("span", zs, we(e.option.title), 1)) : (G(), ne("span", Us, [
2671
- Ke(we(e.option.title) + " ", 1),
2672
+ Ge(we(e.option.title) + " ", 1),
2672
2673
  ge(a, {
2673
2674
  name: "star",
2674
2675
  onClick: n[0] || (n[0] = vt((c) => t.$emit("toggle-bookmark", e.option), ["stop", "prevent"]))
@@ -2686,9 +2687,9 @@ function Ws(t, n, e, i, o, r) {
2686
2687
  }, null, 8, Ks))
2687
2688
  ], 64)) : (G(), ne("span", Ys, we(e.option.title), 1))
2688
2689
  ], 2),
2689
- r.hasChildren ? Ve((G(), $e(h, { key: 1 }, {
2690
+ r.hasChildren ? Fe((G(), $e(h, { key: 1 }, {
2690
2691
  default: be(() => [
2691
- (G(!0), ne(rt, null, jt(e.option.children, (c) => Ve((G(), $e(f, {
2692
+ (G(!0), ne(rt, null, jt(e.option.children, (c) => Fe((G(), $e(f, {
2692
2693
  key: c.value,
2693
2694
  option: c,
2694
2695
  name: e.name,
@@ -2700,12 +2701,12 @@ function Ws(t, n, e, i, o, r) {
2700
2701
  uid: e.uid,
2701
2702
  "is-bookmarkable": e.isBookmarkable
2702
2703
  }, null, 8, ["option", "name", "parent-auto-check", "is-multiple", "show-input", "onCheck", "uid", "is-bookmarkable"])), [
2703
- [Ye, c.visible]
2704
+ [Ke, c.visible]
2704
2705
  ])), 128))
2705
2706
  ]),
2706
2707
  _: 1
2707
2708
  }, 512)), [
2708
- [Ye, r.hasVisibleChildren && e.option.isChildrenVisible]
2709
+ [Ke, r.hasVisibleChildren && e.option.isChildrenVisible]
2709
2710
  ]) : he("", !0)
2710
2711
  ], 34)
2711
2712
  ]);
@@ -3599,7 +3600,7 @@ function nu(t, n, e, i, o, r) {
3599
3600
  class: "tree-select-error"
3600
3601
  }, {
3601
3602
  default: be(() => [
3602
- Ke(we(e.errorMessage), 1)
3603
+ Ge(we(e.errorMessage), 1)
3603
3604
  ]),
3604
3605
  _: 1
3605
3606
  })) : he("", !0),
@@ -3671,8 +3672,8 @@ function nu(t, n, e, i, o, r) {
3671
3672
  !r.requiredDependencyNotFilled && !o.countVisibleChildren && r.hasEmptyMessage ? (G(), ne("div", eu, [
3672
3673
  Te(t.$slots, "emptyMessage")
3673
3674
  ])) : !r.requiredDependencyNotFilled && !o.countVisibleChildren ? (G(), ne("div", tu, we(o.actualStrings.emptyTitle), 1)) : he("", !0),
3674
- Ve(ae("div", { class: "tree-select-empty" }, we(o.actualStrings.requiredDependencyNotFilled), 513), [
3675
- [Ye, r.requiredDependencyNotFilled]
3675
+ Fe(ae("div", { class: "tree-select-empty" }, we(o.actualStrings.requiredDependencyNotFilled), 513), [
3676
+ [Ke, r.requiredDependencyNotFilled]
3676
3677
  ]),
3677
3678
  !e.isMultiple && !e.isRequired && o.actualOptions.length > 0 ? (G(), $e(f, {
3678
3679
  key: 2,
@@ -3722,7 +3723,7 @@ function nu(t, n, e, i, o, r) {
3722
3723
  htmlTitle: e.htmlOptionTitle,
3723
3724
  showInput: e.showInputs
3724
3725
  }, () => [
3725
- Ve(ge(f, {
3726
+ Fe(ge(f, {
3726
3727
  option: u,
3727
3728
  "is-toggle": e.isToggle,
3728
3729
  name: o.actualName,
@@ -3736,7 +3737,7 @@ function nu(t, n, e, i, o, r) {
3736
3737
  "html-title": e.htmlOptionTitle,
3737
3738
  "show-input": e.showInputs
3738
3739
  }, null, 8, ["option", "is-toggle", "name", "parent-auto-check", "is-multiple", "is-bookmarkable", "onCheck", "onToggleBookmark", "uid", "only-end-nodes", "html-title", "show-input"]), [
3739
- [Ye, u.visible]
3740
+ [Ke, u.visible]
3740
3741
  ])
3741
3742
  ])), 128))
3742
3743
  ], 64))
@@ -3780,7 +3781,7 @@ function nu(t, n, e, i, o, r) {
3780
3781
  class: ve({ placeholder: !r.selectStatus })
3781
3782
  }, we(r.selectStatus || e.placeholder), 3))
3782
3783
  ], 10, ["aria-label", "aria-expanded"]),
3783
- e.showClearButton ? Ve((G(), $e(d, {
3784
+ e.showClearButton ? Fe((G(), $e(d, {
3784
3785
  key: 0,
3785
3786
  kind: "ghost",
3786
3787
  class: "button-clear",
@@ -3792,7 +3793,7 @@ function nu(t, n, e, i, o, r) {
3792
3793
  ]),
3793
3794
  _: 1
3794
3795
  }, 8, ["onClick", "help-text"])), [
3795
- [Ye, Object.keys(o.selected).length]
3796
+ [Ke, Object.keys(o.selected).length]
3796
3797
  ]) : he("", !0),
3797
3798
  ge(a, {
3798
3799
  name: u ? "chevron-up-outline" : "chevron-down-outline",
@@ -3852,7 +3853,7 @@ function au(t, n, e, i, o, r) {
3852
3853
  return G(), ne("div", ou, [
3853
3854
  ge(l, null, {
3854
3855
  default: be(() => [
3855
- Ke(we(e.labelSelect), 1)
3856
+ Ge(we(e.labelSelect), 1)
3856
3857
  ]),
3857
3858
  _: 1
3858
3859
  }),
@@ -3984,7 +3985,7 @@ function gu(t, n, e, i, o, r) {
3984
3985
  e.showPaginationInput ? (G(), ne(rt, { key: 0 }, [
3985
3986
  ge(a, null, {
3986
3987
  default: be(() => [
3987
- Ke(we(e.labelInput), 1)
3988
+ Ge(we(e.labelInput), 1)
3988
3989
  ]),
3989
3990
  _: 1
3990
3991
  }),
@@ -4014,7 +4015,7 @@ function gu(t, n, e, i, o, r) {
4014
4015
  _: 1
4015
4016
  }, 8, ["disabled"]),
4016
4017
  ae("ul", hu, [
4017
- (G(!0), ne(rt, null, jt(r.countPagePagination, (s, u) => Ve((G(), ne("li", {
4018
+ (G(!0), ne(rt, null, jt(r.countPagePagination, (s, u) => Fe((G(), ne("li", {
4018
4019
  key: u,
4019
4020
  class: ve(["pagination-item", {
4020
4021
  active: u + 1 === o.currentPage,
@@ -4025,7 +4026,7 @@ function gu(t, n, e, i, o, r) {
4025
4026
  }, [
4026
4027
  ae("button", null, we(u + 1), 1)
4027
4028
  ], 10, pu)), [
4028
- [Ye, r.showItem(u + 1)]
4029
+ [Ke, r.showItem(u + 1)]
4029
4030
  ])), 128))
4030
4031
  ]),
4031
4032
  ge(c, {
@@ -4092,11 +4093,11 @@ function $u(t, n, e, i, o, r) {
4092
4093
  }, bu, 4),
4093
4094
  _u
4094
4095
  ], 2),
4095
- Ve(ge(l, {
4096
+ Fe(ge(l, {
4096
4097
  class: "status-icon",
4097
4098
  name: r.iconName
4098
4099
  }, null, 8, ["name"]), [
4099
- [Ye, r.iconName.length]
4100
+ [Ke, r.iconName.length]
4100
4101
  ])
4101
4102
  ]);
4102
4103
  }
@@ -4198,10 +4199,10 @@ function Pu(t, n, e, i, o, r) {
4198
4199
  onLeave: t.leave
4199
4200
  }, {
4200
4201
  default: be(() => [
4201
- Ve(ae("div", Mu, [
4202
+ Fe(ae("div", Mu, [
4202
4203
  Te(t.$slots, "body", {}, void 0, !0)
4203
4204
  ], 512), [
4204
- [Ye, e.isOpen]
4205
+ [Ke, e.isOpen]
4205
4206
  ])
4206
4207
  ]),
4207
4208
  _: 3
@@ -4270,7 +4271,7 @@ function qu(t, n, e, i, o, r) {
4270
4271
  required: e.required
4271
4272
  }, {
4272
4273
  default: be(() => [
4273
- Ke(we(e.labelText), 1)
4274
+ Ge(we(e.labelText), 1)
4274
4275
  ]),
4275
4276
  _: 1
4276
4277
  }, 8, ["required"])) : he("", !0),
@@ -4279,7 +4280,7 @@ function qu(t, n, e, i, o, r) {
4279
4280
  class: "ib-error-message"
4280
4281
  }, {
4281
4282
  default: be(() => [
4282
- Ke(we(e.errorMessage), 1)
4283
+ Ge(we(e.errorMessage), 1)
4283
4284
  ]),
4284
4285
  _: 1
4285
4286
  })) : he("", !0),
@@ -4411,10 +4412,10 @@ function ed(t, n, e, i, o, r) {
4411
4412
  return G(), ne("div", Wu, [
4412
4413
  e.characterLength ? e.characterLimit > e.characterLength ? (G(), ne(rt, { key: 1 }, [
4413
4414
  ae("p", Ju, we(e.characterLimit - e.characterLength), 1),
4414
- Ke(" / "),
4415
+ Ge(" / "),
4415
4416
  ae("p", Xu, we(e.characterLimit), 1)
4416
4417
  ], 64)) : e.characterLimit === e.characterLength ? (G(), ne(rt, { key: 2 }, [
4417
- Ke("0")
4418
+ Ge("0")
4418
4419
  ], 64)) : (G(), ne("p", Qu, we(e.characterLimit - e.characterLength), 1)) : (G(), ne("p", Zu, "Max " + we(e.characterLimit), 1))
4419
4420
  ]);
4420
4421
  }
@@ -4487,23 +4488,23 @@ function rd(t, n, e, i, o, r) {
4487
4488
  "character-limit": e.characterLimit,
4488
4489
  "character-length": o.val.length
4489
4490
  }, null, 8, ["character-limit", "character-length"])) : he("", !0),
4490
- Ve(ge(a, null, {
4491
+ Fe(ge(a, null, {
4491
4492
  default: be(() => [
4492
- Ke(we(e.errorMessage), 1)
4493
+ Ge(we(e.errorMessage), 1)
4493
4494
  ]),
4494
4495
  _: 1
4495
4496
  }, 512), [
4496
- [Ye, e.errorMessage.length]
4497
+ [Ke, e.errorMessage.length]
4497
4498
  ]),
4498
- Ve(ge(a, null, {
4499
+ Fe(ge(a, null, {
4499
4500
  default: be(() => [
4500
- Ke(we(e.characterLimitErrorMessage), 1)
4501
+ Ge(we(e.characterLimitErrorMessage), 1)
4501
4502
  ]),
4502
4503
  _: 1
4503
4504
  }, 512), [
4504
- [Ye, e.characterLimitErrorMessage.length && r.characterOverLimit]
4505
+ [Ke, e.characterLimitErrorMessage.length && r.characterOverLimit]
4505
4506
  ]),
4506
- Ve(ae("textarea", Et(t.$attrs, {
4507
+ Fe(ae("textarea", Et(t.$attrs, {
4507
4508
  "onUpdate:modelValue": n[0] || (n[0] = (d) => o.val = d),
4508
4509
  onInput: n[1] || (n[1] = (...d) => r.onInput && r.onInput(...d)),
4509
4510
  onBlur: n[2] || (n[2] = (...d) => r.onBlur && r.onBlur(...d)),
@@ -4999,9 +5000,9 @@ function ud(t, n) {
4999
5000
  };
5000
5001
  }
5001
5002
  function o() {
5002
- e.element = e.input = t, e.isOpen = !1, Ge(), Q(), ft(), De(), i(), e.isMobile || w(), g(), (e.selectedDates.length || e.config.noCalendar) && (e.config.enableTime && s(e.config.noCalendar ? e.latestSelectedDateObj : void 0), ht(!1)), a();
5003
+ e.element = e.input = t, e.isOpen = !1, Ye(), Q(), ft(), De(), i(), e.isMobile || w(), g(), (e.selectedDates.length || e.config.noCalendar) && (e.config.enableTime && s(e.config.noCalendar ? e.latestSelectedDateObj : void 0), ht(!1)), a();
5003
5004
  var I = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
5004
- !e.isMobile && I && te(), Fe("onReady");
5005
+ !e.isMobile && I && te(), He("onReady");
5005
5006
  }
5006
5007
  function r() {
5007
5008
  var I;
@@ -5091,7 +5092,7 @@ function ud(t, n) {
5091
5092
  });
5092
5093
  }
5093
5094
  function y() {
5094
- Fe("onChange");
5095
+ He("onChange");
5095
5096
  }
5096
5097
  function g() {
5097
5098
  if (e.config.wrap && ["open", "close", "toggle", "clear"].forEach(function(z) {
@@ -5124,7 +5125,7 @@ function ud(t, n) {
5124
5125
  } catch (de) {
5125
5126
  de.message = "Invalid date supplied: " + z, e.config.errorHandler(de);
5126
5127
  }
5127
- L && e.currentYear !== X && (Fe("onYearChange"), T()), L && (e.currentYear !== X || e.currentMonth !== le) && Fe("onMonthChange"), e.redraw();
5128
+ L && e.currentYear !== X && (He("onYearChange"), T()), L && (e.currentYear !== X || e.currentMonth !== le) && He("onMonthChange"), e.redraw();
5128
5129
  }
5129
5130
  function $(I) {
5130
5131
  var L = wt(I);
@@ -5153,7 +5154,7 @@ function ud(t, n) {
5153
5154
  }
5154
5155
  function x(I, L, z, X) {
5155
5156
  var le = Z(L, !0), de = qe("span", I, L.getDate().toString());
5156
- return de.dateObj = L, de.$i = X, de.setAttribute("aria-label", e.formatDate(L, e.config.ariaDateFormat)), I.indexOf("hidden") === -1 && Ot(L, e.now) === 0 && (e.todayDateElem = de, de.classList.add("today"), de.setAttribute("aria-current", "date")), le ? (de.tabIndex = -1, Nt(L) && (de.classList.add("selected"), e.selectedDateElem = de, e.config.mode === "range" && (gt(de, "startRange", e.selectedDates[0] && Ot(L, e.selectedDates[0], !0) === 0), gt(de, "endRange", e.selectedDates[1] && Ot(L, e.selectedDates[1], !0) === 0), I === "nextMonthDay" && de.classList.add("inRange")))) : de.classList.add("flatpickr-disabled"), e.config.mode === "range" && Ft(L) && !Nt(L) && de.classList.add("inRange"), e.weekNumbers && e.config.showMonths === 1 && I !== "prevMonthDay" && X % 7 === 6 && e.weekNumbers.insertAdjacentHTML("beforeend", "<span class='flatpickr-day'>" + e.config.getWeek(L) + "</span>"), Fe("onDayCreate", de), de;
5157
+ return de.dateObj = L, de.$i = X, de.setAttribute("aria-label", e.formatDate(L, e.config.ariaDateFormat)), I.indexOf("hidden") === -1 && Ot(L, e.now) === 0 && (e.todayDateElem = de, de.classList.add("today"), de.setAttribute("aria-current", "date")), le ? (de.tabIndex = -1, Nt(L) && (de.classList.add("selected"), e.selectedDateElem = de, e.config.mode === "range" && (gt(de, "startRange", e.selectedDates[0] && Ot(L, e.selectedDates[0], !0) === 0), gt(de, "endRange", e.selectedDates[1] && Ot(L, e.selectedDates[1], !0) === 0), I === "nextMonthDay" && de.classList.add("inRange")))) : de.classList.add("flatpickr-disabled"), e.config.mode === "range" && Ft(L) && !Nt(L) && de.classList.add("inRange"), e.weekNumbers && e.config.showMonths === 1 && I !== "prevMonthDay" && X % 7 === 6 && e.weekNumbers.insertAdjacentHTML("beforeend", "<span class='flatpickr-day'>" + e.config.getWeek(L) + "</span>"), He("onDayCreate", de), de;
5157
5158
  }
5158
5159
  function E(I) {
5159
5160
  I.focus(), e.config.mode === "range" && _e(I);
@@ -5216,7 +5217,7 @@ function ud(t, n) {
5216
5217
  var I = qe("div", "flatpickr-month"), L = window.document.createDocumentFragment(), z;
5217
5218
  e.config.showMonths > 1 || e.config.monthSelectorType === "static" ? z = qe("span", "cur-month") : (e.monthsDropdownContainer = qe("select", "flatpickr-monthDropdown-months"), e.monthsDropdownContainer.setAttribute("aria-label", e.l10n.monthAriaLabel), v(e.monthsDropdownContainer, "change", function(Ce) {
5218
5219
  var me = wt(Ce), Me = parseInt(me.value, 10);
5219
- e.changeMonth(Me - e.currentMonth), Fe("onMonthChange");
5220
+ e.changeMonth(Me - e.currentMonth), He("onMonthChange");
5220
5221
  }), T(), z = e.monthsDropdownContainer);
5221
5222
  var X = ur("cur-year", { tabindex: "-1" }), le = X.getElementsByTagName("input")[0];
5222
5223
  le.setAttribute("aria-label", e.l10n.yearAriaLabel), e.config.minDate && le.setAttribute("min", e.config.minDate.getFullYear().toString()), e.config.maxDate && (le.setAttribute("max", e.config.maxDate.getFullYear().toString()), le.disabled = !!e.config.minDate && e.config.minDate.getFullYear() === e.config.maxDate.getFullYear());
@@ -5303,20 +5304,20 @@ function ud(t, n) {
5303
5304
  function A(I, L) {
5304
5305
  L === void 0 && (L = !0);
5305
5306
  var z = L ? I : I - e.currentMonth;
5306
- z < 0 && e._hidePrevMonthArrow === !0 || z > 0 && e._hideNextMonthArrow === !0 || (e.currentMonth += z, (e.currentMonth < 0 || e.currentMonth > 11) && (e.currentYear += e.currentMonth > 11 ? 1 : -1, e.currentMonth = (e.currentMonth + 12) % 12, Fe("onYearChange"), T()), k(), Fe("onMonthChange"), lt());
5307
+ z < 0 && e._hidePrevMonthArrow === !0 || z > 0 && e._hideNextMonthArrow === !0 || (e.currentMonth += z, (e.currentMonth < 0 || e.currentMonth > 11) && (e.currentYear += e.currentMonth > 11 ? 1 : -1, e.currentMonth = (e.currentMonth + 12) % 12, He("onYearChange"), T()), k(), He("onMonthChange"), lt());
5307
5308
  }
5308
5309
  function B(I, L) {
5309
5310
  if (I === void 0 && (I = !0), L === void 0 && (L = !0), e.input.value = "", e.altInput !== void 0 && (e.altInput.value = ""), e.mobileInput !== void 0 && (e.mobileInput.value = ""), e.selectedDates = [], e.latestSelectedDateObj = void 0, L === !0 && (e.currentYear = e._initialDate.getFullYear(), e.currentMonth = e._initialDate.getMonth()), e.config.enableTime === !0) {
5310
5311
  var z = ai(e.config), X = z.hours, le = z.minutes, de = z.seconds;
5311
5312
  u(X, le, de);
5312
5313
  }
5313
- e.redraw(), I && Fe("onChange");
5314
+ e.redraw(), I && He("onChange");
5314
5315
  }
5315
5316
  function j() {
5316
- e.isOpen = !1, e.isMobile || (e.calendarContainer !== void 0 && e.calendarContainer.classList.remove("open"), e._input !== void 0 && e._input.classList.remove("active")), Fe("onClose");
5317
+ e.isOpen = !1, e.isMobile || (e.calendarContainer !== void 0 && e.calendarContainer.classList.remove("open"), e._input !== void 0 && e._input.classList.remove("active")), He("onClose");
5317
5318
  }
5318
5319
  function Y() {
5319
- e.config !== void 0 && Fe("onDestroy");
5320
+ e.config !== void 0 && He("onDestroy");
5320
5321
  for (var I = e._handlers.length; I--; )
5321
5322
  e._handlers[I].remove();
5322
5323
  if (e._handlers = [], e.mobileInput)
@@ -5382,7 +5383,7 @@ function ud(t, n) {
5382
5383
  function V(I) {
5383
5384
  if (!(!I || e.config.minDate && I < e.config.minDate.getFullYear() || e.config.maxDate && I > e.config.maxDate.getFullYear())) {
5384
5385
  var L = I, z = e.currentYear !== L;
5385
- e.currentYear = L || e.currentYear, e.config.maxDate && e.currentYear === e.config.maxDate.getFullYear() ? e.currentMonth = Math.min(e.config.maxDate.getMonth(), e.currentMonth) : e.config.minDate && e.currentYear === e.config.minDate.getFullYear() && (e.currentMonth = Math.max(e.config.minDate.getMonth(), e.currentMonth)), z && (e.redraw(), Fe("onYearChange"), T());
5386
+ e.currentYear = L || e.currentYear, e.config.maxDate && e.currentYear === e.config.maxDate.getFullYear() ? e.currentMonth = Math.min(e.config.maxDate.getMonth(), e.currentMonth) : e.config.minDate && e.currentYear === e.config.minDate.getFullYear() && (e.currentMonth = Math.max(e.config.minDate.getMonth(), e.currentMonth)), z && (e.redraw(), He("onYearChange"), T());
5386
5387
  }
5387
5388
  }
5388
5389
  function Z(I, L) {
@@ -5482,7 +5483,7 @@ function ud(t, n) {
5482
5483
  e.amPM.textContent = e.l10n.amPM[1], c(), ht();
5483
5484
  break;
5484
5485
  }
5485
- (z || H(L)) && Fe("onKeyDown", I);
5486
+ (z || H(L)) && He("onKeyDown", I);
5486
5487
  }
5487
5488
  function _e(I, L) {
5488
5489
  if (L === void 0 && (L = "flatpickr-day"), !(e.selectedDates.length !== 1 || I && (!I.classList.contains(L) || I.classList.contains("flatpickr-disabled")))) {
@@ -5514,12 +5515,12 @@ function ud(t, n) {
5514
5515
  var z = wt(I);
5515
5516
  z && z.blur();
5516
5517
  }
5517
- e.mobileInput !== void 0 && (e.mobileInput.focus(), e.mobileInput.click()), Fe("onOpen");
5518
+ e.mobileInput !== void 0 && (e.mobileInput.focus(), e.mobileInput.click()), He("onOpen");
5518
5519
  return;
5519
5520
  } else if (e._input.disabled || e.config.inline)
5520
5521
  return;
5521
5522
  var X = e.isOpen;
5522
- e.isOpen = !0, X || (e.calendarContainer.classList.add("open"), e._input.classList.add("active"), Fe("onOpen"), te(L)), e.config.enableTime === !0 && e.config.noCalendar === !0 && e.config.allowInput === !1 && (I === void 0 || !e.timeContainer.contains(I.relatedTarget)) && setTimeout(function() {
5523
+ e.isOpen = !0, X || (e.calendarContainer.classList.add("open"), e._input.classList.add("active"), He("onOpen"), te(L)), e.config.enableTime === !0 && e.config.noCalendar === !0 && e.config.allowInput === !1 && (I === void 0 || !e.timeContainer.contains(I.relatedTarget)) && setTimeout(function() {
5523
5524
  return e.hourElement.select();
5524
5525
  }, 50);
5525
5526
  }
@@ -5531,7 +5532,7 @@ function ud(t, n) {
5531
5532
  }), !e.selectedDates.length && I === "min" && s(z), ht()), e.daysContainer && (ie(), z !== void 0 ? e.currentYearElement[I] = z.getFullYear().toString() : e.currentYearElement.removeAttribute(I), e.currentYearElement.disabled = !!X && z !== void 0 && X.getFullYear() === z.getFullYear());
5532
5533
  };
5533
5534
  }
5534
- function Ge() {
5535
+ function Ye() {
5535
5536
  var I = [
5536
5537
  "wrap",
5537
5538
  "weekNumbers",
@@ -5611,7 +5612,7 @@ function ud(t, n) {
5611
5612
  for (var pe in Me)
5612
5613
  ni.indexOf(pe) > -1 ? e.config[pe] = ri(Me[pe]).map(l).concat(e.config[pe]) : typeof L[pe] > "u" && (e.config[pe] = Me[pe]);
5613
5614
  }
5614
- L.altInputClass || (e.config.altInputClass = ze().className + " " + e.config.altInputClass), Fe("onParseConfig");
5615
+ L.altInputClass || (e.config.altInputClass = ze().className + " " + e.config.altInputClass), He("onParseConfig");
5615
5616
  }
5616
5617
  function ze() {
5617
5618
  return e.config.wrap ? t.querySelector("[data-input]") : t;
@@ -5625,7 +5626,7 @@ function ud(t, n) {
5625
5626
  if (typeof e.config.position == "function")
5626
5627
  return void e.config.position(e, I);
5627
5628
  if (e.calendarContainer !== void 0) {
5628
- Fe("onPreCalendarPosition");
5629
+ He("onPreCalendarPosition");
5629
5630
  var L = I || e._positionElement, z = Array.prototype.reduce.call(e.calendarContainer.children, function(st, Nn) {
5630
5631
  return st + Nn.offsetHeight;
5631
5632
  }, 0), X = e.calendarContainer.offsetWidth, le = e.config.position.split(" "), de = le[0], Ce = le.length > 1 ? le[1] : null, me = L.getBoundingClientRect(), Me = window.innerHeight - me.bottom, pe = de === "above" || de !== "below" && Me < z && me.top > z, ke = window.pageYOffset + me.top + (pe ? -z - 2 : L.offsetHeight + 2);
@@ -5691,7 +5692,7 @@ function ud(t, n) {
5691
5692
  }));
5692
5693
  if (c(), de) {
5693
5694
  var me = e.currentYear !== le.getFullYear();
5694
- e.currentYear = le.getFullYear(), e.currentMonth = le.getMonth(), me && (Fe("onYearChange"), T()), Fe("onMonthChange");
5695
+ e.currentYear = le.getFullYear(), e.currentMonth = le.getMonth(), me && (He("onYearChange"), T()), He("onMonthChange");
5695
5696
  }
5696
5697
  if (lt(), k(), ht(), !de && e.config.mode !== "range" && e.config.showMonths === 1 ? E(X) : e.selectedDateElem !== void 0 && e.hourElement === void 0 && e.selectedDateElem && e.selectedDateElem.focus(), e.hourElement !== void 0 && e.hourElement !== void 0 && e.hourElement.focus(), e.config.closeOnSelect) {
5697
5698
  var Me = e.config.mode === "single" && !e.config.enableTime, pe = e.config.mode === "range" && e.selectedDates.length === 2 && !e.config.enableTime;
@@ -5761,7 +5762,7 @@ function ud(t, n) {
5761
5762
  function je(I, L, z) {
5762
5763
  if (L === void 0 && (L = !1), z === void 0 && (z = e.config.dateFormat), I !== 0 && !I || I instanceof Array && I.length === 0)
5763
5764
  return e.clear(L);
5764
- We(I, z), e.latestSelectedDateObj = e.selectedDates[e.selectedDates.length - 1], e.redraw(), m(void 0, L), s(), e.selectedDates.length === 0 && e.clear(!1), ht(L), L && Fe("onChange");
5765
+ We(I, z), e.latestSelectedDateObj = e.selectedDates[e.selectedDates.length - 1], e.redraw(), m(void 0, L), s(), e.selectedDates.length === 0 && e.clear(!1), ht(L), L && He("onChange");
5765
5766
  }
5766
5767
  function At(I) {
5767
5768
  return I.slice().map(function(L) {
@@ -5796,7 +5797,7 @@ function ud(t, n) {
5796
5797
  } catch {
5797
5798
  }
5798
5799
  v(e.mobileInput, "change", function(L) {
5799
- e.setDate(wt(L).value, !1, e.mobileFormatStr), Fe("onChange"), Fe("onClose");
5800
+ e.setDate(wt(L).value, !1, e.mobileFormatStr), He("onChange"), He("onClose");
5800
5801
  });
5801
5802
  }
5802
5803
  function tn(I) {
@@ -5804,7 +5805,7 @@ function ud(t, n) {
5804
5805
  return e.close();
5805
5806
  e.open(I);
5806
5807
  }
5807
- function Fe(I, L) {
5808
+ function He(I, L) {
5808
5809
  if (e.config !== void 0) {
5809
5810
  var z = e.config[I];
5810
5811
  if (z !== void 0 && z.length > 0)
@@ -5843,7 +5844,7 @@ function ud(t, n) {
5843
5844
  }).join(e.config.mode !== "range" ? e.config.conjunction : e.l10n.rangeSeparator);
5844
5845
  }
5845
5846
  function ht(I) {
5846
- I === void 0 && (I = !0), e.mobileInput !== void 0 && e.mobileFormatStr && (e.mobileInput.value = e.latestSelectedDateObj !== void 0 ? e.formatDate(e.latestSelectedDateObj, e.mobileFormatStr) : ""), e.input.value = It(e.config.dateFormat), e.altInput !== void 0 && (e.altInput.value = It(e.config.altFormat)), I !== !1 && Fe("onValueUpdate");
5847
+ I === void 0 && (I = !0), e.mobileInput !== void 0 && e.mobileFormatStr && (e.mobileInput.value = e.latestSelectedDateObj !== void 0 ? e.formatDate(e.latestSelectedDateObj, e.mobileFormatStr) : ""), e.input.value = It(e.config.dateFormat), e.altInput !== void 0 && (e.altInput.value = It(e.config.altFormat)), I !== !1 && He("onValueUpdate");
5847
5848
  }
5848
5849
  function Ht(I) {
5849
5850
  var L = wt(I), z = e.prevMonthNav.contains(L), X = e.nextMonthNav.contains(L);
@@ -6189,7 +6190,7 @@ function kd(t, n, e, i, o, r) {
6189
6190
  class: "error-message"
6190
6191
  }, {
6191
6192
  default: be(() => [
6192
- Ke(we(e.errorMessage), 1)
6193
+ Ge(we(e.errorMessage), 1)
6193
6194
  ]),
6194
6195
  _: 1
6195
6196
  })) : he("", !0),
@@ -6201,7 +6202,7 @@ function kd(t, n, e, i, o, r) {
6201
6202
  required: e.required
6202
6203
  }, {
6203
6204
  default: be(() => [
6204
- Ke(we(e.label), 1)
6205
+ Ge(we(e.label), 1)
6205
6206
  ]),
6206
6207
  _: 1
6207
6208
  }, 8, ["required"])) : he("", !0),
@@ -6229,7 +6230,7 @@ function kd(t, n, e, i, o, r) {
6229
6230
  required: e.required
6230
6231
  }, {
6231
6232
  default: be(() => [
6232
- Ke(we(e.endDateLabel), 1)
6233
+ Ge(we(e.endDateLabel), 1)
6233
6234
  ]),
6234
6235
  _: 1
6235
6236
  }, 8, ["required"])) : he("", !0),
@@ -9779,7 +9780,7 @@ function Rf(t, n, e, i, o, r) {
9779
9780
  return G(), ne("div", {
9780
9781
  class: ve(["vue-tel-input", e.styleClasses, { disabled: e.disabled }])
9781
9782
  }, [
9782
- Ve((G(), ne("div", {
9783
+ Fe((G(), ne("div", {
9783
9784
  "aria-label": "Country Code Selector",
9784
9785
  "aria-haspopup": "listbox",
9785
9786
  "aria-expanded": o.open,
@@ -9810,7 +9811,7 @@ function Rf(t, n, e, i, o, r) {
9810
9811
  class: ve(["vti__dropdown-list", o.dropdownOpenDirection]),
9811
9812
  role: "listbox"
9812
9813
  }, [
9813
- e.dropdownOptions.showSearchBox ? Ve((G(), ne("input", {
9814
+ e.dropdownOptions.showSearchBox ? Fe((G(), ne("input", {
9814
9815
  key: 0,
9815
9816
  class: "vti__input vti__search_box",
9816
9817
  "aria-label": "Search by country name or country code",
@@ -9842,7 +9843,7 @@ function Rf(t, n, e, i, o, r) {
9842
9843
  ], 42, Tf)), [
9843
9844
  [l, r.clickedOutside]
9844
9845
  ]),
9845
- Ve(ae("input", {
9846
+ Fe(ae("input", {
9846
9847
  "onUpdate:modelValue": n[7] || (n[7] = (a) => o.phone = a),
9847
9848
  ref: "input",
9848
9849
  type: e.inputOptions.type,
@@ -9936,11 +9937,11 @@ function qf(t, n, e, i, o, r) {
9936
9937
  class: "ib-phone-error-message"
9937
9938
  }, {
9938
9939
  default: be(() => [
9939
- Ke(we(e.errorMessage), 1)
9940
+ Ge(we(e.errorMessage), 1)
9940
9941
  ]),
9941
9942
  _: 1
9942
9943
  })) : he("", !0),
9943
- Ve((G(), $e(d, Et({
9944
+ Fe((G(), $e(d, Et({
9944
9945
  modelValue: o.phone,
9945
9946
  "onUpdate:modelValue": n[0] || (n[0] = (h) => o.phone = h)
9946
9947
  }, t.$attrs, {
@@ -11551,7 +11552,7 @@ var Xo = { exports: {} };
11551
11552
  `) && (j = !0), B.scroll.insertAt(H, J);
11552
11553
  var re = B.scroll.line(H), fe = l(re, 2), _e = fe[0], Ee = fe[1], Ie = (0, O.default)({}, (0, m.bubbleFormats)(_e));
11553
11554
  if (_e instanceof $.default) {
11554
- var Pe = _e.descendant(u.default.Leaf, Ee), Ge = l(Pe, 1), ze = Ge[0];
11555
+ var Pe = _e.descendant(u.default.Leaf, Ee), Ye = l(Pe, 1), ze = Ye[0];
11555
11556
  Ie = (0, O.default)(Ie, (0, m.bubbleFormats)(ze));
11556
11557
  }
11557
11558
  Z = c.default.attributes.diff(Ie, Z) || {};
@@ -12857,9 +12858,9 @@ var Xo = { exports: {} };
12857
12858
  if (_e.length !== 0) {
12858
12859
  var Ee = J.quill.getSelection();
12859
12860
  if (!(Ee == null || !J.quill.hasFocus())) {
12860
- var Ie = J.quill.getLine(Ee.index), Pe = l(Ie, 2), Ge = Pe[0], ze = Pe[1], Q = J.quill.getLeaf(Ee.index), te = l(Q, 2), se = te[0], ue = te[1], ie = Ee.length === 0 ? [se, ue] : J.quill.getLeaf(Ee.index + Ee.length), xe = l(ie, 2), Oe = xe[0], Se = xe[1], tt = se instanceof $.default.Text ? se.value().slice(0, ue) : "", We = Oe instanceof $.default.Text ? Oe.value().slice(Se) : "", je = {
12861
+ var Ie = J.quill.getLine(Ee.index), Pe = l(Ie, 2), Ye = Pe[0], ze = Pe[1], Q = J.quill.getLeaf(Ee.index), te = l(Q, 2), se = te[0], ue = te[1], ie = Ee.length === 0 ? [se, ue] : J.quill.getLeaf(Ee.index + Ee.length), xe = l(ie, 2), Oe = xe[0], Se = xe[1], tt = se instanceof $.default.Text ? se.value().slice(0, ue) : "", We = Oe instanceof $.default.Text ? Oe.value().slice(Se) : "", je = {
12861
12862
  collapsed: Ee.length === 0,
12862
- empty: Ee.length === 0 && Ge.length() <= 1,
12863
+ empty: Ee.length === 0 && Ye.length() <= 1,
12863
12864
  format: J.quill.getFormat(Ee),
12864
12865
  offset: ze,
12865
12866
  prefix: tt,
@@ -13050,8 +13051,8 @@ var Xo = { exports: {} };
13050
13051
  if (V.offset === 0) {
13051
13052
  var _e = this.quill.getLine(D.index - 1), Ee = l(_e, 1), Ie = Ee[0];
13052
13053
  if (Ie != null && Ie.length() > 1) {
13053
- var Pe = re.formats(), Ge = this.quill.getFormat(D.index - 1, 1);
13054
- fe = g.default.attributes.diff(Pe, Ge) || {};
13054
+ var Pe = re.formats(), Ye = this.quill.getFormat(D.index - 1, 1);
13055
+ fe = g.default.attributes.diff(Pe, Ye) || {};
13055
13056
  }
13056
13057
  }
13057
13058
  var ze = /[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(V.prefix) ? 2 : 1;
@@ -13063,10 +13064,10 @@ var Xo = { exports: {} };
13063
13064
  if (!(D.index >= this.quill.getLength() - Z)) {
13064
13065
  var J = {}, re = 0, fe = this.quill.getLine(D.index), _e = l(fe, 1), Ee = _e[0];
13065
13066
  if (V.offset >= Ee.length() - 1) {
13066
- var Ie = this.quill.getLine(D.index + 1), Pe = l(Ie, 1), Ge = Pe[0];
13067
- if (Ge) {
13067
+ var Ie = this.quill.getLine(D.index + 1), Pe = l(Ie, 1), Ye = Pe[0];
13068
+ if (Ye) {
13068
13069
  var ze = Ee.formats(), Q = this.quill.getFormat(D.index, 1);
13069
- J = g.default.attributes.diff(ze, Q) || {}, re = Ge.length();
13070
+ J = g.default.attributes.diff(ze, Q) || {}, re = Ye.length();
13070
13071
  }
13071
13072
  }
13072
13073
  this.quill.deleteText(D.index, Z, w.default.sources.USER), Object.keys(J).length > 0 && this.quill.formatLine(D.index + re - 1, Z, J, w.default.sources.USER);
@@ -13099,7 +13100,7 @@ var Xo = { exports: {} };
13099
13100
  handler: function(Z) {
13100
13101
  var J = $.default.query("code-block"), re = Z.index, fe = Z.length, _e = this.quill.scroll.descendant(J, re), Ee = l(_e, 2), Ie = Ee[0], Pe = Ee[1];
13101
13102
  if (Ie != null) {
13102
- var Ge = this.quill.getIndex(Ie), ze = Ie.newlineIndex(Pe, !0) + 1, Q = Ie.newlineIndex(Ge + Pe + fe), te = Ie.domNode.textContent.slice(ze, Q).split(`
13103
+ var Ye = this.quill.getIndex(Ie), ze = Ie.newlineIndex(Pe, !0) + 1, Q = Ie.newlineIndex(Ye + Pe + fe), te = Ie.domNode.textContent.slice(ze, Q).split(`
13103
13104
  `);
13104
13105
  Pe = 0, te.forEach(function(se, ue) {
13105
13106
  D ? (Ie.insertAt(ze + Pe, J.TAB), Pe += J.TAB.length, ue === 0 ? re += J.TAB.length : fe += J.TAB.length) : se.startsWith(J.TAB) && (Ie.deleteAt(ze + Pe, J.TAB.length), Pe -= J.TAB.length, ue === 0 ? re -= J.TAB.length : fe -= J.TAB.length), Pe += se.length + 1;
@@ -15338,7 +15339,7 @@ var Xo = { exports: {} };
15338
15339
  throw new TypeError("Super expression must either be null or a function, not " + typeof te);
15339
15340
  Q.prototype = Object.create(te && te.prototype, { constructor: { value: Q, enumerable: !1, writable: !0, configurable: !0 } }), te && (Object.setPrototypeOf ? Object.setPrototypeOf(Q, te) : Q.__proto__ = te);
15340
15341
  }
15341
- var W = (0, g.default)("quill:clipboard"), oe = "__ql-matcher", U = [[Node.TEXT_NODE, ze], [Node.TEXT_NODE, Ie], ["br", fe], [Node.ELEMENT_NODE, Ie], [Node.ELEMENT_NODE, re], [Node.ELEMENT_NODE, Pe], [Node.ELEMENT_NODE, J], [Node.ELEMENT_NODE, Ge], ["li", Ee], ["b", Z.bind(Z, "bold")], ["i", Z.bind(Z, "italic")], ["style", _e]], R = [p.AlignAttribute, M.DirectionAttribute].reduce(function(Q, te) {
15342
+ var W = (0, g.default)("quill:clipboard"), oe = "__ql-matcher", U = [[Node.TEXT_NODE, ze], [Node.TEXT_NODE, Ie], ["br", fe], [Node.ELEMENT_NODE, Ie], [Node.ELEMENT_NODE, re], [Node.ELEMENT_NODE, Pe], [Node.ELEMENT_NODE, J], [Node.ELEMENT_NODE, Ye], ["li", Ee], ["b", Z.bind(Z, "bold")], ["i", Z.bind(Z, "italic")], ["style", _e]], R = [p.AlignAttribute, M.DirectionAttribute].reduce(function(Q, te) {
15342
15343
  return Q[te.keyName] = te, Q;
15343
15344
  }, {}), A = [p.AlignStyle, w.BackgroundStyle, S.ColorStyle, M.DirectionStyle, C.FontStyle, O.SizeStyle].reduce(function(Q, te) {
15344
15345
  return Q[te.keyName] = te, Q;
@@ -15513,7 +15514,7 @@ var Xo = { exports: {} };
15513
15514
  }
15514
15515
  return te;
15515
15516
  }
15516
- function Ge(Q, te) {
15517
+ function Ye(Q, te) {
15517
15518
  var se = {}, ue = Q.style || {};
15518
15519
  return ue.fontStyle && Y(Q).fontStyle === "italic" && (se.italic = !0), ue.fontWeight && (Y(Q).fontWeight.startsWith("bold") || parseInt(Y(Q).fontWeight) >= 700) && (se.bold = !0), Object.keys(se).length > 0 && (te = j(te, se)), parseFloat(ue.textIndent || 0) > 0 && (te = new c.default().insert(" ").concat(te)), te;
15519
15520
  }
@@ -16176,7 +16177,7 @@ var Xo = { exports: {} };
16176
16177
  Object.defineProperty(i, "__esModule", {
16177
16178
  value: !0
16178
16179
  });
16179
- var r = o(29), l = ie(r), a = o(36), d = o(38), f = o(64), h = o(65), c = ie(h), s = o(66), u = ie(s), _ = o(67), v = ie(_), y = o(37), g = o(26), m = o(39), $ = o(40), p = o(56), w = ie(p), x = o(68), E = ie(x), S = o(27), M = ie(S), C = o(69), O = ie(C), k = o(70), T = ie(k), P = o(71), q = ie(P), K = o(72), W = ie(K), oe = o(73), U = ie(oe), R = o(13), A = ie(R), B = o(74), j = ie(B), Y = o(75), H = ie(Y), D = o(57), V = ie(D), Z = o(41), J = ie(Z), re = o(28), fe = ie(re), _e = o(59), Ee = ie(_e), Ie = o(60), Pe = ie(Ie), Ge = o(61), ze = ie(Ge), Q = o(108), te = ie(Q), se = o(62), ue = ie(se);
16180
+ var r = o(29), l = ie(r), a = o(36), d = o(38), f = o(64), h = o(65), c = ie(h), s = o(66), u = ie(s), _ = o(67), v = ie(_), y = o(37), g = o(26), m = o(39), $ = o(40), p = o(56), w = ie(p), x = o(68), E = ie(x), S = o(27), M = ie(S), C = o(69), O = ie(C), k = o(70), T = ie(k), P = o(71), q = ie(P), K = o(72), W = ie(K), oe = o(73), U = ie(oe), R = o(13), A = ie(R), B = o(74), j = ie(B), Y = o(75), H = ie(Y), D = o(57), V = ie(D), Z = o(41), J = ie(Z), re = o(28), fe = ie(re), _e = o(59), Ee = ie(_e), Ie = o(60), Pe = ie(Ie), Ye = o(61), ze = ie(Ye), Q = o(108), te = ie(Q), se = o(62), ue = ie(se);
16180
16181
  function ie(xe) {
16181
16182
  return xe && xe.__esModule ? xe : { default: xe };
16182
16183
  }
@@ -17667,7 +17668,7 @@ br.exports;
17667
17668
  F[++N] = [Ne, ee];
17668
17669
  }), F;
17669
17670
  }
17670
- function Ge(b, N) {
17671
+ function Ye(b, N) {
17671
17672
  return function(F) {
17672
17673
  return b(N(F));
17673
17674
  };
@@ -17683,7 +17684,7 @@ br.exports;
17683
17684
  return b ? "Symbol(src)_1." + b : "";
17684
17685
  }(), xe = te.toString, Oe = se.hasOwnProperty, Se = se.toString, tt = RegExp(
17685
17686
  "^" + xe.call(Oe).replace(K, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
17686
- ), We = D ? j.Buffer : void 0, je = j.Symbol, At = j.Uint8Array, De = Ge(Object.getPrototypeOf, Object), ft = Object.create, en = se.propertyIsEnumerable, kn = Q.splice, tn = Object.getOwnPropertySymbols, Fe = We ? We.isBuffer : void 0, Wt = Ge(Object.keys, Object), Nt = St(j, "DataView"), Ft = St(j, "Map"), lt = St(j, "Promise"), It = St(j, "Set"), ht = St(j, "WeakMap"), Ht = St(Object, "create"), nn = pt(Nt), I = pt(Ft), L = pt(lt), z = pt(It), X = pt(ht), le = je ? je.prototype : void 0, de = le ? le.valueOf : void 0;
17687
+ ), We = D ? j.Buffer : void 0, je = j.Symbol, At = j.Uint8Array, De = Ye(Object.getPrototypeOf, Object), ft = Object.create, en = se.propertyIsEnumerable, kn = Q.splice, tn = Object.getOwnPropertySymbols, He = We ? We.isBuffer : void 0, Wt = Ye(Object.keys, Object), Nt = St(j, "DataView"), Ft = St(j, "Map"), lt = St(j, "Promise"), It = St(j, "Set"), ht = St(j, "WeakMap"), Ht = St(Object, "create"), nn = pt(Nt), I = pt(Ft), L = pt(lt), z = pt(It), X = pt(ht), le = je ? je.prototype : void 0, de = le ? le.valueOf : void 0;
17687
17688
  function Ce(b) {
17688
17689
  var N = -1, F = b ? b.length : 0;
17689
17690
  for (this.clear(); ++N < F; ) {
@@ -17826,18 +17827,18 @@ br.exports;
17826
17827
  if (Be = Kr(b), !N)
17827
17828
  return Vr(b, Be);
17828
17829
  } else {
17829
- var He = zt(b), ut = He == h || He == c;
17830
+ var Ve = zt(b), ut = Ve == h || Ve == c;
17830
17831
  if (tr(b))
17831
17832
  return pn(b, N);
17832
- if (He == _ || He == r || ut && !ye) {
17833
+ if (Ve == _ || Ve == r || ut && !ye) {
17833
17834
  if (Ie(b))
17834
17835
  return ye ? b : {};
17835
17836
  if (Be = Dt(ut ? {} : b), !N)
17836
17837
  return Ur(b, Pt(Be, b));
17837
17838
  } else {
17838
- if (!R[He])
17839
+ if (!R[Ve])
17839
17840
  return ye ? b : {};
17840
- Be = Gr(b, He, In, N);
17841
+ Be = Gr(b, Ve, In, N);
17841
17842
  }
17842
17843
  }
17843
17844
  Le || (Le = new st());
@@ -17935,7 +17936,7 @@ br.exports;
17935
17936
  var F = Ee(b, N);
17936
17937
  return Br(F) ? F : void 0;
17937
17938
  }
17938
- var Ut = tn ? Ge(tn, Object) : Xr, zt = Rr;
17939
+ var Ut = tn ? Ye(tn, Object) : Xr, zt = Rr;
17939
17940
  (Nt && zt(new Nt(new ArrayBuffer(1))) != x || Ft && zt(new Ft()) != s || lt && zt(lt.resolve()) != v || It && zt(new It()) != g || ht && zt(new ht()) != p) && (zt = function(b) {
17940
17941
  var N = Se.call(b), F = N == _ ? b.constructor : void 0, ee = F ? pt(F) : void 0;
17941
17942
  if (ee)
@@ -18036,7 +18037,7 @@ br.exports;
18036
18037
  function Jr(b) {
18037
18038
  return rr(b) && mn(b);
18038
18039
  }
18039
- var tr = Fe || Qr;
18040
+ var tr = He || Qr;
18040
18041
  function Ln(b) {
18041
18042
  var N = Lt(b) ? Se.call(b) : "";
18042
18043
  return N == h || N == c;
@@ -18080,7 +18081,7 @@ _r.exports;
18080
18081
  }
18081
18082
  return ye;
18082
18083
  }
18083
- function Ge(b, N) {
18084
+ function Ye(b, N) {
18084
18085
  for (var F = -1, ee = N.length, Ne = b.length; ++F < ee; )
18085
18086
  b[Ne + F] = N[F];
18086
18087
  return b;
@@ -18129,7 +18130,7 @@ _r.exports;
18129
18130
  return b ? "Symbol(src)_1." + b : "";
18130
18131
  }(), en = We.toString, kn = RegExp(
18131
18132
  "^" + At.call(De).replace(B, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
18132
- ), tn = fe ? Z.Buffer : void 0, Fe = Z.Symbol, Wt = Z.Uint8Array, Nt = We.propertyIsEnumerable, Ft = Se.splice, lt = Fe ? Fe.toStringTag : void 0, It = Object.getOwnPropertySymbols, ht = tn ? tn.isBuffer : void 0, Ht = xe(Object.keys, Object), nn = Ut(Z, "DataView"), I = Ut(Z, "Map"), L = Ut(Z, "Promise"), z = Ut(Z, "Set"), X = Ut(Z, "WeakMap"), le = Ut(Object, "create"), de = pt(nn), Ce = pt(I), me = pt(L), Me = pt(z), pe = pt(X), ke = Fe ? Fe.prototype : void 0, Re = ke ? ke.valueOf : void 0;
18133
+ ), tn = fe ? Z.Buffer : void 0, He = Z.Symbol, Wt = Z.Uint8Array, Nt = We.propertyIsEnumerable, Ft = Se.splice, lt = He ? He.toStringTag : void 0, It = Object.getOwnPropertySymbols, ht = tn ? tn.isBuffer : void 0, Ht = xe(Object.keys, Object), nn = Ut(Z, "DataView"), I = Ut(Z, "Map"), L = Ut(Z, "Promise"), z = Ut(Z, "Set"), X = Ut(Z, "WeakMap"), le = Ut(Object, "create"), de = pt(nn), Ce = pt(I), me = pt(L), Me = pt(z), pe = pt(X), ke = He ? He.prototype : void 0, Re = ke ? ke.valueOf : void 0;
18133
18134
  function Ue(b) {
18134
18135
  var N = -1, F = b == null ? 0 : b.length;
18135
18136
  for (this.clear(); ++N < F; ) {
@@ -18261,12 +18262,12 @@ _r.exports;
18261
18262
  Pt.prototype.clear = In, Pt.prototype.delete = Dr, Pt.prototype.get = Lr, Pt.prototype.has = Rr, Pt.prototype.set = Br;
18262
18263
  function jr(b, N) {
18263
18264
  var F = gn(b), ee = !F && er(b), Ne = !F && !ee && mn(b), ye = !F && !ee && !Ne && rr(b), Le = F || ee || Ne || ye, Be = Le ? Q(b.length, String) : [], Ze = Be.length;
18264
- for (var He in b)
18265
- (N || De.call(b, He)) && !(Le && // Safari 9 has enumerable `arguments.length` in strict mode.
18266
- (He == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
18267
- Ne && (He == "offset" || He == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
18268
- ye && (He == "buffer" || He == "byteLength" || He == "byteOffset") || // Skip index properties.
18269
- Gr(He, Ze))) && Be.push(He);
18265
+ for (var Ve in b)
18266
+ (N || De.call(b, Ve)) && !(Le && // Safari 9 has enumerable `arguments.length` in strict mode.
18267
+ (Ve == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
18268
+ Ne && (Ve == "offset" || Ve == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
18269
+ ye && (Ve == "buffer" || Ve == "byteLength" || Ve == "byteOffset") || // Skip index properties.
18270
+ Gr(Ve, Ze))) && Be.push(Ve);
18270
18271
  return Be;
18271
18272
  }
18272
18273
  function pn(b, N) {
@@ -18277,7 +18278,7 @@ _r.exports;
18277
18278
  }
18278
18279
  function Mn(b, N, F) {
18279
18280
  var ee = N(b);
18280
- return gn(b) ? ee : Ge(ee, F(b));
18281
+ return gn(b) ? ee : Ye(ee, F(b));
18281
18282
  }
18282
18283
  function on(b) {
18283
18284
  return b == null ? b === void 0 ? M : g : lt && lt in Object(b) ? zt(b) : Xn(b);
@@ -18289,9 +18290,9 @@ _r.exports;
18289
18290
  return b === N ? !0 : b == null || N == null || !Lt(b) && !Lt(N) ? b !== b && N !== N : qr(b, N, F, ee, Jn, Ne);
18290
18291
  }
18291
18292
  function qr(b, N, F, ee, Ne, ye) {
18292
- var Le = gn(b), Be = gn(N), Ze = Le ? d : Dt(b), He = Be ? d : Dt(N);
18293
- Ze = Ze == a ? m : Ze, He = He == a ? m : He;
18294
- var ut = Ze == m, yt = He == m, Qe = Ze == He;
18293
+ var Le = gn(b), Be = gn(N), Ze = Le ? d : Dt(b), Ve = Be ? d : Dt(N);
18294
+ Ze = Ze == a ? m : Ze, Ve = Ve == a ? m : Ve;
18295
+ var ut = Ze == m, yt = Ve == m, Qe = Ze == Ve;
18295
18296
  if (Qe && mn(b)) {
18296
18297
  if (!mn(N))
18297
18298
  return !1;
@@ -18329,9 +18330,9 @@ _r.exports;
18329
18330
  var Le = F & o, Be = b.length, Ze = N.length;
18330
18331
  if (Be != Ze && !(Le && Ze > Be))
18331
18332
  return !1;
18332
- var He = ye.get(b);
18333
- if (He && ye.get(N))
18334
- return He == N;
18333
+ var Ve = ye.get(b);
18334
+ if (Ve && ye.get(N))
18335
+ return Ve == N;
18335
18336
  var ut = -1, yt = !0, Qe = F & r ? new fn() : void 0;
18336
18337
  for (ye.set(b, N), ye.set(N, b); ++ut < Be; ) {
18337
18338
  var dt = b[ut], ot = N[ut];
@@ -18381,9 +18382,9 @@ _r.exports;
18381
18382
  var Ze = ee & o;
18382
18383
  if (Be || (Be = Oe), b.size != N.size && !Ze)
18383
18384
  return !1;
18384
- var He = Le.get(b);
18385
- if (He)
18386
- return He == N;
18385
+ var Ve = Le.get(b);
18386
+ if (Ve)
18387
+ return Ve == N;
18387
18388
  ee |= r, Le.set(b, N);
18388
18389
  var ut = Pn(Be(b), Be(N), ee, Ne, ye, Le);
18389
18390
  return Le.delete(b), ut;
@@ -18394,7 +18395,7 @@ _r.exports;
18394
18395
  return !1;
18395
18396
  }
18396
18397
  function zr(b, N, F, ee, Ne, ye) {
18397
- var Le = F & o, Be = an(b), Ze = Be.length, He = an(N), ut = He.length;
18398
+ var Le = F & o, Be = an(b), Ze = Be.length, Ve = an(N), ut = Ve.length;
18398
18399
  if (Ze != ut && !Le)
18399
18400
  return !1;
18400
18401
  for (var yt = Ze; yt--; ) {
@@ -19350,17 +19351,17 @@ function Sh(t, n, e, i, o, r) {
19350
19351
  class: "error-message"
19351
19352
  }, {
19352
19353
  default: be(() => [
19353
- Ke(we(e.errorMessage), 1)
19354
+ Ge(we(e.errorMessage), 1)
19354
19355
  ]),
19355
19356
  _: 1
19356
19357
  })) : he("", !0),
19357
- Ve(ge(a, { class: "error-message" }, {
19358
+ Fe(ge(a, { class: "error-message" }, {
19358
19359
  default: be(() => [
19359
- Ke(we(e.characterLimitErrorMessage), 1)
19360
+ Ge(we(e.characterLimitErrorMessage), 1)
19360
19361
  ]),
19361
19362
  _: 1
19362
19363
  }, 512), [
19363
- [Ye, e.characterLimitErrorMessage.length && r.characterOverLimit]
19364
+ [Ke, e.characterLimitErrorMessage.length && r.characterOverLimit]
19364
19365
  ]),
19365
19366
  ae("div", {
19366
19367
  class: ve(["ib-text-editor-wrapper", { disable: e.disable }])