fas-admin 0.0.10 → 0.0.33

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 (149) hide show
  1. package/README.md +8 -8
  2. package/esm2022/fas-admin.mjs +1 -1
  3. package/esm2022/fas-payments/company-vm.model.mjs +2 -0
  4. package/esm2022/fas-payments/initialised-payment-link-vm.model.mjs +2 -0
  5. package/esm2022/fas-payments/invoice-data-im.model.mjs +2 -0
  6. package/esm2022/fas-payments/invoice-data-um.model.mjs +2 -0
  7. package/esm2022/fas-payments/invoice-data-vm.model.mjs +2 -0
  8. package/esm2022/fas-payments/my-account-im.model.mjs +2 -0
  9. package/esm2022/fas-payments/my-account-vm.model.mjs +2 -0
  10. package/esm2022/fas-payments/new-payment-im.model.mjs +2 -0
  11. package/esm2022/fas-payments/new-payment-subscription-im.model.mjs +2 -0
  12. package/esm2022/fas-payments/payment-session-confirmation-vm.model.mjs +2 -0
  13. package/esm2022/fas-payments/plan-feature-vm.model.mjs +2 -0
  14. package/esm2022/fas-payments/platform-subscription-plan-vm.model.mjs +2 -0
  15. package/esm2022/lib/fas-payment/components/card/card.component.mjs +26 -0
  16. package/esm2022/lib/fas-payment/components/failure/failure.component.mjs +27 -0
  17. package/esm2022/lib/fas-payment/components/offer/offer.component.mjs +75 -0
  18. package/esm2022/lib/fas-payment/components/select/select.component.mjs +67 -0
  19. package/esm2022/lib/fas-payment/components/success/success.component.mjs +29 -0
  20. package/esm2022/lib/fas-payment/components/summary/summary.component.mjs +246 -0
  21. package/esm2022/lib/fas-payment/components/trial/trial.component.mjs +15 -0
  22. package/esm2022/lib/fas-payment/fas-payment.module.mjs +72 -0
  23. package/esm2022/lib/fas-payment/models/fas-payment-config.mjs +2 -0
  24. package/esm2022/lib/fas-payment/services/api/invoice-data.service.mjs +36 -0
  25. package/esm2022/lib/fas-payment/services/api/my-account.service.mjs +36 -0
  26. package/esm2022/lib/fas-payment/services/api/new-payment.service.mjs +32 -0
  27. package/esm2022/lib/fas-payment/services/api/payment-success.service.mjs +25 -0
  28. package/esm2022/lib/fas-payment/services/api/subscriptions.service.mjs +25 -0
  29. package/esm2022/lib/fas-payment/services/config.service.mjs +36 -0
  30. package/esm2022/lib/fas-payment/services/custom-NIP-validator.mjs +31 -0
  31. package/esm2022/lib/fas-payment/services/custom-validator.mjs +24 -0
  32. package/esm2022/lib/fas-payment/services/move-focus.helpers.mjs +13 -0
  33. package/esm2022/lib/fas-payment/services/selected-plan.service.mjs +32 -0
  34. package/esm2022/lib/fas-payment.component.mjs +20 -0
  35. package/esm2022/lib/fas-payment.service.mjs +14 -0
  36. package/esm2022/public-api.mjs +5 -11
  37. package/fas-payments/company-vm.model.d.ts +15 -0
  38. package/fas-payments/initialised-payment-link-vm.model.d.ts +3 -0
  39. package/fas-payments/invoice-data-im.model.d.ts +12 -0
  40. package/fas-payments/invoice-data-um.model.d.ts +14 -0
  41. package/fas-payments/invoice-data-vm.model.d.ts +14 -0
  42. package/fas-payments/my-account-im.model.d.ts +8 -0
  43. package/fas-payments/my-account-vm.model.d.ts +13 -0
  44. package/fas-payments/new-payment-im.model.d.ts +12 -0
  45. package/fas-payments/new-payment-subscription-im.model.d.ts +5 -0
  46. package/fas-payments/payment-session-confirmation-vm.model.d.ts +3 -0
  47. package/fas-payments/plan-feature-vm.model.d.ts +9 -0
  48. package/fas-payments/platform-subscription-plan-vm.model.d.ts +21 -0
  49. package/fesm2022/fas-admin.mjs +616 -2171
  50. package/fesm2022/fas-admin.mjs.map +1 -1
  51. package/lib/fas-payment/components/card/card.component.d.ts +14 -0
  52. package/lib/fas-payment/components/failure/failure.component.d.ts +12 -0
  53. package/lib/fas-payment/components/offer/offer.component.d.ts +27 -0
  54. package/lib/fas-payment/components/select/select.component.d.ts +34 -0
  55. package/lib/fas-payment/components/success/success.component.d.ts +14 -0
  56. package/lib/fas-payment/components/summary/summary.component.d.ts +55 -0
  57. package/lib/fas-payment/components/trial/trial.component.d.ts +6 -0
  58. package/lib/fas-payment/fas-payment.module.d.ts +12 -0
  59. package/lib/fas-payment/models/fas-payment-config.d.ts +5 -0
  60. package/lib/fas-payment/services/api/invoice-data.service.d.ts +15 -0
  61. package/lib/fas-payment/services/api/my-account.service.d.ts +15 -0
  62. package/lib/fas-payment/services/api/new-payment.service.d.ts +16 -0
  63. package/lib/fas-payment/services/api/payment-success.service.d.ts +13 -0
  64. package/lib/fas-payment/services/api/subscriptions.service.d.ts +13 -0
  65. package/lib/fas-payment/services/config.service.d.ts +14 -0
  66. package/lib/fas-payment/services/custom-NIP-validator.d.ts +2 -0
  67. package/lib/fas-payment/services/custom-validator.d.ts +8 -0
  68. package/lib/fas-payment/services/move-focus.helpers.d.ts +1 -0
  69. package/lib/fas-payment/services/selected-plan.service.d.ts +15 -0
  70. package/lib/fas-payment.component.d.ts +6 -0
  71. package/lib/fas-payment.service.d.ts +6 -0
  72. package/package.json +3 -3
  73. package/public-api.d.ts +3 -9
  74. package/esm2022/lib/components/layout/side-bar/side-bar.component.mjs +0 -27
  75. package/esm2022/lib/components/layout/top-bar/top-bar.component.mjs +0 -46
  76. package/esm2022/lib/components/views/messages/message-new-template/message-new-template.component.mjs +0 -50
  77. package/esm2022/lib/components/views/messages/messages-newsletter/messages-newsletter.component.mjs +0 -48
  78. package/esm2022/lib/components/views/messages/messages-sent/messages-sent.component.mjs +0 -127
  79. package/esm2022/lib/components/views/messages/messages-templates/messages-templates.component.mjs +0 -72
  80. package/esm2022/lib/components/views/messages/messages.component.mjs +0 -25
  81. package/esm2022/lib/components/views/messages/messages.module.mjs +0 -56
  82. package/esm2022/lib/components/views/messages/mocked-data.mjs +0 -35
  83. package/esm2022/lib/components/views/operators/operators-list/operators-list.component.mjs +0 -59
  84. package/esm2022/lib/components/views/operators/operators.component.mjs +0 -12
  85. package/esm2022/lib/components/views/operators/operators.module.mjs +0 -24
  86. package/esm2022/lib/components/views/statistics/statistic-income/statistic-income.component.mjs +0 -12
  87. package/esm2022/lib/components/views/statistics/statistic-list/statistic-list.component.mjs +0 -145
  88. package/esm2022/lib/components/views/statistics/statistic.module.mjs +0 -29
  89. package/esm2022/lib/components/views/statistics/statistics.component.mjs +0 -13
  90. package/esm2022/lib/components/views/subscriptions/mocked-data.mjs +0 -27
  91. package/esm2022/lib/components/views/subscriptions/subscriptions-add-new/subscriptions-add-new.component.mjs +0 -48
  92. package/esm2022/lib/components/views/subscriptions/subscriptions-details/subscriptions-details.component.mjs +0 -89
  93. package/esm2022/lib/components/views/subscriptions/subscriptions-list/subscriptions-list.component.mjs +0 -244
  94. package/esm2022/lib/components/views/subscriptions/subscriptions.component.mjs +0 -12
  95. package/esm2022/lib/components/views/subscriptions/subscriptions.module.mjs +0 -63
  96. package/esm2022/lib/components/views/users/mocked-data.mjs +0 -313
  97. package/esm2022/lib/components/views/users/users-add-subscriptions/users-add-subscriptions.component.mjs +0 -59
  98. package/esm2022/lib/components/views/users/users-add-user/users-add-user.component.mjs +0 -82
  99. package/esm2022/lib/components/views/users/users-details/users-details.component.mjs +0 -189
  100. package/esm2022/lib/components/views/users/users-list/users-list.component.mjs +0 -110
  101. package/esm2022/lib/components/views/users/users.component.mjs +0 -12
  102. package/esm2022/lib/components/views/users/users.module.mjs +0 -98
  103. package/esm2022/lib/fas-admin.component.mjs +0 -24
  104. package/esm2022/lib/fas-admin.module.mjs +0 -97
  105. package/esm2022/lib/fas-admin.service.mjs +0 -14
  106. package/esm2022/lib/shared/models/details-control.mjs +0 -2
  107. package/esm2022/lib/shared/models/fas-admin-models.mjs +0 -2
  108. package/esm2022/lib/shared/services/dialog.service.mjs +0 -46
  109. package/esm2022/lib/shared/services/sidebar-toggle.service.mjs +0 -24
  110. package/esm2022/lib/shared/services/subscription-expiration-date.service.mjs +0 -94
  111. package/esm2022/lib/shared/table/table.component.mjs +0 -65
  112. package/lib/components/layout/side-bar/side-bar.component.d.ts +0 -11
  113. package/lib/components/layout/top-bar/top-bar.component.d.ts +0 -18
  114. package/lib/components/views/messages/message-new-template/message-new-template.component.d.ts +0 -21
  115. package/lib/components/views/messages/messages-newsletter/messages-newsletter.component.d.ts +0 -22
  116. package/lib/components/views/messages/messages-sent/messages-sent.component.d.ts +0 -101
  117. package/lib/components/views/messages/messages-templates/messages-templates.component.d.ts +0 -56
  118. package/lib/components/views/messages/messages.component.d.ts +0 -8
  119. package/lib/components/views/messages/messages.module.d.ts +0 -17
  120. package/lib/components/views/messages/mocked-data.d.ts +0 -8
  121. package/lib/components/views/operators/operators-list/operators-list.component.d.ts +0 -31
  122. package/lib/components/views/operators/operators.component.d.ts +0 -5
  123. package/lib/components/views/operators/operators.module.d.ts +0 -10
  124. package/lib/components/views/statistics/statistic-income/statistic-income.component.d.ts +0 -5
  125. package/lib/components/views/statistics/statistic-list/statistic-list.component.d.ts +0 -81
  126. package/lib/components/views/statistics/statistic.module.d.ts +0 -12
  127. package/lib/components/views/statistics/statistics.component.d.ts +0 -5
  128. package/lib/components/views/subscriptions/mocked-data.d.ts +0 -6
  129. package/lib/components/views/subscriptions/subscriptions-add-new/subscriptions-add-new.component.d.ts +0 -21
  130. package/lib/components/views/subscriptions/subscriptions-details/subscriptions-details.component.d.ts +0 -27
  131. package/lib/components/views/subscriptions/subscriptions-list/subscriptions-list.component.d.ts +0 -147
  132. package/lib/components/views/subscriptions/subscriptions.component.d.ts +0 -5
  133. package/lib/components/views/subscriptions/subscriptions.module.d.ts +0 -17
  134. package/lib/components/views/users/mocked-data.d.ts +0 -11
  135. package/lib/components/views/users/users-add-subscriptions/users-add-subscriptions.component.d.ts +0 -22
  136. package/lib/components/views/users/users-add-user/users-add-user.component.d.ts +0 -30
  137. package/lib/components/views/users/users-details/users-details.component.d.ts +0 -69
  138. package/lib/components/views/users/users-list/users-list.component.d.ts +0 -86
  139. package/lib/components/views/users/users.component.d.ts +0 -5
  140. package/lib/components/views/users/users.module.d.ts +0 -27
  141. package/lib/fas-admin.component.d.ts +0 -11
  142. package/lib/fas-admin.module.d.ts +0 -27
  143. package/lib/fas-admin.service.d.ts +0 -6
  144. package/lib/shared/models/details-control.d.ts +0 -4
  145. package/lib/shared/models/fas-admin-models.d.ts +0 -13
  146. package/lib/shared/services/dialog.service.d.ts +0 -14
  147. package/lib/shared/services/sidebar-toggle.service.d.ts +0 -11
  148. package/lib/shared/services/subscription-expiration-date.service.d.ts +0 -9
  149. package/lib/shared/table/table.component.d.ts +0 -20
@@ -1,11 +0,0 @@
1
- export declare const MOCK_DATA: {
2
- userName: string;
3
- creationDate: string;
4
- subscriptionType: string;
5
- subscriptionStatus: string;
6
- }[];
7
- export declare const MOCK_DATA_TRANS: {
8
- transDate: string;
9
- transValue: string;
10
- issuDate: string;
11
- }[];
@@ -1,22 +0,0 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { IDetailsControl } from '../../../../shared/models/details-control';
3
- import * as i0 from "@angular/core";
4
- export declare class UsersAddSubscriptionsComponent implements OnInit, OnDestroy {
5
- dialogID_userAssignSub: string;
6
- private _expirationDateService;
7
- private dialogStateSubscription;
8
- private _dialogService;
9
- selectedSubscriptions: any[];
10
- dialogState: IDetailsControl;
11
- subcriptionsEntity: number;
12
- subscriptionStart: any;
13
- minimumDate: any;
14
- ngOnInit(): void;
15
- ngOnDestroy(): void;
16
- addNewSubscription(subName: string): void;
17
- removeSub(index: number): void;
18
- closeDialog(): void;
19
- getSubscriptionTypeColor(subscriptionType: string): "#16A34A" | "#0D9488" | "#16A34A80" | "#0D948880";
20
- static ɵfac: i0.ɵɵFactoryDeclaration<UsersAddSubscriptionsComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<UsersAddSubscriptionsComponent, "lib-users-add-subscriptions", never, { "dialogID_userAssignSub": { "alias": "dialogID_userAssignSub"; "required": false; }; }, {}, never, never, false, never>;
22
- }
@@ -1,30 +0,0 @@
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 UsersAddUserComponent implements OnInit, OnDestroy {
6
- dialogID_addUser: string;
7
- private dialogStateSubscription;
8
- private _expirationDateService;
9
- private _dialogService;
10
- private _fb;
11
- dialogState: IDetailsControl;
12
- addNewUserForm: FormGroup;
13
- selectedSubscriptions: any[];
14
- subcriptionsEntity: number;
15
- subscriptionStart: any;
16
- minimumDate: any;
17
- permisions: any;
18
- ngOnInit(): void;
19
- ngOnDestroy(): void;
20
- setFormStructure(): void;
21
- editOn(): void;
22
- closeDialog(): void;
23
- openDialog(id: string): void;
24
- setEditMode(id: string, isEditing: boolean): void;
25
- addNewSubscription(subName: string): void;
26
- removeSub(index: number): void;
27
- getSubscriptionTypeColor(subscriptionType: string): "#16A34A" | "#0D9488" | "#16A34A80" | "#0D948880";
28
- static ɵfac: i0.ɵɵFactoryDeclaration<UsersAddUserComponent, never>;
29
- static ɵcmp: i0.ɵɵComponentDeclaration<UsersAddUserComponent, "lib-users-add-user", never, { "dialogID_addUser": { "alias": "dialogID_addUser"; "required": false; }; }, {}, never, never, false, never>;
30
- }
@@ -1,69 +0,0 @@
1
- import { IDetailsControl } from '../../../../shared/models/details-control';
2
- import { FormGroup } from '@angular/forms';
3
- import { SimpleChanges, OnDestroy, OnInit } from '@angular/core';
4
- import * as i0 from "@angular/core";
5
- export declare class UsersDetailsComponent implements OnInit, OnDestroy {
6
- dialogID_usersDetails: string;
7
- userIndex: number;
8
- usersList: any;
9
- user: any;
10
- private dialogStateSubscription;
11
- private _expirationDateService;
12
- private _messageService;
13
- private _dialogService;
14
- private _fb;
15
- dialogID_userAssignSub: string;
16
- isSubscriptionsEdit: boolean;
17
- rangeDates: Date[] | undefined;
18
- dialogState: IDetailsControl;
19
- selectedTabIndex: number;
20
- selectedSubscription: any;
21
- userUpdateForm: FormGroup;
22
- permisions: string[];
23
- daysToExtend: number;
24
- subscriptionList: any;
25
- subscriprion: any;
26
- transSelected: any;
27
- transation: any;
28
- transColumns: ({
29
- field: string;
30
- header: string;
31
- sortable: boolean;
32
- columnClass: string;
33
- actions?: undefined;
34
- } | {
35
- field: string;
36
- header: string;
37
- columnClass: string;
38
- sortable?: undefined;
39
- actions?: undefined;
40
- } | {
41
- field: string;
42
- header: string;
43
- columnClass: string;
44
- actions: {
45
- label: string;
46
- buttonClass: string;
47
- }[];
48
- sortable?: undefined;
49
- })[];
50
- ngOnInit(): void;
51
- ngOnDestroy(): void;
52
- ngOnChanges(changes: SimpleChanges): void;
53
- handleTabSwitch($event: any): void;
54
- getSubscriptionStatus(subscriptionStatus: string): string;
55
- getSubscriptionStatusMessage(subscriptionStatus: string): string;
56
- getSubscriptionTypeColor(subscriptionType: string, subscriptionStatus: string): "#16A34A" | "#0D9488" | "#16A34A80" | "#0D948880";
57
- getSubscriptionStatusColor(subscriptionStatus: string): string;
58
- showSuccess(): void;
59
- setFormStructure(): void;
60
- editOn(): void;
61
- closeDialog(): void;
62
- openDialog(id: string): void;
63
- setEditMode(id: string, isEditing: boolean): void;
64
- editSubscriptionToggle(): void;
65
- moveUp(): void;
66
- moveDown(): void;
67
- static ɵfac: i0.ɵɵFactoryDeclaration<UsersDetailsComponent, never>;
68
- static ɵcmp: i0.ɵɵComponentDeclaration<UsersDetailsComponent, "lib-users-details", never, { "dialogID_usersDetails": { "alias": "dialogID_usersDetails"; "required": false; }; "userIndex": { "alias": "userIndex"; "required": false; }; "usersList": { "alias": "usersList"; "required": false; }; "user": { "alias": "user"; "required": false; }; }, {}, never, never, false, never>;
69
- }
@@ -1,86 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class UsersListComponent implements OnInit {
4
- dialogID_usersDetails: string;
5
- dialogID_addUser: string;
6
- userSelected: any | null;
7
- isLoading: boolean;
8
- usersList: any;
9
- userIndex: number;
10
- user: any;
11
- private _expirationDateService;
12
- private _dialogService;
13
- userColumns: ({
14
- field: string;
15
- header: string;
16
- sortable: boolean;
17
- columnClass: string;
18
- actions: {
19
- label: string;
20
- buttonClass: string;
21
- callback: (user: any, userIndex: number) => void;
22
- icoSuffix: string;
23
- }[];
24
- prefix?: undefined;
25
- contentClass?: undefined;
26
- styleBackgroundFunction?: undefined;
27
- valueFunction?: undefined;
28
- styleColorFunction?: undefined;
29
- } | {
30
- field: string;
31
- header: string;
32
- sortable: boolean;
33
- columnClass: string;
34
- actions?: undefined;
35
- prefix?: undefined;
36
- contentClass?: undefined;
37
- styleBackgroundFunction?: undefined;
38
- valueFunction?: undefined;
39
- styleColorFunction?: undefined;
40
- } | {
41
- field: string;
42
- header: string;
43
- prefix: string;
44
- sortable: boolean;
45
- contentClass: string;
46
- styleBackgroundFunction: (rowData: any) => string;
47
- columnClass?: undefined;
48
- actions?: undefined;
49
- valueFunction?: undefined;
50
- styleColorFunction?: undefined;
51
- } | {
52
- field: string;
53
- header: string;
54
- sortable: boolean;
55
- valueFunction: (rowData: any) => string;
56
- styleColorFunction: (rowData: any) => string;
57
- columnClass?: undefined;
58
- actions?: undefined;
59
- prefix?: undefined;
60
- contentClass?: undefined;
61
- styleBackgroundFunction?: undefined;
62
- } | {
63
- field: string;
64
- header: string;
65
- sortable: boolean;
66
- columnClass: string;
67
- actions: {
68
- label: string;
69
- tooltip: string;
70
- buttonClass: string;
71
- }[];
72
- prefix?: undefined;
73
- contentClass?: undefined;
74
- styleBackgroundFunction?: undefined;
75
- valueFunction?: undefined;
76
- styleColorFunction?: undefined;
77
- })[];
78
- ngOnInit(): void;
79
- getSubscriptionTypeColor(rowData: any): string;
80
- getSubscriptionStatus(rowData: any): string;
81
- getSubscriptionStatusColor(rowData: any): string;
82
- openDetails(user: any, userIndex: number): void;
83
- openDialog(id: string): void;
84
- static ɵfac: i0.ɵɵFactoryDeclaration<UsersListComponent, never>;
85
- static ɵcmp: i0.ɵɵComponentDeclaration<UsersListComponent, "lib-users-list", never, {}, {}, never, never, false, never>;
86
- }
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class UsersComponent {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<UsersComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<UsersComponent, "lib-users", never, {}, {}, never, never, false, never>;
5
- }
@@ -1,27 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./users-add-subscriptions/users-add-subscriptions.component";
3
- import * as i2 from "./users-add-user/users-add-user.component";
4
- import * as i3 from "./users-details/users-details.component";
5
- import * as i4 from "./users-list/users-list.component";
6
- import * as i5 from "./users.component";
7
- import * as i6 from "primeng/progressspinner";
8
- import * as i7 from "@angular/forms";
9
- import * as i8 from "primeng/inputnumber";
10
- import * as i9 from "primeng/multiselect";
11
- import * as i10 from "@angular/common/http";
12
- import * as i11 from "primeng/fileupload";
13
- import * as i12 from "primeng/calendar";
14
- import * as i13 from "primeng/checkbox";
15
- import * as i14 from "primeng/dropdown";
16
- import * as i15 from "../../../shared/table/table.component";
17
- import * as i16 from "primeng/stepper";
18
- import * as i17 from "primeng/tabview";
19
- import * as i18 from "primeng/dialog";
20
- import * as i19 from "@angular/common";
21
- import * as i20 from "primeng/toast";
22
- import * as i21 from "primeng/table";
23
- export declare class UsersModule {
24
- static ɵfac: i0.ɵɵFactoryDeclaration<UsersModule, never>;
25
- static ɵmod: i0.ɵɵNgModuleDeclaration<UsersModule, [typeof i1.UsersAddSubscriptionsComponent, typeof i2.UsersAddUserComponent, typeof i3.UsersDetailsComponent, typeof i4.UsersListComponent, typeof i5.UsersComponent], [typeof i6.ProgressSpinnerModule, typeof i7.ReactiveFormsModule, typeof i8.InputNumberModule, typeof i9.MultiSelectModule, typeof i10.HttpClientModule, typeof i11.FileUploadModule, typeof i12.CalendarModule, typeof i13.CheckboxModule, typeof i14.DropdownModule, typeof i15.TableComponent, typeof i16.StepperModule, typeof i17.TabViewModule, typeof i18.DialogModule, typeof i19.CommonModule, typeof i7.FormsModule, typeof i20.ToastModule, typeof i21.TableModule], never>;
26
- static ɵinj: i0.ɵɵInjectorDeclaration<UsersModule>;
27
- }
@@ -1,11 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { IFASAdminSettings } from './shared/models/fas-admin-models';
3
- import * as i0 from "@angular/core";
4
- export declare class FASAdminComponent implements OnInit {
5
- private settings;
6
- inputData?: IFASAdminSettings;
7
- constructor(settings: IFASAdminSettings);
8
- ngOnInit(): void;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<FASAdminComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<FASAdminComponent, "lib-fas-admin", never, {}, {}, never, never, false, never>;
11
- }
@@ -1,27 +0,0 @@
1
- import { IFASAdminSettings } from './shared/models/fas-admin-models';
2
- import { InjectionToken } from '@angular/core';
3
- import { Routes } from '@angular/router';
4
- import * as i0 from "@angular/core";
5
- import * as i1 from "./fas-admin.component";
6
- import * as i2 from "./components/layout/top-bar/top-bar.component";
7
- import * as i3 from "./components/layout/side-bar/side-bar.component";
8
- import * as i4 from "@angular/router";
9
- import * as i5 from "./components/views/subscriptions/subscriptions.module";
10
- import * as i6 from "@fortawesome/angular-fontawesome";
11
- import * as i7 from "./components/views/operators/operators.module";
12
- import * as i8 from "./components/views/statistics/statistic.module";
13
- import * as i9 from "./components/views/messages/messages.module";
14
- import * as i10 from "@angular/common";
15
- import * as i11 from "./components/views/users/users.module";
16
- export declare const FAS_LIB_CONFIG: InjectionToken<unknown>;
17
- export declare function SettingsFactory(): IFASAdminSettings;
18
- export declare const settings: IFASAdminSettings;
19
- export declare const routes: Routes;
20
- export declare class FASAdminModule {
21
- private settings;
22
- static settings: IFASAdminSettings;
23
- constructor(settings: IFASAdminSettings);
24
- static ɵfac: i0.ɵɵFactoryDeclaration<FASAdminModule, never>;
25
- static ɵmod: i0.ɵɵNgModuleDeclaration<FASAdminModule, [typeof i1.FASAdminComponent, typeof i2.TopBarComponent, typeof i3.SideBarComponent], [typeof i4.RouterModule, typeof i5.SubscriptionsModule, typeof i6.FontAwesomeModule, typeof i7.OperatorsModule, typeof i8.StatisticModule, typeof i9.MessagesModule, typeof i10.CommonModule, typeof i11.UsersModule], never>;
26
- static ɵinj: i0.ɵɵInjectorDeclaration<FASAdminModule>;
27
- }
@@ -1,6 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class FASAdminService {
3
- constructor();
4
- static ɵfac: i0.ɵɵFactoryDeclaration<FASAdminService, never>;
5
- static ɵprov: i0.ɵɵInjectableDeclaration<FASAdminService>;
6
- }
@@ -1,4 +0,0 @@
1
- export interface IDetailsControl {
2
- isEditing: boolean;
3
- isOpen: boolean;
4
- }
@@ -1,13 +0,0 @@
1
- import { Route } from "@angular/router";
2
- import { IconDefinition } from "@fortawesome/free-solid-svg-icons";
3
- export interface IFASButtonList {
4
- routerUrl: string;
5
- label: string;
6
- icon: IconDefinition;
7
- }
8
- export interface IFASAdminSettings {
9
- companyName: string;
10
- defaultButtonList: IFASButtonList[];
11
- specButtonList: IFASButtonList[];
12
- customRoutes?: Route[];
13
- }
@@ -1,14 +0,0 @@
1
- import { Observable } from 'rxjs';
2
- import { IDetailsControl } from '../models/details-control';
3
- import * as i0 from "@angular/core";
4
- export declare class DialogService {
5
- private dialogStates;
6
- constructor();
7
- getDialogState(id: string): Observable<IDetailsControl>;
8
- setDialogState(id: string, state: IDetailsControl): void;
9
- openDialog(id: string): void;
10
- closeDialog(id: string): void;
11
- setEditingState(id: string, isEditing: boolean): void;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<DialogService, never>;
13
- static ɵprov: i0.ɵɵInjectableDeclaration<DialogService>;
14
- }
@@ -1,11 +0,0 @@
1
- import { Observable } from 'rxjs';
2
- import * as i0 from "@angular/core";
3
- export declare class SidebarToggleService {
4
- private isOpenSubject;
5
- private isOpen$;
6
- constructor();
7
- getIsOpen(): Observable<boolean>;
8
- setIsOpen(value: boolean): void;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<SidebarToggleService, never>;
10
- static ɵprov: i0.ɵɵInjectableDeclaration<SidebarToggleService>;
11
- }
@@ -1,9 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class SubscriptionExpirationDateService {
3
- getSubscriptionStatus(subscriptionStatus: string): string;
4
- getSubscriptionStatusMessage(subscriptionStatus: string): string;
5
- getSubscriptionStatusColor(subscriptionStatus: string): string;
6
- getSubscriptionTypeColor(subscriptionType: string, subscriptionStatus?: string): "#16A34A" | "#0D9488" | "#16A34A80" | "#0D948880";
7
- static ɵfac: i0.ɵɵFactoryDeclaration<SubscriptionExpirationDateService, never>;
8
- static ɵprov: i0.ɵɵInjectableDeclaration<SubscriptionExpirationDateService>;
9
- }
@@ -1,20 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class TableComponent {
3
- value: any[];
4
- columns: any[];
5
- rows: number;
6
- rowsPerPageOptions: number[];
7
- paginator: boolean;
8
- globalFilterFields: string[];
9
- dataKey: string;
10
- showCurrentPageReport: boolean;
11
- loading: boolean;
12
- styleClass: string;
13
- showCheckbox: boolean;
14
- selection: any;
15
- customFunction: (rowData: any, rowIndex: number) => void;
16
- customActions(action: any, rowData: any, rowIndex: number): void;
17
- hasActions(): boolean;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "lib-table", never, { "value": { "alias": "value"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "rowsPerPageOptions": { "alias": "rowsPerPageOptions"; "required": false; }; "paginator": { "alias": "paginator"; "required": false; }; "globalFilterFields": { "alias": "globalFilterFields"; "required": false; }; "dataKey": { "alias": "dataKey"; "required": false; }; "showCurrentPageReport": { "alias": "showCurrentPageReport"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; "showCheckbox": { "alias": "showCheckbox"; "required": false; }; "selection": { "alias": "selection"; "required": false; }; "customFunction": { "alias": "customFunction"; "required": false; }; }, {}, never, never, true, never>;
20
- }