@4sh/ui-kit 0.13.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/4sh-ui-kit-actions-ui-button-split.mjs +2 -2
- package/fesm2022/4sh-ui-kit-actions-ui-button-split.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-actions-ui-button.mjs +26 -2
- package/fesm2022/4sh-ui-kit-actions-ui-button.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-actions-ui-link.mjs +8 -2
- package/fesm2022/4sh-ui-kit-actions-ui-link.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-actions-ui-speed-dial.mjs +2 -2
- package/fesm2022/4sh-ui-kit-actions-ui-speed-dial.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-base-ui-image.mjs +18 -4
- package/fesm2022/4sh-ui-kit-base-ui-image.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-autocomplete.mjs +2 -2
- package/fesm2022/4sh-ui-kit-forms-ui-autocomplete.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-checkbox.mjs +2 -2
- package/fesm2022/4sh-ui-kit-forms-ui-checkbox.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-datepicker.mjs +2 -2
- package/fesm2022/4sh-ui-kit-forms-ui-datepicker.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-editor.mjs +2 -2
- package/fesm2022/4sh-ui-kit-forms-ui-editor.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-field.mjs +2 -2
- package/fesm2022/4sh-ui-kit-forms-ui-field.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-file-upload.mjs +11 -4
- package/fesm2022/4sh-ui-kit-forms-ui-file-upload.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-date.mjs +4 -2
- package/fesm2022/4sh-ui-kit-forms-ui-input-date.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-group.mjs +2 -2
- package/fesm2022/4sh-ui-kit-forms-ui-input-group.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs +2 -2
- package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-otp.mjs +2 -2
- package/fesm2022/4sh-ui-kit-forms-ui-input-otp.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-tags.mjs +2 -2
- package/fesm2022/4sh-ui-kit-forms-ui-input-tags.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input.mjs +2 -2
- package/fesm2022/4sh-ui-kit-forms-ui-input.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-knob.mjs +2 -2
- package/fesm2022/4sh-ui-kit-forms-ui-knob.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-nudger.mjs +2 -2
- package/fesm2022/4sh-ui-kit-forms-ui-nudger.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-radio.mjs +2 -2
- package/fesm2022/4sh-ui-kit-forms-ui-radio.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-rating.mjs +2 -2
- package/fesm2022/4sh-ui-kit-forms-ui-rating.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-segment-control.mjs +2 -2
- package/fesm2022/4sh-ui-kit-forms-ui-segment-control.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-select.mjs +2 -2
- package/fesm2022/4sh-ui-kit-forms-ui-select.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-slider.mjs +2 -2
- package/fesm2022/4sh-ui-kit-forms-ui-slider.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-swatch-picker.mjs +2 -2
- package/fesm2022/4sh-ui-kit-forms-ui-swatch-picker.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-toggle-block.mjs +2 -2
- package/fesm2022/4sh-ui-kit-forms-ui-toggle-block.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-toggle-button.mjs +2 -2
- package/fesm2022/4sh-ui-kit-forms-ui-toggle-button.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-toggle.mjs +2 -2
- package/fesm2022/4sh-ui-kit-forms-ui-toggle.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-accordion.mjs +2 -2
- package/fesm2022/4sh-ui-kit-informative-ui-accordion.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-alert.mjs +2 -2
- package/fesm2022/4sh-ui-kit-informative-ui-alert.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-badge.mjs +6 -0
- package/fesm2022/4sh-ui-kit-informative-ui-badge.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-chip.mjs +2 -2
- package/fesm2022/4sh-ui-kit-informative-ui-chip.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-progress-bar.mjs +2 -2
- package/fesm2022/4sh-ui-kit-informative-ui-progress-bar.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-toast.mjs +2 -2
- package/fesm2022/4sh-ui-kit-informative-ui-toast.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-tooltip.mjs +2 -2
- package/fesm2022/4sh-ui-kit-informative-ui-tooltip.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-layout-ui-bottom-sheet.mjs +2 -2
- package/fesm2022/4sh-ui-kit-layout-ui-bottom-sheet.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-layout-ui-drawer.mjs +2 -2
- package/fesm2022/4sh-ui-kit-layout-ui-drawer.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-layout-ui-modal.mjs +2 -2
- package/fesm2022/4sh-ui-kit-layout-ui-modal.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-bottom-tab-bar.mjs +4 -4
- package/fesm2022/4sh-ui-kit-navigation-ui-bottom-tab-bar.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-breadcrumb.mjs +2 -2
- package/fesm2022/4sh-ui-kit-navigation-ui-breadcrumb.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-menu.mjs +2 -2
- package/fesm2022/4sh-ui-kit-navigation-ui-menu.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-sidebar.mjs +4 -4
- package/fesm2022/4sh-ui-kit-navigation-ui-sidebar.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-stepper.mjs +103 -12
- package/fesm2022/4sh-ui-kit-navigation-ui-stepper.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-tabs.mjs +6 -6
- package/fesm2022/4sh-ui-kit-navigation-ui-tabs.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-table-ui-paginator.mjs +5 -2
- package/fesm2022/4sh-ui-kit-table-ui-paginator.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-table-ui-table.mjs +2 -2
- package/fesm2022/4sh-ui-kit-table-ui-table.mjs.map +1 -1
- package/mcp/data/component-api.json +11710 -0
- package/mcp/data/text-search-docs.json +92 -72
- package/mcp/data/ui-config.json +6772 -26
- package/mcp/index.js +24 -2
- package/mcp/package.json +1 -1
- package/package.json +1 -1
- package/styles/base/_motion.scss +16 -16
- package/styles/component-vars.scss +7 -5
- package/styles/generated/_tokens-motion.scss +54 -0
- package/styles/generated/_tokens-transitions.scss +4 -4
- package/styles/generated/_tokens.scss +1 -0
- package/styles/settings/_ui-config.scss +23 -6
- package/styles/utils/_mixins.scss +28 -5
- package/styles/utils/_motion.scss +3 -3
- package/styles.css +1 -1
- package/types/4sh-ui-kit-actions-ui-button.d.ts +24 -0
- package/types/4sh-ui-kit-actions-ui-link.d.ts +6 -0
- package/types/4sh-ui-kit-base-ui-image.d.ts +14 -0
- package/types/4sh-ui-kit-forms-ui-file-upload.d.ts +7 -0
- package/types/4sh-ui-kit-forms-ui-input-date.d.ts +2 -0
- package/types/4sh-ui-kit-informative-ui-badge.d.ts +6 -0
- package/types/4sh-ui-kit-navigation-ui-stepper.d.ts +42 -3
- package/types/4sh-ui-kit-table-ui-paginator.d.ts +3 -0
|
@@ -82,7 +82,7 @@ class UiTab {
|
|
|
82
82
|
}
|
|
83
83
|
<span class="ui-tab-label"><ng-content /></span>
|
|
84
84
|
</button>
|
|
85
|
-
`, isInline: true, styles: [":host{display:contents}.ui-tab-button{display:inline-flex;align-items:center;justify-content:center;gap:var(--units-sm);box-sizing:border-box;min-height:var(--ui-tabs-min-height, 2.75rem);margin:0;padding:0 var(--units-default);border:0;background-color:var(--ui-tabs-tab-surface, var(--navigation-highoutlined-surface-default));color:var(--ui-tabs-tab-color, var(--navigation-highoutlined-content-default));font-family:var(--ui-tabs-font-family, var(--fontfamily-base));font-weight:var(--ui-tabs-weight, var(--weight-bold));font-size:var(--size-typography-text-default);line-height:1.2;white-space:nowrap;cursor:pointer;transition:color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),background-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-tab-button:hover:not(:disabled){background-color:var(--ui-tabs-tab-surface-hover, var(--navigation-highoutlined-surface-hover));color:var(--ui-tabs-tab-color-hover, var(--navigation-highoutlined-content-hover))}.ui-tab-button:focus-visible{outline:none;box-shadow:inset 0 0 0 var(--ui-tabs-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) var(--ui-tabs-tab-focus-ring-color, var(--global-border-focus))}.ui-tab-button:disabled{background-color:var(--ui-tabs-tab-surface-disabled, var(--navigation-highoutlined-surface-disabled));color:var(--ui-tabs-tab-color-disabled, var(--navigation-highoutlined-content-disabled));cursor:not-allowed}:host._icon-right .ui-tab-button{flex-direction:row-reverse}:host._active .ui-tab-button{background-color:var(--ui-tabs-tab-surface-active, var(--navigation-highoutlined-surface-active));color:var(--ui-tabs-tab-color-active, var(--navigation-highoutlined-content-active))}:host._vertical .ui-tab-button{width:100%;justify-content:flex-start}:host._vertical._icon-right .ui-tab-button{justify-content:space-between}.ui-tab-icon{line-height:0}.ui-tab-label{min-width:0}\n"], dependencies: [{ kind: "component", type: UiIcon, selector: "ui-icon", inputs: ["name", "size", "type", "family", "decorative", "ariaLabel"] }] }); }
|
|
85
|
+
`, isInline: true, styles: [":host{display:contents}.ui-tab-button{display:inline-flex;align-items:center;justify-content:center;gap:var(--units-sm);box-sizing:border-box;min-height:var(--ui-tabs-min-height, 2.75rem);margin:0;padding:0 var(--units-default);border:0;background-color:var(--ui-tabs-tab-surface, var(--navigation-highoutlined-surface-default));color:var(--ui-tabs-tab-color, var(--navigation-highoutlined-content-default));font-family:var(--ui-tabs-font-family, var(--fontfamily-base));font-weight:var(--ui-tabs-weight, var(--weight-bold));font-size:var(--size-typography-text-default);line-height:1.2;white-space:nowrap;cursor:pointer;transition:color var(--ui-control-transition-duration, var(--motion-hover-duration, var(--transition-default))) var(--ui-control-transition-easing, var(--motion-hover-easing, var(--transition-easeinout))),background-color var(--ui-control-transition-duration, var(--motion-hover-duration, var(--transition-default))) var(--ui-control-transition-easing, var(--motion-hover-easing, var(--transition-easeinout))),box-shadow var(--ui-control-transition-duration, var(--motion-hover-duration, var(--transition-default))) var(--ui-control-transition-easing, var(--motion-hover-easing, var(--transition-easeinout)))}.ui-tab-button:hover:not(:disabled){background-color:var(--ui-tabs-tab-surface-hover, var(--navigation-highoutlined-surface-hover));color:var(--ui-tabs-tab-color-hover, var(--navigation-highoutlined-content-hover))}.ui-tab-button:focus-visible{outline:none;box-shadow:inset 0 0 0 var(--ui-tabs-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) var(--ui-tabs-tab-focus-ring-color, var(--global-border-focus))}.ui-tab-button:disabled{background-color:var(--ui-tabs-tab-surface-disabled, var(--navigation-highoutlined-surface-disabled));color:var(--ui-tabs-tab-color-disabled, var(--navigation-highoutlined-content-disabled));cursor:not-allowed}:host._icon-right .ui-tab-button{flex-direction:row-reverse}:host._active .ui-tab-button{background-color:var(--ui-tabs-tab-surface-active, var(--navigation-highoutlined-surface-active));color:var(--ui-tabs-tab-color-active, var(--navigation-highoutlined-content-active))}:host._vertical .ui-tab-button{width:100%;justify-content:flex-start}:host._vertical._icon-right .ui-tab-button{justify-content:space-between}.ui-tab-icon{line-height:0}.ui-tab-label{min-width:0}\n"], dependencies: [{ kind: "component", type: UiIcon, selector: "ui-icon", inputs: ["name", "size", "type", "family", "decorative", "ariaLabel"] }] }); }
|
|
86
86
|
}
|
|
87
87
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiTab, decorators: [{
|
|
88
88
|
type: Component,
|
|
@@ -113,7 +113,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImpor
|
|
|
113
113
|
'[class._disabled]': 'disabled()',
|
|
114
114
|
'[class._icon-right]': "iconPos() === 'right'",
|
|
115
115
|
'[class._vertical]': "tabs.orientation() === 'vertical'",
|
|
116
|
-
}, styles: [":host{display:contents}.ui-tab-button{display:inline-flex;align-items:center;justify-content:center;gap:var(--units-sm);box-sizing:border-box;min-height:var(--ui-tabs-min-height, 2.75rem);margin:0;padding:0 var(--units-default);border:0;background-color:var(--ui-tabs-tab-surface, var(--navigation-highoutlined-surface-default));color:var(--ui-tabs-tab-color, var(--navigation-highoutlined-content-default));font-family:var(--ui-tabs-font-family, var(--fontfamily-base));font-weight:var(--ui-tabs-weight, var(--weight-bold));font-size:var(--size-typography-text-default);line-height:1.2;white-space:nowrap;cursor:pointer;transition:color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),background-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-tab-button:hover:not(:disabled){background-color:var(--ui-tabs-tab-surface-hover, var(--navigation-highoutlined-surface-hover));color:var(--ui-tabs-tab-color-hover, var(--navigation-highoutlined-content-hover))}.ui-tab-button:focus-visible{outline:none;box-shadow:inset 0 0 0 var(--ui-tabs-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) var(--ui-tabs-tab-focus-ring-color, var(--global-border-focus))}.ui-tab-button:disabled{background-color:var(--ui-tabs-tab-surface-disabled, var(--navigation-highoutlined-surface-disabled));color:var(--ui-tabs-tab-color-disabled, var(--navigation-highoutlined-content-disabled));cursor:not-allowed}:host._icon-right .ui-tab-button{flex-direction:row-reverse}:host._active .ui-tab-button{background-color:var(--ui-tabs-tab-surface-active, var(--navigation-highoutlined-surface-active));color:var(--ui-tabs-tab-color-active, var(--navigation-highoutlined-content-active))}:host._vertical .ui-tab-button{width:100%;justify-content:flex-start}:host._vertical._icon-right .ui-tab-button{justify-content:space-between}.ui-tab-icon{line-height:0}.ui-tab-label{min-width:0}\n"] }]
|
|
116
|
+
}, styles: [":host{display:contents}.ui-tab-button{display:inline-flex;align-items:center;justify-content:center;gap:var(--units-sm);box-sizing:border-box;min-height:var(--ui-tabs-min-height, 2.75rem);margin:0;padding:0 var(--units-default);border:0;background-color:var(--ui-tabs-tab-surface, var(--navigation-highoutlined-surface-default));color:var(--ui-tabs-tab-color, var(--navigation-highoutlined-content-default));font-family:var(--ui-tabs-font-family, var(--fontfamily-base));font-weight:var(--ui-tabs-weight, var(--weight-bold));font-size:var(--size-typography-text-default);line-height:1.2;white-space:nowrap;cursor:pointer;transition:color var(--ui-control-transition-duration, var(--motion-hover-duration, var(--transition-default))) var(--ui-control-transition-easing, var(--motion-hover-easing, var(--transition-easeinout))),background-color var(--ui-control-transition-duration, var(--motion-hover-duration, var(--transition-default))) var(--ui-control-transition-easing, var(--motion-hover-easing, var(--transition-easeinout))),box-shadow var(--ui-control-transition-duration, var(--motion-hover-duration, var(--transition-default))) var(--ui-control-transition-easing, var(--motion-hover-easing, var(--transition-easeinout)))}.ui-tab-button:hover:not(:disabled){background-color:var(--ui-tabs-tab-surface-hover, var(--navigation-highoutlined-surface-hover));color:var(--ui-tabs-tab-color-hover, var(--navigation-highoutlined-content-hover))}.ui-tab-button:focus-visible{outline:none;box-shadow:inset 0 0 0 var(--ui-tabs-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) var(--ui-tabs-tab-focus-ring-color, var(--global-border-focus))}.ui-tab-button:disabled{background-color:var(--ui-tabs-tab-surface-disabled, var(--navigation-highoutlined-surface-disabled));color:var(--ui-tabs-tab-color-disabled, var(--navigation-highoutlined-content-disabled));cursor:not-allowed}:host._icon-right .ui-tab-button{flex-direction:row-reverse}:host._active .ui-tab-button{background-color:var(--ui-tabs-tab-surface-active, var(--navigation-highoutlined-surface-active));color:var(--ui-tabs-tab-color-active, var(--navigation-highoutlined-content-active))}:host._vertical .ui-tab-button{width:100%;justify-content:flex-start}:host._vertical._icon-right .ui-tab-button{justify-content:space-between}.ui-tab-icon{line-height:0}.ui-tab-label{min-width:0}\n"] }]
|
|
117
117
|
}], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: true }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], iconPos: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconPos", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], buttonEl: [{ type: i0.ViewChild, args: ['tabBtn', { isSignal: true }] }] } });
|
|
118
118
|
/**
|
|
119
119
|
* ui-tab-panel , the content region tied to a {@link UiTab} by shared `value`.
|
|
@@ -158,7 +158,7 @@ class UiTabPanel {
|
|
|
158
158
|
@if (shouldRender()) {
|
|
159
159
|
<ng-container [ngTemplateOutlet]="content() ?? defaultContent" />
|
|
160
160
|
}
|
|
161
|
-
`, isInline: true, styles: [":host{display:block;padding:var(--units-default) 0;color:var(--ui-tabs-panel-color, var(--global-text-default));font-family:var(--ui-tabs-font-family, var(--fontfamily-base));font-size:var(--size-typography-text-default);line-height:1.5;outline:none}:host([hidden]){display:none}:host(._active:not(._no-motion)){animation:ui-motion-fade-in var(--transition-default) var(--transition-easeout) both}@media(prefers-reduced-motion:reduce){:host(._active:not(._no-motion)){animation-duration:.01ms}}:root[data-motion=off] :host(._active:not(._no-motion)){animation-duration:.01ms}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
|
|
161
|
+
`, isInline: true, styles: [":host{display:block;padding:var(--units-default) 0;color:var(--ui-tabs-panel-color, var(--global-text-default));font-family:var(--ui-tabs-font-family, var(--fontfamily-base));font-size:var(--size-typography-text-default);line-height:1.5;outline:none}:host([hidden]){display:none}:host(._active:not(._no-motion)){animation:ui-motion-fade-in var(--motion-overlay-in-duration, var(--transition-default)) var(--motion-overlay-in-easing, var(--transition-easeout)) both}@media(prefers-reduced-motion:reduce){:host(._active:not(._no-motion)){animation-duration:.01ms}}:root[data-motion=off] :host(._active:not(._no-motion)){animation-duration:.01ms}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
|
|
162
162
|
}
|
|
163
163
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiTabPanel, decorators: [{
|
|
164
164
|
type: Component,
|
|
@@ -176,7 +176,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImpor
|
|
|
176
176
|
'[hidden]': '!active()',
|
|
177
177
|
'[class._active]': 'active()',
|
|
178
178
|
'[class._no-motion]': '!tabs.motion()',
|
|
179
|
-
}, styles: [":host{display:block;padding:var(--units-default) 0;color:var(--ui-tabs-panel-color, var(--global-text-default));font-family:var(--ui-tabs-font-family, var(--fontfamily-base));font-size:var(--size-typography-text-default);line-height:1.5;outline:none}:host([hidden]){display:none}:host(._active:not(._no-motion)){animation:ui-motion-fade-in var(--transition-default) var(--transition-easeout) both}@media(prefers-reduced-motion:reduce){:host(._active:not(._no-motion)){animation-duration:.01ms}}:root[data-motion=off] :host(._active:not(._no-motion)){animation-duration:.01ms}\n"] }]
|
|
179
|
+
}, styles: [":host{display:block;padding:var(--units-default) 0;color:var(--ui-tabs-panel-color, var(--global-text-default));font-family:var(--ui-tabs-font-family, var(--fontfamily-base));font-size:var(--size-typography-text-default);line-height:1.5;outline:none}:host([hidden]){display:none}:host(._active:not(._no-motion)){animation:ui-motion-fade-in var(--motion-overlay-in-duration, var(--transition-default)) var(--motion-overlay-in-easing, var(--transition-easeout)) both}@media(prefers-reduced-motion:reduce){:host(._active:not(._no-motion)){animation-duration:.01ms}}:root[data-motion=off] :host(._active:not(._no-motion)){animation-duration:.01ms}\n"] }]
|
|
180
180
|
}], ctorParameters: () => [], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: true }] }], lazy: [{ type: i0.Input, args: [{ isSignal: true, alias: "lazy", required: false }] }], content: [{ type: i0.ContentChild, args: ['content', { isSignal: true }] }] } });
|
|
181
181
|
/**
|
|
182
182
|
* ui-tab-list , the horizontal (or vertical) strip of {@link UiTab} buttons.
|
|
@@ -381,7 +381,7 @@ class UiTabList {
|
|
|
381
381
|
}
|
|
382
382
|
}
|
|
383
383
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiTabList, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
384
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.7", type: UiTabList, isStandalone: true, selector: "ui-tab-list", inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, prevAriaLabel: { classPropertyName: "prevAriaLabel", publicName: "prevAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, nextAriaLabel: { classPropertyName: "nextAriaLabel", publicName: "nextAriaLabel", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "keydown": "onKeydown($event)" }, properties: { "class._vertical": "orientation() === 'vertical'", "class._scrollable": "scrollable()", "class._no-motion": "!tabs.motion()" }, classAttribute: "ui-tab-list" }, queries: [{ propertyName: "tabItems", predicate: UiTab, isSignal: true }], viewQueries: [{ propertyName: "scrollEl", first: true, predicate: ["scroll"], descendants: true, isSignal: true }, { propertyName: "innerEl", first: true, predicate: ["inner"], descendants: true, isSignal: true }], ngImport: i0, template: "@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", styles: [":host{display:flex;flex-direction:row;align-items:stretch;position:relative;min-width:0;box-shadow:inset 0 calc(-1 * var(--ui-tabs-track-thickness, var(--stroke-sm))) 0 0 var(--ui-tabs-track-stroke, var(--global-border-default))}.ui-tab-list-scroll{flex:1 1 auto;min-width:0;overflow:hidden}:host._scrollable .ui-tab-list-scroll{overflow-x:auto;scroll-behavior:smooth;scrollbar-width:none}:host._scrollable .ui-tab-list-scroll::-webkit-scrollbar{display:none}@media(prefers-reduced-motion:reduce){:host._scrollable .ui-tab-list-scroll{scroll-behavior:auto}}:root[data-motion=off] :host._scrollable .ui-tab-list-scroll{scroll-behavior:auto}:host._no-motion .ui-tab-list-scroll{scroll-behavior:auto}.ui-tab-list-tabs{position:relative;display:flex;flex-direction:row;align-items:stretch;width:max-content;min-width:100%}.ui-tab-list-active-bar{position:absolute;bottom:0;left:0;height:var(--ui-tabs-indicator-thickness, var(--ui-tabs-active-bar-size, var(--stroke-default)));border-radius:var(--radius-full);background-color:var(--ui-tabs-indicator-color, var(--ui-tabs-active-bar-color, var(--navigation-highoutlined-stroke-active)));pointer-events:none;will-change:transform,width;transition:transform var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms),width var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms),height var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms)}.ui-tab-list-active-bar._hidden{opacity:0}@media(prefers-reduced-motion:reduce){.ui-tab-list-active-bar{transition:none}}:root[data-motion=off] .ui-tab-list-active-bar{transition:none}:host._no-motion .ui-tab-list-active-bar{transition:none}.ui-tab-list-nav{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:var(--ui-tabs-nav-size, 2.5rem);align-self:stretch;border:0;background-color:var(--ui-tabs-nav-surface, var(--navigation-highoutlined-surface-default));color:var(--ui-tabs-nav-color, var(--navigation-highoutlined-content-default));cursor:pointer;transition:color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),background-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-tab-list-nav:hover:not(:disabled){background-color:var(--ui-tabs-nav-surface-hover, var(--navigation-highoutlined-surface-hover));color:var(--ui-tabs-nav-color-hover, var(--navigation-highoutlined-content-hover))}.ui-tab-list-nav:disabled{color:var(--ui-tabs-nav-color-disabled, var(--navigation-highoutlined-content-disabled));cursor:default}:host._vertical{flex-direction:column;align-items:stretch;box-shadow:inset calc(-1 * var(--ui-tabs-track-thickness, var(--stroke-sm))) 0 0 0 var(--ui-tabs-track-stroke, var(--global-border-default))}:host._vertical .ui-tab-list-tabs{flex-direction:column;width:100%}:host._vertical._scrollable .ui-tab-list-scroll{overflow-x:hidden;overflow-y:auto}:host._vertical .ui-tab-list-active-bar{inset:0 0 auto auto;width:var(--ui-tabs-indicator-thickness, var(--ui-tabs-active-bar-size, var(--stroke-default)));height:auto}:host._vertical .ui-tab-list-nav{width:auto;height:var(--ui-tabs-nav-size, 2.5rem);align-self:auto}\n"], dependencies: [{ kind: "component", type: UiIcon, selector: "ui-icon", inputs: ["name", "size", "type", "family", "decorative", "ariaLabel"] }] }); }
|
|
384
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.7", type: UiTabList, isStandalone: true, selector: "ui-tab-list", inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, prevAriaLabel: { classPropertyName: "prevAriaLabel", publicName: "prevAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, nextAriaLabel: { classPropertyName: "nextAriaLabel", publicName: "nextAriaLabel", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "keydown": "onKeydown($event)" }, properties: { "class._vertical": "orientation() === 'vertical'", "class._scrollable": "scrollable()", "class._no-motion": "!tabs.motion()" }, classAttribute: "ui-tab-list" }, queries: [{ propertyName: "tabItems", predicate: UiTab, isSignal: true }], viewQueries: [{ propertyName: "scrollEl", first: true, predicate: ["scroll"], descendants: true, isSignal: true }, { propertyName: "innerEl", first: true, predicate: ["inner"], descendants: true, isSignal: true }], ngImport: i0, template: "@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", styles: [":host{display:flex;flex-direction:row;align-items:stretch;position:relative;min-width:0;box-shadow:inset 0 calc(-1 * var(--ui-tabs-track-thickness, var(--stroke-sm))) 0 0 var(--ui-tabs-track-stroke, var(--global-border-default))}.ui-tab-list-scroll{flex:1 1 auto;min-width:0;overflow:hidden}:host._scrollable .ui-tab-list-scroll{overflow-x:auto;scroll-behavior:smooth;scrollbar-width:none}:host._scrollable .ui-tab-list-scroll::-webkit-scrollbar{display:none}@media(prefers-reduced-motion:reduce){:host._scrollable .ui-tab-list-scroll{scroll-behavior:auto}}:root[data-motion=off] :host._scrollable .ui-tab-list-scroll{scroll-behavior:auto}:host._no-motion .ui-tab-list-scroll{scroll-behavior:auto}.ui-tab-list-tabs{position:relative;display:flex;flex-direction:row;align-items:stretch;width:max-content;min-width:100%}.ui-tab-list-active-bar{position:absolute;bottom:0;left:0;height:var(--ui-tabs-indicator-thickness, var(--ui-tabs-active-bar-size, var(--stroke-default)));border-radius:var(--radius-full);background-color:var(--ui-tabs-indicator-color, var(--ui-tabs-active-bar-color, var(--navigation-highoutlined-stroke-active)));pointer-events:none;will-change:transform,width;transition:transform var(--ui-motion-duration, var(--motion-toggle-duration, var(--transition-default))) var(--ui-motion-easing, var(--motion-toggle-easing, var(--transition-easeinout))) var(--ui-motion-delay, 0ms),width var(--ui-motion-duration, var(--motion-toggle-duration, var(--transition-default))) var(--ui-motion-easing, var(--motion-toggle-easing, var(--transition-easeinout))) var(--ui-motion-delay, 0ms),height var(--ui-motion-duration, var(--motion-toggle-duration, var(--transition-default))) var(--ui-motion-easing, var(--motion-toggle-easing, var(--transition-easeinout))) var(--ui-motion-delay, 0ms)}.ui-tab-list-active-bar._hidden{opacity:0}@media(prefers-reduced-motion:reduce){.ui-tab-list-active-bar{transition:none}}:root[data-motion=off] .ui-tab-list-active-bar{transition:none}:host._no-motion .ui-tab-list-active-bar{transition:none}.ui-tab-list-nav{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:var(--ui-tabs-nav-size, 2.5rem);align-self:stretch;border:0;background-color:var(--ui-tabs-nav-surface, var(--navigation-highoutlined-surface-default));color:var(--ui-tabs-nav-color, var(--navigation-highoutlined-content-default));cursor:pointer;transition:color var(--ui-control-transition-duration, var(--motion-hover-duration, var(--transition-default))) var(--ui-control-transition-easing, var(--motion-hover-easing, var(--transition-easeinout))),background-color var(--ui-control-transition-duration, var(--motion-hover-duration, var(--transition-default))) var(--ui-control-transition-easing, var(--motion-hover-easing, var(--transition-easeinout)))}.ui-tab-list-nav:hover:not(:disabled){background-color:var(--ui-tabs-nav-surface-hover, var(--navigation-highoutlined-surface-hover));color:var(--ui-tabs-nav-color-hover, var(--navigation-highoutlined-content-hover))}.ui-tab-list-nav:disabled{color:var(--ui-tabs-nav-color-disabled, var(--navigation-highoutlined-content-disabled));cursor:default}:host._vertical{flex-direction:column;align-items:stretch;box-shadow:inset calc(-1 * var(--ui-tabs-track-thickness, var(--stroke-sm))) 0 0 0 var(--ui-tabs-track-stroke, var(--global-border-default))}:host._vertical .ui-tab-list-tabs{flex-direction:column;width:100%}:host._vertical._scrollable .ui-tab-list-scroll{overflow-x:hidden;overflow-y:auto}:host._vertical .ui-tab-list-active-bar{inset:0 0 auto auto;width:var(--ui-tabs-indicator-thickness, var(--ui-tabs-active-bar-size, var(--stroke-default)));height:auto}:host._vertical .ui-tab-list-nav{width:auto;height:var(--ui-tabs-nav-size, 2.5rem);align-self:auto}\n"], dependencies: [{ kind: "component", type: UiIcon, selector: "ui-icon", inputs: ["name", "size", "type", "family", "decorative", "ariaLabel"] }] }); }
|
|
385
385
|
}
|
|
386
386
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiTabList, decorators: [{
|
|
387
387
|
type: Component,
|
|
@@ -391,7 +391,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImpor
|
|
|
391
391
|
'[class._scrollable]': 'scrollable()',
|
|
392
392
|
'[class._no-motion]': '!tabs.motion()',
|
|
393
393
|
'(keydown)': 'onKeydown($event)',
|
|
394
|
-
}, template: "@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", styles: [":host{display:flex;flex-direction:row;align-items:stretch;position:relative;min-width:0;box-shadow:inset 0 calc(-1 * var(--ui-tabs-track-thickness, var(--stroke-sm))) 0 0 var(--ui-tabs-track-stroke, var(--global-border-default))}.ui-tab-list-scroll{flex:1 1 auto;min-width:0;overflow:hidden}:host._scrollable .ui-tab-list-scroll{overflow-x:auto;scroll-behavior:smooth;scrollbar-width:none}:host._scrollable .ui-tab-list-scroll::-webkit-scrollbar{display:none}@media(prefers-reduced-motion:reduce){:host._scrollable .ui-tab-list-scroll{scroll-behavior:auto}}:root[data-motion=off] :host._scrollable .ui-tab-list-scroll{scroll-behavior:auto}:host._no-motion .ui-tab-list-scroll{scroll-behavior:auto}.ui-tab-list-tabs{position:relative;display:flex;flex-direction:row;align-items:stretch;width:max-content;min-width:100%}.ui-tab-list-active-bar{position:absolute;bottom:0;left:0;height:var(--ui-tabs-indicator-thickness, var(--ui-tabs-active-bar-size, var(--stroke-default)));border-radius:var(--radius-full);background-color:var(--ui-tabs-indicator-color, var(--ui-tabs-active-bar-color, var(--navigation-highoutlined-stroke-active)));pointer-events:none;will-change:transform,width;transition:transform var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms),width var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms),height var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms)}.ui-tab-list-active-bar._hidden{opacity:0}@media(prefers-reduced-motion:reduce){.ui-tab-list-active-bar{transition:none}}:root[data-motion=off] .ui-tab-list-active-bar{transition:none}:host._no-motion .ui-tab-list-active-bar{transition:none}.ui-tab-list-nav{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:var(--ui-tabs-nav-size, 2.5rem);align-self:stretch;border:0;background-color:var(--ui-tabs-nav-surface, var(--navigation-highoutlined-surface-default));color:var(--ui-tabs-nav-color, var(--navigation-highoutlined-content-default));cursor:pointer;transition:color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),background-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-tab-list-nav:hover:not(:disabled){background-color:var(--ui-tabs-nav-surface-hover, var(--navigation-highoutlined-surface-hover));color:var(--ui-tabs-nav-color-hover, var(--navigation-highoutlined-content-hover))}.ui-tab-list-nav:disabled{color:var(--ui-tabs-nav-color-disabled, var(--navigation-highoutlined-content-disabled));cursor:default}:host._vertical{flex-direction:column;align-items:stretch;box-shadow:inset calc(-1 * var(--ui-tabs-track-thickness, var(--stroke-sm))) 0 0 0 var(--ui-tabs-track-stroke, var(--global-border-default))}:host._vertical .ui-tab-list-tabs{flex-direction:column;width:100%}:host._vertical._scrollable .ui-tab-list-scroll{overflow-x:hidden;overflow-y:auto}:host._vertical .ui-tab-list-active-bar{inset:0 0 auto auto;width:var(--ui-tabs-indicator-thickness, var(--ui-tabs-active-bar-size, var(--stroke-default)));height:auto}:host._vertical .ui-tab-list-nav{width:auto;height:var(--ui-tabs-nav-size, 2.5rem);align-self:auto}\n"] }]
|
|
394
|
+
}, template: "@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", styles: [":host{display:flex;flex-direction:row;align-items:stretch;position:relative;min-width:0;box-shadow:inset 0 calc(-1 * var(--ui-tabs-track-thickness, var(--stroke-sm))) 0 0 var(--ui-tabs-track-stroke, var(--global-border-default))}.ui-tab-list-scroll{flex:1 1 auto;min-width:0;overflow:hidden}:host._scrollable .ui-tab-list-scroll{overflow-x:auto;scroll-behavior:smooth;scrollbar-width:none}:host._scrollable .ui-tab-list-scroll::-webkit-scrollbar{display:none}@media(prefers-reduced-motion:reduce){:host._scrollable .ui-tab-list-scroll{scroll-behavior:auto}}:root[data-motion=off] :host._scrollable .ui-tab-list-scroll{scroll-behavior:auto}:host._no-motion .ui-tab-list-scroll{scroll-behavior:auto}.ui-tab-list-tabs{position:relative;display:flex;flex-direction:row;align-items:stretch;width:max-content;min-width:100%}.ui-tab-list-active-bar{position:absolute;bottom:0;left:0;height:var(--ui-tabs-indicator-thickness, var(--ui-tabs-active-bar-size, var(--stroke-default)));border-radius:var(--radius-full);background-color:var(--ui-tabs-indicator-color, var(--ui-tabs-active-bar-color, var(--navigation-highoutlined-stroke-active)));pointer-events:none;will-change:transform,width;transition:transform var(--ui-motion-duration, var(--motion-toggle-duration, var(--transition-default))) var(--ui-motion-easing, var(--motion-toggle-easing, var(--transition-easeinout))) var(--ui-motion-delay, 0ms),width var(--ui-motion-duration, var(--motion-toggle-duration, var(--transition-default))) var(--ui-motion-easing, var(--motion-toggle-easing, var(--transition-easeinout))) var(--ui-motion-delay, 0ms),height var(--ui-motion-duration, var(--motion-toggle-duration, var(--transition-default))) var(--ui-motion-easing, var(--motion-toggle-easing, var(--transition-easeinout))) var(--ui-motion-delay, 0ms)}.ui-tab-list-active-bar._hidden{opacity:0}@media(prefers-reduced-motion:reduce){.ui-tab-list-active-bar{transition:none}}:root[data-motion=off] .ui-tab-list-active-bar{transition:none}:host._no-motion .ui-tab-list-active-bar{transition:none}.ui-tab-list-nav{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:var(--ui-tabs-nav-size, 2.5rem);align-self:stretch;border:0;background-color:var(--ui-tabs-nav-surface, var(--navigation-highoutlined-surface-default));color:var(--ui-tabs-nav-color, var(--navigation-highoutlined-content-default));cursor:pointer;transition:color var(--ui-control-transition-duration, var(--motion-hover-duration, var(--transition-default))) var(--ui-control-transition-easing, var(--motion-hover-easing, var(--transition-easeinout))),background-color var(--ui-control-transition-duration, var(--motion-hover-duration, var(--transition-default))) var(--ui-control-transition-easing, var(--motion-hover-easing, var(--transition-easeinout)))}.ui-tab-list-nav:hover:not(:disabled){background-color:var(--ui-tabs-nav-surface-hover, var(--navigation-highoutlined-surface-hover));color:var(--ui-tabs-nav-color-hover, var(--navigation-highoutlined-content-hover))}.ui-tab-list-nav:disabled{color:var(--ui-tabs-nav-color-disabled, var(--navigation-highoutlined-content-disabled));cursor:default}:host._vertical{flex-direction:column;align-items:stretch;box-shadow:inset calc(-1 * var(--ui-tabs-track-thickness, var(--stroke-sm))) 0 0 0 var(--ui-tabs-track-stroke, var(--global-border-default))}:host._vertical .ui-tab-list-tabs{flex-direction:column;width:100%}:host._vertical._scrollable .ui-tab-list-scroll{overflow-x:hidden;overflow-y:auto}:host._vertical .ui-tab-list-active-bar{inset:0 0 auto auto;width:var(--ui-tabs-indicator-thickness, var(--ui-tabs-active-bar-size, var(--stroke-default)));height:auto}:host._vertical .ui-tab-list-nav{width:auto;height:var(--ui-tabs-nav-size, 2.5rem);align-self:auto}\n"] }]
|
|
395
395
|
}], ctorParameters: () => [], propDecorators: { ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], prevAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "prevAriaLabel", required: false }] }], nextAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "nextAriaLabel", required: false }] }], tabItems: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => UiTab), { isSignal: true }] }], scrollEl: [{ type: i0.ViewChild, args: ['scroll', { isSignal: true }] }], innerEl: [{ type: i0.ViewChild, args: ['inner', { isSignal: true }] }] } });
|
|
396
396
|
/**
|
|
397
397
|
* ui-tab-panels , thin wrapper grouping the {@link UiTabPanel}s. Fills the
|
|
@@ -1 +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 [attr.data-ripple]=\"tabs.ripple() ? 'on' : 'off'\"\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, {\n transform: (v) => (v == null ? undefined : booleanAttribute(v)),\n });\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:\n pos = (pos + 1) % enabled.length;\n break;\n case prevKey:\n pos = (pos - 1 + enabled.length) % enabled.length;\n break;\n case 'Home':\n pos = 0;\n break;\n case 'End':\n pos = enabled.length - 1;\n 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 /** Ripple Effect */\n ripple = 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(\n forwardRef(() => UiTab),\n { descendants: true },\n );\n /** @ignore Whether a `ui-tab-panels` wrapper is projected at all — some consumers use\n * `ui-tabs` as a navigation menu with no panel (a router outlet renders the content\n * instead, see the `TabMenu` story). `aria-controls` must not point at an id that resolves\n * to nothing. A single presence check on the wrapper (rather than a second\n * `contentChildren` query matched per tab value) — two sibling content-children queries on\n * this component broke `<ng-content>` projection for every `UiTab` but the first, a real\n * Angular/Ivy interaction, not something worth chasing further; this is the query-count-1\n * workaround. */\n private readonly hasPanels = contentChild(\n forwardRef(() => UiTabPanels),\n { descendants: true },\n );\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 — `null` when no `ui-tab-panels` wrapper is\n * projected at all (see `hasPanels` above), so the tab omits `aria-controls` rather than\n * dangle it. */\n panelId(value: UiTabValue): string | null {\n return this.hasPanels() ? `${this.id}-panel-${value}` : null;\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;MAmCU,KAAK,CAAA;AAlClB,IAAA,WAAA,GAAA;;QAoCE,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,CAAA,IAAI,GAAG,KAAK;4FAAU;;QAEtB,IAAA,CAAA,OAAO,GAAG,KAAK,CAAe,MAAM;oFAAC;;AAErC,QAAA,IAAA,CAAA,SAAS,GAAG,KAAK;iGAAU;;AAGR,QAAA,IAAA,CAAA,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC;;AAG/B,QAAA,IAAA,CAAA,QAAQ,GAAG,SAAS,CAAC,QAAQ,CAAgC,QAAQ;qFAAC;;AAGtE,QAAA,IAAA,CAAA,MAAM,GAAG,QAAQ,CA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SAAS;+BACE,SAAS,EAAA,QAAA,EACT,gBAAgB,EAAA,IAAA,EAYpB;AACJ,wBAAA,KAAK,EAAE,SAAS;AAChB,wBAAA,mBAAmB,EAAE,8BAA8B;AACpD,qBAAA,EAAA,MAAA,EAAA,CAAA,oHAAA,CAAA,EAAA;qhCA8BC,UAAU,CAAC,MAAM,KAAK,CAAC,EAAA,EAAA,GACvB,EAAE,WAAW,EAAE,IAAI,EAAE,oEAWrB,UAAU,CAAC,MAAM,WAAW,CAAC,EAAA,EAAA,GAC7B,EAAE,WAAW,EAAE,IAAI,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AErgBzB;;AAEG;;ACFH;;AAEG;;"}
|
|
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 [attr.data-ripple]=\"tabs.ripple() ? 'on' : 'off'\"\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, {\n transform: (v) => (v == null ? undefined : booleanAttribute(v)),\n });\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:\n pos = (pos + 1) % enabled.length;\n break;\n case prevKey:\n pos = (pos - 1 + enabled.length) % enabled.length;\n break;\n case 'Home':\n pos = 0;\n break;\n case 'End':\n pos = enabled.length - 1;\n 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 /** Ripple Effect */\n ripple = 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(\n forwardRef(() => UiTab),\n { descendants: true },\n );\n /** @ignore Whether a `ui-tab-panels` wrapper is projected at all — some consumers use\n * `ui-tabs` as a navigation menu with no panel (a router outlet renders the content\n * instead, see the `TabMenu` story). `aria-controls` must not point at an id that resolves\n * to nothing. A single presence check on the wrapper (rather than a second\n * `contentChildren` query matched per tab value) — two sibling content-children queries on\n * this component broke `<ng-content>` projection for every `UiTab` but the first, a real\n * Angular/Ivy interaction, not something worth chasing further; this is the query-count-1\n * workaround. */\n private readonly hasPanels = contentChild(\n forwardRef(() => UiTabPanels),\n { descendants: true },\n );\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 — `null` when no `ui-tab-panels` wrapper is\n * projected at all (see `hasPanels` above), so the tab omits `aria-controls` rather than\n * dangle it. */\n panelId(value: UiTabValue): string | null {\n return this.hasPanels() ? `${this.id}-panel-${value}` : null;\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;MAmCU,KAAK,CAAA;AAlClB,IAAA,WAAA,GAAA;;QAoCE,IAAA,CAAA,KAAK,GAAG,KAAK,CAAC,QAAQ;kFAAc;;QAEpC,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,KAAK,gFAAI,SAAS,EAAE,gBAAgB,E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,EAAA,EAAA,CAAA,UAAA,CAAA,MA4BE,KAAK,CAAA,EAAA,WAAA,EAAA,IAAA,EAAA,QAAA,EAAA,IAAA,EAAA,EAAA,EAAA,YAAA,EAAA,WAAA,EAAA,KAAA,EAAA,IAAA,EAAA,SAAA,EAAA,EAAA,CAAA,UAAA,CAAA,MAYL,WAAW,iEAzDpB,gBAAgB,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,oHAAA,CAAA,EAAA,CAAA,CAAA;;2FAiBf,MAAM,EAAA,UAAA,EAAA,CAAA;kBAnBlB,SAAS;+BACE,SAAS,EAAA,QAAA,EACT,gBAAgB,EAAA,IAAA,EAYpB;AACJ,wBAAA,KAAK,EAAE,SAAS;AAChB,wBAAA,mBAAmB,EAAE,8BAA8B;AACpD,qBAAA,EAAA,MAAA,EAAA,CAAA,oHAAA,CAAA,EAAA;qhCA8BC,UAAU,CAAC,MAAM,KAAK,CAAC,EAAA,EAAA,GACvB,EAAE,WAAW,EAAE,IAAI,EAAE,oEAWrB,UAAU,CAAC,MAAM,WAAW,CAAC,EAAA,EAAA,GAC7B,EAAE,WAAW,EAAE,IAAI,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AErgBzB;;AAEG;;ACFH;;AAEG;;"}
|
|
@@ -65,10 +65,13 @@ class UiPaginator {
|
|
|
65
65
|
/** Accessible names of the edge / step controls. */
|
|
66
66
|
this.firstPageAriaLabel = input('Première page', /* @ts-ignore */
|
|
67
67
|
...(ngDevMode ? [{ debugName: "firstPageAriaLabel" }] : /* istanbul ignore next */ []));
|
|
68
|
+
/** Accessible name of the previous-page control. */
|
|
68
69
|
this.prevPageAriaLabel = input('Page précédente', /* @ts-ignore */
|
|
69
70
|
...(ngDevMode ? [{ debugName: "prevPageAriaLabel" }] : /* istanbul ignore next */ []));
|
|
71
|
+
/** Accessible name of the next-page control. */
|
|
70
72
|
this.nextPageAriaLabel = input('Page suivante', /* @ts-ignore */
|
|
71
73
|
...(ngDevMode ? [{ debugName: "nextPageAriaLabel" }] : /* istanbul ignore next */ []));
|
|
74
|
+
/** Accessible name of the last-page control. */
|
|
72
75
|
this.lastPageAriaLabel = input('Dernière page', /* @ts-ignore */
|
|
73
76
|
...(ngDevMode ? [{ debugName: "lastPageAriaLabel" }] : /* istanbul ignore next */ []));
|
|
74
77
|
/** Accessible name of the rows-per-page select. */
|
|
@@ -228,11 +231,11 @@ class UiPaginator {
|
|
|
228
231
|
});
|
|
229
232
|
}
|
|
230
233
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiPaginator, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
231
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.7", 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 }, ripple: { classPropertyName: "ripple", publicName: "ripple", 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 [attr.data-ripple]=\"ripple() ? 'on' : 'off'\"\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 [attr.data-ripple]=\"ripple() ? 'on' : 'off'\"\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 [attr.data-ripple]=\"ripple() ? 'on' : 'off'\"\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\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"pageLinkContext(item)\"\n />\n } @else {\n {{ item + 1 }}\n }\n </button>\n }\n }\n </div>\n }\n\n <button\n type=\"button\"\n [attr.data-ripple]=\"ripple() ? 'on' : 'off'\"\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 [attr.data-ripple]=\"ripple() ? 'on' : 'off'\"\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(--ui-paginator-button-surface, var(--navigation-high-surface-default));color:var(--ui-paginator-button-color, var(--navigation-high-content-default));font-family:var(--ui-paginator-font-family, var(--fontfamily-base));font-size:var(--size-typography-text-md);font-weight:var(--ui-paginator-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(--ui-paginator-button-surface-hover, var(--navigation-high-surface-hover));color:var(--ui-paginator-button-color-hover, var(--navigation-high-content-hover))}.ui-paginator-control:focus-visible{outline:none;background-color:var(--ui-paginator-button-surface-focus, var(--navigation-high-surface-focused));color:var(--ui-paginator-button-color-focus, 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(--ui-paginator-button-focus-ring-color, var(--navigation-high-stroke-focused))}.ui-paginator-control:active:not(:disabled){background-color:var(--ui-paginator-button-surface-pressed, var(--navigation-high-surface-pressed));color:var(--ui-paginator-button-color-pressed, 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(--ui-paginator-control-surface-disabled, var(--navigation-high-surface-disabled));color:var(--ui-paginator-control-color-disabled, 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(--ui-paginator-button-surface, var(--navigation-high-surface-default));color:var(--ui-paginator-button-color, var(--navigation-high-content-default));font-family:var(--ui-paginator-font-family, var(--fontfamily-base));font-size:var(--size-typography-text-md);font-weight:var(--ui-paginator-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(--ui-paginator-button-surface-hover, var(--navigation-high-surface-hover));color:var(--ui-paginator-button-color-hover, var(--navigation-high-content-hover))}.ui-paginator-page:focus-visible{outline:none;background-color:var(--ui-paginator-button-surface-focus, var(--navigation-high-surface-focused));color:var(--ui-paginator-button-color-focus, 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(--ui-paginator-button-focus-ring-color, var(--navigation-high-stroke-focused))}.ui-paginator-page:active:not(:disabled){background-color:var(--ui-paginator-button-surface-pressed, var(--navigation-high-surface-pressed));color:var(--ui-paginator-button-color-pressed, 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(--ui-paginator-page-surface-disabled, var(--actions-low-surface-disabled));color:var(--ui-paginator-page-color-disabled, 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(--ui-paginator-page-surface-current, var(--navigation-high-surface-active));color:var(--ui-paginator-page-color-current, var(--navigation-high-content-active))}.ui-paginator-report{display:inline-flex;align-items:center;color:var(--ui-paginator-report-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(--ui-paginator-slot-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(--ui-paginator-ellipsis-color, var(--navigation-high-content-default));font-size:var(--size-typography-text-md);font-weight:var(--ui-paginator-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", "showIcon", "filter", "filterPlaceholder", "filterAriaLabel", "filterBy", "autofocusFilter", "resetFilterOnHide", "ripple", "emptyMessage", "emptyFilterMessage", "editable", "loading", "autoOptionFocus", "selectOnFocus", "focusOnHover", "virtualScroll", "virtualScrollItemSize", "lazy", "scrollHeight", "autoFlip", "panelStyleClass", "panelWidth"], outputs: ["valueChange", "opened", "closed", "cleared", "filterChange", "lazyLoad", "inputFocus", "inputBlur"] }] }); }
|
|
234
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.7", 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 }, ripple: { classPropertyName: "ripple", publicName: "ripple", 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 [attr.data-ripple]=\"ripple() ? 'on' : 'off'\"\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 [attr.data-ripple]=\"ripple() ? 'on' : 'off'\"\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 [attr.data-ripple]=\"ripple() ? 'on' : 'off'\"\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\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"pageLinkContext(item)\"\n />\n } @else {\n {{ item + 1 }}\n }\n </button>\n }\n }\n </div>\n }\n\n <button\n type=\"button\"\n [attr.data-ripple]=\"ripple() ? 'on' : 'off'\"\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 [attr.data-ripple]=\"ripple() ? 'on' : 'off'\"\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(--ui-paginator-button-surface, var(--navigation-high-surface-default));color:var(--ui-paginator-button-color, var(--navigation-high-content-default));font-family:var(--ui-paginator-font-family, var(--fontfamily-base));font-size:var(--size-typography-text-md);font-weight:var(--ui-paginator-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(--motion-hover-duration, var(--transition-default))) var(--ui-control-transition-easing, var(--motion-hover-easing, var(--transition-easeinout))),color var(--ui-control-transition-duration, var(--motion-hover-duration, var(--transition-default))) var(--ui-control-transition-easing, var(--motion-hover-easing, var(--transition-easeinout))),box-shadow var(--ui-control-transition-duration, var(--motion-hover-duration, var(--transition-default))) var(--ui-control-transition-easing, var(--motion-hover-easing, var(--transition-easeinout)))}.ui-paginator-control:hover:not(:disabled){background-color:var(--ui-paginator-button-surface-hover, var(--navigation-high-surface-hover));color:var(--ui-paginator-button-color-hover, var(--navigation-high-content-hover))}.ui-paginator-control:focus-visible{outline:none;background-color:var(--ui-paginator-button-surface-focus, var(--navigation-high-surface-focused));color:var(--ui-paginator-button-color-focus, 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(--ui-paginator-button-focus-ring-color, var(--navigation-high-stroke-focused))}.ui-paginator-control:active:not(:disabled){background-color:var(--ui-paginator-button-surface-pressed, var(--navigation-high-surface-pressed));color:var(--ui-paginator-button-color-pressed, 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(--ui-paginator-control-surface-disabled, var(--navigation-high-surface-disabled));color:var(--ui-paginator-control-color-disabled, 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(--ui-paginator-button-surface, var(--navigation-high-surface-default));color:var(--ui-paginator-button-color, var(--navigation-high-content-default));font-family:var(--ui-paginator-font-family, var(--fontfamily-base));font-size:var(--size-typography-text-md);font-weight:var(--ui-paginator-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(--motion-hover-duration, var(--transition-default))) var(--ui-control-transition-easing, var(--motion-hover-easing, var(--transition-easeinout))),color var(--ui-control-transition-duration, var(--motion-hover-duration, var(--transition-default))) var(--ui-control-transition-easing, var(--motion-hover-easing, var(--transition-easeinout))),box-shadow var(--ui-control-transition-duration, var(--motion-hover-duration, var(--transition-default))) var(--ui-control-transition-easing, var(--motion-hover-easing, var(--transition-easeinout)))}.ui-paginator-page:hover:not(:disabled){background-color:var(--ui-paginator-button-surface-hover, var(--navigation-high-surface-hover));color:var(--ui-paginator-button-color-hover, var(--navigation-high-content-hover))}.ui-paginator-page:focus-visible{outline:none;background-color:var(--ui-paginator-button-surface-focus, var(--navigation-high-surface-focused));color:var(--ui-paginator-button-color-focus, 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(--ui-paginator-button-focus-ring-color, var(--navigation-high-stroke-focused))}.ui-paginator-page:active:not(:disabled){background-color:var(--ui-paginator-button-surface-pressed, var(--navigation-high-surface-pressed));color:var(--ui-paginator-button-color-pressed, 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(--ui-paginator-page-surface-disabled, var(--actions-low-surface-disabled));color:var(--ui-paginator-page-color-disabled, 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(--ui-paginator-page-surface-current, var(--navigation-high-surface-active));color:var(--ui-paginator-page-color-current, var(--navigation-high-content-active))}.ui-paginator-report{display:inline-flex;align-items:center;color:var(--ui-paginator-report-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(--ui-paginator-slot-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(--ui-paginator-ellipsis-color, var(--navigation-high-content-default));font-size:var(--size-typography-text-md);font-weight:var(--ui-paginator-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", "showIcon", "filter", "filterPlaceholder", "filterAriaLabel", "filterBy", "autofocusFilter", "resetFilterOnHide", "ripple", "emptyMessage", "emptyFilterMessage", "editable", "loading", "autoOptionFocus", "selectOnFocus", "focusOnHover", "virtualScroll", "virtualScrollItemSize", "lazy", "scrollHeight", "autoFlip", "panelStyleClass", "panelWidth"], outputs: ["valueChange", "opened", "closed", "cleared", "filterChange", "lazyLoad", "inputFocus", "inputBlur"] }] }); }
|
|
232
235
|
}
|
|
233
236
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiPaginator, decorators: [{
|
|
234
237
|
type: Component,
|
|
235
|
-
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 [attr.data-ripple]=\"ripple() ? 'on' : 'off'\"\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 [attr.data-ripple]=\"ripple() ? 'on' : 'off'\"\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 [attr.data-ripple]=\"ripple() ? 'on' : 'off'\"\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\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"pageLinkContext(item)\"\n />\n } @else {\n {{ item + 1 }}\n }\n </button>\n }\n }\n </div>\n }\n\n <button\n type=\"button\"\n [attr.data-ripple]=\"ripple() ? 'on' : 'off'\"\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 [attr.data-ripple]=\"ripple() ? 'on' : 'off'\"\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(--ui-paginator-button-surface, var(--navigation-high-surface-default));color:var(--ui-paginator-button-color, var(--navigation-high-content-default));font-family:var(--ui-paginator-font-family, var(--fontfamily-base));font-size:var(--size-typography-text-md);font-weight:var(--ui-paginator-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(--ui-paginator-button-surface-hover, var(--navigation-high-surface-hover));color:var(--ui-paginator-button-color-hover, var(--navigation-high-content-hover))}.ui-paginator-control:focus-visible{outline:none;background-color:var(--ui-paginator-button-surface-focus, var(--navigation-high-surface-focused));color:var(--ui-paginator-button-color-focus, 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(--ui-paginator-button-focus-ring-color, var(--navigation-high-stroke-focused))}.ui-paginator-control:active:not(:disabled){background-color:var(--ui-paginator-button-surface-pressed, var(--navigation-high-surface-pressed));color:var(--ui-paginator-button-color-pressed, 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(--ui-paginator-control-surface-disabled, var(--navigation-high-surface-disabled));color:var(--ui-paginator-control-color-disabled, 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(--ui-paginator-button-surface, var(--navigation-high-surface-default));color:var(--ui-paginator-button-color, var(--navigation-high-content-default));font-family:var(--ui-paginator-font-family, var(--fontfamily-base));font-size:var(--size-typography-text-md);font-weight:var(--ui-paginator-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(--ui-paginator-button-surface-hover, var(--navigation-high-surface-hover));color:var(--ui-paginator-button-color-hover, var(--navigation-high-content-hover))}.ui-paginator-page:focus-visible{outline:none;background-color:var(--ui-paginator-button-surface-focus, var(--navigation-high-surface-focused));color:var(--ui-paginator-button-color-focus, 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(--ui-paginator-button-focus-ring-color, var(--navigation-high-stroke-focused))}.ui-paginator-page:active:not(:disabled){background-color:var(--ui-paginator-button-surface-pressed, var(--navigation-high-surface-pressed));color:var(--ui-paginator-button-color-pressed, 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(--ui-paginator-page-surface-disabled, var(--actions-low-surface-disabled));color:var(--ui-paginator-page-color-disabled, 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(--ui-paginator-page-surface-current, var(--navigation-high-surface-active));color:var(--ui-paginator-page-color-current, var(--navigation-high-content-active))}.ui-paginator-report{display:inline-flex;align-items:center;color:var(--ui-paginator-report-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(--ui-paginator-slot-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(--ui-paginator-ellipsis-color, var(--navigation-high-content-default));font-size:var(--size-typography-text-md);font-weight:var(--ui-paginator-weight, var(--weight-bold));-webkit-user-select:none;user-select:none}\n"] }]
|
|
238
|
+
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 [attr.data-ripple]=\"ripple() ? 'on' : 'off'\"\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 [attr.data-ripple]=\"ripple() ? 'on' : 'off'\"\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 [attr.data-ripple]=\"ripple() ? 'on' : 'off'\"\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\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"pageLinkContext(item)\"\n />\n } @else {\n {{ item + 1 }}\n }\n </button>\n }\n }\n </div>\n }\n\n <button\n type=\"button\"\n [attr.data-ripple]=\"ripple() ? 'on' : 'off'\"\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 [attr.data-ripple]=\"ripple() ? 'on' : 'off'\"\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(--ui-paginator-button-surface, var(--navigation-high-surface-default));color:var(--ui-paginator-button-color, var(--navigation-high-content-default));font-family:var(--ui-paginator-font-family, var(--fontfamily-base));font-size:var(--size-typography-text-md);font-weight:var(--ui-paginator-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(--motion-hover-duration, var(--transition-default))) var(--ui-control-transition-easing, var(--motion-hover-easing, var(--transition-easeinout))),color var(--ui-control-transition-duration, var(--motion-hover-duration, var(--transition-default))) var(--ui-control-transition-easing, var(--motion-hover-easing, var(--transition-easeinout))),box-shadow var(--ui-control-transition-duration, var(--motion-hover-duration, var(--transition-default))) var(--ui-control-transition-easing, var(--motion-hover-easing, var(--transition-easeinout)))}.ui-paginator-control:hover:not(:disabled){background-color:var(--ui-paginator-button-surface-hover, var(--navigation-high-surface-hover));color:var(--ui-paginator-button-color-hover, var(--navigation-high-content-hover))}.ui-paginator-control:focus-visible{outline:none;background-color:var(--ui-paginator-button-surface-focus, var(--navigation-high-surface-focused));color:var(--ui-paginator-button-color-focus, 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(--ui-paginator-button-focus-ring-color, var(--navigation-high-stroke-focused))}.ui-paginator-control:active:not(:disabled){background-color:var(--ui-paginator-button-surface-pressed, var(--navigation-high-surface-pressed));color:var(--ui-paginator-button-color-pressed, 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(--ui-paginator-control-surface-disabled, var(--navigation-high-surface-disabled));color:var(--ui-paginator-control-color-disabled, 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(--ui-paginator-button-surface, var(--navigation-high-surface-default));color:var(--ui-paginator-button-color, var(--navigation-high-content-default));font-family:var(--ui-paginator-font-family, var(--fontfamily-base));font-size:var(--size-typography-text-md);font-weight:var(--ui-paginator-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(--motion-hover-duration, var(--transition-default))) var(--ui-control-transition-easing, var(--motion-hover-easing, var(--transition-easeinout))),color var(--ui-control-transition-duration, var(--motion-hover-duration, var(--transition-default))) var(--ui-control-transition-easing, var(--motion-hover-easing, var(--transition-easeinout))),box-shadow var(--ui-control-transition-duration, var(--motion-hover-duration, var(--transition-default))) var(--ui-control-transition-easing, var(--motion-hover-easing, var(--transition-easeinout)))}.ui-paginator-page:hover:not(:disabled){background-color:var(--ui-paginator-button-surface-hover, var(--navigation-high-surface-hover));color:var(--ui-paginator-button-color-hover, var(--navigation-high-content-hover))}.ui-paginator-page:focus-visible{outline:none;background-color:var(--ui-paginator-button-surface-focus, var(--navigation-high-surface-focused));color:var(--ui-paginator-button-color-focus, 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(--ui-paginator-button-focus-ring-color, var(--navigation-high-stroke-focused))}.ui-paginator-page:active:not(:disabled){background-color:var(--ui-paginator-button-surface-pressed, var(--navigation-high-surface-pressed));color:var(--ui-paginator-button-color-pressed, 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(--ui-paginator-page-surface-disabled, var(--actions-low-surface-disabled));color:var(--ui-paginator-page-color-disabled, 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(--ui-paginator-page-surface-current, var(--navigation-high-surface-active));color:var(--ui-paginator-page-color-current, var(--navigation-high-content-active))}.ui-paginator-report{display:inline-flex;align-items:center;color:var(--ui-paginator-report-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(--ui-paginator-slot-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(--ui-paginator-ellipsis-color, var(--navigation-high-content-default));font-size:var(--size-typography-text-md);font-weight:var(--ui-paginator-weight, var(--weight-bold));-webkit-user-select:none;user-select:none}\n"] }]
|
|
236
239
|
}], 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 }] }], ripple: [{ type: i0.Input, args: [{ isSignal: true, alias: "ripple", 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 }] }] } });
|
|
237
240
|
|
|
238
241
|
/*
|