@leaflink/stash 50.12.0 → 50.12.2

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.
Files changed (155) hide show
  1. package/dist/Accordion.js +14 -14
  2. package/dist/ActionsDropdown.js +2 -2
  3. package/dist/AddressSelect.js +2 -2
  4. package/dist/Alert.js +6 -6
  5. package/dist/AppNavigationItem.js +8 -8
  6. package/dist/AppSidebar.js +8 -8
  7. package/dist/AppTopbar.js +3 -3
  8. package/dist/Avatar.js +3 -3
  9. package/dist/Backdrop.js +2 -2
  10. package/dist/Badge.js +2 -2
  11. package/dist/Box.js +1 -1
  12. package/dist/{Box.vue_vue_type_script_setup_true_lang-DgJHq-09.js → Box.vue_vue_type_script_setup_true_lang-rFnvwLVY.js} +3 -3
  13. package/dist/{Box.vue_vue_type_script_setup_true_lang-DgJHq-09.js.map → Box.vue_vue_type_script_setup_true_lang-rFnvwLVY.js.map} +1 -1
  14. package/dist/Button.js +3 -3
  15. package/dist/ButtonGroup.js +4 -4
  16. package/dist/Card.js +7 -7
  17. package/dist/CardContent.js +2 -2
  18. package/dist/CardFooter.js +2 -2
  19. package/dist/CardHeader.js +4 -4
  20. package/dist/CardMedia.js +6 -6
  21. package/dist/Carousel.js +33 -33
  22. package/dist/Carousel.js.map +1 -1
  23. package/dist/Checkbox.js +7 -7
  24. package/dist/ChevronToggle.js +1 -1
  25. package/dist/{ChevronToggle.vue_vue_type_script_setup_true_lang-DuvluoTi.js → ChevronToggle.vue_vue_type_script_setup_true_lang-Ce_qOXfR.js} +3 -3
  26. package/dist/{ChevronToggle.vue_vue_type_script_setup_true_lang-DuvluoTi.js.map → ChevronToggle.vue_vue_type_script_setup_true_lang-Ce_qOXfR.js.map} +1 -1
  27. package/dist/Chip.js +7 -7
  28. package/dist/ConfirmationCodeInput.js +6 -6
  29. package/dist/ContextSwitcher.js +1 -1
  30. package/dist/Copy.js +1 -1
  31. package/dist/CurrencyInput.js +115 -111
  32. package/dist/CurrencyInput.js.map +1 -1
  33. package/dist/DataView.js +3 -3
  34. package/dist/DataView.keys-aSOnA4AD.js.map +1 -1
  35. package/dist/DataViewFilters.js +3 -3
  36. package/dist/DataViewSortButton.js +10 -10
  37. package/dist/DataViewToolbar.js +1 -1
  38. package/dist/DatePicker.js +1080 -1037
  39. package/dist/DatePicker.js.map +1 -1
  40. package/dist/DescriptionList.js +2 -2
  41. package/dist/DescriptionListDetail.js +2 -2
  42. package/dist/DescriptionListGroup.js +2 -2
  43. package/dist/DescriptionListTerm.js +3 -3
  44. package/dist/Dialog.js +1 -1
  45. package/dist/Divider.js +2 -2
  46. package/dist/Dropdown.js +9 -9
  47. package/dist/EmptyState.js +2 -2
  48. package/dist/Expand.js +1 -1
  49. package/dist/{Expand.vue_vue_type_script_setup_true_lang-D0fSAtHr.js → Expand.vue_vue_type_script_setup_true_lang-CiONJfAp.js} +5 -5
  50. package/dist/{Expand.vue_vue_type_script_setup_true_lang-D0fSAtHr.js.map → Expand.vue_vue_type_script_setup_true_lang-CiONJfAp.js.map} +1 -1
  51. package/dist/Field.js +1 -1
  52. package/dist/{Field.vue_vue_type_script_setup_true_lang-DEizIcDo.js → Field.vue_vue_type_script_setup_true_lang-DRaKs9Lm.js} +6 -6
  53. package/dist/{Field.vue_vue_type_script_setup_true_lang-DEizIcDo.js.map → Field.vue_vue_type_script_setup_true_lang-DRaKs9Lm.js.map} +1 -1
  54. package/dist/FileUpload.js +7 -7
  55. package/dist/FilterChip.js +1 -1
  56. package/dist/FilterDrawerItem.js +9 -9
  57. package/dist/FilterDropdown.js +1 -1
  58. package/dist/FilterSelect.js +4 -4
  59. package/dist/Filters.js +18 -18
  60. package/dist/HttpError.js +9 -9
  61. package/dist/Icon.js +2 -2
  62. package/dist/IconLabel.js +2 -2
  63. package/dist/Illustration.js +2 -2
  64. package/dist/{Illustration.vue_vue_type_script_setup_true_lang-CYddAFtS.js → Illustration.vue_vue_type_script_setup_true_lang-BBqgoJO8.js} +3 -3
  65. package/dist/{Illustration.vue_vue_type_script_setup_true_lang-CYddAFtS.js.map → Illustration.vue_vue_type_script_setup_true_lang-BBqgoJO8.js.map} +1 -1
  66. package/dist/Image.js +2 -2
  67. package/dist/{Image.vue_vue_type_script_setup_true_lang-YUNunj71.js → Image.vue_vue_type_script_setup_true_lang-D5u4av0_.js} +3 -3
  68. package/dist/{Image.vue_vue_type_script_setup_true_lang-YUNunj71.js.map → Image.vue_vue_type_script_setup_true_lang-D5u4av0_.js.map} +1 -1
  69. package/dist/InlineEdit.js +5 -5
  70. package/dist/Input.js +2 -2
  71. package/dist/InputOptions.js +2 -2
  72. package/dist/IntegrationIcon.js +2 -2
  73. package/dist/Label.js +1 -1
  74. package/dist/{Label.vue_vue_type_script_setup_true_lang-C4JKdqvC.js → Label.vue_vue_type_script_setup_true_lang-DPnNUfc6.js} +3 -3
  75. package/dist/{Label.vue_vue_type_script_setup_true_lang-C4JKdqvC.js.map → Label.vue_vue_type_script_setup_true_lang-DPnNUfc6.js.map} +1 -1
  76. package/dist/LicenseChip.js +2 -2
  77. package/dist/ListItem.js +1 -1
  78. package/dist/ListItemCell.js +2 -2
  79. package/dist/ListView.js +11 -11
  80. package/dist/Loading.js +2 -2
  81. package/dist/Logo.js +1 -1
  82. package/dist/{Logo.vue_vue_type_script_setup_true_lang-BfUU9J9O.js → Logo.vue_vue_type_script_setup_true_lang-Dz8c98sc.js} +4 -4
  83. package/dist/{Logo.vue_vue_type_script_setup_true_lang-BfUU9J9O.js.map → Logo.vue_vue_type_script_setup_true_lang-Dz8c98sc.js.map} +1 -1
  84. package/dist/Menu.js +2 -2
  85. package/dist/MenuItem.js +2 -2
  86. package/dist/Metric.js +5 -5
  87. package/dist/Modal.js +20 -20
  88. package/dist/Modals.js +6 -6
  89. package/dist/Module.js +3 -3
  90. package/dist/ModuleContent.js +3 -3
  91. package/dist/ModuleFooter.js +2 -2
  92. package/dist/ModuleHeader.js +2 -2
  93. package/dist/ModuleHeader.js.map +1 -1
  94. package/dist/ObfuscateText.js +7 -7
  95. package/dist/PageContent.js +3 -3
  96. package/dist/PageHeader.js +6 -6
  97. package/dist/PageNavigation.js +1 -1
  98. package/dist/Paginate.js +6 -6
  99. package/dist/PlaidLink.js +2 -2
  100. package/dist/QuickAction.js +2 -2
  101. package/dist/Radio.js +2 -2
  102. package/dist/RadioGroup.js +2 -2
  103. package/dist/RadioNew.js +1 -1
  104. package/dist/RangeInput.js +2 -2
  105. package/dist/SearchBar.js +3 -3
  106. package/dist/Select.js +4 -4
  107. package/dist/Select.js.map +1 -1
  108. package/dist/SelectStatus.js +7 -7
  109. package/dist/Skeleton.js +4 -4
  110. package/dist/Step.js +6 -6
  111. package/dist/Stepper.js +9 -9
  112. package/dist/Switch.js +7 -7
  113. package/dist/Tab.js +4 -4
  114. package/dist/TabPanel.js +2 -2
  115. package/dist/Table.js +1 -1
  116. package/dist/TableCell.js +5 -5
  117. package/dist/TableHeaderCell.js +2 -2
  118. package/dist/TableHeaderRow.js +4 -4
  119. package/dist/TableRow.js +4 -4
  120. package/dist/TableRow.js.map +1 -1
  121. package/dist/TableRow.vue.d.ts +12 -8
  122. package/dist/Tabs.js +2 -2
  123. package/dist/{Tabs.vue_vue_type_script_setup_true_lang-NZm1OrRT.js → Tabs.vue_vue_type_script_setup_true_lang-CmnBP4i1.js} +4 -4
  124. package/dist/{Tabs.vue_vue_type_script_setup_true_lang-NZm1OrRT.js.map → Tabs.vue_vue_type_script_setup_true_lang-CmnBP4i1.js.map} +1 -1
  125. package/dist/TextEditor.js +3313 -3291
  126. package/dist/TextEditor.js.map +1 -1
  127. package/dist/Textarea.js +3 -3
  128. package/dist/Thumbnail.js +7 -7
  129. package/dist/Thumbnail.js.map +1 -1
  130. package/dist/ThumbnailEmpty.js +3 -3
  131. package/dist/ThumbnailGroup.js +6 -6
  132. package/dist/ThumbnailGroup.js.map +1 -1
  133. package/dist/{ThumbnailGroup.keys-D6WL5xQ5.js → ThumbnailGroup.keys-EJ4qFNhx.js} +2 -2
  134. package/dist/{ThumbnailGroup.keys-D6WL5xQ5.js.map → ThumbnailGroup.keys-EJ4qFNhx.js.map} +1 -1
  135. package/dist/Timeline.js +2 -2
  136. package/dist/TimelineItem.js +3 -3
  137. package/dist/Toast.js +277 -280
  138. package/dist/Toast.js.map +1 -1
  139. package/dist/Toasts.js +1 -1
  140. package/dist/Tooltip.js +1 -1
  141. package/dist/components.css +1 -1
  142. package/dist/{formatDateTime-C8CYECpd.js → formatDateTime-Dz8bXV0R.js} +98 -12
  143. package/dist/{formatDateTime-C8CYECpd.js.map → formatDateTime-Dz8bXV0R.js.map} +1 -1
  144. package/dist/index.js +2 -2
  145. package/dist/searchFuzzy-DRasJ33G.js +409 -0
  146. package/dist/{searchFuzzy-DKooyZM8.js.map → searchFuzzy-DRasJ33G.js.map} +1 -1
  147. package/dist/storage.js +3 -3
  148. package/dist/{toTimeZone-CVE1ZmsS.js → toTimeZone-Coq1oPTt.js} +7 -9
  149. package/dist/{toTimeZone-CVE1ZmsS.js.map → toTimeZone-Coq1oPTt.js.map} +1 -1
  150. package/dist/useSearch.js +1 -1
  151. package/dist/utils/formatDateTime.js +2 -2
  152. package/dist/utils/searchFuzzy.js +1 -1
  153. package/dist/utils/toTimeZone.js +1 -1
  154. package/package.json +16 -16
  155. package/dist/searchFuzzy-DKooyZM8.js +0 -407
package/dist/Chip.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as f, useCssModule as b, openBlock as r, createElementBlock as d, normalizeClass as n, unref as a, renderSlot as u, withKeys as v, withModifiers as m, createVNode as _, createCommentVNode as w } from "vue";
1
+ import { defineComponent as f, useCssModule as b, createElementBlock as r, openBlock as d, normalizeClass as n, unref as a, renderSlot as u, createCommentVNode as v, withModifiers as m, withKeys as _, createVNode as w } from "vue";
2
2
  import C from "./utils/colorScheme.js";
3
3
  import y from "./Icon.js";
4
4
  import { _ as $ } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -32,7 +32,7 @@ const z = ["disabled"], k = /* @__PURE__ */ f({
32
32
  "tw-bg-ice-500 tw-text-white": e.disabled
33
33
  };
34
34
  }
35
- return (o, t) => (r(), d("span", {
35
+ return (o, t) => (d(), r("span", {
36
36
  class: n(["stash-chip tw-relative tw-inline-flex tw-items-center", [
37
37
  `stash-chip--radius-${e.radius}`,
38
38
  `stash-chip--size-${e.size}`,
@@ -45,27 +45,27 @@ const z = ["disabled"], k = /* @__PURE__ */ f({
45
45
  "data-test": "stash-chip",
46
46
  onClick: t[2] || (t[2] = (l) => i("click"))
47
47
  }, [
48
- o.isRemovable ? (r(), d("span", {
48
+ o.isRemovable ? (d(), r("span", {
49
49
  key: 0,
50
50
  class: n([{ "tw-mr-6 tw-truncate": e.isRemovable }])
51
51
  }, [
52
52
  u(o.$slots, "default")
53
53
  ], 2)) : u(o.$slots, "default", { key: 1 }),
54
- e.isRemovable ? (r(), d("button", {
54
+ e.isRemovable ? (d(), r("button", {
55
55
  key: 2,
56
56
  tabindex: "-1",
57
57
  class: n(["stash-chip__remove-button", ["tw-absolute", a(s)["remove-button"]]]),
58
58
  "data-test": "stash-chip|remove-button",
59
59
  disabled: e.disabled,
60
- onKeypress: t[0] || (t[0] = v(m((l) => i("remove"), ["prevent"]), ["enter"])),
60
+ onKeypress: t[0] || (t[0] = _(m((l) => i("remove"), ["prevent"]), ["enter"])),
61
61
  onMousedown: t[1] || (t[1] = m((l) => i("remove"), ["prevent", "stop"]))
62
62
  }, [
63
- _(y, {
63
+ w(y, {
64
64
  "data-test": "icon|close",
65
65
  name: "close",
66
66
  size: "small"
67
67
  })
68
- ], 42, z)) : w("", !0)
68
+ ], 42, z)) : v("", !0)
69
69
  ], 2));
70
70
  }
71
71
  }), x = "_root_1u8h2_2", g = {
@@ -1,4 +1,4 @@
1
- import { defineComponent as I, useCssVars as v, useCssModule as E, ref as V, onMounted as B, watch as P, openBlock as a, createElementBlock as r, normalizeClass as x, unref as l, createElementVNode as z, Fragment as A, renderList as M, toDisplayString as p, createCommentVNode as f } from "vue";
1
+ import { defineComponent as I, useCssVars as v, useCssModule as E, ref as V, onMounted as B, watch as P, createElementBlock as a, openBlock as r, normalizeClass as x, unref as l, createElementVNode as z, createCommentVNode as p, Fragment as A, renderList as M, toDisplayString as f } from "vue";
2
2
  import { _ as F } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
3
  const K = { class: "tw-mb-3 tw-flex tw-gap-6" }, S = ["value", "onInput"], U = {
4
4
  key: 0,
@@ -103,12 +103,12 @@ const K = { class: "tw-mb-3 tw-flex tw-gap-6" }, S = ["value", "onInput"], U = {
103
103
  (t) => {
104
104
  s.value = t ? t.split("") : new Array(o.digitCount);
105
105
  }
106
- ), (t, e) => (a(), r("div", {
106
+ ), (t, e) => (r(), a("div", {
107
107
  class: x(["stash-confirmation-code-input tw-inline-block", [l(c)["stash-confirmation-code-input-container"]]]),
108
108
  "data-test": "stash-confirmation-code-input"
109
109
  }, [
110
110
  z("div", K, [
111
- (a(!0), r(A, null, M(o.digitCount, (n) => (a(), r("input", {
111
+ (r(!0), a(A, null, M(o.digitCount, (n) => (r(), a("input", {
112
112
  key: n,
113
113
  "data-test": "stash-confirmation-code-input__otp",
114
114
  class: x(["tw-border tw-bg-white tw-p-2 tw-text-center tw-text-base tw-font-medium tw-text-ice-900 focus:tw-border-blue-500", [
@@ -129,9 +129,9 @@ const K = { class: "tw-mb-3 tw-flex tw-gap-6" }, S = ["value", "onInput"], U = {
129
129
  onBlur: y
130
130
  }, null, 42, S))), 128))
131
131
  ]),
132
- o.errorText ? (a(), r("small", U, p(o.errorText), 1)) : f("", !0),
133
- o.successText ? (a(), r("small", j, p(o.successText), 1)) : f("", !0),
134
- o.hintText ? (a(), r("small", L, p(o.hintText), 1)) : f("", !0)
132
+ o.errorText ? (r(), a("small", U, f(o.errorText), 1)) : p("", !0),
133
+ o.successText ? (r(), a("small", j, f(o.successText), 1)) : p("", !0),
134
+ o.hintText ? (r(), a("small", L, f(o.hintText), 1)) : p("", !0)
135
135
  ], 2));
136
136
  }
137
137
  }), $ = {
@@ -1,4 +1,4 @@
1
- import { defineComponent as _, computed as C, resolveComponent as g, openBlock as s, createElementBlock as l, Fragment as u, renderList as x, normalizeClass as d, toDisplayString as f, createBlock as E, withCtx as S, createTextVNode as b } from "vue";
1
+ import { defineComponent as _, computed as C, resolveComponent as g, createElementBlock as l, openBlock as s, Fragment as u, renderList as x, createBlock as E, normalizeClass as d, toDisplayString as f, withCtx as S, createTextVNode as b } from "vue";
2
2
  import { APPS as a } from "./constants.js";
3
3
  import { setPersistentItem as T, getPersistentItem as v, removePersistentItem as R } from "./utils/storage.js";
4
4
  const N = {
package/dist/Copy.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as m, useCssModule as _, ref as f, computed as h, openBlock as e, createElementBlock as p, normalizeClass as i, unref as s, renderSlot as v, withDirectives as x, createBlock as c, withCtx as C, createTextVNode as k, toDisplayString as w } from "vue";
1
+ import { defineComponent as m, useCssModule as _, ref as f, computed as h, createElementBlock as p, openBlock as e, normalizeClass as i, unref as s, renderSlot as v, withDirectives as x, createBlock as c, withCtx as C, createTextVNode as k, toDisplayString as w } from "vue";
2
2
  import { UI_TIMEOUT as T } from "./constants.js";
3
3
  import b from "./directives/tooltip.js";
4
4
  import { t as n } from "./locale.js";
@@ -1,47 +1,47 @@
1
- import { ref as V, getCurrentInstance as P, version as C, computed as E, watch as x, defineComponent as $, useAttrs as A, openBlock as L, createBlock as T, mergeProps as G, withCtx as w, createVNode as k } from "vue";
2
- import B from "lodash-es/isEmpty";
3
- import W from "./Icon.js";
4
- import z from "./Input.js";
1
+ import { ref as D, getCurrentInstance as R, version as P, computed as O, watch as S, defineComponent as C, useAttrs as M, createBlock as $, openBlock as A, mergeProps as L, withCtx as T, createVNode as G } from "vue";
2
+ import w from "lodash-es/isEmpty";
3
+ import k from "./Icon.js";
4
+ import B from "./Input.js";
5
5
  /**
6
6
  * Vue Currency Input 3.1.0
7
7
  * (c) 2018-2024 Matthias Stiller
8
8
  * @license MIT
9
9
  */
10
+ var y;
11
+ (function(r) {
12
+ r.symbol = "symbol", r.narrowSymbol = "narrowSymbol", r.code = "code", r.name = "name", r.hidden = "hidden";
13
+ })(y || (y = {}));
10
14
  var v;
11
- (function(s) {
12
- s.symbol = "symbol", s.narrowSymbol = "narrowSymbol", s.code = "code", s.name = "name", s.hidden = "hidden";
15
+ (function(r) {
16
+ r.precision = "precision", r.thousands = "thousands", r.millions = "millions", r.billions = "billions";
13
17
  })(v || (v = {}));
14
- var F;
15
- (function(s) {
16
- s.precision = "precision", s.thousands = "thousands", s.millions = "millions", s.billions = "billions";
17
- })(F || (F = {}));
18
- const D = (s) => s.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), N = (s) => s.replace(/^0+(0$|[^0])/, "$1"), O = (s, i) => (s.match(new RegExp(D(i), "g")) || []).length, j = (s, i) => s.substring(0, s.indexOf(i)), R = [
18
+ const x = (r) => r.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), I = (r) => r.replace(/^0+(0$|[^0])/, "$1"), V = (r, i) => (r.match(new RegExp(x(i), "g")) || []).length, W = (r, i) => r.substring(0, r.indexOf(i)), _ = [
19
19
  ",",
20
20
  ".",
21
21
  "٫",
22
22
  "。"
23
- ], _ = "(0|[1-9]\\d*)";
24
- class X {
23
+ ], E = "(0|[1-9]\\d*)";
24
+ class z {
25
25
  constructor(i) {
26
- var t, e, n, d, a, c;
27
- const { currency: m, currencyDisplay: p, locale: r, precision: u, accountingSign: h, useGrouping: l } = i;
28
- this.locale = r, this.options = {
26
+ var t, e, n, d, a, l;
27
+ const { currency: m, currencyDisplay: g, locale: o, precision: u, accountingSign: h, useGrouping: c } = i;
28
+ this.locale = o, this.options = {
29
29
  currency: m,
30
- useGrouping: l,
30
+ useGrouping: c,
31
31
  style: "currency",
32
32
  currencySign: h ? "accounting" : void 0,
33
- currencyDisplay: p !== v.hidden ? p : void 0
33
+ currencyDisplay: g !== y.hidden ? g : void 0
34
34
  };
35
- const o = new Intl.NumberFormat(r, this.options), y = o.formatToParts(123456);
36
- this.currency = (t = y.find(({ type: g }) => g === "currency")) === null || t === void 0 ? void 0 : t.value, this.digits = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9].map((g) => g.toLocaleString(r)), this.decimalSymbol = (e = y.find(({ type: g }) => g === "decimal")) === null || e === void 0 ? void 0 : e.value, this.groupingSymbol = (n = y.find(({ type: g }) => g === "group")) === null || n === void 0 ? void 0 : n.value, this.minusSign = (d = o.formatToParts(-1).find(({ type: g }) => g === "minusSign")) === null || d === void 0 ? void 0 : d.value, this.decimalSymbol === void 0 ? this.minimumFractionDigits = this.maximumFractionDigits = 0 : typeof u == "number" ? this.minimumFractionDigits = this.maximumFractionDigits = u : (this.minimumFractionDigits = (a = u == null ? void 0 : u.min) !== null && a !== void 0 ? a : o.resolvedOptions().minimumFractionDigits, this.maximumFractionDigits = (c = u == null ? void 0 : u.max) !== null && c !== void 0 ? c : o.resolvedOptions().maximumFractionDigits);
37
- const S = (g) => j(g, this.digits[1]), f = (g) => g.substring(g.lastIndexOf(this.decimalSymbol ? this.digits[0] : this.digits[1]) + 1);
38
- this.prefix = S(o.format(1)), this.suffix = f(o.format(1)), this.negativePrefix = S(o.format(-1)), this.negativeSuffix = f(o.format(-1));
35
+ const s = new Intl.NumberFormat(o, this.options), f = s.formatToParts(123456);
36
+ this.currency = (t = f.find(({ type: p }) => p === "currency")) === null || t === void 0 ? void 0 : t.value, this.digits = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9].map((p) => p.toLocaleString(o)), this.decimalSymbol = (e = f.find(({ type: p }) => p === "decimal")) === null || e === void 0 ? void 0 : e.value, this.groupingSymbol = (n = f.find(({ type: p }) => p === "group")) === null || n === void 0 ? void 0 : n.value, this.minusSign = (d = s.formatToParts(-1).find(({ type: p }) => p === "minusSign")) === null || d === void 0 ? void 0 : d.value, this.decimalSymbol === void 0 ? this.minimumFractionDigits = this.maximumFractionDigits = 0 : typeof u == "number" ? this.minimumFractionDigits = this.maximumFractionDigits = u : (this.minimumFractionDigits = (a = u == null ? void 0 : u.min) !== null && a !== void 0 ? a : s.resolvedOptions().minimumFractionDigits, this.maximumFractionDigits = (l = u == null ? void 0 : u.max) !== null && l !== void 0 ? l : s.resolvedOptions().maximumFractionDigits);
37
+ const b = (p) => W(p, this.digits[1]), F = (p) => p.substring(p.lastIndexOf(this.decimalSymbol ? this.digits[0] : this.digits[1]) + 1);
38
+ this.prefix = b(s.format(1)), this.suffix = F(s.format(1)), this.negativePrefix = b(s.format(-1)), this.negativeSuffix = F(s.format(-1));
39
39
  }
40
40
  parse(i) {
41
41
  if (i) {
42
42
  const t = this.isNegative(i);
43
43
  i = this.normalizeDigits(i), i = this.stripCurrency(i, t), i = this.stripSignLiterals(i);
44
- const e = this.decimalSymbol ? `(?:${D(this.decimalSymbol)}(\\d*))?` : "", n = this.stripGroupingSeparator(i).match(new RegExp(`^${_}${e}$`));
44
+ const e = this.decimalSymbol ? `(?:${x(this.decimalSymbol)}(\\d*))?` : "", n = this.stripGroupingSeparator(i).match(new RegExp(`^${E}${e}$`));
45
45
  if (n && this.isValidIntegerFormat(this.decimalSymbol ? i.split(this.decimalSymbol)[0] : i, Number(n[1])))
46
46
  return +`${t ? "-" : ""}${this.onlyDigits(n[1])}.${this.onlyDigits(n[2] || "")}`;
47
47
  }
@@ -64,7 +64,7 @@ class X {
64
64
  return `${this.digits[0]}${this.decimalSymbol}${this.onlyLocaleDigits(i.substring(1)).substring(0, this.maximumFractionDigits)}`;
65
65
  }
66
66
  isFractionIncomplete(i) {
67
- return !!this.normalizeDigits(this.stripGroupingSeparator(i)).match(new RegExp(`^${_}${D(this.decimalSymbol)}$`));
67
+ return !!this.normalizeDigits(this.stripGroupingSeparator(i)).match(new RegExp(`^${E}${x(this.decimalSymbol)}$`));
68
68
  }
69
69
  isNegative(i) {
70
70
  return i.startsWith(this.negativePrefix) || this.minusSign === void 0 && (i.startsWith("(") || i.startsWith("-")) || this.minusSign !== void 0 && i.replace("-", this.minusSign).startsWith(this.minusSign);
@@ -73,7 +73,7 @@ class X {
73
73
  return `${t ? this.negativePrefix : this.prefix}${i}${t ? this.negativeSuffix : this.suffix}`;
74
74
  }
75
75
  stripGroupingSeparator(i) {
76
- return this.groupingSymbol !== void 0 ? i.replace(new RegExp(D(this.groupingSymbol), "g"), "") : i;
76
+ return this.groupingSymbol !== void 0 ? i.replace(new RegExp(x(this.groupingSymbol), "g"), "") : i;
77
77
  }
78
78
  stripSignLiterals(i) {
79
79
  return this.minusSign !== void 0 ? i.replace("-", this.minusSign).replace(this.minusSign, "") : i.replace(/[-()]/g, "");
@@ -82,7 +82,7 @@ class X {
82
82
  return i.replace(t ? this.negativePrefix : this.prefix, "").replace(t ? this.negativeSuffix : this.suffix, "");
83
83
  }
84
84
  normalizeDecimalSeparator(i, t) {
85
- return R.forEach((e) => {
85
+ return _.forEach((e) => {
86
86
  i = i.substring(0, t) + i.substring(t).replace(e, this.decimalSymbol);
87
87
  }), i;
88
88
  }
@@ -98,48 +98,48 @@ class X {
98
98
  return i.replace(new RegExp(`[^${this.digits.join("")}]*`, "g"), "");
99
99
  }
100
100
  }
101
- class M {
101
+ class N {
102
102
  constructor(i) {
103
103
  this.currencyFormat = i;
104
104
  }
105
105
  }
106
- class U extends M {
106
+ class j extends N {
107
107
  conformToMask(i, t = "") {
108
- const e = this.currencyFormat.isNegative(i), n = (o) => o === "" && e && !(this.currencyFormat.minusSign === void 0 ? t === this.currencyFormat.negativePrefix + this.currencyFormat.negativeSuffix : t === this.currencyFormat.negativePrefix), d = (o) => {
109
- if (n(o))
108
+ const e = this.currencyFormat.isNegative(i), n = (s) => s === "" && e && !(this.currencyFormat.minusSign === void 0 ? t === this.currencyFormat.negativePrefix + this.currencyFormat.negativeSuffix : t === this.currencyFormat.negativePrefix), d = (s) => {
109
+ if (n(s))
110
110
  return "";
111
111
  if (this.currencyFormat.maximumFractionDigits > 0) {
112
- if (this.currencyFormat.isFractionIncomplete(o))
113
- return o;
114
- if (o.startsWith(this.currencyFormat.decimalSymbol))
115
- return this.currencyFormat.toFraction(o);
112
+ if (this.currencyFormat.isFractionIncomplete(s))
113
+ return s;
114
+ if (s.startsWith(this.currencyFormat.decimalSymbol))
115
+ return this.currencyFormat.toFraction(s);
116
116
  }
117
117
  return null;
118
118
  };
119
119
  let a = i;
120
120
  a = this.currencyFormat.stripCurrency(a, e), a = this.currencyFormat.stripSignLiterals(a);
121
- const c = d(a);
122
- if (c != null)
123
- return this.currencyFormat.insertCurrency(c, e);
124
- const [m, ...p] = a.split(this.currencyFormat.decimalSymbol), r = N(this.currencyFormat.onlyDigits(m)), u = this.currencyFormat.onlyDigits(p.join("")).substring(0, this.currencyFormat.maximumFractionDigits), h = p.length > 0 && u.length === 0, l = r === "" && e && (this.currencyFormat.minusSign === void 0 ? t === i.slice(0, -2) + this.currencyFormat.negativeSuffix : t === i.slice(0, -1));
125
- return h || l || n(r) ? t : r.match(/\d+/) ? {
126
- numberValue: +`${e ? "-" : ""}${r}.${u}`,
121
+ const l = d(a);
122
+ if (l != null)
123
+ return this.currencyFormat.insertCurrency(l, e);
124
+ const [m, ...g] = a.split(this.currencyFormat.decimalSymbol), o = I(this.currencyFormat.onlyDigits(m)), u = this.currencyFormat.onlyDigits(g.join("")).substring(0, this.currencyFormat.maximumFractionDigits), h = g.length > 0 && u.length === 0, c = o === "" && e && (this.currencyFormat.minusSign === void 0 ? t === i.slice(0, -2) + this.currencyFormat.negativeSuffix : t === i.slice(0, -1));
125
+ return h || c || n(o) ? t : o.match(/\d+/) ? {
126
+ numberValue: +`${e ? "-" : ""}${o}.${u}`,
127
127
  fractionDigits: u
128
128
  } : "";
129
129
  }
130
130
  }
131
- class q extends M {
131
+ class X extends N {
132
132
  conformToMask(i, t = "") {
133
133
  if (i === "" || this.currencyFormat.parse(t) === 0 && this.currencyFormat.stripCurrency(t, !0).slice(0, -1) === this.currencyFormat.stripCurrency(i, !0))
134
134
  return "";
135
- const e = this.currencyFormat.isNegative(i), n = this.currencyFormat.stripSignLiterals(i) === "" ? -0 : +`${e ? "-" : ""}${N(this.currencyFormat.onlyDigits(i))}` / Math.pow(10, this.currencyFormat.maximumFractionDigits);
135
+ const e = this.currencyFormat.isNegative(i), n = this.currencyFormat.stripSignLiterals(i) === "" ? -0 : +`${e ? "-" : ""}${I(this.currencyFormat.onlyDigits(i))}` / Math.pow(10, this.currencyFormat.maximumFractionDigits);
136
136
  return {
137
137
  numberValue: n,
138
138
  fractionDigits: n.toFixed(this.currencyFormat.maximumFractionDigits).slice(-this.currencyFormat.maximumFractionDigits)
139
139
  };
140
140
  }
141
141
  }
142
- const Y = {
142
+ const U = {
143
143
  locale: void 0,
144
144
  currency: void 0,
145
145
  currencyDisplay: void 0,
@@ -152,7 +152,7 @@ const Y = {
152
152
  useGrouping: void 0,
153
153
  valueScaling: void 0
154
154
  };
155
- class Z {
155
+ class q {
156
156
  constructor(i) {
157
157
  this.el = i.el, this.onInput = i.onInput, this.onChange = i.onChange, this.addEventListener(), this.init(i.options);
158
158
  }
@@ -168,16 +168,16 @@ class Z {
168
168
  }
169
169
  init(i) {
170
170
  this.options = {
171
- ...Y,
171
+ ...U,
172
172
  ...i
173
- }, this.options.autoDecimalDigits && (this.options.hideNegligibleDecimalDigitsOnFocus = !1), this.el.getAttribute("inputmode") || this.el.setAttribute("inputmode", this.options.autoDecimalDigits ? "numeric" : "decimal"), this.currencyFormat = new X(this.options), this.numberMask = this.options.autoDecimalDigits ? new q(this.currencyFormat) : new U(this.currencyFormat);
173
+ }, this.options.autoDecimalDigits && (this.options.hideNegligibleDecimalDigitsOnFocus = !1), this.el.getAttribute("inputmode") || this.el.setAttribute("inputmode", this.options.autoDecimalDigits ? "numeric" : "decimal"), this.currencyFormat = new z(this.options), this.numberMask = this.options.autoDecimalDigits ? new X(this.currencyFormat) : new j(this.currencyFormat);
174
174
  const t = {
175
- [F.precision]: this.currencyFormat.maximumFractionDigits,
176
- [F.thousands]: 3,
177
- [F.millions]: 6,
178
- [F.billions]: 9
175
+ [v.precision]: this.currencyFormat.maximumFractionDigits,
176
+ [v.thousands]: 3,
177
+ [v.millions]: 6,
178
+ [v.billions]: 9
179
179
  };
180
- this.valueScaling = this.options.valueScaling ? t[this.options.valueScaling] : void 0, this.valueScalingFractionDigits = this.valueScaling !== void 0 && this.options.valueScaling !== F.precision ? this.valueScaling + this.currencyFormat.maximumFractionDigits : this.currencyFormat.maximumFractionDigits, this.minValue = this.getMinValue(), this.maxValue = this.getMaxValue();
180
+ this.valueScaling = this.options.valueScaling ? t[this.options.valueScaling] : void 0, this.valueScalingFractionDigits = this.valueScaling !== void 0 && this.options.valueScaling !== v.precision ? this.valueScaling + this.currencyFormat.maximumFractionDigits : this.currencyFormat.maximumFractionDigits, this.minValue = this.getMinValue(), this.maxValue = this.getMaxValue();
181
181
  }
182
182
  getMinValue() {
183
183
  var i, t;
@@ -205,15 +205,15 @@ class Z {
205
205
  let n;
206
206
  if (typeof e == "object") {
207
207
  const { numberValue: d, fractionDigits: a } = e;
208
- let { maximumFractionDigits: c, minimumFractionDigits: m } = this.currencyFormat;
209
- this.focus ? m = t ? a.replace(/0+$/, "").length : Math.min(c, a.length) : Number.isInteger(d) && !this.options.autoDecimalDigits && (this.options.precision === void 0 || m === 0) && (m = c = 0), n = this.toInteger(Math.abs(d)) > Number.MAX_SAFE_INTEGER ? this.formattedValue : this.currencyFormat.format(d, {
208
+ let { maximumFractionDigits: l, minimumFractionDigits: m } = this.currencyFormat;
209
+ this.focus ? m = t ? a.replace(/0+$/, "").length : Math.min(l, a.length) : Number.isInteger(d) && !this.options.autoDecimalDigits && (this.options.precision === void 0 || m === 0) && (m = l = 0), n = this.toInteger(Math.abs(d)) > Number.MAX_SAFE_INTEGER ? this.formattedValue : this.currencyFormat.format(d, {
210
210
  useGrouping: this.options.useGrouping !== !1 && !(this.focus && this.options.hideGroupingSeparatorOnFocus),
211
211
  minimumFractionDigits: m,
212
- maximumFractionDigits: c
212
+ maximumFractionDigits: l
213
213
  });
214
214
  } else
215
215
  n = e;
216
- this.maxValue <= 0 && !this.currencyFormat.isNegative(n) && this.currencyFormat.parse(n) !== 0 && (n = n.replace(this.currencyFormat.prefix, this.currencyFormat.negativePrefix)), this.minValue >= 0 && (n = n.replace(this.currencyFormat.negativePrefix, this.currencyFormat.prefix)), (this.options.currencyDisplay === v.hidden || this.focus && this.options.hideCurrencySymbolOnFocus) && (n = n.replace(this.currencyFormat.negativePrefix, this.currencyFormat.minusSign !== void 0 ? this.currencyFormat.minusSign : "(").replace(this.currencyFormat.negativeSuffix, this.currencyFormat.minusSign !== void 0 ? "" : ")").replace(this.currencyFormat.prefix, "").replace(this.currencyFormat.suffix, "")), this.el.value = n, this.numberValue = this.currencyFormat.parse(n);
216
+ this.maxValue <= 0 && !this.currencyFormat.isNegative(n) && this.currencyFormat.parse(n) !== 0 && (n = n.replace(this.currencyFormat.prefix, this.currencyFormat.negativePrefix)), this.minValue >= 0 && (n = n.replace(this.currencyFormat.negativePrefix, this.currencyFormat.prefix)), (this.options.currencyDisplay === y.hidden || this.focus && this.options.hideCurrencySymbolOnFocus) && (n = n.replace(this.currencyFormat.negativePrefix, this.currencyFormat.minusSign !== void 0 ? this.currencyFormat.minusSign : "(").replace(this.currencyFormat.negativeSuffix, this.currencyFormat.minusSign !== void 0 ? "" : ")").replace(this.currencyFormat.prefix, "").replace(this.currencyFormat.suffix, "")), this.el.value = n, this.numberValue = this.currencyFormat.parse(n);
217
217
  } else
218
218
  this.el.value = "", this.numberValue = null;
219
219
  this.formattedValue = this.el.value, this.onInput(this.getValue());
@@ -221,24 +221,24 @@ class Z {
221
221
  addEventListener() {
222
222
  this.el.addEventListener("input", (i) => {
223
223
  const { value: t, selectionStart: e } = this.el, n = i;
224
- if (e && n.data && R.includes(n.data) && (this.decimalSymbolInsertedAt = e - 1), this.format(t), this.focus && e != null) {
224
+ if (e && n.data && _.includes(n.data) && (this.decimalSymbolInsertedAt = e - 1), this.format(t), this.focus && e != null) {
225
225
  const d = () => {
226
- const { prefix: a, suffix: c, decimalSymbol: m, maximumFractionDigits: p, groupingSymbol: r } = this.currencyFormat;
226
+ const { prefix: a, suffix: l, decimalSymbol: m, maximumFractionDigits: g, groupingSymbol: o } = this.currencyFormat;
227
227
  let u = t.length - e;
228
228
  const h = this.formattedValue.length;
229
229
  if (this.currencyFormat.minusSign === void 0 && (t.startsWith("(") || t.startsWith("-")) && !t.endsWith(")"))
230
230
  return h - this.currencyFormat.negativeSuffix.length > 1 ? this.formattedValue.substring(e).length : 1;
231
- if (this.formattedValue.substring(e, 1) === r && O(this.formattedValue, r) === O(t, r) + 1)
231
+ if (this.formattedValue.substring(e, 1) === o && V(this.formattedValue, o) === V(t, o) + 1)
232
232
  return h - u - 1;
233
233
  if (h < u)
234
234
  return e;
235
235
  if (m !== void 0 && t.indexOf(m) !== -1) {
236
- const l = t.indexOf(m) + 1;
237
- if (Math.abs(h - t.length) > 1 && e <= l)
236
+ const c = t.indexOf(m) + 1;
237
+ if (Math.abs(h - t.length) > 1 && e <= c)
238
238
  return this.formattedValue.indexOf(m) + 1;
239
- !this.options.autoDecimalDigits && e > l && this.currencyFormat.onlyDigits(t.substring(l)).length - 1 === p && (u -= 1);
239
+ !this.options.autoDecimalDigits && e > c && this.currencyFormat.onlyDigits(t.substring(c)).length - 1 === g && (u -= 1);
240
240
  }
241
- return this.options.hideCurrencySymbolOnFocus || this.options.currencyDisplay === v.hidden ? h - u : Math.max(h - Math.max(u, c.length), a.length);
241
+ return this.options.hideCurrencySymbolOnFocus || this.options.currencyDisplay === y.hidden ? h - u : Math.max(h - Math.max(u, l.length), a.length);
242
242
  };
243
243
  this.setCaretPosition(d());
244
244
  }
@@ -259,57 +259,61 @@ class Z {
259
259
  getCaretPositionOnFocus(i, t) {
260
260
  if (this.numberValue == null)
261
261
  return t;
262
- const { prefix: e, negativePrefix: n, suffix: d, negativeSuffix: a, groupingSymbol: c, currency: m } = this.currencyFormat, p = this.numberValue < 0, r = p ? n : e, u = r.length;
263
- if (this.options.hideCurrencySymbolOnFocus || this.options.currencyDisplay === v.hidden) {
264
- if (p) {
262
+ const { prefix: e, negativePrefix: n, suffix: d, negativeSuffix: a, groupingSymbol: l, currency: m } = this.currencyFormat, g = this.numberValue < 0, o = g ? n : e, u = o.length;
263
+ if (this.options.hideCurrencySymbolOnFocus || this.options.currencyDisplay === y.hidden) {
264
+ if (g) {
265
265
  if (t <= 1)
266
266
  return 1;
267
267
  if (i.endsWith(")") && t > i.indexOf(")"))
268
268
  return this.formattedValue.length - 1;
269
269
  }
270
270
  } else {
271
- const l = p ? a.length : d.length;
272
- if (t >= i.length - l)
273
- return this.formattedValue.length - l;
271
+ const c = g ? a.length : d.length;
272
+ if (t >= i.length - c)
273
+ return this.formattedValue.length - c;
274
274
  if (t < u)
275
275
  return u;
276
276
  }
277
277
  let h = t;
278
- return this.options.hideCurrencySymbolOnFocus && this.options.currencyDisplay !== v.hidden && t >= u && m !== void 0 && r.includes(m) && (h -= u, p && (h += 1)), this.options.hideGroupingSeparatorOnFocus && c !== void 0 && (h -= O(i.substring(0, t), c)), h;
278
+ return this.options.hideCurrencySymbolOnFocus && this.options.currencyDisplay !== y.hidden && t >= u && m !== void 0 && o.includes(m) && (h -= u, g && (h += 1)), this.options.hideGroupingSeparatorOnFocus && l !== void 0 && (h -= V(i.substring(0, t), l)), h;
279
279
  }
280
280
  setCaretPosition(i, t = i) {
281
281
  this.el.setSelectionRange(i, t);
282
282
  }
283
283
  }
284
- const H = (s) => s != null && s.matches("input") ? s : s == null ? void 0 : s.querySelector("input");
285
- function J(s, i) {
284
+ const Y = (r) => r != null && r.matches("input") ? r : r == null ? void 0 : r.querySelector("input");
285
+ function Z(r, i) {
286
286
  var t, e, n, d;
287
287
  let a;
288
- const c = V(null), m = V(null), p = V(null), r = P(), u = (r == null ? void 0 : r.emit) || ((e = (t = r == null ? void 0 : r.proxy) === null || t === void 0 ? void 0 : t.$emit) === null || e === void 0 ? void 0 : e.bind(r == null ? void 0 : r.proxy)), h = (r == null ? void 0 : r.props) || ((n = r == null ? void 0 : r.proxy) === null || n === void 0 ? void 0 : n.$props), l = C.startsWith("3"), o = l && ((d = r == null ? void 0 : r.attrs.modelModifiers) === null || d === void 0 ? void 0 : d.lazy), y = E(() => h == null ? void 0 : h[l ? "modelValue" : "value"]), S = l ? "update:modelValue" : "input";
289
- return x(c, (f) => {
290
- var g;
291
- if (f) {
292
- const I = H((g = f == null ? void 0 : f.$el) !== null && g !== void 0 ? g : f);
293
- I ? (a = new Z({
294
- el: I,
295
- options: s,
296
- onInput: (b) => {
297
- !o && i !== !1 && y.value !== b.number && (u == null || u(S, b.number)), p.value = b.number, m.value = b.formatted;
288
+ const l = D(null), m = D(null), g = D(null), o = R();
289
+ o != null && o.emit || ((e = (t = o == null ? void 0 : o.proxy) === null || t === void 0 ? void 0 : t.$emit) === null || e === void 0 || e.bind(o == null ? void 0 : o.proxy));
290
+ const u = (o == null ? void 0 : o.props) || ((n = o == null ? void 0 : o.proxy) === null || n === void 0 ? void 0 : n.$props), h = P.startsWith("3");
291
+ h && ((d = o == null ? void 0 : o.attrs.modelModifiers) === null || d === void 0 || d.lazy);
292
+ const c = O(() => u == null ? void 0 : u[h ? "modelValue" : "value"]);
293
+ return S(l, (s) => {
294
+ var f;
295
+ if (s) {
296
+ const b = Y((f = s == null ? void 0 : s.$el) !== null && f !== void 0 ? f : s);
297
+ b ? (a = new q({
298
+ el: b,
299
+ options: r,
300
+ onInput: (F) => {
301
+ g.value = F.number, m.value = F.formatted;
298
302
  },
299
- onChange: (b) => {
303
+ onChange: (F) => {
300
304
  }
301
- }), a.setValue(y.value)) : console.error('No input element found. Please make sure that the "inputRef" template ref is properly assigned.');
305
+ }), a.setValue(c.value)) : console.error('No input element found. Please make sure that the "inputRef" template ref is properly assigned.');
302
306
  } else
303
307
  a = null;
304
308
  }), {
305
- inputRef: c,
306
- numberValue: p,
309
+ inputRef: l,
310
+ numberValue: g,
307
311
  formattedValue: m,
308
- setValue: (f) => a == null ? void 0 : a.setValue(f),
309
- setOptions: (f) => a == null ? void 0 : a.setOptions(f)
312
+ setValue: (s) => a == null ? void 0 : a.setValue(s),
313
+ setOptions: (s) => a == null ? void 0 : a.setOptions(s)
310
314
  };
311
315
  }
312
- const ei = /* @__PURE__ */ $({
316
+ const ii = /* @__PURE__ */ C({
313
317
  __name: "CurrencyInput",
314
318
  props: {
315
319
  inputOptions: { default: void 0 },
@@ -331,10 +335,10 @@ const ei = /* @__PURE__ */ $({
331
335
  disabled: { type: Boolean }
332
336
  },
333
337
  emits: ["update:model-value"],
334
- setup(s, { expose: i, emit: t }) {
338
+ setup(r, { expose: i, emit: t }) {
335
339
  const e = {
336
340
  currency: "USD",
337
- currencyDisplay: v.hidden,
341
+ currencyDisplay: y.hidden,
338
342
  precision: 2,
339
343
  hideCurrencySymbolOnFocus: !0,
340
344
  hideGroupingSeparatorOnFocus: !0,
@@ -342,34 +346,34 @@ const ei = /* @__PURE__ */ $({
342
346
  autoDecimalDigits: !0,
343
347
  useGrouping: !0,
344
348
  accountingSign: !1
345
- }, n = s, d = t, a = A(), c = E(() => ({
349
+ }, n = r, d = t, a = M(), l = O(() => ({
346
350
  ...e,
347
- ...B(n.inputOptions) ? {} : n.inputOptions
348
- })), { inputRef: m, setOptions: p, setValue: r, numberValue: u } = J(c.value, !1);
349
- i({ inputEl: m }), x(
351
+ ...w(n.inputOptions) ? {} : n.inputOptions
352
+ })), { inputRef: m, setOptions: g, setValue: o, numberValue: u } = Z(l.value);
353
+ i({ inputEl: m }), S(
350
354
  () => u.value,
351
- (l) => {
352
- var y;
353
- let o;
354
- Object.is(l, -0) ? typeof c.value.precision == "number" ? o = "-0." + "0".repeat(c.value.precision) : o = "-0." + "0".repeat(((y = c.value.precision) == null ? void 0 : y.min) || 0) : o = typeof l == "number" ? l.toFixed(2) : l, d("update:model-value", o);
355
+ (c) => {
356
+ var f;
357
+ let s;
358
+ Object.is(c, -0) ? typeof l.value.precision == "number" ? s = "-0." + "0".repeat(l.value.precision) : s = "-0." + "0".repeat(((f = l.value.precision) == null ? void 0 : f.min) || 0) : s = typeof c == "number" ? c.toFixed(2) : c, d("update:model-value", s);
355
359
  }
356
- ), x(
360
+ ), S(
357
361
  () => n.modelValue,
358
- (l) => {
359
- let o;
360
- typeof l == "string" ? o = parseFloat(l || "0") : o = l, r(o);
362
+ (c) => {
363
+ let s;
364
+ typeof c == "string" ? s = parseFloat(c || "0") : s = c, o(s);
361
365
  }
362
- ), x(
366
+ ), S(
363
367
  () => n.inputOptions,
364
368
  () => {
365
- p(c.value);
369
+ g(l.value);
366
370
  }
367
371
  );
368
- const h = E(() => {
369
- const { inputOptions: l, ...o } = n;
370
- return { ...o, ...a };
372
+ const h = O(() => {
373
+ const { inputOptions: c, ...s } = n;
374
+ return { ...s, ...a };
371
375
  });
372
- return (l, o) => (L(), T(z, G(h.value, {
376
+ return (c, s) => (A(), $(B, L(h.value, {
373
377
  ref_key: "inputEl",
374
378
  ref: m,
375
379
  class: "stash-currency-input",
@@ -377,14 +381,14 @@ const ei = /* @__PURE__ */ $({
377
381
  "data-test": "stash-currency-input",
378
382
  inputmode: "decimal"
379
383
  }), {
380
- prepend: w(() => [
381
- k(W, { name: "sign-dollar" })
384
+ prepend: T(() => [
385
+ G(k, { name: "sign-dollar" })
382
386
  ]),
383
387
  _: 1
384
388
  }, 16));
385
389
  }
386
390
  });
387
391
  export {
388
- ei as default
392
+ ii as default
389
393
  };
390
394
  //# sourceMappingURL=CurrencyInput.js.map