@rivet-health/design-system 40.44.3 → 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 -18772
  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 -477
  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 -178
  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 -94
  54. package/esm2022/lib/layout/card/card-media.component.mjs +0 -70
  55. package/esm2022/lib/layout/card/card.component.mjs +0 -291
  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 -38
  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 -54
  204. package/lib/layout/card/card-media.component.d.ts +0 -43
  205. package/lib/layout/card/card.component.d.ts +0 -215
  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,354 +0,0 @@
1
- import { CurrencyPipe } from '@angular/common';
2
- import { DaysPipe } from '../../format/pipes/days.pipe';
3
- import { NumberPipe } from '../../format/pipes/number.pipe';
4
- import { PercentagePipe } from '../../format/pipes/percentage.pipe';
5
- import { SmallCurrencyPipe } from '../../format/pipes/small-currency.pipe';
6
- import { SmallNumberPipe } from '../../format/pipes/small-number.pipe';
7
- import { CalloutComponent } from '../../overlay/callout/callout.component';
8
- import { ContainerScalingType, DonutSizingConfig, FullChartScaleValues, FullScalingConfig } from './chart-scaling';
9
- export declare namespace Chart {
10
- export const defaultColorPalette: string[];
11
- export function chart(config: Config, data: InputData, dimensions: Dimensions): RenderedChart;
12
- export function toFlowClickEvent(hover: FlowHoverTarget, data: FlowData): FlowClickEvent;
13
- export const DEFAULT_FONT_SIZE = 12;
14
- export const WIDTH_PER_LETTER = 6.5;
15
- export function calculateColorIndices(data: NonFlowData): Map<DataY | SupplementaryDataY, number>;
16
- export function getColor(item: DataY | SupplementaryDataY | undefined, colorIndices: Map<DataY | SupplementaryDataY, number>, colors: readonly string[]): string;
17
- export type InputData = LabeledData | TimeseriesData | FlowData;
18
- export type ProcessData = LabeledData | TimeseriesData | ProcessedFlowData;
19
- export type NonFlowData = LabeledData | TimeseriesData;
20
- type BaseData = {
21
- ys: DataY[];
22
- supplementaryYs?: SupplementaryDataY[];
23
- };
24
- export type Pattern = 'solid' | 'striped' | 'dots';
25
- export type DataY = {
26
- label: string;
27
- colorToken?: string;
28
- hidden?: boolean;
29
- isSecondary?: boolean;
30
- pattern?: Pattern;
31
- showLegendItem?: boolean;
32
- clickable?: boolean;
33
- values: number[];
34
- };
35
- export type SupplementaryDataY = DataY & {
36
- supplementalIndex: number;
37
- };
38
- export type FlowY = {
39
- steps: string[];
40
- values: number[];
41
- clickable?: boolean;
42
- };
43
- export type LabeledData = BaseData & {
44
- type: 'labeled';
45
- x: {
46
- label: string;
47
- isSecondary?: boolean;
48
- }[];
49
- };
50
- export type TimeseriesData = BaseData & {
51
- type: 'timeseries';
52
- x: number[];
53
- };
54
- export type FlowData = {
55
- type: 'flow';
56
- ys: FlowY[];
57
- };
58
- export type ProcessedFlowData = {
59
- type: 'flow-processed';
60
- x: FlowBucket[];
61
- };
62
- type FlowBucket = {
63
- totalCount: number;
64
- subBuckets: FlowSubBucket[];
65
- };
66
- type FlowSubBucket = {
67
- id: string;
68
- count: number;
69
- connections: FlowConnection[];
70
- };
71
- type FlowConnection = {
72
- direction: 'forward' | 'backward';
73
- start: string;
74
- end: string;
75
- count: number;
76
- };
77
- export type FlowConnectionRender = Omit<FlowConnection, 'direction'> & {
78
- elementType: 'connection';
79
- step: number;
80
- path: string;
81
- emphasize?: boolean;
82
- topLine: {
83
- x1: number;
84
- y1: number;
85
- x2: number;
86
- y2: number;
87
- };
88
- bottomLine: {
89
- x1: number;
90
- y1: number;
91
- x2: number;
92
- y2: number;
93
- };
94
- };
95
- type DonutData = {
96
- label: string;
97
- hidden?: boolean;
98
- value: number;
99
- isSecondary?: boolean;
100
- };
101
- type Dimensions = {
102
- width: number;
103
- height: number;
104
- };
105
- export type ChartType = 'line' | 'area' | 'bar' | 'horizontal-bar' | 'donut' | 'waterfall' | 'funnel' | 'flow';
106
- type BaseConfig = {
107
- type: ChartType;
108
- groupedTooltip: boolean;
109
- colors: string[];
110
- allowLegendToggle: boolean;
111
- zeroStateMessage: string;
112
- sizingErrorStateMessage: string;
113
- valueType: ValueType;
114
- secondaryValueType?: ValueType;
115
- truncateLegend: boolean;
116
- dateFormat?: Interval;
117
- showDataLabels?: boolean;
118
- };
119
- type DonutSubConfig = {
120
- size: 'xsmall' | 'small' | 'medium' | 'large';
121
- displayValue: string;
122
- displayLabel?: string;
123
- scalingConfig?: DonutSizingConfig;
124
- };
125
- type FlowSubConfig = {
126
- subtitleFormatString: string;
127
- subBucketsConfig: {
128
- bucketId: string;
129
- bucketName: string;
130
- color: string;
131
- isHighlighted?: boolean;
132
- }[];
133
- connectionColor?: string;
134
- };
135
- export type Config = BaseConfig & ({
136
- type: 'line' | 'area' | 'waterfall' | 'funnel';
137
- scalingConfig?: FullScalingConfig;
138
- } | {
139
- type: 'bar' | 'horizontal-bar';
140
- groupingType: 'stacked' | 'clustered';
141
- scalingConfig?: FullScalingConfig;
142
- } | {
143
- type: 'donut';
144
- donutDisplayInfo: DonutSubConfig;
145
- } | {
146
- type: 'flow';
147
- showDataLabels: true;
148
- flowConfig: FlowSubConfig;
149
- scalingConfig?: FullScalingConfig;
150
- });
151
- export const defaultConfig: Config;
152
- export const defaultDonutConfig: Config;
153
- type GenericTick = {
154
- value: number;
155
- label: string;
156
- secondaryLabel?: string;
157
- };
158
- type XTick = Omit<GenericTick, 'value'> & {
159
- x: number;
160
- };
161
- type YTick = Omit<GenericTick, 'value'> & {
162
- y: number;
163
- };
164
- type BasicRect = {
165
- elementType: 'rect';
166
- rectType?: string;
167
- x: number;
168
- y: number;
169
- width: number;
170
- height: number;
171
- offset?: number;
172
- pattern?: Pattern;
173
- rounding?: 'top' | 'bottom' | 'all' | 'none';
174
- nonDisplay?: boolean;
175
- };
176
- type FlowRect = BasicRect & {
177
- rectType: 'flow';
178
- id: string;
179
- bucketIndex: number;
180
- count: number;
181
- totalCount: number;
182
- colorOverride?: string;
183
- darken: boolean;
184
- deEmphasize: boolean;
185
- };
186
- export type Rect = (BasicRect & {
187
- rectType?: undefined;
188
- }) | FlowRect;
189
- type Circle = {
190
- cx: number;
191
- cy: number;
192
- };
193
- export type FlowHoverTarget = {
194
- hoverTarget: 'barTitle';
195
- bucketIndex: number;
196
- barId: string;
197
- } | {
198
- hoverTarget: 'bar';
199
- bucketIndex: number;
200
- barId: string;
201
- forDarken: boolean;
202
- } | {
203
- hoverTarget: 'connection';
204
- startId: string;
205
- endId: string;
206
- startBucketIndex: number;
207
- };
208
- export type FlowHoverReturn = {
209
- hoverType: 'flow';
210
- tooltip: {
211
- anchor: DOMRect;
212
- subtitle: string;
213
- secondarySubtitle?: string;
214
- };
215
- } & FlowHoverTarget;
216
- /**
217
- * Emitted when a clickable flow element is clicked. `yIndices` are the
218
- * indices into `FlowData.ys` of the paths that make up the clicked element.
219
- */
220
- export type FlowClickEvent = {
221
- count: number;
222
- yIndices: number[];
223
- } & (({
224
- bucketIndex: number;
225
- barId: string;
226
- } & ({
227
- target: 'title';
228
- } | {
229
- target: 'continuing' | 'ending';
230
- totalCount: number;
231
- })) | {
232
- target: 'connection';
233
- startBucketIndex: number;
234
- startId: string;
235
- endId: string;
236
- });
237
- export type HoverReturn = {
238
- hoverType: 'standard';
239
- xIndex: number;
240
- yIndex: number;
241
- visibleYIndex: number;
242
- isSuppValue?: boolean;
243
- suppYIndex?: number;
244
- isDropOff?: boolean;
245
- x: number;
246
- ys: number[];
247
- tooltip: {
248
- anchor: DOMRect;
249
- preferredPosition?: CalloutComponent.AnchoredPosition;
250
- date: string | null;
251
- metrics: {
252
- color: string;
253
- label: string;
254
- value: string;
255
- pattern?: Pattern;
256
- }[];
257
- };
258
- } | FlowHoverReturn | null;
259
- export type Hover = (pos: {
260
- rect: DOMRect;
261
- x: number;
262
- y: number;
263
- containerScrollX: number;
264
- containerScrollY: number;
265
- }) => HoverReturn;
266
- export type TooltipContext = {
267
- xIndex: number;
268
- yIndex: number;
269
- isSuppValue?: boolean;
270
- suppYIndex?: number;
271
- };
272
- export type RenderedChart = {
273
- chartWidth: number;
274
- chartHeight: number;
275
- chartSizingValues: FullChartScaleValues;
276
- xTicks: XTick[];
277
- yTicks: YTick[];
278
- hover?: Hover;
279
- colors: string[];
280
- lines: {
281
- pattern?: Pattern;
282
- line: string | null;
283
- }[];
284
- circles: Circle[];
285
- areas: {
286
- pattern?: Pattern;
287
- area: string | null;
288
- }[];
289
- bars: Rect[][];
290
- arcs: (string | null)[];
291
- horizontalBars: {
292
- pattern?: Pattern;
293
- horizontalBar: string | null;
294
- x: number;
295
- y: number;
296
- }[][];
297
- dataLabels: DataLabel[];
298
- waterfallLines: {
299
- x1: number;
300
- x2: number;
301
- y1: number;
302
- y2: number;
303
- }[];
304
- gradients: Rect[][];
305
- flowConnections: FlowConnectionRender[];
306
- horizontalContainerScale: ContainerScalingType;
307
- verticalContainerScale: ContainerScalingType;
308
- chartError: 'sizing' | 'config' | null;
309
- };
310
- type BasicDataLabel = {
311
- elementType: 'dataLabel';
312
- dataLabelType?: string;
313
- label: string;
314
- xPos: number;
315
- yPos: number;
316
- anchor: 'start' | 'middle' | 'end';
317
- line?: {
318
- x1: number;
319
- y1: number;
320
- x2: number;
321
- y2: number;
322
- };
323
- bold?: boolean;
324
- };
325
- type FlowDataLabel = BasicDataLabel & {
326
- elementType: 'dataLabel';
327
- dataLabelType: 'flow';
328
- bucketIndex: number;
329
- barId: string;
330
- };
331
- export type DataLabel = (BasicDataLabel & {
332
- dataLabelType?: undefined;
333
- }) | FlowDataLabel;
334
- type ValueType = 'count' | 'currency' | 'percentage' | 'days';
335
- export function getPipes(valueType: ValueType): {
336
- pipe: SmallNumberPipe;
337
- fullPipe: NumberPipe;
338
- } | {
339
- pipe: SmallCurrencyPipe;
340
- fullPipe: CurrencyPipe;
341
- } | {
342
- pipe: PercentagePipe;
343
- fullPipe: PercentagePipe;
344
- } | {
345
- pipe: DaysPipe;
346
- fullPipe: DaysPipe;
347
- };
348
- const intervals: readonly ["year", "quarter", "month", "week", "day"];
349
- export type Interval = (typeof intervals)[number];
350
- export function formatedDate(dateFormat: Interval, date: Date): string;
351
- export function convertChartDataToDonutData(chartData: NonFlowData): DonutData[];
352
- export function isBarType(type: Chart.ChartType): boolean;
353
- export {};
354
- }
@@ -1,11 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { DataTableRowComponent } from './data-table-row.component';
3
- import * as i0 from "@angular/core";
4
- export declare class DataTableCellComponent implements OnInit {
5
- private readonly row;
6
- constructor(row: DataTableRowComponent);
7
- subCell: boolean;
8
- ngOnInit(): void;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<DataTableCellComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<DataTableCellComponent, "[riv-data-table-cell]", never, {}, {}, never, ["*"], false, never>;
11
- }
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class DataTableHeaderCellComponent {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<DataTableHeaderCellComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<DataTableHeaderCellComponent, "[riv-data-table-header-cell]", never, {}, {}, never, ["*"], false, never>;
5
- }
@@ -1,6 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class DataTableRowComponent {
3
- subRow: boolean;
4
- static ɵfac: i0.ɵɵFactoryDeclaration<DataTableRowComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<DataTableRowComponent, "[riv-data-table-row]", never, { "subRow": { "alias": "subRow"; "required": false; }; }, {}, never, ["*"], false, never>;
6
- }
@@ -1,6 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class DataTableComponent {
3
- protected readonly tabIndex = 0;
4
- static ɵfac: i0.ɵɵFactoryDeclaration<DataTableComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<DataTableComponent, "riv-data-table", never, {}, {}, never, ["*"], false, never>;
6
- }
@@ -1,22 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class DonutComponent {
3
- displayLabel: string;
4
- displayValue: string;
5
- data: DonutComponent.DataPoint[];
6
- displayTooltip?: string;
7
- size: DonutComponent.Size;
8
- readonly HEIGHT = 256;
9
- get arcPaths(): (string | null)[];
10
- getFillStyle(idx: number): string;
11
- get empty(): boolean;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<DonutComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<DonutComponent, "riv-donut", never, { "displayLabel": { "alias": "displayLabel"; "required": false; }; "displayValue": { "alias": "displayValue"; "required": false; }; "data": { "alias": "data"; "required": false; }; "displayTooltip": { "alias": "displayTooltip"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, false, never>;
14
- }
15
- export declare namespace DonutComponent {
16
- type DataPoint = {
17
- value: number;
18
- colorToken: string;
19
- };
20
- const Sizes: readonly ["xsmall", "small", "medium", "large"];
21
- type Size = (typeof Sizes)[number];
22
- }
@@ -1,30 +0,0 @@
1
- import { OnChanges } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class FunnelChartComponent implements OnChanges {
4
- data: FunnelChartComponent.Data[];
5
- isPreAggregated: boolean;
6
- graphHeight: number;
7
- graphWidth: number;
8
- showConverted: boolean;
9
- aggregatedValues: number[];
10
- percentageSteps: number[];
11
- trends: number[];
12
- path: string | null;
13
- gapWidth: number;
14
- sectionWidth: number;
15
- allZeroes: boolean;
16
- ngOnChanges(): void;
17
- calcValues(): void;
18
- calcTrends(): void;
19
- calcSpace(): void;
20
- createPath(): void;
21
- static ɵfac: i0.ɵɵFactoryDeclaration<FunnelChartComponent, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<FunnelChartComponent, "riv-funnel", never, { "data": { "alias": "data"; "required": false; }; "isPreAggregated": { "alias": "isPreAggregated"; "required": false; }; "graphHeight": { "alias": "graphHeight"; "required": false; }; "graphWidth": { "alias": "graphWidth"; "required": false; }; "showConverted": { "alias": "showConverted"; "required": false; }; }, {}, never, never, false, never>;
23
- }
24
- export declare namespace FunnelChartComponent {
25
- type Data = {
26
- label: string;
27
- value: number;
28
- previousValue: number | null;
29
- };
30
- }
@@ -1,4 +0,0 @@
1
- export declare function aggregateValues(values: number[]): number[];
2
- export declare function calcPercentageSteps(values: number[]): number[];
3
- export declare function calcTrends(values: number[], previousValues: number[]): number[];
4
- export declare function calcPoints(values: number[], sectionWidth: number, height: number, gap: number): [number, number][];
@@ -1,15 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class HighlightComponent {
3
- text: string;
4
- indices: HighlightComponent.HighlightIndices[];
5
- getChunks(): HighlightComponent.Chunk[];
6
- static ɵfac: i0.ɵɵFactoryDeclaration<HighlightComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<HighlightComponent, "riv-highlight", never, { "text": { "alias": "text"; "required": false; }; "indices": { "alias": "indices"; "required": false; }; }, {}, never, never, false, never>;
8
- }
9
- export declare namespace HighlightComponent {
10
- type HighlightIndices = [number, number];
11
- type Chunk = {
12
- highlight: boolean;
13
- text: string;
14
- };
15
- }
@@ -1,2 +0,0 @@
1
- import { HighlightComponent } from './highlight.component';
2
- export declare function chunks(text: string, indices: HighlightComponent.HighlightIndices[]): HighlightComponent.Chunk[];
@@ -1,8 +0,0 @@
1
- import { TimeInterval } from 'd3-time';
2
- export declare const intervals: readonly ["year", "quarter", "month", "week", "day"];
3
- export type Interval = (typeof intervals)[number];
4
- export declare function getTimeInterval(interval: Interval): TimeInterval;
5
- export declare function getMinorIntervalFormat(interval: Interval): "%Y" | "%-d" | "%b" | "Q%q";
6
- export declare function getMajorInterval(interval: Interval): "year" | "month";
7
- export declare function getMajorIntervalFormat(interval: ReturnType<typeof getMajorInterval>, hasMultipleYears: boolean): "" | "%Y" | "%b %Y" | "%b";
8
- export declare function getIntervalTitle(interval: Interval): "Years" | "Quarters" | "Months" | "Weeks" | "Days";
@@ -1,10 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class IssueComponent {
3
- label?: string;
4
- colorToken: string;
5
- textColorOverride?: string;
6
- get backgroundColor(): string;
7
- get textColor(): string;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<IssueComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<IssueComponent, "riv-issue", never, { "label": { "alias": "label"; "required": false; }; "colorToken": { "alias": "colorToken"; "required": false; }; "textColorOverride": { "alias": "textColorOverride"; "required": false; }; }, {}, never, never, false, never>;
10
- }
@@ -1,22 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class LegendItemComponent {
4
- label: string;
5
- colorToken: string;
6
- style: LegendItemComponent.Style;
7
- visibility: LegendItemComponent.Visibility;
8
- iconTooltip?: string;
9
- get backgroundColor(): string;
10
- clickable: boolean;
11
- showCheckWhenClickable: boolean;
12
- itemClick: EventEmitter<MouseEvent>;
13
- isLegendItemClickable(): boolean;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<LegendItemComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<LegendItemComponent, "riv-legend-item", never, { "label": { "alias": "label"; "required": false; }; "colorToken": { "alias": "colorToken"; "required": false; }; "style": { "alias": "style"; "required": false; }; "visibility": { "alias": "visibility"; "required": false; }; "iconTooltip": { "alias": "iconTooltip"; "required": false; }; "clickable": { "alias": "clickable"; "required": false; }; "showCheckWhenClickable": { "alias": "showCheckWhenClickable"; "required": false; }; }, { "itemClick": "itemClick"; }, never, never, false, never>;
16
- }
17
- export declare namespace LegendItemComponent {
18
- const Styles: readonly ["solid", "striped", "dots"];
19
- type Style = (typeof Styles)[number];
20
- const Visibilities: readonly ["visible", "hidden", "locked"];
21
- type Visibility = (typeof Visibilities)[number];
22
- }
@@ -1,20 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class MetricComponent {
3
- label: string;
4
- value: string;
5
- size: MetricComponent.Size;
6
- compact: boolean;
7
- card: boolean;
8
- help?: string;
9
- align?: MetricComponent.Alignment;
10
- valueColorToken?: string;
11
- get valueColor(): string;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<MetricComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<MetricComponent, "riv-metric", never, { "label": { "alias": "label"; "required": false; }; "value": { "alias": "value"; "required": false; }; "size": { "alias": "size"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "card": { "alias": "card"; "required": false; }; "help": { "alias": "help"; "required": false; }; "align": { "alias": "align"; "required": false; }; "valueColorToken": { "alias": "valueColorToken"; "required": false; }; }, {}, never, ["*"], false, never>;
14
- }
15
- export declare namespace MetricComponent {
16
- const Sizes: readonly ["xsmall", "small", "medium", "large"];
17
- type Size = (typeof Sizes)[number];
18
- const Alignments: readonly ["left", "center", "right"];
19
- type Alignment = (typeof Alignments)[number];
20
- }
@@ -1,17 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class MiniPieComponent {
3
- value: number;
4
- size: MiniPieComponent.Size;
5
- colorToken: string;
6
- get classes(): string;
7
- get clampedValue(): number;
8
- get fillColor(): string;
9
- get isFull(): boolean;
10
- get wedgePath(): string;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<MiniPieComponent, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<MiniPieComponent, "riv-mini-pie", never, { "value": { "alias": "value"; "required": false; }; "size": { "alias": "size"; "required": false; }; "colorToken": { "alias": "colorToken"; "required": false; }; }, {}, never, never, false, never>;
13
- }
14
- export declare namespace MiniPieComponent {
15
- const Sizes: readonly ["small", "medium", "large"];
16
- type Size = (typeof Sizes)[number];
17
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class ProgressComponent {
3
- value: number;
4
- max: number;
5
- getWidth(): string;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<ProgressComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<ProgressComponent, "riv-progress", never, { "value": { "alias": "value"; "required": false; }; "max": { "alias": "max"; "required": false; }; }, {}, never, never, false, never>;
8
- }