@colijnit/corecomponents_v12 254.1.10 → 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 (1290) 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-values/list-of-values-multiselect-popup.component.ts +132 -0
  114. package/projects/corecomponents/src/lib/components/list-of-values/list-of-values-popup.component.ts +291 -0
  115. package/projects/corecomponents/src/lib/components/list-of-values/list-of-values.component.ts +257 -0
  116. package/projects/corecomponents/src/lib/components/list-of-values/list-of-values.module.ts +35 -0
  117. package/projects/corecomponents/src/lib/components/loader/loader.component.ts +82 -0
  118. package/projects/corecomponents/src/lib/components/loader/loader.module.ts +17 -0
  119. package/projects/corecomponents/src/lib/components/pagination/paginate.pipe.ts +116 -0
  120. package/projects/corecomponents/src/lib/components/pagination/pagination-instance.ts +18 -0
  121. package/projects/corecomponents/src/lib/components/pagination/pagination.component.ts +160 -0
  122. package/projects/corecomponents/src/lib/components/pagination/pagination.module.ts +26 -0
  123. package/projects/corecomponents/src/lib/components/pagination/pagination.service.ts +99 -0
  124. package/projects/corecomponents/src/lib/components/pagination-bar/pagination-bar.component.ts +178 -0
  125. package/projects/corecomponents/src/lib/components/pagination-bar/pagination-bar.module.ts +17 -0
  126. package/projects/corecomponents/src/lib/components/popup/const/popup-window-token.ts +4 -0
  127. package/projects/corecomponents/src/lib/components/popup/interface/popup-button.ts +14 -0
  128. package/projects/corecomponents/src/lib/components/popup/interface/popup-close-event.ts +8 -0
  129. package/projects/corecomponents/src/lib/components/popup/interface/popup-settings.ts +70 -0
  130. package/projects/corecomponents/src/lib/components/popup/interface/popup.ts +17 -0
  131. package/projects/corecomponents/src/lib/components/popup/model/popup-button-globals.ts +11 -0
  132. package/projects/corecomponents/src/lib/components/popup/model/popup-window.ts +51 -0
  133. package/projects/corecomponents/src/lib/components/popup/popup-buttons.component.ts +61 -0
  134. package/projects/corecomponents/src/lib/components/popup/popup-message-display.component.ts +49 -0
  135. package/projects/corecomponents/src/lib/components/popup/popup-window-shell.component.ts +222 -0
  136. package/projects/corecomponents/src/lib/components/popup/popup.module.ts +48 -0
  137. package/projects/corecomponents/src/lib/components/popup/service/popup-shower.service.ts +98 -0
  138. package/projects/corecomponents/src/lib/components/popup/service/prompt.service.ts +127 -0
  139. package/projects/corecomponents/src/lib/components/popup/text-input-popup.component.ts +36 -0
  140. package/projects/corecomponents/src/lib/components/responsive-text/responsive-text.component.ts +24 -0
  141. package/projects/corecomponents/src/lib/components/responsive-text/responsive-text.module.ts +17 -0
  142. package/projects/corecomponents/src/lib/components/simple-grid/base-simple-grid.component.ts +196 -0
  143. package/projects/corecomponents/src/lib/components/simple-grid/simple-grid-cell.component.ts +192 -0
  144. package/projects/corecomponents/src/lib/components/simple-grid/simple-grid-column.directive.ts +146 -0
  145. package/projects/corecomponents/src/lib/components/simple-grid/simple-grid.component.ts +645 -0
  146. package/projects/corecomponents/src/lib/components/simple-grid/simple-grid.module.ts +42 -0
  147. package/projects/corecomponents/src/lib/components/tile/tile.component.ts +71 -0
  148. package/projects/corecomponents/src/lib/components/tile/tile.module.ts +21 -0
  149. package/projects/corecomponents/src/lib/components/tile-select/tile-select.component.ts +36 -0
  150. package/projects/corecomponents/src/lib/components/tile-select/tile-select.module.ts +19 -0
  151. package/projects/corecomponents/src/lib/components/tooltip/tooltip.component.ts +96 -0
  152. package/projects/corecomponents/src/lib/components/tooltip/tooltip.module.ts +17 -0
  153. package/projects/corecomponents/src/lib/components/validation-error/validation-error.component.ts +45 -0
  154. package/projects/corecomponents/src/lib/components/validation-error/validation-error.module.ts +24 -0
  155. package/projects/corecomponents/src/lib/components/view-mode-buttons/content-view-mode.enum.ts +9 -0
  156. package/projects/corecomponents/src/lib/components/view-mode-buttons/view-mode-buttons.component.ts +63 -0
  157. package/projects/corecomponents/src/lib/components/view-mode-buttons/view-mode-buttons.module.ts +19 -0
  158. package/projects/corecomponents/src/lib/core/abstract/collection-based-component.ts +488 -0
  159. package/projects/corecomponents/src/lib/core/config/device-environment.ts +26 -0
  160. package/projects/corecomponents/src/lib/core/constant/default-upper-bound-for-range-components.ts +4 -0
  161. package/projects/corecomponents/src/lib/core/constant/java-max-int.ts +1 -0
  162. package/projects/corecomponents/src/lib/core/constant/number-inputs-key-down-white-list.ts +46 -0
  163. package/projects/corecomponents/src/lib/core/decorator/input-boolean.decorator.ts +35 -0
  164. package/projects/corecomponents/src/lib/core/enum/co-direction.ts +7 -0
  165. package/projects/corecomponents/src/lib/core/enum/co-document-image-display-kind.enum.ts +5 -0
  166. package/projects/corecomponents/src/lib/core/enum/co-document-type.enum.ts +9 -0
  167. package/projects/corecomponents/src/lib/core/enum/co-orientation.ts +18 -0
  168. package/projects/corecomponents/src/lib/core/enum/collection-based-component-input-driver-prop.enum.ts +10 -0
  169. package/projects/corecomponents/src/lib/core/enum/color-sequence-name.enum.ts +5 -0
  170. package/projects/corecomponents/src/lib/core/enum/core-components-icon.enum.ts +299 -0
  171. package/projects/corecomponents/src/lib/core/enum/file-type-internal.enum.ts +15 -0
  172. package/projects/corecomponents/src/lib/core/enum/file-type.enum.ts +9 -0
  173. package/projects/corecomponents/src/lib/core/enum/filterItem-mode.enum.ts +57 -0
  174. package/projects/corecomponents/src/lib/core/enum/float-label-type.enum.ts +5 -0
  175. package/projects/corecomponents/src/lib/core/enum/input-number-picker-show-mode.enum.ts +6 -0
  176. package/projects/corecomponents/src/lib/core/enum/input-text-type.enum.ts +4 -0
  177. package/projects/corecomponents/src/lib/core/enum/keyboard-code.enum.ts +72 -0
  178. package/projects/corecomponents/src/lib/core/enum/keyboard-key.enum.ts +78 -0
  179. package/projects/corecomponents/src/lib/core/enum/logical-operator-type.enum.ts +5 -0
  180. package/projects/corecomponents/src/lib/core/enum/object-right-type.enum.ts +5 -0
  181. package/projects/corecomponents/src/lib/core/enum/popup-button-type.enum.ts +10 -0
  182. package/projects/corecomponents/src/lib/core/enum/popup-type.enum.ts +9 -0
  183. package/projects/corecomponents/src/lib/core/enum/schedule-view.enum.ts +14 -0
  184. package/projects/corecomponents/src/lib/core/enum/search-data-type.ts +4 -0
  185. package/projects/corecomponents/src/lib/core/enum/search-property-state.ts +5 -0
  186. package/projects/corecomponents/src/lib/core/enum/sort-data-type.ts +6 -0
  187. package/projects/corecomponents/src/lib/core/enum/sort-direction.ts +9 -0
  188. package/projects/corecomponents/src/lib/core/enum/table-name.enum.ts +79 -0
  189. package/projects/corecomponents/src/lib/core/enum/value-comparison-type.ts +11 -0
  190. package/projects/corecomponents/src/lib/core/function/any-nill.function.ts +6 -0
  191. package/projects/corecomponents/src/lib/core/function/is-nill.function.ts +4 -0
  192. package/projects/corecomponents/src/lib/core/function/none-nill.function.ts +16 -0
  193. package/projects/corecomponents/src/lib/core/function/not-nill.function.ts +4 -0
  194. package/projects/corecomponents/src/lib/core/interface/search-property.ts +15 -0
  195. package/projects/corecomponents/src/lib/core/interface/sort-property.ts +16 -0
  196. package/projects/corecomponents/src/lib/core/model/bounds-constrained-number-value.ts +222 -0
  197. package/projects/corecomponents/src/lib/core/model/check-precision-and-scale-result.ts +5 -0
  198. package/projects/corecomponents/src/lib/core/model/check-within-stepped-bounds-result.ts +8 -0
  199. package/projects/corecomponents/src/lib/core/model/co-document-right.bo.ts +9 -0
  200. package/projects/corecomponents/src/lib/core/model/co-document.bo.ts +193 -0
  201. package/projects/corecomponents/src/lib/core/model/color-sequence.ts +39 -0
  202. package/projects/corecomponents/src/lib/core/model/color.ts +29 -0
  203. package/projects/corecomponents/src/lib/core/model/core-components-icon-svg.ts +299 -0
  204. package/projects/corecomponents/src/lib/core/model/element-position.ts +14 -0
  205. package/projects/corecomponents/src/lib/core/model/event/number-prompt-result-event.ts +10 -0
  206. package/projects/corecomponents/src/lib/core/model/event/string-prompt-result-event.ts +10 -0
  207. package/projects/corecomponents/src/lib/core/model/numerical-range.ts +19 -0
  208. package/projects/corecomponents/src/lib/core/service/form-input-user-change-listener.service.ts +31 -0
  209. package/projects/corecomponents/src/lib/core/service/form-master.service.ts +119 -0
  210. package/projects/corecomponents/src/lib/core/service/ng-zone-wrapper.service.ts +15 -0
  211. package/projects/corecomponents/src/lib/core/utils/array-utils.spec.ts +588 -0
  212. package/projects/corecomponents/src/lib/core/utils/array-utils.ts +301 -0
  213. package/projects/corecomponents/src/lib/core/utils/browser-utils.ts +123 -0
  214. package/projects/corecomponents/src/lib/core/utils/business-object-utils.ts +42 -0
  215. package/projects/corecomponents/src/lib/core/utils/css-utils.ts +276 -0
  216. package/projects/corecomponents/src/lib/core/utils/direction-enum-utils.ts +15 -0
  217. package/projects/corecomponents/src/lib/core/utils/element-ref.utils.ts +12 -0
  218. package/projects/corecomponents/src/lib/core/utils/event-utils.ts +61 -0
  219. package/projects/corecomponents/src/lib/core/utils/file-utils.ts +291 -0
  220. package/projects/corecomponents/src/lib/core/utils/number-utils.spec.ts +657 -0
  221. package/projects/corecomponents/src/lib/core/utils/number-utils.ts +350 -0
  222. package/projects/corecomponents/src/lib/core/utils/object-utils.ts +205 -0
  223. package/projects/corecomponents/src/lib/core/utils/parameter-value-conversion-utils.ts +116 -0
  224. package/projects/corecomponents/src/lib/core/utils/search-utils.ts +121 -0
  225. package/projects/corecomponents/src/lib/core/utils/sort-utils.ts +108 -0
  226. package/projects/corecomponents/src/lib/core/utils/string-utils.ts +100 -0
  227. package/projects/corecomponents/src/lib/core/validator/email.validator.ts +10 -0
  228. package/projects/corecomponents/src/lib/core/validator/equal.validator.ts +14 -0
  229. package/projects/corecomponents/src/lib/core/validator/max-string-length.validator.ts +11 -0
  230. package/projects/corecomponents/src/lib/core/validator/password.validator.ts +35 -0
  231. package/projects/corecomponents/src/lib/core/validator/precision-scale.validator.ts +14 -0
  232. package/projects/corecomponents/src/lib/core/validator/required.validator.ts +9 -0
  233. package/projects/corecomponents/src/lib/directives/align-with/align-with.directive.ts +158 -0
  234. package/projects/corecomponents/src/lib/directives/align-with/align-with.module.ts +13 -0
  235. package/projects/corecomponents/src/lib/directives/clickoutside/click-outside-master.service.ts +64 -0
  236. package/projects/corecomponents/src/lib/directives/clickoutside/click-outside.directive.ts +72 -0
  237. package/projects/corecomponents/src/lib/directives/clickoutside/clickoutside.module.ts +17 -0
  238. package/projects/corecomponents/src/lib/directives/observe-visibility/observe-visibility.directive.ts +55 -0
  239. package/projects/corecomponents/src/lib/directives/observe-visibility/observe-visibility.module.ts +13 -0
  240. package/projects/corecomponents/src/lib/directives/overlay/overlay-parent.directive.ts +20 -0
  241. package/projects/corecomponents/src/lib/directives/overlay/overlay.directive.ts +170 -0
  242. package/projects/corecomponents/src/lib/directives/overlay/overlay.module.ts +16 -0
  243. package/projects/corecomponents/src/lib/directives/parsevalue/parse-value.directive.ts +42 -0
  244. package/projects/corecomponents/src/lib/directives/parsevalue/parse-value.module.ts +13 -0
  245. package/projects/corecomponents/src/lib/directives/resize/resize-detect.directive.ts +54 -0
  246. package/projects/corecomponents/src/lib/directives/resize/resize-detect.module.ts +13 -0
  247. package/projects/corecomponents/src/lib/directives/ripple/ripple-ref.ts +28 -0
  248. package/projects/corecomponents/src/lib/directives/ripple/ripple-renderer.ts +217 -0
  249. package/projects/corecomponents/src/lib/directives/ripple/ripple.directive.ts +116 -0
  250. package/projects/corecomponents/src/lib/directives/ripple/ripple.module.ts +24 -0
  251. package/projects/corecomponents/src/lib/directives/ripple/scroll-dispatcher.service.ts +129 -0
  252. package/projects/corecomponents/src/lib/directives/ripple/scrollable.directive.ts +37 -0
  253. package/projects/corecomponents/src/lib/directives/ripple/viewport-ruler.service.ts +84 -0
  254. package/projects/corecomponents/src/lib/directives/screen-configuration/screen-configuration.directive.ts +170 -0
  255. package/projects/corecomponents/src/lib/directives/screen-configuration/screen-configuration.module.ts +16 -0
  256. package/projects/corecomponents/src/lib/directives/stopclick/stop-click.directive.ts +35 -0
  257. package/projects/corecomponents/src/lib/directives/stopclick/stop-click.module.ts +14 -0
  258. package/projects/corecomponents/src/lib/directives/template-wrapper/template-wrapper.directive.ts +71 -0
  259. package/projects/corecomponents/src/lib/directives/template-wrapper/template-wrapper.module.ts +13 -0
  260. package/projects/corecomponents/src/lib/directives/tooltip/tooltip-directive.module.ts +17 -0
  261. package/projects/corecomponents/src/lib/directives/tooltip/tooltip.directive.ts +94 -0
  262. package/projects/corecomponents/src/lib/interfaces/dialog-response.interface.ts +7 -0
  263. package/projects/corecomponents/src/lib/interfaces/lov-options.component.interface.ts +4 -0
  264. package/projects/corecomponents/src/lib/interfaces/screen-config-adapter-component-interface-name.ts +6 -0
  265. package/projects/corecomponents/src/lib/interfaces/screen-config-adapter.component.interface.ts +10 -0
  266. package/projects/corecomponents/src/lib/model/data-item.ts +9 -0
  267. package/projects/corecomponents/src/lib/model/enum/app-button-type.enum.ts +9 -0
  268. package/projects/corecomponents/src/lib/model/enum/app-popup-type.enum.ts +6 -0
  269. package/projects/corecomponents/src/lib/model/enum/currency-code.enum.ts +7 -0
  270. package/projects/corecomponents/src/lib/model/enum/language-code.enum.ts +8 -0
  271. package/projects/corecomponents/src/lib/model/icon-list-item.ts +7 -0
  272. package/projects/corecomponents/src/lib/model/map/currencies.map.ts +6 -0
  273. package/projects/corecomponents/src/lib/modules/drag-drop/drag-drop-container.component.ts +115 -0
  274. package/projects/corecomponents/src/lib/modules/drag-drop/drag-drop-container.css +34 -0
  275. package/projects/corecomponents/src/lib/modules/drag-drop/drag-drop-manager.service.ts +414 -0
  276. package/projects/corecomponents/src/lib/modules/drag-drop/drag-drop.module.ts +20 -0
  277. package/projects/corecomponents/src/lib/modules/drag-drop/draggable.directive.ts +70 -0
  278. package/projects/corecomponents/src/lib/modules/drag-drop/model/co-drag-event.ts +5 -0
  279. package/projects/corecomponents/src/lib/modules/drag-drop/model/co-drop-event.ts +9 -0
  280. package/projects/corecomponents/src/lib/modules/drag-drop/model/drag-drop-container-element.ts +7 -0
  281. package/projects/corecomponents/src/lib/modules/drag-drop/model/drag-drop-container.ts +9 -0
  282. package/projects/corecomponents/src/lib/modules/media-monitor/flex-layout-breakpoint.enum.ts +5 -0
  283. package/projects/corecomponents/src/lib/modules/media-monitor/media-monitor.module.ts +14 -0
  284. package/projects/corecomponents/src/lib/modules/media-monitor/media-monitor.service.ts +36 -0
  285. package/projects/corecomponents/src/lib/modules/pagination/paginate.pipe.ts +116 -0
  286. package/projects/corecomponents/src/lib/modules/pagination/pagination-instance.ts +18 -0
  287. package/projects/corecomponents/src/lib/modules/pagination/pagination.component.ts +229 -0
  288. package/projects/corecomponents/src/lib/modules/pagination/pagination.module.ts +25 -0
  289. package/projects/corecomponents/src/lib/modules/pagination/pagination.service.ts +98 -0
  290. package/projects/corecomponents/src/lib/pipes/append.pipe.module.ts +13 -0
  291. package/projects/corecomponents/src/lib/pipes/append.pipe.ts +17 -0
  292. package/projects/corecomponents/src/lib/pipes/co-currency-pipe.module.ts +13 -0
  293. package/projects/corecomponents/src/lib/pipes/co-currency.pipe.ts +45 -0
  294. package/projects/corecomponents/src/lib/pipes/emun-keys.pipe.ts +20 -0
  295. package/projects/corecomponents/src/lib/pipes/enum-keys-pipe.module.ts +13 -0
  296. package/projects/corecomponents/src/lib/pipes/file-type-image-pipe.module.ts +13 -0
  297. package/projects/corecomponents/src/lib/pipes/file-type-image.pipe.ts +45 -0
  298. package/projects/corecomponents/src/lib/pipes/filter.pipe.module.ts +13 -0
  299. package/projects/corecomponents/src/lib/pipes/filter.pipe.ts +14 -0
  300. package/projects/corecomponents/src/lib/pipes/master-pipe.module.ts +13 -0
  301. package/projects/corecomponents/src/lib/pipes/master.pipe.ts +71 -0
  302. package/projects/corecomponents/src/lib/pipes/prepend.pipe.module.ts +13 -0
  303. package/projects/corecomponents/src/lib/pipes/prepend.pipe.ts +17 -0
  304. package/projects/corecomponents/src/lib/pipes/price-display-pipe.module.ts +14 -0
  305. package/projects/corecomponents/src/lib/pipes/price-display.pipe.ts +20 -0
  306. package/projects/corecomponents/src/lib/pipes/safe-style.pipe.module.ts +13 -0
  307. package/projects/corecomponents/src/lib/pipes/safe-style.pipe.ts +14 -0
  308. package/projects/corecomponents/src/lib/pipes/ucfirst-pipe.module.ts +13 -0
  309. package/projects/corecomponents/src/lib/pipes/ucfirst.pipe.ts +14 -0
  310. package/projects/corecomponents/src/lib/service/base-module-screen-config.service.ts +241 -0
  311. package/projects/corecomponents/src/lib/service/base-module.service.ts +50 -0
  312. package/projects/corecomponents/src/lib/service/color-sequence.service.ts +50 -0
  313. package/projects/corecomponents/src/lib/service/overlay.service.ts +81 -0
  314. package/projects/corecomponents/src/lib/translation/core-components-translation.module.ts +27 -0
  315. package/projects/corecomponents/src/lib/translation/core-components-translation.service.ts +15 -0
  316. package/projects/corecomponents/src/lib/translation/core-dictionary.service.ts +27 -0
  317. package/projects/corecomponents/src/lib/translation/core-localize.pipe.ts +21 -0
  318. package/projects/corecomponents/src/public-api.ts +139 -0
  319. package/projects/corecomponents/src/res/icons/Barcode.svg +1 -0
  320. package/projects/corecomponents/src/res/icons/CashRegister.svg +1 -0
  321. package/projects/corecomponents/src/res/icons/CirclePlusSkinny.svg +1 -0
  322. package/projects/corecomponents/src/res/icons/CrossSkinny.svg +1 -0
  323. package/projects/corecomponents/src/res/icons/FolderArrow.svg +1 -0
  324. package/projects/corecomponents/src/res/icons/Home.svg +1 -0
  325. package/projects/corecomponents/src/res/icons/POS.svg +1 -0
  326. package/projects/corecomponents/src/res/icons/Shop.svg +1 -0
  327. package/projects/corecomponents/src/res/icons/SinglePerson.svg +1 -0
  328. package/projects/corecomponents/src/res/icons/Star.svg +1 -0
  329. package/projects/corecomponents/src/res/icons/TrashBin.svg +1 -0
  330. package/projects/corecomponents/src/res/icons/account.svg +1 -0
  331. package/projects/corecomponents/src/res/icons/account_round_open.svg +1 -0
  332. package/projects/corecomponents/src/res/icons/activities.svg +1 -0
  333. package/projects/corecomponents/src/res/icons/add_to_cart_drop.svg +1 -0
  334. package/projects/corecomponents/src/res/icons/arrow_down.svg +1 -0
  335. package/projects/corecomponents/src/res/icons/arrow_fat_left.svg +1 -0
  336. package/projects/corecomponents/src/res/icons/arrow_fat_right.svg +1 -0
  337. package/projects/corecomponents/src/res/icons/arrow_left.svg +4 -0
  338. package/projects/corecomponents/src/res/icons/arrow_left_round_open.svg +1 -0
  339. package/projects/corecomponents/src/res/icons/arrow_point_down.svg +6 -0
  340. package/projects/corecomponents/src/res/icons/arrow_point_left.svg +8 -0
  341. package/projects/corecomponents/src/res/icons/arrow_point_right.svg +8 -0
  342. package/projects/corecomponents/src/res/icons/arrow_point_up.svg +8 -0
  343. package/projects/corecomponents/src/res/icons/arrow_right_round_open.svg +1 -0
  344. package/projects/corecomponents/src/res/icons/arrow_scroll_down.svg +6 -0
  345. package/projects/corecomponents/src/res/icons/arrow_scroll_left.svg +22 -0
  346. package/projects/corecomponents/src/res/icons/arrow_scroll_right.svg +22 -0
  347. package/projects/corecomponents/src/res/icons/arrow_scroll_up.svg +6 -0
  348. package/projects/corecomponents/src/res/icons/arrow_up.svg +3 -0
  349. package/projects/corecomponents/src/res/icons/article.svg +1 -0
  350. package/projects/corecomponents/src/res/icons/article_with_fold.svg +1 -0
  351. package/projects/corecomponents/src/res/icons/asterisk_small.svg +1 -0
  352. package/projects/corecomponents/src/res/icons/attachments.svg +1 -0
  353. package/projects/corecomponents/src/res/icons/back_to_top.svg +1 -0
  354. package/projects/corecomponents/src/res/icons/big_mac.svg +6 -0
  355. package/projects/corecomponents/src/res/icons/boxes.svg +1 -0
  356. package/projects/corecomponents/src/res/icons/brush.svg +1 -0
  357. package/projects/corecomponents/src/res/icons/brush_round_open.svg +1 -0
  358. package/projects/corecomponents/src/res/icons/building_columns.svg +1 -0
  359. package/projects/corecomponents/src/res/icons/businessrules.svg +1 -0
  360. package/projects/corecomponents/src/res/icons/calendar.svg +1 -0
  361. package/projects/corecomponents/src/res/icons/calendar_day.svg +37 -0
  362. package/projects/corecomponents/src/res/icons/calendar_day_regular.svg +1 -0
  363. package/projects/corecomponents/src/res/icons/calendar_empty.svg +16 -0
  364. package/projects/corecomponents/src/res/icons/calendar_range.svg +1 -0
  365. package/projects/corecomponents/src/res/icons/calendar_round_open.svg +16 -0
  366. package/projects/corecomponents/src/res/icons/camera.svg +1 -0
  367. package/projects/corecomponents/src/res/icons/cancel.svg +1 -0
  368. package/projects/corecomponents/src/res/icons/cancel_round_filled.svg +1 -0
  369. package/projects/corecomponents/src/res/icons/cancel_round_open.svg +1 -0
  370. package/projects/corecomponents/src/res/icons/cart.svg +1 -0
  371. package/projects/corecomponents/src/res/icons/cart_open.svg +8 -0
  372. package/projects/corecomponents/src/res/icons/case_manager.svg +1 -0
  373. package/projects/corecomponents/src/res/icons/cash_register_simple.svg +1 -0
  374. package/projects/corecomponents/src/res/icons/change_location.svg +1 -0
  375. package/projects/corecomponents/src/res/icons/check.svg +1 -0
  376. package/projects/corecomponents/src/res/icons/check_duotone.svg +1 -0
  377. package/projects/corecomponents/src/res/icons/check_round.svg +1 -0
  378. package/projects/corecomponents/src/res/icons/check_round_open.svg +10 -0
  379. package/projects/corecomponents/src/res/icons/check_simple.svg +3 -0
  380. package/projects/corecomponents/src/res/icons/check_thin.svg +1 -0
  381. package/projects/corecomponents/src/res/icons/chevron_down_regular.svg +1 -0
  382. package/projects/corecomponents/src/res/icons/chevron_up_regular.svg +1 -0
  383. package/projects/corecomponents/src/res/icons/client.svg +1 -0
  384. package/projects/corecomponents/src/res/icons/clock.svg +1 -0
  385. package/projects/corecomponents/src/res/icons/clockArrow.svg +1 -0
  386. package/projects/corecomponents/src/res/icons/cogWheelPlus.svg +1 -0
  387. package/projects/corecomponents/src/res/icons/cogWheels.svg +1 -0
  388. package/projects/corecomponents/src/res/icons/column_options.svg +18 -0
  389. package/projects/corecomponents/src/res/icons/company.svg +1 -0
  390. package/projects/corecomponents/src/res/icons/company_flat.svg +4 -0
  391. package/projects/corecomponents/src/res/icons/configurable.svg +1 -0
  392. package/projects/corecomponents/src/res/icons/consultant.svg +1 -0
  393. package/projects/corecomponents/src/res/icons/copy.svg +1 -0
  394. package/projects/corecomponents/src/res/icons/crosshair_1.svg +1 -0
  395. package/projects/corecomponents/src/res/icons/dashboard.svg +1 -0
  396. package/projects/corecomponents/src/res/icons/delivery_method.svg +32 -0
  397. package/projects/corecomponents/src/res/icons/delivery_status_uncheck.svg +9 -0
  398. package/projects/corecomponents/src/res/icons/delivery_truck.svg +1 -0
  399. package/projects/corecomponents/src/res/icons/detail_record.svg +1 -0
  400. package/projects/corecomponents/src/res/icons/detail_view.svg +1 -0
  401. package/projects/corecomponents/src/res/icons/dictionary.svg +1 -0
  402. package/projects/corecomponents/src/res/icons/documentWrench.svg +1 -0
  403. package/projects/corecomponents/src/res/icons/documents.svg +1 -0
  404. package/projects/corecomponents/src/res/icons/dollar.svg +1 -0
  405. package/projects/corecomponents/src/res/icons/download.svg +1 -0
  406. package/projects/corecomponents/src/res/icons/dropdown.svg +4 -0
  407. package/projects/corecomponents/src/res/icons/dropzone.svg +1 -0
  408. package/projects/corecomponents/src/res/icons/edit_pencil.svg +1 -0
  409. package/projects/corecomponents/src/res/icons/edit_pencil_circle.svg +1 -0
  410. package/projects/corecomponents/src/res/icons/edit_pencil_round.svg +11 -0
  411. package/projects/corecomponents/src/res/icons/edit_pencil_simple.svg +16 -0
  412. package/projects/corecomponents/src/res/icons/email.svg +1 -0
  413. package/projects/corecomponents/src/res/icons/email_round_open.svg +6 -0
  414. package/projects/corecomponents/src/res/icons/employee.svg +1 -0
  415. package/projects/corecomponents/src/res/icons/employee_two.svg +1 -0
  416. package/projects/corecomponents/src/res/icons/employer.svg +1 -0
  417. package/projects/corecomponents/src/res/icons/employment.svg +1 -0
  418. package/projects/corecomponents/src/res/icons/employment_end.svg +7 -0
  419. package/projects/corecomponents/src/res/icons/equal.svg +1 -0
  420. package/projects/corecomponents/src/res/icons/euro.svg +1 -0
  421. package/projects/corecomponents/src/res/icons/exclamation.svg +1 -0
  422. package/projects/corecomponents/src/res/icons/exclamation_round_open.svg +1 -0
  423. package/projects/corecomponents/src/res/icons/eye_circle.svg +1 -0
  424. package/projects/corecomponents/src/res/icons/eye_circle_large.svg +1 -0
  425. package/projects/corecomponents/src/res/icons/eye_round_filled.svg +11 -0
  426. package/projects/corecomponents/src/res/icons/factory.svg +1 -0
  427. package/projects/corecomponents/src/res/icons/fasttrack.svg +1 -0
  428. package/projects/corecomponents/src/res/icons/filter.svg +1 -0
  429. package/projects/corecomponents/src/res/icons/finish.svg +1 -0
  430. package/projects/corecomponents/src/res/icons/fixed_option_value_tree.svg +1 -0
  431. package/projects/corecomponents/src/res/icons/fixed_tree_option_value.svg +1 -0
  432. package/projects/corecomponents/src/res/icons/floppy_disk_solid.svg +1 -0
  433. package/projects/corecomponents/src/res/icons/folder_arrow_in.svg +8 -0
  434. package/projects/corecomponents/src/res/icons/formula.svg +1 -0
  435. package/projects/corecomponents/src/res/icons/fullscreen.svg +6 -0
  436. package/projects/corecomponents/src/res/icons/gear_double.svg +21 -0
  437. package/projects/corecomponents/src/res/icons/global_search.svg +45 -0
  438. package/projects/corecomponents/src/res/icons/globe.svg +1 -0
  439. package/projects/corecomponents/src/res/icons/greater_than.svg +1 -0
  440. package/projects/corecomponents/src/res/icons/groupby.svg +1 -0
  441. package/projects/corecomponents/src/res/icons/hamburger.svg +1 -0
  442. package/projects/corecomponents/src/res/icons/hand_pointer.svg +1 -0
  443. package/projects/corecomponents/src/res/icons/hbarchart.svg +6 -0
  444. package/projects/corecomponents/src/res/icons/home_circle.svg +9 -0
  445. package/projects/corecomponents/src/res/icons/home_open.svg +7 -0
  446. package/projects/corecomponents/src/res/icons/home_round_open.svg +11 -0
  447. package/projects/corecomponents/src/res/icons/hourglass.svg +1 -0
  448. package/projects/corecomponents/src/res/icons/icon_3d.svg +1 -0
  449. package/projects/corecomponents/src/res/icons/id.svg +1 -0
  450. package/projects/corecomponents/src/res/icons/image.svg +1 -0
  451. package/projects/corecomponents/src/res/icons/incoming_storage.svg +1 -0
  452. package/projects/corecomponents/src/res/icons/information.svg +1 -0
  453. package/projects/corecomponents/src/res/icons/information_round_open.svg +6 -0
  454. package/projects/corecomponents/src/res/icons/input_multiplechoice.svg +1 -0
  455. package/projects/corecomponents/src/res/icons/input_text.svg +1 -0
  456. package/projects/corecomponents/src/res/icons/input_textarea.svg +1 -0
  457. package/projects/corecomponents/src/res/icons/inventory.svg +1 -0
  458. package/projects/corecomponents/src/res/icons/invoice.svg +20 -0
  459. package/projects/corecomponents/src/res/icons/ione_logo.svg +1 -0
  460. package/projects/corecomponents/src/res/icons/ione_logo_fat.svg +1 -0
  461. package/projects/corecomponents/src/res/icons/ione_status_next.svg +43 -0
  462. package/projects/corecomponents/src/res/icons/ione_workflow.svg +62 -0
  463. package/projects/corecomponents/src/res/icons/keyboard.svg +1 -0
  464. package/projects/corecomponents/src/res/icons/keychain.svg +1 -0
  465. package/projects/corecomponents/src/res/icons/label.svg +5 -0
  466. package/projects/corecomponents/src/res/icons/label_round_open.svg +6 -0
  467. package/projects/corecomponents/src/res/icons/landmark_flag.svg +1 -0
  468. package/projects/corecomponents/src/res/icons/library.svg +21 -0
  469. package/projects/corecomponents/src/res/icons/linechart.svg +1 -0
  470. package/projects/corecomponents/src/res/icons/link_circle.svg +1 -0
  471. package/projects/corecomponents/src/res/icons/linked_products.svg +1 -0
  472. package/projects/corecomponents/src/res/icons/list_view.svg +8 -0
  473. package/projects/corecomponents/src/res/icons/location.svg +1 -0
  474. package/projects/corecomponents/src/res/icons/lock.svg +1 -0
  475. package/projects/corecomponents/src/res/icons/lock_round_open.svg +8 -0
  476. package/projects/corecomponents/src/res/icons/logo.svg +1 -0
  477. package/projects/corecomponents/src/res/icons/logout.svg +1 -0
  478. package/projects/corecomponents/src/res/icons/magic_wand.svg +1 -0
  479. package/projects/corecomponents/src/res/icons/magnifier.svg +5 -0
  480. package/projects/corecomponents/src/res/icons/manager.svg +12 -0
  481. package/projects/corecomponents/src/res/icons/mask.svg +1 -0
  482. package/projects/corecomponents/src/res/icons/master_detail.svg +1 -0
  483. package/projects/corecomponents/src/res/icons/material_circle_large.svg +1 -0
  484. package/projects/corecomponents/src/res/icons/medal_bronze.svg +23 -0
  485. package/projects/corecomponents/src/res/icons/medal_gold.svg +23 -0
  486. package/projects/corecomponents/src/res/icons/medal_silver.svg +23 -0
  487. package/projects/corecomponents/src/res/icons/medical_officer.svg +14 -0
  488. package/projects/corecomponents/src/res/icons/microphone.svg +1 -0
  489. package/projects/corecomponents/src/res/icons/minus_round_open.svg +1 -0
  490. package/projects/corecomponents/src/res/icons/minus_simple.svg +1 -0
  491. package/projects/corecomponents/src/res/icons/mobile.svg +1 -0
  492. package/projects/corecomponents/src/res/icons/multi_select_check.svg +10 -0
  493. package/projects/corecomponents/src/res/icons/new_task.svg +1 -0
  494. package/projects/corecomponents/src/res/icons/not_equal.svg +4 -0
  495. package/projects/corecomponents/src/res/icons/note.svg +1 -0
  496. package/projects/corecomponents/src/res/icons/note_bordered.svg +1 -0
  497. package/projects/corecomponents/src/res/icons/notification.svg +1 -0
  498. package/projects/corecomponents/src/res/icons/option.svg +1 -0
  499. package/projects/corecomponents/src/res/icons/optionset.svg +1 -0
  500. package/projects/corecomponents/src/res/icons/order.svg +1 -0
  501. package/projects/corecomponents/src/res/icons/orderpicking.svg +1 -0
  502. package/projects/corecomponents/src/res/icons/outgoing_storage.svg +1 -0
  503. package/projects/corecomponents/src/res/icons/over_booking.svg +1 -0
  504. package/projects/corecomponents/src/res/icons/pause_circle.svg +12 -0
  505. package/projects/corecomponents/src/res/icons/pen_to_square_solid.svg +1 -0
  506. package/projects/corecomponents/src/res/icons/pencil_round_open.svg +10 -0
  507. package/projects/corecomponents/src/res/icons/phone.svg +1 -0
  508. package/projects/corecomponents/src/res/icons/phone_round_open.svg +10 -0
  509. package/projects/corecomponents/src/res/icons/piechart.svg +24 -0
  510. package/projects/corecomponents/src/res/icons/pin.svg +9 -0
  511. package/projects/corecomponents/src/res/icons/pin_round_open.svg +11 -0
  512. package/projects/corecomponents/src/res/icons/play_circle.svg +1 -0
  513. package/projects/corecomponents/src/res/icons/plus_round.svg +9 -0
  514. package/projects/corecomponents/src/res/icons/plus_round_open.svg +1 -0
  515. package/projects/corecomponents/src/res/icons/plus_simple.svg +1 -0
  516. package/projects/corecomponents/src/res/icons/plus_skinny.svg +8 -0
  517. package/projects/corecomponents/src/res/icons/plus_solid.svg +1 -0
  518. package/projects/corecomponents/src/res/icons/plus_stars.svg +1 -0
  519. package/projects/corecomponents/src/res/icons/pointer.svg +7 -0
  520. package/projects/corecomponents/src/res/icons/pointer_3d.svg +8 -0
  521. package/projects/corecomponents/src/res/icons/pointer_filled.svg +6 -0
  522. package/projects/corecomponents/src/res/icons/positioning.svg +1 -0
  523. package/projects/corecomponents/src/res/icons/pregnancy.svg +18 -0
  524. package/projects/corecomponents/src/res/icons/preset.svg +1 -0
  525. package/projects/corecomponents/src/res/icons/print.svg +1 -0
  526. package/projects/corecomponents/src/res/icons/product_properties.svg +1 -0
  527. package/projects/corecomponents/src/res/icons/purchase.svg +15 -0
  528. package/projects/corecomponents/src/res/icons/qrcode.svg +59 -0
  529. package/projects/corecomponents/src/res/icons/question.svg +1 -0
  530. package/projects/corecomponents/src/res/icons/radio_uncheck.svg +1 -0
  531. package/projects/corecomponents/src/res/icons/range.svg +1 -0
  532. package/projects/corecomponents/src/res/icons/range_select.svg +1 -0
  533. package/projects/corecomponents/src/res/icons/rectangles.svg +15 -0
  534. package/projects/corecomponents/src/res/icons/refresh.svg +1 -0
  535. package/projects/corecomponents/src/res/icons/relations.svg +20 -0
  536. package/projects/corecomponents/src/res/icons/remark.svg +1 -0
  537. package/projects/corecomponents/src/res/icons/remark_round_open.svg +6 -0
  538. package/projects/corecomponents/src/res/icons/report_in_type.svg +1 -0
  539. package/projects/corecomponents/src/res/icons/resize.svg +3 -0
  540. package/projects/corecomponents/src/res/icons/resize_down.svg +1 -0
  541. package/projects/corecomponents/src/res/icons/resize_up.svg +1 -0
  542. package/projects/corecomponents/src/res/icons/return_goods.svg +4 -0
  543. package/projects/corecomponents/src/res/icons/returns.svg +1 -0
  544. package/projects/corecomponents/src/res/icons/rotate_left_solid.svg +1 -0
  545. package/projects/corecomponents/src/res/icons/save_disk.svg +15 -0
  546. package/projects/corecomponents/src/res/icons/save_skinny.svg +3 -0
  547. package/projects/corecomponents/src/res/icons/scale_balanced.svg +1 -0
  548. package/projects/corecomponents/src/res/icons/scanner.svg +1 -0
  549. package/projects/corecomponents/src/res/icons/search_round_open.svg +9 -0
  550. package/projects/corecomponents/src/res/icons/sections.svg +1 -0
  551. package/projects/corecomponents/src/res/icons/select_all_round.svg +5 -0
  552. package/projects/corecomponents/src/res/icons/services.svg +1 -0
  553. package/projects/corecomponents/src/res/icons/settings.svg +20 -0
  554. package/projects/corecomponents/src/res/icons/shopping_cart.svg +1 -0
  555. package/projects/corecomponents/src/res/icons/shopping_cart_nr.svg +1 -0
  556. package/projects/corecomponents/src/res/icons/shortcut.svg +1 -0
  557. package/projects/corecomponents/src/res/icons/skills.svg +1 -0
  558. package/projects/corecomponents/src/res/icons/slide_in.svg +1 -0
  559. package/projects/corecomponents/src/res/icons/slider_panel.svg +7 -0
  560. package/projects/corecomponents/src/res/icons/small_tiles.svg +1 -0
  561. package/projects/corecomponents/src/res/icons/smaller_than.svg +1 -0
  562. package/projects/corecomponents/src/res/icons/sort_asc.svg +1 -0
  563. package/projects/corecomponents/src/res/icons/sort_desc.svg +1 -0
  564. package/projects/corecomponents/src/res/icons/star_round_open.svg +6 -0
  565. package/projects/corecomponents/src/res/icons/status_active.svg +1 -0
  566. package/projects/corecomponents/src/res/icons/status_adoption.svg +1 -0
  567. package/projects/corecomponents/src/res/icons/status_fostercare.svg +1 -0
  568. package/projects/corecomponents/src/res/icons/status_ill.svg +10 -0
  569. package/projects/corecomponents/src/res/icons/status_leave.svg +1 -0
  570. package/projects/corecomponents/src/res/icons/status_pregnancy.svg +10 -0
  571. package/projects/corecomponents/src/res/icons/stock.svg +1 -0
  572. package/projects/corecomponents/src/res/icons/stock_management.svg +25 -0
  573. package/projects/corecomponents/src/res/icons/storage.svg +1 -0
  574. package/projects/corecomponents/src/res/icons/supervisor.svg +1 -0
  575. package/projects/corecomponents/src/res/icons/supplier.svg +18 -0
  576. package/projects/corecomponents/src/res/icons/surgery.svg +35 -0
  577. package/projects/corecomponents/src/res/icons/tablechart.svg +15 -0
  578. package/projects/corecomponents/src/res/icons/tag.svg +1 -0
  579. package/projects/corecomponents/src/res/icons/talk_too_much.svg +7 -0
  580. package/projects/corecomponents/src/res/icons/target.svg +1 -0
  581. package/projects/corecomponents/src/res/icons/task.svg +1 -0
  582. package/projects/corecomponents/src/res/icons/thick_lines.svg +1 -0
  583. package/projects/corecomponents/src/res/icons/thin_lines.svg +1 -0
  584. package/projects/corecomponents/src/res/icons/three_sixty_view.svg +1 -0
  585. package/projects/corecomponents/src/res/icons/thumb_bronze.svg +29 -0
  586. package/projects/corecomponents/src/res/icons/thumb_gold.svg +29 -0
  587. package/projects/corecomponents/src/res/icons/thumb_silver.svg +29 -0
  588. package/projects/corecomponents/src/res/icons/timeline.svg +1 -0
  589. package/projects/corecomponents/src/res/icons/transaction_detail.svg +19 -0
  590. package/projects/corecomponents/src/res/icons/transactions.svg +12 -0
  591. package/projects/corecomponents/src/res/icons/trash_can_solid.svg +1 -0
  592. package/projects/corecomponents/src/res/icons/triangle_down.svg +1 -0
  593. package/projects/corecomponents/src/res/icons/triangle_large.svg +5 -0
  594. package/projects/corecomponents/src/res/icons/triangle_left.svg +1 -0
  595. package/projects/corecomponents/src/res/icons/triangle_right.svg +1 -0
  596. package/projects/corecomponents/src/res/icons/triangle_up.svg +1 -0
  597. package/projects/corecomponents/src/res/icons/truck.svg +1 -0
  598. package/projects/corecomponents/src/res/icons/truck_calendar.svg +15 -0
  599. package/projects/corecomponents/src/res/icons/undo_round_open.svg +1 -0
  600. package/projects/corecomponents/src/res/icons/user.svg +9 -0
  601. package/projects/corecomponents/src/res/icons/variants.svg +1 -0
  602. package/projects/corecomponents/src/res/icons/vbarchart.svg +6 -0
  603. package/projects/corecomponents/src/res/icons/view.svg +1 -0
  604. package/projects/corecomponents/src/res/icons/warehouse.svg +1 -0
  605. package/projects/corecomponents/src/res/icons/watermark.svg +10 -0
  606. package/projects/corecomponents/src/res/icons/website.svg +1 -0
  607. package/projects/corecomponents/src/res/icons/wizard.svg +18 -0
  608. package/projects/corecomponents/src/res/icons/wms.svg +24 -0
  609. package/projects/corecomponents/src/res/icons/work_in_progress.svg +10 -0
  610. package/projects/corecomponents/src/res/icons/work_in_progress_round_open.svg +9 -0
  611. package/projects/corecomponents/src/res/icons/wrench.svg +4 -0
  612. package/projects/corecomponents/src/res/icons/x_axis.svg +5 -0
  613. package/projects/corecomponents/src/res/icons/y_axis.svg +5 -0
  614. package/projects/corecomponents/src/test.ts +28 -0
  615. package/projects/corecomponents/tsconfig.lib.json +20 -0
  616. package/projects/corecomponents/tsconfig.lib.prod.json +16 -0
  617. package/projects/corecomponents/tsconfig.spec.json +17 -0
  618. package/scripts/export.bat +9 -0
  619. package/scripts/merge-icons.js +39 -0
  620. package/scripts/publish.bat +6 -0
  621. package/src/app/app.component.scss +36 -0
  622. package/src/app/app.component.spec.ts +31 -0
  623. package/src/app/app.component.ts +559 -0
  624. package/src/app/app.module.ts +146 -0
  625. package/src/app/components/button-showcase.component.ts +82 -0
  626. package/src/app/components/carousel-3d-showcase.component.ts +70 -0
  627. package/src/app/components/checkbox-showcase.component.ts +56 -0
  628. package/src/app/components/co-dialog-showcase.component.ts +189 -0
  629. package/src/app/components/co-simple-grid-test.component.ts +146 -0
  630. package/src/app/components/filter-item-showcase.component.ts +178 -0
  631. package/src/app/components/forms-showcase.component.ts +728 -0
  632. package/src/app/components/icon-showcase.component.ts +72 -0
  633. package/src/app/components/input-checkbox-showcase.component.ts +87 -0
  634. package/src/app/components/input-date-picker-showcase.component.ts +90 -0
  635. package/src/app/components/input-number-picker-showcase.component.ts +125 -0
  636. package/src/app/components/input-radio-button-showcase.component.ts +87 -0
  637. package/src/app/components/input-scanner-showcase.component.ts +35 -0
  638. package/src/app/components/input-text-showcase.component.ts +217 -0
  639. package/src/app/components/input-time-showcase.component.ts +104 -0
  640. package/src/app/components/number-picker-showcase.component.ts +17 -0
  641. package/src/app/components/simple-grid-showcase.component.ts +60 -0
  642. package/src/app/model/data-item.ts +9 -0
  643. package/src/app/model/enum/currency-code.enum.ts +7 -0
  644. package/src/app/model/enum/language-code.enum.ts +8 -0
  645. package/src/app/model/map/currencies.map.ts +6 -0
  646. package/src/app/service/showcase-data.service.ts +1110 -0
  647. package/src/assets/.gitkeep +0 -0
  648. package/src/environments/environment.prod.ts +3 -0
  649. package/src/environments/environment.ts +16 -0
  650. package/src/favicon.ico +0 -0
  651. package/src/index.html +13 -0
  652. package/src/main.ts +12 -0
  653. package/src/polyfills.ts +65 -0
  654. package/src/styles.scss +57 -0
  655. package/src/test.ts +27 -0
  656. package/tsconfig.app.json +15 -0
  657. package/tsconfig.json +37 -0
  658. package/tsconfig.spec.json +18 -0
  659. package/bundles/colijnit-corecomponents_v12.umd.js +0 -14269
  660. package/bundles/colijnit-corecomponents_v12.umd.js.map +0 -1
  661. package/colijnit-corecomponents_v12.d.ts +0 -43
  662. package/colijnit-corecomponents_v12.metadata.json +0 -1
  663. package/esm2015/colijnit-corecomponents_v12.js +0 -44
  664. package/esm2015/lib/components/article-tile/article-tile.component.js +0 -81
  665. package/esm2015/lib/components/article-tile/article-tile.module.js +0 -35
  666. package/esm2015/lib/components/base/base-input.component.js +0 -834
  667. package/esm2015/lib/components/base/base.module.js +0 -22
  668. package/esm2015/lib/components/base/commit-buttons/commit-buttons.component.js +0 -103
  669. package/esm2015/lib/components/base/commit-buttons/commit-buttons.module.js +0 -21
  670. package/esm2015/lib/components/base/dialog-base.component.js +0 -6
  671. package/esm2015/lib/components/base-input-date-picker/base-input-date-picker.directive.js +0 -25
  672. package/esm2015/lib/components/button/button.component.js +0 -79
  673. package/esm2015/lib/components/button/button.module.js +0 -19
  674. package/esm2015/lib/components/calendar/calendar-template.component.js +0 -342
  675. package/esm2015/lib/components/calendar/calendar.component.js +0 -45
  676. package/esm2015/lib/components/calendar/calendar.module.js +0 -28
  677. package/esm2015/lib/components/card/card.component.js +0 -72
  678. package/esm2015/lib/components/card/card.module.js +0 -35
  679. package/esm2015/lib/components/carousel/carousel.component.js +0 -130
  680. package/esm2015/lib/components/carousel/carousel.module.js +0 -32
  681. package/esm2015/lib/components/carousel-3d/carousel-3d.component.js +0 -315
  682. package/esm2015/lib/components/carousel-3d/carousel-3d.module.js +0 -19
  683. package/esm2015/lib/components/carousel-3d/carouselItem.js +0 -54
  684. package/esm2015/lib/components/checkmark-overlay/checkmark-overlay.component.js +0 -87
  685. package/esm2015/lib/components/checkmark-overlay/checkmark-overlay.module.js +0 -19
  686. package/esm2015/lib/components/co-dialog/co-dialog.component.js +0 -113
  687. package/esm2015/lib/components/co-dialog/co-dialog.module.js +0 -19
  688. package/esm2015/lib/components/co-dialog-wizard/co-dialog-wizard.component.js +0 -51
  689. package/esm2015/lib/components/co-dialog-wizard/co-dialog-wizard.module.js +0 -17
  690. package/esm2015/lib/components/collapsible/collapsible.component.js +0 -92
  691. package/esm2015/lib/components/collapsible/collapsible.module.js +0 -19
  692. package/esm2015/lib/components/color-picker/color-picker.component.js +0 -41
  693. package/esm2015/lib/components/color-picker/color-picker.module.js +0 -21
  694. package/esm2015/lib/components/core-dialog/confirmation-dialog/confirmation-dialog.component.js +0 -79
  695. package/esm2015/lib/components/core-dialog/core-dialog.module.js +0 -39
  696. package/esm2015/lib/components/core-dialog/core-dialog.service.js +0 -67
  697. package/esm2015/lib/components/core-dialog/core-dynamic-component.service.js +0 -93
  698. package/esm2015/lib/components/double-calendar/double-calendar.component.js +0 -80
  699. package/esm2015/lib/components/double-calendar/double-calendar.module.js +0 -25
  700. package/esm2015/lib/components/filter-item/filter-item-viewmodel.js +0 -13
  701. package/esm2015/lib/components/filter-item/filter-item.component.js +0 -646
  702. package/esm2015/lib/components/filter-item/filter-item.module.js +0 -43
  703. package/esm2015/lib/components/filter-item/filter-viewmodel.js +0 -11
  704. package/esm2015/lib/components/form/form.component.js +0 -184
  705. package/esm2015/lib/components/form/form.module.js +0 -23
  706. package/esm2015/lib/components/grid-toolbar/grid-toolbar.component.js +0 -57
  707. package/esm2015/lib/components/grid-toolbar/grid-toolbar.module.js +0 -23
  708. package/esm2015/lib/components/grid-toolbar-button/grid-toolbar-button.component.js +0 -28
  709. package/esm2015/lib/components/grid-toolbar-button/grid-toolbar-button.module.js +0 -19
  710. package/esm2015/lib/components/icon/icon-cache.service.js +0 -52
  711. package/esm2015/lib/components/icon/icon.component.js +0 -48
  712. package/esm2015/lib/components/icon/icon.module.js +0 -25
  713. package/esm2015/lib/components/icon-collapse-handle/icon-collapse-handle.component.js +0 -64
  714. package/esm2015/lib/components/icon-collapse-handle/icon-collapse-handle.module.js +0 -23
  715. package/esm2015/lib/components/image/image.component.js +0 -42
  716. package/esm2015/lib/components/image/image.module.js +0 -14
  717. package/esm2015/lib/components/input-checkbox/input-checkbox.component.js +0 -79
  718. package/esm2015/lib/components/input-checkbox/input-checkbox.module.js +0 -19
  719. package/esm2015/lib/components/input-date-picker/input-date-picker.component.js +0 -91
  720. package/esm2015/lib/components/input-date-picker/input-date-picker.module.js +0 -26
  721. package/esm2015/lib/components/input-date-range-picker/input-date-range-picker.component.js +0 -134
  722. package/esm2015/lib/components/input-date-range-picker/input-date-range-picker.module.js +0 -27
  723. package/esm2015/lib/components/input-number-picker/input-number-picker.component.js +0 -314
  724. package/esm2015/lib/components/input-number-picker/input-number-picker.module.js +0 -23
  725. package/esm2015/lib/components/input-radio-button/input-radio-button.component.js +0 -84
  726. package/esm2015/lib/components/input-radio-button/input-radio-button.module.js +0 -19
  727. package/esm2015/lib/components/input-scanner/bar-code-scanner.js +0 -23
  728. package/esm2015/lib/components/input-scanner/input-scanner.component.js +0 -72
  729. package/esm2015/lib/components/input-scanner/input-scanner.module.js +0 -21
  730. package/esm2015/lib/components/input-scanner/scanner.service.js +0 -28
  731. package/esm2015/lib/components/input-search/input-search.component.js +0 -83
  732. package/esm2015/lib/components/input-search/input-search.module.js +0 -21
  733. package/esm2015/lib/components/input-text/input-text.component.js +0 -246
  734. package/esm2015/lib/components/input-text/input-text.module.js +0 -33
  735. package/esm2015/lib/components/input-textarea/input-textarea.component.js +0 -78
  736. package/esm2015/lib/components/input-textarea/input-textarea.module.js +0 -27
  737. package/esm2015/lib/components/level-indicator/level-indicator-level.enum.js +0 -7
  738. package/esm2015/lib/components/level-indicator/level-indicator.component.js +0 -36
  739. package/esm2015/lib/components/level-indicator/level-indicator.module.js +0 -15
  740. package/esm2015/lib/components/list-of-icons/list-of-icons.component.js +0 -64
  741. package/esm2015/lib/components/list-of-icons/list-of-icons.module.js +0 -25
  742. package/esm2015/lib/components/list-of-values/list-of-values-multiselect-popup.component.js +0 -112
  743. package/esm2015/lib/components/list-of-values/list-of-values-popup.component.js +0 -251
  744. package/esm2015/lib/components/list-of-values/list-of-values.component.js +0 -233
  745. package/esm2015/lib/components/list-of-values/list-of-values.module.js +0 -38
  746. package/esm2015/lib/components/loader/loader.component.js +0 -84
  747. package/esm2015/lib/components/loader/loader.module.js +0 -19
  748. package/esm2015/lib/components/pagination/paginate.pipe.js +0 -99
  749. package/esm2015/lib/components/pagination/pagination-instance.js +0 -2
  750. package/esm2015/lib/components/pagination/pagination.component.js +0 -126
  751. package/esm2015/lib/components/pagination/pagination.module.js +0 -28
  752. package/esm2015/lib/components/pagination/pagination.service.js +0 -88
  753. package/esm2015/lib/components/pagination-bar/pagination-bar.component.js +0 -151
  754. package/esm2015/lib/components/pagination-bar/pagination-bar.module.js +0 -19
  755. package/esm2015/lib/components/popup/const/popup-window-token.js +0 -3
  756. package/esm2015/lib/components/popup/interface/popup-button.js +0 -8
  757. package/esm2015/lib/components/popup/interface/popup-close-event.js +0 -2
  758. package/esm2015/lib/components/popup/interface/popup-settings.js +0 -42
  759. package/esm2015/lib/components/popup/interface/popup.js +0 -2
  760. package/esm2015/lib/components/popup/model/popup-button-globals.js +0 -11
  761. package/esm2015/lib/components/popup/model/popup-window.js +0 -38
  762. package/esm2015/lib/components/popup/popup-buttons.component.js +0 -53
  763. package/esm2015/lib/components/popup/popup-message-display.component.js +0 -47
  764. package/esm2015/lib/components/popup/popup-window-shell.component.js +0 -159
  765. package/esm2015/lib/components/popup/popup.module.js +0 -49
  766. package/esm2015/lib/components/popup/service/popup-shower.service.js +0 -90
  767. package/esm2015/lib/components/popup/service/prompt.service.js +0 -127
  768. package/esm2015/lib/components/popup/text-input-popup.component.js +0 -36
  769. package/esm2015/lib/components/responsive-text/responsive-text.component.js +0 -24
  770. package/esm2015/lib/components/responsive-text/responsive-text.module.js +0 -19
  771. package/esm2015/lib/components/simple-grid/base-simple-grid.component.js +0 -166
  772. package/esm2015/lib/components/simple-grid/simple-grid-cell.component.js +0 -172
  773. package/esm2015/lib/components/simple-grid/simple-grid-column.directive.js +0 -113
  774. package/esm2015/lib/components/simple-grid/simple-grid.component.js +0 -612
  775. package/esm2015/lib/components/simple-grid/simple-grid.module.js +0 -45
  776. package/esm2015/lib/components/tile/tile.component.js +0 -73
  777. package/esm2015/lib/components/tile/tile.module.js +0 -23
  778. package/esm2015/lib/components/tile-select/tile-select.component.js +0 -36
  779. package/esm2015/lib/components/tile-select/tile-select.module.js +0 -21
  780. package/esm2015/lib/components/tooltip/tooltip.component.js +0 -77
  781. package/esm2015/lib/components/tooltip/tooltip.module.js +0 -19
  782. package/esm2015/lib/components/validation-error/validation-error.component.js +0 -38
  783. package/esm2015/lib/components/validation-error/validation-error.module.js +0 -25
  784. package/esm2015/lib/components/view-mode-buttons/content-view-mode.enum.js +0 -11
  785. package/esm2015/lib/components/view-mode-buttons/view-mode-buttons.component.js +0 -61
  786. package/esm2015/lib/components/view-mode-buttons/view-mode-buttons.module.js +0 -21
  787. package/esm2015/lib/core/constant/default-upper-bound-for-range-components.js +0 -4
  788. package/esm2015/lib/core/constant/java-max-int.js +0 -2
  789. package/esm2015/lib/core/constant/number-inputs-key-down-white-list.js +0 -45
  790. package/esm2015/lib/core/decorator/input-boolean.decorator.js +0 -34
  791. package/esm2015/lib/core/enum/co-direction.js +0 -9
  792. package/esm2015/lib/core/enum/co-document-image-display-kind.enum.js +0 -7
  793. package/esm2015/lib/core/enum/co-document-type.enum.js +0 -11
  794. package/esm2015/lib/core/enum/co-orientation.js +0 -17
  795. package/esm2015/lib/core/enum/core-components-icon.enum.js +0 -300
  796. package/esm2015/lib/core/enum/file-type-internal.enum.js +0 -17
  797. package/esm2015/lib/core/enum/file-type.enum.js +0 -11
  798. package/esm2015/lib/core/enum/filterItem-mode.enum.js +0 -43
  799. package/esm2015/lib/core/enum/input-number-picker-show-mode.enum.js +0 -8
  800. package/esm2015/lib/core/enum/keyboard-code.enum.js +0 -74
  801. package/esm2015/lib/core/enum/keyboard-key.enum.js +0 -76
  802. package/esm2015/lib/core/enum/object-right-type.enum.js +0 -7
  803. package/esm2015/lib/core/enum/popup-button-type.enum.js +0 -12
  804. package/esm2015/lib/core/enum/popup-type.enum.js +0 -11
  805. package/esm2015/lib/core/enum/table-name.enum.js +0 -81
  806. package/esm2015/lib/core/function/any-nill.function.js +0 -6
  807. package/esm2015/lib/core/function/is-nill.function.js +0 -5
  808. package/esm2015/lib/core/function/none-nill.function.js +0 -17
  809. package/esm2015/lib/core/function/not-nill.function.js +0 -5
  810. package/esm2015/lib/core/model/bounds-constrained-number-value.js +0 -171
  811. package/esm2015/lib/core/model/check-precision-and-scale-result.js +0 -2
  812. package/esm2015/lib/core/model/check-within-stepped-bounds-result.js +0 -2
  813. package/esm2015/lib/core/model/co-document-right.bo.js +0 -3
  814. package/esm2015/lib/core/model/co-document.bo.js +0 -121
  815. package/esm2015/lib/core/model/core-components-icon-svg.js +0 -299
  816. package/esm2015/lib/core/model/element-position.js +0 -10
  817. package/esm2015/lib/core/model/event/string-prompt-result-event.js +0 -8
  818. package/esm2015/lib/core/service/form-input-user-change-listener.service.js +0 -25
  819. package/esm2015/lib/core/service/form-master.service.js +0 -102
  820. package/esm2015/lib/core/service/ng-zone-wrapper.service.js +0 -20
  821. package/esm2015/lib/core/utils/array-utils.js +0 -264
  822. package/esm2015/lib/core/utils/browser-utils.js +0 -100
  823. package/esm2015/lib/core/utils/direction-enum-utils.js +0 -14
  824. package/esm2015/lib/core/utils/event-utils.js +0 -53
  825. package/esm2015/lib/core/utils/file-utils.js +0 -267
  826. package/esm2015/lib/core/utils/number-utils.js +0 -309
  827. package/esm2015/lib/core/utils/object-utils.js +0 -186
  828. package/esm2015/lib/core/utils/string-utils.js +0 -94
  829. package/esm2015/lib/core/validator/email.validator.js +0 -6
  830. package/esm2015/lib/core/validator/equal.validator.js +0 -11
  831. package/esm2015/lib/core/validator/max-string-length.validator.js +0 -10
  832. package/esm2015/lib/core/validator/password.validator.js +0 -31
  833. package/esm2015/lib/core/validator/precision-scale.validator.js +0 -11
  834. package/esm2015/lib/core/validator/required.validator.js +0 -5
  835. package/esm2015/lib/directives/clickoutside/click-outside-master.service.js +0 -57
  836. package/esm2015/lib/directives/clickoutside/click-outside.directive.js +0 -71
  837. package/esm2015/lib/directives/clickoutside/clickoutside.module.js +0 -19
  838. package/esm2015/lib/directives/observe-visibility/observe-visibility.directive.js +0 -53
  839. package/esm2015/lib/directives/observe-visibility/observe-visibility.module.js +0 -15
  840. package/esm2015/lib/directives/overlay/overlay-parent.directive.js +0 -19
  841. package/esm2015/lib/directives/overlay/overlay.directive.js +0 -161
  842. package/esm2015/lib/directives/overlay/overlay.module.js +0 -18
  843. package/esm2015/lib/directives/ripple/ripple-ref.js +0 -26
  844. package/esm2015/lib/directives/ripple/ripple-renderer.js +0 -160
  845. package/esm2015/lib/directives/ripple/ripple.directive.js +0 -80
  846. package/esm2015/lib/directives/ripple/ripple.module.js +0 -24
  847. package/esm2015/lib/directives/ripple/scroll-dispatcher.service.js +0 -108
  848. package/esm2015/lib/directives/ripple/scrollable.directive.js +0 -40
  849. package/esm2015/lib/directives/ripple/viewport-ruler.service.js +0 -73
  850. package/esm2015/lib/directives/screen-configuration/screen-configuration.directive.js +0 -158
  851. package/esm2015/lib/directives/screen-configuration/screen-configuration.module.js +0 -19
  852. package/esm2015/lib/directives/stopclick/stop-click.directive.js +0 -38
  853. package/esm2015/lib/directives/stopclick/stop-click.module.js +0 -15
  854. package/esm2015/lib/directives/template-wrapper/template-wrapper.directive.js +0 -68
  855. package/esm2015/lib/directives/template-wrapper/template-wrapper.module.js +0 -15
  856. package/esm2015/lib/directives/tooltip/tooltip-directive.module.js +0 -19
  857. package/esm2015/lib/directives/tooltip/tooltip.directive.js +0 -78
  858. package/esm2015/lib/interfaces/dialog-response.interface.js +0 -2
  859. package/esm2015/lib/interfaces/scanner-input.interface.js +0 -2
  860. package/esm2015/lib/interfaces/screen-config-adapter-component-interface-name.js +0 -4
  861. package/esm2015/lib/interfaces/screen-config-adapter.component.interface.js +0 -2
  862. package/esm2015/lib/model/enum/app-button-type.enum.js +0 -11
  863. package/esm2015/lib/model/enum/app-popup-type.enum.js +0 -8
  864. package/esm2015/lib/model/icon-list-item.js +0 -2
  865. package/esm2015/lib/pipes/append.pipe.js +0 -17
  866. package/esm2015/lib/pipes/append.pipe.module.js +0 -15
  867. package/esm2015/lib/pipes/filter.pipe.js +0 -16
  868. package/esm2015/lib/pipes/filter.pipe.module.js +0 -15
  869. package/esm2015/lib/pipes/prepend.pipe.js +0 -17
  870. package/esm2015/lib/pipes/prepend.pipe.module.js +0 -15
  871. package/esm2015/lib/pipes/price-display-pipe.module.js +0 -15
  872. package/esm2015/lib/pipes/price-display.pipe.js +0 -20
  873. package/esm2015/lib/service/base-module-screen-config.service.js +0 -205
  874. package/esm2015/lib/service/base-module.service.js +0 -42
  875. package/esm2015/lib/service/color-sequence.service.js +0 -49
  876. package/esm2015/lib/service/overlay.service.js +0 -73
  877. package/esm2015/lib/translation/core-components-translation.module.js +0 -29
  878. package/esm2015/lib/translation/core-components-translation.service.js +0 -17
  879. package/esm2015/lib/translation/core-dictionary.service.js +0 -29
  880. package/esm2015/lib/translation/core-localize.pipe.js +0 -26
  881. package/esm2015/public-api.js +0 -132
  882. package/fesm2015/colijnit-corecomponents_v12.js +0 -13665
  883. package/fesm2015/colijnit-corecomponents_v12.js.map +0 -1
  884. package/lib/components/article-tile/article-tile.component.d.ts +0 -22
  885. package/lib/components/article-tile/article-tile.module.d.ts +0 -2
  886. package/lib/components/base/base-input.component.d.ts +0 -182
  887. package/lib/components/base/base.module.d.ts +0 -2
  888. package/lib/components/base/commit-buttons/commit-buttons.component.d.ts +0 -21
  889. package/lib/components/base/commit-buttons/commit-buttons.module.d.ts +0 -2
  890. package/lib/components/base/dialog-base.component.d.ts +0 -4
  891. package/lib/components/base-input-date-picker/base-input-date-picker.directive.d.ts +0 -15
  892. package/lib/components/button/button.component.d.ts +0 -29
  893. package/lib/components/button/button.module.d.ts +0 -2
  894. package/lib/components/calendar/calendar-template.component.d.ts +0 -60
  895. package/lib/components/calendar/calendar.component.d.ts +0 -13
  896. package/lib/components/calendar/calendar.module.d.ts +0 -2
  897. package/lib/components/card/card.component.d.ts +0 -23
  898. package/lib/components/card/card.module.d.ts +0 -2
  899. package/lib/components/carousel/carousel.component.d.ts +0 -23
  900. package/lib/components/carousel/carousel.module.d.ts +0 -6
  901. package/lib/components/carousel-3d/carousel-3d.component.d.ts +0 -55
  902. package/lib/components/carousel-3d/carousel-3d.module.d.ts +0 -2
  903. package/lib/components/carousel-3d/carouselItem.d.ts +0 -13
  904. package/lib/components/checkmark-overlay/checkmark-overlay.component.d.ts +0 -17
  905. package/lib/components/checkmark-overlay/checkmark-overlay.module.d.ts +0 -2
  906. package/lib/components/co-dialog/co-dialog.component.d.ts +0 -23
  907. package/lib/components/co-dialog/co-dialog.module.d.ts +0 -2
  908. package/lib/components/co-dialog-wizard/co-dialog-wizard.component.d.ts +0 -9
  909. package/lib/components/co-dialog-wizard/co-dialog-wizard.module.d.ts +0 -2
  910. package/lib/components/collapsible/collapsible.component.d.ts +0 -22
  911. package/lib/components/collapsible/collapsible.module.d.ts +0 -2
  912. package/lib/components/color-picker/color-picker.component.d.ts +0 -6
  913. package/lib/components/color-picker/color-picker.module.d.ts +0 -2
  914. package/lib/components/core-dialog/confirmation-dialog/confirmation-dialog.component.d.ts +0 -20
  915. package/lib/components/core-dialog/core-dialog.module.d.ts +0 -4
  916. package/lib/components/core-dialog/core-dialog.service.d.ts +0 -15
  917. package/lib/components/core-dialog/core-dynamic-component.service.d.ts +0 -12
  918. package/lib/components/double-calendar/double-calendar.component.d.ts +0 -18
  919. package/lib/components/double-calendar/double-calendar.module.d.ts +0 -2
  920. package/lib/components/filter-item/filter-item-viewmodel.d.ts +0 -9
  921. package/lib/components/filter-item/filter-item.component.d.ts +0 -80
  922. package/lib/components/filter-item/filter-item.module.d.ts +0 -2
  923. package/lib/components/filter-item/filter-viewmodel.d.ts +0 -8
  924. package/lib/components/form/form.component.d.ts +0 -39
  925. package/lib/components/form/form.module.d.ts +0 -2
  926. package/lib/components/grid-toolbar/grid-toolbar.component.d.ts +0 -19
  927. package/lib/components/grid-toolbar/grid-toolbar.module.d.ts +0 -2
  928. package/lib/components/grid-toolbar-button/grid-toolbar-button.component.d.ts +0 -8
  929. package/lib/components/grid-toolbar-button/grid-toolbar-button.module.d.ts +0 -2
  930. package/lib/components/icon/icon-cache.service.d.ts +0 -20
  931. package/lib/components/icon/icon.component.d.ts +0 -17
  932. package/lib/components/icon/icon.module.d.ts +0 -2
  933. package/lib/components/icon-collapse-handle/icon-collapse-handle.component.d.ts +0 -21
  934. package/lib/components/icon-collapse-handle/icon-collapse-handle.module.d.ts +0 -2
  935. package/lib/components/image/image.component.d.ts +0 -20
  936. package/lib/components/image/image.module.d.ts +0 -2
  937. package/lib/components/input-checkbox/input-checkbox.component.d.ts +0 -24
  938. package/lib/components/input-checkbox/input-checkbox.module.d.ts +0 -2
  939. package/lib/components/input-date-picker/input-date-picker.component.d.ts +0 -12
  940. package/lib/components/input-date-picker/input-date-picker.module.d.ts +0 -2
  941. package/lib/components/input-date-range-picker/input-date-range-picker.component.d.ts +0 -20
  942. package/lib/components/input-date-range-picker/input-date-range-picker.module.d.ts +0 -2
  943. package/lib/components/input-number-picker/input-number-picker.component.d.ts +0 -73
  944. package/lib/components/input-number-picker/input-number-picker.module.d.ts +0 -2
  945. package/lib/components/input-radio-button/input-radio-button.component.d.ts +0 -19
  946. package/lib/components/input-radio-button/input-radio-button.module.d.ts +0 -2
  947. package/lib/components/input-scanner/bar-code-scanner.d.ts +0 -7
  948. package/lib/components/input-scanner/input-scanner.component.d.ts +0 -24
  949. package/lib/components/input-scanner/input-scanner.module.d.ts +0 -2
  950. package/lib/components/input-scanner/scanner.service.d.ts +0 -11
  951. package/lib/components/input-search/input-search.component.d.ts +0 -20
  952. package/lib/components/input-search/input-search.module.d.ts +0 -2
  953. package/lib/components/input-text/input-text.component.d.ts +0 -66
  954. package/lib/components/input-text/input-text.module.d.ts +0 -2
  955. package/lib/components/input-textarea/input-textarea.component.d.ts +0 -19
  956. package/lib/components/input-textarea/input-textarea.module.d.ts +0 -2
  957. package/lib/components/level-indicator/level-indicator-level.enum.d.ts +0 -5
  958. package/lib/components/level-indicator/level-indicator.component.d.ts +0 -10
  959. package/lib/components/level-indicator/level-indicator.module.d.ts +0 -2
  960. package/lib/components/list-of-icons/list-of-icons.component.d.ts +0 -19
  961. package/lib/components/list-of-icons/list-of-icons.module.d.ts +0 -2
  962. package/lib/components/list-of-values/list-of-values-multiselect-popup.component.d.ts +0 -25
  963. package/lib/components/list-of-values/list-of-values-popup.component.d.ts +0 -47
  964. package/lib/components/list-of-values/list-of-values.component.d.ts +0 -37
  965. package/lib/components/list-of-values/list-of-values.module.d.ts +0 -2
  966. package/lib/components/loader/loader.component.d.ts +0 -3
  967. package/lib/components/loader/loader.module.d.ts +0 -2
  968. package/lib/components/pagination/paginate.pipe.d.ts +0 -15
  969. package/lib/components/pagination/pagination-instance.d.ts +0 -14
  970. package/lib/components/pagination/pagination.component.d.ts +0 -38
  971. package/lib/components/pagination/pagination.module.d.ts +0 -2
  972. package/lib/components/pagination/pagination.service.d.ts +0 -24
  973. package/lib/components/pagination-bar/pagination-bar.component.d.ts +0 -33
  974. package/lib/components/pagination-bar/pagination-bar.module.d.ts +0 -2
  975. package/lib/components/popup/const/popup-window-token.d.ts +0 -3
  976. package/lib/components/popup/interface/popup-button.d.ts +0 -8
  977. package/lib/components/popup/interface/popup-close-event.d.ts +0 -5
  978. package/lib/components/popup/interface/popup-settings.d.ts +0 -21
  979. package/lib/components/popup/interface/popup.d.ts +0 -9
  980. package/lib/components/popup/model/popup-button-globals.d.ts +0 -9
  981. package/lib/components/popup/model/popup-window.d.ts +0 -21
  982. package/lib/components/popup/popup-buttons.component.d.ts +0 -13
  983. package/lib/components/popup/popup-message-display.component.d.ts +0 -12
  984. package/lib/components/popup/popup-window-shell.component.d.ts +0 -42
  985. package/lib/components/popup/popup.module.d.ts +0 -4
  986. package/lib/components/popup/service/popup-shower.service.d.ts +0 -17
  987. package/lib/components/popup/service/prompt.service.d.ts +0 -17
  988. package/lib/components/popup/text-input-popup.component.d.ts +0 -12
  989. package/lib/components/responsive-text/responsive-text.component.d.ts +0 -4
  990. package/lib/components/responsive-text/responsive-text.module.d.ts +0 -2
  991. package/lib/components/simple-grid/base-simple-grid.component.d.ts +0 -53
  992. package/lib/components/simple-grid/simple-grid-cell.component.d.ts +0 -30
  993. package/lib/components/simple-grid/simple-grid-column.directive.d.ts +0 -43
  994. package/lib/components/simple-grid/simple-grid.component.d.ts +0 -78
  995. package/lib/components/simple-grid/simple-grid.module.d.ts +0 -2
  996. package/lib/components/tile/tile.component.d.ts +0 -16
  997. package/lib/components/tile/tile.module.d.ts +0 -2
  998. package/lib/components/tile-select/tile-select.component.d.ts +0 -8
  999. package/lib/components/tile-select/tile-select.module.d.ts +0 -2
  1000. package/lib/components/tooltip/tooltip.component.d.ts +0 -18
  1001. package/lib/components/tooltip/tooltip.module.d.ts +0 -2
  1002. package/lib/components/validation-error/validation-error.component.d.ts +0 -12
  1003. package/lib/components/validation-error/validation-error.module.d.ts +0 -2
  1004. package/lib/components/view-mode-buttons/content-view-mode.enum.d.ts +0 -8
  1005. package/lib/components/view-mode-buttons/view-mode-buttons.component.d.ts +0 -17
  1006. package/lib/components/view-mode-buttons/view-mode-buttons.module.d.ts +0 -2
  1007. package/lib/core/constant/default-upper-bound-for-range-components.d.ts +0 -2
  1008. package/lib/core/constant/java-max-int.d.ts +0 -1
  1009. package/lib/core/constant/number-inputs-key-down-white-list.d.ts +0 -2
  1010. package/lib/core/decorator/input-boolean.decorator.d.ts +0 -8
  1011. package/lib/core/enum/co-direction.d.ts +0 -6
  1012. package/lib/core/enum/co-document-image-display-kind.enum.d.ts +0 -5
  1013. package/lib/core/enum/co-document-type.enum.d.ts +0 -5
  1014. package/lib/core/enum/co-orientation.d.ts +0 -6
  1015. package/lib/core/enum/core-components-icon.enum.d.ts +0 -298
  1016. package/lib/core/enum/file-type-internal.enum.d.ts +0 -15
  1017. package/lib/core/enum/file-type.enum.d.ts +0 -5
  1018. package/lib/core/enum/filterItem-mode.enum.d.ts +0 -15
  1019. package/lib/core/enum/input-number-picker-show-mode.enum.d.ts +0 -5
  1020. package/lib/core/enum/keyboard-code.enum.d.ts +0 -71
  1021. package/lib/core/enum/keyboard-key.enum.d.ts +0 -70
  1022. package/lib/core/enum/object-right-type.enum.d.ts +0 -5
  1023. package/lib/core/enum/popup-button-type.enum.d.ts +0 -9
  1024. package/lib/core/enum/popup-type.enum.d.ts +0 -9
  1025. package/lib/core/enum/table-name.enum.d.ts +0 -79
  1026. package/lib/core/function/any-nill.function.d.ts +0 -1
  1027. package/lib/core/function/is-nill.function.d.ts +0 -1
  1028. package/lib/core/function/none-nill.function.d.ts +0 -1
  1029. package/lib/core/function/not-nill.function.d.ts +0 -1
  1030. package/lib/core/model/bounds-constrained-number-value.d.ts +0 -46
  1031. package/lib/core/model/check-precision-and-scale-result.d.ts +0 -4
  1032. package/lib/core/model/check-within-stepped-bounds-result.d.ts +0 -8
  1033. package/lib/core/model/co-document-right.bo.d.ts +0 -6
  1034. package/lib/core/model/co-document.bo.d.ts +0 -61
  1035. package/lib/core/model/core-components-icon-svg.d.ts +0 -4
  1036. package/lib/core/model/element-position.d.ts +0 -7
  1037. package/lib/core/model/event/string-prompt-result-event.d.ts +0 -6
  1038. package/lib/core/service/form-input-user-change-listener.service.d.ts +0 -10
  1039. package/lib/core/service/form-master.service.d.ts +0 -26
  1040. package/lib/core/service/ng-zone-wrapper.service.d.ts +0 -6
  1041. package/lib/core/utils/array-utils.d.ts +0 -85
  1042. package/lib/core/utils/browser-utils.d.ts +0 -15
  1043. package/lib/core/utils/direction-enum-utils.d.ts +0 -5
  1044. package/lib/core/utils/event-utils.d.ts +0 -12
  1045. package/lib/core/utils/file-utils.d.ts +0 -29
  1046. package/lib/core/utils/number-utils.d.ts +0 -89
  1047. package/lib/core/utils/object-utils.d.ts +0 -31
  1048. package/lib/core/utils/string-utils.d.ts +0 -25
  1049. package/lib/core/validator/email.validator.d.ts +0 -2
  1050. package/lib/core/validator/equal.validator.d.ts +0 -2
  1051. package/lib/core/validator/max-string-length.validator.d.ts +0 -2
  1052. package/lib/core/validator/password.validator.d.ts +0 -3
  1053. package/lib/core/validator/precision-scale.validator.d.ts +0 -2
  1054. package/lib/core/validator/required.validator.d.ts +0 -2
  1055. package/lib/directives/clickoutside/click-outside-master.service.d.ts +0 -15
  1056. package/lib/directives/clickoutside/click-outside.directive.d.ts +0 -18
  1057. package/lib/directives/clickoutside/clickoutside.module.d.ts +0 -2
  1058. package/lib/directives/observe-visibility/observe-visibility.directive.d.ts +0 -14
  1059. package/lib/directives/observe-visibility/observe-visibility.module.d.ts +0 -2
  1060. package/lib/directives/overlay/overlay-parent.directive.d.ts +0 -6
  1061. package/lib/directives/overlay/overlay.directive.d.ts +0 -25
  1062. package/lib/directives/overlay/overlay.module.d.ts +0 -2
  1063. package/lib/directives/ripple/ripple-ref.d.ts +0 -21
  1064. package/lib/directives/ripple/ripple-renderer.d.ts +0 -56
  1065. package/lib/directives/ripple/ripple.directive.d.ts +0 -56
  1066. package/lib/directives/ripple/ripple.module.d.ts +0 -2
  1067. package/lib/directives/ripple/scroll-dispatcher.service.d.ts +0 -51
  1068. package/lib/directives/ripple/scrollable.directive.d.ts +0 -20
  1069. package/lib/directives/ripple/viewport-ruler.service.d.ts +0 -29
  1070. package/lib/directives/screen-configuration/screen-configuration.directive.d.ts +0 -32
  1071. package/lib/directives/screen-configuration/screen-configuration.module.d.ts +0 -2
  1072. package/lib/directives/stopclick/stop-click.directive.d.ts +0 -10
  1073. package/lib/directives/stopclick/stop-click.module.d.ts +0 -2
  1074. package/lib/directives/template-wrapper/template-wrapper.directive.d.ts +0 -13
  1075. package/lib/directives/template-wrapper/template-wrapper.module.d.ts +0 -2
  1076. package/lib/directives/tooltip/tooltip-directive.module.d.ts +0 -2
  1077. package/lib/directives/tooltip/tooltip.directive.d.ts +0 -20
  1078. package/lib/interfaces/dialog-response.interface.d.ts +0 -6
  1079. package/lib/interfaces/screen-config-adapter-component-interface-name.d.ts +0 -3
  1080. package/lib/interfaces/screen-config-adapter.component.interface.d.ts +0 -10
  1081. package/lib/model/enum/app-button-type.enum.d.ts +0 -9
  1082. package/lib/model/enum/app-popup-type.enum.d.ts +0 -6
  1083. package/lib/model/icon-list-item.d.ts +0 -6
  1084. package/lib/pipes/append.pipe.d.ts +0 -4
  1085. package/lib/pipes/append.pipe.module.d.ts +0 -2
  1086. package/lib/pipes/filter.pipe.d.ts +0 -4
  1087. package/lib/pipes/filter.pipe.module.d.ts +0 -2
  1088. package/lib/pipes/prepend.pipe.d.ts +0 -4
  1089. package/lib/pipes/prepend.pipe.module.d.ts +0 -2
  1090. package/lib/pipes/price-display-pipe.module.d.ts +0 -2
  1091. package/lib/pipes/price-display.pipe.d.ts +0 -4
  1092. package/lib/service/base-module-screen-config.service.d.ts +0 -47
  1093. package/lib/service/base-module.service.d.ts +0 -22
  1094. package/lib/service/color-sequence.service.d.ts +0 -7
  1095. package/lib/service/overlay.service.d.ts +0 -13
  1096. package/lib/translation/core-components-translation.module.d.ts +0 -4
  1097. package/lib/translation/core-components-translation.service.d.ts +0 -6
  1098. package/lib/translation/core-dictionary.service.d.ts +0 -12
  1099. package/lib/translation/core-localize.pipe.d.ts +0 -7
  1100. package/public-api.d.ts +0 -128
  1101. /package/{lib → projects/corecomponents/src/lib}/components/article-tile/article-tile.component.scss +0 -0
  1102. /package/{lib → projects/corecomponents/src/lib}/components/base/commit-buttons/style/_layout.scss +0 -0
  1103. /package/{lib → projects/corecomponents/src/lib}/components/base/commit-buttons/style/_material-definition.scss +0 -0
  1104. /package/{lib → projects/corecomponents/src/lib}/components/base/commit-buttons/style/_theme.scss +0 -0
  1105. /package/{lib → projects/corecomponents/src/lib}/components/base/commit-buttons/style/material.scss +0 -0
  1106. /package/{lib → projects/corecomponents/src/lib}/components/button/style/_co-ripple.scss +0 -0
  1107. /package/{lib → projects/corecomponents/src/lib}/components/button/style/_layout.scss +0 -0
  1108. /package/{lib → projects/corecomponents/src/lib}/components/button/style/_material-definition.scss +0 -0
  1109. /package/{lib → projects/corecomponents/src/lib}/components/button/style/_theme.scss +0 -0
  1110. /package/{lib → projects/corecomponents/src/lib}/components/button/style/material.scss +0 -0
  1111. /package/{lib → projects/corecomponents/src/lib}/components/calendar/style/_layout.scss +0 -0
  1112. /package/{lib → projects/corecomponents/src/lib}/components/calendar/style/_material-definition.scss +0 -0
  1113. /package/{lib → projects/corecomponents/src/lib}/components/calendar/style/_theme.scss +0 -0
  1114. /package/{lib → projects/corecomponents/src/lib}/components/calendar/style/material.scss +0 -0
  1115. /package/{lib → projects/corecomponents/src/lib}/components/card/style/_layout.scss +0 -0
  1116. /package/{lib → projects/corecomponents/src/lib}/components/card/style/_material-definition.scss +0 -0
  1117. /package/{lib → projects/corecomponents/src/lib}/components/card/style/_theme.scss +0 -0
  1118. /package/{lib → projects/corecomponents/src/lib}/components/card/style/material.scss +0 -0
  1119. /package/{lib → projects/corecomponents/src/lib}/components/carousel/style/_layout.scss +0 -0
  1120. /package/{lib → projects/corecomponents/src/lib}/components/carousel/style/_material-definition.scss +0 -0
  1121. /package/{lib → projects/corecomponents/src/lib}/components/carousel/style/_theme.scss +0 -0
  1122. /package/{lib → projects/corecomponents/src/lib}/components/carousel/style/material.scss +0 -0
  1123. /package/{lib → projects/corecomponents/src/lib}/components/carousel-3d/style/_layout.scss +0 -0
  1124. /package/{lib → projects/corecomponents/src/lib}/components/carousel-3d/style/_material-definition.scss +0 -0
  1125. /package/{lib → projects/corecomponents/src/lib}/components/carousel-3d/style/_theme.scss +0 -0
  1126. /package/{lib → projects/corecomponents/src/lib}/components/carousel-3d/style/material.scss +0 -0
  1127. /package/{lib → projects/corecomponents/src/lib}/components/checkmark-overlay/style/_layout.scss +0 -0
  1128. /package/{lib → projects/corecomponents/src/lib}/components/checkmark-overlay/style/_material-definition.scss +0 -0
  1129. /package/{lib → projects/corecomponents/src/lib}/components/checkmark-overlay/style/_theme.scss +0 -0
  1130. /package/{lib → projects/corecomponents/src/lib}/components/checkmark-overlay/style/material.scss +0 -0
  1131. /package/{lib → projects/corecomponents/src/lib}/components/co-dialog/style/_layout.scss +0 -0
  1132. /package/{lib → projects/corecomponents/src/lib}/components/co-dialog/style/_material-definition.scss +0 -0
  1133. /package/{lib → projects/corecomponents/src/lib}/components/co-dialog/style/_theme.scss +0 -0
  1134. /package/{lib → projects/corecomponents/src/lib}/components/co-dialog/style/material.scss +0 -0
  1135. /package/{lib → projects/corecomponents/src/lib}/components/co-dialog-wizard/style/_layout.scss +0 -0
  1136. /package/{lib → projects/corecomponents/src/lib}/components/co-dialog-wizard/style/_material-definition.scss +0 -0
  1137. /package/{lib → projects/corecomponents/src/lib}/components/co-dialog-wizard/style/_theme.scss +0 -0
  1138. /package/{lib → projects/corecomponents/src/lib}/components/co-dialog-wizard/style/material.scss +0 -0
  1139. /package/{lib → projects/corecomponents/src/lib}/components/collapsible/style/_layout.scss +0 -0
  1140. /package/{lib → projects/corecomponents/src/lib}/components/collapsible/style/_material-definition.scss +0 -0
  1141. /package/{lib → projects/corecomponents/src/lib}/components/collapsible/style/_theme.scss +0 -0
  1142. /package/{lib → projects/corecomponents/src/lib}/components/collapsible/style/material.scss +0 -0
  1143. /package/{lib → projects/corecomponents/src/lib}/components/color-picker/style/_layout.scss +0 -0
  1144. /package/{lib → projects/corecomponents/src/lib}/components/color-picker/style/_material-definition.scss +0 -0
  1145. /package/{lib → projects/corecomponents/src/lib}/components/color-picker/style/_theme.scss +0 -0
  1146. /package/{lib → projects/corecomponents/src/lib}/components/color-picker/style/material.scss +0 -0
  1147. /package/{lib → projects/corecomponents/src/lib}/components/core-dialog/confirmation-dialog/style/_layout.scss +0 -0
  1148. /package/{lib → projects/corecomponents/src/lib}/components/core-dialog/confirmation-dialog/style/_material-definition.scss +0 -0
  1149. /package/{lib → projects/corecomponents/src/lib}/components/core-dialog/confirmation-dialog/style/_theme.scss +0 -0
  1150. /package/{lib → projects/corecomponents/src/lib}/components/core-dialog/confirmation-dialog/style/material.scss +0 -0
  1151. /package/{lib → projects/corecomponents/src/lib}/components/core-dialog/style/_layout.scss +0 -0
  1152. /package/{lib → projects/corecomponents/src/lib}/components/core-dialog/style/_material-definition.scss +0 -0
  1153. /package/{lib → projects/corecomponents/src/lib}/components/core-dialog/style/_theme.scss +0 -0
  1154. /package/{lib → projects/corecomponents/src/lib}/components/core-dialog/style/material.scss +0 -0
  1155. /package/{lib → projects/corecomponents/src/lib}/components/double-calendar/style/_layout.scss +0 -0
  1156. /package/{lib → projects/corecomponents/src/lib}/components/double-calendar/style/_material-definition.scss +0 -0
  1157. /package/{lib → projects/corecomponents/src/lib}/components/double-calendar/style/_theme.scss +0 -0
  1158. /package/{lib → projects/corecomponents/src/lib}/components/double-calendar/style/material.scss +0 -0
  1159. /package/{lib → projects/corecomponents/src/lib}/components/filter-item/style/_layout.scss +0 -0
  1160. /package/{lib → projects/corecomponents/src/lib}/components/filter-item/style/_material-definition.scss +0 -0
  1161. /package/{lib → projects/corecomponents/src/lib}/components/filter-item/style/_theme.scss +0 -0
  1162. /package/{lib → projects/corecomponents/src/lib}/components/filter-item/style/material.scss +0 -0
  1163. /package/{lib → projects/corecomponents/src/lib}/components/grid-toolbar/style/_layout.scss +0 -0
  1164. /package/{lib → projects/corecomponents/src/lib}/components/grid-toolbar/style/_material-definition.scss +0 -0
  1165. /package/{lib → projects/corecomponents/src/lib}/components/grid-toolbar/style/_theme.scss +0 -0
  1166. /package/{lib → projects/corecomponents/src/lib}/components/grid-toolbar/style/material.scss +0 -0
  1167. /package/{lib → projects/corecomponents/src/lib}/components/grid-toolbar-button/style/_layout.scss +0 -0
  1168. /package/{lib → projects/corecomponents/src/lib}/components/grid-toolbar-button/style/_material-definition.scss +0 -0
  1169. /package/{lib → projects/corecomponents/src/lib}/components/grid-toolbar-button/style/_theme.scss +0 -0
  1170. /package/{lib → projects/corecomponents/src/lib}/components/grid-toolbar-button/style/material.scss +0 -0
  1171. /package/{lib → projects/corecomponents/src/lib}/components/icon/style/_layout.scss +0 -0
  1172. /package/{lib → projects/corecomponents/src/lib}/components/icon/style/_material-definition.scss +0 -0
  1173. /package/{lib → projects/corecomponents/src/lib}/components/icon/style/_theme.scss +0 -0
  1174. /package/{lib → projects/corecomponents/src/lib}/components/icon/style/material.scss +0 -0
  1175. /package/{lib → projects/corecomponents/src/lib}/components/icon-collapse-handle/style/_layout.scss +0 -0
  1176. /package/{lib → projects/corecomponents/src/lib}/components/icon-collapse-handle/style/_material-definition.scss +0 -0
  1177. /package/{lib → projects/corecomponents/src/lib}/components/icon-collapse-handle/style/_theme.scss +0 -0
  1178. /package/{lib → projects/corecomponents/src/lib}/components/icon-collapse-handle/style/material.scss +0 -0
  1179. /package/{lib → projects/corecomponents/src/lib}/components/image/style/_layout.scss +0 -0
  1180. /package/{lib → projects/corecomponents/src/lib}/components/image/style/_material-definition.scss +0 -0
  1181. /package/{lib → projects/corecomponents/src/lib}/components/image/style/_theme.scss +0 -0
  1182. /package/{lib → projects/corecomponents/src/lib}/components/image/style/material.scss +0 -0
  1183. /package/{lib → projects/corecomponents/src/lib}/components/input-checkbox/style/_layout.scss +0 -0
  1184. /package/{lib → projects/corecomponents/src/lib}/components/input-checkbox/style/_material-definition.scss +0 -0
  1185. /package/{lib → projects/corecomponents/src/lib}/components/input-checkbox/style/_theme.scss +0 -0
  1186. /package/{lib → projects/corecomponents/src/lib}/components/input-checkbox/style/material.scss +0 -0
  1187. /package/{lib → projects/corecomponents/src/lib}/components/input-date-picker/style/_layout.scss +0 -0
  1188. /package/{lib → projects/corecomponents/src/lib}/components/input-date-picker/style/_material-definition.scss +0 -0
  1189. /package/{lib → projects/corecomponents/src/lib}/components/input-date-picker/style/_theme.scss +0 -0
  1190. /package/{lib → projects/corecomponents/src/lib}/components/input-date-picker/style/material.scss +0 -0
  1191. /package/{lib → projects/corecomponents/src/lib}/components/input-date-range-picker/style/_layout.scss +0 -0
  1192. /package/{lib → projects/corecomponents/src/lib}/components/input-date-range-picker/style/_material-definition.scss +0 -0
  1193. /package/{lib → projects/corecomponents/src/lib}/components/input-date-range-picker/style/_theme.scss +0 -0
  1194. /package/{lib → projects/corecomponents/src/lib}/components/input-date-range-picker/style/material.scss +0 -0
  1195. /package/{lib → projects/corecomponents/src/lib}/components/input-number-picker/style/_layout.scss +0 -0
  1196. /package/{lib → projects/corecomponents/src/lib}/components/input-number-picker/style/_material-definition.scss +0 -0
  1197. /package/{lib → projects/corecomponents/src/lib}/components/input-number-picker/style/_theme.scss +0 -0
  1198. /package/{lib → projects/corecomponents/src/lib}/components/input-number-picker/style/material.scss +0 -0
  1199. /package/{lib → projects/corecomponents/src/lib}/components/input-radio-button/style/_layout.scss +0 -0
  1200. /package/{lib → projects/corecomponents/src/lib}/components/input-radio-button/style/_material-definition.scss +0 -0
  1201. /package/{lib → projects/corecomponents/src/lib}/components/input-radio-button/style/_theme.scss +0 -0
  1202. /package/{lib → projects/corecomponents/src/lib}/components/input-radio-button/style/material.scss +0 -0
  1203. /package/{lib → projects/corecomponents/src/lib}/components/input-scanner/style/_layout.scss +0 -0
  1204. /package/{lib → projects/corecomponents/src/lib}/components/input-scanner/style/_material-definition.scss +0 -0
  1205. /package/{lib → projects/corecomponents/src/lib}/components/input-scanner/style/_theme.scss +0 -0
  1206. /package/{lib → projects/corecomponents/src/lib}/components/input-scanner/style/material.scss +0 -0
  1207. /package/{lib → projects/corecomponents/src/lib}/components/input-search/style/_layout.scss +0 -0
  1208. /package/{lib → projects/corecomponents/src/lib}/components/input-search/style/_material-definition.scss +0 -0
  1209. /package/{lib → projects/corecomponents/src/lib}/components/input-search/style/_theme.scss +0 -0
  1210. /package/{lib → projects/corecomponents/src/lib}/components/input-search/style/material.scss +0 -0
  1211. /package/{lib → projects/corecomponents/src/lib}/components/input-text/style/_layout.scss +0 -0
  1212. /package/{lib → projects/corecomponents/src/lib}/components/input-text/style/_material-definition.scss +0 -0
  1213. /package/{lib → projects/corecomponents/src/lib}/components/input-text/style/_theme.scss +0 -0
  1214. /package/{lib → projects/corecomponents/src/lib}/components/input-text/style/material.scss +0 -0
  1215. /package/{lib → projects/corecomponents/src/lib}/components/input-textarea/style/_layout.scss +0 -0
  1216. /package/{lib → projects/corecomponents/src/lib}/components/input-textarea/style/_material-definition.scss +0 -0
  1217. /package/{lib → projects/corecomponents/src/lib}/components/input-textarea/style/_theme.scss +0 -0
  1218. /package/{lib → projects/corecomponents/src/lib}/components/input-textarea/style/material.scss +0 -0
  1219. /package/{lib → projects/corecomponents/src/lib}/components/level-indicator/style/_layout.scss +0 -0
  1220. /package/{lib → projects/corecomponents/src/lib}/components/level-indicator/style/_material-definition.scss +0 -0
  1221. /package/{lib → projects/corecomponents/src/lib}/components/level-indicator/style/_theme.scss +0 -0
  1222. /package/{lib → projects/corecomponents/src/lib}/components/level-indicator/style/material.scss +0 -0
  1223. /package/{lib → projects/corecomponents/src/lib}/components/list-of-icons/style/_layout.scss +0 -0
  1224. /package/{lib → projects/corecomponents/src/lib}/components/list-of-icons/style/_material-definition.scss +0 -0
  1225. /package/{lib → projects/corecomponents/src/lib}/components/list-of-icons/style/_theme.scss +0 -0
  1226. /package/{lib → projects/corecomponents/src/lib}/components/list-of-icons/style/material.scss +0 -0
  1227. /package/{lib → projects/corecomponents/src/lib}/components/list-of-values/style/_layout.scss +0 -0
  1228. /package/{lib → projects/corecomponents/src/lib}/components/list-of-values/style/_material-definition.scss +0 -0
  1229. /package/{lib → projects/corecomponents/src/lib}/components/list-of-values/style/_theme.scss +0 -0
  1230. /package/{lib → projects/corecomponents/src/lib}/components/list-of-values/style/material.scss +0 -0
  1231. /package/{lib → projects/corecomponents/src/lib}/components/loader/style/_layout.scss +0 -0
  1232. /package/{lib → projects/corecomponents/src/lib}/components/loader/style/_material-definition.scss +0 -0
  1233. /package/{lib → projects/corecomponents/src/lib}/components/loader/style/_theme.scss +0 -0
  1234. /package/{lib → projects/corecomponents/src/lib}/components/loader/style/material.scss +0 -0
  1235. /package/{lib → projects/corecomponents/src/lib}/components/pagination/style/_layout.scss +0 -0
  1236. /package/{lib → projects/corecomponents/src/lib}/components/pagination/style/_material-definition.scss +0 -0
  1237. /package/{lib → projects/corecomponents/src/lib}/components/pagination/style/_theme.scss +0 -0
  1238. /package/{lib → projects/corecomponents/src/lib}/components/pagination/style/material.scss +0 -0
  1239. /package/{lib → projects/corecomponents/src/lib}/components/pagination-bar/style/_layout.scss +0 -0
  1240. /package/{lib → projects/corecomponents/src/lib}/components/pagination-bar/style/_material-definition.scss +0 -0
  1241. /package/{lib → projects/corecomponents/src/lib}/components/pagination-bar/style/_theme.scss +0 -0
  1242. /package/{lib → projects/corecomponents/src/lib}/components/pagination-bar/style/material.scss +0 -0
  1243. /package/{lib → projects/corecomponents/src/lib}/components/popup/popup-buttons.component.scss +0 -0
  1244. /package/{lib → projects/corecomponents/src/lib}/components/popup/popup-window-shell.component.scss +0 -0
  1245. /package/{lib → projects/corecomponents/src/lib}/components/responsive-text/style/_layout.scss +0 -0
  1246. /package/{lib → projects/corecomponents/src/lib}/components/responsive-text/style/_material-definition.scss +0 -0
  1247. /package/{lib → projects/corecomponents/src/lib}/components/responsive-text/style/_theme.scss +0 -0
  1248. /package/{lib → projects/corecomponents/src/lib}/components/responsive-text/style/material.scss +0 -0
  1249. /package/{lib → projects/corecomponents/src/lib}/components/simple-grid/style/_layout.scss +0 -0
  1250. /package/{lib → projects/corecomponents/src/lib}/components/simple-grid/style/_material-definition.scss +0 -0
  1251. /package/{lib → projects/corecomponents/src/lib}/components/simple-grid/style/_theme.scss +0 -0
  1252. /package/{lib → projects/corecomponents/src/lib}/components/simple-grid/style/material.scss +0 -0
  1253. /package/{lib → projects/corecomponents/src/lib}/components/tile/style/_layout.scss +0 -0
  1254. /package/{lib → projects/corecomponents/src/lib}/components/tile/style/_material-definition.scss +0 -0
  1255. /package/{lib → projects/corecomponents/src/lib}/components/tile/style/_theme.scss +0 -0
  1256. /package/{lib → projects/corecomponents/src/lib}/components/tile/style/material.scss +0 -0
  1257. /package/{lib → projects/corecomponents/src/lib}/components/tile-select/style/_layout.scss +0 -0
  1258. /package/{lib → projects/corecomponents/src/lib}/components/tile-select/style/_material-definition.scss +0 -0
  1259. /package/{lib → projects/corecomponents/src/lib}/components/tile-select/style/_theme.scss +0 -0
  1260. /package/{lib → projects/corecomponents/src/lib}/components/tile-select/style/material.scss +0 -0
  1261. /package/{lib → projects/corecomponents/src/lib}/components/tooltip/style/_layout.scss +0 -0
  1262. /package/{lib → projects/corecomponents/src/lib}/components/tooltip/style/_material-definition.scss +0 -0
  1263. /package/{lib → projects/corecomponents/src/lib}/components/tooltip/style/_theme.scss +0 -0
  1264. /package/{lib → projects/corecomponents/src/lib}/components/tooltip/style/material.scss +0 -0
  1265. /package/{lib → projects/corecomponents/src/lib}/components/validation-error/style/_layout.scss +0 -0
  1266. /package/{lib → projects/corecomponents/src/lib}/components/validation-error/style/_material-definition.scss +0 -0
  1267. /package/{lib → projects/corecomponents/src/lib}/components/validation-error/style/_theme.scss +0 -0
  1268. /package/{lib → projects/corecomponents/src/lib}/components/validation-error/style/material.scss +0 -0
  1269. /package/{lib → projects/corecomponents/src/lib}/components/view-mode-buttons/style/_layout.scss +0 -0
  1270. /package/{lib → projects/corecomponents/src/lib}/components/view-mode-buttons/style/_material-definition.scss +0 -0
  1271. /package/{lib → projects/corecomponents/src/lib}/components/view-mode-buttons/style/_theme.scss +0 -0
  1272. /package/{lib → projects/corecomponents/src/lib}/components/view-mode-buttons/style/material.scss +0 -0
  1273. /package/{lib/interfaces/scanner-input.interface.d.ts → projects/corecomponents/src/lib/interfaces/scanner-input.interface.ts} +0 -0
  1274. /package/{lib → projects/corecomponents/src/lib}/modules/pagination/style/_layout.scss +0 -0
  1275. /package/{lib → projects/corecomponents/src/lib}/modules/pagination/style/_material-definition.scss +0 -0
  1276. /package/{lib → projects/corecomponents/src/lib}/modules/pagination/style/_theme.scss +0 -0
  1277. /package/{lib → projects/corecomponents/src/lib}/modules/pagination/style/material.scss +0 -0
  1278. /package/{lib → projects/corecomponents/src/lib}/style/_input.mixins.scss +0 -0
  1279. /package/{lib → projects/corecomponents/src/lib}/style/_mixin.scss +0 -0
  1280. /package/{lib → projects/corecomponents/src/lib}/style/_variables.scss +0 -0
  1281. /package/{lib → projects/corecomponents/src/lib}/style/corecomponents-globals.scss +0 -0
  1282. /package/{lib → projects/corecomponents/src/lib}/style/material2/_core.scss +0 -0
  1283. /package/{lib → projects/corecomponents/src/lib}/style/material2/_material2-scss-barrel.scss +0 -0
  1284. /package/{lib → projects/corecomponents/src/lib}/style/material2/ripple/_co-ripple.scss +0 -0
  1285. /package/{lib → projects/corecomponents/src/lib}/style/material2/style/_elevation.scss +0 -0
  1286. /package/{lib → projects/corecomponents/src/lib}/style/material2/style/_list-common.scss +0 -0
  1287. /package/{lib → projects/corecomponents/src/lib}/style/material2/style/_variables.scss +0 -0
  1288. /package/{lib → projects/corecomponents/src/lib}/style/material2/theming/_palette.scss +0 -0
  1289. /package/{lib → projects/corecomponents/src/lib}/style/material2/theming/_theming.scss +0 -0
  1290. /package/{lib → projects/corecomponents/src/lib}/style/material2/typography/_typography.scss +0 -0
@@ -0,0 +1,121 @@
1
+ import {SearchProperty} from "../interface/search-property";
2
+ import {SearchPropertyState} from "../enum/search-property-state";
3
+ import {isNill} from "../function/is-nill.function";
4
+ import {StringUtils} from "./string-utils";
5
+ import {ValueComparisonType} from "../enum/value-comparison-type";
6
+ import {SearchDataType} from "../enum/search-data-type";
7
+
8
+ // utils around SearchProperty's and collections
9
+ export class SearchUtils {
10
+
11
+ public static GetSearchFilteredCollection<T>(collection: T[], searchProperties: SearchProperty[]): T[] {
12
+ if (!collection) {
13
+ return [];
14
+ } else if (!searchProperties || searchProperties.length === 0) {
15
+ return collection;
16
+ }
17
+
18
+ let filteredCollection: T[] = [];
19
+ for (let iColl: number = 0, lenCollection: number = collection.length; iColl < lenCollection; iColl++) {
20
+ let item: T = collection[iColl];
21
+ for (let iFilters: number = 0, lenFilters: number = searchProperties.length; iFilters < lenFilters; iFilters++) {
22
+ let searchProp: SearchProperty = searchProperties[iFilters];
23
+ if (SearchUtils._checkItemSearchPropPass(item, searchProp)) {
24
+ filteredCollection.push(item);
25
+ break;
26
+ }
27
+ }
28
+ }
29
+ return filteredCollection;
30
+ }
31
+
32
+ public static GetNotInactiveSearchProps(searchProps: SearchProperty[]): SearchProperty[] {
33
+ if (!searchProps) {
34
+ return [];
35
+ }
36
+ return searchProps.filter((item: SearchProperty) => {
37
+ return item && (item.state === SearchPropertyState.Active || item.state === SearchPropertyState.LockedActive);
38
+ });
39
+ }
40
+
41
+ // returns [], not undefiend
42
+ public static GetActiveSearchProps(searchProps: SearchProperty[]): SearchProperty[] {
43
+ if (!searchProps) {
44
+ return [];
45
+ }
46
+ return searchProps.filter((item: SearchProperty) => {
47
+ return item && (item.state === SearchPropertyState.Active);
48
+ });
49
+ }
50
+
51
+ public static GetInactiveSearchProps(searchProps: SearchProperty[]): SearchProperty[] {
52
+ if (!searchProps) {
53
+ return [];
54
+ }
55
+ return searchProps.filter((item: SearchProperty) => {
56
+ return item && item.state === SearchPropertyState.Inactive || isNill(item.state); // state can be number 0
57
+ });
58
+ }
59
+
60
+ public static ToString(searchProperties: SearchProperty[], enabledPropsOnly: boolean = true): string {
61
+ let text: string = "";
62
+ if (searchProperties) {
63
+ for (let i: number = 0, len: number = searchProperties.length; i < len; i++) {
64
+ let prop: SearchProperty = searchProperties[i];
65
+ if (enabledPropsOnly && (prop.state === undefined || prop.state === SearchPropertyState.Inactive)) {
66
+ continue;
67
+ }
68
+ text += StringUtils.Format("{0} {1}, ", [prop.property, prop.values]);
69
+ }
70
+ text = StringUtils.RemoveLastChars(text, 2);
71
+ }
72
+ return text;
73
+ }
74
+
75
+ private static _checkItemSearchPropPass(item: any, searchProp: SearchProperty): boolean {
76
+ if (!item || !searchProp) {
77
+ return false;
78
+ }
79
+ if (!searchProp.values || searchProp.values.length === 0) {
80
+ return true;
81
+ }
82
+
83
+ let itemPropVal: any = item[searchProp.property];
84
+ // default to Equal if there is no comparisonType
85
+ if (searchProp.comparisonType === ValueComparisonType.Equal || !searchProp.comparisonType) {
86
+ return SearchUtils._checkEqualPass(itemPropVal, searchProp.values, searchProp.dataType);
87
+ } else if (searchProp.comparisonType === ValueComparisonType.NotEqual) {
88
+ return SearchUtils._checkNotEqualPass(itemPropVal, searchProp.values, searchProp.dataType);
89
+ }
90
+
91
+ return true; // let unimplemented filter types pass for now
92
+ }
93
+
94
+ // valueToCheck must be equal to at least one checkValue
95
+ private static _checkEqualPass(valueToCheck: any, checkValues: any[], dataType: SearchDataType = SearchDataType.String): boolean {
96
+ if (dataType === SearchDataType.String) {
97
+ valueToCheck = StringUtils.AsLowerCaseIfString(valueToCheck);
98
+ }
99
+
100
+ for (let i: number = 0, len: number = checkValues.length; i < len; i++) {
101
+ let checkVal: any = checkValues[i];
102
+ switch (dataType) {
103
+ case SearchDataType.String:
104
+ default:
105
+ checkVal = StringUtils.AsLowerCaseIfString(checkVal);
106
+ if (valueToCheck) {
107
+ if (valueToCheck.toString().indexOf(checkVal) > -1) {
108
+ return true;
109
+ }
110
+ }
111
+ break;
112
+ }
113
+ }
114
+ return false;
115
+ }
116
+
117
+ // valueToCheck must be inequal to all checkValues
118
+ private static _checkNotEqualPass(valueToCheck: any, checkValues: any[], dataType: SearchDataType = SearchDataType.String): boolean {
119
+ return !SearchUtils._checkEqualPass(valueToCheck, checkValues, dataType);
120
+ }
121
+ }
@@ -0,0 +1,108 @@
1
+ import {SortProperty} from "../interface/sort-property";
2
+ import {SortDirection} from "../enum/sort-direction";
3
+ import {StringUtils} from "./string-utils";
4
+ import {NumberUtils} from "./number-utils";
5
+ import {SortDataType} from "../enum/sort-data-type";
6
+
7
+ export class SortUtils {
8
+ // Sorts given (in-out manipulated) array using the given sort properties, in order.
9
+ public static SortObjectArray<T>(array: T[], sortProperties: SortProperty[]): void {
10
+ if (!array || !sortProperties) {
11
+ return;
12
+ }
13
+
14
+ let tempArr: T[] = array.map((data: T, index: number) => {
15
+ let values: any = {};
16
+ sortProperties.forEach((sorter: SortProperty) => {
17
+ values[sorter.property] = SortUtils._getSortValueAndSetEvalType(data[sorter.property], sorter);
18
+ sorter.switcher = SortUtils._switcherFromSortDirection(sorter.direction);
19
+ });
20
+ return {index: index, values: values};
21
+ }).sort((a: { index: number, values: any[] }, b: { index: number, values: any[] }) => {
22
+ let sort: number = 0;
23
+ for (let sortProperty of sortProperties) {
24
+ if (sortProperty.evalType === Number) {
25
+ sort = SortUtils._compareNumberValue(
26
+ a.values[sortProperty.property],
27
+ b.values[sortProperty.property],
28
+ sortProperty.switcher
29
+ );
30
+ } else {
31
+ sort = SortUtils._compareValue(
32
+ a.values[sortProperty.property],
33
+ b.values[sortProperty.property],
34
+ sortProperty.switcher
35
+ );
36
+ }
37
+ if (sort !== 0) {
38
+ break;
39
+ }
40
+ }
41
+ return sort;
42
+ }).map(sorter => array[sorter.index]);
43
+
44
+ array.length = 0;
45
+
46
+ tempArr.forEach(item => array.push(item));
47
+ }
48
+
49
+ public static SortArray<T>(array: any[], direction: SortDirection = SortDirection.Ascending, evalType: any = String): void {
50
+ let switcher: number = SortUtils._switcherFromSortDirection(direction);
51
+ if (evalType === Number) {
52
+ array.sort((a, b) => {
53
+ return SortUtils._compareNumberValue(a, b, switcher)
54
+ });
55
+ } else {
56
+ array.sort((a, b) => {
57
+ return SortUtils._compareValue(a, b, switcher)
58
+ });
59
+ }
60
+ }
61
+
62
+ public static ToString(sortProperties: SortProperty[], activeOnly: boolean = true): string {
63
+ let str: string = "";
64
+ if (sortProperties) {
65
+ for (let i: number = 0, len: number = sortProperties.length; i < len; i++) {
66
+ let prop: SortProperty = sortProperties[i];
67
+ if (activeOnly && prop.active === false) {
68
+ continue;
69
+ }
70
+ str += prop.property + ": " + prop.direction + ", "
71
+ }
72
+ str = str.substring(0, str.length - 2);
73
+ }
74
+ return str;
75
+ }
76
+
77
+ private static _getSortValueAndSetEvalType(value: any, sorter: SortProperty): number | string {
78
+ switch (sorter.type) {
79
+ case SortDataType.Number:
80
+ case SortDataType.Boolean:
81
+ value = NumberUtils.ParseNumberOrDefault(value, 0);
82
+ sorter.evalType = Number;
83
+ break;
84
+ case SortDataType.Date :
85
+ value = value instanceof Date ? value.getTime() : 0;
86
+ sorter.evalType = Number;
87
+ break;
88
+ case SortDataType.String:
89
+ default:
90
+ value = StringUtils.ParseString(value, '').toLocaleLowerCase();
91
+ sorter.evalType = String;
92
+ break;
93
+ }
94
+ return value;
95
+ }
96
+
97
+ private static _compareValue(a: any, b: any, switcher: number = 1): number {
98
+ return (a > b ? 1 : (a < b ? -1 : 0)) * switcher;
99
+ }
100
+
101
+ private static _compareNumberValue(a: any, b: any, switcher: number = 1): number {
102
+ return (a - b) * switcher;
103
+ }
104
+
105
+ private static _switcherFromSortDirection(direction: SortDirection = SortDirection.Ascending): number {
106
+ return direction === SortDirection.Ascending ? 1 : -1;
107
+ }
108
+ }
@@ -0,0 +1,100 @@
1
+ import {notNill} from "../function/not-nill.function";
2
+ import { ArrayUtils } from './array-utils';
3
+
4
+ // @dynamic
5
+ export class StringUtils {
6
+ // Returns the given argument as a string. Returns given defaultValue if conversion of argument to string was impossible.
7
+ public static ParseString(arg: any, defaultValue: string = ''): string {
8
+ if (!StringUtils.IsString(arg)) {
9
+ if (arg && typeof arg.toString === 'function') {
10
+ arg = arg.toString();
11
+ } else {
12
+ arg = defaultValue;
13
+ }
14
+ }
15
+ return arg;
16
+ }
17
+
18
+ public static AsLowerCaseIfString(str: any): any {
19
+ if (StringUtils.IsString(str)) {
20
+ return str.toLowerCase();
21
+ } else {
22
+ return str;
23
+ }
24
+ }
25
+
26
+ /**
27
+ * Example usage:
28
+ * str = 'File is to large to upload. Maximum file size is {0} Mb'
29
+ * format = [FileUtils.MaxUploadSizeInMb]
30
+ * output = File is to large to upload. Maximum file size is 3 Mb
31
+ *
32
+ * str = '{0} is way better than {1}'
33
+ * format = ['Angular2','Angular1']
34
+ * output = Angular2 is way better than Angular1
35
+ *
36
+ * @param str The string that contains {0} and {1} etc, for replacement by given format data
37
+ * @param format The format replacement data
38
+ */
39
+ public static Format(str: string, format: any[]): string {
40
+ let args: any = Array.prototype.slice.call(format);
41
+ return str.replace(/{(\d+)}/g, function (match: any, number: any): string {
42
+ return typeof args[number] !== 'undefined' ? (args[number] !== null ? args[number] : "") : "";
43
+ });
44
+ }
45
+
46
+ public static IsString(str: any): boolean {
47
+ return typeof str === 'string';
48
+ }
49
+
50
+ // Returns whether given str is a string and has a length > 0.
51
+ public static IsStringWithLength(str: any): boolean {
52
+ return notNill(str) && StringUtils.IsString(str) && str.length > 0;
53
+ }
54
+
55
+ // Returns a new string string with N amount of characters removed from the end of it.
56
+ public static RemoveLastChars(str: string, amount: number): string {
57
+ if (str) {
58
+ return str.slice(0, -1 * amount);
59
+ } else {
60
+ return str;
61
+ }
62
+ }
63
+
64
+ public static StringToStringArray(str: string): string[] {
65
+ if (!str) {
66
+ return [];
67
+ }
68
+
69
+ const strArray: string[] = str.split(" ");
70
+ ArrayUtils.RemoveElementsByFilter(strArray, (txt: string) => {
71
+ return !txt || txt === "";
72
+ });
73
+ return strArray;
74
+ }
75
+
76
+ public static CloneStringArray(strArray: string[]): string[] {
77
+ const clone: string[] = [];
78
+ if (strArray) {
79
+ for (let i: number = 0, len: number = strArray.length; i < len; i++) {
80
+ clone.push(strArray[i]);
81
+ }
82
+ }
83
+ return clone;
84
+ }
85
+
86
+ public static ToStringOrDefault(arg: any, defaultReturnVal: string = ""): string {
87
+ if (notNill(arg) && arg.toString) {
88
+ return arg.toString();
89
+ } else {
90
+ return defaultReturnVal;
91
+ }
92
+ }
93
+
94
+ public static CreateGuid(): string {
95
+ return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, (c: string) => {
96
+ const r: number = Math.random() * 16 | 0;
97
+ return (c === 'x' ? r : (r & 0x3 | 0x8)).toString(16);
98
+ });
99
+ }
100
+ }
@@ -0,0 +1,10 @@
1
+ import {AbstractControl, ValidationErrors} from '@angular/forms';
2
+
3
+ export function emailValidator(control: AbstractControl): ValidationErrors | null {
4
+
5
+ const emailRegex: any = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
6
+ const isValid: boolean = !!emailRegex.test(control.value);
7
+
8
+ return isValid ? null : {'email': 'MESSAGE_EMAIL_NOT_CORRECT'};
9
+
10
+ }
@@ -0,0 +1,14 @@
1
+ import {FormControl, ValidationErrors, ValidatorFn} from "@angular/forms";
2
+
3
+ export function equalValidator(valueGetterFn: () => any): ValidatorFn {
4
+ return function (control: FormControl): ValidationErrors | null {
5
+ let isValid: boolean = true;
6
+
7
+ if (valueGetterFn) {
8
+ const mustBeEqualTo: any = valueGetterFn.call(this);
9
+ isValid = control.value === mustBeEqualTo;
10
+ }
11
+
12
+ return isValid ? null : {"equality": "MESSAGE_FIELD_WRONG_VALUE"};
13
+ };
14
+ }
@@ -0,0 +1,11 @@
1
+ import { FormControl, ValidationErrors, ValidatorFn } from '@angular/forms';
2
+
3
+ export function maxStringLengthValidator(length: number): ValidatorFn {
4
+ return function (control: FormControl): ValidationErrors | null {
5
+ let isValid: boolean = true;
6
+ if (control.value && typeof control.value === 'string') {
7
+ isValid = control.value.length <= length;
8
+ }
9
+ return isValid ? null : {"max-length": {message: "MESSAGE_FIELD_TOO_LONG", placeholder: "" + length}};
10
+ };
11
+ }
@@ -0,0 +1,35 @@
1
+ import {FormControl, ValidationErrors, ValidatorFn} from "@angular/forms";
2
+ import {StringUtils} from '../utils/string-utils';
3
+
4
+ export function passwordValidator(userNameGetterFn: () => string): ValidatorFn {
5
+ return function (control: FormControl): ValidationErrors | null {
6
+ if (control && control.value) {
7
+ const username: string = userNameGetterFn.call(this);
8
+ const errorString: string = getValidatePasswordErrorString(StringUtils.ToStringOrDefault(control.value), username);
9
+ if (errorString) {
10
+ return {"password": errorString};
11
+ }
12
+ }
13
+ };
14
+ }
15
+
16
+ // @returns undefined if valid, or an error string if there's an error
17
+ export function getValidatePasswordErrorString(password: string, username: string): string {
18
+ const minimumPasswordLength: number = 10;
19
+ const lengthOk: boolean = password && minimumPasswordLength <= password.length;
20
+ if (!lengthOk) {
21
+ return "PASSWORD_MUST_BE_10_CHARACTERS";
22
+ }
23
+
24
+ const atLeastOneNumber: boolean = RegExp(".*[0-9].*").test(password);
25
+ const atLeastOneLetter: boolean = RegExp(".*[a-zA-Z].*").test(password);
26
+ const atLeastOneSpecial: boolean = RegExp(".*[!@#$%&*()'+,\\-./:;<=>?\\[\\]^_`{|}\\\\].*").test(password);
27
+ if (!atLeastOneNumber || !atLeastOneLetter || !atLeastOneSpecial) {
28
+ return "PASSWORD_MUST_CONTAIN_LETTER_NUMBER_SPECIAL";
29
+ }
30
+
31
+ const hasUsernameInPassword: boolean = username && RegExp(".*" + username.trim() + ".*", "i").test(password);
32
+ if (hasUsernameInPassword) {
33
+ return "PASSWORD_CONTAINS_USERNAME";
34
+ }
35
+ }
@@ -0,0 +1,14 @@
1
+ import { FormControl, ValidationErrors, ValidatorFn } from '@angular/forms';
2
+ import { NumberUtils } from '../utils/number-utils';
3
+
4
+ export function precisionScaleValidator(precision: number, scale: number): ValidatorFn {
5
+ return function (control: FormControl): ValidationErrors | null {
6
+ let isValid: boolean = true;
7
+
8
+ if (control) {
9
+ isValid = NumberUtils.CheckPrecisionAndScale(control.value, precision, scale).isOk;
10
+ }
11
+
12
+ return isValid ? null : {'precision-scale': "MESSAGE_FIELD_PRECISION_OVERRIDDEN||" + precision};
13
+ };
14
+ }
@@ -0,0 +1,9 @@
1
+ import { AbstractControl, ValidationErrors } from '@angular/forms';
2
+
3
+ export function requiredValidator(control: AbstractControl): ValidationErrors | null {
4
+
5
+ const isValid: boolean = !(control.value === null || control.value === undefined || control.value === "");
6
+
7
+ return isValid ? null : {'required': 'MESSAGE_FIELD_REQUIRED'};
8
+
9
+ }
@@ -0,0 +1,158 @@
1
+ import {
2
+ AfterViewInit,
3
+ Directive,
4
+ ElementRef,
5
+ HostBinding,
6
+ Input,
7
+ NgZone,
8
+ OnChanges,
9
+ OnDestroy,
10
+ OnInit
11
+ } from '@angular/core';
12
+ import {InputBoolean} from "../../core/decorator/input-boolean.decorator";
13
+ import {EventUtils} from "../../core/utils/event-utils";
14
+ import {ElementPosition} from "../../core/model/element-position";
15
+ import {BrowserUtils} from "../../core/utils/browser-utils";
16
+
17
+ @Directive({
18
+ selector: '[alignWith]'
19
+ })
20
+ export class AlignWithDirective implements OnInit, AfterViewInit, OnChanges, OnDestroy {
21
+ // a native OR custom element
22
+ @Input()
23
+ public set alignWith(alignWith: any | ElementRef) {
24
+ if (alignWith) {
25
+ // enables simple #templateVars passing to [alignWith] for native elements like <div>; Angular passes these as HTMLElement's
26
+ if (alignWith instanceof HTMLElement) {
27
+ this._hostNativeEl = alignWith;
28
+ } else {
29
+ this._hostNativeEl = alignWith.nativeElement;
30
+ }
31
+ }
32
+ }
33
+
34
+ @Input() @InputBoolean()
35
+ public enableAlign: boolean;
36
+
37
+ @Input() @InputBoolean()
38
+ public keepInView: boolean = true;
39
+
40
+ @Input() @InputBoolean()
41
+ public keepInViewHorizontal: boolean = true;
42
+
43
+ @Input() @InputBoolean()
44
+ public keepInViewVertical: boolean = true;
45
+
46
+ @Input() @InputBoolean()
47
+ public alignRight: boolean;
48
+
49
+ @Input() @InputBoolean()
50
+ public noWidthAlign: boolean;
51
+
52
+ @Input()
53
+ public alignTopOffsetPx: number = 0;
54
+
55
+ @Input()
56
+ public alignLeftOffsetPx: number = 0;
57
+
58
+ @Input()
59
+ public viewElement: ElementRef;
60
+
61
+ @HostBinding('style.position')
62
+ public fixed: string = 'fixed';
63
+
64
+ @HostBinding('style.left.px')
65
+ public left: number;
66
+
67
+ @HostBinding('style.top.px')
68
+ public top: number;
69
+
70
+ @HostBinding('style.width.px')
71
+ public width: number;
72
+
73
+ private _hostNativeEl: any;
74
+
75
+ private get _shouldDoAlign(): boolean {
76
+ return this._hostNativeEl && this.enableAlign;
77
+ }
78
+
79
+ constructor(private _ngZone: NgZone, private _elementRef: ElementRef) {
80
+ }
81
+
82
+ ngAfterViewInit(): void {
83
+ this.align();
84
+ // align again after hosts 'animation finished'
85
+ setTimeout(() => {
86
+ this.align();
87
+ }, 200);
88
+ }
89
+
90
+ ngOnChanges(): void {
91
+ this.align();
92
+ }
93
+
94
+ ngOnDestroy(): void {
95
+ window.removeEventListener('scroll', this.scroll, EventUtils.passiveCapture);
96
+ window.removeEventListener('resize', this.resize, EventUtils.passiveCapture);
97
+ window.removeEventListener('keyup', this.handleKeyUp, EventUtils.passiveCapture);
98
+ this._elementRef = undefined;
99
+ this._hostNativeEl = undefined;
100
+ this.viewElement = undefined;
101
+ }
102
+
103
+ ngOnInit(): void {
104
+ this._ngZone.runOutsideAngular(() => {
105
+ window.addEventListener('scroll', this.scroll, EventUtils.passiveCapture);
106
+ window.addEventListener('resize', this.resize, EventUtils.passiveCapture);
107
+ window.addEventListener('keyup', this.handleKeyUp, EventUtils.passiveCapture);
108
+ });
109
+ }
110
+
111
+ public align(): void {
112
+ if (this._shouldDoAlign) {
113
+ const rect: ClientRect = this._hostNativeEl.getBoundingClientRect();
114
+ this.left = rect.left + this.alignLeftOffsetPx;
115
+ this.top = rect.top + this.alignTopOffsetPx;
116
+ if (this.alignRight) {
117
+ this.left = rect.right - this._elementRef.nativeElement.clientWidth;
118
+ }
119
+ if (!this.noWidthAlign) {
120
+ this.width = rect.width;
121
+ }
122
+ const dimensions: ElementPosition = {
123
+ top: this.top,
124
+ right: this.left + this._elementRef.nativeElement.clientWidth,
125
+ bottom: this.top + this._elementRef.nativeElement.clientHeight,
126
+ left: this.left
127
+ };
128
+ if (this.keepInView && !BrowserUtils.AreDimensionsInView(dimensions, this.viewElement)) {
129
+ if (!BrowserUtils.HorizontalFitInView(dimensions, this.viewElement) && this.keepInViewHorizontal) {
130
+ this.left = BrowserUtils.GetDimensions(this.viewElement).right - this._elementRef.nativeElement.clientWidth;
131
+ }
132
+ if (!BrowserUtils.VerticalFitInView(dimensions, this.viewElement) && this.keepInViewVertical) {
133
+ this.top = rect.top - this._elementRef.nativeElement.clientHeight + rect.height - this.alignTopOffsetPx;
134
+ }
135
+ }
136
+ }
137
+ }
138
+
139
+ public scroll = (): void => {
140
+ this._alignWithZone();
141
+ };
142
+
143
+ public resize = (): void => {
144
+ this._alignWithZone();
145
+ };
146
+
147
+ public handleKeyUp = (): void => {
148
+ this._alignWithZone();
149
+ };
150
+
151
+ private _alignWithZone(): void {
152
+ if (this._shouldDoAlign) {
153
+ this._ngZone.run(() => {
154
+ this.align();
155
+ });
156
+ }
157
+ }
158
+ }
@@ -0,0 +1,13 @@
1
+ import {NgModule} from "@angular/core";
2
+ import {AlignWithDirective} from "./align-with.directive";
3
+
4
+ @NgModule({
5
+ declarations: [
6
+ AlignWithDirective
7
+ ],
8
+ exports: [
9
+ AlignWithDirective
10
+ ]
11
+ })
12
+ export class AlignWithModule {
13
+ }
@@ -0,0 +1,64 @@
1
+ import {Injectable, NgZone, OnDestroy} from "@angular/core";
2
+ import {ClickOutsideDirective} from "./click-outside.directive";
3
+ import {EventUtils} from "../../core/utils/event-utils";
4
+ import {KeyboardKey} from "../../core/enum/keyboard-key.enum";
5
+ import {ArrayUtils} from "../../core/utils/array-utils";
6
+
7
+
8
+ @Injectable()
9
+ export class ClickOutsideMasterService implements OnDestroy {
10
+
11
+ public get currentClick(): MouseEvent {
12
+ return this._currentClick;
13
+ }
14
+
15
+ private _clickOutsideRefs: ClickOutsideDirective[] = [];
16
+
17
+ private _currentClick: MouseEvent;
18
+
19
+ constructor(private readonly _ngZone: NgZone) {
20
+ document.addEventListener('click', this.onClick, true);
21
+ window.addEventListener('keydown', this.onKeyDown, EventUtils.passiveBubble);
22
+ }
23
+
24
+ ngOnDestroy(): void {
25
+ document.removeEventListener('click', this.onClick, true);
26
+ window.removeEventListener('keydown', this.onKeyDown, EventUtils.passiveBubble);
27
+ }
28
+
29
+ public onClick = (event: MouseEvent): void => {
30
+ this._currentClick = event;
31
+ const first: ClickOutsideDirective = this._clickOutsideRefs[0];
32
+ const targets: ClickOutsideDirective[] = this._clickOutsideRefs.filter(co => co.alwaysTrigger);
33
+ if (first) {
34
+ targets.push(first);
35
+ }
36
+ setTimeout(() => {
37
+ targets.forEach(clickOutside => this.checkEmit(clickOutside, event));
38
+ });
39
+ }
40
+
41
+ public checkEmit(clickOutside: ClickOutsideDirective, event: Event, force?: boolean): void {
42
+ if (clickOutside && (clickOutside.currentClick !== this.currentClick || force) && this._clickOutsideRefs.indexOf(clickOutside) !== -1) {
43
+ this._ngZone.run(() => clickOutside.clickOutside.emit(event));
44
+ }
45
+ }
46
+
47
+ public onKeyDown = (event: KeyboardEvent): void => {
48
+ if (event.key === KeyboardKey.Escape) {
49
+ const first: ClickOutsideDirective = this._clickOutsideRefs[0];
50
+ if (first) {
51
+ this.checkEmit(first, event, true);
52
+ }
53
+ }
54
+ }
55
+
56
+ public addClickOutside(clickOutside: ClickOutsideDirective): void {
57
+ this.removeClickOutside(clickOutside);
58
+ this._clickOutsideRefs.unshift(clickOutside);
59
+ }
60
+
61
+ public removeClickOutside(clickOutside: ClickOutsideDirective): void {
62
+ ArrayUtils.RemoveElement(clickOutside, this._clickOutsideRefs);
63
+ }
64
+ }