tin-spa 14.3.11 → 14.10.2
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/README.md +24 -24
- package/esm2020/lib/classes/Classes.mjs +53 -206
- package/esm2020/lib/classes/LibClasses.mjs +180 -0
- package/esm2020/lib/classes/TinCore.mjs +201 -42
- package/esm2020/lib/components/alert/alert.component.mjs +12 -6
- package/esm2020/lib/components/attach/attach.component.mjs +49 -33
- package/esm2020/lib/components/capsules/capsules.component.mjs +63 -0
- package/esm2020/lib/components/cards/cards.component.mjs +103 -0
- package/esm2020/lib/components/date/date.component.mjs +6 -6
- package/esm2020/lib/components/datetime/datetime.component.mjs +6 -3
- package/esm2020/lib/components/email/email.component.mjs +133 -0
- package/esm2020/lib/components/filter/filter.component.mjs +7 -3
- package/esm2020/lib/components/form/form.component.mjs +155 -53
- package/esm2020/lib/components/html/html.component.mjs +34 -0
- package/esm2020/lib/components/label/label.component.mjs +6 -3
- package/esm2020/lib/components/list-dialog/list-dialog.component.mjs +3 -3
- package/esm2020/lib/components/money/money.component.mjs +26 -9
- package/esm2020/lib/components/multi-select/multi-select.component.mjs +165 -0
- package/esm2020/lib/components/multi-text/multi-text.component.mjs +208 -0
- package/esm2020/lib/components/nav-menu/nav-menu.component.mjs +32 -28
- package/esm2020/lib/components/notes/notes.component.mjs +62 -0
- package/esm2020/lib/components/number/number.component.mjs +23 -8
- package/esm2020/lib/components/option/option.component.mjs +39 -14
- package/esm2020/lib/components/page/page.component.mjs +101 -0
- package/esm2020/lib/components/search/search.component.mjs +10 -5
- package/esm2020/lib/components/select/select.component.mjs +56 -119
- package/esm2020/lib/components/select-bitwise/select-bitwise.component.mjs +87 -0
- package/esm2020/lib/components/select-common/select-common.component.mjs +189 -0
- package/esm2020/lib/components/select-internal/select-internal.component.mjs +75 -0
- package/esm2020/lib/components/select-lite/select-lite.component.mjs +18 -0
- package/esm2020/lib/components/steps/steps.component.mjs +83 -61
- package/esm2020/lib/components/suffix/suffix.component.mjs +70 -0
- package/esm2020/lib/components/table/detailsDialog.component.mjs +179 -37
- package/esm2020/lib/components/table/table.component.mjs +142 -108
- package/esm2020/lib/components/table-action/table-action.component.mjs +42 -8
- package/esm2020/lib/components/table-header/table-header.component.mjs +87 -15
- package/esm2020/lib/components/table-internal/detailsDialog-internal.component.mjs +183 -35
- package/esm2020/lib/components/table-internal/table-internal.component.mjs +144 -109
- package/esm2020/lib/components/table-lite/detailsDialog-lite.component.mjs +371 -0
- package/esm2020/lib/components/table-lite/table-lite.component.mjs +441 -0
- package/esm2020/lib/components/table-row/table-row.component.mjs +41 -6
- package/esm2020/lib/components/text/text.component.mjs +97 -42
- package/esm2020/lib/components/tiles/tiles.component.mjs +44 -26
- package/esm2020/lib/components/viewer/viewer.component.mjs +7 -3
- package/esm2020/lib/components/viewer/viewerDialog.component.mjs +20 -13
- package/esm2020/lib/modules/admin/admin-routing.module.mjs +32 -22
- package/esm2020/lib/modules/index/index-routing.module.mjs +4 -4
- package/esm2020/lib/modules/spa-admin.module.mjs +7 -7
- package/esm2020/lib/modules/spa-index.module.mjs +4 -4
- package/esm2020/lib/modules/spa-user.module.mjs +3 -3
- package/esm2020/lib/modules/user/user-routing.module.mjs +3 -3
- package/esm2020/lib/pages/accounts/accountDialog.component.mjs +56 -0
- package/esm2020/lib/pages/accounts/accounts.component.mjs +70 -0
- package/esm2020/lib/pages/app-models/app-models.component.mjs +56 -0
- package/esm2020/lib/pages/approvals/approvals.component.mjs +19 -0
- package/esm2020/lib/pages/approvals-config/approvals-config.component.mjs +165 -0
- package/esm2020/lib/pages/bug/bug.component.mjs +14 -0
- package/esm2020/lib/pages/change-password/change-password.component.mjs +92 -0
- package/esm2020/lib/pages/create-account/create-account.component.mjs +110 -0
- package/esm2020/lib/pages/customers/customers.component.mjs +21 -0
- package/esm2020/lib/{components → pages}/departments/departments.component.mjs +3 -5
- package/esm2020/lib/pages/employees/employees.component.mjs +20 -0
- package/esm2020/lib/pages/grades/grades.component.mjs +14 -0
- package/esm2020/lib/pages/inventory/inventory.component.mjs +99 -0
- package/esm2020/lib/pages/inventory/quantityDialog.component.mjs +53 -0
- package/esm2020/lib/pages/invitations-table/invitations-table.component.mjs +71 -0
- package/esm2020/lib/pages/login/login.component.mjs +166 -0
- package/esm2020/lib/pages/logs/logs.component.mjs +42 -0
- package/esm2020/lib/pages/membership/membership.component.mjs +44 -0
- package/esm2020/lib/pages/notifications/notifications.component.mjs +90 -0
- package/esm2020/lib/pages/notifications-config/notifications-config.component.mjs +113 -0
- package/esm2020/lib/pages/plans/plans.component.mjs +44 -0
- package/esm2020/lib/pages/positions/positions.component.mjs +21 -0
- package/esm2020/lib/pages/profile/profile.component.mjs +94 -0
- package/esm2020/lib/pages/recover-account/recover-account.component.mjs +46 -0
- package/esm2020/lib/{components → pages}/roles/addRoleDialog.component.mjs +3 -3
- package/esm2020/lib/pages/roles/roles.component.mjs +151 -0
- package/esm2020/lib/{components → pages}/settings/settings.component.mjs +2 -11
- package/esm2020/lib/pages/signup/signup.component.mjs +50 -0
- package/esm2020/lib/pages/suppliers/suppliers.component.mjs +22 -0
- package/esm2020/lib/pages/tasks/tasks.component.mjs +86 -0
- package/esm2020/lib/pages/tenant-settings/tenant-settings.component.mjs +228 -0
- package/esm2020/lib/pages/tenants/tenants.component.mjs +47 -0
- package/esm2020/lib/pages/transactions/transactDialog.component.mjs +80 -0
- package/esm2020/lib/pages/transactions/transactions.component.mjs +101 -0
- package/esm2020/lib/pages/users/users.component.mjs +141 -0
- package/esm2020/lib/pages/welcome/welcome.component.mjs +86 -0
- package/esm2020/lib/select-context.directive.mjs +23 -0
- package/esm2020/lib/services/auth.service.mjs +3 -2
- package/esm2020/lib/services/button.service.mjs +90 -30
- package/esm2020/lib/services/csv.service.mjs +49 -0
- package/esm2020/lib/services/datalib.service.mjs +504 -76
- package/esm2020/lib/services/dialog.service.mjs +24 -7
- package/esm2020/lib/services/log.service.mjs +2 -2
- package/esm2020/lib/services/notifications.service.mjs +33 -0
- package/esm2020/lib/services/table-config.service.mjs +55 -7
- package/esm2020/lib/tin-spa.module.mjs +70 -30
- package/esm2020/public-api.mjs +33 -25
- package/fesm2015/tin-spa.mjs +6258 -2345
- package/fesm2015/tin-spa.mjs.map +1 -1
- package/fesm2020/tin-spa.mjs +6308 -2336
- package/fesm2020/tin-spa.mjs.map +1 -1
- package/lib/classes/Classes.d.ts +244 -294
- package/lib/classes/LibClasses.d.ts +173 -0
- package/lib/classes/TinCore.d.ts +13 -3
- package/lib/components/attach/attach.component.d.ts +13 -6
- package/lib/components/capsules/capsules.component.d.ts +26 -0
- package/lib/components/cards/cards.component.d.ts +39 -0
- package/lib/components/datetime/datetime.component.d.ts +2 -1
- package/lib/components/email/email.component.d.ts +40 -0
- package/lib/components/filter/filter.component.d.ts +1 -0
- package/lib/components/form/form.component.d.ts +20 -9
- package/lib/components/html/html.component.d.ts +16 -0
- package/lib/components/label/label.component.d.ts +2 -1
- package/lib/components/money/money.component.d.ts +8 -1
- package/lib/components/multi-select/multi-select.component.d.ts +47 -0
- package/lib/components/multi-text/multi-text.component.d.ts +56 -0
- package/lib/components/nav-menu/nav-menu.component.d.ts +6 -2
- package/lib/components/notes/notes.component.d.ts +19 -0
- package/lib/components/number/number.component.d.ts +7 -1
- package/lib/components/option/option.component.d.ts +11 -2
- package/lib/components/page/page.component.d.ts +38 -0
- package/lib/components/search/search.component.d.ts +3 -1
- package/lib/components/select/select.component.d.ts +16 -35
- package/lib/components/select-bitwise/select-bitwise.component.d.ts +31 -0
- package/lib/components/select-common/select-common.component.d.ts +50 -0
- package/lib/components/select-internal/select-internal.component.d.ts +23 -0
- package/lib/components/select-lite/select-lite.component.d.ts +8 -0
- package/lib/components/steps/steps.component.d.ts +18 -9
- package/lib/components/suffix/suffix.component.d.ts +23 -0
- package/lib/components/table/detailsDialog.component.d.ts +24 -7
- package/lib/components/table/table.component.d.ts +18 -9
- package/lib/components/table-action/table-action.component.d.ts +4 -1
- package/lib/components/table-header/table-header.component.d.ts +19 -4
- package/lib/components/table-internal/detailsDialog-internal.component.d.ts +24 -7
- package/lib/components/table-internal/table-internal.component.d.ts +18 -9
- package/lib/components/table-lite/detailsDialog-lite.component.d.ts +81 -0
- package/lib/components/table-lite/table-lite.component.d.ts +91 -0
- package/lib/components/table-row/table-row.component.d.ts +5 -2
- package/lib/components/text/text.component.d.ts +17 -4
- package/lib/components/tiles/tiles.component.d.ts +7 -4
- package/lib/components/viewer/viewerDialog.component.d.ts +3 -1
- package/lib/modules/spa-admin.module.d.ts +6 -6
- package/lib/modules/spa-index.module.d.ts +3 -3
- package/lib/modules/spa-user.module.d.ts +2 -2
- package/lib/pages/app-models/app-models.component.d.ts +15 -0
- package/lib/pages/approvals/approvals.component.d.ts +10 -0
- package/lib/pages/approvals-config/approvals-config.component.d.ts +24 -0
- package/lib/{components → pages}/change-password/change-password.component.d.ts +1 -1
- package/lib/{components → pages}/create-account/create-account.component.d.ts +2 -1
- package/lib/{components → pages}/customers/customers.component.d.ts +2 -8
- package/lib/{components → pages}/invitations-table/invitations-table.component.d.ts +1 -1
- package/lib/{components → pages}/login/login.component.d.ts +10 -3
- package/lib/{components → pages}/logs/logs.component.d.ts +2 -6
- package/lib/{components → pages}/membership/membership.component.d.ts +2 -6
- package/lib/pages/notifications/notifications.component.d.ts +16 -0
- package/lib/pages/notifications-config/notifications-config.component.d.ts +17 -0
- package/lib/{components → pages}/plans/plans.component.d.ts +2 -6
- package/lib/{components → pages}/profile/profile.component.d.ts +2 -1
- package/lib/{components → pages}/roles/addRoleDialog.component.d.ts +1 -1
- package/lib/{components → pages}/roles/roles.component.d.ts +15 -3
- package/lib/{components → pages}/signup/signup.component.d.ts +1 -1
- package/lib/{components → pages}/suppliers/suppliers.component.d.ts +1 -4
- package/lib/{components → pages}/tasks/tasks.component.d.ts +1 -1
- package/lib/{components → pages}/tenant-settings/tenant-settings.component.d.ts +12 -7
- package/lib/{components → pages}/tenants/tenants.component.d.ts +2 -2
- package/lib/{components → pages}/users/users.component.d.ts +8 -16
- package/lib/select-context.directive.d.ts +10 -0
- package/lib/services/auth.service.d.ts +1 -1
- package/lib/services/button.service.d.ts +10 -7
- package/lib/services/csv.service.d.ts +10 -0
- package/lib/services/datalib.service.d.ts +55 -10
- package/lib/services/dialog.service.d.ts +2 -2
- package/lib/services/log.service.d.ts +1 -1
- package/lib/services/notifications.service.d.ts +12 -0
- package/lib/services/table-config.service.d.ts +9 -1
- package/lib/tin-spa.module.d.ts +51 -33
- package/package.json +1 -1
- package/public-api.d.ts +31 -23
- package/esm2020/lib/components/accounts/accountDialog.component.mjs +0 -56
- package/esm2020/lib/components/accounts/accounts.component.mjs +0 -70
- package/esm2020/lib/components/bug/bug.component.mjs +0 -14
- package/esm2020/lib/components/change-password/change-password.component.mjs +0 -92
- package/esm2020/lib/components/create-account/create-account.component.mjs +0 -109
- package/esm2020/lib/components/customers/customers.component.mjs +0 -60
- package/esm2020/lib/components/employees/employees.component.mjs +0 -21
- package/esm2020/lib/components/grades/grades.component.mjs +0 -14
- package/esm2020/lib/components/inventory/inventory.component.mjs +0 -99
- package/esm2020/lib/components/inventory/quantityDialog.component.mjs +0 -53
- package/esm2020/lib/components/invitations/invitations.component.mjs +0 -14
- package/esm2020/lib/components/invitations-table/invitations-table.component.mjs +0 -70
- package/esm2020/lib/components/login/login.component.mjs +0 -127
- package/esm2020/lib/components/logs/logs.component.mjs +0 -37
- package/esm2020/lib/components/membership/membership.component.mjs +0 -48
- package/esm2020/lib/components/notifications/notifications.component.mjs +0 -14
- package/esm2020/lib/components/plans/plans.component.mjs +0 -47
- package/esm2020/lib/components/positions/positions.component.mjs +0 -21
- package/esm2020/lib/components/profile/profile.component.mjs +0 -92
- package/esm2020/lib/components/recover-account/recover-account.component.mjs +0 -46
- package/esm2020/lib/components/roles/roles.component.mjs +0 -91
- package/esm2020/lib/components/signup/signup.component.mjs +0 -50
- package/esm2020/lib/components/suppliers/suppliers.component.mjs +0 -50
- package/esm2020/lib/components/tasks/tasks.component.mjs +0 -86
- package/esm2020/lib/components/tenant-settings/inviteDialog.component.mjs +0 -60
- package/esm2020/lib/components/tenant-settings/tenant-settings.component.mjs +0 -155
- package/esm2020/lib/components/tenants/tenants.component.mjs +0 -47
- package/esm2020/lib/components/transactions/transactDialog.component.mjs +0 -80
- package/esm2020/lib/components/transactions/transactions.component.mjs +0 -101
- package/esm2020/lib/components/users/users.component.mjs +0 -118
- package/esm2020/lib/components/welcome/welcome.component.mjs +0 -86
- package/lib/components/invitations/invitations.component.d.ts +0 -8
- package/lib/components/notifications/notifications.component.d.ts +0 -8
- package/lib/components/tenant-settings/inviteDialog.component.d.ts +0 -28
- /package/lib/{components → pages}/accounts/accountDialog.component.d.ts +0 -0
- /package/lib/{components → pages}/accounts/accounts.component.d.ts +0 -0
- /package/lib/{components → pages}/bug/bug.component.d.ts +0 -0
- /package/lib/{components → pages}/departments/departments.component.d.ts +0 -0
- /package/lib/{components → pages}/employees/employees.component.d.ts +0 -0
- /package/lib/{components → pages}/grades/grades.component.d.ts +0 -0
- /package/lib/{components → pages}/inventory/inventory.component.d.ts +0 -0
- /package/lib/{components → pages}/inventory/quantityDialog.component.d.ts +0 -0
- /package/lib/{components → pages}/positions/positions.component.d.ts +0 -0
- /package/lib/{components → pages}/recover-account/recover-account.component.d.ts +0 -0
- /package/lib/{components → pages}/settings/settings.component.d.ts +0 -0
- /package/lib/{components → pages}/transactions/transactDialog.component.d.ts +0 -0
- /package/lib/{components → pages}/transactions/transactions.component.d.ts +0 -0
- /package/lib/{components → pages}/welcome/welcome.component.d.ts +0 -0
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
export declare class loginConfig {
|
|
2
|
+
constructor();
|
|
3
|
+
appName: string;
|
|
4
|
+
selfService: boolean;
|
|
5
|
+
logo: string;
|
|
6
|
+
logoSize: string;
|
|
7
|
+
}
|
|
8
|
+
export declare class Account {
|
|
9
|
+
user: User;
|
|
10
|
+
profile: Profile;
|
|
11
|
+
}
|
|
12
|
+
export declare class User {
|
|
13
|
+
constructor();
|
|
14
|
+
userName: string;
|
|
15
|
+
password: string;
|
|
16
|
+
tries: string;
|
|
17
|
+
locked: string;
|
|
18
|
+
logged: string;
|
|
19
|
+
disabled: string;
|
|
20
|
+
changepassword: string;
|
|
21
|
+
dateCreated: string;
|
|
22
|
+
dateUpdated: string;
|
|
23
|
+
dateExpire: string;
|
|
24
|
+
token: string;
|
|
25
|
+
tokenExpire: string;
|
|
26
|
+
authType: string;
|
|
27
|
+
}
|
|
28
|
+
export declare class ChangeUserPassword {
|
|
29
|
+
constructor();
|
|
30
|
+
userName: string;
|
|
31
|
+
currentPassword: string;
|
|
32
|
+
newPassword: string;
|
|
33
|
+
confirmPassword: string;
|
|
34
|
+
}
|
|
35
|
+
export declare class Register {
|
|
36
|
+
constructor();
|
|
37
|
+
userName: string;
|
|
38
|
+
roleID: number;
|
|
39
|
+
firstName: string;
|
|
40
|
+
lastName: string;
|
|
41
|
+
email: string;
|
|
42
|
+
authType: string;
|
|
43
|
+
password: string;
|
|
44
|
+
}
|
|
45
|
+
export declare class Profile {
|
|
46
|
+
constructor();
|
|
47
|
+
profileID: string;
|
|
48
|
+
userName: string;
|
|
49
|
+
roleID: number;
|
|
50
|
+
firstName: string;
|
|
51
|
+
lastName: string;
|
|
52
|
+
email: string;
|
|
53
|
+
empID: string;
|
|
54
|
+
arID: string;
|
|
55
|
+
authType: string;
|
|
56
|
+
password: string;
|
|
57
|
+
role: Role;
|
|
58
|
+
code: string;
|
|
59
|
+
}
|
|
60
|
+
export declare class Role {
|
|
61
|
+
constructor();
|
|
62
|
+
roleID: number;
|
|
63
|
+
roleName: string;
|
|
64
|
+
cap1: boolean;
|
|
65
|
+
cap2: boolean;
|
|
66
|
+
cap3: boolean;
|
|
67
|
+
cap4: boolean;
|
|
68
|
+
cap5: boolean;
|
|
69
|
+
cap6: boolean;
|
|
70
|
+
cap7: boolean;
|
|
71
|
+
cap8: boolean;
|
|
72
|
+
cap9: boolean;
|
|
73
|
+
cap10: boolean;
|
|
74
|
+
cap11: boolean;
|
|
75
|
+
cap12: boolean;
|
|
76
|
+
cap13: boolean;
|
|
77
|
+
cap14: boolean;
|
|
78
|
+
cap15: boolean;
|
|
79
|
+
cap16: boolean;
|
|
80
|
+
cap17: boolean;
|
|
81
|
+
cap18: boolean;
|
|
82
|
+
cap19: boolean;
|
|
83
|
+
cap20: boolean;
|
|
84
|
+
cap21: boolean;
|
|
85
|
+
cap22: boolean;
|
|
86
|
+
cap23: boolean;
|
|
87
|
+
cap24: boolean;
|
|
88
|
+
cap25: boolean;
|
|
89
|
+
cap26: boolean;
|
|
90
|
+
cap27: boolean;
|
|
91
|
+
cap28: boolean;
|
|
92
|
+
cap29: boolean;
|
|
93
|
+
cap30: boolean;
|
|
94
|
+
cap31: boolean;
|
|
95
|
+
cap32: boolean;
|
|
96
|
+
cap33: boolean;
|
|
97
|
+
cap34: boolean;
|
|
98
|
+
cap35: boolean;
|
|
99
|
+
cap36: boolean;
|
|
100
|
+
cap37: boolean;
|
|
101
|
+
cap38: boolean;
|
|
102
|
+
cap39: boolean;
|
|
103
|
+
cap40: boolean;
|
|
104
|
+
cap41: boolean;
|
|
105
|
+
cap42: boolean;
|
|
106
|
+
cap43: boolean;
|
|
107
|
+
cap44: boolean;
|
|
108
|
+
cap45: boolean;
|
|
109
|
+
cap46: boolean;
|
|
110
|
+
cap47: boolean;
|
|
111
|
+
cap48: boolean;
|
|
112
|
+
cap49: boolean;
|
|
113
|
+
cap50: boolean;
|
|
114
|
+
cap51: boolean;
|
|
115
|
+
cap52: boolean;
|
|
116
|
+
cap53: boolean;
|
|
117
|
+
cap54: boolean;
|
|
118
|
+
cap55: boolean;
|
|
119
|
+
cap56: boolean;
|
|
120
|
+
cap57: boolean;
|
|
121
|
+
cap58: boolean;
|
|
122
|
+
cap59: boolean;
|
|
123
|
+
cap60: boolean;
|
|
124
|
+
cap61: boolean;
|
|
125
|
+
cap62: boolean;
|
|
126
|
+
cap63: boolean;
|
|
127
|
+
cap64: boolean;
|
|
128
|
+
cap65: boolean;
|
|
129
|
+
cap66: boolean;
|
|
130
|
+
cap67: boolean;
|
|
131
|
+
cap68: boolean;
|
|
132
|
+
cap69: boolean;
|
|
133
|
+
cap70: boolean;
|
|
134
|
+
cap71: boolean;
|
|
135
|
+
cap72: boolean;
|
|
136
|
+
cap73: boolean;
|
|
137
|
+
cap74: boolean;
|
|
138
|
+
cap75: boolean;
|
|
139
|
+
cap76: boolean;
|
|
140
|
+
cap77: boolean;
|
|
141
|
+
cap78: boolean;
|
|
142
|
+
cap79: boolean;
|
|
143
|
+
cap80: boolean;
|
|
144
|
+
cap81: boolean;
|
|
145
|
+
cap82: boolean;
|
|
146
|
+
cap83: boolean;
|
|
147
|
+
cap84: boolean;
|
|
148
|
+
cap85: boolean;
|
|
149
|
+
cap86: boolean;
|
|
150
|
+
cap87: boolean;
|
|
151
|
+
cap88: boolean;
|
|
152
|
+
cap89: boolean;
|
|
153
|
+
cap90: boolean;
|
|
154
|
+
cap91: boolean;
|
|
155
|
+
cap92: boolean;
|
|
156
|
+
cap93: boolean;
|
|
157
|
+
cap94: boolean;
|
|
158
|
+
cap95: boolean;
|
|
159
|
+
cap96: boolean;
|
|
160
|
+
cap97: boolean;
|
|
161
|
+
cap98: boolean;
|
|
162
|
+
cap99: boolean;
|
|
163
|
+
cap100: boolean;
|
|
164
|
+
}
|
|
165
|
+
export declare enum LogLevel {
|
|
166
|
+
All = 0,
|
|
167
|
+
Debug = 1,
|
|
168
|
+
Info = 2,
|
|
169
|
+
Warn = 3,
|
|
170
|
+
Error = 4,
|
|
171
|
+
Fatal = 5,
|
|
172
|
+
Off = 6
|
|
173
|
+
}
|
package/lib/classes/TinCore.d.ts
CHANGED
|
@@ -1,12 +1,21 @@
|
|
|
1
|
-
import { DetailsDialogConfig, Field, FormConfig } from "./Classes";
|
|
1
|
+
import { DetailsDialogConfig, Field, FormConfig, RoleAccess, SecurityConfig } from "./Classes";
|
|
2
2
|
export declare class Core {
|
|
3
3
|
static deepClone(obj: any): any;
|
|
4
|
+
static deepClone2(obj: any): any;
|
|
4
5
|
static camelToWords(value: string): string;
|
|
5
6
|
static generateObject(fields: Field[]): {};
|
|
6
7
|
static resetObject(fields: Field[], data: any): void;
|
|
7
|
-
static
|
|
8
|
+
static checkSecurity(security: SecurityConfig, currentRole: any): boolean;
|
|
9
|
+
static hasFormAccess(formConfig: FormConfig, currentRole: any): boolean;
|
|
10
|
+
static getFormAccess(formConfig: FormConfig, currentRole: any): RoleAccess;
|
|
11
|
+
private static getRoleAccess;
|
|
12
|
+
static testVisible(config: FormConfig, data: any, field: Field, currentRole: any): boolean;
|
|
13
|
+
static testReadOnly(config: FormConfig, data: any, field: Field): boolean;
|
|
14
|
+
static testVisibleHeaderButton(data: any, btn: any): boolean;
|
|
15
|
+
static getVisibleSubfields(config: FormConfig, data: any, field: Field, currentRole: any): Field[];
|
|
8
16
|
static validateObject(fields: Field[], data: any): string;
|
|
9
|
-
|
|
17
|
+
static testRequired(config: FormConfig, data: any, field: Field): boolean;
|
|
18
|
+
static getInitialValue(field: Field): any;
|
|
10
19
|
static getClone(x: any): any;
|
|
11
20
|
static getNumber(value: string): string | 0;
|
|
12
21
|
static getFirstDayOfMonth(): Date;
|
|
@@ -28,6 +37,7 @@ export declare class DetailsDialogProcessor {
|
|
|
28
37
|
tableConfig: import("./Classes").TableConfig;
|
|
29
38
|
tableConfigs: import("./Classes").TableConfig[];
|
|
30
39
|
formConfig: FormConfig;
|
|
40
|
+
stepConfig: import("./Classes").StepConfig;
|
|
31
41
|
buttons: import("./Classes").Button[];
|
|
32
42
|
};
|
|
33
43
|
static setHeroValue(detailsConfig: DetailsDialogConfig, details: any): void;
|
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { MessageService } from '../../services/message.service';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class AttachComponent implements OnInit {
|
|
4
|
-
|
|
5
|
+
private messageService;
|
|
6
|
+
constructor(messageService: MessageService);
|
|
5
7
|
ngOnInit(): void;
|
|
8
|
+
fileOptions: {
|
|
9
|
+
allowedExtensions?: string[];
|
|
10
|
+
maxSizeMB?: number;
|
|
11
|
+
compressImages?: boolean;
|
|
12
|
+
};
|
|
13
|
+
private readonly imageExtensions;
|
|
6
14
|
message: string;
|
|
7
15
|
files: any[];
|
|
8
16
|
filesChange: EventEmitter<any>;
|
|
@@ -11,13 +19,12 @@ export declare class AttachComponent implements OnInit {
|
|
|
11
19
|
onFileDropped($event: any): void;
|
|
12
20
|
fileBrowseHandler(event: any): void;
|
|
13
21
|
deleteFile(index: number): void;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
prepareFilesList(files: Array<any>): void;
|
|
22
|
+
prepareFilesList(files: Array<any>): Promise<void>;
|
|
23
|
+
private getFileExtension;
|
|
24
|
+
private isImage;
|
|
18
25
|
formatBytes(bytes: any, decimals: any): string;
|
|
19
26
|
uploaded(): void;
|
|
20
27
|
filesChanged(): void;
|
|
21
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<AttachComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AttachComponent, "spa-attach", never, { "message": "message"; "files": "files"; "enableUpload": "enableUpload"; }, { "filesChange": "filesChange"; "upload": "upload"; }, never, never, false>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AttachComponent, "spa-attach", never, { "fileOptions": "fileOptions"; "message": "message"; "files": "files"; "enableUpload": "enableUpload"; }, { "filesChange": "filesChange"; "upload": "upload"; }, never, never, false>;
|
|
23
30
|
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { Button, TableConfig } from '../../classes/Classes';
|
|
3
|
+
import { ButtonService } from '../../services/button.service';
|
|
4
|
+
import { ConditionService } from '../../services/condition.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class CapsulesComponent {
|
|
7
|
+
buttonService: ButtonService;
|
|
8
|
+
private conditionService;
|
|
9
|
+
constructor(buttonService: ButtonService, conditionService: ConditionService);
|
|
10
|
+
config: TableConfig;
|
|
11
|
+
dataSource: any[];
|
|
12
|
+
displayedButtons: Button[];
|
|
13
|
+
actionClick: EventEmitter<{
|
|
14
|
+
name: string;
|
|
15
|
+
row: any;
|
|
16
|
+
}>;
|
|
17
|
+
getDisplayValue(row: any): string;
|
|
18
|
+
testIconCondition(row: any, icon: any): boolean;
|
|
19
|
+
onActionClick(buttonName: string, row: any): void;
|
|
20
|
+
getButtonColor(button: Button, row: any): string;
|
|
21
|
+
getIcon(buttonName: string): string;
|
|
22
|
+
testDisabled(row: any, buttonName: string): boolean;
|
|
23
|
+
private getButton;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CapsulesComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CapsulesComponent, "spa-capsules", never, { "config": "config"; "dataSource": "dataSource"; "displayedButtons": "displayedButtons"; }, { "actionClick": "actionClick"; }, never, never, false>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { Button, TableConfig } from '../../classes/Classes';
|
|
3
|
+
import { ButtonService } from '../../services/button.service';
|
|
4
|
+
import { ConditionService } from '../../services/condition.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class CardsComponent {
|
|
7
|
+
buttonService: ButtonService;
|
|
8
|
+
private conditionService;
|
|
9
|
+
constructor(buttonService: ButtonService, conditionService: ConditionService);
|
|
10
|
+
config: TableConfig;
|
|
11
|
+
dataSource: any[];
|
|
12
|
+
displayedButtons: Button[];
|
|
13
|
+
smallScreen: boolean;
|
|
14
|
+
actionClick: EventEmitter<{
|
|
15
|
+
name: string;
|
|
16
|
+
row: any;
|
|
17
|
+
}>;
|
|
18
|
+
columnClick: EventEmitter<{
|
|
19
|
+
column: any;
|
|
20
|
+
row: any;
|
|
21
|
+
}>;
|
|
22
|
+
showBannerEvent: EventEmitter<string>;
|
|
23
|
+
getTitleValue(row: any): string;
|
|
24
|
+
getSubtitleValue(row: any): string;
|
|
25
|
+
getContentValues(row: any): {
|
|
26
|
+
label: string;
|
|
27
|
+
value: any;
|
|
28
|
+
}[];
|
|
29
|
+
onActionClick(buttonName: string, row: any): void;
|
|
30
|
+
getButtonColor(button: Button, row: any): string;
|
|
31
|
+
getIcon(buttonName: string): string;
|
|
32
|
+
testDisabled(row: any, buttonName: string): boolean;
|
|
33
|
+
testVisible(row: any, buttonName: string): boolean;
|
|
34
|
+
getElevationClass(): string;
|
|
35
|
+
getColumnCount(): number;
|
|
36
|
+
private getButton;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CardsComponent, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CardsComponent, "spa-cards", never, { "config": "config"; "dataSource": "dataSource"; "displayedButtons": "displayedButtons"; "smallScreen": "smallScreen"; }, { "actionClick": "actionClick"; "columnClick": "columnClick"; "showBannerEvent": "showBannerEvent"; }, never, never, false>;
|
|
39
|
+
}
|
|
@@ -7,6 +7,7 @@ export declare class DatetimeComponent implements OnInit {
|
|
|
7
7
|
value: string;
|
|
8
8
|
valueChange: EventEmitter<any>;
|
|
9
9
|
readonly: boolean;
|
|
10
|
+
width: string;
|
|
10
11
|
min: string;
|
|
11
12
|
max: string;
|
|
12
13
|
changed(): void;
|
|
@@ -14,5 +15,5 @@ export declare class DatetimeComponent implements OnInit {
|
|
|
14
15
|
infoClick: EventEmitter<void>;
|
|
15
16
|
onInfoClick(event: MouseEvent): void;
|
|
16
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatetimeComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DatetimeComponent, "spa-datetime", never, { "display": "display"; "value": "value"; "readonly": "readonly"; "min": "min"; "max": "max"; "infoMessage": "infoMessage"; }, { "valueChange": "valueChange"; "infoClick": "infoClick"; }, never, never, false>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DatetimeComponent, "spa-datetime", never, { "display": "display"; "value": "value"; "readonly": "readonly"; "width": "width"; "min": "min"; "max": "max"; "infoMessage": "infoMessage"; }, { "valueChange": "valueChange"; "infoClick": "infoClick"; }, never, never, false>;
|
|
18
19
|
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { FormControl } from '@angular/forms';
|
|
3
|
+
import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
|
|
4
|
+
import { MatChipInputEvent } from '@angular/material/chips';
|
|
5
|
+
import { Observable } from 'rxjs';
|
|
6
|
+
import { MessageService } from '../../services/message.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class EmailComponent implements OnInit {
|
|
9
|
+
private messageService;
|
|
10
|
+
constructor(messageService: MessageService);
|
|
11
|
+
display: string;
|
|
12
|
+
value: string;
|
|
13
|
+
valueChange: EventEmitter<string>;
|
|
14
|
+
readonly: boolean;
|
|
15
|
+
required: boolean;
|
|
16
|
+
hint: string;
|
|
17
|
+
suffix: string;
|
|
18
|
+
infoMessage: string;
|
|
19
|
+
copyContent: boolean;
|
|
20
|
+
clearContent: boolean;
|
|
21
|
+
options: any[];
|
|
22
|
+
optionValue: string;
|
|
23
|
+
emails: string[];
|
|
24
|
+
emailControl: FormControl;
|
|
25
|
+
filteredOptions: Observable<string[]>;
|
|
26
|
+
ngOnInit(): void;
|
|
27
|
+
private _filter;
|
|
28
|
+
addEmail(event: MatChipInputEvent): void;
|
|
29
|
+
addMultipleEmails(value: string): void;
|
|
30
|
+
isValidEmail(email: string): boolean;
|
|
31
|
+
handlePaste(event: ClipboardEvent): void;
|
|
32
|
+
extractEmails(text: string): string[];
|
|
33
|
+
removeEmail(email: string): void;
|
|
34
|
+
clearEmails(): void;
|
|
35
|
+
updateValue(): void;
|
|
36
|
+
optionSelected(event: MatAutocompleteSelectedEvent): void;
|
|
37
|
+
copyEmails(): void;
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EmailComponent, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EmailComponent, "spa-email", never, { "display": "display"; "value": "value"; "readonly": "readonly"; "required": "required"; "hint": "hint"; "suffix": "suffix"; "infoMessage": "infoMessage"; "copyContent": "copyContent"; "clearContent": "clearContent"; "options": "options"; "optionValue": "optionValue"; }, { "valueChange": "valueChange"; }, never, never, false>;
|
|
40
|
+
}
|
|
@@ -14,6 +14,7 @@ export declare class FilterComponent implements OnInit {
|
|
|
14
14
|
keyUp(event: KeyboardEvent): void;
|
|
15
15
|
applyFilter(filterValue: string): void;
|
|
16
16
|
refreshClicked(): void;
|
|
17
|
+
clear(): void;
|
|
17
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<FilterComponent, never>;
|
|
18
19
|
static ɵcmp: i0.ɵɵComponentDeclaration<FilterComponent, "spa-filter", never, { "flatButtons": "flatButtons"; "showText": "showText"; "showButton": "showButton"; "data": "data"; }, { "refreshClick": "refreshClick"; }, never, never, false>;
|
|
19
20
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import { FormConfig, Field, Button } from '../../classes/Classes';
|
|
3
3
|
import { MessageService } from '../../services/message.service';
|
|
4
4
|
import { DataServiceLib } from '../../services/datalib.service';
|
|
5
|
+
import { AuthService } from '../../services/auth.service';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class FormComponent implements OnInit {
|
|
7
8
|
private messageService;
|
|
8
9
|
private dataService;
|
|
9
|
-
|
|
10
|
+
private authService;
|
|
11
|
+
constructor(messageService: MessageService, dataService: DataServiceLib, authService: AuthService);
|
|
10
12
|
ngOnInit(): void;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
getVisibleFields(): Field[];
|
|
14
|
-
testReadOnly(f: Field): boolean;
|
|
13
|
+
dynamicSelectTemplate: TemplateRef<any>;
|
|
14
|
+
hasAccess: boolean;
|
|
15
15
|
fileNames: any;
|
|
16
16
|
fileField: Field;
|
|
17
17
|
fileViewField: Field;
|
|
@@ -25,12 +25,23 @@ export declare class FormComponent implements OnInit {
|
|
|
25
25
|
config: FormConfig;
|
|
26
26
|
buttonClick: EventEmitter<any>;
|
|
27
27
|
inputChange: EventEmitter<any>;
|
|
28
|
+
initializeCompositeFields(): void;
|
|
29
|
+
private applyValueCalculations;
|
|
30
|
+
getVisibleSubfields(field: Field): Field[];
|
|
31
|
+
getVisibleFields(): Field[];
|
|
32
|
+
testReadOnly(field: Field): boolean;
|
|
33
|
+
testRequired(field: Field): boolean;
|
|
34
|
+
toggleSection(field: Field): void;
|
|
35
|
+
hasSectionFields(sectionName: string): boolean;
|
|
36
|
+
shouldSectionCollapse(field: Field): boolean;
|
|
37
|
+
onInfoClick(event: MouseEvent, infoMessage: string): void;
|
|
38
|
+
selectChanged(field: Field): void;
|
|
28
39
|
inputChanged(field: Field, value: any): void;
|
|
29
|
-
updateChildOptions(
|
|
30
|
-
|
|
40
|
+
updateChildOptions(masterFieldName: string): void;
|
|
41
|
+
private loadChildMasterOptions;
|
|
31
42
|
buttonClicked(): void;
|
|
32
43
|
processCall(button: Button): void;
|
|
33
44
|
processForm(): void;
|
|
34
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent, "spa-form", never, { "files": "files"; "data": "data"; "config": "config"; }, { "buttonClick": "buttonClick"; "inputChange": "inputChange"; },
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent, "spa-form", never, { "files": "files"; "data": "data"; "config": "config"; }, { "buttonClick": "buttonClick"; "inputChange": "inputChange"; }, ["dynamicSelectTemplate"], never, false>;
|
|
36
47
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class HtmlComponent implements OnInit {
|
|
5
|
+
private sanitizer;
|
|
6
|
+
constructor(sanitizer: DomSanitizer);
|
|
7
|
+
ngOnInit(): void;
|
|
8
|
+
ngOnChanges(): void;
|
|
9
|
+
value: string;
|
|
10
|
+
maxHeight: string;
|
|
11
|
+
display: string;
|
|
12
|
+
sanitizedHtml: SafeHtml;
|
|
13
|
+
private sanitizeHtml;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HtmlComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HtmlComponent, "spa-html", never, { "value": "value"; "maxHeight": "maxHeight"; "display": "display"; }, {}, never, never, false>;
|
|
16
|
+
}
|
|
@@ -6,6 +6,7 @@ export declare class LabelComponent implements OnInit {
|
|
|
6
6
|
display: string;
|
|
7
7
|
value: string;
|
|
8
8
|
format: string;
|
|
9
|
+
suffix: string;
|
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<LabelComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LabelComponent, "spa-label", never, { "display": "display"; "value": "value"; "format": "format"; }, {}, never, never, false>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LabelComponent, "spa-label", never, { "display": "display"; "value": "value"; "format": "format"; "suffix": "suffix"; }, {}, never, never, false>;
|
|
11
12
|
}
|
|
@@ -22,12 +22,19 @@ export declare class MoneyComponent implements OnInit {
|
|
|
22
22
|
max: number;
|
|
23
23
|
infoMessage: string;
|
|
24
24
|
infoClick: EventEmitter<void>;
|
|
25
|
+
copyContent: boolean;
|
|
26
|
+
clearContent: boolean;
|
|
27
|
+
suffix: string;
|
|
28
|
+
isHovered: boolean;
|
|
29
|
+
onMouseEnter(): void;
|
|
30
|
+
onMouseLeave(): void;
|
|
25
31
|
onInfoClick(event: MouseEvent): void;
|
|
32
|
+
clear(): void;
|
|
26
33
|
changed(x: any): void;
|
|
27
34
|
leaved(): void;
|
|
28
35
|
enterPressed(): void;
|
|
29
36
|
control: FormControl<string>;
|
|
30
37
|
validate(control: FormControl): string;
|
|
31
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<MoneyComponent, never>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MoneyComponent, "spa-money", never, { "readonly": "readonly"; "hint": "hint"; "display": "display"; "placeholder": "placeholder"; "value": "value"; "width": "width"; "currency": "currency"; "required": "required"; "min": "min"; "max": "max"; "infoMessage": "infoMessage"; }, { "valueChange": "valueChange"; "leave": "leave"; "enterPress": "enterPress"; "infoClick": "infoClick"; }, never, never, false>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MoneyComponent, "spa-money", never, { "readonly": "readonly"; "hint": "hint"; "display": "display"; "placeholder": "placeholder"; "value": "value"; "width": "width"; "currency": "currency"; "required": "required"; "min": "min"; "max": "max"; "infoMessage": "infoMessage"; "copyContent": "copyContent"; "clearContent": "clearContent"; "suffix": "suffix"; }, { "valueChange": "valueChange"; "leave": "leave"; "enterPress": "enterPress"; "infoClick": "infoClick"; }, never, never, false>;
|
|
33
40
|
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { FormControl } from '@angular/forms';
|
|
3
|
+
import { MessageService } from '../../services/message.service';
|
|
4
|
+
import { Action } from '../../classes/Classes';
|
|
5
|
+
import { DataServiceLib } from '../../services/datalib.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class MultiSelectComponent implements OnInit {
|
|
8
|
+
private messageService;
|
|
9
|
+
private dataService;
|
|
10
|
+
constructor(messageService: MessageService, dataService: DataServiceLib);
|
|
11
|
+
display: string;
|
|
12
|
+
value: string;
|
|
13
|
+
valueChange: EventEmitter<string>;
|
|
14
|
+
readonly: boolean;
|
|
15
|
+
required: boolean;
|
|
16
|
+
hint: string;
|
|
17
|
+
options: any[];
|
|
18
|
+
optionDisplay: string;
|
|
19
|
+
optionValue: string;
|
|
20
|
+
infoMessage: string;
|
|
21
|
+
copyContent: boolean;
|
|
22
|
+
clearContent: boolean;
|
|
23
|
+
nullable: boolean;
|
|
24
|
+
placeholder: string;
|
|
25
|
+
width: string;
|
|
26
|
+
suffix: string;
|
|
27
|
+
loadAction: Action;
|
|
28
|
+
control: FormControl<any[]>;
|
|
29
|
+
selectedValues: any[];
|
|
30
|
+
ngOnInit(): void;
|
|
31
|
+
ngOnChanges(): void;
|
|
32
|
+
private initializeValues;
|
|
33
|
+
selectionChange(event: any): void;
|
|
34
|
+
private updateValue;
|
|
35
|
+
getOptionDisplay(value: any): string;
|
|
36
|
+
compareWith(v1: any, v2: any): boolean;
|
|
37
|
+
clear(): void;
|
|
38
|
+
copyValues(): void;
|
|
39
|
+
isHovered: boolean;
|
|
40
|
+
hoverChange: EventEmitter<boolean>;
|
|
41
|
+
onMouseEnter(): void;
|
|
42
|
+
onMouseLeave(): void;
|
|
43
|
+
refresh(event: MouseEvent): void;
|
|
44
|
+
getData(action: Action): void;
|
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MultiSelectComponent, never>;
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MultiSelectComponent, "spa-multi-select", never, { "display": "display"; "value": "value"; "readonly": "readonly"; "required": "required"; "hint": "hint"; "options": "options"; "optionDisplay": "optionDisplay"; "optionValue": "optionValue"; "infoMessage": "infoMessage"; "copyContent": "copyContent"; "clearContent": "clearContent"; "nullable": "nullable"; "placeholder": "placeholder"; "width": "width"; "suffix": "suffix"; "loadAction": "loadAction"; }, { "valueChange": "valueChange"; "hoverChange": "hoverChange"; }, never, never, false>;
|
|
47
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { FormControl } from '@angular/forms';
|
|
3
|
+
import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
|
|
4
|
+
import { MatChipInputEvent } from '@angular/material/chips';
|
|
5
|
+
import { Observable } from 'rxjs';
|
|
6
|
+
import { MessageService } from '../../services/message.service';
|
|
7
|
+
import { Action } from '../../classes/Classes';
|
|
8
|
+
import { DataServiceLib } from '../../services/datalib.service';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class MultiTextComponent implements OnInit {
|
|
11
|
+
private messageService;
|
|
12
|
+
private dataService;
|
|
13
|
+
constructor(messageService: MessageService, dataService: DataServiceLib);
|
|
14
|
+
textInput: ElementRef<HTMLInputElement>;
|
|
15
|
+
display: string;
|
|
16
|
+
value: string;
|
|
17
|
+
valueChange: EventEmitter<string>;
|
|
18
|
+
readonly: boolean;
|
|
19
|
+
required: boolean;
|
|
20
|
+
hint: string;
|
|
21
|
+
strict: boolean;
|
|
22
|
+
suffix: string;
|
|
23
|
+
infoMessage: string;
|
|
24
|
+
copyContent: boolean;
|
|
25
|
+
clearContent: boolean;
|
|
26
|
+
options: any[];
|
|
27
|
+
optionDisplay: string;
|
|
28
|
+
optionValue: string;
|
|
29
|
+
loadAction: Action;
|
|
30
|
+
values: string[];
|
|
31
|
+
control: FormControl<string>;
|
|
32
|
+
filteredOptions: Observable<any[]>;
|
|
33
|
+
errorState: boolean;
|
|
34
|
+
private selectedFromAutocomplete;
|
|
35
|
+
ngOnInit(): void;
|
|
36
|
+
ngOnChanges(): void;
|
|
37
|
+
private setupAutoComplete;
|
|
38
|
+
private filterOptions;
|
|
39
|
+
add(event: MatChipInputEvent): void;
|
|
40
|
+
private addValue;
|
|
41
|
+
remove(value: string): void;
|
|
42
|
+
optionSelected(event: MatAutocompleteSelectedEvent): void;
|
|
43
|
+
private resetInput;
|
|
44
|
+
updateValue(): void;
|
|
45
|
+
clear(): void;
|
|
46
|
+
getDisplayValue(value: string): string;
|
|
47
|
+
copyValues(): void;
|
|
48
|
+
isHovered: boolean;
|
|
49
|
+
hoverChange: EventEmitter<boolean>;
|
|
50
|
+
onMouseEnter(): void;
|
|
51
|
+
onMouseLeave(): void;
|
|
52
|
+
refresh(event: MouseEvent): void;
|
|
53
|
+
getData(action: Action): void;
|
|
54
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MultiTextComponent, never>;
|
|
55
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MultiTextComponent, "spa-multi-text", never, { "display": "display"; "value": "value"; "readonly": "readonly"; "required": "required"; "hint": "hint"; "strict": "strict"; "suffix": "suffix"; "infoMessage": "infoMessage"; "copyContent": "copyContent"; "clearContent": "clearContent"; "options": "options"; "optionDisplay": "optionDisplay"; "optionValue": "optionValue"; "loadAction": "loadAction"; }, { "valueChange": "valueChange"; "hoverChange": "hoverChange"; }, never, never, false>;
|
|
56
|
+
}
|
|
@@ -1,20 +1,23 @@
|
|
|
1
|
-
import { AppConfig } from './../../classes/Classes';
|
|
1
|
+
import { AppConfig, CapItem } from './../../classes/Classes';
|
|
2
2
|
import { Router } from '@angular/router';
|
|
3
3
|
import { AuthService } from '../../services/auth.service';
|
|
4
4
|
import { StorageService } from '../../services/storage.service';
|
|
5
5
|
import { SocialAuthService } from '@abacritt/angularx-social-login';
|
|
6
6
|
import { DataServiceLib } from '../../services/datalib.service';
|
|
7
7
|
import { BreakpointObserver } from '@angular/cdk/layout';
|
|
8
|
+
import { NotificationsService } from '../../services/notifications.service';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class NavMenuComponent {
|
|
10
11
|
router: Router;
|
|
11
12
|
authService: AuthService;
|
|
12
13
|
private storageService;
|
|
14
|
+
private notificationsService;
|
|
13
15
|
private socialService;
|
|
14
16
|
private breakpointObserver;
|
|
15
17
|
dataService: DataServiceLib;
|
|
16
|
-
constructor(router: Router, authService: AuthService, storageService: StorageService, socialService: SocialAuthService, breakpointObserver: BreakpointObserver, dataService: DataServiceLib);
|
|
18
|
+
constructor(router: Router, authService: AuthService, storageService: StorageService, notificationsService: NotificationsService, socialService: SocialAuthService, breakpointObserver: BreakpointObserver, dataService: DataServiceLib);
|
|
17
19
|
ngOnInit(): void;
|
|
20
|
+
notificationCount$: import("rxjs").Observable<number>;
|
|
18
21
|
smallScreen: any;
|
|
19
22
|
myRole: any;
|
|
20
23
|
loggedUserFullName: string;
|
|
@@ -29,6 +32,7 @@ export declare class NavMenuComponent {
|
|
|
29
32
|
closeSide(): void;
|
|
30
33
|
logoff(): void;
|
|
31
34
|
redirectTo(link: string): void;
|
|
35
|
+
getSubItems(capItem: CapItem): CapItem[];
|
|
32
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<NavMenuComponent, never>;
|
|
33
37
|
static ɵcmp: i0.ɵɵComponentDeclaration<NavMenuComponent, "spa-nav-menu", never, { "appConfig": "appConfig"; "footer": "footer"; }, {}, never, never, false>;
|
|
34
38
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { DataServiceLib } from '../../services/datalib.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class NotesComponent implements OnInit {
|
|
5
|
+
private dataService;
|
|
6
|
+
constructor(dataService: DataServiceLib);
|
|
7
|
+
ngOnInit(): void;
|
|
8
|
+
title: string;
|
|
9
|
+
notes: any[];
|
|
10
|
+
loadAction: any;
|
|
11
|
+
loadIDField: string;
|
|
12
|
+
data: any;
|
|
13
|
+
nameField: string;
|
|
14
|
+
dateField: string;
|
|
15
|
+
commentField: string;
|
|
16
|
+
private loadNotes;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotesComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NotesComponent, "spa-notes", never, { "title": "title"; "notes": "notes"; "loadAction": "loadAction"; "loadIDField": "loadIDField"; "data": "data"; "nameField": "nameField"; "dateField": "dateField"; "commentField": "commentField"; }, {}, never, never, false>;
|
|
19
|
+
}
|
|
@@ -24,6 +24,12 @@ export declare class NumberComponent implements OnInit {
|
|
|
24
24
|
suffix: string;
|
|
25
25
|
infoMessage: string;
|
|
26
26
|
infoClick: EventEmitter<void>;
|
|
27
|
+
copyContent: boolean;
|
|
28
|
+
clearContent: boolean;
|
|
29
|
+
isHovered: boolean;
|
|
30
|
+
onMouseEnter(): void;
|
|
31
|
+
onMouseLeave(): void;
|
|
32
|
+
clear(): void;
|
|
27
33
|
onInfoClick(event: MouseEvent): void;
|
|
28
34
|
changed(): void;
|
|
29
35
|
leaved(): void;
|
|
@@ -31,5 +37,5 @@ export declare class NumberComponent implements OnInit {
|
|
|
31
37
|
control: FormControl<number>;
|
|
32
38
|
validate(control: FormControl): string;
|
|
33
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<NumberComponent, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NumberComponent, "spa-number", never, { "readonly": "readonly"; "hint": "hint"; "display": "display"; "placeholder": "placeholder"; "value": "value"; "width": "width"; "required": "required"; "min": "min"; "max": "max"; "step": "step"; "suffix": "suffix"; "infoMessage": "infoMessage"; }, { "valueChange": "valueChange"; "leave": "leave"; "enterPress": "enterPress"; "infoClick": "infoClick"; }, never, never, false>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NumberComponent, "spa-number", never, { "readonly": "readonly"; "hint": "hint"; "display": "display"; "placeholder": "placeholder"; "value": "value"; "width": "width"; "required": "required"; "min": "min"; "max": "max"; "step": "step"; "suffix": "suffix"; "infoMessage": "infoMessage"; "copyContent": "copyContent"; "clearContent": "clearContent"; }, { "valueChange": "valueChange"; "leave": "leave"; "enterPress": "enterPress"; "infoClick": "infoClick"; }, never, never, false>;
|
|
35
41
|
}
|