fas-admin 0.0.9 → 0.0.11

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.
Files changed (84) hide show
  1. package/esm2022/lib/components/layout/side-bar/side-bar.component.mjs +27 -0
  2. package/esm2022/lib/components/layout/top-bar/top-bar.component.mjs +46 -0
  3. package/esm2022/lib/components/views/messages/message-new-send/message-new-send.component.mjs +50 -0
  4. package/esm2022/lib/components/views/messages/message-new-template/message-new-template.component.mjs +50 -0
  5. package/esm2022/lib/components/views/messages/messages-newsletter/messages-newsletter.component.mjs +48 -0
  6. package/esm2022/lib/components/views/messages/messages-sent/messages-sent.component.mjs +127 -0
  7. package/esm2022/lib/components/views/messages/messages-templates/messages-templates.component.mjs +72 -0
  8. package/esm2022/lib/components/views/messages/messages.component.mjs +27 -0
  9. package/esm2022/lib/components/views/messages/messages.module.mjs +59 -0
  10. package/esm2022/lib/components/views/messages/mocked-data.mjs +35 -0
  11. package/esm2022/lib/components/views/operators/operators-details/operators-details.component.mjs +103 -0
  12. package/esm2022/lib/components/views/operators/operators-list/operators-list.component.mjs +75 -0
  13. package/esm2022/lib/components/views/operators/operators.component.mjs +12 -0
  14. package/esm2022/lib/components/views/operators/operators.module.mjs +44 -0
  15. package/esm2022/lib/components/views/statistics/statistic-income/statistic-income.component.mjs +12 -0
  16. package/esm2022/lib/components/views/statistics/statistic-list/statistic-list.component.mjs +145 -0
  17. package/esm2022/lib/components/views/statistics/statistic.module.mjs +29 -0
  18. package/esm2022/lib/components/views/statistics/statistics.component.mjs +13 -0
  19. package/esm2022/lib/components/views/subscriptions/mocked-data.mjs +27 -0
  20. package/esm2022/lib/components/views/subscriptions/subscriptions-add-new/subscriptions-add-new.component.mjs +48 -0
  21. package/esm2022/lib/components/views/subscriptions/subscriptions-details/subscriptions-details.component.mjs +89 -0
  22. package/esm2022/lib/components/views/subscriptions/subscriptions-list/subscriptions-list.component.mjs +244 -0
  23. package/esm2022/lib/components/views/subscriptions/subscriptions.component.mjs +12 -0
  24. package/esm2022/lib/components/views/subscriptions/subscriptions.module.mjs +63 -0
  25. package/esm2022/lib/components/views/users/mocked-data.mjs +313 -0
  26. package/esm2022/lib/components/views/users/users-add-subscriptions/users-add-subscriptions.component.mjs +59 -0
  27. package/esm2022/lib/components/views/users/users-add-user/users-add-user.component.mjs +82 -0
  28. package/esm2022/lib/components/views/users/users-details/users-details.component.mjs +189 -0
  29. package/esm2022/lib/components/views/users/users-list/users-list.component.mjs +110 -0
  30. package/esm2022/lib/components/views/users/users.component.mjs +12 -0
  31. package/esm2022/lib/components/views/users/users.module.mjs +98 -0
  32. package/esm2022/lib/fas-admin.component.mjs +5 -5
  33. package/esm2022/lib/fas-admin.module.mjs +38 -31
  34. package/esm2022/lib/shared/models/details-control.mjs +2 -0
  35. package/esm2022/lib/shared/models/fas-admin-models.mjs +2 -0
  36. package/esm2022/lib/shared/services/dialog.service.mjs +46 -0
  37. package/esm2022/lib/shared/services/subscription-expiration-date.service.mjs +94 -0
  38. package/esm2022/lib/shared/table/table.component.mjs +65 -0
  39. package/esm2022/public-api.mjs +7 -2
  40. package/fesm2022/fas-admin.mjs +2301 -57
  41. package/fesm2022/fas-admin.mjs.map +1 -1
  42. package/lib/components/{side-bar → layout/side-bar}/side-bar.component.d.ts +1 -1
  43. package/lib/components/views/messages/message-new-send/message-new-send.component.d.ts +20 -0
  44. package/lib/components/views/messages/message-new-template/message-new-template.component.d.ts +21 -0
  45. package/lib/components/views/messages/messages-newsletter/messages-newsletter.component.d.ts +22 -0
  46. package/lib/components/views/messages/messages-sent/messages-sent.component.d.ts +101 -0
  47. package/lib/components/views/messages/messages-templates/messages-templates.component.d.ts +56 -0
  48. package/lib/components/views/messages/messages.component.d.ts +9 -0
  49. package/lib/components/views/messages/messages.module.d.ts +18 -0
  50. package/lib/components/views/messages/mocked-data.d.ts +8 -0
  51. package/lib/components/views/operators/operators-details/operators-details.component.d.ts +29 -0
  52. package/lib/components/views/operators/operators-list/operators-list.component.d.ts +42 -0
  53. package/lib/components/views/operators/operators.component.d.ts +5 -0
  54. package/lib/components/views/operators/operators.module.d.ts +15 -0
  55. package/lib/components/views/statistics/statistic-income/statistic-income.component.d.ts +5 -0
  56. package/lib/components/views/statistics/statistic-list/statistic-list.component.d.ts +81 -0
  57. package/lib/components/views/statistics/statistic.module.d.ts +12 -0
  58. package/lib/components/views/statistics/statistics.component.d.ts +5 -0
  59. package/lib/components/views/subscriptions/mocked-data.d.ts +6 -0
  60. package/lib/components/views/subscriptions/subscriptions-add-new/subscriptions-add-new.component.d.ts +21 -0
  61. package/lib/components/views/subscriptions/subscriptions-details/subscriptions-details.component.d.ts +27 -0
  62. package/lib/components/views/subscriptions/subscriptions-list/subscriptions-list.component.d.ts +147 -0
  63. package/lib/components/views/subscriptions/subscriptions.component.d.ts +5 -0
  64. package/lib/components/views/subscriptions/subscriptions.module.d.ts +17 -0
  65. package/lib/components/views/users/mocked-data.d.ts +11 -0
  66. package/lib/components/views/users/users-add-subscriptions/users-add-subscriptions.component.d.ts +22 -0
  67. package/lib/components/views/users/users-add-user/users-add-user.component.d.ts +30 -0
  68. package/lib/components/views/users/users-details/users-details.component.d.ts +69 -0
  69. package/lib/components/views/users/users-list/users-list.component.d.ts +86 -0
  70. package/lib/components/views/users/users.component.d.ts +5 -0
  71. package/lib/components/views/users/users.module.d.ts +27 -0
  72. package/lib/fas-admin.component.d.ts +1 -1
  73. package/lib/fas-admin.module.d.ts +11 -6
  74. package/lib/shared/models/details-control.d.ts +4 -0
  75. package/lib/shared/services/dialog.service.d.ts +14 -0
  76. package/lib/shared/services/subscription-expiration-date.service.d.ts +9 -0
  77. package/lib/shared/table/table.component.d.ts +20 -0
  78. package/package.json +1 -1
  79. package/public-api.d.ts +6 -1
  80. package/esm2022/lib/components/side-bar/side-bar.component.mjs +0 -27
  81. package/esm2022/lib/components/top-bar/top-bar.component.mjs +0 -46
  82. package/esm2022/lib/fas-admin-models.mjs +0 -2
  83. /package/lib/components/{top-bar → layout/top-bar}/top-bar.component.d.ts +0 -0
  84. /package/lib/{fas-admin-models.d.ts → shared/models/fas-admin-models.d.ts} +0 -0
@@ -1,4 +1,4 @@
1
- import { IFASButtonList } from '../../fas-admin-models';
1
+ import { IFASButtonList } from '../../../shared/models/fas-admin-models';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class SideBarComponent {
4
4
  private sidebarToggleService;
@@ -0,0 +1,20 @@
1
+ import { IDetailsControl } from '../../../../shared/models/details-control';
2
+ import { FormGroup } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class MessageNewSendComponent {
5
+ newMessageSendDialogID: string;
6
+ private dialogStateSubscription;
7
+ private _dialogService;
8
+ dialogState: IDetailsControl;
9
+ private _fb;
10
+ addNewTemplateForm: FormGroup;
11
+ text: any;
12
+ ngOnInit(): void;
13
+ setFormStructure(): void;
14
+ ngOnDestroy(): void;
15
+ closeDialog(): void;
16
+ editOn(): void;
17
+ setEditMode(id: string, isEditing: boolean): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<MessageNewSendComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<MessageNewSendComponent, "lib-message-new-send", never, { "newMessageSendDialogID": { "alias": "newMessageSendDialogID"; "required": false; }; }, {}, never, never, false, never>;
20
+ }
@@ -0,0 +1,21 @@
1
+ import { OnDestroy, OnInit } from '@angular/core';
2
+ import { FormGroup } from '@angular/forms';
3
+ import { IDetailsControl } from '../../../../shared/models/details-control';
4
+ import * as i0 from "@angular/core";
5
+ export declare class MessageNewTemplateComponent implements OnInit, OnDestroy {
6
+ newMessageTemplateDialogID: string;
7
+ private dialogStateSubscription;
8
+ dialogState: IDetailsControl;
9
+ private _dialogService;
10
+ private _fb;
11
+ addNewTemplateForm: FormGroup;
12
+ text: any;
13
+ ngOnInit(): void;
14
+ setFormStructure(): void;
15
+ ngOnDestroy(): void;
16
+ closeDialog(): void;
17
+ editOn(): void;
18
+ setEditMode(id: string, isEditing: boolean): void;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<MessageNewTemplateComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<MessageNewTemplateComponent, "lib-message-new-template", never, { "newMessageTemplateDialogID": { "alias": "newMessageTemplateDialogID"; "required": false; }; }, {}, never, never, false, never>;
21
+ }
@@ -0,0 +1,22 @@
1
+ import { OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class MessagesNewsletterComponent implements OnInit {
4
+ private _expirationDateService;
5
+ usersList: any;
6
+ userSelected: any | null;
7
+ ngOnInit(): void;
8
+ userColumns: ({
9
+ field: string;
10
+ header: string;
11
+ sortable: boolean;
12
+ columnClass: string;
13
+ } | {
14
+ field: string;
15
+ header: string;
16
+ sortable: boolean;
17
+ columnClass?: undefined;
18
+ })[];
19
+ getSubscriptionTypeColor(rowData: any): string;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<MessagesNewsletterComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<MessagesNewsletterComponent, "lib-messages-newsletter", never, {}, {}, never, never, false, never>;
22
+ }
@@ -0,0 +1,101 @@
1
+ import { OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class MessagesSentComponent implements OnInit {
4
+ private _expirationDateService;
5
+ userSelected: any | null;
6
+ usersList: any;
7
+ ngOnInit(): void;
8
+ userColumns: ({
9
+ field: string;
10
+ header: string;
11
+ sortable: boolean;
12
+ columnClass: string;
13
+ actions: {
14
+ label: string;
15
+ buttonClass: string;
16
+ icoSuffix: string;
17
+ }[];
18
+ prefix?: undefined;
19
+ contentClass?: undefined;
20
+ styleBackgroundFunction?: undefined;
21
+ } | {
22
+ field: string;
23
+ header: string;
24
+ sortable: boolean;
25
+ columnClass: string;
26
+ actions?: undefined;
27
+ prefix?: undefined;
28
+ contentClass?: undefined;
29
+ styleBackgroundFunction?: undefined;
30
+ } | {
31
+ field: string;
32
+ header: string;
33
+ prefix: string;
34
+ sortable: boolean;
35
+ contentClass: string;
36
+ styleBackgroundFunction: (rowData: any) => string;
37
+ columnClass?: undefined;
38
+ actions?: undefined;
39
+ } | {
40
+ field: string;
41
+ header: string;
42
+ sortable: boolean;
43
+ columnClass: string;
44
+ actions: {
45
+ label: string;
46
+ tooltip: string;
47
+ buttonClass: string;
48
+ }[];
49
+ prefix?: undefined;
50
+ contentClass?: undefined;
51
+ styleBackgroundFunction?: undefined;
52
+ })[];
53
+ userColumnss: ({
54
+ field: string;
55
+ header: string;
56
+ sortable: boolean;
57
+ columnClass: string;
58
+ actions: {
59
+ label: string;
60
+ buttonClass: string;
61
+ icoSuffix: string;
62
+ }[];
63
+ prefix?: undefined;
64
+ contentClass?: undefined;
65
+ styleBackgroundFunction?: undefined;
66
+ } | {
67
+ field: string;
68
+ header: string;
69
+ sortable: boolean;
70
+ columnClass: string;
71
+ actions?: undefined;
72
+ prefix?: undefined;
73
+ contentClass?: undefined;
74
+ styleBackgroundFunction?: undefined;
75
+ } | {
76
+ field: string;
77
+ header: string;
78
+ prefix: string;
79
+ sortable: boolean;
80
+ contentClass: string;
81
+ styleBackgroundFunction: (rowData: any) => string;
82
+ columnClass?: undefined;
83
+ actions?: undefined;
84
+ } | {
85
+ field: string;
86
+ header: string;
87
+ sortable: boolean;
88
+ columnClass: string;
89
+ actions: {
90
+ label: string;
91
+ tooltip: string;
92
+ buttonClass: string;
93
+ }[];
94
+ prefix?: undefined;
95
+ contentClass?: undefined;
96
+ styleBackgroundFunction?: undefined;
97
+ })[];
98
+ getSubscriptionTypeColor(rowData: any): string;
99
+ static ɵfac: i0.ɵɵFactoryDeclaration<MessagesSentComponent, never>;
100
+ static ɵcmp: i0.ɵɵComponentDeclaration<MessagesSentComponent, "lib-messages-sent", never, {}, {}, never, never, false, never>;
101
+ }
@@ -0,0 +1,56 @@
1
+ import { OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class MessagesTemplatesComponent implements OnInit {
4
+ private _expirationDateService;
5
+ usersList: any;
6
+ userSelected: any | null;
7
+ ngOnInit(): void;
8
+ userColumns: ({
9
+ field: string;
10
+ header: string;
11
+ sortable: boolean;
12
+ columnClass: string;
13
+ actions: {
14
+ label: string;
15
+ buttonClass: string;
16
+ icoSuffix: string;
17
+ }[];
18
+ prefix?: undefined;
19
+ contentClass?: undefined;
20
+ styleBackgroundFunction?: undefined;
21
+ } | {
22
+ field: string;
23
+ header: string;
24
+ sortable: boolean;
25
+ columnClass: string;
26
+ actions?: undefined;
27
+ prefix?: undefined;
28
+ contentClass?: undefined;
29
+ styleBackgroundFunction?: undefined;
30
+ } | {
31
+ field: string;
32
+ header: string;
33
+ prefix: string;
34
+ sortable: boolean;
35
+ contentClass: string;
36
+ styleBackgroundFunction: (rowData: any) => string;
37
+ columnClass?: undefined;
38
+ actions?: undefined;
39
+ } | {
40
+ field: string;
41
+ header: string;
42
+ sortable: boolean;
43
+ columnClass: string;
44
+ actions: {
45
+ label: string;
46
+ tooltip: string;
47
+ buttonClass: string;
48
+ }[];
49
+ prefix?: undefined;
50
+ contentClass?: undefined;
51
+ styleBackgroundFunction?: undefined;
52
+ })[];
53
+ getSubscriptionTypeColor(rowData: any): string;
54
+ static ɵfac: i0.ɵɵFactoryDeclaration<MessagesTemplatesComponent, never>;
55
+ static ɵcmp: i0.ɵɵComponentDeclaration<MessagesTemplatesComponent, "lib-messages-templates", never, {}, {}, never, never, false, never>;
56
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class MessagesComponent {
3
+ private _dialogService;
4
+ newMessageTemplateDialogID: string;
5
+ newMessageSendDialogID: string;
6
+ openDialog(id: string): void;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<MessagesComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<MessagesComponent, "lib-messages", never, {}, {}, never, never, false, never>;
9
+ }
@@ -0,0 +1,18 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./messages-newsletter/messages-newsletter.component";
3
+ import * as i2 from "./message-new-template/message-new-template.component";
4
+ import * as i3 from "./messages-templates/messages-templates.component";
5
+ import * as i4 from "./message-new-send/message-new-send.component";
6
+ import * as i5 from "./messages-sent/messages-sent.component";
7
+ import * as i6 from "./messages.component";
8
+ import * as i7 from "@angular/forms";
9
+ import * as i8 from "../../../shared/table/table.component";
10
+ import * as i9 from "primeng/tabview";
11
+ import * as i10 from "@angular/common";
12
+ import * as i11 from "primeng/dialog";
13
+ import * as i12 from "primeng/editor";
14
+ export declare class MessagesModule {
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<MessagesModule, never>;
16
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MessagesModule, [typeof i1.MessagesNewsletterComponent, typeof i2.MessageNewTemplateComponent, typeof i3.MessagesTemplatesComponent, typeof i4.MessageNewSendComponent, typeof i5.MessagesSentComponent, typeof i6.MessagesComponent], [typeof i7.ReactiveFormsModule, typeof i8.TableComponent, typeof i9.TabViewModule, typeof i10.CommonModule, typeof i11.DialogModule, typeof i12.EditorModule, typeof i7.FormsModule], never>;
17
+ static ɵinj: i0.ɵɵInjectorDeclaration<MessagesModule>;
18
+ }
@@ -0,0 +1,8 @@
1
+ export declare const MOCK_DATA: {
2
+ messageName: string;
3
+ creationDate: string;
4
+ subscriptionType: string;
5
+ messageTemplate: string;
6
+ messagesRecipients: string;
7
+ messageEmail: string;
8
+ }[];
@@ -0,0 +1,29 @@
1
+ import { OnDestroy, OnInit, SimpleChanges } from '@angular/core';
2
+ import { FormGroup } from '@angular/forms';
3
+ import { IDetailsControl } from '../../../../shared/models/details-control';
4
+ import * as i0 from "@angular/core";
5
+ export declare class OperatorsDetailsComponent implements OnInit, OnDestroy {
6
+ operatorsDetailsDialogID: string;
7
+ subIndex: number;
8
+ subList: any;
9
+ sub: any;
10
+ private dialogStateSubscription;
11
+ private _dialogService;
12
+ private _fb;
13
+ permisions: string[];
14
+ dialogState: IDetailsControl;
15
+ operatorUpdateForm: FormGroup;
16
+ ngOnInit(): void;
17
+ ngOnDestroy(): void;
18
+ ngOnChanges(changes: SimpleChanges): void;
19
+ setFormStructure(): void;
20
+ closeDialog(): void;
21
+ setEditMode(id: string, isEditing: boolean): void;
22
+ editOn(): void;
23
+ getStatus(status: any): string;
24
+ getStatusColor(status: any): string;
25
+ moveUp(): void;
26
+ moveDown(): void;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<OperatorsDetailsComponent, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<OperatorsDetailsComponent, "lib-operators-details", never, { "operatorsDetailsDialogID": { "alias": "operatorsDetailsDialogID"; "required": false; }; "subIndex": { "alias": "subIndex"; "required": false; }; "subList": { "alias": "subList"; "required": false; }; "sub": { "alias": "sub"; "required": false; }; }, {}, never, never, false, never>;
29
+ }
@@ -0,0 +1,42 @@
1
+ import { OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class OperatorsListComponent implements OnInit {
4
+ operatorsDetailsDialogID: string;
5
+ subList: any;
6
+ subIndex: number;
7
+ sub: any;
8
+ private _dialogService;
9
+ ngOnInit(): void;
10
+ registerAccount: ({
11
+ field: string;
12
+ header: string;
13
+ sortable: boolean;
14
+ columnClass: string;
15
+ actions: {
16
+ label: string;
17
+ buttonClass: string;
18
+ callback: (sub: any, subIndex: number) => void;
19
+ icoSuffix: string;
20
+ }[];
21
+ } | {
22
+ field: string;
23
+ header: string;
24
+ sortable: boolean;
25
+ columnClass?: undefined;
26
+ actions?: undefined;
27
+ } | {
28
+ field: string;
29
+ header: string;
30
+ sortable: boolean;
31
+ columnClass: string;
32
+ actions: {
33
+ label: string;
34
+ tooltip: string;
35
+ buttonClass: string;
36
+ }[];
37
+ })[];
38
+ openDetails(sub: any, subIndex: number): void;
39
+ openDialog(id: string): void;
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<OperatorsListComponent, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<OperatorsListComponent, "lib-operators-list", never, {}, {}, never, never, false, never>;
42
+ }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class OperatorsComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<OperatorsComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<OperatorsComponent, "lib-operators", never, {}, {}, never, never, false, never>;
5
+ }
@@ -0,0 +1,15 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./operators.component";
3
+ import * as i2 from "./operators-list/operators-list.component";
4
+ import * as i3 from "./operators-details/operators-details.component";
5
+ import * as i4 from "../../../shared/table/table.component";
6
+ import * as i5 from "@angular/common";
7
+ import * as i6 from "primeng/dialog";
8
+ import * as i7 from "@angular/forms";
9
+ import * as i8 from "primeng/tabview";
10
+ import * as i9 from "primeng/checkbox";
11
+ export declare class OperatorsModule {
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<OperatorsModule, never>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<OperatorsModule, [typeof i1.OperatorsComponent, typeof i2.OperatorsListComponent, typeof i3.OperatorsDetailsComponent], [typeof i4.TableComponent, typeof i5.CommonModule, typeof i6.DialogModule, typeof i7.ReactiveFormsModule, typeof i7.FormsModule, typeof i8.TabViewModule, typeof i9.CheckboxModule], never>;
14
+ static ɵinj: i0.ɵɵInjectorDeclaration<OperatorsModule>;
15
+ }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class StatisticIncomeComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<StatisticIncomeComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<StatisticIncomeComponent, "lib-statistic-income", never, {}, {}, never, never, false, never>;
5
+ }
@@ -0,0 +1,81 @@
1
+ import { OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class StatisticListComponent implements OnInit {
4
+ subList: any;
5
+ ngOnInit(): void;
6
+ registerAccount: ({
7
+ field: string;
8
+ header: string;
9
+ sortable: boolean;
10
+ columnClass: string;
11
+ actions?: undefined;
12
+ } | {
13
+ field: string;
14
+ header: string;
15
+ sortable: boolean;
16
+ columnClass?: undefined;
17
+ actions?: undefined;
18
+ } | {
19
+ field: string;
20
+ header: string;
21
+ sortable: boolean;
22
+ columnClass: string;
23
+ actions: {
24
+ label: string;
25
+ tooltip: string;
26
+ callback: () => void;
27
+ buttonClass: string;
28
+ }[];
29
+ })[];
30
+ activeAccount: ({
31
+ field: string;
32
+ header: string;
33
+ sortable: boolean;
34
+ columnClass: string;
35
+ actions?: undefined;
36
+ } | {
37
+ field: string;
38
+ header: string;
39
+ sortable: boolean;
40
+ columnClass?: undefined;
41
+ actions?: undefined;
42
+ } | {
43
+ field: string;
44
+ header: string;
45
+ sortable: boolean;
46
+ columnClass: string;
47
+ actions: {
48
+ label: string;
49
+ tooltip: string;
50
+ callback: () => void;
51
+ buttonClass: string;
52
+ }[];
53
+ })[];
54
+ activeSub: ({
55
+ field: string;
56
+ header: string;
57
+ sortable: boolean;
58
+ columnClass: string;
59
+ actions?: undefined;
60
+ } | {
61
+ field: string;
62
+ header: string;
63
+ sortable: boolean;
64
+ columnClass?: undefined;
65
+ actions?: undefined;
66
+ } | {
67
+ field: string;
68
+ header: string;
69
+ sortable: boolean;
70
+ columnClass: string;
71
+ actions: {
72
+ label: string;
73
+ tooltip: string;
74
+ callback: () => void;
75
+ buttonClass: string;
76
+ }[];
77
+ })[];
78
+ customRowAction(): void;
79
+ static ɵfac: i0.ɵɵFactoryDeclaration<StatisticListComponent, never>;
80
+ static ɵcmp: i0.ɵɵComponentDeclaration<StatisticListComponent, "lib-statistic-list", never, {}, {}, never, never, false, never>;
81
+ }
@@ -0,0 +1,12 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./statistics.component";
3
+ import * as i2 from "./statistic-income/statistic-income.component";
4
+ import * as i3 from "./statistic-list/statistic-list.component";
5
+ import * as i4 from "@angular/common";
6
+ import * as i5 from "primeng/tabview";
7
+ import * as i6 from "../../../shared/table/table.component";
8
+ export declare class StatisticModule {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<StatisticModule, never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<StatisticModule, [typeof i1.StatisticsComponent, typeof i2.StatisticIncomeComponent, typeof i3.StatisticListComponent], [typeof i4.CommonModule, typeof i5.TabViewModule, typeof i6.TableComponent], never>;
11
+ static ɵinj: i0.ɵɵInjectorDeclaration<StatisticModule>;
12
+ }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class StatisticsComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<StatisticsComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<StatisticsComponent, "lib-statistics", never, {}, {}, never, never, false, never>;
5
+ }
@@ -0,0 +1,6 @@
1
+ export declare const MOCK_DATA_SUB: {
2
+ subName: string;
3
+ subActivDate: string;
4
+ subUserNumb: string;
5
+ subsPrice: string;
6
+ }[];
@@ -0,0 +1,21 @@
1
+ import { IDetailsControl } from '../../../../shared/models/details-control';
2
+ import { FormGroup } from '@angular/forms';
3
+ import { OnInit, OnDestroy } from '@angular/core';
4
+ import * as i0 from "@angular/core";
5
+ export declare class SubscriptionsAddNewComponent implements OnInit, OnDestroy {
6
+ subscriptionsAddDialogID: string;
7
+ private dialogStateSubscription;
8
+ private _dialogService;
9
+ private _fb;
10
+ selectedSubscriptions: any[];
11
+ dialogState: IDetailsControl;
12
+ subAddNewForm: FormGroup;
13
+ ngOnInit(): void;
14
+ ngOnDestroy(): void;
15
+ setFormStructure(): void;
16
+ closeDialog(): void;
17
+ editOn(): void;
18
+ setEditMode(id: string, isEditing: boolean): void;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<SubscriptionsAddNewComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<SubscriptionsAddNewComponent, "lib-subscriptions-add-new", never, { "subscriptionsAddDialogID": { "alias": "subscriptionsAddDialogID"; "required": false; }; }, {}, never, never, false, never>;
21
+ }
@@ -0,0 +1,27 @@
1
+ import { OnDestroy, OnInit } from '@angular/core';
2
+ import { IDetailsControl } from '../../../../shared/models/details-control';
3
+ import { FormGroup } from '@angular/forms';
4
+ import * as i0 from "@angular/core";
5
+ export declare class SubscriptionsDetailsComponent implements OnInit, OnDestroy {
6
+ subscriptionsDetailsDialogID: string;
7
+ subIndex: number;
8
+ subList: any;
9
+ sub: any;
10
+ private dialogStateSubscription;
11
+ private _dialogService;
12
+ private _fb;
13
+ dialogState: IDetailsControl;
14
+ subUpdateForm: FormGroup;
15
+ ngOnInit(): void;
16
+ ngOnDestroy(): void;
17
+ setFormStructure(): void;
18
+ getStatus(status: any): string;
19
+ getStatusColor(status: any): string;
20
+ closeDialog(): void;
21
+ setEditMode(id: string, isEditing: boolean): void;
22
+ editOn(): void;
23
+ moveUp(): void;
24
+ moveDown(): void;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<SubscriptionsDetailsComponent, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<SubscriptionsDetailsComponent, "lib-subscriptions-details", never, { "subscriptionsDetailsDialogID": { "alias": "subscriptionsDetailsDialogID"; "required": false; }; "subIndex": { "alias": "subIndex"; "required": false; }; "subList": { "alias": "subList"; "required": false; }; "sub": { "alias": "sub"; "required": false; }; }, {}, never, never, false, never>;
27
+ }