@4sh/ui-kit 0.1.2 → 0.3.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/README.fr.md +170 -61
- package/README.md +165 -60
- package/collection.json +9 -0
- package/fesm2022/{4sh-ui-kit-ui-button-split.mjs → 4sh-ui-kit-actions-ui-button-split.mjs} +7 -7
- package/fesm2022/4sh-ui-kit-actions-ui-button-split.mjs.map +1 -0
- package/fesm2022/4sh-ui-kit-actions-ui-button.mjs +222 -0
- package/fesm2022/4sh-ui-kit-actions-ui-button.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-link.mjs → 4sh-ui-kit-actions-ui-link.mjs} +6 -6
- package/fesm2022/4sh-ui-kit-actions-ui-link.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-icon.mjs → 4sh-ui-kit-base-ui-icon.mjs} +51 -11
- package/fesm2022/4sh-ui-kit-base-ui-icon.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-image.mjs → 4sh-ui-kit-base-ui-image.mjs} +6 -6
- package/fesm2022/4sh-ui-kit-base-ui-image.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-autocomplete.mjs → 4sh-ui-kit-forms-ui-autocomplete.mjs} +9 -9
- package/fesm2022/4sh-ui-kit-forms-ui-autocomplete.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-checkbox.mjs → 4sh-ui-kit-forms-ui-checkbox.mjs} +7 -7
- package/fesm2022/4sh-ui-kit-forms-ui-checkbox.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-datepicker.mjs → 4sh-ui-kit-forms-ui-datepicker.mjs} +23 -11
- package/fesm2022/4sh-ui-kit-forms-ui-datepicker.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-field.mjs → 4sh-ui-kit-forms-ui-field.mjs} +7 -7
- package/fesm2022/4sh-ui-kit-forms-ui-field.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-file-upload.mjs → 4sh-ui-kit-forms-ui-file-upload.mjs} +12 -13
- package/fesm2022/4sh-ui-kit-forms-ui-file-upload.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-input-group.mjs → 4sh-ui-kit-forms-ui-input-group.mjs} +12 -12
- package/fesm2022/4sh-ui-kit-forms-ui-input-group.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-input-mask.mjs → 4sh-ui-kit-forms-ui-input-mask.mjs} +8 -8
- package/fesm2022/4sh-ui-kit-forms-ui-input-mask.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-input-number.mjs → 4sh-ui-kit-forms-ui-input-number.mjs} +8 -8
- package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-input-otp.mjs → 4sh-ui-kit-forms-ui-input-otp.mjs} +5 -5
- package/fesm2022/4sh-ui-kit-forms-ui-input-otp.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-input-tags.mjs → 4sh-ui-kit-forms-ui-input-tags.mjs} +8 -8
- package/fesm2022/4sh-ui-kit-forms-ui-input-tags.mjs.map +1 -0
- package/fesm2022/4sh-ui-kit-forms-ui-input.mjs +159 -0
- package/fesm2022/4sh-ui-kit-forms-ui-input.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-label.mjs → 4sh-ui-kit-forms-ui-label.mjs} +5 -5
- package/fesm2022/4sh-ui-kit-forms-ui-label.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-nudger.mjs → 4sh-ui-kit-forms-ui-nudger.mjs} +6 -6
- package/fesm2022/4sh-ui-kit-forms-ui-nudger.mjs.map +1 -0
- package/fesm2022/4sh-ui-kit-forms-ui-radio.mjs +92 -0
- package/fesm2022/4sh-ui-kit-forms-ui-radio.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-rating.mjs → 4sh-ui-kit-forms-ui-rating.mjs} +7 -7
- package/fesm2022/4sh-ui-kit-forms-ui-rating.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-segment-control.mjs → 4sh-ui-kit-forms-ui-segment-control.mjs} +7 -7
- package/fesm2022/4sh-ui-kit-forms-ui-segment-control.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-select.mjs → 4sh-ui-kit-forms-ui-select.mjs} +8 -8
- package/fesm2022/4sh-ui-kit-forms-ui-select.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-slider.mjs → 4sh-ui-kit-forms-ui-slider.mjs} +6 -6
- package/fesm2022/4sh-ui-kit-forms-ui-slider.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-textarea.mjs → 4sh-ui-kit-forms-ui-textarea.mjs} +6 -6
- package/fesm2022/4sh-ui-kit-forms-ui-textarea.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-toggle.mjs → 4sh-ui-kit-forms-ui-toggle.mjs} +5 -5
- package/fesm2022/4sh-ui-kit-forms-ui-toggle.mjs.map +1 -0
- package/fesm2022/4sh-ui-kit-forms.mjs +28 -11
- package/fesm2022/4sh-ui-kit-forms.mjs.map +1 -1
- package/fesm2022/{4sh-ui-kit-ui-accordion.mjs → 4sh-ui-kit-informative-ui-accordion.mjs} +16 -16
- package/fesm2022/4sh-ui-kit-informative-ui-accordion.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-alert.mjs → 4sh-ui-kit-informative-ui-alert.mjs} +6 -6
- package/fesm2022/4sh-ui-kit-informative-ui-alert.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-avatar-group.mjs → 4sh-ui-kit-informative-ui-avatar-group.mjs} +5 -5
- package/fesm2022/4sh-ui-kit-informative-ui-avatar-group.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-avatar.mjs → 4sh-ui-kit-informative-ui-avatar.mjs} +6 -6
- package/fesm2022/4sh-ui-kit-informative-ui-avatar.mjs.map +1 -0
- package/fesm2022/4sh-ui-kit-informative-ui-badge.mjs +95 -0
- package/fesm2022/4sh-ui-kit-informative-ui-badge.mjs.map +1 -0
- package/fesm2022/4sh-ui-kit-informative-ui-chip.mjs +205 -0
- package/fesm2022/4sh-ui-kit-informative-ui-chip.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-empty-state.mjs → 4sh-ui-kit-informative-ui-empty-state.mjs} +12 -12
- package/fesm2022/4sh-ui-kit-informative-ui-empty-state.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-helper.mjs → 4sh-ui-kit-informative-ui-helper.mjs} +6 -6
- package/fesm2022/4sh-ui-kit-informative-ui-helper.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-progress-bar.mjs → 4sh-ui-kit-informative-ui-progress-bar.mjs} +5 -5
- package/fesm2022/4sh-ui-kit-informative-ui-progress-bar.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-read-only.mjs → 4sh-ui-kit-informative-ui-read-only.mjs} +6 -6
- package/fesm2022/4sh-ui-kit-informative-ui-read-only.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-separator.mjs → 4sh-ui-kit-informative-ui-separator.mjs} +5 -5
- package/fesm2022/4sh-ui-kit-informative-ui-separator.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-skeleton.mjs → 4sh-ui-kit-informative-ui-skeleton.mjs} +5 -5
- package/fesm2022/4sh-ui-kit-informative-ui-skeleton.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-spinner.mjs → 4sh-ui-kit-informative-ui-spinner.mjs} +6 -6
- package/fesm2022/4sh-ui-kit-informative-ui-spinner.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-tag.mjs → 4sh-ui-kit-informative-ui-tag.mjs} +6 -6
- package/fesm2022/4sh-ui-kit-informative-ui-tag.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-toast.mjs → 4sh-ui-kit-informative-ui-toast.mjs} +13 -13
- package/fesm2022/4sh-ui-kit-informative-ui-toast.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-tooltip.mjs → 4sh-ui-kit-informative-ui-tooltip.mjs} +8 -8
- package/fesm2022/4sh-ui-kit-informative-ui-tooltip.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-card.mjs → 4sh-ui-kit-layout-ui-card.mjs} +18 -18
- package/fesm2022/4sh-ui-kit-layout-ui-card.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-drawer.mjs → 4sh-ui-kit-layout-ui-drawer.mjs} +6 -6
- package/fesm2022/4sh-ui-kit-layout-ui-drawer.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-modal.mjs → 4sh-ui-kit-layout-ui-modal.mjs} +6 -6
- package/fesm2022/4sh-ui-kit-layout-ui-modal.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-popover.mjs → 4sh-ui-kit-layout-ui-popover.mjs} +5 -5
- package/fesm2022/4sh-ui-kit-layout-ui-popover.mjs.map +1 -0
- package/fesm2022/4sh-ui-kit-motion.mjs +3 -3
- package/fesm2022/{4sh-ui-kit-ui-breadcrumb.mjs → 4sh-ui-kit-navigation-ui-breadcrumb.mjs} +6 -6
- package/fesm2022/4sh-ui-kit-navigation-ui-breadcrumb.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-context-menu.mjs → 4sh-ui-kit-navigation-ui-context-menu.mjs} +5 -5
- package/fesm2022/4sh-ui-kit-navigation-ui-context-menu.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-menu.mjs → 4sh-ui-kit-navigation-ui-menu.mjs} +7 -7
- package/fesm2022/4sh-ui-kit-navigation-ui-menu.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-sidebar.mjs → 4sh-ui-kit-navigation-ui-sidebar.mjs} +15 -15
- package/fesm2022/4sh-ui-kit-navigation-ui-sidebar.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-stepper.mjs → 4sh-ui-kit-navigation-ui-stepper.mjs} +24 -24
- package/fesm2022/4sh-ui-kit-navigation-ui-stepper.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-tabs.mjs → 4sh-ui-kit-navigation-ui-tabs.mjs} +28 -22
- package/fesm2022/4sh-ui-kit-navigation-ui-tabs.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-paginator.mjs → 4sh-ui-kit-table-ui-paginator.mjs} +7 -7
- package/fesm2022/4sh-ui-kit-table-ui-paginator.mjs.map +1 -0
- package/fesm2022/{4sh-ui-kit-ui-table.mjs → 4sh-ui-kit-table-ui-table.mjs} +41 -41
- package/fesm2022/4sh-ui-kit-table-ui-table.mjs.map +1 -0
- package/fesm2022/4sh-ui-kit-theming.mjs +6 -6
- package/fesm2022/4sh-ui-kit.mjs +1 -1
- package/fesm2022/4sh-ui-kit.mjs.map +1 -1
- package/package.json +176 -175
- package/schematics/index.cjs +51 -0
- package/styles/component-vars.scss +953 -0
- package/styles/generated/_tokens-semantics.scss +36 -0
- package/styles/settings/_ui-config.scss +54 -44
- package/styles.css +1 -1
- package/types/{4sh-ui-kit-ui-button-split.d.ts → 4sh-ui-kit-actions-ui-button-split.d.ts} +2 -2
- package/types/{4sh-ui-kit-ui-icon.d.ts → 4sh-ui-kit-base-ui-icon.d.ts} +35 -4
- package/types/{4sh-ui-kit-ui-autocomplete.d.ts → 4sh-ui-kit-forms-ui-autocomplete.d.ts} +1 -1
- package/types/{4sh-ui-kit-ui-datepicker.d.ts → 4sh-ui-kit-forms-ui-datepicker.d.ts} +6 -1
- package/types/{4sh-ui-kit-ui-file-upload.d.ts → 4sh-ui-kit-forms-ui-file-upload.d.ts} +1 -1
- package/types/{4sh-ui-kit-ui-input-mask.d.ts → 4sh-ui-kit-forms-ui-input-mask.d.ts} +1 -1
- package/types/{4sh-ui-kit-ui-input-tags.d.ts → 4sh-ui-kit-forms-ui-input-tags.d.ts} +1 -1
- package/types/{4sh-ui-kit-ui-input.d.ts → 4sh-ui-kit-forms-ui-input.d.ts} +34 -3
- package/types/{4sh-ui-kit-ui-nudger.d.ts → 4sh-ui-kit-forms-ui-nudger.d.ts} +1 -1
- package/types/{4sh-ui-kit-ui-rating.d.ts → 4sh-ui-kit-forms-ui-rating.d.ts} +1 -1
- package/types/{4sh-ui-kit-ui-select.d.ts → 4sh-ui-kit-forms-ui-select.d.ts} +1 -1
- package/types/4sh-ui-kit-forms.d.ts +2 -1
- package/types/{4sh-ui-kit-ui-avatar.d.ts → 4sh-ui-kit-informative-ui-avatar.d.ts} +1 -1
- package/types/{4sh-ui-kit-ui-badge.d.ts → 4sh-ui-kit-informative-ui-badge.d.ts} +1 -1
- package/types/{4sh-ui-kit-ui-chip.d.ts → 4sh-ui-kit-informative-ui-chip.d.ts} +1 -1
- package/types/{4sh-ui-kit-ui-empty-state.d.ts → 4sh-ui-kit-informative-ui-empty-state.d.ts} +1 -1
- package/types/{4sh-ui-kit-ui-spinner.d.ts → 4sh-ui-kit-informative-ui-spinner.d.ts} +1 -1
- package/types/{4sh-ui-kit-ui-tag.d.ts → 4sh-ui-kit-informative-ui-tag.d.ts} +1 -1
- package/types/{4sh-ui-kit-ui-card.d.ts → 4sh-ui-kit-layout-ui-card.d.ts} +1 -1
- package/types/{4sh-ui-kit-ui-context-menu.d.ts → 4sh-ui-kit-navigation-ui-context-menu.d.ts} +1 -1
- package/types/{4sh-ui-kit-ui-tabs.d.ts → 4sh-ui-kit-navigation-ui-tabs.d.ts} +5 -1
- package/types/{4sh-ui-kit-ui-table.d.ts → 4sh-ui-kit-table-ui-table.d.ts} +1 -1
- package/fesm2022/4sh-ui-kit-ui-accordion.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-alert.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-autocomplete.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-avatar-group.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-avatar.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-badge.mjs +0 -95
- package/fesm2022/4sh-ui-kit-ui-badge.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-breadcrumb.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-button-split.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-button.mjs +0 -222
- package/fesm2022/4sh-ui-kit-ui-button.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-card.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-checkbox.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-chip.mjs +0 -205
- package/fesm2022/4sh-ui-kit-ui-chip.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-context-menu.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-datepicker.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-drawer.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-empty-state.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-field.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-file-upload.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-helper.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-icon.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-image.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-input-group.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-input-mask.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-input-number.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-input-otp.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-input-tags.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-input.mjs +0 -121
- package/fesm2022/4sh-ui-kit-ui-input.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-label.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-link.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-menu.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-modal.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-nudger.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-paginator.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-popover.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-progress-bar.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-radio.mjs +0 -92
- package/fesm2022/4sh-ui-kit-ui-radio.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-rating.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-read-only.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-segment-control.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-select.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-separator.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-sidebar.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-skeleton.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-slider.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-spinner.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-stepper.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-table.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-tabs.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-tag.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-textarea.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-toast.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-toggle.mjs.map +0 -1
- package/fesm2022/4sh-ui-kit-ui-tooltip.mjs.map +0 -1
- /package/types/{4sh-ui-kit-ui-button.d.ts → 4sh-ui-kit-actions-ui-button.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-link.d.ts → 4sh-ui-kit-actions-ui-link.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-image.d.ts → 4sh-ui-kit-base-ui-image.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-checkbox.d.ts → 4sh-ui-kit-forms-ui-checkbox.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-field.d.ts → 4sh-ui-kit-forms-ui-field.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-input-group.d.ts → 4sh-ui-kit-forms-ui-input-group.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-input-number.d.ts → 4sh-ui-kit-forms-ui-input-number.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-input-otp.d.ts → 4sh-ui-kit-forms-ui-input-otp.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-label.d.ts → 4sh-ui-kit-forms-ui-label.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-radio.d.ts → 4sh-ui-kit-forms-ui-radio.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-segment-control.d.ts → 4sh-ui-kit-forms-ui-segment-control.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-slider.d.ts → 4sh-ui-kit-forms-ui-slider.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-textarea.d.ts → 4sh-ui-kit-forms-ui-textarea.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-toggle.d.ts → 4sh-ui-kit-forms-ui-toggle.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-accordion.d.ts → 4sh-ui-kit-informative-ui-accordion.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-alert.d.ts → 4sh-ui-kit-informative-ui-alert.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-avatar-group.d.ts → 4sh-ui-kit-informative-ui-avatar-group.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-helper.d.ts → 4sh-ui-kit-informative-ui-helper.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-progress-bar.d.ts → 4sh-ui-kit-informative-ui-progress-bar.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-read-only.d.ts → 4sh-ui-kit-informative-ui-read-only.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-separator.d.ts → 4sh-ui-kit-informative-ui-separator.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-skeleton.d.ts → 4sh-ui-kit-informative-ui-skeleton.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-toast.d.ts → 4sh-ui-kit-informative-ui-toast.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-tooltip.d.ts → 4sh-ui-kit-informative-ui-tooltip.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-drawer.d.ts → 4sh-ui-kit-layout-ui-drawer.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-modal.d.ts → 4sh-ui-kit-layout-ui-modal.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-popover.d.ts → 4sh-ui-kit-layout-ui-popover.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-breadcrumb.d.ts → 4sh-ui-kit-navigation-ui-breadcrumb.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-menu.d.ts → 4sh-ui-kit-navigation-ui-menu.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-sidebar.d.ts → 4sh-ui-kit-navigation-ui-sidebar.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-stepper.d.ts → 4sh-ui-kit-navigation-ui-stepper.d.ts} +0 -0
- /package/types/{4sh-ui-kit-ui-paginator.d.ts → 4sh-ui-kit-table-ui-paginator.d.ts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"4sh-ui-kit-navigation-ui-tabs.mjs","sources":["../../../projects/ui-kit/navigation/ui-tabs/src/lib/ui-tabs.ts","../../../projects/ui-kit/navigation/ui-tabs/src/lib/ui-tab-list.html","../../../projects/ui-kit/navigation/ui-tabs/src/public-api.ts","../../../projects/ui-kit/navigation/ui-tabs/src/4sh-ui-kit-navigation-ui-tabs.ts"],"sourcesContent":["import {\n afterNextRender,\n afterRenderEffect,\n booleanAttribute,\n Component,\n computed,\n contentChild,\n contentChildren,\n DestroyRef,\n effect,\n ElementRef,\n forwardRef,\n inject,\n input,\n model,\n numberAttribute,\n output,\n signal,\n TemplateRef,\n untracked,\n viewChild,\n} from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { UiIcon } from '@4sh/ui-kit/base/ui-icon';\n\n/** Identifier of a tab / panel pair (matched against the container `value`). */\nexport type UiTabValue = string | number;\n/** Layout axis of the tab list. */\nexport type UiTabsOrientation = 'horizontal' | 'vertical';\n/** Position of a tab's icon relative to its label. */\nexport type UiTabIconPos = 'left' | 'right';\n\n/** Payload emitted when the active tab changes. */\nexport interface UiTabsChangeEvent {\n /** Value of the tab that became active. */\n value: UiTabValue;\n /** Originating DOM event (click / keyboard / focus). */\n originalEvent: Event;\n}\n\n/** @ignore Measured geometry of the active-tab indicator bar. */\ninterface ActiveBarMetrics {\n /** Offset along the main axis (px) from the tab list origin. */\n offset: number;\n /** Length along the main axis (px): tab width (horizontal) or height (vertical). */\n length: number;\n}\n\n/** Process-wide counter for unique tab/panel ids (aria wiring). */\nlet nextUid = 0;\n\n/**\n * ui-tab , a single tab button inside a {@link UiTabList}.\n *\n * Renders a real native `<button role=\"tab\">` (the `ui-tab` host is\n * `display: contents`, so the button sits directly inside the `role=\"tablist\"`).\n * Keyboard roving and the active indicator are driven by the list; this element\n * only reports its value/state and activates on click or `selectOnFocus`.\n *\n * Declared before {@link UiTabList} / {@link UiTabs} so their content queries\n * can reference it without a temporal-dead-zone error at class-definition time.\n */\n@Component({\n selector: 'ui-tab',\n imports: [UiIcon],\n template: `\n <button\n #tabBtn\n type=\"button\"\n role=\"tab\"\n class=\"ui-tab-button\"\n [id]=\"tabs.tabId(value())\"\n [attr.aria-controls]=\"tabs.panelId(value())\"\n [attr.aria-selected]=\"active()\"\n [attr.aria-label]=\"ariaLabel() || null\"\n [disabled]=\"disabled()\"\n [attr.tabindex]=\"tabindex()\"\n (click)=\"onClick($event)\"\n (focus)=\"onFocus($event)\"\n >\n @if (icon(); as name) {\n <ui-icon class=\"ui-tab-icon\" [name]=\"name\" size=\"default\" />\n }\n <span class=\"ui-tab-label\"><ng-content /></span>\n </button>\n `,\n styleUrl: './ui-tab.scss',\n host: {\n class: 'ui-tab',\n '[class._active]': 'active()',\n '[class._disabled]': 'disabled()',\n '[class._icon-right]': \"iconPos() === 'right'\",\n '[class._vertical]': \"tabs.orientation() === 'vertical'\",\n },\n})\nexport class UiTab {\n /** Identifier of this tab (matched against the container `value`). */\n value = input.required<UiTabValue>();\n /** Disable the tab (not selectable, skipped by keyboard navigation). */\n disabled = input(false, { transform: booleanAttribute });\n /** Optional leading (or trailing) icon name. */\n icon = input<string>();\n /** Icon position relative to the label. */\n iconPos = input<UiTabIconPos>('left');\n /** Accessible name override (falls back to the projected label). */\n ariaLabel = input<string>();\n\n /** @ignore Parent container (owns the active state + group options). */\n protected readonly tabs = inject(UiTabs);\n\n /** @ignore The native tab button (for focus + indicator measurement). */\n readonly buttonEl = viewChild.required<ElementRef<HTMLButtonElement>>('tabBtn');\n\n /** @ignore Whether this tab is the active one. */\n readonly active = computed(() => this.tabs.isActive(this.value()));\n\n /** @ignore Roving tabindex: only the group's tab stop is reachable via Tab. */\n protected readonly tabindex = computed(() =>\n this.tabs.tabStopValue() === this.value() ? this.tabs.tabindex() : -1,\n );\n\n /** Move focus to this tab's button. */\n focus(options?: FocusOptions): void {\n this.buttonEl().nativeElement.focus(options);\n }\n\n /** @ignore */\n protected onClick(event: MouseEvent): void {\n if (this.disabled()) return;\n this.tabs.updateValue(this.value(), event);\n }\n\n /** @ignore Automatic activation on focus (when the group opts in). */\n protected onFocus(event: FocusEvent): void {\n if (this.tabs.selectOnFocus() && !this.disabled()) {\n this.tabs.updateValue(this.value(), event);\n }\n }\n}\n\n/**\n * ui-tab-panel , the content region tied to a {@link UiTab} by shared `value`.\n *\n * The panel stays in the DOM but is `hidden` (and skipped by AT) when inactive,\n * so its state is preserved. With `lazy` (per panel or group-wide) the content\n * is rendered only once the panel is first activated; wrap expensive content in\n * a `<ng-template #content>` so it initialises lazily.\n */\n@Component({\n selector: 'ui-tab-panel',\n imports: [NgTemplateOutlet],\n template: `\n <ng-template #defaultContent><ng-content /></ng-template>\n @if (shouldRender()) {\n <ng-container [ngTemplateOutlet]=\"content() ?? defaultContent\" />\n }\n `,\n styleUrl: './ui-tab-panel.scss',\n host: {\n class: 'ui-tab-panel',\n role: 'tabpanel',\n tabindex: '0',\n '[id]': 'tabs.panelId(value())',\n '[attr.aria-labelledby]': 'tabs.tabId(value())',\n '[hidden]': '!active()',\n '[class._active]': 'active()',\n '[class._no-motion]': '!tabs.motion()',\n },\n})\nexport class UiTabPanel {\n /** Identifier of this panel (matched against the container `value`). */\n value = input.required<UiTabValue>();\n /** Render this panel's content only once it is first activated (overrides the group default). */\n lazy = input<boolean, unknown>(undefined, { transform: (v) => (v == null ? undefined : booleanAttribute(v)) });\n\n /** Optional lazy content template (`<ng-template #content>`). */\n protected readonly content = contentChild<TemplateRef<unknown>>('content');\n\n /** @ignore Parent container (active state + group `lazy` default). */\n protected readonly tabs = inject(UiTabs);\n\n /** @ignore */\n protected readonly active = computed(() => this.tabs.isActive(this.value()));\n /** @ignore Panel-level `lazy` overrides the group default when explicitly set. */\n private readonly isLazy = computed(() => this.lazy() ?? this.tabs.lazy());\n /** @ignore Sticks once the panel has been activated at least once. */\n private readonly hasRendered = signal(false);\n\n constructor() {\n effect(() => {\n if (this.active()) this.hasRendered.set(true);\n });\n }\n\n /** @ignore Eager panels always render; lazy ones only after first activation. */\n protected readonly shouldRender = computed(\n () => !this.isLazy() || this.hasRendered() || this.active(),\n );\n}\n\n/**\n * ui-tab-list , the horizontal (or vertical) strip of {@link UiTab} buttons.\n *\n * Owns the WAI-ARIA `role=\"tablist\"`, the roving-focus keyboard navigation\n * (Arrow keys along the axis, Home/End), the sliding active indicator measured\n * from the active tab, and , when the container is `scrollable` , the prev/next\n * navigators that scroll the overflowing strip.\n */\n@Component({\n selector: 'ui-tab-list',\n imports: [UiIcon],\n templateUrl: './ui-tab-list.html',\n styleUrl: './ui-tab-list.scss',\n host: {\n class: 'ui-tab-list',\n '[class._vertical]': \"orientation() === 'vertical'\",\n '[class._scrollable]': 'scrollable()',\n '[class._no-motion]': '!tabs.motion()',\n '(keydown)': 'onKeydown($event)',\n },\n})\nexport class UiTabList {\n /** Accessible name for the tab list (recommended). */\n ariaLabel = input<string>();\n /** Accessible name of the \"previous\" scroll navigator. */\n prevAriaLabel = input<string>('Défiler vers les onglets précédents');\n /** Accessible name of the \"next\" scroll navigator. */\n nextAriaLabel = input<string>('Défiler vers les onglets suivants');\n\n /** @ignore Parent container (state + group options). */\n protected readonly tabs = inject(UiTabs);\n /** @ignore */\n private readonly destroyRef = inject(DestroyRef);\n\n /** @ignore Tabs projected into this list, in DOM order. */\n private readonly tabItems = contentChildren(UiTab);\n /** @ignore Scroll viewport around the tab strip. */\n private readonly scrollEl = viewChild.required<ElementRef<HTMLElement>>('scroll');\n /** @ignore The `role=\"tablist\"` inner element (indicator's offset parent). */\n private readonly innerEl = viewChild.required<ElementRef<HTMLElement>>('inner');\n\n /** @ignore Measured indicator geometry (null when there is no active tab). */\n protected readonly bar = signal<ActiveBarMetrics | null>(null);\n /** @ignore Bumped by the ResizeObserver / scroll to re-measure. */\n private readonly resizeTick = signal(0);\n /** @ignore Whether scrolling further back is possible. */\n protected readonly prevEnabled = signal(false);\n /** @ignore Whether scrolling further forward is possible. */\n protected readonly nextEnabled = signal(false);\n\n /** @ignore */\n protected readonly orientation = computed(() => this.tabs.orientation());\n /** @ignore */\n protected readonly scrollable = computed(() => this.tabs.scrollable());\n /** @ignore Navigators render only when scrollable AND explicitly enabled. */\n protected readonly showNavigators = computed(\n () => this.scrollable() && this.tabs.showNavigators(),\n );\n\n constructor() {\n // Re-measure the indicator and the navigator state on any geometry change.\n afterNextRender(() => {\n const ro = new ResizeObserver(() => {\n this.resizeTick.update((v) => v + 1);\n this.updateNavigators();\n });\n ro.observe(this.scrollEl().nativeElement);\n ro.observe(this.innerEl().nativeElement);\n this.updateNavigators();\n this.destroyRef.onDestroy(() => ro.disconnect());\n });\n\n // Track the active tab with the sliding indicator.\n afterRenderEffect(() => {\n const activeValue = this.tabs.value();\n this.orientation();\n this.resizeTick();\n const items = this.tabItems();\n\n const item = items.find((t) => t.value() === activeValue && !t.disabled());\n if (!item) {\n this.bar.set(null);\n return;\n }\n const btn = item.buttonEl().nativeElement;\n const horizontal = this.orientation() === 'horizontal';\n const next: ActiveBarMetrics = horizontal\n ? { offset: btn.offsetLeft, length: btn.offsetWidth }\n : { offset: btn.offsetTop, length: btn.offsetHeight };\n\n const cur = untracked(this.bar);\n if (!cur || cur.offset !== next.offset || cur.length !== next.length) {\n this.bar.set(next);\n }\n });\n\n afterRenderEffect(() => {\n const activeValue = this.tabs.value();\n if (!this.scrollable()) return;\n const item = this.tabItems().find((t) => t.value() === activeValue && !t.disabled());\n if (item) this.scrollIntoView(item.buttonEl().nativeElement);\n });\n }\n\n /** @ignore CSS transform positioning the indicator along the main axis. */\n protected readonly barTransform = computed(() => {\n const b = this.bar();\n if (!b) return null;\n return this.orientation() === 'horizontal'\n ? `translateX(${b.offset}px)`\n : `translateY(${b.offset}px)`;\n });\n\n /** @ignore Roving focus across enabled tabs (WAI-ARIA tabs pattern). */\n protected onKeydown(event: KeyboardEvent): void {\n const horizontal = this.orientation() === 'horizontal';\n const nextKey = horizontal ? 'ArrowRight' : 'ArrowDown';\n const prevKey = horizontal ? 'ArrowLeft' : 'ArrowUp';\n if (![nextKey, prevKey, 'Home', 'End'].includes(event.key)) return;\n\n const enabled = this.tabItems().filter((t) => !t.disabled());\n if (!enabled.length) return;\n\n const active = document.activeElement;\n let pos = enabled.findIndex((t) => t.buttonEl().nativeElement === active);\n if (pos === -1) return; // focus is not on a tab , let the event through.\n\n event.preventDefault();\n switch (event.key) {\n case nextKey: pos = (pos + 1) % enabled.length; break;\n case prevKey: pos = (pos - 1 + enabled.length) % enabled.length; break;\n case 'Home': pos = 0; break;\n case 'End': pos = enabled.length - 1; break;\n }\n const target = enabled[pos];\n target.focus();\n this.scrollIntoView(target.buttonEl().nativeElement);\n }\n\n /**\n * @ignore Bring the given tab fully inside the scroll viewport, scrolling by\n * the minimum needed along the active axis. Uses the viewport's own metrics\n * (never the page): a tab clipped at either edge slides back into view.\n */\n private scrollIntoView(el: HTMLElement): void {\n if (!this.scrollable()) return;\n const viewport = this.scrollEl().nativeElement;\n const horizontal = this.orientation() === 'horizontal';\n const start = horizontal ? el.offsetLeft : el.offsetTop;\n const size = horizontal ? el.offsetWidth : el.offsetHeight;\n const viewStart = horizontal ? viewport.scrollLeft : viewport.scrollTop;\n const viewSize = horizontal ? viewport.clientWidth : viewport.clientHeight;\n if (viewSize === 0) return; // not laid out yet , a later pass will re-run.\n\n let target: number;\n if (start < viewStart) {\n target = start; // clipped at the start edge , align to it.\n } else if (start + size > viewStart + viewSize) {\n target = start + size - viewSize; // clipped at the end edge , align flush.\n } else {\n return; // already fully visible.\n }\n // Plain scrollTo (no `behavior` option) , the animation comes from the\n // container's CSS `scroll-behavior`, which the motion system tunes and\n // reduced-motion disables.\n viewport.scrollTo(horizontal ? { left: target } : { top: target });\n }\n\n /** @ignore Refresh the prev/next enabled state from the scroll position. */\n private updateNavigators(): void {\n if (!this.scrollable()) return;\n const el = this.scrollEl().nativeElement;\n if (this.orientation() === 'horizontal') {\n const max = el.scrollWidth - el.clientWidth;\n this.prevEnabled.set(el.scrollLeft > 1);\n this.nextEnabled.set(el.scrollLeft < max - 1);\n } else {\n const max = el.scrollHeight - el.clientHeight;\n this.prevEnabled.set(el.scrollTop > 1);\n this.nextEnabled.set(el.scrollTop < max - 1);\n }\n }\n\n /** @ignore */\n protected onScroll(): void {\n this.updateNavigators();\n }\n\n /**\n * @ignore Scroll the strip by roughly one viewport in the given direction.\n * Smoothness comes from the container's CSS `scroll-behavior` (motion-aware),\n * not the JS `behavior` option.\n */\n protected scrollBy(direction: -1 | 1): void {\n const el = this.scrollEl().nativeElement;\n if (this.orientation() === 'horizontal') {\n el.scrollBy({ left: direction * el.clientWidth * 0.8 });\n } else {\n el.scrollBy({ top: direction * el.clientHeight * 0.8 });\n }\n }\n}\n\n/**\n * ui-tab-panels , thin wrapper grouping the {@link UiTabPanel}s. Fills the\n * remaining space beside/under the tab list.\n */\n@Component({\n selector: 'ui-tab-panels',\n template: '<ng-content />',\n styles: `\n :host {\n display: block;\n flex: 1 1 auto;\n min-width: 0;\n }\n `,\n host: { class: 'ui-tab-panels' },\n})\nexport class UiTabPanels {}\n\n/**\n * ui-tabs , headless container orchestrating a set of tabs and their panels.\n *\n * Composition API: a root `ui-tabs` owns the shared state (`value` two-way\n * model, `orientation`, `scrollable`, `lazy`, `selectOnFocus`, `motion`), a\n * `ui-tab-list` renders the strip of `ui-tab` buttons (plus the sliding active\n * indicator and, when scrollable, the prev/next navigators), and a\n * `ui-tab-panels` holds one `ui-tab-panel` per tab. Every colour/metric comes\n * from the `navigation.*` design tokens; the active indicator glides , and each\n * panel fades in , via the shared motion system (reduced-motion aware).\n *\n * @example\n * ```html\n * <ui-tabs [(value)]=\"active\">\n * <ui-tab-list ariaLabel=\"Sections\">\n * <ui-tab [value]=\"0\">Onglet 1</ui-tab>\n * <ui-tab [value]=\"1\">Onglet 2</ui-tab>\n * </ui-tab-list>\n * <ui-tab-panels>\n * <ui-tab-panel [value]=\"0\">Contenu 1…</ui-tab-panel>\n * <ui-tab-panel [value]=\"1\">Contenu 2…</ui-tab-panel>\n * </ui-tab-panels>\n * </ui-tabs>\n * ```\n */\n@Component({\n selector: 'ui-tabs',\n template: '<ng-content />',\n styles: `\n :host {\n display: flex;\n flex-direction: column;\n width: 100%;\n }\n :host(._vertical) {\n flex-direction: row;\n align-items: flex-start;\n }\n `,\n host: {\n class: 'ui-tabs',\n '[class._vertical]': \"orientation() === 'vertical'\",\n },\n})\nexport class UiTabs {\n /** Value of the active tab (two-way). `undefined` = no active tab. */\n value = model<UiTabValue | undefined>(undefined);\n /** Layout axis: `horizontal` (list on top) or `vertical` (list on the side). */\n orientation = input<UiTabsOrientation>('horizontal');\n /** Enable overflow scrolling of the tab list with prev/next navigators. */\n scrollable = input(false, { transform: booleanAttribute });\n /** Group default: render an inactive tab's panel only once it is first activated. */\n lazy = input(false, { transform: booleanAttribute });\n /** Activate a tab as soon as it receives keyboard focus (automatic activation). */\n selectOnFocus = input(false, { transform: booleanAttribute });\n /** Show the prev/next navigators when `scrollable` (they still gate on overflow). */\n showNavigators = input(true, { transform: booleanAttribute });\n /** Animate the active indicator and panel transitions (reduced-motion always wins). */\n motion = input(true, { transform: booleanAttribute });\n /** Tabindex applied to the active tab (the group's single tab stop). */\n tabindex = input(0, { transform: numberAttribute });\n\n /** Fired whenever the active tab changes (user click / keyboard / focus). */\n tabChange = output<UiTabsChangeEvent>();\n\n /** @ignore Unique id root for aria wiring between tabs and panels. */\n readonly id = `ui-tabs-${nextUid++}`;\n\n /** @ignore All tabs projected under this container (across the list boundary). */\n private readonly tabs = contentChildren(forwardRef(() => UiTab), { descendants: true });\n\n /** @ignore id of the tab button for a given value. */\n tabId(value: UiTabValue): string {\n return `${this.id}-tab-${value}`;\n }\n /** @ignore id of the panel for a given value. */\n panelId(value: UiTabValue): string {\n return `${this.id}-panel-${value}`;\n }\n\n /** @ignore Whether the given value is the active tab. */\n isActive(value: UiTabValue): boolean {\n return this.value() === value;\n }\n\n /**\n * @ignore Value that owns the group's single tab stop (roving tabindex):\n * the active tab, or the first enabled tab when none is active.\n */\n readonly tabStopValue = computed<UiTabValue | undefined>(() => {\n const enabled = this.tabs().filter((t) => !t.disabled());\n if (!enabled.length) return undefined;\n const active = enabled.find((t) => t.value() === this.value());\n return (active ?? enabled[0]).value();\n });\n\n /** @ignore Activate a tab (no-op if already active); emits `tabChange`. */\n updateValue(value: UiTabValue, event: Event): void {\n if (this.value() === value) return;\n this.value.set(value);\n this.tabChange.emit({ value, originalEvent: event });\n }\n}\n","@if (showNavigators()) {\n <button\n type=\"button\"\n class=\"ui-tab-list-nav _prev\"\n [attr.aria-label]=\"prevAriaLabel() || null\"\n tabindex=\"-1\"\n [disabled]=\"!prevEnabled()\"\n (click)=\"scrollBy(-1)\"\n >\n <ui-icon [name]=\"orientation() === 'vertical' ? 'chevron-up' : 'chevron-left'\" size=\"sm\" />\n </button>\n}\n\n<div #scroll class=\"ui-tab-list-scroll\" (scroll)=\"onScroll()\">\n <div\n #inner\n class=\"ui-tab-list-tabs\"\n role=\"tablist\"\n [attr.aria-label]=\"ariaLabel() || null\"\n [attr.aria-orientation]=\"orientation()\"\n >\n <ng-content />\n\n <span\n class=\"ui-tab-list-active-bar\"\n aria-hidden=\"true\"\n [class._hidden]=\"!bar()\"\n [style.transform]=\"barTransform()\"\n [style.width.px]=\"orientation() === 'horizontal' ? bar()?.length : null\"\n [style.height.px]=\"orientation() === 'vertical' ? bar()?.length : null\"\n ></span>\n </div>\n</div>\n\n@if (showNavigators()) {\n <button\n type=\"button\"\n class=\"ui-tab-list-nav _next\"\n [attr.aria-label]=\"nextAriaLabel() || null\"\n tabindex=\"-1\"\n [disabled]=\"!nextEnabled()\"\n (click)=\"scrollBy(1)\"\n >\n <ui-icon [name]=\"orientation() === 'vertical' ? 'chevron-down' : 'chevron-right'\" size=\"sm\" />\n </button>\n}\n","/*\n * Public API Surface of ui-kit/ui-tabs\n */\n\nexport * from './lib/ui-tabs';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAgDA;AACA,IAAI,OAAO,GAAG,CAAC;AAEf;;;;;;;;;;AAUG;MAkCU,KAAK,CAAA;AAjClB,IAAA,WAAA,GAAA;;QAmCE,IAAA,CAAA,KAAK,GAAG,KAAK,CAAC,QAAQ;kFAAc;;QAEpC,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,KAAK,gFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;;AAExD,QAAA,IAAA,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;ACFH;;AAEG;;;;"}
|
|
@@ -3,8 +3,8 @@ import { input, numberAttribute, model, booleanAttribute, output, contentChild,
|
|
|
3
3
|
import { NgTemplateOutlet } from '@angular/common';
|
|
4
4
|
import * as i1 from '@angular/forms';
|
|
5
5
|
import { FormsModule } from '@angular/forms';
|
|
6
|
-
import { UiIcon } from '@4sh/ui-kit/ui-icon';
|
|
7
|
-
import { UiSelect } from '@4sh/ui-kit/ui-select';
|
|
6
|
+
import { UiIcon } from '@4sh/ui-kit/base/ui-icon';
|
|
7
|
+
import { UiSelect } from '@4sh/ui-kit/forms/ui-select';
|
|
8
8
|
|
|
9
9
|
/** @ignore Sentinel used in the page-item list to mark an ellipsis gap. */
|
|
10
10
|
const ELLIPSIS = -1;
|
|
@@ -225,12 +225,12 @@ class UiPaginator {
|
|
|
225
225
|
pageCount: this.pageCount(),
|
|
226
226
|
});
|
|
227
227
|
}
|
|
228
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
229
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: UiPaginator, isStandalone: true, selector: "ui-paginator", inputs: { totalRecords: { classPropertyName: "totalRecords", publicName: "totalRecords", isSignal: true, isRequired: false, transformFunction: null }, rows: { classPropertyName: "rows", publicName: "rows", isSignal: true, isRequired: false, transformFunction: null }, first: { classPropertyName: "first", publicName: "first", isSignal: true, isRequired: false, transformFunction: null }, pageLinks: { classPropertyName: "pageLinks", publicName: "pageLinks", isSignal: true, isRequired: false, transformFunction: null }, ellipsis: { classPropertyName: "ellipsis", publicName: "ellipsis", isSignal: true, isRequired: false, transformFunction: null }, boundaryCount: { classPropertyName: "boundaryCount", publicName: "boundaryCount", isSignal: true, isRequired: false, transformFunction: null }, rowsPerPageOptions: { classPropertyName: "rowsPerPageOptions", publicName: "rowsPerPageOptions", isSignal: true, isRequired: false, transformFunction: null }, showFirstLastIcon: { classPropertyName: "showFirstLastIcon", publicName: "showFirstLastIcon", isSignal: true, isRequired: false, transformFunction: null }, showPageLinks: { classPropertyName: "showPageLinks", publicName: "showPageLinks", isSignal: true, isRequired: false, transformFunction: null }, showCurrentPageReport: { classPropertyName: "showCurrentPageReport", publicName: "showCurrentPageReport", isSignal: true, isRequired: false, transformFunction: null }, currentPageReportTemplate: { classPropertyName: "currentPageReportTemplate", publicName: "currentPageReportTemplate", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, pageAriaLabel: { classPropertyName: "pageAriaLabel", publicName: "pageAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, firstPageAriaLabel: { classPropertyName: "firstPageAriaLabel", publicName: "firstPageAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, prevPageAriaLabel: { classPropertyName: "prevPageAriaLabel", publicName: "prevPageAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, nextPageAriaLabel: { classPropertyName: "nextPageAriaLabel", publicName: "nextPageAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, lastPageAriaLabel: { classPropertyName: "lastPageAriaLabel", publicName: "lastPageAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, rowsPerPageAriaLabel: { classPropertyName: "rowsPerPageAriaLabel", publicName: "rowsPerPageAriaLabel", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { rows: "rowsChange", first: "firstChange", pageChange: "pageChange" }, queries: [{ propertyName: "firstIconTemplate", first: true, predicate: ["firsticon"], descendants: true, isSignal: true }, { propertyName: "prevIconTemplate", first: true, predicate: ["previcon"], descendants: true, isSignal: true }, { propertyName: "nextIconTemplate", first: true, predicate: ["nexticon"], descendants: true, isSignal: true }, { propertyName: "lastIconTemplate", first: true, predicate: ["lasticon"], descendants: true, isSignal: true }, { propertyName: "pageLinkTemplate", first: true, predicate: ["pagelink"], descendants: true, isSignal: true }, { propertyName: "startTemplate", first: true, predicate: ["start"], descendants: true, isSignal: true }, { propertyName: "endTemplate", first: true, predicate: ["end"], descendants: true, isSignal: true }, { propertyName: "reportTemplate", first: true, predicate: ["report"], descendants: true, isSignal: true }], ngImport: i0, template: "<nav class=\"ui-paginator\" [attr.aria-label]=\"ariaLabel()\">\n @if (startTemplate(); as tpl) {\n <div class=\"ui-paginator-start\">\n <ng-container [ngTemplateOutlet]=\"tpl\" [ngTemplateOutletContext]=\"stateContext()\" />\n </div>\n }\n\n <div class=\"ui-paginator-content\">\n @if (showCurrentPageReport()) {\n <span class=\"ui-paginator-report\">\n @if (reportTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" [ngTemplateOutletContext]=\"stateContext()\" />\n } @else {\n {{ reportText() }}\n }\n </span>\n }\n\n @if (showFirstLastIcon()) {\n <button\n type=\"button\"\n class=\"ui-paginator-control\"\n [disabled]=\"disabled() || isFirstPage()\"\n [attr.aria-label]=\"firstPageAriaLabel()\"\n (click)=\"goToPage(0)\"\n >\n @if (firstIconTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <ui-icon name=\"angles-left\" size=\"sm\" />\n }\n </button>\n }\n <button\n type=\"button\"\n class=\"ui-paginator-control\"\n [disabled]=\"disabled() || isFirstPage()\"\n [attr.aria-label]=\"prevPageAriaLabel()\"\n (click)=\"goToPage(currentPage() - 1)\"\n >\n @if (prevIconTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <ui-icon name=\"chevron-left\" size=\"sm\" />\n }\n </button>\n\n @if (showPageLinks()) {\n <div class=\"ui-paginator-pages\">\n @for (item of pageItems(); track $index) {\n @if (item === ELLIPSIS) {\n <span class=\"ui-paginator-ellipsis\" aria-hidden=\"true\">…</span>\n } @else {\n <button\n type=\"button\"\n class=\"ui-paginator-page\"\n [class._current]=\"item === currentPage()\"\n [disabled]=\"disabled()\"\n [attr.aria-label]=\"pageLabel(item)\"\n [attr.aria-current]=\"item === currentPage() ? 'page' : null\"\n (click)=\"goToPage(item)\"\n >\n @if (pageLinkTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" [ngTemplateOutletContext]=\"pageLinkContext(item)\" />\n } @else {\n {{ item + 1 }}\n }\n </button>\n }\n }\n </div>\n }\n\n <button\n type=\"button\"\n class=\"ui-paginator-control\"\n [disabled]=\"disabled() || isLastPage()\"\n [attr.aria-label]=\"nextPageAriaLabel()\"\n (click)=\"goToPage(currentPage() + 1)\"\n >\n @if (nextIconTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <ui-icon name=\"chevron-right\" size=\"sm\" />\n }\n </button>\n @if (showFirstLastIcon()) {\n <button\n type=\"button\"\n class=\"ui-paginator-control\"\n [disabled]=\"disabled() || isLastPage()\"\n [attr.aria-label]=\"lastPageAriaLabel()\"\n (click)=\"goToPage(pageCount() - 1)\"\n >\n @if (lastIconTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <ui-icon name=\"angles-right\" size=\"sm\" />\n }\n </button>\n }\n </div>\n\n @if (rowsPerPageOptions()?.length) {\n <div class=\"ui-paginator-rows\">\n <ui-select\n size=\"small\"\n [options]=\"rowsPerPageOptions()!\"\n [ngModel]=\"rowsState()\"\n [disabled]=\"disabled()\"\n [ariaLabel]=\"rowsPerPageAriaLabel()\"\n (valueChange)=\"onRowsPerPageChange($event)\"\n />\n </div>\n }\n\n @if (endTemplate(); as tpl) {\n <div class=\"ui-paginator-end\">\n <ng-container [ngTemplateOutlet]=\"tpl\" [ngTemplateOutletContext]=\"stateContext()\" />\n </div>\n }\n</nav>\n", styles: [".ui-paginator{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:var(--units-2xl);padding:var(--units-default)}.ui-paginator-content{display:flex;align-items:center;gap:var(--units-default)}.ui-paginator-control{display:inline-flex;align-items:center;justify-content:center;height:2rem;min-width:2rem;border:none;border-radius:var(--radius-default);background-color:var(--navigation-high-surface-default);color:var(--navigation-high-content-default);font-family:var(--fontfamily-base);font-size:var(--size-typography-text-md);font-weight:var(--weight-bold);line-height:1;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color var(--transition-default) var(--transition-easeinout),color var(--transition-default) var(--transition-easeinout),box-shadow var(--transition-default) var(--transition-easeinout)}.ui-paginator-control:hover:not(:disabled){background-color:var(--navigation-high-surface-hover);color:var(--navigation-high-content-hover)}.ui-paginator-control:focus-visible{outline:none;background-color:var(--navigation-high-surface-focused);color:var(--navigation-high-content-focused);box-shadow:0 0 0 var(--units-2xs) var(--navigation-high-stroke-focused)}.ui-paginator-control:active:not(:disabled){background-color:var(--navigation-high-surface-pressed);color:var(--navigation-high-content-pressed)}.ui-paginator-control:disabled{cursor:not-allowed}.ui-paginator-control{width:2rem;padding:0 var(--units-sm)}.ui-paginator-control:disabled{background-color:var(--navigation-high-surface-disabled);color:var(--navigation-high-content-disabled)}.ui-paginator-pages{display:flex;align-items:center;gap:var(--units-sm)}.ui-paginator-page{display:inline-flex;align-items:center;justify-content:center;height:2rem;min-width:2rem;border:none;border-radius:var(--radius-default);background-color:var(--navigation-high-surface-default);color:var(--navigation-high-content-default);font-family:var(--fontfamily-base);font-size:var(--size-typography-text-md);font-weight:var(--weight-bold);line-height:1;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color var(--transition-default) var(--transition-easeinout),color var(--transition-default) var(--transition-easeinout),box-shadow var(--transition-default) var(--transition-easeinout)}.ui-paginator-page:hover:not(:disabled){background-color:var(--navigation-high-surface-hover);color:var(--navigation-high-content-hover)}.ui-paginator-page:focus-visible{outline:none;background-color:var(--navigation-high-surface-focused);color:var(--navigation-high-content-focused);box-shadow:0 0 0 var(--units-2xs) var(--navigation-high-stroke-focused)}.ui-paginator-page:active:not(:disabled){background-color:var(--navigation-high-surface-pressed);color:var(--navigation-high-content-pressed)}.ui-paginator-page:disabled{cursor:not-allowed}.ui-paginator-page{padding:0 var(--units-md)}.ui-paginator-page:disabled{background-color:var(--actions-low-surface-disabled);color:var(--actions-low-content-disabled)}.ui-paginator-page._current,.ui-paginator-page._current:hover:not(:disabled),.ui-paginator-page._current:focus-visible,.ui-paginator-page._current:active:not(:disabled),.ui-paginator-page._current:disabled{background-color:var(--navigation-high-surface-active);color:var(--navigation-high-content-active)}.ui-paginator-report{display:inline-flex;align-items:center;color:var(--global-text-muted);font-size:var(--size-typography-text-md);white-space:nowrap}.ui-paginator-start,.ui-paginator-end{display:inline-flex;align-items:center;gap:var(--units-sm);color:var(--global-text-muted);font-size:var(--size-typography-text-md)}.ui-paginator-ellipsis{display:inline-flex;align-items:center;justify-content:center;height:2rem;min-width:2rem;color:var(--navigation-high-content-default);font-size:var(--size-typography-text-md);font-weight:var(--weight-bold);-webkit-user-select:none;user-select:none}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: UiIcon, selector: "ui-icon", inputs: ["name", "size", "type", "family", "decorative", "ariaLabel"] }, { kind: "component", type: UiSelect, selector: "ui-select", inputs: ["options", "optionLabel", "optionValue", "optionDisabled", "group", "optionGroupLabel", "optionGroupChildren", "dataKey", "multiple", "checkmark", "checkbox", "maxSelectedLabels", "overflowLabel", "placeholder", "showClear", "clearAriaLabel", "icon", "filter", "filterPlaceholder", "filterAriaLabel", "filterBy", "autofocusFilter", "resetFilterOnHide", "emptyMessage", "emptyFilterMessage", "editable", "loading", "autoOptionFocus", "selectOnFocus", "focusOnHover", "virtualScroll", "virtualScrollItemSize", "lazy", "scrollHeight", "autoFlip", "panelStyleClass", "panelWidth"], outputs: ["valueChange", "opened", "closed", "cleared", "filterChange", "lazyLoad", "inputFocus", "inputBlur"] }] }); }
|
|
228
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiPaginator, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
229
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.1", type: UiPaginator, isStandalone: true, selector: "ui-paginator", inputs: { totalRecords: { classPropertyName: "totalRecords", publicName: "totalRecords", isSignal: true, isRequired: false, transformFunction: null }, rows: { classPropertyName: "rows", publicName: "rows", isSignal: true, isRequired: false, transformFunction: null }, first: { classPropertyName: "first", publicName: "first", isSignal: true, isRequired: false, transformFunction: null }, pageLinks: { classPropertyName: "pageLinks", publicName: "pageLinks", isSignal: true, isRequired: false, transformFunction: null }, ellipsis: { classPropertyName: "ellipsis", publicName: "ellipsis", isSignal: true, isRequired: false, transformFunction: null }, boundaryCount: { classPropertyName: "boundaryCount", publicName: "boundaryCount", isSignal: true, isRequired: false, transformFunction: null }, rowsPerPageOptions: { classPropertyName: "rowsPerPageOptions", publicName: "rowsPerPageOptions", isSignal: true, isRequired: false, transformFunction: null }, showFirstLastIcon: { classPropertyName: "showFirstLastIcon", publicName: "showFirstLastIcon", isSignal: true, isRequired: false, transformFunction: null }, showPageLinks: { classPropertyName: "showPageLinks", publicName: "showPageLinks", isSignal: true, isRequired: false, transformFunction: null }, showCurrentPageReport: { classPropertyName: "showCurrentPageReport", publicName: "showCurrentPageReport", isSignal: true, isRequired: false, transformFunction: null }, currentPageReportTemplate: { classPropertyName: "currentPageReportTemplate", publicName: "currentPageReportTemplate", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, pageAriaLabel: { classPropertyName: "pageAriaLabel", publicName: "pageAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, firstPageAriaLabel: { classPropertyName: "firstPageAriaLabel", publicName: "firstPageAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, prevPageAriaLabel: { classPropertyName: "prevPageAriaLabel", publicName: "prevPageAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, nextPageAriaLabel: { classPropertyName: "nextPageAriaLabel", publicName: "nextPageAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, lastPageAriaLabel: { classPropertyName: "lastPageAriaLabel", publicName: "lastPageAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, rowsPerPageAriaLabel: { classPropertyName: "rowsPerPageAriaLabel", publicName: "rowsPerPageAriaLabel", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { rows: "rowsChange", first: "firstChange", pageChange: "pageChange" }, queries: [{ propertyName: "firstIconTemplate", first: true, predicate: ["firsticon"], descendants: true, isSignal: true }, { propertyName: "prevIconTemplate", first: true, predicate: ["previcon"], descendants: true, isSignal: true }, { propertyName: "nextIconTemplate", first: true, predicate: ["nexticon"], descendants: true, isSignal: true }, { propertyName: "lastIconTemplate", first: true, predicate: ["lasticon"], descendants: true, isSignal: true }, { propertyName: "pageLinkTemplate", first: true, predicate: ["pagelink"], descendants: true, isSignal: true }, { propertyName: "startTemplate", first: true, predicate: ["start"], descendants: true, isSignal: true }, { propertyName: "endTemplate", first: true, predicate: ["end"], descendants: true, isSignal: true }, { propertyName: "reportTemplate", first: true, predicate: ["report"], descendants: true, isSignal: true }], ngImport: i0, template: "<nav class=\"ui-paginator\" [attr.aria-label]=\"ariaLabel()\">\n @if (startTemplate(); as tpl) {\n <div class=\"ui-paginator-start\">\n <ng-container [ngTemplateOutlet]=\"tpl\" [ngTemplateOutletContext]=\"stateContext()\" />\n </div>\n }\n\n <div class=\"ui-paginator-content\">\n @if (showCurrentPageReport()) {\n <span class=\"ui-paginator-report\">\n @if (reportTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" [ngTemplateOutletContext]=\"stateContext()\" />\n } @else {\n {{ reportText() }}\n }\n </span>\n }\n\n @if (showFirstLastIcon()) {\n <button\n type=\"button\"\n class=\"ui-paginator-control\"\n [disabled]=\"disabled() || isFirstPage()\"\n [attr.aria-label]=\"firstPageAriaLabel()\"\n (click)=\"goToPage(0)\"\n >\n @if (firstIconTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <ui-icon name=\"angles-left\" size=\"sm\" />\n }\n </button>\n }\n <button\n type=\"button\"\n class=\"ui-paginator-control\"\n [disabled]=\"disabled() || isFirstPage()\"\n [attr.aria-label]=\"prevPageAriaLabel()\"\n (click)=\"goToPage(currentPage() - 1)\"\n >\n @if (prevIconTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <ui-icon name=\"chevron-left\" size=\"sm\" />\n }\n </button>\n\n @if (showPageLinks()) {\n <div class=\"ui-paginator-pages\">\n @for (item of pageItems(); track $index) {\n @if (item === ELLIPSIS) {\n <span class=\"ui-paginator-ellipsis\" aria-hidden=\"true\">…</span>\n } @else {\n <button\n type=\"button\"\n class=\"ui-paginator-page\"\n [class._current]=\"item === currentPage()\"\n [disabled]=\"disabled()\"\n [attr.aria-label]=\"pageLabel(item)\"\n [attr.aria-current]=\"item === currentPage() ? 'page' : null\"\n (click)=\"goToPage(item)\"\n >\n @if (pageLinkTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" [ngTemplateOutletContext]=\"pageLinkContext(item)\" />\n } @else {\n {{ item + 1 }}\n }\n </button>\n }\n }\n </div>\n }\n\n <button\n type=\"button\"\n class=\"ui-paginator-control\"\n [disabled]=\"disabled() || isLastPage()\"\n [attr.aria-label]=\"nextPageAriaLabel()\"\n (click)=\"goToPage(currentPage() + 1)\"\n >\n @if (nextIconTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <ui-icon name=\"chevron-right\" size=\"sm\" />\n }\n </button>\n @if (showFirstLastIcon()) {\n <button\n type=\"button\"\n class=\"ui-paginator-control\"\n [disabled]=\"disabled() || isLastPage()\"\n [attr.aria-label]=\"lastPageAriaLabel()\"\n (click)=\"goToPage(pageCount() - 1)\"\n >\n @if (lastIconTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <ui-icon name=\"angles-right\" size=\"sm\" />\n }\n </button>\n }\n </div>\n\n @if (rowsPerPageOptions()?.length) {\n <div class=\"ui-paginator-rows\">\n <ui-select\n size=\"small\"\n [options]=\"rowsPerPageOptions()!\"\n [ngModel]=\"rowsState()\"\n [disabled]=\"disabled()\"\n [ariaLabel]=\"rowsPerPageAriaLabel()\"\n (valueChange)=\"onRowsPerPageChange($event)\"\n />\n </div>\n }\n\n @if (endTemplate(); as tpl) {\n <div class=\"ui-paginator-end\">\n <ng-container [ngTemplateOutlet]=\"tpl\" [ngTemplateOutletContext]=\"stateContext()\" />\n </div>\n }\n</nav>\n", styles: [".ui-paginator{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:var(--ui-paginator-bar-gap, var(--units-2xl));padding:var(--units-default)}.ui-paginator-content{display:flex;align-items:center;gap:var(--ui-paginator-blocks-gap, var(--units-default))}.ui-paginator-control{display:inline-flex;align-items:center;justify-content:center;height:var(--ui-paginator-button-size, 2rem);min-width:var(--ui-paginator-button-size, 2rem);border:none;border-radius:var(--ui-paginator-button-radius, var(--radius-default));background-color:var(--navigation-high-surface-default);color:var(--navigation-high-content-default);font-family:var(--fontfamily-base);font-size:var(--size-typography-text-md);font-weight:var(--weight-bold);line-height:1;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),box-shadow var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-paginator-control:hover:not(:disabled){background-color:var(--navigation-high-surface-hover);color:var(--navigation-high-content-hover)}.ui-paginator-control:focus-visible{outline:none;background-color:var(--navigation-high-surface-focused);color:var(--navigation-high-content-focused);box-shadow:0 0 0 var(--ui-paginator-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) var(--navigation-high-stroke-focused)}.ui-paginator-control:active:not(:disabled){background-color:var(--navigation-high-surface-pressed);color:var(--navigation-high-content-pressed)}.ui-paginator-control:disabled{cursor:not-allowed}.ui-paginator-control{width:var(--ui-paginator-button-size, 2rem);padding:0 var(--units-sm)}.ui-paginator-control:disabled{background-color:var(--navigation-high-surface-disabled);color:var(--navigation-high-content-disabled)}.ui-paginator-pages{display:flex;align-items:center;gap:var(--ui-paginator-numbers-gap, var(--units-sm))}.ui-paginator-page{display:inline-flex;align-items:center;justify-content:center;height:var(--ui-paginator-button-size, 2rem);min-width:var(--ui-paginator-button-size, 2rem);border:none;border-radius:var(--ui-paginator-button-radius, var(--radius-default));background-color:var(--navigation-high-surface-default);color:var(--navigation-high-content-default);font-family:var(--fontfamily-base);font-size:var(--size-typography-text-md);font-weight:var(--weight-bold);line-height:1;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),box-shadow var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-paginator-page:hover:not(:disabled){background-color:var(--navigation-high-surface-hover);color:var(--navigation-high-content-hover)}.ui-paginator-page:focus-visible{outline:none;background-color:var(--navigation-high-surface-focused);color:var(--navigation-high-content-focused);box-shadow:0 0 0 var(--ui-paginator-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) var(--navigation-high-stroke-focused)}.ui-paginator-page:active:not(:disabled){background-color:var(--navigation-high-surface-pressed);color:var(--navigation-high-content-pressed)}.ui-paginator-page:disabled{cursor:not-allowed}.ui-paginator-page{padding:0 var(--units-md)}.ui-paginator-page:disabled{background-color:var(--actions-low-surface-disabled);color:var(--actions-low-content-disabled)}.ui-paginator-page._current,.ui-paginator-page._current:hover:not(:disabled),.ui-paginator-page._current:focus-visible,.ui-paginator-page._current:active:not(:disabled),.ui-paginator-page._current:disabled{background-color:var(--navigation-high-surface-active);color:var(--navigation-high-content-active)}.ui-paginator-report{display:inline-flex;align-items:center;color:var(--global-text-muted);font-size:var(--size-typography-text-md);white-space:nowrap}.ui-paginator-start,.ui-paginator-end{display:inline-flex;align-items:center;gap:var(--units-sm);color:var(--global-text-muted);font-size:var(--size-typography-text-md)}.ui-paginator-ellipsis{display:inline-flex;align-items:center;justify-content:center;height:var(--ui-paginator-button-size, 2rem);min-width:var(--ui-paginator-button-size, 2rem);color:var(--navigation-high-content-default);font-size:var(--size-typography-text-md);font-weight:var(--weight-bold);-webkit-user-select:none;user-select:none}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: UiIcon, selector: "ui-icon", inputs: ["name", "size", "type", "family", "decorative", "ariaLabel"] }, { kind: "component", type: UiSelect, selector: "ui-select", inputs: ["options", "optionLabel", "optionValue", "optionDisabled", "group", "optionGroupLabel", "optionGroupChildren", "dataKey", "multiple", "checkmark", "checkbox", "maxSelectedLabels", "overflowLabel", "placeholder", "showClear", "clearAriaLabel", "icon", "filter", "filterPlaceholder", "filterAriaLabel", "filterBy", "autofocusFilter", "resetFilterOnHide", "emptyMessage", "emptyFilterMessage", "editable", "loading", "autoOptionFocus", "selectOnFocus", "focusOnHover", "virtualScroll", "virtualScrollItemSize", "lazy", "scrollHeight", "autoFlip", "panelStyleClass", "panelWidth"], outputs: ["valueChange", "opened", "closed", "cleared", "filterChange", "lazyLoad", "inputFocus", "inputBlur"] }] }); }
|
|
230
230
|
}
|
|
231
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
231
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiPaginator, decorators: [{
|
|
232
232
|
type: Component,
|
|
233
|
-
args: [{ selector: 'ui-paginator', imports: [NgTemplateOutlet, FormsModule, UiIcon, UiSelect], template: "<nav class=\"ui-paginator\" [attr.aria-label]=\"ariaLabel()\">\n @if (startTemplate(); as tpl) {\n <div class=\"ui-paginator-start\">\n <ng-container [ngTemplateOutlet]=\"tpl\" [ngTemplateOutletContext]=\"stateContext()\" />\n </div>\n }\n\n <div class=\"ui-paginator-content\">\n @if (showCurrentPageReport()) {\n <span class=\"ui-paginator-report\">\n @if (reportTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" [ngTemplateOutletContext]=\"stateContext()\" />\n } @else {\n {{ reportText() }}\n }\n </span>\n }\n\n @if (showFirstLastIcon()) {\n <button\n type=\"button\"\n class=\"ui-paginator-control\"\n [disabled]=\"disabled() || isFirstPage()\"\n [attr.aria-label]=\"firstPageAriaLabel()\"\n (click)=\"goToPage(0)\"\n >\n @if (firstIconTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <ui-icon name=\"angles-left\" size=\"sm\" />\n }\n </button>\n }\n <button\n type=\"button\"\n class=\"ui-paginator-control\"\n [disabled]=\"disabled() || isFirstPage()\"\n [attr.aria-label]=\"prevPageAriaLabel()\"\n (click)=\"goToPage(currentPage() - 1)\"\n >\n @if (prevIconTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <ui-icon name=\"chevron-left\" size=\"sm\" />\n }\n </button>\n\n @if (showPageLinks()) {\n <div class=\"ui-paginator-pages\">\n @for (item of pageItems(); track $index) {\n @if (item === ELLIPSIS) {\n <span class=\"ui-paginator-ellipsis\" aria-hidden=\"true\">…</span>\n } @else {\n <button\n type=\"button\"\n class=\"ui-paginator-page\"\n [class._current]=\"item === currentPage()\"\n [disabled]=\"disabled()\"\n [attr.aria-label]=\"pageLabel(item)\"\n [attr.aria-current]=\"item === currentPage() ? 'page' : null\"\n (click)=\"goToPage(item)\"\n >\n @if (pageLinkTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" [ngTemplateOutletContext]=\"pageLinkContext(item)\" />\n } @else {\n {{ item + 1 }}\n }\n </button>\n }\n }\n </div>\n }\n\n <button\n type=\"button\"\n class=\"ui-paginator-control\"\n [disabled]=\"disabled() || isLastPage()\"\n [attr.aria-label]=\"nextPageAriaLabel()\"\n (click)=\"goToPage(currentPage() + 1)\"\n >\n @if (nextIconTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <ui-icon name=\"chevron-right\" size=\"sm\" />\n }\n </button>\n @if (showFirstLastIcon()) {\n <button\n type=\"button\"\n class=\"ui-paginator-control\"\n [disabled]=\"disabled() || isLastPage()\"\n [attr.aria-label]=\"lastPageAriaLabel()\"\n (click)=\"goToPage(pageCount() - 1)\"\n >\n @if (lastIconTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <ui-icon name=\"angles-right\" size=\"sm\" />\n }\n </button>\n }\n </div>\n\n @if (rowsPerPageOptions()?.length) {\n <div class=\"ui-paginator-rows\">\n <ui-select\n size=\"small\"\n [options]=\"rowsPerPageOptions()!\"\n [ngModel]=\"rowsState()\"\n [disabled]=\"disabled()\"\n [ariaLabel]=\"rowsPerPageAriaLabel()\"\n (valueChange)=\"onRowsPerPageChange($event)\"\n />\n </div>\n }\n\n @if (endTemplate(); as tpl) {\n <div class=\"ui-paginator-end\">\n <ng-container [ngTemplateOutlet]=\"tpl\" [ngTemplateOutletContext]=\"stateContext()\" />\n </div>\n }\n</nav>\n", styles: [".ui-paginator{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:var(--units-2xl);padding:var(--units-default)}.ui-paginator-content{display:flex;align-items:center;gap:var(--units-default)}.ui-paginator-control{display:inline-flex;align-items:center;justify-content:center;height:2rem;min-width:2rem;border:none;border-radius:var(--radius-default);background-color:var(--navigation-high-surface-default);color:var(--navigation-high-content-default);font-family:var(--fontfamily-base);font-size:var(--size-typography-text-md);font-weight:var(--weight-bold);line-height:1;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color var(--transition-default) var(--transition-easeinout),color var(--transition-default) var(--transition-easeinout),box-shadow var(--transition-default) var(--transition-easeinout)}.ui-paginator-control:hover:not(:disabled){background-color:var(--navigation-high-surface-hover);color:var(--navigation-high-content-hover)}.ui-paginator-control:focus-visible{outline:none;background-color:var(--navigation-high-surface-focused);color:var(--navigation-high-content-focused);box-shadow:0 0 0 var(--units-2xs) var(--navigation-high-stroke-focused)}.ui-paginator-control:active:not(:disabled){background-color:var(--navigation-high-surface-pressed);color:var(--navigation-high-content-pressed)}.ui-paginator-control:disabled{cursor:not-allowed}.ui-paginator-control{width:2rem;padding:0 var(--units-sm)}.ui-paginator-control:disabled{background-color:var(--navigation-high-surface-disabled);color:var(--navigation-high-content-disabled)}.ui-paginator-pages{display:flex;align-items:center;gap:var(--units-sm)}.ui-paginator-page{display:inline-flex;align-items:center;justify-content:center;height:2rem;min-width:2rem;border:none;border-radius:var(--radius-default);background-color:var(--navigation-high-surface-default);color:var(--navigation-high-content-default);font-family:var(--fontfamily-base);font-size:var(--size-typography-text-md);font-weight:var(--weight-bold);line-height:1;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color var(--transition-default) var(--transition-easeinout),color var(--transition-default) var(--transition-easeinout),box-shadow var(--transition-default) var(--transition-easeinout)}.ui-paginator-page:hover:not(:disabled){background-color:var(--navigation-high-surface-hover);color:var(--navigation-high-content-hover)}.ui-paginator-page:focus-visible{outline:none;background-color:var(--navigation-high-surface-focused);color:var(--navigation-high-content-focused);box-shadow:0 0 0 var(--units-2xs) var(--navigation-high-stroke-focused)}.ui-paginator-page:active:not(:disabled){background-color:var(--navigation-high-surface-pressed);color:var(--navigation-high-content-pressed)}.ui-paginator-page:disabled{cursor:not-allowed}.ui-paginator-page{padding:0 var(--units-md)}.ui-paginator-page:disabled{background-color:var(--actions-low-surface-disabled);color:var(--actions-low-content-disabled)}.ui-paginator-page._current,.ui-paginator-page._current:hover:not(:disabled),.ui-paginator-page._current:focus-visible,.ui-paginator-page._current:active:not(:disabled),.ui-paginator-page._current:disabled{background-color:var(--navigation-high-surface-active);color:var(--navigation-high-content-active)}.ui-paginator-report{display:inline-flex;align-items:center;color:var(--global-text-muted);font-size:var(--size-typography-text-md);white-space:nowrap}.ui-paginator-start,.ui-paginator-end{display:inline-flex;align-items:center;gap:var(--units-sm);color:var(--global-text-muted);font-size:var(--size-typography-text-md)}.ui-paginator-ellipsis{display:inline-flex;align-items:center;justify-content:center;height:2rem;min-width:2rem;color:var(--navigation-high-content-default);font-size:var(--size-typography-text-md);font-weight:var(--weight-bold);-webkit-user-select:none;user-select:none}\n"] }]
|
|
233
|
+
args: [{ selector: 'ui-paginator', imports: [NgTemplateOutlet, FormsModule, UiIcon, UiSelect], template: "<nav class=\"ui-paginator\" [attr.aria-label]=\"ariaLabel()\">\n @if (startTemplate(); as tpl) {\n <div class=\"ui-paginator-start\">\n <ng-container [ngTemplateOutlet]=\"tpl\" [ngTemplateOutletContext]=\"stateContext()\" />\n </div>\n }\n\n <div class=\"ui-paginator-content\">\n @if (showCurrentPageReport()) {\n <span class=\"ui-paginator-report\">\n @if (reportTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" [ngTemplateOutletContext]=\"stateContext()\" />\n } @else {\n {{ reportText() }}\n }\n </span>\n }\n\n @if (showFirstLastIcon()) {\n <button\n type=\"button\"\n class=\"ui-paginator-control\"\n [disabled]=\"disabled() || isFirstPage()\"\n [attr.aria-label]=\"firstPageAriaLabel()\"\n (click)=\"goToPage(0)\"\n >\n @if (firstIconTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <ui-icon name=\"angles-left\" size=\"sm\" />\n }\n </button>\n }\n <button\n type=\"button\"\n class=\"ui-paginator-control\"\n [disabled]=\"disabled() || isFirstPage()\"\n [attr.aria-label]=\"prevPageAriaLabel()\"\n (click)=\"goToPage(currentPage() - 1)\"\n >\n @if (prevIconTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <ui-icon name=\"chevron-left\" size=\"sm\" />\n }\n </button>\n\n @if (showPageLinks()) {\n <div class=\"ui-paginator-pages\">\n @for (item of pageItems(); track $index) {\n @if (item === ELLIPSIS) {\n <span class=\"ui-paginator-ellipsis\" aria-hidden=\"true\">…</span>\n } @else {\n <button\n type=\"button\"\n class=\"ui-paginator-page\"\n [class._current]=\"item === currentPage()\"\n [disabled]=\"disabled()\"\n [attr.aria-label]=\"pageLabel(item)\"\n [attr.aria-current]=\"item === currentPage() ? 'page' : null\"\n (click)=\"goToPage(item)\"\n >\n @if (pageLinkTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" [ngTemplateOutletContext]=\"pageLinkContext(item)\" />\n } @else {\n {{ item + 1 }}\n }\n </button>\n }\n }\n </div>\n }\n\n <button\n type=\"button\"\n class=\"ui-paginator-control\"\n [disabled]=\"disabled() || isLastPage()\"\n [attr.aria-label]=\"nextPageAriaLabel()\"\n (click)=\"goToPage(currentPage() + 1)\"\n >\n @if (nextIconTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <ui-icon name=\"chevron-right\" size=\"sm\" />\n }\n </button>\n @if (showFirstLastIcon()) {\n <button\n type=\"button\"\n class=\"ui-paginator-control\"\n [disabled]=\"disabled() || isLastPage()\"\n [attr.aria-label]=\"lastPageAriaLabel()\"\n (click)=\"goToPage(pageCount() - 1)\"\n >\n @if (lastIconTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <ui-icon name=\"angles-right\" size=\"sm\" />\n }\n </button>\n }\n </div>\n\n @if (rowsPerPageOptions()?.length) {\n <div class=\"ui-paginator-rows\">\n <ui-select\n size=\"small\"\n [options]=\"rowsPerPageOptions()!\"\n [ngModel]=\"rowsState()\"\n [disabled]=\"disabled()\"\n [ariaLabel]=\"rowsPerPageAriaLabel()\"\n (valueChange)=\"onRowsPerPageChange($event)\"\n />\n </div>\n }\n\n @if (endTemplate(); as tpl) {\n <div class=\"ui-paginator-end\">\n <ng-container [ngTemplateOutlet]=\"tpl\" [ngTemplateOutletContext]=\"stateContext()\" />\n </div>\n }\n</nav>\n", styles: [".ui-paginator{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:var(--ui-paginator-bar-gap, var(--units-2xl));padding:var(--units-default)}.ui-paginator-content{display:flex;align-items:center;gap:var(--ui-paginator-blocks-gap, var(--units-default))}.ui-paginator-control{display:inline-flex;align-items:center;justify-content:center;height:var(--ui-paginator-button-size, 2rem);min-width:var(--ui-paginator-button-size, 2rem);border:none;border-radius:var(--ui-paginator-button-radius, var(--radius-default));background-color:var(--navigation-high-surface-default);color:var(--navigation-high-content-default);font-family:var(--fontfamily-base);font-size:var(--size-typography-text-md);font-weight:var(--weight-bold);line-height:1;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),box-shadow var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-paginator-control:hover:not(:disabled){background-color:var(--navigation-high-surface-hover);color:var(--navigation-high-content-hover)}.ui-paginator-control:focus-visible{outline:none;background-color:var(--navigation-high-surface-focused);color:var(--navigation-high-content-focused);box-shadow:0 0 0 var(--ui-paginator-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) var(--navigation-high-stroke-focused)}.ui-paginator-control:active:not(:disabled){background-color:var(--navigation-high-surface-pressed);color:var(--navigation-high-content-pressed)}.ui-paginator-control:disabled{cursor:not-allowed}.ui-paginator-control{width:var(--ui-paginator-button-size, 2rem);padding:0 var(--units-sm)}.ui-paginator-control:disabled{background-color:var(--navigation-high-surface-disabled);color:var(--navigation-high-content-disabled)}.ui-paginator-pages{display:flex;align-items:center;gap:var(--ui-paginator-numbers-gap, var(--units-sm))}.ui-paginator-page{display:inline-flex;align-items:center;justify-content:center;height:var(--ui-paginator-button-size, 2rem);min-width:var(--ui-paginator-button-size, 2rem);border:none;border-radius:var(--ui-paginator-button-radius, var(--radius-default));background-color:var(--navigation-high-surface-default);color:var(--navigation-high-content-default);font-family:var(--fontfamily-base);font-size:var(--size-typography-text-md);font-weight:var(--weight-bold);line-height:1;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),box-shadow var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-paginator-page:hover:not(:disabled){background-color:var(--navigation-high-surface-hover);color:var(--navigation-high-content-hover)}.ui-paginator-page:focus-visible{outline:none;background-color:var(--navigation-high-surface-focused);color:var(--navigation-high-content-focused);box-shadow:0 0 0 var(--ui-paginator-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) var(--navigation-high-stroke-focused)}.ui-paginator-page:active:not(:disabled){background-color:var(--navigation-high-surface-pressed);color:var(--navigation-high-content-pressed)}.ui-paginator-page:disabled{cursor:not-allowed}.ui-paginator-page{padding:0 var(--units-md)}.ui-paginator-page:disabled{background-color:var(--actions-low-surface-disabled);color:var(--actions-low-content-disabled)}.ui-paginator-page._current,.ui-paginator-page._current:hover:not(:disabled),.ui-paginator-page._current:focus-visible,.ui-paginator-page._current:active:not(:disabled),.ui-paginator-page._current:disabled{background-color:var(--navigation-high-surface-active);color:var(--navigation-high-content-active)}.ui-paginator-report{display:inline-flex;align-items:center;color:var(--global-text-muted);font-size:var(--size-typography-text-md);white-space:nowrap}.ui-paginator-start,.ui-paginator-end{display:inline-flex;align-items:center;gap:var(--units-sm);color:var(--global-text-muted);font-size:var(--size-typography-text-md)}.ui-paginator-ellipsis{display:inline-flex;align-items:center;justify-content:center;height:var(--ui-paginator-button-size, 2rem);min-width:var(--ui-paginator-button-size, 2rem);color:var(--navigation-high-content-default);font-size:var(--size-typography-text-md);font-weight:var(--weight-bold);-webkit-user-select:none;user-select:none}\n"] }]
|
|
234
234
|
}], propDecorators: { totalRecords: [{ type: i0.Input, args: [{ isSignal: true, alias: "totalRecords", required: false }] }], rows: [{ type: i0.Input, args: [{ isSignal: true, alias: "rows", required: false }] }, { type: i0.Output, args: ["rowsChange"] }], first: [{ type: i0.Input, args: [{ isSignal: true, alias: "first", required: false }] }, { type: i0.Output, args: ["firstChange"] }], pageLinks: [{ type: i0.Input, args: [{ isSignal: true, alias: "pageLinks", required: false }] }], ellipsis: [{ type: i0.Input, args: [{ isSignal: true, alias: "ellipsis", required: false }] }], boundaryCount: [{ type: i0.Input, args: [{ isSignal: true, alias: "boundaryCount", required: false }] }], rowsPerPageOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "rowsPerPageOptions", required: false }] }], showFirstLastIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "showFirstLastIcon", required: false }] }], showPageLinks: [{ type: i0.Input, args: [{ isSignal: true, alias: "showPageLinks", required: false }] }], showCurrentPageReport: [{ type: i0.Input, args: [{ isSignal: true, alias: "showCurrentPageReport", required: false }] }], currentPageReportTemplate: [{ type: i0.Input, args: [{ isSignal: true, alias: "currentPageReportTemplate", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], pageAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "pageAriaLabel", required: false }] }], firstPageAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "firstPageAriaLabel", required: false }] }], prevPageAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "prevPageAriaLabel", required: false }] }], nextPageAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "nextPageAriaLabel", required: false }] }], lastPageAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "lastPageAriaLabel", required: false }] }], rowsPerPageAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "rowsPerPageAriaLabel", required: false }] }], pageChange: [{ type: i0.Output, args: ["pageChange"] }], firstIconTemplate: [{ type: i0.ContentChild, args: ['firsticon', { isSignal: true }] }], prevIconTemplate: [{ type: i0.ContentChild, args: ['previcon', { isSignal: true }] }], nextIconTemplate: [{ type: i0.ContentChild, args: ['nexticon', { isSignal: true }] }], lastIconTemplate: [{ type: i0.ContentChild, args: ['lasticon', { isSignal: true }] }], pageLinkTemplate: [{ type: i0.ContentChild, args: ['pagelink', { isSignal: true }] }], startTemplate: [{ type: i0.ContentChild, args: ['start', { isSignal: true }] }], endTemplate: [{ type: i0.ContentChild, args: ['end', { isSignal: true }] }], reportTemplate: [{ type: i0.ContentChild, args: ['report', { isSignal: true }] }] } });
|
|
235
235
|
|
|
236
236
|
/*
|
|
@@ -242,4 +242,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
242
242
|
*/
|
|
243
243
|
|
|
244
244
|
export { UiPaginator };
|
|
245
|
-
//# sourceMappingURL=4sh-ui-kit-ui-paginator.mjs.map
|
|
245
|
+
//# sourceMappingURL=4sh-ui-kit-table-ui-paginator.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"4sh-ui-kit-table-ui-paginator.mjs","sources":["../../../projects/ui-kit/table/ui-paginator/src/lib/ui-paginator.ts","../../../projects/ui-kit/table/ui-paginator/src/lib/ui-paginator.html","../../../projects/ui-kit/table/ui-paginator/src/public-api.ts","../../../projects/ui-kit/table/ui-paginator/src/4sh-ui-kit-table-ui-paginator.ts"],"sourcesContent":["import {\n booleanAttribute,\n Component,\n computed,\n contentChild,\n input,\n linkedSignal,\n model,\n numberAttribute,\n output,\n TemplateRef,\n} from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\nimport { UiIcon } from '@4sh/ui-kit/base/ui-icon';\nimport { UiSelect } from '@4sh/ui-kit/forms/ui-select';\n\n/** Payload of `pageChange`. */\nexport interface UiPaginatorPageEvent {\n /** Index of the first row of the page. */\n first: number;\n /** Rows per page. */\n rows: number;\n /** Zero-based page index. */\n page: number;\n pageCount: number;\n}\n\n/** Context handed to the `#pagelink` template. */\nexport interface UiPaginatorPageLinkContext {\n /** One-based page number (display value). */\n $implicit: number;\n /** Zero-based page index. */\n page: number;\n /** True for the current page. */\n active: boolean;\n}\n\n/** Pagination snapshot handed to the `#start` / `#end` / `#report` templates. */\nexport interface UiPaginatorState {\n /** One-based index of the first displayed row (0 when empty). */\n first: number;\n /** One-based index of the last displayed row. */\n last: number;\n rows: number;\n /** Zero-based current page. */\n page: number;\n pageCount: number;\n totalRecords: number;\n}\n\n/** @ignore Sentinel used in the page-item list to mark an ellipsis gap. */\nconst ELLIPSIS = -1;\n\n/**\n * ui-paginator — standalone pagination bar.\n *\n * Faithful to the Figma `ui-paginator` component: native `<button>` controls\n * and page numbers styled straight with the `actions.low` tokens (current\n * page in `actions.high`), 40px squircles (`--radius-default`), `ui-icon`\n * chevrons, plus an `ui-select` rows-per-page choice. Used by `ui-table`,\n * works standalone over any collection: bind `totalRecords`, `rows` and the\n * two-way `first`.\n *\n * With `ellipsis`, long page lists collapse to `1 2 3 … 30 31 32`\n * (`boundaryCount` pages on each edge + the current page neighborhood).\n * The control icons and the page-link content are overridable via the\n * `#firsticon` / `#previcon` / `#nexticon` / `#lasticon` / `#pagelink`\n * templates.\n */\n@Component({\n selector: 'ui-paginator',\n imports: [NgTemplateOutlet, FormsModule, UiIcon, UiSelect],\n templateUrl: './ui-paginator.html',\n styleUrl: './ui-paginator.scss',\n})\nexport class UiPaginator {\n /** Total number of rows across all pages. */\n totalRecords = input(0, { transform: numberAttribute });\n /** Rows per page. Two-way bindable (updated by the rows-per-page select). */\n rows = model(10);\n /** Index of the first displayed row. Two-way bindable (programmatic pagination). */\n first = model(0);\n /** Maximum number of page-number buttons (windowed mode, without `ellipsis`). */\n pageLinks = input(5, { transform: numberAttribute });\n /** Compact mode: `1 2 3 … 30 31 32` — edges + current-page neighborhood, `…` in the gaps. */\n ellipsis = input(false, { transform: booleanAttribute });\n /** Pages always shown on each edge in `ellipsis` mode. */\n boundaryCount = input(3, { transform: numberAttribute });\n /** Choices offered in the rows-per-page select (omit to hide it — Figma `selectPage`). */\n rowsPerPageOptions = input<number[]>();\n /** Shows the \"first page\" / \"last page\" edge controls. */\n showFirstLastIcon = input(true, { transform: booleanAttribute });\n /** Shows the page-number buttons (disable for a compact prev/next bar). */\n showPageLinks = input(true, { transform: booleanAttribute });\n /** Shows the current-page report (e.g. `1 - 10 sur 120`). */\n showCurrentPageReport = input(false, { transform: booleanAttribute });\n /** Report pattern — placeholders: `{first}` `{last}` `{rows}` `{page}` `{pageCount}` `{totalRecords}`. */\n currentPageReportTemplate = input<string>('{first} - {last} sur {totalRecords}');\n /** Disables every control. */\n disabled = input(false, { transform: booleanAttribute });\n /** Accessible name of the navigation landmark. */\n ariaLabel = input<string>('Pagination');\n /** Accessible name pattern of a page button (`{page}` is replaced). */\n pageAriaLabel = input<string>('Page {page}');\n /** Accessible names of the edge / step controls. */\n firstPageAriaLabel = input<string>('Première page');\n prevPageAriaLabel = input<string>('Page précédente');\n nextPageAriaLabel = input<string>('Page suivante');\n lastPageAriaLabel = input<string>('Dernière page');\n /** Accessible name of the rows-per-page select. */\n rowsPerPageAriaLabel = input<string>('Lignes par page');\n\n /** Emitted on any pagination change (navigation or rows-per-page). */\n pageChange = output<UiPaginatorPageEvent>();\n\n // --- Templates (projected) — override the default content of each element.\n /** @ignore Icon of the \"first page\" control. */\n protected readonly firstIconTemplate = contentChild<TemplateRef<unknown>>('firsticon');\n /** @ignore Icon of the \"previous page\" control. */\n protected readonly prevIconTemplate = contentChild<TemplateRef<unknown>>('previcon');\n /** @ignore Icon of the \"next page\" control. */\n protected readonly nextIconTemplate = contentChild<TemplateRef<unknown>>('nexticon');\n /** @ignore Icon of the \"last page\" control. */\n protected readonly lastIconTemplate = contentChild<TemplateRef<unknown>>('lasticon');\n /** @ignore Content of a page-number button (context: number, page, active). */\n protected readonly pageLinkTemplate = contentChild<TemplateRef<UiPaginatorPageLinkContext>>('pagelink');\n /** @ignore Free content rendered before the controls (context: pagination state). */\n protected readonly startTemplate = contentChild<TemplateRef<{ $implicit: UiPaginatorState }>>('start');\n /** @ignore Free content rendered after the rows-per-page select (context: pagination state). */\n protected readonly endTemplate = contentChild<TemplateRef<{ $implicit: UiPaginatorState }>>('end');\n /** @ignore Rich current-page report (overrides `currentPageReportTemplate`). */\n protected readonly reportTemplate = contentChild<TemplateRef<{ $implicit: UiPaginatorState }>>('report');\n\n /** @ignore Exposes the ellipsis sentinel to the template. */\n protected readonly ELLIPSIS = ELLIPSIS;\n\n /** @ignore Rows-per-page kept locally so the select can drive it. */\n protected readonly rowsState = linkedSignal(() => Math.max(1, this.rows()));\n\n /** @ignore */\n protected readonly pageCount = computed(() => Math.max(1, Math.ceil(this.totalRecords() / this.rowsState())));\n /** @ignore `first` clamped to the dataset (data may shrink under the cursor). */\n protected readonly clampedFirst = computed(() => {\n const maxFirst = (this.pageCount() - 1) * this.rowsState();\n return Math.min(Math.max(0, this.first()), maxFirst);\n });\n /** @ignore Zero-based current page. */\n protected readonly currentPage = computed(() => Math.floor(this.clampedFirst() / this.rowsState()));\n\n /** @ignore Page items to render: zero-based page indexes, `ELLIPSIS` for a gap. */\n protected readonly pageItems = computed<number[]>(() => {\n const count = this.pageCount();\n const current = this.currentPage();\n\n if (!this.ellipsis()) {\n // Windowed mode: `pageLinks` numbers centered on the current page.\n const visible = Math.min(this.pageLinks(), count);\n const start = Math.max(0, Math.min(current - Math.floor(visible / 2), count - visible));\n return Array.from({ length: visible }, (_, i) => start + i);\n }\n\n // Compact mode: edges + current neighborhood, ellipsis in the gaps.\n const boundary = Math.max(1, this.boundaryCount());\n const pages = new Set<number>();\n for (let i = 0; i < Math.min(boundary, count); i++) pages.add(i);\n for (let i = Math.max(0, current - 1); i <= Math.min(count - 1, current + 1); i++) pages.add(i);\n for (let i = Math.max(0, count - boundary); i < count; i++) pages.add(i);\n\n const sorted = [...pages].sort((a, b) => a - b);\n const items: number[] = [];\n let previous: number | null = null;\n for (const page of sorted) {\n if (previous != null) {\n // A single missing page is cheaper to show than an ellipsis.\n if (page - previous === 2) items.push(previous + 1);\n else if (page - previous > 2) items.push(ELLIPSIS);\n }\n items.push(page);\n previous = page;\n }\n return items;\n });\n\n /** @ignore Pagination snapshot (templates + report placeholders). */\n protected readonly state = computed<UiPaginatorState>(() => {\n const total = this.totalRecords();\n const rows = this.rowsState();\n const first = this.clampedFirst();\n return {\n first: total === 0 ? 0 : first + 1,\n last: Math.min(first + rows, total),\n rows,\n page: this.currentPage(),\n pageCount: this.pageCount(),\n totalRecords: total,\n };\n });\n\n /** @ignore Context shared by the #start / #end / #report templates. */\n protected readonly stateContext = computed(() => ({ $implicit: this.state() }));\n\n /** @ignore Report pattern with its placeholders resolved. */\n protected readonly reportText = computed(() => {\n const state = this.state();\n return this.currentPageReportTemplate()\n .replace('{first}', String(state.first))\n .replace('{last}', String(state.last))\n .replace('{rows}', String(state.rows))\n .replace('{page}', String(state.page + 1))\n .replace('{pageCount}', String(state.pageCount))\n .replace('{totalRecords}', String(state.totalRecords));\n });\n\n /** @ignore */\n protected readonly isFirstPage = computed(() => this.currentPage() === 0);\n /** @ignore */\n protected readonly isLastPage = computed(() => this.currentPage() >= this.pageCount() - 1);\n\n /** @ignore */\n protected goToPage(page: number): void {\n const target = Math.min(Math.max(0, page), this.pageCount() - 1);\n const first = target * this.rowsState();\n if (first === this.first()) return;\n this.first.set(first);\n this.emitPage();\n }\n\n /** @ignore */\n protected onRowsPerPageChange(rows: unknown): void {\n const value = Number(rows);\n if (!Number.isFinite(value) || value <= 0 || value === this.rowsState()) return;\n this.rowsState.set(value);\n this.rows.set(value);\n this.first.set(0);\n this.emitPage();\n }\n\n /** @ignore */\n protected pageLabel(page: number): string {\n return this.pageAriaLabel().replace('{page}', String(page + 1));\n }\n\n /** @ignore */\n protected pageLinkContext(page: number): UiPaginatorPageLinkContext {\n return { $implicit: page + 1, page, active: page === this.currentPage() };\n }\n\n /** @ignore */\n private emitPage(): void {\n this.pageChange.emit({\n first: this.clampedFirst(),\n rows: this.rowsState(),\n page: this.currentPage(),\n pageCount: this.pageCount(),\n });\n }\n}\n","<nav class=\"ui-paginator\" [attr.aria-label]=\"ariaLabel()\">\n @if (startTemplate(); as tpl) {\n <div class=\"ui-paginator-start\">\n <ng-container [ngTemplateOutlet]=\"tpl\" [ngTemplateOutletContext]=\"stateContext()\" />\n </div>\n }\n\n <div class=\"ui-paginator-content\">\n @if (showCurrentPageReport()) {\n <span class=\"ui-paginator-report\">\n @if (reportTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" [ngTemplateOutletContext]=\"stateContext()\" />\n } @else {\n {{ reportText() }}\n }\n </span>\n }\n\n @if (showFirstLastIcon()) {\n <button\n type=\"button\"\n class=\"ui-paginator-control\"\n [disabled]=\"disabled() || isFirstPage()\"\n [attr.aria-label]=\"firstPageAriaLabel()\"\n (click)=\"goToPage(0)\"\n >\n @if (firstIconTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <ui-icon name=\"angles-left\" size=\"sm\" />\n }\n </button>\n }\n <button\n type=\"button\"\n class=\"ui-paginator-control\"\n [disabled]=\"disabled() || isFirstPage()\"\n [attr.aria-label]=\"prevPageAriaLabel()\"\n (click)=\"goToPage(currentPage() - 1)\"\n >\n @if (prevIconTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <ui-icon name=\"chevron-left\" size=\"sm\" />\n }\n </button>\n\n @if (showPageLinks()) {\n <div class=\"ui-paginator-pages\">\n @for (item of pageItems(); track $index) {\n @if (item === ELLIPSIS) {\n <span class=\"ui-paginator-ellipsis\" aria-hidden=\"true\">…</span>\n } @else {\n <button\n type=\"button\"\n class=\"ui-paginator-page\"\n [class._current]=\"item === currentPage()\"\n [disabled]=\"disabled()\"\n [attr.aria-label]=\"pageLabel(item)\"\n [attr.aria-current]=\"item === currentPage() ? 'page' : null\"\n (click)=\"goToPage(item)\"\n >\n @if (pageLinkTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" [ngTemplateOutletContext]=\"pageLinkContext(item)\" />\n } @else {\n {{ item + 1 }}\n }\n </button>\n }\n }\n </div>\n }\n\n <button\n type=\"button\"\n class=\"ui-paginator-control\"\n [disabled]=\"disabled() || isLastPage()\"\n [attr.aria-label]=\"nextPageAriaLabel()\"\n (click)=\"goToPage(currentPage() + 1)\"\n >\n @if (nextIconTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <ui-icon name=\"chevron-right\" size=\"sm\" />\n }\n </button>\n @if (showFirstLastIcon()) {\n <button\n type=\"button\"\n class=\"ui-paginator-control\"\n [disabled]=\"disabled() || isLastPage()\"\n [attr.aria-label]=\"lastPageAriaLabel()\"\n (click)=\"goToPage(pageCount() - 1)\"\n >\n @if (lastIconTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <ui-icon name=\"angles-right\" size=\"sm\" />\n }\n </button>\n }\n </div>\n\n @if (rowsPerPageOptions()?.length) {\n <div class=\"ui-paginator-rows\">\n <ui-select\n size=\"small\"\n [options]=\"rowsPerPageOptions()!\"\n [ngModel]=\"rowsState()\"\n [disabled]=\"disabled()\"\n [ariaLabel]=\"rowsPerPageAriaLabel()\"\n (valueChange)=\"onRowsPerPageChange($event)\"\n />\n </div>\n }\n\n @if (endTemplate(); as tpl) {\n <div class=\"ui-paginator-end\">\n <ng-container [ngTemplateOutlet]=\"tpl\" [ngTemplateOutletContext]=\"stateContext()\" />\n </div>\n }\n</nav>\n","/*\n * Public API Surface of ui-kit/ui-paginator\n */\n\nexport * from './lib/ui-paginator';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;AAmDA;AACA,MAAM,QAAQ,GAAG,CAAC,CAAC;AAEnB;;;;;;;;;;;;;;;AAeG;MAOU,WAAW,CAAA;AANxB,IAAA,WAAA,GAAA;;QAQE,IAAA,CAAA,YAAY,GAAG,KAAK,CAAC,CAAC,oFAAI,SAAS,EAAE,eAAe,EAAA,CAAG;;QAEvD,IAAA,CAAA,IAAI,GAAG,KAAK,CAAC,EAAE;iFAAC;;QAEhB,IAAA,CAAA,KAAK,GAAG,KAAK,CAAC,CAAC;kFAAC;;QAEhB,IAAA,CAAA,SAAS,GAAG,KAAK,CAAC,CAAC,iFAAI,SAAS,EAAE,eAAe,EAAA,CAAG;;QAEpD,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,KAAK,gFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;;QAExD,IAAA,CAAA,aAAa,GAAG,KAAK,CAAC,CAAC,qFAAI,SAAS,EAAE,eAAe,EAAA,CAAG;;AAExD,QAAA,IAAA,CAAA,kBAAkB,GAAG,KAAK;0GAAY;;QAEtC,IAAA,CAAA,iBAAiB,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