@factoringplus/pl-components-pack-v3 1.2.22-pre-01 → 1.2.22-pre-03
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/button/index.d.ts +191 -191
- package/dist/components/button/pl-button.vue.d.ts +66 -64
- package/dist/components/button/types/index.d.ts +21 -21
- package/dist/components/components.d.ts +47 -47
- package/dist/components/deprecated/currency-input/index.d.ts +5 -5
- package/dist/components/deprecated/pl-checkbox/index.d.ts +5 -5
- package/dist/components/deprecated/pl-date-picker/index.d.ts +5 -5
- package/dist/components/deprecated/pl-date-picker/pl-date-picker-range.vue.d.ts +77 -77
- package/dist/components/deprecated/pl-date-picker/pl-date-picker.vue.d.ts +72 -72
- package/dist/components/deprecated/pl-date-picker-legacy/index.d.ts +5 -5
- package/dist/components/deprecated/pl-dialog/index.d.ts +5 -5
- package/dist/components/deprecated/pl-dialog/pl-dialog.vue.d.ts +104 -102
- package/dist/components/deprecated/pl-form-item/index.d.ts +5 -5
- package/dist/components/deprecated/pl-input/index.d.ts +5 -5
- package/dist/components/deprecated/pl-input-native/index.d.ts +5 -5
- package/dist/components/deprecated/pl-select/index.d.ts +5 -5
- package/dist/components/deprecated/pl-select/pl-select.vue.d.ts +149 -147
- package/dist/components/deprecated/pl-suggestions/index.d.ts +5 -5
- package/dist/components/deprecated/pl-suggestions/pl-suggestions.vue.d.ts +112 -112
- package/dist/components/deprecated/pl-table/index.d.ts +5 -5
- package/dist/components/deprecated/pl-table/pl-table.vue.d.ts +133 -133
- package/dist/components/deprecated/pl-tooltip/index.d.ts +5 -5
- package/dist/components/deprecated/pl-tooltip/pl-tooltip.vue.d.ts +58 -56
- package/dist/components/deprecated/pl-upload/index.d.ts +5 -5
- package/dist/components/deprecated/pl-upload/pl-upload.vue.d.ts +124 -124
- package/dist/components/deprecated/pl-upload-legacy/index.d.ts +5 -5
- package/dist/components/deprecated/pl-upload-legacy/pl-upload-legacy.vue.d.ts +111 -111
- package/dist/components/pl-autocomplete/components/pl-autocomplete-dropdown.vue.d.ts +60 -60
- package/dist/components/pl-autocomplete/components/pl-default.vue.d.ts +60 -60
- package/dist/components/pl-autocomplete/index.d.ts +5 -5
- package/dist/components/pl-autocomplete/pl-autocompete.vue.d.ts +95 -95
- package/dist/components/pl-autocomplete/types/index.d.ts +57 -57
- package/dist/components/pl-card/index.d.ts +5 -5
- package/dist/components/pl-checkbox-plus/index.d.ts +5 -5
- package/dist/components/pl-checkbox-plus/pl-checkbox-plus.vue.d.ts +74 -72
- package/dist/components/pl-date-picker-plus/common/components/PlDatePickerRangeWrapper.vue.d.ts +68 -68
- package/dist/components/pl-date-picker-plus/common/components/PlDatePickerWrapper.vue.d.ts +56 -56
- package/dist/components/pl-date-picker-plus/common/constants.d.ts +2 -2
- package/dist/components/pl-date-picker-plus/common/types/index.d.ts +50 -50
- package/dist/components/pl-date-picker-plus/common/utils/wrapperFunctions.d.ts +13 -13
- package/dist/components/pl-date-picker-plus/index.d.ts +5 -5
- package/dist/components/pl-date-picker-plus/pl-date-picker-plus/pl-date-picker-plus.vue.d.ts +82 -82
- package/dist/components/pl-date-picker-plus/pl-date-picker-range-plus/pl-date-picker-range-plus.vue.d.ts +84 -84
- package/dist/components/pl-dialog/index.d.ts +5 -5
- package/dist/components/pl-dialog/pl-dialog-plus.vue.d.ts +106 -104
- package/dist/components/pl-form/index.d.ts +5 -5
- package/dist/components/pl-form/pl-form.vue.d.ts +55 -53
- package/dist/components/pl-icon/index.d.ts +6 -6
- package/dist/components/pl-icon/pl-icon.vue.d.ts +12 -12
- package/dist/components/pl-icon/types/iconsType.d.ts +5 -5
- package/dist/components/pl-icon/types/index.d.ts +2 -2
- package/dist/components/pl-input-plus/components/pl-currency.vue.d.ts +46 -46
- package/dist/components/pl-input-plus/components/pl-default.vue.d.ts +72 -72
- package/dist/components/pl-input-plus/components/pl-password.vue.d.ts +47 -47
- package/dist/components/pl-input-plus/components/pl-textarea.vue.d.ts +45 -45
- package/dist/components/pl-input-plus/index.d.ts +5 -5
- package/dist/components/pl-input-plus/pl-input-plus.vue.d.ts +123 -123
- package/dist/components/pl-input-plus/types/index.d.ts +65 -65
- package/dist/components/pl-label/pl-label.vue.d.ts +41 -39
- package/dist/components/pl-link/index.d.ts +5 -5
- package/dist/components/pl-link/pl-link.vue.d.ts +50 -48
- package/dist/components/pl-mark-text/index.d.ts +16 -16
- package/dist/components/pl-mark-text/pl-mark-text.vue.d.ts +16 -16
- package/dist/components/pl-multi-select/components/pl-default.vue.d.ts +68 -68
- package/dist/components/pl-multi-select/components/pl-multi-select-dropdown.vue.d.ts +49 -49
- package/dist/components/pl-multi-select/index.d.ts +5 -5
- package/dist/components/pl-multi-select/pl-multi-select.vue.d.ts +72 -72
- package/dist/components/pl-multi-select/types/index.d.ts +33 -33
- package/dist/components/pl-multitab/components/pl-tab-card.vue.d.ts +38 -38
- package/dist/components/pl-multitab/index.d.ts +5 -5
- package/dist/components/pl-multitab/pl-multitab.vue.d.ts +39 -39
- package/dist/components/pl-multitab/types/index.d.ts +14 -14
- package/dist/components/pl-option/index.d.ts +5 -5
- package/dist/components/pl-option/pl-option.vue.d.ts +122 -122
- package/dist/components/pl-radio/index.d.ts +5 -5
- package/dist/components/pl-radio/pl-radio.vue.d.ts +69 -69
- package/dist/components/pl-scrollbar/index.d.ts +5 -5
- package/dist/components/pl-scrollbar/pl-scrollbar.vue.d.ts +67 -65
- package/dist/components/pl-scrollbar/utils/getSizeWithUnits.d.ts +1 -1
- package/dist/components/pl-select-plus/components/pl-account.vue.d.ts +68 -68
- package/dist/components/pl-select-plus/components/pl-default.vue.d.ts +68 -68
- package/dist/components/pl-select-plus/components/pl-select-dropdown.vue.d.ts +45 -45
- package/dist/components/pl-select-plus/index.d.ts +5 -5
- package/dist/components/pl-select-plus/pl-select-plus.vue.d.ts +77 -77
- package/dist/components/pl-select-plus/types/index.d.ts +38 -38
- package/dist/components/pl-skeleton/index.d.ts +5 -5
- package/dist/components/pl-skeleton/pl-skeleton.vue.d.ts +40 -40
- package/dist/components/pl-snackbar/index.d.ts +7 -7
- package/dist/components/pl-snackbar/pl-snackbar.vue.d.ts +47 -47
- package/dist/components/pl-snackbar/renderSnackbar.d.ts +3 -3
- package/dist/components/pl-snackbar/types.d.ts +25 -25
- package/dist/components/pl-stepper/index.d.ts +5 -5
- package/dist/components/pl-stepper/pl-stepper.vue.d.ts +57 -57
- package/dist/components/pl-switch/index.d.ts +5 -5
- package/dist/components/pl-switch/pl-switch.vue.d.ts +47 -47
- package/dist/components/pl-tab-pane/index.d.ts +5 -5
- package/dist/components/pl-tab-pane/pl-tab-pane.vue.d.ts +47 -45
- package/dist/components/pl-tab-pane/types/index.d.ts +8 -8
- package/dist/components/pl-table-plus/components/row-mask.vue.d.ts +52 -52
- package/dist/components/pl-table-plus/index.d.ts +5 -5
- package/dist/components/pl-table-plus/pl-table-plus.vue.d.ts +95 -93
- package/dist/components/pl-tabs/components/pl-tab-counter.vue.d.ts +23 -21
- package/dist/components/pl-tabs/components/pl-tab.vue.d.ts +45 -45
- package/dist/components/pl-tabs/index.d.ts +5 -5
- package/dist/components/pl-tabs/pl-tabs.vue.d.ts +45 -45
- package/dist/components/pl-tags/pl-tags.vue.d.ts +37 -35
- package/dist/components/pl-text/components/pl-body1.vue.d.ts +23 -21
- package/dist/components/pl-text/components/pl-body2.vue.d.ts +23 -21
- package/dist/components/pl-text/components/pl-body3.vue.d.ts +23 -21
- package/dist/components/pl-text/components/pl-bodyu.vue.d.ts +23 -21
- package/dist/components/pl-text/components/pl-btn1.vue.d.ts +23 -21
- package/dist/components/pl-text/components/pl-btn2.vue.d.ts +23 -21
- package/dist/components/pl-text/components/pl-btn3.vue.d.ts +23 -21
- package/dist/components/pl-text/components/pl-cap.vue.d.ts +23 -21
- package/dist/components/pl-text/components/pl-h1.vue.d.ts +23 -21
- package/dist/components/pl-text/components/pl-h2.vue.d.ts +23 -21
- package/dist/components/pl-text/components/pl-h3.vue.d.ts +23 -21
- package/dist/components/pl-text/components/pl-h4.vue.d.ts +23 -21
- package/dist/components/pl-text/components/pl-sub1.vue.d.ts +19 -17
- package/dist/components/pl-text/components/pl-sub2.vue.d.ts +19 -17
- package/dist/components/pl-text/components/pl-system.vue.d.ts +19 -17
- package/dist/components/pl-text/components/pl-tag.vue.d.ts +19 -17
- package/dist/components/pl-text/components/pl-title1.vue.d.ts +19 -17
- package/dist/components/pl-text/components/pl-title2.vue.d.ts +19 -17
- package/dist/components/pl-text/components/pl-title3.vue.d.ts +19 -17
- package/dist/components/pl-text/index.d.ts +5 -5
- package/dist/components/pl-tooltip-plus/index.d.ts +5 -5
- package/dist/components/pl-tooltip-plus/pl-tooltip-plus.vue.d.ts +55 -53
- package/dist/components/pl-upload-plus/index.d.ts +5 -5
- package/dist/components/pl-upload-plus/pl-upload-plus.vue.d.ts +109 -109
- package/dist/components/pl-upload-plus/types/FileExtension.d.ts +1 -1
- package/dist/directives/index.d.ts +5 -5
- package/dist/directives/vInfiniteScroll/utils/position.d.ts +1 -1
- package/dist/directives/vInfiniteScroll/utils/scroll.d.ts +1 -1
- package/dist/directives/vInfiniteScroll/utils/style.d.ts +1 -1
- package/dist/directives/vInfiniteScroll/vInfiniteScroll.d.ts +2 -2
- package/dist/directives/vLoading.d.ts +3 -3
- package/dist/directives/vTap.d.ts +3 -3
- package/dist/directives/vTouchOutside.d.ts +3 -3
- package/dist/install-function/index.d.ts +6 -6
- package/dist/main.d.ts +1 -1
- package/dist/plugins/api/api.d.ts +2 -2
- package/dist/plugins/filters.d.ts +8 -8
- package/dist/plugins/loading/loading.d.ts +3 -3
- package/dist/services/plLoading.d.ts +3 -3
- package/dist/utils/dadataParser.d.ts +11 -11
- package/dist/utils/declOfNum.d.ts +3 -3
- package/dist/utils/deepSet.d.ts +6 -6
- package/dist/utils/formatAccount.d.ts +2 -2
- package/dist/utils/formatCurrency.d.ts +3 -3
- package/dist/utils/formatDate.d.ts +3 -3
- package/dist/utils/getSourceCode.d.ts +5 -5
- package/dist/utils/isEqual.d.ts +3 -3
- package/dist/utils/types.d.ts +67 -67
- package/package.json +80 -66
|
@@ -1,192 +1,192 @@
|
|
|
1
1
|
import { TButtonProps } from './types';
|
|
2
|
-
|
|
3
|
-
export declare const PlButton: import('../../install-function').SFCInstallWithContext<{
|
|
4
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstance<Readonly<import('vue').ExtractPropTypes<{
|
|
5
|
-
size: {
|
|
6
|
-
type: import('vue').PropType<"small" | "large" | "medium">;
|
|
7
|
-
default: string;
|
|
8
|
-
};
|
|
9
|
-
type: {
|
|
10
|
-
type: import('vue').PropType<"primary" | "secondary" | "alternative" | "error" | "empty">;
|
|
11
|
-
default: string;
|
|
12
|
-
};
|
|
13
|
-
fullWidth: {
|
|
14
|
-
type: import('vue').PropType<boolean>;
|
|
15
|
-
default: boolean;
|
|
16
|
-
};
|
|
17
|
-
disabled: {
|
|
18
|
-
type: import('vue').PropType<boolean>;
|
|
19
|
-
default: boolean;
|
|
20
|
-
};
|
|
21
|
-
icon: {
|
|
22
|
-
type: import('vue').PropType<import('../pl-icon').TIcon>;
|
|
23
|
-
default: string;
|
|
24
|
-
};
|
|
25
|
-
iconColor: {
|
|
26
|
-
type: import('vue').PropType<string>;
|
|
27
|
-
default: string;
|
|
28
|
-
};
|
|
29
|
-
iconPosition: {
|
|
30
|
-
type: import('vue').PropType<"left" | "right">;
|
|
31
|
-
default: string;
|
|
32
|
-
};
|
|
33
|
-
nativeType: {
|
|
34
|
-
type: import('vue').PropType<"button" | "submit" | "reset">;
|
|
35
|
-
default: string;
|
|
36
|
-
};
|
|
37
|
-
}>> & {
|
|
38
|
-
onClick?: (...args: any[]) => any;
|
|
39
|
-
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
40
|
-
click: (...args: any[]) => void;
|
|
41
|
-
}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
|
|
42
|
-
size: {
|
|
43
|
-
type: import('vue').PropType<"small" | "large" | "medium">;
|
|
44
|
-
default: string;
|
|
45
|
-
};
|
|
46
|
-
type: {
|
|
47
|
-
type: import('vue').PropType<"primary" | "secondary" | "alternative" | "error" | "empty">;
|
|
48
|
-
default: string;
|
|
49
|
-
};
|
|
50
|
-
fullWidth: {
|
|
51
|
-
type: import('vue').PropType<boolean>;
|
|
52
|
-
default: boolean;
|
|
53
|
-
};
|
|
54
|
-
disabled: {
|
|
55
|
-
type: import('vue').PropType<boolean>;
|
|
56
|
-
default: boolean;
|
|
57
|
-
};
|
|
58
|
-
icon: {
|
|
59
|
-
type: import('vue').PropType<import('../pl-icon').TIcon>;
|
|
60
|
-
default: string;
|
|
61
|
-
};
|
|
62
|
-
iconColor: {
|
|
63
|
-
type: import('vue').PropType<string>;
|
|
64
|
-
default: string;
|
|
65
|
-
};
|
|
66
|
-
iconPosition: {
|
|
67
|
-
type: import('vue').PropType<"left" | "right">;
|
|
68
|
-
default: string;
|
|
69
|
-
};
|
|
70
|
-
nativeType: {
|
|
71
|
-
type: import('vue').PropType<"button" | "submit" | "reset">;
|
|
72
|
-
default: string;
|
|
73
|
-
};
|
|
74
|
-
}>> & {
|
|
75
|
-
onClick?: (...args: any[]) => any;
|
|
76
|
-
}, {
|
|
77
|
-
size: "
|
|
78
|
-
type: "primary" | "secondary" | "alternative" | "error" | "empty";
|
|
79
|
-
fullWidth: boolean;
|
|
80
|
-
disabled: boolean;
|
|
81
|
-
icon: import('../pl-icon').TIcon;
|
|
82
|
-
iconColor: string;
|
|
83
|
-
iconPosition: "left" | "right";
|
|
84
|
-
nativeType: "button" | "submit" | "reset";
|
|
85
|
-
}, true, {}, {}, {
|
|
86
|
-
P: {};
|
|
87
|
-
B: {};
|
|
88
|
-
D: {};
|
|
89
|
-
C: {};
|
|
90
|
-
M: {};
|
|
91
|
-
Defaults: {};
|
|
92
|
-
}, Readonly<import('vue').ExtractPropTypes<{
|
|
93
|
-
size: {
|
|
94
|
-
type: import('vue').PropType<"small" | "large" | "medium">;
|
|
95
|
-
default: string;
|
|
96
|
-
};
|
|
97
|
-
type: {
|
|
98
|
-
type: import('vue').PropType<"primary" | "secondary" | "alternative" | "error" | "empty">;
|
|
99
|
-
default: string;
|
|
100
|
-
};
|
|
101
|
-
fullWidth: {
|
|
102
|
-
type: import('vue').PropType<boolean>;
|
|
103
|
-
default: boolean;
|
|
104
|
-
};
|
|
105
|
-
disabled: {
|
|
106
|
-
type: import('vue').PropType<boolean>;
|
|
107
|
-
default: boolean;
|
|
108
|
-
};
|
|
109
|
-
icon: {
|
|
110
|
-
type: import('vue').PropType<import('../pl-icon').TIcon>;
|
|
111
|
-
default: string;
|
|
112
|
-
};
|
|
113
|
-
iconColor: {
|
|
114
|
-
type: import('vue').PropType<string>;
|
|
115
|
-
default: string;
|
|
116
|
-
};
|
|
117
|
-
iconPosition: {
|
|
118
|
-
type: import('vue').PropType<"left" | "right">;
|
|
119
|
-
default: string;
|
|
120
|
-
};
|
|
121
|
-
nativeType: {
|
|
122
|
-
type: import('vue').PropType<"button" | "submit" | "reset">;
|
|
123
|
-
default: string;
|
|
124
|
-
};
|
|
125
|
-
}>> & {
|
|
126
|
-
onClick?: (...args: any[]) => any;
|
|
127
|
-
}, {}, {}, {}, {}, {
|
|
128
|
-
size: "
|
|
129
|
-
type: "primary" | "secondary" | "alternative" | "error" | "empty";
|
|
130
|
-
fullWidth: boolean;
|
|
131
|
-
disabled: boolean;
|
|
132
|
-
icon: import('../pl-icon').TIcon;
|
|
133
|
-
iconColor: string;
|
|
134
|
-
iconPosition: "left" | "right";
|
|
135
|
-
nativeType: "button" | "submit" | "reset";
|
|
136
|
-
}>;
|
|
137
|
-
__isFragment?: never;
|
|
138
|
-
__isTeleport?: never;
|
|
139
|
-
__isSuspense?: never;
|
|
140
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
141
|
-
size: {
|
|
142
|
-
type: import('vue').PropType<"small" | "large" | "medium">;
|
|
143
|
-
default: string;
|
|
144
|
-
};
|
|
145
|
-
type: {
|
|
146
|
-
type: import('vue').PropType<"primary" | "secondary" | "alternative" | "error" | "empty">;
|
|
147
|
-
default: string;
|
|
148
|
-
};
|
|
149
|
-
fullWidth: {
|
|
150
|
-
type: import('vue').PropType<boolean>;
|
|
151
|
-
default: boolean;
|
|
152
|
-
};
|
|
153
|
-
disabled: {
|
|
154
|
-
type: import('vue').PropType<boolean>;
|
|
155
|
-
default: boolean;
|
|
156
|
-
};
|
|
157
|
-
icon: {
|
|
158
|
-
type: import('vue').PropType<import('../pl-icon').TIcon>;
|
|
159
|
-
default: string;
|
|
160
|
-
};
|
|
161
|
-
iconColor: {
|
|
162
|
-
type: import('vue').PropType<string>;
|
|
163
|
-
default: string;
|
|
164
|
-
};
|
|
165
|
-
iconPosition: {
|
|
166
|
-
type: import('vue').PropType<"left" | "right">;
|
|
167
|
-
default: string;
|
|
168
|
-
};
|
|
169
|
-
nativeType: {
|
|
170
|
-
type: import('vue').PropType<"button" | "submit" | "reset">;
|
|
171
|
-
default: string;
|
|
172
|
-
};
|
|
173
|
-
}>> & {
|
|
174
|
-
onClick?: (...args: any[]) => any;
|
|
175
|
-
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
176
|
-
click: (...args: any[]) => void;
|
|
177
|
-
}, string, {
|
|
178
|
-
size: "
|
|
179
|
-
type: "primary" | "secondary" | "alternative" | "error" | "empty";
|
|
180
|
-
fullWidth: boolean;
|
|
181
|
-
disabled: boolean;
|
|
182
|
-
icon: import('../pl-icon').TIcon;
|
|
183
|
-
iconColor: string;
|
|
184
|
-
iconPosition: "left" | "right";
|
|
185
|
-
nativeType: "button" | "submit" | "reset";
|
|
186
|
-
}, {}, string, {}> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
187
|
-
$slots: {
|
|
188
|
-
default?(_: {}): any;
|
|
189
|
-
};
|
|
190
|
-
})>;
|
|
191
|
-
export default PlButton;
|
|
192
|
-
export type { TButtonProps };
|
|
2
|
+
|
|
3
|
+
export declare const PlButton: import('../../install-function').SFCInstallWithContext<{
|
|
4
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstance<Readonly<import('vue').ExtractPropTypes<{
|
|
5
|
+
size: {
|
|
6
|
+
type: import('vue').PropType<"small" | "large" | "medium">;
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
type: {
|
|
10
|
+
type: import('vue').PropType<"primary" | "secondary" | "alternative" | "error" | "empty">;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
fullWidth: {
|
|
14
|
+
type: import('vue').PropType<boolean>;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
disabled: {
|
|
18
|
+
type: import('vue').PropType<boolean>;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
icon: {
|
|
22
|
+
type: import('vue').PropType<import('../pl-icon').TIcon>;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
iconColor: {
|
|
26
|
+
type: import('vue').PropType<string>;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
iconPosition: {
|
|
30
|
+
type: import('vue').PropType<"left" | "right">;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
nativeType: {
|
|
34
|
+
type: import('vue').PropType<"button" | "submit" | "reset">;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
}>> & {
|
|
38
|
+
onClick?: (...args: any[]) => any;
|
|
39
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
40
|
+
click: (...args: any[]) => void;
|
|
41
|
+
}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
|
|
42
|
+
size: {
|
|
43
|
+
type: import('vue').PropType<"small" | "large" | "medium">;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
type: {
|
|
47
|
+
type: import('vue').PropType<"primary" | "secondary" | "alternative" | "error" | "empty">;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
fullWidth: {
|
|
51
|
+
type: import('vue').PropType<boolean>;
|
|
52
|
+
default: boolean;
|
|
53
|
+
};
|
|
54
|
+
disabled: {
|
|
55
|
+
type: import('vue').PropType<boolean>;
|
|
56
|
+
default: boolean;
|
|
57
|
+
};
|
|
58
|
+
icon: {
|
|
59
|
+
type: import('vue').PropType<import('../pl-icon').TIcon>;
|
|
60
|
+
default: string;
|
|
61
|
+
};
|
|
62
|
+
iconColor: {
|
|
63
|
+
type: import('vue').PropType<string>;
|
|
64
|
+
default: string;
|
|
65
|
+
};
|
|
66
|
+
iconPosition: {
|
|
67
|
+
type: import('vue').PropType<"left" | "right">;
|
|
68
|
+
default: string;
|
|
69
|
+
};
|
|
70
|
+
nativeType: {
|
|
71
|
+
type: import('vue').PropType<"button" | "submit" | "reset">;
|
|
72
|
+
default: string;
|
|
73
|
+
};
|
|
74
|
+
}>> & {
|
|
75
|
+
onClick?: (...args: any[]) => any;
|
|
76
|
+
}, {
|
|
77
|
+
size: "large" | "medium" | "small";
|
|
78
|
+
type: "primary" | "secondary" | "alternative" | "error" | "empty";
|
|
79
|
+
fullWidth: boolean;
|
|
80
|
+
disabled: boolean;
|
|
81
|
+
icon: import('../pl-icon').TIcon;
|
|
82
|
+
iconColor: string;
|
|
83
|
+
iconPosition: "left" | "right";
|
|
84
|
+
nativeType: "button" | "submit" | "reset";
|
|
85
|
+
}, true, {}, {}, {
|
|
86
|
+
P: {};
|
|
87
|
+
B: {};
|
|
88
|
+
D: {};
|
|
89
|
+
C: {};
|
|
90
|
+
M: {};
|
|
91
|
+
Defaults: {};
|
|
92
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
93
|
+
size: {
|
|
94
|
+
type: import('vue').PropType<"small" | "large" | "medium">;
|
|
95
|
+
default: string;
|
|
96
|
+
};
|
|
97
|
+
type: {
|
|
98
|
+
type: import('vue').PropType<"primary" | "secondary" | "alternative" | "error" | "empty">;
|
|
99
|
+
default: string;
|
|
100
|
+
};
|
|
101
|
+
fullWidth: {
|
|
102
|
+
type: import('vue').PropType<boolean>;
|
|
103
|
+
default: boolean;
|
|
104
|
+
};
|
|
105
|
+
disabled: {
|
|
106
|
+
type: import('vue').PropType<boolean>;
|
|
107
|
+
default: boolean;
|
|
108
|
+
};
|
|
109
|
+
icon: {
|
|
110
|
+
type: import('vue').PropType<import('../pl-icon').TIcon>;
|
|
111
|
+
default: string;
|
|
112
|
+
};
|
|
113
|
+
iconColor: {
|
|
114
|
+
type: import('vue').PropType<string>;
|
|
115
|
+
default: string;
|
|
116
|
+
};
|
|
117
|
+
iconPosition: {
|
|
118
|
+
type: import('vue').PropType<"left" | "right">;
|
|
119
|
+
default: string;
|
|
120
|
+
};
|
|
121
|
+
nativeType: {
|
|
122
|
+
type: import('vue').PropType<"button" | "submit" | "reset">;
|
|
123
|
+
default: string;
|
|
124
|
+
};
|
|
125
|
+
}>> & {
|
|
126
|
+
onClick?: (...args: any[]) => any;
|
|
127
|
+
}, {}, {}, {}, {}, {
|
|
128
|
+
size: "large" | "medium" | "small";
|
|
129
|
+
type: "primary" | "secondary" | "alternative" | "error" | "empty";
|
|
130
|
+
fullWidth: boolean;
|
|
131
|
+
disabled: boolean;
|
|
132
|
+
icon: import('../pl-icon').TIcon;
|
|
133
|
+
iconColor: string;
|
|
134
|
+
iconPosition: "left" | "right";
|
|
135
|
+
nativeType: "button" | "submit" | "reset";
|
|
136
|
+
}>;
|
|
137
|
+
__isFragment?: never;
|
|
138
|
+
__isTeleport?: never;
|
|
139
|
+
__isSuspense?: never;
|
|
140
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
141
|
+
size: {
|
|
142
|
+
type: import('vue').PropType<"small" | "large" | "medium">;
|
|
143
|
+
default: string;
|
|
144
|
+
};
|
|
145
|
+
type: {
|
|
146
|
+
type: import('vue').PropType<"primary" | "secondary" | "alternative" | "error" | "empty">;
|
|
147
|
+
default: string;
|
|
148
|
+
};
|
|
149
|
+
fullWidth: {
|
|
150
|
+
type: import('vue').PropType<boolean>;
|
|
151
|
+
default: boolean;
|
|
152
|
+
};
|
|
153
|
+
disabled: {
|
|
154
|
+
type: import('vue').PropType<boolean>;
|
|
155
|
+
default: boolean;
|
|
156
|
+
};
|
|
157
|
+
icon: {
|
|
158
|
+
type: import('vue').PropType<import('../pl-icon').TIcon>;
|
|
159
|
+
default: string;
|
|
160
|
+
};
|
|
161
|
+
iconColor: {
|
|
162
|
+
type: import('vue').PropType<string>;
|
|
163
|
+
default: string;
|
|
164
|
+
};
|
|
165
|
+
iconPosition: {
|
|
166
|
+
type: import('vue').PropType<"left" | "right">;
|
|
167
|
+
default: string;
|
|
168
|
+
};
|
|
169
|
+
nativeType: {
|
|
170
|
+
type: import('vue').PropType<"button" | "submit" | "reset">;
|
|
171
|
+
default: string;
|
|
172
|
+
};
|
|
173
|
+
}>> & {
|
|
174
|
+
onClick?: (...args: any[]) => any;
|
|
175
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
176
|
+
click: (...args: any[]) => void;
|
|
177
|
+
}, string, {
|
|
178
|
+
size: "large" | "medium" | "small";
|
|
179
|
+
type: "primary" | "secondary" | "alternative" | "error" | "empty";
|
|
180
|
+
fullWidth: boolean;
|
|
181
|
+
disabled: boolean;
|
|
182
|
+
icon: import('../pl-icon').TIcon;
|
|
183
|
+
iconColor: string;
|
|
184
|
+
iconPosition: "left" | "right";
|
|
185
|
+
nativeType: "button" | "submit" | "reset";
|
|
186
|
+
}, {}, string, {}> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
187
|
+
$slots: {
|
|
188
|
+
default?(_: {}): any;
|
|
189
|
+
};
|
|
190
|
+
})>;
|
|
191
|
+
export default PlButton;
|
|
192
|
+
export type { TButtonProps };
|
|
@@ -1,65 +1,67 @@
|
|
|
1
1
|
import { TButtonProps } from './types';
|
|
2
|
-
|
|
3
|
-
declare
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
}
|
|
49
|
-
type: import('vue').PropType<T[K]
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
2
|
+
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TButtonProps>, {
|
|
7
|
+
/**
|
|
8
|
+
* Выставляет ширину кнопки в 100%
|
|
9
|
+
*/
|
|
10
|
+
fullWidth: boolean;
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
type: string;
|
|
13
|
+
size: string;
|
|
14
|
+
icon: string;
|
|
15
|
+
iconColor: string;
|
|
16
|
+
iconPosition: string;
|
|
17
|
+
nativeType: string;
|
|
18
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
19
|
+
click: (...args: any[]) => void;
|
|
20
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TButtonProps>, {
|
|
21
|
+
/**
|
|
22
|
+
* Выставляет ширину кнопки в 100%
|
|
23
|
+
*/
|
|
24
|
+
fullWidth: boolean;
|
|
25
|
+
disabled: boolean;
|
|
26
|
+
type: string;
|
|
27
|
+
size: string;
|
|
28
|
+
icon: string;
|
|
29
|
+
iconColor: string;
|
|
30
|
+
iconPosition: string;
|
|
31
|
+
nativeType: string;
|
|
32
|
+
}>>> & {
|
|
33
|
+
onClick?: (...args: any[]) => any;
|
|
34
|
+
}, {
|
|
35
|
+
size: "large" | "medium" | "small";
|
|
36
|
+
type: "primary" | "secondary" | "alternative" | "error" | "empty";
|
|
37
|
+
fullWidth: boolean;
|
|
38
|
+
disabled: boolean;
|
|
39
|
+
icon: import('../pl-icon').TIcon;
|
|
40
|
+
iconColor: string;
|
|
41
|
+
iconPosition: "left" | "right";
|
|
42
|
+
nativeType: "button" | "submit" | "reset";
|
|
43
|
+
}, {}>;
|
|
44
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
45
|
+
export default _default;
|
|
46
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
47
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
48
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
49
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
50
|
+
} : {
|
|
51
|
+
type: import('vue').PropType<T[K]>;
|
|
52
|
+
required: true;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
type __VLS_WithDefaults<P, D> = {
|
|
56
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
57
|
+
default: D[K];
|
|
58
|
+
}> : P[K];
|
|
59
|
+
};
|
|
60
|
+
type __VLS_Prettify<T> = {
|
|
61
|
+
[K in keyof T]: T[K];
|
|
62
|
+
} & {};
|
|
63
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
64
|
+
new (): {
|
|
65
|
+
$slots: S;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { TIcon } from '../../pl-icon/types';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @param fullWidth boolean;
|
|
5
|
-
* @param disabled boolean;
|
|
6
|
-
* @param type 'primary' | 'secondary' | 'alternative' | 'error' | 'empty';
|
|
7
|
-
* @param size 'large' | 'medium' | 'small';
|
|
8
|
-
* @param icon IIcon;
|
|
9
|
-
* @param iconColor string;
|
|
10
|
-
* @param iconPosition 'left' | 'right';
|
|
11
|
-
* @param nativeType 'button'| 'submit'| 'reset' | undefined
|
|
12
|
-
*/
|
|
13
|
-
export declare type TButtonProps = {
|
|
14
|
-
fullWidth?: boolean;
|
|
15
|
-
disabled?: boolean;
|
|
16
|
-
type?: 'primary' | 'secondary' | 'alternative' | 'error' | 'empty';
|
|
17
|
-
size?: 'large' | 'medium' | 'small';
|
|
18
|
-
icon?: TIcon;
|
|
19
|
-
iconColor?: string;
|
|
20
|
-
iconPosition?: 'left' | 'right';
|
|
21
|
-
nativeType?: 'button' | 'submit' | 'reset';
|
|
22
|
-
};
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @param fullWidth boolean;
|
|
5
|
+
* @param disabled boolean;
|
|
6
|
+
* @param type 'primary' | 'secondary' | 'alternative' | 'error' | 'empty';
|
|
7
|
+
* @param size 'large' | 'medium' | 'small';
|
|
8
|
+
* @param icon IIcon;
|
|
9
|
+
* @param iconColor string;
|
|
10
|
+
* @param iconPosition 'left' | 'right';
|
|
11
|
+
* @param nativeType 'button'| 'submit'| 'reset' | undefined
|
|
12
|
+
*/
|
|
13
|
+
export declare type TButtonProps = {
|
|
14
|
+
fullWidth?: boolean;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
type?: 'primary' | 'secondary' | 'alternative' | 'error' | 'empty';
|
|
17
|
+
size?: 'large' | 'medium' | 'small';
|
|
18
|
+
icon?: TIcon;
|
|
19
|
+
iconColor?: string;
|
|
20
|
+
iconPosition?: 'left' | 'right';
|
|
21
|
+
nativeType?: 'button' | 'submit' | 'reset';
|
|
22
|
+
};
|