@ids-group-ltd/ids-design-system 0.13.3 → 0.13.4
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/CHANGELOG.md +846 -14
- package/components.md +552 -29
- package/design-system.md +9 -0
- package/docs/agent/INDEX.md +57 -15
- package/docs/agent/charts/chart-colour-which-palette-a-chart-takes.md +1 -1
- package/docs/agent/charts/column-series-component.md +8 -0
- package/docs/agent/charts/ds-bar-chart.md +6 -1
- package/docs/agent/charts/ds-chart-data-table.md +10 -0
- package/docs/agent/charts/ds-chart.md +8 -0
- package/docs/agent/charts/ds-column-chart.md +5 -1
- package/docs/agent/charts/ds-funnel-chart.md +5 -1
- package/docs/agent/charts/ds-heatmap-chart.md +20 -0
- package/docs/agent/charts/ds-line-chart.md +8 -4
- package/docs/agent/charts/{ds-donut-chart.md → ds-pie-chart.md} +10 -6
- package/docs/agent/charts/ds-scatter-chart.md +20 -0
- package/docs/agent/charts/ds-waterfall-chart.md +20 -0
- package/docs/agent/charts/line-series-component.md +8 -0
- package/docs/agent/charts/reference-label-component.md +8 -0
- package/docs/agent/charts/reference-line-component.md +8 -0
- package/docs/agent/charts/series-annotation-component.md +10 -0
- package/docs/agent/feedback/ds-alert.md +4 -0
- package/docs/agent/feedback/ds-avatar-group.md +4 -0
- package/docs/agent/feedback/ds-avatar.md +4 -0
- package/docs/agent/feedback/ds-badge.md +4 -0
- package/docs/agent/feedback/ds-banner.md +5 -1
- package/docs/agent/feedback/ds-bar.md +4 -0
- package/docs/agent/feedback/ds-description-item.md +8 -0
- package/docs/agent/feedback/ds-description-list.md +8 -0
- package/docs/agent/feedback/ds-empty-state.md +4 -0
- package/docs/agent/feedback/ds-list-item.md +8 -0
- package/docs/agent/feedback/ds-list.md +8 -0
- package/docs/agent/feedback/ds-loading-overlay.md +8 -0
- package/docs/agent/feedback/ds-skeleton.md +4 -0
- package/docs/agent/feedback/ds-spinner.md +4 -0
- package/docs/agent/feedback/ds-stat.md +4 -0
- package/docs/agent/feedback/ds-status-dot.md +4 -0
- package/docs/agent/feedback/ds-tag.md +4 -0
- package/docs/agent/feedback/ds-timeline-item.md +8 -0
- package/docs/agent/feedback/ds-toast-region.md +8 -0
- package/docs/agent/feedback/ds-toast.md +4 -0
- package/docs/agent/feedback/ds-tree.md +8 -0
- package/docs/agent/forms/ds-autocomplete.md +4 -0
- package/docs/agent/forms/ds-button-group.md +8 -0
- package/docs/agent/forms/ds-button.md +6 -2
- package/docs/agent/forms/ds-checkbox.md +4 -0
- package/docs/agent/forms/ds-color-picker.md +8 -0
- package/docs/agent/forms/ds-date-picker.md +5 -1
- package/docs/agent/forms/ds-dropzone.md +4 -0
- package/docs/agent/forms/ds-field-group.md +8 -0
- package/docs/agent/forms/ds-filter-bar.md +8 -0
- package/docs/agent/forms/ds-icon-button.md +4 -0
- package/docs/agent/forms/ds-input.md +13 -1
- package/docs/agent/forms/ds-multi-select.md +4 -0
- package/docs/agent/forms/ds-number-stepper.md +4 -0
- package/docs/agent/forms/ds-otp-input.md +8 -0
- package/docs/agent/forms/ds-password-rules.md +8 -0
- package/docs/agent/forms/ds-radio-group.md +8 -0
- package/docs/agent/forms/ds-radio.md +4 -0
- package/docs/agent/forms/ds-search.md +4 -0
- package/docs/agent/forms/ds-segmented.md +8 -0
- package/docs/agent/forms/ds-select.md +4 -0
- package/docs/agent/forms/ds-slider.md +8 -0
- package/docs/agent/forms/ds-split-button.md +8 -0
- package/docs/agent/forms/ds-switch.md +4 -0
- package/docs/agent/forms/ds-textarea.md +5 -1
- package/docs/agent/forms/ds-time-picker.md +8 -0
- package/docs/agent/forms/ds-toggle-button.md +8 -0
- package/docs/agent/forms/filter-item-directive.md +8 -0
- package/docs/agent/forms/the-picker-family-ds-select-ds-multi-select-ds-autocomplete.md +4 -0
- package/docs/agent/navigation/ds-app-layout.md +6 -2
- package/docs/agent/navigation/ds-auth-layout.md +5 -1
- package/docs/agent/navigation/ds-breadcrumbs.md +4 -0
- package/docs/agent/navigation/ds-container.md +8 -0
- package/docs/agent/navigation/ds-divider.md +4 -0
- package/docs/agent/navigation/ds-inline.md +8 -0
- package/docs/agent/navigation/ds-page-footer.md +4 -0
- package/docs/agent/navigation/ds-page-header.md +5 -1
- package/docs/agent/navigation/ds-pagination.md +5 -1
- package/docs/agent/navigation/ds-sidenav-footer.md +8 -0
- package/docs/agent/navigation/ds-sidenav-group.md +4 -0
- package/docs/agent/navigation/ds-sidenav-item.md +4 -0
- package/docs/agent/navigation/ds-sidenav.md +4 -0
- package/docs/agent/navigation/ds-stack.md +8 -0
- package/docs/agent/navigation/ds-stepper.md +4 -0
- package/docs/agent/navigation/ds-tab.md +8 -0
- package/docs/agent/navigation/ds-tabs.md +5 -1
- package/docs/agent/overlays/ds-bottom-sheet.md +4 -0
- package/docs/agent/overlays/ds-drawer.md +4 -0
- package/docs/agent/overlays/ds-menu.md +4 -0
- package/docs/agent/overlays/ds-modal-card.md +4 -0
- package/docs/agent/overlays/ds-modal.md +4 -0
- package/docs/agent/overlays/ds-popover.md +4 -0
- package/docs/agent/overlays/ds-tooltip-panel.md +8 -0
- package/docs/agent/overlays/ds-tooltip.md +4 -0
- package/docs/agent/surfaces/ds-accordion-item.md +8 -0
- package/docs/agent/surfaces/ds-accordion.md +4 -0
- package/docs/agent/surfaces/ds-card.md +6 -2
- package/docs/agent/tables/ds-cell-template.md +8 -0
- package/docs/agent/tables/ds-table-columns.md +8 -0
- package/docs/agent/tables/ds-table-export.md +8 -0
- package/docs/agent/tables/ds-table.md +9 -2
- package/docs/agent/tables/header-filter-directive.md +8 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs +10 -8
- package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs +19 -19
- package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-auth-layout.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-auth-layout.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs +7 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-badge.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-badge.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs +9 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs +117 -27
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs +3 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs +7 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-card.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-card.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-data-table.mjs +32 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-data-table.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs +14 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs +404 -55
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs +8 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs +27 -10
- package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs +5 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs +23 -16
- package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs +20 -10
- package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs +217 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-layout.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-layout.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs +181 -500
- package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-loading-overlay.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-loading-overlay.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs +6 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs +7 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs +14 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs +391 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs +5 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs +300 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs +9 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs +7 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs +4 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +9 -9
- package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs +5 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-timeline.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-timeline.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs +34 -21
- package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs +252 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +271 -8
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system.mjs +7 -3
- package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
- package/migrations/0.10.0.json +2 -2
- package/migrations/0.10.1.json +3 -3
- package/migrations/0.10.2.json +8 -28
- package/migrations/0.11.0.json +3 -3
- package/migrations/0.11.1.json +15 -15
- package/migrations/0.11.2.json +9 -9
- package/migrations/0.11.3.json +1 -1
- package/migrations/0.11.4.json +8 -8
- package/migrations/0.12.1.json +1 -1
- package/migrations/0.12.2.json +1 -1
- package/migrations/0.12.3.json +3 -3
- package/migrations/0.13.0.json +24 -32
- package/migrations/0.13.1.json +5 -5
- package/migrations/0.13.4.json +994 -0
- package/migrations/0.5.0.json +1 -1
- package/migrations/0.8.0.json +4 -3
- package/migrations/0.9.0.json +1 -1
- package/package.json +41 -9
- package/styles/_chart-frame.scss +16 -3
- package/styles/_check-box.scss +12 -12
- package/styles/_dropdown-overlay.scss +14 -10
- package/styles/_field-box.scss +3 -3
- package/styles/_field-label.scss +7 -7
- package/styles/_overlay-motion.scss +1 -1
- package/styles/_table-controls.scss +3 -3
- package/styles/_tokens-charts.scss +40 -7
- package/styles/_tokens.scss +2 -2
- package/styles/_typography.scss +101 -101
- package/themes/dark/_theme.scss +13 -0
- package/types/ids-group-ltd-ids-design-system-components-accordion.d.ts +3 -3
- package/types/ids-group-ltd-ids-design-system-components-alert.d.ts +5 -4
- package/types/ids-group-ltd-ids-design-system-components-app-layout.d.ts +17 -17
- package/types/ids-group-ltd-ids-design-system-components-autocomplete.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-banner.d.ts +4 -2
- package/types/ids-group-ltd-ids-design-system-components-bar-chart.d.ts +37 -4
- package/types/ids-group-ltd-ids-design-system-components-bottom-sheet.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-button.d.ts +8 -4
- package/types/ids-group-ltd-ids-design-system-components-chart-data-table.d.ts +31 -0
- package/types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts +4 -0
- package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +230 -44
- package/types/ids-group-ltd-ids-design-system-components-color-picker.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-column-chart.d.ts +6 -2
- package/types/ids-group-ltd-ids-design-system-components-date-picker.d.ts +9 -7
- package/types/ids-group-ltd-ids-design-system-components-dropzone.d.ts +4 -4
- package/types/ids-group-ltd-ids-design-system-components-funnel-chart.d.ts +5 -2
- package/types/ids-group-ltd-ids-design-system-components-heatmap-chart.d.ts +124 -0
- package/types/ids-group-ltd-ids-design-system-components-line-chart.d.ts +85 -139
- package/types/ids-group-ltd-ids-design-system-components-multi-select.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-pagination.d.ts +13 -1
- package/types/{ids-group-ltd-ids-design-system-components-donut-chart.d.ts → ids-group-ltd-ids-design-system-components-pie-chart.d.ts} +24 -19
- package/types/ids-group-ltd-ids-design-system-components-popover.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-scatter-chart.d.ts +183 -0
- package/types/ids-group-ltd-ids-design-system-components-segmented.d.ts +5 -1
- package/types/ids-group-ltd-ids-design-system-components-select.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-table-export.d.ts +3 -0
- package/types/ids-group-ltd-ids-design-system-components-table.d.ts +11 -11
- package/types/ids-group-ltd-ids-design-system-components-time-picker.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-toast.d.ts +5 -2
- package/types/ids-group-ltd-ids-design-system-components-waterfall-chart.d.ts +116 -0
- package/types/ids-group-ltd-ids-design-system-components.d.ts +97 -4
- package/types/ids-group-ltd-ids-design-system-core.d.ts +30 -7
- package/types/ids-group-ltd-ids-design-system.d.ts +14 -10
- package/fesm2022/ids-group-ltd-ids-design-system-components-donut-chart.mjs +0 -382
- package/fesm2022/ids-group-ltd-ids-design-system-components-donut-chart.mjs.map +0 -1
|
@@ -15,14 +15,13 @@ interface DropzoneFile {
|
|
|
15
15
|
declare class DropzoneComponent {
|
|
16
16
|
/** Native `accept` attribute — comma-separated MIME types or extensions. */
|
|
17
17
|
readonly accept: _angular_core.InputSignal<string>;
|
|
18
|
-
/** Allows picking more than one file at once
|
|
18
|
+
/** Allows picking more than one file at once. Unset takes one, which is what the native input
|
|
19
|
+
* does with no `multiple`. */
|
|
19
20
|
readonly multiple: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
20
21
|
/** Files shown in the list — the consumer owns upload state and progress. */
|
|
21
22
|
readonly files: _angular_core.ModelSignal<DropzoneFile[]>;
|
|
22
23
|
/** Disables the dropzone: blocks all file-picking interactions and signals unavailability. */
|
|
23
24
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
24
|
-
/** Restricts the dropzone to a single file; narrows the panel to `--col-cap-text`. */
|
|
25
|
-
readonly single: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
26
25
|
protected readonly dragOver: _angular_core.WritableSignal<boolean>;
|
|
27
26
|
/** Fires with the raw files picked or dropped; the consumer adds them to `files`. */
|
|
28
27
|
readonly filesAdded: _angular_core.OutputEmitterRef<File[]>;
|
|
@@ -33,12 +32,13 @@ declare class DropzoneComponent {
|
|
|
33
32
|
protected onDragLeave(): void;
|
|
34
33
|
protected onDrop(event: DragEvent): void;
|
|
35
34
|
protected onPickerChange(event: Event): void;
|
|
35
|
+
private emitPicked;
|
|
36
36
|
protected onRemove(file: DropzoneFile): void;
|
|
37
37
|
protected fileMeta(file: DropzoneFile): string;
|
|
38
38
|
protected formatSize(bytes: number): string;
|
|
39
39
|
protected fileIcon(state: DropzoneFile['state']): 'file' | 'check' | 'error';
|
|
40
40
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DropzoneComponent, never>;
|
|
41
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DropzoneComponent, "ds-dropzone", never, { "accept": { "alias": "accept"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "files": { "alias": "files"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; };
|
|
41
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DropzoneComponent, "ds-dropzone", never, { "accept": { "alias": "accept"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "files": { "alias": "files"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "files": "filesChange"; "filesAdded": "filesAdded"; "fileRemoved": "fileRemoved"; }, never, ["[hint]"], true, never>;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
export { DropzoneComponent };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as _ids_group_ltd_ids_design_system_components_chart_tooltip from '@ids-group-ltd/ids-design-system/components/chart-tooltip';
|
|
2
2
|
import { ChartItemTooltipTrigger, ChartTooltipContext } from '@ids-group-ltd/ids-design-system/components/chart-tooltip';
|
|
3
|
+
import * as _ids_group_ltd_ids_design_system_components from '@ids-group-ltd/ids-design-system/components';
|
|
3
4
|
import * as _angular_core from '@angular/core';
|
|
4
5
|
import { TemplateRef } from '@angular/core';
|
|
5
|
-
import {
|
|
6
|
+
import { ChartDataRow } from '@ids-group-ltd/ids-design-system/components/chart-data-table';
|
|
6
7
|
import { ChartFrame, ChartDataTable, ChartValueFormat } from '@ids-group-ltd/ids-design-system/core';
|
|
7
8
|
|
|
8
9
|
interface FunnelChartStage {
|
|
@@ -78,11 +79,12 @@ declare class FunnelChartComponent {
|
|
|
78
79
|
* included. Unset falls back to `DS_CONFIG.chart.valueFormat`, then the browser's locale
|
|
79
80
|
* grouping with a K/M/B suffix past four digits. */
|
|
80
81
|
readonly valueFormat: _angular_core.InputSignal<ChartValueFormat | null>;
|
|
82
|
+
private readonly defaults;
|
|
81
83
|
readonly frameResolved: _angular_core.Signal<ChartFrame>;
|
|
82
84
|
readonly dataTableResolved: _angular_core.Signal<ChartDataTable>;
|
|
83
85
|
readonly emptyTextResolved: _angular_core.Signal<string>;
|
|
84
86
|
readonly errorTextResolved: _angular_core.Signal<string>;
|
|
85
|
-
readonly valueFormatResolved: _angular_core.Signal<typeof defaultChartFormat>;
|
|
87
|
+
readonly valueFormatResolved: _angular_core.Signal<typeof _ids_group_ltd_ids_design_system_components.defaultChartFormat>;
|
|
86
88
|
/** Turns on the click affordance — the pointer cursor and any hover tint.
|
|
87
89
|
* The click output fires whether or not this is set, so a consumer that
|
|
88
90
|
* binds the output and forgets the flag still receives every click. */
|
|
@@ -139,6 +141,7 @@ declare class FunnelChartComponent {
|
|
|
139
141
|
* edge it is drawn on, so each band claims half the gap above it and half below — the gap stays
|
|
140
142
|
* exactly as wide to the eye and stops being dead space to the pointer. */
|
|
141
143
|
protected readonly hitGapUnits: _angular_core.Signal<number>;
|
|
144
|
+
protected readonly tableRows: _angular_core.Signal<readonly ChartDataRow[]>;
|
|
142
145
|
protected readonly stages: _angular_core.Signal<{
|
|
143
146
|
stage: FunnelChartStage;
|
|
144
147
|
center: {
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import * as _ids_group_ltd_ids_design_system_components_chart_tooltip from '@ids-group-ltd/ids-design-system/components/chart-tooltip';
|
|
2
|
+
import { ChartItemTooltipTrigger, ChartTooltipContext } from '@ids-group-ltd/ids-design-system/components/chart-tooltip';
|
|
3
|
+
import * as _ids_group_ltd_ids_design_system_components from '@ids-group-ltd/ids-design-system/components';
|
|
4
|
+
import * as _angular_core from '@angular/core';
|
|
5
|
+
import { ChartDataRow } from '@ids-group-ltd/ids-design-system/components/chart-data-table';
|
|
6
|
+
import { ChartFrame, ChartValueFormat } from '@ids-group-ltd/ids-design-system/core';
|
|
7
|
+
|
|
8
|
+
/** One row of the matrix. `data` carries one reading per column, in the chart's own column order;
|
|
9
|
+
* a `null` is a cell that was never measured and is drawn as a hole rather than as a low value. */
|
|
10
|
+
interface HeatmapChartRow {
|
|
11
|
+
/** Falls back to the row's position when left out, so a reorder rewrites the DOM. */
|
|
12
|
+
id?: string;
|
|
13
|
+
label: string;
|
|
14
|
+
data: readonly (number | null)[];
|
|
15
|
+
}
|
|
16
|
+
/** One cell, named by the row and the column it sits at. */
|
|
17
|
+
interface HeatmapChartCell {
|
|
18
|
+
readonly row: HeatmapChartRow;
|
|
19
|
+
readonly rowIndex: number;
|
|
20
|
+
readonly columnIndex: number;
|
|
21
|
+
readonly column: string;
|
|
22
|
+
readonly value: number;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
interface PlacedCell {
|
|
26
|
+
readonly key: string;
|
|
27
|
+
readonly columnIndex: number;
|
|
28
|
+
readonly column: string;
|
|
29
|
+
readonly value: number | null;
|
|
30
|
+
readonly color: string | null;
|
|
31
|
+
readonly formattedValue: string;
|
|
32
|
+
readonly accessibleName: string;
|
|
33
|
+
}
|
|
34
|
+
interface PlacedRow {
|
|
35
|
+
readonly key: string;
|
|
36
|
+
readonly row: HeatmapChartRow;
|
|
37
|
+
readonly cells: readonly PlacedCell[];
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* A matrix of readings, coloured by magnitude: depot by weekday, hour by date, queue by region.
|
|
41
|
+
*
|
|
42
|
+
* Colour carries the quantity and nothing else carries it on the plot, so every cell names its own
|
|
43
|
+
* reading to assistive tech and the annex table is not optional here the way it is on the other
|
|
44
|
+
* charts - WCAG 1.4.1 is not satisfied by a grid of coloured squares.
|
|
45
|
+
*/
|
|
46
|
+
declare class HeatmapChartComponent {
|
|
47
|
+
/** The column headings, left to right. Their count decides how many readings of a row are drawn:
|
|
48
|
+
* a row longer than this loses its tail, a shorter one ends early. */
|
|
49
|
+
readonly columns: _angular_core.InputSignal<readonly string[]>;
|
|
50
|
+
/** One entry per row, each carrying one reading per column. A `null` reading is a cell that
|
|
51
|
+
* was never measured and is drawn as the surface rather than as the ramp's coldest step. */
|
|
52
|
+
readonly data: _angular_core.InputSignal<readonly HeatmapChartRow[]>;
|
|
53
|
+
/** Printed above the grid as the visible title. */
|
|
54
|
+
readonly caption: _angular_core.InputSignal<string | null>;
|
|
55
|
+
/** Pins the floor of the colour scale. It only ever OPENS the scale further, so a floor above
|
|
56
|
+
* the data cannot push a reading off the ramp. Unset, the scale starts at the lowest reading. */
|
|
57
|
+
readonly min: _angular_core.InputSignal<number | null>;
|
|
58
|
+
/** Pins the ceiling of the colour scale, the same way `min` pins its floor. Set both to compare
|
|
59
|
+
* two heat maps by colour: unset, each one spans its own readings and the same hue means a
|
|
60
|
+
* different quantity on each. */
|
|
61
|
+
readonly max: _angular_core.InputSignal<number | null>;
|
|
62
|
+
/** Prints each cell's reading inside it. Off by default: a grid dense enough to be worth a heat
|
|
63
|
+
* map has no room for the numbers, which is why the annex table is always there. */
|
|
64
|
+
readonly showValues: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
65
|
+
/** Makes every measured cell a button. An unmeasured cell stays inert - a grid of buttons with
|
|
66
|
+
* nothing behind them is a tab trap. */
|
|
67
|
+
readonly interactive: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
68
|
+
/** Fades every cell but the one under the pointer. Off by default: the dimming costs the
|
|
69
|
+
* separation BETWEEN the dimmed cells, which on a ramp is the only thing carrying magnitude. */
|
|
70
|
+
readonly dimOthers: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
71
|
+
/** `'auto'` draws the bordered, padded box; `'none'` leaves it bare for a chart inside a card the
|
|
72
|
+
* page has already drawn. Unset falls back to `DS_CONFIG.chart.frame`. */
|
|
73
|
+
readonly frame: _angular_core.InputSignal<ChartFrame | null>;
|
|
74
|
+
/** A skeleton at the grid's own height, so the page does not resize when the data lands. */
|
|
75
|
+
readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
76
|
+
/** Separate from an empty matrix: "the request failed" and "there is nothing to show" read the
|
|
77
|
+
* same and mean opposite things. */
|
|
78
|
+
readonly error: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
79
|
+
/** Shown when there are no rows or no columns. Unset falls back to `DS_CONFIG.chart.emptyText`. */
|
|
80
|
+
readonly emptyText: _angular_core.InputSignal<string | null>;
|
|
81
|
+
/** Shown in place of the grid while `error` is set. Unset falls back to
|
|
82
|
+
* `DS_CONFIG.chart.errorText`. */
|
|
83
|
+
readonly errorText: _angular_core.InputSignal<string | null>;
|
|
84
|
+
/** Formats every reading the chart prints - the scale's two ends, each cell's accessible name
|
|
85
|
+
* and the annex table. Unset falls back to `DS_CONFIG.chart.valueFormat`. */
|
|
86
|
+
readonly valueFormat: _angular_core.InputSignal<ChartValueFormat | null>;
|
|
87
|
+
/** Whether a hovered or focused cell opens a tooltip. A heat map's cells carry no printed value
|
|
88
|
+
* by default, so this is where a reading is read without reaching for the annex table. */
|
|
89
|
+
readonly tooltip: _angular_core.InputSignal<ChartItemTooltipTrigger>;
|
|
90
|
+
/** The clicked cell, with the row and the column it sits at. Never fires for an unmeasured
|
|
91
|
+
* cell, which has no reading to drill into. */
|
|
92
|
+
readonly cellClicked: _angular_core.OutputEmitterRef<HeatmapChartCell>;
|
|
93
|
+
private readonly defaults;
|
|
94
|
+
readonly frameResolved: _angular_core.Signal<ChartFrame>;
|
|
95
|
+
readonly emptyTextResolved: _angular_core.Signal<string>;
|
|
96
|
+
readonly errorTextResolved: _angular_core.Signal<string>;
|
|
97
|
+
readonly valueFormatResolved: _angular_core.Signal<typeof _ids_group_ltd_ids_design_system_components.defaultChartFormat>;
|
|
98
|
+
protected readonly activeMark: _ids_group_ltd_ids_design_system_components_chart_tooltip.ChartActiveMark;
|
|
99
|
+
protected readonly isEmpty: _angular_core.Signal<boolean>;
|
|
100
|
+
private readonly domain;
|
|
101
|
+
/** The row header column has no name of its own: the corner cell above it is blank, which is
|
|
102
|
+
* what a matrix's top-left is. */
|
|
103
|
+
protected readonly tableColumns: _angular_core.Signal<readonly string[]>;
|
|
104
|
+
protected readonly tableRows: _angular_core.Signal<readonly ChartDataRow[]>;
|
|
105
|
+
protected readonly rows: _angular_core.Signal<readonly PlacedRow[]>;
|
|
106
|
+
/** The legend under the grid: the ramp's own steps with the readings at either end, which is the
|
|
107
|
+
* only thing that says what a colour is worth. */
|
|
108
|
+
protected readonly scaleSteps: _angular_core.Signal<readonly string[]>;
|
|
109
|
+
protected readonly scaleMinLabel: _angular_core.Signal<string>;
|
|
110
|
+
protected readonly scaleMaxLabel: _angular_core.Signal<string>;
|
|
111
|
+
protected readonly accessibleName: _angular_core.Signal<string>;
|
|
112
|
+
protected readonly skeletonRows: _angular_core.Signal<unknown[]>;
|
|
113
|
+
/** Flattened so one index addresses a cell: `chartActiveMark` counts marks, and a grid's marks
|
|
114
|
+
* are its cells rather than its rows. */
|
|
115
|
+
private readonly flatCells;
|
|
116
|
+
protected cellIndex(rowIndex: number, columnIndex: number): number;
|
|
117
|
+
protected readonly tooltipContext: _angular_core.Signal<ChartTooltipContext | null>;
|
|
118
|
+
protected onCellClick(row: PlacedRow, cell: PlacedCell, rowIndex: number): void;
|
|
119
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HeatmapChartComponent, never>;
|
|
120
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<HeatmapChartComponent, "ds-heatmap-chart", ["dsHeatmapChart"], { "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "showValues": { "alias": "showValues"; "required": false; "isSignal": true; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "frame": { "alias": "frame"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "errorText": { "alias": "errorText"; "required": false; "isSignal": true; }; "valueFormat": { "alias": "valueFormat"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; }, { "cellClicked": "cellClicked"; }, never, never, true, never>;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export { HeatmapChartComponent };
|
|
124
|
+
export type { HeatmapChartCell, HeatmapChartRow };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as _ids_group_ltd_ids_design_system_components from '@ids-group-ltd/ids-design-system/components';
|
|
2
|
-
import { defaultChartFormat, LinePoint } from '@ids-group-ltd/ids-design-system/components';
|
|
3
|
-
import * as _ids_group_ltd_ids_design_system_core from '@ids-group-ltd/ids-design-system/core';
|
|
4
|
-
import { ChartAxisMode, ChartFrame, ChartDataTable, ChartValueFormat } from '@ids-group-ltd/ids-design-system/core';
|
|
5
2
|
import * as _angular_core from '@angular/core';
|
|
6
3
|
import { TemplateRef } from '@angular/core';
|
|
4
|
+
import { LineSeriesData, ChartAnnotation } from '@ids-group-ltd/ids-design-system/components/chart';
|
|
5
|
+
import { ChartAxisMode, ChartGaps, ChartCurve, ChartFrame, ChartDataTable, ChartValueFormat } from '@ids-group-ltd/ids-design-system/core';
|
|
7
6
|
import { ChartLegendItem } from '@ids-group-ltd/ids-design-system/components/chart-legend';
|
|
8
|
-
import {
|
|
7
|
+
import { ChartDataRow } from '@ids-group-ltd/ids-design-system/components/chart-data-table';
|
|
8
|
+
import { ChartTooltipTrigger, ChartTooltipContext } from '@ids-group-ltd/ids-design-system/components/chart-tooltip';
|
|
9
9
|
|
|
10
10
|
interface LineChartSeries {
|
|
11
11
|
id: string;
|
|
@@ -20,11 +20,14 @@ interface LineChartSeries {
|
|
|
20
20
|
* when one is hidden; left out, a series takes the colour of its position. */
|
|
21
21
|
slot?: number;
|
|
22
22
|
}
|
|
23
|
-
/** How
|
|
24
|
-
*
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
23
|
+
/** How several series share the value axis. `'none'` draws each from the baseline, which is what a
|
|
24
|
+
* line chart has always done. `'stacked'` starts each series where the one before it ended, so a
|
|
25
|
+
* filled series reads as a share of a total rather than a quantity of its own. `'normalized'`
|
|
26
|
+
* stacks then divides by the category's own total, so every category is full and the axis reads in
|
|
27
|
+
* shares.
|
|
28
|
+
*
|
|
29
|
+
* Unrelated to `yAxisMode`'s `'split'`, which puts two PLOTS one above the other. */
|
|
30
|
+
type LineChartStack = 'none' | 'stacked' | 'normalized';
|
|
28
31
|
/** A label pinned to one reading, so the point it names is legible with no pointer — a peak, a
|
|
29
32
|
* launch, the month a number turned. The tooltip answers "what is this?" on hover; an annotation
|
|
30
33
|
* answers it in a printed page or a screenshot. */
|
|
@@ -37,59 +40,24 @@ interface LineChartAnnotation {
|
|
|
37
40
|
readonly seriesId?: string;
|
|
38
41
|
}
|
|
39
42
|
/** One reading, named by the series it belongs to and the category it sits under. */
|
|
40
|
-
interface
|
|
43
|
+
interface LineChartReading {
|
|
41
44
|
readonly series: LineChartSeries;
|
|
42
45
|
readonly categoryIndex: number;
|
|
43
46
|
readonly category: string;
|
|
44
47
|
readonly value: number;
|
|
45
48
|
}
|
|
46
49
|
|
|
47
|
-
interface PlotArea {
|
|
48
|
-
readonly left: number;
|
|
49
|
-
readonly top: number;
|
|
50
|
-
readonly width: number;
|
|
51
|
-
readonly height: number;
|
|
52
|
-
}
|
|
53
|
-
interface AxisScale {
|
|
54
|
-
readonly max: number;
|
|
55
|
-
readonly ticks: readonly number[];
|
|
56
|
-
}
|
|
57
|
-
interface AxisLayout {
|
|
58
|
-
readonly primary: AxisScale;
|
|
59
|
-
/** Null when no series asked for a second axis. */
|
|
60
|
-
readonly secondary: AxisScale | null;
|
|
61
|
-
/** True when the secondary axis is drawn against the primary's gridlines. */
|
|
62
|
-
readonly alignedTicks: boolean;
|
|
63
|
-
}
|
|
64
|
-
interface ChartLayout {
|
|
65
|
-
readonly primaryPlot: PlotArea;
|
|
66
|
-
/** The same area as `primaryPlot` unless the plots are stacked. */
|
|
67
|
-
readonly secondaryPlot: PlotArea;
|
|
68
|
-
readonly categoryLabelY: number;
|
|
69
|
-
readonly stacked: boolean;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
50
|
interface ResolvedSeries {
|
|
73
51
|
readonly series: LineChartSeries;
|
|
74
52
|
readonly values: readonly (number | null)[];
|
|
53
|
+
/** Where this series' band starts on the value axis, one entry per category. `null` while the
|
|
54
|
+
* chart is unstacked, where every band starts at the baseline. */
|
|
55
|
+
readonly lowerValues: readonly (number | null)[] | null;
|
|
75
56
|
readonly onSecondaryAxis: boolean;
|
|
76
57
|
readonly color: string;
|
|
77
58
|
/** `null` while `patterns` is off, which is what keeps a solid line solid. */
|
|
78
59
|
readonly dash: string | null;
|
|
79
60
|
}
|
|
80
|
-
interface PlottedSeries extends ResolvedSeries {
|
|
81
|
-
readonly polylines: readonly string[];
|
|
82
|
-
readonly areaPaths: readonly string[];
|
|
83
|
-
readonly markers: readonly LinePoint[];
|
|
84
|
-
}
|
|
85
|
-
interface AxisTick {
|
|
86
|
-
readonly y: number;
|
|
87
|
-
readonly label: string;
|
|
88
|
-
}
|
|
89
|
-
interface CategoryLabel {
|
|
90
|
-
readonly x: number;
|
|
91
|
-
readonly text: string;
|
|
92
|
-
}
|
|
93
61
|
declare class LineChartComponent {
|
|
94
62
|
/** X labels. Every series' `data` is read against this length. */
|
|
95
63
|
readonly categories: _angular_core.InputSignal<readonly string[]>;
|
|
@@ -97,7 +65,7 @@ declare class LineChartComponent {
|
|
|
97
65
|
* loses its tail and a shorter one ends early. */
|
|
98
66
|
readonly series: _angular_core.InputSignal<readonly LineChartSeries[]>;
|
|
99
67
|
/** How a secondary axis relates to the primary one. */
|
|
100
|
-
readonly yAxisMode: _angular_core.InputSignal<
|
|
68
|
+
readonly yAxisMode: _angular_core.InputSignal<ChartAxisMode>;
|
|
101
69
|
/** Draws a dot at every reading. Off, the dots appear on hover and on focus only. */
|
|
102
70
|
readonly showMarkers: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
103
71
|
/** Labels pinned over their readings, for the points that have to read without a pointer. They
|
|
@@ -112,13 +80,12 @@ declare class LineChartComponent {
|
|
|
112
80
|
readonly interactive: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
113
81
|
/** The point that was clicked, or activated with Enter or Space. Fires whether or not
|
|
114
82
|
* `interactive` is set. */
|
|
115
|
-
readonly pointClicked: _angular_core.OutputEmitterRef<
|
|
83
|
+
readonly pointClicked: _angular_core.OutputEmitterRef<LineChartReading>;
|
|
116
84
|
/** Holds the crosshair and its tooltip on the category that was clicked, until Escape or a
|
|
117
85
|
* press outside releases it. Off by default: a click is already the drill-down hook, and a
|
|
118
86
|
* crosshair left standing after the pointer has gone needs a reader who knows why. `pointClicked`
|
|
119
87
|
* fires either way — pinning is a state, not a handler. */
|
|
120
88
|
readonly pinOnClick: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
121
|
-
protected readonly pinnedCategory: _angular_core.WritableSignal<boolean>;
|
|
122
89
|
/** Dims every OTHER mark while one is hovered or focused, so the reader's eye is held on the
|
|
123
90
|
* one under the pointer. Off by default: the dimming costs the separation BETWEEN the dimmed
|
|
124
91
|
* marks — measured 2026-09-13, the worst pair of three dimmed series falls from dE 14.8 at full
|
|
@@ -127,7 +94,19 @@ declare class LineChartComponent {
|
|
|
127
94
|
readonly dimOthers: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
128
95
|
/** What a `null` reading draws. The default refuses to assert that a missing
|
|
129
96
|
* reading is a zero. */
|
|
130
|
-
readonly gaps: _angular_core.InputSignal<
|
|
97
|
+
readonly gaps: _angular_core.InputSignal<ChartGaps>;
|
|
98
|
+
/** How the line joins its readings. `'linear'` by default, which asserts nothing the data does
|
|
99
|
+
* not say; a curve is a claim about what happened BETWEEN two readings. */
|
|
100
|
+
readonly curve: _angular_core.InputSignal<ChartCurve>;
|
|
101
|
+
/** How several series share the value axis. Stacking runs per AXIS, so a series on the secondary
|
|
102
|
+
* axis never piles onto one measured against the primary. */
|
|
103
|
+
readonly stack: _angular_core.InputSignal<LineChartStack>;
|
|
104
|
+
/** Names the first axis's unit beside it. On a plot carrying two scales the colour says which
|
|
105
|
+
* line reads which axis and this says what the numbers ARE - and a reader who has neither is
|
|
106
|
+
* left comparing two quantities that may not be comparable at all. */
|
|
107
|
+
readonly yAxisLabel: _angular_core.InputSignal<string | null>;
|
|
108
|
+
/** `yAxisLabel` for the second axis. */
|
|
109
|
+
readonly secondaryAxisLabel: _angular_core.InputSignal<string | null>;
|
|
131
110
|
/** How many value-axis ticks to aim for. A hint, not a count: ticks snap to a round step, so
|
|
132
111
|
* the axis may carry one more or one fewer. */
|
|
133
112
|
readonly tickCount: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
@@ -184,12 +163,12 @@ declare class LineChartComponent {
|
|
|
184
163
|
* included. Unset falls back to `DS_CONFIG.chart.valueFormat`, then the browser's locale
|
|
185
164
|
* grouping with a K/M/B suffix past four digits. */
|
|
186
165
|
readonly valueFormat: _angular_core.InputSignal<ChartValueFormat | null>;
|
|
166
|
+
private readonly defaults;
|
|
187
167
|
readonly frameResolved: _angular_core.Signal<ChartFrame>;
|
|
188
168
|
readonly dataTableResolved: _angular_core.Signal<ChartDataTable>;
|
|
189
169
|
readonly emptyTextResolved: _angular_core.Signal<string>;
|
|
190
170
|
readonly errorTextResolved: _angular_core.Signal<string>;
|
|
191
|
-
readonly valueFormatResolved: _angular_core.Signal<typeof defaultChartFormat>;
|
|
192
|
-
protected readonly viewBox = "0 0 640 320";
|
|
171
|
+
readonly valueFormatResolved: _angular_core.Signal<typeof _ids_group_ltd_ids_design_system_components.defaultChartFormat>;
|
|
193
172
|
protected readonly resolvedSeries: _angular_core.Signal<readonly ResolvedSeries[]>;
|
|
194
173
|
/** Ids of the series the legend has switched off. Two-way, so a page can drive it from a URL
|
|
195
174
|
* parameter and read back what the reader chose. */
|
|
@@ -218,54 +197,25 @@ declare class LineChartComponent {
|
|
|
218
197
|
* all; `40` is the documented non-zero step. The total is capped, so a long list of series does
|
|
219
198
|
* not crawl in. */
|
|
220
199
|
readonly staggerMs: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
221
|
-
protected markStagger(index: number): string;
|
|
222
200
|
protected readonly highlightedSeries: _angular_core.WritableSignal<string | null>;
|
|
201
|
+
/** Every series with its band's own span, stacked per axis. Hiding a series does NOT re-pile the
|
|
202
|
+
* rest, for the same reason `rescaleOnHide` defaults off: switching one off must not move the
|
|
203
|
+
* ones still drawn. A `null` stays a hole in the line and contributes nothing to the pile. */
|
|
204
|
+
protected readonly stackedSeries: _angular_core.Signal<readonly ResolvedSeries[]>;
|
|
223
205
|
protected readonly visibleSeries: _angular_core.Signal<readonly ResolvedSeries[]>;
|
|
224
206
|
protected readonly legendItems: _angular_core.Signal<readonly ChartLegendItem[]>;
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
protected readonly
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
protected readonly
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
x: number;
|
|
238
|
-
y: number;
|
|
239
|
-
anchor: string;
|
|
240
|
-
}[]>;
|
|
241
|
-
protected readonly primaryTicks: _angular_core.Signal<AxisTick[]>;
|
|
242
|
-
protected readonly secondaryTicks: _angular_core.Signal<readonly AxisTick[]>;
|
|
243
|
-
/** Drawn only when the two axes do not share the primary's gridlines, and only
|
|
244
|
-
* when the axis has more than the single tick a degenerate domain leaves. */
|
|
245
|
-
protected readonly showSecondaryGridlines: _angular_core.Signal<boolean>;
|
|
246
|
-
protected readonly stacked: _angular_core.Signal<boolean>;
|
|
247
|
-
protected readonly categoryLabelY: _angular_core.Signal<number>;
|
|
248
|
-
/** The category under the pointer, or -1. */
|
|
249
|
-
private readonly host;
|
|
250
|
-
protected readonly activeCategory: _angular_core.WritableSignal<number>;
|
|
251
|
-
protected readonly categoryBands: _angular_core.Signal<_ids_group_ltd_ids_design_system_components.PointScale>;
|
|
252
|
-
protected readonly activeBandX: _angular_core.Signal<number>;
|
|
253
|
-
protected readonly activeBandWidth: _angular_core.Signal<number>;
|
|
254
|
-
protected readonly activeCategoryX: _angular_core.Signal<number>;
|
|
255
|
-
protected onPlotPointer(event: PointerEvent): void;
|
|
256
|
-
/** The highest reading in the category, mapped back into client pixels. Anchoring there rather
|
|
257
|
-
* than at the cursor keeps the panel still while the pointer travels within one band, and puts
|
|
258
|
-
* it over the readings it names instead of over the finger. */
|
|
259
|
-
private readingAnchor;
|
|
260
|
-
protected clearActiveCategory(): void;
|
|
261
|
-
/** The panel is portaled to the body, so the plot never sees the pointer arrive on it. This is
|
|
262
|
-
* the other half of the grace period: reaching the panel keeps it open, and leaving the panel for
|
|
263
|
-
* anything that is not the plot starts the clear the plot can no longer start itself. */
|
|
264
|
-
protected onPointerAnywhere(event: PointerEvent): void;
|
|
265
|
-
private cancelCategoryClear;
|
|
266
|
-
private readonly tooltipLingerResolved;
|
|
267
|
-
private pendingCategoryClear;
|
|
268
|
-
protected releaseCategoryPin(): void;
|
|
207
|
+
/** A normalized stack draws shares, not readings, so the axis has to say so - the value a tooltip
|
|
208
|
+
* or the annex table prints stays the reading, which is what `valueFormat` goes on formatting. */
|
|
209
|
+
protected readonly axisFormat: _angular_core.Signal<ChartValueFormat>;
|
|
210
|
+
/** Each axis takes the colour of the series measured against it, but only where two scales share
|
|
211
|
+
* one plot: on a single-scale chart it would restate the marks' own colour in the furniture,
|
|
212
|
+
* and under `'split'` the two plots are already apart. The chart knows its own series colours,
|
|
213
|
+
* so this is derived rather than asked for. */
|
|
214
|
+
private readonly axisTint;
|
|
215
|
+
protected readonly primaryAxisFill: _angular_core.Signal<string | null>;
|
|
216
|
+
protected readonly secondaryAxisFill: _angular_core.Signal<string | null>;
|
|
217
|
+
protected readonly stacksSeries: _angular_core.Signal<boolean>;
|
|
218
|
+
protected readonly tooltipLingerResolved: _angular_core.Signal<number>;
|
|
269
219
|
/** Whether the plot opens a tooltip, and for what. `'axis'` names every series at the
|
|
270
220
|
* category under the pointer, which is the reading a multi-series line is compared on;
|
|
271
221
|
* `'item'` names only the marker itself. */
|
|
@@ -277,47 +227,45 @@ declare class LineChartComponent {
|
|
|
277
227
|
* so the panel stays put while the pointer moves within one band. `'pointer'` follows the
|
|
278
228
|
* cursor. */
|
|
279
229
|
readonly tooltipAnchor: _angular_core.InputSignal<"point" | "pointer">;
|
|
280
|
-
protected readonly
|
|
281
|
-
|
|
282
|
-
* series at once; a focused marker answers for its own. */
|
|
283
|
-
protected readonly activeSeries: _angular_core.WritableSignal<number>;
|
|
284
|
-
/** One tab stop PER SERIES, keyed by series id — each line is a strand the reader walks with
|
|
285
|
-
* the arrows. WCAG 2.1.1's Understanding is explicit that not every mouse-operable control has
|
|
286
|
-
* to be separately focusable, which is what keeps a 12-category, 2-series plot from being
|
|
287
|
-
* twenty-four stops in the page's tab order. */
|
|
288
|
-
protected readonly rovingByCategory: _angular_core.WritableSignal<ReadonlyMap<string, number>>;
|
|
289
|
-
protected isTabStop(seriesId: string, categoryIndex: number): boolean;
|
|
290
|
-
protected onMarkerFocus(seriesIndex: number, categoryIndex: number, event: FocusEvent): void;
|
|
291
|
-
protected onMarkerNavigation(event: KeyboardEvent, seriesIndex: number, categoryIndex: number): void;
|
|
292
|
-
private setRoving;
|
|
293
|
-
protected onMarkerBlur(): void;
|
|
294
|
-
protected readonly tooltipContext: _angular_core.Signal<ChartTooltipContext | null>;
|
|
295
|
-
protected readonly plotLeft: _angular_core.Signal<number>;
|
|
296
|
-
protected readonly plotRight: _angular_core.Signal<number>;
|
|
297
|
-
protected readonly primaryTopY: _angular_core.Signal<number>;
|
|
298
|
-
protected readonly secondaryTopY: _angular_core.Signal<number>;
|
|
299
|
-
protected readonly primaryBaselineY: _angular_core.Signal<number>;
|
|
300
|
-
protected readonly secondaryBaselineY: _angular_core.Signal<number>;
|
|
301
|
-
/** Where the crosshair stops. Under `'stacked'` the two plots sit one above the other over one
|
|
302
|
-
* category axis, so a crosshair that ends at the upper plot's baseline leaves the lower plot —
|
|
303
|
-
* the same category, the same pointer — with nothing marked at all. */
|
|
304
|
-
protected readonly cursorBottomY: _angular_core.Signal<number>;
|
|
305
|
-
protected readonly primaryLabelX: _angular_core.Signal<number>;
|
|
306
|
-
protected readonly secondaryLabelX: _angular_core.Signal<number>;
|
|
307
|
-
protected readonly secondaryLabelAnchor: _angular_core.Signal<"start" | "end">;
|
|
308
|
-
protected readonly categoryLabels: _angular_core.Signal<readonly CategoryLabel[]>;
|
|
230
|
+
protected readonly dataTableColumns: _angular_core.Signal<readonly string[]>;
|
|
231
|
+
protected readonly dataTableRows: _angular_core.Signal<readonly ChartDataRow[]>;
|
|
309
232
|
protected readonly tableRows: _angular_core.Signal<{
|
|
310
233
|
category: string;
|
|
311
234
|
cells: string[];
|
|
312
235
|
}[]>;
|
|
313
236
|
protected readonly accessibleName: _angular_core.Signal<string>;
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
protected
|
|
237
|
+
private readonly plot;
|
|
238
|
+
/** Whether the category cursor is held. Read off the container, which owns the pin now that it
|
|
239
|
+
* owns the cursor. */
|
|
240
|
+
protected readonly pinnedCategory: _angular_core.Signal<boolean>;
|
|
241
|
+
protected releaseCategoryPin(): void;
|
|
242
|
+
/** What the series mark draws: the stacked values, the hidden series already filtered out. */
|
|
243
|
+
protected readonly markSeries: _angular_core.Signal<readonly LineSeriesData[]>;
|
|
244
|
+
protected readonly dashPatterns: _angular_core.Signal<readonly string[]>;
|
|
245
|
+
/** The reading each label names, which is what the mark needs: it draws against the scales and
|
|
246
|
+
* never sees the series list. One whose series is hidden or whose reading is missing is
|
|
247
|
+
* dropped rather than left floating over the plot. */
|
|
248
|
+
protected readonly markAnnotations: _angular_core.Signal<readonly ChartAnnotation[]>;
|
|
249
|
+
protected readonly markAnchor: _angular_core.Signal<"pointer" | "reading">;
|
|
250
|
+
protected readonly hasSecondaryAxis: _angular_core.Signal<boolean>;
|
|
251
|
+
/** The ceiling handed to the container, which raises its own domain to it and never lowers.
|
|
252
|
+
* Unless `rescaleOnHide` says otherwise it is the maximum across EVERY series, so switching
|
|
253
|
+
* one off does not move the gridlines under the ones still drawn. */
|
|
254
|
+
protected readonly axisMax: _angular_core.Signal<number | null>;
|
|
255
|
+
protected readonly axisMaxSecondary: _angular_core.Signal<number | null>;
|
|
256
|
+
private ceilingOf;
|
|
257
|
+
/** `--ds-line-chart-plot-height` reaches an SVG coordinate space only as a number, so it is read
|
|
258
|
+
* back off the host rather than applied as CSS. */
|
|
259
|
+
protected readonly plotHeight: _angular_core.WritableSignal<number>;
|
|
260
|
+
/** Every state occupies the box the plot would have, so nothing on the page moves when the data
|
|
261
|
+
* lands, the request fails or the last series is switched off. */
|
|
262
|
+
protected readonly viewHeightPx: _angular_core.Signal<string>;
|
|
263
|
+
protected onPointClicked(reading: {
|
|
264
|
+
series: LineSeriesData;
|
|
265
|
+
categoryIndex: number;
|
|
266
|
+
value: number;
|
|
267
|
+
}): void;
|
|
268
|
+
constructor();
|
|
321
269
|
protected readonly isEmpty: _angular_core.Signal<boolean>;
|
|
322
270
|
protected readonly showLegend: _angular_core.Signal<boolean>;
|
|
323
271
|
protected readonly noVisibleSeries: _angular_core.Signal<boolean>;
|
|
@@ -325,11 +273,9 @@ declare class LineChartComponent {
|
|
|
325
273
|
* chart does not resize when the data lands; falls back to three when `series`
|
|
326
274
|
* is still empty. */
|
|
327
275
|
protected readonly skeletonSeries: _angular_core.Signal<unknown[]>;
|
|
328
|
-
private plotFor;
|
|
329
|
-
private ticksFor;
|
|
330
276
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LineChartComponent, never>;
|
|
331
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LineChartComponent, "ds-line-chart", never, { "categories": { "alias": "categories"; "required": true; "isSignal": true; }; "series": { "alias": "series"; "required": true; "isSignal": true; }; "yAxisMode": { "alias": "yAxisMode"; "required": false; "isSignal": true; }; "showMarkers": { "alias": "showMarkers"; "required": false; "isSignal": true; }; "annotations": { "alias": "annotations"; "required": false; "isSignal": true; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "pinOnClick": { "alias": "pinOnClick"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "gaps": { "alias": "gaps"; "required": false; "isSignal": true; }; "tickCount": { "alias": "tickCount"; "required": false; "isSignal": true; }; "frame": { "alias": "frame"; "required": false; "isSignal": true; }; "tooltipLingerMs": { "alias": "tooltipLingerMs"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "summary": { "alias": "summary"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "maxSecondary": { "alias": "maxSecondary"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "errorText": { "alias": "errorText"; "required": false; "isSignal": true; }; "valueFormat": { "alias": "valueFormat"; "required": false; "isSignal": true; }; "hiddenSeries": { "alias": "hiddenSeries"; "required": false; "isSignal": true; }; "rescaleOnHide": { "alias": "rescaleOnHide"; "required": false; "isSignal": true; }; "legendFilters": { "alias": "legendFilters"; "required": false; "isSignal": true; }; "legendMode": { "alias": "legendMode"; "required": false; "isSignal": true; }; "noVisibleSeriesText": { "alias": "noVisibleSeriesText"; "required": false; "isSignal": true; }; "patterns": { "alias": "patterns"; "required": false; "isSignal": true; }; "staggerMs": { "alias": "staggerMs"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "tooltipAnchor": { "alias": "tooltipAnchor"; "required": false; "isSignal": true; }; }, { "pointClicked": "pointClicked"; "hiddenSeries": "hiddenSeriesChange"; }, ["tooltipTemplate"], never, true, never>;
|
|
277
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LineChartComponent, "ds-line-chart", never, { "categories": { "alias": "categories"; "required": true; "isSignal": true; }; "series": { "alias": "series"; "required": true; "isSignal": true; }; "yAxisMode": { "alias": "yAxisMode"; "required": false; "isSignal": true; }; "showMarkers": { "alias": "showMarkers"; "required": false; "isSignal": true; }; "annotations": { "alias": "annotations"; "required": false; "isSignal": true; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "pinOnClick": { "alias": "pinOnClick"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "gaps": { "alias": "gaps"; "required": false; "isSignal": true; }; "curve": { "alias": "curve"; "required": false; "isSignal": true; }; "stack": { "alias": "stack"; "required": false; "isSignal": true; }; "yAxisLabel": { "alias": "yAxisLabel"; "required": false; "isSignal": true; }; "secondaryAxisLabel": { "alias": "secondaryAxisLabel"; "required": false; "isSignal": true; }; "tickCount": { "alias": "tickCount"; "required": false; "isSignal": true; }; "frame": { "alias": "frame"; "required": false; "isSignal": true; }; "tooltipLingerMs": { "alias": "tooltipLingerMs"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "summary": { "alias": "summary"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "maxSecondary": { "alias": "maxSecondary"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "errorText": { "alias": "errorText"; "required": false; "isSignal": true; }; "valueFormat": { "alias": "valueFormat"; "required": false; "isSignal": true; }; "hiddenSeries": { "alias": "hiddenSeries"; "required": false; "isSignal": true; }; "rescaleOnHide": { "alias": "rescaleOnHide"; "required": false; "isSignal": true; }; "legendFilters": { "alias": "legendFilters"; "required": false; "isSignal": true; }; "legendMode": { "alias": "legendMode"; "required": false; "isSignal": true; }; "noVisibleSeriesText": { "alias": "noVisibleSeriesText"; "required": false; "isSignal": true; }; "patterns": { "alias": "patterns"; "required": false; "isSignal": true; }; "staggerMs": { "alias": "staggerMs"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "tooltipAnchor": { "alias": "tooltipAnchor"; "required": false; "isSignal": true; }; }, { "pointClicked": "pointClicked"; "hiddenSeries": "hiddenSeriesChange"; }, ["tooltipTemplate"], never, true, never>;
|
|
332
278
|
}
|
|
333
279
|
|
|
334
280
|
export { LineChartComponent };
|
|
335
|
-
export type { LineChartAnnotation,
|
|
281
|
+
export type { LineChartAnnotation, LineChartReading, LineChartSeries };
|
|
@@ -18,7 +18,9 @@ declare class MultiSelectComponent extends DsControlValueAccessor<string[]> impl
|
|
|
18
18
|
private readonly vcr;
|
|
19
19
|
private readonly host;
|
|
20
20
|
/** Public panel tokens forwarded onto the portaled overlay pane on open so
|
|
21
|
-
* a consumer's `ds-multi-select { --ds-multi-select-panel-*: … }` reaches it.
|
|
21
|
+
* a consumer's `ds-multi-select { --ds-multi-select-panel-*: … }` reaches it.
|
|
22
|
+
* Not the whole set: `prepareOverlayEnter` also forwards `DROPDOWN_PANEL_TOKENS`
|
|
23
|
+
* (overlay-motion.ts) onto every pane, the `--ds-option-*` family among them. */
|
|
22
24
|
private readonly panelTokens;
|
|
23
25
|
/** Selected values, two-way bound. */
|
|
24
26
|
readonly value: _angular_core.ModelSignal<string[]>;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { DsSize } from '@ids-group-ltd/ids-design-system/core';
|
|
3
|
+
|
|
4
|
+
type PaginationLayout = 'grouped' | 'spread';
|
|
2
5
|
|
|
3
6
|
declare class PaginationComponent {
|
|
4
7
|
/** Total item count, used to compute the page count. */
|
|
@@ -15,6 +18,14 @@ declare class PaginationComponent {
|
|
|
15
18
|
/** Shows the rows-per-page dropdown. Turn it off for a screen with a fixed
|
|
16
19
|
* page size — otherwise the control offers a choice the host won't honour. */
|
|
17
20
|
readonly showPageSize: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
21
|
+
/** Control height - sm/md/lg. A pager under a full-width table wants targets bigger than the
|
|
22
|
+
* dense default. Unset falls back to `DS_CONFIG.control.size`, then `'sm'`. */
|
|
23
|
+
readonly size: _angular_core.InputSignal<DsSize | null>;
|
|
24
|
+
protected readonly sizeResolved: _angular_core.Signal<DsSize>;
|
|
25
|
+
/** `'grouped'`, the default, keeps the label beside the controls. `'spread'` pushes them to
|
|
26
|
+
* opposite edges of whatever width the nav is given. */
|
|
27
|
+
readonly layout: _angular_core.InputSignal<PaginationLayout>;
|
|
28
|
+
protected readonly navClass: _angular_core.Signal<string>;
|
|
18
29
|
protected readonly totalPages: _angular_core.Signal<number>;
|
|
19
30
|
protected readonly pageItems: _angular_core.Signal<(number | "ellipsis")[]>;
|
|
20
31
|
protected readonly rangeLabel: _angular_core.Signal<string>;
|
|
@@ -26,7 +37,8 @@ declare class PaginationComponent {
|
|
|
26
37
|
protected goTo(page: number): void;
|
|
27
38
|
protected onSizeChange(value: string): void;
|
|
28
39
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PaginationComponent, never>;
|
|
29
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PaginationComponent, "ds-pagination", never, { "total": { "alias": "total"; "required": true; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "currentPage": { "alias": "currentPage"; "required": false; "isSignal": true; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; "isSignal": true; }; "showLabel": { "alias": "showLabel"; "required": false; "isSignal": true; }; "showPageSize": { "alias": "showPageSize"; "required": false; "isSignal": true; }; }, { "pageSize": "pageSizeChange"; "currentPage": "currentPageChange"; }, never, never, true, never>;
|
|
40
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PaginationComponent, "ds-pagination", never, { "total": { "alias": "total"; "required": true; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "currentPage": { "alias": "currentPage"; "required": false; "isSignal": true; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; "isSignal": true; }; "showLabel": { "alias": "showLabel"; "required": false; "isSignal": true; }; "showPageSize": { "alias": "showPageSize"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; }, { "pageSize": "pageSizeChange"; "currentPage": "currentPageChange"; }, never, never, true, never>;
|
|
30
41
|
}
|
|
31
42
|
|
|
32
43
|
export { PaginationComponent };
|
|
44
|
+
export type { PaginationLayout };
|