@nutui/nutui 4.3.5 → 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.
- package/CHANGELOG.md +20 -1
- package/dist/nutui.es.js +1 -1
- package/dist/nutui.js +5014 -5222
- package/dist/nutui.umd.js +1 -1
- package/dist/packages/audio/Audio.js +2 -1
- package/dist/packages/audiooperate/AudioOperate.js +2 -1
- package/dist/packages/checkbox/Checkbox.js +1 -1
- package/dist/packages/{common-DRG0ue26.js → common-BH7uB7Cn.js} +4 -2
- package/dist/packages/countdown/Countdown.js +130 -173
- package/dist/packages/form/Form.js +2 -2
- package/dist/packages/formitem/FormItem.js +2 -2
- package/dist/packages/grid/Grid.js +68 -5
- package/dist/packages/griditem/GridItem.js +61 -81
- package/dist/packages/input/Input.js +1 -1
- package/dist/packages/inputnumber/InputNumber.js +1 -1
- package/dist/packages/invoice/Invoice.js +4 -4
- package/dist/packages/picker/Picker.js +1 -1
- package/dist/packages/radio/Radio.js +112 -1
- package/dist/packages/radiogroup/RadioGroup.js +60 -1
- package/dist/packages/range/Range.js +1 -1
- package/dist/packages/rate/Rate.js +1 -1
- package/dist/packages/searchbar/Searchbar.js +1 -1
- package/dist/packages/step/Step.js +64 -83
- package/dist/packages/steps/Steps.js +44 -40
- package/dist/packages/switch/Switch.js +1 -1
- package/dist/packages/tabpane/TabPane.js +2 -1
- package/dist/packages/tabs/Tabs.js +2 -1
- package/dist/packages/textarea/Textarea.js +1 -1
- package/dist/packages/types-BMA1Y94E.js +4 -0
- package/dist/packages/types-BXlnzugj.js +4 -0
- package/dist/packages/types-CJeZIBld.js +4 -0
- package/dist/packages/uploader/Uploader.js +1 -1
- package/dist/smartips/web-types.json +446 -26
- package/dist/types/__VUE/audio/index.vue.d.ts +2 -2
- package/dist/types/__VUE/audio/types.d.ts +2 -0
- package/dist/types/__VUE/audiooperate/index.vue.d.ts +1 -1
- package/dist/types/__VUE/countdown/countdown.vue.d.ts +108 -0
- package/dist/types/__VUE/countdown/index.d.ts +5 -0
- package/dist/types/__VUE/countdown/util.d.ts +14 -0
- package/dist/types/__VUE/form/common.d.ts +1 -0
- package/dist/types/__VUE/grid/grid.vue.d.ts +87 -0
- package/dist/types/__VUE/grid/index.d.ts +6 -0
- package/dist/types/__VUE/grid/types.d.ts +2 -0
- package/dist/types/__VUE/griditem/grid-item.vue.d.ts +64 -0
- package/dist/types/__VUE/griditem/index.d.ts +5 -0
- package/dist/types/__VUE/picker/Column.vue.d.ts +2 -2
- package/dist/types/__VUE/radio/index.d.ts +6 -0
- package/dist/types/__VUE/radio/radio.vue.d.ts +74 -0
- package/dist/types/__VUE/radiogroup/index.d.ts +5 -0
- package/dist/types/__VUE/radiogroup/radio-group.vue.d.ts +66 -0
- package/dist/types/__VUE/step/index.d.ts +5 -0
- package/dist/types/__VUE/step/step.vue.d.ts +55 -0
- package/dist/types/__VUE/steps/index.d.ts +6 -0
- package/dist/types/__VUE/steps/steps.vue.d.ts +64 -0
- package/dist/types/__VUE/tabs/index.vue.d.ts +1 -1
- package/dist/types/__VUE/tabs/types.d.ts +1 -0
- package/dist/types/index.d.ts +15 -8
- package/dist/types/utils/index.d.ts +2 -0
- package/dist/types/utils/useRelation/useParent.d.ts +1 -1
- package/package.json +1 -1
- package/dist/packages/common-Chr7cC9o.js +0 -145
- package/dist/packages/index.vue_vue_type_script_lang-CTQUvlgN.js +0 -99
- package/dist/packages/index.vue_vue_type_script_lang-CaSiRl9x.js +0 -46
- package/dist/types/__VUE/audiooperate/types.d.ts +0 -1
- package/dist/types/__VUE/countdown/index.vue.d.ts +0 -125
- package/dist/types/__VUE/grid/common.d.ts +0 -73
- package/dist/types/__VUE/grid/index.vue.d.ts +0 -84
- package/dist/types/__VUE/griditem/index.vue.d.ts +0 -47
- package/dist/types/__VUE/radio/index.vue.d.ts +0 -64
- package/dist/types/__VUE/radiogroup/index.vue.d.ts +0 -49
- package/dist/types/__VUE/step/index.vue.d.ts +0 -42
- package/dist/types/__VUE/steps/index.vue.d.ts +0 -48
|
@@ -1,47 +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
|
-
text: {
|
|
7
|
-
type: StringConstructor;
|
|
8
|
-
};
|
|
9
|
-
to: {
|
|
10
|
-
type: (ObjectConstructor | StringConstructor)[];
|
|
11
|
-
};
|
|
12
|
-
url: {
|
|
13
|
-
type: StringConstructor;
|
|
14
|
-
default: string;
|
|
15
|
-
};
|
|
16
|
-
replace: {
|
|
17
|
-
type: BooleanConstructor;
|
|
18
|
-
default: boolean;
|
|
19
|
-
};
|
|
20
|
-
}, any, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
|
-
text: {
|
|
22
|
-
type: StringConstructor;
|
|
23
|
-
};
|
|
24
|
-
to: {
|
|
25
|
-
type: (ObjectConstructor | StringConstructor)[];
|
|
26
|
-
};
|
|
27
|
-
url: {
|
|
28
|
-
type: StringConstructor;
|
|
29
|
-
default: string;
|
|
30
|
-
};
|
|
31
|
-
replace: {
|
|
32
|
-
type: BooleanConstructor;
|
|
33
|
-
default: boolean;
|
|
34
|
-
};
|
|
35
|
-
}>> & {
|
|
36
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
37
|
-
}, {
|
|
38
|
-
replace: boolean;
|
|
39
|
-
url: string;
|
|
40
|
-
}, {}>>;
|
|
41
|
-
export default _default;
|
|
42
|
-
|
|
43
|
-
declare module 'vue' {
|
|
44
|
-
interface GlobalComponents {
|
|
45
|
-
NutGridItem: typeof _default;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { RadioShape, RadioButtonSize } 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
|
-
disabled: {
|
|
9
|
-
type: BooleanConstructor;
|
|
10
|
-
default: boolean;
|
|
11
|
-
};
|
|
12
|
-
shape: {
|
|
13
|
-
type: PropType<RadioShape>;
|
|
14
|
-
default: string;
|
|
15
|
-
};
|
|
16
|
-
label: {
|
|
17
|
-
type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
|
|
18
|
-
default: string;
|
|
19
|
-
};
|
|
20
|
-
iconSize: {
|
|
21
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
22
|
-
default: string;
|
|
23
|
-
};
|
|
24
|
-
size: {
|
|
25
|
-
type: PropType<RadioButtonSize>;
|
|
26
|
-
default: string;
|
|
27
|
-
};
|
|
28
|
-
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
29
|
-
[key: string]: any;
|
|
30
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
|
-
disabled: {
|
|
32
|
-
type: BooleanConstructor;
|
|
33
|
-
default: boolean;
|
|
34
|
-
};
|
|
35
|
-
shape: {
|
|
36
|
-
type: PropType<RadioShape>;
|
|
37
|
-
default: string;
|
|
38
|
-
};
|
|
39
|
-
label: {
|
|
40
|
-
type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
|
|
41
|
-
default: string;
|
|
42
|
-
};
|
|
43
|
-
iconSize: {
|
|
44
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
45
|
-
default: string;
|
|
46
|
-
};
|
|
47
|
-
size: {
|
|
48
|
-
type: PropType<RadioButtonSize>;
|
|
49
|
-
default: string;
|
|
50
|
-
};
|
|
51
|
-
}>>, {
|
|
52
|
-
shape: RadioShape;
|
|
53
|
-
disabled: boolean;
|
|
54
|
-
size: RadioButtonSize;
|
|
55
|
-
label: string | number | boolean;
|
|
56
|
-
iconSize: string | number;
|
|
57
|
-
}, {}>>;
|
|
58
|
-
export default _default;
|
|
59
|
-
|
|
60
|
-
declare module 'vue' {
|
|
61
|
-
interface GlobalComponents {
|
|
62
|
-
NutRadio: typeof _default;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
@@ -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,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
|
-
}
|