@factoringplus/pl-components-pack-v3 1.0.6-pre-01 → 1.0.6-pre-02
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 +1 -3
- package/dist/components/button/pl-button.vue.d.ts +14 -11
- package/dist/components/button/types/index.d.ts +1 -1
- package/dist/components/pl-dialog/pl-dialog.stories.d.ts +42 -42
- package/dist/components/pl-dialog/pl-dialog.vue.d.ts +1 -1
- package/dist/components/pl-icon/pl-icon.vue.d.ts +12 -10
- package/dist/pl-components-pack-v3.es.js +1668 -1708
- package/dist/pl-components-pack-v3.umd.js +22 -22
- package/dist/style.css +1 -1
- package/package.json +2 -1
|
@@ -1,8 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
interface IButtonProps {
|
|
2
|
+
fullWidth?: boolean;
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
type?: 'primary' | 'secondary' | 'alternative' | 'error' | 'empty';
|
|
5
|
+
size?: 'small' | 'large' | 'medium';
|
|
6
|
+
icon?: string;
|
|
7
|
+
iconColor?: string;
|
|
8
|
+
iconPosition?: 'left' | 'right';
|
|
9
|
+
nativeType?: 'button';
|
|
10
|
+
}
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IButtonProps>, {
|
|
6
12
|
fullWidth: boolean;
|
|
7
13
|
disabled: boolean;
|
|
8
14
|
type: string;
|
|
@@ -13,10 +19,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
13
19
|
nativeType: string;
|
|
14
20
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
21
|
click: (...args: any[]) => void;
|
|
16
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<
|
|
17
|
-
/**
|
|
18
|
-
* Выставляет ширину кнопки в 100%
|
|
19
|
-
*/
|
|
22
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IButtonProps>, {
|
|
20
23
|
fullWidth: boolean;
|
|
21
24
|
disabled: boolean;
|
|
22
25
|
type: string;
|
|
@@ -29,13 +32,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
29
32
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
30
33
|
}, {
|
|
31
34
|
type: "primary" | "secondary" | "alternative" | "error" | "empty";
|
|
32
|
-
icon:
|
|
35
|
+
icon: string;
|
|
33
36
|
fullWidth: boolean;
|
|
34
37
|
disabled: boolean;
|
|
35
38
|
size: "small" | "large" | "medium";
|
|
36
39
|
iconColor: string;
|
|
37
40
|
iconPosition: "left" | "right";
|
|
38
|
-
nativeType: "button"
|
|
41
|
+
nativeType: "button";
|
|
39
42
|
}, {}>, {
|
|
40
43
|
default?(_: {}): any;
|
|
41
44
|
}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TIcon } from '../../pl-icon/types';
|
|
2
2
|
/**
|
|
3
|
-
* @
|
|
3
|
+
* @property {boolean} [fullWidth] boolean;
|
|
4
4
|
* @param disabled boolean;
|
|
5
5
|
* @param type 'primary' | 'secondary' | 'alternative' | 'error' | 'empty';
|
|
6
6
|
* @param size 'large' | 'medium' | 'small';
|
|
@@ -5,12 +5,12 @@ export declare const PlDialogStory: () => {
|
|
|
5
5
|
$: import("vue").ComponentInternalInstance;
|
|
6
6
|
$data: {};
|
|
7
7
|
$props: {
|
|
8
|
-
padding?: string | undefined;
|
|
9
8
|
customClass?: string | undefined;
|
|
10
9
|
modelValue?: boolean | undefined;
|
|
11
10
|
showHeader?: boolean | undefined;
|
|
12
11
|
showGrabber?: boolean | undefined;
|
|
13
12
|
widthThis?: string | undefined;
|
|
13
|
+
padding?: string | undefined;
|
|
14
14
|
headerPadding?: string | undefined;
|
|
15
15
|
showClose?: boolean | undefined;
|
|
16
16
|
slide?: boolean | undefined;
|
|
@@ -81,10 +81,6 @@ export declare const PlDialogStory: () => {
|
|
|
81
81
|
$emit: ((event: "update:modelValue", ...args: any[]) => void) & ((event: "changeVisibleModalValue", ...args: any[]) => void);
|
|
82
82
|
$el: any;
|
|
83
83
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
84
|
-
padding: {
|
|
85
|
-
type: import("vue").PropType<string>;
|
|
86
|
-
default: string;
|
|
87
|
-
};
|
|
88
84
|
customClass: {
|
|
89
85
|
type: import("vue").PropType<string>;
|
|
90
86
|
default: string;
|
|
@@ -106,6 +102,10 @@ export declare const PlDialogStory: () => {
|
|
|
106
102
|
type: import("vue").PropType<string>;
|
|
107
103
|
default: string;
|
|
108
104
|
};
|
|
105
|
+
padding: {
|
|
106
|
+
type: import("vue").PropType<string>;
|
|
107
|
+
default: string;
|
|
108
|
+
};
|
|
109
109
|
headerPadding: {
|
|
110
110
|
type: import("vue").PropType<string>;
|
|
111
111
|
default: string;
|
|
@@ -152,12 +152,12 @@ export declare const PlDialogStory: () => {
|
|
|
152
152
|
"update:modelValue": (...args: any[]) => void;
|
|
153
153
|
changeVisibleModalValue: (...args: any[]) => void;
|
|
154
154
|
}, string, {
|
|
155
|
-
padding: string;
|
|
156
155
|
customClass: string;
|
|
157
156
|
modelValue: boolean;
|
|
158
157
|
showHeader: boolean;
|
|
159
158
|
showGrabber: boolean;
|
|
160
159
|
widthThis: string;
|
|
160
|
+
padding: string;
|
|
161
161
|
headerPadding: string;
|
|
162
162
|
showClose: boolean;
|
|
163
163
|
slide: boolean;
|
|
@@ -188,10 +188,6 @@ export declare const PlDialogStory: () => {
|
|
|
188
188
|
$nextTick: typeof import("vue").nextTick;
|
|
189
189
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
190
190
|
} & Readonly<import("vue").ExtractPropTypes<{
|
|
191
|
-
padding: {
|
|
192
|
-
type: import("vue").PropType<string>;
|
|
193
|
-
default: string;
|
|
194
|
-
};
|
|
195
191
|
customClass: {
|
|
196
192
|
type: import("vue").PropType<string>;
|
|
197
193
|
default: string;
|
|
@@ -213,6 +209,10 @@ export declare const PlDialogStory: () => {
|
|
|
213
209
|
type: import("vue").PropType<string>;
|
|
214
210
|
default: string;
|
|
215
211
|
};
|
|
212
|
+
padding: {
|
|
213
|
+
type: import("vue").PropType<string>;
|
|
214
|
+
default: string;
|
|
215
|
+
};
|
|
216
216
|
headerPadding: {
|
|
217
217
|
type: import("vue").PropType<string>;
|
|
218
218
|
default: string;
|
|
@@ -260,10 +260,6 @@ export declare const PlDialogStory: () => {
|
|
|
260
260
|
__isTeleport?: undefined;
|
|
261
261
|
__isSuspense?: undefined;
|
|
262
262
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
263
|
-
padding: {
|
|
264
|
-
type: import("vue").PropType<string>;
|
|
265
|
-
default: string;
|
|
266
|
-
};
|
|
267
263
|
customClass: {
|
|
268
264
|
type: import("vue").PropType<string>;
|
|
269
265
|
default: string;
|
|
@@ -285,6 +281,10 @@ export declare const PlDialogStory: () => {
|
|
|
285
281
|
type: import("vue").PropType<string>;
|
|
286
282
|
default: string;
|
|
287
283
|
};
|
|
284
|
+
padding: {
|
|
285
|
+
type: import("vue").PropType<string>;
|
|
286
|
+
default: string;
|
|
287
|
+
};
|
|
288
288
|
headerPadding: {
|
|
289
289
|
type: import("vue").PropType<string>;
|
|
290
290
|
default: string;
|
|
@@ -331,12 +331,12 @@ export declare const PlDialogStory: () => {
|
|
|
331
331
|
"update:modelValue": (...args: any[]) => void;
|
|
332
332
|
changeVisibleModalValue: (...args: any[]) => void;
|
|
333
333
|
}, string, {
|
|
334
|
-
padding: string;
|
|
335
334
|
customClass: string;
|
|
336
335
|
modelValue: boolean;
|
|
337
336
|
showHeader: boolean;
|
|
338
337
|
showGrabber: boolean;
|
|
339
338
|
widthThis: string;
|
|
339
|
+
padding: string;
|
|
340
340
|
headerPadding: string;
|
|
341
341
|
showClose: boolean;
|
|
342
342
|
slide: boolean;
|
|
@@ -359,13 +359,13 @@ export declare const PlDialogStory: () => {
|
|
|
359
359
|
$data: {};
|
|
360
360
|
$props: {
|
|
361
361
|
type?: "primary" | "secondary" | "alternative" | "error" | "empty" | undefined;
|
|
362
|
-
icon?:
|
|
362
|
+
icon?: string | undefined;
|
|
363
363
|
fullWidth?: boolean | undefined;
|
|
364
364
|
disabled?: boolean | undefined;
|
|
365
365
|
size?: "small" | "large" | "medium" | undefined;
|
|
366
366
|
iconColor?: string | undefined;
|
|
367
367
|
iconPosition?: "left" | "right" | undefined;
|
|
368
|
-
nativeType?: "button" |
|
|
368
|
+
nativeType?: "button" | undefined;
|
|
369
369
|
key?: string | number | symbol | undefined;
|
|
370
370
|
ref?: import("vue").VNodeRef | undefined;
|
|
371
371
|
style?: unknown;
|
|
@@ -431,7 +431,7 @@ export declare const PlDialogStory: () => {
|
|
|
431
431
|
default: string;
|
|
432
432
|
};
|
|
433
433
|
icon: {
|
|
434
|
-
type: import("vue").PropType<
|
|
434
|
+
type: import("vue").PropType<string>;
|
|
435
435
|
default: string;
|
|
436
436
|
};
|
|
437
437
|
fullWidth: {
|
|
@@ -455,7 +455,7 @@ export declare const PlDialogStory: () => {
|
|
|
455
455
|
default: string;
|
|
456
456
|
};
|
|
457
457
|
nativeType: {
|
|
458
|
-
type: import("vue").PropType<"button"
|
|
458
|
+
type: import("vue").PropType<"button">;
|
|
459
459
|
default: string;
|
|
460
460
|
};
|
|
461
461
|
}>> & {
|
|
@@ -464,13 +464,13 @@ export declare const PlDialogStory: () => {
|
|
|
464
464
|
click: (...args: any[]) => void;
|
|
465
465
|
}, string, {
|
|
466
466
|
type: "primary" | "secondary" | "alternative" | "error" | "empty";
|
|
467
|
-
icon:
|
|
467
|
+
icon: string;
|
|
468
468
|
fullWidth: boolean;
|
|
469
469
|
disabled: boolean;
|
|
470
470
|
size: "small" | "large" | "medium";
|
|
471
471
|
iconColor: string;
|
|
472
472
|
iconPosition: "left" | "right";
|
|
473
|
-
nativeType: "button"
|
|
473
|
+
nativeType: "button";
|
|
474
474
|
}, {}, string, {}> & {
|
|
475
475
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
476
476
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -497,7 +497,7 @@ export declare const PlDialogStory: () => {
|
|
|
497
497
|
default: string;
|
|
498
498
|
};
|
|
499
499
|
icon: {
|
|
500
|
-
type: import("vue").PropType<
|
|
500
|
+
type: import("vue").PropType<string>;
|
|
501
501
|
default: string;
|
|
502
502
|
};
|
|
503
503
|
fullWidth: {
|
|
@@ -521,7 +521,7 @@ export declare const PlDialogStory: () => {
|
|
|
521
521
|
default: string;
|
|
522
522
|
};
|
|
523
523
|
nativeType: {
|
|
524
|
-
type: import("vue").PropType<"button"
|
|
524
|
+
type: import("vue").PropType<"button">;
|
|
525
525
|
default: string;
|
|
526
526
|
};
|
|
527
527
|
}>> & {
|
|
@@ -536,7 +536,7 @@ export declare const PlDialogStory: () => {
|
|
|
536
536
|
default: string;
|
|
537
537
|
};
|
|
538
538
|
icon: {
|
|
539
|
-
type: import("vue").PropType<
|
|
539
|
+
type: import("vue").PropType<string>;
|
|
540
540
|
default: string;
|
|
541
541
|
};
|
|
542
542
|
fullWidth: {
|
|
@@ -560,7 +560,7 @@ export declare const PlDialogStory: () => {
|
|
|
560
560
|
default: string;
|
|
561
561
|
};
|
|
562
562
|
nativeType: {
|
|
563
|
-
type: import("vue").PropType<"button"
|
|
563
|
+
type: import("vue").PropType<"button">;
|
|
564
564
|
default: string;
|
|
565
565
|
};
|
|
566
566
|
}>> & {
|
|
@@ -569,13 +569,13 @@ export declare const PlDialogStory: () => {
|
|
|
569
569
|
click: (...args: any[]) => void;
|
|
570
570
|
}, string, {
|
|
571
571
|
type: "primary" | "secondary" | "alternative" | "error" | "empty";
|
|
572
|
-
icon:
|
|
572
|
+
icon: string;
|
|
573
573
|
fullWidth: boolean;
|
|
574
574
|
disabled: boolean;
|
|
575
575
|
size: "small" | "large" | "medium";
|
|
576
576
|
iconColor: string;
|
|
577
577
|
iconPosition: "left" | "right";
|
|
578
|
-
nativeType: "button"
|
|
578
|
+
nativeType: "button";
|
|
579
579
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
580
580
|
$slots: {
|
|
581
581
|
default?(_: {}): any;
|
|
@@ -594,12 +594,12 @@ declare const _default: {
|
|
|
594
594
|
$: import("vue").ComponentInternalInstance;
|
|
595
595
|
$data: {};
|
|
596
596
|
$props: {
|
|
597
|
-
padding?: string | undefined;
|
|
598
597
|
customClass?: string | undefined;
|
|
599
598
|
modelValue?: boolean | undefined;
|
|
600
599
|
showHeader?: boolean | undefined;
|
|
601
600
|
showGrabber?: boolean | undefined;
|
|
602
601
|
widthThis?: string | undefined;
|
|
602
|
+
padding?: string | undefined;
|
|
603
603
|
headerPadding?: string | undefined;
|
|
604
604
|
showClose?: boolean | undefined;
|
|
605
605
|
slide?: boolean | undefined;
|
|
@@ -670,10 +670,6 @@ declare const _default: {
|
|
|
670
670
|
$emit: ((event: "update:modelValue", ...args: any[]) => void) & ((event: "changeVisibleModalValue", ...args: any[]) => void);
|
|
671
671
|
$el: any;
|
|
672
672
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
673
|
-
padding: {
|
|
674
|
-
type: import("vue").PropType<string>;
|
|
675
|
-
default: string;
|
|
676
|
-
};
|
|
677
673
|
customClass: {
|
|
678
674
|
type: import("vue").PropType<string>;
|
|
679
675
|
default: string;
|
|
@@ -695,6 +691,10 @@ declare const _default: {
|
|
|
695
691
|
type: import("vue").PropType<string>;
|
|
696
692
|
default: string;
|
|
697
693
|
};
|
|
694
|
+
padding: {
|
|
695
|
+
type: import("vue").PropType<string>;
|
|
696
|
+
default: string;
|
|
697
|
+
};
|
|
698
698
|
headerPadding: {
|
|
699
699
|
type: import("vue").PropType<string>;
|
|
700
700
|
default: string;
|
|
@@ -741,12 +741,12 @@ declare const _default: {
|
|
|
741
741
|
"update:modelValue": (...args: any[]) => void;
|
|
742
742
|
changeVisibleModalValue: (...args: any[]) => void;
|
|
743
743
|
}, string, {
|
|
744
|
-
padding: string;
|
|
745
744
|
customClass: string;
|
|
746
745
|
modelValue: boolean;
|
|
747
746
|
showHeader: boolean;
|
|
748
747
|
showGrabber: boolean;
|
|
749
748
|
widthThis: string;
|
|
749
|
+
padding: string;
|
|
750
750
|
headerPadding: string;
|
|
751
751
|
showClose: boolean;
|
|
752
752
|
slide: boolean;
|
|
@@ -777,10 +777,6 @@ declare const _default: {
|
|
|
777
777
|
$nextTick: typeof import("vue").nextTick;
|
|
778
778
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
779
779
|
} & Readonly<import("vue").ExtractPropTypes<{
|
|
780
|
-
padding: {
|
|
781
|
-
type: import("vue").PropType<string>;
|
|
782
|
-
default: string;
|
|
783
|
-
};
|
|
784
780
|
customClass: {
|
|
785
781
|
type: import("vue").PropType<string>;
|
|
786
782
|
default: string;
|
|
@@ -802,6 +798,10 @@ declare const _default: {
|
|
|
802
798
|
type: import("vue").PropType<string>;
|
|
803
799
|
default: string;
|
|
804
800
|
};
|
|
801
|
+
padding: {
|
|
802
|
+
type: import("vue").PropType<string>;
|
|
803
|
+
default: string;
|
|
804
|
+
};
|
|
805
805
|
headerPadding: {
|
|
806
806
|
type: import("vue").PropType<string>;
|
|
807
807
|
default: string;
|
|
@@ -849,10 +849,6 @@ declare const _default: {
|
|
|
849
849
|
__isTeleport?: undefined;
|
|
850
850
|
__isSuspense?: undefined;
|
|
851
851
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
852
|
-
padding: {
|
|
853
|
-
type: import("vue").PropType<string>;
|
|
854
|
-
default: string;
|
|
855
|
-
};
|
|
856
852
|
customClass: {
|
|
857
853
|
type: import("vue").PropType<string>;
|
|
858
854
|
default: string;
|
|
@@ -874,6 +870,10 @@ declare const _default: {
|
|
|
874
870
|
type: import("vue").PropType<string>;
|
|
875
871
|
default: string;
|
|
876
872
|
};
|
|
873
|
+
padding: {
|
|
874
|
+
type: import("vue").PropType<string>;
|
|
875
|
+
default: string;
|
|
876
|
+
};
|
|
877
877
|
headerPadding: {
|
|
878
878
|
type: import("vue").PropType<string>;
|
|
879
879
|
default: string;
|
|
@@ -920,12 +920,12 @@ declare const _default: {
|
|
|
920
920
|
"update:modelValue": (...args: any[]) => void;
|
|
921
921
|
changeVisibleModalValue: (...args: any[]) => void;
|
|
922
922
|
}, string, {
|
|
923
|
-
padding: string;
|
|
924
923
|
customClass: string;
|
|
925
924
|
modelValue: boolean;
|
|
926
925
|
showHeader: boolean;
|
|
927
926
|
showGrabber: boolean;
|
|
928
927
|
widthThis: string;
|
|
928
|
+
padding: string;
|
|
929
929
|
headerPadding: string;
|
|
930
930
|
showClose: boolean;
|
|
931
931
|
slide: boolean;
|
|
@@ -57,12 +57,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
57
57
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
58
58
|
onChangeVisibleModalValue?: ((...args: any[]) => any) | undefined;
|
|
59
59
|
}, {
|
|
60
|
-
padding: string;
|
|
61
60
|
customClass: string;
|
|
62
61
|
modelValue: boolean;
|
|
63
62
|
showHeader: boolean;
|
|
64
63
|
showGrabber: boolean;
|
|
65
64
|
widthThis: string;
|
|
65
|
+
padding: string;
|
|
66
66
|
headerPadding: string;
|
|
67
67
|
showClose: boolean;
|
|
68
68
|
slide: boolean;
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
type:
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
name: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
color: StringConstructor;
|
|
7
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
+
name: {
|
|
9
|
+
type: StringConstructor;
|
|
10
10
|
required: true;
|
|
11
11
|
};
|
|
12
|
-
|
|
12
|
+
color: StringConstructor;
|
|
13
|
+
}>>, {}, {}>;
|
|
14
|
+
export default _default;
|