@nova-ui/bits 13.0.6-2 → 13.0.6-4169

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 (871) 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 +244 -244
  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 +25501 -25501
  370. package/fesm2020/nova-ui-bits.mjs +25376 -25376
  371. package/functions/immutable-set.d.ts +8 -8
  372. package/functions/nameof.d.ts +7 -7
  373. package/functions/public-api.d.ts +5 -5
  374. package/functions/remove-errors.d.ts +8 -8
  375. package/functions/traverse.d.ts +3 -3
  376. package/functions/uuid.d.ts +1 -1
  377. package/lib/breadcrumb/breadcrumb-state.service.d.ts +13 -13
  378. package/lib/breadcrumb/breadcrumb.component.d.ts +11 -11
  379. package/lib/breadcrumb/breadcrumb.module.d.ts +12 -12
  380. package/lib/breadcrumb/public-api.d.ts +5 -5
  381. package/lib/busy/busy.component.d.ts +28 -28
  382. package/lib/busy/busy.module.d.ts +12 -12
  383. package/lib/busy/public-api.d.ts +9 -9
  384. package/lib/button/button.component.d.ts +82 -82
  385. package/lib/button/button.module.d.ts +12 -12
  386. package/lib/button/public-api.d.ts +5 -5
  387. package/lib/checkbox/checkbox-group.component.d.ts +50 -50
  388. package/lib/checkbox/checkbox.component.d.ts +96 -96
  389. package/lib/checkbox/checkbox.module.d.ts +12 -12
  390. package/lib/checkbox/public-api.d.ts +20 -20
  391. package/lib/chips/chip/chip.component.d.ts +33 -33
  392. package/lib/chips/chips-overflow/chips-overflow.component.d.ts +17 -17
  393. package/lib/chips/chips-overflow.service.d.ts +31 -31
  394. package/lib/chips/chips.component.d.ts +98 -98
  395. package/lib/chips/chips.module.d.ts +15 -15
  396. package/lib/chips/public-api.d.ts +23 -23
  397. package/lib/content/content.component.d.ts +11 -11
  398. package/lib/content/content.module.d.ts +11 -11
  399. package/lib/convenience/time-frame-bar/time-frame-bar.component.d.ts +67 -67
  400. package/lib/convenience/time-frame-bar/time-frame-bar.module.d.ts +19 -19
  401. package/lib/date-picker/date-picker-day-picker.component.d.ts +18 -18
  402. package/lib/date-picker/date-picker-inner.component.d.ts +74 -74
  403. package/lib/date-picker/date-picker-month-picker.component.d.ts +14 -14
  404. package/lib/date-picker/date-picker-year-picker.component.d.ts +14 -14
  405. package/lib/date-picker/date-picker.component.d.ts +114 -114
  406. package/lib/date-picker/date-picker.module.d.ts +19 -19
  407. package/lib/date-picker/public-api.d.ts +32 -32
  408. package/lib/date-time-picker/date-time-picker.component.d.ts +54 -54
  409. package/lib/date-time-picker/date-time-picker.module.d.ts +13 -13
  410. package/lib/dialog/confirmation-dialog.component.d.ts +26 -26
  411. package/lib/dialog/dialog-backdrop.component.d.ts +8 -8
  412. package/lib/dialog/dialog-footer.component.d.ts +8 -8
  413. package/lib/dialog/dialog-header.component.d.ts +26 -26
  414. package/lib/dialog/dialog-ref.d.ts +27 -27
  415. package/lib/dialog/dialog-stack.service.d.ts +27 -27
  416. package/lib/dialog/dialog.component.d.ts +49 -49
  417. package/lib/dialog/dialog.module.d.ts +18 -18
  418. package/lib/dialog/dialog.service.d.ts +20 -20
  419. package/lib/dialog/public-api.d.ts +69 -69
  420. package/lib/divider/divider.component.d.ts +21 -21
  421. package/lib/divider/divider.module.d.ts +11 -11
  422. package/lib/divider/public-api.d.ts +2 -2
  423. package/lib/dnd/dnd-drop-target.directive.d.ts +22 -22
  424. package/lib/dnd/dnd.module.d.ts +11 -11
  425. package/lib/dnd/public-api.d.ts +2 -2
  426. package/lib/docs/copy-text/copy-text.component.d.ts +12 -12
  427. package/lib/docs/docs.module.d.ts +26 -26
  428. package/lib/docs/example-code/example-code.component.d.ts +46 -46
  429. package/lib/docs/example-wrapper/example-wrapper.component.d.ts +25 -25
  430. package/lib/docs/example-wrapper/plunker-files.d.ts +9 -9
  431. package/lib/docs/example-wrapper/plunker-project.service.d.ts +18 -18
  432. package/lib/docs/public-api.d.ts +1 -1
  433. package/lib/docs/services/sources.service.d.ts +18 -18
  434. package/lib/docs/srlc-indicator/public-api.d.ts +16 -16
  435. package/lib/docs/srlc-indicator/srlc-indicator.component.d.ts +16 -16
  436. package/lib/docs/theme-switcher/theme-switcher.component.d.ts +12 -12
  437. package/lib/dragdrop/dragdrop.module.d.ts +13 -13
  438. package/lib/dragdrop/draggable.component.d.ts +21 -21
  439. package/lib/dragdrop/droppable.component.d.ts +16 -16
  440. package/lib/dragdrop/public-api.d.ts +2 -2
  441. package/lib/expander/expander.component.d.ts +44 -44
  442. package/lib/expander/expander.module.d.ts +12 -12
  443. package/lib/form-field/form-field.component.d.ts +49 -49
  444. package/lib/form-field/form-field.module.d.ts +13 -13
  445. package/lib/form-field/public-api.d.ts +12 -12
  446. package/lib/form-field/touched-changes-helper.d.ts +12 -12
  447. package/lib/icon/icon.component.d.ts +37 -37
  448. package/lib/icon/icon.module.d.ts +11 -11
  449. package/lib/icon/icon.service.d.ts +23 -23
  450. package/lib/icon/icons.d.ts +6 -6
  451. package/lib/icon/public-api.d.ts +1 -1
  452. package/lib/icon/types.d.ts +92 -92
  453. package/lib/image/image.component.d.ts +61 -61
  454. package/lib/image/image.module.d.ts +11 -11
  455. package/lib/image/public-api.d.ts +8 -8
  456. package/lib/layout/card/card.component.d.ts +11 -11
  457. package/lib/layout/card-group/card-group.component.d.ts +11 -11
  458. package/lib/layout/layout-resizer/layout-resizer.component.d.ts +31 -31
  459. package/lib/layout/layout.module.d.ts +12 -12
  460. package/lib/layout/public-api.d.ts +4 -4
  461. package/lib/layout/sheet/sheet.component.d.ts +17 -17
  462. package/lib/layout/sheet-group/sheet-group.component.d.ts +52 -52
  463. package/lib/menu/index.d.ts +9 -9
  464. package/lib/menu/menu/menu.component.d.ts +84 -84
  465. package/lib/menu/menu-item/menu-action/menu-action.component.d.ts +26 -26
  466. package/lib/menu/menu-item/menu-group/menu-group.component.d.ts +8 -8
  467. package/lib/menu/menu-item/menu-item/menu-item-base.d.ts +32 -32
  468. package/lib/menu/menu-item/menu-item/menu-item.component.d.ts +19 -19
  469. package/lib/menu/menu-item/menu-link/menu-link.component.d.ts +31 -31
  470. package/lib/menu/menu-item/menu-option/menu-option.component.d.ts +33 -33
  471. package/lib/menu/menu-item/menu-switch/menu-switch.component.d.ts +26 -26
  472. package/lib/menu/menu-key-control.service.d.ts +42 -42
  473. package/lib/menu/menu-popup/menu-popup.component.d.ts +25 -25
  474. package/lib/menu/menu.module.d.ts +24 -24
  475. package/lib/menu/public-api.d.ts +31 -31
  476. package/lib/message/message.component.d.ts +33 -33
  477. package/lib/message/message.module.d.ts +13 -13
  478. package/lib/overlay/arrow-component/overlay-arrow.component.d.ts +9 -9
  479. package/lib/overlay/constants.d.ts +7 -7
  480. package/lib/overlay/overlay-additions.module.d.ts +11 -11
  481. package/lib/overlay/overlay-component/overlay.component.d.ts +60 -60
  482. package/lib/overlay/overlay-container.service.d.ts +17 -17
  483. package/lib/overlay/overlay-custom-container.d.ts +19 -19
  484. package/lib/overlay/overlay-item/overlay-item.component.d.ts +23 -23
  485. package/lib/overlay/overlay-position.service.d.ts +26 -26
  486. package/lib/overlay/overlay-utilities.service.d.ts +10 -10
  487. package/lib/overlay/overlay.module.d.ts +13 -13
  488. package/lib/overlay/overlay.service.d.ts +36 -36
  489. package/lib/overlay/public-api.d.ts +8 -8
  490. package/lib/overlay/types.d.ts +54 -54
  491. package/lib/paginator/paginator.component.d.ts +164 -164
  492. package/lib/paginator/paginator.module.d.ts +15 -15
  493. package/lib/paginator/public-api.d.ts +11 -11
  494. package/lib/panel/panel.component.d.ts +123 -123
  495. package/lib/panel/panel.module.d.ts +12 -12
  496. package/lib/panel/public-api.d.ts +19 -19
  497. package/lib/popover/popover-modal.component.d.ts +62 -62
  498. package/lib/popover/popover-modal.service.d.ts +45 -45
  499. package/lib/popover/popover-position.service.d.ts +23 -23
  500. package/lib/popover/popover.component.d.ts +150 -150
  501. package/lib/popover/popover.module.d.ts +15 -15
  502. package/lib/popover/public-api.d.ts +12 -12
  503. package/lib/popup/popup-container.component.d.ts +26 -26
  504. package/lib/popup/popup-container.service.d.ts +8 -8
  505. package/lib/popup/popup-toggle.directive.d.ts +15 -15
  506. package/lib/popup/popup.component.d.ts +84 -84
  507. package/lib/popup/popup.module.d.ts +15 -15
  508. package/lib/popup-adapter/popup-adapter.component.d.ts +59 -59
  509. package/lib/popup-adapter/popup-adapter.module.d.ts +12 -12
  510. package/lib/progress/progress.component.d.ts +31 -31
  511. package/lib/progress/progress.module.d.ts +13 -13
  512. package/lib/public-api.d.ts +35 -35
  513. package/lib/radio/radio-group.component.d.ts +96 -96
  514. package/lib/radio/radio.module.d.ts +11 -11
  515. package/lib/repeat/public-api.d.ts +1 -1
  516. package/lib/repeat/repeat-item/repeat-item.component.d.ts +16 -16
  517. package/lib/repeat/repeat.component.d.ts +180 -180
  518. package/lib/repeat/repeat.module.d.ts +16 -16
  519. package/lib/repeat/types.d.ts +31 -31
  520. package/lib/search/search.component.d.ts +62 -62
  521. package/lib/search/search.module.d.ts +14 -14
  522. package/lib/select/base-select.d.ts +104 -104
  523. package/lib/select/combobox/combobox.component.d.ts +70 -70
  524. package/lib/select/index.d.ts +2 -2
  525. package/lib/select/public-api.d.ts +8 -8
  526. package/lib/select/select.component.d.ts +41 -41
  527. package/lib/select/select.module.d.ts +16 -16
  528. package/lib/select-v2/base-select-v2.d.ts +138 -138
  529. package/lib/select-v2/combobox-v2/combobox-v2.component.d.ts +64 -64
  530. package/lib/select-v2/combobox-v2-option-highlight/combobox-v2-option-highlight.directive.d.ts +23 -23
  531. package/lib/select-v2/constants.d.ts +5 -5
  532. package/lib/select-v2/mark-as-selected-item.directive.d.ts +13 -13
  533. package/lib/select-v2/option/select-v2-option.component.d.ts +31 -31
  534. package/lib/select-v2/option-group/select-v2-option-group.component.d.ts +19 -19
  535. package/lib/select-v2/option-key-control.service.d.ts +27 -27
  536. package/lib/select-v2/select/select-v2.component.d.ts +32 -32
  537. package/lib/select-v2/select-v2.module.d.ts +23 -23
  538. package/lib/select-v2/selected-items-key-control.service.d.ts +31 -31
  539. package/lib/select-v2/types.d.ts +11 -11
  540. package/lib/selector/public-api.d.ts +11 -11
  541. package/lib/selector/selector.component.d.ts +54 -54
  542. package/lib/selector/selector.module.d.ts +15 -15
  543. package/lib/selector/selector.service.d.ts +64 -64
  544. package/lib/sorter/constants.d.ts +2 -2
  545. package/lib/sorter/public-api.d.ts +13 -13
  546. package/lib/sorter/sorter-keyboard.service.d.ts +23 -23
  547. package/lib/sorter/sorter.component.d.ts +62 -62
  548. package/lib/sorter/sorter.module.d.ts +14 -14
  549. package/lib/spinner/public-api.d.ts +8 -8
  550. package/lib/spinner/spinner.component.d.ts +41 -41
  551. package/lib/spinner/spinner.module.d.ts +13 -13
  552. package/lib/switch/switch.component.d.ts +25 -25
  553. package/lib/switch/switch.module.d.ts +11 -11
  554. package/lib/tabgroup/tab/tab-heading-custom-template-ref.directive.d.ts +13 -13
  555. package/lib/tabgroup/tab/tab-heading.directive.d.ts +11 -11
  556. package/lib/tabgroup/tab/tab.component.d.ts +25 -25
  557. package/lib/tabgroup/tab-group/tab-group.component.d.ts +37 -37
  558. package/lib/tabgroup/tab-heading/tab-heading.component.d.ts +22 -22
  559. package/lib/tabgroup/tab-heading-group/tab-heading-group.component.d.ts +44 -44
  560. package/lib/tabgroup/tabs.module.d.ts +17 -17
  561. package/lib/table/constants.d.ts +4 -4
  562. package/lib/table/public-api.d.ts +5 -5
  563. package/lib/table/table-cell/table-cell-def.directive.d.ts +12 -12
  564. package/lib/table/table-cell/table-cell.directive.d.ts +30 -30
  565. package/lib/table/table-cell/table-column-def.directive.d.ts +20 -20
  566. package/lib/table/table-cell/table-footer-cell-def.directive.d.ts +12 -12
  567. package/lib/table/table-cell/table-footer-cell.directive.d.ts +11 -11
  568. package/lib/table/table-cell/table-header-cell-def.directive.d.ts +12 -12
  569. package/lib/table/table-cell/table-header-cell.component.d.ts +57 -57
  570. package/lib/table/table-resizer/table-resizer.directive.d.ts +21 -21
  571. package/lib/table/table-row/table-row.component.d.ts +116 -116
  572. package/lib/table/table-state-handler.service.d.ts +272 -272
  573. package/lib/table/table-virtual-scroll/slice-range.pipe.d.ts +10 -10
  574. package/lib/table/table-virtual-scroll/table-sticky-header.directive.d.ts +44 -44
  575. package/lib/table/table-virtual-scroll/table-virtual-scroll-strategy.d.ts +75 -75
  576. package/lib/table/table-virtual-scroll/table-virtual-scroll.directive.d.ts +42 -42
  577. package/lib/table/table.component.d.ts +54 -54
  578. package/lib/table/table.module.d.ts +28 -28
  579. package/lib/table/types.d.ts +8 -8
  580. package/lib/textbox/textbox-number/textbox-number.component.d.ts +88 -88
  581. package/lib/textbox/textbox.component.d.ts +96 -96
  582. package/lib/textbox/textbox.module.d.ts +16 -16
  583. package/lib/time-frame-picker/public-api.d.ts +21 -21
  584. package/lib/time-frame-picker/quick-picker/quick-picker.component.d.ts +22 -22
  585. package/lib/time-frame-picker/services/timeframe.service.d.ts +87 -87
  586. package/lib/time-frame-picker/time-frame-format.pipe.d.ts +30 -30
  587. package/lib/time-frame-picker/time-frame-picker.component.d.ts +37 -37
  588. package/lib/time-frame-picker/time-frame-picker.module.d.ts +15 -15
  589. package/lib/time-picker/time-picker-keyboard.service.d.ts +22 -22
  590. package/lib/time-picker/time-picker.component.d.ts +83 -83
  591. package/lib/time-picker/time-picker.module.d.ts +15 -15
  592. package/lib/toast/public-api.d.ts +123 -123
  593. package/lib/toast/toast-container.service.d.ts +34 -34
  594. package/lib/toast/toast-injector.d.ts +10 -10
  595. package/lib/toast/toast-package.d.ts +22 -22
  596. package/lib/toast/toast-ref.d.ts +30 -30
  597. package/lib/toast/toast.component.d.ts +69 -69
  598. package/lib/toast/toast.directive.d.ts +26 -26
  599. package/lib/toast/toast.module.d.ts +14 -14
  600. package/lib/toast/toast.service.d.ts +77 -77
  601. package/lib/toast/toast.servicebase.d.ts +16 -16
  602. package/lib/toolbar/public-api.d.ts +18 -18
  603. package/lib/toolbar/toolbar-group.component.d.ts +12 -12
  604. package/lib/toolbar/toolbar-item.component.d.ts +22 -22
  605. package/lib/toolbar/toolbar-keyboard.service.d.ts +16 -16
  606. package/lib/toolbar/toolbar-message.component.d.ts +8 -8
  607. package/lib/toolbar/toolbar-splitter.component.d.ts +8 -8
  608. package/lib/toolbar/toolbar.component.d.ts +60 -60
  609. package/lib/toolbar/toolbar.module.d.ts +19 -19
  610. package/lib/tooltip/public-api.d.ts +3 -3
  611. package/lib/tooltip/tooltip.component.d.ts +62 -62
  612. package/lib/tooltip/tooltip.directive.d.ts +60 -60
  613. package/lib/tooltip/tooltip.module.d.ts +13 -13
  614. package/lib/validation-message/custom-validation-message/custom-validation-message.component.d.ts +19 -19
  615. package/lib/validation-message/public-api.d.ts +2 -2
  616. package/lib/validation-message/validation-message.component.d.ts +19 -19
  617. package/lib/validation-message/validation-message.module.d.ts +13 -13
  618. package/lib/wizard/public-api.d.ts +30 -30
  619. package/lib/wizard/wizard-step.component.d.ts +84 -84
  620. package/lib/wizard/wizard.component.d.ts +98 -98
  621. package/lib/wizard/wizard.module.d.ts +16 -16
  622. package/lib/wizard-v2/error-state-matcher.provider.d.ts +7 -7
  623. package/lib/wizard-v2/public-api.d.ts +12 -12
  624. package/lib/wizard-v2/types.d.ts +13 -13
  625. package/lib/wizard-v2/wizard-button/wizard-button.d.ts +18 -18
  626. package/lib/wizard-v2/wizard-footer/wizard-footer.component.d.ts +20 -20
  627. package/lib/wizard-v2/wizard-horizontal/wizard-horizontal.component.d.ts +59 -59
  628. package/lib/wizard-v2/wizard-overflow/wizard-overflow.component.d.ts +13 -13
  629. package/lib/wizard-v2/wizard-step/wizard-step.component.d.ts +29 -29
  630. package/lib/wizard-v2/wizard-step-footer.directive.d.ts +8 -8
  631. package/lib/wizard-v2/wizard-step-header/wizard-step-header.component.d.ts +46 -46
  632. package/lib/wizard-v2/wizard-step-label.directive.d.ts +6 -6
  633. package/lib/wizard-v2/wizard-vertical/wizard-vertical.component.d.ts +18 -18
  634. package/lib/wizard-v2/wizard.directive.d.ts +48 -48
  635. package/lib/wizard-v2/wizard.module.d.ts +23 -23
  636. package/nova-ui-bits.d.ts +5 -5
  637. package/nui-api.d.ts +56 -56
  638. package/package.json +2 -2
  639. package/pipes/highlight.pipe.d.ts +37 -37
  640. package/pipes/limit-to.pipe.d.ts +21 -21
  641. package/pipes/unit-conversion.pipe.d.ts +28 -28
  642. package/public_api.d.ts +160 -160
  643. package/sdk/atoms/atom.d.ts +47 -47
  644. package/sdk/atoms/atom.js +172 -172
  645. package/sdk/atoms/components/breadcrumb/breadcrumb.atom.d.ts +11 -11
  646. package/sdk/atoms/components/breadcrumb/breadcrumb.atom.js +45 -45
  647. package/sdk/atoms/components/busy/busy.atom.d.ts +12 -12
  648. package/sdk/atoms/components/busy/busy.atom.js +40 -40
  649. package/sdk/atoms/components/button/button.atom.d.ts +19 -19
  650. package/sdk/atoms/components/button/button.atom.js +62 -62
  651. package/sdk/atoms/components/checkbox/checkbox.atom.d.ts +30 -30
  652. package/sdk/atoms/components/checkbox/checkbox.atom.js +93 -93
  653. package/sdk/atoms/components/checkbox-group/checkbox-group.atom.d.ts +11 -11
  654. package/sdk/atoms/components/checkbox-group/checkbox-group.atom.js +68 -68
  655. package/sdk/atoms/components/chips/chips.atom.d.ts +32 -32
  656. package/sdk/atoms/components/chips/chips.atom.js +92 -92
  657. package/sdk/atoms/components/combobox/combobox.atom.d.ts +29 -29
  658. package/sdk/atoms/components/combobox/combobox.atom.js +66 -66
  659. package/sdk/atoms/components/combobox-v2/combobox-v2.atom.d.ts +23 -23
  660. package/sdk/atoms/components/combobox-v2/combobox-v2.atom.js +100 -100
  661. package/sdk/atoms/components/content/content.atom.d.ts +6 -6
  662. package/sdk/atoms/components/content/content.atom.js +39 -39
  663. package/sdk/atoms/components/convenience/time-frame-bar/time-frame-bar.atom.d.ts +22 -22
  664. package/sdk/atoms/components/convenience/time-frame-bar/time-frame-bar.atom.js +83 -83
  665. package/sdk/atoms/components/datepicker/datepicker.atom.d.ts +57 -57
  666. package/sdk/atoms/components/datepicker/datepicker.atom.js +194 -194
  667. package/sdk/atoms/components/datetimepicker/datetimepicker.atom.d.ts +9 -9
  668. package/sdk/atoms/components/datetimepicker/datetimepicker.atom.js +42 -42
  669. package/sdk/atoms/components/dialog/dialog.atom.d.ts +18 -18
  670. package/sdk/atoms/components/dialog/dialog.atom.js +76 -76
  671. package/sdk/atoms/components/divider/divider.atom.d.ts +6 -6
  672. package/sdk/atoms/components/divider/divider.atom.js +44 -44
  673. package/sdk/atoms/components/drag-and-drop/cdk-drop-item.atom.d.ts +10 -10
  674. package/sdk/atoms/components/drag-and-drop/cdk-drop-item.atom.js +57 -57
  675. package/sdk/atoms/components/drag-and-drop/cdk-drop-list.atom.d.ts +8 -8
  676. package/sdk/atoms/components/drag-and-drop/cdk-drop-list.atom.js +41 -41
  677. package/sdk/atoms/components/expander/expander.atom.d.ts +19 -19
  678. package/sdk/atoms/components/expander/expander.atom.js +89 -89
  679. package/sdk/atoms/components/form-field/form-field.atom.d.ts +12 -12
  680. package/sdk/atoms/components/form-field/form-field.atom.js +72 -72
  681. package/sdk/atoms/components/icon/icon.atom.d.ts +21 -21
  682. package/sdk/atoms/components/icon/icon.atom.js +90 -90
  683. package/sdk/atoms/components/image/image.atom.d.ts +8 -8
  684. package/sdk/atoms/components/image/image.atom.js +60 -60
  685. package/sdk/atoms/components/layout/index.d.ts +2 -2
  686. package/sdk/atoms/components/layout/index.js +24 -24
  687. package/sdk/atoms/components/layout/layout-sheet-group.atom.d.ts +14 -14
  688. package/sdk/atoms/components/layout/layout-sheet-group.atom.js +90 -90
  689. package/sdk/atoms/components/layout/layout-sheet.atom.d.ts +6 -6
  690. package/sdk/atoms/components/layout/layout-sheet.atom.js +44 -44
  691. package/sdk/atoms/components/menu/menu-item.atom.d.ts +13 -13
  692. package/sdk/atoms/components/menu/menu-item.atom.js +116 -116
  693. package/sdk/atoms/components/menu/menu.atom.d.ts +43 -43
  694. package/sdk/atoms/components/menu/menu.atom.js +115 -115
  695. package/sdk/atoms/components/menu-popup/menu-popup.atom.d.ts +11 -11
  696. package/sdk/atoms/components/menu-popup/menu-popup.atom.js +56 -56
  697. package/sdk/atoms/components/message/message.atom.d.ts +16 -16
  698. package/sdk/atoms/components/message/message.atom.js +50 -50
  699. package/sdk/atoms/components/overlay/overlay.atom.d.ts +11 -11
  700. package/sdk/atoms/components/overlay/overlay.atom.js +40 -40
  701. package/sdk/atoms/components/paginator/paginator.atom.d.ts +29 -29
  702. package/sdk/atoms/components/paginator/paginator.atom.js +198 -198
  703. package/sdk/atoms/components/panel/panel.atom.d.ts +29 -29
  704. package/sdk/atoms/components/panel/panel.atom.js +119 -119
  705. package/sdk/atoms/components/popover/popover.atom.d.ts +28 -28
  706. package/sdk/atoms/components/popover/popover.atom.js +93 -93
  707. package/sdk/atoms/components/popup/overlay-content.atom.d.ts +7 -7
  708. package/sdk/atoms/components/popup/overlay-content.atom.js +34 -34
  709. package/sdk/atoms/components/popup/popup.atom.d.ts +16 -16
  710. package/sdk/atoms/components/popup/popup.atom.js +67 -67
  711. package/sdk/atoms/components/progress/progress.atom.d.ts +14 -14
  712. package/sdk/atoms/components/progress/progress.atom.js +64 -64
  713. package/sdk/atoms/components/public_api.d.ts +54 -54
  714. package/sdk/atoms/components/public_api.js +76 -76
  715. package/sdk/atoms/components/radio-group/radio-group.atom.d.ts +13 -13
  716. package/sdk/atoms/components/radio-group/radio-group.atom.js +75 -75
  717. package/sdk/atoms/components/repeat/repeat.atom.d.ts +27 -27
  718. package/sdk/atoms/components/repeat/repeat.atom.js +122 -122
  719. package/sdk/atoms/components/search/search.atom.d.ts +11 -11
  720. package/sdk/atoms/components/search/search.atom.js +74 -74
  721. package/sdk/atoms/components/select/basic-select.atom.d.ts +21 -21
  722. package/sdk/atoms/components/select/basic-select.atom.js +55 -55
  723. package/sdk/atoms/components/select/select.atom.d.ts +10 -10
  724. package/sdk/atoms/components/select/select.atom.js +36 -36
  725. package/sdk/atoms/components/select-v2/base-select-v2.atom.d.ts +29 -29
  726. package/sdk/atoms/components/select-v2/base-select-v2.atom.js +122 -122
  727. package/sdk/atoms/components/select-v2/select-v2-option.atom.d.ts +7 -7
  728. package/sdk/atoms/components/select-v2/select-v2-option.atom.js +43 -43
  729. package/sdk/atoms/components/select-v2/select-v2.atom.d.ts +5 -5
  730. package/sdk/atoms/components/select-v2/select-v2.atom.js +33 -33
  731. package/sdk/atoms/components/selector/selector.atom.d.ts +17 -17
  732. package/sdk/atoms/components/selector/selector.atom.js +82 -82
  733. package/sdk/atoms/components/selector/selector.e2e.d.ts +6 -6
  734. package/sdk/atoms/components/selector/selector.e2e.js +91 -91
  735. package/sdk/atoms/components/sorter/sorter.atom.d.ts +33 -33
  736. package/sdk/atoms/components/sorter/sorter.atom.js +122 -122
  737. package/sdk/atoms/components/spinner/spinner.atom.d.ts +12 -12
  738. package/sdk/atoms/components/spinner/spinner.atom.js +44 -44
  739. package/sdk/atoms/components/switch/switch.atom.d.ts +14 -14
  740. package/sdk/atoms/components/switch/switch.atom.js +72 -72
  741. package/sdk/atoms/components/tab-heading-group/tab-heading-group.atom.d.ts +16 -16
  742. package/sdk/atoms/components/tab-heading-group/tab-heading-group.atom.js +107 -107
  743. package/sdk/atoms/components/tab-heading-group/tab-heading.atom.d.ts +8 -8
  744. package/sdk/atoms/components/tab-heading-group/tab-heading.atom.js +51 -51
  745. package/sdk/atoms/components/table/table.atom.d.ts +73 -73
  746. package/sdk/atoms/components/table/table.atom.js +209 -209
  747. package/sdk/atoms/components/textbox/textbox.atom.d.ts +22 -22
  748. package/sdk/atoms/components/textbox/textbox.atom.js +58 -58
  749. package/sdk/atoms/components/textbox-number/textbox-number.atom.d.ts +18 -18
  750. package/sdk/atoms/components/textbox-number/textbox-number.atom.js +52 -52
  751. package/sdk/atoms/components/time-frame-picker/quick-picker.atom.d.ts +8 -8
  752. package/sdk/atoms/components/time-frame-picker/quick-picker.atom.js +48 -48
  753. package/sdk/atoms/components/time-frame-picker/time-frame-picker.atom.d.ts +7 -7
  754. package/sdk/atoms/components/time-frame-picker/time-frame-picker.atom.js +35 -35
  755. package/sdk/atoms/components/timepicker/timepicker.atom.d.ts +18 -18
  756. package/sdk/atoms/components/timepicker/timepicker.atom.js +63 -63
  757. package/sdk/atoms/components/toolbar/toolbar.atom.d.ts +18 -18
  758. package/sdk/atoms/components/toolbar/toolbar.atom.js +86 -86
  759. package/sdk/atoms/components/wizard/wizard-step.atom.d.ts +11 -11
  760. package/sdk/atoms/components/wizard/wizard-step.atom.js +51 -51
  761. package/sdk/atoms/components/wizard/wizard.atom.d.ts +22 -22
  762. package/sdk/atoms/components/wizard/wizard.atom.js +90 -90
  763. package/sdk/atoms/directives/public_api.d.ts +3 -3
  764. package/sdk/atoms/directives/public_api.js +25 -25
  765. package/sdk/atoms/directives/resizer/resizer.atom.d.ts +12 -12
  766. package/sdk/atoms/directives/resizer/resizer.atom.js +51 -51
  767. package/sdk/atoms/directives/toast/toast.atom.d.ts +28 -28
  768. package/sdk/atoms/directives/toast/toast.atom.js +66 -66
  769. package/sdk/atoms/directives/tooltip/tooltip.atom.d.ts +9 -9
  770. package/sdk/atoms/directives/tooltip/tooltip.atom.js +37 -37
  771. package/sdk/atoms/helpers.d.ts +37 -37
  772. package/sdk/atoms/helpers.js +215 -215
  773. package/sdk/atoms/index.d.ts +5 -5
  774. package/sdk/atoms/index.js +30 -30
  775. package/sdk/atoms/virtual-camera/Camera.d.ts +21 -21
  776. package/sdk/atoms/virtual-camera/Camera.js +53 -53
  777. package/sdk/atoms/virtual-camera/camera-engine.d.ts +13 -13
  778. package/sdk/atoms/virtual-camera/camera-engine.js +80 -80
  779. package/sdk/atoms/virtual-camera/camera-settings.d.ts +10 -10
  780. package/sdk/atoms/virtual-camera/camera-settings.js +58 -58
  781. package/sdk/atoms/virtual-camera/camera-toggle.d.ts +7 -7
  782. package/sdk/atoms/virtual-camera/camera-toggle.js +39 -39
  783. package/sdk/atoms/virtual-camera/percy-lens.d.ts +17 -17
  784. package/sdk/atoms/virtual-camera/percy-lens.js +78 -78
  785. package/sdk/atoms/virtual-camera/public_api.d.ts +2 -2
  786. package/sdk/atoms/virtual-camera/public_api.js +24 -24
  787. package/sdk/atoms/virtual-camera/types.d.ts +35 -35
  788. package/sdk/atoms/virtual-camera/types.js +42 -42
  789. package/sdk/schematics/filter-group/index.d.ts +3 -3
  790. package/sdk/schematics/filter-group/index.js +80 -80
  791. package/sdk/schematics/filter-group/index.spec.d.ts +1 -1
  792. package/sdk/schematics/filter-group/index.spec.js +59 -59
  793. package/sdk/schematics/filter-group/schema.d.ts +50 -50
  794. package/sdk/schematics/filter-group/schema.js +21 -21
  795. package/sdk/schematics/filtered-view/index.d.ts +3 -3
  796. package/sdk/schematics/filtered-view/index.js +130 -130
  797. package/sdk/schematics/filtered-view/index.spec.d.ts +1 -1
  798. package/sdk/schematics/filtered-view/index.spec.js +59 -59
  799. package/sdk/schematics/filtered-view/schema.d.ts +87 -87
  800. package/sdk/schematics/filtered-view/schema.js +21 -21
  801. package/sdk/schematics/index.d.ts +1 -1
  802. package/sdk/schematics/index.js +23 -23
  803. package/sdk/schematics/layout/index.d.ts +3 -3
  804. package/sdk/schematics/layout/index.js +88 -88
  805. package/sdk/schematics/layout/index.spec.d.ts +1 -1
  806. package/sdk/schematics/layout/index.spec.js +62 -62
  807. package/sdk/schematics/layout/schema.d.ts +78 -78
  808. package/sdk/schematics/layout/schema.js +21 -21
  809. package/sdk/schematics/list/files/__name@dasherize__.component.ts +320 -320
  810. package/sdk/schematics/list/index.d.ts +3 -3
  811. package/sdk/schematics/list/index.js +128 -128
  812. package/sdk/schematics/list/schema.d.ts +72 -72
  813. package/sdk/schematics/list/schema.js +21 -21
  814. package/sdk/schematics/ng-add/index.d.ts +2 -2
  815. package/sdk/schematics/ng-add/index.js +180 -180
  816. package/sdk/schematics/ng-add/index.spec.d.ts +1 -1
  817. package/sdk/schematics/ng-add/index.spec.js +176 -176
  818. package/sdk/schematics/ng-update/index.d.ts +2 -2
  819. package/sdk/schematics/ng-update/index.js +44 -44
  820. package/sdk/schematics/ng-update/index.spec.d.ts +1 -1
  821. package/sdk/schematics/ng-update/index.spec.js +106 -106
  822. package/sdk/schematics/table/files/__name@dasherize__.component.ts +381 -381
  823. package/sdk/schematics/table/index.d.ts +3 -3
  824. package/sdk/schematics/table/index.js +139 -139
  825. package/sdk/schematics/table/schema.d.ts +72 -72
  826. package/sdk/schematics/table/schema.js +21 -21
  827. package/sdk/schematics/utility/index.d.ts +5 -5
  828. package/sdk/schematics/utility/index.js +27 -27
  829. package/sdk/schematics/utility/json-utils.d.ts +13 -13
  830. package/sdk/schematics/utility/json-utils.js +122 -122
  831. package/sdk/schematics/utility/project-targets.d.ts +10 -10
  832. package/sdk/schematics/utility/project-targets.js +34 -34
  833. package/sdk/schematics/utility/project.d.ts +12 -12
  834. package/sdk/schematics/utility/project.js +47 -47
  835. package/sdk/schematics/utility/schematics-helper.d.ts +18 -18
  836. package/sdk/schematics/utility/schematics-helper.js +179 -179
  837. package/sdk/schematics/utility/schematics-helper.spec.d.ts +1 -1
  838. package/sdk/schematics/utility/schematics-helper.spec.js +51 -51
  839. package/sdk/schematics/utility/workspace.d.ts +10 -10
  840. package/sdk/schematics/utility/workspace.js +46 -46
  841. package/services/content-ref.d.ts +8 -8
  842. package/services/data-filter.service.d.ts +23 -23
  843. package/services/data-source/client-side-data-source.service.d.ts +25 -25
  844. package/services/data-source/data-source-features.d.ts +10 -10
  845. package/services/data-source/data-source.service.d.ts +31 -31
  846. package/services/data-source/local-filtering-data-source.service.d.ts +45 -45
  847. package/services/data-source/noop-data-source.service.d.ts +8 -8
  848. package/services/data-source/public-api.d.ts +137 -137
  849. package/services/data-source/server-side-source.service.d.ts +23 -23
  850. package/services/dom-util.service.d.ts +20 -20
  851. package/services/edge-detection.service.d.ts +32 -32
  852. package/services/event-bus.d.ts +18 -18
  853. package/services/event-bus.service.d.ts +13 -13
  854. package/services/event-propagation.service.d.ts +35 -35
  855. package/services/history-storage.d.ts +47 -47
  856. package/services/list.service.d.ts +41 -41
  857. package/services/log-service.d.ts +48 -48
  858. package/services/notification-args.d.ts +14 -14
  859. package/services/notification-service.d.ts +24 -24
  860. package/services/position.service.d.ts +37 -37
  861. package/services/public-api.d.ts +120 -120
  862. package/services/search.service.d.ts +49 -49
  863. package/services/tab-navigation.service.d.ts +15 -15
  864. package/services/theme-switch.service.d.ts +42 -42
  865. package/services/transient-cache.service.d.ts +18 -18
  866. package/services/unit-conversion.service.d.ts +76 -76
  867. package/services/util.service.d.ts +76 -76
  868. package/services/virtual-viewport-manager.service.d.ts +42 -42
  869. package/types.d.ts +15 -15
  870. package/validators/index.d.ts +1 -1
  871. package/validators/nui-validators.d.ts +20 -20
@@ -1,229 +1,229 @@
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 { Component, HostBinding, HostListener, NgZone, ViewEncapsulation, } from "@angular/core";
21
- import { ToastPackage } from "./toast-package";
22
- import { ToastServiceBase } from "./toast.servicebase";
23
- import * as i0 from "@angular/core";
24
- import * as i1 from "./toast.servicebase";
25
- import * as i2 from "./toast-package";
26
- import * as i3 from "../icon/icon.component";
27
- import * as i4 from "../button/button.component";
28
- import * as i5 from "@angular/common";
29
- var ToastState;
30
- (function (ToastState) {
31
- ToastState["Inactive"] = "inactive";
32
- ToastState["Active"] = "active";
33
- ToastState["Removed"] = "removed";
34
- })(ToastState || (ToastState = {}));
35
- // <example-url>./../examples/index.html#/toast</example-url>
36
- /**
37
- * /**
38
- * __Name : __
39
- * Toast Component
40
- *
41
- * __Usage :__
42
- * Used to show toast, handle animation and events. Handles progress bar animation.
43
- * This component is created dynamically in ToastContainerService
44
- */
45
- export class ToastComponent {
46
- constructor(toastService, toastPackage, ngZone) {
47
- this.toastService = toastService;
48
- this.toastPackage = toastPackage;
49
- this.ngZone = ngZone;
50
- /** width of progress bar */
51
- this.width = -1;
52
- /** a combination of toast type and options.toastClass */
53
- this.toastClasses = "";
54
- this.fadeOut = true;
55
- this.display = "none";
56
- /** controls animation */
57
- this.state = ToastState.Inactive;
58
- this.subscriptions = [];
59
- this.animationFadeOutLength = 300;
60
- this.toastTypeToSeverityIcon = {
61
- error: "severity_critical",
62
- warning: "severity_warning",
63
- info: "severity_info",
64
- success: "severity_ok",
65
- };
66
- this.title = toastPackage.title;
67
- this.body = toastPackage.body;
68
- this.options = toastPackage.config;
69
- this.toastClasses = `nui-toast--${toastPackage.toastType} ${toastPackage.config.toastClass} nui-toast--animation`;
70
- this.toastIcon = this.toastTypeToSeverityIcon[toastPackage.toastType];
71
- this.closeButton = this.toastPackage.config.closeButton;
72
- const activateSubscription = this.toastPackage.toastRef
73
- .afterActivate()
74
- .subscribe(() => {
75
- this.display = "block";
76
- setTimeout(() => this.activateToast()); // Is needed to make "display: none" & "opacity" transitions working
77
- });
78
- const closeSubscription = this.toastPackage.toastRef
79
- .manualClosed()
80
- .subscribe(() => {
81
- this.remove();
82
- });
83
- this.subscriptions.push(activateSubscription, closeSubscription);
84
- }
85
- get role() {
86
- return this.toastPackage.toastType === "success" ||
87
- this.toastPackage.toastType === "info"
88
- ? "status"
89
- : "alert";
90
- }
91
- /**
92
- * triggers fade in animation and sets timeout till the toast will be dismissed
93
- */
94
- activateToast() {
95
- this.state = ToastState.Active;
96
- this.fadeOut = false;
97
- if (this.options.timeOut) {
98
- this.ngZone.runOutsideAngular(() => {
99
- this.timeout = setTimeout(() => {
100
- this.ngZone.run(() => {
101
- this.remove();
102
- });
103
- }, this.options.timeOut);
104
- });
105
- this.hideTime = new Date().getTime() + this.options.timeOut;
106
- if (this.options.progressBar) {
107
- this.intervalId = this.repeatProgressBarChange();
108
- }
109
- }
110
- }
111
- /**
112
- * tells toastService to remove this toast after animation time
113
- */
114
- remove() {
115
- if (this.state === ToastState.Removed) {
116
- return;
117
- }
118
- clearTimeout(this.timeout);
119
- this.state = ToastState.Removed;
120
- this.fadeOut = true;
121
- this.timeout = setTimeout(() => this.toastService.remove(this.toastPackage.toastId), this.animationFadeOutLength);
122
- }
123
- /**
124
- * handles click on toast itself
125
- */
126
- clickToast() {
127
- if (this.state === ToastState.Removed) {
128
- return;
129
- }
130
- this.toastPackage.triggerClick();
131
- if (this.options.clickToDismiss) {
132
- this.remove();
133
- }
134
- }
135
- /**
136
- * disables progressBar and prevents toast from closing
137
- */
138
- stickAround() {
139
- if (this.state === ToastState.Removed) {
140
- return;
141
- }
142
- clearTimeout(this.timeout);
143
- this.options.timeOut = 0;
144
- this.hideTime = 0;
145
- // disable progressBar
146
- clearInterval(this.intervalId);
147
- this.width = 0;
148
- }
149
- /**
150
- * using extendedTimeOut value to delay toast's closure
151
- */
152
- delayedHideToast() {
153
- clearInterval(this.intervalId);
154
- if (this.options.extendedTimeOut === 0 ||
155
- this.state === ToastState.Removed) {
156
- return;
157
- }
158
- this.timeout = setTimeout(() => this.remove(), this.options.extendedTimeOut);
159
- this.options.timeOut = this.options.extendedTimeOut;
160
- this.hideTime = new Date().getTime() + (this.options.timeOut || 0);
161
- this.width = 100;
162
- if (this.options.progressBar) {
163
- this.intervalId = this.repeatProgressBarChange();
164
- }
165
- }
166
- repeatProgressBarChange() {
167
- let intervalId;
168
- this.ngZone.runOutsideAngular(() => {
169
- intervalId = setInterval(() => {
170
- this.ngZone.run(() => {
171
- this.updateProgress();
172
- });
173
- }, (this.options.timeOut || 0) / 100);
174
- });
175
- // using type assertion to avoid compile time error
176
- // variable intervalId is assigned by clojure / async
177
- return intervalId;
178
- }
179
- /**
180
- * updates progress bar width
181
- */
182
- updateProgress() {
183
- if (this.width === 0 || !this.options.timeOut) {
184
- return;
185
- }
186
- const now = new Date().getTime();
187
- const remaining = this.hideTime - now;
188
- this.width = (remaining / this.options.timeOut) * 100;
189
- if (this.options.progressAnimation === "increasing") {
190
- this.width = 100 - this.width;
191
- }
192
- if (this.width <= 0) {
193
- this.width = 0;
194
- }
195
- if (this.width >= 100) {
196
- this.width = 100;
197
- }
198
- }
199
- ngOnDestroy() {
200
- this.subscriptions.forEach((subscription) => subscription.unsubscribe());
201
- clearInterval(this.intervalId);
202
- clearTimeout(this.timeout);
203
- }
204
- }
205
- ToastComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToastComponent, deps: [{ token: i1.ToastServiceBase }, { token: i2.ToastPackage }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
206
- ToastComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ToastComponent, selector: "nui-toast-component", host: { listeners: { "click": "clickToast()", "mouseenter": "stickAround()", "mouseleave": "delayedHideToast()" }, properties: { "attr.role": "role", "class": "this.toastClasses", "class.nui-toast--fade-out": "this.fadeOut", "style.display": "this.display" } }, ngImport: i0, template: "<div\n class=\"nui-toast__content d-flex flex-nowrap flex-row justify-content-between align-items-start\"\n [class.nui-toast__content--without-close-button]=\"!closeButton\"\n>\n <nui-icon\n class=\"nui-toast__status-icon\"\n iconSize=\"large\"\n icon=\"{{ toastIcon }}\"\n ></nui-icon>\n <div class=\"nui-toast__content-message flex-grow-1\">\n <span\n *ngIf=\"title\"\n class=\"nui-toast__content-title\"\n [attr.aria-label]=\"title\"\n >{{ title }}</span\n >\n <span\n *ngIf=\"body && options.enableHtml\"\n class=\"nui-toast__content-body\"\n [innerHTML]=\"body\"\n ></span>\n <span\n *ngIf=\"body && !options.enableHtml\"\n class=\"nui-toast__content-body\"\n [attr.aria-label]=\"body\"\n >{{ body }}</span\n >\n </div>\n <button\n *ngIf=\"options.closeButton\"\n nui-button\n type=\"button\"\n class=\"nui-toast__dismiss-button\"\n displayStyle=\"action\"\n size=\"default\"\n icon=\"close\"\n (click)=\"remove()\"\n ></button>\n</div>\n<div\n *ngIf=\"options.progressBar\"\n class=\"nui-toast__progress\"\n [style.width.%]=\"width\"\n></div>\n", styles: [".nui .nui-toast{box-shadow:0 0 5px 0 var(--nui-shadow-color, rgba(17, 17, 17, .3));margin-bottom:5px;max-width:450px;min-width:350px;overflow:hidden;pointer-events:auto;position:relative}.nui .nui-toast:before{content:\" \";height:100%;left:0;position:absolute;top:0;width:100%;z-index:-1;opacity:.8;filter:alpha(opacity=80);background-color:var(--nui-color-bg-light,#fff);transition:all .2s linear}.nui .nui-toast:hover:before{opacity:1;filter:alpha(opacity=100)}.nui .nui-toast:last-child{margin-bottom:0}.nui .nui-toast--info .nui-toast__content{background-color:var(--nui-color-semantic-info-bg,#e8f4f7);border-color:var(--nui-color-line-info,#1c8eb1)}.nui .nui-toast--info .nui-toast__progress{background-color:var(--nui-color-line-info,#1c8eb1)}.nui .nui-toast--error .nui-toast__content{background-color:var(--nui-color-semantic-critical-bg,#fceae6);border-color:var(--nui-color-line-critical,#dd2c00)}.nui .nui-toast--error .nui-toast__progress{background-color:var(--nui-color-line-critical,#dd2c00)}.nui .nui-toast--warning .nui-toast__content{background-color:var(--nui-color-semantic-warning-bg,#fff9e6);border-color:var(--nui-color-line-warning,#fec405)}.nui .nui-toast--warning .nui-toast__progress{background-color:var(--nui-color-semantic-warning,#fec405)}.nui .nui-toast--success .nui-toast__content{background-color:var(--nui-color-semantic-ok-bg,#e6f6ee);border-color:var(--nui-color-line-ok,#00a753)}.nui .nui-toast--success .nui-toast__progress{background-color:var(--nui-color-semantic-ok,#00a753)}.nui .nui-toast--animation{transition:all .3s linear}.nui .nui-toast--fade-out{opacity:0;filter:alpha(opacity=0)}.nui .nui-toast--fade-out:before{opacity:0;filter:alpha(opacity=0)}.nui .nui-toast__container{pointer-events:none;position:fixed;z-index:1070}.nui .nui-toast__content{border-radius:0;border:1px solid;position:relative;opacity:.8;filter:alpha(opacity=80);color:var(--nui-color-text-default,#111)}.nui .nui-toast__content:hover{opacity:1;filter:alpha(opacity=100)}.nui .nui-toast__content-message{line-height:16px;margin:10px 0}.nui .nui-toast__content-title{font-weight:600}.nui .nui-toast__content-title+.nui-toast__content-body:before{content:\" \"}.nui .nui-toast__content--without-close-button .nui-toast__content-message{margin-right:10px}.nui .nui-toast__status-icon{margin:10px}.nui .nui-toast__dismiss-button{margin:3px}.nui .nui-toast__progress{bottom:0;height:3px;left:0;margin-top:5px;position:absolute}.nui .nui-toast--top-left{left:5px;top:45px}.nui .nui-toast--top-right{right:5px;top:45px}.nui .nui-toast--bottom-left{bottom:5px;left:5px}.nui .nui-toast--bottom-right{bottom:5px;right:5px}.nui .nui-toast--top-center{right:0;top:45px;width:100%}.nui .nui-toast--top-center .nui-toast{margin-left:auto;margin-right:auto}.nui .nui-toast--bottom-center{bottom:5px;right:0;width:100%}.nui .nui-toast--bottom-center .nui-toast{margin-left:auto;margin-right:auto}.nui .nui-toast--top-full-width{right:0;top:0;width:100%}.nui .nui-toast--top-full-width .nui-toast{max-width:100%;width:100%}.nui .nui-toast--bottom-full-width{bottom:0;right:0;width:100%}.nui .nui-toast--bottom-full-width .nui-toast{max-width:100%;width:100%}.nui .nui-toast .nui-toast--centered .nui-toast{margin-left:auto;margin-right:auto}.nui .nui-toast .nui-toast--full-width .nui-toast{max-width:100%;width:100%}\n"], components: [{ type: i3.IconComponent, selector: "nui-icon", inputs: ["iconColor", "brushType", "iconHoverColor", "iconSize", "cssClass", "fillContainer", "status", "childStatus", "icon", "counter"] }, { type: i4.ButtonComponent, selector: "[nui-button]", inputs: ["displayStyle", "icon", "iconColor", "iconRight", "isBusy", "isEmpty", "ariaLabel", "isRepeat", "size"] }], directives: [{ type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], encapsulation: i0.ViewEncapsulation.None });
207
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToastComponent, decorators: [{
208
- type: Component,
209
- args: [{ selector: "nui-toast-component", encapsulation: ViewEncapsulation.None, host: { "[attr.role]": "role" }, template: "<div\n class=\"nui-toast__content d-flex flex-nowrap flex-row justify-content-between align-items-start\"\n [class.nui-toast__content--without-close-button]=\"!closeButton\"\n>\n <nui-icon\n class=\"nui-toast__status-icon\"\n iconSize=\"large\"\n icon=\"{{ toastIcon }}\"\n ></nui-icon>\n <div class=\"nui-toast__content-message flex-grow-1\">\n <span\n *ngIf=\"title\"\n class=\"nui-toast__content-title\"\n [attr.aria-label]=\"title\"\n >{{ title }}</span\n >\n <span\n *ngIf=\"body && options.enableHtml\"\n class=\"nui-toast__content-body\"\n [innerHTML]=\"body\"\n ></span>\n <span\n *ngIf=\"body && !options.enableHtml\"\n class=\"nui-toast__content-body\"\n [attr.aria-label]=\"body\"\n >{{ body }}</span\n >\n </div>\n <button\n *ngIf=\"options.closeButton\"\n nui-button\n type=\"button\"\n class=\"nui-toast__dismiss-button\"\n displayStyle=\"action\"\n size=\"default\"\n icon=\"close\"\n (click)=\"remove()\"\n ></button>\n</div>\n<div\n *ngIf=\"options.progressBar\"\n class=\"nui-toast__progress\"\n [style.width.%]=\"width\"\n></div>\n", styles: [".nui .nui-toast{box-shadow:0 0 5px 0 var(--nui-shadow-color, rgba(17, 17, 17, .3));margin-bottom:5px;max-width:450px;min-width:350px;overflow:hidden;pointer-events:auto;position:relative}.nui .nui-toast:before{content:\" \";height:100%;left:0;position:absolute;top:0;width:100%;z-index:-1;opacity:.8;filter:alpha(opacity=80);background-color:var(--nui-color-bg-light,#fff);transition:all .2s linear}.nui .nui-toast:hover:before{opacity:1;filter:alpha(opacity=100)}.nui .nui-toast:last-child{margin-bottom:0}.nui .nui-toast--info .nui-toast__content{background-color:var(--nui-color-semantic-info-bg,#e8f4f7);border-color:var(--nui-color-line-info,#1c8eb1)}.nui .nui-toast--info .nui-toast__progress{background-color:var(--nui-color-line-info,#1c8eb1)}.nui .nui-toast--error .nui-toast__content{background-color:var(--nui-color-semantic-critical-bg,#fceae6);border-color:var(--nui-color-line-critical,#dd2c00)}.nui .nui-toast--error .nui-toast__progress{background-color:var(--nui-color-line-critical,#dd2c00)}.nui .nui-toast--warning .nui-toast__content{background-color:var(--nui-color-semantic-warning-bg,#fff9e6);border-color:var(--nui-color-line-warning,#fec405)}.nui .nui-toast--warning .nui-toast__progress{background-color:var(--nui-color-semantic-warning,#fec405)}.nui .nui-toast--success .nui-toast__content{background-color:var(--nui-color-semantic-ok-bg,#e6f6ee);border-color:var(--nui-color-line-ok,#00a753)}.nui .nui-toast--success .nui-toast__progress{background-color:var(--nui-color-semantic-ok,#00a753)}.nui .nui-toast--animation{transition:all .3s linear}.nui .nui-toast--fade-out{opacity:0;filter:alpha(opacity=0)}.nui .nui-toast--fade-out:before{opacity:0;filter:alpha(opacity=0)}.nui .nui-toast__container{pointer-events:none;position:fixed;z-index:1070}.nui .nui-toast__content{border-radius:0;border:1px solid;position:relative;opacity:.8;filter:alpha(opacity=80);color:var(--nui-color-text-default,#111)}.nui .nui-toast__content:hover{opacity:1;filter:alpha(opacity=100)}.nui .nui-toast__content-message{line-height:16px;margin:10px 0}.nui .nui-toast__content-title{font-weight:600}.nui .nui-toast__content-title+.nui-toast__content-body:before{content:\" \"}.nui .nui-toast__content--without-close-button .nui-toast__content-message{margin-right:10px}.nui .nui-toast__status-icon{margin:10px}.nui .nui-toast__dismiss-button{margin:3px}.nui .nui-toast__progress{bottom:0;height:3px;left:0;margin-top:5px;position:absolute}.nui .nui-toast--top-left{left:5px;top:45px}.nui .nui-toast--top-right{right:5px;top:45px}.nui .nui-toast--bottom-left{bottom:5px;left:5px}.nui .nui-toast--bottom-right{bottom:5px;right:5px}.nui .nui-toast--top-center{right:0;top:45px;width:100%}.nui .nui-toast--top-center .nui-toast{margin-left:auto;margin-right:auto}.nui .nui-toast--bottom-center{bottom:5px;right:0;width:100%}.nui .nui-toast--bottom-center .nui-toast{margin-left:auto;margin-right:auto}.nui .nui-toast--top-full-width{right:0;top:0;width:100%}.nui .nui-toast--top-full-width .nui-toast{max-width:100%;width:100%}.nui .nui-toast--bottom-full-width{bottom:0;right:0;width:100%}.nui .nui-toast--bottom-full-width .nui-toast{max-width:100%;width:100%}.nui .nui-toast .nui-toast--centered .nui-toast{margin-left:auto;margin-right:auto}.nui .nui-toast .nui-toast--full-width .nui-toast{max-width:100%;width:100%}\n"] }]
210
- }], ctorParameters: function () { return [{ type: i1.ToastServiceBase }, { type: i2.ToastPackage }, { type: i0.NgZone }]; }, propDecorators: { toastClasses: [{
211
- type: HostBinding,
212
- args: ["class"]
213
- }], fadeOut: [{
214
- type: HostBinding,
215
- args: ["class.nui-toast--fade-out"]
216
- }], display: [{
217
- type: HostBinding,
218
- args: ["style.display"]
219
- }], clickToast: [{
220
- type: HostListener,
221
- args: ["click"]
222
- }], stickAround: [{
223
- type: HostListener,
224
- args: ["mouseenter"]
225
- }], delayedHideToast: [{
226
- type: HostListener,
227
- args: ["mouseleave"]
228
- }] } });
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 { Component, HostBinding, HostListener, NgZone, ViewEncapsulation, } from "@angular/core";
21
+ import { ToastPackage } from "./toast-package";
22
+ import { ToastServiceBase } from "./toast.servicebase";
23
+ import * as i0 from "@angular/core";
24
+ import * as i1 from "./toast.servicebase";
25
+ import * as i2 from "./toast-package";
26
+ import * as i3 from "../icon/icon.component";
27
+ import * as i4 from "../button/button.component";
28
+ import * as i5 from "@angular/common";
29
+ var ToastState;
30
+ (function (ToastState) {
31
+ ToastState["Inactive"] = "inactive";
32
+ ToastState["Active"] = "active";
33
+ ToastState["Removed"] = "removed";
34
+ })(ToastState || (ToastState = {}));
35
+ // <example-url>./../examples/index.html#/toast</example-url>
36
+ /**
37
+ * /**
38
+ * __Name : __
39
+ * Toast Component
40
+ *
41
+ * __Usage :__
42
+ * Used to show toast, handle animation and events. Handles progress bar animation.
43
+ * This component is created dynamically in ToastContainerService
44
+ */
45
+ export class ToastComponent {
46
+ constructor(toastService, toastPackage, ngZone) {
47
+ this.toastService = toastService;
48
+ this.toastPackage = toastPackage;
49
+ this.ngZone = ngZone;
50
+ /** width of progress bar */
51
+ this.width = -1;
52
+ /** a combination of toast type and options.toastClass */
53
+ this.toastClasses = "";
54
+ this.fadeOut = true;
55
+ this.display = "none";
56
+ /** controls animation */
57
+ this.state = ToastState.Inactive;
58
+ this.subscriptions = [];
59
+ this.animationFadeOutLength = 300;
60
+ this.toastTypeToSeverityIcon = {
61
+ error: "severity_critical",
62
+ warning: "severity_warning",
63
+ info: "severity_info",
64
+ success: "severity_ok",
65
+ };
66
+ this.title = toastPackage.title;
67
+ this.body = toastPackage.body;
68
+ this.options = toastPackage.config;
69
+ this.toastClasses = `nui-toast--${toastPackage.toastType} ${toastPackage.config.toastClass} nui-toast--animation`;
70
+ this.toastIcon = this.toastTypeToSeverityIcon[toastPackage.toastType];
71
+ this.closeButton = this.toastPackage.config.closeButton;
72
+ const activateSubscription = this.toastPackage.toastRef
73
+ .afterActivate()
74
+ .subscribe(() => {
75
+ this.display = "block";
76
+ setTimeout(() => this.activateToast()); // Is needed to make "display: none" & "opacity" transitions working
77
+ });
78
+ const closeSubscription = this.toastPackage.toastRef
79
+ .manualClosed()
80
+ .subscribe(() => {
81
+ this.remove();
82
+ });
83
+ this.subscriptions.push(activateSubscription, closeSubscription);
84
+ }
85
+ get role() {
86
+ return this.toastPackage.toastType === "success" ||
87
+ this.toastPackage.toastType === "info"
88
+ ? "status"
89
+ : "alert";
90
+ }
91
+ /**
92
+ * triggers fade in animation and sets timeout till the toast will be dismissed
93
+ */
94
+ activateToast() {
95
+ this.state = ToastState.Active;
96
+ this.fadeOut = false;
97
+ if (this.options.timeOut) {
98
+ this.ngZone.runOutsideAngular(() => {
99
+ this.timeout = setTimeout(() => {
100
+ this.ngZone.run(() => {
101
+ this.remove();
102
+ });
103
+ }, this.options.timeOut);
104
+ });
105
+ this.hideTime = new Date().getTime() + this.options.timeOut;
106
+ if (this.options.progressBar) {
107
+ this.intervalId = this.repeatProgressBarChange();
108
+ }
109
+ }
110
+ }
111
+ /**
112
+ * tells toastService to remove this toast after animation time
113
+ */
114
+ remove() {
115
+ if (this.state === ToastState.Removed) {
116
+ return;
117
+ }
118
+ clearTimeout(this.timeout);
119
+ this.state = ToastState.Removed;
120
+ this.fadeOut = true;
121
+ this.timeout = setTimeout(() => this.toastService.remove(this.toastPackage.toastId), this.animationFadeOutLength);
122
+ }
123
+ /**
124
+ * handles click on toast itself
125
+ */
126
+ clickToast() {
127
+ if (this.state === ToastState.Removed) {
128
+ return;
129
+ }
130
+ this.toastPackage.triggerClick();
131
+ if (this.options.clickToDismiss) {
132
+ this.remove();
133
+ }
134
+ }
135
+ /**
136
+ * disables progressBar and prevents toast from closing
137
+ */
138
+ stickAround() {
139
+ if (this.state === ToastState.Removed) {
140
+ return;
141
+ }
142
+ clearTimeout(this.timeout);
143
+ this.options.timeOut = 0;
144
+ this.hideTime = 0;
145
+ // disable progressBar
146
+ clearInterval(this.intervalId);
147
+ this.width = 0;
148
+ }
149
+ /**
150
+ * using extendedTimeOut value to delay toast's closure
151
+ */
152
+ delayedHideToast() {
153
+ clearInterval(this.intervalId);
154
+ if (this.options.extendedTimeOut === 0 ||
155
+ this.state === ToastState.Removed) {
156
+ return;
157
+ }
158
+ this.timeout = setTimeout(() => this.remove(), this.options.extendedTimeOut);
159
+ this.options.timeOut = this.options.extendedTimeOut;
160
+ this.hideTime = new Date().getTime() + (this.options.timeOut || 0);
161
+ this.width = 100;
162
+ if (this.options.progressBar) {
163
+ this.intervalId = this.repeatProgressBarChange();
164
+ }
165
+ }
166
+ repeatProgressBarChange() {
167
+ let intervalId;
168
+ this.ngZone.runOutsideAngular(() => {
169
+ intervalId = setInterval(() => {
170
+ this.ngZone.run(() => {
171
+ this.updateProgress();
172
+ });
173
+ }, (this.options.timeOut || 0) / 100);
174
+ });
175
+ // using type assertion to avoid compile time error
176
+ // variable intervalId is assigned by clojure / async
177
+ return intervalId;
178
+ }
179
+ /**
180
+ * updates progress bar width
181
+ */
182
+ updateProgress() {
183
+ if (this.width === 0 || !this.options.timeOut) {
184
+ return;
185
+ }
186
+ const now = new Date().getTime();
187
+ const remaining = this.hideTime - now;
188
+ this.width = (remaining / this.options.timeOut) * 100;
189
+ if (this.options.progressAnimation === "increasing") {
190
+ this.width = 100 - this.width;
191
+ }
192
+ if (this.width <= 0) {
193
+ this.width = 0;
194
+ }
195
+ if (this.width >= 100) {
196
+ this.width = 100;
197
+ }
198
+ }
199
+ ngOnDestroy() {
200
+ this.subscriptions.forEach((subscription) => subscription.unsubscribe());
201
+ clearInterval(this.intervalId);
202
+ clearTimeout(this.timeout);
203
+ }
204
+ }
205
+ ToastComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToastComponent, deps: [{ token: i1.ToastServiceBase }, { token: i2.ToastPackage }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
206
+ ToastComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ToastComponent, selector: "nui-toast-component", host: { listeners: { "click": "clickToast()", "mouseenter": "stickAround()", "mouseleave": "delayedHideToast()" }, properties: { "attr.role": "role", "class": "this.toastClasses", "class.nui-toast--fade-out": "this.fadeOut", "style.display": "this.display" } }, ngImport: i0, template: "<div\n class=\"nui-toast__content d-flex flex-nowrap flex-row justify-content-between align-items-start\"\n [class.nui-toast__content--without-close-button]=\"!closeButton\"\n>\n <nui-icon\n class=\"nui-toast__status-icon\"\n iconSize=\"large\"\n icon=\"{{ toastIcon }}\"\n ></nui-icon>\n <div class=\"nui-toast__content-message flex-grow-1\">\n <span\n *ngIf=\"title\"\n class=\"nui-toast__content-title\"\n [attr.aria-label]=\"title\"\n >{{ title }}</span\n >\n <span\n *ngIf=\"body && options.enableHtml\"\n class=\"nui-toast__content-body\"\n [innerHTML]=\"body\"\n ></span>\n <span\n *ngIf=\"body && !options.enableHtml\"\n class=\"nui-toast__content-body\"\n [attr.aria-label]=\"body\"\n >{{ body }}</span\n >\n </div>\n <button\n *ngIf=\"options.closeButton\"\n nui-button\n type=\"button\"\n class=\"nui-toast__dismiss-button\"\n displayStyle=\"action\"\n size=\"default\"\n icon=\"close\"\n (click)=\"remove()\"\n ></button>\n</div>\n<div\n *ngIf=\"options.progressBar\"\n class=\"nui-toast__progress\"\n [style.width.%]=\"width\"\n></div>\n", styles: [".nui .nui-toast{box-shadow:0 0 5px 0 var(--nui-shadow-color, rgba(17, 17, 17, .3));margin-bottom:5px;max-width:450px;min-width:350px;overflow:hidden;pointer-events:auto;position:relative}.nui .nui-toast:before{content:\" \";height:100%;left:0;position:absolute;top:0;width:100%;z-index:-1;opacity:.8;filter:alpha(opacity=80);background-color:var(--nui-color-bg-light,#fff);transition:all .2s linear}.nui .nui-toast:hover:before{opacity:1;filter:alpha(opacity=100)}.nui .nui-toast:last-child{margin-bottom:0}.nui .nui-toast--info .nui-toast__content{background-color:var(--nui-color-semantic-info-bg,#e8f4f7);border-color:var(--nui-color-line-info,#1c8eb1)}.nui .nui-toast--info .nui-toast__progress{background-color:var(--nui-color-line-info,#1c8eb1)}.nui .nui-toast--error .nui-toast__content{background-color:var(--nui-color-semantic-critical-bg,#fceae6);border-color:var(--nui-color-line-critical,#dd2c00)}.nui .nui-toast--error .nui-toast__progress{background-color:var(--nui-color-line-critical,#dd2c00)}.nui .nui-toast--warning .nui-toast__content{background-color:var(--nui-color-semantic-warning-bg,#fff9e6);border-color:var(--nui-color-line-warning,#fec405)}.nui .nui-toast--warning .nui-toast__progress{background-color:var(--nui-color-semantic-warning,#fec405)}.nui .nui-toast--success .nui-toast__content{background-color:var(--nui-color-semantic-ok-bg,#e6f6ee);border-color:var(--nui-color-line-ok,#00a753)}.nui .nui-toast--success .nui-toast__progress{background-color:var(--nui-color-semantic-ok,#00a753)}.nui .nui-toast--animation{transition:all .3s linear}.nui .nui-toast--fade-out{opacity:0;filter:alpha(opacity=0)}.nui .nui-toast--fade-out:before{opacity:0;filter:alpha(opacity=0)}.nui .nui-toast__container{pointer-events:none;position:fixed;z-index:1070}.nui .nui-toast__content{border-radius:0;border:1px solid;position:relative;opacity:.8;filter:alpha(opacity=80);color:var(--nui-color-text-default,#111)}.nui .nui-toast__content:hover{opacity:1;filter:alpha(opacity=100)}.nui .nui-toast__content-message{line-height:16px;margin:10px 0}.nui .nui-toast__content-title{font-weight:600}.nui .nui-toast__content-title+.nui-toast__content-body:before{content:\" \"}.nui .nui-toast__content--without-close-button .nui-toast__content-message{margin-right:10px}.nui .nui-toast__status-icon{margin:10px}.nui .nui-toast__dismiss-button{margin:3px}.nui .nui-toast__progress{bottom:0;height:3px;left:0;margin-top:5px;position:absolute}.nui .nui-toast--top-left{left:5px;top:45px}.nui .nui-toast--top-right{right:5px;top:45px}.nui .nui-toast--bottom-left{bottom:5px;left:5px}.nui .nui-toast--bottom-right{bottom:5px;right:5px}.nui .nui-toast--top-center{right:0;top:45px;width:100%}.nui .nui-toast--top-center .nui-toast{margin-left:auto;margin-right:auto}.nui .nui-toast--bottom-center{bottom:5px;right:0;width:100%}.nui .nui-toast--bottom-center .nui-toast{margin-left:auto;margin-right:auto}.nui .nui-toast--top-full-width{right:0;top:0;width:100%}.nui .nui-toast--top-full-width .nui-toast{max-width:100%;width:100%}.nui .nui-toast--bottom-full-width{bottom:0;right:0;width:100%}.nui .nui-toast--bottom-full-width .nui-toast{max-width:100%;width:100%}.nui .nui-toast .nui-toast--centered .nui-toast{margin-left:auto;margin-right:auto}.nui .nui-toast .nui-toast--full-width .nui-toast{max-width:100%;width:100%}\n"], components: [{ type: i3.IconComponent, selector: "nui-icon", inputs: ["iconColor", "brushType", "iconHoverColor", "iconSize", "cssClass", "fillContainer", "status", "childStatus", "icon", "counter"] }, { type: i4.ButtonComponent, selector: "[nui-button]", inputs: ["displayStyle", "icon", "iconColor", "iconRight", "isBusy", "isEmpty", "ariaLabel", "isRepeat", "size"] }], directives: [{ type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], encapsulation: i0.ViewEncapsulation.None });
207
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToastComponent, decorators: [{
208
+ type: Component,
209
+ args: [{ selector: "nui-toast-component", encapsulation: ViewEncapsulation.None, host: { "[attr.role]": "role" }, template: "<div\n class=\"nui-toast__content d-flex flex-nowrap flex-row justify-content-between align-items-start\"\n [class.nui-toast__content--without-close-button]=\"!closeButton\"\n>\n <nui-icon\n class=\"nui-toast__status-icon\"\n iconSize=\"large\"\n icon=\"{{ toastIcon }}\"\n ></nui-icon>\n <div class=\"nui-toast__content-message flex-grow-1\">\n <span\n *ngIf=\"title\"\n class=\"nui-toast__content-title\"\n [attr.aria-label]=\"title\"\n >{{ title }}</span\n >\n <span\n *ngIf=\"body && options.enableHtml\"\n class=\"nui-toast__content-body\"\n [innerHTML]=\"body\"\n ></span>\n <span\n *ngIf=\"body && !options.enableHtml\"\n class=\"nui-toast__content-body\"\n [attr.aria-label]=\"body\"\n >{{ body }}</span\n >\n </div>\n <button\n *ngIf=\"options.closeButton\"\n nui-button\n type=\"button\"\n class=\"nui-toast__dismiss-button\"\n displayStyle=\"action\"\n size=\"default\"\n icon=\"close\"\n (click)=\"remove()\"\n ></button>\n</div>\n<div\n *ngIf=\"options.progressBar\"\n class=\"nui-toast__progress\"\n [style.width.%]=\"width\"\n></div>\n", styles: [".nui .nui-toast{box-shadow:0 0 5px 0 var(--nui-shadow-color, rgba(17, 17, 17, .3));margin-bottom:5px;max-width:450px;min-width:350px;overflow:hidden;pointer-events:auto;position:relative}.nui .nui-toast:before{content:\" \";height:100%;left:0;position:absolute;top:0;width:100%;z-index:-1;opacity:.8;filter:alpha(opacity=80);background-color:var(--nui-color-bg-light,#fff);transition:all .2s linear}.nui .nui-toast:hover:before{opacity:1;filter:alpha(opacity=100)}.nui .nui-toast:last-child{margin-bottom:0}.nui .nui-toast--info .nui-toast__content{background-color:var(--nui-color-semantic-info-bg,#e8f4f7);border-color:var(--nui-color-line-info,#1c8eb1)}.nui .nui-toast--info .nui-toast__progress{background-color:var(--nui-color-line-info,#1c8eb1)}.nui .nui-toast--error .nui-toast__content{background-color:var(--nui-color-semantic-critical-bg,#fceae6);border-color:var(--nui-color-line-critical,#dd2c00)}.nui .nui-toast--error .nui-toast__progress{background-color:var(--nui-color-line-critical,#dd2c00)}.nui .nui-toast--warning .nui-toast__content{background-color:var(--nui-color-semantic-warning-bg,#fff9e6);border-color:var(--nui-color-line-warning,#fec405)}.nui .nui-toast--warning .nui-toast__progress{background-color:var(--nui-color-semantic-warning,#fec405)}.nui .nui-toast--success .nui-toast__content{background-color:var(--nui-color-semantic-ok-bg,#e6f6ee);border-color:var(--nui-color-line-ok,#00a753)}.nui .nui-toast--success .nui-toast__progress{background-color:var(--nui-color-semantic-ok,#00a753)}.nui .nui-toast--animation{transition:all .3s linear}.nui .nui-toast--fade-out{opacity:0;filter:alpha(opacity=0)}.nui .nui-toast--fade-out:before{opacity:0;filter:alpha(opacity=0)}.nui .nui-toast__container{pointer-events:none;position:fixed;z-index:1070}.nui .nui-toast__content{border-radius:0;border:1px solid;position:relative;opacity:.8;filter:alpha(opacity=80);color:var(--nui-color-text-default,#111)}.nui .nui-toast__content:hover{opacity:1;filter:alpha(opacity=100)}.nui .nui-toast__content-message{line-height:16px;margin:10px 0}.nui .nui-toast__content-title{font-weight:600}.nui .nui-toast__content-title+.nui-toast__content-body:before{content:\" \"}.nui .nui-toast__content--without-close-button .nui-toast__content-message{margin-right:10px}.nui .nui-toast__status-icon{margin:10px}.nui .nui-toast__dismiss-button{margin:3px}.nui .nui-toast__progress{bottom:0;height:3px;left:0;margin-top:5px;position:absolute}.nui .nui-toast--top-left{left:5px;top:45px}.nui .nui-toast--top-right{right:5px;top:45px}.nui .nui-toast--bottom-left{bottom:5px;left:5px}.nui .nui-toast--bottom-right{bottom:5px;right:5px}.nui .nui-toast--top-center{right:0;top:45px;width:100%}.nui .nui-toast--top-center .nui-toast{margin-left:auto;margin-right:auto}.nui .nui-toast--bottom-center{bottom:5px;right:0;width:100%}.nui .nui-toast--bottom-center .nui-toast{margin-left:auto;margin-right:auto}.nui .nui-toast--top-full-width{right:0;top:0;width:100%}.nui .nui-toast--top-full-width .nui-toast{max-width:100%;width:100%}.nui .nui-toast--bottom-full-width{bottom:0;right:0;width:100%}.nui .nui-toast--bottom-full-width .nui-toast{max-width:100%;width:100%}.nui .nui-toast .nui-toast--centered .nui-toast{margin-left:auto;margin-right:auto}.nui .nui-toast .nui-toast--full-width .nui-toast{max-width:100%;width:100%}\n"] }]
210
+ }], ctorParameters: function () { return [{ type: i1.ToastServiceBase }, { type: i2.ToastPackage }, { type: i0.NgZone }]; }, propDecorators: { toastClasses: [{
211
+ type: HostBinding,
212
+ args: ["class"]
213
+ }], fadeOut: [{
214
+ type: HostBinding,
215
+ args: ["class.nui-toast--fade-out"]
216
+ }], display: [{
217
+ type: HostBinding,
218
+ args: ["style.display"]
219
+ }], clickToast: [{
220
+ type: HostListener,
221
+ args: ["click"]
222
+ }], stickAround: [{
223
+ type: HostListener,
224
+ args: ["mouseenter"]
225
+ }], delayedHideToast: [{
226
+ type: HostListener,
227
+ args: ["mouseleave"]
228
+ }] } });
229
229
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9hc3QuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2xpYi90b2FzdC90b2FzdC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi9zcmMvbGliL3RvYXN0L3RvYXN0LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLHlEQUF5RDtBQUN6RCxFQUFFO0FBQ0YsK0VBQStFO0FBQy9FLDRFQUE0RTtBQUM1RSw4RUFBOEU7QUFDOUUsK0VBQStFO0FBQy9FLDhFQUE4RTtBQUM5RSw0REFBNEQ7QUFDNUQsRUFBRTtBQUNGLDZFQUE2RTtBQUM3RSx1REFBdUQ7QUFDdkQsRUFBRTtBQUNGLDZFQUE2RTtBQUM3RSw0RUFBNEU7QUFDNUUsK0VBQStFO0FBQy9FLDBFQUEwRTtBQUMxRSxpRkFBaUY7QUFDakYsNkVBQTZFO0FBQzdFLGlCQUFpQjtBQUVqQixPQUFPLEVBQ0gsU0FBUyxFQUNULFdBQVcsRUFDWCxZQUFZLEVBQ1osTUFBTSxFQUVOLGlCQUFpQixHQUNwQixNQUFNLGVBQWUsQ0FBQztBQUt2QixPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FB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ICAgICAgICB9KTtcbiAgICAgICAgICAgIH0sICh0aGlzLm9wdGlvbnMudGltZU91dCB8fCAwKSAvIDEwMCk7XG4gICAgICAgIH0pO1xuXG4gICAgICAgIC8vIHVzaW5nIHR5cGUgYXNzZXJ0aW9uIHRvIGF2b2lkIGNvbXBpbGUgdGltZSBlcnJvclxuICAgICAgICAvLyB2YXJpYWJsZSBpbnRlcnZhbElkIGlzIGFzc2lnbmVkIGJ5IGNsb2p1cmUgLyBhc3luY1xuICAgICAgICByZXR1cm4gaW50ZXJ2YWxJZCBhcyB1bmtub3duIGFzIE5vZGVKUy5UaW1lb3V0O1xuICAgIH1cblxuICAgIC8qKlxuICAgICAqIHVwZGF0ZXMgcHJvZ3Jlc3MgYmFyIHdpZHRoXG4gICAgICovXG4gICAgcHJpdmF0ZSB1cGRhdGVQcm9ncmVzcygpIHtcbiAgICAgICAgaWYgKHRoaXMud2lkdGggPT09IDAgfHwgIXRoaXMub3B0aW9ucy50aW1lT3V0KSB7XG4gICAgICAgICAgICByZXR1cm47XG4gICAgICAgIH1cblxuICAgICAgICBjb25zdCBub3cgPSBuZXcgRGF0ZSgpLmdldFRpbWUoKTtcbiAgICAgICAgY29uc3QgcmVtYWluaW5nID0gdGhpcy5oaWRlVGltZSAtIG5vdztcblxuICAgICAgICB0aGlzLndpZHRoID0gKHJlbWFpbmluZyAvIHRoaXMub3B0aW9ucy50aW1lT3V0KSAqIDEwMDtcblxuICAgICAgICBpZiAodGhpcy5vcHRpb25zLnByb2dyZXNzQW5pbWF0aW9uID09PSBcImluY3JlYXNpbmdcIikge1xuICAgICAgICAgICAgdGhpcy53aWR0aCA9IDEwMCAtIHRoaXMud2lkdGg7XG4gICAgICAgIH1cblxuICAgICAgICBpZiAodGhpcy53aWR0aCA8PSAwKSB7XG4gICAgICAgICAgICB0aGlzLndpZHRoID0gMDtcbiAgICAgICAgfVxuXG4gICAgICAgIGlmICh0aGlzLndpZHRoID49IDEwMCkge1xuICAgICAgICAgICAgdGhpcy53aWR0aCA9IDEwMDtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIHB1YmxpYyBuZ09uRGVzdHJveSgpOiB2b2lkIHtcbiAgICAgICAgdGhpcy5zdWJzY3JpcHRpb25zLmZvckVhY2goKHN1YnNjcmlwdGlvbikgPT5cbiAgICAgICAgICAgIHN1YnNjcmlwdGlvbi51bnN1YnNjcmliZSgpXG4gICAgICAgICk7XG4gICAgICAgIGNsZWFySW50ZXJ2YWwodGhpcy5pbnRlcnZhbElkKTtcbiAgICAgICAgY2xlYXJUaW1lb3V0KHRoaXMudGltZW91dCk7XG4gICAgfVxufVxuIiwiPGRpdlxuICAgIGNsYXNzPVwibnVpLXRvYXN0X19jb250ZW50IGQtZmxleCBmbGV4LW5vd3JhcCBmbGV4LXJvdyBqdXN0aWZ5LWNvbnRlbnQtYmV0d2VlbiBhbGlnbi1pdGVtcy1zdGFydFwiXG4gICAgW2NsYXNzLm51aS10b2FzdF9fY29udGVudC0td2l0aG91dC1jbG9zZS1idXR0b25dPVwiIWNsb3NlQnV0dG9uXCJcbj5cbiAgICA8bnVpLWljb25cbiAgICAgICAgY2xhc3M9XCJudWktdG9hc3RfX3N0YXR1cy1pY29uXCJcbiAgICAgICAgaWNvblNpemU9XCJsYXJnZVwiXG4gICAgICAgIGljb249XCJ7eyB0b2FzdEljb24gfX1cIlxuICAgID48L251aS1pY29uPlxuICAgIDxkaXYgY2xhc3M9XCJudWktdG9hc3RfX2NvbnRlbnQtbWVzc2FnZSBmbGV4LWdyb3ctMVwiPlxuICAgICAgICA8c3BhblxuICAgICAgICAgICAgKm5nSWY9XCJ0aXRsZVwiXG4gICAgICAgICAgICBjbGFzcz1cIm51aS10b2FzdF9fY29udGVudC10aXRsZVwiXG4gICAgICAgICAgICBbYXR0ci5hcmlhLWxhYmVsXT1cInRpdGxlXCJcbiAgICAgICAgICAgID57eyB0aXRsZSB9fTwvc3BhblxuICAgICAgICA+XG4gICAgICAgIDxzcGFuXG4gICAgICAgICAgICAqbmdJZj1cImJvZHkgJiYgb3B0aW9ucy5lbmFibGVIdG1sXCJcbiAgICAgICAgICAgIGNsYXNzPVwibnVpLXRvYXN0X19jb250ZW50LWJvZHlcIlxuICAgICAgICAgICAgW2lubmVySFRNTF09XCJib2R5XCJcbiAgICAgICAgPjwvc3Bhbj5cbiAgICAgICAgPHNwYW5cbiAgICAgICAgICAgICpuZ0lmPVwiYm9keSAmJiAhb3B0aW9ucy5lbmFibGVIdG1sXCJcbiAgICAgICAgICAgIGNsYXNzPVwibnVpLXRvYXN0X19jb250ZW50LWJvZHlcIlxuICAgICAgICAgICAgW2F0dHIuYXJpYS1sYWJlbF09XCJib2R5XCJcbiAgICAgICAgICAgID57eyBib2R5IH19PC9zcGFuXG4gICAgICAgID5cbiAgICA8L2Rpdj5cbiAgICA8YnV0dG9uXG4gICAgICAgICpuZ0lmPVwib3B0aW9ucy5jbG9zZUJ1dHRvblwiXG4gICAgICAgIG51aS1idXR0b25cbiAgICAgICAgdHlwZT1cImJ1dHRvblwiXG4gICAgICAgIGNsYXNzPVwibnVpLXRvYXN0X19kaXNtaXNzLWJ1dHRvblwiXG4gICAgICAgIGRpc3BsYXlTdHlsZT1cImFjdGlvblwiXG4gICAgICAgIHNpemU9XCJkZWZhdWx0XCJcbiAgICAgICAgaWNvbj1cImNsb3NlXCJcbiAgICAgICAgKGNsaWNrKT1cInJlbW92ZSgpXCJcbiAgICA+PC9idXR0b24+XG48L2Rpdj5cbjxkaXZcbiAgICAqbmdJZj1cIm9wdGlvbnMucHJvZ3Jlc3NCYXJcIlxuICAgIGNsYXNzPVwibnVpLXRvYXN0X19wcm9ncmVzc1wiXG4gICAgW3N0eWxlLndpZHRoLiVdPVwid2lkdGhcIlxuPjwvZGl2PlxuIl19