@colijnit/corecomponents_v12 12.2.26 → 12.2.27

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 (438) hide show
  1. package/bundles/colijnit-corecomponents_v12.umd.js +13684 -13680
  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 +192 -192
  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 +163 -163
  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 +110 -110
  114. package/esm2015/lib/components/simple-grid/simple-grid.component.js +378 -378
  115. package/esm2015/lib/components/simple-grid/simple-grid.module.js +40 -40
  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 +12090 -12086
  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 +65 -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 +52 -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 +42 -42
  331. package/lib/components/simple-grid/simple-grid.component.d.ts +64 -64
  332. package/lib/components/simple-grid/simple-grid.module.d.ts +2 -2
  333. package/lib/components/tile/tile.component.d.ts +16 -16
  334. package/lib/components/tile/tile.module.d.ts +2 -2
  335. package/lib/components/tile-select/tile-select.component.d.ts +8 -8
  336. package/lib/components/tile-select/tile-select.module.d.ts +2 -2
  337. package/lib/components/tooltip/tooltip.component.d.ts +18 -18
  338. package/lib/components/tooltip/tooltip.module.d.ts +2 -2
  339. package/lib/components/validation-error/validation-error.component.d.ts +12 -12
  340. package/lib/components/validation-error/validation-error.module.d.ts +2 -2
  341. package/lib/components/view-mode-buttons/content-view-mode.enum.d.ts +8 -8
  342. package/lib/components/view-mode-buttons/view-mode-buttons.component.d.ts +17 -17
  343. package/lib/components/view-mode-buttons/view-mode-buttons.module.d.ts +2 -2
  344. package/lib/core/constant/default-upper-bound-for-range-components.d.ts +2 -2
  345. package/lib/core/constant/java-max-int.d.ts +1 -1
  346. package/lib/core/constant/number-inputs-key-down-white-list.d.ts +2 -2
  347. package/lib/core/decorator/input-boolean.decorator.d.ts +8 -8
  348. package/lib/core/enum/co-direction.d.ts +6 -6
  349. package/lib/core/enum/co-document-image-display-kind.enum.d.ts +5 -5
  350. package/lib/core/enum/co-document-type.enum.d.ts +5 -5
  351. package/lib/core/enum/co-orientation.d.ts +6 -6
  352. package/lib/core/enum/core-components-icon.enum.d.ts +298 -298
  353. package/lib/core/enum/file-type-internal.enum.d.ts +15 -15
  354. package/lib/core/enum/file-type.enum.d.ts +5 -5
  355. package/lib/core/enum/filterItem-mode.enum.d.ts +15 -15
  356. package/lib/core/enum/input-number-picker-show-mode.enum.d.ts +5 -5
  357. package/lib/core/enum/keyboard-code.enum.d.ts +71 -71
  358. package/lib/core/enum/keyboard-key.enum.d.ts +70 -70
  359. package/lib/core/enum/object-right-type.enum.d.ts +5 -5
  360. package/lib/core/enum/popup-button-type.enum.d.ts +9 -9
  361. package/lib/core/enum/popup-type.enum.d.ts +9 -9
  362. package/lib/core/enum/table-name.enum.d.ts +79 -79
  363. package/lib/core/function/any-nill.function.d.ts +1 -1
  364. package/lib/core/function/is-nill.function.d.ts +1 -1
  365. package/lib/core/function/none-nill.function.d.ts +1 -1
  366. package/lib/core/function/not-nill.function.d.ts +1 -1
  367. package/lib/core/model/bounds-constrained-number-value.d.ts +46 -46
  368. package/lib/core/model/check-precision-and-scale-result.d.ts +4 -4
  369. package/lib/core/model/check-within-stepped-bounds-result.d.ts +8 -8
  370. package/lib/core/model/co-document-right.bo.d.ts +6 -6
  371. package/lib/core/model/co-document.bo.d.ts +61 -61
  372. package/lib/core/model/core-components-icon-svg.d.ts +4 -4
  373. package/lib/core/model/element-position.d.ts +7 -7
  374. package/lib/core/model/event/string-prompt-result-event.d.ts +6 -6
  375. package/lib/core/service/form-input-user-change-listener.service.d.ts +10 -10
  376. package/lib/core/service/form-master.service.d.ts +26 -26
  377. package/lib/core/service/ng-zone-wrapper.service.d.ts +6 -6
  378. package/lib/core/utils/array-utils.d.ts +85 -85
  379. package/lib/core/utils/browser-utils.d.ts +15 -15
  380. package/lib/core/utils/direction-enum-utils.d.ts +5 -5
  381. package/lib/core/utils/event-utils.d.ts +12 -12
  382. package/lib/core/utils/file-utils.d.ts +29 -29
  383. package/lib/core/utils/number-utils.d.ts +89 -89
  384. package/lib/core/utils/object-utils.d.ts +31 -31
  385. package/lib/core/utils/string-utils.d.ts +25 -25
  386. package/lib/core/validator/email.validator.d.ts +2 -2
  387. package/lib/core/validator/equal.validator.d.ts +2 -2
  388. package/lib/core/validator/max-string-length.validator.d.ts +2 -2
  389. package/lib/core/validator/password.validator.d.ts +3 -3
  390. package/lib/core/validator/precision-scale.validator.d.ts +2 -2
  391. package/lib/core/validator/required.validator.d.ts +2 -2
  392. package/lib/directives/clickoutside/click-outside-master.service.d.ts +15 -15
  393. package/lib/directives/clickoutside/click-outside.directive.d.ts +18 -18
  394. package/lib/directives/clickoutside/clickoutside.module.d.ts +2 -2
  395. package/lib/directives/observe-visibility/observe-visibility.directive.d.ts +14 -14
  396. package/lib/directives/observe-visibility/observe-visibility.module.d.ts +2 -2
  397. package/lib/directives/overlay/overlay-parent.directive.d.ts +6 -6
  398. package/lib/directives/overlay/overlay.directive.d.ts +25 -25
  399. package/lib/directives/overlay/overlay.module.d.ts +2 -2
  400. package/lib/directives/ripple/ripple-ref.d.ts +21 -21
  401. package/lib/directives/ripple/ripple-renderer.d.ts +56 -56
  402. package/lib/directives/ripple/ripple.directive.d.ts +56 -56
  403. package/lib/directives/ripple/ripple.module.d.ts +2 -2
  404. package/lib/directives/ripple/scroll-dispatcher.service.d.ts +51 -51
  405. package/lib/directives/ripple/scrollable.directive.d.ts +20 -20
  406. package/lib/directives/ripple/viewport-ruler.service.d.ts +29 -29
  407. package/lib/directives/screen-configuration/screen-configuration.directive.d.ts +32 -32
  408. package/lib/directives/screen-configuration/screen-configuration.module.d.ts +2 -2
  409. package/lib/directives/stopclick/stop-click.directive.d.ts +10 -10
  410. package/lib/directives/stopclick/stop-click.module.d.ts +2 -2
  411. package/lib/directives/template-wrapper/template-wrapper.directive.d.ts +13 -13
  412. package/lib/directives/template-wrapper/template-wrapper.module.d.ts +2 -2
  413. package/lib/directives/tooltip/tooltip-directive.module.d.ts +2 -2
  414. package/lib/directives/tooltip/tooltip.directive.d.ts +20 -20
  415. package/lib/interfaces/dialog-response.interface.d.ts +6 -6
  416. package/lib/interfaces/scanner-input.interface.d.ts +3 -3
  417. package/lib/interfaces/screen-config-adapter-component-interface-name.d.ts +3 -3
  418. package/lib/interfaces/screen-config-adapter.component.interface.d.ts +10 -10
  419. package/lib/model/enum/app-button-type.enum.d.ts +9 -9
  420. package/lib/model/enum/app-popup-type.enum.d.ts +6 -6
  421. package/lib/pipes/append.pipe.d.ts +4 -4
  422. package/lib/pipes/append.pipe.module.d.ts +2 -2
  423. package/lib/pipes/filter.pipe.d.ts +4 -4
  424. package/lib/pipes/filter.pipe.module.d.ts +2 -2
  425. package/lib/pipes/prepend.pipe.d.ts +4 -4
  426. package/lib/pipes/prepend.pipe.module.d.ts +2 -2
  427. package/lib/pipes/price-display-pipe.module.d.ts +2 -2
  428. package/lib/pipes/price-display.pipe.d.ts +4 -4
  429. package/lib/service/base-module-screen-config.service.d.ts +47 -47
  430. package/lib/service/base-module.service.d.ts +22 -22
  431. package/lib/service/color-sequence.service.d.ts +4 -4
  432. package/lib/service/overlay.service.d.ts +13 -13
  433. package/lib/translation/core-components-translation.module.d.ts +4 -4
  434. package/lib/translation/core-components-translation.service.d.ts +6 -6
  435. package/lib/translation/core-dictionary.service.d.ts +12 -12
  436. package/lib/translation/core-localize.pipe.d.ts +7 -7
  437. package/package.json +1 -1
  438. package/public-api.d.ts +126 -126
@@ -1,19 +1,19 @@
1
- import { Directive, ElementRef } from "@angular/core";
2
- export class OverlayParentDirective {
3
- constructor(elementRef) {
4
- this.elementRef = elementRef;
5
- }
6
- ngOnDestroy() {
7
- this.elementRef = undefined;
8
- }
9
- }
10
- OverlayParentDirective.decorators = [
11
- { type: Directive, args: [{
12
- selector: '[overlayParent]',
13
- exportAs: 'overlayParent'
14
- },] }
15
- ];
16
- OverlayParentDirective.ctorParameters = () => [
17
- { type: ElementRef }
18
- ];
1
+ import { Directive, ElementRef } from "@angular/core";
2
+ export class OverlayParentDirective {
3
+ constructor(elementRef) {
4
+ this.elementRef = elementRef;
5
+ }
6
+ ngOnDestroy() {
7
+ this.elementRef = undefined;
8
+ }
9
+ }
10
+ OverlayParentDirective.decorators = [
11
+ { type: Directive, args: [{
12
+ selector: '[overlayParent]',
13
+ exportAs: 'overlayParent'
14
+ },] }
15
+ ];
16
+ OverlayParentDirective.ctorParameters = () =>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ICBjb25zdHJ1Y3RvcihcclxuICAgIGVsZW1lbnRSZWY6IEVsZW1lbnRSZWZcclxuICApIHtcclxuICAgIHRoaXMuZWxlbWVudFJlZiA9IGVsZW1lbnRSZWY7XHJcbiAgfVxyXG5cclxuICBwdWJsaWMgbmdPbkRlc3Ryb3koKTogdm9pZCB7XHJcbiAgICB0aGlzLmVsZW1lbnRSZWYgPSB1bmRlZmluZWQ7XHJcbiAgfVxyXG59XHJcbiJdfQ==
@@ -1,161 +1,161 @@
1
- import { Directive, ElementRef, Input } from '@angular/core';
2
- import { OverlayParentDirective } from './overlay-parent.directive';
3
- export class OverlayDirective {
4
- constructor(elementRef) {
5
- /**
6
- * true; Element is added to the parent template
7
- * false; Element is added to the bottom of the DOM
8
- */
9
- this.inline = false;
10
- this.keepInView = false;
11
- this.inheritWidth = false;
12
- this.rightAlign = false;
13
- this.fullSize = false;
14
- this.handleScroll = (event) => {
15
- this._checkAndPlaceElement();
16
- };
17
- this._elementRef = elementRef;
18
- }
19
- set parent(value) {
20
- if (value) {
21
- if (value instanceof ElementRef) {
22
- this._parent = value.nativeElement;
23
- }
24
- else if (value instanceof OverlayParentDirective) {
25
- this._parent = value.elementRef.nativeElement;
26
- }
27
- else {
28
- this._parent = value;
29
- }
30
- }
31
- else {
32
- if (this._parent && this._resizeObserver) {
33
- this._resizeObserver.disconnect();
34
- }
35
- }
36
- }
37
- ngOnDestroy() {
38
- document.removeEventListener("scroll", this.handleScroll, true);
39
- if (this._intersectionObserver) {
40
- this._intersectionObserver.disconnect();
41
- }
42
- if (this._resizeObserver) {
43
- this._resizeObserver.disconnect();
44
- }
45
- this._elementRef = undefined;
46
- this._parent = undefined;
47
- }
48
- ngOnInit() {
49
- if (!this._elementRef || !this._elementRef.nativeElement) {
50
- return;
51
- }
52
- document.addEventListener("scroll", this.handleScroll, true);
53
- this._checkAndPlaceElement();
54
- this._resizeObserver = new ResizeObserver((entries) => {
55
- this._checkAndPlaceElement();
56
- });
57
- this._intersectionObserver = new IntersectionObserver((entries) => {
58
- if (entries && entries.length > 0) {
59
- if (entries[0].isIntersecting === false) {
60
- this._elementRef.nativeElement.style.opacity = 0; // hide cause parent is not visible
61
- }
62
- else {
63
- this._elementRef.nativeElement.style.opacity = 1;
64
- }
65
- }
66
- }, {
67
- root: null
68
- });
69
- if (this._parent) {
70
- this._intersectionObserver.observe(this._parent); // observe parent for visibility
71
- }
72
- this._resizeObserver.observe(document.body);
73
- }
74
- _checkAndPlaceElement() {
75
- if (this._elementRef && this._elementRef.nativeElement && this._parent) {
76
- const elementRect = this._elementRef.nativeElement.getBoundingClientRect();
77
- const parentBoundingRect = this._parent.getBoundingClientRect();
78
- let parentRect = {};
79
- if (!this.inline) {
80
- parentRect = {
81
- bottom: parentBoundingRect.bottom,
82
- right: parentBoundingRect.right,
83
- left: parentBoundingRect.left,
84
- top: parentBoundingRect.top,
85
- width: parentBoundingRect.width
86
- };
87
- }
88
- else {
89
- parentRect = {
90
- bottom: this._parent.offsetTop + parentBoundingRect.height,
91
- right: this._parent.offsetLeft + parentBoundingRect.width,
92
- left: this._parent.offsetLeft,
93
- top: this._parent.offsetTop,
94
- width: parentBoundingRect.width
95
- };
96
- }
97
- this._placeElement(window.innerHeight, window.innerWidth, parentRect, elementRect);
98
- }
99
- }
100
- _placeElement(bottom, right, parentRect, elementRect) {
101
- this._elementRef.nativeElement.style.position = "fixed";
102
- if (bottom < parentRect.bottom + elementRect.height) { // make sure it fits at the bottom
103
- this._elementRef.nativeElement.style.top = (parentRect.top - elementRect.height) + "px";
104
- this._elementRef.nativeElement.classList.add('top');
105
- }
106
- else {
107
- this._elementRef.nativeElement.classList.remove('top');
108
- this._elementRef.nativeElement.style.top = parentRect.bottom + "px";
109
- }
110
- if (this.inheritWidth) {
111
- this._elementRef.nativeElement.style.width = parentRect.width + "px";
112
- }
113
- if (this.rightAlign) {
114
- let left = (parentRect.right - elementRect.width);
115
- if (this.keepInView) {
116
- const viewToKeepIn = this.view ? this.view : window;
117
- const viewLeft = viewToKeepIn.offsetLeft || 0;
118
- left = Math.max(left, viewLeft);
119
- }
120
- this._elementRef.nativeElement.style.left = left + "px";
121
- }
122
- else if (this.fullSize) {
123
- this._elementRef.nativeElement.style.left = "0px";
124
- }
125
- else {
126
- this._elementRef.nativeElement.style.left = parentRect.left + "px";
127
- }
128
- if (this.keepInView) {
129
- const viewToKeepIn = this.view ? this.view : window;
130
- const viewWidth = viewToKeepIn.innerWidth || viewToKeepIn.clientWidth;
131
- if (elementRect.right > viewWidth) {
132
- //see if we can move it to the left
133
- if (((viewWidth - elementRect.width) > 0) && !this.fullSize) {
134
- this._elementRef.nativeElement.style.left = (viewWidth - elementRect.width) + "px";
135
- }
136
- else { //resize so it fits into view
137
- this._elementRef.nativeElement.style.width = viewWidth + "px";
138
- this._elementRef.nativeElement.style.left = viewToKeepIn.offsetLeft + "px";
139
- }
140
- }
141
- }
142
- }
143
- }
144
- OverlayDirective.decorators = [
145
- { type: Directive, args: [{
146
- selector: "[overlay]"
147
- },] }
148
- ];
149
- OverlayDirective.ctorParameters = () => [
150
- { type: ElementRef }
151
- ];
152
- OverlayDirective.propDecorators = {
153
- parent: [{ type: Input, args: ["overlay",] }],
154
- view: [{ type: Input }],
155
- inline: [{ type: Input }],
156
- keepInView: [{ type: Input }],
157
- inheritWidth: [{ type: Input }],
158
- rightAlign: [{ type: Input }],
159
- fullSize: [{ type: Input }]
160
- };
1
+ import { Directive, ElementRef, Input } from '@angular/core';
2
+ import { OverlayParentDirective } from './overlay-parent.directive';
3
+ export class OverlayDirective {
4
+ constructor(elementRef) {
5
+ /**
6
+ * true; Element is added to the parent template
7
+ * false; Element is added to the bottom of the DOM
8
+ */
9
+ this.inline = false;
10
+ this.keepInView = false;
11
+ this.inheritWidth = false;
12
+ this.rightAlign = false;
13
+ this.fullSize = false;
14
+ this.handleScroll = (event) => {
15
+ this._checkAndPlaceElement();
16
+ };
17
+ this._elementRef = elementRef;
18
+ }
19
+ set parent(value) {
20
+ if (value) {
21
+ if (value instanceof ElementRef) {
22
+ this._parent = value.nativeElement;
23
+ }
24
+ else if (value instanceof OverlayParentDirective) {
25
+ this._parent = value.elementRef.nativeElement;
26
+ }
27
+ else {
28
+ this._parent = value;
29
+ }
30
+ }
31
+ else {
32
+ if (this._parent && this._resizeObserver) {
33
+ this._resizeObserver.disconnect();
34
+ }
35
+ }
36
+ }
37
+ ngOnDestroy() {
38
+ document.removeEventListener("scroll", this.handleScroll, true);
39
+ if (this._intersectionObserver) {
40
+ this._intersectionObserver.disconnect();
41
+ }
42
+ if (this._resizeObserver) {
43
+ this._resizeObserver.disconnect();
44
+ }
45
+ this._elementRef = undefined;
46
+ this._parent = undefined;
47
+ }
48
+ ngOnInit() {
49
+ if (!this._elementRef || !this._elementRef.nativeElement) {
50
+ return;
51
+ }
52
+ document.addEventListener("scroll", this.handleScroll, true);
53
+ this._checkAndPlaceElement();
54
+ this._resizeObserver = new ResizeObserver((entries) => {
55
+ this._checkAndPlaceElement();
56
+ });
57
+ this._intersectionObserver = new IntersectionObserver((entries) => {
58
+ if (entries && entries.length > 0) {
59
+ if (entries[0].isIntersecting === false) {
60
+ this._elementRef.nativeElement.style.opacity = 0; // hide cause parent is not visible
61
+ }
62
+ else {
63
+ this._elementRef.nativeElement.style.opacity = 1;
64
+ }
65
+ }
66
+ }, {
67
+ root: null
68
+ });
69
+ if (this._parent) {
70
+ this._intersectionObserver.observe(this._parent); // observe parent for visibility
71
+ }
72
+ this._resizeObserver.observe(document.body);
73
+ }
74
+ _checkAndPlaceElement() {
75
+ if (this._elementRef && this._elementRef.nativeElement && this._parent) {
76
+ const elementRect = this._elementRef.nativeElement.getBoundingClientRect();
77
+ const parentBoundingRect = this._parent.getBoundingClientRect();
78
+ let parentRect = {};
79
+ if (!this.inline) {
80
+ parentRect = {
81
+ bottom: parentBoundingRect.bottom,
82
+ right: parentBoundingRect.right,
83
+ left: parentBoundingRect.left,
84
+ top: parentBoundingRect.top,
85
+ width: parentBoundingRect.width
86
+ };
87
+ }
88
+ else {
89
+ parentRect = {
90
+ bottom: this._parent.offsetTop + parentBoundingRect.height,
91
+ right: this._parent.offsetLeft + parentBoundingRect.width,
92
+ left: this._parent.offsetLeft,
93
+ top: this._parent.offsetTop,
94
+ width: parentBoundingRect.width
95
+ };
96
+ }
97
+ this._placeElement(window.innerHeight, window.innerWidth, parentRect, elementRect);
98
+ }
99
+ }
100
+ _placeElement(bottom, right, parentRect, elementRect) {
101
+ this._elementRef.nativeElement.style.position = "fixed";
102
+ if (bottom < parentRect.bottom + elementRect.height) { // make sure it fits at the bottom
103
+ this._elementRef.nativeElement.style.top = (parentRect.top - elementRect.height) + "px";
104
+ this._elementRef.nativeElement.classList.add('top');
105
+ }
106
+ else {
107
+ this._elementRef.nativeElement.classList.remove('top');
108
+ this._elementRef.nativeElement.style.top = parentRect.bottom + "px";
109
+ }
110
+ if (this.inheritWidth) {
111
+ this._elementRef.nativeElement.style.width = parentRect.width + "px";
112
+ }
113
+ if (this.rightAlign) {
114
+ let left = (parentRect.right - elementRect.width);
115
+ if (this.keepInView) {
116
+ const viewToKeepIn = this.view ? this.view : window;
117
+ const viewLeft = viewToKeepIn.offsetLeft || 0;
118
+ left = Math.max(left, viewLeft);
119
+ }
120
+ this._elementRef.nativeElement.style.left = left + "px";
121
+ }
122
+ else if (this.fullSize) {
123
+ this._elementRef.nativeElement.style.left = "0px";
124
+ }
125
+ else {
126
+ this._elementRef.nativeElement.style.left = parentRect.left + "px";
127
+ }
128
+ if (this.keepInView) {
129
+ const viewToKeepIn = this.view ? this.view : window;
130
+ const viewWidth = viewToKeepIn.innerWidth || viewToKeepIn.clientWidth;
131
+ if (elementRect.right > viewWidth) {
132
+ //see if we can move it to the left
133
+ if (((viewWidth - elementRect.width) > 0) && !this.fullSize) {
134
+ this._elementRef.nativeElement.style.left = (viewWidth - elementRect.width) + "px";
135
+ }
136
+ else { //resize so it fits into view
137
+ this._elementRef.nativeElement.style.width = viewWidth + "px";
138
+ this._elementRef.nativeElement.style.left = viewToKeepIn.offsetLeft + "px";
139
+ }
140
+ }
141
+ }
142
+ }
143
+ }
144
+ OverlayDirective.decorators = [
145
+ { type: Directive, args: [{
146
+ selector: "[overlay]"
147
+ },] }
148
+ ];
149
+ OverlayDirective.ctorParameters = () => [
150
+ { type: ElementRef }
151
+ ];
152
+ OverlayDirective.propDecorators = {
153
+ parent: [{ type: Input, args: ["overlay",] }],
154
+ view: [{ type: Input }],
155
+ inline: [{ type: Input }],
156
+ keepInView: [{ type: Input }],
157
+ inheritWidth: [{ type: Input }],
158
+ rightAlign: [{ type: Input }],
159
+ fullSize: [{ type: Input }]
160
+ };
161
161
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3ZlcmxheS5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlY29tcG9uZW50cy9zcmMvbGliL2RpcmVjdGl2ZXMvb3ZlcmxheS9vdmVybGF5LmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLFVBQVUsRUFBRSxLQUFLLEVBQW9CLE1BQU0sZUFBZSxDQUFDO0FBQzlFLE9BQU8sRUFBQyxzQkFBc0IsRUFBQyxNQUFNLDRCQUE0QixDQUFDO0FBS2xFLE1BQU0sT0FBTyxnQkFBZ0I7SUE4QzNCLFlBQ0ksVUFBc0I7UUF6QjFCOzs7V0FHRztRQUVJLFdBQU0sR0FBWSxLQUFLLENBQUM7UUFHeEIsZUFBVSxHQUFZLEtBQUssQ0FBQztRQUc1QixpQkFBWSxHQUFZLEtBQUssQ0FBQztRQUc5QixlQUFVLEdBQVksS0FBSyxDQUFDO1FBRzVCLGFBQVEsR0FBWSxLQUFLLENBQUM7UUF1RDFCLGlCQUFZLEdBQUcsQ0FBQyxLQUFZLEVBQUUsRUFBRTtZQUNyQy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dodCA+IHZpZXdXaWR0aCkge1xyXG4gICAgICAgIC8vc2VlIGlmIHdlIGNhbiBtb3ZlIGl0IHRvIHRoZSBsZWZ0XHJcbiAgICAgICAgaWYgKCgodmlld1dpZHRoIC0gZWxlbWVudFJlY3Qud2lkdGgpID4gMCkgJiYgIXRoaXMuZnVsbFNpemUpIHtcclxuICAgICAgICAgIHRoaXMuX2VsZW1lbnRSZWYubmF0aXZlRWxlbWVudC5zdHlsZS5sZWZ0ID0gKHZpZXdXaWR0aCAtIGVsZW1lbnRSZWN0LndpZHRoKSArIFwicHhcIjtcclxuICAgICAgICB9IGVsc2UgeyAvL3Jlc2l6ZSBzbyBpdCBmaXRzIGludG8gdmlld1xyXG4gICAgICAgICAgdGhpcy5fZWxlbWVudFJlZi5uYXRpdmVFbGVtZW50LnN0eWxlLndpZHRoID0gdmlld1dpZHRoICsgXCJweFwiO1xyXG4gICAgICAgICAgdGhpcy5fZWxlbWVudFJlZi5uYXRpdmVFbGVtZW50LnN0eWxlLmxlZnQgPSB2aWV3VG9LZWVwSW4ub2Zmc2V0TGVmdCArIFwicHhcIjtcclxuICAgICAgICB9XHJcbiAgICAgIH1cclxuICAgIH1cclxuICB9XHJcbn1cclxuIl19
@@ -1,18 +1,18 @@
1
- import { NgModule } from '@angular/core';
2
- import { OverlayDirective } from './overlay.directive';
3
- import { OverlayParentDirective } from './overlay-parent.directive';
4
- export class OverlayModule {
5
- }
6
- OverlayModule.decorators = [
7
- { type: NgModule, args: [{
8
- declarations: [
9
- OverlayDirective,
10
- OverlayParentDirective
11
- ],
12
- exports: [
13
- OverlayDirective,
14
- OverlayParentDirective
15
- ]
16
- },] }
17
- ];
1
+ import { NgModule } from '@angular/core';
2
+ import { OverlayDirective } from './overlay.directive';
3
+ import { OverlayParentDirective } from './overlay-parent.directive';
4
+ export class OverlayModule {
5
+ }
6
+ OverlayModule.decorators = [
7
+ { type: NgModule, args: [{
8
+ declarations: [
9
+ OverlayDirective,
10
+ OverlayParentDirective
11
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GFyZW50RGlyZWN0aXZlXHJcbiAgXSxcclxuICBleHBvcnRzOiBbXHJcbiAgICBPdmVybGF5RGlyZWN0aXZlLFxyXG4gICAgT3ZlcmxheVBhcmVudERpcmVjdGl2ZVxyXG4gIF1cclxufSlcclxuZXhwb3J0IGNsYXNzIE92ZXJsYXlNb2R1bGUge1xyXG59XHJcbiJdfQ==
@@ -1,26 +1,26 @@
1
- // NOTE: Copied and adapted to CoreComponents from iOneJS on 9-may-2018.
2
- /** Possible states for a ripple element. */
3
- export var CoRippleState;
4
- (function (CoRippleState) {
5
- CoRippleState[CoRippleState["FADING_IN"] = 0] = "FADING_IN";
6
- CoRippleState[CoRippleState["VISIBLE"] = 1] = "VISIBLE";
7
- CoRippleState[CoRippleState["FADING_OUT"] = 2] = "FADING_OUT";
8
- CoRippleState[CoRippleState["HIDDEN"] = 3] = "HIDDEN";
9
- })(CoRippleState || (CoRippleState = {}));
10
- /**
11
- * Reference to a previously launched ripple element.
12
- */
13
- export class CoRippleRef {
14
- constructor(_renderer, element, config) {
15
- this._renderer = _renderer;
16
- this.element = element;
17
- this.config = config;
18
- /** Current state of the ripple reference. */
19
- this.state = CoRippleState.HIDDEN;
20
- }
21
- /** Fades out the ripple element. */
22
- fadeOut() {
23
- this._renderer.fadeOutRipple(this);
24
- }
25
- }
1
+ // NOTE: Copied and adapted to CoreComponents from iOneJS on 9-may-2018.
2
+ /** Possible states for a ripple element. */
3
+ export var CoRippleState;
4
+ (function (CoRippleState) {
5
+ CoRippleState[CoRippleState["FADING_IN"] = 0] = "FADING_IN";
6
+ CoRippleState[CoRippleState["VISIBLE"] = 1] = "VISIBLE";
7
+ CoRippleState[CoRippleState["FADING_OUT"] = 2] = "FADING_OUT";
8
+ CoRippleState[CoRippleState["HIDDEN"] = 3] = "HIDDEN";
9
+ })(CoRippleState || (CoRippleState = {}));
10
+ /**
11
+ * Reference to a previously launched ripple element.
12
+ */
13
+ export class CoRippleRef {
14
+ constructor(_renderer, element, config) {
15
+ this._renderer = _renderer;
16
+ this.element = element;
17
+ this.config = config;
18
+ /** Current state of the ripple reference. */
19
+ this.state = CoRippleState.HIDDEN;
20
+ }
21
+ /** Fades out the ripple element. */
22
+ fadeOut() {
23
+ this._renderer.fadeOutRipple(this);
24
+ }
25
+ }
26
26
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmlwcGxlLXJlZi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmVjb21wb25lbnRzL3NyYy9saWIvZGlyZWN0aXZlcy9yaXBwbGUvcmlwcGxlLXJlZi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSx3RUFBd0U7QUFJeEUsNENBQTRDO0FBQzVDLE1BQU0sQ0FBTixJQUFZLGFBRVg7QUFGRCxXQUFZLGFBQWE7SUFDckIsMkRBQVMsQ0FBQTtJQUFFLHVEQUFPLENBQUE7SUFBRSw2REFBVSxDQUFBO0lBQUUscURBQU0sQ0FBQTtBQUMxQyxDQUFDLEVBRlcsYUFBYSxLQUFiLGFBQWEsUUFFeEI7QUFFRDs7R0FFRztBQUNILE1BQU0sT0FBTyxXQUFXO0lBS3BCLFlBQ1ksU0FBMkIsRUFDNUIsT0FBb0IsRUFDcEIsTUFBc0I7UUFGckIsY0FBUyxHQUFULFNBQVMsQ0FBa0I7UUFDNUIsWUFBTyxHQUFQLE9BQU8sQ0FBYTtRQUNwQixXQUFNLEdBQU4sTUFBTSxDQUFnQjtRQU5qQyw2Q0FBNkM7UUFDN0MsVUFBSyxHQUFrQixhQUFhLENBQUMsTUFBTSxDQUFDO0lBTTVDLENBQUM7SUFFRCxvQ0FBb0M7SUFDcEMsT0FBTztRQUNILElBQUksQ0FBQyxTQUFTLENBQUMsYUFBYSxDQUFDLElBQUksQ0FBQyxDQUFDO0lBQ3ZDLENBQUM7Q0FDSiIsInNvdXJjZXNDb250ZW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