fas-admin 0.0.9 → 0.0.10

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 (80) 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-template/message-new-template.component.mjs +50 -0
  4. package/esm2022/lib/components/views/messages/messages-newsletter/messages-newsletter.component.mjs +48 -0
  5. package/esm2022/lib/components/views/messages/messages-sent/messages-sent.component.mjs +127 -0
  6. package/esm2022/lib/components/views/messages/messages-templates/messages-templates.component.mjs +72 -0
  7. package/esm2022/lib/components/views/messages/messages.component.mjs +25 -0
  8. package/esm2022/lib/components/views/messages/messages.module.mjs +56 -0
  9. package/esm2022/lib/components/views/messages/mocked-data.mjs +35 -0
  10. package/esm2022/lib/components/views/operators/operators-list/operators-list.component.mjs +59 -0
  11. package/esm2022/lib/components/views/operators/operators.component.mjs +12 -0
  12. package/esm2022/lib/components/views/operators/operators.module.mjs +24 -0
  13. package/esm2022/lib/components/views/statistics/statistic-income/statistic-income.component.mjs +12 -0
  14. package/esm2022/lib/components/views/statistics/statistic-list/statistic-list.component.mjs +145 -0
  15. package/esm2022/lib/components/views/statistics/statistic.module.mjs +29 -0
  16. package/esm2022/lib/components/views/statistics/statistics.component.mjs +13 -0
  17. package/esm2022/lib/components/views/subscriptions/mocked-data.mjs +27 -0
  18. package/esm2022/lib/components/views/subscriptions/subscriptions-add-new/subscriptions-add-new.component.mjs +48 -0
  19. package/esm2022/lib/components/views/subscriptions/subscriptions-details/subscriptions-details.component.mjs +89 -0
  20. package/esm2022/lib/components/views/subscriptions/subscriptions-list/subscriptions-list.component.mjs +244 -0
  21. package/esm2022/lib/components/views/subscriptions/subscriptions.component.mjs +12 -0
  22. package/esm2022/lib/components/views/subscriptions/subscriptions.module.mjs +63 -0
  23. package/esm2022/lib/components/views/users/mocked-data.mjs +313 -0
  24. package/esm2022/lib/components/views/users/users-add-subscriptions/users-add-subscriptions.component.mjs +59 -0
  25. package/esm2022/lib/components/views/users/users-add-user/users-add-user.component.mjs +82 -0
  26. package/esm2022/lib/components/views/users/users-details/users-details.component.mjs +189 -0
  27. package/esm2022/lib/components/views/users/users-list/users-list.component.mjs +110 -0
  28. package/esm2022/lib/components/views/users/users.component.mjs +12 -0
  29. package/esm2022/lib/components/views/users/users.module.mjs +98 -0
  30. package/esm2022/lib/fas-admin.component.mjs +5 -5
  31. package/esm2022/lib/fas-admin.module.mjs +38 -31
  32. package/esm2022/lib/shared/models/details-control.mjs +2 -0
  33. package/esm2022/lib/shared/models/fas-admin-models.mjs +2 -0
  34. package/esm2022/lib/shared/services/dialog.service.mjs +46 -0
  35. package/esm2022/lib/shared/services/subscription-expiration-date.service.mjs +94 -0
  36. package/esm2022/lib/shared/table/table.component.mjs +65 -0
  37. package/esm2022/public-api.mjs +7 -2
  38. package/fesm2022/fas-admin.mjs +2159 -82
  39. package/fesm2022/fas-admin.mjs.map +1 -1
  40. package/lib/components/{side-bar → layout/side-bar}/side-bar.component.d.ts +1 -1
  41. package/lib/components/views/messages/message-new-template/message-new-template.component.d.ts +21 -0
  42. package/lib/components/views/messages/messages-newsletter/messages-newsletter.component.d.ts +22 -0
  43. package/lib/components/views/messages/messages-sent/messages-sent.component.d.ts +101 -0
  44. package/lib/components/views/messages/messages-templates/messages-templates.component.d.ts +56 -0
  45. package/lib/components/views/messages/messages.component.d.ts +8 -0
  46. package/lib/components/views/messages/messages.module.d.ts +17 -0
  47. package/lib/components/views/messages/mocked-data.d.ts +8 -0
  48. package/lib/components/views/operators/operators-list/operators-list.component.d.ts +31 -0
  49. package/lib/components/views/operators/operators.component.d.ts +5 -0
  50. package/lib/components/views/operators/operators.module.d.ts +10 -0
  51. package/lib/components/views/statistics/statistic-income/statistic-income.component.d.ts +5 -0
  52. package/lib/components/views/statistics/statistic-list/statistic-list.component.d.ts +81 -0
  53. package/lib/components/views/statistics/statistic.module.d.ts +12 -0
  54. package/lib/components/views/statistics/statistics.component.d.ts +5 -0
  55. package/lib/components/views/subscriptions/mocked-data.d.ts +6 -0
  56. package/lib/components/views/subscriptions/subscriptions-add-new/subscriptions-add-new.component.d.ts +21 -0
  57. package/lib/components/views/subscriptions/subscriptions-details/subscriptions-details.component.d.ts +27 -0
  58. package/lib/components/views/subscriptions/subscriptions-list/subscriptions-list.component.d.ts +147 -0
  59. package/lib/components/views/subscriptions/subscriptions.component.d.ts +5 -0
  60. package/lib/components/views/subscriptions/subscriptions.module.d.ts +17 -0
  61. package/lib/components/views/users/mocked-data.d.ts +11 -0
  62. package/lib/components/views/users/users-add-subscriptions/users-add-subscriptions.component.d.ts +22 -0
  63. package/lib/components/views/users/users-add-user/users-add-user.component.d.ts +30 -0
  64. package/lib/components/views/users/users-details/users-details.component.d.ts +69 -0
  65. package/lib/components/views/users/users-list/users-list.component.d.ts +86 -0
  66. package/lib/components/views/users/users.component.d.ts +5 -0
  67. package/lib/components/views/users/users.module.d.ts +27 -0
  68. package/lib/fas-admin.component.d.ts +1 -1
  69. package/lib/fas-admin.module.d.ts +11 -6
  70. package/lib/shared/models/details-control.d.ts +4 -0
  71. package/lib/shared/services/dialog.service.d.ts +14 -0
  72. package/lib/shared/services/subscription-expiration-date.service.d.ts +9 -0
  73. package/lib/shared/table/table.component.d.ts +20 -0
  74. package/package.json +1 -1
  75. package/public-api.d.ts +6 -1
  76. package/esm2022/lib/components/side-bar/side-bar.component.mjs +0 -27
  77. package/esm2022/lib/components/top-bar/top-bar.component.mjs +0 -46
  78. package/esm2022/lib/fas-admin-models.mjs +0 -2
  79. /package/lib/components/{top-bar → layout/top-bar}/top-bar.component.d.ts +0 -0
  80. /package/lib/{fas-admin-models.d.ts → shared/models/fas-admin-models.d.ts} +0 -0
@@ -0,0 +1,22 @@
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
+ }
@@ -0,0 +1,30 @@
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
+ }
@@ -0,0 +1,69 @@
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
+ }
@@ -0,0 +1,86 @@
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
+ }
@@ -0,0 +1,5 @@
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
+ }
@@ -0,0 +1,27 @@
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,5 +1,5 @@
1
1
  import { OnInit } from '@angular/core';
2
- import { IFASAdminSettings } from './fas-admin-models';
2
+ import { IFASAdminSettings } from './shared/models/fas-admin-models';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class FASAdminComponent implements OnInit {
5
5
  private settings;
@@ -1,13 +1,18 @@
1
+ import { IFASAdminSettings } from './shared/models/fas-admin-models';
1
2
  import { InjectionToken } from '@angular/core';
2
3
  import { Routes } from '@angular/router';
3
- import { IFASAdminSettings } from './fas-admin-models';
4
4
  import * as i0 from "@angular/core";
5
5
  import * as i1 from "./fas-admin.component";
6
- import * as i2 from "./components/top-bar/top-bar.component";
7
- import * as i3 from "./components/side-bar/side-bar.component";
8
- import * as i4 from "@angular/common";
9
- import * as i5 from "@angular/router";
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
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";
11
16
  export declare const FAS_LIB_CONFIG: InjectionToken<unknown>;
12
17
  export declare function SettingsFactory(): IFASAdminSettings;
13
18
  export declare const settings: IFASAdminSettings;
@@ -17,6 +22,6 @@ export declare class FASAdminModule {
17
22
  static settings: IFASAdminSettings;
18
23
  constructor(settings: IFASAdminSettings);
19
24
  static ɵfac: i0.ɵɵFactoryDeclaration<FASAdminModule, never>;
20
- static ɵmod: i0.ɵɵNgModuleDeclaration<FASAdminModule, [typeof i1.FASAdminComponent, typeof i2.TopBarComponent, typeof i3.SideBarComponent], [typeof i4.CommonModule, typeof i5.RouterModule, typeof i6.FontAwesomeModule], 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>;
21
26
  static ɵinj: i0.ɵɵInjectorDeclaration<FASAdminModule>;
22
27
  }
@@ -0,0 +1,4 @@
1
+ export interface IDetailsControl {
2
+ isEditing: boolean;
3
+ isOpen: boolean;
4
+ }
@@ -0,0 +1,14 @@
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
+ }
@@ -0,0 +1,9 @@
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
+ }
@@ -0,0 +1,20 @@
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
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fas-admin",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0"
package/public-api.d.ts CHANGED
@@ -1,4 +1,9 @@
1
+ export * from './lib/shared/models/fas-admin-models';
1
2
  export * from './lib/fas-admin.service';
2
3
  export * from './lib/fas-admin.module';
3
- export * from './lib/fas-admin-models';
4
4
  export * from './lib/fas-admin.component';
5
+ export * from './lib/components/views/subscriptions/subscriptions.component';
6
+ export * from './lib/components/views/statistics/statistics.component';
7
+ export * from './lib/components/views/operators/operators.component';
8
+ export * from './lib/components/views/messages/messages.component';
9
+ export * from './lib/components/views/users/users.component';
@@ -1,27 +0,0 @@
1
- import { SidebarToggleService } from '../../shared/services/sidebar-toggle.service';
2
- import { Component, Input, inject } from '@angular/core';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/common";
5
- import * as i2 from "@angular/router";
6
- import * as i3 from "@fortawesome/angular-fontawesome";
7
- export class SideBarComponent {
8
- constructor() {
9
- this.sidebarToggleService = inject(SidebarToggleService);
10
- }
11
- ngOnInit() {
12
- this.sidebarToggleService.getIsOpen().subscribe((value) => {
13
- this.isSidebarOpen = value;
14
- });
15
- }
16
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: SideBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
17
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.2", type: SideBarComponent, selector: "app-side-bar", inputs: { defaultButtonList: "defaultButtonList", specButtonList: "specButtonList" }, ngImport: i0, template: "<div class=\"side-bar\" [ngClass]=\"{ show: isSidebarOpen }\">\n <div class=\"btn-wraper\" *ngIf=\"isSidebarOpen\">\n <button\n class=\"primary-menu-btn\"\n *ngFor=\"let defaultButton of defaultButtonList\"\n routerLinkActive=\"focus\"\n routerLink=\"{{ defaultButton.routerUrl }}\"\n >\n <fa-icon [icon]=\"defaultButton.icon\"></fa-icon>{{ defaultButton.label }}\n </button>\n </div>\n <div class=\"btn-wraper\" *ngIf=\"isSidebarOpen && specButtonList\">\n <button\n class=\"primary-menu-btn\"\n *ngFor=\"let specButton of specButtonList\"\n routerLinkActive=\"focus\"\n routerLink=\"{{ specButton.routerUrl }}\"\n >\n <fa-icon [icon]=\"specButton.icon\"></fa-icon>{{ specButton.label }}\n </button>\n </div>\n</div>\n", styles: [".primary-menu-btn{outline:none;border:none;background-color:#1e1f22;color:#fbfbfb;cursor:pointer;transition:.1s ease-in-out;display:flex;align-items:center;justify-content:flex-start;gap:8px;padding:12px 16px}.primary-menu-btn:hover,.primary-menu-btn.focus{background-color:#64748b}.arrow-btn{width:24px;height:24px;outline:none;border:none;color:#fbfbfb;cursor:pointer;transition:.1s ease-in-out;display:flex;align-items:center;justify-content:center;background-color:#313234}.arrow-btn:hover{background-color:#64748b}.side-bar{width:0px;height:100%;min-height:100vh;background-color:#1e1f22;color:#fbfbfb;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;padding:24px 0}.side-bar.show{width:247px}.btn-wraper{width:100%;padding:8px 0;border-top:1px solid #313234}.btn-wraper button{width:100%;height:48px}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: i2.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "component", type: i3.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }] }); }
18
- }
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: SideBarComponent, decorators: [{
20
- type: Component,
21
- args: [{ selector: 'app-side-bar', template: "<div class=\"side-bar\" [ngClass]=\"{ show: isSidebarOpen }\">\n <div class=\"btn-wraper\" *ngIf=\"isSidebarOpen\">\n <button\n class=\"primary-menu-btn\"\n *ngFor=\"let defaultButton of defaultButtonList\"\n routerLinkActive=\"focus\"\n routerLink=\"{{ defaultButton.routerUrl }}\"\n >\n <fa-icon [icon]=\"defaultButton.icon\"></fa-icon>{{ defaultButton.label }}\n </button>\n </div>\n <div class=\"btn-wraper\" *ngIf=\"isSidebarOpen && specButtonList\">\n <button\n class=\"primary-menu-btn\"\n *ngFor=\"let specButton of specButtonList\"\n routerLinkActive=\"focus\"\n routerLink=\"{{ specButton.routerUrl }}\"\n >\n <fa-icon [icon]=\"specButton.icon\"></fa-icon>{{ specButton.label }}\n </button>\n </div>\n</div>\n", styles: [".primary-menu-btn{outline:none;border:none;background-color:#1e1f22;color:#fbfbfb;cursor:pointer;transition:.1s ease-in-out;display:flex;align-items:center;justify-content:flex-start;gap:8px;padding:12px 16px}.primary-menu-btn:hover,.primary-menu-btn.focus{background-color:#64748b}.arrow-btn{width:24px;height:24px;outline:none;border:none;color:#fbfbfb;cursor:pointer;transition:.1s ease-in-out;display:flex;align-items:center;justify-content:center;background-color:#313234}.arrow-btn:hover{background-color:#64748b}.side-bar{width:0px;height:100%;min-height:100vh;background-color:#1e1f22;color:#fbfbfb;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;padding:24px 0}.side-bar.show{width:247px}.btn-wraper{width:100%;padding:8px 0;border-top:1px solid #313234}.btn-wraper button{width:100%;height:48px}\n"] }]
22
- }], propDecorators: { defaultButtonList: [{
23
- type: Input
24
- }], specButtonList: [{
25
- type: Input
26
- }] } });
27
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZS1iYXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZmFzLWFkbWluL3NyYy9saWIvY29tcG9uZW50cy9zaWRlLWJhci9zaWRlLWJhci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mYXMtYWRtaW4vc3JjL2xpYi9jb21wb25lbnRzL3NpZGUtYmFyL3NpZGUtYmFyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLDhDQUE4QyxDQUFDO0FBQ3BGLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQzs7Ozs7QUFPekQsTUFBTSx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PVwicHJpbWFyeS1tZW51LWJ0blwiXG4gICAgICAqbmdGb3I9XCJsZXQgc3BlY0J1dHRvbiBvZiBzcGVjQnV0dG9uTGlzdFwiXG4gICAgICByb3V0ZXJMaW5rQWN0aXZlPVwiZm9jdXNcIlxuICAgICAgcm91dGVyTGluaz1cInt7IHNwZWNCdXR0b24ucm91dGVyVXJsIH19XCJcbiAgICA+XG4gICAgICA8ZmEtaWNvbiBbaWNvbl09XCJzcGVjQnV0dG9uLmljb25cIj48L2ZhLWljb24+e3sgc3BlY0J1dHRvbi5sYWJlbCB9fVxuICAgIDwvYnV0dG9uPlxuICA8L2Rpdj5cbjwvZGl2PlxuIl19
@@ -1,46 +0,0 @@
1
- import { SidebarToggleService } from '../../shared/services/sidebar-toggle.service';
2
- import { Component, Input, inject } from '@angular/core';
3
- import { Router } from '@angular/router';
4
- import { faUser, faArrowRightFromBracket, faSitemap, faAngleRight, faAngleLeft, } from '@fortawesome/free-solid-svg-icons';
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "@angular/common";
7
- import * as i2 from "@fortawesome/angular-fontawesome";
8
- export class TopBarComponent {
9
- constructor() {
10
- this.sidebarToggleService = inject(SidebarToggleService);
11
- this.router = inject(Router);
12
- this.faArrowRightFromBracket = faArrowRightFromBracket;
13
- this.faAngleRight = faAngleRight;
14
- this.faAngleLeft = faAngleLeft;
15
- this.faSitemap = faSitemap;
16
- this.faUser = faUser;
17
- }
18
- ngOnInit() {
19
- this.sidebarToggleService.getIsOpen().subscribe((value) => {
20
- this.isSidebarOpen = value;
21
- });
22
- }
23
- toggleSidebar() {
24
- this.isSidebarOpen = !this.isSidebarOpen;
25
- this.sidebarToggleService.setIsOpen(this.isSidebarOpen);
26
- }
27
- logout() {
28
- for (let i = 0; i < localStorage.length; i++) {
29
- const key = localStorage.key(i);
30
- if (key && key.includes('auth')) {
31
- localStorage.removeItem(key);
32
- i--;
33
- }
34
- }
35
- this.router.navigate(['/auth']);
36
- }
37
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TopBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
38
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.2", type: TopBarComponent, selector: "app-top-bar", inputs: { companyName: "companyName" }, ngImport: i0, template: "<div class=\"top-bar\">\n <div class=\"btn-wraper\">\n <fa-icon [icon]=\"faSitemap\" *ngIf=\"isSidebarOpen\"></fa-icon>\n <p *ngIf=\"isSidebarOpen\">{{ companyName }}</p>\n <button\n (click)=\"toggleSidebar()\"\n class=\"arrow-btn\"\n [ngStyle]=\"{ 'margin-left': isSidebarOpen ? '50px' : '0' }\"\n >\n <fa-icon [icon]=\"isSidebarOpen ? faAngleLeft : faAngleRight\"></fa-icon>\n </button>\n </div>\n <div class=\"btn-wraper\">\n <button class=\"primary-menu-btn\">\n Admin <fa-icon [icon]=\"faUser\"></fa-icon>\n </button>\n <button class=\"primary-menu-btn\" (click)=\"logout()\">\n <fa-icon [icon]=\"faArrowRightFromBracket\"></fa-icon>\n </button>\n </div>\n</div>\n", styles: [".primary-menu-btn{outline:none;border:none;background-color:#1e1f22;color:#fbfbfb;cursor:pointer;transition:.1s ease-in-out;display:flex;align-items:center;justify-content:flex-start;gap:8px;padding:12px 16px}.primary-menu-btn:hover,.primary-menu-btn.focus{background-color:#64748b}.arrow-btn{width:24px;height:24px;outline:none;border:none;color:#fbfbfb;cursor:pointer;transition:.1s ease-in-out;display:flex;align-items:center;justify-content:center;background-color:#313234}.arrow-btn:hover{background-color:#64748b}.top-bar{background-color:#1e1f22;color:#fbfbfb;height:60px;width:100%;display:flex;align-items:center;justify-content:space-between;padding:0 24px}.btn-wraper{display:flex;align-items:center;justify-content:center;gap:16px}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i2.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }] }); }
39
- }
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TopBarComponent, decorators: [{
41
- type: Component,
42
- args: [{ selector: 'app-top-bar', template: "<div class=\"top-bar\">\n <div class=\"btn-wraper\">\n <fa-icon [icon]=\"faSitemap\" *ngIf=\"isSidebarOpen\"></fa-icon>\n <p *ngIf=\"isSidebarOpen\">{{ companyName }}</p>\n <button\n (click)=\"toggleSidebar()\"\n class=\"arrow-btn\"\n [ngStyle]=\"{ 'margin-left': isSidebarOpen ? '50px' : '0' }\"\n >\n <fa-icon [icon]=\"isSidebarOpen ? faAngleLeft : faAngleRight\"></fa-icon>\n </button>\n </div>\n <div class=\"btn-wraper\">\n <button class=\"primary-menu-btn\">\n Admin <fa-icon [icon]=\"faUser\"></fa-icon>\n </button>\n <button class=\"primary-menu-btn\" (click)=\"logout()\">\n <fa-icon [icon]=\"faArrowRightFromBracket\"></fa-icon>\n </button>\n </div>\n</div>\n", styles: [".primary-menu-btn{outline:none;border:none;background-color:#1e1f22;color:#fbfbfb;cursor:pointer;transition:.1s ease-in-out;display:flex;align-items:center;justify-content:flex-start;gap:8px;padding:12px 16px}.primary-menu-btn:hover,.primary-menu-btn.focus{background-color:#64748b}.arrow-btn{width:24px;height:24px;outline:none;border:none;color:#fbfbfb;cursor:pointer;transition:.1s ease-in-out;display:flex;align-items:center;justify-content:center;background-color:#313234}.arrow-btn:hover{background-color:#64748b}.top-bar{background-color:#1e1f22;color:#fbfbfb;height:60px;width:100%;display:flex;align-items:center;justify-content:space-between;padding:0 24px}.btn-wraper{display:flex;align-items:center;justify-content:center;gap:16px}\n"] }]
43
- }], propDecorators: { companyName: [{
44
- type: Input
45
- }] } });
46
- //# s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