@rivet-health/design-system 40.44.4 → 41.0.0

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 (302) hide show
  1. package/fesm2022/rivet-health-design-system.mjs +23103 -18810
  2. package/fesm2022/rivet-health-design-system.mjs.map +1 -1
  3. package/package.json +8 -9
  4. package/types/rivet-health-design-system.d.ts +6566 -0
  5. package/esm2022/lib/accessibility/sr-only/sr-only.component.mjs +0 -18
  6. package/esm2022/lib/download/download.service.mjs +0 -47
  7. package/esm2022/lib/format/pipes/common.mjs +0 -24
  8. package/esm2022/lib/format/pipes/date.pipe.mjs +0 -20
  9. package/esm2022/lib/format/pipes/days.pipe.mjs +0 -20
  10. package/esm2022/lib/format/pipes/dollars.pipe.mjs +0 -19
  11. package/esm2022/lib/format/pipes/number.pipe.mjs +0 -19
  12. package/esm2022/lib/format/pipes/percentage.pipe.mjs +0 -19
  13. package/esm2022/lib/format/pipes/sentence-case.pipe.mjs +0 -61
  14. package/esm2022/lib/format/pipes/small-currency.pipe.mjs +0 -24
  15. package/esm2022/lib/format/pipes/small-number.pipe.mjs +0 -29
  16. package/esm2022/lib/format/svg-text-truncate/svg-text-truncate.directive.mjs +0 -62
  17. package/esm2022/lib/format/truncate/truncate.component.mjs +0 -51
  18. package/esm2022/lib/icon/dom-cache.mjs +0 -32
  19. package/esm2022/lib/icon/icon.component.mjs +0 -86
  20. package/esm2022/lib/icon/icons.mjs +0 -271
  21. package/esm2022/lib/input/alphabetic-field/alphabetic-field.component.mjs +0 -42
  22. package/esm2022/lib/input/auto-focus/auto-focus.directive.mjs +0 -48
  23. package/esm2022/lib/input/button/button.component.mjs +0 -139
  24. package/esm2022/lib/input/button-group/button-group.component.mjs +0 -39
  25. package/esm2022/lib/input/calendar/calendar.component.mjs +0 -318
  26. package/esm2022/lib/input/card-checkbox/card-checkbox.component.mjs +0 -13
  27. package/esm2022/lib/input/checkbox/checkbox.component.mjs +0 -84
  28. package/esm2022/lib/input/currency-field/currency-field.component.mjs +0 -26
  29. package/esm2022/lib/input/date/date.component.mjs +0 -279
  30. package/esm2022/lib/input/date-range/date-range.component.mjs +0 -478
  31. package/esm2022/lib/input/filter-chip/filter-chip.component.mjs +0 -47
  32. package/esm2022/lib/input/filter-dropdown/filter-dropdown.component.mjs +0 -89
  33. package/esm2022/lib/input/input-label/input-label.component.mjs +0 -38
  34. package/esm2022/lib/input/mentions-input/mentions-input.component.mjs +0 -745
  35. package/esm2022/lib/input/number-field/number-field.component.mjs +0 -125
  36. package/esm2022/lib/input/percentage-field/percentage-field.component.mjs +0 -20
  37. package/esm2022/lib/input/phone-field/phone-field.component.mjs +0 -74
  38. package/esm2022/lib/input/radio/radio.component.mjs +0 -58
  39. package/esm2022/lib/input/search/search.component.mjs +0 -26
  40. package/esm2022/lib/input/search-select/search-select.component.mjs +0 -189
  41. package/esm2022/lib/input/select/select/select.component.mjs +0 -179
  42. package/esm2022/lib/input/select/select-node/select-node.component.mjs +0 -60
  43. package/esm2022/lib/input/select/state.mjs +0 -882
  44. package/esm2022/lib/input/simple-select/option-group.pipe.mjs +0 -19
  45. package/esm2022/lib/input/simple-select/simple-select.component.mjs +0 -178
  46. package/esm2022/lib/input/switch-checkbox/switch-checkbox.component.mjs +0 -33
  47. package/esm2022/lib/input/text-field/text-field.component.mjs +0 -115
  48. package/esm2022/lib/input/textarea-field/textarea-field.component.mjs +0 -21
  49. package/esm2022/lib/input/validation-message/validation-message.component.mjs +0 -17
  50. package/esm2022/lib/layout/card/card-actions.component.mjs +0 -72
  51. package/esm2022/lib/layout/card/card-content.component.mjs +0 -64
  52. package/esm2022/lib/layout/card/card-header.component.mjs +0 -201
  53. package/esm2022/lib/layout/card/card-link.component.mjs +0 -115
  54. package/esm2022/lib/layout/card/card-media.component.mjs +0 -70
  55. package/esm2022/lib/layout/card/card.component.mjs +0 -306
  56. package/esm2022/lib/layout/setting-row/setting-row.component.mjs +0 -111
  57. package/esm2022/lib/load/loading/loading.component.mjs +0 -43
  58. package/esm2022/lib/load/loading-cover/loading-cover.component.mjs +0 -25
  59. package/esm2022/lib/navigation/editable-heading/editable-heading.component.mjs +0 -243
  60. package/esm2022/lib/navigation/link/link.component.mjs +0 -48
  61. package/esm2022/lib/navigation/page-header/page-header.component.mjs +0 -68
  62. package/esm2022/lib/navigation/simple-tabs/simple-tab/simple-tab.component.mjs +0 -43
  63. package/esm2022/lib/navigation/simple-tabs/simple-tabs/simple-tabs.component.mjs +0 -11
  64. package/esm2022/lib/navigation/tabs/tab/tab.component.mjs +0 -16
  65. package/esm2022/lib/navigation/tabs/tabs/tabs.component.mjs +0 -11
  66. package/esm2022/lib/navigation/views/all-views-modal/all-views-modal.component.mjs +0 -43
  67. package/esm2022/lib/navigation/views/edit-view/edit-view.component.mjs +0 -118
  68. package/esm2022/lib/navigation/views/permission-picker/permission-picker.component.mjs +0 -151
  69. package/esm2022/lib/navigation/views/state.mjs +0 -456
  70. package/esm2022/lib/navigation/views/view-menu/view-menu.component.mjs +0 -30
  71. package/esm2022/lib/navigation/views/views/views.component.mjs +0 -90
  72. package/esm2022/lib/notification/badge/badge.component.mjs +0 -45
  73. package/esm2022/lib/notification/banner/banner-action.component.mjs +0 -48
  74. package/esm2022/lib/notification/banner/banner.component.mjs +0 -61
  75. package/esm2022/lib/notification/map-indicator/map-indicator.component.mjs +0 -50
  76. package/esm2022/lib/notification/map-indicator/map-indicators.mjs +0 -15
  77. package/esm2022/lib/notification/notification-badge/notification-badge.component.mjs +0 -26
  78. package/esm2022/lib/overlay/callout/callout.component.mjs +0 -130
  79. package/esm2022/lib/overlay/callout/callout.helpers.mjs +0 -113
  80. package/esm2022/lib/overlay/callout/help/help.component.mjs +0 -23
  81. package/esm2022/lib/overlay/callout/lock-scroll.directive.mjs +0 -69
  82. package/esm2022/lib/overlay/callout/menu/menu-item/menu-item.component.mjs +0 -71
  83. package/esm2022/lib/overlay/callout/menu/menu.component.mjs +0 -39
  84. package/esm2022/lib/overlay/callout/select-callout-defaults.mjs +0 -13
  85. package/esm2022/lib/overlay/callout/tooltip/locked-tooltip.directive.mjs +0 -30
  86. package/esm2022/lib/overlay/callout/tooltip/tooltip.component.mjs +0 -57
  87. package/esm2022/lib/overlay/callout/tooltip/tooltip.directive.mjs +0 -138
  88. package/esm2022/lib/overlay/modal/dialog/dialog.component.mjs +0 -47
  89. package/esm2022/lib/overlay/modal/dialog-stack.service.mjs +0 -41
  90. package/esm2022/lib/overlay/modal/form-dialog/form-dialog.component.mjs +0 -146
  91. package/esm2022/lib/overlay/modal/modal.component.mjs +0 -31
  92. package/esm2022/lib/overlay/modal/side-sheet/side-sheet.component.mjs +0 -30
  93. package/esm2022/lib/overlay/overlay-outlet.component.mjs +0 -98
  94. package/esm2022/lib/overlay/overlay.directive.mjs +0 -25
  95. package/esm2022/lib/overlay/overlay.service.mjs +0 -35
  96. package/esm2022/lib/overlay/toast/toast-action.component.mjs +0 -11
  97. package/esm2022/lib/overlay/toast/toast.component.mjs +0 -41
  98. package/esm2022/lib/riv.module.mjs +0 -580
  99. package/esm2022/lib/size/size.directive.mjs +0 -33
  100. package/esm2022/lib/table/simple-table/coordinate-helper.mjs +0 -61
  101. package/esm2022/lib/table/simple-table/simple-table-cell.component.mjs +0 -36
  102. package/esm2022/lib/table/simple-table/simple-table-header-cell.component.mjs +0 -37
  103. package/esm2022/lib/table/simple-table/simple-table-row.component.mjs +0 -19
  104. package/esm2022/lib/table/simple-table/simple-table.component.mjs +0 -104
  105. package/esm2022/lib/table/table/clipboard.mjs +0 -182
  106. package/esm2022/lib/table/table/state-helpers/collapse-helpers.mjs +0 -116
  107. package/esm2022/lib/table/table/state-helpers/column-helpers.mjs +0 -383
  108. package/esm2022/lib/table/table/state-helpers/display-helpers.mjs +0 -50
  109. package/esm2022/lib/table/table/state-helpers/nesting-helpers.mjs +0 -123
  110. package/esm2022/lib/table/table/state-helpers/order-helpers.mjs +0 -164
  111. package/esm2022/lib/table/table/state-helpers/pagination-helpers.mjs +0 -139
  112. package/esm2022/lib/table/table/state-helpers/result-helpers.mjs +0 -70
  113. package/esm2022/lib/table/table/state-helpers/search-helpers.mjs +0 -72
  114. package/esm2022/lib/table/table/state-helpers/selection-helpers.mjs +0 -180
  115. package/esm2022/lib/table/table/state.mjs +0 -1035
  116. package/esm2022/lib/table/table/table/table.component.mjs +0 -367
  117. package/esm2022/lib/table/table/table-collapse-all/table-collapse-all.component.mjs +0 -25
  118. package/esm2022/lib/table/table/table-column-settings/table-column-settings-side-sheet.component.mjs +0 -227
  119. package/esm2022/lib/table/table/table-column-settings/table-column-settings.component.mjs +0 -134
  120. package/esm2022/lib/table/table/table-csv-export/table-csv-export.component.mjs +0 -35
  121. package/esm2022/lib/table/table/table-header-resize-handle/table-header-resize-handle.component.mjs +0 -28
  122. package/esm2022/lib/table/table/table-search/table-search.component.mjs +0 -71
  123. package/esm2022/lib/table/table/table-search-columns/table-search-columns.component.mjs +0 -57
  124. package/esm2022/lib/util/local-storage.mjs +0 -17
  125. package/esm2022/lib/visibility/visibility.directive.mjs +0 -34
  126. package/esm2022/lib/visualization/chart/chart-scaling.mjs +0 -380
  127. package/esm2022/lib/visualization/chart/chart.component.mjs +0 -626
  128. package/esm2022/lib/visualization/chart/chart.mjs +0 -3768
  129. package/esm2022/lib/visualization/data-table/data-table-cell.component.mjs +0 -22
  130. package/esm2022/lib/visualization/data-table/data-table-header-cell.component.mjs +0 -11
  131. package/esm2022/lib/visualization/data-table/data-table-row.component.mjs +0 -19
  132. package/esm2022/lib/visualization/data-table/data-table.component.mjs +0 -17
  133. package/esm2022/lib/visualization/donut/donut.component.mjs +0 -54
  134. package/esm2022/lib/visualization/funnel-chart/funnel-chart.component.mjs +0 -73
  135. package/esm2022/lib/visualization/funnel-chart/funnel-chart.helpers.mjs +0 -33
  136. package/esm2022/lib/visualization/highlight/highlight.component.mjs +0 -24
  137. package/esm2022/lib/visualization/highlight/highlight.helpers.mjs +0 -20
  138. package/esm2022/lib/visualization/intervals.mjs +0 -63
  139. package/esm2022/lib/visualization/issue/issue.component.mjs +0 -30
  140. package/esm2022/lib/visualization/legend-item/legend-item.component.mjs +0 -49
  141. package/esm2022/lib/visualization/metric/metric.component.mjs +0 -52
  142. package/esm2022/lib/visualization/mini-pie/mini-pie.component.mjs +0 -51
  143. package/esm2022/lib/visualization/progress/progress.component.mjs +0 -24
  144. package/esm2022/lib/visualization/stacked-column/stacked-column.component.mjs +0 -377
  145. package/esm2022/lib/visualization/stacked-column/stacked-column.helpers.mjs +0 -18
  146. package/esm2022/lib/visualization/stacked-row/stacked-row.component.mjs +0 -270
  147. package/esm2022/lib/visualization/stacked-row/stacked-row.helpers.mjs +0 -74
  148. package/esm2022/lib/visualization/time-series/time-series.component.mjs +0 -374
  149. package/esm2022/lib/visualization/time-series/time-series.helpers.mjs +0 -15
  150. package/esm2022/lib/visualization/trend/trend.component.mjs +0 -51
  151. package/esm2022/lib/visualization/zero-state/zero-state.component.mjs +0 -22
  152. package/esm2022/public-api.mjs +0 -118
  153. package/esm2022/rivet-health-design-system.mjs +0 -5
  154. package/index.d.ts +0 -5
  155. package/lib/accessibility/sr-only/sr-only.component.d.ts +0 -12
  156. package/lib/download/download.service.d.ts +0 -9
  157. package/lib/format/pipes/common.d.ts +0 -6
  158. package/lib/format/pipes/date.pipe.d.ts +0 -8
  159. package/lib/format/pipes/days.pipe.d.ts +0 -8
  160. package/lib/format/pipes/dollars.pipe.d.ts +0 -9
  161. package/lib/format/pipes/number.pipe.d.ts +0 -8
  162. package/lib/format/pipes/percentage.pipe.d.ts +0 -8
  163. package/lib/format/pipes/sentence-case.pipe.d.ts +0 -8
  164. package/lib/format/pipes/small-currency.pipe.d.ts +0 -8
  165. package/lib/format/pipes/small-number.pipe.d.ts +0 -8
  166. package/lib/format/svg-text-truncate/svg-text-truncate.directive.d.ts +0 -14
  167. package/lib/format/truncate/truncate.component.d.ts +0 -17
  168. package/lib/icon/dom-cache.d.ts +0 -13
  169. package/lib/icon/icon.component.d.ts +0 -27
  170. package/lib/icon/icons.d.ts +0 -137
  171. package/lib/input/alphabetic-field/alphabetic-field.component.d.ts +0 -14
  172. package/lib/input/auto-focus/auto-focus.directive.d.ts +0 -21
  173. package/lib/input/button/button.component.d.ts +0 -37
  174. package/lib/input/button-group/button-group.component.d.ts +0 -11
  175. package/lib/input/calendar/calendar.component.d.ts +0 -67
  176. package/lib/input/card-checkbox/card-checkbox.component.d.ts +0 -6
  177. package/lib/input/checkbox/checkbox.component.d.ts +0 -32
  178. package/lib/input/currency-field/currency-field.component.d.ts +0 -9
  179. package/lib/input/date/date.component.d.ts +0 -62
  180. package/lib/input/date-range/date-range.component.d.ts +0 -97
  181. package/lib/input/filter-chip/filter-chip.component.d.ts +0 -13
  182. package/lib/input/filter-dropdown/filter-dropdown.component.d.ts +0 -30
  183. package/lib/input/input-label/input-label.component.d.ts +0 -17
  184. package/lib/input/mentions-input/mentions-input.component.d.ts +0 -93
  185. package/lib/input/number-field/number-field.component.d.ts +0 -36
  186. package/lib/input/percentage-field/percentage-field.component.d.ts +0 -7
  187. package/lib/input/phone-field/phone-field.component.d.ts +0 -17
  188. package/lib/input/radio/radio.component.d.ts +0 -28
  189. package/lib/input/search/search.component.d.ts +0 -10
  190. package/lib/input/search-select/search-select.component.d.ts +0 -62
  191. package/lib/input/select/select/select.component.d.ts +0 -63
  192. package/lib/input/select/select-node/select-node.component.d.ts +0 -30
  193. package/lib/input/select/state.d.ts +0 -250
  194. package/lib/input/simple-select/option-group.pipe.d.ts +0 -8
  195. package/lib/input/simple-select/simple-select.component.d.ts +0 -63
  196. package/lib/input/switch-checkbox/switch-checkbox.component.d.ts +0 -18
  197. package/lib/input/text-field/text-field.component.d.ts +0 -38
  198. package/lib/input/textarea-field/textarea-field.component.d.ts +0 -8
  199. package/lib/input/validation-message/validation-message.component.d.ts +0 -6
  200. package/lib/layout/card/card-actions.component.d.ts +0 -38
  201. package/lib/layout/card/card-content.component.d.ts +0 -33
  202. package/lib/layout/card/card-header.component.d.ts +0 -132
  203. package/lib/layout/card/card-link.component.d.ts +0 -64
  204. package/lib/layout/card/card-media.component.d.ts +0 -43
  205. package/lib/layout/card/card.component.d.ts +0 -225
  206. package/lib/layout/setting-row/setting-row.component.d.ts +0 -72
  207. package/lib/load/loading/loading.component.d.ts +0 -17
  208. package/lib/load/loading-cover/loading-cover.component.d.ts +0 -10
  209. package/lib/navigation/editable-heading/editable-heading.component.d.ts +0 -118
  210. package/lib/navigation/link/link.component.d.ts +0 -19
  211. package/lib/navigation/page-header/page-header.component.d.ts +0 -50
  212. package/lib/navigation/simple-tabs/simple-tab/simple-tab.component.d.ts +0 -11
  213. package/lib/navigation/simple-tabs/simple-tabs/simple-tabs.component.d.ts +0 -5
  214. package/lib/navigation/tabs/tab/tab.component.d.ts +0 -6
  215. package/lib/navigation/tabs/tabs/tabs.component.d.ts +0 -5
  216. package/lib/navigation/views/all-views-modal/all-views-modal.component.d.ts +0 -14
  217. package/lib/navigation/views/edit-view/edit-view.component.d.ts +0 -31
  218. package/lib/navigation/views/permission-picker/permission-picker.component.d.ts +0 -37
  219. package/lib/navigation/views/state.d.ts +0 -175
  220. package/lib/navigation/views/view-menu/view-menu.component.d.ts +0 -13
  221. package/lib/navigation/views/views/views.component.d.ts +0 -25
  222. package/lib/notification/badge/badge.component.d.ts +0 -14
  223. package/lib/notification/banner/banner-action.component.d.ts +0 -15
  224. package/lib/notification/banner/banner.component.d.ts +0 -25
  225. package/lib/notification/map-indicator/map-indicator.component.d.ts +0 -24
  226. package/lib/notification/map-indicator/map-indicators.d.ts +0 -9
  227. package/lib/notification/notification-badge/notification-badge.component.d.ts +0 -11
  228. package/lib/overlay/callout/callout.component.d.ts +0 -36
  229. package/lib/overlay/callout/callout.helpers.d.ts +0 -16
  230. package/lib/overlay/callout/help/help.component.d.ts +0 -11
  231. package/lib/overlay/callout/lock-scroll.directive.d.ts +0 -22
  232. package/lib/overlay/callout/menu/menu-item/menu-item.component.d.ts +0 -27
  233. package/lib/overlay/callout/menu/menu.component.d.ts +0 -17
  234. package/lib/overlay/callout/select-callout-defaults.d.ts +0 -5
  235. package/lib/overlay/callout/tooltip/locked-tooltip.directive.d.ts +0 -14
  236. package/lib/overlay/callout/tooltip/tooltip.component.d.ts +0 -26
  237. package/lib/overlay/callout/tooltip/tooltip.directive.d.ts +0 -48
  238. package/lib/overlay/modal/dialog/dialog.component.d.ts +0 -19
  239. package/lib/overlay/modal/dialog-stack.service.d.ts +0 -23
  240. package/lib/overlay/modal/form-dialog/form-dialog.component.d.ts +0 -63
  241. package/lib/overlay/modal/modal.component.d.ts +0 -11
  242. package/lib/overlay/modal/side-sheet/side-sheet.component.d.ts +0 -13
  243. package/lib/overlay/overlay-outlet.component.d.ts +0 -19
  244. package/lib/overlay/overlay.directive.d.ts +0 -13
  245. package/lib/overlay/overlay.service.d.ts +0 -14
  246. package/lib/overlay/toast/toast-action.component.d.ts +0 -5
  247. package/lib/overlay/toast/toast.component.d.ts +0 -17
  248. package/lib/riv.module.d.ts +0 -122
  249. package/lib/size/size.directive.d.ts +0 -12
  250. package/lib/table/simple-table/coordinate-helper.d.ts +0 -13
  251. package/lib/table/simple-table/simple-table-cell.component.d.ts +0 -19
  252. package/lib/table/simple-table/simple-table-header-cell.component.d.ts +0 -20
  253. package/lib/table/simple-table/simple-table-row.component.d.ts +0 -6
  254. package/lib/table/simple-table/simple-table.component.d.ts +0 -11
  255. package/lib/table/table/clipboard.d.ts +0 -38
  256. package/lib/table/table/state-helpers/collapse-helpers.d.ts +0 -9
  257. package/lib/table/table/state-helpers/column-helpers.d.ts +0 -29
  258. package/lib/table/table/state-helpers/display-helpers.d.ts +0 -5
  259. package/lib/table/table/state-helpers/nesting-helpers.d.ts +0 -13
  260. package/lib/table/table/state-helpers/order-helpers.d.ts +0 -13
  261. package/lib/table/table/state-helpers/pagination-helpers.d.ts +0 -12
  262. package/lib/table/table/state-helpers/result-helpers.d.ts +0 -10
  263. package/lib/table/table/state-helpers/search-helpers.d.ts +0 -17
  264. package/lib/table/table/state-helpers/selection-helpers.d.ts +0 -13
  265. package/lib/table/table/state.d.ts +0 -512
  266. package/lib/table/table/table/table.component.d.ts +0 -88
  267. package/lib/table/table/table-collapse-all/table-collapse-all.component.d.ts +0 -10
  268. package/lib/table/table/table-column-settings/table-column-settings-side-sheet.component.d.ts +0 -52
  269. package/lib/table/table/table-column-settings/table-column-settings.component.d.ts +0 -37
  270. package/lib/table/table/table-csv-export/table-csv-export.component.d.ts +0 -14
  271. package/lib/table/table/table-header-resize-handle/table-header-resize-handle.component.d.ts +0 -11
  272. package/lib/table/table/table-search/table-search.component.d.ts +0 -21
  273. package/lib/table/table/table-search-columns/table-search-columns.component.d.ts +0 -23
  274. package/lib/util/local-storage.d.ts +0 -14
  275. package/lib/visibility/visibility.directive.d.ts +0 -12
  276. package/lib/visualization/chart/chart-scaling.d.ts +0 -100
  277. package/lib/visualization/chart/chart.component.d.ts +0 -116
  278. package/lib/visualization/chart/chart.d.ts +0 -354
  279. package/lib/visualization/data-table/data-table-cell.component.d.ts +0 -11
  280. package/lib/visualization/data-table/data-table-header-cell.component.d.ts +0 -5
  281. package/lib/visualization/data-table/data-table-row.component.d.ts +0 -6
  282. package/lib/visualization/data-table/data-table.component.d.ts +0 -6
  283. package/lib/visualization/donut/donut.component.d.ts +0 -22
  284. package/lib/visualization/funnel-chart/funnel-chart.component.d.ts +0 -30
  285. package/lib/visualization/funnel-chart/funnel-chart.helpers.d.ts +0 -4
  286. package/lib/visualization/highlight/highlight.component.d.ts +0 -15
  287. package/lib/visualization/highlight/highlight.helpers.d.ts +0 -2
  288. package/lib/visualization/intervals.d.ts +0 -8
  289. package/lib/visualization/issue/issue.component.d.ts +0 -10
  290. package/lib/visualization/legend-item/legend-item.component.d.ts +0 -22
  291. package/lib/visualization/metric/metric.component.d.ts +0 -20
  292. package/lib/visualization/mini-pie/mini-pie.component.d.ts +0 -17
  293. package/lib/visualization/progress/progress.component.d.ts +0 -8
  294. package/lib/visualization/stacked-column/stacked-column.component.d.ts +0 -129
  295. package/lib/visualization/stacked-column/stacked-column.helpers.d.ts +0 -3
  296. package/lib/visualization/stacked-row/stacked-row.component.d.ts +0 -109
  297. package/lib/visualization/stacked-row/stacked-row.helpers.d.ts +0 -53
  298. package/lib/visualization/time-series/time-series.component.d.ts +0 -126
  299. package/lib/visualization/time-series/time-series.helpers.d.ts +0 -34
  300. package/lib/visualization/trend/trend.component.d.ts +0 -13
  301. package/lib/visualization/zero-state/zero-state.component.d.ts +0 -9
  302. package/public-api.d.ts +0 -118
@@ -1,118 +0,0 @@
1
- import { ChangeDetectorRef, ElementRef, EventEmitter } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * A borderless heading with a click-to-edit title and an optional
5
- * click-to-edit description, plus a projected slot for actions.
6
- *
7
- * Layout: `[title] | [description] [actions]`
8
- *
9
- * - Click the title to rename; click the description (or the ghost
10
- * "+ Add description" button when empty) to edit it.
11
- * - Only one of title or description can be edited at a time.
12
- * - While either is being edited, the `[actions]` slot is hidden so
13
- * projected controls don't compete with the edit affordance.
14
- *
15
- * Commit semantics: `titleChange` / `descriptionChange` fire when the user
16
- * commits — Enter, outside click, or the Check button — not on every
17
- * keystroke, and always on commit (even when the value is unchanged). The
18
- * "commit" framing over "change" is deliberate: consumers that persist on
19
- * commit (analytics, PATCH) treat the gesture itself as the event; those
20
- * that only care about diffs can compare `next === current` in the handler.
21
- *
22
- * Escape cancels: reverts the draft back to the current value and drops out
23
- * of edit mode WITHOUT emitting a change. Outside-click still commits (to
24
- * match `riv-date` / `riv-select`); Escape is the deliberate abandon path.
25
- *
26
- * Value handling follows the same convention as `riv-text-field`: `[title]`
27
- * and `[description]` are treated as suggestions, not authoritative state.
28
- * On commit, the component keeps displaying the user's committed value,
29
- * and only overwrites its internal state when the parent explicitly sends
30
- * a different value. That lets the component demo out of the box (e.g. in
31
- * Storybook) without requiring a round trip through the parent.
32
- *
33
- * Programmatic entry into edit mode is available via `startEditingTitle()`
34
- * and `startEditingDescription()` — obtain a reference with
35
- * `@ViewChild(EditableHeadingComponent)`. Use these for secondary entry
36
- * points like a kebab-menu "Rename" item, or to auto-open rename after
37
- * creating a new entity.
38
- *
39
- * The component owns no border, background, or card chrome — consumers who
40
- * want a bordered container should wrap it.
41
- *
42
- * ```html
43
- * <riv-editable-heading
44
- * [title]="report.title"
45
- * [description]="report.description"
46
- * (titleChange)="onTitleCommit($event)"
47
- * (descriptionChange)="onDescriptionCommit($event)"
48
- * >
49
- * <riv-menu actions>
50
- * <ng-template #trigger>
51
- * <button rivButton [icon]="'MoreVertical'" [variant]="'ghost'"></button>
52
- * </ng-template>
53
- * <button riv-menu-item>Rename</button>
54
- * <button riv-menu-item>Duplicate</button>
55
- * </riv-menu>
56
- * <button rivButton actions [variant]="'primary'">Save</button>
57
- * </riv-editable-heading>
58
- * ```
59
- */
60
- export declare class EditableHeadingComponent {
61
- private readonly cdr;
62
- private readonly host;
63
- protected _title: string;
64
- set title(v: string);
65
- get title(): string;
66
- protected _description: string;
67
- set description(v: string);
68
- get description(): string;
69
- titleMaxLength: number;
70
- descriptionMaxLength: number;
71
- /**
72
- * When true, the title and description are not clickable and cannot be
73
- * edited. Any in-progress edit is dropped without emitting. Imperative
74
- * `startEditing*` calls no-op. Useful for consumers that need to gate
75
- * editing on a permission or a broader "actions disabled" state.
76
- */
77
- protected _disabled: boolean;
78
- set disabled(v: boolean);
79
- get disabled(): boolean;
80
- titleChange: EventEmitter<string>;
81
- descriptionChange: EventEmitter<string>;
82
- private titleInputRef?;
83
- private descriptionInputRef?;
84
- protected mode: 'view' | 'editingTitle' | 'editingDescription';
85
- protected draftTitle: string;
86
- protected draftDescription: string;
87
- constructor(cdr: ChangeDetectorRef, host: ElementRef<HTMLElement>);
88
- get isEditing(): boolean;
89
- /**
90
- * Enter title-edit mode programmatically. Same behavior as clicking the
91
- * title — populates the edit buffer from the current value, focuses the
92
- * input with the caret at the end, and hides the actions slot. No-op if
93
- * already in an editing mode or when the component is disabled.
94
- *
95
- * Intended for consumers that offer a secondary entry point to renaming
96
- * (e.g. a kebab menu item), or that want to auto-open rename after
97
- * creating a new entity. Bind via `@ViewChild(EditableHeadingComponent)`.
98
- */
99
- startEditingTitle(): void;
100
- /**
101
- * Enter description-edit mode programmatically. Same behavior as clicking
102
- * the description (or the "+ Add description" button). No-op if already
103
- * in an editing mode or when the component is disabled.
104
- */
105
- startEditingDescription(): void;
106
- protected commitTitle(): void;
107
- protected commitDescription(): void;
108
- /**
109
- * Abandon the current edit and return to view mode. No change is emitted.
110
- * Wired to the Escape key on both edit inputs; also called internally
111
- * when `disabled` flips to true mid-edit.
112
- */
113
- protected cancel(): void;
114
- protected onDocumentMouseDown(target: EventTarget | null): void;
115
- private focusEnd;
116
- static ɵfac: i0.ɵɵFactoryDeclaration<EditableHeadingComponent, never>;
117
- static ɵcmp: i0.ɵɵComponentDeclaration<EditableHeadingComponent, "riv-editable-heading", never, { "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "titleMaxLength": { "alias": "titleMaxLength"; "required": false; }; "descriptionMaxLength": { "alias": "descriptionMaxLength"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "titleChange": "titleChange"; "descriptionChange": "descriptionChange"; }, never, ["[actions]"], false, never>;
118
- }
@@ -1,19 +0,0 @@
1
- import { CalloutComponent } from '../../overlay/callout/callout.component';
2
- import * as i0 from "@angular/core";
3
- export declare class LinkComponent {
4
- private readonly parentCallout?;
5
- constructor(parentCallout?: CalloutComponent | undefined);
6
- disabled: boolean;
7
- locked: boolean;
8
- theme: LinkComponent.Theme;
9
- variant: LinkComponent.Variant;
10
- get classes(): string;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<LinkComponent, [{ optional: true; }]>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<LinkComponent, "[rivLink]", never, { "disabled": { "alias": "disabled"; "required": false; }; "locked": { "alias": "locked"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, ["*"], false, never>;
13
- }
14
- export declare namespace LinkComponent {
15
- const Themes: readonly ["light", "dark"];
16
- type Theme = (typeof Themes)[number];
17
- const Variants: readonly ["basic", "ghost"];
18
- type Variant = (typeof Variants)[number];
19
- }
@@ -1,50 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * Page header used to display the page/product the user is on.
5
- *
6
- * It has two mutually-exclusive left-side modes:
7
- * - `title` mode (default): shows a plain page title, with an optional
8
- * `description` beneath it.
9
- * - `back` mode: when `backTo` is provided, the title is replaced by a
10
- * "Back to <previous page>" button that emits `back` when activated. This is
11
- * intended for when the user navigates a level deeper (e.g. worklist →
12
- * detail view).
13
- *
14
- * The right side is a flexible content-projection slot: consumers project any
15
- * actions they need (e.g. `rivButton`, `riv-menu`, navigation arrows) into the
16
- * `[actions]` slot.
17
- *
18
- * The component owns its own horizontal gutter (`--size-large`) so it can be
19
- * dropped directly at the top of a page without a wrapper. Place it as a
20
- * sibling of (not nested inside) the page body — the body's own padding will
21
- * align with the header's.
22
- *
23
- * For visual consistency across pages, prefer `ghost`-variant `rivButton`s for
24
- * actions so they read as equal-weight, low-emphasis controls. Reserve heavier
25
- * variants (`primary`, `danger`) for a genuine primary action.
26
- *
27
- * ```html
28
- * <riv-page-header title="Patients">
29
- * <button rivButton [variant]="'ghost'" actions>Add patient</button>
30
- * <button rivButton [variant]="'ghost'" actions>Settings</button>
31
- * </riv-page-header>
32
- * ```
33
- */
34
- export declare class PageHeaderComponent {
35
- /** Page title, shown when not in back mode. */
36
- title?: string;
37
- /** Text shown beneath the title (title mode only). */
38
- description?: string;
39
- /**
40
- * Label of the previous page. When set, the header renders a back button
41
- * ("Back to {{ backTo }}") instead of the title and emits `back` on click.
42
- */
43
- backTo?: string;
44
- /** Emitted when the back button is activated (back mode only). */
45
- back: EventEmitter<void>;
46
- get isBack(): boolean;
47
- get hasDescription(): boolean;
48
- static ɵfac: i0.ɵɵFactoryDeclaration<PageHeaderComponent, never>;
49
- static ɵcmp: i0.ɵɵComponentDeclaration<PageHeaderComponent, "riv-page-header", never, { "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "backTo": { "alias": "backTo"; "required": false; }; }, { "back": "back"; }, never, ["[actions]"], false, never>;
50
- }
@@ -1,11 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class SimpleTabComponent {
3
- current: boolean;
4
- /** Styles the tab as unavailable; it doesn't block clicks or navigation. */
5
- locked: boolean;
6
- get classes(): string;
7
- get ariaCurrent(): 'true' | null;
8
- get ariaDisabled(): 'true' | null;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<SimpleTabComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<SimpleTabComponent, "[riv-simple-tab]", never, { "current": { "alias": "current"; "required": false; }; "locked": { "alias": "locked"; "required": false; }; }, {}, never, ["*"], false, never>;
11
- }
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class SimpleTabsComponent {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<SimpleTabsComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<SimpleTabsComponent, "riv-simple-tabs", never, {}, {}, never, ["*"], false, never>;
5
- }
@@ -1,6 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class TabComponent {
3
- current?: boolean;
4
- static ɵfac: i0.ɵɵFactoryDeclaration<TabComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<TabComponent, "[riv-tab]", never, { "current": { "alias": "current"; "required": false; }; }, {}, never, ["*"], false, never>;
6
- }
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class TabsComponent {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<TabsComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<TabsComponent, "riv-tabs", never, {}, {}, never, ["*"], false, never>;
5
- }
@@ -1,14 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { RivViews } from '../state';
3
- import * as i0 from "@angular/core";
4
- export declare class AllViewsModalComponent<U extends RivViews.User, V extends RivViews.View<U>> {
5
- manager?: RivViews.Manager<U, V>;
6
- topOffset: number;
7
- close: EventEmitter<void>;
8
- getOpenChange(permission: RivViews.ViewPermission): (open: boolean) => void;
9
- getPermissionTitle: typeof RivViews.getPermissionTitle;
10
- getPermissionDescription: typeof RivViews.getPermissionDescription;
11
- trackById(_: number, view: RivViews.FullView<U, V>): V['id'];
12
- static ɵfac: i0.ɵɵFactoryDeclaration<AllViewsModalComponent<any, any>, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<AllViewsModalComponent<any, any>, "riv-all-views-modal", never, { "manager": { "alias": "manager"; "required": false; }; "topOffset": { "alias": "topOffset"; "required": false; }; }, { "close": "close"; }, never, never, false, never>;
14
- }
@@ -1,31 +0,0 @@
1
- import { ChangeDetectorRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
- import { RivViews } from '../state';
3
- import * as i0 from "@angular/core";
4
- export declare class EditViewComponent<U extends RivViews.User, V extends RivViews.View<U>> implements OnInit, OnChanges {
5
- private readonly cdr;
6
- anchor?: Element | DOMRect | null;
7
- autoSelectName: boolean;
8
- view?: RivViews.FullView<U, V>;
9
- editedView?: RivViews.FullView<U, V>;
10
- userSource?: RivViews.UserSource<U>;
11
- userSelectMode: RivViews.UserSelectMode;
12
- onAddUser?: RivViews.OnAddUser<U>;
13
- newTooltip?: string;
14
- mode: 'edit' | 'create';
15
- save: EventEmitter<RivViews.FullView<U, V>>;
16
- delete: EventEmitter<RivViews.FullView<U, V>>;
17
- close: EventEmitter<void>;
18
- constructor(cdr: ChangeDetectorRef);
19
- private resetView;
20
- ngOnInit(): void;
21
- ngOnChanges(changes: SimpleChanges): void;
22
- canEdit(): boolean;
23
- isClean(): boolean;
24
- titleChange(value: string): void;
25
- onPermissionChange(value: RivViews.ViewPermission): void;
26
- onSharedUsersChange(users: U[]): void;
27
- private static readonly NO_SHARED_USERS;
28
- getSharedUsers(view?: RivViews.FullView<U, V>): U[];
29
- static ɵfac: i0.ɵɵFactoryDeclaration<EditViewComponent<any, any>, never>;
30
- static ɵcmp: i0.ɵɵComponentDeclaration<EditViewComponent<any, any>, "riv-edit-view", never, { "anchor": { "alias": "anchor"; "required": false; }; "autoSelectName": { "alias": "autoSelectName"; "required": false; }; "view": { "alias": "view"; "required": false; }; "userSource": { "alias": "userSource"; "required": false; }; "userSelectMode": { "alias": "userSelectMode"; "required": false; }; "onAddUser": { "alias": "onAddUser"; "required": false; }; "newTooltip": { "alias": "newTooltip"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; }, { "save": "save"; "delete": "delete"; "close": "close"; }, never, never, false, never>;
31
- }
@@ -1,37 +0,0 @@
1
- import { ChangeDetectorRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
2
- import { RivSelect } from '../../../input/select/state';
3
- import { RivViews } from '../state';
4
- import * as i0 from "@angular/core";
5
- export declare class PermissionPickerComponent<U extends RivViews.User> implements OnInit, OnChanges, OnDestroy {
6
- private cdr;
7
- permission: RivViews.ViewPermission;
8
- sharedUsers: U[];
9
- userSelectMode: RivViews.UserSelectMode;
10
- userSource?: RivViews.UserSource<U>;
11
- onAddUser?: RivViews.OnAddUser<U>;
12
- newTooltip?: string;
13
- disabledPermissions: RivViews.ViewPermission[];
14
- permissionChange: EventEmitter<"private" | "shared" | "public">;
15
- sharedUsersChange: EventEmitter<U[]>;
16
- readonly permissionOptions: {
17
- value: "private" | "shared" | "public";
18
- title: string;
19
- subtitle: string;
20
- }[];
21
- userSelectManager?: RivSelect.Manager<U>;
22
- private userSelectSubscription?;
23
- userOptions: RivViews.SearchSelectUser<U>[];
24
- selectedUsers: RivViews.SearchSelectUser<U>[];
25
- constructor(cdr: ChangeDetectorRef);
26
- ngOnInit(): void;
27
- ngOnChanges(changes: SimpleChanges): void;
28
- ngOnDestroy(): void;
29
- private tearDownUserSelectManager;
30
- private setUpUserSelectManager;
31
- onPermissionClick(value: RivViews.ViewPermission): void;
32
- isDisabled(permission: RivViews.ViewPermission): boolean;
33
- onSelectedUsersChange(users: RivViews.SearchSelectUser<U>[]): void;
34
- handleAddUser(searchText: string): void;
35
- static ɵfac: i0.ɵɵFactoryDeclaration<PermissionPickerComponent<any>, never>;
36
- static ɵcmp: i0.ɵɵComponentDeclaration<PermissionPickerComponent<any>, "riv-permission-picker", never, { "permission": { "alias": "permission"; "required": false; }; "sharedUsers": { "alias": "sharedUsers"; "required": false; }; "userSelectMode": { "alias": "userSelectMode"; "required": false; }; "userSource": { "alias": "userSource"; "required": false; }; "onAddUser": { "alias": "onAddUser"; "required": false; }; "newTooltip": { "alias": "newTooltip"; "required": false; }; "disabledPermissions": { "alias": "disabledPermissions"; "required": false; }; }, { "permissionChange": "permissionChange"; "sharedUsersChange": "sharedUsersChange"; }, never, never, false, never>;
37
- }
@@ -1,175 +0,0 @@
1
- import { IFuseOptions } from 'fuse.js';
2
- import { Connectable, Subject } from 'rxjs';
3
- import { DeepPartial } from 'utility-types';
4
- import { RivSelect } from '../../input/select/state';
5
- import { HighlightComponent } from '../../visualization/highlight/highlight.component';
6
- export declare namespace RivViews {
7
- const ViewPermissions: readonly ["private", "shared", "public"];
8
- type ViewPermission = (typeof ViewPermissions)[number];
9
- const MenuContexts: readonly ["tab", "all-views", "overflow"];
10
- type MenuContext = (typeof MenuContexts)[number];
11
- type User = RivSelect.BaseOption;
12
- const UserSelectModes: readonly ["select", "search-select"];
13
- type UserSelectMode = (typeof UserSelectModes)[number];
14
- type SearchSelectUser<U extends User> = U & {
15
- new: boolean;
16
- };
17
- type OnAddUser<U extends User> = (searchText: string) => SearchSelectUser<U>;
18
- type View<U extends User> = {
19
- id: string | number;
20
- title: string;
21
- enabled: boolean;
22
- } & ({
23
- permission: 'private' | 'public';
24
- } | {
25
- permission: 'shared';
26
- sharedUsers: U[];
27
- });
28
- type FullView<U extends User, V extends View<U>> = V & {
29
- active: boolean;
30
- system: boolean;
31
- titleHighlightIndices?: HighlightComponent.HighlightIndices[];
32
- temporary: boolean;
33
- };
34
- type CoreState<U extends User, V extends View<U>> = {
35
- views: V[];
36
- activeViewId: V['id'] | null;
37
- temporaryViewId: V['id'] | null;
38
- containerWidth: number;
39
- editingViewContext: {
40
- id: V['id'];
41
- autoRename: boolean;
42
- menuContext: MenuContext;
43
- } | null;
44
- deletingViewContext: {
45
- id: V['id'];
46
- menuContext: MenuContext;
47
- } | null;
48
- overflow: {
49
- search: string;
50
- pickerOpen: boolean;
51
- };
52
- all: {
53
- search: string;
54
- privateOpen: boolean;
55
- sharedOpen: boolean;
56
- publicOpen: boolean;
57
- };
58
- userSource: UserSource<U>;
59
- userSelectMode: UserSelectMode;
60
- onAddUser?: OnAddUser<U>;
61
- newTooltip?: string;
62
- hasSystemView: boolean;
63
- };
64
- type FullState<U extends User, V extends View<U>> = CoreState<U, V> & {
65
- allViews: FullView<U, V>[];
66
- displayedViews: FullView<U, V>[];
67
- enabledViews: FullView<U, V>[];
68
- allEnabledViews: FullView<U, V>[];
69
- all: {
70
- privateViews: FullView<U, V>[];
71
- sharedViews: FullView<U, V>[];
72
- publicViews: FullView<U, V>[];
73
- };
74
- };
75
- type Action<U extends User, V extends View<U>> = {
76
- type: 'load';
77
- } | {
78
- type: 'setActiveView';
79
- id: V['id'];
80
- source?: 'tab' | 'menu' | 'overflow';
81
- } | {
82
- type: 'setEnabled';
83
- id: V['id'];
84
- enabled: boolean;
85
- source?: 'menu' | 'eyeIcon';
86
- } | {
87
- type: 'setContainerWidth';
88
- width: number;
89
- } | {
90
- type: 'setOverflowPickerOpen';
91
- open: boolean;
92
- } | {
93
- type: 'setOverflowSearchQuery';
94
- query: string;
95
- } | {
96
- type: 'setAllViewsSearchQuery';
97
- query: string;
98
- } | {
99
- type: 'updateView';
100
- view: V;
101
- } | {
102
- type: 'deleteView';
103
- view: V;
104
- } | {
105
- type: 'duplicateView';
106
- view: V;
107
- menuContext: MenuContext;
108
- } | {
109
- type: 'copyLinkToView';
110
- view: V;
111
- } | {
112
- type: 'setEditingView';
113
- context: CoreState<U, V>['editingViewContext'];
114
- } | {
115
- type: 'setDeletingView';
116
- context: CoreState<U, V>['deletingViewContext'];
117
- } | {
118
- type: 'viewOrderChange';
119
- previousEnabledIndex: number;
120
- newEnabledIndex: number;
121
- source?: 'tabDrag' | 'overflowDrag';
122
- viewTitle?: V['title'];
123
- } | {
124
- type: 'setAllViewsToggle';
125
- permission: ViewPermission;
126
- open: boolean;
127
- } | {
128
- type: 'createTemporaryView';
129
- view: V;
130
- };
131
- type Source<U extends User, V extends View<U>> = () => V[] | Promise<V[]>;
132
- type Save<U extends User, V extends View<U>> = (views: V[]) => void | Promise<void>;
133
- type Duplicate<U extends User, V extends View<U>> = (viewToDuplicate: V) => V | Promise<V>;
134
- type UserSource<U extends User> = () => U[] | Promise<U[]>;
135
- type CopyLink<U extends User, V extends View<U>> = (view: V) => void | Promise<void>;
136
- type SetActiveViewId<U extends User, V extends View<U>> = (id: V['id']) => void | Promise<void>;
137
- type Manager<U extends User, V extends View<U>> = {
138
- actions: Subject<Action<U, V>>;
139
- state: Connectable<FullState<U, V>>;
140
- };
141
- type ManagerOptions<U extends User, V extends View<U>> = {
142
- initialState?: DeepPartial<CoreState<U, V>>;
143
- fuseOptions?: IFuseOptions<V>;
144
- };
145
- type CreateManagerInput<U extends User, V extends View<U>> = {
146
- source: Source<U, V>;
147
- save: Save<U, V>;
148
- duplicate: Duplicate<U, V>;
149
- userSource: UserSource<U>;
150
- userSelectMode?: UserSelectMode;
151
- onAddUser?: OnAddUser<U>;
152
- newTooltip?: string;
153
- copyLink: CopyLink<U, V>;
154
- setActiveViewId: SetActiveViewId<U, V>;
155
- options?: ManagerOptions<U, V>;
156
- };
157
- function createManager<U extends User, V extends View<U>>({ source, save, duplicate, userSource, userSelectMode, onAddUser, newTooltip, copyLink, options, setActiveViewId, }: CreateManagerInput<U, V>): Manager<U, V>;
158
- function getPermissionTitle(permission: ViewPermission): string;
159
- function getPermissionDescription(permission: ViewPermission): string;
160
- function isSharedView<U extends User, V extends View<U>>(view?: FullView<U, V>): view is FullView<U, V> & {
161
- permission: 'shared';
162
- sharedUsers: U[];
163
- };
164
- /**
165
- * Converts SearchSelectUser<U> items back to U[] for storage in sharedUsers.
166
- *
167
- * Cast required because TypeScript cannot prove that destructuring `new`
168
- * from `U & { new: boolean }` yields exactly `U` (spread/rest doesn't
169
- * narrow intersection types).
170
- *
171
- * - Strips `new: false` so isEqual() comparisons work (original users lack `new`)
172
- * - Preserves `new: true` so the backend knows which users to create
173
- */
174
- function toSharedUsers<U extends User>(users: SearchSelectUser<U>[]): U[];
175
- }
@@ -1,13 +0,0 @@
1
- import { ElementRef, TemplateRef } from '@angular/core';
2
- import { RivViews } from '../state';
3
- import * as i0 from "@angular/core";
4
- export declare class ViewMenuComponent<U extends RivViews.User, V extends RivViews.View<U>> {
5
- readonly el: ElementRef;
6
- constructor(el: ElementRef);
7
- manager?: RivViews.Manager<U, V>;
8
- view?: RivViews.FullView<U, V>;
9
- menuContext: RivViews.MenuContext;
10
- triggerTemplate?: TemplateRef<void>;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<ViewMenuComponent<any, any>, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<ViewMenuComponent<any, any>, "riv-view-menu", never, { "manager": { "alias": "manager"; "required": false; }; "view": { "alias": "view"; "required": false; }; "menuContext": { "alias": "menuContext"; "required": false; }; }, {}, ["triggerTemplate"], never, false, never>;
13
- }
@@ -1,25 +0,0 @@
1
- import { ElementRef, OnInit, TrackByFunction } from '@angular/core';
2
- import { Observable, Subject } from 'rxjs';
3
- import { IconComponent } from '../../../icon/icon.component';
4
- import { RivViews } from '../state';
5
- import * as i0 from "@angular/core";
6
- export declare class ViewsComponent<U extends RivViews.User, V extends RivViews.View<U>> implements OnInit {
7
- manager?: RivViews.Manager<U, V>;
8
- sideSheetTopOffset: number;
9
- overflowTrigger?: ElementRef;
10
- showAllViews: boolean;
11
- draggedTabIndex: number | null;
12
- draggedOverTabIndex: number | null;
13
- draggedViewTitle: V['title'] | null;
14
- dragStart(index: number, title: V['title'], isSystemView: boolean): void;
15
- dragOver(index: number, isSystemView: boolean): void;
16
- drop(index: number, overflowMenu: boolean): void;
17
- toastClosed: Subject<void>;
18
- showLinkCopiedToast?: Observable<boolean>;
19
- ngOnInit(): void;
20
- trackById: TrackByFunction<RivViews.FullView<U, V>>;
21
- getPermissionIcon(permission: RivViews.ViewPermission): IconComponent.Name;
22
- getPermissionDescription(permission: RivViews.ViewPermission): string;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<ViewsComponent<any, any>, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<ViewsComponent<any, any>, "riv-views", never, { "manager": { "alias": "manager"; "required": false; }; "sideSheetTopOffset": { "alias": "sideSheetTopOffset"; "required": false; }; }, {}, never, never, false, never>;
25
- }
@@ -1,14 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class BadgeComponent {
3
- variant: BadgeComponent.Variant;
4
- size: BadgeComponent.Size;
5
- get classes(): string;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<BadgeComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<BadgeComponent, "riv-badge", never, { "variant": { "alias": "variant"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, ["*"], false, never>;
8
- }
9
- export declare namespace BadgeComponent {
10
- const Sizes: readonly ["xsmall", "small", "medium", "large"];
11
- type Size = (typeof Sizes)[number];
12
- const Variants: readonly ["brand", "disabled", "qualitative-safety", "qualitative-caution", "qualitative-warning", "qualitative-danger", "qualitative-danger-inverse", "categorical-2", "categorical-3", "categorical-4", "categorical-6", "categorical-7", "categorical-8", "categorical-9", "categorical-10"];
13
- type Variant = (typeof Variants)[number];
14
- }
@@ -1,15 +0,0 @@
1
- import { ElementRef, OnChanges, Renderer2, SimpleChanges } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class BannerActionComponent implements OnChanges {
4
- private readonly el;
5
- private readonly renderer;
6
- constructor(el: ElementRef, renderer: Renderer2);
7
- locked?: boolean;
8
- disabled?: boolean;
9
- get isDisabled(): boolean | undefined;
10
- private disableNativeElement;
11
- private lockNativeElement;
12
- ngOnChanges(changes: SimpleChanges): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<BannerActionComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<BannerActionComponent, "[riv-banner-action]", never, { "locked": { "alias": "locked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["*"], false, never>;
15
- }
@@ -1,25 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { IconComponent } from '../../icon/icon.component';
3
- import * as i0 from "@angular/core";
4
- export declare class BannerComponent {
5
- variant: BannerComponent.Variant;
6
- icon: boolean | IconComponent.Name;
7
- iconTooltip?: string;
8
- /**
9
- * Optional bold heading rendered above the projected body content.
10
- * Intended for banners that need a short title paired with supporting
11
- * text — a banner with a heading should always include body content.
12
- * Empty or whitespace-only values are treated as no heading.
13
- */
14
- heading?: string;
15
- dismissable: boolean;
16
- get hasHeading(): boolean;
17
- getResolvedIcon(): IconComponent.Name | null;
18
- dismiss: EventEmitter<void>;
19
- static ɵfac: i0.ɵɵFactoryDeclaration<BannerComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<BannerComponent, "riv-banner", never, { "variant": { "alias": "variant"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconTooltip": { "alias": "iconTooltip"; "required": false; }; "heading": { "alias": "heading"; "required": false; }; "dismissable": { "alias": "dismissable"; "required": false; }; }, { "dismiss": "dismiss"; }, never, ["*"], false, never>;
21
- }
22
- export declare namespace BannerComponent {
23
- const Variants: readonly ["warning", "safety", "danger", "info"];
24
- type Variant = (typeof Variants)[number];
25
- }
@@ -1,24 +0,0 @@
1
- import { ElementRef, OnDestroy } from '@angular/core';
2
- import { IconComponent } from '../../icon/icon.component';
3
- import { mapIndicators } from './map-indicators';
4
- import * as i0 from "@angular/core";
5
- export declare class MapIndicatorComponent implements OnDestroy {
6
- private readonly element;
7
- private cached;
8
- constructor(element: ElementRef<HTMLElement>);
9
- set name(value: MapIndicatorComponent.Name | null);
10
- nameValue: MapIndicatorComponent.Name | null;
11
- icons: MapIndicatorComponent.MapIconInfo[];
12
- ngOnDestroy(): void;
13
- clearCached(): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<MapIndicatorComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<MapIndicatorComponent, "riv-map-indicator", never, { "name": { "alias": "name"; "required": false; }; "icons": { "alias": "icons"; "required": false; }; }, {}, never, never, false, never>;
16
- }
17
- export declare namespace MapIndicatorComponent {
18
- type Name = keyof typeof mapIndicators;
19
- type MapIconInfo = {
20
- iconName: IconComponent.Name;
21
- color?: string;
22
- rotation?: string;
23
- };
24
- }
@@ -1,9 +0,0 @@
1
- export declare const mapIndicators: {
2
- SingleSmall: string;
3
- SingleRegular: string;
4
- DoubleSmall: string;
5
- DoubleRegular: string;
6
- };
7
- export declare const mapIndicatorMap: {
8
- [key: string]: string;
9
- };
@@ -1,11 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class NotificationBadgeComponent {
3
- count: number | null;
4
- variant: NotificationBadgeComponent.Variant;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<NotificationBadgeComponent, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<NotificationBadgeComponent, "riv-notification-badge", never, { "count": { "alias": "count"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, never, false, never>;
7
- }
8
- export declare namespace NotificationBadgeComponent {
9
- const Variants: readonly ["basic", "brand"];
10
- type Variant = (typeof Variants)[number];
11
- }