profinansy-ui-lib 4.1.2 → 4.1.4

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.
@@ -66,3 +66,16 @@ export declare const getBudgetSidebar: (hostname: string, isGuest: boolean) => {
66
66
  locked: boolean;
67
67
  }[];
68
68
  };
69
+ export declare const getBudgetSidebar2: (hostname: string, isGuest: boolean) => {
70
+ name: string;
71
+ Icon: ComponentType<void>;
72
+ href: string;
73
+ subPages: {
74
+ name: string;
75
+ Icon: ComponentType<void>;
76
+ isFill: boolean;
77
+ isForeignAccess: boolean;
78
+ href: string;
79
+ locked: boolean;
80
+ }[];
81
+ };
@@ -1,5 +1,5 @@
1
1
  export { getGoalsHeader, getGoalsSidebar } from './goals/goals';
2
- export { getBudgetHeader, getBudgetSidebar } from './budget/budget';
2
+ export { getBudgetHeader, getBudgetSidebar, getBudgetSidebar2 } from './budget/budget';
3
3
  export { getPortfoliosHeader, getPortfoliosSidebar } from './portfolios/portfolios';
4
4
  export { getInvestmentsHeader, getInvestmentsSidebar } from './investments/investments';
5
5
  export { getClubHeader, getClubFooter } from './club/club';
@@ -193,6 +193,7 @@ export declare const getInvestmentsHeader: (hostname: string, hostnameLenta: str
193
193
  isNew?: undefined;
194
194
  } | {
195
195
  name: string;
196
+ isForeignAccess: boolean;
196
197
  href: string;
197
198
  locked: boolean;
198
199
  unavailable: boolean;
@@ -214,7 +215,6 @@ export declare const getInvestmentsHeader: (hostname: string, hostnameLenta: str
214
215
  unavailable: boolean;
215
216
  isHit?: undefined;
216
217
  })[];
217
- isForeignAccess?: undefined;
218
218
  isNew?: undefined;
219
219
  } | {
220
220
  name: string;
@@ -265,38 +265,46 @@ export declare const getInvestmentsSidebar: (hostname: string, hostnameLenta: st
265
265
  name: string;
266
266
  Icon: ComponentType<void>;
267
267
  isFill: boolean;
268
- isForeignAccess: boolean;
269
268
  href: string;
270
- locked: boolean;
271
- subPages: {
272
- name: string;
273
- href: string;
274
- locked: boolean;
275
- innerPages: string[];
276
- }[];
269
+ isForeignAccess?: undefined;
270
+ locked?: undefined;
277
271
  unavailable?: undefined;
278
272
  description?: undefined;
279
273
  imagePlug?: undefined;
280
274
  imagePlugMob?: undefined;
281
275
  innerPages?: undefined;
276
+ subPages?: undefined;
282
277
  isNew?: undefined;
283
278
  } | {
284
279
  name: string;
285
280
  Icon: ComponentType<void>;
286
281
  isFill: boolean;
282
+ isForeignAccess: boolean;
287
283
  href: string;
288
- isForeignAccess?: undefined;
289
- locked?: undefined;
290
- subPages?: undefined;
291
- unavailable?: undefined;
292
- description?: undefined;
293
- imagePlug?: undefined;
294
- imagePlugMob?: undefined;
295
- innerPages?: undefined;
284
+ locked: boolean;
285
+ unavailable: boolean;
286
+ description: string;
287
+ imagePlug: string;
288
+ imagePlugMob: string;
289
+ innerPages: string[];
290
+ subPages: ({
291
+ name: string;
292
+ href: string;
293
+ locked: boolean;
294
+ isHit: boolean;
295
+ unavailable: boolean;
296
+ } | {
297
+ name: string;
298
+ href: string;
299
+ locked: boolean;
300
+ unavailable: boolean;
301
+ isHit?: undefined;
302
+ })[];
296
303
  isNew?: undefined;
297
304
  } | {
298
305
  name: string;
299
306
  Icon: ComponentType<void>;
307
+ isForeignAccess: boolean;
300
308
  isFill: boolean;
301
309
  href: string;
302
310
  locked: boolean;
@@ -309,36 +317,36 @@ export declare const getInvestmentsSidebar: (hostname: string, hostnameLenta: st
309
317
  name: string;
310
318
  href: string;
311
319
  locked: boolean;
312
- isHit: boolean;
313
320
  unavailable: boolean;
321
+ isForeignAccess?: undefined;
314
322
  } | {
315
323
  name: string;
324
+ isForeignAccess: boolean;
316
325
  href: string;
317
326
  locked: boolean;
318
327
  unavailable: boolean;
319
- isHit?: undefined;
320
328
  })[];
321
- isForeignAccess?: undefined;
322
329
  isNew?: undefined;
323
330
  } | {
324
331
  name: string;
325
332
  href: string;
326
333
  Icon: ComponentType<void>;
327
334
  isFill: boolean;
335
+ isForeignAccess: boolean;
328
336
  locked: boolean;
329
337
  unavailable: boolean;
330
338
  isNew: boolean;
331
339
  description: string;
332
340
  imagePlug: string;
333
341
  imagePlugMob: string;
334
- isForeignAccess?: undefined;
335
- subPages?: undefined;
336
342
  innerPages?: undefined;
343
+ subPages?: undefined;
337
344
  } | {
338
345
  name: string;
339
346
  href: string;
340
347
  Icon: ComponentType<void>;
341
348
  isFill: boolean;
349
+ isForeignAccess: boolean;
342
350
  locked: boolean;
343
351
  subPages: ({
344
352
  name: string;
@@ -369,7 +377,6 @@ export declare const getInvestmentsSidebar: (hostname: string, hostnameLenta: st
369
377
  innerPages?: undefined;
370
378
  isNotVisible?: undefined;
371
379
  })[];
372
- isForeignAccess?: undefined;
373
380
  unavailable?: undefined;
374
381
  description?: undefined;
375
382
  imagePlug?: undefined;
@@ -380,29 +387,43 @@ export declare const getInvestmentsSidebar: (hostname: string, hostnameLenta: st
380
387
  name: string;
381
388
  Icon: ComponentType<void>;
382
389
  isFill: boolean;
390
+ isForeignAccess: boolean;
383
391
  href: string;
384
- locked: boolean;
385
- isForeignAccess?: undefined;
392
+ locked?: undefined;
393
+ unavailable?: undefined;
394
+ description?: undefined;
395
+ imagePlug?: undefined;
396
+ imagePlugMob?: undefined;
397
+ innerPages?: undefined;
386
398
  subPages?: undefined;
399
+ isNew?: undefined;
400
+ } | {
401
+ name: string;
402
+ Icon: ComponentType<void>;
403
+ isFill: boolean;
404
+ isForeignAccess: boolean;
405
+ href: string;
406
+ locked: boolean;
387
407
  unavailable?: undefined;
388
408
  description?: undefined;
389
409
  imagePlug?: undefined;
390
410
  imagePlugMob?: undefined;
391
411
  innerPages?: undefined;
412
+ subPages?: undefined;
392
413
  isNew?: undefined;
393
414
  } | {
394
415
  name: string;
395
416
  Icon: ComponentType<void>;
396
417
  isFill: boolean;
418
+ isForeignAccess: boolean;
397
419
  href: string;
398
420
  locked: boolean;
399
421
  unavailable: boolean;
400
422
  description: string;
401
423
  imagePlug: string;
402
424
  imagePlugMob: string;
403
- isForeignAccess?: undefined;
404
- subPages?: undefined;
405
425
  innerPages?: undefined;
426
+ subPages?: undefined;
406
427
  isNew?: undefined;
407
428
  })[];
408
429
  };
@@ -1,9 +1,20 @@
1
- export declare const getProfileSidebar: (hostname: string) => {
1
+ import { Locales } from '../../../common.types';
2
+ export declare const getProfileSidebar: (hostname: string, locale?: Locales) => {
2
3
  title: string;
3
4
  name: string;
4
5
  href: string;
5
6
  Icon: ComponentType<void>;
6
7
  subPages: ({
8
+ name: "profile_favorite";
9
+ Icon: ComponentType<void>;
10
+ isForeignAccess: boolean;
11
+ href: string;
12
+ innerPages: string[];
13
+ subPages: {
14
+ name: string;
15
+ href: string;
16
+ }[];
17
+ } | {
7
18
  name: string;
8
19
  isFill: boolean;
9
20
  isForeignAccess: boolean;
@@ -11,7 +22,6 @@ export declare const getProfileSidebar: (hostname: string) => {
11
22
  href: string;
12
23
  hiddenFromChildren?: undefined;
13
24
  innerPages?: undefined;
14
- subPages?: undefined;
15
25
  } | {
16
26
  name: string;
17
27
  Icon: ComponentType<void>;
@@ -20,7 +30,6 @@ export declare const getProfileSidebar: (hostname: string) => {
20
30
  hiddenFromChildren: boolean;
21
31
  isForeignAccess?: undefined;
22
32
  innerPages?: undefined;
23
- subPages?: undefined;
24
33
  } | {
25
34
  name: string;
26
35
  Icon: ComponentType<void>;
@@ -29,7 +38,6 @@ export declare const getProfileSidebar: (hostname: string) => {
29
38
  isForeignAccess?: undefined;
30
39
  hiddenFromChildren?: undefined;
31
40
  innerPages?: undefined;
32
- subPages?: undefined;
33
41
  } | {
34
42
  name: string;
35
43
  Icon: ComponentType<void>;
@@ -38,19 +46,22 @@ export declare const getProfileSidebar: (hostname: string) => {
38
46
  isFill?: undefined;
39
47
  isForeignAccess?: undefined;
40
48
  innerPages?: undefined;
41
- subPages?: undefined;
42
49
  } | {
43
50
  name: string;
44
51
  Icon: ComponentType<void>;
52
+ isForeignAccess: boolean;
45
53
  href: string;
46
- innerPages: string[];
47
- subPages: {
48
- name: string;
49
- href: string;
50
- }[];
51
54
  isFill?: undefined;
52
- isForeignAccess?: undefined;
53
55
  hiddenFromChildren?: undefined;
56
+ innerPages?: undefined;
57
+ } | {
58
+ name: string;
59
+ Icon: ComponentType<void>;
60
+ isFill: boolean;
61
+ isForeignAccess: boolean;
62
+ href: string;
63
+ hiddenFromChildren: boolean;
64
+ innerPages?: undefined;
54
65
  } | {
55
66
  name: string;
56
67
  Icon: ComponentType<void>;
@@ -59,6 +70,5 @@ export declare const getProfileSidebar: (hostname: string) => {
59
70
  href: string;
60
71
  innerPages: string[];
61
72
  hiddenFromChildren: boolean;
62
- subPages?: undefined;
63
73
  })[];
64
74
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "profinansy-ui-lib",
3
- "version": "4.1.2",
3
+ "version": "4.1.4",
4
4
  "main": "./dist/profinansy-ui-lib.cjs",
5
5
  "module": "./dist/profinansy-ui-lib.es.js",
6
6
  "types": "./dist/index.d.ts",