@nutui/nutui 4.3.4 → 4.3.6

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 (88) hide show
  1. package/CHANGELOG.md +40 -1
  2. package/dist/nutui.es.js +1 -1
  3. package/dist/nutui.js +5358 -5629
  4. package/dist/nutui.umd.js +1 -1
  5. package/dist/packages/audio/Audio.js +2 -1
  6. package/dist/packages/audiooperate/AudioOperate.js +2 -1
  7. package/dist/packages/cell/Cell.js +89 -80
  8. package/dist/packages/cellgroup/CellGroup.js +44 -21
  9. package/dist/packages/checkbox/Checkbox.js +1 -1
  10. package/dist/packages/{common-DRG0ue26.js → common-BH7uB7Cn.js} +4 -2
  11. package/dist/packages/countdown/Countdown.js +130 -173
  12. package/dist/packages/form/Form.js +5 -5
  13. package/dist/packages/formitem/FormItem.js +5 -5
  14. package/dist/packages/grid/Grid.js +68 -5
  15. package/dist/packages/griditem/GridItem.js +61 -81
  16. package/dist/packages/input/Input.js +1 -1
  17. package/dist/packages/inputnumber/InputNumber.js +7 -7
  18. package/dist/packages/invoice/Invoice.js +4 -4
  19. package/dist/packages/picker/Picker.js +1 -1
  20. package/dist/packages/radio/Radio.js +112 -1
  21. package/dist/packages/radiogroup/RadioGroup.js +60 -1
  22. package/dist/packages/range/Range.js +1 -1
  23. package/dist/packages/rate/Rate.js +1 -1
  24. package/dist/packages/searchbar/Searchbar.js +1 -1
  25. package/dist/packages/skeleton/Skeleton.js +88 -123
  26. package/dist/packages/step/Step.js +64 -83
  27. package/dist/packages/steps/Steps.js +44 -40
  28. package/dist/packages/switch/Switch.js +1 -1
  29. package/dist/packages/tabpane/TabPane.js +2 -1
  30. package/dist/packages/tabs/Tabs.js +2 -1
  31. package/dist/packages/textarea/Textarea.js +1 -1
  32. package/dist/packages/types-BMA1Y94E.js +4 -0
  33. package/dist/packages/types-BXlnzugj.js +4 -0
  34. package/dist/packages/types-CJeZIBld.js +4 -0
  35. package/dist/packages/uploader/Uploader.js +1 -1
  36. package/dist/smartips/web-types.json +446 -26
  37. package/dist/types/__VUE/audio/index.vue.d.ts +2 -2
  38. package/dist/types/__VUE/audio/types.d.ts +2 -0
  39. package/dist/types/__VUE/audiooperate/index.vue.d.ts +1 -1
  40. package/dist/types/__VUE/cell/cell.vue.d.ts +113 -0
  41. package/dist/types/__VUE/cell/index.d.ts +6 -0
  42. package/dist/types/__VUE/cellgroup/cell-group.vue.d.ts +55 -0
  43. package/dist/types/__VUE/cellgroup/index.d.ts +5 -0
  44. package/dist/types/__VUE/countdown/countdown.vue.d.ts +108 -0
  45. package/dist/types/__VUE/countdown/index.d.ts +5 -0
  46. package/dist/types/__VUE/countdown/util.d.ts +14 -0
  47. package/dist/types/__VUE/form/common.d.ts +1 -0
  48. package/dist/types/__VUE/grid/grid.vue.d.ts +87 -0
  49. package/dist/types/__VUE/grid/index.d.ts +6 -0
  50. package/dist/types/__VUE/grid/types.d.ts +2 -0
  51. package/dist/types/__VUE/griditem/grid-item.vue.d.ts +64 -0
  52. package/dist/types/__VUE/griditem/index.d.ts +5 -0
  53. package/dist/types/__VUE/navbar/navbar.vue.d.ts +1 -1
  54. package/dist/types/__VUE/picker/Column.vue.d.ts +2 -2
  55. package/dist/types/__VUE/radio/index.d.ts +6 -0
  56. package/dist/types/__VUE/radio/radio.vue.d.ts +74 -0
  57. package/dist/types/__VUE/radiogroup/index.d.ts +5 -0
  58. package/dist/types/__VUE/radiogroup/radio-group.vue.d.ts +66 -0
  59. package/dist/types/__VUE/skeleton/index.d.ts +5 -0
  60. package/dist/types/__VUE/skeleton/skeleton.vue.d.ts +102 -0
  61. package/dist/types/__VUE/step/index.d.ts +5 -0
  62. package/dist/types/__VUE/step/step.vue.d.ts +55 -0
  63. package/dist/types/__VUE/steps/index.d.ts +6 -0
  64. package/dist/types/__VUE/steps/steps.vue.d.ts +64 -0
  65. package/dist/types/__VUE/swiper/index.vue.d.ts +2 -2
  66. package/dist/types/__VUE/tabs/index.vue.d.ts +1 -1
  67. package/dist/types/__VUE/tabs/types.d.ts +1 -0
  68. package/dist/types/__VUE/uploader/index.vue.d.ts +1 -1
  69. package/dist/types/index.d.ts +21 -11
  70. package/dist/types/utils/Interceptor.d.ts +2 -2
  71. package/dist/types/utils/index.d.ts +2 -0
  72. package/dist/types/utils/useRelation/useParent.d.ts +1 -1
  73. package/package.json +1 -1
  74. package/dist/packages/common-Chr7cC9o.js +0 -145
  75. package/dist/packages/index.vue_vue_type_script_lang-CTQUvlgN.js +0 -99
  76. package/dist/packages/index.vue_vue_type_script_lang-CaSiRl9x.js +0 -46
  77. package/dist/types/__VUE/audiooperate/types.d.ts +0 -1
  78. package/dist/types/__VUE/cell/index.vue.d.ts +0 -120
  79. package/dist/types/__VUE/cellgroup/index.vue.d.ts +0 -33
  80. package/dist/types/__VUE/countdown/index.vue.d.ts +0 -125
  81. package/dist/types/__VUE/grid/common.d.ts +0 -73
  82. package/dist/types/__VUE/grid/index.vue.d.ts +0 -84
  83. package/dist/types/__VUE/griditem/index.vue.d.ts +0 -47
  84. package/dist/types/__VUE/radio/index.vue.d.ts +0 -64
  85. package/dist/types/__VUE/radiogroup/index.vue.d.ts +0 -49
  86. package/dist/types/__VUE/skeleton/index.vue.d.ts +0 -117
  87. package/dist/types/__VUE/step/index.vue.d.ts +0 -42
  88. package/dist/types/__VUE/steps/index.vue.d.ts +0 -48
@@ -1,49 +0,0 @@
1
- import { PropType } from 'vue';
2
- import { RadioGroupTextPosition, RadioGroupDirection } from '../radio/types';
3
-
4
- declare type Install<T> = T & {
5
- install(app: import('vue').App): void;
6
- };
7
- declare const _default: Install< import("vue").DefineComponent<{
8
- modelValue: {
9
- type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
10
- default: string;
11
- };
12
- direction: {
13
- type: PropType<RadioGroupDirection>;
14
- default: string;
15
- };
16
- textPosition: {
17
- type: PropType<RadioGroupTextPosition>;
18
- default: string;
19
- };
20
- }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
21
- [key: string]: any;
22
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
23
- modelValue: {
24
- type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
25
- default: string;
26
- };
27
- direction: {
28
- type: PropType<RadioGroupDirection>;
29
- default: string;
30
- };
31
- textPosition: {
32
- type: PropType<RadioGroupTextPosition>;
33
- default: string;
34
- };
35
- }>> & {
36
- onChange?: ((...args: any[]) => any) | undefined;
37
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
38
- }, {
39
- direction: RadioGroupDirection;
40
- modelValue: string | number | boolean;
41
- textPosition: RadioGroupTextPosition;
42
- }, {}>>;
43
- export default _default;
44
-
45
- declare module 'vue' {
46
- interface GlobalComponents {
47
- NutRadioGroup: typeof _default;
48
- }
49
- }
@@ -1,117 +0,0 @@
1
- import { AvatarShape } from '../avatar/types';
2
- import { CSSProperties, PropType } from 'vue';
3
-
4
- declare type Install<T> = T & {
5
- install(app: import('vue').App): void;
6
- };
7
- declare const _default: Install< import("vue").DefineComponent<{
8
- width: {
9
- type: StringConstructor;
10
- default: string;
11
- };
12
- height: {
13
- type: StringConstructor;
14
- default: string;
15
- };
16
- animated: {
17
- type: BooleanConstructor;
18
- default: boolean;
19
- };
20
- avatar: {
21
- type: BooleanConstructor;
22
- default: boolean;
23
- };
24
- avatarShape: {
25
- type: PropType<AvatarShape>;
26
- default: string;
27
- };
28
- avatarSize: {
29
- type: StringConstructor;
30
- default: string;
31
- };
32
- loading: {
33
- type: BooleanConstructor;
34
- default: boolean;
35
- };
36
- round: {
37
- type: BooleanConstructor;
38
- default: boolean;
39
- };
40
- row: {
41
- type: StringConstructor;
42
- default: string;
43
- };
44
- title: {
45
- type: BooleanConstructor;
46
- default: boolean;
47
- };
48
- }, {
49
- avatarShape: import("vue").Ref<AvatarShape>;
50
- avatarClass: import("vue").ComputedRef<{
51
- [x: string]: boolean | AvatarShape;
52
- avatarClass: boolean;
53
- }>;
54
- getBlockClass: (prefixCls: string) => {
55
- [x: string]: boolean;
56
- };
57
- getStyle: () => CSSProperties;
58
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
59
- width: {
60
- type: StringConstructor;
61
- default: string;
62
- };
63
- height: {
64
- type: StringConstructor;
65
- default: string;
66
- };
67
- animated: {
68
- type: BooleanConstructor;
69
- default: boolean;
70
- };
71
- avatar: {
72
- type: BooleanConstructor;
73
- default: boolean;
74
- };
75
- avatarShape: {
76
- type: PropType<AvatarShape>;
77
- default: string;
78
- };
79
- avatarSize: {
80
- type: StringConstructor;
81
- default: string;
82
- };
83
- loading: {
84
- type: BooleanConstructor;
85
- default: boolean;
86
- };
87
- round: {
88
- type: BooleanConstructor;
89
- default: boolean;
90
- };
91
- row: {
92
- type: StringConstructor;
93
- default: string;
94
- };
95
- title: {
96
- type: BooleanConstructor;
97
- default: boolean;
98
- };
99
- }>>, {
100
- round: boolean;
101
- loading: boolean;
102
- width: string;
103
- height: string;
104
- title: boolean;
105
- row: string;
106
- avatar: boolean;
107
- animated: boolean;
108
- avatarShape: AvatarShape;
109
- avatarSize: string;
110
- }, {}>>;
111
- export default _default;
112
-
113
- declare module 'vue' {
114
- interface GlobalComponents {
115
- NutSkeleton: typeof _default;
116
- }
117
- }
@@ -1,42 +0,0 @@
1
-
2
- declare type Install<T> = T & {
3
- install(app: import('vue').App): void;
4
- };
5
- declare const _default: Install< import("vue").DefineComponent<{
6
- title: {
7
- type: StringConstructor;
8
- default: string;
9
- };
10
- content: {
11
- type: StringConstructor;
12
- default: string;
13
- };
14
- }, {
15
- index: import("vue").ComputedRef<any>;
16
- classes: import("vue").ComputedRef<{
17
- [x: string]: boolean;
18
- }>;
19
- handleClickStep: () => void;
20
- dot: import("vue").Ref<any>;
21
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "clickStep"[], "clickStep", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
22
- title: {
23
- type: StringConstructor;
24
- default: string;
25
- };
26
- content: {
27
- type: StringConstructor;
28
- default: string;
29
- };
30
- }>> & {
31
- onClickStep?: ((...args: any[]) => any) | undefined;
32
- }, {
33
- title: string;
34
- content: string;
35
- }, {}>>;
36
- export default _default;
37
-
38
- declare module 'vue' {
39
- interface GlobalComponents {
40
- NutStep: typeof _default;
41
- }
42
- }
@@ -1,48 +0,0 @@
1
- import { PropType } from 'vue';
2
- import { StepsDirection } from './types';
3
-
4
- declare type Install<T> = T & {
5
- install(app: import('vue').App): void;
6
- };
7
- declare const _default: Install< import("vue").DefineComponent<{
8
- direction: {
9
- type: PropType<StepsDirection>;
10
- default: string;
11
- };
12
- current: {
13
- type: (NumberConstructor | StringConstructor)[];
14
- default: string;
15
- };
16
- progressDot: {
17
- type: BooleanConstructor;
18
- default: boolean;
19
- };
20
- }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
21
- [key: string]: any;
22
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "clickStep"[], "clickStep", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
23
- direction: {
24
- type: PropType<StepsDirection>;
25
- default: string;
26
- };
27
- current: {
28
- type: (NumberConstructor | StringConstructor)[];
29
- default: string;
30
- };
31
- progressDot: {
32
- type: BooleanConstructor;
33
- default: boolean;
34
- };
35
- }>> & {
36
- onClickStep?: ((...args: any[]) => any) | undefined;
37
- }, {
38
- direction: StepsDirection;
39
- current: string | number;
40
- progressDot: boolean;
41
- }, {}>>;
42
- export default _default;
43
-
44
- declare module 'vue' {
45
- interface GlobalComponents {
46
- NutSteps: typeof _default;
47
- }
48
- }