monkey-front-core 0.0.263 → 0.0.264
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/components/alerts/alerts.component.mjs +35 -35
- package/esm2020/lib/components/alerts/alerts.module.mjs +21 -21
- package/esm2020/lib/components/alerts/index.mjs +2 -2
- package/esm2020/lib/components/closed-to-maintenance/closed-to-maintenance.component.mjs +29 -29
- package/esm2020/lib/components/closed-to-maintenance/closed-to-maintenance.module.mjs +43 -43
- package/esm2020/lib/components/closed-to-maintenance/index.mjs +2 -2
- package/esm2020/lib/components/index.mjs +4 -4
- package/esm2020/lib/components/progress-bar/index.mjs +3 -3
- package/esm2020/lib/components/progress-bar/progress-bar.component.mjs +23 -23
- package/esm2020/lib/components/progress-bar/progress-bar.module.mjs +18 -18
- package/esm2020/lib/components/progress-bar/progress-bar.service.mjs +50 -50
- package/esm2020/lib/components/version-changed/index.mjs +2 -2
- package/esm2020/lib/components/version-changed/version-changed.component.mjs +24 -24
- package/esm2020/lib/components/version-changed/version-changed.module.mjs +39 -39
- package/esm2020/lib/core/decorators/index.mjs +5 -5
- package/esm2020/lib/core/decorators/monkeyecx-charts-decorators.mjs +40 -40
- package/esm2020/lib/core/decorators/monkeyecx-decorators.mjs +110 -110
- package/esm2020/lib/core/decorators/monkeyecx-download-decorators.mjs +25 -25
- package/esm2020/lib/core/decorators/monkeyecx-upload-decorators.mjs +25 -25
- package/esm2020/lib/core/directives/index.mjs +12 -12
- package/esm2020/lib/core/directives/monkeyecx-directives-module.mjs +73 -73
- package/esm2020/lib/core/directives/monkeyecx-drag-drop.mjs +57 -57
- package/esm2020/lib/core/directives/monkeyecx-feature-by-program-directive.mjs +50 -50
- package/esm2020/lib/core/directives/monkeyecx-feature-directive.mjs +68 -68
- package/esm2020/lib/core/directives/monkeyecx-format-currency.mjs +44 -44
- package/esm2020/lib/core/directives/monkeyecx-format-upper.mjs +67 -67
- package/esm2020/lib/core/directives/monkeyecx-only-alpha-numeric-directive.mjs +28 -28
- package/esm2020/lib/core/directives/monkeyecx-only-number-directive.mjs +28 -28
- package/esm2020/lib/core/directives/monkeyecx-popover-options.directive.mjs +39 -39
- package/esm2020/lib/core/directives/monkeyecx-popover.directive.mjs +212 -212
- package/esm2020/lib/core/directives/monkeyecx-security-directive.mjs +69 -69
- package/esm2020/lib/core/directives/monkeyecx-tooltip-directive.mjs +123 -123
- package/esm2020/lib/core/index.mjs +9 -9
- package/esm2020/lib/core/interceptors/index.mjs +5 -5
- package/esm2020/lib/core/interceptors/monkeyecx-http-config-error.interceptor.mjs +39 -39
- package/esm2020/lib/core/interceptors/monkeyecx-http-config-header.interceptor.mjs +60 -60
- package/esm2020/lib/core/interceptors/monkeyecx-http-config-interceptor.module.mjs +47 -47
- package/esm2020/lib/core/interceptors/monkeyecx-http-config-loading-in-progress.interceptor.mjs +43 -43
- package/esm2020/lib/core/interceptors/monkeyecx-http-config-queue.interceptor.mjs +37 -37
- package/esm2020/lib/core/interfaces/index.mjs +29 -29
- package/esm2020/lib/core/interfaces/monkeyecx-auth-credentials.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-company-pendencies.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-company.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-config-boostrap.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-config.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-country-security.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-error-response.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-filter.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-handled-error-response.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-header-credentials.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-intercom-options.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-me-credentials.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-navigation.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-program.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-releases.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-request-in-progress.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-request-paged.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-response-links.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-response-paged.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-saved-state.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-scroll-options.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-service-credentials.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-support-options.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-token-credentials.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-translate-options.mjs +1 -1
- package/esm2020/lib/core/interfaces/request-download/index.mjs +3 -3
- package/esm2020/lib/core/interfaces/request-download/monkeyecx-request-download.mjs +1 -1
- package/esm2020/lib/core/interfaces/request-download/monkeyecx-request-downloaded.mjs +1 -1
- package/esm2020/lib/core/interfaces/request-download/monkeyecx-request-item-download.mjs +1 -1
- package/esm2020/lib/core/interfaces/request-queue/index.mjs +3 -3
- package/esm2020/lib/core/interfaces/request-queue/monkeyecx-request-item-queue.mjs +1 -1
- package/esm2020/lib/core/interfaces/request-queue/monkeyecx-request-progress-queue.mjs +1 -1
- package/esm2020/lib/core/interfaces/request-queue/monkeyecx-request-queue.mjs +1 -1
- package/esm2020/lib/core/interfaces/request-upload/index.mjs +2 -2
- package/esm2020/lib/core/interfaces/request-upload/monkeyecx-request-item-upload.mjs +1 -1
- package/esm2020/lib/core/interfaces/request-upload/monkeyecx-request-upload.mjs +1 -1
- package/esm2020/lib/core/interfaces/schedules/index.mjs +1 -1
- package/esm2020/lib/core/interfaces/schedules/monkeyecx-request-schedule.mjs +1 -1
- package/esm2020/lib/core/model/index.mjs +1 -1
- package/esm2020/lib/core/model/monkeyecx-model.mjs +25 -25
- package/esm2020/lib/core/pipes/index.mjs +20 -20
- package/esm2020/lib/core/pipes/monkeyecx-blob-secure.mjs +26 -26
- package/esm2020/lib/core/pipes/monkeyecx-display-first-name.mjs +19 -19
- package/esm2020/lib/core/pipes/monkeyecx-display-initials.mjs +21 -21
- package/esm2020/lib/core/pipes/monkeyecx-format-address.mjs +20 -20
- package/esm2020/lib/core/pipes/monkeyecx-format-beautify-json.mjs +38 -38
- package/esm2020/lib/core/pipes/monkeyecx-format-currency.mjs +27 -27
- package/esm2020/lib/core/pipes/monkeyecx-format-date-group.mjs +45 -45
- package/esm2020/lib/core/pipes/monkeyecx-format-date-timelapse.mjs +32 -32
- package/esm2020/lib/core/pipes/monkeyecx-format-date-unix-timelapse.mjs +36 -36
- package/esm2020/lib/core/pipes/monkeyecx-format-document.mjs +19 -19
- package/esm2020/lib/core/pipes/monkeyecx-format-number.mjs +20 -20
- package/esm2020/lib/core/pipes/monkeyecx-format-phone.mjs +42 -42
- package/esm2020/lib/core/pipes/monkeyecx-format-size.mjs +20 -20
- package/esm2020/lib/core/pipes/monkeyecx-format-tax.mjs +23 -23
- package/esm2020/lib/core/pipes/monkeyecx-format-type-document.mjs +19 -19
- package/esm2020/lib/core/pipes/monkeyecx-format-value.mjs +19 -19
- package/esm2020/lib/core/pipes/monkeyecx-format-zipcode.mjs +19 -19
- package/esm2020/lib/core/pipes/monkeyecx-pipes.module.mjs +112 -112
- package/esm2020/lib/core/pipes/monkeyecx-text-truncate.mjs +23 -23
- package/esm2020/lib/core/pipes/monkeyecx-truncate-qtd.mjs +16 -16
- package/esm2020/lib/core/services/alerts/index.mjs +1 -1
- package/esm2020/lib/core/services/alerts/monkeyecx-alerts.service.mjs +42 -42
- package/esm2020/lib/core/services/auth/index.mjs +4 -4
- package/esm2020/lib/core/services/auth/monkeyecx-auth-guard-company.service.mjs +28 -28
- package/esm2020/lib/core/services/auth/monkeyecx-auth-guard-login.service.mjs +27 -27
- package/esm2020/lib/core/services/auth/monkeyecx-auth-guard.service.mjs +26 -26
- package/esm2020/lib/core/services/auth/monkeyecx-authentication.service.mjs +69 -69
- package/esm2020/lib/core/services/commons/index.mjs +1 -1
- package/esm2020/lib/core/services/commons/monkeyecx-commons.service.mjs +404 -404
- package/esm2020/lib/core/services/config/monkeyecx-alerts-config.service.mjs +40 -40
- package/esm2020/lib/core/services/config/monkeyecx-config.module.mjs +28 -28
- package/esm2020/lib/core/services/config/monkeyecx-config.service.mjs +111 -111
- package/esm2020/lib/core/services/config/monkeyecx-error-config.service.mjs +85 -85
- package/esm2020/lib/core/services/config/monkeyecx-feature-toggle.service.mjs +67 -67
- package/esm2020/lib/core/services/config/monkeyecx-ga-config.service.mjs +57 -57
- package/esm2020/lib/core/services/config/monkeyecx-i18n-config.service.mjs +92 -92
- package/esm2020/lib/core/services/config/monkeyecx-logs-config.service.mjs +34 -34
- package/esm2020/lib/core/services/config/monkeyecx-maintenance-config.service.mjs +37 -37
- package/esm2020/lib/core/services/config/monkeyecx-security-console-config.service.mjs +42 -42
- package/esm2020/lib/core/services/config/monkeyecx-service-worker-config.service.mjs +53 -53
- package/esm2020/lib/core/services/error/index.mjs +4 -4
- package/esm2020/lib/core/services/error/monkeyecx-error-handling.module.mjs +27 -27
- package/esm2020/lib/core/services/error/monkeyecx-error-handling.service.mjs +37 -37
- package/esm2020/lib/core/services/error/monkeyecx-http-error-handling.service.mjs +135 -135
- package/esm2020/lib/core/services/error/monkeyecx-others-errors-handling.service.mjs +29 -29
- package/esm2020/lib/core/services/index.mjs +23 -23
- package/esm2020/lib/core/services/logged/index.mjs +1 -1
- package/esm2020/lib/core/services/logged/monkeyecx-logged-handling.service.mjs +40 -40
- package/esm2020/lib/core/services/monkeyecx-handling.service.mjs +50 -50
- package/esm2020/lib/core/services/monkeyecx-service.service.mjs +104 -104
- package/esm2020/lib/core/services/pagination/index.mjs +1 -1
- package/esm2020/lib/core/services/pagination/monkeyecx-pagination.service.mjs +29 -29
- package/esm2020/lib/core/services/request-download/index.mjs +2 -2
- package/esm2020/lib/core/services/request-download/monkeyecx-request-download-handling.service.mjs +93 -93
- package/esm2020/lib/core/services/request-download/monkeyecx-request-downloaded-handling.service.mjs +61 -61
- package/esm2020/lib/core/services/request-paged/index.mjs +1 -1
- package/esm2020/lib/core/services/request-paged/monkeyecx-request-request-paged-handling.mjs +42 -42
- package/esm2020/lib/core/services/request-queue/index.mjs +2 -2
- package/esm2020/lib/core/services/request-queue/monkeyecx-request-queue-handling.service.mjs +114 -114
- package/esm2020/lib/core/services/request-queue/monkeyecx-request-queue-modal-handling.service.mjs +119 -119
- package/esm2020/lib/core/services/routes/index.mjs +1 -1
- package/esm2020/lib/core/services/routes/monkeyecx-dicovery-params.service.mjs +54 -54
- package/esm2020/lib/core/services/schedules/index.mjs +1 -1
- package/esm2020/lib/core/services/schedules/monkeyecx-request-schedule.service.mjs +188 -188
- package/esm2020/lib/core/services/storage/index.mjs +2 -2
- package/esm2020/lib/core/services/storage/monkeyecx-cookie-storage.service.mjs +32 -32
- package/esm2020/lib/core/services/storage/monkeyecx-token-storage.service.mjs +127 -127
- package/esm2020/lib/core/specification-search/index.mjs +1 -1
- package/esm2020/lib/core/specification-search/monkeyecx-specification-search.mjs +107 -107
- package/esm2020/lib/core/utils/decorators-utils.mjs +39 -39
- package/esm2020/lib/core/utils/index.mjs +7 -7
- package/esm2020/lib/core/utils/statics.mjs +37 -37
- package/esm2020/lib/core/utils/utils.mjs +221 -221
- package/esm2020/lib/core/utils/validate-utils.mjs +206 -206
- package/esm2020/lib/core/utils/validators.mjs +212 -212
- package/esm2020/lib/monkey-front-core.module.mjs +64 -64
- package/esm2020/monkey-front-core.mjs +4 -4
- package/esm2020/public-api.mjs +6 -6
- package/fesm2015/monkey-front-core.mjs +4942 -4942
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +4999 -4999
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/lib/components/alerts/alerts.component.d.ts +16 -16
- package/lib/components/alerts/alerts.module.d.ts +10 -10
- package/lib/components/alerts/index.d.ts +2 -2
- package/lib/components/closed-to-maintenance/closed-to-maintenance.component.d.ts +13 -13
- package/lib/components/closed-to-maintenance/closed-to-maintenance.module.d.ts +11 -11
- package/lib/components/closed-to-maintenance/index.d.ts +2 -2
- package/lib/components/index.d.ts +4 -4
- package/lib/components/progress-bar/index.d.ts +3 -3
- package/lib/components/progress-bar/progress-bar.component.d.ts +11 -11
- package/lib/components/progress-bar/progress-bar.module.d.ts +8 -8
- package/lib/components/progress-bar/progress-bar.service.d.ts +14 -14
- package/lib/components/version-changed/index.d.ts +2 -2
- package/lib/components/version-changed/version-changed.component.d.ts +9 -9
- package/lib/components/version-changed/version-changed.module.d.ts +10 -10
- package/lib/core/decorators/index.d.ts +4 -4
- package/lib/core/decorators/monkeyecx-charts-decorators.d.ts +1 -1
- package/lib/core/decorators/monkeyecx-decorators.d.ts +7 -7
- package/lib/core/decorators/monkeyecx-download-decorators.d.ts +2 -2
- package/lib/core/decorators/monkeyecx-upload-decorators.d.ts +2 -2
- package/lib/core/directives/index.d.ts +12 -12
- package/lib/core/directives/monkeyecx-directives-module.d.ts +19 -19
- package/lib/core/directives/monkeyecx-drag-drop.d.ts +12 -12
- package/lib/core/directives/monkeyecx-feature-by-program-directive.d.ts +15 -15
- package/lib/core/directives/monkeyecx-feature-directive.d.ts +17 -17
- package/lib/core/directives/monkeyecx-format-currency.d.ts +16 -16
- package/lib/core/directives/monkeyecx-format-upper.d.ts +18 -18
- package/lib/core/directives/monkeyecx-only-alpha-numeric-directive.d.ts +9 -9
- package/lib/core/directives/monkeyecx-only-number-directive.d.ts +9 -9
- package/lib/core/directives/monkeyecx-popover-options.directive.d.ts +19 -19
- package/lib/core/directives/monkeyecx-popover.directive.d.ts +43 -43
- package/lib/core/directives/monkeyecx-security-directive.d.ts +17 -17
- package/lib/core/directives/monkeyecx-tooltip-directive.d.ts +23 -23
- package/lib/core/index.d.ts +9 -9
- package/lib/core/interceptors/index.d.ts +5 -5
- package/lib/core/interceptors/monkeyecx-http-config-error.interceptor.d.ts +17 -17
- package/lib/core/interceptors/monkeyecx-http-config-header.interceptor.d.ts +16 -16
- package/lib/core/interceptors/monkeyecx-http-config-interceptor.module.d.ts +9 -9
- package/lib/core/interceptors/monkeyecx-http-config-loading-in-progress.interceptor.d.ts +12 -12
- package/lib/core/interceptors/monkeyecx-http-config-queue.interceptor.d.ts +14 -14
- package/lib/core/interfaces/index.d.ts +29 -29
- package/lib/core/interfaces/monkeyecx-auth-credentials.d.ts +15 -15
- package/lib/core/interfaces/monkeyecx-company-pendencies.d.ts +14 -14
- package/lib/core/interfaces/monkeyecx-company.d.ts +10 -10
- package/lib/core/interfaces/monkeyecx-config-boostrap.d.ts +14 -14
- package/lib/core/interfaces/monkeyecx-config.d.ts +126 -126
- package/lib/core/interfaces/monkeyecx-country-security.d.ts +4 -4
- package/lib/core/interfaces/monkeyecx-error-response.d.ts +5 -5
- package/lib/core/interfaces/monkeyecx-filter.d.ts +24 -24
- package/lib/core/interfaces/monkeyecx-handled-error-response.d.ts +10 -10
- package/lib/core/interfaces/monkeyecx-header-credentials.d.ts +4 -4
- package/lib/core/interfaces/monkeyecx-intercom-options.d.ts +4 -4
- package/lib/core/interfaces/monkeyecx-me-credentials.d.ts +22 -22
- package/lib/core/interfaces/monkeyecx-navigation.d.ts +27 -27
- package/lib/core/interfaces/monkeyecx-program.d.ts +10 -10
- package/lib/core/interfaces/monkeyecx-releases.d.ts +9 -9
- package/lib/core/interfaces/monkeyecx-request-in-progress.d.ts +3 -3
- package/lib/core/interfaces/monkeyecx-request-paged.d.ts +23 -23
- package/lib/core/interfaces/monkeyecx-response-links.d.ts +11 -11
- package/lib/core/interfaces/monkeyecx-response-paged.d.ts +6 -6
- package/lib/core/interfaces/monkeyecx-saved-state.d.ts +5 -5
- package/lib/core/interfaces/monkeyecx-scroll-options.d.ts +5 -5
- package/lib/core/interfaces/monkeyecx-service-credentials.d.ts +12 -12
- package/lib/core/interfaces/monkeyecx-support-options.d.ts +4 -4
- package/lib/core/interfaces/monkeyecx-token-credentials.d.ts +20 -20
- package/lib/core/interfaces/monkeyecx-translate-options.d.ts +4 -4
- package/lib/core/interfaces/request-download/index.d.ts +3 -3
- package/lib/core/interfaces/request-download/monkeyecx-request-download.d.ts +10 -10
- package/lib/core/interfaces/request-download/monkeyecx-request-downloaded.d.ts +7 -7
- package/lib/core/interfaces/request-download/monkeyecx-request-item-download.d.ts +7 -7
- package/lib/core/interfaces/request-queue/index.d.ts +3 -3
- package/lib/core/interfaces/request-queue/monkeyecx-request-item-queue.d.ts +7 -7
- package/lib/core/interfaces/request-queue/monkeyecx-request-progress-queue.d.ts +6 -6
- package/lib/core/interfaces/request-queue/monkeyecx-request-queue.d.ts +8 -8
- package/lib/core/interfaces/request-upload/index.d.ts +2 -2
- package/lib/core/interfaces/request-upload/monkeyecx-request-item-upload.d.ts +5 -5
- package/lib/core/interfaces/request-upload/monkeyecx-request-upload.d.ts +10 -10
- package/lib/core/interfaces/schedules/index.d.ts +1 -1
- package/lib/core/interfaces/schedules/monkeyecx-request-schedule.d.ts +13 -13
- package/lib/core/model/index.d.ts +1 -1
- package/lib/core/model/monkeyecx-model.d.ts +13 -13
- package/lib/core/pipes/index.d.ts +20 -20
- package/lib/core/pipes/monkeyecx-blob-secure.d.ts +13 -13
- package/lib/core/pipes/monkeyecx-display-first-name.d.ts +7 -7
- package/lib/core/pipes/monkeyecx-display-initials.d.ts +7 -7
- package/lib/core/pipes/monkeyecx-format-address.d.ts +14 -14
- package/lib/core/pipes/monkeyecx-format-beautify-json.d.ts +8 -8
- package/lib/core/pipes/monkeyecx-format-currency.d.ts +11 -11
- package/lib/core/pipes/monkeyecx-format-date-group.d.ts +11 -11
- package/lib/core/pipes/monkeyecx-format-date-timelapse.d.ts +7 -7
- package/lib/core/pipes/monkeyecx-format-date-unix-timelapse.d.ts +7 -7
- package/lib/core/pipes/monkeyecx-format-document.d.ts +7 -7
- package/lib/core/pipes/monkeyecx-format-number.d.ts +7 -7
- package/lib/core/pipes/monkeyecx-format-phone.d.ts +7 -7
- package/lib/core/pipes/monkeyecx-format-size.d.ts +7 -7
- package/lib/core/pipes/monkeyecx-format-tax.d.ts +7 -7
- package/lib/core/pipes/monkeyecx-format-type-document.d.ts +7 -7
- package/lib/core/pipes/monkeyecx-format-value.d.ts +7 -7
- package/lib/core/pipes/monkeyecx-format-zipcode.d.ts +7 -7
- package/lib/core/pipes/monkeyecx-pipes.module.d.ts +25 -25
- package/lib/core/pipes/monkeyecx-text-truncate.d.ts +7 -7
- package/lib/core/pipes/monkeyecx-truncate-qtd.d.ts +7 -7
- package/lib/core/services/alerts/index.d.ts +1 -1
- package/lib/core/services/alerts/monkeyecx-alerts.service.d.ts +21 -21
- package/lib/core/services/auth/index.d.ts +4 -4
- package/lib/core/services/auth/monkeyecx-auth-guard-company.service.d.ts +11 -11
- package/lib/core/services/auth/monkeyecx-auth-guard-login.service.d.ts +11 -11
- package/lib/core/services/auth/monkeyecx-auth-guard.service.d.ts +11 -11
- package/lib/core/services/auth/monkeyecx-authentication.service.d.ts +30 -30
- package/lib/core/services/commons/index.d.ts +1 -1
- package/lib/core/services/commons/monkeyecx-commons.service.d.ts +124 -124
- package/lib/core/services/config/monkeyecx-alerts-config.service.d.ts +11 -11
- package/lib/core/services/config/monkeyecx-config.module.d.ts +9 -9
- package/lib/core/services/config/monkeyecx-config.service.d.ts +36 -36
- package/lib/core/services/config/monkeyecx-error-config.service.d.ts +8 -8
- package/lib/core/services/config/monkeyecx-feature-toggle.service.d.ts +16 -16
- package/lib/core/services/config/monkeyecx-ga-config.service.d.ts +10 -10
- package/lib/core/services/config/monkeyecx-i18n-config.service.d.ts +16 -16
- package/lib/core/services/config/monkeyecx-logs-config.service.d.ts +7 -7
- package/lib/core/services/config/monkeyecx-maintenance-config.service.d.ts +13 -13
- package/lib/core/services/config/monkeyecx-security-console-config.service.d.ts +11 -11
- package/lib/core/services/config/monkeyecx-service-worker-config.service.d.ts +16 -16
- package/lib/core/services/error/index.d.ts +4 -4
- package/lib/core/services/error/monkeyecx-error-handling.module.d.ts +9 -9
- package/lib/core/services/error/monkeyecx-error-handling.service.d.ts +9 -9
- package/lib/core/services/error/monkeyecx-http-error-handling.service.d.ts +26 -26
- package/lib/core/services/error/monkeyecx-others-errors-handling.service.d.ts +9 -9
- package/lib/core/services/index.d.ts +23 -23
- package/lib/core/services/logged/index.d.ts +1 -1
- package/lib/core/services/logged/monkeyecx-logged-handling.service.d.ts +14 -14
- package/lib/core/services/monkeyecx-handling.service.d.ts +22 -22
- package/lib/core/services/monkeyecx-service.service.d.ts +18 -18
- package/lib/core/services/pagination/index.d.ts +1 -1
- package/lib/core/services/pagination/monkeyecx-pagination.service.d.ts +9 -9
- package/lib/core/services/request-download/index.d.ts +2 -2
- package/lib/core/services/request-download/monkeyecx-request-download-handling.service.d.ts +18 -18
- package/lib/core/services/request-download/monkeyecx-request-downloaded-handling.service.d.ts +16 -16
- package/lib/core/services/request-paged/index.d.ts +1 -1
- package/lib/core/services/request-paged/monkeyecx-request-request-paged-handling.d.ts +11 -11
- package/lib/core/services/request-queue/index.d.ts +2 -2
- package/lib/core/services/request-queue/monkeyecx-request-queue-handling.service.d.ts +21 -21
- package/lib/core/services/request-queue/monkeyecx-request-queue-modal-handling.service.d.ts +23 -23
- package/lib/core/services/routes/index.d.ts +1 -1
- package/lib/core/services/routes/monkeyecx-dicovery-params.service.d.ts +13 -13
- package/lib/core/services/schedules/index.d.ts +1 -1
- package/lib/core/services/schedules/monkeyecx-request-schedule.service.d.ts +47 -47
- package/lib/core/services/storage/index.d.ts +2 -2
- package/lib/core/services/storage/monkeyecx-cookie-storage.service.d.ts +11 -11
- package/lib/core/services/storage/monkeyecx-token-storage.service.d.ts +29 -29
- package/lib/core/specification-search/index.d.ts +1 -1
- package/lib/core/specification-search/monkeyecx-specification-search.d.ts +20 -20
- package/lib/core/utils/decorators-utils.d.ts +5 -5
- package/lib/core/utils/index.d.ts +6 -6
- package/lib/core/utils/statics.d.ts +28 -28
- package/lib/core/utils/utils.d.ts +22 -22
- package/lib/core/utils/validate-utils.d.ts +66 -66
- package/lib/core/utils/validators.d.ts +30 -30
- package/lib/monkey-front-core.module.d.ts +17 -17
- package/monkey-front-core-0.0.264.tgz +0 -0
- package/monkey-front-core.d.ts +5 -5
- package/package.json +3 -3
- package/public-api.d.ts +3 -3
- package/monkey-front-core-0.0.263.tgz +0 -0
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
/* eslint-disable space-before-function-paren */
|
|
2
|
-
/* eslint-disable func-names */
|
|
3
|
-
/* eslint-disable max-len */
|
|
4
|
-
import { MonkeyUtils } from 'monkey-style-guide';
|
|
5
|
-
import { DecoratorsUtils } from '../utils';
|
|
6
|
-
export function MonkeyEcxServiceUpload(name, description, params) {
|
|
7
|
-
return function (target, propertyName, propertyDescriptor) {
|
|
8
|
-
const method = propertyDescriptor.value;
|
|
9
|
-
propertyDescriptor.value = function (...args) {
|
|
10
|
-
const context = this;
|
|
11
|
-
if (DecoratorsUtils.hasMonkeyEcxServiceAndHandlingProperties(context)) {
|
|
12
|
-
if (MonkeyUtils.persistNullEmptyUndefined(params)) {
|
|
13
|
-
context?.monkeyecxService?.monkeyecxHandlingService?.clearAll();
|
|
14
|
-
context?.monkeyecxService?.monkeyecxHandlingService?.setMonkeyEcxServiceCredentials(params);
|
|
15
|
-
}
|
|
16
|
-
context?.monkeyecxService?.monkeyecxHandlingService?.setMonkeyEcxRequestUpload({
|
|
17
|
-
...DecoratorsUtils.buildUploadPropertys(name, description),
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
const result = method.apply(context, args);
|
|
21
|
-
return result;
|
|
22
|
-
};
|
|
23
|
-
return propertyDescriptor;
|
|
24
|
-
};
|
|
25
|
-
}
|
|
1
|
+
/* eslint-disable space-before-function-paren */
|
|
2
|
+
/* eslint-disable func-names */
|
|
3
|
+
/* eslint-disable max-len */
|
|
4
|
+
import { MonkeyUtils } from 'monkey-style-guide';
|
|
5
|
+
import { DecoratorsUtils } from '../utils';
|
|
6
|
+
export function MonkeyEcxServiceUpload(name, description, params) {
|
|
7
|
+
return function (target, propertyName, propertyDescriptor) {
|
|
8
|
+
const method = propertyDescriptor.value;
|
|
9
|
+
propertyDescriptor.value = function (...args) {
|
|
10
|
+
const context = this;
|
|
11
|
+
if (DecoratorsUtils.hasMonkeyEcxServiceAndHandlingProperties(context)) {
|
|
12
|
+
if (MonkeyUtils.persistNullEmptyUndefined(params)) {
|
|
13
|
+
context?.monkeyecxService?.monkeyecxHandlingService?.clearAll();
|
|
14
|
+
context?.monkeyecxService?.monkeyecxHandlingService?.setMonkeyEcxServiceCredentials(params);
|
|
15
|
+
}
|
|
16
|
+
context?.monkeyecxService?.monkeyecxHandlingService?.setMonkeyEcxRequestUpload({
|
|
17
|
+
...DecoratorsUtils.buildUploadPropertys(name, description),
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
const result = method.apply(context, args);
|
|
21
|
+
return result;
|
|
22
|
+
};
|
|
23
|
+
return propertyDescriptor;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
26
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9ua2V5ZWN4LXVwbG9hZC1kZWNvcmF0b3JzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbW9ua2V5LWZyb250LWNvcmUvc3JjL2xpYi9jb3JlL2RlY29yYXRvcnMvbW9ua2V5ZWN4LXVwbG9hZC1kZWNvcmF0b3JzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGdEQUFnRDtBQUNoRCwrQkFBK0I7QUFDL0IsNEJBQTRCO0FBQzVCLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxvQkFBb0IsQ0F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VuZGVmaW5lZChwYXJhbXMpKSB7XG4gICAgICAgICAgY29udGV4dD8ubW9ua2V5ZWN4U2VydmljZT8ubW9ua2V5ZWN4SGFuZGxpbmdTZXJ2aWNlPy5jbGVhckFsbCgpO1xuICAgICAgICAgIGNvbnRleHQ/Lm1vbmtleWVjeFNlcnZpY2U/Lm1vbmtleWVjeEhhbmRsaW5nU2VydmljZT8uc2V0TW9ua2V5RWN4U2VydmljZUNyZWRlbnRpYWxzKFxuICAgICAgICAgICAgcGFyYW1zXG4gICAgICAgICAgKTtcbiAgICAgICAgfVxuICAgICAgICBjb250ZXh0Py5tb25rZXllY3hTZXJ2aWNlPy5tb25rZXllY3hIYW5kbGluZ1NlcnZpY2U/LnNldE1vbmtleUVjeFJlcXVlc3RVcGxvYWQoe1xuICAgICAgICAgIC4uLkRlY29yYXRvcnNVdGlscy5idWlsZFVwbG9hZFByb3BlcnR5cyhuYW1lLCBkZXNjcmlwdGlvbiksXG4gICAgICAgIH0pO1xuICAgICAgfVxuICAgICAgY29uc3QgcmVzdWx0ID0gbWV0aG9kLmFwcGx5KGNvbnRleHQsIGFyZ3MpO1xuICAgICAgcmV0dXJuIHJlc3VsdDtcbiAgICB9O1xuXG4gICAgcmV0dXJuIHByb3BlcnR5RGVzY3JpcHRvcjtcbiAgfTtcbn1cbiJdfQ==
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export * from './monkeyecx-drag-drop';
|
|
2
|
-
export * from './monkeyecx-format-currency';
|
|
3
|
-
export * from './monkeyecx-format-upper';
|
|
4
|
-
export * from './monkeyecx-only-alpha-numeric-directive';
|
|
5
|
-
export * from './monkeyecx-only-number-directive';
|
|
6
|
-
export * from './monkeyecx-popover-options.directive';
|
|
7
|
-
export * from './monkeyecx-popover.directive';
|
|
8
|
-
export * from './monkeyecx-security-directive';
|
|
9
|
-
export * from './monkeyecx-tooltip-directive';
|
|
10
|
-
export * from './monkeyecx-directives-module';
|
|
11
|
-
export * from './monkeyecx-feature-directive';
|
|
12
|
-
export * from './monkeyecx-feature-by-program-directive';
|
|
1
|
+
export * from './monkeyecx-drag-drop';
|
|
2
|
+
export * from './monkeyecx-format-currency';
|
|
3
|
+
export * from './monkeyecx-format-upper';
|
|
4
|
+
export * from './monkeyecx-only-alpha-numeric-directive';
|
|
5
|
+
export * from './monkeyecx-only-number-directive';
|
|
6
|
+
export * from './monkeyecx-popover-options.directive';
|
|
7
|
+
export * from './monkeyecx-popover.directive';
|
|
8
|
+
export * from './monkeyecx-security-directive';
|
|
9
|
+
export * from './monkeyecx-tooltip-directive';
|
|
10
|
+
export * from './monkeyecx-directives-module';
|
|
11
|
+
export * from './monkeyecx-feature-directive';
|
|
12
|
+
export * from './monkeyecx-feature-by-program-directive';
|
|
13
13
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9tb25rZXktZnJvbnQtY29yZS9zcmMvbGliL2NvcmUvZGlyZWN0aXZlcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHVCQUF1QixDQUFDO0FBQ3RDLGNBQWMsNkJBQTZCLENBQUM7QUFDNUMsY0FBYywwQkFBMEIsQ0FBQztBQUN6QyxjQUFjLDBDQUEwQyxDQUFDO0FBQ3pELGNBQWMsbUNBQW1DLENBQUM7QUFDbEQsY0FBYyx1Q0FBdUMsQ0FBQztBQUN0RCxjQUFjLCtCQUErQixDQUFDO0FBQzlDLGNBQWMsZ0NBQWdDLENBQUM7QUFDL0MsY0FBYywrQkFBK0IsQ0FBQztBQUM5QyxjQUFjLCtCQUErQixDQUFDO0FBQzlDLGNBQWMsK0JBQStCLENBQUM7QUFDOUMsY0FBYywwQ0FBMEMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbW9ua2V5ZWN4LWRyYWctZHJvcCc7XG5leHBvcnQgKiBmcm9tICcuL21vbmtleWVjeC1mb3JtYXQtY3VycmVuY3knO1xuZXhwb3J0ICogZnJvbSAnLi9tb25rZXllY3gtZm9ybWF0LXVwcGVyJztcbmV4cG9ydCAqIGZyb20gJy4vbW9ua2V5ZWN4LW9ubHktYWxwaGEtbnVtZXJpYy1kaXJlY3RpdmUnO1xuZXhwb3J0ICogZnJvbSAnLi9tb25rZXllY3gtb25seS1udW1iZXItZGlyZWN0aXZlJztcbmV4cG9ydCAqIGZyb20gJy4vbW9ua2V5ZWN4LXBvcG92ZXItb3B0aW9ucy5kaXJlY3RpdmUnO1xuZXhwb3J0ICogZnJvbSAnLi9tb25rZXllY3gtcG9wb3Zlci5kaXJlY3RpdmUnO1xuZXhwb3J0ICogZnJvbSAnLi9tb25rZXllY3gtc2VjdXJpdHktZGlyZWN0aXZlJztcbmV4cG9ydCAqIGZyb20gJy4vbW9ua2V5ZWN4LXRvb2x0aXAtZGlyZWN0aXZlJztcbmV4cG9ydCAqIGZyb20gJy4vbW9ua2V5ZWN4LWRpcmVjdGl2ZXMtbW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vbW9ua2V5ZWN4LWZlYXR1cmUtZGlyZWN0aXZlJztcbmV4cG9ydCAqIGZyb20gJy4vbW9ua2V5ZWN4LWZlYXR1cmUtYnktcHJvZ3JhbS1kaXJlY3RpdmUnO1xuIl19
|
|
@@ -1,73 +1,73 @@
|
|
|
1
|
-
import { OverlayModule } from '@angular/cdk/overlay';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { NgModule } from '@angular/core';
|
|
4
|
-
import { MonkeyEcxDragDropDirective } from './monkeyecx-drag-drop';
|
|
5
|
-
import { MonkeyEcxFeatureByProgramDirective } from './monkeyecx-feature-by-program-directive';
|
|
6
|
-
import { MonkeyEcxFeatureDirective } from './monkeyecx-feature-directive';
|
|
7
|
-
import { MonkeyEcxFormatCurrency } from './monkeyecx-format-currency';
|
|
8
|
-
import { MonkeyEcxFormatUpper } from './monkeyecx-format-upper';
|
|
9
|
-
import { MonkeyEcxOnlyAlphaNumericDirective } from './monkeyecx-only-alpha-numeric-directive';
|
|
10
|
-
import { MonkeyEcxOnlyNumbersDirective } from './monkeyecx-only-number-directive';
|
|
11
|
-
import { MonkeyEcxPopoverOptionsDirective } from './monkeyecx-popover-options.directive';
|
|
12
|
-
import { MonkeyEcxPopoverDirective } from './monkeyecx-popover.directive';
|
|
13
|
-
import { MonkeyEcxSecurityDirective } from './monkeyecx-security-directive';
|
|
14
|
-
import { MonkeyEcxTooltipDirective } from './monkeyecx-tooltip-directive';
|
|
15
|
-
import * as i0 from "@angular/core";
|
|
16
|
-
export class MonkeyEcxDirectivesModule {
|
|
17
|
-
}
|
|
18
|
-
MonkeyEcxDirectivesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
19
|
-
MonkeyEcxDirectivesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
20
|
-
MonkeyEcxFormatCurrency,
|
|
21
|
-
MonkeyEcxFeatureDirective,
|
|
22
|
-
MonkeyEcxFeatureByProgramDirective,
|
|
23
|
-
MonkeyEcxFormatUpper,
|
|
24
|
-
MonkeyEcxOnlyAlphaNumericDirective,
|
|
25
|
-
MonkeyEcxOnlyNumbersDirective,
|
|
26
|
-
MonkeyEcxSecurityDirective,
|
|
27
|
-
MonkeyEcxTooltipDirective,
|
|
28
|
-
MonkeyEcxPopoverDirective,
|
|
29
|
-
MonkeyEcxPopoverOptionsDirective], imports: [CommonModule, OverlayModule], exports: [MonkeyEcxDragDropDirective,
|
|
30
|
-
MonkeyEcxFormatCurrency,
|
|
31
|
-
MonkeyEcxFeatureDirective,
|
|
32
|
-
MonkeyEcxFeatureByProgramDirective,
|
|
33
|
-
MonkeyEcxFormatUpper,
|
|
34
|
-
MonkeyEcxOnlyAlphaNumericDirective,
|
|
35
|
-
MonkeyEcxOnlyNumbersDirective,
|
|
36
|
-
MonkeyEcxSecurityDirective,
|
|
37
|
-
MonkeyEcxTooltipDirective,
|
|
38
|
-
MonkeyEcxPopoverDirective,
|
|
39
|
-
MonkeyEcxPopoverOptionsDirective] });
|
|
40
|
-
MonkeyEcxDirectivesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
42
|
-
type: NgModule,
|
|
43
|
-
args: [{
|
|
44
|
-
declarations: [
|
|
45
|
-
MonkeyEcxDragDropDirective,
|
|
46
|
-
MonkeyEcxFormatCurrency,
|
|
47
|
-
MonkeyEcxFeatureDirective,
|
|
48
|
-
MonkeyEcxFeatureByProgramDirective,
|
|
49
|
-
MonkeyEcxFormatUpper,
|
|
50
|
-
MonkeyEcxOnlyAlphaNumericDirective,
|
|
51
|
-
MonkeyEcxOnlyNumbersDirective,
|
|
52
|
-
MonkeyEcxSecurityDirective,
|
|
53
|
-
MonkeyEcxTooltipDirective,
|
|
54
|
-
MonkeyEcxPopoverDirective,
|
|
55
|
-
MonkeyEcxPopoverOptionsDirective
|
|
56
|
-
],
|
|
57
|
-
imports: [CommonModule, OverlayModule],
|
|
58
|
-
exports: [
|
|
59
|
-
MonkeyEcxDragDropDirective,
|
|
60
|
-
MonkeyEcxFormatCurrency,
|
|
61
|
-
MonkeyEcxFeatureDirective,
|
|
62
|
-
MonkeyEcxFeatureByProgramDirective,
|
|
63
|
-
MonkeyEcxFormatUpper,
|
|
64
|
-
MonkeyEcxOnlyAlphaNumericDirective,
|
|
65
|
-
MonkeyEcxOnlyNumbersDirective,
|
|
66
|
-
MonkeyEcxSecurityDirective,
|
|
67
|
-
MonkeyEcxTooltipDirective,
|
|
68
|
-
MonkeyEcxPopoverDirective,
|
|
69
|
-
MonkeyEcxPopoverOptionsDirective
|
|
70
|
-
]
|
|
71
|
-
}]
|
|
72
|
-
}] });
|
|
73
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { OverlayModule } from '@angular/cdk/overlay';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { NgModule } from '@angular/core';
|
|
4
|
+
import { MonkeyEcxDragDropDirective } from './monkeyecx-drag-drop';
|
|
5
|
+
import { MonkeyEcxFeatureByProgramDirective } from './monkeyecx-feature-by-program-directive';
|
|
6
|
+
import { MonkeyEcxFeatureDirective } from './monkeyecx-feature-directive';
|
|
7
|
+
import { MonkeyEcxFormatCurrency } from './monkeyecx-format-currency';
|
|
8
|
+
import { MonkeyEcxFormatUpper } from './monkeyecx-format-upper';
|
|
9
|
+
import { MonkeyEcxOnlyAlphaNumericDirective } from './monkeyecx-only-alpha-numeric-directive';
|
|
10
|
+
import { MonkeyEcxOnlyNumbersDirective } from './monkeyecx-only-number-directive';
|
|
11
|
+
import { MonkeyEcxPopoverOptionsDirective } from './monkeyecx-popover-options.directive';
|
|
12
|
+
import { MonkeyEcxPopoverDirective } from './monkeyecx-popover.directive';
|
|
13
|
+
import { MonkeyEcxSecurityDirective } from './monkeyecx-security-directive';
|
|
14
|
+
import { MonkeyEcxTooltipDirective } from './monkeyecx-tooltip-directive';
|
|
15
|
+
import * as i0 from "@angular/core";
|
|
16
|
+
export class MonkeyEcxDirectivesModule {
|
|
17
|
+
}
|
|
18
|
+
MonkeyEcxDirectivesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxDirectivesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
19
|
+
MonkeyEcxDirectivesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxDirectivesModule, declarations: [MonkeyEcxDragDropDirective,
|
|
20
|
+
MonkeyEcxFormatCurrency,
|
|
21
|
+
MonkeyEcxFeatureDirective,
|
|
22
|
+
MonkeyEcxFeatureByProgramDirective,
|
|
23
|
+
MonkeyEcxFormatUpper,
|
|
24
|
+
MonkeyEcxOnlyAlphaNumericDirective,
|
|
25
|
+
MonkeyEcxOnlyNumbersDirective,
|
|
26
|
+
MonkeyEcxSecurityDirective,
|
|
27
|
+
MonkeyEcxTooltipDirective,
|
|
28
|
+
MonkeyEcxPopoverDirective,
|
|
29
|
+
MonkeyEcxPopoverOptionsDirective], imports: [CommonModule, OverlayModule], exports: [MonkeyEcxDragDropDirective,
|
|
30
|
+
MonkeyEcxFormatCurrency,
|
|
31
|
+
MonkeyEcxFeatureDirective,
|
|
32
|
+
MonkeyEcxFeatureByProgramDirective,
|
|
33
|
+
MonkeyEcxFormatUpper,
|
|
34
|
+
MonkeyEcxOnlyAlphaNumericDirective,
|
|
35
|
+
MonkeyEcxOnlyNumbersDirective,
|
|
36
|
+
MonkeyEcxSecurityDirective,
|
|
37
|
+
MonkeyEcxTooltipDirective,
|
|
38
|
+
MonkeyEcxPopoverDirective,
|
|
39
|
+
MonkeyEcxPopoverOptionsDirective] });
|
|
40
|
+
MonkeyEcxDirectivesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxDirectivesModule, imports: [[CommonModule, OverlayModule]] });
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxDirectivesModule, decorators: [{
|
|
42
|
+
type: NgModule,
|
|
43
|
+
args: [{
|
|
44
|
+
declarations: [
|
|
45
|
+
MonkeyEcxDragDropDirective,
|
|
46
|
+
MonkeyEcxFormatCurrency,
|
|
47
|
+
MonkeyEcxFeatureDirective,
|
|
48
|
+
MonkeyEcxFeatureByProgramDirective,
|
|
49
|
+
MonkeyEcxFormatUpper,
|
|
50
|
+
MonkeyEcxOnlyAlphaNumericDirective,
|
|
51
|
+
MonkeyEcxOnlyNumbersDirective,
|
|
52
|
+
MonkeyEcxSecurityDirective,
|
|
53
|
+
MonkeyEcxTooltipDirective,
|
|
54
|
+
MonkeyEcxPopoverDirective,
|
|
55
|
+
MonkeyEcxPopoverOptionsDirective
|
|
56
|
+
],
|
|
57
|
+
imports: [CommonModule, OverlayModule],
|
|
58
|
+
exports: [
|
|
59
|
+
MonkeyEcxDragDropDirective,
|
|
60
|
+
MonkeyEcxFormatCurrency,
|
|
61
|
+
MonkeyEcxFeatureDirective,
|
|
62
|
+
MonkeyEcxFeatureByProgramDirective,
|
|
63
|
+
MonkeyEcxFormatUpper,
|
|
64
|
+
MonkeyEcxOnlyAlphaNumericDirective,
|
|
65
|
+
MonkeyEcxOnlyNumbersDirective,
|
|
66
|
+
MonkeyEcxSecurityDirective,
|
|
67
|
+
MonkeyEcxTooltipDirective,
|
|
68
|
+
MonkeyEcxPopoverDirective,
|
|
69
|
+
MonkeyEcxPopoverOptionsDirective
|
|
70
|
+
]
|
|
71
|
+
}]
|
|
72
|
+
}] });
|
|
73
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9ua2V5ZWN4LWRpcmVjdGl2ZXMtbW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbW9ua2V5LWZyb250LWNvcmUvc3JjL2xpYi9jb3JlL2RpcmVjdGl2ZXMvbW9ua2V5ZWN4LWRpcmVjdGl2ZXMtbW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQztBQUNyRCxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsMEJBQTBCLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQUNuRSxPQUFPLEVBQ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G9wb3Zlck9wdGlvbnNEaXJlY3RpdmVcbiAgXVxufSlcbmV4cG9ydCBjbGFzcyBNb25rZXlFY3hEaXJlY3RpdmVzTW9kdWxlIHt9XG4iXX0=
|
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
import { Directive, HostListener, Output, HostBinding, EventEmitter } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class MonkeyEcxDragDropDirective {
|
|
4
|
-
constructor() {
|
|
5
|
-
this.onFileDropped = new EventEmitter();
|
|
6
|
-
this.background = '#f5fcff';
|
|
7
|
-
this.opacity = '1';
|
|
8
|
-
}
|
|
9
|
-
onDragOver(evt) {
|
|
10
|
-
evt?.preventDefault();
|
|
11
|
-
evt?.stopPropagation();
|
|
12
|
-
this.background = '#9ecbec';
|
|
13
|
-
this.opacity = '0.8';
|
|
14
|
-
}
|
|
15
|
-
onDragLeave(evt) {
|
|
16
|
-
evt?.preventDefault();
|
|
17
|
-
evt?.stopPropagation();
|
|
18
|
-
this.background = '#f5fcff';
|
|
19
|
-
this.opacity = '1';
|
|
20
|
-
}
|
|
21
|
-
ondrop(evt) {
|
|
22
|
-
evt?.preventDefault();
|
|
23
|
-
evt?.stopPropagation();
|
|
24
|
-
this.background = '#f5fcff';
|
|
25
|
-
this.opacity = '1';
|
|
26
|
-
const { files } = evt?.dataTransfer;
|
|
27
|
-
if (files.length > 0) {
|
|
28
|
-
this.onFileDropped.emit(files);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
MonkeyEcxDragDropDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
33
|
-
MonkeyEcxDragDropDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
34
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
35
|
-
type: Directive,
|
|
36
|
-
args: [{
|
|
37
|
-
selector: '[monkeyecxDragDrop]',
|
|
38
|
-
}]
|
|
39
|
-
}], propDecorators: { onFileDropped: [{
|
|
40
|
-
type: Output
|
|
41
|
-
}], background: [{
|
|
42
|
-
type: HostBinding,
|
|
43
|
-
args: ['style.background-color']
|
|
44
|
-
}], opacity: [{
|
|
45
|
-
type: HostBinding,
|
|
46
|
-
args: ['style.opacity']
|
|
47
|
-
}], onDragOver: [{
|
|
48
|
-
type: HostListener,
|
|
49
|
-
args: ['dragover', ['$event']]
|
|
50
|
-
}], onDragLeave: [{
|
|
51
|
-
type: HostListener,
|
|
52
|
-
args: ['dragleave', ['$event']]
|
|
53
|
-
}], ondrop: [{
|
|
54
|
-
type: HostListener,
|
|
55
|
-
args: ['drop', ['$event']]
|
|
56
|
-
}] } });
|
|
57
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Directive, HostListener, Output, HostBinding, EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class MonkeyEcxDragDropDirective {
|
|
4
|
+
constructor() {
|
|
5
|
+
this.onFileDropped = new EventEmitter();
|
|
6
|
+
this.background = '#f5fcff';
|
|
7
|
+
this.opacity = '1';
|
|
8
|
+
}
|
|
9
|
+
onDragOver(evt) {
|
|
10
|
+
evt?.preventDefault();
|
|
11
|
+
evt?.stopPropagation();
|
|
12
|
+
this.background = '#9ecbec';
|
|
13
|
+
this.opacity = '0.8';
|
|
14
|
+
}
|
|
15
|
+
onDragLeave(evt) {
|
|
16
|
+
evt?.preventDefault();
|
|
17
|
+
evt?.stopPropagation();
|
|
18
|
+
this.background = '#f5fcff';
|
|
19
|
+
this.opacity = '1';
|
|
20
|
+
}
|
|
21
|
+
ondrop(evt) {
|
|
22
|
+
evt?.preventDefault();
|
|
23
|
+
evt?.stopPropagation();
|
|
24
|
+
this.background = '#f5fcff';
|
|
25
|
+
this.opacity = '1';
|
|
26
|
+
const { files } = evt?.dataTransfer;
|
|
27
|
+
if (files.length > 0) {
|
|
28
|
+
this.onFileDropped.emit(files);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
MonkeyEcxDragDropDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxDragDropDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
33
|
+
MonkeyEcxDragDropDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.1", type: MonkeyEcxDragDropDirective, selector: "[monkeyecxDragDrop]", outputs: { onFileDropped: "onFileDropped" }, host: { listeners: { "dragover": "onDragOver($event)", "dragleave": "onDragLeave($event)", "drop": "ondrop($event)" }, properties: { "style.background-color": "this.background", "style.opacity": "this.opacity" } }, ngImport: i0 });
|
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxDragDropDirective, decorators: [{
|
|
35
|
+
type: Directive,
|
|
36
|
+
args: [{
|
|
37
|
+
selector: '[monkeyecxDragDrop]',
|
|
38
|
+
}]
|
|
39
|
+
}], propDecorators: { onFileDropped: [{
|
|
40
|
+
type: Output
|
|
41
|
+
}], background: [{
|
|
42
|
+
type: HostBinding,
|
|
43
|
+
args: ['style.background-color']
|
|
44
|
+
}], opacity: [{
|
|
45
|
+
type: HostBinding,
|
|
46
|
+
args: ['style.opacity']
|
|
47
|
+
}], onDragOver: [{
|
|
48
|
+
type: HostListener,
|
|
49
|
+
args: ['dragover', ['$event']]
|
|
50
|
+
}], onDragLeave: [{
|
|
51
|
+
type: HostListener,
|
|
52
|
+
args: ['dragleave', ['$event']]
|
|
53
|
+
}], ondrop: [{
|
|
54
|
+
type: HostListener,
|
|
55
|
+
args: ['drop', ['$event']]
|
|
56
|
+
}] } });
|
|
57
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9ua2V5ZWN4LWRyYWctZHJvcC5qcyIsInNvdXJjZV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xlcy5sZW5ndGggPiAwKSB7XG4gICAgICB0aGlzLm9uRmlsZURyb3BwZWQuZW1pdChmaWxlcyk7XG4gICAgfVxuICB9XG59XG4iXX0=
|
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
import { Directive, Input } from '@angular/core';
|
|
2
|
-
import { MonkeyEcxUtils } from '../utils/utils';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../services";
|
|
5
|
-
export class MonkeyEcxFeatureByProgramDirective {
|
|
6
|
-
constructor(cdr, elementRef, monkeyConfigService) {
|
|
7
|
-
this.cdr = cdr;
|
|
8
|
-
this.elementRef = elementRef;
|
|
9
|
-
this.monkeyConfigService = monkeyConfigService;
|
|
10
|
-
this.feature = '';
|
|
11
|
-
this.monkeyConfigService.config().subscribe((_) => {
|
|
12
|
-
this.config = _;
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
handleDisplay() {
|
|
16
|
-
const { feature, config } = this;
|
|
17
|
-
let display = 'none';
|
|
18
|
-
if (!MonkeyEcxUtils.persistNullEmptyUndefined(feature) ||
|
|
19
|
-
!MonkeyEcxUtils.persistNullEmptyUndefined(config?.program?.settings)) {
|
|
20
|
-
return;
|
|
21
|
-
}
|
|
22
|
-
const disabled = config?.program?.settings?.[feature];
|
|
23
|
-
if (!disabled) {
|
|
24
|
-
display = 'block';
|
|
25
|
-
}
|
|
26
|
-
this.elementRef.nativeElement.style.display = display;
|
|
27
|
-
if (display === 'none') {
|
|
28
|
-
this.elementRef.nativeElement.remove();
|
|
29
|
-
}
|
|
30
|
-
this.cdr.detectChanges();
|
|
31
|
-
}
|
|
32
|
-
ngOnInit() {
|
|
33
|
-
if (!this.feature)
|
|
34
|
-
return;
|
|
35
|
-
this.cdr.detectChanges();
|
|
36
|
-
this.handleDisplay();
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
MonkeyEcxFeatureByProgramDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
40
|
-
MonkeyEcxFeatureByProgramDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
42
|
-
type: Directive,
|
|
43
|
-
args: [{
|
|
44
|
-
selector: '[monkeyecxFeatureByProgram]'
|
|
45
|
-
}]
|
|
46
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i1.MonkeyEcxConfigService }]; }, propDecorators: { feature: [{
|
|
47
|
-
type: Input,
|
|
48
|
-
args: ['feature']
|
|
49
|
-
}] } });
|
|
50
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Directive, Input } from '@angular/core';
|
|
2
|
+
import { MonkeyEcxUtils } from '../utils/utils';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "../services";
|
|
5
|
+
export class MonkeyEcxFeatureByProgramDirective {
|
|
6
|
+
constructor(cdr, elementRef, monkeyConfigService) {
|
|
7
|
+
this.cdr = cdr;
|
|
8
|
+
this.elementRef = elementRef;
|
|
9
|
+
this.monkeyConfigService = monkeyConfigService;
|
|
10
|
+
this.feature = '';
|
|
11
|
+
this.monkeyConfigService.config().subscribe((_) => {
|
|
12
|
+
this.config = _;
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
handleDisplay() {
|
|
16
|
+
const { feature, config } = this;
|
|
17
|
+
let display = 'none';
|
|
18
|
+
if (!MonkeyEcxUtils.persistNullEmptyUndefined(feature) ||
|
|
19
|
+
!MonkeyEcxUtils.persistNullEmptyUndefined(config?.program?.settings)) {
|
|
20
|
+
return;
|
|
21
|
+
}
|
|
22
|
+
const disabled = config?.program?.settings?.[feature];
|
|
23
|
+
if (!disabled) {
|
|
24
|
+
display = 'block';
|
|
25
|
+
}
|
|
26
|
+
this.elementRef.nativeElement.style.display = display;
|
|
27
|
+
if (display === 'none') {
|
|
28
|
+
this.elementRef.nativeElement.remove();
|
|
29
|
+
}
|
|
30
|
+
this.cdr.detectChanges();
|
|
31
|
+
}
|
|
32
|
+
ngOnInit() {
|
|
33
|
+
if (!this.feature)
|
|
34
|
+
return;
|
|
35
|
+
this.cdr.detectChanges();
|
|
36
|
+
this.handleDisplay();
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
MonkeyEcxFeatureByProgramDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFeatureByProgramDirective, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i1.MonkeyEcxConfigService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
40
|
+
MonkeyEcxFeatureByProgramDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.1", type: MonkeyEcxFeatureByProgramDirective, selector: "[monkeyecxFeatureByProgram]", inputs: { feature: "feature" }, ngImport: i0 });
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFeatureByProgramDirective, decorators: [{
|
|
42
|
+
type: Directive,
|
|
43
|
+
args: [{
|
|
44
|
+
selector: '[monkeyecxFeatureByProgram]'
|
|
45
|
+
}]
|
|
46
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i1.MonkeyEcxConfigService }]; }, propDecorators: { feature: [{
|
|
47
|
+
type: Input,
|
|
48
|
+
args: ['feature']
|
|
49
|
+
}] } });
|
|
50
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9ua2V5ZWN4LWZlYXR1cmUtYnktcHJvZ3JhbS1kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9tb25rZXktZnJvbnQtY29yZS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