@factoringplus/pl-components-pack-v3 1.8.22-pre-new-project-pre-08 → 1.8.22-pre-new-project-pre-10
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/{crypto-pro-d3ed335f.js → crypto-pro-40e0b9bb.js} +1 -1
- package/dist/{crypto-pro-daafdf99.cjs → crypto-pro-ce1e347f.cjs} +1 -1
- package/dist/{entry-c0591c46.js → entry-b8897488.js} +15151 -15164
- package/dist/entry-d98cda41.cjs +111 -0
- package/dist/pl-components-pack-v3.cjs.js +1 -1
- package/dist/pl-components-pack-v3.es.js +56 -54
- package/dist/src/components/basic/pl-button/components/PlButtonSpinner.vue.d.ts +17 -0
- package/dist/src/components/basic/pl-button/index.d.ts +86 -0
- package/dist/src/components/basic/pl-button/pl-button.vue.d.ts +6 -0
- package/dist/src/components/basic/pl-button/types/index.d.ts +8 -0
- package/dist/src/components/basic/pl-button-dropdown/index.d.ts +295 -0
- package/dist/src/components/basic/pl-button-dropdown/pl-button-dropdown.vue.d.ts +73 -0
- package/dist/src/components/basic/pl-dialog/pl-dialog-plus.vue.d.ts +6 -2
- package/dist/src/components/basic/pl-scrollbar/pl-scrollbar.vue.d.ts +2 -1
- package/dist/src/components/components.d.ts +3 -1
- package/dist/src/components/data/pl-table-plus/pl-table-plus.vue.d.ts +0 -3
- package/dist/src/components/data/pl-text-cell/index.d.ts +9 -9
- package/dist/src/components/data/pl-text-cell/pl-text-cell.vue.d.ts +1 -1
- package/dist/src/components/deprecated/pl-date-picker/pl-date-picker-range.vue.d.ts +2 -2
- package/dist/src/components/deprecated/pl-dialog/pl-dialog.vue.d.ts +2 -2
- package/dist/src/components/deprecated/pl-select/pl-select.vue.d.ts +1 -1
- package/dist/src/components/deprecated/pl-upload/pl-upload.vue.d.ts +1 -1
- package/dist/src/components/deprecated/pl-upload-legacy/pl-upload-legacy.vue.d.ts +1 -1
- package/dist/src/components/entry.d.ts +2 -1
- package/dist/src/components/form/pl-autocomplete/components/pl-autocomplete-dropdown.vue.d.ts +1 -2
- package/dist/src/components/form/pl-autocomplete/components/pl-default.vue.d.ts +1 -1
- package/dist/src/components/form/pl-autocomplete/pl-autocompete.vue.d.ts +5 -5
- package/dist/src/components/form/pl-autocomplete/types/index.d.ts +2 -1
- package/dist/src/components/form/pl-date-picker-plus/common/components/PlDatePickerRangeWrapper.vue.d.ts +2 -4
- package/dist/src/components/form/pl-date-picker-plus/common/components/PlDatePickerWrapper.vue.d.ts +1 -1
- package/dist/src/components/form/pl-date-picker-plus/common/types/index.d.ts +2 -2
- package/dist/src/components/form/pl-date-picker-plus/pl-date-picker-plus/pl-date-picker-plus.vue.d.ts +1 -1
- package/dist/src/components/form/pl-date-picker-plus/pl-date-picker-range-plus/pl-date-picker-range-plus.vue.d.ts +1 -1
- package/dist/src/components/form/pl-input-plus/components/pl-currency.vue.d.ts +1 -1
- package/dist/src/components/form/pl-input-plus/components/pl-default.vue.d.ts +1 -1
- package/dist/src/components/form/pl-input-plus/index.d.ts +36 -36
- package/dist/src/components/form/pl-input-plus/pl-input-plus.vue.d.ts +4 -4
- package/dist/src/components/form/pl-multi-select/components/pl-default.vue.d.ts +1 -1
- package/dist/src/components/form/pl-multi-select/components/pl-multi-select-dropdown.vue.d.ts +1 -2
- package/dist/src/components/form/pl-multi-select/pl-multi-select.vue.d.ts +4 -4
- package/dist/src/components/form/pl-multi-select/types/index.d.ts +2 -1
- package/dist/src/components/form/pl-radio/pl-radio.vue.d.ts +6 -6
- package/dist/src/components/form/pl-select-plus/components/pl-default.vue.d.ts +1 -1
- package/dist/src/components/form/pl-select-plus/components/pl-select-dropdown.vue.d.ts +1 -4
- package/dist/src/components/form/pl-select-plus/pl-select-plus.vue.d.ts +5 -5
- package/dist/src/components/form/pl-select-plus/types/index.d.ts +3 -1
- package/dist/src/components/form/pl-upload-plus/pl-upload-plus.vue.d.ts +1 -1
- package/dist/src/components/shared/pl-dropdown/pl-dropdown.vue.d.ts +45 -0
- package/dist/src/components/shared/pl-option/pl-option.vue.d.ts +5 -5
- package/dist/src/utils/uniqId.d.ts +2 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/entry-e4b52c58.cjs +0 -111
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./entry-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./entry-d98cda41.cjs");require("vue");exports.PlAutocomplete=l.PlAutocomplete;exports.PlButton=l.PlButton;exports.PlButtonDropdown=l.PlButtonDropdown;exports.PlCard=l.PlCard;exports.PlCheckbox=l.PlCheckbox;exports.PlCheckboxPlus=l.PlCheckboxPlus;exports.PlCurrency=l.PlCurrency;exports.PlDatePickerLegacyPlugin=l.PlDatePickerLegacyPlugin;exports.PlDatePickerPlugin=l.PlDatePickerPlugin;exports.PlDatePickerPlusPlugin=l.PlDatePickerPlusPlugin;exports.PlDialog=l.PlDialog$1;exports.PlDialogPlus=l.PlDialog;exports.PlDirectives=l.PlDirectives;exports.PlForm=l.PlForm;exports.PlIcon=l.PlIcon;exports.PlInput=l.PlInput;exports.PlInputPlus=l.PlInputPlus;exports.PlLink=l.PlLink;exports.PlMarkText=l.PlMarkText;exports.PlMultiSelect=l.PlMultiSelect;exports.PlMultitab=l.PlMultitab;exports.PlNavButton=l.PlNavButton;exports.PlNavigation=l.PlNavigation;exports.PlNotification=l.PlNotification;exports.PlOnboarding=l.PlOnboarding;exports.PlPagination=l.PlPagination;exports.PlRadio=l.PlRadio;exports.PlScrollbar=l.PlScrollbar;exports.PlSelect=l.PlSelect;exports.PlSelectPlus=l.PlSelectPlus;exports.PlSidebarItem=l.PlSidebarItem;exports.PlSigning=l.PlSigning;exports.PlSkeleton=l.PlSkeleton;exports.PlStepper=l.PlStepper;exports.PlSuggestions=l.PlSuggestions;exports.PlSwitch=l.PlSwitch;exports.PlTabPane=l.PlTabPane;exports.PlTablePlugin=l.PlTablePlugin;exports.PlTablePlus=l.PlTablePlus;exports.PlTabs=l.PlTabs;exports.PlTagsChips=l.PlTagsChips;exports.PlTextCell=l.PlTextCell;exports.PlTextPlugin=l.PlTextPlugin;exports.PlTooltip=l.PlTooltip;exports.PlTooltipPlus=l.PlToolTipPlus;exports.PlUpload=l.PlUpload;exports.PlUploadLegacy=l.PlUploadLegacy;exports.PlUploadPlus=l.PlUploadPlus;exports.ScreenSizes=l.ScreenSizes;exports.TLogo=l.TLogo;exports.apiJs=l.ApiJs;exports.cancelAllApiRequests=l.cancelAllApiRequests;exports.dadataParser=l.dadataParser;exports.dataParser=l.dadataParser;exports.declOfNum=l.declOfNum;exports.deepSet=l.deepSet;exports.filters=l.filters;exports.formatCurrency=l.formatCurrency;exports.formatDate=l.formatDate;exports.install=l.install;exports.isEqual=l.isEqual;exports.loader=l.loadingAndSetup;exports.plLoading=l.plLoading;exports.uniqId=l.uniqId;
|
|
@@ -1,66 +1,68 @@
|
|
|
1
|
-
import { n as P, k as e,
|
|
1
|
+
import { n as P, k as e, a8 as t, o as i, q as o, r as n, m as r, t as u, s as c, v as g, x as p, w as d, P as S, y as T, z as b, B as k, C as m, D, _ as C, Z as f, E as x, a4 as h, a3 as I, K as L, a2 as y, $ as N, F as q, G as v, H as A, I as B, a5 as M, a0 as U, J as w, L as O, M as R, N as z, O as E, Q as F, R as J, S as j, a1 as G, a7 as H, T as K, U as Q, Y as V, V as W, W as X, X as Y, a9 as Z, a6 as _, A as $, j as aa, h as la, h as sa, d as Pa, e as ea, a as ta, f as ia, c as oa, i as na, b as ra, l as ua, p as ca, u as ga } from "./entry-b8897488.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
export {
|
|
4
4
|
P as PlAutocomplete,
|
|
5
5
|
e as PlButton,
|
|
6
|
-
t as
|
|
7
|
-
i as
|
|
8
|
-
o as
|
|
9
|
-
n as
|
|
10
|
-
r as
|
|
11
|
-
u as
|
|
12
|
-
c as
|
|
13
|
-
g as
|
|
14
|
-
p as
|
|
15
|
-
d as
|
|
16
|
-
S as
|
|
17
|
-
T as
|
|
18
|
-
b as
|
|
19
|
-
k as
|
|
20
|
-
m as
|
|
6
|
+
t as PlButtonDropdown,
|
|
7
|
+
i as PlCard,
|
|
8
|
+
o as PlCheckbox,
|
|
9
|
+
n as PlCheckboxPlus,
|
|
10
|
+
r as PlCurrency,
|
|
11
|
+
u as PlDatePickerLegacyPlugin,
|
|
12
|
+
c as PlDatePickerPlugin,
|
|
13
|
+
g as PlDatePickerPlusPlugin,
|
|
14
|
+
p as PlDialog,
|
|
15
|
+
d as PlDialogPlus,
|
|
16
|
+
S as PlDirectives,
|
|
17
|
+
T as PlForm,
|
|
18
|
+
b as PlIcon,
|
|
19
|
+
k as PlInput,
|
|
20
|
+
m as PlInputPlus,
|
|
21
|
+
D as PlLink,
|
|
21
22
|
C as PlMarkText,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
f as PlMultiSelect,
|
|
24
|
+
x as PlMultitab,
|
|
25
|
+
h as PlNavButton,
|
|
26
|
+
I as PlNavigation,
|
|
26
27
|
L as PlNotification,
|
|
27
28
|
y as PlOnboarding,
|
|
28
|
-
|
|
29
|
-
|
|
29
|
+
N as PlPagination,
|
|
30
|
+
q as PlRadio,
|
|
30
31
|
v as PlScrollbar,
|
|
31
32
|
A as PlSelect,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
B as PlSelectPlus,
|
|
34
|
+
M as PlSidebarItem,
|
|
35
|
+
U as PlSigning,
|
|
36
|
+
w as PlSkeleton,
|
|
36
37
|
O as PlStepper,
|
|
37
38
|
R as PlSuggestions,
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
39
|
+
z as PlSwitch,
|
|
40
|
+
E as PlTabPane,
|
|
41
|
+
F as PlTablePlugin,
|
|
42
|
+
J as PlTablePlus,
|
|
43
|
+
j as PlTabs,
|
|
44
|
+
G as PlTagsChips,
|
|
45
|
+
H as PlTextCell,
|
|
46
|
+
K as PlTextPlugin,
|
|
47
|
+
Q as PlTooltip,
|
|
48
|
+
V as PlTooltipPlus,
|
|
49
|
+
W as PlUpload,
|
|
50
|
+
X as PlUploadLegacy,
|
|
51
|
+
Y as PlUploadPlus,
|
|
52
|
+
Z as ScreenSizes,
|
|
53
|
+
_ as TLogo,
|
|
54
|
+
$ as apiJs,
|
|
55
|
+
aa as cancelAllApiRequests,
|
|
56
|
+
la as dadataParser,
|
|
57
|
+
sa as dataParser,
|
|
58
|
+
Pa as declOfNum,
|
|
59
|
+
ea as deepSet,
|
|
60
|
+
ta as filters,
|
|
61
|
+
ia as formatCurrency,
|
|
62
|
+
oa as formatDate,
|
|
63
|
+
na as install,
|
|
64
|
+
ra as isEqual,
|
|
65
|
+
ua as loader,
|
|
66
|
+
ca as plLoading,
|
|
67
|
+
ga as uniqId
|
|
66
68
|
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
type: 'primary' | 'alternative' | 'secondary' | 'error' | 'empty';
|
|
3
|
+
size: 'large' | 'medium' | 'small';
|
|
4
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
+
type: 'primary' | 'alternative' | 'secondary' | 'error' | 'empty';
|
|
6
|
+
size: 'large' | 'medium' | 'small';
|
|
7
|
+
}>>>, {}, {}>;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
10
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
11
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
12
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
13
|
+
} : {
|
|
14
|
+
type: import('vue').PropType<T[K]>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -34,6 +34,26 @@ export declare const PlButton: import('../../../install-function').SFCInstallWit
|
|
|
34
34
|
type: import('vue').PropType<"button" | "submit" | "reset">;
|
|
35
35
|
default: string;
|
|
36
36
|
};
|
|
37
|
+
loading: {
|
|
38
|
+
type: import('vue').PropType<boolean>;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
41
|
+
options: {
|
|
42
|
+
type: import('vue').PropType<any>;
|
|
43
|
+
};
|
|
44
|
+
modelValue: {
|
|
45
|
+
type: import('vue').PropType<any>;
|
|
46
|
+
};
|
|
47
|
+
iconClass: {
|
|
48
|
+
type: import('vue').PropType<string>;
|
|
49
|
+
default: string;
|
|
50
|
+
};
|
|
51
|
+
noIcon: {
|
|
52
|
+
type: import('vue').PropType<boolean>;
|
|
53
|
+
};
|
|
54
|
+
sheetTitle: {
|
|
55
|
+
type: import('vue').PropType<string>;
|
|
56
|
+
};
|
|
37
57
|
}>> & {
|
|
38
58
|
onClick?: (...args: any[]) => any;
|
|
39
59
|
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -71,6 +91,26 @@ export declare const PlButton: import('../../../install-function').SFCInstallWit
|
|
|
71
91
|
type: import('vue').PropType<"button" | "submit" | "reset">;
|
|
72
92
|
default: string;
|
|
73
93
|
};
|
|
94
|
+
loading: {
|
|
95
|
+
type: import('vue').PropType<boolean>;
|
|
96
|
+
default: boolean;
|
|
97
|
+
};
|
|
98
|
+
options: {
|
|
99
|
+
type: import('vue').PropType<any>;
|
|
100
|
+
};
|
|
101
|
+
modelValue: {
|
|
102
|
+
type: import('vue').PropType<any>;
|
|
103
|
+
};
|
|
104
|
+
iconClass: {
|
|
105
|
+
type: import('vue').PropType<string>;
|
|
106
|
+
default: string;
|
|
107
|
+
};
|
|
108
|
+
noIcon: {
|
|
109
|
+
type: import('vue').PropType<boolean>;
|
|
110
|
+
};
|
|
111
|
+
sheetTitle: {
|
|
112
|
+
type: import('vue').PropType<string>;
|
|
113
|
+
};
|
|
74
114
|
}>> & {
|
|
75
115
|
onClick?: (...args: any[]) => any;
|
|
76
116
|
}, {
|
|
@@ -82,6 +122,8 @@ export declare const PlButton: import('../../../install-function').SFCInstallWit
|
|
|
82
122
|
iconColor: string;
|
|
83
123
|
iconPosition: "left" | "right";
|
|
84
124
|
nativeType: "button" | "submit" | "reset";
|
|
125
|
+
loading: boolean;
|
|
126
|
+
iconClass: string;
|
|
85
127
|
}, true, {}, {}, {
|
|
86
128
|
P: {};
|
|
87
129
|
B: {};
|
|
@@ -122,6 +164,26 @@ export declare const PlButton: import('../../../install-function').SFCInstallWit
|
|
|
122
164
|
type: import('vue').PropType<"button" | "submit" | "reset">;
|
|
123
165
|
default: string;
|
|
124
166
|
};
|
|
167
|
+
loading: {
|
|
168
|
+
type: import('vue').PropType<boolean>;
|
|
169
|
+
default: boolean;
|
|
170
|
+
};
|
|
171
|
+
options: {
|
|
172
|
+
type: import('vue').PropType<any>;
|
|
173
|
+
};
|
|
174
|
+
modelValue: {
|
|
175
|
+
type: import('vue').PropType<any>;
|
|
176
|
+
};
|
|
177
|
+
iconClass: {
|
|
178
|
+
type: import('vue').PropType<string>;
|
|
179
|
+
default: string;
|
|
180
|
+
};
|
|
181
|
+
noIcon: {
|
|
182
|
+
type: import('vue').PropType<boolean>;
|
|
183
|
+
};
|
|
184
|
+
sheetTitle: {
|
|
185
|
+
type: import('vue').PropType<string>;
|
|
186
|
+
};
|
|
125
187
|
}>> & {
|
|
126
188
|
onClick?: (...args: any[]) => any;
|
|
127
189
|
}, {}, {}, {}, {}, {
|
|
@@ -133,6 +195,8 @@ export declare const PlButton: import('../../../install-function').SFCInstallWit
|
|
|
133
195
|
iconColor: string;
|
|
134
196
|
iconPosition: "left" | "right";
|
|
135
197
|
nativeType: "button" | "submit" | "reset";
|
|
198
|
+
loading: boolean;
|
|
199
|
+
iconClass: string;
|
|
136
200
|
}>;
|
|
137
201
|
__isFragment?: never;
|
|
138
202
|
__isTeleport?: never;
|
|
@@ -170,6 +234,26 @@ export declare const PlButton: import('../../../install-function').SFCInstallWit
|
|
|
170
234
|
type: import('vue').PropType<"button" | "submit" | "reset">;
|
|
171
235
|
default: string;
|
|
172
236
|
};
|
|
237
|
+
loading: {
|
|
238
|
+
type: import('vue').PropType<boolean>;
|
|
239
|
+
default: boolean;
|
|
240
|
+
};
|
|
241
|
+
options: {
|
|
242
|
+
type: import('vue').PropType<any>;
|
|
243
|
+
};
|
|
244
|
+
modelValue: {
|
|
245
|
+
type: import('vue').PropType<any>;
|
|
246
|
+
};
|
|
247
|
+
iconClass: {
|
|
248
|
+
type: import('vue').PropType<string>;
|
|
249
|
+
default: string;
|
|
250
|
+
};
|
|
251
|
+
noIcon: {
|
|
252
|
+
type: import('vue').PropType<boolean>;
|
|
253
|
+
};
|
|
254
|
+
sheetTitle: {
|
|
255
|
+
type: import('vue').PropType<string>;
|
|
256
|
+
};
|
|
173
257
|
}>> & {
|
|
174
258
|
onClick?: (...args: any[]) => any;
|
|
175
259
|
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -183,6 +267,8 @@ export declare const PlButton: import('../../../install-function').SFCInstallWit
|
|
|
183
267
|
iconColor: string;
|
|
184
268
|
iconPosition: "left" | "right";
|
|
185
269
|
nativeType: "button" | "submit" | "reset";
|
|
270
|
+
loading: boolean;
|
|
271
|
+
iconClass: string;
|
|
186
272
|
}, {}, string, {}> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
187
273
|
$slots: {
|
|
188
274
|
default?(_: {}): any;
|
|
@@ -12,6 +12,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
12
12
|
iconColor: string;
|
|
13
13
|
iconPosition: string;
|
|
14
14
|
nativeType: string;
|
|
15
|
+
loading: boolean;
|
|
16
|
+
iconClass: string;
|
|
15
17
|
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
18
|
click: (...args: any[]) => void;
|
|
17
19
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TButtonProps>, {
|
|
@@ -26,6 +28,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
26
28
|
iconColor: string;
|
|
27
29
|
iconPosition: string;
|
|
28
30
|
nativeType: string;
|
|
31
|
+
loading: boolean;
|
|
32
|
+
iconClass: string;
|
|
29
33
|
}>>> & {
|
|
30
34
|
onClick?: (...args: any[]) => any;
|
|
31
35
|
}, {
|
|
@@ -37,6 +41,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
37
41
|
iconColor: string;
|
|
38
42
|
iconPosition: "left" | "right";
|
|
39
43
|
nativeType: "button" | "submit" | "reset";
|
|
44
|
+
loading: boolean;
|
|
45
|
+
iconClass: string;
|
|
40
46
|
}, {}>, {
|
|
41
47
|
default?(_: {}): any;
|
|
42
48
|
}>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { TIcon } from '../../../shared/pl-icon';
|
|
2
|
+
import { IOption } from '../../../form/pl-select-plus/types';
|
|
2
3
|
|
|
3
4
|
/**
|
|
4
5
|
* @param fullWidth boolean;
|
|
@@ -9,6 +10,7 @@ import { TIcon } from '../../../shared/pl-icon';
|
|
|
9
10
|
* @param iconColor string;
|
|
10
11
|
* @param iconPosition 'left' | 'right';
|
|
11
12
|
* @param nativeType 'button'| 'submit'| 'reset' | undefined
|
|
13
|
+
* @param loading boolean;
|
|
12
14
|
*/
|
|
13
15
|
export declare type TButtonProps = {
|
|
14
16
|
fullWidth?: boolean;
|
|
@@ -19,4 +21,10 @@ export declare type TButtonProps = {
|
|
|
19
21
|
iconColor?: string;
|
|
20
22
|
iconPosition?: 'left' | 'right';
|
|
21
23
|
nativeType?: 'button' | 'submit' | 'reset';
|
|
24
|
+
loading?: boolean;
|
|
25
|
+
options?: IOption[] | any;
|
|
26
|
+
modelValue?: any;
|
|
27
|
+
iconClass?: string;
|
|
28
|
+
noIcon?: boolean;
|
|
29
|
+
sheetTitle?: string;
|
|
22
30
|
};
|
|
@@ -0,0 +1,295 @@
|
|
|
1
|
+
export declare const PlButtonDropdown: import('../../../install-function').SFCInstallWithContext<{
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstance<Readonly<import('vue').ExtractPropTypes<{
|
|
3
|
+
size: {
|
|
4
|
+
type: import('vue').PropType<"small" | "large" | "medium">;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
type: {
|
|
8
|
+
type: import('vue').PropType<"primary" | "secondary" | "alternative" | "error" | "empty">;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
fullWidth: {
|
|
12
|
+
type: import('vue').PropType<boolean>;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
disabled: {
|
|
16
|
+
type: import('vue').PropType<boolean>;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
icon: {
|
|
20
|
+
type: import('vue').PropType<import('../../components').TIcon>;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
iconColor: {
|
|
24
|
+
type: import('vue').PropType<string>;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
iconPosition: {
|
|
28
|
+
type: import('vue').PropType<"left" | "right">;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
nativeType: {
|
|
32
|
+
type: import('vue').PropType<"button" | "submit" | "reset">;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
loading: {
|
|
36
|
+
type: import('vue').PropType<boolean>;
|
|
37
|
+
};
|
|
38
|
+
options: {
|
|
39
|
+
type: import('vue').PropType<any>;
|
|
40
|
+
default: () => any[];
|
|
41
|
+
};
|
|
42
|
+
modelValue: {
|
|
43
|
+
type: import('vue').PropType<any>;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
iconClass: {
|
|
47
|
+
type: import('vue').PropType<string>;
|
|
48
|
+
};
|
|
49
|
+
noIcon: {
|
|
50
|
+
type: import('vue').PropType<boolean>;
|
|
51
|
+
default: boolean;
|
|
52
|
+
};
|
|
53
|
+
sheetTitle: {
|
|
54
|
+
type: import('vue').PropType<string>;
|
|
55
|
+
default: string;
|
|
56
|
+
};
|
|
57
|
+
}>> & {
|
|
58
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
59
|
+
"onSelect-value"?: (...args: any[]) => any;
|
|
60
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
61
|
+
"update:modelValue": (...args: any[]) => void;
|
|
62
|
+
"select-value": (...args: any[]) => void;
|
|
63
|
+
}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
|
|
64
|
+
size: {
|
|
65
|
+
type: import('vue').PropType<"small" | "large" | "medium">;
|
|
66
|
+
default: string;
|
|
67
|
+
};
|
|
68
|
+
type: {
|
|
69
|
+
type: import('vue').PropType<"primary" | "secondary" | "alternative" | "error" | "empty">;
|
|
70
|
+
default: string;
|
|
71
|
+
};
|
|
72
|
+
fullWidth: {
|
|
73
|
+
type: import('vue').PropType<boolean>;
|
|
74
|
+
default: boolean;
|
|
75
|
+
};
|
|
76
|
+
disabled: {
|
|
77
|
+
type: import('vue').PropType<boolean>;
|
|
78
|
+
default: boolean;
|
|
79
|
+
};
|
|
80
|
+
icon: {
|
|
81
|
+
type: import('vue').PropType<import('../../components').TIcon>;
|
|
82
|
+
default: string;
|
|
83
|
+
};
|
|
84
|
+
iconColor: {
|
|
85
|
+
type: import('vue').PropType<string>;
|
|
86
|
+
default: string;
|
|
87
|
+
};
|
|
88
|
+
iconPosition: {
|
|
89
|
+
type: import('vue').PropType<"left" | "right">;
|
|
90
|
+
default: string;
|
|
91
|
+
};
|
|
92
|
+
nativeType: {
|
|
93
|
+
type: import('vue').PropType<"button" | "submit" | "reset">;
|
|
94
|
+
default: string;
|
|
95
|
+
};
|
|
96
|
+
loading: {
|
|
97
|
+
type: import('vue').PropType<boolean>;
|
|
98
|
+
};
|
|
99
|
+
options: {
|
|
100
|
+
type: import('vue').PropType<any>;
|
|
101
|
+
default: () => any[];
|
|
102
|
+
};
|
|
103
|
+
modelValue: {
|
|
104
|
+
type: import('vue').PropType<any>;
|
|
105
|
+
default: string;
|
|
106
|
+
};
|
|
107
|
+
iconClass: {
|
|
108
|
+
type: import('vue').PropType<string>;
|
|
109
|
+
};
|
|
110
|
+
noIcon: {
|
|
111
|
+
type: import('vue').PropType<boolean>;
|
|
112
|
+
default: boolean;
|
|
113
|
+
};
|
|
114
|
+
sheetTitle: {
|
|
115
|
+
type: import('vue').PropType<string>;
|
|
116
|
+
default: string;
|
|
117
|
+
};
|
|
118
|
+
}>> & {
|
|
119
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
120
|
+
"onSelect-value"?: (...args: any[]) => any;
|
|
121
|
+
}, {
|
|
122
|
+
size: "small" | "large" | "medium";
|
|
123
|
+
type: "primary" | "secondary" | "alternative" | "error" | "empty";
|
|
124
|
+
fullWidth: boolean;
|
|
125
|
+
disabled: boolean;
|
|
126
|
+
icon: import('../../components').TIcon;
|
|
127
|
+
iconColor: string;
|
|
128
|
+
iconPosition: "left" | "right";
|
|
129
|
+
nativeType: "button" | "submit" | "reset";
|
|
130
|
+
options: any;
|
|
131
|
+
modelValue: any;
|
|
132
|
+
noIcon: boolean;
|
|
133
|
+
sheetTitle: string;
|
|
134
|
+
}, true, {}, {}, {
|
|
135
|
+
P: {};
|
|
136
|
+
B: {};
|
|
137
|
+
D: {};
|
|
138
|
+
C: {};
|
|
139
|
+
M: {};
|
|
140
|
+
Defaults: {};
|
|
141
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
142
|
+
size: {
|
|
143
|
+
type: import('vue').PropType<"small" | "large" | "medium">;
|
|
144
|
+
default: string;
|
|
145
|
+
};
|
|
146
|
+
type: {
|
|
147
|
+
type: import('vue').PropType<"primary" | "secondary" | "alternative" | "error" | "empty">;
|
|
148
|
+
default: string;
|
|
149
|
+
};
|
|
150
|
+
fullWidth: {
|
|
151
|
+
type: import('vue').PropType<boolean>;
|
|
152
|
+
default: boolean;
|
|
153
|
+
};
|
|
154
|
+
disabled: {
|
|
155
|
+
type: import('vue').PropType<boolean>;
|
|
156
|
+
default: boolean;
|
|
157
|
+
};
|
|
158
|
+
icon: {
|
|
159
|
+
type: import('vue').PropType<import('../../components').TIcon>;
|
|
160
|
+
default: string;
|
|
161
|
+
};
|
|
162
|
+
iconColor: {
|
|
163
|
+
type: import('vue').PropType<string>;
|
|
164
|
+
default: string;
|
|
165
|
+
};
|
|
166
|
+
iconPosition: {
|
|
167
|
+
type: import('vue').PropType<"left" | "right">;
|
|
168
|
+
default: string;
|
|
169
|
+
};
|
|
170
|
+
nativeType: {
|
|
171
|
+
type: import('vue').PropType<"button" | "submit" | "reset">;
|
|
172
|
+
default: string;
|
|
173
|
+
};
|
|
174
|
+
loading: {
|
|
175
|
+
type: import('vue').PropType<boolean>;
|
|
176
|
+
};
|
|
177
|
+
options: {
|
|
178
|
+
type: import('vue').PropType<any>;
|
|
179
|
+
default: () => any[];
|
|
180
|
+
};
|
|
181
|
+
modelValue: {
|
|
182
|
+
type: import('vue').PropType<any>;
|
|
183
|
+
default: string;
|
|
184
|
+
};
|
|
185
|
+
iconClass: {
|
|
186
|
+
type: import('vue').PropType<string>;
|
|
187
|
+
};
|
|
188
|
+
noIcon: {
|
|
189
|
+
type: import('vue').PropType<boolean>;
|
|
190
|
+
default: boolean;
|
|
191
|
+
};
|
|
192
|
+
sheetTitle: {
|
|
193
|
+
type: import('vue').PropType<string>;
|
|
194
|
+
default: string;
|
|
195
|
+
};
|
|
196
|
+
}>> & {
|
|
197
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
198
|
+
"onSelect-value"?: (...args: any[]) => any;
|
|
199
|
+
}, {}, {}, {}, {}, {
|
|
200
|
+
size: "small" | "large" | "medium";
|
|
201
|
+
type: "primary" | "secondary" | "alternative" | "error" | "empty";
|
|
202
|
+
fullWidth: boolean;
|
|
203
|
+
disabled: boolean;
|
|
204
|
+
icon: import('../../components').TIcon;
|
|
205
|
+
iconColor: string;
|
|
206
|
+
iconPosition: "left" | "right";
|
|
207
|
+
nativeType: "button" | "submit" | "reset";
|
|
208
|
+
options: any;
|
|
209
|
+
modelValue: any;
|
|
210
|
+
noIcon: boolean;
|
|
211
|
+
sheetTitle: string;
|
|
212
|
+
}>;
|
|
213
|
+
__isFragment?: never;
|
|
214
|
+
__isTeleport?: never;
|
|
215
|
+
__isSuspense?: never;
|
|
216
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
217
|
+
size: {
|
|
218
|
+
type: import('vue').PropType<"small" | "large" | "medium">;
|
|
219
|
+
default: string;
|
|
220
|
+
};
|
|
221
|
+
type: {
|
|
222
|
+
type: import('vue').PropType<"primary" | "secondary" | "alternative" | "error" | "empty">;
|
|
223
|
+
default: string;
|
|
224
|
+
};
|
|
225
|
+
fullWidth: {
|
|
226
|
+
type: import('vue').PropType<boolean>;
|
|
227
|
+
default: boolean;
|
|
228
|
+
};
|
|
229
|
+
disabled: {
|
|
230
|
+
type: import('vue').PropType<boolean>;
|
|
231
|
+
default: boolean;
|
|
232
|
+
};
|
|
233
|
+
icon: {
|
|
234
|
+
type: import('vue').PropType<import('../../components').TIcon>;
|
|
235
|
+
default: string;
|
|
236
|
+
};
|
|
237
|
+
iconColor: {
|
|
238
|
+
type: import('vue').PropType<string>;
|
|
239
|
+
default: string;
|
|
240
|
+
};
|
|
241
|
+
iconPosition: {
|
|
242
|
+
type: import('vue').PropType<"left" | "right">;
|
|
243
|
+
default: string;
|
|
244
|
+
};
|
|
245
|
+
nativeType: {
|
|
246
|
+
type: import('vue').PropType<"button" | "submit" | "reset">;
|
|
247
|
+
default: string;
|
|
248
|
+
};
|
|
249
|
+
loading: {
|
|
250
|
+
type: import('vue').PropType<boolean>;
|
|
251
|
+
};
|
|
252
|
+
options: {
|
|
253
|
+
type: import('vue').PropType<any>;
|
|
254
|
+
default: () => any[];
|
|
255
|
+
};
|
|
256
|
+
modelValue: {
|
|
257
|
+
type: import('vue').PropType<any>;
|
|
258
|
+
default: string;
|
|
259
|
+
};
|
|
260
|
+
iconClass: {
|
|
261
|
+
type: import('vue').PropType<string>;
|
|
262
|
+
};
|
|
263
|
+
noIcon: {
|
|
264
|
+
type: import('vue').PropType<boolean>;
|
|
265
|
+
default: boolean;
|
|
266
|
+
};
|
|
267
|
+
sheetTitle: {
|
|
268
|
+
type: import('vue').PropType<string>;
|
|
269
|
+
default: string;
|
|
270
|
+
};
|
|
271
|
+
}>> & {
|
|
272
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
273
|
+
"onSelect-value"?: (...args: any[]) => any;
|
|
274
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
275
|
+
"update:modelValue": (...args: any[]) => void;
|
|
276
|
+
"select-value": (...args: any[]) => void;
|
|
277
|
+
}, string, {
|
|
278
|
+
size: "small" | "large" | "medium";
|
|
279
|
+
type: "primary" | "secondary" | "alternative" | "error" | "empty";
|
|
280
|
+
fullWidth: boolean;
|
|
281
|
+
disabled: boolean;
|
|
282
|
+
icon: import('../../components').TIcon;
|
|
283
|
+
iconColor: string;
|
|
284
|
+
iconPosition: "left" | "right";
|
|
285
|
+
nativeType: "button" | "submit" | "reset";
|
|
286
|
+
options: any;
|
|
287
|
+
modelValue: any;
|
|
288
|
+
noIcon: boolean;
|
|
289
|
+
sheetTitle: string;
|
|
290
|
+
}, {}, string, {}> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
291
|
+
$slots: {
|
|
292
|
+
default?(_: {}): any;
|
|
293
|
+
};
|
|
294
|
+
})>;
|
|
295
|
+
export default PlButtonDropdown;
|