@colijnit/corecomponents_v12 12.2.21 → 12.2.22

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 (1210) hide show
  1. package/bundles/colijnit-corecomponents_v12.umd.js +14029 -0
  2. package/bundles/colijnit-corecomponents_v12.umd.js.map +1 -0
  3. package/colijnit-corecomponents_v12.d.ts +43 -0
  4. package/colijnit-corecomponents_v12.metadata.json +1 -0
  5. package/esm2015/colijnit-corecomponents_v12.js +44 -0
  6. package/esm2015/lib/components/article-tile/article-tile.component.js +80 -0
  7. package/esm2015/lib/components/article-tile/article-tile.module.js +35 -0
  8. package/esm2015/lib/components/base/base-input.component.js +834 -0
  9. package/esm2015/lib/components/base/base.module.js +22 -0
  10. package/esm2015/lib/components/base/commit-buttons/commit-buttons.component.js +103 -0
  11. package/esm2015/lib/components/base/commit-buttons/commit-buttons.module.js +21 -0
  12. package/esm2015/lib/components/base/dialog-base.component.js +6 -0
  13. package/esm2015/lib/components/base-input-date-picker/base-input-date-picker.directive.js +25 -0
  14. package/esm2015/lib/components/button/button.component.js +79 -0
  15. package/esm2015/lib/components/button/button.module.js +19 -0
  16. package/esm2015/lib/components/calendar/calendar-template.component.js +342 -0
  17. package/esm2015/lib/components/calendar/calendar.component.js +45 -0
  18. package/esm2015/lib/components/calendar/calendar.module.js +28 -0
  19. package/esm2015/lib/components/card/card.component.js +72 -0
  20. package/esm2015/lib/components/card/card.module.js +35 -0
  21. package/esm2015/lib/components/carousel/carousel.component.js +130 -0
  22. package/esm2015/lib/components/carousel/carousel.module.js +32 -0
  23. package/esm2015/lib/components/carousel-3d/carousel-3d.component.js +315 -0
  24. package/esm2015/lib/components/carousel-3d/carousel-3d.module.js +19 -0
  25. package/esm2015/lib/components/carousel-3d/carouselItem.js +54 -0
  26. package/esm2015/lib/components/checkmark-overlay/checkmark-overlay.component.js +87 -0
  27. package/esm2015/lib/components/checkmark-overlay/checkmark-overlay.module.js +19 -0
  28. package/esm2015/lib/components/co-dialog/co-dialog.component.js +113 -0
  29. package/esm2015/lib/components/co-dialog/co-dialog.module.js +19 -0
  30. package/esm2015/lib/components/co-dialog-wizard/co-dialog-wizard.component.js +51 -0
  31. package/esm2015/lib/components/co-dialog-wizard/co-dialog-wizard.module.js +17 -0
  32. package/esm2015/lib/components/collapsible/collapsible.component.js +92 -0
  33. package/esm2015/lib/components/collapsible/collapsible.module.js +19 -0
  34. package/esm2015/lib/components/color-picker/color-picker.component.js +41 -0
  35. package/esm2015/lib/components/color-picker/color-picker.module.js +21 -0
  36. package/esm2015/lib/components/core-dialog/confirmation-dialog/confirmation-dialog.component.js +79 -0
  37. package/esm2015/lib/components/core-dialog/core-dialog.module.js +39 -0
  38. package/esm2015/lib/components/core-dialog/core-dialog.service.js +67 -0
  39. package/esm2015/lib/components/core-dialog/core-dynamic-component.service.js +93 -0
  40. package/esm2015/lib/components/double-calendar/double-calendar.component.js +80 -0
  41. package/esm2015/lib/components/double-calendar/double-calendar.module.js +25 -0
  42. package/esm2015/lib/components/filter-item/filter-item-viewmodel.js +13 -0
  43. package/esm2015/lib/components/filter-item/filter-item.component.js +646 -0
  44. package/esm2015/lib/components/filter-item/filter-item.module.js +43 -0
  45. package/esm2015/lib/components/filter-item/filter-viewmodel.js +11 -0
  46. package/esm2015/lib/components/form/form.component.js +184 -0
  47. package/esm2015/lib/components/form/form.module.js +23 -0
  48. package/esm2015/lib/components/grid-toolbar/grid-toolbar.component.js +57 -0
  49. package/esm2015/lib/components/grid-toolbar/grid-toolbar.module.js +23 -0
  50. package/esm2015/lib/components/grid-toolbar-button/grid-toolbar-button.component.js +28 -0
  51. package/esm2015/lib/components/grid-toolbar-button/grid-toolbar-button.module.js +19 -0
  52. package/esm2015/lib/components/icon/icon-cache.service.js +52 -0
  53. package/esm2015/lib/components/icon/icon.component.js +48 -0
  54. package/esm2015/lib/components/icon/icon.module.js +25 -0
  55. package/esm2015/lib/components/icon-collapse-handle/icon-collapse-handle.component.js +64 -0
  56. package/esm2015/lib/components/icon-collapse-handle/icon-collapse-handle.module.js +23 -0
  57. package/esm2015/lib/components/image/image.component.js +42 -0
  58. package/esm2015/lib/components/image/image.module.js +14 -0
  59. package/esm2015/lib/components/input-checkbox/input-checkbox.component.js +79 -0
  60. package/esm2015/lib/components/input-checkbox/input-checkbox.module.js +19 -0
  61. package/esm2015/lib/components/input-date-picker/input-date-picker.component.js +91 -0
  62. package/esm2015/lib/components/input-date-picker/input-date-picker.module.js +26 -0
  63. package/esm2015/lib/components/input-date-range-picker/input-date-range-picker.component.js +134 -0
  64. package/esm2015/lib/components/input-date-range-picker/input-date-range-picker.module.js +27 -0
  65. package/esm2015/lib/components/input-number-picker/input-number-picker.component.js +314 -0
  66. package/esm2015/lib/components/input-number-picker/input-number-picker.module.js +23 -0
  67. package/esm2015/lib/components/input-radio-button/input-radio-button.component.js +84 -0
  68. package/esm2015/lib/components/input-radio-button/input-radio-button.module.js +19 -0
  69. package/esm2015/lib/components/input-scanner/bar-code-scanner.js +23 -0
  70. package/esm2015/lib/components/input-scanner/input-scanner.component.js +69 -0
  71. package/esm2015/lib/components/input-scanner/input-scanner.module.js +21 -0
  72. package/esm2015/lib/components/input-scanner/scanner.service.js +28 -0
  73. package/esm2015/lib/components/input-search/input-search.component.js +76 -0
  74. package/esm2015/lib/components/input-search/input-search.module.js +21 -0
  75. package/esm2015/lib/components/input-text/input-text.component.js +224 -0
  76. package/esm2015/lib/components/input-text/input-text.module.js +33 -0
  77. package/esm2015/lib/components/input-textarea/input-textarea.component.js +78 -0
  78. package/esm2015/lib/components/input-textarea/input-textarea.module.js +27 -0
  79. package/esm2015/lib/components/level-indicator/level-indicator-level.enum.js +7 -0
  80. package/esm2015/lib/components/level-indicator/level-indicator.component.js +36 -0
  81. package/esm2015/lib/components/level-indicator/level-indicator.module.js +15 -0
  82. package/esm2015/lib/components/list-of-values/list-of-values-multiselect-popup.component.js +112 -0
  83. package/esm2015/lib/components/list-of-values/list-of-values-popup.component.js +242 -0
  84. package/esm2015/lib/components/list-of-values/list-of-values.component.js +233 -0
  85. package/esm2015/lib/components/list-of-values/list-of-values.module.js +38 -0
  86. package/esm2015/lib/components/loader/loader.component.js +84 -0
  87. package/esm2015/lib/components/loader/loader.module.js +19 -0
  88. package/esm2015/lib/components/pagination/paginate.pipe.js +99 -0
  89. package/esm2015/lib/components/pagination/pagination-instance.js +2 -0
  90. package/esm2015/lib/components/pagination/pagination.component.js +126 -0
  91. package/esm2015/lib/components/pagination/pagination.module.js +28 -0
  92. package/esm2015/lib/components/pagination/pagination.service.js +88 -0
  93. package/esm2015/lib/components/pagination-bar/pagination-bar.component.js +151 -0
  94. package/esm2015/lib/components/pagination-bar/pagination-bar.module.js +19 -0
  95. package/esm2015/lib/components/popup/const/popup-window-token.js +3 -0
  96. package/esm2015/lib/components/popup/interface/popup-button.js +8 -0
  97. package/esm2015/lib/components/popup/interface/popup-close-event.js +2 -0
  98. package/esm2015/lib/components/popup/interface/popup-settings.js +42 -0
  99. package/esm2015/lib/components/popup/interface/popup.js +2 -0
  100. package/esm2015/lib/components/popup/model/popup-button-globals.js +11 -0
  101. package/esm2015/lib/components/popup/model/popup-window.js +38 -0
  102. package/esm2015/lib/components/popup/popup-buttons.component.js +53 -0
  103. package/esm2015/lib/components/popup/popup-message-display.component.js +47 -0
  104. package/esm2015/lib/components/popup/popup-window-shell.component.js +159 -0
  105. package/esm2015/lib/components/popup/popup.module.js +49 -0
  106. package/esm2015/lib/components/popup/service/popup-shower.service.js +90 -0
  107. package/esm2015/lib/components/popup/service/prompt.service.js +127 -0
  108. package/esm2015/lib/components/popup/text-input-popup.component.js +36 -0
  109. package/esm2015/lib/components/responsive-text/responsive-text.component.js +24 -0
  110. package/esm2015/lib/components/responsive-text/responsive-text.module.js +19 -0
  111. package/esm2015/lib/components/simple-grid/base-simple-grid.component.js +164 -0
  112. package/esm2015/lib/components/simple-grid/simple-grid-cell.component.js +172 -0
  113. package/esm2015/lib/components/simple-grid/simple-grid-column.directive.js +111 -0
  114. package/esm2015/lib/components/simple-grid/simple-grid.component.js +465 -0
  115. package/esm2015/lib/components/simple-grid/simple-grid.module.js +41 -0
  116. package/esm2015/lib/components/tile/tile.component.js +73 -0
  117. package/esm2015/lib/components/tile/tile.module.js +23 -0
  118. package/esm2015/lib/components/tile-select/tile-select.component.js +36 -0
  119. package/esm2015/lib/components/tile-select/tile-select.module.js +21 -0
  120. package/esm2015/lib/components/tooltip/tooltip.component.js +77 -0
  121. package/esm2015/lib/components/tooltip/tooltip.module.js +19 -0
  122. package/esm2015/lib/components/validation-error/validation-error.component.js +38 -0
  123. package/esm2015/lib/components/validation-error/validation-error.module.js +25 -0
  124. package/esm2015/lib/components/view-mode-buttons/content-view-mode.enum.js +11 -0
  125. package/esm2015/lib/components/view-mode-buttons/view-mode-buttons.component.js +61 -0
  126. package/esm2015/lib/components/view-mode-buttons/view-mode-buttons.module.js +21 -0
  127. package/esm2015/lib/core/constant/default-upper-bound-for-range-components.js +4 -0
  128. package/esm2015/lib/core/constant/java-max-int.js +2 -0
  129. package/esm2015/lib/core/constant/number-inputs-key-down-white-list.js +45 -0
  130. package/esm2015/lib/core/decorator/input-boolean.decorator.js +34 -0
  131. package/esm2015/lib/core/enum/co-direction.js +9 -0
  132. package/esm2015/lib/core/enum/co-document-image-display-kind.enum.js +7 -0
  133. package/esm2015/lib/core/enum/co-document-type.enum.js +11 -0
  134. package/esm2015/lib/core/enum/co-orientation.js +17 -0
  135. package/esm2015/lib/core/enum/core-components-icon.enum.js +300 -0
  136. package/esm2015/lib/core/enum/file-type-internal.enum.js +17 -0
  137. package/esm2015/lib/core/enum/file-type.enum.js +11 -0
  138. package/esm2015/lib/core/enum/filterItem-mode.enum.js +43 -0
  139. package/esm2015/lib/core/enum/input-number-picker-show-mode.enum.js +8 -0
  140. package/esm2015/lib/core/enum/keyboard-code.enum.js +74 -0
  141. package/esm2015/lib/core/enum/keyboard-key.enum.js +76 -0
  142. package/esm2015/lib/core/enum/object-right-type.enum.js +7 -0
  143. package/esm2015/lib/core/enum/popup-button-type.enum.js +12 -0
  144. package/esm2015/lib/core/enum/popup-type.enum.js +11 -0
  145. package/esm2015/lib/core/enum/table-name.enum.js +81 -0
  146. package/esm2015/lib/core/function/any-nill.function.js +6 -0
  147. package/esm2015/lib/core/function/is-nill.function.js +5 -0
  148. package/esm2015/lib/core/function/none-nill.function.js +17 -0
  149. package/esm2015/lib/core/function/not-nill.function.js +5 -0
  150. package/esm2015/lib/core/model/bounds-constrained-number-value.js +171 -0
  151. package/esm2015/lib/core/model/check-precision-and-scale-result.js +2 -0
  152. package/esm2015/lib/core/model/check-within-stepped-bounds-result.js +2 -0
  153. package/esm2015/lib/core/model/co-document-right.bo.js +3 -0
  154. package/esm2015/lib/core/model/co-document.bo.js +121 -0
  155. package/esm2015/lib/core/model/core-components-icon-svg.js +299 -0
  156. package/esm2015/lib/core/model/element-position.js +10 -0
  157. package/esm2015/lib/core/model/event/string-prompt-result-event.js +8 -0
  158. package/esm2015/lib/core/service/form-input-user-change-listener.service.js +25 -0
  159. package/esm2015/lib/core/service/form-master.service.js +102 -0
  160. package/esm2015/lib/core/service/ng-zone-wrapper.service.js +20 -0
  161. package/esm2015/lib/core/utils/array-utils.js +264 -0
  162. package/esm2015/lib/core/utils/browser-utils.js +100 -0
  163. package/esm2015/lib/core/utils/direction-enum-utils.js +14 -0
  164. package/esm2015/lib/core/utils/event-utils.js +53 -0
  165. package/esm2015/lib/core/utils/file-utils.js +267 -0
  166. package/esm2015/lib/core/utils/number-utils.js +309 -0
  167. package/esm2015/lib/core/utils/object-utils.js +186 -0
  168. package/esm2015/lib/core/utils/string-utils.js +94 -0
  169. package/esm2015/lib/core/validator/email.validator.js +6 -0
  170. package/esm2015/lib/core/validator/equal.validator.js +11 -0
  171. package/esm2015/lib/core/validator/max-string-length.validator.js +10 -0
  172. package/esm2015/lib/core/validator/password.validator.js +31 -0
  173. package/esm2015/lib/core/validator/precision-scale.validator.js +11 -0
  174. package/esm2015/lib/core/validator/required.validator.js +5 -0
  175. package/esm2015/lib/directives/clickoutside/click-outside-master.service.js +57 -0
  176. package/esm2015/lib/directives/clickoutside/click-outside.directive.js +71 -0
  177. package/esm2015/lib/directives/clickoutside/clickoutside.module.js +19 -0
  178. package/esm2015/lib/directives/observe-visibility/observe-visibility.directive.js +53 -0
  179. package/esm2015/lib/directives/observe-visibility/observe-visibility.module.js +15 -0
  180. package/esm2015/lib/directives/overlay/overlay-parent.directive.js +19 -0
  181. package/esm2015/lib/directives/overlay/overlay.directive.js +161 -0
  182. package/esm2015/lib/directives/overlay/overlay.module.js +18 -0
  183. package/esm2015/lib/directives/ripple/ripple-ref.js +26 -0
  184. package/esm2015/lib/directives/ripple/ripple-renderer.js +160 -0
  185. package/esm2015/lib/directives/ripple/ripple.directive.js +80 -0
  186. package/esm2015/lib/directives/ripple/ripple.module.js +24 -0
  187. package/esm2015/lib/directives/ripple/scroll-dispatcher.service.js +108 -0
  188. package/esm2015/lib/directives/ripple/scrollable.directive.js +40 -0
  189. package/esm2015/lib/directives/ripple/viewport-ruler.service.js +73 -0
  190. package/esm2015/lib/directives/screen-configuration/screen-configuration.directive.js +158 -0
  191. package/esm2015/lib/directives/screen-configuration/screen-configuration.module.js +19 -0
  192. package/esm2015/lib/directives/stopclick/stop-click.directive.js +38 -0
  193. package/esm2015/lib/directives/stopclick/stop-click.module.js +15 -0
  194. package/esm2015/lib/directives/template-wrapper/template-wrapper.directive.js +68 -0
  195. package/esm2015/lib/directives/template-wrapper/template-wrapper.module.js +15 -0
  196. package/esm2015/lib/directives/tooltip/tooltip-directive.module.js +19 -0
  197. package/esm2015/lib/directives/tooltip/tooltip.directive.js +78 -0
  198. package/esm2015/lib/interfaces/dialog-response.interface.js +2 -0
  199. package/esm2015/lib/interfaces/scanner-input.interface.js +2 -0
  200. package/esm2015/lib/interfaces/screen-config-adapter-component-interface-name.js +4 -0
  201. package/esm2015/lib/interfaces/screen-config-adapter.component.interface.js +2 -0
  202. package/esm2015/lib/model/enum/app-button-type.enum.js +11 -0
  203. package/esm2015/lib/model/enum/app-popup-type.enum.js +8 -0
  204. package/esm2015/lib/pipes/append.pipe.js +17 -0
  205. package/esm2015/lib/pipes/append.pipe.module.js +15 -0
  206. package/esm2015/lib/pipes/filter.pipe.js +16 -0
  207. package/esm2015/lib/pipes/filter.pipe.module.js +15 -0
  208. package/esm2015/lib/pipes/prepend.pipe.js +17 -0
  209. package/esm2015/lib/pipes/prepend.pipe.module.js +15 -0
  210. package/esm2015/lib/pipes/price-display-pipe.module.js +15 -0
  211. package/esm2015/lib/pipes/price-display.pipe.js +20 -0
  212. package/esm2015/lib/service/base-module-screen-config.service.js +205 -0
  213. package/esm2015/lib/service/base-module.service.js +42 -0
  214. package/esm2015/lib/service/color-sequence.service.js +23 -0
  215. package/esm2015/lib/service/overlay.service.js +73 -0
  216. package/esm2015/lib/translation/core-components-translation.module.js +29 -0
  217. package/esm2015/lib/translation/core-components-translation.service.js +17 -0
  218. package/esm2015/lib/translation/core-dictionary.service.js +29 -0
  219. package/esm2015/lib/translation/core-localize.pipe.js +26 -0
  220. package/esm2015/public-api.js +130 -0
  221. package/fesm2015/colijnit-corecomponents_v12.js +13366 -0
  222. package/fesm2015/colijnit-corecomponents_v12.js.map +1 -0
  223. package/lib/components/article-tile/article-tile.component.d.ts +22 -0
  224. package/lib/components/article-tile/article-tile.module.d.ts +2 -0
  225. package/lib/components/base/base-input.component.d.ts +182 -0
  226. package/lib/components/base/base.module.d.ts +2 -0
  227. package/lib/components/base/commit-buttons/commit-buttons.component.d.ts +21 -0
  228. package/lib/components/base/commit-buttons/commit-buttons.module.d.ts +2 -0
  229. package/lib/components/base/dialog-base.component.d.ts +4 -0
  230. package/lib/components/base-input-date-picker/base-input-date-picker.directive.d.ts +15 -0
  231. package/lib/components/button/button.component.d.ts +29 -0
  232. package/lib/components/button/button.module.d.ts +2 -0
  233. package/lib/components/calendar/calendar-template.component.d.ts +60 -0
  234. package/lib/components/calendar/calendar.component.d.ts +13 -0
  235. package/lib/components/calendar/calendar.module.d.ts +2 -0
  236. package/lib/components/card/card.component.d.ts +23 -0
  237. package/lib/components/card/card.module.d.ts +2 -0
  238. package/lib/components/carousel/carousel.component.d.ts +23 -0
  239. package/lib/components/carousel/carousel.module.d.ts +6 -0
  240. package/lib/components/carousel-3d/carousel-3d.component.d.ts +55 -0
  241. package/lib/components/carousel-3d/carousel-3d.module.d.ts +2 -0
  242. package/lib/components/carousel-3d/carouselItem.d.ts +13 -0
  243. package/lib/components/checkmark-overlay/checkmark-overlay.component.d.ts +17 -0
  244. package/lib/components/checkmark-overlay/checkmark-overlay.module.d.ts +2 -0
  245. package/lib/components/co-dialog/co-dialog.component.d.ts +23 -0
  246. package/lib/components/co-dialog/co-dialog.module.d.ts +2 -0
  247. package/lib/components/co-dialog-wizard/co-dialog-wizard.component.d.ts +9 -0
  248. package/lib/components/co-dialog-wizard/co-dialog-wizard.module.d.ts +2 -0
  249. package/lib/components/collapsible/collapsible.component.d.ts +22 -0
  250. package/lib/components/collapsible/collapsible.module.d.ts +2 -0
  251. package/lib/components/color-picker/color-picker.component.d.ts +6 -0
  252. package/lib/components/color-picker/color-picker.module.d.ts +2 -0
  253. package/lib/components/core-dialog/confirmation-dialog/confirmation-dialog.component.d.ts +20 -0
  254. package/lib/components/core-dialog/core-dialog.module.d.ts +4 -0
  255. package/lib/components/core-dialog/core-dialog.service.d.ts +15 -0
  256. package/lib/components/core-dialog/core-dynamic-component.service.d.ts +12 -0
  257. package/lib/components/double-calendar/double-calendar.component.d.ts +18 -0
  258. package/lib/components/double-calendar/double-calendar.module.d.ts +2 -0
  259. package/lib/components/filter-item/filter-item-viewmodel.d.ts +9 -0
  260. package/lib/components/filter-item/filter-item.component.d.ts +80 -0
  261. package/lib/components/filter-item/filter-item.module.d.ts +2 -0
  262. package/lib/components/filter-item/filter-viewmodel.d.ts +8 -0
  263. package/lib/components/form/form.component.d.ts +39 -0
  264. package/lib/components/form/form.module.d.ts +2 -0
  265. package/lib/components/grid-toolbar/grid-toolbar.component.d.ts +19 -0
  266. package/lib/components/grid-toolbar/grid-toolbar.module.d.ts +2 -0
  267. package/lib/components/grid-toolbar-button/grid-toolbar-button.component.d.ts +8 -0
  268. package/lib/components/grid-toolbar-button/grid-toolbar-button.module.d.ts +2 -0
  269. package/lib/components/icon/icon-cache.service.d.ts +20 -0
  270. package/lib/components/icon/icon.component.d.ts +17 -0
  271. package/lib/components/icon/icon.module.d.ts +2 -0
  272. package/lib/components/icon-collapse-handle/icon-collapse-handle.component.d.ts +21 -0
  273. package/lib/components/icon-collapse-handle/icon-collapse-handle.module.d.ts +2 -0
  274. package/lib/components/image/image.component.d.ts +20 -0
  275. package/lib/components/image/image.module.d.ts +2 -0
  276. package/lib/components/input-checkbox/input-checkbox.component.d.ts +24 -0
  277. package/lib/components/input-checkbox/input-checkbox.module.d.ts +2 -0
  278. package/lib/components/input-date-picker/input-date-picker.component.d.ts +12 -0
  279. package/lib/components/input-date-picker/input-date-picker.module.d.ts +2 -0
  280. package/lib/components/input-date-range-picker/input-date-range-picker.component.d.ts +20 -0
  281. package/lib/components/input-date-range-picker/input-date-range-picker.module.d.ts +2 -0
  282. package/lib/components/input-number-picker/input-number-picker.component.d.ts +73 -0
  283. package/lib/components/input-number-picker/input-number-picker.module.d.ts +2 -0
  284. package/lib/components/input-radio-button/input-radio-button.component.d.ts +19 -0
  285. package/lib/components/input-radio-button/input-radio-button.module.d.ts +2 -0
  286. package/lib/components/input-scanner/bar-code-scanner.d.ts +7 -0
  287. package/lib/components/input-scanner/input-scanner.component.d.ts +23 -0
  288. package/lib/components/input-scanner/input-scanner.module.d.ts +2 -0
  289. package/lib/components/input-scanner/scanner.service.d.ts +11 -0
  290. package/lib/components/input-search/input-search.component.d.ts +18 -0
  291. package/lib/components/input-search/input-search.module.d.ts +2 -0
  292. package/lib/components/input-text/input-text.component.d.ts +62 -0
  293. package/lib/components/input-text/input-text.module.d.ts +2 -0
  294. package/lib/components/input-textarea/input-textarea.component.d.ts +19 -0
  295. package/lib/components/input-textarea/input-textarea.module.d.ts +2 -0
  296. package/lib/components/level-indicator/level-indicator-level.enum.d.ts +5 -0
  297. package/lib/components/level-indicator/level-indicator.component.d.ts +10 -0
  298. package/lib/components/level-indicator/level-indicator.module.d.ts +2 -0
  299. package/lib/components/list-of-values/list-of-values-multiselect-popup.component.d.ts +25 -0
  300. package/lib/components/list-of-values/list-of-values-popup.component.d.ts +47 -0
  301. package/lib/components/list-of-values/list-of-values.component.d.ts +37 -0
  302. package/lib/components/list-of-values/list-of-values.module.d.ts +2 -0
  303. package/lib/components/loader/loader.component.d.ts +3 -0
  304. package/lib/components/loader/loader.module.d.ts +2 -0
  305. package/lib/components/pagination/paginate.pipe.d.ts +15 -0
  306. package/lib/components/pagination/pagination-instance.d.ts +14 -0
  307. package/lib/components/pagination/pagination.component.d.ts +38 -0
  308. package/lib/components/pagination/pagination.module.d.ts +2 -0
  309. package/lib/components/pagination/pagination.service.d.ts +24 -0
  310. package/lib/components/pagination-bar/pagination-bar.component.d.ts +33 -0
  311. package/lib/components/pagination-bar/pagination-bar.module.d.ts +2 -0
  312. package/lib/components/popup/const/popup-window-token.d.ts +3 -0
  313. package/lib/components/popup/interface/popup-button.d.ts +8 -0
  314. package/lib/components/popup/interface/popup-close-event.d.ts +5 -0
  315. package/lib/components/popup/interface/popup-settings.d.ts +21 -0
  316. package/lib/components/popup/interface/popup.d.ts +9 -0
  317. package/lib/components/popup/model/popup-button-globals.d.ts +9 -0
  318. package/lib/components/popup/model/popup-window.d.ts +21 -0
  319. package/lib/components/popup/popup-buttons.component.d.ts +13 -0
  320. package/lib/components/popup/popup-message-display.component.d.ts +12 -0
  321. package/lib/components/popup/popup-window-shell.component.d.ts +42 -0
  322. package/lib/components/popup/popup.module.d.ts +4 -0
  323. package/lib/components/popup/service/popup-shower.service.d.ts +17 -0
  324. package/lib/components/popup/service/prompt.service.d.ts +17 -0
  325. package/lib/components/popup/text-input-popup.component.d.ts +12 -0
  326. package/lib/components/responsive-text/responsive-text.component.d.ts +4 -0
  327. package/lib/components/responsive-text/responsive-text.module.d.ts +2 -0
  328. package/lib/components/simple-grid/base-simple-grid.component.d.ts +52 -0
  329. package/lib/components/simple-grid/simple-grid-cell.component.d.ts +30 -0
  330. package/lib/components/simple-grid/simple-grid-column.directive.d.ts +42 -0
  331. package/lib/components/simple-grid/simple-grid.component.d.ts +64 -0
  332. package/lib/components/simple-grid/simple-grid.module.d.ts +2 -0
  333. package/lib/components/tile/tile.component.d.ts +16 -0
  334. package/lib/components/tile/tile.module.d.ts +2 -0
  335. package/lib/components/tile-select/tile-select.component.d.ts +8 -0
  336. package/lib/components/tile-select/tile-select.module.d.ts +2 -0
  337. package/lib/components/tooltip/tooltip.component.d.ts +18 -0
  338. package/lib/components/tooltip/tooltip.module.d.ts +2 -0
  339. package/lib/components/validation-error/validation-error.component.d.ts +12 -0
  340. package/lib/components/validation-error/validation-error.module.d.ts +2 -0
  341. package/lib/components/view-mode-buttons/content-view-mode.enum.d.ts +8 -0
  342. package/lib/components/view-mode-buttons/view-mode-buttons.component.d.ts +17 -0
  343. package/lib/components/view-mode-buttons/view-mode-buttons.module.d.ts +2 -0
  344. package/lib/core/constant/default-upper-bound-for-range-components.d.ts +2 -0
  345. package/lib/core/constant/java-max-int.d.ts +1 -0
  346. package/lib/core/constant/number-inputs-key-down-white-list.d.ts +2 -0
  347. package/lib/core/decorator/input-boolean.decorator.d.ts +8 -0
  348. package/lib/core/enum/co-direction.d.ts +6 -0
  349. package/lib/core/enum/co-document-image-display-kind.enum.d.ts +5 -0
  350. package/lib/core/enum/co-document-type.enum.d.ts +5 -0
  351. package/lib/core/enum/co-orientation.d.ts +6 -0
  352. package/lib/core/enum/core-components-icon.enum.d.ts +298 -0
  353. package/lib/core/enum/file-type-internal.enum.d.ts +15 -0
  354. package/lib/core/enum/file-type.enum.d.ts +5 -0
  355. package/lib/core/enum/filterItem-mode.enum.d.ts +15 -0
  356. package/lib/core/enum/input-number-picker-show-mode.enum.d.ts +5 -0
  357. package/lib/core/enum/keyboard-code.enum.d.ts +71 -0
  358. package/lib/core/enum/keyboard-key.enum.d.ts +70 -0
  359. package/lib/core/enum/object-right-type.enum.d.ts +5 -0
  360. package/lib/core/enum/popup-button-type.enum.d.ts +9 -0
  361. package/lib/core/enum/popup-type.enum.d.ts +9 -0
  362. package/lib/core/enum/table-name.enum.d.ts +79 -0
  363. package/lib/core/function/any-nill.function.d.ts +1 -0
  364. package/lib/core/function/is-nill.function.d.ts +1 -0
  365. package/lib/core/function/none-nill.function.d.ts +1 -0
  366. package/lib/core/function/not-nill.function.d.ts +1 -0
  367. package/lib/core/model/bounds-constrained-number-value.d.ts +46 -0
  368. package/lib/core/model/check-precision-and-scale-result.d.ts +4 -0
  369. package/lib/core/model/check-within-stepped-bounds-result.d.ts +8 -0
  370. package/lib/core/model/co-document-right.bo.d.ts +6 -0
  371. package/lib/core/model/co-document.bo.d.ts +61 -0
  372. package/lib/core/model/core-components-icon-svg.d.ts +4 -0
  373. package/lib/core/model/element-position.d.ts +7 -0
  374. package/lib/core/model/event/string-prompt-result-event.d.ts +6 -0
  375. package/lib/core/service/form-input-user-change-listener.service.d.ts +10 -0
  376. package/lib/core/service/form-master.service.d.ts +26 -0
  377. package/lib/core/service/ng-zone-wrapper.service.d.ts +6 -0
  378. package/lib/core/utils/array-utils.d.ts +85 -0
  379. package/lib/core/utils/browser-utils.d.ts +15 -0
  380. package/lib/core/utils/direction-enum-utils.d.ts +5 -0
  381. package/lib/core/utils/event-utils.d.ts +12 -0
  382. package/lib/core/utils/file-utils.d.ts +29 -0
  383. package/lib/core/utils/number-utils.d.ts +89 -0
  384. package/lib/core/utils/object-utils.d.ts +31 -0
  385. package/lib/core/utils/string-utils.d.ts +25 -0
  386. package/lib/core/validator/email.validator.d.ts +2 -0
  387. package/lib/core/validator/equal.validator.d.ts +2 -0
  388. package/lib/core/validator/max-string-length.validator.d.ts +2 -0
  389. package/lib/core/validator/password.validator.d.ts +3 -0
  390. package/lib/core/validator/precision-scale.validator.d.ts +2 -0
  391. package/lib/core/validator/required.validator.d.ts +2 -0
  392. package/lib/directives/clickoutside/click-outside-master.service.d.ts +15 -0
  393. package/lib/directives/clickoutside/click-outside.directive.d.ts +18 -0
  394. package/lib/directives/clickoutside/clickoutside.module.d.ts +2 -0
  395. package/lib/directives/observe-visibility/observe-visibility.directive.d.ts +14 -0
  396. package/lib/directives/observe-visibility/observe-visibility.module.d.ts +2 -0
  397. package/lib/directives/overlay/overlay-parent.directive.d.ts +6 -0
  398. package/lib/directives/overlay/overlay.directive.d.ts +25 -0
  399. package/lib/directives/overlay/overlay.module.d.ts +2 -0
  400. package/lib/directives/ripple/ripple-ref.d.ts +21 -0
  401. package/lib/directives/ripple/ripple-renderer.d.ts +56 -0
  402. package/lib/directives/ripple/ripple.directive.d.ts +56 -0
  403. package/lib/directives/ripple/ripple.module.d.ts +2 -0
  404. package/lib/directives/ripple/scroll-dispatcher.service.d.ts +51 -0
  405. package/lib/directives/ripple/scrollable.directive.d.ts +20 -0
  406. package/lib/directives/ripple/viewport-ruler.service.d.ts +29 -0
  407. package/lib/directives/screen-configuration/screen-configuration.directive.d.ts +32 -0
  408. package/lib/directives/screen-configuration/screen-configuration.module.d.ts +2 -0
  409. package/lib/directives/stopclick/stop-click.directive.d.ts +10 -0
  410. package/lib/directives/stopclick/stop-click.module.d.ts +2 -0
  411. package/lib/directives/template-wrapper/template-wrapper.directive.d.ts +13 -0
  412. package/lib/directives/template-wrapper/template-wrapper.module.d.ts +2 -0
  413. package/lib/directives/tooltip/tooltip-directive.module.d.ts +2 -0
  414. package/lib/directives/tooltip/tooltip.directive.d.ts +20 -0
  415. package/lib/interfaces/dialog-response.interface.d.ts +6 -0
  416. package/lib/interfaces/scanner-input.interface.d.ts +3 -0
  417. package/lib/interfaces/screen-config-adapter-component-interface-name.d.ts +3 -0
  418. package/lib/interfaces/screen-config-adapter.component.interface.d.ts +10 -0
  419. package/lib/model/enum/app-button-type.enum.d.ts +9 -0
  420. package/lib/model/enum/app-popup-type.enum.d.ts +6 -0
  421. package/lib/pipes/append.pipe.d.ts +4 -0
  422. package/lib/pipes/append.pipe.module.d.ts +2 -0
  423. package/lib/pipes/filter.pipe.d.ts +4 -0
  424. package/lib/pipes/filter.pipe.module.d.ts +2 -0
  425. package/lib/pipes/prepend.pipe.d.ts +4 -0
  426. package/lib/pipes/prepend.pipe.module.d.ts +2 -0
  427. package/lib/pipes/price-display-pipe.module.d.ts +2 -0
  428. package/lib/pipes/price-display.pipe.d.ts +4 -0
  429. package/lib/service/base-module-screen-config.service.d.ts +47 -0
  430. package/lib/service/base-module.service.d.ts +22 -0
  431. package/lib/service/color-sequence.service.d.ts +4 -0
  432. package/lib/service/overlay.service.d.ts +13 -0
  433. package/lib/translation/core-components-translation.module.d.ts +4 -0
  434. package/lib/translation/core-components-translation.service.d.ts +6 -0
  435. package/lib/translation/core-dictionary.service.d.ts +12 -0
  436. package/lib/translation/core-localize.pipe.d.ts +7 -0
  437. package/package.json +11 -3
  438. package/public-api.d.ts +126 -0
  439. package/karma.conf.js +0 -44
  440. package/ng-package.json +0 -10
  441. package/src/lib/components/article-tile/article-tile.component.ts +0 -95
  442. package/src/lib/components/article-tile/article-tile.module.ts +0 -34
  443. package/src/lib/components/base/base-input.component.ts +0 -988
  444. package/src/lib/components/base/base.module.ts +0 -22
  445. package/src/lib/components/base/commit-buttons/commit-buttons.component.ts +0 -120
  446. package/src/lib/components/base/commit-buttons/commit-buttons.module.ts +0 -19
  447. package/src/lib/components/base/dialog-base.component.ts +0 -8
  448. package/src/lib/components/base-input-date-picker/base-input-date-picker.directive.ts +0 -32
  449. package/src/lib/components/base-input-time/base-input-time-directive.ts +0 -31
  450. package/src/lib/components/button/button.component.ts +0 -117
  451. package/src/lib/components/button/button.module.ts +0 -18
  452. package/src/lib/components/calendar/calendar-template.component.ts +0 -392
  453. package/src/lib/components/calendar/calendar.component.ts +0 -54
  454. package/src/lib/components/calendar/calendar.module.ts +0 -26
  455. package/src/lib/components/card/card.component.ts +0 -94
  456. package/src/lib/components/card/card.module.ts +0 -34
  457. package/src/lib/components/carousel/carousel.component.ts +0 -128
  458. package/src/lib/components/carousel/carousel.module.ts +0 -28
  459. package/src/lib/components/carousel-3d/carousel-3d.component.ts +0 -392
  460. package/src/lib/components/carousel-3d/carousel-3d.module.ts +0 -17
  461. package/src/lib/components/carousel-3d/carouselItem.ts +0 -77
  462. package/src/lib/components/checkmark-overlay/checkmark-overlay.component.ts +0 -99
  463. package/src/lib/components/checkmark-overlay/checkmark-overlay.module.ts +0 -18
  464. package/src/lib/components/co-dialog/animation.ts +0 -2
  465. package/src/lib/components/co-dialog/co-dialog.component.ts +0 -130
  466. package/src/lib/components/co-dialog/co-dialog.module.ts +0 -17
  467. package/src/lib/components/co-dialog-wizard/co-dialog-wizard.component.ts +0 -50
  468. package/src/lib/components/co-dialog-wizard/co-dialog-wizard.module.ts +0 -15
  469. package/src/lib/components/collapsible/collapsible.component.ts +0 -114
  470. package/src/lib/components/collapsible/collapsible.module.ts +0 -17
  471. package/src/lib/components/color-picker/color-picker.component.ts +0 -40
  472. package/src/lib/components/color-picker/color-picker.module.ts +0 -19
  473. package/src/lib/components/core-dialog/confirmation-dialog/confirmation-dialog.component.ts +0 -86
  474. package/src/lib/components/core-dialog/core-dialog.module.ts +0 -37
  475. package/src/lib/components/core-dialog/core-dialog.service.ts +0 -61
  476. package/src/lib/components/core-dialog/core-dynamic-component.service.ts +0 -101
  477. package/src/lib/components/double-calendar/double-calendar.component.ts +0 -102
  478. package/src/lib/components/double-calendar/double-calendar.module.ts +0 -23
  479. package/src/lib/components/filter-item/filter-item-viewmodel.ts +0 -20
  480. package/src/lib/components/filter-item/filter-item.component.ts +0 -715
  481. package/src/lib/components/filter-item/filter-item.module.ts +0 -42
  482. package/src/lib/components/filter-item/filter-viewmodel.ts +0 -11
  483. package/src/lib/components/form/form.component.ts +0 -211
  484. package/src/lib/components/form/form.module.ts +0 -22
  485. package/src/lib/components/grid-toolbar/grid-toolbar.component.ts +0 -62
  486. package/src/lib/components/grid-toolbar/grid-toolbar.module.ts +0 -21
  487. package/src/lib/components/grid-toolbar-button/grid-toolbar-button.component.ts +0 -28
  488. package/src/lib/components/grid-toolbar-button/grid-toolbar-button.module.ts +0 -17
  489. package/src/lib/components/icon/icon-cache.service.ts +0 -57
  490. package/src/lib/components/icon/icon.component.ts +0 -54
  491. package/src/lib/components/icon/icon.module.ts +0 -24
  492. package/src/lib/components/icon-collapse-handle/icon-collapse-handle.component.ts +0 -75
  493. package/src/lib/components/icon-collapse-handle/icon-collapse-handle.module.ts +0 -21
  494. package/src/lib/components/image/image.component.ts +0 -51
  495. package/src/lib/components/image/image.module.ts +0 -12
  496. package/src/lib/components/input-checkbox/input-checkbox.component.ts +0 -85
  497. package/src/lib/components/input-checkbox/input-checkbox.module.ts +0 -17
  498. package/src/lib/components/input-date-picker/input-date-picker.component.ts +0 -103
  499. package/src/lib/components/input-date-picker/input-date-picker.module.ts +0 -24
  500. package/src/lib/components/input-date-range-picker/input-date-range-picker.component.ts +0 -155
  501. package/src/lib/components/input-date-range-picker/input-date-range-picker.module.ts +0 -25
  502. package/src/lib/components/input-number-picker/input-number-picker.component.ts +0 -378
  503. package/src/lib/components/input-number-picker/input-number-picker.module.ts +0 -20
  504. package/src/lib/components/input-radio-button/input-radio-button.component.ts +0 -86
  505. package/src/lib/components/input-radio-button/input-radio-button.module.ts +0 -17
  506. package/src/lib/components/input-scanner/bar-code-scanner.ts +0 -25
  507. package/src/lib/components/input-scanner/input-scanner.component.ts +0 -85
  508. package/src/lib/components/input-scanner/input-scanner.module.ts +0 -19
  509. package/src/lib/components/input-scanner/scanner.service.ts +0 -28
  510. package/src/lib/components/input-search/input-search.component.ts +0 -81
  511. package/src/lib/components/input-search/input-search.module.ts +0 -20
  512. package/src/lib/components/input-text/input-text.component.ts +0 -276
  513. package/src/lib/components/input-text/input-text.module.ts +0 -31
  514. package/src/lib/components/input-textarea/input-textarea.component.ts +0 -81
  515. package/src/lib/components/input-textarea/input-textarea.module.ts +0 -25
  516. package/src/lib/components/input-time/input-time.component.ts +0 -72
  517. package/src/lib/components/input-time/input-time.module.ts +0 -22
  518. package/src/lib/components/level-indicator/level-indicator-level.enum.ts +0 -5
  519. package/src/lib/components/level-indicator/level-indicator.component.ts +0 -42
  520. package/src/lib/components/level-indicator/level-indicator.module.ts +0 -13
  521. package/src/lib/components/list-of-values/list-of-values-multiselect-popup.component.ts +0 -132
  522. package/src/lib/components/list-of-values/list-of-values-popup.component.ts +0 -281
  523. package/src/lib/components/list-of-values/list-of-values.component.ts +0 -257
  524. package/src/lib/components/list-of-values/list-of-values.module.ts +0 -35
  525. package/src/lib/components/loader/loader.component.ts +0 -82
  526. package/src/lib/components/loader/loader.module.ts +0 -17
  527. package/src/lib/components/pagination/paginate.pipe.ts +0 -116
  528. package/src/lib/components/pagination/pagination-instance.ts +0 -18
  529. package/src/lib/components/pagination/pagination.component.ts +0 -160
  530. package/src/lib/components/pagination/pagination.module.ts +0 -26
  531. package/src/lib/components/pagination/pagination.service.ts +0 -99
  532. package/src/lib/components/pagination-bar/pagination-bar.component.ts +0 -178
  533. package/src/lib/components/pagination-bar/pagination-bar.module.ts +0 -17
  534. package/src/lib/components/popup/const/popup-window-token.ts +0 -4
  535. package/src/lib/components/popup/interface/popup-button.ts +0 -14
  536. package/src/lib/components/popup/interface/popup-close-event.ts +0 -8
  537. package/src/lib/components/popup/interface/popup-settings.ts +0 -70
  538. package/src/lib/components/popup/interface/popup.ts +0 -17
  539. package/src/lib/components/popup/model/popup-button-globals.ts +0 -11
  540. package/src/lib/components/popup/model/popup-window.ts +0 -51
  541. package/src/lib/components/popup/popup-buttons.component.ts +0 -61
  542. package/src/lib/components/popup/popup-message-display.component.ts +0 -49
  543. package/src/lib/components/popup/popup-window-shell.component.ts +0 -222
  544. package/src/lib/components/popup/popup.module.ts +0 -48
  545. package/src/lib/components/popup/service/popup-shower.service.ts +0 -98
  546. package/src/lib/components/popup/service/prompt.service.ts +0 -127
  547. package/src/lib/components/popup/text-input-popup.component.ts +0 -36
  548. package/src/lib/components/responsive-text/responsive-text.component.ts +0 -24
  549. package/src/lib/components/responsive-text/responsive-text.module.ts +0 -17
  550. package/src/lib/components/simple-grid/base-simple-grid.component.ts +0 -194
  551. package/src/lib/components/simple-grid/simple-grid-cell.component.ts +0 -192
  552. package/src/lib/components/simple-grid/simple-grid-column.directive.ts +0 -143
  553. package/src/lib/components/simple-grid/simple-grid.component.ts +0 -489
  554. package/src/lib/components/simple-grid/simple-grid.module.ts +0 -38
  555. package/src/lib/components/tile/tile.component.ts +0 -71
  556. package/src/lib/components/tile/tile.module.ts +0 -21
  557. package/src/lib/components/tile-select/tile-select.component.ts +0 -36
  558. package/src/lib/components/tile-select/tile-select.module.ts +0 -19
  559. package/src/lib/components/tooltip/tooltip.component.ts +0 -96
  560. package/src/lib/components/tooltip/tooltip.module.ts +0 -17
  561. package/src/lib/components/validation-error/validation-error.component.ts +0 -45
  562. package/src/lib/components/validation-error/validation-error.module.ts +0 -24
  563. package/src/lib/components/view-mode-buttons/content-view-mode.enum.ts +0 -9
  564. package/src/lib/components/view-mode-buttons/view-mode-buttons.component.ts +0 -63
  565. package/src/lib/components/view-mode-buttons/view-mode-buttons.module.ts +0 -19
  566. package/src/lib/core/abstract/collection-based-component.ts +0 -488
  567. package/src/lib/core/config/device-environment.ts +0 -26
  568. package/src/lib/core/constant/default-upper-bound-for-range-components.ts +0 -4
  569. package/src/lib/core/constant/java-max-int.ts +0 -1
  570. package/src/lib/core/constant/number-inputs-key-down-white-list.ts +0 -46
  571. package/src/lib/core/decorator/input-boolean.decorator.ts +0 -35
  572. package/src/lib/core/enum/co-direction.ts +0 -7
  573. package/src/lib/core/enum/co-document-image-display-kind.enum.ts +0 -5
  574. package/src/lib/core/enum/co-document-type.enum.ts +0 -9
  575. package/src/lib/core/enum/co-orientation.ts +0 -18
  576. package/src/lib/core/enum/collection-based-component-input-driver-prop.enum.ts +0 -10
  577. package/src/lib/core/enum/color-sequence-name.enum.ts +0 -5
  578. package/src/lib/core/enum/core-components-icon.enum.ts +0 -299
  579. package/src/lib/core/enum/file-type-internal.enum.ts +0 -15
  580. package/src/lib/core/enum/file-type.enum.ts +0 -9
  581. package/src/lib/core/enum/filterItem-mode.enum.ts +0 -57
  582. package/src/lib/core/enum/float-label-type.enum.ts +0 -5
  583. package/src/lib/core/enum/input-number-picker-show-mode.enum.ts +0 -6
  584. package/src/lib/core/enum/input-text-type.enum.ts +0 -4
  585. package/src/lib/core/enum/keyboard-code.enum.ts +0 -72
  586. package/src/lib/core/enum/keyboard-key.enum.ts +0 -78
  587. package/src/lib/core/enum/logical-operator-type.enum.ts +0 -5
  588. package/src/lib/core/enum/object-right-type.enum.ts +0 -5
  589. package/src/lib/core/enum/popup-button-type.enum.ts +0 -10
  590. package/src/lib/core/enum/popup-type.enum.ts +0 -9
  591. package/src/lib/core/enum/schedule-view.enum.ts +0 -14
  592. package/src/lib/core/enum/search-data-type.ts +0 -4
  593. package/src/lib/core/enum/search-property-state.ts +0 -5
  594. package/src/lib/core/enum/sort-data-type.ts +0 -6
  595. package/src/lib/core/enum/sort-direction.ts +0 -9
  596. package/src/lib/core/enum/table-name.enum.ts +0 -79
  597. package/src/lib/core/enum/value-comparison-type.ts +0 -11
  598. package/src/lib/core/function/any-nill.function.ts +0 -6
  599. package/src/lib/core/function/is-nill.function.ts +0 -4
  600. package/src/lib/core/function/none-nill.function.ts +0 -16
  601. package/src/lib/core/function/not-nill.function.ts +0 -4
  602. package/src/lib/core/interface/search-property.ts +0 -15
  603. package/src/lib/core/interface/sort-property.ts +0 -16
  604. package/src/lib/core/model/bounds-constrained-number-value.ts +0 -222
  605. package/src/lib/core/model/check-precision-and-scale-result.ts +0 -5
  606. package/src/lib/core/model/check-within-stepped-bounds-result.ts +0 -8
  607. package/src/lib/core/model/co-document-right.bo.ts +0 -9
  608. package/src/lib/core/model/co-document.bo.ts +0 -193
  609. package/src/lib/core/model/color-sequence.ts +0 -39
  610. package/src/lib/core/model/color.ts +0 -29
  611. package/src/lib/core/model/core-components-icon-svg.ts +0 -299
  612. package/src/lib/core/model/element-position.ts +0 -14
  613. package/src/lib/core/model/event/number-prompt-result-event.ts +0 -10
  614. package/src/lib/core/model/event/string-prompt-result-event.ts +0 -10
  615. package/src/lib/core/model/numerical-range.ts +0 -19
  616. package/src/lib/core/service/form-input-user-change-listener.service.ts +0 -31
  617. package/src/lib/core/service/form-master.service.ts +0 -119
  618. package/src/lib/core/service/ng-zone-wrapper.service.ts +0 -15
  619. package/src/lib/core/utils/array-utils.spec.ts +0 -588
  620. package/src/lib/core/utils/array-utils.ts +0 -301
  621. package/src/lib/core/utils/browser-utils.ts +0 -123
  622. package/src/lib/core/utils/business-object-utils.ts +0 -42
  623. package/src/lib/core/utils/css-utils.ts +0 -276
  624. package/src/lib/core/utils/direction-enum-utils.ts +0 -15
  625. package/src/lib/core/utils/element-ref.utils.ts +0 -12
  626. package/src/lib/core/utils/event-utils.ts +0 -61
  627. package/src/lib/core/utils/file-utils.ts +0 -291
  628. package/src/lib/core/utils/number-utils.spec.ts +0 -657
  629. package/src/lib/core/utils/number-utils.ts +0 -350
  630. package/src/lib/core/utils/object-utils.ts +0 -205
  631. package/src/lib/core/utils/parameter-value-conversion-utils.ts +0 -116
  632. package/src/lib/core/utils/search-utils.ts +0 -121
  633. package/src/lib/core/utils/sort-utils.ts +0 -108
  634. package/src/lib/core/utils/string-utils.ts +0 -100
  635. package/src/lib/core/validator/email.validator.ts +0 -10
  636. package/src/lib/core/validator/equal.validator.ts +0 -14
  637. package/src/lib/core/validator/max-string-length.validator.ts +0 -11
  638. package/src/lib/core/validator/password.validator.ts +0 -35
  639. package/src/lib/core/validator/precision-scale.validator.ts +0 -14
  640. package/src/lib/core/validator/required.validator.ts +0 -9
  641. package/src/lib/directives/align-with/align-with.directive.ts +0 -158
  642. package/src/lib/directives/align-with/align-with.module.ts +0 -13
  643. package/src/lib/directives/clickoutside/click-outside-master.service.ts +0 -64
  644. package/src/lib/directives/clickoutside/click-outside.directive.ts +0 -72
  645. package/src/lib/directives/clickoutside/clickoutside.module.ts +0 -17
  646. package/src/lib/directives/observe-visibility/observe-visibility.directive.ts +0 -55
  647. package/src/lib/directives/observe-visibility/observe-visibility.module.ts +0 -13
  648. package/src/lib/directives/overlay/overlay-parent.directive.ts +0 -20
  649. package/src/lib/directives/overlay/overlay.directive.ts +0 -170
  650. package/src/lib/directives/overlay/overlay.module.ts +0 -16
  651. package/src/lib/directives/parsevalue/parse-value.directive.ts +0 -42
  652. package/src/lib/directives/parsevalue/parse-value.module.ts +0 -13
  653. package/src/lib/directives/resize/resize-detect.directive.ts +0 -54
  654. package/src/lib/directives/resize/resize-detect.module.ts +0 -13
  655. package/src/lib/directives/ripple/ripple-ref.ts +0 -28
  656. package/src/lib/directives/ripple/ripple-renderer.ts +0 -217
  657. package/src/lib/directives/ripple/ripple.directive.ts +0 -116
  658. package/src/lib/directives/ripple/ripple.module.ts +0 -24
  659. package/src/lib/directives/ripple/scroll-dispatcher.service.ts +0 -129
  660. package/src/lib/directives/ripple/scrollable.directive.ts +0 -37
  661. package/src/lib/directives/ripple/viewport-ruler.service.ts +0 -84
  662. package/src/lib/directives/screen-configuration/screen-configuration.directive.ts +0 -170
  663. package/src/lib/directives/screen-configuration/screen-configuration.module.ts +0 -16
  664. package/src/lib/directives/stopclick/stop-click.directive.ts +0 -35
  665. package/src/lib/directives/stopclick/stop-click.module.ts +0 -14
  666. package/src/lib/directives/template-wrapper/template-wrapper.directive.ts +0 -71
  667. package/src/lib/directives/template-wrapper/template-wrapper.module.ts +0 -13
  668. package/src/lib/directives/tooltip/tooltip-directive.module.ts +0 -17
  669. package/src/lib/directives/tooltip/tooltip.directive.ts +0 -94
  670. package/src/lib/interfaces/dialog-response.interface.ts +0 -7
  671. package/src/lib/interfaces/lov-options.component.interface.ts +0 -4
  672. package/src/lib/interfaces/scanner-input.interface.ts +0 -3
  673. package/src/lib/interfaces/screen-config-adapter-component-interface-name.ts +0 -6
  674. package/src/lib/interfaces/screen-config-adapter.component.interface.ts +0 -10
  675. package/src/lib/model/data-item.ts +0 -9
  676. package/src/lib/model/enum/app-button-type.enum.ts +0 -9
  677. package/src/lib/model/enum/app-popup-type.enum.ts +0 -6
  678. package/src/lib/model/enum/currency-code.enum.ts +0 -7
  679. package/src/lib/model/enum/language-code.enum.ts +0 -8
  680. package/src/lib/model/map/currencies.map.ts +0 -6
  681. package/src/lib/modules/drag-drop/drag-drop-container.component.ts +0 -115
  682. package/src/lib/modules/drag-drop/drag-drop-container.css +0 -34
  683. package/src/lib/modules/drag-drop/drag-drop-manager.service.ts +0 -414
  684. package/src/lib/modules/drag-drop/drag-drop.module.ts +0 -20
  685. package/src/lib/modules/drag-drop/draggable.directive.ts +0 -70
  686. package/src/lib/modules/drag-drop/model/co-drag-event.ts +0 -5
  687. package/src/lib/modules/drag-drop/model/co-drop-event.ts +0 -9
  688. package/src/lib/modules/drag-drop/model/drag-drop-container-element.ts +0 -7
  689. package/src/lib/modules/drag-drop/model/drag-drop-container.ts +0 -9
  690. package/src/lib/modules/media-monitor/flex-layout-breakpoint.enum.ts +0 -5
  691. package/src/lib/modules/media-monitor/media-monitor.module.ts +0 -14
  692. package/src/lib/modules/media-monitor/media-monitor.service.ts +0 -36
  693. package/src/lib/modules/pagination/paginate.pipe.ts +0 -116
  694. package/src/lib/modules/pagination/pagination-instance.ts +0 -18
  695. package/src/lib/modules/pagination/pagination.component.ts +0 -229
  696. package/src/lib/modules/pagination/pagination.module.ts +0 -25
  697. package/src/lib/modules/pagination/pagination.service.ts +0 -98
  698. package/src/lib/pipes/append.pipe.module.ts +0 -13
  699. package/src/lib/pipes/append.pipe.ts +0 -17
  700. package/src/lib/pipes/co-currency-pipe.module.ts +0 -13
  701. package/src/lib/pipes/co-currency.pipe.ts +0 -45
  702. package/src/lib/pipes/emun-keys.pipe.ts +0 -20
  703. package/src/lib/pipes/enum-keys-pipe.module.ts +0 -13
  704. package/src/lib/pipes/file-type-image-pipe.module.ts +0 -13
  705. package/src/lib/pipes/file-type-image.pipe.ts +0 -45
  706. package/src/lib/pipes/filter.pipe.module.ts +0 -13
  707. package/src/lib/pipes/filter.pipe.ts +0 -14
  708. package/src/lib/pipes/master-pipe.module.ts +0 -13
  709. package/src/lib/pipes/master.pipe.ts +0 -71
  710. package/src/lib/pipes/prepend.pipe.module.ts +0 -13
  711. package/src/lib/pipes/prepend.pipe.ts +0 -17
  712. package/src/lib/pipes/price-display-pipe.module.ts +0 -14
  713. package/src/lib/pipes/price-display.pipe.ts +0 -20
  714. package/src/lib/pipes/safe-style.pipe.module.ts +0 -13
  715. package/src/lib/pipes/safe-style.pipe.ts +0 -14
  716. package/src/lib/pipes/ucfirst-pipe.module.ts +0 -13
  717. package/src/lib/pipes/ucfirst.pipe.ts +0 -14
  718. package/src/lib/service/base-module-screen-config.service.ts +0 -241
  719. package/src/lib/service/base-module.service.ts +0 -50
  720. package/src/lib/service/color-sequence.service.ts +0 -20
  721. package/src/lib/service/overlay.service.ts +0 -81
  722. package/src/lib/translation/core-components-translation.module.ts +0 -27
  723. package/src/lib/translation/core-components-translation.service.ts +0 -15
  724. package/src/lib/translation/core-dictionary.service.ts +0 -27
  725. package/src/lib/translation/core-localize.pipe.ts +0 -21
  726. package/src/public-api.ts +0 -137
  727. package/src/res/icons/Barcode.svg +0 -1
  728. package/src/res/icons/CashRegister.svg +0 -1
  729. package/src/res/icons/CirclePlusSkinny.svg +0 -1
  730. package/src/res/icons/CrossSkinny.svg +0 -1
  731. package/src/res/icons/FolderArrow.svg +0 -1
  732. package/src/res/icons/Home.svg +0 -1
  733. package/src/res/icons/POS.svg +0 -1
  734. package/src/res/icons/Shop.svg +0 -1
  735. package/src/res/icons/SinglePerson.svg +0 -1
  736. package/src/res/icons/Star.svg +0 -1
  737. package/src/res/icons/TrashBin.svg +0 -1
  738. package/src/res/icons/account.svg +0 -1
  739. package/src/res/icons/account_round_open.svg +0 -1
  740. package/src/res/icons/activities.svg +0 -1
  741. package/src/res/icons/add_to_cart_drop.svg +0 -1
  742. package/src/res/icons/arrow_down.svg +0 -1
  743. package/src/res/icons/arrow_fat_left.svg +0 -1
  744. package/src/res/icons/arrow_fat_right.svg +0 -1
  745. package/src/res/icons/arrow_left.svg +0 -4
  746. package/src/res/icons/arrow_left_round_open.svg +0 -1
  747. package/src/res/icons/arrow_point_down.svg +0 -6
  748. package/src/res/icons/arrow_point_left.svg +0 -8
  749. package/src/res/icons/arrow_point_right.svg +0 -8
  750. package/src/res/icons/arrow_point_up.svg +0 -8
  751. package/src/res/icons/arrow_right_round_open.svg +0 -1
  752. package/src/res/icons/arrow_scroll_down.svg +0 -6
  753. package/src/res/icons/arrow_scroll_left.svg +0 -22
  754. package/src/res/icons/arrow_scroll_right.svg +0 -22
  755. package/src/res/icons/arrow_scroll_up.svg +0 -6
  756. package/src/res/icons/arrow_up.svg +0 -3
  757. package/src/res/icons/article.svg +0 -1
  758. package/src/res/icons/article_with_fold.svg +0 -1
  759. package/src/res/icons/asterisk_small.svg +0 -1
  760. package/src/res/icons/attachments.svg +0 -1
  761. package/src/res/icons/back_to_top.svg +0 -1
  762. package/src/res/icons/big_mac.svg +0 -6
  763. package/src/res/icons/boxes.svg +0 -1
  764. package/src/res/icons/brush.svg +0 -1
  765. package/src/res/icons/brush_round_open.svg +0 -1
  766. package/src/res/icons/building_columns.svg +0 -1
  767. package/src/res/icons/businessrules.svg +0 -1
  768. package/src/res/icons/calendar.svg +0 -1
  769. package/src/res/icons/calendar_day.svg +0 -37
  770. package/src/res/icons/calendar_day_regular.svg +0 -1
  771. package/src/res/icons/calendar_empty.svg +0 -16
  772. package/src/res/icons/calendar_range.svg +0 -1
  773. package/src/res/icons/calendar_round_open.svg +0 -16
  774. package/src/res/icons/camera.svg +0 -1
  775. package/src/res/icons/cancel.svg +0 -1
  776. package/src/res/icons/cancel_round_filled.svg +0 -1
  777. package/src/res/icons/cancel_round_open.svg +0 -1
  778. package/src/res/icons/cart.svg +0 -1
  779. package/src/res/icons/cart_open.svg +0 -8
  780. package/src/res/icons/case_manager.svg +0 -1
  781. package/src/res/icons/cash_register_simple.svg +0 -1
  782. package/src/res/icons/change_location.svg +0 -1
  783. package/src/res/icons/check.svg +0 -1
  784. package/src/res/icons/check_duotone.svg +0 -1
  785. package/src/res/icons/check_round.svg +0 -1
  786. package/src/res/icons/check_round_open.svg +0 -10
  787. package/src/res/icons/check_simple.svg +0 -3
  788. package/src/res/icons/check_thin.svg +0 -1
  789. package/src/res/icons/chevron_down_regular.svg +0 -1
  790. package/src/res/icons/chevron_up_regular.svg +0 -1
  791. package/src/res/icons/client.svg +0 -1
  792. package/src/res/icons/clock.svg +0 -1
  793. package/src/res/icons/clockArrow.svg +0 -1
  794. package/src/res/icons/cogWheelPlus.svg +0 -1
  795. package/src/res/icons/cogWheels.svg +0 -1
  796. package/src/res/icons/column_options.svg +0 -18
  797. package/src/res/icons/company.svg +0 -1
  798. package/src/res/icons/company_flat.svg +0 -4
  799. package/src/res/icons/configurable.svg +0 -1
  800. package/src/res/icons/consultant.svg +0 -1
  801. package/src/res/icons/copy.svg +0 -1
  802. package/src/res/icons/crosshair_1.svg +0 -1
  803. package/src/res/icons/dashboard.svg +0 -1
  804. package/src/res/icons/delivery_method.svg +0 -32
  805. package/src/res/icons/delivery_status_uncheck.svg +0 -9
  806. package/src/res/icons/delivery_truck.svg +0 -1
  807. package/src/res/icons/detail_record.svg +0 -1
  808. package/src/res/icons/detail_view.svg +0 -1
  809. package/src/res/icons/dictionary.svg +0 -1
  810. package/src/res/icons/documentWrench.svg +0 -1
  811. package/src/res/icons/documents.svg +0 -1
  812. package/src/res/icons/dollar.svg +0 -1
  813. package/src/res/icons/download.svg +0 -1
  814. package/src/res/icons/dropdown.svg +0 -4
  815. package/src/res/icons/dropzone.svg +0 -1
  816. package/src/res/icons/edit_pencil.svg +0 -1
  817. package/src/res/icons/edit_pencil_circle.svg +0 -1
  818. package/src/res/icons/edit_pencil_round.svg +0 -11
  819. package/src/res/icons/edit_pencil_simple.svg +0 -16
  820. package/src/res/icons/email.svg +0 -1
  821. package/src/res/icons/email_round_open.svg +0 -6
  822. package/src/res/icons/employee.svg +0 -1
  823. package/src/res/icons/employee_two.svg +0 -1
  824. package/src/res/icons/employer.svg +0 -1
  825. package/src/res/icons/employment.svg +0 -1
  826. package/src/res/icons/employment_end.svg +0 -7
  827. package/src/res/icons/equal.svg +0 -1
  828. package/src/res/icons/euro.svg +0 -1
  829. package/src/res/icons/exclamation.svg +0 -1
  830. package/src/res/icons/exclamation_round_open.svg +0 -1
  831. package/src/res/icons/eye_circle.svg +0 -1
  832. package/src/res/icons/eye_circle_large.svg +0 -1
  833. package/src/res/icons/eye_round_filled.svg +0 -11
  834. package/src/res/icons/factory.svg +0 -1
  835. package/src/res/icons/fasttrack.svg +0 -1
  836. package/src/res/icons/filter.svg +0 -1
  837. package/src/res/icons/finish.svg +0 -1
  838. package/src/res/icons/fixed_option_value_tree.svg +0 -1
  839. package/src/res/icons/fixed_tree_option_value.svg +0 -1
  840. package/src/res/icons/floppy_disk_solid.svg +0 -1
  841. package/src/res/icons/folder_arrow_in.svg +0 -8
  842. package/src/res/icons/formula.svg +0 -1
  843. package/src/res/icons/fullscreen.svg +0 -6
  844. package/src/res/icons/gear_double.svg +0 -21
  845. package/src/res/icons/global_search.svg +0 -45
  846. package/src/res/icons/globe.svg +0 -1
  847. package/src/res/icons/greater_than.svg +0 -1
  848. package/src/res/icons/groupby.svg +0 -1
  849. package/src/res/icons/hamburger.svg +0 -1
  850. package/src/res/icons/hand_pointer.svg +0 -1
  851. package/src/res/icons/hbarchart.svg +0 -6
  852. package/src/res/icons/home_circle.svg +0 -9
  853. package/src/res/icons/home_open.svg +0 -7
  854. package/src/res/icons/home_round_open.svg +0 -11
  855. package/src/res/icons/hourglass.svg +0 -1
  856. package/src/res/icons/icon_3d.svg +0 -1
  857. package/src/res/icons/id.svg +0 -1
  858. package/src/res/icons/image.svg +0 -1
  859. package/src/res/icons/incoming_storage.svg +0 -1
  860. package/src/res/icons/information.svg +0 -1
  861. package/src/res/icons/information_round_open.svg +0 -6
  862. package/src/res/icons/input_multiplechoice.svg +0 -1
  863. package/src/res/icons/input_text.svg +0 -1
  864. package/src/res/icons/input_textarea.svg +0 -1
  865. package/src/res/icons/inventory.svg +0 -1
  866. package/src/res/icons/invoice.svg +0 -20
  867. package/src/res/icons/ione_logo.svg +0 -1
  868. package/src/res/icons/ione_logo_fat.svg +0 -1
  869. package/src/res/icons/ione_status_next.svg +0 -43
  870. package/src/res/icons/ione_workflow.svg +0 -62
  871. package/src/res/icons/keyboard.svg +0 -1
  872. package/src/res/icons/keychain.svg +0 -1
  873. package/src/res/icons/label.svg +0 -5
  874. package/src/res/icons/label_round_open.svg +0 -6
  875. package/src/res/icons/landmark_flag.svg +0 -1
  876. package/src/res/icons/library.svg +0 -21
  877. package/src/res/icons/linechart.svg +0 -1
  878. package/src/res/icons/link_circle.svg +0 -1
  879. package/src/res/icons/linked_products.svg +0 -1
  880. package/src/res/icons/list_view.svg +0 -8
  881. package/src/res/icons/location.svg +0 -1
  882. package/src/res/icons/lock.svg +0 -1
  883. package/src/res/icons/lock_round_open.svg +0 -8
  884. package/src/res/icons/logo.svg +0 -1
  885. package/src/res/icons/logout.svg +0 -1
  886. package/src/res/icons/magic_wand.svg +0 -1
  887. package/src/res/icons/magnifier.svg +0 -5
  888. package/src/res/icons/manager.svg +0 -12
  889. package/src/res/icons/mask.svg +0 -1
  890. package/src/res/icons/master_detail.svg +0 -1
  891. package/src/res/icons/material_circle_large.svg +0 -1
  892. package/src/res/icons/medal_bronze.svg +0 -23
  893. package/src/res/icons/medal_gold.svg +0 -23
  894. package/src/res/icons/medal_silver.svg +0 -23
  895. package/src/res/icons/medical_officer.svg +0 -14
  896. package/src/res/icons/microphone.svg +0 -1
  897. package/src/res/icons/minus_round_open.svg +0 -1
  898. package/src/res/icons/minus_simple.svg +0 -1
  899. package/src/res/icons/mobile.svg +0 -1
  900. package/src/res/icons/multi_select_check.svg +0 -10
  901. package/src/res/icons/new_task.svg +0 -1
  902. package/src/res/icons/not_equal.svg +0 -4
  903. package/src/res/icons/note.svg +0 -1
  904. package/src/res/icons/note_bordered.svg +0 -1
  905. package/src/res/icons/notification.svg +0 -1
  906. package/src/res/icons/option.svg +0 -1
  907. package/src/res/icons/optionset.svg +0 -1
  908. package/src/res/icons/order.svg +0 -1
  909. package/src/res/icons/orderpicking.svg +0 -1
  910. package/src/res/icons/outgoing_storage.svg +0 -1
  911. package/src/res/icons/over_booking.svg +0 -1
  912. package/src/res/icons/pause_circle.svg +0 -12
  913. package/src/res/icons/pen_to_square_solid.svg +0 -1
  914. package/src/res/icons/pencil_round_open.svg +0 -10
  915. package/src/res/icons/phone.svg +0 -1
  916. package/src/res/icons/phone_round_open.svg +0 -10
  917. package/src/res/icons/piechart.svg +0 -24
  918. package/src/res/icons/pin.svg +0 -9
  919. package/src/res/icons/pin_round_open.svg +0 -11
  920. package/src/res/icons/play_circle.svg +0 -1
  921. package/src/res/icons/plus_round.svg +0 -9
  922. package/src/res/icons/plus_round_open.svg +0 -1
  923. package/src/res/icons/plus_simple.svg +0 -1
  924. package/src/res/icons/plus_skinny.svg +0 -8
  925. package/src/res/icons/plus_solid.svg +0 -1
  926. package/src/res/icons/plus_stars.svg +0 -1
  927. package/src/res/icons/pointer.svg +0 -7
  928. package/src/res/icons/pointer_3d.svg +0 -8
  929. package/src/res/icons/pointer_filled.svg +0 -6
  930. package/src/res/icons/positioning.svg +0 -1
  931. package/src/res/icons/pregnancy.svg +0 -18
  932. package/src/res/icons/preset.svg +0 -1
  933. package/src/res/icons/print.svg +0 -1
  934. package/src/res/icons/product_properties.svg +0 -1
  935. package/src/res/icons/purchase.svg +0 -15
  936. package/src/res/icons/qrcode.svg +0 -59
  937. package/src/res/icons/question.svg +0 -1
  938. package/src/res/icons/radio_uncheck.svg +0 -1
  939. package/src/res/icons/range.svg +0 -1
  940. package/src/res/icons/range_select.svg +0 -1
  941. package/src/res/icons/rectangles.svg +0 -15
  942. package/src/res/icons/refresh.svg +0 -1
  943. package/src/res/icons/relations.svg +0 -20
  944. package/src/res/icons/remark.svg +0 -1
  945. package/src/res/icons/remark_round_open.svg +0 -6
  946. package/src/res/icons/report_in_type.svg +0 -1
  947. package/src/res/icons/resize.svg +0 -3
  948. package/src/res/icons/resize_down.svg +0 -1
  949. package/src/res/icons/resize_up.svg +0 -1
  950. package/src/res/icons/return_goods.svg +0 -4
  951. package/src/res/icons/returns.svg +0 -1
  952. package/src/res/icons/rotate_left_solid.svg +0 -1
  953. package/src/res/icons/save_disk.svg +0 -15
  954. package/src/res/icons/save_skinny.svg +0 -3
  955. package/src/res/icons/scale_balanced.svg +0 -1
  956. package/src/res/icons/scanner.svg +0 -1
  957. package/src/res/icons/search_round_open.svg +0 -9
  958. package/src/res/icons/sections.svg +0 -1
  959. package/src/res/icons/select_all_round.svg +0 -5
  960. package/src/res/icons/services.svg +0 -1
  961. package/src/res/icons/settings.svg +0 -20
  962. package/src/res/icons/shopping_cart.svg +0 -1
  963. package/src/res/icons/shopping_cart_nr.svg +0 -1
  964. package/src/res/icons/shortcut.svg +0 -1
  965. package/src/res/icons/skills.svg +0 -1
  966. package/src/res/icons/slide_in.svg +0 -1
  967. package/src/res/icons/slider_panel.svg +0 -7
  968. package/src/res/icons/small_tiles.svg +0 -1
  969. package/src/res/icons/smaller_than.svg +0 -1
  970. package/src/res/icons/sort_asc.svg +0 -1
  971. package/src/res/icons/sort_desc.svg +0 -1
  972. package/src/res/icons/star_round_open.svg +0 -6
  973. package/src/res/icons/status_active.svg +0 -1
  974. package/src/res/icons/status_adoption.svg +0 -1
  975. package/src/res/icons/status_fostercare.svg +0 -1
  976. package/src/res/icons/status_ill.svg +0 -10
  977. package/src/res/icons/status_leave.svg +0 -1
  978. package/src/res/icons/status_pregnancy.svg +0 -10
  979. package/src/res/icons/stock.svg +0 -1
  980. package/src/res/icons/stock_management.svg +0 -25
  981. package/src/res/icons/storage.svg +0 -1
  982. package/src/res/icons/supervisor.svg +0 -1
  983. package/src/res/icons/supplier.svg +0 -18
  984. package/src/res/icons/surgery.svg +0 -35
  985. package/src/res/icons/tablechart.svg +0 -15
  986. package/src/res/icons/tag.svg +0 -1
  987. package/src/res/icons/talk_too_much.svg +0 -7
  988. package/src/res/icons/target.svg +0 -1
  989. package/src/res/icons/task.svg +0 -1
  990. package/src/res/icons/thick_lines.svg +0 -1
  991. package/src/res/icons/thin_lines.svg +0 -1
  992. package/src/res/icons/three_sixty_view.svg +0 -1
  993. package/src/res/icons/thumb_bronze.svg +0 -29
  994. package/src/res/icons/thumb_gold.svg +0 -29
  995. package/src/res/icons/thumb_silver.svg +0 -29
  996. package/src/res/icons/timeline.svg +0 -1
  997. package/src/res/icons/transaction_detail.svg +0 -19
  998. package/src/res/icons/transactions.svg +0 -12
  999. package/src/res/icons/trash_can_solid.svg +0 -1
  1000. package/src/res/icons/triangle_down.svg +0 -1
  1001. package/src/res/icons/triangle_large.svg +0 -5
  1002. package/src/res/icons/triangle_left.svg +0 -1
  1003. package/src/res/icons/triangle_right.svg +0 -1
  1004. package/src/res/icons/triangle_up.svg +0 -1
  1005. package/src/res/icons/truck.svg +0 -1
  1006. package/src/res/icons/truck_calendar.svg +0 -15
  1007. package/src/res/icons/undo_round_open.svg +0 -1
  1008. package/src/res/icons/user.svg +0 -9
  1009. package/src/res/icons/variants.svg +0 -1
  1010. package/src/res/icons/vbarchart.svg +0 -6
  1011. package/src/res/icons/view.svg +0 -1
  1012. package/src/res/icons/warehouse.svg +0 -1
  1013. package/src/res/icons/watermark.svg +0 -10
  1014. package/src/res/icons/website.svg +0 -1
  1015. package/src/res/icons/wizard.svg +0 -18
  1016. package/src/res/icons/wms.svg +0 -24
  1017. package/src/res/icons/work_in_progress.svg +0 -10
  1018. package/src/res/icons/work_in_progress_round_open.svg +0 -9
  1019. package/src/res/icons/wrench.svg +0 -4
  1020. package/src/res/icons/x_axis.svg +0 -5
  1021. package/src/res/icons/y_axis.svg +0 -5
  1022. package/src/test.ts +0 -28
  1023. package/tsconfig.lib.json +0 -20
  1024. package/tsconfig.lib.prod.json +0 -16
  1025. package/tsconfig.spec.json +0 -17
  1026. /package/{src/lib → lib}/components/article-tile/article-tile.component.scss +0 -0
  1027. /package/{src/lib → lib}/components/base/commit-buttons/style/_layout.scss +0 -0
  1028. /package/{src/lib → lib}/components/base/commit-buttons/style/_material-definition.scss +0 -0
  1029. /package/{src/lib → lib}/components/base/commit-buttons/style/_theme.scss +0 -0
  1030. /package/{src/lib → lib}/components/base/commit-buttons/style/material.scss +0 -0
  1031. /package/{src/lib → lib}/components/button/style/_co-ripple.scss +0 -0
  1032. /package/{src/lib → lib}/components/button/style/_layout.scss +0 -0
  1033. /package/{src/lib → lib}/components/button/style/_material-definition.scss +0 -0
  1034. /package/{src/lib → lib}/components/button/style/_theme.scss +0 -0
  1035. /package/{src/lib → lib}/components/button/style/material.scss +0 -0
  1036. /package/{src/lib → lib}/components/calendar/style/_layout.scss +0 -0
  1037. /package/{src/lib → lib}/components/calendar/style/_material-definition.scss +0 -0
  1038. /package/{src/lib → lib}/components/calendar/style/_theme.scss +0 -0
  1039. /package/{src/lib → lib}/components/calendar/style/material.scss +0 -0
  1040. /package/{src/lib → lib}/components/card/style/_layout.scss +0 -0
  1041. /package/{src/lib → lib}/components/card/style/_material-definition.scss +0 -0
  1042. /package/{src/lib → lib}/components/card/style/_theme.scss +0 -0
  1043. /package/{src/lib → lib}/components/card/style/material.scss +0 -0
  1044. /package/{src/lib → lib}/components/carousel/style/_layout.scss +0 -0
  1045. /package/{src/lib → lib}/components/carousel/style/_material-definition.scss +0 -0
  1046. /package/{src/lib → lib}/components/carousel/style/_theme.scss +0 -0
  1047. /package/{src/lib → lib}/components/carousel/style/material.scss +0 -0
  1048. /package/{src/lib → lib}/components/carousel-3d/style/_layout.scss +0 -0
  1049. /package/{src/lib → lib}/components/carousel-3d/style/_material-definition.scss +0 -0
  1050. /package/{src/lib → lib}/components/carousel-3d/style/_theme.scss +0 -0
  1051. /package/{src/lib → lib}/components/carousel-3d/style/material.scss +0 -0
  1052. /package/{src/lib → lib}/components/checkmark-overlay/style/_layout.scss +0 -0
  1053. /package/{src/lib → lib}/components/checkmark-overlay/style/_material-definition.scss +0 -0
  1054. /package/{src/lib → lib}/components/checkmark-overlay/style/_theme.scss +0 -0
  1055. /package/{src/lib → lib}/components/checkmark-overlay/style/material.scss +0 -0
  1056. /package/{src/lib → lib}/components/co-dialog/style/_layout.scss +0 -0
  1057. /package/{src/lib → lib}/components/co-dialog/style/_material-definition.scss +0 -0
  1058. /package/{src/lib → lib}/components/co-dialog/style/_theme.scss +0 -0
  1059. /package/{src/lib → lib}/components/co-dialog/style/material.scss +0 -0
  1060. /package/{src/lib → lib}/components/co-dialog-wizard/style/_layout.scss +0 -0
  1061. /package/{src/lib → lib}/components/co-dialog-wizard/style/_material-definition.scss +0 -0
  1062. /package/{src/lib → lib}/components/co-dialog-wizard/style/_theme.scss +0 -0
  1063. /package/{src/lib → lib}/components/co-dialog-wizard/style/material.scss +0 -0
  1064. /package/{src/lib → lib}/components/collapsible/style/_layout.scss +0 -0
  1065. /package/{src/lib → lib}/components/collapsible/style/_material-definition.scss +0 -0
  1066. /package/{src/lib → lib}/components/collapsible/style/_theme.scss +0 -0
  1067. /package/{src/lib → lib}/components/collapsible/style/material.scss +0 -0
  1068. /package/{src/lib → lib}/components/color-picker/style/_layout.scss +0 -0
  1069. /package/{src/lib → lib}/components/color-picker/style/_material-definition.scss +0 -0
  1070. /package/{src/lib → lib}/components/color-picker/style/_theme.scss +0 -0
  1071. /package/{src/lib → lib}/components/color-picker/style/material.scss +0 -0
  1072. /package/{src/lib → lib}/components/core-dialog/confirmation-dialog/style/_layout.scss +0 -0
  1073. /package/{src/lib → lib}/components/core-dialog/confirmation-dialog/style/_material-definition.scss +0 -0
  1074. /package/{src/lib → lib}/components/core-dialog/confirmation-dialog/style/_theme.scss +0 -0
  1075. /package/{src/lib → lib}/components/core-dialog/confirmation-dialog/style/material.scss +0 -0
  1076. /package/{src/lib → lib}/components/core-dialog/style/_layout.scss +0 -0
  1077. /package/{src/lib → lib}/components/core-dialog/style/_material-definition.scss +0 -0
  1078. /package/{src/lib → lib}/components/core-dialog/style/_theme.scss +0 -0
  1079. /package/{src/lib → lib}/components/core-dialog/style/material.scss +0 -0
  1080. /package/{src/lib → lib}/components/double-calendar/style/_layout.scss +0 -0
  1081. /package/{src/lib → lib}/components/double-calendar/style/_material-definition.scss +0 -0
  1082. /package/{src/lib → lib}/components/double-calendar/style/_theme.scss +0 -0
  1083. /package/{src/lib → lib}/components/double-calendar/style/material.scss +0 -0
  1084. /package/{src/lib → lib}/components/filter-item/style/_layout.scss +0 -0
  1085. /package/{src/lib → lib}/components/filter-item/style/_material-definition.scss +0 -0
  1086. /package/{src/lib → lib}/components/filter-item/style/_theme.scss +0 -0
  1087. /package/{src/lib → lib}/components/filter-item/style/material.scss +0 -0
  1088. /package/{src/lib → lib}/components/grid-toolbar/style/_layout.scss +0 -0
  1089. /package/{src/lib → lib}/components/grid-toolbar/style/_material-definition.scss +0 -0
  1090. /package/{src/lib → lib}/components/grid-toolbar/style/_theme.scss +0 -0
  1091. /package/{src/lib → lib}/components/grid-toolbar/style/material.scss +0 -0
  1092. /package/{src/lib → lib}/components/grid-toolbar-button/style/_layout.scss +0 -0
  1093. /package/{src/lib → lib}/components/grid-toolbar-button/style/_material-definition.scss +0 -0
  1094. /package/{src/lib → lib}/components/grid-toolbar-button/style/_theme.scss +0 -0
  1095. /package/{src/lib → lib}/components/grid-toolbar-button/style/material.scss +0 -0
  1096. /package/{src/lib → lib}/components/icon/style/_layout.scss +0 -0
  1097. /package/{src/lib → lib}/components/icon/style/_material-definition.scss +0 -0
  1098. /package/{src/lib → lib}/components/icon/style/_theme.scss +0 -0
  1099. /package/{src/lib → lib}/components/icon/style/material.scss +0 -0
  1100. /package/{src/lib → lib}/components/icon-collapse-handle/style/_layout.scss +0 -0
  1101. /package/{src/lib → lib}/components/icon-collapse-handle/style/_material-definition.scss +0 -0
  1102. /package/{src/lib → lib}/components/icon-collapse-handle/style/_theme.scss +0 -0
  1103. /package/{src/lib → lib}/components/icon-collapse-handle/style/material.scss +0 -0
  1104. /package/{src/lib → lib}/components/image/style/_layout.scss +0 -0
  1105. /package/{src/lib → lib}/components/image/style/_material-definition.scss +0 -0
  1106. /package/{src/lib → lib}/components/image/style/_theme.scss +0 -0
  1107. /package/{src/lib → lib}/components/image/style/material.scss +0 -0
  1108. /package/{src/lib → lib}/components/input-checkbox/style/_layout.scss +0 -0
  1109. /package/{src/lib → lib}/components/input-checkbox/style/_material-definition.scss +0 -0
  1110. /package/{src/lib → lib}/components/input-checkbox/style/_theme.scss +0 -0
  1111. /package/{src/lib → lib}/components/input-checkbox/style/material.scss +0 -0
  1112. /package/{src/lib → lib}/components/input-date-picker/style/_layout.scss +0 -0
  1113. /package/{src/lib → lib}/components/input-date-picker/style/_material-definition.scss +0 -0
  1114. /package/{src/lib → lib}/components/input-date-picker/style/_theme.scss +0 -0
  1115. /package/{src/lib → lib}/components/input-date-picker/style/material.scss +0 -0
  1116. /package/{src/lib → lib}/components/input-date-range-picker/style/_layout.scss +0 -0
  1117. /package/{src/lib → lib}/components/input-date-range-picker/style/_material-definition.scss +0 -0
  1118. /package/{src/lib → lib}/components/input-date-range-picker/style/_theme.scss +0 -0
  1119. /package/{src/lib → lib}/components/input-date-range-picker/style/material.scss +0 -0
  1120. /package/{src/lib → lib}/components/input-number-picker/style/_layout.scss +0 -0
  1121. /package/{src/lib → lib}/components/input-number-picker/style/_material-definition.scss +0 -0
  1122. /package/{src/lib → lib}/components/input-number-picker/style/_theme.scss +0 -0
  1123. /package/{src/lib → lib}/components/input-number-picker/style/material.scss +0 -0
  1124. /package/{src/lib → lib}/components/input-radio-button/style/_layout.scss +0 -0
  1125. /package/{src/lib → lib}/components/input-radio-button/style/_material-definition.scss +0 -0
  1126. /package/{src/lib → lib}/components/input-radio-button/style/_theme.scss +0 -0
  1127. /package/{src/lib → lib}/components/input-radio-button/style/material.scss +0 -0
  1128. /package/{src/lib → lib}/components/input-scanner/style/_layout.scss +0 -0
  1129. /package/{src/lib → lib}/components/input-scanner/style/_material-definition.scss +0 -0
  1130. /package/{src/lib → lib}/components/input-scanner/style/_theme.scss +0 -0
  1131. /package/{src/lib → lib}/components/input-scanner/style/material.scss +0 -0
  1132. /package/{src/lib → lib}/components/input-search/style/_layout.scss +0 -0
  1133. /package/{src/lib → lib}/components/input-search/style/_material-definition.scss +0 -0
  1134. /package/{src/lib → lib}/components/input-search/style/_theme.scss +0 -0
  1135. /package/{src/lib → lib}/components/input-search/style/material.scss +0 -0
  1136. /package/{src/lib → lib}/components/input-text/style/_layout.scss +0 -0
  1137. /package/{src/lib → lib}/components/input-text/style/_material-definition.scss +0 -0
  1138. /package/{src/lib → lib}/components/input-text/style/_theme.scss +0 -0
  1139. /package/{src/lib → lib}/components/input-text/style/material.scss +0 -0
  1140. /package/{src/lib → lib}/components/input-textarea/style/_layout.scss +0 -0
  1141. /package/{src/lib → lib}/components/input-textarea/style/_material-definition.scss +0 -0
  1142. /package/{src/lib → lib}/components/input-textarea/style/_theme.scss +0 -0
  1143. /package/{src/lib → lib}/components/input-textarea/style/material.scss +0 -0
  1144. /package/{src/lib → lib}/components/level-indicator/style/_layout.scss +0 -0
  1145. /package/{src/lib → lib}/components/level-indicator/style/_material-definition.scss +0 -0
  1146. /package/{src/lib → lib}/components/level-indicator/style/_theme.scss +0 -0
  1147. /package/{src/lib → lib}/components/level-indicator/style/material.scss +0 -0
  1148. /package/{src/lib → lib}/components/list-of-values/style/_layout.scss +0 -0
  1149. /package/{src/lib → lib}/components/list-of-values/style/_material-definition.scss +0 -0
  1150. /package/{src/lib → lib}/components/list-of-values/style/_theme.scss +0 -0
  1151. /package/{src/lib → lib}/components/list-of-values/style/material.scss +0 -0
  1152. /package/{src/lib → lib}/components/loader/style/_layout.scss +0 -0
  1153. /package/{src/lib → lib}/components/loader/style/_material-definition.scss +0 -0
  1154. /package/{src/lib → lib}/components/loader/style/_theme.scss +0 -0
  1155. /package/{src/lib → lib}/components/loader/style/material.scss +0 -0
  1156. /package/{src/lib → lib}/components/pagination/style/_layout.scss +0 -0
  1157. /package/{src/lib → lib}/components/pagination/style/_material-definition.scss +0 -0
  1158. /package/{src/lib → lib}/components/pagination/style/_theme.scss +0 -0
  1159. /package/{src/lib → lib}/components/pagination/style/material.scss +0 -0
  1160. /package/{src/lib → lib}/components/pagination-bar/style/_layout.scss +0 -0
  1161. /package/{src/lib → lib}/components/pagination-bar/style/_material-definition.scss +0 -0
  1162. /package/{src/lib → lib}/components/pagination-bar/style/_theme.scss +0 -0
  1163. /package/{src/lib → lib}/components/pagination-bar/style/material.scss +0 -0
  1164. /package/{src/lib → lib}/components/popup/popup-buttons.component.scss +0 -0
  1165. /package/{src/lib → lib}/components/popup/popup-window-shell.component.scss +0 -0
  1166. /package/{src/lib → lib}/components/responsive-text/style/_layout.scss +0 -0
  1167. /package/{src/lib → lib}/components/responsive-text/style/_material-definition.scss +0 -0
  1168. /package/{src/lib → lib}/components/responsive-text/style/_theme.scss +0 -0
  1169. /package/{src/lib → lib}/components/responsive-text/style/material.scss +0 -0
  1170. /package/{src/lib → lib}/components/simple-grid/style/_layout.scss +0 -0
  1171. /package/{src/lib → lib}/components/simple-grid/style/_material-definition.scss +0 -0
  1172. /package/{src/lib → lib}/components/simple-grid/style/_theme.scss +0 -0
  1173. /package/{src/lib → lib}/components/simple-grid/style/material.scss +0 -0
  1174. /package/{src/lib → lib}/components/tile/style/_layout.scss +0 -0
  1175. /package/{src/lib → lib}/components/tile/style/_material-definition.scss +0 -0
  1176. /package/{src/lib → lib}/components/tile/style/_theme.scss +0 -0
  1177. /package/{src/lib → lib}/components/tile/style/material.scss +0 -0
  1178. /package/{src/lib → lib}/components/tile-select/style/_layout.scss +0 -0
  1179. /package/{src/lib → lib}/components/tile-select/style/_material-definition.scss +0 -0
  1180. /package/{src/lib → lib}/components/tile-select/style/_theme.scss +0 -0
  1181. /package/{src/lib → lib}/components/tile-select/style/material.scss +0 -0
  1182. /package/{src/lib → lib}/components/tooltip/style/_layout.scss +0 -0
  1183. /package/{src/lib → lib}/components/tooltip/style/_material-definition.scss +0 -0
  1184. /package/{src/lib → lib}/components/tooltip/style/_theme.scss +0 -0
  1185. /package/{src/lib → lib}/components/tooltip/style/material.scss +0 -0
  1186. /package/{src/lib → lib}/components/validation-error/style/_layout.scss +0 -0
  1187. /package/{src/lib → lib}/components/validation-error/style/_material-definition.scss +0 -0
  1188. /package/{src/lib → lib}/components/validation-error/style/_theme.scss +0 -0
  1189. /package/{src/lib → lib}/components/validation-error/style/material.scss +0 -0
  1190. /package/{src/lib → lib}/components/view-mode-buttons/style/_layout.scss +0 -0
  1191. /package/{src/lib → lib}/components/view-mode-buttons/style/_material-definition.scss +0 -0
  1192. /package/{src/lib → lib}/components/view-mode-buttons/style/_theme.scss +0 -0
  1193. /package/{src/lib → lib}/components/view-mode-buttons/style/material.scss +0 -0
  1194. /package/{src/lib → lib}/modules/pagination/style/_layout.scss +0 -0
  1195. /package/{src/lib → lib}/modules/pagination/style/_material-definition.scss +0 -0
  1196. /package/{src/lib → lib}/modules/pagination/style/_theme.scss +0 -0
  1197. /package/{src/lib → lib}/modules/pagination/style/material.scss +0 -0
  1198. /package/{src/lib → lib}/style/_input.mixins.scss +0 -0
  1199. /package/{src/lib → lib}/style/_mixin.scss +0 -0
  1200. /package/{src/lib → lib}/style/_variables.scss +0 -0
  1201. /package/{src/lib → lib}/style/corecomponents-globals.scss +0 -0
  1202. /package/{src/lib → lib}/style/material2/_core.scss +0 -0
  1203. /package/{src/lib → lib}/style/material2/_material2-scss-barrel.scss +0 -0
  1204. /package/{src/lib → lib}/style/material2/ripple/_co-ripple.scss +0 -0
  1205. /package/{src/lib → lib}/style/material2/style/_elevation.scss +0 -0
  1206. /package/{src/lib → lib}/style/material2/style/_list-common.scss +0 -0
  1207. /package/{src/lib → lib}/style/material2/style/_variables.scss +0 -0
  1208. /package/{src/lib → lib}/style/material2/theming/_palette.scss +0 -0
  1209. /package/{src/lib → lib}/style/material2/theming/_theming.scss +0 -0
  1210. /package/{src/lib → lib}/style/material2/typography/_typography.scss +0 -0
@@ -1,350 +0,0 @@
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
- }
@@ -1,205 +0,0 @@
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
- }
@@ -1,116 +0,0 @@
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
- }