@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.
- package/fesm2022/rivet-health-design-system.mjs +23103 -18772
- package/fesm2022/rivet-health-design-system.mjs.map +1 -1
- package/package.json +8 -9
- package/types/rivet-health-design-system.d.ts +6566 -0
- package/esm2022/lib/accessibility/sr-only/sr-only.component.mjs +0 -18
- package/esm2022/lib/download/download.service.mjs +0 -47
- package/esm2022/lib/format/pipes/common.mjs +0 -24
- package/esm2022/lib/format/pipes/date.pipe.mjs +0 -20
- package/esm2022/lib/format/pipes/days.pipe.mjs +0 -20
- package/esm2022/lib/format/pipes/dollars.pipe.mjs +0 -19
- package/esm2022/lib/format/pipes/number.pipe.mjs +0 -19
- package/esm2022/lib/format/pipes/percentage.pipe.mjs +0 -19
- package/esm2022/lib/format/pipes/sentence-case.pipe.mjs +0 -61
- package/esm2022/lib/format/pipes/small-currency.pipe.mjs +0 -24
- package/esm2022/lib/format/pipes/small-number.pipe.mjs +0 -29
- package/esm2022/lib/format/svg-text-truncate/svg-text-truncate.directive.mjs +0 -62
- package/esm2022/lib/format/truncate/truncate.component.mjs +0 -51
- package/esm2022/lib/icon/dom-cache.mjs +0 -32
- package/esm2022/lib/icon/icon.component.mjs +0 -86
- package/esm2022/lib/icon/icons.mjs +0 -271
- package/esm2022/lib/input/alphabetic-field/alphabetic-field.component.mjs +0 -42
- package/esm2022/lib/input/auto-focus/auto-focus.directive.mjs +0 -48
- package/esm2022/lib/input/button/button.component.mjs +0 -139
- package/esm2022/lib/input/button-group/button-group.component.mjs +0 -39
- package/esm2022/lib/input/calendar/calendar.component.mjs +0 -318
- package/esm2022/lib/input/card-checkbox/card-checkbox.component.mjs +0 -13
- package/esm2022/lib/input/checkbox/checkbox.component.mjs +0 -84
- package/esm2022/lib/input/currency-field/currency-field.component.mjs +0 -26
- package/esm2022/lib/input/date/date.component.mjs +0 -279
- package/esm2022/lib/input/date-range/date-range.component.mjs +0 -477
- package/esm2022/lib/input/filter-chip/filter-chip.component.mjs +0 -47
- package/esm2022/lib/input/filter-dropdown/filter-dropdown.component.mjs +0 -89
- package/esm2022/lib/input/input-label/input-label.component.mjs +0 -38
- package/esm2022/lib/input/mentions-input/mentions-input.component.mjs +0 -745
- package/esm2022/lib/input/number-field/number-field.component.mjs +0 -125
- package/esm2022/lib/input/percentage-field/percentage-field.component.mjs +0 -20
- package/esm2022/lib/input/phone-field/phone-field.component.mjs +0 -74
- package/esm2022/lib/input/radio/radio.component.mjs +0 -58
- package/esm2022/lib/input/search/search.component.mjs +0 -26
- package/esm2022/lib/input/search-select/search-select.component.mjs +0 -189
- package/esm2022/lib/input/select/select/select.component.mjs +0 -178
- package/esm2022/lib/input/select/select-node/select-node.component.mjs +0 -60
- package/esm2022/lib/input/select/state.mjs +0 -882
- package/esm2022/lib/input/simple-select/option-group.pipe.mjs +0 -19
- package/esm2022/lib/input/simple-select/simple-select.component.mjs +0 -178
- package/esm2022/lib/input/switch-checkbox/switch-checkbox.component.mjs +0 -33
- package/esm2022/lib/input/text-field/text-field.component.mjs +0 -115
- package/esm2022/lib/input/textarea-field/textarea-field.component.mjs +0 -21
- package/esm2022/lib/input/validation-message/validation-message.component.mjs +0 -17
- package/esm2022/lib/layout/card/card-actions.component.mjs +0 -72
- package/esm2022/lib/layout/card/card-content.component.mjs +0 -64
- package/esm2022/lib/layout/card/card-header.component.mjs +0 -201
- package/esm2022/lib/layout/card/card-link.component.mjs +0 -94
- package/esm2022/lib/layout/card/card-media.component.mjs +0 -70
- package/esm2022/lib/layout/card/card.component.mjs +0 -291
- package/esm2022/lib/layout/setting-row/setting-row.component.mjs +0 -111
- package/esm2022/lib/load/loading/loading.component.mjs +0 -43
- package/esm2022/lib/load/loading-cover/loading-cover.component.mjs +0 -25
- package/esm2022/lib/navigation/editable-heading/editable-heading.component.mjs +0 -243
- package/esm2022/lib/navigation/link/link.component.mjs +0 -48
- package/esm2022/lib/navigation/page-header/page-header.component.mjs +0 -68
- package/esm2022/lib/navigation/simple-tabs/simple-tab/simple-tab.component.mjs +0 -43
- package/esm2022/lib/navigation/simple-tabs/simple-tabs/simple-tabs.component.mjs +0 -11
- package/esm2022/lib/navigation/tabs/tab/tab.component.mjs +0 -16
- package/esm2022/lib/navigation/tabs/tabs/tabs.component.mjs +0 -11
- package/esm2022/lib/navigation/views/all-views-modal/all-views-modal.component.mjs +0 -43
- package/esm2022/lib/navigation/views/edit-view/edit-view.component.mjs +0 -118
- package/esm2022/lib/navigation/views/permission-picker/permission-picker.component.mjs +0 -151
- package/esm2022/lib/navigation/views/state.mjs +0 -456
- package/esm2022/lib/navigation/views/view-menu/view-menu.component.mjs +0 -30
- package/esm2022/lib/navigation/views/views/views.component.mjs +0 -90
- package/esm2022/lib/notification/badge/badge.component.mjs +0 -45
- package/esm2022/lib/notification/banner/banner-action.component.mjs +0 -48
- package/esm2022/lib/notification/banner/banner.component.mjs +0 -61
- package/esm2022/lib/notification/map-indicator/map-indicator.component.mjs +0 -50
- package/esm2022/lib/notification/map-indicator/map-indicators.mjs +0 -15
- package/esm2022/lib/notification/notification-badge/notification-badge.component.mjs +0 -26
- package/esm2022/lib/overlay/callout/callout.component.mjs +0 -130
- package/esm2022/lib/overlay/callout/callout.helpers.mjs +0 -113
- package/esm2022/lib/overlay/callout/help/help.component.mjs +0 -23
- package/esm2022/lib/overlay/callout/lock-scroll.directive.mjs +0 -69
- package/esm2022/lib/overlay/callout/menu/menu-item/menu-item.component.mjs +0 -71
- package/esm2022/lib/overlay/callout/menu/menu.component.mjs +0 -38
- package/esm2022/lib/overlay/callout/select-callout-defaults.mjs +0 -13
- package/esm2022/lib/overlay/callout/tooltip/locked-tooltip.directive.mjs +0 -30
- package/esm2022/lib/overlay/callout/tooltip/tooltip.component.mjs +0 -57
- package/esm2022/lib/overlay/callout/tooltip/tooltip.directive.mjs +0 -138
- package/esm2022/lib/overlay/modal/dialog/dialog.component.mjs +0 -47
- package/esm2022/lib/overlay/modal/dialog-stack.service.mjs +0 -41
- package/esm2022/lib/overlay/modal/form-dialog/form-dialog.component.mjs +0 -146
- package/esm2022/lib/overlay/modal/modal.component.mjs +0 -31
- package/esm2022/lib/overlay/modal/side-sheet/side-sheet.component.mjs +0 -30
- package/esm2022/lib/overlay/overlay-outlet.component.mjs +0 -98
- package/esm2022/lib/overlay/overlay.directive.mjs +0 -25
- package/esm2022/lib/overlay/overlay.service.mjs +0 -35
- package/esm2022/lib/overlay/toast/toast-action.component.mjs +0 -11
- package/esm2022/lib/overlay/toast/toast.component.mjs +0 -41
- package/esm2022/lib/riv.module.mjs +0 -580
- package/esm2022/lib/size/size.directive.mjs +0 -33
- package/esm2022/lib/table/simple-table/coordinate-helper.mjs +0 -61
- package/esm2022/lib/table/simple-table/simple-table-cell.component.mjs +0 -36
- package/esm2022/lib/table/simple-table/simple-table-header-cell.component.mjs +0 -37
- package/esm2022/lib/table/simple-table/simple-table-row.component.mjs +0 -19
- package/esm2022/lib/table/simple-table/simple-table.component.mjs +0 -104
- package/esm2022/lib/table/table/clipboard.mjs +0 -182
- package/esm2022/lib/table/table/state-helpers/collapse-helpers.mjs +0 -116
- package/esm2022/lib/table/table/state-helpers/column-helpers.mjs +0 -383
- package/esm2022/lib/table/table/state-helpers/display-helpers.mjs +0 -50
- package/esm2022/lib/table/table/state-helpers/nesting-helpers.mjs +0 -123
- package/esm2022/lib/table/table/state-helpers/order-helpers.mjs +0 -164
- package/esm2022/lib/table/table/state-helpers/pagination-helpers.mjs +0 -139
- package/esm2022/lib/table/table/state-helpers/result-helpers.mjs +0 -70
- package/esm2022/lib/table/table/state-helpers/search-helpers.mjs +0 -72
- package/esm2022/lib/table/table/state-helpers/selection-helpers.mjs +0 -180
- package/esm2022/lib/table/table/state.mjs +0 -1035
- package/esm2022/lib/table/table/table/table.component.mjs +0 -367
- package/esm2022/lib/table/table/table-collapse-all/table-collapse-all.component.mjs +0 -25
- package/esm2022/lib/table/table/table-column-settings/table-column-settings-side-sheet.component.mjs +0 -227
- package/esm2022/lib/table/table/table-column-settings/table-column-settings.component.mjs +0 -134
- package/esm2022/lib/table/table/table-csv-export/table-csv-export.component.mjs +0 -35
- package/esm2022/lib/table/table/table-header-resize-handle/table-header-resize-handle.component.mjs +0 -28
- package/esm2022/lib/table/table/table-search/table-search.component.mjs +0 -71
- package/esm2022/lib/table/table/table-search-columns/table-search-columns.component.mjs +0 -57
- package/esm2022/lib/util/local-storage.mjs +0 -17
- package/esm2022/lib/visibility/visibility.directive.mjs +0 -34
- package/esm2022/lib/visualization/chart/chart-scaling.mjs +0 -380
- package/esm2022/lib/visualization/chart/chart.component.mjs +0 -626
- package/esm2022/lib/visualization/chart/chart.mjs +0 -3768
- package/esm2022/lib/visualization/data-table/data-table-cell.component.mjs +0 -22
- package/esm2022/lib/visualization/data-table/data-table-header-cell.component.mjs +0 -11
- package/esm2022/lib/visualization/data-table/data-table-row.component.mjs +0 -19
- package/esm2022/lib/visualization/data-table/data-table.component.mjs +0 -17
- package/esm2022/lib/visualization/donut/donut.component.mjs +0 -54
- package/esm2022/lib/visualization/funnel-chart/funnel-chart.component.mjs +0 -73
- package/esm2022/lib/visualization/funnel-chart/funnel-chart.helpers.mjs +0 -33
- package/esm2022/lib/visualization/highlight/highlight.component.mjs +0 -24
- package/esm2022/lib/visualization/highlight/highlight.helpers.mjs +0 -20
- package/esm2022/lib/visualization/intervals.mjs +0 -63
- package/esm2022/lib/visualization/issue/issue.component.mjs +0 -30
- package/esm2022/lib/visualization/legend-item/legend-item.component.mjs +0 -49
- package/esm2022/lib/visualization/metric/metric.component.mjs +0 -52
- package/esm2022/lib/visualization/mini-pie/mini-pie.component.mjs +0 -51
- package/esm2022/lib/visualization/progress/progress.component.mjs +0 -24
- package/esm2022/lib/visualization/stacked-column/stacked-column.component.mjs +0 -377
- package/esm2022/lib/visualization/stacked-column/stacked-column.helpers.mjs +0 -18
- package/esm2022/lib/visualization/stacked-row/stacked-row.component.mjs +0 -270
- package/esm2022/lib/visualization/stacked-row/stacked-row.helpers.mjs +0 -74
- package/esm2022/lib/visualization/time-series/time-series.component.mjs +0 -374
- package/esm2022/lib/visualization/time-series/time-series.helpers.mjs +0 -15
- package/esm2022/lib/visualization/trend/trend.component.mjs +0 -51
- package/esm2022/lib/visualization/zero-state/zero-state.component.mjs +0 -22
- package/esm2022/public-api.mjs +0 -118
- package/esm2022/rivet-health-design-system.mjs +0 -5
- package/index.d.ts +0 -5
- package/lib/accessibility/sr-only/sr-only.component.d.ts +0 -12
- package/lib/download/download.service.d.ts +0 -9
- package/lib/format/pipes/common.d.ts +0 -6
- package/lib/format/pipes/date.pipe.d.ts +0 -8
- package/lib/format/pipes/days.pipe.d.ts +0 -8
- package/lib/format/pipes/dollars.pipe.d.ts +0 -9
- package/lib/format/pipes/number.pipe.d.ts +0 -8
- package/lib/format/pipes/percentage.pipe.d.ts +0 -8
- package/lib/format/pipes/sentence-case.pipe.d.ts +0 -8
- package/lib/format/pipes/small-currency.pipe.d.ts +0 -8
- package/lib/format/pipes/small-number.pipe.d.ts +0 -8
- package/lib/format/svg-text-truncate/svg-text-truncate.directive.d.ts +0 -14
- package/lib/format/truncate/truncate.component.d.ts +0 -17
- package/lib/icon/dom-cache.d.ts +0 -13
- package/lib/icon/icon.component.d.ts +0 -27
- package/lib/icon/icons.d.ts +0 -137
- package/lib/input/alphabetic-field/alphabetic-field.component.d.ts +0 -14
- package/lib/input/auto-focus/auto-focus.directive.d.ts +0 -21
- package/lib/input/button/button.component.d.ts +0 -37
- package/lib/input/button-group/button-group.component.d.ts +0 -11
- package/lib/input/calendar/calendar.component.d.ts +0 -67
- package/lib/input/card-checkbox/card-checkbox.component.d.ts +0 -6
- package/lib/input/checkbox/checkbox.component.d.ts +0 -32
- package/lib/input/currency-field/currency-field.component.d.ts +0 -9
- package/lib/input/date/date.component.d.ts +0 -62
- package/lib/input/date-range/date-range.component.d.ts +0 -97
- package/lib/input/filter-chip/filter-chip.component.d.ts +0 -13
- package/lib/input/filter-dropdown/filter-dropdown.component.d.ts +0 -30
- package/lib/input/input-label/input-label.component.d.ts +0 -17
- package/lib/input/mentions-input/mentions-input.component.d.ts +0 -93
- package/lib/input/number-field/number-field.component.d.ts +0 -36
- package/lib/input/percentage-field/percentage-field.component.d.ts +0 -7
- package/lib/input/phone-field/phone-field.component.d.ts +0 -17
- package/lib/input/radio/radio.component.d.ts +0 -28
- package/lib/input/search/search.component.d.ts +0 -10
- package/lib/input/search-select/search-select.component.d.ts +0 -62
- package/lib/input/select/select/select.component.d.ts +0 -63
- package/lib/input/select/select-node/select-node.component.d.ts +0 -30
- package/lib/input/select/state.d.ts +0 -250
- package/lib/input/simple-select/option-group.pipe.d.ts +0 -8
- package/lib/input/simple-select/simple-select.component.d.ts +0 -63
- package/lib/input/switch-checkbox/switch-checkbox.component.d.ts +0 -18
- package/lib/input/text-field/text-field.component.d.ts +0 -38
- package/lib/input/textarea-field/textarea-field.component.d.ts +0 -8
- package/lib/input/validation-message/validation-message.component.d.ts +0 -6
- package/lib/layout/card/card-actions.component.d.ts +0 -38
- package/lib/layout/card/card-content.component.d.ts +0 -33
- package/lib/layout/card/card-header.component.d.ts +0 -132
- package/lib/layout/card/card-link.component.d.ts +0 -54
- package/lib/layout/card/card-media.component.d.ts +0 -43
- package/lib/layout/card/card.component.d.ts +0 -215
- package/lib/layout/setting-row/setting-row.component.d.ts +0 -72
- package/lib/load/loading/loading.component.d.ts +0 -17
- package/lib/load/loading-cover/loading-cover.component.d.ts +0 -10
- package/lib/navigation/editable-heading/editable-heading.component.d.ts +0 -118
- package/lib/navigation/link/link.component.d.ts +0 -19
- package/lib/navigation/page-header/page-header.component.d.ts +0 -50
- package/lib/navigation/simple-tabs/simple-tab/simple-tab.component.d.ts +0 -11
- package/lib/navigation/simple-tabs/simple-tabs/simple-tabs.component.d.ts +0 -5
- package/lib/navigation/tabs/tab/tab.component.d.ts +0 -6
- package/lib/navigation/tabs/tabs/tabs.component.d.ts +0 -5
- package/lib/navigation/views/all-views-modal/all-views-modal.component.d.ts +0 -14
- package/lib/navigation/views/edit-view/edit-view.component.d.ts +0 -31
- package/lib/navigation/views/permission-picker/permission-picker.component.d.ts +0 -37
- package/lib/navigation/views/state.d.ts +0 -175
- package/lib/navigation/views/view-menu/view-menu.component.d.ts +0 -13
- package/lib/navigation/views/views/views.component.d.ts +0 -25
- package/lib/notification/badge/badge.component.d.ts +0 -14
- package/lib/notification/banner/banner-action.component.d.ts +0 -15
- package/lib/notification/banner/banner.component.d.ts +0 -25
- package/lib/notification/map-indicator/map-indicator.component.d.ts +0 -24
- package/lib/notification/map-indicator/map-indicators.d.ts +0 -9
- package/lib/notification/notification-badge/notification-badge.component.d.ts +0 -11
- package/lib/overlay/callout/callout.component.d.ts +0 -36
- package/lib/overlay/callout/callout.helpers.d.ts +0 -16
- package/lib/overlay/callout/help/help.component.d.ts +0 -11
- package/lib/overlay/callout/lock-scroll.directive.d.ts +0 -22
- package/lib/overlay/callout/menu/menu-item/menu-item.component.d.ts +0 -27
- package/lib/overlay/callout/menu/menu.component.d.ts +0 -17
- package/lib/overlay/callout/select-callout-defaults.d.ts +0 -5
- package/lib/overlay/callout/tooltip/locked-tooltip.directive.d.ts +0 -14
- package/lib/overlay/callout/tooltip/tooltip.component.d.ts +0 -26
- package/lib/overlay/callout/tooltip/tooltip.directive.d.ts +0 -48
- package/lib/overlay/modal/dialog/dialog.component.d.ts +0 -19
- package/lib/overlay/modal/dialog-stack.service.d.ts +0 -23
- package/lib/overlay/modal/form-dialog/form-dialog.component.d.ts +0 -63
- package/lib/overlay/modal/modal.component.d.ts +0 -11
- package/lib/overlay/modal/side-sheet/side-sheet.component.d.ts +0 -13
- package/lib/overlay/overlay-outlet.component.d.ts +0 -19
- package/lib/overlay/overlay.directive.d.ts +0 -13
- package/lib/overlay/overlay.service.d.ts +0 -14
- package/lib/overlay/toast/toast-action.component.d.ts +0 -5
- package/lib/overlay/toast/toast.component.d.ts +0 -17
- package/lib/riv.module.d.ts +0 -122
- package/lib/size/size.directive.d.ts +0 -12
- package/lib/table/simple-table/coordinate-helper.d.ts +0 -13
- package/lib/table/simple-table/simple-table-cell.component.d.ts +0 -19
- package/lib/table/simple-table/simple-table-header-cell.component.d.ts +0 -20
- package/lib/table/simple-table/simple-table-row.component.d.ts +0 -6
- package/lib/table/simple-table/simple-table.component.d.ts +0 -11
- package/lib/table/table/clipboard.d.ts +0 -38
- package/lib/table/table/state-helpers/collapse-helpers.d.ts +0 -9
- package/lib/table/table/state-helpers/column-helpers.d.ts +0 -29
- package/lib/table/table/state-helpers/display-helpers.d.ts +0 -5
- package/lib/table/table/state-helpers/nesting-helpers.d.ts +0 -13
- package/lib/table/table/state-helpers/order-helpers.d.ts +0 -13
- package/lib/table/table/state-helpers/pagination-helpers.d.ts +0 -12
- package/lib/table/table/state-helpers/result-helpers.d.ts +0 -10
- package/lib/table/table/state-helpers/search-helpers.d.ts +0 -17
- package/lib/table/table/state-helpers/selection-helpers.d.ts +0 -13
- package/lib/table/table/state.d.ts +0 -512
- package/lib/table/table/table/table.component.d.ts +0 -88
- package/lib/table/table/table-collapse-all/table-collapse-all.component.d.ts +0 -10
- package/lib/table/table/table-column-settings/table-column-settings-side-sheet.component.d.ts +0 -52
- package/lib/table/table/table-column-settings/table-column-settings.component.d.ts +0 -37
- package/lib/table/table/table-csv-export/table-csv-export.component.d.ts +0 -14
- package/lib/table/table/table-header-resize-handle/table-header-resize-handle.component.d.ts +0 -11
- package/lib/table/table/table-search/table-search.component.d.ts +0 -21
- package/lib/table/table/table-search-columns/table-search-columns.component.d.ts +0 -23
- package/lib/util/local-storage.d.ts +0 -14
- package/lib/visibility/visibility.directive.d.ts +0 -12
- package/lib/visualization/chart/chart-scaling.d.ts +0 -100
- package/lib/visualization/chart/chart.component.d.ts +0 -116
- package/lib/visualization/chart/chart.d.ts +0 -354
- package/lib/visualization/data-table/data-table-cell.component.d.ts +0 -11
- package/lib/visualization/data-table/data-table-header-cell.component.d.ts +0 -5
- package/lib/visualization/data-table/data-table-row.component.d.ts +0 -6
- package/lib/visualization/data-table/data-table.component.d.ts +0 -6
- package/lib/visualization/donut/donut.component.d.ts +0 -22
- package/lib/visualization/funnel-chart/funnel-chart.component.d.ts +0 -30
- package/lib/visualization/funnel-chart/funnel-chart.helpers.d.ts +0 -4
- package/lib/visualization/highlight/highlight.component.d.ts +0 -15
- package/lib/visualization/highlight/highlight.helpers.d.ts +0 -2
- package/lib/visualization/intervals.d.ts +0 -8
- package/lib/visualization/issue/issue.component.d.ts +0 -10
- package/lib/visualization/legend-item/legend-item.component.d.ts +0 -22
- package/lib/visualization/metric/metric.component.d.ts +0 -20
- package/lib/visualization/mini-pie/mini-pie.component.d.ts +0 -17
- package/lib/visualization/progress/progress.component.d.ts +0 -8
- package/lib/visualization/stacked-column/stacked-column.component.d.ts +0 -129
- package/lib/visualization/stacked-column/stacked-column.helpers.d.ts +0 -3
- package/lib/visualization/stacked-row/stacked-row.component.d.ts +0 -109
- package/lib/visualization/stacked-row/stacked-row.helpers.d.ts +0 -53
- package/lib/visualization/time-series/time-series.component.d.ts +0 -126
- package/lib/visualization/time-series/time-series.helpers.d.ts +0 -34
- package/lib/visualization/trend/trend.component.d.ts +0 -13
- package/lib/visualization/zero-state/zero-state.component.d.ts +0 -9
- package/public-api.d.ts +0 -118
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
-
import { BehaviorSubject, Observable } from 'rxjs';
|
|
3
|
-
import { Interval } from '../intervals';
|
|
4
|
-
import { LegendItemComponent } from '../legend-item/legend-item.component';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
type IntervalOption = {
|
|
7
|
-
id: Interval;
|
|
8
|
-
title: string;
|
|
9
|
-
};
|
|
10
|
-
export declare class StackedColumnComponent {
|
|
11
|
-
private readonly input$;
|
|
12
|
-
set input(v: StackedColumnComponent.Stack[]);
|
|
13
|
-
get input(): StackedColumnComponent.Stack[];
|
|
14
|
-
private readonly width$;
|
|
15
|
-
protected set width(v: number);
|
|
16
|
-
calloutHeaderTemplate: TemplateRef<{
|
|
17
|
-
$implicit: StackedColumnComponent.CalloutContext;
|
|
18
|
-
}>;
|
|
19
|
-
private readonly HEIGHT;
|
|
20
|
-
valueFormatter: (v: number) => string;
|
|
21
|
-
private readonly interval$;
|
|
22
|
-
set interval(v: Interval);
|
|
23
|
-
get interval(): Interval;
|
|
24
|
-
intervalChanged: EventEmitter<"year" | "month" | "day" | "quarter" | "week">;
|
|
25
|
-
stackClicked: EventEmitter<StackedColumnComponent.StackClicked>;
|
|
26
|
-
readonly controls?: TemplateRef<void>;
|
|
27
|
-
private readonly COLUMN_WIDTHS;
|
|
28
|
-
private readonly MIN_COLUMN_WIDTH;
|
|
29
|
-
private readonly maxColumns$;
|
|
30
|
-
getXStepsInRange(interval: Interval, minDate: Date, maxDate: Date): number;
|
|
31
|
-
private readonly allowedIntervals$;
|
|
32
|
-
readonly intervalOptions$: Observable<IntervalOption[]>;
|
|
33
|
-
readonly selectedIntervalOption$: Observable<IntervalOption | null>;
|
|
34
|
-
readonly selectedInterval$: Observable<"year" | "month" | "day" | "quarter" | "week">;
|
|
35
|
-
setIntervalOption(option: IntervalOption | null): void;
|
|
36
|
-
private columnWidth$;
|
|
37
|
-
readonly binnedDataWithRanges$: Observable<{
|
|
38
|
-
stacks: StackedColumnComponent.Stack[];
|
|
39
|
-
getRange: (date: number) => {
|
|
40
|
-
minDate: Date;
|
|
41
|
-
maxDate: Date;
|
|
42
|
-
};
|
|
43
|
-
}>;
|
|
44
|
-
readonly binnedData$: Observable<StackedColumnComponent.Stack[]>;
|
|
45
|
-
readonly getRange$: Observable<(date: number) => {
|
|
46
|
-
minDate: Date;
|
|
47
|
-
maxDate: Date;
|
|
48
|
-
}>;
|
|
49
|
-
readonly LEFT_OFFSET = 48;
|
|
50
|
-
readonly COLUMN_PADDING = 4;
|
|
51
|
-
readonly drawData$: Observable<{
|
|
52
|
-
columnWidth: 0 | 8 | 16 | 40 | 72;
|
|
53
|
-
hoverBands: {
|
|
54
|
-
dateValue: number;
|
|
55
|
-
x: number;
|
|
56
|
-
y: number;
|
|
57
|
-
width: number;
|
|
58
|
-
height: number;
|
|
59
|
-
}[];
|
|
60
|
-
rects: {
|
|
61
|
-
dateValue: number;
|
|
62
|
-
x: number;
|
|
63
|
-
y: number;
|
|
64
|
-
width: number;
|
|
65
|
-
height: number;
|
|
66
|
-
fill: string;
|
|
67
|
-
striped: boolean;
|
|
68
|
-
seriesPoint: StackedColumnComponent.Value & {
|
|
69
|
-
series: StackedColumnComponent.Series;
|
|
70
|
-
};
|
|
71
|
-
}[];
|
|
72
|
-
viewBox: string;
|
|
73
|
-
xMinorTicks: {
|
|
74
|
-
dateValue: number;
|
|
75
|
-
label: string;
|
|
76
|
-
x: number;
|
|
77
|
-
}[];
|
|
78
|
-
xMajorTicks: {
|
|
79
|
-
dateValue: number;
|
|
80
|
-
label: string;
|
|
81
|
-
x: number;
|
|
82
|
-
}[];
|
|
83
|
-
yScale: import("d3-scale").ScaleLinear<number, number, never>;
|
|
84
|
-
yTicks: number[];
|
|
85
|
-
}>;
|
|
86
|
-
readonly empty$: Observable<boolean>;
|
|
87
|
-
readonly hoveredBand$: BehaviorSubject<{
|
|
88
|
-
dateValue: number;
|
|
89
|
-
event: MouseEvent;
|
|
90
|
-
} | null>;
|
|
91
|
-
readonly callout$: Observable<StackedColumnComponent.CalloutContext | null>;
|
|
92
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StackedColumnComponent, never>;
|
|
93
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StackedColumnComponent, "riv-stacked-column", never, { "input": { "alias": "input"; "required": false; }; "valueFormatter": { "alias": "valueFormatter"; "required": false; }; "interval": { "alias": "interval"; "required": false; }; }, { "intervalChanged": "intervalChanged"; "stackClicked": "stackClicked"; }, ["calloutHeaderTemplate"], never, false, never>;
|
|
94
|
-
}
|
|
95
|
-
export declare namespace StackedColumnComponent {
|
|
96
|
-
type Value = {
|
|
97
|
-
date: Date;
|
|
98
|
-
value: number;
|
|
99
|
-
};
|
|
100
|
-
type Series = {
|
|
101
|
-
label: string;
|
|
102
|
-
data: Value[];
|
|
103
|
-
colorToken: string;
|
|
104
|
-
style: LegendItemComponent.Style;
|
|
105
|
-
};
|
|
106
|
-
type Stack = {
|
|
107
|
-
title?: string;
|
|
108
|
-
series: Series[];
|
|
109
|
-
};
|
|
110
|
-
type StackClicked = {
|
|
111
|
-
minDate: Date;
|
|
112
|
-
maxDate: Date;
|
|
113
|
-
};
|
|
114
|
-
type CalloutContext = {
|
|
115
|
-
anchor: DOMRect;
|
|
116
|
-
content: {
|
|
117
|
-
title?: string;
|
|
118
|
-
total: string;
|
|
119
|
-
series: {
|
|
120
|
-
label: string;
|
|
121
|
-
colorToken: string;
|
|
122
|
-
style: LegendItemComponent.Style;
|
|
123
|
-
value: number;
|
|
124
|
-
formattedValue: string;
|
|
125
|
-
}[];
|
|
126
|
-
}[];
|
|
127
|
-
};
|
|
128
|
-
}
|
|
129
|
-
export {};
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
-
import { ScaleLinear } from 'd3-scale';
|
|
3
|
-
import { BehaviorSubject, Observable } from 'rxjs';
|
|
4
|
-
import { LegendItemComponent } from '../legend-item/legend-item.component';
|
|
5
|
-
import { RowDisplayInfo, RowLabel, RowRectangle, StackedRowDrawData } from './stacked-row.helpers';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class StackedRowComponent {
|
|
8
|
-
private readonly input$;
|
|
9
|
-
set input(v: StackedRowComponent.RowStack[]);
|
|
10
|
-
get input(): StackedRowComponent.RowStack[];
|
|
11
|
-
private readonly width$;
|
|
12
|
-
protected set width(v: number);
|
|
13
|
-
valueFormatter: (v: number) => string;
|
|
14
|
-
private readonly zeroStateMessage$;
|
|
15
|
-
set zeroStateMessage(v: string);
|
|
16
|
-
get zeroStateMessage(): string;
|
|
17
|
-
calloutHeaderTemplate: TemplateRef<{
|
|
18
|
-
$implicit: StackedRowComponent.CalloutContext;
|
|
19
|
-
}>;
|
|
20
|
-
stackClicked: EventEmitter<StackedRowComponent.StackClicked>;
|
|
21
|
-
private readonly chartAndRowHeights$;
|
|
22
|
-
readonly TARGET_HEIGHT = 300;
|
|
23
|
-
readonly RECTANGLE_HEIGHTS: {
|
|
24
|
-
MIN_HEIGHT: number;
|
|
25
|
-
MAX_HEIGHT: number;
|
|
26
|
-
};
|
|
27
|
-
readonly LABEL_HEIGHT = 8;
|
|
28
|
-
readonly SECTION_HEIGHTS: {
|
|
29
|
-
X_AXIS_LABEL: number;
|
|
30
|
-
};
|
|
31
|
-
readonly SECTION_WIDTHS: {
|
|
32
|
-
ROW_NAME: number;
|
|
33
|
-
ROW_TOTAL_LABEL: number;
|
|
34
|
-
};
|
|
35
|
-
readonly SECTION_PADDING: {
|
|
36
|
-
OUTER_TOP_BOTTOM: number;
|
|
37
|
-
OUTER_LEFT_RIGHT: number;
|
|
38
|
-
BETWEEN_ROW: number;
|
|
39
|
-
RECTANGLE_TO_ROW: number;
|
|
40
|
-
};
|
|
41
|
-
readonly X_TICK_COUNT_MAX = 8;
|
|
42
|
-
readonly X_TICK_COUNT_MIN = 3;
|
|
43
|
-
readonly X_TICK_MAX_WIDTH = 900;
|
|
44
|
-
readonly X_TICK_MIN_WIDTH = 400;
|
|
45
|
-
locationOfXAxisZero(): number;
|
|
46
|
-
locationOfXAxisEnd(width: number): number;
|
|
47
|
-
locationOfXAxisTick(): number;
|
|
48
|
-
getTopOfRow(rowIndex: number, rowHeight: number): number;
|
|
49
|
-
getDrawnData(rowStacks: StackedRowComponent.RowStack[], width: number, chartHeight: number, rowHeight: number): {
|
|
50
|
-
legendItems: {
|
|
51
|
-
label: string;
|
|
52
|
-
colorToken: string;
|
|
53
|
-
style?: "solid" | "striped" | "dots" | undefined;
|
|
54
|
-
}[];
|
|
55
|
-
rowHeight: number;
|
|
56
|
-
rects: RowRectangle[];
|
|
57
|
-
rowNames: RowLabel[];
|
|
58
|
-
rowTotals: RowLabel[];
|
|
59
|
-
viewBox: string;
|
|
60
|
-
xScale: ScaleLinear<number, number, never>;
|
|
61
|
-
xTicks: number[];
|
|
62
|
-
} | null;
|
|
63
|
-
createRectanglesFromRows(displayRows: RowDisplayInfo[], xScale: ScaleLinear<number, number, never>, rowHeight: number): RowRectangle[];
|
|
64
|
-
getRowNamesToDraw(displayRows: RowDisplayInfo[], rowHeight: number): RowLabel[];
|
|
65
|
-
getRowTotalsToDraw(displayRows: RowDisplayInfo[], width: number, rowHeight: number): RowLabel[];
|
|
66
|
-
readonly drawData$: Observable<StackedRowDrawData | null>;
|
|
67
|
-
readonly empty$: Observable<boolean>;
|
|
68
|
-
readonly hoveredRectangle$: BehaviorSubject<{
|
|
69
|
-
rectangle: RowRectangle;
|
|
70
|
-
event: MouseEvent;
|
|
71
|
-
} | null>;
|
|
72
|
-
readonly hoveredBand$: BehaviorSubject<{
|
|
73
|
-
rowName: string;
|
|
74
|
-
event: MouseEvent;
|
|
75
|
-
} | null>;
|
|
76
|
-
readonly callout$: Observable<{
|
|
77
|
-
anchor: DOMRect;
|
|
78
|
-
metrics: {
|
|
79
|
-
label: string;
|
|
80
|
-
value: string;
|
|
81
|
-
colorToken: string;
|
|
82
|
-
}[];
|
|
83
|
-
} | null>;
|
|
84
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StackedRowComponent, never>;
|
|
85
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StackedRowComponent, "riv-stacked-row", never, { "input": { "alias": "input"; "required": false; }; "valueFormatter": { "alias": "valueFormatter"; "required": false; }; "zeroStateMessage": { "alias": "zeroStateMessage"; "required": false; }; }, { "stackClicked": "stackClicked"; }, ["calloutHeaderTemplate"], never, false, never>;
|
|
86
|
-
}
|
|
87
|
-
export declare namespace StackedRowComponent {
|
|
88
|
-
type RowElement = {
|
|
89
|
-
label: string;
|
|
90
|
-
value: number;
|
|
91
|
-
colorToken: string;
|
|
92
|
-
style?: LegendItemComponent.Style;
|
|
93
|
-
};
|
|
94
|
-
type RowStack = {
|
|
95
|
-
rowName: string;
|
|
96
|
-
data: RowElement[];
|
|
97
|
-
};
|
|
98
|
-
type StackClicked = {
|
|
99
|
-
stackIndex: number;
|
|
100
|
-
};
|
|
101
|
-
type CalloutContext = {
|
|
102
|
-
anchor: DOMRect;
|
|
103
|
-
metrics: {
|
|
104
|
-
label: string;
|
|
105
|
-
value: string;
|
|
106
|
-
colorToken: string;
|
|
107
|
-
}[];
|
|
108
|
-
};
|
|
109
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { InternSet } from 'd3-array';
|
|
2
|
-
import { ScaleLinear } from 'd3-scale';
|
|
3
|
-
import { LegendItemComponent } from '../legend-item/legend-item.component';
|
|
4
|
-
import { StackedRowComponent } from './stacked-row.component';
|
|
5
|
-
type StackedRowElement = StackedRowComponent.RowElement & {
|
|
6
|
-
baseline: number;
|
|
7
|
-
topline: number;
|
|
8
|
-
};
|
|
9
|
-
export type RowRectangle = {
|
|
10
|
-
x: number;
|
|
11
|
-
y: number;
|
|
12
|
-
width: number;
|
|
13
|
-
height: number;
|
|
14
|
-
fill: string;
|
|
15
|
-
striped: boolean;
|
|
16
|
-
rowName: string;
|
|
17
|
-
stackedRowElement: StackedRowElement;
|
|
18
|
-
stackIndex: number;
|
|
19
|
-
};
|
|
20
|
-
export type RowLabel = {
|
|
21
|
-
x: number;
|
|
22
|
-
y: number;
|
|
23
|
-
label: string;
|
|
24
|
-
};
|
|
25
|
-
export type StackedRowDrawData = {
|
|
26
|
-
legendItems: {
|
|
27
|
-
label: string;
|
|
28
|
-
colorToken: string;
|
|
29
|
-
style?: LegendItemComponent.Style;
|
|
30
|
-
}[];
|
|
31
|
-
rowHeight: number;
|
|
32
|
-
rects: RowRectangle[];
|
|
33
|
-
rowNames: RowLabel[];
|
|
34
|
-
rowTotals: RowLabel[];
|
|
35
|
-
viewBox: string;
|
|
36
|
-
xScale: ScaleLinear<number, number, never>;
|
|
37
|
-
xTicks: number[];
|
|
38
|
-
};
|
|
39
|
-
export type RowDisplayInfo = {
|
|
40
|
-
rowName: string;
|
|
41
|
-
elementsButStacked: StackedRowElement[];
|
|
42
|
-
rowTotal: number;
|
|
43
|
-
stackIndex: number;
|
|
44
|
-
};
|
|
45
|
-
export declare function getKeyOrder(rowStacks: StackedRowComponent.RowStack[]): InternSet<string>;
|
|
46
|
-
export declare function getLegendItems(rowsForDisplay: RowDisplayInfo[], keysInOrder: InternSet<string>): {
|
|
47
|
-
label: string;
|
|
48
|
-
colorToken: string;
|
|
49
|
-
style?: LegendItemComponent.Style;
|
|
50
|
-
}[];
|
|
51
|
-
export declare function standardizeRowStacks(rowStacks: StackedRowComponent.RowStack[], keysInOrder: InternSet<string>): StackedRowComponent.RowStack[];
|
|
52
|
-
export declare function getRowDisplayInfo(rowStack: StackedRowComponent.RowStack, index: number): RowDisplayInfo;
|
|
53
|
-
export {};
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
-
import { BehaviorSubject, Observable } from 'rxjs';
|
|
3
|
-
import { Interval } from '../intervals';
|
|
4
|
-
import { DrawData, Marker } from './time-series.helpers';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
type IntervalOption = {
|
|
7
|
-
id: string;
|
|
8
|
-
title: string;
|
|
9
|
-
};
|
|
10
|
-
export declare class TimeSeriesComponent {
|
|
11
|
-
private readonly input$;
|
|
12
|
-
set input(v: TimeSeriesComponent.TimeSeriesInput);
|
|
13
|
-
get input(): TimeSeriesComponent.TimeSeriesInput;
|
|
14
|
-
private readonly width$;
|
|
15
|
-
protected set width(v: number);
|
|
16
|
-
protected get width(): number;
|
|
17
|
-
readonly HEIGHT = 300;
|
|
18
|
-
private readonly zeroStateMessage$;
|
|
19
|
-
set zeroStateMessage(v: string);
|
|
20
|
-
get zeroStateMessage(): string;
|
|
21
|
-
readonly BOTTOM_OFFSET = 24;
|
|
22
|
-
readonly LEFT_RIGHT_OFFSET = 48;
|
|
23
|
-
readonly TOP_PADDING = 16;
|
|
24
|
-
readonly LEFT_RIGHT_PADDING = 8;
|
|
25
|
-
readonly BOTTOM_PADDING = 8;
|
|
26
|
-
readonly Y_TICK_COUNT = 5;
|
|
27
|
-
readonly POINT_RADIUS = 3.5;
|
|
28
|
-
readonly dateRange$: Observable<[Date, Date]>;
|
|
29
|
-
private readonly interval$;
|
|
30
|
-
set interval(v: Interval);
|
|
31
|
-
get interval(): Interval;
|
|
32
|
-
intervalChanged: EventEmitter<"year" | "month" | "day" | "quarter" | "week">;
|
|
33
|
-
readonly controls?: TemplateRef<void>;
|
|
34
|
-
private readonly allowLegendToggle$;
|
|
35
|
-
set allowLegendToggle(v: boolean);
|
|
36
|
-
get allowLegendToggle(): boolean;
|
|
37
|
-
private readonly groupedTooltips$;
|
|
38
|
-
set groupedTooltips(v: boolean);
|
|
39
|
-
get groupedTooltips(): boolean;
|
|
40
|
-
markerClicked: EventEmitter<TimeSeriesComponent.MarkerClicked>;
|
|
41
|
-
private readonly maxPoints$;
|
|
42
|
-
private readonly xMinorTickLimit$;
|
|
43
|
-
private readonly allowedIntervals$;
|
|
44
|
-
readonly intervalOptions$: Observable<IntervalOption[]>;
|
|
45
|
-
readonly selectedIntervalOption$: Observable<IntervalOption | null>;
|
|
46
|
-
readonly selectedInterval$: Observable<"year" | "month" | "day" | "quarter" | "week">;
|
|
47
|
-
setIntervalOption(option: IntervalOption | null): void;
|
|
48
|
-
readonly toggleVisibility$: BehaviorSubject<TimeSeriesComponent.ToggleVisibility | null>;
|
|
49
|
-
readonly binnedDataWithRanges$: Observable<{
|
|
50
|
-
series: TimeSeriesComponent.YConfig[];
|
|
51
|
-
getRange: (date: Date) => {
|
|
52
|
-
minDate: Date;
|
|
53
|
-
maxDate: Date;
|
|
54
|
-
};
|
|
55
|
-
}>;
|
|
56
|
-
readonly binnedData$: Observable<TimeSeriesComponent.YConfig[]>;
|
|
57
|
-
readonly getRange$: Observable<(date: Date) => {
|
|
58
|
-
minDate: Date;
|
|
59
|
-
maxDate: Date;
|
|
60
|
-
}>;
|
|
61
|
-
readonly binnedDateRange$: Observable<[Date, Date]>;
|
|
62
|
-
getMarkerClicked(range: {
|
|
63
|
-
minDate: Date;
|
|
64
|
-
maxDate: Date;
|
|
65
|
-
}, seriesIndex: number, y: 'y1' | 'y2'): {
|
|
66
|
-
seriesIndex: number;
|
|
67
|
-
y: "y1" | "y2";
|
|
68
|
-
minDate: Date;
|
|
69
|
-
maxDate: Date;
|
|
70
|
-
};
|
|
71
|
-
readonly drawData$: Observable<DrawData>;
|
|
72
|
-
readonly legend$: Observable<{
|
|
73
|
-
label: string;
|
|
74
|
-
colorToken: string;
|
|
75
|
-
visibility: 'visible' | 'hidden';
|
|
76
|
-
}[]>;
|
|
77
|
-
readonly empty$: Observable<boolean>;
|
|
78
|
-
readonly hoveredMarker$: BehaviorSubject<{
|
|
79
|
-
event: MouseEvent;
|
|
80
|
-
marker: Marker;
|
|
81
|
-
seriesIndex: number;
|
|
82
|
-
y: 'y1' | 'y2';
|
|
83
|
-
} | null>;
|
|
84
|
-
readonly callout$: Observable<{
|
|
85
|
-
anchor: DOMRect;
|
|
86
|
-
metrics: {
|
|
87
|
-
label: string;
|
|
88
|
-
value: string;
|
|
89
|
-
colorToken: string;
|
|
90
|
-
}[];
|
|
91
|
-
} | null>;
|
|
92
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TimeSeriesComponent, never>;
|
|
93
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TimeSeriesComponent, "riv-time-series", never, { "input": { "alias": "input"; "required": false; }; "zeroStateMessage": { "alias": "zeroStateMessage"; "required": false; }; "interval": { "alias": "interval"; "required": false; }; "allowLegendToggle": { "alias": "allowLegendToggle"; "required": false; }; "groupedTooltips": { "alias": "groupedTooltips"; "required": false; }; }, { "intervalChanged": "intervalChanged"; "markerClicked": "markerClicked"; }, never, never, false, never>;
|
|
94
|
-
}
|
|
95
|
-
export declare namespace TimeSeriesComponent {
|
|
96
|
-
type Series = {
|
|
97
|
-
label: string;
|
|
98
|
-
colorToken: string;
|
|
99
|
-
data: TimeSeriesComponent.DataPoint[];
|
|
100
|
-
style?: 'solid' | 'dashed';
|
|
101
|
-
visibility?: 'visible' | 'hidden';
|
|
102
|
-
};
|
|
103
|
-
type DataPoint = {
|
|
104
|
-
value: number;
|
|
105
|
-
date: Date;
|
|
106
|
-
};
|
|
107
|
-
type YConfig = {
|
|
108
|
-
pointReducer: (points: DataPoint[], seriesIndex: number) => number;
|
|
109
|
-
valueFormatter: (reducedValue: number) => string;
|
|
110
|
-
series: Series[];
|
|
111
|
-
min?: number;
|
|
112
|
-
max?: number;
|
|
113
|
-
};
|
|
114
|
-
type TimeSeriesInput = [YConfig] | [YConfig, YConfig];
|
|
115
|
-
type ToggleVisibility = {
|
|
116
|
-
label: string;
|
|
117
|
-
visibility: 'hidden' | 'visible';
|
|
118
|
-
};
|
|
119
|
-
type MarkerClicked = {
|
|
120
|
-
minDate: Date;
|
|
121
|
-
maxDate: Date;
|
|
122
|
-
seriesIndex: number;
|
|
123
|
-
y: 'y1' | 'y2';
|
|
124
|
-
};
|
|
125
|
-
}
|
|
126
|
-
export {};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { ScaleLinear } from 'd3-scale';
|
|
2
|
-
import { TimeSeriesComponent } from './time-series.component';
|
|
3
|
-
type XTick = {
|
|
4
|
-
value: number;
|
|
5
|
-
label: string;
|
|
6
|
-
};
|
|
7
|
-
export type Marker = TimeSeriesComponent.DataPoint & {
|
|
8
|
-
x: number;
|
|
9
|
-
y: number;
|
|
10
|
-
};
|
|
11
|
-
type YDrawData = TimeSeriesComponent.YConfig & {
|
|
12
|
-
series: (TimeSeriesComponent.Series & {
|
|
13
|
-
path: string | null;
|
|
14
|
-
stroke: string;
|
|
15
|
-
markers: Marker[];
|
|
16
|
-
})[];
|
|
17
|
-
yMax: number;
|
|
18
|
-
yMin: number;
|
|
19
|
-
yScale: ScaleLinear<number, number, never>;
|
|
20
|
-
yTicks: number[];
|
|
21
|
-
};
|
|
22
|
-
export type DrawData = {
|
|
23
|
-
viewBox: string;
|
|
24
|
-
x: {
|
|
25
|
-
xScale: ScaleLinear<number, number, never>;
|
|
26
|
-
xMinorTicks: XTick[];
|
|
27
|
-
xMajorTicks: XTick[];
|
|
28
|
-
xMax: Date;
|
|
29
|
-
};
|
|
30
|
-
y1: YDrawData;
|
|
31
|
-
y2?: YDrawData;
|
|
32
|
-
};
|
|
33
|
-
export declare function getDateRange(configs: TimeSeriesComponent.YConfig[]): [Date, Date];
|
|
34
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class TrendComponent {
|
|
3
|
-
label: string;
|
|
4
|
-
value: number;
|
|
5
|
-
successCondition: 'positive' | 'negative';
|
|
6
|
-
getClasses(): string;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TrendComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TrendComponent, "riv-trend", never, { "label": { "alias": "label"; "required": false; }; "value": { "alias": "value"; "required": false; }; "successCondition": { "alias": "successCondition"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
-
}
|
|
10
|
-
export declare namespace TrendComponent {
|
|
11
|
-
function calculateTrend(currentValue: number | null | undefined, previousValue: number | null | undefined): number;
|
|
12
|
-
function calculatePercentageTrend(currentValue: number | null | undefined, previousValue: number | null | undefined): number;
|
|
13
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { IconComponent } from '../../icon/icon.component';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ZeroStateComponent {
|
|
4
|
-
message: string;
|
|
5
|
-
title?: string;
|
|
6
|
-
icon?: IconComponent.Name;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ZeroStateComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ZeroStateComponent, "riv-zero-state", never, { "message": { "alias": "message"; "required": false; }; "title": { "alias": "title"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
-
}
|
package/public-api.d.ts
DELETED
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
export * from './lib/accessibility/sr-only/sr-only.component';
|
|
2
|
-
export * from './lib/download/download.service';
|
|
3
|
-
export * from './lib/format/pipes/date.pipe';
|
|
4
|
-
export * from './lib/format/pipes/days.pipe';
|
|
5
|
-
export * from './lib/format/pipes/dollars.pipe';
|
|
6
|
-
export * from './lib/format/pipes/number.pipe';
|
|
7
|
-
export * from './lib/format/pipes/percentage.pipe';
|
|
8
|
-
export * from './lib/format/pipes/sentence-case.pipe';
|
|
9
|
-
export * from './lib/format/pipes/small-currency.pipe';
|
|
10
|
-
export * from './lib/format/pipes/small-number.pipe';
|
|
11
|
-
export * from './lib/format/svg-text-truncate/svg-text-truncate.directive';
|
|
12
|
-
export * from './lib/format/truncate/truncate.component';
|
|
13
|
-
export * from './lib/icon/icon.component';
|
|
14
|
-
export * from './lib/input/alphabetic-field/alphabetic-field.component';
|
|
15
|
-
export * from './lib/input/auto-focus/auto-focus.directive';
|
|
16
|
-
export * from './lib/input/button-group/button-group.component';
|
|
17
|
-
export * from './lib/input/button/button.component';
|
|
18
|
-
export * from './lib/input/card-checkbox/card-checkbox.component';
|
|
19
|
-
export * from './lib/input/checkbox/checkbox.component';
|
|
20
|
-
export * from './lib/input/currency-field/currency-field.component';
|
|
21
|
-
export * from './lib/input/date-range/date-range.component';
|
|
22
|
-
export * from './lib/input/date/date.component';
|
|
23
|
-
export * from './lib/input/filter-chip/filter-chip.component';
|
|
24
|
-
export * from './lib/input/filter-dropdown/filter-dropdown.component';
|
|
25
|
-
export * from './lib/input/input-label/input-label.component';
|
|
26
|
-
export * from './lib/input/mentions-input/mentions-input.component';
|
|
27
|
-
export * from './lib/input/number-field/number-field.component';
|
|
28
|
-
export * from './lib/input/percentage-field/percentage-field.component';
|
|
29
|
-
export * from './lib/input/phone-field/phone-field.component';
|
|
30
|
-
export * from './lib/input/radio/radio.component';
|
|
31
|
-
export * from './lib/input/search-select/search-select.component';
|
|
32
|
-
export * from './lib/input/search/search.component';
|
|
33
|
-
export * from './lib/input/select/select-node/select-node.component';
|
|
34
|
-
export * from './lib/input/select/select/select.component';
|
|
35
|
-
export * from './lib/input/select/state';
|
|
36
|
-
export * from './lib/input/simple-select/option-group.pipe';
|
|
37
|
-
export * from './lib/input/simple-select/simple-select.component';
|
|
38
|
-
export * from './lib/input/switch-checkbox/switch-checkbox.component';
|
|
39
|
-
export * from './lib/input/text-field/text-field.component';
|
|
40
|
-
export * from './lib/input/textarea-field/textarea-field.component';
|
|
41
|
-
export * from './lib/input/validation-message/validation-message.component';
|
|
42
|
-
export * from './lib/layout/card/card-actions.component';
|
|
43
|
-
export * from './lib/layout/card/card-content.component';
|
|
44
|
-
export * from './lib/layout/card/card-header.component';
|
|
45
|
-
export * from './lib/layout/card/card-link.component';
|
|
46
|
-
export * from './lib/layout/card/card-media.component';
|
|
47
|
-
export * from './lib/layout/card/card.component';
|
|
48
|
-
export * from './lib/layout/setting-row/setting-row.component';
|
|
49
|
-
export * from './lib/load/loading-cover/loading-cover.component';
|
|
50
|
-
export * from './lib/load/loading/loading.component';
|
|
51
|
-
export * from './lib/navigation/editable-heading/editable-heading.component';
|
|
52
|
-
export * from './lib/navigation/link/link.component';
|
|
53
|
-
export * from './lib/navigation/page-header/page-header.component';
|
|
54
|
-
export * from './lib/navigation/simple-tabs/simple-tab/simple-tab.component';
|
|
55
|
-
export * from './lib/navigation/simple-tabs/simple-tabs/simple-tabs.component';
|
|
56
|
-
export * from './lib/navigation/tabs/tab/tab.component';
|
|
57
|
-
export * from './lib/navigation/tabs/tabs/tabs.component';
|
|
58
|
-
export * from './lib/navigation/views/all-views-modal/all-views-modal.component';
|
|
59
|
-
export * from './lib/navigation/views/edit-view/edit-view.component';
|
|
60
|
-
export * from './lib/navigation/views/permission-picker/permission-picker.component';
|
|
61
|
-
export * from './lib/navigation/views/state';
|
|
62
|
-
export * from './lib/navigation/views/view-menu/view-menu.component';
|
|
63
|
-
export * from './lib/navigation/views/views/views.component';
|
|
64
|
-
export * from './lib/notification/badge/badge.component';
|
|
65
|
-
export * from './lib/notification/banner/banner-action.component';
|
|
66
|
-
export * from './lib/notification/banner/banner.component';
|
|
67
|
-
export * from './lib/notification/map-indicator/map-indicator.component';
|
|
68
|
-
export * from './lib/notification/notification-badge/notification-badge.component';
|
|
69
|
-
export * from './lib/overlay/callout/callout.component';
|
|
70
|
-
export * from './lib/overlay/callout/help/help.component';
|
|
71
|
-
export * from './lib/overlay/callout/menu/menu-item/menu-item.component';
|
|
72
|
-
export * from './lib/overlay/callout/menu/menu.component';
|
|
73
|
-
export * from './lib/overlay/callout/tooltip/locked-tooltip.directive';
|
|
74
|
-
export * from './lib/overlay/callout/tooltip/tooltip.component';
|
|
75
|
-
export * from './lib/overlay/callout/tooltip/tooltip.directive';
|
|
76
|
-
export * from './lib/overlay/modal/dialog/dialog.component';
|
|
77
|
-
export * from './lib/overlay/modal/form-dialog/form-dialog.component';
|
|
78
|
-
export * from './lib/overlay/modal/modal.component';
|
|
79
|
-
export * from './lib/overlay/modal/side-sheet/side-sheet.component';
|
|
80
|
-
export * from './lib/overlay/overlay-outlet.component';
|
|
81
|
-
export * from './lib/overlay/overlay.directive';
|
|
82
|
-
export * from './lib/overlay/toast/toast-action.component';
|
|
83
|
-
export * from './lib/overlay/toast/toast.component';
|
|
84
|
-
export * from './lib/riv.module';
|
|
85
|
-
export * from './lib/size/size.directive';
|
|
86
|
-
export * from './lib/table/simple-table/simple-table-cell.component';
|
|
87
|
-
export * from './lib/table/simple-table/simple-table-header-cell.component';
|
|
88
|
-
export * from './lib/table/simple-table/simple-table-row.component';
|
|
89
|
-
export * from './lib/table/simple-table/simple-table.component';
|
|
90
|
-
export * from './lib/table/table/state';
|
|
91
|
-
export * from './lib/table/table/table-collapse-all/table-collapse-all.component';
|
|
92
|
-
export * from './lib/table/table/table-column-settings/table-column-settings-side-sheet.component';
|
|
93
|
-
export * from './lib/table/table/table-column-settings/table-column-settings.component';
|
|
94
|
-
export * from './lib/table/table/table-csv-export/table-csv-export.component';
|
|
95
|
-
export * from './lib/table/table/table-search-columns/table-search-columns.component';
|
|
96
|
-
export * from './lib/table/table/table-search/table-search.component';
|
|
97
|
-
export * from './lib/table/table/table/table.component';
|
|
98
|
-
export * from './lib/visibility/visibility.directive';
|
|
99
|
-
export * from './lib/visualization/chart/chart';
|
|
100
|
-
export * from './lib/visualization/chart/chart.component';
|
|
101
|
-
export type { AxisScalingType, FullScalingConfig, PartialElementScalingConfig, } from './lib/visualization/chart/chart-scaling';
|
|
102
|
-
export * from './lib/visualization/data-table/data-table-cell.component';
|
|
103
|
-
export * from './lib/visualization/data-table/data-table-header-cell.component';
|
|
104
|
-
export * from './lib/visualization/data-table/data-table-row.component';
|
|
105
|
-
export * from './lib/visualization/data-table/data-table.component';
|
|
106
|
-
export * from './lib/visualization/donut/donut.component';
|
|
107
|
-
export * from './lib/visualization/funnel-chart/funnel-chart.component';
|
|
108
|
-
export * from './lib/visualization/highlight/highlight.component';
|
|
109
|
-
export * from './lib/visualization/issue/issue.component';
|
|
110
|
-
export * from './lib/visualization/legend-item/legend-item.component';
|
|
111
|
-
export * from './lib/visualization/metric/metric.component';
|
|
112
|
-
export * from './lib/visualization/mini-pie/mini-pie.component';
|
|
113
|
-
export * from './lib/visualization/progress/progress.component';
|
|
114
|
-
export * from './lib/visualization/stacked-column/stacked-column.component';
|
|
115
|
-
export * from './lib/visualization/stacked-row/stacked-row.component';
|
|
116
|
-
export * from './lib/visualization/time-series/time-series.component';
|
|
117
|
-
export * from './lib/visualization/trend/trend.component';
|
|
118
|
-
export * from './lib/visualization/zero-state/zero-state.component';
|