monkey-front-core 0.0.500 → 0.0.502
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/components/alerts/alerts.component.mjs +45 -45
- package/esm2020/lib/components/alerts/alerts.module.mjs +21 -21
- package/esm2020/lib/components/alerts/index.mjs +3 -3
- package/esm2020/lib/components/closed-to-maintenance/closed-to-maintenance.component.mjs +29 -29
- package/esm2020/lib/components/closed-to-maintenance/closed-to-maintenance.module.mjs +43 -43
- package/esm2020/lib/components/closed-to-maintenance/index.mjs +3 -3
- package/esm2020/lib/components/currency-config/currency-config.component.mjs +39 -39
- package/esm2020/lib/components/currency-config/currency-config.module.mjs +39 -39
- package/esm2020/lib/components/currency-config/index.mjs +3 -3
- package/esm2020/lib/components/index.mjs +6 -6
- package/esm2020/lib/components/progress-bar/index.mjs +4 -4
- package/esm2020/lib/components/progress-bar/progress-bar.component.mjs +23 -23
- package/esm2020/lib/components/progress-bar/progress-bar.module.mjs +18 -18
- package/esm2020/lib/components/progress-bar/progress-bar.service.mjs +50 -50
- package/esm2020/lib/components/version-changed/index.mjs +3 -3
- package/esm2020/lib/components/version-changed/version-changed.component.mjs +24 -24
- package/esm2020/lib/components/version-changed/version-changed.module.mjs +39 -39
- package/esm2020/lib/core/decorators/index.mjs +5 -5
- package/esm2020/lib/core/decorators/monkeyecx-charts-decorators.mjs +40 -40
- package/esm2020/lib/core/decorators/monkeyecx-decorators.mjs +111 -111
- package/esm2020/lib/core/decorators/monkeyecx-download-decorators.mjs +26 -26
- package/esm2020/lib/core/decorators/monkeyecx-upload-decorators.mjs +26 -26
- package/esm2020/lib/core/directives/index.mjs +13 -13
- package/esm2020/lib/core/directives/monkeyecx-directives-module.mjs +73 -73
- package/esm2020/lib/core/directives/monkeyecx-drag-drop.mjs +57 -57
- package/esm2020/lib/core/directives/monkeyecx-feature-by-program-directive.mjs +54 -54
- package/esm2020/lib/core/directives/monkeyecx-feature-directive.mjs +68 -68
- package/esm2020/lib/core/directives/monkeyecx-format-currency.mjs +44 -44
- package/esm2020/lib/core/directives/monkeyecx-format-upper.mjs +67 -67
- package/esm2020/lib/core/directives/monkeyecx-only-alpha-numeric-directive.mjs +28 -28
- package/esm2020/lib/core/directives/monkeyecx-only-number-directive.mjs +28 -28
- package/esm2020/lib/core/directives/monkeyecx-popover-options.directive.mjs +39 -39
- package/esm2020/lib/core/directives/monkeyecx-popover.directive.mjs +212 -212
- package/esm2020/lib/core/directives/monkeyecx-security-directive.mjs +75 -75
- package/esm2020/lib/core/directives/monkeyecx-tooltip-directive.mjs +123 -123
- package/esm2020/lib/core/index.mjs +10 -10
- package/esm2020/lib/core/injectors/index.mjs +4 -4
- package/esm2020/lib/core/interceptors/index.mjs +6 -6
- package/esm2020/lib/core/interceptors/monkeyecx-http-config-error.interceptor.mjs +49 -49
- package/esm2020/lib/core/interceptors/monkeyecx-http-config-header.interceptor.mjs +59 -59
- package/esm2020/lib/core/interceptors/monkeyecx-http-config-interceptor.module.mjs +47 -47
- package/esm2020/lib/core/interceptors/monkeyecx-http-config-loading-in-progress.interceptor.mjs +43 -43
- package/esm2020/lib/core/interceptors/monkeyecx-http-config-queue.interceptor.mjs +37 -37
- package/esm2020/lib/core/interfaces/index.mjs +35 -35
- package/esm2020/lib/core/interfaces/monkeyecx-auth-credentials.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-company-pendencies.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-company.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-config-bootstrap.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-config.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-country-security.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-error-response.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-filter.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-handled-error-response.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-header-credentials.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-intercom-options.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-interface.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-me-credentials.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-navigation.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-pagination.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-program.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-releases.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-request-in-progress.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-request-paged.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-resolver.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-response-links.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-response-paged.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-saved-state.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-scroll-options.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-service-credentials.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-storage.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-store.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-support-options.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-token-credentials.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-translate-options.mjs +2 -2
- package/esm2020/lib/core/interfaces/request-download/index.mjs +4 -4
- package/esm2020/lib/core/interfaces/request-download/monkeyecx-request-download.mjs +2 -2
- package/esm2020/lib/core/interfaces/request-download/monkeyecx-request-downloaded.mjs +2 -2
- package/esm2020/lib/core/interfaces/request-download/monkeyecx-request-item-download.mjs +2 -2
- package/esm2020/lib/core/interfaces/request-queue/index.mjs +4 -4
- package/esm2020/lib/core/interfaces/request-queue/monkeyecx-request-item-queue.mjs +2 -2
- package/esm2020/lib/core/interfaces/request-queue/monkeyecx-request-progress-queue.mjs +2 -2
- package/esm2020/lib/core/interfaces/request-queue/monkeyecx-request-queue.mjs +2 -2
- package/esm2020/lib/core/interfaces/request-upload/index.mjs +3 -3
- package/esm2020/lib/core/interfaces/request-upload/monkeyecx-request-item-upload.mjs +2 -2
- package/esm2020/lib/core/interfaces/request-upload/monkeyecx-request-upload.mjs +2 -2
- package/esm2020/lib/core/interfaces/schedules/index.mjs +2 -2
- package/esm2020/lib/core/interfaces/schedules/monkeyecx-request-schedule.mjs +2 -2
- package/esm2020/lib/core/model/index.mjs +3 -3
- package/esm2020/lib/core/model/monkeyecx-links.model.mjs +8 -8
- package/esm2020/lib/core/model/monkeyecx-model.mjs +26 -26
- package/esm2020/lib/core/pipes/index.mjs +22 -22
- package/esm2020/lib/core/pipes/monkeyecx-blob-secure.mjs +26 -26
- package/esm2020/lib/core/pipes/monkeyecx-display-first-name.mjs +19 -19
- package/esm2020/lib/core/pipes/monkeyecx-display-initials.mjs +21 -21
- package/esm2020/lib/core/pipes/monkeyecx-display-support-phone.mjs +33 -33
- package/esm2020/lib/core/pipes/monkeyecx-format-address.mjs +20 -20
- package/esm2020/lib/core/pipes/monkeyecx-format-beautify-json.mjs +38 -38
- package/esm2020/lib/core/pipes/monkeyecx-format-currency.mjs +42 -42
- package/esm2020/lib/core/pipes/monkeyecx-format-date-group.mjs +45 -45
- package/esm2020/lib/core/pipes/monkeyecx-format-date-timelapse.mjs +32 -32
- package/esm2020/lib/core/pipes/monkeyecx-format-date-unix-timelapse.mjs +36 -36
- package/esm2020/lib/core/pipes/monkeyecx-format-date.mjs +29 -29
- package/esm2020/lib/core/pipes/monkeyecx-format-document.mjs +20 -20
- package/esm2020/lib/core/pipes/monkeyecx-format-number.mjs +20 -20
- package/esm2020/lib/core/pipes/monkeyecx-format-phone.mjs +42 -42
- package/esm2020/lib/core/pipes/monkeyecx-format-size.mjs +20 -20
- package/esm2020/lib/core/pipes/monkeyecx-format-tax.mjs +23 -23
- package/esm2020/lib/core/pipes/monkeyecx-format-type-document.mjs +19 -19
- package/esm2020/lib/core/pipes/monkeyecx-format-value.mjs +19 -19
- package/esm2020/lib/core/pipes/monkeyecx-format-zipcode.mjs +19 -19
- package/esm2020/lib/core/pipes/monkeyecx-pipes.module.mjs +121 -121
- package/esm2020/lib/core/pipes/monkeyecx-text-truncate.mjs +23 -23
- package/esm2020/lib/core/pipes/monkeyecx-truncate-qtd.mjs +16 -16
- package/esm2020/lib/core/services/alerts/index.mjs +2 -2
- package/esm2020/lib/core/services/alerts/monkeyecx-alerts.service.mjs +42 -42
- package/esm2020/lib/core/services/auth/index.mjs +6 -6
- package/esm2020/lib/core/services/auth/monkeyecx-auth-guard-company.service.mjs +28 -28
- package/esm2020/lib/core/services/auth/monkeyecx-auth-guard-login.service.mjs +27 -27
- package/esm2020/lib/core/services/auth/monkeyecx-auth-guard-role.service.mjs +79 -79
- package/esm2020/lib/core/services/auth/monkeyecx-auth-guard.service.mjs +26 -26
- package/esm2020/lib/core/services/auth/monkeyecx-authentication.service.mjs +78 -78
- package/esm2020/lib/core/services/commons/index.mjs +3 -3
- package/esm2020/lib/core/services/commons/monkeyecx-commons-resolve-base.service.mjs +108 -108
- package/esm2020/lib/core/services/commons/monkeyecx-commons-resolve.service.mjs +126 -126
- package/esm2020/lib/core/services/commons/monkeyecx-commons.service.mjs +362 -362
- package/esm2020/lib/core/services/config/monkeyecx-alerts-config.service.mjs +42 -42
- package/esm2020/lib/core/services/config/monkeyecx-config.module.mjs +28 -28
- package/esm2020/lib/core/services/config/monkeyecx-config.service.mjs +106 -106
- package/esm2020/lib/core/services/config/monkeyecx-currency-config.service.mjs +84 -84
- package/esm2020/lib/core/services/config/monkeyecx-error-config.service.mjs +85 -85
- package/esm2020/lib/core/services/config/monkeyecx-feature-toggle.service.mjs +76 -76
- package/esm2020/lib/core/services/config/monkeyecx-gtm-config.service.mjs +50 -50
- package/esm2020/lib/core/services/config/monkeyecx-i18n-config.service.mjs +138 -138
- package/esm2020/lib/core/services/config/monkeyecx-logs-config.service.mjs +34 -34
- package/esm2020/lib/core/services/config/monkeyecx-maintenance-config.service.mjs +37 -37
- package/esm2020/lib/core/services/config/monkeyecx-security-console-config.service.mjs +47 -47
- package/esm2020/lib/core/services/config/monkeyecx-service-worker-config.service.mjs +53 -53
- package/esm2020/lib/core/services/error/index.mjs +5 -5
- package/esm2020/lib/core/services/error/monkeyecx-error-handling.module.mjs +27 -27
- package/esm2020/lib/core/services/error/monkeyecx-error-handling.service.mjs +37 -37
- package/esm2020/lib/core/services/error/monkeyecx-http-error-handling.service.mjs +138 -138
- package/esm2020/lib/core/services/error/monkeyecx-others-errors-handling.service.mjs +29 -29
- package/esm2020/lib/core/services/index.mjs +26 -26
- package/esm2020/lib/core/services/logged/index.mjs +2 -2
- package/esm2020/lib/core/services/logged/monkeyecx-logged-handling.service.mjs +40 -40
- package/esm2020/lib/core/services/monkeyecx-handling.service.mjs +50 -50
- package/esm2020/lib/core/services/monkeyecx-service.service.mjs +104 -104
- package/esm2020/lib/core/services/pagination/index.mjs +2 -2
- package/esm2020/lib/core/services/pagination/monkeyecx-pagination.service.mjs +29 -29
- package/esm2020/lib/core/services/request-download/index.mjs +3 -3
- package/esm2020/lib/core/services/request-download/monkeyecx-request-download-handling.service.mjs +93 -93
- package/esm2020/lib/core/services/request-download/monkeyecx-request-downloaded-handling.service.mjs +61 -61
- package/esm2020/lib/core/services/request-paged/index.mjs +2 -2
- package/esm2020/lib/core/services/request-paged/monkeyecx-request-request-paged-handling.mjs +42 -42
- package/esm2020/lib/core/services/request-queue/index.mjs +3 -3
- package/esm2020/lib/core/services/request-queue/monkeyecx-request-queue-handling.service.mjs +114 -114
- package/esm2020/lib/core/services/request-queue/monkeyecx-request-queue-modal-handling.service.mjs +119 -119
- package/esm2020/lib/core/services/routes/index.mjs +2 -2
- package/esm2020/lib/core/services/routes/monkeyecx-dicovery-params.service.mjs +54 -54
- package/esm2020/lib/core/services/schedules/index.mjs +2 -2
- package/esm2020/lib/core/services/schedules/monkeyecx-request-schedule.service.mjs +188 -188
- package/esm2020/lib/core/services/storage/index.mjs +3 -3
- package/esm2020/lib/core/services/storage/monkeyecx-cookie-storage.service.mjs +32 -32
- package/esm2020/lib/core/services/storage/monkeyecx-token-storage.service.mjs +236 -236
- package/esm2020/lib/core/services/store/index.mjs +4 -4
- package/esm2020/lib/core/services/store/monkeyecx-store-base.service.mjs +170 -170
- package/esm2020/lib/core/services/store/monkeyecx-store.actions.mjs +25 -25
- package/esm2020/lib/core/services/store/monkeyecx-store.selector.mjs +80 -80
- package/esm2020/lib/core/services/store/monkeyecx-store.service.mjs +189 -189
- package/esm2020/lib/core/specification-search/index.mjs +2 -2
- package/esm2020/lib/core/specification-search/monkeyecx-specification-search.mjs +108 -108
- package/esm2020/lib/core/utils/decorators-utils.mjs +40 -40
- package/esm2020/lib/core/utils/index.mjs +8 -8
- package/esm2020/lib/core/utils/statics.mjs +45 -45
- package/esm2020/lib/core/utils/utils.mjs +267 -267
- package/esm2020/lib/core/utils/validate-utils.mjs +205 -205
- package/esm2020/lib/core/utils/validators.mjs +268 -268
- package/esm2020/lib/monkey-front-core.module.mjs +71 -71
- package/esm2020/lib/store/actions/index.mjs +2 -2
- package/esm2020/lib/store/actions/monkeyecx-storage.actions.mjs +8 -8
- package/esm2020/lib/store/index.mjs +4 -4
- package/esm2020/lib/store/reducers/index.mjs +3 -3
- package/esm2020/lib/store/reducers/monkeyecx-seeder.reducer.mjs +53 -53
- package/esm2020/lib/store/reducers/monkeyecx-storage.reducer.mjs +40 -40
- package/esm2020/lib/store/selectors/index.mjs +2 -2
- package/esm2020/lib/store/selectors/monkeyecx-storage.selector.mjs +17 -17
- package/esm2020/monkey-front-core.mjs +4 -4
- package/esm2020/public-api.mjs +8 -8
- package/fesm2015/monkey-front-core.mjs +6296 -6296
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +6324 -6324
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/lib/components/alerts/alerts.component.d.ts +22 -22
- package/lib/components/alerts/alerts.module.d.ts +10 -10
- package/lib/components/alerts/index.d.ts +2 -2
- package/lib/components/closed-to-maintenance/closed-to-maintenance.component.d.ts +13 -13
- package/lib/components/closed-to-maintenance/closed-to-maintenance.module.d.ts +11 -11
- package/lib/components/closed-to-maintenance/index.d.ts +2 -2
- package/lib/components/currency-config/currency-config.component.d.ts +17 -17
- package/lib/components/currency-config/currency-config.module.d.ts +10 -10
- package/lib/components/currency-config/index.d.ts +2 -2
- package/lib/components/index.d.ts +5 -5
- package/lib/components/progress-bar/index.d.ts +3 -3
- package/lib/components/progress-bar/progress-bar.component.d.ts +11 -11
- package/lib/components/progress-bar/progress-bar.module.d.ts +8 -8
- package/lib/components/progress-bar/progress-bar.service.d.ts +14 -14
- package/lib/components/version-changed/index.d.ts +2 -2
- package/lib/components/version-changed/version-changed.component.d.ts +9 -9
- package/lib/components/version-changed/version-changed.module.d.ts +10 -10
- package/lib/core/decorators/index.d.ts +4 -4
- package/lib/core/decorators/monkeyecx-charts-decorators.d.ts +1 -1
- package/lib/core/decorators/monkeyecx-decorators.d.ts +7 -7
- package/lib/core/decorators/monkeyecx-download-decorators.d.ts +2 -2
- package/lib/core/decorators/monkeyecx-upload-decorators.d.ts +2 -2
- package/lib/core/directives/index.d.ts +12 -12
- package/lib/core/directives/monkeyecx-directives-module.d.ts +19 -19
- package/lib/core/directives/monkeyecx-drag-drop.d.ts +12 -12
- package/lib/core/directives/monkeyecx-feature-by-program-directive.d.ts +16 -16
- package/lib/core/directives/monkeyecx-feature-directive.d.ts +17 -17
- package/lib/core/directives/monkeyecx-format-currency.d.ts +16 -16
- package/lib/core/directives/monkeyecx-format-upper.d.ts +18 -18
- package/lib/core/directives/monkeyecx-only-alpha-numeric-directive.d.ts +9 -9
- package/lib/core/directives/monkeyecx-only-number-directive.d.ts +9 -9
- package/lib/core/directives/monkeyecx-popover-options.directive.d.ts +19 -19
- package/lib/core/directives/monkeyecx-popover.directive.d.ts +43 -43
- package/lib/core/directives/monkeyecx-security-directive.d.ts +18 -18
- package/lib/core/directives/monkeyecx-tooltip-directive.d.ts +23 -23
- package/lib/core/index.d.ts +10 -10
- package/lib/core/injectors/index.d.ts +4 -4
- package/lib/core/interceptors/index.d.ts +5 -5
- package/lib/core/interceptors/monkeyecx-http-config-error.interceptor.d.ts +18 -18
- package/lib/core/interceptors/monkeyecx-http-config-header.interceptor.d.ts +16 -16
- package/lib/core/interceptors/monkeyecx-http-config-interceptor.module.d.ts +9 -9
- package/lib/core/interceptors/monkeyecx-http-config-loading-in-progress.interceptor.d.ts +12 -12
- package/lib/core/interceptors/monkeyecx-http-config-queue.interceptor.d.ts +14 -14
- package/lib/core/interfaces/index.d.ts +34 -34
- package/lib/core/interfaces/monkeyecx-auth-credentials.d.ts +15 -15
- package/lib/core/interfaces/monkeyecx-company-pendencies.d.ts +14 -14
- package/lib/core/interfaces/monkeyecx-company.d.ts +10 -10
- package/lib/core/interfaces/monkeyecx-config-bootstrap.d.ts +14 -14
- package/lib/core/interfaces/monkeyecx-config.d.ts +132 -132
- package/lib/core/interfaces/monkeyecx-country-security.d.ts +4 -4
- package/lib/core/interfaces/monkeyecx-error-response.d.ts +5 -5
- package/lib/core/interfaces/monkeyecx-filter.d.ts +42 -42
- package/lib/core/interfaces/monkeyecx-handled-error-response.d.ts +10 -10
- package/lib/core/interfaces/monkeyecx-header-credentials.d.ts +4 -4
- package/lib/core/interfaces/monkeyecx-intercom-options.d.ts +4 -4
- package/lib/core/interfaces/monkeyecx-interface.d.ts +11 -11
- package/lib/core/interfaces/monkeyecx-me-credentials.d.ts +22 -22
- package/lib/core/interfaces/monkeyecx-navigation.d.ts +27 -27
- package/lib/core/interfaces/monkeyecx-pagination.d.ts +26 -26
- package/lib/core/interfaces/monkeyecx-program.d.ts +10 -10
- package/lib/core/interfaces/monkeyecx-releases.d.ts +9 -9
- package/lib/core/interfaces/monkeyecx-request-in-progress.d.ts +3 -3
- package/lib/core/interfaces/monkeyecx-request-paged.d.ts +23 -23
- package/lib/core/interfaces/monkeyecx-resolver.d.ts +39 -39
- package/lib/core/interfaces/monkeyecx-response-links.d.ts +11 -11
- package/lib/core/interfaces/monkeyecx-response-paged.d.ts +6 -6
- package/lib/core/interfaces/monkeyecx-saved-state.d.ts +5 -5
- package/lib/core/interfaces/monkeyecx-scroll-options.d.ts +5 -5
- package/lib/core/interfaces/monkeyecx-service-credentials.d.ts +12 -12
- package/lib/core/interfaces/monkeyecx-storage.d.ts +38 -38
- package/lib/core/interfaces/monkeyecx-store.d.ts +35 -35
- package/lib/core/interfaces/monkeyecx-support-options.d.ts +4 -4
- package/lib/core/interfaces/monkeyecx-token-credentials.d.ts +21 -21
- package/lib/core/interfaces/monkeyecx-translate-options.d.ts +4 -4
- package/lib/core/interfaces/request-download/index.d.ts +3 -3
- package/lib/core/interfaces/request-download/monkeyecx-request-download.d.ts +10 -10
- package/lib/core/interfaces/request-download/monkeyecx-request-downloaded.d.ts +7 -7
- package/lib/core/interfaces/request-download/monkeyecx-request-item-download.d.ts +7 -7
- package/lib/core/interfaces/request-queue/index.d.ts +3 -3
- package/lib/core/interfaces/request-queue/monkeyecx-request-item-queue.d.ts +7 -7
- package/lib/core/interfaces/request-queue/monkeyecx-request-progress-queue.d.ts +6 -6
- package/lib/core/interfaces/request-queue/monkeyecx-request-queue.d.ts +8 -8
- package/lib/core/interfaces/request-upload/index.d.ts +2 -2
- package/lib/core/interfaces/request-upload/monkeyecx-request-item-upload.d.ts +5 -5
- package/lib/core/interfaces/request-upload/monkeyecx-request-upload.d.ts +10 -10
- package/lib/core/interfaces/schedules/index.d.ts +1 -1
- package/lib/core/interfaces/schedules/monkeyecx-request-schedule.d.ts +13 -13
- package/lib/core/model/index.d.ts +2 -2
- package/lib/core/model/monkeyecx-links.model.d.ts +4 -4
- package/lib/core/model/monkeyecx-model.d.ts +14 -14
- package/lib/core/pipes/index.d.ts +22 -22
- package/lib/core/pipes/monkeyecx-blob-secure.d.ts +13 -13
- package/lib/core/pipes/monkeyecx-display-first-name.d.ts +7 -7
- package/lib/core/pipes/monkeyecx-display-initials.d.ts +7 -7
- package/lib/core/pipes/monkeyecx-display-support-phone.d.ts +18 -18
- package/lib/core/pipes/monkeyecx-format-address.d.ts +14 -14
- package/lib/core/pipes/monkeyecx-format-beautify-json.d.ts +8 -8
- package/lib/core/pipes/monkeyecx-format-currency.d.ts +12 -12
- package/lib/core/pipes/monkeyecx-format-date-group.d.ts +11 -11
- package/lib/core/pipes/monkeyecx-format-date-timelapse.d.ts +7 -7
- package/lib/core/pipes/monkeyecx-format-date-unix-timelapse.d.ts +7 -7
- package/lib/core/pipes/monkeyecx-format-date.d.ts +12 -12
- package/lib/core/pipes/monkeyecx-format-document.d.ts +7 -7
- package/lib/core/pipes/monkeyecx-format-number.d.ts +7 -7
- package/lib/core/pipes/monkeyecx-format-phone.d.ts +7 -7
- package/lib/core/pipes/monkeyecx-format-size.d.ts +7 -7
- package/lib/core/pipes/monkeyecx-format-tax.d.ts +7 -7
- package/lib/core/pipes/monkeyecx-format-type-document.d.ts +7 -7
- package/lib/core/pipes/monkeyecx-format-value.d.ts +7 -7
- package/lib/core/pipes/monkeyecx-format-zipcode.d.ts +7 -7
- package/lib/core/pipes/monkeyecx-pipes.module.d.ts +27 -27
- package/lib/core/pipes/monkeyecx-text-truncate.d.ts +7 -7
- package/lib/core/pipes/monkeyecx-truncate-qtd.d.ts +7 -7
- package/lib/core/services/alerts/index.d.ts +1 -1
- package/lib/core/services/alerts/monkeyecx-alerts.service.d.ts +21 -21
- package/lib/core/services/auth/index.d.ts +5 -5
- package/lib/core/services/auth/monkeyecx-auth-guard-company.service.d.ts +10 -10
- package/lib/core/services/auth/monkeyecx-auth-guard-login.service.d.ts +10 -10
- package/lib/core/services/auth/monkeyecx-auth-guard-role.service.d.ts +16 -16
- package/lib/core/services/auth/monkeyecx-auth-guard.service.d.ts +10 -10
- package/lib/core/services/auth/monkeyecx-authentication.service.d.ts +35 -35
- package/lib/core/services/commons/index.d.ts +3 -3
- package/lib/core/services/commons/monkeyecx-commons-resolve-base.service.d.ts +46 -46
- package/lib/core/services/commons/monkeyecx-commons-resolve.service.d.ts +60 -60
- package/lib/core/services/commons/monkeyecx-commons.service.d.ts +120 -120
- package/lib/core/services/config/monkeyecx-alerts-config.service.d.ts +11 -11
- package/lib/core/services/config/monkeyecx-config.module.d.ts +9 -9
- package/lib/core/services/config/monkeyecx-config.service.d.ts +36 -36
- package/lib/core/services/config/monkeyecx-currency-config.service.d.ts +15 -15
- package/lib/core/services/config/monkeyecx-error-config.service.d.ts +8 -8
- package/lib/core/services/config/monkeyecx-feature-toggle.service.d.ts +16 -16
- package/lib/core/services/config/monkeyecx-gtm-config.service.d.ts +8 -8
- package/lib/core/services/config/monkeyecx-i18n-config.service.d.ts +21 -21
- package/lib/core/services/config/monkeyecx-logs-config.service.d.ts +7 -7
- package/lib/core/services/config/monkeyecx-maintenance-config.service.d.ts +13 -13
- package/lib/core/services/config/monkeyecx-security-console-config.service.d.ts +12 -12
- package/lib/core/services/config/monkeyecx-service-worker-config.service.d.ts +16 -16
- package/lib/core/services/error/index.d.ts +4 -4
- package/lib/core/services/error/monkeyecx-error-handling.module.d.ts +9 -9
- package/lib/core/services/error/monkeyecx-error-handling.service.d.ts +9 -9
- package/lib/core/services/error/monkeyecx-http-error-handling.service.d.ts +26 -26
- package/lib/core/services/error/monkeyecx-others-errors-handling.service.d.ts +9 -9
- package/lib/core/services/index.d.ts +25 -25
- package/lib/core/services/logged/index.d.ts +1 -1
- package/lib/core/services/logged/monkeyecx-logged-handling.service.d.ts +14 -14
- package/lib/core/services/monkeyecx-handling.service.d.ts +22 -22
- package/lib/core/services/monkeyecx-service.service.d.ts +18 -18
- package/lib/core/services/pagination/index.d.ts +1 -1
- package/lib/core/services/pagination/monkeyecx-pagination.service.d.ts +9 -9
- package/lib/core/services/request-download/index.d.ts +2 -2
- package/lib/core/services/request-download/monkeyecx-request-download-handling.service.d.ts +18 -18
- package/lib/core/services/request-download/monkeyecx-request-downloaded-handling.service.d.ts +16 -16
- package/lib/core/services/request-paged/index.d.ts +1 -1
- package/lib/core/services/request-paged/monkeyecx-request-request-paged-handling.d.ts +11 -11
- package/lib/core/services/request-queue/index.d.ts +2 -2
- package/lib/core/services/request-queue/monkeyecx-request-queue-handling.service.d.ts +21 -21
- package/lib/core/services/request-queue/monkeyecx-request-queue-modal-handling.service.d.ts +23 -23
- package/lib/core/services/routes/index.d.ts +1 -1
- package/lib/core/services/routes/monkeyecx-dicovery-params.service.d.ts +13 -13
- package/lib/core/services/schedules/index.d.ts +1 -1
- package/lib/core/services/schedules/monkeyecx-request-schedule.service.d.ts +47 -47
- package/lib/core/services/storage/index.d.ts +2 -2
- package/lib/core/services/storage/monkeyecx-cookie-storage.service.d.ts +11 -11
- package/lib/core/services/storage/monkeyecx-token-storage.service.d.ts +30 -30
- package/lib/core/services/store/index.d.ts +4 -4
- package/lib/core/services/store/monkeyecx-store-base.service.d.ts +47 -47
- package/lib/core/services/store/monkeyecx-store.actions.d.ts +56 -56
- package/lib/core/services/store/monkeyecx-store.selector.d.ts +31 -31
- package/lib/core/services/store/monkeyecx-store.service.d.ts +50 -50
- package/lib/core/specification-search/index.d.ts +1 -1
- package/lib/core/specification-search/monkeyecx-specification-search.d.ts +20 -20
- package/lib/core/utils/decorators-utils.d.ts +5 -5
- package/lib/core/utils/index.d.ts +6 -6
- package/lib/core/utils/statics.d.ts +34 -34
- package/lib/core/utils/utils.d.ts +26 -26
- package/lib/core/utils/validate-utils.d.ts +66 -66
- package/lib/core/utils/validators.d.ts +36 -36
- package/lib/monkey-front-core.module.d.ts +19 -19
- package/lib/store/actions/index.d.ts +1 -1
- package/lib/store/actions/monkeyecx-storage.actions.d.ts +23 -23
- package/lib/store/index.d.ts +3 -3
- package/lib/store/reducers/index.d.ts +2 -2
- package/lib/store/reducers/monkeyecx-seeder.reducer.d.ts +2 -2
- package/lib/store/reducers/monkeyecx-storage.reducer.d.ts +13 -13
- package/lib/store/selectors/index.d.ts +1 -1
- package/lib/store/selectors/monkeyecx-storage.selector.d.ts +8 -8
- package/monkey-front-core-0.0.502.tgz +0 -0
- package/monkey-front-core.d.ts +5 -5
- package/package.json +3 -3
- package/public-api.d.ts +4 -4
- package/monkey-front-core-0.0.500.tgz +0 -0
|
@@ -1,139 +1,139 @@
|
|
|
1
|
-
/* eslint-disable no-console */
|
|
2
|
-
import { registerLocaleData } from '@angular/common';
|
|
3
|
-
import esCL from '@angular/common/locales/es-CL';
|
|
4
|
-
import esMX from '@angular/common/locales/es-MX';
|
|
5
|
-
import ptBr from '@angular/common/locales/pt';
|
|
6
|
-
import { Injectable } from '@angular/core';
|
|
7
|
-
import { take } from 'rxjs/operators';
|
|
8
|
-
import { MonkeyEcxUtils } from '../../utils';
|
|
9
|
-
import { MonkeyEcxCommonsService } from '../commons';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
import * as i1 from "../monkeyecx-service.service";
|
|
12
|
-
import * as i2 from "../storage/monkeyecx-token-storage.service";
|
|
13
|
-
import * as i3 from "@ngx-translate/core";
|
|
14
|
-
import * as i4 from "../config/monkeyecx-error-config.service";
|
|
15
|
-
export class MonkeyEcxi18nConfigService extends MonkeyEcxCommonsService {
|
|
16
|
-
constructor(monkeyecxService, tokenStorage, translateService, monkeyecxErrorConfigService) {
|
|
17
|
-
super(monkeyecxService, tokenStorage);
|
|
18
|
-
this.translateService = translateService;
|
|
19
|
-
this.monkeyecxErrorConfigService = monkeyecxErrorConfigService;
|
|
20
|
-
}
|
|
21
|
-
async loadAuth(environment, lang) {
|
|
22
|
-
try {
|
|
23
|
-
const url = MonkeyEcxUtils.replaceVariables(environment.urli18nAssets, {
|
|
24
|
-
name: 'auth',
|
|
25
|
-
lang
|
|
26
|
-
});
|
|
27
|
-
const resp = await this.monkeyecxService?.get(url).pipe(take(1)).toPromise();
|
|
28
|
-
this.translateService.setTranslation(lang, resp.data, true);
|
|
29
|
-
}
|
|
30
|
-
catch (e) {
|
|
31
|
-
console.error(`loadAuth i18n ${lang} not found!`);
|
|
32
|
-
this.monkeyecxErrorConfigService.apply('i18n');
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
async loadAlerts(environment, lang) {
|
|
36
|
-
try {
|
|
37
|
-
const url = MonkeyEcxUtils.replaceVariables(environment.urli18nAssets, {
|
|
38
|
-
name: 'alerts',
|
|
39
|
-
lang
|
|
40
|
-
});
|
|
41
|
-
const resp = await this.monkeyecxService?.get(url).pipe(take(1)).toPromise();
|
|
42
|
-
this.translateService.setTranslation(lang, resp.data, true);
|
|
43
|
-
}
|
|
44
|
-
catch (e) {
|
|
45
|
-
console.error(`loadAlerts i18n ${lang} not found!`);
|
|
46
|
-
this.monkeyecxErrorConfigService.apply('i18n');
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
async loadShared(environment, lang) {
|
|
50
|
-
try {
|
|
51
|
-
const url = MonkeyEcxUtils.replaceVariables(environment.urli18nAssets, {
|
|
52
|
-
name: 'shared',
|
|
53
|
-
lang
|
|
54
|
-
});
|
|
55
|
-
const resp = await this.monkeyecxService?.get(url).pipe(take(1)).toPromise();
|
|
56
|
-
this.translateService.setTranslation(lang, resp.data, true);
|
|
57
|
-
}
|
|
58
|
-
catch (e) {
|
|
59
|
-
console.error(`loadShared i18n ${lang} not found!`);
|
|
60
|
-
this.monkeyecxErrorConfigService.apply('i18n');
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
async loadRegister(environment, lang) {
|
|
64
|
-
try {
|
|
65
|
-
const url = MonkeyEcxUtils.replaceVariables(environment.urli18nAssets, {
|
|
66
|
-
name: 'register',
|
|
67
|
-
lang
|
|
68
|
-
});
|
|
69
|
-
const resp = await this.monkeyecxService?.get(url).pipe(take(1)).toPromise();
|
|
70
|
-
this.translateService.setTranslation(lang, resp.data, true);
|
|
71
|
-
}
|
|
72
|
-
catch (e) {
|
|
73
|
-
console.error(`loadRegister i18n ${lang} not found!`);
|
|
74
|
-
this.monkeyecxErrorConfigService.apply('i18n');
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
async loadInternal(environment, lang) {
|
|
78
|
-
try {
|
|
79
|
-
const url = `${environment.localAssets}/i18n/${lang}.json`;
|
|
80
|
-
const resp = await this.monkeyecxService?.get(url).pipe(take(1)).toPromise();
|
|
81
|
-
this.translateService.setTranslation(lang, resp.data, true);
|
|
82
|
-
}
|
|
83
|
-
catch (e) {
|
|
84
|
-
console.error(`loadInternal i18n ${lang} not found!`);
|
|
85
|
-
this.monkeyecxErrorConfigService.apply('i18n');
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
async apply(environment) {
|
|
89
|
-
let lang = environment?.locale?.lang || 'pt-BR';
|
|
90
|
-
try {
|
|
91
|
-
const me = JSON.parse(localStorage.getItem('me') || '{}');
|
|
92
|
-
lang = me?.locale || lang;
|
|
93
|
-
}
|
|
94
|
-
catch (e) {
|
|
95
|
-
// not to do
|
|
96
|
-
}
|
|
97
|
-
if (lang === 'es-CL') {
|
|
98
|
-
registerLocaleData(esCL);
|
|
99
|
-
}
|
|
100
|
-
else if (lang === 'es-MX') {
|
|
101
|
-
registerLocaleData(esMX);
|
|
102
|
-
}
|
|
103
|
-
else {
|
|
104
|
-
registerLocaleData(ptBr);
|
|
105
|
-
}
|
|
106
|
-
await this.loadAuth(environment, lang);
|
|
107
|
-
await this.loadInternal(environment, lang);
|
|
108
|
-
this.loadAlerts(environment, lang);
|
|
109
|
-
this.loadShared(environment, lang);
|
|
110
|
-
this.loadRegister(environment, lang);
|
|
111
|
-
this.translateService.setDefaultLang(lang);
|
|
112
|
-
this.translateService.use(lang);
|
|
113
|
-
}
|
|
114
|
-
applyExternal(params, lang) {
|
|
115
|
-
try {
|
|
116
|
-
const currentExternali18n = params?.externali18n?.[`${lang}`];
|
|
117
|
-
let data = {};
|
|
118
|
-
if (currentExternali18n) {
|
|
119
|
-
data = {
|
|
120
|
-
EXTERNAL: currentExternali18n
|
|
121
|
-
};
|
|
122
|
-
}
|
|
123
|
-
this.translateService.setTranslation(lang, data, true);
|
|
124
|
-
}
|
|
125
|
-
catch (e) {
|
|
126
|
-
console.error(`loadExternal i18n ${lang} not found!`);
|
|
127
|
-
this.monkeyecxErrorConfigService.apply('i18n');
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
MonkeyEcxi18nConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxi18nConfigService, deps: [{ token: i1.MonkeyEcxService }, { token: i2.MonkeyEcxTokenStorageService }, { token: i3.TranslateService }, { token: i4.MonkeyEcxErrorConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
132
|
-
MonkeyEcxi18nConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxi18nConfigService, providedIn: 'root' });
|
|
133
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxi18nConfigService, decorators: [{
|
|
134
|
-
type: Injectable,
|
|
135
|
-
args: [{
|
|
136
|
-
providedIn: 'root'
|
|
137
|
-
}]
|
|
138
|
-
}], ctorParameters: function () { return [{ type: i1.MonkeyEcxService }, { type: i2.MonkeyEcxTokenStorageService }, { type: i3.TranslateService }, { type: i4.MonkeyEcxErrorConfigService }]; } });
|
|
1
|
+
/* eslint-disable no-console */
|
|
2
|
+
import { registerLocaleData } from '@angular/common';
|
|
3
|
+
import esCL from '@angular/common/locales/es-CL';
|
|
4
|
+
import esMX from '@angular/common/locales/es-MX';
|
|
5
|
+
import ptBr from '@angular/common/locales/pt';
|
|
6
|
+
import { Injectable } from '@angular/core';
|
|
7
|
+
import { take } from 'rxjs/operators';
|
|
8
|
+
import { MonkeyEcxUtils } from '../../utils';
|
|
9
|
+
import { MonkeyEcxCommonsService } from '../commons';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
import * as i1 from "../monkeyecx-service.service";
|
|
12
|
+
import * as i2 from "../storage/monkeyecx-token-storage.service";
|
|
13
|
+
import * as i3 from "@ngx-translate/core";
|
|
14
|
+
import * as i4 from "../config/monkeyecx-error-config.service";
|
|
15
|
+
export class MonkeyEcxi18nConfigService extends MonkeyEcxCommonsService {
|
|
16
|
+
constructor(monkeyecxService, tokenStorage, translateService, monkeyecxErrorConfigService) {
|
|
17
|
+
super(monkeyecxService, tokenStorage);
|
|
18
|
+
this.translateService = translateService;
|
|
19
|
+
this.monkeyecxErrorConfigService = monkeyecxErrorConfigService;
|
|
20
|
+
}
|
|
21
|
+
async loadAuth(environment, lang) {
|
|
22
|
+
try {
|
|
23
|
+
const url = MonkeyEcxUtils.replaceVariables(environment.urli18nAssets, {
|
|
24
|
+
name: 'auth',
|
|
25
|
+
lang
|
|
26
|
+
});
|
|
27
|
+
const resp = await this.monkeyecxService?.get(url).pipe(take(1)).toPromise();
|
|
28
|
+
this.translateService.setTranslation(lang, resp.data, true);
|
|
29
|
+
}
|
|
30
|
+
catch (e) {
|
|
31
|
+
console.error(`loadAuth i18n ${lang} not found!`);
|
|
32
|
+
this.monkeyecxErrorConfigService.apply('i18n');
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
async loadAlerts(environment, lang) {
|
|
36
|
+
try {
|
|
37
|
+
const url = MonkeyEcxUtils.replaceVariables(environment.urli18nAssets, {
|
|
38
|
+
name: 'alerts',
|
|
39
|
+
lang
|
|
40
|
+
});
|
|
41
|
+
const resp = await this.monkeyecxService?.get(url).pipe(take(1)).toPromise();
|
|
42
|
+
this.translateService.setTranslation(lang, resp.data, true);
|
|
43
|
+
}
|
|
44
|
+
catch (e) {
|
|
45
|
+
console.error(`loadAlerts i18n ${lang} not found!`);
|
|
46
|
+
this.monkeyecxErrorConfigService.apply('i18n');
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
async loadShared(environment, lang) {
|
|
50
|
+
try {
|
|
51
|
+
const url = MonkeyEcxUtils.replaceVariables(environment.urli18nAssets, {
|
|
52
|
+
name: 'shared',
|
|
53
|
+
lang
|
|
54
|
+
});
|
|
55
|
+
const resp = await this.monkeyecxService?.get(url).pipe(take(1)).toPromise();
|
|
56
|
+
this.translateService.setTranslation(lang, resp.data, true);
|
|
57
|
+
}
|
|
58
|
+
catch (e) {
|
|
59
|
+
console.error(`loadShared i18n ${lang} not found!`);
|
|
60
|
+
this.monkeyecxErrorConfigService.apply('i18n');
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
async loadRegister(environment, lang) {
|
|
64
|
+
try {
|
|
65
|
+
const url = MonkeyEcxUtils.replaceVariables(environment.urli18nAssets, {
|
|
66
|
+
name: 'register',
|
|
67
|
+
lang
|
|
68
|
+
});
|
|
69
|
+
const resp = await this.monkeyecxService?.get(url).pipe(take(1)).toPromise();
|
|
70
|
+
this.translateService.setTranslation(lang, resp.data, true);
|
|
71
|
+
}
|
|
72
|
+
catch (e) {
|
|
73
|
+
console.error(`loadRegister i18n ${lang} not found!`);
|
|
74
|
+
this.monkeyecxErrorConfigService.apply('i18n');
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
async loadInternal(environment, lang) {
|
|
78
|
+
try {
|
|
79
|
+
const url = `${environment.localAssets}/i18n/${lang}.json`;
|
|
80
|
+
const resp = await this.monkeyecxService?.get(url).pipe(take(1)).toPromise();
|
|
81
|
+
this.translateService.setTranslation(lang, resp.data, true);
|
|
82
|
+
}
|
|
83
|
+
catch (e) {
|
|
84
|
+
console.error(`loadInternal i18n ${lang} not found!`);
|
|
85
|
+
this.monkeyecxErrorConfigService.apply('i18n');
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
async apply(environment) {
|
|
89
|
+
let lang = environment?.locale?.lang || 'pt-BR';
|
|
90
|
+
try {
|
|
91
|
+
const me = JSON.parse(localStorage.getItem('me') || '{}');
|
|
92
|
+
lang = me?.locale || lang;
|
|
93
|
+
}
|
|
94
|
+
catch (e) {
|
|
95
|
+
// not to do
|
|
96
|
+
}
|
|
97
|
+
if (lang === 'es-CL') {
|
|
98
|
+
registerLocaleData(esCL);
|
|
99
|
+
}
|
|
100
|
+
else if (lang === 'es-MX') {
|
|
101
|
+
registerLocaleData(esMX);
|
|
102
|
+
}
|
|
103
|
+
else {
|
|
104
|
+
registerLocaleData(ptBr);
|
|
105
|
+
}
|
|
106
|
+
await this.loadAuth(environment, lang);
|
|
107
|
+
await this.loadInternal(environment, lang);
|
|
108
|
+
this.loadAlerts(environment, lang);
|
|
109
|
+
this.loadShared(environment, lang);
|
|
110
|
+
this.loadRegister(environment, lang);
|
|
111
|
+
this.translateService.setDefaultLang(lang);
|
|
112
|
+
this.translateService.use(lang);
|
|
113
|
+
}
|
|
114
|
+
applyExternal(params, lang) {
|
|
115
|
+
try {
|
|
116
|
+
const currentExternali18n = params?.externali18n?.[`${lang}`];
|
|
117
|
+
let data = {};
|
|
118
|
+
if (currentExternali18n) {
|
|
119
|
+
data = {
|
|
120
|
+
EXTERNAL: currentExternali18n
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
this.translateService.setTranslation(lang, data, true);
|
|
124
|
+
}
|
|
125
|
+
catch (e) {
|
|
126
|
+
console.error(`loadExternal i18n ${lang} not found!`);
|
|
127
|
+
this.monkeyecxErrorConfigService.apply('i18n');
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
MonkeyEcxi18nConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxi18nConfigService, deps: [{ token: i1.MonkeyEcxService }, { token: i2.MonkeyEcxTokenStorageService }, { token: i3.TranslateService }, { token: i4.MonkeyEcxErrorConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
132
|
+
MonkeyEcxi18nConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxi18nConfigService, providedIn: 'root' });
|
|
133
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxi18nConfigService, decorators: [{
|
|
134
|
+
type: Injectable,
|
|
135
|
+
args: [{
|
|
136
|
+
providedIn: 'root'
|
|
137
|
+
}]
|
|
138
|
+
}], ctorParameters: function () { return [{ type: i1.MonkeyEcxService }, { type: i2.MonkeyEcxTokenStorageService }, { type: i3.TranslateService }, { type: i4.MonkeyEcxErrorConfigService }]; } });
|
|
139
139
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9ua2V5ZWN4LWkxOG4tY29uZmlnLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9tb25rZXktZnJvbnQtY29yZS9zcmMvbGliL2NvcmUvc2VydmljZXMvY29uZmlnL21vbmtleWVjeC1pMThuLWNvbmZpZy5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLCtCQUErQjtBQUMvQixPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUNyRCxPQUFPLElBQUksTUFBTSwrQkFBK0IsQ0FBQztBQUNqRCxPQUFPLElBQUksTUFBTSwrQkFBK0IsQ0FBQztBQUNqRCxPQUFPLElBQUksTUFBTSw0QkFBNEIsQ0FBQztBQUM5QyxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRTNDLE9BQU8sRUFBRSxJQUFJLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUd0QyxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sYUFBYSxDQUFDO0FBQzdDLE9BQU8sRUFBRSx1QkFBdUIs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pIHtcbiAgICB0cnkge1xuICAgICAgY29uc3QgY3VycmVudEV4dGVybmFsaTE4biA9IHBhcmFtcz8uZXh0ZXJuYWxpMThuPy5bYCR7bGFuZ31gXTtcblxuICAgICAgbGV0IGRhdGEgPSB7fTtcbiAgICAgIGlmIChjdXJyZW50RXh0ZXJuYWxpMThuKSB7XG4gICAgICAgIGRhdGEgPSB7XG4gICAgICAgICAgRVhURVJOQUw6IGN1cnJlbnRFeHRlcm5hbGkxOG5cbiAgICAgICAgfTtcbiAgICAgIH1cblxuICAgICAgdGhpcy50cmFuc2xhdGVTZXJ2aWNlLnNldFRyYW5zbGF0aW9uKGxhbmcsIGRhdGEsIHRydWUpO1xuICAgIH0gY2F0Y2ggKGUpIHtcbiAgICAgIGNvbnNvbGUuZXJyb3IoYGxvYWRFeHRlcm5hbCBpMThuICR7bGFuZ30gbm90IGZvdW5kIWApO1xuICAgICAgdGhpcy5tb25rZXllY3hFcnJvckNvbmZpZ1NlcnZpY2UuYXBwbHkoJ2kxOG4nKTtcbiAgICB9XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
import { datadogRum } from '@datadog/browser-rum';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export class MonkeyEcxLogsConfigService {
|
|
5
|
-
apply(params, configBootstrap, environment, identifyCode) {
|
|
6
|
-
const { program, logs } = params;
|
|
7
|
-
if (logs?.enabled && environment.environment !== 'dev') {
|
|
8
|
-
datadogRum.init({
|
|
9
|
-
applicationId: environment?.dataDogApplicationId,
|
|
10
|
-
clientToken: environment?.dataDogClientToken,
|
|
11
|
-
service: program?.token,
|
|
12
|
-
site: 'datadoghq.com',
|
|
13
|
-
sampleRate: 100,
|
|
14
|
-
replaySampleRate: 100,
|
|
15
|
-
env: `monkey-front-${identifyCode}-${environment.environment}`,
|
|
16
|
-
version: configBootstrap?.version,
|
|
17
|
-
trackInteractions: true,
|
|
18
|
-
trackSessionAcrossSubdomains: true,
|
|
19
|
-
useSecureSessionCookie: true,
|
|
20
|
-
useCrossSiteSessionCookie: true
|
|
21
|
-
});
|
|
22
|
-
datadogRum.startSessionReplayRecording();
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
MonkeyEcxLogsConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxLogsConfigService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
27
|
-
MonkeyEcxLogsConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxLogsConfigService, providedIn: 'root' });
|
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxLogsConfigService, decorators: [{
|
|
29
|
-
type: Injectable,
|
|
30
|
-
args: [{
|
|
31
|
-
providedIn: 'root'
|
|
32
|
-
}]
|
|
33
|
-
}] });
|
|
34
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import { datadogRum } from '@datadog/browser-rum';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class MonkeyEcxLogsConfigService {
|
|
5
|
+
apply(params, configBootstrap, environment, identifyCode) {
|
|
6
|
+
const { program, logs } = params;
|
|
7
|
+
if (logs?.enabled && environment.environment !== 'dev') {
|
|
8
|
+
datadogRum.init({
|
|
9
|
+
applicationId: environment?.dataDogApplicationId,
|
|
10
|
+
clientToken: environment?.dataDogClientToken,
|
|
11
|
+
service: program?.token,
|
|
12
|
+
site: 'datadoghq.com',
|
|
13
|
+
sampleRate: 100,
|
|
14
|
+
replaySampleRate: 100,
|
|
15
|
+
env: `monkey-front-${identifyCode}-${environment.environment}`,
|
|
16
|
+
version: configBootstrap?.version,
|
|
17
|
+
trackInteractions: true,
|
|
18
|
+
trackSessionAcrossSubdomains: true,
|
|
19
|
+
useSecureSessionCookie: true,
|
|
20
|
+
useCrossSiteSessionCookie: true
|
|
21
|
+
});
|
|
22
|
+
datadogRum.startSessionReplayRecording();
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
MonkeyEcxLogsConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxLogsConfigService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
27
|
+
MonkeyEcxLogsConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxLogsConfigService, providedIn: 'root' });
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxLogsConfigService, decorators: [{
|
|
29
|
+
type: Injectable,
|
|
30
|
+
args: [{
|
|
31
|
+
providedIn: 'root'
|
|
32
|
+
}]
|
|
33
|
+
}] });
|
|
34
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9ua2V5ZWN4LWxvZ3MtY29uZmlnLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9tb25rZXktZnJvbnQtY29yZS9zcmMvbGliL2NvcmUvc2VydmljZXMvY29uZmlnL21vbmtleWVjeC1sb2dzLWNvbmZpZy5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLHNCQUFzQixDQUFDOztBQU1sRCxNQUFNLE9BQU8sMEJBQTBCO0lBQzlCLEtBQUssQ0FDVixNQUF1Q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ludGVyYWN0aW9uczogdHJ1ZSxcbiAgICAgICAgdHJhY2tTZXNzaW9uQWNyb3NzU3ViZG9tYWluczogdHJ1ZSxcbiAgICAgICAgdXNlU2VjdXJlU2Vzc2lvbkNvb2tpZTogdHJ1ZSxcbiAgICAgICAgdXNlQ3Jvc3NTaXRlU2Vzc2lvbkNvb2tpZTogdHJ1ZVxuICAgICAgfSk7XG4gICAgICBkYXRhZG9nUnVtLnN0YXJ0U2Vzc2lvblJlcGxheVJlY29yZGluZygpO1xuICAgIH1cbiAgfVxufVxuIl19
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
import { ClosedToMaintenanceComponent } from '../../../components/closed-to-maintenance/closed-to-maintenance.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "monkey-style-guide";
|
|
5
|
-
import * as i2 from "@angular/router";
|
|
6
|
-
export class MonkeyEcxMaintenanceConfigService {
|
|
7
|
-
constructor(modalService, router) {
|
|
8
|
-
this.modalService = modalService;
|
|
9
|
-
this.router = router;
|
|
10
|
-
// not to do
|
|
11
|
-
}
|
|
12
|
-
handleValidation(config) {
|
|
13
|
-
if (config.maintenance.closed) {
|
|
14
|
-
localStorage.clear();
|
|
15
|
-
this.router.navigate(['']);
|
|
16
|
-
setTimeout(() => {
|
|
17
|
-
this.modalService.open(ClosedToMaintenanceComponent, {
|
|
18
|
-
color: 'theme',
|
|
19
|
-
size: 'md',
|
|
20
|
-
data: config
|
|
21
|
-
});
|
|
22
|
-
}, 200);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
apply(config) {
|
|
26
|
-
this.handleValidation(config);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
MonkeyEcxMaintenanceConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxMaintenanceConfigService, deps: [{ token: i1.MonkeyStyleGuideModalService }, { token: i2.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
30
|
-
MonkeyEcxMaintenanceConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxMaintenanceConfigService, providedIn: 'root' });
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxMaintenanceConfigService, decorators: [{
|
|
32
|
-
type: Injectable,
|
|
33
|
-
args: [{
|
|
34
|
-
providedIn: 'root'
|
|
35
|
-
}]
|
|
36
|
-
}], ctorParameters: function () { return [{ type: i1.MonkeyStyleGuideModalService }, { type: i2.Router }]; } });
|
|
37
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import { ClosedToMaintenanceComponent } from '../../../components/closed-to-maintenance/closed-to-maintenance.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "monkey-style-guide";
|
|
5
|
+
import * as i2 from "@angular/router";
|
|
6
|
+
export class MonkeyEcxMaintenanceConfigService {
|
|
7
|
+
constructor(modalService, router) {
|
|
8
|
+
this.modalService = modalService;
|
|
9
|
+
this.router = router;
|
|
10
|
+
// not to do
|
|
11
|
+
}
|
|
12
|
+
handleValidation(config) {
|
|
13
|
+
if (config.maintenance.closed) {
|
|
14
|
+
localStorage.clear();
|
|
15
|
+
this.router.navigate(['']);
|
|
16
|
+
setTimeout(() => {
|
|
17
|
+
this.modalService.open(ClosedToMaintenanceComponent, {
|
|
18
|
+
color: 'theme',
|
|
19
|
+
size: 'md',
|
|
20
|
+
data: config
|
|
21
|
+
});
|
|
22
|
+
}, 200);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
apply(config) {
|
|
26
|
+
this.handleValidation(config);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
MonkeyEcxMaintenanceConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxMaintenanceConfigService, deps: [{ token: i1.MonkeyStyleGuideModalService }, { token: i2.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
30
|
+
MonkeyEcxMaintenanceConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxMaintenanceConfigService, providedIn: 'root' });
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxMaintenanceConfigService, decorators: [{
|
|
32
|
+
type: Injectable,
|
|
33
|
+
args: [{
|
|
34
|
+
providedIn: 'root'
|
|
35
|
+
}]
|
|
36
|
+
}], ctorParameters: function () { return [{ type: i1.MonkeyStyleGuideModalService }, { type: i2.Router }]; } });
|
|
37
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9ua2V5ZWN4LW1haW50ZW5hbmNlLWNvbmZpZy5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbW9ua2V5LWZyb250LWNvcmUvc3JjL2xpYi9jb3JlL3NlcnZpY2VzL2NvbmZpZy9tb25rZXllY3gtbWFpbnRlbmFuY2UtY29uZmlnLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUczQyxPQUFPLEVBQUUsNEJBQTRCLEVBQUUsTUFBTSwyRUFBMkUsQ0FBQzs7OztBQU16SCxNQUFNLE9BQU8saUNBQWlDO0lBQzVDLFlBQW9CLFlBQTBDLEVBQVUsTUFBYztRQUFsRSxpQkFBWSxHQUFaLFlBQVksQ0FBOEI7UUFBVSxXQUFNLEdBQU4sTUFBTSxDQUFR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XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
/* eslint-disable no-console */
|
|
2
|
-
import { Injectable } from '@angular/core';
|
|
3
|
-
import { Subject } from 'rxjs';
|
|
4
|
-
import { takeUntil } from 'rxjs/operators';
|
|
5
|
-
import { MonkeyEcxCommonsService } from '../commons';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "@ngx-translate/core";
|
|
8
|
-
export class MonkeyEcxSecurityConsoleConfigService extends MonkeyEcxCommonsService {
|
|
9
|
-
constructor(translateService) {
|
|
10
|
-
super();
|
|
11
|
-
this.translateService = translateService;
|
|
12
|
-
this.unsubscribeAll = new Subject();
|
|
13
|
-
this.geti18n(this.translateService, 'SERVICES.WARNING.CONSOLE');
|
|
14
|
-
}
|
|
15
|
-
handleValidation() {
|
|
16
|
-
this.__oni18nDataChanged$
|
|
17
|
-
.pipe(takeUntil(this.unsubscribeAll)).subscribe(() => {
|
|
18
|
-
const { __i18n } = this;
|
|
19
|
-
const title = __i18n?.TITLE;
|
|
20
|
-
const message = __i18n?.MESSAGE;
|
|
21
|
-
if (title) {
|
|
22
|
-
console.log(`%c${title}`, 'background: #f2f061; color: #ff0000; font-size: 18px');
|
|
23
|
-
console.log(`%c${message}`, 'font-size: x-large');
|
|
24
|
-
console.log('%c __ __ _ ______ \n ' +
|
|
25
|
-
'| \\/ | ___ _ __ | | _____ _ _\\ \\ \\ \\ \n ' +
|
|
26
|
-
"| |\\/| |/ _ \\| '_ \\| |/ / _ \\ | | |\\ \\ \\ \\ \n " +
|
|
27
|
-
'| | | | (_) | | | | < __/ |_| |/ / / / \n ' +
|
|
28
|
-
'|_| |_|\\___/|_| |_|_|\\_\\___|\\__, /_/_/_/ \n ' +
|
|
29
|
-
' |___/ \n ' +
|
|
30
|
-
'', 'background: #1976d2; color: #fff');
|
|
31
|
-
this.unsubscribeAll.next();
|
|
32
|
-
this.unsubscribeAll.complete();
|
|
33
|
-
}
|
|
34
|
-
});
|
|
35
|
-
}
|
|
36
|
-
apply() {
|
|
37
|
-
this.handleValidation();
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
MonkeyEcxSecurityConsoleConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxSecurityConsoleConfigService, deps: [{ token: i1.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
41
|
-
MonkeyEcxSecurityConsoleConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxSecurityConsoleConfigService, providedIn: 'root' });
|
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxSecurityConsoleConfigService, decorators: [{
|
|
43
|
-
type: Injectable,
|
|
44
|
-
args: [{
|
|
45
|
-
providedIn: 'root'
|
|
46
|
-
}]
|
|
47
|
-
}], ctorParameters: function () { return [{ type: i1.TranslateService }]; } });
|
|
1
|
+
/* eslint-disable no-console */
|
|
2
|
+
import { Injectable } from '@angular/core';
|
|
3
|
+
import { Subject } from 'rxjs';
|
|
4
|
+
import { takeUntil } from 'rxjs/operators';
|
|
5
|
+
import { MonkeyEcxCommonsService } from '../commons';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "@ngx-translate/core";
|
|
8
|
+
export class MonkeyEcxSecurityConsoleConfigService extends MonkeyEcxCommonsService {
|
|
9
|
+
constructor(translateService) {
|
|
10
|
+
super();
|
|
11
|
+
this.translateService = translateService;
|
|
12
|
+
this.unsubscribeAll = new Subject();
|
|
13
|
+
this.geti18n(this.translateService, 'SERVICES.WARNING.CONSOLE');
|
|
14
|
+
}
|
|
15
|
+
handleValidation() {
|
|
16
|
+
this.__oni18nDataChanged$
|
|
17
|
+
.pipe(takeUntil(this.unsubscribeAll)).subscribe(() => {
|
|
18
|
+
const { __i18n } = this;
|
|
19
|
+
const title = __i18n?.TITLE;
|
|
20
|
+
const message = __i18n?.MESSAGE;
|
|
21
|
+
if (title) {
|
|
22
|
+
console.log(`%c${title}`, 'background: #f2f061; color: #ff0000; font-size: 18px');
|
|
23
|
+
console.log(`%c${message}`, 'font-size: x-large');
|
|
24
|
+
console.log('%c __ __ _ ______ \n ' +
|
|
25
|
+
'| \\/ | ___ _ __ | | _____ _ _\\ \\ \\ \\ \n ' +
|
|
26
|
+
"| |\\/| |/ _ \\| '_ \\| |/ / _ \\ | | |\\ \\ \\ \\ \n " +
|
|
27
|
+
'| | | | (_) | | | | < __/ |_| |/ / / / \n ' +
|
|
28
|
+
'|_| |_|\\___/|_| |_|_|\\_\\___|\\__, /_/_/_/ \n ' +
|
|
29
|
+
' |___/ \n ' +
|
|
30
|
+
'', 'background: #1976d2; color: #fff');
|
|
31
|
+
this.unsubscribeAll.next();
|
|
32
|
+
this.unsubscribeAll.complete();
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
apply() {
|
|
37
|
+
this.handleValidation();
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
MonkeyEcxSecurityConsoleConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxSecurityConsoleConfigService, deps: [{ token: i1.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
41
|
+
MonkeyEcxSecurityConsoleConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxSecurityConsoleConfigService, providedIn: 'root' });
|
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxSecurityConsoleConfigService, decorators: [{
|
|
43
|
+
type: Injectable,
|
|
44
|
+
args: [{
|
|
45
|
+
providedIn: 'root'
|
|
46
|
+
}]
|
|
47
|
+
}], ctorParame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