@colijnit/corecomponents_v12 254.1.9 → 255.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1291) hide show
  1. package/.browserslistrc +17 -0
  2. package/.editorconfig +16 -0
  3. package/.idea/CoreComponents_v12.iml +12 -0
  4. package/.idea/jpa-buddy.xml +6 -0
  5. package/.idea/misc.xml +9 -0
  6. package/.idea/modules.xml +8 -0
  7. package/.idea/vcs.xml +6 -0
  8. package/CoreComponents_v12.iml +12 -0
  9. package/README.md +12 -9
  10. package/angular.json +146 -0
  11. package/dist/corecomponentstest/favicon.ico +0 -0
  12. package/dist/corecomponentstest/index.html +13 -0
  13. package/dist/corecomponentstest/main.js +24644 -0
  14. package/dist/corecomponentstest/main.js.map +1 -0
  15. package/dist/corecomponentstest/polyfills.js +2891 -0
  16. package/dist/corecomponentstest/polyfills.js.map +1 -0
  17. package/dist/corecomponentstest/runtime.js +161 -0
  18. package/dist/corecomponentstest/runtime.js.map +1 -0
  19. package/dist/corecomponentstest/styles.css +3075 -0
  20. package/dist/corecomponentstest/styles.css.map +1 -0
  21. package/dist/corecomponentstest/vendor.js +147126 -0
  22. package/dist/corecomponentstest/vendor.js.map +1 -0
  23. package/karma.conf.js +44 -0
  24. package/move-assets.js +14 -0
  25. package/package.json +44 -23
  26. package/projects/corecomponents/README.md +24 -0
  27. package/projects/corecomponents/karma.conf.js +44 -0
  28. package/projects/corecomponents/ng-package.json +10 -0
  29. package/projects/corecomponents/package-lock.json +13 -0
  30. package/projects/corecomponents/package.json +20 -0
  31. package/projects/corecomponents/src/lib/components/article-tile/article-tile.component.ts +96 -0
  32. package/projects/corecomponents/src/lib/components/article-tile/article-tile.module.ts +34 -0
  33. package/projects/corecomponents/src/lib/components/base/base-input.component.ts +988 -0
  34. package/projects/corecomponents/src/lib/components/base/base.module.ts +22 -0
  35. package/projects/corecomponents/src/lib/components/base/commit-buttons/commit-buttons.component.ts +120 -0
  36. package/projects/corecomponents/src/lib/components/base/commit-buttons/commit-buttons.module.ts +19 -0
  37. package/projects/corecomponents/src/lib/components/base/dialog-base.component.ts +8 -0
  38. package/projects/corecomponents/src/lib/components/base-input-date-picker/base-input-date-picker.directive.ts +32 -0
  39. package/projects/corecomponents/src/lib/components/base-input-time/base-input-time-directive.ts +31 -0
  40. package/projects/corecomponents/src/lib/components/button/button.component.ts +117 -0
  41. package/projects/corecomponents/src/lib/components/button/button.module.ts +18 -0
  42. package/projects/corecomponents/src/lib/components/calendar/calendar-template.component.ts +392 -0
  43. package/projects/corecomponents/src/lib/components/calendar/calendar.component.ts +54 -0
  44. package/projects/corecomponents/src/lib/components/calendar/calendar.module.ts +26 -0
  45. package/projects/corecomponents/src/lib/components/card/card.component.ts +94 -0
  46. package/projects/corecomponents/src/lib/components/card/card.module.ts +34 -0
  47. package/projects/corecomponents/src/lib/components/carousel/carousel.component.ts +128 -0
  48. package/projects/corecomponents/src/lib/components/carousel/carousel.module.ts +28 -0
  49. package/projects/corecomponents/src/lib/components/carousel-3d/carousel-3d.component.ts +392 -0
  50. package/projects/corecomponents/src/lib/components/carousel-3d/carousel-3d.module.ts +17 -0
  51. package/projects/corecomponents/src/lib/components/carousel-3d/carouselItem.ts +77 -0
  52. package/projects/corecomponents/src/lib/components/checkmark-overlay/checkmark-overlay.component.ts +99 -0
  53. package/projects/corecomponents/src/lib/components/checkmark-overlay/checkmark-overlay.module.ts +18 -0
  54. package/projects/corecomponents/src/lib/components/co-dialog/animation.ts +2 -0
  55. package/projects/corecomponents/src/lib/components/co-dialog/co-dialog.component.ts +130 -0
  56. package/projects/corecomponents/src/lib/components/co-dialog/co-dialog.module.ts +17 -0
  57. package/projects/corecomponents/src/lib/components/co-dialog-wizard/co-dialog-wizard.component.ts +50 -0
  58. package/projects/corecomponents/src/lib/components/co-dialog-wizard/co-dialog-wizard.module.ts +15 -0
  59. package/projects/corecomponents/src/lib/components/collapsible/collapsible.component.ts +114 -0
  60. package/projects/corecomponents/src/lib/components/collapsible/collapsible.module.ts +17 -0
  61. package/projects/corecomponents/src/lib/components/color-picker/color-picker.component.ts +40 -0
  62. package/projects/corecomponents/src/lib/components/color-picker/color-picker.module.ts +19 -0
  63. package/projects/corecomponents/src/lib/components/core-dialog/confirmation-dialog/confirmation-dialog.component.ts +86 -0
  64. package/projects/corecomponents/src/lib/components/core-dialog/core-dialog.module.ts +37 -0
  65. package/projects/corecomponents/src/lib/components/core-dialog/core-dialog.service.ts +61 -0
  66. package/projects/corecomponents/src/lib/components/core-dialog/core-dynamic-component.service.ts +101 -0
  67. package/projects/corecomponents/src/lib/components/double-calendar/double-calendar.component.ts +102 -0
  68. package/projects/corecomponents/src/lib/components/double-calendar/double-calendar.module.ts +23 -0
  69. package/projects/corecomponents/src/lib/components/filter-item/filter-item-viewmodel.ts +20 -0
  70. package/projects/corecomponents/src/lib/components/filter-item/filter-item.component.ts +715 -0
  71. package/projects/corecomponents/src/lib/components/filter-item/filter-item.module.ts +42 -0
  72. package/projects/corecomponents/src/lib/components/filter-item/filter-viewmodel.ts +11 -0
  73. package/projects/corecomponents/src/lib/components/form/form.component.ts +211 -0
  74. package/projects/corecomponents/src/lib/components/form/form.module.ts +22 -0
  75. package/projects/corecomponents/src/lib/components/grid-toolbar/grid-toolbar.component.ts +62 -0
  76. package/projects/corecomponents/src/lib/components/grid-toolbar/grid-toolbar.module.ts +21 -0
  77. package/projects/corecomponents/src/lib/components/grid-toolbar-button/grid-toolbar-button.component.ts +28 -0
  78. package/projects/corecomponents/src/lib/components/grid-toolbar-button/grid-toolbar-button.module.ts +17 -0
  79. package/projects/corecomponents/src/lib/components/icon/icon-cache.service.ts +57 -0
  80. package/projects/corecomponents/src/lib/components/icon/icon.component.ts +54 -0
  81. package/projects/corecomponents/src/lib/components/icon/icon.module.ts +24 -0
  82. package/projects/corecomponents/src/lib/components/icon-collapse-handle/icon-collapse-handle.component.ts +75 -0
  83. package/projects/corecomponents/src/lib/components/icon-collapse-handle/icon-collapse-handle.module.ts +21 -0
  84. package/projects/corecomponents/src/lib/components/image/image.component.ts +51 -0
  85. package/projects/corecomponents/src/lib/components/image/image.module.ts +12 -0
  86. package/projects/corecomponents/src/lib/components/input-checkbox/input-checkbox.component.ts +85 -0
  87. package/projects/corecomponents/src/lib/components/input-checkbox/input-checkbox.module.ts +17 -0
  88. package/projects/corecomponents/src/lib/components/input-date-picker/input-date-picker.component.ts +103 -0
  89. package/projects/corecomponents/src/lib/components/input-date-picker/input-date-picker.module.ts +24 -0
  90. package/projects/corecomponents/src/lib/components/input-date-range-picker/input-date-range-picker.component.ts +155 -0
  91. package/projects/corecomponents/src/lib/components/input-date-range-picker/input-date-range-picker.module.ts +25 -0
  92. package/projects/corecomponents/src/lib/components/input-number-picker/input-number-picker.component.ts +378 -0
  93. package/projects/corecomponents/src/lib/components/input-number-picker/input-number-picker.module.ts +20 -0
  94. package/projects/corecomponents/src/lib/components/input-radio-button/input-radio-button.component.ts +86 -0
  95. package/projects/corecomponents/src/lib/components/input-radio-button/input-radio-button.module.ts +17 -0
  96. package/projects/corecomponents/src/lib/components/input-scanner/bar-code-scanner.ts +25 -0
  97. package/projects/corecomponents/src/lib/components/input-scanner/input-scanner.component.ts +89 -0
  98. package/projects/corecomponents/src/lib/components/input-scanner/input-scanner.module.ts +19 -0
  99. package/projects/corecomponents/src/lib/components/input-scanner/scanner.service.ts +28 -0
  100. package/projects/corecomponents/src/lib/components/input-search/input-search.component.ts +90 -0
  101. package/projects/corecomponents/src/lib/components/input-search/input-search.module.ts +20 -0
  102. package/projects/corecomponents/src/lib/components/input-text/input-text.component.ts +307 -0
  103. package/projects/corecomponents/src/lib/components/input-text/input-text.module.ts +31 -0
  104. package/projects/corecomponents/src/lib/components/input-textarea/input-textarea.component.ts +81 -0
  105. package/projects/corecomponents/src/lib/components/input-textarea/input-textarea.module.ts +25 -0
  106. package/projects/corecomponents/src/lib/components/input-time/input-time.component.ts +72 -0
  107. package/projects/corecomponents/src/lib/components/input-time/input-time.module.ts +22 -0
  108. package/projects/corecomponents/src/lib/components/level-indicator/level-indicator-level.enum.ts +5 -0
  109. package/projects/corecomponents/src/lib/components/level-indicator/level-indicator.component.ts +42 -0
  110. package/projects/corecomponents/src/lib/components/level-indicator/level-indicator.module.ts +13 -0
  111. package/projects/corecomponents/src/lib/components/list-of-icons/list-of-icons.component.ts +68 -0
  112. package/projects/corecomponents/src/lib/components/list-of-icons/list-of-icons.module.ts +22 -0
  113. package/projects/corecomponents/src/lib/components/list-of-icons/style/_layout.scss +84 -0
  114. package/projects/corecomponents/src/lib/components/list-of-values/list-of-values-multiselect-popup.component.ts +132 -0
  115. package/projects/corecomponents/src/lib/components/list-of-values/list-of-values-popup.component.ts +291 -0
  116. package/projects/corecomponents/src/lib/components/list-of-values/list-of-values.component.ts +257 -0
  117. package/projects/corecomponents/src/lib/components/list-of-values/list-of-values.module.ts +35 -0
  118. package/projects/corecomponents/src/lib/components/loader/loader.component.ts +82 -0
  119. package/projects/corecomponents/src/lib/components/loader/loader.module.ts +17 -0
  120. package/projects/corecomponents/src/lib/components/pagination/paginate.pipe.ts +116 -0
  121. package/projects/corecomponents/src/lib/components/pagination/pagination-instance.ts +18 -0
  122. package/projects/corecomponents/src/lib/components/pagination/pagination.component.ts +160 -0
  123. package/projects/corecomponents/src/lib/components/pagination/pagination.module.ts +26 -0
  124. package/projects/corecomponents/src/lib/components/pagination/pagination.service.ts +99 -0
  125. package/projects/corecomponents/src/lib/components/pagination-bar/pagination-bar.component.ts +178 -0
  126. package/projects/corecomponents/src/lib/components/pagination-bar/pagination-bar.module.ts +17 -0
  127. package/projects/corecomponents/src/lib/components/popup/const/popup-window-token.ts +4 -0
  128. package/projects/corecomponents/src/lib/components/popup/interface/popup-button.ts +14 -0
  129. package/projects/corecomponents/src/lib/components/popup/interface/popup-close-event.ts +8 -0
  130. package/projects/corecomponents/src/lib/components/popup/interface/popup-settings.ts +70 -0
  131. package/projects/corecomponents/src/lib/components/popup/interface/popup.ts +17 -0
  132. package/projects/corecomponents/src/lib/components/popup/model/popup-button-globals.ts +11 -0
  133. package/projects/corecomponents/src/lib/components/popup/model/popup-window.ts +51 -0
  134. package/projects/corecomponents/src/lib/components/popup/popup-buttons.component.ts +61 -0
  135. package/projects/corecomponents/src/lib/components/popup/popup-message-display.component.ts +49 -0
  136. package/projects/corecomponents/src/lib/components/popup/popup-window-shell.component.ts +222 -0
  137. package/projects/corecomponents/src/lib/components/popup/popup.module.ts +48 -0
  138. package/projects/corecomponents/src/lib/components/popup/service/popup-shower.service.ts +98 -0
  139. package/projects/corecomponents/src/lib/components/popup/service/prompt.service.ts +127 -0
  140. package/projects/corecomponents/src/lib/components/popup/text-input-popup.component.ts +36 -0
  141. package/projects/corecomponents/src/lib/components/responsive-text/responsive-text.component.ts +24 -0
  142. package/projects/corecomponents/src/lib/components/responsive-text/responsive-text.module.ts +17 -0
  143. package/projects/corecomponents/src/lib/components/simple-grid/base-simple-grid.component.ts +196 -0
  144. package/projects/corecomponents/src/lib/components/simple-grid/simple-grid-cell.component.ts +192 -0
  145. package/projects/corecomponents/src/lib/components/simple-grid/simple-grid-column.directive.ts +146 -0
  146. package/projects/corecomponents/src/lib/components/simple-grid/simple-grid.component.ts +645 -0
  147. package/projects/corecomponents/src/lib/components/simple-grid/simple-grid.module.ts +42 -0
  148. package/projects/corecomponents/src/lib/components/tile/tile.component.ts +71 -0
  149. package/projects/corecomponents/src/lib/components/tile/tile.module.ts +21 -0
  150. package/projects/corecomponents/src/lib/components/tile-select/tile-select.component.ts +36 -0
  151. package/projects/corecomponents/src/lib/components/tile-select/tile-select.module.ts +19 -0
  152. package/projects/corecomponents/src/lib/components/tooltip/tooltip.component.ts +96 -0
  153. package/projects/corecomponents/src/lib/components/tooltip/tooltip.module.ts +17 -0
  154. package/projects/corecomponents/src/lib/components/validation-error/validation-error.component.ts +45 -0
  155. package/projects/corecomponents/src/lib/components/validation-error/validation-error.module.ts +24 -0
  156. package/projects/corecomponents/src/lib/components/view-mode-buttons/content-view-mode.enum.ts +9 -0
  157. package/projects/corecomponents/src/lib/components/view-mode-buttons/view-mode-buttons.component.ts +63 -0
  158. package/projects/corecomponents/src/lib/components/view-mode-buttons/view-mode-buttons.module.ts +19 -0
  159. package/projects/corecomponents/src/lib/core/abstract/collection-based-component.ts +488 -0
  160. package/projects/corecomponents/src/lib/core/config/device-environment.ts +26 -0
  161. package/projects/corecomponents/src/lib/core/constant/default-upper-bound-for-range-components.ts +4 -0
  162. package/projects/corecomponents/src/lib/core/constant/java-max-int.ts +1 -0
  163. package/projects/corecomponents/src/lib/core/constant/number-inputs-key-down-white-list.ts +46 -0
  164. package/projects/corecomponents/src/lib/core/decorator/input-boolean.decorator.ts +35 -0
  165. package/projects/corecomponents/src/lib/core/enum/co-direction.ts +7 -0
  166. package/projects/corecomponents/src/lib/core/enum/co-document-image-display-kind.enum.ts +5 -0
  167. package/projects/corecomponents/src/lib/core/enum/co-document-type.enum.ts +9 -0
  168. package/projects/corecomponents/src/lib/core/enum/co-orientation.ts +18 -0
  169. package/projects/corecomponents/src/lib/core/enum/collection-based-component-input-driver-prop.enum.ts +10 -0
  170. package/projects/corecomponents/src/lib/core/enum/color-sequence-name.enum.ts +5 -0
  171. package/projects/corecomponents/src/lib/core/enum/core-components-icon.enum.ts +299 -0
  172. package/projects/corecomponents/src/lib/core/enum/file-type-internal.enum.ts +15 -0
  173. package/projects/corecomponents/src/lib/core/enum/file-type.enum.ts +9 -0
  174. package/projects/corecomponents/src/lib/core/enum/filterItem-mode.enum.ts +57 -0
  175. package/projects/corecomponents/src/lib/core/enum/float-label-type.enum.ts +5 -0
  176. package/projects/corecomponents/src/lib/core/enum/input-number-picker-show-mode.enum.ts +6 -0
  177. package/projects/corecomponents/src/lib/core/enum/input-text-type.enum.ts +4 -0
  178. package/projects/corecomponents/src/lib/core/enum/keyboard-code.enum.ts +72 -0
  179. package/projects/corecomponents/src/lib/core/enum/keyboard-key.enum.ts +78 -0
  180. package/projects/corecomponents/src/lib/core/enum/logical-operator-type.enum.ts +5 -0
  181. package/projects/corecomponents/src/lib/core/enum/object-right-type.enum.ts +5 -0
  182. package/projects/corecomponents/src/lib/core/enum/popup-button-type.enum.ts +10 -0
  183. package/projects/corecomponents/src/lib/core/enum/popup-type.enum.ts +9 -0
  184. package/projects/corecomponents/src/lib/core/enum/schedule-view.enum.ts +14 -0
  185. package/projects/corecomponents/src/lib/core/enum/search-data-type.ts +4 -0
  186. package/projects/corecomponents/src/lib/core/enum/search-property-state.ts +5 -0
  187. package/projects/corecomponents/src/lib/core/enum/sort-data-type.ts +6 -0
  188. package/projects/corecomponents/src/lib/core/enum/sort-direction.ts +9 -0
  189. package/projects/corecomponents/src/lib/core/enum/table-name.enum.ts +79 -0
  190. package/projects/corecomponents/src/lib/core/enum/value-comparison-type.ts +11 -0
  191. package/projects/corecomponents/src/lib/core/function/any-nill.function.ts +6 -0
  192. package/projects/corecomponents/src/lib/core/function/is-nill.function.ts +4 -0
  193. package/projects/corecomponents/src/lib/core/function/none-nill.function.ts +16 -0
  194. package/projects/corecomponents/src/lib/core/function/not-nill.function.ts +4 -0
  195. package/projects/corecomponents/src/lib/core/interface/search-property.ts +15 -0
  196. package/projects/corecomponents/src/lib/core/interface/sort-property.ts +16 -0
  197. package/projects/corecomponents/src/lib/core/model/bounds-constrained-number-value.ts +222 -0
  198. package/projects/corecomponents/src/lib/core/model/check-precision-and-scale-result.ts +5 -0
  199. package/projects/corecomponents/src/lib/core/model/check-within-stepped-bounds-result.ts +8 -0
  200. package/projects/corecomponents/src/lib/core/model/co-document-right.bo.ts +9 -0
  201. package/projects/corecomponents/src/lib/core/model/co-document.bo.ts +193 -0
  202. package/projects/corecomponents/src/lib/core/model/color-sequence.ts +39 -0
  203. package/projects/corecomponents/src/lib/core/model/color.ts +29 -0
  204. package/projects/corecomponents/src/lib/core/model/core-components-icon-svg.ts +299 -0
  205. package/projects/corecomponents/src/lib/core/model/element-position.ts +14 -0
  206. package/projects/corecomponents/src/lib/core/model/event/number-prompt-result-event.ts +10 -0
  207. package/projects/corecomponents/src/lib/core/model/event/string-prompt-result-event.ts +10 -0
  208. package/projects/corecomponents/src/lib/core/model/numerical-range.ts +19 -0
  209. package/projects/corecomponents/src/lib/core/service/form-input-user-change-listener.service.ts +31 -0
  210. package/projects/corecomponents/src/lib/core/service/form-master.service.ts +119 -0
  211. package/projects/corecomponents/src/lib/core/service/ng-zone-wrapper.service.ts +15 -0
  212. package/projects/corecomponents/src/lib/core/utils/array-utils.spec.ts +588 -0
  213. package/projects/corecomponents/src/lib/core/utils/array-utils.ts +301 -0
  214. package/projects/corecomponents/src/lib/core/utils/browser-utils.ts +123 -0
  215. package/projects/corecomponents/src/lib/core/utils/business-object-utils.ts +42 -0
  216. package/projects/corecomponents/src/lib/core/utils/css-utils.ts +276 -0
  217. package/projects/corecomponents/src/lib/core/utils/direction-enum-utils.ts +15 -0
  218. package/projects/corecomponents/src/lib/core/utils/element-ref.utils.ts +12 -0
  219. package/projects/corecomponents/src/lib/core/utils/event-utils.ts +61 -0
  220. package/projects/corecomponents/src/lib/core/utils/file-utils.ts +291 -0
  221. package/projects/corecomponents/src/lib/core/utils/number-utils.spec.ts +657 -0
  222. package/projects/corecomponents/src/lib/core/utils/number-utils.ts +350 -0
  223. package/projects/corecomponents/src/lib/core/utils/object-utils.ts +205 -0
  224. package/projects/corecomponents/src/lib/core/utils/parameter-value-conversion-utils.ts +116 -0
  225. package/projects/corecomponents/src/lib/core/utils/search-utils.ts +121 -0
  226. package/projects/corecomponents/src/lib/core/utils/sort-utils.ts +108 -0
  227. package/projects/corecomponents/src/lib/core/utils/string-utils.ts +100 -0
  228. package/projects/corecomponents/src/lib/core/validator/email.validator.ts +10 -0
  229. package/projects/corecomponents/src/lib/core/validator/equal.validator.ts +14 -0
  230. package/projects/corecomponents/src/lib/core/validator/max-string-length.validator.ts +11 -0
  231. package/projects/corecomponents/src/lib/core/validator/password.validator.ts +35 -0
  232. package/projects/corecomponents/src/lib/core/validator/precision-scale.validator.ts +14 -0
  233. package/projects/corecomponents/src/lib/core/validator/required.validator.ts +9 -0
  234. package/projects/corecomponents/src/lib/directives/align-with/align-with.directive.ts +158 -0
  235. package/projects/corecomponents/src/lib/directives/align-with/align-with.module.ts +13 -0
  236. package/projects/corecomponents/src/lib/directives/clickoutside/click-outside-master.service.ts +64 -0
  237. package/projects/corecomponents/src/lib/directives/clickoutside/click-outside.directive.ts +72 -0
  238. package/projects/corecomponents/src/lib/directives/clickoutside/clickoutside.module.ts +17 -0
  239. package/projects/corecomponents/src/lib/directives/observe-visibility/observe-visibility.directive.ts +55 -0
  240. package/projects/corecomponents/src/lib/directives/observe-visibility/observe-visibility.module.ts +13 -0
  241. package/projects/corecomponents/src/lib/directives/overlay/overlay-parent.directive.ts +20 -0
  242. package/projects/corecomponents/src/lib/directives/overlay/overlay.directive.ts +170 -0
  243. package/projects/corecomponents/src/lib/directives/overlay/overlay.module.ts +16 -0
  244. package/projects/corecomponents/src/lib/directives/parsevalue/parse-value.directive.ts +42 -0
  245. package/projects/corecomponents/src/lib/directives/parsevalue/parse-value.module.ts +13 -0
  246. package/projects/corecomponents/src/lib/directives/resize/resize-detect.directive.ts +54 -0
  247. package/projects/corecomponents/src/lib/directives/resize/resize-detect.module.ts +13 -0
  248. package/projects/corecomponents/src/lib/directives/ripple/ripple-ref.ts +28 -0
  249. package/projects/corecomponents/src/lib/directives/ripple/ripple-renderer.ts +217 -0
  250. package/projects/corecomponents/src/lib/directives/ripple/ripple.directive.ts +116 -0
  251. package/projects/corecomponents/src/lib/directives/ripple/ripple.module.ts +24 -0
  252. package/projects/corecomponents/src/lib/directives/ripple/scroll-dispatcher.service.ts +129 -0
  253. package/projects/corecomponents/src/lib/directives/ripple/scrollable.directive.ts +37 -0
  254. package/projects/corecomponents/src/lib/directives/ripple/viewport-ruler.service.ts +84 -0
  255. package/projects/corecomponents/src/lib/directives/screen-configuration/screen-configuration.directive.ts +170 -0
  256. package/projects/corecomponents/src/lib/directives/screen-configuration/screen-configuration.module.ts +16 -0
  257. package/projects/corecomponents/src/lib/directives/stopclick/stop-click.directive.ts +35 -0
  258. package/projects/corecomponents/src/lib/directives/stopclick/stop-click.module.ts +14 -0
  259. package/projects/corecomponents/src/lib/directives/template-wrapper/template-wrapper.directive.ts +71 -0
  260. package/projects/corecomponents/src/lib/directives/template-wrapper/template-wrapper.module.ts +13 -0
  261. package/projects/corecomponents/src/lib/directives/tooltip/tooltip-directive.module.ts +17 -0
  262. package/projects/corecomponents/src/lib/directives/tooltip/tooltip.directive.ts +94 -0
  263. package/projects/corecomponents/src/lib/interfaces/dialog-response.interface.ts +7 -0
  264. package/projects/corecomponents/src/lib/interfaces/lov-options.component.interface.ts +4 -0
  265. package/projects/corecomponents/src/lib/interfaces/screen-config-adapter-component-interface-name.ts +6 -0
  266. package/projects/corecomponents/src/lib/interfaces/screen-config-adapter.component.interface.ts +10 -0
  267. package/projects/corecomponents/src/lib/model/data-item.ts +9 -0
  268. package/projects/corecomponents/src/lib/model/enum/app-button-type.enum.ts +9 -0
  269. package/projects/corecomponents/src/lib/model/enum/app-popup-type.enum.ts +6 -0
  270. package/projects/corecomponents/src/lib/model/enum/currency-code.enum.ts +7 -0
  271. package/projects/corecomponents/src/lib/model/enum/language-code.enum.ts +8 -0
  272. package/projects/corecomponents/src/lib/model/icon-list-item.ts +7 -0
  273. package/projects/corecomponents/src/lib/model/map/currencies.map.ts +6 -0
  274. package/projects/corecomponents/src/lib/modules/drag-drop/drag-drop-container.component.ts +115 -0
  275. package/projects/corecomponents/src/lib/modules/drag-drop/drag-drop-container.css +34 -0
  276. package/projects/corecomponents/src/lib/modules/drag-drop/drag-drop-manager.service.ts +414 -0
  277. package/projects/corecomponents/src/lib/modules/drag-drop/drag-drop.module.ts +20 -0
  278. package/projects/corecomponents/src/lib/modules/drag-drop/draggable.directive.ts +70 -0
  279. package/projects/corecomponents/src/lib/modules/drag-drop/model/co-drag-event.ts +5 -0
  280. package/projects/corecomponents/src/lib/modules/drag-drop/model/co-drop-event.ts +9 -0
  281. package/projects/corecomponents/src/lib/modules/drag-drop/model/drag-drop-container-element.ts +7 -0
  282. package/projects/corecomponents/src/lib/modules/drag-drop/model/drag-drop-container.ts +9 -0
  283. package/projects/corecomponents/src/lib/modules/media-monitor/flex-layout-breakpoint.enum.ts +5 -0
  284. package/projects/corecomponents/src/lib/modules/media-monitor/media-monitor.module.ts +14 -0
  285. package/projects/corecomponents/src/lib/modules/media-monitor/media-monitor.service.ts +36 -0
  286. package/projects/corecomponents/src/lib/modules/pagination/paginate.pipe.ts +116 -0
  287. package/projects/corecomponents/src/lib/modules/pagination/pagination-instance.ts +18 -0
  288. package/projects/corecomponents/src/lib/modules/pagination/pagination.component.ts +229 -0
  289. package/projects/corecomponents/src/lib/modules/pagination/pagination.module.ts +25 -0
  290. package/projects/corecomponents/src/lib/modules/pagination/pagination.service.ts +98 -0
  291. package/projects/corecomponents/src/lib/pipes/append.pipe.module.ts +13 -0
  292. package/projects/corecomponents/src/lib/pipes/append.pipe.ts +17 -0
  293. package/projects/corecomponents/src/lib/pipes/co-currency-pipe.module.ts +13 -0
  294. package/projects/corecomponents/src/lib/pipes/co-currency.pipe.ts +45 -0
  295. package/projects/corecomponents/src/lib/pipes/emun-keys.pipe.ts +20 -0
  296. package/projects/corecomponents/src/lib/pipes/enum-keys-pipe.module.ts +13 -0
  297. package/projects/corecomponents/src/lib/pipes/file-type-image-pipe.module.ts +13 -0
  298. package/projects/corecomponents/src/lib/pipes/file-type-image.pipe.ts +45 -0
  299. package/projects/corecomponents/src/lib/pipes/filter.pipe.module.ts +13 -0
  300. package/projects/corecomponents/src/lib/pipes/filter.pipe.ts +14 -0
  301. package/projects/corecomponents/src/lib/pipes/master-pipe.module.ts +13 -0
  302. package/projects/corecomponents/src/lib/pipes/master.pipe.ts +71 -0
  303. package/projects/corecomponents/src/lib/pipes/prepend.pipe.module.ts +13 -0
  304. package/projects/corecomponents/src/lib/pipes/prepend.pipe.ts +17 -0
  305. package/projects/corecomponents/src/lib/pipes/price-display-pipe.module.ts +14 -0
  306. package/projects/corecomponents/src/lib/pipes/price-display.pipe.ts +20 -0
  307. package/projects/corecomponents/src/lib/pipes/safe-style.pipe.module.ts +13 -0
  308. package/projects/corecomponents/src/lib/pipes/safe-style.pipe.ts +14 -0
  309. package/projects/corecomponents/src/lib/pipes/ucfirst-pipe.module.ts +13 -0
  310. package/projects/corecomponents/src/lib/pipes/ucfirst.pipe.ts +14 -0
  311. package/projects/corecomponents/src/lib/service/base-module-screen-config.service.ts +241 -0
  312. package/projects/corecomponents/src/lib/service/base-module.service.ts +50 -0
  313. package/projects/corecomponents/src/lib/service/color-sequence.service.ts +50 -0
  314. package/projects/corecomponents/src/lib/service/overlay.service.ts +81 -0
  315. package/projects/corecomponents/src/lib/translation/core-components-translation.module.ts +27 -0
  316. package/projects/corecomponents/src/lib/translation/core-components-translation.service.ts +15 -0
  317. package/projects/corecomponents/src/lib/translation/core-dictionary.service.ts +27 -0
  318. package/projects/corecomponents/src/lib/translation/core-localize.pipe.ts +21 -0
  319. package/projects/corecomponents/src/public-api.ts +139 -0
  320. package/projects/corecomponents/src/res/icons/Barcode.svg +1 -0
  321. package/projects/corecomponents/src/res/icons/CashRegister.svg +1 -0
  322. package/projects/corecomponents/src/res/icons/CirclePlusSkinny.svg +1 -0
  323. package/projects/corecomponents/src/res/icons/CrossSkinny.svg +1 -0
  324. package/projects/corecomponents/src/res/icons/FolderArrow.svg +1 -0
  325. package/projects/corecomponents/src/res/icons/Home.svg +1 -0
  326. package/projects/corecomponents/src/res/icons/POS.svg +1 -0
  327. package/projects/corecomponents/src/res/icons/Shop.svg +1 -0
  328. package/projects/corecomponents/src/res/icons/SinglePerson.svg +1 -0
  329. package/projects/corecomponents/src/res/icons/Star.svg +1 -0
  330. package/projects/corecomponents/src/res/icons/TrashBin.svg +1 -0
  331. package/projects/corecomponents/src/res/icons/account.svg +1 -0
  332. package/projects/corecomponents/src/res/icons/account_round_open.svg +1 -0
  333. package/projects/corecomponents/src/res/icons/activities.svg +1 -0
  334. package/projects/corecomponents/src/res/icons/add_to_cart_drop.svg +1 -0
  335. package/projects/corecomponents/src/res/icons/arrow_down.svg +1 -0
  336. package/projects/corecomponents/src/res/icons/arrow_fat_left.svg +1 -0
  337. package/projects/corecomponents/src/res/icons/arrow_fat_right.svg +1 -0
  338. package/projects/corecomponents/src/res/icons/arrow_left.svg +4 -0
  339. package/projects/corecomponents/src/res/icons/arrow_left_round_open.svg +1 -0
  340. package/projects/corecomponents/src/res/icons/arrow_point_down.svg +6 -0
  341. package/projects/corecomponents/src/res/icons/arrow_point_left.svg +8 -0
  342. package/projects/corecomponents/src/res/icons/arrow_point_right.svg +8 -0
  343. package/projects/corecomponents/src/res/icons/arrow_point_up.svg +8 -0
  344. package/projects/corecomponents/src/res/icons/arrow_right_round_open.svg +1 -0
  345. package/projects/corecomponents/src/res/icons/arrow_scroll_down.svg +6 -0
  346. package/projects/corecomponents/src/res/icons/arrow_scroll_left.svg +22 -0
  347. package/projects/corecomponents/src/res/icons/arrow_scroll_right.svg +22 -0
  348. package/projects/corecomponents/src/res/icons/arrow_scroll_up.svg +6 -0
  349. package/projects/corecomponents/src/res/icons/arrow_up.svg +3 -0
  350. package/projects/corecomponents/src/res/icons/article.svg +1 -0
  351. package/projects/corecomponents/src/res/icons/article_with_fold.svg +1 -0
  352. package/projects/corecomponents/src/res/icons/asterisk_small.svg +1 -0
  353. package/projects/corecomponents/src/res/icons/attachments.svg +1 -0
  354. package/projects/corecomponents/src/res/icons/back_to_top.svg +1 -0
  355. package/projects/corecomponents/src/res/icons/big_mac.svg +6 -0
  356. package/projects/corecomponents/src/res/icons/boxes.svg +1 -0
  357. package/projects/corecomponents/src/res/icons/brush.svg +1 -0
  358. package/projects/corecomponents/src/res/icons/brush_round_open.svg +1 -0
  359. package/projects/corecomponents/src/res/icons/building_columns.svg +1 -0
  360. package/projects/corecomponents/src/res/icons/businessrules.svg +1 -0
  361. package/projects/corecomponents/src/res/icons/calendar.svg +1 -0
  362. package/projects/corecomponents/src/res/icons/calendar_day.svg +37 -0
  363. package/projects/corecomponents/src/res/icons/calendar_day_regular.svg +1 -0
  364. package/projects/corecomponents/src/res/icons/calendar_empty.svg +16 -0
  365. package/projects/corecomponents/src/res/icons/calendar_range.svg +1 -0
  366. package/projects/corecomponents/src/res/icons/calendar_round_open.svg +16 -0
  367. package/projects/corecomponents/src/res/icons/camera.svg +1 -0
  368. package/projects/corecomponents/src/res/icons/cancel.svg +1 -0
  369. package/projects/corecomponents/src/res/icons/cancel_round_filled.svg +1 -0
  370. package/projects/corecomponents/src/res/icons/cancel_round_open.svg +1 -0
  371. package/projects/corecomponents/src/res/icons/cart.svg +1 -0
  372. package/projects/corecomponents/src/res/icons/cart_open.svg +8 -0
  373. package/projects/corecomponents/src/res/icons/case_manager.svg +1 -0
  374. package/projects/corecomponents/src/res/icons/cash_register_simple.svg +1 -0
  375. package/projects/corecomponents/src/res/icons/change_location.svg +1 -0
  376. package/projects/corecomponents/src/res/icons/check.svg +1 -0
  377. package/projects/corecomponents/src/res/icons/check_duotone.svg +1 -0
  378. package/projects/corecomponents/src/res/icons/check_round.svg +1 -0
  379. package/projects/corecomponents/src/res/icons/check_round_open.svg +10 -0
  380. package/projects/corecomponents/src/res/icons/check_simple.svg +3 -0
  381. package/projects/corecomponents/src/res/icons/check_thin.svg +1 -0
  382. package/projects/corecomponents/src/res/icons/chevron_down_regular.svg +1 -0
  383. package/projects/corecomponents/src/res/icons/chevron_up_regular.svg +1 -0
  384. package/projects/corecomponents/src/res/icons/client.svg +1 -0
  385. package/projects/corecomponents/src/res/icons/clock.svg +1 -0
  386. package/projects/corecomponents/src/res/icons/clockArrow.svg +1 -0
  387. package/projects/corecomponents/src/res/icons/cogWheelPlus.svg +1 -0
  388. package/projects/corecomponents/src/res/icons/cogWheels.svg +1 -0
  389. package/projects/corecomponents/src/res/icons/column_options.svg +18 -0
  390. package/projects/corecomponents/src/res/icons/company.svg +1 -0
  391. package/projects/corecomponents/src/res/icons/company_flat.svg +4 -0
  392. package/projects/corecomponents/src/res/icons/configurable.svg +1 -0
  393. package/projects/corecomponents/src/res/icons/consultant.svg +1 -0
  394. package/projects/corecomponents/src/res/icons/copy.svg +1 -0
  395. package/projects/corecomponents/src/res/icons/crosshair_1.svg +1 -0
  396. package/projects/corecomponents/src/res/icons/dashboard.svg +1 -0
  397. package/projects/corecomponents/src/res/icons/delivery_method.svg +32 -0
  398. package/projects/corecomponents/src/res/icons/delivery_status_uncheck.svg +9 -0
  399. package/projects/corecomponents/src/res/icons/delivery_truck.svg +1 -0
  400. package/projects/corecomponents/src/res/icons/detail_record.svg +1 -0
  401. package/projects/corecomponents/src/res/icons/detail_view.svg +1 -0
  402. package/projects/corecomponents/src/res/icons/dictionary.svg +1 -0
  403. package/projects/corecomponents/src/res/icons/documentWrench.svg +1 -0
  404. package/projects/corecomponents/src/res/icons/documents.svg +1 -0
  405. package/projects/corecomponents/src/res/icons/dollar.svg +1 -0
  406. package/projects/corecomponents/src/res/icons/download.svg +1 -0
  407. package/projects/corecomponents/src/res/icons/dropdown.svg +4 -0
  408. package/projects/corecomponents/src/res/icons/dropzone.svg +1 -0
  409. package/projects/corecomponents/src/res/icons/edit_pencil.svg +1 -0
  410. package/projects/corecomponents/src/res/icons/edit_pencil_circle.svg +1 -0
  411. package/projects/corecomponents/src/res/icons/edit_pencil_round.svg +11 -0
  412. package/projects/corecomponents/src/res/icons/edit_pencil_simple.svg +16 -0
  413. package/projects/corecomponents/src/res/icons/email.svg +1 -0
  414. package/projects/corecomponents/src/res/icons/email_round_open.svg +6 -0
  415. package/projects/corecomponents/src/res/icons/employee.svg +1 -0
  416. package/projects/corecomponents/src/res/icons/employee_two.svg +1 -0
  417. package/projects/corecomponents/src/res/icons/employer.svg +1 -0
  418. package/projects/corecomponents/src/res/icons/employment.svg +1 -0
  419. package/projects/corecomponents/src/res/icons/employment_end.svg +7 -0
  420. package/projects/corecomponents/src/res/icons/equal.svg +1 -0
  421. package/projects/corecomponents/src/res/icons/euro.svg +1 -0
  422. package/projects/corecomponents/src/res/icons/exclamation.svg +1 -0
  423. package/projects/corecomponents/src/res/icons/exclamation_round_open.svg +1 -0
  424. package/projects/corecomponents/src/res/icons/eye_circle.svg +1 -0
  425. package/projects/corecomponents/src/res/icons/eye_circle_large.svg +1 -0
  426. package/projects/corecomponents/src/res/icons/eye_round_filled.svg +11 -0
  427. package/projects/corecomponents/src/res/icons/factory.svg +1 -0
  428. package/projects/corecomponents/src/res/icons/fasttrack.svg +1 -0
  429. package/projects/corecomponents/src/res/icons/filter.svg +1 -0
  430. package/projects/corecomponents/src/res/icons/finish.svg +1 -0
  431. package/projects/corecomponents/src/res/icons/fixed_option_value_tree.svg +1 -0
  432. package/projects/corecomponents/src/res/icons/fixed_tree_option_value.svg +1 -0
  433. package/projects/corecomponents/src/res/icons/floppy_disk_solid.svg +1 -0
  434. package/projects/corecomponents/src/res/icons/folder_arrow_in.svg +8 -0
  435. package/projects/corecomponents/src/res/icons/formula.svg +1 -0
  436. package/projects/corecomponents/src/res/icons/fullscreen.svg +6 -0
  437. package/projects/corecomponents/src/res/icons/gear_double.svg +21 -0
  438. package/projects/corecomponents/src/res/icons/global_search.svg +45 -0
  439. package/projects/corecomponents/src/res/icons/globe.svg +1 -0
  440. package/projects/corecomponents/src/res/icons/greater_than.svg +1 -0
  441. package/projects/corecomponents/src/res/icons/groupby.svg +1 -0
  442. package/projects/corecomponents/src/res/icons/hamburger.svg +1 -0
  443. package/projects/corecomponents/src/res/icons/hand_pointer.svg +1 -0
  444. package/projects/corecomponents/src/res/icons/hbarchart.svg +6 -0
  445. package/projects/corecomponents/src/res/icons/home_circle.svg +9 -0
  446. package/projects/corecomponents/src/res/icons/home_open.svg +7 -0
  447. package/projects/corecomponents/src/res/icons/home_round_open.svg +11 -0
  448. package/projects/corecomponents/src/res/icons/hourglass.svg +1 -0
  449. package/projects/corecomponents/src/res/icons/icon_3d.svg +1 -0
  450. package/projects/corecomponents/src/res/icons/id.svg +1 -0
  451. package/projects/corecomponents/src/res/icons/image.svg +1 -0
  452. package/projects/corecomponents/src/res/icons/incoming_storage.svg +1 -0
  453. package/projects/corecomponents/src/res/icons/information.svg +1 -0
  454. package/projects/corecomponents/src/res/icons/information_round_open.svg +6 -0
  455. package/projects/corecomponents/src/res/icons/input_multiplechoice.svg +1 -0
  456. package/projects/corecomponents/src/res/icons/input_text.svg +1 -0
  457. package/projects/corecomponents/src/res/icons/input_textarea.svg +1 -0
  458. package/projects/corecomponents/src/res/icons/inventory.svg +1 -0
  459. package/projects/corecomponents/src/res/icons/invoice.svg +20 -0
  460. package/projects/corecomponents/src/res/icons/ione_logo.svg +1 -0
  461. package/projects/corecomponents/src/res/icons/ione_logo_fat.svg +1 -0
  462. package/projects/corecomponents/src/res/icons/ione_status_next.svg +43 -0
  463. package/projects/corecomponents/src/res/icons/ione_workflow.svg +62 -0
  464. package/projects/corecomponents/src/res/icons/keyboard.svg +1 -0
  465. package/projects/corecomponents/src/res/icons/keychain.svg +1 -0
  466. package/projects/corecomponents/src/res/icons/label.svg +5 -0
  467. package/projects/corecomponents/src/res/icons/label_round_open.svg +6 -0
  468. package/projects/corecomponents/src/res/icons/landmark_flag.svg +1 -0
  469. package/projects/corecomponents/src/res/icons/library.svg +21 -0
  470. package/projects/corecomponents/src/res/icons/linechart.svg +1 -0
  471. package/projects/corecomponents/src/res/icons/link_circle.svg +1 -0
  472. package/projects/corecomponents/src/res/icons/linked_products.svg +1 -0
  473. package/projects/corecomponents/src/res/icons/list_view.svg +8 -0
  474. package/projects/corecomponents/src/res/icons/location.svg +1 -0
  475. package/projects/corecomponents/src/res/icons/lock.svg +1 -0
  476. package/projects/corecomponents/src/res/icons/lock_round_open.svg +8 -0
  477. package/projects/corecomponents/src/res/icons/logo.svg +1 -0
  478. package/projects/corecomponents/src/res/icons/logout.svg +1 -0
  479. package/projects/corecomponents/src/res/icons/magic_wand.svg +1 -0
  480. package/projects/corecomponents/src/res/icons/magnifier.svg +5 -0
  481. package/projects/corecomponents/src/res/icons/manager.svg +12 -0
  482. package/projects/corecomponents/src/res/icons/mask.svg +1 -0
  483. package/projects/corecomponents/src/res/icons/master_detail.svg +1 -0
  484. package/projects/corecomponents/src/res/icons/material_circle_large.svg +1 -0
  485. package/projects/corecomponents/src/res/icons/medal_bronze.svg +23 -0
  486. package/projects/corecomponents/src/res/icons/medal_gold.svg +23 -0
  487. package/projects/corecomponents/src/res/icons/medal_silver.svg +23 -0
  488. package/projects/corecomponents/src/res/icons/medical_officer.svg +14 -0
  489. package/projects/corecomponents/src/res/icons/microphone.svg +1 -0
  490. package/projects/corecomponents/src/res/icons/minus_round_open.svg +1 -0
  491. package/projects/corecomponents/src/res/icons/minus_simple.svg +1 -0
  492. package/projects/corecomponents/src/res/icons/mobile.svg +1 -0
  493. package/projects/corecomponents/src/res/icons/multi_select_check.svg +10 -0
  494. package/projects/corecomponents/src/res/icons/new_task.svg +1 -0
  495. package/projects/corecomponents/src/res/icons/not_equal.svg +4 -0
  496. package/projects/corecomponents/src/res/icons/note.svg +1 -0
  497. package/projects/corecomponents/src/res/icons/note_bordered.svg +1 -0
  498. package/projects/corecomponents/src/res/icons/notification.svg +1 -0
  499. package/projects/corecomponents/src/res/icons/option.svg +1 -0
  500. package/projects/corecomponents/src/res/icons/optionset.svg +1 -0
  501. package/projects/corecomponents/src/res/icons/order.svg +1 -0
  502. package/projects/corecomponents/src/res/icons/orderpicking.svg +1 -0
  503. package/projects/corecomponents/src/res/icons/outgoing_storage.svg +1 -0
  504. package/projects/corecomponents/src/res/icons/over_booking.svg +1 -0
  505. package/projects/corecomponents/src/res/icons/pause_circle.svg +12 -0
  506. package/projects/corecomponents/src/res/icons/pen_to_square_solid.svg +1 -0
  507. package/projects/corecomponents/src/res/icons/pencil_round_open.svg +10 -0
  508. package/projects/corecomponents/src/res/icons/phone.svg +1 -0
  509. package/projects/corecomponents/src/res/icons/phone_round_open.svg +10 -0
  510. package/projects/corecomponents/src/res/icons/piechart.svg +24 -0
  511. package/projects/corecomponents/src/res/icons/pin.svg +9 -0
  512. package/projects/corecomponents/src/res/icons/pin_round_open.svg +11 -0
  513. package/projects/corecomponents/src/res/icons/play_circle.svg +1 -0
  514. package/projects/corecomponents/src/res/icons/plus_round.svg +9 -0
  515. package/projects/corecomponents/src/res/icons/plus_round_open.svg +1 -0
  516. package/projects/corecomponents/src/res/icons/plus_simple.svg +1 -0
  517. package/projects/corecomponents/src/res/icons/plus_skinny.svg +8 -0
  518. package/projects/corecomponents/src/res/icons/plus_solid.svg +1 -0
  519. package/projects/corecomponents/src/res/icons/plus_stars.svg +1 -0
  520. package/projects/corecomponents/src/res/icons/pointer.svg +7 -0
  521. package/projects/corecomponents/src/res/icons/pointer_3d.svg +8 -0
  522. package/projects/corecomponents/src/res/icons/pointer_filled.svg +6 -0
  523. package/projects/corecomponents/src/res/icons/positioning.svg +1 -0
  524. package/projects/corecomponents/src/res/icons/pregnancy.svg +18 -0
  525. package/projects/corecomponents/src/res/icons/preset.svg +1 -0
  526. package/projects/corecomponents/src/res/icons/print.svg +1 -0
  527. package/projects/corecomponents/src/res/icons/product_properties.svg +1 -0
  528. package/projects/corecomponents/src/res/icons/purchase.svg +15 -0
  529. package/projects/corecomponents/src/res/icons/qrcode.svg +59 -0
  530. package/projects/corecomponents/src/res/icons/question.svg +1 -0
  531. package/projects/corecomponents/src/res/icons/radio_uncheck.svg +1 -0
  532. package/projects/corecomponents/src/res/icons/range.svg +1 -0
  533. package/projects/corecomponents/src/res/icons/range_select.svg +1 -0
  534. package/projects/corecomponents/src/res/icons/rectangles.svg +15 -0
  535. package/projects/corecomponents/src/res/icons/refresh.svg +1 -0
  536. package/projects/corecomponents/src/res/icons/relations.svg +20 -0
  537. package/projects/corecomponents/src/res/icons/remark.svg +1 -0
  538. package/projects/corecomponents/src/res/icons/remark_round_open.svg +6 -0
  539. package/projects/corecomponents/src/res/icons/report_in_type.svg +1 -0
  540. package/projects/corecomponents/src/res/icons/resize.svg +3 -0
  541. package/projects/corecomponents/src/res/icons/resize_down.svg +1 -0
  542. package/projects/corecomponents/src/res/icons/resize_up.svg +1 -0
  543. package/projects/corecomponents/src/res/icons/return_goods.svg +4 -0
  544. package/projects/corecomponents/src/res/icons/returns.svg +1 -0
  545. package/projects/corecomponents/src/res/icons/rotate_left_solid.svg +1 -0
  546. package/projects/corecomponents/src/res/icons/save_disk.svg +15 -0
  547. package/projects/corecomponents/src/res/icons/save_skinny.svg +3 -0
  548. package/projects/corecomponents/src/res/icons/scale_balanced.svg +1 -0
  549. package/projects/corecomponents/src/res/icons/scanner.svg +1 -0
  550. package/projects/corecomponents/src/res/icons/search_round_open.svg +9 -0
  551. package/projects/corecomponents/src/res/icons/sections.svg +1 -0
  552. package/projects/corecomponents/src/res/icons/select_all_round.svg +5 -0
  553. package/projects/corecomponents/src/res/icons/services.svg +1 -0
  554. package/projects/corecomponents/src/res/icons/settings.svg +20 -0
  555. package/projects/corecomponents/src/res/icons/shopping_cart.svg +1 -0
  556. package/projects/corecomponents/src/res/icons/shopping_cart_nr.svg +1 -0
  557. package/projects/corecomponents/src/res/icons/shortcut.svg +1 -0
  558. package/projects/corecomponents/src/res/icons/skills.svg +1 -0
  559. package/projects/corecomponents/src/res/icons/slide_in.svg +1 -0
  560. package/projects/corecomponents/src/res/icons/slider_panel.svg +7 -0
  561. package/projects/corecomponents/src/res/icons/small_tiles.svg +1 -0
  562. package/projects/corecomponents/src/res/icons/smaller_than.svg +1 -0
  563. package/projects/corecomponents/src/res/icons/sort_asc.svg +1 -0
  564. package/projects/corecomponents/src/res/icons/sort_desc.svg +1 -0
  565. package/projects/corecomponents/src/res/icons/star_round_open.svg +6 -0
  566. package/projects/corecomponents/src/res/icons/status_active.svg +1 -0
  567. package/projects/corecomponents/src/res/icons/status_adoption.svg +1 -0
  568. package/projects/corecomponents/src/res/icons/status_fostercare.svg +1 -0
  569. package/projects/corecomponents/src/res/icons/status_ill.svg +10 -0
  570. package/projects/corecomponents/src/res/icons/status_leave.svg +1 -0
  571. package/projects/corecomponents/src/res/icons/status_pregnancy.svg +10 -0
  572. package/projects/corecomponents/src/res/icons/stock.svg +1 -0
  573. package/projects/corecomponents/src/res/icons/stock_management.svg +25 -0
  574. package/projects/corecomponents/src/res/icons/storage.svg +1 -0
  575. package/projects/corecomponents/src/res/icons/supervisor.svg +1 -0
  576. package/projects/corecomponents/src/res/icons/supplier.svg +18 -0
  577. package/projects/corecomponents/src/res/icons/surgery.svg +35 -0
  578. package/projects/corecomponents/src/res/icons/tablechart.svg +15 -0
  579. package/projects/corecomponents/src/res/icons/tag.svg +1 -0
  580. package/projects/corecomponents/src/res/icons/talk_too_much.svg +7 -0
  581. package/projects/corecomponents/src/res/icons/target.svg +1 -0
  582. package/projects/corecomponents/src/res/icons/task.svg +1 -0
  583. package/projects/corecomponents/src/res/icons/thick_lines.svg +1 -0
  584. package/projects/corecomponents/src/res/icons/thin_lines.svg +1 -0
  585. package/projects/corecomponents/src/res/icons/three_sixty_view.svg +1 -0
  586. package/projects/corecomponents/src/res/icons/thumb_bronze.svg +29 -0
  587. package/projects/corecomponents/src/res/icons/thumb_gold.svg +29 -0
  588. package/projects/corecomponents/src/res/icons/thumb_silver.svg +29 -0
  589. package/projects/corecomponents/src/res/icons/timeline.svg +1 -0
  590. package/projects/corecomponents/src/res/icons/transaction_detail.svg +19 -0
  591. package/projects/corecomponents/src/res/icons/transactions.svg +12 -0
  592. package/projects/corecomponents/src/res/icons/trash_can_solid.svg +1 -0
  593. package/projects/corecomponents/src/res/icons/triangle_down.svg +1 -0
  594. package/projects/corecomponents/src/res/icons/triangle_large.svg +5 -0
  595. package/projects/corecomponents/src/res/icons/triangle_left.svg +1 -0
  596. package/projects/corecomponents/src/res/icons/triangle_right.svg +1 -0
  597. package/projects/corecomponents/src/res/icons/triangle_up.svg +1 -0
  598. package/projects/corecomponents/src/res/icons/truck.svg +1 -0
  599. package/projects/corecomponents/src/res/icons/truck_calendar.svg +15 -0
  600. package/projects/corecomponents/src/res/icons/undo_round_open.svg +1 -0
  601. package/projects/corecomponents/src/res/icons/user.svg +9 -0
  602. package/projects/corecomponents/src/res/icons/variants.svg +1 -0
  603. package/projects/corecomponents/src/res/icons/vbarchart.svg +6 -0
  604. package/projects/corecomponents/src/res/icons/view.svg +1 -0
  605. package/projects/corecomponents/src/res/icons/warehouse.svg +1 -0
  606. package/projects/corecomponents/src/res/icons/watermark.svg +10 -0
  607. package/projects/corecomponents/src/res/icons/website.svg +1 -0
  608. package/projects/corecomponents/src/res/icons/wizard.svg +18 -0
  609. package/projects/corecomponents/src/res/icons/wms.svg +24 -0
  610. package/projects/corecomponents/src/res/icons/work_in_progress.svg +10 -0
  611. package/projects/corecomponents/src/res/icons/work_in_progress_round_open.svg +9 -0
  612. package/projects/corecomponents/src/res/icons/wrench.svg +4 -0
  613. package/projects/corecomponents/src/res/icons/x_axis.svg +5 -0
  614. package/projects/corecomponents/src/res/icons/y_axis.svg +5 -0
  615. package/projects/corecomponents/src/test.ts +28 -0
  616. package/projects/corecomponents/tsconfig.lib.json +20 -0
  617. package/projects/corecomponents/tsconfig.lib.prod.json +16 -0
  618. package/projects/corecomponents/tsconfig.spec.json +17 -0
  619. package/scripts/export.bat +9 -0
  620. package/scripts/merge-icons.js +39 -0
  621. package/scripts/publish.bat +6 -0
  622. package/src/app/app.component.scss +36 -0
  623. package/src/app/app.component.spec.ts +31 -0
  624. package/src/app/app.component.ts +559 -0
  625. package/src/app/app.module.ts +146 -0
  626. package/src/app/components/button-showcase.component.ts +82 -0
  627. package/src/app/components/carousel-3d-showcase.component.ts +70 -0
  628. package/src/app/components/checkbox-showcase.component.ts +56 -0
  629. package/src/app/components/co-dialog-showcase.component.ts +189 -0
  630. package/src/app/components/co-simple-grid-test.component.ts +146 -0
  631. package/src/app/components/filter-item-showcase.component.ts +178 -0
  632. package/src/app/components/forms-showcase.component.ts +728 -0
  633. package/src/app/components/icon-showcase.component.ts +72 -0
  634. package/src/app/components/input-checkbox-showcase.component.ts +87 -0
  635. package/src/app/components/input-date-picker-showcase.component.ts +90 -0
  636. package/src/app/components/input-number-picker-showcase.component.ts +125 -0
  637. package/src/app/components/input-radio-button-showcase.component.ts +87 -0
  638. package/src/app/components/input-scanner-showcase.component.ts +35 -0
  639. package/src/app/components/input-text-showcase.component.ts +217 -0
  640. package/src/app/components/input-time-showcase.component.ts +104 -0
  641. package/src/app/components/number-picker-showcase.component.ts +17 -0
  642. package/src/app/components/simple-grid-showcase.component.ts +60 -0
  643. package/src/app/model/data-item.ts +9 -0
  644. package/src/app/model/enum/currency-code.enum.ts +7 -0
  645. package/src/app/model/enum/language-code.enum.ts +8 -0
  646. package/src/app/model/map/currencies.map.ts +6 -0
  647. package/src/app/service/showcase-data.service.ts +1110 -0
  648. package/src/assets/.gitkeep +0 -0
  649. package/src/environments/environment.prod.ts +3 -0
  650. package/src/environments/environment.ts +16 -0
  651. package/src/favicon.ico +0 -0
  652. package/src/index.html +13 -0
  653. package/src/main.ts +12 -0
  654. package/src/polyfills.ts +65 -0
  655. package/src/styles.scss +57 -0
  656. package/src/test.ts +27 -0
  657. package/tsconfig.app.json +15 -0
  658. package/tsconfig.json +37 -0
  659. package/tsconfig.spec.json +18 -0
  660. package/bundles/colijnit-corecomponents_v12.umd.js +0 -14264
  661. package/bundles/colijnit-corecomponents_v12.umd.js.map +0 -1
  662. package/colijnit-corecomponents_v12.d.ts +0 -43
  663. package/colijnit-corecomponents_v12.metadata.json +0 -1
  664. package/esm2015/colijnit-corecomponents_v12.js +0 -44
  665. package/esm2015/lib/components/article-tile/article-tile.component.js +0 -81
  666. package/esm2015/lib/components/article-tile/article-tile.module.js +0 -35
  667. package/esm2015/lib/components/base/base-input.component.js +0 -834
  668. package/esm2015/lib/components/base/base.module.js +0 -22
  669. package/esm2015/lib/components/base/commit-buttons/commit-buttons.component.js +0 -103
  670. package/esm2015/lib/components/base/commit-buttons/commit-buttons.module.js +0 -21
  671. package/esm2015/lib/components/base/dialog-base.component.js +0 -6
  672. package/esm2015/lib/components/base-input-date-picker/base-input-date-picker.directive.js +0 -25
  673. package/esm2015/lib/components/button/button.component.js +0 -79
  674. package/esm2015/lib/components/button/button.module.js +0 -19
  675. package/esm2015/lib/components/calendar/calendar-template.component.js +0 -342
  676. package/esm2015/lib/components/calendar/calendar.component.js +0 -45
  677. package/esm2015/lib/components/calendar/calendar.module.js +0 -28
  678. package/esm2015/lib/components/card/card.component.js +0 -72
  679. package/esm2015/lib/components/card/card.module.js +0 -35
  680. package/esm2015/lib/components/carousel/carousel.component.js +0 -130
  681. package/esm2015/lib/components/carousel/carousel.module.js +0 -32
  682. package/esm2015/lib/components/carousel-3d/carousel-3d.component.js +0 -315
  683. package/esm2015/lib/components/carousel-3d/carousel-3d.module.js +0 -19
  684. package/esm2015/lib/components/carousel-3d/carouselItem.js +0 -54
  685. package/esm2015/lib/components/checkmark-overlay/checkmark-overlay.component.js +0 -87
  686. package/esm2015/lib/components/checkmark-overlay/checkmark-overlay.module.js +0 -19
  687. package/esm2015/lib/components/co-dialog/co-dialog.component.js +0 -113
  688. package/esm2015/lib/components/co-dialog/co-dialog.module.js +0 -19
  689. package/esm2015/lib/components/co-dialog-wizard/co-dialog-wizard.component.js +0 -51
  690. package/esm2015/lib/components/co-dialog-wizard/co-dialog-wizard.module.js +0 -17
  691. package/esm2015/lib/components/collapsible/collapsible.component.js +0 -92
  692. package/esm2015/lib/components/collapsible/collapsible.module.js +0 -19
  693. package/esm2015/lib/components/color-picker/color-picker.component.js +0 -41
  694. package/esm2015/lib/components/color-picker/color-picker.module.js +0 -21
  695. package/esm2015/lib/components/core-dialog/confirmation-dialog/confirmation-dialog.component.js +0 -79
  696. package/esm2015/lib/components/core-dialog/core-dialog.module.js +0 -39
  697. package/esm2015/lib/components/core-dialog/core-dialog.service.js +0 -67
  698. package/esm2015/lib/components/core-dialog/core-dynamic-component.service.js +0 -93
  699. package/esm2015/lib/components/double-calendar/double-calendar.component.js +0 -80
  700. package/esm2015/lib/components/double-calendar/double-calendar.module.js +0 -25
  701. package/esm2015/lib/components/filter-item/filter-item-viewmodel.js +0 -13
  702. package/esm2015/lib/components/filter-item/filter-item.component.js +0 -646
  703. package/esm2015/lib/components/filter-item/filter-item.module.js +0 -43
  704. package/esm2015/lib/components/filter-item/filter-viewmodel.js +0 -11
  705. package/esm2015/lib/components/form/form.component.js +0 -184
  706. package/esm2015/lib/components/form/form.module.js +0 -23
  707. package/esm2015/lib/components/grid-toolbar/grid-toolbar.component.js +0 -57
  708. package/esm2015/lib/components/grid-toolbar/grid-toolbar.module.js +0 -23
  709. package/esm2015/lib/components/grid-toolbar-button/grid-toolbar-button.component.js +0 -28
  710. package/esm2015/lib/components/grid-toolbar-button/grid-toolbar-button.module.js +0 -19
  711. package/esm2015/lib/components/icon/icon-cache.service.js +0 -52
  712. package/esm2015/lib/components/icon/icon.component.js +0 -48
  713. package/esm2015/lib/components/icon/icon.module.js +0 -25
  714. package/esm2015/lib/components/icon-collapse-handle/icon-collapse-handle.component.js +0 -64
  715. package/esm2015/lib/components/icon-collapse-handle/icon-collapse-handle.module.js +0 -23
  716. package/esm2015/lib/components/image/image.component.js +0 -42
  717. package/esm2015/lib/components/image/image.module.js +0 -14
  718. package/esm2015/lib/components/input-checkbox/input-checkbox.component.js +0 -79
  719. package/esm2015/lib/components/input-checkbox/input-checkbox.module.js +0 -19
  720. package/esm2015/lib/components/input-date-picker/input-date-picker.component.js +0 -91
  721. package/esm2015/lib/components/input-date-picker/input-date-picker.module.js +0 -26
  722. package/esm2015/lib/components/input-date-range-picker/input-date-range-picker.component.js +0 -134
  723. package/esm2015/lib/components/input-date-range-picker/input-date-range-picker.module.js +0 -27
  724. package/esm2015/lib/components/input-number-picker/input-number-picker.component.js +0 -314
  725. package/esm2015/lib/components/input-number-picker/input-number-picker.module.js +0 -23
  726. package/esm2015/lib/components/input-radio-button/input-radio-button.component.js +0 -84
  727. package/esm2015/lib/components/input-radio-button/input-radio-button.module.js +0 -19
  728. package/esm2015/lib/components/input-scanner/bar-code-scanner.js +0 -23
  729. package/esm2015/lib/components/input-scanner/input-scanner.component.js +0 -72
  730. package/esm2015/lib/components/input-scanner/input-scanner.module.js +0 -21
  731. package/esm2015/lib/components/input-scanner/scanner.service.js +0 -28
  732. package/esm2015/lib/components/input-search/input-search.component.js +0 -83
  733. package/esm2015/lib/components/input-search/input-search.module.js +0 -21
  734. package/esm2015/lib/components/input-text/input-text.component.js +0 -246
  735. package/esm2015/lib/components/input-text/input-text.module.js +0 -33
  736. package/esm2015/lib/components/input-textarea/input-textarea.component.js +0 -78
  737. package/esm2015/lib/components/input-textarea/input-textarea.module.js +0 -27
  738. package/esm2015/lib/components/level-indicator/level-indicator-level.enum.js +0 -7
  739. package/esm2015/lib/components/level-indicator/level-indicator.component.js +0 -36
  740. package/esm2015/lib/components/level-indicator/level-indicator.module.js +0 -15
  741. package/esm2015/lib/components/list-of-icons/list-of-icons.component.js +0 -59
  742. package/esm2015/lib/components/list-of-icons/list-of-icons.module.js +0 -25
  743. package/esm2015/lib/components/list-of-values/list-of-values-multiselect-popup.component.js +0 -112
  744. package/esm2015/lib/components/list-of-values/list-of-values-popup.component.js +0 -251
  745. package/esm2015/lib/components/list-of-values/list-of-values.component.js +0 -233
  746. package/esm2015/lib/components/list-of-values/list-of-values.module.js +0 -38
  747. package/esm2015/lib/components/loader/loader.component.js +0 -84
  748. package/esm2015/lib/components/loader/loader.module.js +0 -19
  749. package/esm2015/lib/components/pagination/paginate.pipe.js +0 -99
  750. package/esm2015/lib/components/pagination/pagination-instance.js +0 -2
  751. package/esm2015/lib/components/pagination/pagination.component.js +0 -126
  752. package/esm2015/lib/components/pagination/pagination.module.js +0 -28
  753. package/esm2015/lib/components/pagination/pagination.service.js +0 -88
  754. package/esm2015/lib/components/pagination-bar/pagination-bar.component.js +0 -151
  755. package/esm2015/lib/components/pagination-bar/pagination-bar.module.js +0 -19
  756. package/esm2015/lib/components/popup/const/popup-window-token.js +0 -3
  757. package/esm2015/lib/components/popup/interface/popup-button.js +0 -8
  758. package/esm2015/lib/components/popup/interface/popup-close-event.js +0 -2
  759. package/esm2015/lib/components/popup/interface/popup-settings.js +0 -42
  760. package/esm2015/lib/components/popup/interface/popup.js +0 -2
  761. package/esm2015/lib/components/popup/model/popup-button-globals.js +0 -11
  762. package/esm2015/lib/components/popup/model/popup-window.js +0 -38
  763. package/esm2015/lib/components/popup/popup-buttons.component.js +0 -53
  764. package/esm2015/lib/components/popup/popup-message-display.component.js +0 -47
  765. package/esm2015/lib/components/popup/popup-window-shell.component.js +0 -159
  766. package/esm2015/lib/components/popup/popup.module.js +0 -49
  767. package/esm2015/lib/components/popup/service/popup-shower.service.js +0 -90
  768. package/esm2015/lib/components/popup/service/prompt.service.js +0 -127
  769. package/esm2015/lib/components/popup/text-input-popup.component.js +0 -36
  770. package/esm2015/lib/components/responsive-text/responsive-text.component.js +0 -24
  771. package/esm2015/lib/components/responsive-text/responsive-text.module.js +0 -19
  772. package/esm2015/lib/components/simple-grid/base-simple-grid.component.js +0 -166
  773. package/esm2015/lib/components/simple-grid/simple-grid-cell.component.js +0 -172
  774. package/esm2015/lib/components/simple-grid/simple-grid-column.directive.js +0 -113
  775. package/esm2015/lib/components/simple-grid/simple-grid.component.js +0 -612
  776. package/esm2015/lib/components/simple-grid/simple-grid.module.js +0 -45
  777. package/esm2015/lib/components/tile/tile.component.js +0 -73
  778. package/esm2015/lib/components/tile/tile.module.js +0 -23
  779. package/esm2015/lib/components/tile-select/tile-select.component.js +0 -36
  780. package/esm2015/lib/components/tile-select/tile-select.module.js +0 -21
  781. package/esm2015/lib/components/tooltip/tooltip.component.js +0 -77
  782. package/esm2015/lib/components/tooltip/tooltip.module.js +0 -19
  783. package/esm2015/lib/components/validation-error/validation-error.component.js +0 -38
  784. package/esm2015/lib/components/validation-error/validation-error.module.js +0 -25
  785. package/esm2015/lib/components/view-mode-buttons/content-view-mode.enum.js +0 -11
  786. package/esm2015/lib/components/view-mode-buttons/view-mode-buttons.component.js +0 -61
  787. package/esm2015/lib/components/view-mode-buttons/view-mode-buttons.module.js +0 -21
  788. package/esm2015/lib/core/constant/default-upper-bound-for-range-components.js +0 -4
  789. package/esm2015/lib/core/constant/java-max-int.js +0 -2
  790. package/esm2015/lib/core/constant/number-inputs-key-down-white-list.js +0 -45
  791. package/esm2015/lib/core/decorator/input-boolean.decorator.js +0 -34
  792. package/esm2015/lib/core/enum/co-direction.js +0 -9
  793. package/esm2015/lib/core/enum/co-document-image-display-kind.enum.js +0 -7
  794. package/esm2015/lib/core/enum/co-document-type.enum.js +0 -11
  795. package/esm2015/lib/core/enum/co-orientation.js +0 -17
  796. package/esm2015/lib/core/enum/core-components-icon.enum.js +0 -300
  797. package/esm2015/lib/core/enum/file-type-internal.enum.js +0 -17
  798. package/esm2015/lib/core/enum/file-type.enum.js +0 -11
  799. package/esm2015/lib/core/enum/filterItem-mode.enum.js +0 -43
  800. package/esm2015/lib/core/enum/input-number-picker-show-mode.enum.js +0 -8
  801. package/esm2015/lib/core/enum/keyboard-code.enum.js +0 -74
  802. package/esm2015/lib/core/enum/keyboard-key.enum.js +0 -76
  803. package/esm2015/lib/core/enum/object-right-type.enum.js +0 -7
  804. package/esm2015/lib/core/enum/popup-button-type.enum.js +0 -12
  805. package/esm2015/lib/core/enum/popup-type.enum.js +0 -11
  806. package/esm2015/lib/core/enum/table-name.enum.js +0 -81
  807. package/esm2015/lib/core/function/any-nill.function.js +0 -6
  808. package/esm2015/lib/core/function/is-nill.function.js +0 -5
  809. package/esm2015/lib/core/function/none-nill.function.js +0 -17
  810. package/esm2015/lib/core/function/not-nill.function.js +0 -5
  811. package/esm2015/lib/core/model/bounds-constrained-number-value.js +0 -171
  812. package/esm2015/lib/core/model/check-precision-and-scale-result.js +0 -2
  813. package/esm2015/lib/core/model/check-within-stepped-bounds-result.js +0 -2
  814. package/esm2015/lib/core/model/co-document-right.bo.js +0 -3
  815. package/esm2015/lib/core/model/co-document.bo.js +0 -121
  816. package/esm2015/lib/core/model/core-components-icon-svg.js +0 -299
  817. package/esm2015/lib/core/model/element-position.js +0 -10
  818. package/esm2015/lib/core/model/event/string-prompt-result-event.js +0 -8
  819. package/esm2015/lib/core/service/form-input-user-change-listener.service.js +0 -25
  820. package/esm2015/lib/core/service/form-master.service.js +0 -102
  821. package/esm2015/lib/core/service/ng-zone-wrapper.service.js +0 -20
  822. package/esm2015/lib/core/utils/array-utils.js +0 -264
  823. package/esm2015/lib/core/utils/browser-utils.js +0 -100
  824. package/esm2015/lib/core/utils/direction-enum-utils.js +0 -14
  825. package/esm2015/lib/core/utils/event-utils.js +0 -53
  826. package/esm2015/lib/core/utils/file-utils.js +0 -267
  827. package/esm2015/lib/core/utils/number-utils.js +0 -309
  828. package/esm2015/lib/core/utils/object-utils.js +0 -186
  829. package/esm2015/lib/core/utils/string-utils.js +0 -94
  830. package/esm2015/lib/core/validator/email.validator.js +0 -6
  831. package/esm2015/lib/core/validator/equal.validator.js +0 -11
  832. package/esm2015/lib/core/validator/max-string-length.validator.js +0 -10
  833. package/esm2015/lib/core/validator/password.validator.js +0 -31
  834. package/esm2015/lib/core/validator/precision-scale.validator.js +0 -11
  835. package/esm2015/lib/core/validator/required.validator.js +0 -5
  836. package/esm2015/lib/directives/clickoutside/click-outside-master.service.js +0 -57
  837. package/esm2015/lib/directives/clickoutside/click-outside.directive.js +0 -71
  838. package/esm2015/lib/directives/clickoutside/clickoutside.module.js +0 -19
  839. package/esm2015/lib/directives/observe-visibility/observe-visibility.directive.js +0 -53
  840. package/esm2015/lib/directives/observe-visibility/observe-visibility.module.js +0 -15
  841. package/esm2015/lib/directives/overlay/overlay-parent.directive.js +0 -19
  842. package/esm2015/lib/directives/overlay/overlay.directive.js +0 -161
  843. package/esm2015/lib/directives/overlay/overlay.module.js +0 -18
  844. package/esm2015/lib/directives/ripple/ripple-ref.js +0 -26
  845. package/esm2015/lib/directives/ripple/ripple-renderer.js +0 -160
  846. package/esm2015/lib/directives/ripple/ripple.directive.js +0 -80
  847. package/esm2015/lib/directives/ripple/ripple.module.js +0 -24
  848. package/esm2015/lib/directives/ripple/scroll-dispatcher.service.js +0 -108
  849. package/esm2015/lib/directives/ripple/scrollable.directive.js +0 -40
  850. package/esm2015/lib/directives/ripple/viewport-ruler.service.js +0 -73
  851. package/esm2015/lib/directives/screen-configuration/screen-configuration.directive.js +0 -158
  852. package/esm2015/lib/directives/screen-configuration/screen-configuration.module.js +0 -19
  853. package/esm2015/lib/directives/stopclick/stop-click.directive.js +0 -38
  854. package/esm2015/lib/directives/stopclick/stop-click.module.js +0 -15
  855. package/esm2015/lib/directives/template-wrapper/template-wrapper.directive.js +0 -68
  856. package/esm2015/lib/directives/template-wrapper/template-wrapper.module.js +0 -15
  857. package/esm2015/lib/directives/tooltip/tooltip-directive.module.js +0 -19
  858. package/esm2015/lib/directives/tooltip/tooltip.directive.js +0 -78
  859. package/esm2015/lib/interfaces/dialog-response.interface.js +0 -2
  860. package/esm2015/lib/interfaces/scanner-input.interface.js +0 -2
  861. package/esm2015/lib/interfaces/screen-config-adapter-component-interface-name.js +0 -4
  862. package/esm2015/lib/interfaces/screen-config-adapter.component.interface.js +0 -2
  863. package/esm2015/lib/model/enum/app-button-type.enum.js +0 -11
  864. package/esm2015/lib/model/enum/app-popup-type.enum.js +0 -8
  865. package/esm2015/lib/model/icon-list-item.js +0 -2
  866. package/esm2015/lib/pipes/append.pipe.js +0 -17
  867. package/esm2015/lib/pipes/append.pipe.module.js +0 -15
  868. package/esm2015/lib/pipes/filter.pipe.js +0 -16
  869. package/esm2015/lib/pipes/filter.pipe.module.js +0 -15
  870. package/esm2015/lib/pipes/prepend.pipe.js +0 -17
  871. package/esm2015/lib/pipes/prepend.pipe.module.js +0 -15
  872. package/esm2015/lib/pipes/price-display-pipe.module.js +0 -15
  873. package/esm2015/lib/pipes/price-display.pipe.js +0 -20
  874. package/esm2015/lib/service/base-module-screen-config.service.js +0 -205
  875. package/esm2015/lib/service/base-module.service.js +0 -42
  876. package/esm2015/lib/service/color-sequence.service.js +0 -49
  877. package/esm2015/lib/service/overlay.service.js +0 -73
  878. package/esm2015/lib/translation/core-components-translation.module.js +0 -29
  879. package/esm2015/lib/translation/core-components-translation.service.js +0 -17
  880. package/esm2015/lib/translation/core-dictionary.service.js +0 -29
  881. package/esm2015/lib/translation/core-localize.pipe.js +0 -26
  882. package/esm2015/public-api.js +0 -132
  883. package/fesm2015/colijnit-corecomponents_v12.js +0 -13660
  884. package/fesm2015/colijnit-corecomponents_v12.js.map +0 -1
  885. package/lib/components/article-tile/article-tile.component.d.ts +0 -22
  886. package/lib/components/article-tile/article-tile.module.d.ts +0 -2
  887. package/lib/components/base/base-input.component.d.ts +0 -182
  888. package/lib/components/base/base.module.d.ts +0 -2
  889. package/lib/components/base/commit-buttons/commit-buttons.component.d.ts +0 -21
  890. package/lib/components/base/commit-buttons/commit-buttons.module.d.ts +0 -2
  891. package/lib/components/base/dialog-base.component.d.ts +0 -4
  892. package/lib/components/base-input-date-picker/base-input-date-picker.directive.d.ts +0 -15
  893. package/lib/components/button/button.component.d.ts +0 -29
  894. package/lib/components/button/button.module.d.ts +0 -2
  895. package/lib/components/calendar/calendar-template.component.d.ts +0 -60
  896. package/lib/components/calendar/calendar.component.d.ts +0 -13
  897. package/lib/components/calendar/calendar.module.d.ts +0 -2
  898. package/lib/components/card/card.component.d.ts +0 -23
  899. package/lib/components/card/card.module.d.ts +0 -2
  900. package/lib/components/carousel/carousel.component.d.ts +0 -23
  901. package/lib/components/carousel/carousel.module.d.ts +0 -6
  902. package/lib/components/carousel-3d/carousel-3d.component.d.ts +0 -55
  903. package/lib/components/carousel-3d/carousel-3d.module.d.ts +0 -2
  904. package/lib/components/carousel-3d/carouselItem.d.ts +0 -13
  905. package/lib/components/checkmark-overlay/checkmark-overlay.component.d.ts +0 -17
  906. package/lib/components/checkmark-overlay/checkmark-overlay.module.d.ts +0 -2
  907. package/lib/components/co-dialog/co-dialog.component.d.ts +0 -23
  908. package/lib/components/co-dialog/co-dialog.module.d.ts +0 -2
  909. package/lib/components/co-dialog-wizard/co-dialog-wizard.component.d.ts +0 -9
  910. package/lib/components/co-dialog-wizard/co-dialog-wizard.module.d.ts +0 -2
  911. package/lib/components/collapsible/collapsible.component.d.ts +0 -22
  912. package/lib/components/collapsible/collapsible.module.d.ts +0 -2
  913. package/lib/components/color-picker/color-picker.component.d.ts +0 -6
  914. package/lib/components/color-picker/color-picker.module.d.ts +0 -2
  915. package/lib/components/core-dialog/confirmation-dialog/confirmation-dialog.component.d.ts +0 -20
  916. package/lib/components/core-dialog/core-dialog.module.d.ts +0 -4
  917. package/lib/components/core-dialog/core-dialog.service.d.ts +0 -15
  918. package/lib/components/core-dialog/core-dynamic-component.service.d.ts +0 -12
  919. package/lib/components/double-calendar/double-calendar.component.d.ts +0 -18
  920. package/lib/components/double-calendar/double-calendar.module.d.ts +0 -2
  921. package/lib/components/filter-item/filter-item-viewmodel.d.ts +0 -9
  922. package/lib/components/filter-item/filter-item.component.d.ts +0 -80
  923. package/lib/components/filter-item/filter-item.module.d.ts +0 -2
  924. package/lib/components/filter-item/filter-viewmodel.d.ts +0 -8
  925. package/lib/components/form/form.component.d.ts +0 -39
  926. package/lib/components/form/form.module.d.ts +0 -2
  927. package/lib/components/grid-toolbar/grid-toolbar.component.d.ts +0 -19
  928. package/lib/components/grid-toolbar/grid-toolbar.module.d.ts +0 -2
  929. package/lib/components/grid-toolbar-button/grid-toolbar-button.component.d.ts +0 -8
  930. package/lib/components/grid-toolbar-button/grid-toolbar-button.module.d.ts +0 -2
  931. package/lib/components/icon/icon-cache.service.d.ts +0 -20
  932. package/lib/components/icon/icon.component.d.ts +0 -17
  933. package/lib/components/icon/icon.module.d.ts +0 -2
  934. package/lib/components/icon-collapse-handle/icon-collapse-handle.component.d.ts +0 -21
  935. package/lib/components/icon-collapse-handle/icon-collapse-handle.module.d.ts +0 -2
  936. package/lib/components/image/image.component.d.ts +0 -20
  937. package/lib/components/image/image.module.d.ts +0 -2
  938. package/lib/components/input-checkbox/input-checkbox.component.d.ts +0 -24
  939. package/lib/components/input-checkbox/input-checkbox.module.d.ts +0 -2
  940. package/lib/components/input-date-picker/input-date-picker.component.d.ts +0 -12
  941. package/lib/components/input-date-picker/input-date-picker.module.d.ts +0 -2
  942. package/lib/components/input-date-range-picker/input-date-range-picker.component.d.ts +0 -20
  943. package/lib/components/input-date-range-picker/input-date-range-picker.module.d.ts +0 -2
  944. package/lib/components/input-number-picker/input-number-picker.component.d.ts +0 -73
  945. package/lib/components/input-number-picker/input-number-picker.module.d.ts +0 -2
  946. package/lib/components/input-radio-button/input-radio-button.component.d.ts +0 -19
  947. package/lib/components/input-radio-button/input-radio-button.module.d.ts +0 -2
  948. package/lib/components/input-scanner/bar-code-scanner.d.ts +0 -7
  949. package/lib/components/input-scanner/input-scanner.component.d.ts +0 -24
  950. package/lib/components/input-scanner/input-scanner.module.d.ts +0 -2
  951. package/lib/components/input-scanner/scanner.service.d.ts +0 -11
  952. package/lib/components/input-search/input-search.component.d.ts +0 -20
  953. package/lib/components/input-search/input-search.module.d.ts +0 -2
  954. package/lib/components/input-text/input-text.component.d.ts +0 -66
  955. package/lib/components/input-text/input-text.module.d.ts +0 -2
  956. package/lib/components/input-textarea/input-textarea.component.d.ts +0 -19
  957. package/lib/components/input-textarea/input-textarea.module.d.ts +0 -2
  958. package/lib/components/level-indicator/level-indicator-level.enum.d.ts +0 -5
  959. package/lib/components/level-indicator/level-indicator.component.d.ts +0 -10
  960. package/lib/components/level-indicator/level-indicator.module.d.ts +0 -2
  961. package/lib/components/list-of-icons/list-of-icons.component.d.ts +0 -18
  962. package/lib/components/list-of-icons/list-of-icons.module.d.ts +0 -2
  963. package/lib/components/list-of-icons/style/_layout.scss +0 -83
  964. package/lib/components/list-of-values/list-of-values-multiselect-popup.component.d.ts +0 -25
  965. package/lib/components/list-of-values/list-of-values-popup.component.d.ts +0 -47
  966. package/lib/components/list-of-values/list-of-values.component.d.ts +0 -37
  967. package/lib/components/list-of-values/list-of-values.module.d.ts +0 -2
  968. package/lib/components/loader/loader.component.d.ts +0 -3
  969. package/lib/components/loader/loader.module.d.ts +0 -2
  970. package/lib/components/pagination/paginate.pipe.d.ts +0 -15
  971. package/lib/components/pagination/pagination-instance.d.ts +0 -14
  972. package/lib/components/pagination/pagination.component.d.ts +0 -38
  973. package/lib/components/pagination/pagination.module.d.ts +0 -2
  974. package/lib/components/pagination/pagination.service.d.ts +0 -24
  975. package/lib/components/pagination-bar/pagination-bar.component.d.ts +0 -33
  976. package/lib/components/pagination-bar/pagination-bar.module.d.ts +0 -2
  977. package/lib/components/popup/const/popup-window-token.d.ts +0 -3
  978. package/lib/components/popup/interface/popup-button.d.ts +0 -8
  979. package/lib/components/popup/interface/popup-close-event.d.ts +0 -5
  980. package/lib/components/popup/interface/popup-settings.d.ts +0 -21
  981. package/lib/components/popup/interface/popup.d.ts +0 -9
  982. package/lib/components/popup/model/popup-button-globals.d.ts +0 -9
  983. package/lib/components/popup/model/popup-window.d.ts +0 -21
  984. package/lib/components/popup/popup-buttons.component.d.ts +0 -13
  985. package/lib/components/popup/popup-message-display.component.d.ts +0 -12
  986. package/lib/components/popup/popup-window-shell.component.d.ts +0 -42
  987. package/lib/components/popup/popup.module.d.ts +0 -4
  988. package/lib/components/popup/service/popup-shower.service.d.ts +0 -17
  989. package/lib/components/popup/service/prompt.service.d.ts +0 -17
  990. package/lib/components/popup/text-input-popup.component.d.ts +0 -12
  991. package/lib/components/responsive-text/responsive-text.component.d.ts +0 -4
  992. package/lib/components/responsive-text/responsive-text.module.d.ts +0 -2
  993. package/lib/components/simple-grid/base-simple-grid.component.d.ts +0 -53
  994. package/lib/components/simple-grid/simple-grid-cell.component.d.ts +0 -30
  995. package/lib/components/simple-grid/simple-grid-column.directive.d.ts +0 -43
  996. package/lib/components/simple-grid/simple-grid.component.d.ts +0 -78
  997. package/lib/components/simple-grid/simple-grid.module.d.ts +0 -2
  998. package/lib/components/tile/tile.component.d.ts +0 -16
  999. package/lib/components/tile/tile.module.d.ts +0 -2
  1000. package/lib/components/tile-select/tile-select.component.d.ts +0 -8
  1001. package/lib/components/tile-select/tile-select.module.d.ts +0 -2
  1002. package/lib/components/tooltip/tooltip.component.d.ts +0 -18
  1003. package/lib/components/tooltip/tooltip.module.d.ts +0 -2
  1004. package/lib/components/validation-error/validation-error.component.d.ts +0 -12
  1005. package/lib/components/validation-error/validation-error.module.d.ts +0 -2
  1006. package/lib/components/view-mode-buttons/content-view-mode.enum.d.ts +0 -8
  1007. package/lib/components/view-mode-buttons/view-mode-buttons.component.d.ts +0 -17
  1008. package/lib/components/view-mode-buttons/view-mode-buttons.module.d.ts +0 -2
  1009. package/lib/core/constant/default-upper-bound-for-range-components.d.ts +0 -2
  1010. package/lib/core/constant/java-max-int.d.ts +0 -1
  1011. package/lib/core/constant/number-inputs-key-down-white-list.d.ts +0 -2
  1012. package/lib/core/decorator/input-boolean.decorator.d.ts +0 -8
  1013. package/lib/core/enum/co-direction.d.ts +0 -6
  1014. package/lib/core/enum/co-document-image-display-kind.enum.d.ts +0 -5
  1015. package/lib/core/enum/co-document-type.enum.d.ts +0 -5
  1016. package/lib/core/enum/co-orientation.d.ts +0 -6
  1017. package/lib/core/enum/core-components-icon.enum.d.ts +0 -298
  1018. package/lib/core/enum/file-type-internal.enum.d.ts +0 -15
  1019. package/lib/core/enum/file-type.enum.d.ts +0 -5
  1020. package/lib/core/enum/filterItem-mode.enum.d.ts +0 -15
  1021. package/lib/core/enum/input-number-picker-show-mode.enum.d.ts +0 -5
  1022. package/lib/core/enum/keyboard-code.enum.d.ts +0 -71
  1023. package/lib/core/enum/keyboard-key.enum.d.ts +0 -70
  1024. package/lib/core/enum/object-right-type.enum.d.ts +0 -5
  1025. package/lib/core/enum/popup-button-type.enum.d.ts +0 -9
  1026. package/lib/core/enum/popup-type.enum.d.ts +0 -9
  1027. package/lib/core/enum/table-name.enum.d.ts +0 -79
  1028. package/lib/core/function/any-nill.function.d.ts +0 -1
  1029. package/lib/core/function/is-nill.function.d.ts +0 -1
  1030. package/lib/core/function/none-nill.function.d.ts +0 -1
  1031. package/lib/core/function/not-nill.function.d.ts +0 -1
  1032. package/lib/core/model/bounds-constrained-number-value.d.ts +0 -46
  1033. package/lib/core/model/check-precision-and-scale-result.d.ts +0 -4
  1034. package/lib/core/model/check-within-stepped-bounds-result.d.ts +0 -8
  1035. package/lib/core/model/co-document-right.bo.d.ts +0 -6
  1036. package/lib/core/model/co-document.bo.d.ts +0 -61
  1037. package/lib/core/model/core-components-icon-svg.d.ts +0 -4
  1038. package/lib/core/model/element-position.d.ts +0 -7
  1039. package/lib/core/model/event/string-prompt-result-event.d.ts +0 -6
  1040. package/lib/core/service/form-input-user-change-listener.service.d.ts +0 -10
  1041. package/lib/core/service/form-master.service.d.ts +0 -26
  1042. package/lib/core/service/ng-zone-wrapper.service.d.ts +0 -6
  1043. package/lib/core/utils/array-utils.d.ts +0 -85
  1044. package/lib/core/utils/browser-utils.d.ts +0 -15
  1045. package/lib/core/utils/direction-enum-utils.d.ts +0 -5
  1046. package/lib/core/utils/event-utils.d.ts +0 -12
  1047. package/lib/core/utils/file-utils.d.ts +0 -29
  1048. package/lib/core/utils/number-utils.d.ts +0 -89
  1049. package/lib/core/utils/object-utils.d.ts +0 -31
  1050. package/lib/core/utils/string-utils.d.ts +0 -25
  1051. package/lib/core/validator/email.validator.d.ts +0 -2
  1052. package/lib/core/validator/equal.validator.d.ts +0 -2
  1053. package/lib/core/validator/max-string-length.validator.d.ts +0 -2
  1054. package/lib/core/validator/password.validator.d.ts +0 -3
  1055. package/lib/core/validator/precision-scale.validator.d.ts +0 -2
  1056. package/lib/core/validator/required.validator.d.ts +0 -2
  1057. package/lib/directives/clickoutside/click-outside-master.service.d.ts +0 -15
  1058. package/lib/directives/clickoutside/click-outside.directive.d.ts +0 -18
  1059. package/lib/directives/clickoutside/clickoutside.module.d.ts +0 -2
  1060. package/lib/directives/observe-visibility/observe-visibility.directive.d.ts +0 -14
  1061. package/lib/directives/observe-visibility/observe-visibility.module.d.ts +0 -2
  1062. package/lib/directives/overlay/overlay-parent.directive.d.ts +0 -6
  1063. package/lib/directives/overlay/overlay.directive.d.ts +0 -25
  1064. package/lib/directives/overlay/overlay.module.d.ts +0 -2
  1065. package/lib/directives/ripple/ripple-ref.d.ts +0 -21
  1066. package/lib/directives/ripple/ripple-renderer.d.ts +0 -56
  1067. package/lib/directives/ripple/ripple.directive.d.ts +0 -56
  1068. package/lib/directives/ripple/ripple.module.d.ts +0 -2
  1069. package/lib/directives/ripple/scroll-dispatcher.service.d.ts +0 -51
  1070. package/lib/directives/ripple/scrollable.directive.d.ts +0 -20
  1071. package/lib/directives/ripple/viewport-ruler.service.d.ts +0 -29
  1072. package/lib/directives/screen-configuration/screen-configuration.directive.d.ts +0 -32
  1073. package/lib/directives/screen-configuration/screen-configuration.module.d.ts +0 -2
  1074. package/lib/directives/stopclick/stop-click.directive.d.ts +0 -10
  1075. package/lib/directives/stopclick/stop-click.module.d.ts +0 -2
  1076. package/lib/directives/template-wrapper/template-wrapper.directive.d.ts +0 -13
  1077. package/lib/directives/template-wrapper/template-wrapper.module.d.ts +0 -2
  1078. package/lib/directives/tooltip/tooltip-directive.module.d.ts +0 -2
  1079. package/lib/directives/tooltip/tooltip.directive.d.ts +0 -20
  1080. package/lib/interfaces/dialog-response.interface.d.ts +0 -6
  1081. package/lib/interfaces/screen-config-adapter-component-interface-name.d.ts +0 -3
  1082. package/lib/interfaces/screen-config-adapter.component.interface.d.ts +0 -10
  1083. package/lib/model/enum/app-button-type.enum.d.ts +0 -9
  1084. package/lib/model/enum/app-popup-type.enum.d.ts +0 -6
  1085. package/lib/model/icon-list-item.d.ts +0 -6
  1086. package/lib/pipes/append.pipe.d.ts +0 -4
  1087. package/lib/pipes/append.pipe.module.d.ts +0 -2
  1088. package/lib/pipes/filter.pipe.d.ts +0 -4
  1089. package/lib/pipes/filter.pipe.module.d.ts +0 -2
  1090. package/lib/pipes/prepend.pipe.d.ts +0 -4
  1091. package/lib/pipes/prepend.pipe.module.d.ts +0 -2
  1092. package/lib/pipes/price-display-pipe.module.d.ts +0 -2
  1093. package/lib/pipes/price-display.pipe.d.ts +0 -4
  1094. package/lib/service/base-module-screen-config.service.d.ts +0 -47
  1095. package/lib/service/base-module.service.d.ts +0 -22
  1096. package/lib/service/color-sequence.service.d.ts +0 -7
  1097. package/lib/service/overlay.service.d.ts +0 -13
  1098. package/lib/translation/core-components-translation.module.d.ts +0 -4
  1099. package/lib/translation/core-components-translation.service.d.ts +0 -6
  1100. package/lib/translation/core-dictionary.service.d.ts +0 -12
  1101. package/lib/translation/core-localize.pipe.d.ts +0 -7
  1102. package/public-api.d.ts +0 -128
  1103. /package/{lib → projects/corecomponents/src/lib}/components/article-tile/article-tile.component.scss +0 -0
  1104. /package/{lib → projects/corecomponents/src/lib}/components/base/commit-buttons/style/_layout.scss +0 -0
  1105. /package/{lib → projects/corecomponents/src/lib}/components/base/commit-buttons/style/_material-definition.scss +0 -0
  1106. /package/{lib → projects/corecomponents/src/lib}/components/base/commit-buttons/style/_theme.scss +0 -0
  1107. /package/{lib → projects/corecomponents/src/lib}/components/base/commit-buttons/style/material.scss +0 -0
  1108. /package/{lib → projects/corecomponents/src/lib}/components/button/style/_co-ripple.scss +0 -0
  1109. /package/{lib → projects/corecomponents/src/lib}/components/button/style/_layout.scss +0 -0
  1110. /package/{lib → projects/corecomponents/src/lib}/components/button/style/_material-definition.scss +0 -0
  1111. /package/{lib → projects/corecomponents/src/lib}/components/button/style/_theme.scss +0 -0
  1112. /package/{lib → projects/corecomponents/src/lib}/components/button/style/material.scss +0 -0
  1113. /package/{lib → projects/corecomponents/src/lib}/components/calendar/style/_layout.scss +0 -0
  1114. /package/{lib → projects/corecomponents/src/lib}/components/calendar/style/_material-definition.scss +0 -0
  1115. /package/{lib → projects/corecomponents/src/lib}/components/calendar/style/_theme.scss +0 -0
  1116. /package/{lib → projects/corecomponents/src/lib}/components/calendar/style/material.scss +0 -0
  1117. /package/{lib → projects/corecomponents/src/lib}/components/card/style/_layout.scss +0 -0
  1118. /package/{lib → projects/corecomponents/src/lib}/components/card/style/_material-definition.scss +0 -0
  1119. /package/{lib → projects/corecomponents/src/lib}/components/card/style/_theme.scss +0 -0
  1120. /package/{lib → projects/corecomponents/src/lib}/components/card/style/material.scss +0 -0
  1121. /package/{lib → projects/corecomponents/src/lib}/components/carousel/style/_layout.scss +0 -0
  1122. /package/{lib → projects/corecomponents/src/lib}/components/carousel/style/_material-definition.scss +0 -0
  1123. /package/{lib → projects/corecomponents/src/lib}/components/carousel/style/_theme.scss +0 -0
  1124. /package/{lib → projects/corecomponents/src/lib}/components/carousel/style/material.scss +0 -0
  1125. /package/{lib → projects/corecomponents/src/lib}/components/carousel-3d/style/_layout.scss +0 -0
  1126. /package/{lib → projects/corecomponents/src/lib}/components/carousel-3d/style/_material-definition.scss +0 -0
  1127. /package/{lib → projects/corecomponents/src/lib}/components/carousel-3d/style/_theme.scss +0 -0
  1128. /package/{lib → projects/corecomponents/src/lib}/components/carousel-3d/style/material.scss +0 -0
  1129. /package/{lib → projects/corecomponents/src/lib}/components/checkmark-overlay/style/_layout.scss +0 -0
  1130. /package/{lib → projects/corecomponents/src/lib}/components/checkmark-overlay/style/_material-definition.scss +0 -0
  1131. /package/{lib → projects/corecomponents/src/lib}/components/checkmark-overlay/style/_theme.scss +0 -0
  1132. /package/{lib → projects/corecomponents/src/lib}/components/checkmark-overlay/style/material.scss +0 -0
  1133. /package/{lib → projects/corecomponents/src/lib}/components/co-dialog/style/_layout.scss +0 -0
  1134. /package/{lib → projects/corecomponents/src/lib}/components/co-dialog/style/_material-definition.scss +0 -0
  1135. /package/{lib → projects/corecomponents/src/lib}/components/co-dialog/style/_theme.scss +0 -0
  1136. /package/{lib → projects/corecomponents/src/lib}/components/co-dialog/style/material.scss +0 -0
  1137. /package/{lib → projects/corecomponents/src/lib}/components/co-dialog-wizard/style/_layout.scss +0 -0
  1138. /package/{lib → projects/corecomponents/src/lib}/components/co-dialog-wizard/style/_material-definition.scss +0 -0
  1139. /package/{lib → projects/corecomponents/src/lib}/components/co-dialog-wizard/style/_theme.scss +0 -0
  1140. /package/{lib → projects/corecomponents/src/lib}/components/co-dialog-wizard/style/material.scss +0 -0
  1141. /package/{lib → projects/corecomponents/src/lib}/components/collapsible/style/_layout.scss +0 -0
  1142. /package/{lib → projects/corecomponents/src/lib}/components/collapsible/style/_material-definition.scss +0 -0
  1143. /package/{lib → projects/corecomponents/src/lib}/components/collapsible/style/_theme.scss +0 -0
  1144. /package/{lib → projects/corecomponents/src/lib}/components/collapsible/style/material.scss +0 -0
  1145. /package/{lib → projects/corecomponents/src/lib}/components/color-picker/style/_layout.scss +0 -0
  1146. /package/{lib → projects/corecomponents/src/lib}/components/color-picker/style/_material-definition.scss +0 -0
  1147. /package/{lib → projects/corecomponents/src/lib}/components/color-picker/style/_theme.scss +0 -0
  1148. /package/{lib → projects/corecomponents/src/lib}/components/color-picker/style/material.scss +0 -0
  1149. /package/{lib → projects/corecomponents/src/lib}/components/core-dialog/confirmation-dialog/style/_layout.scss +0 -0
  1150. /package/{lib → projects/corecomponents/src/lib}/components/core-dialog/confirmation-dialog/style/_material-definition.scss +0 -0
  1151. /package/{lib → projects/corecomponents/src/lib}/components/core-dialog/confirmation-dialog/style/_theme.scss +0 -0
  1152. /package/{lib → projects/corecomponents/src/lib}/components/core-dialog/confirmation-dialog/style/material.scss +0 -0
  1153. /package/{lib → projects/corecomponents/src/lib}/components/core-dialog/style/_layout.scss +0 -0
  1154. /package/{lib → projects/corecomponents/src/lib}/components/core-dialog/style/_material-definition.scss +0 -0
  1155. /package/{lib → projects/corecomponents/src/lib}/components/core-dialog/style/_theme.scss +0 -0
  1156. /package/{lib → projects/corecomponents/src/lib}/components/core-dialog/style/material.scss +0 -0
  1157. /package/{lib → projects/corecomponents/src/lib}/components/double-calendar/style/_layout.scss +0 -0
  1158. /package/{lib → projects/corecomponents/src/lib}/components/double-calendar/style/_material-definition.scss +0 -0
  1159. /package/{lib → projects/corecomponents/src/lib}/components/double-calendar/style/_theme.scss +0 -0
  1160. /package/{lib → projects/corecomponents/src/lib}/components/double-calendar/style/material.scss +0 -0
  1161. /package/{lib → projects/corecomponents/src/lib}/components/filter-item/style/_layout.scss +0 -0
  1162. /package/{lib → projects/corecomponents/src/lib}/components/filter-item/style/_material-definition.scss +0 -0
  1163. /package/{lib → projects/corecomponents/src/lib}/components/filter-item/style/_theme.scss +0 -0
  1164. /package/{lib → projects/corecomponents/src/lib}/components/filter-item/style/material.scss +0 -0
  1165. /package/{lib → projects/corecomponents/src/lib}/components/grid-toolbar/style/_layout.scss +0 -0
  1166. /package/{lib → projects/corecomponents/src/lib}/components/grid-toolbar/style/_material-definition.scss +0 -0
  1167. /package/{lib → projects/corecomponents/src/lib}/components/grid-toolbar/style/_theme.scss +0 -0
  1168. /package/{lib → projects/corecomponents/src/lib}/components/grid-toolbar/style/material.scss +0 -0
  1169. /package/{lib → projects/corecomponents/src/lib}/components/grid-toolbar-button/style/_layout.scss +0 -0
  1170. /package/{lib → projects/corecomponents/src/lib}/components/grid-toolbar-button/style/_material-definition.scss +0 -0
  1171. /package/{lib → projects/corecomponents/src/lib}/components/grid-toolbar-button/style/_theme.scss +0 -0
  1172. /package/{lib → projects/corecomponents/src/lib}/components/grid-toolbar-button/style/material.scss +0 -0
  1173. /package/{lib → projects/corecomponents/src/lib}/components/icon/style/_layout.scss +0 -0
  1174. /package/{lib → projects/corecomponents/src/lib}/components/icon/style/_material-definition.scss +0 -0
  1175. /package/{lib → projects/corecomponents/src/lib}/components/icon/style/_theme.scss +0 -0
  1176. /package/{lib → projects/corecomponents/src/lib}/components/icon/style/material.scss +0 -0
  1177. /package/{lib → projects/corecomponents/src/lib}/components/icon-collapse-handle/style/_layout.scss +0 -0
  1178. /package/{lib → projects/corecomponents/src/lib}/components/icon-collapse-handle/style/_material-definition.scss +0 -0
  1179. /package/{lib → projects/corecomponents/src/lib}/components/icon-collapse-handle/style/_theme.scss +0 -0
  1180. /package/{lib → projects/corecomponents/src/lib}/components/icon-collapse-handle/style/material.scss +0 -0
  1181. /package/{lib → projects/corecomponents/src/lib}/components/image/style/_layout.scss +0 -0
  1182. /package/{lib → projects/corecomponents/src/lib}/components/image/style/_material-definition.scss +0 -0
  1183. /package/{lib → projects/corecomponents/src/lib}/components/image/style/_theme.scss +0 -0
  1184. /package/{lib → projects/corecomponents/src/lib}/components/image/style/material.scss +0 -0
  1185. /package/{lib → projects/corecomponents/src/lib}/components/input-checkbox/style/_layout.scss +0 -0
  1186. /package/{lib → projects/corecomponents/src/lib}/components/input-checkbox/style/_material-definition.scss +0 -0
  1187. /package/{lib → projects/corecomponents/src/lib}/components/input-checkbox/style/_theme.scss +0 -0
  1188. /package/{lib → projects/corecomponents/src/lib}/components/input-checkbox/style/material.scss +0 -0
  1189. /package/{lib → projects/corecomponents/src/lib}/components/input-date-picker/style/_layout.scss +0 -0
  1190. /package/{lib → projects/corecomponents/src/lib}/components/input-date-picker/style/_material-definition.scss +0 -0
  1191. /package/{lib → projects/corecomponents/src/lib}/components/input-date-picker/style/_theme.scss +0 -0
  1192. /package/{lib → projects/corecomponents/src/lib}/components/input-date-picker/style/material.scss +0 -0
  1193. /package/{lib → projects/corecomponents/src/lib}/components/input-date-range-picker/style/_layout.scss +0 -0
  1194. /package/{lib → projects/corecomponents/src/lib}/components/input-date-range-picker/style/_material-definition.scss +0 -0
  1195. /package/{lib → projects/corecomponents/src/lib}/components/input-date-range-picker/style/_theme.scss +0 -0
  1196. /package/{lib → projects/corecomponents/src/lib}/components/input-date-range-picker/style/material.scss +0 -0
  1197. /package/{lib → projects/corecomponents/src/lib}/components/input-number-picker/style/_layout.scss +0 -0
  1198. /package/{lib → projects/corecomponents/src/lib}/components/input-number-picker/style/_material-definition.scss +0 -0
  1199. /package/{lib → projects/corecomponents/src/lib}/components/input-number-picker/style/_theme.scss +0 -0
  1200. /package/{lib → projects/corecomponents/src/lib}/components/input-number-picker/style/material.scss +0 -0
  1201. /package/{lib → projects/corecomponents/src/lib}/components/input-radio-button/style/_layout.scss +0 -0
  1202. /package/{lib → projects/corecomponents/src/lib}/components/input-radio-button/style/_material-definition.scss +0 -0
  1203. /package/{lib → projects/corecomponents/src/lib}/components/input-radio-button/style/_theme.scss +0 -0
  1204. /package/{lib → projects/corecomponents/src/lib}/components/input-radio-button/style/material.scss +0 -0
  1205. /package/{lib → projects/corecomponents/src/lib}/components/input-scanner/style/_layout.scss +0 -0
  1206. /package/{lib → projects/corecomponents/src/lib}/components/input-scanner/style/_material-definition.scss +0 -0
  1207. /package/{lib → projects/corecomponents/src/lib}/components/input-scanner/style/_theme.scss +0 -0
  1208. /package/{lib → projects/corecomponents/src/lib}/components/input-scanner/style/material.scss +0 -0
  1209. /package/{lib → projects/corecomponents/src/lib}/components/input-search/style/_layout.scss +0 -0
  1210. /package/{lib → projects/corecomponents/src/lib}/components/input-search/style/_material-definition.scss +0 -0
  1211. /package/{lib → projects/corecomponents/src/lib}/components/input-search/style/_theme.scss +0 -0
  1212. /package/{lib → projects/corecomponents/src/lib}/components/input-search/style/material.scss +0 -0
  1213. /package/{lib → projects/corecomponents/src/lib}/components/input-text/style/_layout.scss +0 -0
  1214. /package/{lib → projects/corecomponents/src/lib}/components/input-text/style/_material-definition.scss +0 -0
  1215. /package/{lib → projects/corecomponents/src/lib}/components/input-text/style/_theme.scss +0 -0
  1216. /package/{lib → projects/corecomponents/src/lib}/components/input-text/style/material.scss +0 -0
  1217. /package/{lib → projects/corecomponents/src/lib}/components/input-textarea/style/_layout.scss +0 -0
  1218. /package/{lib → projects/corecomponents/src/lib}/components/input-textarea/style/_material-definition.scss +0 -0
  1219. /package/{lib → projects/corecomponents/src/lib}/components/input-textarea/style/_theme.scss +0 -0
  1220. /package/{lib → projects/corecomponents/src/lib}/components/input-textarea/style/material.scss +0 -0
  1221. /package/{lib → projects/corecomponents/src/lib}/components/level-indicator/style/_layout.scss +0 -0
  1222. /package/{lib → projects/corecomponents/src/lib}/components/level-indicator/style/_material-definition.scss +0 -0
  1223. /package/{lib → projects/corecomponents/src/lib}/components/level-indicator/style/_theme.scss +0 -0
  1224. /package/{lib → projects/corecomponents/src/lib}/components/level-indicator/style/material.scss +0 -0
  1225. /package/{lib → projects/corecomponents/src/lib}/components/list-of-icons/style/_material-definition.scss +0 -0
  1226. /package/{lib → projects/corecomponents/src/lib}/components/list-of-icons/style/_theme.scss +0 -0
  1227. /package/{lib → projects/corecomponents/src/lib}/components/list-of-icons/style/material.scss +0 -0
  1228. /package/{lib → projects/corecomponents/src/lib}/components/list-of-values/style/_layout.scss +0 -0
  1229. /package/{lib → projects/corecomponents/src/lib}/components/list-of-values/style/_material-definition.scss +0 -0
  1230. /package/{lib → projects/corecomponents/src/lib}/components/list-of-values/style/_theme.scss +0 -0
  1231. /package/{lib → projects/corecomponents/src/lib}/components/list-of-values/style/material.scss +0 -0
  1232. /package/{lib → projects/corecomponents/src/lib}/components/loader/style/_layout.scss +0 -0
  1233. /package/{lib → projects/corecomponents/src/lib}/components/loader/style/_material-definition.scss +0 -0
  1234. /package/{lib → projects/corecomponents/src/lib}/components/loader/style/_theme.scss +0 -0
  1235. /package/{lib → projects/corecomponents/src/lib}/components/loader/style/material.scss +0 -0
  1236. /package/{lib → projects/corecomponents/src/lib}/components/pagination/style/_layout.scss +0 -0
  1237. /package/{lib → projects/corecomponents/src/lib}/components/pagination/style/_material-definition.scss +0 -0
  1238. /package/{lib → projects/corecomponents/src/lib}/components/pagination/style/_theme.scss +0 -0
  1239. /package/{lib → projects/corecomponents/src/lib}/components/pagination/style/material.scss +0 -0
  1240. /package/{lib → projects/corecomponents/src/lib}/components/pagination-bar/style/_layout.scss +0 -0
  1241. /package/{lib → projects/corecomponents/src/lib}/components/pagination-bar/style/_material-definition.scss +0 -0
  1242. /package/{lib → projects/corecomponents/src/lib}/components/pagination-bar/style/_theme.scss +0 -0
  1243. /package/{lib → projects/corecomponents/src/lib}/components/pagination-bar/style/material.scss +0 -0
  1244. /package/{lib → projects/corecomponents/src/lib}/components/popup/popup-buttons.component.scss +0 -0
  1245. /package/{lib → projects/corecomponents/src/lib}/components/popup/popup-window-shell.component.scss +0 -0
  1246. /package/{lib → projects/corecomponents/src/lib}/components/responsive-text/style/_layout.scss +0 -0
  1247. /package/{lib → projects/corecomponents/src/lib}/components/responsive-text/style/_material-definition.scss +0 -0
  1248. /package/{lib → projects/corecomponents/src/lib}/components/responsive-text/style/_theme.scss +0 -0
  1249. /package/{lib → projects/corecomponents/src/lib}/components/responsive-text/style/material.scss +0 -0
  1250. /package/{lib → projects/corecomponents/src/lib}/components/simple-grid/style/_layout.scss +0 -0
  1251. /package/{lib → projects/corecomponents/src/lib}/components/simple-grid/style/_material-definition.scss +0 -0
  1252. /package/{lib → projects/corecomponents/src/lib}/components/simple-grid/style/_theme.scss +0 -0
  1253. /package/{lib → projects/corecomponents/src/lib}/components/simple-grid/style/material.scss +0 -0
  1254. /package/{lib → projects/corecomponents/src/lib}/components/tile/style/_layout.scss +0 -0
  1255. /package/{lib → projects/corecomponents/src/lib}/components/tile/style/_material-definition.scss +0 -0
  1256. /package/{lib → projects/corecomponents/src/lib}/components/tile/style/_theme.scss +0 -0
  1257. /package/{lib → projects/corecomponents/src/lib}/components/tile/style/material.scss +0 -0
  1258. /package/{lib → projects/corecomponents/src/lib}/components/tile-select/style/_layout.scss +0 -0
  1259. /package/{lib → projects/corecomponents/src/lib}/components/tile-select/style/_material-definition.scss +0 -0
  1260. /package/{lib → projects/corecomponents/src/lib}/components/tile-select/style/_theme.scss +0 -0
  1261. /package/{lib → projects/corecomponents/src/lib}/components/tile-select/style/material.scss +0 -0
  1262. /package/{lib → projects/corecomponents/src/lib}/components/tooltip/style/_layout.scss +0 -0
  1263. /package/{lib → projects/corecomponents/src/lib}/components/tooltip/style/_material-definition.scss +0 -0
  1264. /package/{lib → projects/corecomponents/src/lib}/components/tooltip/style/_theme.scss +0 -0
  1265. /package/{lib → projects/corecomponents/src/lib}/components/tooltip/style/material.scss +0 -0
  1266. /package/{lib → projects/corecomponents/src/lib}/components/validation-error/style/_layout.scss +0 -0
  1267. /package/{lib → projects/corecomponents/src/lib}/components/validation-error/style/_material-definition.scss +0 -0
  1268. /package/{lib → projects/corecomponents/src/lib}/components/validation-error/style/_theme.scss +0 -0
  1269. /package/{lib → projects/corecomponents/src/lib}/components/validation-error/style/material.scss +0 -0
  1270. /package/{lib → projects/corecomponents/src/lib}/components/view-mode-buttons/style/_layout.scss +0 -0
  1271. /package/{lib → projects/corecomponents/src/lib}/components/view-mode-buttons/style/_material-definition.scss +0 -0
  1272. /package/{lib → projects/corecomponents/src/lib}/components/view-mode-buttons/style/_theme.scss +0 -0
  1273. /package/{lib → projects/corecomponents/src/lib}/components/view-mode-buttons/style/material.scss +0 -0
  1274. /package/{lib/interfaces/scanner-input.interface.d.ts → projects/corecomponents/src/lib/interfaces/scanner-input.interface.ts} +0 -0
  1275. /package/{lib → projects/corecomponents/src/lib}/modules/pagination/style/_layout.scss +0 -0
  1276. /package/{lib → projects/corecomponents/src/lib}/modules/pagination/style/_material-definition.scss +0 -0
  1277. /package/{lib → projects/corecomponents/src/lib}/modules/pagination/style/_theme.scss +0 -0
  1278. /package/{lib → projects/corecomponents/src/lib}/modules/pagination/style/material.scss +0 -0
  1279. /package/{lib → projects/corecomponents/src/lib}/style/_input.mixins.scss +0 -0
  1280. /package/{lib → projects/corecomponents/src/lib}/style/_mixin.scss +0 -0
  1281. /package/{lib → projects/corecomponents/src/lib}/style/_variables.scss +0 -0
  1282. /package/{lib → projects/corecomponents/src/lib}/style/corecomponents-globals.scss +0 -0
  1283. /package/{lib → projects/corecomponents/src/lib}/style/material2/_core.scss +0 -0
  1284. /package/{lib → projects/corecomponents/src/lib}/style/material2/_material2-scss-barrel.scss +0 -0
  1285. /package/{lib → projects/corecomponents/src/lib}/style/material2/ripple/_co-ripple.scss +0 -0
  1286. /package/{lib → projects/corecomponents/src/lib}/style/material2/style/_elevation.scss +0 -0
  1287. /package/{lib → projects/corecomponents/src/lib}/style/material2/style/_list-common.scss +0 -0
  1288. /package/{lib → projects/corecomponents/src/lib}/style/material2/style/_variables.scss +0 -0
  1289. /package/{lib → projects/corecomponents/src/lib}/style/material2/theming/_palette.scss +0 -0
  1290. /package/{lib → projects/corecomponents/src/lib}/style/material2/theming/_theming.scss +0 -0
  1291. /package/{lib → projects/corecomponents/src/lib}/style/material2/typography/_typography.scss +0 -0
@@ -0,0 +1,350 @@
1
+ import {anyNill} from "../function/any-nill.function";
2
+ import {ArrayUtils} from "./array-utils";
3
+ import {CheckWithinSteppedBoundsResult} from "../model/check-within-stepped-bounds-result";
4
+ import {isNill} from "../function/is-nill.function";
5
+ import { ObjectUtils } from './object-utils';
6
+ import { CheckPrecisionAndScaleResult } from '../model/check-precision-and-scale-result';
7
+
8
+ // @dynamic
9
+ export class NumberUtils {
10
+ // @returns The inclusive max value
11
+ public static PrecisionScaleToMaxValue(precision: number, scale: number): number {
12
+ const oneStep: number = this.DecimalsToStepIncrement(scale);
13
+ const maxExclusive: number = Math.pow(10, precision - scale);
14
+ return maxExclusive - oneStep;
15
+ }
16
+
17
+ // Parses given argument to an integer, using a native parseInt() function with a radix of 10. Returns NaN if parsing was not possible.
18
+ public static ParseInt(arg: any): number {
19
+ if (isNill(arg) || Array.isArray(arg)) {
20
+ return undefined;
21
+ }
22
+
23
+ return parseInt(arg, 10);
24
+ }
25
+
26
+ public static DecimalsToStepIncrement(numberOfDecimals: number): number {
27
+ return Math.pow(10, -1 * numberOfDecimals);
28
+ }
29
+
30
+ // Returns the given argument as a number. Returns given defaultValue if conversion of argument was impossible.
31
+ public static ParseNumberOrDefault(arg: any, defaultValue: number = 0): number {
32
+ if (Array.isArray(arg)) {
33
+ return defaultValue;
34
+ }
35
+
36
+ if (!NumberUtils.IsNumber(arg)) {
37
+ arg = parseFloat(arg);
38
+ arg = isNaN(arg) ? defaultValue : arg;
39
+ }
40
+ return arg;
41
+ }
42
+
43
+ // Parses given numberInput to a number, or returns given defaultValue if parse not possible. Allows ',' char as decimal delimiter.
44
+ public static ParseNumberInputOrDefault(numberInput: any, defaultValue: number = 0): number {
45
+ return NumberUtils.ParseNumberOrDefault(NumberUtils._NumberInputToNumberStr(numberInput), defaultValue);
46
+ }
47
+
48
+ public static IsParsableNumberInput(numberInput: any): boolean {
49
+ return NumberUtils.IsParsableNumber(NumberUtils._NumberInputToNumberStr(numberInput));
50
+ }
51
+
52
+ // Returns whether the type of given argument is 'number'.
53
+ public static IsNumber(arg: any): boolean {
54
+ return typeof arg === 'number';
55
+ }
56
+
57
+ // Returns whether the value is parasable as a number.
58
+ public static IsParsableNumber(arg: any): boolean {
59
+ if (Array.isArray(arg)) {
60
+ return false;
61
+ }
62
+
63
+ return !isNaN(parseFloat(arg));
64
+ }
65
+
66
+ /**
67
+ * Returns given arg as a float number with given decimal precision, if possible. Returns NaN if parse conversion failed.
68
+ *
69
+ * @param The argument to parse to a float
70
+ * @param The number of decimals, or the precision, the parsed return float should have
71
+ * @returns NaN if not possible, else the parsed float value
72
+ */
73
+ public static ParseFloat(arg: any, decimalPrecision: number = 2): number {
74
+ if (anyNill(arg, decimalPrecision) || Array.isArray(arg)) {
75
+ return NaN;
76
+ }
77
+
78
+ if (!NumberUtils.IsInteger(decimalPrecision) || decimalPrecision < 0) {
79
+ decimalPrecision = 2;
80
+ // toFixed() can only handle up until 20
81
+ } else if (decimalPrecision > 20) {
82
+ decimalPrecision = 20;
83
+ }
84
+
85
+ return parseFloat(parseFloat(arg).toFixed(decimalPrecision));
86
+ }
87
+
88
+ /**
89
+ * Returns given arg as a float number with given decimal precision, if possible. Returns NaN if parse conversion failed.
90
+ *
91
+ * @param The argument to parse to a float
92
+ * @returns The argument as a float with its original decimal precision intact
93
+ */
94
+ public static ParseFloatKeepPrecision(arg: any): number {
95
+ let decimalPrecision: number = this.GetDecimalPlaces(arg);
96
+ return this.ParseFloat(arg, decimalPrecision);
97
+ }
98
+
99
+ public static ParseFloatNumberInputKeepPrecision(arg: any): number {
100
+ let correctedInputStr: string = NumberUtils._NumberInputToNumberStr(arg);
101
+ let decimalPrecision: number = this.GetDecimalPlaces(correctedInputStr);
102
+ return NumberUtils.ParseFloat(correctedInputStr, decimalPrecision);
103
+ }
104
+
105
+ /**
106
+ * Finds the number closest to the originalNumber, that adheres to the given bounds. That is, for which it holds that
107
+ * nr = min + N * step with N integer or 0.
108
+ * @param originalNr Find closest answer to this number
109
+ * @param min Inclusive
110
+ * @param max Inclusive
111
+ * @param stepSize
112
+ * @returns The closest OK number for bounds.
113
+ */
114
+ public static GetNearestNumberWithinSteppedBounds(originalNr: number, min: number, max: number, stepSize: number = 1): number {
115
+ if (originalNr < min) {
116
+ return min;
117
+ } else if (originalNr > max) {
118
+ return NumberUtils.GetTrueSteppedBoundsMax(min, max, stepSize);
119
+ }
120
+
121
+ let boundsCheck: CheckWithinSteppedBoundsResult = NumberUtils.CheckWithinSteppedBounds(originalNr, min, max, stepSize);
122
+ if (boundsCheck.isOk) {
123
+ return originalNr;
124
+ }
125
+
126
+ let answer: number = undefined;
127
+
128
+ let remainder: number = boundsCheck.remainder;
129
+ if (remainder) {
130
+ // round up or down?
131
+ if ((remainder / stepSize) < 0.5) {
132
+ // round down, but not below min
133
+ answer = (originalNr - remainder >= min ? originalNr - remainder : min);
134
+ } else {
135
+ // round up, but not above max
136
+ answer = (originalNr + stepSize - remainder <= max ? originalNr + stepSize - remainder :
137
+ NumberUtils.GetTrueSteppedBoundsMax(min, max, stepSize));
138
+ }
139
+ } else {
140
+ // is this real life, why wasn't our stepped bounds check OK?
141
+ answer = originalNr;
142
+ }
143
+
144
+ // 'correct' float errors
145
+ answer = NumberUtils.ParseFloat(answer, NumberUtils._GetLargestDecimalPrecisionOf(originalNr, min, max, stepSize));
146
+ return answer;
147
+ }
148
+
149
+ // Returns the number of decimal places of the given number. Returns 0 if no decimals whatsoever could be found on given arg.
150
+ public static GetDecimalPlaces(arg: any, maxAnswer: number = 1000): number {
151
+ let match: RegExpMatchArray = ('' + arg).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);
152
+ if (!match) {
153
+ return 0;
154
+ }
155
+
156
+ let answer: number = Math.max(0,
157
+ // number of digits right of decimal point.
158
+ (match[1] ? match[1].length : 0)
159
+ // adjust for scientific notation
160
+ - (match[2] ? +match[2] : 0));
161
+
162
+ if (answer > maxAnswer) {
163
+ answer = maxAnswer;
164
+ }
165
+
166
+ return answer;
167
+ }
168
+
169
+ // Returns true iff given argument is an integer number. Returns false on non-numbers or numbers with significant decimals.
170
+ public static IsInteger(arg: any): boolean {
171
+ if (isNaN(arg) || Array.isArray(arg)) {
172
+ return false;
173
+ }
174
+ let argAsFloat: number = parseFloat(arg);
175
+ return ((argAsFloat | 0) === argAsFloat); // returns whether 'arg converted to an integer equals arg'
176
+ }
177
+
178
+ /**
179
+ * Returns whether given arg is parseable as a number, and whether the lengts of its number parse result is equal to its original length.
180
+ * I.e. this function returns FALSE with given number-parsable strings, but that have non-numeric appendices, eg '2233ff'. That arg
181
+ * IS number-parseable, but not a strict 'string number', the latter being what this method actually checks for.
182
+ */
183
+ public static IsStringNumber(arg: string): boolean {
184
+ if (!NumberUtils.IsParsableNumber(arg)) {
185
+ return false;
186
+ } else {
187
+ return arg.toString().length === parseFloat(arg).toString().length;
188
+ }
189
+ }
190
+
191
+ /**
192
+ * Returns a random integer in range [lowerBound .. upperBound], an inclusive range. Returns NaN if not possible.
193
+ * Given bounds are truncated first, before serving as the true lower- and upper bounds for the random int.
194
+ */
195
+ public static RandomInt(lowerBoundInt: number, upperBoundInt: number): number {
196
+ if (!NumberUtils.IsNumber(lowerBoundInt) || !NumberUtils.IsNumber(upperBoundInt) || lowerBoundInt > upperBoundInt) {
197
+ return NaN;
198
+ }
199
+
200
+ lowerBoundInt = Math.trunc(lowerBoundInt);
201
+ upperBoundInt = Math.trunc(upperBoundInt);
202
+
203
+ if (lowerBoundInt === upperBoundInt) {
204
+ return lowerBoundInt;
205
+ }
206
+
207
+ const delta: number = upperBoundInt - lowerBoundInt;
208
+ return (Math.round(Math.random() * delta) + lowerBoundInt);
209
+ }
210
+
211
+ /**
212
+ * Returns the true maximum allowed value for the given "stepped bounds": min, stepSize and max, for which it holds that each allowed
213
+ * value Y = min + stepSize * N, for any INTEGER or 0 N where it also holds, of course, that Y <= max.
214
+ * @param min
215
+ * @param max
216
+ * @param stepSize
217
+ */
218
+ public static GetTrueSteppedBoundsMax(min: number, max: number, stepSize: number = 1): number {
219
+ // solve max integer X in formula min + X * step <= max, and return min + X * stepSize for that X
220
+ let maxSteps: number = Math.floor((max - min) / stepSize);
221
+ // 'correct' float errors
222
+ return NumberUtils.ParseFloat(min + maxSteps * stepSize, NumberUtils._GetLargestDecimalPrecisionOf(min, min, max));
223
+ }
224
+
225
+ // Returns the string representation of given number. If it's not a number, returns the empty string.
226
+ public static ToString(nr: number): string {
227
+ if (!NumberUtils.IsNaN(nr)) {
228
+ return "" + nr;
229
+ } else {
230
+ return "";
231
+ }
232
+ }
233
+
234
+ // Returns whether given arg is indeed not a number (it's NaN or it has another type than 'number').
235
+ public static IsNaN(arg: any): boolean {
236
+ return isNaN(arg) || !NumberUtils.IsNumber(arg);
237
+ }
238
+
239
+ /**
240
+ * Returns whether given x is OK within the given min, max and step boundaries, where it should hold that nrToCheck = min + N * step,
241
+ * with N integer or 0.
242
+ * @param nrToCheck Number to check whether it's within the given bounds
243
+ * @param min Inclusive
244
+ * @param max Inclusive
245
+ * @param stepSize
246
+ * @returns Returns remainder of undefined when nrToCheck was OUTSIDE [min, max], else full result object.
247
+ */
248
+ public static CheckWithinSteppedBounds(
249
+ nrToCheck: number,
250
+ min: number,
251
+ max: number,
252
+ stepSize: number = 1
253
+ ): CheckWithinSteppedBoundsResult {
254
+ if (nrToCheck < min || nrToCheck > max) {
255
+ return {isOk: false, remainder: undefined};
256
+ }
257
+
258
+ // we're in [min, max], but still check if nrToCheck = min + N * step holds (for N integer or 0)
259
+ let remainder: number = (nrToCheck - min) % stepSize;
260
+ // correct float for largest precision amongst input numbers
261
+ remainder = NumberUtils.ParseFloat(remainder, NumberUtils._GetLargestDecimalPrecisionOf(nrToCheck, min, stepSize));
262
+ return {isOk: (remainder === 0), remainder: remainder};
263
+ }
264
+
265
+ // Adds thousands comma's to given value, E.g. '1000' to '1,000'. Returns empty string if value was undefined.
266
+ public static AddThousandsCommasTo(value: any): string {
267
+ if (isNill(value)) {
268
+ return "";
269
+ }
270
+
271
+ return value.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
272
+ }
273
+
274
+ // Returns the nearest number, relative to the given originalNr, that is within the given [min, max] inclusive bounds.
275
+ public static GetNearestNumberWithinBounds(originalNr: number, min: number, max: number): number {
276
+ let answer: number = originalNr;
277
+
278
+ if (originalNr < min) {
279
+ answer = min;
280
+ } else if (originalNr > max) {
281
+ answer = max;
282
+ }
283
+
284
+ return answer;
285
+ }
286
+
287
+ /**
288
+ * Returns whether given nrToCheck is within the given precision and scale limits. Precision and scale, here, are Oracle DB terms.
289
+ * This function can thus be used to check whether the given number is safe to send to the 'database' beforehand, if we know the
290
+ * precision and scale of the number in the db declaration.
291
+ *
292
+ * I.e. A number declared in the Oracle DB as number(5, 2) has a precision of 5 and a scale of 2.
293
+ *
294
+ * @param nrToCheck
295
+ * @param precision The number of significant digits, including possibly negative scale. E.g. 3 in '123' and 5 in '51.123'
296
+ * @param [scale = 0] The number of significant digits AFTER the decimal point. E.g. 1 in 5432.1 and 3 in 54000.003
297
+ * @returns Whether given nrToCheck is ok for given precision and scale, and if not, the
298
+ * nearest number that IS ok for those constraints.
299
+ */
300
+ public static CheckPrecisionAndScale(nrToCheck: number, precision: number, scale: number = 0): CheckPrecisionAndScaleResult {
301
+ // let's say any undefined number is checked OK, and all numbers are checked OK for an undefined precision
302
+ if (!ObjectUtils.AllExist(nrToCheck, precision, scale)) {
303
+ return {isOk: true, nearestOkNr: NaN};
304
+ }
305
+ // no number can have 0 or less than 0 significant digits, in our universe
306
+ if (precision < 1 || precision - scale < 1) {
307
+ return {isOk: false, nearestOkNr: NaN};
308
+ }
309
+ // begin check
310
+ const isNegative: boolean = (nrToCheck < 0);
311
+ const nrParts: string[] = nrToCheck.toString().split(".");
312
+ // remove minus sign if negative
313
+ if (isNegative) {
314
+ nrParts[0] = nrParts[0].slice(1);
315
+ }
316
+ const numCountBeforeDot: number = nrParts[0].length;
317
+ const allowedNumCountBeforeDot: number = precision - scale;
318
+ if (numCountBeforeDot <= allowedNumCountBeforeDot) {
319
+ return {isOk: true, nearestOkNr: nrToCheck};
320
+ } else {
321
+ // cut a part from the "before decimal number" so that the number is not too big anymore
322
+ const numCountToRemove: number = numCountBeforeDot - allowedNumCountBeforeDot;
323
+ // remove the right-most numbers before the decimal dot
324
+ nrParts[0] = nrParts[0].slice(0, -1 * numCountToRemove);
325
+ // add minus sign again if it was negative
326
+ if (isNegative) {
327
+ nrParts[0] = "-" + nrParts[0];
328
+ }
329
+ // build and return composite number again
330
+ let nearestOkNr: number;
331
+ if (nrParts[1]) {
332
+ nearestOkNr = Number(nrParts[0] + "." + nrParts[1]);
333
+ } else {
334
+ nearestOkNr = Number(nrParts[0]);
335
+ }
336
+ return {isOk: false, nearestOkNr: nearestOkNr};
337
+ }
338
+ }
339
+
340
+ private static _GetLargestDecimalPrecisionOf(...args: number[]): number {
341
+ return ArrayUtils.GetMaxCalculatedValue(args, (arg: number) => {
342
+ return NumberUtils.GetDecimalPlaces(arg);
343
+ });
344
+ }
345
+
346
+ // Returns given number input as a number that's useable by Javascript. Allows for incoming ',' decimal delimiter.
347
+ private static _NumberInputToNumberStr(numberInput: string): string {
348
+ return (numberInput + '').replace(',', '.');
349
+ }
350
+ }
@@ -0,0 +1,205 @@
1
+ import {isNill} from "../function/is-nill.function";
2
+ import {notNill} from "../function/not-nill.function";
3
+
4
+ // Static utility function holder related to objects.
5
+ export class ObjectUtils {
6
+
7
+ /**
8
+ * Returns whether all given values exist: for all values it holds that they are not null nor undefined. Short-circuit check.
9
+ * @param values Rest parameters with all objects to check existence for.
10
+ * @returns True if ALL given values are not null nor undefined, otherwise false (if at least one value was null or undefined)
11
+ */
12
+ public static AllExist(...values: any[]): boolean {
13
+ let allExist: boolean = true;
14
+ for (let i: number = 0, len: number = values.length; i < len; i++) {
15
+ if (isNill(values[i])) {
16
+ allExist = false;
17
+ break;
18
+ }
19
+ }
20
+ return allExist;
21
+ }
22
+
23
+ // Returns a shallow clone of the given original object. The clone is a SIMPLE OBJECT with the same properties as the original.
24
+ public static GetShallowClone(originalObject: any, objectClass?: any): any {
25
+ let clonedObject: any = undefined;
26
+
27
+ if (objectClass) {
28
+ clonedObject = new objectClass();
29
+ } else {
30
+ clonedObject = {};
31
+ }
32
+
33
+ ObjectUtils.ForOwnProperty(originalObject, (value: any, key: string) => {
34
+ clonedObject[key] = value;
35
+ });
36
+
37
+ return clonedObject;
38
+ }
39
+
40
+ /**
41
+ * Copies all properties from object 'from' to object 'to'. Overwrites properties on object 'to' if property already exists.
42
+ * Does not copy functions, only properties.
43
+ * @param from The source object from which to copy all properties of to the 'to' object.
44
+ * @param to The object to which the properties of the 'from' object will be copied.
45
+ * @param [allowUndefined = true] wether the 'to' object may be assigned null or undefined values to any of its properties.
46
+ */
47
+ public static CopyPropertiesFrom<T>(from: Object, to: T, allowUndefined: boolean = true): T {
48
+ if (!to) {
49
+ to = {} as T;
50
+ }
51
+ if (!from) {
52
+ return to;
53
+ }
54
+ ObjectUtils.ForOwnProperty(from, (value: any, key: string) => {
55
+ if (allowUndefined || notNill(value)) {
56
+ to[key] = value;
57
+ }
58
+ });
59
+ return to;
60
+ }
61
+
62
+ /**
63
+ * Returns the display value of the given property on the given object, as a string (== the string representation of the property value).
64
+ * Does not return null or undefined, but returns the given defaultValue instead.
65
+ */
66
+ public static GetDisplayValueOfPropertyOn(object: Object, property: string, defaultValue: string = ""): string {
67
+ if (!object || !property) {
68
+ return defaultValue;
69
+ }
70
+
71
+ let returnValue: string = defaultValue;
72
+ let propertyValue: any = object[property];
73
+ if (propertyValue) {
74
+ returnValue = propertyValue.toString();
75
+ }
76
+
77
+ return returnValue;
78
+ }
79
+
80
+ // Performs given callback function for each own property of given plain object. Also works on string enums.
81
+ public static ForOwnProperty(plainObject: any, callback: (propVal: any, key: string) => any): void {
82
+ if (ObjectUtils.IsPlainObject(plainObject)) {
83
+ for (let key in plainObject) {
84
+ if (plainObject.hasOwnProperty(key) && typeof plainObject[key] !== 'function') {
85
+ let response: boolean = callback(plainObject[key], key);
86
+ if (response === false) {
87
+ break;
88
+ }
89
+ }
90
+ }
91
+ }
92
+ }
93
+
94
+ // Returns whether given object is an existing, plain object. That is, it defined, its type if 'object' and it is NOT an array or func.
95
+ public static IsPlainObject(object: any): boolean {
96
+ return object !== null && !Array.isArray(object) && typeof object !== 'function' && typeof object === 'object';
97
+ }
98
+
99
+ public static DeepEquals(actual: any, expected: any): boolean {
100
+ if (actual === expected) {
101
+ return true;
102
+ } else if (actual instanceof Date && expected instanceof Date) {
103
+ return actual.getTime() === expected.getTime();
104
+ } else if (!actual || !expected || typeof actual !== 'object' && typeof expected !== 'object') {
105
+ return actual === expected;
106
+ } else {
107
+ return this._objEquiv(actual, expected);
108
+ }
109
+ }
110
+
111
+ private static _objEquiv(a: any, b: any): boolean {
112
+ let i: number, key: string;
113
+ if (isNill(a) || isNill(b)) {
114
+ return false;
115
+ }
116
+
117
+ if (a.prototype !== b.prototype) {
118
+ return false;
119
+ }
120
+
121
+ if (this._isArguments(a)) {
122
+ if (!this._isArguments(b)) {
123
+ return false;
124
+ }
125
+ a = Array.prototype.slice.call(a);
126
+ b = Array.prototype.slice.call(b);
127
+ return this.DeepEquals(a, b);
128
+ }
129
+ if (this._isBuffer(a)) {
130
+ if (!this._isBuffer(b)) {
131
+ return false;
132
+ }
133
+ if (a.length !== b.length) {
134
+ return false;
135
+ }
136
+ for (i = 0; i < a.length; i++) {
137
+ if (a[i] !== b[i]) {
138
+ return false;
139
+ }
140
+ }
141
+ return true;
142
+ }
143
+ let ka: string[];
144
+ let kb: string[];
145
+ try {
146
+ ka = Object.keys(a);
147
+ kb = Object.keys(b);
148
+ } catch (e) {
149
+ return false;
150
+ }
151
+
152
+ if (ka.length !== kb.length) {
153
+ return false;
154
+ }
155
+
156
+ ka.sort();
157
+ kb.sort();
158
+
159
+ for (i = ka.length - 1; i >= 0; i--) {
160
+ if (ka[i] !== kb[i]) {
161
+ return false;
162
+ }
163
+ }
164
+
165
+ for (i = ka.length - 1; i >= 0; i--) {
166
+ key = ka[i];
167
+ if (!this.DeepEquals(a[key], b[key])) {
168
+ return false;
169
+ }
170
+ }
171
+ return typeof a === typeof b;
172
+ }
173
+
174
+ private static _isBuffer(x: any): boolean {
175
+ if (!x || typeof x !== 'object' || typeof x.length !== 'number') {
176
+ return false;
177
+ }
178
+ if (typeof x.copy !== 'function' || typeof x.slice !== 'function') {
179
+ return false;
180
+ }
181
+ return !(x.length > 0 && typeof x[0] !== 'number');
182
+ }
183
+
184
+ private static _isArguments(x: any): boolean {
185
+ let supportsArgsClass: boolean = this._supportsArgumentsClass();
186
+ return supportsArgsClass ? this._isArgumentsWhenArgsClassSupported(x) : this._isArgumentsWhenArgsClassNotSupported(x);
187
+ }
188
+
189
+ private static _isArgumentsWhenArgsClassNotSupported(object: any): boolean {
190
+ return object &&
191
+ typeof object === 'object' &&
192
+ typeof object.length === 'number' &&
193
+ Object.prototype.hasOwnProperty.call(object, 'callee') &&
194
+ !Object.prototype.propertyIsEnumerable.call(object, 'callee') ||
195
+ false;
196
+ }
197
+
198
+ private static _isArgumentsWhenArgsClassSupported(object: any): boolean {
199
+ return Object.prototype.toString.call(object) === '[object Arguments]';
200
+ }
201
+
202
+ private static _supportsArgumentsClass(): boolean {
203
+ return Object.prototype.toString.call(arguments) === '[object Arguments]';
204
+ }
205
+ }
@@ -0,0 +1,116 @@
1
+ import {StringUtils} from "./string-utils";
2
+ import {LogicalOperatorType} from "../enum/logical-operator-type.enum";
3
+ import {ValueComparisonType} from "../enum/value-comparison-type";
4
+ import {NumberUtils} from "./number-utils";
5
+ import {JAVA_MAX_INT} from "../constant/java-max-int";
6
+
7
+ export class ParameterValueConversionUtils {
8
+ // A character to indicate the NEXT character should be interpreted as a value comparison type (when not in quotes data-value mode)
9
+ private static readonly _ComparatorPrefix: string = "?";
10
+ // The character that's used to separate (user) data values (which are between quotes) from the logical part of the search string markup.
11
+ private static readonly _QuoteChar: string = "'";
12
+ private static readonly _OrChar: string = ",";
13
+ private static readonly _AndChar: string = "&";
14
+ private static readonly _EqualChar: string = "=";
15
+ private static readonly _NotEqualChar: string = "!";
16
+ private static readonly _LargerThanChar: string = ">";
17
+ private static readonly _SmallerThanChar: string = "<";
18
+ // The between comparison notation has a slightly different syntax; the '?' is included in the middle of the two values, e.g. '1'<=?<'5'
19
+ private static readonly _BetweenChars: string = "<=?<=";
20
+
21
+ private static readonly _LogicalOperatorChars: Map<LogicalOperatorType, string> = new Map<LogicalOperatorType, string>([
22
+ [LogicalOperatorType.Or, ParameterValueConversionUtils._OrChar],
23
+ [LogicalOperatorType.And, ParameterValueConversionUtils._AndChar]
24
+ ]);
25
+
26
+ private static readonly _ValueComparisonTypeChars: Map<ValueComparisonType, string> = new Map<ValueComparisonType, string>([
27
+ [ValueComparisonType.Equal, ParameterValueConversionUtils._EqualChar],
28
+ [ValueComparisonType.NotEqual, ParameterValueConversionUtils._NotEqualChar],
29
+ [ValueComparisonType.LargerThan, ParameterValueConversionUtils._LargerThanChar],
30
+ [ValueComparisonType.SmallerThan, ParameterValueConversionUtils._SmallerThanChar]
31
+ ]);
32
+
33
+ /**
34
+ *
35
+ * @param searchString like ?='1',?='2',?='5', or any other valid search string.
36
+ * @returns Array with all data values between quotes from given string, like ['1', '2', '4']
37
+ */
38
+ public static ExtractDataValuesFromSearchString(searchString: string): string[] {
39
+ if (!searchString) {
40
+ return [];
41
+ }
42
+ const dataValues: string[] = [];
43
+ let matches: any[] = searchString.match(/'(.*?)'/g);
44
+ if (matches) {
45
+ // remove quotes (if you know an improvement in above regexp that already does this for us, please let me know)
46
+ matches = matches.map(match => match.substring(1, match.length - 1));
47
+ }
48
+ dataValues.push(...matches);
49
+ return dataValues;
50
+ }
51
+
52
+ // E.g. returns the string "?='1',?='2',?='3'" from a given array [1, 2, 3]. For use in backend search filters strings.
53
+ public static ArrayValuesToOrList(array: any[], defaultReturnVal: any = null): string {
54
+ if (!Array.isArray(array) || array.length === 0) {
55
+ return defaultReturnVal;
56
+ }
57
+
58
+ return ParameterValueConversionUtils.ArrayToComplexSearchFilter(array, LogicalOperatorType.Or);
59
+ }
60
+
61
+ /**
62
+ * Takes values from given array and returns a complex filter string which represents the following logical filter based on given operator
63
+ * type: '1 OR 2 OR 3 OR ..' or '1 AND 2 AND 3'.
64
+ * @returns Complex search filter in string representation, e.g. "?='1','2','3'"
65
+ */
66
+ public static ArrayToComplexSearchFilter<T>(array: T[], logicalOperator: LogicalOperatorType = LogicalOperatorType.Or): string {
67
+ if (!array) {
68
+ return undefined;
69
+ }
70
+
71
+ let returnValue: string = "";
72
+ let logicalOperChar: string = this._LogicalOperatorChars.get(logicalOperator);
73
+ for (let i: number = 0, len: number = array.length; i < len; i++) {
74
+ returnValue += this._ComparatorPrefix + this._EqualChar + this._QuoteChar + array[i] + this._QuoteChar + logicalOperChar;
75
+ }
76
+ returnValue = StringUtils.RemoveLastChars(returnValue, 1); // last comma
77
+ return returnValue;
78
+ }
79
+
80
+ /**
81
+ * Returns [upperBound, lowerBound] num array from given range string. A range string's format is like "1 - 4". NOTE: negative
82
+ * numbers not supported!
83
+ * @param rangeString A "range string", formatted like '0 - 1000'.
84
+ * @returns Numerical bounds as [lower, upper]
85
+ */
86
+ public static RangeStringToBounds(rangeString: string): number[] {
87
+ if (rangeString) {
88
+ let split: string[] = rangeString.split("-");
89
+ let lowerBound: number = NumberUtils.ParseFloatKeepPrecision(split[0]);
90
+ let upperBound: number = NumberUtils.ParseFloatKeepPrecision(split[1]);
91
+ return [lowerBound, upperBound];
92
+ } else {
93
+ return [];
94
+ }
95
+ }
96
+
97
+ /**
98
+ * Takes given numerical lower and upper bounds, and returns it as a "range string", fit for use to send to the middle-tier. Not to be
99
+ * confused with a between-inclusive search string.
100
+ * @param lowerBound
101
+ * @param upperBound
102
+ * @returns A "range string" representation of given bounds, formatted like '0 - 1000'.
103
+ */
104
+ public static BoundsToRangeString(lowerBound: number, upperBound: number): string {
105
+ if (!lowerBound && !upperBound) {
106
+ return undefined;
107
+ }
108
+ if (!lowerBound) {
109
+ lowerBound = 0;
110
+ }
111
+ if (!upperBound) {
112
+ upperBound = JAVA_MAX_INT;
113
+ }
114
+ return "" + lowerBound + " - " + upperBound;
115
+ }
116
+ }