@ug666/ui-vue 0.2.0 → 0.3.0-beta.1

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 (262) hide show
  1. package/dist/aliases.d.ts +38 -21
  2. package/dist/aliases.d.ts.map +1 -1
  3. package/dist/blocks/feature-grid.vue.d.ts +9 -13
  4. package/dist/blocks/feature-grid.vue.d.ts.map +1 -1
  5. package/dist/blocks/index.cjs +1 -1
  6. package/dist/blocks/index.cjs.map +1 -1
  7. package/dist/blocks/index.js +155 -65
  8. package/dist/blocks/index.js.map +1 -1
  9. package/dist/blocks/landing-hero.vue.d.ts +21 -19
  10. package/dist/blocks/landing-hero.vue.d.ts.map +1 -1
  11. package/dist/button-CVw3ryBz.cjs +2 -0
  12. package/dist/button-CVw3ryBz.cjs.map +1 -0
  13. package/dist/button-D_ikOxrp.js +292 -0
  14. package/dist/button-D_ikOxrp.js.map +1 -0
  15. package/dist/cn-CFAiuoYh.cjs +2 -0
  16. package/dist/cn-CFAiuoYh.cjs.map +1 -0
  17. package/dist/cn-Cl2u7rTh.js +10 -0
  18. package/dist/cn-Cl2u7rTh.js.map +1 -0
  19. package/dist/components/accordion.vue.d.ts +29 -6
  20. package/dist/components/accordion.vue.d.ts.map +1 -1
  21. package/dist/components/alert.vue.d.ts +9 -8
  22. package/dist/components/alert.vue.d.ts.map +1 -1
  23. package/dist/components/avatar-group.vue.d.ts +3 -2
  24. package/dist/components/avatar-group.vue.d.ts.map +1 -1
  25. package/dist/components/avatar.vue.d.ts +6 -5
  26. package/dist/components/avatar.vue.d.ts.map +1 -1
  27. package/dist/components/badge.vue.d.ts +9 -16
  28. package/dist/components/badge.vue.d.ts.map +1 -1
  29. package/dist/components/breadcrumb.vue.d.ts +20 -11
  30. package/dist/components/breadcrumb.vue.d.ts.map +1 -1
  31. package/dist/components/button-group.vue.d.ts +92 -0
  32. package/dist/components/button-group.vue.d.ts.map +1 -0
  33. package/dist/components/button.vue.d.ts +77 -39
  34. package/dist/components/button.vue.d.ts.map +1 -1
  35. package/dist/components/card.vue.d.ts +15 -11
  36. package/dist/components/card.vue.d.ts.map +1 -1
  37. package/dist/components/checkbox-group.vue.d.ts +43 -0
  38. package/dist/components/checkbox-group.vue.d.ts.map +1 -0
  39. package/dist/components/checkbox.vue.d.ts +23 -24
  40. package/dist/components/checkbox.vue.d.ts.map +1 -1
  41. package/dist/components/config-provider.vue.d.ts +77 -0
  42. package/dist/components/config-provider.vue.d.ts.map +1 -0
  43. package/dist/components/container.vue.d.ts +141 -0
  44. package/dist/components/container.vue.d.ts.map +1 -0
  45. package/dist/components/context/accordion-context.d.ts +7 -2
  46. package/dist/components/context/accordion-context.d.ts.map +1 -1
  47. package/dist/components/context/button-group.d.ts +40 -0
  48. package/dist/components/context/button-group.d.ts.map +1 -0
  49. package/dist/components/context/checkbox-context.d.ts +14 -0
  50. package/dist/components/context/checkbox-context.d.ts.map +1 -0
  51. package/dist/components/context/context-menu-context.d.ts +4 -0
  52. package/dist/components/context/context-menu-context.d.ts.map +1 -1
  53. package/dist/components/context/drawer-context.d.ts +4 -0
  54. package/dist/components/context/drawer-context.d.ts.map +1 -1
  55. package/dist/components/context/dropdown-context.d.ts +10 -0
  56. package/dist/components/context/dropdown-context.d.ts.map +1 -1
  57. package/dist/components/context/form-context.d.ts +31 -1
  58. package/dist/components/context/form-context.d.ts.map +1 -1
  59. package/dist/components/context/popover-context.d.ts +2 -0
  60. package/dist/components/context/popover-context.d.ts.map +1 -1
  61. package/dist/components/context/radio-context.d.ts +11 -3
  62. package/dist/components/context/radio-context.d.ts.map +1 -1
  63. package/dist/components/context/tabs-context.d.ts +2 -0
  64. package/dist/components/context/tabs-context.d.ts.map +1 -1
  65. package/dist/components/context/tooltip-context.d.ts +2 -0
  66. package/dist/components/context/tooltip-context.d.ts.map +1 -1
  67. package/dist/components/context-menu.vue.d.ts +6 -5
  68. package/dist/components/context-menu.vue.d.ts.map +1 -1
  69. package/dist/components/descriptions.vue.d.ts +12 -18
  70. package/dist/components/descriptions.vue.d.ts.map +1 -1
  71. package/dist/components/dialog.vue.d.ts +5 -3
  72. package/dist/components/dialog.vue.d.ts.map +1 -1
  73. package/dist/components/drawer.vue.d.ts +9 -8
  74. package/dist/components/drawer.vue.d.ts.map +1 -1
  75. package/dist/components/dropdown.vue.d.ts +11 -10
  76. package/dist/components/dropdown.vue.d.ts.map +1 -1
  77. package/dist/components/empty-state.vue.d.ts +16 -17
  78. package/dist/components/empty-state.vue.d.ts.map +1 -1
  79. package/dist/components/form.vue.d.ts +95 -17
  80. package/dist/components/form.vue.d.ts.map +1 -1
  81. package/dist/components/icon.vue.d.ts +28 -0
  82. package/dist/components/icon.vue.d.ts.map +1 -0
  83. package/dist/components/index.cjs +1 -1
  84. package/dist/components/index.d.ts +21 -6
  85. package/dist/components/index.d.ts.map +1 -1
  86. package/dist/components/index.js +5 -5
  87. package/dist/components/input.vue.d.ts +71 -29
  88. package/dist/components/input.vue.d.ts.map +1 -1
  89. package/dist/components/label.vue.d.ts +12 -19
  90. package/dist/components/label.vue.d.ts.map +1 -1
  91. package/dist/components/layout.d.ts +194 -0
  92. package/dist/components/layout.d.ts.map +1 -0
  93. package/dist/components/link.vue.d.ts +55 -0
  94. package/dist/components/link.vue.d.ts.map +1 -0
  95. package/dist/components/modal.vue.d.ts +15 -16
  96. package/dist/components/modal.vue.d.ts.map +1 -1
  97. package/dist/components/navigation-menu.vue.d.ts +30 -14
  98. package/dist/components/navigation-menu.vue.d.ts.map +1 -1
  99. package/dist/components/number-input.vue.d.ts +53 -25
  100. package/dist/components/number-input.vue.d.ts.map +1 -1
  101. package/dist/components/otp-input.vue.d.ts +12 -9
  102. package/dist/components/otp-input.vue.d.ts.map +1 -1
  103. package/dist/components/pagination.vue.d.ts +15 -13
  104. package/dist/components/pagination.vue.d.ts.map +1 -1
  105. package/dist/components/popover.vue.d.ts +9 -8
  106. package/dist/components/popover.vue.d.ts.map +1 -1
  107. package/dist/components/progress.vue.d.ts +3 -2
  108. package/dist/components/progress.vue.d.ts.map +1 -1
  109. package/dist/components/radio-group.vue.d.ts +23 -30
  110. package/dist/components/radio-group.vue.d.ts.map +1 -1
  111. package/dist/components/radio.vue.d.ts +28 -17
  112. package/dist/components/radio.vue.d.ts.map +1 -1
  113. package/dist/components/scrollbar.vue.d.ts +65 -0
  114. package/dist/components/scrollbar.vue.d.ts.map +1 -0
  115. package/dist/components/select.vue.d.ts +83 -35
  116. package/dist/components/select.vue.d.ts.map +1 -1
  117. package/dist/components/separator.vue.d.ts +19 -8
  118. package/dist/components/separator.vue.d.ts.map +1 -1
  119. package/dist/components/sheet.vue.d.ts +15 -16
  120. package/dist/components/sheet.vue.d.ts.map +1 -1
  121. package/dist/components/sidebar.vue.d.ts +13 -35
  122. package/dist/components/sidebar.vue.d.ts.map +1 -1
  123. package/dist/components/skeleton.vue.d.ts +3 -2
  124. package/dist/components/skeleton.vue.d.ts.map +1 -1
  125. package/dist/components/slider.vue.d.ts +56 -22
  126. package/dist/components/slider.vue.d.ts.map +1 -1
  127. package/dist/components/space.vue.d.ts +35 -0
  128. package/dist/components/space.vue.d.ts.map +1 -0
  129. package/dist/components/spinner.vue.d.ts +6 -5
  130. package/dist/components/spinner.vue.d.ts.map +1 -1
  131. package/dist/components/splitter.vue.d.ts +234 -0
  132. package/dist/components/splitter.vue.d.ts.map +1 -0
  133. package/dist/components/statistic.vue.d.ts +12 -15
  134. package/dist/components/statistic.vue.d.ts.map +1 -1
  135. package/dist/components/steps.vue.d.ts +8 -19
  136. package/dist/components/steps.vue.d.ts.map +1 -1
  137. package/dist/components/switch.vue.d.ts +50 -19
  138. package/dist/components/switch.vue.d.ts.map +1 -1
  139. package/dist/components/table.vue.d.ts +6 -5
  140. package/dist/components/table.vue.d.ts.map +1 -1
  141. package/dist/components/tabs.vue.d.ts +26 -9
  142. package/dist/components/tabs.vue.d.ts.map +1 -1
  143. package/dist/components/tag.vue.d.ts +11 -18
  144. package/dist/components/tag.vue.d.ts.map +1 -1
  145. package/dist/components/text.vue.d.ts +32 -0
  146. package/dist/components/text.vue.d.ts.map +1 -0
  147. package/dist/components/textarea.vue.d.ts +58 -26
  148. package/dist/components/textarea.vue.d.ts.map +1 -1
  149. package/dist/components/toast.vue.d.ts +3 -2
  150. package/dist/components/toast.vue.d.ts.map +1 -1
  151. package/dist/components/tooltip.vue.d.ts +7 -6
  152. package/dist/components/tooltip.vue.d.ts.map +1 -1
  153. package/dist/components/types/forms.d.ts +15 -0
  154. package/dist/components/types/forms.d.ts.map +1 -0
  155. package/dist/components/types/foundation.d.ts +5 -0
  156. package/dist/components/types/foundation.d.ts.map +1 -0
  157. package/dist/composables/index.cjs +1 -1
  158. package/dist/composables/index.d.ts +2 -1
  159. package/dist/composables/index.d.ts.map +1 -1
  160. package/dist/composables/index.js +2 -2
  161. package/dist/composables/use-copy-to-clipboard.d.ts.map +1 -1
  162. package/dist/composables/use-event-listener.d.ts.map +1 -1
  163. package/dist/composables/use-form.d.ts +38 -26
  164. package/dist/composables/use-form.d.ts.map +1 -1
  165. package/dist/composables/use-local-storage.d.ts.map +1 -1
  166. package/dist/composables-C-Go-D3m.js +386 -0
  167. package/dist/composables-C-Go-D3m.js.map +1 -0
  168. package/dist/composables-CiWPyBEE.cjs +2 -0
  169. package/dist/composables-CiWPyBEE.cjs.map +1 -0
  170. package/dist/global.d.ts +17 -0
  171. package/dist/global.d.ts.map +1 -1
  172. package/dist/icon-NbssmDYT.js +1561 -0
  173. package/dist/icon-NbssmDYT.js.map +1 -0
  174. package/dist/icon-jF_XZntG.cjs +2 -0
  175. package/dist/icon-jF_XZntG.cjs.map +1 -0
  176. package/dist/index.cjs +1 -1
  177. package/dist/index.cjs.map +1 -1
  178. package/dist/index.d.ts +26 -11
  179. package/dist/index.d.ts.map +1 -1
  180. package/dist/index.js +134 -332
  181. package/dist/index.js.map +1 -1
  182. package/dist/internal/use-overlay-focus.d.ts +3 -0
  183. package/dist/internal/use-overlay-focus.d.ts.map +1 -0
  184. package/dist/internal/use-overlay-lifecycle.d.ts +3 -0
  185. package/dist/internal/use-overlay-lifecycle.d.ts.map +1 -0
  186. package/dist/labs/file-preview.vue.d.ts +42 -0
  187. package/dist/labs/file-preview.vue.d.ts.map +1 -0
  188. package/dist/labs/index.cjs +1 -1
  189. package/dist/labs/index.cjs.map +1 -1
  190. package/dist/labs/index.d.ts +7 -2
  191. package/dist/labs/index.d.ts.map +1 -1
  192. package/dist/labs/index.js +209 -5
  193. package/dist/labs/index.js.map +1 -1
  194. package/dist/labs/model-card.vue.d.ts +46 -0
  195. package/dist/labs/model-card.vue.d.ts.map +1 -0
  196. package/dist/patterns/admin-shell.vue.d.ts +18 -17
  197. package/dist/patterns/admin-shell.vue.d.ts.map +1 -1
  198. package/dist/patterns/confirm-dialog.vue.d.ts +13 -15
  199. package/dist/patterns/confirm-dialog.vue.d.ts.map +1 -1
  200. package/dist/patterns/copy-field.vue.d.ts +12 -15
  201. package/dist/patterns/copy-field.vue.d.ts.map +1 -1
  202. package/dist/patterns/index.cjs +1 -1
  203. package/dist/patterns/index.cjs.map +1 -1
  204. package/dist/patterns/index.js +178 -79
  205. package/dist/patterns/index.js.map +1 -1
  206. package/dist/patterns/page-header.vue.d.ts +25 -23
  207. package/dist/patterns/page-header.vue.d.ts.map +1 -1
  208. package/dist/primitives/index.cjs +1 -1
  209. package/dist/primitives/index.d.ts +13 -1
  210. package/dist/primitives/index.d.ts.map +1 -1
  211. package/dist/primitives/index.js +3 -3
  212. package/dist/resolver.cjs +1 -1
  213. package/dist/resolver.cjs.map +1 -1
  214. package/dist/resolver.d.ts.map +1 -1
  215. package/dist/resolver.js +13 -12
  216. package/dist/resolver.js.map +1 -1
  217. package/dist/sidebar-DI7FOJiw.cjs +2 -0
  218. package/dist/sidebar-DI7FOJiw.cjs.map +1 -0
  219. package/dist/sidebar-wW1OGS5T.js +442 -0
  220. package/dist/sidebar-wW1OGS5T.js.map +1 -0
  221. package/dist/statistic-1kiSjvCX.cjs +2 -0
  222. package/dist/statistic-1kiSjvCX.cjs.map +1 -0
  223. package/dist/statistic-DBlNBT-A.js +4748 -0
  224. package/dist/statistic-DBlNBT-A.js.map +1 -0
  225. package/dist/styles.css +2797 -956
  226. package/dist/theme.cjs +2 -0
  227. package/dist/theme.cjs.map +1 -0
  228. package/dist/theme.d.ts +172 -76
  229. package/dist/theme.d.ts.map +1 -1
  230. package/dist/theme.js +128 -0
  231. package/dist/theme.js.map +1 -0
  232. package/dist/themes/default.css +80 -0
  233. package/dist/themes/mecha.css +195 -0
  234. package/dist/themes/minimal.css +160 -0
  235. package/dist/{toast-state-BBoVvR0u.cjs → toast-state-DZPoRLPw.cjs} +2 -2
  236. package/dist/{toast-state-BBoVvR0u.cjs.map → toast-state-DZPoRLPw.cjs.map} +1 -1
  237. package/dist/{toast-state-Crugc-IE.js → toast-state-DyrVOjSJ.js} +1 -1
  238. package/dist/{toast-state-Crugc-IE.js.map → toast-state-DyrVOjSJ.js.map} +1 -1
  239. package/dist/tokens.css +1173 -18
  240. package/package.json +24 -12
  241. package/dist/aliases-CKe0wVQy.cjs +0 -2
  242. package/dist/aliases-CKe0wVQy.cjs.map +0 -1
  243. package/dist/aliases-u3xep8jx.js +0 -2732
  244. package/dist/aliases-u3xep8jx.js.map +0 -1
  245. package/dist/button-C10AiP5_.cjs +0 -2
  246. package/dist/button-C10AiP5_.cjs.map +0 -1
  247. package/dist/button-Sy9e0tiI.js +0 -1742
  248. package/dist/button-Sy9e0tiI.js.map +0 -1
  249. package/dist/component-layers.d.ts +0 -199
  250. package/dist/component-layers.d.ts.map +0 -1
  251. package/dist/composables-GXmQiqgg.cjs +0 -2
  252. package/dist/composables-GXmQiqgg.cjs.map +0 -1
  253. package/dist/composables-YMNfao5g.js +0 -251
  254. package/dist/composables-YMNfao5g.js.map +0 -1
  255. package/dist/separator-BnNQAp6A.js +0 -259
  256. package/dist/separator-BnNQAp6A.js.map +0 -1
  257. package/dist/separator-Bynwn-we.cjs +0 -2
  258. package/dist/separator-Bynwn-we.cjs.map +0 -1
  259. package/dist/sidebar-BnZB7vlK.js +0 -344
  260. package/dist/sidebar-BnZB7vlK.js.map +0 -1
  261. package/dist/sidebar-xKPzL0NQ.cjs +0 -2
  262. package/dist/sidebar-xKPzL0NQ.cjs.map +0 -1
@@ -18,28 +18,25 @@ interface Props {
18
18
  /** 额外 CSS 类名 */
19
19
  class?: string;
20
20
  }
21
- declare function __VLS_template(): {
22
- attrs: Partial<{}>;
23
- slots: {
24
- prefix?(_: {}): any;
25
- suffix?(_: {}): any;
26
- };
27
- refs: {};
28
- rootEl: HTMLDivElement;
21
+ declare var __VLS_1: {}, __VLS_3: {};
22
+ type __VLS_Slots = {} & {
23
+ prefix?: (props: typeof __VLS_1) => any;
24
+ } & {
25
+ suffix?: (props: typeof __VLS_3) => any;
29
26
  };
30
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
31
- declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
27
+ declare const __VLS_base: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
32
28
  size: StatisticSize;
33
- class: string;
34
29
  title: string;
35
30
  change: string;
36
- precision: number;
31
+ class: string;
37
32
  suffix: string;
33
+ precision: number;
38
34
  trend: StatisticTrend;
39
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
40
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
35
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
36
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
37
+ declare const _default: typeof __VLS_export;
41
38
  export default _default;
42
- type __VLS_WithTemplateSlots<T, S> = T & {
39
+ type __VLS_WithSlots<T, S> = T & {
43
40
  new (): {
44
41
  $slots: S;
45
42
  };
@@ -1 +1 @@
1
- {"version":3,"file":"statistic.vue.d.ts","sourceRoot":"","sources":["../../src/components/statistic.vue"],"names":[],"mappings":"AAKA;AAgJA,KAAK,aAAa,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI,CAAA;AAC5C,KAAK,cAAc,GAAG,IAAI,GAAG,MAAM,GAAG,MAAM,CAAA;AAE5C,UAAU,KAAK;IACb,WAAW;IACX,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW;IACX,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB,gCAAgC;IAChC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,kCAAkC;IAClC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,WAAW;IACX,KAAK,CAAC,EAAE,cAAc,CAAA;IACtB,sBAAsB;IACtB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,SAAS;IACT,IAAI,CAAC,EAAE,aAAa,CAAA;IACpB,gBAAgB;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAgFD,iBAAS,cAAc;WA0ET,OAAO,IAA6B;;wBAXtB,GAAG;wBACH,GAAG;;;;EAe9B;AAmBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;UAtLZ,aAAa;WAEZ,MAAM;WAdN,MAAM;YAUL,MAAM;eANH,MAAM;YAET,MAAM;WAEP,cAAc;wFAkMtB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"statistic.vue.d.ts","sourceRoot":"","sources":["../../src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条组件,展示流程进度
3
- * @example
4
- * <USteps :current="1" :items="[{ title: '填写信息' }, { title: '确认订单' }, { title: '完成支付' }]" />
5
- */
6
- type StepsDirection = 'horizontal' | 'vertical';
7
- type StepsStatus = 'process' | 'finish' | 'error';
8
- interface StepItem {
9
- /** 步骤标题 */
1
+ export type StepsDirection = 'horizontal' | 'vertical';
2
+ export type StepsStatus = 'process' | 'finish' | 'error';
3
+ export interface StepItem {
10
4
  title: string;
11
- /** 步骤描述(可选) */
12
5
  description?: string;
13
6
  }
14
- interface Props {
15
- /** 当前激活步骤下标(0-based) */
7
+ export interface StepsProps {
16
8
  current: number;
17
- /** 步骤列表 */
18
9
  items: StepItem[];
19
- /** 排列方向 */
20
10
  direction?: StepsDirection;
21
- /** 当前步骤状态 */
22
11
  status?: StepsStatus;
23
- /** 额外 CSS 类名 */
24
12
  class?: string;
25
13
  }
26
- declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
14
+ declare const _default: typeof __VLS_export;
15
+ export default _default;
16
+ declare const __VLS_export: import('vue').DefineComponent<StepsProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<StepsProps> & Readonly<{}>, {
27
17
  direction: StepsDirection;
28
18
  status: StepsStatus;
29
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
30
- export default _default;
19
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
31
20
  //# sourceMappingURL=steps.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"steps.vue.d.ts","sourceRoot":"","sources":["../../src/components/steps.vue"],"names":[],"mappings":"AA6JA;;;;GAIG;AAEH,KAAK,cAAc,GAAG,YAAY,GAAG,UAAU,CAAA;AAC/C,KAAK,WAAW,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAA;AAEjD,UAAU,QAAQ;IAChB,WAAW;IACX,KAAK,EAAE,MAAM,CAAA;IACb,eAAe;IACf,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED,UAAU,KAAK;IACb,wBAAwB;IACxB,OAAO,EAAE,MAAM,CAAA;IACf,WAAW;IACX,KAAK,EAAE,QAAQ,EAAE,CAAA;IACjB,WAAW;IACX,SAAS,CAAC,EAAE,cAAc,CAAA;IAC1B,aAAa;IACb,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,gBAAgB;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;;eALa,cAAc;YAEjB,WAAW;;AAwKtB,wBAQG"}
1
+ {"version":3,"file":"steps.vue.d.ts","sourceRoot":"","sources":["../../src/components/steps.vue"],"names":[],"mappings":"AA0KA,MAAM,MAAM,cAAc,GAAG,YAAY,GAAG,UAAU,CAAA;AACtD,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAA;AAExD,MAAM,WAAW,QAAQ;IACvB,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,QAAQ,EAAE,CAAA;IACjB,SAAS,CAAC,EAAE,cAAc,CAAA;IAC1B,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;wBACoB,OAAO,YAAY;AAAxC,wBAAyC;AACzC,QAAA,MAAM,YAAY;eALJ,cAAc;YACjB,WAAW;6EA0LlB,CAAC"}
@@ -1,32 +1,63 @@
1
- type LabelPlacement = 'left' | 'right';
2
- interface Props {
3
- /** 是否禁用 */
1
+ import { Component } from 'vue';
2
+ import { ControlSize } from './config-provider.vue';
3
+ export type SwitchLabelPlacement = 'left' | 'right';
4
+ export interface SwitchProps {
5
+ defaultChecked?: boolean;
4
6
  disabled?: boolean;
5
- /** 标签文本 */
6
7
  label?: string;
7
- /** 标签位置 */
8
- labelPlacement?: LabelPlacement;
9
- /** 开关 id,不传则自动生成 */
8
+ labelPlacement?: SwitchLabelPlacement;
9
+ width?: number | string;
10
+ inlinePrompt?: boolean;
11
+ activeText?: string;
12
+ inactiveText?: string;
13
+ activeIcon?: Component;
14
+ inactiveIcon?: Component;
15
+ activeAction?: Component;
16
+ inactiveAction?: Component;
17
+ size?: ControlSize;
10
18
  id?: string;
11
- /** 额外 CSS 类名 */
12
19
  class?: string;
20
+ name?: string;
21
+ value?: string | number;
22
+ form?: string;
23
+ loading?: boolean;
24
+ beforeChange?: (checked: boolean) => boolean | Promise<boolean>;
13
25
  }
14
- type __VLS_Props = Props;
15
- type __VLS_PublicProps = {
16
- 'checked'?: boolean;
17
- } & __VLS_Props;
18
- declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
26
+ declare const _default: typeof __VLS_export;
27
+ export default _default;
28
+ declare const __VLS_export: import('vue').DefineComponent<SwitchProps & {
29
+ checked?: boolean | undefined;
30
+ }, {
31
+ focus: () => void | undefined;
32
+ blur: () => void | undefined;
33
+ el: import('vue').Ref<HTMLButtonElement | null, HTMLButtonElement | null>;
34
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
19
35
  change: (checked: boolean) => any;
20
- "update:checked": (value: boolean) => any;
21
- }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
36
+ "update:checked": (value: boolean | undefined) => any;
37
+ }, string, import('vue').PublicProps, Readonly<SwitchProps & {
38
+ checked?: boolean | undefined;
39
+ }> & Readonly<{
22
40
  onChange?: ((checked: boolean) => any) | undefined;
23
- "onUpdate:checked"?: ((value: boolean) => any) | undefined;
41
+ "onUpdate:checked"?: ((value: boolean | undefined) => any) | undefined;
24
42
  }>, {
43
+ value: string | number;
25
44
  disabled: boolean;
26
- class: string;
45
+ name: string;
46
+ form: string;
27
47
  label: string;
48
+ class: string;
49
+ loading: boolean;
28
50
  id: string;
29
- labelPlacement: LabelPlacement;
51
+ width: number | string;
52
+ defaultChecked: boolean;
53
+ labelPlacement: SwitchLabelPlacement;
54
+ inlinePrompt: boolean;
55
+ activeText: string;
56
+ inactiveText: string;
57
+ activeIcon: Component;
58
+ inactiveIcon: Component;
59
+ activeAction: Component;
60
+ inactiveAction: Component;
61
+ beforeChange: (checked: boolean) => boolean | Promise<boolean>;
30
62
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
31
- export default _default;
32
63
  //# sourceMappingURL=switch.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"switch.vue.d.ts","sourceRoot":"","sources":["../../src/components/switch.vue"],"names":[],"mappings":"AAKA;AA6HA,KAAK,cAAc,GAAG,MAAM,GAAG,OAAO,CAAA;AAEtC,UAAU,KAAK;IACb,WAAW;IACX,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW;IACX,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW;IACX,cAAc,CAAC,EAAE,cAAc,CAAA;IAC/B,oBAAoB;IACpB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,gBAAgB;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,KAAK,WAAW,GAAG,KAAK,CAAC;AAyDzB,KAAK,iBAAiB,GAAG;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,WAAW,CAAC;;;;;;;;cAtEH,OAAO;WAQV,MAAM;WANN,MAAM;QAIT,MAAM;oBAFM,cAAc;;AA8JjC,wBAQG"}
1
+ {"version":3,"file":"switch.vue.d.ts","sourceRoot":"","sources":["../../src/components/switch.vue"],"names":[],"mappings":"AAKA;AA2WA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AACpC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,u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AM;gBACR,SAAS;kBACP,SAAS;kBACT,SAAS;oBACP,SAAS;kBAQX,CAAC,OAAO,EAAE,OAAO,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;6EAgb7D,CAAC"}
@@ -43,7 +43,9 @@ export declare const UTableCell: import('vue').DefineComponent<{
43
43
  }> & Readonly<{}>, {
44
44
  class: string;
45
45
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
46
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
46
+ declare const _default: typeof __VLS_export;
47
+ export default _default;
48
+ declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<{
47
49
  /** table 元素额外 CSS 类名 */
48
50
  class?: string;
49
51
  }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
@@ -51,11 +53,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
51
53
  class?: string;
52
54
  }> & Readonly<{}>, {
53
55
  class: string;
54
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>, {
55
- default?(_: {}): any;
56
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
57
+ default?: (props: {}) => any;
56
58
  }>;
57
- export default _default;
58
- type __VLS_WithTemplateSlots<T, S> = T & {
59
+ type __VLS_WithSlots<T, S> = T & {
59
60
  new (): {
60
61
  $slots: S;
61
62
  };
@@ -1 +1 @@
1
- {"version":3,"file":"table.vue.d.ts","sourceRoot":"","sources":["../../src/components/table.vue"],"names":[],"mappings":"AAKA;AA8FA,eAAO,MAAM,YAAY;YApBf,MAAM;;;;YAAN,MAAM;;;4EAoBgG,CAAA;AAChH,eAAO,MAAM,UAAU;YArBb,MAAM;;;;YAAN,MAAM;;;4EAqBoF,CAAA;AACpG,eAAO,MAAM,SAAS;YAtBZ,MAAM;;;;YAAN,MAAM;;;4EAsBqH,CAAA;AACrI,eAAO,MAAM,UAAU;YAvBb,MAAM;;;;YAAN,MAAM;;;4EAuBqJ,CAAA;AACrK,eAAO,MAAM,UAAU;YAxBb,MAAM;;;;YAAN,MAAM;;;4EAwB6H,CAC5I;;IAOC,wBAAwB;YAChB,MAAM;;IADd,wBAAwB;YAChB,MAAM;;WAAN,MAAM;;qBA8Ba,GAAG;;AArChC,wBAyEK;AAaL,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"table.vue.d.ts","sourceRoot":"","sources":["../../src/components/table.vue"],"names":[],"mappings":"AAKA;AAsGA,eAAO,MAAM,YAAY;YApBf,MAAM;;;;YAAN,MAAM;;;4EAoB0G,CAAA;AAC1H,eAAO,MAAM,UAAU;YArBb,MAAM;;;;YAAN,MAAM;;;4EAqB4F,CAAA;AAC5G,eAAO,MAAM,SAAS;YAtBZ,MAAM;;;;YAAN,MAAM;;;4EAsB4H,CAAA;AAC5I,eAAO,MAAM,UAAU;YAvBb,MAAM;;;;YAAN,MAAM;;;4EAuBsN,CAAA;AACtO,eAAO,MAAM,UAAU;YAxBb,MAAM;;;;YAAN,MAAM;;;4EAwBoM,CAAA;wBAC/L,OAAO,YAAY;AAAxC,wBAAyC;AACzC,QAAA,MAAM,YAAY;IAOhB,wBAAwB;YAChB,MAAM;;IADd,wBAAwB;YAChB,MAAM;;WAAN,MAAM;;cA+CF,CAAC,KAAK,IAAgB,KAAK,GAAG;EAUxC,CAAC;AAWL,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -1,3 +1,19 @@
1
+ export interface TabsProps {
2
+ modelValue?: string;
3
+ class?: string;
4
+ }
5
+ export interface TabsListProps {
6
+ class?: string;
7
+ }
8
+ export interface TabsTriggerProps {
9
+ value: string;
10
+ disabled?: boolean;
11
+ class?: string;
12
+ }
13
+ export interface TabsContentProps {
14
+ value: string;
15
+ class?: string;
16
+ }
1
17
  export declare const UTabsList: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
18
  /** 额外 CSS 类名 */
3
19
  class: {
@@ -84,29 +100,30 @@ export declare const UTabsContent: import('vue').DefineComponent<import('vue').E
84
100
  }>> & Readonly<{}>, {
85
101
  class: string;
86
102
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
87
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
88
- modelValue?: string;
89
- } & {
103
+ declare const _default: typeof __VLS_export;
104
+ export default _default;
105
+ declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<{
90
106
  /** 容器额外 CSS 类名 */
91
107
  class?: string;
108
+ } & {
109
+ modelValue?: string;
92
110
  }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
93
111
  "update:modelValue": (value: string) => any;
94
112
  valueChange: (value: string) => any;
95
113
  }, string, import('vue').PublicProps, Readonly<{
96
- modelValue?: string;
97
- } & {
98
114
  /** 容器额外 CSS 类名 */
99
115
  class?: string;
116
+ } & {
117
+ modelValue?: string;
100
118
  }> & Readonly<{
101
119
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
102
120
  onValueChange?: ((value: string) => any) | undefined;
103
121
  }>, {
104
122
  class: string;
105
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>, {
106
- default?(_: {}): any;
123
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
124
+ default?: (props: {}) => any;
107
125
  }>;
108
- export default _default;
109
- type __VLS_WithTemplateSlots<T, S> = T & {
126
+ type __VLS_WithSlots<T, S> = T & {
110
127
  new (): {
111
128
  $slots: S;
112
129
  };
@@ -1 +1 @@
1
- {"version":3,"file":"tabs.vue.d.ts","sourceRoot":"","sources":["../../src/components/tabs.vue"],"names":[],"mappings":"AAKA;AAiLA,eAAO,MAAM,SAAS;IAGlB,gBAAgB;;;;;;;;IAAhB,gBAAgB;;;;;;;4EAUlB,CAAA;AAEF,eAAO,MAAM,YAAY;IAGrB,kBAAkB;;;;;IAKlB,eAAe;;;;;IAKf,gBAAgB;;;;;;;;oBAOA,UAAU;;IAjB1B,kBAAkB;;;;;IAKlB,eAAe;;;;;IAKf,gBAAgB;;;;;;;;;;4EAuClB,CAAA;AAEF,eAAO,MAAM,YAAY;IAGrB,mBAAmB;;;;;IAKnB,gBAAgB;;;;;;;;IALhB,mBAAmB;;;;;IAKnB,gBAAgB;;;;;;;4EAkBlB,CACD;;iBA2Cc,MAAM;;IApCnB,kBAAkB;YACV,MAAM;;;;;iBAmCD,MAAM;;IApCnB,kBAAkB;YACV,MAAM;;;;;WAAN,MAAM;;qBAsDa,GAAG;;AA7DhC,wBAmGK;AAaL,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"tabs.vue.d.ts","sourceRoot":"","sources":["../../src/components/tabs.vue"],"names":[],"mappings":"AAKA;AAgPA,MAAM,WAAW,SAAS;IACxB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,aAAa;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAcD,eAAO,MAAM,SAAS;IAGlB,gBAAgB;;;;;;;;IAAhB,gBAAgB;;;;;;;4EAUlB,CAAA;AAEF,eAAO,MAAM,YAAY;IAGrB,kBAAkB;;;;;IAKlB,eAAe;;;;;IAKf,gBAAgB;;;;;;;;oBAOA,UAAU;;IAjB1B,kBAAkB;;;;;IAKlB,eAAe;;;;;IAKf,gBAAgB;;;;;;;;;;4EAqElB,CAAA;AAEF,eAAO,MAAM,YAAY;IAGrB,mBAAmB;;;;;IAKnB,gBAAgB;;;;;;;;IALhB,mBAAmB;;;;;IAKnB,gBAAgB;;;;;;;4EA0BlB,CAAA;wBACmB,OAAO,YAAY;AAAxC,wBAAyC;AACzC,QAAA,MAAM,YAAY;IAMhB,kBAAkB;YACV,MAAM;;iBAkCD,MAAM;;;;;IAnCnB,kBAAkB;YACV,MAAM;;iBAkCD,MAAM;;;;;WAlCX,MAAM;;cAyEF,CAAC,KAAK,IAAgB,KAAK,GAAG;EAWxC,CAAC;AAWL,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -1,6 +1,6 @@
1
- type TagVariant = 'default' | 'primary' | 'success' | 'warning' | 'destructive' | 'outline';
2
- type TagSize = 'sm' | 'default';
3
- interface Props {
1
+ export type TagVariant = 'default' | 'primary' | 'success' | 'warning' | 'destructive' | 'outline';
2
+ export type TagSize = 'sm' | 'default';
3
+ export interface TagProps {
4
4
  /** 样式变体 */
5
5
  variant?: TagVariant;
6
6
  /** 尺寸 */
@@ -14,18 +14,11 @@ interface Props {
14
14
  /** 额外 CSS 类名 */
15
15
  class?: string;
16
16
  }
17
- declare function __VLS_template(): {
18
- attrs: Partial<{}>;
19
- slots: {
20
- default?(_: {}): any;
21
- };
22
- refs: {};
23
- rootEl: HTMLSpanElement;
24
- };
25
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
26
- declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
17
+ declare const _default: typeof __VLS_export;
18
+ export default _default;
19
+ declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<TagProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
27
20
  close: (event: MouseEvent) => any;
28
- }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
21
+ }, string, import('vue').PublicProps, Readonly<TagProps> & Readonly<{
29
22
  onClose?: ((event: MouseEvent) => any) | undefined;
30
23
  }>, {
31
24
  variant: TagVariant;
@@ -34,10 +27,10 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
34
27
  class: string;
35
28
  color: string;
36
29
  closable: boolean;
37
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
38
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
39
- export default _default;
40
- type __VLS_WithTemplateSlots<T, S> = T & {
30
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
31
+ default?: (props: {}) => any;
32
+ }>;
33
+ type __VLS_WithSlots<T, S> = T & {
41
34
  new (): {
42
35
  $slots: S;
43
36
  };
@@ -1 +1 @@
1
- {"version":3,"file":"tag.vue.d.ts","sourceRoot":"","sources":["../../src/components/tag.vue"],"names":[],"mappings":"AAKA;AA2GA,KAAK,UAAU,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,aAAa,GAAG,SAAS,CAAA;AAC3F,KAAK,OAAO,GAAG,IAAI,GAAG,SAAS,CAAA;AAE/B,UAAU,KAAK;IACb,WAAW;IACX,OAAO,CAAC,EAAE,UAAU,CAAA;IACpB,SAAS;IACT,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,eAAe;IACf,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW;IACX,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,6CAA6C;IAC7C,KA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AJH,OAAO;;cA0JN,CAAC,KAAK,IAAgB,KAAK,GAAG;EAWxC,CAAC;AAWL,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -0,0 +1,32 @@
1
+ import { Component } from 'vue';
2
+ import { ControlSize } from './config-provider.vue';
3
+ export type TextElement = string | Component;
4
+ export type TextTone = 'default' | 'primary' | 'secondary' | 'tertiary' | 'success' | 'warning' | 'danger' | 'info' | 'inherit';
5
+ export type TextSize = ControlSize | 'xs' | 'md';
6
+ export interface TextProps {
7
+ as?: TextElement;
8
+ tone?: TextTone;
9
+ size?: TextSize;
10
+ truncate?: boolean;
11
+ /** 最多显示的正整数行数;超出内容使用省略号裁切 */
12
+ lineClamp?: number | string;
13
+ class?: string;
14
+ }
15
+ declare const _default: typeof __VLS_export;
16
+ export default _default;
17
+ declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<TextProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TextProps> & Readonly<{}>, {
18
+ tone: TextTone;
19
+ size: TextSize;
20
+ class: string;
21
+ as: TextElement;
22
+ truncate: boolean;
23
+ lineClamp: number | string;
24
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
25
+ default?: (props: {}) => any;
26
+ }>;
27
+ type __VLS_WithSlots<T, S> = T & {
28
+ new (): {
29
+ $slots: S;
30
+ };
31
+ };
32
+ //# sourceMappingURL=text.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"text.vue.d.ts","sourceRoot":"","sources":["../../src/components/text.vue"],"names":[],"mappings":"AAkHA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AACpC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAExD,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,SAAS,CAAA;AAC5C,MAAM,MAAM,QAAQ,GAChB,SAAS,GACT,SAAS,GACT,WAAW,GACX,UAAU,GACV,SAAS,GACT,SAAS,GACT,QAAQ,GACR,MAAM,GACN,SAAS,CAAA;AACb,MAAM,MAAM,QAAQ,GAAG,WAAW,GAAG,IAAI,GAAG,IAAI,CAAA;AAEhD,MAAM,WAAW,SAAS;IACxB,EAAE,CAAC,EAAE,WAAW,CAAA;IAChB,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;wBACoB,OAAO,YAAY;AAAxC,wBAAyC;AACzC,QAAA,MAAM,YAAY;UART,QAAQ;UACR,QAAQ;WAIP,MAAM;QANT,WAAW;cAGL,OAAO;eAEN,MAAM,GAAG,MAAM;;cAsHf,CAAC,KAAK,IAAgB,KAAK,GAAG;EAUxC,CAAC;AAWL,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -1,54 +1,86 @@
1
- interface Props {
2
- /** 标签文本 */
1
+ import { TextCountFunction } from '@ug666/ui-core';
2
+ import { Component } from 'vue';
3
+ import { ControlSize } from './config-provider.vue';
4
+ export type TextareaResize = 'none' | 'both' | 'horizontal' | 'vertical';
5
+ export interface TextareaAutosizeOptions {
6
+ minRows?: number;
7
+ maxRows?: number;
8
+ }
9
+ export interface TextareaProps {
3
10
  label?: string;
4
- /** 错误提示文本 */
5
11
  error?: string;
6
- /** 帮助说明文本 */
7
12
  helperText?: string;
8
- /** 文本域 id,不传则自动生成 */
9
13
  id?: string;
10
- /** 默认行数 */
11
14
  rows?: number;
12
- /** 是否禁用 */
13
15
  disabled?: boolean;
14
- /** 占位文本 */
16
+ readonly?: boolean;
17
+ size?: ControlSize;
15
18
  placeholder?: string;
16
- /** 额外 CSS 类名 */
19
+ maxlength?: number;
20
+ resize?: TextareaResize;
21
+ autosize?: boolean | TextareaAutosizeOptions;
22
+ clearable?: boolean;
23
+ clearIcon?: Component;
24
+ showWordLimit?: boolean;
25
+ wordLimitPosition?: 'inside' | 'outside';
26
+ countCharacters?: TextCountFunction;
17
27
  class?: string;
18
28
  }
19
- type __VLS_Props = Props;
20
- declare function focus(): void;
21
- declare function blur(): void;
22
- type __VLS_PublicProps = {
29
+ declare const _default: typeof __VLS_export;
30
+ export default _default;
31
+ declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<TextareaProps & {
23
32
  modelValue?: string | undefined;
24
- } & __VLS_Props;
25
- declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
26
- focus: typeof focus;
27
- blur: typeof blur;
33
+ }, {
34
+ focus: () => void;
35
+ blur: () => void;
36
+ clear: () => void;
37
+ resizeTextarea: () => void;
28
38
  el: import('vue').Ref<HTMLTextAreaElement | null, HTMLTextAreaElement | null>;
29
39
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
30
40
  input: (event: Event) => any;
31
41
  blur: (event: FocusEvent) => any;
32
- focus: (event: FocusEvent) => any;
33
42
  change: (event: Event) => any;
43
+ compositionend: (event: CompositionEvent) => any;
44
+ compositionstart: (event: CompositionEvent) => any;
45
+ focus: (event: FocusEvent) => any;
46
+ clear: () => any;
34
47
  "update:modelValue": (value: string | undefined) => any;
35
- }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
48
+ }, string, import('vue').PublicProps, Readonly<TextareaProps & {
49
+ modelValue?: string | undefined;
50
+ }> & Readonly<{
36
51
  onInput?: ((event: Event) => any) | undefined;
37
52
  onBlur?: ((event: FocusEvent) => any) | undefined;
38
- onFocus?: ((event: FocusEvent) => any) | undefined;
39
53
  onChange?: ((event: Event) => any) | undefined;
54
+ onCompositionend?: ((event: CompositionEvent) => any) | undefined;
55
+ onCompositionstart?: ((event: CompositionEvent) => any) | undefined;
56
+ onFocus?: ((event: FocusEvent) => any) | undefined;
57
+ onClear?: (() => any) | undefined;
40
58
  "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
41
59
  }>, {
60
+ size: ControlSize;
42
61
  disabled: boolean;
43
- class: string;
44
62
  label: string;
45
- id: string;
46
63
  error: string;
64
+ resize: TextareaResize;
65
+ class: string;
66
+ id: string;
47
67
  helperText: string;
68
+ readonly: boolean;
48
69
  placeholder: string;
70
+ clearIcon: Component;
71
+ clearable: boolean;
72
+ showWordLimit: boolean;
73
+ wordLimitPosition: "inside" | "outside";
74
+ countCharacters: TextCountFunction;
75
+ maxlength: number;
49
76
  rows: number;
50
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
51
- textareaRef: HTMLTextAreaElement;
52
- }, any>;
53
- export default _default;
77
+ autosize: boolean | TextareaAutosizeOptions;
78
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
79
+ clearIcon?: (props: {}) => any;
80
+ }>;
81
+ type __VLS_WithSlots<T, S> = T & {
82
+ new (): {
83
+ $slots: S;
84
+ };
85
+ };
54
86
  //# sourceMappingURL=textarea.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"textarea.vue.d.ts","sourceRoot":"","sources":["../../src/components/textarea.vue"],"names":[],"mappings":"AAKA;AAqJA,UAAU,KAAK;IACb,WAAW;IACX,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,aAAa;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,aAAa;IACb,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,qBAAqB;IACrB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,WAAW;IACX,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,WAAW;IACX,QAAQ,CAAC,EAAE,OAAO,CAAA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,MAAM,CAAA;IAClB,MAAM,CAAC,EAAE,cAAc,CAAA;IACvB,QAAQ,CAAC,EAAE,OAAO,GAAG,uBAAuB,CAAA;IAC5C,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,iBAAiB,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;IACxC,eAAe,CAAC,EAAE,iBAAiB,CAAA;IACnC,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;wBACoB,OAAO,YAAY;AAAxC,wBAAyC;AACzC,QAAA,MAAM,YAAY;iBAyML,MAAM,GAAG,SAAS;;;;;;;;;;;;;;;;;iBAAlB,MAAM,GAAG,SAAS;;;;;;;;;;;UAtNtB,WAAW;cAFP,OAAO;WALV,MAAM;WACN,MAAM;YASL,cAAc;WAOf,MAAM;QAdT,MAAM;gBADE,MAAM;cAIR,OAAO;iBAEJ,MAAM;eAKR,SAAS;eADT,OAAO;mBAEH,OAAO;uBACH,QAAQ,GAAG,SAAS;qBACtB,iBAAiB;eAPvB,MAAM;UALX,MAAM;cAOF,OAAO,GAAG,uBAAuB;;gBAma9B,CAAC,KAAK,IAAgB,KAAK,GAAG;EAc1C,CAAC;AAWL,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -1,5 +1,7 @@
1
1
  export { toast, useToast } from './toast-state';
2
- declare const _default: import('vue').DefineComponent<{
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
4
+ declare const __VLS_export: import('vue').DefineComponent<{
3
5
  /** 容器额外 CSS 类名 */
4
6
  class?: string;
5
7
  }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
@@ -8,5 +10,4 @@ declare const _default: import('vue').DefineComponent<{
8
10
  }> & Readonly<{}>, {
9
11
  class: string;
10
12
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
- export default _default;
12
13
  //# sourceMappingURL=toast.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"toast.vue.d.ts","sourceRoot":"","sources":["../../src/components/toast.vue"],"names":[],"mappings":"AAKA;AA2EA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAC9C;;IAOC,kBAAkB;YACV,MAAM;;IADd,kBAAkB;YACV,MAAM;;WAAN,MAAM;;AAPhB,wBAqIK"}
1
+ {"version":3,"file":"toast.vue.d.ts","sourceRoot":"","sources":["../../src/components/toast.vue"],"names":[],"mappings":"AAKA;AA0GA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;wBAC1B,OAAO,YAAY;AAAxC,wBAAyC;AACzC,QAAA,MAAM,YAAY;IAOhB,kBAAkB;YACV,MAAM;;IADd,kBAAkB;YACV,MAAM;;WAAN,MAAM;6EA2JZ,CAAC"}
@@ -41,9 +41,11 @@ export declare const UTooltipContent: import('vue').DefineComponent<import('vue'
41
41
  };
42
42
  }>> & Readonly<{}>, {
43
43
  class: string;
44
- side: "left" | "right" | "top" | "bottom";
44
+ side: "left" | "right" | "bottom" | "top";
45
45
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
46
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
46
+ declare const _default: typeof __VLS_export;
47
+ export default _default;
48
+ declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<{
47
49
  /** 根容器额外 CSS 类名 */
48
50
  class?: string;
49
51
  }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
@@ -51,11 +53,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
51
53
  class?: string;
52
54
  }> & Readonly<{}>, {
53
55
  class: string;
54
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>, {
55
- default?(_: {}): any;
56
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
57
+ default?: (props: {}) => any;
56
58
  }>;
57
- export default _default;
58
- type __VLS_WithTemplateSlots<T, S> = T & {
59
+ type __VLS_WithSlots<T, S> = T & {
59
60
  new (): {
60
61
  $slots: S;
61
62
  };
@@ -1 +1 @@
1
- {"version":3,"file":"tooltip.vue.d.ts","sourceRoot":"","sources":["../../src/components/tooltip.vue"],"names":[],"mappings":"AAKA;AAuQA,eAAO,MAAM,eAAe;IAGxB,gBAAgB;;;;;;;;IAAhB,gBAAgB;;;;;;;4EA8ClB,CAAA;AAEF,eAAO,MAAM,eAAe;IAGxB,aAAa;;cAEK,MAAM,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO;;;IAG3D,gBAAgB;;;;;;;;IALhB,aAAa;;cAEK,MAAM,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO;;;IAG3D,gBAAgB;;;;;;;;4EAoFlB,CACD;;IAOC,mBAAmB;YACX,MAAM;;IADd,mBAAmB;YACX,MAAM;;WAAN,MAAM;;qBAwCa,GAAG;;AA/ChC,wBAmFK;AAaL,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"tooltip.vue.d.ts","sourceRoot":"","sources":["../../src/components/tooltip.vue"],"names":[],"mappings":"AAKA;AAoUA,eAAO,MAAM,eAAe;IAGxB,gBAAgB;;;;;;;;IAAhB,gBAAgB;;;;;;;4EAsFlB,CAAA;AAEF,eAAO,MAAM,eAAe;IAGxB,aAAa;;cAEK,MAAM,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO;;;IAG3D,gBAAgB;;;;;;;;IALhB,aAAa;;cAEK,MAAM,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO;;;IAG3D,gBAAgB;;;;;;;;4EA8FlB,CAAA;wBACmB,OAAO,YAAY;AAAxC,wBAAyC;AACzC,QAAA,MAAM,YAAY;IAMhB,mBAAmB;YACX,MAAM;;IADd,mBAAmB;YACX,MAAM;;WAAN,MAAM;;cAyDF,CAAC,KAAK,IAAgB,KAAK,GAAG;EAUxC,CAAC;AAWL,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -0,0 +1,15 @@
1
+ export type { InputProps } from '../input.vue';
2
+ export type { LabelProps } from '../label.vue';
3
+ export type { TextareaProps } from '../textarea.vue';
4
+ export type { SelectModelValue, SelectOption, SelectProps, SelectValue, } from '../select.vue';
5
+ export type { CheckboxProps, CheckboxSize } from '../checkbox.vue';
6
+ export type { CheckboxGroupProps, CheckboxValue, } from '../checkbox-group.vue';
7
+ export type { RadioProps, RadioSize } from '../radio.vue';
8
+ export type { RadioValue } from '../context/radio-context';
9
+ export type { RadioGroupOrientation, RadioGroupProps } from '../radio-group.vue';
10
+ export type { SwitchLabelPlacement, SwitchProps } from '../switch.vue';
11
+ export type { SliderMark, SliderMarkLabel, SliderMarks, SliderProps, SliderStep, SliderTooltipPlacement, SliderValue, } from '../slider.vue';
12
+ export type { NumberInputControlsPosition, NumberInputProps, NumberInputSize, NumberInputValue, } from '../number-input.vue';
13
+ export type { OTPInputProps } from '../otp-input.vue';
14
+ export type { FormControlProps, FormDescriptionProps, FormFieldStatus, FormFieldProps, FormItemProps, FormLabelPosition, FormLabelProps, FormLayout, FormMessageProps, FormProps, FormRequiredMarkPosition, } from '../form.vue';
15
+ //# sourceMappingURL=forms.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"forms.d.ts","sourceRoot":"","sources":["../../../src/components/types/forms.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAC9C,YAAY,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAC9C,YAAY,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AACpD,YAAY,EACV,gBAAgB,EAChB,YAAY,EACZ,WAAW,EACX,WAAW,GACZ,MAAM,eAAe,CAAA;AACtB,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAClE,YAAY,EACV,kBAAkB,EAClB,aAAa,GACd,MAAM,uBAAuB,CAAA;AAC9B,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AACzD,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAA;AAC1D,YAAY,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AAChF,YAAY,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AACtE,YAAY,EACV,UAAU,EACV,eAAe,EACf,WAAW,EACX,WAAW,EACX,UAAU,EACV,sBAAsB,EACtB,WAAW,GACZ,MAAM,eAAe,CAAA;AACtB,YAAY,EACV,2BAA2B,EAC3B,gBAAgB,EAChB,eAAe,EACf,gBAAgB,GACjB,MAAM,qBAAqB,CAAA;AAC5B,YAAY,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AACrD,YAAY,EACV,gBAAgB,EAChB,oBAAoB,EACpB,eAAe,EACf,cAAc,EACd,aAAa,EACb,iBAAiB,EACjB,cAAc,EACd,UAAU,EACV,gBAAgB,EAChB,SAAS,EACT,wBAAwB,GACzB,MAAM,aAAa,CAAA"}
@@ -0,0 +1,5 @@
1
+ export type { ColBreakpoint, ColProps, ColSize, RowAlign, RowGutter, RowJustify, RowProps, } from '../layout';
2
+ export type { AsideProps, ContainerDirection, ContainerProps, ContainerRegionProps, ContainerRegionSize, FooterProps, HeaderProps, MainProps, } from '../container.vue';
3
+ export type { IconProps } from '../icon.vue';
4
+ export type { SeparatorContentPosition, SeparatorLineStyle, SeparatorOrientation, SeparatorProps, } from '../separator.vue';
5
+ //# sourceMappingURL=foundation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"foundation.d.ts","sourceRoot":"","sources":["../../../src/components/types/foundation.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,aAAa,EACb,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,SAAS,EACT,UAAU,EACV,QAAQ,GACT,MAAM,WAAW,CAAA;AAClB,YAAY,EACV,UAAU,EACV,kBAAkB,EAClB,cAAc,EACd,oBAAoB,EACpB,mBAAmB,EACnB,WAAW,EACX,WAAW,EACX,SAAS,GACV,MAAM,kBAAkB,CAAA;AACzB,YAAY,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAC5C,YAAY,EACV,wBAAwB,EACxB,kBAAkB,EAClB,oBAAoB,EACpB,cAAc,GACf,MAAM,kBAAkB,CAAA"}
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`../toast-state-BBoVvR0u.cjs`),t=require(`../composables-GXmQiqgg.cjs`);exports.toast=e.n,exports.useClickOutside=t.d,exports.useCopyToClipboard=t.u,exports.useDebounce=t.m,exports.useEventListener=t.t,exports.useForm=t.s,exports.useHotkeys=t.n,exports.useInterval=t.i,exports.useLocalStorage=t.p,exports.useMediaQuery=t.f,exports.useMounted=t.a,exports.usePagination=t.c,exports.useTimeout=t.r,exports.useToast=t.o,exports.useToggle=t.l;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../toast-state-DZPoRLPw.cjs"),t=require("../composables-CiWPyBEE.cjs");exports.toast=e.n,exports.useClickOutside=t.d,exports.useCopyToClipboard=t.u,exports.useDebounce=t.m,exports.useEventListener=t.t,exports.useForm=t.s,exports.useHotkeys=t.n,exports.useInterval=t.i,exports.useLocalStorage=t.p,exports.useMediaQuery=t.f,exports.useMounted=t.a,exports.usePagination=t.c,exports.useTimeout=t.r,exports.useToast=t.o,exports.useToggle=t.l;
@@ -10,7 +10,8 @@ export { useClickOutside } from './use-click-outside';
10
10
  export { useCopyToClipboard } from './use-copy-to-clipboard';
11
11
  export { useToggle } from './use-toggle';
12
12
  export { usePagination } from './use-pagination';
13
- export { useForm } from './use-form';
13
+ export { useForm, type UseFormErrors, type UseFormOptions, type UseFormReturn, type UseFormTouched, } from './use-form';
14
+ export type { FormFieldRules, FormRule, FormRules, FormValidationTrigger, FormValueType, } from '@ug666/ui-core';
14
15
  export { toast, useToast } from './use-toast';
15
16
  export type { ToastItem, ToastType, UseToastReturn } from './use-toast';
16
17
  export { useMounted } from './use-mounted';