@factoringplus/pl-components-pack-v3 1.9.5-pre-01-banner → 1.9.5-pre-03-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.
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./entry-7ced148d.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-3c4b2a75.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,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-9eab9a03.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 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-84adcfdc.js";
2
2
  import "vue";
3
3
  export {
4
4
  P as PlAutocomplete,
@@ -1,83 +1,20 @@
1
- import { TBannerProps } from './types';
1
+ import { default as Banner } from './pl-banner.vue';
2
+ import { SFCWithInstall } from '../../../install-function';
3
+ import { TBannerProps, ICustomColors } from './types';
2
4
 
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<import('./types').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<import('./types').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
- }, {}>>;
5
+ /**
6
+ * Свойства баннера.
7
+ *
8
+ * @property type - Тип баннера: определяет стиль отображения. Может быть:
9
+ * 'info' | 'interactive' | 'success' | 'warning' | 'critical' | 'custom'
10
+ * @property title - Заголовок баннера
11
+ * @property description - Описание или дополнительный текст баннера
12
+ * @property buttonText - Текст кнопки действия
13
+ * @property icon - Иконка, отображаемая в баннере
14
+ * @property width - Ширина баннера (CSS-значение, например '100%', '400px')
15
+ * @property closeButton - Показывать ли кнопку закрытия (крестик)
16
+ * @property customColors - Пользовательские цвета для баннера (используется, если тип 'custom')
17
+ */
18
+ export declare const PlBanner: SFCWithInstall<typeof Banner>;
82
19
  export default PlBanner;
83
- export type { TBannerProps };
20
+ export type { TBannerProps, ICustomColors };
@@ -5,3 +5,4 @@ export type SFCInstallWithContext<T> = SFCWithInstall<T> & {
5
5
  _context: AppContext | null;
6
6
  };
7
7
  export declare const withInstallFunction: <T>(fn: T, name: string) => SFCInstallWithContext<T>;
8
+ export declare const withInstall: <T, E extends Record<string, any>>(main: T, extra?: E) => SFCWithInstall<T> & E;