tin-spa 10.0.0 → 14.3.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -24
- package/esm2020/lib/classes/Classes.mjs +265 -0
- package/esm2020/lib/classes/TinCore.mjs +401 -0
- package/esm2020/lib/components/accounts/accountDialog.component.mjs +56 -0
- package/esm2020/lib/components/accounts/accounts.component.mjs +70 -0
- package/esm2020/lib/components/activity/activity.component.mjs +24 -0
- package/esm2020/lib/components/alert/alert.component.mjs +29 -0
- package/esm2020/lib/components/attach/attach.component.mjs +86 -0
- package/esm2020/lib/components/bug/bug.component.mjs +14 -0
- package/esm2020/lib/components/change-password/change-password.component.mjs +92 -0
- package/esm2020/lib/components/check/check.component.mjs +67 -0
- package/esm2020/lib/components/chips/chips.component.mjs +58 -0
- package/esm2020/lib/components/create-account/create-account.component.mjs +109 -0
- package/esm2020/lib/components/customers/customers.component.mjs +60 -0
- package/esm2020/lib/components/date/date.component.mjs +101 -0
- package/esm2020/lib/components/datetime/datetime.component.mjs +52 -0
- package/esm2020/lib/components/departments/departments.component.mjs +24 -0
- package/esm2020/lib/components/employees/employees.component.mjs +21 -0
- package/esm2020/lib/components/filter/filter.component.mjs +54 -0
- package/esm2020/lib/components/form/form.component.mjs +191 -0
- package/esm2020/lib/components/grades/grades.component.mjs +14 -0
- package/esm2020/lib/components/inventory/inventory.component.mjs +99 -0
- package/esm2020/lib/components/inventory/quantityDialog.component.mjs +53 -0
- package/esm2020/lib/components/invitations/invitations.component.mjs +14 -0
- package/esm2020/lib/components/invitations-table/invitations-table.component.mjs +70 -0
- package/esm2020/lib/components/label/label.component.mjs +25 -0
- package/esm2020/lib/components/list-dialog/list-dialog.component.mjs +68 -0
- package/esm2020/lib/components/loader/loader.component.mjs +25 -0
- package/esm2020/lib/components/login/login.component.mjs +127 -0
- package/esm2020/lib/components/logs/logs.component.mjs +37 -0
- package/esm2020/lib/components/membership/membership.component.mjs +48 -0
- package/esm2020/lib/components/message/messageDialog.component.mjs +33 -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 +120 -0
- package/esm2020/lib/components/nav-menu/nav-menu.component.mjs +84 -0
- package/esm2020/lib/components/notifications/notifications.component.mjs +14 -0
- package/esm2020/lib/components/number/number.component.mjs +116 -0
- package/esm2020/lib/components/option/option.component.mjs +67 -0
- package/esm2020/lib/components/plans/plans.component.mjs +47 -0
- package/esm2020/lib/components/positions/positions.component.mjs +21 -0
- package/esm2020/lib/components/profile/profile.component.mjs +92 -0
- package/esm2020/lib/components/recover-account/recover-account.component.mjs +46 -0
- package/esm2020/lib/components/roles/addRoleDialog.component.mjs +60 -0
- package/esm2020/lib/components/roles/roles.component.mjs +91 -0
- package/esm2020/lib/components/search/search.component.mjs +31 -0
- package/esm2020/lib/components/select/select.component.mjs +138 -0
- package/esm2020/lib/components/settings/settings.component.mjs +62 -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/suppliers/suppliers.component.mjs +50 -0
- package/esm2020/lib/components/table/detailsDialog.component.mjs +232 -0
- package/esm2020/lib/components/table/table.component.mjs +406 -0
- package/esm2020/lib/components/table-action/table-action.component.mjs +46 -0
- package/esm2020/lib/components/table-header/table-header.component.mjs +76 -0
- package/esm2020/lib/components/table-internal/detailsDialog-internal.component.mjs +226 -0
- package/esm2020/lib/components/table-internal/table-internal.component.mjs +406 -0
- package/esm2020/lib/components/table-row/table-row.component.mjs +58 -0
- package/esm2020/lib/components/tasks/tasks.component.mjs +86 -0
- package/esm2020/lib/components/tenant-settings/inviteDialog.component.mjs +60 -0
- package/esm2020/lib/components/tenant-settings/tenant-settings.component.mjs +155 -0
- package/esm2020/lib/components/tenants/tenants.component.mjs +47 -0
- package/esm2020/lib/components/text/text.component.mjs +181 -0
- package/esm2020/lib/components/tiles/tiles.component.mjs +81 -0
- package/esm2020/lib/components/tin-spa.component.mjs +19 -0
- package/esm2020/lib/components/transactions/transactDialog.component.mjs +80 -0
- package/esm2020/lib/components/transactions/transactions.component.mjs +101 -0
- package/esm2020/lib/components/users/users.component.mjs +118 -0
- package/esm2020/lib/components/viewer/viewer.component.mjs +79 -0
- package/esm2020/lib/components/viewer/viewerDialog.component.mjs +88 -0
- package/esm2020/lib/components/welcome/welcome.component.mjs +86 -0
- package/esm2020/lib/modules/admin/admin-routing.module.mjs +61 -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 +71 -0
- package/esm2020/lib/modules/spa-index.module.mjs +54 -0
- package/esm2020/lib/modules/spa-mat.module.mjs +84 -0
- package/esm2020/lib/modules/spa-user.module.mjs +47 -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 +17 -0
- package/esm2020/lib/services/auth.service.mjs +174 -0
- package/esm2020/lib/services/button.service.mjs +102 -0
- package/esm2020/lib/services/condition.service.mjs +32 -0
- package/esm2020/lib/services/datalib.service.mjs +387 -0
- package/esm2020/lib/services/dialog.service.mjs +81 -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 +86 -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 +59 -0
- package/esm2020/lib/services/storage.service.mjs +34 -0
- package/esm2020/lib/services/table-config.service.mjs +30 -0
- package/esm2020/lib/services/tin-spa.service.mjs +14 -0
- package/esm2020/lib/tin-spa.module.mjs +183 -0
- package/esm2020/public-api.mjs +80 -0
- package/esm2020/tin-spa.mjs +5 -0
- package/fesm2015/tin-spa.mjs +7454 -0
- package/fesm2015/tin-spa.mjs.map +1 -0
- package/fesm2020/tin-spa.mjs +7410 -0
- package/fesm2020/tin-spa.mjs.map +1 -0
- package/index.d.ts +5 -3408
- package/lib/classes/Classes.d.ts +431 -0
- package/lib/classes/TinCore.d.ts +48 -0
- package/lib/components/accounts/accountDialog.component.d.ts +27 -0
- package/lib/components/accounts/accounts.component.d.ts +25 -0
- package/lib/components/activity/activity.component.d.ts +11 -0
- package/lib/components/alert/alert.component.d.ts +14 -0
- package/lib/components/attach/attach.component.d.ts +23 -0
- package/lib/components/bug/bug.component.d.ts +8 -0
- package/lib/components/change-password/change-password.component.d.ts +27 -0
- package/lib/components/check/check.component.d.ts +24 -0
- package/lib/components/chips/chips.component.d.ts +18 -0
- package/lib/components/create-account/create-account.component.d.ts +33 -0
- package/lib/components/customers/customers.component.d.ts +18 -0
- package/lib/components/date/date.component.d.ts +29 -0
- package/lib/components/datetime/datetime.component.d.ts +18 -0
- package/lib/components/departments/departments.component.d.ts +14 -0
- package/lib/components/employees/employees.component.d.ts +12 -0
- package/lib/components/filter/filter.component.d.ts +19 -0
- package/lib/components/form/form.component.d.ts +36 -0
- package/lib/components/grades/grades.component.d.ts +8 -0
- package/lib/components/inventory/inventory.component.d.ts +25 -0
- package/lib/components/inventory/quantityDialog.component.d.ts +23 -0
- package/lib/components/invitations/invitations.component.d.ts +8 -0
- package/lib/components/invitations-table/invitations-table.component.d.ts +19 -0
- package/lib/components/label/label.component.d.ts +11 -0
- package/lib/components/list-dialog/list-dialog.component.d.ts +23 -0
- package/lib/components/loader/loader.component.d.ts +12 -0
- package/lib/components/login/login.component.d.ts +39 -0
- package/lib/components/logs/logs.component.d.ts +18 -0
- package/lib/components/membership/membership.component.d.ts +17 -0
- package/lib/components/message/messageDialog.component.d.ts +15 -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 +33 -0
- package/lib/components/nav-menu/nav-menu.component.d.ts +34 -0
- package/lib/components/notifications/notifications.component.d.ts +8 -0
- package/lib/components/number/number.component.d.ts +35 -0
- package/lib/components/option/option.component.d.ts +23 -0
- package/lib/components/plans/plans.component.d.ts +17 -0
- package/lib/components/positions/positions.component.d.ts +12 -0
- package/lib/components/profile/profile.component.d.ts +34 -0
- package/lib/components/recover-account/recover-account.component.d.ts +18 -0
- package/lib/components/roles/addRoleDialog.component.d.ts +24 -0
- package/lib/components/roles/roles.component.d.ts +30 -0
- package/lib/components/search/search.component.d.ts +13 -0
- package/lib/components/select/select.component.d.ts +42 -0
- package/lib/components/settings/settings.component.d.ts +19 -0
- package/lib/components/signup/signup.component.d.ts +23 -0
- package/lib/components/steps/steps.component.d.ts +18 -0
- package/lib/components/suppliers/suppliers.component.d.ts +17 -0
- package/lib/components/table/detailsDialog.component.d.ts +64 -0
- package/lib/components/table/table.component.d.ts +82 -0
- package/lib/components/table-action/table-action.component.d.ts +22 -0
- package/lib/components/table-header/table-header.component.d.ts +31 -0
- package/lib/components/table-internal/detailsDialog-internal.component.d.ts +64 -0
- package/lib/components/table-internal/table-internal.component.d.ts +82 -0
- package/lib/components/table-row/table-row.component.d.ts +28 -0
- package/lib/components/tasks/tasks.component.d.ts +27 -0
- package/lib/components/tenant-settings/inviteDialog.component.d.ts +28 -0
- package/lib/components/tenant-settings/tenant-settings.component.d.ts +42 -0
- package/lib/components/tenants/tenants.component.d.ts +17 -0
- package/lib/components/text/text.component.d.ts +46 -0
- package/lib/components/tiles/tiles.component.d.ts +25 -0
- package/lib/components/tin-spa.component.d.ts +5 -0
- package/lib/components/transactions/transactDialog.component.d.ts +26 -0
- package/lib/components/transactions/transactions.component.d.ts +31 -0
- package/lib/components/users/users.component.d.ts +36 -0
- package/lib/components/viewer/viewer.component.d.ts +25 -0
- package/lib/components/viewer/viewerDialog.component.d.ts +22 -0
- package/lib/components/welcome/welcome.component.d.ts +25 -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 +15 -0
- package/lib/modules/spa-index.module.d.ts +13 -0
- package/lib/modules/spa-mat.module.d.ts +38 -0
- package/lib/modules/spa-user.module.d.ts +11 -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 +61 -0
- package/lib/services/button.service.d.ts +27 -0
- package/lib/services/condition.service.d.ts +10 -0
- package/lib/services/datalib.service.d.ts +77 -0
- package/lib/services/dialog.service.d.ts +19 -0
- package/lib/services/export.service.d.ts +6 -0
- package/lib/services/http.service.d.ts +22 -0
- package/lib/services/loader-interceptor.service.d.ts +22 -0
- package/lib/services/loader.service.d.ts +8 -0
- package/lib/services/log.service.d.ts +19 -0
- package/lib/services/message.service.d.ts +16 -0
- package/lib/services/storage.service.d.ts +10 -0
- package/lib/services/table-config.service.d.ts +9 -0
- package/lib/services/tin-spa.service.d.ts +6 -0
- package/lib/tin-spa.module.d.ts +66 -0
- package/package.json +13 -8
- package/public-api.d.ts +69 -0
- package/fesm2022/tin-spa.mjs +0 -12474
- package/fesm2022/tin-spa.mjs.map +0 -1
|
@@ -0,0 +1,431 @@
|
|
|
1
|
+
export declare class ApiResponse {
|
|
2
|
+
success: boolean;
|
|
3
|
+
message: string;
|
|
4
|
+
data: any;
|
|
5
|
+
}
|
|
6
|
+
export declare class Constants {
|
|
7
|
+
static readonly AUTH_USER = "a";
|
|
8
|
+
static readonly AUTH_NAME = "b";
|
|
9
|
+
static readonly AUTH_ROLES = "c";
|
|
10
|
+
static readonly AUTH_TOKEN = "d";
|
|
11
|
+
static readonly AUTH_TOKEN_EXPIRE = "e";
|
|
12
|
+
static readonly AUTH_TENANT_NAME = "f";
|
|
13
|
+
}
|
|
14
|
+
export declare class ListDialogConfig {
|
|
15
|
+
name: string;
|
|
16
|
+
title: string;
|
|
17
|
+
listName: string;
|
|
18
|
+
}
|
|
19
|
+
export declare enum DetailsSource {
|
|
20
|
+
Row = 0,
|
|
21
|
+
Url = 1
|
|
22
|
+
}
|
|
23
|
+
export declare class DetailsDialogConfig {
|
|
24
|
+
formConfig: FormConfig;
|
|
25
|
+
tableConfig?: TableConfig;
|
|
26
|
+
tableConfigs?: TableConfig[];
|
|
27
|
+
buttons?: Button[];
|
|
28
|
+
details?: any;
|
|
29
|
+
heroField?: any;
|
|
30
|
+
heroValue?: any;
|
|
31
|
+
mode?: 'create' | 'edit' | 'view';
|
|
32
|
+
width?: string;
|
|
33
|
+
detailsSource?: DetailsSource;
|
|
34
|
+
options?: dialogOptions;
|
|
35
|
+
}
|
|
36
|
+
export declare class dialogOptions {
|
|
37
|
+
width?: string;
|
|
38
|
+
height?: string;
|
|
39
|
+
}
|
|
40
|
+
export declare class Action {
|
|
41
|
+
method?: 'get' | 'post';
|
|
42
|
+
url: string;
|
|
43
|
+
params?: any[];
|
|
44
|
+
successMessage?: string;
|
|
45
|
+
isFormData?: boolean;
|
|
46
|
+
}
|
|
47
|
+
export declare class SearchConfig {
|
|
48
|
+
fields: SearchField[];
|
|
49
|
+
searchAction?: Action;
|
|
50
|
+
}
|
|
51
|
+
export interface SearchField extends Field {
|
|
52
|
+
show?: boolean;
|
|
53
|
+
}
|
|
54
|
+
export declare class AlertMessages {
|
|
55
|
+
subject?: string;
|
|
56
|
+
messages: AlertMessage[];
|
|
57
|
+
}
|
|
58
|
+
export declare class AlertMessage {
|
|
59
|
+
type?: 'success' | 'info' | 'warn' | 'critical';
|
|
60
|
+
content: string;
|
|
61
|
+
hiddenCondition?: (value: any) => boolean;
|
|
62
|
+
}
|
|
63
|
+
export declare class FormConfig {
|
|
64
|
+
title?: string;
|
|
65
|
+
fixedTitle?: boolean;
|
|
66
|
+
alertMessages?: AlertMessages;
|
|
67
|
+
fields: Field[];
|
|
68
|
+
mode?: 'create' | 'edit' | 'view';
|
|
69
|
+
button?: Button;
|
|
70
|
+
multiColumn?: boolean;
|
|
71
|
+
reset?: boolean;
|
|
72
|
+
fileAction?: Action;
|
|
73
|
+
loadAction?: Action;
|
|
74
|
+
heroField?: any;
|
|
75
|
+
heroValue?: any;
|
|
76
|
+
}
|
|
77
|
+
export interface Button {
|
|
78
|
+
name: string;
|
|
79
|
+
visible?: (value: any) => boolean;
|
|
80
|
+
display?: string;
|
|
81
|
+
icon?: Icon;
|
|
82
|
+
disabled?: (value: any) => boolean;
|
|
83
|
+
color?: string;
|
|
84
|
+
tip?: string;
|
|
85
|
+
dialog?: boolean;
|
|
86
|
+
action?: Action;
|
|
87
|
+
confirm?: Confirm;
|
|
88
|
+
inDialog?: boolean;
|
|
89
|
+
inHeader?: boolean;
|
|
90
|
+
detailsConfig?: DetailsDialogConfig;
|
|
91
|
+
setHeroField?: boolean;
|
|
92
|
+
}
|
|
93
|
+
export interface Confirm {
|
|
94
|
+
message: string;
|
|
95
|
+
}
|
|
96
|
+
export interface Condition {
|
|
97
|
+
condition?: (value: any) => boolean;
|
|
98
|
+
}
|
|
99
|
+
export interface Field {
|
|
100
|
+
name: string;
|
|
101
|
+
type: 'text' | 'date' | 'datetime' | 'checkbox' | 'select' | 'multi-select' | 'money' | 'number' | 'section' | 'blank' | 'chip' | 'file' | 'file-view' | 'icon' | 'spinner' | 'button' | 'label';
|
|
102
|
+
alias?: string;
|
|
103
|
+
options?: any[];
|
|
104
|
+
optionDisplay?: string;
|
|
105
|
+
optionValue?: string;
|
|
106
|
+
defaultValue?: any;
|
|
107
|
+
defaultFirstValue?: boolean;
|
|
108
|
+
required?: boolean;
|
|
109
|
+
min?: any;
|
|
110
|
+
max?: any;
|
|
111
|
+
rows?: number;
|
|
112
|
+
span?: boolean;
|
|
113
|
+
readonly?: boolean;
|
|
114
|
+
hidden?: boolean;
|
|
115
|
+
path?: string;
|
|
116
|
+
keyFiledName?: string;
|
|
117
|
+
hint?: string;
|
|
118
|
+
masterField?: string;
|
|
119
|
+
child?: ChildField;
|
|
120
|
+
children?: ChildField[];
|
|
121
|
+
masterOptions?: any[];
|
|
122
|
+
nullable?: boolean;
|
|
123
|
+
hideOnCreate?: boolean;
|
|
124
|
+
hideOnExists?: boolean;
|
|
125
|
+
hiddenCondition?: (value: any) => boolean;
|
|
126
|
+
readonlyCondition?: (value: any) => boolean;
|
|
127
|
+
peekConfig?: PeekDialogConfig;
|
|
128
|
+
infoMessage?: string;
|
|
129
|
+
suffix?: string;
|
|
130
|
+
}
|
|
131
|
+
export interface PeekDialogConfig {
|
|
132
|
+
detailsConfig: DetailsDialogConfig;
|
|
133
|
+
create?: boolean;
|
|
134
|
+
view?: boolean;
|
|
135
|
+
}
|
|
136
|
+
export interface ChildField {
|
|
137
|
+
childField?: string;
|
|
138
|
+
childValueField?: string;
|
|
139
|
+
}
|
|
140
|
+
export declare class TableConfig {
|
|
141
|
+
title?: string;
|
|
142
|
+
columns?: Column[];
|
|
143
|
+
minColumns?: string[];
|
|
144
|
+
showFilter?: boolean;
|
|
145
|
+
holdFilterSpace?: boolean;
|
|
146
|
+
holdHeaderButtonSpace?: boolean;
|
|
147
|
+
elevation?: 'none' | 'low' | 'medium' | 'high';
|
|
148
|
+
formConfig?: FormConfig;
|
|
149
|
+
searchConfig?: SearchConfig;
|
|
150
|
+
tileConfig?: TileConfig;
|
|
151
|
+
buttons?: Button[];
|
|
152
|
+
minButtons?: string[];
|
|
153
|
+
loadAction?: Action;
|
|
154
|
+
loadIDField?: string;
|
|
155
|
+
loadCriteria?: string;
|
|
156
|
+
logResponse?: boolean;
|
|
157
|
+
flatButtons?: boolean;
|
|
158
|
+
greyOut?: (value: any) => boolean;
|
|
159
|
+
heroField?: any;
|
|
160
|
+
heroValue?: any;
|
|
161
|
+
collapseButtons?: boolean;
|
|
162
|
+
parentData?: any;
|
|
163
|
+
hideTabCondition?: (value: any) => boolean;
|
|
164
|
+
}
|
|
165
|
+
export interface Column {
|
|
166
|
+
name: string;
|
|
167
|
+
type?: 'text' | 'date' | 'datetime' | 'checkbox' | 'select' | 'money' | 'number' | 'chip' | 'icon' | 'spinner' | 'button';
|
|
168
|
+
alias?: string;
|
|
169
|
+
icon?: Icon;
|
|
170
|
+
color?: Color;
|
|
171
|
+
icons?: Icon[];
|
|
172
|
+
options?: any[];
|
|
173
|
+
optionDisplay?: string;
|
|
174
|
+
optionValue?: string;
|
|
175
|
+
detailsConfig?: DetailsDialogConfig;
|
|
176
|
+
hiddenCondition?: (parentData: any) => boolean;
|
|
177
|
+
}
|
|
178
|
+
export interface Icon {
|
|
179
|
+
name: string;
|
|
180
|
+
color?: string;
|
|
181
|
+
tip?: string;
|
|
182
|
+
tipField?: string;
|
|
183
|
+
bannerField?: string;
|
|
184
|
+
condition?: (value: any) => boolean;
|
|
185
|
+
}
|
|
186
|
+
export interface Color {
|
|
187
|
+
name: string;
|
|
188
|
+
condition?: (value: any) => boolean;
|
|
189
|
+
}
|
|
190
|
+
export declare class TileConfig {
|
|
191
|
+
tiles: Tile[];
|
|
192
|
+
loadAction?: Action;
|
|
193
|
+
loadInit?: boolean;
|
|
194
|
+
clickable?: boolean;
|
|
195
|
+
}
|
|
196
|
+
export interface Tile {
|
|
197
|
+
name: string;
|
|
198
|
+
alias?: string;
|
|
199
|
+
value?: string;
|
|
200
|
+
color?: string;
|
|
201
|
+
selectedTile?: string;
|
|
202
|
+
hidden?: boolean;
|
|
203
|
+
info?: string;
|
|
204
|
+
prefix?: string;
|
|
205
|
+
suffix?: string;
|
|
206
|
+
}
|
|
207
|
+
export declare class Step {
|
|
208
|
+
name: string;
|
|
209
|
+
icon: string;
|
|
210
|
+
}
|
|
211
|
+
export declare class ActionResponse {
|
|
212
|
+
name: string;
|
|
213
|
+
value: any;
|
|
214
|
+
}
|
|
215
|
+
export declare class loginConfig {
|
|
216
|
+
constructor();
|
|
217
|
+
appName: string;
|
|
218
|
+
selfService: boolean;
|
|
219
|
+
logo: string;
|
|
220
|
+
logoSize: string;
|
|
221
|
+
}
|
|
222
|
+
export declare class AppConfig {
|
|
223
|
+
constructor();
|
|
224
|
+
appName: string;
|
|
225
|
+
logo: string;
|
|
226
|
+
logoSize: string;
|
|
227
|
+
ADAuth: boolean;
|
|
228
|
+
localAuth: boolean;
|
|
229
|
+
googleAuth: boolean;
|
|
230
|
+
selfService: boolean;
|
|
231
|
+
capItems: CapItem[];
|
|
232
|
+
multitenant: boolean;
|
|
233
|
+
navigation: 'top' | 'side';
|
|
234
|
+
progressLine: boolean;
|
|
235
|
+
}
|
|
236
|
+
export declare class CapItem {
|
|
237
|
+
constructor();
|
|
238
|
+
name: string;
|
|
239
|
+
display: string;
|
|
240
|
+
enabled: boolean;
|
|
241
|
+
showMenu: boolean;
|
|
242
|
+
ignoreSubsDisplay: boolean;
|
|
243
|
+
type: string;
|
|
244
|
+
newLine: boolean;
|
|
245
|
+
link: string;
|
|
246
|
+
icon: string;
|
|
247
|
+
capSubItems: CapItem[];
|
|
248
|
+
}
|
|
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
|
+
export declare class Transaction {
|
|
277
|
+
constructor();
|
|
278
|
+
transactionID: number;
|
|
279
|
+
narration: string;
|
|
280
|
+
amount: string;
|
|
281
|
+
type: number;
|
|
282
|
+
date: string;
|
|
283
|
+
accountID: number;
|
|
284
|
+
destinationID: number;
|
|
285
|
+
categoryID: number;
|
|
286
|
+
}
|
|
287
|
+
export declare class FinAccount {
|
|
288
|
+
constructor();
|
|
289
|
+
accountID: number;
|
|
290
|
+
name: string;
|
|
291
|
+
description: string;
|
|
292
|
+
currency: string;
|
|
293
|
+
}
|
|
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,48 @@
|
|
|
1
|
+
import { DetailsDialogConfig, Field, FormConfig } from "./Classes";
|
|
2
|
+
export declare class Core {
|
|
3
|
+
static deepClone(obj: any): any;
|
|
4
|
+
static camelToWords(value: string): string;
|
|
5
|
+
static generateObject(fields: Field[]): {};
|
|
6
|
+
static resetObject(fields: Field[], data: any): void;
|
|
7
|
+
static testVisible(config: FormConfig, data: any, f: Field): boolean;
|
|
8
|
+
static validateObject(fields: Field[], data: any): string;
|
|
9
|
+
private static getInitialValue;
|
|
10
|
+
static getClone(x: any): any;
|
|
11
|
+
static getNumber(value: string): string | 0;
|
|
12
|
+
static getFirstDayOfMonth(): Date;
|
|
13
|
+
static emailIsValid(email: any): boolean;
|
|
14
|
+
static isValidUNCPath(path: string): boolean;
|
|
15
|
+
static isValidDate(date: any): boolean;
|
|
16
|
+
static isValidEmailList(list: string): boolean;
|
|
17
|
+
static nullDate: string;
|
|
18
|
+
static isNumber(value: string | number): boolean;
|
|
19
|
+
static getDiff(startDate: any, endDate?: string): string;
|
|
20
|
+
static nowDate(NoTime?: boolean): string;
|
|
21
|
+
static getFormatedDate(dateString: string, NoTime?: boolean): string;
|
|
22
|
+
static getFormatedDate2(d: Date, NoTime?: boolean): string;
|
|
23
|
+
static getBusinessDatesCount(startDate: string, endDate: string): number;
|
|
24
|
+
}
|
|
25
|
+
export declare class DetailsDialogProcessor {
|
|
26
|
+
static processDetailsConfig(detailsConfig: DetailsDialogConfig, row: any): DetailsDialogConfig;
|
|
27
|
+
static initializeConfigs(detailsConfig: DetailsDialogConfig): {
|
|
28
|
+
tableConfig: import("./Classes").TableConfig;
|
|
29
|
+
tableConfigs: import("./Classes").TableConfig[];
|
|
30
|
+
formConfig: FormConfig;
|
|
31
|
+
buttons: import("./Classes").Button[];
|
|
32
|
+
};
|
|
33
|
+
static setHeroValue(detailsConfig: DetailsDialogConfig, details: any): void;
|
|
34
|
+
static handleFormMode(detailsConfig: DetailsDialogConfig, formConfig: FormConfig): {
|
|
35
|
+
details: any;
|
|
36
|
+
loadByAction: boolean;
|
|
37
|
+
action: any;
|
|
38
|
+
};
|
|
39
|
+
private static loadDetailsData;
|
|
40
|
+
private static loadDetailsFromUrl;
|
|
41
|
+
static setFileField(formConfig: FormConfig): Field;
|
|
42
|
+
static setupButtons(formConfig: FormConfig, buttons: any): {
|
|
43
|
+
extraButtons: any;
|
|
44
|
+
createButton: any;
|
|
45
|
+
editButton: any;
|
|
46
|
+
deleteButton: any;
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
|
+
import { DataServiceLib } from '../../services/datalib.service';
|
|
4
|
+
import { MessageService } from '../../services/message.service';
|
|
5
|
+
import { FinAccount } from '../../classes/Classes';
|
|
6
|
+
import { LoaderService } from '../../services/loader.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class accountDialog implements OnInit {
|
|
9
|
+
private loaderService;
|
|
10
|
+
private messageService;
|
|
11
|
+
private dataService;
|
|
12
|
+
private dialogRef;
|
|
13
|
+
data: any;
|
|
14
|
+
constructor(loaderService: LoaderService, messageService: MessageService, dataService: DataServiceLib, dialogRef: MatDialogRef<accountDialog>, data: any);
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
action: any;
|
|
17
|
+
account: FinAccount;
|
|
18
|
+
isLoadComplete: boolean;
|
|
19
|
+
isProcessing: boolean;
|
|
20
|
+
currencies: {
|
|
21
|
+
name: string;
|
|
22
|
+
value: string;
|
|
23
|
+
}[];
|
|
24
|
+
submit(): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<accountDialog, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<accountDialog, "app-quanityDiag", never, {}, {}, never, never, false>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { DataServiceLib } from '../../services/datalib.service';
|
|
3
|
+
import { MessageService } from '../../services/message.service';
|
|
4
|
+
import { AuthService } from '../../services/auth.service';
|
|
5
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
6
|
+
import { Subject } from 'rxjs';
|
|
7
|
+
import { Router } from '@angular/router';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class AccountsComponent implements OnInit {
|
|
10
|
+
router: Router;
|
|
11
|
+
private dataService;
|
|
12
|
+
private messageService;
|
|
13
|
+
authService: AuthService;
|
|
14
|
+
dialog: MatDialog;
|
|
15
|
+
constructor(router: Router, dataService: DataServiceLib, messageService: MessageService, authService: AuthService, dialog: MatDialog);
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
reload: Subject<boolean>;
|
|
18
|
+
accounts: any;
|
|
19
|
+
loadData(): void;
|
|
20
|
+
view(x: any): void;
|
|
21
|
+
open(x: any): void;
|
|
22
|
+
delete(row: any): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AccountsComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AccountsComponent, "spa-accounts", never, {}, {}, never, never, false>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ActivityComponent implements OnInit {
|
|
4
|
+
constructor();
|
|
5
|
+
ngOnInit(): void;
|
|
6
|
+
notes: any[];
|
|
7
|
+
notesMessage: string;
|
|
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>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { AlertMessage, AlertMessages } from '../../classes/Classes';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AlertComponent implements OnInit {
|
|
5
|
+
constructor();
|
|
6
|
+
ngOnInit(): void;
|
|
7
|
+
alertMessages: AlertMessages;
|
|
8
|
+
data: any;
|
|
9
|
+
getAlertMessages(type?: any): AlertMessage[];
|
|
10
|
+
hasAlertMessages(type?: any): boolean;
|
|
11
|
+
testVisible(msg: AlertMessage): boolean;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AlertComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AlertComponent, "spa-alert", never, { "alertMessages": "alertMessages"; "data": "data"; }, {}, never, never, false>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AttachComponent implements OnInit {
|
|
4
|
+
constructor();
|
|
5
|
+
ngOnInit(): void;
|
|
6
|
+
message: string;
|
|
7
|
+
files: any[];
|
|
8
|
+
filesChange: EventEmitter<any>;
|
|
9
|
+
upload: EventEmitter<any>;
|
|
10
|
+
enableUpload: boolean;
|
|
11
|
+
onFileDropped($event: any): void;
|
|
12
|
+
fileBrowseHandler(event: any): void;
|
|
13
|
+
deleteFile(index: number): void;
|
|
14
|
+
/**
|
|
15
|
+
* Simulate the upload process
|
|
16
|
+
*/
|
|
17
|
+
prepareFilesList(files: Array<any>): void;
|
|
18
|
+
formatBytes(bytes: any, decimals: any): string;
|
|
19
|
+
uploaded(): void;
|
|
20
|
+
filesChanged(): void;
|
|
21
|
+
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>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BugComponent implements OnInit {
|
|
4
|
+
constructor();
|
|
5
|
+
ngOnInit(): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BugComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BugComponent, "spa-bug", never, {}, {}, never, never, false>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ChangeUserPassword } from './../../classes/Classes';
|
|
2
|
+
import { OnInit } from '@angular/core';
|
|
3
|
+
import { MessageService } from '../../services/message.service';
|
|
4
|
+
import { DataServiceLib } from '../../services/datalib.service';
|
|
5
|
+
import { AuthService } from '../../services/auth.service';
|
|
6
|
+
import { Location } from '@angular/common';
|
|
7
|
+
import { HttpService } from '../../services/http.service';
|
|
8
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class ChangePasswordComponent implements OnInit {
|
|
11
|
+
router: Router;
|
|
12
|
+
private location;
|
|
13
|
+
private httpService;
|
|
14
|
+
private messageService;
|
|
15
|
+
dataService: DataServiceLib;
|
|
16
|
+
private authService;
|
|
17
|
+
private route;
|
|
18
|
+
constructor(router: Router, location: Location, httpService: HttpService, messageService: MessageService, dataService: DataServiceLib, authService: AuthService, route: ActivatedRoute);
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
myRole: any;
|
|
21
|
+
redirectPath: any;
|
|
22
|
+
isProcessing: boolean;
|
|
23
|
+
changePassword: ChangeUserPassword;
|
|
24
|
+
change(): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChangePasswordComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChangePasswordComponent, "spa-change-password", never, {}, {}, never, never, false>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { MessageService } from '../../services/message.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CheckComponent implements OnInit {
|
|
5
|
+
private messageService;
|
|
6
|
+
constructor(messageService: MessageService);
|
|
7
|
+
ngOnInit(): void;
|
|
8
|
+
readonly: boolean;
|
|
9
|
+
display: string;
|
|
10
|
+
value: boolean;
|
|
11
|
+
valueChange: EventEmitter<any>;
|
|
12
|
+
click: EventEmitter<any>;
|
|
13
|
+
check: EventEmitter<any>;
|
|
14
|
+
uncheck: EventEmitter<any>;
|
|
15
|
+
infoMessage: string;
|
|
16
|
+
infoClick: EventEmitter<void>;
|
|
17
|
+
changed(): void;
|
|
18
|
+
clicked(): void;
|
|
19
|
+
checked(): void;
|
|
20
|
+
unchecked(): void;
|
|
21
|
+
onInfoClick(event: MouseEvent): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CheckComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckComponent, "spa-check", never, { "readonly": "readonly"; "display": "display"; "value": "value"; "infoMessage": "infoMessage"; }, { "valueChange": "valueChange"; "click": "click"; "check": "check"; "uncheck": "uncheck"; "infoClick": "infoClick"; }, never, never, false>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { MessageService } from '../../services/message.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ChipsComponent implements OnInit {
|
|
5
|
+
private messageService;
|
|
6
|
+
constructor(messageService: MessageService);
|
|
7
|
+
ngOnInit(): void;
|
|
8
|
+
icon: string;
|
|
9
|
+
removable: boolean;
|
|
10
|
+
addable: boolean;
|
|
11
|
+
chips: string[];
|
|
12
|
+
click: EventEmitter<any>;
|
|
13
|
+
remove: EventEmitter<any>;
|
|
14
|
+
clicked(chip: string): void;
|
|
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>;
|
|
18
|
+
}
|