bonkers-ui 1.0.67 → 1.0.69

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 (197) hide show
  1. package/.eslintrc.js +12 -2
  2. package/CONSTANTS.d.ts +3 -1
  3. package/CONSTANTS.d.ts.map +1 -1
  4. package/_types/align.d.ts +9 -0
  5. package/_types/align.d.ts.map +1 -0
  6. package/_types/colors.d.ts +55 -0
  7. package/_types/colors.d.ts.map +1 -0
  8. package/_types/colors.js +1 -1
  9. package/_types/colors.js.map +1 -1
  10. package/_types/sizing.d.ts +55 -0
  11. package/_types/sizing.d.ts.map +1 -0
  12. package/_types/sizing.js +1 -1
  13. package/_types/sizing.js.map +1 -1
  14. package/bonkers-ui.umd.js +7 -7
  15. package/bonkers-ui.umd.js.map +1 -1
  16. package/components/ui-alert/index.d.ts +6 -6
  17. package/components/ui-alert/ui-alert.vue.d.ts +10 -8
  18. package/components/ui-alert/ui-alert.vue.d.ts.map +1 -1
  19. package/components/ui-alert/ui-alert.vue.js +3 -3
  20. package/components/ui-badge/_typings.d.ts +5 -1
  21. package/components/ui-badge/_typings.d.ts.map +1 -1
  22. package/components/ui-badge/_typings.js +3 -3
  23. package/components/ui-badge/_typings.js.map +1 -1
  24. package/components/ui-badge/index.d.ts +53 -17
  25. package/components/ui-badge/index.d.ts.map +1 -1
  26. package/components/ui-badge/ui-badge.vue.d.ts +36 -12
  27. package/components/ui-badge/ui-badge.vue.d.ts.map +1 -1
  28. package/components/ui-badge/ui-badge.vue.js +41 -35
  29. package/components/ui-badge/ui-badge.vue.js.map +1 -1
  30. package/components/ui-ber-rank/index.d.ts +2 -2
  31. package/components/ui-ber-rank/ui-ber-rank.vue.d.ts +3 -3
  32. package/components/ui-ber-rank/ui-ber-rank.vue.d.ts.map +1 -1
  33. package/components/ui-button/index.d.ts +5 -5
  34. package/components/ui-button/ui-button.vue.d.ts +9 -7
  35. package/components/ui-button/ui-button.vue.d.ts.map +1 -1
  36. package/components/ui-button/ui-button.vue.js +4 -4
  37. package/components/ui-button/ui-button.vue.js.map +1 -1
  38. package/components/ui-card-cta/index.d.ts +5 -5
  39. package/components/ui-card-cta/ui-card-cta.vue.d.ts +17 -15
  40. package/components/ui-card-cta/ui-card-cta.vue.d.ts.map +1 -1
  41. package/components/ui-card-cta/ui-card-cta.vue.js +1 -1
  42. package/components/ui-card-result/index.d.ts +4 -4
  43. package/components/ui-card-result/ui-card-result.vue.d.ts +16 -14
  44. package/components/ui-card-result/ui-card-result.vue.d.ts.map +1 -1
  45. package/components/ui-card-result/ui-card-result.vue.js +4 -4
  46. package/components/ui-card-result/ui-card-result.vue2.js +14 -14
  47. package/components/ui-card-simple/_typings.d.ts +5 -0
  48. package/components/ui-card-simple/_typings.d.ts.map +1 -0
  49. package/components/ui-card-simple/index.d.ts +4 -4
  50. package/components/ui-card-simple/ui-card-simple.vue.d.ts +4 -2
  51. package/components/ui-card-simple/ui-card-simple.vue.d.ts.map +1 -1
  52. package/components/ui-card-simple/ui-card-simple.vue.js +7 -8
  53. package/components/ui-card-simple/ui-card-simple.vue.js.map +1 -1
  54. package/components/ui-checkbox/index.d.ts +5 -5
  55. package/components/ui-checkbox/ui-checkbox.vue.d.ts +15 -13
  56. package/components/ui-checkbox/ui-checkbox.vue.d.ts.map +1 -1
  57. package/components/ui-dropdown/index.d.ts +6 -6
  58. package/components/ui-dropdown/ui-dropdown.vue.d.ts +16 -14
  59. package/components/ui-dropdown/ui-dropdown.vue.d.ts.map +1 -1
  60. package/components/ui-dropdown/ui-dropdown.vue.js +4 -4
  61. package/components/ui-dropdown/ui-dropdown.vue.js.map +1 -1
  62. package/components/ui-icon/index.d.ts +3 -3
  63. package/components/ui-icon/ui-icon.vue.d.ts +4 -4
  64. package/components/ui-icon/ui-icon.vue.d.ts.map +1 -1
  65. package/components/ui-icon/ui-icon.vue.js +19 -15
  66. package/components/ui-icon/ui-icon.vue.js.map +1 -1
  67. package/components/ui-icon-wrapper/index.d.ts +5 -5
  68. package/components/ui-icon-wrapper/ui-icon-wrapper.vue.d.ts +7 -5
  69. package/components/ui-icon-wrapper/ui-icon-wrapper.vue.d.ts.map +1 -1
  70. package/components/ui-icon-wrapper/ui-icon-wrapper.vue.js +2 -2
  71. package/components/ui-icon-wrapper/ui-icon-wrapper.vue2.js +2 -2
  72. package/components/ui-input/index.d.ts +5 -5
  73. package/components/ui-input/ui-input.vue.d.ts +34 -32
  74. package/components/ui-input/ui-input.vue.d.ts.map +1 -1
  75. package/components/ui-input/ui-input.vue.js +3 -3
  76. package/components/ui-input/ui-input.vue.js.map +1 -1
  77. package/components/ui-input-range/index.d.ts +1 -1
  78. package/components/ui-input-range/ui-input-range.vue.d.ts.map +1 -1
  79. package/components/ui-input-range/ui-input-range.vue.js +2 -2
  80. package/components/ui-input-range/ui-input-range.vue2.js +11 -11
  81. package/components/ui-input-range/ui-input-range.vue2.js.map +1 -1
  82. package/components/ui-list-item/index.d.ts +9 -9
  83. package/components/ui-list-item/ui-list-item.vue.d.ts +22 -20
  84. package/components/ui-list-item/ui-list-item.vue.d.ts.map +1 -1
  85. package/components/ui-list-item/ui-list-item.vue.js +6 -6
  86. package/components/ui-modal/index.d.ts +5 -5
  87. package/components/ui-modal/ui-backdrop/index.d.ts +4 -4
  88. package/components/ui-modal/ui-backdrop/ui-backdrop.vue.d.ts +4 -2
  89. package/components/ui-modal/ui-backdrop/ui-backdrop.vue.d.ts.map +1 -1
  90. package/components/ui-modal/ui-backdrop/ui-backdrop.vue.js +6 -6
  91. package/components/ui-modal/ui-backdrop/ui-backdrop.vue.js.map +1 -1
  92. package/components/ui-modal/ui-modal.vue.d.ts +14 -12
  93. package/components/ui-modal/ui-modal.vue.d.ts.map +1 -1
  94. package/components/ui-modal/ui-modal.vue.js +2 -2
  95. package/components/ui-modal/ui-modal.vue2.js +20 -24
  96. package/components/ui-modal/ui-modal.vue2.js.map +1 -1
  97. package/components/ui-notification-badge/index.d.ts +5 -5
  98. package/components/ui-notification-badge/ui-notification-badge.vue.d.ts +9 -7
  99. package/components/ui-notification-badge/ui-notification-badge.vue.d.ts.map +1 -1
  100. package/components/ui-notification-badge/ui-notification-badge.vue.js +1 -1
  101. package/components/ui-order-card/index.d.ts +6 -6
  102. package/components/ui-order-card/ui-order-card.vue.d.ts +12 -10
  103. package/components/ui-order-card/ui-order-card.vue.d.ts.map +1 -1
  104. package/components/ui-order-card/ui-order-card.vue.js +4 -4
  105. package/components/ui-order-card/ui-order-card.vue.js.map +1 -1
  106. package/components/ui-plain-radio/index.d.ts +4 -4
  107. package/components/ui-plain-radio/ui-plain-radio.vue.d.ts +13 -11
  108. package/components/ui-plain-radio/ui-plain-radio.vue.d.ts.map +1 -1
  109. package/components/ui-plain-radio/ui-plain-radio.vue.js +5 -5
  110. package/components/ui-plain-radio/ui-plain-radio.vue.js.map +1 -1
  111. package/components/ui-product-card/index.d.ts +4 -0
  112. package/components/ui-product-card/index.d.ts.map +1 -0
  113. package/components/ui-progress/index.d.ts +10 -1
  114. package/components/ui-progress/index.d.ts.map +1 -1
  115. package/components/ui-progress/ui-progress.vue.d.ts +5 -0
  116. package/components/ui-progress/ui-progress.vue.d.ts.map +1 -1
  117. package/components/ui-progress/ui-progress.vue.js +29 -13
  118. package/components/ui-progress/ui-progress.vue.js.map +1 -1
  119. package/components/ui-radio/index.d.ts +5 -5
  120. package/components/ui-radio/ui-radio.vue.d.ts +13 -11
  121. package/components/ui-radio/ui-radio.vue.d.ts.map +1 -1
  122. package/components/ui-radio/ui-radio.vue.js +2 -2
  123. package/components/ui-radio/ui-radio.vue2.js +9 -9
  124. package/components/ui-radio/ui-radio.vue2.js.map +1 -1
  125. package/components/ui-radio-compact/index.d.ts +4 -4
  126. package/components/ui-radio-compact/ui-radio-compact.vue.d.ts +8 -6
  127. package/components/ui-radio-compact/ui-radio-compact.vue.d.ts.map +1 -1
  128. package/components/ui-radio-compact/ui-radio-compact.vue.js +5 -5
  129. package/components/ui-radio-compact/ui-radio-compact.vue.js.map +1 -1
  130. package/components/ui-radio-fancy/index.d.ts +6 -6
  131. package/components/ui-radio-fancy/ui-radio-fancy.vue.d.ts +14 -12
  132. package/components/ui-radio-fancy/ui-radio-fancy.vue.d.ts.map +1 -1
  133. package/components/ui-radio-fancy/ui-radio-fancy.vue.js +20 -20
  134. package/components/ui-radio-fancy/ui-radio-fancy.vue.js.map +1 -1
  135. package/components/ui-result-card-range/index.d.ts +5 -5
  136. package/components/ui-result-card-range/ui-result-card-range.vue.d.ts +11 -9
  137. package/components/ui-result-card-range/ui-result-card-range.vue.d.ts.map +1 -1
  138. package/components/ui-result-card-range/ui-result-card-range.vue.js +2 -2
  139. package/components/ui-ripple/index.d.ts +4 -4
  140. package/components/ui-ripple/ui-ripple.vue.d.ts +4 -2
  141. package/components/ui-ripple/ui-ripple.vue.d.ts.map +1 -1
  142. package/components/ui-select/index.d.ts +4 -4
  143. package/components/ui-select/ui-select.vue.d.ts +15 -13
  144. package/components/ui-select/ui-select.vue.d.ts.map +1 -1
  145. package/components/ui-select/ui-select.vue.js +5 -5
  146. package/components/ui-select/ui-select.vue.js.map +1 -1
  147. package/components/ui-skeleton/index.d.ts +2 -2
  148. package/components/ui-skeleton/ui-skeleton.vue.d.ts +3 -3
  149. package/components/ui-skeleton/ui-skeleton.vue.d.ts.map +1 -1
  150. package/components/ui-skeleton/ui-skeleton.vue.js +26 -28
  151. package/components/ui-skeleton/ui-skeleton.vue.js.map +1 -1
  152. package/components/ui-snackbar/index.d.ts +5 -5
  153. package/components/ui-snackbar/ui-snackbar.vue.d.ts +11 -9
  154. package/components/ui-snackbar/ui-snackbar.vue.d.ts.map +1 -1
  155. package/components/ui-snackbar/ui-snackbar.vue.js +2 -2
  156. package/components/ui-table/index.d.ts +5 -5
  157. package/components/ui-table/ui-table-cell/index.d.ts +5 -5
  158. package/components/ui-table/ui-table-cell/ui-table-cell.vue.d.ts +11 -9
  159. package/components/ui-table/ui-table-cell/ui-table-cell.vue.d.ts.map +1 -1
  160. package/components/ui-table/ui-table-cell/ui-table-cell.vue.js +1 -1
  161. package/components/ui-table/ui-table-row/index.d.ts +5 -5
  162. package/components/ui-table/ui-table-row/ui-table-row.vue.d.ts +9 -7
  163. package/components/ui-table/ui-table-row/ui-table-row.vue.d.ts.map +1 -1
  164. package/components/ui-table/ui-table-row/ui-table-row.vue.js +3 -3
  165. package/components/ui-table/ui-table.vue.d.ts +9 -7
  166. package/components/ui-table/ui-table.vue.d.ts.map +1 -1
  167. package/components/ui-table/ui-table.vue.js +4 -4
  168. package/components/ui-table/ui-table.vue2.js +1 -1
  169. package/components/ui-tabs/index.d.ts +1 -1
  170. package/components/ui-tabs/ui-tabs.vue.d.ts +2 -2
  171. package/components/ui-tabs/ui-tabs.vue.d.ts.map +1 -1
  172. package/components/ui-tabs/ui-tabs.vue.js +3 -3
  173. package/components/ui-tabs/ui-tabs.vue2.js +6 -6
  174. package/components/ui-tabs/ui-tabs.vue2.js.map +1 -1
  175. package/components/ui-toggle/index.d.ts +4 -4
  176. package/components/ui-toggle/ui-toggle.vue.d.ts +19 -17
  177. package/components/ui-toggle/ui-toggle.vue.d.ts.map +1 -1
  178. package/components/ui-toggle/ui-toggle.vue.js +3 -3
  179. package/components/ui-toggle/ui-toggle.vue2.js +8 -8
  180. package/components/ui-toggle/ui-toggle.vue2.js.map +1 -1
  181. package/components/ui-typography/index.d.ts +6 -6
  182. package/components/ui-typography/ui-typography.vue.d.ts +24 -22
  183. package/components/ui-typography/ui-typography.vue.d.ts.map +1 -1
  184. package/components/ui-typography/ui-typography.vue.js +7 -3
  185. package/components/ui-typography/ui-typography.vue.js.map +1 -1
  186. package/components/ui-verification-input/index.d.ts +4 -4
  187. package/components/ui-verification-input/ui-verification-input.vue.d.ts +6 -4
  188. package/components/ui-verification-input/ui-verification-input.vue.d.ts.map +1 -1
  189. package/index.js +48 -48
  190. package/package.json +39 -42
  191. package/plugin.ts +17 -10
  192. package/postcss.config.js +8 -0
  193. package/src/_styles/_colors.json +5 -1
  194. package/src/_styles/_spacing.json +7 -3
  195. package/tailwind.config.ts +1 -1
  196. package/types.js +56 -55
  197. package/types.js.map +1 -1
@@ -1,11 +1,8 @@
1
- import { defineComponent as f, openBlock as o, createElementBlock as a, normalizeClass as h, unref as t, renderSlot as i, createCommentVNode as s, createBlock as r, withCtx as m, createTextVNode as p, toDisplayString as w } from "vue";
2
- import d from "../ui-typography/index.js";
1
+ import { defineComponent as f, openBlock as o, createElementBlock as r, normalizeClass as h, unref as t, renderSlot as i, createCommentVNode as a, createBlock as s, withCtx as d, createTextVNode as p, toDisplayString as g } from "vue";
2
+ import m from "../ui-typography/index.js";
3
3
  import { EModalSizes as l } from "./_typings.js";
4
- import { ETextWeight as n, ETextAlign as u, ETypographySizes as g } from "../ui-typography/_typings.js";
5
- const c = {
6
- key: 0,
7
- class: "mb-sm mt-md"
8
- }, S = {
4
+ import { ETextWeight as n, ETextAlign as u, ETypographySizes as w } from "../ui-typography/_typings.js";
5
+ const S = { key: 0 }, E = {
9
6
  key: 2,
10
7
  class: "mt-auto w-full"
11
8
  }, C = /* @__PURE__ */ f({
@@ -14,48 +11,47 @@ const c = {
14
11
  title: { default: void 0 },
15
12
  modalSize: { default: l.SM }
16
13
  },
17
- setup(E) {
18
- return (e, y) => (o(), a("div", {
19
- class: h(["ui-modal max-height max-width inset-0 z-10 flex w-full flex-col items-center overflow-y-scroll rounded-2xl bg-white p-md shadow-md", [
14
+ setup(c) {
15
+ return (e, z) => (o(), r("div", {
16
+ class: h(["ui-modal max-height max-width inset-0 z-10 flex w-full flex-col items-center gap-md overflow-y-scroll rounded-2xl bg-white p-md shadow-md", [
20
17
  e.modalSize === t(l).SM && "h-fit max-w-[24rem]",
21
18
  e.modalSize === t(l).MD && "h-fit max-w-[32rem]",
22
19
  e.modalSize === t(l).LG && "h-fit max-w-[40rem]",
23
20
  e.modalSize === t(l).RESPONSIVE && "h-full"
24
21
  ]])
25
22
  }, [
26
- e.$slots.icon ? (o(), a("div", c, [
23
+ e.$slots.icon ? (o(), r("div", S, [
27
24
  i(e.$slots, "icon", {}, void 0, !0)
28
- ])) : s("", !0),
25
+ ])) : a("", !0),
29
26
  i(e.$slots, "title", {}, () => [
30
- e.title ? (o(), r(t(d), {
27
+ e.title ? (o(), s(t(m), {
31
28
  key: 0,
32
- class: "my-md",
33
29
  weight: t(n).BOLD,
34
30
  align: t(u).CENTER,
35
- size: t(g).LG
31
+ size: t(w).LG
36
32
  }, {
37
- default: m(() => [
38
- p(w(e.title), 1)
33
+ default: d(() => [
34
+ p(g(e.title), 1)
39
35
  ]),
40
36
  _: 1
41
- }, 8, ["weight", "align", "size"])) : s("", !0)
37
+ }, 8, ["weight", "align", "size"])) : a("", !0)
42
38
  ], !0),
43
- e.$slots.default ? (o(), r(t(d), {
39
+ e.$slots.default ? (o(), s(t(m), {
44
40
  key: 1,
45
41
  is: "div",
46
42
  weight: t(n).REGULAR,
47
43
  align: t(u).CENTER,
48
44
  "line-height": "",
49
- class: "mb-md w-full overflow-y-auto text-secondary"
45
+ class: "w-full overflow-y-auto text-secondary"
50
46
  }, {
51
- default: m(() => [
47
+ default: d(() => [
52
48
  i(e.$slots, "default", {}, void 0, !0)
53
49
  ]),
54
50
  _: 3
55
- }, 8, ["weight", "align"])) : s("", !0),
56
- e.$slots.footer ? (o(), a("div", S, [
51
+ }, 8, ["weight", "align"])) : a("", !0),
52
+ e.$slots.footer ? (o(), r("div", E, [
57
53
  i(e.$slots, "footer", {}, void 0, !0)
58
- ])) : s("", !0)
54
+ ])) : a("", !0)
59
55
  ], 2));
60
56
  }
61
57
  });
@@ -1 +1 @@
1
- {"version":3,"file":"ui-modal.vue2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"ui-modal.vue2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,6 +1,6 @@
1
- import { EBadgeOrigin } from './_types';
2
- import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
3
1
  import { default as UiNotificationBadge } from './ui-notification-badge.vue';
2
+ import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
3
+ import { EBadgeOrigin } from './_types';
4
4
 
5
5
  export { UiNotificationBadge };
6
6
  export { EBadgeOrigin } from './_types';
@@ -35,9 +35,9 @@ declare const deprecatedDefault: {
35
35
  }>>, {}, {}, {}, {}, {
36
36
  origin: EBadgeOrigin;
37
37
  }>;
38
- __isFragment?: undefined;
39
- __isTeleport?: undefined;
40
- __isSuspense?: undefined;
38
+ __isFragment?: never;
39
+ __isTeleport?: never;
40
+ __isSuspense?: never;
41
41
  } & ComponentOptionsBase<Readonly< ExtractPropTypes<{
42
42
  origin: {
43
43
  type: PropType<EBadgeOrigin>;
@@ -1,19 +1,21 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
2
1
  import { EBadgeOrigin } from './_types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
3
 
4
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
5
- origin?: EBadgeOrigin | undefined;
4
+ declare function __VLS_template(): {
5
+ default?(_: {}): any;
6
+ };
7
+ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
8
+ origin?: EBadgeOrigin;
6
9
  }>, {
7
10
  origin: EBadgeOrigin;
8
11
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
9
- origin?: EBadgeOrigin | undefined;
12
+ origin?: EBadgeOrigin;
10
13
  }>, {
11
14
  origin: EBadgeOrigin;
12
15
  }>>>, {
13
16
  origin: EBadgeOrigin;
14
- }, {}>, {
15
- default?(_: {}): any;
16
- }>;
17
+ }, {}>;
18
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
17
19
  export default _default;
18
20
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
19
21
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1 +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"}
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;AAiBzC,iBAAS,cAAc;qBAwCM,GAAG;EAK/B;AAWD,QAAA,MAAM,eAAe;aAMV,YAAY;;;;aAAZ,YAAY;;;;YAAZ,YAAY;MAErB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,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"}
@@ -9,7 +9,7 @@ const p = /* @__PURE__ */ r({
9
9
  return (e, d) => (n(), i("div", {
10
10
  class: a(["notification-badge absolute h-sm min-w-sm rounded-full border border-white bg-error text-center text-xxs font-bold leading-none text-white", [
11
11
  e.origin === t(o).DEFAULT && "right-0 top-0",
12
- e.origin === t(o).OFFSET_TOP_RIGHT && "-right-xxs -top-xxs"
12
+ e.origin === t(o).OFFSET_TOP_RIGHT && "-right-xxxs -top-xxxs"
13
13
  ]])
14
14
  }, [
15
15
  s(e.$slots, "default")
@@ -1,7 +1,7 @@
1
- import { TIconName } from '../ui-icon';
2
- import { EOrderCardTypes } from './_types';
3
- import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
4
1
  import { default as UiOrderCard } from './ui-order-card.vue';
2
+ import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
3
+ import { EOrderCardTypes } from './_types';
4
+ import { TIconName } from '../ui-icon';
5
5
 
6
6
  export { UiOrderCard };
7
7
  /**
@@ -47,9 +47,9 @@ declare const deprecatedDefault: {
47
47
  }>>, {}, {}, {}, {}, {
48
48
  kind: EOrderCardTypes;
49
49
  }>;
50
- __isFragment?: undefined;
51
- __isTeleport?: undefined;
52
- __isSuspense?: undefined;
50
+ __isFragment?: never;
51
+ __isTeleport?: never;
52
+ __isSuspense?: never;
53
53
  } & ComponentOptionsBase<Readonly< ExtractPropTypes<{
54
54
  kind: {
55
55
  type: PropType<EOrderCardTypes>;
@@ -1,24 +1,26 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
2
- import { EOrderCardTypes } from './_types';
3
1
  import { TIconName } from '../ui-icon';
2
+ import { EOrderCardTypes } from './_types';
3
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
4
4
 
5
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
5
+ declare function __VLS_template(): {
6
+ title?(_: {}): any;
7
+ textBody?(_: {}): any;
8
+ footer?(_: {}): any;
9
+ };
10
+ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
6
11
  iconName: TIconName;
7
- kind?: EOrderCardTypes | undefined;
12
+ kind?: EOrderCardTypes;
8
13
  }>, {
9
14
  kind: EOrderCardTypes;
10
15
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
11
16
  iconName: TIconName;
12
- kind?: EOrderCardTypes | undefined;
17
+ kind?: EOrderCardTypes;
13
18
  }>, {
14
19
  kind: EOrderCardTypes;
15
20
  }>>>, {
16
21
  kind: EOrderCardTypes;
17
- }, {}>, {
18
- title?(_: {}): any;
19
- textBody?(_: {}): any;
20
- footer?(_: {}): any;
21
- }>;
22
+ }, {}>;
23
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
22
24
  export default _default;
23
25
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
24
26
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1 +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"}
1
+ {"version":3,"file":"ui-order-card.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-order-card/ui-order-card.vue"],"names":[],"mappings":"AAkEA;AAMC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAyB5C,iBAAS,cAAc;mBAsIK,GAAG;sBACA,GAAG;oBACL,GAAG;EAG/B;AAkBD,QAAA,MAAM,eAAe;cAMT,SAAS;WACZ,eAAe;;;;cADZ,SAAS;WACZ,eAAe;;;;UAAf,eAAe;MAEtB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,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"}
@@ -12,8 +12,8 @@ const I = /* @__PURE__ */ c({
12
12
  kind: { default: r.DEFAULT }
13
13
  },
14
14
  setup(f) {
15
- const g = f, k = w(() => {
16
- switch (g.kind) {
15
+ const k = f, g = w(() => {
16
+ switch (k.kind) {
17
17
  case r.WARNING:
18
18
  return u.WARNING_700;
19
19
  default:
@@ -40,7 +40,7 @@ const I = /* @__PURE__ */ c({
40
40
  t.kind === e(r).DEFAULT && "text-primary-700",
41
41
  t.kind === e(r).WARNING && "text-warning-700"
42
42
  ]]),
43
- kind: k.value,
43
+ kind: g.value,
44
44
  size: e(m).XL,
45
45
  weight: e(p).BOLD
46
46
  }, {
@@ -65,7 +65,7 @@ const I = /* @__PURE__ */ c({
65
65
  }, 8, ["class", "size", "weight"])) : d("", !0),
66
66
  t.$slots.footer ? (s(), n(e(l), {
67
67
  key: 2,
68
- class: i(["rounded-b-lg py-sm text-white", [
68
+ class: i(["rounded-b-xl py-sm text-white", [
69
69
  t.kind === e(r).DEFAULT && "bg-primary-700",
70
70
  t.kind === e(r).WARNING && "bg-warning-700"
71
71
  ]]),
@@ -1 +1 @@
1
- {"version":3,"file":"ui-order-card.vue.js","sources":["../../../src/components/ui-order-card/ui-order-card.vue"],"sourcesContent":["<template>\n\t<div\n\t\tclass=\"ui-order-card relative mt-sm rounded-md pt-md text-center\"\n\t\t:class=\"[\n\t\t\tkind === EOrderCardTypes.DEFAULT && 'bg-primary-300 text-white',\n\t\t\tkind === EOrderCardTypes.WARNING && 'bg-warning-300 text-warning-700'\n\t\t]\"\n\t>\n\t\t<ui-icon\n\t\t\t:icon-name=\"iconName\"\n\t\t\t:size=\"ESize.LG\"\n\t\t\tclass=\"absolute left-1/2 top-0 -translate-x-1/2 -translate-y-1/2 rounded-full bg-primary-300\"\n\t\t\t:class=\"[\n\t\t\t\tkind === EOrderCardTypes.DEFAULT && 'text-white',\n\t\t\t\tkind === EOrderCardTypes.WARNING && 'bg-warning-300 text-white'\n\t\t\t]\"\n\t\t/>\n\t\t<ui-typography\n\t\t\tv-if=\"$slots.title\"\n\t\t\tclass=\"pt-sm\"\n\t\t\t:class=\"[\n\t\t\t\tkind === EOrderCardTypes.DEFAULT && 'text-primary-700',\n\t\t\t\tkind === EOrderCardTypes.WARNING && 'text-warning-700'\n\t\t\t]\"\n\t\t\t:kind=\"pickKind\"\n\t\t\t:size=\"ETypographySizes.XL\"\n\t\t\t:weight=\"ETextWeight.BOLD\"\n\t\t>\n\t\t\t<slot name=\"title\" />\n\t\t</ui-typography>\n\n\t\t<ui-typography\n\t\t\tv-if=\"$slots.textBody\"\n\t\t\tclass=\"mb-sm p-sm\"\n\t\t\t:class=\"[\n\t\t\t\tkind === EOrderCardTypes.DEFAULT && 'text-primary-700',\n\t\t\t\tkind === EOrderCardTypes.WARNING && 'text-warning-700'\n\t\t\t]\"\n\t\t\t:size=\"ETypographySizes.MD\"\n\t\t\t:weight=\"ETextWeight.REGULAR\"\n\t\t>\n\t\t\t<slot name=\"textBody\" />\n\t\t</ui-typography>\n\n\t\t<ui-typography\n\t\t\tv-if=\"$slots.footer\"\n\t\t\tclass=\"rounded-b-lg py-sm text-white\"\n\t\t\t:class=\"[\n\t\t\t\tkind === EOrderCardTypes.DEFAULT && 'bg-primary-700',\n\t\t\t\tkind === EOrderCardTypes.WARNING && 'bg-warning-700'\n\t\t\t]\"\n\t\t\t:size=\"ETypographySizes.XXS\"\n\t\t\t:weight=\"ETextWeight.REGULAR\"\n\t\t>\n\t\t\t<slot name=\"footer\" />\n\t\t</ui-typography>\n\t</div>\n</template>\n\n<script lang=\"ts\" setup>\n\timport { computed } from \"vue\";\n\timport { ESize } from \"../../_types/sizing\";\n\timport { EColors } from \"../../_types/colors\";\n\timport UiTypography, { ETextWeight, ETypographySizes } from \"../ui-typography\";\n\timport type { TIconName } from \"../ui-icon\";\n\timport UiIcon from \"../ui-icon\";\n\timport { EOrderCardTypes } from \"./_types\";\n\n\tconst props = withDefaults(defineProps<{\n\t\ticonName: TIconName;\n\t\tkind?: EOrderCardTypes;\n\t}>(), {\n\t\tkind: EOrderCardTypes.DEFAULT\n\t});\n\n\tconst pickKind = computed(()=>{\n\t\tswitch (props.kind) {\n\t\t\tcase EOrderCardTypes.WARNING: return EColors.WARNING_700;\n\t\t\tdefault: return EColors.PRIMARY_700;\n\t\t}\n\t});\n\n</script>\n"],"names":["props","__props","pickKind","computed","EOrderCardTypes","EColors"],"mappings":";;;;;;;;;;;;;;AAoEC,UAAMA,IAAQC,GAORC,IAAWC,EAAS,MAAI;AAC7B,cAAQH,EAAM,MAAM;AAAA,QACnB,KAAKI,EAAgB;AAAS,iBAAOC,EAAQ;AAAA,QAC7C;AAAS,iBAAOA,EAAQ;AAAA,MACzB;AAAA,IAAA,CACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"ui-order-card.vue.js","sources":["../../../src/components/ui-order-card/ui-order-card.vue"],"sourcesContent":["<template>\n\t<div\n\t\tclass=\"ui-order-card relative mt-sm rounded-md pt-md text-center\"\n\t\t:class=\"[\n\t\t\tkind === EOrderCardTypes.DEFAULT && 'bg-primary-300 text-white',\n\t\t\tkind === EOrderCardTypes.WARNING && 'bg-warning-300 text-warning-700'\n\t\t]\"\n\t>\n\t\t<ui-icon\n\t\t\t:icon-name=\"iconName\"\n\t\t\t:size=\"ESize.LG\"\n\t\t\tclass=\"\n\t\t\t\tabsolute\n\t\t\t\tleft-1/2\n\t\t\t\ttop-0\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\tbg-primary-300\n\t\t\t\t\"\n\t\t\t:class=\"[\n\t\t\t\tkind === EOrderCardTypes.DEFAULT && 'text-white',\n\t\t\t\tkind === EOrderCardTypes.WARNING && 'bg-warning-300 text-white'\n\t\t\t]\"\n\t\t/>\n\t\t<ui-typography\n\t\t\tv-if=\"$slots.title\"\n\t\t\tclass=\"pt-sm\"\n\t\t\t:class=\"[\n\t\t\t\tkind === EOrderCardTypes.DEFAULT && 'text-primary-700',\n\t\t\t\tkind === EOrderCardTypes.WARNING && 'text-warning-700'\n\t\t\t]\"\n\t\t\t:kind=\"pickKind\"\n\t\t\t:size=\"ETypographySizes.XL\"\n\t\t\t:weight=\"ETextWeight.BOLD\"\n\t\t>\n\t\t\t<slot name=\"title\" />\n\t\t</ui-typography>\n\n\t\t<ui-typography\n\t\t\tv-if=\"$slots.textBody\"\n\t\t\tclass=\"mb-sm p-sm\"\n\t\t\t:class=\"[\n\t\t\t\tkind === EOrderCardTypes.DEFAULT && 'text-primary-700',\n\t\t\t\tkind === EOrderCardTypes.WARNING && 'text-warning-700'\n\t\t\t]\"\n\t\t\t:size=\"ETypographySizes.MD\"\n\t\t\t:weight=\"ETextWeight.REGULAR\"\n\t\t>\n\t\t\t<slot name=\"textBody\" />\n\t\t</ui-typography>\n\n\t\t<ui-typography\n\t\t\tv-if=\"$slots.footer\"\n\t\t\tclass=\"rounded-b-xl py-sm text-white\"\n\t\t\t:class=\"[\n\t\t\t\tkind === EOrderCardTypes.DEFAULT && 'bg-primary-700',\n\t\t\t\tkind === EOrderCardTypes.WARNING && 'bg-warning-700'\n\t\t\t]\"\n\t\t\t:size=\"ETypographySizes.XXS\"\n\t\t\t:weight=\"ETextWeight.REGULAR\"\n\t\t>\n\t\t\t<slot name=\"footer\" />\n\t\t</ui-typography>\n\t</div>\n</template>\n\n<script lang=\"ts\" setup>\n\timport { computed } from \"vue\";\n\timport { ESize } from \"../../_types/sizing\";\n\timport { EColors } from \"../../_types/colors\";\n\timport UiTypography, { ETextWeight, ETypographySizes } from \"../ui-typography\";\n\timport type { TIconName } from \"../ui-icon\";\n\timport UiIcon from \"../ui-icon\";\n\timport { EOrderCardTypes } from \"./_types\";\n\n\tconst props = withDefaults(defineProps<{\n\t\ticonName: TIconName;\n\t\tkind?: EOrderCardTypes;\n\t}>(), {\n\t\tkind: EOrderCardTypes.DEFAULT\n\t});\n\n\tconst pickKind = computed(()=>{\n\t\tswitch (props.kind) {\n\t\t\tcase EOrderCardTypes.WARNING: return EColors.WARNING_700;\n\t\t\tdefault: return EColors.PRIMARY_700;\n\t\t}\n\t});\n\n</script>\n"],"names":["props","__props","pickKind","computed","EOrderCardTypes","EColors"],"mappings":";;;;;;;;;;;;;;AA4EC,UAAMA,IAAQC,GAORC,IAAWC,EAAS,MAAI;AAC7B,cAAQH,EAAM,MAAM;AAAA,QACnB,KAAKI,EAAgB;AAAS,iBAAOC,EAAQ;AAAA,QAC7C;AAAS,iBAAOA,EAAQ;AAAA,MACzB;AAAA,IAAA,CACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,5 +1,5 @@
1
- import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
2
1
  import { default as UiPlainRadio } from './ui-plain-radio.vue';
2
+ import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
3
3
 
4
4
  export { UiPlainRadio };
5
5
  /**
@@ -88,9 +88,9 @@ declare const deprecatedDefault: {
88
88
  }>> & {
89
89
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
90
90
  }, {}, {}, {}, {}, {}>;
91
- __isFragment?: undefined;
92
- __isTeleport?: undefined;
93
- __isSuspense?: undefined;
91
+ __isFragment?: never;
92
+ __isTeleport?: never;
93
+ __isSuspense?: never;
94
94
  } & ComponentOptionsBase<Readonly< ExtractPropTypes<{
95
95
  modelValue: {
96
96
  type: PropType<string | number | boolean>;
@@ -1,26 +1,28 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
2
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
+ declare function __VLS_template(): {
3
+ header?(_: {}): any;
4
+ subHeader?(_: {}): any;
5
+ };
6
+ declare const __VLS_component: DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
7
  modelValue: string | number | boolean;
4
- header?: string | undefined;
5
- subHeader?: string | undefined;
8
+ header?: string;
9
+ subHeader?: string;
6
10
  name: string;
7
11
  value: string | number | boolean;
8
- disabled?: boolean | undefined;
12
+ disabled?: boolean;
9
13
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
10
14
  "update:modelValue": (...args: any[]) => void;
11
15
  }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
12
16
  modelValue: string | number | boolean;
13
- header?: string | undefined;
14
- subHeader?: string | undefined;
17
+ header?: string;
18
+ subHeader?: string;
15
19
  name: string;
16
20
  value: string | number | boolean;
17
- disabled?: boolean | undefined;
21
+ disabled?: boolean;
18
22
  }>>> & {
19
23
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
20
- }, {}, {}>, {
21
- header?(_: {}): any;
22
- subHeader?(_: {}): any;
23
- }>;
24
+ }, {}, {}>;
25
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
24
26
  export default _default;
25
27
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
26
28
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1 +1 @@
1
- {"version":3,"file":"ui-plain-radio.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-plain-radio/ui-plain-radio.vue"],"names":[],"mappings":"AA4FA;;;;;;;;;;;;;;;;;;;;;;;AAiMA,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,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"ui-plain-radio.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-plain-radio/ui-plain-radio.vue"],"names":[],"mappings":"AA0FA;AA+BA,iBAAS,cAAc;oBAuHM,GAAG;uBACA,GAAG;EAKlC;AAsBD,QAAA,MAAM,eAAe;gBAMP,MAAM,GAAG,MAAM,GAAG,OAAO;aAC5B,MAAM;gBACH,MAAM;UACZ,MAAM;WACL,MAAM,GAAG,MAAM,GAAG,OAAO;eACrB,OAAO;;;;gBALN,MAAM,GAAG,MAAM,GAAG,OAAO;aAC5B,MAAM;gBACH,MAAM;UACZ,MAAM;WACL,MAAM,GAAG,MAAM,GAAG,OAAO;eACrB,OAAO;;;UAGlB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,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,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 as g, computed as k, openBlock as y, createElementBlock as w, withDirectives as x, createElementVNode as t, vModelRadio as S, normalizeClass as V, createVNode as l, unref as r, renderSlot as i, withCtx as s, createTextVNode as n, toDisplayString as p } from "vue";
1
+ import { defineComponent as g, computed as x, openBlock as k, createElementBlock as y, withDirectives as w, createElementVNode as t, vModelRadio as S, normalizeClass as V, createVNode as l, unref as r, renderSlot as i, withCtx as s, createTextVNode as n, toDisplayString as p } from "vue";
2
2
  import z from "../ui-radio/index.js";
3
3
  import u from "../ui-typography/index.js";
4
4
  import { ETypographySizes as b, ETextWeight as E } from "../ui-typography/_typings.js";
@@ -15,7 +15,7 @@ const D = ["for"], N = ["id", "value", "disabled"], H = /* @__PURE__ */ g({
15
15
  },
16
16
  emits: ["update:modelValue"],
17
17
  setup(c, { emit: f }) {
18
- const h = c, v = f, o = k({
18
+ const h = c, v = f, o = x({
19
19
  get() {
20
20
  return h.modelValue;
21
21
  },
@@ -23,11 +23,11 @@ const D = ["for"], N = ["id", "value", "disabled"], H = /* @__PURE__ */ g({
23
23
  v("update:modelValue", e);
24
24
  }
25
25
  });
26
- return (e, a) => (y(), w("label", {
26
+ return (e, a) => (k(), y("label", {
27
27
  class: "ui-plain-radio relative mb-sm",
28
28
  for: e.name + e.value
29
29
  }, [
30
- x(t("input", {
30
+ w(t("input", {
31
31
  id: e.name + e.value,
32
32
  "onUpdate:modelValue": a[0] || (a[0] = (d) => o.value = d),
33
33
  value: e.value,
@@ -39,7 +39,7 @@ const D = ["for"], N = ["id", "value", "disabled"], H = /* @__PURE__ */ g({
39
39
  [S, o.value]
40
40
  ]),
41
41
  t("div", {
42
- class: V(["ui-plain-radio__content box-border grid size-full cursor-pointer grid-flow-col items-center justify-start gap-sm rounded-xl border border-secondary-alt-500 bg-white p-sm before:absolute before:-z-10 before:box-border before:rounded-[16px] before:bg-primary-300 hover:border-secondary-alt-700 peer-checked:border-transparent peer-checked:shadow-selected-shadow peer-checked:hover:shadow-border-selected peer-checked:active:shadow-border-primary peer-checked:active:before:-bottom-xs peer-checked:active:before:-left-xs peer-checked:active:before:-right-xs peer-checked:active:before:-top-xs peer-focus:before:-bottom-xs peer-focus:before:-left-xs peer-focus:before:-right-xs peer-focus:before:-top-xs peer-active:before:-bottom-xxs peer-active:before:-left-xxs peer-active:before:-right-xxs peer-active:before:-top-xxs", e.disabled && "pointer-events-none border-secondary-alt-400 peer-checked:shadow-border-primary-disabled"])
42
+ class: V(["ui-plain-radio__content box-border grid size-full cursor-pointer grid-flow-col items-center justify-start gap-sm rounded-lg border border-secondary-alt-500 bg-white p-sm before:absolute before:-z-10 before:box-border before:rounded-2xl before:bg-primary-300 hover:border-secondary-alt-700 peer-checked:border-transparent peer-checked:shadow-selected-shadow peer-checked:hover:shadow-border-selected peer-checked:active:shadow-border-primary peer-checked:active:before:-bottom-xxs peer-checked:active:before:-left-xxs peer-checked:active:before:-right-xxs peer-checked:active:before:-top-xxs peer-focus:before:-bottom-xxs peer-focus:before:-left-xxs peer-focus:before:-right-xxs peer-focus:before:-top-xxs peer-active:before:-bottom-xxs peer-active:before:-left-xxs peer-active:before:-right-xxs peer-active:before:-top-xxs", e.disabled && "pointer-events-none border-secondary-alt-400 peer-checked:shadow-border-primary-disabled"])
43
43
  }, [
44
44
  l(r(z), {
45
45
  modelValue: o.value,
@@ -1 +1 @@
1
- {"version":3,"file":"ui-plain-radio.vue.js","sources":["../../../src/components/ui-plain-radio/ui-plain-radio.vue"],"sourcesContent":["<template>\n\t<label\n\t\tclass=\"ui-plain-radio relative mb-sm\"\n\t\t:for=\"name + value\"\n\t>\n\n\t\t<input\n\t\t\t:id=\"name + value\"\n\t\t\tv-model=\"radioModel\"\n\t\t\t:value=\"value\"\n\t\t\tname=\"ui-plain-radio\"\n\t\t\ttype=\"radio\"\n\t\t\t:disabled=\"disabled\"\n\t\t\tclass=\"peer absolute appearance-none\"\n\t\t>\n\n\t\t<div\n\t\t\tclass=\"ui-plain-radio__content\n\t\t\t\tbox-border\n\t\t\t\tgrid\n\t\t\t\tsize-full\n\t\t\t\tcursor-pointer\n\t\t\t\tgrid-flow-col\n\t\t\t\titems-center\n\t\t\t\tjustify-start\n\t\t\t\tgap-sm\n\t\t\t\trounded-xl border\n\t\t\t\tborder-secondary-alt-500\n\t\t\t\tbg-white\n\t\t\t\tp-sm\n\t\t\t\tbefore:absolute\n\t\t\t\tbefore:-z-10\n\t\t\t\tbefore:box-border\n\n\t\t\t\tbefore:rounded-[16px]\n\t\t\t\tbefore:bg-primary-300\n\t\t\t\thover:border-secondary-alt-700\n\t\t\t\tpeer-checked:border-transparent\n\t\t\t\tpeer-checked:shadow-selected-shadow\n\n\t\t\t\tpeer-checked:hover:shadow-border-selected\n\t\t\t\tpeer-checked:active:shadow-border-primary\n\t\t\t\tpeer-checked:active:before:-bottom-xs\n\t\t\t\tpeer-checked:active:before:-left-xs\n\t\t\t\tpeer-checked:active:before:-right-xs\n\t\t\t\tpeer-checked:active:before:-top-xs\n\n\t\t\t\tpeer-focus:before:-bottom-xs\n\t\t\t\tpeer-focus:before:-left-xs\n\n\t\t\t\tpeer-focus:before:-right-xs\n\t\t\t\tpeer-focus:before:-top-xs\n\t\t\t\tpeer-active:before:-bottom-xxs\n\t\t\t\tpeer-active:before:-left-xxs\n\n\t\t\t\tpeer-active:before:-right-xxs\n\t\t\t\tpeer-active:before:-top-xxs\"\n\t\t\t:class=\"disabled\n\t\t\t\t&& 'pointer-events-none border-secondary-alt-400 peer-checked:shadow-border-primary-disabled'\"\n\t\t>\n\t\t\t<ui-radio\n\t\t\t\tv-model=\"radioModel\"\n\t\t\t\t:value=\"value.toString()\"\n\t\t\t\t:name=\"name\"\n\t\t\t\t:disabled=\"disabled\"\n\t\t\t\tclass=\"pointer-events-none\"\n\t\t\t/>\n\n\t\t\t<span>\n\t\t\t\t<slot name=\"header\">\n\t\t\t\t\t<ui-typography\n\t\t\t\t\t\t:size=\"ETypographySizes.SM\"\n\t\t\t\t\t\t:kind=\"EColors.SECONDARY\"\n\t\t\t\t\t\t:weight=\"ETextWeight.SEMI_BOLD\"\n\t\t\t\t\t\tline-height\n\t\t\t\t\t>\n\t\t\t\t\t\t{{ header }}\n\t\t\t\t\t</ui-typography>\n\t\t\t\t</slot>\n\n\t\t\t\t<slot name=\"subHeader\">\n\t\t\t\t\t<ui-typography\n\t\t\t\t\t\t:size=\"ETypographySizes.XS\"\n\t\t\t\t\t\t:kind=\"EColors.SECONDARY_ALT\"\n\t\t\t\t\t>\n\t\t\t\t\t\t{{ subHeader }}\n\t\t\t\t\t</ui-typography>\n\t\t\t\t</slot>\n\t\t\t</span>\n\t\t</div>\n\t</label>\n</template>\n\n<script lang=\"ts\" setup>\n\timport { computed } from \"vue\";\n\timport UiRadio from \"../ui-radio\";\n\timport UiTypography, { ETypographySizes, EColors, ETextWeight } from \"../ui-typography\";\n\n\tconst props = defineProps<{\n\t\tmodelValue: string | number | boolean;\n\t\theader?: string;\n\t\tsubHeader?: string;\n\t\tname: string;\n\t\tvalue: string | number | boolean;\n\t\tdisabled?: boolean;\n\t}>();\n\n\tconst emit = defineEmits([\"update:modelValue\"]);\n\n\tconst radioModel = 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</script>\n"],"names":["props","__props","emit","__emit","radioModel","computed","value"],"mappings":";;;;;;;;;;;;;;;;;AAkGC,UAAMA,IAAQC,GASRC,IAAOC,GAEPC,IAAaC,EAAS;AAAA,MAC3B,MAAM;AACL,eAAOL,EAAM;AAAA,MACd;AAAA,MACA,IAAIM,GAAO;AACV,QAAAJ,EAAM,qBAAqBI,CAAK;AAAA,MACjC;AAAA,IAAA,CACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"ui-plain-radio.vue.js","sources":["../../../src/components/ui-plain-radio/ui-plain-radio.vue"],"sourcesContent":["<template>\n\t<label\n\t\tclass=\"ui-plain-radio relative mb-sm\"\n\t\t:for=\"name + value\"\n\t>\n\n\t\t<input\n\t\t\t:id=\"name + value\"\n\t\t\tv-model=\"radioModel\"\n\t\t\t:value=\"value\"\n\t\t\tname=\"ui-plain-radio\"\n\t\t\ttype=\"radio\"\n\t\t\t:disabled=\"disabled\"\n\t\t\tclass=\"peer absolute appearance-none\"\n\t\t>\n\n\t\t<div\n\t\t\tclass=\"\n\t\t\t\tui-plain-radio__content\n\t\t\t\tbox-border\n\t\t\t\tgrid\n\t\t\t\tsize-full\n\t\t\t\tcursor-pointer\n\t\t\t\tgrid-flow-col\n\t\t\t\titems-center\n\t\t\t\tjustify-start\n\t\t\t\tgap-sm\n\t\t\t\trounded-lg\n\t\t\t\tborder\n\t\t\t\tborder-secondary-alt-500\n\t\t\t\tbg-white\n\t\t\t\tp-sm\n\t\t\t\tbefore:absolute\n\t\t\t\tbefore:-z-10\n\t\t\t\tbefore:box-border\n\t\t\t\tbefore:rounded-2xl\n\t\t\t\tbefore:bg-primary-300\n\t\t\t\thover:border-secondary-alt-700\n\t\t\t\tpeer-checked:border-transparent\n\t\t\t\tpeer-checked:shadow-selected-shadow\n\t\t\t\tpeer-checked:hover:shadow-border-selected\n\t\t\t\tpeer-checked:active:shadow-border-primary\n\t\t\t\tpeer-checked:active:before:-bottom-xxs\n\t\t\t\tpeer-checked:active:before:-left-xxs\n\t\t\t\tpeer-checked:active:before:-right-xxs\n\t\t\t\tpeer-checked:active:before:-top-xxs\n\t\t\t\tpeer-focus:before:-bottom-xxs\n\t\t\t\tpeer-focus:before:-left-xxs\n\t\t\t\tpeer-focus:before:-right-xxs\n\t\t\t\tpeer-focus:before:-top-xxs\n\t\t\t\tpeer-active:before:-bottom-xxs\n\t\t\t\tpeer-active:before:-left-xxs\n\t\t\t\tpeer-active:before:-right-xxs\n\t\t\t\tpeer-active:before:-top-xxs\n\t\t\t\t\"\n\t\t\t:class=\"disabled\n\t\t\t\t&& 'pointer-events-none border-secondary-alt-400 peer-checked:shadow-border-primary-disabled'\"\n\t\t>\n\t\t\t<ui-radio\n\t\t\t\tv-model=\"radioModel\"\n\t\t\t\t:value=\"value.toString()\"\n\t\t\t\t:name=\"name\"\n\t\t\t\t:disabled=\"disabled\"\n\t\t\t\tclass=\"pointer-events-none\"\n\t\t\t/>\n\n\t\t\t<span>\n\t\t\t\t<slot name=\"header\">\n\t\t\t\t\t<ui-typography\n\t\t\t\t\t\t:size=\"ETypographySizes.SM\"\n\t\t\t\t\t\t:kind=\"EColors.SECONDARY\"\n\t\t\t\t\t\t:weight=\"ETextWeight.SEMI_BOLD\"\n\t\t\t\t\t\tline-height\n\t\t\t\t\t>\n\t\t\t\t\t\t{{ header }}\n\t\t\t\t\t</ui-typography>\n\t\t\t\t</slot>\n\n\t\t\t\t<slot name=\"subHeader\">\n\t\t\t\t\t<ui-typography\n\t\t\t\t\t\t:size=\"ETypographySizes.XS\"\n\t\t\t\t\t\t:kind=\"EColors.SECONDARY_ALT\"\n\t\t\t\t\t>\n\t\t\t\t\t\t{{ subHeader }}\n\t\t\t\t\t</ui-typography>\n\t\t\t\t</slot>\n\t\t\t</span>\n\t\t</div>\n\t</label>\n</template>\n\n<script lang=\"ts\" setup>\n\timport { computed } from \"vue\";\n\timport UiRadio from \"../ui-radio\";\n\timport UiTypography, { ETypographySizes, EColors, ETextWeight } from \"../ui-typography\";\n\n\tconst props = defineProps<{\n\t\tmodelValue: string | number | boolean;\n\t\theader?: string;\n\t\tsubHeader?: string;\n\t\tname: string;\n\t\tvalue: string | number | boolean;\n\t\tdisabled?: boolean;\n\t}>();\n\n\tconst emit = defineEmits([\"update:modelValue\"]);\n\n\tconst radioModel = 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</script>\n"],"names":["props","__props","emit","__emit","radioModel","computed","value"],"mappings":";;;;;;;;;;;;;;;;;AAgGC,UAAMA,IAAQC,GASRC,IAAOC,GAEPC,IAAaC,EAAS;AAAA,MAC3B,MAAM;AACL,eAAOL,EAAM;AAAA,MACd;AAAA,MACA,IAAIM,GAAO;AACV,QAAAJ,EAAM,qBAAqBI,CAAK;AAAA,MACjC;AAAA,IAAA,CACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,4 @@
1
+ import { default as UiProductCard } from './ui-product-card.vue';
2
+
3
+ export { UiProductCard };
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ui-product-card/index.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,CAAC"}
@@ -1,5 +1,5 @@
1
- import { DefineComponent, PropType, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
1
  import { default as UiProgress } from './ui-progress.vue';
2
+ import { DefineComponent, PropType, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
3
3
 
4
4
  export { UiProgress };
5
5
  /**
@@ -21,6 +21,10 @@ declare const deprecatedDefault: DefineComponent<{
21
21
  required: true;
22
22
  default: number;
23
23
  };
24
+ progressText: {
25
+ type: PropType<string>;
26
+ default: string;
27
+ };
24
28
  }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
25
29
  min: {
26
30
  type: PropType<number>;
@@ -37,10 +41,15 @@ declare const deprecatedDefault: DefineComponent<{
37
41
  required: true;
38
42
  default: number;
39
43
  };
44
+ progressText: {
45
+ type: PropType<string>;
46
+ default: string;
47
+ };
40
48
  }>>, {
41
49
  min: number;
42
50
  max: number;
43
51
  current: number;
52
+ progressText: string;
44
53
  }, {}>;
45
54
  export default deprecatedDefault;
46
55
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ui-progress/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,mBAAmB,CAAC;AAE3C,OAAO,EAAE,UAAU,EAAE,CAAC;AAEtB;;GAEG;AACH,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAa,CAAC;AACrC,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ui-progress/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,mBAAmB,CAAC;AAE3C,OAAO,EAAE,UAAU,EAAE,CAAC;AAEtB;;GAEG;AACH,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAa,CAAC;AACrC,eAAe,iBAAiB,CAAC"}
@@ -3,22 +3,27 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
3
3
  min: number;
4
4
  max: number;
5
5
  current: number;
6
+ progressText?: string;
6
7
  }>, {
7
8
  min: number;
8
9
  max: number;
9
10
  current: number;
11
+ progressText: string;
10
12
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
11
13
  min: number;
12
14
  max: number;
13
15
  current: number;
16
+ progressText?: string;
14
17
  }>, {
15
18
  min: number;
16
19
  max: number;
17
20
  current: number;
21
+ progressText: string;
18
22
  }>>>, {
19
23
  min: number;
20
24
  max: number;
21
25
  current: number;
26
+ progressText: string;
22
27
  }, {}>;
23
28
  export default _default;
24
29
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -1 +1 @@
1
- {"version":3,"file":"ui-progress.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-progress/ui-progress.vue"],"names":[],"mappings":"AAyBA;;SAoGO,MAAM;SACN,MAAM;aACF,MAAM;;;;;;SAFV,MAAM;SACN,MAAM;aACF,MAAM;;;;;;SAFV,MAAM;SACN,MAAM;aACF,MAAM;;AARjB,wBAUG;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;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"}
1
+ {"version":3,"file":"ui-progress.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-progress/ui-progress.vue"],"names":[],"mappings":"AAmCA;;SA+HO,MAAM;SACN,MAAM;aACF,MAAM;mBACA,MAAM;;;;;;;SAHhB,MAAM;SACN,MAAM;aACF,MAAM;mBACA,MAAM;;;;;;;SAHhB,MAAM;SACN,MAAM;aACF,MAAM;kBACA,MAAM;;AATvB,wBAWG;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;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"}
@@ -1,26 +1,42 @@
1
- import { defineComponent as o, computed as n, openBlock as s, createElementBlock as a, createElementVNode as t, normalizeStyle as i } from "vue";
2
- const u = { class: "ui-progress" }, d = { class: "relative h-xs w-full overflow-hidden rounded-lg bg-primary-200" }, f = /* @__PURE__ */ o({
1
+ import { defineComponent as n, computed as a, openBlock as o, createElementBlock as d, createElementVNode as l, normalizeStyle as m, createBlock as u, unref as t, withCtx as c, createTextVNode as p, toDisplayString as f, createCommentVNode as _ } from "vue";
2
+ import g from "../ui-typography/ui-typography.vue.js";
3
+ import { ETextAlign as x, ETextWeight as h } from "../ui-typography/_typings.js";
4
+ import { EColors as T } from "../../_types/colors.js";
5
+ const k = { class: "ui-progress" }, v = { class: "relative h-xxs w-full overflow-hidden rounded-xl bg-primary-200" }, C = /* @__PURE__ */ n({
3
6
  __name: "ui-progress",
4
7
  props: {
5
8
  min: { default: 0 },
6
9
  max: { default: 100 },
7
- current: { default: 0 }
10
+ current: { default: 0 },
11
+ progressText: { default: "" }
8
12
  },
9
- setup(r) {
10
- const e = r, l = n(() => (e.current - e.min) / (e.max - e.min) * 100);
11
- return (c, m) => (s(), a("div", u, [
12
- t("div", d, [
13
- t("div", {
14
- class: "ui-progress__bar-fill absolute left-0 top-0 z-10 h-full rounded-lg bg-primary-alt-700 transition-all duration-300",
15
- style: i({
16
- width: l.value + "%"
13
+ setup(i) {
14
+ const e = i, s = a(() => (e.current - e.min) / (e.max - e.min) * 100);
15
+ return (r, w) => (o(), d("div", k, [
16
+ l("div", v, [
17
+ l("div", {
18
+ class: "ui-progress__bar-fill absolute left-0 top-0 z-10 h-full rounded-xl bg-primary-alt-700 transition-all duration-300",
19
+ style: m({
20
+ width: s.value + "%"
17
21
  })
18
22
  }, null, 4)
19
- ])
23
+ ]),
24
+ r.progressText ? (o(), u(t(g), {
25
+ key: 0,
26
+ kind: t(T).PRIMARY_ALT_700,
27
+ align: t(x).RIGHT,
28
+ weight: t(h).SEMI_BOLD,
29
+ class: "mt-xxs"
30
+ }, {
31
+ default: c(() => [
32
+ p(f(r.progressText), 1)
33
+ ]),
34
+ _: 1
35
+ }, 8, ["kind", "align", "weight"])) : _("", !0)
20
36
  ]));
21
37
  }
22
38
  });
23
39
  export {
24
- f as default
40
+ C as default
25
41
  };
26
42
  //# sourceMappingURL=ui-progress.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ui-progress.vue.js","sources":["../../../src/components/ui-progress/ui-progress.vue"],"sourcesContent":["<template>\n\t<div class=\"ui-progress\">\n\t\t<div\n\t\t\tclass=\"relative h-xs w-full overflow-hidden rounded-lg bg-primary-200\"\n\t\t>\n\t\t\t<div\n\t\t\t\tclass=\"\n\t\t\t\t\tui-progress__bar-fill\n\t\t\t\t\tabsolute\n\t\t\t\t\tleft-0\n\t\t\t\t\ttop-0\n\t\t\t\t\tz-10\n\t\t\t\t\th-full\n\t\t\t\t\trounded-lg\n\t\t\t\t\tbg-primary-alt-700\n\t\t\t\t\ttransition-all\n\t\t\t\t\tduration-300\n\t\t\t\t\"\n\t\t\t\t:style=\"{\n\t\t\t\t\twidth: filler + '%'\n\t\t\t\t}\"\n\t\t\t/>\n\t\t</div>\n\t</div>\n</template>\n\n<script lang=\"ts\" setup>\n\timport { computed } from \"vue\";\n\n\tconst props = withDefaults(defineProps<{\n\t\tmin: number\n\t\tmax: number\n\t\tcurrent: number\n\t}>(),{\n\t\tmin: 0,\n\t\tmax: 100,\n\t\tcurrent: 0\n\t});\n\n\tconst filler = computed(() => {\n\t\treturn ((props.current - props.min) / (props.max - props.min)) * 100;\n\t});\n</script>\n"],"names":["props","__props","filler","computed"],"mappings":";;;;;;;;;AA6BC,UAAMA,IAAQC,GAURC,IAASC,EAAS,OACdH,EAAM,UAAUA,EAAM,QAAQA,EAAM,MAAMA,EAAM,OAAQ,GACjE;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"ui-progress.vue.js","sources":["../../../src/components/ui-progress/ui-progress.vue"],"sourcesContent":["<template>\n\t<div class=\"ui-progress\">\n\t\t<div\n\t\t\tclass=\"relative h-xxs w-full overflow-hidden rounded-xl bg-primary-200\"\n\t\t>\n\t\t\t<div\n\t\t\t\tclass=\"\n\t\t\t\t\tui-progress__bar-fill\n\t\t\t\t\tabsolute\n\t\t\t\t\tleft-0\n\t\t\t\t\ttop-0\n\t\t\t\t\tz-10\n\t\t\t\t\th-full\n\t\t\t\t\trounded-xl\n\t\t\t\t\tbg-primary-alt-700\n\t\t\t\t\ttransition-all\n\t\t\t\t\tduration-300\n\t\t\t\t\t\"\n\t\t\t\t:style=\"{\n\t\t\t\t\twidth: filler + '%'\n\t\t\t\t}\"\n\t\t\t/>\n\t\t</div>\n\n\t\t<ui-typography\n\t\t\tv-if=\"progressText\"\n\t\t\t:kind=\"EColors.PRIMARY_ALT_700\"\n\t\t\t:align=\"ETextAlign.RIGHT\"\n\t\t\t:weight=\"ETextWeight.SEMI_BOLD\"\n\t\t\tclass=\"mt-xxs\"\n\t\t>\n\t\t\t{{ progressText }}\n\t\t</ui-typography>\n\t</div>\n</template>\n\n<script lang=\"ts\" setup>\n\timport { computed } from \"vue\";\n\timport { UiTypography, EColors, ETextAlign, ETextWeight } from \"../ui-typography\";\n\n\tconst props = withDefaults(defineProps<{\n\t\tmin: number\n\t\tmax: number\n\t\tcurrent: number\n\t\tprogressText?: string\n\t}>(),{\n\t\tmin: 0,\n\t\tmax: 100,\n\t\tcurrent: 0,\n\t\tprogressText: \"\"\n\t});\n\n\tconst filler = computed(() => {\n\t\treturn ((props.current - props.min) / (props.max - props.min)) * 100;\n\t});\n</script>\n"],"names":["props","__props","filler","computed"],"mappings":";;;;;;;;;;;;;AAwCC,UAAMA,IAAQC,GAYRC,IAASC,EAAS,OACdH,EAAM,UAAUA,EAAM,QAAQA,EAAM,MAAMA,EAAM,OAAQ,GACjE;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,6 +1,6 @@
1
- import { EJustify } from '../../types';
2
- import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
3
1
  import { default as UiRadio } from './ui-radio.vue';
2
+ import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
3
+ import { EJustify } from '../../types';
4
4
 
5
5
  export { UiRadio };
6
6
  /**
@@ -89,9 +89,9 @@ declare const deprecatedDefault: {
89
89
  }>> & {
90
90
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
91
91
  }, {}, {}, {}, {}, {}>;
92
- __isFragment?: undefined;
93
- __isTeleport?: undefined;
94
- __isSuspense?: undefined;
92
+ __isFragment?: never;
93
+ __isTeleport?: never;
94
+ __isSuspense?: never;
95
95
  } & ComponentOptionsBase<Readonly< ExtractPropTypes<{
96
96
  modelValue: {
97
97
  type: PropType<string | number | boolean>;