monkey-front-core 0.0.238 → 0.0.239
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/esm2020/lib/components/alerts/alerts.component.mjs +35 -0
- package/esm2020/lib/components/alerts/alerts.module.mjs +21 -0
- package/esm2020/lib/components/alerts/index.mjs +3 -0
- package/esm2020/lib/components/closed-to-maintenance/closed-to-maintenance.component.mjs +29 -0
- package/esm2020/lib/components/closed-to-maintenance/closed-to-maintenance.module.mjs +43 -0
- package/esm2020/lib/components/closed-to-maintenance/index.mjs +3 -0
- package/esm2020/lib/components/index.mjs +5 -0
- package/esm2020/lib/components/progress-bar/index.mjs +4 -0
- package/esm2020/lib/components/progress-bar/progress-bar.component.mjs +23 -0
- package/esm2020/lib/components/progress-bar/progress-bar.module.mjs +18 -0
- package/esm2020/lib/components/progress-bar/progress-bar.service.mjs +50 -0
- package/esm2020/lib/components/version-changed/index.mjs +3 -0
- package/esm2020/lib/components/version-changed/version-changed.component.mjs +24 -0
- package/esm2020/lib/components/version-changed/version-changed.module.mjs +39 -0
- package/esm2020/lib/core/decorators/index.mjs +5 -0
- package/esm2020/lib/core/decorators/monkeyecx-charts-decorators.mjs +40 -0
- package/esm2020/lib/core/decorators/monkeyecx-decorators.mjs +111 -0
- package/esm2020/lib/core/decorators/monkeyecx-download-decorators.mjs +26 -0
- package/esm2020/lib/core/decorators/monkeyecx-upload-decorators.mjs +26 -0
- package/esm2020/lib/core/directives/index.mjs +13 -0
- package/esm2020/lib/core/directives/monkeyecx-directives-module.mjs +73 -0
- package/esm2020/lib/core/directives/monkeyecx-drag-drop.mjs +57 -0
- package/esm2020/lib/core/directives/monkeyecx-feature-by-program-directive.mjs +50 -0
- package/esm2020/lib/core/directives/monkeyecx-feature-directive.mjs +68 -0
- package/esm2020/lib/core/directives/monkeyecx-format-currency.mjs +44 -0
- package/esm2020/lib/core/directives/monkeyecx-format-upper.mjs +67 -0
- package/esm2020/lib/core/directives/monkeyecx-only-alpha-numeric-directive.mjs +28 -0
- package/esm2020/lib/core/directives/monkeyecx-only-number-directive.mjs +28 -0
- package/esm2020/lib/core/directives/monkeyecx-popover-options.directive.mjs +39 -0
- package/esm2020/lib/core/directives/monkeyecx-popover.directive.mjs +212 -0
- package/esm2020/lib/core/directives/monkeyecx-security-directive.mjs +69 -0
- package/esm2020/lib/core/directives/monkeyecx-tooltip-directive.mjs +123 -0
- package/esm2020/lib/core/index.mjs +10 -0
- package/esm2020/lib/core/interceptors/index.mjs +6 -0
- package/esm2020/lib/core/interceptors/monkeyecx-http-config-error.interceptor.mjs +39 -0
- package/esm2020/lib/core/interceptors/monkeyecx-http-config-header.interceptor.mjs +60 -0
- package/esm2020/lib/core/interceptors/monkeyecx-http-config-interceptor.module.mjs +47 -0
- package/esm2020/lib/core/interceptors/monkeyecx-http-config-loading-in-progress.interceptor.mjs +43 -0
- package/esm2020/lib/core/interceptors/monkeyecx-http-config-queue.interceptor.mjs +37 -0
- package/esm2020/lib/core/interfaces/index.mjs +30 -0
- package/esm2020/lib/core/interfaces/monkeyecx-auth-credentials.mjs +2 -0
- package/esm2020/lib/core/interfaces/monkeyecx-company-pendencies.mjs +2 -0
- package/esm2020/lib/core/interfaces/monkeyecx-company.mjs +2 -0
- package/esm2020/lib/core/interfaces/monkeyecx-config-boostrap.mjs +2 -0
- package/esm2020/lib/core/interfaces/monkeyecx-config.mjs +2 -0
- package/esm2020/lib/core/interfaces/monkeyecx-country-security.mjs +2 -0
- package/esm2020/lib/core/interfaces/monkeyecx-error-response.mjs +2 -0
- package/esm2020/lib/core/interfaces/monkeyecx-filter.mjs +2 -0
- package/esm2020/lib/core/interfaces/monkeyecx-handled-error-response.mjs +2 -0
- package/esm2020/lib/core/interfaces/monkeyecx-header-credentials.mjs +2 -0
- package/esm2020/lib/core/interfaces/monkeyecx-intercom-options.mjs +2 -0
- package/esm2020/lib/core/interfaces/monkeyecx-me-credentials.mjs +2 -0
- package/esm2020/lib/core/interfaces/monkeyecx-navigation.mjs +2 -0
- package/esm2020/lib/core/interfaces/monkeyecx-program.mjs +2 -0
- package/esm2020/lib/core/interfaces/monkeyecx-releases.mjs +2 -0
- package/esm2020/lib/core/interfaces/monkeyecx-request-in-progress.mjs +2 -0
- package/esm2020/lib/core/interfaces/monkeyecx-request-paged.mjs +2 -0
- package/esm2020/lib/core/interfaces/monkeyecx-response-links.mjs +2 -0
- package/esm2020/lib/core/interfaces/monkeyecx-response-paged.mjs +2 -0
- package/esm2020/lib/core/interfaces/monkeyecx-saved-state.mjs +2 -0
- package/esm2020/lib/core/interfaces/monkeyecx-scroll-options.mjs +2 -0
- package/esm2020/lib/core/interfaces/monkeyecx-service-credentials.mjs +2 -0
- package/esm2020/lib/core/interfaces/monkeyecx-support-options.mjs +2 -0
- package/esm2020/lib/core/interfaces/monkeyecx-token-credentials.mjs +2 -0
- package/esm2020/lib/core/interfaces/monkeyecx-translate-options.mjs +2 -0
- package/esm2020/lib/core/interfaces/request-download/index.mjs +4 -0
- package/esm2020/lib/core/interfaces/request-download/monkeyecx-request-download.mjs +2 -0
- package/esm2020/lib/core/interfaces/request-download/monkeyecx-request-downloaded.mjs +2 -0
- package/esm2020/lib/core/interfaces/request-download/monkeyecx-request-item-download.mjs +2 -0
- package/esm2020/lib/core/interfaces/request-queue/index.mjs +4 -0
- package/esm2020/lib/core/interfaces/request-queue/monkeyecx-request-item-queue.mjs +2 -0
- package/esm2020/lib/core/interfaces/request-queue/monkeyecx-request-progress-queue.mjs +2 -0
- package/esm2020/lib/core/interfaces/request-queue/monkeyecx-request-queue.mjs +2 -0
- package/esm2020/lib/core/interfaces/request-upload/index.mjs +3 -0
- package/esm2020/lib/core/interfaces/request-upload/monkeyecx-request-item-upload.mjs +2 -0
- package/esm2020/lib/core/interfaces/request-upload/monkeyecx-request-upload.mjs +2 -0
- package/esm2020/lib/core/interfaces/schedules/index.mjs +2 -0
- package/esm2020/lib/core/interfaces/schedules/monkeyecx-request-schedule.mjs +2 -0
- package/esm2020/lib/core/model/index.mjs +2 -0
- package/esm2020/lib/core/model/monkeyecx-model.mjs +25 -0
- package/esm2020/lib/core/pipes/index.mjs +20 -0
- package/esm2020/lib/core/pipes/monkeyecx-display-first-name.mjs +19 -0
- package/esm2020/lib/core/pipes/monkeyecx-display-initials.mjs +21 -0
- package/esm2020/lib/core/pipes/monkeyecx-format-address.mjs +20 -0
- package/esm2020/lib/core/pipes/monkeyecx-format-beautify-json.mjs +38 -0
- package/esm2020/lib/core/pipes/monkeyecx-format-currency.mjs +27 -0
- package/esm2020/lib/core/pipes/monkeyecx-format-date-group.mjs +45 -0
- package/esm2020/lib/core/pipes/monkeyecx-format-date-timelapse.mjs +32 -0
- package/esm2020/lib/core/pipes/monkeyecx-format-date-unix-timelapse.mjs +36 -0
- package/esm2020/lib/core/pipes/monkeyecx-format-document.mjs +19 -0
- package/esm2020/lib/core/pipes/monkeyecx-format-number.mjs +20 -0
- package/esm2020/lib/core/pipes/monkeyecx-format-phone.mjs +42 -0
- package/esm2020/lib/core/pipes/monkeyecx-format-size.mjs +20 -0
- package/esm2020/lib/core/pipes/monkeyecx-format-tax.mjs +23 -0
- package/esm2020/lib/core/pipes/monkeyecx-format-type-document.mjs +19 -0
- package/esm2020/lib/core/pipes/monkeyecx-format-value.mjs +19 -0
- package/esm2020/lib/core/pipes/monkeyecx-format-zipcode.mjs +19 -0
- package/esm2020/lib/core/pipes/monkeyecx-pipes.module.mjs +107 -0
- package/esm2020/lib/core/pipes/monkeyecx-text-truncate.mjs +23 -0
- package/esm2020/lib/core/pipes/monkeyecx-truncate-qtd.mjs +16 -0
- package/esm2020/lib/core/services/auth/index.mjs +5 -0
- package/esm2020/lib/core/services/auth/monkeyecx-auth-guard-company.service.mjs +28 -0
- package/esm2020/lib/core/services/auth/monkeyecx-auth-guard-login.service.mjs +27 -0
- package/esm2020/lib/core/services/auth/monkeyecx-auth-guard.service.mjs +26 -0
- package/esm2020/lib/core/services/auth/monkeyecx-authentication.service.mjs +69 -0
- package/esm2020/lib/core/services/commons/index.mjs +2 -0
- package/esm2020/lib/core/services/commons/monkeyecx-commons.service.mjs +405 -0
- package/esm2020/lib/core/services/config/monkeyecx-alerts-config.service.mjs +40 -0
- package/esm2020/lib/core/services/config/monkeyecx-config.module.mjs +28 -0
- package/esm2020/lib/core/services/config/monkeyecx-config.service.mjs +111 -0
- package/esm2020/lib/core/services/config/monkeyecx-error-config.service.mjs +85 -0
- package/esm2020/lib/core/services/config/monkeyecx-feature-toggle.service.mjs +67 -0
- package/esm2020/lib/core/services/config/monkeyecx-ga-config.service.mjs +57 -0
- package/esm2020/lib/core/services/config/monkeyecx-i18n-config.service.mjs +92 -0
- package/esm2020/lib/core/services/config/monkeyecx-logs-config.service.mjs +34 -0
- package/esm2020/lib/core/services/config/monkeyecx-maintenance-config.service.mjs +37 -0
- package/esm2020/lib/core/services/config/monkeyecx-security-console-config.service.mjs +42 -0
- package/esm2020/lib/core/services/config/monkeyecx-service-worker-config.service.mjs +53 -0
- package/esm2020/lib/core/services/error/index.mjs +5 -0
- package/esm2020/lib/core/services/error/monkeyecx-error-handling.module.mjs +27 -0
- package/esm2020/lib/core/services/error/monkeyecx-error-handling.service.mjs +37 -0
- package/esm2020/lib/core/services/error/monkeyecx-http-error-handling.service.mjs +135 -0
- package/esm2020/lib/core/services/error/monkeyecx-others-errors-handling.service.mjs +29 -0
- package/esm2020/lib/core/services/index.mjs +23 -0
- package/esm2020/lib/core/services/logged/index.mjs +2 -0
- package/esm2020/lib/core/services/logged/monkeyecx-logged-handling.service.mjs +40 -0
- package/esm2020/lib/core/services/monkeyecx-handling.service.mjs +50 -0
- package/esm2020/lib/core/services/monkeyecx-service.service.mjs +104 -0
- package/esm2020/lib/core/services/pagination/index.mjs +2 -0
- package/esm2020/lib/core/services/pagination/monkeyecx-pagination.service.mjs +29 -0
- package/esm2020/lib/core/services/request-download/index.mjs +3 -0
- package/esm2020/lib/core/services/request-download/monkeyecx-request-download-handling.service.mjs +93 -0
- package/esm2020/lib/core/services/request-download/monkeyecx-request-downloaded-handling.service.mjs +61 -0
- package/esm2020/lib/core/services/request-paged/index.mjs +2 -0
- package/esm2020/lib/core/services/request-paged/monkeyecx-request-request-paged-handling.mjs +42 -0
- package/esm2020/lib/core/services/request-queue/index.mjs +3 -0
- package/esm2020/lib/core/services/request-queue/monkeyecx-request-queue-handling.service.mjs +114 -0
- package/esm2020/lib/core/services/request-queue/monkeyecx-request-queue-modal-handling.service.mjs +119 -0
- package/esm2020/lib/core/services/routes/index.mjs +2 -0
- package/esm2020/lib/core/services/routes/monkeyecx-dicovery-params.service.mjs +54 -0
- package/esm2020/lib/core/services/schedules/index.mjs +2 -0
- package/esm2020/lib/core/services/schedules/monkeyecx-request-schedule.service.mjs +188 -0
- package/esm2020/lib/core/services/storage/index.mjs +3 -0
- package/esm2020/lib/core/services/storage/monkeyecx-cookie-storage.service.mjs +32 -0
- package/esm2020/lib/core/services/storage/monkeyecx-token-storage.service.mjs +127 -0
- package/esm2020/lib/core/specification-search/index.mjs +2 -0
- package/esm2020/lib/core/specification-search/monkeyecx-specification-search.mjs +108 -0
- package/esm2020/lib/core/utils/decorators-utils.mjs +40 -0
- package/esm2020/lib/core/utils/index.mjs +8 -0
- package/esm2020/lib/core/utils/statics.mjs +38 -0
- package/esm2020/lib/core/utils/utils.mjs +221 -0
- package/esm2020/lib/core/utils/validate-utils.mjs +206 -0
- package/esm2020/lib/core/utils/validators.mjs +208 -0
- package/esm2020/lib/monkey-front-core.module.mjs +64 -0
- package/esm2020/monkey-front-core.mjs +5 -0
- package/esm2020/public-api.mjs +7 -0
- package/fesm2015/monkey-front-core.mjs +5123 -0
- package/fesm2015/monkey-front-core.mjs.map +1 -0
- package/fesm2020/monkey-front-core.mjs +5182 -0
- package/fesm2020/monkey-front-core.mjs.map +1 -0
- package/lib/components/alerts/alerts.component.d.ts +16 -0
- package/lib/components/alerts/alerts.module.d.ts +10 -0
- package/{src/lib/components/alerts/index.ts → lib/components/alerts/index.d.ts} +2 -2
- package/lib/components/closed-to-maintenance/closed-to-maintenance.component.d.ts +13 -0
- package/lib/components/closed-to-maintenance/closed-to-maintenance.module.d.ts +11 -0
- package/{src/lib/components/closed-to-maintenance/index.ts → lib/components/closed-to-maintenance/index.d.ts} +2 -2
- package/{src/lib/components/index.ts → lib/components/index.d.ts} +4 -4
- package/{src/lib/components/progress-bar/index.ts → lib/components/progress-bar/index.d.ts} +3 -3
- package/lib/components/progress-bar/progress-bar.component.d.ts +11 -0
- package/lib/components/progress-bar/progress-bar.module.d.ts +8 -0
- package/lib/components/progress-bar/progress-bar.service.d.ts +14 -0
- package/{src/lib/components/version-changed/index.ts → lib/components/version-changed/index.d.ts} +2 -2
- package/lib/components/version-changed/version-changed.component.d.ts +9 -0
- package/lib/components/version-changed/version-changed.module.d.ts +10 -0
- package/{src/lib/core/decorators/index.ts → lib/core/decorators/index.d.ts} +4 -4
- package/lib/core/decorators/monkeyecx-charts-decorators.d.ts +1 -0
- package/lib/core/decorators/monkeyecx-decorators.d.ts +7 -0
- package/lib/core/decorators/monkeyecx-download-decorators.d.ts +2 -0
- package/lib/core/decorators/monkeyecx-upload-decorators.d.ts +2 -0
- package/{src/lib/core/directives/index.ts → lib/core/directives/index.d.ts} +12 -12
- package/lib/core/directives/monkeyecx-directives-module.d.ts +19 -0
- package/lib/core/directives/monkeyecx-drag-drop.d.ts +12 -0
- package/lib/core/directives/monkeyecx-feature-by-program-directive.d.ts +15 -0
- package/lib/core/directives/monkeyecx-feature-directive.d.ts +17 -0
- package/lib/core/directives/monkeyecx-format-currency.d.ts +16 -0
- package/lib/core/directives/monkeyecx-format-upper.d.ts +18 -0
- package/lib/core/directives/monkeyecx-only-alpha-numeric-directive.d.ts +9 -0
- package/lib/core/directives/monkeyecx-only-number-directive.d.ts +9 -0
- package/lib/core/directives/monkeyecx-popover-options.directive.d.ts +19 -0
- package/lib/core/directives/monkeyecx-popover.directive.d.ts +43 -0
- package/lib/core/directives/monkeyecx-security-directive.d.ts +17 -0
- package/lib/core/directives/monkeyecx-tooltip-directive.d.ts +23 -0
- package/{src/lib/core/index.ts → lib/core/index.d.ts} +9 -9
- package/{src/lib/core/interceptors/index.ts → lib/core/interceptors/index.d.ts} +5 -5
- package/lib/core/interceptors/monkeyecx-http-config-error.interceptor.d.ts +17 -0
- package/lib/core/interceptors/monkeyecx-http-config-header.interceptor.d.ts +16 -0
- package/lib/core/interceptors/monkeyecx-http-config-interceptor.module.d.ts +9 -0
- package/lib/core/interceptors/monkeyecx-http-config-loading-in-progress.interceptor.d.ts +12 -0
- package/lib/core/interceptors/monkeyecx-http-config-queue.interceptor.d.ts +14 -0
- package/{src/lib/core/interfaces/index.ts → lib/core/interfaces/index.d.ts} +29 -29
- package/lib/core/interfaces/monkeyecx-auth-credentials.d.ts +15 -0
- package/{src/lib/core/interfaces/monkeyecx-company-pendencies.ts → lib/core/interfaces/monkeyecx-company-pendencies.d.ts} +14 -16
- package/lib/core/interfaces/monkeyecx-company.d.ts +10 -0
- package/lib/core/interfaces/monkeyecx-config-boostrap.d.ts +14 -0
- package/lib/core/interfaces/monkeyecx-config.d.ts +125 -0
- package/lib/core/interfaces/monkeyecx-country-security.d.ts +4 -0
- package/lib/core/interfaces/monkeyecx-error-response.d.ts +5 -0
- package/lib/core/interfaces/monkeyecx-filter.d.ts +24 -0
- package/lib/core/interfaces/monkeyecx-handled-error-response.d.ts +10 -0
- package/lib/core/interfaces/monkeyecx-header-credentials.d.ts +4 -0
- package/{src/lib/core/interfaces/monkeyecx-intercom-options.ts → lib/core/interfaces/monkeyecx-intercom-options.d.ts} +4 -4
- package/lib/core/interfaces/monkeyecx-me-credentials.d.ts +22 -0
- package/lib/core/interfaces/monkeyecx-navigation.d.ts +27 -0
- package/lib/core/interfaces/monkeyecx-program.d.ts +10 -0
- package/lib/core/interfaces/monkeyecx-releases.d.ts +9 -0
- package/{src/lib/core/interfaces/monkeyecx-request-in-progress.ts → lib/core/interfaces/monkeyecx-request-in-progress.d.ts} +3 -3
- package/lib/core/interfaces/monkeyecx-request-paged.d.ts +23 -0
- package/lib/core/interfaces/monkeyecx-response-links.d.ts +11 -0
- package/lib/core/interfaces/monkeyecx-response-paged.d.ts +6 -0
- package/lib/core/interfaces/monkeyecx-saved-state.d.ts +5 -0
- package/{src/lib/core/interfaces/monkeyecx-scroll-options.ts → lib/core/interfaces/monkeyecx-scroll-options.d.ts} +5 -6
- package/{src/lib/core/interfaces/monkeyecx-service-credentials.ts → lib/core/interfaces/monkeyecx-service-credentials.d.ts} +12 -13
- package/{src/lib/core/interfaces/monkeyecx-support-options.ts → lib/core/interfaces/monkeyecx-support-options.d.ts} +4 -4
- package/lib/core/interfaces/monkeyecx-token-credentials.d.ts +20 -0
- package/lib/core/interfaces/monkeyecx-translate-options.d.ts +4 -0
- package/{src/lib/core/interfaces/request-download/index.ts → lib/core/interfaces/request-download/index.d.ts} +3 -3
- package/lib/core/interfaces/request-download/monkeyecx-request-download.d.ts +10 -0
- package/lib/core/interfaces/request-download/monkeyecx-request-downloaded.d.ts +7 -0
- package/lib/core/interfaces/request-download/monkeyecx-request-item-download.d.ts +7 -0
- package/{src/lib/core/interfaces/request-queue/index.ts → lib/core/interfaces/request-queue/index.d.ts} +3 -3
- package/lib/core/interfaces/request-queue/monkeyecx-request-item-queue.d.ts +7 -0
- package/lib/core/interfaces/request-queue/monkeyecx-request-progress-queue.d.ts +6 -0
- package/{src/lib/core/interfaces/request-queue/monkeyecx-request-queue.ts → lib/core/interfaces/request-queue/monkeyecx-request-queue.d.ts} +8 -9
- package/{src/lib/core/interfaces/request-upload/index.ts → lib/core/interfaces/request-upload/index.d.ts} +2 -2
- package/lib/core/interfaces/request-upload/monkeyecx-request-item-upload.d.ts +5 -0
- package/lib/core/interfaces/request-upload/monkeyecx-request-upload.d.ts +10 -0
- package/{src/lib/core/interfaces/schedules/index.ts → lib/core/interfaces/schedules/index.d.ts} +1 -1
- package/lib/core/interfaces/schedules/monkeyecx-request-schedule.d.ts +13 -0
- package/{src/lib/core/model/index.ts → lib/core/model/index.d.ts} +1 -1
- package/lib/core/model/monkeyecx-model.d.ts +13 -0
- package/{src/lib/core/pipes/index.ts → lib/core/pipes/index.d.ts} +19 -19
- package/lib/core/pipes/monkeyecx-display-first-name.d.ts +7 -0
- package/lib/core/pipes/monkeyecx-display-initials.d.ts +7 -0
- package/lib/core/pipes/monkeyecx-format-address.d.ts +14 -0
- package/lib/core/pipes/monkeyecx-format-beautify-json.d.ts +8 -0
- package/lib/core/pipes/monkeyecx-format-currency.d.ts +11 -0
- package/lib/core/pipes/monkeyecx-format-date-group.d.ts +11 -0
- package/lib/core/pipes/monkeyecx-format-date-timelapse.d.ts +7 -0
- package/lib/core/pipes/monkeyecx-format-date-unix-timelapse.d.ts +7 -0
- package/lib/core/pipes/monkeyecx-format-document.d.ts +7 -0
- package/lib/core/pipes/monkeyecx-format-number.d.ts +7 -0
- package/lib/core/pipes/monkeyecx-format-phone.d.ts +7 -0
- package/lib/core/pipes/monkeyecx-format-size.d.ts +7 -0
- package/lib/core/pipes/monkeyecx-format-tax.d.ts +7 -0
- package/lib/core/pipes/monkeyecx-format-type-document.d.ts +7 -0
- package/lib/core/pipes/monkeyecx-format-value.d.ts +7 -0
- package/lib/core/pipes/monkeyecx-format-zipcode.d.ts +7 -0
- package/lib/core/pipes/monkeyecx-pipes.module.d.ts +24 -0
- package/lib/core/pipes/monkeyecx-text-truncate.d.ts +7 -0
- package/lib/core/pipes/monkeyecx-truncate-qtd.d.ts +7 -0
- package/{src/lib/core/services/auth/index.ts → lib/core/services/auth/index.d.ts} +4 -4
- package/lib/core/services/auth/monkeyecx-auth-guard-company.service.d.ts +11 -0
- package/lib/core/services/auth/monkeyecx-auth-guard-login.service.d.ts +11 -0
- package/lib/core/services/auth/monkeyecx-auth-guard.service.d.ts +11 -0
- package/lib/core/services/auth/monkeyecx-authentication.service.d.ts +30 -0
- package/{src/lib/core/services/commons/index.ts → lib/core/services/commons/index.d.ts} +1 -1
- package/lib/core/services/commons/monkeyecx-commons.service.d.ts +124 -0
- package/lib/core/services/config/monkeyecx-alerts-config.service.d.ts +11 -0
- package/lib/core/services/config/monkeyecx-config.module.d.ts +9 -0
- package/lib/core/services/config/monkeyecx-config.service.d.ts +36 -0
- package/lib/core/services/config/monkeyecx-error-config.service.d.ts +8 -0
- package/lib/core/services/config/monkeyecx-feature-toggle.service.d.ts +16 -0
- package/lib/core/services/config/monkeyecx-ga-config.service.d.ts +10 -0
- package/lib/core/services/config/monkeyecx-i18n-config.service.d.ts +16 -0
- package/lib/core/services/config/monkeyecx-logs-config.service.d.ts +7 -0
- package/lib/core/services/config/monkeyecx-maintenance-config.service.d.ts +13 -0
- package/lib/core/services/config/monkeyecx-security-console-config.service.d.ts +11 -0
- package/lib/core/services/config/monkeyecx-service-worker-config.service.d.ts +16 -0
- package/{src/lib/core/services/error/index.ts → lib/core/services/error/index.d.ts} +4 -4
- package/lib/core/services/error/monkeyecx-error-handling.module.d.ts +9 -0
- package/lib/core/services/error/monkeyecx-error-handling.service.d.ts +9 -0
- package/lib/core/services/error/monkeyecx-http-error-handling.service.d.ts +26 -0
- package/lib/core/services/error/monkeyecx-others-errors-handling.service.d.ts +9 -0
- package/{src/lib/core/services/index.ts → lib/core/services/index.d.ts} +22 -22
- package/{src/lib/core/services/logged/index.ts → lib/core/services/logged/index.d.ts} +1 -1
- package/lib/core/services/logged/monkeyecx-logged-handling.service.d.ts +14 -0
- package/lib/core/services/monkeyecx-handling.service.d.ts +22 -0
- package/lib/core/services/monkeyecx-service.service.d.ts +18 -0
- package/{src/lib/core/services/pagination/index.ts → lib/core/services/pagination/index.d.ts} +1 -1
- package/lib/core/services/pagination/monkeyecx-pagination.service.d.ts +9 -0
- package/{src/lib/core/services/request-download/index.ts → lib/core/services/request-download/index.d.ts} +2 -2
- package/lib/core/services/request-download/monkeyecx-request-download-handling.service.d.ts +18 -0
- package/lib/core/services/request-download/monkeyecx-request-downloaded-handling.service.d.ts +16 -0
- package/{src/lib/core/services/request-paged/index.ts → lib/core/services/request-paged/index.d.ts} +1 -1
- package/lib/core/services/request-paged/monkeyecx-request-request-paged-handling.d.ts +11 -0
- package/{src/lib/core/services/request-queue/index.ts → lib/core/services/request-queue/index.d.ts} +2 -2
- package/lib/core/services/request-queue/monkeyecx-request-queue-handling.service.d.ts +21 -0
- package/lib/core/services/request-queue/monkeyecx-request-queue-modal-handling.service.d.ts +23 -0
- package/{src/lib/core/services/routes/index.ts → lib/core/services/routes/index.d.ts} +1 -1
- package/lib/core/services/routes/monkeyecx-dicovery-params.service.d.ts +13 -0
- package/{src/lib/core/services/schedules/index.ts → lib/core/services/schedules/index.d.ts} +1 -1
- package/lib/core/services/schedules/monkeyecx-request-schedule.service.d.ts +47 -0
- package/{src/lib/core/services/storage/index.ts → lib/core/services/storage/index.d.ts} +2 -2
- package/lib/core/services/storage/monkeyecx-cookie-storage.service.d.ts +11 -0
- package/lib/core/services/storage/monkeyecx-token-storage.service.d.ts +29 -0
- package/{src/lib/core/specification-search/index.ts → lib/core/specification-search/index.d.ts} +1 -1
- package/lib/core/specification-search/monkeyecx-specification-search.d.ts +20 -0
- package/lib/core/utils/decorators-utils.d.ts +5 -0
- package/{src/lib/core/utils/index.ts → lib/core/utils/index.d.ts} +6 -8
- package/lib/core/utils/statics.d.ts +28 -0
- package/lib/core/utils/utils.d.ts +22 -0
- package/lib/core/utils/validate-utils.d.ts +66 -0
- package/lib/core/utils/validators.d.ts +29 -0
- package/lib/monkey-front-core.module.d.ts +17 -0
- package/monkey-front-core-0.0.239.tgz +0 -0
- package/monkey-front-core.d.ts +5 -0
- package/package.json +24 -4
- package/{src/public-api.ts → public-api.d.ts} +3 -6
- package/karma.conf.js +0 -44
- package/monkey-front-core-0.0.238.tgz +0 -0
- package/ng-package.json +0 -8
- package/src/lib/components/alerts/alerts.component.html +0 -18
- package/src/lib/components/alerts/alerts.component.scss +0 -71
- package/src/lib/components/alerts/alerts.component.ts +0 -36
- package/src/lib/components/alerts/alerts.module.ts +0 -12
- package/src/lib/components/closed-to-maintenance/closed-to-maintenance.component.html +0 -25
- package/src/lib/components/closed-to-maintenance/closed-to-maintenance.component.scss +0 -51
- package/src/lib/components/closed-to-maintenance/closed-to-maintenance.component.ts +0 -25
- package/src/lib/components/closed-to-maintenance/closed-to-maintenance.module.ts +0 -26
- package/src/lib/components/progress-bar/progress-bar.component.html +0 -3
- package/src/lib/components/progress-bar/progress-bar.component.scss +0 -6
- package/src/lib/components/progress-bar/progress-bar.component.ts +0 -22
- package/src/lib/components/progress-bar/progress-bar.module.ts +0 -10
- package/src/lib/components/progress-bar/progress-bar.service.ts +0 -61
- package/src/lib/components/version-changed/version-changed.component.html +0 -18
- package/src/lib/components/version-changed/version-changed.component.scss +0 -52
- package/src/lib/components/version-changed/version-changed.component.ts +0 -18
- package/src/lib/components/version-changed/version-changed.module.ts +0 -24
- package/src/lib/core/decorators/monkeyecx-charts-decorators.ts +0 -46
- package/src/lib/core/decorators/monkeyecx-decorators.ts +0 -159
- package/src/lib/core/decorators/monkeyecx-download-decorators.ts +0 -39
- package/src/lib/core/decorators/monkeyecx-upload-decorators.ts +0 -39
- package/src/lib/core/directives/monkeyecx-directives-module.ts +0 -45
- package/src/lib/core/directives/monkeyecx-drag-drop.ts +0 -40
- package/src/lib/core/directives/monkeyecx-feature-by-program-directive.ts +0 -53
- package/src/lib/core/directives/monkeyecx-feature-directive.ts +0 -72
- package/src/lib/core/directives/monkeyecx-format-currency.ts +0 -44
- package/src/lib/core/directives/monkeyecx-format-upper.ts +0 -54
- package/src/lib/core/directives/monkeyecx-only-alpha-numeric-directive.ts +0 -21
- package/src/lib/core/directives/monkeyecx-only-number-directive.ts +0 -21
- package/src/lib/core/directives/monkeyecx-popover-options.directive.ts +0 -52
- package/src/lib/core/directives/monkeyecx-popover.directive.ts +0 -235
- package/src/lib/core/directives/monkeyecx-security-directive.ts +0 -68
- package/src/lib/core/directives/monkeyecx-tooltip-directive.ts +0 -131
- package/src/lib/core/interceptors/monkeyecx-http-config-error.interceptor.ts +0 -58
- package/src/lib/core/interceptors/monkeyecx-http-config-header.interceptor.ts +0 -78
- package/src/lib/core/interceptors/monkeyecx-http-config-interceptor.module.ts +0 -40
- package/src/lib/core/interceptors/monkeyecx-http-config-loading-in-progress.interceptor.ts +0 -47
- package/src/lib/core/interceptors/monkeyecx-http-config-queue.interceptor.ts +0 -44
- package/src/lib/core/interfaces/monkeyecx-auth-credentials.ts +0 -16
- package/src/lib/core/interfaces/monkeyecx-company.ts +0 -10
- package/src/lib/core/interfaces/monkeyecx-config-boostrap.ts +0 -14
- package/src/lib/core/interfaces/monkeyecx-config.ts +0 -139
- package/src/lib/core/interfaces/monkeyecx-country-security.ts +0 -4
- package/src/lib/core/interfaces/monkeyecx-error-response.ts +0 -5
- package/src/lib/core/interfaces/monkeyecx-filter.ts +0 -26
- package/src/lib/core/interfaces/monkeyecx-handled-error-response.ts +0 -11
- package/src/lib/core/interfaces/monkeyecx-header-credentials.ts +0 -4
- package/src/lib/core/interfaces/monkeyecx-me-credentials.ts +0 -23
- package/src/lib/core/interfaces/monkeyecx-navigation.ts +0 -28
- package/src/lib/core/interfaces/monkeyecx-program.ts +0 -10
- package/src/lib/core/interfaces/monkeyecx-releases.ts +0 -9
- package/src/lib/core/interfaces/monkeyecx-request-paged.ts +0 -27
- package/src/lib/core/interfaces/monkeyecx-response-links.ts +0 -11
- package/src/lib/core/interfaces/monkeyecx-response-paged.ts +0 -6
- package/src/lib/core/interfaces/monkeyecx-saved-state.ts +0 -5
- package/src/lib/core/interfaces/monkeyecx-token-credentials.ts +0 -20
- package/src/lib/core/interfaces/monkeyecx-translate-options.ts +0 -4
- package/src/lib/core/interfaces/request-download/monkeyecx-request-download.ts +0 -11
- package/src/lib/core/interfaces/request-download/monkeyecx-request-downloaded.ts +0 -8
- package/src/lib/core/interfaces/request-download/monkeyecx-request-item-download.ts +0 -7
- package/src/lib/core/interfaces/request-queue/monkeyecx-request-item-queue.ts +0 -7
- package/src/lib/core/interfaces/request-queue/monkeyecx-request-progress-queue.ts +0 -6
- package/src/lib/core/interfaces/request-upload/monkeyecx-request-item-upload.ts +0 -5
- package/src/lib/core/interfaces/request-upload/monkeyecx-request-upload.ts +0 -11
- package/src/lib/core/interfaces/schedules/monkeyecx-request-schedule.ts +0 -14
- package/src/lib/core/model/monkeyecx-model.ts +0 -38
- package/src/lib/core/pipes/monkeyecx-display-first-name.ts +0 -12
- package/src/lib/core/pipes/monkeyecx-display-initials.ts +0 -14
- package/src/lib/core/pipes/monkeyecx-display-support-phone.ts +0 -31
- package/src/lib/core/pipes/monkeyecx-format-address.ts +0 -27
- package/src/lib/core/pipes/monkeyecx-format-beautify-json.ts +0 -35
- package/src/lib/core/pipes/monkeyecx-format-currency.ts +0 -20
- package/src/lib/core/pipes/monkeyecx-format-date-group.ts +0 -40
- package/src/lib/core/pipes/monkeyecx-format-date-timelapse.ts +0 -25
- package/src/lib/core/pipes/monkeyecx-format-date-unix-timelapse.ts +0 -31
- package/src/lib/core/pipes/monkeyecx-format-document.ts +0 -12
- package/src/lib/core/pipes/monkeyecx-format-number.ts +0 -14
- package/src/lib/core/pipes/monkeyecx-format-phone.ts +0 -32
- package/src/lib/core/pipes/monkeyecx-format-size.ts +0 -13
- package/src/lib/core/pipes/monkeyecx-format-tax.ts +0 -16
- package/src/lib/core/pipes/monkeyecx-format-type-document.ts +0 -12
- package/src/lib/core/pipes/monkeyecx-format-value.ts +0 -12
- package/src/lib/core/pipes/monkeyecx-format-zipcode.ts +0 -12
- package/src/lib/core/pipes/monkeyecx-pipes.module.ts +0 -65
- package/src/lib/core/pipes/monkeyecx-text-truncate.ts +0 -17
- package/src/lib/core/pipes/monkeyecx-truncate-qtd.ts +0 -10
- package/src/lib/core/services/auth/monkeyecx-auth-guard-company.service.ts +0 -27
- package/src/lib/core/services/auth/monkeyecx-auth-guard-login.service.ts +0 -23
- package/src/lib/core/services/auth/monkeyecx-auth-guard.service.ts +0 -25
- package/src/lib/core/services/auth/monkeyecx-authentication.service.ts +0 -87
- package/src/lib/core/services/commons/monkeyecx-commons.service.ts +0 -557
- package/src/lib/core/services/config/index.ts +0 -9
- package/src/lib/core/services/config/monkeyecx-alerts-config.service.ts +0 -37
- package/src/lib/core/services/config/monkeyecx-config.module.ts +0 -23
- package/src/lib/core/services/config/monkeyecx-config.service.ts +0 -151
- package/src/lib/core/services/config/monkeyecx-error-config.service.ts +0 -92
- package/src/lib/core/services/config/monkeyecx-feature-toggle.service.ts +0 -71
- package/src/lib/core/services/config/monkeyecx-ga-config.service.ts +0 -56
- package/src/lib/core/services/config/monkeyecx-i18n-config.service.ts +0 -95
- package/src/lib/core/services/config/monkeyecx-logs-config.service.ts +0 -34
- package/src/lib/core/services/config/monkeyecx-maintenance-config.service.ts +0 -33
- package/src/lib/core/services/config/monkeyecx-security-console-config.service.ts +0 -40
- package/src/lib/core/services/config/monkeyecx-service-worker-config.service.ts +0 -50
- package/src/lib/core/services/error/monkeyecx-error-handling.module.ts +0 -20
- package/src/lib/core/services/error/monkeyecx-error-handling.service.ts +0 -33
- package/src/lib/core/services/error/monkeyecx-http-error-handling.service.ts +0 -160
- package/src/lib/core/services/error/monkeyecx-others-errors-handling.service.ts +0 -24
- package/src/lib/core/services/logged/monkeyecx-logged-handling.service.ts +0 -42
- package/src/lib/core/services/monkeyecx-handling.service.ts +0 -58
- package/src/lib/core/services/monkeyecx-service.service.ts +0 -116
- package/src/lib/core/services/pagination/monkeyecx-pagination.service.ts +0 -27
- package/src/lib/core/services/request-download/monkeyecx-request-download-handling.service.ts +0 -100
- package/src/lib/core/services/request-download/monkeyecx-request-downloaded-handling.service.ts +0 -65
- package/src/lib/core/services/request-paged/monkeyecx-request-request-paged-handling.ts +0 -58
- package/src/lib/core/services/request-queue/monkeyecx-request-queue-handling.service.ts +0 -125
- package/src/lib/core/services/request-queue/monkeyecx-request-queue-modal-handling.service.ts +0 -136
- package/src/lib/core/services/routes/monkeyecx-dicovery-params.service.ts +0 -54
- package/src/lib/core/services/schedules/monkeyecx-request-schedule.service.ts +0 -224
- package/src/lib/core/services/storage/monkeyecx-cookie-storage.service.ts +0 -28
- package/src/lib/core/services/storage/monkeyecx-token-storage.service.ts +0 -151
- package/src/lib/core/specification-search/monkeyecx-specification-search.ts +0 -111
- package/src/lib/core/utils/decorators-utils.ts +0 -56
- package/src/lib/core/utils/statics.ts +0 -36
- package/src/lib/core/utils/utils.ts +0 -237
- package/src/lib/core/utils/validate-utils.ts +0 -221
- package/src/lib/core/utils/validators.ts +0 -251
- package/src/lib/monkey-front-core.module.ts +0 -37
- package/src/test.ts +0 -26
- package/tsconfig.lib.json +0 -15
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -17
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './monkeyecx-error-handling.module';
|
|
2
|
-
export * from './monkeyecx-error-handling.service';
|
|
3
|
-
export * from './monkeyecx-http-error-handling.service';
|
|
4
|
-
export * from './monkeyecx-others-errors-handling.service';
|
|
1
|
+
export * from './monkeyecx-error-handling.module';
|
|
2
|
+
export * from './monkeyecx-error-handling.service';
|
|
3
|
+
export * from './monkeyecx-http-error-handling.service';
|
|
4
|
+
export * from './monkeyecx-others-errors-handling.service';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/common";
|
|
4
|
+
export declare class MonkeyEcxErrorHandlingModule {
|
|
5
|
+
static forRoot(): ModuleWithProviders<MonkeyEcxErrorHandlingModule>;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxErrorHandlingModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MonkeyEcxErrorHandlingModule, never, [typeof i1.CommonModule], never>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MonkeyEcxErrorHandlingModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Injector, ErrorHandler } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MonkeyEcxErrorHandlingService implements ErrorHandler {
|
|
4
|
+
private injector;
|
|
5
|
+
constructor(injector: Injector);
|
|
6
|
+
handleError(error: any, type?: string): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxErrorHandlingService, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyEcxErrorHandlingService>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Router } from '@angular/router';
|
|
2
|
+
import { HttpErrorResponse } from '@angular/common/http';
|
|
3
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
+
import { MonkeyStyleGuideSnackbarService } from 'monkey-style-guide';
|
|
5
|
+
import { MonkeyEcxAuthenticationService } from '../auth';
|
|
6
|
+
import { MonkeyEcxService } from '../monkeyecx-service.service';
|
|
7
|
+
import { MonkeyEcxTokenStorageService } from '../storage';
|
|
8
|
+
import { MonkeyEcxCommonsService } from '../commons';
|
|
9
|
+
import { MonkeyEcxServiceCredentials } from '../../interfaces';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class MonkeyEcxHttpErrorHandlingService extends MonkeyEcxCommonsService {
|
|
12
|
+
private monkeyecxAuthenticationService;
|
|
13
|
+
private router;
|
|
14
|
+
private snackbarService;
|
|
15
|
+
private translateService;
|
|
16
|
+
constructor(monkeyecxService: MonkeyEcxService, tokenStorage: MonkeyEcxTokenStorageService, monkeyecxAuthenticationService: MonkeyEcxAuthenticationService, router: Router, snackbarService: MonkeyStyleGuideSnackbarService, translateService: TranslateService);
|
|
17
|
+
private isHttpCodeIgnoreMessage;
|
|
18
|
+
private isHttpCodeIgnoreRedirect;
|
|
19
|
+
private getMessageType;
|
|
20
|
+
private showMessage;
|
|
21
|
+
private handleMessage;
|
|
22
|
+
handleError(error: HttpErrorResponse, mkc: MonkeyEcxServiceCredentials): void;
|
|
23
|
+
handleErrorRefreshToken(error: HttpErrorResponse, mkc: MonkeyEcxServiceCredentials): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxHttpErrorHandlingService, never>;
|
|
25
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyEcxHttpErrorHandlingService>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { MonkeyStyleGuideModalService } from 'monkey-style-guide';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MonkeyEcxOthersErrorsHandlingService {
|
|
4
|
+
private modalService;
|
|
5
|
+
constructor(modalService: MonkeyStyleGuideModalService);
|
|
6
|
+
handleError(error: any): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxOthersErrorsHandlingService, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyEcxOthersErrorsHandlingService>;
|
|
9
|
+
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
export * from './auth';
|
|
2
|
-
export * from './commons/monkeyecx-commons.service';
|
|
3
|
-
export * from './config/monkeyecx-config.module';
|
|
4
|
-
export * from './config/monkeyecx-config.service';
|
|
5
|
-
export * from './config/monkeyecx-error-config.service';
|
|
6
|
-
export * from './config/monkeyecx-feature-toggle.service';
|
|
7
|
-
export * from './config/monkeyecx-i18n-config.service';
|
|
8
|
-
export * from './config/monkeyecx-logs-config.service';
|
|
9
|
-
export * from './config/monkeyecx-maintenance-config.service';
|
|
10
|
-
export * from './config/monkeyecx-security-console-config.service';
|
|
11
|
-
export * from './config/monkeyecx-service-worker-config.service';
|
|
12
|
-
export * from './error';
|
|
13
|
-
export * from './logged';
|
|
14
|
-
export * from './pagination';
|
|
15
|
-
export * from './monkeyecx-service.service';
|
|
16
|
-
export * from './monkeyecx-handling.service';
|
|
17
|
-
export * from './request-download';
|
|
18
|
-
export * from './request-paged';
|
|
19
|
-
export * from './request-queue';
|
|
20
|
-
export * from './routes';
|
|
21
|
-
export * from './schedules';
|
|
22
|
-
export * from './storage';
|
|
1
|
+
export * from './auth';
|
|
2
|
+
export * from './commons/monkeyecx-commons.service';
|
|
3
|
+
export * from './config/monkeyecx-config.module';
|
|
4
|
+
export * from './config/monkeyecx-config.service';
|
|
5
|
+
export * from './config/monkeyecx-error-config.service';
|
|
6
|
+
export * from './config/monkeyecx-feature-toggle.service';
|
|
7
|
+
export * from './config/monkeyecx-i18n-config.service';
|
|
8
|
+
export * from './config/monkeyecx-logs-config.service';
|
|
9
|
+
export * from './config/monkeyecx-maintenance-config.service';
|
|
10
|
+
export * from './config/monkeyecx-security-console-config.service';
|
|
11
|
+
export * from './config/monkeyecx-service-worker-config.service';
|
|
12
|
+
export * from './error';
|
|
13
|
+
export * from './logged';
|
|
14
|
+
export * from './pagination';
|
|
15
|
+
export * from './monkeyecx-service.service';
|
|
16
|
+
export * from './monkeyecx-handling.service';
|
|
17
|
+
export * from './request-download';
|
|
18
|
+
export * from './request-paged';
|
|
19
|
+
export * from './request-queue';
|
|
20
|
+
export * from './routes';
|
|
21
|
+
export * from './schedules';
|
|
22
|
+
export * from './storage';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './monkeyecx-logged-handling.service';
|
|
1
|
+
export * from './monkeyecx-logged-handling.service';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { MonkeyEcxRequestSchedule } from '../../interfaces';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MonkeyEcxLoggedHandlingService {
|
|
4
|
+
private schedules;
|
|
5
|
+
private genericSchedules;
|
|
6
|
+
constructor();
|
|
7
|
+
private destroySchedule;
|
|
8
|
+
private destroyGenericSchedule;
|
|
9
|
+
addSchedule(sch: MonkeyEcxRequestSchedule[]): void;
|
|
10
|
+
addGenericSchedule(sch: MonkeyEcxRequestSchedule[]): void;
|
|
11
|
+
destroy(): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxLoggedHandlingService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyEcxLoggedHandlingService>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { MonkeyEcxRequestDownload } from '../interfaces/request-download/monkeyecx-request-download';
|
|
2
|
+
import { MonkeyEcxRequestQueue } from '../interfaces/request-queue/monkeyecx-request-queue';
|
|
3
|
+
import { MonkeyEcxRequestUpload } from '../interfaces/request-upload/monkeyecx-request-upload';
|
|
4
|
+
import { MonkeyEcxServiceCredentials } from '../interfaces/monkeyecx-service-credentials';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare abstract class MonkeyEcxHandlingService {
|
|
7
|
+
private monkeyecxServiceCredentials;
|
|
8
|
+
private monkeyecxRequestQueue;
|
|
9
|
+
private monkeyecxRequestDownload;
|
|
10
|
+
private monkeyecxRequestUpload;
|
|
11
|
+
clearAll(): void;
|
|
12
|
+
setMonkeyEcxServiceCredentials(param: MonkeyEcxServiceCredentials): void;
|
|
13
|
+
getMonkeyEcxServiceCredentials(): MonkeyEcxServiceCredentials | null;
|
|
14
|
+
setMonkeyEcxRequestQueue(queue: MonkeyEcxRequestQueue): void;
|
|
15
|
+
getMonkeyEcxRequestQueue(): MonkeyEcxRequestQueue | null;
|
|
16
|
+
setMonkeyEcxRequestDownload(download: MonkeyEcxRequestDownload): void;
|
|
17
|
+
getMonkeyEcxRequestDownload(): MonkeyEcxRequestDownload | null;
|
|
18
|
+
setMonkeyEcxRequestUpload(upload: MonkeyEcxRequestUpload): void;
|
|
19
|
+
getMonkeyEcxRequestUpload(): MonkeyEcxRequestUpload | null;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxHandlingService, never>;
|
|
21
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyEcxHandlingService>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { MonkeyEcxHandlingService } from './monkeyecx-handling.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class MonkeyEcxService {
|
|
6
|
+
protected http: HttpClient;
|
|
7
|
+
monkeyecxHandlingService: MonkeyEcxHandlingService;
|
|
8
|
+
constructor(http: HttpClient, monkeyecxHandlingService: MonkeyEcxHandlingService);
|
|
9
|
+
private handlelize;
|
|
10
|
+
get<T>(url: string, options?: T): Observable<T>;
|
|
11
|
+
post<T>(url: string, params: T, options?: T): Observable<T>;
|
|
12
|
+
put<T>(url: string, params: T): Observable<T>;
|
|
13
|
+
delete<T>(url: string, params?: T): Observable<T>;
|
|
14
|
+
download<T>(url: string, options?: T, filename?: string): void;
|
|
15
|
+
downloadOb<T>(url: string, options?: T, filename?: string): Observable<any>;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxService, never>;
|
|
17
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyEcxService>;
|
|
18
|
+
}
|
package/{src/lib/core/services/pagination/index.ts → lib/core/services/pagination/index.d.ts}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './monkeyecx-pagination.service';
|
|
1
|
+
export * from './monkeyecx-pagination.service';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class MonkeyEcxPaginationService {
|
|
3
|
+
private callbacks;
|
|
4
|
+
constructor();
|
|
5
|
+
setCallback(callback: Function, name?: string): void;
|
|
6
|
+
execute(type: string, name?: string): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxPaginationService, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyEcxPaginationService>;
|
|
9
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './monkeyecx-request-download-handling.service';
|
|
2
|
-
export * from './monkeyecx-request-downloaded-handling.service';
|
|
1
|
+
export * from './monkeyecx-request-download-handling.service';
|
|
2
|
+
export * from './monkeyecx-request-downloaded-handling.service';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { MonkeyEcxRequestDownload } from '../../interfaces';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class MonkeyEcxRequestDownloadHandlingService {
|
|
5
|
+
private download;
|
|
6
|
+
private download$;
|
|
7
|
+
constructor();
|
|
8
|
+
private addTo;
|
|
9
|
+
private markItemAsFinish;
|
|
10
|
+
private updateItem;
|
|
11
|
+
set(q: MonkeyEcxRequestDownload): void;
|
|
12
|
+
get(): Observable<MonkeyEcxRequestDownload[]>;
|
|
13
|
+
update(q: MonkeyEcxRequestDownload, loaded?: number, total?: number): void;
|
|
14
|
+
finishItem(q: MonkeyEcxRequestDownload, status?: number): void;
|
|
15
|
+
hasDownloadOnGoing(): boolean;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxRequestDownloadHandlingService, never>;
|
|
17
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyEcxRequestDownloadHandlingService>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { MonkeyEcxRequestDownloaded } from '../../interfaces';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class MonkeyEcxRequestDownloadedHandlingService {
|
|
5
|
+
private downloaded;
|
|
6
|
+
private downloaded$;
|
|
7
|
+
constructor();
|
|
8
|
+
private addTo;
|
|
9
|
+
private markItemAsFinish;
|
|
10
|
+
set(q: MonkeyEcxRequestDownloaded): void;
|
|
11
|
+
get(): Observable<MonkeyEcxRequestDownloaded[]>;
|
|
12
|
+
finishItem(q: MonkeyEcxRequestDownloaded, status?: number): void;
|
|
13
|
+
hasDownloadOnGoing(): boolean;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxRequestDownloadedHandlingService, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyEcxRequestDownloadedHandlingService>;
|
|
16
|
+
}
|
package/{src/lib/core/services/request-paged/index.ts → lib/core/services/request-paged/index.d.ts}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './monkeyecx-request-request-paged-handling';
|
|
1
|
+
export * from './monkeyecx-request-request-paged-handling';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { MonkeyEcxRequestPaged } from '../../interfaces/monkeyecx-request-paged';
|
|
2
|
+
export declare class MonkeyEcxRequestPagedHandling {
|
|
3
|
+
private url?;
|
|
4
|
+
private pagedParams;
|
|
5
|
+
private links;
|
|
6
|
+
private samePage;
|
|
7
|
+
constructor(url?: string, pagedParams?: MonkeyEcxRequestPaged, links?: any, samePage?: boolean);
|
|
8
|
+
private handlePagedValuesFromApi;
|
|
9
|
+
private getUrlParams;
|
|
10
|
+
getRequestWithPagedParams(): string;
|
|
11
|
+
}
|
package/{src/lib/core/services/request-queue/index.ts → lib/core/services/request-queue/index.d.ts}
RENAMED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './monkeyecx-request-queue-handling.service';
|
|
2
|
-
export * from './monkeyecx-request-queue-modal-handling.service';
|
|
1
|
+
export * from './monkeyecx-request-queue-handling.service';
|
|
2
|
+
export * from './monkeyecx-request-queue-modal-handling.service';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { MonkeyEcxRequestProgressQueue, MonkeyEcxRequestQueue } from '../../interfaces';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class MonkeyEcxRequestQueueHandlingService {
|
|
5
|
+
private queue;
|
|
6
|
+
private queues$;
|
|
7
|
+
private newQueue;
|
|
8
|
+
constructor();
|
|
9
|
+
private addToQueue;
|
|
10
|
+
private markQueueItemAsFinish;
|
|
11
|
+
private updateQueue;
|
|
12
|
+
private deleteQueue;
|
|
13
|
+
setQueue(q: MonkeyEcxRequestQueue | null): void;
|
|
14
|
+
getQueue(): Observable<MonkeyEcxRequestQueue[]>;
|
|
15
|
+
finishQueueItem(q: MonkeyEcxRequestQueue | null, action?: Function, status?: number): void;
|
|
16
|
+
removeQueueItem(q: MonkeyEcxRequestQueue): void;
|
|
17
|
+
updateQueueItem(q: MonkeyEcxRequestQueue, progress: MonkeyEcxRequestProgressQueue): void;
|
|
18
|
+
hasNewQueue(): Observable<boolean>;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxRequestQueueHandlingService, never>;
|
|
20
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyEcxRequestQueueHandlingService>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { MonkeyEcxRequestProgressQueue, MonkeyEcxRequestQueue } from '../../interfaces';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class MonkeyEcxRequestQueueModalHandlingService {
|
|
5
|
+
private queue;
|
|
6
|
+
private queues$;
|
|
7
|
+
private newQueue$;
|
|
8
|
+
private allQueueFinished$;
|
|
9
|
+
constructor();
|
|
10
|
+
private addToQueue;
|
|
11
|
+
private markQueueItemAsFinish;
|
|
12
|
+
private updateQueue;
|
|
13
|
+
private deleteQueue;
|
|
14
|
+
setQueue(q: MonkeyEcxRequestQueue): void;
|
|
15
|
+
getQueue(): Observable<MonkeyEcxRequestQueue[]>;
|
|
16
|
+
finishQueueItem(q: MonkeyEcxRequestQueue, action?: Function, status?: number): void;
|
|
17
|
+
removeQueueItem(q: MonkeyEcxRequestQueue): void;
|
|
18
|
+
updateQueueItem(q: MonkeyEcxRequestQueue, progress: MonkeyEcxRequestProgressQueue): void;
|
|
19
|
+
hasNewQueue(): Observable<boolean>;
|
|
20
|
+
hasAllQueueFinished(): Observable<boolean>;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxRequestQueueModalHandlingService, never>;
|
|
22
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyEcxRequestQueueModalHandlingService>;
|
|
23
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './monkeyecx-dicovery-params.service';
|
|
1
|
+
export * from './monkeyecx-dicovery-params.service';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Router } from '@angular/router';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MonkeyEcxDiscoveryParamsService {
|
|
4
|
+
private router;
|
|
5
|
+
constructor(router: Router);
|
|
6
|
+
private getLastChild;
|
|
7
|
+
setData(field: string, value: any): any;
|
|
8
|
+
getData(field: string): any;
|
|
9
|
+
getDataFromCurrentNavigation(field: string): any;
|
|
10
|
+
getParam(param: string): string | null;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxDiscoveryParamsService, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyEcxDiscoveryParamsService>;
|
|
13
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './monkeyecx-request-schedule.service';
|
|
1
|
+
export * from './monkeyecx-request-schedule.service';
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { HttpErrorResponse } from '@angular/common/http';
|
|
2
|
+
import { MonkeyEcxRequestSchedule } from '../../interfaces';
|
|
3
|
+
import { MonkeyEcxService } from '../monkeyecx-service.service';
|
|
4
|
+
import { MonkeyEcxLoggedHandlingService } from '../logged';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class MonkeyEcxRequestScheduleService {
|
|
7
|
+
monkeyecxService: MonkeyEcxService;
|
|
8
|
+
private monkeyLoggedHandlingService;
|
|
9
|
+
private schedule;
|
|
10
|
+
private genericSchedule;
|
|
11
|
+
constructor(monkeyecxService: MonkeyEcxService, monkeyLoggedHandlingService: MonkeyEcxLoggedHandlingService);
|
|
12
|
+
private addToSchedule;
|
|
13
|
+
private addToGenericSchedule;
|
|
14
|
+
private removeFromSchedule;
|
|
15
|
+
private removeFromGenericSchedule;
|
|
16
|
+
private removeFromScheduleById;
|
|
17
|
+
private doCall;
|
|
18
|
+
private doGenericCall;
|
|
19
|
+
setSchedule(q: MonkeyEcxRequestSchedule, delay?: number): {
|
|
20
|
+
interval: number;
|
|
21
|
+
id: string;
|
|
22
|
+
url: string;
|
|
23
|
+
method: string;
|
|
24
|
+
params?: any;
|
|
25
|
+
data?: any;
|
|
26
|
+
action(data: any, sch: MonkeyEcxRequestSchedule): void;
|
|
27
|
+
errorAction?(data: any, sch: MonkeyEcxRequestSchedule, err?: HttpErrorResponse | undefined): void;
|
|
28
|
+
queue?: import("../../interfaces").MonkeyEcxRequestQueue | undefined;
|
|
29
|
+
};
|
|
30
|
+
setGenericSchedule(q: MonkeyEcxRequestSchedule, delay?: number): {
|
|
31
|
+
id: string;
|
|
32
|
+
interval: number;
|
|
33
|
+
url: string;
|
|
34
|
+
method: string;
|
|
35
|
+
params?: any;
|
|
36
|
+
data?: any;
|
|
37
|
+
action(data: any, sch: MonkeyEcxRequestSchedule): void;
|
|
38
|
+
errorAction?(data: any, sch: MonkeyEcxRequestSchedule, err?: HttpErrorResponse | undefined): void;
|
|
39
|
+
queue?: import("../../interfaces").MonkeyEcxRequestQueue | undefined;
|
|
40
|
+
};
|
|
41
|
+
removeSchedule(q: MonkeyEcxRequestSchedule): void;
|
|
42
|
+
removeGenericSchedule(q: MonkeyEcxRequestSchedule): void;
|
|
43
|
+
removeScheduleById(id: string): void;
|
|
44
|
+
getScheduleById(id: string): any;
|
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxRequestScheduleService, never>;
|
|
46
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyEcxRequestScheduleService>;
|
|
47
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './monkeyecx-token-storage.service';
|
|
2
|
-
export * from './monkeyecx-cookie-storage.service';
|
|
1
|
+
export * from './monkeyecx-token-storage.service';
|
|
2
|
+
export * from './monkeyecx-cookie-storage.service';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CookieService } from 'ngx-cookie-service';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MonkeyEcxCookieStorageService {
|
|
4
|
+
private cookieService;
|
|
5
|
+
constructor(cookieService: CookieService);
|
|
6
|
+
setCookie(name: string, value: any, environment: any): void;
|
|
7
|
+
getCookie(name: string): string;
|
|
8
|
+
removeCookie(name: string, environment: any): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxCookieStorageService, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyEcxCookieStorageService>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { MonkeyEcxConfigService } from '../config/monkeyecx-config.service';
|
|
3
|
+
import { MonkeyEcxMeCredentials, MonkeyEcxTokenCredentials } from '../../interfaces';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class MonkeyEcxTokenStorageService {
|
|
6
|
+
private monkeyecxConfigService;
|
|
7
|
+
private token;
|
|
8
|
+
private token$;
|
|
9
|
+
private me$;
|
|
10
|
+
private config;
|
|
11
|
+
constructor(monkeyecxConfigService: MonkeyEcxConfigService);
|
|
12
|
+
private setAllTokens;
|
|
13
|
+
private getAllTokens;
|
|
14
|
+
private setAllMe;
|
|
15
|
+
private getAllMe;
|
|
16
|
+
tokenHasChanged(): Observable<MonkeyEcxTokenCredentials>;
|
|
17
|
+
meHasChanged(): Observable<MonkeyEcxMeCredentials>;
|
|
18
|
+
getToken(): MonkeyEcxTokenCredentials;
|
|
19
|
+
getMe(): MonkeyEcxMeCredentials;
|
|
20
|
+
setToken(token: MonkeyEcxTokenCredentials): void;
|
|
21
|
+
setMe(me: MonkeyEcxMeCredentials): void;
|
|
22
|
+
clear(force?: boolean): Observable<boolean>;
|
|
23
|
+
/**
|
|
24
|
+
* @param fields (the name of fields you want to clear. ie: ['companyId', 'role', ...])
|
|
25
|
+
*/
|
|
26
|
+
clearCredentials(fields?: string[]): void;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxTokenStorageService, never>;
|
|
28
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyEcxTokenStorageService>;
|
|
29
|
+
}
|
package/{src/lib/core/specification-search/index.ts → lib/core/specification-search/index.d.ts}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './monkeyecx-specification-search';
|
|
1
|
+
export * from './monkeyecx-specification-search';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare enum OpSearch {
|
|
2
|
+
LIKE = ":*:value*",
|
|
3
|
+
BETWEEN = ":first AND :last",
|
|
4
|
+
OR = "OR",
|
|
5
|
+
AND = "AND",
|
|
6
|
+
GT = ">:value",
|
|
7
|
+
LT = "<:value",
|
|
8
|
+
EQUAL = "::value",
|
|
9
|
+
IN = " IN :value",
|
|
10
|
+
NOT = " !:value"
|
|
11
|
+
}
|
|
12
|
+
export declare class MonkeyEcxSpecificationSearch {
|
|
13
|
+
constructor();
|
|
14
|
+
private handleValue;
|
|
15
|
+
private queryVisitor;
|
|
16
|
+
private criteriaParser;
|
|
17
|
+
build(spec: any): string;
|
|
18
|
+
buildMoreThanOne(field: string, op?: OpSearch, addSingleQuotes?: boolean): any;
|
|
19
|
+
handleFieldSeparatedBy(field: string, signal?: string, op?: OpSearch): any;
|
|
20
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { MonkeyEcxRequestDownload, MonkeyEcxRequestItemQueue, MonkeyEcxRequestQueue, MonkeyEcxRequestUpload } from '../interfaces';
|
|
2
|
+
export declare function buildQueuePropertys(queue: MonkeyEcxRequestItemQueue): MonkeyEcxRequestQueue;
|
|
3
|
+
export declare function buildDownloadPropertys(name: string, description?: string, size?: number): MonkeyEcxRequestDownload;
|
|
4
|
+
export declare function buildUploadPropertys(name: string, description?: string): MonkeyEcxRequestUpload;
|
|
5
|
+
export declare function hasMonkeyEcxServiceAndHandlingProperties(context: any): boolean;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export { MonkeyEcxUtils, ValidateUtils, DecoratorsUtils, Statics };
|
|
8
|
-
export * from './validators';
|
|
1
|
+
import { MonkeyEcxUtils } from './utils';
|
|
2
|
+
import * as ValidateUtils from './validate-utils';
|
|
3
|
+
import * as DecoratorsUtils from './decorators-utils';
|
|
4
|
+
import * as Statics from './statics';
|
|
5
|
+
export { MonkeyEcxUtils, ValidateUtils, DecoratorsUtils, Statics };
|
|
6
|
+
export * from './validators';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export declare enum MonkeyEcxQueueEvents {
|
|
2
|
+
OnGoing = 0,
|
|
3
|
+
Finished = 1,
|
|
4
|
+
FinishedWithError = 2
|
|
5
|
+
}
|
|
6
|
+
export declare enum MonkeyEcxDownloadEvents {
|
|
7
|
+
OnGoing = 0,
|
|
8
|
+
Finished = 1,
|
|
9
|
+
FinishedWithError = 2
|
|
10
|
+
}
|
|
11
|
+
export declare enum MonkeyEcxUploadEvents {
|
|
12
|
+
OnGoing = 0,
|
|
13
|
+
Finished = 1,
|
|
14
|
+
FinishedWithError = 2
|
|
15
|
+
}
|
|
16
|
+
export declare enum ApiEndPointsTokenNotMandatory {
|
|
17
|
+
Assets = "assets/",
|
|
18
|
+
MonkeyEcx = "/monkeyecx",
|
|
19
|
+
ViaCep = "viacep.com.br/"
|
|
20
|
+
}
|
|
21
|
+
export declare enum ApiEndPointsHeaderNotMandatory {
|
|
22
|
+
Assets = "/assets",
|
|
23
|
+
PayablesUpload = "payables-upload",
|
|
24
|
+
PictureUser = "/user-pictures",
|
|
25
|
+
Documents = "documents/",
|
|
26
|
+
BuyerTaxFile = "/buyer-tax-file",
|
|
27
|
+
ViaCep = "viacep.com.br/"
|
|
28
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare class MonkeyEcxUtils {
|
|
2
|
+
static persistNullEmptyUndefined(tp: any): boolean;
|
|
3
|
+
static getDocumentType(doc: string, country?: string): "" | "CPF" | "CNPJ" | "RUT";
|
|
4
|
+
static getDocumentMask(type: string): "000.000.000-00" | "00.000.000/0000-00";
|
|
5
|
+
static formatDocumentWithMask(doc: string, withType?: boolean, country?: string): string;
|
|
6
|
+
static cutFirstLastName(value: string, tp?: string): string;
|
|
7
|
+
static isCPFCNPJValid(document: any): boolean;
|
|
8
|
+
static isValidRUT(document: string): boolean;
|
|
9
|
+
static isValidUrl(txt: string): boolean;
|
|
10
|
+
static isValidZipCode(zipCode: string): boolean;
|
|
11
|
+
static getRandomString(len: number, charSet?: string): string;
|
|
12
|
+
static handleOnlyNumbers(value: any): any;
|
|
13
|
+
static handleOnlyAlphaNumeric(value: any): any;
|
|
14
|
+
static capitalize(value: string): string;
|
|
15
|
+
static formatZipCode(zipCode: string): string;
|
|
16
|
+
static formatFileSize(size: number): string;
|
|
17
|
+
static sufflue(data: any[]): any[];
|
|
18
|
+
static handleBlobFile(theBlob: any, fileName: string, fileType: string): any;
|
|
19
|
+
static truncate(text: string, maxLength?: number): string;
|
|
20
|
+
static isLocalhost(): boolean;
|
|
21
|
+
static isSameOrigin(frontend: string): boolean;
|
|
22
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { AbstractControl } from '@angular/forms';
|
|
2
|
+
export declare class DateValidator {
|
|
3
|
+
static do(control: AbstractControl): {
|
|
4
|
+
invalidDate: boolean;
|
|
5
|
+
} | null;
|
|
6
|
+
}
|
|
7
|
+
export declare class DocumentValidator {
|
|
8
|
+
static do(control: AbstractControl): {
|
|
9
|
+
invalidCpfCnpj: boolean;
|
|
10
|
+
} | null;
|
|
11
|
+
}
|
|
12
|
+
export declare class DocumentRutValidator {
|
|
13
|
+
static do(control: AbstractControl): {
|
|
14
|
+
invalidRut: boolean;
|
|
15
|
+
} | null;
|
|
16
|
+
}
|
|
17
|
+
export declare class ZipCodeValidator {
|
|
18
|
+
static do(control: AbstractControl): {
|
|
19
|
+
invalidZipCode: boolean;
|
|
20
|
+
} | null;
|
|
21
|
+
}
|
|
22
|
+
export declare class ComboValidator {
|
|
23
|
+
static do(control: AbstractControl): {
|
|
24
|
+
invalidCombo: boolean;
|
|
25
|
+
} | null;
|
|
26
|
+
}
|
|
27
|
+
export declare class isTrueValidator {
|
|
28
|
+
static do(control: AbstractControl): {
|
|
29
|
+
invalidTrue: boolean;
|
|
30
|
+
} | null;
|
|
31
|
+
}
|
|
32
|
+
export declare class PasswordMatchValidation {
|
|
33
|
+
static do(control: AbstractControl): {
|
|
34
|
+
passwordsNotMatching: boolean;
|
|
35
|
+
} | null;
|
|
36
|
+
}
|
|
37
|
+
export declare class UrlValidator {
|
|
38
|
+
static do(control: AbstractControl): {
|
|
39
|
+
invalidUrl: boolean;
|
|
40
|
+
} | null;
|
|
41
|
+
}
|
|
42
|
+
export declare class CustomDatesStartValidator {
|
|
43
|
+
static do(control: AbstractControl): {
|
|
44
|
+
dateStartMustBeLessThanAnd: boolean;
|
|
45
|
+
} | null;
|
|
46
|
+
}
|
|
47
|
+
export declare class CustomDatesEndValidator {
|
|
48
|
+
static do(control: AbstractControl): {
|
|
49
|
+
dateEndMustBeGreaterThanStart: boolean;
|
|
50
|
+
} | null;
|
|
51
|
+
}
|
|
52
|
+
export declare class UnlockRegisterBuyerValidator {
|
|
53
|
+
static do(control: AbstractControl): {
|
|
54
|
+
invalidUnlockRegister: boolean;
|
|
55
|
+
} | null;
|
|
56
|
+
}
|
|
57
|
+
export declare class UnlockRegisterSponsorValidator {
|
|
58
|
+
static do(control: AbstractControl): {
|
|
59
|
+
invalidUnlockRegister: boolean;
|
|
60
|
+
} | null;
|
|
61
|
+
}
|
|
62
|
+
export declare class DateRangeValidator {
|
|
63
|
+
static do(control: AbstractControl): {
|
|
64
|
+
invalidDateRange: boolean;
|
|
65
|
+
} | null;
|
|
66
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
2
|
+
export declare function emailValidator(control: AbstractControl): ValidationErrors | null;
|
|
3
|
+
export declare function dateRangeValidator(control: AbstractControl): ValidationErrors | null;
|
|
4
|
+
export declare function registerValidator(control: AbstractControl, type: string): ValidationErrors | null;
|
|
5
|
+
export declare function dateStartEndValidator(control: AbstractControl): ValidationErrors | null;
|
|
6
|
+
export declare function urlValidator(control: AbstractControl): ValidationErrors | null;
|
|
7
|
+
export declare function passwordConfirmValidator(control: AbstractControl): ValidationErrors | null;
|
|
8
|
+
export declare function trueValidator(control: AbstractControl): ValidationErrors | null;
|
|
9
|
+
export declare function comboValidator(control: AbstractControl): ValidationErrors | null;
|
|
10
|
+
export declare function zipCodeValidator(control: AbstractControl): ValidationErrors | null;
|
|
11
|
+
export declare function documentValidator(control: AbstractControl, country: string): ValidationErrors | null;
|
|
12
|
+
export declare function dateValidator(control: AbstractControl): ValidationErrors | null;
|
|
13
|
+
export declare function valueGreaterThanZero(control: AbstractControl): ValidationErrors | null;
|
|
14
|
+
export declare class Validators {
|
|
15
|
+
static email(control: AbstractControl): ValidationErrors | null;
|
|
16
|
+
static dateRange(control: AbstractControl): ValidationErrors | null;
|
|
17
|
+
static unlockSponsorRegister(control: AbstractControl): ValidationErrors | null;
|
|
18
|
+
static unlockBuyerRegister(control: AbstractControl): ValidationErrors | null;
|
|
19
|
+
static dateStartEnd(control: AbstractControl): ValidationErrors | null;
|
|
20
|
+
static url(control: AbstractControl): ValidationErrors | null;
|
|
21
|
+
static passwordConfirm(control: AbstractControl): ValidationErrors | null;
|
|
22
|
+
static true(control: AbstractControl): ValidationErrors | null;
|
|
23
|
+
static combo(control: AbstractControl): ValidationErrors | null;
|
|
24
|
+
static zipCode(control: AbstractControl): ValidationErrors | null;
|
|
25
|
+
static documentBR(control: AbstractControl): ValidationErrors | null;
|
|
26
|
+
static documentCL(control: AbstractControl): ValidationErrors | null;
|
|
27
|
+
static date(control: AbstractControl): ValidationErrors | null;
|
|
28
|
+
static greaterThanZero(control: AbstractControl): ValidationErrors | null;
|
|
29
|
+
}
|