@factoringplus/pl-components-pack-v3 1.9.5-pre-01-radio → 1.9.5-pre-12-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-2ea5cd24.js → crypto-pro-add073d8.js} +1 -1
- package/dist/{crypto-pro-624032ca.cjs → crypto-pro-b15fe047.cjs} +1 -1
- package/dist/{entry-8b28b726.cjs → entry-42ee3834.cjs} +30 -30
- package/dist/{entry-0cbbe01b.js → entry-f89f5a70.js} +7835 -7615
- 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-button/index.d.ts +18 -0
- package/dist/src/components/basic/pl-button/types/index.d.ts +9 -9
- package/dist/src/components/basic/pl-scrollbar/pl-scrollbar.vue.d.ts +2 -2
- package/dist/src/components/components.d.ts +3 -1
- package/dist/src/components/data/pl-banner/index.d.ts +101 -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 +70 -0
- 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/components/pl-autocomplete-dropdown.vue.d.ts +1 -1
- 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 +4 -4
- package/dist/src/components/form/pl-date-picker-plus/pl-date-picker-plus/pl-date-picker-plus.vue.d.ts +3 -3
- package/dist/src/components/form/pl-date-picker-plus/pl-date-picker-range-plus/pl-date-picker-range-plus.vue.d.ts +3 -3
- package/dist/src/components/form/pl-input-plus/components/pl-default.vue.d.ts +5 -5
- package/dist/src/components/form/pl-input-plus/components/pl-password.vue.d.ts +1 -1
- package/dist/src/components/form/pl-input-plus/components/pl-textarea.vue.d.ts +9 -9
- package/dist/src/components/form/pl-input-plus/index.d.ts +193 -193
- package/dist/src/components/form/pl-input-plus/pl-input-plus.vue.d.ts +15 -15
- package/dist/src/components/form/pl-multi-select/components/pl-default.vue.d.ts +1 -1
- package/dist/src/components/form/pl-multi-select/pl-multi-select.vue.d.ts +2 -2
- package/dist/src/components/form/pl-radio/pl-radio.vue.d.ts +2 -11
- package/dist/src/components/form/pl-select-plus/components/pl-default.vue.d.ts +1 -1
- package/dist/src/components/form/pl-select-plus/pl-select-plus.vue.d.ts +2 -2
- package/dist/src/components/form/pl-upload-plus/pl-upload-plus.vue.d.ts +1 -1
- 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
@@ -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-42ee3834.cjs");require("vue");exports.PlAutocomplete=l.PlAutocomplete;exports.PlBanner=l.PlBanner;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.PlProgress=l.PlProgress;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.PlSkeletonButton=l.PlSkeletonButton;exports.PlSkeletonControl=l.PlSkeletonControl;exports.PlSkeletonIcon=l.PlSkeletonIcon;exports.PlSkeletonInput=l.PlSkeletonInput;exports.PlSkeletonTabs=l.PlSkeletonTabs;exports.PlSkeletonTagsChips=l.PlSkeletonTagsChips;exports.PlSkeletonText=l.PlSkeletonText;exports.PlSkeletonTextCell=l.PlSkeletonTextCell;exports.PlSkeletonUpload=l.PlSkeletonUpload;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,78 +1,79 @@
|
|
1
|
-
import { n as P,
|
1
|
+
import { n as P, aj as e, k as t, ah as o, o as n, q as i, r, m as u, t as c, s as S, v as g, x as p, w as d, P as k, y as T, z as b, B as C, C as m, D as x, a7 as D, a6 as f, E as h, ad as I, ac as B, U as L, ab as y, a8 as N, ai as U, F as q, G as v, H as A, I as M, ae as w, a9 as O, J as R, O as j, L as z, K as E, Q as F, R as J, T as G, N as H, M as K, S as Q, V, W, X, Y, Z, _, $, aa, ag as la, a0 as sa, a1 as Pa, a5 as ea, a2 as ta, a3 as oa, a4 as na, ak as ia, af as ra, A as ua, j as ca, h as Sa, h as ga, d as pa, e as da, a as ka, f as Ta, c as ba, i as Ca, b as ma, l as xa, p as Da, u as fa } from "./entry-f89f5a70.js";
|
2
2
|
import "vue";
|
3
3
|
export {
|
4
4
|
P as PlAutocomplete,
|
5
|
-
e as
|
6
|
-
t as
|
7
|
-
o as
|
8
|
-
n as
|
9
|
-
i as
|
10
|
-
r as
|
11
|
-
u as
|
12
|
-
c as
|
13
|
-
S as
|
14
|
-
g as
|
15
|
-
p as
|
16
|
-
d as
|
17
|
-
k as
|
18
|
-
T as
|
19
|
-
b as
|
20
|
-
C as
|
21
|
-
m as
|
22
|
-
x as
|
23
|
-
D as
|
24
|
-
f as
|
25
|
-
h as
|
26
|
-
I as
|
5
|
+
e as PlBanner,
|
6
|
+
t as PlButton,
|
7
|
+
o as PlButtonDropdown,
|
8
|
+
n as PlCard,
|
9
|
+
i as PlCheckbox,
|
10
|
+
r as PlCheckboxPlus,
|
11
|
+
u as PlCurrency,
|
12
|
+
c as PlDatePickerLegacyPlugin,
|
13
|
+
S as PlDatePickerPlugin,
|
14
|
+
g as PlDatePickerPlusPlugin,
|
15
|
+
p as PlDialog,
|
16
|
+
d as PlDialogPlus,
|
17
|
+
k as PlDirectives,
|
18
|
+
T as PlForm,
|
19
|
+
b as PlIcon,
|
20
|
+
C as PlInput,
|
21
|
+
m as PlInputPlus,
|
22
|
+
x as PlLink,
|
23
|
+
D as PlMarkText,
|
24
|
+
f as PlMultiSelect,
|
25
|
+
h as PlMultitab,
|
26
|
+
I as PlNavButton,
|
27
|
+
B as PlNavigation,
|
27
28
|
L as PlNotification,
|
28
29
|
y as PlOnboarding,
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
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
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
30
|
+
N as PlPagination,
|
31
|
+
U as PlProgress,
|
32
|
+
q as PlRadio,
|
33
|
+
v as PlScrollbar,
|
34
|
+
A as PlSelect,
|
35
|
+
M as PlSelectPlus,
|
36
|
+
w as PlSidebarItem,
|
37
|
+
O as PlSigning,
|
38
|
+
R as PlSkeleton,
|
39
|
+
j as PlSkeletonButton,
|
40
|
+
z as PlSkeletonControl,
|
41
|
+
E as PlSkeletonIcon,
|
42
|
+
F as PlSkeletonInput,
|
43
|
+
J as PlSkeletonTabs,
|
44
|
+
G as PlSkeletonTagsChips,
|
45
|
+
H as PlSkeletonText,
|
46
|
+
K as PlSkeletonTextCell,
|
47
|
+
Q as PlSkeletonUpload,
|
48
|
+
V as PlStepper,
|
49
|
+
W as PlSuggestions,
|
50
|
+
X as PlSwitch,
|
51
|
+
Y as PlTabPane,
|
52
|
+
Z as PlTablePlugin,
|
53
|
+
_ as PlTablePlus,
|
54
|
+
$ as PlTabs,
|
55
|
+
aa as PlTagsChips,
|
56
|
+
la as PlTextCell,
|
57
|
+
sa as PlTextPlugin,
|
58
|
+
Pa as PlTooltip,
|
59
|
+
ea as PlTooltipPlus,
|
60
|
+
ta as PlUpload,
|
61
|
+
oa as PlUploadLegacy,
|
62
|
+
na as PlUploadPlus,
|
63
|
+
ia as ScreenSizes,
|
64
|
+
ra as TLogo,
|
65
|
+
ua as apiJs,
|
66
|
+
ca as cancelAllApiRequests,
|
67
|
+
Sa as dadataParser,
|
68
|
+
ga as dataParser,
|
69
|
+
pa as declOfNum,
|
70
|
+
da as deepSet,
|
71
|
+
ka as filters,
|
72
|
+
Ta as formatCurrency,
|
73
|
+
ba as formatDate,
|
74
|
+
Ca as install,
|
75
|
+
ma as isEqual,
|
76
|
+
xa as loader,
|
77
|
+
Da as plLoading,
|
78
|
+
fa as uniqId
|
78
79
|
};
|
@@ -288,3 +288,21 @@ export declare const PlButton: import('../../../install-function').SFCInstallWit
|
|
288
288
|
})>;
|
289
289
|
export default PlButton;
|
290
290
|
export type { TButtonProps };
|
291
|
+
declare module 'vue' {
|
292
|
+
interface GlobalComponents {
|
293
|
+
/**
|
294
|
+
* Параметры Button
|
295
|
+
*
|
296
|
+
* @property fullWidth boolean;
|
297
|
+
* @property disabled boolean;
|
298
|
+
* @property type 'primary' | 'secondary' | 'alternative' | 'error' | 'empty';
|
299
|
+
* @property size 'large' | 'medium' | 'small';
|
300
|
+
* @property icon IIcon;
|
301
|
+
* @property iconColor string;
|
302
|
+
* @property iconPosition 'left' | 'right';
|
303
|
+
* @property nativeType 'button'| 'submit'| 'reset' | undefined
|
304
|
+
* @property loading boolean;
|
305
|
+
*/
|
306
|
+
PlButton: typeof PlButton;
|
307
|
+
}
|
308
|
+
}
|
@@ -2,15 +2,15 @@ import { TIcon } from '../../../shared/pl-icon';
|
|
2
2
|
import { IOption } from '../../../form/pl-select-plus/types';
|
3
3
|
|
4
4
|
/**
|
5
|
-
* @
|
6
|
-
* @
|
7
|
-
* @
|
8
|
-
* @
|
9
|
-
* @
|
10
|
-
* @
|
11
|
-
* @
|
12
|
-
* @
|
13
|
-
* @
|
5
|
+
* @property fullWidth boolean;
|
6
|
+
* @property disabled boolean;
|
7
|
+
* @property type 'primary' | 'secondary' | 'alternative' | 'error' | 'empty';
|
8
|
+
* @property size 'large' | 'medium' | 'small';
|
9
|
+
* @property icon IIcon;
|
10
|
+
* @property iconColor string;
|
11
|
+
* @property iconPosition 'left' | 'right';
|
12
|
+
* @property nativeType 'button'| 'submit'| 'reset' | undefined
|
13
|
+
* @property loading boolean;
|
14
14
|
*/
|
15
15
|
export declare type TButtonProps = {
|
16
16
|
fullWidth?: boolean;
|
@@ -40,11 +40,11 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
40
40
|
onWheel?: (...args: any[]) => any;
|
41
41
|
}, {
|
42
42
|
height: string | number;
|
43
|
+
viewClass: string;
|
43
44
|
maxHeight: string | number;
|
45
|
+
offsetRight: string;
|
44
46
|
wrapClass: string;
|
45
|
-
viewClass: string;
|
46
47
|
hideScrollThumb: boolean;
|
47
|
-
offsetRight: string;
|
48
48
|
alwaysShowXThumb: boolean;
|
49
49
|
alwaysShowYThumb: boolean;
|
50
50
|
}, {}>, {
|
@@ -52,6 +52,7 @@ import { default as PlSidebarItem } from '../services/pl-navigation/components/S
|
|
52
52
|
import { default as TLogo } from '../services/pl-navigation/components/TLogo';
|
53
53
|
import { default as PlTextCell } from './data/pl-text-cell';
|
54
54
|
import { default as PlProgress } from './data/pl-progress';
|
55
|
+
import { default as PlBanner } from './data/pl-banner';
|
55
56
|
import { default as PlIcon } from './shared/pl-icon';
|
56
57
|
import { default as PlTextPlugin } from './shared/pl-text';
|
57
58
|
import { default as PlMarkText } from './shared/pl-mark-text';
|
@@ -101,6 +102,7 @@ export * from '../services/pl-navigation/components/NavButton';
|
|
101
102
|
export * from '../services/pl-navigation/components/TLogo';
|
102
103
|
export * from './data/pl-text-cell';
|
103
104
|
export * from './data/pl-progress';
|
105
|
+
export * from './data/pl-banner';
|
104
106
|
export * from './shared/pl-icon';
|
105
107
|
export * from './shared/pl-text';
|
106
108
|
export * from './shared/pl-mark-text';
|
@@ -113,4 +115,4 @@ export * from '../utils/deepSet';
|
|
113
115
|
export * from '../utils/dadataParser';
|
114
116
|
export * from '../plugins/filters';
|
115
117
|
export * from '../plugins/api/api';
|
116
|
-
export { PlButton, PlCurrency, PlAutocomplete, PlCard, PlCheckbox, PlCheckboxPlus, PlDatePickerPlugin, PlDatePickerLegacyPlugin, PlDatePickerPlusPlugin, PlDialogPlus, PlDialog, PlForm, PlIcon, PlInput, PlInputPlus, PlLink, PlMultitab, PlRadio, PlScrollbar, PlSelect, PlSelectPlus, PlSkeleton, PlSkeletonIcon, PlSkeletonControl, PlSkeletonTextCell, PlSkeletonText, PlSkeletonButton, PlSkeletonInput, PlSkeletonTabs, PlSkeletonUpload, PlSkeletonTagsChips, PlNotification, PlStepper, PlSuggestions, PlSwitch, PlTabPane, PlTablePlugin, PlTablePlus, PlTabs, PlTextPlugin, PlTooltip, PlUpload, PlUploadLegacy, PlUploadPlus, PlTooltipPlus, PlMultiSelect, PlMarkText, PlPagination, PlSigning, PlTagsChips, PlOnboarding, PlNavigation, PlNavButton, PlSidebarItem, TLogo, PlTextCell, PlButtonDropdown, PlProgress, };
|
118
|
+
export { PlButton, PlCurrency, PlAutocomplete, PlCard, PlCheckbox, PlCheckboxPlus, PlDatePickerPlugin, PlDatePickerLegacyPlugin, PlDatePickerPlusPlugin, PlDialogPlus, PlDialog, PlForm, PlIcon, PlInput, PlInputPlus, PlLink, PlMultitab, PlRadio, PlScrollbar, PlSelect, PlSelectPlus, PlSkeleton, PlSkeletonIcon, PlSkeletonControl, PlSkeletonTextCell, PlSkeletonText, PlSkeletonButton, PlSkeletonInput, PlSkeletonTabs, PlSkeletonUpload, PlSkeletonTagsChips, PlNotification, PlStepper, PlSuggestions, PlSwitch, PlTabPane, PlTablePlugin, PlTablePlus, PlTabs, PlTextPlugin, PlTooltip, PlUpload, PlUploadLegacy, PlUploadPlus, PlTooltipPlus, PlMultiSelect, PlMarkText, PlPagination, PlSigning, PlTagsChips, PlOnboarding, PlNavigation, PlNavButton, PlSidebarItem, TLogo, PlTextCell, PlButtonDropdown, PlProgress, PlBanner, };
|
@@ -0,0 +1,101 @@
|
|
1
|
+
import { TBannerProps, ICustomColors } from './types';
|
2
|
+
|
3
|
+
export declare const PlBanner: import('../../../install-function').SFCInstallWithContext<import('vue').DefineComponent<{
|
4
|
+
type: {
|
5
|
+
type: import('vue').PropType<"info" | "success" | "warning" | "interactive" | "critical" | "custom">;
|
6
|
+
default: string;
|
7
|
+
};
|
8
|
+
title: {
|
9
|
+
type: import('vue').PropType<string>;
|
10
|
+
default: string;
|
11
|
+
};
|
12
|
+
icon: {
|
13
|
+
type: import('vue').PropType<import('../../components').TIcon>;
|
14
|
+
default: string;
|
15
|
+
};
|
16
|
+
width: {
|
17
|
+
type: import('vue').PropType<string>;
|
18
|
+
default: string;
|
19
|
+
};
|
20
|
+
description: {
|
21
|
+
type: import('vue').PropType<string>;
|
22
|
+
default: string;
|
23
|
+
};
|
24
|
+
buttonText: {
|
25
|
+
type: import('vue').PropType<string>;
|
26
|
+
default: string;
|
27
|
+
};
|
28
|
+
closeButton: {
|
29
|
+
type: import('vue').PropType<boolean>;
|
30
|
+
default: boolean;
|
31
|
+
};
|
32
|
+
customColors: {
|
33
|
+
type: import('vue').PropType<ICustomColors>;
|
34
|
+
};
|
35
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
36
|
+
close: () => void;
|
37
|
+
buttonClicked: () => void;
|
38
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
39
|
+
type: {
|
40
|
+
type: import('vue').PropType<"info" | "success" | "warning" | "interactive" | "critical" | "custom">;
|
41
|
+
default: string;
|
42
|
+
};
|
43
|
+
title: {
|
44
|
+
type: import('vue').PropType<string>;
|
45
|
+
default: string;
|
46
|
+
};
|
47
|
+
icon: {
|
48
|
+
type: import('vue').PropType<import('../../components').TIcon>;
|
49
|
+
default: string;
|
50
|
+
};
|
51
|
+
width: {
|
52
|
+
type: import('vue').PropType<string>;
|
53
|
+
default: string;
|
54
|
+
};
|
55
|
+
description: {
|
56
|
+
type: import('vue').PropType<string>;
|
57
|
+
default: string;
|
58
|
+
};
|
59
|
+
buttonText: {
|
60
|
+
type: import('vue').PropType<string>;
|
61
|
+
default: string;
|
62
|
+
};
|
63
|
+
closeButton: {
|
64
|
+
type: import('vue').PropType<boolean>;
|
65
|
+
default: boolean;
|
66
|
+
};
|
67
|
+
customColors: {
|
68
|
+
type: import('vue').PropType<ICustomColors>;
|
69
|
+
};
|
70
|
+
}>> & {
|
71
|
+
onClose?: () => any;
|
72
|
+
onButtonClicked?: () => any;
|
73
|
+
}, {
|
74
|
+
type: "info" | "success" | "warning" | "interactive" | "critical" | "custom";
|
75
|
+
title: string;
|
76
|
+
icon: import('../../components').TIcon;
|
77
|
+
width: string;
|
78
|
+
description: string;
|
79
|
+
buttonText: string;
|
80
|
+
closeButton: boolean;
|
81
|
+
}, {}>>;
|
82
|
+
export default PlBanner;
|
83
|
+
export type { TBannerProps, ICustomColors };
|
84
|
+
declare module 'vue' {
|
85
|
+
interface GlobalComponents {
|
86
|
+
/**
|
87
|
+
* Свойства баннера.
|
88
|
+
*
|
89
|
+
* @property type - Тип баннера: определяет стиль отображения. Может быть:
|
90
|
+
* 'info' | 'interactive' | 'success' | 'warning' | 'critical' | 'custom'
|
91
|
+
* @property title - Заголовок баннера
|
92
|
+
* @property description - Описание или дополнительный текст баннера
|
93
|
+
* @property buttonText - Текст кнопки действия
|
94
|
+
* @property icon - Иконка, отображаемая в баннере
|
95
|
+
* @property width - Ширина баннера (CSS-значение, например '100%', '400px')
|
96
|
+
* @property closeButton - Показывать ли кнопку закрытия (крестик)
|
97
|
+
* @property customColors - Пользовательские цвета для баннера (используется, если тип 'custom')
|
98
|
+
*/
|
99
|
+
PlBanner: import('vue').DefineComponent<TBannerProps>;
|
100
|
+
}
|
101
|
+
}
|
@@ -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,70 @@
|
|
1
|
+
import { TIcon } from '../../../shared/pl-icon';
|
2
|
+
|
3
|
+
/**
|
4
|
+
* Интерфейс для задания пользовательских цветов различных элементов UI.
|
5
|
+
*/
|
6
|
+
export declare interface ICustomColors {
|
7
|
+
/**
|
8
|
+
* @property backgroundBanner - Цвет фона баннера
|
9
|
+
*/
|
10
|
+
backgroundBanner?: string;
|
11
|
+
/**
|
12
|
+
* @property backgroundButton - Цвет фона кнопки
|
13
|
+
*/
|
14
|
+
backgroundButton?: string;
|
15
|
+
/**
|
16
|
+
* @property borderButton - Цвет обводки кнопки
|
17
|
+
*/
|
18
|
+
borderButton?: string;
|
19
|
+
/**
|
20
|
+
* @property textButton - Цвет текста кнопки
|
21
|
+
*/
|
22
|
+
textButton?: string;
|
23
|
+
/**
|
24
|
+
* @property icon - Цвет иконки
|
25
|
+
*/
|
26
|
+
icon?: string;
|
27
|
+
/**
|
28
|
+
* @property descriptionColor - Цвет описания
|
29
|
+
*/
|
30
|
+
textDescription?: string;
|
31
|
+
/**
|
32
|
+
* @property titleColor - Цвет заголовка
|
33
|
+
*/
|
34
|
+
textTitle?: string;
|
35
|
+
}
|
36
|
+
export declare interface TBannerProps {
|
37
|
+
/**
|
38
|
+
* @property type - Тип баннера: определяет стиль отображения. Может быть:
|
39
|
+
* 'info' | 'interactive' | 'success' | 'warning' | 'critical' | 'custom'
|
40
|
+
*/
|
41
|
+
type?: 'info' | 'interactive' | 'success' | 'warning' | 'critical' | 'custom';
|
42
|
+
/**
|
43
|
+
* @property title - Заголовок баннера
|
44
|
+
*/
|
45
|
+
title?: string;
|
46
|
+
/**
|
47
|
+
* @property description - Описание или дополнительный текст баннера
|
48
|
+
*/
|
49
|
+
description?: string;
|
50
|
+
/**
|
51
|
+
* @property buttonText - Текст кнопки действия
|
52
|
+
*/
|
53
|
+
buttonText?: string;
|
54
|
+
/**
|
55
|
+
* @property icon - Иконка, отображаемая в баннере
|
56
|
+
*/
|
57
|
+
icon?: TIcon;
|
58
|
+
/**
|
59
|
+
* @property width - Ширина баннера (CSS-значение, например '100%', '400px')
|
60
|
+
*/
|
61
|
+
width?: string;
|
62
|
+
/**
|
63
|
+
* @property closeButton - Показывать ли кнопку закрытия (крестик)
|
64
|
+
*/
|
65
|
+
closeButton?: boolean;
|
66
|
+
/**
|
67
|
+
* @property customColors - Пользовательские цвета для баннера (используется, если тип 'custom')
|
68
|
+
*/
|
69
|
+
customColors?: ICustomColors;
|
70
|
+
}
|
@@ -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;
|
package/dist/src/components/form/pl-autocomplete/components/pl-autocomplete-dropdown.vue.d.ts
CHANGED
@@ -34,11 +34,11 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
34
34
|
id: string;
|
35
35
|
disableMarkerBottom: boolean;
|
36
36
|
focus: boolean;
|
37
|
-
helpertext: string;
|
38
37
|
uniqKey: string;
|
39
38
|
query: string;
|
40
39
|
suggestionList: IOption[];
|
41
40
|
symbolsCountSearch: string | number;
|
41
|
+
helpertext: string;
|
42
42
|
errors: import('async-validator').ValidateError[];
|
43
43
|
loadingSuggestions: boolean;
|
44
44
|
}, {}>;
|
@@ -40,9 +40,9 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
40
40
|
leftIcon: import('../../../components').TIcon;
|
41
41
|
prop: string;
|
42
42
|
clearable: boolean;
|
43
|
-
inputClass: string;
|
44
43
|
memoryBlur: boolean;
|
45
44
|
showError: number;
|
45
|
+
inputClass: string;
|
46
46
|
}, {}>;
|
47
47
|
export default _default;
|
48
48
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
@@ -67,17 +67,17 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
67
67
|
disableMarkerBottom: boolean;
|
68
68
|
teleport: boolean;
|
69
69
|
prop: string;
|
70
|
-
|
71
|
-
optional: string;
|
70
|
+
uniqKey: string;
|
72
71
|
tooltip: string;
|
73
72
|
clearable: boolean;
|
74
|
-
uniqKey: string;
|
75
|
-
inputClass: string;
|
76
73
|
suggestionList: IOption[];
|
77
74
|
symbolsCountSearch: number;
|
78
75
|
noData: string;
|
79
76
|
memoryBlur: boolean;
|
77
|
+
inputClass: string;
|
78
|
+
helpertext: string;
|
80
79
|
defaultDropText: string;
|
80
|
+
optional: string;
|
81
81
|
}, {}>, {
|
82
82
|
"tooltip-text"?(_: {}): any;
|
83
83
|
}>;
|
@@ -53,11 +53,11 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
53
53
|
width: string;
|
54
54
|
placeholder: string;
|
55
55
|
prop: string;
|
56
|
-
|
57
|
-
optional: string;
|
56
|
+
showInput: boolean;
|
58
57
|
tooltip: string;
|
59
58
|
clearable: boolean;
|
60
|
-
|
59
|
+
helpertext: string;
|
60
|
+
optional: string;
|
61
61
|
monthSwitch: boolean;
|
62
62
|
yearSwitch: boolean;
|
63
63
|
disabledDate: (date: string) => boolean;
|
@@ -55,11 +55,11 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
55
55
|
width: string;
|
56
56
|
placeholder: string;
|
57
57
|
prop: string;
|
58
|
-
|
59
|
-
optional: string;
|
58
|
+
showInput: boolean;
|
60
59
|
tooltip: string;
|
61
60
|
clearable: boolean;
|
62
|
-
|
61
|
+
helpertext: string;
|
62
|
+
optional: string;
|
63
63
|
focusOnReset: boolean;
|
64
64
|
periods: boolean;
|
65
65
|
periodOptions: string[];
|