@factoringplus/pl-components-pack-v3 1.8.1-pre-01 → 1.8.1-pre

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,7 +1,9 @@
1
1
  declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2
+ "header-logo-click": (...args: any[]) => void;
2
3
  "sidebar-click": (...args: any[]) => void;
3
4
  "exit-click": (...args: any[]) => void;
4
5
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>> & {
6
+ "onHeader-logo-click"?: (...args: any[]) => any;
5
7
  "onSidebar-click"?: (...args: any[]) => any;
6
8
  "onExit-click"?: (...args: any[]) => any;
7
9
  }, {}, {}>, {
@@ -1,4 +1,4 @@
1
- import { TIcon } from '../../../../components/shared/pl-icon';
1
+ import { TIcon } from '../../../components/shared/pl-icon';
2
2
 
3
3
  interface IProps {
4
4
  icon?: TIcon;
@@ -1,4 +1,4 @@
1
- import { ISidebarItem } from '../../types';
1
+ import { ISidebarItem } from '../types';
2
2
 
3
3
  interface IProps {
4
4
  item: ISidebarItem;
@@ -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;
@@ -1,24 +1,27 @@
1
- import { ISidebarItem } from './types';
2
-
3
1
  export declare const PlNavigation: import('../../install-function').SFCInstallWithContext<{
4
2
  new (...args: any[]): import('vue').CreateComponentPublicInstance<Readonly<import('vue').ExtractPropTypes<{
5
3
  sidebarOpen: import('vue').PropType<boolean>;
4
+ activePage: import('vue').PropType<string>;
6
5
  }>> & {
6
+ "onHeader-logo-click"?: (...args: any[]) => any;
7
7
  "onSidebar-click"?: (...args: any[]) => any;
8
8
  "onExit-click"?: (...args: any[]) => any;
9
- "onSidebar-transition-end"?: (...args: any[]) => any;
9
+ "onSidebar-item-click"?: (...args: any[]) => any;
10
10
  }, {
11
- closeSidebar: (event: Event) => void;
11
+ closeSidebar: () => void;
12
12
  }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
13
+ "header-logo-click": (...args: any[]) => void;
13
14
  "sidebar-click": (...args: any[]) => void;
14
15
  "exit-click": (...args: any[]) => void;
15
- "sidebar-transition-end": (...args: any[]) => void;
16
+ "sidebar-item-click": (...args: any[]) => void;
16
17
  }, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
17
18
  sidebarOpen: import('vue').PropType<boolean>;
19
+ activePage: import('vue').PropType<string>;
18
20
  }>> & {
21
+ "onHeader-logo-click"?: (...args: any[]) => any;
19
22
  "onSidebar-click"?: (...args: any[]) => any;
20
23
  "onExit-click"?: (...args: any[]) => any;
21
- "onSidebar-transition-end"?: (...args: any[]) => any;
24
+ "onSidebar-item-click"?: (...args: any[]) => any;
22
25
  }, {}, true, {}, {}, {
23
26
  P: {};
24
27
  B: {};
@@ -28,37 +31,49 @@ export declare const PlNavigation: import('../../install-function').SFCInstallWi
28
31
  Defaults: {};
29
32
  }, Readonly<import('vue').ExtractPropTypes<{
30
33
  sidebarOpen: import('vue').PropType<boolean>;
34
+ activePage: import('vue').PropType<string>;
31
35
  }>> & {
36
+ "onHeader-logo-click"?: (...args: any[]) => any;
32
37
  "onSidebar-click"?: (...args: any[]) => any;
33
38
  "onExit-click"?: (...args: any[]) => any;
34
- "onSidebar-transition-end"?: (...args: any[]) => any;
39
+ "onSidebar-item-click"?: (...args: any[]) => any;
35
40
  }, {
36
- closeSidebar: (event: Event) => void;
41
+ closeSidebar: () => void;
37
42
  }, {}, {}, {}, {}>;
38
43
  __isFragment?: never;
39
44
  __isTeleport?: never;
40
45
  __isSuspense?: never;
41
46
  } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
42
47
  sidebarOpen: import('vue').PropType<boolean>;
48
+ activePage: import('vue').PropType<string>;
43
49
  }>> & {
50
+ "onHeader-logo-click"?: (...args: any[]) => any;
44
51
  "onSidebar-click"?: (...args: any[]) => any;
45
52
  "onExit-click"?: (...args: any[]) => any;
46
- "onSidebar-transition-end"?: (...args: any[]) => any;
53
+ "onSidebar-item-click"?: (...args: any[]) => any;
47
54
  }, {
48
- closeSidebar: (event: Event) => void;
55
+ closeSidebar: () => void;
49
56
  }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
57
+ "header-logo-click": (...args: any[]) => void;
50
58
  "sidebar-click": (...args: any[]) => void;
51
59
  "exit-click": (...args: any[]) => void;
52
- "sidebar-transition-end": (...args: any[]) => void;
60
+ "sidebar-item-click": (...args: any[]) => void;
53
61
  }, string, {}, {}, string, {}> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
54
62
  $slots: {
55
63
  headerLogo?(_: {}): any;
56
64
  customContent?(_: {}): any;
57
65
  headerBtns?(_: {}): any;
58
- sidebarContent?(_: {}): 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;
59
76
  main?(_: {}): any;
60
77
  };
61
78
  })>;
62
79
  export default PlNavigation;
63
- export type { ISidebarItem };
64
- export { ScreenSizes } from './screenSizes';
@@ -1,22 +1,35 @@
1
1
  declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
2
2
  sidebarOpen: import('vue').PropType<boolean>;
3
+ activePage: import('vue').PropType<string>;
3
4
  }, {
4
- closeSidebar: (event: Event) => void;
5
+ closeSidebar: () => void;
5
6
  }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ "header-logo-click": (...args: any[]) => void;
6
8
  "sidebar-click": (...args: any[]) => void;
7
9
  "exit-click": (...args: any[]) => void;
8
- "sidebar-transition-end": (...args: any[]) => void;
10
+ "sidebar-item-click": (...args: any[]) => void;
9
11
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
10
12
  sidebarOpen: import('vue').PropType<boolean>;
13
+ activePage: import('vue').PropType<string>;
11
14
  }>> & {
15
+ "onHeader-logo-click"?: (...args: any[]) => any;
12
16
  "onSidebar-click"?: (...args: any[]) => any;
13
17
  "onExit-click"?: (...args: any[]) => any;
14
- "onSidebar-transition-end"?: (...args: any[]) => any;
18
+ "onSidebar-item-click"?: (...args: any[]) => any;
15
19
  }, {}, {}>, {
16
20
  headerLogo?(_: {}): any;
17
21
  customContent?(_: {}): any;
18
22
  headerBtns?(_: {}): any;
19
- sidebarContent?(_: {}): 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;
20
33
  main?(_: {}): any;
21
34
  }>;
22
35
  export default _default;