@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,17 +0,0 @@
|
|
|
1
|
-
import { ElementRef, TemplateRef } from '@angular/core';
|
|
2
|
-
import { BehaviorSubject } from 'rxjs';
|
|
3
|
-
import { CalloutComponent } from '../callout.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class MenuComponent {
|
|
6
|
-
readonly open: BehaviorSubject<boolean>;
|
|
7
|
-
preferredPosition: CalloutComponent.AnchoredPosition;
|
|
8
|
-
disabled: boolean;
|
|
9
|
-
triggerTemplate?: TemplateRef<{
|
|
10
|
-
open: boolean;
|
|
11
|
-
}>;
|
|
12
|
-
customTriggerButton?: ElementRef;
|
|
13
|
-
standardTriggerButton?: ElementRef;
|
|
14
|
-
getTrigger(): Element | null;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MenuComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MenuComponent, "riv-menu", never, { "preferredPosition": { "alias": "preferredPosition"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, ["triggerTemplate"], ["*"], false, never>;
|
|
17
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Subset of callout anchored positions used by riv-select and riv-simple-select.
|
|
3
|
-
* Omits side positions from the full CalloutComponent.AnchoredPositions list.
|
|
4
|
-
*/
|
|
5
|
-
export declare const defaultSelectAllowedCalloutPositions: readonly ["top-left", "top-center", "top-right", "bottom-right", "bottom-center", "bottom-left"];
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { OnChanges, TemplateRef } from '@angular/core';
|
|
2
|
-
import { TooltipDirective } from './tooltip.directive';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* A convenience wrapper around rivTooltip that allows for conditionally
|
|
6
|
-
* adding a tooltip when the `locked` input is true.
|
|
7
|
-
*/
|
|
8
|
-
export declare class LockedTooltipDirective extends TooltipDirective implements OnChanges {
|
|
9
|
-
rivLockedTooltip?: string | TemplateRef<void>;
|
|
10
|
-
locked?: boolean;
|
|
11
|
-
ngOnChanges(): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LockedTooltipDirective, never>;
|
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<LockedTooltipDirective, "[rivLockedTooltip]", never, { "rivLockedTooltip": { "alias": "rivLockedTooltip"; "required": false; }; "locked": { "alias": "locked"; "required": false; }; }, {}, never, never, false, never>;
|
|
14
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
-
import { CalloutComponent } from '../callout.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
declare function isTemplate(v: string | TemplateRef<void>): v is TemplateRef<void>;
|
|
5
|
-
export declare class TooltipComponent {
|
|
6
|
-
anchor: Element | DOMRect | null;
|
|
7
|
-
content?: string | TemplateRef<void>;
|
|
8
|
-
theme: CalloutComponent.Theme;
|
|
9
|
-
maxWidth: string;
|
|
10
|
-
preferredPosition: TooltipComponent.AnchoredPosition;
|
|
11
|
-
onMouseEnter: EventEmitter<MouseEvent>;
|
|
12
|
-
onMouseLeave: EventEmitter<MouseEvent>;
|
|
13
|
-
_onMouseLeave(evt: MouseEvent): void;
|
|
14
|
-
_onMouseEnter(evt: MouseEvent): void;
|
|
15
|
-
readonly isTemplate: typeof isTemplate;
|
|
16
|
-
readonly allowedPositions: ("top-center" | "center-right" | "bottom-center" | "center-left")[];
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "riv-tooltip", never, { "anchor": { "alias": "anchor"; "required": false; }; "content": { "alias": "content"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "preferredPosition": { "alias": "preferredPosition"; "required": false; }; }, { "onMouseEnter": "onMouseEnter"; "onMouseLeave": "onMouseLeave"; }, never, never, false, never>;
|
|
19
|
-
}
|
|
20
|
-
export declare namespace TooltipComponent {
|
|
21
|
-
/** 344px, which fits about 50 characters per line. */
|
|
22
|
-
const DefaultMaxWidth = "calc(var(--base-grid-size) * 86)";
|
|
23
|
-
const AnchoredPositions: readonly ["top-center", "center-right", "bottom-center", "center-left"];
|
|
24
|
-
type AnchoredPosition = Extract<(typeof AnchoredPositions)[number], CalloutComponent.AnchoredPosition>;
|
|
25
|
-
}
|
|
26
|
-
export {};
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { ApplicationRef, ElementRef, OnDestroy, TemplateRef } from '@angular/core';
|
|
2
|
-
import { TooltipComponent } from './tooltip.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TooltipDirective implements OnDestroy {
|
|
5
|
-
protected readonly el: ElementRef;
|
|
6
|
-
protected readonly applicationRef: ApplicationRef;
|
|
7
|
-
constructor(el: ElementRef, applicationRef: ApplicationRef);
|
|
8
|
-
private _rivTooltip?;
|
|
9
|
-
set rivTooltip(value: string | TemplateRef<void> | undefined);
|
|
10
|
-
get rivTooltip(): string | TemplateRef<void> | undefined;
|
|
11
|
-
rivTooltipTheme: 'dark' | 'light';
|
|
12
|
-
rivTooltipMaxWidth: string;
|
|
13
|
-
rivTooltipPreferredPosition: TooltipComponent.AnchoredPosition;
|
|
14
|
-
/** Element to position the tooltip against. Defaults to the host element. */
|
|
15
|
-
rivTooltipAnchor?: Element;
|
|
16
|
-
rivTooltipCloseDelay: number;
|
|
17
|
-
rivTooltipOpenDelay: number;
|
|
18
|
-
/**
|
|
19
|
-
* Window after the pointer leaves in which the time already spent hovering is
|
|
20
|
-
* kept. Coming back within it resumes the open countdown rather than starting
|
|
21
|
-
* it over, so brushing off a small target — a 16px `riv-help` icon, say — and
|
|
22
|
-
* returning does not cost another full `rivTooltipOpenDelay`.
|
|
23
|
-
*/
|
|
24
|
-
rivTooltipGracePeriod: number;
|
|
25
|
-
private tooltipRef?;
|
|
26
|
-
private closeTimeout?;
|
|
27
|
-
private openTimeout?;
|
|
28
|
-
private graceTimeout?;
|
|
29
|
-
/** Hover time already served toward `rivTooltipOpenDelay`. */
|
|
30
|
-
private servedDelay;
|
|
31
|
-
/** When the pending open countdown started. */
|
|
32
|
-
private openStartedAt;
|
|
33
|
-
onMouseEnter(): void;
|
|
34
|
-
onMouseLeave(): void;
|
|
35
|
-
ngOnDestroy(): void;
|
|
36
|
-
private initiateClose;
|
|
37
|
-
private cancelClose;
|
|
38
|
-
private cancelOpen;
|
|
39
|
-
/**
|
|
40
|
-
* Banks the hover time served so far and starts the grace period, after which
|
|
41
|
-
* the countdown starts from zero again.
|
|
42
|
-
*/
|
|
43
|
-
private holdOpenProgress;
|
|
44
|
-
private discardOpenProgress;
|
|
45
|
-
private closeImmediately;
|
|
46
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipDirective, never>;
|
|
47
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDirective, "[rivTooltip]", never, { "rivTooltip": { "alias": "rivTooltip"; "required": false; }; "rivTooltipTheme": { "alias": "rivTooltipTheme"; "required": false; }; "rivTooltipMaxWidth": { "alias": "rivTooltipMaxWidth"; "required": false; }; "rivTooltipPreferredPosition": { "alias": "rivTooltipPreferredPosition"; "required": false; }; "rivTooltipAnchor": { "alias": "rivTooltipAnchor"; "required": false; }; "rivTooltipCloseDelay": { "alias": "rivTooltipCloseDelay"; "required": false; }; "rivTooltipOpenDelay": { "alias": "rivTooltipOpenDelay"; "required": false; }; "rivTooltipGracePeriod": { "alias": "rivTooltipGracePeriod"; "required": false; }; }, {}, never, never, false, never>;
|
|
48
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
-
import { DialogStackService } from '../dialog-stack.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class DialogComponent implements OnDestroy {
|
|
5
|
-
private readonly dialogStack;
|
|
6
|
-
title?: string;
|
|
7
|
-
minWidth?: string;
|
|
8
|
-
customBody: boolean;
|
|
9
|
-
customFooter: boolean;
|
|
10
|
-
close: EventEmitter<void>;
|
|
11
|
-
readonly titleId: string;
|
|
12
|
-
private readonly stackKey;
|
|
13
|
-
constructor(dialogStack: DialogStackService);
|
|
14
|
-
ngOnDestroy(): void;
|
|
15
|
-
handleKeydown(event: KeyboardEvent): void;
|
|
16
|
-
readonly hook: string;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DialogComponent, "riv-dialog", never, { "title": { "alias": "title"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; "customBody": { "alias": "customBody"; "required": false; }; "customFooter": { "alias": "customFooter"; "required": false; }; }, { "close": "close"; }, never, ["*", "footer"], false, never>;
|
|
19
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
/**
|
|
3
|
-
* Tracks open dialogs in the order they were opened, so a document-level
|
|
4
|
-
* Escape handler can tell whether its dialog is the topmost one. Without this,
|
|
5
|
-
* every open dialog sees the same keydown and one Escape closes the whole
|
|
6
|
-
* stack.
|
|
7
|
-
*/
|
|
8
|
-
export declare class DialogStackService {
|
|
9
|
-
private stack;
|
|
10
|
-
register(): symbol;
|
|
11
|
-
unregister(key: symbol): void;
|
|
12
|
-
isTopmost(key: symbol): boolean;
|
|
13
|
-
/**
|
|
14
|
-
* Whether the dialog registered as `key` should close for this keydown: it
|
|
15
|
-
* must be an Escape that nothing inside the dialog has already claimed (via
|
|
16
|
-
* preventDefault, e.g. closing a riv-search-select or mentions popup), and
|
|
17
|
-
* the dialog must be the topmost one so a dialog opened from inside another
|
|
18
|
-
* doesn't close both.
|
|
19
|
-
*/
|
|
20
|
-
isTopmostEscape(key: symbol, event: KeyboardEvent): boolean;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DialogStackService, never>;
|
|
22
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DialogStackService>;
|
|
23
|
-
}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, EventEmitter, NgZone, OnDestroy } from '@angular/core';
|
|
2
|
-
import { DialogStackService } from '../dialog-stack.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* A dialog whose body and footer live inside a native `<form>`, so pressing
|
|
6
|
-
* Enter in a field or clicking Submit both submit the form. The form is part of
|
|
7
|
-
* this template (rather than wrapped around the dialog by the consumer) because
|
|
8
|
-
* riv-modal teleports the dialog into riv-overlay-outlet, which would otherwise
|
|
9
|
-
* move the fields and buttons out of the consumer's form.
|
|
10
|
-
*
|
|
11
|
-
* While `submitting` is true every close path (Escape, the X button, Cancel and
|
|
12
|
-
* the scrim) is ignored, so the dialog stays open to show the request's outcome
|
|
13
|
-
* and the user doesn't lose their input.
|
|
14
|
-
*
|
|
15
|
-
* `loading` only covers the body against pointer input and disables Submit; it
|
|
16
|
-
* doesn't disable the fields, so they can still be reached and edited with the
|
|
17
|
-
* keyboard. Disable the fields yourself if that matters.
|
|
18
|
-
*
|
|
19
|
-
* Buttons projected into the body or `footer-start` must set `type="button"`.
|
|
20
|
-
* A `<button>` without a type defaults to `type="submit"`, so it would submit
|
|
21
|
-
* the form when clicked, and if it comes before Submit in the DOM it becomes
|
|
22
|
-
* the form's default button, so pressing Enter in a field clicks it instead of
|
|
23
|
-
* Submit.
|
|
24
|
-
*
|
|
25
|
-
* When it opens, focus moves to the first enabled field in the body (or to the
|
|
26
|
-
* dialog itself if the body has none), unless something inside the dialog
|
|
27
|
-
* already took focus.
|
|
28
|
-
*/
|
|
29
|
-
export declare class FormDialogComponent implements AfterViewInit, OnDestroy {
|
|
30
|
-
private readonly dialogStack;
|
|
31
|
-
private readonly zone;
|
|
32
|
-
title?: string;
|
|
33
|
-
minWidth?: string;
|
|
34
|
-
customBody: boolean;
|
|
35
|
-
submitText: string;
|
|
36
|
-
submittingText: string;
|
|
37
|
-
cancelText: string;
|
|
38
|
-
canSubmit: boolean;
|
|
39
|
-
submitting: boolean;
|
|
40
|
-
loading: boolean;
|
|
41
|
-
submitTooltip?: string;
|
|
42
|
-
closeText: string;
|
|
43
|
-
readonly: boolean;
|
|
44
|
-
readonly formSubmit: EventEmitter<void>;
|
|
45
|
-
readonly close: EventEmitter<void>;
|
|
46
|
-
private readonly dialog?;
|
|
47
|
-
readonly titleId: string;
|
|
48
|
-
private readonly stackKey;
|
|
49
|
-
private initialFocus?;
|
|
50
|
-
constructor(dialogStack: DialogStackService, zone: NgZone);
|
|
51
|
-
ngAfterViewInit(): void;
|
|
52
|
-
ngOnDestroy(): void;
|
|
53
|
-
handleKeydown(event: KeyboardEvent): void;
|
|
54
|
-
requestClose(): void;
|
|
55
|
-
get submitDisabled(): boolean;
|
|
56
|
-
handleSubmit(event: Event): void;
|
|
57
|
-
readonly hook: string;
|
|
58
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormDialogComponent, never>;
|
|
59
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormDialogComponent, "riv-form-dialog", never, { "title": { "alias": "title"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; "customBody": { "alias": "customBody"; "required": false; }; "submitText": { "alias": "submitText"; "required": false; }; "submittingText": { "alias": "submittingText"; "required": false; }; "cancelText": { "alias": "cancelText"; "required": false; }; "canSubmit": { "alias": "canSubmit"; "required": false; }; "submitting": { "alias": "submitting"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "submitTooltip": { "alias": "submitTooltip"; "required": false; }; "closeText": { "alias": "closeText"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; }, { "formSubmit": "formSubmit"; "close": "close"; }, never, ["*", "[footer-start]"], false, never>;
|
|
60
|
-
}
|
|
61
|
-
export declare namespace FormDialogComponent {
|
|
62
|
-
function focusInitial(dialog: HTMLElement): void;
|
|
63
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ModalComponent {
|
|
4
|
-
obscure: boolean;
|
|
5
|
-
topOffset: number;
|
|
6
|
-
readonly close: EventEmitter<void>;
|
|
7
|
-
scrimClick(evt: MouseEvent): void;
|
|
8
|
-
readonly hook: string;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ModalComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "riv-modal", never, { "obscure": { "alias": "obscure"; "required": false; }; "topOffset": { "alias": "topOffset"; "required": false; }; }, { "close": "close"; }, never, ["*"], false, never>;
|
|
11
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class SideSheetComponent {
|
|
4
|
-
topOffset: number;
|
|
5
|
-
width: string;
|
|
6
|
-
obscure: boolean;
|
|
7
|
-
/** Accessible name for the side sheet, announced by screen readers. */
|
|
8
|
-
label?: string;
|
|
9
|
-
close: EventEmitter<void>;
|
|
10
|
-
readonly hook: string;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SideSheetComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SideSheetComponent, "riv-side-sheet", never, { "topOffset": { "alias": "topOffset"; "required": false; }; "width": { "alias": "width"; "required": false; }; "obscure": { "alias": "obscure"; "required": false; }; "label": { "alias": "label"; "required": false; }; }, { "close": "close"; }, never, ["*"], false, never>;
|
|
13
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { style } from '@angular/animations';
|
|
2
|
-
import { KeyValue } from '@angular/common';
|
|
3
|
-
import { TemplateRef, TrackByFunction } from '@angular/core';
|
|
4
|
-
import { OverlayService } from './overlay.service';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
type AnimationConfig = {
|
|
7
|
-
HOOK: string;
|
|
8
|
-
HIDDEN: Parameters<typeof style>[0];
|
|
9
|
-
VISIBLE: Parameters<typeof style>[0];
|
|
10
|
-
};
|
|
11
|
-
export declare const ANIMATION_CONSTANTS: Record<'SIDE_SHEET' | 'TOAST' | 'DIALOG' | 'MODAL', AnimationConfig>;
|
|
12
|
-
export declare class OverlayOutletComponent {
|
|
13
|
-
readonly overlayService: OverlayService;
|
|
14
|
-
constructor(overlayService: OverlayService);
|
|
15
|
-
readonly trackOverlay: TrackByFunction<KeyValue<Symbol, TemplateRef<void>>>;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OverlayOutletComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OverlayOutletComponent, "riv-overlay-outlet", never, {}, {}, never, never, false, never>;
|
|
18
|
-
}
|
|
19
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
-
import { OverlayService } from './overlay.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class OverlayDirective implements OnInit, OnDestroy {
|
|
5
|
-
private readonly template;
|
|
6
|
-
private readonly overlayService;
|
|
7
|
-
constructor(template: TemplateRef<void>, overlayService: OverlayService);
|
|
8
|
-
private key?;
|
|
9
|
-
ngOnInit(): void;
|
|
10
|
-
ngOnDestroy(): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OverlayDirective, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<OverlayDirective, "[riv-overlay]", never, {}, {}, never, never, false, never>;
|
|
13
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { NgZone, TemplateRef } from '@angular/core';
|
|
2
|
-
import { BehaviorSubject } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export type Overlays = Map<Symbol, TemplateRef<void>>;
|
|
5
|
-
export declare class OverlayService {
|
|
6
|
-
private readonly zone;
|
|
7
|
-
constructor(zone: NgZone);
|
|
8
|
-
overlays: BehaviorSubject<Overlays>;
|
|
9
|
-
add(overlay: TemplateRef<void>): Symbol;
|
|
10
|
-
remove(key: Symbol): void;
|
|
11
|
-
private update;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OverlayService, never>;
|
|
13
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<OverlayService>;
|
|
14
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class ToastActionComponent {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ToastActionComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToastActionComponent, "[riv-toast-action]", never, {}, {}, never, ["*"], false, never>;
|
|
5
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { IconComponent } from '../../icon/icon.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ToastComponent implements OnInit {
|
|
5
|
-
static DURATION: number;
|
|
6
|
-
variant: ToastComponent.Variant;
|
|
7
|
-
icon?: IconComponent.Name;
|
|
8
|
-
ngOnInit(): void;
|
|
9
|
-
close: EventEmitter<void>;
|
|
10
|
-
readonly hook: string;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ToastComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToastComponent, "riv-toast", never, { "variant": { "alias": "variant"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; }, { "close": "close"; }, never, ["*"], false, never>;
|
|
13
|
-
}
|
|
14
|
-
export declare namespace ToastComponent {
|
|
15
|
-
const Variants: readonly ["basic", "danger", "safety", "safety-dark", "safety-inverse"];
|
|
16
|
-
type Variant = (typeof Variants)[number];
|
|
17
|
-
}
|
package/lib/riv.module.d.ts
DELETED
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./navigation/views/all-views-modal/all-views-modal.component";
|
|
3
|
-
import * as i2 from "./input/alphabetic-field/alphabetic-field.component";
|
|
4
|
-
import * as i3 from "./input/auto-focus/auto-focus.directive";
|
|
5
|
-
import * as i4 from "./notification/badge/badge.component";
|
|
6
|
-
import * as i5 from "./notification/banner/banner-action.component";
|
|
7
|
-
import * as i6 from "./notification/banner/banner.component";
|
|
8
|
-
import * as i7 from "./input/button/button.component";
|
|
9
|
-
import * as i8 from "./input/button-group/button-group.component";
|
|
10
|
-
import * as i9 from "./input/calendar/calendar.component";
|
|
11
|
-
import * as i10 from "./overlay/callout/callout.component";
|
|
12
|
-
import * as i11 from "./layout/card/card-actions.component";
|
|
13
|
-
import * as i12 from "./input/card-checkbox/card-checkbox.component";
|
|
14
|
-
import * as i13 from "./layout/card/card.component";
|
|
15
|
-
import * as i14 from "./layout/card/card-content.component";
|
|
16
|
-
import * as i15 from "./layout/card/card-header.component";
|
|
17
|
-
import * as i16 from "./layout/card/card-link.component";
|
|
18
|
-
import * as i17 from "./layout/card/card-media.component";
|
|
19
|
-
import * as i18 from "./visualization/chart/chart.component";
|
|
20
|
-
import * as i19 from "./input/checkbox/checkbox.component";
|
|
21
|
-
import * as i20 from "./input/currency-field/currency-field.component";
|
|
22
|
-
import * as i21 from "./visualization/data-table/data-table-cell.component";
|
|
23
|
-
import * as i22 from "./visualization/data-table/data-table.component";
|
|
24
|
-
import * as i23 from "./visualization/data-table/data-table-header-cell.component";
|
|
25
|
-
import * as i24 from "./visualization/data-table/data-table-row.component";
|
|
26
|
-
import * as i25 from "./input/date/date.component";
|
|
27
|
-
import * as i26 from "./format/pipes/date.pipe";
|
|
28
|
-
import * as i27 from "./input/date-range/date-range.component";
|
|
29
|
-
import * as i28 from "./format/pipes/days.pipe";
|
|
30
|
-
import * as i29 from "./overlay/modal/dialog/dialog.component";
|
|
31
|
-
import * as i30 from "./format/pipes/dollars.pipe";
|
|
32
|
-
import * as i31 from "./visualization/donut/donut.component";
|
|
33
|
-
import * as i32 from "./navigation/editable-heading/editable-heading.component";
|
|
34
|
-
import * as i33 from "./navigation/views/edit-view/edit-view.component";
|
|
35
|
-
import * as i34 from "./input/filter-chip/filter-chip.component";
|
|
36
|
-
import * as i35 from "./input/filter-dropdown/filter-dropdown.component";
|
|
37
|
-
import * as i36 from "./overlay/modal/form-dialog/form-dialog.component";
|
|
38
|
-
import * as i37 from "./visualization/funnel-chart/funnel-chart.component";
|
|
39
|
-
import * as i38 from "./overlay/callout/help/help.component";
|
|
40
|
-
import * as i39 from "./visualization/highlight/highlight.component";
|
|
41
|
-
import * as i40 from "./icon/icon.component";
|
|
42
|
-
import * as i41 from "./input/input-label/input-label.component";
|
|
43
|
-
import * as i42 from "./visualization/issue/issue.component";
|
|
44
|
-
import * as i43 from "./visualization/legend-item/legend-item.component";
|
|
45
|
-
import * as i44 from "./navigation/link/link.component";
|
|
46
|
-
import * as i45 from "./load/loading/loading.component";
|
|
47
|
-
import * as i46 from "./load/loading-cover/loading-cover.component";
|
|
48
|
-
import * as i47 from "./overlay/callout/tooltip/locked-tooltip.directive";
|
|
49
|
-
import * as i48 from "./overlay/callout/lock-scroll.directive";
|
|
50
|
-
import * as i49 from "./notification/map-indicator/map-indicator.component";
|
|
51
|
-
import * as i50 from "./input/mentions-input/mentions-input.component";
|
|
52
|
-
import * as i51 from "./overlay/callout/menu/menu.component";
|
|
53
|
-
import * as i52 from "./overlay/callout/menu/menu-item/menu-item.component";
|
|
54
|
-
import * as i53 from "./visualization/metric/metric.component";
|
|
55
|
-
import * as i54 from "./visualization/mini-pie/mini-pie.component";
|
|
56
|
-
import * as i55 from "./overlay/modal/modal.component";
|
|
57
|
-
import * as i56 from "./notification/notification-badge/notification-badge.component";
|
|
58
|
-
import * as i57 from "./input/number-field/number-field.component";
|
|
59
|
-
import * as i58 from "./format/pipes/number.pipe";
|
|
60
|
-
import * as i59 from "./input/simple-select/option-group.pipe";
|
|
61
|
-
import * as i60 from "./overlay/overlay.directive";
|
|
62
|
-
import * as i61 from "./overlay/overlay-outlet.component";
|
|
63
|
-
import * as i62 from "./navigation/page-header/page-header.component";
|
|
64
|
-
import * as i63 from "./input/percentage-field/percentage-field.component";
|
|
65
|
-
import * as i64 from "./format/pipes/percentage.pipe";
|
|
66
|
-
import * as i65 from "./navigation/views/permission-picker/permission-picker.component";
|
|
67
|
-
import * as i66 from "./input/phone-field/phone-field.component";
|
|
68
|
-
import * as i67 from "./visualization/progress/progress.component";
|
|
69
|
-
import * as i68 from "./input/radio/radio.component";
|
|
70
|
-
import * as i69 from "./input/search/search.component";
|
|
71
|
-
import * as i70 from "./input/search-select/search-select.component";
|
|
72
|
-
import * as i71 from "./input/select/select/select.component";
|
|
73
|
-
import * as i72 from "./input/select/select-node/select-node.component";
|
|
74
|
-
import * as i73 from "./format/pipes/sentence-case.pipe";
|
|
75
|
-
import * as i74 from "./layout/setting-row/setting-row.component";
|
|
76
|
-
import * as i75 from "./overlay/modal/side-sheet/side-sheet.component";
|
|
77
|
-
import * as i76 from "./input/simple-select/simple-select.component";
|
|
78
|
-
import * as i77 from "./navigation/simple-tabs/simple-tab/simple-tab.component";
|
|
79
|
-
import * as i78 from "./table/simple-table/simple-table-cell.component";
|
|
80
|
-
import * as i79 from "./table/simple-table/simple-table.component";
|
|
81
|
-
import * as i80 from "./table/simple-table/simple-table-header-cell.component";
|
|
82
|
-
import * as i81 from "./table/simple-table/simple-table-row.component";
|
|
83
|
-
import * as i82 from "./navigation/simple-tabs/simple-tabs/simple-tabs.component";
|
|
84
|
-
import * as i83 from "./size/size.directive";
|
|
85
|
-
import * as i84 from "./format/pipes/small-currency.pipe";
|
|
86
|
-
import * as i85 from "./format/pipes/small-number.pipe";
|
|
87
|
-
import * as i86 from "./accessibility/sr-only/sr-only.component";
|
|
88
|
-
import * as i87 from "./visualization/stacked-column/stacked-column.component";
|
|
89
|
-
import * as i88 from "./visualization/stacked-row/stacked-row.component";
|
|
90
|
-
import * as i89 from "./format/svg-text-truncate/svg-text-truncate.directive";
|
|
91
|
-
import * as i90 from "./input/switch-checkbox/switch-checkbox.component";
|
|
92
|
-
import * as i91 from "./navigation/tabs/tab/tab.component";
|
|
93
|
-
import * as i92 from "./table/table/table-collapse-all/table-collapse-all.component";
|
|
94
|
-
import * as i93 from "./table/table/table-column-settings/table-column-settings.component";
|
|
95
|
-
import * as i94 from "./table/table/table-column-settings/table-column-settings-side-sheet.component";
|
|
96
|
-
import * as i95 from "./table/table/table/table.component";
|
|
97
|
-
import * as i96 from "./table/table/table-csv-export/table-csv-export.component";
|
|
98
|
-
import * as i97 from "./table/table/table-header-resize-handle/table-header-resize-handle.component";
|
|
99
|
-
import * as i98 from "./table/table/table-search-columns/table-search-columns.component";
|
|
100
|
-
import * as i99 from "./table/table/table-search/table-search.component";
|
|
101
|
-
import * as i100 from "./navigation/tabs/tabs/tabs.component";
|
|
102
|
-
import * as i101 from "./input/textarea-field/textarea-field.component";
|
|
103
|
-
import * as i102 from "./input/text-field/text-field.component";
|
|
104
|
-
import * as i103 from "./visualization/time-series/time-series.component";
|
|
105
|
-
import * as i104 from "./overlay/toast/toast-action.component";
|
|
106
|
-
import * as i105 from "./overlay/toast/toast.component";
|
|
107
|
-
import * as i106 from "./overlay/callout/tooltip/tooltip.component";
|
|
108
|
-
import * as i107 from "./overlay/callout/tooltip/tooltip.directive";
|
|
109
|
-
import * as i108 from "./visualization/trend/trend.component";
|
|
110
|
-
import * as i109 from "./format/truncate/truncate.component";
|
|
111
|
-
import * as i110 from "./input/validation-message/validation-message.component";
|
|
112
|
-
import * as i111 from "./navigation/views/view-menu/view-menu.component";
|
|
113
|
-
import * as i112 from "./navigation/views/views/views.component";
|
|
114
|
-
import * as i113 from "./visibility/visibility.directive";
|
|
115
|
-
import * as i114 from "./visualization/zero-state/zero-state.component";
|
|
116
|
-
import * as i115 from "@angular/common";
|
|
117
|
-
import * as i116 from "@angular/router";
|
|
118
|
-
export declare class RivModule {
|
|
119
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RivModule, never>;
|
|
120
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<RivModule, [typeof i1.AllViewsModalComponent, typeof i2.AlphabeticFieldComponent, typeof i3.AutoFocusDirective, typeof i4.BadgeComponent, typeof i5.BannerActionComponent, typeof i6.BannerComponent, typeof i7.ButtonComponent, typeof i8.ButtonGroupComponent, typeof i9.CalendarComponent, typeof i10.CalloutComponent, typeof i11.CardActionsComponent, typeof i12.CardCheckboxComponent, typeof i13.CardComponent, typeof i14.CardContentComponent, typeof i15.CardHeaderComponent, typeof i16.CardLinkComponent, typeof i17.CardMediaComponent, typeof i18.ChartComponent, typeof i19.CheckboxComponent, typeof i20.CurrencyFieldComponent, typeof i21.DataTableCellComponent, typeof i22.DataTableComponent, typeof i23.DataTableHeaderCellComponent, typeof i24.DataTableRowComponent, typeof i25.DateComponent, typeof i26.DatePipe, typeof i27.DateRangeComponent, typeof i28.DaysPipe, typeof i29.DialogComponent, typeof i30.DollarsPipe, typeof i31.DonutComponent, typeof i32.EditableHeadingComponent, typeof i33.EditViewComponent, typeof i34.FilterChipComponent, typeof i35.FilterDropdownComponent, typeof i36.FormDialogComponent, typeof i37.FunnelChartComponent, typeof i38.HelpComponent, typeof i39.HighlightComponent, typeof i40.IconComponent, typeof i41.InputLabelComponent, typeof i42.IssueComponent, typeof i43.LegendItemComponent, typeof i44.LinkComponent, typeof i45.LoadingComponent, typeof i46.LoadingCoverComponent, typeof i47.LockedTooltipDirective, typeof i48.LockScrollDirective, typeof i49.MapIndicatorComponent, typeof i50.MentionsInputComponent, typeof i51.MenuComponent, typeof i52.MenuItemComponent, typeof i53.MetricComponent, typeof i54.MiniPieComponent, typeof i55.ModalComponent, typeof i56.NotificationBadgeComponent, typeof i57.NumberFieldComponent, typeof i58.NumberPipe, typeof i59.OptionGroupPipe, typeof i60.OverlayDirective, typeof i61.OverlayOutletComponent, typeof i62.PageHeaderComponent, typeof i63.PercentageFieldComponent, typeof i64.PercentagePipe, typeof i65.PermissionPickerComponent, typeof i66.PhoneFieldComponent, typeof i67.ProgressComponent, typeof i68.RadioComponent, typeof i69.SearchComponent, typeof i70.SearchSelectComponent, typeof i71.SelectComponent, typeof i72.SelectNodeComponent, typeof i73.SentenceCasePipe, typeof i74.SettingRowComponent, typeof i75.SideSheetComponent, typeof i76.SimpleSelectComponent, typeof i77.SimpleTabComponent, typeof i78.SimpleTableCellComponent, typeof i79.SimpleTableComponent, typeof i80.SimpleTableHeaderCellComponent, typeof i81.SimpleTableRowComponent, typeof i82.SimpleTabsComponent, typeof i83.SizeDirective, typeof i84.SmallCurrencyPipe, typeof i85.SmallNumberPipe, typeof i86.SrOnlyComponent, typeof i87.StackedColumnComponent, typeof i88.StackedRowComponent, typeof i89.SVGTextTruncateDirective, typeof i90.SwitchCheckboxComponent, typeof i91.TabComponent, typeof i92.TableCollapseAllComponent, typeof i93.TableColumnSettingsComponent, typeof i94.TableColumnSettingsSideSheetComponent, typeof i95.TableComponent, typeof i96.TableCsvExportComponent, typeof i97.TableHeaderResizeHandleComponent, typeof i98.TableSearchColumnsComponent, typeof i99.TableSearchComponent, typeof i100.TabsComponent, typeof i101.TextareaFieldComponent, typeof i102.TextFieldComponent, typeof i103.TimeSeriesComponent, typeof i104.ToastActionComponent, typeof i105.ToastComponent, typeof i106.TooltipComponent, typeof i107.TooltipDirective, typeof i108.TrendComponent, typeof i109.TruncateComponent, typeof i110.ValidationMessageComponent, typeof i111.ViewMenuComponent, typeof i112.ViewsComponent, typeof i113.VisibilityDirective, typeof i114.ZeroStateComponent], [typeof i115.CommonModule, typeof i116.RouterModule], [typeof i1.AllViewsModalComponent, typeof i2.AlphabeticFieldComponent, typeof i3.AutoFocusDirective, typeof i4.BadgeComponent, typeof i5.BannerActionComponent, typeof i6.BannerComponent, typeof i7.ButtonComponent, typeof i8.ButtonGroupComponent, typeof i10.CalloutComponent, typeof i11.CardActionsComponent, typeof i12.CardCheckboxComponent, typeof i13.CardComponent, typeof i14.CardContentComponent, typeof i15.CardHeaderComponent, typeof i16.CardLinkComponent, typeof i17.CardMediaComponent, typeof i18.ChartComponent, typeof i19.CheckboxComponent, typeof i20.CurrencyFieldComponent, typeof i21.DataTableCellComponent, typeof i22.DataTableComponent, typeof i23.DataTableHeaderCellComponent, typeof i24.DataTableRowComponent, typeof i25.DateComponent, typeof i26.DatePipe, typeof i27.DateRangeComponent, typeof i28.DaysPipe, typeof i29.DialogComponent, typeof i30.DollarsPipe, typeof i31.DonutComponent, typeof i32.EditableHeadingComponent, typeof i33.EditViewComponent, typeof i34.FilterChipComponent, typeof i35.FilterDropdownComponent, typeof i36.FormDialogComponent, typeof i37.FunnelChartComponent, typeof i38.HelpComponent, typeof i39.HighlightComponent, typeof i40.IconComponent, typeof i41.InputLabelComponent, typeof i42.IssueComponent, typeof i43.LegendItemComponent, typeof i44.LinkComponent, typeof i45.LoadingComponent, typeof i46.LoadingCoverComponent, typeof i47.LockedTooltipDirective, typeof i49.MapIndicatorComponent, typeof i50.MentionsInputComponent, typeof i51.MenuComponent, typeof i52.MenuItemComponent, typeof i53.MetricComponent, typeof i54.MiniPieComponent, typeof i55.ModalComponent, typeof i56.NotificationBadgeComponent, typeof i57.NumberFieldComponent, typeof i58.NumberPipe, typeof i59.OptionGroupPipe, typeof i60.OverlayDirective, typeof i61.OverlayOutletComponent, typeof i62.PageHeaderComponent, typeof i63.PercentageFieldComponent, typeof i64.PercentagePipe, typeof i65.PermissionPickerComponent, typeof i66.PhoneFieldComponent, typeof i67.ProgressComponent, typeof i68.RadioComponent, typeof i69.SearchComponent, typeof i70.SearchSelectComponent, typeof i71.SelectComponent, typeof i73.SentenceCasePipe, typeof i74.SettingRowComponent, typeof i75.SideSheetComponent, typeof i76.SimpleSelectComponent, typeof i77.SimpleTabComponent, typeof i78.SimpleTableCellComponent, typeof i79.SimpleTableComponent, typeof i80.SimpleTableHeaderCellComponent, typeof i81.SimpleTableRowComponent, typeof i82.SimpleTabsComponent, typeof i83.SizeDirective, typeof i84.SmallCurrencyPipe, typeof i85.SmallNumberPipe, typeof i86.SrOnlyComponent, typeof i87.StackedColumnComponent, typeof i88.StackedRowComponent, typeof i89.SVGTextTruncateDirective, typeof i90.SwitchCheckboxComponent, typeof i91.TabComponent, typeof i92.TableCollapseAllComponent, typeof i93.TableColumnSettingsComponent, typeof i94.TableColumnSettingsSideSheetComponent, typeof i95.TableComponent, typeof i96.TableCsvExportComponent, typeof i98.TableSearchColumnsComponent, typeof i99.TableSearchComponent, typeof i100.TabsComponent, typeof i101.TextareaFieldComponent, typeof i102.TextFieldComponent, typeof i103.TimeSeriesComponent, typeof i104.ToastActionComponent, typeof i105.ToastComponent, typeof i106.TooltipComponent, typeof i107.TooltipDirective, typeof i108.TrendComponent, typeof i109.TruncateComponent, typeof i110.ValidationMessageComponent, typeof i111.ViewMenuComponent, typeof i112.ViewsComponent, typeof i113.VisibilityDirective, typeof i114.ZeroStateComponent]>;
|
|
121
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<RivModule>;
|
|
122
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, NgZone, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class SizeDirective implements OnInit, OnDestroy {
|
|
4
|
-
private readonly elementRef;
|
|
5
|
-
private resizeObserver;
|
|
6
|
-
rivClientSize: EventEmitter<DOMRect>;
|
|
7
|
-
constructor(elementRef: ElementRef<HTMLElement>, zone: NgZone);
|
|
8
|
-
ngOnInit(): void;
|
|
9
|
-
ngOnDestroy(): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SizeDirective, never>;
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SizeDirective, "[rivClientSize]", never, {}, { "rivClientSize": "rivClientSize"; }, never, never, false, never>;
|
|
12
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export type Cell = {
|
|
2
|
-
rowspan: number;
|
|
3
|
-
colspan: number;
|
|
4
|
-
};
|
|
5
|
-
export type Coordinate = {
|
|
6
|
-
row: number;
|
|
7
|
-
col: number;
|
|
8
|
-
};
|
|
9
|
-
export type Bounds = {
|
|
10
|
-
start: Coordinate;
|
|
11
|
-
end: Coordinate;
|
|
12
|
-
};
|
|
13
|
-
export declare function createCellCoordinateCalculator(cells: Cell[], totalColumns: number): (cellIndex: number) => Bounds;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
2
|
-
import { RivTable } from '../table/state';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class SimpleTableCellComponent {
|
|
5
|
-
cdr: ChangeDetectorRef;
|
|
6
|
-
elementRef: ElementRef<HTMLTableCellElement>;
|
|
7
|
-
/**
|
|
8
|
-
* These get set automatically by the parent SimpleTableComponent.
|
|
9
|
-
*/
|
|
10
|
-
alignment?: RivTable.ColumnAlignment;
|
|
11
|
-
pinned?: boolean;
|
|
12
|
-
isLastRow?: boolean;
|
|
13
|
-
leftPinOffset?: number;
|
|
14
|
-
constructor(cdr: ChangeDetectorRef, elementRef: ElementRef<HTMLTableCellElement>);
|
|
15
|
-
get classes(): string;
|
|
16
|
-
get leftPx(): number | null;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SimpleTableCellComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SimpleTableCellComponent, "[riv-simple-table-cell]", never, {}, {}, never, ["*"], false, never>;
|
|
19
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
2
|
-
import { RivTable } from '../table/state';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class SimpleTableHeaderCellComponent {
|
|
5
|
-
cdr: ChangeDetectorRef;
|
|
6
|
-
elementRef: ElementRef<HTMLTableCellElement>;
|
|
7
|
-
dataType?: RivTable.ColumnDataType;
|
|
8
|
-
pinned?: boolean;
|
|
9
|
-
/**
|
|
10
|
-
* This gets set automatically by the parent SimpleTableComponent.
|
|
11
|
-
*/
|
|
12
|
-
alignment?: RivTable.ColumnAlignment;
|
|
13
|
-
leftPinOffset?: number;
|
|
14
|
-
constructor(cdr: ChangeDetectorRef, elementRef: ElementRef<HTMLTableCellElement>);
|
|
15
|
-
get classes(): string;
|
|
16
|
-
get leftPx(): number | null;
|
|
17
|
-
get width(): number;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SimpleTableHeaderCellComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SimpleTableHeaderCellComponent, "[riv-simple-table-header-cell]", never, { "dataType": { "alias": "dataType"; "required": false; }; "pinned": { "alias": "pinned"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
20
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class SimpleTableRowComponent {
|
|
3
|
-
selected: boolean;
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SimpleTableRowComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SimpleTableRowComponent, "[riv-simple-table-row]", never, { "selected": { "alias": "selected"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
6
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { AfterContentChecked, TemplateRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class SimpleTableComponent implements AfterContentChecked {
|
|
4
|
-
headerTemplate?: TemplateRef<void>;
|
|
5
|
-
private headerCells?;
|
|
6
|
-
private dataCells?;
|
|
7
|
-
ngAfterContentChecked(): void;
|
|
8
|
-
private setCellProperties;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SimpleTableComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SimpleTableComponent, "riv-simple-table", never, {}, {}, ["headerTemplate", "headerCells", "dataCells"], ["*"], false, never>;
|
|
11
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Clipboard serialization for `riv-table`.
|
|
3
|
-
*
|
|
4
|
-
* Rows that have a link render as `<a class="row-link">` rather than `<tr>`, and
|
|
5
|
-
* the browser's clipboard serializer does not treat those as table rows — the
|
|
6
|
-
* copied content pastes into a spreadsheet as one lateral run instead of a grid.
|
|
7
|
-
* These helpers rebuild the rendered grid so that copied content pastes as rows
|
|
8
|
-
* and columns.
|
|
9
|
-
*/
|
|
10
|
-
export declare namespace RivTableClipboard {
|
|
11
|
-
type Payload = {
|
|
12
|
-
/** Tab-delimited rows, one line per row. */
|
|
13
|
-
text: string;
|
|
14
|
-
/** Equivalent table markup, for targets that prefer rich content. */
|
|
15
|
-
html: string;
|
|
16
|
-
};
|
|
17
|
-
/** Predicate for whether a node falls within the user's selection. */
|
|
18
|
-
type SelectionTest = (node: Node) => boolean;
|
|
19
|
-
/** Whether the copy came from a control that serializes its own value. */
|
|
20
|
-
function isEditable(target: EventTarget | null): boolean;
|
|
21
|
-
/**
|
|
22
|
-
* Whether `host` is the first element of its kind that the selection touches.
|
|
23
|
-
* A selection can span several tables; deferring to the first keeps instances
|
|
24
|
-
* from overwriting each other's clipboard data.
|
|
25
|
-
*/
|
|
26
|
-
function ownsSelection(host: Element, isSelected: SelectionTest): boolean;
|
|
27
|
-
/**
|
|
28
|
-
* Serializes the selected region of `tables` (one per row group), or null when
|
|
29
|
-
* the selection covers at most one cell — those are left to the browser so
|
|
30
|
-
* that copying part of a cell's text keeps working.
|
|
31
|
-
*
|
|
32
|
-
* `endpoints` are where the selection starts and ends, which narrow the copied
|
|
33
|
-
* columns to that span. A selection is a linear range in reading order, so
|
|
34
|
-
* dragging down one column touches every column in between; the endpoints are
|
|
35
|
-
* what distinguish "this column" from "these rows".
|
|
36
|
-
*/
|
|
37
|
-
function extract(tables: readonly HTMLTableElement[], isSelected: SelectionTest, endpoints?: readonly (Node | null | undefined)[]): Payload | null;
|
|
38
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { RivTable } from '../state';
|
|
2
|
-
export declare namespace TableCollapseHelpers {
|
|
3
|
-
function toggleRowCollapse<R extends RivTable.Row, C extends RivTable.Column, F extends RivTable.Filters, G extends RivTable.Group>(state: RivTable.CoreState<R, C, F, G>, id: R['id']): RivTable.CoreState<R, C, F, G>;
|
|
4
|
-
function toggleHeaderCollapse<R extends RivTable.Row, C extends RivTable.Column, F extends RivTable.Filters, G extends RivTable.Group>(state: RivTable.CoreState<R, C, F, G>, id: string): RivTable.CoreState<R, C, F, G>;
|
|
5
|
-
function toggleAllCollapsed<R extends RivTable.Row, C extends RivTable.Column, F extends RivTable.Filters, G extends RivTable.Group>(state: RivTable.CoreState<R, C, F, G>): RivTable.CoreState<R, C, F, G>;
|
|
6
|
-
function isAllExpanded<R extends RivTable.Row>(collapseState: RivTable.CollapseState<R>): boolean;
|
|
7
|
-
function isRowCollapsed<R extends RivTable.Row, C extends RivTable.Column, F extends RivTable.Filters, G extends RivTable.Group>(state: RivTable.CoreState<R, C, F, G>, id: R['id']): boolean;
|
|
8
|
-
function isHeaderCollapsed<R extends RivTable.Row, C extends RivTable.Column, F extends RivTable.Filters, G extends RivTable.Group>(state: RivTable.CoreState<R, C, F, G>, id: string | null): boolean;
|
|
9
|
-
}
|