@colijnit/corecomponents_v12 254.1.9 → 255.1.1

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.
Files changed (1291) hide show
  1. package/.browserslistrc +17 -0
  2. package/.editorconfig +16 -0
  3. package/.idea/CoreComponents_v12.iml +12 -0
  4. package/.idea/jpa-buddy.xml +6 -0
  5. package/.idea/misc.xml +9 -0
  6. package/.idea/modules.xml +8 -0
  7. package/.idea/vcs.xml +6 -0
  8. package/CoreComponents_v12.iml +12 -0
  9. package/README.md +12 -9
  10. package/angular.json +146 -0
  11. package/dist/corecomponentstest/favicon.ico +0 -0
  12. package/dist/corecomponentstest/index.html +13 -0
  13. package/dist/corecomponentstest/main.js +24644 -0
  14. package/dist/corecomponentstest/main.js.map +1 -0
  15. package/dist/corecomponentstest/polyfills.js +2891 -0
  16. package/dist/corecomponentstest/polyfills.js.map +1 -0
  17. package/dist/corecomponentstest/runtime.js +161 -0
  18. package/dist/corecomponentstest/runtime.js.map +1 -0
  19. package/dist/corecomponentstest/styles.css +3075 -0
  20. package/dist/corecomponentstest/styles.css.map +1 -0
  21. package/dist/corecomponentstest/vendor.js +147126 -0
  22. package/dist/corecomponentstest/vendor.js.map +1 -0
  23. package/karma.conf.js +44 -0
  24. package/move-assets.js +14 -0
  25. package/package.json +44 -23
  26. package/projects/corecomponents/README.md +24 -0
  27. package/projects/corecomponents/karma.conf.js +44 -0
  28. package/projects/corecomponents/ng-package.json +10 -0
  29. package/projects/corecomponents/package-lock.json +13 -0
  30. package/projects/corecomponents/package.json +20 -0
  31. package/projects/corecomponents/src/lib/components/article-tile/article-tile.component.ts +96 -0
  32. package/projects/corecomponents/src/lib/components/article-tile/article-tile.module.ts +34 -0
  33. package/projects/corecomponents/src/lib/components/base/base-input.component.ts +988 -0
  34. package/projects/corecomponents/src/lib/components/base/base.module.ts +22 -0
  35. package/projects/corecomponents/src/lib/components/base/commit-buttons/commit-buttons.component.ts +120 -0
  36. package/projects/corecomponents/src/lib/components/base/commit-buttons/commit-buttons.module.ts +19 -0
  37. package/projects/corecomponents/src/lib/components/base/dialog-base.component.ts +8 -0
  38. package/projects/corecomponents/src/lib/components/base-input-date-picker/base-input-date-picker.directive.ts +32 -0
  39. package/projects/corecomponents/src/lib/components/base-input-time/base-input-time-directive.ts +31 -0
  40. package/projects/corecomponents/src/lib/components/button/button.component.ts +117 -0
  41. package/projects/corecomponents/src/lib/components/button/button.module.ts +18 -0
  42. package/projects/corecomponents/src/lib/components/calendar/calendar-template.component.ts +392 -0
  43. package/projects/corecomponents/src/lib/components/calendar/calendar.component.ts +54 -0
  44. package/projects/corecomponents/src/lib/components/calendar/calendar.module.ts +26 -0
  45. package/projects/corecomponents/src/lib/components/card/card.component.ts +94 -0
  46. package/projects/corecomponents/src/lib/components/card/card.module.ts +34 -0
  47. package/projects/corecomponents/src/lib/components/carousel/carousel.component.ts +128 -0
  48. package/projects/corecomponents/src/lib/components/carousel/carousel.module.ts +28 -0
  49. package/projects/corecomponents/src/lib/components/carousel-3d/carousel-3d.component.ts +392 -0
  50. package/projects/corecomponents/src/lib/components/carousel-3d/carousel-3d.module.ts +17 -0
  51. package/projects/corecomponents/src/lib/components/carousel-3d/carouselItem.ts +77 -0
  52. package/projects/corecomponents/src/lib/components/checkmark-overlay/checkmark-overlay.component.ts +99 -0
  53. package/projects/corecomponents/src/lib/components/checkmark-overlay/checkmark-overlay.module.ts +18 -0
  54. package/projects/corecomponents/src/lib/components/co-dialog/animation.ts +2 -0
  55. package/projects/corecomponents/src/lib/components/co-dialog/co-dialog.component.ts +130 -0
  56. package/projects/corecomponents/src/lib/components/co-dialog/co-dialog.module.ts +17 -0
  57. package/projects/corecomponents/src/lib/components/co-dialog-wizard/co-dialog-wizard.component.ts +50 -0
  58. package/projects/corecomponents/src/lib/components/co-dialog-wizard/co-dialog-wizard.module.ts +15 -0
  59. package/projects/corecomponents/src/lib/components/collapsible/collapsible.component.ts +114 -0
  60. package/projects/corecomponents/src/lib/components/collapsible/collapsible.module.ts +17 -0
  61. package/projects/corecomponents/src/lib/components/color-picker/color-picker.component.ts +40 -0
  62. package/projects/corecomponents/src/lib/components/color-picker/color-picker.module.ts +19 -0
  63. package/projects/corecomponents/src/lib/components/core-dialog/confirmation-dialog/confirmation-dialog.component.ts +86 -0
  64. package/projects/corecomponents/src/lib/components/core-dialog/core-dialog.module.ts +37 -0
  65. package/projects/corecomponents/src/lib/components/core-dialog/core-dialog.service.ts +61 -0
  66. package/projects/corecomponents/src/lib/components/core-dialog/core-dynamic-component.service.ts +101 -0
  67. package/projects/corecomponents/src/lib/components/double-calendar/double-calendar.component.ts +102 -0
  68. package/projects/corecomponents/src/lib/components/double-calendar/double-calendar.module.ts +23 -0
  69. package/projects/corecomponents/src/lib/components/filter-item/filter-item-viewmodel.ts +20 -0
  70. package/projects/corecomponents/src/lib/components/filter-item/filter-item.component.ts +715 -0
  71. package/projects/corecomponents/src/lib/components/filter-item/filter-item.module.ts +42 -0
  72. package/projects/corecomponents/src/lib/components/filter-item/filter-viewmodel.ts +11 -0
  73. package/projects/corecomponents/src/lib/components/form/form.component.ts +211 -0
  74. package/projects/corecomponents/src/lib/components/form/form.module.ts +22 -0
  75. package/projects/corecomponents/src/lib/components/grid-toolbar/grid-toolbar.component.ts +62 -0
  76. package/projects/corecomponents/src/lib/components/grid-toolbar/grid-toolbar.module.ts +21 -0
  77. package/projects/corecomponents/src/lib/components/grid-toolbar-button/grid-toolbar-button.component.ts +28 -0
  78. package/projects/corecomponents/src/lib/components/grid-toolbar-button/grid-toolbar-button.module.ts +17 -0
  79. package/projects/corecomponents/src/lib/components/icon/icon-cache.service.ts +57 -0
  80. package/projects/corecomponents/src/lib/components/icon/icon.component.ts +54 -0
  81. package/projects/corecomponents/src/lib/components/icon/icon.module.ts +24 -0
  82. package/projects/corecomponents/src/lib/components/icon-collapse-handle/icon-collapse-handle.component.ts +75 -0
  83. package/projects/corecomponents/src/lib/components/icon-collapse-handle/icon-collapse-handle.module.ts +21 -0
  84. package/projects/corecomponents/src/lib/components/image/image.component.ts +51 -0
  85. package/projects/corecomponents/src/lib/components/image/image.module.ts +12 -0
  86. package/projects/corecomponents/src/lib/components/input-checkbox/input-checkbox.component.ts +85 -0
  87. package/projects/corecomponents/src/lib/components/input-checkbox/input-checkbox.module.ts +17 -0
  88. package/projects/corecomponents/src/lib/components/input-date-picker/input-date-picker.component.ts +103 -0
  89. package/projects/corecomponents/src/lib/components/input-date-picker/input-date-picker.module.ts +24 -0
  90. package/projects/corecomponents/src/lib/components/input-date-range-picker/input-date-range-picker.component.ts +155 -0
  91. package/projects/corecomponents/src/lib/components/input-date-range-picker/input-date-range-picker.module.ts +25 -0
  92. package/projects/corecomponents/src/lib/components/input-number-picker/input-number-picker.component.ts +378 -0
  93. package/projects/corecomponents/src/lib/components/input-number-picker/input-number-picker.module.ts +20 -0
  94. package/projects/corecomponents/src/lib/components/input-radio-button/input-radio-button.component.ts +86 -0
  95. package/projects/corecomponents/src/lib/components/input-radio-button/input-radio-button.module.ts +17 -0
  96. package/projects/corecomponents/src/lib/components/input-scanner/bar-code-scanner.ts +25 -0
  97. package/projects/corecomponents/src/lib/components/input-scanner/input-scanner.component.ts +89 -0
  98. package/projects/corecomponents/src/lib/components/input-scanner/input-scanner.module.ts +19 -0
  99. package/projects/corecomponents/src/lib/components/input-scanner/scanner.service.ts +28 -0
  100. package/projects/corecomponents/src/lib/components/input-search/input-search.component.ts +90 -0
  101. package/projects/corecomponents/src/lib/components/input-search/input-search.module.ts +20 -0
  102. package/projects/corecomponents/src/lib/components/input-text/input-text.component.ts +307 -0
  103. package/projects/corecomponents/src/lib/components/input-text/input-text.module.ts +31 -0
  104. package/projects/corecomponents/src/lib/components/input-textarea/input-textarea.component.ts +81 -0
  105. package/projects/corecomponents/src/lib/components/input-textarea/input-textarea.module.ts +25 -0
  106. package/projects/corecomponents/src/lib/components/input-time/input-time.component.ts +72 -0
  107. package/projects/corecomponents/src/lib/components/input-time/input-time.module.ts +22 -0
  108. package/projects/corecomponents/src/lib/components/level-indicator/level-indicator-level.enum.ts +5 -0
  109. package/projects/corecomponents/src/lib/components/level-indicator/level-indicator.component.ts +42 -0
  110. package/projects/corecomponents/src/lib/components/level-indicator/level-indicator.module.ts +13 -0
  111. package/projects/corecomponents/src/lib/components/list-of-icons/list-of-icons.component.ts +68 -0
  112. package/projects/corecomponents/src/lib/components/list-of-icons/list-of-icons.module.ts +22 -0
  113. package/projects/corecomponents/src/lib/components/list-of-icons/style/_layout.scss +84 -0
  114. package/projects/corecomponents/src/lib/components/list-of-values/list-of-values-multiselect-popup.component.ts +132 -0
  115. package/projects/corecomponents/src/lib/components/list-of-values/list-of-values-popup.component.ts +291 -0
  116. package/projects/corecomponents/src/lib/components/list-of-values/list-of-values.component.ts +257 -0
  117. package/projects/corecomponents/src/lib/components/list-of-values/list-of-values.module.ts +35 -0
  118. package/projects/corecomponents/src/lib/components/loader/loader.component.ts +82 -0
  119. package/projects/corecomponents/src/lib/components/loader/loader.module.ts +17 -0
  120. package/projects/corecomponents/src/lib/components/pagination/paginate.pipe.ts +116 -0
  121. package/projects/corecomponents/src/lib/components/pagination/pagination-instance.ts +18 -0
  122. package/projects/corecomponents/src/lib/components/pagination/pagination.component.ts +160 -0
  123. package/projects/corecomponents/src/lib/components/pagination/pagination.module.ts +26 -0
  124. package/projects/corecomponents/src/lib/components/pagination/pagination.service.ts +99 -0
  125. package/projects/corecomponents/src/lib/components/pagination-bar/pagination-bar.component.ts +178 -0
  126. package/projects/corecomponents/src/lib/components/pagination-bar/pagination-bar.module.ts +17 -0
  127. package/projects/corecomponents/src/lib/components/popup/const/popup-window-token.ts +4 -0
  128. package/projects/corecomponents/src/lib/components/popup/interface/popup-button.ts +14 -0
  129. package/projects/corecomponents/src/lib/components/popup/interface/popup-close-event.ts +8 -0
  130. package/projects/corecomponents/src/lib/components/popup/interface/popup-settings.ts +70 -0
  131. package/projects/corecomponents/src/lib/components/popup/interface/popup.ts +17 -0
  132. package/projects/corecomponents/src/lib/components/popup/model/popup-button-globals.ts +11 -0
  133. package/projects/corecomponents/src/lib/components/popup/model/popup-window.ts +51 -0
  134. package/projects/corecomponents/src/lib/components/popup/popup-buttons.component.ts +61 -0
  135. package/projects/corecomponents/src/lib/components/popup/popup-message-display.component.ts +49 -0
  136. package/projects/corecomponents/src/lib/components/popup/popup-window-shell.component.ts +222 -0
  137. package/projects/corecomponents/src/lib/components/popup/popup.module.ts +48 -0
  138. package/projects/corecomponents/src/lib/components/popup/service/popup-shower.service.ts +98 -0
  139. package/projects/corecomponents/src/lib/components/popup/service/prompt.service.ts +127 -0
  140. package/projects/corecomponents/src/lib/components/popup/text-input-popup.component.ts +36 -0
  141. package/projects/corecomponents/src/lib/components/responsive-text/responsive-text.component.ts +24 -0
  142. package/projects/corecomponents/src/lib/components/responsive-text/responsive-text.module.ts +17 -0
  143. package/projects/corecomponents/src/lib/components/simple-grid/base-simple-grid.component.ts +196 -0
  144. package/projects/corecomponents/src/lib/components/simple-grid/simple-grid-cell.component.ts +192 -0
  145. package/projects/corecomponents/src/lib/components/simple-grid/simple-grid-column.directive.ts +146 -0
  146. package/projects/corecomponents/src/lib/components/simple-grid/simple-grid.component.ts +645 -0
  147. package/projects/corecomponents/src/lib/components/simple-grid/simple-grid.module.ts +42 -0
  148. package/projects/corecomponents/src/lib/components/tile/tile.component.ts +71 -0
  149. package/projects/corecomponents/src/lib/components/tile/tile.module.ts +21 -0
  150. package/projects/corecomponents/src/lib/components/tile-select/tile-select.component.ts +36 -0
  151. package/projects/corecomponents/src/lib/components/tile-select/tile-select.module.ts +19 -0
  152. package/projects/corecomponents/src/lib/components/tooltip/tooltip.component.ts +96 -0
  153. package/projects/corecomponents/src/lib/components/tooltip/tooltip.module.ts +17 -0
  154. package/projects/corecomponents/src/lib/components/validation-error/validation-error.component.ts +45 -0
  155. package/projects/corecomponents/src/lib/components/validation-error/validation-error.module.ts +24 -0
  156. package/projects/corecomponents/src/lib/components/view-mode-buttons/content-view-mode.enum.ts +9 -0
  157. package/projects/corecomponents/src/lib/components/view-mode-buttons/view-mode-buttons.component.ts +63 -0
  158. package/projects/corecomponents/src/lib/components/view-mode-buttons/view-mode-buttons.module.ts +19 -0
  159. package/projects/corecomponents/src/lib/core/abstract/collection-based-component.ts +488 -0
  160. package/projects/corecomponents/src/lib/core/config/device-environment.ts +26 -0
  161. package/projects/corecomponents/src/lib/core/constant/default-upper-bound-for-range-components.ts +4 -0
  162. package/projects/corecomponents/src/lib/core/constant/java-max-int.ts +1 -0
  163. package/projects/corecomponents/src/lib/core/constant/number-inputs-key-down-white-list.ts +46 -0
  164. package/projects/corecomponents/src/lib/core/decorator/input-boolean.decorator.ts +35 -0
  165. package/projects/corecomponents/src/lib/core/enum/co-direction.ts +7 -0
  166. package/projects/corecomponents/src/lib/core/enum/co-document-image-display-kind.enum.ts +5 -0
  167. package/projects/corecomponents/src/lib/core/enum/co-document-type.enum.ts +9 -0
  168. package/projects/corecomponents/src/lib/core/enum/co-orientation.ts +18 -0
  169. package/projects/corecomponents/src/lib/core/enum/collection-based-component-input-driver-prop.enum.ts +10 -0
  170. package/projects/corecomponents/src/lib/core/enum/color-sequence-name.enum.ts +5 -0
  171. package/projects/corecomponents/src/lib/core/enum/core-components-icon.enum.ts +299 -0
  172. package/projects/corecomponents/src/lib/core/enum/file-type-internal.enum.ts +15 -0
  173. package/projects/corecomponents/src/lib/core/enum/file-type.enum.ts +9 -0
  174. package/projects/corecomponents/src/lib/core/enum/filterItem-mode.enum.ts +57 -0
  175. package/projects/corecomponents/src/lib/core/enum/float-label-type.enum.ts +5 -0
  176. package/projects/corecomponents/src/lib/core/enum/input-number-picker-show-mode.enum.ts +6 -0
  177. package/projects/corecomponents/src/lib/core/enum/input-text-type.enum.ts +4 -0
  178. package/projects/corecomponents/src/lib/core/enum/keyboard-code.enum.ts +72 -0
  179. package/projects/corecomponents/src/lib/core/enum/keyboard-key.enum.ts +78 -0
  180. package/projects/corecomponents/src/lib/core/enum/logical-operator-type.enum.ts +5 -0
  181. package/projects/corecomponents/src/lib/core/enum/object-right-type.enum.ts +5 -0
  182. package/projects/corecomponents/src/lib/core/enum/popup-button-type.enum.ts +10 -0
  183. package/projects/corecomponents/src/lib/core/enum/popup-type.enum.ts +9 -0
  184. package/projects/corecomponents/src/lib/core/enum/schedule-view.enum.ts +14 -0
  185. package/projects/corecomponents/src/lib/core/enum/search-data-type.ts +4 -0
  186. package/projects/corecomponents/src/lib/core/enum/search-property-state.ts +5 -0
  187. package/projects/corecomponents/src/lib/core/enum/sort-data-type.ts +6 -0
  188. package/projects/corecomponents/src/lib/core/enum/sort-direction.ts +9 -0
  189. package/projects/corecomponents/src/lib/core/enum/table-name.enum.ts +79 -0
  190. package/projects/corecomponents/src/lib/core/enum/value-comparison-type.ts +11 -0
  191. package/projects/corecomponents/src/lib/core/function/any-nill.function.ts +6 -0
  192. package/projects/corecomponents/src/lib/core/function/is-nill.function.ts +4 -0
  193. package/projects/corecomponents/src/lib/core/function/none-nill.function.ts +16 -0
  194. package/projects/corecomponents/src/lib/core/function/not-nill.function.ts +4 -0
  195. package/projects/corecomponents/src/lib/core/interface/search-property.ts +15 -0
  196. package/projects/corecomponents/src/lib/core/interface/sort-property.ts +16 -0
  197. package/projects/corecomponents/src/lib/core/model/bounds-constrained-number-value.ts +222 -0
  198. package/projects/corecomponents/src/lib/core/model/check-precision-and-scale-result.ts +5 -0
  199. package/projects/corecomponents/src/lib/core/model/check-within-stepped-bounds-result.ts +8 -0
  200. package/projects/corecomponents/src/lib/core/model/co-document-right.bo.ts +9 -0
  201. package/projects/corecomponents/src/lib/core/model/co-document.bo.ts +193 -0
  202. package/projects/corecomponents/src/lib/core/model/color-sequence.ts +39 -0
  203. package/projects/corecomponents/src/lib/core/model/color.ts +29 -0
  204. package/projects/corecomponents/src/lib/core/model/core-components-icon-svg.ts +299 -0
  205. package/projects/corecomponents/src/lib/core/model/element-position.ts +14 -0
  206. package/projects/corecomponents/src/lib/core/model/event/number-prompt-result-event.ts +10 -0
  207. package/projects/corecomponents/src/lib/core/model/event/string-prompt-result-event.ts +10 -0
  208. package/projects/corecomponents/src/lib/core/model/numerical-range.ts +19 -0
  209. package/projects/corecomponents/src/lib/core/service/form-input-user-change-listener.service.ts +31 -0
  210. package/projects/corecomponents/src/lib/core/service/form-master.service.ts +119 -0
  211. package/projects/corecomponents/src/lib/core/service/ng-zone-wrapper.service.ts +15 -0
  212. package/projects/corecomponents/src/lib/core/utils/array-utils.spec.ts +588 -0
  213. package/projects/corecomponents/src/lib/core/utils/array-utils.ts +301 -0
  214. package/projects/corecomponents/src/lib/core/utils/browser-utils.ts +123 -0
  215. package/projects/corecomponents/src/lib/core/utils/business-object-utils.ts +42 -0
  216. package/projects/corecomponents/src/lib/core/utils/css-utils.ts +276 -0
  217. package/projects/corecomponents/src/lib/core/utils/direction-enum-utils.ts +15 -0
  218. package/projects/corecomponents/src/lib/core/utils/element-ref.utils.ts +12 -0
  219. package/projects/corecomponents/src/lib/core/utils/event-utils.ts +61 -0
  220. package/projects/corecomponents/src/lib/core/utils/file-utils.ts +291 -0
  221. package/projects/corecomponents/src/lib/core/utils/number-utils.spec.ts +657 -0
  222. package/projects/corecomponents/src/lib/core/utils/number-utils.ts +350 -0
  223. package/projects/corecomponents/src/lib/core/utils/object-utils.ts +205 -0
  224. package/projects/corecomponents/src/lib/core/utils/parameter-value-conversion-utils.ts +116 -0
  225. package/projects/corecomponents/src/lib/core/utils/search-utils.ts +121 -0
  226. package/projects/corecomponents/src/lib/core/utils/sort-utils.ts +108 -0
  227. package/projects/corecomponents/src/lib/core/utils/string-utils.ts +100 -0
  228. package/projects/corecomponents/src/lib/core/validator/email.validator.ts +10 -0
  229. package/projects/corecomponents/src/lib/core/validator/equal.validator.ts +14 -0
  230. package/projects/corecomponents/src/lib/core/validator/max-string-length.validator.ts +11 -0
  231. package/projects/corecomponents/src/lib/core/validator/password.validator.ts +35 -0
  232. package/projects/corecomponents/src/lib/core/validator/precision-scale.validator.ts +14 -0
  233. package/projects/corecomponents/src/lib/core/validator/required.validator.ts +9 -0
  234. package/projects/corecomponents/src/lib/directives/align-with/align-with.directive.ts +158 -0
  235. package/projects/corecomponents/src/lib/directives/align-with/align-with.module.ts +13 -0
  236. package/projects/corecomponents/src/lib/directives/clickoutside/click-outside-master.service.ts +64 -0
  237. package/projects/corecomponents/src/lib/directives/clickoutside/click-outside.directive.ts +72 -0
  238. package/projects/corecomponents/src/lib/directives/clickoutside/clickoutside.module.ts +17 -0
  239. package/projects/corecomponents/src/lib/directives/observe-visibility/observe-visibility.directive.ts +55 -0
  240. package/projects/corecomponents/src/lib/directives/observe-visibility/observe-visibility.module.ts +13 -0
  241. package/projects/corecomponents/src/lib/directives/overlay/overlay-parent.directive.ts +20 -0
  242. package/projects/corecomponents/src/lib/directives/overlay/overlay.directive.ts +170 -0
  243. package/projects/corecomponents/src/lib/directives/overlay/overlay.module.ts +16 -0
  244. package/projects/corecomponents/src/lib/directives/parsevalue/parse-value.directive.ts +42 -0
  245. package/projects/corecomponents/src/lib/directives/parsevalue/parse-value.module.ts +13 -0
  246. package/projects/corecomponents/src/lib/directives/resize/resize-detect.directive.ts +54 -0
  247. package/projects/corecomponents/src/lib/directives/resize/resize-detect.module.ts +13 -0
  248. package/projects/corecomponents/src/lib/directives/ripple/ripple-ref.ts +28 -0
  249. package/projects/corecomponents/src/lib/directives/ripple/ripple-renderer.ts +217 -0
  250. package/projects/corecomponents/src/lib/directives/ripple/ripple.directive.ts +116 -0
  251. package/projects/corecomponents/src/lib/directives/ripple/ripple.module.ts +24 -0
  252. package/projects/corecomponents/src/lib/directives/ripple/scroll-dispatcher.service.ts +129 -0
  253. package/projects/corecomponents/src/lib/directives/ripple/scrollable.directive.ts +37 -0
  254. package/projects/corecomponents/src/lib/directives/ripple/viewport-ruler.service.ts +84 -0
  255. package/projects/corecomponents/src/lib/directives/screen-configuration/screen-configuration.directive.ts +170 -0
  256. package/projects/corecomponents/src/lib/directives/screen-configuration/screen-configuration.module.ts +16 -0
  257. package/projects/corecomponents/src/lib/directives/stopclick/stop-click.directive.ts +35 -0
  258. package/projects/corecomponents/src/lib/directives/stopclick/stop-click.module.ts +14 -0
  259. package/projects/corecomponents/src/lib/directives/template-wrapper/template-wrapper.directive.ts +71 -0
  260. package/projects/corecomponents/src/lib/directives/template-wrapper/template-wrapper.module.ts +13 -0
  261. package/projects/corecomponents/src/lib/directives/tooltip/tooltip-directive.module.ts +17 -0
  262. package/projects/corecomponents/src/lib/directives/tooltip/tooltip.directive.ts +94 -0
  263. package/projects/corecomponents/src/lib/interfaces/dialog-response.interface.ts +7 -0
  264. package/projects/corecomponents/src/lib/interfaces/lov-options.component.interface.ts +4 -0
  265. package/projects/corecomponents/src/lib/interfaces/screen-config-adapter-component-interface-name.ts +6 -0
  266. package/projects/corecomponents/src/lib/interfaces/screen-config-adapter.component.interface.ts +10 -0
  267. package/projects/corecomponents/src/lib/model/data-item.ts +9 -0
  268. package/projects/corecomponents/src/lib/model/enum/app-button-type.enum.ts +9 -0
  269. package/projects/corecomponents/src/lib/model/enum/app-popup-type.enum.ts +6 -0
  270. package/projects/corecomponents/src/lib/model/enum/currency-code.enum.ts +7 -0
  271. package/projects/corecomponents/src/lib/model/enum/language-code.enum.ts +8 -0
  272. package/projects/corecomponents/src/lib/model/icon-list-item.ts +7 -0
  273. package/projects/corecomponents/src/lib/model/map/currencies.map.ts +6 -0
  274. package/projects/corecomponents/src/lib/modules/drag-drop/drag-drop-container.component.ts +115 -0
  275. package/projects/corecomponents/src/lib/modules/drag-drop/drag-drop-container.css +34 -0
  276. package/projects/corecomponents/src/lib/modules/drag-drop/drag-drop-manager.service.ts +414 -0
  277. package/projects/corecomponents/src/lib/modules/drag-drop/drag-drop.module.ts +20 -0
  278. package/projects/corecomponents/src/lib/modules/drag-drop/draggable.directive.ts +70 -0
  279. package/projects/corecomponents/src/lib/modules/drag-drop/model/co-drag-event.ts +5 -0
  280. package/projects/corecomponents/src/lib/modules/drag-drop/model/co-drop-event.ts +9 -0
  281. package/projects/corecomponents/src/lib/modules/drag-drop/model/drag-drop-container-element.ts +7 -0
  282. package/projects/corecomponents/src/lib/modules/drag-drop/model/drag-drop-container.ts +9 -0
  283. package/projects/corecomponents/src/lib/modules/media-monitor/flex-layout-breakpoint.enum.ts +5 -0
  284. package/projects/corecomponents/src/lib/modules/media-monitor/media-monitor.module.ts +14 -0
  285. package/projects/corecomponents/src/lib/modules/media-monitor/media-monitor.service.ts +36 -0
  286. package/projects/corecomponents/src/lib/modules/pagination/paginate.pipe.ts +116 -0
  287. package/projects/corecomponents/src/lib/modules/pagination/pagination-instance.ts +18 -0
  288. package/projects/corecomponents/src/lib/modules/pagination/pagination.component.ts +229 -0
  289. package/projects/corecomponents/src/lib/modules/pagination/pagination.module.ts +25 -0
  290. package/projects/corecomponents/src/lib/modules/pagination/pagination.service.ts +98 -0
  291. package/projects/corecomponents/src/lib/pipes/append.pipe.module.ts +13 -0
  292. package/projects/corecomponents/src/lib/pipes/append.pipe.ts +17 -0
  293. package/projects/corecomponents/src/lib/pipes/co-currency-pipe.module.ts +13 -0
  294. package/projects/corecomponents/src/lib/pipes/co-currency.pipe.ts +45 -0
  295. package/projects/corecomponents/src/lib/pipes/emun-keys.pipe.ts +20 -0
  296. package/projects/corecomponents/src/lib/pipes/enum-keys-pipe.module.ts +13 -0
  297. package/projects/corecomponents/src/lib/pipes/file-type-image-pipe.module.ts +13 -0
  298. package/projects/corecomponents/src/lib/pipes/file-type-image.pipe.ts +45 -0
  299. package/projects/corecomponents/src/lib/pipes/filter.pipe.module.ts +13 -0
  300. package/projects/corecomponents/src/lib/pipes/filter.pipe.ts +14 -0
  301. package/projects/corecomponents/src/lib/pipes/master-pipe.module.ts +13 -0
  302. package/projects/corecomponents/src/lib/pipes/master.pipe.ts +71 -0
  303. package/projects/corecomponents/src/lib/pipes/prepend.pipe.module.ts +13 -0
  304. package/projects/corecomponents/src/lib/pipes/prepend.pipe.ts +17 -0
  305. package/projects/corecomponents/src/lib/pipes/price-display-pipe.module.ts +14 -0
  306. package/projects/corecomponents/src/lib/pipes/price-display.pipe.ts +20 -0
  307. package/projects/corecomponents/src/lib/pipes/safe-style.pipe.module.ts +13 -0
  308. package/projects/corecomponents/src/lib/pipes/safe-style.pipe.ts +14 -0
  309. package/projects/corecomponents/src/lib/pipes/ucfirst-pipe.module.ts +13 -0
  310. package/projects/corecomponents/src/lib/pipes/ucfirst.pipe.ts +14 -0
  311. package/projects/corecomponents/src/lib/service/base-module-screen-config.service.ts +241 -0
  312. package/projects/corecomponents/src/lib/service/base-module.service.ts +50 -0
  313. package/projects/corecomponents/src/lib/service/color-sequence.service.ts +50 -0
  314. package/projects/corecomponents/src/lib/service/overlay.service.ts +81 -0
  315. package/projects/corecomponents/src/lib/translation/core-components-translation.module.ts +27 -0
  316. package/projects/corecomponents/src/lib/translation/core-components-translation.service.ts +15 -0
  317. package/projects/corecomponents/src/lib/translation/core-dictionary.service.ts +27 -0
  318. package/projects/corecomponents/src/lib/translation/core-localize.pipe.ts +21 -0
  319. package/projects/corecomponents/src/public-api.ts +139 -0
  320. package/projects/corecomponents/src/res/icons/Barcode.svg +1 -0
  321. package/projects/corecomponents/src/res/icons/CashRegister.svg +1 -0
  322. package/projects/corecomponents/src/res/icons/CirclePlusSkinny.svg +1 -0
  323. package/projects/corecomponents/src/res/icons/CrossSkinny.svg +1 -0
  324. package/projects/corecomponents/src/res/icons/FolderArrow.svg +1 -0
  325. package/projects/corecomponents/src/res/icons/Home.svg +1 -0
  326. package/projects/corecomponents/src/res/icons/POS.svg +1 -0
  327. package/projects/corecomponents/src/res/icons/Shop.svg +1 -0
  328. package/projects/corecomponents/src/res/icons/SinglePerson.svg +1 -0
  329. package/projects/corecomponents/src/res/icons/Star.svg +1 -0
  330. package/projects/corecomponents/src/res/icons/TrashBin.svg +1 -0
  331. package/projects/corecomponents/src/res/icons/account.svg +1 -0
  332. package/projects/corecomponents/src/res/icons/account_round_open.svg +1 -0
  333. package/projects/corecomponents/src/res/icons/activities.svg +1 -0
  334. package/projects/corecomponents/src/res/icons/add_to_cart_drop.svg +1 -0
  335. package/projects/corecomponents/src/res/icons/arrow_down.svg +1 -0
  336. package/projects/corecomponents/src/res/icons/arrow_fat_left.svg +1 -0
  337. package/projects/corecomponents/src/res/icons/arrow_fat_right.svg +1 -0
  338. package/projects/corecomponents/src/res/icons/arrow_left.svg +4 -0
  339. package/projects/corecomponents/src/res/icons/arrow_left_round_open.svg +1 -0
  340. package/projects/corecomponents/src/res/icons/arrow_point_down.svg +6 -0
  341. package/projects/corecomponents/src/res/icons/arrow_point_left.svg +8 -0
  342. package/projects/corecomponents/src/res/icons/arrow_point_right.svg +8 -0
  343. package/projects/corecomponents/src/res/icons/arrow_point_up.svg +8 -0
  344. package/projects/corecomponents/src/res/icons/arrow_right_round_open.svg +1 -0
  345. package/projects/corecomponents/src/res/icons/arrow_scroll_down.svg +6 -0
  346. package/projects/corecomponents/src/res/icons/arrow_scroll_left.svg +22 -0
  347. package/projects/corecomponents/src/res/icons/arrow_scroll_right.svg +22 -0
  348. package/projects/corecomponents/src/res/icons/arrow_scroll_up.svg +6 -0
  349. package/projects/corecomponents/src/res/icons/arrow_up.svg +3 -0
  350. package/projects/corecomponents/src/res/icons/article.svg +1 -0
  351. package/projects/corecomponents/src/res/icons/article_with_fold.svg +1 -0
  352. package/projects/corecomponents/src/res/icons/asterisk_small.svg +1 -0
  353. package/projects/corecomponents/src/res/icons/attachments.svg +1 -0
  354. package/projects/corecomponents/src/res/icons/back_to_top.svg +1 -0
  355. package/projects/corecomponents/src/res/icons/big_mac.svg +6 -0
  356. package/projects/corecomponents/src/res/icons/boxes.svg +1 -0
  357. package/projects/corecomponents/src/res/icons/brush.svg +1 -0
  358. package/projects/corecomponents/src/res/icons/brush_round_open.svg +1 -0
  359. package/projects/corecomponents/src/res/icons/building_columns.svg +1 -0
  360. package/projects/corecomponents/src/res/icons/businessrules.svg +1 -0
  361. package/projects/corecomponents/src/res/icons/calendar.svg +1 -0
  362. package/projects/corecomponents/src/res/icons/calendar_day.svg +37 -0
  363. package/projects/corecomponents/src/res/icons/calendar_day_regular.svg +1 -0
  364. package/projects/corecomponents/src/res/icons/calendar_empty.svg +16 -0
  365. package/projects/corecomponents/src/res/icons/calendar_range.svg +1 -0
  366. package/projects/corecomponents/src/res/icons/calendar_round_open.svg +16 -0
  367. package/projects/corecomponents/src/res/icons/camera.svg +1 -0
  368. package/projects/corecomponents/src/res/icons/cancel.svg +1 -0
  369. package/projects/corecomponents/src/res/icons/cancel_round_filled.svg +1 -0
  370. package/projects/corecomponents/src/res/icons/cancel_round_open.svg +1 -0
  371. package/projects/corecomponents/src/res/icons/cart.svg +1 -0
  372. package/projects/corecomponents/src/res/icons/cart_open.svg +8 -0
  373. package/projects/corecomponents/src/res/icons/case_manager.svg +1 -0
  374. package/projects/corecomponents/src/res/icons/cash_register_simple.svg +1 -0
  375. package/projects/corecomponents/src/res/icons/change_location.svg +1 -0
  376. package/projects/corecomponents/src/res/icons/check.svg +1 -0
  377. package/projects/corecomponents/src/res/icons/check_duotone.svg +1 -0
  378. package/projects/corecomponents/src/res/icons/check_round.svg +1 -0
  379. package/projects/corecomponents/src/res/icons/check_round_open.svg +10 -0
  380. package/projects/corecomponents/src/res/icons/check_simple.svg +3 -0
  381. package/projects/corecomponents/src/res/icons/check_thin.svg +1 -0
  382. package/projects/corecomponents/src/res/icons/chevron_down_regular.svg +1 -0
  383. package/projects/corecomponents/src/res/icons/chevron_up_regular.svg +1 -0
  384. package/projects/corecomponents/src/res/icons/client.svg +1 -0
  385. package/projects/corecomponents/src/res/icons/clock.svg +1 -0
  386. package/projects/corecomponents/src/res/icons/clockArrow.svg +1 -0
  387. package/projects/corecomponents/src/res/icons/cogWheelPlus.svg +1 -0
  388. package/projects/corecomponents/src/res/icons/cogWheels.svg +1 -0
  389. package/projects/corecomponents/src/res/icons/column_options.svg +18 -0
  390. package/projects/corecomponents/src/res/icons/company.svg +1 -0
  391. package/projects/corecomponents/src/res/icons/company_flat.svg +4 -0
  392. package/projects/corecomponents/src/res/icons/configurable.svg +1 -0
  393. package/projects/corecomponents/src/res/icons/consultant.svg +1 -0
  394. package/projects/corecomponents/src/res/icons/copy.svg +1 -0
  395. package/projects/corecomponents/src/res/icons/crosshair_1.svg +1 -0
  396. package/projects/corecomponents/src/res/icons/dashboard.svg +1 -0
  397. package/projects/corecomponents/src/res/icons/delivery_method.svg +32 -0
  398. package/projects/corecomponents/src/res/icons/delivery_status_uncheck.svg +9 -0
  399. package/projects/corecomponents/src/res/icons/delivery_truck.svg +1 -0
  400. package/projects/corecomponents/src/res/icons/detail_record.svg +1 -0
  401. package/projects/corecomponents/src/res/icons/detail_view.svg +1 -0
  402. package/projects/corecomponents/src/res/icons/dictionary.svg +1 -0
  403. package/projects/corecomponents/src/res/icons/documentWrench.svg +1 -0
  404. package/projects/corecomponents/src/res/icons/documents.svg +1 -0
  405. package/projects/corecomponents/src/res/icons/dollar.svg +1 -0
  406. package/projects/corecomponents/src/res/icons/download.svg +1 -0
  407. package/projects/corecomponents/src/res/icons/dropdown.svg +4 -0
  408. package/projects/corecomponents/src/res/icons/dropzone.svg +1 -0
  409. package/projects/corecomponents/src/res/icons/edit_pencil.svg +1 -0
  410. package/projects/corecomponents/src/res/icons/edit_pencil_circle.svg +1 -0
  411. package/projects/corecomponents/src/res/icons/edit_pencil_round.svg +11 -0
  412. package/projects/corecomponents/src/res/icons/edit_pencil_simple.svg +16 -0
  413. package/projects/corecomponents/src/res/icons/email.svg +1 -0
  414. package/projects/corecomponents/src/res/icons/email_round_open.svg +6 -0
  415. package/projects/corecomponents/src/res/icons/employee.svg +1 -0
  416. package/projects/corecomponents/src/res/icons/employee_two.svg +1 -0
  417. package/projects/corecomponents/src/res/icons/employer.svg +1 -0
  418. package/projects/corecomponents/src/res/icons/employment.svg +1 -0
  419. package/projects/corecomponents/src/res/icons/employment_end.svg +7 -0
  420. package/projects/corecomponents/src/res/icons/equal.svg +1 -0
  421. package/projects/corecomponents/src/res/icons/euro.svg +1 -0
  422. package/projects/corecomponents/src/res/icons/exclamation.svg +1 -0
  423. package/projects/corecomponents/src/res/icons/exclamation_round_open.svg +1 -0
  424. package/projects/corecomponents/src/res/icons/eye_circle.svg +1 -0
  425. package/projects/corecomponents/src/res/icons/eye_circle_large.svg +1 -0
  426. package/projects/corecomponents/src/res/icons/eye_round_filled.svg +11 -0
  427. package/projects/corecomponents/src/res/icons/factory.svg +1 -0
  428. package/projects/corecomponents/src/res/icons/fasttrack.svg +1 -0
  429. package/projects/corecomponents/src/res/icons/filter.svg +1 -0
  430. package/projects/corecomponents/src/res/icons/finish.svg +1 -0
  431. package/projects/corecomponents/src/res/icons/fixed_option_value_tree.svg +1 -0
  432. package/projects/corecomponents/src/res/icons/fixed_tree_option_value.svg +1 -0
  433. package/projects/corecomponents/src/res/icons/floppy_disk_solid.svg +1 -0
  434. package/projects/corecomponents/src/res/icons/folder_arrow_in.svg +8 -0
  435. package/projects/corecomponents/src/res/icons/formula.svg +1 -0
  436. package/projects/corecomponents/src/res/icons/fullscreen.svg +6 -0
  437. package/projects/corecomponents/src/res/icons/gear_double.svg +21 -0
  438. package/projects/corecomponents/src/res/icons/global_search.svg +45 -0
  439. package/projects/corecomponents/src/res/icons/globe.svg +1 -0
  440. package/projects/corecomponents/src/res/icons/greater_than.svg +1 -0
  441. package/projects/corecomponents/src/res/icons/groupby.svg +1 -0
  442. package/projects/corecomponents/src/res/icons/hamburger.svg +1 -0
  443. package/projects/corecomponents/src/res/icons/hand_pointer.svg +1 -0
  444. package/projects/corecomponents/src/res/icons/hbarchart.svg +6 -0
  445. package/projects/corecomponents/src/res/icons/home_circle.svg +9 -0
  446. package/projects/corecomponents/src/res/icons/home_open.svg +7 -0
  447. package/projects/corecomponents/src/res/icons/home_round_open.svg +11 -0
  448. package/projects/corecomponents/src/res/icons/hourglass.svg +1 -0
  449. package/projects/corecomponents/src/res/icons/icon_3d.svg +1 -0
  450. package/projects/corecomponents/src/res/icons/id.svg +1 -0
  451. package/projects/corecomponents/src/res/icons/image.svg +1 -0
  452. package/projects/corecomponents/src/res/icons/incoming_storage.svg +1 -0
  453. package/projects/corecomponents/src/res/icons/information.svg +1 -0
  454. package/projects/corecomponents/src/res/icons/information_round_open.svg +6 -0
  455. package/projects/corecomponents/src/res/icons/input_multiplechoice.svg +1 -0
  456. package/projects/corecomponents/src/res/icons/input_text.svg +1 -0
  457. package/projects/corecomponents/src/res/icons/input_textarea.svg +1 -0
  458. package/projects/corecomponents/src/res/icons/inventory.svg +1 -0
  459. package/projects/corecomponents/src/res/icons/invoice.svg +20 -0
  460. package/projects/corecomponents/src/res/icons/ione_logo.svg +1 -0
  461. package/projects/corecomponents/src/res/icons/ione_logo_fat.svg +1 -0
  462. package/projects/corecomponents/src/res/icons/ione_status_next.svg +43 -0
  463. package/projects/corecomponents/src/res/icons/ione_workflow.svg +62 -0
  464. package/projects/corecomponents/src/res/icons/keyboard.svg +1 -0
  465. package/projects/corecomponents/src/res/icons/keychain.svg +1 -0
  466. package/projects/corecomponents/src/res/icons/label.svg +5 -0
  467. package/projects/corecomponents/src/res/icons/label_round_open.svg +6 -0
  468. package/projects/corecomponents/src/res/icons/landmark_flag.svg +1 -0
  469. package/projects/corecomponents/src/res/icons/library.svg +21 -0
  470. package/projects/corecomponents/src/res/icons/linechart.svg +1 -0
  471. package/projects/corecomponents/src/res/icons/link_circle.svg +1 -0
  472. package/projects/corecomponents/src/res/icons/linked_products.svg +1 -0
  473. package/projects/corecomponents/src/res/icons/list_view.svg +8 -0
  474. package/projects/corecomponents/src/res/icons/location.svg +1 -0
  475. package/projects/corecomponents/src/res/icons/lock.svg +1 -0
  476. package/projects/corecomponents/src/res/icons/lock_round_open.svg +8 -0
  477. package/projects/corecomponents/src/res/icons/logo.svg +1 -0
  478. package/projects/corecomponents/src/res/icons/logout.svg +1 -0
  479. package/projects/corecomponents/src/res/icons/magic_wand.svg +1 -0
  480. package/projects/corecomponents/src/res/icons/magnifier.svg +5 -0
  481. package/projects/corecomponents/src/res/icons/manager.svg +12 -0
  482. package/projects/corecomponents/src/res/icons/mask.svg +1 -0
  483. package/projects/corecomponents/src/res/icons/master_detail.svg +1 -0
  484. package/projects/corecomponents/src/res/icons/material_circle_large.svg +1 -0
  485. package/projects/corecomponents/src/res/icons/medal_bronze.svg +23 -0
  486. package/projects/corecomponents/src/res/icons/medal_gold.svg +23 -0
  487. package/projects/corecomponents/src/res/icons/medal_silver.svg +23 -0
  488. package/projects/corecomponents/src/res/icons/medical_officer.svg +14 -0
  489. package/projects/corecomponents/src/res/icons/microphone.svg +1 -0
  490. package/projects/corecomponents/src/res/icons/minus_round_open.svg +1 -0
  491. package/projects/corecomponents/src/res/icons/minus_simple.svg +1 -0
  492. package/projects/corecomponents/src/res/icons/mobile.svg +1 -0
  493. package/projects/corecomponents/src/res/icons/multi_select_check.svg +10 -0
  494. package/projects/corecomponents/src/res/icons/new_task.svg +1 -0
  495. package/projects/corecomponents/src/res/icons/not_equal.svg +4 -0
  496. package/projects/corecomponents/src/res/icons/note.svg +1 -0
  497. package/projects/corecomponents/src/res/icons/note_bordered.svg +1 -0
  498. package/projects/corecomponents/src/res/icons/notification.svg +1 -0
  499. package/projects/corecomponents/src/res/icons/option.svg +1 -0
  500. package/projects/corecomponents/src/res/icons/optionset.svg +1 -0
  501. package/projects/corecomponents/src/res/icons/order.svg +1 -0
  502. package/projects/corecomponents/src/res/icons/orderpicking.svg +1 -0
  503. package/projects/corecomponents/src/res/icons/outgoing_storage.svg +1 -0
  504. package/projects/corecomponents/src/res/icons/over_booking.svg +1 -0
  505. package/projects/corecomponents/src/res/icons/pause_circle.svg +12 -0
  506. package/projects/corecomponents/src/res/icons/pen_to_square_solid.svg +1 -0
  507. package/projects/corecomponents/src/res/icons/pencil_round_open.svg +10 -0
  508. package/projects/corecomponents/src/res/icons/phone.svg +1 -0
  509. package/projects/corecomponents/src/res/icons/phone_round_open.svg +10 -0
  510. package/projects/corecomponents/src/res/icons/piechart.svg +24 -0
  511. package/projects/corecomponents/src/res/icons/pin.svg +9 -0
  512. package/projects/corecomponents/src/res/icons/pin_round_open.svg +11 -0
  513. package/projects/corecomponents/src/res/icons/play_circle.svg +1 -0
  514. package/projects/corecomponents/src/res/icons/plus_round.svg +9 -0
  515. package/projects/corecomponents/src/res/icons/plus_round_open.svg +1 -0
  516. package/projects/corecomponents/src/res/icons/plus_simple.svg +1 -0
  517. package/projects/corecomponents/src/res/icons/plus_skinny.svg +8 -0
  518. package/projects/corecomponents/src/res/icons/plus_solid.svg +1 -0
  519. package/projects/corecomponents/src/res/icons/plus_stars.svg +1 -0
  520. package/projects/corecomponents/src/res/icons/pointer.svg +7 -0
  521. package/projects/corecomponents/src/res/icons/pointer_3d.svg +8 -0
  522. package/projects/corecomponents/src/res/icons/pointer_filled.svg +6 -0
  523. package/projects/corecomponents/src/res/icons/positioning.svg +1 -0
  524. package/projects/corecomponents/src/res/icons/pregnancy.svg +18 -0
  525. package/projects/corecomponents/src/res/icons/preset.svg +1 -0
  526. package/projects/corecomponents/src/res/icons/print.svg +1 -0
  527. package/projects/corecomponents/src/res/icons/product_properties.svg +1 -0
  528. package/projects/corecomponents/src/res/icons/purchase.svg +15 -0
  529. package/projects/corecomponents/src/res/icons/qrcode.svg +59 -0
  530. package/projects/corecomponents/src/res/icons/question.svg +1 -0
  531. package/projects/corecomponents/src/res/icons/radio_uncheck.svg +1 -0
  532. package/projects/corecomponents/src/res/icons/range.svg +1 -0
  533. package/projects/corecomponents/src/res/icons/range_select.svg +1 -0
  534. package/projects/corecomponents/src/res/icons/rectangles.svg +15 -0
  535. package/projects/corecomponents/src/res/icons/refresh.svg +1 -0
  536. package/projects/corecomponents/src/res/icons/relations.svg +20 -0
  537. package/projects/corecomponents/src/res/icons/remark.svg +1 -0
  538. package/projects/corecomponents/src/res/icons/remark_round_open.svg +6 -0
  539. package/projects/corecomponents/src/res/icons/report_in_type.svg +1 -0
  540. package/projects/corecomponents/src/res/icons/resize.svg +3 -0
  541. package/projects/corecomponents/src/res/icons/resize_down.svg +1 -0
  542. package/projects/corecomponents/src/res/icons/resize_up.svg +1 -0
  543. package/projects/corecomponents/src/res/icons/return_goods.svg +4 -0
  544. package/projects/corecomponents/src/res/icons/returns.svg +1 -0
  545. package/projects/corecomponents/src/res/icons/rotate_left_solid.svg +1 -0
  546. package/projects/corecomponents/src/res/icons/save_disk.svg +15 -0
  547. package/projects/corecomponents/src/res/icons/save_skinny.svg +3 -0
  548. package/projects/corecomponents/src/res/icons/scale_balanced.svg +1 -0
  549. package/projects/corecomponents/src/res/icons/scanner.svg +1 -0
  550. package/projects/corecomponents/src/res/icons/search_round_open.svg +9 -0
  551. package/projects/corecomponents/src/res/icons/sections.svg +1 -0
  552. package/projects/corecomponents/src/res/icons/select_all_round.svg +5 -0
  553. package/projects/corecomponents/src/res/icons/services.svg +1 -0
  554. package/projects/corecomponents/src/res/icons/settings.svg +20 -0
  555. package/projects/corecomponents/src/res/icons/shopping_cart.svg +1 -0
  556. package/projects/corecomponents/src/res/icons/shopping_cart_nr.svg +1 -0
  557. package/projects/corecomponents/src/res/icons/shortcut.svg +1 -0
  558. package/projects/corecomponents/src/res/icons/skills.svg +1 -0
  559. package/projects/corecomponents/src/res/icons/slide_in.svg +1 -0
  560. package/projects/corecomponents/src/res/icons/slider_panel.svg +7 -0
  561. package/projects/corecomponents/src/res/icons/small_tiles.svg +1 -0
  562. package/projects/corecomponents/src/res/icons/smaller_than.svg +1 -0
  563. package/projects/corecomponents/src/res/icons/sort_asc.svg +1 -0
  564. package/projects/corecomponents/src/res/icons/sort_desc.svg +1 -0
  565. package/projects/corecomponents/src/res/icons/star_round_open.svg +6 -0
  566. package/projects/corecomponents/src/res/icons/status_active.svg +1 -0
  567. package/projects/corecomponents/src/res/icons/status_adoption.svg +1 -0
  568. package/projects/corecomponents/src/res/icons/status_fostercare.svg +1 -0
  569. package/projects/corecomponents/src/res/icons/status_ill.svg +10 -0
  570. package/projects/corecomponents/src/res/icons/status_leave.svg +1 -0
  571. package/projects/corecomponents/src/res/icons/status_pregnancy.svg +10 -0
  572. package/projects/corecomponents/src/res/icons/stock.svg +1 -0
  573. package/projects/corecomponents/src/res/icons/stock_management.svg +25 -0
  574. package/projects/corecomponents/src/res/icons/storage.svg +1 -0
  575. package/projects/corecomponents/src/res/icons/supervisor.svg +1 -0
  576. package/projects/corecomponents/src/res/icons/supplier.svg +18 -0
  577. package/projects/corecomponents/src/res/icons/surgery.svg +35 -0
  578. package/projects/corecomponents/src/res/icons/tablechart.svg +15 -0
  579. package/projects/corecomponents/src/res/icons/tag.svg +1 -0
  580. package/projects/corecomponents/src/res/icons/talk_too_much.svg +7 -0
  581. package/projects/corecomponents/src/res/icons/target.svg +1 -0
  582. package/projects/corecomponents/src/res/icons/task.svg +1 -0
  583. package/projects/corecomponents/src/res/icons/thick_lines.svg +1 -0
  584. package/projects/corecomponents/src/res/icons/thin_lines.svg +1 -0
  585. package/projects/corecomponents/src/res/icons/three_sixty_view.svg +1 -0
  586. package/projects/corecomponents/src/res/icons/thumb_bronze.svg +29 -0
  587. package/projects/corecomponents/src/res/icons/thumb_gold.svg +29 -0
  588. package/projects/corecomponents/src/res/icons/thumb_silver.svg +29 -0
  589. package/projects/corecomponents/src/res/icons/timeline.svg +1 -0
  590. package/projects/corecomponents/src/res/icons/transaction_detail.svg +19 -0
  591. package/projects/corecomponents/src/res/icons/transactions.svg +12 -0
  592. package/projects/corecomponents/src/res/icons/trash_can_solid.svg +1 -0
  593. package/projects/corecomponents/src/res/icons/triangle_down.svg +1 -0
  594. package/projects/corecomponents/src/res/icons/triangle_large.svg +5 -0
  595. package/projects/corecomponents/src/res/icons/triangle_left.svg +1 -0
  596. package/projects/corecomponents/src/res/icons/triangle_right.svg +1 -0
  597. package/projects/corecomponents/src/res/icons/triangle_up.svg +1 -0
  598. package/projects/corecomponents/src/res/icons/truck.svg +1 -0
  599. package/projects/corecomponents/src/res/icons/truck_calendar.svg +15 -0
  600. package/projects/corecomponents/src/res/icons/undo_round_open.svg +1 -0
  601. package/projects/corecomponents/src/res/icons/user.svg +9 -0
  602. package/projects/corecomponents/src/res/icons/variants.svg +1 -0
  603. package/projects/corecomponents/src/res/icons/vbarchart.svg +6 -0
  604. package/projects/corecomponents/src/res/icons/view.svg +1 -0
  605. package/projects/corecomponents/src/res/icons/warehouse.svg +1 -0
  606. package/projects/corecomponents/src/res/icons/watermark.svg +10 -0
  607. package/projects/corecomponents/src/res/icons/website.svg +1 -0
  608. package/projects/corecomponents/src/res/icons/wizard.svg +18 -0
  609. package/projects/corecomponents/src/res/icons/wms.svg +24 -0
  610. package/projects/corecomponents/src/res/icons/work_in_progress.svg +10 -0
  611. package/projects/corecomponents/src/res/icons/work_in_progress_round_open.svg +9 -0
  612. package/projects/corecomponents/src/res/icons/wrench.svg +4 -0
  613. package/projects/corecomponents/src/res/icons/x_axis.svg +5 -0
  614. package/projects/corecomponents/src/res/icons/y_axis.svg +5 -0
  615. package/projects/corecomponents/src/test.ts +28 -0
  616. package/projects/corecomponents/tsconfig.lib.json +20 -0
  617. package/projects/corecomponents/tsconfig.lib.prod.json +16 -0
  618. package/projects/corecomponents/tsconfig.spec.json +17 -0
  619. package/scripts/export.bat +9 -0
  620. package/scripts/merge-icons.js +39 -0
  621. package/scripts/publish.bat +6 -0
  622. package/src/app/app.component.scss +36 -0
  623. package/src/app/app.component.spec.ts +31 -0
  624. package/src/app/app.component.ts +559 -0
  625. package/src/app/app.module.ts +146 -0
  626. package/src/app/components/button-showcase.component.ts +82 -0
  627. package/src/app/components/carousel-3d-showcase.component.ts +70 -0
  628. package/src/app/components/checkbox-showcase.component.ts +56 -0
  629. package/src/app/components/co-dialog-showcase.component.ts +189 -0
  630. package/src/app/components/co-simple-grid-test.component.ts +146 -0
  631. package/src/app/components/filter-item-showcase.component.ts +178 -0
  632. package/src/app/components/forms-showcase.component.ts +728 -0
  633. package/src/app/components/icon-showcase.component.ts +72 -0
  634. package/src/app/components/input-checkbox-showcase.component.ts +87 -0
  635. package/src/app/components/input-date-picker-showcase.component.ts +90 -0
  636. package/src/app/components/input-number-picker-showcase.component.ts +125 -0
  637. package/src/app/components/input-radio-button-showcase.component.ts +87 -0
  638. package/src/app/components/input-scanner-showcase.component.ts +35 -0
  639. package/src/app/components/input-text-showcase.component.ts +217 -0
  640. package/src/app/components/input-time-showcase.component.ts +104 -0
  641. package/src/app/components/number-picker-showcase.component.ts +17 -0
  642. package/src/app/components/simple-grid-showcase.component.ts +60 -0
  643. package/src/app/model/data-item.ts +9 -0
  644. package/src/app/model/enum/currency-code.enum.ts +7 -0
  645. package/src/app/model/enum/language-code.enum.ts +8 -0
  646. package/src/app/model/map/currencies.map.ts +6 -0
  647. package/src/app/service/showcase-data.service.ts +1110 -0
  648. package/src/assets/.gitkeep +0 -0
  649. package/src/environments/environment.prod.ts +3 -0
  650. package/src/environments/environment.ts +16 -0
  651. package/src/favicon.ico +0 -0
  652. package/src/index.html +13 -0
  653. package/src/main.ts +12 -0
  654. package/src/polyfills.ts +65 -0
  655. package/src/styles.scss +57 -0
  656. package/src/test.ts +27 -0
  657. package/tsconfig.app.json +15 -0
  658. package/tsconfig.json +37 -0
  659. package/tsconfig.spec.json +18 -0
  660. package/bundles/colijnit-corecomponents_v12.umd.js +0 -14264
  661. package/bundles/colijnit-corecomponents_v12.umd.js.map +0 -1
  662. package/colijnit-corecomponents_v12.d.ts +0 -43
  663. package/colijnit-corecomponents_v12.metadata.json +0 -1
  664. package/esm2015/colijnit-corecomponents_v12.js +0 -44
  665. package/esm2015/lib/components/article-tile/article-tile.component.js +0 -81
  666. package/esm2015/lib/components/article-tile/article-tile.module.js +0 -35
  667. package/esm2015/lib/components/base/base-input.component.js +0 -834
  668. package/esm2015/lib/components/base/base.module.js +0 -22
  669. package/esm2015/lib/components/base/commit-buttons/commit-buttons.component.js +0 -103
  670. package/esm2015/lib/components/base/commit-buttons/commit-buttons.module.js +0 -21
  671. package/esm2015/lib/components/base/dialog-base.component.js +0 -6
  672. package/esm2015/lib/components/base-input-date-picker/base-input-date-picker.directive.js +0 -25
  673. package/esm2015/lib/components/button/button.component.js +0 -79
  674. package/esm2015/lib/components/button/button.module.js +0 -19
  675. package/esm2015/lib/components/calendar/calendar-template.component.js +0 -342
  676. package/esm2015/lib/components/calendar/calendar.component.js +0 -45
  677. package/esm2015/lib/components/calendar/calendar.module.js +0 -28
  678. package/esm2015/lib/components/card/card.component.js +0 -72
  679. package/esm2015/lib/components/card/card.module.js +0 -35
  680. package/esm2015/lib/components/carousel/carousel.component.js +0 -130
  681. package/esm2015/lib/components/carousel/carousel.module.js +0 -32
  682. package/esm2015/lib/components/carousel-3d/carousel-3d.component.js +0 -315
  683. package/esm2015/lib/components/carousel-3d/carousel-3d.module.js +0 -19
  684. package/esm2015/lib/components/carousel-3d/carouselItem.js +0 -54
  685. package/esm2015/lib/components/checkmark-overlay/checkmark-overlay.component.js +0 -87
  686. package/esm2015/lib/components/checkmark-overlay/checkmark-overlay.module.js +0 -19
  687. package/esm2015/lib/components/co-dialog/co-dialog.component.js +0 -113
  688. package/esm2015/lib/components/co-dialog/co-dialog.module.js +0 -19
  689. package/esm2015/lib/components/co-dialog-wizard/co-dialog-wizard.component.js +0 -51
  690. package/esm2015/lib/components/co-dialog-wizard/co-dialog-wizard.module.js +0 -17
  691. package/esm2015/lib/components/collapsible/collapsible.component.js +0 -92
  692. package/esm2015/lib/components/collapsible/collapsible.module.js +0 -19
  693. package/esm2015/lib/components/color-picker/color-picker.component.js +0 -41
  694. package/esm2015/lib/components/color-picker/color-picker.module.js +0 -21
  695. package/esm2015/lib/components/core-dialog/confirmation-dialog/confirmation-dialog.component.js +0 -79
  696. package/esm2015/lib/components/core-dialog/core-dialog.module.js +0 -39
  697. package/esm2015/lib/components/core-dialog/core-dialog.service.js +0 -67
  698. package/esm2015/lib/components/core-dialog/core-dynamic-component.service.js +0 -93
  699. package/esm2015/lib/components/double-calendar/double-calendar.component.js +0 -80
  700. package/esm2015/lib/components/double-calendar/double-calendar.module.js +0 -25
  701. package/esm2015/lib/components/filter-item/filter-item-viewmodel.js +0 -13
  702. package/esm2015/lib/components/filter-item/filter-item.component.js +0 -646
  703. package/esm2015/lib/components/filter-item/filter-item.module.js +0 -43
  704. package/esm2015/lib/components/filter-item/filter-viewmodel.js +0 -11
  705. package/esm2015/lib/components/form/form.component.js +0 -184
  706. package/esm2015/lib/components/form/form.module.js +0 -23
  707. package/esm2015/lib/components/grid-toolbar/grid-toolbar.component.js +0 -57
  708. package/esm2015/lib/components/grid-toolbar/grid-toolbar.module.js +0 -23
  709. package/esm2015/lib/components/grid-toolbar-button/grid-toolbar-button.component.js +0 -28
  710. package/esm2015/lib/components/grid-toolbar-button/grid-toolbar-button.module.js +0 -19
  711. package/esm2015/lib/components/icon/icon-cache.service.js +0 -52
  712. package/esm2015/lib/components/icon/icon.component.js +0 -48
  713. package/esm2015/lib/components/icon/icon.module.js +0 -25
  714. package/esm2015/lib/components/icon-collapse-handle/icon-collapse-handle.component.js +0 -64
  715. package/esm2015/lib/components/icon-collapse-handle/icon-collapse-handle.module.js +0 -23
  716. package/esm2015/lib/components/image/image.component.js +0 -42
  717. package/esm2015/lib/components/image/image.module.js +0 -14
  718. package/esm2015/lib/components/input-checkbox/input-checkbox.component.js +0 -79
  719. package/esm2015/lib/components/input-checkbox/input-checkbox.module.js +0 -19
  720. package/esm2015/lib/components/input-date-picker/input-date-picker.component.js +0 -91
  721. package/esm2015/lib/components/input-date-picker/input-date-picker.module.js +0 -26
  722. package/esm2015/lib/components/input-date-range-picker/input-date-range-picker.component.js +0 -134
  723. package/esm2015/lib/components/input-date-range-picker/input-date-range-picker.module.js +0 -27
  724. package/esm2015/lib/components/input-number-picker/input-number-picker.component.js +0 -314
  725. package/esm2015/lib/components/input-number-picker/input-number-picker.module.js +0 -23
  726. package/esm2015/lib/components/input-radio-button/input-radio-button.component.js +0 -84
  727. package/esm2015/lib/components/input-radio-button/input-radio-button.module.js +0 -19
  728. package/esm2015/lib/components/input-scanner/bar-code-scanner.js +0 -23
  729. package/esm2015/lib/components/input-scanner/input-scanner.component.js +0 -72
  730. package/esm2015/lib/components/input-scanner/input-scanner.module.js +0 -21
  731. package/esm2015/lib/components/input-scanner/scanner.service.js +0 -28
  732. package/esm2015/lib/components/input-search/input-search.component.js +0 -83
  733. package/esm2015/lib/components/input-search/input-search.module.js +0 -21
  734. package/esm2015/lib/components/input-text/input-text.component.js +0 -246
  735. package/esm2015/lib/components/input-text/input-text.module.js +0 -33
  736. package/esm2015/lib/components/input-textarea/input-textarea.component.js +0 -78
  737. package/esm2015/lib/components/input-textarea/input-textarea.module.js +0 -27
  738. package/esm2015/lib/components/level-indicator/level-indicator-level.enum.js +0 -7
  739. package/esm2015/lib/components/level-indicator/level-indicator.component.js +0 -36
  740. package/esm2015/lib/components/level-indicator/level-indicator.module.js +0 -15
  741. package/esm2015/lib/components/list-of-icons/list-of-icons.component.js +0 -59
  742. package/esm2015/lib/components/list-of-icons/list-of-icons.module.js +0 -25
  743. package/esm2015/lib/components/list-of-values/list-of-values-multiselect-popup.component.js +0 -112
  744. package/esm2015/lib/components/list-of-values/list-of-values-popup.component.js +0 -251
  745. package/esm2015/lib/components/list-of-values/list-of-values.component.js +0 -233
  746. package/esm2015/lib/components/list-of-values/list-of-values.module.js +0 -38
  747. package/esm2015/lib/components/loader/loader.component.js +0 -84
  748. package/esm2015/lib/components/loader/loader.module.js +0 -19
  749. package/esm2015/lib/components/pagination/paginate.pipe.js +0 -99
  750. package/esm2015/lib/components/pagination/pagination-instance.js +0 -2
  751. package/esm2015/lib/components/pagination/pagination.component.js +0 -126
  752. package/esm2015/lib/components/pagination/pagination.module.js +0 -28
  753. package/esm2015/lib/components/pagination/pagination.service.js +0 -88
  754. package/esm2015/lib/components/pagination-bar/pagination-bar.component.js +0 -151
  755. package/esm2015/lib/components/pagination-bar/pagination-bar.module.js +0 -19
  756. package/esm2015/lib/components/popup/const/popup-window-token.js +0 -3
  757. package/esm2015/lib/components/popup/interface/popup-button.js +0 -8
  758. package/esm2015/lib/components/popup/interface/popup-close-event.js +0 -2
  759. package/esm2015/lib/components/popup/interface/popup-settings.js +0 -42
  760. package/esm2015/lib/components/popup/interface/popup.js +0 -2
  761. package/esm2015/lib/components/popup/model/popup-button-globals.js +0 -11
  762. package/esm2015/lib/components/popup/model/popup-window.js +0 -38
  763. package/esm2015/lib/components/popup/popup-buttons.component.js +0 -53
  764. package/esm2015/lib/components/popup/popup-message-display.component.js +0 -47
  765. package/esm2015/lib/components/popup/popup-window-shell.component.js +0 -159
  766. package/esm2015/lib/components/popup/popup.module.js +0 -49
  767. package/esm2015/lib/components/popup/service/popup-shower.service.js +0 -90
  768. package/esm2015/lib/components/popup/service/prompt.service.js +0 -127
  769. package/esm2015/lib/components/popup/text-input-popup.component.js +0 -36
  770. package/esm2015/lib/components/responsive-text/responsive-text.component.js +0 -24
  771. package/esm2015/lib/components/responsive-text/responsive-text.module.js +0 -19
  772. package/esm2015/lib/components/simple-grid/base-simple-grid.component.js +0 -166
  773. package/esm2015/lib/components/simple-grid/simple-grid-cell.component.js +0 -172
  774. package/esm2015/lib/components/simple-grid/simple-grid-column.directive.js +0 -113
  775. package/esm2015/lib/components/simple-grid/simple-grid.component.js +0 -612
  776. package/esm2015/lib/components/simple-grid/simple-grid.module.js +0 -45
  777. package/esm2015/lib/components/tile/tile.component.js +0 -73
  778. package/esm2015/lib/components/tile/tile.module.js +0 -23
  779. package/esm2015/lib/components/tile-select/tile-select.component.js +0 -36
  780. package/esm2015/lib/components/tile-select/tile-select.module.js +0 -21
  781. package/esm2015/lib/components/tooltip/tooltip.component.js +0 -77
  782. package/esm2015/lib/components/tooltip/tooltip.module.js +0 -19
  783. package/esm2015/lib/components/validation-error/validation-error.component.js +0 -38
  784. package/esm2015/lib/components/validation-error/validation-error.module.js +0 -25
  785. package/esm2015/lib/components/view-mode-buttons/content-view-mode.enum.js +0 -11
  786. package/esm2015/lib/components/view-mode-buttons/view-mode-buttons.component.js +0 -61
  787. package/esm2015/lib/components/view-mode-buttons/view-mode-buttons.module.js +0 -21
  788. package/esm2015/lib/core/constant/default-upper-bound-for-range-components.js +0 -4
  789. package/esm2015/lib/core/constant/java-max-int.js +0 -2
  790. package/esm2015/lib/core/constant/number-inputs-key-down-white-list.js +0 -45
  791. package/esm2015/lib/core/decorator/input-boolean.decorator.js +0 -34
  792. package/esm2015/lib/core/enum/co-direction.js +0 -9
  793. package/esm2015/lib/core/enum/co-document-image-display-kind.enum.js +0 -7
  794. package/esm2015/lib/core/enum/co-document-type.enum.js +0 -11
  795. package/esm2015/lib/core/enum/co-orientation.js +0 -17
  796. package/esm2015/lib/core/enum/core-components-icon.enum.js +0 -300
  797. package/esm2015/lib/core/enum/file-type-internal.enum.js +0 -17
  798. package/esm2015/lib/core/enum/file-type.enum.js +0 -11
  799. package/esm2015/lib/core/enum/filterItem-mode.enum.js +0 -43
  800. package/esm2015/lib/core/enum/input-number-picker-show-mode.enum.js +0 -8
  801. package/esm2015/lib/core/enum/keyboard-code.enum.js +0 -74
  802. package/esm2015/lib/core/enum/keyboard-key.enum.js +0 -76
  803. package/esm2015/lib/core/enum/object-right-type.enum.js +0 -7
  804. package/esm2015/lib/core/enum/popup-button-type.enum.js +0 -12
  805. package/esm2015/lib/core/enum/popup-type.enum.js +0 -11
  806. package/esm2015/lib/core/enum/table-name.enum.js +0 -81
  807. package/esm2015/lib/core/function/any-nill.function.js +0 -6
  808. package/esm2015/lib/core/function/is-nill.function.js +0 -5
  809. package/esm2015/lib/core/function/none-nill.function.js +0 -17
  810. package/esm2015/lib/core/function/not-nill.function.js +0 -5
  811. package/esm2015/lib/core/model/bounds-constrained-number-value.js +0 -171
  812. package/esm2015/lib/core/model/check-precision-and-scale-result.js +0 -2
  813. package/esm2015/lib/core/model/check-within-stepped-bounds-result.js +0 -2
  814. package/esm2015/lib/core/model/co-document-right.bo.js +0 -3
  815. package/esm2015/lib/core/model/co-document.bo.js +0 -121
  816. package/esm2015/lib/core/model/core-components-icon-svg.js +0 -299
  817. package/esm2015/lib/core/model/element-position.js +0 -10
  818. package/esm2015/lib/core/model/event/string-prompt-result-event.js +0 -8
  819. package/esm2015/lib/core/service/form-input-user-change-listener.service.js +0 -25
  820. package/esm2015/lib/core/service/form-master.service.js +0 -102
  821. package/esm2015/lib/core/service/ng-zone-wrapper.service.js +0 -20
  822. package/esm2015/lib/core/utils/array-utils.js +0 -264
  823. package/esm2015/lib/core/utils/browser-utils.js +0 -100
  824. package/esm2015/lib/core/utils/direction-enum-utils.js +0 -14
  825. package/esm2015/lib/core/utils/event-utils.js +0 -53
  826. package/esm2015/lib/core/utils/file-utils.js +0 -267
  827. package/esm2015/lib/core/utils/number-utils.js +0 -309
  828. package/esm2015/lib/core/utils/object-utils.js +0 -186
  829. package/esm2015/lib/core/utils/string-utils.js +0 -94
  830. package/esm2015/lib/core/validator/email.validator.js +0 -6
  831. package/esm2015/lib/core/validator/equal.validator.js +0 -11
  832. package/esm2015/lib/core/validator/max-string-length.validator.js +0 -10
  833. package/esm2015/lib/core/validator/password.validator.js +0 -31
  834. package/esm2015/lib/core/validator/precision-scale.validator.js +0 -11
  835. package/esm2015/lib/core/validator/required.validator.js +0 -5
  836. package/esm2015/lib/directives/clickoutside/click-outside-master.service.js +0 -57
  837. package/esm2015/lib/directives/clickoutside/click-outside.directive.js +0 -71
  838. package/esm2015/lib/directives/clickoutside/clickoutside.module.js +0 -19
  839. package/esm2015/lib/directives/observe-visibility/observe-visibility.directive.js +0 -53
  840. package/esm2015/lib/directives/observe-visibility/observe-visibility.module.js +0 -15
  841. package/esm2015/lib/directives/overlay/overlay-parent.directive.js +0 -19
  842. package/esm2015/lib/directives/overlay/overlay.directive.js +0 -161
  843. package/esm2015/lib/directives/overlay/overlay.module.js +0 -18
  844. package/esm2015/lib/directives/ripple/ripple-ref.js +0 -26
  845. package/esm2015/lib/directives/ripple/ripple-renderer.js +0 -160
  846. package/esm2015/lib/directives/ripple/ripple.directive.js +0 -80
  847. package/esm2015/lib/directives/ripple/ripple.module.js +0 -24
  848. package/esm2015/lib/directives/ripple/scroll-dispatcher.service.js +0 -108
  849. package/esm2015/lib/directives/ripple/scrollable.directive.js +0 -40
  850. package/esm2015/lib/directives/ripple/viewport-ruler.service.js +0 -73
  851. package/esm2015/lib/directives/screen-configuration/screen-configuration.directive.js +0 -158
  852. package/esm2015/lib/directives/screen-configuration/screen-configuration.module.js +0 -19
  853. package/esm2015/lib/directives/stopclick/stop-click.directive.js +0 -38
  854. package/esm2015/lib/directives/stopclick/stop-click.module.js +0 -15
  855. package/esm2015/lib/directives/template-wrapper/template-wrapper.directive.js +0 -68
  856. package/esm2015/lib/directives/template-wrapper/template-wrapper.module.js +0 -15
  857. package/esm2015/lib/directives/tooltip/tooltip-directive.module.js +0 -19
  858. package/esm2015/lib/directives/tooltip/tooltip.directive.js +0 -78
  859. package/esm2015/lib/interfaces/dialog-response.interface.js +0 -2
  860. package/esm2015/lib/interfaces/scanner-input.interface.js +0 -2
  861. package/esm2015/lib/interfaces/screen-config-adapter-component-interface-name.js +0 -4
  862. package/esm2015/lib/interfaces/screen-config-adapter.component.interface.js +0 -2
  863. package/esm2015/lib/model/enum/app-button-type.enum.js +0 -11
  864. package/esm2015/lib/model/enum/app-popup-type.enum.js +0 -8
  865. package/esm2015/lib/model/icon-list-item.js +0 -2
  866. package/esm2015/lib/pipes/append.pipe.js +0 -17
  867. package/esm2015/lib/pipes/append.pipe.module.js +0 -15
  868. package/esm2015/lib/pipes/filter.pipe.js +0 -16
  869. package/esm2015/lib/pipes/filter.pipe.module.js +0 -15
  870. package/esm2015/lib/pipes/prepend.pipe.js +0 -17
  871. package/esm2015/lib/pipes/prepend.pipe.module.js +0 -15
  872. package/esm2015/lib/pipes/price-display-pipe.module.js +0 -15
  873. package/esm2015/lib/pipes/price-display.pipe.js +0 -20
  874. package/esm2015/lib/service/base-module-screen-config.service.js +0 -205
  875. package/esm2015/lib/service/base-module.service.js +0 -42
  876. package/esm2015/lib/service/color-sequence.service.js +0 -49
  877. package/esm2015/lib/service/overlay.service.js +0 -73
  878. package/esm2015/lib/translation/core-components-translation.module.js +0 -29
  879. package/esm2015/lib/translation/core-components-translation.service.js +0 -17
  880. package/esm2015/lib/translation/core-dictionary.service.js +0 -29
  881. package/esm2015/lib/translation/core-localize.pipe.js +0 -26
  882. package/esm2015/public-api.js +0 -132
  883. package/fesm2015/colijnit-corecomponents_v12.js +0 -13660
  884. package/fesm2015/colijnit-corecomponents_v12.js.map +0 -1
  885. package/lib/components/article-tile/article-tile.component.d.ts +0 -22
  886. package/lib/components/article-tile/article-tile.module.d.ts +0 -2
  887. package/lib/components/base/base-input.component.d.ts +0 -182
  888. package/lib/components/base/base.module.d.ts +0 -2
  889. package/lib/components/base/commit-buttons/commit-buttons.component.d.ts +0 -21
  890. package/lib/components/base/commit-buttons/commit-buttons.module.d.ts +0 -2
  891. package/lib/components/base/dialog-base.component.d.ts +0 -4
  892. package/lib/components/base-input-date-picker/base-input-date-picker.directive.d.ts +0 -15
  893. package/lib/components/button/button.component.d.ts +0 -29
  894. package/lib/components/button/button.module.d.ts +0 -2
  895. package/lib/components/calendar/calendar-template.component.d.ts +0 -60
  896. package/lib/components/calendar/calendar.component.d.ts +0 -13
  897. package/lib/components/calendar/calendar.module.d.ts +0 -2
  898. package/lib/components/card/card.component.d.ts +0 -23
  899. package/lib/components/card/card.module.d.ts +0 -2
  900. package/lib/components/carousel/carousel.component.d.ts +0 -23
  901. package/lib/components/carousel/carousel.module.d.ts +0 -6
  902. package/lib/components/carousel-3d/carousel-3d.component.d.ts +0 -55
  903. package/lib/components/carousel-3d/carousel-3d.module.d.ts +0 -2
  904. package/lib/components/carousel-3d/carouselItem.d.ts +0 -13
  905. package/lib/components/checkmark-overlay/checkmark-overlay.component.d.ts +0 -17
  906. package/lib/components/checkmark-overlay/checkmark-overlay.module.d.ts +0 -2
  907. package/lib/components/co-dialog/co-dialog.component.d.ts +0 -23
  908. package/lib/components/co-dialog/co-dialog.module.d.ts +0 -2
  909. package/lib/components/co-dialog-wizard/co-dialog-wizard.component.d.ts +0 -9
  910. package/lib/components/co-dialog-wizard/co-dialog-wizard.module.d.ts +0 -2
  911. package/lib/components/collapsible/collapsible.component.d.ts +0 -22
  912. package/lib/components/collapsible/collapsible.module.d.ts +0 -2
  913. package/lib/components/color-picker/color-picker.component.d.ts +0 -6
  914. package/lib/components/color-picker/color-picker.module.d.ts +0 -2
  915. package/lib/components/core-dialog/confirmation-dialog/confirmation-dialog.component.d.ts +0 -20
  916. package/lib/components/core-dialog/core-dialog.module.d.ts +0 -4
  917. package/lib/components/core-dialog/core-dialog.service.d.ts +0 -15
  918. package/lib/components/core-dialog/core-dynamic-component.service.d.ts +0 -12
  919. package/lib/components/double-calendar/double-calendar.component.d.ts +0 -18
  920. package/lib/components/double-calendar/double-calendar.module.d.ts +0 -2
  921. package/lib/components/filter-item/filter-item-viewmodel.d.ts +0 -9
  922. package/lib/components/filter-item/filter-item.component.d.ts +0 -80
  923. package/lib/components/filter-item/filter-item.module.d.ts +0 -2
  924. package/lib/components/filter-item/filter-viewmodel.d.ts +0 -8
  925. package/lib/components/form/form.component.d.ts +0 -39
  926. package/lib/components/form/form.module.d.ts +0 -2
  927. package/lib/components/grid-toolbar/grid-toolbar.component.d.ts +0 -19
  928. package/lib/components/grid-toolbar/grid-toolbar.module.d.ts +0 -2
  929. package/lib/components/grid-toolbar-button/grid-toolbar-button.component.d.ts +0 -8
  930. package/lib/components/grid-toolbar-button/grid-toolbar-button.module.d.ts +0 -2
  931. package/lib/components/icon/icon-cache.service.d.ts +0 -20
  932. package/lib/components/icon/icon.component.d.ts +0 -17
  933. package/lib/components/icon/icon.module.d.ts +0 -2
  934. package/lib/components/icon-collapse-handle/icon-collapse-handle.component.d.ts +0 -21
  935. package/lib/components/icon-collapse-handle/icon-collapse-handle.module.d.ts +0 -2
  936. package/lib/components/image/image.component.d.ts +0 -20
  937. package/lib/components/image/image.module.d.ts +0 -2
  938. package/lib/components/input-checkbox/input-checkbox.component.d.ts +0 -24
  939. package/lib/components/input-checkbox/input-checkbox.module.d.ts +0 -2
  940. package/lib/components/input-date-picker/input-date-picker.component.d.ts +0 -12
  941. package/lib/components/input-date-picker/input-date-picker.module.d.ts +0 -2
  942. package/lib/components/input-date-range-picker/input-date-range-picker.component.d.ts +0 -20
  943. package/lib/components/input-date-range-picker/input-date-range-picker.module.d.ts +0 -2
  944. package/lib/components/input-number-picker/input-number-picker.component.d.ts +0 -73
  945. package/lib/components/input-number-picker/input-number-picker.module.d.ts +0 -2
  946. package/lib/components/input-radio-button/input-radio-button.component.d.ts +0 -19
  947. package/lib/components/input-radio-button/input-radio-button.module.d.ts +0 -2
  948. package/lib/components/input-scanner/bar-code-scanner.d.ts +0 -7
  949. package/lib/components/input-scanner/input-scanner.component.d.ts +0 -24
  950. package/lib/components/input-scanner/input-scanner.module.d.ts +0 -2
  951. package/lib/components/input-scanner/scanner.service.d.ts +0 -11
  952. package/lib/components/input-search/input-search.component.d.ts +0 -20
  953. package/lib/components/input-search/input-search.module.d.ts +0 -2
  954. package/lib/components/input-text/input-text.component.d.ts +0 -66
  955. package/lib/components/input-text/input-text.module.d.ts +0 -2
  956. package/lib/components/input-textarea/input-textarea.component.d.ts +0 -19
  957. package/lib/components/input-textarea/input-textarea.module.d.ts +0 -2
  958. package/lib/components/level-indicator/level-indicator-level.enum.d.ts +0 -5
  959. package/lib/components/level-indicator/level-indicator.component.d.ts +0 -10
  960. package/lib/components/level-indicator/level-indicator.module.d.ts +0 -2
  961. package/lib/components/list-of-icons/list-of-icons.component.d.ts +0 -18
  962. package/lib/components/list-of-icons/list-of-icons.module.d.ts +0 -2
  963. package/lib/components/list-of-icons/style/_layout.scss +0 -83
  964. package/lib/components/list-of-values/list-of-values-multiselect-popup.component.d.ts +0 -25
  965. package/lib/components/list-of-values/list-of-values-popup.component.d.ts +0 -47
  966. package/lib/components/list-of-values/list-of-values.component.d.ts +0 -37
  967. package/lib/components/list-of-values/list-of-values.module.d.ts +0 -2
  968. package/lib/components/loader/loader.component.d.ts +0 -3
  969. package/lib/components/loader/loader.module.d.ts +0 -2
  970. package/lib/components/pagination/paginate.pipe.d.ts +0 -15
  971. package/lib/components/pagination/pagination-instance.d.ts +0 -14
  972. package/lib/components/pagination/pagination.component.d.ts +0 -38
  973. package/lib/components/pagination/pagination.module.d.ts +0 -2
  974. package/lib/components/pagination/pagination.service.d.ts +0 -24
  975. package/lib/components/pagination-bar/pagination-bar.component.d.ts +0 -33
  976. package/lib/components/pagination-bar/pagination-bar.module.d.ts +0 -2
  977. package/lib/components/popup/const/popup-window-token.d.ts +0 -3
  978. package/lib/components/popup/interface/popup-button.d.ts +0 -8
  979. package/lib/components/popup/interface/popup-close-event.d.ts +0 -5
  980. package/lib/components/popup/interface/popup-settings.d.ts +0 -21
  981. package/lib/components/popup/interface/popup.d.ts +0 -9
  982. package/lib/components/popup/model/popup-button-globals.d.ts +0 -9
  983. package/lib/components/popup/model/popup-window.d.ts +0 -21
  984. package/lib/components/popup/popup-buttons.component.d.ts +0 -13
  985. package/lib/components/popup/popup-message-display.component.d.ts +0 -12
  986. package/lib/components/popup/popup-window-shell.component.d.ts +0 -42
  987. package/lib/components/popup/popup.module.d.ts +0 -4
  988. package/lib/components/popup/service/popup-shower.service.d.ts +0 -17
  989. package/lib/components/popup/service/prompt.service.d.ts +0 -17
  990. package/lib/components/popup/text-input-popup.component.d.ts +0 -12
  991. package/lib/components/responsive-text/responsive-text.component.d.ts +0 -4
  992. package/lib/components/responsive-text/responsive-text.module.d.ts +0 -2
  993. package/lib/components/simple-grid/base-simple-grid.component.d.ts +0 -53
  994. package/lib/components/simple-grid/simple-grid-cell.component.d.ts +0 -30
  995. package/lib/components/simple-grid/simple-grid-column.directive.d.ts +0 -43
  996. package/lib/components/simple-grid/simple-grid.component.d.ts +0 -78
  997. package/lib/components/simple-grid/simple-grid.module.d.ts +0 -2
  998. package/lib/components/tile/tile.component.d.ts +0 -16
  999. package/lib/components/tile/tile.module.d.ts +0 -2
  1000. package/lib/components/tile-select/tile-select.component.d.ts +0 -8
  1001. package/lib/components/tile-select/tile-select.module.d.ts +0 -2
  1002. package/lib/components/tooltip/tooltip.component.d.ts +0 -18
  1003. package/lib/components/tooltip/tooltip.module.d.ts +0 -2
  1004. package/lib/components/validation-error/validation-error.component.d.ts +0 -12
  1005. package/lib/components/validation-error/validation-error.module.d.ts +0 -2
  1006. package/lib/components/view-mode-buttons/content-view-mode.enum.d.ts +0 -8
  1007. package/lib/components/view-mode-buttons/view-mode-buttons.component.d.ts +0 -17
  1008. package/lib/components/view-mode-buttons/view-mode-buttons.module.d.ts +0 -2
  1009. package/lib/core/constant/default-upper-bound-for-range-components.d.ts +0 -2
  1010. package/lib/core/constant/java-max-int.d.ts +0 -1
  1011. package/lib/core/constant/number-inputs-key-down-white-list.d.ts +0 -2
  1012. package/lib/core/decorator/input-boolean.decorator.d.ts +0 -8
  1013. package/lib/core/enum/co-direction.d.ts +0 -6
  1014. package/lib/core/enum/co-document-image-display-kind.enum.d.ts +0 -5
  1015. package/lib/core/enum/co-document-type.enum.d.ts +0 -5
  1016. package/lib/core/enum/co-orientation.d.ts +0 -6
  1017. package/lib/core/enum/core-components-icon.enum.d.ts +0 -298
  1018. package/lib/core/enum/file-type-internal.enum.d.ts +0 -15
  1019. package/lib/core/enum/file-type.enum.d.ts +0 -5
  1020. package/lib/core/enum/filterItem-mode.enum.d.ts +0 -15
  1021. package/lib/core/enum/input-number-picker-show-mode.enum.d.ts +0 -5
  1022. package/lib/core/enum/keyboard-code.enum.d.ts +0 -71
  1023. package/lib/core/enum/keyboard-key.enum.d.ts +0 -70
  1024. package/lib/core/enum/object-right-type.enum.d.ts +0 -5
  1025. package/lib/core/enum/popup-button-type.enum.d.ts +0 -9
  1026. package/lib/core/enum/popup-type.enum.d.ts +0 -9
  1027. package/lib/core/enum/table-name.enum.d.ts +0 -79
  1028. package/lib/core/function/any-nill.function.d.ts +0 -1
  1029. package/lib/core/function/is-nill.function.d.ts +0 -1
  1030. package/lib/core/function/none-nill.function.d.ts +0 -1
  1031. package/lib/core/function/not-nill.function.d.ts +0 -1
  1032. package/lib/core/model/bounds-constrained-number-value.d.ts +0 -46
  1033. package/lib/core/model/check-precision-and-scale-result.d.ts +0 -4
  1034. package/lib/core/model/check-within-stepped-bounds-result.d.ts +0 -8
  1035. package/lib/core/model/co-document-right.bo.d.ts +0 -6
  1036. package/lib/core/model/co-document.bo.d.ts +0 -61
  1037. package/lib/core/model/core-components-icon-svg.d.ts +0 -4
  1038. package/lib/core/model/element-position.d.ts +0 -7
  1039. package/lib/core/model/event/string-prompt-result-event.d.ts +0 -6
  1040. package/lib/core/service/form-input-user-change-listener.service.d.ts +0 -10
  1041. package/lib/core/service/form-master.service.d.ts +0 -26
  1042. package/lib/core/service/ng-zone-wrapper.service.d.ts +0 -6
  1043. package/lib/core/utils/array-utils.d.ts +0 -85
  1044. package/lib/core/utils/browser-utils.d.ts +0 -15
  1045. package/lib/core/utils/direction-enum-utils.d.ts +0 -5
  1046. package/lib/core/utils/event-utils.d.ts +0 -12
  1047. package/lib/core/utils/file-utils.d.ts +0 -29
  1048. package/lib/core/utils/number-utils.d.ts +0 -89
  1049. package/lib/core/utils/object-utils.d.ts +0 -31
  1050. package/lib/core/utils/string-utils.d.ts +0 -25
  1051. package/lib/core/validator/email.validator.d.ts +0 -2
  1052. package/lib/core/validator/equal.validator.d.ts +0 -2
  1053. package/lib/core/validator/max-string-length.validator.d.ts +0 -2
  1054. package/lib/core/validator/password.validator.d.ts +0 -3
  1055. package/lib/core/validator/precision-scale.validator.d.ts +0 -2
  1056. package/lib/core/validator/required.validator.d.ts +0 -2
  1057. package/lib/directives/clickoutside/click-outside-master.service.d.ts +0 -15
  1058. package/lib/directives/clickoutside/click-outside.directive.d.ts +0 -18
  1059. package/lib/directives/clickoutside/clickoutside.module.d.ts +0 -2
  1060. package/lib/directives/observe-visibility/observe-visibility.directive.d.ts +0 -14
  1061. package/lib/directives/observe-visibility/observe-visibility.module.d.ts +0 -2
  1062. package/lib/directives/overlay/overlay-parent.directive.d.ts +0 -6
  1063. package/lib/directives/overlay/overlay.directive.d.ts +0 -25
  1064. package/lib/directives/overlay/overlay.module.d.ts +0 -2
  1065. package/lib/directives/ripple/ripple-ref.d.ts +0 -21
  1066. package/lib/directives/ripple/ripple-renderer.d.ts +0 -56
  1067. package/lib/directives/ripple/ripple.directive.d.ts +0 -56
  1068. package/lib/directives/ripple/ripple.module.d.ts +0 -2
  1069. package/lib/directives/ripple/scroll-dispatcher.service.d.ts +0 -51
  1070. package/lib/directives/ripple/scrollable.directive.d.ts +0 -20
  1071. package/lib/directives/ripple/viewport-ruler.service.d.ts +0 -29
  1072. package/lib/directives/screen-configuration/screen-configuration.directive.d.ts +0 -32
  1073. package/lib/directives/screen-configuration/screen-configuration.module.d.ts +0 -2
  1074. package/lib/directives/stopclick/stop-click.directive.d.ts +0 -10
  1075. package/lib/directives/stopclick/stop-click.module.d.ts +0 -2
  1076. package/lib/directives/template-wrapper/template-wrapper.directive.d.ts +0 -13
  1077. package/lib/directives/template-wrapper/template-wrapper.module.d.ts +0 -2
  1078. package/lib/directives/tooltip/tooltip-directive.module.d.ts +0 -2
  1079. package/lib/directives/tooltip/tooltip.directive.d.ts +0 -20
  1080. package/lib/interfaces/dialog-response.interface.d.ts +0 -6
  1081. package/lib/interfaces/screen-config-adapter-component-interface-name.d.ts +0 -3
  1082. package/lib/interfaces/screen-config-adapter.component.interface.d.ts +0 -10
  1083. package/lib/model/enum/app-button-type.enum.d.ts +0 -9
  1084. package/lib/model/enum/app-popup-type.enum.d.ts +0 -6
  1085. package/lib/model/icon-list-item.d.ts +0 -6
  1086. package/lib/pipes/append.pipe.d.ts +0 -4
  1087. package/lib/pipes/append.pipe.module.d.ts +0 -2
  1088. package/lib/pipes/filter.pipe.d.ts +0 -4
  1089. package/lib/pipes/filter.pipe.module.d.ts +0 -2
  1090. package/lib/pipes/prepend.pipe.d.ts +0 -4
  1091. package/lib/pipes/prepend.pipe.module.d.ts +0 -2
  1092. package/lib/pipes/price-display-pipe.module.d.ts +0 -2
  1093. package/lib/pipes/price-display.pipe.d.ts +0 -4
  1094. package/lib/service/base-module-screen-config.service.d.ts +0 -47
  1095. package/lib/service/base-module.service.d.ts +0 -22
  1096. package/lib/service/color-sequence.service.d.ts +0 -7
  1097. package/lib/service/overlay.service.d.ts +0 -13
  1098. package/lib/translation/core-components-translation.module.d.ts +0 -4
  1099. package/lib/translation/core-components-translation.service.d.ts +0 -6
  1100. package/lib/translation/core-dictionary.service.d.ts +0 -12
  1101. package/lib/translation/core-localize.pipe.d.ts +0 -7
  1102. package/public-api.d.ts +0 -128
  1103. /package/{lib → projects/corecomponents/src/lib}/components/article-tile/article-tile.component.scss +0 -0
  1104. /package/{lib → projects/corecomponents/src/lib}/components/base/commit-buttons/style/_layout.scss +0 -0
  1105. /package/{lib → projects/corecomponents/src/lib}/components/base/commit-buttons/style/_material-definition.scss +0 -0
  1106. /package/{lib → projects/corecomponents/src/lib}/components/base/commit-buttons/style/_theme.scss +0 -0
  1107. /package/{lib → projects/corecomponents/src/lib}/components/base/commit-buttons/style/material.scss +0 -0
  1108. /package/{lib → projects/corecomponents/src/lib}/components/button/style/_co-ripple.scss +0 -0
  1109. /package/{lib → projects/corecomponents/src/lib}/components/button/style/_layout.scss +0 -0
  1110. /package/{lib → projects/corecomponents/src/lib}/components/button/style/_material-definition.scss +0 -0
  1111. /package/{lib → projects/corecomponents/src/lib}/components/button/style/_theme.scss +0 -0
  1112. /package/{lib → projects/corecomponents/src/lib}/components/button/style/material.scss +0 -0
  1113. /package/{lib → projects/corecomponents/src/lib}/components/calendar/style/_layout.scss +0 -0
  1114. /package/{lib → projects/corecomponents/src/lib}/components/calendar/style/_material-definition.scss +0 -0
  1115. /package/{lib → projects/corecomponents/src/lib}/components/calendar/style/_theme.scss +0 -0
  1116. /package/{lib → projects/corecomponents/src/lib}/components/calendar/style/material.scss +0 -0
  1117. /package/{lib → projects/corecomponents/src/lib}/components/card/style/_layout.scss +0 -0
  1118. /package/{lib → projects/corecomponents/src/lib}/components/card/style/_material-definition.scss +0 -0
  1119. /package/{lib → projects/corecomponents/src/lib}/components/card/style/_theme.scss +0 -0
  1120. /package/{lib → projects/corecomponents/src/lib}/components/card/style/material.scss +0 -0
  1121. /package/{lib → projects/corecomponents/src/lib}/components/carousel/style/_layout.scss +0 -0
  1122. /package/{lib → projects/corecomponents/src/lib}/components/carousel/style/_material-definition.scss +0 -0
  1123. /package/{lib → projects/corecomponents/src/lib}/components/carousel/style/_theme.scss +0 -0
  1124. /package/{lib → projects/corecomponents/src/lib}/components/carousel/style/material.scss +0 -0
  1125. /package/{lib → projects/corecomponents/src/lib}/components/carousel-3d/style/_layout.scss +0 -0
  1126. /package/{lib → projects/corecomponents/src/lib}/components/carousel-3d/style/_material-definition.scss +0 -0
  1127. /package/{lib → projects/corecomponents/src/lib}/components/carousel-3d/style/_theme.scss +0 -0
  1128. /package/{lib → projects/corecomponents/src/lib}/components/carousel-3d/style/material.scss +0 -0
  1129. /package/{lib → projects/corecomponents/src/lib}/components/checkmark-overlay/style/_layout.scss +0 -0
  1130. /package/{lib → projects/corecomponents/src/lib}/components/checkmark-overlay/style/_material-definition.scss +0 -0
  1131. /package/{lib → projects/corecomponents/src/lib}/components/checkmark-overlay/style/_theme.scss +0 -0
  1132. /package/{lib → projects/corecomponents/src/lib}/components/checkmark-overlay/style/material.scss +0 -0
  1133. /package/{lib → projects/corecomponents/src/lib}/components/co-dialog/style/_layout.scss +0 -0
  1134. /package/{lib → projects/corecomponents/src/lib}/components/co-dialog/style/_material-definition.scss +0 -0
  1135. /package/{lib → projects/corecomponents/src/lib}/components/co-dialog/style/_theme.scss +0 -0
  1136. /package/{lib → projects/corecomponents/src/lib}/components/co-dialog/style/material.scss +0 -0
  1137. /package/{lib → projects/corecomponents/src/lib}/components/co-dialog-wizard/style/_layout.scss +0 -0
  1138. /package/{lib → projects/corecomponents/src/lib}/components/co-dialog-wizard/style/_material-definition.scss +0 -0
  1139. /package/{lib → projects/corecomponents/src/lib}/components/co-dialog-wizard/style/_theme.scss +0 -0
  1140. /package/{lib → projects/corecomponents/src/lib}/components/co-dialog-wizard/style/material.scss +0 -0
  1141. /package/{lib → projects/corecomponents/src/lib}/components/collapsible/style/_layout.scss +0 -0
  1142. /package/{lib → projects/corecomponents/src/lib}/components/collapsible/style/_material-definition.scss +0 -0
  1143. /package/{lib → projects/corecomponents/src/lib}/components/collapsible/style/_theme.scss +0 -0
  1144. /package/{lib → projects/corecomponents/src/lib}/components/collapsible/style/material.scss +0 -0
  1145. /package/{lib → projects/corecomponents/src/lib}/components/color-picker/style/_layout.scss +0 -0
  1146. /package/{lib → projects/corecomponents/src/lib}/components/color-picker/style/_material-definition.scss +0 -0
  1147. /package/{lib → projects/corecomponents/src/lib}/components/color-picker/style/_theme.scss +0 -0
  1148. /package/{lib → projects/corecomponents/src/lib}/components/color-picker/style/material.scss +0 -0
  1149. /package/{lib → projects/corecomponents/src/lib}/components/core-dialog/confirmation-dialog/style/_layout.scss +0 -0
  1150. /package/{lib → projects/corecomponents/src/lib}/components/core-dialog/confirmation-dialog/style/_material-definition.scss +0 -0
  1151. /package/{lib → projects/corecomponents/src/lib}/components/core-dialog/confirmation-dialog/style/_theme.scss +0 -0
  1152. /package/{lib → projects/corecomponents/src/lib}/components/core-dialog/confirmation-dialog/style/material.scss +0 -0
  1153. /package/{lib → projects/corecomponents/src/lib}/components/core-dialog/style/_layout.scss +0 -0
  1154. /package/{lib → projects/corecomponents/src/lib}/components/core-dialog/style/_material-definition.scss +0 -0
  1155. /package/{lib → projects/corecomponents/src/lib}/components/core-dialog/style/_theme.scss +0 -0
  1156. /package/{lib → projects/corecomponents/src/lib}/components/core-dialog/style/material.scss +0 -0
  1157. /package/{lib → projects/corecomponents/src/lib}/components/double-calendar/style/_layout.scss +0 -0
  1158. /package/{lib → projects/corecomponents/src/lib}/components/double-calendar/style/_material-definition.scss +0 -0
  1159. /package/{lib → projects/corecomponents/src/lib}/components/double-calendar/style/_theme.scss +0 -0
  1160. /package/{lib → projects/corecomponents/src/lib}/components/double-calendar/style/material.scss +0 -0
  1161. /package/{lib → projects/corecomponents/src/lib}/components/filter-item/style/_layout.scss +0 -0
  1162. /package/{lib → projects/corecomponents/src/lib}/components/filter-item/style/_material-definition.scss +0 -0
  1163. /package/{lib → projects/corecomponents/src/lib}/components/filter-item/style/_theme.scss +0 -0
  1164. /package/{lib → projects/corecomponents/src/lib}/components/filter-item/style/material.scss +0 -0
  1165. /package/{lib → projects/corecomponents/src/lib}/components/grid-toolbar/style/_layout.scss +0 -0
  1166. /package/{lib → projects/corecomponents/src/lib}/components/grid-toolbar/style/_material-definition.scss +0 -0
  1167. /package/{lib → projects/corecomponents/src/lib}/components/grid-toolbar/style/_theme.scss +0 -0
  1168. /package/{lib → projects/corecomponents/src/lib}/components/grid-toolbar/style/material.scss +0 -0
  1169. /package/{lib → projects/corecomponents/src/lib}/components/grid-toolbar-button/style/_layout.scss +0 -0
  1170. /package/{lib → projects/corecomponents/src/lib}/components/grid-toolbar-button/style/_material-definition.scss +0 -0
  1171. /package/{lib → projects/corecomponents/src/lib}/components/grid-toolbar-button/style/_theme.scss +0 -0
  1172. /package/{lib → projects/corecomponents/src/lib}/components/grid-toolbar-button/style/material.scss +0 -0
  1173. /package/{lib → projects/corecomponents/src/lib}/components/icon/style/_layout.scss +0 -0
  1174. /package/{lib → projects/corecomponents/src/lib}/components/icon/style/_material-definition.scss +0 -0
  1175. /package/{lib → projects/corecomponents/src/lib}/components/icon/style/_theme.scss +0 -0
  1176. /package/{lib → projects/corecomponents/src/lib}/components/icon/style/material.scss +0 -0
  1177. /package/{lib → projects/corecomponents/src/lib}/components/icon-collapse-handle/style/_layout.scss +0 -0
  1178. /package/{lib → projects/corecomponents/src/lib}/components/icon-collapse-handle/style/_material-definition.scss +0 -0
  1179. /package/{lib → projects/corecomponents/src/lib}/components/icon-collapse-handle/style/_theme.scss +0 -0
  1180. /package/{lib → projects/corecomponents/src/lib}/components/icon-collapse-handle/style/material.scss +0 -0
  1181. /package/{lib → projects/corecomponents/src/lib}/components/image/style/_layout.scss +0 -0
  1182. /package/{lib → projects/corecomponents/src/lib}/components/image/style/_material-definition.scss +0 -0
  1183. /package/{lib → projects/corecomponents/src/lib}/components/image/style/_theme.scss +0 -0
  1184. /package/{lib → projects/corecomponents/src/lib}/components/image/style/material.scss +0 -0
  1185. /package/{lib → projects/corecomponents/src/lib}/components/input-checkbox/style/_layout.scss +0 -0
  1186. /package/{lib → projects/corecomponents/src/lib}/components/input-checkbox/style/_material-definition.scss +0 -0
  1187. /package/{lib → projects/corecomponents/src/lib}/components/input-checkbox/style/_theme.scss +0 -0
  1188. /package/{lib → projects/corecomponents/src/lib}/components/input-checkbox/style/material.scss +0 -0
  1189. /package/{lib → projects/corecomponents/src/lib}/components/input-date-picker/style/_layout.scss +0 -0
  1190. /package/{lib → projects/corecomponents/src/lib}/components/input-date-picker/style/_material-definition.scss +0 -0
  1191. /package/{lib → projects/corecomponents/src/lib}/components/input-date-picker/style/_theme.scss +0 -0
  1192. /package/{lib → projects/corecomponents/src/lib}/components/input-date-picker/style/material.scss +0 -0
  1193. /package/{lib → projects/corecomponents/src/lib}/components/input-date-range-picker/style/_layout.scss +0 -0
  1194. /package/{lib → projects/corecomponents/src/lib}/components/input-date-range-picker/style/_material-definition.scss +0 -0
  1195. /package/{lib → projects/corecomponents/src/lib}/components/input-date-range-picker/style/_theme.scss +0 -0
  1196. /package/{lib → projects/corecomponents/src/lib}/components/input-date-range-picker/style/material.scss +0 -0
  1197. /package/{lib → projects/corecomponents/src/lib}/components/input-number-picker/style/_layout.scss +0 -0
  1198. /package/{lib → projects/corecomponents/src/lib}/components/input-number-picker/style/_material-definition.scss +0 -0
  1199. /package/{lib → projects/corecomponents/src/lib}/components/input-number-picker/style/_theme.scss +0 -0
  1200. /package/{lib → projects/corecomponents/src/lib}/components/input-number-picker/style/material.scss +0 -0
  1201. /package/{lib → projects/corecomponents/src/lib}/components/input-radio-button/style/_layout.scss +0 -0
  1202. /package/{lib → projects/corecomponents/src/lib}/components/input-radio-button/style/_material-definition.scss +0 -0
  1203. /package/{lib → projects/corecomponents/src/lib}/components/input-radio-button/style/_theme.scss +0 -0
  1204. /package/{lib → projects/corecomponents/src/lib}/components/input-radio-button/style/material.scss +0 -0
  1205. /package/{lib → projects/corecomponents/src/lib}/components/input-scanner/style/_layout.scss +0 -0
  1206. /package/{lib → projects/corecomponents/src/lib}/components/input-scanner/style/_material-definition.scss +0 -0
  1207. /package/{lib → projects/corecomponents/src/lib}/components/input-scanner/style/_theme.scss +0 -0
  1208. /package/{lib → projects/corecomponents/src/lib}/components/input-scanner/style/material.scss +0 -0
  1209. /package/{lib → projects/corecomponents/src/lib}/components/input-search/style/_layout.scss +0 -0
  1210. /package/{lib → projects/corecomponents/src/lib}/components/input-search/style/_material-definition.scss +0 -0
  1211. /package/{lib → projects/corecomponents/src/lib}/components/input-search/style/_theme.scss +0 -0
  1212. /package/{lib → projects/corecomponents/src/lib}/components/input-search/style/material.scss +0 -0
  1213. /package/{lib → projects/corecomponents/src/lib}/components/input-text/style/_layout.scss +0 -0
  1214. /package/{lib → projects/corecomponents/src/lib}/components/input-text/style/_material-definition.scss +0 -0
  1215. /package/{lib → projects/corecomponents/src/lib}/components/input-text/style/_theme.scss +0 -0
  1216. /package/{lib → projects/corecomponents/src/lib}/components/input-text/style/material.scss +0 -0
  1217. /package/{lib → projects/corecomponents/src/lib}/components/input-textarea/style/_layout.scss +0 -0
  1218. /package/{lib → projects/corecomponents/src/lib}/components/input-textarea/style/_material-definition.scss +0 -0
  1219. /package/{lib → projects/corecomponents/src/lib}/components/input-textarea/style/_theme.scss +0 -0
  1220. /package/{lib → projects/corecomponents/src/lib}/components/input-textarea/style/material.scss +0 -0
  1221. /package/{lib → projects/corecomponents/src/lib}/components/level-indicator/style/_layout.scss +0 -0
  1222. /package/{lib → projects/corecomponents/src/lib}/components/level-indicator/style/_material-definition.scss +0 -0
  1223. /package/{lib → projects/corecomponents/src/lib}/components/level-indicator/style/_theme.scss +0 -0
  1224. /package/{lib → projects/corecomponents/src/lib}/components/level-indicator/style/material.scss +0 -0
  1225. /package/{lib → projects/corecomponents/src/lib}/components/list-of-icons/style/_material-definition.scss +0 -0
  1226. /package/{lib → projects/corecomponents/src/lib}/components/list-of-icons/style/_theme.scss +0 -0
  1227. /package/{lib → projects/corecomponents/src/lib}/components/list-of-icons/style/material.scss +0 -0
  1228. /package/{lib → projects/corecomponents/src/lib}/components/list-of-values/style/_layout.scss +0 -0
  1229. /package/{lib → projects/corecomponents/src/lib}/components/list-of-values/style/_material-definition.scss +0 -0
  1230. /package/{lib → projects/corecomponents/src/lib}/components/list-of-values/style/_theme.scss +0 -0
  1231. /package/{lib → projects/corecomponents/src/lib}/components/list-of-values/style/material.scss +0 -0
  1232. /package/{lib → projects/corecomponents/src/lib}/components/loader/style/_layout.scss +0 -0
  1233. /package/{lib → projects/corecomponents/src/lib}/components/loader/style/_material-definition.scss +0 -0
  1234. /package/{lib → projects/corecomponents/src/lib}/components/loader/style/_theme.scss +0 -0
  1235. /package/{lib → projects/corecomponents/src/lib}/components/loader/style/material.scss +0 -0
  1236. /package/{lib → projects/corecomponents/src/lib}/components/pagination/style/_layout.scss +0 -0
  1237. /package/{lib → projects/corecomponents/src/lib}/components/pagination/style/_material-definition.scss +0 -0
  1238. /package/{lib → projects/corecomponents/src/lib}/components/pagination/style/_theme.scss +0 -0
  1239. /package/{lib → projects/corecomponents/src/lib}/components/pagination/style/material.scss +0 -0
  1240. /package/{lib → projects/corecomponents/src/lib}/components/pagination-bar/style/_layout.scss +0 -0
  1241. /package/{lib → projects/corecomponents/src/lib}/components/pagination-bar/style/_material-definition.scss +0 -0
  1242. /package/{lib → projects/corecomponents/src/lib}/components/pagination-bar/style/_theme.scss +0 -0
  1243. /package/{lib → projects/corecomponents/src/lib}/components/pagination-bar/style/material.scss +0 -0
  1244. /package/{lib → projects/corecomponents/src/lib}/components/popup/popup-buttons.component.scss +0 -0
  1245. /package/{lib → projects/corecomponents/src/lib}/components/popup/popup-window-shell.component.scss +0 -0
  1246. /package/{lib → projects/corecomponents/src/lib}/components/responsive-text/style/_layout.scss +0 -0
  1247. /package/{lib → projects/corecomponents/src/lib}/components/responsive-text/style/_material-definition.scss +0 -0
  1248. /package/{lib → projects/corecomponents/src/lib}/components/responsive-text/style/_theme.scss +0 -0
  1249. /package/{lib → projects/corecomponents/src/lib}/components/responsive-text/style/material.scss +0 -0
  1250. /package/{lib → projects/corecomponents/src/lib}/components/simple-grid/style/_layout.scss +0 -0
  1251. /package/{lib → projects/corecomponents/src/lib}/components/simple-grid/style/_material-definition.scss +0 -0
  1252. /package/{lib → projects/corecomponents/src/lib}/components/simple-grid/style/_theme.scss +0 -0
  1253. /package/{lib → projects/corecomponents/src/lib}/components/simple-grid/style/material.scss +0 -0
  1254. /package/{lib → projects/corecomponents/src/lib}/components/tile/style/_layout.scss +0 -0
  1255. /package/{lib → projects/corecomponents/src/lib}/components/tile/style/_material-definition.scss +0 -0
  1256. /package/{lib → projects/corecomponents/src/lib}/components/tile/style/_theme.scss +0 -0
  1257. /package/{lib → projects/corecomponents/src/lib}/components/tile/style/material.scss +0 -0
  1258. /package/{lib → projects/corecomponents/src/lib}/components/tile-select/style/_layout.scss +0 -0
  1259. /package/{lib → projects/corecomponents/src/lib}/components/tile-select/style/_material-definition.scss +0 -0
  1260. /package/{lib → projects/corecomponents/src/lib}/components/tile-select/style/_theme.scss +0 -0
  1261. /package/{lib → projects/corecomponents/src/lib}/components/tile-select/style/material.scss +0 -0
  1262. /package/{lib → projects/corecomponents/src/lib}/components/tooltip/style/_layout.scss +0 -0
  1263. /package/{lib → projects/corecomponents/src/lib}/components/tooltip/style/_material-definition.scss +0 -0
  1264. /package/{lib → projects/corecomponents/src/lib}/components/tooltip/style/_theme.scss +0 -0
  1265. /package/{lib → projects/corecomponents/src/lib}/components/tooltip/style/material.scss +0 -0
  1266. /package/{lib → projects/corecomponents/src/lib}/components/validation-error/style/_layout.scss +0 -0
  1267. /package/{lib → projects/corecomponents/src/lib}/components/validation-error/style/_material-definition.scss +0 -0
  1268. /package/{lib → projects/corecomponents/src/lib}/components/validation-error/style/_theme.scss +0 -0
  1269. /package/{lib → projects/corecomponents/src/lib}/components/validation-error/style/material.scss +0 -0
  1270. /package/{lib → projects/corecomponents/src/lib}/components/view-mode-buttons/style/_layout.scss +0 -0
  1271. /package/{lib → projects/corecomponents/src/lib}/components/view-mode-buttons/style/_material-definition.scss +0 -0
  1272. /package/{lib → projects/corecomponents/src/lib}/components/view-mode-buttons/style/_theme.scss +0 -0
  1273. /package/{lib → projects/corecomponents/src/lib}/components/view-mode-buttons/style/material.scss +0 -0
  1274. /package/{lib/interfaces/scanner-input.interface.d.ts → projects/corecomponents/src/lib/interfaces/scanner-input.interface.ts} +0 -0
  1275. /package/{lib → projects/corecomponents/src/lib}/modules/pagination/style/_layout.scss +0 -0
  1276. /package/{lib → projects/corecomponents/src/lib}/modules/pagination/style/_material-definition.scss +0 -0
  1277. /package/{lib → projects/corecomponents/src/lib}/modules/pagination/style/_theme.scss +0 -0
  1278. /package/{lib → projects/corecomponents/src/lib}/modules/pagination/style/material.scss +0 -0
  1279. /package/{lib → projects/corecomponents/src/lib}/style/_input.mixins.scss +0 -0
  1280. /package/{lib → projects/corecomponents/src/lib}/style/_mixin.scss +0 -0
  1281. /package/{lib → projects/corecomponents/src/lib}/style/_variables.scss +0 -0
  1282. /package/{lib → projects/corecomponents/src/lib}/style/corecomponents-globals.scss +0 -0
  1283. /package/{lib → projects/corecomponents/src/lib}/style/material2/_core.scss +0 -0
  1284. /package/{lib → projects/corecomponents/src/lib}/style/material2/_material2-scss-barrel.scss +0 -0
  1285. /package/{lib → projects/corecomponents/src/lib}/style/material2/ripple/_co-ripple.scss +0 -0
  1286. /package/{lib → projects/corecomponents/src/lib}/style/material2/style/_elevation.scss +0 -0
  1287. /package/{lib → projects/corecomponents/src/lib}/style/material2/style/_list-common.scss +0 -0
  1288. /package/{lib → projects/corecomponents/src/lib}/style/material2/style/_variables.scss +0 -0
  1289. /package/{lib → projects/corecomponents/src/lib}/style/material2/theming/_palette.scss +0 -0
  1290. /package/{lib → projects/corecomponents/src/lib}/style/material2/theming/_theming.scss +0 -0
  1291. /package/{lib → projects/corecomponents/src/lib}/style/material2/typography/_typography.scss +0 -0
@@ -0,0 +1,988 @@
1
+ import {
2
+ AfterViewInit,
3
+ ChangeDetectorRef,
4
+ ComponentFactory,
5
+ ComponentFactoryResolver,
6
+ ComponentRef, ContentChild,
7
+ Directive,
8
+ ElementRef,
9
+ EventEmitter,
10
+ HostBinding,
11
+ HostListener,
12
+ Injectable,
13
+ Input,
14
+ OnDestroy,
15
+ OnInit,
16
+ Optional,
17
+ Output,
18
+ ViewChild,
19
+ ViewContainerRef
20
+ } from "@angular/core";
21
+ import {AsyncValidatorFn, FormControl, NgModel, ValidatorFn} from "@angular/forms";
22
+ import {isNill} from "../../core/function/is-nill.function";
23
+ import {notNill} from "../../core/function/not-nill.function";
24
+ import {InputBoolean, InputBooleanDecorator} from "../../core/decorator/input-boolean.decorator";
25
+ import {requiredValidator} from "../../core/validator/required.validator";
26
+ import {precisionScaleValidator} from "../../core/validator/precision-scale.validator";
27
+ import {maxStringLengthValidator} from "../../core/validator/max-string-length.validator";
28
+ import {StringUtils} from "../../core/utils/string-utils";
29
+ import {Subscription} from "rxjs";
30
+ import {FormInputUserModelChangeListenerService} from "../../core/service/form-input-user-change-listener.service";
31
+ import {NumberUtils} from "../../core/utils/number-utils";
32
+ import {NgZoneWrapperService} from "../../core/service/ng-zone-wrapper.service";
33
+ import {CoreComponentsIcon} from "../../core/enum/core-components-icon.enum";
34
+ import {FormComponent} from "../form/form.component";
35
+ import {ValidationErrorComponent} from "../validation-error/validation-error.component";
36
+ import {ScreenConfigAdapterComponent} from "../../interfaces/screen-config-adapter.component.interface";
37
+ import {OverlayService} from '../../service/overlay.service';
38
+ import {CommitButtonsComponent} from './commit-buttons/commit-buttons.component';
39
+
40
+ /**
41
+ * Abstract base class for all concrete form input components that contain a native <input> element. Provides common data and functionality, such as
42
+ * adding self as a control to the parent form.
43
+ */
44
+ @Directive()
45
+ @Injectable()
46
+ export abstract class BaseInputComponent<T> implements OnInit, OnDestroy, AfterViewInit, ScreenConfigAdapterComponent {
47
+ public readonly icons: typeof CoreComponentsIcon = CoreComponentsIcon;
48
+
49
+ @ViewChild("validationError", {read: ViewContainerRef})
50
+ public validationErrorContainer: ViewContainerRef;
51
+
52
+ @ViewChild(NgModel, {static: true})
53
+ public _ngModel: NgModel;
54
+
55
+ public get ngModel(): NgModel {
56
+ if (this._myFormInputInstance) {
57
+ return this._myFormInputInstance.ngModel;
58
+ } else {
59
+ return this._ngModel;
60
+ }
61
+ }
62
+
63
+ public static BaseFormInputComponentIndex: number = 0;
64
+ public static HiddenClass: string = "hidden";
65
+
66
+ @Input()
67
+ public showSaveCancel: boolean = false;
68
+
69
+ @Input()
70
+ public set model(value: T) {
71
+ if (!this._initialModelSet) {
72
+ this._initialModel = this._model;
73
+ this._initialModelSet = true;
74
+ }
75
+ this._model = value;
76
+ this.canSaveOrCancel = this._model !== this._initialModel;
77
+ this._modelDirtyForCommit = this._model !== this._initialModel;
78
+ this._clearErrorComponent();
79
+ this.modelSet();
80
+ }
81
+
82
+ public get model(): T {
83
+ return this._model;
84
+ }
85
+
86
+ @Input()
87
+ public label: string;
88
+
89
+ @Input() @InputBoolean()
90
+ public noValidation: boolean = false;
91
+
92
+ @Input() @InputBoolean()
93
+ public initFocus: boolean;
94
+
95
+ @Input() @InputBoolean()
96
+ public noClickFocus: boolean;
97
+
98
+ // used to link field to business object for deep-validation
99
+ @Input()
100
+ public businessObjectId: any;
101
+
102
+ // @Input()
103
+ // public errorMessage: ValidationMessage;
104
+
105
+ public name: string;
106
+
107
+ @Input()
108
+ public set disabled(disabled: boolean) {
109
+ if (disabled === this._disabled) {
110
+ return;
111
+ }
112
+ this._disabled = InputBooleanDecorator.InputValueToBoolean(disabled);
113
+ this._updateControlValidatorsAndOwnFlags();
114
+ }
115
+
116
+ public get disabled(): boolean {
117
+ return this._disabled;
118
+ }
119
+
120
+ @Input()
121
+ public set maxLength(maxLength: number) {
122
+ this.setMaxLength(maxLength);
123
+ }
124
+
125
+ public get maxLength(): number {
126
+ return notNill(this.forcedMaxLength) ? this.forcedMaxLength : this._maxLength;
127
+ }
128
+
129
+ @Input()
130
+ public forcedMaxLength: number;
131
+
132
+ @Input()
133
+ public set readonly(readonly: boolean) {
134
+ if (this._forceReadonly !== undefined || readonly === this._readonly) {
135
+ return;
136
+ }
137
+ this._readonly = InputBooleanDecorator.InputValueToBoolean(readonly);
138
+ this._updateControlValidatorsAndOwnFlags();
139
+ if (this._hasOnPushCdStrategy) {
140
+ this.detectChanges();
141
+ }
142
+ }
143
+
144
+ public get readonly(): boolean {
145
+ return this.forceReadonly || this._readonly;
146
+ }
147
+
148
+ @Input()
149
+ public set forceReadonly(forceReadonly: boolean) {
150
+ if (forceReadonly === this._forceReadonly) {
151
+ return;
152
+ }
153
+ this._forceReadonly = InputBooleanDecorator.InputValueToBoolean(forceReadonly);
154
+ this._updateControlValidatorsAndOwnFlags();
155
+ }
156
+
157
+ public get forceReadonly(): boolean {
158
+ return this._forceReadonly;
159
+ }
160
+
161
+ @Input()
162
+ public set required(required: boolean) {
163
+ if (required === this._required) {
164
+ return;
165
+ }
166
+ this._required = InputBooleanDecorator.InputValueToBoolean(required);
167
+ this._updateControlValidatorsAndOwnFlags();
168
+ }
169
+
170
+ public get required(): boolean {
171
+ return this.forceRequired || this._required;
172
+ }
173
+
174
+ @Input() @InputBoolean()
175
+ public forceRequired: boolean = false; // a force outside of [cfgName]'s influence
176
+
177
+ @Input()
178
+ public set validators(validators: ValidatorFn[]) {
179
+ if (validators === this._validators) {
180
+ return;
181
+ }
182
+ this._validators = validators;
183
+ this._updateControlValidatorsAndOwnFlags();
184
+ }
185
+
186
+ public get validators(): ValidatorFn[] {
187
+ return this._validators;
188
+ }
189
+
190
+ @Input()
191
+ public set asyncValidators(validators: AsyncValidatorFn[]) {
192
+ this._asyncValidators = validators;
193
+ this._updateControlValidatorsAndOwnFlags();
194
+ }
195
+
196
+ public get asyncValidators(): AsyncValidatorFn[] {
197
+ return this._asyncValidators;
198
+ }
199
+
200
+ @Input() @HostBinding("class." + BaseInputComponent.HiddenClass)
201
+ public set hidden(hidden: boolean) {
202
+ if (hidden === this._hidden) {
203
+ return;
204
+ }
205
+
206
+ this._hidden = hidden;
207
+
208
+ this._addOrRemoveSelfFromForm();
209
+
210
+ if (!this._destroyed) {
211
+ if (hidden) {
212
+ this.changeDetector.detach();
213
+ } else {
214
+ this.changeDetector.reattach();
215
+ if (this._hasOnPushCdStrategy) {
216
+ this.detectChangesAfterAngular();
217
+ }
218
+ }
219
+ }
220
+
221
+ this.hiddenChange.emit(hidden);
222
+ }
223
+
224
+ public get hidden(): boolean {
225
+ return this._hidden;
226
+ }
227
+
228
+ // no custom setter logic as with the other 'screen config props', because concrete form input components handle this themselves.
229
+ @Input()
230
+ public set decimals(value: number) {
231
+ this._decimals = value;
232
+ }
233
+
234
+ public get decimals(): number {
235
+ return this._decimals;
236
+ }
237
+
238
+ @Input()
239
+ public icon: CoreComponentsIcon;
240
+
241
+ @Input()
242
+ public customCssClass: string;
243
+
244
+ // Goal: ability to emulate the red background of input fields (form-submitted invalid state)
245
+ @Input() @HostBinding("class.cc-red-error-background")
246
+ public redErrorBackground: boolean = false;
247
+
248
+ @Input()
249
+ set myFormInputInstance(value: BaseInputComponent<T>) {
250
+ if (value === this._myFormInputInstance) {
251
+ return;
252
+ }
253
+ this._myFormInputInstance = value;
254
+ this._updateControlValidatorsAndOwnFlags();
255
+ }
256
+
257
+ get myFormInputInstance(): BaseInputComponent<T> {
258
+ return this._myFormInputInstance;
259
+ }
260
+
261
+ @Input()
262
+ public commitOnBlur: boolean = true;
263
+
264
+ // @Output()
265
+ // public commit: EventEmitter<any> = new EventEmitter<any>();
266
+
267
+ @Output()
268
+ public readonly nativeBlur: EventEmitter<any> = new EventEmitter();
269
+
270
+ @Output()
271
+ public readonly blur: EventEmitter<any> = new EventEmitter();
272
+
273
+ // emits when the enter button on keyboard was pressed while this form input had focussed
274
+ @Output()
275
+ public readonly enter: EventEmitter<any> = new EventEmitter();
276
+
277
+ @Output()
278
+ public readonly focus: EventEmitter<any> = new EventEmitter();
279
+
280
+ @Output()
281
+ public readonly keyDown: EventEmitter<any> = new EventEmitter();
282
+
283
+ @Output()
284
+ public readonly keyUp: EventEmitter<any> = new EventEmitter();
285
+
286
+ @Output()
287
+ public readonly modelChange: EventEmitter<any> = new EventEmitter<any>();
288
+
289
+ @Output()
290
+ public readonly userModelChange: EventEmitter<any> = new EventEmitter<any>();
291
+
292
+ @Output()
293
+ public readonly hiddenChange: EventEmitter<boolean> = new EventEmitter<boolean>();
294
+
295
+ @HostBinding("class.cc-input-focused")
296
+ public focused: boolean = false;
297
+
298
+ public formComponent: FormComponent;
299
+
300
+ @HostBinding("class.form-input")
301
+ public formInput: boolean = true;
302
+
303
+ @Input() @InputBoolean() @HostBinding("class.custom-width")
304
+ public customWidth: boolean = false;
305
+
306
+ @Input() @InputBoolean() @HostBinding('class.custom-height')
307
+ public customHeight: boolean = false;
308
+
309
+ @Input() @InputBoolean()
310
+ public noTriangleGraphic: boolean = false;
311
+
312
+ @Input() @InputBoolean()
313
+ public keepFocussed: boolean = false;
314
+
315
+ @Input() @InputBoolean() @HostBinding("class.half-width")
316
+ public halfWidth: boolean = false;
317
+
318
+ @Input() @InputBoolean() @HostBinding("class.full-width-important")
319
+ public fullWidth: boolean = false;
320
+
321
+ @Input() @InputBoolean()
322
+ public excludeUserModelChange: boolean = false;
323
+
324
+ @Input() @InputBoolean()
325
+ public noFormGroupControl: boolean = false;
326
+
327
+ @HostBinding("class.form-submitted")
328
+ public get formSubmitted(): boolean {
329
+ return this.formComponent && this.formComponent.submitted;
330
+ }
331
+
332
+ @HostBinding("class.hasnolabel")
333
+ public get hasNoLabel(): boolean {
334
+ return isNill(this.label);
335
+ }
336
+
337
+ @HostBinding("class.hasvalue")
338
+ public get hasValue(): boolean {
339
+ return (!Array.isArray(this.model) && !!this.model || StringUtils.IsStringWithLength(this.model) || NumberUtils.IsNumber(this.model)) ||
340
+ (Array.isArray(this.model) && this.model.length > 0);
341
+ }
342
+
343
+ @HostBinding("class.invalid")
344
+ public get invalid(): boolean {
345
+ return this._checkState() && !this.control.valid;
346
+ }
347
+
348
+ @HostBinding("class.disabled")
349
+ public get isDisabled(): boolean {
350
+ return this._disabled;
351
+ }
352
+
353
+ @HostBinding("class.read-only")
354
+ public get isReadonly(): boolean {
355
+ return this.readonly;
356
+ }
357
+
358
+ @HostBinding("class.required")
359
+ public get isRequired(): boolean {
360
+ return this.required;
361
+ }
362
+
363
+ @HostBinding("class.cc-touched-invalid")
364
+ public get touchedInvalid(): boolean {
365
+ return this._controlExists() && this.control.touched && !this.control.valid;
366
+ }
367
+
368
+ @HostBinding("class.valid")
369
+ public get valid(): boolean {
370
+ return this._checkState() && this.control.valid;
371
+ }
372
+
373
+ @HostBinding("class.no-validation")
374
+ public get validationDisabled(): boolean {
375
+ return this.readonly || this.disabled || this.noValidation;
376
+ }
377
+
378
+ @HostListener("click", ["$event"])
379
+ onClick(event: MouseEvent): void {
380
+ if (this.canChange && !this.noClickFocus) {
381
+ this.requestFocus();
382
+ if (!this.excludeUserModelChange) {
383
+ this.markAsUserTouched();
384
+ }
385
+ }
386
+ }
387
+
388
+ @HostListener("focusin")
389
+ onFocusIn(): void {
390
+ if (!this.excludeUserModelChange) {
391
+ this.markAsUserTouched();
392
+ }
393
+ }
394
+
395
+ // @HostListener("document:scroll")
396
+ // public handleDocumentScroll(): void {
397
+ // this._positionValidationError();
398
+ // }
399
+
400
+ // @HostListener("window:resize")
401
+ // public handleWindowResize(): void {
402
+ // this._positionValidationError();
403
+ // }
404
+
405
+ @HostListener("keydown", ["$event"])
406
+ public handleKeyDown(event: KeyboardEvent): void {
407
+ this.keyDown.next(event);
408
+ if (this.showSaveCancel && this.canSaveOrCancel) {
409
+ this._handleKeyDown(event);
410
+ }
411
+ // this._positionValidationError();
412
+ }
413
+
414
+ public get canChange(): boolean {
415
+ return !this.readonly && !this.disabled;
416
+ }
417
+
418
+ public get control(): FormControl {
419
+ return this._myFormInputInstance ? this._myFormInputInstance.control : this.ngModel && this.ngModel.control;
420
+ }
421
+
422
+ public get formInputInstance(): BaseInputComponent<T> {
423
+ return this._myFormInputInstance || this;
424
+ }
425
+
426
+ public get isDestroyed(): boolean {
427
+ return this._destroyed;
428
+ }
429
+
430
+ public input: HTMLInputElement | HTMLTextAreaElement;
431
+
432
+ public keepFocus: boolean = false;
433
+
434
+ public set canSaveOrCancel(value: boolean) {
435
+ this._canSaveOrCancel = value;
436
+ if (this.showSaveCancel && this.focused && this._canSaveOrCancel) {
437
+ if (!this._commitButtonsComponentRef) {
438
+ this._commitButtonsComponentRef = this.overlayService.createComponent(CommitButtonsComponent,
439
+ {
440
+ parentForOverlay: this.elementRef,
441
+ committing: false,
442
+ commitFinished: false
443
+ }, {
444
+ commitClick: (event) => this._handleCommit(event),
445
+ cancelClick: (event) => this.cancelClick(event)
446
+ });
447
+ }
448
+ } else {
449
+ this.overlayService.removeComponent(this._commitButtonsComponentRef);
450
+ this._commitButtonsComponentRef = undefined;
451
+ }
452
+ }
453
+
454
+ public get canSaveOrCancel(): boolean {
455
+ return this._canSaveOrCancel;
456
+ }
457
+
458
+ // @implements ConfigurationAdapterComponent
459
+ public objectConfigName: string;
460
+ public validationError: string = "";
461
+
462
+ protected _markedAsUserTouched: boolean = false;
463
+
464
+ protected _destroyed: boolean = false;
465
+ protected _hasOnPushCdStrategy: boolean = false;
466
+ protected _model: T;
467
+ protected _modelDirtyForCommit: boolean = false;
468
+ protected _initialModel: T;
469
+ protected _initialModelSet: boolean = false;
470
+
471
+ private _myFormInputInstance: BaseInputComponent<T>;
472
+ private _errorValidationComponent: ComponentRef<ValidationErrorComponent>;
473
+ private _decimals: number;
474
+ private _hidden: boolean;
475
+ private _disabled: boolean;
476
+ private _maxLength: number;
477
+ private _readonly: boolean;
478
+ private _required: boolean;
479
+
480
+ private _forceReadonly: boolean = undefined;
481
+
482
+ private _validators: ValidatorFn[] = [];
483
+ private _asyncValidators: AsyncValidatorFn[] = [];
484
+
485
+ private _speechSub: Subscription;
486
+ private _modelChangeSub: Subscription;
487
+ private _formAnySubmitSub: Subscription;
488
+ private _formReadonlyChangeSub: Subscription;
489
+ private _clearMarkedAsUserTouchedSub: Subscription;
490
+ private _canSaveOrCancel: boolean = false;
491
+
492
+ private _commitButtonsComponentRef: ComponentRef<any>;
493
+ private _validationComponentRef: ComponentRef<any>;
494
+
495
+ constructor(
496
+ protected changeDetector: ChangeDetectorRef,
497
+ protected componentFactoryResolver: ComponentFactoryResolver,
498
+ protected overlayService: OverlayService,
499
+ @Optional() protected formUserChangeListener?: FormInputUserModelChangeListenerService,
500
+ @Optional() protected ngZoneWrapper?: NgZoneWrapperService,
501
+ @Optional() public elementRef?: ElementRef,
502
+ ) {
503
+ BaseInputComponent.BaseFormInputComponentIndex++;
504
+ this.name = BaseInputComponent.BaseFormInputComponentIndex.toString();
505
+
506
+ if (this.formUserChangeListener) {
507
+ this._clearMarkedAsUserTouchedSub = this.formUserChangeListener.clearAllMarkedAsUserTouched.subscribe(() => {
508
+ this._markedAsUserTouched = false;
509
+ });
510
+ }
511
+ }
512
+
513
+ ngOnInit(): void {
514
+ this._modelChangeSub = this.modelChange.subscribe((val: any) => {
515
+ this.model = val;
516
+ });
517
+ }
518
+
519
+ ngAfterViewInit(): void {
520
+ this._prepareInput();
521
+
522
+ this._updateControlValidatorsAndOwnFlags();
523
+
524
+ this._addOrRemoveSelfFromForm();
525
+
526
+ if (this.formComponent) {
527
+ this.readonly = this.readonly || this.formComponent.readonly;
528
+ this._formReadonlyChangeSub = this.formComponent.readonlyChange.subscribe((isFormReadonly: boolean) => {
529
+ this.readonly = isFormReadonly;
530
+ });
531
+ }
532
+
533
+ if (this.initFocus) {
534
+ setTimeout(this.requestFocus.bind(this));
535
+ }
536
+ }
537
+
538
+ ngOnDestroy(): void {
539
+ this._removeSelfFromForm();
540
+
541
+ if (this.input) {
542
+ this.input.removeEventListener('blur', (event) => this.doBlur(event));
543
+ this.input.removeEventListener('focus', (event) => this.doFocus(event));
544
+ }
545
+
546
+ this._destroyed = true;
547
+ this._clearErrorComponent();
548
+
549
+ // if (this.tooltipManager && this.elementRef) {
550
+ // this.tooltipManager.destroyErrorTooltipOfElement(this.elementRef.nativeElement);
551
+ // }
552
+
553
+ if (this._modelChangeSub) {
554
+ this._modelChangeSub.unsubscribe();
555
+ }
556
+ if (this._speechSub) {
557
+ this._speechSub.unsubscribe();
558
+ }
559
+ if (this._formAnySubmitSub) {
560
+ this._formAnySubmitSub.unsubscribe();
561
+ }
562
+ if (this._formReadonlyChangeSub) {
563
+ this._formReadonlyChangeSub.unsubscribe();
564
+ }
565
+ if (this._clearMarkedAsUserTouchedSub) {
566
+ this._clearMarkedAsUserTouchedSub.unsubscribe();
567
+ }
568
+ // this._removeSelfFromForm();
569
+ this.elementRef = undefined;
570
+ this.changeDetector = undefined;
571
+ this.input = undefined;
572
+ }
573
+
574
+ // descendents should override this
575
+ public commit = async (model: any): Promise<boolean> => {
576
+ return Promise.resolve(true);
577
+ }
578
+
579
+ public cancelClick(event?: MouseEvent): void {
580
+ this.keepFocus = true;
581
+ if (this._initialModelSet) {
582
+ this.model = this._initialModel;
583
+ }
584
+ this.keepFocus = false;
585
+ }
586
+
587
+ public showValidationError(error: string): void {
588
+ this.validationError = error;
589
+ this._validationComponentRef = this.overlayService.createComponent(ValidationErrorComponent, {parentForOverlay: this.elementRef, error: error});
590
+ }
591
+
592
+ /**
593
+ * Emits a modelChange event with given value, indicating that the model of this form input
594
+ * has changed and its new value is given value. Also emits userModelChange if markedAsUserTouched.
595
+ */
596
+ public setModel(value: any): void {
597
+ this.model = value;
598
+ this.modelChange.emit(value);
599
+
600
+ if (this.control) {
601
+ this.control.markAsDirty({onlySelf: true});
602
+ }
603
+ if (this.formComponent) {
604
+ this.formComponent.formGroup.markAsDirty({onlySelf: true});
605
+ }
606
+
607
+ if (this._markedAsUserTouched && this.formUserChangeListener) {
608
+ this.formUserChangeListener.userModelChange.next(value);
609
+ this.userModelChange.next(value);
610
+ }
611
+
612
+ if (this._hasOnPushCdStrategy) {
613
+ this.detectChanges();
614
+ }
615
+ }
616
+
617
+ public requestFocus(): void {
618
+ if (this.canChange && this.input) {
619
+ this.input.focus();
620
+ this.focused = true;
621
+ if (this._hasOnPushCdStrategy) {
622
+ this.markForCheck();
623
+ }
624
+ }
625
+ }
626
+
627
+ public doFocus(event?: any): any {
628
+ if (this.disabled) {
629
+ return;
630
+ }
631
+ this._initialModelSet = false;
632
+ this.focused = true;
633
+ this.canSaveOrCancel = false;
634
+ if (this._hasOnPushCdStrategy) {
635
+ this.markForCheck();
636
+ }
637
+ this.focus.next();
638
+ }
639
+
640
+ public async doBlur(event?: any, handleCommit: boolean = true): Promise<any> {
641
+ if (this.showSaveCancel && handleCommit && this._modelDirtyForCommit) {
642
+ await this._handleCommit(event, false);
643
+ }
644
+ setTimeout(() => {
645
+ if (this.keepFocus || this.keepFocussed) {
646
+ if (event) {
647
+ event.preventDefault;
648
+ }
649
+ return false;
650
+ }
651
+ this.focused = false;
652
+ if (this._hasOnPushCdStrategy) {
653
+ this.markForCheck();
654
+ }
655
+ if (this.input) {
656
+ this.input.blur();
657
+ }
658
+ this.blur.next();
659
+ }, 200);
660
+ }
661
+
662
+ public detectChanges(): void {
663
+ if (!this._destroyed) {
664
+ this.changeDetector.detectChanges();
665
+ }
666
+ }
667
+
668
+ public markForCheck(): void {
669
+ if (!this._destroyed) {
670
+ this.changeDetector.markForCheck();
671
+ }
672
+ }
673
+
674
+ public detectChangesAfterAngular(): void {
675
+ if (!!this.ngZoneWrapper) {
676
+ this.ngZoneWrapper.setTimeoutOutsideAngular(() => {
677
+ if (!this._destroyed) {
678
+ if (this._hasOnPushCdStrategy) {
679
+ this.changeDetector.markForCheck();
680
+ }
681
+ this.changeDetector.detectChanges();
682
+ }
683
+ });
684
+ }
685
+ }
686
+
687
+ /**
688
+ * Links the given formComp.submit event to the firing of detectChanges() of given change detector. This is a 'utility-like' method,
689
+ * but we manage the actual subscription (with UNSUBSCRIBE()!) on this base class.
690
+ * @param formComp The form whose submit we want to link with the call of .detectChanges() on given change detector ref.
691
+ * @param changeDetectorRef This should be given as param. I choose not to make this part of our (BaseFormInputComponent) constructor,
692
+ * because we already have 21 extenders.
693
+ */
694
+ // public linkFormAnySubmitWithDetectChanges(formComp: FormComponent, changeDetectorRef: ChangeDetectorRef): void {
695
+ // if (formComp && changeDetectorRef) {
696
+ // this._formAnySubmitSub = formComp.anySubmit.subscribe((() => {
697
+ // if (!this._destroyed) {
698
+ // changeDetectorRef.detectChanges();
699
+ // }
700
+ // }));
701
+ // }
702
+ // }
703
+
704
+ public markAsUserTouched(): void {
705
+ this._markedAsUserTouched = true;
706
+ this.redErrorBackground = false; // not sure if this is the right place to do that
707
+ }
708
+
709
+ public clearMarkedAsUserTouched(): void {
710
+ this._markedAsUserTouched = false;
711
+ }
712
+
713
+ protected modelSet(): void {
714
+
715
+ }
716
+
717
+ //used for descendents, because descendents can't set super properties, see InputNumberComponent
718
+ protected setMaxLength(maxLength: number): void {
719
+ if (notNill(this.forcedMaxLength) || maxLength === this._maxLength) {
720
+ return;
721
+ }
722
+
723
+ if (!isNaN(maxLength)) {
724
+ this._maxLength = maxLength;
725
+ this._updateControlValidatorsAndOwnFlags();
726
+ }
727
+ }
728
+
729
+ protected _markAsOnPush(): void {
730
+ this._hasOnPushCdStrategy = true;
731
+ }
732
+
733
+ protected _checkState(): boolean {
734
+ if (this.ngModel) {
735
+ return this.formSubmitted || (this._controlExists() && this.control.touched);
736
+ } else {
737
+ return false;
738
+ }
739
+ }
740
+
741
+ // Place validators onto our Angular's FormControl.
742
+ protected _updateControlValidatorsAndOwnFlags(): void {
743
+ const er: ElementRef = this.myFormInputInstance ? this.myFormInputInstance.elementRef : this.elementRef;
744
+ // if (this.tooltipManager && er) {
745
+ // this.tooltipManager.destroyErrorTooltipOfElement(er.nativeElement);
746
+ // }
747
+ this._setNativeRequired(this.required);
748
+ this._setNativeMaxLength(this.maxLength);
749
+ this._setNativeDisabled(this.disabled);
750
+ this._setNativeReadOnly(this.readonly || this.forceReadonly);
751
+
752
+ this.redErrorBackground = false;
753
+ if (this._controlExists()) {
754
+ const validators: ValidatorFn[] = [];
755
+
756
+ // add required
757
+ if (this.required) {
758
+ validators.push(requiredValidator);
759
+ }
760
+
761
+ // add maxlength
762
+ if (notNill(this._maxLength)) {
763
+ if (this.decimals) {
764
+ validators.push(precisionScaleValidator(this._maxLength, this.decimals));
765
+ } else {
766
+ validators.push(maxStringLengthValidator(this._maxLength));
767
+ }
768
+ }
769
+
770
+ // add @Input()-ed validators
771
+ validators.push(...this._validators);
772
+
773
+ if (this._validators) {
774
+ this._validators.forEach(validator => {
775
+ if (validator === requiredValidator) {
776
+ this._required = true;
777
+ this._setNativeRequired(true);
778
+ }
779
+ });
780
+ }
781
+
782
+ this.control.setValidators(validators);
783
+ this.control.setAsyncValidators(this._asyncValidators);
784
+ this.control.updateValueAndValidity();
785
+ }
786
+ }
787
+
788
+ private async _handleCommit(event?: MouseEvent, doBlur: boolean = true): Promise<boolean> {
789
+ if (!this.showSaveCancel || (!this._modelDirtyForCommit)) {
790
+ return true;
791
+ }
792
+ this.keepFocus = true;
793
+ if (this._commitButtonsComponentRef) {
794
+ this._commitButtonsComponentRef.instance.commitFinished = false;
795
+ this._commitButtonsComponentRef.instance.committing = true;
796
+ }
797
+ this._modelDirtyForCommit = false;
798
+ const success: boolean = await this.commit(this.model);
799
+ this.keepFocus = false;
800
+ await this._commitFinished();
801
+ if (success && doBlur) {
802
+ this.doBlur(event, false);
803
+ }
804
+ return success;
805
+ }
806
+
807
+ private _commitFinished(): Promise<void> {
808
+ return new Promise((resolve: Function) => {
809
+ if (this._commitButtonsComponentRef) {
810
+ this._commitButtonsComponentRef.instance.commitFinished = true;
811
+ this._commitButtonsComponentRef.instance.committing = false;
812
+ setTimeout(() => {
813
+ // this._commitButtonsComponentRef.instance.commitFinished = false;
814
+ this.overlayService.removeComponent(this._commitButtonsComponentRef);
815
+ resolve();
816
+ }, 800);
817
+ } else {
818
+ resolve();
819
+ }
820
+ });
821
+ }
822
+
823
+ private _clearErrorComponent(): void {
824
+ this.overlayService.removeComponent(this._validationComponentRef);
825
+ }
826
+
827
+
828
+ // whether this.ngModel.control has safe access
829
+ private _controlExists(): boolean {
830
+ return this.ngModel && !!this.control;
831
+ }
832
+
833
+ private _controlIsValid(): boolean {
834
+ return this._controlExists() && this.control.valid;
835
+ }
836
+
837
+ private _setNativeDisabled(disabled: boolean): void {
838
+ if (this.input) {
839
+ this.input.disabled = disabled;
840
+ }
841
+ }
842
+
843
+ private _setNativeMaxLength(maxlength: number): void {
844
+ if (this.input && !isNaN(maxlength)) {
845
+ this.input.maxLength = maxlength;
846
+ }
847
+ }
848
+
849
+ protected _setNativeReadOnly(readonly: boolean): void {
850
+ if (this.input) {
851
+ this.input.readOnly = readonly;
852
+ }
853
+ }
854
+
855
+ private _setNativeRequired(required: boolean): void {
856
+ if (this.input) {
857
+ this.input.required = required;
858
+ }
859
+ }
860
+
861
+ private _subscribeToSpeechInput(): void {
862
+ // this._speechSub = this.speechInput.speechInput.subscribe((data) => {
863
+ // if (this.focused && this._controlExists()) {
864
+ // const val: string = this.control.value;
865
+ // this.setModel((StringUtils.IsString(val) ? val : '') + data);
866
+ // }
867
+ // });
868
+ }
869
+
870
+ private _addOrRemoveSelfFromForm(): void {
871
+ if (this.hidden) {
872
+ this._removeSelfFromForm();
873
+ } else {
874
+ this._addSelfToForm();
875
+ }
876
+ }
877
+
878
+ private _updateSelfInForm(): void {
879
+ if (this.formComponent) {
880
+ this.formComponent.updateFormInput(this);
881
+ }
882
+ }
883
+
884
+ private _removeSelfFromForm(): void {
885
+ if (this.formComponent && this.ngModel) {
886
+ this.formComponent.removeFormInput(this);
887
+ }
888
+ }
889
+
890
+ private _addSelfToForm(): void {
891
+ if (this.formComponent && this.ngModel && !this.noFormGroupControl) {
892
+ this.formComponent.removeFormInput(this); // preventing there are two controls in formgroup when myFormInputInstance is (being) set
893
+ this.formComponent.addFormInput(this.myFormInputInstance ? this.myFormInputInstance : this);
894
+ }
895
+ }
896
+
897
+ private _prepareInput(): void {
898
+ if (this.elementRef && this.elementRef.nativeElement) {
899
+ //try to find input element
900
+ this._findInputNode(this.elementRef.nativeElement.children);
901
+ if (this.input) {
902
+ this.input.addEventListener('blur', (event) => this.doBlur(event));
903
+ this.input.addEventListener('focus', (event) => this.doFocus(event));
904
+ }
905
+ }
906
+ }
907
+
908
+ private _findInputNode(nodes): void {
909
+ for (let i = 0; i < nodes.length; i++) {
910
+ const node = nodes[i];
911
+ if (node instanceof HTMLInputElement || node instanceof HTMLTextAreaElement) {
912
+ this.input = node;
913
+ break;
914
+ } else if (node.children.length > 0) {
915
+ this._findInputNode(node.children);
916
+ }
917
+ }
918
+ }
919
+
920
+ private _positionValidationError(): void {
921
+ if (this.elementRef && this.elementRef.nativeElement && this._errorValidationComponent) {
922
+ const clientRect: ClientRect = this.elementRef.nativeElement.getBoundingClientRect();
923
+ this._errorValidationComponent.instance.top = clientRect.bottom;
924
+ this._errorValidationComponent.instance.left = clientRect.left;
925
+ }
926
+ }
927
+
928
+ protected async _handleKeyDown(event: KeyboardEvent): Promise<any> {
929
+ switch (event.code) {
930
+ case 'Enter':
931
+ case 'NumpadEnter':
932
+ if (!event.shiftKey) {
933
+ event.preventDefault();
934
+ await this._handleCommit();
935
+ return false;
936
+ }
937
+ return true;
938
+ case 'Tab':
939
+ const nextSiblingToFocus = event.shiftKey ? (event.currentTarget as any).previousSibling : (event.currentTarget as any).nextSibling;
940
+ event.preventDefault();
941
+ const success: boolean = await this._handleCommit();
942
+ if (success) {
943
+ if (nextSiblingToFocus) {
944
+ try {
945
+ this._setFocusOnNextPossibleInput(nextSiblingToFocus, event.shiftKey);
946
+ } catch (e) {
947
+ }
948
+ }
949
+ }
950
+ return false;
951
+ case 'Escape':
952
+ this.cancelClick();
953
+ event.preventDefault();
954
+ return false;
955
+ }
956
+ }
957
+
958
+ private _createNewFocusEvent(element: any): Event {
959
+ let eventType = "onfocusin" in element ? "focusin" : "focus",
960
+ bubbles = "onfocusin" in element,
961
+ focusEvent;
962
+
963
+ if ("createEvent" in document) {
964
+ focusEvent = document.createEvent("Event");
965
+ focusEvent.initEvent(eventType, bubbles, true);
966
+ } else if ("Event" in window) {
967
+ focusEvent = new Event(eventType, { bubbles: bubbles, cancelable: true });
968
+ }
969
+ return focusEvent;
970
+ }
971
+
972
+ private _setFocusOnNextPossibleInput(element: any, previous: boolean): void {
973
+ let elementColl = element.getElementsByTagName('input');
974
+ if (!elementColl || elementColl.length < 1) {
975
+ elementColl = element.getElementsByTagName('textarea');
976
+ }
977
+ if (elementColl && elementColl.length > 0) {
978
+ const inputElement = elementColl[0];
979
+ if (inputElement.disabled || inputElement.readOnly) {
980
+ this._setFocusOnNextPossibleInput(previous ? element.previousSibling : element.nextSibling, previous);
981
+ } else {
982
+ const focusEvent = this._createNewFocusEvent(element);
983
+ inputElement.focus();
984
+ inputElement.dispatchEvent(focusEvent);
985
+ }
986
+ }
987
+ }
988
+ }