@resolveio/client-lib-core 16.0.0 → 21.0.1

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.
Files changed (217) hide show
  1. package/fesm2022/resolveio-client-lib-core.min.mjs +1 -0
  2. package/package.json +10 -8
  3. package/types/resolveio-client-lib-core.d.ts +1904 -0
  4. package/esm2022/lib/account-manager.service.mjs +0 -229
  5. package/esm2022/lib/auth/auth-guard.service.mjs +0 -174
  6. package/esm2022/lib/auth/auth-permissions.service.mjs +0 -23
  7. package/esm2022/lib/auth/auth.service.mjs +0 -251
  8. package/esm2022/lib/auth/auth365.component.mjs +0 -51
  9. package/esm2022/lib/auth/can-deactivate-guard.service.mjs +0 -13
  10. package/esm2022/lib/auth/enroll.component.mjs +0 -88
  11. package/esm2022/lib/auth/forgot-password.component.mjs +0 -89
  12. package/esm2022/lib/core.component.mjs +0 -404
  13. package/esm2022/lib/core.module.mjs +0 -176
  14. package/esm2022/lib/core.service.mjs +0 -88
  15. package/esm2022/lib/directive/focus.mjs +0 -24
  16. package/esm2022/lib/directive/scroll.mjs +0 -54
  17. package/esm2022/lib/home/home.component.mjs +0 -84
  18. package/esm2022/lib/logger/logger.component.mjs +0 -229
  19. package/esm2022/lib/models/app-status.model.mjs +0 -2
  20. package/esm2022/lib/models/collection-document.model.mjs +0 -2
  21. package/esm2022/lib/models/cron-job.model.mjs +0 -2
  22. package/esm2022/lib/models/dialog.model.mjs +0 -2
  23. package/esm2022/lib/models/file.model.mjs +0 -2
  24. package/esm2022/lib/models/log-method-latency.model.mjs +0 -2
  25. package/esm2022/lib/models/navbar-main-tab.model.mjs +0 -2
  26. package/esm2022/lib/models/pagination.model.mjs +0 -2
  27. package/esm2022/lib/models/permission.model.mjs +0 -2
  28. package/esm2022/lib/models/select-data-label.model.mjs +0 -2
  29. package/esm2022/lib/models/subscription.model.mjs +0 -2
  30. package/esm2022/lib/models/support-ticket.model.mjs +0 -2
  31. package/esm2022/lib/models/user-group.model.mjs +0 -2
  32. package/esm2022/lib/models/user.model.mjs +0 -2
  33. package/esm2022/lib/offline-db.mjs +0 -519
  34. package/esm2022/lib/offline-manager.service.mjs +0 -109
  35. package/esm2022/lib/pipes/domsanitizor.pipe.mjs +0 -29
  36. package/esm2022/lib/pipes/filter.pipe.mjs +0 -36
  37. package/esm2022/lib/pipes/json-parse.pipe.mjs +0 -29
  38. package/esm2022/lib/pipes/minus-currency.pipe.mjs +0 -16
  39. package/esm2022/lib/pipes/phone.pipe.mjs +0 -47
  40. package/esm2022/lib/pipes/pipe.module.mjs +0 -54
  41. package/esm2022/lib/pipes/reverse-list.pipe.mjs +0 -17
  42. package/esm2022/lib/pipes/titlecase.pipe.mjs +0 -22
  43. package/esm2022/lib/report-builder.permission.mjs +0 -13
  44. package/esm2022/lib/resolveio-class.mjs +0 -50
  45. package/esm2022/lib/shared/shared.module.mjs +0 -96
  46. package/esm2022/lib/socket-manager.service.mjs +0 -340
  47. package/esm2022/lib/socket.service.mjs +0 -200
  48. package/esm2022/lib/super-admin.permission.mjs +0 -9
  49. package/esm2022/lib/support-ticket/detail/support-ticket-detail.component.mjs +0 -211
  50. package/esm2022/lib/support-ticket/edit/support-ticket-edit.component.mjs +0 -131
  51. package/esm2022/lib/support-ticket/list/support-ticket-list.component.mjs +0 -142
  52. package/esm2022/lib/support-ticket/new/support-ticket-new.component.mjs +0 -121
  53. package/esm2022/lib/support-ticket/support-ticket.component.mjs +0 -67
  54. package/esm2022/lib/support-ticket/support-ticket.module.mjs +0 -50
  55. package/esm2022/lib/support-ticket/support-ticket.routing.mjs +0 -20
  56. package/esm2022/lib/support-ticket/support-ticket.service.mjs +0 -16
  57. package/esm2022/lib/token-manager.service.mjs +0 -25
  58. package/esm2022/lib/user-settings/settings/users-settings.component.mjs +0 -302
  59. package/esm2022/lib/user-settings/user-settings.component.mjs +0 -61
  60. package/esm2022/lib/user-settings/user-settings.module.mjs +0 -41
  61. package/esm2022/lib/user-settings/user-settings.permission.mjs +0 -10
  62. package/esm2022/lib/user-settings/user-settings.routing.mjs +0 -14
  63. package/esm2022/lib/user-settings/user-settings.service.mjs +0 -16
  64. package/esm2022/lib/util/action-name.helper.mjs +0 -9
  65. package/esm2022/lib/util/aws.service.mjs +0 -80
  66. package/esm2022/lib/util/common.helper.mjs +0 -133
  67. package/esm2022/lib/util/validation.service.mjs +0 -185
  68. package/esm2022/lib/util/window-resize.service.mjs +0 -38
  69. package/esm2022/lib/util/window.service.mjs +0 -16
  70. package/esm2022/lib/widgets/alert/alert.model.mjs +0 -2
  71. package/esm2022/lib/widgets/alert/alert.service.mjs +0 -79
  72. package/esm2022/lib/widgets/collapse-table/collapse-table.component.mjs +0 -83
  73. package/esm2022/lib/widgets/collapse-table/collapse-table.module.mjs +0 -34
  74. package/esm2022/lib/widgets/data-table/data-table.component.mjs +0 -84
  75. package/esm2022/lib/widgets/data-table/data-table.model.mjs +0 -2
  76. package/esm2022/lib/widgets/data-table/data-table.module.mjs +0 -41
  77. package/esm2022/lib/widgets/date-shortcut/date-shortcut.component.mjs +0 -198
  78. package/esm2022/lib/widgets/date-shortcut/date-shortcut.module.mjs +0 -32
  79. package/esm2022/lib/widgets/dialog/dialog.confirm.content.mjs +0 -67
  80. package/esm2022/lib/widgets/dialog/dialog.error.content.mjs +0 -60
  81. package/esm2022/lib/widgets/dialog/dialog.input.content.mjs +0 -200
  82. package/esm2022/lib/widgets/dialog/dialog.login.content.mjs +0 -354
  83. package/esm2022/lib/widgets/dialog/dialog.notify.content.mjs +0 -60
  84. package/esm2022/lib/widgets/dialog/dialog.register.content.mjs +0 -333
  85. package/esm2022/lib/widgets/dialog/dialog.select-array-objs.content.mjs +0 -203
  86. package/esm2022/lib/widgets/dialog/dialog.select-array.content.mjs +0 -310
  87. package/esm2022/lib/widgets/dialog/dialog.select-data-labels.content.mjs +0 -196
  88. package/esm2022/lib/widgets/dialog/dialog.select-datetime.content.mjs +0 -191
  89. package/esm2022/lib/widgets/dialog/dialog.select-with-buttons-url.content.mjs +0 -166
  90. package/esm2022/lib/widgets/dialog/dialog.service.mjs +0 -98
  91. package/esm2022/lib/widgets/file/file-upload.component.mjs +0 -433
  92. package/esm2022/lib/widgets/file/file-upload.module.mjs +0 -48
  93. package/esm2022/lib/widgets/form-button/form-button.component.mjs +0 -97
  94. package/esm2022/lib/widgets/form-button/form-button.module.mjs +0 -28
  95. package/esm2022/lib/widgets/navbar-main/navbar-main.component.mjs +0 -222
  96. package/esm2022/lib/widgets/navbar-module/navbar-module.component.mjs +0 -108
  97. package/esm2022/lib/widgets/navbar-module/navbar-module.model.mjs +0 -2
  98. package/esm2022/lib/widgets/responsive-button-group/responsive-button-group.component.mjs +0 -41
  99. package/esm2022/lib/widgets/responsive-button-group/responsive-button-group.module.mjs +0 -24
  100. package/esm2022/lib/widgets/scheduler/scheduler.component.mjs +0 -186
  101. package/esm2022/lib/widgets/scheduler/scheduler.module.mjs +0 -37
  102. package/esm2022/lib/widgets/sort-table/sort-table-header.component.mjs +0 -72
  103. package/esm2022/lib/widgets/sort-table/sort-table-ngfor.component.mjs +0 -49
  104. package/esm2022/lib/widgets/sort-table/sort-table.directive.mjs +0 -177
  105. package/esm2022/lib/widgets/sort-table/sort-table.module.mjs +0 -38
  106. package/esm2022/lib/widgets/user-role/user-role.component.mjs +0 -29
  107. package/esm2022/lib/widgets/user-role/user-role.module.mjs +0 -24
  108. package/esm2022/public_api.mjs +0 -91
  109. package/esm2022/resolveio-client-lib-core.mjs +0 -5
  110. package/fesm2022/resolveio-client-lib-core.mjs +0 -9019
  111. package/fesm2022/resolveio-client-lib-core.mjs.map +0 -1
  112. package/index.d.ts +0 -5
  113. package/lib/account-manager.service.d.ts +0 -41
  114. package/lib/auth/auth-guard.service.d.ts +0 -26
  115. package/lib/auth/auth-permissions.service.d.ts +0 -10
  116. package/lib/auth/auth.service.d.ts +0 -30
  117. package/lib/auth/auth365.component.d.ts +0 -20
  118. package/lib/auth/can-deactivate-guard.service.d.ts +0 -10
  119. package/lib/auth/enroll.component.d.ts +0 -28
  120. package/lib/auth/forgot-password.component.d.ts +0 -28
  121. package/lib/core.component.d.ts +0 -63
  122. package/lib/core.module.d.ts +0 -34
  123. package/lib/core.service.d.ts +0 -49
  124. package/lib/directive/focus.d.ts +0 -10
  125. package/lib/directive/scroll.d.ts +0 -20
  126. package/lib/home/home.component.d.ts +0 -28
  127. package/lib/logger/logger.component.d.ts +0 -37
  128. package/lib/models/app-status.model.d.ts +0 -4
  129. package/lib/models/collection-document.model.d.ts +0 -6
  130. package/lib/models/cron-job.model.d.ts +0 -13
  131. package/lib/models/dialog.model.d.ts +0 -23
  132. package/lib/models/file.model.d.ts +0 -9
  133. package/lib/models/log-method-latency.model.d.ts +0 -7
  134. package/lib/models/navbar-main-tab.model.d.ts +0 -14
  135. package/lib/models/pagination.model.d.ts +0 -17
  136. package/lib/models/permission.model.d.ts +0 -14
  137. package/lib/models/select-data-label.model.d.ts +0 -9
  138. package/lib/models/subscription.model.d.ts +0 -19
  139. package/lib/models/support-ticket.model.d.ts +0 -71
  140. package/lib/models/user-group.model.d.ts +0 -19
  141. package/lib/models/user.model.d.ts +0 -70
  142. package/lib/offline-db.d.ts +0 -28
  143. package/lib/offline-manager.service.d.ts +0 -23
  144. package/lib/pipes/domsanitizor.pipe.d.ts +0 -10
  145. package/lib/pipes/filter.pipe.d.ts +0 -12
  146. package/lib/pipes/json-parse.pipe.d.ts +0 -7
  147. package/lib/pipes/minus-currency.pipe.d.ts +0 -7
  148. package/lib/pipes/phone.pipe.d.ts +0 -7
  149. package/lib/pipes/pipe.module.d.ts +0 -13
  150. package/lib/pipes/reverse-list.pipe.d.ts +0 -6
  151. package/lib/pipes/titlecase.pipe.d.ts +0 -7
  152. package/lib/report-builder.permission.d.ts +0 -2
  153. package/lib/resolveio-class.d.ts +0 -26
  154. package/lib/shared/shared.module.d.ts +0 -17
  155. package/lib/socket-manager.service.d.ts +0 -36
  156. package/lib/socket.service.d.ts +0 -38
  157. package/lib/super-admin.permission.d.ts +0 -2
  158. package/lib/support-ticket/detail/support-ticket-detail.component.d.ts +0 -32
  159. package/lib/support-ticket/edit/support-ticket-edit.component.d.ts +0 -30
  160. package/lib/support-ticket/list/support-ticket-list.component.d.ts +0 -26
  161. package/lib/support-ticket/new/support-ticket-new.component.d.ts +0 -26
  162. package/lib/support-ticket/support-ticket.component.d.ts +0 -20
  163. package/lib/support-ticket/support-ticket.module.d.ts +0 -15
  164. package/lib/support-ticket/support-ticket.routing.d.ts +0 -3
  165. package/lib/support-ticket/support-ticket.service.d.ts +0 -9
  166. package/lib/token-manager.service.d.ts +0 -11
  167. package/lib/user-settings/settings/users-settings.component.d.ts +0 -54
  168. package/lib/user-settings/user-settings.component.d.ts +0 -20
  169. package/lib/user-settings/user-settings.module.d.ts +0 -12
  170. package/lib/user-settings/user-settings.permission.d.ts +0 -2
  171. package/lib/user-settings/user-settings.routing.d.ts +0 -3
  172. package/lib/user-settings/user-settings.service.d.ts +0 -9
  173. package/lib/util/action-name.helper.d.ts +0 -1
  174. package/lib/util/aws.service.d.ts +0 -16
  175. package/lib/util/common.helper.d.ts +0 -12
  176. package/lib/util/validation.service.d.ts +0 -88
  177. package/lib/util/window-resize.service.d.ts +0 -13
  178. package/lib/util/window.service.d.ts +0 -6
  179. package/lib/widgets/alert/alert.model.d.ts +0 -1
  180. package/lib/widgets/alert/alert.service.d.ts +0 -11
  181. package/lib/widgets/collapse-table/collapse-table.component.d.ts +0 -23
  182. package/lib/widgets/collapse-table/collapse-table.module.d.ts +0 -9
  183. package/lib/widgets/data-table/data-table.component.d.ts +0 -23
  184. package/lib/widgets/data-table/data-table.model.d.ts +0 -13
  185. package/lib/widgets/data-table/data-table.module.d.ts +0 -12
  186. package/lib/widgets/date-shortcut/date-shortcut.component.d.ts +0 -20
  187. package/lib/widgets/date-shortcut/date-shortcut.module.d.ts +0 -10
  188. package/lib/widgets/dialog/dialog.confirm.content.d.ts +0 -12
  189. package/lib/widgets/dialog/dialog.error.content.d.ts +0 -11
  190. package/lib/widgets/dialog/dialog.input.content.d.ts +0 -18
  191. package/lib/widgets/dialog/dialog.login.content.d.ts +0 -17
  192. package/lib/widgets/dialog/dialog.notify.content.d.ts +0 -11
  193. package/lib/widgets/dialog/dialog.register.content.d.ts +0 -13
  194. package/lib/widgets/dialog/dialog.select-array-objs.content.d.ts +0 -23
  195. package/lib/widgets/dialog/dialog.select-array.content.d.ts +0 -31
  196. package/lib/widgets/dialog/dialog.select-data-labels.content.d.ts +0 -22
  197. package/lib/widgets/dialog/dialog.select-datetime.content.d.ts +0 -21
  198. package/lib/widgets/dialog/dialog.select-with-buttons-url.content.d.ts +0 -25
  199. package/lib/widgets/dialog/dialog.service.d.ts +0 -21
  200. package/lib/widgets/file/file-upload.component.d.ts +0 -49
  201. package/lib/widgets/file/file-upload.module.d.ts +0 -14
  202. package/lib/widgets/form-button/form-button.component.d.ts +0 -15
  203. package/lib/widgets/form-button/form-button.module.d.ts +0 -9
  204. package/lib/widgets/navbar-main/navbar-main.component.d.ts +0 -52
  205. package/lib/widgets/navbar-module/navbar-module.component.d.ts +0 -24
  206. package/lib/widgets/navbar-module/navbar-module.model.d.ts +0 -13
  207. package/lib/widgets/responsive-button-group/responsive-button-group.component.d.ts +0 -17
  208. package/lib/widgets/responsive-button-group/responsive-button-group.module.d.ts +0 -8
  209. package/lib/widgets/scheduler/scheduler.component.d.ts +0 -50
  210. package/lib/widgets/scheduler/scheduler.module.d.ts +0 -11
  211. package/lib/widgets/sort-table/sort-table-header.component.d.ts +0 -23
  212. package/lib/widgets/sort-table/sort-table-ngfor.component.d.ts +0 -17
  213. package/lib/widgets/sort-table/sort-table.directive.d.ts +0 -48
  214. package/lib/widgets/sort-table/sort-table.module.d.ts +0 -11
  215. package/lib/widgets/user-role/user-role.component.d.ts +0 -10
  216. package/lib/widgets/user-role/user-role.module.d.ts +0 -8
  217. package/public_api.d.ts +0 -87
package/index.d.ts DELETED
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@resolveio/client-lib-core" />
5
- export * from './public_api';
@@ -1,41 +0,0 @@
1
- import { BehaviorSubject, Subscription } from 'rxjs';
2
- import { UserModel } from './models/user.model';
3
- import { SocketManagerService } from './socket-manager.service';
4
- import { TokenManagerService } from './token-manager.service';
5
- import { AlertService } from './widgets/alert/alert.service';
6
- import { OfflineManagerService } from './offline-manager.service';
7
- import { Router } from '@angular/router';
8
- import { HttpClient } from '@angular/common/http';
9
- import * as i0 from "@angular/core";
10
- export declare class AccountManagerService {
11
- private _router;
12
- private _socket;
13
- private _token;
14
- private _http;
15
- private _alert;
16
- private _offline;
17
- user: BehaviorSubject<UserModel>;
18
- initCompleted: BehaviorSubject<boolean>;
19
- loginCompleted: BehaviorSubject<boolean>;
20
- user$: Subscription;
21
- environment: any;
22
- constructor(_router: Router, _socket: SocketManagerService, _token: TokenManagerService, _http: HttpClient, _alert: AlertService, _offline: OfflineManagerService);
23
- initLoginManager(environment: any): void;
24
- private initLogin;
25
- getAccessToken(refreshToken: any): void;
26
- logIn(username: string, password: string): Promise<unknown>;
27
- logIn365(azure_token: string): Promise<unknown>;
28
- resetUserPassword(username: string): Promise<unknown>;
29
- logOut(): Promise<unknown>;
30
- openSocket(token: any): void;
31
- closeSocket(): void;
32
- setUser(user: UserModel): void;
33
- getUser(): UserModel;
34
- getSocketStatus(): BehaviorSubject<number>;
35
- isUserInView(view: string): boolean;
36
- isUserSuperAdmin(): boolean;
37
- isInitCompleted(): Promise<unknown>;
38
- isLoginCompleted(): Promise<unknown>;
39
- static ɵfac: i0.ɵɵFactoryDeclaration<AccountManagerService, never>;
40
- static ɵprov: i0.ɵɵInjectableDeclaration<AccountManagerService>;
41
- }
@@ -1,26 +0,0 @@
1
- import { AccountManagerService } from '../account-manager.service';
2
- import { Router, ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router';
3
- import { AuthService } from './auth.service';
4
- import { DialogService } from '../widgets/dialog/dialog.service';
5
- import { OfflineManagerService } from '../offline-manager.service';
6
- import { CoreService } from '../core.service';
7
- import { AuthPermissionService } from './auth-permissions.service';
8
- import { AlertService } from '../widgets/alert/alert.service';
9
- import * as i0 from "@angular/core";
10
- export declare class AuthGuard {
11
- private _router;
12
- private _auth;
13
- private _ds;
14
- private _account;
15
- private _app;
16
- private _offline;
17
- private _aps;
18
- private _alert;
19
- redirectUrl: string;
20
- constructor(_router: Router, _auth: AuthService, _ds: DialogService, _account: AccountManagerService, _app: CoreService, _offline: OfflineManagerService, _aps: AuthPermissionService, _alert: AlertService);
21
- canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Promise<boolean> | boolean;
22
- doesLinkHaveParameter(link: string): boolean;
23
- isLinkFakeRoute(link: string): boolean;
24
- static ɵfac: i0.ɵɵFactoryDeclaration<AuthGuard, never>;
25
- static ɵprov: i0.ɵɵInjectableDeclaration<AuthGuard>;
26
- }
@@ -1,10 +0,0 @@
1
- import { ModulePermissionModel } from '../models/permission.model';
2
- import * as i0 from "@angular/core";
3
- export declare class AuthPermissionService {
4
- modules: ModulePermissionModel[];
5
- constructor();
6
- registerModule(modulePermission: ModulePermissionModel): void;
7
- getAllModulePermissions(): ModulePermissionModel[];
8
- static ɵfac: i0.ɵɵFactoryDeclaration<AuthPermissionService, never>;
9
- static ɵprov: i0.ɵɵInjectableDeclaration<AuthPermissionService>;
10
- }
@@ -1,30 +0,0 @@
1
- import { DialogService } from '../widgets/dialog/dialog.service';
2
- import { AccountManagerService } from '../account-manager.service';
3
- import { AlertService } from '../widgets/alert/alert.service';
4
- import { UserModel } from '../models/user.model';
5
- import { ValidationService } from '../util/validation.service';
6
- import { SocketManagerService } from '../socket-manager.service';
7
- import * as i0 from "@angular/core";
8
- export declare class AuthService {
9
- private _ds;
10
- private _vs;
11
- private _alert;
12
- private _account;
13
- private _socket;
14
- environment: any;
15
- userHasPhoneNumber: boolean;
16
- userData: any;
17
- userAgentApplication: any;
18
- constructor(_ds: DialogService, _vs: ValidationService, _alert: AlertService, _account: AccountManagerService, _socket: SocketManagerService);
19
- setupMSSingleSignOn(environment: any): void;
20
- setEnvironment(environment: any): void;
21
- setUserHasPhoneNumber(value: boolean): void;
22
- registerUser(other: Object, sendEnrollmentEmail?: boolean): Promise<unknown>;
23
- editUser(user: UserModel): Promise<unknown>;
24
- loginUser(): Promise<any>;
25
- private microsoftSignOn;
26
- private loginModal;
27
- removeUser(id: string): Promise<unknown>;
28
- static ɵfac: i0.ɵɵFactoryDeclaration<AuthService, never>;
29
- static ɵprov: i0.ɵɵInjectableDeclaration<AuthService>;
30
- }
@@ -1,20 +0,0 @@
1
- import { BaseComponent } from '../resolveio-class';
2
- import { ActivatedRoute } from '@angular/router';
3
- import { ProviderService } from '../resolveio-class';
4
- import { DialogService } from '../widgets/dialog/dialog.service';
5
- import { HttpClient } from '@angular/common/http';
6
- import { SocketManagerService } from '../socket-manager.service';
7
- import { CoreService } from '../core.service';
8
- import * as i0 from "@angular/core";
9
- export declare class Auth365Component extends BaseComponent {
10
- private _app;
11
- private _route;
12
- private _services;
13
- private _http;
14
- private _ds;
15
- private _socket;
16
- token: string;
17
- constructor(_app: CoreService, _route: ActivatedRoute, _services: ProviderService, _http: HttpClient, _ds: DialogService, _socket: SocketManagerService);
18
- static ɵfac: i0.ɵɵFactoryDeclaration<Auth365Component, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<Auth365Component, "ng-component", never, {}, {}, never, never, false, never>;
20
- }
@@ -1,10 +0,0 @@
1
- import { Observable } from 'rxjs';
2
- import * as i0 from "@angular/core";
3
- export interface CanComponentDeactivate {
4
- canDeactivate: () => Observable<boolean> | Promise<boolean> | boolean;
5
- }
6
- export declare class CanDeactivateGuard {
7
- canDeactivate(component: CanComponentDeactivate): boolean | Observable<boolean> | Promise<boolean>;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<CanDeactivateGuard, never>;
9
- static ɵprov: i0.ɵɵInjectableDeclaration<CanDeactivateGuard>;
10
- }
@@ -1,28 +0,0 @@
1
- import { BaseComponent } from '../resolveio-class';
2
- import { OnInit, OnDestroy } from '@angular/core';
3
- import { FormGroup } from '@angular/forms';
4
- import { ActivatedRoute } from '@angular/router';
5
- import { Subscription } from 'rxjs';
6
- import { UserModel } from '../models/user.model';
7
- import { ProviderService } from '../resolveio-class';
8
- import { DialogService } from '../widgets/dialog/dialog.service';
9
- import { HttpClient } from '@angular/common/http';
10
- import * as i0 from "@angular/core";
11
- export declare class EnrollComponent extends BaseComponent implements OnInit, OnDestroy {
12
- private _route;
13
- private _services;
14
- private _http;
15
- private _ds;
16
- serverURL: string;
17
- form: FormGroup;
18
- user: UserModel;
19
- subscription$: Subscription[];
20
- token: string;
21
- disableFormButton: boolean;
22
- constructor(_route: ActivatedRoute, _services: ProviderService, _http: HttpClient, _ds: DialogService);
23
- ngOnInit(): void;
24
- ngOnDestroy(): void;
25
- submit(): void;
26
- static ɵfac: i0.ɵɵFactoryDeclaration<EnrollComponent, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<EnrollComponent, "ng-component", never, {}, {}, never, never, false, never>;
28
- }
@@ -1,28 +0,0 @@
1
- import { BaseComponent } from '../resolveio-class';
2
- import { OnInit, OnDestroy } from '@angular/core';
3
- import { FormGroup } from '@angular/forms';
4
- import { ActivatedRoute } from '@angular/router';
5
- import { Subscription } from 'rxjs';
6
- import { UserModel } from '../models/user.model';
7
- import { ProviderService } from '../resolveio-class';
8
- import { DialogService } from '../widgets/dialog/dialog.service';
9
- import { HttpClient } from '@angular/common/http';
10
- import * as i0 from "@angular/core";
11
- export declare class ForgotPasswordComponent extends BaseComponent implements OnInit, OnDestroy {
12
- private _route;
13
- private _services;
14
- private _http;
15
- private _ds;
16
- serverURL: string;
17
- form: FormGroup;
18
- user: UserModel;
19
- subscription$: Subscription[];
20
- token: string;
21
- disableFormButton: boolean;
22
- constructor(_route: ActivatedRoute, _services: ProviderService, _http: HttpClient, _ds: DialogService);
23
- ngOnInit(): void;
24
- ngOnDestroy(): void;
25
- submit(): void;
26
- static ɵfac: i0.ɵɵFactoryDeclaration<ForgotPasswordComponent, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<ForgotPasswordComponent, "ng-component", never, {}, {}, never, never, false, never>;
28
- }
@@ -1,63 +0,0 @@
1
- import { OnInit, ElementRef } from '@angular/core';
2
- import { UserModel } from './models/user.model';
3
- import { AppStatusModel } from './models/app-status.model';
4
- import { DeviceDetectorService } from 'ngx-device-detector';
5
- import { ResizeService } from './util/window-resize.service';
6
- import { ProviderService, BaseComponent } from './resolveio-class';
7
- import { OfflineManagerService } from './offline-manager.service';
8
- import { LocalStorageService } from 'ngx-localstorage';
9
- import { AuthService } from './auth/auth.service';
10
- import { AuthPermissionService } from './auth/auth-permissions.service';
11
- import { DialogService } from './widgets/dialog/dialog.service';
12
- import { ActiveToast } from 'ngx-toastr';
13
- import * as i0 from "@angular/core";
14
- export declare class CoreComponent extends BaseComponent implements OnInit {
15
- private _deviceDet;
16
- private _ds;
17
- private _resizeService;
18
- _services: ProviderService;
19
- private _offline;
20
- private _storage;
21
- private _auth;
22
- private _aps;
23
- environment: any;
24
- logo: string;
25
- navTabs: string;
26
- userHasPhoneNumber: boolean;
27
- client: string;
28
- showNavbarModule: boolean;
29
- publicProgram: boolean;
30
- el_navBarMain: ElementRef;
31
- el_navBarModule: ElementRef;
32
- year: string;
33
- fullScreen: boolean;
34
- windowSizeHeight: number;
35
- windowSizeWidth: number;
36
- navbarMainHeight: number;
37
- statusHeight: number;
38
- connectedHeight: number;
39
- isDevice: boolean;
40
- showNavigationMenu: boolean;
41
- swFlagAlert: ActiveToast<any>;
42
- isConnected: boolean;
43
- isConnecting: boolean;
44
- socketStatus: number;
45
- user: UserModel;
46
- status: AppStatusModel;
47
- collapsableMenu: boolean;
48
- fontSize: number;
49
- openedWindow: boolean;
50
- isOffline: boolean;
51
- foundUpdate: boolean;
52
- orientation: string;
53
- constructor(_deviceDet: DeviceDetectorService, _ds: DialogService, _resizeService: ResizeService, _services: ProviderService, _offline: OfflineManagerService, _storage: LocalStorageService, _auth: AuthService, _aps: AuthPermissionService);
54
- ngOnInit(): void;
55
- getNavbarModuleHeight(): any;
56
- onPushBackButton(): void;
57
- onPushReloadButton(): void;
58
- onPushForwardButton(): void;
59
- openNav(): void;
60
- closeNav(): void;
61
- static ɵfac: i0.ɵɵFactoryDeclaration<CoreComponent, never>;
62
- static ɵcmp: i0.ɵɵComponentDeclaration<CoreComponent, "resolveio-client-lib-core", never, { "environment": { "alias": "environment"; "required": false; }; "logo": { "alias": "logo"; "required": false; }; "navTabs": { "alias": "navTabs"; "required": false; }; "userHasPhoneNumber": { "alias": "userHasPhoneNumber"; "required": false; }; "client": { "alias": "client"; "required": false; }; "showNavbarModule": { "alias": "showNavbarModule"; "required": false; }; "publicProgram": { "alias": "publicProgram"; "required": false; }; }, {}, never, never, false, never>;
63
- }
@@ -1,34 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./core.component";
3
- import * as i2 from "./home/home.component";
4
- import * as i3 from "./logger/logger.component";
5
- import * as i4 from "./widgets/navbar-main/navbar-main.component";
6
- import * as i5 from "./widgets/navbar-module/navbar-module.component";
7
- import * as i6 from "./auth/forgot-password.component";
8
- import * as i7 from "./auth/enroll.component";
9
- import * as i8 from "./auth/auth365.component";
10
- import * as i9 from "./directive/focus";
11
- import * as i10 from "./directive/scroll";
12
- import * as i11 from "./widgets/dialog/dialog.confirm.content";
13
- import * as i12 from "./widgets/dialog/dialog.error.content";
14
- import * as i13 from "./widgets/dialog/dialog.input.content";
15
- import * as i14 from "./widgets/dialog/dialog.notify.content";
16
- import * as i15 from "./widgets/dialog/dialog.select-datetime.content";
17
- import * as i16 from "./widgets/dialog/dialog.select-data-labels.content";
18
- import * as i17 from "./widgets/dialog/dialog.login.content";
19
- import * as i18 from "./widgets/dialog/dialog.register.content";
20
- import * as i19 from "./widgets/dialog/dialog.select-with-buttons-url.content";
21
- import * as i20 from "./widgets/dialog/dialog.select-array-objs.content";
22
- import * as i21 from "./widgets/dialog/dialog.select-array.content";
23
- import * as i22 from "./shared/shared.module";
24
- import * as i23 from "@angular/common/http";
25
- import * as i24 from "@ng-bootstrap/ng-bootstrap";
26
- import * as i25 from "ngx-toastr";
27
- import * as i26 from "./user-settings/user-settings.module";
28
- import * as i27 from "@angular/platform-browser/animations";
29
- import * as i28 from "./widgets/collapse-table/collapse-table.module";
30
- export declare class CoreModule {
31
- static ɵfac: i0.ɵɵFactoryDeclaration<CoreModule, never>;
32
- static ɵmod: i0.ɵɵNgModuleDeclaration<CoreModule, [typeof i1.CoreComponent, typeof i2.HomeComponent, typeof i3.LoggerComponent, typeof i4.NavbarMainComponent, typeof i5.NavbarModuleComponent, typeof i6.ForgotPasswordComponent, typeof i7.EnrollComponent, typeof i8.Auth365Component, typeof i9.FocusDirective, typeof i10.ScrollDirective, typeof i11.DialogConfirmContent, typeof i12.DialogErrorContent, typeof i13.DialogInputContent, typeof i14.DialogNotifyContent, typeof i15.DialogSelectDateTimeContent, typeof i16.DialogSelectDataLabelsContent, typeof i17.DialogLoginContent, typeof i18.DialogRegisterContent, typeof i19.DialogSelectWithButtonsURLContent, typeof i20.DialogSelectArrayObjsContent, typeof i21.DialogSelectArrayContent], [typeof i22.SharedModule, typeof i23.HttpClientModule, typeof i24.NgbModule, typeof i25.ToastrModule, typeof i26.UserSettingsModule, typeof i27.BrowserAnimationsModule, typeof i28.CollapseTableModule], [typeof i1.CoreComponent, typeof i2.HomeComponent, typeof i3.LoggerComponent, typeof i4.NavbarMainComponent, typeof i5.NavbarModuleComponent, typeof i6.ForgotPasswordComponent, typeof i7.EnrollComponent, typeof i8.Auth365Component, typeof i9.FocusDirective, typeof i10.ScrollDirective]>;
33
- static ɵinj: i0.ɵɵInjectorDeclaration<CoreModule>;
34
- }
@@ -1,49 +0,0 @@
1
- import { BehaviorSubject } from 'rxjs';
2
- import { NavbarModel } from './widgets/navbar-module/navbar-module.model';
3
- import * as i0 from "@angular/core";
4
- export declare class CoreService {
5
- isDevice: BehaviorSubject<boolean>;
6
- fullScreen: BehaviorSubject<boolean>;
7
- fsActivated: BehaviorSubject<boolean>;
8
- hasConnected: BehaviorSubject<boolean>;
9
- navbarModuleData: BehaviorSubject<{
10
- title: string;
11
- module: string;
12
- description: string;
13
- description_name: string;
14
- tabs: any[];
15
- }>;
16
- hasStatusMessage: BehaviorSubject<boolean>;
17
- alertData: BehaviorSubject<{
18
- type: string;
19
- message: string;
20
- timer: number;
21
- showing: boolean;
22
- }>;
23
- isInvalidSW: BehaviorSubject<boolean>;
24
- environment: BehaviorSubject<any>;
25
- client: BehaviorSubject<string>;
26
- standardProgram: BehaviorSubject<boolean>;
27
- navTabs: BehaviorSubject<any[]>;
28
- tourStops: BehaviorSubject<any[]>;
29
- tourStarted: BehaviorSubject<boolean>;
30
- isDemo: BehaviorSubject<boolean>;
31
- isLoggingOut: BehaviorSubject<boolean>;
32
- constructor();
33
- setFullScreen(fullScreen: boolean): void;
34
- setFsActivated(activated: boolean): void;
35
- setHasConnected(connected: boolean): void;
36
- setNavbarModuleData(data: NavbarModel): void;
37
- setHasStatusMessage(data: boolean): void;
38
- setIsDevice(data: boolean): void;
39
- setIsInvalidSW(data: boolean): void;
40
- setEnvironment(env: any): void;
41
- setClient(client: any): void;
42
- setStandardProgram(standardProgram: any): void;
43
- setNavTabs(navTabs: any): void;
44
- setTourStops(tourStops: any): void;
45
- setTourStarted(tourStarted: any): void;
46
- setDemo(isDemo: boolean): void;
47
- static ɵfac: i0.ɵɵFactoryDeclaration<CoreService, never>;
48
- static ɵprov: i0.ɵɵInjectableDeclaration<CoreService>;
49
- }
@@ -1,10 +0,0 @@
1
- import { ElementRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class FocusDirective {
4
- private element;
5
- focus: boolean;
6
- constructor(element: ElementRef);
7
- protected ngOnChanges(): void;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<FocusDirective, never>;
9
- static ɵdir: i0.ɵɵDirectiveDeclaration<FocusDirective, "[focus]", never, { "focus": { "alias": "focus"; "required": false; }; }, {}, never, never, false, never>;
10
- }
@@ -1,20 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export type ScrollEvent = {
4
- isReachingBottom: boolean;
5
- isReachingTop: boolean;
6
- originalEvent: Event;
7
- isWindowEvent: boolean;
8
- };
9
- export declare class ScrollDirective {
10
- onScroll: EventEmitter<ScrollEvent>;
11
- bottomOffset: number;
12
- topOffset: number;
13
- constructor();
14
- scrolled($event: Event): void;
15
- windowScrolled($event: Event): void;
16
- protected windowScrollEvent($event: Event): void;
17
- protected elementScrollEvent($event: Event): void;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<ScrollDirective, never>;
19
- static ɵdir: i0.ɵɵDirectiveDeclaration<ScrollDirective, "[detect-scroll]", never, { "bottomOffset": { "alias": "bottomOffset"; "required": false; }; "topOffset": { "alias": "topOffset"; "required": false; }; }, { "onScroll": "onScroll"; }, never, never, false, never>;
20
- }
@@ -1,28 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { NavbarModel } from '../widgets/navbar-module/navbar-module.model';
3
- import { AuthService } from '../auth/auth.service';
4
- import { ProviderService, BaseComponent } from '../resolveio-class';
5
- import { Subscription } from 'rxjs';
6
- import { FormGroup } from '@angular/forms';
7
- import { HttpClient } from '@angular/common/http';
8
- import { ActivatedRoute } from '@angular/router';
9
- import { CoreService } from '../core.service';
10
- import * as i0 from "@angular/core";
11
- export declare class HomeComponent extends BaseComponent implements OnInit {
12
- private _route;
13
- private auth;
14
- private _services;
15
- private _http;
16
- private _app;
17
- menuData: NavbarModel;
18
- selectedSolution: string;
19
- loggingOut$: Subscription;
20
- subscription$: Subscription;
21
- isLoggedIn: boolean;
22
- form: FormGroup;
23
- constructor(_route: ActivatedRoute, auth: AuthService, _services: ProviderService, _http: HttpClient, _app: CoreService);
24
- ngOnInit(): void;
25
- ngOnDestroy(): void;
26
- static ɵfac: i0.ɵɵFactoryDeclaration<HomeComponent, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<HomeComponent, "ng-component", never, {}, {}, never, never, false, never>;
28
- }
@@ -1,37 +0,0 @@
1
- import { OnInit, OnDestroy, ChangeDetectorRef } from '@angular/core';
2
- import { Subscription } from 'rxjs';
3
- import { ProviderService, BaseComponent } from '../resolveio-class';
4
- import { DialogService } from '../widgets/dialog/dialog.service';
5
- import * as i0 from "@angular/core";
6
- export declare class LoggerComponent extends BaseComponent implements OnInit, OnDestroy {
7
- private _services;
8
- private _ds;
9
- private _cd;
10
- subscription$: Subscription[];
11
- logs: any[];
12
- entries_per_page: number;
13
- page_num: number;
14
- log_cnt: number;
15
- user: any;
16
- users: any[];
17
- dateStartElem: any;
18
- dateEndElem: any;
19
- timeStartElem: any;
20
- timeEndElem: any;
21
- dateStart: Date;
22
- dateEnd: Date;
23
- selectedTypes: any[];
24
- collection: string;
25
- method: string;
26
- route: string;
27
- id_document: string;
28
- constructor(_services: ProviderService, _ds: DialogService, _cd: ChangeDetectorRef);
29
- ngOnInit(): void;
30
- ngOnDestroy(): void;
31
- getLogData(): void;
32
- selectType(type: string): void;
33
- icon(type: any): "success" | "info" | "danger" | "primary" | "secondary";
34
- removeAllLogs(): void;
35
- static ɵfac: i0.ɵɵFactoryDeclaration<LoggerComponent, never>;
36
- static ɵcmp: i0.ɵɵComponentDeclaration<LoggerComponent, "ng-component", never, {}, {}, never, never, false, never>;
37
- }
@@ -1,4 +0,0 @@
1
- import { CollectionDocument } from './collection-document.model';
2
- export interface AppStatusModel extends CollectionDocument {
3
- message: string;
4
- }
@@ -1,6 +0,0 @@
1
- export interface CollectionDocument {
2
- _id?: any;
3
- __v?: number;
4
- createdAt?: Date;
5
- updatedAt?: Date;
6
- }
@@ -1,13 +0,0 @@
1
- import { CollectionDocument } from './collection-document.model';
2
- export interface CronJobModel extends CollectionDocument {
3
- name: string;
4
- repeat: boolean;
5
- time_to_run: string;
6
- method_run: string;
7
- method_run_data?: Object;
8
- method_complete?: string;
9
- method_complete_data?: Object;
10
- running: boolean;
11
- timezone?: string;
12
- next_run?: Date;
13
- }
@@ -1,23 +0,0 @@
1
- export interface DialogInputFieldModel {
2
- label: string;
3
- form: string;
4
- data: string | number | boolean | any[];
5
- validators: any[];
6
- validatorErrors?: string[];
7
- validatorMsg?: string[];
8
- placeholder?: string;
9
- required?: boolean;
10
- type?: DialogInputFieldTypes;
11
- options?: DialogInputFieldSelectOptions[];
12
- }
13
- export interface DialogInputFieldSelectOptions {
14
- value: string | number;
15
- text: string;
16
- }
17
- type DialogInputFieldTypes = 'text' | 'number' | 'select' | 'ng-select' | 'state' | 'email' | 'password' | 'textarea' | 'boolean';
18
- export interface DialogSelectWithButtonsOptionModel {
19
- value: string | number;
20
- text: string;
21
- selected?: boolean;
22
- }
23
- export {};
@@ -1,9 +0,0 @@
1
- import { CollectionDocument } from './collection-document.model';
2
- export interface FileModel extends CollectionDocument {
3
- name: string;
4
- size: number;
5
- key: string;
6
- type: string;
7
- order: number;
8
- status?: string;
9
- }
@@ -1,7 +0,0 @@
1
- import { CollectionDocument } from './collection-document.model';
2
- export interface LogMethodLatencyModel extends CollectionDocument {
3
- date_start: Date;
4
- date_end?: Date;
5
- latency_ms: number;
6
- method: string;
7
- }
@@ -1,14 +0,0 @@
1
- export interface NavbarMainTabModel {
2
- type: NavbarMainTabType;
3
- links: NavbarMainTabLinkModel[];
4
- roles?: string[];
5
- label?: string;
6
- left?: number;
7
- tourAnchor?: string;
8
- }
9
- export type NavbarMainTabType = 'link' | 'dropdown';
10
- export interface NavbarMainTabLinkModel {
11
- routerLink: string;
12
- label: string;
13
- role: string;
14
- }
@@ -1,17 +0,0 @@
1
- export declare type SortMongo = string | Exclude<SortDirection, {
2
- $meta: string;
3
- }> | string[] | {
4
- [key: string]: SortDirection;
5
- } | Map<string, SortDirection> | [string, SortDirection][] | [string, SortDirection];
6
- /** @public */
7
- export declare type SortDirection = 1 | -1 | 'asc' | 'desc' | 'ascending' | 'descending' | {
8
- $meta: string;
9
- };
10
- export interface PaginationOptions {
11
- limit?: number;
12
- skip?: number;
13
- sort?: SortMongo;
14
- fields?: {
15
- [key: string]: number;
16
- };
17
- }
@@ -1,14 +0,0 @@
1
- export interface ModulePermissionModel {
2
- name: string;
3
- views: ModulePermissionViewModel[];
4
- approval?: ModulePermissionApprovalModel;
5
- }
6
- export interface ModulePermissionViewModel {
7
- link: string;
8
- label: string;
9
- has_parameter?: boolean;
10
- fake_route?: boolean;
11
- }
12
- export interface ModulePermissionApprovalModel {
13
- type: string;
14
- }
@@ -1,9 +0,0 @@
1
- export interface SelectDataLabelModel {
2
- data: string;
3
- label: string;
4
- selected: boolean;
5
- type: string;
6
- subData: string;
7
- subtype: string;
8
- subLabel: string;
9
- }
@@ -1,19 +0,0 @@
1
- import { Subject } from 'rxjs';
2
- export interface SubscriptionModel {
3
- [key: string]: SubscriptionPubModel;
4
- }
5
- export interface SubscriptionPubModel {
6
- check?: any;
7
- preFunction?: (...parameters: any[]) => Promise<Object>;
8
- function: (...parameters: any[]) => Promise<any | any[]>;
9
- collections: string[];
10
- fetchFunction?: (document: Object, ...parameters: any[]) => boolean;
11
- ws_specific?: boolean;
12
- }
13
- export interface ActiveClientSubscriptionModel {
14
- messageId: number;
15
- messageRoute: string;
16
- subscription: string;
17
- parameters: any[];
18
- subject: Subject<any>;
19
- }