bonkers-ui 1.0.64 → 1.0.65

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 (225) hide show
  1. package/CONSTANTS.d.ts +1 -0
  2. package/CONSTANTS.d.ts.map +1 -0
  3. package/bonkers-ui.umd.js +3 -3
  4. package/bonkers-ui.umd.js.map +1 -1
  5. package/components/ui-alert/_types.d.ts +1 -0
  6. package/components/ui-alert/_types.d.ts.map +1 -0
  7. package/components/ui-alert/index.d.ts +1 -0
  8. package/components/ui-alert/index.d.ts.map +1 -0
  9. package/components/ui-alert/ui-alert.vue.d.ts +3 -2
  10. package/components/ui-alert/ui-alert.vue.d.ts.map +1 -0
  11. package/components/ui-badge/_typings.d.ts +1 -0
  12. package/components/ui-badge/_typings.d.ts.map +1 -0
  13. package/components/ui-badge/index.d.ts +1 -12
  14. package/components/ui-badge/index.d.ts.map +1 -0
  15. package/components/ui-badge/ui-badge.vue.d.ts +3 -4
  16. package/components/ui-badge/ui-badge.vue.d.ts.map +1 -0
  17. package/components/ui-badge/ui-badge.vue.js +33 -37
  18. package/components/ui-badge/ui-badge.vue.js.map +1 -1
  19. package/components/ui-ber-rank/_types.d.ts +1 -0
  20. package/components/ui-ber-rank/_types.d.ts.map +1 -0
  21. package/components/ui-ber-rank/index.d.ts +3 -2
  22. package/components/ui-ber-rank/index.d.ts.map +1 -0
  23. package/components/ui-ber-rank/ui-ber-rank.vue.d.ts +3 -2
  24. package/components/ui-ber-rank/ui-ber-rank.vue.d.ts.map +1 -0
  25. package/components/ui-ber-rank/ui-ber-rank.vue.js +6 -6
  26. package/components/ui-ber-rank/ui-ber-rank.vue.js.map +1 -1
  27. package/components/ui-button/_typings.d.ts +1 -0
  28. package/components/ui-button/_typings.d.ts.map +1 -0
  29. package/components/ui-button/index.d.ts +1 -0
  30. package/components/ui-button/index.d.ts.map +1 -0
  31. package/components/ui-button/ui-button.vue.d.ts +3 -2
  32. package/components/ui-button/ui-button.vue.d.ts.map +1 -0
  33. package/components/ui-card-cta/index.d.ts +1 -0
  34. package/components/ui-card-cta/index.d.ts.map +1 -0
  35. package/components/ui-card-cta/ui-card-cta.vue.d.ts +3 -2
  36. package/components/ui-card-cta/ui-card-cta.vue.d.ts.map +1 -0
  37. package/components/ui-card-result/index.d.ts +1 -0
  38. package/components/ui-card-result/index.d.ts.map +1 -0
  39. package/components/ui-card-result/ui-card-result.vue.d.ts +3 -2
  40. package/components/ui-card-result/ui-card-result.vue.d.ts.map +1 -0
  41. package/components/ui-card-result/ui-card-result.vue.js +5 -5
  42. package/components/ui-card-result/ui-card-result.vue2.js +18 -18
  43. package/components/ui-card-simple/index.d.ts +1 -0
  44. package/components/ui-card-simple/index.d.ts.map +1 -0
  45. package/components/ui-card-simple/ui-card-simple.vue.d.ts +3 -2
  46. package/components/ui-card-simple/ui-card-simple.vue.d.ts.map +1 -0
  47. package/components/ui-checkbox/index.d.ts +7 -6
  48. package/components/ui-checkbox/index.d.ts.map +1 -0
  49. package/components/ui-checkbox/ui-checkbox.vue.d.ts +5 -4
  50. package/components/ui-checkbox/ui-checkbox.vue.d.ts.map +1 -0
  51. package/components/ui-checkbox/ui-checkbox.vue.js +2 -2
  52. package/components/ui-checkbox/ui-checkbox.vue2.js +8 -8
  53. package/components/ui-checkbox/ui-checkbox.vue2.js.map +1 -1
  54. package/components/ui-dropdown/_typings.d.ts +1 -0
  55. package/components/ui-dropdown/_typings.d.ts.map +1 -0
  56. package/components/ui-dropdown/index.d.ts +1 -0
  57. package/components/ui-dropdown/index.d.ts.map +1 -0
  58. package/components/ui-dropdown/ui-dropdown.vue.d.ts +3 -2
  59. package/components/ui-dropdown/ui-dropdown.vue.d.ts.map +1 -0
  60. package/components/ui-dropdown/ui-dropdown.vue.js.map +1 -1
  61. package/components/ui-icon/_typings.d.ts +1 -0
  62. package/components/ui-icon/_typings.d.ts.map +1 -0
  63. package/components/ui-icon/index.d.ts +3 -2
  64. package/components/ui-icon/index.d.ts.map +1 -0
  65. package/components/ui-icon/ui-icon.vue.d.ts +3 -2
  66. package/components/ui-icon/ui-icon.vue.d.ts.map +1 -0
  67. package/components/ui-icon/ui-icon.vue.js +15 -15
  68. package/components/ui-icon-wrapper/_typings.d.ts +1 -0
  69. package/components/ui-icon-wrapper/_typings.d.ts.map +1 -0
  70. package/components/ui-icon-wrapper/index.d.ts +1 -0
  71. package/components/ui-icon-wrapper/index.d.ts.map +1 -0
  72. package/components/ui-icon-wrapper/ui-icon-wrapper.vue.d.ts +3 -2
  73. package/components/ui-icon-wrapper/ui-icon-wrapper.vue.d.ts.map +1 -0
  74. package/components/ui-icon-wrapper/ui-icon-wrapper.vue.js +3 -3
  75. package/components/ui-icon-wrapper/ui-icon-wrapper.vue2.js +3 -3
  76. package/components/ui-input/_typings.d.ts +1 -0
  77. package/components/ui-input/_typings.d.ts.map +1 -0
  78. package/components/ui-input/index.d.ts +8 -0
  79. package/components/ui-input/index.d.ts.map +1 -0
  80. package/components/ui-input/ui-input.vue.d.ts +6 -2
  81. package/components/ui-input/ui-input.vue.d.ts.map +1 -0
  82. package/components/ui-input/ui-input.vue.js +29 -25
  83. package/components/ui-input/ui-input.vue.js.map +1 -1
  84. package/components/ui-input-range/index.d.ts +5 -4
  85. package/components/ui-input-range/index.d.ts.map +1 -0
  86. package/components/ui-input-range/ui-input-range.vue.d.ts +5 -4
  87. package/components/ui-input-range/ui-input-range.vue.d.ts.map +1 -0
  88. package/components/ui-input-range/ui-input-range.vue.js +2 -2
  89. package/components/ui-input-range/ui-input-range.vue2.js +19 -19
  90. package/components/ui-input-range/ui-input-range.vue2.js.map +1 -1
  91. package/components/ui-list-item/_types.d.ts +1 -0
  92. package/components/ui-list-item/_types.d.ts.map +1 -0
  93. package/components/ui-list-item/index.d.ts +1 -0
  94. package/components/ui-list-item/index.d.ts.map +1 -0
  95. package/components/ui-list-item/ui-list-item.vue.d.ts +3 -2
  96. package/components/ui-list-item/ui-list-item.vue.d.ts.map +1 -0
  97. package/components/ui-list-item/ui-list-item.vue.js +14 -14
  98. package/components/ui-modal/_typings.d.ts +1 -0
  99. package/components/ui-modal/_typings.d.ts.map +1 -0
  100. package/components/ui-modal/index.d.ts +1 -0
  101. package/components/ui-modal/index.d.ts.map +1 -0
  102. package/components/ui-modal/ui-backdrop/index.d.ts +1 -0
  103. package/components/ui-modal/ui-backdrop/index.d.ts.map +1 -0
  104. package/components/ui-modal/ui-backdrop/ui-backdrop.vue.d.ts +3 -2
  105. package/components/ui-modal/ui-backdrop/ui-backdrop.vue.d.ts.map +1 -0
  106. package/components/ui-modal/ui-modal.vue.d.ts +3 -2
  107. package/components/ui-modal/ui-modal.vue.d.ts.map +1 -0
  108. package/components/ui-notification-badge/_types.d.ts +1 -0
  109. package/components/ui-notification-badge/_types.d.ts.map +1 -0
  110. package/components/ui-notification-badge/index.d.ts +1 -0
  111. package/components/ui-notification-badge/index.d.ts.map +1 -0
  112. package/components/ui-notification-badge/ui-notification-badge.vue.d.ts +3 -2
  113. package/components/ui-notification-badge/ui-notification-badge.vue.d.ts.map +1 -0
  114. package/components/ui-order-card/_types.d.ts +1 -0
  115. package/components/ui-order-card/_types.d.ts.map +1 -0
  116. package/components/ui-order-card/index.d.ts +1 -0
  117. package/components/ui-order-card/index.d.ts.map +1 -0
  118. package/components/ui-order-card/ui-order-card.vue.d.ts +3 -2
  119. package/components/ui-order-card/ui-order-card.vue.d.ts.map +1 -0
  120. package/components/ui-plain-radio/index.d.ts +1 -0
  121. package/components/ui-plain-radio/index.d.ts.map +1 -0
  122. package/components/ui-plain-radio/ui-plain-radio.vue.d.ts +3 -2
  123. package/components/ui-plain-radio/ui-plain-radio.vue.d.ts.map +1 -0
  124. package/components/ui-plain-radio/ui-plain-radio.vue.js +5 -5
  125. package/components/ui-plain-radio/ui-plain-radio.vue.js.map +1 -1
  126. package/components/ui-progress/_types.d.ts +1 -0
  127. package/components/ui-progress/_types.d.ts.map +1 -0
  128. package/components/ui-progress/index.d.ts +3 -2
  129. package/components/ui-progress/index.d.ts.map +1 -0
  130. package/components/ui-progress/ui-progress.vue.d.ts +3 -2
  131. package/components/ui-progress/ui-progress.vue.d.ts.map +1 -0
  132. package/components/ui-radio/index.d.ts +1 -0
  133. package/components/ui-radio/index.d.ts.map +1 -0
  134. package/components/ui-radio/ui-radio.vue.d.ts +3 -2
  135. package/components/ui-radio/ui-radio.vue.d.ts.map +1 -0
  136. package/components/ui-radio/ui-radio.vue.js +2 -2
  137. package/components/ui-radio/ui-radio.vue2.js +12 -12
  138. package/components/ui-radio/ui-radio.vue2.js.map +1 -1
  139. package/components/ui-radio-compact/index.d.ts +5 -1
  140. package/components/ui-radio-compact/index.d.ts.map +1 -0
  141. package/components/ui-radio-compact/index.js.map +1 -1
  142. package/components/ui-radio-compact/ui-radio-compact.vue.d.ts +3 -2
  143. package/components/ui-radio-compact/ui-radio-compact.vue.d.ts.map +1 -0
  144. package/components/ui-radio-fancy/_typings.d.ts +1 -0
  145. package/components/ui-radio-fancy/_typings.d.ts.map +1 -0
  146. package/components/ui-radio-fancy/index.d.ts +1 -0
  147. package/components/ui-radio-fancy/index.d.ts.map +1 -0
  148. package/components/ui-radio-fancy/ui-radio-fancy.vue.d.ts +3 -2
  149. package/components/ui-radio-fancy/ui-radio-fancy.vue.d.ts.map +1 -0
  150. package/components/ui-radio-fancy/ui-radio-fancy.vue.js +15 -15
  151. package/components/ui-radio-fancy/ui-radio-fancy.vue.js.map +1 -1
  152. package/components/ui-result-card-range/_types.d.ts +1 -0
  153. package/components/ui-result-card-range/_types.d.ts.map +1 -0
  154. package/components/ui-result-card-range/index.d.ts +1 -24
  155. package/components/ui-result-card-range/index.d.ts.map +1 -0
  156. package/components/ui-result-card-range/ui-result-card-range.vue.d.ts +3 -6
  157. package/components/ui-result-card-range/ui-result-card-range.vue.d.ts.map +1 -0
  158. package/components/ui-result-card-range/ui-result-card-range.vue.js +9 -11
  159. package/components/ui-result-card-range/ui-result-card-range.vue.js.map +1 -1
  160. package/components/ui-ripple/index.d.ts +1 -0
  161. package/components/ui-ripple/index.d.ts.map +1 -0
  162. package/components/ui-ripple/ui-ripple.vue.d.ts +3 -2
  163. package/components/ui-ripple/ui-ripple.vue.d.ts.map +1 -0
  164. package/components/ui-select/index.d.ts +1 -0
  165. package/components/ui-select/index.d.ts.map +1 -0
  166. package/components/ui-select/ui-select.vue.d.ts +3 -2
  167. package/components/ui-select/ui-select.vue.d.ts.map +1 -0
  168. package/components/ui-skeleton/_typings.d.ts +1 -0
  169. package/components/ui-skeleton/_typings.d.ts.map +1 -0
  170. package/components/ui-skeleton/index.d.ts +3 -2
  171. package/components/ui-skeleton/index.d.ts.map +1 -0
  172. package/components/ui-skeleton/ui-skeleton.vue.d.ts +3 -2
  173. package/components/ui-skeleton/ui-skeleton.vue.d.ts.map +1 -0
  174. package/components/ui-snackbar/_types.d.ts +1 -0
  175. package/components/ui-snackbar/_types.d.ts.map +1 -0
  176. package/components/ui-snackbar/index.d.ts +1 -0
  177. package/components/ui-snackbar/index.d.ts.map +1 -0
  178. package/components/ui-snackbar/ui-snackbar.vue.d.ts +3 -2
  179. package/components/ui-snackbar/ui-snackbar.vue.d.ts.map +1 -0
  180. package/components/ui-table/_types.d.ts +1 -0
  181. package/components/ui-table/_types.d.ts.map +1 -0
  182. package/components/ui-table/index.d.ts +1 -0
  183. package/components/ui-table/index.d.ts.map +1 -0
  184. package/components/ui-table/ui-table-cell/index.d.ts +1 -0
  185. package/components/ui-table/ui-table-cell/index.d.ts.map +1 -0
  186. package/components/ui-table/ui-table-cell/ui-table-cell.vue.d.ts +3 -2
  187. package/components/ui-table/ui-table-cell/ui-table-cell.vue.d.ts.map +1 -0
  188. package/components/ui-table/ui-table-row/_typings.d.ts +1 -0
  189. package/components/ui-table/ui-table-row/_typings.d.ts.map +1 -0
  190. package/components/ui-table/ui-table-row/index.d.ts +1 -0
  191. package/components/ui-table/ui-table-row/index.d.ts.map +1 -0
  192. package/components/ui-table/ui-table-row/ui-table-row.vue.d.ts +3 -2
  193. package/components/ui-table/ui-table-row/ui-table-row.vue.d.ts.map +1 -0
  194. package/components/ui-table/ui-table.vue.d.ts +3 -2
  195. package/components/ui-table/ui-table.vue.d.ts.map +1 -0
  196. package/components/ui-tabs/index.d.ts +3 -2
  197. package/components/ui-tabs/index.d.ts.map +1 -0
  198. package/components/ui-tabs/ui-tabs.vue.d.ts +3 -2
  199. package/components/ui-tabs/ui-tabs.vue.d.ts.map +1 -0
  200. package/components/ui-toggle/index.d.ts +7 -6
  201. package/components/ui-toggle/index.d.ts.map +1 -0
  202. package/components/ui-toggle/ui-toggle.vue.d.ts +5 -4
  203. package/components/ui-toggle/ui-toggle.vue.d.ts.map +1 -0
  204. package/components/ui-toggle/ui-toggle.vue.js +3 -3
  205. package/components/ui-toggle/ui-toggle.vue2.js +10 -10
  206. package/components/ui-toggle/ui-toggle.vue2.js.map +1 -1
  207. package/components/ui-typography/_typings.d.ts +1 -0
  208. package/components/ui-typography/_typings.d.ts.map +1 -0
  209. package/components/ui-typography/index.d.ts +1 -0
  210. package/components/ui-typography/index.d.ts.map +1 -0
  211. package/components/ui-typography/ui-typography.vue.d.ts +3 -2
  212. package/components/ui-typography/ui-typography.vue.d.ts.map +1 -0
  213. package/components/ui-verification-input/index.d.ts +1 -0
  214. package/components/ui-verification-input/index.d.ts.map +1 -0
  215. package/components/ui-verification-input/ui-verification-input.vue.d.ts +3 -2
  216. package/components/ui-verification-input/ui-verification-input.vue.d.ts.map +1 -0
  217. package/index.d.ts +2 -1
  218. package/index.d.ts.map +1 -0
  219. package/index.js +117 -116
  220. package/index.js.map +1 -1
  221. package/package.json +28 -27
  222. package/tsconfig.json +4 -0
  223. package/types.d.ts +1 -0
  224. package/types.d.ts.map +1 -0
  225. package/types.js +6 -6
@@ -1,14 +1,14 @@
1
- import { defineComponent as R, computed as k, openBlock as n, createElementBlock as A, renderSlot as o, createBlock as s, unref as t, withCtx as p, createTextVNode as m, toDisplayString as f, createCommentVNode as h, createElementVNode as b, normalizeClass as S } from "vue";
2
- import { EInputKinds as a, EInputType as r, EAutocomplete as g } from "./_typings.js";
3
- import c from "../ui-typography/index.js";
1
+ import { defineComponent as k, computed as A, openBlock as n, createElementBlock as S, normalizeClass as s, renderSlot as o, createBlock as p, unref as t, withCtx as m, createTextVNode as f, toDisplayString as h, createCommentVNode as b, createElementVNode as g } from "vue";
2
+ import { EInputKinds as a, EInputType as r, EAutocomplete as c } from "./_typings.js";
3
+ import v from "../ui-typography/index.js";
4
4
  import { ETypographySizes as y } from "../ui-typography/_typings.js";
5
5
  import { EColors as C } from "../../_types/colors.js";
6
- const D = { class: "ui-input" }, L = ["autocomplete", "name", "value", "pattern", "type", "placeholder", "maxlength", "minlength"], I = /* @__PURE__ */ R({
6
+ const D = ["autocomplete", "name", "value", "pattern", "type", "placeholder", "maxlength", "minlength"], z = /* @__PURE__ */ k({
7
7
  __name: "ui-input",
8
8
  props: {
9
9
  placeholder: { default: "" },
10
10
  modelValue: { default: "" },
11
- disabled: { type: Boolean },
11
+ disabled: { type: Boolean, default: !1 },
12
12
  kind: { default: a.SECONDARY },
13
13
  heading: { default: void 0 },
14
14
  subLabel: { default: void 0 },
@@ -22,33 +22,37 @@ const D = { class: "ui-input" }, L = ["autocomplete", "name", "value", "pattern"
22
22
  name: { default: void 0 }
23
23
  },
24
24
  emits: ["update:modelValue"],
25
- setup(v) {
26
- const E = v, d = k(() => {
27
- switch (E.type) {
25
+ setup(E) {
26
+ const R = E, d = A(() => {
27
+ switch (R.type) {
28
28
  case r.PASSWORD:
29
- return g.CURRENT_PASSWORD;
29
+ return c.CURRENT_PASSWORD;
30
30
  case r.EMAIL:
31
- return g.EMAIL;
31
+ return c.EMAIL;
32
32
  default:
33
33
  return;
34
34
  }
35
35
  });
36
- return (e, l) => (n(), A("div", D, [
36
+ return (e, l) => (n(), S("div", {
37
+ class: s(["ui-input", [
38
+ e.disabled && "pointer-events-none"
39
+ ]])
40
+ }, [
37
41
  o(e.$slots, "header", {}, () => [
38
- e.heading ? (n(), s(t(c), {
42
+ e.heading ? (n(), p(t(v), {
39
43
  key: 0,
40
44
  class: "mb-xs",
41
45
  size: t(y).MD,
42
46
  "line-height": ""
43
47
  }, {
44
- default: p(() => [
45
- m(f(e.heading), 1)
48
+ default: m(() => [
49
+ f(h(e.heading), 1)
46
50
  ]),
47
51
  _: 1
48
- }, 8, ["size"])) : h("", !0)
52
+ }, 8, ["size"])) : b("", !0)
49
53
  ]),
50
- b("label", {
51
- class: S(["ui-input__wrapper flex w-full items-center gap-xs rounded-lg border bg-white p-sm", [
54
+ g("label", {
55
+ class: s(["ui-input__wrapper flex w-full items-center gap-xs rounded-lg border bg-white p-sm", [
52
56
  e.kind === t(a).SECONDARY && "border-secondary-alt-500 hover:border-secondary-alt-700",
53
57
  e.kind === t(a).PRIMARY && "border-primary",
54
58
  e.kind === t(a).ERROR && "border-error",
@@ -56,7 +60,7 @@ const D = { class: "ui-input" }, L = ["autocomplete", "name", "value", "pattern"
56
60
  ]])
57
61
  }, [
58
62
  o(e.$slots, "prefix-icon"),
59
- b("input", {
63
+ g("input", {
60
64
  autocomplete: e.autocomplete || d.value,
61
65
  name: e.name || e.autocomplete || d.value,
62
66
  value: e.modelValue,
@@ -71,27 +75,27 @@ const D = { class: "ui-input" }, L = ["autocomplete", "name", "value", "pattern"
71
75
  return e.$emit("update:modelValue", (u = i.target) == null ? void 0 : u.value);
72
76
  }),
73
77
  onFocus: l[1] || (l[1] = (i) => e.focusHandler || void 0)
74
- }, null, 40, L),
78
+ }, null, 40, D),
75
79
  o(e.$slots, "postfix-icon")
76
80
  ], 2),
77
81
  o(e.$slots, "subLabel", {}, () => [
78
- e.subLabel ? (n(), s(t(c), {
82
+ e.subLabel ? (n(), p(t(v), {
79
83
  key: 0,
80
84
  "line-height": "",
81
85
  size: t(y).SM,
82
86
  kind: t(C).SECONDARY_ALT,
83
87
  class: "mt-xs"
84
88
  }, {
85
- default: p(() => [
86
- m(f(e.subLabel), 1)
89
+ default: m(() => [
90
+ f(h(e.subLabel), 1)
87
91
  ]),
88
92
  _: 1
89
- }, 8, ["size", "kind"])) : h("", !0)
93
+ }, 8, ["size", "kind"])) : b("", !0)
90
94
  ])
91
- ]));
95
+ ], 2));
92
96
  }
93
97
  });
94
98
  export {
95
- I as default
99
+ z as default
96
100
  };
97
101
  //# sourceMappingURL=ui-input.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ui-input.vue.js","sources":["../../../src/components/ui-input/ui-input.vue"],"sourcesContent":["<template>\n\t<div class=\"ui-input\">\n\t\t<slot name=\"header\">\n\t\t\t<ui-typography\n\t\t\t\tv-if=\"heading\"\n\t\t\t\tclass=\"mb-xs\"\n\t\t\t\t:size=\"ETypographySizes.MD\"\n\t\t\t\tline-height\n\t\t\t>\n\t\t\t\t{{ heading }}\n\t\t\t</ui-typography>\n\t\t</slot>\n\t\t<label\n\t\t\tclass=\"ui-input__wrapper flex w-full items-center gap-xs rounded-lg border bg-white p-sm\"\n\t\t\t:class=\"[\n\t\t\t\tkind === EInputKinds.SECONDARY && 'border-secondary-alt-500 hover:border-secondary-alt-700',\n\t\t\t\tkind === EInputKinds.PRIMARY && 'border-primary',\n\t\t\t\tkind === EInputKinds.ERROR && 'border-error',\n\n\t\t\t\tdisabled && 'border-secondary-alt-300 bg-secondary-alt-200',\n\t\t\t]\"\n\t\t>\n\t\t\t<slot name=\"prefix-icon\" />\n\n\t\t\t<input\n\t\t\t\t:autocomplete=\"autocomplete || getAutoComplete\"\n\t\t\t\t:name=\"name || autocomplete || getAutoComplete\"\n\t\t\t\t:value=\"modelValue\"\n\t\t\t\t:pattern=\"pattern\"\n\t\t\t\tclass=\"w-full border-0 bg-transparent outline-none placeholder:italic placeholder:text-secondary-alt\"\n\t\t\t\t:type=\"type\"\n\t\t\t\t:placeholder=\"placeholder\"\n\t\t\t\t:maxlength=\"maxlength\"\n\t\t\t\t:minlength=\"minlength\"\n\t\t\t\t@input=\"$emit('update:modelValue', ($event.target as HTMLTextAreaElement)?.value)\"\n\t\t\t\t@focus=\"focusHandler || undefined\"\n\t\t\t>\n\n\t\t\t<slot name=\"postfix-icon\" />\n\t\t</label>\n\n\t\t<slot name=\"subLabel\">\n\t\t\t<ui-typography\n\t\t\t\tv-if=\"subLabel\"\n\t\t\t\tline-height\n\t\t\t\t:size=\"ETypographySizes.SM\"\n\t\t\t\t:kind=\"EColors.SECONDARY_ALT\"\n\t\t\t\tclass=\"mt-xs\"\n\t\t\t>\n\t\t\t\t{{ subLabel }}\n\t\t\t</ui-typography>\n\t\t</slot>\n\t</div>\n</template>\n\n<script lang=\"ts\" setup>\n\timport { computed } from \"vue\";\n\timport { EAutocomplete, EInputKinds, EInputType } from \"./_typings\";\n\timport UiTypography, { ETypographySizes, EColors } from \"../ui-typography\";\n\n\tconst props = withDefaults(defineProps<{\n\t\tplaceholder?: string;\n\t\tmodelValue: string | number;\n\t\tdisabled?: boolean;\n\t\tkind?: EInputKinds;\n\t\theading?: string;\n\t\tsubLabel?: string;\n\t\ttype?: EInputType;\n\t\tpattern?: string;\n\t\tmaxlength?: string;\n\t\tminlength?: string;\n\t\tfocusHandler?: (e:FocusEvent) => void;\n\t\tautocomplete?: EAutocomplete;\n\t\tname?: string;\n\t}>(), {\n\t\tmodelValue: \"\",\n\t\tplaceholder: \"\",\n\t\tautocomplete: undefined,\n\t\tname: undefined,\n\t\theading: undefined,\n\t\tsubLabel: undefined,\n\t\tpattern: undefined,\n\t\tmaxlength: undefined,\n\t\tminlength: undefined,\n\t\ttype: EInputType.TEXT,\n\t\tfocusHandler: ()=>undefined,\n\t\tkind: EInputKinds.SECONDARY\n\t});\n\n\tdefineEmits([\"update:modelValue\"]);\n\n\tconst getAutoComplete = computed(()=> {\n\t\tswitch (props.type) {\n\t\t\tcase EInputType.PASSWORD: return EAutocomplete.CURRENT_PASSWORD;\n\t\t\tcase EInputType.EMAIL: return EAutocomplete.EMAIL;\n\t\t\tdefault: return undefined;\n\t\t}\n\t});\n\n</script>\n"],"names":["props","__props","getAutoComplete","computed","EInputType","EAutocomplete"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AA4DC,UAAMA,IAAQC,GA+BRC,IAAkBC,EAAS,MAAK;AACrC,cAAQH,EAAM,MAAM;AAAA,QACnB,KAAKI,EAAW;AAAU,iBAAOC,EAAc;AAAA,QAC/C,KAAKD,EAAW;AAAO,iBAAOC,EAAc;AAAA,QAC5C;AAAgB;AAAA,MACjB;AAAA,IAAA,CACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"ui-input.vue.js","sources":["../../../src/components/ui-input/ui-input.vue"],"sourcesContent":["<template>\n\t<div\n\t\tclass=\"ui-input\"\n\t\t:class=\"[\n\t\t\tdisabled && 'pointer-events-none'\n\t\t]\"\n\t>\n\t\t<slot name=\"header\">\n\t\t\t<ui-typography\n\t\t\t\tv-if=\"heading\"\n\t\t\t\tclass=\"mb-xs\"\n\t\t\t\t:size=\"ETypographySizes.MD\"\n\t\t\t\tline-height\n\t\t\t>\n\t\t\t\t{{ heading }}\n\t\t\t</ui-typography>\n\t\t</slot>\n\t\t<label\n\t\t\tclass=\"ui-input__wrapper flex w-full items-center gap-xs rounded-lg border bg-white p-sm\"\n\t\t\t:class=\"[\n\t\t\t\tkind === EInputKinds.SECONDARY && 'border-secondary-alt-500 hover:border-secondary-alt-700',\n\t\t\t\tkind === EInputKinds.PRIMARY && 'border-primary',\n\t\t\t\tkind === EInputKinds.ERROR && 'border-error',\n\n\t\t\t\tdisabled && 'border-secondary-alt-300 bg-secondary-alt-200',\n\t\t\t]\"\n\t\t>\n\t\t\t<slot name=\"prefix-icon\" />\n\n\t\t\t<input\n\t\t\t\t:autocomplete=\"autocomplete || getAutoComplete\"\n\t\t\t\t:name=\"name || autocomplete || getAutoComplete\"\n\t\t\t\t:value=\"modelValue\"\n\t\t\t\t:pattern=\"pattern\"\n\t\t\t\tclass=\"w-full border-0 bg-transparent outline-none placeholder:italic placeholder:text-secondary-alt\"\n\t\t\t\t:type=\"type\"\n\t\t\t\t:placeholder=\"placeholder\"\n\t\t\t\t:maxlength=\"maxlength\"\n\t\t\t\t:minlength=\"minlength\"\n\t\t\t\t@input=\"$emit('update:modelValue', ($event.target as HTMLTextAreaElement)?.value)\"\n\t\t\t\t@focus=\"focusHandler || undefined\"\n\t\t\t>\n\n\t\t\t<slot name=\"postfix-icon\" />\n\t\t</label>\n\n\t\t<slot name=\"subLabel\">\n\t\t\t<ui-typography\n\t\t\t\tv-if=\"subLabel\"\n\t\t\t\tline-height\n\t\t\t\t:size=\"ETypographySizes.SM\"\n\t\t\t\t:kind=\"EColors.SECONDARY_ALT\"\n\t\t\t\tclass=\"mt-xs\"\n\t\t\t>\n\t\t\t\t{{ subLabel }}\n\t\t\t</ui-typography>\n\t\t</slot>\n\t</div>\n</template>\n\n<script lang=\"ts\" setup>\n\timport { computed } from \"vue\";\n\timport { EAutocomplete, EInputKinds, EInputType } from \"./_typings\";\n\timport UiTypography, { ETypographySizes, EColors } from \"../ui-typography\";\n\n\tconst props = withDefaults(defineProps<{\n\t\tplaceholder?: string;\n\t\tmodelValue: string | number;\n\t\tdisabled?: boolean;\n\t\tkind?: EInputKinds;\n\t\theading?: string;\n\t\tsubLabel?: string;\n\t\ttype?: EInputType;\n\t\tpattern?: string;\n\t\tmaxlength?: string;\n\t\tminlength?: string;\n\t\tfocusHandler?: (e:FocusEvent) => void;\n\t\tautocomplete?: EAutocomplete;\n\t\tname?: string;\n\t}>(), {\n\t\tmodelValue: \"\",\n\t\tplaceholder: \"\",\n\t\tdisabled: false,\n\t\tautocomplete: undefined,\n\t\tname: undefined,\n\t\theading: undefined,\n\t\tsubLabel: undefined,\n\t\tpattern: undefined,\n\t\tmaxlength: undefined,\n\t\tminlength: undefined,\n\t\ttype: EInputType.TEXT,\n\t\tfocusHandler: ()=>undefined,\n\t\tkind: EInputKinds.SECONDARY\n\t});\n\n\tdefineEmits([\"update:modelValue\"]);\n\n\tconst getAutoComplete = computed(()=> {\n\t\tswitch (props.type) {\n\t\t\tcase EInputType.PASSWORD: return EAutocomplete.CURRENT_PASSWORD;\n\t\t\tcase EInputType.EMAIL: return EAutocomplete.EMAIL;\n\t\t\tdefault: return undefined;\n\t\t}\n\t});\n</script>\n"],"names":["props","__props","getAutoComplete","computed","EInputType","EAutocomplete"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAiEC,UAAMA,IAAQC,GAgCRC,IAAkBC,EAAS,MAAK;AACrC,cAAQH,EAAM,MAAM;AAAA,QACnB,KAAKI,EAAW;AAAU,iBAAOC,EAAc;AAAA,QAC/C,KAAKD,EAAW;AAAO,iBAAOC,EAAc;AAAA,QAC5C;AAAgB;AAAA,MACjB;AAAA,IAAA,CACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,4 +1,4 @@
1
- import { DefineComponent, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
1
+ import { DefineComponent, PropType, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
2
  import UiInputRange from "./ui-input-range.vue";
3
3
  export { UiInputRange };
4
4
  /**
@@ -22,8 +22,8 @@ declare const deprecatedDefault: DefineComponent<{
22
22
  required: true;
23
23
  };
24
24
  }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
25
- "update:modelValue": (state: number) => void;
26
- }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
25
+ "update:modelValue": (...args: any[]) => void;
26
+ }, string, PublicProps, Readonly<ExtractPropTypes<{
27
27
  modelValue: {
28
28
  type: PropType<number>;
29
29
  required: true;
@@ -41,6 +41,7 @@ declare const deprecatedDefault: DefineComponent<{
41
41
  required: true;
42
42
  };
43
43
  }>> & {
44
- "onUpdate:modelValue"?: ((state: number) => any) | undefined;
44
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
45
45
  }, {}, {}>;
46
46
  export default deprecatedDefault;
47
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ui-input-range/index.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,sBAAsB,CAAC;AAEhD,OAAO,EAAE,YAAY,EAAE,CAAC;AACxB;;GAEG;AACH,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAAe,CAAC;AACvC,eAAe,iBAAiB,CAAC"}
@@ -1,18 +1,18 @@
1
- import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
2
2
  declare const _default: DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
3
  modelValue: number;
4
4
  min: string | number;
5
5
  max: string | number;
6
6
  step: string | number;
7
7
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
8
- "update:modelValue": (state: number) => void;
9
- }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
8
+ "update:modelValue": (...args: any[]) => void;
9
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
10
10
  modelValue: number;
11
11
  min: string | number;
12
12
  max: string | number;
13
13
  step: string | number;
14
14
  }>>> & {
15
- "onUpdate:modelValue"?: ((state: number) => any) | undefined;
15
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
16
16
  }, {}, {}>;
17
17
  export default _default;
18
18
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -24,3 +24,4 @@ type __VLS_TypePropsToRuntimeProps<T> = {
24
24
  required: true;
25
25
  };
26
26
  };
27
+ //# sourceMappingURL=ui-input-range.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ui-input-range.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-input-range/ui-input-range.vue"],"names":[],"mappings":"AA2CA;;gBAkNc,MAAM;SACb,MAAM,GAAG,MAAM;SACf,MAAM,GAAG,MAAM;UACd,MAAM,GAAG,MAAM;;;;gBAHT,MAAM;SACb,MAAM,GAAG,MAAM;SACf,MAAM,GAAG,MAAM;UACd,MAAM,GAAG,MAAM;;;;AATvB,wBAYG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
@@ -1,8 +1,8 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode("input[type=range][data-v-5ac339bd]::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:10px;width:10px;transform:scale(4);background-color:transparent;border:0;box-shadow:none}input[type=range][data-v-5ac339bd]::-moz-range-thumb{-moz-appearance:none;-webkit-appearance:none;appearance:none;background-color:transparent;border:0;box-shadow:none}.ui-input-range__thumb[data-v-5ac339bd]{top:50%;border-width:12px;box-shadow:0 0 0 4px var(--color-primary)}")),document.head.appendChild(e)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}})();
1
+ (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode("input[type=range][data-v-196548ca]::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:10px;width:10px;transform:scale(4);background-color:transparent;border:0;box-shadow:none}input[type=range][data-v-196548ca]::-moz-range-thumb{-moz-appearance:none;-webkit-appearance:none;appearance:none;background-color:transparent;border:0;box-shadow:none}.ui-input-range__thumb[data-v-196548ca]{top:50%;border-width:12px;box-shadow:0 0 0 4px var(--color-primary)}")),document.head.appendChild(e)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}})();
2
2
  import o from "./ui-input-range.vue2.js";
3
3
 
4
4
  import t from "../../_virtual/_plugin-vue_export-helper.js";
5
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-5ac339bd"]]);
5
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-196548ca"]]);
6
6
  export {
7
7
  m as default
8
8
  };
@@ -1,5 +1,5 @@
1
- import { defineComponent as y, computed as i, watch as w, ref as _, openBlock as k, createElementBlock as M, withDirectives as V, createElementVNode as l, vModelText as S, normalizeStyle as c, pushScopeId as I, popScopeId as C } from "vue";
2
- const P = (o) => (I("data-v-5ac339bd"), o = o(), C(), o), B = { class: "ui-input-range relative box-content h-lg py-xs" }, F = ["min", "max", "step"], E = /* @__PURE__ */ P(() => /* @__PURE__ */ l("div", { class: "pointer-events-none absolute left-0 top-1/2 h-xs w-full -translate-y-1/2 rounded bg-secondary-alt" }, null, -1)), T = /* @__PURE__ */ y({
1
+ import { defineComponent as y, computed as u, watch as _, ref as k, openBlock as w, createElementBlock as M, withDirectives as V, createElementVNode as s, vModelText as S, normalizeStyle as c, pushScopeId as I, popScopeId as C } from "vue";
2
+ const P = (o) => (I("data-v-196548ca"), o = o(), C(), o), z = { class: "ui-input-range relative box-content h-lg py-xs" }, B = ["min", "max", "step"], F = /* @__PURE__ */ P(() => /* @__PURE__ */ s("div", { class: "pointer-events-none absolute left-0 top-1/2 h-xs w-full -translate-y-1/2 rounded bg-secondary-alt" }, null, -1)), L = /* @__PURE__ */ y({
3
3
  __name: "ui-input-range",
4
4
  props: {
5
5
  modelValue: {},
@@ -9,7 +9,7 @@ const P = (o) => (I("data-v-5ac339bd"), o = o(), C(), o), B = { class: "ui-input
9
9
  },
10
10
  emits: ["update:modelValue"],
11
11
  setup(o, { emit: m }) {
12
- const e = o, p = m, a = i({
12
+ const e = o, p = m, a = u({
13
13
  get() {
14
14
  return e.modelValue;
15
15
  },
@@ -17,33 +17,33 @@ const P = (o) => (I("data-v-5ac339bd"), o = o(), C(), o), B = { class: "ui-input
17
17
  p("update:modelValue", t);
18
18
  }
19
19
  });
20
- w(() => [e.min, e.max], () => {
20
+ _(() => [e.min, e.max], () => {
21
21
  a.value < +e.min ? a.value = +e.min : a.value > +e.max && (a.value = +e.max);
22
22
  });
23
- const s = _(), u = i(() => Math.round((+e.modelValue - +e.min) / (+e.max - +e.min) * 100)), d = (t) => {
24
- if (s.value) {
23
+ const l = k(), i = u(() => Math.round((+e.modelValue - +e.min) / (+e.max - +e.min) * 100)), d = (t) => {
24
+ if (l.value) {
25
25
  const n = "clientX", {
26
26
  left: r,
27
27
  width: h
28
- } = s.value.getBoundingClientRect(), f = "touches" in t ? t.touches[0][n] : t[n], x = Math.min(Math.max((f - r) / h, 0), 1) || 0, g = parseFloat(String(e.min)) + x * (+e.max - +e.min), b = Math.round(g / +e.step) * +e.step;
28
+ } = l.value.getBoundingClientRect(), f = "touches" in t ? t.touches[0][n] : t[n], x = Math.min(Math.max((f - r) / h, 0), 1) || 0, g = parseFloat(String(e.min)) + x * (+e.max - +e.min), b = Math.round(g / +e.step) * +e.step;
29
29
  return parseFloat(Math.min(b, +e.max).toFixed(2));
30
30
  }
31
31
  }, v = (t) => {
32
32
  const n = d(t);
33
33
  n && (a.value = n);
34
34
  };
35
- return (t, n) => (k(), M("div", B, [
36
- V(l("input", {
35
+ return (t, n) => (w(), M("div", z, [
36
+ V(s("input", {
37
37
  ref_key: "track",
38
- ref: s,
38
+ ref: l,
39
39
  "onUpdate:modelValue": n[0] || (n[0] = (r) => a.value = r),
40
- class: "absolute left-0 top-0 h-full w-full cursor-pointer appearance-none bg-transparent",
40
+ class: "absolute left-0 top-0 size-full cursor-pointer appearance-none bg-transparent",
41
41
  type: "range",
42
42
  min: t.min,
43
43
  max: t.max,
44
44
  step: t.step,
45
45
  onTouchmove: v
46
- }, null, 40, F), [
46
+ }, null, 40, B), [
47
47
  [
48
48
  S,
49
49
  a.value,
@@ -51,21 +51,21 @@ const P = (o) => (I("data-v-5ac339bd"), o = o(), C(), o), B = { class: "ui-input
51
51
  { number: !0 }
52
52
  ]
53
53
  ]),
54
- E,
55
- l("div", {
54
+ F,
55
+ s("div", {
56
56
  class: "pointer-events-none absolute left-0 top-1/2 h-xs -translate-y-1/2 rounded bg-primary",
57
57
  style: c({
58
- width: u.value + "%"
58
+ width: i.value + "%"
59
59
  })
60
60
  }, null, 4),
61
- l("div", {
62
- class: "ui-input-range__thumb pointer-events-none absolute box-content h-xs w-xs -translate-x-1/2 -translate-y-1/2 rounded-full border-white bg-primary",
63
- style: c({ left: u.value + "%" })
61
+ s("div", {
62
+ class: "ui-input-range__thumb pointer-events-none absolute box-content size-xs -translate-x-1/2 -translate-y-1/2 rounded-full border-white bg-primary",
63
+ style: c({ left: i.value + "%" })
64
64
  }, null, 4)
65
65
  ]));
66
66
  }
67
67
  });
68
68
  export {
69
- T as default
69
+ L as default
70
70
  };
71
71
  //# sourceMappingURL=ui-input-range.vue2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ui-input-range.vue2.js","sources":["../../../src/components/ui-input-range/ui-input-range.vue"],"sourcesContent":["<template>\n\t<div\n\t\tclass=\"ui-input-range relative box-content h-lg py-xs\"\n\t>\n\t\t<input\n\t\t\tref=\"track\"\n\t\t\tv-model.number=\"rangeModel\"\n\t\t\tclass=\"absolute left-0 top-0 h-full w-full cursor-pointer appearance-none bg-transparent\"\n\t\t\ttype=\"range\"\n\t\t\t:min=\"min\"\n\t\t\t:max=\"max\"\n\t\t\t:step=\"step\"\n\t\t\t@touchmove=\"moveHandler\"\n\t\t>\n\n\t\t<div\n\t\t\tclass=\"pointer-events-none absolute left-0 top-1/2 h-xs w-full -translate-y-1/2 rounded bg-secondary-alt\"\n\t\t/>\n\n\t\t<div\n\t\t\tclass=\"pointer-events-none absolute left-0 top-1/2 h-xs -translate-y-1/2 rounded bg-primary\"\n\t\t\t:style=\"{\n\t\t\t\twidth: getPercentage + '%',\n\t\t\t}\"\n\t\t/>\n\n\t\t<div\n\t\t\tclass=\"\n\t\t\t\tui-input-range__thumb\n\t\t\t\tpointer-events-none\n\t\t\t\tabsolute\n\t\t\t\tbox-content\n\t\t\t\th-xs\n\t\t\t\tw-xs\n\t\t\t\t-translate-x-1/2\n\t\t\t\t-translate-y-1/2\n\t\t\t\trounded-full\n\t\t\t\tborder-white\n\t\t\t\tbg-primary\n\t\t\t\"\n\t\t\t:style=\"{left: getPercentage + '%'}\"\n\t\t/>\n\t</div>\n</template>\n\n<script lang=\"ts\" setup>\n\timport { computed, ref, watch } from \"vue\";\n\n\tconst props = defineProps<{\n\t\tmodelValue: number;\n\t\tmin: string | number;\n\t\tmax: string | number;\n\t\tstep: string | number;\n\t}>();\n\n\tconst emit = defineEmits<{\n\t\t(e: \"update:modelValue\", state: number): void\n\t}>();\n\n\tconst rangeModel = computed({\n\t\tget() {\n\t\t\treturn props.modelValue;\n\t\t},\n\t\tset(value) {\n\t\t\temit(\"update:modelValue\", value);\n\t\t}\n\t});\n\n\twatch(()=>[props.min, props.max], () => {\n\t\tif (rangeModel.value < +props.min) {\n\t\t\trangeModel.value = +props.min;\n\t\t} else if (rangeModel.value > +props.max) {\n\t\t\trangeModel.value = +props.max;\n\t\t}\n\t});\n\n\tconst track = ref();\n\n\tconst getPercentage = computed(() => {\n\t\treturn Math.round(((+props.modelValue - +props.min) / (+props.max - +props.min)) * 100);\n\t});\n\n\tconst parseMouseMove = (e: MouseEvent | TouchEvent) => {\n\t\tif (track.value) {\n\t\t\tconst CLICK = \"clientX\";\n\n\t\t\tconst {\n\t\t\t\tleft: trackStart,\n\t\t\t\twidth: trackLength,\n\t\t\t} = track.value.getBoundingClientRect();\n\n\t\t\tconst clickOffset = \"touches\" in e ? e.touches[0][CLICK] : e[CLICK];\n\n\t\t\t// It is possible for left to be NaN, force to number\n\t\t\tconst clickPos = Math.min(Math.max((clickOffset - trackStart ) / trackLength, 0), 1) || 0;\n\n\t\t\tconst mousePositionInPercent = parseFloat(String(props.min)) + clickPos * (+props.max - +props.min);\n\n\t\t\tconst newValue = Math.round((mousePositionInPercent) / +props.step) * +props.step;\n\n\t\t\treturn parseFloat(Math.min(newValue, +props.max).toFixed(2));\n\t\t}\n\t};\n\n\tconst moveHandler = (e: MouseEvent | TouchEvent) => {\n\t\tconst newValue = parseMouseMove(e);\n\n\t\tif (newValue) {\n\t\t\trangeModel.value = newValue;\n\t\t}\n\t};\n\n</script>\n\n<style scoped>\n\tinput[type=\"range\"]::-webkit-slider-thumb {\n\t\tappearance: none;\n\t\theight: 10px;\n\t\twidth: 10px;\n\t\ttransform: scale(4);\n\t\tbackground-color: transparent;\n\t\tborder: 0;\n\t\tbox-shadow: none;\n\t}\n\n\tinput[type=\"range\"]::-moz-range-thumb {\n\t\tappearance: none;\n\t\tbackground-color: transparent;\n\t\tborder: 0;\n\t\tbox-shadow: none;\n\t}\n\n\t.ui-input-range__thumb {\n\t\ttop: 50%;\n\t\tborder-width: 12px;\n\t\tbox-shadow: 0 0 0 4px var(--color-primary);\n\t}\n</style>\n"],"names":["props","__props","emit","__emit","rangeModel","computed","value","watch","track","ref","getPercentage","parseMouseMove","e","CLICK","trackStart","trackLength","clickOffset","clickPos","mousePositionInPercent","newValue","moveHandler"],"mappings":";;;;;;;;;;;AAgDC,UAAMA,IAAQC,GAORC,IAAOC,GAIPC,IAAaC,EAAS;AAAA,MAC3B,MAAM;AACL,eAAOL,EAAM;AAAA,MACd;AAAA,MACA,IAAIM,GAAO;AACV,QAAAJ,EAAK,qBAAqBI,CAAK;AAAA,MAChC;AAAA,IAAA,CACA;AAED,IAAAC,EAAM,MAAI,CAACP,EAAM,KAAKA,EAAM,GAAG,GAAG,MAAM;AACvC,MAAII,EAAW,QAAQ,CAACJ,EAAM,MAClBI,EAAA,QAAQ,CAACJ,EAAM,MAChBI,EAAW,QAAQ,CAACJ,EAAM,QACzBI,EAAA,QAAQ,CAACJ,EAAM;AAAA,IAC3B,CACA;AAED,UAAMQ,IAAQC,KAERC,IAAgBL,EAAS,MACvB,KAAK,OAAQ,CAACL,EAAM,aAAa,CAACA,EAAM,QAAQ,CAACA,EAAM,MAAM,CAACA,EAAM,OAAQ,GAAG,CACtF,GAEKW,IAAiB,CAACC,MAA+B;AACtD,UAAIJ,EAAM,OAAO;AAChB,cAAMK,IAAQ,WAER;AAAA,UACL,MAAMC;AAAA,UACN,OAAOC;AAAA,QAAA,IACJP,EAAM,MAAM,yBAEVQ,IAAc,aAAaJ,IAAIA,EAAE,QAAQ,CAAC,EAAEC,CAAK,IAAID,EAAEC,CAAK,GAG5DI,IAAW,KAAK,IAAI,KAAK,KAAKD,IAAcF,KAAeC,GAAa,CAAC,GAAG,CAAC,KAAK,GAElFG,IAAyB,WAAW,OAAOlB,EAAM,GAAG,CAAC,IAAIiB,KAAY,CAACjB,EAAM,MAAM,CAACA,EAAM,MAEzFmB,IAAW,KAAK,MAAOD,IAA0B,CAAClB,EAAM,IAAI,IAAI,CAACA,EAAM;AAEtE,eAAA,WAAW,KAAK,IAAImB,GAAU,CAACnB,EAAM,GAAG,EAAE,QAAQ,CAAC,CAAC;AAAA,MAC5D;AAAA,IAAA,GAGKoB,IAAc,CAACR,MAA+B;AAC7C,YAAAO,IAAWR,EAAeC,CAAC;AAEjC,MAAIO,MACHf,EAAW,QAAQe;AAAA,IACpB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"ui-input-range.vue2.js","sources":["../../../src/components/ui-input-range/ui-input-range.vue"],"sourcesContent":["<template>\n\t<div\n\t\tclass=\"ui-input-range relative box-content h-lg py-xs\"\n\t>\n\t\t<input\n\t\t\tref=\"track\"\n\t\t\tv-model.number=\"rangeModel\"\n\t\t\tclass=\"absolute left-0 top-0 size-full cursor-pointer appearance-none bg-transparent\"\n\t\t\ttype=\"range\"\n\t\t\t:min=\"min\"\n\t\t\t:max=\"max\"\n\t\t\t:step=\"step\"\n\t\t\t@touchmove=\"moveHandler\"\n\t\t>\n\n\t\t<div\n\t\t\tclass=\"pointer-events-none absolute left-0 top-1/2 h-xs w-full -translate-y-1/2 rounded bg-secondary-alt\"\n\t\t/>\n\n\t\t<div\n\t\t\tclass=\"pointer-events-none absolute left-0 top-1/2 h-xs -translate-y-1/2 rounded bg-primary\"\n\t\t\t:style=\"{\n\t\t\t\twidth: getPercentage + '%',\n\t\t\t}\"\n\t\t/>\n\n\t\t<div\n\t\t\tclass=\"\n\t\t\t\tui-input-range__thumb\n\t\t\t\tpointer-events-none\n\t\t\t\tabsolute\n\t\t\t\tbox-content\n\t\t\t\tsize-xs\n\t\t\t\t-translate-x-1/2\n\t\t\t\t-translate-y-1/2\n\t\t\t\trounded-full\n\t\t\t\tborder-white\n\t\t\t\tbg-primary\n\t\t\t\"\n\t\t\t:style=\"{left: getPercentage + '%'}\"\n\t\t/>\n\t</div>\n</template>\n\n<script lang=\"ts\" setup>\n\timport { computed, ref, watch } from \"vue\";\n\n\tconst props = defineProps<{\n\t\tmodelValue: number;\n\t\tmin: string | number;\n\t\tmax: string | number;\n\t\tstep: string | number;\n\t}>();\n\n\tconst emit = defineEmits([\"update:modelValue\"]);\n\n\tconst rangeModel = computed({\n\t\tget() {\n\t\t\treturn props.modelValue;\n\t\t},\n\t\tset(value) {\n\t\t\temit(\"update:modelValue\", value);\n\t\t}\n\t});\n\n\twatch(()=>[props.min, props.max], () => {\n\t\tif (rangeModel.value < +props.min) {\n\t\t\trangeModel.value = +props.min;\n\t\t} else if (rangeModel.value > +props.max) {\n\t\t\trangeModel.value = +props.max;\n\t\t}\n\t});\n\n\tconst track = ref();\n\n\tconst getPercentage = computed(() => {\n\t\treturn Math.round(((+props.modelValue - +props.min) / (+props.max - +props.min)) * 100);\n\t});\n\n\tconst parseMouseMove = (e: MouseEvent | TouchEvent) => {\n\t\tif (track.value) {\n\t\t\tconst CLICK = \"clientX\";\n\n\t\t\tconst {\n\t\t\t\tleft: trackStart,\n\t\t\t\twidth: trackLength,\n\t\t\t} = track.value.getBoundingClientRect();\n\n\t\t\tconst clickOffset = \"touches\" in e ? e.touches[0][CLICK] : e[CLICK];\n\n\t\t\t// It is possible for left to be NaN, force to number\n\t\t\tconst clickPos = Math.min(Math.max((clickOffset - trackStart ) / trackLength, 0), 1) || 0;\n\n\t\t\tconst mousePositionInPercent = parseFloat(String(props.min)) + clickPos * (+props.max - +props.min);\n\n\t\t\tconst newValue = Math.round((mousePositionInPercent) / +props.step) * +props.step;\n\n\t\t\treturn parseFloat(Math.min(newValue, +props.max).toFixed(2));\n\t\t}\n\t};\n\n\tconst moveHandler = (e: MouseEvent | TouchEvent) => {\n\t\tconst newValue = parseMouseMove(e);\n\n\t\tif (newValue) {\n\t\t\trangeModel.value = newValue;\n\t\t}\n\t};\n\n</script>\n\n<style scoped>\n\tinput[type=\"range\"]::-webkit-slider-thumb {\n\t\tappearance: none;\n\t\theight: 10px;\n\t\twidth: 10px;\n\t\ttransform: scale(4);\n\t\tbackground-color: transparent;\n\t\tborder: 0;\n\t\tbox-shadow: none;\n\t}\n\n\tinput[type=\"range\"]::-moz-range-thumb {\n\t\tappearance: none;\n\t\tbackground-color: transparent;\n\t\tborder: 0;\n\t\tbox-shadow: none;\n\t}\n\n\t.ui-input-range__thumb {\n\t\ttop: 50%;\n\t\tborder-width: 12px;\n\t\tbox-shadow: 0 0 0 4px var(--color-primary);\n\t}\n</style>\n"],"names":["props","__props","emit","__emit","rangeModel","computed","value","watch","track","ref","getPercentage","parseMouseMove","e","CLICK","trackStart","trackLength","clickOffset","clickPos","mousePositionInPercent","newValue","moveHandler"],"mappings":";;;;;;;;;;;AA+CC,UAAMA,IAAQC,GAORC,IAAOC,GAEPC,IAAaC,EAAS;AAAA,MAC3B,MAAM;AACL,eAAOL,EAAM;AAAA,MACd;AAAA,MACA,IAAIM,GAAO;AACV,QAAAJ,EAAK,qBAAqBI,CAAK;AAAA,MAChC;AAAA,IAAA,CACA;AAED,IAAAC,EAAM,MAAI,CAACP,EAAM,KAAKA,EAAM,GAAG,GAAG,MAAM;AACvC,MAAII,EAAW,QAAQ,CAACJ,EAAM,MAClBI,EAAA,QAAQ,CAACJ,EAAM,MAChBI,EAAW,QAAQ,CAACJ,EAAM,QACzBI,EAAA,QAAQ,CAACJ,EAAM;AAAA,IAC3B,CACA;AAED,UAAMQ,IAAQC,KAERC,IAAgBL,EAAS,MACvB,KAAK,OAAQ,CAACL,EAAM,aAAa,CAACA,EAAM,QAAQ,CAACA,EAAM,MAAM,CAACA,EAAM,OAAQ,GAAG,CACtF,GAEKW,IAAiB,CAACC,MAA+B;AACtD,UAAIJ,EAAM,OAAO;AAChB,cAAMK,IAAQ,WAER;AAAA,UACL,MAAMC;AAAA,UACN,OAAOC;AAAA,QAAA,IACJP,EAAM,MAAM,yBAEVQ,IAAc,aAAaJ,IAAIA,EAAE,QAAQ,CAAC,EAAEC,CAAK,IAAID,EAAEC,CAAK,GAG5DI,IAAW,KAAK,IAAI,KAAK,KAAKD,IAAcF,KAAeC,GAAa,CAAC,GAAG,CAAC,KAAK,GAElFG,IAAyB,WAAW,OAAOlB,EAAM,GAAG,CAAC,IAAIiB,KAAY,CAACjB,EAAM,MAAM,CAACA,EAAM,MAEzFmB,IAAW,KAAK,MAAOD,IAA0B,CAAClB,EAAM,IAAI,IAAI,CAACA,EAAM;AAEtE,eAAA,WAAW,KAAK,IAAImB,GAAU,CAACnB,EAAM,GAAG,EAAE,QAAQ,CAAC,CAAC;AAAA,MAC5D;AAAA,IAAA,GAGKoB,IAAc,CAACR,MAA+B;AAC7C,YAAAO,IAAWR,EAAeC,CAAC;AAEjC,MAAIO,MACHf,EAAW,QAAQe;AAAA,IACpB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -10,3 +10,4 @@ export declare enum EListItemSize {
10
10
  SM = "SM",
11
11
  MD = "MD"
12
12
  }
13
+ //# sourceMappingURL=_types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_types.d.ts","sourceRoot":"","sources":["../../../src/components/ui-list-item/_types.ts"],"names":[],"mappings":"AAAA,oBAAY,cAAc;IACzB,OAAO,YAAY;IACnB,QAAQ,aAAa;CACrB;AACD,oBAAY,gBAAgB;IAC3B,OAAO,YAAY;IACnB,OAAO,YAAY;CACnB;AAED,oBAAY,aAAa;IACxB,EAAE,OAAO;IACT,EAAE,OAAO;CACT"}
@@ -147,3 +147,4 @@ declare const deprecatedDefault: {
147
147
  };
148
148
  });
149
149
  export default deprecatedDefault;
150
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ui-list-item/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,CAAC;AACtB;;GAEG;AACH,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAa,CAAC;AACrC,eAAe,iBAAiB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
2
2
  import { type TIconName } from "../ui-icon";
3
3
  import { EListItemTypes, EListItemSpacing, EListItemSize } from "./_types";
4
4
  declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
@@ -15,7 +15,7 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
15
15
  title: string;
16
16
  icon: undefined;
17
17
  iconClass: string;
18
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
18
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
19
19
  icon?: TIconName | undefined;
20
20
  title?: string | undefined;
21
21
  kind?: EListItemTypes | undefined;
@@ -63,3 +63,4 @@ type __VLS_WithTemplateSlots<T, S> = T & {
63
63
  $slots: S;
64
64
  };
65
65
  };
66
+ //# sourceMappingURL=ui-list-item.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ui-list-item.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-list-item/ui-list-item.vue"],"names":[],"mappings":"AAsDA;AAEC,OAAe,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAGpD,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuM5E,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -1,42 +1,42 @@
1
- import { defineComponent as c, openBlock as i, createElementBlock as n, normalizeClass as l, unref as t, createCommentVNode as s, renderSlot as m, createBlock as a, createElementVNode as g, withCtx as d, createTextVNode as h, toDisplayString as E } from "vue";
1
+ import { defineComponent as c, openBlock as i, createElementBlock as n, normalizeClass as l, unref as t, createCommentVNode as s, renderSlot as m, createBlock as o, createElementVNode as g, withCtx as d, createTextVNode as h, toDisplayString as E } from "vue";
2
2
  import S from "../ui-icon/index.js";
3
3
  import u from "../ui-typography/index.js";
4
4
  import { ESize as C } from "../../_types/sizing.js";
5
- import { EListItemTypes as p, EListItemSize as o, EListItemSpacing as r } from "./_types.js";
5
+ import { EListItemTypes as p, EListItemSize as a, EListItemSpacing as r } from "./_types.js";
6
6
  import { ETextWeight as f } from "../ui-typography/_typings.js";
7
7
  const k = {
8
8
  key: 0,
9
9
  class: "ui-list-item__line absolute left-xs top-sm h-full w-xxs -translate-x-2/4 bg-primary-300 group-last:hidden"
10
- }, I = /* @__PURE__ */ c({
10
+ }, y = { class: "ml-md" }, v = /* @__PURE__ */ c({
11
11
  __name: "ui-list-item",
12
12
  props: {
13
13
  icon: { default: void 0 },
14
14
  title: { default: "" },
15
15
  kind: { default: p.DEFAULT },
16
- size: { default: o.SM },
16
+ size: { default: a.SM },
17
17
  spacing: { default: r.COMPACT },
18
18
  iconClass: { default: "" }
19
19
  },
20
- setup(y) {
21
- return (e, w) => (i(), n("li", {
20
+ setup(w) {
21
+ return (e, z) => (i(), n("li", {
22
22
  class: l(["ui-list-item group relative grid grid-flow-col justify-start gap-xs text-secondary", [
23
- e.size === t(o).SM && "text-sm",
24
- e.size === t(o).MD && "text-md",
23
+ e.size === t(a).SM && "text-sm",
24
+ e.size === t(a).MD && "text-md",
25
25
  e.spacing === t(r).DEFAULT && "pb-sm",
26
26
  e.spacing === t(r).COMPACT && "pb-xs"
27
27
  ]])
28
28
  }, [
29
29
  e.kind === t(p).PROGRESS ? (i(), n("div", k)) : s("", !0),
30
30
  m(e.$slots, "icon", {}, () => [
31
- e.icon ? (i(), a(t(S), {
31
+ e.icon ? (i(), o(t(S), {
32
32
  key: 0,
33
- class: l(["bg-white", e.iconClass]),
33
+ class: l(["absolute left-0 bg-white", e.iconClass]),
34
34
  "icon-name": e.icon,
35
35
  size: t(C).SM
36
36
  }, null, 8, ["class", "icon-name", "size"])) : s("", !0)
37
37
  ]),
38
- g("div", null, [
39
- e.title ? (i(), a(t(u), {
38
+ g("div", y, [
39
+ e.title ? (i(), o(t(u), {
40
40
  key: 0,
41
41
  weight: t(f).SEMI_BOLD
42
42
  }, {
@@ -45,7 +45,7 @@ const k = {
45
45
  ]),
46
46
  _: 1
47
47
  }, 8, ["weight"])) : s("", !0),
48
- e.$slots.default ? (i(), a(t(u), {
48
+ e.$slots.default ? (i(), o(t(u), {
49
49
  key: 1,
50
50
  class: l([e.title && "mt-xxs"]),
51
51
  weight: t(f).LIGHT
@@ -60,6 +60,6 @@ const k = {
60
60
  }
61
61
  });
62
62
  export {
63
- I as default
63
+ v as default
64
64
  };
65
65
  //# sourceMappingURL=ui-list-item.vue.js.map
@@ -4,3 +4,4 @@ export declare enum EModalSizes {
4
4
  LG = "lg",
5
5
  RESPONSIVE = "responsive"
6
6
  }
7
+ //# sourceMappingURL=_typings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_typings.d.ts","sourceRoot":"","sources":["../../../src/components/ui-modal/_typings.ts"],"names":[],"mappings":"AAAA,oBAAY,WAAW;IACtB,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,UAAU,eAAe;CACzB"}
@@ -72,3 +72,4 @@ declare const deprecatedDefault: {
72
72
  };
73
73
  });
74
74
  export default deprecatedDefault;
75
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ui-modal/index.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,gBAAgB,CAAC;AAErC,OAAO,EAAE,OAAO,EAAE,CAAC;AACnB,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AACzC;;GAEG;AACH,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAU,CAAC;AAClC,eAAe,iBAAiB,CAAC"}
@@ -22,3 +22,4 @@ declare const deprecatedDefault: {
22
22
  };
23
23
  });
24
24
  export default deprecatedDefault;
25
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ui-modal/ui-backdrop/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,mBAAmB,CAAC;AAE3C,OAAO,EAAE,UAAU,EAAE,CAAC;AAEtB;;GAEG;AACH,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;EAAa,CAAC;AACrC,eAAe,iBAAiB,CAAC"}
@@ -1,5 +1,5 @@
1
- import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
- declare const _default: __VLS_WithTemplateSlots<DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>, {
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
+ declare const _default: __VLS_WithTemplateSlots<DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>, {
3
3
  default?(_: {}): any;
4
4
  }>;
5
5
  export default _default;
@@ -8,3 +8,4 @@ type __VLS_WithTemplateSlots<T, S> = T & {
8
8
  $slots: S;
9
9
  };
10
10
  };
11
+ //# sourceMappingURL=ui-backdrop.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ui-backdrop.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui-modal/ui-backdrop/ui-backdrop.vue"],"names":[],"mappings":";;;AA0EA,wBAAwG;AACxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -1,4 +1,4 @@
1
- import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
2
2
  import { EModalSizes } from "./_typings";
3
3
  declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
4
  title?: string | undefined;
@@ -6,7 +6,7 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
6
6
  }>, {
7
7
  title: undefined;
8
8
  modalSize: EModalSizes;
9
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
9
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
10
10
  title?: string | undefined;
11
11
  modalSize?: EModalSizes | undefined;
12
12
  }>, {
@@ -44,3 +44,4 @@ type __VLS_WithTemplateSlots<T, S> = T & {
44
44
  $slots: S;
45
45
  };
46
46
  };
47
+ //# sourceMappingURL=ui-modal.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ui-modal.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-modal/ui-modal.vue"],"names":[],"mappings":"AA8DA;AAIC,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;AAsN1C,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -8,3 +8,4 @@ export declare enum ENotificationBadgeSizes {
8
8
  MEDIUM = "md",
9
9
  LARGE = "lg"
10
10
  }
11
+ //# sourceMappingURL=_types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_types.d.ts","sourceRoot":"","sources":["../../../src/components/ui-notification-badge/_types.ts"],"names":[],"mappings":"AAAA,oBAAY,YAAY;IACvB,OAAO,YAAY;IACnB,gBAAgB,qBAAqB;CACrC;AAED,oBAAY,uBAAuB;IAClC,OAAO,YAAY;IACnB,KAAK,OAAO;IACZ,MAAM,OAAO;IACb,KAAK,OAAO;CACZ"}
@@ -50,3 +50,4 @@ declare const deprecatedDefault: {
50
50
  };
51
51
  });
52
52
  export default deprecatedDefault;
53
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ui-notification-badge/index.ts"],"names":[],"mappings":"AAAA,OAAO,mBAAmB,MAAM,6BAA6B,CAAC;AAE9D,OAAO,EAAE,mBAAmB,EAAE,CAAC;AAC/B,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC;;GAEG;AACH,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAsB,CAAC;AAC9C,eAAe,iBAAiB,CAAC"}
@@ -1,10 +1,10 @@
1
- import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
2
2
  import { EBadgeOrigin } from "./_types";
3
3
  declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
4
  origin?: EBadgeOrigin | undefined;
5
5
  }>, {
6
6
  origin: EBadgeOrigin;
7
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
7
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
8
8
  origin?: EBadgeOrigin | undefined;
9
9
  }>, {
10
10
  origin: EBadgeOrigin;
@@ -36,3 +36,4 @@ type __VLS_WithTemplateSlots<T, S> = T & {
36
36
  $slots: S;
37
37
  };
38
38
  };
39
+ //# sourceMappingURL=ui-notification-badge.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ui-notification-badge.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-notification-badge/ui-notification-badge.vue"],"names":[],"mappings":"AAyBA;AAEC,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;;;;;;;;;;;;;;AAkFzC,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -2,3 +2,4 @@ export declare enum EOrderCardTypes {
2
2
  DEFAULT = "DEFAULT",
3
3
  WARNING = "WARNING"
4
4
  }
5
+ //# sourceMappingURL=_types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_types.d.ts","sourceRoot":"","sources":["../../../src/components/ui-order-card/_types.ts"],"names":[],"mappings":"AAAA,oBAAY,eAAe;IAC1B,OAAO,YAAY;IACnB,OAAO,YAAY;CACnB"}
@@ -68,3 +68,4 @@ declare const deprecatedDefault: {
68
68
  };
69
69
  });
70
70
  export default deprecatedDefault;
71
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ui-order-card/index.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAE,WAAW,EAAE,CAAC;AACvB;;GAEG;AACH,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAc,CAAC;AACtC,eAAe,iBAAiB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
2
2
  import type { TIconName } from "../ui-icon";
3
3
  import { EOrderCardTypes } from "./_types";
4
4
  declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
@@ -6,7 +6,7 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
6
6
  kind?: EOrderCardTypes | undefined;
7
7
  }>, {
8
8
  kind: EOrderCardTypes;
9
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
9
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
10
10
  iconName: TIconName;
11
11
  kind?: EOrderCardTypes | undefined;
12
12
  }>, {
@@ -41,3 +41,4 @@ type __VLS_WithTemplateSlots<T, S> = T & {
41
41
  $slots: S;
42
42
  };
43
43
  };
44
+ //# sourceMappingURL=ui-order-card.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ui-order-card.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-order-card/ui-order-card.vue"],"names":[],"mappings":"AA0DA;AAMC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;;;;;;;;;;;;;;;;;;AAgM5C,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}