@nutui/nutui 4.3.2 → 4.3.4

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 (227) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/dist/nutui.es.js +2 -4
  3. package/dist/nutui.js +7000 -7518
  4. package/dist/nutui.umd.js +1 -1
  5. package/dist/packages/{Interceptor-WYVtGbGC.js → Interceptor-DlY2h6Y7.js} +2 -2
  6. package/dist/packages/actionsheet/ActionSheet.js +3 -3
  7. package/dist/packages/address/Address.js +5 -5
  8. package/dist/packages/addresslist/AddressList.js +6 -6
  9. package/dist/packages/animate/Animate.js +1 -1
  10. package/dist/packages/audio/Audio.js +2 -2
  11. package/dist/packages/audiooperate/AudioOperate.js +3 -3
  12. package/dist/packages/avatar/Avatar.js +2 -2
  13. package/dist/packages/avatarcropper/AvatarCropper.js +5 -5
  14. package/dist/packages/avatargroup/AvatarGroup.js +3 -3
  15. package/dist/packages/backtop/Backtop.js +80 -90
  16. package/dist/packages/badge/Badge.js +2 -2
  17. package/dist/packages/barrage/Barrage.js +2 -2
  18. package/dist/packages/button/Button.js +1 -1
  19. package/dist/packages/calendar/Calendar.js +817 -6
  20. package/dist/packages/calendar/index.scss +0 -1
  21. package/dist/packages/calendarcard/CalendarCard.js +4 -4
  22. package/dist/packages/card/Card.js +4 -4
  23. package/dist/packages/cascader/Cascader.js +4 -4
  24. package/dist/packages/category/Category.js +4 -4
  25. package/dist/packages/categorypane/CategoryPane.js +5 -5
  26. package/dist/packages/cell/Cell.js +4 -4
  27. package/dist/packages/cellgroup/CellGroup.js +2 -2
  28. package/dist/packages/checkbox/Checkbox.js +4 -4
  29. package/dist/packages/checkboxgroup/CheckboxGroup.js +2 -2
  30. package/dist/packages/circleprogress/CircleProgress.js +91 -98
  31. package/dist/packages/col/Col.js +2 -2
  32. package/dist/packages/collapse/Collapse.js +2 -2
  33. package/dist/packages/collapseitem/CollapseItem.js +3 -3
  34. package/dist/packages/comment/Comment.js +6 -6
  35. package/dist/packages/{common-4inKawxR.js → common-Chr7cC9o.js} +2 -2
  36. package/dist/packages/{common-FZL3qC99.js → common-DRG0ue26.js} +1 -1
  37. package/dist/packages/configprovider/ConfigProvider.js +1 -1
  38. package/dist/packages/countdown/Countdown.js +4 -4
  39. package/dist/packages/countup/Countup.js +9 -9
  40. package/dist/packages/{date-djiVNSnJ.js → date-DHXcwF1m.js} +2 -2
  41. package/dist/packages/datepicker/DatePicker.js +3 -3
  42. package/dist/packages/dialog/Dialog.js +8 -8
  43. package/dist/packages/divider/Divider.js +1 -1
  44. package/dist/packages/drag/Drag.js +3 -3
  45. package/dist/packages/ecard/Ecard.js +5 -5
  46. package/dist/packages/elevator/Elevator.js +2 -2
  47. package/dist/packages/ellipsis/Ellipsis.js +4 -4
  48. package/dist/packages/empty/Empty.js +67 -52
  49. package/dist/packages/fixednav/FixedNav.js +3 -3
  50. package/dist/packages/form/Form.js +4 -4
  51. package/dist/packages/formitem/FormItem.js +4 -4
  52. package/dist/packages/grid/Grid.js +2 -2
  53. package/dist/packages/griditem/GridItem.js +5 -5
  54. package/dist/packages/image/Image.js +3 -3
  55. package/dist/packages/imagepreview/ImagePreview.js +8 -8
  56. package/dist/packages/{index-s3RgMhc7.js → index-CFigyH92.js} +1 -1
  57. package/dist/packages/{index--uVlasFu.js → index-Do4_KY74.js} +2 -2
  58. package/dist/packages/{index-BqB5dTeo.js → index-uHBD4dfS.js} +2 -2
  59. package/dist/packages/{index.vue_vue_type_script_lang-n0HbjvfF.js → index.vue_vue_type_script_lang-CTQUvlgN.js} +4 -4
  60. package/dist/packages/{index.vue_vue_type_script_lang-54PRh3YM.js → index.vue_vue_type_script_lang-CaSiRl9x.js} +2 -2
  61. package/dist/packages/indicator/Indicator.js +56 -50
  62. package/dist/packages/infiniteloading/InfiniteLoading.js +6 -6
  63. package/dist/packages/input/Input.js +10 -10
  64. package/dist/packages/inputnumber/InputNumber.js +85 -104
  65. package/dist/packages/invoice/Invoice.js +87 -138
  66. package/dist/packages/layout/Layout.js +2 -2
  67. package/dist/packages/list/List.js +3 -3
  68. package/dist/packages/locale/lang/en-US.js +1 -1
  69. package/dist/packages/locale/lang/id-ID.js +1 -1
  70. package/dist/packages/locale/lang/index.js +2 -2
  71. package/dist/packages/locale/lang/zh-CN.js +1 -1
  72. package/dist/packages/locale/lang/zh-TW.js +1 -1
  73. package/dist/packages/menu/Menu.js +5 -5
  74. package/dist/packages/menuitem/MenuItem.js +5 -5
  75. package/dist/packages/{mountComponent-uInXoTMp.js → mountComponent-DBQ88Fjz.js} +1 -1
  76. package/dist/packages/navbar/Navbar.js +103 -115
  77. package/dist/packages/noticebar/Noticebar.js +3 -3
  78. package/dist/packages/notify/Notify.js +3 -3
  79. package/dist/packages/numberkeyboard/NumberKeyboard.js +4 -4
  80. package/dist/packages/overlay/Overlay.js +3 -3
  81. package/dist/packages/pagination/Pagination.js +3 -3
  82. package/dist/packages/picker/Picker.js +7 -10
  83. package/dist/packages/popover/Popover.js +5 -5
  84. package/dist/packages/popup/Popup.js +2 -2
  85. package/dist/packages/price/Price.js +1 -1
  86. package/dist/packages/progress/Progress.js +96 -115
  87. package/dist/packages/pullrefresh/PullRefresh.js +7 -7
  88. package/dist/packages/radio/Radio.js +1 -1
  89. package/dist/packages/radiogroup/RadioGroup.js +1 -1
  90. package/dist/packages/range/Range.js +6 -6
  91. package/dist/packages/rate/Rate.js +102 -144
  92. package/dist/packages/row/Row.js +2 -2
  93. package/dist/packages/searchbar/Searchbar.js +5 -5
  94. package/dist/packages/shortpassword/ShortPassword.js +5 -5
  95. package/dist/packages/sidenavbar/SideNavbar.js +2 -2
  96. package/dist/packages/sidenavbaritem/SideNavbarItem.js +2 -2
  97. package/dist/packages/signature/Signature.js +3 -3
  98. package/dist/packages/skeleton/Skeleton.js +13 -13
  99. package/dist/packages/sku/Sku.js +6 -6
  100. package/dist/packages/space/Space.js +1 -1
  101. package/dist/packages/step/Step.js +3 -3
  102. package/dist/packages/steps/Steps.js +2 -2
  103. package/dist/packages/sticky/Sticky.js +4 -4
  104. package/dist/packages/subsidenavbar/SubSideNavbar.js +2 -2
  105. package/dist/packages/swipe/Swipe.js +98 -112
  106. package/dist/packages/swipegroup/SwipeGroup.js +42 -24
  107. package/dist/packages/swiper/Swiper.js +7 -7
  108. package/dist/packages/swiperitem/SwiperItem.js +3 -3
  109. package/dist/packages/switch/Switch.js +68 -86
  110. package/dist/packages/tabbar/Tabbar.js +78 -78
  111. package/dist/packages/tabbaritem/TabbarItem.js +89 -113
  112. package/dist/packages/table/Table.js +3 -3
  113. package/dist/packages/tabpane/TabPane.js +2 -2
  114. package/dist/packages/tabs/Tabs.js +9 -9
  115. package/dist/packages/tag/Tag.js +57 -66
  116. package/dist/packages/textarea/Textarea.js +113 -127
  117. package/dist/packages/timedetail/TimeDetail.js +2 -2
  118. package/dist/packages/timepannel/TimePannel.js +2 -2
  119. package/dist/packages/timeselect/TimeSelect.js +4 -4
  120. package/dist/packages/toast/Toast.js +6 -6
  121. package/dist/packages/tour/Tour.js +3 -3
  122. package/dist/packages/trendarrow/TrendArrow.js +51 -83
  123. package/dist/packages/uploader/Uploader.js +9 -9
  124. package/dist/packages/{useChildren-GU_NVfD8.js → useChildren-BZ4-J79J.js} +2 -2
  125. package/dist/packages/useParent-D6DiuxZZ.js +21 -0
  126. package/dist/packages/{util-4Jkyw4BJ.js → util-DnfK0Qan.js} +2 -2
  127. package/dist/packages/video/Video.js +16 -16
  128. package/dist/packages/watermark/Watermark.js +2 -2
  129. package/dist/smartips/web-types.json +2 -2
  130. package/dist/styles/base-jdb.css +1 -1
  131. package/dist/styles/base-jddkh.css +1 -1
  132. package/dist/styles/base-jdt.css +1 -1
  133. package/dist/styles/themes/default.scss +0 -1
  134. package/dist/styles/themes/jdb.scss +0 -1
  135. package/dist/styles/themes/jddkh.scss +0 -1
  136. package/dist/styles/themes/jdt.scss +0 -1
  137. package/dist/styles/variables-jdb.scss +0 -1
  138. package/dist/styles/variables-jddkh.scss +0 -1
  139. package/dist/styles/variables-jdt.scss +0 -1
  140. package/dist/styles/variables.scss +0 -1
  141. package/dist/types/__VUE/backtop/backtop.vue.d.ts +87 -0
  142. package/dist/types/__VUE/backtop/index.d.ts +5 -0
  143. package/dist/types/__VUE/calendaritem/index.vue.d.ts +2 -12
  144. package/dist/types/__VUE/circleprogress/circle-progress.vue.d.ts +88 -0
  145. package/dist/types/__VUE/circleprogress/index.d.ts +6 -0
  146. package/dist/types/__VUE/empty/empty.vue.d.ts +62 -0
  147. package/dist/types/__VUE/empty/index.d.ts +6 -0
  148. package/dist/types/__VUE/indicator/index.d.ts +6 -0
  149. package/dist/types/__VUE/indicator/indicator.vue.d.ts +65 -0
  150. package/dist/types/__VUE/inputnumber/index.d.ts +5 -0
  151. package/dist/types/__VUE/inputnumber/input-number.vue.d.ts +112 -0
  152. package/dist/types/__VUE/invoice/index.d.ts +6 -0
  153. package/dist/types/__VUE/invoice/invoice.vue.d.ts +59 -0
  154. package/dist/types/__VUE/invoice/types.d.ts +12 -0
  155. package/dist/types/__VUE/navbar/index.d.ts +5 -0
  156. package/dist/types/__VUE/navbar/navbar.vue.d.ts +125 -0
  157. package/dist/types/__VUE/progress/index.d.ts +6 -0
  158. package/dist/types/__VUE/progress/progress.vue.d.ts +91 -0
  159. package/dist/types/__VUE/rate/index.d.ts +5 -0
  160. package/dist/types/__VUE/rate/rate.vue.d.ts +208 -0
  161. package/dist/types/__VUE/swipe/index.d.ts +6 -0
  162. package/dist/types/__VUE/swipe/swipe.vue.d.ts +79 -0
  163. package/dist/types/__VUE/swipe/types.d.ts +1 -0
  164. package/dist/types/__VUE/swipegroup/index.d.ts +5 -0
  165. package/dist/types/__VUE/swipegroup/swipe-group.vue.d.ts +47 -0
  166. package/dist/types/__VUE/switch/index.d.ts +5 -0
  167. package/dist/types/__VUE/switch/switch.vue.d.ts +109 -0
  168. package/dist/types/__VUE/tabbar/index.d.ts +5 -0
  169. package/dist/types/__VUE/tabbar/tabbar.vue.d.ts +83 -0
  170. package/dist/types/__VUE/tabbaritem/index.d.ts +5 -0
  171. package/dist/types/__VUE/tabbaritem/tabbar-item.vue.d.ts +65 -0
  172. package/dist/types/__VUE/tabs/index.vue.d.ts +12 -12
  173. package/dist/types/__VUE/tag/index.d.ts +6 -0
  174. package/dist/types/__VUE/tag/tag.vue.d.ts +90 -0
  175. package/dist/types/__VUE/tag/types.d.ts +1 -1
  176. package/dist/types/__VUE/textarea/index.d.ts +5 -0
  177. package/dist/types/__VUE/textarea/textarea.vue.d.ts +104 -0
  178. package/dist/types/__VUE/trendarrow/index.d.ts +5 -0
  179. package/dist/types/__VUE/trendarrow/trend-arrow.vue.d.ts +96 -0
  180. package/dist/types/index.d.ts +36 -20
  181. package/dist/types/utils/throttle.d.ts +1 -1
  182. package/dist/types/utils/useRelation/useParent.d.ts +1 -0
  183. package/package.json +1 -1
  184. package/dist/packages/calendaritem/CalendarItem.js +0 -819
  185. package/dist/packages/calendaritem/index.css +0 -0
  186. package/dist/packages/calendaritem/index.mjs +0 -2
  187. package/dist/packages/calendaritem/index.scss +0 -0
  188. package/dist/packages/calendaritem/style/css.mjs +0 -2
  189. package/dist/packages/calendaritem/style/index.mjs +0 -2
  190. package/dist/packages/useParent-KIxqkovs.js +0 -16
  191. package/dist/types/__VUE/backtop/index.vue.d.ts +0 -98
  192. package/dist/types/__VUE/circleprogress/index.vue.d.ts +0 -95
  193. package/dist/types/__VUE/empty/index.vue.d.ts +0 -53
  194. package/dist/types/__VUE/indicator/index.vue.d.ts +0 -69
  195. package/dist/types/__VUE/inputnumber/index.vue.d.ts +0 -117
  196. package/dist/types/__VUE/invoice/index.vue.d.ts +0 -53
  197. package/dist/types/__VUE/navbar/index.vue.d.ts +0 -129
  198. package/dist/types/__VUE/progress/index.vue.d.ts +0 -120
  199. package/dist/types/__VUE/rate/index.vue.d.ts +0 -240
  200. package/dist/types/__VUE/swipe/index.vue.d.ts +0 -70
  201. package/dist/types/__VUE/swipegroup/index.vue.d.ts +0 -26
  202. package/dist/types/__VUE/switch/index.vue.d.ts +0 -118
  203. package/dist/types/__VUE/tabbar/index.vue.d.ts +0 -85
  204. package/dist/types/__VUE/tabbaritem/index.vue.d.ts +0 -60
  205. package/dist/types/__VUE/tag/index.vue.d.ts +0 -94
  206. package/dist/types/__VUE/textarea/index.vue.d.ts +0 -127
  207. package/dist/types/__VUE/trendarrow/index.vue.d.ts +0 -102
  208. /package/dist/packages/{_plugin-vue_export-helper-yVxbj29m.js → _plugin-vue_export-helper-1tPrXgE0.js} +0 -0
  209. /package/dist/packages/{component-TCzwHGVq.js → component-DQf3CENX.js} +0 -0
  210. /package/dist/packages/{index-cp6Ms_Qe.js → index-B1qsj2XR.js} +0 -0
  211. /package/dist/packages/{index-xDfQLRen.js → index-BvmDLUYP.js} +0 -0
  212. /package/dist/packages/{index-084nl_oE.js → index-I8tfW3Kf.js} +0 -0
  213. /package/dist/packages/{index-Ii9XdkPy.js → index-aiGQ-EiA.js} +0 -0
  214. /package/dist/packages/locale/lang/{baseLang-7uiEiO-2.js → baseLang-Bnfy6fTl.js} +0 -0
  215. /package/dist/packages/{pxCheck-OnXlN1NC.js → pxCheck-DN6FYV6q.js} +0 -0
  216. /package/dist/packages/{raf-MQjoO-Ag.js → raf-c01wDYCo.js} +0 -0
  217. /package/dist/packages/{renderIcon--EgZu5_5.js → renderIcon-BfOvhG7i.js} +0 -0
  218. /package/dist/packages/{types-RCVUm7Nb.js → types-1HzUV14W.js} +0 -0
  219. /package/dist/packages/{types-zeKkNDAq.js → types-48N1bMrT.js} +0 -0
  220. /package/dist/packages/{types-Ww4ErYJT.js → types-BKDaJvHp.js} +0 -0
  221. /package/dist/packages/{types-odSRziQJ.js → types-BODurTjN.js} +0 -0
  222. /package/dist/packages/{types-qOrhXtA_.js → types-BWhKcf4T.js} +0 -0
  223. /package/dist/packages/{types-4IflWeQO.js → types-BomhFk3T.js} +0 -0
  224. /package/dist/packages/{types-j71K23JP.js → types-CkPfROfI.js} +0 -0
  225. /package/dist/packages/{types-9wCQwtH3.js → types-DUkJysbi.js} +0 -0
  226. /package/dist/packages/{types-Cq2YypZn.js → types-MuhxzCWc.js} +0 -0
  227. /package/dist/packages/{with-install-p59gYYU_.js → with-install-Ch3FF0uS.js} +0 -0
@@ -0,0 +1,6 @@
1
+ import Indicator from './indicator.vue';
2
+ import type { ComponentPublicInstance } from 'vue';
3
+ export type { IndicatorProps } from './indicator.vue';
4
+ export type { IndicatorAlign } from './types';
5
+ export type IndicatorInstance = ComponentPublicInstance & InstanceType<typeof Indicator>;
6
+ export { Indicator, Indicator as default };
@@ -0,0 +1,65 @@
1
+ import type { WithInstall } from '../../utils';
2
+ import type { IndicatorAlign } from './types';
3
+ export type IndicatorProps = Partial<{
4
+ size: number;
5
+ current: number;
6
+ block: boolean;
7
+ align: IndicatorAlign;
8
+ fillZero: boolean;
9
+ }>;
10
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
11
+ size: number;
12
+ current: number;
13
+ block: boolean;
14
+ align: IndicatorAlign;
15
+ fillZero: boolean;
16
+ }>>, {
17
+ size: number;
18
+ current: number;
19
+ block: boolean;
20
+ align: string;
21
+ fillZero: boolean;
22
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
23
+ size: number;
24
+ current: number;
25
+ block: boolean;
26
+ align: IndicatorAlign;
27
+ fillZero: boolean;
28
+ }>>, {
29
+ size: number;
30
+ current: number;
31
+ block: boolean;
32
+ align: string;
33
+ fillZero: boolean;
34
+ }>>>, {
35
+ size: number;
36
+ block: boolean;
37
+ align: IndicatorAlign;
38
+ current: number;
39
+ fillZero: boolean;
40
+ }, {}>;
41
+ declare const _nut_default: WithInstall<typeof _default>;
42
+ export default _nut_default;
43
+
44
+ declare module 'vue' {
45
+ interface GlobalComponents {
46
+ NutIndicator: typeof _default;
47
+ }
48
+ }
49
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
50
+ type __VLS_TypePropsToRuntimeProps<T> = {
51
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
52
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
53
+ } : {
54
+ type: import('vue').PropType<T[K]>;
55
+ required: true;
56
+ };
57
+ };
58
+ type __VLS_WithDefaults<P, D> = {
59
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
60
+ default: D[K];
61
+ }> : P[K];
62
+ };
63
+ type __VLS_Prettify<T> = {
64
+ [K in keyof T]: T[K];
65
+ } & {};
@@ -0,0 +1,5 @@
1
+ import InputNumber from './input-number.vue';
2
+ import type { ComponentPublicInstance } from 'vue';
3
+ export type { InputNumberProps } from './input-number.vue';
4
+ export type InputNumberInstance = ComponentPublicInstance & InstanceType<typeof InputNumber>;
5
+ export { InputNumber, InputNumber as default };
@@ -0,0 +1,112 @@
1
+ import type { WithInstall } from '../../utils';
2
+ export type InputNumberProps = Partial<{
3
+ modelValue: string | number;
4
+ inputWidth: string | number;
5
+ buttonSize: string | number;
6
+ min: string | number;
7
+ max: string | number;
8
+ step: string | number;
9
+ decimalPlaces: string | number;
10
+ disabled: boolean;
11
+ readonly: boolean;
12
+ }>;
13
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
14
+ modelValue: string | number;
15
+ inputWidth: string | number;
16
+ buttonSize: string | number;
17
+ min: string | number;
18
+ max: string | number;
19
+ step: string | number;
20
+ decimalPlaces: string | number;
21
+ disabled: boolean;
22
+ readonly: boolean;
23
+ }>>, {
24
+ modelValue: number;
25
+ inputWidth: string;
26
+ buttonSize: string;
27
+ min: number;
28
+ max: number;
29
+ step: number;
30
+ decimalPlaces: number;
31
+ disabled: boolean;
32
+ readonly: boolean;
33
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
34
+ reduce: (...args: any[]) => void;
35
+ add: (...args: any[]) => void;
36
+ blur: (...args: any[]) => void;
37
+ change: (...args: any[]) => void;
38
+ focus: (...args: any[]) => void;
39
+ "update:modelValue": (...args: any[]) => void;
40
+ overlimit: (...args: any[]) => void;
41
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
42
+ modelValue: string | number;
43
+ inputWidth: string | number;
44
+ buttonSize: string | number;
45
+ min: string | number;
46
+ max: string | number;
47
+ step: string | number;
48
+ decimalPlaces: string | number;
49
+ disabled: boolean;
50
+ readonly: boolean;
51
+ }>>, {
52
+ modelValue: number;
53
+ inputWidth: string;
54
+ buttonSize: string;
55
+ min: number;
56
+ max: number;
57
+ step: number;
58
+ decimalPlaces: number;
59
+ disabled: boolean;
60
+ readonly: boolean;
61
+ }>>> & {
62
+ onFocus?: ((...args: any[]) => any) | undefined;
63
+ onBlur?: ((...args: any[]) => any) | undefined;
64
+ onChange?: ((...args: any[]) => any) | undefined;
65
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
66
+ onReduce?: ((...args: any[]) => any) | undefined;
67
+ onAdd?: ((...args: any[]) => any) | undefined;
68
+ onOverlimit?: ((...args: any[]) => any) | undefined;
69
+ }, {
70
+ disabled: boolean;
71
+ modelValue: string | number;
72
+ max: string | number;
73
+ min: string | number;
74
+ step: string | number;
75
+ readonly: boolean;
76
+ inputWidth: string | number;
77
+ buttonSize: string | number;
78
+ decimalPlaces: string | number;
79
+ }, {}>, {
80
+ "left-icon"?(_: {}): any;
81
+ "right-icon"?(_: {}): any;
82
+ }>;
83
+ declare const _nut_default: WithInstall<typeof _default>;
84
+ export default _nut_default;
85
+
86
+ declare module 'vue' {
87
+ interface GlobalComponents {
88
+ NutInputNumber: typeof _default;
89
+ }
90
+ }
91
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
92
+ type __VLS_TypePropsToRuntimeProps<T> = {
93
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
94
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
95
+ } : {
96
+ type: import('vue').PropType<T[K]>;
97
+ required: true;
98
+ };
99
+ };
100
+ type __VLS_WithDefaults<P, D> = {
101
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
102
+ default: D[K];
103
+ }> : P[K];
104
+ };
105
+ type __VLS_Prettify<T> = {
106
+ [K in keyof T]: T[K];
107
+ } & {};
108
+ type __VLS_WithTemplateSlots<T, S> = T & {
109
+ new (): {
110
+ $slots: S;
111
+ };
112
+ };
@@ -0,0 +1,6 @@
1
+ import Invoice from './invoice.vue';
2
+ import type { ComponentPublicInstance } from 'vue';
3
+ export type { InvoiceProps } from './invoice.vue';
4
+ export type { InvoiceDataItem } from './types';
5
+ export type InvoiceInstance = ComponentPublicInstance & InstanceType<typeof Invoice>;
6
+ export { Invoice, Invoice as default };
@@ -0,0 +1,59 @@
1
+ import type { WithInstall } from '../../utils';
2
+ import type { InvoiceDataItem } from './types';
3
+ export type InvoiceProps = Partial<{
4
+ data: InvoiceDataItem[];
5
+ formValue: any;
6
+ submit: boolean;
7
+ }>;
8
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
9
+ data: InvoiceDataItem[];
10
+ formValue: any;
11
+ submit: boolean;
12
+ }>>, {
13
+ data: () => never[];
14
+ formValue: () => void;
15
+ submit: boolean;
16
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
+ submit: (...args: any[]) => void;
18
+ scrollBottom: (...args: any[]) => void;
19
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
20
+ data: InvoiceDataItem[];
21
+ formValue: any;
22
+ submit: boolean;
23
+ }>>, {
24
+ data: () => never[];
25
+ formValue: () => void;
26
+ submit: boolean;
27
+ }>>> & {
28
+ onSubmit?: ((...args: any[]) => any) | undefined;
29
+ onScrollBottom?: ((...args: any[]) => any) | undefined;
30
+ }, {
31
+ submit: boolean;
32
+ data: InvoiceDataItem[];
33
+ formValue: any;
34
+ }, {}>;
35
+ declare const _nut_default: WithInstall<typeof _default>;
36
+ export default _nut_default;
37
+
38
+ declare module 'vue' {
39
+ interface GlobalComponents {
40
+ NutInvoice: typeof _default;
41
+ }
42
+ }
43
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
44
+ type __VLS_TypePropsToRuntimeProps<T> = {
45
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
46
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
47
+ } : {
48
+ type: import('vue').PropType<T[K]>;
49
+ required: true;
50
+ };
51
+ };
52
+ type __VLS_WithDefaults<P, D> = {
53
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
54
+ default: D[K];
55
+ }> : P[K];
56
+ };
57
+ type __VLS_Prettify<T> = {
58
+ [K in keyof T]: T[K];
59
+ } & {};
@@ -0,0 +1,12 @@
1
+ import type { FormItemRule } from '../form/types';
2
+ export interface InvoiceDataItem {
3
+ type?: 'radio';
4
+ label?: string;
5
+ placeholder?: string;
6
+ radioLabel?: {
7
+ label: string;
8
+ }[];
9
+ formItemProp: string;
10
+ rules?: FormItemRule[];
11
+ required?: boolean;
12
+ }
@@ -0,0 +1,5 @@
1
+ import Navbar from './navbar.vue';
2
+ import type { ComponentPublicInstance } from 'vue';
3
+ export type { NavbarProps } from './navbar.vue';
4
+ export type NavbarInstance = ComponentPublicInstance & InstanceType<typeof Navbar>;
5
+ export { Navbar, Navbar as default };
@@ -0,0 +1,125 @@
1
+ import type { WithInstall } from '../../utils';
2
+ export type NavbarProps = Partial<{
3
+ leftShow: boolean;
4
+ title: string;
5
+ titleIcon: boolean;
6
+ leftText: string;
7
+ desc: string;
8
+ fixed: boolean;
9
+ safeAreaInsetTop: boolean;
10
+ border: boolean;
11
+ placeholder: boolean;
12
+ zIndex: string | number;
13
+ }>;
14
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
15
+ leftShow: boolean;
16
+ title: string;
17
+ titleIcon: boolean;
18
+ leftText: string;
19
+ desc: string;
20
+ fixed: boolean;
21
+ safeAreaInsetTop: boolean;
22
+ border: boolean;
23
+ placeholder: boolean;
24
+ zIndex: string | number;
25
+ }>>, {
26
+ leftShow: boolean;
27
+ title: string;
28
+ titleIcon: boolean;
29
+ leftText: string;
30
+ desc: string;
31
+ fixed: boolean;
32
+ safeAreaInsetTop: boolean;
33
+ border: boolean;
34
+ placeholder: boolean;
35
+ zIndex: number;
36
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
37
+ clickBack: (...args: any[]) => void;
38
+ clickTitle: (...args: any[]) => void;
39
+ clickIcon: (...args: any[]) => void;
40
+ clickRight: (...args: any[]) => void;
41
+ onClickBack: (...args: any[]) => void;
42
+ onClickTitle: (...args: any[]) => void;
43
+ onClickIcon: (...args: any[]) => void;
44
+ onClickRight: (...args: any[]) => void;
45
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
46
+ leftShow: boolean;
47
+ title: string;
48
+ titleIcon: boolean;
49
+ leftText: string;
50
+ desc: string;
51
+ fixed: boolean;
52
+ safeAreaInsetTop: boolean;
53
+ border: boolean;
54
+ placeholder: boolean;
55
+ zIndex: string | number;
56
+ }>>, {
57
+ leftShow: boolean;
58
+ title: string;
59
+ titleIcon: boolean;
60
+ leftText: string;
61
+ desc: string;
62
+ fixed: boolean;
63
+ safeAreaInsetTop: boolean;
64
+ border: boolean;
65
+ placeholder: boolean;
66
+ zIndex: number;
67
+ }>>> & {
68
+ onClickBack?: ((...args: any[]) => any) | undefined;
69
+ onClickTitle?: ((...args: any[]) => any) | undefined;
70
+ onClickIcon?: ((...args: any[]) => any) | undefined;
71
+ onClickRight?: ((...args: any[]) => any) | undefined;
72
+ onOnClickBack?: ((...args: any[]) => any) | undefined;
73
+ onOnClickTitle?: ((...args: any[]) => any) | undefined;
74
+ onOnClickIcon?: ((...args: any[]) => any) | undefined;
75
+ onOnClickRight?: ((...args: any[]) => any) | undefined;
76
+ }, {
77
+ title: string;
78
+ desc: string;
79
+ fixed: boolean;
80
+ zIndex: string | number;
81
+ border: boolean;
82
+ leftShow: boolean;
83
+ titleIcon: boolean;
84
+ leftText: string;
85
+ safeAreaInsetTop: boolean;
86
+ placeholder: boolean;
87
+ }, {}>, {
88
+ "left-show"?(_: {}): any;
89
+ left?(_: {}): any;
90
+ "title-icon"?(_: {
91
+ click: () => void;
92
+ }): any;
93
+ content?(_: {}): any;
94
+ right?(_: {}): any;
95
+ }>;
96
+ declare const _nut_default: WithInstall<typeof _default>;
97
+ export default _nut_default;
98
+
99
+ declare module 'vue' {
100
+ interface GlobalComponents {
101
+ NutNavbar: typeof _default;
102
+ }
103
+ }
104
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
105
+ type __VLS_TypePropsToRuntimeProps<T> = {
106
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
107
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
108
+ } : {
109
+ type: import('vue').PropType<T[K]>;
110
+ required: true;
111
+ };
112
+ };
113
+ type __VLS_WithDefaults<P, D> = {
114
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
115
+ default: D[K];
116
+ }> : P[K];
117
+ };
118
+ type __VLS_Prettify<T> = {
119
+ [K in keyof T]: T[K];
120
+ } & {};
121
+ type __VLS_WithTemplateSlots<T, S> = T & {
122
+ new (): {
123
+ $slots: S;
124
+ };
125
+ };
@@ -0,0 +1,6 @@
1
+ import Progress from './progress.vue';
2
+ import type { ComponentPublicInstance } from 'vue';
3
+ export type { ProgressProps } from './progress.vue';
4
+ export type { ProgressSize, ProgressStatus } from './types';
5
+ export type ProgressInstance = ComponentPublicInstance & InstanceType<typeof Progress>;
6
+ export { Progress, Progress as default };
@@ -0,0 +1,91 @@
1
+ import type { WithInstall } from '../../utils';
2
+ import type { ProgressSize, ProgressStatus } from './types';
3
+ export type ProgressProps = Partial<{
4
+ percentage: string | number;
5
+ size: ProgressSize;
6
+ status: ProgressStatus;
7
+ strokeWidth: string | number;
8
+ textInside: boolean;
9
+ showText: boolean;
10
+ strokeColor: string;
11
+ textColor: string;
12
+ textBackground: string;
13
+ isShowPercentage: boolean;
14
+ }>;
15
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
16
+ percentage: string | number;
17
+ size: ProgressSize;
18
+ status: ProgressStatus;
19
+ strokeWidth: string | number;
20
+ textInside: boolean;
21
+ showText: boolean;
22
+ strokeColor: string;
23
+ textColor: string;
24
+ textBackground: string;
25
+ isShowPercentage: boolean;
26
+ }>>, {
27
+ percentage: number;
28
+ size: string;
29
+ status: string;
30
+ textInside: boolean;
31
+ showText: boolean;
32
+ isShowPercentage: boolean;
33
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
34
+ percentage: string | number;
35
+ size: ProgressSize;
36
+ status: ProgressStatus;
37
+ strokeWidth: string | number;
38
+ textInside: boolean;
39
+ showText: boolean;
40
+ strokeColor: string;
41
+ textColor: string;
42
+ textBackground: string;
43
+ isShowPercentage: boolean;
44
+ }>>, {
45
+ percentage: number;
46
+ size: string;
47
+ status: string;
48
+ textInside: boolean;
49
+ showText: boolean;
50
+ isShowPercentage: boolean;
51
+ }>>>, {
52
+ size: ProgressSize;
53
+ percentage: string | number;
54
+ status: ProgressStatus;
55
+ textInside: boolean;
56
+ showText: boolean;
57
+ isShowPercentage: boolean;
58
+ }, {}>, {
59
+ default?(_: {}): any;
60
+ "icon-name"?(_: {}): any;
61
+ }>;
62
+ declare const _nut_default: WithInstall<typeof _default>;
63
+ export default _nut_default;
64
+
65
+ declare module 'vue' {
66
+ interface GlobalComponents {
67
+ NutProgress: typeof _default;
68
+ }
69
+ }
70
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
71
+ type __VLS_TypePropsToRuntimeProps<T> = {
72
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
73
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
74
+ } : {
75
+ type: import('vue').PropType<T[K]>;
76
+ required: true;
77
+ };
78
+ };
79
+ type __VLS_WithDefaults<P, D> = {
80
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
81
+ default: D[K];
82
+ }> : P[K];
83
+ };
84
+ type __VLS_Prettify<T> = {
85
+ [K in keyof T]: T[K];
86
+ } & {};
87
+ type __VLS_WithTemplateSlots<T, S> = T & {
88
+ new (): {
89
+ $slots: S;
90
+ };
91
+ };
@@ -0,0 +1,5 @@
1
+ import Rate from './rate.vue';
2
+ import type { ComponentPublicInstance } from 'vue';
3
+ export type { RateProps } from './rate.vue';
4
+ export type RateInstance = ComponentPublicInstance & InstanceType<typeof Rate>;
5
+ export { Rate, Rate as default };