@nova-ui/bits 13.0.5-4047 → 13.0.6-1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (880) hide show
  1. package/animations/expand.d.ts +6 -6
  2. package/animations/fadeIn.d.ts +7 -7
  3. package/common/common.module.d.ts +22 -22
  4. package/common/directives/click-interceptor/click-interceptor.directive.d.ts +19 -19
  5. package/common/directives/clipboard/clipboard.directive.d.ts +38 -38
  6. package/common/directives/dragdrop/drag-and-drop.service.d.ts +17 -17
  7. package/common/directives/dragdrop/dragdrop.constants.d.ts +8 -8
  8. package/common/directives/dragdrop/draggable.directive.d.ts +70 -70
  9. package/common/directives/dragdrop/droppable.directive.d.ts +80 -80
  10. package/common/directives/dragdrop/public-api.d.ts +24 -24
  11. package/common/directives/index.d.ts +9 -9
  12. package/common/directives/public-api.d.ts +2 -2
  13. package/common/directives/resize/resize.directive.d.ts +64 -64
  14. package/common/directives/resize-observer/resize-observer.directive.d.ts +19 -19
  15. package/common/directives/resizer/public-api.d.ts +25 -25
  16. package/common/directives/resizer/resizer.directive.d.ts +90 -90
  17. package/common/directives/set-focus/set-focus.directive.d.ts +39 -39
  18. package/common/directives/zoom-content/zoom-content.directive.d.ts +48 -48
  19. package/constants/button.constants.d.ts +10 -10
  20. package/constants/dragdrop.constants.d.ts +8 -8
  21. package/constants/event.constants.d.ts +6 -6
  22. package/constants/images.constants.d.ts +3 -3
  23. package/constants/images.d.ts +7 -7
  24. package/constants/interaction.constants.d.ts +4 -4
  25. package/constants/keycode.constants.d.ts +40 -40
  26. package/constants/path.constants.d.ts +2 -2
  27. package/constants/popover.constants.d.ts +5 -5
  28. package/constants/public-api.d.ts +12 -12
  29. package/constants/regex.constants.d.ts +4 -4
  30. package/constants/resize.constants.d.ts +1 -1
  31. package/constants/unit-conversion.constants.d.ts +20 -20
  32. package/constants/wizard.constants.d.ts +5 -5
  33. package/environment.d.ts +27 -27
  34. package/esm2020/animations/expand.mjs +51 -51
  35. package/esm2020/animations/fadeIn.mjs +29 -29
  36. package/esm2020/common/common.module.mjs +166 -166
  37. package/esm2020/common/directives/click-interceptor/click-interceptor.directive.mjs +54 -54
  38. package/esm2020/common/directives/clipboard/clipboard.directive.mjs +121 -121
  39. package/esm2020/common/directives/dragdrop/drag-and-drop.service.mjs +76 -76
  40. package/esm2020/common/directives/dragdrop/dragdrop.constants.mjs +27 -27
  41. package/esm2020/common/directives/dragdrop/draggable.directive.mjs +259 -259
  42. package/esm2020/common/directives/dragdrop/droppable.directive.mjs +212 -212
  43. package/esm2020/common/directives/dragdrop/public-api.mjs +20 -20
  44. package/esm2020/common/directives/index.mjs +28 -28
  45. package/esm2020/common/directives/public-api.mjs +21 -21
  46. package/esm2020/common/directives/resize/resize.directive.mjs +187 -187
  47. package/esm2020/common/directives/resize-observer/resize-observer.directive.mjs +65 -65
  48. package/esm2020/common/directives/resizer/public-api.mjs +68 -68
  49. package/esm2020/common/directives/resizer/resizer.directive.mjs +322 -322
  50. package/esm2020/common/directives/set-focus/set-focus.directive.mjs +113 -113
  51. package/esm2020/common/directives/zoom-content/zoom-content.directive.mjs +159 -159
  52. package/esm2020/constants/button.constants.mjs +25 -25
  53. package/esm2020/constants/dragdrop.constants.mjs +27 -27
  54. package/esm2020/constants/event.constants.mjs +34 -34
  55. package/esm2020/constants/images.constants.mjs +25 -25
  56. package/esm2020/constants/images.mjs +35 -35
  57. package/esm2020/constants/interaction.constants.mjs +27 -27
  58. package/esm2020/constants/keycode.constants.mjs +61 -61
  59. package/esm2020/constants/path.constants.mjs +23 -23
  60. package/esm2020/constants/popover.constants.mjs +24 -24
  61. package/esm2020/constants/public-api.mjs +31 -31
  62. package/esm2020/constants/regex.constants.mjs +23 -23
  63. package/esm2020/constants/resize.constants.mjs +20 -20
  64. package/esm2020/constants/unit-conversion.constants.mjs +57 -57
  65. package/esm2020/constants/wizard.constants.mjs +42 -42
  66. package/esm2020/environment.mjs +55 -55
  67. package/esm2020/functions/immutable-set.mjs +33 -33
  68. package/esm2020/functions/nameof.mjs +28 -28
  69. package/esm2020/functions/public-api.mjs +24 -24
  70. package/esm2020/functions/remove-errors.mjs +38 -38
  71. package/esm2020/functions/traverse.mjs +31 -31
  72. package/esm2020/functions/uuid.mjs +30 -30
  73. package/esm2020/lib/breadcrumb/breadcrumb-state.service.mjs +54 -54
  74. package/esm2020/lib/breadcrumb/breadcrumb.component.mjs +56 -56
  75. package/esm2020/lib/breadcrumb/breadcrumb.module.mjs +42 -42
  76. package/esm2020/lib/breadcrumb/public-api.mjs +20 -20
  77. package/esm2020/lib/busy/busy.component.mjs +93 -93
  78. package/esm2020/lib/busy/busy.module.mjs +41 -41
  79. package/esm2020/lib/busy/public-api.mjs +20 -20
  80. package/esm2020/lib/button/button.component.mjs +236 -236
  81. package/esm2020/lib/button/button.module.mjs +41 -41
  82. package/esm2020/lib/button/public-api.mjs +25 -25
  83. package/esm2020/lib/checkbox/checkbox-group.component.mjs +157 -157
  84. package/esm2020/lib/checkbox/checkbox.component.mjs +236 -236
  85. package/esm2020/lib/checkbox/checkbox.module.mjs +41 -41
  86. package/esm2020/lib/checkbox/public-api.mjs +22 -22
  87. package/esm2020/lib/chips/chip/chip.component.mjs +64 -64
  88. package/esm2020/lib/chips/chips-overflow/chips-overflow.component.mjs +45 -45
  89. package/esm2020/lib/chips/chips-overflow.service.mjs +135 -135
  90. package/esm2020/lib/chips/chips.component.mjs +206 -206
  91. package/esm2020/lib/chips/chips.module.mjs +44 -44
  92. package/esm2020/lib/chips/public-api.mjs +20 -20
  93. package/esm2020/lib/content/content.component.mjs +42 -42
  94. package/esm2020/lib/content/content.module.mjs +40 -40
  95. package/esm2020/lib/convenience/time-frame-bar/time-frame-bar.component.mjs +188 -188
  96. package/esm2020/lib/convenience/time-frame-bar/time-frame-bar.module.mjs +76 -76
  97. package/esm2020/lib/date-picker/date-picker-day-picker.component.mjs +130 -130
  98. package/esm2020/lib/date-picker/date-picker-inner.component.mjs +318 -318
  99. package/esm2020/lib/date-picker/date-picker-month-picker.component.mjs +63 -63
  100. package/esm2020/lib/date-picker/date-picker-year-picker.component.mjs +68 -68
  101. package/esm2020/lib/date-picker/date-picker.component.mjs +311 -311
  102. package/esm2020/lib/date-picker/date-picker.module.mjs +74 -74
  103. package/esm2020/lib/date-picker/public-api.mjs +71 -71
  104. package/esm2020/lib/date-time-picker/date-time-picker.component.mjs +221 -221
  105. package/esm2020/lib/date-time-picker/date-time-picker.module.mjs +42 -42
  106. package/esm2020/lib/dialog/confirmation-dialog.component.mjs +80 -80
  107. package/esm2020/lib/dialog/dialog-backdrop.component.mjs +36 -36
  108. package/esm2020/lib/dialog/dialog-footer.component.mjs +32 -32
  109. package/esm2020/lib/dialog/dialog-header.component.mjs +59 -59
  110. package/esm2020/lib/dialog/dialog-ref.mjs +94 -94
  111. package/esm2020/lib/dialog/dialog-stack.service.mjs +135 -135
  112. package/esm2020/lib/dialog/dialog.component.mjs +155 -155
  113. package/esm2020/lib/dialog/dialog.module.mjs +59 -59
  114. package/esm2020/lib/dialog/dialog.service.mjs +59 -59
  115. package/esm2020/lib/dialog/public-api.mjs +24 -24
  116. package/esm2020/lib/divider/divider.component.mjs +74 -74
  117. package/esm2020/lib/divider/divider.module.mjs +40 -40
  118. package/esm2020/lib/divider/public-api.mjs +20 -20
  119. package/esm2020/lib/dnd/dnd-drop-target.directive.mjs +108 -108
  120. package/esm2020/lib/dnd/dnd.module.mjs +39 -39
  121. package/esm2020/lib/dnd/public-api.mjs +21 -21
  122. package/esm2020/lib/docs/copy-text/copy-text.component.mjs +52 -52
  123. package/esm2020/lib/docs/docs.module.mjs +116 -116
  124. package/esm2020/lib/docs/example-code/example-code.component.mjs +75 -75
  125. package/esm2020/lib/docs/example-wrapper/example-wrapper.component.mjs +89 -89
  126. package/esm2020/lib/docs/example-wrapper/plunker-files.mjs +35 -35
  127. package/esm2020/lib/docs/example-wrapper/plunker-project.service.mjs +110 -110
  128. package/esm2020/lib/docs/public-api.mjs +20 -20
  129. package/esm2020/lib/docs/services/sources.service.mjs +89 -89
  130. package/esm2020/lib/docs/srlc-indicator/public-api.mjs +29 -29
  131. package/esm2020/lib/docs/srlc-indicator/srlc-indicator.component.mjs +96 -96
  132. package/esm2020/lib/docs/theme-switcher/theme-switcher.component.mjs +42 -42
  133. package/esm2020/lib/dragdrop/dragdrop.module.mjs +42 -42
  134. package/esm2020/lib/dragdrop/draggable.component.mjs +62 -62
  135. package/esm2020/lib/dragdrop/droppable.component.mjs +58 -58
  136. package/esm2020/lib/dragdrop/public-api.mjs +2 -2
  137. package/esm2020/lib/expander/expander.component.mjs +111 -111
  138. package/esm2020/lib/expander/expander.module.mjs +41 -41
  139. package/esm2020/lib/form-field/form-field.component.mjs +125 -125
  140. package/esm2020/lib/form-field/form-field.module.mjs +42 -42
  141. package/esm2020/lib/form-field/public-api.mjs +27 -27
  142. package/esm2020/lib/form-field/touched-changes-helper.mjs +40 -40
  143. package/esm2020/lib/icon/icon.component.mjs +143 -143
  144. package/esm2020/lib/icon/icon.module.mjs +41 -41
  145. package/esm2020/lib/icon/icon.service.mjs +74 -74
  146. package/esm2020/lib/icon/icons.mjs +891 -891
  147. package/esm2020/lib/icon/public-api.mjs +20 -20
  148. package/esm2020/lib/icon/types.mjs +109 -109
  149. package/esm2020/lib/image/image.component.mjs +143 -143
  150. package/esm2020/lib/image/image.module.mjs +40 -40
  151. package/esm2020/lib/image/public-api.mjs +20 -20
  152. package/esm2020/lib/layout/card/card.component.mjs +46 -46
  153. package/esm2020/lib/layout/card-group/card-group.component.mjs +51 -51
  154. package/esm2020/lib/layout/layout-resizer/layout-resizer.component.mjs +96 -96
  155. package/esm2020/lib/layout/layout.module.mjs +62 -62
  156. package/esm2020/lib/layout/public-api.mjs +20 -20
  157. package/esm2020/lib/layout/sheet/sheet.component.mjs +64 -64
  158. package/esm2020/lib/layout/sheet-group/sheet-group.component.mjs +187 -187
  159. package/esm2020/lib/menu/index.mjs +28 -28
  160. package/esm2020/lib/menu/menu/menu.component.mjs +170 -170
  161. package/esm2020/lib/menu/menu-item/menu-action/menu-action.component.mjs +80 -80
  162. package/esm2020/lib/menu/menu-item/menu-group/menu-group.component.mjs +37 -37
  163. package/esm2020/lib/menu/menu-item/menu-item/menu-item-base.mjs +56 -56
  164. package/esm2020/lib/menu/menu-item/menu-item/menu-item.component.mjs +68 -68
  165. package/esm2020/lib/menu/menu-item/menu-link/menu-link.component.mjs +81 -81
  166. package/esm2020/lib/menu/menu-item/menu-option/menu-option.component.mjs +91 -91
  167. package/esm2020/lib/menu/menu-item/menu-switch/menu-switch.component.mjs +87 -87
  168. package/esm2020/lib/menu/menu-key-control.service.mjs +210 -210
  169. package/esm2020/lib/menu/menu-popup/menu-popup.component.mjs +90 -90
  170. package/esm2020/lib/menu/menu.module.mjs +106 -106
  171. package/esm2020/lib/menu/public-api.mjs +24 -24
  172. package/esm2020/lib/message/message.component.mjs +122 -122
  173. package/esm2020/lib/message/message.module.mjs +42 -42
  174. package/esm2020/lib/overlay/arrow-component/overlay-arrow.component.mjs +33 -33
  175. package/esm2020/lib/overlay/constants.mjs +24 -24
  176. package/esm2020/lib/overlay/overlay-additions.module.mjs +38 -38
  177. package/esm2020/lib/overlay/overlay-component/overlay.component.mjs +188 -188
  178. package/esm2020/lib/overlay/overlay-container.service.mjs +127 -127
  179. package/esm2020/lib/overlay/overlay-custom-container.mjs +54 -54
  180. package/esm2020/lib/overlay/overlay-item/overlay-item.component.mjs +51 -51
  181. package/esm2020/lib/overlay/overlay-position.service.mjs +270 -270
  182. package/esm2020/lib/overlay/overlay-utilities.service.mjs +75 -75
  183. package/esm2020/lib/overlay/overlay.module.mjs +43 -43
  184. package/esm2020/lib/overlay/overlay.service.mjs +135 -135
  185. package/esm2020/lib/overlay/public-api.mjs +27 -27
  186. package/esm2020/lib/overlay/types.mjs +47 -47
  187. package/esm2020/lib/paginator/paginator.component.mjs +456 -456
  188. package/esm2020/lib/paginator/paginator.module.mjs +60 -60
  189. package/esm2020/lib/paginator/public-api.mjs +20 -20
  190. package/esm2020/lib/panel/panel.component.mjs +452 -452
  191. package/esm2020/lib/panel/panel.module.mjs +41 -41
  192. package/esm2020/lib/panel/public-api.mjs +42 -42
  193. package/esm2020/lib/popover/popover-modal.component.mjs +91 -91
  194. package/esm2020/lib/popover/popover-modal.service.mjs +168 -168
  195. package/esm2020/lib/popover/popover-position.service.mjs +222 -222
  196. package/esm2020/lib/popover/popover.component.mjs +474 -474
  197. package/esm2020/lib/popover/popover.module.mjs +57 -57
  198. package/esm2020/lib/popover/public-api.mjs +30 -30
  199. package/esm2020/lib/popup/popup-container.component.mjs +75 -75
  200. package/esm2020/lib/popup/popup-container.service.mjs +34 -34
  201. package/esm2020/lib/popup/popup-toggle.directive.mjs +50 -50
  202. package/esm2020/lib/popup/popup.component.mjs +237 -237
  203. package/esm2020/lib/popup/popup.module.mjs +49 -49
  204. package/esm2020/lib/popup-adapter/popup-adapter.component.mjs +323 -323
  205. package/esm2020/lib/popup-adapter/popup-adapter.module.mjs +56 -56
  206. package/esm2020/lib/progress/progress.component.mjs +73 -73
  207. package/esm2020/lib/progress/progress.module.mjs +42 -42
  208. package/esm2020/lib/public-api.mjs +54 -54
  209. package/esm2020/lib/radio/radio-group.component.mjs +291 -291
  210. package/esm2020/lib/radio/radio.module.mjs +40 -40
  211. package/esm2020/lib/repeat/public-api.mjs +20 -20
  212. package/esm2020/lib/repeat/repeat-item/repeat-item.component.mjs +53 -53
  213. package/esm2020/lib/repeat/repeat.component.mjs +431 -431
  214. package/esm2020/lib/repeat/repeat.module.mjs +61 -61
  215. package/esm2020/lib/repeat/types.mjs +33 -33
  216. package/esm2020/lib/search/search.component.mjs +127 -127
  217. package/esm2020/lib/search/search.module.mjs +43 -43
  218. package/esm2020/lib/select/base-select.mjs +205 -205
  219. package/esm2020/lib/select/combobox/combobox.component.mjs +294 -294
  220. package/esm2020/lib/select/index.mjs +21 -21
  221. package/esm2020/lib/select/public-api.mjs +20 -20
  222. package/esm2020/lib/select/select.component.mjs +142 -142
  223. package/esm2020/lib/select/select.module.mjs +68 -68
  224. package/esm2020/lib/select-v2/base-select-v2.mjs +481 -481
  225. package/esm2020/lib/select-v2/combobox-v2/combobox-v2.component.mjs +319 -319
  226. package/esm2020/lib/select-v2/combobox-v2-option-highlight/combobox-v2-option-highlight.directive.mjs +82 -82
  227. package/esm2020/lib/select-v2/constants.mjs +24 -24
  228. package/esm2020/lib/select-v2/mark-as-selected-item.directive.mjs +28 -28
  229. package/esm2020/lib/select-v2/option/select-v2-option.component.mjs +80 -80
  230. package/esm2020/lib/select-v2/option-group/select-v2-option-group.component.mjs +68 -68
  231. package/esm2020/lib/select-v2/option-key-control.service.mjs +137 -137
  232. package/esm2020/lib/select-v2/select/select-v2.component.mjs +139 -139
  233. package/esm2020/lib/select-v2/select-v2.module.mjs +102 -102
  234. package/esm2020/lib/select-v2/selected-items-key-control.service.mjs +157 -157
  235. package/esm2020/lib/select-v2/types.mjs +20 -20
  236. package/esm2020/lib/selector/public-api.mjs +32 -32
  237. package/esm2020/lib/selector/selector.component.mjs +153 -153
  238. package/esm2020/lib/selector/selector.module.mjs +60 -60
  239. package/esm2020/lib/selector/selector.service.mjs +288 -288
  240. package/esm2020/lib/sorter/constants.mjs +21 -21
  241. package/esm2020/lib/sorter/public-api.mjs +25 -25
  242. package/esm2020/lib/sorter/sorter-keyboard.service.mjs +105 -105
  243. package/esm2020/lib/sorter/sorter.component.mjs +235 -235
  244. package/esm2020/lib/sorter/sorter.module.mjs +56 -56
  245. package/esm2020/lib/spinner/public-api.mjs +29 -29
  246. package/esm2020/lib/spinner/spinner.component.mjs +152 -152
  247. package/esm2020/lib/spinner/spinner.module.mjs +42 -42
  248. package/esm2020/lib/switch/switch.component.mjs +103 -103
  249. package/esm2020/lib/switch/switch.module.mjs +40 -40
  250. package/esm2020/lib/tabgroup/tab/tab-heading-custom-template-ref.directive.mjs +46 -46
  251. package/esm2020/lib/tabgroup/tab/tab-heading.directive.mjs +36 -36
  252. package/esm2020/lib/tabgroup/tab/tab.component.mjs +79 -79
  253. package/esm2020/lib/tabgroup/tab-group/tab-group.component.mjs +146 -146
  254. package/esm2020/lib/tabgroup/tab-heading/tab-heading.component.mjs +61 -61
  255. package/esm2020/lib/tabgroup/tab-heading-group/tab-heading-group.component.mjs +181 -181
  256. package/esm2020/lib/tabgroup/tabs.module.mjs +69 -69
  257. package/esm2020/lib/table/constants.mjs +23 -23
  258. package/esm2020/lib/table/public-api.mjs +24 -24
  259. package/esm2020/lib/table/table-cell/table-cell-def.directive.mjs +40 -40
  260. package/esm2020/lib/table/table-cell/table-cell.directive.mjs +123 -123
  261. package/esm2020/lib/table/table-cell/table-column-def.directive.mjs +72 -72
  262. package/esm2020/lib/table/table-cell/table-footer-cell-def.directive.mjs +44 -44
  263. package/esm2020/lib/table/table-cell/table-footer-cell.directive.mjs +43 -43
  264. package/esm2020/lib/table/table-cell/table-header-cell-def.directive.mjs +44 -44
  265. package/esm2020/lib/table/table-cell/table-header-cell.component.mjs +300 -300
  266. package/esm2020/lib/table/table-resizer/table-resizer.directive.mjs +74 -74
  267. package/esm2020/lib/table/table-row/table-row.component.mjs +456 -456
  268. package/esm2020/lib/table/table-state-handler.service.mjs +522 -522
  269. package/esm2020/lib/table/table-virtual-scroll/slice-range.pipe.mjs +22 -22
  270. package/esm2020/lib/table/table-virtual-scroll/table-sticky-header.directive.mjs +277 -277
  271. package/esm2020/lib/table/table-virtual-scroll/table-virtual-scroll-strategy.mjs +182 -182
  272. package/esm2020/lib/table/table-virtual-scroll/table-virtual-scroll.directive.mjs +130 -130
  273. package/esm2020/lib/table/table.component.mjs +294 -294
  274. package/esm2020/lib/table/table.module.mjs +133 -133
  275. package/esm2020/lib/table/types.mjs +20 -20
  276. package/esm2020/lib/textbox/textbox-number/textbox-number.component.mjs +272 -272
  277. package/esm2020/lib/textbox/textbox.component.mjs +177 -177
  278. package/esm2020/lib/textbox/textbox.module.mjs +64 -64
  279. package/esm2020/lib/time-frame-picker/public-api.mjs +20 -20
  280. package/esm2020/lib/time-frame-picker/quick-picker/quick-picker.component.mjs +57 -57
  281. package/esm2020/lib/time-frame-picker/services/timeframe.service.mjs +225 -225
  282. package/esm2020/lib/time-frame-picker/time-frame-format.pipe.mjs +59 -59
  283. package/esm2020/lib/time-frame-picker/time-frame-picker.component.mjs +129 -129
  284. package/esm2020/lib/time-frame-picker/time-frame-picker.module.mjs +57 -57
  285. package/esm2020/lib/time-picker/time-picker-keyboard.service.mjs +112 -112
  286. package/esm2020/lib/time-picker/time-picker.component.mjs +325 -325
  287. package/esm2020/lib/time-picker/time-picker.module.mjs +60 -60
  288. package/esm2020/lib/toast/public-api.mjs +20 -20
  289. package/esm2020/lib/toast/toast-container.service.mjs +89 -89
  290. package/esm2020/lib/toast/toast-injector.mjs +34 -34
  291. package/esm2020/lib/toast/toast-package.mjs +43 -43
  292. package/esm2020/lib/toast/toast-ref.mjs +64 -64
  293. package/esm2020/lib/toast/toast.component.mjs +228 -228
  294. package/esm2020/lib/toast/toast.directive.mjs +90 -90
  295. package/esm2020/lib/toast/toast.module.mjs +54 -54
  296. package/esm2020/lib/toast/toast.service.mjs +272 -272
  297. package/esm2020/lib/toast/toast.servicebase.mjs +31 -31
  298. package/esm2020/lib/toolbar/public-api.mjs +30 -30
  299. package/esm2020/lib/toolbar/toolbar-group.component.mjs +41 -41
  300. package/esm2020/lib/toolbar/toolbar-item.component.mjs +62 -62
  301. package/esm2020/lib/toolbar/toolbar-keyboard.service.mjs +80 -80
  302. package/esm2020/lib/toolbar/toolbar-message.component.mjs +35 -35
  303. package/esm2020/lib/toolbar/toolbar-splitter.component.mjs +36 -36
  304. package/esm2020/lib/toolbar/toolbar.component.mjs +245 -242
  305. package/esm2020/lib/toolbar/toolbar.module.mjs +84 -84
  306. package/esm2020/lib/tooltip/public-api.mjs +21 -21
  307. package/esm2020/lib/tooltip/tooltip.component.mjs +203 -203
  308. package/esm2020/lib/tooltip/tooltip.directive.mjs +226 -226
  309. package/esm2020/lib/tooltip/tooltip.module.mjs +41 -41
  310. package/esm2020/lib/validation-message/custom-validation-message/custom-validation-message.component.mjs +58 -58
  311. package/esm2020/lib/validation-message/public-api.mjs +21 -21
  312. package/esm2020/lib/validation-message/validation-message.component.mjs +45 -45
  313. package/esm2020/lib/validation-message/validation-message.module.mjs +46 -46
  314. package/esm2020/lib/wizard/public-api.mjs +20 -20
  315. package/esm2020/lib/wizard/wizard-step.component.mjs +131 -131
  316. package/esm2020/lib/wizard/wizard.component.mjs +357 -357
  317. package/esm2020/lib/wizard/wizard.module.mjs +61 -61
  318. package/esm2020/lib/wizard-v2/error-state-matcher.provider.mjs +35 -35
  319. package/esm2020/lib/wizard-v2/public-api.mjs +31 -31
  320. package/esm2020/lib/wizard-v2/types.mjs +20 -20
  321. package/esm2020/lib/wizard-v2/wizard-button/wizard-button.mjs +54 -54
  322. package/esm2020/lib/wizard-v2/wizard-footer/wizard-footer.component.mjs +59 -59
  323. package/esm2020/lib/wizard-v2/wizard-horizontal/wizard-horizontal.component.mjs +305 -305
  324. package/esm2020/lib/wizard-v2/wizard-overflow/wizard-overflow.component.mjs +43 -43
  325. package/esm2020/lib/wizard-v2/wizard-step/wizard-step.component.mjs +109 -109
  326. package/esm2020/lib/wizard-v2/wizard-step-footer.directive.mjs +34 -34
  327. package/esm2020/lib/wizard-v2/wizard-step-header/wizard-step-header.component.mjs +132 -132
  328. package/esm2020/lib/wizard-v2/wizard-step-label.directive.mjs +32 -32
  329. package/esm2020/lib/wizard-v2/wizard-vertical/wizard-vertical.component.mjs +70 -70
  330. package/esm2020/lib/wizard-v2/wizard.directive.mjs +122 -122
  331. package/esm2020/lib/wizard-v2/wizard.module.mjs +112 -112
  332. package/esm2020/nova-ui-bits.mjs +4 -4
  333. package/esm2020/nui-api.mjs +75 -75
  334. package/esm2020/pipes/highlight.pipe.mjs +89 -89
  335. package/esm2020/pipes/limit-to.pipe.mjs +49 -49
  336. package/esm2020/pipes/unit-conversion.pipe.mjs +59 -59
  337. package/esm2020/public_api.mjs +185 -185
  338. package/esm2020/services/content-ref.mjs +27 -27
  339. package/esm2020/services/data-filter.service.mjs +96 -96
  340. package/esm2020/services/data-source/client-side-data-source.service.mjs +117 -117
  341. package/esm2020/services/data-source/data-source-features.mjs +36 -36
  342. package/esm2020/services/data-source/data-source.service.mjs +135 -135
  343. package/esm2020/services/data-source/local-filtering-data-source.service.mjs +249 -249
  344. package/esm2020/services/data-source/noop-data-source.service.mjs +28 -28
  345. package/esm2020/services/data-source/public-api.mjs +40 -40
  346. package/esm2020/services/data-source/server-side-source.service.mjs +66 -66
  347. package/esm2020/services/dom-util.service.mjs +77 -77
  348. package/esm2020/services/edge-detection.service.mjs +178 -178
  349. package/esm2020/services/event-bus.mjs +69 -69
  350. package/esm2020/services/event-bus.service.mjs +47 -47
  351. package/esm2020/services/event-propagation.service.mjs +90 -90
  352. package/esm2020/services/history-storage.mjs +101 -101
  353. package/esm2020/services/list.service.mjs +120 -120
  354. package/esm2020/services/log-service.mjs +118 -118
  355. package/esm2020/services/notification-args.mjs +28 -28
  356. package/esm2020/services/notification-service.mjs +61 -61
  357. package/esm2020/services/position.service.mjs +189 -189
  358. package/esm2020/services/public-api.mjs +40 -40
  359. package/esm2020/services/search.service.mjs +136 -136
  360. package/esm2020/services/tab-navigation.service.mjs +62 -62
  361. package/esm2020/services/theme-switch.service.mjs +146 -146
  362. package/esm2020/services/transient-cache.service.mjs +78 -78
  363. package/esm2020/services/unit-conversion.service.mjs +176 -176
  364. package/esm2020/services/util.service.mjs +329 -329
  365. package/esm2020/services/virtual-viewport-manager.service.mjs +126 -126
  366. package/esm2020/types.mjs +20 -20
  367. package/esm2020/validators/index.mjs +20 -20
  368. package/esm2020/validators/nui-validators.mjs +56 -56
  369. package/fesm2015/nova-ui-bits.mjs +25389 -25386
  370. package/fesm2015/nova-ui-bits.mjs.map +1 -1
  371. package/fesm2020/nova-ui-bits.mjs +25554 -25551
  372. package/fesm2020/nova-ui-bits.mjs.map +1 -1
  373. package/functions/immutable-set.d.ts +8 -8
  374. package/functions/nameof.d.ts +7 -7
  375. package/functions/public-api.d.ts +5 -5
  376. package/functions/remove-errors.d.ts +8 -8
  377. package/functions/traverse.d.ts +3 -3
  378. package/functions/uuid.d.ts +1 -1
  379. package/lib/breadcrumb/breadcrumb-state.service.d.ts +13 -13
  380. package/lib/breadcrumb/breadcrumb.component.d.ts +11 -11
  381. package/lib/breadcrumb/breadcrumb.module.d.ts +12 -12
  382. package/lib/breadcrumb/public-api.d.ts +5 -5
  383. package/lib/busy/busy.component.d.ts +28 -28
  384. package/lib/busy/busy.module.d.ts +12 -12
  385. package/lib/busy/public-api.d.ts +9 -9
  386. package/lib/button/button.component.d.ts +82 -82
  387. package/lib/button/button.module.d.ts +12 -12
  388. package/lib/button/public-api.d.ts +5 -5
  389. package/lib/checkbox/checkbox-group.component.d.ts +50 -50
  390. package/lib/checkbox/checkbox.component.d.ts +96 -96
  391. package/lib/checkbox/checkbox.module.d.ts +12 -12
  392. package/lib/checkbox/public-api.d.ts +20 -20
  393. package/lib/chips/chip/chip.component.d.ts +33 -33
  394. package/lib/chips/chips-overflow/chips-overflow.component.d.ts +17 -17
  395. package/lib/chips/chips-overflow.service.d.ts +31 -31
  396. package/lib/chips/chips.component.d.ts +98 -98
  397. package/lib/chips/chips.module.d.ts +15 -15
  398. package/lib/chips/public-api.d.ts +23 -23
  399. package/lib/content/content.component.d.ts +11 -11
  400. package/lib/content/content.module.d.ts +11 -11
  401. package/lib/convenience/time-frame-bar/time-frame-bar.component.d.ts +67 -67
  402. package/lib/convenience/time-frame-bar/time-frame-bar.module.d.ts +19 -19
  403. package/lib/date-picker/date-picker-day-picker.component.d.ts +18 -18
  404. package/lib/date-picker/date-picker-inner.component.d.ts +74 -74
  405. package/lib/date-picker/date-picker-month-picker.component.d.ts +14 -14
  406. package/lib/date-picker/date-picker-year-picker.component.d.ts +14 -14
  407. package/lib/date-picker/date-picker.component.d.ts +114 -114
  408. package/lib/date-picker/date-picker.module.d.ts +19 -19
  409. package/lib/date-picker/public-api.d.ts +32 -32
  410. package/lib/date-time-picker/date-time-picker.component.d.ts +54 -54
  411. package/lib/date-time-picker/date-time-picker.module.d.ts +13 -13
  412. package/lib/dialog/confirmation-dialog.component.d.ts +26 -26
  413. package/lib/dialog/dialog-backdrop.component.d.ts +8 -8
  414. package/lib/dialog/dialog-footer.component.d.ts +8 -8
  415. package/lib/dialog/dialog-header.component.d.ts +26 -26
  416. package/lib/dialog/dialog-ref.d.ts +27 -27
  417. package/lib/dialog/dialog-stack.service.d.ts +27 -27
  418. package/lib/dialog/dialog.component.d.ts +49 -49
  419. package/lib/dialog/dialog.module.d.ts +18 -18
  420. package/lib/dialog/dialog.service.d.ts +20 -20
  421. package/lib/dialog/public-api.d.ts +69 -69
  422. package/lib/divider/divider.component.d.ts +21 -21
  423. package/lib/divider/divider.module.d.ts +11 -11
  424. package/lib/divider/public-api.d.ts +2 -2
  425. package/lib/dnd/dnd-drop-target.directive.d.ts +22 -22
  426. package/lib/dnd/dnd.module.d.ts +11 -11
  427. package/lib/dnd/public-api.d.ts +2 -2
  428. package/lib/docs/copy-text/copy-text.component.d.ts +12 -12
  429. package/lib/docs/docs.module.d.ts +26 -26
  430. package/lib/docs/example-code/example-code.component.d.ts +46 -46
  431. package/lib/docs/example-wrapper/example-wrapper.component.d.ts +25 -25
  432. package/lib/docs/example-wrapper/plunker-files.d.ts +9 -9
  433. package/lib/docs/example-wrapper/plunker-project.service.d.ts +18 -18
  434. package/lib/docs/public-api.d.ts +1 -1
  435. package/lib/docs/services/sources.service.d.ts +18 -18
  436. package/lib/docs/srlc-indicator/public-api.d.ts +16 -16
  437. package/lib/docs/srlc-indicator/srlc-indicator.component.d.ts +16 -16
  438. package/lib/docs/theme-switcher/theme-switcher.component.d.ts +12 -12
  439. package/lib/dragdrop/dragdrop.module.d.ts +13 -13
  440. package/lib/dragdrop/draggable.component.d.ts +21 -21
  441. package/lib/dragdrop/droppable.component.d.ts +16 -16
  442. package/lib/dragdrop/public-api.d.ts +2 -2
  443. package/lib/expander/expander.component.d.ts +44 -44
  444. package/lib/expander/expander.module.d.ts +12 -12
  445. package/lib/form-field/form-field.component.d.ts +49 -49
  446. package/lib/form-field/form-field.module.d.ts +13 -13
  447. package/lib/form-field/public-api.d.ts +12 -12
  448. package/lib/form-field/touched-changes-helper.d.ts +12 -12
  449. package/lib/icon/icon.component.d.ts +37 -37
  450. package/lib/icon/icon.module.d.ts +11 -11
  451. package/lib/icon/icon.service.d.ts +23 -23
  452. package/lib/icon/icons.d.ts +6 -6
  453. package/lib/icon/public-api.d.ts +1 -1
  454. package/lib/icon/types.d.ts +92 -92
  455. package/lib/image/image.component.d.ts +61 -61
  456. package/lib/image/image.module.d.ts +11 -11
  457. package/lib/image/public-api.d.ts +8 -8
  458. package/lib/layout/card/card.component.d.ts +11 -11
  459. package/lib/layout/card-group/card-group.component.d.ts +11 -11
  460. package/lib/layout/layout-resizer/layout-resizer.component.d.ts +31 -31
  461. package/lib/layout/layout.module.d.ts +12 -12
  462. package/lib/layout/public-api.d.ts +4 -4
  463. package/lib/layout/sheet/sheet.component.d.ts +17 -17
  464. package/lib/layout/sheet-group/sheet-group.component.d.ts +52 -52
  465. package/lib/menu/index.d.ts +9 -9
  466. package/lib/menu/menu/menu.component.d.ts +84 -84
  467. package/lib/menu/menu-item/menu-action/menu-action.component.d.ts +26 -26
  468. package/lib/menu/menu-item/menu-group/menu-group.component.d.ts +8 -8
  469. package/lib/menu/menu-item/menu-item/menu-item-base.d.ts +32 -32
  470. package/lib/menu/menu-item/menu-item/menu-item.component.d.ts +19 -19
  471. package/lib/menu/menu-item/menu-link/menu-link.component.d.ts +31 -31
  472. package/lib/menu/menu-item/menu-option/menu-option.component.d.ts +33 -33
  473. package/lib/menu/menu-item/menu-switch/menu-switch.component.d.ts +26 -26
  474. package/lib/menu/menu-key-control.service.d.ts +42 -42
  475. package/lib/menu/menu-popup/menu-popup.component.d.ts +25 -25
  476. package/lib/menu/menu.module.d.ts +24 -24
  477. package/lib/menu/public-api.d.ts +31 -31
  478. package/lib/message/message.component.d.ts +33 -33
  479. package/lib/message/message.module.d.ts +13 -13
  480. package/lib/overlay/arrow-component/overlay-arrow.component.d.ts +9 -9
  481. package/lib/overlay/constants.d.ts +7 -7
  482. package/lib/overlay/overlay-additions.module.d.ts +11 -11
  483. package/lib/overlay/overlay-component/overlay.component.d.ts +60 -60
  484. package/lib/overlay/overlay-container.service.d.ts +17 -17
  485. package/lib/overlay/overlay-custom-container.d.ts +19 -19
  486. package/lib/overlay/overlay-item/overlay-item.component.d.ts +23 -23
  487. package/lib/overlay/overlay-position.service.d.ts +26 -26
  488. package/lib/overlay/overlay-utilities.service.d.ts +10 -10
  489. package/lib/overlay/overlay.module.d.ts +13 -13
  490. package/lib/overlay/overlay.service.d.ts +36 -36
  491. package/lib/overlay/public-api.d.ts +8 -8
  492. package/lib/overlay/types.d.ts +54 -54
  493. package/lib/paginator/paginator.component.d.ts +164 -164
  494. package/lib/paginator/paginator.module.d.ts +15 -15
  495. package/lib/paginator/public-api.d.ts +11 -11
  496. package/lib/panel/panel.component.d.ts +123 -123
  497. package/lib/panel/panel.module.d.ts +12 -12
  498. package/lib/panel/public-api.d.ts +19 -19
  499. package/lib/popover/popover-modal.component.d.ts +62 -62
  500. package/lib/popover/popover-modal.service.d.ts +45 -45
  501. package/lib/popover/popover-position.service.d.ts +23 -23
  502. package/lib/popover/popover.component.d.ts +150 -150
  503. package/lib/popover/popover.module.d.ts +15 -15
  504. package/lib/popover/public-api.d.ts +12 -12
  505. package/lib/popup/popup-container.component.d.ts +26 -26
  506. package/lib/popup/popup-container.service.d.ts +8 -8
  507. package/lib/popup/popup-toggle.directive.d.ts +15 -15
  508. package/lib/popup/popup.component.d.ts +84 -84
  509. package/lib/popup/popup.module.d.ts +15 -15
  510. package/lib/popup-adapter/popup-adapter.component.d.ts +59 -59
  511. package/lib/popup-adapter/popup-adapter.module.d.ts +12 -12
  512. package/lib/progress/progress.component.d.ts +31 -31
  513. package/lib/progress/progress.module.d.ts +13 -13
  514. package/lib/public-api.d.ts +35 -35
  515. package/lib/radio/radio-group.component.d.ts +96 -96
  516. package/lib/radio/radio.module.d.ts +11 -11
  517. package/lib/repeat/public-api.d.ts +1 -1
  518. package/lib/repeat/repeat-item/repeat-item.component.d.ts +16 -16
  519. package/lib/repeat/repeat.component.d.ts +180 -180
  520. package/lib/repeat/repeat.module.d.ts +16 -16
  521. package/lib/repeat/types.d.ts +31 -31
  522. package/lib/search/search.component.d.ts +62 -62
  523. package/lib/search/search.module.d.ts +14 -14
  524. package/lib/select/base-select.d.ts +104 -104
  525. package/lib/select/combobox/combobox.component.d.ts +70 -70
  526. package/lib/select/index.d.ts +2 -2
  527. package/lib/select/public-api.d.ts +8 -8
  528. package/lib/select/select.component.d.ts +41 -41
  529. package/lib/select/select.module.d.ts +16 -16
  530. package/lib/select-v2/base-select-v2.d.ts +138 -138
  531. package/lib/select-v2/combobox-v2/combobox-v2.component.d.ts +64 -64
  532. package/lib/select-v2/combobox-v2-option-highlight/combobox-v2-option-highlight.directive.d.ts +23 -23
  533. package/lib/select-v2/constants.d.ts +5 -5
  534. package/lib/select-v2/mark-as-selected-item.directive.d.ts +13 -13
  535. package/lib/select-v2/option/select-v2-option.component.d.ts +31 -31
  536. package/lib/select-v2/option-group/select-v2-option-group.component.d.ts +19 -19
  537. package/lib/select-v2/option-key-control.service.d.ts +27 -27
  538. package/lib/select-v2/select/select-v2.component.d.ts +32 -32
  539. package/lib/select-v2/select-v2.module.d.ts +23 -23
  540. package/lib/select-v2/selected-items-key-control.service.d.ts +31 -31
  541. package/lib/select-v2/types.d.ts +11 -11
  542. package/lib/selector/public-api.d.ts +11 -11
  543. package/lib/selector/selector.component.d.ts +54 -54
  544. package/lib/selector/selector.module.d.ts +15 -15
  545. package/lib/selector/selector.service.d.ts +64 -64
  546. package/lib/sorter/constants.d.ts +2 -2
  547. package/lib/sorter/public-api.d.ts +13 -13
  548. package/lib/sorter/sorter-keyboard.service.d.ts +23 -23
  549. package/lib/sorter/sorter.component.d.ts +62 -62
  550. package/lib/sorter/sorter.module.d.ts +14 -14
  551. package/lib/spinner/public-api.d.ts +8 -8
  552. package/lib/spinner/spinner.component.d.ts +41 -41
  553. package/lib/spinner/spinner.module.d.ts +13 -13
  554. package/lib/switch/switch.component.d.ts +25 -25
  555. package/lib/switch/switch.module.d.ts +11 -11
  556. package/lib/tabgroup/tab/tab-heading-custom-template-ref.directive.d.ts +13 -13
  557. package/lib/tabgroup/tab/tab-heading.directive.d.ts +11 -11
  558. package/lib/tabgroup/tab/tab.component.d.ts +25 -25
  559. package/lib/tabgroup/tab-group/tab-group.component.d.ts +37 -37
  560. package/lib/tabgroup/tab-heading/tab-heading.component.d.ts +22 -22
  561. package/lib/tabgroup/tab-heading-group/tab-heading-group.component.d.ts +44 -44
  562. package/lib/tabgroup/tabs.module.d.ts +17 -17
  563. package/lib/table/constants.d.ts +4 -4
  564. package/lib/table/public-api.d.ts +5 -5
  565. package/lib/table/table-cell/table-cell-def.directive.d.ts +12 -12
  566. package/lib/table/table-cell/table-cell.directive.d.ts +30 -30
  567. package/lib/table/table-cell/table-column-def.directive.d.ts +20 -20
  568. package/lib/table/table-cell/table-footer-cell-def.directive.d.ts +12 -12
  569. package/lib/table/table-cell/table-footer-cell.directive.d.ts +11 -11
  570. package/lib/table/table-cell/table-header-cell-def.directive.d.ts +12 -12
  571. package/lib/table/table-cell/table-header-cell.component.d.ts +57 -57
  572. package/lib/table/table-resizer/table-resizer.directive.d.ts +21 -21
  573. package/lib/table/table-row/table-row.component.d.ts +116 -116
  574. package/lib/table/table-state-handler.service.d.ts +272 -272
  575. package/lib/table/table-virtual-scroll/slice-range.pipe.d.ts +10 -10
  576. package/lib/table/table-virtual-scroll/table-sticky-header.directive.d.ts +44 -44
  577. package/lib/table/table-virtual-scroll/table-virtual-scroll-strategy.d.ts +75 -75
  578. package/lib/table/table-virtual-scroll/table-virtual-scroll.directive.d.ts +42 -42
  579. package/lib/table/table.component.d.ts +54 -54
  580. package/lib/table/table.module.d.ts +28 -28
  581. package/lib/table/types.d.ts +8 -8
  582. package/lib/textbox/textbox-number/textbox-number.component.d.ts +88 -88
  583. package/lib/textbox/textbox.component.d.ts +96 -96
  584. package/lib/textbox/textbox.module.d.ts +16 -16
  585. package/lib/time-frame-picker/public-api.d.ts +21 -21
  586. package/lib/time-frame-picker/quick-picker/quick-picker.component.d.ts +22 -22
  587. package/lib/time-frame-picker/services/timeframe.service.d.ts +87 -87
  588. package/lib/time-frame-picker/time-frame-format.pipe.d.ts +30 -30
  589. package/lib/time-frame-picker/time-frame-picker.component.d.ts +37 -37
  590. package/lib/time-frame-picker/time-frame-picker.module.d.ts +15 -15
  591. package/lib/time-picker/time-picker-keyboard.service.d.ts +22 -22
  592. package/lib/time-picker/time-picker.component.d.ts +83 -83
  593. package/lib/time-picker/time-picker.module.d.ts +15 -15
  594. package/lib/toast/public-api.d.ts +123 -123
  595. package/lib/toast/toast-container.service.d.ts +34 -34
  596. package/lib/toast/toast-injector.d.ts +10 -10
  597. package/lib/toast/toast-package.d.ts +22 -22
  598. package/lib/toast/toast-ref.d.ts +30 -30
  599. package/lib/toast/toast.component.d.ts +69 -69
  600. package/lib/toast/toast.directive.d.ts +26 -26
  601. package/lib/toast/toast.module.d.ts +14 -14
  602. package/lib/toast/toast.service.d.ts +77 -77
  603. package/lib/toast/toast.servicebase.d.ts +16 -16
  604. package/lib/toolbar/public-api.d.ts +18 -18
  605. package/lib/toolbar/toolbar-group.component.d.ts +12 -12
  606. package/lib/toolbar/toolbar-item.component.d.ts +22 -22
  607. package/lib/toolbar/toolbar-keyboard.service.d.ts +16 -16
  608. package/lib/toolbar/toolbar-message.component.d.ts +8 -8
  609. package/lib/toolbar/toolbar-splitter.component.d.ts +8 -8
  610. package/lib/toolbar/toolbar.component.d.ts +60 -59
  611. package/lib/toolbar/toolbar.module.d.ts +19 -19
  612. package/lib/tooltip/public-api.d.ts +3 -3
  613. package/lib/tooltip/tooltip.component.d.ts +62 -62
  614. package/lib/tooltip/tooltip.directive.d.ts +60 -60
  615. package/lib/tooltip/tooltip.module.d.ts +13 -13
  616. package/lib/validation-message/custom-validation-message/custom-validation-message.component.d.ts +19 -19
  617. package/lib/validation-message/public-api.d.ts +2 -2
  618. package/lib/validation-message/validation-message.component.d.ts +19 -19
  619. package/lib/validation-message/validation-message.module.d.ts +13 -13
  620. package/lib/wizard/public-api.d.ts +30 -30
  621. package/lib/wizard/wizard-step.component.d.ts +84 -84
  622. package/lib/wizard/wizard.component.d.ts +98 -98
  623. package/lib/wizard/wizard.module.d.ts +16 -16
  624. package/lib/wizard-v2/error-state-matcher.provider.d.ts +7 -7
  625. package/lib/wizard-v2/public-api.d.ts +12 -12
  626. package/lib/wizard-v2/types.d.ts +13 -13
  627. package/lib/wizard-v2/wizard-button/wizard-button.d.ts +18 -18
  628. package/lib/wizard-v2/wizard-footer/wizard-footer.component.d.ts +20 -20
  629. package/lib/wizard-v2/wizard-horizontal/wizard-horizontal.component.d.ts +59 -59
  630. package/lib/wizard-v2/wizard-overflow/wizard-overflow.component.d.ts +13 -13
  631. package/lib/wizard-v2/wizard-step/wizard-step.component.d.ts +29 -29
  632. package/lib/wizard-v2/wizard-step-footer.directive.d.ts +8 -8
  633. package/lib/wizard-v2/wizard-step-header/wizard-step-header.component.d.ts +46 -46
  634. package/lib/wizard-v2/wizard-step-label.directive.d.ts +6 -6
  635. package/lib/wizard-v2/wizard-vertical/wizard-vertical.component.d.ts +18 -18
  636. package/lib/wizard-v2/wizard.directive.d.ts +48 -48
  637. package/lib/wizard-v2/wizard.module.d.ts +23 -23
  638. package/nova-ui-bits.d.ts +5 -5
  639. package/nui-api.d.ts +56 -56
  640. package/package.json +2 -2
  641. package/pipes/highlight.pipe.d.ts +37 -37
  642. package/pipes/limit-to.pipe.d.ts +21 -21
  643. package/pipes/unit-conversion.pipe.d.ts +28 -28
  644. package/public_api.d.ts +160 -160
  645. package/sdk/atoms/atom.d.ts +47 -47
  646. package/sdk/atoms/atom.js +172 -172
  647. package/sdk/atoms/components/breadcrumb/breadcrumb.atom.d.ts +11 -11
  648. package/sdk/atoms/components/breadcrumb/breadcrumb.atom.js +45 -45
  649. package/sdk/atoms/components/busy/busy.atom.d.ts +12 -12
  650. package/sdk/atoms/components/busy/busy.atom.js +40 -40
  651. package/sdk/atoms/components/button/button.atom.d.ts +19 -19
  652. package/sdk/atoms/components/button/button.atom.js +62 -62
  653. package/sdk/atoms/components/checkbox/checkbox.atom.d.ts +30 -30
  654. package/sdk/atoms/components/checkbox/checkbox.atom.js +93 -93
  655. package/sdk/atoms/components/checkbox-group/checkbox-group.atom.d.ts +11 -11
  656. package/sdk/atoms/components/checkbox-group/checkbox-group.atom.js +68 -68
  657. package/sdk/atoms/components/chips/chips.atom.d.ts +32 -32
  658. package/sdk/atoms/components/chips/chips.atom.js +92 -92
  659. package/sdk/atoms/components/combobox/combobox.atom.d.ts +29 -29
  660. package/sdk/atoms/components/combobox/combobox.atom.js +66 -66
  661. package/sdk/atoms/components/combobox-v2/combobox-v2.atom.d.ts +23 -23
  662. package/sdk/atoms/components/combobox-v2/combobox-v2.atom.js +100 -100
  663. package/sdk/atoms/components/content/content.atom.d.ts +6 -6
  664. package/sdk/atoms/components/content/content.atom.js +39 -39
  665. package/sdk/atoms/components/convenience/time-frame-bar/time-frame-bar.atom.d.ts +22 -22
  666. package/sdk/atoms/components/convenience/time-frame-bar/time-frame-bar.atom.js +83 -83
  667. package/sdk/atoms/components/datepicker/datepicker.atom.d.ts +57 -57
  668. package/sdk/atoms/components/datepicker/datepicker.atom.js +194 -194
  669. package/sdk/atoms/components/datetimepicker/datetimepicker.atom.d.ts +9 -9
  670. package/sdk/atoms/components/datetimepicker/datetimepicker.atom.js +42 -42
  671. package/sdk/atoms/components/dialog/dialog.atom.d.ts +18 -18
  672. package/sdk/atoms/components/dialog/dialog.atom.js +76 -76
  673. package/sdk/atoms/components/divider/divider.atom.d.ts +6 -6
  674. package/sdk/atoms/components/divider/divider.atom.js +44 -44
  675. package/sdk/atoms/components/drag-and-drop/cdk-drop-item.atom.d.ts +10 -10
  676. package/sdk/atoms/components/drag-and-drop/cdk-drop-item.atom.js +57 -57
  677. package/sdk/atoms/components/drag-and-drop/cdk-drop-list.atom.d.ts +8 -8
  678. package/sdk/atoms/components/drag-and-drop/cdk-drop-list.atom.js +41 -41
  679. package/sdk/atoms/components/expander/expander.atom.d.ts +19 -19
  680. package/sdk/atoms/components/expander/expander.atom.js +89 -89
  681. package/sdk/atoms/components/form-field/form-field.atom.d.ts +12 -12
  682. package/sdk/atoms/components/form-field/form-field.atom.js +72 -72
  683. package/sdk/atoms/components/icon/icon.atom.d.ts +21 -21
  684. package/sdk/atoms/components/icon/icon.atom.js +90 -90
  685. package/sdk/atoms/components/image/image.atom.d.ts +8 -8
  686. package/sdk/atoms/components/image/image.atom.js +60 -60
  687. package/sdk/atoms/components/layout/index.d.ts +2 -2
  688. package/sdk/atoms/components/layout/index.js +24 -24
  689. package/sdk/atoms/components/layout/layout-sheet-group.atom.d.ts +14 -14
  690. package/sdk/atoms/components/layout/layout-sheet-group.atom.js +90 -90
  691. package/sdk/atoms/components/layout/layout-sheet.atom.d.ts +6 -6
  692. package/sdk/atoms/components/layout/layout-sheet.atom.js +44 -44
  693. package/sdk/atoms/components/menu/menu-item.atom.d.ts +13 -13
  694. package/sdk/atoms/components/menu/menu-item.atom.js +116 -116
  695. package/sdk/atoms/components/menu/menu.atom.d.ts +43 -43
  696. package/sdk/atoms/components/menu/menu.atom.js +115 -115
  697. package/sdk/atoms/components/menu-popup/menu-popup.atom.d.ts +11 -11
  698. package/sdk/atoms/components/menu-popup/menu-popup.atom.js +56 -56
  699. package/sdk/atoms/components/message/message.atom.d.ts +16 -16
  700. package/sdk/atoms/components/message/message.atom.js +50 -50
  701. package/sdk/atoms/components/overlay/overlay.atom.d.ts +11 -11
  702. package/sdk/atoms/components/overlay/overlay.atom.js +40 -40
  703. package/sdk/atoms/components/paginator/paginator.atom.d.ts +29 -29
  704. package/sdk/atoms/components/paginator/paginator.atom.js +198 -198
  705. package/sdk/atoms/components/panel/panel.atom.d.ts +29 -29
  706. package/sdk/atoms/components/panel/panel.atom.js +119 -119
  707. package/sdk/atoms/components/popover/popover.atom.d.ts +28 -28
  708. package/sdk/atoms/components/popover/popover.atom.js +93 -93
  709. package/sdk/atoms/components/popup/overlay-content.atom.d.ts +7 -7
  710. package/sdk/atoms/components/popup/overlay-content.atom.js +34 -34
  711. package/sdk/atoms/components/popup/popup.atom.d.ts +16 -16
  712. package/sdk/atoms/components/popup/popup.atom.js +67 -67
  713. package/sdk/atoms/components/progress/progress.atom.d.ts +14 -14
  714. package/sdk/atoms/components/progress/progress.atom.js +64 -64
  715. package/sdk/atoms/components/public_api.d.ts +54 -54
  716. package/sdk/atoms/components/public_api.js +76 -76
  717. package/sdk/atoms/components/radio-group/radio-group.atom.d.ts +13 -13
  718. package/sdk/atoms/components/radio-group/radio-group.atom.js +75 -75
  719. package/sdk/atoms/components/repeat/repeat.atom.d.ts +27 -27
  720. package/sdk/atoms/components/repeat/repeat.atom.js +122 -122
  721. package/sdk/atoms/components/search/search.atom.d.ts +11 -11
  722. package/sdk/atoms/components/search/search.atom.js +74 -74
  723. package/sdk/atoms/components/select/basic-select.atom.d.ts +21 -21
  724. package/sdk/atoms/components/select/basic-select.atom.js +55 -55
  725. package/sdk/atoms/components/select/select.atom.d.ts +10 -10
  726. package/sdk/atoms/components/select/select.atom.js +36 -36
  727. package/sdk/atoms/components/select-v2/base-select-v2.atom.d.ts +29 -29
  728. package/sdk/atoms/components/select-v2/base-select-v2.atom.js +122 -122
  729. package/sdk/atoms/components/select-v2/select-v2-option.atom.d.ts +7 -7
  730. package/sdk/atoms/components/select-v2/select-v2-option.atom.js +43 -43
  731. package/sdk/atoms/components/select-v2/select-v2.atom.d.ts +5 -5
  732. package/sdk/atoms/components/select-v2/select-v2.atom.js +33 -33
  733. package/sdk/atoms/components/selector/selector.atom.d.ts +17 -17
  734. package/sdk/atoms/components/selector/selector.atom.js +82 -82
  735. package/sdk/atoms/components/selector/selector.e2e.d.ts +6 -6
  736. package/sdk/atoms/components/selector/selector.e2e.js +91 -91
  737. package/sdk/atoms/components/sorter/sorter.atom.d.ts +33 -33
  738. package/sdk/atoms/components/sorter/sorter.atom.js +122 -122
  739. package/sdk/atoms/components/spinner/spinner.atom.d.ts +12 -12
  740. package/sdk/atoms/components/spinner/spinner.atom.js +44 -44
  741. package/sdk/atoms/components/switch/switch.atom.d.ts +14 -14
  742. package/sdk/atoms/components/switch/switch.atom.js +72 -72
  743. package/sdk/atoms/components/tab-heading-group/tab-heading-group.atom.d.ts +16 -16
  744. package/sdk/atoms/components/tab-heading-group/tab-heading-group.atom.js +107 -107
  745. package/sdk/atoms/components/tab-heading-group/tab-heading.atom.d.ts +8 -8
  746. package/sdk/atoms/components/tab-heading-group/tab-heading.atom.js +51 -51
  747. package/sdk/atoms/components/table/table.atom.d.ts +73 -73
  748. package/sdk/atoms/components/table/table.atom.js +209 -209
  749. package/sdk/atoms/components/textbox/textbox.atom.d.ts +22 -22
  750. package/sdk/atoms/components/textbox/textbox.atom.js +58 -58
  751. package/sdk/atoms/components/textbox-number/textbox-number.atom.d.ts +18 -18
  752. package/sdk/atoms/components/textbox-number/textbox-number.atom.js +52 -52
  753. package/sdk/atoms/components/time-frame-picker/quick-picker.atom.d.ts +8 -8
  754. package/sdk/atoms/components/time-frame-picker/quick-picker.atom.js +48 -48
  755. package/sdk/atoms/components/time-frame-picker/time-frame-picker.atom.d.ts +7 -7
  756. package/sdk/atoms/components/time-frame-picker/time-frame-picker.atom.js +35 -35
  757. package/sdk/atoms/components/timepicker/timepicker.atom.d.ts +18 -18
  758. package/sdk/atoms/components/timepicker/timepicker.atom.js +63 -63
  759. package/sdk/atoms/components/toolbar/toolbar.atom.d.ts +18 -18
  760. package/sdk/atoms/components/toolbar/toolbar.atom.js +86 -86
  761. package/sdk/atoms/components/wizard/wizard-step.atom.d.ts +11 -11
  762. package/sdk/atoms/components/wizard/wizard-step.atom.js +51 -51
  763. package/sdk/atoms/components/wizard/wizard.atom.d.ts +22 -22
  764. package/sdk/atoms/components/wizard/wizard.atom.js +90 -90
  765. package/sdk/atoms/directives/public_api.d.ts +3 -3
  766. package/sdk/atoms/directives/public_api.js +25 -25
  767. package/sdk/atoms/directives/resizer/resizer.atom.d.ts +12 -12
  768. package/sdk/atoms/directives/resizer/resizer.atom.js +51 -51
  769. package/sdk/atoms/directives/toast/toast.atom.d.ts +28 -28
  770. package/sdk/atoms/directives/toast/toast.atom.js +66 -66
  771. package/sdk/atoms/directives/tooltip/tooltip.atom.d.ts +9 -9
  772. package/sdk/atoms/directives/tooltip/tooltip.atom.js +37 -37
  773. package/sdk/atoms/helpers.d.ts +37 -37
  774. package/sdk/atoms/helpers.js +215 -265
  775. package/sdk/atoms/helpers.js.map +1 -1
  776. package/sdk/atoms/index.d.ts +5 -5
  777. package/sdk/atoms/index.js +30 -30
  778. package/sdk/atoms/virtual-camera/Camera.d.ts +21 -21
  779. package/sdk/atoms/virtual-camera/Camera.js +53 -53
  780. package/sdk/atoms/virtual-camera/camera-engine.d.ts +13 -13
  781. package/sdk/atoms/virtual-camera/camera-engine.js +80 -81
  782. package/sdk/atoms/virtual-camera/camera-engine.js.map +1 -1
  783. package/sdk/atoms/virtual-camera/camera-settings.d.ts +10 -10
  784. package/sdk/atoms/virtual-camera/camera-settings.js +58 -58
  785. package/sdk/atoms/virtual-camera/camera-toggle.d.ts +7 -7
  786. package/sdk/atoms/virtual-camera/camera-toggle.js +39 -39
  787. package/sdk/atoms/virtual-camera/percy-lens.d.ts +17 -17
  788. package/sdk/atoms/virtual-camera/percy-lens.js +78 -78
  789. package/sdk/atoms/virtual-camera/public_api.d.ts +2 -2
  790. package/sdk/atoms/virtual-camera/public_api.js +24 -24
  791. package/sdk/atoms/virtual-camera/types.d.ts +35 -34
  792. package/sdk/atoms/virtual-camera/types.js +43 -42
  793. package/sdk/atoms/virtual-camera/types.js.map +1 -1
  794. package/sdk/locale/messages.en.xlf +8 -8
  795. package/sdk/schematics/filter-group/index.d.ts +3 -3
  796. package/sdk/schematics/filter-group/index.js +80 -80
  797. package/sdk/schematics/filter-group/index.spec.d.ts +1 -1
  798. package/sdk/schematics/filter-group/index.spec.js +59 -59
  799. package/sdk/schematics/filter-group/schema.d.ts +50 -50
  800. package/sdk/schematics/filter-group/schema.js +21 -21
  801. package/sdk/schematics/filtered-view/index.d.ts +3 -3
  802. package/sdk/schematics/filtered-view/index.js +130 -130
  803. package/sdk/schematics/filtered-view/index.spec.d.ts +1 -1
  804. package/sdk/schematics/filtered-view/index.spec.js +59 -59
  805. package/sdk/schematics/filtered-view/schema.d.ts +87 -87
  806. package/sdk/schematics/filtered-view/schema.js +21 -21
  807. package/sdk/schematics/index.d.ts +1 -1
  808. package/sdk/schematics/index.js +23 -23
  809. package/sdk/schematics/layout/index.d.ts +3 -3
  810. package/sdk/schematics/layout/index.js +88 -88
  811. package/sdk/schematics/layout/index.spec.d.ts +1 -1
  812. package/sdk/schematics/layout/index.spec.js +62 -62
  813. package/sdk/schematics/layout/schema.d.ts +78 -78
  814. package/sdk/schematics/layout/schema.js +21 -21
  815. package/sdk/schematics/list/files/__name@dasherize__.component.ts +320 -320
  816. package/sdk/schematics/list/index.d.ts +3 -3
  817. package/sdk/schematics/list/index.js +128 -128
  818. package/sdk/schematics/list/schema.d.ts +72 -72
  819. package/sdk/schematics/list/schema.js +21 -21
  820. package/sdk/schematics/ng-add/index.d.ts +2 -2
  821. package/sdk/schematics/ng-add/index.js +180 -180
  822. package/sdk/schematics/ng-add/index.spec.d.ts +1 -1
  823. package/sdk/schematics/ng-add/index.spec.js +176 -176
  824. package/sdk/schematics/ng-update/index.d.ts +2 -2
  825. package/sdk/schematics/ng-update/index.js +44 -44
  826. package/sdk/schematics/ng-update/index.spec.d.ts +1 -1
  827. package/sdk/schematics/ng-update/index.spec.js +106 -106
  828. package/sdk/schematics/table/files/__name@dasherize__.component.ts +381 -381
  829. package/sdk/schematics/table/index.d.ts +3 -3
  830. package/sdk/schematics/table/index.js +139 -139
  831. package/sdk/schematics/table/schema.d.ts +72 -72
  832. package/sdk/schematics/table/schema.js +21 -21
  833. package/sdk/schematics/utility/index.d.ts +5 -5
  834. package/sdk/schematics/utility/index.js +27 -27
  835. package/sdk/schematics/utility/json-utils.d.ts +13 -13
  836. package/sdk/schematics/utility/json-utils.js +122 -122
  837. package/sdk/schematics/utility/project-targets.d.ts +10 -10
  838. package/sdk/schematics/utility/project-targets.js +34 -34
  839. package/sdk/schematics/utility/project.d.ts +12 -12
  840. package/sdk/schematics/utility/project.js +47 -47
  841. package/sdk/schematics/utility/schematics-helper.d.ts +18 -18
  842. package/sdk/schematics/utility/schematics-helper.js +179 -179
  843. package/sdk/schematics/utility/schematics-helper.spec.d.ts +1 -1
  844. package/sdk/schematics/utility/schematics-helper.spec.js +51 -51
  845. package/sdk/schematics/utility/workspace.d.ts +10 -10
  846. package/sdk/schematics/utility/workspace.js +46 -46
  847. package/services/content-ref.d.ts +8 -8
  848. package/services/data-filter.service.d.ts +23 -23
  849. package/services/data-source/client-side-data-source.service.d.ts +25 -25
  850. package/services/data-source/data-source-features.d.ts +10 -10
  851. package/services/data-source/data-source.service.d.ts +31 -31
  852. package/services/data-source/local-filtering-data-source.service.d.ts +45 -45
  853. package/services/data-source/noop-data-source.service.d.ts +8 -8
  854. package/services/data-source/public-api.d.ts +137 -137
  855. package/services/data-source/server-side-source.service.d.ts +23 -23
  856. package/services/dom-util.service.d.ts +20 -20
  857. package/services/edge-detection.service.d.ts +32 -32
  858. package/services/event-bus.d.ts +18 -18
  859. package/services/event-bus.service.d.ts +13 -13
  860. package/services/event-propagation.service.d.ts +35 -35
  861. package/services/history-storage.d.ts +47 -47
  862. package/services/list.service.d.ts +41 -41
  863. package/services/log-service.d.ts +48 -48
  864. package/services/notification-args.d.ts +14 -14
  865. package/services/notification-service.d.ts +24 -24
  866. package/services/position.service.d.ts +37 -37
  867. package/services/public-api.d.ts +120 -120
  868. package/services/search.service.d.ts +49 -49
  869. package/services/tab-navigation.service.d.ts +15 -15
  870. package/services/theme-switch.service.d.ts +42 -42
  871. package/services/transient-cache.service.d.ts +18 -18
  872. package/services/unit-conversion.service.d.ts +76 -76
  873. package/services/util.service.d.ts +76 -76
  874. package/services/virtual-viewport-manager.service.d.ts +42 -42
  875. package/types.d.ts +15 -15
  876. package/validators/index.d.ts +1 -1
  877. package/validators/nui-validators.d.ts +20 -20
  878. package/sdk/atoms/virtual-camera/eyes-lens.d.ts +0 -15
  879. package/sdk/atoms/virtual-camera/eyes-lens.js +0 -106
  880. package/sdk/atoms/virtual-camera/eyes-lens.js.map +0 -1
@@ -1,262 +1,262 @@
1
- // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
2
- //
3
- // Permission is hereby granted, free of charge, to any person obtaining a copy
4
- // of this software and associated documentation files (the "Software"), to
5
- // deal in the Software without restriction, including without limitation the
6
- // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
7
- // sell copies of the Software, and to permit persons to whom the Software is
8
- // furnished to do so, subject to the following conditions:
9
- //
10
- // The above copyright notice and this permission notice shall be included in
11
- // all copies or substantial portions of the Software.
12
- //
13
- // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
- // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
- // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
- // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
- // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
- // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
- // THE SOFTWARE.
20
- import { CdkFooterRow, CdkFooterRowDef, CdkHeaderRow, CdkHeaderRowDef, CdkRow, CdkRowDef, } from "@angular/cdk/table";
21
- import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Directive, ElementRef, HostBinding, HostListener, Input, IterableDiffers, TemplateRef, ViewChild, ViewEncapsulation, } from "@angular/core";
22
- import _includes from "lodash/includes";
23
- import { Subject } from "rxjs";
24
- import { takeUntil } from "rxjs/operators";
25
- import { DEFAULT_INTERACTIVE_ELEMENTS } from "../../../constants/interaction.constants";
26
- import { CheckboxStatus } from "../../selector/public-api";
27
- import { TableStateHandlerService } from "../table-state-handler.service";
28
- import * as i0 from "@angular/core";
29
- import * as i1 from "../table-state-handler.service";
30
- import * as i2 from "../../selector/selector.component";
31
- import * as i3 from "@angular/common";
32
- import * as i4 from "../../../common/directives/click-interceptor/click-interceptor.directive";
33
- import * as i5 from "@angular/cdk/table";
34
- import * as i6 from "../../checkbox/checkbox.component";
35
- /* eslint-disable */
36
- /**
37
- * @ignore
38
- */
39
- export class TableHeaderRowDefDirective extends CdkHeaderRowDef {
40
- constructor(template, _differs, tableStateHandlerService) {
41
- super(template, _differs);
42
- this.tableStateHandlerService = tableStateHandlerService;
43
- }
44
- set nuiHeaderRowDef(value) {
45
- this.columns = value ?? [];
46
- }
47
- set nuiHeaderRowDefSticky(value) {
48
- this.sticky = value;
49
- }
50
- ngOnInit() {
51
- this.tableStateHandlerService.tableColumns = Array.from(this.columns);
52
- if (this.tableStateHandlerService.reorderable) {
53
- // reordering columns when drop is fired on column
54
- this.tableColumnsSubscription =
55
- this.tableStateHandlerService.columnsState.subscribe((tableColumns) => {
56
- this.columns = tableColumns;
57
- });
58
- }
59
- }
60
- ngOnChanges(changes) {
61
- super.ngOnChanges(changes);
62
- if (changes.nuiHeaderRowDef) {
63
- this.tableStateHandlerService.tableColumns =
64
- changes.nuiHeaderRowDef.currentValue;
65
- }
66
- }
67
- ngOnDestroy() {
68
- if (this.tableColumnsSubscription) {
69
- this.tableColumnsSubscription.unsubscribe();
70
- }
71
- }
72
- }
73
- TableHeaderRowDefDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TableHeaderRowDefDirective, deps: [{ token: i0.TemplateRef }, { token: i0.IterableDiffers }, { token: i1.TableStateHandlerService }], target: i0.ɵɵFactoryTarget.Directive });
74
- TableHeaderRowDefDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: TableHeaderRowDefDirective, selector: "[nuiHeaderRowDef]", inputs: { nuiHeaderRowDef: "nuiHeaderRowDef", nuiHeaderRowDefSticky: "nuiHeaderRowDefSticky" }, host: { attributes: { "role": "row" } }, providers: [
75
- { provide: CdkHeaderRowDef, useExisting: TableHeaderRowDefDirective },
76
- ], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
77
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TableHeaderRowDefDirective, decorators: [{
78
- type: Directive,
79
- args: [{
80
- selector: "[nuiHeaderRowDef]",
81
- providers: [
82
- { provide: CdkHeaderRowDef, useExisting: TableHeaderRowDefDirective },
83
- ],
84
- host: { role: "row" },
85
- }]
86
- }], ctorParameters: function () { return [{ type: i0.TemplateRef }, { type: i0.IterableDiffers }, { type: i1.TableStateHandlerService }]; }, propDecorators: { nuiHeaderRowDef: [{
87
- type: Input
88
- }], nuiHeaderRowDefSticky: [{
89
- type: Input
90
- }] } });
91
- /**
92
- * @ignore
93
- */
94
- export class TableRowDefDirective extends CdkRowDef {
95
- constructor(template, _differs, tableStateHandlerService) {
96
- super(template, _differs);
97
- this.tableStateHandlerService = tableStateHandlerService;
98
- }
99
- set nuiRowDefColumns(value) {
100
- this.columns = value ?? [];
101
- }
102
- set nuiRowDefWhen(value) {
103
- this.when = value;
104
- }
105
- ngOnInit() {
106
- this.tableStateHandlerService.tableColumns = Array.from(this.columns);
107
- if (this.tableStateHandlerService.reorderable) {
108
- // reordering columns when drop is fired on column
109
- this.tableColumnsSubscription =
110
- this.tableStateHandlerService.columnsState.subscribe((tableColumns) => {
111
- this.columns = tableColumns;
112
- });
113
- }
114
- }
115
- ngOnDestroy() {
116
- if (this.tableColumnsSubscription) {
117
- this.tableColumnsSubscription.unsubscribe();
118
- }
119
- }
120
- }
121
- TableRowDefDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TableRowDefDirective, deps: [{ token: i0.TemplateRef }, { token: i0.IterableDiffers }, { token: i1.TableStateHandlerService }], target: i0.ɵɵFactoryTarget.Directive });
122
- TableRowDefDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: TableRowDefDirective, selector: "[nuiRowDef]", inputs: { nuiRowDefColumns: "nuiRowDefColumns", nuiRowDefWhen: "nuiRowDefWhen" }, providers: [{ provide: CdkRowDef, useExisting: TableRowDefDirective }], usesInheritance: true, ngImport: i0 });
123
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TableRowDefDirective, decorators: [{
124
- type: Directive,
125
- args: [{
126
- selector: "[nuiRowDef]",
127
- providers: [{ provide: CdkRowDef, useExisting: TableRowDefDirective }],
128
- }]
129
- }], ctorParameters: function () { return [{ type: i0.TemplateRef }, { type: i0.IterableDiffers }, { type: i1.TableStateHandlerService }]; }, propDecorators: { nuiRowDefColumns: [{
130
- type: Input
131
- }], nuiRowDefWhen: [{
132
- type: Input
133
- }] } });
134
- /**
135
- * @ignore
136
- */
137
- export class TableFooterRowDefDirective extends CdkFooterRowDef {
138
- constructor(template, _differs, tableStateHandlerService) {
139
- super(template, _differs);
140
- this.tableStateHandlerService = tableStateHandlerService;
141
- }
142
- set nuiFooterRowDef(value) {
143
- this.columns = value ?? [];
144
- }
145
- set nuiFooterRowDefSticky(value) {
146
- this.sticky = value;
147
- }
148
- ngOnInit() {
149
- this.tableStateHandlerService.tableColumns = Array.from(this.columns);
150
- if (this.tableStateHandlerService.reorderable) {
151
- // reordering columns when drop is fired on column
152
- this.tableColumnsSubscription =
153
- this.tableStateHandlerService.columnsState.subscribe((tableColumns) => {
154
- this.columns = tableColumns;
155
- });
156
- }
157
- }
158
- ngOnDestroy() {
159
- if (this.tableColumnsSubscription) {
160
- this.tableColumnsSubscription.unsubscribe();
161
- }
162
- }
163
- }
164
- TableFooterRowDefDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TableFooterRowDefDirective, deps: [{ token: i0.TemplateRef }, { token: i0.IterableDiffers }, { token: i1.TableStateHandlerService }], target: i0.ɵɵFactoryTarget.Directive });
165
- TableFooterRowDefDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: TableFooterRowDefDirective, selector: "[nuiFooterRowDef]", inputs: { nuiFooterRowDef: "nuiFooterRowDef", nuiFooterRowDefSticky: "nuiFooterRowDefSticky" }, providers: [
166
- { provide: CdkFooterRowDef, useExisting: TableFooterRowDefDirective },
167
- ], usesInheritance: true, ngImport: i0 });
168
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TableFooterRowDefDirective, decorators: [{
169
- type: Directive,
170
- args: [{
171
- selector: "[nuiFooterRowDef]",
172
- providers: [
173
- { provide: CdkFooterRowDef, useExisting: TableFooterRowDefDirective },
174
- ],
175
- }]
176
- }], ctorParameters: function () { return [{ type: i0.TemplateRef }, { type: i0.IterableDiffers }, { type: i1.TableStateHandlerService }]; }, propDecorators: { nuiFooterRowDef: [{
177
- type: Input
178
- }], nuiFooterRowDefSticky: [{
179
- type: Input
180
- }] } });
181
- /**
182
- * @ignore
183
- */
184
- export class TableHeaderRowComponent extends CdkHeaderRow {
185
- constructor(tableStateHandlerService, changeDetectorRef) {
186
- super();
187
- this.tableStateHandlerService = tableStateHandlerService;
188
- this.changeDetectorRef = changeDetectorRef;
189
- this.density = "default";
190
- this.selectorState = {
191
- checkboxStatus: CheckboxStatus.Unchecked,
192
- selectorItems: [],
193
- };
194
- this.selectable = this.tableStateHandlerService.selectable;
195
- this.onDestroy$ = new Subject();
196
- }
197
- get isDensityDefault() {
198
- return this.density.toLowerCase() === "default";
199
- }
200
- get isDensityCompact() {
201
- return this.density.toLowerCase() === "compact";
202
- }
203
- get isDensityTiny() {
204
- return this.density.toLowerCase() === "tiny";
205
- }
206
- get hasOptions() {
207
- return this.selectorState.selectorItems.length > 0;
208
- }
209
- ngOnInit() {
210
- if (this.tableStateHandlerService.selectable) {
211
- this.selectorState =
212
- this.tableStateHandlerService.getSelectorState();
213
- this.updateSelectorState();
214
- }
215
- // if dataSource changes we need to update selector state
216
- this.dataSourceChangeSubscription =
217
- this.tableStateHandlerService.dataSourceChanged
218
- .pipe(takeUntil(this.onDestroy$))
219
- .subscribe(() => {
220
- this.updateSelectorState();
221
- });
222
- // when single row is selected we need to update selector state
223
- // we also need to detect changes for selector state
224
- this.selectionChangeSubscription =
225
- this.tableStateHandlerService.selectionChanged
226
- .pipe(takeUntil(this.onDestroy$))
227
- .subscribe(() => {
228
- this.updateSelectorState();
229
- });
230
- this.tableStateHandlerService.selectableChanged
231
- .pipe(takeUntil(this.onDestroy$))
232
- .subscribe((selectable) => {
233
- this.selectable = selectable;
234
- this.changeDetectorRef.markForCheck();
235
- });
236
- }
237
- ngAfterViewInit() {
238
- if (this.tableStateHandlerService.selectable) {
239
- this.tableStateHandlerService.applyStickyStyles();
240
- }
241
- }
242
- onSelectorChange(selectorValue) {
243
- this.tableStateHandlerService.selection =
244
- this.tableStateHandlerService.applySelector(selectorValue);
245
- this.updateSelectorState();
246
- this.tableStateHandlerService.selectionChanged.next(this.tableStateHandlerService.selection);
247
- }
248
- updateSelectorState() {
249
- this.selectorState = this.tableStateHandlerService.getSelectorState();
250
- this.changeDetectorRef.detectChanges();
251
- }
252
- ngOnDestroy() {
253
- this.onDestroy$.next();
254
- this.onDestroy$.complete();
255
- }
256
- }
257
- TableHeaderRowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TableHeaderRowComponent, deps: [{ token: i1.TableStateHandlerService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
258
- TableHeaderRowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TableHeaderRowComponent, selector: "nui-header-row, tr[nui-header-row]", inputs: { density: "density" }, host: { attributes: { "role": "row" }, properties: { "class.nui-table__table-header-row_height_default": "this.isDensityDefault", "class.nui-table__table-header-row_height_compact": "this.isDensityCompact", "class.nui-table__table-header-row_height_tiny": "this.isDensityTiny" }, classAttribute: "nui-table__table-header-row" }, providers: [
259
- { provide: CdkHeaderRow, useExisting: TableHeaderRowComponent },
1
+ // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
2
+ //
3
+ // Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ // of this software and associated documentation files (the "Software"), to
5
+ // deal in the Software without restriction, including without limitation the
6
+ // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
7
+ // sell copies of the Software, and to permit persons to whom the Software is
8
+ // furnished to do so, subject to the following conditions:
9
+ //
10
+ // The above copyright notice and this permission notice shall be included in
11
+ // all copies or substantial portions of the Software.
12
+ //
13
+ // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
+ // THE SOFTWARE.
20
+ import { CdkFooterRow, CdkFooterRowDef, CdkHeaderRow, CdkHeaderRowDef, CdkRow, CdkRowDef, } from "@angular/cdk/table";
21
+ import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Directive, ElementRef, HostBinding, HostListener, Input, IterableDiffers, TemplateRef, ViewChild, ViewEncapsulation, } from "@angular/core";
22
+ import _includes from "lodash/includes";
23
+ import { Subject } from "rxjs";
24
+ import { takeUntil } from "rxjs/operators";
25
+ import { DEFAULT_INTERACTIVE_ELEMENTS } from "../../../constants/interaction.constants";
26
+ import { CheckboxStatus } from "../../selector/public-api";
27
+ import { TableStateHandlerService } from "../table-state-handler.service";
28
+ import * as i0 from "@angular/core";
29
+ import * as i1 from "../table-state-handler.service";
30
+ import * as i2 from "../../selector/selector.component";
31
+ import * as i3 from "@angular/common";
32
+ import * as i4 from "../../../common/directives/click-interceptor/click-interceptor.directive";
33
+ import * as i5 from "@angular/cdk/table";
34
+ import * as i6 from "../../checkbox/checkbox.component";
35
+ /* eslint-disable */
36
+ /**
37
+ * @ignore
38
+ */
39
+ export class TableHeaderRowDefDirective extends CdkHeaderRowDef {
40
+ constructor(template, _differs, tableStateHandlerService) {
41
+ super(template, _differs);
42
+ this.tableStateHandlerService = tableStateHandlerService;
43
+ }
44
+ set nuiHeaderRowDef(value) {
45
+ this.columns = value ?? [];
46
+ }
47
+ set nuiHeaderRowDefSticky(value) {
48
+ this.sticky = value;
49
+ }
50
+ ngOnInit() {
51
+ this.tableStateHandlerService.tableColumns = Array.from(this.columns);
52
+ if (this.tableStateHandlerService.reorderable) {
53
+ // reordering columns when drop is fired on column
54
+ this.tableColumnsSubscription =
55
+ this.tableStateHandlerService.columnsState.subscribe((tableColumns) => {
56
+ this.columns = tableColumns;
57
+ });
58
+ }
59
+ }
60
+ ngOnChanges(changes) {
61
+ super.ngOnChanges(changes);
62
+ if (changes.nuiHeaderRowDef) {
63
+ this.tableStateHandlerService.tableColumns =
64
+ changes.nuiHeaderRowDef.currentValue;
65
+ }
66
+ }
67
+ ngOnDestroy() {
68
+ if (this.tableColumnsSubscription) {
69
+ this.tableColumnsSubscription.unsubscribe();
70
+ }
71
+ }
72
+ }
73
+ TableHeaderRowDefDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TableHeaderRowDefDirective, deps: [{ token: i0.TemplateRef }, { token: i0.IterableDiffers }, { token: i1.TableStateHandlerService }], target: i0.ɵɵFactoryTarget.Directive });
74
+ TableHeaderRowDefDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: TableHeaderRowDefDirective, selector: "[nuiHeaderRowDef]", inputs: { nuiHeaderRowDef: "nuiHeaderRowDef", nuiHeaderRowDefSticky: "nuiHeaderRowDefSticky" }, host: { attributes: { "role": "row" } }, providers: [
75
+ { provide: CdkHeaderRowDef, useExisting: TableHeaderRowDefDirective },
76
+ ], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
77
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TableHeaderRowDefDirective, decorators: [{
78
+ type: Directive,
79
+ args: [{
80
+ selector: "[nuiHeaderRowDef]",
81
+ providers: [
82
+ { provide: CdkHeaderRowDef, useExisting: TableHeaderRowDefDirective },
83
+ ],
84
+ host: { role: "row" },
85
+ }]
86
+ }], ctorParameters: function () { return [{ type: i0.TemplateRef }, { type: i0.IterableDiffers }, { type: i1.TableStateHandlerService }]; }, propDecorators: { nuiHeaderRowDef: [{
87
+ type: Input
88
+ }], nuiHeaderRowDefSticky: [{
89
+ type: Input
90
+ }] } });
91
+ /**
92
+ * @ignore
93
+ */
94
+ export class TableRowDefDirective extends CdkRowDef {
95
+ constructor(template, _differs, tableStateHandlerService) {
96
+ super(template, _differs);
97
+ this.tableStateHandlerService = tableStateHandlerService;
98
+ }
99
+ set nuiRowDefColumns(value) {
100
+ this.columns = value ?? [];
101
+ }
102
+ set nuiRowDefWhen(value) {
103
+ this.when = value;
104
+ }
105
+ ngOnInit() {
106
+ this.tableStateHandlerService.tableColumns = Array.from(this.columns);
107
+ if (this.tableStateHandlerService.reorderable) {
108
+ // reordering columns when drop is fired on column
109
+ this.tableColumnsSubscription =
110
+ this.tableStateHandlerService.columnsState.subscribe((tableColumns) => {
111
+ this.columns = tableColumns;
112
+ });
113
+ }
114
+ }
115
+ ngOnDestroy() {
116
+ if (this.tableColumnsSubscription) {
117
+ this.tableColumnsSubscription.unsubscribe();
118
+ }
119
+ }
120
+ }
121
+ TableRowDefDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TableRowDefDirective, deps: [{ token: i0.TemplateRef }, { token: i0.IterableDiffers }, { token: i1.TableStateHandlerService }], target: i0.ɵɵFactoryTarget.Directive });
122
+ TableRowDefDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: TableRowDefDirective, selector: "[nuiRowDef]", inputs: { nuiRowDefColumns: "nuiRowDefColumns", nuiRowDefWhen: "nuiRowDefWhen" }, providers: [{ provide: CdkRowDef, useExisting: TableRowDefDirective }], usesInheritance: true, ngImport: i0 });
123
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TableRowDefDirective, decorators: [{
124
+ type: Directive,
125
+ args: [{
126
+ selector: "[nuiRowDef]",
127
+ providers: [{ provide: CdkRowDef, useExisting: TableRowDefDirective }],
128
+ }]
129
+ }], ctorParameters: function () { return [{ type: i0.TemplateRef }, { type: i0.IterableDiffers }, { type: i1.TableStateHandlerService }]; }, propDecorators: { nuiRowDefColumns: [{
130
+ type: Input
131
+ }], nuiRowDefWhen: [{
132
+ type: Input
133
+ }] } });
134
+ /**
135
+ * @ignore
136
+ */
137
+ export class TableFooterRowDefDirective extends CdkFooterRowDef {
138
+ constructor(template, _differs, tableStateHandlerService) {
139
+ super(template, _differs);
140
+ this.tableStateHandlerService = tableStateHandlerService;
141
+ }
142
+ set nuiFooterRowDef(value) {
143
+ this.columns = value ?? [];
144
+ }
145
+ set nuiFooterRowDefSticky(value) {
146
+ this.sticky = value;
147
+ }
148
+ ngOnInit() {
149
+ this.tableStateHandlerService.tableColumns = Array.from(this.columns);
150
+ if (this.tableStateHandlerService.reorderable) {
151
+ // reordering columns when drop is fired on column
152
+ this.tableColumnsSubscription =
153
+ this.tableStateHandlerService.columnsState.subscribe((tableColumns) => {
154
+ this.columns = tableColumns;
155
+ });
156
+ }
157
+ }
158
+ ngOnDestroy() {
159
+ if (this.tableColumnsSubscription) {
160
+ this.tableColumnsSubscription.unsubscribe();
161
+ }
162
+ }
163
+ }
164
+ TableFooterRowDefDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TableFooterRowDefDirective, deps: [{ token: i0.TemplateRef }, { token: i0.IterableDiffers }, { token: i1.TableStateHandlerService }], target: i0.ɵɵFactoryTarget.Directive });
165
+ TableFooterRowDefDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: TableFooterRowDefDirective, selector: "[nuiFooterRowDef]", inputs: { nuiFooterRowDef: "nuiFooterRowDef", nuiFooterRowDefSticky: "nuiFooterRowDefSticky" }, providers: [
166
+ { provide: CdkFooterRowDef, useExisting: TableFooterRowDefDirective },
167
+ ], usesInheritance: true, ngImport: i0 });
168
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TableFooterRowDefDirective, decorators: [{
169
+ type: Directive,
170
+ args: [{
171
+ selector: "[nuiFooterRowDef]",
172
+ providers: [
173
+ { provide: CdkFooterRowDef, useExisting: TableFooterRowDefDirective },
174
+ ],
175
+ }]
176
+ }], ctorParameters: function () { return [{ type: i0.TemplateRef }, { type: i0.IterableDiffers }, { type: i1.TableStateHandlerService }]; }, propDecorators: { nuiFooterRowDef: [{
177
+ type: Input
178
+ }], nuiFooterRowDefSticky: [{
179
+ type: Input
180
+ }] } });
181
+ /**
182
+ * @ignore
183
+ */
184
+ export class TableHeaderRowComponent extends CdkHeaderRow {
185
+ constructor(tableStateHandlerService, changeDetectorRef) {
186
+ super();
187
+ this.tableStateHandlerService = tableStateHandlerService;
188
+ this.changeDetectorRef = changeDetectorRef;
189
+ this.density = "default";
190
+ this.selectorState = {
191
+ checkboxStatus: CheckboxStatus.Unchecked,
192
+ selectorItems: [],
193
+ };
194
+ this.selectable = this.tableStateHandlerService.selectable;
195
+ this.onDestroy$ = new Subject();
196
+ }
197
+ get isDensityDefault() {
198
+ return this.density.toLowerCase() === "default";
199
+ }
200
+ get isDensityCompact() {
201
+ return this.density.toLowerCase() === "compact";
202
+ }
203
+ get isDensityTiny() {
204
+ return this.density.toLowerCase() === "tiny";
205
+ }
206
+ get hasOptions() {
207
+ return this.selectorState.selectorItems.length > 0;
208
+ }
209
+ ngOnInit() {
210
+ if (this.tableStateHandlerService.selectable) {
211
+ this.selectorState =
212
+ this.tableStateHandlerService.getSelectorState();
213
+ this.updateSelectorState();
214
+ }
215
+ // if dataSource changes we need to update selector state
216
+ this.dataSourceChangeSubscription =
217
+ this.tableStateHandlerService.dataSourceChanged
218
+ .pipe(takeUntil(this.onDestroy$))
219
+ .subscribe(() => {
220
+ this.updateSelectorState();
221
+ });
222
+ // when single row is selected we need to update selector state
223
+ // we also need to detect changes for selector state
224
+ this.selectionChangeSubscription =
225
+ this.tableStateHandlerService.selectionChanged
226
+ .pipe(takeUntil(this.onDestroy$))
227
+ .subscribe(() => {
228
+ this.updateSelectorState();
229
+ });
230
+ this.tableStateHandlerService.selectableChanged
231
+ .pipe(takeUntil(this.onDestroy$))
232
+ .subscribe((selectable) => {
233
+ this.selectable = selectable;
234
+ this.changeDetectorRef.markForCheck();
235
+ });
236
+ }
237
+ ngAfterViewInit() {
238
+ if (this.tableStateHandlerService.selectable) {
239
+ this.tableStateHandlerService.applyStickyStyles();
240
+ }
241
+ }
242
+ onSelectorChange(selectorValue) {
243
+ this.tableStateHandlerService.selection =
244
+ this.tableStateHandlerService.applySelector(selectorValue);
245
+ this.updateSelectorState();
246
+ this.tableStateHandlerService.selectionChanged.next(this.tableStateHandlerService.selection);
247
+ }
248
+ updateSelectorState() {
249
+ this.selectorState = this.tableStateHandlerService.getSelectorState();
250
+ this.changeDetectorRef.detectChanges();
251
+ }
252
+ ngOnDestroy() {
253
+ this.onDestroy$.next();
254
+ this.onDestroy$.complete();
255
+ }
256
+ }
257
+ TableHeaderRowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TableHeaderRowComponent, deps: [{ token: i1.TableStateHandlerService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
258
+ TableHeaderRowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TableHeaderRowComponent, selector: "nui-header-row, tr[nui-header-row]", inputs: { density: "density" }, host: { attributes: { "role": "row" }, properties: { "class.nui-table__table-header-row_height_default": "this.isDensityDefault", "class.nui-table__table-header-row_height_compact": "this.isDensityCompact", "class.nui-table__table-header-row_height_tiny": "this.isDensityTiny" }, classAttribute: "nui-table__table-header-row" }, providers: [
259
+ { provide: CdkHeaderRow, useExisting: TableHeaderRowComponent },
260
260
  ], exportAs: ["nuiHeaderRow"], usesInheritance: true, ngImport: i0, template: ` <th
261
261
  *ngIf="selectable"
262
262
  nuiClickInterceptor
@@ -273,10 +273,10 @@ TableHeaderRowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
273
273
  >
274
274
  </nui-selector>
275
275
  </th>
276
- <ng-container cdkCellOutlet></ng-container>`, isInline: true, components: [{ type: i2.SelectorComponent, selector: "nui-selector", inputs: ["checkboxStatus", "items", "appendToBody", "ariaLabel"], outputs: ["selectionChange"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.ClickInterceptorDirective, selector: "[nuiClickInterceptor]" }, { type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i5.CdkCellOutlet, selector: "[cdkCellOutlet]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
277
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TableHeaderRowComponent, decorators: [{
278
- type: Component,
279
- args: [{
276
+ <ng-container cdkCellOutlet></ng-container>`, isInline: true, components: [{ type: i2.SelectorComponent, selector: "nui-selector", inputs: ["checkboxStatus", "items", "appendToBody", "ariaLabel"], outputs: ["selectionChange"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.ClickInterceptorDirective, selector: "[nuiClickInterceptor]" }, { type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i5.CdkCellOutlet, selector: "[cdkCellOutlet]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
277
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TableHeaderRowComponent, decorators: [{
278
+ type: Component,
279
+ args: [{
280
280
  template: ` <th
281
281
  *ngIf="selectable"
282
282
  nuiClickInterceptor
@@ -293,128 +293,128 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
293
293
  >
294
294
  </nui-selector>
295
295
  </th>
296
- <ng-container cdkCellOutlet></ng-container>`,
297
- host: {
298
- role: "row",
299
- class: "nui-table__table-header-row",
300
- },
301
- selector: "nui-header-row, tr[nui-header-row]",
302
- encapsulation: ViewEncapsulation.None,
303
- changeDetection: ChangeDetectionStrategy.OnPush,
304
- exportAs: "nuiHeaderRow",
305
- providers: [
306
- { provide: CdkHeaderRow, useExisting: TableHeaderRowComponent },
307
- ],
308
- }]
309
- }], ctorParameters: function () { return [{ type: i1.TableStateHandlerService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { density: [{
310
- type: Input
311
- }], isDensityDefault: [{
312
- type: HostBinding,
313
- args: ["class.nui-table__table-header-row_height_default"]
314
- }], isDensityCompact: [{
315
- type: HostBinding,
316
- args: ["class.nui-table__table-header-row_height_compact"]
317
- }], isDensityTiny: [{
318
- type: HostBinding,
319
- args: ["class.nui-table__table-header-row_height_tiny"]
320
- }] } });
321
- /**
322
- * @ignore
323
- */
324
- /** Data row template container that contains the cell outlet. Adds the right class and role. */
325
- export class TableRowComponent extends CdkRow {
326
- constructor(elementRef, tableStateHandlerService, changeDetectorRef) {
327
- super();
328
- this.elementRef = elementRef;
329
- this.tableStateHandlerService = tableStateHandlerService;
330
- this.changeDetectorRef = changeDetectorRef;
331
- this.density = "default";
332
- this.clickableRow = false;
333
- this.clickableRowConfig = {
334
- clickableSelectors: ["nui-row", "tr[nui-row]"],
335
- ignoredSelectors: DEFAULT_INTERACTIVE_ELEMENTS,
336
- };
337
- this.selectable = this.tableStateHandlerService.selectable;
338
- this.onDestroy$ = new Subject();
339
- }
340
- get isSelected() {
341
- return this.isRowSelected();
342
- }
343
- get isDensityDefault() {
344
- return this.density.toLowerCase() === "default";
345
- }
346
- get isDensityCompact() {
347
- return this.density.toLowerCase() === "compact";
348
- }
349
- get isDensityTiny() {
350
- return this.density.toLowerCase() === "tiny";
351
- }
352
- ngOnInit() {
353
- const rowHeightClass = `nui-table__table-row_height_${this.density.toLowerCase()}`;
354
- this.elementRef.nativeElement.classList.add(rowHeightClass);
355
- // when selection changes we need to detect changes to check check-boxes
356
- this.selectionChangeSubscription =
357
- this.tableStateHandlerService.selectionChanged
358
- .pipe(takeUntil(this.onDestroy$))
359
- .subscribe(() => {
360
- this.changeDetectorRef.detectChanges();
361
- });
362
- this.tableStateHandlerService.selectableChanged
363
- .pipe(takeUntil(this.onDestroy$))
364
- .subscribe((selectable) => {
365
- this.selectable = selectable;
366
- this.changeDetectorRef.markForCheck();
367
- });
368
- }
369
- rowClickHandler(target) {
370
- if (!this.tableStateHandlerService.selectable ||
371
- !this.clickableRow ||
372
- !this.clickableRowConfig.clickableSelectors.length) {
373
- return;
374
- }
375
- const closestTableRow = target.closest(this.clickableRowConfig.clickableSelectors.join(","));
376
- if (!closestTableRow) {
377
- return;
378
- }
379
- if (this.clickableRowConfig.ignoredSelectors.length &&
380
- target.closest(this.clickableRowConfig.ignoredSelectors.join(","))) {
381
- return;
382
- }
383
- const rowSelectCheckbox = closestTableRow.querySelector("nui-checkbox");
384
- if (rowSelectCheckbox === this.rowSelectionCheckbox.nativeElement) {
385
- this.checkboxClicked();
386
- }
387
- }
388
- checkboxClicked() {
389
- this.tableStateHandlerService.handleRowCheckbox(this.rowObject);
390
- }
391
- /**
392
- * We need to stop propagation of the checkbox click to prevent the row click handler from invoking the checkbox toggle functionality again
393
- */
394
- stopPropagation(event) {
395
- event.stopPropagation();
396
- }
397
- isRowSelected() {
398
- const rowObjectTrackBy = this.tableStateHandlerService.trackBy(0, this.rowObject);
399
- const includedRows = this.tableStateHandlerService.selection.include;
400
- const excludedRows = this.tableStateHandlerService.selection.exclude;
401
- if (this.tableStateHandlerService.selection.isAllPages) {
402
- // case when we unselect one page by checkbox
403
- if (this.tableStateHandlerService.selection.exclude.length > 0) {
404
- return !_includes(excludedRows, rowObjectTrackBy);
405
- }
406
- return true;
407
- }
408
- return includedRows.length > 0
409
- ? _includes(includedRows, rowObjectTrackBy)
410
- : false;
411
- }
412
- ngOnDestroy() {
413
- this.onDestroy$.next();
414
- this.onDestroy$.complete();
415
- }
416
- }
417
- TableRowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TableRowComponent, deps: [{ token: i0.ElementRef }, { token: i1.TableStateHandlerService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
296
+ <ng-container cdkCellOutlet></ng-container>`,
297
+ host: {
298
+ role: "row",
299
+ class: "nui-table__table-header-row",
300
+ },
301
+ selector: "nui-header-row, tr[nui-header-row]",
302
+ encapsulation: ViewEncapsulation.None,
303
+ changeDetection: ChangeDetectionStrategy.OnPush,
304
+ exportAs: "nuiHeaderRow",
305
+ providers: [
306
+ { provide: CdkHeaderRow, useExisting: TableHeaderRowComponent },
307
+ ],
308
+ }]
309
+ }], ctorParameters: function () { return [{ type: i1.TableStateHandlerService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { density: [{
310
+ type: Input
311
+ }], isDensityDefault: [{
312
+ type: HostBinding,
313
+ args: ["class.nui-table__table-header-row_height_default"]
314
+ }], isDensityCompact: [{
315
+ type: HostBinding,
316
+ args: ["class.nui-table__table-header-row_height_compact"]
317
+ }], isDensityTiny: [{
318
+ type: HostBinding,
319
+ args: ["class.nui-table__table-header-row_height_tiny"]
320
+ }] } });
321
+ /**
322
+ * @ignore
323
+ */
324
+ /** Data row template container that contains the cell outlet. Adds the right class and role. */
325
+ export class TableRowComponent extends CdkRow {
326
+ constructor(elementRef, tableStateHandlerService, changeDetectorRef) {
327
+ super();
328
+ this.elementRef = elementRef;
329
+ this.tableStateHandlerService = tableStateHandlerService;
330
+ this.changeDetectorRef = changeDetectorRef;
331
+ this.density = "default";
332
+ this.clickableRow = false;
333
+ this.clickableRowConfig = {
334
+ clickableSelectors: ["nui-row", "tr[nui-row]"],
335
+ ignoredSelectors: DEFAULT_INTERACTIVE_ELEMENTS,
336
+ };
337
+ this.selectable = this.tableStateHandlerService.selectable;
338
+ this.onDestroy$ = new Subject();
339
+ }
340
+ get isSelected() {
341
+ return this.isRowSelected();
342
+ }
343
+ get isDensityDefault() {
344
+ return this.density.toLowerCase() === "default";
345
+ }
346
+ get isDensityCompact() {
347
+ return this.density.toLowerCase() === "compact";
348
+ }
349
+ get isDensityTiny() {
350
+ return this.density.toLowerCase() === "tiny";
351
+ }
352
+ ngOnInit() {
353
+ const rowHeightClass = `nui-table__table-row_height_${this.density.toLowerCase()}`;
354
+ this.elementRef.nativeElement.classList.add(rowHeightClass);
355
+ // when selection changes we need to detect changes to check check-boxes
356
+ this.selectionChangeSubscription =
357
+ this.tableStateHandlerService.selectionChanged
358
+ .pipe(takeUntil(this.onDestroy$))
359
+ .subscribe(() => {
360
+ this.changeDetectorRef.detectChanges();
361
+ });
362
+ this.tableStateHandlerService.selectableChanged
363
+ .pipe(takeUntil(this.onDestroy$))
364
+ .subscribe((selectable) => {
365
+ this.selectable = selectable;
366
+ this.changeDetectorRef.markForCheck();
367
+ });
368
+ }
369
+ rowClickHandler(target) {
370
+ if (!this.tableStateHandlerService.selectable ||
371
+ !this.clickableRow ||
372
+ !this.clickableRowConfig.clickableSelectors.length) {
373
+ return;
374
+ }
375
+ const closestTableRow = target.closest(this.clickableRowConfig.clickableSelectors.join(","));
376
+ if (!closestTableRow) {
377
+ return;
378
+ }
379
+ if (this.clickableRowConfig.ignoredSelectors.length &&
380
+ target.closest(this.clickableRowConfig.ignoredSelectors.join(","))) {
381
+ return;
382
+ }
383
+ const rowSelectCheckbox = closestTableRow.querySelector("nui-checkbox");
384
+ if (rowSelectCheckbox === this.rowSelectionCheckbox.nativeElement) {
385
+ this.checkboxClicked();
386
+ }
387
+ }
388
+ checkboxClicked() {
389
+ this.tableStateHandlerService.handleRowCheckbox(this.rowObject);
390
+ }
391
+ /**
392
+ * We need to stop propagation of the checkbox click to prevent the row click handler from invoking the checkbox toggle functionality again
393
+ */
394
+ stopPropagation(event) {
395
+ event.stopPropagation();
396
+ }
397
+ isRowSelected() {
398
+ const rowObjectTrackBy = this.tableStateHandlerService.trackBy(0, this.rowObject);
399
+ const includedRows = this.tableStateHandlerService.selection.include;
400
+ const excludedRows = this.tableStateHandlerService.selection.exclude;
401
+ if (this.tableStateHandlerService.selection.isAllPages) {
402
+ // case when we unselect one page by checkbox
403
+ if (this.tableStateHandlerService.selection.exclude.length > 0) {
404
+ return !_includes(excludedRows, rowObjectTrackBy);
405
+ }
406
+ return true;
407
+ }
408
+ return includedRows.length > 0
409
+ ? _includes(includedRows, rowObjectTrackBy)
410
+ : false;
411
+ }
412
+ ngOnDestroy() {
413
+ this.onDestroy$.next();
414
+ this.onDestroy$.complete();
415
+ }
416
+ }
417
+ TableRowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TableRowComponent, deps: [{ token: i0.ElementRef }, { token: i1.TableStateHandlerService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
418
418
  TableRowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TableRowComponent, selector: "nui-row, tr[nui-row]", inputs: { density: "density", rowObject: "rowObject", clickableRow: "clickableRow", clickableRowConfig: "clickableRowConfig" }, host: { attributes: { "role": "row" }, listeners: { "click": "rowClickHandler($event.target)" }, properties: { "class.nui-table__table-row--clickable": "this.clickableRow", "class.nui-table__table-row--selected": "this.isSelected", "class.nui-table__table-row_height_default": "this.isDensityDefault", "class.nui-table__table-row_height_compact": "this.isDensityCompact", "class.nui-table__table-row_height_tiny": "this.isDensityTiny" }, classAttribute: "nui-table__table-row" }, providers: [{ provide: CdkRow, useExisting: TableRowComponent }], viewQueries: [{ propertyName: "rowSelectionCheckbox", first: true, predicate: ["rowSelectionCheckbox"], descendants: true, read: ElementRef }], exportAs: ["nuiRow"], usesInheritance: true, ngImport: i0, template: ` <td
419
419
  *ngIf="selectable"
420
420
  class="nui-table__table-cell nui-table__table-cell--selectable"
@@ -428,11 +428,11 @@ TableRowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
428
428
  >
429
429
  </nui-checkbox>
430
430
  </td>
431
- <ng-container cdkCellOutlet></ng-container>`, isInline: true, components: [{ type: i6.CheckboxComponent, selector: "nui-checkbox", inputs: ["ariaLabel", "ariaLabelledby", "ariaDescribedby", "name", "title", "value", "hovered", "checked", "required", "hint", "disabled", "indeterminate"], outputs: ["valueChange"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.CdkCellOutlet, selector: "[cdkCellOutlet]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
432
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TableRowComponent, decorators: [{
433
- type: Component,
434
- args: [{
435
- selector: "nui-row, tr[nui-row]",
431
+ <ng-container cdkCellOutlet></ng-container>`, isInline: true, components: [{ type: i6.CheckboxComponent, selector: "nui-checkbox", inputs: ["ariaLabel", "ariaLabelledby", "ariaDescribedby", "name", "title", "value", "hovered", "checked", "required", "hint", "disabled", "indeterminate"], outputs: ["valueChange"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.CdkCellOutlet, selector: "[cdkCellOutlet]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
432
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TableRowComponent, decorators: [{
433
+ type: Component,
434
+ args: [{
435
+ selector: "nui-row, tr[nui-row]",
436
436
  template: ` <td
437
437
  *ngIf="selectable"
438
438
  class="nui-table__table-cell nui-table__table-cell--selectable"
@@ -446,70 +446,70 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
446
446
  >
447
447
  </nui-checkbox>
448
448
  </td>
449
- <ng-container cdkCellOutlet></ng-container>`,
450
- host: {
451
- role: "row",
452
- class: "nui-table__table-row",
453
- },
454
- encapsulation: ViewEncapsulation.None,
455
- changeDetection: ChangeDetectionStrategy.OnPush,
456
- exportAs: "nuiRow",
457
- providers: [{ provide: CdkRow, useExisting: TableRowComponent }],
458
- }]
459
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.TableStateHandlerService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { density: [{
460
- type: Input
461
- }], rowObject: [{
462
- type: Input
463
- }], clickableRow: [{
464
- type: Input
465
- }, {
466
- type: HostBinding,
467
- args: ["class.nui-table__table-row--clickable"]
468
- }], clickableRowConfig: [{
469
- type: Input
470
- }], isSelected: [{
471
- type: HostBinding,
472
- args: ["class.nui-table__table-row--selected"]
473
- }], isDensityDefault: [{
474
- type: HostBinding,
475
- args: ["class.nui-table__table-row_height_default"]
476
- }], isDensityCompact: [{
477
- type: HostBinding,
478
- args: ["class.nui-table__table-row_height_compact"]
479
- }], isDensityTiny: [{
480
- type: HostBinding,
481
- args: ["class.nui-table__table-row_height_tiny"]
482
- }], rowSelectionCheckbox: [{
483
- type: ViewChild,
484
- args: ["rowSelectionCheckbox", { read: ElementRef, static: false }]
485
- }], rowClickHandler: [{
486
- type: HostListener,
487
- args: ["click", ["$event.target"]]
488
- }] } });
489
- /**
490
- * @ignore
491
- */
492
- export class TableFooterRowComponent extends CdkFooterRow {
493
- }
494
- TableFooterRowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TableFooterRowComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
495
- TableFooterRowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TableFooterRowComponent, selector: "nui-footer-row, tr[nui-footer-row]", host: { attributes: { "role": "row" }, classAttribute: "nui-footer-row" }, providers: [
496
- { provide: CdkFooterRow, useExisting: TableFooterRowComponent },
497
- ], exportAs: ["nuiFooterRow"], usesInheritance: true, ngImport: i0, template: "<ng-container cdkCellOutlet></ng-container>", isInline: true, directives: [{ type: i5.CdkCellOutlet, selector: "[cdkCellOutlet]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
498
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TableFooterRowComponent, decorators: [{
499
- type: Component,
500
- args: [{
501
- selector: "nui-footer-row, tr[nui-footer-row]",
502
- template: "<ng-container cdkCellOutlet></ng-container>",
503
- host: {
504
- class: "nui-footer-row",
505
- role: "row",
506
- },
507
- changeDetection: ChangeDetectionStrategy.OnPush,
508
- encapsulation: ViewEncapsulation.None,
509
- exportAs: "nuiFooterRow",
510
- providers: [
511
- { provide: CdkFooterRow, useExisting: TableFooterRowComponent },
512
- ],
513
- }]
514
- }] });
449
+ <ng-container cdkCellOutlet></ng-container>`,
450
+ host: {
451
+ role: "row",
452
+ class: "nui-table__table-row",
453
+ },
454
+ encapsulation: ViewEncapsulation.None,
455
+ changeDetection: ChangeDetectionStrategy.OnPush,
456
+ exportAs: "nuiRow",
457
+ providers: [{ provide: CdkRow, useExisting: TableRowComponent }],
458
+ }]
459
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.TableStateHandlerService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { density: [{
460
+ type: Input
461
+ }], rowObject: [{
462
+ type: Input
463
+ }], clickableRow: [{
464
+ type: Input
465
+ }, {
466
+ type: HostBinding,
467
+ args: ["class.nui-table__table-row--clickable"]
468
+ }], clickableRowConfig: [{
469
+ type: Input
470
+ }], isSelected: [{
471
+ type: HostBinding,
472
+ args: ["class.nui-table__table-row--selected"]
473
+ }], isDensityDefault: [{
474
+ type: HostBinding,
475
+ args: ["class.nui-table__table-row_height_default"]
476
+ }], isDensityCompact: [{
477
+ type: HostBinding,
478
+ args: ["class.nui-table__table-row_height_compact"]
479
+ }], isDensityTiny: [{
480
+ type: HostBinding,
481
+ args: ["class.nui-table__table-row_height_tiny"]
482
+ }], rowSelectionCheckbox: [{
483
+ type: ViewChild,
484
+ args: ["rowSelectionCheckbox", { read: ElementRef, static: false }]
485
+ }], rowClickHandler: [{
486
+ type: HostListener,
487
+ args: ["click", ["$event.target"]]
488
+ }] } });
489
+ /**
490
+ * @ignore
491
+ */
492
+ export class TableFooterRowComponent extends CdkFooterRow {
493
+ }
494
+ TableFooterRowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TableFooterRowComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
495
+ TableFooterRowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TableFooterRowComponent, selector: "nui-footer-row, tr[nui-footer-row]", host: { attributes: { "role": "row" }, classAttribute: "nui-footer-row" }, providers: [
496
+ { provide: CdkFooterRow, useExisting: TableFooterRowComponent },
497
+ ], exportAs: ["nuiFooterRow"], usesInheritance: true, ngImport: i0, template: "<ng-container cdkCellOutlet></ng-container>", isInline: true, directives: [{ type: i5.CdkCellOutlet, selector: "[cdkCellOutlet]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
498
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TableFooterRowComponent, decorators: [{
499
+ type: Component,
500
+ args: [{
501
+ selector: "nui-footer-row, tr[nui-footer-row]",
502
+ template: "<ng-container cdkCellOutlet></ng-container>",
503
+ host: {
504
+ class: "nui-footer-row",
505
+ role: "row",
506
+ },
507
+ changeDetection: ChangeDetectionStrategy.OnPush,
508
+ encapsulation: ViewEncapsulation.None,
509
+ exportAs: "nuiFooterRow",
510
+ providers: [
511
+ { provide: CdkFooterRow, useExisting: TableFooterRowComponent },
512
+ ],
513
+ }]
514
+ }] });
515
515
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtcm93LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9saWIvdGFibGUvdGFibGUtcm93L3RhYmxlLXJvdy5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEseURBQXlEO0FBQ3pELEVBQUU7QUFDRiwrRUFBK0U7QUFDL0UsNEVBQTRFO0FBQzVFLDhFQUE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YmxpYyBuZ09uRGVzdHJveSgpOiB2b2lkIHtcbiAgICAgICAgaWYgKHRoaXMudGFibGVDb2x1bW5zU3Vic2NyaXB0aW9uKSB7XG4gICAgICAgICAgICB0aGlzLnRhYmxlQ29sdW1uc1N1YnNjcmlwdGlvbi51bnN1YnNjcmliZSgpO1xuICAgICAgICB9XG4gICAgfVxufVxuXG4vKipcbiAqIEBpZ25vcmVcbiAqL1xuXG5AQ29tcG9uZW50KHtcbiAgICB0ZW1wbGF0ZTogYCA8dGhcbiAgICAgICAgICAgICpuZ0lmPVwic2VsZWN0YWJsZVwiXG4gICAgICAgICAgICBudWlDbGlja0ludGVyY2VwdG9yXG4gICAgICAgICAgICBjbGFzcz1cIm51aS10YWJsZV9fdGFibGUtaGVhZGVyLWNlbGwgbnVpLXRhYmxlX190YWJsZS1oZWFkZXItY2VsbC0tc2VsZWN0YWJsZVwiXG4gICAgICAgICAgICBbbmdDbGFzc109XCJ7ICduby1vcHRpb25zJzogIWhhc09wdGlvbnMgfVwiXG4gICAgICAgID5cbiAgICAgICAgICAgIDxudWktc2VsZWN0b3JcbiAgICAgICAgICAgICAgICBjbGFzcz1cIm51aS10YWJsZV9fdGFibGUtaGVhZGVyLWNlbGxfX3NlbGVjdG9yXCJcbiAgICAgICAgICAgICAgICBbbmdDbGFzc109XCJ7ICduby1vcHRpb25zJzogIWhhc09wdGlvbnMgfVwiXG4gICAgICAgICAgICAgICAgW2FwcGVuZFRvQm9keV09XCJ0cnVlXCJcbiAgICAgICAgICAgICAgICAoc2VsZWN0aW9uQ2hhbmdlKT1cIm9uU2VsZWN0b3JDaGFuZ2UoJGV2ZW50KVwiXG4gICAgICAgICAgICAgICAgW2NoZWNrYm94U3RhdHVzXT1cInNlbGVjdG9yU3RhdGUuY2hlY2tib3hTdGF0dXNcIlxuICAgICAgICAgICAgICAgIFtpdGVtc109XCJzZWxlY3RvclN0YXRlLnNlbGVjdG9ySXRlbXNcIlxuICAgICAgICAgICAgPlxuICAgICAgICAg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gICAgICBjbGFzcz1cIm51aS10YWJsZV9fdGFibGUtY2VsbCBudWktdGFibGVfX3RhYmxlLWNlbGwtLXNlbGVjdGFibGVcIlxuICAgICAgICA+XG4gICAgICAgICAgICA8bnVpLWNoZWNrYm94XG4gICAgICAgICAgICAgICAgY2xhc3M9XCJudWktdGFibGVfX3RhYmxlLWNlbGxfX2NoZWNrYm94IGQtaW5saW5lLWJsb2NrXCJcbiAgICAgICAgICAgICAgICBbY2hlY2tlZF09XCJpc1Jvd1NlbGVjdGVkKClcIlxuICAgICAgICAgICAgICAgICh2YWx1ZUNoYW5nZSk9XCJjaGVja2JveENsaWNrZWQoKVwiXG4gICAgICAgICAgICAgICAgKGNsaWNrKT1cInN0b3BQcm9wYWdhdGlvbigkZXZlbnQpXCJcbiAgICAgICAgICAgICAgICAjcm93U2VsZWN0aW9uQ2hlY2tib3hcbiAgICAgICAgICAgID5cbiAgICAgICAgICAgIDwvbnVpLWNoZWNrYm94PlxuICAgICAgICA8L3RkPlxuICAgICAgICA8bmctY29udGFpbmVyIGNka0NlbGxPdXRsZXQ+PC9uZy1jb250YWluZXI+YCxcbiAgICBob3N0OiB7XG4gICAgICAgIHJvbGU6IFwicm93XCIsXG4gICAgICAgIGNsYXNzOiBcIm51aS10YWJsZV9fdGFibGUtcm93XCIsXG4gICAgfSxcbiAgICBlbmNhcHN1bGF0aW9uOiBWaWV3RW5jYXBzdWxhdGlvbi5Ob25lLFxuICAgIGNoYW5nZURldGVjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoLFxuICAgIGV4cG9ydEFzOiBcIm51aVJvd1wiLFxuICAgIHByb3ZpZGVyczogW3sgcHJvdmlkZTogQ2RrUm93LCB1c2VFeGlzdGluZzogVGFibGVSb3dDb21wb25lbnQgfV0sXG59KVxuZXhwb3J0IGNsYXNzIFRhYmxlUm93Q29tcG9uZW50IGV4dGVuZHMgQ2RrUm93IGltcGxlbWVudHMgT25Jbml0LCBPbkRlc3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5kbGVyU2VydmljZS5zZWxlY3Rpb24uZXhjbHVkZS5sZW5ndGggPiAwKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuICFfaW5jbHVkZXMoZXhjbHVkZWRSb3dzLCByb3dPYmplY3RUcmFja0J5KTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHJldHVybiB0cnVlO1xuICAgICAgICB9XG4gICAgICAgIHJldHVybiBpbmNsdWRlZFJvd3MubGVuZ3RoID4gMFxuICAgICAgICAgICAgPyBfaW5jbHVkZXMoaW5jbHVkZWRSb3dzLCByb3dPYmplY3RUcmFja0J5KVxuICAgICAgICAgICAgOiBmYWxzZTtcbiAgICB9XG5cbiAgICBwdWJsaWMgbmdPbkRlc3Ryb3koKTogdm9pZCB7XG4gICAgICAgIHRoaXMub25EZXN0cm95JC5uZXh0KCk7XG4gICAgICAgIHRoaXMub25EZXN0cm95JC5jb21wbGV0ZSgpO1xuICAgIH1cbn1cblxuLyoqXG4gKiBAaWdub3JlXG4gKi9cbkBDb21wb25lbnQoe1xuICAgIHNlbGVjdG9yOiBcIm51aS1mb290ZXItcm93LCB0cltudWktZm9vdGVyLXJvd11cIixcbiAgICB0ZW1wbGF0ZTogXCI8bmctY29udGFpbmVyIGNka0NlbGxPdXRsZXQ+PC9uZy1jb250YWluZXI+XCIsXG4gICAgaG9zdDoge1xuICAgICAgICBjbGFzczogXCJudWktZm9vdGVyLXJvd1wiLFxuICAgICAgICByb2xlOiBcInJvd1wiLFxuICAgIH0sXG4gICAgY2hhbmdlRGV0ZWN0aW9uOiBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneS5PblB1c2gsXG4gICAgZW5jYXBzdWxhdGlvbjogVmlld0VuY2Fwc3VsYXRpb24uTm9uZSxcbiAgICBleHBvcnRBczogXCJudWlGb290ZXJSb3dcIixcbiAgICBwcm92aWRlcnM6IFtcbiAgICAgICAgeyBwcm92aWRlOiBDZGtGb290ZXJSb3csIHVzZUV4aXN0aW5nOiBUYWJsZUZv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