tin-spa 2.0.0 → 2.1.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/README.md +2 -2
- package/{esm2015/lib/classes/Classes.js → esm2020/lib/classes/Classes.mjs} +15 -55
- package/esm2020/lib/classes/TinCore.mjs +148 -0
- package/esm2020/lib/components/activity/activity.component.mjs +24 -0
- package/esm2020/lib/components/attach/attach.component.mjs +105 -0
- package/esm2020/lib/components/change-password/change-password.component.mjs +92 -0
- package/esm2020/lib/components/check/check.component.mjs +56 -0
- package/esm2020/lib/components/chips/chips.component.mjs +58 -0
- package/esm2020/lib/components/create-account/create-account.component.mjs +72 -0
- package/esm2020/lib/components/date/date.component.mjs +64 -0
- package/esm2020/lib/components/datetime/datetime.component.mjs +39 -0
- package/esm2020/lib/components/filter/filter.component.mjs +46 -0
- package/esm2020/lib/components/form/form.component.mjs +63 -0
- package/esm2020/lib/components/label/label.component.mjs +25 -0
- package/esm2020/lib/components/loader/loader.component.mjs +24 -0
- package/esm2020/lib/components/login/login.component.mjs +113 -0
- package/esm2020/lib/components/logs/logs.component.mjs +37 -0
- package/esm2020/lib/components/message/messageDialog.component.mjs +32 -0
- package/esm2020/lib/components/money/currency-input-mask.directive.mjs +185 -0
- package/esm2020/lib/components/money/currency-input-mask.module.mjs +28 -0
- package/esm2020/lib/components/money/money.component.mjs +64 -0
- package/esm2020/lib/components/nav-menu/nav-menu.component.mjs +49 -0
- package/esm2020/lib/components/number/number.component.mjs +86 -0
- package/esm2020/lib/components/option/option.component.mjs +59 -0
- package/esm2020/lib/components/profile/profile.component.mjs +93 -0
- package/esm2020/lib/components/recover-account/recover-account.component.mjs +46 -0
- package/esm2020/lib/components/roles/addRoleDialog.component.mjs +61 -0
- package/esm2020/lib/components/roles/roles.component.mjs +91 -0
- package/esm2020/lib/components/select/select.component.mjs +71 -0
- package/esm2020/lib/components/settings/settings.component.mjs +63 -0
- package/esm2020/lib/components/signup/signup.component.mjs +50 -0
- package/esm2020/lib/components/steps/steps.component.mjs +90 -0
- package/esm2020/lib/components/table/detailsDialog.component.mjs +149 -0
- package/esm2020/lib/components/table/table.component.mjs +341 -0
- package/esm2020/lib/components/text/text.component.mjs +166 -0
- package/esm2020/lib/components/tiles/tiles.component.mjs +41 -0
- package/esm2020/lib/components/tin-spa.component.mjs +19 -0
- package/esm2020/lib/components/users/users.component.mjs +119 -0
- package/esm2020/lib/modules/admin/admin-routing.module.mjs +29 -0
- package/esm2020/lib/modules/admin/admin.module.mjs +26 -0
- package/esm2020/lib/modules/index/index-routing.module.mjs +27 -0
- package/esm2020/lib/modules/index/index.module.mjs +26 -0
- package/esm2020/lib/modules/spa-admin.module.mjs +73 -0
- package/esm2020/lib/modules/spa-index.module.mjs +52 -0
- package/esm2020/lib/modules/spa-mat.module.mjs +67 -0
- package/esm2020/lib/modules/spa-user.module.mjs +49 -0
- package/esm2020/lib/modules/user/user-routing.module.mjs +23 -0
- package/esm2020/lib/modules/user/user.module.mjs +26 -0
- package/esm2020/lib/pipes/camelToWords.pipe.mjs +23 -0
- package/esm2020/lib/services/auth.service.mjs +142 -0
- package/esm2020/lib/services/data.service.mjs +125 -0
- package/esm2020/lib/services/export.service.mjs +16 -0
- package/esm2020/lib/services/http.service.mjs +79 -0
- package/esm2020/lib/services/loader-interceptor.service.mjs +77 -0
- package/esm2020/lib/services/loader.service.mjs +17 -0
- package/esm2020/lib/services/log.service.mjs +77 -0
- package/esm2020/lib/services/message.service.mjs +52 -0
- package/esm2020/lib/services/storage.service.mjs +34 -0
- package/esm2020/lib/services/tin-spa.service.mjs +14 -0
- package/esm2020/lib/tin-spa.module.mjs +114 -0
- package/esm2020/public-api.mjs +62 -0
- package/esm2020/tin-spa.mjs +5 -0
- package/fesm2015/tin-spa.mjs +3846 -0
- package/fesm2015/tin-spa.mjs.map +1 -0
- package/fesm2020/tin-spa.mjs +3829 -0
- package/fesm2020/tin-spa.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/classes/Classes.d.ts +58 -63
- package/lib/classes/TinCore.d.ts +1 -0
- package/lib/components/activity/activity.component.d.ts +3 -0
- package/lib/components/attach/attach.component.d.ts +4 -1
- package/lib/components/change-password/change-password.component.d.ts +3 -0
- package/lib/components/check/check.component.d.ts +3 -0
- package/lib/components/chips/chips.component.d.ts +3 -0
- package/lib/components/create-account/create-account.component.d.ts +3 -0
- package/lib/components/date/date.component.d.ts +14 -6
- package/lib/components/datetime/datetime.component.d.ts +3 -0
- package/lib/components/filter/filter.component.d.ts +4 -0
- package/lib/components/form/form.component.d.ts +16 -0
- package/lib/components/label/label.component.d.ts +3 -0
- package/lib/components/loader/loader.component.d.ts +3 -0
- package/lib/components/login/login.component.d.ts +6 -0
- package/lib/components/logs/logs.component.d.ts +3 -0
- package/lib/components/message/messageDialog.component.d.ts +3 -0
- package/lib/components/money/currency-input-mask.directive.d.ts +41 -0
- package/lib/components/money/currency-input-mask.module.d.ts +9 -0
- package/lib/components/money/money.component.d.ts +9 -1
- package/lib/components/nav-menu/nav-menu.component.d.ts +3 -0
- package/lib/components/number/number.component.d.ts +29 -0
- package/lib/components/option/option.component.d.ts +3 -0
- package/lib/components/profile/profile.component.d.ts +6 -2
- package/lib/components/recover-account/recover-account.component.d.ts +3 -0
- package/lib/components/roles/addRoleDialog.component.d.ts +3 -0
- package/lib/components/roles/roles.component.d.ts +3 -0
- package/lib/components/select/select.component.d.ts +5 -1
- package/lib/components/settings/settings.component.d.ts +3 -0
- package/lib/components/signup/signup.component.d.ts +3 -0
- package/lib/components/steps/steps.component.d.ts +3 -0
- package/lib/components/table/detailsDialog.component.d.ts +28 -0
- package/lib/components/table/table.component.d.ts +57 -17
- package/lib/components/text/text.component.d.ts +13 -9
- package/lib/components/tiles/tiles.component.d.ts +3 -0
- package/lib/components/tin-spa.component.d.ts +4 -4
- package/lib/components/users/users.component.d.ts +4 -0
- package/lib/modules/admin/admin-routing.module.d.ts +7 -0
- package/lib/modules/admin/admin.module.d.ts +9 -0
- package/lib/modules/index/index-routing.module.d.ts +7 -0
- package/lib/modules/index/index.module.d.ts +9 -0
- package/lib/modules/spa-admin.module.d.ts +13 -0
- package/lib/modules/spa-index.module.d.ts +10 -0
- package/lib/modules/spa-mat.module.d.ts +31 -0
- package/lib/modules/spa-user.module.d.ts +9 -0
- package/lib/modules/user/user-routing.module.d.ts +7 -0
- package/lib/modules/user/user.module.d.ts +9 -0
- package/lib/pipes/camelToWords.pipe.d.ts +7 -0
- package/lib/services/auth.service.d.ts +3 -0
- package/lib/services/data.service.d.ts +5 -1
- package/lib/services/export.service.d.ts +3 -4
- package/lib/services/http.service.d.ts +3 -0
- package/lib/services/loader-interceptor.service.d.ts +3 -0
- package/lib/services/loader.service.d.ts +3 -0
- package/lib/services/log.service.d.ts +3 -0
- package/lib/services/message.service.d.ts +3 -0
- package/lib/services/storage.service.d.ts +3 -0
- package/lib/services/tin-spa.service.d.ts +3 -0
- package/lib/tin-spa.module.d.ts +30 -0
- package/package.json +24 -23
- package/public-api.d.ts +7 -2
- package/bundles/tin-spa.umd.js +0 -3672
- package/bundles/tin-spa.umd.js.map +0 -1
- package/bundles/tin-spa.umd.min.js +0 -16
- package/bundles/tin-spa.umd.min.js.map +0 -1
- package/esm2015/lib/classes/TinCore.js +0 -139
- package/esm2015/lib/components/activity/activity.component.js +0 -26
- package/esm2015/lib/components/attach/attach.component.js +0 -107
- package/esm2015/lib/components/change-password/change-password.component.js +0 -102
- package/esm2015/lib/components/check/check.component.js +0 -63
- package/esm2015/lib/components/chips/chips.component.js +0 -66
- package/esm2015/lib/components/create-account/create-account.component.js +0 -78
- package/esm2015/lib/components/date/date.component.js +0 -45
- package/esm2015/lib/components/datetime/datetime.component.js +0 -44
- package/esm2015/lib/components/filter/filter.component.js +0 -40
- package/esm2015/lib/components/label/label.component.js +0 -29
- package/esm2015/lib/components/loader/loader.component.js +0 -29
- package/esm2015/lib/components/login/login.component.js +0 -114
- package/esm2015/lib/components/logs/logs.component.js +0 -39
- package/esm2015/lib/components/message/messageDialog.component.js +0 -31
- package/esm2015/lib/components/money/money.component.js +0 -52
- package/esm2015/lib/components/nav-menu/nav-menu.component.js +0 -51
- package/esm2015/lib/components/option/option.component.js +0 -63
- package/esm2015/lib/components/profile/profile.component.js +0 -98
- package/esm2015/lib/components/recover-account/recover-account.component.js +0 -53
- package/esm2015/lib/components/roles/addRoleDialog.component.js +0 -61
- package/esm2015/lib/components/roles/roles.component.js +0 -94
- package/esm2015/lib/components/select/select.component.js +0 -77
- package/esm2015/lib/components/settings/settings.component.js +0 -63
- package/esm2015/lib/components/signup/signup.component.js +0 -57
- package/esm2015/lib/components/steps/steps.component.js +0 -93
- package/esm2015/lib/components/table/table.component.js +0 -107
- package/esm2015/lib/components/text/text.component.js +0 -165
- package/esm2015/lib/components/tiles/tiles.component.js +0 -41
- package/esm2015/lib/components/timeout/timeout.component.js +0 -90
- package/esm2015/lib/components/tin-spa.component.js +0 -19
- package/esm2015/lib/components/users/users.component.js +0 -120
- package/esm2015/lib/dnd.directive.js +0 -51
- package/esm2015/lib/modules/spa-admin.module.js +0 -50
- package/esm2015/lib/modules/spa-index.module.js +0 -35
- package/esm2015/lib/modules/spa-mat.module.js +0 -53
- package/esm2015/lib/modules/spa-user.module.js +0 -33
- package/esm2015/lib/services/auth.service.js +0 -155
- package/esm2015/lib/services/data.service.js +0 -115
- package/esm2015/lib/services/export.service.js +0 -29
- package/esm2015/lib/services/http.service.js +0 -84
- package/esm2015/lib/services/loader-interceptor.service.js +0 -83
- package/esm2015/lib/services/loader.service.js +0 -17
- package/esm2015/lib/services/log.service.js +0 -76
- package/esm2015/lib/services/message.service.js +0 -58
- package/esm2015/lib/services/storage.service.js +0 -42
- package/esm2015/lib/services/tin-spa.service.js +0 -14
- package/esm2015/lib/tin-spa.module.js +0 -91
- package/esm2015/public-api.js +0 -56
- package/esm2015/tin-spa.js +0 -8
- package/esm5/lib/classes/Classes.js +0 -313
- package/esm5/lib/classes/TinCore.js +0 -166
- package/esm5/lib/components/activity/activity.component.js +0 -27
- package/esm5/lib/components/attach/attach.component.js +0 -119
- package/esm5/lib/components/change-password/change-password.component.js +0 -104
- package/esm5/lib/components/check/check.component.js +0 -64
- package/esm5/lib/components/chips/chips.component.js +0 -68
- package/esm5/lib/components/create-account/create-account.component.js +0 -80
- package/esm5/lib/components/date/date.component.js +0 -46
- package/esm5/lib/components/datetime/datetime.component.js +0 -45
- package/esm5/lib/components/filter/filter.component.js +0 -41
- package/esm5/lib/components/label/label.component.js +0 -30
- package/esm5/lib/components/loader/loader.component.js +0 -31
- package/esm5/lib/components/login/login.component.js +0 -117
- package/esm5/lib/components/logs/logs.component.js +0 -41
- package/esm5/lib/components/message/messageDialog.component.js +0 -32
- package/esm5/lib/components/money/money.component.js +0 -53
- package/esm5/lib/components/nav-menu/nav-menu.component.js +0 -53
- package/esm5/lib/components/option/option.component.js +0 -64
- package/esm5/lib/components/profile/profile.component.js +0 -102
- package/esm5/lib/components/recover-account/recover-account.component.js +0 -55
- package/esm5/lib/components/roles/addRoleDialog.component.js +0 -63
- package/esm5/lib/components/roles/roles.component.js +0 -100
- package/esm5/lib/components/select/select.component.js +0 -79
- package/esm5/lib/components/settings/settings.component.js +0 -66
- package/esm5/lib/components/signup/signup.component.js +0 -59
- package/esm5/lib/components/steps/steps.component.js +0 -105
- package/esm5/lib/components/table/table.component.js +0 -109
- package/esm5/lib/components/text/text.component.js +0 -168
- package/esm5/lib/components/tiles/tiles.component.js +0 -42
- package/esm5/lib/components/timeout/timeout.component.js +0 -92
- package/esm5/lib/components/tin-spa.component.js +0 -17
- package/esm5/lib/components/users/users.component.js +0 -126
- package/esm5/lib/dnd.directive.js +0 -52
- package/esm5/lib/modules/spa-admin.module.js +0 -53
- package/esm5/lib/modules/spa-index.module.js +0 -38
- package/esm5/lib/modules/spa-mat.module.js +0 -56
- package/esm5/lib/modules/spa-user.module.js +0 -36
- package/esm5/lib/services/auth.service.js +0 -157
- package/esm5/lib/services/data.service.js +0 -116
- package/esm5/lib/services/export.service.js +0 -30
- package/esm5/lib/services/http.service.js +0 -85
- package/esm5/lib/services/loader-interceptor.service.js +0 -85
- package/esm5/lib/services/loader.service.js +0 -18
- package/esm5/lib/services/log.service.js +0 -112
- package/esm5/lib/services/message.service.js +0 -59
- package/esm5/lib/services/storage.service.js +0 -74
- package/esm5/lib/services/tin-spa.service.js +0 -16
- package/esm5/lib/tin-spa.module.js +0 -94
- package/esm5/public-api.js +0 -56
- package/esm5/tin-spa.js +0 -8
- package/fesm2015/tin-spa.js +0 -3184
- package/fesm2015/tin-spa.js.map +0 -1
- package/fesm5/tin-spa.js +0 -3422
- package/fesm5/tin-spa.js.map +0 -1
- package/lib/components/timeout/timeout.component.d.ts +0 -21
- package/lib/dnd.directive.d.ts +0 -8
- package/tin-spa.d.ts +0 -7
- package/tin-spa.metadata.json +0 -1
package/index.d.ts
ADDED
package/lib/classes/Classes.d.ts
CHANGED
|
@@ -1,80 +1,66 @@
|
|
|
1
|
-
export declare
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
Error = 4,
|
|
7
|
-
Fatal = 5,
|
|
8
|
-
Off = 6
|
|
9
|
-
}
|
|
10
|
-
export declare class Tile {
|
|
11
|
-
tileName: string;
|
|
12
|
-
tileValue: string;
|
|
13
|
-
tileColor: string;
|
|
14
|
-
selected: string;
|
|
15
|
-
visible?: boolean;
|
|
16
|
-
info?: string;
|
|
1
|
+
export declare class Action {
|
|
2
|
+
method?: 'get' | 'post';
|
|
3
|
+
url: string;
|
|
4
|
+
params?: any[];
|
|
5
|
+
successMessage?: string;
|
|
17
6
|
}
|
|
18
|
-
export declare class
|
|
19
|
-
|
|
20
|
-
|
|
7
|
+
export declare class FormConfig {
|
|
8
|
+
fields: Field[];
|
|
9
|
+
mode?: string;
|
|
10
|
+
button?: Button;
|
|
21
11
|
}
|
|
22
|
-
export
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
12
|
+
export interface Button {
|
|
13
|
+
name: 'create' | 'view' | 'edit' | 'delete' | 'custom1' | 'custom2' | 'custom3';
|
|
14
|
+
visible?: (value: any) => boolean;
|
|
15
|
+
display?: string;
|
|
16
|
+
icon?: Icon;
|
|
17
|
+
disabled?: (value: any) => boolean;
|
|
18
|
+
color?: string;
|
|
19
|
+
tip?: string;
|
|
20
|
+
dialog?: boolean;
|
|
21
|
+
action?: Action;
|
|
28
22
|
}
|
|
29
|
-
export
|
|
30
|
-
|
|
31
|
-
display: string;
|
|
23
|
+
export interface Condition {
|
|
24
|
+
condition?: (value: any) => boolean;
|
|
32
25
|
}
|
|
33
|
-
export
|
|
34
|
-
constructor();
|
|
26
|
+
export interface Field {
|
|
35
27
|
name: string;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
}
|
|
41
|
-
export declare enum TableColumnType {
|
|
42
|
-
String = 0,
|
|
43
|
-
Date = 1,
|
|
44
|
-
DateTime = 2,
|
|
45
|
-
Image = 3,
|
|
46
|
-
Icon = 4,
|
|
47
|
-
TextIcon = 5,
|
|
48
|
-
Chip = 6
|
|
49
|
-
}
|
|
50
|
-
export declare class Condition {
|
|
51
|
-
constructor();
|
|
52
|
-
field: string;
|
|
53
|
-
operator: Operator;
|
|
54
|
-
value: string;
|
|
28
|
+
type: 'text' | 'date' | 'checkbox' | 'select' | 'money' | 'number';
|
|
29
|
+
options?: any[];
|
|
30
|
+
optionDisplay?: string;
|
|
31
|
+
optionValue?: string;
|
|
55
32
|
}
|
|
56
|
-
export declare
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
33
|
+
export declare class TableConfig {
|
|
34
|
+
columns?: Column[];
|
|
35
|
+
showFilter?: boolean;
|
|
36
|
+
formConfig?: FormConfig;
|
|
37
|
+
minColumns?: string[];
|
|
38
|
+
buttons?: Button[];
|
|
39
|
+
loadAction?: Action;
|
|
61
40
|
}
|
|
62
|
-
export
|
|
41
|
+
export interface Column {
|
|
63
42
|
name: string;
|
|
43
|
+
type?: 'text' | 'date' | 'checkbox' | 'select' | 'money' | 'number';
|
|
44
|
+
alias?: string;
|
|
45
|
+
icon?: Icon;
|
|
64
46
|
}
|
|
65
|
-
export
|
|
47
|
+
export interface Icon {
|
|
66
48
|
name: string;
|
|
67
|
-
hint?: string;
|
|
68
49
|
color?: string;
|
|
50
|
+
tip?: string;
|
|
51
|
+
condition?: (value: any) => boolean;
|
|
52
|
+
}
|
|
53
|
+
export declare class Tile {
|
|
54
|
+
tileName: string;
|
|
55
|
+
tileValue: string;
|
|
56
|
+
tileColor: string;
|
|
57
|
+
selected: string;
|
|
58
|
+
visible?: boolean;
|
|
59
|
+
info?: string;
|
|
69
60
|
}
|
|
70
|
-
export declare class
|
|
61
|
+
export declare class Step {
|
|
71
62
|
name: string;
|
|
72
|
-
show?: boolean;
|
|
73
63
|
icon: string;
|
|
74
|
-
color?: string;
|
|
75
|
-
hint?: string;
|
|
76
|
-
disappear?: Condition;
|
|
77
|
-
disable?: Condition;
|
|
78
64
|
}
|
|
79
65
|
export declare class ActionResponse {
|
|
80
66
|
name: string;
|
|
@@ -266,3 +252,12 @@ export declare class Role {
|
|
|
266
252
|
cap99: boolean;
|
|
267
253
|
cap100: boolean;
|
|
268
254
|
}
|
|
255
|
+
export declare enum LogLevel {
|
|
256
|
+
All = 0,
|
|
257
|
+
Debug = 1,
|
|
258
|
+
Info = 2,
|
|
259
|
+
Warn = 3,
|
|
260
|
+
Error = 4,
|
|
261
|
+
Fatal = 5,
|
|
262
|
+
Off = 6
|
|
263
|
+
}
|
package/lib/classes/TinCore.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export declare class Core {
|
|
|
11
11
|
static getDiff(startDate: any, endDate?: string): string;
|
|
12
12
|
static nowDate(NoTime?: boolean): string;
|
|
13
13
|
static getFormatedDate(dateString: string, NoTime?: boolean): string;
|
|
14
|
+
static getFormatedDate2(d: Date, NoTime?: boolean): string;
|
|
14
15
|
static getBusinessDatesCount(startDate: string, endDate: string): number;
|
|
15
16
|
}
|
|
16
17
|
export declare class ApiResponse {
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class ActivityComponent implements OnInit {
|
|
3
4
|
constructor();
|
|
4
5
|
ngOnInit(): void;
|
|
5
6
|
notes: any[];
|
|
6
7
|
notesMessage: string;
|
|
7
8
|
title: string;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ActivityComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ActivityComponent, "spa-activity", never, { "notes": "notes"; "title": "title"; }, {}, never, never, false>;
|
|
8
11
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class AttachComponent implements OnInit {
|
|
3
4
|
constructor();
|
|
4
5
|
ngOnInit(): void;
|
|
@@ -14,7 +15,7 @@ export declare class AttachComponent implements OnInit {
|
|
|
14
15
|
/**
|
|
15
16
|
* handle file from browsing
|
|
16
17
|
*/
|
|
17
|
-
fileBrowseHandler(
|
|
18
|
+
fileBrowseHandler(event: any): void;
|
|
18
19
|
/**
|
|
19
20
|
* Delete file from files list
|
|
20
21
|
* @param index (File index)
|
|
@@ -36,4 +37,6 @@ export declare class AttachComponent implements OnInit {
|
|
|
36
37
|
formatBytes(bytes: any, decimals: any): string;
|
|
37
38
|
uploaded(): void;
|
|
38
39
|
filesChanged(): void;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AttachComponent, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AttachComponent, "spa-attach", never, { "message": "message"; "files": "files"; "enableUpload": "enableUpload"; }, { "filesChange": "filesChange"; "upload": "upload"; }, never, never, false>;
|
|
39
42
|
}
|
|
@@ -6,6 +6,7 @@ import { AuthService } from '../../services/auth.service';
|
|
|
6
6
|
import { Location } from '@angular/common';
|
|
7
7
|
import { HttpService } from '../../services/http.service';
|
|
8
8
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class ChangePasswordComponent implements OnInit {
|
|
10
11
|
router: Router;
|
|
11
12
|
private location;
|
|
@@ -21,4 +22,6 @@ export declare class ChangePasswordComponent implements OnInit {
|
|
|
21
22
|
isProcessing: boolean;
|
|
22
23
|
changePassword: ChangeUserPassword;
|
|
23
24
|
change(): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChangePasswordComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChangePasswordComponent, "spa-change-password", never, {}, {}, never, never, false>;
|
|
24
27
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class CheckComponent implements OnInit {
|
|
3
4
|
constructor();
|
|
4
5
|
ngOnInit(): void;
|
|
@@ -13,4 +14,6 @@ export declare class CheckComponent implements OnInit {
|
|
|
13
14
|
clicked(): void;
|
|
14
15
|
checked(): void;
|
|
15
16
|
unchecked(): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CheckComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckComponent, "spa-check", never, { "readonly": "readonly"; "display": "display"; "value": "value"; }, { "valueChange": "valueChange"; "click": "click"; "check": "check"; "uncheck": "uncheck"; }, never, never, false>;
|
|
16
19
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { MessageService } from '../../services/message.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class ChipsComponent implements OnInit {
|
|
4
5
|
private messageService;
|
|
5
6
|
constructor(messageService: MessageService);
|
|
@@ -12,4 +13,6 @@ export declare class ChipsComponent implements OnInit {
|
|
|
12
13
|
remove: EventEmitter<any>;
|
|
13
14
|
clicked(chip: string): void;
|
|
14
15
|
removed(chip: any): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChipsComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChipsComponent, "spa-chips", never, { "icon": "icon"; "removable": "removable"; "addable": "addable"; "chips": "chips"; }, { "click": "click"; "remove": "remove"; }, never, never, false>;
|
|
15
18
|
}
|
|
@@ -5,6 +5,7 @@ import { AuthService } from '../../services/auth.service';
|
|
|
5
5
|
import { AppConfig, Register } from '../../classes/Classes';
|
|
6
6
|
import { Router } from '@angular/router';
|
|
7
7
|
import { HttpService } from '../../services/http.service';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class CreateAccountComponent implements OnInit {
|
|
9
10
|
private httpService;
|
|
10
11
|
private messageService;
|
|
@@ -24,4 +25,6 @@ export declare class CreateAccountComponent implements OnInit {
|
|
|
24
25
|
}[];
|
|
25
26
|
create(): void;
|
|
26
27
|
viewProfile(userName: string): void;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CreateAccountComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CreateAccountComponent, "spa-create-account", never, { "appConfig": "appConfig"; }, {}, never, never, false>;
|
|
27
30
|
}
|
|
@@ -1,13 +1,21 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { FormControl } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class DateComponent implements OnInit {
|
|
4
5
|
constructor();
|
|
5
6
|
ngOnInit(): void;
|
|
6
|
-
|
|
7
|
+
ngOnChanges(): void;
|
|
8
|
+
date: FormControl<Date>;
|
|
9
|
+
minDate: any;
|
|
10
|
+
maxDate: any;
|
|
11
|
+
value: string;
|
|
7
12
|
display: string;
|
|
8
13
|
readonly: boolean;
|
|
9
|
-
|
|
10
|
-
min:
|
|
11
|
-
max:
|
|
12
|
-
|
|
14
|
+
width: string;
|
|
15
|
+
min: string;
|
|
16
|
+
max: string;
|
|
17
|
+
valueChange: EventEmitter<any>;
|
|
18
|
+
onChangeEvent(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateComponent, "spa-date", never, { "value": "value"; "display": "display"; "readonly": "readonly"; "width": "width"; "min": "min"; "max": "max"; }, { "valueChange": "valueChange"; }, never, never, false>;
|
|
13
21
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class DatetimeComponent implements OnInit {
|
|
3
4
|
constructor();
|
|
4
5
|
ngOnInit(): void;
|
|
@@ -9,4 +10,6 @@ export declare class DatetimeComponent implements OnInit {
|
|
|
9
10
|
min: string;
|
|
10
11
|
max: string;
|
|
11
12
|
changed(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DatetimeComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DatetimeComponent, "spa-datetime", never, { "display": "display"; "value": "value"; "readonly": "readonly"; "min": "min"; "max": "max"; }, { "valueChange": "valueChange"; }, never, never, false>;
|
|
12
15
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { MatTableDataSource } from '@angular/material/table';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class FilterComponent implements OnInit {
|
|
4
5
|
constructor();
|
|
5
6
|
ngOnInit(): void;
|
|
@@ -7,6 +8,9 @@ export declare class FilterComponent implements OnInit {
|
|
|
7
8
|
data: MatTableDataSource<unknown>;
|
|
8
9
|
refreshClick: EventEmitter<any>;
|
|
9
10
|
_filterText: string;
|
|
11
|
+
keyUp(event: KeyboardEvent): void;
|
|
10
12
|
applyFilter(filterValue: string): void;
|
|
11
13
|
refreshClicked(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilterComponent, "spa-filter", never, { "data": "data"; }, { "refreshClick": "refreshClick"; }, never, never, false>;
|
|
12
16
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FormConfig, Field } from '../../classes/Classes';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class FormComponent implements OnInit {
|
|
5
|
+
fields: Field[];
|
|
6
|
+
data: any;
|
|
7
|
+
config: FormConfig;
|
|
8
|
+
constructor();
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
ngOnChanges(): void;
|
|
11
|
+
generateObject(): void;
|
|
12
|
+
private getInitialValue;
|
|
13
|
+
createClicked(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent, "spa-form", never, { "data": "data"; "config": "config"; }, {}, never, never, false>;
|
|
16
|
+
}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class LabelComponent implements OnInit {
|
|
3
4
|
constructor();
|
|
4
5
|
ngOnInit(): void;
|
|
5
6
|
display: string;
|
|
6
7
|
value: string;
|
|
7
8
|
format: string;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LabelComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LabelComponent, "spa-label", never, { "display": "display"; "value": "value"; "format": "format"; }, {}, never, never, false>;
|
|
8
11
|
}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { LoaderService } from '../../services/loader.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class LoaderComponent implements OnInit {
|
|
4
5
|
private loaderService;
|
|
5
6
|
constructor(loaderService: LoaderService);
|
|
6
7
|
ngOnInit(): void;
|
|
7
8
|
logo: string;
|
|
8
9
|
loading: boolean;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoaderComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoaderComponent, "spa-loader", never, { "logo": "logo"; }, {}, never, never, false>;
|
|
9
12
|
}
|
|
@@ -7,6 +7,7 @@ import { DataServiceLib } from "../../services/data.service";
|
|
|
7
7
|
import { LogService } from "./../../services/log.service";
|
|
8
8
|
import { User, AppConfig } from "../../classes/Classes";
|
|
9
9
|
import { HttpService } from "../../services/http.service";
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
10
11
|
export declare class LoginComponent implements OnInit {
|
|
11
12
|
private httpService;
|
|
12
13
|
private storageService;
|
|
@@ -18,6 +19,9 @@ export declare class LoginComponent implements OnInit {
|
|
|
18
19
|
private route;
|
|
19
20
|
constructor(httpService: HttpService, storageService: StorageService, router: Router, messageService: MessageService, dataService: DataServiceLib, authService: AuthService, logService: LogService, route: ActivatedRoute);
|
|
20
21
|
ngOnInit(): void;
|
|
22
|
+
style: string;
|
|
23
|
+
email: string;
|
|
24
|
+
password: string;
|
|
21
25
|
redirectPath: any;
|
|
22
26
|
user: User;
|
|
23
27
|
hide: boolean;
|
|
@@ -26,4 +30,6 @@ export declare class LoginComponent implements OnInit {
|
|
|
26
30
|
signup(): void;
|
|
27
31
|
recoverAccount(): void;
|
|
28
32
|
login(): void;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoginComponent, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoginComponent, "spa-login", never, {}, {}, never, never, false>;
|
|
29
35
|
}
|
|
@@ -2,6 +2,7 @@ import { OnInit } from '@angular/core';
|
|
|
2
2
|
import { DataServiceLib } from "../../services/data.service";
|
|
3
3
|
import { MatPaginator } from '@angular/material/paginator';
|
|
4
4
|
import { AuthService } from '../../services/auth.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class LogsComponent implements OnInit {
|
|
6
7
|
private authService;
|
|
7
8
|
private dataService;
|
|
@@ -12,4 +13,6 @@ export declare class LogsComponent implements OnInit {
|
|
|
12
13
|
logs: any;
|
|
13
14
|
displayedColumns: string[];
|
|
14
15
|
loadLogs(): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LogsComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LogsComponent, "spa-logs", never, {}, {}, never, never, false>;
|
|
15
18
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class messageDialog implements OnInit {
|
|
4
5
|
private dialogRef;
|
|
5
6
|
data: any;
|
|
@@ -9,4 +10,6 @@ export declare class messageDialog implements OnInit {
|
|
|
9
10
|
_messageSubject: any;
|
|
10
11
|
_messageDetails: any;
|
|
11
12
|
response(resp: string): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<messageDialog, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<messageDialog, "lib-app-message", never, {}, {}, never, never, false>;
|
|
12
15
|
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { OnInit, ElementRef } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import { DecimalPipe } from '@angular/common';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare const CURRENCY_INPUT_MASK_DIRECTIVE_VALUE_ACCESSOR: any;
|
|
6
|
+
export declare class CurrencyInputMaskDirective implements ControlValueAccessor, OnInit {
|
|
7
|
+
private elementRef;
|
|
8
|
+
private decimalPipe;
|
|
9
|
+
private el;
|
|
10
|
+
private onModelChange;
|
|
11
|
+
private onModelTouched;
|
|
12
|
+
private lastNumVal;
|
|
13
|
+
private DECIMAL_MARK;
|
|
14
|
+
constructor(elementRef: ElementRef, decimalPipe: DecimalPipe);
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
handleFocus(event: any): void;
|
|
17
|
+
handleCut(event: any): void;
|
|
18
|
+
handleKeypress(event: any): void;
|
|
19
|
+
handleInput(event: any): void;
|
|
20
|
+
handlePaste(event: any): void;
|
|
21
|
+
handleBlur(event: any): void;
|
|
22
|
+
registerOnChange(callbackFunction: Function): void;
|
|
23
|
+
registerOnTouched(callbackFunction: Function): void;
|
|
24
|
+
setDisabledState(value: boolean): void;
|
|
25
|
+
writeValue(numValue: number): void;
|
|
26
|
+
private maskInput;
|
|
27
|
+
private inputUpdated;
|
|
28
|
+
private restrictDecimalValue;
|
|
29
|
+
private transformWithPipe;
|
|
30
|
+
private getUnmaskedValue;
|
|
31
|
+
private updateInputValue;
|
|
32
|
+
private getInputValue;
|
|
33
|
+
private convertStrToDecimal;
|
|
34
|
+
private convertDecimalToStr;
|
|
35
|
+
private isNumeric;
|
|
36
|
+
private saveCursorPosition;
|
|
37
|
+
private setCursorPosition;
|
|
38
|
+
private isIdxBetweenSelection;
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CurrencyInputMaskDirective, never>;
|
|
40
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CurrencyInputMaskDirective, "[appCurrencyInputMask]", never, {}, {}, never, never, false>;
|
|
41
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./currency-input-mask.directive";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
export declare class CurrencyInputModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CurrencyInputModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CurrencyInputModule, [typeof i1.CurrencyInputMaskDirective], [typeof i2.CommonModule, typeof i3.FormsModule], [typeof i1.CurrencyInputMaskDirective]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CurrencyInputModule>;
|
|
9
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class MoneyComponent implements OnInit {
|
|
3
4
|
constructor();
|
|
4
5
|
ngOnInit(): void;
|
|
@@ -6,9 +7,16 @@ export declare class MoneyComponent implements OnInit {
|
|
|
6
7
|
readonly: boolean;
|
|
7
8
|
display: string;
|
|
8
9
|
value: string;
|
|
10
|
+
placeholder: string;
|
|
9
11
|
valueChange: EventEmitter<any>;
|
|
12
|
+
enterPress: EventEmitter<any>;
|
|
13
|
+
leave: EventEmitter<any>;
|
|
10
14
|
width: string;
|
|
11
15
|
hint: string;
|
|
12
16
|
currency: string;
|
|
13
|
-
changed(): void;
|
|
17
|
+
changed(x: any): void;
|
|
18
|
+
enterPressed(): void;
|
|
19
|
+
leaved(): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MoneyComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MoneyComponent, "spa-money", never, { "readonly": "readonly"; "display": "display"; "value": "value"; "placeholder": "placeholder"; "width": "width"; "hint": "hint"; "currency": "currency"; }, { "valueChange": "valueChange"; "enterPress": "enterPress"; "leave": "leave"; }, never, never, false>;
|
|
14
22
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { AppConfig } from './../../classes/Classes';
|
|
2
2
|
import { Router } from '@angular/router';
|
|
3
3
|
import { AuthService } from '../../services/auth.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class NavMenuComponent {
|
|
5
6
|
router: Router;
|
|
6
7
|
authService: AuthService;
|
|
@@ -14,4 +15,6 @@ export declare class NavMenuComponent {
|
|
|
14
15
|
collapse(): void;
|
|
15
16
|
toggle(): void;
|
|
16
17
|
redirectTo(link: string): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NavMenuComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NavMenuComponent, "spa-nav-menu", never, { "appConfig": "appConfig"; }, {}, never, never, false>;
|
|
17
20
|
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { FormControl } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class NumberComponent implements OnInit {
|
|
5
|
+
constructor();
|
|
6
|
+
ngOnInit(): void;
|
|
7
|
+
hideRequiredControl: FormControl<boolean>;
|
|
8
|
+
hide: boolean;
|
|
9
|
+
readonly: boolean;
|
|
10
|
+
hint: string;
|
|
11
|
+
display: string;
|
|
12
|
+
placeholder: string;
|
|
13
|
+
value: number;
|
|
14
|
+
valueChange: EventEmitter<any>;
|
|
15
|
+
leave: EventEmitter<any>;
|
|
16
|
+
enterPress: EventEmitter<any>;
|
|
17
|
+
width: string;
|
|
18
|
+
required: boolean;
|
|
19
|
+
min: number;
|
|
20
|
+
max: number;
|
|
21
|
+
step: number;
|
|
22
|
+
changed(): void;
|
|
23
|
+
leaved(): void;
|
|
24
|
+
enterPressed(): void;
|
|
25
|
+
control: FormControl<number>;
|
|
26
|
+
validate(control: FormControl): string;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NumberComponent, never>;
|
|
28
|
+
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"; }, { "valueChange": "valueChange"; "leave": "leave"; "enterPress": "enterPress"; }, never, never, false>;
|
|
29
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class OptionComponent implements OnInit {
|
|
3
4
|
constructor();
|
|
4
5
|
ngOnInit(): void;
|
|
@@ -15,4 +16,6 @@ export declare class OptionComponent implements OnInit {
|
|
|
15
16
|
changed(): void;
|
|
16
17
|
enterPressed(): void;
|
|
17
18
|
resetValue(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OptionComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OptionComponent, "spa-option", never, { "options": "options"; "optionValue": "optionValue"; "optionDisplay": "optionDisplay"; "readonly": "readonly"; "value": "value"; "display": "display"; "show": "show"; }, { "valueChange": "valueChange"; "enterPress": "enterPress"; }, never, never, false>;
|
|
18
21
|
}
|
|
@@ -2,9 +2,10 @@ import { AuthService } from './../../services/auth.service';
|
|
|
2
2
|
import { MessageService } from './../../services/message.service';
|
|
3
3
|
import { DataServiceLib } from './../../services/data.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 * as i0 from "@angular/core";
|
|
8
9
|
export declare class ProfileComponent implements OnInit {
|
|
9
10
|
dataService: DataServiceLib;
|
|
10
11
|
private messageService;
|
|
@@ -15,9 +16,10 @@ export declare class ProfileComponent implements OnInit {
|
|
|
15
16
|
ngOnInit(): void;
|
|
16
17
|
isProcessing: boolean;
|
|
17
18
|
myRole: any;
|
|
19
|
+
initials: string;
|
|
18
20
|
appConfig: AppConfig;
|
|
19
21
|
selfProfile: boolean;
|
|
20
|
-
profile:
|
|
22
|
+
profile: any;
|
|
21
23
|
roles: any;
|
|
22
24
|
approvalRoles: any;
|
|
23
25
|
employees: any;
|
|
@@ -27,4 +29,6 @@ export declare class ProfileComponent implements OnInit {
|
|
|
27
29
|
gotoUsers(): void;
|
|
28
30
|
update(): void;
|
|
29
31
|
updateProfile(): void;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProfileComponent, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProfileComponent, "spa-profile", never, { "appConfig": "appConfig"; }, {}, never, never, false>;
|
|
30
34
|
}
|
|
@@ -3,6 +3,7 @@ import { DataServiceLib } from '../../services/data.service';
|
|
|
3
3
|
import { AuthService } from '../../services/auth.service';
|
|
4
4
|
import { MessageService } from '../../services/message.service';
|
|
5
5
|
import { Location } from '@angular/common';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class RecoverAccountComponent implements OnInit {
|
|
7
8
|
private location;
|
|
8
9
|
private dataService;
|
|
@@ -12,4 +13,6 @@ export declare class RecoverAccountComponent implements OnInit {
|
|
|
12
13
|
ngOnInit(): void;
|
|
13
14
|
userName: string;
|
|
14
15
|
recover(): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RecoverAccountComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RecoverAccountComponent, "spa-recover-account", never, {}, {}, never, never, false>;
|
|
15
18
|
}
|
|
@@ -4,6 +4,7 @@ import { OnInit } from '@angular/core';
|
|
|
4
4
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
5
5
|
import { DataServiceLib } from '../../services/data.service';
|
|
6
6
|
import { Role } from '../../classes/Classes';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class addRoleDialog implements OnInit {
|
|
8
9
|
private messageService;
|
|
9
10
|
private dataService;
|
|
@@ -16,4 +17,6 @@ export declare class addRoleDialog implements OnInit {
|
|
|
16
17
|
isProcessing: boolean;
|
|
17
18
|
role: Role;
|
|
18
19
|
submit(): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<addRoleDialog, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<addRoleDialog, "app-addRole", never, {}, {}, never, never, false>;
|
|
19
22
|
}
|
|
@@ -7,6 +7,7 @@ import { Router } from "@angular/router";
|
|
|
7
7
|
import { MessageService } from '../../services/message.service';
|
|
8
8
|
import { AuthService } from '../../services/auth.service';
|
|
9
9
|
import { HttpService } from '../../services/http.service';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
10
11
|
export declare class RolesComponent implements OnInit {
|
|
11
12
|
private httpService;
|
|
12
13
|
private router;
|
|
@@ -24,4 +25,6 @@ export declare class RolesComponent implements OnInit {
|
|
|
24
25
|
addRole(): void;
|
|
25
26
|
updateRole(role: Role): void;
|
|
26
27
|
deleteRole(role: Role): void;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RolesComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RolesComponent, "spa-roles", never, {}, {}, never, never, false>;
|
|
27
30
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class SelectComponent implements OnInit {
|
|
3
4
|
constructor();
|
|
4
5
|
ngOnInit(): void;
|
|
@@ -9,12 +10,15 @@ export declare class SelectComponent implements OnInit {
|
|
|
9
10
|
readonlyMode: string;
|
|
10
11
|
hint: string;
|
|
11
12
|
placeholder: string;
|
|
13
|
+
multiple: boolean;
|
|
12
14
|
display: string;
|
|
13
|
-
value:
|
|
15
|
+
value: any;
|
|
14
16
|
options: any;
|
|
15
17
|
optionValue: string;
|
|
16
18
|
optionDisplay: string;
|
|
17
19
|
optionDisplayExtra: string;
|
|
18
20
|
valueChange: EventEmitter<any>;
|
|
19
21
|
changed(): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "spa-select", never, { "width": "width"; "readonly": "readonly"; "readonlyMode": "readonlyMode"; "hint": "hint"; "placeholder": "placeholder"; "multiple": "multiple"; "display": "display"; "value": "value"; "options": "options"; "optionValue": "optionValue"; "optionDisplay": "optionDisplay"; "optionDisplayExtra": "optionDisplayExtra"; }, { "valueChange": "valueChange"; }, never, never, false>;
|
|
20
24
|
}
|