monkey-front-core 0.0.237 → 0.0.238
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/karma.conf.js +44 -0
- package/monkey-front-core-0.0.238.tgz +0 -0
- package/ng-package.json +8 -0
- package/package.json +4 -24
- package/src/lib/components/alerts/alerts.component.html +18 -0
- package/src/lib/components/alerts/alerts.component.scss +71 -0
- package/src/lib/components/alerts/alerts.component.ts +36 -0
- package/src/lib/components/alerts/alerts.module.ts +12 -0
- package/{lib/components/alerts/index.d.ts → src/lib/components/alerts/index.ts} +2 -2
- package/src/lib/components/closed-to-maintenance/closed-to-maintenance.component.html +25 -0
- package/src/lib/components/closed-to-maintenance/closed-to-maintenance.component.scss +51 -0
- package/src/lib/components/closed-to-maintenance/closed-to-maintenance.component.ts +25 -0
- package/src/lib/components/closed-to-maintenance/closed-to-maintenance.module.ts +26 -0
- package/{lib/components/closed-to-maintenance/index.d.ts → src/lib/components/closed-to-maintenance/index.ts} +2 -2
- package/{lib/components/index.d.ts → src/lib/components/index.ts} +4 -4
- package/{lib/components/progress-bar/index.d.ts → src/lib/components/progress-bar/index.ts} +3 -3
- package/src/lib/components/progress-bar/progress-bar.component.html +3 -0
- package/src/lib/components/progress-bar/progress-bar.component.scss +6 -0
- package/src/lib/components/progress-bar/progress-bar.component.ts +22 -0
- package/src/lib/components/progress-bar/progress-bar.module.ts +10 -0
- package/src/lib/components/progress-bar/progress-bar.service.ts +61 -0
- package/{lib/components/version-changed/index.d.ts → src/lib/components/version-changed/index.ts} +2 -2
- package/src/lib/components/version-changed/version-changed.component.html +18 -0
- package/src/lib/components/version-changed/version-changed.component.scss +52 -0
- package/src/lib/components/version-changed/version-changed.component.ts +18 -0
- package/src/lib/components/version-changed/version-changed.module.ts +24 -0
- package/{lib/core/decorators/index.d.ts → src/lib/core/decorators/index.ts} +4 -4
- package/src/lib/core/decorators/monkeyecx-charts-decorators.ts +46 -0
- package/src/lib/core/decorators/monkeyecx-decorators.ts +159 -0
- package/src/lib/core/decorators/monkeyecx-download-decorators.ts +39 -0
- package/src/lib/core/decorators/monkeyecx-upload-decorators.ts +39 -0
- package/{lib/core/directives/index.d.ts → src/lib/core/directives/index.ts} +12 -12
- package/src/lib/core/directives/monkeyecx-directives-module.ts +45 -0
- package/src/lib/core/directives/monkeyecx-drag-drop.ts +40 -0
- package/src/lib/core/directives/monkeyecx-feature-by-program-directive.ts +53 -0
- package/src/lib/core/directives/monkeyecx-feature-directive.ts +72 -0
- package/src/lib/core/directives/monkeyecx-format-currency.ts +44 -0
- package/src/lib/core/directives/monkeyecx-format-upper.ts +54 -0
- package/src/lib/core/directives/monkeyecx-only-alpha-numeric-directive.ts +21 -0
- package/src/lib/core/directives/monkeyecx-only-number-directive.ts +21 -0
- package/src/lib/core/directives/monkeyecx-popover-options.directive.ts +52 -0
- package/src/lib/core/directives/monkeyecx-popover.directive.ts +235 -0
- package/src/lib/core/directives/monkeyecx-security-directive.ts +68 -0
- package/src/lib/core/directives/monkeyecx-tooltip-directive.ts +131 -0
- package/{lib/core/index.d.ts → src/lib/core/index.ts} +9 -9
- package/{lib/core/interceptors/index.d.ts → src/lib/core/interceptors/index.ts} +5 -5
- package/src/lib/core/interceptors/monkeyecx-http-config-error.interceptor.ts +58 -0
- package/src/lib/core/interceptors/monkeyecx-http-config-header.interceptor.ts +78 -0
- package/src/lib/core/interceptors/monkeyecx-http-config-interceptor.module.ts +40 -0
- package/src/lib/core/interceptors/monkeyecx-http-config-loading-in-progress.interceptor.ts +47 -0
- package/src/lib/core/interceptors/monkeyecx-http-config-queue.interceptor.ts +44 -0
- package/{lib/core/interfaces/index.d.ts → src/lib/core/interfaces/index.ts} +29 -29
- package/src/lib/core/interfaces/monkeyecx-auth-credentials.ts +16 -0
- package/{lib/core/interfaces/monkeyecx-company-pendencies.d.ts → src/lib/core/interfaces/monkeyecx-company-pendencies.ts} +16 -14
- package/src/lib/core/interfaces/monkeyecx-company.ts +10 -0
- package/src/lib/core/interfaces/monkeyecx-config-boostrap.ts +14 -0
- package/src/lib/core/interfaces/monkeyecx-config.ts +139 -0
- package/src/lib/core/interfaces/monkeyecx-country-security.ts +4 -0
- package/src/lib/core/interfaces/monkeyecx-error-response.ts +5 -0
- package/src/lib/core/interfaces/monkeyecx-filter.ts +26 -0
- package/src/lib/core/interfaces/monkeyecx-handled-error-response.ts +11 -0
- package/src/lib/core/interfaces/monkeyecx-header-credentials.ts +4 -0
- package/{lib/core/interfaces/monkeyecx-intercom-options.d.ts → src/lib/core/interfaces/monkeyecx-intercom-options.ts} +4 -4
- package/src/lib/core/interfaces/monkeyecx-me-credentials.ts +23 -0
- package/src/lib/core/interfaces/monkeyecx-navigation.ts +28 -0
- package/src/lib/core/interfaces/monkeyecx-program.ts +10 -0
- package/src/lib/core/interfaces/monkeyecx-releases.ts +9 -0
- package/{lib/core/interfaces/monkeyecx-request-in-progress.d.ts → src/lib/core/interfaces/monkeyecx-request-in-progress.ts} +3 -3
- package/src/lib/core/interfaces/monkeyecx-request-paged.ts +27 -0
- package/src/lib/core/interfaces/monkeyecx-response-links.ts +11 -0
- package/src/lib/core/interfaces/monkeyecx-response-paged.ts +6 -0
- package/src/lib/core/interfaces/monkeyecx-saved-state.ts +5 -0
- package/{lib/core/interfaces/monkeyecx-scroll-options.d.ts → src/lib/core/interfaces/monkeyecx-scroll-options.ts} +6 -5
- package/{lib/core/interfaces/monkeyecx-service-credentials.d.ts → src/lib/core/interfaces/monkeyecx-service-credentials.ts} +13 -12
- package/{lib/core/interfaces/monkeyecx-support-options.d.ts → src/lib/core/interfaces/monkeyecx-support-options.ts} +4 -4
- package/src/lib/core/interfaces/monkeyecx-token-credentials.ts +20 -0
- package/src/lib/core/interfaces/monkeyecx-translate-options.ts +4 -0
- package/{lib/core/interfaces/request-download/index.d.ts → src/lib/core/interfaces/request-download/index.ts} +3 -3
- package/src/lib/core/interfaces/request-download/monkeyecx-request-download.ts +11 -0
- package/src/lib/core/interfaces/request-download/monkeyecx-request-downloaded.ts +8 -0
- package/src/lib/core/interfaces/request-download/monkeyecx-request-item-download.ts +7 -0
- package/{lib/core/interfaces/request-queue/index.d.ts → src/lib/core/interfaces/request-queue/index.ts} +3 -3
- package/src/lib/core/interfaces/request-queue/monkeyecx-request-item-queue.ts +7 -0
- package/src/lib/core/interfaces/request-queue/monkeyecx-request-progress-queue.ts +6 -0
- package/{lib/core/interfaces/request-queue/monkeyecx-request-queue.d.ts → src/lib/core/interfaces/request-queue/monkeyecx-request-queue.ts} +9 -8
- package/{lib/core/interfaces/request-upload/index.d.ts → src/lib/core/interfaces/request-upload/index.ts} +2 -2
- package/src/lib/core/interfaces/request-upload/monkeyecx-request-item-upload.ts +5 -0
- package/src/lib/core/interfaces/request-upload/monkeyecx-request-upload.ts +11 -0
- package/{lib/core/interfaces/schedules/index.d.ts → src/lib/core/interfaces/schedules/index.ts} +1 -1
- package/src/lib/core/interfaces/schedules/monkeyecx-request-schedule.ts +14 -0
- package/{lib/core/model/index.d.ts → src/lib/core/model/index.ts} +1 -1
- package/src/lib/core/model/monkeyecx-model.ts +38 -0
- package/{lib/core/pipes/index.d.ts → src/lib/core/pipes/index.ts} +19 -19
- package/src/lib/core/pipes/monkeyecx-display-first-name.ts +12 -0
- package/src/lib/core/pipes/monkeyecx-display-initials.ts +14 -0
- package/src/lib/core/pipes/monkeyecx-display-support-phone.ts +31 -0
- package/src/lib/core/pipes/monkeyecx-format-address.ts +27 -0
- package/src/lib/core/pipes/monkeyecx-format-beautify-json.ts +35 -0
- package/src/lib/core/pipes/monkeyecx-format-currency.ts +20 -0
- package/src/lib/core/pipes/monkeyecx-format-date-group.ts +40 -0
- package/src/lib/core/pipes/monkeyecx-format-date-timelapse.ts +25 -0
- package/src/lib/core/pipes/monkeyecx-format-date-unix-timelapse.ts +31 -0
- package/src/lib/core/pipes/monkeyecx-format-document.ts +12 -0
- package/src/lib/core/pipes/monkeyecx-format-number.ts +14 -0
- package/src/lib/core/pipes/monkeyecx-format-phone.ts +32 -0
- package/src/lib/core/pipes/monkeyecx-format-size.ts +13 -0
- package/src/lib/core/pipes/monkeyecx-format-tax.ts +16 -0
- package/src/lib/core/pipes/monkeyecx-format-type-document.ts +12 -0
- package/src/lib/core/pipes/monkeyecx-format-value.ts +12 -0
- package/src/lib/core/pipes/monkeyecx-format-zipcode.ts +12 -0
- package/src/lib/core/pipes/monkeyecx-pipes.module.ts +65 -0
- package/src/lib/core/pipes/monkeyecx-text-truncate.ts +17 -0
- package/src/lib/core/pipes/monkeyecx-truncate-qtd.ts +10 -0
- package/{lib/core/services/auth/index.d.ts → src/lib/core/services/auth/index.ts} +4 -4
- package/src/lib/core/services/auth/monkeyecx-auth-guard-company.service.ts +27 -0
- package/src/lib/core/services/auth/monkeyecx-auth-guard-login.service.ts +23 -0
- package/src/lib/core/services/auth/monkeyecx-auth-guard.service.ts +25 -0
- package/src/lib/core/services/auth/monkeyecx-authentication.service.ts +87 -0
- package/{lib/core/services/commons/index.d.ts → src/lib/core/services/commons/index.ts} +1 -1
- package/src/lib/core/services/commons/monkeyecx-commons.service.ts +557 -0
- package/src/lib/core/services/config/index.ts +9 -0
- package/src/lib/core/services/config/monkeyecx-alerts-config.service.ts +37 -0
- package/src/lib/core/services/config/monkeyecx-config.module.ts +23 -0
- package/src/lib/core/services/config/monkeyecx-config.service.ts +151 -0
- package/src/lib/core/services/config/monkeyecx-error-config.service.ts +92 -0
- package/src/lib/core/services/config/monkeyecx-feature-toggle.service.ts +71 -0
- package/src/lib/core/services/config/monkeyecx-ga-config.service.ts +56 -0
- package/src/lib/core/services/config/monkeyecx-i18n-config.service.ts +95 -0
- package/src/lib/core/services/config/monkeyecx-logs-config.service.ts +34 -0
- package/src/lib/core/services/config/monkeyecx-maintenance-config.service.ts +33 -0
- package/src/lib/core/services/config/monkeyecx-security-console-config.service.ts +40 -0
- package/src/lib/core/services/config/monkeyecx-service-worker-config.service.ts +50 -0
- package/{lib/core/services/error/index.d.ts → src/lib/core/services/error/index.ts} +4 -4
- package/src/lib/core/services/error/monkeyecx-error-handling.module.ts +20 -0
- package/src/lib/core/services/error/monkeyecx-error-handling.service.ts +33 -0
- package/src/lib/core/services/error/monkeyecx-http-error-handling.service.ts +160 -0
- package/src/lib/core/services/error/monkeyecx-others-errors-handling.service.ts +24 -0
- package/{lib/core/services/index.d.ts → src/lib/core/services/index.ts} +22 -22
- package/{lib/core/services/logged/index.d.ts → src/lib/core/services/logged/index.ts} +1 -1
- package/src/lib/core/services/logged/monkeyecx-logged-handling.service.ts +42 -0
- package/src/lib/core/services/monkeyecx-handling.service.ts +58 -0
- package/src/lib/core/services/monkeyecx-service.service.ts +116 -0
- package/{lib/core/services/pagination/index.d.ts → src/lib/core/services/pagination/index.ts} +1 -1
- package/src/lib/core/services/pagination/monkeyecx-pagination.service.ts +27 -0
- package/{lib/core/services/request-download/index.d.ts → src/lib/core/services/request-download/index.ts} +2 -2
- package/src/lib/core/services/request-download/monkeyecx-request-download-handling.service.ts +100 -0
- package/src/lib/core/services/request-download/monkeyecx-request-downloaded-handling.service.ts +65 -0
- package/{lib/core/services/request-paged/index.d.ts → src/lib/core/services/request-paged/index.ts} +1 -1
- package/src/lib/core/services/request-paged/monkeyecx-request-request-paged-handling.ts +58 -0
- package/{lib/core/services/request-queue/index.d.ts → src/lib/core/services/request-queue/index.ts} +2 -2
- package/src/lib/core/services/request-queue/monkeyecx-request-queue-handling.service.ts +125 -0
- package/src/lib/core/services/request-queue/monkeyecx-request-queue-modal-handling.service.ts +136 -0
- package/{lib/core/services/routes/index.d.ts → src/lib/core/services/routes/index.ts} +1 -1
- package/src/lib/core/services/routes/monkeyecx-dicovery-params.service.ts +54 -0
- package/{lib/core/services/schedules/index.d.ts → src/lib/core/services/schedules/index.ts} +1 -1
- package/src/lib/core/services/schedules/monkeyecx-request-schedule.service.ts +224 -0
- package/{lib/core/services/storage/index.d.ts → src/lib/core/services/storage/index.ts} +2 -2
- package/src/lib/core/services/storage/monkeyecx-cookie-storage.service.ts +28 -0
- package/src/lib/core/services/storage/monkeyecx-token-storage.service.ts +151 -0
- package/{lib/core/specification-search/index.d.ts → src/lib/core/specification-search/index.ts} +1 -1
- package/src/lib/core/specification-search/monkeyecx-specification-search.ts +111 -0
- package/src/lib/core/utils/decorators-utils.ts +56 -0
- package/{lib/core/utils/index.d.ts → src/lib/core/utils/index.ts} +8 -6
- package/src/lib/core/utils/statics.ts +36 -0
- package/src/lib/core/utils/utils.ts +237 -0
- package/src/lib/core/utils/validate-utils.ts +221 -0
- package/src/lib/core/utils/validators.ts +251 -0
- package/src/lib/monkey-front-core.module.ts +37 -0
- package/{public-api.d.ts → src/public-api.ts} +6 -3
- package/src/test.ts +26 -0
- package/tsconfig.lib.json +15 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +17 -0
- package/esm2020/lib/components/alerts/alerts.component.mjs +0 -35
- 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/index.mjs +0 -5
- 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 -13
- package/esm2020/lib/core/directives/monkeyecx-directives-module.mjs +0 -73
- package/esm2020/lib/core/directives/monkeyecx-drag-drop.mjs +0 -57
- package/esm2020/lib/core/directives/monkeyecx-feature-by-program-directive.mjs +0 -50
- 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-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 -69
- package/esm2020/lib/core/directives/monkeyecx-tooltip-directive.mjs +0 -123
- package/esm2020/lib/core/index.mjs +0 -10
- package/esm2020/lib/core/interceptors/index.mjs +0 -6
- package/esm2020/lib/core/interceptors/monkeyecx-http-config-error.interceptor.mjs +0 -39
- package/esm2020/lib/core/interceptors/monkeyecx-http-config-header.interceptor.mjs +0 -60
- 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 -30
- 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-boostrap.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-error-response.mjs +0 -2
- package/esm2020/lib/core/interfaces/monkeyecx-filter.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-me-credentials.mjs +0 -2
- package/esm2020/lib/core/interfaces/monkeyecx-navigation.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-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-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 -2
- package/esm2020/lib/core/model/monkeyecx-model.mjs +0 -25
- package/esm2020/lib/core/pipes/index.mjs +0 -20
- 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-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 -27
- 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-document.mjs +0 -19
- 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 -107
- 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/auth/index.mjs +0 -5
- 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.service.mjs +0 -26
- package/esm2020/lib/core/services/auth/monkeyecx-authentication.service.mjs +0 -69
- package/esm2020/lib/core/services/commons/index.mjs +0 -2
- package/esm2020/lib/core/services/commons/monkeyecx-commons.service.mjs +0 -405
- package/esm2020/lib/core/services/config/monkeyecx-alerts-config.service.mjs +0 -40
- package/esm2020/lib/core/services/config/monkeyecx-config.module.mjs +0 -28
- package/esm2020/lib/core/services/config/monkeyecx-config.service.mjs +0 -111
- 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 -67
- package/esm2020/lib/core/services/config/monkeyecx-ga-config.service.mjs +0 -57
- package/esm2020/lib/core/services/config/monkeyecx-i18n-config.service.mjs +0 -92
- package/esm2020/lib/core/services/config/monkeyecx-logs-config.service.mjs +0 -34
- 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 -42
- package/esm2020/lib/core/services/config/monkeyecx-service-worker-config.service.mjs +0 -53
- 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 -135
- package/esm2020/lib/core/services/error/monkeyecx-others-errors-handling.service.mjs +0 -29
- package/esm2020/lib/core/services/index.mjs +0 -23
- 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 -104
- 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 -127
- 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 -38
- package/esm2020/lib/core/utils/utils.mjs +0 -221
- package/esm2020/lib/core/utils/validate-utils.mjs +0 -206
- package/esm2020/lib/core/utils/validators.mjs +0 -208
- package/esm2020/lib/monkey-front-core.module.mjs +0 -64
- package/esm2020/monkey-front-core.mjs +0 -5
- package/esm2020/public-api.mjs +0 -7
- package/fesm2015/monkey-front-core.mjs +0 -5123
- package/fesm2015/monkey-front-core.mjs.map +0 -1
- package/fesm2020/monkey-front-core.mjs +0 -5182
- package/fesm2020/monkey-front-core.mjs.map +0 -1
- package/lib/components/alerts/alerts.component.d.ts +0 -16
- package/lib/components/alerts/alerts.module.d.ts +0 -10
- 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/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/version-changed.component.d.ts +0 -9
- package/lib/components/version-changed/version-changed.module.d.ts +0 -10
- 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/monkeyecx-directives-module.d.ts +0 -19
- package/lib/core/directives/monkeyecx-drag-drop.d.ts +0 -12
- package/lib/core/directives/monkeyecx-feature-by-program-directive.d.ts +0 -15
- 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-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 -17
- package/lib/core/directives/monkeyecx-tooltip-directive.d.ts +0 -23
- package/lib/core/interceptors/monkeyecx-http-config-error.interceptor.d.ts +0 -17
- 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/monkeyecx-auth-credentials.d.ts +0 -15
- package/lib/core/interfaces/monkeyecx-company.d.ts +0 -10
- package/lib/core/interfaces/monkeyecx-config-boostrap.d.ts +0 -14
- package/lib/core/interfaces/monkeyecx-config.d.ts +0 -125
- package/lib/core/interfaces/monkeyecx-country-security.d.ts +0 -4
- package/lib/core/interfaces/monkeyecx-error-response.d.ts +0 -5
- package/lib/core/interfaces/monkeyecx-filter.d.ts +0 -24
- 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-me-credentials.d.ts +0 -22
- package/lib/core/interfaces/monkeyecx-navigation.d.ts +0 -27
- 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-paged.d.ts +0 -23
- 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-token-credentials.d.ts +0 -20
- package/lib/core/interfaces/monkeyecx-translate-options.d.ts +0 -4
- 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/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-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/monkeyecx-request-schedule.d.ts +0 -13
- package/lib/core/model/monkeyecx-model.d.ts +0 -13
- 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-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 -11
- 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-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 -24
- 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/auth/monkeyecx-auth-guard-company.service.d.ts +0 -11
- package/lib/core/services/auth/monkeyecx-auth-guard-login.service.d.ts +0 -11
- package/lib/core/services/auth/monkeyecx-auth-guard.service.d.ts +0 -11
- package/lib/core/services/auth/monkeyecx-authentication.service.d.ts +0 -30
- package/lib/core/services/commons/monkeyecx-commons.service.d.ts +0 -124
- 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-error-config.service.d.ts +0 -8
- package/lib/core/services/config/monkeyecx-feature-toggle.service.d.ts +0 -16
- package/lib/core/services/config/monkeyecx-ga-config.service.d.ts +0 -10
- package/lib/core/services/config/monkeyecx-i18n-config.service.d.ts +0 -16
- package/lib/core/services/config/monkeyecx-logs-config.service.d.ts +0 -7
- 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 -11
- package/lib/core/services/config/monkeyecx-service-worker-config.service.d.ts +0 -16
- 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 -9
- 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 -18
- package/lib/core/services/pagination/monkeyecx-pagination.service.d.ts +0 -9
- 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/monkeyecx-request-request-paged-handling.d.ts +0 -11
- 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/monkeyecx-dicovery-params.service.d.ts +0 -13
- package/lib/core/services/schedules/monkeyecx-request-schedule.service.d.ts +0 -47
- 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 -29
- 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/statics.d.ts +0 -28
- package/lib/core/utils/utils.d.ts +0 -22
- package/lib/core/utils/validate-utils.d.ts +0 -66
- package/lib/core/utils/validators.d.ts +0 -29
- package/lib/monkey-front-core.module.d.ts +0 -17
- package/monkey-front-core-0.0.237.tgz +0 -0
- package/monkey-front-core.d.ts +0 -5
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { MonkeyEcxRequestItemDownload } from './monkeyecx-request-item-download';
|
|
2
|
+
|
|
3
|
+
export interface MonkeyEcxRequestDownload {
|
|
4
|
+
alias?: string;
|
|
5
|
+
item: MonkeyEcxRequestItemDownload;
|
|
6
|
+
status?: number;
|
|
7
|
+
loaded?: number;
|
|
8
|
+
total?: number;
|
|
9
|
+
currentPercentage?: number;
|
|
10
|
+
totalPercentage?: number;
|
|
11
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './monkeyecx-request-item-queue';
|
|
2
|
-
export * from './monkeyecx-request-queue';
|
|
3
|
-
export * from './monkeyecx-request-progress-queue';
|
|
1
|
+
export * from './monkeyecx-request-item-queue';
|
|
2
|
+
export * from './monkeyecx-request-queue';
|
|
3
|
+
export * from './monkeyecx-request-progress-queue';
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { MonkeyEcxRequestItemQueue } from './monkeyecx-request-item-queue';
|
|
2
|
-
import { MonkeyEcxRequestProgressQueue } from './monkeyecx-request-progress-queue';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { MonkeyEcxRequestItemQueue } from './monkeyecx-request-item-queue';
|
|
2
|
+
import { MonkeyEcxRequestProgressQueue } from './monkeyecx-request-progress-queue';
|
|
3
|
+
|
|
4
|
+
export interface MonkeyEcxRequestQueue {
|
|
5
|
+
item: MonkeyEcxRequestItemQueue;
|
|
6
|
+
status?: number;
|
|
7
|
+
action?: Function;
|
|
8
|
+
progress?: MonkeyEcxRequestProgressQueue;
|
|
9
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './monkeyecx-request-item-upload';
|
|
2
|
-
export * from './monkeyecx-request-upload';
|
|
1
|
+
export * from './monkeyecx-request-item-upload';
|
|
2
|
+
export * from './monkeyecx-request-upload';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { MonkeyEcxRequestItemUpload } from './monkeyecx-request-item-upload';
|
|
2
|
+
|
|
3
|
+
export interface MonkeyEcxRequestUpload {
|
|
4
|
+
alias?: string;
|
|
5
|
+
item: MonkeyEcxRequestItemUpload;
|
|
6
|
+
status?: number;
|
|
7
|
+
loaded?: number;
|
|
8
|
+
total?: number;
|
|
9
|
+
currentPercentage?: number;
|
|
10
|
+
totalPercentage?: number;
|
|
11
|
+
}
|
package/{lib/core/interfaces/schedules/index.d.ts → src/lib/core/interfaces/schedules/index.ts}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './monkeyecx-request-schedule';
|
|
1
|
+
export * from './monkeyecx-request-schedule';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { HttpErrorResponse } from '@angular/common/http';
|
|
2
|
+
import { MonkeyEcxRequestQueue } from '../request-queue';
|
|
3
|
+
|
|
4
|
+
export interface MonkeyEcxRequestSchedule {
|
|
5
|
+
id?: string;
|
|
6
|
+
url: string;
|
|
7
|
+
method: string;
|
|
8
|
+
params?: any;
|
|
9
|
+
data?: any;
|
|
10
|
+
action(data: any, sch: MonkeyEcxRequestSchedule): void;
|
|
11
|
+
errorAction?(data: any, sch: MonkeyEcxRequestSchedule, err?: HttpErrorResponse): void;
|
|
12
|
+
queue?: MonkeyEcxRequestQueue;
|
|
13
|
+
interval?: any;
|
|
14
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './monkeyecx-model';
|
|
1
|
+
export * from './monkeyecx-model';
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export class Link {
|
|
2
|
+
href: string;
|
|
3
|
+
|
|
4
|
+
type: string;
|
|
5
|
+
|
|
6
|
+
templated: boolean;
|
|
7
|
+
|
|
8
|
+
constructor(data?: any) {
|
|
9
|
+
this.href = data?.href;
|
|
10
|
+
this.type = data?.type;
|
|
11
|
+
this.templated = data?.templated;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export class MonkeyEcxModel {
|
|
16
|
+
_links: any;
|
|
17
|
+
|
|
18
|
+
public getAction(
|
|
19
|
+
type: string,
|
|
20
|
+
replaceOptions?: {
|
|
21
|
+
from: string;
|
|
22
|
+
to: string;
|
|
23
|
+
}
|
|
24
|
+
): Link | null {
|
|
25
|
+
const { _links } = this;
|
|
26
|
+
if (!_links) return null;
|
|
27
|
+
let link: Link = _links[type.toLowerCase()];
|
|
28
|
+
link = new Link(link);
|
|
29
|
+
if (link && replaceOptions && link?.templated) {
|
|
30
|
+
const { from, to } = replaceOptions;
|
|
31
|
+
link = new Link({
|
|
32
|
+
...link,
|
|
33
|
+
href: `${link.href}`.replace(from, to),
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
return link;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export * from './monkeyecx-display-first-name';
|
|
2
|
-
export * from './monkeyecx-display-initials';
|
|
3
|
-
export * from './monkeyecx-format-address';
|
|
4
|
-
export * from './monkeyecx-format-beautify-json';
|
|
5
|
-
export * from './monkeyecx-format-currency';
|
|
6
|
-
export * from './monkeyecx-format-date-timelapse';
|
|
7
|
-
export * from './monkeyecx-format-date-unix-timelapse';
|
|
8
|
-
export * from './monkeyecx-format-date-group';
|
|
9
|
-
export * from './monkeyecx-format-document';
|
|
10
|
-
export * from './monkeyecx-format-number';
|
|
11
|
-
export * from './monkeyecx-format-phone';
|
|
12
|
-
export * from './monkeyecx-format-size';
|
|
13
|
-
export * from './monkeyecx-format-tax';
|
|
14
|
-
export * from './monkeyecx-format-type-document';
|
|
15
|
-
export * from './monkeyecx-format-value';
|
|
16
|
-
export * from './monkeyecx-format-zipcode';
|
|
17
|
-
export * from './monkeyecx-pipes.module';
|
|
18
|
-
export * from './monkeyecx-text-truncate';
|
|
19
|
-
export * from './monkeyecx-truncate-qtd';
|
|
1
|
+
export * from './monkeyecx-display-first-name';
|
|
2
|
+
export * from './monkeyecx-display-initials';
|
|
3
|
+
export * from './monkeyecx-format-address';
|
|
4
|
+
export * from './monkeyecx-format-beautify-json';
|
|
5
|
+
export * from './monkeyecx-format-currency';
|
|
6
|
+
export * from './monkeyecx-format-date-timelapse';
|
|
7
|
+
export * from './monkeyecx-format-date-unix-timelapse';
|
|
8
|
+
export * from './monkeyecx-format-date-group';
|
|
9
|
+
export * from './monkeyecx-format-document';
|
|
10
|
+
export * from './monkeyecx-format-number';
|
|
11
|
+
export * from './monkeyecx-format-phone';
|
|
12
|
+
export * from './monkeyecx-format-size';
|
|
13
|
+
export * from './monkeyecx-format-tax';
|
|
14
|
+
export * from './monkeyecx-format-type-document';
|
|
15
|
+
export * from './monkeyecx-format-value';
|
|
16
|
+
export * from './monkeyecx-format-zipcode';
|
|
17
|
+
export * from './monkeyecx-pipes.module';
|
|
18
|
+
export * from './monkeyecx-text-truncate';
|
|
19
|
+
export * from './monkeyecx-truncate-qtd';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Pipe, PipeTransform } from '@angular/core';
|
|
2
|
+
import { MonkeyEcxUtils } from '../utils/utils';
|
|
3
|
+
|
|
4
|
+
@Pipe({
|
|
5
|
+
name: 'monkeyecxDisplayFirstName'
|
|
6
|
+
})
|
|
7
|
+
export class MonkeyEcxDisplayFirstNamePipe implements PipeTransform {
|
|
8
|
+
transform(name: string): string {
|
|
9
|
+
if (!MonkeyEcxUtils.persistNullEmptyUndefined(name)) return '';
|
|
10
|
+
return MonkeyEcxUtils.cutFirstLastName(name);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Pipe, PipeTransform } from '@angular/core';
|
|
2
|
+
import { MonkeyEcxUtils } from '../utils/utils';
|
|
3
|
+
|
|
4
|
+
@Pipe({
|
|
5
|
+
name: 'monkeyecxDisplayInitials'
|
|
6
|
+
})
|
|
7
|
+
export class MonkeyEcxDisplayInitialsPipe implements PipeTransform {
|
|
8
|
+
transform(name: string): string {
|
|
9
|
+
if (!MonkeyEcxUtils.persistNullEmptyUndefined(name)) return '';
|
|
10
|
+
const first = MonkeyEcxUtils.cutFirstLastName(name, 'first');
|
|
11
|
+
const second = MonkeyEcxUtils.cutFirstLastName(name, 'last');
|
|
12
|
+
return `${first?.charAt(0)} ${second?.charAt(0)}`;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Pipe, PipeTransform } from '@angular/core';
|
|
2
|
+
import * as moment from 'moment';
|
|
3
|
+
import { MonkeyEcxConfigSupportPhone } from '../interfaces';
|
|
4
|
+
|
|
5
|
+
@Pipe({
|
|
6
|
+
name: 'monkeyecxDisplaySupportPhone'
|
|
7
|
+
})
|
|
8
|
+
export class MonkeyEcxDisplaySupportPhone implements PipeTransform {
|
|
9
|
+
constructor() {
|
|
10
|
+
// not to do
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
transform(phones: MonkeyEcxConfigSupportPhone[]) {
|
|
14
|
+
return phones.map((phone: MonkeyEcxConfigSupportPhone) => {
|
|
15
|
+
const isOnline = this.isPhoneOnline(phone);
|
|
16
|
+
|
|
17
|
+
return {
|
|
18
|
+
...phone,
|
|
19
|
+
isOnline,
|
|
20
|
+
color: isOnline ? '#00875A' : '#FA3838'
|
|
21
|
+
};
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
isPhoneOnline(phone: any): boolean {
|
|
26
|
+
const start = moment().startOf('day').add(phone?.startHour, 'hours').format('YYYY-MM-DD HH:mm');
|
|
27
|
+
const end = moment().startOf('day').add(phone?.endHour, 'hours').format('YYYY-MM-DD HH:mm');
|
|
28
|
+
|
|
29
|
+
return moment().isSameOrAfter(start) && moment().isSameOrBefore(end);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Pipe, PipeTransform } from '@angular/core';
|
|
2
|
+
|
|
3
|
+
@Pipe({
|
|
4
|
+
name: 'monkeyecxFormatAddress',
|
|
5
|
+
})
|
|
6
|
+
export class MonkeyEcxFormatAddressPipe implements PipeTransform {
|
|
7
|
+
transform({
|
|
8
|
+
zipCode,
|
|
9
|
+
address,
|
|
10
|
+
neighborhood,
|
|
11
|
+
city,
|
|
12
|
+
state,
|
|
13
|
+
}: {
|
|
14
|
+
zipCode: string;
|
|
15
|
+
address: string;
|
|
16
|
+
neighborhood: string;
|
|
17
|
+
city: string;
|
|
18
|
+
state: string;
|
|
19
|
+
country: string;
|
|
20
|
+
}): string {
|
|
21
|
+
return [address, neighborhood, zipCode, city, state]
|
|
22
|
+
.filter((_: string) => {
|
|
23
|
+
return _;
|
|
24
|
+
})
|
|
25
|
+
.join(', ');
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Pipe, PipeTransform } from '@angular/core';
|
|
2
|
+
|
|
3
|
+
@Pipe({
|
|
4
|
+
name: 'monkeyecxFormatBeautifyJSON'
|
|
5
|
+
})
|
|
6
|
+
export class MonkeyEcxFormatBeaufityJSONPipe implements PipeTransform {
|
|
7
|
+
constructor() {
|
|
8
|
+
// not to do
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
transform(value: any) {
|
|
12
|
+
const jsonLine = /^( *)("[\w]+": )?("[^"]*"|[\w.+-]*)?([,[{])?$/gm;
|
|
13
|
+
|
|
14
|
+
const replacer = (match, pIndent, pKey, pVal, pEnd) => {
|
|
15
|
+
const key = '<span class="json-key" style="color: brown">';
|
|
16
|
+
const val = '<span class="json-value" style="color: navy">';
|
|
17
|
+
const str = '<span class="json-string" style="color: olive">';
|
|
18
|
+
let r = pIndent || '';
|
|
19
|
+
if (pKey) {
|
|
20
|
+
r = `${r + key + pKey.replace(/[": ]/g, '')}</span>: `;
|
|
21
|
+
}
|
|
22
|
+
if (pVal) {
|
|
23
|
+
r = `${r + (pVal[0] === '"' ? str : val) + pVal}</span>`;
|
|
24
|
+
}
|
|
25
|
+
return r + (pEnd || '');
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
return JSON.stringify(value, null, 3)
|
|
29
|
+
.replace(/&/g, '&')
|
|
30
|
+
.replace(/\\"/g, '"')
|
|
31
|
+
.replace(/</g, '<')
|
|
32
|
+
.replace(/>/g, '>')
|
|
33
|
+
.replace(jsonLine, replacer);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Pipe, PipeTransform, Injector } from '@angular/core';
|
|
2
|
+
import { CurrencyPipe } from '@angular/common';
|
|
3
|
+
import { MonkeyEcxCookieStorageService } from '../services/storage/monkeyecx-cookie-storage.service';
|
|
4
|
+
|
|
5
|
+
@Pipe({
|
|
6
|
+
name: 'monkeyecxFormatCurrency'
|
|
7
|
+
})
|
|
8
|
+
export class MonkeyEcxFormatCurrencyPipe implements PipeTransform {
|
|
9
|
+
constructor(private injector: Injector, private currencyPipe: CurrencyPipe) {
|
|
10
|
+
// not to do
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
transform(value: any) {
|
|
14
|
+
const cookieStorageService = this.injector.get(MonkeyEcxCookieStorageService);
|
|
15
|
+
const cookie = cookieStorageService.getCookie('monkey-app-locale');
|
|
16
|
+
const i18n = JSON.parse(atob(cookie));
|
|
17
|
+
const { currency } = i18n;
|
|
18
|
+
return this.currencyPipe.transform(value, currency, 'symbol');
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Injector, Pipe, PipeTransform } from '@angular/core';
|
|
2
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
3
|
+
import * as moment_ from 'moment';
|
|
4
|
+
import { MonkeyEcxUtils } from '../utils/utils';
|
|
5
|
+
|
|
6
|
+
const moment: any = moment_;
|
|
7
|
+
|
|
8
|
+
@Pipe({
|
|
9
|
+
name: 'monkeyecxFormatDateGroup',
|
|
10
|
+
})
|
|
11
|
+
export class MonkeyEcxFormatDateGroupPipe implements PipeTransform {
|
|
12
|
+
private lang = 'pt-BR';
|
|
13
|
+
|
|
14
|
+
constructor(private injector: Injector) {
|
|
15
|
+
const translateService = this.injector.get(TranslateService);
|
|
16
|
+
this.lang = translateService.getDefaultLang();
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
private format(date: string | Date) {
|
|
20
|
+
if (!MonkeyEcxUtils.persistNullEmptyUndefined(date)) return '';
|
|
21
|
+
let stillUtc: any = moment.default.utc(date).toDate();
|
|
22
|
+
if (date.toString()?.indexOf(':') <= -1) {
|
|
23
|
+
stillUtc = date;
|
|
24
|
+
}
|
|
25
|
+
const formatFrom = 'YYYY/MM/DD';
|
|
26
|
+
const fmt = moment.default(stillUtc, formatFrom).locale(this.lang);
|
|
27
|
+
const dayFormated = fmt.format('DD/');
|
|
28
|
+
const monthFormated = MonkeyEcxUtils.capitalize(fmt.format('MMMM'));
|
|
29
|
+
const yearFormated = fmt.format('YYYY');
|
|
30
|
+
return `${`${dayFormated}${monthFormated}`.substring(0, 6)}, ${yearFormated}`;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
transform(obj: any): string {
|
|
34
|
+
if (!obj || !obj?.start || !obj?.end) return '';
|
|
35
|
+
const { start, end } = obj;
|
|
36
|
+
const formatedStart = this.format(start);
|
|
37
|
+
const formatedEnd = this.format(end);
|
|
38
|
+
return `${formatedStart} - ${formatedEnd}`;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Pipe, PipeTransform } from '@angular/core';
|
|
2
|
+
import * as moment_ from 'moment';
|
|
3
|
+
import { MonkeyEcxUtils } from '../utils/utils';
|
|
4
|
+
|
|
5
|
+
const moment: any = moment_;
|
|
6
|
+
|
|
7
|
+
@Pipe({
|
|
8
|
+
name: 'monkeyecxFormatDateTimelapse'
|
|
9
|
+
})
|
|
10
|
+
export class MonkeyEcxFormatDateTimelapsePipe implements PipeTransform {
|
|
11
|
+
transform(date: any | Date, showTime = false, useUtc = true, format = '- HH:mm'): string {
|
|
12
|
+
if (!MonkeyEcxUtils.persistNullEmptyUndefined(date)) return '';
|
|
13
|
+
let stillUtc: any = moment.default.utc(date).toDate();
|
|
14
|
+
if (!useUtc) stillUtc = moment.default(date).toDate();
|
|
15
|
+
if (date.toString().indexOf(':') <= -1) {
|
|
16
|
+
if (typeof date === 'string') {
|
|
17
|
+
stillUtc = date;
|
|
18
|
+
showTime = false;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
const formatFrom = `YYYY/MM/DD${showTime ? ` ${format}` : ''}`;
|
|
22
|
+
const formatTo = `DD/MM/YYYY${showTime ? ` ${format}` : ''}`;
|
|
23
|
+
return `${moment.default(stillUtc, formatFrom).format(formatTo)}`;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Pipe, PipeTransform } from '@angular/core';
|
|
2
|
+
import * as moment_ from 'moment';
|
|
3
|
+
import { MonkeyEcxUtils } from '../utils';
|
|
4
|
+
|
|
5
|
+
const moment: any = moment_;
|
|
6
|
+
|
|
7
|
+
@Pipe({
|
|
8
|
+
name: 'monkeyecxFormatDateUnixTimelapse'
|
|
9
|
+
})
|
|
10
|
+
export class MonkeyEcxFormatDateUnixTimelapsePipe implements PipeTransform {
|
|
11
|
+
transform(date: any | Date, showTime = false, useUtc = true, format = '- HH:mm'): string {
|
|
12
|
+
if (!MonkeyEcxUtils.persistNullEmptyUndefined(date)) return '';
|
|
13
|
+
let stillUtc: any = moment.default.utc(date).toDate();
|
|
14
|
+
if (!useUtc) stillUtc = moment.default(date).toDate();
|
|
15
|
+
if (
|
|
16
|
+
moment.default
|
|
17
|
+
.utc(date)
|
|
18
|
+
.toDate()
|
|
19
|
+
.toLocaleString()
|
|
20
|
+
.indexOf(':') <= -1
|
|
21
|
+
) {
|
|
22
|
+
if (typeof date === 'string') {
|
|
23
|
+
stillUtc = date;
|
|
24
|
+
showTime = false;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
const formatFrom = `YYYY/MM/DD${showTime ? ` ${format}` : ''}`;
|
|
28
|
+
const formatTo = `DD/MM/YYYY${showTime ? ` ${format}` : ''}`;
|
|
29
|
+
return `${moment.default(stillUtc, formatFrom).format(formatTo)}`;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Pipe, PipeTransform } from '@angular/core';
|
|
2
|
+
import { MonkeyEcxUtils } from '../utils/utils';
|
|
3
|
+
|
|
4
|
+
@Pipe({
|
|
5
|
+
name: 'monkeyecxFormatDocument'
|
|
6
|
+
})
|
|
7
|
+
export class MonkeyEcxFormatDocumentPipe implements PipeTransform {
|
|
8
|
+
transform(document: string, withType?: false): string {
|
|
9
|
+
if (!MonkeyEcxUtils.persistNullEmptyUndefined(document)) return '';
|
|
10
|
+
return MonkeyEcxUtils.formatDocumentWithMask(document, withType);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Pipe, PipeTransform } from '@angular/core';
|
|
2
|
+
import { formatNumber } from '@angular/common';
|
|
3
|
+
import { MonkeyEcxUtils } from '../utils/utils';
|
|
4
|
+
|
|
5
|
+
@Pipe({
|
|
6
|
+
name: 'monkeyecxFormatNumber'
|
|
7
|
+
})
|
|
8
|
+
export class MonkeyEcxFormatNumberPipe implements PipeTransform {
|
|
9
|
+
transform(number: string): string {
|
|
10
|
+
if (!MonkeyEcxUtils.persistNullEmptyUndefined(number)) return '';
|
|
11
|
+
|
|
12
|
+
return formatNumber(Number(number), 'ptbr');
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Pipe, PipeTransform } from '@angular/core';
|
|
2
|
+
|
|
3
|
+
@Pipe({
|
|
4
|
+
name: 'monkeyecxFormatPhone'
|
|
5
|
+
})
|
|
6
|
+
export class MonkeyEcxFormatPhonePipe implements PipeTransform {
|
|
7
|
+
transform(phone: string): string {
|
|
8
|
+
if (phone) {
|
|
9
|
+
const value = `${phone || ''}`.replace(/\D/g, '');
|
|
10
|
+
|
|
11
|
+
let formated = '';
|
|
12
|
+
|
|
13
|
+
if (value.length > 12) {
|
|
14
|
+
formated = value.replace(/(\d{2})?(\d{2})?(\d{5})?(\d{4})/, '+$1 ($2) $3-$4');
|
|
15
|
+
} else if (value.length > 11) {
|
|
16
|
+
formated = value.replace(/(\d{2})?(\d{2})?(\d{4})?(\d{4})/, '+$1 ($2) $3-$4');
|
|
17
|
+
} else if (value.length > 10) {
|
|
18
|
+
formated = value.replace(/(\d{2})?(\d{5})?(\d{4})/, '($1) $2-$3');
|
|
19
|
+
} else if (value.length > 9) {
|
|
20
|
+
formated = value.replace(/(\d{2})?(\d{4})?(\d{4})/, '($1) $2-$3');
|
|
21
|
+
} else if (value.length > 5) {
|
|
22
|
+
formated = value.replace(/^(\d{2})?(\d{4})?(\d{0,4})/, '($1) $2-$3');
|
|
23
|
+
} else if (value.length > 1) {
|
|
24
|
+
formated = value.replace(/^(\d{2})?(\d{0,5})/, '($1) $2');
|
|
25
|
+
} else if (phone !== '') {
|
|
26
|
+
formated = value.replace(/^(\d*)/, '($1');
|
|
27
|
+
}
|
|
28
|
+
return formated;
|
|
29
|
+
}
|
|
30
|
+
return '';
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Pipe, PipeTransform } from '@angular/core';
|
|
2
|
+
import { MonkeyEcxUtils } from '../utils/utils';
|
|
3
|
+
|
|
4
|
+
@Pipe({
|
|
5
|
+
name: 'monkeyecxFormatSize'
|
|
6
|
+
})
|
|
7
|
+
export class MonkeyEcxFormatSizePipe implements PipeTransform {
|
|
8
|
+
transform(size: string): string {
|
|
9
|
+
if (!size) return '0 B';
|
|
10
|
+
const sizeNum = Number(size);
|
|
11
|
+
return MonkeyEcxUtils.formatFileSize(sizeNum);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Pipe, PipeTransform } from '@angular/core';
|
|
2
|
+
import { MonkeyEcxUtils } from '../utils';
|
|
3
|
+
|
|
4
|
+
@Pipe({
|
|
5
|
+
name: 'monkeyecxFormatTax',
|
|
6
|
+
})
|
|
7
|
+
export class MonkeyEcxFormatTaxPipe implements PipeTransform {
|
|
8
|
+
transform(tax: number, decimalDigits: number = 7) {
|
|
9
|
+
if (!MonkeyEcxUtils.persistNullEmptyUndefined(tax)) return '0 %';
|
|
10
|
+
const stringTax = tax.toString();
|
|
11
|
+
const stringTaxLimited = stringTax.slice(0, stringTax.indexOf('.') + decimalDigits + 1);
|
|
12
|
+
return `${Number(stringTaxLimited).toLocaleString('pt-br', {
|
|
13
|
+
maximumFractionDigits: decimalDigits,
|
|
14
|
+
})} %`;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Pipe, PipeTransform } from '@angular/core';
|
|
2
|
+
import { MonkeyEcxUtils } from '../utils/utils';
|
|
3
|
+
|
|
4
|
+
@Pipe({
|
|
5
|
+
name: 'monkeyecxFormatDocumentType'
|
|
6
|
+
})
|
|
7
|
+
export class MonkeyEcxFormatDocumentTypePipe implements PipeTransform {
|
|
8
|
+
transform(document: string, country?: string): string {
|
|
9
|
+
if (!MonkeyEcxUtils.persistNullEmptyUndefined(document)) return '';
|
|
10
|
+
return MonkeyEcxUtils.getDocumentType(document, country);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Pipe, PipeTransform } from '@angular/core';
|
|
2
|
+
import { MonkeyEcxUtils } from '../utils/utils';
|
|
3
|
+
|
|
4
|
+
@Pipe({
|
|
5
|
+
name: 'monkeyecxFormatValue'
|
|
6
|
+
})
|
|
7
|
+
export class MonkeyEcxFormatValue implements PipeTransform {
|
|
8
|
+
transform(number: string): string {
|
|
9
|
+
if (!MonkeyEcxUtils.persistNullEmptyUndefined(number)) return '';
|
|
10
|
+
return number;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Pipe, PipeTransform } from '@angular/core';
|
|
2
|
+
import { MonkeyEcxUtils } from '../utils/utils';
|
|
3
|
+
|
|
4
|
+
@Pipe({
|
|
5
|
+
name: 'monkeyecxFormatZipCode'
|
|
6
|
+
})
|
|
7
|
+
export class MonkeyEcxFormatZipCodePipe implements PipeTransform {
|
|
8
|
+
transform(zipCode: string): string {
|
|
9
|
+
if (!MonkeyEcxUtils.persistNullEmptyUndefined(zipCode)) return '';
|
|
10
|
+
return MonkeyEcxUtils.formatZipCode(zipCode);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { CurrencyPipe } from '@angular/common';
|
|
2
|
+
import { NgModule } from '@angular/core';
|
|
3
|
+
import { MonkeyEcxDisplayFirstNamePipe } from './monkeyecx-display-first-name';
|
|
4
|
+
import { MonkeyEcxDisplayInitialsPipe } from './monkeyecx-display-initials';
|
|
5
|
+
import { MonkeyEcxFormatAddressPipe } from './monkeyecx-format-address';
|
|
6
|
+
import { MonkeyEcxFormatBeaufityJSONPipe } from './monkeyecx-format-beautify-json';
|
|
7
|
+
import { MonkeyEcxFormatCurrencyPipe } from './monkeyecx-format-currency';
|
|
8
|
+
import { MonkeyEcxFormatDateGroupPipe } from './monkeyecx-format-date-group';
|
|
9
|
+
import { MonkeyEcxFormatDateTimelapsePipe } from './monkeyecx-format-date-timelapse';
|
|
10
|
+
import { MonkeyEcxFormatDateUnixTimelapsePipe } from './monkeyecx-format-date-unix-timelapse';
|
|
11
|
+
import { MonkeyEcxFormatDocumentPipe } from './monkeyecx-format-document';
|
|
12
|
+
import { MonkeyEcxFormatDocumentTypePipe } from './monkeyecx-format-type-document';
|
|
13
|
+
import { MonkeyEcxFormatNumberPipe } from './monkeyecx-format-number';
|
|
14
|
+
import { MonkeyEcxFormatPhonePipe } from './monkeyecx-format-phone';
|
|
15
|
+
import { MonkeyEcxFormatSizePipe } from './monkeyecx-format-size';
|
|
16
|
+
import { MonkeyEcxFormatTaxPipe } from './monkeyecx-format-tax';
|
|
17
|
+
import { MonkeyEcxFormatValue } from './monkeyecx-format-value';
|
|
18
|
+
import { MonkeyEcxFormatZipCodePipe } from './monkeyecx-format-zipcode';
|
|
19
|
+
import { MonkeyEcxTextTruncatePipe } from './monkeyecx-text-truncate';
|
|
20
|
+
import { MonkeyEcxTruncateQtdPipe } from './monkeyecx-truncate-qtd';
|
|
21
|
+
|
|
22
|
+
@NgModule({
|
|
23
|
+
declarations: [
|
|
24
|
+
MonkeyEcxDisplayFirstNamePipe,
|
|
25
|
+
MonkeyEcxDisplayInitialsPipe,
|
|
26
|
+
MonkeyEcxFormatAddressPipe,
|
|
27
|
+
MonkeyEcxFormatBeaufityJSONPipe,
|
|
28
|
+
MonkeyEcxFormatCurrencyPipe,
|
|
29
|
+
MonkeyEcxFormatDateGroupPipe,
|
|
30
|
+
MonkeyEcxFormatDateTimelapsePipe,
|
|
31
|
+
MonkeyEcxFormatDateUnixTimelapsePipe,
|
|
32
|
+
MonkeyEcxFormatDocumentPipe,
|
|
33
|
+
MonkeyEcxFormatDocumentTypePipe,
|
|
34
|
+
MonkeyEcxFormatNumberPipe,
|
|
35
|
+
MonkeyEcxFormatPhonePipe,
|
|
36
|
+
MonkeyEcxFormatSizePipe,
|
|
37
|
+
MonkeyEcxFormatTaxPipe,
|
|
38
|
+
MonkeyEcxFormatValue,
|
|
39
|
+
MonkeyEcxFormatZipCodePipe,
|
|
40
|
+
MonkeyEcxTextTruncatePipe,
|
|
41
|
+
MonkeyEcxTruncateQtdPipe
|
|
42
|
+
],
|
|
43
|
+
exports: [
|
|
44
|
+
MonkeyEcxDisplayFirstNamePipe,
|
|
45
|
+
MonkeyEcxDisplayInitialsPipe,
|
|
46
|
+
MonkeyEcxFormatAddressPipe,
|
|
47
|
+
MonkeyEcxFormatBeaufityJSONPipe,
|
|
48
|
+
MonkeyEcxFormatCurrencyPipe,
|
|
49
|
+
MonkeyEcxFormatDateGroupPipe,
|
|
50
|
+
MonkeyEcxFormatDateTimelapsePipe,
|
|
51
|
+
MonkeyEcxFormatDateUnixTimelapsePipe,
|
|
52
|
+
MonkeyEcxFormatDocumentPipe,
|
|
53
|
+
MonkeyEcxFormatDocumentTypePipe,
|
|
54
|
+
MonkeyEcxFormatNumberPipe,
|
|
55
|
+
MonkeyEcxFormatPhonePipe,
|
|
56
|
+
MonkeyEcxFormatSizePipe,
|
|
57
|
+
MonkeyEcxFormatTaxPipe,
|
|
58
|
+
MonkeyEcxFormatValue,
|
|
59
|
+
MonkeyEcxFormatZipCodePipe,
|
|
60
|
+
MonkeyEcxTextTruncatePipe,
|
|
61
|
+
MonkeyEcxTruncateQtdPipe
|
|
62
|
+
],
|
|
63
|
+
providers: [CurrencyPipe]
|
|
64
|
+
})
|
|
65
|
+
export class MonkeyEcxPipesModule {}
|