@colijnit/corecomponents_v12 12.2.26 → 12.2.28

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 (439) hide show
  1. package/bundles/colijnit-corecomponents_v12.umd.js +13792 -13682
  2. package/bundles/colijnit-corecomponents_v12.umd.js.map +1 -1
  3. package/colijnit-corecomponents_v12.d.ts +43 -43
  4. package/colijnit-corecomponents_v12.metadata.json +1 -1
  5. package/esm2015/colijnit-corecomponents_v12.js +43 -43
  6. package/esm2015/lib/components/article-tile/article-tile.component.js +49 -49
  7. package/esm2015/lib/components/article-tile/article-tile.module.js +34 -34
  8. package/esm2015/lib/components/base/base-input.component.js +833 -833
  9. package/esm2015/lib/components/base/base.module.js +21 -21
  10. package/esm2015/lib/components/base/commit-buttons/commit-buttons.component.js +85 -85
  11. package/esm2015/lib/components/base/commit-buttons/commit-buttons.module.js +20 -20
  12. package/esm2015/lib/components/base/dialog-base.component.js +5 -5
  13. package/esm2015/lib/components/base-input-date-picker/base-input-date-picker.directive.js +24 -24
  14. package/esm2015/lib/components/button/button.component.js +73 -73
  15. package/esm2015/lib/components/button/button.module.js +18 -18
  16. package/esm2015/lib/components/calendar/calendar-template.component.js +281 -281
  17. package/esm2015/lib/components/calendar/calendar.component.js +32 -32
  18. package/esm2015/lib/components/calendar/calendar.module.js +27 -27
  19. package/esm2015/lib/components/card/card.component.js +50 -50
  20. package/esm2015/lib/components/card/card.module.js +34 -34
  21. package/esm2015/lib/components/carousel/carousel.component.js +109 -109
  22. package/esm2015/lib/components/carousel/carousel.module.js +31 -31
  23. package/esm2015/lib/components/carousel-3d/carousel-3d.component.js +293 -293
  24. package/esm2015/lib/components/carousel-3d/carousel-3d.module.js +18 -18
  25. package/esm2015/lib/components/carousel-3d/carouselItem.js +53 -53
  26. package/esm2015/lib/components/checkmark-overlay/checkmark-overlay.component.js +72 -72
  27. package/esm2015/lib/components/checkmark-overlay/checkmark-overlay.module.js +18 -18
  28. package/esm2015/lib/components/co-dialog/co-dialog.component.js +91 -91
  29. package/esm2015/lib/components/co-dialog/co-dialog.module.js +18 -18
  30. package/esm2015/lib/components/co-dialog-wizard/co-dialog-wizard.component.js +35 -35
  31. package/esm2015/lib/components/co-dialog-wizard/co-dialog-wizard.module.js +16 -16
  32. package/esm2015/lib/components/collapsible/collapsible.component.js +67 -67
  33. package/esm2015/lib/components/collapsible/collapsible.module.js +18 -18
  34. package/esm2015/lib/components/color-picker/color-picker.component.js +33 -33
  35. package/esm2015/lib/components/color-picker/color-picker.module.js +20 -20
  36. package/esm2015/lib/components/core-dialog/confirmation-dialog/confirmation-dialog.component.js +46 -46
  37. package/esm2015/lib/components/core-dialog/core-dialog.module.js +38 -38
  38. package/esm2015/lib/components/core-dialog/core-dialog.service.js +66 -66
  39. package/esm2015/lib/components/core-dialog/core-dynamic-component.service.js +92 -92
  40. package/esm2015/lib/components/double-calendar/double-calendar.component.js +62 -62
  41. package/esm2015/lib/components/double-calendar/double-calendar.module.js +24 -24
  42. package/esm2015/lib/components/filter-item/filter-item-viewmodel.js +12 -12
  43. package/esm2015/lib/components/filter-item/filter-item.component.js +496 -496
  44. package/esm2015/lib/components/filter-item/filter-item.module.js +42 -42
  45. package/esm2015/lib/components/filter-item/filter-viewmodel.js +10 -10
  46. package/esm2015/lib/components/form/form.component.js +181 -181
  47. package/esm2015/lib/components/form/form.module.js +22 -22
  48. package/esm2015/lib/components/grid-toolbar/grid-toolbar.component.js +48 -48
  49. package/esm2015/lib/components/grid-toolbar/grid-toolbar.module.js +22 -22
  50. package/esm2015/lib/components/grid-toolbar-button/grid-toolbar-button.component.js +23 -23
  51. package/esm2015/lib/components/grid-toolbar-button/grid-toolbar-button.module.js +18 -18
  52. package/esm2015/lib/components/icon/icon-cache.service.js +51 -51
  53. package/esm2015/lib/components/icon/icon.component.js +47 -47
  54. package/esm2015/lib/components/icon/icon.module.js +24 -24
  55. package/esm2015/lib/components/icon-collapse-handle/icon-collapse-handle.component.js +56 -56
  56. package/esm2015/lib/components/icon-collapse-handle/icon-collapse-handle.module.js +22 -22
  57. package/esm2015/lib/components/image/image.component.js +31 -31
  58. package/esm2015/lib/components/image/image.module.js +13 -13
  59. package/esm2015/lib/components/input-checkbox/input-checkbox.component.js +71 -71
  60. package/esm2015/lib/components/input-checkbox/input-checkbox.module.js +18 -18
  61. package/esm2015/lib/components/input-date-picker/input-date-picker.component.js +74 -74
  62. package/esm2015/lib/components/input-date-picker/input-date-picker.module.js +25 -25
  63. package/esm2015/lib/components/input-date-range-picker/input-date-range-picker.component.js +107 -107
  64. package/esm2015/lib/components/input-date-range-picker/input-date-range-picker.module.js +26 -26
  65. package/esm2015/lib/components/input-number-picker/input-number-picker.component.js +285 -285
  66. package/esm2015/lib/components/input-number-picker/input-number-picker.module.js +22 -22
  67. package/esm2015/lib/components/input-radio-button/input-radio-button.component.js +77 -77
  68. package/esm2015/lib/components/input-radio-button/input-radio-button.module.js +18 -18
  69. package/esm2015/lib/components/input-scanner/bar-code-scanner.js +22 -22
  70. package/esm2015/lib/components/input-scanner/input-scanner.component.js +56 -56
  71. package/esm2015/lib/components/input-scanner/input-scanner.module.js +20 -20
  72. package/esm2015/lib/components/input-scanner/scanner.service.js +27 -27
  73. package/esm2015/lib/components/input-search/input-search.component.js +67 -63
  74. package/esm2015/lib/components/input-search/input-search.module.js +20 -20
  75. package/esm2015/lib/components/input-text/input-text.component.js +198 -194
  76. package/esm2015/lib/components/input-text/input-text.module.js +32 -32
  77. package/esm2015/lib/components/input-textarea/input-textarea.component.js +55 -55
  78. package/esm2015/lib/components/input-textarea/input-textarea.module.js +26 -26
  79. package/esm2015/lib/components/level-indicator/level-indicator-level.enum.js +6 -6
  80. package/esm2015/lib/components/level-indicator/level-indicator.component.js +29 -29
  81. package/esm2015/lib/components/level-indicator/level-indicator.module.js +14 -14
  82. package/esm2015/lib/components/list-of-values/list-of-values-multiselect-popup.component.js +87 -87
  83. package/esm2015/lib/components/list-of-values/list-of-values-popup.component.js +218 -218
  84. package/esm2015/lib/components/list-of-values/list-of-values.component.js +199 -199
  85. package/esm2015/lib/components/list-of-values/list-of-values.module.js +37 -37
  86. package/esm2015/lib/components/loader/loader.component.js +16 -16
  87. package/esm2015/lib/components/loader/loader.module.js +18 -18
  88. package/esm2015/lib/components/pagination/paginate.pipe.js +98 -98
  89. package/esm2015/lib/components/pagination/pagination-instance.js +1 -1
  90. package/esm2015/lib/components/pagination/pagination.component.js +107 -107
  91. package/esm2015/lib/components/pagination/pagination.module.js +27 -27
  92. package/esm2015/lib/components/pagination/pagination.service.js +87 -87
  93. package/esm2015/lib/components/pagination-bar/pagination-bar.component.js +136 -136
  94. package/esm2015/lib/components/pagination-bar/pagination-bar.module.js +18 -18
  95. package/esm2015/lib/components/popup/const/popup-window-token.js +2 -2
  96. package/esm2015/lib/components/popup/interface/popup-button.js +7 -7
  97. package/esm2015/lib/components/popup/interface/popup-close-event.js +1 -1
  98. package/esm2015/lib/components/popup/interface/popup-settings.js +41 -41
  99. package/esm2015/lib/components/popup/interface/popup.js +1 -1
  100. package/esm2015/lib/components/popup/model/popup-button-globals.js +10 -10
  101. package/esm2015/lib/components/popup/model/popup-window.js +37 -37
  102. package/esm2015/lib/components/popup/popup-buttons.component.js +42 -42
  103. package/esm2015/lib/components/popup/popup-message-display.component.js +37 -37
  104. package/esm2015/lib/components/popup/popup-window-shell.component.js +141 -141
  105. package/esm2015/lib/components/popup/popup.module.js +48 -48
  106. package/esm2015/lib/components/popup/service/popup-shower.service.js +89 -89
  107. package/esm2015/lib/components/popup/service/prompt.service.js +126 -126
  108. package/esm2015/lib/components/popup/text-input-popup.component.js +33 -33
  109. package/esm2015/lib/components/responsive-text/responsive-text.component.js +17 -17
  110. package/esm2015/lib/components/responsive-text/responsive-text.module.js +18 -18
  111. package/esm2015/lib/components/simple-grid/base-simple-grid.component.js +166 -164
  112. package/esm2015/lib/components/simple-grid/simple-grid-cell.component.js +141 -141
  113. package/esm2015/lib/components/simple-grid/simple-grid-column.directive.js +113 -111
  114. package/esm2015/lib/components/simple-grid/simple-grid.component.js +553 -412
  115. package/esm2015/lib/components/simple-grid/simple-grid.module.js +45 -41
  116. package/esm2015/lib/components/tile/tile.component.js +44 -44
  117. package/esm2015/lib/components/tile/tile.module.js +22 -22
  118. package/esm2015/lib/components/tile-select/tile-select.component.js +26 -26
  119. package/esm2015/lib/components/tile-select/tile-select.module.js +20 -20
  120. package/esm2015/lib/components/tooltip/tooltip.component.js +74 -74
  121. package/esm2015/lib/components/tooltip/tooltip.module.js +18 -18
  122. package/esm2015/lib/components/validation-error/validation-error.component.js +30 -30
  123. package/esm2015/lib/components/validation-error/validation-error.module.js +24 -24
  124. package/esm2015/lib/components/view-mode-buttons/content-view-mode.enum.js +10 -10
  125. package/esm2015/lib/components/view-mode-buttons/view-mode-buttons.component.js +41 -41
  126. package/esm2015/lib/components/view-mode-buttons/view-mode-buttons.module.js +20 -20
  127. package/esm2015/lib/core/constant/default-upper-bound-for-range-components.js +3 -3
  128. package/esm2015/lib/core/constant/java-max-int.js +1 -1
  129. package/esm2015/lib/core/constant/number-inputs-key-down-white-list.js +44 -44
  130. package/esm2015/lib/core/decorator/input-boolean.decorator.js +33 -33
  131. package/esm2015/lib/core/enum/co-direction.js +8 -8
  132. package/esm2015/lib/core/enum/co-document-image-display-kind.enum.js +6 -6
  133. package/esm2015/lib/core/enum/co-document-type.enum.js +10 -10
  134. package/esm2015/lib/core/enum/co-orientation.js +16 -16
  135. package/esm2015/lib/core/enum/core-components-icon.enum.js +299 -299
  136. package/esm2015/lib/core/enum/file-type-internal.enum.js +16 -16
  137. package/esm2015/lib/core/enum/file-type.enum.js +10 -10
  138. package/esm2015/lib/core/enum/filterItem-mode.enum.js +42 -42
  139. package/esm2015/lib/core/enum/input-number-picker-show-mode.enum.js +7 -7
  140. package/esm2015/lib/core/enum/keyboard-code.enum.js +73 -73
  141. package/esm2015/lib/core/enum/keyboard-key.enum.js +75 -75
  142. package/esm2015/lib/core/enum/object-right-type.enum.js +6 -6
  143. package/esm2015/lib/core/enum/popup-button-type.enum.js +11 -11
  144. package/esm2015/lib/core/enum/popup-type.enum.js +10 -10
  145. package/esm2015/lib/core/enum/table-name.enum.js +80 -80
  146. package/esm2015/lib/core/function/any-nill.function.js +5 -5
  147. package/esm2015/lib/core/function/is-nill.function.js +4 -4
  148. package/esm2015/lib/core/function/none-nill.function.js +16 -16
  149. package/esm2015/lib/core/function/not-nill.function.js +4 -4
  150. package/esm2015/lib/core/model/bounds-constrained-number-value.js +170 -170
  151. package/esm2015/lib/core/model/check-precision-and-scale-result.js +1 -1
  152. package/esm2015/lib/core/model/check-within-stepped-bounds-result.js +1 -1
  153. package/esm2015/lib/core/model/co-document-right.bo.js +2 -2
  154. package/esm2015/lib/core/model/co-document.bo.js +120 -120
  155. package/esm2015/lib/core/model/core-components-icon-svg.js +298 -298
  156. package/esm2015/lib/core/model/element-position.js +9 -9
  157. package/esm2015/lib/core/model/event/string-prompt-result-event.js +7 -7
  158. package/esm2015/lib/core/service/form-input-user-change-listener.service.js +24 -24
  159. package/esm2015/lib/core/service/form-master.service.js +101 -101
  160. package/esm2015/lib/core/service/ng-zone-wrapper.service.js +19 -19
  161. package/esm2015/lib/core/utils/array-utils.js +263 -263
  162. package/esm2015/lib/core/utils/browser-utils.js +99 -99
  163. package/esm2015/lib/core/utils/direction-enum-utils.js +13 -13
  164. package/esm2015/lib/core/utils/event-utils.js +52 -52
  165. package/esm2015/lib/core/utils/file-utils.js +266 -266
  166. package/esm2015/lib/core/utils/number-utils.js +308 -308
  167. package/esm2015/lib/core/utils/object-utils.js +185 -185
  168. package/esm2015/lib/core/utils/string-utils.js +93 -93
  169. package/esm2015/lib/core/validator/email.validator.js +5 -5
  170. package/esm2015/lib/core/validator/equal.validator.js +10 -10
  171. package/esm2015/lib/core/validator/max-string-length.validator.js +9 -9
  172. package/esm2015/lib/core/validator/password.validator.js +30 -30
  173. package/esm2015/lib/core/validator/precision-scale.validator.js +10 -10
  174. package/esm2015/lib/core/validator/required.validator.js +4 -4
  175. package/esm2015/lib/directives/clickoutside/click-outside-master.service.js +56 -56
  176. package/esm2015/lib/directives/clickoutside/click-outside.directive.js +70 -70
  177. package/esm2015/lib/directives/clickoutside/clickoutside.module.js +18 -18
  178. package/esm2015/lib/directives/observe-visibility/observe-visibility.directive.js +52 -52
  179. package/esm2015/lib/directives/observe-visibility/observe-visibility.module.js +14 -14
  180. package/esm2015/lib/directives/overlay/overlay-parent.directive.js +18 -18
  181. package/esm2015/lib/directives/overlay/overlay.directive.js +160 -160
  182. package/esm2015/lib/directives/overlay/overlay.module.js +17 -17
  183. package/esm2015/lib/directives/ripple/ripple-ref.js +25 -25
  184. package/esm2015/lib/directives/ripple/ripple-renderer.js +159 -159
  185. package/esm2015/lib/directives/ripple/ripple.directive.js +79 -79
  186. package/esm2015/lib/directives/ripple/ripple.module.js +23 -23
  187. package/esm2015/lib/directives/ripple/scroll-dispatcher.service.js +107 -107
  188. package/esm2015/lib/directives/ripple/scrollable.directive.js +39 -39
  189. package/esm2015/lib/directives/ripple/viewport-ruler.service.js +72 -72
  190. package/esm2015/lib/directives/screen-configuration/screen-configuration.directive.js +157 -157
  191. package/esm2015/lib/directives/screen-configuration/screen-configuration.module.js +18 -18
  192. package/esm2015/lib/directives/stopclick/stop-click.directive.js +37 -37
  193. package/esm2015/lib/directives/stopclick/stop-click.module.js +14 -14
  194. package/esm2015/lib/directives/template-wrapper/template-wrapper.directive.js +67 -67
  195. package/esm2015/lib/directives/template-wrapper/template-wrapper.module.js +14 -14
  196. package/esm2015/lib/directives/tooltip/tooltip-directive.module.js +18 -18
  197. package/esm2015/lib/directives/tooltip/tooltip.directive.js +77 -77
  198. package/esm2015/lib/interfaces/dialog-response.interface.js +1 -1
  199. package/esm2015/lib/interfaces/scanner-input.interface.js +1 -1
  200. package/esm2015/lib/interfaces/screen-config-adapter-component-interface-name.js +3 -3
  201. package/esm2015/lib/interfaces/screen-config-adapter.component.interface.js +1 -1
  202. package/esm2015/lib/model/enum/app-button-type.enum.js +10 -10
  203. package/esm2015/lib/model/enum/app-popup-type.enum.js +7 -7
  204. package/esm2015/lib/pipes/append.pipe.js +16 -16
  205. package/esm2015/lib/pipes/append.pipe.module.js +14 -14
  206. package/esm2015/lib/pipes/filter.pipe.js +15 -15
  207. package/esm2015/lib/pipes/filter.pipe.module.js +14 -14
  208. package/esm2015/lib/pipes/prepend.pipe.js +16 -16
  209. package/esm2015/lib/pipes/prepend.pipe.module.js +14 -14
  210. package/esm2015/lib/pipes/price-display-pipe.module.js +14 -14
  211. package/esm2015/lib/pipes/price-display.pipe.js +19 -19
  212. package/esm2015/lib/service/base-module-screen-config.service.js +204 -204
  213. package/esm2015/lib/service/base-module.service.js +41 -41
  214. package/esm2015/lib/service/color-sequence.service.js +22 -22
  215. package/esm2015/lib/service/overlay.service.js +72 -72
  216. package/esm2015/lib/translation/core-components-translation.module.js +28 -28
  217. package/esm2015/lib/translation/core-components-translation.service.js +16 -16
  218. package/esm2015/lib/translation/core-dictionary.service.js +28 -28
  219. package/esm2015/lib/translation/core-localize.pipe.js +25 -25
  220. package/esm2015/public-api.js +129 -129
  221. package/fesm2015/colijnit-corecomponents_v12.js +12271 -12118
  222. package/fesm2015/colijnit-corecomponents_v12.js.map +1 -1
  223. package/lib/components/article-tile/article-tile.component.d.ts +22 -22
  224. package/lib/components/article-tile/article-tile.module.d.ts +2 -2
  225. package/lib/components/base/base-input.component.d.ts +182 -182
  226. package/lib/components/base/base.module.d.ts +2 -2
  227. package/lib/components/base/commit-buttons/commit-buttons.component.d.ts +21 -21
  228. package/lib/components/base/commit-buttons/commit-buttons.module.d.ts +2 -2
  229. package/lib/components/base/dialog-base.component.d.ts +4 -4
  230. package/lib/components/base-input-date-picker/base-input-date-picker.directive.d.ts +15 -15
  231. package/lib/components/button/button.component.d.ts +29 -29
  232. package/lib/components/button/button.module.d.ts +2 -2
  233. package/lib/components/calendar/calendar-template.component.d.ts +60 -60
  234. package/lib/components/calendar/calendar.component.d.ts +13 -13
  235. package/lib/components/calendar/calendar.module.d.ts +2 -2
  236. package/lib/components/card/card.component.d.ts +23 -23
  237. package/lib/components/card/card.module.d.ts +2 -2
  238. package/lib/components/carousel/carousel.component.d.ts +23 -23
  239. package/lib/components/carousel/carousel.module.d.ts +6 -6
  240. package/lib/components/carousel-3d/carousel-3d.component.d.ts +55 -55
  241. package/lib/components/carousel-3d/carousel-3d.module.d.ts +2 -2
  242. package/lib/components/carousel-3d/carouselItem.d.ts +13 -13
  243. package/lib/components/checkmark-overlay/checkmark-overlay.component.d.ts +17 -17
  244. package/lib/components/checkmark-overlay/checkmark-overlay.module.d.ts +2 -2
  245. package/lib/components/co-dialog/co-dialog.component.d.ts +23 -23
  246. package/lib/components/co-dialog/co-dialog.module.d.ts +2 -2
  247. package/lib/components/co-dialog-wizard/co-dialog-wizard.component.d.ts +9 -9
  248. package/lib/components/co-dialog-wizard/co-dialog-wizard.module.d.ts +2 -2
  249. package/lib/components/collapsible/collapsible.component.d.ts +22 -22
  250. package/lib/components/collapsible/collapsible.module.d.ts +2 -2
  251. package/lib/components/color-picker/color-picker.component.d.ts +6 -6
  252. package/lib/components/color-picker/color-picker.module.d.ts +2 -2
  253. package/lib/components/core-dialog/confirmation-dialog/confirmation-dialog.component.d.ts +20 -20
  254. package/lib/components/core-dialog/core-dialog.module.d.ts +4 -4
  255. package/lib/components/core-dialog/core-dialog.service.d.ts +15 -15
  256. package/lib/components/core-dialog/core-dynamic-component.service.d.ts +12 -12
  257. package/lib/components/double-calendar/double-calendar.component.d.ts +18 -18
  258. package/lib/components/double-calendar/double-calendar.module.d.ts +2 -2
  259. package/lib/components/filter-item/filter-item-viewmodel.d.ts +9 -9
  260. package/lib/components/filter-item/filter-item.component.d.ts +80 -80
  261. package/lib/components/filter-item/filter-item.module.d.ts +2 -2
  262. package/lib/components/filter-item/filter-viewmodel.d.ts +8 -8
  263. package/lib/components/form/form.component.d.ts +39 -39
  264. package/lib/components/form/form.module.d.ts +2 -2
  265. package/lib/components/grid-toolbar/grid-toolbar.component.d.ts +19 -19
  266. package/lib/components/grid-toolbar/grid-toolbar.module.d.ts +2 -2
  267. package/lib/components/grid-toolbar-button/grid-toolbar-button.component.d.ts +8 -8
  268. package/lib/components/grid-toolbar-button/grid-toolbar-button.module.d.ts +2 -2
  269. package/lib/components/icon/icon-cache.service.d.ts +20 -20
  270. package/lib/components/icon/icon.component.d.ts +17 -17
  271. package/lib/components/icon/icon.module.d.ts +2 -2
  272. package/lib/components/icon-collapse-handle/icon-collapse-handle.component.d.ts +21 -21
  273. package/lib/components/icon-collapse-handle/icon-collapse-handle.module.d.ts +2 -2
  274. package/lib/components/image/image.component.d.ts +20 -20
  275. package/lib/components/image/image.module.d.ts +2 -2
  276. package/lib/components/input-checkbox/input-checkbox.component.d.ts +24 -24
  277. package/lib/components/input-checkbox/input-checkbox.module.d.ts +2 -2
  278. package/lib/components/input-date-picker/input-date-picker.component.d.ts +12 -12
  279. package/lib/components/input-date-picker/input-date-picker.module.d.ts +2 -2
  280. package/lib/components/input-date-range-picker/input-date-range-picker.component.d.ts +20 -20
  281. package/lib/components/input-date-range-picker/input-date-range-picker.module.d.ts +2 -2
  282. package/lib/components/input-number-picker/input-number-picker.component.d.ts +73 -73
  283. package/lib/components/input-number-picker/input-number-picker.module.d.ts +2 -2
  284. package/lib/components/input-radio-button/input-radio-button.component.d.ts +19 -19
  285. package/lib/components/input-radio-button/input-radio-button.module.d.ts +2 -2
  286. package/lib/components/input-scanner/bar-code-scanner.d.ts +7 -7
  287. package/lib/components/input-scanner/input-scanner.component.d.ts +24 -24
  288. package/lib/components/input-scanner/input-scanner.module.d.ts +2 -2
  289. package/lib/components/input-scanner/scanner.service.d.ts +11 -11
  290. package/lib/components/input-search/input-search.component.d.ts +20 -19
  291. package/lib/components/input-search/input-search.module.d.ts +2 -2
  292. package/lib/components/input-text/input-text.component.d.ts +66 -65
  293. package/lib/components/input-text/input-text.module.d.ts +2 -2
  294. package/lib/components/input-textarea/input-textarea.component.d.ts +19 -19
  295. package/lib/components/input-textarea/input-textarea.module.d.ts +2 -2
  296. package/lib/components/level-indicator/level-indicator-level.enum.d.ts +5 -5
  297. package/lib/components/level-indicator/level-indicator.component.d.ts +10 -10
  298. package/lib/components/level-indicator/level-indicator.module.d.ts +2 -2
  299. package/lib/components/list-of-values/list-of-values-multiselect-popup.component.d.ts +25 -25
  300. package/lib/components/list-of-values/list-of-values-popup.component.d.ts +47 -47
  301. package/lib/components/list-of-values/list-of-values.component.d.ts +37 -37
  302. package/lib/components/list-of-values/list-of-values.module.d.ts +2 -2
  303. package/lib/components/loader/loader.component.d.ts +3 -3
  304. package/lib/components/loader/loader.module.d.ts +2 -2
  305. package/lib/components/pagination/paginate.pipe.d.ts +15 -15
  306. package/lib/components/pagination/pagination-instance.d.ts +14 -14
  307. package/lib/components/pagination/pagination.component.d.ts +38 -38
  308. package/lib/components/pagination/pagination.module.d.ts +2 -2
  309. package/lib/components/pagination/pagination.service.d.ts +24 -24
  310. package/lib/components/pagination-bar/pagination-bar.component.d.ts +33 -33
  311. package/lib/components/pagination-bar/pagination-bar.module.d.ts +2 -2
  312. package/lib/components/popup/const/popup-window-token.d.ts +3 -3
  313. package/lib/components/popup/interface/popup-button.d.ts +8 -8
  314. package/lib/components/popup/interface/popup-close-event.d.ts +5 -5
  315. package/lib/components/popup/interface/popup-settings.d.ts +21 -21
  316. package/lib/components/popup/interface/popup.d.ts +9 -9
  317. package/lib/components/popup/model/popup-button-globals.d.ts +9 -9
  318. package/lib/components/popup/model/popup-window.d.ts +21 -21
  319. package/lib/components/popup/popup-buttons.component.d.ts +13 -13
  320. package/lib/components/popup/popup-message-display.component.d.ts +12 -12
  321. package/lib/components/popup/popup-window-shell.component.d.ts +42 -42
  322. package/lib/components/popup/popup.module.d.ts +4 -4
  323. package/lib/components/popup/service/popup-shower.service.d.ts +17 -17
  324. package/lib/components/popup/service/prompt.service.d.ts +17 -17
  325. package/lib/components/popup/text-input-popup.component.d.ts +12 -12
  326. package/lib/components/responsive-text/responsive-text.component.d.ts +4 -4
  327. package/lib/components/responsive-text/responsive-text.module.d.ts +2 -2
  328. package/lib/components/simple-grid/base-simple-grid.component.d.ts +53 -52
  329. package/lib/components/simple-grid/simple-grid-cell.component.d.ts +30 -30
  330. package/lib/components/simple-grid/simple-grid-column.directive.d.ts +43 -42
  331. package/lib/components/simple-grid/simple-grid.component.d.ts +77 -64
  332. package/lib/components/simple-grid/simple-grid.module.d.ts +2 -2
  333. package/lib/components/simple-grid/style/_layout.scss +68 -0
  334. package/lib/components/tile/tile.component.d.ts +16 -16
  335. package/lib/components/tile/tile.module.d.ts +2 -2
  336. package/lib/components/tile-select/tile-select.component.d.ts +8 -8
  337. package/lib/components/tile-select/tile-select.module.d.ts +2 -2
  338. package/lib/components/tooltip/tooltip.component.d.ts +18 -18
  339. package/lib/components/tooltip/tooltip.module.d.ts +2 -2
  340. package/lib/components/validation-error/validation-error.component.d.ts +12 -12
  341. package/lib/components/validation-error/validation-error.module.d.ts +2 -2
  342. package/lib/components/view-mode-buttons/content-view-mode.enum.d.ts +8 -8
  343. package/lib/components/view-mode-buttons/view-mode-buttons.component.d.ts +17 -17
  344. package/lib/components/view-mode-buttons/view-mode-buttons.module.d.ts +2 -2
  345. package/lib/core/constant/default-upper-bound-for-range-components.d.ts +2 -2
  346. package/lib/core/constant/java-max-int.d.ts +1 -1
  347. package/lib/core/constant/number-inputs-key-down-white-list.d.ts +2 -2
  348. package/lib/core/decorator/input-boolean.decorator.d.ts +8 -8
  349. package/lib/core/enum/co-direction.d.ts +6 -6
  350. package/lib/core/enum/co-document-image-display-kind.enum.d.ts +5 -5
  351. package/lib/core/enum/co-document-type.enum.d.ts +5 -5
  352. package/lib/core/enum/co-orientation.d.ts +6 -6
  353. package/lib/core/enum/core-components-icon.enum.d.ts +298 -298
  354. package/lib/core/enum/file-type-internal.enum.d.ts +15 -15
  355. package/lib/core/enum/file-type.enum.d.ts +5 -5
  356. package/lib/core/enum/filterItem-mode.enum.d.ts +15 -15
  357. package/lib/core/enum/input-number-picker-show-mode.enum.d.ts +5 -5
  358. package/lib/core/enum/keyboard-code.enum.d.ts +71 -71
  359. package/lib/core/enum/keyboard-key.enum.d.ts +70 -70
  360. package/lib/core/enum/object-right-type.enum.d.ts +5 -5
  361. package/lib/core/enum/popup-button-type.enum.d.ts +9 -9
  362. package/lib/core/enum/popup-type.enum.d.ts +9 -9
  363. package/lib/core/enum/table-name.enum.d.ts +79 -79
  364. package/lib/core/function/any-nill.function.d.ts +1 -1
  365. package/lib/core/function/is-nill.function.d.ts +1 -1
  366. package/lib/core/function/none-nill.function.d.ts +1 -1
  367. package/lib/core/function/not-nill.function.d.ts +1 -1
  368. package/lib/core/model/bounds-constrained-number-value.d.ts +46 -46
  369. package/lib/core/model/check-precision-and-scale-result.d.ts +4 -4
  370. package/lib/core/model/check-within-stepped-bounds-result.d.ts +8 -8
  371. package/lib/core/model/co-document-right.bo.d.ts +6 -6
  372. package/lib/core/model/co-document.bo.d.ts +61 -61
  373. package/lib/core/model/core-components-icon-svg.d.ts +4 -4
  374. package/lib/core/model/element-position.d.ts +7 -7
  375. package/lib/core/model/event/string-prompt-result-event.d.ts +6 -6
  376. package/lib/core/service/form-input-user-change-listener.service.d.ts +10 -10
  377. package/lib/core/service/form-master.service.d.ts +26 -26
  378. package/lib/core/service/ng-zone-wrapper.service.d.ts +6 -6
  379. package/lib/core/utils/array-utils.d.ts +85 -85
  380. package/lib/core/utils/browser-utils.d.ts +15 -15
  381. package/lib/core/utils/direction-enum-utils.d.ts +5 -5
  382. package/lib/core/utils/event-utils.d.ts +12 -12
  383. package/lib/core/utils/file-utils.d.ts +29 -29
  384. package/lib/core/utils/number-utils.d.ts +89 -89
  385. package/lib/core/utils/object-utils.d.ts +31 -31
  386. package/lib/core/utils/string-utils.d.ts +25 -25
  387. package/lib/core/validator/email.validator.d.ts +2 -2
  388. package/lib/core/validator/equal.validator.d.ts +2 -2
  389. package/lib/core/validator/max-string-length.validator.d.ts +2 -2
  390. package/lib/core/validator/password.validator.d.ts +3 -3
  391. package/lib/core/validator/precision-scale.validator.d.ts +2 -2
  392. package/lib/core/validator/required.validator.d.ts +2 -2
  393. package/lib/directives/clickoutside/click-outside-master.service.d.ts +15 -15
  394. package/lib/directives/clickoutside/click-outside.directive.d.ts +18 -18
  395. package/lib/directives/clickoutside/clickoutside.module.d.ts +2 -2
  396. package/lib/directives/observe-visibility/observe-visibility.directive.d.ts +14 -14
  397. package/lib/directives/observe-visibility/observe-visibility.module.d.ts +2 -2
  398. package/lib/directives/overlay/overlay-parent.directive.d.ts +6 -6
  399. package/lib/directives/overlay/overlay.directive.d.ts +25 -25
  400. package/lib/directives/overlay/overlay.module.d.ts +2 -2
  401. package/lib/directives/ripple/ripple-ref.d.ts +21 -21
  402. package/lib/directives/ripple/ripple-renderer.d.ts +56 -56
  403. package/lib/directives/ripple/ripple.directive.d.ts +56 -56
  404. package/lib/directives/ripple/ripple.module.d.ts +2 -2
  405. package/lib/directives/ripple/scroll-dispatcher.service.d.ts +51 -51
  406. package/lib/directives/ripple/scrollable.directive.d.ts +20 -20
  407. package/lib/directives/ripple/viewport-ruler.service.d.ts +29 -29
  408. package/lib/directives/screen-configuration/screen-configuration.directive.d.ts +32 -32
  409. package/lib/directives/screen-configuration/screen-configuration.module.d.ts +2 -2
  410. package/lib/directives/stopclick/stop-click.directive.d.ts +10 -10
  411. package/lib/directives/stopclick/stop-click.module.d.ts +2 -2
  412. package/lib/directives/template-wrapper/template-wrapper.directive.d.ts +13 -13
  413. package/lib/directives/template-wrapper/template-wrapper.module.d.ts +2 -2
  414. package/lib/directives/tooltip/tooltip-directive.module.d.ts +2 -2
  415. package/lib/directives/tooltip/tooltip.directive.d.ts +20 -20
  416. package/lib/interfaces/dialog-response.interface.d.ts +6 -6
  417. package/lib/interfaces/scanner-input.interface.d.ts +3 -3
  418. package/lib/interfaces/screen-config-adapter-component-interface-name.d.ts +3 -3
  419. package/lib/interfaces/screen-config-adapter.component.interface.d.ts +10 -10
  420. package/lib/model/enum/app-button-type.enum.d.ts +9 -9
  421. package/lib/model/enum/app-popup-type.enum.d.ts +6 -6
  422. package/lib/pipes/append.pipe.d.ts +4 -4
  423. package/lib/pipes/append.pipe.module.d.ts +2 -2
  424. package/lib/pipes/filter.pipe.d.ts +4 -4
  425. package/lib/pipes/filter.pipe.module.d.ts +2 -2
  426. package/lib/pipes/prepend.pipe.d.ts +4 -4
  427. package/lib/pipes/prepend.pipe.module.d.ts +2 -2
  428. package/lib/pipes/price-display-pipe.module.d.ts +2 -2
  429. package/lib/pipes/price-display.pipe.d.ts +4 -4
  430. package/lib/service/base-module-screen-config.service.d.ts +47 -47
  431. package/lib/service/base-module.service.d.ts +22 -22
  432. package/lib/service/color-sequence.service.d.ts +4 -4
  433. package/lib/service/overlay.service.d.ts +13 -13
  434. package/lib/translation/core-components-translation.module.d.ts +4 -4
  435. package/lib/translation/core-components-translation.service.d.ts +6 -6
  436. package/lib/translation/core-dictionary.service.d.ts +12 -12
  437. package/lib/translation/core-localize.pipe.d.ts +7 -7
  438. package/package.json +1 -1
  439. package/public-api.d.ts +126 -126
@@ -1,8 +1,8 @@
1
- /**
2
- * Output object shape for NumberUtils.CheckWithinSteppedBounds(). For efficiency, this method also returns the found remainder if the given
3
- * number was NOT within the specified stepped bounds.
4
- */
5
- export interface CheckWithinSteppedBoundsResult {
6
- isOk: boolean;
7
- remainder?: number;
8
- }
1
+ /**
2
+ * Output object shape for NumberUtils.CheckWithinSteppedBounds(). For efficiency, this method also returns the found remainder if the given
3
+ * number was NOT within the specified stepped bounds.
4
+ */
5
+ export interface CheckWithinSteppedBoundsResult {
6
+ isOk: boolean;
7
+ remainder?: number;
8
+ }
@@ -1,6 +1,6 @@
1
- import { ObjectRightType } from '../enum/object-right-type.enum';
2
- export declare class CoDocumentRight {
3
- userGroupId: number;
4
- documentId: number;
5
- rightLevel: ObjectRightType;
6
- }
1
+ import { ObjectRightType } from '../enum/object-right-type.enum';
2
+ export declare class CoDocumentRight {
3
+ userGroupId: number;
4
+ documentId: number;
5
+ rightLevel: ObjectRightType;
6
+ }
@@ -1,61 +1,61 @@
1
- import { TableName } from '../enum/table-name.enum';
2
- import { CoDocumentType } from '../enum/co-document-type.enum';
3
- import { FileType } from '../enum/file-type.enum';
4
- import { FileTypeInternal } from '../enum/file-type-internal.enum';
5
- import { CoDocumentImageDisplayKind } from '../enum/co-document-image-display-kind.enum';
6
- import { ObjectRightType } from '../enum/object-right-type.enum';
7
- import { Subject } from 'rxjs';
8
- import { CoDocumentRight } from './co-document-right.bo';
9
- export declare class CoDocument {
10
- set documentId(value: number);
11
- get documentId(): number;
12
- creationDate: Date;
13
- modifiedDate: Date;
14
- description: string;
15
- thumbnailBody: string;
16
- table: TableName;
17
- key: string;
18
- filePath: string;
19
- documentType: CoDocumentType;
20
- /**
21
- * The database-fetched mimetype of this document. Note: is barely set to a value, and when it's set, it's usually garbage data.
22
- * Use .mimeTypeInternal if you want the best educated guess of the true mime type of this document.
23
- */
24
- mimeType: string;
25
- publication: number;
26
- fileSize: string;
27
- fileType: FileType;
28
- isLoaded: boolean;
29
- index: number;
30
- imageDimensions: string;
31
- title: string;
32
- imageDisplayKind: CoDocumentImageDisplayKind;
33
- rightLevel: ObjectRightType;
34
- rights: CoDocumentRight[];
35
- set documentBody(documentBody: string);
36
- get documentBody(): string;
37
- fileName: string;
38
- retailFormulas: string[];
39
- get fileTypeInternal(): FileTypeInternal;
40
- /**
41
- * The mimetype of this document: uses database-fetched this.mimeType, or calculates / guesses the mime type of the document
42
- * if that was not set.
43
- */
44
- get mimeTypeInternal(): string;
45
- set mimeTypeInternal(value: string);
46
- get bodyAsDataUri(): string;
47
- get documentBodyAsDataUri(): string;
48
- get thumbnailBodyAsDataUri(): string;
49
- get isAvatar(): boolean;
50
- private _documentBody;
51
- private _documentId;
52
- readonly documentBodyChange: Subject<string>;
53
- private _fileTypeInternal;
54
- private _mimeTypeInternal;
55
- get readonly(): boolean;
56
- constructor();
57
- getId(): any;
58
- isImageDocument(): boolean;
59
- preventOverridingThumbnailToEmpty(): void;
60
- private _initMimetypeInternal;
61
- }
1
+ import { TableName } from '../enum/table-name.enum';
2
+ import { CoDocumentType } from '../enum/co-document-type.enum';
3
+ import { FileType } from '../enum/file-type.enum';
4
+ import { FileTypeInternal } from '../enum/file-type-internal.enum';
5
+ import { CoDocumentImageDisplayKind } from '../enum/co-document-image-display-kind.enum';
6
+ import { ObjectRightType } from '../enum/object-right-type.enum';
7
+ import { Subject } from 'rxjs';
8
+ import { CoDocumentRight } from './co-document-right.bo';
9
+ export declare class CoDocument {
10
+ set documentId(value: number);
11
+ get documentId(): number;
12
+ creationDate: Date;
13
+ modifiedDate: Date;
14
+ description: string;
15
+ thumbnailBody: string;
16
+ table: TableName;
17
+ key: string;
18
+ filePath: string;
19
+ documentType: CoDocumentType;
20
+ /**
21
+ * The database-fetched mimetype of this document. Note: is barely set to a value, and when it's set, it's usually garbage data.
22
+ * Use .mimeTypeInternal if you want the best educated guess of the true mime type of this document.
23
+ */
24
+ mimeType: string;
25
+ publication: number;
26
+ fileSize: string;
27
+ fileType: FileType;
28
+ isLoaded: boolean;
29
+ index: number;
30
+ imageDimensions: string;
31
+ title: string;
32
+ imageDisplayKind: CoDocumentImageDisplayKind;
33
+ rightLevel: ObjectRightType;
34
+ rights: CoDocumentRight[];
35
+ set documentBody(documentBody: string);
36
+ get documentBody(): string;
37
+ fileName: string;
38
+ retailFormulas: string[];
39
+ get fileTypeInternal(): FileTypeInternal;
40
+ /**
41
+ * The mimetype of this document: uses database-fetched this.mimeType, or calculates / guesses the mime type of the document
42
+ * if that was not set.
43
+ */
44
+ get mimeTypeInternal(): string;
45
+ set mimeTypeInternal(value: string);
46
+ get bodyAsDataUri(): string;
47
+ get documentBodyAsDataUri(): string;
48
+ get thumbnailBodyAsDataUri(): string;
49
+ get isAvatar(): boolean;
50
+ private _documentBody;
51
+ private _documentId;
52
+ readonly documentBodyChange: Subject<string>;
53
+ private _fileTypeInternal;
54
+ private _mimeTypeInternal;
55
+ get readonly(): boolean;
56
+ constructor();
57
+ getId(): any;
58
+ isImageDocument(): boolean;
59
+ preventOverridingThumbnailToEmpty(): void;
60
+ private _initMimetypeInternal;
61
+ }
@@ -1,4 +1,4 @@
1
- /** AUTO GENERATED FILE. DO NOT CHANGE.. OR YOU WILL SUFFER THE CONSEQUENCES OF YOUR ACTIONS **/
2
- export declare const CoreComponentsIconSvg: {
3
- [iconName: string]: string;
4
- };
1
+ /** AUTO GENERATED FILE. DO NOT CHANGE.. OR YOU WILL SUFFER THE CONSEQUENCES OF YOUR ACTIONS **/
2
+ export declare const CoreComponentsIconSvg: {
3
+ [iconName: string]: string;
4
+ };
@@ -1,7 +1,7 @@
1
- export declare class ElementPosition {
2
- top: number;
3
- right: number;
4
- bottom: number;
5
- left: number;
6
- constructor(top?: number, right?: number, bottom?: number, left?: number);
7
- }
1
+ export declare class ElementPosition {
2
+ top: number;
3
+ right: number;
4
+ bottom: number;
5
+ left: number;
6
+ constructor(top?: number, right?: number, bottom?: number, left?: number);
7
+ }
@@ -1,6 +1,6 @@
1
- import { PopupButtonType } from '../../enum/popup-button-type.enum';
2
- export declare class StringPromptResultEvent {
3
- eventType: PopupButtonType;
4
- output: string;
5
- constructor(eventType: PopupButtonType, output: string);
6
- }
1
+ import { PopupButtonType } from '../../enum/popup-button-type.enum';
2
+ export declare class StringPromptResultEvent {
3
+ eventType: PopupButtonType;
4
+ output: string;
5
+ constructor(eventType: PopupButtonType, output: string);
6
+ }
@@ -1,10 +1,10 @@
1
- import { OnDestroy } from "@angular/core";
2
- import { Subject } from "rxjs";
3
- export declare class FormInputUserModelChangeListenerService implements OnDestroy {
4
- readonly userModelChange: Subject<any>;
5
- readonly clearAllMarkedAsUserTouched: Subject<void>;
6
- hasUserModelChanges: boolean;
7
- private _subs;
8
- constructor();
9
- ngOnDestroy(): void;
10
- }
1
+ import { OnDestroy } from "@angular/core";
2
+ import { Subject } from "rxjs";
3
+ export declare class FormInputUserModelChangeListenerService implements OnDestroy {
4
+ readonly userModelChange: Subject<any>;
5
+ readonly clearAllMarkedAsUserTouched: Subject<void>;
6
+ hasUserModelChanges: boolean;
7
+ private _subs;
8
+ constructor();
9
+ ngOnDestroy(): void;
10
+ }
@@ -1,26 +1,26 @@
1
- import { OnDestroy } from "@angular/core";
2
- import { Subject } from "rxjs";
3
- import { FormComponent } from '../../components/form/form.component';
4
- /**
5
- * Service to use inside [providers] of some leaf component that contains multiple <co-form>'s inside, possibly nested. Gives the master
6
- * full control over submits etc. of all its inner co-forms with just one service.
7
- */
8
- export declare class FormMasterService implements OnDestroy {
9
- readonly validSlavesSubmit: Subject<void>;
10
- private _slaveForms;
11
- private _subs;
12
- private _slaveHoldingFirstInvalidField;
13
- private _keyOfFirstInvalidFieldInDom;
14
- private _positionOfFirstInvalidFieldInDom;
15
- private _firstErrorTooltipSpawned;
16
- constructor();
17
- ngOnDestroy(): void;
18
- addSlave(coFormComp: FormComponent): void;
19
- removeSlave(coFormComp: FormComponent): void;
20
- submitSlaves(): boolean;
21
- resetSlaves(): void;
22
- setFirstInvalidField(form: FormComponent, key: string, element: HTMLElement): void;
23
- allSlavesValid(): boolean;
24
- private _resetFirstInvalidFieldProps;
25
- private _handleFormCompInvalidity;
26
- }
1
+ import { OnDestroy } from "@angular/core";
2
+ import { Subject } from "rxjs";
3
+ import { FormComponent } from '../../components/form/form.component';
4
+ /**
5
+ * Service to use inside [providers] of some leaf component that contains multiple <co-form>'s inside, possibly nested. Gives the master
6
+ * full control over submits etc. of all its inner co-forms with just one service.
7
+ */
8
+ export declare class FormMasterService implements OnDestroy {
9
+ readonly validSlavesSubmit: Subject<void>;
10
+ private _slaveForms;
11
+ private _subs;
12
+ private _slaveHoldingFirstInvalidField;
13
+ private _keyOfFirstInvalidFieldInDom;
14
+ private _positionOfFirstInvalidFieldInDom;
15
+ private _firstErrorTooltipSpawned;
16
+ constructor();
17
+ ngOnDestroy(): void;
18
+ addSlave(coFormComp: FormComponent): void;
19
+ removeSlave(coFormComp: FormComponent): void;
20
+ submitSlaves(): boolean;
21
+ resetSlaves(): void;
22
+ setFirstInvalidField(form: FormComponent, key: string, element: HTMLElement): void;
23
+ allSlavesValid(): boolean;
24
+ private _resetFirstInvalidFieldProps;
25
+ private _handleFormCompInvalidity;
26
+ }
@@ -1,6 +1,6 @@
1
- import { NgZone } from "@angular/core";
2
- export declare class NgZoneWrapperService {
3
- private _ngZone;
4
- constructor(_ngZone: NgZone);
5
- setTimeoutOutsideAngular(fn: Function, millis?: number): void;
6
- }
1
+ import { NgZone } from "@angular/core";
2
+ export declare class NgZoneWrapperService {
3
+ private _ngZone;
4
+ constructor(_ngZone: NgZone);
5
+ setTimeoutOutsideAngular(fn: Function, millis?: number): void;
6
+ }
@@ -1,85 +1,85 @@
1
- export declare class ArrayUtils {
2
- /**
3
- * Inserts given element into given array, on given index number.
4
- *
5
- * @param index The index position for the element to insert, use negatives to count from the arrays end
6
- * @param element The element to insert
7
- * @param array The array to insert the element into
8
- * @returns True if and only if given element is succesfully inserted into given array.
9
- */
10
- static InsertElement<T>(index: number, element: T, array: T[]): boolean;
11
- /**
12
- * Removes given element from given array. Doesn't just set it to null like JavaScripts standard 'delete' keyword, but truly removes the
13
- * element using splice(). Also works on associative arrays.
14
- *
15
- * @param element The element to remove.
16
- * @param array The array to remove the element from.
17
- * @returns True iff given element was truly successfully removed from given array.
18
- */
19
- static RemoveElement<T>(element: T, array: T[]): boolean;
20
- /**
21
- * Returns a true shallow clone of given array plus all its items. Its first-level members are object-shallow-cloned (optionally with a
22
- * strongly typed constructor),
23
- * or just as plain object (see param arrayItemsClass).
24
- * @param arrayGiven
25
- * @param arrayItemsClass If provided, the cloned array's first-level items will be strongly typed to / constructed as this class. Otherwise
26
- * it'll be a plain object.
27
- * @returns a true shallow clone of given array plus all its items
28
- */
29
- static ShallowCloneArrayAndItsItem<T>(arrayGiven: T[], arrayItemsClass?: any): T[];
30
- /**
31
- * Moves given element to given toIndex in given array. Returns whether the element was really moved, thus changing the given array.
32
- */
33
- static MoveElement<T>(element: T, toIndex: number, array: T[]): boolean;
34
- /**
35
- * Returns max value from all resulting values from applying given itemValueFunction to all items of given array.
36
- * @param array
37
- * @param itemValueFunction The function aplied to each array item that gives it a numerical value. The max num val found is returned.
38
- */
39
- static GetMaxCalculatedValue<T>(array: T[], itemValueFunction: (item: T) => number): number;
40
- static IsArrayWithElements<T>(arrayToCheck: T[], clazz?: any): boolean;
41
- static RemoveElementsByFilter(array: any[], filterFunction: (item: any) => boolean): boolean;
42
- static ReplaceElement<T>(elementIn: T, elementOut: T, array: T[]): void;
43
- static SwapElements<T>(elementOne: T, elementTwo: T, array: T[]): boolean;
44
- static ToggleElement<T>(toggle: T, elements: T[]): void;
45
- static CountWhere<T>(array: T[], whereFunction: (item: T) => boolean): number;
46
- /**
47
- * Returns whether at least one element in given array could be found by given finder function.
48
- *
49
- * @param array
50
- * @param finder A finder function that takes an element of the array and returns a boolean that represents
51
- * the 'found status' for that element; whether it should have been found or not.
52
- */
53
- static ContainsAnElementFoundBy<T>(array: T[], finder: (element: T) => boolean): boolean;
54
- /**
55
- * Cross-browser Array.find() function. Returns the first item in given array for which the foundBy function returns true. Returns
56
- * undefined when none was found.
57
- *
58
- * Example usage:
59
- * let foundItem: BusinessObject = ArrayUtils.Find<BusinessObject>(modelArray, (modelItem: BusinessObject) => <br>
60
- * (return modelItem.getId() === '1')
61
- * * });
62
- *
63
- * @param array The array with items to search in.
64
- * @param foundBy The finder function applied on each items of the array, when that returns true, the item is considered found.
65
- */
66
- static Find<T>(array: T[], foundBy: (item: T) => boolean): T;
67
- /**
68
- * Sorts all items in the given array alphabetically (A-to-Z) according to the values of their given property.
69
- * @param theArray
70
- * @param propertyName = undefined] When not defined, assumes an array of STRINGS is given, instead of array of OBJECTS.
71
- * @param [reverseOrder = false] Set to true to sort from Z-to-A instead
72
- */
73
- static SortAlphabetically<T>(theArray: T[], propertyName?: string, reverseOrder?: boolean): void;
74
- static PushIfNotExist(item: any, array: any[]): boolean;
75
- /**
76
- * Removes element at given index from given array. Doesn't just set it to null like JavaScripts standard 'delete' does, but really
77
- * removes the element using splice().
78
- *
79
- * @param index
80
- * @param array
81
- * @returns True if and only if the element on given index is succesfully removed from given array.
82
- */
83
- static RemoveElementAtIndex(index: number, array: any[]): boolean;
84
- static Includes(array: any[], item: any): boolean;
85
- }
1
+ export declare class ArrayUtils {
2
+ /**
3
+ * Inserts given element into given array, on given index number.
4
+ *
5
+ * @param index The index position for the element to insert, use negatives to count from the arrays end
6
+ * @param element The element to insert
7
+ * @param array The array to insert the element into
8
+ * @returns True if and only if given element is succesfully inserted into given array.
9
+ */
10
+ static InsertElement<T>(index: number, element: T, array: T[]): boolean;
11
+ /**
12
+ * Removes given element from given array. Doesn't just set it to null like JavaScripts standard 'delete' keyword, but truly removes the
13
+ * element using splice(). Also works on associative arrays.
14
+ *
15
+ * @param element The element to remove.
16
+ * @param array The array to remove the element from.
17
+ * @returns True iff given element was truly successfully removed from given array.
18
+ */
19
+ static RemoveElement<T>(element: T, array: T[]): boolean;
20
+ /**
21
+ * Returns a true shallow clone of given array plus all its items. Its first-level members are object-shallow-cloned (optionally with a
22
+ * strongly typed constructor),
23
+ * or just as plain object (see param arrayItemsClass).
24
+ * @param arrayGiven
25
+ * @param arrayItemsClass If provided, the cloned array's first-level items will be strongly typed to / constructed as this class. Otherwise
26
+ * it'll be a plain object.
27
+ * @returns a true shallow clone of given array plus all its items
28
+ */
29
+ static ShallowCloneArrayAndItsItem<T>(arrayGiven: T[], arrayItemsClass?: any): T[];
30
+ /**
31
+ * Moves given element to given toIndex in given array. Returns whether the element was really moved, thus changing the given array.
32
+ */
33
+ static MoveElement<T>(element: T, toIndex: number, array: T[]): boolean;
34
+ /**
35
+ * Returns max value from all resulting values from applying given itemValueFunction to all items of given array.
36
+ * @param array
37
+ * @param itemValueFunction The function aplied to each array item that gives it a numerical value. The max num val found is returned.
38
+ */
39
+ static GetMaxCalculatedValue<T>(array: T[], itemValueFunction: (item: T) => number): number;
40
+ static IsArrayWithElements<T>(arrayToCheck: T[], clazz?: any): boolean;
41
+ static RemoveElementsByFilter(array: any[], filterFunction: (item: any) => boolean): boolean;
42
+ static ReplaceElement<T>(elementIn: T, elementOut: T, array: T[]): void;
43
+ static SwapElements<T>(elementOne: T, elementTwo: T, array: T[]): boolean;
44
+ static ToggleElement<T>(toggle: T, elements: T[]): void;
45
+ static CountWhere<T>(array: T[], whereFunction: (item: T) => boolean): number;
46
+ /**
47
+ * Returns whether at least one element in given array could be found by given finder function.
48
+ *
49
+ * @param array
50
+ * @param finder A finder function that takes an element of the array and returns a boolean that represents
51
+ * the 'found status' for that element; whether it should have been found or not.
52
+ */
53
+ static ContainsAnElementFoundBy<T>(array: T[], finder: (element: T) => boolean): boolean;
54
+ /**
55
+ * Cross-browser Array.find() function. Returns the first item in given array for which the foundBy function returns true. Returns
56
+ * undefined when none was found.
57
+ *
58
+ * Example usage:
59
+ * let foundItem: BusinessObject = ArrayUtils.Find<BusinessObject>(modelArray, (modelItem: BusinessObject) => <br>
60
+ * (return modelItem.getId() === '1')
61
+ * * });
62
+ *
63
+ * @param array The array with items to search in.
64
+ * @param foundBy The finder function applied on each items of the array, when that returns true, the item is considered found.
65
+ */
66
+ static Find<T>(array: T[], foundBy: (item: T) => boolean): T;
67
+ /**
68
+ * Sorts all items in the given array alphabetically (A-to-Z) according to the values of their given property.
69
+ * @param theArray
70
+ * @param propertyName = undefined] When not defined, assumes an array of STRINGS is given, instead of array of OBJECTS.
71
+ * @param [reverseOrder = false] Set to true to sort from Z-to-A instead
72
+ */
73
+ static SortAlphabetically<T>(theArray: T[], propertyName?: string, reverseOrder?: boolean): void;
74
+ static PushIfNotExist(item: any, array: any[]): boolean;
75
+ /**
76
+ * Removes element at given index from given array. Doesn't just set it to null like JavaScripts standard 'delete' does, but really
77
+ * removes the element using splice().
78
+ *
79
+ * @param index
80
+ * @param array
81
+ * @returns True if and only if the element on given index is succesfully removed from given array.
82
+ */
83
+ static RemoveElementAtIndex(index: number, array: any[]): boolean;
84
+ static Includes(array: any[], item: any): boolean;
85
+ }
@@ -1,15 +1,15 @@
1
- import { ElementRef } from '@angular/core';
2
- import { ElementPosition } from '../model/element-position';
3
- export declare class BrowserUtils {
4
- static ScrollToTop(nativeElement: any, milliSeconds?: number): void;
5
- static DownloadFile(encodedUri: string, fileType: string): void;
6
- static CopyToClipboard(data: string): void;
7
- static TabFocusNextElement(): void;
8
- static AreDimensionsInView(dimensions: ElementPosition, view?: ElementRef): boolean;
9
- static HorizontalFitInView(dimensions: ElementPosition, view?: ElementRef): boolean;
10
- static VerticalFitInView(dimensions: ElementPosition, view?: ElementRef): boolean;
11
- static GetViewport(): ElementPosition;
12
- static GetDimensions(view?: ElementRef): ElementPosition;
13
- private static _ScrollTo;
14
- private static _FindNextTabStop;
15
- }
1
+ import { ElementRef } from '@angular/core';
2
+ import { ElementPosition } from '../model/element-position';
3
+ export declare class BrowserUtils {
4
+ static ScrollToTop(nativeElement: any, milliSeconds?: number): void;
5
+ static DownloadFile(encodedUri: string, fileType: string): void;
6
+ static CopyToClipboard(data: string): void;
7
+ static TabFocusNextElement(): void;
8
+ static AreDimensionsInView(dimensions: ElementPosition, view?: ElementRef): boolean;
9
+ static HorizontalFitInView(dimensions: ElementPosition, view?: ElementRef): boolean;
10
+ static VerticalFitInView(dimensions: ElementPosition, view?: ElementRef): boolean;
11
+ static GetViewport(): ElementPosition;
12
+ static GetDimensions(view?: ElementRef): ElementPosition;
13
+ private static _ScrollTo;
14
+ private static _FindNextTabStop;
15
+ }
@@ -1,5 +1,5 @@
1
- import { CoDirection } from "../enum/co-direction";
2
- export declare class DirectionEnumUtils {
3
- private static readonly _OppositeDirections;
4
- static OppositeOf(direction: CoDirection): CoDirection;
5
- }
1
+ import { CoDirection } from "../enum/co-direction";
2
+ export declare class DirectionEnumUtils {
3
+ private static readonly _OppositeDirections;
4
+ static OppositeOf(direction: CoDirection): CoDirection;
5
+ }
@@ -1,12 +1,12 @@
1
- export declare class EventUtils {
2
- static get passiveSupported(): boolean;
3
- static get passiveBubble(): boolean;
4
- static get passiveCapture(): boolean;
5
- private static _passiveSupported;
6
- private static _passiveCapture;
7
- private static _passiveBubble;
8
- static KillEvent(event: Event): void;
9
- static StopEvent(event: Event): void;
10
- static GetMouseEventOrTouch(originalEvent: MouseEvent | TouchEvent): MouseEvent | Touch;
11
- private static _CheckPassiveSupported;
12
- }
1
+ export declare class EventUtils {
2
+ static get passiveSupported(): boolean;
3
+ static get passiveBubble(): boolean;
4
+ static get passiveCapture(): boolean;
5
+ private static _passiveSupported;
6
+ private static _passiveCapture;
7
+ private static _passiveBubble;
8
+ static KillEvent(event: Event): void;
9
+ static StopEvent(event: Event): void;
10
+ static GetMouseEventOrTouch(originalEvent: MouseEvent | TouchEvent): MouseEvent | Touch;
11
+ private static _CheckPassiveSupported;
12
+ }
@@ -1,29 +1,29 @@
1
- import { FileTypeInternal } from '../enum/file-type-internal.enum';
2
- import { CoDocument } from '../model/co-document.bo';
3
- export declare class FileUtils {
4
- static get MaxUploadSizeInMb(): number;
5
- static DocumentBodyToDataUri(documentBody: string, mimeType: string): string;
6
- static FileNameToFileTypeInternal(fileName: string): FileTypeInternal;
7
- static IsImageFile(file: File | CoDocument): boolean;
8
- static GetGlobalFileType(document: CoDocument): FileTypeInternal;
9
- static CheckMaxUploadSize(file: CoDocument | File): boolean;
10
- static ConvertFileToDataUri(file: File): Promise<string>;
11
- static StripMimeStringFromDataUri(dataUri: string): string;
12
- static GetMimeStringFromDataUri(dataUri: string): string;
13
- static ConvertStringToArrayBuffer(stringData: string): Uint8Array;
14
- static ConvertByteArrayToString(byteArray: number[]): string;
15
- static StringContainsDataUri(str: string): boolean;
16
- /**
17
- * There is some discrepancy regarding locations of h3d objects
18
- * Therefor we need to (temporarily?!) fix the content url
19
- * Also we need to change some additionals
20
- */
21
- static FixAssetUrl(assetUrl: string): string;
22
- static MimeTypeFromFilename(fileName: string): string;
23
- static DownloadFile(fileName: string, content: string, mimeType?: string): void;
24
- static ReadAsText(file: File): Promise<string>;
25
- static ReadFileAsNewCoDocument(file: File): Promise<CoDocument>;
26
- static GetExtensionFromDataUri(dataUri: string): string;
27
- static CreateDownloadFileNameFromBase64(dataUri: string): string;
28
- static DownloadFromDataUri(dataUri: string, fileName: string): void;
29
- }
1
+ import { FileTypeInternal } from '../enum/file-type-internal.enum';
2
+ import { CoDocument } from '../model/co-document.bo';
3
+ export declare class FileUtils {
4
+ static get MaxUploadSizeInMb(): number;
5
+ static DocumentBodyToDataUri(documentBody: string, mimeType: string): string;
6
+ static FileNameToFileTypeInternal(fileName: string): FileTypeInternal;
7
+ static IsImageFile(file: File | CoDocument): boolean;
8
+ static GetGlobalFileType(document: CoDocument): FileTypeInternal;
9
+ static CheckMaxUploadSize(file: CoDocument | File): boolean;
10
+ static ConvertFileToDataUri(file: File): Promise<string>;
11
+ static StripMimeStringFromDataUri(dataUri: string): string;
12
+ static GetMimeStringFromDataUri(dataUri: string): string;
13
+ static ConvertStringToArrayBuffer(stringData: string): Uint8Array;
14
+ static ConvertByteArrayToString(byteArray: number[]): string;
15
+ static StringContainsDataUri(str: string): boolean;
16
+ /**
17
+ * There is some discrepancy regarding locations of h3d objects
18
+ * Therefor we need to (temporarily?!) fix the content url
19
+ * Also we need to change some additionals
20
+ */
21
+ static FixAssetUrl(assetUrl: string): string;
22
+ static MimeTypeFromFilename(fileName: string): string;
23
+ static DownloadFile(fileName: string, content: string, mimeType?: string): void;
24
+ static ReadAsText(file: File): Promise<string>;
25
+ static ReadFileAsNewCoDocument(file: File): Promise<CoDocument>;
26
+ static GetExtensionFromDataUri(dataUri: string): string;
27
+ static CreateDownloadFileNameFromBase64(dataUri: string): string;
28
+ static DownloadFromDataUri(dataUri: string, fileName: string): void;
29
+ }