@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,19 +0,0 @@
|
|
|
1
|
-
import { CalloutComponent } from '../../overlay/callout/callout.component';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class LinkComponent {
|
|
4
|
-
private readonly parentCallout?;
|
|
5
|
-
constructor(parentCallout?: CalloutComponent | undefined);
|
|
6
|
-
disabled: boolean;
|
|
7
|
-
locked: boolean;
|
|
8
|
-
theme: LinkComponent.Theme;
|
|
9
|
-
variant: LinkComponent.Variant;
|
|
10
|
-
get classes(): string;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LinkComponent, [{ optional: true; }]>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LinkComponent, "[rivLink]", never, { "disabled": { "alias": "disabled"; "required": false; }; "locked": { "alias": "locked"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
13
|
-
}
|
|
14
|
-
export declare namespace LinkComponent {
|
|
15
|
-
const Themes: readonly ["light", "dark"];
|
|
16
|
-
type Theme = (typeof Themes)[number];
|
|
17
|
-
const Variants: readonly ["basic", "ghost"];
|
|
18
|
-
type Variant = (typeof Variants)[number];
|
|
19
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* Page header used to display the page/product the user is on.
|
|
5
|
-
*
|
|
6
|
-
* It has two mutually-exclusive left-side modes:
|
|
7
|
-
* - `title` mode (default): shows a plain page title, with an optional
|
|
8
|
-
* `description` beneath it.
|
|
9
|
-
* - `back` mode: when `backTo` is provided, the title is replaced by a
|
|
10
|
-
* "Back to <previous page>" button that emits `back` when activated. This is
|
|
11
|
-
* intended for when the user navigates a level deeper (e.g. worklist →
|
|
12
|
-
* detail view).
|
|
13
|
-
*
|
|
14
|
-
* The right side is a flexible content-projection slot: consumers project any
|
|
15
|
-
* actions they need (e.g. `rivButton`, `riv-menu`, navigation arrows) into the
|
|
16
|
-
* `[actions]` slot.
|
|
17
|
-
*
|
|
18
|
-
* The component owns its own horizontal gutter (`--size-large`) so it can be
|
|
19
|
-
* dropped directly at the top of a page without a wrapper. Place it as a
|
|
20
|
-
* sibling of (not nested inside) the page body — the body's own padding will
|
|
21
|
-
* align with the header's.
|
|
22
|
-
*
|
|
23
|
-
* For visual consistency across pages, prefer `ghost`-variant `rivButton`s for
|
|
24
|
-
* actions so they read as equal-weight, low-emphasis controls. Reserve heavier
|
|
25
|
-
* variants (`primary`, `danger`) for a genuine primary action.
|
|
26
|
-
*
|
|
27
|
-
* ```html
|
|
28
|
-
* <riv-page-header title="Patients">
|
|
29
|
-
* <button rivButton [variant]="'ghost'" actions>Add patient</button>
|
|
30
|
-
* <button rivButton [variant]="'ghost'" actions>Settings</button>
|
|
31
|
-
* </riv-page-header>
|
|
32
|
-
* ```
|
|
33
|
-
*/
|
|
34
|
-
export declare class PageHeaderComponent {
|
|
35
|
-
/** Page title, shown when not in back mode. */
|
|
36
|
-
title?: string;
|
|
37
|
-
/** Text shown beneath the title (title mode only). */
|
|
38
|
-
description?: string;
|
|
39
|
-
/**
|
|
40
|
-
* Label of the previous page. When set, the header renders a back button
|
|
41
|
-
* ("Back to {{ backTo }}") instead of the title and emits `back` on click.
|
|
42
|
-
*/
|
|
43
|
-
backTo?: string;
|
|
44
|
-
/** Emitted when the back button is activated (back mode only). */
|
|
45
|
-
back: EventEmitter<void>;
|
|
46
|
-
get isBack(): boolean;
|
|
47
|
-
get hasDescription(): boolean;
|
|
48
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PageHeaderComponent, never>;
|
|
49
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PageHeaderComponent, "riv-page-header", never, { "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "backTo": { "alias": "backTo"; "required": false; }; }, { "back": "back"; }, never, ["[actions]"], false, never>;
|
|
50
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class SimpleTabComponent {
|
|
3
|
-
current: boolean;
|
|
4
|
-
/** Styles the tab as unavailable; it doesn't block clicks or navigation. */
|
|
5
|
-
locked: boolean;
|
|
6
|
-
get classes(): string;
|
|
7
|
-
get ariaCurrent(): 'true' | null;
|
|
8
|
-
get ariaDisabled(): 'true' | null;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SimpleTabComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SimpleTabComponent, "[riv-simple-tab]", never, { "current": { "alias": "current"; "required": false; }; "locked": { "alias": "locked"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
11
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class SimpleTabsComponent {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SimpleTabsComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SimpleTabsComponent, "riv-simple-tabs", never, {}, {}, never, ["*"], false, never>;
|
|
5
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class TabComponent {
|
|
3
|
-
current?: boolean;
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TabComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TabComponent, "[riv-tab]", never, { "current": { "alias": "current"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
6
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { RivViews } from '../state';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class AllViewsModalComponent<U extends RivViews.User, V extends RivViews.View<U>> {
|
|
5
|
-
manager?: RivViews.Manager<U, V>;
|
|
6
|
-
topOffset: number;
|
|
7
|
-
close: EventEmitter<void>;
|
|
8
|
-
getOpenChange(permission: RivViews.ViewPermission): (open: boolean) => void;
|
|
9
|
-
getPermissionTitle: typeof RivViews.getPermissionTitle;
|
|
10
|
-
getPermissionDescription: typeof RivViews.getPermissionDescription;
|
|
11
|
-
trackById(_: number, view: RivViews.FullView<U, V>): V['id'];
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AllViewsModalComponent<any, any>, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AllViewsModalComponent<any, any>, "riv-all-views-modal", never, { "manager": { "alias": "manager"; "required": false; }; "topOffset": { "alias": "topOffset"; "required": false; }; }, { "close": "close"; }, never, never, false, never>;
|
|
14
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { RivViews } from '../state';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class EditViewComponent<U extends RivViews.User, V extends RivViews.View<U>> implements OnInit, OnChanges {
|
|
5
|
-
private readonly cdr;
|
|
6
|
-
anchor?: Element | DOMRect | null;
|
|
7
|
-
autoSelectName: boolean;
|
|
8
|
-
view?: RivViews.FullView<U, V>;
|
|
9
|
-
editedView?: RivViews.FullView<U, V>;
|
|
10
|
-
userSource?: RivViews.UserSource<U>;
|
|
11
|
-
userSelectMode: RivViews.UserSelectMode;
|
|
12
|
-
onAddUser?: RivViews.OnAddUser<U>;
|
|
13
|
-
newTooltip?: string;
|
|
14
|
-
mode: 'edit' | 'create';
|
|
15
|
-
save: EventEmitter<RivViews.FullView<U, V>>;
|
|
16
|
-
delete: EventEmitter<RivViews.FullView<U, V>>;
|
|
17
|
-
close: EventEmitter<void>;
|
|
18
|
-
constructor(cdr: ChangeDetectorRef);
|
|
19
|
-
private resetView;
|
|
20
|
-
ngOnInit(): void;
|
|
21
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
22
|
-
canEdit(): boolean;
|
|
23
|
-
isClean(): boolean;
|
|
24
|
-
titleChange(value: string): void;
|
|
25
|
-
onPermissionChange(value: RivViews.ViewPermission): void;
|
|
26
|
-
onSharedUsersChange(users: U[]): void;
|
|
27
|
-
private static readonly NO_SHARED_USERS;
|
|
28
|
-
getSharedUsers(view?: RivViews.FullView<U, V>): U[];
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EditViewComponent<any, any>, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EditViewComponent<any, any>, "riv-edit-view", never, { "anchor": { "alias": "anchor"; "required": false; }; "autoSelectName": { "alias": "autoSelectName"; "required": false; }; "view": { "alias": "view"; "required": false; }; "userSource": { "alias": "userSource"; "required": false; }; "userSelectMode": { "alias": "userSelectMode"; "required": false; }; "onAddUser": { "alias": "onAddUser"; "required": false; }; "newTooltip": { "alias": "newTooltip"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; }, { "save": "save"; "delete": "delete"; "close": "close"; }, never, never, false, never>;
|
|
31
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { RivSelect } from '../../../input/select/state';
|
|
3
|
-
import { RivViews } from '../state';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class PermissionPickerComponent<U extends RivViews.User> implements OnInit, OnChanges, OnDestroy {
|
|
6
|
-
private cdr;
|
|
7
|
-
permission: RivViews.ViewPermission;
|
|
8
|
-
sharedUsers: U[];
|
|
9
|
-
userSelectMode: RivViews.UserSelectMode;
|
|
10
|
-
userSource?: RivViews.UserSource<U>;
|
|
11
|
-
onAddUser?: RivViews.OnAddUser<U>;
|
|
12
|
-
newTooltip?: string;
|
|
13
|
-
disabledPermissions: RivViews.ViewPermission[];
|
|
14
|
-
permissionChange: EventEmitter<"private" | "shared" | "public">;
|
|
15
|
-
sharedUsersChange: EventEmitter<U[]>;
|
|
16
|
-
readonly permissionOptions: {
|
|
17
|
-
value: "private" | "shared" | "public";
|
|
18
|
-
title: string;
|
|
19
|
-
subtitle: string;
|
|
20
|
-
}[];
|
|
21
|
-
userSelectManager?: RivSelect.Manager<U>;
|
|
22
|
-
private userSelectSubscription?;
|
|
23
|
-
userOptions: RivViews.SearchSelectUser<U>[];
|
|
24
|
-
selectedUsers: RivViews.SearchSelectUser<U>[];
|
|
25
|
-
constructor(cdr: ChangeDetectorRef);
|
|
26
|
-
ngOnInit(): void;
|
|
27
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
28
|
-
ngOnDestroy(): void;
|
|
29
|
-
private tearDownUserSelectManager;
|
|
30
|
-
private setUpUserSelectManager;
|
|
31
|
-
onPermissionClick(value: RivViews.ViewPermission): void;
|
|
32
|
-
isDisabled(permission: RivViews.ViewPermission): boolean;
|
|
33
|
-
onSelectedUsersChange(users: RivViews.SearchSelectUser<U>[]): void;
|
|
34
|
-
handleAddUser(searchText: string): void;
|
|
35
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PermissionPickerComponent<any>, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PermissionPickerComponent<any>, "riv-permission-picker", never, { "permission": { "alias": "permission"; "required": false; }; "sharedUsers": { "alias": "sharedUsers"; "required": false; }; "userSelectMode": { "alias": "userSelectMode"; "required": false; }; "userSource": { "alias": "userSource"; "required": false; }; "onAddUser": { "alias": "onAddUser"; "required": false; }; "newTooltip": { "alias": "newTooltip"; "required": false; }; "disabledPermissions": { "alias": "disabledPermissions"; "required": false; }; }, { "permissionChange": "permissionChange"; "sharedUsersChange": "sharedUsersChange"; }, never, never, false, never>;
|
|
37
|
-
}
|
|
@@ -1,175 +0,0 @@
|
|
|
1
|
-
import { IFuseOptions } from 'fuse.js';
|
|
2
|
-
import { Connectable, Subject } from 'rxjs';
|
|
3
|
-
import { DeepPartial } from 'utility-types';
|
|
4
|
-
import { RivSelect } from '../../input/select/state';
|
|
5
|
-
import { HighlightComponent } from '../../visualization/highlight/highlight.component';
|
|
6
|
-
export declare namespace RivViews {
|
|
7
|
-
const ViewPermissions: readonly ["private", "shared", "public"];
|
|
8
|
-
type ViewPermission = (typeof ViewPermissions)[number];
|
|
9
|
-
const MenuContexts: readonly ["tab", "all-views", "overflow"];
|
|
10
|
-
type MenuContext = (typeof MenuContexts)[number];
|
|
11
|
-
type User = RivSelect.BaseOption;
|
|
12
|
-
const UserSelectModes: readonly ["select", "search-select"];
|
|
13
|
-
type UserSelectMode = (typeof UserSelectModes)[number];
|
|
14
|
-
type SearchSelectUser<U extends User> = U & {
|
|
15
|
-
new: boolean;
|
|
16
|
-
};
|
|
17
|
-
type OnAddUser<U extends User> = (searchText: string) => SearchSelectUser<U>;
|
|
18
|
-
type View<U extends User> = {
|
|
19
|
-
id: string | number;
|
|
20
|
-
title: string;
|
|
21
|
-
enabled: boolean;
|
|
22
|
-
} & ({
|
|
23
|
-
permission: 'private' | 'public';
|
|
24
|
-
} | {
|
|
25
|
-
permission: 'shared';
|
|
26
|
-
sharedUsers: U[];
|
|
27
|
-
});
|
|
28
|
-
type FullView<U extends User, V extends View<U>> = V & {
|
|
29
|
-
active: boolean;
|
|
30
|
-
system: boolean;
|
|
31
|
-
titleHighlightIndices?: HighlightComponent.HighlightIndices[];
|
|
32
|
-
temporary: boolean;
|
|
33
|
-
};
|
|
34
|
-
type CoreState<U extends User, V extends View<U>> = {
|
|
35
|
-
views: V[];
|
|
36
|
-
activeViewId: V['id'] | null;
|
|
37
|
-
temporaryViewId: V['id'] | null;
|
|
38
|
-
containerWidth: number;
|
|
39
|
-
editingViewContext: {
|
|
40
|
-
id: V['id'];
|
|
41
|
-
autoRename: boolean;
|
|
42
|
-
menuContext: MenuContext;
|
|
43
|
-
} | null;
|
|
44
|
-
deletingViewContext: {
|
|
45
|
-
id: V['id'];
|
|
46
|
-
menuContext: MenuContext;
|
|
47
|
-
} | null;
|
|
48
|
-
overflow: {
|
|
49
|
-
search: string;
|
|
50
|
-
pickerOpen: boolean;
|
|
51
|
-
};
|
|
52
|
-
all: {
|
|
53
|
-
search: string;
|
|
54
|
-
privateOpen: boolean;
|
|
55
|
-
sharedOpen: boolean;
|
|
56
|
-
publicOpen: boolean;
|
|
57
|
-
};
|
|
58
|
-
userSource: UserSource<U>;
|
|
59
|
-
userSelectMode: UserSelectMode;
|
|
60
|
-
onAddUser?: OnAddUser<U>;
|
|
61
|
-
newTooltip?: string;
|
|
62
|
-
hasSystemView: boolean;
|
|
63
|
-
};
|
|
64
|
-
type FullState<U extends User, V extends View<U>> = CoreState<U, V> & {
|
|
65
|
-
allViews: FullView<U, V>[];
|
|
66
|
-
displayedViews: FullView<U, V>[];
|
|
67
|
-
enabledViews: FullView<U, V>[];
|
|
68
|
-
allEnabledViews: FullView<U, V>[];
|
|
69
|
-
all: {
|
|
70
|
-
privateViews: FullView<U, V>[];
|
|
71
|
-
sharedViews: FullView<U, V>[];
|
|
72
|
-
publicViews: FullView<U, V>[];
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
|
-
type Action<U extends User, V extends View<U>> = {
|
|
76
|
-
type: 'load';
|
|
77
|
-
} | {
|
|
78
|
-
type: 'setActiveView';
|
|
79
|
-
id: V['id'];
|
|
80
|
-
source?: 'tab' | 'menu' | 'overflow';
|
|
81
|
-
} | {
|
|
82
|
-
type: 'setEnabled';
|
|
83
|
-
id: V['id'];
|
|
84
|
-
enabled: boolean;
|
|
85
|
-
source?: 'menu' | 'eyeIcon';
|
|
86
|
-
} | {
|
|
87
|
-
type: 'setContainerWidth';
|
|
88
|
-
width: number;
|
|
89
|
-
} | {
|
|
90
|
-
type: 'setOverflowPickerOpen';
|
|
91
|
-
open: boolean;
|
|
92
|
-
} | {
|
|
93
|
-
type: 'setOverflowSearchQuery';
|
|
94
|
-
query: string;
|
|
95
|
-
} | {
|
|
96
|
-
type: 'setAllViewsSearchQuery';
|
|
97
|
-
query: string;
|
|
98
|
-
} | {
|
|
99
|
-
type: 'updateView';
|
|
100
|
-
view: V;
|
|
101
|
-
} | {
|
|
102
|
-
type: 'deleteView';
|
|
103
|
-
view: V;
|
|
104
|
-
} | {
|
|
105
|
-
type: 'duplicateView';
|
|
106
|
-
view: V;
|
|
107
|
-
menuContext: MenuContext;
|
|
108
|
-
} | {
|
|
109
|
-
type: 'copyLinkToView';
|
|
110
|
-
view: V;
|
|
111
|
-
} | {
|
|
112
|
-
type: 'setEditingView';
|
|
113
|
-
context: CoreState<U, V>['editingViewContext'];
|
|
114
|
-
} | {
|
|
115
|
-
type: 'setDeletingView';
|
|
116
|
-
context: CoreState<U, V>['deletingViewContext'];
|
|
117
|
-
} | {
|
|
118
|
-
type: 'viewOrderChange';
|
|
119
|
-
previousEnabledIndex: number;
|
|
120
|
-
newEnabledIndex: number;
|
|
121
|
-
source?: 'tabDrag' | 'overflowDrag';
|
|
122
|
-
viewTitle?: V['title'];
|
|
123
|
-
} | {
|
|
124
|
-
type: 'setAllViewsToggle';
|
|
125
|
-
permission: ViewPermission;
|
|
126
|
-
open: boolean;
|
|
127
|
-
} | {
|
|
128
|
-
type: 'createTemporaryView';
|
|
129
|
-
view: V;
|
|
130
|
-
};
|
|
131
|
-
type Source<U extends User, V extends View<U>> = () => V[] | Promise<V[]>;
|
|
132
|
-
type Save<U extends User, V extends View<U>> = (views: V[]) => void | Promise<void>;
|
|
133
|
-
type Duplicate<U extends User, V extends View<U>> = (viewToDuplicate: V) => V | Promise<V>;
|
|
134
|
-
type UserSource<U extends User> = () => U[] | Promise<U[]>;
|
|
135
|
-
type CopyLink<U extends User, V extends View<U>> = (view: V) => void | Promise<void>;
|
|
136
|
-
type SetActiveViewId<U extends User, V extends View<U>> = (id: V['id']) => void | Promise<void>;
|
|
137
|
-
type Manager<U extends User, V extends View<U>> = {
|
|
138
|
-
actions: Subject<Action<U, V>>;
|
|
139
|
-
state: Connectable<FullState<U, V>>;
|
|
140
|
-
};
|
|
141
|
-
type ManagerOptions<U extends User, V extends View<U>> = {
|
|
142
|
-
initialState?: DeepPartial<CoreState<U, V>>;
|
|
143
|
-
fuseOptions?: IFuseOptions<V>;
|
|
144
|
-
};
|
|
145
|
-
type CreateManagerInput<U extends User, V extends View<U>> = {
|
|
146
|
-
source: Source<U, V>;
|
|
147
|
-
save: Save<U, V>;
|
|
148
|
-
duplicate: Duplicate<U, V>;
|
|
149
|
-
userSource: UserSource<U>;
|
|
150
|
-
userSelectMode?: UserSelectMode;
|
|
151
|
-
onAddUser?: OnAddUser<U>;
|
|
152
|
-
newTooltip?: string;
|
|
153
|
-
copyLink: CopyLink<U, V>;
|
|
154
|
-
setActiveViewId: SetActiveViewId<U, V>;
|
|
155
|
-
options?: ManagerOptions<U, V>;
|
|
156
|
-
};
|
|
157
|
-
function createManager<U extends User, V extends View<U>>({ source, save, duplicate, userSource, userSelectMode, onAddUser, newTooltip, copyLink, options, setActiveViewId, }: CreateManagerInput<U, V>): Manager<U, V>;
|
|
158
|
-
function getPermissionTitle(permission: ViewPermission): string;
|
|
159
|
-
function getPermissionDescription(permission: ViewPermission): string;
|
|
160
|
-
function isSharedView<U extends User, V extends View<U>>(view?: FullView<U, V>): view is FullView<U, V> & {
|
|
161
|
-
permission: 'shared';
|
|
162
|
-
sharedUsers: U[];
|
|
163
|
-
};
|
|
164
|
-
/**
|
|
165
|
-
* Converts SearchSelectUser<U> items back to U[] for storage in sharedUsers.
|
|
166
|
-
*
|
|
167
|
-
* Cast required because TypeScript cannot prove that destructuring `new`
|
|
168
|
-
* from `U & { new: boolean }` yields exactly `U` (spread/rest doesn't
|
|
169
|
-
* narrow intersection types).
|
|
170
|
-
*
|
|
171
|
-
* - Strips `new: false` so isEqual() comparisons work (original users lack `new`)
|
|
172
|
-
* - Preserves `new: true` so the backend knows which users to create
|
|
173
|
-
*/
|
|
174
|
-
function toSharedUsers<U extends User>(users: SearchSelectUser<U>[]): U[];
|
|
175
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ElementRef, TemplateRef } from '@angular/core';
|
|
2
|
-
import { RivViews } from '../state';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ViewMenuComponent<U extends RivViews.User, V extends RivViews.View<U>> {
|
|
5
|
-
readonly el: ElementRef;
|
|
6
|
-
constructor(el: ElementRef);
|
|
7
|
-
manager?: RivViews.Manager<U, V>;
|
|
8
|
-
view?: RivViews.FullView<U, V>;
|
|
9
|
-
menuContext: RivViews.MenuContext;
|
|
10
|
-
triggerTemplate?: TemplateRef<void>;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ViewMenuComponent<any, any>, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ViewMenuComponent<any, any>, "riv-view-menu", never, { "manager": { "alias": "manager"; "required": false; }; "view": { "alias": "view"; "required": false; }; "menuContext": { "alias": "menuContext"; "required": false; }; }, {}, ["triggerTemplate"], never, false, never>;
|
|
13
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnInit, TrackByFunction } from '@angular/core';
|
|
2
|
-
import { Observable, Subject } from 'rxjs';
|
|
3
|
-
import { IconComponent } from '../../../icon/icon.component';
|
|
4
|
-
import { RivViews } from '../state';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class ViewsComponent<U extends RivViews.User, V extends RivViews.View<U>> implements OnInit {
|
|
7
|
-
manager?: RivViews.Manager<U, V>;
|
|
8
|
-
sideSheetTopOffset: number;
|
|
9
|
-
overflowTrigger?: ElementRef;
|
|
10
|
-
showAllViews: boolean;
|
|
11
|
-
draggedTabIndex: number | null;
|
|
12
|
-
draggedOverTabIndex: number | null;
|
|
13
|
-
draggedViewTitle: V['title'] | null;
|
|
14
|
-
dragStart(index: number, title: V['title'], isSystemView: boolean): void;
|
|
15
|
-
dragOver(index: number, isSystemView: boolean): void;
|
|
16
|
-
drop(index: number, overflowMenu: boolean): void;
|
|
17
|
-
toastClosed: Subject<void>;
|
|
18
|
-
showLinkCopiedToast?: Observable<boolean>;
|
|
19
|
-
ngOnInit(): void;
|
|
20
|
-
trackById: TrackByFunction<RivViews.FullView<U, V>>;
|
|
21
|
-
getPermissionIcon(permission: RivViews.ViewPermission): IconComponent.Name;
|
|
22
|
-
getPermissionDescription(permission: RivViews.ViewPermission): string;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ViewsComponent<any, any>, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ViewsComponent<any, any>, "riv-views", never, { "manager": { "alias": "manager"; "required": false; }; "sideSheetTopOffset": { "alias": "sideSheetTopOffset"; "required": false; }; }, {}, never, never, false, never>;
|
|
25
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class BadgeComponent {
|
|
3
|
-
variant: BadgeComponent.Variant;
|
|
4
|
-
size: BadgeComponent.Size;
|
|
5
|
-
get classes(): string;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BadgeComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BadgeComponent, "riv-badge", never, { "variant": { "alias": "variant"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
8
|
-
}
|
|
9
|
-
export declare namespace BadgeComponent {
|
|
10
|
-
const Sizes: readonly ["xsmall", "small", "medium", "large"];
|
|
11
|
-
type Size = (typeof Sizes)[number];
|
|
12
|
-
const Variants: readonly ["brand", "disabled", "qualitative-safety", "qualitative-caution", "qualitative-warning", "qualitative-danger", "qualitative-danger-inverse", "categorical-2", "categorical-3", "categorical-4", "categorical-6", "categorical-7", "categorical-8", "categorical-9", "categorical-10"];
|
|
13
|
-
type Variant = (typeof Variants)[number];
|
|
14
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnChanges, Renderer2, SimpleChanges } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class BannerActionComponent implements OnChanges {
|
|
4
|
-
private readonly el;
|
|
5
|
-
private readonly renderer;
|
|
6
|
-
constructor(el: ElementRef, renderer: Renderer2);
|
|
7
|
-
locked?: boolean;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
get isDisabled(): boolean | undefined;
|
|
10
|
-
private disableNativeElement;
|
|
11
|
-
private lockNativeElement;
|
|
12
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BannerActionComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BannerActionComponent, "[riv-banner-action]", never, { "locked": { "alias": "locked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
15
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { IconComponent } from '../../icon/icon.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class BannerComponent {
|
|
5
|
-
variant: BannerComponent.Variant;
|
|
6
|
-
icon: boolean | IconComponent.Name;
|
|
7
|
-
iconTooltip?: string;
|
|
8
|
-
/**
|
|
9
|
-
* Optional bold heading rendered above the projected body content.
|
|
10
|
-
* Intended for banners that need a short title paired with supporting
|
|
11
|
-
* text — a banner with a heading should always include body content.
|
|
12
|
-
* Empty or whitespace-only values are treated as no heading.
|
|
13
|
-
*/
|
|
14
|
-
heading?: string;
|
|
15
|
-
dismissable: boolean;
|
|
16
|
-
get hasHeading(): boolean;
|
|
17
|
-
getResolvedIcon(): IconComponent.Name | null;
|
|
18
|
-
dismiss: EventEmitter<void>;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BannerComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BannerComponent, "riv-banner", never, { "variant": { "alias": "variant"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconTooltip": { "alias": "iconTooltip"; "required": false; }; "heading": { "alias": "heading"; "required": false; }; "dismissable": { "alias": "dismissable"; "required": false; }; }, { "dismiss": "dismiss"; }, never, ["*"], false, never>;
|
|
21
|
-
}
|
|
22
|
-
export declare namespace BannerComponent {
|
|
23
|
-
const Variants: readonly ["warning", "safety", "danger", "info"];
|
|
24
|
-
type Variant = (typeof Variants)[number];
|
|
25
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnDestroy } from '@angular/core';
|
|
2
|
-
import { IconComponent } from '../../icon/icon.component';
|
|
3
|
-
import { mapIndicators } from './map-indicators';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class MapIndicatorComponent implements OnDestroy {
|
|
6
|
-
private readonly element;
|
|
7
|
-
private cached;
|
|
8
|
-
constructor(element: ElementRef<HTMLElement>);
|
|
9
|
-
set name(value: MapIndicatorComponent.Name | null);
|
|
10
|
-
nameValue: MapIndicatorComponent.Name | null;
|
|
11
|
-
icons: MapIndicatorComponent.MapIconInfo[];
|
|
12
|
-
ngOnDestroy(): void;
|
|
13
|
-
clearCached(): void;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MapIndicatorComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MapIndicatorComponent, "riv-map-indicator", never, { "name": { "alias": "name"; "required": false; }; "icons": { "alias": "icons"; "required": false; }; }, {}, never, never, false, never>;
|
|
16
|
-
}
|
|
17
|
-
export declare namespace MapIndicatorComponent {
|
|
18
|
-
type Name = keyof typeof mapIndicators;
|
|
19
|
-
type MapIconInfo = {
|
|
20
|
-
iconName: IconComponent.Name;
|
|
21
|
-
color?: string;
|
|
22
|
-
rotation?: string;
|
|
23
|
-
};
|
|
24
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class NotificationBadgeComponent {
|
|
3
|
-
count: number | null;
|
|
4
|
-
variant: NotificationBadgeComponent.Variant;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationBadgeComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NotificationBadgeComponent, "riv-notification-badge", never, { "count": { "alias": "count"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, never, false, never>;
|
|
7
|
-
}
|
|
8
|
-
export declare namespace NotificationBadgeComponent {
|
|
9
|
-
const Variants: readonly ["basic", "brand"];
|
|
10
|
-
type Variant = (typeof Variants)[number];
|
|
11
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class CalloutComponent implements AfterViewInit, OnChanges {
|
|
4
|
-
private readonly cdr;
|
|
5
|
-
constructor(cdr: ChangeDetectorRef);
|
|
6
|
-
anchor: Element | DOMRect | null;
|
|
7
|
-
isModal: boolean;
|
|
8
|
-
preferredPosition: CalloutComponent.AnchoredPosition;
|
|
9
|
-
allowedPositions: CalloutComponent.AnchoredPosition[];
|
|
10
|
-
fallbackDirection: CalloutComponent.Direction;
|
|
11
|
-
showCaret: boolean;
|
|
12
|
-
theme: CalloutComponent.Theme;
|
|
13
|
-
content: ElementRef<HTMLDivElement> | null;
|
|
14
|
-
scrim: ElementRef<HTMLElement> | null;
|
|
15
|
-
private mouseDownInsideContent;
|
|
16
|
-
scrimMouseDown(evt: MouseEvent): void;
|
|
17
|
-
scrimClick(evt: MouseEvent): void;
|
|
18
|
-
left: number;
|
|
19
|
-
top: number;
|
|
20
|
-
resolvedPosition: CalloutComponent.AnchoredPosition;
|
|
21
|
-
ngAfterViewInit(): void;
|
|
22
|
-
ngOnChanges(): void;
|
|
23
|
-
onContentSizeChanges(): void;
|
|
24
|
-
setPosition(): void;
|
|
25
|
-
readonly close: EventEmitter<void>;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CalloutComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CalloutComponent, "riv-callout", never, { "anchor": { "alias": "anchor"; "required": false; }; "isModal": { "alias": "isModal"; "required": false; }; "preferredPosition": { "alias": "preferredPosition"; "required": false; }; "allowedPositions": { "alias": "allowedPositions"; "required": false; }; "fallbackDirection": { "alias": "fallbackDirection"; "required": false; }; "showCaret": { "alias": "showCaret"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; }, { "close": "close"; }, never, ["*"], false, never>;
|
|
28
|
-
}
|
|
29
|
-
export declare namespace CalloutComponent {
|
|
30
|
-
const Themes: readonly ["light", "dark"];
|
|
31
|
-
type Theme = (typeof Themes)[number];
|
|
32
|
-
const AnchoredPositions: readonly ["top-left", "top-center", "top-right", "right-top", "center-right", "right-bottom", "bottom-right", "bottom-center", "bottom-left", "left-bottom", "center-left", "left-top"];
|
|
33
|
-
type AnchoredPosition = (typeof AnchoredPositions)[number];
|
|
34
|
-
const Directions: readonly ["clockwise", "counter-clockwise"];
|
|
35
|
-
type Direction = (typeof Directions)[number];
|
|
36
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { CalloutComponent } from './callout.component';
|
|
2
|
-
type Dimensions = {
|
|
3
|
-
width: number;
|
|
4
|
-
height: number;
|
|
5
|
-
};
|
|
6
|
-
type Point = {
|
|
7
|
-
x: number;
|
|
8
|
-
y: number;
|
|
9
|
-
};
|
|
10
|
-
export type Box = Point & Dimensions;
|
|
11
|
-
export type Anchor = Point & {
|
|
12
|
-
position: CalloutComponent.AnchoredPosition;
|
|
13
|
-
};
|
|
14
|
-
export declare function getOrigin(anchor: Box, client: Dimensions, viewportSize: Dimensions, preferredPosition: CalloutComponent.AnchoredPosition, allowedPositions: ("top-left" | "top-center" | "top-right" | "right-top" | "center-right" | "right-bottom" | "bottom-right" | "bottom-center" | "bottom-left" | "left-bottom" | "center-left" | "left-top")[] | null | undefined, fallbackDirection: CalloutComponent.Direction, additionalOffset: number): Anchor;
|
|
15
|
-
export declare function originAtPosition(anchor: Box, client: Dimensions, position: CalloutComponent.AnchoredPosition, offset: number): Point;
|
|
16
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class HelpComponent {
|
|
3
|
-
help?: string;
|
|
4
|
-
size: HelpComponent.Size;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HelpComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HelpComponent, "riv-help", never, { "help": { "alias": "help"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, false, never>;
|
|
7
|
-
}
|
|
8
|
-
export declare namespace HelpComponent {
|
|
9
|
-
const Sizes: readonly [12, 16];
|
|
10
|
-
type Size = (typeof HelpComponent.Sizes)[number];
|
|
11
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class LockScrollContextService {
|
|
4
|
-
private stack;
|
|
5
|
-
getContext(): number;
|
|
6
|
-
pushContext(): number;
|
|
7
|
-
popContext(): number;
|
|
8
|
-
scrollPosition: number;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LockScrollContextService, never>;
|
|
10
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LockScrollContextService>;
|
|
11
|
-
}
|
|
12
|
-
export declare class LockScrollDirective implements OnInit, OnDestroy {
|
|
13
|
-
private readonly context;
|
|
14
|
-
constructor(context: LockScrollContextService);
|
|
15
|
-
lock: boolean;
|
|
16
|
-
ngOnInit(): void;
|
|
17
|
-
ngOnDestroy(): void;
|
|
18
|
-
private lockScroll;
|
|
19
|
-
private unlockScroll;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LockScrollDirective, never>;
|
|
21
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<LockScrollDirective, "[rivLockScroll]", never, { "lock": { "alias": "rivLockScroll"; "required": false; }; }, {}, never, never, false, never>;
|
|
22
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnChanges, Renderer2, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { MenuComponent } from '../menu.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class MenuItemComponent implements OnChanges {
|
|
5
|
-
readonly menu: MenuComponent;
|
|
6
|
-
private readonly el;
|
|
7
|
-
private readonly renderer;
|
|
8
|
-
constructor(menu: MenuComponent, el: ElementRef, renderer: Renderer2);
|
|
9
|
-
locked?: boolean;
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
variant: MenuItemComponent.Variant;
|
|
12
|
-
get classes(): {
|
|
13
|
-
[x: string]: boolean | undefined;
|
|
14
|
-
locked: boolean | undefined;
|
|
15
|
-
disabled: boolean | undefined;
|
|
16
|
-
};
|
|
17
|
-
private disableNativeElement;
|
|
18
|
-
private lockNativeElement;
|
|
19
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
20
|
-
click(event: MouseEvent): void;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MenuItemComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MenuItemComponent, "[riv-menu-item]", never, { "locked": { "alias": "locked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
23
|
-
}
|
|
24
|
-
export declare namespace MenuItemComponent {
|
|
25
|
-
const Variants: readonly ["basic", "danger"];
|
|
26
|
-
type Variant = (typeof Variants)[number];
|
|
27
|
-
}
|