@factoringplus/pl-components-pack-v3 1.9.15-pre-icons → 1.10.1

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.
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./entry-600de87f.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
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./entry-f54abc78.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.PlStatusIcon=l.PlStatusIcon;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,4 +1,4 @@
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-25377fa9.js";
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 I, E as f, ad as h, 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, ak as V, V as W, W as X, X as Y, Y as Z, Z as _, _ as $, $ as aa, aa as la, ag as sa, a0 as Pa, a1 as ea, a5 as ta, a2 as oa, a3 as na, a4 as ia, al as ra, af as ua, A as ca, j as Sa, h as ga, h as pa, d as da, e as ka, a as Ta, f as ba, c as Ca, i as ma, b as xa, l as Da, p as Ia, u as fa } from "./entry-a4f30c8f.js";
2
2
  import "vue";
3
3
  export {
4
4
  P as PlAutocomplete,
@@ -21,9 +21,9 @@ export {
21
21
  m as PlInputPlus,
22
22
  x as PlLink,
23
23
  D as PlMarkText,
24
- f as PlMultiSelect,
25
- h as PlMultitab,
26
- I as PlNavButton,
24
+ I as PlMultiSelect,
25
+ f as PlMultitab,
26
+ h as PlNavButton,
27
27
  B as PlNavigation,
28
28
  L as PlNotification,
29
29
  y as PlOnboarding,
@@ -45,35 +45,36 @@ export {
45
45
  H as PlSkeletonText,
46
46
  K as PlSkeletonTextCell,
47
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,
48
+ V as PlStatusIcon,
49
+ W as PlStepper,
50
+ X as PlSuggestions,
51
+ Y as PlSwitch,
52
+ Z as PlTabPane,
53
+ _ as PlTablePlugin,
54
+ $ as PlTablePlus,
55
+ aa as PlTabs,
56
+ la as PlTagsChips,
57
+ sa as PlTextCell,
58
+ Pa as PlTextPlugin,
59
+ ea as PlTooltip,
60
+ ta as PlTooltipPlus,
61
+ oa as PlUpload,
62
+ na as PlUploadLegacy,
63
+ ia as PlUploadPlus,
64
+ ra as ScreenSizes,
65
+ ua as TLogo,
66
+ ca as apiJs,
67
+ Sa as cancelAllApiRequests,
68
+ ga as dadataParser,
69
+ pa as dataParser,
70
+ da as declOfNum,
71
+ ka as deepSet,
72
+ Ta as filters,
73
+ ba as formatCurrency,
74
+ Ca as formatDate,
75
+ ma as install,
76
+ xa as isEqual,
77
+ Da as loader,
78
+ Ia as plLoading,
78
79
  fa as uniqId
79
80
  };
@@ -57,6 +57,7 @@ import { default as PlIcon } from './shared/pl-icon';
57
57
  import { default as PlTextPlugin } from './shared/pl-text';
58
58
  import { default as PlMarkText } from './shared/pl-mark-text';
59
59
  import { default as PlTabPane } from './shared/pl-tab-pane';
60
+ import { default as PlStatusIcon } from './shared/pl-status-icon';
60
61
 
61
62
  export * from './deprecated/pl-checkbox';
62
63
  export * from './deprecated/pl-date-picker';
@@ -107,6 +108,7 @@ export * from './shared/pl-icon';
107
108
  export * from './shared/pl-text';
108
109
  export * from './shared/pl-mark-text';
109
110
  export * from './shared/pl-tab-pane';
111
+ export * from './shared/pl-status-icon';
110
112
  export * from '../utils/formatCurrency';
111
113
  export * from '../utils/declOfNum';
112
114
  export * from '../utils/isEqual';
@@ -115,4 +117,4 @@ export * from '../utils/deepSet';
115
117
  export * from '../utils/dadataParser';
116
118
  export * from '../plugins/filters';
117
119
  export * from '../plugins/api/api';
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, };
120
+ 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, 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
  }>;
@@ -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 {};