tin-spa 2.3.12 → 2.4.0
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/esm2020/lib/classes/Classes.mjs +1 -179
- package/esm2020/lib/classes/LibClasses.mjs +179 -0
- package/esm2020/lib/classes/TinCore.mjs +10 -1
- package/esm2020/lib/components/date/date.component.mjs +3 -3
- package/esm2020/lib/components/datetime/datetime.component.mjs +6 -3
- package/esm2020/lib/components/email/email.component.mjs +131 -0
- package/esm2020/lib/components/form/form.component.mjs +27 -10
- package/esm2020/lib/components/money/money.component.mjs +3 -3
- package/esm2020/lib/components/nav-menu/nav-menu.component.mjs +2 -2
- package/esm2020/lib/components/number/number.component.mjs +3 -3
- package/esm2020/lib/components/option/option.component.mjs +6 -3
- package/esm2020/lib/components/search/search.component.mjs +3 -3
- package/esm2020/lib/components/select/select.component.mjs +3 -3
- package/esm2020/lib/components/table/detailsDialog.component.mjs +14 -4
- package/esm2020/lib/components/table/table.component.mjs +3 -3
- package/esm2020/lib/components/table-header/table-header.component.mjs +67 -12
- package/esm2020/lib/components/table-internal/detailsDialog-internal.component.mjs +16 -2
- package/esm2020/lib/components/table-internal/table-internal.component.mjs +3 -3
- package/esm2020/lib/components/table-row/table-row.component.mjs +21 -5
- package/esm2020/lib/components/text/text.component.mjs +3 -3
- package/esm2020/lib/modules/admin/admin-routing.module.mjs +22 -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/{components → pages}/accounts/accountDialog.component.mjs +3 -3
- package/esm2020/lib/pages/accounts/accounts.component.mjs +70 -0
- package/esm2020/lib/{components → pages}/bug/bug.component.mjs +1 -1
- 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 +60 -0
- package/esm2020/lib/{components → pages}/departments/departments.component.mjs +2 -2
- package/esm2020/lib/{components → pages}/employees/employees.component.mjs +2 -2
- package/esm2020/lib/{components → pages}/grades/grades.component.mjs +1 -1
- package/esm2020/lib/pages/inventory/inventory.component.mjs +99 -0
- package/esm2020/lib/{components → pages}/inventory/quantityDialog.component.mjs +3 -3
- package/esm2020/lib/{components → pages}/invitations/invitations.component.mjs +1 -1
- package/esm2020/lib/pages/invitations-table/invitations-table.component.mjs +70 -0
- package/esm2020/lib/{components → pages}/login/login.component.mjs +5 -4
- package/esm2020/lib/{components → pages}/logs/logs.component.mjs +2 -2
- package/esm2020/lib/pages/membership/membership.component.mjs +48 -0
- package/esm2020/lib/{components → pages}/notifications/notifications.component.mjs +1 -1
- package/esm2020/lib/pages/plans/plans.component.mjs +47 -0
- package/esm2020/lib/{components → pages}/positions/positions.component.mjs +2 -2
- package/esm2020/lib/pages/profile/profile.component.mjs +93 -0
- package/esm2020/lib/pages/recover-account/recover-account.component.mjs +46 -0
- package/esm2020/lib/{components → pages}/roles/addRoleDialog.component.mjs +2 -2
- package/esm2020/lib/{components → pages}/roles/roles.component.mjs +1 -1
- package/esm2020/lib/{components → pages}/settings/settings.component.mjs +1 -1
- package/esm2020/lib/pages/signup/signup.component.mjs +50 -0
- package/esm2020/lib/pages/suppliers/suppliers.component.mjs +50 -0
- package/esm2020/lib/pages/tasks/tasks.component.mjs +86 -0
- package/esm2020/lib/{components → pages}/tenant-settings/inviteDialog.component.mjs +3 -3
- package/esm2020/lib/pages/tenant-settings/tenant-settings.component.mjs +155 -0
- package/esm2020/lib/pages/tenants/tenants.component.mjs +47 -0
- package/esm2020/lib/{components → pages}/transactions/transactDialog.component.mjs +5 -5
- package/esm2020/lib/pages/transactions/transactions.component.mjs +101 -0
- package/esm2020/lib/pages/users/users.component.mjs +118 -0
- package/esm2020/lib/pages/welcome/welcome.component.mjs +86 -0
- package/esm2020/lib/services/auth.service.mjs +3 -2
- package/esm2020/lib/services/csv.service.mjs +49 -0
- package/esm2020/lib/services/datalib.service.mjs +1 -1
- package/esm2020/lib/services/log.service.mjs +2 -2
- package/esm2020/lib/tin-spa.module.mjs +33 -28
- package/esm2020/public-api.mjs +26 -25
- package/fesm2015/tin-spa.mjs +434 -146
- package/fesm2015/tin-spa.mjs.map +1 -1
- package/fesm2020/tin-spa.mjs +433 -146
- package/fesm2020/tin-spa.mjs.map +1 -1
- package/lib/classes/Classes.d.ts +17 -173
- package/lib/classes/LibClasses.d.ts +172 -0
- package/lib/classes/TinCore.d.ts +3 -1
- package/lib/components/datetime/datetime.component.d.ts +2 -1
- package/lib/components/email/email.component.d.ts +39 -0
- package/lib/components/form/form.component.d.ts +2 -0
- package/lib/components/option/option.component.d.ts +2 -1
- package/lib/components/table-header/table-header.component.d.ts +14 -3
- package/lib/components/table-row/table-row.component.d.ts +1 -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/{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}/login/login.component.d.ts +3 -2
- 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 +1 -1
- package/lib/{components → pages}/signup/signup.component.d.ts +1 -1
- package/lib/{components → pages}/users/users.component.d.ts +1 -1
- package/lib/services/auth.service.d.ts +1 -1
- package/lib/services/csv.service.d.ts +10 -0
- package/lib/services/datalib.service.d.ts +2 -1
- package/lib/services/log.service.d.ts +1 -1
- package/lib/tin-spa.module.d.ts +29 -28
- package/package.json +1 -1
- package/public-api.d.ts +24 -23
- package/esm2020/lib/components/accounts/accounts.component.mjs +0 -70
- 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/inventory/inventory.component.mjs +0 -99
- package/esm2020/lib/components/invitations-table/invitations-table.component.mjs +0 -70
- package/esm2020/lib/components/membership/membership.component.mjs +0 -48
- package/esm2020/lib/components/plans/plans.component.mjs +0 -47
- 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/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/tenant-settings.component.mjs +0 -155
- package/esm2020/lib/components/tenants/tenants.component.mjs +0 -47
- 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 → 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}/customers/customers.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}/invitations/invitations.component.d.ts +0 -0
- /package/lib/{components → pages}/invitations-table/invitations-table.component.d.ts +0 -0
- /package/lib/{components → pages}/logs/logs.component.d.ts +0 -0
- /package/lib/{components → pages}/membership/membership.component.d.ts +0 -0
- /package/lib/{components → pages}/notifications/notifications.component.d.ts +0 -0
- /package/lib/{components → pages}/plans/plans.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}/suppliers/suppliers.component.d.ts +0 -0
- /package/lib/{components → pages}/tasks/tasks.component.d.ts +0 -0
- /package/lib/{components → pages}/tenant-settings/inviteDialog.component.d.ts +0 -0
- /package/lib/{components → pages}/tenant-settings/tenant-settings.component.d.ts +0 -0
- /package/lib/{components → pages}/tenants/tenants.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
package/lib/classes/Classes.d.ts
CHANGED
|
@@ -98,7 +98,7 @@ export interface Condition {
|
|
|
98
98
|
}
|
|
99
99
|
export interface Field {
|
|
100
100
|
name: string;
|
|
101
|
-
type: 'text' | 'date' | 'datetime' | 'checkbox' | 'select' | 'multi-select' | 'money' | 'number' | 'section' | 'blank' | 'chip' | 'file' | 'file-view' | 'icon' | 'spinner' | 'button' | 'label';
|
|
101
|
+
type: 'text' | 'date' | 'datetime' | 'checkbox' | 'select' | 'multi-select' | 'money' | 'number' | 'section' | 'blank' | 'chip' | 'file' | 'file-view' | 'icon' | 'spinner' | 'button' | 'label' | 'email' | 'composite' | 'string';
|
|
102
102
|
alias?: string;
|
|
103
103
|
options?: any[];
|
|
104
104
|
optionDisplay?: string;
|
|
@@ -110,6 +110,8 @@ export interface Field {
|
|
|
110
110
|
max?: any;
|
|
111
111
|
rows?: number;
|
|
112
112
|
span?: boolean;
|
|
113
|
+
width?: string;
|
|
114
|
+
size?: string;
|
|
113
115
|
readonly?: boolean;
|
|
114
116
|
hidden?: boolean;
|
|
115
117
|
path?: string;
|
|
@@ -127,6 +129,7 @@ export interface Field {
|
|
|
127
129
|
peekConfig?: PeekDialogConfig;
|
|
128
130
|
infoMessage?: string;
|
|
129
131
|
suffix?: string;
|
|
132
|
+
subfields?: Field[];
|
|
130
133
|
}
|
|
131
134
|
export interface PeekDialogConfig {
|
|
132
135
|
detailsConfig: DetailsDialogConfig;
|
|
@@ -139,6 +142,7 @@ export interface ChildField {
|
|
|
139
142
|
}
|
|
140
143
|
export declare class TableConfig {
|
|
141
144
|
title?: string;
|
|
145
|
+
noDataMessage?: string;
|
|
142
146
|
columns?: Column[];
|
|
143
147
|
minColumns?: string[];
|
|
144
148
|
showFilter?: boolean;
|
|
@@ -160,7 +164,18 @@ export declare class TableConfig {
|
|
|
160
164
|
heroValue?: any;
|
|
161
165
|
collapseButtons?: boolean;
|
|
162
166
|
parentData?: any;
|
|
167
|
+
pageSizes?: number[];
|
|
163
168
|
hideTabCondition?: (value: any) => boolean;
|
|
169
|
+
download?: {
|
|
170
|
+
columns: string[];
|
|
171
|
+
fileName?: string;
|
|
172
|
+
hiddenCondition?: (value: any) => boolean;
|
|
173
|
+
};
|
|
174
|
+
upload?: {
|
|
175
|
+
action: Action;
|
|
176
|
+
messages?: AlertMessage[];
|
|
177
|
+
hiddenCondition?: (value: any) => boolean;
|
|
178
|
+
};
|
|
164
179
|
}
|
|
165
180
|
export interface Column {
|
|
166
181
|
name: string;
|
|
@@ -168,6 +183,7 @@ export interface Column {
|
|
|
168
183
|
alias?: string;
|
|
169
184
|
icon?: Icon;
|
|
170
185
|
color?: Color;
|
|
186
|
+
colors?: Color[];
|
|
171
187
|
icons?: Icon[];
|
|
172
188
|
options?: any[];
|
|
173
189
|
optionDisplay?: string;
|
|
@@ -212,13 +228,6 @@ export declare class ActionResponse {
|
|
|
212
228
|
name: string;
|
|
213
229
|
value: any;
|
|
214
230
|
}
|
|
215
|
-
export declare class loginConfig {
|
|
216
|
-
constructor();
|
|
217
|
-
appName: string;
|
|
218
|
-
selfService: boolean;
|
|
219
|
-
logo: string;
|
|
220
|
-
logoSize: string;
|
|
221
|
-
}
|
|
222
231
|
export declare class AppConfig {
|
|
223
232
|
constructor();
|
|
224
233
|
appName: string;
|
|
@@ -246,33 +255,6 @@ export declare class CapItem {
|
|
|
246
255
|
icon: string;
|
|
247
256
|
capSubItems: CapItem[];
|
|
248
257
|
}
|
|
249
|
-
export declare class Account {
|
|
250
|
-
user: User;
|
|
251
|
-
profile: Profile;
|
|
252
|
-
}
|
|
253
|
-
export declare class User {
|
|
254
|
-
constructor();
|
|
255
|
-
userName: string;
|
|
256
|
-
password: string;
|
|
257
|
-
tries: string;
|
|
258
|
-
locked: string;
|
|
259
|
-
logged: string;
|
|
260
|
-
disabled: string;
|
|
261
|
-
changepassword: string;
|
|
262
|
-
dateCreated: string;
|
|
263
|
-
dateUpdated: string;
|
|
264
|
-
dateExpire: string;
|
|
265
|
-
token: string;
|
|
266
|
-
tokenExpire: string;
|
|
267
|
-
authType: string;
|
|
268
|
-
}
|
|
269
|
-
export declare class ChangeUserPassword {
|
|
270
|
-
constructor();
|
|
271
|
-
userName: string;
|
|
272
|
-
currentPassword: string;
|
|
273
|
-
newPassword: string;
|
|
274
|
-
confirmPassword: string;
|
|
275
|
-
}
|
|
276
258
|
export declare class Transaction {
|
|
277
259
|
constructor();
|
|
278
260
|
transactionID: number;
|
|
@@ -291,141 +273,3 @@ export declare class FinAccount {
|
|
|
291
273
|
description: string;
|
|
292
274
|
currency: string;
|
|
293
275
|
}
|
|
294
|
-
export declare class Register {
|
|
295
|
-
constructor();
|
|
296
|
-
userName: string;
|
|
297
|
-
roleID: number;
|
|
298
|
-
firstName: string;
|
|
299
|
-
lastName: string;
|
|
300
|
-
email: string;
|
|
301
|
-
authType: string;
|
|
302
|
-
password: string;
|
|
303
|
-
}
|
|
304
|
-
export declare class Profile {
|
|
305
|
-
constructor();
|
|
306
|
-
profileID: string;
|
|
307
|
-
userName: string;
|
|
308
|
-
roleID: number;
|
|
309
|
-
firstName: string;
|
|
310
|
-
lastName: string;
|
|
311
|
-
email: string;
|
|
312
|
-
empID: string;
|
|
313
|
-
arID: string;
|
|
314
|
-
authType: string;
|
|
315
|
-
password: string;
|
|
316
|
-
role: Role;
|
|
317
|
-
}
|
|
318
|
-
export declare class Role {
|
|
319
|
-
constructor();
|
|
320
|
-
roleID: number;
|
|
321
|
-
roleName: string;
|
|
322
|
-
cap1: boolean;
|
|
323
|
-
cap2: boolean;
|
|
324
|
-
cap3: boolean;
|
|
325
|
-
cap4: boolean;
|
|
326
|
-
cap5: boolean;
|
|
327
|
-
cap6: boolean;
|
|
328
|
-
cap7: boolean;
|
|
329
|
-
cap8: boolean;
|
|
330
|
-
cap9: boolean;
|
|
331
|
-
cap10: boolean;
|
|
332
|
-
cap11: boolean;
|
|
333
|
-
cap12: boolean;
|
|
334
|
-
cap13: boolean;
|
|
335
|
-
cap14: boolean;
|
|
336
|
-
cap15: boolean;
|
|
337
|
-
cap16: boolean;
|
|
338
|
-
cap17: boolean;
|
|
339
|
-
cap18: boolean;
|
|
340
|
-
cap19: boolean;
|
|
341
|
-
cap20: boolean;
|
|
342
|
-
cap21: boolean;
|
|
343
|
-
cap22: boolean;
|
|
344
|
-
cap23: boolean;
|
|
345
|
-
cap24: boolean;
|
|
346
|
-
cap25: boolean;
|
|
347
|
-
cap26: boolean;
|
|
348
|
-
cap27: boolean;
|
|
349
|
-
cap28: boolean;
|
|
350
|
-
cap29: boolean;
|
|
351
|
-
cap30: boolean;
|
|
352
|
-
cap31: boolean;
|
|
353
|
-
cap32: boolean;
|
|
354
|
-
cap33: boolean;
|
|
355
|
-
cap34: boolean;
|
|
356
|
-
cap35: boolean;
|
|
357
|
-
cap36: boolean;
|
|
358
|
-
cap37: boolean;
|
|
359
|
-
cap38: boolean;
|
|
360
|
-
cap39: boolean;
|
|
361
|
-
cap40: boolean;
|
|
362
|
-
cap41: boolean;
|
|
363
|
-
cap42: boolean;
|
|
364
|
-
cap43: boolean;
|
|
365
|
-
cap44: boolean;
|
|
366
|
-
cap45: boolean;
|
|
367
|
-
cap46: boolean;
|
|
368
|
-
cap47: boolean;
|
|
369
|
-
cap48: boolean;
|
|
370
|
-
cap49: boolean;
|
|
371
|
-
cap50: boolean;
|
|
372
|
-
cap51: boolean;
|
|
373
|
-
cap52: boolean;
|
|
374
|
-
cap53: boolean;
|
|
375
|
-
cap54: boolean;
|
|
376
|
-
cap55: boolean;
|
|
377
|
-
cap56: boolean;
|
|
378
|
-
cap57: boolean;
|
|
379
|
-
cap58: boolean;
|
|
380
|
-
cap59: boolean;
|
|
381
|
-
cap60: boolean;
|
|
382
|
-
cap61: boolean;
|
|
383
|
-
cap62: boolean;
|
|
384
|
-
cap63: boolean;
|
|
385
|
-
cap64: boolean;
|
|
386
|
-
cap65: boolean;
|
|
387
|
-
cap66: boolean;
|
|
388
|
-
cap67: boolean;
|
|
389
|
-
cap68: boolean;
|
|
390
|
-
cap69: boolean;
|
|
391
|
-
cap70: boolean;
|
|
392
|
-
cap71: boolean;
|
|
393
|
-
cap72: boolean;
|
|
394
|
-
cap73: boolean;
|
|
395
|
-
cap74: boolean;
|
|
396
|
-
cap75: boolean;
|
|
397
|
-
cap76: boolean;
|
|
398
|
-
cap77: boolean;
|
|
399
|
-
cap78: boolean;
|
|
400
|
-
cap79: boolean;
|
|
401
|
-
cap80: boolean;
|
|
402
|
-
cap81: boolean;
|
|
403
|
-
cap82: boolean;
|
|
404
|
-
cap83: boolean;
|
|
405
|
-
cap84: boolean;
|
|
406
|
-
cap85: boolean;
|
|
407
|
-
cap86: boolean;
|
|
408
|
-
cap87: boolean;
|
|
409
|
-
cap88: boolean;
|
|
410
|
-
cap89: boolean;
|
|
411
|
-
cap90: boolean;
|
|
412
|
-
cap91: boolean;
|
|
413
|
-
cap92: boolean;
|
|
414
|
-
cap93: boolean;
|
|
415
|
-
cap94: boolean;
|
|
416
|
-
cap95: boolean;
|
|
417
|
-
cap96: boolean;
|
|
418
|
-
cap97: boolean;
|
|
419
|
-
cap98: boolean;
|
|
420
|
-
cap99: boolean;
|
|
421
|
-
cap100: boolean;
|
|
422
|
-
}
|
|
423
|
-
export declare enum LogLevel {
|
|
424
|
-
All = 0,
|
|
425
|
-
Debug = 1,
|
|
426
|
-
Info = 2,
|
|
427
|
-
Warn = 3,
|
|
428
|
-
Error = 4,
|
|
429
|
-
Fatal = 5,
|
|
430
|
-
Off = 6
|
|
431
|
-
}
|
|
@@ -0,0 +1,172 @@
|
|
|
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
|
+
}
|
|
59
|
+
export declare class Role {
|
|
60
|
+
constructor();
|
|
61
|
+
roleID: number;
|
|
62
|
+
roleName: string;
|
|
63
|
+
cap1: boolean;
|
|
64
|
+
cap2: boolean;
|
|
65
|
+
cap3: boolean;
|
|
66
|
+
cap4: boolean;
|
|
67
|
+
cap5: boolean;
|
|
68
|
+
cap6: boolean;
|
|
69
|
+
cap7: boolean;
|
|
70
|
+
cap8: boolean;
|
|
71
|
+
cap9: boolean;
|
|
72
|
+
cap10: boolean;
|
|
73
|
+
cap11: boolean;
|
|
74
|
+
cap12: boolean;
|
|
75
|
+
cap13: boolean;
|
|
76
|
+
cap14: boolean;
|
|
77
|
+
cap15: boolean;
|
|
78
|
+
cap16: boolean;
|
|
79
|
+
cap17: boolean;
|
|
80
|
+
cap18: boolean;
|
|
81
|
+
cap19: boolean;
|
|
82
|
+
cap20: boolean;
|
|
83
|
+
cap21: boolean;
|
|
84
|
+
cap22: boolean;
|
|
85
|
+
cap23: boolean;
|
|
86
|
+
cap24: boolean;
|
|
87
|
+
cap25: boolean;
|
|
88
|
+
cap26: boolean;
|
|
89
|
+
cap27: boolean;
|
|
90
|
+
cap28: boolean;
|
|
91
|
+
cap29: boolean;
|
|
92
|
+
cap30: boolean;
|
|
93
|
+
cap31: boolean;
|
|
94
|
+
cap32: boolean;
|
|
95
|
+
cap33: boolean;
|
|
96
|
+
cap34: boolean;
|
|
97
|
+
cap35: boolean;
|
|
98
|
+
cap36: boolean;
|
|
99
|
+
cap37: boolean;
|
|
100
|
+
cap38: boolean;
|
|
101
|
+
cap39: boolean;
|
|
102
|
+
cap40: boolean;
|
|
103
|
+
cap41: boolean;
|
|
104
|
+
cap42: boolean;
|
|
105
|
+
cap43: boolean;
|
|
106
|
+
cap44: boolean;
|
|
107
|
+
cap45: boolean;
|
|
108
|
+
cap46: boolean;
|
|
109
|
+
cap47: boolean;
|
|
110
|
+
cap48: boolean;
|
|
111
|
+
cap49: boolean;
|
|
112
|
+
cap50: boolean;
|
|
113
|
+
cap51: boolean;
|
|
114
|
+
cap52: boolean;
|
|
115
|
+
cap53: boolean;
|
|
116
|
+
cap54: boolean;
|
|
117
|
+
cap55: boolean;
|
|
118
|
+
cap56: boolean;
|
|
119
|
+
cap57: boolean;
|
|
120
|
+
cap58: boolean;
|
|
121
|
+
cap59: boolean;
|
|
122
|
+
cap60: boolean;
|
|
123
|
+
cap61: boolean;
|
|
124
|
+
cap62: boolean;
|
|
125
|
+
cap63: boolean;
|
|
126
|
+
cap64: boolean;
|
|
127
|
+
cap65: boolean;
|
|
128
|
+
cap66: boolean;
|
|
129
|
+
cap67: boolean;
|
|
130
|
+
cap68: boolean;
|
|
131
|
+
cap69: boolean;
|
|
132
|
+
cap70: boolean;
|
|
133
|
+
cap71: boolean;
|
|
134
|
+
cap72: boolean;
|
|
135
|
+
cap73: boolean;
|
|
136
|
+
cap74: boolean;
|
|
137
|
+
cap75: boolean;
|
|
138
|
+
cap76: boolean;
|
|
139
|
+
cap77: boolean;
|
|
140
|
+
cap78: boolean;
|
|
141
|
+
cap79: boolean;
|
|
142
|
+
cap80: boolean;
|
|
143
|
+
cap81: boolean;
|
|
144
|
+
cap82: boolean;
|
|
145
|
+
cap83: boolean;
|
|
146
|
+
cap84: boolean;
|
|
147
|
+
cap85: boolean;
|
|
148
|
+
cap86: boolean;
|
|
149
|
+
cap87: boolean;
|
|
150
|
+
cap88: boolean;
|
|
151
|
+
cap89: boolean;
|
|
152
|
+
cap90: boolean;
|
|
153
|
+
cap91: boolean;
|
|
154
|
+
cap92: boolean;
|
|
155
|
+
cap93: boolean;
|
|
156
|
+
cap94: boolean;
|
|
157
|
+
cap95: boolean;
|
|
158
|
+
cap96: boolean;
|
|
159
|
+
cap97: boolean;
|
|
160
|
+
cap98: boolean;
|
|
161
|
+
cap99: boolean;
|
|
162
|
+
cap100: boolean;
|
|
163
|
+
}
|
|
164
|
+
export declare enum LogLevel {
|
|
165
|
+
All = 0,
|
|
166
|
+
Debug = 1,
|
|
167
|
+
Info = 2,
|
|
168
|
+
Warn = 3,
|
|
169
|
+
Error = 4,
|
|
170
|
+
Fatal = 5,
|
|
171
|
+
Off = 6
|
|
172
|
+
}
|
package/lib/classes/TinCore.d.ts
CHANGED
|
@@ -5,8 +5,10 @@ export declare class Core {
|
|
|
5
5
|
static generateObject(fields: Field[]): {};
|
|
6
6
|
static resetObject(fields: Field[], data: any): void;
|
|
7
7
|
static testVisible(config: FormConfig, data: any, f: Field): boolean;
|
|
8
|
+
static testVisibleHeaderButton(data: any, btn: any): boolean;
|
|
9
|
+
static getVisibleSubfields(config: FormConfig, data: any, field: Field): Field[];
|
|
8
10
|
static validateObject(fields: Field[], data: any): string;
|
|
9
|
-
|
|
11
|
+
static getInitialValue(field: Field): any;
|
|
10
12
|
static getClone(x: any): any;
|
|
11
13
|
static getNumber(value: string): string | 0;
|
|
12
14
|
static getFirstDayOfMonth(): Date;
|
|
@@ -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,39 @@
|
|
|
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
|
+
infoClick: EventEmitter<void>;
|
|
20
|
+
options: any[];
|
|
21
|
+
optionValue: string;
|
|
22
|
+
emails: string[];
|
|
23
|
+
emailControl: FormControl;
|
|
24
|
+
filteredOptions: Observable<string[]>;
|
|
25
|
+
ngOnInit(): void;
|
|
26
|
+
private _filter;
|
|
27
|
+
addEmail(event: MatChipInputEvent): void;
|
|
28
|
+
addMultipleEmails(value: string): void;
|
|
29
|
+
isValidEmail(email: string): boolean;
|
|
30
|
+
handlePaste(event: ClipboardEvent): void;
|
|
31
|
+
extractEmails(text: string): string[];
|
|
32
|
+
removeEmail(email: string): void;
|
|
33
|
+
updateValue(): void;
|
|
34
|
+
onInfoClick(event: MouseEvent): void;
|
|
35
|
+
optionSelected(event: MatAutocompleteSelectedEvent): void;
|
|
36
|
+
copyEmails(): void;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EmailComponent, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EmailComponent, "spa-email", never, { "display": "display"; "value": "value"; "readonly": "readonly"; "required": "required"; "hint": "hint"; "suffix": "suffix"; "infoMessage": "infoMessage"; "options": "options"; "optionValue": "optionValue"; }, { "valueChange": "valueChange"; "infoClick": "infoClick"; }, never, never, false>;
|
|
39
|
+
}
|
|
@@ -8,6 +8,8 @@ export declare class FormComponent implements OnInit {
|
|
|
8
8
|
private dataService;
|
|
9
9
|
constructor(messageService: MessageService, dataService: DataServiceLib);
|
|
10
10
|
ngOnInit(): void;
|
|
11
|
+
initializeCompositeFields(): void;
|
|
12
|
+
getVisibleSubfields(field: Field): Field[];
|
|
11
13
|
ngOnChanges(): void;
|
|
12
14
|
ngAfterViewInit(): void;
|
|
13
15
|
getVisibleFields(): Field[];
|
|
@@ -12,6 +12,7 @@ export declare class OptionComponent implements OnInit {
|
|
|
12
12
|
value: string;
|
|
13
13
|
display: string;
|
|
14
14
|
show: boolean;
|
|
15
|
+
required: boolean;
|
|
15
16
|
valueChange: EventEmitter<any>;
|
|
16
17
|
enterPress: EventEmitter<any>;
|
|
17
18
|
changed(): void;
|
|
@@ -19,5 +20,5 @@ export declare class OptionComponent implements OnInit {
|
|
|
19
20
|
enterPressed(): void;
|
|
20
21
|
resetValue(): void;
|
|
21
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<OptionComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OptionComponent, "spa-option", never, { "options": "options"; "optionValue": "optionValue"; "optionDisplay": "optionDisplay"; "readonly": "readonly"; "type": "type"; "value": "value"; "display": "display"; "show": "show"; }, { "valueChange": "valueChange"; "enterPress": "enterPress"; }, never, never, false>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OptionComponent, "spa-option", never, { "options": "options"; "optionValue": "optionValue"; "optionDisplay": "optionDisplay"; "readonly": "readonly"; "type": "type"; "value": "value"; "display": "display"; "show": "show"; "required": "required"; }, { "valueChange": "valueChange"; "enterPress": "enterPress"; }, never, never, false>;
|
|
23
24
|
}
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { TableConfig, Button, TileConfig } from '../../classes/Classes';
|
|
2
|
+
import { TableConfig, Button, TileConfig, DetailsDialogConfig } from '../../classes/Classes';
|
|
3
3
|
import { Subject } from 'rxjs';
|
|
4
4
|
import { ButtonService } from '../../services/button.service';
|
|
5
|
+
import { DialogService } from '../../services/dialog.service';
|
|
6
|
+
import { MessageService } from '../../services/message.service';
|
|
7
|
+
import { CsvService } from '../../services/csv.service';
|
|
5
8
|
import * as i0 from "@angular/core";
|
|
6
9
|
export declare class TableHeaderComponent {
|
|
7
10
|
private buttonService;
|
|
8
|
-
|
|
11
|
+
private dialogService;
|
|
12
|
+
private messageService;
|
|
13
|
+
private csvService;
|
|
14
|
+
constructor(buttonService: ButtonService, dialogService: DialogService, messageService: MessageService, csvService: CsvService);
|
|
9
15
|
ngOnInit(): void;
|
|
10
16
|
createButton: Button;
|
|
11
17
|
config: TableConfig;
|
|
@@ -15,17 +21,22 @@ export declare class TableHeaderComponent {
|
|
|
15
21
|
smallScreen: boolean;
|
|
16
22
|
tileReload: Subject<boolean>;
|
|
17
23
|
showFilterButton: boolean;
|
|
24
|
+
data: any;
|
|
18
25
|
createClick: EventEmitter<void>;
|
|
19
26
|
customClick: EventEmitter<any>;
|
|
20
27
|
refreshClick: EventEmitter<void>;
|
|
21
28
|
tileClick: EventEmitter<string>;
|
|
29
|
+
uploadDetailsDialog: DetailsDialogConfig;
|
|
22
30
|
onButtonClick(button: Button): void;
|
|
31
|
+
onDownloadClick(): void;
|
|
32
|
+
onUploadClick(): void;
|
|
23
33
|
onRefreshClick(): void;
|
|
24
34
|
onTileClick(tileName: string): void;
|
|
25
35
|
getHeaderButtons(): Button[];
|
|
36
|
+
testVisibleHeaderButton(btn: any): boolean;
|
|
26
37
|
testVisible(button: Button): boolean;
|
|
27
38
|
testDisabled(button: Button): boolean;
|
|
28
39
|
getButtonColor(button: Button, row: any): string;
|
|
29
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableHeaderComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableHeaderComponent, "app-table-header", never, { "config": "config"; "hideTitle": "hideTitle"; "tableDataSource": "tableDataSource"; "tileConfig": "tileConfig"; "smallScreen": "smallScreen"; "tileReload": "tileReload"; "showFilterButton": "showFilterButton"; }, { "createClick": "createClick"; "customClick": "customClick"; "refreshClick": "refreshClick"; "tileClick": "tileClick"; }, never, never, false>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableHeaderComponent, "app-table-header", never, { "config": "config"; "hideTitle": "hideTitle"; "tableDataSource": "tableDataSource"; "tileConfig": "tileConfig"; "smallScreen": "smallScreen"; "tileReload": "tileReload"; "showFilterButton": "showFilterButton"; "data": "data"; }, { "createClick": "createClick"; "customClick": "customClick"; "refreshClick": "refreshClick"; "tileClick": "tileClick"; }, never, never, false>;
|
|
31
42
|
}
|
|
@@ -18,7 +18,7 @@ export declare class TableRowComponent {
|
|
|
18
18
|
showBannerEvent: EventEmitter<string>;
|
|
19
19
|
constructor(buttonService: ButtonService);
|
|
20
20
|
testIconCondition(row: any, icon: Icon): boolean;
|
|
21
|
-
|
|
21
|
+
getColorOnCondition(row: any, column: Column): string;
|
|
22
22
|
getColor(value: any, options: any[]): string;
|
|
23
23
|
onActionClick(name: string, row: any): void;
|
|
24
24
|
onColumnClick(column: Column, row: any): void;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "../
|
|
3
|
-
import * as i2 from "../
|
|
4
|
-
import * as i3 from "../
|
|
5
|
-
import * as i4 from "../
|
|
6
|
-
import * as i5 from "../
|
|
7
|
-
import * as i6 from "../
|
|
2
|
+
import * as i1 from "../pages/users/users.component";
|
|
3
|
+
import * as i2 from "../pages/roles/roles.component";
|
|
4
|
+
import * as i3 from "../pages/roles/addRoleDialog.component";
|
|
5
|
+
import * as i4 from "../pages/create-account/create-account.component";
|
|
6
|
+
import * as i5 from "../pages/logs/logs.component";
|
|
7
|
+
import * as i6 from "../pages/settings/settings.component";
|
|
8
8
|
import * as i7 from "@angular/forms";
|
|
9
9
|
import * as i8 from "@angular/common";
|
|
10
10
|
import * as i9 from "../tin-spa.module";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "../
|
|
3
|
-
import * as i2 from "../
|
|
4
|
-
import * as i3 from "../
|
|
2
|
+
import * as i1 from "../pages/login/login.component";
|
|
3
|
+
import * as i2 from "../pages/signup/signup.component";
|
|
4
|
+
import * as i3 from "../pages/recover-account/recover-account.component";
|
|
5
5
|
import * as i4 from "@angular/forms";
|
|
6
6
|
import * as i5 from "@angular/common";
|
|
7
7
|
import * as i6 from "../tin-spa.module";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "../
|
|
3
|
-
import * as i2 from "../
|
|
2
|
+
import * as i1 from "../pages/change-password/change-password.component";
|
|
3
|
+
import * as i2 from "../pages/profile/profile.component";
|
|
4
4
|
import * as i3 from "@angular/forms";
|
|
5
5
|
import * as i4 from "@angular/common";
|
|
6
6
|
import * as i5 from "../tin-spa.module";
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ChangeUserPassword } from './../../classes/Classes';
|
|
2
1
|
import { OnInit } from '@angular/core';
|
|
3
2
|
import { MessageService } from '../../services/message.service';
|
|
4
3
|
import { DataServiceLib } from '../../services/datalib.service';
|
|
@@ -6,6 +5,7 @@ import { AuthService } from '../../services/auth.service';
|
|
|
6
5
|
import { Location } from '@angular/common';
|
|
7
6
|
import { HttpService } from '../../services/http.service';
|
|
8
7
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
8
|
+
import { ChangeUserPassword } from '../../classes/LibClasses';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export declare class ChangePasswordComponent implements OnInit {
|
|
11
11
|
router: Router;
|
|
@@ -2,9 +2,10 @@ import { DataServiceLib } from '../../services/datalib.service';
|
|
|
2
2
|
import { OnInit } from '@angular/core';
|
|
3
3
|
import { MessageService } from '../../services/message.service';
|
|
4
4
|
import { AuthService } from '../../services/auth.service';
|
|
5
|
-
import { AppConfig
|
|
5
|
+
import { AppConfig } from '../../classes/Classes';
|
|
6
6
|
import { Router } from '@angular/router';
|
|
7
7
|
import { HttpService } from '../../services/http.service';
|
|
8
|
+
import { Register } from '../../classes/LibClasses';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class CreateAccountComponent implements OnInit {
|
|
10
11
|
private httpService;
|
|
@@ -4,10 +4,11 @@ import { AuthService } from "../../services/auth.service";
|
|
|
4
4
|
import { OnInit } from "@angular/core";
|
|
5
5
|
import { ActivatedRoute, Router } from "@angular/router";
|
|
6
6
|
import { DataServiceLib } from "../../services/datalib.service";
|
|
7
|
-
import { LogService } from "
|
|
8
|
-
import {
|
|
7
|
+
import { LogService } from "../../services/log.service";
|
|
8
|
+
import { AppConfig } from "../../classes/Classes";
|
|
9
9
|
import { HttpService } from "../../services/http.service";
|
|
10
10
|
import { SocialAuthService, SocialUser } from '@abacritt/angularx-social-login';
|
|
11
|
+
import { User } from "../../classes/LibClasses";
|
|
11
12
|
import * as i0 from "@angular/core";
|
|
12
13
|
export declare class LoginComponent implements OnInit {
|
|
13
14
|
private httpService;
|
|
@@ -2,9 +2,10 @@ import { AuthService } from './../../services/auth.service';
|
|
|
2
2
|
import { MessageService } from './../../services/message.service';
|
|
3
3
|
import { DataServiceLib } from '../../services/datalib.service';
|
|
4
4
|
import { OnInit } from '@angular/core';
|
|
5
|
-
import { AppConfig
|
|
5
|
+
import { AppConfig } from '../../classes/Classes';
|
|
6
6
|
import { Router } from '@angular/router';
|
|
7
7
|
import { HttpService } from '../../services/http.service';
|
|
8
|
+
import { Profile } from '../../classes/LibClasses';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class ProfileComponent implements OnInit {
|
|
10
11
|
dataService: DataServiceLib;
|
|
@@ -3,8 +3,8 @@ import { AuthService } from '../../services/auth.service';
|
|
|
3
3
|
import { OnInit } from '@angular/core';
|
|
4
4
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
5
5
|
import { DataServiceLib } from '../../services/datalib.service';
|
|
6
|
-
import { Role } from '../../classes/Classes';
|
|
7
6
|
import { LoaderService } from '../../services/loader.service';
|
|
7
|
+
import { Role } from '../../classes/LibClasses';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class addRoleDialog implements OnInit {
|
|
10
10
|
private loaderService;
|