@factoringplus/pl-components-pack-v3 1.9.5-pre-snackbar-01 → 1.9.5-pre-01-banner
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-d56ccb69.cjs → crypto-pro-3405e8b7.cjs} +1 -1
- package/dist/{crypto-pro-158256aa.js → crypto-pro-c1ab5b90.js} +1 -1
- package/dist/entry-7ced148d.cjs +115 -0
- package/dist/{entry-cb4ad093.js → entry-9eab9a03.js} +9410 -9256
- package/dist/pl-components-pack-v3.cjs.js +1 -1
- package/dist/pl-components-pack-v3.es.js +73 -72
- package/dist/src/components/basic/pl-scrollbar/pl-scrollbar.vue.d.ts +0 -4
- package/dist/src/components/basic/pl-skeleton/components/pl-skeleton-button/index.d.ts +0 -3
- package/dist/src/components/basic/pl-skeleton/components/pl-skeleton-button/pl-skeleton-button.vue.d.ts +0 -3
- package/dist/src/components/basic/pl-skeleton/components/pl-skeleton-control/index.d.ts +6 -10
- package/dist/src/components/basic/pl-skeleton/components/pl-skeleton-control/pl-skeleton-control.vue.d.ts +3 -17
- package/dist/src/components/basic/pl-skeleton/components/pl-skeleton-input/index.d.ts +0 -3
- package/dist/src/components/basic/pl-skeleton/components/pl-skeleton-input/pl-skeleton-input.vue.d.ts +0 -3
- package/dist/src/components/basic/pl-skeleton/components/pl-skeleton-tabs/index.d.ts +1 -5
- package/dist/src/components/basic/pl-skeleton/components/pl-skeleton-tabs/pl-skeleton-tabs.vue.d.ts +1 -7
- package/dist/src/components/basic/pl-skeleton/components/pl-skeleton-tags-chips/index.d.ts +0 -3
- package/dist/src/components/basic/pl-skeleton/components/pl-skeleton-tags-chips/pl-skeleton-tags-chips.vue.d.ts +0 -3
- package/dist/src/components/basic/pl-skeleton/components/pl-skeleton-text/index.d.ts +0 -3
- package/dist/src/components/basic/pl-skeleton/components/pl-skeleton-text/pl-skeleton-text.vue.d.ts +0 -3
- package/dist/src/components/basic/pl-skeleton/components/pl-skeleton-text-cell/index.d.ts +0 -3
- package/dist/src/components/basic/pl-skeleton/components/pl-skeleton-text-cell/pl-skeleton-text-cell.vue.d.ts +0 -3
- package/dist/src/components/basic/pl-skeleton/components/pl-skeleton-upload/index.d.ts +1 -5
- package/dist/src/components/basic/pl-skeleton/components/pl-skeleton-upload/pl-skeleton-upload.vue.d.ts +1 -7
- package/dist/src/components/components.d.ts +3 -1
- package/dist/src/components/data/pl-banner/index.d.ts +83 -0
- package/dist/src/components/data/pl-banner/pl-banner.vue.d.ts +51 -0
- package/dist/src/components/data/pl-banner/types/index.d.ts +41 -0
- package/dist/src/components/data/pl-progress/index.d.ts +3 -3
- package/dist/src/components/data/pl-progress/pl-progress.vue.d.ts +2 -2
- package/dist/src/components/data/pl-snackbar/pl-snackbar.vue.d.ts +3 -6
- package/dist/src/components/data/pl-snackbar/types.d.ts +2 -3
- package/dist/src/components/data/pl-tags-chips/index.d.ts +7 -7
- package/dist/src/components/data/pl-tags-chips/pl-tags-chips.vue.d.ts +1 -1
- package/dist/src/components/form/pl-autocomplete/pl-autocompete.vue.d.ts +1 -1
- package/dist/src/components/form/pl-autocomplete/types/index.d.ts +1 -1
- package/dist/src/components/form/pl-multi-select/pl-multi-select.vue.d.ts +0 -2
- package/dist/src/components/shared/pl-text/components/pl-system-regular.vue.d.ts +20 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/entry-25a930fa.cjs +0 -115
@@ -0,0 +1,51 @@
|
|
1
|
+
import { TBannerProps } from './types';
|
2
|
+
|
3
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TBannerProps>, {
|
4
|
+
width: string;
|
5
|
+
icon: string;
|
6
|
+
buttonText: string;
|
7
|
+
title: string;
|
8
|
+
description: string;
|
9
|
+
type: string;
|
10
|
+
closeButton: boolean;
|
11
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
12
|
+
close: () => void;
|
13
|
+
buttonClicked: () => void;
|
14
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TBannerProps>, {
|
15
|
+
width: string;
|
16
|
+
icon: string;
|
17
|
+
buttonText: string;
|
18
|
+
title: string;
|
19
|
+
description: string;
|
20
|
+
type: string;
|
21
|
+
closeButton: boolean;
|
22
|
+
}>>> & {
|
23
|
+
onClose?: () => any;
|
24
|
+
onButtonClicked?: () => any;
|
25
|
+
}, {
|
26
|
+
type: "info" | "success" | "warning" | "interactive" | "critical" | "custom";
|
27
|
+
title: string;
|
28
|
+
icon: import('../../components').TIcon;
|
29
|
+
width: string;
|
30
|
+
description: string;
|
31
|
+
buttonText: string;
|
32
|
+
closeButton: boolean;
|
33
|
+
}, {}>;
|
34
|
+
export default _default;
|
35
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
36
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
37
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
38
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
39
|
+
} : {
|
40
|
+
type: import('vue').PropType<T[K]>;
|
41
|
+
required: true;
|
42
|
+
};
|
43
|
+
};
|
44
|
+
type __VLS_WithDefaults<P, D> = {
|
45
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
46
|
+
default: D[K];
|
47
|
+
}> : P[K];
|
48
|
+
};
|
49
|
+
type __VLS_Prettify<T> = {
|
50
|
+
[K in keyof T]: T[K];
|
51
|
+
} & {};
|
@@ -0,0 +1,41 @@
|
|
1
|
+
import { TIcon } from '../../../shared/pl-icon';
|
2
|
+
|
3
|
+
/**
|
4
|
+
* Интерфейс для задания пользовательских цветов различных элементов UI.
|
5
|
+
*
|
6
|
+
* @property backgroundBanner - Цвет фона баннера
|
7
|
+
* @property backgroundButton - Цвет фона кнопки
|
8
|
+
* @property borderButton - Цвет обводки кнопки
|
9
|
+
* @property textButton - Цвет текста кнопки
|
10
|
+
* @property icon - Цвет иконки
|
11
|
+
*/
|
12
|
+
export declare interface ICustomColors {
|
13
|
+
backgroundBanner?: string;
|
14
|
+
backgroundButton?: string;
|
15
|
+
borderButton?: string;
|
16
|
+
textButton?: string;
|
17
|
+
icon?: string;
|
18
|
+
}
|
19
|
+
/**
|
20
|
+
* Свойства баннера.
|
21
|
+
*
|
22
|
+
* @property type - Тип баннера: определяет стиль отображения. Может быть:
|
23
|
+
* 'info' | 'interactive' | 'success' | 'warning' | 'critical' | 'custom'
|
24
|
+
* @property title - Заголовок баннера
|
25
|
+
* @property description - Описание или дополнительный текст баннера
|
26
|
+
* @property buttonText - Текст кнопки действия
|
27
|
+
* @property icon - Иконка, отображаемая в баннере
|
28
|
+
* @property width - Ширина баннера (CSS-значение, например '100%', '400px')
|
29
|
+
* @property closeButton - Показывать ли кнопку закрытия (крестик)
|
30
|
+
* @property customColors - Пользовательские цвета для баннера (используется, если тип 'custom')
|
31
|
+
*/
|
32
|
+
export declare interface TBannerProps {
|
33
|
+
type?: 'info' | 'interactive' | 'success' | 'warning' | 'critical' | 'custom';
|
34
|
+
title?: string;
|
35
|
+
description?: string;
|
36
|
+
buttonText?: string;
|
37
|
+
icon?: TIcon;
|
38
|
+
width?: string;
|
39
|
+
closeButton?: boolean;
|
40
|
+
customColors?: ICustomColors;
|
41
|
+
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
export declare const PlProgress: import('../../../install-function').SFCInstallWithContext<import('vue').DefineComponent<{
|
2
2
|
size: {
|
3
|
-
type: import('vue').PropType<"small" | "large"
|
3
|
+
type: import('vue').PropType<"small" | "large">;
|
4
4
|
default: string;
|
5
5
|
};
|
6
6
|
type: {
|
@@ -21,7 +21,7 @@ export declare const PlProgress: import('../../../install-function').SFCInstallW
|
|
21
21
|
};
|
22
22
|
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
23
23
|
size: {
|
24
|
-
type: import('vue').PropType<"small" | "large"
|
24
|
+
type: import('vue').PropType<"small" | "large">;
|
25
25
|
default: string;
|
26
26
|
};
|
27
27
|
type: {
|
@@ -41,7 +41,7 @@ export declare const PlProgress: import('../../../install-function').SFCInstallW
|
|
41
41
|
default: number;
|
42
42
|
};
|
43
43
|
}>>, {
|
44
|
-
size: "small" | "large"
|
44
|
+
size: "small" | "large";
|
45
45
|
type: "sectional" | "solid";
|
46
46
|
width: string;
|
47
47
|
glare: boolean;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
interface IProps {
|
2
2
|
type?: 'sectional' | 'solid';
|
3
3
|
glare?: boolean;
|
4
|
-
size?: 'large' | 'small'
|
4
|
+
size?: 'large' | 'small';
|
5
5
|
width?: string;
|
6
6
|
percentage?: number;
|
7
7
|
}
|
@@ -18,7 +18,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
18
18
|
width: string;
|
19
19
|
percentage: number;
|
20
20
|
}>>>, {
|
21
|
-
size: "small" | "large"
|
21
|
+
size: "small" | "large";
|
22
22
|
type: "sectional" | "solid";
|
23
23
|
width: string;
|
24
24
|
glare: boolean;
|
@@ -6,29 +6,26 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
6
6
|
color: string;
|
7
7
|
title: string;
|
8
8
|
button: string;
|
9
|
+
buttonAdd: string;
|
9
10
|
message: string;
|
10
11
|
blockHide: boolean;
|
11
|
-
progress: boolean;
|
12
|
-
percentage: number;
|
13
12
|
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
|
14
13
|
id: number;
|
15
14
|
icon: string;
|
16
15
|
color: string;
|
17
16
|
title: string;
|
18
17
|
button: string;
|
18
|
+
buttonAdd: string;
|
19
19
|
message: string;
|
20
20
|
blockHide: boolean;
|
21
|
-
progress: boolean;
|
22
|
-
percentage: number;
|
23
21
|
}>>>, {
|
24
22
|
color: string;
|
25
23
|
button: string;
|
26
|
-
progress: boolean;
|
27
24
|
title: string;
|
28
25
|
icon: import('../../components').TIcon;
|
29
26
|
id: number;
|
30
27
|
message: string;
|
31
|
-
|
28
|
+
buttonAdd: string;
|
32
29
|
blockHide: boolean;
|
33
30
|
}, {}>;
|
34
31
|
export default _default;
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { TIcon } from '../../shared/pl-icon';
|
2
|
-
import { Ref } from 'vue';
|
3
2
|
|
4
3
|
export interface IProps {
|
5
4
|
id?: number;
|
@@ -7,12 +6,12 @@ export interface IProps {
|
|
7
6
|
color?: string;
|
8
7
|
title: string;
|
9
8
|
button?: string;
|
9
|
+
buttonAdd?: string;
|
10
10
|
action?: any;
|
11
|
+
actionAdd?: any;
|
11
12
|
message?: string;
|
12
13
|
blockHide?: boolean;
|
13
14
|
longDuration?: boolean;
|
14
|
-
progress?: boolean;
|
15
|
-
percentage?: number | Ref<number>;
|
16
15
|
}
|
17
16
|
export interface IRenderSnackbar {
|
18
17
|
id: string;
|
@@ -5,7 +5,7 @@ export declare const PlTagsChips: import('../../../install-function').SFCInstall
|
|
5
5
|
default: string;
|
6
6
|
};
|
7
7
|
type: {
|
8
|
-
type: import('vue').PropType<"error" | "info" | "success" | "warning" |
|
8
|
+
type: import('vue').PropType<"error" | "info" | "success" | "warning" | "interactive" | ("primary" | "outline")>;
|
9
9
|
default: string;
|
10
10
|
};
|
11
11
|
disabled: {
|
@@ -56,7 +56,7 @@ export declare const PlTagsChips: import('../../../install-function').SFCInstall
|
|
56
56
|
default: string;
|
57
57
|
};
|
58
58
|
type: {
|
59
|
-
type: import('vue').PropType<"error" | "info" | "success" | "warning" |
|
59
|
+
type: import('vue').PropType<"error" | "info" | "success" | "warning" | "interactive" | ("primary" | "outline")>;
|
60
60
|
default: string;
|
61
61
|
};
|
62
62
|
disabled: {
|
@@ -100,7 +100,7 @@ export declare const PlTagsChips: import('../../../install-function').SFCInstall
|
|
100
100
|
onCrossClicked?: (...args: any[]) => any;
|
101
101
|
}, {
|
102
102
|
size: "small" | "large";
|
103
|
-
type: "error" | "info" | "success" | "warning" |
|
103
|
+
type: "error" | "info" | "success" | "warning" | "interactive" | ("primary" | "outline");
|
104
104
|
disabled: boolean;
|
105
105
|
icon: import('../../components').TIcon;
|
106
106
|
iconColor: string;
|
@@ -123,7 +123,7 @@ export declare const PlTagsChips: import('../../../install-function').SFCInstall
|
|
123
123
|
default: string;
|
124
124
|
};
|
125
125
|
type: {
|
126
|
-
type: import('vue').PropType<"error" | "info" | "success" | "warning" |
|
126
|
+
type: import('vue').PropType<"error" | "info" | "success" | "warning" | "interactive" | ("primary" | "outline")>;
|
127
127
|
default: string;
|
128
128
|
};
|
129
129
|
disabled: {
|
@@ -167,7 +167,7 @@ export declare const PlTagsChips: import('../../../install-function').SFCInstall
|
|
167
167
|
onCrossClicked?: (...args: any[]) => any;
|
168
168
|
}, {}, {}, {}, {}, {
|
169
169
|
size: "small" | "large";
|
170
|
-
type: "error" | "info" | "success" | "warning" |
|
170
|
+
type: "error" | "info" | "success" | "warning" | "interactive" | ("primary" | "outline");
|
171
171
|
disabled: boolean;
|
172
172
|
icon: import('../../components').TIcon;
|
173
173
|
iconColor: string;
|
@@ -187,7 +187,7 @@ export declare const PlTagsChips: import('../../../install-function').SFCInstall
|
|
187
187
|
default: string;
|
188
188
|
};
|
189
189
|
type: {
|
190
|
-
type: import('vue').PropType<"error" | "info" | "success" | "warning" |
|
190
|
+
type: import('vue').PropType<"error" | "info" | "success" | "warning" | "interactive" | ("primary" | "outline")>;
|
191
191
|
default: string;
|
192
192
|
};
|
193
193
|
disabled: {
|
@@ -234,7 +234,7 @@ export declare const PlTagsChips: import('../../../install-function').SFCInstall
|
|
234
234
|
crossClicked: (...args: any[]) => void;
|
235
235
|
}, string, {
|
236
236
|
size: "small" | "large";
|
237
|
-
type: "error" | "info" | "success" | "warning" |
|
237
|
+
type: "error" | "info" | "success" | "warning" | "interactive" | ("primary" | "outline");
|
238
238
|
disabled: boolean;
|
239
239
|
icon: import('../../components').TIcon;
|
240
240
|
iconColor: string;
|
@@ -46,7 +46,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
46
46
|
onCrossClicked?: (...args: any[]) => any;
|
47
47
|
}, {
|
48
48
|
size: "small" | "large";
|
49
|
-
type: "error" | "info" | "success" | "warning" |
|
49
|
+
type: "error" | "info" | "success" | "warning" | "interactive" | InteractiveTypes;
|
50
50
|
disabled: boolean;
|
51
51
|
icon: TIcon;
|
52
52
|
iconColor: string;
|
@@ -74,7 +74,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
74
74
|
uniqKey: string;
|
75
75
|
inputClass: string;
|
76
76
|
suggestionList: IOption[];
|
77
|
-
symbolsCountSearch: number;
|
77
|
+
symbolsCountSearch: string | number;
|
78
78
|
noData: string;
|
79
79
|
memoryBlur: boolean;
|
80
80
|
defaultDropText: string;
|
@@ -20,7 +20,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
20
20
|
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
21
21
|
reset: (...args: any[]) => void;
|
22
22
|
"update:modelValue": (...args: any[]) => void;
|
23
|
-
blur: (...args: any[]) => void;
|
24
23
|
change: (...args: any[]) => void;
|
25
24
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ISelectProps>, {
|
26
25
|
modelValue: () => any[];
|
@@ -40,7 +39,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
40
39
|
teleport: boolean;
|
41
40
|
selectAll: boolean;
|
42
41
|
}>>> & {
|
43
|
-
onBlur?: (...args: any[]) => any;
|
44
42
|
onChange?: (...args: any[]) => any;
|
45
43
|
onReset?: (...args: any[]) => any;
|
46
44
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import { ITextProps } from '../types';
|
2
|
+
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<ITextProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<ITextProps>>>, {}, {}>, {
|
4
|
+
default?(_: {}): any;
|
5
|
+
}>;
|
6
|
+
export default _default;
|
7
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
8
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
9
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
10
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
11
|
+
} : {
|
12
|
+
type: import('vue').PropType<T[K]>;
|
13
|
+
required: true;
|
14
|
+
};
|
15
|
+
};
|
16
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
17
|
+
new (): {
|
18
|
+
$slots: S;
|
19
|
+
};
|
20
|
+
};
|