@nutui/nutui 4.3.2 → 4.3.3

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 (78) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/nutui.es.js +2 -4
  3. package/dist/nutui.js +6502 -6815
  4. package/dist/nutui.umd.js +1 -1
  5. package/dist/packages/addresslist/AddressList.js +2 -2
  6. package/dist/packages/backtop/Backtop.js +79 -89
  7. package/dist/packages/calendar/Calendar.js +814 -3
  8. package/dist/packages/calendar/index.scss +0 -1
  9. package/dist/packages/calendarcard/CalendarCard.js +1 -1
  10. package/dist/packages/card/Card.js +2 -2
  11. package/dist/packages/circleprogress/CircleProgress.js +90 -97
  12. package/dist/packages/comment/Comment.js +2 -2
  13. package/dist/packages/ecard/Ecard.js +2 -2
  14. package/dist/packages/input/Input.js +7 -7
  15. package/dist/packages/inputnumber/InputNumber.js +83 -102
  16. package/dist/packages/invoice/Invoice.js +87 -138
  17. package/dist/packages/navbar/Navbar.js +103 -115
  18. package/dist/packages/progress/Progress.js +96 -115
  19. package/dist/packages/rate/Rate.js +98 -140
  20. package/dist/packages/sku/Sku.js +2 -2
  21. package/dist/packages/swipe/Swipe.js +96 -110
  22. package/dist/packages/swipegroup/SwipeGroup.js +41 -23
  23. package/dist/packages/tag/Tag.js +57 -66
  24. package/dist/packages/uploader/Uploader.js +4 -4
  25. package/dist/smartips/web-types.json +2 -2
  26. package/dist/styles/base-jdb.css +1 -1
  27. package/dist/styles/base-jddkh.css +1 -1
  28. package/dist/styles/base-jdt.css +1 -1
  29. package/dist/styles/themes/default.scss +0 -1
  30. package/dist/styles/themes/jdb.scss +0 -1
  31. package/dist/styles/themes/jddkh.scss +0 -1
  32. package/dist/styles/themes/jdt.scss +0 -1
  33. package/dist/styles/variables-jdb.scss +0 -1
  34. package/dist/styles/variables-jddkh.scss +0 -1
  35. package/dist/styles/variables-jdt.scss +0 -1
  36. package/dist/styles/variables.scss +0 -1
  37. package/dist/types/__VUE/backtop/backtop.vue.d.ts +87 -0
  38. package/dist/types/__VUE/backtop/index.d.ts +5 -0
  39. package/dist/types/__VUE/calendaritem/index.vue.d.ts +2 -12
  40. package/dist/types/__VUE/circleprogress/circle-progress.vue.d.ts +88 -0
  41. package/dist/types/__VUE/circleprogress/index.d.ts +6 -0
  42. package/dist/types/__VUE/inputnumber/index.d.ts +5 -0
  43. package/dist/types/__VUE/inputnumber/input-number.vue.d.ts +112 -0
  44. package/dist/types/__VUE/invoice/index.d.ts +6 -0
  45. package/dist/types/__VUE/invoice/invoice.vue.d.ts +59 -0
  46. package/dist/types/__VUE/invoice/types.d.ts +12 -0
  47. package/dist/types/__VUE/navbar/index.d.ts +5 -0
  48. package/dist/types/__VUE/navbar/navbar.vue.d.ts +125 -0
  49. package/dist/types/__VUE/progress/index.d.ts +6 -0
  50. package/dist/types/__VUE/progress/progress.vue.d.ts +91 -0
  51. package/dist/types/__VUE/rate/index.d.ts +5 -0
  52. package/dist/types/__VUE/rate/rate.vue.d.ts +208 -0
  53. package/dist/types/__VUE/swipe/index.d.ts +6 -0
  54. package/dist/types/__VUE/swipe/swipe.vue.d.ts +79 -0
  55. package/dist/types/__VUE/swipe/types.d.ts +1 -0
  56. package/dist/types/__VUE/swipegroup/index.d.ts +5 -0
  57. package/dist/types/__VUE/swipegroup/swipe-group.vue.d.ts +47 -0
  58. package/dist/types/__VUE/tag/index.d.ts +6 -0
  59. package/dist/types/__VUE/tag/tag.vue.d.ts +90 -0
  60. package/dist/types/__VUE/tag/types.d.ts +1 -1
  61. package/dist/types/index.d.ts +22 -13
  62. package/package.json +1 -1
  63. package/dist/packages/calendaritem/CalendarItem.js +0 -819
  64. package/dist/packages/calendaritem/index.css +0 -0
  65. package/dist/packages/calendaritem/index.mjs +0 -2
  66. package/dist/packages/calendaritem/index.scss +0 -0
  67. package/dist/packages/calendaritem/style/css.mjs +0 -2
  68. package/dist/packages/calendaritem/style/index.mjs +0 -2
  69. package/dist/types/__VUE/backtop/index.vue.d.ts +0 -98
  70. package/dist/types/__VUE/circleprogress/index.vue.d.ts +0 -95
  71. package/dist/types/__VUE/inputnumber/index.vue.d.ts +0 -117
  72. package/dist/types/__VUE/invoice/index.vue.d.ts +0 -53
  73. package/dist/types/__VUE/navbar/index.vue.d.ts +0 -129
  74. package/dist/types/__VUE/progress/index.vue.d.ts +0 -120
  75. package/dist/types/__VUE/rate/index.vue.d.ts +0 -240
  76. package/dist/types/__VUE/swipe/index.vue.d.ts +0 -70
  77. package/dist/types/__VUE/swipegroup/index.vue.d.ts +0 -26
  78. package/dist/types/__VUE/tag/index.vue.d.ts +0 -94
@@ -0,0 +1,88 @@
1
+ import type { WithInstall } from '../../utils';
2
+ import type { CircleProgressStrokeLinecap } from './types';
3
+ export interface stopArr {
4
+ key: string;
5
+ value: string;
6
+ }
7
+ export type CircleProgressProps = Partial<{
8
+ progress: string | number;
9
+ strokeWidth: string | number;
10
+ radius: string | number;
11
+ strokeLinecap: CircleProgressStrokeLinecap;
12
+ color: any;
13
+ pathColor: string;
14
+ clockwise: boolean;
15
+ }>;
16
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
17
+ progress: string | number;
18
+ strokeWidth: string | number;
19
+ radius: string | number;
20
+ strokeLinecap: CircleProgressStrokeLinecap;
21
+ color: any;
22
+ pathColor: string;
23
+ clockwise: boolean;
24
+ }>>, {
25
+ progress: number;
26
+ strokeWidth: number;
27
+ radius: number;
28
+ strokeLinecap: string;
29
+ color: string;
30
+ pathColor: string;
31
+ clockwise: boolean;
32
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
33
+ progress: string | number;
34
+ strokeWidth: string | number;
35
+ radius: string | number;
36
+ strokeLinecap: CircleProgressStrokeLinecap;
37
+ color: any;
38
+ pathColor: string;
39
+ clockwise: boolean;
40
+ }>>, {
41
+ progress: number;
42
+ strokeWidth: number;
43
+ radius: number;
44
+ strokeLinecap: string;
45
+ color: string;
46
+ pathColor: string;
47
+ clockwise: boolean;
48
+ }>>>, {
49
+ color: any;
50
+ progress: string | number;
51
+ radius: string | number;
52
+ strokeWidth: string | number;
53
+ strokeLinecap: CircleProgressStrokeLinecap;
54
+ pathColor: string;
55
+ clockwise: boolean;
56
+ }, {}>, {
57
+ default?(_: {}): any;
58
+ }>;
59
+ declare const _nut_default: WithInstall<typeof _default>;
60
+ export default _nut_default;
61
+
62
+ declare module 'vue' {
63
+ interface GlobalComponents {
64
+ NutCircleProgress: typeof _default;
65
+ }
66
+ }
67
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
68
+ type __VLS_TypePropsToRuntimeProps<T> = {
69
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
70
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
71
+ } : {
72
+ type: import('vue').PropType<T[K]>;
73
+ required: true;
74
+ };
75
+ };
76
+ type __VLS_WithDefaults<P, D> = {
77
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
78
+ default: D[K];
79
+ }> : P[K];
80
+ };
81
+ type __VLS_Prettify<T> = {
82
+ [K in keyof T]: T[K];
83
+ } & {};
84
+ type __VLS_WithTemplateSlots<T, S> = T & {
85
+ new (): {
86
+ $slots: S;
87
+ };
88
+ };
@@ -0,0 +1,6 @@
1
+ import CircleProgress from './circle-progress.vue';
2
+ import type { ComponentPublicInstance } from 'vue';
3
+ export type { CircleProgressProps } from './circle-progress.vue';
4
+ export type { CircleProgressStrokeLinecap } from './types';
5
+ export type CircleProgressInstance = ComponentPublicInstance & InstanceType<typeof CircleProgress>;
6
+ export { CircleProgress, CircleProgress as default };
@@ -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 };