monkey-front-core 0.0.455 → 0.0.457
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -24
- package/esm2020/lib/components/alerts/alerts.component.mjs +45 -45
- package/esm2020/lib/components/alerts/alerts.module.mjs +21 -21
- package/esm2020/lib/components/alerts/index.mjs +3 -3
- package/esm2020/lib/components/closed-to-maintenance/closed-to-maintenance.component.mjs +29 -29
- package/esm2020/lib/components/closed-to-maintenance/closed-to-maintenance.module.mjs +43 -43
- package/esm2020/lib/components/closed-to-maintenance/index.mjs +3 -3
- package/esm2020/lib/components/currency-config/currency-config.component.mjs +39 -39
- package/esm2020/lib/components/currency-config/currency-config.module.mjs +39 -39
- package/esm2020/lib/components/currency-config/index.mjs +3 -3
- package/esm2020/lib/components/index.mjs +6 -6
- package/esm2020/lib/components/progress-bar/index.mjs +4 -4
- package/esm2020/lib/components/progress-bar/progress-bar.component.mjs +23 -23
- package/esm2020/lib/components/progress-bar/progress-bar.module.mjs +18 -18
- package/esm2020/lib/components/progress-bar/progress-bar.service.mjs +50 -50
- package/esm2020/lib/components/version-changed/index.mjs +3 -3
- package/esm2020/lib/components/version-changed/version-changed.component.mjs +24 -24
- package/esm2020/lib/components/version-changed/version-changed.module.mjs +39 -39
- package/esm2020/lib/core/decorators/index.mjs +5 -5
- package/esm2020/lib/core/decorators/monkeyecx-charts-decorators.mjs +40 -40
- package/esm2020/lib/core/decorators/monkeyecx-decorators.mjs +111 -111
- package/esm2020/lib/core/decorators/monkeyecx-download-decorators.mjs +26 -26
- package/esm2020/lib/core/decorators/monkeyecx-upload-decorators.mjs +26 -26
- package/esm2020/lib/core/directives/index.mjs +13 -13
- package/esm2020/lib/core/directives/monkeyecx-directives-module.mjs +73 -73
- package/esm2020/lib/core/directives/monkeyecx-drag-drop.mjs +57 -57
- package/esm2020/lib/core/directives/monkeyecx-feature-by-program-directive.mjs +54 -54
- package/esm2020/lib/core/directives/monkeyecx-feature-directive.mjs +68 -68
- package/esm2020/lib/core/directives/monkeyecx-format-currency.mjs +44 -44
- package/esm2020/lib/core/directives/monkeyecx-format-upper.mjs +67 -67
- package/esm2020/lib/core/directives/monkeyecx-only-alpha-numeric-directive.mjs +28 -28
- package/esm2020/lib/core/directives/monkeyecx-only-number-directive.mjs +28 -28
- package/esm2020/lib/core/directives/monkeyecx-popover-options.directive.mjs +39 -39
- package/esm2020/lib/core/directives/monkeyecx-popover.directive.mjs +212 -212
- package/esm2020/lib/core/directives/monkeyecx-security-directive.mjs +75 -75
- package/esm2020/lib/core/directives/monkeyecx-tooltip-directive.mjs +123 -123
- package/esm2020/lib/core/index.mjs +10 -10
- package/esm2020/lib/core/interceptors/index.mjs +6 -6
- package/esm2020/lib/core/interceptors/monkeyecx-http-config-error.interceptor.mjs +49 -49
- package/esm2020/lib/core/interceptors/monkeyecx-http-config-header.interceptor.mjs +59 -59
- package/esm2020/lib/core/interceptors/monkeyecx-http-config-interceptor.module.mjs +47 -47
- package/esm2020/lib/core/interceptors/monkeyecx-http-config-loading-in-progress.interceptor.mjs +43 -43
- package/esm2020/lib/core/interceptors/monkeyecx-http-config-queue.interceptor.mjs +37 -37
- package/esm2020/lib/core/interfaces/index.mjs +35 -35
- package/esm2020/lib/core/interfaces/monkeyecx-auth-credentials.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-company-pendencies.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-company.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-config-bootstrap.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-config.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-country-security.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-error-response.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-filter.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-handled-error-response.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-header-credentials.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-intercom-options.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-interface.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-me-credentials.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-navigation.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-pagination.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-program.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-releases.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-request-in-progress.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-request-paged.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-resolver.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-response-links.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-response-paged.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-saved-state.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-scroll-options.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-service-credentials.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-storage.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-store.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-support-options.mjs +2 -2
- package/esm2020/lib/core/interfaces/monkeyecx-token-credentials.mjs +1 -1
- package/esm2020/lib/core/interfaces/monkeyecx-translate-options.mjs +2 -2
- package/esm2020/lib/core/interfaces/request-download/index.mjs +4 -4
- package/esm2020/lib/core/interfaces/request-download/monkeyecx-request-download.mjs +2 -2
- package/esm2020/lib/core/interfaces/request-download/monkeyecx-request-downloaded.mjs +2 -2
- package/esm2020/lib/core/interfaces/request-download/monkeyecx-request-item-download.mjs +2 -2
- package/esm2020/lib/core/interfaces/request-queue/index.mjs +4 -4
- package/esm2020/lib/core/interfaces/request-queue/monkeyecx-request-item-queue.mjs +2 -2
- package/esm2020/lib/core/interfaces/request-queue/monkeyecx-request-progress-queue.mjs +2 -2
- package/esm2020/lib/core/interfaces/request-queue/monkeyecx-request-queue.mjs +2 -2
- package/esm2020/lib/core/interfaces/request-upload/index.mjs +3 -3
- package/esm2020/lib/core/interfaces/request-upload/monkeyecx-request-item-upload.mjs +2 -2
- package/esm2020/lib/core/interfaces/request-upload/monkeyecx-request-upload.mjs +2 -2
- package/esm2020/lib/core/interfaces/schedules/index.mjs +2 -2
- package/esm2020/lib/core/interfaces/schedules/monkeyecx-request-schedule.mjs +2 -2
- package/esm2020/lib/core/model/index.mjs +3 -3
- package/esm2020/lib/core/model/monkeyecx-links.model.mjs +8 -8
- package/esm2020/lib/core/model/monkeyecx-model.mjs +25 -25
- package/esm2020/lib/core/pipes/index.mjs +22 -22
- package/esm2020/lib/core/pipes/monkeyecx-blob-secure.mjs +26 -26
- package/esm2020/lib/core/pipes/monkeyecx-display-first-name.mjs +19 -19
- package/esm2020/lib/core/pipes/monkeyecx-display-initials.mjs +21 -21
- package/esm2020/lib/core/pipes/monkeyecx-display-support-phone.mjs +33 -33
- package/esm2020/lib/core/pipes/monkeyecx-format-address.mjs +20 -20
- package/esm2020/lib/core/pipes/monkeyecx-format-beautify-json.mjs +38 -38
- package/esm2020/lib/core/pipes/monkeyecx-format-currency.mjs +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 +20 -20
- package/esm2020/lib/core/pipes/monkeyecx-format-number.mjs +20 -20
- package/esm2020/lib/core/pipes/monkeyecx-format-phone.mjs +42 -42
- package/esm2020/lib/core/pipes/monkeyecx-format-size.mjs +20 -20
- package/esm2020/lib/core/pipes/monkeyecx-format-tax.mjs +23 -23
- package/esm2020/lib/core/pipes/monkeyecx-format-type-document.mjs +19 -19
- package/esm2020/lib/core/pipes/monkeyecx-format-value.mjs +19 -19
- package/esm2020/lib/core/pipes/monkeyecx-format-zipcode.mjs +19 -19
- package/esm2020/lib/core/pipes/monkeyecx-pipes.module.mjs +117 -117
- package/esm2020/lib/core/pipes/monkeyecx-text-truncate.mjs +23 -23
- package/esm2020/lib/core/pipes/monkeyecx-truncate-qtd.mjs +16 -16
- package/esm2020/lib/core/services/alerts/index.mjs +2 -2
- package/esm2020/lib/core/services/alerts/monkeyecx-alerts.service.mjs +42 -42
- package/esm2020/lib/core/services/auth/index.mjs +6 -6
- package/esm2020/lib/core/services/auth/monkeyecx-auth-guard-company.service.mjs +28 -28
- package/esm2020/lib/core/services/auth/monkeyecx-auth-guard-login.service.mjs +27 -27
- package/esm2020/lib/core/services/auth/monkeyecx-auth-guard-role.service.mjs +79 -79
- package/esm2020/lib/core/services/auth/monkeyecx-auth-guard.service.mjs +26 -26
- package/esm2020/lib/core/services/auth/monkeyecx-authentication.service.mjs +79 -79
- package/esm2020/lib/core/services/commons/index.mjs +3 -3
- package/esm2020/lib/core/services/commons/monkeyecx-commons-resolve.service.mjs +121 -122
- package/esm2020/lib/core/services/commons/monkeyecx-commons.service.mjs +362 -362
- package/esm2020/lib/core/services/config/monkeyecx-alerts-config.service.mjs +42 -42
- package/esm2020/lib/core/services/config/monkeyecx-config.module.mjs +28 -28
- package/esm2020/lib/core/services/config/monkeyecx-config.service.mjs +107 -107
- package/esm2020/lib/core/services/config/monkeyecx-currency-config.service.mjs +84 -84
- package/esm2020/lib/core/services/config/monkeyecx-error-config.service.mjs +85 -85
- package/esm2020/lib/core/services/config/monkeyecx-feature-toggle.service.mjs +76 -76
- package/esm2020/lib/core/services/config/monkeyecx-gtm-config.service.mjs +50 -50
- package/esm2020/lib/core/services/config/monkeyecx-i18n-config.service.mjs +152 -152
- package/esm2020/lib/core/services/config/monkeyecx-logs-config.service.mjs +34 -34
- package/esm2020/lib/core/services/config/monkeyecx-maintenance-config.service.mjs +37 -37
- package/esm2020/lib/core/services/config/monkeyecx-security-console-config.service.mjs +47 -47
- package/esm2020/lib/core/services/config/monkeyecx-service-worker-config.service.mjs +53 -53
- package/esm2020/lib/core/services/error/index.mjs +5 -5
- package/esm2020/lib/core/services/error/monkeyecx-error-handling.module.mjs +27 -27
- package/esm2020/lib/core/services/error/monkeyecx-error-handling.service.mjs +37 -37
- package/esm2020/lib/core/services/error/monkeyecx-http-error-handling.service.mjs +138 -138
- package/esm2020/lib/core/services/error/monkeyecx-others-errors-handling.service.mjs +29 -29
- package/esm2020/lib/core/services/index.mjs +26 -26
- package/esm2020/lib/core/services/logged/index.mjs +2 -2
- package/esm2020/lib/core/services/logged/monkeyecx-logged-handling.service.mjs +40 -40
- package/esm2020/lib/core/services/monkeyecx-handling.service.mjs +50 -50
- package/esm2020/lib/core/services/monkeyecx-service.service.mjs +104 -104
- package/esm2020/lib/core/services/pagination/index.mjs +2 -2
- package/esm2020/lib/core/services/pagination/monkeyecx-pagination.service.mjs +29 -29
- package/esm2020/lib/core/services/request-download/index.mjs +3 -3
- package/esm2020/lib/core/services/request-download/monkeyecx-request-download-handling.service.mjs +93 -93
- package/esm2020/lib/core/services/request-download/monkeyecx-request-downloaded-handling.service.mjs +61 -61
- package/esm2020/lib/core/services/request-paged/index.mjs +2 -2
- package/esm2020/lib/core/services/request-paged/monkeyecx-request-request-paged-handling.mjs +42 -42
- package/esm2020/lib/core/services/request-queue/index.mjs +3 -3
- package/esm2020/lib/core/services/request-queue/monkeyecx-request-queue-handling.service.mjs +114 -114
- package/esm2020/lib/core/services/request-queue/monkeyecx-request-queue-modal-handling.service.mjs +119 -119
- package/esm2020/lib/core/services/routes/index.mjs +2 -2
- package/esm2020/lib/core/services/routes/monkeyecx-dicovery-params.service.mjs +54 -54
- package/esm2020/lib/core/services/schedules/index.mjs +2 -2
- package/esm2020/lib/core/services/schedules/monkeyecx-request-schedule.service.mjs +188 -188
- package/esm2020/lib/core/services/storage/index.mjs +3 -3
- package/esm2020/lib/core/services/storage/monkeyecx-cookie-storage.service.mjs +32 -32
- package/esm2020/lib/core/services/storage/monkeyecx-token-storage.service.mjs +236 -236
- package/esm2020/lib/core/services/store/index.mjs +2 -2
- package/esm2020/lib/core/services/store/monkeyecx-store.service.mjs +189 -189
- package/esm2020/lib/core/specification-search/index.mjs +2 -2
- package/esm2020/lib/core/specification-search/monkeyecx-specification-search.mjs +108 -108
- package/esm2020/lib/core/utils/decorators-utils.mjs +40 -40
- package/esm2020/lib/core/utils/index.mjs +8 -8
- package/esm2020/lib/core/utils/statics.mjs +45 -45
- package/esm2020/lib/core/utils/utils.mjs +267 -267
- package/esm2020/lib/core/utils/validate-utils.mjs +205 -205
- package/esm2020/lib/core/utils/validators.mjs +268 -268
- package/esm2020/lib/monkey-front-core.module.mjs +71 -71
- package/esm2020/lib/store/actions/index.mjs +2 -2
- package/esm2020/lib/store/actions/monkeyecx-storage.actions.mjs +8 -8
- package/esm2020/lib/store/index.mjs +4 -4
- package/esm2020/lib/store/reducers/index.mjs +3 -3
- package/esm2020/lib/store/reducers/monkeyecx-seeder.reducer.mjs +53 -53
- package/esm2020/lib/store/reducers/monkeyecx-storage.reducer.mjs +40 -40
- package/esm2020/lib/store/selectors/index.mjs +2 -2
- package/esm2020/lib/store/selectors/monkeyecx-storage.selector.mjs +17 -17
- package/esm2020/monkey-front-core.mjs +4 -4
- package/esm2020/public-api.mjs +8 -8
- package/fesm2015/monkey-front-core.mjs +5859 -5860
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +5921 -5922
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/lib/components/alerts/alerts.component.d.ts +22 -22
- package/lib/components/alerts/alerts.module.d.ts +10 -10
- package/lib/components/alerts/index.d.ts +2 -2
- package/lib/components/closed-to-maintenance/closed-to-maintenance.component.d.ts +13 -13
- package/lib/components/closed-to-maintenance/closed-to-maintenance.module.d.ts +11 -11
- package/lib/components/closed-to-maintenance/index.d.ts +2 -2
- package/lib/components/currency-config/currency-config.component.d.ts +17 -17
- package/lib/components/currency-config/currency-config.module.d.ts +10 -10
- package/lib/components/currency-config/index.d.ts +2 -2
- package/lib/components/index.d.ts +5 -5
- package/lib/components/progress-bar/index.d.ts +3 -3
- package/lib/components/progress-bar/progress-bar.component.d.ts +11 -11
- package/lib/components/progress-bar/progress-bar.module.d.ts +8 -8
- package/lib/components/progress-bar/progress-bar.service.d.ts +14 -14
- package/lib/components/version-changed/index.d.ts +2 -2
- package/lib/components/version-changed/version-changed.component.d.ts +9 -9
- package/lib/components/version-changed/version-changed.module.d.ts +10 -10
- package/lib/core/decorators/index.d.ts +4 -4
- package/lib/core/decorators/monkeyecx-charts-decorators.d.ts +1 -1
- package/lib/core/decorators/monkeyecx-decorators.d.ts +7 -7
- package/lib/core/decorators/monkeyecx-download-decorators.d.ts +2 -2
- package/lib/core/decorators/monkeyecx-upload-decorators.d.ts +2 -2
- package/lib/core/directives/index.d.ts +12 -12
- package/lib/core/directives/monkeyecx-directives-module.d.ts +19 -19
- package/lib/core/directives/monkeyecx-drag-drop.d.ts +12 -12
- package/lib/core/directives/monkeyecx-feature-by-program-directive.d.ts +16 -16
- package/lib/core/directives/monkeyecx-feature-directive.d.ts +17 -17
- package/lib/core/directives/monkeyecx-format-currency.d.ts +16 -16
- package/lib/core/directives/monkeyecx-format-upper.d.ts +18 -18
- package/lib/core/directives/monkeyecx-only-alpha-numeric-directive.d.ts +9 -9
- package/lib/core/directives/monkeyecx-only-number-directive.d.ts +9 -9
- package/lib/core/directives/monkeyecx-popover-options.directive.d.ts +19 -19
- package/lib/core/directives/monkeyecx-popover.directive.d.ts +43 -43
- package/lib/core/directives/monkeyecx-security-directive.d.ts +18 -18
- package/lib/core/directives/monkeyecx-tooltip-directive.d.ts +23 -23
- package/lib/core/index.d.ts +9 -9
- package/lib/core/interceptors/index.d.ts +5 -5
- package/lib/core/interceptors/monkeyecx-http-config-error.interceptor.d.ts +18 -18
- package/lib/core/interceptors/monkeyecx-http-config-header.interceptor.d.ts +16 -16
- package/lib/core/interceptors/monkeyecx-http-config-interceptor.module.d.ts +9 -9
- package/lib/core/interceptors/monkeyecx-http-config-loading-in-progress.interceptor.d.ts +12 -12
- package/lib/core/interceptors/monkeyecx-http-config-queue.interceptor.d.ts +14 -14
- package/lib/core/interfaces/index.d.ts +34 -34
- package/lib/core/interfaces/monkeyecx-auth-credentials.d.ts +15 -15
- package/lib/core/interfaces/monkeyecx-company-pendencies.d.ts +14 -14
- package/lib/core/interfaces/monkeyecx-company.d.ts +10 -10
- package/lib/core/interfaces/monkeyecx-config-bootstrap.d.ts +14 -14
- package/lib/core/interfaces/monkeyecx-config.d.ts +132 -132
- package/lib/core/interfaces/monkeyecx-country-security.d.ts +4 -4
- package/lib/core/interfaces/monkeyecx-error-response.d.ts +5 -5
- package/lib/core/interfaces/monkeyecx-filter.d.ts +42 -42
- package/lib/core/interfaces/monkeyecx-handled-error-response.d.ts +10 -10
- package/lib/core/interfaces/monkeyecx-header-credentials.d.ts +4 -4
- package/lib/core/interfaces/monkeyecx-intercom-options.d.ts +4 -4
- package/lib/core/interfaces/monkeyecx-interface.d.ts +11 -11
- package/lib/core/interfaces/monkeyecx-me-credentials.d.ts +22 -22
- package/lib/core/interfaces/monkeyecx-navigation.d.ts +27 -27
- package/lib/core/interfaces/monkeyecx-pagination.d.ts +25 -25
- package/lib/core/interfaces/monkeyecx-program.d.ts +10 -10
- package/lib/core/interfaces/monkeyecx-releases.d.ts +9 -9
- package/lib/core/interfaces/monkeyecx-request-in-progress.d.ts +3 -3
- package/lib/core/interfaces/monkeyecx-request-paged.d.ts +23 -23
- package/lib/core/interfaces/monkeyecx-resolver.d.ts +39 -39
- package/lib/core/interfaces/monkeyecx-response-links.d.ts +11 -11
- package/lib/core/interfaces/monkeyecx-response-paged.d.ts +6 -6
- package/lib/core/interfaces/monkeyecx-saved-state.d.ts +5 -5
- package/lib/core/interfaces/monkeyecx-scroll-options.d.ts +5 -5
- package/lib/core/interfaces/monkeyecx-service-credentials.d.ts +12 -12
- package/lib/core/interfaces/monkeyecx-storage.d.ts +38 -38
- package/lib/core/interfaces/monkeyecx-store.d.ts +31 -31
- package/lib/core/interfaces/monkeyecx-support-options.d.ts +4 -4
- package/lib/core/interfaces/monkeyecx-token-credentials.d.ts +21 -21
- package/lib/core/interfaces/monkeyecx-translate-options.d.ts +4 -4
- package/lib/core/interfaces/request-download/index.d.ts +3 -3
- package/lib/core/interfaces/request-download/monkeyecx-request-download.d.ts +10 -10
- package/lib/core/interfaces/request-download/monkeyecx-request-downloaded.d.ts +7 -7
- package/lib/core/interfaces/request-download/monkeyecx-request-item-download.d.ts +7 -7
- package/lib/core/interfaces/request-queue/index.d.ts +3 -3
- package/lib/core/interfaces/request-queue/monkeyecx-request-item-queue.d.ts +7 -7
- package/lib/core/interfaces/request-queue/monkeyecx-request-progress-queue.d.ts +6 -6
- package/lib/core/interfaces/request-queue/monkeyecx-request-queue.d.ts +8 -8
- package/lib/core/interfaces/request-upload/index.d.ts +2 -2
- package/lib/core/interfaces/request-upload/monkeyecx-request-item-upload.d.ts +5 -5
- package/lib/core/interfaces/request-upload/monkeyecx-request-upload.d.ts +10 -10
- package/lib/core/interfaces/schedules/index.d.ts +1 -1
- package/lib/core/interfaces/schedules/monkeyecx-request-schedule.d.ts +13 -13
- package/lib/core/model/index.d.ts +2 -2
- package/lib/core/model/monkeyecx-links.model.d.ts +4 -4
- package/lib/core/model/monkeyecx-model.d.ts +13 -13
- package/lib/core/pipes/index.d.ts +21 -21
- package/lib/core/pipes/monkeyecx-blob-secure.d.ts +13 -13
- package/lib/core/pipes/monkeyecx-display-first-name.d.ts +7 -7
- package/lib/core/pipes/monkeyecx-display-initials.d.ts +7 -7
- package/lib/core/pipes/monkeyecx-display-support-phone.d.ts +18 -18
- package/lib/core/pipes/monkeyecx-format-address.d.ts +14 -14
- package/lib/core/pipes/monkeyecx-format-beautify-json.d.ts +8 -8
- package/lib/core/pipes/monkeyecx-format-currency.d.ts +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 +26 -26
- package/lib/core/pipes/monkeyecx-text-truncate.d.ts +7 -7
- package/lib/core/pipes/monkeyecx-truncate-qtd.d.ts +7 -7
- package/lib/core/services/alerts/index.d.ts +1 -1
- package/lib/core/services/alerts/monkeyecx-alerts.service.d.ts +21 -21
- package/lib/core/services/auth/index.d.ts +5 -5
- package/lib/core/services/auth/monkeyecx-auth-guard-company.service.d.ts +10 -10
- package/lib/core/services/auth/monkeyecx-auth-guard-login.service.d.ts +10 -10
- package/lib/core/services/auth/monkeyecx-auth-guard-role.service.d.ts +16 -16
- package/lib/core/services/auth/monkeyecx-auth-guard.service.d.ts +10 -10
- package/lib/core/services/auth/monkeyecx-authentication.service.d.ts +35 -34
- package/lib/core/services/commons/index.d.ts +2 -2
- package/lib/core/services/commons/monkeyecx-commons-resolve.service.d.ts +53 -56
- package/lib/core/services/commons/monkeyecx-commons.service.d.ts +120 -120
- package/lib/core/services/config/monkeyecx-alerts-config.service.d.ts +11 -11
- package/lib/core/services/config/monkeyecx-config.module.d.ts +9 -9
- package/lib/core/services/config/monkeyecx-config.service.d.ts +36 -36
- package/lib/core/services/config/monkeyecx-currency-config.service.d.ts +15 -15
- package/lib/core/services/config/monkeyecx-error-config.service.d.ts +8 -8
- package/lib/core/services/config/monkeyecx-feature-toggle.service.d.ts +16 -16
- package/lib/core/services/config/monkeyecx-gtm-config.service.d.ts +8 -8
- package/lib/core/services/config/monkeyecx-i18n-config.service.d.ts +18 -18
- package/lib/core/services/config/monkeyecx-logs-config.service.d.ts +7 -7
- package/lib/core/services/config/monkeyecx-maintenance-config.service.d.ts +13 -13
- package/lib/core/services/config/monkeyecx-security-console-config.service.d.ts +12 -12
- package/lib/core/services/config/monkeyecx-service-worker-config.service.d.ts +16 -16
- package/lib/core/services/error/index.d.ts +4 -4
- package/lib/core/services/error/monkeyecx-error-handling.module.d.ts +9 -9
- package/lib/core/services/error/monkeyecx-error-handling.service.d.ts +9 -9
- package/lib/core/services/error/monkeyecx-http-error-handling.service.d.ts +26 -26
- package/lib/core/services/error/monkeyecx-others-errors-handling.service.d.ts +9 -9
- package/lib/core/services/index.d.ts +25 -25
- package/lib/core/services/logged/index.d.ts +1 -1
- package/lib/core/services/logged/monkeyecx-logged-handling.service.d.ts +14 -14
- package/lib/core/services/monkeyecx-handling.service.d.ts +22 -22
- package/lib/core/services/monkeyecx-service.service.d.ts +18 -18
- package/lib/core/services/pagination/index.d.ts +1 -1
- package/lib/core/services/pagination/monkeyecx-pagination.service.d.ts +9 -9
- package/lib/core/services/request-download/index.d.ts +2 -2
- package/lib/core/services/request-download/monkeyecx-request-download-handling.service.d.ts +18 -18
- package/lib/core/services/request-download/monkeyecx-request-downloaded-handling.service.d.ts +16 -16
- package/lib/core/services/request-paged/index.d.ts +1 -1
- package/lib/core/services/request-paged/monkeyecx-request-request-paged-handling.d.ts +11 -11
- package/lib/core/services/request-queue/index.d.ts +2 -2
- package/lib/core/services/request-queue/monkeyecx-request-queue-handling.service.d.ts +21 -21
- package/lib/core/services/request-queue/monkeyecx-request-queue-modal-handling.service.d.ts +23 -23
- package/lib/core/services/routes/index.d.ts +1 -1
- package/lib/core/services/routes/monkeyecx-dicovery-params.service.d.ts +13 -13
- package/lib/core/services/schedules/index.d.ts +1 -1
- package/lib/core/services/schedules/monkeyecx-request-schedule.service.d.ts +47 -47
- package/lib/core/services/storage/index.d.ts +2 -2
- package/lib/core/services/storage/monkeyecx-cookie-storage.service.d.ts +11 -11
- package/lib/core/services/storage/monkeyecx-token-storage.service.d.ts +30 -30
- package/lib/core/services/store/index.d.ts +1 -1
- package/lib/core/services/store/monkeyecx-store.service.d.ts +50 -50
- package/lib/core/specification-search/index.d.ts +1 -1
- package/lib/core/specification-search/monkeyecx-specification-search.d.ts +20 -20
- package/lib/core/utils/decorators-utils.d.ts +5 -5
- package/lib/core/utils/index.d.ts +6 -6
- package/lib/core/utils/statics.d.ts +34 -34
- package/lib/core/utils/utils.d.ts +26 -26
- package/lib/core/utils/validate-utils.d.ts +66 -66
- package/lib/core/utils/validators.d.ts +36 -36
- package/lib/monkey-front-core.module.d.ts +19 -19
- package/lib/store/actions/index.d.ts +1 -1
- package/lib/store/actions/monkeyecx-storage.actions.d.ts +23 -23
- package/lib/store/index.d.ts +3 -3
- package/lib/store/reducers/index.d.ts +2 -2
- package/lib/store/reducers/monkeyecx-seeder.reducer.d.ts +2 -2
- package/lib/store/reducers/monkeyecx-storage.reducer.d.ts +13 -13
- package/lib/store/selectors/index.d.ts +1 -1
- package/lib/store/selectors/monkeyecx-storage.selector.d.ts +8 -8
- package/monkey-front-core-0.0.457.tgz +0 -0
- package/monkey-front-core.d.ts +5 -5
- package/package.json +1 -1
- package/public-api.d.ts +4 -4
- package/monkey-front-core-0.0.455.tgz +0 -0
|
@@ -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.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,
|
|
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9ua2V5ZWN4LWRpcmVjdGl2ZXMtbW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbW9ua2V5LWZyb250LWNvcmUvc3JjL2xpYi9jb3JlL2RpcmVjdGl2ZXMvbW9ua2V5ZWN4LWRpcmVjdGl2ZXMtbW9kdWxlLnRzIl0sIm5hbWVzIjpb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5RWN4Rm9ybWF0VXBwZXIsXG4gICAgTW9ua2V5RWN4T25seUFscGhhTnVtZXJpY0RpcmVjdGl2ZSxcbiAgICBNb25rZXlFY3hPbmx5TnVtYmVyc0RpcmVjdGl2ZSxcbiAgICBNb25rZXlFY3hTZWN1cml0eURpcmVjdGl2ZSxcbiAgICBNb25rZXlFY3hUb29sdGlwRGlyZWN0aXZlLFxuICAgIE1vbmtleUVjeFBvcG92ZXJEaXJlY3RpdmUsXG4gICAgTW9ua2V5RWN4UG9wb3Zlck9wdGlvbnNEaXJlY3RpdmVcbiAgXVxufSlcbmV4cG9ydCBjbGFzcyBNb25rZXlFY3hEaXJlY3RpdmVzTW9kdWxlIHt9XG4iXX0=
|
|
@@ -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.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,
|
|
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9ua2V5ZWN4LWRyYWctZHJvcC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL21vbmtleS1mcm9udC1jb3JlL3NyYy9saWIvY29yZS9kaXJlY3RpdmVzL21vbmtleWVjeC1kcmFnLWRyb3AudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxZQUFZLEVBQUUsTUFBTSxFQUFFLFdBQVcsRUFBRSxZQUFZLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBSzNGLE1BQU0sT0FBTywwQkFBMEI7SUFIdkM7UUFJWSxrQkFBYSxHQUFzQixJQUFJLFlBQVksRUFBTyxDQUFDO1FBRXRCLGVBQVUsR0FBRyxTQUFTLENBQUM7UUFFaEMsWUFBTyxHQUFHLEdBQUcsQ0FBQztLQTZCckQ7SUExQkMsVUFBVSxDQUFDLEdBQVE7UUFDakIsR0FBRyxFQUFFLGNBQWMsRUFBRSxDQUFDO1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yRldmVudCddKVxuICBwdWJsaWMgb25EcmFnTGVhdmUoZXZ0OiBhbnkpIHtcbiAgICBldnQ/LnByZXZlbnREZWZhdWx0KCk7XG4gICAgZXZ0Py5zdG9wUHJvcGFnYXRpb24oKTtcbiAgICB0aGlzLmJhY2tncm91bmQgPSAnI2Y1ZmNmZic7XG4gICAgdGhpcy5vcGFjaXR5ID0gJzEnO1xuICB9XG5cbiAgQEhvc3RMaXN0ZW5lcignZHJvcCcsIFsnJGV2ZW50J10pXG4gIHB1YmxpYyBvbmRyb3AoZXZ0OiBhbnkpIHtcbiAgICBldnQ/LnByZXZlbnREZWZhdWx0KCk7XG4gICAgZXZ0Py5zdG9wUHJvcGFnYXRpb24oKTtcbiAgICB0aGlzLmJhY2tncm91bmQgPSAnI2Y1ZmNmZic7XG4gICAgdGhpcy5vcGFjaXR5ID0gJzEnO1xuICAgIGNvbnN0IHsgZmlsZXMgfSA9IGV2dD8uZGF0YVRyYW5zZmVyO1xuICAgIGlmIChmaWxlcy5sZW5ndGggPiAwKSB7XG4gICAgICB0aGlzLm9uRmlsZURyb3BwZWQuZW1pdChmaWxlcyk7XG4gICAgfVxuICB9XG59XG4iXX0=
|
|
@@ -1,54 +1,54 @@
|
|
|
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
|
-
this.init();
|
|
14
|
-
});
|
|
15
|
-
}
|
|
16
|
-
init() {
|
|
17
|
-
if (!this.feature)
|
|
18
|
-
return;
|
|
19
|
-
this.cdr.detectChanges();
|
|
20
|
-
this.handleDisplay();
|
|
21
|
-
}
|
|
22
|
-
handleDisplay() {
|
|
23
|
-
const { feature, config } = this;
|
|
24
|
-
let display = 'none';
|
|
25
|
-
if (!MonkeyEcxUtils.persistNullEmptyUndefined(feature) ||
|
|
26
|
-
!MonkeyEcxUtils.persistNullEmptyUndefined(config?.program?.settings)) {
|
|
27
|
-
return;
|
|
28
|
-
}
|
|
29
|
-
const disabled = config?.program?.settings?.[feature];
|
|
30
|
-
if (!disabled) {
|
|
31
|
-
display = 'block';
|
|
32
|
-
}
|
|
33
|
-
this.elementRef.nativeElement.style.display = display;
|
|
34
|
-
if (display === 'none') {
|
|
35
|
-
this.elementRef.nativeElement.remove();
|
|
36
|
-
}
|
|
37
|
-
this.cdr.detectChanges();
|
|
38
|
-
}
|
|
39
|
-
ngOnInit() {
|
|
40
|
-
this.init();
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
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 });
|
|
44
|
-
MonkeyEcxFeatureByProgramDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.1", type: MonkeyEcxFeatureByProgramDirective, selector: "[monkeyecxFeatureByProgram]", inputs: { feature: "feature" }, ngImport: i0 });
|
|
45
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFeatureByProgramDirective, decorators: [{
|
|
46
|
-
type: Directive,
|
|
47
|
-
args: [{
|
|
48
|
-
selector: '[monkeyecxFeatureByProgram]'
|
|
49
|
-
}]
|
|
50
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i1.MonkeyEcxConfigService }]; }, propDecorators: { feature: [{
|
|
51
|
-
type: Input,
|
|
52
|
-
args: ['feature']
|
|
53
|
-
}] } });
|
|
54
|
-
//# 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
|
+
this.init();
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
init() {
|
|
17
|
+
if (!this.feature)
|
|
18
|
+
return;
|
|
19
|
+
this.cdr.detectChanges();
|
|
20
|
+
this.handleDisplay();
|
|
21
|
+
}
|
|
22
|
+
handleDisplay() {
|
|
23
|
+
const { feature, config } = this;
|
|
24
|
+
let display = 'none';
|
|
25
|
+
if (!MonkeyEcxUtils.persistNullEmptyUndefined(feature) ||
|
|
26
|
+
!MonkeyEcxUtils.persistNullEmptyUndefined(config?.program?.settings)) {
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
const disabled = config?.program?.settings?.[feature];
|
|
30
|
+
if (!disabled) {
|
|
31
|
+
display = 'block';
|
|
32
|
+
}
|
|
33
|
+
this.elementRef.nativeElement.style.display = display;
|
|
34
|
+
if (display === 'none') {
|
|
35
|
+
this.elementRef.nativeElement.remove();
|
|
36
|
+
}
|
|
37
|
+
this.cdr.detectChanges();
|
|
38
|
+
}
|
|
39
|
+
ngOnInit() {
|
|
40
|
+
this.init();
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
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 });
|
|
44
|
+
MonkeyEcxFeatureByProgramDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.1", type: MonkeyEcxFeatureByProgramDirective, selector: "[monkeyecxFeatureByProgram]", inputs: { feature: "feature" }, ngImport: i0 });
|
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFeatureByProgramDirective, decorators: [{
|
|
46
|
+
type: Directive,
|
|
47
|
+
args: [{
|
|
48
|
+
selector: '[monkeyecxFeatureByProgram]'
|
|
49
|
+
}]
|
|
50
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i1.MonkeyEcxConfigService }]; }, propDecorators: { feature: [{
|
|
51
|
+
type: Input,
|
|
52
|
+
args: ['feature']
|
|
53
|
+
}] } });
|
|
54
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9ua2V5ZWN4LWZlYXR1cmUtYnktcHJvZ3JhbS1kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9tb25rZXktZnJvbnQtY29yZS9zcmMvbGliL2NvcmUvZGlyZWN0aXZlcy9tb25rZXllY3gtZmVhdHVyZS1ieS1wcm9ncmFtLWRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQXFCLFNBQVMsRUFBYyxLQUFLLEVBQVUsTUFBTSxlQU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0aW5ncykpIHtcbiAgICAgIHJldHVybjtcbiAgICB9XG5cbiAgICBjb25zdCBkaXNhYmxlZCA9IGNvbmZpZz8ucHJvZ3JhbT8uc2V0dGluZ3M/LltmZWF0dXJlXTtcblxuICAgIGlmICghZGlzYWJsZWQpIHtcbiAgICAgIGRpc3BsYXkgPSAnYmxvY2snO1xuICAgIH1cblxuICAgIHRoaXMuZWxlbWVudFJlZi5uYXRpdmVFbGVtZW50LnN0eWxlLmRpc3BsYXkgPSBkaXNwbGF5O1xuXG4gICAgaWYgKGRpc3BsYXkgPT09ICdub25lJykge1xuICAgICAgdGhpcy5lbGVtZW50UmVmLm5hdGl2ZUVsZW1lbnQucmVtb3ZlKCk7XG4gICAgfVxuXG4gICAgdGhpcy5jZHIuZGV0ZWN0Q2hhbmdlcygpO1xuICB9XG5cbiAgbmdPbkluaXQoKSB7XG4gICAgdGhpcy5pbml0KCk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,68 +1,68 @@
|
|
|
1
|
-
import { Directive, Input } from '@angular/core';
|
|
2
|
-
import { Subject } from 'rxjs';
|
|
3
|
-
import { takeUntil } from 'rxjs/operators';
|
|
4
|
-
import { MonkeyEcxUtils } from '../utils/utils';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "../services/config/monkeyecx-feature-toggle.service";
|
|
7
|
-
export class MonkeyEcxFeatureDirective {
|
|
8
|
-
constructor(cdr, elementRef, monkeyecxFeatureToggleService) {
|
|
9
|
-
this.cdr = cdr;
|
|
10
|
-
this.elementRef = elementRef;
|
|
11
|
-
this.monkeyecxFeatureToggleService = monkeyecxFeatureToggleService;
|
|
12
|
-
this.unsubscribeAll = new Subject();
|
|
13
|
-
// not to do
|
|
14
|
-
}
|
|
15
|
-
getFeature(feature) {
|
|
16
|
-
const { monkeyecxFeatureToggleService } = this;
|
|
17
|
-
if (!monkeyecxFeatureToggleService) {
|
|
18
|
-
return false;
|
|
19
|
-
}
|
|
20
|
-
return monkeyecxFeatureToggleService?.getFlag(feature) || false;
|
|
21
|
-
}
|
|
22
|
-
handleDisplay() {
|
|
23
|
-
if (!this.feature)
|
|
24
|
-
return;
|
|
25
|
-
const flag = this.getFeature(this.feature);
|
|
26
|
-
let display = 'none';
|
|
27
|
-
if (!MonkeyEcxUtils.persistNullEmptyUndefined(flag)) {
|
|
28
|
-
return;
|
|
29
|
-
}
|
|
30
|
-
if (flag) {
|
|
31
|
-
display = 'block';
|
|
32
|
-
}
|
|
33
|
-
if (display === 'none') {
|
|
34
|
-
this.elementRef.nativeElement.remove();
|
|
35
|
-
}
|
|
36
|
-
this.elementRef.nativeElement.style.display = display;
|
|
37
|
-
this.cdr.detectChanges();
|
|
38
|
-
}
|
|
39
|
-
ngOnDestroy() {
|
|
40
|
-
this.unsubscribeAll.next();
|
|
41
|
-
this.unsubscribeAll.complete();
|
|
42
|
-
}
|
|
43
|
-
ngOnInit() {
|
|
44
|
-
if (!this.feature)
|
|
45
|
-
return;
|
|
46
|
-
this.elementRef.nativeElement.style.display = 'none';
|
|
47
|
-
this.cdr.detectChanges();
|
|
48
|
-
this.monkeyecxFeatureToggleService.onFlags
|
|
49
|
-
.pipe(takeUntil(this.unsubscribeAll))
|
|
50
|
-
.subscribe((val) => {
|
|
51
|
-
if (val) {
|
|
52
|
-
this.handleDisplay();
|
|
53
|
-
}
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
MonkeyEcxFeatureDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFeatureDirective, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i1.MonkeyEcxFeatureToggleService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
58
|
-
MonkeyEcxFeatureDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.1", type: MonkeyEcxFeatureDirective, selector: "[monkeyecxFeature]", inputs: { feature: ["featureName", "feature"] }, ngImport: i0 });
|
|
59
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFeatureDirective, decorators: [{
|
|
60
|
-
type: Directive,
|
|
61
|
-
args: [{
|
|
62
|
-
selector: '[monkeyecxFeature]'
|
|
63
|
-
}]
|
|
64
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i1.MonkeyEcxFeatureToggleService }]; }, propDecorators: { feature: [{
|
|
65
|
-
type: Input,
|
|
66
|
-
args: ['featureName']
|
|
67
|
-
}] } });
|
|
68
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Directive, Input } from '@angular/core';
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
3
|
+
import { takeUntil } from 'rxjs/operators';
|
|
4
|
+
import { MonkeyEcxUtils } from '../utils/utils';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "../services/config/monkeyecx-feature-toggle.service";
|
|
7
|
+
export class MonkeyEcxFeatureDirective {
|
|
8
|
+
constructor(cdr, elementRef, monkeyecxFeatureToggleService) {
|
|
9
|
+
this.cdr = cdr;
|
|
10
|
+
this.elementRef = elementRef;
|
|
11
|
+
this.monkeyecxFeatureToggleService = monkeyecxFeatureToggleService;
|
|
12
|
+
this.unsubscribeAll = new Subject();
|
|
13
|
+
// not to do
|
|
14
|
+
}
|
|
15
|
+
getFeature(feature) {
|
|
16
|
+
const { monkeyecxFeatureToggleService } = this;
|
|
17
|
+
if (!monkeyecxFeatureToggleService) {
|
|
18
|
+
return false;
|
|
19
|
+
}
|
|
20
|
+
return monkeyecxFeatureToggleService?.getFlag(feature) || false;
|
|
21
|
+
}
|
|
22
|
+
handleDisplay() {
|
|
23
|
+
if (!this.feature)
|
|
24
|
+
return;
|
|
25
|
+
const flag = this.getFeature(this.feature);
|
|
26
|
+
let display = 'none';
|
|
27
|
+
if (!MonkeyEcxUtils.persistNullEmptyUndefined(flag)) {
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
if (flag) {
|
|
31
|
+
display = 'block';
|
|
32
|
+
}
|
|
33
|
+
if (display === 'none') {
|
|
34
|
+
this.elementRef.nativeElement.remove();
|
|
35
|
+
}
|
|
36
|
+
this.elementRef.nativeElement.style.display = display;
|
|
37
|
+
this.cdr.detectChanges();
|
|
38
|
+
}
|
|
39
|
+
ngOnDestroy() {
|
|
40
|
+
this.unsubscribeAll.next();
|
|
41
|
+
this.unsubscribeAll.complete();
|
|
42
|
+
}
|
|
43
|
+
ngOnInit() {
|
|
44
|
+
if (!this.feature)
|
|
45
|
+
return;
|
|
46
|
+
this.elementRef.nativeElement.style.display = 'none';
|
|
47
|
+
this.cdr.detectChanges();
|
|
48
|
+
this.monkeyecxFeatureToggleService.onFlags
|
|
49
|
+
.pipe(takeUntil(this.unsubscribeAll))
|
|
50
|
+
.subscribe((val) => {
|
|
51
|
+
if (val) {
|
|
52
|
+
this.handleDisplay();
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
MonkeyEcxFeatureDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFeatureDirective, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i1.MonkeyEcxFeatureToggleService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
58
|
+
MonkeyEcxFeatureDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.1", type: MonkeyEcxFeatureDirective, selector: "[monkeyecxFeature]", inputs: { feature: ["featureName", "feature"] }, ngImport: i0 });
|
|
59
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFeatureDirective, decorators: [{
|
|
60
|
+
type: Directive,
|
|
61
|
+
args: [{
|
|
62
|
+
selector: '[monkeyecxFeature]'
|
|
63
|
+
}]
|
|
64
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i1.MonkeyEcxFeatureToggleService }]; }, propDecorators: { feature: [{
|
|
65
|
+
type: Input,
|
|
66
|
+
args: ['featureName']
|
|
67
|
+
}] } });
|
|
68
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9ua2V5ZWN4LWZlYXR1cmUtZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbW9ua2V5LWZyb250LWNvcmUvc3JjL2xpYi9jb3JlL2RpcmVjdGl2ZXMvbW9ua2V5ZWN4LWZlYXR1cmUtZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBcUIsU0FBUyxFQUFjLEtBQUssRUFBcUIsTUFBTSxlQUFlLENBQUM7QUFDbkcsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUMvQixPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDM0MsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLGdCQUFnQixDQUFDOzs7QUFNaEQsTUFBTSxPQUFPLHlCQUF5QjtJQUtwQyxZQUNVLEdBQXNCLEVBQ3RCLFVBQXNCLEVBQ3RCLDZCQUE0RDtRQUY1RCxRQUFHLEdBQUgsR0FBRyxDQUFtQjtRQUN0QixlQUFVLEdBQVYsVUFBVSxDQUFZO1FBQ3RCLGtDQUE2QixHQUE3Qiw2QkFBNkIsQ0FBK0I7UUFMOUQsbUJBQWMsR0FBRyxJQUFJLE9BQU8sRUFBRSxDQUFDO1FBT3JDLFlBQVk7SUFDZCxDQUFDO0lBRU8sVUFBVSxDQUFDLE9BQWU7UUFDaEMsTUFB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