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.
- package/esm2022/lib/components/layout/side-bar/side-bar.component.mjs +27 -0
- package/esm2022/lib/components/layout/top-bar/top-bar.component.mjs +46 -0
- package/esm2022/lib/components/views/messages/message-new-send/message-new-send.component.mjs +50 -0
- package/esm2022/lib/components/views/messages/message-new-template/message-new-template.component.mjs +50 -0
- package/esm2022/lib/components/views/messages/messages-newsletter/messages-newsletter.component.mjs +48 -0
- package/esm2022/lib/components/views/messages/messages-sent/messages-sent.component.mjs +127 -0
- package/esm2022/lib/components/views/messages/messages-templates/messages-templates.component.mjs +72 -0
- package/esm2022/lib/components/views/messages/messages.component.mjs +27 -0
- package/esm2022/lib/components/views/messages/messages.module.mjs +59 -0
- package/esm2022/lib/components/views/messages/mocked-data.mjs +35 -0
- package/esm2022/lib/components/views/operators/operators-details/operators-details.component.mjs +103 -0
- package/esm2022/lib/components/views/operators/operators-list/operators-list.component.mjs +75 -0
- package/esm2022/lib/components/views/operators/operators.component.mjs +12 -0
- package/esm2022/lib/components/views/operators/operators.module.mjs +44 -0
- package/esm2022/lib/components/views/statistics/statistic-income/statistic-income.component.mjs +12 -0
- package/esm2022/lib/components/views/statistics/statistic-list/statistic-list.component.mjs +145 -0
- package/esm2022/lib/components/views/statistics/statistic.module.mjs +29 -0
- package/esm2022/lib/components/views/statistics/statistics.component.mjs +13 -0
- package/esm2022/lib/components/views/subscriptions/mocked-data.mjs +27 -0
- package/esm2022/lib/components/views/subscriptions/subscriptions-add-new/subscriptions-add-new.component.mjs +48 -0
- package/esm2022/lib/components/views/subscriptions/subscriptions-details/subscriptions-details.component.mjs +89 -0
- package/esm2022/lib/components/views/subscriptions/subscriptions-list/subscriptions-list.component.mjs +244 -0
- package/esm2022/lib/components/views/subscriptions/subscriptions.component.mjs +12 -0
- package/esm2022/lib/components/views/subscriptions/subscriptions.module.mjs +63 -0
- package/esm2022/lib/components/views/users/mocked-data.mjs +313 -0
- package/esm2022/lib/components/views/users/users-add-subscriptions/users-add-subscriptions.component.mjs +59 -0
- package/esm2022/lib/components/views/users/users-add-user/users-add-user.component.mjs +82 -0
- package/esm2022/lib/components/views/users/users-details/users-details.component.mjs +189 -0
- package/esm2022/lib/components/views/users/users-list/users-list.component.mjs +110 -0
- package/esm2022/lib/components/views/users/users.component.mjs +12 -0
- package/esm2022/lib/components/views/users/users.module.mjs +98 -0
- package/esm2022/lib/fas-admin.component.mjs +5 -5
- package/esm2022/lib/fas-admin.module.mjs +38 -31
- package/esm2022/lib/shared/models/details-control.mjs +2 -0
- package/esm2022/lib/shared/models/fas-admin-models.mjs +2 -0
- package/esm2022/lib/shared/services/dialog.service.mjs +46 -0
- package/esm2022/lib/shared/services/subscription-expiration-date.service.mjs +94 -0
- package/esm2022/lib/shared/table/table.component.mjs +65 -0
- package/esm2022/public-api.mjs +7 -2
- package/fesm2022/fas-admin.mjs +2301 -57
- package/fesm2022/fas-admin.mjs.map +1 -1
- package/lib/components/{side-bar → layout/side-bar}/side-bar.component.d.ts +1 -1
- package/lib/components/views/messages/message-new-send/message-new-send.component.d.ts +20 -0
- package/lib/components/views/messages/message-new-template/message-new-template.component.d.ts +21 -0
- package/lib/components/views/messages/messages-newsletter/messages-newsletter.component.d.ts +22 -0
- package/lib/components/views/messages/messages-sent/messages-sent.component.d.ts +101 -0
- package/lib/components/views/messages/messages-templates/messages-templates.component.d.ts +56 -0
- package/lib/components/views/messages/messages.component.d.ts +9 -0
- package/lib/components/views/messages/messages.module.d.ts +18 -0
- package/lib/components/views/messages/mocked-data.d.ts +8 -0
- package/lib/components/views/operators/operators-details/operators-details.component.d.ts +29 -0
- package/lib/components/views/operators/operators-list/operators-list.component.d.ts +42 -0
- package/lib/components/views/operators/operators.component.d.ts +5 -0
- package/lib/components/views/operators/operators.module.d.ts +15 -0
- package/lib/components/views/statistics/statistic-income/statistic-income.component.d.ts +5 -0
- package/lib/components/views/statistics/statistic-list/statistic-list.component.d.ts +81 -0
- package/lib/components/views/statistics/statistic.module.d.ts +12 -0
- package/lib/components/views/statistics/statistics.component.d.ts +5 -0
- package/lib/components/views/subscriptions/mocked-data.d.ts +6 -0
- package/lib/components/views/subscriptions/subscriptions-add-new/subscriptions-add-new.component.d.ts +21 -0
- package/lib/components/views/subscriptions/subscriptions-details/subscriptions-details.component.d.ts +27 -0
- package/lib/components/views/subscriptions/subscriptions-list/subscriptions-list.component.d.ts +147 -0
- package/lib/components/views/subscriptions/subscriptions.component.d.ts +5 -0
- package/lib/components/views/subscriptions/subscriptions.module.d.ts +17 -0
- package/lib/components/views/users/mocked-data.d.ts +11 -0
- package/lib/components/views/users/users-add-subscriptions/users-add-subscriptions.component.d.ts +22 -0
- package/lib/components/views/users/users-add-user/users-add-user.component.d.ts +30 -0
- package/lib/components/views/users/users-details/users-details.component.d.ts +69 -0
- package/lib/components/views/users/users-list/users-list.component.d.ts +86 -0
- package/lib/components/views/users/users.component.d.ts +5 -0
- package/lib/components/views/users/users.module.d.ts +27 -0
- package/lib/fas-admin.component.d.ts +1 -1
- package/lib/fas-admin.module.d.ts +11 -6
- package/lib/shared/models/details-control.d.ts +4 -0
- package/lib/shared/services/dialog.service.d.ts +14 -0
- package/lib/shared/services/subscription-expiration-date.service.d.ts +9 -0
- package/lib/shared/table/table.component.d.ts +20 -0
- package/package.json +1 -1
- package/public-api.d.ts +6 -1
- package/esm2022/lib/components/side-bar/side-bar.component.mjs +0 -27
- package/esm2022/lib/components/top-bar/top-bar.component.mjs +0 -46
- package/esm2022/lib/fas-admin-models.mjs +0 -2
- /package/lib/components/{top-bar → layout/top-bar}/top-bar.component.d.ts +0 -0
- /package/lib/{fas-admin-models.d.ts → shared/models/fas-admin-models.d.ts} +0 -0
package/lib/components/views/subscriptions/subscriptions-list/subscriptions-list.component.d.ts
ADDED
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import { IDetailsControl } from '../../../../shared/models/details-control';
|
|
2
|
+
import { OnInit } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SubscriptionsListComponent implements OnInit {
|
|
5
|
+
private _dialogService;
|
|
6
|
+
subscriptionsDetailsDialogID: string;
|
|
7
|
+
subscriptionsAddDialogID: string;
|
|
8
|
+
selectedUsers: any[];
|
|
9
|
+
isLoading: boolean;
|
|
10
|
+
selectedUser: any;
|
|
11
|
+
usersList: any;
|
|
12
|
+
subList: any;
|
|
13
|
+
subIndex: number;
|
|
14
|
+
sub: any;
|
|
15
|
+
detailsControl: IDetailsControl;
|
|
16
|
+
addSubscriptionsControl: any;
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
activeSub: ({
|
|
19
|
+
field: string;
|
|
20
|
+
header: string;
|
|
21
|
+
sortable: boolean;
|
|
22
|
+
columnClass: string;
|
|
23
|
+
actions: {
|
|
24
|
+
label: string;
|
|
25
|
+
callback: (sub: any, subIndex: number) => void;
|
|
26
|
+
buttonClass: string;
|
|
27
|
+
icoSuffix: string;
|
|
28
|
+
}[];
|
|
29
|
+
} | {
|
|
30
|
+
field: string;
|
|
31
|
+
header: string;
|
|
32
|
+
sortable: boolean;
|
|
33
|
+
columnClass?: undefined;
|
|
34
|
+
actions?: undefined;
|
|
35
|
+
} | {
|
|
36
|
+
field: string;
|
|
37
|
+
header: string;
|
|
38
|
+
sortable: boolean;
|
|
39
|
+
columnClass: string;
|
|
40
|
+
actions: {
|
|
41
|
+
label: string;
|
|
42
|
+
tooltip: string;
|
|
43
|
+
callback: (rowData: any, rowIndex: number) => void;
|
|
44
|
+
buttonClass: string;
|
|
45
|
+
}[];
|
|
46
|
+
})[];
|
|
47
|
+
deactiveSub: ({
|
|
48
|
+
field: string;
|
|
49
|
+
header: string;
|
|
50
|
+
sortable: boolean;
|
|
51
|
+
columnClass: string;
|
|
52
|
+
actions: {
|
|
53
|
+
label: string;
|
|
54
|
+
callback: (sub: any, subIndex: number) => void;
|
|
55
|
+
buttonClass: string;
|
|
56
|
+
icoSuffix: string;
|
|
57
|
+
}[];
|
|
58
|
+
} | {
|
|
59
|
+
field: string;
|
|
60
|
+
header: string;
|
|
61
|
+
sortable: boolean;
|
|
62
|
+
columnClass?: undefined;
|
|
63
|
+
actions?: undefined;
|
|
64
|
+
} | {
|
|
65
|
+
field: string;
|
|
66
|
+
header: string;
|
|
67
|
+
sortable: boolean;
|
|
68
|
+
columnClass: string;
|
|
69
|
+
actions?: undefined;
|
|
70
|
+
} | {
|
|
71
|
+
field: string;
|
|
72
|
+
header: string;
|
|
73
|
+
sortable: boolean;
|
|
74
|
+
columnClass: string;
|
|
75
|
+
actions: {
|
|
76
|
+
label: string;
|
|
77
|
+
tooltip: string;
|
|
78
|
+
callback: (rowData: any, rowIndex: number) => void;
|
|
79
|
+
buttonClass: string;
|
|
80
|
+
}[];
|
|
81
|
+
})[];
|
|
82
|
+
allSub: ({
|
|
83
|
+
field: string;
|
|
84
|
+
header: string;
|
|
85
|
+
sortable: boolean;
|
|
86
|
+
columnClass: string;
|
|
87
|
+
actions: {
|
|
88
|
+
label: string;
|
|
89
|
+
callback: (sub: any, subIndex: number) => void;
|
|
90
|
+
buttonClass: string;
|
|
91
|
+
icoSuffix: string;
|
|
92
|
+
}[];
|
|
93
|
+
valueFunction?: undefined;
|
|
94
|
+
contentClass?: undefined;
|
|
95
|
+
styleBackgroundFunction?: undefined;
|
|
96
|
+
} | {
|
|
97
|
+
valueFunction: (rowData: any) => string;
|
|
98
|
+
header: string;
|
|
99
|
+
sortable: boolean;
|
|
100
|
+
contentClass: string;
|
|
101
|
+
styleBackgroundFunction: (rowData: any) => string;
|
|
102
|
+
field?: undefined;
|
|
103
|
+
columnClass?: undefined;
|
|
104
|
+
actions?: undefined;
|
|
105
|
+
} | {
|
|
106
|
+
field: string;
|
|
107
|
+
header: string;
|
|
108
|
+
sortable: boolean;
|
|
109
|
+
columnClass?: undefined;
|
|
110
|
+
actions?: undefined;
|
|
111
|
+
valueFunction?: undefined;
|
|
112
|
+
contentClass?: undefined;
|
|
113
|
+
styleBackgroundFunction?: undefined;
|
|
114
|
+
} | {
|
|
115
|
+
field: string;
|
|
116
|
+
header: string;
|
|
117
|
+
sortable: boolean;
|
|
118
|
+
columnClass: string;
|
|
119
|
+
actions: {
|
|
120
|
+
label: string;
|
|
121
|
+
tooltip: string;
|
|
122
|
+
callback: (rowData: any, rowIndex: number) => void;
|
|
123
|
+
buttonClass: string;
|
|
124
|
+
}[];
|
|
125
|
+
valueFunction?: undefined;
|
|
126
|
+
contentClass?: undefined;
|
|
127
|
+
styleBackgroundFunction?: undefined;
|
|
128
|
+
})[];
|
|
129
|
+
userColumns: ({
|
|
130
|
+
field: string;
|
|
131
|
+
header: string;
|
|
132
|
+
sortable: boolean;
|
|
133
|
+
columnClass: string;
|
|
134
|
+
} | {
|
|
135
|
+
field: string;
|
|
136
|
+
header: string;
|
|
137
|
+
sortable: boolean;
|
|
138
|
+
columnClass?: undefined;
|
|
139
|
+
})[];
|
|
140
|
+
customRowAction(rowData: any, rowIndex: number): void;
|
|
141
|
+
getStatus(rowData: any): string;
|
|
142
|
+
getStatusColor(rowData: any): string;
|
|
143
|
+
openDetails(sub: any, subIndex: number): void;
|
|
144
|
+
openDialog(id: string): void;
|
|
145
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SubscriptionsListComponent, never>;
|
|
146
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SubscriptionsListComponent, "lib-subscriptions-list", never, {}, {}, never, never, false, never>;
|
|
147
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class SubscriptionsComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SubscriptionsComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SubscriptionsComponent, "lib-subscriptions", never, {}, {}, never, never, false, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./subscriptions-add-new/subscriptions-add-new.component";
|
|
3
|
+
import * as i2 from "./subscriptions-details/subscriptions-details.component";
|
|
4
|
+
import * as i3 from "./subscriptions-list/subscriptions-list.component";
|
|
5
|
+
import * as i4 from "./subscriptions.component";
|
|
6
|
+
import * as i5 from "@angular/forms";
|
|
7
|
+
import * as i6 from "../../../shared/table/table.component";
|
|
8
|
+
import * as i7 from "primeng/checkbox";
|
|
9
|
+
import * as i8 from "primeng/tabview";
|
|
10
|
+
import * as i9 from "@angular/common";
|
|
11
|
+
import * as i10 from "primeng/dialog";
|
|
12
|
+
import * as i11 from "primeng/table";
|
|
13
|
+
export declare class SubscriptionsModule {
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SubscriptionsModule, never>;
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SubscriptionsModule, [typeof i1.SubscriptionsAddNewComponent, typeof i2.SubscriptionsDetailsComponent, typeof i3.SubscriptionsListComponent, typeof i4.SubscriptionsComponent], [typeof i5.ReactiveFormsModule, typeof i6.TableComponent, typeof i7.CheckboxModule, typeof i8.TabViewModule, typeof i8.TabViewModule, typeof i9.CommonModule, typeof i10.DialogModule, typeof i11.TableModule, typeof i5.FormsModule], never>;
|
|
16
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SubscriptionsModule>;
|
|
17
|
+
}
|
package/lib/components/views/users/users-add-subscriptions/users-add-subscriptions.component.d.ts
ADDED
|
@@ -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,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/
|
|
9
|
-
import * as i5 from "
|
|
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.
|
|
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,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
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: [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