@wizleap-inc/wiz-ui-next 0.0.1 → 0.4.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.
- package/dist/components/base/anchor/anchor.vue.d.ts +45 -39
- package/dist/components/base/avatar/avatar.vue.d.ts +12 -11
- package/dist/components/base/badge/badge.vue.d.ts +18 -15
- package/dist/components/base/box/box.vue.d.ts +44 -42
- package/dist/components/base/buttons/icon/icon.vue.d.ts +14 -12
- package/dist/components/base/buttons/text/text.vue.d.ts +551 -22
- package/dist/components/base/buttons/toggle/toggle.vue.d.ts +142 -127
- package/dist/components/base/calendar/calendar.vue.d.ts +13 -12
- package/dist/components/base/card/card.vue.d.ts +141 -140
- package/dist/components/base/dialog/dialog.vue.d.ts +155 -154
- package/dist/components/base/divider/divider.vue.d.ts +10 -9
- package/dist/components/base/dropdown/dropdown-item.vue.d.ts +127 -125
- package/dist/components/base/dropdown/dropdown.vue.d.ts +118 -117
- package/dist/components/base/header/header.vue.d.ts +120 -119
- package/dist/components/base/heading/heading.vue.d.ts +13 -11
- package/dist/components/base/icon/icon.vue.d.ts +22 -20
- package/dist/components/base/index.d.ts +2 -0
- package/dist/components/base/inputs/base/base.vue.d.ts +17 -4
- package/dist/components/base/inputs/checkbox/checkbox.vue.d.ts +76 -84
- package/dist/components/base/inputs/checkbox/types.d.ts +1 -0
- package/dist/components/base/inputs/datepicker/date-picker.vue.d.ts +171 -165
- package/dist/components/base/inputs/datepicker/index.d.ts +1 -1
- package/dist/components/base/inputs/index.d.ts +1 -0
- package/dist/components/base/inputs/panel-switch/panel-switch.vue.d.ts +4 -2
- package/dist/components/base/inputs/password/password.vue.d.ts +21 -4
- package/dist/components/base/inputs/radio/index.d.ts +1 -0
- package/dist/components/base/inputs/radio/radio.vue.d.ts +331 -0
- package/dist/components/base/inputs/radio/types.d.ts +5 -0
- package/dist/components/base/inputs/selectbox/selectbox.vue.d.ts +233 -229
- package/dist/components/base/inputs/selectbox/types.d.ts +2 -2
- package/dist/components/base/inputs/text/text.vue.d.ts +31 -12
- package/dist/components/base/inputs/timepicker/time-picker.vue.d.ts +254 -251
- package/dist/components/base/menu/menu-item.vue.d.ts +123 -123
- package/dist/components/base/message-box/message-box.vue.d.ts +13 -14
- package/dist/components/base/navigation/container.vue.d.ts +2 -2
- package/dist/components/base/navigation/item.vue.d.ts +7 -4
- package/dist/components/base/pagination/index.d.ts +1 -0
- package/dist/components/base/pagination/pagination.vue.d.ts +501 -0
- package/dist/components/base/popup/popup.vue.d.ts +13 -12
- package/dist/components/base/progress-bar/progress-bar.vue.d.ts +22 -20
- package/dist/components/base/progress-bar/progress-point.vue.d.ts +4 -2
- package/dist/components/base/skeleton/index.d.ts +3 -0
- package/dist/components/base/skeleton/skeleton-circle.vue.d.ts +31 -0
- package/dist/components/base/skeleton/skeleton-text.vue.d.ts +524 -0
- package/dist/components/base/skeleton/skeleton.vue.d.ts +42 -0
- package/dist/components/base/stack/h-stack.vue.d.ts +104 -103
- package/dist/components/base/stack/stack.vue.d.ts +64 -63
- package/dist/components/base/stack/v-stack.vue.d.ts +104 -103
- package/dist/components/base/tab/tab.vue.d.ts +123 -121
- package/dist/components/base/tables/flat/td.vue.d.ts +4 -3
- package/dist/components/base/tables/flat/th.vue.d.ts +4 -3
- package/dist/components/base/tables/unstyled/table.vue.d.ts +11 -10
- package/dist/components/base/tables/unstyled/td.vue.d.ts +4 -3
- package/dist/components/base/tag/tag.vue.d.ts +58 -56
- package/dist/components/base/text/text.vue.d.ts +17 -16
- package/dist/components/base/textarea/text-area.vue.d.ts +8 -0
- package/dist/components/custom/chat/card/chat-card.vue.d.ts +1232 -1223
- package/dist/components/custom/chat/form/chat-form.vue.d.ts +123 -115
- package/dist/components/custom/chat/item/chat-item.vue.d.ts +366 -364
- package/dist/components/custom/form/control.vue.d.ts +1502 -0
- package/dist/components/custom/form/group.vue.d.ts +495 -0
- package/dist/components/custom/form/index.d.ts +2 -0
- package/dist/components/custom/index.d.ts +1 -0
- package/dist/components/custom/notification/list/list.vue.d.ts +347 -344
- package/dist/components/custom/notification/notification.vue.d.ts +513 -512
- package/dist/components/custom/notification/panel/panel.vue.d.ts +292 -289
- package/dist/components/icons/{hint.vue.d.ts → autorenew.vue.d.ts} +0 -0
- package/dist/components/icons/index.d.ts +6 -3
- package/dist/components/icons/info.vue.d.ts +2 -0
- package/dist/components/icons/note-add.vue.d.ts +2 -0
- package/dist/components/icons/task.vue.d.ts +2 -0
- package/dist/hooks/use-form-control-provider.d.ts +6 -0
- package/dist/hooks/use-form-group-provider.d.ts +6 -0
- package/dist/index.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/wiz-ui.es.js +3584 -2245
- package/dist/wiz-ui.umd.js +1 -1
- package/package.json +2 -2
|
@@ -1,131 +1,137 @@
|
|
|
1
1
|
import { ColorKeys } from "@wizleap-inc/wiz-ui-constants";
|
|
2
|
+
import { PropType } from "vue";
|
|
3
|
+
import { TIcon } from '../../../components';
|
|
2
4
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
5
|
to: {
|
|
4
|
-
type:
|
|
6
|
+
type: PropType<string | import("vue-router/types/router").Location>;
|
|
5
7
|
required: true;
|
|
6
8
|
};
|
|
7
9
|
color: {
|
|
8
|
-
type:
|
|
10
|
+
type: PropType<ColorKeys>;
|
|
9
11
|
required: false;
|
|
10
12
|
default: string;
|
|
11
13
|
};
|
|
12
14
|
fontSize: {
|
|
13
|
-
type:
|
|
15
|
+
type: PropType<"xs3" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "xl5" | "xl6">;
|
|
14
16
|
required: false;
|
|
15
17
|
default: string;
|
|
16
18
|
};
|
|
17
19
|
fontWeight: {
|
|
18
|
-
type:
|
|
20
|
+
type: PropType<"thin" | "extralight" | "light" | "normal" | "medium" | "semibold" | "bold">;
|
|
19
21
|
required: false;
|
|
20
22
|
default: string;
|
|
21
23
|
};
|
|
22
24
|
icon: {
|
|
23
|
-
type:
|
|
25
|
+
type: PropType<TIcon>;
|
|
24
26
|
required: false;
|
|
25
27
|
};
|
|
26
28
|
iconPosition: {
|
|
27
|
-
type:
|
|
29
|
+
type: PropType<"left" | "right">;
|
|
28
30
|
required: false;
|
|
29
31
|
default: string;
|
|
30
32
|
};
|
|
31
33
|
openInNewTab: {
|
|
32
34
|
type: BooleanConstructor;
|
|
33
35
|
required: false;
|
|
36
|
+
default: boolean;
|
|
34
37
|
};
|
|
35
38
|
nowrap: {
|
|
36
39
|
type: BooleanConstructor;
|
|
37
40
|
required: false;
|
|
41
|
+
default: boolean;
|
|
38
42
|
};
|
|
39
43
|
}, {
|
|
40
44
|
props: any;
|
|
41
45
|
isRouterLink: import("vue").ComputedRef<boolean>;
|
|
42
|
-
readonly getRelativeFontSize: (key: "
|
|
46
|
+
readonly getRelativeFontSize: (key: "xs3" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "xl5" | "xl6", diffIndex: number) => "xs3" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "xl5" | "xl6";
|
|
43
47
|
readonly anchorStyle: string;
|
|
44
48
|
readonly anchorNoWrapStyle: string;
|
|
45
49
|
readonly colorStyle: Record<ColorKeys, string>;
|
|
46
|
-
readonly fontSizeStyle: Record<"
|
|
47
|
-
readonly fontWeightStyle: Record<"
|
|
50
|
+
readonly fontSizeStyle: Record<"xs3" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "xl5" | "xl6", string>;
|
|
51
|
+
readonly fontWeightStyle: Record<"thin" | "extralight" | "light" | "normal" | "medium" | "semibold" | "bold", string>;
|
|
48
52
|
readonly WizIcon: import("vue").DefineComponent<{
|
|
49
|
-
|
|
50
|
-
type:
|
|
51
|
-
required:
|
|
52
|
-
default: string;
|
|
53
|
+
icon: {
|
|
54
|
+
type: PropType<TIcon>;
|
|
55
|
+
required: true;
|
|
53
56
|
};
|
|
54
57
|
color: {
|
|
55
|
-
type:
|
|
58
|
+
type: PropType<ColorKeys>;
|
|
56
59
|
required: false;
|
|
57
60
|
default: string;
|
|
58
61
|
};
|
|
59
|
-
|
|
60
|
-
type:
|
|
61
|
-
required:
|
|
62
|
+
size: {
|
|
63
|
+
type: PropType<"xs3" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "xl5" | "xl6">;
|
|
64
|
+
required: false;
|
|
65
|
+
default: string;
|
|
62
66
|
};
|
|
63
67
|
}, {
|
|
64
68
|
readonly iconStyle: string;
|
|
65
|
-
readonly iconSizeStyle: Record<"
|
|
69
|
+
readonly iconSizeStyle: Record<"xs3" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "xl5" | "xl6", string>;
|
|
66
70
|
readonly fillStyle: Record<ColorKeys, string>;
|
|
67
|
-
readonly fontSizeStyle: Record<"
|
|
71
|
+
readonly fontSizeStyle: Record<"xs3" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "xl5" | "xl6", string>;
|
|
68
72
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
69
|
-
|
|
70
|
-
type:
|
|
71
|
-
required:
|
|
72
|
-
default: string;
|
|
73
|
+
icon: {
|
|
74
|
+
type: PropType<TIcon>;
|
|
75
|
+
required: true;
|
|
73
76
|
};
|
|
74
77
|
color: {
|
|
75
|
-
type:
|
|
78
|
+
type: PropType<ColorKeys>;
|
|
76
79
|
required: false;
|
|
77
80
|
default: string;
|
|
78
81
|
};
|
|
79
|
-
|
|
80
|
-
type:
|
|
81
|
-
required:
|
|
82
|
+
size: {
|
|
83
|
+
type: PropType<"xs3" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "xl5" | "xl6">;
|
|
84
|
+
required: false;
|
|
85
|
+
default: string;
|
|
82
86
|
};
|
|
83
87
|
}>>, {
|
|
84
|
-
color:
|
|
85
|
-
size:
|
|
88
|
+
color: ColorKeys;
|
|
89
|
+
size: "xs3" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "xl5" | "xl6";
|
|
86
90
|
}>;
|
|
87
91
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
88
92
|
to: {
|
|
89
|
-
type:
|
|
93
|
+
type: PropType<string | import("vue-router/types/router").Location>;
|
|
90
94
|
required: true;
|
|
91
95
|
};
|
|
92
96
|
color: {
|
|
93
|
-
type:
|
|
97
|
+
type: PropType<ColorKeys>;
|
|
94
98
|
required: false;
|
|
95
99
|
default: string;
|
|
96
100
|
};
|
|
97
101
|
fontSize: {
|
|
98
|
-
type:
|
|
102
|
+
type: PropType<"xs3" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "xl5" | "xl6">;
|
|
99
103
|
required: false;
|
|
100
104
|
default: string;
|
|
101
105
|
};
|
|
102
106
|
fontWeight: {
|
|
103
|
-
type:
|
|
107
|
+
type: PropType<"thin" | "extralight" | "light" | "normal" | "medium" | "semibold" | "bold">;
|
|
104
108
|
required: false;
|
|
105
109
|
default: string;
|
|
106
110
|
};
|
|
107
111
|
icon: {
|
|
108
|
-
type:
|
|
112
|
+
type: PropType<TIcon>;
|
|
109
113
|
required: false;
|
|
110
114
|
};
|
|
111
115
|
iconPosition: {
|
|
112
|
-
type:
|
|
116
|
+
type: PropType<"left" | "right">;
|
|
113
117
|
required: false;
|
|
114
118
|
default: string;
|
|
115
119
|
};
|
|
116
120
|
openInNewTab: {
|
|
117
121
|
type: BooleanConstructor;
|
|
118
122
|
required: false;
|
|
123
|
+
default: boolean;
|
|
119
124
|
};
|
|
120
125
|
nowrap: {
|
|
121
126
|
type: BooleanConstructor;
|
|
122
127
|
required: false;
|
|
128
|
+
default: boolean;
|
|
123
129
|
};
|
|
124
130
|
}>>, {
|
|
125
|
-
color:
|
|
126
|
-
fontSize:
|
|
127
|
-
fontWeight:
|
|
128
|
-
iconPosition:
|
|
131
|
+
color: ColorKeys;
|
|
132
|
+
fontSize: "xs3" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "xl5" | "xl6";
|
|
133
|
+
fontWeight: "thin" | "extralight" | "light" | "normal" | "medium" | "semibold" | "bold";
|
|
134
|
+
iconPosition: "left" | "right";
|
|
129
135
|
openInNewTab: boolean;
|
|
130
136
|
nowrap: boolean;
|
|
131
137
|
}>;
|
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
import { ColorKeys } from "@wizleap-inc/wiz-ui-constants";
|
|
2
|
+
import { PropType } from "vue";
|
|
2
3
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
4
|
src: {
|
|
4
5
|
type: StringConstructor;
|
|
5
6
|
required: true;
|
|
6
7
|
};
|
|
7
8
|
size: {
|
|
8
|
-
type:
|
|
9
|
+
type: PropType<"at" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "no" | "max">;
|
|
9
10
|
required: false;
|
|
10
11
|
default: string;
|
|
11
12
|
};
|
|
12
13
|
color: {
|
|
13
|
-
type:
|
|
14
|
+
type: PropType<ColorKeys>;
|
|
14
15
|
required: false;
|
|
15
16
|
default: string;
|
|
16
17
|
};
|
|
17
18
|
bgColor: {
|
|
18
|
-
type:
|
|
19
|
+
type: PropType<ColorKeys>;
|
|
19
20
|
required: false;
|
|
20
21
|
default: string;
|
|
21
22
|
};
|
|
@@ -34,7 +35,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
34
35
|
}, {
|
|
35
36
|
props: any;
|
|
36
37
|
emits: (event: "click") => void;
|
|
37
|
-
onClick: () => false | void
|
|
38
|
+
onClick: () => false | void;
|
|
38
39
|
isImgLoadSuccess: import("vue").Ref<boolean>;
|
|
39
40
|
onError: () => void;
|
|
40
41
|
readonly avatarStyle: string;
|
|
@@ -42,7 +43,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
42
43
|
readonly avatarFallbackStyle: string;
|
|
43
44
|
readonly avatarClickableStyle: string;
|
|
44
45
|
readonly backgroundStyle: Record<ColorKeys, string>;
|
|
45
|
-
readonly sizeStyle: Record<"at" | "
|
|
46
|
+
readonly sizeStyle: Record<"at" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "no" | "max", string>;
|
|
46
47
|
readonly colorStyle: Record<ColorKeys, string>;
|
|
47
48
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
48
49
|
src: {
|
|
@@ -50,17 +51,17 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
50
51
|
required: true;
|
|
51
52
|
};
|
|
52
53
|
size: {
|
|
53
|
-
type:
|
|
54
|
+
type: PropType<"at" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "no" | "max">;
|
|
54
55
|
required: false;
|
|
55
56
|
default: string;
|
|
56
57
|
};
|
|
57
58
|
color: {
|
|
58
|
-
type:
|
|
59
|
+
type: PropType<ColorKeys>;
|
|
59
60
|
required: false;
|
|
60
61
|
default: string;
|
|
61
62
|
};
|
|
62
63
|
bgColor: {
|
|
63
|
-
type:
|
|
64
|
+
type: PropType<ColorKeys>;
|
|
64
65
|
required: false;
|
|
65
66
|
default: string;
|
|
66
67
|
};
|
|
@@ -79,9 +80,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
79
80
|
}>> & {
|
|
80
81
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
81
82
|
}, {
|
|
82
|
-
color:
|
|
83
|
-
size:
|
|
84
|
-
bgColor:
|
|
83
|
+
color: ColorKeys;
|
|
84
|
+
size: "at" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "no" | "max";
|
|
85
|
+
bgColor: ColorKeys;
|
|
85
86
|
clickable: boolean;
|
|
86
87
|
}>;
|
|
87
88
|
export default _sfc_main;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ColorKeys } from "@wizleap-inc/wiz-ui-constants";
|
|
2
|
+
import { PropType } from "vue";
|
|
2
3
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
4
|
label: {
|
|
4
5
|
type: StringConstructor;
|
|
@@ -7,35 +8,36 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
7
8
|
hidden: {
|
|
8
9
|
type: BooleanConstructor;
|
|
9
10
|
required: false;
|
|
11
|
+
default: boolean;
|
|
10
12
|
};
|
|
11
13
|
color: {
|
|
12
|
-
type:
|
|
14
|
+
type: PropType<ColorKeys>;
|
|
13
15
|
required: false;
|
|
14
16
|
default: string;
|
|
15
17
|
};
|
|
16
18
|
bgColor: {
|
|
17
|
-
type:
|
|
19
|
+
type: PropType<ColorKeys>;
|
|
18
20
|
required: false;
|
|
19
21
|
default: string;
|
|
20
22
|
};
|
|
21
23
|
offset: {
|
|
22
|
-
type:
|
|
24
|
+
type: PropType<"at" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "no" | "max">;
|
|
23
25
|
required: false;
|
|
24
26
|
default: string;
|
|
25
27
|
};
|
|
26
28
|
size: {
|
|
27
|
-
type:
|
|
29
|
+
type: PropType<"sm" | "md" | "lg">;
|
|
28
30
|
required: false;
|
|
29
31
|
default: string;
|
|
30
32
|
};
|
|
31
33
|
}, {
|
|
32
34
|
readonly badgeStyle: string;
|
|
33
|
-
readonly badgeSizeStyle: Record<"
|
|
35
|
+
readonly badgeSizeStyle: Record<"sm" | "md" | "lg", string>;
|
|
34
36
|
readonly badgeContainerStyle: string;
|
|
35
37
|
readonly backgroundStyle: Record<ColorKeys, string>;
|
|
36
38
|
readonly colorStyle: Record<ColorKeys, string>;
|
|
37
|
-
readonly topStyle: Record<"at" | "
|
|
38
|
-
readonly rightStyle: Record<"at" | "
|
|
39
|
+
readonly topStyle: Record<"at" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "no" | "max", string>;
|
|
40
|
+
readonly rightStyle: Record<"at" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "no" | "max", string>;
|
|
39
41
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
40
42
|
label: {
|
|
41
43
|
type: StringConstructor;
|
|
@@ -44,32 +46,33 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
44
46
|
hidden: {
|
|
45
47
|
type: BooleanConstructor;
|
|
46
48
|
required: false;
|
|
49
|
+
default: boolean;
|
|
47
50
|
};
|
|
48
51
|
color: {
|
|
49
|
-
type:
|
|
52
|
+
type: PropType<ColorKeys>;
|
|
50
53
|
required: false;
|
|
51
54
|
default: string;
|
|
52
55
|
};
|
|
53
56
|
bgColor: {
|
|
54
|
-
type:
|
|
57
|
+
type: PropType<ColorKeys>;
|
|
55
58
|
required: false;
|
|
56
59
|
default: string;
|
|
57
60
|
};
|
|
58
61
|
offset: {
|
|
59
|
-
type:
|
|
62
|
+
type: PropType<"at" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "no" | "max">;
|
|
60
63
|
required: false;
|
|
61
64
|
default: string;
|
|
62
65
|
};
|
|
63
66
|
size: {
|
|
64
|
-
type:
|
|
67
|
+
type: PropType<"sm" | "md" | "lg">;
|
|
65
68
|
required: false;
|
|
66
69
|
default: string;
|
|
67
70
|
};
|
|
68
71
|
}>>, {
|
|
69
|
-
color:
|
|
70
|
-
size:
|
|
71
|
-
bgColor:
|
|
72
|
+
color: ColorKeys;
|
|
73
|
+
size: "sm" | "md" | "lg";
|
|
74
|
+
bgColor: ColorKeys;
|
|
72
75
|
hidden: boolean;
|
|
73
|
-
offset:
|
|
76
|
+
offset: "at" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "no" | "max";
|
|
74
77
|
}>;
|
|
75
78
|
export default _sfc_main;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { ColorKeys } from "@wizleap-inc/wiz-ui-constants";
|
|
2
|
+
import { PropType } from "vue";
|
|
1
3
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
4
|
position: {
|
|
3
|
-
type:
|
|
5
|
+
type: PropType<"absolute" | "relative" | "fixed" | "sticky" | "static">;
|
|
4
6
|
required: false;
|
|
5
7
|
};
|
|
6
8
|
top: {
|
|
@@ -11,11 +13,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
11
13
|
type: StringConstructor;
|
|
12
14
|
required: false;
|
|
13
15
|
};
|
|
14
|
-
|
|
16
|
+
left: {
|
|
15
17
|
type: StringConstructor;
|
|
16
18
|
required: false;
|
|
17
19
|
};
|
|
18
|
-
|
|
20
|
+
bottom: {
|
|
19
21
|
type: StringConstructor;
|
|
20
22
|
required: false;
|
|
21
23
|
};
|
|
@@ -28,59 +30,59 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
28
30
|
required: false;
|
|
29
31
|
};
|
|
30
32
|
round: {
|
|
31
|
-
type:
|
|
33
|
+
type: PropType<"at" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "no" | "max">;
|
|
32
34
|
required: false;
|
|
33
35
|
};
|
|
34
36
|
roundT: {
|
|
35
|
-
type:
|
|
37
|
+
type: PropType<"at" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "no" | "max">;
|
|
36
38
|
required: false;
|
|
37
39
|
};
|
|
38
|
-
|
|
39
|
-
type:
|
|
40
|
+
roundL: {
|
|
41
|
+
type: PropType<"at" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "no" | "max">;
|
|
40
42
|
required: false;
|
|
41
43
|
};
|
|
42
|
-
|
|
43
|
-
type:
|
|
44
|
+
roundR: {
|
|
45
|
+
type: PropType<"at" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "no" | "max">;
|
|
44
46
|
required: false;
|
|
45
47
|
};
|
|
46
|
-
|
|
47
|
-
type:
|
|
48
|
+
roundB: {
|
|
49
|
+
type: PropType<"at" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "no" | "max">;
|
|
48
50
|
required: false;
|
|
49
51
|
};
|
|
50
52
|
zIndex: {
|
|
51
|
-
type:
|
|
53
|
+
type: PropType<"base" | "floating" | "dialog" | "popover">;
|
|
52
54
|
required: false;
|
|
53
55
|
};
|
|
54
56
|
bgColor: {
|
|
55
|
-
type:
|
|
57
|
+
type: PropType<ColorKeys>;
|
|
56
58
|
required: false;
|
|
57
59
|
};
|
|
58
60
|
shadow: {
|
|
59
|
-
type:
|
|
61
|
+
type: PropType<"sm" | "md" | "none">;
|
|
60
62
|
required: false;
|
|
61
63
|
};
|
|
62
64
|
dropShadow: {
|
|
63
|
-
type:
|
|
65
|
+
type: PropType<"sm" | "md" | "none">;
|
|
64
66
|
required: false;
|
|
65
67
|
};
|
|
66
68
|
overflow: {
|
|
67
|
-
type:
|
|
69
|
+
type: PropType<"auto" | "hidden" | "visible" | "scroll">;
|
|
68
70
|
required: false;
|
|
69
71
|
};
|
|
70
72
|
overflowX: {
|
|
71
|
-
type:
|
|
73
|
+
type: PropType<"auto" | "hidden" | "visible" | "scroll">;
|
|
72
74
|
required: false;
|
|
73
75
|
};
|
|
74
76
|
overflowY: {
|
|
75
|
-
type:
|
|
77
|
+
type: PropType<"auto" | "hidden" | "visible" | "scroll">;
|
|
76
78
|
required: false;
|
|
77
79
|
};
|
|
78
80
|
cursor: {
|
|
79
|
-
type:
|
|
81
|
+
type: PropType<"default" | "pointer">;
|
|
80
82
|
required: false;
|
|
81
83
|
};
|
|
82
84
|
pointerEvents: {
|
|
83
|
-
type:
|
|
85
|
+
type: PropType<"auto" | "none">;
|
|
84
86
|
required: false;
|
|
85
87
|
};
|
|
86
88
|
transform: {
|
|
@@ -96,7 +98,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
96
98
|
required: false;
|
|
97
99
|
};
|
|
98
100
|
scroll: {
|
|
99
|
-
type:
|
|
101
|
+
type: PropType<"none" | "x" | "y" | "block" | "inline" | "both">;
|
|
100
102
|
required: false;
|
|
101
103
|
};
|
|
102
104
|
}, {
|
|
@@ -104,7 +106,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
104
106
|
computedStyle: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
105
107
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
106
108
|
position: {
|
|
107
|
-
type:
|
|
109
|
+
type: PropType<"absolute" | "relative" | "fixed" | "sticky" | "static">;
|
|
108
110
|
required: false;
|
|
109
111
|
};
|
|
110
112
|
top: {
|
|
@@ -115,11 +117,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
115
117
|
type: StringConstructor;
|
|
116
118
|
required: false;
|
|
117
119
|
};
|
|
118
|
-
|
|
120
|
+
left: {
|
|
119
121
|
type: StringConstructor;
|
|
120
122
|
required: false;
|
|
121
123
|
};
|
|
122
|
-
|
|
124
|
+
bottom: {
|
|
123
125
|
type: StringConstructor;
|
|
124
126
|
required: false;
|
|
125
127
|
};
|
|
@@ -132,59 +134,59 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
132
134
|
required: false;
|
|
133
135
|
};
|
|
134
136
|
round: {
|
|
135
|
-
type:
|
|
137
|
+
type: PropType<"at" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "no" | "max">;
|
|
136
138
|
required: false;
|
|
137
139
|
};
|
|
138
140
|
roundT: {
|
|
139
|
-
type:
|
|
141
|
+
type: PropType<"at" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "no" | "max">;
|
|
140
142
|
required: false;
|
|
141
143
|
};
|
|
142
|
-
|
|
143
|
-
type:
|
|
144
|
+
roundL: {
|
|
145
|
+
type: PropType<"at" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "no" | "max">;
|
|
144
146
|
required: false;
|
|
145
147
|
};
|
|
146
|
-
|
|
147
|
-
type:
|
|
148
|
+
roundR: {
|
|
149
|
+
type: PropType<"at" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "no" | "max">;
|
|
148
150
|
required: false;
|
|
149
151
|
};
|
|
150
|
-
|
|
151
|
-
type:
|
|
152
|
+
roundB: {
|
|
153
|
+
type: PropType<"at" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "no" | "max">;
|
|
152
154
|
required: false;
|
|
153
155
|
};
|
|
154
156
|
zIndex: {
|
|
155
|
-
type:
|
|
157
|
+
type: PropType<"base" | "floating" | "dialog" | "popover">;
|
|
156
158
|
required: false;
|
|
157
159
|
};
|
|
158
160
|
bgColor: {
|
|
159
|
-
type:
|
|
161
|
+
type: PropType<ColorKeys>;
|
|
160
162
|
required: false;
|
|
161
163
|
};
|
|
162
164
|
shadow: {
|
|
163
|
-
type:
|
|
165
|
+
type: PropType<"sm" | "md" | "none">;
|
|
164
166
|
required: false;
|
|
165
167
|
};
|
|
166
168
|
dropShadow: {
|
|
167
|
-
type:
|
|
169
|
+
type: PropType<"sm" | "md" | "none">;
|
|
168
170
|
required: false;
|
|
169
171
|
};
|
|
170
172
|
overflow: {
|
|
171
|
-
type:
|
|
173
|
+
type: PropType<"auto" | "hidden" | "visible" | "scroll">;
|
|
172
174
|
required: false;
|
|
173
175
|
};
|
|
174
176
|
overflowX: {
|
|
175
|
-
type:
|
|
177
|
+
type: PropType<"auto" | "hidden" | "visible" | "scroll">;
|
|
176
178
|
required: false;
|
|
177
179
|
};
|
|
178
180
|
overflowY: {
|
|
179
|
-
type:
|
|
181
|
+
type: PropType<"auto" | "hidden" | "visible" | "scroll">;
|
|
180
182
|
required: false;
|
|
181
183
|
};
|
|
182
184
|
cursor: {
|
|
183
|
-
type:
|
|
185
|
+
type: PropType<"default" | "pointer">;
|
|
184
186
|
required: false;
|
|
185
187
|
};
|
|
186
188
|
pointerEvents: {
|
|
187
|
-
type:
|
|
189
|
+
type: PropType<"auto" | "none">;
|
|
188
190
|
required: false;
|
|
189
191
|
};
|
|
190
192
|
transform: {
|
|
@@ -200,7 +202,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
200
202
|
required: false;
|
|
201
203
|
};
|
|
202
204
|
scroll: {
|
|
203
|
-
type:
|
|
205
|
+
type: PropType<"none" | "x" | "y" | "block" | "inline" | "both">;
|
|
204
206
|
required: false;
|
|
205
207
|
};
|
|
206
208
|
}>>, {}>;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
import { PropType } from "vue";
|
|
2
|
+
import type { TIcon } from '../../../../components/icons';
|
|
1
3
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
4
|
icon: {
|
|
3
|
-
type:
|
|
5
|
+
type: PropType<TIcon>;
|
|
4
6
|
required: true;
|
|
5
7
|
};
|
|
6
8
|
variant: {
|
|
7
|
-
type:
|
|
9
|
+
type: PropType<"transparent" | "link" | "sub" | "primary">;
|
|
8
10
|
required: false;
|
|
9
11
|
default: string;
|
|
10
12
|
};
|
|
@@ -14,7 +16,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
14
16
|
default: boolean;
|
|
15
17
|
};
|
|
16
18
|
size: {
|
|
17
|
-
type:
|
|
19
|
+
type: PropType<"sm" | "md" | "lg" | "xl">;
|
|
18
20
|
required: false;
|
|
19
21
|
default: string;
|
|
20
22
|
};
|
|
@@ -22,18 +24,18 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
22
24
|
props: any;
|
|
23
25
|
emits: (event: "click") => void;
|
|
24
26
|
onClick: () => true | void;
|
|
25
|
-
readonly getRelativeFontSize: (key: "
|
|
26
|
-
readonly iconButtonSVGStyle: Record<"
|
|
27
|
-
readonly iconButtonStyle: Record<"
|
|
27
|
+
readonly getRelativeFontSize: (key: "xs3" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "xl5" | "xl6", diffIndex: number) => "xs3" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "xl5" | "xl6";
|
|
28
|
+
readonly iconButtonSVGStyle: Record<"transparent" | "link" | "sub" | "primary", string>;
|
|
29
|
+
readonly iconButtonStyle: Record<"transparent" | "link" | "sub" | "primary", string>;
|
|
28
30
|
readonly iconButtonDisabledStyle: string;
|
|
29
|
-
readonly fontSizeStyle: Record<"
|
|
31
|
+
readonly fontSizeStyle: Record<"xs3" | "xs2" | "xs" | "sm" | "md" | "lg" | "xl" | "xl2" | "xl3" | "xl4" | "xl5" | "xl6", string>;
|
|
30
32
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
33
|
icon: {
|
|
32
|
-
type:
|
|
34
|
+
type: PropType<TIcon>;
|
|
33
35
|
required: true;
|
|
34
36
|
};
|
|
35
37
|
variant: {
|
|
36
|
-
type:
|
|
38
|
+
type: PropType<"transparent" | "link" | "sub" | "primary">;
|
|
37
39
|
required: false;
|
|
38
40
|
default: string;
|
|
39
41
|
};
|
|
@@ -43,15 +45,15 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
43
45
|
default: boolean;
|
|
44
46
|
};
|
|
45
47
|
size: {
|
|
46
|
-
type:
|
|
48
|
+
type: PropType<"sm" | "md" | "lg" | "xl">;
|
|
47
49
|
required: false;
|
|
48
50
|
default: string;
|
|
49
51
|
};
|
|
50
52
|
}>> & {
|
|
51
53
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
52
54
|
}, {
|
|
53
|
-
size:
|
|
55
|
+
size: "sm" | "md" | "lg" | "xl";
|
|
54
56
|
disabled: boolean;
|
|
55
|
-
variant:
|
|
57
|
+
variant: "transparent" | "link" | "sub" | "primary";
|
|
56
58
|
}>;
|
|
57
59
|
export default _sfc_main;
|