ngx-vector-components 4.56.0 → 4.57.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/CHANGELOG.md +919 -913
- package/README.md +35 -35
- package/assets/icons/chevron_down_icon.svg +3 -3
- package/assets/icons/home_menu_icon.svg +3 -3
- package/assets/icons/logout_icon.svg +9 -9
- package/assets/icons/menu_footer_icon.svg +3 -3
- package/assets/icons/menu_hamburguer_icon.svg +3 -3
- package/assets/icons/terms_of_use_icon.svg +9 -9
- package/assets/icons/vector_admin_icon.svg +4 -4
- package/assets/icons/vector_fintech_icon.svg +3 -3
- package/assets/icons/vector_logtech_icon.svg +6 -6
- package/assets/icons/vector_marketplace_icon.svg +3 -3
- package/assets/images/bunge_logo.svg +23 -23
- package/assets/images/cofco_logo.svg +117 -117
- package/assets/images/emote_bad.svg +6 -6
- package/assets/images/emote_cool.svg +5 -5
- package/assets/images/emote_nice.svg +5 -5
- package/assets/images/success_sign.svg +4 -4
- package/assets/images/vector-logo-horizontal-inverse-color.svg +13 -13
- package/assets/images/vector_logo_horizontal.svg +13 -13
- package/assets/images/warn_sign.svg +4 -4
- package/assets/styles/_fonts.scss +114 -114
- package/assets/styles/_mixins.scss +7 -7
- package/assets/styles/_primeng-custom-theme.scss +978 -978
- package/assets/styles/_spinner.scss +35 -35
- package/assets/styles/_styles.scss +115 -115
- package/assets/styles/_variables.scss +27 -27
- package/esm2020/lib/components/badge/badge.component.mjs +39 -39
- package/esm2020/lib/components/badge/badge.module.mjs +19 -19
- package/esm2020/lib/components/badge/index.mjs +3 -3
- package/esm2020/lib/components/breadcrumb/breadcrumb.component.mjs +65 -65
- package/esm2020/lib/components/breadcrumb/breadcrumb.module.mjs +18 -18
- package/esm2020/lib/components/breadcrumb/index.mjs +3 -3
- package/esm2020/lib/components/crud-base/crud-base.component.mjs +47 -47
- package/esm2020/lib/components/crud-base/index.mjs +2 -2
- package/esm2020/lib/components/crud-footer/crud-footer.component.mjs +31 -31
- package/esm2020/lib/components/crud-footer/crud-footer.module.mjs +19 -19
- package/esm2020/lib/components/crud-footer/index.mjs +3 -3
- package/esm2020/lib/components/crud-header/crud-header.component.mjs +30 -30
- package/esm2020/lib/components/crud-header/crud-header.module.mjs +19 -19
- package/esm2020/lib/components/crud-header/index.mjs +3 -3
- package/esm2020/lib/components/crud-history/crud-history.component.mjs +82 -82
- package/esm2020/lib/components/crud-history/crud-history.module.mjs +20 -20
- package/esm2020/lib/components/crud-history/index.mjs +3 -3
- package/esm2020/lib/components/fields/button/button.component.mjs +41 -41
- package/esm2020/lib/components/fields/button/index.mjs +2 -2
- package/esm2020/lib/components/fields/calendar-field/calendar-field.component.mjs +74 -74
- package/esm2020/lib/components/fields/calendar-field/index.mjs +2 -2
- package/esm2020/lib/components/fields/checkbox-field/checkbox-field.component.mjs +46 -46
- package/esm2020/lib/components/fields/checkbox-field/index.mjs +2 -2
- package/esm2020/lib/components/fields/currency-field/currency-field.component.mjs +87 -87
- package/esm2020/lib/components/fields/currency-field/index.mjs +2 -2
- package/esm2020/lib/components/fields/data-table/data-table.component.mjs +365 -365
- package/esm2020/lib/components/fields/data-table/index.mjs +2 -2
- package/esm2020/lib/components/fields/dropdown-field/dropdown-field.component.mjs +196 -196
- package/esm2020/lib/components/fields/dropdown-field/index.mjs +2 -2
- package/esm2020/lib/components/fields/field-error-message/field-error-message.component.mjs +30 -30
- package/esm2020/lib/components/fields/field-error-message/index.mjs +2 -2
- package/esm2020/lib/components/fields/fields.module.mjs +205 -205
- package/esm2020/lib/components/fields/filters/filters.component.mjs +195 -195
- package/esm2020/lib/components/fields/filters/index.mjs +2 -2
- package/esm2020/lib/components/fields/index.mjs +19 -19
- package/esm2020/lib/components/fields/input-number-field/index.mjs +2 -2
- package/esm2020/lib/components/fields/input-number-field/input-number-field.component.mjs +82 -82
- package/esm2020/lib/components/fields/multiselect-field/index.mjs +2 -2
- package/esm2020/lib/components/fields/multiselect-field/multiselect-field.component.mjs +47 -47
- package/esm2020/lib/components/fields/percentage-field/index.mjs +2 -2
- package/esm2020/lib/components/fields/percentage-field/percentage-field.component.mjs +42 -42
- package/esm2020/lib/components/fields/radio-button-field/index.mjs +2 -2
- package/esm2020/lib/components/fields/radio-button-field/radio-button-field.component.mjs +38 -38
- package/esm2020/lib/components/fields/range-value/index.mjs +2 -2
- package/esm2020/lib/components/fields/range-value/range-value.component.mjs +72 -72
- package/esm2020/lib/components/fields/search-field/index.mjs +2 -2
- package/esm2020/lib/components/fields/search-field/search-field.component.mjs +33 -33
- package/esm2020/lib/components/fields/select-button-field/index.mjs +2 -2
- package/esm2020/lib/components/fields/select-button-field/select-button-field.component.mjs +20 -20
- package/esm2020/lib/components/fields/text-field/index.mjs +2 -2
- package/esm2020/lib/components/fields/text-field/text-field.component.mjs +211 -211
- package/esm2020/lib/components/fields/textarea-field/index.mjs +2 -2
- package/esm2020/lib/components/fields/textarea-field/textarea-field.component.mjs +81 -75
- package/esm2020/lib/components/generic-error-modal/generic-error-modal.component.mjs +30 -30
- package/esm2020/lib/components/generic-error-modal/generic-error-modal.module.mjs +20 -20
- package/esm2020/lib/components/generic-error-modal/index.mjs +3 -3
- package/esm2020/lib/components/generic-modal/generic-modal.component.mjs +66 -66
- package/esm2020/lib/components/generic-modal/generic-modal.module.mjs +20 -20
- package/esm2020/lib/components/generic-modal/index.mjs +3 -3
- package/esm2020/lib/components/index.mjs +13 -13
- package/esm2020/lib/components/menu/index.mjs +4 -4
- package/esm2020/lib/components/menu/menu.component.mjs +302 -302
- package/esm2020/lib/components/menu/menu.module.mjs +20 -20
- package/esm2020/lib/components/menu/sub-menus-list/sub-menus-list.component.mjs +42 -42
- package/esm2020/lib/components/panel/index.mjs +3 -3
- package/esm2020/lib/components/panel/panel.component.mjs +15 -15
- package/esm2020/lib/components/panel/panel.module.mjs +19 -19
- package/esm2020/lib/components/top-bar/index.mjs +3 -3
- package/esm2020/lib/components/top-bar/top-bar.component.mjs +102 -102
- package/esm2020/lib/components/top-bar/top-bar.module.mjs +19 -19
- package/esm2020/lib/guards/crud-list-has-items.guard.mjs +22 -22
- package/esm2020/lib/guards/get-token-by-guid.guard.mjs +54 -54
- package/esm2020/lib/guards/has-permission.guard.mjs +27 -27
- package/esm2020/lib/guards/index.mjs +6 -6
- package/esm2020/lib/guards/role.guard.mjs +24 -24
- package/esm2020/lib/guards/token-is-present.guard.mjs +26 -26
- package/esm2020/lib/interceptors/http-interceptor.mjs +183 -183
- package/esm2020/lib/interceptors/index.mjs +2 -2
- package/esm2020/lib/models/app-name.enum.mjs +9 -9
- package/esm2020/lib/models/boolean-type.enum.mjs +6 -6
- package/esm2020/lib/models/crud-history.model.mjs +3 -3
- package/esm2020/lib/models/crud-mode.enum.mjs +7 -7
- package/esm2020/lib/models/data-table.model.mjs +22 -22
- package/esm2020/lib/models/document-type.enum.mjs +6 -6
- package/esm2020/lib/models/filters.model.mjs +2 -2
- package/esm2020/lib/models/generic-modal.model.mjs +2 -2
- package/esm2020/lib/models/http-response.model.mjs +2 -2
- package/esm2020/lib/models/index.mjs +16 -16
- package/esm2020/lib/models/ip-info.enum.mjs +2 -2
- package/esm2020/lib/models/list-item.model.mjs +2 -2
- package/esm2020/lib/models/menu-item.model.mjs +2 -2
- package/esm2020/lib/models/message-status.enum.mjs +8 -8
- package/esm2020/lib/models/profile.model.mjs +217 -217
- package/esm2020/lib/models/role.enum.mjs +5 -5
- package/esm2020/lib/models/status.enum.mjs +8 -8
- package/esm2020/lib/models/view.enum.mjs +7 -7
- package/esm2020/lib/pipes/currency-brl.pipe.mjs +18 -18
- package/esm2020/lib/pipes/format-document.pipe.mjs +17 -17
- package/esm2020/lib/pipes/index.mjs +8 -8
- package/esm2020/lib/pipes/mask.pipe.mjs +21 -21
- package/esm2020/lib/pipes/not-hidden.pipe.mjs +16 -16
- package/esm2020/lib/pipes/only-active.pipe.mjs +16 -16
- package/esm2020/lib/pipes/pipes.module.mjs +21 -21
- package/esm2020/lib/pipes/remove-last-child.pipe.mjs +18 -18
- package/esm2020/lib/resolvers/get-selected-crud-item.resolver.mjs +28 -28
- package/esm2020/lib/resolvers/index.mjs +2 -2
- package/esm2020/lib/services/auth.service.mjs +77 -77
- package/esm2020/lib/services/base-dropdown.mjs +2 -2
- package/esm2020/lib/services/crud-base.service.mjs +14 -14
- package/esm2020/lib/services/enum.service.mjs +43 -43
- package/esm2020/lib/services/error-message.service.mjs +16 -16
- package/esm2020/lib/services/geolocation.service.mjs +23 -23
- package/esm2020/lib/services/index.mjs +12 -12
- package/esm2020/lib/services/loading.service.mjs +15 -15
- package/esm2020/lib/services/menu.service.mjs +147 -147
- package/esm2020/lib/services/modal.service.mjs +15 -15
- package/esm2020/lib/services/profile.service.mjs +100 -100
- package/esm2020/lib/services/storage.service.mjs +108 -108
- package/esm2020/lib/shared/shared.module.mjs +17 -17
- package/esm2020/lib/utils/cpf-cnpj-validator.util.mjs +116 -116
- package/esm2020/lib/utils/file.util.mjs +15 -15
- package/esm2020/lib/utils/index.mjs +8 -8
- package/esm2020/lib/utils/mask.util.mjs +71 -71
- package/esm2020/lib/utils/object.util.mjs +27 -27
- package/esm2020/lib/utils/string.util.mjs +16 -16
- package/esm2020/lib/utils/validation.util.mjs +234 -234
- package/esm2020/lib/utils/window.util.mjs +9 -9
- package/esm2020/ngx-vector-components.mjs +4 -4
- package/esm2020/public-api.mjs +9 -9
- package/fesm2015/ngx-vector-components.mjs +4230 -4224
- package/fesm2015/ngx-vector-components.mjs.map +1 -1
- package/fesm2020/ngx-vector-components.mjs +4207 -4201
- package/fesm2020/ngx-vector-components.mjs.map +1 -1
- package/lib/components/badge/badge.component.d.ts +15 -15
- package/lib/components/badge/badge.module.d.ts +9 -9
- package/lib/components/badge/index.d.ts +2 -2
- package/lib/components/breadcrumb/breadcrumb.component.d.ts +19 -19
- package/lib/components/breadcrumb/breadcrumb.module.d.ts +8 -8
- package/lib/components/breadcrumb/index.d.ts +2 -2
- package/lib/components/crud-base/crud-base.component.d.ts +20 -20
- package/lib/components/crud-base/index.d.ts +1 -1
- package/lib/components/crud-footer/crud-footer.component.d.ts +13 -13
- package/lib/components/crud-footer/crud-footer.module.d.ts +9 -9
- package/lib/components/crud-footer/index.d.ts +2 -2
- package/lib/components/crud-header/crud-header.component.d.ts +11 -11
- package/lib/components/crud-header/crud-header.module.d.ts +9 -9
- package/lib/components/crud-header/index.d.ts +2 -2
- package/lib/components/crud-history/crud-history.component.d.ts +12 -12
- package/lib/components/crud-history/crud-history.module.d.ts +10 -10
- package/lib/components/crud-history/index.d.ts +2 -2
- package/lib/components/fields/button/button.component.d.ts +17 -17
- package/lib/components/fields/button/index.d.ts +1 -1
- package/lib/components/fields/calendar-field/calendar-field.component.d.ts +23 -23
- package/lib/components/fields/calendar-field/index.d.ts +1 -1
- package/lib/components/fields/checkbox-field/checkbox-field.component.d.ts +19 -19
- package/lib/components/fields/checkbox-field/index.d.ts +1 -1
- package/lib/components/fields/currency-field/currency-field.component.d.ts +27 -27
- package/lib/components/fields/currency-field/index.d.ts +1 -1
- package/lib/components/fields/data-table/data-table.component.d.ts +78 -78
- package/lib/components/fields/data-table/index.d.ts +1 -1
- package/lib/components/fields/dropdown-field/dropdown-field.component.d.ts +50 -50
- package/lib/components/fields/dropdown-field/index.d.ts +1 -1
- package/lib/components/fields/field-error-message/field-error-message.component.d.ts +10 -10
- package/lib/components/fields/field-error-message/index.d.ts +1 -1
- package/lib/components/fields/fields.module.d.ts +46 -46
- package/lib/components/fields/filters/filters.component.d.ts +61 -61
- package/lib/components/fields/filters/index.d.ts +1 -1
- package/lib/components/fields/index.d.ts +18 -18
- package/lib/components/fields/input-number-field/index.d.ts +1 -1
- package/lib/components/fields/input-number-field/input-number-field.component.d.ts +27 -27
- package/lib/components/fields/multiselect-field/index.d.ts +1 -1
- package/lib/components/fields/multiselect-field/multiselect-field.component.d.ts +15 -15
- package/lib/components/fields/percentage-field/index.d.ts +1 -1
- package/lib/components/fields/percentage-field/percentage-field.component.d.ts +16 -16
- package/lib/components/fields/radio-button-field/index.d.ts +1 -1
- package/lib/components/fields/radio-button-field/radio-button-field.component.d.ts +21 -21
- package/lib/components/fields/range-value/index.d.ts +1 -1
- package/lib/components/fields/range-value/range-value.component.d.ts +18 -18
- package/lib/components/fields/search-field/index.d.ts +1 -1
- package/lib/components/fields/search-field/search-field.component.d.ts +14 -14
- package/lib/components/fields/select-button-field/index.d.ts +1 -1
- package/lib/components/fields/select-button-field/select-button-field.component.d.ts +9 -9
- package/lib/components/fields/text-field/index.d.ts +1 -1
- package/lib/components/fields/text-field/text-field.component.d.ts +49 -49
- package/lib/components/fields/textarea-field/index.d.ts +1 -1
- package/lib/components/fields/textarea-field/textarea-field.component.d.ts +22 -20
- package/lib/components/generic-error-modal/generic-error-modal.component.d.ts +14 -14
- package/lib/components/generic-error-modal/generic-error-modal.module.d.ts +10 -10
- package/lib/components/generic-error-modal/index.d.ts +2 -2
- package/lib/components/generic-modal/generic-modal.component.d.ts +24 -24
- package/lib/components/generic-modal/generic-modal.module.d.ts +10 -10
- package/lib/components/generic-modal/index.d.ts +2 -2
- package/lib/components/index.d.ts +12 -12
- package/lib/components/menu/index.d.ts +3 -3
- package/lib/components/menu/menu.component.d.ts +54 -54
- package/lib/components/menu/menu.module.d.ts +10 -10
- package/lib/components/menu/sub-menus-list/sub-menus-list.component.d.ts +14 -14
- package/lib/components/panel/index.d.ts +2 -2
- package/lib/components/panel/panel.component.d.ts +8 -8
- package/lib/components/panel/panel.module.d.ts +9 -9
- package/lib/components/top-bar/index.d.ts +2 -2
- package/lib/components/top-bar/top-bar.component.d.ts +38 -38
- package/lib/components/top-bar/top-bar.module.d.ts +9 -9
- package/lib/guards/crud-list-has-items.guard.d.ts +10 -10
- package/lib/guards/get-token-by-guid.guard.d.ts +15 -15
- package/lib/guards/has-permission.guard.d.ts +13 -13
- package/lib/guards/index.d.ts +5 -5
- package/lib/guards/role.guard.d.ts +11 -11
- package/lib/guards/token-is-present.guard.d.ts +11 -11
- package/lib/interceptors/http-interceptor.d.ts +31 -31
- package/lib/interceptors/index.d.ts +1 -1
- package/lib/models/app-name.enum.d.ts +7 -7
- package/lib/models/boolean-type.enum.d.ts +4 -4
- package/lib/models/crud-history.model.d.ts +13 -13
- package/lib/models/crud-mode.enum.d.ts +5 -5
- package/lib/models/data-table.model.d.ts +62 -62
- package/lib/models/document-type.enum.d.ts +4 -4
- package/lib/models/filters.model.d.ts +4 -4
- package/lib/models/generic-modal.model.d.ts +13 -13
- package/lib/models/http-response.model.d.ts +40 -40
- package/lib/models/index.d.ts +15 -15
- package/lib/models/ip-info.enum.d.ts +6 -6
- package/lib/models/list-item.model.d.ts +6 -6
- package/lib/models/menu-item.model.d.ts +16 -16
- package/lib/models/message-status.enum.d.ts +6 -6
- package/lib/models/profile.model.d.ts +238 -238
- package/lib/models/role.enum.d.ts +3 -3
- package/lib/models/status.enum.d.ts +6 -6
- package/lib/models/view.enum.d.ts +5 -5
- package/lib/pipes/currency-brl.pipe.d.ts +7 -7
- package/lib/pipes/format-document.pipe.d.ts +7 -7
- package/lib/pipes/index.d.ts +7 -7
- package/lib/pipes/mask.pipe.d.ts +7 -7
- package/lib/pipes/not-hidden.pipe.d.ts +7 -7
- package/lib/pipes/only-active.pipe.d.ts +7 -7
- package/lib/pipes/pipes.module.d.ts +12 -12
- package/lib/pipes/remove-last-child.pipe.d.ts +7 -7
- package/lib/resolvers/get-selected-crud-item.resolver.d.ts +10 -10
- package/lib/resolvers/index.d.ts +1 -1
- package/lib/services/auth.service.d.ts +24 -24
- package/lib/services/base-dropdown.d.ts +7 -7
- package/lib/services/crud-base.service.d.ts +7 -7
- package/lib/services/enum.service.d.ts +13 -13
- package/lib/services/error-message.service.d.ts +8 -8
- package/lib/services/geolocation.service.d.ts +13 -13
- package/lib/services/index.d.ts +11 -11
- package/lib/services/loading.service.d.ts +7 -7
- package/lib/services/menu.service.d.ts +37 -37
- package/lib/services/modal.service.d.ts +7 -7
- package/lib/services/profile.service.d.ts +26 -26
- package/lib/services/storage.service.d.ts +43 -43
- package/lib/shared/shared.module.d.ts +9 -9
- package/lib/utils/cpf-cnpj-validator.util.d.ts +5 -5
- package/lib/utils/file.util.d.ts +4 -4
- package/lib/utils/index.d.ts +7 -7
- package/lib/utils/mask.util.d.ts +19 -19
- package/lib/utils/object.util.d.ts +5 -5
- package/lib/utils/string.util.d.ts +4 -4
- package/lib/utils/validation.util.d.ts +17 -17
- package/lib/utils/window.util.d.ts +4 -4
- package/ngx-vector-components.d.ts +5 -5
- package/package.json +1 -1
- package/public-api.d.ts +8 -8
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { Router } from '@angular/router';
|
|
3
|
-
import { AppName, MenuItem } from '../../models';
|
|
4
|
-
import { MenuService, ProfileService, StorageService } from '../../services';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class MenuComponent implements OnInit, OnDestroy {
|
|
7
|
-
private menuService;
|
|
8
|
-
private router;
|
|
9
|
-
private profileService;
|
|
10
|
-
private storageService;
|
|
11
|
-
private environment;
|
|
12
|
-
private currentApp;
|
|
13
|
-
options: MenuItem[];
|
|
14
|
-
activeOption: MenuItem | undefined;
|
|
15
|
-
activeSubmenuOption: MenuItem | undefined;
|
|
16
|
-
widthStyle: {
|
|
17
|
-
width: string;
|
|
18
|
-
};
|
|
19
|
-
lastAnimation: string;
|
|
20
|
-
appNameLabel: any;
|
|
21
|
-
adminOption: MenuItem | undefined;
|
|
22
|
-
apps: typeof AppName;
|
|
23
|
-
production: any;
|
|
24
|
-
onFinishMenuOptionsConfig: EventEmitter<any>;
|
|
25
|
-
set opened(opened: boolean);
|
|
26
|
-
get opened(): boolean;
|
|
27
|
-
get hasFintechAdminPermission(): boolean;
|
|
28
|
-
get hasMarketplaceAdminPermission(): boolean;
|
|
29
|
-
get hasAnyMarketplacePermission(): boolean;
|
|
30
|
-
get hasAnyFintechPermission(): boolean;
|
|
31
|
-
accountService: any;
|
|
32
|
-
private _opened;
|
|
33
|
-
private subscription;
|
|
34
|
-
private currentWindowWidth;
|
|
35
|
-
constructor(menuService: MenuService, router: Router, profileService: ProfileService, storageService: StorageService, environment: any, currentApp: string);
|
|
36
|
-
ngOnInit(): void;
|
|
37
|
-
onResize(): void;
|
|
38
|
-
handleKeyboardEvent(): void;
|
|
39
|
-
ngOnDestroy(): void;
|
|
40
|
-
toggleMenu(): void;
|
|
41
|
-
onMenuClick(option: MenuItem): void;
|
|
42
|
-
onSubmenuClick(submenuItem: MenuItem): void;
|
|
43
|
-
openTermsOfUse(): void;
|
|
44
|
-
isPortalSelected(portal: AppName): boolean;
|
|
45
|
-
navigateToPortal(params: {
|
|
46
|
-
portal: 'fintech' | 'logtech' | 'marketplace';
|
|
47
|
-
admin: boolean;
|
|
48
|
-
}): void;
|
|
49
|
-
getMenuNotificationsCount(menu: MenuItem): number;
|
|
50
|
-
private clearAndCloseMenu;
|
|
51
|
-
private resizeMenu;
|
|
52
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MenuComponent, never>;
|
|
53
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MenuComponent, "vector-menu", never, { "accountService": "accountService"; }, { "onFinishMenuOptionsConfig": "onFinishMenuOptionsConfig"; }, never, never>;
|
|
54
|
-
}
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { AppName, MenuItem } from '../../models';
|
|
4
|
+
import { MenuService, ProfileService, StorageService } from '../../services';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class MenuComponent implements OnInit, OnDestroy {
|
|
7
|
+
private menuService;
|
|
8
|
+
private router;
|
|
9
|
+
private profileService;
|
|
10
|
+
private storageService;
|
|
11
|
+
private environment;
|
|
12
|
+
private currentApp;
|
|
13
|
+
options: MenuItem[];
|
|
14
|
+
activeOption: MenuItem | undefined;
|
|
15
|
+
activeSubmenuOption: MenuItem | undefined;
|
|
16
|
+
widthStyle: {
|
|
17
|
+
width: string;
|
|
18
|
+
};
|
|
19
|
+
lastAnimation: string;
|
|
20
|
+
appNameLabel: any;
|
|
21
|
+
adminOption: MenuItem | undefined;
|
|
22
|
+
apps: typeof AppName;
|
|
23
|
+
production: any;
|
|
24
|
+
onFinishMenuOptionsConfig: EventEmitter<any>;
|
|
25
|
+
set opened(opened: boolean);
|
|
26
|
+
get opened(): boolean;
|
|
27
|
+
get hasFintechAdminPermission(): boolean;
|
|
28
|
+
get hasMarketplaceAdminPermission(): boolean;
|
|
29
|
+
get hasAnyMarketplacePermission(): boolean;
|
|
30
|
+
get hasAnyFintechPermission(): boolean;
|
|
31
|
+
accountService: any;
|
|
32
|
+
private _opened;
|
|
33
|
+
private subscription;
|
|
34
|
+
private currentWindowWidth;
|
|
35
|
+
constructor(menuService: MenuService, router: Router, profileService: ProfileService, storageService: StorageService, environment: any, currentApp: string);
|
|
36
|
+
ngOnInit(): void;
|
|
37
|
+
onResize(): void;
|
|
38
|
+
handleKeyboardEvent(): void;
|
|
39
|
+
ngOnDestroy(): void;
|
|
40
|
+
toggleMenu(): void;
|
|
41
|
+
onMenuClick(option: MenuItem): void;
|
|
42
|
+
onSubmenuClick(submenuItem: MenuItem): void;
|
|
43
|
+
openTermsOfUse(): void;
|
|
44
|
+
isPortalSelected(portal: AppName): boolean;
|
|
45
|
+
navigateToPortal(params: {
|
|
46
|
+
portal: 'fintech' | 'logtech' | 'marketplace';
|
|
47
|
+
admin: boolean;
|
|
48
|
+
}): void;
|
|
49
|
+
getMenuNotificationsCount(menu: MenuItem): number;
|
|
50
|
+
private clearAndCloseMenu;
|
|
51
|
+
private resizeMenu;
|
|
52
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MenuComponent, never>;
|
|
53
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MenuComponent, "vector-menu", never, { "accountService": "accountService"; }, { "onFinishMenuOptionsConfig": "onFinishMenuOptionsConfig"; }, never, never>;
|
|
54
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./menu.component";
|
|
3
|
-
import * as i2 from "./sub-menus-list/sub-menus-list.component";
|
|
4
|
-
import * as i3 from "../../shared/shared.module";
|
|
5
|
-
import * as i4 from "primeng/overlaypanel";
|
|
6
|
-
export declare class MenuModule {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MenuModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MenuModule, [typeof i1.MenuComponent, typeof i2.SubMenusListComponent], [typeof i3.SharedModule, typeof i4.OverlayPanelModule], [typeof i1.MenuComponent]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MenuModule>;
|
|
10
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./menu.component";
|
|
3
|
+
import * as i2 from "./sub-menus-list/sub-menus-list.component";
|
|
4
|
+
import * as i3 from "../../shared/shared.module";
|
|
5
|
+
import * as i4 from "primeng/overlaypanel";
|
|
6
|
+
export declare class MenuModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MenuModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MenuModule, [typeof i1.MenuComponent, typeof i2.SubMenusListComponent], [typeof i3.SharedModule, typeof i4.OverlayPanelModule], [typeof i1.MenuComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MenuModule>;
|
|
10
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { MenuItem } from '../../../models';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class SubMenusListComponent {
|
|
5
|
-
showList: boolean;
|
|
6
|
-
options: MenuItem[] | undefined;
|
|
7
|
-
childLevel: number;
|
|
8
|
-
submenuSelected: MenuItem | undefined;
|
|
9
|
-
submenuSelectedChange: EventEmitter<MenuItem>;
|
|
10
|
-
submenuClick(option: MenuItem): void;
|
|
11
|
-
get paddingLeft(): string;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SubMenusListComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SubMenusListComponent, "vector-sub-menus-list", never, { "showList": "showList"; "options": "options"; "childLevel": "childLevel"; "submenuSelected": "submenuSelected"; }, { "submenuSelectedChange": "submenuSelectedChange"; }, never, never>;
|
|
14
|
-
}
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { MenuItem } from '../../../models';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SubMenusListComponent {
|
|
5
|
+
showList: boolean;
|
|
6
|
+
options: MenuItem[] | undefined;
|
|
7
|
+
childLevel: number;
|
|
8
|
+
submenuSelected: MenuItem | undefined;
|
|
9
|
+
submenuSelectedChange: EventEmitter<MenuItem>;
|
|
10
|
+
submenuClick(option: MenuItem): void;
|
|
11
|
+
get paddingLeft(): string;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SubMenusListComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SubMenusListComponent, "vector-sub-menus-list", never, { "showList": "showList"; "options": "options"; "childLevel": "childLevel"; "submenuSelected": "submenuSelected"; }, { "submenuSelectedChange": "submenuSelectedChange"; }, never, never>;
|
|
14
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './panel.component';
|
|
2
|
-
export * from './panel.module';
|
|
1
|
+
export * from './panel.component';
|
|
2
|
+
export * from './panel.module';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class PanelComponent implements OnInit {
|
|
4
|
-
constructor();
|
|
5
|
-
ngOnInit(): void;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PanelComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PanelComponent, "vector-panel", never, {}, {}, never, ["*"]>;
|
|
8
|
-
}
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class PanelComponent implements OnInit {
|
|
4
|
+
constructor();
|
|
5
|
+
ngOnInit(): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PanelComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PanelComponent, "vector-panel", never, {}, {}, never, ["*"]>;
|
|
8
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./panel.component";
|
|
3
|
-
import * as i2 from "../../shared/shared.module";
|
|
4
|
-
import * as i3 from "primeng/panel";
|
|
5
|
-
export declare class PanelModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PanelModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PanelModule, [typeof i1.PanelComponent], [typeof i2.SharedModule, typeof i3.PanelModule], [typeof i1.PanelComponent]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<PanelModule>;
|
|
9
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./panel.component";
|
|
3
|
+
import * as i2 from "../../shared/shared.module";
|
|
4
|
+
import * as i3 from "primeng/panel";
|
|
5
|
+
export declare class PanelModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PanelModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PanelModule, [typeof i1.PanelComponent], [typeof i2.SharedModule, typeof i3.PanelModule], [typeof i1.PanelComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PanelModule>;
|
|
9
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './top-bar.component';
|
|
2
|
-
export * from './top-bar.module';
|
|
1
|
+
export * from './top-bar.component';
|
|
2
|
+
export * from './top-bar.module';
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { Router } from '@angular/router';
|
|
3
|
-
import { AuthService, ProfileService, StorageService } from '../../services';
|
|
4
|
-
import { MenuService } from '../../services/menu.service';
|
|
5
|
-
import { MaskUtil } from '../../utils';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class TopBarComponent implements OnInit, OnDestroy {
|
|
8
|
-
private menuService;
|
|
9
|
-
private authService;
|
|
10
|
-
private router;
|
|
11
|
-
private profileService;
|
|
12
|
-
private storageService;
|
|
13
|
-
hideElements: boolean;
|
|
14
|
-
openedMenu: boolean;
|
|
15
|
-
openedChangeAccountMenu: boolean;
|
|
16
|
-
doingOnboarding: boolean;
|
|
17
|
-
vectorFirstName: any;
|
|
18
|
-
currentAccount: any;
|
|
19
|
-
isAdmin: boolean;
|
|
20
|
-
otherAccounts: any[];
|
|
21
|
-
maskUtil: typeof MaskUtil;
|
|
22
|
-
fintech: boolean;
|
|
23
|
-
accountService: any;
|
|
24
|
-
private subscription;
|
|
25
|
-
constructor(menuService: MenuService, authService: AuthService, router: Router, profileService: ProfileService, storageService: StorageService);
|
|
26
|
-
ngOnInit(): void;
|
|
27
|
-
ngOnDestroy(): void;
|
|
28
|
-
toggleMenu(): void;
|
|
29
|
-
logout(): void;
|
|
30
|
-
isDesktop(): boolean;
|
|
31
|
-
changeAccount(newAccount: any): void;
|
|
32
|
-
goToTermsOfUse(): void;
|
|
33
|
-
goToPasswordChange(): void;
|
|
34
|
-
goToTariff(): void;
|
|
35
|
-
goToOnboarding(): void;
|
|
36
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TopBarComponent, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TopBarComponent, "vector-top-bar", never, { "fintech": "fintech"; "accountService": "accountService"; }, {}, never, never>;
|
|
38
|
-
}
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { AuthService, ProfileService, StorageService } from '../../services';
|
|
4
|
+
import { MenuService } from '../../services/menu.service';
|
|
5
|
+
import { MaskUtil } from '../../utils';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class TopBarComponent implements OnInit, OnDestroy {
|
|
8
|
+
private menuService;
|
|
9
|
+
private authService;
|
|
10
|
+
private router;
|
|
11
|
+
private profileService;
|
|
12
|
+
private storageService;
|
|
13
|
+
hideElements: boolean;
|
|
14
|
+
openedMenu: boolean;
|
|
15
|
+
openedChangeAccountMenu: boolean;
|
|
16
|
+
doingOnboarding: boolean;
|
|
17
|
+
vectorFirstName: any;
|
|
18
|
+
currentAccount: any;
|
|
19
|
+
isAdmin: boolean;
|
|
20
|
+
otherAccounts: any[];
|
|
21
|
+
maskUtil: typeof MaskUtil;
|
|
22
|
+
fintech: boolean;
|
|
23
|
+
accountService: any;
|
|
24
|
+
private subscription;
|
|
25
|
+
constructor(menuService: MenuService, authService: AuthService, router: Router, profileService: ProfileService, storageService: StorageService);
|
|
26
|
+
ngOnInit(): void;
|
|
27
|
+
ngOnDestroy(): void;
|
|
28
|
+
toggleMenu(): void;
|
|
29
|
+
logout(): void;
|
|
30
|
+
isDesktop(): boolean;
|
|
31
|
+
changeAccount(newAccount: any): void;
|
|
32
|
+
goToTermsOfUse(): void;
|
|
33
|
+
goToPasswordChange(): void;
|
|
34
|
+
goToTariff(): void;
|
|
35
|
+
goToOnboarding(): void;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TopBarComponent, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TopBarComponent, "vector-top-bar", never, { "fintech": "fintech"; "accountService": "accountService"; }, {}, never, never>;
|
|
38
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./top-bar.component";
|
|
3
|
-
import * as i2 from "../../shared/shared.module";
|
|
4
|
-
import * as i3 from "primeng/overlaypanel";
|
|
5
|
-
export declare class TopBarModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TopBarModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TopBarModule, [typeof i1.TopBarComponent], [typeof i2.SharedModule, typeof i3.OverlayPanelModule], [typeof i1.TopBarComponent]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TopBarModule>;
|
|
9
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./top-bar.component";
|
|
3
|
+
import * as i2 from "../../shared/shared.module";
|
|
4
|
+
import * as i3 from "primeng/overlaypanel";
|
|
5
|
+
export declare class TopBarModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TopBarModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TopBarModule, [typeof i1.TopBarComponent], [typeof i2.SharedModule, typeof i3.OverlayPanelModule], [typeof i1.TopBarComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TopBarModule>;
|
|
9
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Injector } from '@angular/core';
|
|
2
|
-
import { ActivatedRouteSnapshot, CanActivate } from '@angular/router';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class CrudListHasItemsGuard implements CanActivate {
|
|
5
|
-
private injector;
|
|
6
|
-
constructor(injector: Injector);
|
|
7
|
-
canActivate(route: ActivatedRouteSnapshot): boolean;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CrudListHasItemsGuard, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CrudListHasItemsGuard>;
|
|
10
|
-
}
|
|
1
|
+
import { Injector } from '@angular/core';
|
|
2
|
+
import { ActivatedRouteSnapshot, CanActivate } from '@angular/router';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CrudListHasItemsGuard implements CanActivate {
|
|
5
|
+
private injector;
|
|
6
|
+
constructor(injector: Injector);
|
|
7
|
+
canActivate(route: ActivatedRouteSnapshot): boolean;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CrudListHasItemsGuard, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CrudListHasItemsGuard>;
|
|
10
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { ActivatedRouteSnapshot, CanActivate, Router } from '@angular/router';
|
|
2
|
-
import { AppName } from '../models';
|
|
3
|
-
import { AuthService, ProfileService, StorageService } from '../services';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class GetTokenByGuidGuard implements CanActivate {
|
|
6
|
-
private authService;
|
|
7
|
-
private storageService;
|
|
8
|
-
private router;
|
|
9
|
-
private profileService;
|
|
10
|
-
private appName;
|
|
11
|
-
constructor(authService: AuthService, storageService: StorageService, router: Router, profileService: ProfileService, appName: AppName);
|
|
12
|
-
canActivate(route: ActivatedRouteSnapshot): boolean | import("rxjs").Observable<boolean> | import("@angular/router").UrlTree;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GetTokenByGuidGuard, never>;
|
|
14
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<GetTokenByGuidGuard>;
|
|
15
|
-
}
|
|
1
|
+
import { ActivatedRouteSnapshot, CanActivate, Router } from '@angular/router';
|
|
2
|
+
import { AppName } from '../models';
|
|
3
|
+
import { AuthService, ProfileService, StorageService } from '../services';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class GetTokenByGuidGuard implements CanActivate {
|
|
6
|
+
private authService;
|
|
7
|
+
private storageService;
|
|
8
|
+
private router;
|
|
9
|
+
private profileService;
|
|
10
|
+
private appName;
|
|
11
|
+
constructor(authService: AuthService, storageService: StorageService, router: Router, profileService: ProfileService, appName: AppName);
|
|
12
|
+
canActivate(route: ActivatedRouteSnapshot): boolean | import("rxjs").Observable<boolean> | import("@angular/router").UrlTree;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GetTokenByGuidGuard, never>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GetTokenByGuidGuard>;
|
|
15
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { ActivatedRouteSnapshot, CanActivate, Router } from '@angular/router';
|
|
2
|
-
import { AppName } from '../models';
|
|
3
|
-
import { ProfileService } from '../services';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class HasPermissionGuard implements CanActivate {
|
|
6
|
-
private profileService;
|
|
7
|
-
private router;
|
|
8
|
-
private appName;
|
|
9
|
-
constructor(profileService: ProfileService, router: Router, appName: AppName);
|
|
10
|
-
canActivate(routeSnapshot: ActivatedRouteSnapshot): true | import("@angular/router").UrlTree;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HasPermissionGuard, never>;
|
|
12
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<HasPermissionGuard>;
|
|
13
|
-
}
|
|
1
|
+
import { ActivatedRouteSnapshot, CanActivate, Router } from '@angular/router';
|
|
2
|
+
import { AppName } from '../models';
|
|
3
|
+
import { ProfileService } from '../services';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class HasPermissionGuard implements CanActivate {
|
|
6
|
+
private profileService;
|
|
7
|
+
private router;
|
|
8
|
+
private appName;
|
|
9
|
+
constructor(profileService: ProfileService, router: Router, appName: AppName);
|
|
10
|
+
canActivate(routeSnapshot: ActivatedRouteSnapshot): true | import("@angular/router").UrlTree;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HasPermissionGuard, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<HasPermissionGuard>;
|
|
13
|
+
}
|
package/lib/guards/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './crud-list-has-items.guard';
|
|
2
|
-
export * from './get-token-by-guid.guard';
|
|
3
|
-
export * from './has-permission.guard';
|
|
4
|
-
export * from './role.guard';
|
|
5
|
-
export * from './token-is-present.guard';
|
|
1
|
+
export * from './crud-list-has-items.guard';
|
|
2
|
+
export * from './get-token-by-guid.guard';
|
|
3
|
+
export * from './has-permission.guard';
|
|
4
|
+
export * from './role.guard';
|
|
5
|
+
export * from './token-is-present.guard';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ActivatedRouteSnapshot, CanActivate, Router } from '@angular/router';
|
|
2
|
-
import { StorageService } from '../services';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class RoleGuard implements CanActivate {
|
|
5
|
-
private storageService;
|
|
6
|
-
private router;
|
|
7
|
-
constructor(storageService: StorageService, router: Router);
|
|
8
|
-
canActivate(routeSnapshot: ActivatedRouteSnapshot): true | import("@angular/router").UrlTree;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RoleGuard, never>;
|
|
10
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<RoleGuard>;
|
|
11
|
-
}
|
|
1
|
+
import { ActivatedRouteSnapshot, CanActivate, Router } from '@angular/router';
|
|
2
|
+
import { StorageService } from '../services';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class RoleGuard implements CanActivate {
|
|
5
|
+
private storageService;
|
|
6
|
+
private router;
|
|
7
|
+
constructor(storageService: StorageService, router: Router);
|
|
8
|
+
canActivate(routeSnapshot: ActivatedRouteSnapshot): true | import("@angular/router").UrlTree;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RoleGuard, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RoleGuard>;
|
|
11
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ActivatedRouteSnapshot, CanActivate } from '@angular/router';
|
|
2
|
-
import { AuthService, StorageService } from '../services';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TokenIsPresentGuard implements CanActivate {
|
|
5
|
-
private storageService;
|
|
6
|
-
private authService;
|
|
7
|
-
constructor(storageService: StorageService, authService: AuthService);
|
|
8
|
-
canActivate(routeSnapshot: ActivatedRouteSnapshot): boolean | Promise<boolean>;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TokenIsPresentGuard, never>;
|
|
10
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TokenIsPresentGuard>;
|
|
11
|
-
}
|
|
1
|
+
import { ActivatedRouteSnapshot, CanActivate } from '@angular/router';
|
|
2
|
+
import { AuthService, StorageService } from '../services';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TokenIsPresentGuard implements CanActivate {
|
|
5
|
+
private storageService;
|
|
6
|
+
private authService;
|
|
7
|
+
constructor(storageService: StorageService, authService: AuthService);
|
|
8
|
+
canActivate(routeSnapshot: ActivatedRouteSnapshot): boolean | Promise<boolean>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TokenIsPresentGuard, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TokenIsPresentGuard>;
|
|
11
|
+
}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';
|
|
2
|
-
import { MessageService } from 'primeng/api';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { AuthService, ErrorMessageService, LoadingService, StorageService } from '../services';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class HttpInterceptorProvider implements HttpInterceptor {
|
|
7
|
-
private storageService;
|
|
8
|
-
private errorMessageService;
|
|
9
|
-
private loadingService;
|
|
10
|
-
private authService;
|
|
11
|
-
private messageService;
|
|
12
|
-
private environment;
|
|
13
|
-
private activeRequests;
|
|
14
|
-
private isRefreshing;
|
|
15
|
-
private refreshTokenSubject;
|
|
16
|
-
constructor(storageService: StorageService, errorMessageService: ErrorMessageService, loadingService: LoadingService, authService: AuthService, messageService: MessageService, environment: any);
|
|
17
|
-
intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
|
|
18
|
-
private isRefreshTokenRequest;
|
|
19
|
-
private getUrlWithoutParams;
|
|
20
|
-
private addTokenIfPresent;
|
|
21
|
-
private addModifierIdIfPresent;
|
|
22
|
-
private addEncryptPasswordIfPresent;
|
|
23
|
-
private addAccountUuidIfPresent;
|
|
24
|
-
private addContentType;
|
|
25
|
-
private fixUrl;
|
|
26
|
-
private isAuthRequest;
|
|
27
|
-
private isProfilesRequest;
|
|
28
|
-
private handle401Error;
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HttpInterceptorProvider, never>;
|
|
30
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<HttpInterceptorProvider>;
|
|
31
|
-
}
|
|
1
|
+
import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';
|
|
2
|
+
import { MessageService } from 'primeng/api';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { AuthService, ErrorMessageService, LoadingService, StorageService } from '../services';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class HttpInterceptorProvider implements HttpInterceptor {
|
|
7
|
+
private storageService;
|
|
8
|
+
private errorMessageService;
|
|
9
|
+
private loadingService;
|
|
10
|
+
private authService;
|
|
11
|
+
private messageService;
|
|
12
|
+
private environment;
|
|
13
|
+
private activeRequests;
|
|
14
|
+
private isRefreshing;
|
|
15
|
+
private refreshTokenSubject;
|
|
16
|
+
constructor(storageService: StorageService, errorMessageService: ErrorMessageService, loadingService: LoadingService, authService: AuthService, messageService: MessageService, environment: any);
|
|
17
|
+
intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
|
|
18
|
+
private isRefreshTokenRequest;
|
|
19
|
+
private getUrlWithoutParams;
|
|
20
|
+
private addTokenIfPresent;
|
|
21
|
+
private addModifierIdIfPresent;
|
|
22
|
+
private addEncryptPasswordIfPresent;
|
|
23
|
+
private addAccountUuidIfPresent;
|
|
24
|
+
private addContentType;
|
|
25
|
+
private fixUrl;
|
|
26
|
+
private isAuthRequest;
|
|
27
|
+
private isProfilesRequest;
|
|
28
|
+
private handle401Error;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HttpInterceptorProvider, never>;
|
|
30
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<HttpInterceptorProvider>;
|
|
31
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './http-interceptor';
|
|
1
|
+
export * from './http-interceptor';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare enum AppName {
|
|
2
|
-
PORTAL = "PORTAL",
|
|
3
|
-
FINTECH = "FINTECH",
|
|
4
|
-
MARKETPLACE = "MARKETPLACE",
|
|
5
|
-
LOGTECH = "LOGTECH",
|
|
6
|
-
SURVEY = "SURVEY"
|
|
7
|
-
}
|
|
1
|
+
export declare enum AppName {
|
|
2
|
+
PORTAL = "PORTAL",
|
|
3
|
+
FINTECH = "FINTECH",
|
|
4
|
+
MARKETPLACE = "MARKETPLACE",
|
|
5
|
+
LOGTECH = "LOGTECH",
|
|
6
|
+
SURVEY = "SURVEY"
|
|
7
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare enum BooleanType {
|
|
2
|
-
YES = "YES",
|
|
3
|
-
NO = "NO"
|
|
4
|
-
}
|
|
1
|
+
export declare enum BooleanType {
|
|
2
|
+
YES = "YES",
|
|
3
|
+
NO = "NO"
|
|
4
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export declare class CrudHistory<T> {
|
|
2
|
-
eventType?: string;
|
|
3
|
-
modifierName?: string;
|
|
4
|
-
dateTime?: Date;
|
|
5
|
-
auditId?: number;
|
|
6
|
-
typeOfModification?: string;
|
|
7
|
-
dataAuditDelta?: DataAuditDelta[];
|
|
8
|
-
}
|
|
9
|
-
export declare type DataAuditDelta = {
|
|
10
|
-
fieldName?: string;
|
|
11
|
-
newValue?: string;
|
|
12
|
-
oldValue?: string;
|
|
13
|
-
};
|
|
1
|
+
export declare class CrudHistory<T> {
|
|
2
|
+
eventType?: string;
|
|
3
|
+
modifierName?: string;
|
|
4
|
+
dateTime?: Date;
|
|
5
|
+
auditId?: number;
|
|
6
|
+
typeOfModification?: string;
|
|
7
|
+
dataAuditDelta?: DataAuditDelta[];
|
|
8
|
+
}
|
|
9
|
+
export declare type DataAuditDelta = {
|
|
10
|
+
fieldName?: string;
|
|
11
|
+
newValue?: string;
|
|
12
|
+
oldValue?: string;
|
|
13
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare enum CrudMode {
|
|
2
|
-
NEW = 0,
|
|
3
|
-
EDIT = 1,
|
|
4
|
-
VIEW = 2
|
|
5
|
-
}
|
|
1
|
+
export declare enum CrudMode {
|
|
2
|
+
NEW = 0,
|
|
3
|
+
EDIT = 1,
|
|
4
|
+
VIEW = 2
|
|
5
|
+
}
|