@colijnit/corecomponents_v12 12.2.23 → 12.2.25
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/.browserslistrc +17 -0
- package/.editorconfig +16 -0
- package/.idea/CoreComponents_v12.iml +12 -0
- package/.idea/misc.xml +9 -0
- package/.idea/modules.xml +8 -0
- package/.idea/vcs.xml +6 -0
- package/CoreComponents_v12.iml +12 -0
- package/README.md +12 -9
- package/angular.json +149 -0
- package/dist/corecomponentstest/favicon.ico +0 -0
- package/dist/corecomponentstest/index.html +13 -0
- package/dist/corecomponentstest/main.js +24187 -0
- package/dist/corecomponentstest/main.js.map +1 -0
- package/dist/corecomponentstest/polyfills.js +2891 -0
- package/dist/corecomponentstest/polyfills.js.map +1 -0
- package/dist/corecomponentstest/runtime.js +161 -0
- package/dist/corecomponentstest/runtime.js.map +1 -0
- package/dist/corecomponentstest/styles.css +2926 -0
- package/dist/corecomponentstest/styles.css.map +1 -0
- package/dist/corecomponentstest/vendor.js +118790 -0
- package/dist/corecomponentstest/vendor.js.map +1 -0
- package/karma.conf.js +44 -0
- package/move-assets.js +14 -0
- package/package.json +43 -22
- package/projects/corecomponents/README.md +24 -0
- package/projects/corecomponents/karma.conf.js +44 -0
- package/projects/corecomponents/ng-package.json +10 -0
- package/projects/corecomponents/package-lock.json +13 -0
- package/projects/corecomponents/package.json +19 -0
- package/projects/corecomponents/src/lib/components/article-tile/article-tile.component.ts +95 -0
- package/projects/corecomponents/src/lib/components/article-tile/article-tile.module.ts +34 -0
- package/projects/corecomponents/src/lib/components/base/base-input.component.ts +988 -0
- package/projects/corecomponents/src/lib/components/base/base.module.ts +22 -0
- package/projects/corecomponents/src/lib/components/base/commit-buttons/commit-buttons.component.ts +120 -0
- package/projects/corecomponents/src/lib/components/base/commit-buttons/commit-buttons.module.ts +19 -0
- package/projects/corecomponents/src/lib/components/base/dialog-base.component.ts +8 -0
- package/projects/corecomponents/src/lib/components/base-input-date-picker/base-input-date-picker.directive.ts +32 -0
- package/projects/corecomponents/src/lib/components/base-input-time/base-input-time-directive.ts +31 -0
- package/projects/corecomponents/src/lib/components/button/button.component.ts +117 -0
- package/projects/corecomponents/src/lib/components/button/button.module.ts +18 -0
- package/projects/corecomponents/src/lib/components/calendar/calendar-template.component.ts +392 -0
- package/projects/corecomponents/src/lib/components/calendar/calendar.component.ts +54 -0
- package/projects/corecomponents/src/lib/components/calendar/calendar.module.ts +26 -0
- package/projects/corecomponents/src/lib/components/card/card.component.ts +94 -0
- package/projects/corecomponents/src/lib/components/card/card.module.ts +34 -0
- package/projects/corecomponents/src/lib/components/carousel/carousel.component.ts +128 -0
- package/projects/corecomponents/src/lib/components/carousel/carousel.module.ts +28 -0
- package/projects/corecomponents/src/lib/components/carousel-3d/carousel-3d.component.ts +392 -0
- package/projects/corecomponents/src/lib/components/carousel-3d/carousel-3d.module.ts +17 -0
- package/projects/corecomponents/src/lib/components/carousel-3d/carouselItem.ts +77 -0
- package/projects/corecomponents/src/lib/components/checkmark-overlay/checkmark-overlay.component.ts +99 -0
- package/projects/corecomponents/src/lib/components/checkmark-overlay/checkmark-overlay.module.ts +18 -0
- package/projects/corecomponents/src/lib/components/co-dialog/animation.ts +2 -0
- package/projects/corecomponents/src/lib/components/co-dialog/co-dialog.component.ts +130 -0
- package/projects/corecomponents/src/lib/components/co-dialog/co-dialog.module.ts +17 -0
- package/projects/corecomponents/src/lib/components/co-dialog-wizard/co-dialog-wizard.component.ts +50 -0
- package/projects/corecomponents/src/lib/components/co-dialog-wizard/co-dialog-wizard.module.ts +15 -0
- package/projects/corecomponents/src/lib/components/collapsible/collapsible.component.ts +114 -0
- package/projects/corecomponents/src/lib/components/collapsible/collapsible.module.ts +17 -0
- package/projects/corecomponents/src/lib/components/color-picker/color-picker.component.ts +40 -0
- package/projects/corecomponents/src/lib/components/color-picker/color-picker.module.ts +19 -0
- package/projects/corecomponents/src/lib/components/core-dialog/confirmation-dialog/confirmation-dialog.component.ts +86 -0
- package/projects/corecomponents/src/lib/components/core-dialog/core-dialog.module.ts +37 -0
- package/projects/corecomponents/src/lib/components/core-dialog/core-dialog.service.ts +61 -0
- package/projects/corecomponents/src/lib/components/core-dialog/core-dynamic-component.service.ts +101 -0
- package/projects/corecomponents/src/lib/components/double-calendar/double-calendar.component.ts +102 -0
- package/projects/corecomponents/src/lib/components/double-calendar/double-calendar.module.ts +23 -0
- package/projects/corecomponents/src/lib/components/filter-item/filter-item-viewmodel.ts +20 -0
- package/projects/corecomponents/src/lib/components/filter-item/filter-item.component.ts +715 -0
- package/projects/corecomponents/src/lib/components/filter-item/filter-item.module.ts +42 -0
- package/projects/corecomponents/src/lib/components/filter-item/filter-viewmodel.ts +11 -0
- package/projects/corecomponents/src/lib/components/form/form.component.ts +211 -0
- package/projects/corecomponents/src/lib/components/form/form.module.ts +22 -0
- package/projects/corecomponents/src/lib/components/grid-toolbar/grid-toolbar.component.ts +62 -0
- package/projects/corecomponents/src/lib/components/grid-toolbar/grid-toolbar.module.ts +21 -0
- package/projects/corecomponents/src/lib/components/grid-toolbar-button/grid-toolbar-button.component.ts +28 -0
- package/projects/corecomponents/src/lib/components/grid-toolbar-button/grid-toolbar-button.module.ts +17 -0
- package/projects/corecomponents/src/lib/components/icon/icon-cache.service.ts +57 -0
- package/projects/corecomponents/src/lib/components/icon/icon.component.ts +54 -0
- package/projects/corecomponents/src/lib/components/icon/icon.module.ts +24 -0
- package/projects/corecomponents/src/lib/components/icon-collapse-handle/icon-collapse-handle.component.ts +75 -0
- package/projects/corecomponents/src/lib/components/icon-collapse-handle/icon-collapse-handle.module.ts +21 -0
- package/projects/corecomponents/src/lib/components/image/image.component.ts +51 -0
- package/projects/corecomponents/src/lib/components/image/image.module.ts +12 -0
- package/projects/corecomponents/src/lib/components/input-checkbox/input-checkbox.component.ts +85 -0
- package/projects/corecomponents/src/lib/components/input-checkbox/input-checkbox.module.ts +17 -0
- package/projects/corecomponents/src/lib/components/input-date-picker/input-date-picker.component.ts +103 -0
- package/projects/corecomponents/src/lib/components/input-date-picker/input-date-picker.module.ts +24 -0
- package/projects/corecomponents/src/lib/components/input-date-range-picker/input-date-range-picker.component.ts +155 -0
- package/projects/corecomponents/src/lib/components/input-date-range-picker/input-date-range-picker.module.ts +25 -0
- package/projects/corecomponents/src/lib/components/input-number-picker/input-number-picker.component.ts +378 -0
- package/projects/corecomponents/src/lib/components/input-number-picker/input-number-picker.module.ts +20 -0
- package/projects/corecomponents/src/lib/components/input-radio-button/input-radio-button.component.ts +86 -0
- package/projects/corecomponents/src/lib/components/input-radio-button/input-radio-button.module.ts +17 -0
- package/projects/corecomponents/src/lib/components/input-scanner/bar-code-scanner.ts +25 -0
- package/projects/corecomponents/src/lib/components/input-scanner/input-scanner.component.ts +89 -0
- package/projects/corecomponents/src/lib/components/input-scanner/input-scanner.module.ts +19 -0
- package/projects/corecomponents/src/lib/components/input-scanner/scanner.service.ts +28 -0
- package/projects/corecomponents/src/lib/components/input-search/input-search.component.ts +85 -0
- package/projects/corecomponents/src/lib/components/input-search/input-search.module.ts +20 -0
- package/projects/corecomponents/src/lib/components/input-text/input-text.component.ts +294 -0
- package/projects/corecomponents/src/lib/components/input-text/input-text.module.ts +31 -0
- package/projects/corecomponents/src/lib/components/input-textarea/input-textarea.component.ts +81 -0
- package/projects/corecomponents/src/lib/components/input-textarea/input-textarea.module.ts +25 -0
- package/projects/corecomponents/src/lib/components/input-time/input-time.component.ts +72 -0
- package/projects/corecomponents/src/lib/components/input-time/input-time.module.ts +22 -0
- package/projects/corecomponents/src/lib/components/level-indicator/level-indicator-level.enum.ts +5 -0
- package/projects/corecomponents/src/lib/components/level-indicator/level-indicator.component.ts +42 -0
- package/projects/corecomponents/src/lib/components/level-indicator/level-indicator.module.ts +13 -0
- package/projects/corecomponents/src/lib/components/list-of-values/list-of-values-multiselect-popup.component.ts +132 -0
- package/projects/corecomponents/src/lib/components/list-of-values/list-of-values-popup.component.ts +281 -0
- package/projects/corecomponents/src/lib/components/list-of-values/list-of-values.component.ts +257 -0
- package/projects/corecomponents/src/lib/components/list-of-values/list-of-values.module.ts +35 -0
- package/projects/corecomponents/src/lib/components/loader/loader.component.ts +82 -0
- package/projects/corecomponents/src/lib/components/loader/loader.module.ts +17 -0
- package/projects/corecomponents/src/lib/components/pagination/paginate.pipe.ts +116 -0
- package/projects/corecomponents/src/lib/components/pagination/pagination-instance.ts +18 -0
- package/projects/corecomponents/src/lib/components/pagination/pagination.component.ts +160 -0
- package/projects/corecomponents/src/lib/components/pagination/pagination.module.ts +26 -0
- package/projects/corecomponents/src/lib/components/pagination/pagination.service.ts +99 -0
- package/projects/corecomponents/src/lib/components/pagination-bar/pagination-bar.component.ts +178 -0
- package/projects/corecomponents/src/lib/components/pagination-bar/pagination-bar.module.ts +17 -0
- package/projects/corecomponents/src/lib/components/popup/const/popup-window-token.ts +4 -0
- package/projects/corecomponents/src/lib/components/popup/interface/popup-button.ts +14 -0
- package/projects/corecomponents/src/lib/components/popup/interface/popup-close-event.ts +8 -0
- package/projects/corecomponents/src/lib/components/popup/interface/popup-settings.ts +70 -0
- package/projects/corecomponents/src/lib/components/popup/interface/popup.ts +17 -0
- package/projects/corecomponents/src/lib/components/popup/model/popup-button-globals.ts +11 -0
- package/projects/corecomponents/src/lib/components/popup/model/popup-window.ts +51 -0
- package/projects/corecomponents/src/lib/components/popup/popup-buttons.component.ts +61 -0
- package/projects/corecomponents/src/lib/components/popup/popup-message-display.component.ts +49 -0
- package/projects/corecomponents/src/lib/components/popup/popup-window-shell.component.ts +222 -0
- package/projects/corecomponents/src/lib/components/popup/popup.module.ts +48 -0
- package/projects/corecomponents/src/lib/components/popup/service/popup-shower.service.ts +98 -0
- package/projects/corecomponents/src/lib/components/popup/service/prompt.service.ts +127 -0
- package/projects/corecomponents/src/lib/components/popup/text-input-popup.component.ts +36 -0
- package/projects/corecomponents/src/lib/components/responsive-text/responsive-text.component.ts +24 -0
- package/projects/corecomponents/src/lib/components/responsive-text/responsive-text.module.ts +17 -0
- package/projects/corecomponents/src/lib/components/simple-grid/base-simple-grid.component.ts +194 -0
- package/projects/corecomponents/src/lib/components/simple-grid/simple-grid-cell.component.ts +192 -0
- package/projects/corecomponents/src/lib/components/simple-grid/simple-grid-column.directive.ts +143 -0
- package/projects/corecomponents/src/lib/components/simple-grid/simple-grid.component.ts +489 -0
- package/projects/corecomponents/src/lib/components/simple-grid/simple-grid.module.ts +38 -0
- package/projects/corecomponents/src/lib/components/tile/tile.component.ts +71 -0
- package/projects/corecomponents/src/lib/components/tile/tile.module.ts +21 -0
- package/projects/corecomponents/src/lib/components/tile-select/tile-select.component.ts +36 -0
- package/projects/corecomponents/src/lib/components/tile-select/tile-select.module.ts +19 -0
- package/projects/corecomponents/src/lib/components/tooltip/tooltip.component.ts +96 -0
- package/projects/corecomponents/src/lib/components/tooltip/tooltip.module.ts +17 -0
- package/projects/corecomponents/src/lib/components/validation-error/validation-error.component.ts +45 -0
- package/projects/corecomponents/src/lib/components/validation-error/validation-error.module.ts +24 -0
- package/projects/corecomponents/src/lib/components/view-mode-buttons/content-view-mode.enum.ts +9 -0
- package/projects/corecomponents/src/lib/components/view-mode-buttons/view-mode-buttons.component.ts +63 -0
- package/projects/corecomponents/src/lib/components/view-mode-buttons/view-mode-buttons.module.ts +19 -0
- package/projects/corecomponents/src/lib/core/abstract/collection-based-component.ts +488 -0
- package/projects/corecomponents/src/lib/core/config/device-environment.ts +26 -0
- package/projects/corecomponents/src/lib/core/constant/default-upper-bound-for-range-components.ts +4 -0
- package/projects/corecomponents/src/lib/core/constant/java-max-int.ts +1 -0
- package/projects/corecomponents/src/lib/core/constant/number-inputs-key-down-white-list.ts +46 -0
- package/projects/corecomponents/src/lib/core/decorator/input-boolean.decorator.ts +35 -0
- package/projects/corecomponents/src/lib/core/enum/co-direction.ts +7 -0
- package/projects/corecomponents/src/lib/core/enum/co-document-image-display-kind.enum.ts +5 -0
- package/projects/corecomponents/src/lib/core/enum/co-document-type.enum.ts +9 -0
- package/projects/corecomponents/src/lib/core/enum/co-orientation.ts +18 -0
- package/projects/corecomponents/src/lib/core/enum/collection-based-component-input-driver-prop.enum.ts +10 -0
- package/projects/corecomponents/src/lib/core/enum/color-sequence-name.enum.ts +5 -0
- package/projects/corecomponents/src/lib/core/enum/core-components-icon.enum.ts +299 -0
- package/projects/corecomponents/src/lib/core/enum/file-type-internal.enum.ts +15 -0
- package/projects/corecomponents/src/lib/core/enum/file-type.enum.ts +9 -0
- package/projects/corecomponents/src/lib/core/enum/filterItem-mode.enum.ts +57 -0
- package/projects/corecomponents/src/lib/core/enum/float-label-type.enum.ts +5 -0
- package/projects/corecomponents/src/lib/core/enum/input-number-picker-show-mode.enum.ts +6 -0
- package/projects/corecomponents/src/lib/core/enum/input-text-type.enum.ts +4 -0
- package/projects/corecomponents/src/lib/core/enum/keyboard-code.enum.ts +72 -0
- package/projects/corecomponents/src/lib/core/enum/keyboard-key.enum.ts +78 -0
- package/projects/corecomponents/src/lib/core/enum/logical-operator-type.enum.ts +5 -0
- package/projects/corecomponents/src/lib/core/enum/object-right-type.enum.ts +5 -0
- package/projects/corecomponents/src/lib/core/enum/popup-button-type.enum.ts +10 -0
- package/projects/corecomponents/src/lib/core/enum/popup-type.enum.ts +9 -0
- package/projects/corecomponents/src/lib/core/enum/schedule-view.enum.ts +14 -0
- package/projects/corecomponents/src/lib/core/enum/search-data-type.ts +4 -0
- package/projects/corecomponents/src/lib/core/enum/search-property-state.ts +5 -0
- package/projects/corecomponents/src/lib/core/enum/sort-data-type.ts +6 -0
- package/projects/corecomponents/src/lib/core/enum/sort-direction.ts +9 -0
- package/projects/corecomponents/src/lib/core/enum/table-name.enum.ts +79 -0
- package/projects/corecomponents/src/lib/core/enum/value-comparison-type.ts +11 -0
- package/projects/corecomponents/src/lib/core/function/any-nill.function.ts +6 -0
- package/projects/corecomponents/src/lib/core/function/is-nill.function.ts +4 -0
- package/projects/corecomponents/src/lib/core/function/none-nill.function.ts +16 -0
- package/projects/corecomponents/src/lib/core/function/not-nill.function.ts +4 -0
- package/projects/corecomponents/src/lib/core/interface/search-property.ts +15 -0
- package/projects/corecomponents/src/lib/core/interface/sort-property.ts +16 -0
- package/projects/corecomponents/src/lib/core/model/bounds-constrained-number-value.ts +222 -0
- package/projects/corecomponents/src/lib/core/model/check-precision-and-scale-result.ts +5 -0
- package/projects/corecomponents/src/lib/core/model/check-within-stepped-bounds-result.ts +8 -0
- package/projects/corecomponents/src/lib/core/model/co-document-right.bo.ts +9 -0
- package/projects/corecomponents/src/lib/core/model/co-document.bo.ts +193 -0
- package/projects/corecomponents/src/lib/core/model/color-sequence.ts +39 -0
- package/projects/corecomponents/src/lib/core/model/color.ts +29 -0
- package/projects/corecomponents/src/lib/core/model/core-components-icon-svg.ts +299 -0
- package/projects/corecomponents/src/lib/core/model/element-position.ts +14 -0
- package/projects/corecomponents/src/lib/core/model/event/number-prompt-result-event.ts +10 -0
- package/projects/corecomponents/src/lib/core/model/event/string-prompt-result-event.ts +10 -0
- package/projects/corecomponents/src/lib/core/model/numerical-range.ts +19 -0
- package/projects/corecomponents/src/lib/core/service/form-input-user-change-listener.service.ts +31 -0
- package/projects/corecomponents/src/lib/core/service/form-master.service.ts +119 -0
- package/projects/corecomponents/src/lib/core/service/ng-zone-wrapper.service.ts +15 -0
- package/projects/corecomponents/src/lib/core/utils/array-utils.spec.ts +588 -0
- package/projects/corecomponents/src/lib/core/utils/array-utils.ts +301 -0
- package/projects/corecomponents/src/lib/core/utils/browser-utils.ts +123 -0
- package/projects/corecomponents/src/lib/core/utils/business-object-utils.ts +42 -0
- package/projects/corecomponents/src/lib/core/utils/css-utils.ts +276 -0
- package/projects/corecomponents/src/lib/core/utils/direction-enum-utils.ts +15 -0
- package/projects/corecomponents/src/lib/core/utils/element-ref.utils.ts +12 -0
- package/projects/corecomponents/src/lib/core/utils/event-utils.ts +61 -0
- package/projects/corecomponents/src/lib/core/utils/file-utils.ts +291 -0
- package/projects/corecomponents/src/lib/core/utils/number-utils.spec.ts +657 -0
- package/projects/corecomponents/src/lib/core/utils/number-utils.ts +350 -0
- package/projects/corecomponents/src/lib/core/utils/object-utils.ts +205 -0
- package/projects/corecomponents/src/lib/core/utils/parameter-value-conversion-utils.ts +116 -0
- package/projects/corecomponents/src/lib/core/utils/search-utils.ts +121 -0
- package/projects/corecomponents/src/lib/core/utils/sort-utils.ts +108 -0
- package/projects/corecomponents/src/lib/core/utils/string-utils.ts +100 -0
- package/projects/corecomponents/src/lib/core/validator/email.validator.ts +10 -0
- package/projects/corecomponents/src/lib/core/validator/equal.validator.ts +14 -0
- package/projects/corecomponents/src/lib/core/validator/max-string-length.validator.ts +11 -0
- package/projects/corecomponents/src/lib/core/validator/password.validator.ts +35 -0
- package/projects/corecomponents/src/lib/core/validator/precision-scale.validator.ts +14 -0
- package/projects/corecomponents/src/lib/core/validator/required.validator.ts +9 -0
- package/projects/corecomponents/src/lib/directives/align-with/align-with.directive.ts +158 -0
- package/projects/corecomponents/src/lib/directives/align-with/align-with.module.ts +13 -0
- package/projects/corecomponents/src/lib/directives/clickoutside/click-outside-master.service.ts +64 -0
- package/projects/corecomponents/src/lib/directives/clickoutside/click-outside.directive.ts +72 -0
- package/projects/corecomponents/src/lib/directives/clickoutside/clickoutside.module.ts +17 -0
- package/projects/corecomponents/src/lib/directives/observe-visibility/observe-visibility.directive.ts +55 -0
- package/projects/corecomponents/src/lib/directives/observe-visibility/observe-visibility.module.ts +13 -0
- package/projects/corecomponents/src/lib/directives/overlay/overlay-parent.directive.ts +20 -0
- package/projects/corecomponents/src/lib/directives/overlay/overlay.directive.ts +170 -0
- package/projects/corecomponents/src/lib/directives/overlay/overlay.module.ts +16 -0
- package/projects/corecomponents/src/lib/directives/parsevalue/parse-value.directive.ts +42 -0
- package/projects/corecomponents/src/lib/directives/parsevalue/parse-value.module.ts +13 -0
- package/projects/corecomponents/src/lib/directives/resize/resize-detect.directive.ts +54 -0
- package/projects/corecomponents/src/lib/directives/resize/resize-detect.module.ts +13 -0
- package/projects/corecomponents/src/lib/directives/ripple/ripple-ref.ts +28 -0
- package/projects/corecomponents/src/lib/directives/ripple/ripple-renderer.ts +217 -0
- package/projects/corecomponents/src/lib/directives/ripple/ripple.directive.ts +116 -0
- package/projects/corecomponents/src/lib/directives/ripple/ripple.module.ts +24 -0
- package/projects/corecomponents/src/lib/directives/ripple/scroll-dispatcher.service.ts +129 -0
- package/projects/corecomponents/src/lib/directives/ripple/scrollable.directive.ts +37 -0
- package/projects/corecomponents/src/lib/directives/ripple/viewport-ruler.service.ts +84 -0
- package/projects/corecomponents/src/lib/directives/screen-configuration/screen-configuration.directive.ts +170 -0
- package/projects/corecomponents/src/lib/directives/screen-configuration/screen-configuration.module.ts +16 -0
- package/projects/corecomponents/src/lib/directives/stopclick/stop-click.directive.ts +35 -0
- package/projects/corecomponents/src/lib/directives/stopclick/stop-click.module.ts +14 -0
- package/projects/corecomponents/src/lib/directives/template-wrapper/template-wrapper.directive.ts +71 -0
- package/projects/corecomponents/src/lib/directives/template-wrapper/template-wrapper.module.ts +13 -0
- package/projects/corecomponents/src/lib/directives/tooltip/tooltip-directive.module.ts +17 -0
- package/projects/corecomponents/src/lib/directives/tooltip/tooltip.directive.ts +94 -0
- package/projects/corecomponents/src/lib/interfaces/dialog-response.interface.ts +7 -0
- package/projects/corecomponents/src/lib/interfaces/lov-options.component.interface.ts +4 -0
- package/projects/corecomponents/src/lib/interfaces/scanner-input.interface.ts +3 -0
- package/projects/corecomponents/src/lib/interfaces/screen-config-adapter-component-interface-name.ts +6 -0
- package/projects/corecomponents/src/lib/interfaces/screen-config-adapter.component.interface.ts +10 -0
- package/projects/corecomponents/src/lib/model/data-item.ts +9 -0
- package/projects/corecomponents/src/lib/model/enum/app-button-type.enum.ts +9 -0
- package/projects/corecomponents/src/lib/model/enum/app-popup-type.enum.ts +6 -0
- package/projects/corecomponents/src/lib/model/enum/currency-code.enum.ts +7 -0
- package/projects/corecomponents/src/lib/model/enum/language-code.enum.ts +8 -0
- package/projects/corecomponents/src/lib/model/map/currencies.map.ts +6 -0
- package/projects/corecomponents/src/lib/modules/drag-drop/drag-drop-container.component.ts +115 -0
- package/projects/corecomponents/src/lib/modules/drag-drop/drag-drop-container.css +34 -0
- package/projects/corecomponents/src/lib/modules/drag-drop/drag-drop-manager.service.ts +414 -0
- package/projects/corecomponents/src/lib/modules/drag-drop/drag-drop.module.ts +20 -0
- package/projects/corecomponents/src/lib/modules/drag-drop/draggable.directive.ts +70 -0
- package/projects/corecomponents/src/lib/modules/drag-drop/model/co-drag-event.ts +5 -0
- package/projects/corecomponents/src/lib/modules/drag-drop/model/co-drop-event.ts +9 -0
- package/projects/corecomponents/src/lib/modules/drag-drop/model/drag-drop-container-element.ts +7 -0
- package/projects/corecomponents/src/lib/modules/drag-drop/model/drag-drop-container.ts +9 -0
- package/projects/corecomponents/src/lib/modules/media-monitor/flex-layout-breakpoint.enum.ts +5 -0
- package/projects/corecomponents/src/lib/modules/media-monitor/media-monitor.module.ts +14 -0
- package/projects/corecomponents/src/lib/modules/media-monitor/media-monitor.service.ts +36 -0
- package/projects/corecomponents/src/lib/modules/pagination/paginate.pipe.ts +116 -0
- package/projects/corecomponents/src/lib/modules/pagination/pagination-instance.ts +18 -0
- package/projects/corecomponents/src/lib/modules/pagination/pagination.component.ts +229 -0
- package/projects/corecomponents/src/lib/modules/pagination/pagination.module.ts +25 -0
- package/projects/corecomponents/src/lib/modules/pagination/pagination.service.ts +98 -0
- package/projects/corecomponents/src/lib/pipes/append.pipe.module.ts +13 -0
- package/projects/corecomponents/src/lib/pipes/append.pipe.ts +17 -0
- package/projects/corecomponents/src/lib/pipes/co-currency-pipe.module.ts +13 -0
- package/projects/corecomponents/src/lib/pipes/co-currency.pipe.ts +45 -0
- package/projects/corecomponents/src/lib/pipes/emun-keys.pipe.ts +20 -0
- package/projects/corecomponents/src/lib/pipes/enum-keys-pipe.module.ts +13 -0
- package/projects/corecomponents/src/lib/pipes/file-type-image-pipe.module.ts +13 -0
- package/projects/corecomponents/src/lib/pipes/file-type-image.pipe.ts +45 -0
- package/projects/corecomponents/src/lib/pipes/filter.pipe.module.ts +13 -0
- package/projects/corecomponents/src/lib/pipes/filter.pipe.ts +14 -0
- package/projects/corecomponents/src/lib/pipes/master-pipe.module.ts +13 -0
- package/projects/corecomponents/src/lib/pipes/master.pipe.ts +71 -0
- package/projects/corecomponents/src/lib/pipes/prepend.pipe.module.ts +13 -0
- package/projects/corecomponents/src/lib/pipes/prepend.pipe.ts +17 -0
- package/projects/corecomponents/src/lib/pipes/price-display-pipe.module.ts +14 -0
- package/projects/corecomponents/src/lib/pipes/price-display.pipe.ts +20 -0
- package/projects/corecomponents/src/lib/pipes/safe-style.pipe.module.ts +13 -0
- package/projects/corecomponents/src/lib/pipes/safe-style.pipe.ts +14 -0
- package/projects/corecomponents/src/lib/pipes/ucfirst-pipe.module.ts +13 -0
- package/projects/corecomponents/src/lib/pipes/ucfirst.pipe.ts +14 -0
- package/projects/corecomponents/src/lib/service/base-module-screen-config.service.ts +241 -0
- package/projects/corecomponents/src/lib/service/base-module.service.ts +50 -0
- package/projects/corecomponents/src/lib/service/color-sequence.service.ts +20 -0
- package/projects/corecomponents/src/lib/service/overlay.service.ts +81 -0
- package/projects/corecomponents/src/lib/translation/core-components-translation.module.ts +27 -0
- package/projects/corecomponents/src/lib/translation/core-components-translation.service.ts +15 -0
- package/projects/corecomponents/src/lib/translation/core-dictionary.service.ts +27 -0
- package/projects/corecomponents/src/lib/translation/core-localize.pipe.ts +21 -0
- package/projects/corecomponents/src/public-api.ts +137 -0
- package/projects/corecomponents/src/res/icons/Barcode.svg +1 -0
- package/projects/corecomponents/src/res/icons/CashRegister.svg +1 -0
- package/projects/corecomponents/src/res/icons/CirclePlusSkinny.svg +1 -0
- package/projects/corecomponents/src/res/icons/CrossSkinny.svg +1 -0
- package/projects/corecomponents/src/res/icons/FolderArrow.svg +1 -0
- package/projects/corecomponents/src/res/icons/Home.svg +1 -0
- package/projects/corecomponents/src/res/icons/POS.svg +1 -0
- package/projects/corecomponents/src/res/icons/Shop.svg +1 -0
- package/projects/corecomponents/src/res/icons/SinglePerson.svg +1 -0
- package/projects/corecomponents/src/res/icons/Star.svg +1 -0
- package/projects/corecomponents/src/res/icons/TrashBin.svg +1 -0
- package/projects/corecomponents/src/res/icons/account.svg +1 -0
- package/projects/corecomponents/src/res/icons/account_round_open.svg +1 -0
- package/projects/corecomponents/src/res/icons/activities.svg +1 -0
- package/projects/corecomponents/src/res/icons/add_to_cart_drop.svg +1 -0
- package/projects/corecomponents/src/res/icons/arrow_down.svg +1 -0
- package/projects/corecomponents/src/res/icons/arrow_fat_left.svg +1 -0
- package/projects/corecomponents/src/res/icons/arrow_fat_right.svg +1 -0
- package/projects/corecomponents/src/res/icons/arrow_left.svg +4 -0
- package/projects/corecomponents/src/res/icons/arrow_left_round_open.svg +1 -0
- package/projects/corecomponents/src/res/icons/arrow_point_down.svg +6 -0
- package/projects/corecomponents/src/res/icons/arrow_point_left.svg +8 -0
- package/projects/corecomponents/src/res/icons/arrow_point_right.svg +8 -0
- package/projects/corecomponents/src/res/icons/arrow_point_up.svg +8 -0
- package/projects/corecomponents/src/res/icons/arrow_right_round_open.svg +1 -0
- package/projects/corecomponents/src/res/icons/arrow_scroll_down.svg +6 -0
- package/projects/corecomponents/src/res/icons/arrow_scroll_left.svg +22 -0
- package/projects/corecomponents/src/res/icons/arrow_scroll_right.svg +22 -0
- package/projects/corecomponents/src/res/icons/arrow_scroll_up.svg +6 -0
- package/projects/corecomponents/src/res/icons/arrow_up.svg +3 -0
- package/projects/corecomponents/src/res/icons/article.svg +1 -0
- package/projects/corecomponents/src/res/icons/article_with_fold.svg +1 -0
- package/projects/corecomponents/src/res/icons/asterisk_small.svg +1 -0
- package/projects/corecomponents/src/res/icons/attachments.svg +1 -0
- package/projects/corecomponents/src/res/icons/back_to_top.svg +1 -0
- package/projects/corecomponents/src/res/icons/big_mac.svg +6 -0
- package/projects/corecomponents/src/res/icons/boxes.svg +1 -0
- package/projects/corecomponents/src/res/icons/brush.svg +1 -0
- package/projects/corecomponents/src/res/icons/brush_round_open.svg +1 -0
- package/projects/corecomponents/src/res/icons/building_columns.svg +1 -0
- package/projects/corecomponents/src/res/icons/businessrules.svg +1 -0
- package/projects/corecomponents/src/res/icons/calendar.svg +1 -0
- package/projects/corecomponents/src/res/icons/calendar_day.svg +37 -0
- package/projects/corecomponents/src/res/icons/calendar_day_regular.svg +1 -0
- package/projects/corecomponents/src/res/icons/calendar_empty.svg +16 -0
- package/projects/corecomponents/src/res/icons/calendar_range.svg +1 -0
- package/projects/corecomponents/src/res/icons/calendar_round_open.svg +16 -0
- package/projects/corecomponents/src/res/icons/camera.svg +1 -0
- package/projects/corecomponents/src/res/icons/cancel.svg +1 -0
- package/projects/corecomponents/src/res/icons/cancel_round_filled.svg +1 -0
- package/projects/corecomponents/src/res/icons/cancel_round_open.svg +1 -0
- package/projects/corecomponents/src/res/icons/cart.svg +1 -0
- package/projects/corecomponents/src/res/icons/cart_open.svg +8 -0
- package/projects/corecomponents/src/res/icons/case_manager.svg +1 -0
- package/projects/corecomponents/src/res/icons/cash_register_simple.svg +1 -0
- package/projects/corecomponents/src/res/icons/change_location.svg +1 -0
- package/projects/corecomponents/src/res/icons/check.svg +1 -0
- package/projects/corecomponents/src/res/icons/check_duotone.svg +1 -0
- package/projects/corecomponents/src/res/icons/check_round.svg +1 -0
- package/projects/corecomponents/src/res/icons/check_round_open.svg +10 -0
- package/projects/corecomponents/src/res/icons/check_simple.svg +3 -0
- package/projects/corecomponents/src/res/icons/check_thin.svg +1 -0
- package/projects/corecomponents/src/res/icons/chevron_down_regular.svg +1 -0
- package/projects/corecomponents/src/res/icons/chevron_up_regular.svg +1 -0
- package/projects/corecomponents/src/res/icons/client.svg +1 -0
- package/projects/corecomponents/src/res/icons/clock.svg +1 -0
- package/projects/corecomponents/src/res/icons/clockArrow.svg +1 -0
- package/projects/corecomponents/src/res/icons/cogWheelPlus.svg +1 -0
- package/projects/corecomponents/src/res/icons/cogWheels.svg +1 -0
- package/projects/corecomponents/src/res/icons/column_options.svg +18 -0
- package/projects/corecomponents/src/res/icons/company.svg +1 -0
- package/projects/corecomponents/src/res/icons/company_flat.svg +4 -0
- package/projects/corecomponents/src/res/icons/configurable.svg +1 -0
- package/projects/corecomponents/src/res/icons/consultant.svg +1 -0
- package/projects/corecomponents/src/res/icons/copy.svg +1 -0
- package/projects/corecomponents/src/res/icons/crosshair_1.svg +1 -0
- package/projects/corecomponents/src/res/icons/dashboard.svg +1 -0
- package/projects/corecomponents/src/res/icons/delivery_method.svg +32 -0
- package/projects/corecomponents/src/res/icons/delivery_status_uncheck.svg +9 -0
- package/projects/corecomponents/src/res/icons/delivery_truck.svg +1 -0
- package/projects/corecomponents/src/res/icons/detail_record.svg +1 -0
- package/projects/corecomponents/src/res/icons/detail_view.svg +1 -0
- package/projects/corecomponents/src/res/icons/dictionary.svg +1 -0
- package/projects/corecomponents/src/res/icons/documentWrench.svg +1 -0
- package/projects/corecomponents/src/res/icons/documents.svg +1 -0
- package/projects/corecomponents/src/res/icons/dollar.svg +1 -0
- package/projects/corecomponents/src/res/icons/download.svg +1 -0
- package/projects/corecomponents/src/res/icons/dropdown.svg +4 -0
- package/projects/corecomponents/src/res/icons/dropzone.svg +1 -0
- package/projects/corecomponents/src/res/icons/edit_pencil.svg +1 -0
- package/projects/corecomponents/src/res/icons/edit_pencil_circle.svg +1 -0
- package/projects/corecomponents/src/res/icons/edit_pencil_round.svg +11 -0
- package/projects/corecomponents/src/res/icons/edit_pencil_simple.svg +16 -0
- package/projects/corecomponents/src/res/icons/email.svg +1 -0
- package/projects/corecomponents/src/res/icons/email_round_open.svg +6 -0
- package/projects/corecomponents/src/res/icons/employee.svg +1 -0
- package/projects/corecomponents/src/res/icons/employee_two.svg +1 -0
- package/projects/corecomponents/src/res/icons/employer.svg +1 -0
- package/projects/corecomponents/src/res/icons/employment.svg +1 -0
- package/projects/corecomponents/src/res/icons/employment_end.svg +7 -0
- package/projects/corecomponents/src/res/icons/equal.svg +1 -0
- package/projects/corecomponents/src/res/icons/euro.svg +1 -0
- package/projects/corecomponents/src/res/icons/exclamation.svg +1 -0
- package/projects/corecomponents/src/res/icons/exclamation_round_open.svg +1 -0
- package/projects/corecomponents/src/res/icons/eye_circle.svg +1 -0
- package/projects/corecomponents/src/res/icons/eye_circle_large.svg +1 -0
- package/projects/corecomponents/src/res/icons/eye_round_filled.svg +11 -0
- package/projects/corecomponents/src/res/icons/factory.svg +1 -0
- package/projects/corecomponents/src/res/icons/fasttrack.svg +1 -0
- package/projects/corecomponents/src/res/icons/filter.svg +1 -0
- package/projects/corecomponents/src/res/icons/finish.svg +1 -0
- package/projects/corecomponents/src/res/icons/fixed_option_value_tree.svg +1 -0
- package/projects/corecomponents/src/res/icons/fixed_tree_option_value.svg +1 -0
- package/projects/corecomponents/src/res/icons/floppy_disk_solid.svg +1 -0
- package/projects/corecomponents/src/res/icons/folder_arrow_in.svg +8 -0
- package/projects/corecomponents/src/res/icons/formula.svg +1 -0
- package/projects/corecomponents/src/res/icons/fullscreen.svg +6 -0
- package/projects/corecomponents/src/res/icons/gear_double.svg +21 -0
- package/projects/corecomponents/src/res/icons/global_search.svg +45 -0
- package/projects/corecomponents/src/res/icons/globe.svg +1 -0
- package/projects/corecomponents/src/res/icons/greater_than.svg +1 -0
- package/projects/corecomponents/src/res/icons/groupby.svg +1 -0
- package/projects/corecomponents/src/res/icons/hamburger.svg +1 -0
- package/projects/corecomponents/src/res/icons/hand_pointer.svg +1 -0
- package/projects/corecomponents/src/res/icons/hbarchart.svg +6 -0
- package/projects/corecomponents/src/res/icons/home_circle.svg +9 -0
- package/projects/corecomponents/src/res/icons/home_open.svg +7 -0
- package/projects/corecomponents/src/res/icons/home_round_open.svg +11 -0
- package/projects/corecomponents/src/res/icons/hourglass.svg +1 -0
- package/projects/corecomponents/src/res/icons/icon_3d.svg +1 -0
- package/projects/corecomponents/src/res/icons/id.svg +1 -0
- package/projects/corecomponents/src/res/icons/image.svg +1 -0
- package/projects/corecomponents/src/res/icons/incoming_storage.svg +1 -0
- package/projects/corecomponents/src/res/icons/information.svg +1 -0
- package/projects/corecomponents/src/res/icons/information_round_open.svg +6 -0
- package/projects/corecomponents/src/res/icons/input_multiplechoice.svg +1 -0
- package/projects/corecomponents/src/res/icons/input_text.svg +1 -0
- package/projects/corecomponents/src/res/icons/input_textarea.svg +1 -0
- package/projects/corecomponents/src/res/icons/inventory.svg +1 -0
- package/projects/corecomponents/src/res/icons/invoice.svg +20 -0
- package/projects/corecomponents/src/res/icons/ione_logo.svg +1 -0
- package/projects/corecomponents/src/res/icons/ione_logo_fat.svg +1 -0
- package/projects/corecomponents/src/res/icons/ione_status_next.svg +43 -0
- package/projects/corecomponents/src/res/icons/ione_workflow.svg +62 -0
- package/projects/corecomponents/src/res/icons/keyboard.svg +1 -0
- package/projects/corecomponents/src/res/icons/keychain.svg +1 -0
- package/projects/corecomponents/src/res/icons/label.svg +5 -0
- package/projects/corecomponents/src/res/icons/label_round_open.svg +6 -0
- package/projects/corecomponents/src/res/icons/landmark_flag.svg +1 -0
- package/projects/corecomponents/src/res/icons/library.svg +21 -0
- package/projects/corecomponents/src/res/icons/linechart.svg +1 -0
- package/projects/corecomponents/src/res/icons/link_circle.svg +1 -0
- package/projects/corecomponents/src/res/icons/linked_products.svg +1 -0
- package/projects/corecomponents/src/res/icons/list_view.svg +8 -0
- package/projects/corecomponents/src/res/icons/location.svg +1 -0
- package/projects/corecomponents/src/res/icons/lock.svg +1 -0
- package/projects/corecomponents/src/res/icons/lock_round_open.svg +8 -0
- package/projects/corecomponents/src/res/icons/logo.svg +1 -0
- package/projects/corecomponents/src/res/icons/logout.svg +1 -0
- package/projects/corecomponents/src/res/icons/magic_wand.svg +1 -0
- package/projects/corecomponents/src/res/icons/magnifier.svg +5 -0
- package/projects/corecomponents/src/res/icons/manager.svg +12 -0
- package/projects/corecomponents/src/res/icons/mask.svg +1 -0
- package/projects/corecomponents/src/res/icons/master_detail.svg +1 -0
- package/projects/corecomponents/src/res/icons/material_circle_large.svg +1 -0
- package/projects/corecomponents/src/res/icons/medal_bronze.svg +23 -0
- package/projects/corecomponents/src/res/icons/medal_gold.svg +23 -0
- package/projects/corecomponents/src/res/icons/medal_silver.svg +23 -0
- package/projects/corecomponents/src/res/icons/medical_officer.svg +14 -0
- package/projects/corecomponents/src/res/icons/microphone.svg +1 -0
- package/projects/corecomponents/src/res/icons/minus_round_open.svg +1 -0
- package/projects/corecomponents/src/res/icons/minus_simple.svg +1 -0
- package/projects/corecomponents/src/res/icons/mobile.svg +1 -0
- package/projects/corecomponents/src/res/icons/multi_select_check.svg +10 -0
- package/projects/corecomponents/src/res/icons/new_task.svg +1 -0
- package/projects/corecomponents/src/res/icons/not_equal.svg +4 -0
- package/projects/corecomponents/src/res/icons/note.svg +1 -0
- package/projects/corecomponents/src/res/icons/note_bordered.svg +1 -0
- package/projects/corecomponents/src/res/icons/notification.svg +1 -0
- package/projects/corecomponents/src/res/icons/option.svg +1 -0
- package/projects/corecomponents/src/res/icons/optionset.svg +1 -0
- package/projects/corecomponents/src/res/icons/order.svg +1 -0
- package/projects/corecomponents/src/res/icons/orderpicking.svg +1 -0
- package/projects/corecomponents/src/res/icons/outgoing_storage.svg +1 -0
- package/projects/corecomponents/src/res/icons/over_booking.svg +1 -0
- package/projects/corecomponents/src/res/icons/pause_circle.svg +12 -0
- package/projects/corecomponents/src/res/icons/pen_to_square_solid.svg +1 -0
- package/projects/corecomponents/src/res/icons/pencil_round_open.svg +10 -0
- package/projects/corecomponents/src/res/icons/phone.svg +1 -0
- package/projects/corecomponents/src/res/icons/phone_round_open.svg +10 -0
- package/projects/corecomponents/src/res/icons/piechart.svg +24 -0
- package/projects/corecomponents/src/res/icons/pin.svg +9 -0
- package/projects/corecomponents/src/res/icons/pin_round_open.svg +11 -0
- package/projects/corecomponents/src/res/icons/play_circle.svg +1 -0
- package/projects/corecomponents/src/res/icons/plus_round.svg +9 -0
- package/projects/corecomponents/src/res/icons/plus_round_open.svg +1 -0
- package/projects/corecomponents/src/res/icons/plus_simple.svg +1 -0
- package/projects/corecomponents/src/res/icons/plus_skinny.svg +8 -0
- package/projects/corecomponents/src/res/icons/plus_solid.svg +1 -0
- package/projects/corecomponents/src/res/icons/plus_stars.svg +1 -0
- package/projects/corecomponents/src/res/icons/pointer.svg +7 -0
- package/projects/corecomponents/src/res/icons/pointer_3d.svg +8 -0
- package/projects/corecomponents/src/res/icons/pointer_filled.svg +6 -0
- package/projects/corecomponents/src/res/icons/positioning.svg +1 -0
- package/projects/corecomponents/src/res/icons/pregnancy.svg +18 -0
- package/projects/corecomponents/src/res/icons/preset.svg +1 -0
- package/projects/corecomponents/src/res/icons/print.svg +1 -0
- package/projects/corecomponents/src/res/icons/product_properties.svg +1 -0
- package/projects/corecomponents/src/res/icons/purchase.svg +15 -0
- package/projects/corecomponents/src/res/icons/qrcode.svg +59 -0
- package/projects/corecomponents/src/res/icons/question.svg +1 -0
- package/projects/corecomponents/src/res/icons/radio_uncheck.svg +1 -0
- package/projects/corecomponents/src/res/icons/range.svg +1 -0
- package/projects/corecomponents/src/res/icons/range_select.svg +1 -0
- package/projects/corecomponents/src/res/icons/rectangles.svg +15 -0
- package/projects/corecomponents/src/res/icons/refresh.svg +1 -0
- package/projects/corecomponents/src/res/icons/relations.svg +20 -0
- package/projects/corecomponents/src/res/icons/remark.svg +1 -0
- package/projects/corecomponents/src/res/icons/remark_round_open.svg +6 -0
- package/projects/corecomponents/src/res/icons/report_in_type.svg +1 -0
- package/projects/corecomponents/src/res/icons/resize.svg +3 -0
- package/projects/corecomponents/src/res/icons/resize_down.svg +1 -0
- package/projects/corecomponents/src/res/icons/resize_up.svg +1 -0
- package/projects/corecomponents/src/res/icons/return_goods.svg +4 -0
- package/projects/corecomponents/src/res/icons/returns.svg +1 -0
- package/projects/corecomponents/src/res/icons/rotate_left_solid.svg +1 -0
- package/projects/corecomponents/src/res/icons/save_disk.svg +15 -0
- package/projects/corecomponents/src/res/icons/save_skinny.svg +3 -0
- package/projects/corecomponents/src/res/icons/scale_balanced.svg +1 -0
- package/projects/corecomponents/src/res/icons/scanner.svg +1 -0
- package/projects/corecomponents/src/res/icons/search_round_open.svg +9 -0
- package/projects/corecomponents/src/res/icons/sections.svg +1 -0
- package/projects/corecomponents/src/res/icons/select_all_round.svg +5 -0
- package/projects/corecomponents/src/res/icons/services.svg +1 -0
- package/projects/corecomponents/src/res/icons/settings.svg +20 -0
- package/projects/corecomponents/src/res/icons/shopping_cart.svg +1 -0
- package/projects/corecomponents/src/res/icons/shopping_cart_nr.svg +1 -0
- package/projects/corecomponents/src/res/icons/shortcut.svg +1 -0
- package/projects/corecomponents/src/res/icons/skills.svg +1 -0
- package/projects/corecomponents/src/res/icons/slide_in.svg +1 -0
- package/projects/corecomponents/src/res/icons/slider_panel.svg +7 -0
- package/projects/corecomponents/src/res/icons/small_tiles.svg +1 -0
- package/projects/corecomponents/src/res/icons/smaller_than.svg +1 -0
- package/projects/corecomponents/src/res/icons/sort_asc.svg +1 -0
- package/projects/corecomponents/src/res/icons/sort_desc.svg +1 -0
- package/projects/corecomponents/src/res/icons/star_round_open.svg +6 -0
- package/projects/corecomponents/src/res/icons/status_active.svg +1 -0
- package/projects/corecomponents/src/res/icons/status_adoption.svg +1 -0
- package/projects/corecomponents/src/res/icons/status_fostercare.svg +1 -0
- package/projects/corecomponents/src/res/icons/status_ill.svg +10 -0
- package/projects/corecomponents/src/res/icons/status_leave.svg +1 -0
- package/projects/corecomponents/src/res/icons/status_pregnancy.svg +10 -0
- package/projects/corecomponents/src/res/icons/stock.svg +1 -0
- package/projects/corecomponents/src/res/icons/stock_management.svg +25 -0
- package/projects/corecomponents/src/res/icons/storage.svg +1 -0
- package/projects/corecomponents/src/res/icons/supervisor.svg +1 -0
- package/projects/corecomponents/src/res/icons/supplier.svg +18 -0
- package/projects/corecomponents/src/res/icons/surgery.svg +35 -0
- package/projects/corecomponents/src/res/icons/tablechart.svg +15 -0
- package/projects/corecomponents/src/res/icons/tag.svg +1 -0
- package/projects/corecomponents/src/res/icons/talk_too_much.svg +7 -0
- package/projects/corecomponents/src/res/icons/target.svg +1 -0
- package/projects/corecomponents/src/res/icons/task.svg +1 -0
- package/projects/corecomponents/src/res/icons/thick_lines.svg +1 -0
- package/projects/corecomponents/src/res/icons/thin_lines.svg +1 -0
- package/projects/corecomponents/src/res/icons/three_sixty_view.svg +1 -0
- package/projects/corecomponents/src/res/icons/thumb_bronze.svg +29 -0
- package/projects/corecomponents/src/res/icons/thumb_gold.svg +29 -0
- package/projects/corecomponents/src/res/icons/thumb_silver.svg +29 -0
- package/projects/corecomponents/src/res/icons/timeline.svg +1 -0
- package/projects/corecomponents/src/res/icons/transaction_detail.svg +19 -0
- package/projects/corecomponents/src/res/icons/transactions.svg +12 -0
- package/projects/corecomponents/src/res/icons/trash_can_solid.svg +1 -0
- package/projects/corecomponents/src/res/icons/triangle_down.svg +1 -0
- package/projects/corecomponents/src/res/icons/triangle_large.svg +5 -0
- package/projects/corecomponents/src/res/icons/triangle_left.svg +1 -0
- package/projects/corecomponents/src/res/icons/triangle_right.svg +1 -0
- package/projects/corecomponents/src/res/icons/triangle_up.svg +1 -0
- package/projects/corecomponents/src/res/icons/truck.svg +1 -0
- package/projects/corecomponents/src/res/icons/truck_calendar.svg +15 -0
- package/projects/corecomponents/src/res/icons/undo_round_open.svg +1 -0
- package/projects/corecomponents/src/res/icons/user.svg +9 -0
- package/projects/corecomponents/src/res/icons/variants.svg +1 -0
- package/projects/corecomponents/src/res/icons/vbarchart.svg +6 -0
- package/projects/corecomponents/src/res/icons/view.svg +1 -0
- package/projects/corecomponents/src/res/icons/warehouse.svg +1 -0
- package/projects/corecomponents/src/res/icons/watermark.svg +10 -0
- package/projects/corecomponents/src/res/icons/website.svg +1 -0
- package/projects/corecomponents/src/res/icons/wizard.svg +18 -0
- package/projects/corecomponents/src/res/icons/wms.svg +24 -0
- package/projects/corecomponents/src/res/icons/work_in_progress.svg +10 -0
- package/projects/corecomponents/src/res/icons/work_in_progress_round_open.svg +9 -0
- package/projects/corecomponents/src/res/icons/wrench.svg +4 -0
- package/projects/corecomponents/src/res/icons/x_axis.svg +5 -0
- package/projects/corecomponents/src/res/icons/y_axis.svg +5 -0
- package/projects/corecomponents/src/test.ts +28 -0
- package/projects/corecomponents/tsconfig.lib.json +20 -0
- package/projects/corecomponents/tsconfig.lib.prod.json +16 -0
- package/projects/corecomponents/tsconfig.spec.json +17 -0
- package/scripts/export.bat +9 -0
- package/scripts/merge-icons.js +39 -0
- package/scripts/publish.bat +6 -0
- package/src/app/app.component.scss +36 -0
- package/src/app/app.component.spec.ts +31 -0
- package/src/app/app.component.ts +559 -0
- package/src/app/app.module.ts +145 -0
- package/src/app/components/button-showcase.component.ts +82 -0
- package/src/app/components/carousel-3d-showcase.component.ts +70 -0
- package/src/app/components/checkbox-showcase.component.ts +56 -0
- package/src/app/components/co-dialog-showcase.component.ts +189 -0
- package/src/app/components/co-simple-grid-test.component.ts +146 -0
- package/src/app/components/filter-item-showcase.component.ts +178 -0
- package/src/app/components/forms-showcase.component.ts +703 -0
- package/src/app/components/icon-showcase.component.ts +72 -0
- package/src/app/components/input-checkbox-showcase.component.ts +87 -0
- package/src/app/components/input-date-picker-showcase.component.ts +90 -0
- package/src/app/components/input-number-picker-showcase.component.ts +125 -0
- package/src/app/components/input-radio-button-showcase.component.ts +87 -0
- package/src/app/components/input-scanner-showcase.component.ts +35 -0
- package/src/app/components/input-text-showcase.component.ts +200 -0
- package/src/app/components/input-time-showcase.component.ts +104 -0
- package/src/app/components/number-picker-showcase.component.ts +17 -0
- package/src/app/components/simple-grid-showcase.component.ts +60 -0
- package/src/app/model/data-item.ts +9 -0
- package/src/app/model/enum/currency-code.enum.ts +7 -0
- package/src/app/model/enum/language-code.enum.ts +8 -0
- package/src/app/model/map/currencies.map.ts +6 -0
- package/src/app/service/showcase-data.service.ts +1110 -0
- package/src/assets/.gitkeep +0 -0
- package/src/environments/environment.prod.ts +3 -0
- package/src/environments/environment.ts +16 -0
- package/src/favicon.ico +0 -0
- package/src/index.html +13 -0
- package/src/main.ts +12 -0
- package/src/polyfills.ts +65 -0
- package/src/styles.scss +56 -0
- package/src/test.ts +27 -0
- package/tsconfig.app.json +15 -0
- package/tsconfig.json +37 -0
- package/tsconfig.spec.json +18 -0
- package/bundles/colijnit-corecomponents_v12.umd.js +0 -14029
- package/bundles/colijnit-corecomponents_v12.umd.js.map +0 -1
- package/colijnit-corecomponents_v12.d.ts +0 -43
- package/colijnit-corecomponents_v12.metadata.json +0 -1
- package/esm2015/colijnit-corecomponents_v12.js +0 -44
- package/esm2015/lib/components/article-tile/article-tile.component.js +0 -80
- package/esm2015/lib/components/article-tile/article-tile.module.js +0 -35
- package/esm2015/lib/components/base/base-input.component.js +0 -834
- package/esm2015/lib/components/base/base.module.js +0 -22
- package/esm2015/lib/components/base/commit-buttons/commit-buttons.component.js +0 -103
- package/esm2015/lib/components/base/commit-buttons/commit-buttons.module.js +0 -21
- package/esm2015/lib/components/base/dialog-base.component.js +0 -6
- package/esm2015/lib/components/base-input-date-picker/base-input-date-picker.directive.js +0 -25
- package/esm2015/lib/components/button/button.component.js +0 -79
- package/esm2015/lib/components/button/button.module.js +0 -19
- package/esm2015/lib/components/calendar/calendar-template.component.js +0 -342
- package/esm2015/lib/components/calendar/calendar.component.js +0 -45
- package/esm2015/lib/components/calendar/calendar.module.js +0 -28
- package/esm2015/lib/components/card/card.component.js +0 -72
- package/esm2015/lib/components/card/card.module.js +0 -35
- package/esm2015/lib/components/carousel/carousel.component.js +0 -130
- package/esm2015/lib/components/carousel/carousel.module.js +0 -32
- package/esm2015/lib/components/carousel-3d/carousel-3d.component.js +0 -315
- package/esm2015/lib/components/carousel-3d/carousel-3d.module.js +0 -19
- package/esm2015/lib/components/carousel-3d/carouselItem.js +0 -54
- package/esm2015/lib/components/checkmark-overlay/checkmark-overlay.component.js +0 -87
- package/esm2015/lib/components/checkmark-overlay/checkmark-overlay.module.js +0 -19
- package/esm2015/lib/components/co-dialog/co-dialog.component.js +0 -113
- package/esm2015/lib/components/co-dialog/co-dialog.module.js +0 -19
- package/esm2015/lib/components/co-dialog-wizard/co-dialog-wizard.component.js +0 -51
- package/esm2015/lib/components/co-dialog-wizard/co-dialog-wizard.module.js +0 -17
- package/esm2015/lib/components/collapsible/collapsible.component.js +0 -92
- package/esm2015/lib/components/collapsible/collapsible.module.js +0 -19
- package/esm2015/lib/components/color-picker/color-picker.component.js +0 -41
- package/esm2015/lib/components/color-picker/color-picker.module.js +0 -21
- package/esm2015/lib/components/core-dialog/confirmation-dialog/confirmation-dialog.component.js +0 -79
- package/esm2015/lib/components/core-dialog/core-dialog.module.js +0 -39
- package/esm2015/lib/components/core-dialog/core-dialog.service.js +0 -67
- package/esm2015/lib/components/core-dialog/core-dynamic-component.service.js +0 -93
- package/esm2015/lib/components/double-calendar/double-calendar.component.js +0 -80
- package/esm2015/lib/components/double-calendar/double-calendar.module.js +0 -25
- package/esm2015/lib/components/filter-item/filter-item-viewmodel.js +0 -13
- package/esm2015/lib/components/filter-item/filter-item.component.js +0 -646
- package/esm2015/lib/components/filter-item/filter-item.module.js +0 -43
- package/esm2015/lib/components/filter-item/filter-viewmodel.js +0 -11
- package/esm2015/lib/components/form/form.component.js +0 -184
- package/esm2015/lib/components/form/form.module.js +0 -23
- package/esm2015/lib/components/grid-toolbar/grid-toolbar.component.js +0 -57
- package/esm2015/lib/components/grid-toolbar/grid-toolbar.module.js +0 -23
- package/esm2015/lib/components/grid-toolbar-button/grid-toolbar-button.component.js +0 -28
- package/esm2015/lib/components/grid-toolbar-button/grid-toolbar-button.module.js +0 -19
- package/esm2015/lib/components/icon/icon-cache.service.js +0 -52
- package/esm2015/lib/components/icon/icon.component.js +0 -48
- package/esm2015/lib/components/icon/icon.module.js +0 -25
- package/esm2015/lib/components/icon-collapse-handle/icon-collapse-handle.component.js +0 -64
- package/esm2015/lib/components/icon-collapse-handle/icon-collapse-handle.module.js +0 -23
- package/esm2015/lib/components/image/image.component.js +0 -42
- package/esm2015/lib/components/image/image.module.js +0 -14
- package/esm2015/lib/components/input-checkbox/input-checkbox.component.js +0 -79
- package/esm2015/lib/components/input-checkbox/input-checkbox.module.js +0 -19
- package/esm2015/lib/components/input-date-picker/input-date-picker.component.js +0 -91
- package/esm2015/lib/components/input-date-picker/input-date-picker.module.js +0 -26
- package/esm2015/lib/components/input-date-range-picker/input-date-range-picker.component.js +0 -134
- package/esm2015/lib/components/input-date-range-picker/input-date-range-picker.module.js +0 -27
- package/esm2015/lib/components/input-number-picker/input-number-picker.component.js +0 -314
- package/esm2015/lib/components/input-number-picker/input-number-picker.module.js +0 -23
- package/esm2015/lib/components/input-radio-button/input-radio-button.component.js +0 -84
- package/esm2015/lib/components/input-radio-button/input-radio-button.module.js +0 -19
- package/esm2015/lib/components/input-scanner/bar-code-scanner.js +0 -23
- package/esm2015/lib/components/input-scanner/input-scanner.component.js +0 -69
- package/esm2015/lib/components/input-scanner/input-scanner.module.js +0 -21
- package/esm2015/lib/components/input-scanner/scanner.service.js +0 -28
- package/esm2015/lib/components/input-search/input-search.component.js +0 -76
- package/esm2015/lib/components/input-search/input-search.module.js +0 -21
- package/esm2015/lib/components/input-text/input-text.component.js +0 -224
- package/esm2015/lib/components/input-text/input-text.module.js +0 -33
- package/esm2015/lib/components/input-textarea/input-textarea.component.js +0 -78
- package/esm2015/lib/components/input-textarea/input-textarea.module.js +0 -27
- package/esm2015/lib/components/level-indicator/level-indicator-level.enum.js +0 -7
- package/esm2015/lib/components/level-indicator/level-indicator.component.js +0 -36
- package/esm2015/lib/components/level-indicator/level-indicator.module.js +0 -15
- package/esm2015/lib/components/list-of-values/list-of-values-multiselect-popup.component.js +0 -112
- package/esm2015/lib/components/list-of-values/list-of-values-popup.component.js +0 -242
- package/esm2015/lib/components/list-of-values/list-of-values.component.js +0 -233
- package/esm2015/lib/components/list-of-values/list-of-values.module.js +0 -38
- package/esm2015/lib/components/loader/loader.component.js +0 -84
- package/esm2015/lib/components/loader/loader.module.js +0 -19
- package/esm2015/lib/components/pagination/paginate.pipe.js +0 -99
- package/esm2015/lib/components/pagination/pagination-instance.js +0 -2
- package/esm2015/lib/components/pagination/pagination.component.js +0 -126
- package/esm2015/lib/components/pagination/pagination.module.js +0 -28
- package/esm2015/lib/components/pagination/pagination.service.js +0 -88
- package/esm2015/lib/components/pagination-bar/pagination-bar.component.js +0 -151
- package/esm2015/lib/components/pagination-bar/pagination-bar.module.js +0 -19
- package/esm2015/lib/components/popup/const/popup-window-token.js +0 -3
- package/esm2015/lib/components/popup/interface/popup-button.js +0 -8
- package/esm2015/lib/components/popup/interface/popup-close-event.js +0 -2
- package/esm2015/lib/components/popup/interface/popup-settings.js +0 -42
- package/esm2015/lib/components/popup/interface/popup.js +0 -2
- package/esm2015/lib/components/popup/model/popup-button-globals.js +0 -11
- package/esm2015/lib/components/popup/model/popup-window.js +0 -38
- package/esm2015/lib/components/popup/popup-buttons.component.js +0 -53
- package/esm2015/lib/components/popup/popup-message-display.component.js +0 -47
- package/esm2015/lib/components/popup/popup-window-shell.component.js +0 -159
- package/esm2015/lib/components/popup/popup.module.js +0 -49
- package/esm2015/lib/components/popup/service/popup-shower.service.js +0 -90
- package/esm2015/lib/components/popup/service/prompt.service.js +0 -127
- package/esm2015/lib/components/popup/text-input-popup.component.js +0 -36
- package/esm2015/lib/components/responsive-text/responsive-text.component.js +0 -24
- package/esm2015/lib/components/responsive-text/responsive-text.module.js +0 -19
- package/esm2015/lib/components/simple-grid/base-simple-grid.component.js +0 -164
- package/esm2015/lib/components/simple-grid/simple-grid-cell.component.js +0 -172
- package/esm2015/lib/components/simple-grid/simple-grid-column.directive.js +0 -111
- package/esm2015/lib/components/simple-grid/simple-grid.component.js +0 -465
- package/esm2015/lib/components/simple-grid/simple-grid.module.js +0 -41
- package/esm2015/lib/components/tile/tile.component.js +0 -73
- package/esm2015/lib/components/tile/tile.module.js +0 -23
- package/esm2015/lib/components/tile-select/tile-select.component.js +0 -36
- package/esm2015/lib/components/tile-select/tile-select.module.js +0 -21
- package/esm2015/lib/components/tooltip/tooltip.component.js +0 -77
- package/esm2015/lib/components/tooltip/tooltip.module.js +0 -19
- package/esm2015/lib/components/validation-error/validation-error.component.js +0 -38
- package/esm2015/lib/components/validation-error/validation-error.module.js +0 -25
- package/esm2015/lib/components/view-mode-buttons/content-view-mode.enum.js +0 -11
- package/esm2015/lib/components/view-mode-buttons/view-mode-buttons.component.js +0 -61
- package/esm2015/lib/components/view-mode-buttons/view-mode-buttons.module.js +0 -21
- package/esm2015/lib/core/constant/default-upper-bound-for-range-components.js +0 -4
- package/esm2015/lib/core/constant/java-max-int.js +0 -2
- package/esm2015/lib/core/constant/number-inputs-key-down-white-list.js +0 -45
- package/esm2015/lib/core/decorator/input-boolean.decorator.js +0 -34
- package/esm2015/lib/core/enum/co-direction.js +0 -9
- package/esm2015/lib/core/enum/co-document-image-display-kind.enum.js +0 -7
- package/esm2015/lib/core/enum/co-document-type.enum.js +0 -11
- package/esm2015/lib/core/enum/co-orientation.js +0 -17
- package/esm2015/lib/core/enum/core-components-icon.enum.js +0 -300
- package/esm2015/lib/core/enum/file-type-internal.enum.js +0 -17
- package/esm2015/lib/core/enum/file-type.enum.js +0 -11
- package/esm2015/lib/core/enum/filterItem-mode.enum.js +0 -43
- package/esm2015/lib/core/enum/input-number-picker-show-mode.enum.js +0 -8
- package/esm2015/lib/core/enum/keyboard-code.enum.js +0 -74
- package/esm2015/lib/core/enum/keyboard-key.enum.js +0 -76
- package/esm2015/lib/core/enum/object-right-type.enum.js +0 -7
- package/esm2015/lib/core/enum/popup-button-type.enum.js +0 -12
- package/esm2015/lib/core/enum/popup-type.enum.js +0 -11
- package/esm2015/lib/core/enum/table-name.enum.js +0 -81
- package/esm2015/lib/core/function/any-nill.function.js +0 -6
- package/esm2015/lib/core/function/is-nill.function.js +0 -5
- package/esm2015/lib/core/function/none-nill.function.js +0 -17
- package/esm2015/lib/core/function/not-nill.function.js +0 -5
- package/esm2015/lib/core/model/bounds-constrained-number-value.js +0 -171
- package/esm2015/lib/core/model/check-precision-and-scale-result.js +0 -2
- package/esm2015/lib/core/model/check-within-stepped-bounds-result.js +0 -2
- package/esm2015/lib/core/model/co-document-right.bo.js +0 -3
- package/esm2015/lib/core/model/co-document.bo.js +0 -121
- package/esm2015/lib/core/model/core-components-icon-svg.js +0 -299
- package/esm2015/lib/core/model/element-position.js +0 -10
- package/esm2015/lib/core/model/event/string-prompt-result-event.js +0 -8
- package/esm2015/lib/core/service/form-input-user-change-listener.service.js +0 -25
- package/esm2015/lib/core/service/form-master.service.js +0 -102
- package/esm2015/lib/core/service/ng-zone-wrapper.service.js +0 -20
- package/esm2015/lib/core/utils/array-utils.js +0 -264
- package/esm2015/lib/core/utils/browser-utils.js +0 -100
- package/esm2015/lib/core/utils/direction-enum-utils.js +0 -14
- package/esm2015/lib/core/utils/event-utils.js +0 -53
- package/esm2015/lib/core/utils/file-utils.js +0 -267
- package/esm2015/lib/core/utils/number-utils.js +0 -309
- package/esm2015/lib/core/utils/object-utils.js +0 -186
- package/esm2015/lib/core/utils/string-utils.js +0 -94
- package/esm2015/lib/core/validator/email.validator.js +0 -6
- package/esm2015/lib/core/validator/equal.validator.js +0 -11
- package/esm2015/lib/core/validator/max-string-length.validator.js +0 -10
- package/esm2015/lib/core/validator/password.validator.js +0 -31
- package/esm2015/lib/core/validator/precision-scale.validator.js +0 -11
- package/esm2015/lib/core/validator/required.validator.js +0 -5
- package/esm2015/lib/directives/clickoutside/click-outside-master.service.js +0 -57
- package/esm2015/lib/directives/clickoutside/click-outside.directive.js +0 -71
- package/esm2015/lib/directives/clickoutside/clickoutside.module.js +0 -19
- package/esm2015/lib/directives/observe-visibility/observe-visibility.directive.js +0 -53
- package/esm2015/lib/directives/observe-visibility/observe-visibility.module.js +0 -15
- package/esm2015/lib/directives/overlay/overlay-parent.directive.js +0 -19
- package/esm2015/lib/directives/overlay/overlay.directive.js +0 -161
- package/esm2015/lib/directives/overlay/overlay.module.js +0 -18
- package/esm2015/lib/directives/ripple/ripple-ref.js +0 -26
- package/esm2015/lib/directives/ripple/ripple-renderer.js +0 -160
- package/esm2015/lib/directives/ripple/ripple.directive.js +0 -80
- package/esm2015/lib/directives/ripple/ripple.module.js +0 -24
- package/esm2015/lib/directives/ripple/scroll-dispatcher.service.js +0 -108
- package/esm2015/lib/directives/ripple/scrollable.directive.js +0 -40
- package/esm2015/lib/directives/ripple/viewport-ruler.service.js +0 -73
- package/esm2015/lib/directives/screen-configuration/screen-configuration.directive.js +0 -158
- package/esm2015/lib/directives/screen-configuration/screen-configuration.module.js +0 -19
- package/esm2015/lib/directives/stopclick/stop-click.directive.js +0 -38
- package/esm2015/lib/directives/stopclick/stop-click.module.js +0 -15
- package/esm2015/lib/directives/template-wrapper/template-wrapper.directive.js +0 -68
- package/esm2015/lib/directives/template-wrapper/template-wrapper.module.js +0 -15
- package/esm2015/lib/directives/tooltip/tooltip-directive.module.js +0 -19
- package/esm2015/lib/directives/tooltip/tooltip.directive.js +0 -78
- package/esm2015/lib/interfaces/dialog-response.interface.js +0 -2
- package/esm2015/lib/interfaces/scanner-input.interface.js +0 -2
- package/esm2015/lib/interfaces/screen-config-adapter-component-interface-name.js +0 -4
- package/esm2015/lib/interfaces/screen-config-adapter.component.interface.js +0 -2
- package/esm2015/lib/model/enum/app-button-type.enum.js +0 -11
- package/esm2015/lib/model/enum/app-popup-type.enum.js +0 -8
- package/esm2015/lib/pipes/append.pipe.js +0 -17
- package/esm2015/lib/pipes/append.pipe.module.js +0 -15
- package/esm2015/lib/pipes/filter.pipe.js +0 -16
- package/esm2015/lib/pipes/filter.pipe.module.js +0 -15
- package/esm2015/lib/pipes/prepend.pipe.js +0 -17
- package/esm2015/lib/pipes/prepend.pipe.module.js +0 -15
- package/esm2015/lib/pipes/price-display-pipe.module.js +0 -15
- package/esm2015/lib/pipes/price-display.pipe.js +0 -20
- package/esm2015/lib/service/base-module-screen-config.service.js +0 -205
- package/esm2015/lib/service/base-module.service.js +0 -42
- package/esm2015/lib/service/color-sequence.service.js +0 -23
- package/esm2015/lib/service/overlay.service.js +0 -73
- package/esm2015/lib/translation/core-components-translation.module.js +0 -29
- package/esm2015/lib/translation/core-components-translation.service.js +0 -17
- package/esm2015/lib/translation/core-dictionary.service.js +0 -29
- package/esm2015/lib/translation/core-localize.pipe.js +0 -26
- package/esm2015/public-api.js +0 -130
- package/fesm2015/colijnit-corecomponents_v12.js +0 -13366
- package/fesm2015/colijnit-corecomponents_v12.js.map +0 -1
- package/lib/components/article-tile/article-tile.component.d.ts +0 -22
- package/lib/components/article-tile/article-tile.module.d.ts +0 -2
- package/lib/components/base/base-input.component.d.ts +0 -182
- package/lib/components/base/base.module.d.ts +0 -2
- package/lib/components/base/commit-buttons/commit-buttons.component.d.ts +0 -21
- package/lib/components/base/commit-buttons/commit-buttons.module.d.ts +0 -2
- package/lib/components/base/dialog-base.component.d.ts +0 -4
- package/lib/components/base-input-date-picker/base-input-date-picker.directive.d.ts +0 -15
- package/lib/components/button/button.component.d.ts +0 -29
- package/lib/components/button/button.module.d.ts +0 -2
- package/lib/components/calendar/calendar-template.component.d.ts +0 -60
- package/lib/components/calendar/calendar.component.d.ts +0 -13
- package/lib/components/calendar/calendar.module.d.ts +0 -2
- package/lib/components/card/card.component.d.ts +0 -23
- package/lib/components/card/card.module.d.ts +0 -2
- package/lib/components/carousel/carousel.component.d.ts +0 -23
- package/lib/components/carousel/carousel.module.d.ts +0 -6
- package/lib/components/carousel-3d/carousel-3d.component.d.ts +0 -55
- package/lib/components/carousel-3d/carousel-3d.module.d.ts +0 -2
- package/lib/components/carousel-3d/carouselItem.d.ts +0 -13
- package/lib/components/checkmark-overlay/checkmark-overlay.component.d.ts +0 -17
- package/lib/components/checkmark-overlay/checkmark-overlay.module.d.ts +0 -2
- package/lib/components/co-dialog/co-dialog.component.d.ts +0 -23
- package/lib/components/co-dialog/co-dialog.module.d.ts +0 -2
- package/lib/components/co-dialog-wizard/co-dialog-wizard.component.d.ts +0 -9
- package/lib/components/co-dialog-wizard/co-dialog-wizard.module.d.ts +0 -2
- package/lib/components/collapsible/collapsible.component.d.ts +0 -22
- package/lib/components/collapsible/collapsible.module.d.ts +0 -2
- package/lib/components/color-picker/color-picker.component.d.ts +0 -6
- package/lib/components/color-picker/color-picker.module.d.ts +0 -2
- package/lib/components/core-dialog/confirmation-dialog/confirmation-dialog.component.d.ts +0 -20
- package/lib/components/core-dialog/core-dialog.module.d.ts +0 -4
- package/lib/components/core-dialog/core-dialog.service.d.ts +0 -15
- package/lib/components/core-dialog/core-dynamic-component.service.d.ts +0 -12
- package/lib/components/double-calendar/double-calendar.component.d.ts +0 -18
- package/lib/components/double-calendar/double-calendar.module.d.ts +0 -2
- package/lib/components/filter-item/filter-item-viewmodel.d.ts +0 -9
- package/lib/components/filter-item/filter-item.component.d.ts +0 -80
- package/lib/components/filter-item/filter-item.module.d.ts +0 -2
- package/lib/components/filter-item/filter-viewmodel.d.ts +0 -8
- package/lib/components/form/form.component.d.ts +0 -39
- package/lib/components/form/form.module.d.ts +0 -2
- package/lib/components/grid-toolbar/grid-toolbar.component.d.ts +0 -19
- package/lib/components/grid-toolbar/grid-toolbar.module.d.ts +0 -2
- package/lib/components/grid-toolbar-button/grid-toolbar-button.component.d.ts +0 -8
- package/lib/components/grid-toolbar-button/grid-toolbar-button.module.d.ts +0 -2
- package/lib/components/icon/icon-cache.service.d.ts +0 -20
- package/lib/components/icon/icon.component.d.ts +0 -17
- package/lib/components/icon/icon.module.d.ts +0 -2
- package/lib/components/icon-collapse-handle/icon-collapse-handle.component.d.ts +0 -21
- package/lib/components/icon-collapse-handle/icon-collapse-handle.module.d.ts +0 -2
- package/lib/components/image/image.component.d.ts +0 -20
- package/lib/components/image/image.module.d.ts +0 -2
- package/lib/components/input-checkbox/input-checkbox.component.d.ts +0 -24
- package/lib/components/input-checkbox/input-checkbox.module.d.ts +0 -2
- package/lib/components/input-date-picker/input-date-picker.component.d.ts +0 -12
- package/lib/components/input-date-picker/input-date-picker.module.d.ts +0 -2
- package/lib/components/input-date-range-picker/input-date-range-picker.component.d.ts +0 -20
- package/lib/components/input-date-range-picker/input-date-range-picker.module.d.ts +0 -2
- package/lib/components/input-number-picker/input-number-picker.component.d.ts +0 -73
- package/lib/components/input-number-picker/input-number-picker.module.d.ts +0 -2
- package/lib/components/input-radio-button/input-radio-button.component.d.ts +0 -19
- package/lib/components/input-radio-button/input-radio-button.module.d.ts +0 -2
- package/lib/components/input-scanner/bar-code-scanner.d.ts +0 -7
- package/lib/components/input-scanner/input-scanner.component.d.ts +0 -23
- package/lib/components/input-scanner/input-scanner.module.d.ts +0 -2
- package/lib/components/input-scanner/scanner.service.d.ts +0 -11
- package/lib/components/input-search/input-search.component.d.ts +0 -18
- package/lib/components/input-search/input-search.module.d.ts +0 -2
- package/lib/components/input-text/input-text.component.d.ts +0 -62
- package/lib/components/input-text/input-text.module.d.ts +0 -2
- package/lib/components/input-textarea/input-textarea.component.d.ts +0 -19
- package/lib/components/input-textarea/input-textarea.module.d.ts +0 -2
- package/lib/components/level-indicator/level-indicator-level.enum.d.ts +0 -5
- package/lib/components/level-indicator/level-indicator.component.d.ts +0 -10
- package/lib/components/level-indicator/level-indicator.module.d.ts +0 -2
- package/lib/components/list-of-values/list-of-values-multiselect-popup.component.d.ts +0 -25
- package/lib/components/list-of-values/list-of-values-popup.component.d.ts +0 -47
- package/lib/components/list-of-values/list-of-values.component.d.ts +0 -37
- package/lib/components/list-of-values/list-of-values.module.d.ts +0 -2
- package/lib/components/loader/loader.component.d.ts +0 -3
- package/lib/components/loader/loader.module.d.ts +0 -2
- package/lib/components/pagination/paginate.pipe.d.ts +0 -15
- package/lib/components/pagination/pagination-instance.d.ts +0 -14
- package/lib/components/pagination/pagination.component.d.ts +0 -38
- package/lib/components/pagination/pagination.module.d.ts +0 -2
- package/lib/components/pagination/pagination.service.d.ts +0 -24
- package/lib/components/pagination-bar/pagination-bar.component.d.ts +0 -33
- package/lib/components/pagination-bar/pagination-bar.module.d.ts +0 -2
- package/lib/components/popup/const/popup-window-token.d.ts +0 -3
- package/lib/components/popup/interface/popup-button.d.ts +0 -8
- package/lib/components/popup/interface/popup-close-event.d.ts +0 -5
- package/lib/components/popup/interface/popup-settings.d.ts +0 -21
- package/lib/components/popup/interface/popup.d.ts +0 -9
- package/lib/components/popup/model/popup-button-globals.d.ts +0 -9
- package/lib/components/popup/model/popup-window.d.ts +0 -21
- package/lib/components/popup/popup-buttons.component.d.ts +0 -13
- package/lib/components/popup/popup-message-display.component.d.ts +0 -12
- package/lib/components/popup/popup-window-shell.component.d.ts +0 -42
- package/lib/components/popup/popup.module.d.ts +0 -4
- package/lib/components/popup/service/popup-shower.service.d.ts +0 -17
- package/lib/components/popup/service/prompt.service.d.ts +0 -17
- package/lib/components/popup/text-input-popup.component.d.ts +0 -12
- package/lib/components/responsive-text/responsive-text.component.d.ts +0 -4
- package/lib/components/responsive-text/responsive-text.module.d.ts +0 -2
- package/lib/components/simple-grid/base-simple-grid.component.d.ts +0 -52
- package/lib/components/simple-grid/simple-grid-cell.component.d.ts +0 -30
- package/lib/components/simple-grid/simple-grid-column.directive.d.ts +0 -42
- package/lib/components/simple-grid/simple-grid.component.d.ts +0 -64
- package/lib/components/simple-grid/simple-grid.module.d.ts +0 -2
- package/lib/components/tile/tile.component.d.ts +0 -16
- package/lib/components/tile/tile.module.d.ts +0 -2
- package/lib/components/tile-select/tile-select.component.d.ts +0 -8
- package/lib/components/tile-select/tile-select.module.d.ts +0 -2
- package/lib/components/tooltip/tooltip.component.d.ts +0 -18
- package/lib/components/tooltip/tooltip.module.d.ts +0 -2
- package/lib/components/validation-error/validation-error.component.d.ts +0 -12
- package/lib/components/validation-error/validation-error.module.d.ts +0 -2
- package/lib/components/view-mode-buttons/content-view-mode.enum.d.ts +0 -8
- package/lib/components/view-mode-buttons/view-mode-buttons.component.d.ts +0 -17
- package/lib/components/view-mode-buttons/view-mode-buttons.module.d.ts +0 -2
- package/lib/core/constant/default-upper-bound-for-range-components.d.ts +0 -2
- package/lib/core/constant/java-max-int.d.ts +0 -1
- package/lib/core/constant/number-inputs-key-down-white-list.d.ts +0 -2
- package/lib/core/decorator/input-boolean.decorator.d.ts +0 -8
- package/lib/core/enum/co-direction.d.ts +0 -6
- package/lib/core/enum/co-document-image-display-kind.enum.d.ts +0 -5
- package/lib/core/enum/co-document-type.enum.d.ts +0 -5
- package/lib/core/enum/co-orientation.d.ts +0 -6
- package/lib/core/enum/core-components-icon.enum.d.ts +0 -298
- package/lib/core/enum/file-type-internal.enum.d.ts +0 -15
- package/lib/core/enum/file-type.enum.d.ts +0 -5
- package/lib/core/enum/filterItem-mode.enum.d.ts +0 -15
- package/lib/core/enum/input-number-picker-show-mode.enum.d.ts +0 -5
- package/lib/core/enum/keyboard-code.enum.d.ts +0 -71
- package/lib/core/enum/keyboard-key.enum.d.ts +0 -70
- package/lib/core/enum/object-right-type.enum.d.ts +0 -5
- package/lib/core/enum/popup-button-type.enum.d.ts +0 -9
- package/lib/core/enum/popup-type.enum.d.ts +0 -9
- package/lib/core/enum/table-name.enum.d.ts +0 -79
- package/lib/core/function/any-nill.function.d.ts +0 -1
- package/lib/core/function/is-nill.function.d.ts +0 -1
- package/lib/core/function/none-nill.function.d.ts +0 -1
- package/lib/core/function/not-nill.function.d.ts +0 -1
- package/lib/core/model/bounds-constrained-number-value.d.ts +0 -46
- package/lib/core/model/check-precision-and-scale-result.d.ts +0 -4
- package/lib/core/model/check-within-stepped-bounds-result.d.ts +0 -8
- package/lib/core/model/co-document-right.bo.d.ts +0 -6
- package/lib/core/model/co-document.bo.d.ts +0 -61
- package/lib/core/model/core-components-icon-svg.d.ts +0 -4
- package/lib/core/model/element-position.d.ts +0 -7
- package/lib/core/model/event/string-prompt-result-event.d.ts +0 -6
- package/lib/core/service/form-input-user-change-listener.service.d.ts +0 -10
- package/lib/core/service/form-master.service.d.ts +0 -26
- package/lib/core/service/ng-zone-wrapper.service.d.ts +0 -6
- package/lib/core/utils/array-utils.d.ts +0 -85
- package/lib/core/utils/browser-utils.d.ts +0 -15
- package/lib/core/utils/direction-enum-utils.d.ts +0 -5
- package/lib/core/utils/event-utils.d.ts +0 -12
- package/lib/core/utils/file-utils.d.ts +0 -29
- package/lib/core/utils/number-utils.d.ts +0 -89
- package/lib/core/utils/object-utils.d.ts +0 -31
- package/lib/core/utils/string-utils.d.ts +0 -25
- package/lib/core/validator/email.validator.d.ts +0 -2
- package/lib/core/validator/equal.validator.d.ts +0 -2
- package/lib/core/validator/max-string-length.validator.d.ts +0 -2
- package/lib/core/validator/password.validator.d.ts +0 -3
- package/lib/core/validator/precision-scale.validator.d.ts +0 -2
- package/lib/core/validator/required.validator.d.ts +0 -2
- package/lib/directives/clickoutside/click-outside-master.service.d.ts +0 -15
- package/lib/directives/clickoutside/click-outside.directive.d.ts +0 -18
- package/lib/directives/clickoutside/clickoutside.module.d.ts +0 -2
- package/lib/directives/observe-visibility/observe-visibility.directive.d.ts +0 -14
- package/lib/directives/observe-visibility/observe-visibility.module.d.ts +0 -2
- package/lib/directives/overlay/overlay-parent.directive.d.ts +0 -6
- package/lib/directives/overlay/overlay.directive.d.ts +0 -25
- package/lib/directives/overlay/overlay.module.d.ts +0 -2
- package/lib/directives/ripple/ripple-ref.d.ts +0 -21
- package/lib/directives/ripple/ripple-renderer.d.ts +0 -56
- package/lib/directives/ripple/ripple.directive.d.ts +0 -56
- package/lib/directives/ripple/ripple.module.d.ts +0 -2
- package/lib/directives/ripple/scroll-dispatcher.service.d.ts +0 -51
- package/lib/directives/ripple/scrollable.directive.d.ts +0 -20
- package/lib/directives/ripple/viewport-ruler.service.d.ts +0 -29
- package/lib/directives/screen-configuration/screen-configuration.directive.d.ts +0 -32
- package/lib/directives/screen-configuration/screen-configuration.module.d.ts +0 -2
- package/lib/directives/stopclick/stop-click.directive.d.ts +0 -10
- package/lib/directives/stopclick/stop-click.module.d.ts +0 -2
- package/lib/directives/template-wrapper/template-wrapper.directive.d.ts +0 -13
- package/lib/directives/template-wrapper/template-wrapper.module.d.ts +0 -2
- package/lib/directives/tooltip/tooltip-directive.module.d.ts +0 -2
- package/lib/directives/tooltip/tooltip.directive.d.ts +0 -20
- package/lib/interfaces/dialog-response.interface.d.ts +0 -6
- package/lib/interfaces/scanner-input.interface.d.ts +0 -3
- package/lib/interfaces/screen-config-adapter-component-interface-name.d.ts +0 -3
- package/lib/interfaces/screen-config-adapter.component.interface.d.ts +0 -10
- package/lib/model/enum/app-button-type.enum.d.ts +0 -9
- package/lib/model/enum/app-popup-type.enum.d.ts +0 -6
- package/lib/pipes/append.pipe.d.ts +0 -4
- package/lib/pipes/append.pipe.module.d.ts +0 -2
- package/lib/pipes/filter.pipe.d.ts +0 -4
- package/lib/pipes/filter.pipe.module.d.ts +0 -2
- package/lib/pipes/prepend.pipe.d.ts +0 -4
- package/lib/pipes/prepend.pipe.module.d.ts +0 -2
- package/lib/pipes/price-display-pipe.module.d.ts +0 -2
- package/lib/pipes/price-display.pipe.d.ts +0 -4
- package/lib/service/base-module-screen-config.service.d.ts +0 -47
- package/lib/service/base-module.service.d.ts +0 -22
- package/lib/service/color-sequence.service.d.ts +0 -4
- package/lib/service/overlay.service.d.ts +0 -13
- package/lib/translation/core-components-translation.module.d.ts +0 -4
- package/lib/translation/core-components-translation.service.d.ts +0 -6
- package/lib/translation/core-dictionary.service.d.ts +0 -12
- package/lib/translation/core-localize.pipe.d.ts +0 -7
- package/public-api.d.ts +0 -126
- /package/{lib → projects/corecomponents/src/lib}/components/article-tile/article-tile.component.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/base/commit-buttons/style/_layout.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/base/commit-buttons/style/_material-definition.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/base/commit-buttons/style/_theme.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/base/commit-buttons/style/material.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/button/style/_co-ripple.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/button/style/_layout.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/button/style/_material-definition.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/button/style/_theme.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/button/style/material.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/calendar/style/_layout.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/calendar/style/_material-definition.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/calendar/style/_theme.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/calendar/style/material.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/card/style/_layout.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/card/style/_material-definition.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/card/style/_theme.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/card/style/material.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/carousel/style/_layout.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/carousel/style/_material-definition.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/carousel/style/_theme.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/carousel/style/material.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/carousel-3d/style/_layout.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/carousel-3d/style/_material-definition.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/carousel-3d/style/_theme.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/carousel-3d/style/material.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/checkmark-overlay/style/_layout.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/checkmark-overlay/style/_material-definition.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/checkmark-overlay/style/_theme.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/checkmark-overlay/style/material.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/co-dialog/style/_layout.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/co-dialog/style/_material-definition.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/co-dialog/style/_theme.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/co-dialog/style/material.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/co-dialog-wizard/style/_layout.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/co-dialog-wizard/style/_material-definition.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/co-dialog-wizard/style/_theme.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/co-dialog-wizard/style/material.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/collapsible/style/_layout.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/collapsible/style/_material-definition.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/collapsible/style/_theme.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/collapsible/style/material.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/color-picker/style/_layout.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/color-picker/style/_material-definition.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/color-picker/style/_theme.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/color-picker/style/material.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/core-dialog/confirmation-dialog/style/_layout.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/core-dialog/confirmation-dialog/style/_material-definition.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/core-dialog/confirmation-dialog/style/_theme.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/core-dialog/confirmation-dialog/style/material.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/core-dialog/style/_layout.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/core-dialog/style/_material-definition.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/core-dialog/style/_theme.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/core-dialog/style/material.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/double-calendar/style/_layout.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/double-calendar/style/_material-definition.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/double-calendar/style/_theme.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/double-calendar/style/material.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/filter-item/style/_layout.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/filter-item/style/_material-definition.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/filter-item/style/_theme.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/filter-item/style/material.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/grid-toolbar/style/_layout.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/grid-toolbar/style/_material-definition.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/grid-toolbar/style/_theme.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/grid-toolbar/style/material.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/grid-toolbar-button/style/_layout.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/grid-toolbar-button/style/_material-definition.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/grid-toolbar-button/style/_theme.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/grid-toolbar-button/style/material.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/icon/style/_layout.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/icon/style/_material-definition.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/icon/style/_theme.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/icon/style/material.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/icon-collapse-handle/style/_layout.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/icon-collapse-handle/style/_material-definition.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/icon-collapse-handle/style/_theme.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/icon-collapse-handle/style/material.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/image/style/_layout.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/image/style/_material-definition.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/image/style/_theme.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/image/style/material.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/input-checkbox/style/_layout.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/input-checkbox/style/_material-definition.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/input-checkbox/style/_theme.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/input-checkbox/style/material.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/input-date-picker/style/_layout.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/input-date-picker/style/_material-definition.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/input-date-picker/style/_theme.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/input-date-picker/style/material.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/input-date-range-picker/style/_layout.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/input-date-range-picker/style/_material-definition.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/input-date-range-picker/style/_theme.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/input-date-range-picker/style/material.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/input-number-picker/style/_layout.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/input-number-picker/style/_material-definition.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/input-number-picker/style/_theme.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/input-number-picker/style/material.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/input-radio-button/style/_layout.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/input-radio-button/style/_material-definition.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/input-radio-button/style/_theme.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/input-radio-button/style/material.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/input-scanner/style/_layout.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/input-scanner/style/_material-definition.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/input-scanner/style/_theme.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/input-scanner/style/material.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/input-search/style/_layout.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/input-search/style/_material-definition.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/input-search/style/_theme.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/input-search/style/material.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/input-text/style/_layout.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/input-text/style/_material-definition.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/input-text/style/_theme.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/input-text/style/material.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/input-textarea/style/_layout.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/input-textarea/style/_material-definition.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/input-textarea/style/_theme.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/input-textarea/style/material.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/level-indicator/style/_layout.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/level-indicator/style/_material-definition.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/level-indicator/style/_theme.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/level-indicator/style/material.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/list-of-values/style/_layout.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/list-of-values/style/_material-definition.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/list-of-values/style/_theme.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/list-of-values/style/material.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/loader/style/_layout.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/loader/style/_material-definition.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/loader/style/_theme.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/loader/style/material.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/pagination/style/_layout.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/pagination/style/_material-definition.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/pagination/style/_theme.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/pagination/style/material.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/pagination-bar/style/_layout.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/pagination-bar/style/_material-definition.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/pagination-bar/style/_theme.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/pagination-bar/style/material.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/popup/popup-buttons.component.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/popup/popup-window-shell.component.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/responsive-text/style/_layout.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/responsive-text/style/_material-definition.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/responsive-text/style/_theme.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/responsive-text/style/material.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/simple-grid/style/_layout.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/simple-grid/style/_material-definition.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/simple-grid/style/_theme.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/simple-grid/style/material.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/tile/style/_layout.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/tile/style/_material-definition.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/tile/style/_theme.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/tile/style/material.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/tile-select/style/_layout.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/tile-select/style/_material-definition.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/tile-select/style/_theme.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/tile-select/style/material.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/tooltip/style/_layout.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/tooltip/style/_material-definition.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/tooltip/style/_theme.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/tooltip/style/material.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/validation-error/style/_layout.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/validation-error/style/_material-definition.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/validation-error/style/_theme.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/validation-error/style/material.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/view-mode-buttons/style/_layout.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/view-mode-buttons/style/_material-definition.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/view-mode-buttons/style/_theme.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/components/view-mode-buttons/style/material.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/modules/pagination/style/_layout.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/modules/pagination/style/_material-definition.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/modules/pagination/style/_theme.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/modules/pagination/style/material.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/style/_input.mixins.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/style/_mixin.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/style/_variables.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/style/corecomponents-globals.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/style/material2/_core.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/style/material2/_material2-scss-barrel.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/style/material2/ripple/_co-ripple.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/style/material2/style/_elevation.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/style/material2/style/_list-common.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/style/material2/style/_variables.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/style/material2/theming/_palette.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/style/material2/theming/_theming.scss +0 -0
- /package/{lib → projects/corecomponents/src/lib}/style/material2/typography/_typography.scss +0 -0
|
@@ -0,0 +1,715 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ChangeDetectionStrategy, ChangeDetectorRef,
|
|
3
|
+
Component,
|
|
4
|
+
EventEmitter, HostBinding,
|
|
5
|
+
Input,
|
|
6
|
+
OnInit,
|
|
7
|
+
Output,
|
|
8
|
+
ViewEncapsulation
|
|
9
|
+
} from '@angular/core';
|
|
10
|
+
import {CoreComponentsIcon} from '../../core/enum/core-components-icon.enum';
|
|
11
|
+
import {FilterItemViewmodel} from './filter-item-viewmodel';
|
|
12
|
+
import {IconCacheService} from '../icon/icon-cache.service';
|
|
13
|
+
import {FilterItemMode} from '../../core/enum/filterItem-mode.enum';
|
|
14
|
+
|
|
15
|
+
@Component({
|
|
16
|
+
selector: "co-filter-item",
|
|
17
|
+
template: `
|
|
18
|
+
<div class="co-filter-item-header">
|
|
19
|
+
<co-collapsible
|
|
20
|
+
[headerTitle]="placeholder"
|
|
21
|
+
[expandButtonLast]="true"
|
|
22
|
+
[iconData]="iconService.getIcon(icons.ArrowPointDown)"
|
|
23
|
+
[expanded]="expanded"
|
|
24
|
+
[showButton]="showButton"
|
|
25
|
+
[buttonText]="filterButtonLabel"
|
|
26
|
+
(buttonClicked)="onButtonClicked()"
|
|
27
|
+
>
|
|
28
|
+
<div class="co-filter-item-collapsable-content">
|
|
29
|
+
<div class="co-filter-item-custom-content" *ngIf="customContent; else collectionContent"
|
|
30
|
+
(keydown)="showButton=true" (mousedown)="showButton=true">
|
|
31
|
+
<ng-content></ng-content>
|
|
32
|
+
</div>
|
|
33
|
+
<ng-template #collectionContent>
|
|
34
|
+
<div class="co-filter-item-collection-content" *ngIf="mode === modes.Filterlist || mode === modes.SingleSelectList
|
|
35
|
+
|| mode === modes.SelectListWithNumberOutput || mode === modes.SelectListWithStringCollectionOutput">
|
|
36
|
+
<co-input-text
|
|
37
|
+
*ngIf="collection?.length > 10 || minSearchCharsToLoadCollection"
|
|
38
|
+
[placeholder]="searchPlaceholder"
|
|
39
|
+
[model]="filterText"
|
|
40
|
+
(modelChange)="applyFilter($event)"
|
|
41
|
+
>
|
|
42
|
+
</co-input-text>
|
|
43
|
+
<div class="no-results" *ngIf="filteredCollection?.length === 0">
|
|
44
|
+
<span [textContent]="noResultsLabel"></span>
|
|
45
|
+
</div>
|
|
46
|
+
<div class="co-filter-item-collection-results">
|
|
47
|
+
<ng-container
|
|
48
|
+
*ngFor="let option of filteredCollection; let index = index">
|
|
49
|
+
<div class="co-filter-item-collection-result-item" *ngIf="index < limitTo || showAllResults">
|
|
50
|
+
<co-input-checkbox *ngIf="mode !== modes.SingleSelectList"
|
|
51
|
+
[label]="option.description"
|
|
52
|
+
[model]="option.checked"
|
|
53
|
+
[clickableLabel]="false"
|
|
54
|
+
(modelChange)="handleModelChange(option)"
|
|
55
|
+
></co-input-checkbox>
|
|
56
|
+
<co-input-radio-button *ngIf="mode === modes.SingleSelectList"
|
|
57
|
+
[label]="option.description"
|
|
58
|
+
[model]="option.checked"
|
|
59
|
+
(modelChange)="handleModelChange(option)"
|
|
60
|
+
></co-input-radio-button>
|
|
61
|
+
<div class="co-filter-item-amount" *ngIf="option.count"
|
|
62
|
+
[textContent]="option.count.toString() | append: ')' | prepend: ' ('"
|
|
63
|
+
></div>
|
|
64
|
+
</div>
|
|
65
|
+
|
|
66
|
+
</ng-container>
|
|
67
|
+
</div>
|
|
68
|
+
<div class="co-filter-show-more-or-less" *ngIf="!showAllResults">
|
|
69
|
+
<div class="co-filter-show-more clickable"
|
|
70
|
+
*ngIf="moreToShow()">
|
|
71
|
+
<a (click)="increaseLimit()">
|
|
72
|
+
<co-icon [iconData]="iconService.getIcon(icons.ArrowPointDown)"></co-icon>
|
|
73
|
+
<span [textContent]="showMoreLabel"></span>
|
|
74
|
+
</a>
|
|
75
|
+
</div>
|
|
76
|
+
<div class="co-filter-show-less clickable"
|
|
77
|
+
*ngIf="lessToShow()">
|
|
78
|
+
<a (click)="setToInitialLimit()">
|
|
79
|
+
<co-icon [iconData]="iconService.getIcon(icons.ArrowPointUp)"></co-icon>
|
|
80
|
+
<span [textContent]="showLessLabel"></span>
|
|
81
|
+
</a>
|
|
82
|
+
</div>
|
|
83
|
+
</div>
|
|
84
|
+
</div>
|
|
85
|
+
<div class="co-filter-item-slider-content" *ngIf="mode === modes.Slider">
|
|
86
|
+
<co-input-text
|
|
87
|
+
class="slider-from"
|
|
88
|
+
[type]="'number'"
|
|
89
|
+
[digitsOnly]="true"
|
|
90
|
+
[hideArrowButtons]="true"
|
|
91
|
+
[excludePlusMinus]="true"
|
|
92
|
+
[label]="'FROM' | coreLocalize"
|
|
93
|
+
[(model)]="sliderMin"
|
|
94
|
+
(focusout)="handleModelChange(sliderMin)"
|
|
95
|
+
></co-input-text>
|
|
96
|
+
<co-input-text
|
|
97
|
+
class="slider-to"
|
|
98
|
+
[type]="'number'"
|
|
99
|
+
[digitsOnly]="true"
|
|
100
|
+
[hideArrowButtons]="true"
|
|
101
|
+
[excludePlusMinus]="true"
|
|
102
|
+
[label]="'TO' | coreLocalize"
|
|
103
|
+
[(model)]="sliderMax"
|
|
104
|
+
(focusout)="handleModelChange(sliderMax)"
|
|
105
|
+
></co-input-text>
|
|
106
|
+
</div>
|
|
107
|
+
<div class="co-filter-item-slider-content" *ngIf="mode === modes.NullableSlider">
|
|
108
|
+
<co-input-text
|
|
109
|
+
class="slider-from"
|
|
110
|
+
[type]="'number'"
|
|
111
|
+
[digitsOnly]="true"
|
|
112
|
+
[hideArrowButtons]="true"
|
|
113
|
+
[excludePlusMinus]="true"
|
|
114
|
+
[label]="'FROM' | coreLocalize"
|
|
115
|
+
[(model)]="sliderMin"
|
|
116
|
+
(focusout)="handleModelChange(sliderMin)"
|
|
117
|
+
></co-input-text>
|
|
118
|
+
<co-input-text
|
|
119
|
+
class="slider-to"
|
|
120
|
+
[type]="'number'"
|
|
121
|
+
[digitsOnly]="true"
|
|
122
|
+
[hideArrowButtons]="true"
|
|
123
|
+
[excludePlusMinus]="true"
|
|
124
|
+
[label]="'TO' | coreLocalize"
|
|
125
|
+
[(model)]="sliderMax"
|
|
126
|
+
(focusout)="handleModelChange(sliderMax)"
|
|
127
|
+
></co-input-text>
|
|
128
|
+
</div>
|
|
129
|
+
<div class="co-filter-item-checkbox-content" *ngIf="mode === modes.Checkbox ">
|
|
130
|
+
<co-input-checkbox
|
|
131
|
+
[(model)]="model"
|
|
132
|
+
(modelChange)="handleModelChange($event)"
|
|
133
|
+
[label]="placeholder">
|
|
134
|
+
</co-input-checkbox>
|
|
135
|
+
</div>
|
|
136
|
+
<div class="co-filter-item-checkbox-content"
|
|
137
|
+
*ngIf="mode === modes.CheckboxToText || mode === modes.CheckboxToSimpleText || mode === modes.CheckboxToBinary">
|
|
138
|
+
<co-input-checkbox
|
|
139
|
+
[(model)]="checkBoxToTextModel"
|
|
140
|
+
(modelChange)="handleModelChange($event)"
|
|
141
|
+
[label]="placeholder"></co-input-checkbox>
|
|
142
|
+
</div>
|
|
143
|
+
<div class="co-filter-item-textfield-content" *ngIf="mode === modes.TextField">
|
|
144
|
+
<co-input-text
|
|
145
|
+
[(model)]="model"
|
|
146
|
+
(modelChange)="handleModelChange($event)"></co-input-text>
|
|
147
|
+
</div>
|
|
148
|
+
<div class="co-filter-item-dateField-content" *ngIf="mode === modes.DateField">
|
|
149
|
+
<co-input-date
|
|
150
|
+
[(model)]="model"
|
|
151
|
+
(modelChange)="handleModelChange($event)"
|
|
152
|
+
></co-input-date>
|
|
153
|
+
</div>
|
|
154
|
+
<div class="co-filter-item-dateField-content" *ngIf="mode === modes.DateRangeField">
|
|
155
|
+
<co-input-date-range
|
|
156
|
+
[model]="[dateRangeStart, dateRangeEnd]"
|
|
157
|
+
(modelChange)="handleModelChange($event)"
|
|
158
|
+
[placeholder]="'SELECT_DATE' | coreLocalize">
|
|
159
|
+
</co-input-date-range>
|
|
160
|
+
</div>
|
|
161
|
+
</ng-template>
|
|
162
|
+
</div>
|
|
163
|
+
</co-collapsible>
|
|
164
|
+
</div>
|
|
165
|
+
|
|
166
|
+
`,
|
|
167
|
+
encapsulation: ViewEncapsulation.None,
|
|
168
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
169
|
+
})
|
|
170
|
+
export class FilterItemComponent implements OnInit {
|
|
171
|
+
public icons: typeof CoreComponentsIcon = CoreComponentsIcon;
|
|
172
|
+
public modes: typeof FilterItemMode = FilterItemMode;
|
|
173
|
+
|
|
174
|
+
@Input()
|
|
175
|
+
public set mode(value: FilterItemMode) {
|
|
176
|
+
this._mode = value;
|
|
177
|
+
this.readModelForMode(this._model);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
public get mode(): FilterItemMode {
|
|
181
|
+
return this._mode;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
@Input()
|
|
185
|
+
public set collection(value: FilterItemViewmodel[]) {
|
|
186
|
+
this._collection = value;
|
|
187
|
+
this.filteredCollection = this._collection?.slice();
|
|
188
|
+
//reset the model in case there was no collection to set its values on when it was set.
|
|
189
|
+
this.model = this._model;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
public get collection(): FilterItemViewmodel[] {
|
|
193
|
+
return this._collection;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
@Input()
|
|
197
|
+
public placeholder: string;
|
|
198
|
+
|
|
199
|
+
@Input()
|
|
200
|
+
public initialLimit: number = 10;
|
|
201
|
+
|
|
202
|
+
@Input()
|
|
203
|
+
public expanded: boolean = false;
|
|
204
|
+
|
|
205
|
+
@Input()
|
|
206
|
+
public minSearchCharsToLoadCollection: number;
|
|
207
|
+
|
|
208
|
+
@Input()
|
|
209
|
+
public collectionLoadFn: Function;
|
|
210
|
+
|
|
211
|
+
// Set to false to use filter item with a multi selectable collection. Set to true to specify custom content
|
|
212
|
+
@Input()
|
|
213
|
+
public customContent: boolean = false;
|
|
214
|
+
|
|
215
|
+
// Set to true to show all results. Set to false to get 'show more' and 'show less' buttons to expand and contract.
|
|
216
|
+
@Input()
|
|
217
|
+
public showAllResults: boolean = false;
|
|
218
|
+
|
|
219
|
+
@Input()
|
|
220
|
+
public filterButtonLabel: string = "Search";
|
|
221
|
+
|
|
222
|
+
@Input()
|
|
223
|
+
public searchPlaceholder: string = 'Search...';
|
|
224
|
+
|
|
225
|
+
@Input()
|
|
226
|
+
public showMoreLabel: string = 'Show more';
|
|
227
|
+
|
|
228
|
+
@Input()
|
|
229
|
+
public showLessLabel: string = 'Show less';
|
|
230
|
+
|
|
231
|
+
@Input()
|
|
232
|
+
public noResultsLabel: string = "No results";
|
|
233
|
+
|
|
234
|
+
@Input()
|
|
235
|
+
public sliderDefaultMin: number = 0;
|
|
236
|
+
|
|
237
|
+
@Input()
|
|
238
|
+
public sliderDefaultMax: number = 100000;
|
|
239
|
+
|
|
240
|
+
@Input()
|
|
241
|
+
public fullRangeIsNull: boolean = false;
|
|
242
|
+
|
|
243
|
+
@Input()
|
|
244
|
+
public set model(newModel: any) {
|
|
245
|
+
this.readModelForMode(newModel);
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
public get model(): any {
|
|
249
|
+
return this._model;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
@Output()
|
|
253
|
+
public modelChange: EventEmitter<any> = new EventEmitter<any>();
|
|
254
|
+
|
|
255
|
+
@Output()
|
|
256
|
+
public collectionChange: EventEmitter<FilterItemViewmodel[]> = new EventEmitter<FilterItemViewmodel[]>();
|
|
257
|
+
|
|
258
|
+
@Output()
|
|
259
|
+
public filterButtonClicked: EventEmitter<void> = new EventEmitter<void>();
|
|
260
|
+
|
|
261
|
+
@HostBinding("class.co-filter-item")
|
|
262
|
+
|
|
263
|
+
public filteredCollection: FilterItemViewmodel[] = [];
|
|
264
|
+
public limitTo: number = 10;
|
|
265
|
+
public filterText: string = "";
|
|
266
|
+
public showButton: boolean = false;
|
|
267
|
+
|
|
268
|
+
//models for the slider field inputs
|
|
269
|
+
public sliderMin: number;
|
|
270
|
+
public sliderMax: number;
|
|
271
|
+
|
|
272
|
+
//models for th daterange input
|
|
273
|
+
public dateRangeStart: Date;
|
|
274
|
+
public dateRangeEnd: Date;
|
|
275
|
+
|
|
276
|
+
//model for the textbox options that need a converted output
|
|
277
|
+
public checkBoxToTextModel: boolean;
|
|
278
|
+
|
|
279
|
+
private _collection: FilterItemViewmodel[] = [];
|
|
280
|
+
private _mode: FilterItemMode = this.modes.Filterlist;
|
|
281
|
+
private _model: any;
|
|
282
|
+
|
|
283
|
+
constructor(public iconService: IconCacheService,
|
|
284
|
+
private _changeDetector: ChangeDetectorRef) {
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
public ngOnInit(): void {
|
|
288
|
+
this.setToInitialLimit();
|
|
289
|
+
this.showButton = this.valueSelected();
|
|
290
|
+
if(this.checkBoxToTextModel === undefined || this.checkBoxToTextModel === null) {
|
|
291
|
+
this.checkBoxToTextModel = false;
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
public setToInitialLimit(): void {
|
|
296
|
+
this.limitTo = this.initialLimit;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
public increaseLimit(): void {
|
|
300
|
+
this.limitTo += 10;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
public moreToShow(): boolean {
|
|
304
|
+
if (this.showAllResults) {
|
|
305
|
+
return false;
|
|
306
|
+
}
|
|
307
|
+
return this.filteredCollection?.length > this.limitTo;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
public lessToShow() {
|
|
311
|
+
if (this.showAllResults) {
|
|
312
|
+
return false;
|
|
313
|
+
}
|
|
314
|
+
return this.filteredCollection?.length <= this.limitTo && this.filteredCollection?.length > this.initialLimit;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
public handleModelChange(model: any) {
|
|
318
|
+
switch (this.mode) {
|
|
319
|
+
case this.modes.Filterlist:
|
|
320
|
+
this.showButton = true;
|
|
321
|
+
model.checked = !model.checked;
|
|
322
|
+
this._createModelForFilterList();
|
|
323
|
+
break;
|
|
324
|
+
case this.modes.SelectListWithStringCollectionOutput:
|
|
325
|
+
this.showButton = true;
|
|
326
|
+
model.checked = !model.checked;
|
|
327
|
+
this._createModelForStringCollectionList();
|
|
328
|
+
break;
|
|
329
|
+
case this.modes.SingleSelectList:
|
|
330
|
+
this.showButton = true;
|
|
331
|
+
this.uncheckForSingleSelect(model);
|
|
332
|
+
model.checked = !model.checked;
|
|
333
|
+
this._createModelForSingleSelectList();
|
|
334
|
+
break;
|
|
335
|
+
case this.modes.SelectListWithNumberOutput:
|
|
336
|
+
this.showButton = true;
|
|
337
|
+
model.checked = !model.checked;
|
|
338
|
+
this._createModelForSelectListWithNumberOutput();
|
|
339
|
+
break;
|
|
340
|
+
case this.modes.Slider:
|
|
341
|
+
this.showButton = true;
|
|
342
|
+
this._createModelForSliderMode();
|
|
343
|
+
break;
|
|
344
|
+
case this.modes.NullableSlider:
|
|
345
|
+
this.showButton = true;
|
|
346
|
+
this._createModelForNullableSliderMode();
|
|
347
|
+
break;
|
|
348
|
+
case this.modes.CheckboxToText:
|
|
349
|
+
this.showButton = true;
|
|
350
|
+
this._createModelForCheckboxToText();
|
|
351
|
+
break;
|
|
352
|
+
case this.modes.CheckboxToSimpleText:
|
|
353
|
+
this.showButton = true;
|
|
354
|
+
this._createModelForCheckboxToSimpleText();
|
|
355
|
+
break;
|
|
356
|
+
case this.modes.CheckboxToBinary:
|
|
357
|
+
this.showButton = true;
|
|
358
|
+
this._createModelForCheckboxToBinary();
|
|
359
|
+
break;
|
|
360
|
+
case this.modes.DateRangeField:
|
|
361
|
+
this.showButton = true;
|
|
362
|
+
this._createModelForDateRange(model);
|
|
363
|
+
break;
|
|
364
|
+
case this.modes.TextField:
|
|
365
|
+
this.showButton = true;
|
|
366
|
+
this._model = (typeof this._model === 'string' && this._model.length === 0) ? undefined : this._model;
|
|
367
|
+
break;
|
|
368
|
+
}
|
|
369
|
+
this.modelChange.emit(this._model);
|
|
370
|
+
this.collectionChange.emit(this.collection);
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
public valueSelected() {
|
|
374
|
+
if (this.collection) {
|
|
375
|
+
return !!this.collection.find(c => c.checked);
|
|
376
|
+
}
|
|
377
|
+
return false;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
// Applies filter to the collection.
|
|
381
|
+
public async applyFilter(text: string): Promise<[]> {
|
|
382
|
+
if (!isNaN(this.minSearchCharsToLoadCollection) && this.collectionLoadFn) {
|
|
383
|
+
if (text.length === this.minSearchCharsToLoadCollection && text.length > this.filterText.length) {
|
|
384
|
+
this.collection = await this.collectionLoadFn(text);
|
|
385
|
+
} else if (text.length < this.minSearchCharsToLoadCollection) {
|
|
386
|
+
this.collection = undefined;
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
this.filterText = text;
|
|
390
|
+
if (!this.collection) {
|
|
391
|
+
return [];
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
const filterText: string = this.filterText?.toString().toLowerCase();
|
|
395
|
+
let filteredItemCount: number = 0;
|
|
396
|
+
this.filteredCollection = this.collection?.filter((item) => {
|
|
397
|
+
const labelText: string = item.description?.toString().toLowerCase();
|
|
398
|
+
const isHiddenByFilter: boolean = (labelText?.indexOf(filterText) === -1);
|
|
399
|
+
if (isHiddenByFilter) {
|
|
400
|
+
return false;
|
|
401
|
+
} else {
|
|
402
|
+
filteredItemCount++;
|
|
403
|
+
return true;
|
|
404
|
+
}
|
|
405
|
+
});
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
public onButtonClicked(): void {
|
|
409
|
+
this.filterButtonClicked.emit();
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
private uncheckForSingleSelect(model: FilterItemViewmodel): void {
|
|
413
|
+
this.collection.forEach(m => {
|
|
414
|
+
if (m.code !== model.code && m.description !== model.description) {
|
|
415
|
+
m.checked = false;
|
|
416
|
+
}
|
|
417
|
+
});
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
private readModelForMode(newModel: any): void {
|
|
421
|
+
switch (this.mode) {
|
|
422
|
+
case this.modes.Filterlist:
|
|
423
|
+
this._readModelForFilterList(newModel);
|
|
424
|
+
break;
|
|
425
|
+
case this.modes.SingleSelectList:
|
|
426
|
+
this._readModelForSingleSelectList(newModel);
|
|
427
|
+
break;
|
|
428
|
+
case this.modes.SelectListWithStringCollectionOutput:
|
|
429
|
+
this._readModelForStringCollectionList(newModel);
|
|
430
|
+
break;
|
|
431
|
+
case this.modes.SelectListWithNumberOutput:
|
|
432
|
+
this._readModelForSelectListWithNumberOutput(newModel);
|
|
433
|
+
break;
|
|
434
|
+
case this.modes.Slider:
|
|
435
|
+
case this.modes.NullableSlider:
|
|
436
|
+
this._readModelForSliderMode(newModel);
|
|
437
|
+
break;
|
|
438
|
+
case this.modes.CheckboxToText:
|
|
439
|
+
case this.modes.CheckboxToSimpleText:
|
|
440
|
+
this._readModelForCheckboxToText(newModel);
|
|
441
|
+
break;
|
|
442
|
+
case this.modes.CheckboxToBinary:
|
|
443
|
+
this._readModelForCheckboxToBinary(newModel);
|
|
444
|
+
break;
|
|
445
|
+
case this.modes.DateField:
|
|
446
|
+
this._readModelForDateField(newModel);
|
|
447
|
+
break;
|
|
448
|
+
case this.modes.DateRangeField:
|
|
449
|
+
this._readModelForDateRangeField(newModel);
|
|
450
|
+
break;
|
|
451
|
+
default:
|
|
452
|
+
this._model = newModel;
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
/////////////////////////////////////////////////////////////
|
|
456
|
+
//Model creation for all of the different options available//
|
|
457
|
+
/////////////////////////////////////////////////////////////
|
|
458
|
+
private _createModelForFilterList(): void {
|
|
459
|
+
let filterRange: string[] = [];
|
|
460
|
+
if (this.collection !== null && this.collection !== undefined) {
|
|
461
|
+
this.collection.forEach((viewModel: FilterItemViewmodel) => {
|
|
462
|
+
if (viewModel.checked) {
|
|
463
|
+
filterRange.push(`?='${viewModel.code}'`);
|
|
464
|
+
}
|
|
465
|
+
});
|
|
466
|
+
if (filterRange.length > 0) {
|
|
467
|
+
this._model = filterRange.join(',');
|
|
468
|
+
} else {
|
|
469
|
+
this._model = undefined;
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
private _createModelForStringCollectionList(): void {
|
|
475
|
+
let filterRange: string[] = [];
|
|
476
|
+
this.collection.forEach((viewModel: FilterItemViewmodel) => {
|
|
477
|
+
if (viewModel.checked) {
|
|
478
|
+
filterRange.push(viewModel.code.toString());
|
|
479
|
+
}
|
|
480
|
+
});
|
|
481
|
+
if (filterRange.length > 0) {
|
|
482
|
+
this._model = filterRange;
|
|
483
|
+
} else {
|
|
484
|
+
this._model = undefined;
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
private _createModelForSingleSelectList(): void {
|
|
489
|
+
let filterString: string = "";
|
|
490
|
+
this.collection.forEach((viewModel: FilterItemViewmodel) => {
|
|
491
|
+
if (viewModel.checked) {
|
|
492
|
+
filterString = viewModel.code.toString();
|
|
493
|
+
}
|
|
494
|
+
});
|
|
495
|
+
if (filterString.length > 0) {
|
|
496
|
+
this._model = filterString;
|
|
497
|
+
} else {
|
|
498
|
+
this._model = undefined;
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
private _createModelForSelectListWithNumberOutput(): void {
|
|
503
|
+
let filterNumber: number = null;
|
|
504
|
+
this.collection.forEach((viewModel: FilterItemViewmodel) => {
|
|
505
|
+
if (viewModel.checked) {
|
|
506
|
+
if (filterNumber == null) {
|
|
507
|
+
filterNumber = 0;
|
|
508
|
+
}
|
|
509
|
+
filterNumber += Number(viewModel.code);
|
|
510
|
+
}
|
|
511
|
+
});
|
|
512
|
+
this._model = filterNumber;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
private _createModelForSliderMode(): void {
|
|
516
|
+
this.sliderMin = !!this.sliderMin ? this.sliderMin : this.sliderDefaultMin;
|
|
517
|
+
this.sliderMax = !!this.sliderMax ? this.sliderMax : this.sliderDefaultMax;
|
|
518
|
+
|
|
519
|
+
let trueLowerBound = Math.min(this.sliderMin, this.sliderMax);
|
|
520
|
+
let trueUpperBound = Math.max(this.sliderMin, this.sliderMax);
|
|
521
|
+
|
|
522
|
+
this.sliderMin = trueLowerBound;
|
|
523
|
+
this.sliderMax = trueUpperBound;
|
|
524
|
+
this._model = `${trueLowerBound} - ${trueUpperBound}`;
|
|
525
|
+
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
private _createModelForNullableSliderMode(): void {
|
|
529
|
+
|
|
530
|
+
if (this.sliderMin && this.sliderMax) {
|
|
531
|
+
let trueLowerBound = Math.min(this.sliderMin, this.sliderMax);
|
|
532
|
+
let trueUpperBound = Math.max(this.sliderMin, this.sliderMax);
|
|
533
|
+
|
|
534
|
+
this._model = `${trueLowerBound} - ${trueUpperBound}`;
|
|
535
|
+
} else {
|
|
536
|
+
this._model = null;
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
private _createModelForCheckboxToText(): void {
|
|
541
|
+
if (this.checkBoxToTextModel) {
|
|
542
|
+
this._model = "?='J'";
|
|
543
|
+
} else {
|
|
544
|
+
this._model = "?='N'";
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
private _createModelForCheckboxToSimpleText(): void {
|
|
549
|
+
if (this.checkBoxToTextModel) {
|
|
550
|
+
this._model = "J";
|
|
551
|
+
} else {
|
|
552
|
+
this._model = "N";
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
private _createModelForCheckboxToBinary(): void {
|
|
557
|
+
if (this.checkBoxToTextModel) {
|
|
558
|
+
this._model = 1;
|
|
559
|
+
} else {
|
|
560
|
+
this._model = 0;
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
private _createModelForDateRange(dates: Date[]): void {
|
|
565
|
+
if (dates) {
|
|
566
|
+
let startDate = dates[0];
|
|
567
|
+
let endDate = dates[1];
|
|
568
|
+
|
|
569
|
+
const startDateRequest = startDate ? this._formatDateToString(startDate) : '';
|
|
570
|
+
const endDateRequest = endDate ? this._formatDateToString(endDate) : '';
|
|
571
|
+
|
|
572
|
+
this._model = `?>=\'${startDateRequest}\'& ?<=\'${endDateRequest}\'`;
|
|
573
|
+
}
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
private _formatDateToString(date: Date): string {
|
|
577
|
+
let day = date.getDate().toString().padStart(2, '0');
|
|
578
|
+
let month = (date.getMonth() + 1).toString().padStart(2, '0');
|
|
579
|
+
let year = date.getFullYear();
|
|
580
|
+
|
|
581
|
+
return `${day}-${month}-${year}`;
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
////////////////////////////////////////////////////////////
|
|
585
|
+
//Model reading for all of the different options available//
|
|
586
|
+
////////////////////////////////////////////////////////////
|
|
587
|
+
private _readModelForFilterList(filterModel: string): void {
|
|
588
|
+
let filterList: string[] = [];
|
|
589
|
+
let itemsToCheck: string[] = [];
|
|
590
|
+
this._uncheckAll();
|
|
591
|
+
this._model = filterModel;
|
|
592
|
+
|
|
593
|
+
if (filterModel !== null && filterModel !== undefined && typeof filterModel === 'string' && filterModel.length != 0 && this.collection !== null && this.collection !== undefined) {
|
|
594
|
+
filterList = filterModel.split(",")
|
|
595
|
+
filterList.forEach((filter: string) => {
|
|
596
|
+
itemsToCheck.push(filter.substr(3, filter.length - 4));
|
|
597
|
+
});
|
|
598
|
+
|
|
599
|
+
for (const item of itemsToCheck) {
|
|
600
|
+
let filter = this.collection.find(element => element.code.toString() === item);
|
|
601
|
+
if (filter !== null && filter !== undefined) {
|
|
602
|
+
filter.checked = true;
|
|
603
|
+
}
|
|
604
|
+
}
|
|
605
|
+
this._model = filterModel;
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
private _readModelForSingleSelectList(singleSelectModel: string) {
|
|
611
|
+
this._uncheckAll();
|
|
612
|
+
this._model = singleSelectModel;
|
|
613
|
+
|
|
614
|
+
if (singleSelectModel !== null && singleSelectModel !== undefined && this.collection !== null && this.collection !== undefined) {
|
|
615
|
+
let filter = this.collection.find(element => element.code.toString() === singleSelectModel);
|
|
616
|
+
if (filter !== null && filter !== undefined) {
|
|
617
|
+
filter.checked = true;
|
|
618
|
+
}
|
|
619
|
+
}
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
private _readModelForStringCollectionList(collectionModel: string[]): void {
|
|
623
|
+
this._uncheckAll();
|
|
624
|
+
this._model = collectionModel;
|
|
625
|
+
|
|
626
|
+
if (collectionModel !== null && collectionModel !== undefined && this.collection !== null && this.collection !== undefined) {
|
|
627
|
+
this.collection.forEach((viewModel: FilterItemViewmodel) => {
|
|
628
|
+
if (collectionModel.indexOf(viewModel.code.toString()) > -1) {
|
|
629
|
+
viewModel.checked = true;
|
|
630
|
+
} else {
|
|
631
|
+
viewModel.checked = false;
|
|
632
|
+
}
|
|
633
|
+
});
|
|
634
|
+
}
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
private _readModelForSelectListWithNumberOutput(numberModel: number) {
|
|
638
|
+
this._uncheckAll();
|
|
639
|
+
this._model = numberModel;
|
|
640
|
+
|
|
641
|
+
if (numberModel !== null && numberModel !== undefined && this.collection !== null && this.collection !== undefined) {
|
|
642
|
+
for (const item of this.collection) {
|
|
643
|
+
const itemCode: number = item.code as number;
|
|
644
|
+
const modValue = (numberModel % (2 * itemCode));
|
|
645
|
+
item.checked = (modValue >= itemCode);
|
|
646
|
+
}
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
private _uncheckAll() {
|
|
651
|
+
if (this.collection !== null && this.collection !== undefined) {
|
|
652
|
+
this.collection.forEach(m => {
|
|
653
|
+
m.checked = false;
|
|
654
|
+
});
|
|
655
|
+
}
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
private _readModelForSliderMode(sliderModel: string): void {
|
|
659
|
+
this._model = sliderModel;
|
|
660
|
+
if (sliderModel !== undefined && sliderModel !== null) {
|
|
661
|
+
let sliderInputCollection = sliderModel.split(' - ');
|
|
662
|
+
this.sliderMin = parseInt(sliderInputCollection[0]);
|
|
663
|
+
this.sliderMax = parseInt(sliderInputCollection[1]);
|
|
664
|
+
} else {
|
|
665
|
+
this.sliderMin = this.sliderDefaultMin;
|
|
666
|
+
this.sliderMax = this.sliderDefaultMax;
|
|
667
|
+
}
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
private _readModelForCheckboxToText(checkboxToTextModel: string): void {
|
|
671
|
+
this._model = checkboxToTextModel;
|
|
672
|
+
if (checkboxToTextModel !== undefined && checkboxToTextModel !== null) {
|
|
673
|
+
this.checkBoxToTextModel = (checkboxToTextModel.indexOf('J') > -1);
|
|
674
|
+
} else {
|
|
675
|
+
this.checkBoxToTextModel = false;
|
|
676
|
+
}
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
private _readModelForCheckboxToBinary(checkboxToBinary: number): void {
|
|
680
|
+
this._model = checkboxToBinary;
|
|
681
|
+
if (checkboxToBinary !== undefined && checkboxToBinary !== null) {
|
|
682
|
+
this.checkBoxToTextModel = (checkboxToBinary >= 1);
|
|
683
|
+
} else {
|
|
684
|
+
this.checkBoxToTextModel = false;
|
|
685
|
+
}
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
private _readModelForDateField(dateFieldModel: string): void {
|
|
689
|
+
this._model = dateFieldModel;
|
|
690
|
+
if (dateFieldModel !== undefined && dateFieldModel !== null) {
|
|
691
|
+
this._model = new Date(dateFieldModel);
|
|
692
|
+
} else {
|
|
693
|
+
this._model = undefined;
|
|
694
|
+
}
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
private _readModelForDateRangeField(dateRangeFieldModel: string): void {
|
|
698
|
+
this._model = dateRangeFieldModel;
|
|
699
|
+
if (dateRangeFieldModel !== undefined && dateRangeFieldModel !== null) {
|
|
700
|
+
let dateCollection = dateRangeFieldModel.split('&');
|
|
701
|
+
|
|
702
|
+
let startString = dateCollection[0].trim().substr(4, dateCollection[0].length - 5);
|
|
703
|
+
let endString = dateCollection[1].trim().substr(4, dateCollection[1].length - 5);
|
|
704
|
+
|
|
705
|
+
let startDateComponents = startString.split('-');
|
|
706
|
+
let endDateComponents = endString.split('-');
|
|
707
|
+
|
|
708
|
+
this.dateRangeStart = new Date(parseInt(startDateComponents[2]), parseInt(startDateComponents[1]) - 1, parseInt(startDateComponents[0]));
|
|
709
|
+
this.dateRangeEnd = new Date(parseInt(endDateComponents[2]), parseInt(endDateComponents[1]) - 1, parseInt(endDateComponents[0]));
|
|
710
|
+
} else {
|
|
711
|
+
this.dateRangeStart = undefined;
|
|
712
|
+
this.dateRangeEnd = undefined;
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
}
|