@factoringplus/pl-components-pack-v3 2.0.0-pre-optimized-03 → 2.0.0-pre-optimized-05-icons
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-actual-cades-plugin-f37e7196.js → crypto-pro-actual-cades-plugin-4d6aeebd.js} +1 -1
- package/dist/{crypto-pro-actual-cades-plugin-db03cd05.cjs → crypto-pro-actual-cades-plugin-bd9e98c5.cjs} +1 -1
- package/dist/{entry-1dd56413.js → entry-7d2e8bee.js} +6736 -6579
- package/dist/entry-98d6b3c8.cjs +47 -0
- package/dist/pl-components-pack-v3.cjs.js +1 -1
- package/dist/pl-components-pack-v3.es.js +563 -552
- package/dist/src/components/basic/pl-dialog/pl-dialog-plus.vue.d.ts +1 -1
- package/dist/src/components/components.d.ts +3 -3
- package/dist/src/components/data/pl-onboarding/pl-onboarding.vue.d.ts +8 -0
- package/dist/src/components/form/pl-input-plus/components/pl-currency.vue.d.ts +3 -0
- package/dist/src/components/form/pl-input-plus/types/index.d.ts +1 -0
- package/dist/src/components/form/pl-select-plus/index.d.ts +2 -0
- package/dist/src/components/shared/pl-icon/assets-map/20/CalendarEdit20.d.ts +3 -0
- package/dist/src/components/shared/pl-icon/assets-map/20/GoldenApple20.d.ts +3 -0
- package/dist/src/components/shared/pl-icon/assets-map/24/CalendarEdit24.d.ts +3 -0
- package/dist/src/components/shared/pl-icon/assets-map/24/Diagram24.d.ts +3 -0
- package/dist/src/components/shared/pl-icon/assets-map/24/Files24.d.ts +3 -0
- package/dist/src/components/shared/pl-icon/assets-map/24/GoldenApple24.d.ts +3 -0
- package/dist/src/components/shared/pl-icon/assets-map/24/ShoppingBag24.d.ts +3 -0
- package/dist/src/components/shared/pl-icon/assets-map/32/GoldenApple32.d.ts +3 -0
- package/dist/src/components/shared/pl-icon/assets-map/32/PlusCircle32.d.ts +3 -0
- package/dist/src/components/shared/pl-icon/assets-map/40/GoldenApple40.d.ts +3 -0
- package/dist/src/components/shared/pl-icon/assets-map/56/GoldenApple56.d.ts +3 -0
- package/dist/src/components/shared/pl-icon/assets-map/index.d.ts +11 -0
- package/dist/src/components/shared/pl-icon/index.d.ts +1 -1
- package/dist/src/components/shared/pl-icon/types/index.d.ts +1 -1
- package/dist/src/components/shared/pl-status-icon/index.d.ts +67 -0
- package/dist/src/components/shared/pl-status-icon/pl-status-icon.vue.d.ts +31 -0
- package/dist/src/components/shared/pl-status-icon/types/index.d.ts +42 -0
- package/dist/src/utils/screenSizes.d.ts +1 -0
- package/dist/style.css +1 -1
- package/package.json +3 -3
- package/dist/entry-15928fe9.cjs +0 -47
- package/dist/src/components/data/pl-card/index.d.ts +0 -6
|
@@ -62,7 +62,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
62
62
|
"onClose-modal"?: (...args: any[]) => any;
|
|
63
63
|
}, {
|
|
64
64
|
icon: TIcon;
|
|
65
|
-
type: "
|
|
65
|
+
type: "status" | "standart" | "illustration" | "side";
|
|
66
66
|
loading: boolean;
|
|
67
67
|
modelValue: boolean;
|
|
68
68
|
width: string;
|
|
@@ -24,7 +24,6 @@ import { default as PlSwitch } from './form/pl-switch';
|
|
|
24
24
|
import { default as PlForm } from './form/pl-form';
|
|
25
25
|
import { default as PlUploadPlus } from './form/pl-upload-plus';
|
|
26
26
|
import { default as PlSelectPlus } from './form/pl-select-plus';
|
|
27
|
-
import { default as PlCard } from './data/pl-card';
|
|
28
27
|
import { default as PlMultitab } from './data/pl-multitab';
|
|
29
28
|
import { default as PlNotification } from './data/pl-snackbar';
|
|
30
29
|
import { default as PlTablePlus } from './data/pl-table-plus';
|
|
@@ -44,6 +43,7 @@ import { default as PlIcon } from './shared/pl-icon';
|
|
|
44
43
|
import { default as PlTextPlugin } from './shared/pl-text';
|
|
45
44
|
import { default as PlMarkText } from './shared/pl-mark-text';
|
|
46
45
|
import { default as PlTabPane } from './shared/pl-tab-pane';
|
|
46
|
+
import { default as PlStatusIcon } from './shared/pl-status-icon';
|
|
47
47
|
|
|
48
48
|
export * from './basic/pl-button';
|
|
49
49
|
export * from './basic/pl-button-dropdown';
|
|
@@ -62,7 +62,6 @@ export * from './form/pl-select-plus';
|
|
|
62
62
|
export * from './form/pl-switch';
|
|
63
63
|
export * from './form/pl-upload-plus';
|
|
64
64
|
export * from './data/pl-signing';
|
|
65
|
-
export * from './data/pl-card';
|
|
66
65
|
export * from './data/pl-table-plus/components/Pagination';
|
|
67
66
|
export * from './data/pl-tags-chips';
|
|
68
67
|
export * from './data/pl-onboarding';
|
|
@@ -81,6 +80,7 @@ export * from './shared/pl-icon';
|
|
|
81
80
|
export * from './shared/pl-text';
|
|
82
81
|
export * from './shared/pl-mark-text';
|
|
83
82
|
export * from './shared/pl-tab-pane';
|
|
83
|
+
export * from './shared/pl-status-icon';
|
|
84
84
|
export * from '../utils/formatCurrency';
|
|
85
85
|
export * from '../utils/declOfNum';
|
|
86
86
|
export * from '../utils/isEqual';
|
|
@@ -89,4 +89,4 @@ export * from '../utils/deepSet';
|
|
|
89
89
|
export * from '../utils/dadataParser';
|
|
90
90
|
export * from '../plugins/filters';
|
|
91
91
|
export * from '../plugins/api/api';
|
|
92
|
-
export { PlButton, PlAutocomplete,
|
|
92
|
+
export { PlButton, PlAutocomplete, PlCheckboxPlus, PlDatePickerPlusPlugin, PlDialogPlus, PlForm, PlIcon, PlInputPlus, PlLink, PlMultitab, PlRadio, PlScrollbar, PlSelectPlus, PlSkeleton, PlSkeletonIcon, PlSkeletonControl, PlSkeletonTextCell, PlSkeletonText, PlSkeletonButton, PlSkeletonInput, PlSkeletonTabs, PlSkeletonUpload, PlSkeletonTagsChips, PlNotification, PlSwitch, PlTabPane, PlTablePlus, PlTabs, PlTextPlugin, PlUploadPlus, PlTooltipPlus, PlMultiSelect, PlMarkText, PlPagination, PlSigning, PlTagsChips, PlOnboarding, PlNavigation, PlNavButton, PlSidebarItem, TLogo, PlTextCell, PlButtonDropdown, PlProgress, PlBanner, PlStatusIcon, };
|
|
@@ -9,6 +9,8 @@ interface IProps {
|
|
|
9
9
|
slides: ISlide[];
|
|
10
10
|
currentItem?: number;
|
|
11
11
|
hideCloseButton?: boolean;
|
|
12
|
+
overlay?: boolean;
|
|
13
|
+
borderRadius?: string;
|
|
12
14
|
}
|
|
13
15
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
|
|
14
16
|
show: boolean;
|
|
@@ -16,6 +18,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
16
18
|
title: string;
|
|
17
19
|
currentItem: number;
|
|
18
20
|
hideCloseButton: boolean;
|
|
21
|
+
overlay: boolean;
|
|
22
|
+
borderRadius: string;
|
|
19
23
|
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
20
24
|
close: (...args: any[]) => void;
|
|
21
25
|
"update:show": (...args: any[]) => void;
|
|
@@ -27,6 +31,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
27
31
|
title: string;
|
|
28
32
|
currentItem: number;
|
|
29
33
|
hideCloseButton: boolean;
|
|
34
|
+
overlay: boolean;
|
|
35
|
+
borderRadius: string;
|
|
30
36
|
}>>> & {
|
|
31
37
|
onClose?: (...args: any[]) => any;
|
|
32
38
|
"onUpdate:show"?: (...args: any[]) => any;
|
|
@@ -34,10 +40,12 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
34
40
|
onNext?: (...args: any[]) => any;
|
|
35
41
|
}, {
|
|
36
42
|
title: string;
|
|
43
|
+
borderRadius: string;
|
|
37
44
|
placement: "left" | "right" | "top" | "top-right" | "top-left" | "right-top" | "right-bottom" | "bottom-left" | "bottom" | "bottom-right" | "left-bottom" | "left-top";
|
|
38
45
|
show: boolean;
|
|
39
46
|
currentItem: number;
|
|
40
47
|
hideCloseButton: boolean;
|
|
48
|
+
overlay: boolean;
|
|
41
49
|
}, {}>, {
|
|
42
50
|
default?(_: {}): any;
|
|
43
51
|
}>;
|
|
@@ -5,6 +5,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
5
5
|
placeholder: string;
|
|
6
6
|
disabled: boolean;
|
|
7
7
|
leftIcon: string;
|
|
8
|
+
rightIcon: string;
|
|
8
9
|
round: boolean;
|
|
9
10
|
inputClass: string;
|
|
10
11
|
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -16,6 +17,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
16
17
|
placeholder: string;
|
|
17
18
|
disabled: boolean;
|
|
18
19
|
leftIcon: string;
|
|
20
|
+
rightIcon: string;
|
|
19
21
|
round: boolean;
|
|
20
22
|
inputClass: string;
|
|
21
23
|
}>>> & {
|
|
@@ -26,6 +28,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
26
28
|
disabled: boolean;
|
|
27
29
|
placeholder: string;
|
|
28
30
|
leftIcon: import('../../../components').TIcon;
|
|
31
|
+
rightIcon: import('../../../components').TIcon;
|
|
29
32
|
prop: string;
|
|
30
33
|
inputClass: string;
|
|
31
34
|
round: boolean;
|
|
@@ -55,6 +55,7 @@ export interface IPlDefaultProps extends IBaseInputProps {
|
|
|
55
55
|
export interface IPlCurrencyProps extends IBaseInputProps {
|
|
56
56
|
id: string;
|
|
57
57
|
leftIcon?: TIcon;
|
|
58
|
+
rightIcon?: TIcon;
|
|
58
59
|
round?: boolean;
|
|
59
60
|
valueRange?: NumberRange;
|
|
60
61
|
currencyInputOptions?: CurrencyInputOptions;
|
|
@@ -128,6 +128,7 @@ export { default as Block20 } from './20/Block20';
|
|
|
128
128
|
export { default as Box20 } from './20/Box20';
|
|
129
129
|
export { default as Bulb20 } from './20/Bulb20';
|
|
130
130
|
export { default as Calendar20 } from './20/Calendar20';
|
|
131
|
+
export { default as CalendarEdit20 } from './20/CalendarEdit20';
|
|
131
132
|
export { default as Chart20 } from './20/Chart20';
|
|
132
133
|
export { default as Chat20 } from './20/Chat20';
|
|
133
134
|
export { default as Check20 } from './20/Check20';
|
|
@@ -159,6 +160,7 @@ export { default as Exit20 } from './20/Exit20';
|
|
|
159
160
|
export { default as Eye20 } from './20/Eye20';
|
|
160
161
|
export { default as EyeCrossed20 } from './20/EyeCrossed20';
|
|
161
162
|
export { default as Filter20 } from './20/Filter20';
|
|
163
|
+
export { default as GoldenApple20 } from './20/GoldenApple20';
|
|
162
164
|
export { default as Grid20 } from './20/Grid20';
|
|
163
165
|
export { default as GridTwo20 } from './20/GridTwo20';
|
|
164
166
|
export { default as Group20 } from './20/Group20';
|
|
@@ -239,6 +241,7 @@ export { default as Block24 } from './24/Block24';
|
|
|
239
241
|
export { default as Box24 } from './24/Box24';
|
|
240
242
|
export { default as Bulb24 } from './24/Bulb24';
|
|
241
243
|
export { default as Calendar24 } from './24/Calendar24';
|
|
244
|
+
export { default as CalendarEdit24 } from './24/CalendarEdit24';
|
|
242
245
|
export { default as Chart24 } from './24/Chart24';
|
|
243
246
|
export { default as Chat24 } from './24/Chat24';
|
|
244
247
|
export { default as Check24 } from './24/Check24';
|
|
@@ -258,6 +261,7 @@ export { default as Connection24 } from './24/Connection24';
|
|
|
258
261
|
export { default as Copy24 } from './24/Copy24';
|
|
259
262
|
export { default as Cube24 } from './24/Cube24';
|
|
260
263
|
export { default as Dashboard24 } from './24/Dashboard24';
|
|
264
|
+
export { default as Diagram24 } from './24/Diagram24';
|
|
261
265
|
export { default as Document24 } from './24/Document24';
|
|
262
266
|
export { default as DotsHorizontal24 } from './24/DotsHorizontal24';
|
|
263
267
|
export { default as DotsVertical24 } from './24/DotsVertical24';
|
|
@@ -267,7 +271,9 @@ export { default as Exel24 } from './24/Exel24';
|
|
|
267
271
|
export { default as Exit24 } from './24/Exit24';
|
|
268
272
|
export { default as Eye24 } from './24/Eye24';
|
|
269
273
|
export { default as EyeCrossed24 } from './24/EyeCrossed24';
|
|
274
|
+
export { default as Files24 } from './24/Files24';
|
|
270
275
|
export { default as Filter24 } from './24/Filter24';
|
|
276
|
+
export { default as GoldenApple24 } from './24/GoldenApple24';
|
|
271
277
|
export { default as Grid24 } from './24/Grid24';
|
|
272
278
|
export { default as GridTwo24 } from './24/GridTwo24';
|
|
273
279
|
export { default as Group24 } from './24/Group24';
|
|
@@ -310,6 +316,7 @@ export { default as Settings24 } from './24/Settings24';
|
|
|
310
316
|
export { default as Share24 } from './24/Share24';
|
|
311
317
|
export { default as ShareOne24 } from './24/ShareOne24';
|
|
312
318
|
export { default as Shield24 } from './24/Shield24';
|
|
319
|
+
export { default as ShoppingBag24 } from './24/ShoppingBag24';
|
|
313
320
|
export { default as Sidebar24 } from './24/Sidebar24';
|
|
314
321
|
export { default as Sort24 } from './24/Sort24';
|
|
315
322
|
export { default as SortThree24 } from './24/SortThree24';
|
|
@@ -379,6 +386,7 @@ export { default as Facebook32 } from './32/Facebook32';
|
|
|
379
386
|
export { default as Factoring32 } from './32/Factoring32';
|
|
380
387
|
export { default as Filter32 } from './32/Filter32';
|
|
381
388
|
export { default as FilterTwo32 } from './32/FilterTwo32';
|
|
389
|
+
export { default as GoldenApple32 } from './32/GoldenApple32';
|
|
382
390
|
export { default as Grid32 } from './32/Grid32';
|
|
383
391
|
export { default as GridTwo32 } from './32/GridTwo32';
|
|
384
392
|
export { default as Group32 } from './32/Group32';
|
|
@@ -406,6 +414,7 @@ export { default as Ozon32 } from './32/Ozon32';
|
|
|
406
414
|
export { default as Picture32 } from './32/Picture32';
|
|
407
415
|
export { default as Pin32 } from './32/Pin32';
|
|
408
416
|
export { default as Plus32 } from './32/Plus32';
|
|
417
|
+
export { default as PlusCircle32 } from './32/PlusCircle32';
|
|
409
418
|
export { default as Print32 } from './32/Print32';
|
|
410
419
|
export { default as Question32 } from './32/Question32';
|
|
411
420
|
export { default as Rotate32 } from './32/Rotate32';
|
|
@@ -486,6 +495,7 @@ export { default as Facebook40 } from './40/Facebook40';
|
|
|
486
495
|
export { default as Factoring40 } from './40/Factoring40';
|
|
487
496
|
export { default as Filter40 } from './40/Filter40';
|
|
488
497
|
export { default as FilterTwo40 } from './40/FilterTwo40';
|
|
498
|
+
export { default as GoldenApple40 } from './40/GoldenApple40';
|
|
489
499
|
export { default as Grid40 } from './40/Grid40';
|
|
490
500
|
export { default as GridTwo40 } from './40/GridTwo40';
|
|
491
501
|
export { default as Group40 } from './40/Group40';
|
|
@@ -544,6 +554,7 @@ export { default as WarningTriangle40 } from './40/WarningTriangle40';
|
|
|
544
554
|
export { default as WB40 } from './40/WB40';
|
|
545
555
|
export { default as Yandex40 } from './40/Yandex40';
|
|
546
556
|
export { default as Youtube40 } from './40/Youtube40';
|
|
557
|
+
export { default as GoldenApple56 } from './56/GoldenApple56';
|
|
547
558
|
export { default as Lamoda56 } from './56/Lamoda56';
|
|
548
559
|
export { default as Ozon56 } from './56/Ozon56';
|
|
549
560
|
export { default as WB56 } from './56/WB56';
|
|
@@ -25,7 +25,7 @@ export declare const PlIcon: import('../../../install-function').SFCInstallWithC
|
|
|
25
25
|
}>>, {}, {}>>;
|
|
26
26
|
export default PlIcon;
|
|
27
27
|
export type { TIconProps, TIcon };
|
|
28
|
-
export * from './assets-map';
|
|
28
|
+
export * from './assets-map/index';
|
|
29
29
|
declare module 'vue' {
|
|
30
30
|
interface GlobalComponents {
|
|
31
31
|
/**
|
|
@@ -12,4 +12,4 @@ export declare type TIconProps = {
|
|
|
12
12
|
*/
|
|
13
13
|
icon?: any;
|
|
14
14
|
};
|
|
15
|
-
export declare type TIcon = '' | 'Close16' | 'User20' | 'Group20' | 'Edit20' | 'BlankPan20' | 'Support20' | 'HandKey20' | 'Lock20' | 'Connection20' | 'Picture20' | 'Ruble20' | 'Document20' | 'Clip20' | 'USB20' | 'Layers20' | 'BlankKey20' | 'BlankChat20' | 'BlankCheck20' | 'BlankLock20' | 'Calendar20' | 'MailCheck20' | 'Mail20' | 'HandTop20' | 'HandRight20' | 'Pin20' | 'Rotate20' | 'Search20' | 'ArrowTop20' | 'ArrowRight20' | 'ArrowLeft20' | 'ArrowBottom20' | 'Settings20' | 'Chart20' | 'Exit20' | 'WarningTriangle20' | 'WarningPolygon20' | 'WarningCircle20' | 'CircleCheck20' | 'Question20' | 'Library20' | 'Loader20' | 'Share20' | 'Saved20' | 'CloudDownload20' | 'Bin20' | 'Eye20' | 'EyeCrossed20' | 'Chat20' | 'Bell20' | 'DotsHorizontal20' | 'DotsVertical20' | 'Scheduled20' | 'Dashboard20' | 'Clock20' | 'Box20' | 'Sort20' | 'SortTwo20' | 'Filter20' | 'Grid20' | 'Hub20' | 'GridTwo20' | 'Home20' | 'Key20' | 'Bulb20' | 'Attachment20' | 'Download20' | 'Link20' | 'Copy20' | 'Telegram20' | 'SortThree20' | 'Plus20' | 'Minus20' | 'Close20' | 'Check20' | 'Scroll20' | 'Print20' | 'Send20' | 'Block20' | 'Star20' | 'Sticker20' | 'ChevronDoubleLeft20' | 'Cube20' | 'Menu20' | 'AlertFill20' | 'Main20' | 'Wallet20' | 'Truck20' | 'Percent20' | 'Shield20' | 'ChevronDown20' | 'ChevronUp20' | 'ChevronLeft20' | 'ChevronRight20' | 'CreditCard20' | 'Zap20' | 'User24' | 'Group24' | 'Edit24' | 'BlankPan24' | 'Support24' | 'HandKey24' | 'Lock24' | 'Connection24' | 'Picture24' | 'Ruble24' | 'Document24' | 'Clip24' | 'Bell24' | 'USB24' | 'Layers24' | 'BlankKey24' | 'BlankChat24' | 'BlankCheck24' | 'BlankLock24' | 'Calendar24' | 'MailCheck24' | 'Mail24' | 'HandTop24' | 'HandRight24' | 'Pin24' | 'Rotate24' | 'Search24' | 'ArrowTop24' | 'ArrowRight24' | 'ArrowLeft24' | 'ArrowBottom24' | 'Settings24' | 'Chart24' | 'Exit24' | 'WarningTriangle24' | 'WarningPolygon24' | 'WarningCircle24' | 'CircleCheck24' | 'Question24' | 'Library24' | 'Loader24' | 'Share24' | 'Saved24' | 'CloudDownload24' | 'Bin24' | 'Eye24' | 'EyeCrossed24' | 'Chat24' | 'DotsHorizontal24' | 'DotsVertical24' | 'Scheduled24' | 'Dashboard24' | 'Clock24' | 'Box24' | 'Sort24' | 'SortTwo24' | 'Filter24' | 'Grid24' | 'Hub24' | 'GridTwo24' | 'Home24' | 'Key24' | 'Bulb24' | 'Attachment24' | 'Download24' | 'Link24' | 'Copy24' | 'Telegram24' | 'SortThree24' | 'Plus24' | 'Minus24' | 'Close24' | 'Check24' | 'Scroll24' | 'Print24' | 'Send24' | 'Block24' | 'Star24' | 'Sticker24' | 'ChevronDoubleLeft24' | 'ChevronDoubleRight24' | 'Cube24' | 'Menu24' | 'AlertFill24' | 'Main24' | 'Wallet24' | 'Truck24' | 'Percent24' | 'Shield24' | 'ChevronDown24' | 'ChevronUp24' | 'ChevronLeft24' | 'ChevronRight24' | 'Word24' | 'Exel24' | 'PDF24' | 'JPG24' | 'PNG24' | 'Info24' | 'WB20' | 'Ozon20' | 'Yandex20' | 'WB24' | 'Ozon24' | 'Yandex24' | 'WB40' | 'Ozon40' | 'Yandex40' | 'WB56' | 'Ozon56' | 'Yandex56' | 'Attachment32' | 'Bell32' | 'Bin32' | 'BlankChat32' | 'BlankCheck32' | 'BlankKey32' | 'BlankLock32' | 'BlankPan32' | 'Block32' | 'Box32' | 'Bulb32' | 'Bulb40' | 'Calendar32' | 'Chart32' | 'Chat32' | 'Chat40' | 'Check32' | 'CheckCircle32' | 'Connection32' | 'Copy32' | 'CreditCard32' | 'CreditCard40' | 'Dashboard32' | 'Document32' | 'DotsHorizontal32' | 'DotsVertical32' | 'ChevronDoubleLeft32' | 'Download32' | 'Edit32' | 'Exit32' | 'Eye32' | 'EyeCrossed32' | 'Filter32' | 'FilterTwo32' | 'Grid32' | 'GridTwo32' | 'Grid40' | 'GridTwo40' | 'Group32' | 'HandKey32' | 'HandRight32' | 'HandTop32' | 'Home32' | 'Hub32' | 'Hub40' | 'Key32' | 'Layers32' | 'Library32' | 'Link32' | 'Link40' | 'Loader32' | 'Lock32' | 'Mail32' | 'MailCheck32' | 'Menu32' | 'Minus32' | 'Notification32' | 'Picture32' | 'Pin32' | 'Plus32' | 'Print32' | 'Question32' | 'Rotate32' | 'Ruble32' | 'Sample32' | 'Saved32' | 'Scheduled32' | 'Scroll32' | 'Search32' | 'Send32' | 'Settings32' | 'Share32' | 'ShareTwo32' | 'Sort32' | 'SortTwo32' | 'Star32' | 'Sticker32' | 'Support32' | 'USB32' | 'User32' | 'WarningCircle32' | 'WarningPolygon32' | 'WarningTriangle32' | 'BankAccount32' | 'ChevronDown32' | 'ChevronLeft32' | 'ChevronRight32' | 'ChevronUp32' | 'ArrowBottom32' | 'ArrowLeft32' | 'ArrowRight32' | 'ArrowTop32' | 'ArrowTopRight32' | 'Credit32' | 'Factoring32' | 'Guarantees32' | 'Facebook32' | 'Instagram32' | 'Telegram32' | 'VK32' | 'Youtube32' | 'Attachment40' | 'Bell40' | 'Bin40' | 'BlankChat40' | 'BlankCheck40' | 'BlankKey40' | 'BlankLock40' | 'BlankPan40' | 'Block40' | 'Box40' | 'Calendar40' | 'Chart40' | 'Check40' | 'CheckCircle40' | 'Clip40' | 'Clock40' | 'Close40' | 'CloudDownload40' | 'Connection40' | 'Copy40' | 'Dashboard40' | 'Document40' | 'DotsHorizontal40' | 'DotsVertical40' | 'ChevronDoubleLeft40' | 'Download40' | 'Edit40' | 'Exit40' | 'Eye40' | 'EyeCrossed40' | 'Filter40' | 'FilterTwo40' | 'Group40' | 'HandKey40' | 'HandRight40' | 'HandTop40' | 'Home40' | 'Key40' | 'Layers40' | 'Library40' | 'Loader40' | 'Lock40' | 'Mail40' | 'MailCheck40' | 'Menu40' | 'Minus40' | 'Notification40' | 'Picture40' | 'Pin40' | 'Plus40' | 'Print40' | 'Question40' | 'Rotate40' | 'Ruble40' | 'Sample40' | 'Saved40' | 'Scheduled40' | 'Scroll40' | 'Search40' | 'Send40' | 'Settings40' | 'Share40' | 'ShareTwo40' | 'Sort40' | 'SortTwo40' | 'Star40' | 'Sticker40' | 'Support40' | 'USB40' | 'User40' | 'WarningCircle40' | 'WarningPolygon40' | 'WarningTriangle40' | 'ChevronDown40' | 'ChevronLeft40' | 'ChevronRight40' | 'ChevronUp40' | 'ArrowBottom40' | 'ArrowLeft40' | 'ArrowRight40' | 'ArrowTop40' | 'ArrowTopRight40' | 'BankAccount40' | 'Credit40' | 'Factoring40' | 'Guarantees40' | 'Facebook40' | 'Instagram40' | 'Telegram40' | 'VK40' | 'Youtube40' | 'Thunder20' | 'Thunder24' | 'Thunder32' | 'Thunder40' | 'Suitcase20' | 'Suitcase24' | 'Suitcase32' | 'Suitcase40' | 'Cloud20' | 'Cloud24' | 'Cloud32' | 'Cloud40' | 'AlertFill16' | 'Cube16' | 'ArrowBottom16' | 'ArrowLeft16' | 'ArrowRight16' | 'ArrowTop16' | 'Attachment16' | 'Bell16' | 'BellTwo16' | 'Bin16' | 'BlankChat16' | 'BlankCheck16' | 'BlankKey16' | 'BlankLock16' | 'BlankPan16' | 'Block16' | 'Box16' | 'Bulb16' | 'Calendar16' | 'Chart16' | 'Chat16' | 'Check16' | 'ChevronDown16' | 'ChevronDoubleLeft16' | 'ChevronLeft16' | 'ChevronRight16' | 'ChevronUp16' | 'CircleCheck16' | 'Clip16' | 'Clock16' | 'CloudDownload16' | 'Connection16' | 'Copy16' | 'Dashboard16' | 'Document16' | 'DotsHorizontal16' | 'DotsVertical16' | 'Download16' | 'Edit16' | 'Exit16' | 'Eye16' | 'EyeCrossed16' | 'Facebook16' | 'Filter16' | 'Grid16' | 'GridTwo16' | 'Group16' | 'HandKey16' | 'HandRight16' | 'HandTop16' | 'Home16' | 'Hub16' | 'Instagram16' | 'Key16' | 'Layers16' | 'Library16' | 'Link16' | 'Loader16' | 'Lock16' | 'Mail16' | 'MailCheck16' | 'Menu16' | 'MenuTwo16' | 'Minus16' | 'Notification16' | 'Picture16' | 'Pin16' | 'Plus16' | 'Print16' | 'Question16' | 'Rotate16' | 'Ruble16' | 'Saved16' | 'Scheduled16' | 'Scroll16' | 'Search16' | 'Send16' | 'Settings16' | 'Share16' | 'ShareTwo16' | 'Sort16' | 'SortThree16' | 'SortTwo16' | 'Star16' | 'Sticker16' | 'Support16' | 'Telegram16' | 'USB16' | 'User16' | 'VK16' | 'WarningTriangle16' | 'WarningCircle16' | 'WarningPolygon16' | 'Cloud16' | 'CreditCard16' | 'Factoring16' | 'Icon16' | 'Main16' | 'Percent16' | 'Shield16' | 'Suitcase16' | 'Thunder16' | 'Truck16' | 'Wallet16' | 'Zap16' | 'ChevronDoubleRight16' | 'ChevronDoubleRight20' | 'Sidebar20' | 'Sidebar16' | 'Sidebar32' | 'Sidebar40' | 'Info16' | 'Info20' | 'Info40' | 'Info32' | 'ArrowTopRight16' | 'ArrowTopRight20' | 'ArrowTopRight24' | 'Lamoda20' | 'Lamoda24' | 'Lamoda40' | 'Lamoda56' | 'CheckList20' | 'Update20' | 'AttachmentTwo20' | 'Comment20' | 'InfoTwo20' | 'Ozon32' | 'WB32' | 'Yandex32' | 'Lamoda32';
|
|
15
|
+
export declare type TIcon = '' | 'Close16' | 'User20' | 'Group20' | 'Edit20' | 'BlankPan20' | 'Support20' | 'HandKey20' | 'Lock20' | 'Connection20' | 'Picture20' | 'Ruble20' | 'Document20' | 'Clip20' | 'USB20' | 'Layers20' | 'BlankKey20' | 'BlankChat20' | 'BlankCheck20' | 'BlankLock20' | 'Calendar20' | 'MailCheck20' | 'Mail20' | 'HandTop20' | 'HandRight20' | 'Pin20' | 'Rotate20' | 'Search20' | 'ArrowTop20' | 'ArrowRight20' | 'ArrowLeft20' | 'ArrowBottom20' | 'Settings20' | 'Chart20' | 'Exit20' | 'WarningTriangle20' | 'WarningPolygon20' | 'WarningCircle20' | 'CircleCheck20' | 'Question20' | 'Library20' | 'Loader20' | 'Share20' | 'Saved20' | 'CloudDownload20' | 'Bin20' | 'Eye20' | 'EyeCrossed20' | 'Chat20' | 'Bell20' | 'DotsHorizontal20' | 'DotsVertical20' | 'Scheduled20' | 'Dashboard20' | 'Clock20' | 'Box20' | 'Sort20' | 'SortTwo20' | 'Filter20' | 'Grid20' | 'Hub20' | 'GridTwo20' | 'Home20' | 'Key20' | 'Bulb20' | 'Attachment20' | 'Download20' | 'Link20' | 'Copy20' | 'Telegram20' | 'SortThree20' | 'Plus20' | 'Minus20' | 'Close20' | 'Check20' | 'Scroll20' | 'Print20' | 'Send20' | 'Block20' | 'Star20' | 'Sticker20' | 'ChevronDoubleLeft20' | 'Cube20' | 'Menu20' | 'AlertFill20' | 'Main20' | 'Wallet20' | 'Truck20' | 'Percent20' | 'Shield20' | 'ChevronDown20' | 'ChevronUp20' | 'ChevronLeft20' | 'ChevronRight20' | 'CreditCard20' | 'Zap20' | 'User24' | 'Group24' | 'Edit24' | 'BlankPan24' | 'Support24' | 'HandKey24' | 'Lock24' | 'Connection24' | 'Picture24' | 'Ruble24' | 'Document24' | 'Clip24' | 'Bell24' | 'USB24' | 'Layers24' | 'BlankKey24' | 'BlankChat24' | 'BlankCheck24' | 'BlankLock24' | 'Calendar24' | 'MailCheck24' | 'Mail24' | 'HandTop24' | 'HandRight24' | 'Pin24' | 'Rotate24' | 'Search24' | 'ArrowTop24' | 'ArrowRight24' | 'ArrowLeft24' | 'ArrowBottom24' | 'Settings24' | 'Chart24' | 'Exit24' | 'WarningTriangle24' | 'WarningPolygon24' | 'WarningCircle24' | 'CircleCheck24' | 'Question24' | 'Library24' | 'Loader24' | 'Share24' | 'Saved24' | 'CloudDownload24' | 'Bin24' | 'Eye24' | 'EyeCrossed24' | 'Chat24' | 'DotsHorizontal24' | 'DotsVertical24' | 'Scheduled24' | 'Dashboard24' | 'Clock24' | 'Box24' | 'Sort24' | 'SortTwo24' | 'Filter24' | 'Grid24' | 'Hub24' | 'GridTwo24' | 'Home24' | 'Key24' | 'Bulb24' | 'Attachment24' | 'Download24' | 'Link24' | 'Copy24' | 'Telegram24' | 'SortThree24' | 'Plus24' | 'Minus24' | 'Close24' | 'Check24' | 'Scroll24' | 'Print24' | 'Send24' | 'Block24' | 'Star24' | 'Sticker24' | 'ChevronDoubleLeft24' | 'ChevronDoubleRight24' | 'Cube24' | 'Menu24' | 'AlertFill24' | 'Main24' | 'Wallet24' | 'Truck24' | 'Percent24' | 'Shield24' | 'ChevronDown24' | 'ChevronUp24' | 'ChevronLeft24' | 'ChevronRight24' | 'Word24' | 'Exel24' | 'PDF24' | 'JPG24' | 'PNG24' | 'Info24' | 'WB20' | 'Ozon20' | 'Yandex20' | 'WB24' | 'Ozon24' | 'Yandex24' | 'WB40' | 'Ozon40' | 'Yandex40' | 'WB56' | 'Ozon56' | 'Yandex56' | 'Attachment32' | 'Bell32' | 'Bin32' | 'BlankChat32' | 'BlankCheck32' | 'BlankKey32' | 'BlankLock32' | 'BlankPan32' | 'Block32' | 'Box32' | 'Bulb32' | 'Bulb40' | 'Calendar32' | 'Chart32' | 'Chat32' | 'Chat40' | 'Check32' | 'CheckCircle32' | 'Connection32' | 'Copy32' | 'CreditCard32' | 'CreditCard40' | 'Dashboard32' | 'Document32' | 'DotsHorizontal32' | 'DotsVertical32' | 'ChevronDoubleLeft32' | 'Download32' | 'Edit32' | 'Exit32' | 'Eye32' | 'EyeCrossed32' | 'Filter32' | 'FilterTwo32' | 'Grid32' | 'GridTwo32' | 'Grid40' | 'GridTwo40' | 'Group32' | 'HandKey32' | 'HandRight32' | 'HandTop32' | 'Home32' | 'Hub32' | 'Hub40' | 'Key32' | 'Layers32' | 'Library32' | 'Link32' | 'Link40' | 'Loader32' | 'Lock32' | 'Mail32' | 'MailCheck32' | 'Menu32' | 'Minus32' | 'Notification32' | 'Picture32' | 'Pin32' | 'Plus32' | 'Print32' | 'Question32' | 'Rotate32' | 'Ruble32' | 'Sample32' | 'Saved32' | 'Scheduled32' | 'Scroll32' | 'Search32' | 'Send32' | 'Settings32' | 'Share32' | 'ShareTwo32' | 'Sort32' | 'SortTwo32' | 'Star32' | 'Sticker32' | 'Support32' | 'USB32' | 'User32' | 'WarningCircle32' | 'WarningPolygon32' | 'WarningTriangle32' | 'BankAccount32' | 'ChevronDown32' | 'ChevronLeft32' | 'ChevronRight32' | 'ChevronUp32' | 'ArrowBottom32' | 'ArrowLeft32' | 'ArrowRight32' | 'ArrowTop32' | 'ArrowTopRight32' | 'Credit32' | 'Factoring32' | 'Guarantees32' | 'Facebook32' | 'Instagram32' | 'Telegram32' | 'VK32' | 'Youtube32' | 'Attachment40' | 'Bell40' | 'Bin40' | 'BlankChat40' | 'BlankCheck40' | 'BlankKey40' | 'BlankLock40' | 'BlankPan40' | 'Block40' | 'Box40' | 'Calendar40' | 'Chart40' | 'Check40' | 'CheckCircle40' | 'Clip40' | 'Clock40' | 'Close40' | 'CloudDownload40' | 'Connection40' | 'Copy40' | 'Dashboard40' | 'Document40' | 'DotsHorizontal40' | 'DotsVertical40' | 'ChevronDoubleLeft40' | 'Download40' | 'Edit40' | 'Exit40' | 'Eye40' | 'EyeCrossed40' | 'Filter40' | 'FilterTwo40' | 'Group40' | 'HandKey40' | 'HandRight40' | 'HandTop40' | 'Home40' | 'Key40' | 'Layers40' | 'Library40' | 'Loader40' | 'Lock40' | 'Mail40' | 'MailCheck40' | 'Menu40' | 'Minus40' | 'Notification40' | 'Picture40' | 'Pin40' | 'Plus40' | 'Print40' | 'Question40' | 'Rotate40' | 'Ruble40' | 'Sample40' | 'Saved40' | 'Scheduled40' | 'Scroll40' | 'Search40' | 'Send40' | 'Settings40' | 'Share40' | 'ShareTwo40' | 'Sort40' | 'SortTwo40' | 'Star40' | 'Sticker40' | 'Support40' | 'USB40' | 'User40' | 'WarningCircle40' | 'WarningPolygon40' | 'WarningTriangle40' | 'ChevronDown40' | 'ChevronLeft40' | 'ChevronRight40' | 'ChevronUp40' | 'ArrowBottom40' | 'ArrowLeft40' | 'ArrowRight40' | 'ArrowTop40' | 'ArrowTopRight40' | 'BankAccount40' | 'Credit40' | 'Factoring40' | 'Guarantees40' | 'Facebook40' | 'Instagram40' | 'Telegram40' | 'VK40' | 'Youtube40' | 'Thunder20' | 'Thunder24' | 'Thunder32' | 'Thunder40' | 'Suitcase20' | 'Suitcase24' | 'Suitcase32' | 'Suitcase40' | 'Cloud20' | 'Cloud24' | 'Cloud32' | 'Cloud40' | 'AlertFill16' | 'Cube16' | 'ArrowBottom16' | 'ArrowLeft16' | 'ArrowRight16' | 'ArrowTop16' | 'Attachment16' | 'Bell16' | 'BellTwo16' | 'Bin16' | 'BlankChat16' | 'BlankCheck16' | 'BlankKey16' | 'BlankLock16' | 'BlankPan16' | 'Block16' | 'Box16' | 'Bulb16' | 'Calendar16' | 'Chart16' | 'Chat16' | 'Check16' | 'ChevronDown16' | 'ChevronDoubleLeft16' | 'ChevronLeft16' | 'ChevronRight16' | 'ChevronUp16' | 'CircleCheck16' | 'Clip16' | 'Clock16' | 'CloudDownload16' | 'Connection16' | 'Copy16' | 'Dashboard16' | 'Document16' | 'DotsHorizontal16' | 'DotsVertical16' | 'Download16' | 'Edit16' | 'Exit16' | 'Eye16' | 'EyeCrossed16' | 'Facebook16' | 'Filter16' | 'Grid16' | 'GridTwo16' | 'Group16' | 'HandKey16' | 'HandRight16' | 'HandTop16' | 'Home16' | 'Hub16' | 'Instagram16' | 'Key16' | 'Layers16' | 'Library16' | 'Link16' | 'Loader16' | 'Lock16' | 'Mail16' | 'MailCheck16' | 'Menu16' | 'MenuTwo16' | 'Minus16' | 'Notification16' | 'Picture16' | 'Pin16' | 'Plus16' | 'Print16' | 'Question16' | 'Rotate16' | 'Ruble16' | 'Saved16' | 'Scheduled16' | 'Scroll16' | 'Search16' | 'Send16' | 'Settings16' | 'Share16' | 'ShareTwo16' | 'Sort16' | 'SortThree16' | 'SortTwo16' | 'Star16' | 'Sticker16' | 'Support16' | 'Telegram16' | 'USB16' | 'User16' | 'VK16' | 'WarningTriangle16' | 'WarningCircle16' | 'WarningPolygon16' | 'Cloud16' | 'CreditCard16' | 'Factoring16' | 'Icon16' | 'Main16' | 'Percent16' | 'Shield16' | 'Suitcase16' | 'Thunder16' | 'Truck16' | 'Wallet16' | 'Zap16' | 'ChevronDoubleRight16' | 'ChevronDoubleRight20' | 'Sidebar20' | 'Sidebar16' | 'Sidebar32' | 'Sidebar40' | 'Info16' | 'Info20' | 'Info40' | 'Info32' | 'ArrowTopRight16' | 'ArrowTopRight20' | 'ArrowTopRight24' | 'Lamoda20' | 'Lamoda24' | 'Lamoda40' | 'Lamoda56' | 'CheckList20' | 'Update20' | 'AttachmentTwo20' | 'Comment20' | 'InfoTwo20' | 'Ozon32' | 'WB32' | 'Yandex32' | 'Lamoda32' | 'GoldenApple20' | 'GoldenApple24' | 'GoldenApple32' | 'GoldenApple40' | 'GoldenApple56' | 'CalendarEdit20' | 'CalendarEdit24' | 'Files24' | 'PlusCircle32' | 'ShoppingBag24' | 'Diagram24';
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { TStatusIconProps } from './types';
|
|
2
|
+
|
|
3
|
+
export declare const PlStatusIcon: import('../../../install-function').SFCInstallWithContext<import('vue').DefineComponent<{
|
|
4
|
+
customColors: {
|
|
5
|
+
type: import('vue').PropType<never>;
|
|
6
|
+
};
|
|
7
|
+
status: {
|
|
8
|
+
type: import('vue').PropType<"delete" | "info" | "successful" | "attention" | "neutral">;
|
|
9
|
+
required: true;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
} | {
|
|
13
|
+
customColors: {
|
|
14
|
+
type: import('vue').PropType<import('./types').TStatusIconCustomColors>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
status: {
|
|
18
|
+
type: import('vue').PropType<"custom">;
|
|
19
|
+
required: true;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
23
|
+
customColors: {
|
|
24
|
+
type: import('vue').PropType<never>;
|
|
25
|
+
};
|
|
26
|
+
status: {
|
|
27
|
+
type: import('vue').PropType<"delete" | "info" | "successful" | "attention" | "neutral">;
|
|
28
|
+
required: true;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
}>> | Readonly<import('vue').ExtractPropTypes<{
|
|
32
|
+
customColors: {
|
|
33
|
+
type: import('vue').PropType<import('./types').TStatusIconCustomColors>;
|
|
34
|
+
required: true;
|
|
35
|
+
};
|
|
36
|
+
status: {
|
|
37
|
+
type: import('vue').PropType<"custom">;
|
|
38
|
+
required: true;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
}>>, {
|
|
42
|
+
status: "delete" | "info" | "successful" | "attention" | "neutral";
|
|
43
|
+
} | {
|
|
44
|
+
status: "custom";
|
|
45
|
+
}, {}>>;
|
|
46
|
+
export default PlStatusIcon;
|
|
47
|
+
export type { TStatusIconProps };
|
|
48
|
+
declare module 'vue' {
|
|
49
|
+
interface GlobalComponents {
|
|
50
|
+
/**
|
|
51
|
+
* Базовые свойства для компонента StatusIcon.
|
|
52
|
+
*
|
|
53
|
+
* @property {('successful' | 'attention' | 'delete' | 'info' | 'neutral')} [status] - Вариант статуса эллипса. Определяет стиль в зависимости от состояния.
|
|
54
|
+
*
|
|
55
|
+
* Свойства для кастомного статуса.
|
|
56
|
+
*
|
|
57
|
+
* @property {'custom'} status - Кастомный статус.
|
|
58
|
+
* @property {{ icon: TIcon, colorIcon: string, colorIconOverlay: string }} customColors - Объект с настройками иконки и цветовыми значениями для кастомного статуса.
|
|
59
|
+
* @property {TIcon} customColors.icon - Иконка для кастомного статуса.
|
|
60
|
+
* @property {string} customColors.colorIcon - Цвет иконки для кастомного статуса.
|
|
61
|
+
* @property {string} customColors.colorIconOverlay - Цвет наложения для иконки в кастомном статусе.
|
|
62
|
+
*
|
|
63
|
+
* Итоговый тип: либо базовый статус (с необязательными полями), либо кастомный (с обязательными).
|
|
64
|
+
*/
|
|
65
|
+
PlStatusIcon: import('vue').DefineComponent<TStatusIconProps>;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { TStatusIconProps } from './types';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TStatusIconProps>, {
|
|
4
|
+
status: string;
|
|
5
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<import('./types').TStatusIconBaseProps>, {
|
|
6
|
+
status: string;
|
|
7
|
+
}>>> | Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<import('./types').TStatusIconCustomProps>, {
|
|
8
|
+
status: string;
|
|
9
|
+
}>>>, {
|
|
10
|
+
status: "delete" | "info" | "successful" | "attention" | "neutral";
|
|
11
|
+
} | {
|
|
12
|
+
status: "custom";
|
|
13
|
+
}, {}>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
17
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
19
|
+
} : {
|
|
20
|
+
type: import('vue').PropType<T[K]>;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
type __VLS_WithDefaults<P, D> = {
|
|
25
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
26
|
+
default: D[K];
|
|
27
|
+
}> : P[K];
|
|
28
|
+
};
|
|
29
|
+
type __VLS_Prettify<T> = {
|
|
30
|
+
[K in keyof T]: T[K];
|
|
31
|
+
} & {};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { TIcon } from '../../pl-icon';
|
|
2
|
+
|
|
3
|
+
type TStatusIconStatuses = 'successful' | 'attention' | 'delete' | 'info' | 'neutral' | 'custom';
|
|
4
|
+
/**
|
|
5
|
+
* Базовые свойства для компонента StatusIcon.
|
|
6
|
+
*
|
|
7
|
+
* @property {('successful' | 'attention' | 'delete' | 'info' | 'neutral')} [status] - Вариант статуса эллипса. Определяет стиль в зависимости от состояния.
|
|
8
|
+
*/
|
|
9
|
+
export interface TStatusIconBaseProps {
|
|
10
|
+
status: Exclude<TStatusIconStatuses, 'custom'>;
|
|
11
|
+
customColors?: never;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Объект с настройками иконки и цветовыми значениями для кастомного статуса.
|
|
15
|
+
*
|
|
16
|
+
* @property {TIcon} customColors.icon - Иконка для кастомного статуса.
|
|
17
|
+
* @property {string} customColors.colorIcon - Цвет иконки для кастомного статуса.
|
|
18
|
+
* @property {string} customColors.colorIconOverlay - Цвет наложения для иконки в кастомном статусе.
|
|
19
|
+
*/
|
|
20
|
+
export interface TStatusIconCustomColors {
|
|
21
|
+
icon: TIcon;
|
|
22
|
+
colorIcon: string;
|
|
23
|
+
colorIconOverlay: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Свойства для кастомного статуса.
|
|
27
|
+
*
|
|
28
|
+
* @property {'custom'} status - Кастомный статус.
|
|
29
|
+
* @property {{ icon: TIcon, colorIcon: string, colorIconOverlay: string }} customColors - Объект с настройками иконки и цветовыми значениями для кастомного статуса.
|
|
30
|
+
* @property {TIcon} customColors.icon - Иконка для кастомного статуса.
|
|
31
|
+
* @property {string} customColors.colorIcon - Цвет иконки для кастомного статуса.
|
|
32
|
+
* @property {string} customColors.colorIconOverlay - Цвет наложения для иконки в кастомном статусе.
|
|
33
|
+
*/
|
|
34
|
+
export interface TStatusIconCustomProps {
|
|
35
|
+
status: 'custom';
|
|
36
|
+
customColors: TStatusIconCustomColors;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Итоговый тип: либо базовый статус (с необязательными полями), либо кастомный (с обязательными).
|
|
40
|
+
*/
|
|
41
|
+
export type TStatusIconProps = TStatusIconBaseProps | TStatusIconCustomProps;
|
|
42
|
+
export {};
|