@factoringplus/pl-components-pack-v3 1.6.0 → 1.7.0

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.
@@ -0,0 +1,19 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2
+ "header-logo-click": (...args: any[]) => void;
3
+ "sidebar-click": (...args: any[]) => void;
4
+ "exit-click": (...args: any[]) => void;
5
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>> & {
6
+ "onHeader-logo-click"?: (...args: any[]) => any;
7
+ "onSidebar-click"?: (...args: any[]) => any;
8
+ "onExit-click"?: (...args: any[]) => any;
9
+ }, {}, {}>, {
10
+ headerLogo?(_: {}): any;
11
+ customContent?(_: {}): any;
12
+ headerBtns?(_: {}): any;
13
+ }>;
14
+ export default _default;
15
+ type __VLS_WithTemplateSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
@@ -0,0 +1,52 @@
1
+ import { TIcon } from '../../../components/shared/pl-icon';
2
+
3
+ interface IProps {
4
+ icon?: TIcon;
5
+ type?: 'new' | 'company';
6
+ isClicked?: boolean;
7
+ disabled?: boolean;
8
+ }
9
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
10
+ icon: string;
11
+ isClicked: boolean;
12
+ disabled: boolean;
13
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
+ click: (...args: any[]) => void;
15
+ "update:isClicked": (...args: any[]) => void;
16
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
17
+ icon: string;
18
+ isClicked: boolean;
19
+ disabled: boolean;
20
+ }>>> & {
21
+ onClick?: (...args: any[]) => any;
22
+ "onUpdate:isClicked"?: (...args: any[]) => any;
23
+ }, {
24
+ disabled: boolean;
25
+ icon: TIcon;
26
+ isClicked: boolean;
27
+ }, {}>, {
28
+ default?(_: {}): any;
29
+ }>;
30
+ export default _default;
31
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
32
+ type __VLS_TypePropsToRuntimeProps<T> = {
33
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
34
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
35
+ } : {
36
+ type: import('vue').PropType<T[K]>;
37
+ required: true;
38
+ };
39
+ };
40
+ type __VLS_WithDefaults<P, D> = {
41
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
42
+ default: D[K];
43
+ }> : P[K];
44
+ };
45
+ type __VLS_Prettify<T> = {
46
+ [K in keyof T]: T[K];
47
+ } & {};
48
+ type __VLS_WithTemplateSlots<T, S> = T & {
49
+ new (): {
50
+ $slots: S;
51
+ };
52
+ };
@@ -0,0 +1,35 @@
1
+ import { ISidebarItem } from '../types';
2
+
3
+ interface IProps {
4
+ item: ISidebarItem;
5
+ activePage: string;
6
+ }
7
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
8
+ activePage: string;
9
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
+ "sidebar-item-click": (...args: any[]) => void;
11
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
12
+ activePage: string;
13
+ }>>> & {
14
+ "onSidebar-item-click"?: (...args: any[]) => any;
15
+ }, {
16
+ activePage: string;
17
+ }, {}>;
18
+ export default _default;
19
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
20
+ type __VLS_TypePropsToRuntimeProps<T> = {
21
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
22
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
23
+ } : {
24
+ type: import('vue').PropType<T[K]>;
25
+ required: true;
26
+ };
27
+ };
28
+ type __VLS_WithDefaults<P, D> = {
29
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
30
+ default: D[K];
31
+ }> : P[K];
32
+ };
33
+ type __VLS_Prettify<T> = {
34
+ [K in keyof T]: T[K];
35
+ } & {};
@@ -0,0 +1,279 @@
1
+ export declare const PlNavButton: import('../../../install-function').SFCInstallWithContext<{
2
+ new (...args: any[]): import('vue').CreateComponentPublicInstance<Readonly<import('vue').ExtractPropTypes<{
3
+ type: {
4
+ type: import('vue').PropType<"new" | "company">;
5
+ };
6
+ disabled: {
7
+ type: import('vue').PropType<boolean>;
8
+ default: boolean;
9
+ };
10
+ icon: {
11
+ type: import('vue').PropType<import('../../../components/components').TIcon>;
12
+ default: string;
13
+ };
14
+ isClicked: {
15
+ type: import('vue').PropType<boolean>;
16
+ default: boolean;
17
+ };
18
+ }>> & {
19
+ onClick?: (...args: any[]) => any;
20
+ "onUpdate:isClicked"?: (...args: any[]) => any;
21
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
22
+ click: (...args: any[]) => void;
23
+ "update:isClicked": (...args: any[]) => void;
24
+ }, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
25
+ type: {
26
+ type: import('vue').PropType<"new" | "company">;
27
+ };
28
+ disabled: {
29
+ type: import('vue').PropType<boolean>;
30
+ default: boolean;
31
+ };
32
+ icon: {
33
+ type: import('vue').PropType<import('../../../components/components').TIcon>;
34
+ default: string;
35
+ };
36
+ isClicked: {
37
+ type: import('vue').PropType<boolean>;
38
+ default: boolean;
39
+ };
40
+ }>> & {
41
+ onClick?: (...args: any[]) => any;
42
+ "onUpdate:isClicked"?: (...args: any[]) => any;
43
+ }, {
44
+ disabled: boolean;
45
+ icon: import('../../../components/components').TIcon;
46
+ isClicked: boolean;
47
+ }, true, {}, {}, {
48
+ P: {};
49
+ B: {};
50
+ D: {};
51
+ C: {};
52
+ M: {};
53
+ Defaults: {};
54
+ }, Readonly<import('vue').ExtractPropTypes<{
55
+ type: {
56
+ type: import('vue').PropType<"new" | "company">;
57
+ };
58
+ disabled: {
59
+ type: import('vue').PropType<boolean>;
60
+ default: boolean;
61
+ };
62
+ icon: {
63
+ type: import('vue').PropType<import('../../../components/components').TIcon>;
64
+ default: string;
65
+ };
66
+ isClicked: {
67
+ type: import('vue').PropType<boolean>;
68
+ default: boolean;
69
+ };
70
+ }>> & {
71
+ onClick?: (...args: any[]) => any;
72
+ "onUpdate:isClicked"?: (...args: any[]) => any;
73
+ }, {}, {}, {}, {}, {
74
+ disabled: boolean;
75
+ icon: import('../../../components/components').TIcon;
76
+ isClicked: boolean;
77
+ }>;
78
+ __isFragment?: never;
79
+ __isTeleport?: never;
80
+ __isSuspense?: never;
81
+ } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
82
+ type: {
83
+ type: import('vue').PropType<"new" | "company">;
84
+ };
85
+ disabled: {
86
+ type: import('vue').PropType<boolean>;
87
+ default: boolean;
88
+ };
89
+ icon: {
90
+ type: import('vue').PropType<import('../../../components/components').TIcon>;
91
+ default: string;
92
+ };
93
+ isClicked: {
94
+ type: import('vue').PropType<boolean>;
95
+ default: boolean;
96
+ };
97
+ }>> & {
98
+ onClick?: (...args: any[]) => any;
99
+ "onUpdate:isClicked"?: (...args: any[]) => any;
100
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
101
+ click: (...args: any[]) => void;
102
+ "update:isClicked": (...args: any[]) => void;
103
+ }, string, {
104
+ disabled: boolean;
105
+ icon: import('../../../components/components').TIcon;
106
+ isClicked: boolean;
107
+ }, {}, string, {}> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
108
+ $slots: {
109
+ default?(_: {}): any;
110
+ };
111
+ })>;
112
+ export declare const PlSidebarItem: import('../../../install-function').SFCInstallWithContext<import('vue').DefineComponent<{
113
+ item: {
114
+ type: import('vue').PropType<import('../types').ISidebarItem>;
115
+ required: true;
116
+ };
117
+ activePage: {
118
+ type: import('vue').PropType<string>;
119
+ required: true;
120
+ default: string;
121
+ };
122
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
123
+ "sidebar-item-click": (...args: any[]) => void;
124
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
125
+ item: {
126
+ type: import('vue').PropType<import('../types').ISidebarItem>;
127
+ required: true;
128
+ };
129
+ activePage: {
130
+ type: import('vue').PropType<string>;
131
+ required: true;
132
+ default: string;
133
+ };
134
+ }>> & {
135
+ "onSidebar-item-click"?: (...args: any[]) => any;
136
+ }, {
137
+ activePage: string;
138
+ }, {}>>;
139
+ declare const _default: {
140
+ PlNavButton: import('../../../install-function').SFCInstallWithContext<{
141
+ new (...args: any[]): import('vue').CreateComponentPublicInstance<Readonly<import('vue').ExtractPropTypes<{
142
+ type: {
143
+ type: import('vue').PropType<"new" | "company">;
144
+ };
145
+ disabled: {
146
+ type: import('vue').PropType<boolean>;
147
+ default: boolean;
148
+ };
149
+ icon: {
150
+ type: import('vue').PropType<import('../../../components/components').TIcon>;
151
+ default: string;
152
+ };
153
+ isClicked: {
154
+ type: import('vue').PropType<boolean>;
155
+ default: boolean;
156
+ };
157
+ }>> & {
158
+ onClick?: (...args: any[]) => any;
159
+ "onUpdate:isClicked"?: (...args: any[]) => any;
160
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
161
+ click: (...args: any[]) => void;
162
+ "update:isClicked": (...args: any[]) => void;
163
+ }, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
164
+ type: {
165
+ type: import('vue').PropType<"new" | "company">;
166
+ };
167
+ disabled: {
168
+ type: import('vue').PropType<boolean>;
169
+ default: boolean;
170
+ };
171
+ icon: {
172
+ type: import('vue').PropType<import('../../../components/components').TIcon>;
173
+ default: string;
174
+ };
175
+ isClicked: {
176
+ type: import('vue').PropType<boolean>;
177
+ default: boolean;
178
+ };
179
+ }>> & {
180
+ onClick?: (...args: any[]) => any;
181
+ "onUpdate:isClicked"?: (...args: any[]) => any;
182
+ }, {
183
+ disabled: boolean;
184
+ icon: import('../../../components/components').TIcon;
185
+ isClicked: boolean;
186
+ }, true, {}, {}, {
187
+ P: {};
188
+ B: {};
189
+ D: {};
190
+ C: {};
191
+ M: {};
192
+ Defaults: {};
193
+ }, Readonly<import('vue').ExtractPropTypes<{
194
+ type: {
195
+ type: import('vue').PropType<"new" | "company">;
196
+ };
197
+ disabled: {
198
+ type: import('vue').PropType<boolean>;
199
+ default: boolean;
200
+ };
201
+ icon: {
202
+ type: import('vue').PropType<import('../../../components/components').TIcon>;
203
+ default: string;
204
+ };
205
+ isClicked: {
206
+ type: import('vue').PropType<boolean>;
207
+ default: boolean;
208
+ };
209
+ }>> & {
210
+ onClick?: (...args: any[]) => any;
211
+ "onUpdate:isClicked"?: (...args: any[]) => any;
212
+ }, {}, {}, {}, {}, {
213
+ disabled: boolean;
214
+ icon: import('../../../components/components').TIcon;
215
+ isClicked: boolean;
216
+ }>;
217
+ __isFragment?: never;
218
+ __isTeleport?: never;
219
+ __isSuspense?: never;
220
+ } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
221
+ type: {
222
+ type: import('vue').PropType<"new" | "company">;
223
+ };
224
+ disabled: {
225
+ type: import('vue').PropType<boolean>;
226
+ default: boolean;
227
+ };
228
+ icon: {
229
+ type: import('vue').PropType<import('../../../components/components').TIcon>;
230
+ default: string;
231
+ };
232
+ isClicked: {
233
+ type: import('vue').PropType<boolean>;
234
+ default: boolean;
235
+ };
236
+ }>> & {
237
+ onClick?: (...args: any[]) => any;
238
+ "onUpdate:isClicked"?: (...args: any[]) => any;
239
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
240
+ click: (...args: any[]) => void;
241
+ "update:isClicked": (...args: any[]) => void;
242
+ }, string, {
243
+ disabled: boolean;
244
+ icon: import('../../../components/components').TIcon;
245
+ isClicked: boolean;
246
+ }, {}, string, {}> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
247
+ $slots: {
248
+ default?(_: {}): any;
249
+ };
250
+ })>;
251
+ PlSidebarItem: import('../../../install-function').SFCInstallWithContext<import('vue').DefineComponent<{
252
+ item: {
253
+ type: import('vue').PropType<import('../types').ISidebarItem>;
254
+ required: true;
255
+ };
256
+ activePage: {
257
+ type: import('vue').PropType<string>;
258
+ required: true;
259
+ default: string;
260
+ };
261
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
262
+ "sidebar-item-click": (...args: any[]) => void;
263
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
264
+ item: {
265
+ type: import('vue').PropType<import('../types').ISidebarItem>;
266
+ required: true;
267
+ };
268
+ activePage: {
269
+ type: import('vue').PropType<string>;
270
+ required: true;
271
+ default: string;
272
+ };
273
+ }>> & {
274
+ "onSidebar-item-click"?: (...args: any[]) => any;
275
+ }, {
276
+ activePage: string;
277
+ }, {}>>;
278
+ };
279
+ export default _default;
@@ -0,0 +1,79 @@
1
+ export declare const PlNavigation: import('../../install-function').SFCInstallWithContext<{
2
+ new (...args: any[]): import('vue').CreateComponentPublicInstance<Readonly<import('vue').ExtractPropTypes<{
3
+ sidebarOpen: import('vue').PropType<boolean>;
4
+ activePage: import('vue').PropType<string>;
5
+ }>> & {
6
+ "onHeader-logo-click"?: (...args: any[]) => any;
7
+ "onSidebar-click"?: (...args: any[]) => any;
8
+ "onExit-click"?: (...args: any[]) => any;
9
+ "onSidebar-item-click"?: (...args: any[]) => any;
10
+ }, {
11
+ closeSidebar: () => void;
12
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
13
+ "header-logo-click": (...args: any[]) => void;
14
+ "sidebar-click": (...args: any[]) => void;
15
+ "exit-click": (...args: any[]) => void;
16
+ "sidebar-item-click": (...args: any[]) => void;
17
+ }, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
18
+ sidebarOpen: import('vue').PropType<boolean>;
19
+ activePage: import('vue').PropType<string>;
20
+ }>> & {
21
+ "onHeader-logo-click"?: (...args: any[]) => any;
22
+ "onSidebar-click"?: (...args: any[]) => any;
23
+ "onExit-click"?: (...args: any[]) => any;
24
+ "onSidebar-item-click"?: (...args: any[]) => any;
25
+ }, {}, true, {}, {}, {
26
+ P: {};
27
+ B: {};
28
+ D: {};
29
+ C: {};
30
+ M: {};
31
+ Defaults: {};
32
+ }, Readonly<import('vue').ExtractPropTypes<{
33
+ sidebarOpen: import('vue').PropType<boolean>;
34
+ activePage: import('vue').PropType<string>;
35
+ }>> & {
36
+ "onHeader-logo-click"?: (...args: any[]) => any;
37
+ "onSidebar-click"?: (...args: any[]) => any;
38
+ "onExit-click"?: (...args: any[]) => any;
39
+ "onSidebar-item-click"?: (...args: any[]) => any;
40
+ }, {
41
+ closeSidebar: () => void;
42
+ }, {}, {}, {}, {}>;
43
+ __isFragment?: never;
44
+ __isTeleport?: never;
45
+ __isSuspense?: never;
46
+ } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
47
+ sidebarOpen: import('vue').PropType<boolean>;
48
+ activePage: import('vue').PropType<string>;
49
+ }>> & {
50
+ "onHeader-logo-click"?: (...args: any[]) => any;
51
+ "onSidebar-click"?: (...args: any[]) => any;
52
+ "onExit-click"?: (...args: any[]) => any;
53
+ "onSidebar-item-click"?: (...args: any[]) => any;
54
+ }, {
55
+ closeSidebar: () => void;
56
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
57
+ "header-logo-click": (...args: any[]) => void;
58
+ "sidebar-click": (...args: any[]) => void;
59
+ "exit-click": (...args: any[]) => void;
60
+ "sidebar-item-click": (...args: any[]) => void;
61
+ }, string, {}, {}, string, {}> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
62
+ $slots: {
63
+ headerLogo?(_: {}): any;
64
+ customContent?(_: {}): any;
65
+ headerBtns?(_: {}): any;
66
+ myCompanies?(_: {}): any;
67
+ sidebarItems?(_: {
68
+ setActivePage: (item: string) => void;
69
+ activePage: string;
70
+ }): any;
71
+ additionalSidebarItems?(_: {
72
+ setActivePage: (item: string) => void;
73
+ activePage: string;
74
+ }): any;
75
+ sideFooter?(_: {}): any;
76
+ main?(_: {}): any;
77
+ };
78
+ })>;
79
+ export default PlNavigation;
@@ -0,0 +1,40 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
2
+ sidebarOpen: import('vue').PropType<boolean>;
3
+ activePage: import('vue').PropType<string>;
4
+ }, {
5
+ closeSidebar: () => void;
6
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ "header-logo-click": (...args: any[]) => void;
8
+ "sidebar-click": (...args: any[]) => void;
9
+ "exit-click": (...args: any[]) => void;
10
+ "sidebar-item-click": (...args: any[]) => void;
11
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
12
+ sidebarOpen: import('vue').PropType<boolean>;
13
+ activePage: import('vue').PropType<string>;
14
+ }>> & {
15
+ "onHeader-logo-click"?: (...args: any[]) => any;
16
+ "onSidebar-click"?: (...args: any[]) => any;
17
+ "onExit-click"?: (...args: any[]) => any;
18
+ "onSidebar-item-click"?: (...args: any[]) => any;
19
+ }, {}, {}>, {
20
+ headerLogo?(_: {}): any;
21
+ customContent?(_: {}): any;
22
+ headerBtns?(_: {}): any;
23
+ myCompanies?(_: {}): any;
24
+ sidebarItems?(_: {
25
+ setActivePage: (item: string) => void;
26
+ activePage: string;
27
+ }): any;
28
+ additionalSidebarItems?(_: {
29
+ setActivePage: (item: string) => void;
30
+ activePage: string;
31
+ }): any;
32
+ sideFooter?(_: {}): any;
33
+ main?(_: {}): any;
34
+ }>;
35
+ export default _default;
36
+ type __VLS_WithTemplateSlots<T, S> = T & {
37
+ new (): {
38
+ $slots: S;
39
+ };
40
+ };
@@ -0,0 +1,6 @@
1
+ export declare const ScreenSizes: {
2
+ MOBILE: number;
3
+ TABLET: number;
4
+ DESKTOP: number;
5
+ WIDESCREEN: number;
6
+ };
@@ -0,0 +1,11 @@
1
+ import { TIcon } from '../../components/shared/pl-icon';
2
+
3
+ declare interface ISidebarItem {
4
+ name: string;
5
+ label: string;
6
+ iconLeft: TIcon;
7
+ iconRight?: TIcon;
8
+ alert?: boolean;
9
+ counter?: number;
10
+ }
11
+ export { ISidebarItem };