@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,63 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
-
import { InputLabelComponent } from '../../input-label/input-label.component';
|
|
3
|
-
import { RivSelect } from '../state';
|
|
4
|
-
import { CalloutComponent } from '../../../overlay/callout/callout.component';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class SelectComponent<O extends RivSelect.BaseOption> extends InputLabelComponent implements OnInit, OnDestroy {
|
|
7
|
-
manager?: RivSelect.Manager<O>;
|
|
8
|
-
size: SelectComponent.Size;
|
|
9
|
-
disabled: boolean;
|
|
10
|
-
locked: boolean;
|
|
11
|
-
/** Stretches a custom trigger to fill the width of this component. */
|
|
12
|
-
grow: boolean;
|
|
13
|
-
allowedCalloutPositions: CalloutComponent.AnchoredPosition[];
|
|
14
|
-
preferredCalloutPosition: CalloutComponent.AnchoredPosition;
|
|
15
|
-
triggerTemplate?: TemplateRef<{
|
|
16
|
-
state: RivSelect.FullState<O>;
|
|
17
|
-
}>;
|
|
18
|
-
customSelectedOptionsTemplate?: TemplateRef<{
|
|
19
|
-
selected: RivSelect.OptionSet<O>;
|
|
20
|
-
}>;
|
|
21
|
-
optionTemplate?: TemplateRef<{
|
|
22
|
-
node: RivSelect.FullOption<O>;
|
|
23
|
-
}>;
|
|
24
|
-
/**
|
|
25
|
-
* Replaces only an option's title, keeping the standard row's checkbox,
|
|
26
|
-
* count, help, and expand controls. Ignored when `#option` is set.
|
|
27
|
-
*/
|
|
28
|
-
optionTitleTemplate?: TemplateRef<{
|
|
29
|
-
node: RivSelect.FullOption<O>;
|
|
30
|
-
}>;
|
|
31
|
-
headerTemplate?: TemplateRef<{
|
|
32
|
-
state: RivSelect.FullState<O>;
|
|
33
|
-
}>;
|
|
34
|
-
footerTemplate?: TemplateRef<{
|
|
35
|
-
state: RivSelect.FullState<O>;
|
|
36
|
-
}>;
|
|
37
|
-
customTriggerButton?: ElementRef;
|
|
38
|
-
standardTriggerButton?: ElementRef;
|
|
39
|
-
orderByManager?: RivSelect.Manager<SelectComponent.OrderByOption>;
|
|
40
|
-
private orderBySubscription?;
|
|
41
|
-
ngOnInit(): void;
|
|
42
|
-
ngOnDestroy(): void;
|
|
43
|
-
getTrigger(): Element | null;
|
|
44
|
-
allowedOpen(): void;
|
|
45
|
-
escapeClose(event: Event, open: boolean): void;
|
|
46
|
-
selectChange(multi: boolean, id: O['id']): void;
|
|
47
|
-
readonly orderByOptionGroups: RivSelect.OptionGroup<SelectComponent.OrderByOption>[];
|
|
48
|
-
getSelectedOrderByOption(state: RivSelect.FullState<O>): SelectComponent.OrderByOption | null;
|
|
49
|
-
searchChange: import("lodash").DebouncedFunc<(query: string) => void>;
|
|
50
|
-
trackBySymbol(_: number, value: any): any;
|
|
51
|
-
trackByOption(_: number, option: RivSelect.FullOption<O>): string | number;
|
|
52
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent<any>, never>;
|
|
53
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent<any>, "riv-select", never, { "manager": { "alias": "manager"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "locked": { "alias": "locked"; "required": false; }; "grow": { "alias": "grow"; "required": false; }; "allowedCalloutPositions": { "alias": "allowedCalloutPositions"; "required": false; }; "preferredCalloutPosition": { "alias": "preferredCalloutPosition"; "required": false; }; }, {}, ["triggerTemplate", "customSelectedOptionsTemplate", "optionTemplate", "optionTitleTemplate", "headerTemplate", "footerTemplate"], never, false, never>;
|
|
54
|
-
}
|
|
55
|
-
export declare namespace SelectComponent {
|
|
56
|
-
type OrderByOption = {
|
|
57
|
-
id: RivSelect.OrderBy;
|
|
58
|
-
title: string;
|
|
59
|
-
help: string;
|
|
60
|
-
};
|
|
61
|
-
const Sizes: readonly ["small", "medium", "large"];
|
|
62
|
-
type Size = (typeof Sizes)[number];
|
|
63
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
-
import { RivSelect } from '../state';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class SelectNodeComponent<O extends RivSelect.BaseOption> {
|
|
5
|
-
mode?: SelectNodeComponent.Mode;
|
|
6
|
-
node?: RivSelect.FullOption<O>;
|
|
7
|
-
showSingleSelected?: boolean;
|
|
8
|
-
/**
|
|
9
|
-
* Renders in place of the default title. The default highlights search
|
|
10
|
-
* matches; a custom title can use the node's `titleHighlightIndices` to do
|
|
11
|
-
* the same.
|
|
12
|
-
*/
|
|
13
|
-
titleTemplate?: TemplateRef<{
|
|
14
|
-
node: RivSelect.FullOption<O>;
|
|
15
|
-
}>;
|
|
16
|
-
selectChange: EventEmitter<O["id"]>;
|
|
17
|
-
expandChange: EventEmitter<O["id"]>;
|
|
18
|
-
includeCount(): boolean;
|
|
19
|
-
getId(node: RivSelect.FullOption<O>): O['id'];
|
|
20
|
-
getDisabled(node: RivSelect.FullOption<O>): boolean;
|
|
21
|
-
getHelp(node: RivSelect.FullOption<O>): O['help'];
|
|
22
|
-
getDisabledExplanation(node: RivSelect.FullOption<O>): O['disabledExplanation'];
|
|
23
|
-
getCount(node: RivSelect.FullOption<O>): O['count'];
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SelectNodeComponent<any>, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectNodeComponent<any>, "riv-select-node", never, { "mode": { "alias": "mode"; "required": false; }; "node": { "alias": "node"; "required": false; }; "showSingleSelected": { "alias": "showSingleSelected"; "required": false; }; "titleTemplate": { "alias": "titleTemplate"; "required": false; }; }, { "selectChange": "selectChange"; "expandChange": "expandChange"; }, never, never, false, never>;
|
|
26
|
-
}
|
|
27
|
-
export declare namespace SelectNodeComponent {
|
|
28
|
-
const modes: readonly ["single", "multi"];
|
|
29
|
-
type Mode = (typeof modes)[number];
|
|
30
|
-
}
|
|
@@ -1,250 +0,0 @@
|
|
|
1
|
-
import { FuseResultMatch, IFuseOptions, RangeTuple } from 'fuse.js';
|
|
2
|
-
import { Connectable, Subject } from 'rxjs';
|
|
3
|
-
import { DeepPartial } from 'utility-types';
|
|
4
|
-
import { HighlightComponent } from '../../visualization/highlight/highlight.component';
|
|
5
|
-
export declare namespace RivSelect {
|
|
6
|
-
/**
|
|
7
|
-
* ┌─────────────────────-------------------───┐
|
|
8
|
-
* │ BaseOption │
|
|
9
|
-
* │ │
|
|
10
|
-
* │ The core data required for each option │
|
|
11
|
-
* │ (such as id and title). │
|
|
12
|
-
* ├──────────────────────-------------------──┤
|
|
13
|
-
* │ Option (BaseOption + children) │
|
|
14
|
-
* │ │
|
|
15
|
-
* │ Provides recursive type safety to the │
|
|
16
|
-
* │ type safety to the BaseOption. │
|
|
17
|
-
* └─------------------┬-------────────────────┘
|
|
18
|
-
* |
|
|
19
|
-
* ┌───────────────────▼───────────────────────┐
|
|
20
|
-
* │ SourceOption (Option + search highlights) │
|
|
21
|
-
* │ │
|
|
22
|
-
* │ Adds search highlights to the Option and │
|
|
23
|
-
* │ is the return type for the option Source │
|
|
24
|
-
* │ (data fetcher) function. │
|
|
25
|
-
* └───────────────────┬───────────────────────┘
|
|
26
|
-
* |
|
|
27
|
-
* ┌───────────────────▼───────────────────────┐
|
|
28
|
-
* │ FullOption (SourceOption + UI state) │
|
|
29
|
-
* │ │
|
|
30
|
-
* │ Augments the SourceOption with all of the │
|
|
31
|
-
* │ UI information from other parts of the │
|
|
32
|
-
* │ state, such as selection status, whether │
|
|
33
|
-
* │ or not the node is expanded, etc. │
|
|
34
|
-
* └───────────────────────────────────────────┘
|
|
35
|
-
*
|
|
36
|
-
* Note that the usages of Omit<...> in this section are not required, but
|
|
37
|
-
* do help in-editor type hints to be more clear and direct.
|
|
38
|
-
*/
|
|
39
|
-
type BaseOption = {
|
|
40
|
-
id: string | number;
|
|
41
|
-
title: string;
|
|
42
|
-
subtitle?: string;
|
|
43
|
-
help?: string;
|
|
44
|
-
count?: number;
|
|
45
|
-
disabled?: boolean;
|
|
46
|
-
disabledExplanation?: string;
|
|
47
|
-
};
|
|
48
|
-
type Option<O extends BaseOption = BaseOption> = O & {
|
|
49
|
-
children?: Option<O>[];
|
|
50
|
-
};
|
|
51
|
-
type SourceOption<O extends BaseOption> = Omit<Option<O>, 'children'> & {
|
|
52
|
-
titleHighlightIndices?: HighlightComponent.HighlightIndices[];
|
|
53
|
-
subtitleHighlightIndices?: HighlightComponent.HighlightIndices[];
|
|
54
|
-
children?: SourceOption<O>[];
|
|
55
|
-
};
|
|
56
|
-
type MultiSelectionState = boolean | 'indeterminate';
|
|
57
|
-
type FullOption<O extends BaseOption> = Omit<SourceOption<O>, 'children'> & {
|
|
58
|
-
selected: MultiSelectionState;
|
|
59
|
-
expanded: boolean;
|
|
60
|
-
selectable: boolean;
|
|
61
|
-
expandable: boolean;
|
|
62
|
-
children?: FullOption<O>[];
|
|
63
|
-
};
|
|
64
|
-
/**
|
|
65
|
-
* The relationships between OptionGroup, SourceOptionGroup, and
|
|
66
|
-
* FullOptionGroup is analogous to the option types above.
|
|
67
|
-
*
|
|
68
|
-
* As with before, the use of Omit<...> is not required but helpful.
|
|
69
|
-
*/
|
|
70
|
-
type OptionGroup<O extends BaseOption> = {
|
|
71
|
-
header?: string;
|
|
72
|
-
/** Info icon + tooltip shown beside the header. No-op without a header. */
|
|
73
|
-
help?: string;
|
|
74
|
-
options: Option<O>[];
|
|
75
|
-
};
|
|
76
|
-
type SourceOptionGroup<O extends BaseOption> = Omit<OptionGroup<O>, 'options'> & {
|
|
77
|
-
options: SourceOption<O>[];
|
|
78
|
-
};
|
|
79
|
-
type FullOptionGroup<O extends BaseOption> = Omit<SourceOptionGroup<O>, 'options'> & {
|
|
80
|
-
options: FullOption<O>[];
|
|
81
|
-
};
|
|
82
|
-
/**
|
|
83
|
-
* The OptionSet class provides Set-like functionality, but uniqueness is
|
|
84
|
-
* determined by the option's ID rather than the object reference.
|
|
85
|
-
*/
|
|
86
|
-
class OptionSet<O extends BaseOption> extends Set<SourceOption<O>> {
|
|
87
|
-
private readonly byId;
|
|
88
|
-
constructor(values?: Iterable<SourceOption<O>> | null);
|
|
89
|
-
has(option: SourceOption<O> | FullOption<O>): boolean;
|
|
90
|
-
add(option: SourceOption<O>): this;
|
|
91
|
-
delete(option: SourceOption<O>): boolean;
|
|
92
|
-
clear(): void;
|
|
93
|
-
}
|
|
94
|
-
/**
|
|
95
|
-
* The CoreState provides all of the foundational pieces of state required
|
|
96
|
-
* for a working component. FullState is a pure derivation of CoreState plus
|
|
97
|
-
* the configuration options, and provides conveniences for rendering the
|
|
98
|
-
* components. Actions and the core state are passed to the reducer to
|
|
99
|
-
* produce new CoreStates (which are then used to calculate new FullStates).
|
|
100
|
-
*
|
|
101
|
-
* ┌──────┐
|
|
102
|
-
* │ UI ◄────────┐
|
|
103
|
-
* └──┬───┘ │
|
|
104
|
-
* │ │
|
|
105
|
-
* ┌──▼────────┐ │
|
|
106
|
-
* │ Actions │ │
|
|
107
|
-
* └──┬────────┘ │
|
|
108
|
-
* │ │
|
|
109
|
-
* ┌──▼────────────┴─┐
|
|
110
|
-
* │ State reducer │
|
|
111
|
-
* └─────────────────┘
|
|
112
|
-
*/
|
|
113
|
-
type OrderBy = 'title' | 'count' | 'source';
|
|
114
|
-
type CoreState<O extends BaseOption> = {
|
|
115
|
-
query: {
|
|
116
|
-
search: string;
|
|
117
|
-
order: OrderBy;
|
|
118
|
-
};
|
|
119
|
-
load: {
|
|
120
|
-
loading: boolean;
|
|
121
|
-
error: unknown | null;
|
|
122
|
-
};
|
|
123
|
-
sourceOptionGroups: SourceOptionGroup<O>[];
|
|
124
|
-
/**
|
|
125
|
-
* Stores the unfiltered original option groups when search filtering is active.
|
|
126
|
-
* Used by `allowSelectNonLeafDuringSearch` to select all children of a parent,
|
|
127
|
-
* including those not visible in the filtered search results.
|
|
128
|
-
*/
|
|
129
|
-
originalOptionGroups: SourceOptionGroup<O>[];
|
|
130
|
-
selection: {
|
|
131
|
-
selected: OptionSet<O>;
|
|
132
|
-
};
|
|
133
|
-
display: {
|
|
134
|
-
placeholder: string;
|
|
135
|
-
open: boolean;
|
|
136
|
-
expandedOptions: Set<O['id']>;
|
|
137
|
-
};
|
|
138
|
-
};
|
|
139
|
-
type FullState<O extends BaseOption> = CoreState<O> & {
|
|
140
|
-
query: {
|
|
141
|
-
showSearch: boolean;
|
|
142
|
-
searchPlaceholder: string;
|
|
143
|
-
showOrder: boolean;
|
|
144
|
-
};
|
|
145
|
-
fullOptionGroups: FullOptionGroup<O>[];
|
|
146
|
-
selection: {
|
|
147
|
-
allowMultiSelect: boolean;
|
|
148
|
-
allowSelectAll: boolean;
|
|
149
|
-
visibleSelectionState: MultiSelectionState;
|
|
150
|
-
};
|
|
151
|
-
display: {
|
|
152
|
-
formattedSelectedOptions: string;
|
|
153
|
-
zeroStateMessage: string | null;
|
|
154
|
-
dividers: boolean;
|
|
155
|
-
inline: boolean;
|
|
156
|
-
maxHeight: string | null;
|
|
157
|
-
maxWidth: string | null;
|
|
158
|
-
minHeight: string | null;
|
|
159
|
-
minWidth: string | null;
|
|
160
|
-
displayLimitMessage: string | null;
|
|
161
|
-
showSingleSelected: boolean;
|
|
162
|
-
pillCount: number;
|
|
163
|
-
};
|
|
164
|
-
};
|
|
165
|
-
type Action<O extends BaseOption> = {
|
|
166
|
-
type: 'load';
|
|
167
|
-
} | {
|
|
168
|
-
type: 'openChange';
|
|
169
|
-
open: boolean;
|
|
170
|
-
} | {
|
|
171
|
-
type: 'searchChange';
|
|
172
|
-
payload: string;
|
|
173
|
-
} | {
|
|
174
|
-
type: 'orderChange';
|
|
175
|
-
payload: OrderBy;
|
|
176
|
-
} | {
|
|
177
|
-
type: 'selectionChange';
|
|
178
|
-
payload: CoreState<O>['selection'];
|
|
179
|
-
} | {
|
|
180
|
-
type: 'toggleOptionSelected';
|
|
181
|
-
id: O['id'];
|
|
182
|
-
} | {
|
|
183
|
-
type: 'setSelectedOption';
|
|
184
|
-
id: O['id'];
|
|
185
|
-
} | {
|
|
186
|
-
type: 'visibleSelectedChange';
|
|
187
|
-
} | {
|
|
188
|
-
type: 'toggleOptionExpanded';
|
|
189
|
-
id: O['id'];
|
|
190
|
-
};
|
|
191
|
-
/**
|
|
192
|
-
* The Source's job is to fetch options (based on the current state) which
|
|
193
|
-
* then blend with the other pieces of state to produce the FullState.
|
|
194
|
-
*/
|
|
195
|
-
type SourceResult<O extends BaseOption> = SourceOptionGroup<O>[] | {
|
|
196
|
-
data: SourceOptionGroup<O>[];
|
|
197
|
-
/**
|
|
198
|
-
* Original unfiltered data, provided when search filtering is active.
|
|
199
|
-
* Used by `allowSelectNonLeafDuringSearch` to select all children of
|
|
200
|
-
* a parent, including those not visible in the filtered search results.
|
|
201
|
-
*/
|
|
202
|
-
originalData?: SourceOptionGroup<O>[];
|
|
203
|
-
};
|
|
204
|
-
type Source<O extends BaseOption> = (query: CoreState<O>['query'], mostRecentAction: Action<O>) => Promise<SourceResult<O>>;
|
|
205
|
-
type Manager<O extends BaseOption> = {
|
|
206
|
-
actions: Subject<Action<O>>;
|
|
207
|
-
state: Connectable<FullState<O>>;
|
|
208
|
-
};
|
|
209
|
-
type ManagerOptions<O extends BaseOption> = {
|
|
210
|
-
initialState?: DeepPartial<CoreState<O>>;
|
|
211
|
-
allowMultiSelect?: boolean;
|
|
212
|
-
allowSearch?: boolean;
|
|
213
|
-
allowSelectAll?: boolean;
|
|
214
|
-
allowOrder?: boolean;
|
|
215
|
-
searchPlaceholder?: string;
|
|
216
|
-
dividers?: boolean;
|
|
217
|
-
inline?: boolean;
|
|
218
|
-
maxHeight?: string | null;
|
|
219
|
-
maxWidth?: string | null;
|
|
220
|
-
minHeight?: string | null;
|
|
221
|
-
minWidth?: string | null;
|
|
222
|
-
displayLimit?: number;
|
|
223
|
-
selectedOptionLimit?: number;
|
|
224
|
-
showSingleSelected?: boolean;
|
|
225
|
-
useTopLevelOptionsForDisplay?: boolean;
|
|
226
|
-
getCustomOptionDisplay?: (selectedOptions: SourceOption<O>[]) => string;
|
|
227
|
-
/**
|
|
228
|
-
* When true, non-leaf nodes (parents) remain selectable during search,
|
|
229
|
-
* and selecting them will select/deselect ALL children from the original
|
|
230
|
-
* dataset, not just the visible filtered results.
|
|
231
|
-
*
|
|
232
|
-
* Default: false (current behavior - parents are not selectable during search)
|
|
233
|
-
*/
|
|
234
|
-
allowSelectNonLeafDuringSearch?: boolean;
|
|
235
|
-
/**
|
|
236
|
-
* When true, options that were selected when the select was opened are
|
|
237
|
-
* sorted to the top of their sibling lists. Set to false to preserve the
|
|
238
|
-
* natural (or chosen OrderBy) order instead.
|
|
239
|
-
*
|
|
240
|
-
* Default: the value of allowMultiSelect
|
|
241
|
-
*/
|
|
242
|
-
sortSelectedToTop?: boolean;
|
|
243
|
-
};
|
|
244
|
-
function createManager<O extends BaseOption>(source: Source<O>, options?: ManagerOptions<O>): Manager<O>;
|
|
245
|
-
type InMemoryManagerOptions<O extends BaseOption> = ManagerOptions<O> & {
|
|
246
|
-
fuseOptions?: IFuseOptions<O>;
|
|
247
|
-
};
|
|
248
|
-
function createInMemoryManager<O extends BaseOption>(fetchDataset: () => Promise<OptionGroup<O>[]> | OptionGroup<O>[], options?: InMemoryManagerOptions<O>): Manager<O>;
|
|
249
|
-
function isFuseMatchExact(match: FuseResultMatch, search: string): (value: RangeTuple, index: number, array: readonly RangeTuple[]) => boolean;
|
|
250
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { RivSelect } from '../select/state';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class OptionGroupPipe<O extends RivSelect.BaseOption> implements PipeTransform {
|
|
5
|
-
transform(value?: O[], header?: string): RivSelect.OptionGroup<O>[];
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OptionGroupPipe<any>, never>;
|
|
7
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<OptionGroupPipe<any>, "rivOptionGroup", false>;
|
|
8
|
-
}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
|
-
import { IFuseOptions } from 'fuse.js';
|
|
3
|
-
import { Subscription } from 'rxjs';
|
|
4
|
-
import type { CalloutComponent } from '../../overlay/callout/callout.component';
|
|
5
|
-
import { InputLabelComponent } from '../input-label/input-label.component';
|
|
6
|
-
import { SelectComponent } from '../select/select/select.component';
|
|
7
|
-
import { RivSelect } from '../select/state';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class SimpleSelectComponent<O extends RivSelect.BaseOption> extends InputLabelComponent implements OnInit, OnChanges, OnDestroy {
|
|
10
|
-
optionGroups: RivSelect.OptionGroup<O>[];
|
|
11
|
-
selectedOption: O | null;
|
|
12
|
-
size: SelectComponent.Size;
|
|
13
|
-
disabled: boolean;
|
|
14
|
-
locked: boolean;
|
|
15
|
-
filterabilityOptions: SimpleSelectComponent.FilterabilityOptions<O>;
|
|
16
|
-
orderBy?: RivSelect.OrderBy;
|
|
17
|
-
placeholder?: string;
|
|
18
|
-
maxHeight?: string;
|
|
19
|
-
maxWidth?: string;
|
|
20
|
-
minHeight?: string;
|
|
21
|
-
minWidth?: string;
|
|
22
|
-
dividers?: boolean;
|
|
23
|
-
sortSelectedToTop: boolean;
|
|
24
|
-
/** Stretches the select trigger to fill the width of this component. */
|
|
25
|
-
grow: boolean;
|
|
26
|
-
preferredCalloutPosition: CalloutComponent.AnchoredPosition;
|
|
27
|
-
allowedCalloutPositions: CalloutComponent.AnchoredPosition[];
|
|
28
|
-
triggerTemplate?: TemplateRef<{
|
|
29
|
-
state: RivSelect.FullState<O>;
|
|
30
|
-
}>;
|
|
31
|
-
customSelectedOptionsTemplate?: TemplateRef<{
|
|
32
|
-
selected: RivSelect.OptionSet<O>;
|
|
33
|
-
}>;
|
|
34
|
-
optionTemplate?: TemplateRef<{
|
|
35
|
-
node: RivSelect.FullOption<O>;
|
|
36
|
-
}>;
|
|
37
|
-
headerTemplate?: TemplateRef<{
|
|
38
|
-
state: RivSelect.FullState<O>;
|
|
39
|
-
}>;
|
|
40
|
-
footerTemplate?: TemplateRef<{
|
|
41
|
-
state: RivSelect.FullState<O>;
|
|
42
|
-
}>;
|
|
43
|
-
manager?: RivSelect.Manager<O>;
|
|
44
|
-
selectedOptionSubscription?: Subscription;
|
|
45
|
-
ngOnInit(): void;
|
|
46
|
-
private warnOnManagerOptionChanges;
|
|
47
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
48
|
-
ngOnDestroy(): void;
|
|
49
|
-
get classes(): string;
|
|
50
|
-
issueAction(action: RivSelect.Action<O>): void;
|
|
51
|
-
selectedOptionChange: EventEmitter<O | null>;
|
|
52
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SimpleSelectComponent<any>, never>;
|
|
53
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SimpleSelectComponent<any>, "riv-simple-select", never, { "optionGroups": { "alias": "optionGroups"; "required": false; }; "selectedOption": { "alias": "selectedOption"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "locked": { "alias": "locked"; "required": false; }; "filterabilityOptions": { "alias": "filterabilityOptions"; "required": false; }; "orderBy": { "alias": "orderBy"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "minHeight": { "alias": "minHeight"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; "dividers": { "alias": "dividers"; "required": false; }; "sortSelectedToTop": { "alias": "sortSelectedToTop"; "required": false; }; "grow": { "alias": "grow"; "required": false; }; "preferredCalloutPosition": { "alias": "preferredCalloutPosition"; "required": false; }; "allowedCalloutPositions": { "alias": "allowedCalloutPositions"; "required": false; }; }, { "selectedOptionChange": "selectedOptionChange"; }, ["triggerTemplate", "customSelectedOptionsTemplate", "optionTemplate", "headerTemplate", "footerTemplate"], never, false, never>;
|
|
54
|
-
}
|
|
55
|
-
export declare namespace SimpleSelectComponent {
|
|
56
|
-
type FilterabilityOptions<O extends RivSelect.BaseOption> = {
|
|
57
|
-
enabled: false;
|
|
58
|
-
} | {
|
|
59
|
-
enabled: true;
|
|
60
|
-
placeholder?: string;
|
|
61
|
-
fuseOptions?: IFuseOptions<O>;
|
|
62
|
-
};
|
|
63
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { CheckboxComponent } from '../checkbox/checkbox.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class SwitchCheckboxComponent extends CheckboxComponent implements OnChanges {
|
|
5
|
-
size: SwitchCheckboxComponent.Size;
|
|
6
|
-
/**
|
|
7
|
-
* Only value changes after the first render animate, so a switch that
|
|
8
|
-
* renders already on doesn't slide into place.
|
|
9
|
-
*/
|
|
10
|
-
animated: boolean;
|
|
11
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SwitchCheckboxComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SwitchCheckboxComponent, "riv-switch-checkbox", never, { "size": { "alias": "size"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
14
|
-
}
|
|
15
|
-
export declare namespace SwitchCheckboxComponent {
|
|
16
|
-
const Sizes: readonly ["small", "medium"];
|
|
17
|
-
type Size = (typeof Sizes)[number];
|
|
18
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { AutoFocusDirective } from '../auto-focus/auto-focus.directive';
|
|
3
|
-
import { InputLabelComponent } from '../input-label/input-label.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class TextFieldComponent extends InputLabelComponent implements OnChanges {
|
|
6
|
-
disabled: boolean;
|
|
7
|
-
readonly: boolean;
|
|
8
|
-
placeholder: string;
|
|
9
|
-
casing: TextFieldComponent.Casing;
|
|
10
|
-
type: TextFieldComponent.Type;
|
|
11
|
-
size: TextFieldComponent.Size;
|
|
12
|
-
autoFocus: AutoFocusDirective.AutoAction;
|
|
13
|
-
name?: string;
|
|
14
|
-
minLength?: number;
|
|
15
|
-
maxLength?: number;
|
|
16
|
-
protected _value: string;
|
|
17
|
-
set value(v: string);
|
|
18
|
-
protected setText(): void;
|
|
19
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
20
|
-
valueChange: EventEmitter<string>;
|
|
21
|
-
blur: EventEmitter<string>;
|
|
22
|
-
protected _text: string;
|
|
23
|
-
set text(t: string);
|
|
24
|
-
get text(): string;
|
|
25
|
-
inputBlur(): void;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TextFieldComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextFieldComponent, "riv-text-field", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "casing": { "alias": "casing"; "required": false; }; "type": { "alias": "type"; "required": false; }; "size": { "alias": "size"; "required": false; }; "autoFocus": { "alias": "autoFocus"; "required": false; }; "name": { "alias": "name"; "required": false; }; "minLength": { "alias": "minLength"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; "blur": "blur"; }, never, never, false, never>;
|
|
28
|
-
}
|
|
29
|
-
export declare namespace TextFieldComponent {
|
|
30
|
-
const Casings: readonly ["user", "upper", "lower"];
|
|
31
|
-
type Casing = (typeof Casings)[number];
|
|
32
|
-
const Types: readonly ["text", "email", "password", "search", "tel", "url"];
|
|
33
|
-
type Type = (typeof Types)[number];
|
|
34
|
-
const Sizes: readonly ["small", "medium", "large"];
|
|
35
|
-
type Size = (typeof Sizes)[number];
|
|
36
|
-
function clean(v: string, casing: Casing): string;
|
|
37
|
-
function format(v: string, casing: Casing): string;
|
|
38
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { TextFieldComponent } from '../text-field/text-field.component';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class TextareaFieldComponent extends TextFieldComponent {
|
|
4
|
-
rows: number;
|
|
5
|
-
type: TextFieldComponent.Type;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TextareaFieldComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextareaFieldComponent, "riv-textarea-field", never, { "rows": { "alias": "rows"; "required": false; }; }, {}, never, never, false, never>;
|
|
8
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class ValidationMessageComponent {
|
|
3
|
-
message: string;
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ValidationMessageComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ValidationMessageComponent, "riv-validation-message", never, { "message": { "alias": "message"; "required": false; }; }, {}, never, never, false, never>;
|
|
6
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { CardComponent } from './card.component';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* Trailing control row of a `riv-card` — typically buttons or a link.
|
|
5
|
-
*
|
|
6
|
-
* Sits above a stretched `[riv-card-link]` overlay, so its controls stay
|
|
7
|
-
* independently clickable on a card whose whole surface is activatable.
|
|
8
|
-
*
|
|
9
|
-
* `align` of `stretch` lays the controls out as equal-width columns, which is
|
|
10
|
-
* how a card with a single full-width action reads best.
|
|
11
|
-
*
|
|
12
|
-
* ```html
|
|
13
|
-
* <riv-card-actions [align]="'stretch'" [variant]="'filled'">
|
|
14
|
-
* <button rivButton [variant]="'ghost'">View report</button>
|
|
15
|
-
* </riv-card-actions>
|
|
16
|
-
* ```
|
|
17
|
-
*/
|
|
18
|
-
export declare class CardActionsComponent {
|
|
19
|
-
/** Distribution of the controls along the row. */
|
|
20
|
-
align: CardActionsComponent.Align;
|
|
21
|
-
/** `filled` gives the row its own background, separating it from the body. */
|
|
22
|
-
variant: CardActionsComponent.Variant;
|
|
23
|
-
padding: CardComponent.Padding;
|
|
24
|
-
orientation: CardActionsComponent.Orientation;
|
|
25
|
-
/** Draws a separator above the row. Implied by the `filled` variant. */
|
|
26
|
-
divider: boolean;
|
|
27
|
-
get classes(): string;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CardActionsComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CardActionsComponent, "riv-card-actions", never, { "align": { "alias": "align"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; "divider": { "alias": "divider"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
30
|
-
}
|
|
31
|
-
export declare namespace CardActionsComponent {
|
|
32
|
-
const Variants: readonly ["plain", "filled"];
|
|
33
|
-
type Variant = (typeof Variants)[number];
|
|
34
|
-
const Aligns: readonly ["start", "center", "end", "between", "stretch"];
|
|
35
|
-
type Align = (typeof Aligns)[number];
|
|
36
|
-
const Orientations: readonly ["horizontal", "vertical"];
|
|
37
|
-
type Orientation = (typeof Orientations)[number];
|
|
38
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
-
import { CardComponent } from './card.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Body of a `riv-card`.
|
|
6
|
-
*
|
|
7
|
-
* Grows to absorb any spare height by default, which keeps `riv-card-actions`
|
|
8
|
-
* pinned to the bottom when cards of differing content sit in an equal-height
|
|
9
|
-
* grid. Set `[grow]="false"` when the card should shrink to its content.
|
|
10
|
-
*
|
|
11
|
-
* In a card with an expandable header, this is the region the toggle controls —
|
|
12
|
-
* it takes an id from the card so that `aria-controls` resolves as soon as the
|
|
13
|
-
* body is rendered.
|
|
14
|
-
*/
|
|
15
|
-
export declare class CardContentComponent implements OnInit {
|
|
16
|
-
private readonly el;
|
|
17
|
-
private readonly renderer;
|
|
18
|
-
private readonly card;
|
|
19
|
-
constructor(el: ElementRef<HTMLElement>, renderer: Renderer2, card: CardComponent | null);
|
|
20
|
-
padding: CardComponent.Padding;
|
|
21
|
-
grow: boolean;
|
|
22
|
-
/** Draws a separator below the content. */
|
|
23
|
-
divider: boolean;
|
|
24
|
-
/**
|
|
25
|
-
* Wears the region id an expandable header's toggle points `aria-controls`
|
|
26
|
-
* at, so neither side needs the consumer to name the body. An id the consumer
|
|
27
|
-
* set of their own is left alone.
|
|
28
|
-
*/
|
|
29
|
-
ngOnInit(): void;
|
|
30
|
-
get classes(): string;
|
|
31
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CardContentComponent, [null, null, { optional: true; }]>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CardContentComponent, "riv-card-content", never, { "padding": { "alias": "padding"; "required": false; }; "grow": { "alias": "grow"; "required": false; }; "divider": { "alias": "divider"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
33
|
-
}
|