monkey-front-core 0.0.603 → 21.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -4
- package/fesm2022/monkey-front-core.mjs +5727 -0
- package/fesm2022/monkey-front-core.mjs.map +1 -0
- package/monkey-front-core-21.0.0.tgz +0 -0
- package/package.json +26 -39
- package/types/monkey-front-core.d.ts +1763 -0
- package/esm2020/lib/components/alerts/alerts.component.mjs +0 -45
- package/esm2020/lib/components/alerts/alerts.module.mjs +0 -21
- package/esm2020/lib/components/alerts/index.mjs +0 -3
- package/esm2020/lib/components/closed-to-maintenance/closed-to-maintenance.component.mjs +0 -29
- package/esm2020/lib/components/closed-to-maintenance/closed-to-maintenance.module.mjs +0 -43
- package/esm2020/lib/components/closed-to-maintenance/index.mjs +0 -3
- package/esm2020/lib/components/currency-config/currency-config.component.mjs +0 -39
- package/esm2020/lib/components/currency-config/currency-config.module.mjs +0 -39
- package/esm2020/lib/components/currency-config/index.mjs +0 -3
- package/esm2020/lib/components/index.mjs +0 -6
- package/esm2020/lib/components/progress-bar/index.mjs +0 -4
- package/esm2020/lib/components/progress-bar/progress-bar.component.mjs +0 -23
- package/esm2020/lib/components/progress-bar/progress-bar.module.mjs +0 -18
- package/esm2020/lib/components/progress-bar/progress-bar.service.mjs +0 -50
- package/esm2020/lib/components/version-changed/index.mjs +0 -3
- package/esm2020/lib/components/version-changed/version-changed.component.mjs +0 -24
- package/esm2020/lib/components/version-changed/version-changed.module.mjs +0 -39
- package/esm2020/lib/core/decorators/index.mjs +0 -5
- package/esm2020/lib/core/decorators/monkeyecx-charts-decorators.mjs +0 -40
- package/esm2020/lib/core/decorators/monkeyecx-decorators.mjs +0 -111
- package/esm2020/lib/core/decorators/monkeyecx-download-decorators.mjs +0 -26
- package/esm2020/lib/core/decorators/monkeyecx-upload-decorators.mjs +0 -26
- package/esm2020/lib/core/directives/index.mjs +0 -14
- package/esm2020/lib/core/directives/monkeyecx-directives-module.mjs +0 -78
- package/esm2020/lib/core/directives/monkeyecx-drag-drop.mjs +0 -57
- package/esm2020/lib/core/directives/monkeyecx-feature-by-program-directive.mjs +0 -54
- package/esm2020/lib/core/directives/monkeyecx-feature-directive.mjs +0 -68
- package/esm2020/lib/core/directives/monkeyecx-format-currency.mjs +0 -44
- package/esm2020/lib/core/directives/monkeyecx-format-upper.mjs +0 -67
- package/esm2020/lib/core/directives/monkeyecx-loading.mjs +0 -48
- package/esm2020/lib/core/directives/monkeyecx-only-alpha-numeric-directive.mjs +0 -28
- package/esm2020/lib/core/directives/monkeyecx-only-number-directive.mjs +0 -28
- package/esm2020/lib/core/directives/monkeyecx-popover-options.directive.mjs +0 -39
- package/esm2020/lib/core/directives/monkeyecx-popover.directive.mjs +0 -212
- package/esm2020/lib/core/directives/monkeyecx-security-directive.mjs +0 -75
- package/esm2020/lib/core/directives/monkeyecx-tooltip-directive.mjs +0 -123
- package/esm2020/lib/core/index.mjs +0 -11
- package/esm2020/lib/core/injectors/index.mjs +0 -8
- package/esm2020/lib/core/interceptors/index.mjs +0 -6
- package/esm2020/lib/core/interceptors/monkeyecx-http-config-error.interceptor.mjs +0 -49
- package/esm2020/lib/core/interceptors/monkeyecx-http-config-header.interceptor.mjs +0 -59
- package/esm2020/lib/core/interceptors/monkeyecx-http-config-interceptor.module.mjs +0 -47
- package/esm2020/lib/core/interceptors/monkeyecx-http-config-loading-in-progress.interceptor.mjs +0 -43
- package/esm2020/lib/core/interceptors/monkeyecx-http-config-queue.interceptor.mjs +0 -37
- package/esm2020/lib/core/interfaces/index.mjs +0 -37
- package/esm2020/lib/core/interfaces/monkeyecx-auth-credentials.mjs +0 -2
- package/esm2020/lib/core/interfaces/monkeyecx-company-pendencies.mjs +0 -2
- package/esm2020/lib/core/interfaces/monkeyecx-company.mjs +0 -2
- package/esm2020/lib/core/interfaces/monkeyecx-config-bootstrap.mjs +0 -2
- package/esm2020/lib/core/interfaces/monkeyecx-config.mjs +0 -2
- package/esm2020/lib/core/interfaces/monkeyecx-country-security.mjs +0 -2
- package/esm2020/lib/core/interfaces/monkeyecx-embedded.mjs +0 -2
- package/esm2020/lib/core/interfaces/monkeyecx-error-response.mjs +0 -2
- package/esm2020/lib/core/interfaces/monkeyecx-filter.mjs +0 -2
- package/esm2020/lib/core/interfaces/monkeyecx-group.mjs +0 -2
- package/esm2020/lib/core/interfaces/monkeyecx-handled-error-response.mjs +0 -2
- package/esm2020/lib/core/interfaces/monkeyecx-header-credentials.mjs +0 -2
- package/esm2020/lib/core/interfaces/monkeyecx-intercom-options.mjs +0 -2
- package/esm2020/lib/core/interfaces/monkeyecx-interface.mjs +0 -2
- package/esm2020/lib/core/interfaces/monkeyecx-me-credentials.mjs +0 -2
- package/esm2020/lib/core/interfaces/monkeyecx-navigation.mjs +0 -2
- package/esm2020/lib/core/interfaces/monkeyecx-pagination.mjs +0 -2
- package/esm2020/lib/core/interfaces/monkeyecx-program.mjs +0 -2
- package/esm2020/lib/core/interfaces/monkeyecx-releases.mjs +0 -2
- package/esm2020/lib/core/interfaces/monkeyecx-request-in-progress.mjs +0 -2
- package/esm2020/lib/core/interfaces/monkeyecx-request-paged.mjs +0 -2
- package/esm2020/lib/core/interfaces/monkeyecx-resolver.mjs +0 -2
- package/esm2020/lib/core/interfaces/monkeyecx-response-links.mjs +0 -2
- package/esm2020/lib/core/interfaces/monkeyecx-response-paged.mjs +0 -2
- package/esm2020/lib/core/interfaces/monkeyecx-saved-state.mjs +0 -2
- package/esm2020/lib/core/interfaces/monkeyecx-scroll-options.mjs +0 -2
- package/esm2020/lib/core/interfaces/monkeyecx-service-credentials.mjs +0 -2
- package/esm2020/lib/core/interfaces/monkeyecx-storage.mjs +0 -2
- package/esm2020/lib/core/interfaces/monkeyecx-store.mjs +0 -2
- package/esm2020/lib/core/interfaces/monkeyecx-support-options.mjs +0 -2
- package/esm2020/lib/core/interfaces/monkeyecx-token-credentials.mjs +0 -2
- package/esm2020/lib/core/interfaces/monkeyecx-translate-options.mjs +0 -2
- package/esm2020/lib/core/interfaces/request-download/index.mjs +0 -4
- package/esm2020/lib/core/interfaces/request-download/monkeyecx-request-download.mjs +0 -2
- package/esm2020/lib/core/interfaces/request-download/monkeyecx-request-downloaded.mjs +0 -2
- package/esm2020/lib/core/interfaces/request-download/monkeyecx-request-item-download.mjs +0 -2
- package/esm2020/lib/core/interfaces/request-queue/index.mjs +0 -4
- package/esm2020/lib/core/interfaces/request-queue/monkeyecx-request-item-queue.mjs +0 -2
- package/esm2020/lib/core/interfaces/request-queue/monkeyecx-request-progress-queue.mjs +0 -2
- package/esm2020/lib/core/interfaces/request-queue/monkeyecx-request-queue.mjs +0 -2
- package/esm2020/lib/core/interfaces/request-upload/index.mjs +0 -3
- package/esm2020/lib/core/interfaces/request-upload/monkeyecx-request-item-upload.mjs +0 -2
- package/esm2020/lib/core/interfaces/request-upload/monkeyecx-request-upload.mjs +0 -2
- package/esm2020/lib/core/interfaces/schedules/index.mjs +0 -2
- package/esm2020/lib/core/interfaces/schedules/monkeyecx-request-schedule.mjs +0 -2
- package/esm2020/lib/core/model/index.mjs +0 -3
- package/esm2020/lib/core/model/monkeyecx-links.model.mjs +0 -8
- package/esm2020/lib/core/model/monkeyecx-model.mjs +0 -26
- package/esm2020/lib/core/pipes/index.mjs +0 -24
- package/esm2020/lib/core/pipes/monkeyecx-blob-secure.mjs +0 -26
- package/esm2020/lib/core/pipes/monkeyecx-currency-code.mjs +0 -30
- package/esm2020/lib/core/pipes/monkeyecx-display-first-name.mjs +0 -19
- package/esm2020/lib/core/pipes/monkeyecx-display-initials.mjs +0 -21
- package/esm2020/lib/core/pipes/monkeyecx-display-support-phone.mjs +0 -33
- package/esm2020/lib/core/pipes/monkeyecx-format-address.mjs +0 -20
- package/esm2020/lib/core/pipes/monkeyecx-format-beautify-json.mjs +0 -38
- package/esm2020/lib/core/pipes/monkeyecx-format-currency.mjs +0 -48
- package/esm2020/lib/core/pipes/monkeyecx-format-date-group.mjs +0 -45
- package/esm2020/lib/core/pipes/monkeyecx-format-date-timelapse.mjs +0 -32
- package/esm2020/lib/core/pipes/monkeyecx-format-date-unix-timelapse.mjs +0 -36
- package/esm2020/lib/core/pipes/monkeyecx-format-date.mjs +0 -30
- package/esm2020/lib/core/pipes/monkeyecx-format-document.mjs +0 -20
- package/esm2020/lib/core/pipes/monkeyecx-format-number.mjs +0 -20
- package/esm2020/lib/core/pipes/monkeyecx-format-phone.mjs +0 -42
- package/esm2020/lib/core/pipes/monkeyecx-format-size.mjs +0 -20
- package/esm2020/lib/core/pipes/monkeyecx-format-tax.mjs +0 -23
- package/esm2020/lib/core/pipes/monkeyecx-format-type-document.mjs +0 -19
- package/esm2020/lib/core/pipes/monkeyecx-format-value.mjs +0 -19
- package/esm2020/lib/core/pipes/monkeyecx-format-zipcode.mjs +0 -19
- package/esm2020/lib/core/pipes/monkeyecx-pipes.module.mjs +0 -127
- package/esm2020/lib/core/pipes/monkeyecx-text-truncate.mjs +0 -23
- package/esm2020/lib/core/pipes/monkeyecx-truncate-qtd.mjs +0 -16
- package/esm2020/lib/core/services/alerts/index.mjs +0 -2
- package/esm2020/lib/core/services/alerts/monkeyecx-alerts.service.mjs +0 -88
- package/esm2020/lib/core/services/auth/index.mjs +0 -6
- package/esm2020/lib/core/services/auth/monkeyecx-auth-guard-company.service.mjs +0 -28
- package/esm2020/lib/core/services/auth/monkeyecx-auth-guard-login.service.mjs +0 -27
- package/esm2020/lib/core/services/auth/monkeyecx-auth-guard-role.service.mjs +0 -77
- package/esm2020/lib/core/services/auth/monkeyecx-auth-guard.service.mjs +0 -26
- package/esm2020/lib/core/services/auth/monkeyecx-authentication.service.mjs +0 -79
- package/esm2020/lib/core/services/commons/index.mjs +0 -4
- package/esm2020/lib/core/services/commons/monkeyecx-commons-resolve-base.service.mjs +0 -109
- package/esm2020/lib/core/services/commons/monkeyecx-commons-resolve.service.mjs +0 -127
- package/esm2020/lib/core/services/commons/monkeyecx-commons.service.mjs +0 -362
- package/esm2020/lib/core/services/config/monkeyecx-alerts-config.service.mjs +0 -43
- package/esm2020/lib/core/services/config/monkeyecx-config.module.mjs +0 -28
- package/esm2020/lib/core/services/config/monkeyecx-config.service.mjs +0 -107
- package/esm2020/lib/core/services/config/monkeyecx-currency-config.service.mjs +0 -84
- package/esm2020/lib/core/services/config/monkeyecx-error-config.service.mjs +0 -85
- package/esm2020/lib/core/services/config/monkeyecx-feature-toggle.service.mjs +0 -77
- package/esm2020/lib/core/services/config/monkeyecx-gtm-config.service.mjs +0 -47
- package/esm2020/lib/core/services/config/monkeyecx-i18n-config.service.mjs +0 -162
- package/esm2020/lib/core/services/config/monkeyecx-logs-config.service.mjs +0 -84
- package/esm2020/lib/core/services/config/monkeyecx-maintenance-config.service.mjs +0 -37
- package/esm2020/lib/core/services/config/monkeyecx-security-console-config.service.mjs +0 -48
- package/esm2020/lib/core/services/config/monkeyecx-service-worker-config.service.mjs +0 -55
- package/esm2020/lib/core/services/error/index.mjs +0 -5
- package/esm2020/lib/core/services/error/monkeyecx-error-handling.module.mjs +0 -27
- package/esm2020/lib/core/services/error/monkeyecx-error-handling.service.mjs +0 -37
- package/esm2020/lib/core/services/error/monkeyecx-http-error-handling.service.mjs +0 -149
- package/esm2020/lib/core/services/error/monkeyecx-others-errors-handling.service.mjs +0 -49
- package/esm2020/lib/core/services/index.mjs +0 -27
- package/esm2020/lib/core/services/l/index.mjs +0 -2
- package/esm2020/lib/core/services/l/l.service.mjs +0 -45
- package/esm2020/lib/core/services/logged/index.mjs +0 -2
- package/esm2020/lib/core/services/logged/monkeyecx-logged-handling.service.mjs +0 -40
- package/esm2020/lib/core/services/monkeyecx-handling.service.mjs +0 -50
- package/esm2020/lib/core/services/monkeyecx-service.service.mjs +0 -109
- package/esm2020/lib/core/services/pagination/index.mjs +0 -2
- package/esm2020/lib/core/services/pagination/monkeyecx-pagination.service.mjs +0 -29
- package/esm2020/lib/core/services/request-download/index.mjs +0 -3
- package/esm2020/lib/core/services/request-download/monkeyecx-request-download-handling.service.mjs +0 -93
- package/esm2020/lib/core/services/request-download/monkeyecx-request-downloaded-handling.service.mjs +0 -61
- package/esm2020/lib/core/services/request-paged/index.mjs +0 -2
- package/esm2020/lib/core/services/request-paged/monkeyecx-request-request-paged-handling.mjs +0 -42
- package/esm2020/lib/core/services/request-queue/index.mjs +0 -3
- package/esm2020/lib/core/services/request-queue/monkeyecx-request-queue-handling.service.mjs +0 -114
- package/esm2020/lib/core/services/request-queue/monkeyecx-request-queue-modal-handling.service.mjs +0 -119
- package/esm2020/lib/core/services/routes/index.mjs +0 -2
- package/esm2020/lib/core/services/routes/monkeyecx-dicovery-params.service.mjs +0 -54
- package/esm2020/lib/core/services/schedules/index.mjs +0 -2
- package/esm2020/lib/core/services/schedules/monkeyecx-request-schedule.service.mjs +0 -188
- package/esm2020/lib/core/services/storage/index.mjs +0 -3
- package/esm2020/lib/core/services/storage/monkeyecx-cookie-storage.service.mjs +0 -32
- package/esm2020/lib/core/services/storage/monkeyecx-token-storage.service.mjs +0 -237
- package/esm2020/lib/core/services/store/index.mjs +0 -5
- package/esm2020/lib/core/services/store/monkeyecx-store-base.service.mjs +0 -174
- package/esm2020/lib/core/services/store/monkeyecx-store.actions.mjs +0 -26
- package/esm2020/lib/core/services/store/monkeyecx-store.selector.mjs +0 -87
- package/esm2020/lib/core/services/store/monkeyecx-store.service.mjs +0 -195
- package/esm2020/lib/core/specification-search/index.mjs +0 -2
- package/esm2020/lib/core/specification-search/monkeyecx-specification-search.mjs +0 -108
- package/esm2020/lib/core/utils/decorators-utils.mjs +0 -40
- package/esm2020/lib/core/utils/index.mjs +0 -8
- package/esm2020/lib/core/utils/statics.mjs +0 -47
- package/esm2020/lib/core/utils/utils.mjs +0 -469
- package/esm2020/lib/core/utils/validate-utils.mjs +0 -219
- package/esm2020/lib/core/utils/validators.mjs +0 -327
- package/esm2020/lib/monkey-front-core.module.mjs +0 -71
- package/esm2020/lib/store/actions/index.mjs +0 -2
- package/esm2020/lib/store/actions/monkeyecx-storage.actions.mjs +0 -8
- package/esm2020/lib/store/index.mjs +0 -4
- package/esm2020/lib/store/reducers/index.mjs +0 -3
- package/esm2020/lib/store/reducers/monkeyecx-seeder.reducer.mjs +0 -53
- package/esm2020/lib/store/reducers/monkeyecx-storage.reducer.mjs +0 -40
- package/esm2020/lib/store/selectors/index.mjs +0 -2
- package/esm2020/lib/store/selectors/monkeyecx-storage.selector.mjs +0 -17
- package/esm2020/monkey-front-core.mjs +0 -5
- package/esm2020/public-api.mjs +0 -8
- package/fesm2015/monkey-front-core.mjs +0 -7239
- package/fesm2015/monkey-front-core.mjs.map +0 -1
- package/fesm2020/monkey-front-core.mjs +0 -7249
- package/fesm2020/monkey-front-core.mjs.map +0 -1
- package/lib/components/alerts/alerts.component.d.ts +0 -22
- package/lib/components/alerts/alerts.module.d.ts +0 -10
- package/lib/components/alerts/index.d.ts +0 -2
- package/lib/components/closed-to-maintenance/closed-to-maintenance.component.d.ts +0 -13
- package/lib/components/closed-to-maintenance/closed-to-maintenance.module.d.ts +0 -11
- package/lib/components/closed-to-maintenance/index.d.ts +0 -2
- package/lib/components/currency-config/currency-config.component.d.ts +0 -17
- package/lib/components/currency-config/currency-config.module.d.ts +0 -10
- package/lib/components/currency-config/index.d.ts +0 -2
- package/lib/components/index.d.ts +0 -5
- package/lib/components/progress-bar/index.d.ts +0 -3
- package/lib/components/progress-bar/progress-bar.component.d.ts +0 -11
- package/lib/components/progress-bar/progress-bar.module.d.ts +0 -8
- package/lib/components/progress-bar/progress-bar.service.d.ts +0 -14
- package/lib/components/version-changed/index.d.ts +0 -2
- package/lib/components/version-changed/version-changed.component.d.ts +0 -9
- package/lib/components/version-changed/version-changed.module.d.ts +0 -10
- package/lib/core/decorators/index.d.ts +0 -4
- package/lib/core/decorators/monkeyecx-charts-decorators.d.ts +0 -1
- package/lib/core/decorators/monkeyecx-decorators.d.ts +0 -7
- package/lib/core/decorators/monkeyecx-download-decorators.d.ts +0 -2
- package/lib/core/decorators/monkeyecx-upload-decorators.d.ts +0 -2
- package/lib/core/directives/index.d.ts +0 -13
- package/lib/core/directives/monkeyecx-directives-module.d.ts +0 -20
- package/lib/core/directives/monkeyecx-drag-drop.d.ts +0 -12
- package/lib/core/directives/monkeyecx-feature-by-program-directive.d.ts +0 -16
- package/lib/core/directives/monkeyecx-feature-directive.d.ts +0 -17
- package/lib/core/directives/monkeyecx-format-currency.d.ts +0 -16
- package/lib/core/directives/monkeyecx-format-upper.d.ts +0 -18
- package/lib/core/directives/monkeyecx-loading.d.ts +0 -16
- package/lib/core/directives/monkeyecx-only-alpha-numeric-directive.d.ts +0 -9
- package/lib/core/directives/monkeyecx-only-number-directive.d.ts +0 -9
- package/lib/core/directives/monkeyecx-popover-options.directive.d.ts +0 -19
- package/lib/core/directives/monkeyecx-popover.directive.d.ts +0 -43
- package/lib/core/directives/monkeyecx-security-directive.d.ts +0 -18
- package/lib/core/directives/monkeyecx-tooltip-directive.d.ts +0 -23
- package/lib/core/index.d.ts +0 -10
- package/lib/core/injectors/index.d.ts +0 -7
- package/lib/core/interceptors/index.d.ts +0 -5
- package/lib/core/interceptors/monkeyecx-http-config-error.interceptor.d.ts +0 -18
- package/lib/core/interceptors/monkeyecx-http-config-header.interceptor.d.ts +0 -16
- package/lib/core/interceptors/monkeyecx-http-config-interceptor.module.d.ts +0 -9
- package/lib/core/interceptors/monkeyecx-http-config-loading-in-progress.interceptor.d.ts +0 -12
- package/lib/core/interceptors/monkeyecx-http-config-queue.interceptor.d.ts +0 -14
- package/lib/core/interfaces/index.d.ts +0 -36
- package/lib/core/interfaces/monkeyecx-auth-credentials.d.ts +0 -15
- package/lib/core/interfaces/monkeyecx-company-pendencies.d.ts +0 -14
- package/lib/core/interfaces/monkeyecx-company.d.ts +0 -10
- package/lib/core/interfaces/monkeyecx-config-bootstrap.d.ts +0 -14
- package/lib/core/interfaces/monkeyecx-config.d.ts +0 -132
- package/lib/core/interfaces/monkeyecx-country-security.d.ts +0 -4
- package/lib/core/interfaces/monkeyecx-embedded.d.ts +0 -7
- package/lib/core/interfaces/monkeyecx-error-response.d.ts +0 -5
- package/lib/core/interfaces/monkeyecx-filter.d.ts +0 -42
- package/lib/core/interfaces/monkeyecx-group.d.ts +0 -13
- package/lib/core/interfaces/monkeyecx-handled-error-response.d.ts +0 -10
- package/lib/core/interfaces/monkeyecx-header-credentials.d.ts +0 -4
- package/lib/core/interfaces/monkeyecx-intercom-options.d.ts +0 -4
- package/lib/core/interfaces/monkeyecx-interface.d.ts +0 -11
- package/lib/core/interfaces/monkeyecx-me-credentials.d.ts +0 -20
- package/lib/core/interfaces/monkeyecx-navigation.d.ts +0 -30
- package/lib/core/interfaces/monkeyecx-pagination.d.ts +0 -26
- package/lib/core/interfaces/monkeyecx-program.d.ts +0 -10
- package/lib/core/interfaces/monkeyecx-releases.d.ts +0 -9
- package/lib/core/interfaces/monkeyecx-request-in-progress.d.ts +0 -3
- package/lib/core/interfaces/monkeyecx-request-paged.d.ts +0 -23
- package/lib/core/interfaces/monkeyecx-resolver.d.ts +0 -39
- package/lib/core/interfaces/monkeyecx-response-links.d.ts +0 -11
- package/lib/core/interfaces/monkeyecx-response-paged.d.ts +0 -6
- package/lib/core/interfaces/monkeyecx-saved-state.d.ts +0 -5
- package/lib/core/interfaces/monkeyecx-scroll-options.d.ts +0 -5
- package/lib/core/interfaces/monkeyecx-service-credentials.d.ts +0 -12
- package/lib/core/interfaces/monkeyecx-storage.d.ts +0 -35
- package/lib/core/interfaces/monkeyecx-store.d.ts +0 -45
- package/lib/core/interfaces/monkeyecx-support-options.d.ts +0 -4
- package/lib/core/interfaces/monkeyecx-token-credentials.d.ts +0 -30
- package/lib/core/interfaces/monkeyecx-translate-options.d.ts +0 -4
- package/lib/core/interfaces/request-download/index.d.ts +0 -3
- package/lib/core/interfaces/request-download/monkeyecx-request-download.d.ts +0 -10
- package/lib/core/interfaces/request-download/monkeyecx-request-downloaded.d.ts +0 -7
- package/lib/core/interfaces/request-download/monkeyecx-request-item-download.d.ts +0 -7
- package/lib/core/interfaces/request-queue/index.d.ts +0 -3
- package/lib/core/interfaces/request-queue/monkeyecx-request-item-queue.d.ts +0 -7
- package/lib/core/interfaces/request-queue/monkeyecx-request-progress-queue.d.ts +0 -6
- package/lib/core/interfaces/request-queue/monkeyecx-request-queue.d.ts +0 -8
- package/lib/core/interfaces/request-upload/index.d.ts +0 -2
- package/lib/core/interfaces/request-upload/monkeyecx-request-item-upload.d.ts +0 -5
- package/lib/core/interfaces/request-upload/monkeyecx-request-upload.d.ts +0 -10
- package/lib/core/interfaces/schedules/index.d.ts +0 -1
- package/lib/core/interfaces/schedules/monkeyecx-request-schedule.d.ts +0 -13
- package/lib/core/model/index.d.ts +0 -2
- package/lib/core/model/monkeyecx-links.model.d.ts +0 -4
- package/lib/core/model/monkeyecx-model.d.ts +0 -14
- package/lib/core/pipes/index.d.ts +0 -23
- package/lib/core/pipes/monkeyecx-blob-secure.d.ts +0 -13
- package/lib/core/pipes/monkeyecx-currency-code.d.ts +0 -9
- package/lib/core/pipes/monkeyecx-display-first-name.d.ts +0 -7
- package/lib/core/pipes/monkeyecx-display-initials.d.ts +0 -7
- package/lib/core/pipes/monkeyecx-display-support-phone.d.ts +0 -18
- package/lib/core/pipes/monkeyecx-format-address.d.ts +0 -14
- package/lib/core/pipes/monkeyecx-format-beautify-json.d.ts +0 -8
- package/lib/core/pipes/monkeyecx-format-currency.d.ts +0 -12
- package/lib/core/pipes/monkeyecx-format-date-group.d.ts +0 -11
- package/lib/core/pipes/monkeyecx-format-date-timelapse.d.ts +0 -7
- package/lib/core/pipes/monkeyecx-format-date-unix-timelapse.d.ts +0 -7
- package/lib/core/pipes/monkeyecx-format-date.d.ts +0 -12
- package/lib/core/pipes/monkeyecx-format-document.d.ts +0 -7
- package/lib/core/pipes/monkeyecx-format-number.d.ts +0 -7
- package/lib/core/pipes/monkeyecx-format-phone.d.ts +0 -7
- package/lib/core/pipes/monkeyecx-format-size.d.ts +0 -7
- package/lib/core/pipes/monkeyecx-format-tax.d.ts +0 -7
- package/lib/core/pipes/monkeyecx-format-type-document.d.ts +0 -7
- package/lib/core/pipes/monkeyecx-format-value.d.ts +0 -7
- package/lib/core/pipes/monkeyecx-format-zipcode.d.ts +0 -7
- package/lib/core/pipes/monkeyecx-pipes.module.d.ts +0 -28
- package/lib/core/pipes/monkeyecx-text-truncate.d.ts +0 -7
- package/lib/core/pipes/monkeyecx-truncate-qtd.d.ts +0 -7
- package/lib/core/services/alerts/index.d.ts +0 -1
- package/lib/core/services/alerts/monkeyecx-alerts.service.d.ts +0 -49
- package/lib/core/services/auth/index.d.ts +0 -5
- package/lib/core/services/auth/monkeyecx-auth-guard-company.service.d.ts +0 -10
- package/lib/core/services/auth/monkeyecx-auth-guard-login.service.d.ts +0 -10
- package/lib/core/services/auth/monkeyecx-auth-guard-role.service.d.ts +0 -16
- package/lib/core/services/auth/monkeyecx-auth-guard.service.d.ts +0 -10
- package/lib/core/services/auth/monkeyecx-authentication.service.d.ts +0 -35
- package/lib/core/services/commons/index.d.ts +0 -3
- package/lib/core/services/commons/monkeyecx-commons-resolve-base.service.d.ts +0 -46
- package/lib/core/services/commons/monkeyecx-commons-resolve.service.d.ts +0 -60
- package/lib/core/services/commons/monkeyecx-commons.service.d.ts +0 -120
- package/lib/core/services/config/monkeyecx-alerts-config.service.d.ts +0 -11
- package/lib/core/services/config/monkeyecx-config.module.d.ts +0 -9
- package/lib/core/services/config/monkeyecx-config.service.d.ts +0 -36
- package/lib/core/services/config/monkeyecx-currency-config.service.d.ts +0 -15
- package/lib/core/services/config/monkeyecx-error-config.service.d.ts +0 -8
- package/lib/core/services/config/monkeyecx-feature-toggle.service.d.ts +0 -17
- package/lib/core/services/config/monkeyecx-gtm-config.service.d.ts +0 -8
- package/lib/core/services/config/monkeyecx-i18n-config.service.d.ts +0 -24
- package/lib/core/services/config/monkeyecx-logs-config.service.d.ts +0 -14
- package/lib/core/services/config/monkeyecx-maintenance-config.service.d.ts +0 -13
- package/lib/core/services/config/monkeyecx-security-console-config.service.d.ts +0 -12
- package/lib/core/services/config/monkeyecx-service-worker-config.service.d.ts +0 -16
- package/lib/core/services/error/index.d.ts +0 -4
- package/lib/core/services/error/monkeyecx-error-handling.module.d.ts +0 -9
- package/lib/core/services/error/monkeyecx-error-handling.service.d.ts +0 -9
- package/lib/core/services/error/monkeyecx-http-error-handling.service.d.ts +0 -26
- package/lib/core/services/error/monkeyecx-others-errors-handling.service.d.ts +0 -11
- package/lib/core/services/index.d.ts +0 -26
- package/lib/core/services/l/index.d.ts +0 -1
- package/lib/core/services/l/l.service.d.ts +0 -11
- package/lib/core/services/logged/index.d.ts +0 -1
- package/lib/core/services/logged/monkeyecx-logged-handling.service.d.ts +0 -14
- package/lib/core/services/monkeyecx-handling.service.d.ts +0 -22
- package/lib/core/services/monkeyecx-service.service.d.ts +0 -19
- package/lib/core/services/pagination/index.d.ts +0 -1
- package/lib/core/services/pagination/monkeyecx-pagination.service.d.ts +0 -9
- package/lib/core/services/request-download/index.d.ts +0 -2
- package/lib/core/services/request-download/monkeyecx-request-download-handling.service.d.ts +0 -18
- package/lib/core/services/request-download/monkeyecx-request-downloaded-handling.service.d.ts +0 -16
- package/lib/core/services/request-paged/index.d.ts +0 -1
- package/lib/core/services/request-paged/monkeyecx-request-request-paged-handling.d.ts +0 -11
- package/lib/core/services/request-queue/index.d.ts +0 -2
- package/lib/core/services/request-queue/monkeyecx-request-queue-handling.service.d.ts +0 -21
- package/lib/core/services/request-queue/monkeyecx-request-queue-modal-handling.service.d.ts +0 -23
- package/lib/core/services/routes/index.d.ts +0 -1
- package/lib/core/services/routes/monkeyecx-dicovery-params.service.d.ts +0 -13
- package/lib/core/services/schedules/index.d.ts +0 -1
- package/lib/core/services/schedules/monkeyecx-request-schedule.service.d.ts +0 -47
- package/lib/core/services/storage/index.d.ts +0 -2
- package/lib/core/services/storage/monkeyecx-cookie-storage.service.d.ts +0 -11
- package/lib/core/services/storage/monkeyecx-token-storage.service.d.ts +0 -30
- package/lib/core/services/store/index.d.ts +0 -4
- package/lib/core/services/store/monkeyecx-store-base.service.d.ts +0 -47
- package/lib/core/services/store/monkeyecx-store.actions.d.ts +0 -42
- package/lib/core/services/store/monkeyecx-store.selector.d.ts +0 -32
- package/lib/core/services/store/monkeyecx-store.service.d.ts +0 -50
- package/lib/core/specification-search/index.d.ts +0 -1
- package/lib/core/specification-search/monkeyecx-specification-search.d.ts +0 -20
- package/lib/core/utils/decorators-utils.d.ts +0 -5
- package/lib/core/utils/index.d.ts +0 -6
- package/lib/core/utils/statics.d.ts +0 -36
- package/lib/core/utils/utils.d.ts +0 -39
- package/lib/core/utils/validate-utils.d.ts +0 -71
- package/lib/core/utils/validators.d.ts +0 -43
- package/lib/monkey-front-core.module.d.ts +0 -19
- package/lib/store/actions/index.d.ts +0 -1
- package/lib/store/actions/monkeyecx-storage.actions.d.ts +0 -23
- package/lib/store/index.d.ts +0 -3
- package/lib/store/reducers/index.d.ts +0 -2
- package/lib/store/reducers/monkeyecx-seeder.reducer.d.ts +0 -2
- package/lib/store/reducers/monkeyecx-storage.reducer.d.ts +0 -13
- package/lib/store/selectors/index.d.ts +0 -1
- package/lib/store/selectors/monkeyecx-storage.selector.d.ts +0 -8
- package/monkey-front-core-0.0.603.tgz +0 -0
- package/monkey-front-core.d.ts +0 -5
- package/public-api.d.ts +0 -4
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
/* eslint-disable no-unused-vars */
|
|
2
|
-
import { MonkeyEcxUtils } from '../utils/utils';
|
|
3
|
-
export var OpSearch;
|
|
4
|
-
(function (OpSearch) {
|
|
5
|
-
OpSearch["LIKE"] = ":'*:value*'";
|
|
6
|
-
OpSearch["BETWEEN"] = ":first AND :last";
|
|
7
|
-
OpSearch["OR"] = "OR";
|
|
8
|
-
OpSearch["AND"] = "AND";
|
|
9
|
-
OpSearch["GT"] = ">:value";
|
|
10
|
-
OpSearch["LT"] = "<:value";
|
|
11
|
-
OpSearch["EQUAL"] = "::value";
|
|
12
|
-
OpSearch["IN"] = " IN :value";
|
|
13
|
-
OpSearch["NOT"] = " !:value";
|
|
14
|
-
})(OpSearch || (OpSearch = {}));
|
|
15
|
-
export class MonkeyEcxSpecificationSearch {
|
|
16
|
-
constructor() {
|
|
17
|
-
// not to do
|
|
18
|
-
}
|
|
19
|
-
handleValue(value) {
|
|
20
|
-
return Object.entries(value).map(([key, value1]) => {
|
|
21
|
-
if (!MonkeyEcxUtils.persistNullEmptyUndefined(value1)) {
|
|
22
|
-
return null;
|
|
23
|
-
}
|
|
24
|
-
if (Array.isArray(value1)) {
|
|
25
|
-
if (key === OpSearch.BETWEEN) {
|
|
26
|
-
return `${key}`.replace(':first', value1[0]).replace(':last', value1[1]);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
return `${key}`.replace(':value', `${value1}`);
|
|
30
|
-
})[0];
|
|
31
|
-
}
|
|
32
|
-
queryVisitor(value) {
|
|
33
|
-
const okay = Object.entries(value).map(([key1, value1]) => {
|
|
34
|
-
if (key1 === OpSearch.OR || key1 === OpSearch.AND) {
|
|
35
|
-
const join = value1
|
|
36
|
-
.map((_) => {
|
|
37
|
-
return Object.entries(_).map(([key2, value2]) => {
|
|
38
|
-
if (value2 instanceof Object) {
|
|
39
|
-
value2 = this.handleValue(value2);
|
|
40
|
-
}
|
|
41
|
-
return this.criteriaParser(key2, value2);
|
|
42
|
-
})[0];
|
|
43
|
-
})
|
|
44
|
-
.filter((_) => {
|
|
45
|
-
return _;
|
|
46
|
-
})
|
|
47
|
-
.join(` ${key1} `);
|
|
48
|
-
return `${join ? `(${join})` : ''}`;
|
|
49
|
-
}
|
|
50
|
-
if (value1 instanceof Object) {
|
|
51
|
-
value1 = this.handleValue(value1);
|
|
52
|
-
}
|
|
53
|
-
return this.criteriaParser(key1, value1);
|
|
54
|
-
});
|
|
55
|
-
return okay
|
|
56
|
-
.filter((_) => {
|
|
57
|
-
return _;
|
|
58
|
-
})
|
|
59
|
-
.join(' AND ');
|
|
60
|
-
}
|
|
61
|
-
criteriaParser(key, value) {
|
|
62
|
-
if (!MonkeyEcxUtils.persistNullEmptyUndefined(value)) {
|
|
63
|
-
return '';
|
|
64
|
-
}
|
|
65
|
-
if (value instanceof Object) {
|
|
66
|
-
return this.queryVisitor(value);
|
|
67
|
-
}
|
|
68
|
-
return `${key}${value}`;
|
|
69
|
-
}
|
|
70
|
-
build(spec) {
|
|
71
|
-
try {
|
|
72
|
-
return this.queryVisitor(spec);
|
|
73
|
-
}
|
|
74
|
-
catch (e) {
|
|
75
|
-
throw new Error(`MonkeyEcxSpecificationSearch Error ${e}`);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
buildMoreThanOne(field, op = OpSearch.EQUAL, addSingleQuotes = false) {
|
|
79
|
-
const self = this;
|
|
80
|
-
try {
|
|
81
|
-
if (!self[field])
|
|
82
|
-
return [];
|
|
83
|
-
const filters = self[field]?.split(',')?.map((filter) => {
|
|
84
|
-
if (!filter)
|
|
85
|
-
return null;
|
|
86
|
-
return {
|
|
87
|
-
[field]: {
|
|
88
|
-
[op]: addSingleQuotes ? `'${filter}'` : `${filter}`
|
|
89
|
-
}
|
|
90
|
-
};
|
|
91
|
-
}).filter((val) => { return val; });
|
|
92
|
-
return filters || [];
|
|
93
|
-
}
|
|
94
|
-
catch (e) {
|
|
95
|
-
throw new Error(`MonkeyEcxSpecificationSearch Error ${e}`);
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
handleFieldSeparatedBy(field, signal = ',', op = OpSearch.EQUAL) {
|
|
99
|
-
return this[field]?.split(signal)?.map((_) => {
|
|
100
|
-
return {
|
|
101
|
-
[field]: {
|
|
102
|
-
[op]: _
|
|
103
|
-
}
|
|
104
|
-
};
|
|
105
|
-
});
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9ua2V5ZWN4LXNwZWNpZmljYXRpb24tc2VhcmNoLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZ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Qoc2lnbmFsKT8ubWFwKChfKSA9PiB7XG4gICAgICByZXR1cm4ge1xuICAgICAgICBbZmllbGRdOiB7XG4gICAgICAgICAgW29wXTogX1xuICAgICAgICB9XG4gICAgICB9O1xuICAgIH0pO1xuICB9XG59XG4iXX0=
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import * as Statics from './statics';
|
|
2
|
-
import { MonkeyEcxUtils } from './utils';
|
|
3
|
-
export function buildQueuePropertys(queue) {
|
|
4
|
-
const params = {
|
|
5
|
-
item: {
|
|
6
|
-
...queue,
|
|
7
|
-
id: MonkeyEcxUtils.getRandomString(40)
|
|
8
|
-
},
|
|
9
|
-
status: Statics.MonkeyEcxQueueEvents.OnGoing
|
|
10
|
-
};
|
|
11
|
-
return params;
|
|
12
|
-
}
|
|
13
|
-
export function buildDownloadPropertys(name, description, size) {
|
|
14
|
-
const params = {
|
|
15
|
-
item: {
|
|
16
|
-
name,
|
|
17
|
-
description,
|
|
18
|
-
id: `${MonkeyEcxUtils.getRandomString(40)}`,
|
|
19
|
-
size,
|
|
20
|
-
createdAt: new Date()
|
|
21
|
-
},
|
|
22
|
-
status: Statics.MonkeyEcxQueueEvents.OnGoing
|
|
23
|
-
};
|
|
24
|
-
return params;
|
|
25
|
-
}
|
|
26
|
-
export function buildUploadPropertys(name, description) {
|
|
27
|
-
const params = {
|
|
28
|
-
item: {
|
|
29
|
-
name,
|
|
30
|
-
description,
|
|
31
|
-
id: `${MonkeyEcxUtils.getRandomString(40)}`
|
|
32
|
-
},
|
|
33
|
-
status: Statics.MonkeyEcxUploadEvents.OnGoing
|
|
34
|
-
};
|
|
35
|
-
return params;
|
|
36
|
-
}
|
|
37
|
-
export function hasMonkeyEcxServiceAndHandlingProperties(context) {
|
|
38
|
-
return Object.prototype.hasOwnProperty.call(context, 'monkeyecxService');
|
|
39
|
-
}
|
|
40
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVjb3JhdG9ycy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blxuZXhwb3J0IGZ1bmN0aW9uIGhhc01vbmtleUVjeFNlcnZpY2VBbmRIYW5kbGluZ1Byb3BlcnRpZXMoY29udGV4dDogYW55KTogYm9vbGVhbiB7XG4gIHJldHVybiBPYmplY3QucHJvdG90eXBlLmhhc093blByb3BlcnR5LmNhbGwoY29udGV4dCwgJ21vbmtleWVjeFNlcnZpY2UnKTtcbn1cbiJdfQ==
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/* eslint-disable object-curly-newline */
|
|
2
|
-
import * as DecoratorsUtils from './decorators-utils';
|
|
3
|
-
import * as Statics from './statics';
|
|
4
|
-
import { MonkeyEcxLogs, MonkeyEcxUtils } from './utils';
|
|
5
|
-
import * as ValidateUtils from './validate-utils';
|
|
6
|
-
export * from './validators';
|
|
7
|
-
export { DecoratorsUtils, MonkeyEcxLogs, MonkeyEcxUtils, Statics, ValidateUtils };
|
|
8
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9tb25rZXktZnJvbnQtY29yZS9zcmMvbGliL2NvcmUvdXRpbHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEseUNBQXlDO0FBQ3pDLE9BQU8sS0FBSyxlQUFlLE1BQU0sb0JBQW9CLENBQUM7QUFDdEQsT0FBTyxLQUFLLE9BQU8sTUFBTSxXQUFXLENBQUM7QUFDckMsT0FBTyxFQUFFLGFBQWEsRUFBRSxjQUFjLEVBQUUsTUFBTSxTQUFTLENBQUM7QUFDeEQsT0FBTyxLQUFLLGFBQWEsTUFBTSxrQkFBa0IsQ0FBQztBQUVsRCxjQUFjLGNBQWMsQ0FBQztBQUM3QixPQUFPLEVBQUUsZUFBZSxFQUFFLGFBQWEsRUFBRSxjQUFjLEVBQUUsT0FBTyxFQUFFLGFBQWEsRUFBRSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyogZXNsaW50LWRpc2FibGUgb2JqZWN0LWN1cmx5LW5ld2xpbmUgKi9cbmltcG9ydCAqIGFzIERlY29yYXRvcnNVdGlscyBmcm9tICcuL2RlY29yYXRvcnMtdXRpbHMnO1xuaW1wb3J0ICogYXMgU3RhdGljcyBmcm9tICcuL3N0YXRpY3MnO1xuaW1wb3J0IHsgTW9ua2V5RWN4TG9ncywgTW9ua2V5RWN4VXRpbHMgfSBmcm9tICcuL3V0aWxzJztcbmltcG9ydCAqIGFzIFZhbGlkYXRlVXRpbHMgZnJvbSAnLi92YWxpZGF0ZS11dGlscyc7XG5cbmV4cG9ydCAqIGZyb20gJy4vdmFsaWRhdG9ycyc7XG5leHBvcnQgeyBEZWNvcmF0b3JzVXRpbHMsIE1vbmtleUVjeExvZ3MsIE1vbmtleUVjeFV0aWxzLCBTdGF0aWNzLCBWYWxpZGF0ZVV0aWxzIH07XG4iXX0=
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/* eslint-disable no-unused-vars */
|
|
2
|
-
/* eslint-disable no-shadow */
|
|
3
|
-
export var MonkeyEcxQueueEvents;
|
|
4
|
-
(function (MonkeyEcxQueueEvents) {
|
|
5
|
-
MonkeyEcxQueueEvents[MonkeyEcxQueueEvents["OnGoing"] = 0] = "OnGoing";
|
|
6
|
-
MonkeyEcxQueueEvents[MonkeyEcxQueueEvents["Finished"] = 1] = "Finished";
|
|
7
|
-
MonkeyEcxQueueEvents[MonkeyEcxQueueEvents["FinishedWithError"] = 2] = "FinishedWithError";
|
|
8
|
-
})(MonkeyEcxQueueEvents || (MonkeyEcxQueueEvents = {}));
|
|
9
|
-
export var MonkeyEcxDownloadEvents;
|
|
10
|
-
(function (MonkeyEcxDownloadEvents) {
|
|
11
|
-
MonkeyEcxDownloadEvents[MonkeyEcxDownloadEvents["OnGoing"] = 0] = "OnGoing";
|
|
12
|
-
MonkeyEcxDownloadEvents[MonkeyEcxDownloadEvents["Finished"] = 1] = "Finished";
|
|
13
|
-
MonkeyEcxDownloadEvents[MonkeyEcxDownloadEvents["FinishedWithError"] = 2] = "FinishedWithError";
|
|
14
|
-
})(MonkeyEcxDownloadEvents || (MonkeyEcxDownloadEvents = {}));
|
|
15
|
-
export var MonkeyEcxUploadEvents;
|
|
16
|
-
(function (MonkeyEcxUploadEvents) {
|
|
17
|
-
MonkeyEcxUploadEvents[MonkeyEcxUploadEvents["OnGoing"] = 0] = "OnGoing";
|
|
18
|
-
MonkeyEcxUploadEvents[MonkeyEcxUploadEvents["Finished"] = 1] = "Finished";
|
|
19
|
-
MonkeyEcxUploadEvents[MonkeyEcxUploadEvents["FinishedWithError"] = 2] = "FinishedWithError";
|
|
20
|
-
})(MonkeyEcxUploadEvents || (MonkeyEcxUploadEvents = {}));
|
|
21
|
-
// TODO pegar do json de config
|
|
22
|
-
export var ApiEndPointsTokenNotMandatory;
|
|
23
|
-
(function (ApiEndPointsTokenNotMandatory) {
|
|
24
|
-
ApiEndPointsTokenNotMandatory["Assets"] = "assets/";
|
|
25
|
-
ApiEndPointsTokenNotMandatory["MonkeyEcx"] = "/monkeyecx";
|
|
26
|
-
ApiEndPointsTokenNotMandatory["ViaCep"] = "viacep.com.br/";
|
|
27
|
-
})(ApiEndPointsTokenNotMandatory || (ApiEndPointsTokenNotMandatory = {}));
|
|
28
|
-
// TODO pegar do json de config
|
|
29
|
-
export var ApiEndPointsHeaderNotMandatory;
|
|
30
|
-
(function (ApiEndPointsHeaderNotMandatory) {
|
|
31
|
-
ApiEndPointsHeaderNotMandatory["Assets"] = "/assets";
|
|
32
|
-
ApiEndPointsHeaderNotMandatory["PayablesUpload"] = "payables-upload";
|
|
33
|
-
ApiEndPointsHeaderNotMandatory["PictureUser"] = "/user-pictures";
|
|
34
|
-
ApiEndPointsHeaderNotMandatory["Documents"] = "documents/";
|
|
35
|
-
ApiEndPointsHeaderNotMandatory["BuyerTaxFile"] = "/buyer-tax-file";
|
|
36
|
-
ApiEndPointsHeaderNotMandatory["ViaCep"] = "viacep.com.br/";
|
|
37
|
-
})(ApiEndPointsHeaderNotMandatory || (ApiEndPointsHeaderNotMandatory = {}));
|
|
38
|
-
export var CountryMasks;
|
|
39
|
-
(function (CountryMasks) {
|
|
40
|
-
CountryMasks["CPF"] = "000.000.000-00";
|
|
41
|
-
CountryMasks["CNPJ"] = "00.000.000/0000-00";
|
|
42
|
-
CountryMasks["RUT1"] = "0000000-A";
|
|
43
|
-
CountryMasks["RUT2"] = "00000000-A";
|
|
44
|
-
CountryMasks["RFC1"] = "AAAA000000AA0";
|
|
45
|
-
CountryMasks["RFC2"] = "AAA000000AA0";
|
|
46
|
-
})(CountryMasks || (CountryMasks = {}));
|
|
47
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RhdGljcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL21vbmtleS1mcm9udC1jb3JlL3NyYy9saWIvY29yZS91dGlscy9zdGF0aWNzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLG1DQUFtQztBQUNuQyw4QkFBOEI7QUFDOUIsTUFBTSxDQUFOLElBQVksb0JBSVg7QUFKRCxXQUFZLG9CQUFvQjtJQUM5QixxRUFBTyxDQUFBO0lBQ1AsdUVBQVEsQ0FBQTtJQUNSLHlGQUFpQixDQUFBO0FBQ25CLENBQUMsRUFKVyxvQkFBb0IsS0FBcEIsb0JBQW9CLFFBSS9CO0FBRUQsTUFBTSxDQUFOLElBQVksdUJBSVg7QUFKRCxXQUFZLHVCQUF1QjtJQUNqQywyRUFBTyxDQUFBO0lBQ1AsNkVBQVEsQ0FBQTtJQUNSLCtGQUFpQixDQUFBO0FBQ25CLENBQUMsRUFKVyx1QkFBdUIsS0FBdkIsdUJBQXVCLFFBSWxDO0FBRUQsTUFBTSxDQUFOLElBQVkscUJBS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