fas-admin 0.0.33 → 0.0.58

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 (179) hide show
  1. package/README.md +8 -8
  2. package/api/api-services/login-as-param.service.d.ts +15 -0
  3. package/api/api-services/platform-users.service.d.ts +15 -0
  4. package/api/logi-as-result-vm.model.d.ts +4 -0
  5. package/api/login-as-im.model.d.ts +4 -0
  6. package/api/models/api-url.token.d.ts +2 -0
  7. package/api/paginated-result-platform-user-account-vm.model.d.ts +8 -0
  8. package/api/platform-user-account-vm.model.d.ts +20 -0
  9. package/api/sort-order.model.d.ts +4 -0
  10. package/esm2022/api/api-services/login-as-param.service.mjs +34 -0
  11. package/esm2022/api/api-services/platform-users.service.mjs +50 -0
  12. package/esm2022/api/logi-as-result-vm.model.mjs +2 -0
  13. package/esm2022/api/login-as-im.model.mjs +2 -0
  14. package/esm2022/api/models/api-url.token.mjs +3 -0
  15. package/esm2022/api/paginated-result-platform-user-account-vm.model.mjs +2 -0
  16. package/esm2022/api/platform-user-account-vm.model.mjs +2 -0
  17. package/esm2022/api/sort-order.model.mjs +6 -0
  18. package/esm2022/fas-admin.mjs +1 -1
  19. package/esm2022/lib/components/layout/side-bar/side-bar.component.mjs +26 -0
  20. package/esm2022/lib/components/layout/top-bar/top-bar.component.mjs +39 -0
  21. package/esm2022/lib/components/views/dashboard/dashboard.component.mjs +11 -0
  22. package/esm2022/lib/components/views/messages/message-new-send/message-new-send.component.mjs +50 -0
  23. package/esm2022/lib/components/views/messages/message-new-template/message-new-template.component.mjs +50 -0
  24. package/esm2022/lib/components/views/messages/messages-newsletter/messages-newsletter.component.mjs +48 -0
  25. package/esm2022/lib/components/views/messages/messages-sent/messages-sent.component.mjs +105 -0
  26. package/esm2022/lib/components/views/messages/messages-templates/messages-templates.component.mjs +79 -0
  27. package/esm2022/lib/components/views/messages/messages.component.mjs +28 -0
  28. package/esm2022/lib/components/views/messages/messages.module.mjs +59 -0
  29. package/esm2022/lib/components/views/messages/mocked-data.mjs +35 -0
  30. package/esm2022/lib/components/views/operators/operators-details/operators-details.component.mjs +104 -0
  31. package/esm2022/lib/components/views/operators/operators-list/operators-list.component.mjs +84 -0
  32. package/esm2022/lib/components/views/operators/operators.component.mjs +12 -0
  33. package/esm2022/lib/components/views/operators/operators.module.mjs +48 -0
  34. package/esm2022/lib/components/views/statistics/statistic-income/statistic-income.component.mjs +12 -0
  35. package/esm2022/lib/components/views/statistics/statistic-list/statistic-list.component.mjs +153 -0
  36. package/esm2022/lib/components/views/statistics/statistic.module.mjs +29 -0
  37. package/esm2022/lib/components/views/statistics/statistics.component.mjs +13 -0
  38. package/esm2022/lib/components/views/subscriptions/mocked-data.mjs +27 -0
  39. package/esm2022/lib/components/views/subscriptions/subscriptions-add-new/subscriptions-add-new.component.mjs +49 -0
  40. package/esm2022/lib/components/views/subscriptions/subscriptions-details/subscriptions-details.component.mjs +90 -0
  41. package/esm2022/lib/components/views/subscriptions/subscriptions-list/subscriptions-list.component.mjs +262 -0
  42. package/esm2022/lib/components/views/subscriptions/subscriptions.component.mjs +12 -0
  43. package/esm2022/lib/components/views/subscriptions/subscriptions.module.mjs +67 -0
  44. package/esm2022/lib/components/views/users/mocked-data.mjs +313 -0
  45. package/esm2022/lib/components/views/users/users-add-subscriptions/users-add-subscriptions.component.mjs +60 -0
  46. package/esm2022/lib/components/views/users/users-add-user/users-add-user.component.mjs +83 -0
  47. package/esm2022/lib/components/views/users/users-details/users-details.component.mjs +201 -0
  48. package/esm2022/lib/components/views/users/users-list/users-list.component.mjs +172 -0
  49. package/esm2022/lib/components/views/users/users.component.mjs +19 -0
  50. package/esm2022/lib/components/views/users/users.module.mjs +98 -0
  51. package/esm2022/lib/core/guards/fas-access-guard.guard.mjs +70 -0
  52. package/esm2022/lib/fas-admin.component.mjs +45 -0
  53. package/esm2022/lib/fas-admin.module.mjs +93 -0
  54. package/esm2022/lib/fas-admin.service.mjs +28 -0
  55. package/esm2022/lib/shared/const/fas-default-config.mjs +7 -0
  56. package/esm2022/lib/shared/const/fas-default-settings.const.mjs +45 -0
  57. package/esm2022/lib/shared/models/details-control.mjs +2 -0
  58. package/esm2022/lib/shared/models/fas-admin-models.mjs +2 -0
  59. package/esm2022/lib/shared/services/dialog.service.mjs +46 -0
  60. package/esm2022/lib/shared/services/sidebar-toggle.service.mjs +24 -0
  61. package/esm2022/lib/shared/services/subscription-expiration-date.service.mjs +94 -0
  62. package/esm2022/lib/shared/services/users.service.mjs +20 -0
  63. package/esm2022/lib/shared/tokens/fas-lib-config.token.mjs +30 -0
  64. package/esm2022/public-api.mjs +11 -5
  65. package/fesm2022/fas-admin.mjs +2629 -594
  66. package/fesm2022/fas-admin.mjs.map +1 -1
  67. package/lib/components/layout/side-bar/side-bar.component.d.ts +11 -0
  68. package/lib/components/layout/top-bar/top-bar.component.d.ts +13 -0
  69. package/lib/components/views/dashboard/dashboard.component.d.ts +5 -0
  70. package/lib/components/views/messages/message-new-send/message-new-send.component.d.ts +20 -0
  71. package/lib/components/views/messages/message-new-template/message-new-template.component.d.ts +21 -0
  72. package/lib/components/views/messages/messages-newsletter/messages-newsletter.component.d.ts +22 -0
  73. package/lib/components/views/messages/messages-sent/messages-sent.component.d.ts +67 -0
  74. package/lib/components/views/messages/messages-templates/messages-templates.component.d.ts +59 -0
  75. package/lib/components/views/messages/messages.component.d.ts +9 -0
  76. package/lib/components/views/messages/messages.module.d.ts +18 -0
  77. package/lib/components/views/messages/mocked-data.d.ts +8 -0
  78. package/lib/components/views/operators/operators-details/operators-details.component.d.ts +29 -0
  79. package/lib/components/views/operators/operators-list/operators-list.component.d.ts +55 -0
  80. package/lib/components/views/operators/operators.component.d.ts +5 -0
  81. package/lib/components/views/operators/operators.module.d.ts +16 -0
  82. package/lib/components/views/statistics/statistic-income/statistic-income.component.d.ts +5 -0
  83. package/lib/components/views/statistics/statistic-list/statistic-list.component.d.ts +84 -0
  84. package/lib/components/views/statistics/statistic.module.d.ts +12 -0
  85. package/lib/components/views/statistics/statistics.component.d.ts +5 -0
  86. package/lib/components/views/subscriptions/mocked-data.d.ts +6 -0
  87. package/lib/components/views/subscriptions/subscriptions-add-new/subscriptions-add-new.component.d.ts +21 -0
  88. package/lib/components/views/subscriptions/subscriptions-details/subscriptions-details.component.d.ts +27 -0
  89. package/lib/components/views/subscriptions/subscriptions-list/subscriptions-list.component.d.ts +152 -0
  90. package/lib/components/views/subscriptions/subscriptions.component.d.ts +5 -0
  91. package/lib/components/views/subscriptions/subscriptions.module.d.ts +18 -0
  92. package/lib/components/views/users/mocked-data.d.ts +11 -0
  93. package/lib/components/views/users/users-add-subscriptions/users-add-subscriptions.component.d.ts +22 -0
  94. package/lib/components/views/users/users-add-user/users-add-user.component.d.ts +30 -0
  95. package/lib/components/views/users/users-details/users-details.component.d.ts +72 -0
  96. package/lib/components/views/users/users-list/users-list.component.d.ts +38 -0
  97. package/lib/components/views/users/users.component.d.ts +7 -0
  98. package/lib/components/views/users/users.module.d.ts +27 -0
  99. package/lib/core/guards/fas-access-guard.guard.d.ts +29 -0
  100. package/lib/fas-admin.component.d.ts +13 -0
  101. package/lib/fas-admin.module.d.ts +22 -0
  102. package/lib/fas-admin.service.d.ts +10 -0
  103. package/lib/shared/const/fas-default-config.d.ts +2 -0
  104. package/lib/shared/const/fas-default-settings.const.d.ts +3 -0
  105. package/lib/shared/models/details-control.d.ts +4 -0
  106. package/lib/shared/models/fas-admin-models.d.ts +29 -0
  107. package/lib/shared/services/dialog.service.d.ts +14 -0
  108. package/lib/shared/services/sidebar-toggle.service.d.ts +11 -0
  109. package/lib/shared/services/subscription-expiration-date.service.d.ts +9 -0
  110. package/lib/shared/services/users.service.d.ts +8 -0
  111. package/lib/shared/tokens/fas-lib-config.token.d.ts +19 -0
  112. package/package.json +6 -3
  113. package/public-api.d.ts +6 -3
  114. package/esm2022/fas-payments/company-vm.model.mjs +0 -2
  115. package/esm2022/fas-payments/initialised-payment-link-vm.model.mjs +0 -2
  116. package/esm2022/fas-payments/invoice-data-im.model.mjs +0 -2
  117. package/esm2022/fas-payments/invoice-data-um.model.mjs +0 -2
  118. package/esm2022/fas-payments/invoice-data-vm.model.mjs +0 -2
  119. package/esm2022/fas-payments/my-account-im.model.mjs +0 -2
  120. package/esm2022/fas-payments/my-account-vm.model.mjs +0 -2
  121. package/esm2022/fas-payments/new-payment-im.model.mjs +0 -2
  122. package/esm2022/fas-payments/new-payment-subscription-im.model.mjs +0 -2
  123. package/esm2022/fas-payments/payment-session-confirmation-vm.model.mjs +0 -2
  124. package/esm2022/fas-payments/plan-feature-vm.model.mjs +0 -2
  125. package/esm2022/fas-payments/platform-subscription-plan-vm.model.mjs +0 -2
  126. package/esm2022/lib/fas-payment/components/card/card.component.mjs +0 -26
  127. package/esm2022/lib/fas-payment/components/failure/failure.component.mjs +0 -27
  128. package/esm2022/lib/fas-payment/components/offer/offer.component.mjs +0 -75
  129. package/esm2022/lib/fas-payment/components/select/select.component.mjs +0 -67
  130. package/esm2022/lib/fas-payment/components/success/success.component.mjs +0 -29
  131. package/esm2022/lib/fas-payment/components/summary/summary.component.mjs +0 -246
  132. package/esm2022/lib/fas-payment/components/trial/trial.component.mjs +0 -15
  133. package/esm2022/lib/fas-payment/fas-payment.module.mjs +0 -72
  134. package/esm2022/lib/fas-payment/models/fas-payment-config.mjs +0 -2
  135. package/esm2022/lib/fas-payment/services/api/invoice-data.service.mjs +0 -36
  136. package/esm2022/lib/fas-payment/services/api/my-account.service.mjs +0 -36
  137. package/esm2022/lib/fas-payment/services/api/new-payment.service.mjs +0 -32
  138. package/esm2022/lib/fas-payment/services/api/payment-success.service.mjs +0 -25
  139. package/esm2022/lib/fas-payment/services/api/subscriptions.service.mjs +0 -25
  140. package/esm2022/lib/fas-payment/services/config.service.mjs +0 -36
  141. package/esm2022/lib/fas-payment/services/custom-NIP-validator.mjs +0 -31
  142. package/esm2022/lib/fas-payment/services/custom-validator.mjs +0 -24
  143. package/esm2022/lib/fas-payment/services/move-focus.helpers.mjs +0 -13
  144. package/esm2022/lib/fas-payment/services/selected-plan.service.mjs +0 -32
  145. package/esm2022/lib/fas-payment.component.mjs +0 -20
  146. package/esm2022/lib/fas-payment.service.mjs +0 -14
  147. package/fas-payments/company-vm.model.d.ts +0 -15
  148. package/fas-payments/initialised-payment-link-vm.model.d.ts +0 -3
  149. package/fas-payments/invoice-data-im.model.d.ts +0 -12
  150. package/fas-payments/invoice-data-um.model.d.ts +0 -14
  151. package/fas-payments/invoice-data-vm.model.d.ts +0 -14
  152. package/fas-payments/my-account-im.model.d.ts +0 -8
  153. package/fas-payments/my-account-vm.model.d.ts +0 -13
  154. package/fas-payments/new-payment-im.model.d.ts +0 -12
  155. package/fas-payments/new-payment-subscription-im.model.d.ts +0 -5
  156. package/fas-payments/payment-session-confirmation-vm.model.d.ts +0 -3
  157. package/fas-payments/plan-feature-vm.model.d.ts +0 -9
  158. package/fas-payments/platform-subscription-plan-vm.model.d.ts +0 -21
  159. package/lib/fas-payment/components/card/card.component.d.ts +0 -14
  160. package/lib/fas-payment/components/failure/failure.component.d.ts +0 -12
  161. package/lib/fas-payment/components/offer/offer.component.d.ts +0 -27
  162. package/lib/fas-payment/components/select/select.component.d.ts +0 -34
  163. package/lib/fas-payment/components/success/success.component.d.ts +0 -14
  164. package/lib/fas-payment/components/summary/summary.component.d.ts +0 -55
  165. package/lib/fas-payment/components/trial/trial.component.d.ts +0 -6
  166. package/lib/fas-payment/fas-payment.module.d.ts +0 -12
  167. package/lib/fas-payment/models/fas-payment-config.d.ts +0 -5
  168. package/lib/fas-payment/services/api/invoice-data.service.d.ts +0 -15
  169. package/lib/fas-payment/services/api/my-account.service.d.ts +0 -15
  170. package/lib/fas-payment/services/api/new-payment.service.d.ts +0 -16
  171. package/lib/fas-payment/services/api/payment-success.service.d.ts +0 -13
  172. package/lib/fas-payment/services/api/subscriptions.service.d.ts +0 -13
  173. package/lib/fas-payment/services/config.service.d.ts +0 -14
  174. package/lib/fas-payment/services/custom-NIP-validator.d.ts +0 -2
  175. package/lib/fas-payment/services/custom-validator.d.ts +0 -8
  176. package/lib/fas-payment/services/move-focus.helpers.d.ts +0 -1
  177. package/lib/fas-payment/services/selected-plan.service.d.ts +0 -15
  178. package/lib/fas-payment.component.d.ts +0 -6
  179. package/lib/fas-payment.service.d.ts +0 -6
@@ -0,0 +1,48 @@
1
+ import { OperatorsDetailsComponent } from './operators-details/operators-details.component';
2
+ import { OperatorsListComponent } from './operators-list/operators-list.component';
3
+ import { OperatorsComponent } from './operators.component';
4
+ import { CommonModule } from '@angular/common';
5
+ import { NgModule } from '@angular/core';
6
+ import { DialogModule } from 'primeng/dialog';
7
+ import { FormsModule, ReactiveFormsModule } from '@angular/forms';
8
+ import { TabViewModule } from 'primeng/tabview';
9
+ import { CheckboxModule } from 'primeng/checkbox';
10
+ import { FasServiceTableComponent } from 'fas-services';
11
+ import { ButtonModule } from 'primeng/button';
12
+ import * as i0 from "@angular/core";
13
+ export class OperatorsModule {
14
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: OperatorsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
15
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.2.2", ngImport: i0, type: OperatorsModule, declarations: [OperatorsComponent, OperatorsListComponent, OperatorsDetailsComponent], imports: [FasServiceTableComponent,
16
+ CommonModule,
17
+ DialogModule,
18
+ ReactiveFormsModule,
19
+ ButtonModule,
20
+ FormsModule,
21
+ TabViewModule,
22
+ CheckboxModule] }); }
23
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: OperatorsModule, imports: [FasServiceTableComponent,
24
+ CommonModule,
25
+ DialogModule,
26
+ ReactiveFormsModule,
27
+ ButtonModule,
28
+ FormsModule,
29
+ TabViewModule,
30
+ CheckboxModule] }); }
31
+ }
32
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: OperatorsModule, decorators: [{
33
+ type: NgModule,
34
+ args: [{
35
+ declarations: [OperatorsComponent, OperatorsListComponent, OperatorsDetailsComponent],
36
+ imports: [
37
+ FasServiceTableComponent,
38
+ CommonModule,
39
+ DialogModule,
40
+ ReactiveFormsModule,
41
+ ButtonModule,
42
+ FormsModule,
43
+ TabViewModule,
44
+ CheckboxModule
45
+ ]
46
+ }]
47
+ }] });
48
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3BlcmF0b3JzLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Zhcy1hZG1pbi9zcmMvbGliL2NvbXBvbmVudHMvdmlld3Mvb3BlcmF0b3JzL29wZXJhdG9ycy5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHlCQUF5QixFQUFFLE1BQU0saURBQWlELENBQUM7QUFDNUYsT0FBTyxFQUFFLHNCQUFzQixFQUFFLE1BQU0sMkNBQTJDLENBQUM7QUFDbkYsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sdUJBQXVCLENBQUM7QUFDM0QsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQzlDLE9BQU8sRUFBRSxXQUFXLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUNsRSxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDaEQsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLGtCQUFrQixDQUFDO0FBQ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