@4sh/ui-kit 0.12.0 → 0.13.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.
Files changed (33) hide show
  1. package/README.md +5 -0
  2. package/fesm2022/4sh-ui-kit-forms-ui-autocomplete.mjs +2 -2
  3. package/fesm2022/4sh-ui-kit-forms-ui-autocomplete.mjs.map +1 -1
  4. package/fesm2022/4sh-ui-kit-forms-ui-editor.mjs +1 -1
  5. package/fesm2022/4sh-ui-kit-forms-ui-editor.mjs.map +1 -1
  6. package/fesm2022/4sh-ui-kit-forms-ui-field.mjs +2 -2
  7. package/fesm2022/4sh-ui-kit-forms-ui-field.mjs.map +1 -1
  8. package/fesm2022/4sh-ui-kit-forms-ui-input-date.mjs +2 -2
  9. package/fesm2022/4sh-ui-kit-forms-ui-input-date.mjs.map +1 -1
  10. package/fesm2022/4sh-ui-kit-forms-ui-input-group.mjs +75 -15
  11. package/fesm2022/4sh-ui-kit-forms-ui-input-group.mjs.map +1 -1
  12. package/fesm2022/4sh-ui-kit-forms-ui-input-mask.mjs +2 -2
  13. package/fesm2022/4sh-ui-kit-forms-ui-input-mask.mjs.map +1 -1
  14. package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs +2 -2
  15. package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs.map +1 -1
  16. package/fesm2022/4sh-ui-kit-forms-ui-input-tags.mjs +2 -2
  17. package/fesm2022/4sh-ui-kit-forms-ui-input-tags.mjs.map +1 -1
  18. package/fesm2022/4sh-ui-kit-forms-ui-input.mjs +2 -2
  19. package/fesm2022/4sh-ui-kit-forms-ui-input.mjs.map +1 -1
  20. package/fesm2022/4sh-ui-kit-forms-ui-select.mjs +5 -3
  21. package/fesm2022/4sh-ui-kit-forms-ui-select.mjs.map +1 -1
  22. package/fesm2022/4sh-ui-kit-forms-ui-textarea.mjs +2 -2
  23. package/fesm2022/4sh-ui-kit-forms-ui-textarea.mjs.map +1 -1
  24. package/fesm2022/4sh-ui-kit-table-ui-paginator.mjs +1 -1
  25. package/fesm2022/4sh-ui-kit-table-ui-paginator.mjs.map +1 -1
  26. package/mcp/data/text-search-docs.json +37 -7
  27. package/mcp/data/ui-config.json +154 -1
  28. package/mcp/package.json +1 -1
  29. package/package.json +1 -1
  30. package/styles/component-vars.scss +8 -1
  31. package/styles/utils/_mixins.scss +9 -10
  32. package/types/4sh-ui-kit-forms-ui-input-group.d.ts +47 -15
  33. package/types/4sh-ui-kit-forms-ui-select.d.ts +3 -1
@@ -228,7 +228,7 @@ class UiPaginator {
228
228
  });
229
229
  }
230
230
  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\">&hellip;</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", "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"] }] }); }
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\">&hellip;</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"] }] }); }
232
232
  }
233
233
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: UiPaginator, decorators: [{
234
234
  type: Component,
@@ -1 +1 @@
1
- {"version":3,"file":"4sh-ui-kit-table-ui-paginator.mjs","sources":["../../../projects/ui-kit/table/ui-paginator/src/lib/ui-paginator.ts","../../../projects/ui-kit/table/ui-paginator/src/lib/ui-paginator.html","../../../projects/ui-kit/table/ui-paginator/src/public-api.ts","../../../projects/ui-kit/table/ui-paginator/src/4sh-ui-kit-table-ui-paginator.ts"],"sourcesContent":["import {\n booleanAttribute,\n Component,\n computed,\n contentChild,\n input,\n linkedSignal,\n model,\n numberAttribute,\n output,\n TemplateRef,\n} from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\nimport { UiIcon } from '@4sh/ui-kit/base/ui-icon';\nimport { UiSelect } from '@4sh/ui-kit/forms/ui-select';\n\n/** Payload of `pageChange`. */\nexport interface UiPaginatorPageEvent {\n /** Index of the first row of the page. */\n first: number;\n /** Rows per page. */\n rows: number;\n /** Zero-based page index. */\n page: number;\n pageCount: number;\n}\n\n/** Context handed to the `#pagelink` template. */\nexport interface UiPaginatorPageLinkContext {\n /** One-based page number (display value). */\n $implicit: number;\n /** Zero-based page index. */\n page: number;\n /** True for the current page. */\n active: boolean;\n}\n\n/** Pagination snapshot handed to the `#start` / `#end` / `#report` templates. */\nexport interface UiPaginatorState {\n /** One-based index of the first displayed row (0 when empty). */\n first: number;\n /** One-based index of the last displayed row. */\n last: number;\n rows: number;\n /** Zero-based current page. */\n page: number;\n pageCount: number;\n totalRecords: number;\n}\n\n/** @ignore Sentinel used in the page-item list to mark an ellipsis gap. */\nconst ELLIPSIS = -1;\n\n/**\n * ui-paginator — standalone pagination bar.\n *\n * Faithful to the Figma `ui-paginator` component: native `<button>` controls\n * and page numbers styled straight with the `actions.low` tokens (current\n * page in `actions.high`), 40px squircles (`--radius-default`), `ui-icon`\n * chevrons, plus an `ui-select` rows-per-page choice. Used by `ui-table`,\n * works standalone over any collection: bind `totalRecords`, `rows` and the\n * two-way `first`.\n *\n * With `ellipsis`, long page lists collapse to `1 2 3 … 30 31 32`\n * (`boundaryCount` pages on each edge + the current page neighborhood).\n * The control icons and the page-link content are overridable via the\n * `#firsticon` / `#previcon` / `#nexticon` / `#lasticon` / `#pagelink`\n * templates.\n */\n@Component({\n selector: 'ui-paginator',\n imports: [NgTemplateOutlet, FormsModule, UiIcon, UiSelect],\n templateUrl: './ui-paginator.html',\n styleUrl: './ui-paginator.scss',\n})\nexport class UiPaginator {\n /** Total number of rows across all pages. */\n totalRecords = input(0, { transform: numberAttribute });\n /** Rows per page. Two-way bindable (updated by the rows-per-page select). */\n rows = model(10);\n /** Index of the first displayed row. Two-way bindable (programmatic pagination). */\n first = model(0);\n /** Maximum number of page-number buttons (windowed mode, without `ellipsis`). */\n pageLinks = input(5, { transform: numberAttribute });\n /** Compact mode: `1 2 3 … 30 31 32` — edges + current-page neighborhood, `…` in the gaps. */\n ellipsis = input(false, { transform: booleanAttribute });\n /** Pages always shown on each edge in `ellipsis` mode. */\n boundaryCount = input(3, { transform: numberAttribute });\n /** Choices offered in the rows-per-page select (omit to hide it — Figma `selectPage`). */\n rowsPerPageOptions = input<number[]>();\n /** Shows the \"first page\" / \"last page\" edge controls. */\n showFirstLastIcon = input(true, { transform: booleanAttribute });\n /** Shows the page-number buttons (disable for a compact prev/next bar). */\n showPageLinks = input(true, { transform: booleanAttribute });\n /** Shows the current-page report (e.g. `1 - 10 sur 120`). */\n showCurrentPageReport = input(false, { transform: booleanAttribute });\n /** Report pattern — placeholders: `{first}` `{last}` `{rows}` `{page}` `{pageCount}` `{totalRecords}`. */\n currentPageReportTemplate = input<string>('{first} - {last} sur {totalRecords}');\n /** Disables every control. */\n disabled = input(false, { transform: booleanAttribute });\n /** Ripple Effect */\n ripple = input(true, { transform: booleanAttribute });\n /** Accessible name of the navigation landmark. */\n ariaLabel = input<string>('Pagination');\n /** Accessible name pattern of a page button (`{page}` is replaced). */\n pageAriaLabel = input<string>('Page {page}');\n /** Accessible names of the edge / step controls. */\n firstPageAriaLabel = input<string>('Première page');\n prevPageAriaLabel = input<string>('Page précédente');\n nextPageAriaLabel = input<string>('Page suivante');\n lastPageAriaLabel = input<string>('Dernière page');\n /** Accessible name of the rows-per-page select. */\n rowsPerPageAriaLabel = input<string>('Lignes par page');\n\n /** Emitted on any pagination change (navigation or rows-per-page). */\n pageChange = output<UiPaginatorPageEvent>();\n\n // --- Templates (projected) — override the default content of each element.\n /** @ignore Icon of the \"first page\" control. */\n protected readonly firstIconTemplate = contentChild<TemplateRef<unknown>>('firsticon');\n /** @ignore Icon of the \"previous page\" control. */\n protected readonly prevIconTemplate = contentChild<TemplateRef<unknown>>('previcon');\n /** @ignore Icon of the \"next page\" control. */\n protected readonly nextIconTemplate = contentChild<TemplateRef<unknown>>('nexticon');\n /** @ignore Icon of the \"last page\" control. */\n protected readonly lastIconTemplate = contentChild<TemplateRef<unknown>>('lasticon');\n /** @ignore Content of a page-number button (context: number, page, active). */\n protected readonly pageLinkTemplate =\n contentChild<TemplateRef<UiPaginatorPageLinkContext>>('pagelink');\n /** @ignore Free content rendered before the controls (context: pagination state). */\n protected readonly startTemplate =\n contentChild<TemplateRef<{ $implicit: UiPaginatorState }>>('start');\n /** @ignore Free content rendered after the rows-per-page select (context: pagination state). */\n protected readonly endTemplate =\n contentChild<TemplateRef<{ $implicit: UiPaginatorState }>>('end');\n /** @ignore Rich current-page report (overrides `currentPageReportTemplate`). */\n protected readonly reportTemplate =\n contentChild<TemplateRef<{ $implicit: UiPaginatorState }>>('report');\n\n /** @ignore Exposes the ellipsis sentinel to the template. */\n protected readonly ELLIPSIS = ELLIPSIS;\n\n /** @ignore Rows-per-page kept locally so the select can drive it. */\n protected readonly rowsState = linkedSignal(() => Math.max(1, this.rows()));\n\n /** @ignore */\n protected readonly pageCount = computed(() =>\n Math.max(1, Math.ceil(this.totalRecords() / this.rowsState())),\n );\n /** @ignore `first` clamped to the dataset (data may shrink under the cursor). */\n protected readonly clampedFirst = computed(() => {\n const maxFirst = (this.pageCount() - 1) * this.rowsState();\n return Math.min(Math.max(0, this.first()), maxFirst);\n });\n /** @ignore Zero-based current page. */\n protected readonly currentPage = computed(() =>\n Math.floor(this.clampedFirst() / this.rowsState()),\n );\n\n /** @ignore Page items to render: zero-based page indexes, `ELLIPSIS` for a gap. */\n protected readonly pageItems = computed<number[]>(() => {\n const count = this.pageCount();\n const current = this.currentPage();\n\n if (!this.ellipsis()) {\n // Windowed mode: `pageLinks` numbers centered on the current page.\n const visible = Math.min(this.pageLinks(), count);\n const start = Math.max(0, Math.min(current - Math.floor(visible / 2), count - visible));\n return Array.from({ length: visible }, (_, i) => start + i);\n }\n\n // Compact mode: edges + current neighborhood, ellipsis in the gaps.\n const boundary = Math.max(1, this.boundaryCount());\n const pages = new Set<number>();\n for (let i = 0; i < Math.min(boundary, count); i++) pages.add(i);\n for (let i = Math.max(0, current - 1); i <= Math.min(count - 1, current + 1); i++) pages.add(i);\n for (let i = Math.max(0, count - boundary); i < count; i++) pages.add(i);\n\n const sorted = [...pages].sort((a, b) => a - b);\n const items: number[] = [];\n let previous: number | null = null;\n for (const page of sorted) {\n if (previous != null) {\n // A single missing page is cheaper to show than an ellipsis.\n if (page - previous === 2) items.push(previous + 1);\n else if (page - previous > 2) items.push(ELLIPSIS);\n }\n items.push(page);\n previous = page;\n }\n return items;\n });\n\n /** @ignore Pagination snapshot (templates + report placeholders). */\n protected readonly state = computed<UiPaginatorState>(() => {\n const total = this.totalRecords();\n const rows = this.rowsState();\n const first = this.clampedFirst();\n return {\n first: total === 0 ? 0 : first + 1,\n last: Math.min(first + rows, total),\n rows,\n page: this.currentPage(),\n pageCount: this.pageCount(),\n totalRecords: total,\n };\n });\n\n /** @ignore Context shared by the #start / #end / #report templates. */\n protected readonly stateContext = computed(() => ({ $implicit: this.state() }));\n\n /** @ignore Report pattern with its placeholders resolved. */\n protected readonly reportText = computed(() => {\n const state = this.state();\n return this.currentPageReportTemplate()\n .replace('{first}', String(state.first))\n .replace('{last}', String(state.last))\n .replace('{rows}', String(state.rows))\n .replace('{page}', String(state.page + 1))\n .replace('{pageCount}', String(state.pageCount))\n .replace('{totalRecords}', String(state.totalRecords));\n });\n\n /** @ignore */\n protected readonly isFirstPage = computed(() => this.currentPage() === 0);\n /** @ignore */\n protected readonly isLastPage = computed(() => this.currentPage() >= this.pageCount() - 1);\n\n /** @ignore */\n protected goToPage(page: number): void {\n const target = Math.min(Math.max(0, page), this.pageCount() - 1);\n const first = target * this.rowsState();\n if (first === this.first()) return;\n this.first.set(first);\n this.emitPage();\n }\n\n /** @ignore */\n protected onRowsPerPageChange(rows: unknown): void {\n const value = Number(rows);\n if (!Number.isFinite(value) || value <= 0 || value === this.rowsState()) return;\n this.rowsState.set(value);\n this.rows.set(value);\n this.first.set(0);\n this.emitPage();\n }\n\n /** @ignore */\n protected pageLabel(page: number): string {\n return this.pageAriaLabel().replace('{page}', String(page + 1));\n }\n\n /** @ignore */\n protected pageLinkContext(page: number): UiPaginatorPageLinkContext {\n return { $implicit: page + 1, page, active: page === this.currentPage() };\n }\n\n /** @ignore */\n private emitPage(): void {\n this.pageChange.emit({\n first: this.clampedFirst(),\n rows: this.rowsState(),\n page: this.currentPage(),\n pageCount: this.pageCount(),\n });\n }\n}\n","<nav class=\"ui-paginator\" [attr.aria-label]=\"ariaLabel()\">\n @if (startTemplate(); as tpl) {\n <div class=\"ui-paginator-start\">\n <ng-container [ngTemplateOutlet]=\"tpl\" [ngTemplateOutletContext]=\"stateContext()\" />\n </div>\n }\n\n <div class=\"ui-paginator-content\">\n @if (showCurrentPageReport()) {\n <span class=\"ui-paginator-report\">\n @if (reportTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" [ngTemplateOutletContext]=\"stateContext()\" />\n } @else {\n {{ reportText() }}\n }\n </span>\n }\n\n @if (showFirstLastIcon()) {\n <button\n type=\"button\"\n [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\">&hellip;</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","/*\n * Public API Surface of ui-kit/ui-paginator\n */\n\nexport * from './lib/ui-paginator';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;AAmDA;AACA,MAAM,QAAQ,GAAG,CAAC,CAAC;AAEnB;;;;;;;;;;;;;;;AAeG;MAOU,WAAW,CAAA;AANxB,IAAA,WAAA,GAAA;;QAQE,IAAA,CAAA,YAAY,GAAG,KAAK,CAAC,CAAC,oFAAI,SAAS,EAAE,eAAe,EAAA,CAAG;;QAEvD,IAAA,CAAA,IAAI,GAAG,KAAK,CAAC,EAAE;iFAAC;;QAEhB,IAAA,CAAA,KAAK,GAAG,KAAK,CAAC,CAAC;kFAAC;;QAEhB,IAAA,CAAA,SAAS,GAAG,KAAK,CAAC,CAAC,iFAAI,SAAS,EAAE,eAAe,EAAA,CAAG;;QAEpD,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,KAAK,gFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;;QAExD,IAAA,CAAA,aAAa,GA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,EAAA,EAAA,CAAA;;AE1IvE;;AAEG;;ACFH;;AAEG;;"}
1
+ {"version":3,"file":"4sh-ui-kit-table-ui-paginator.mjs","sources":["../../../projects/ui-kit/table/ui-paginator/src/lib/ui-paginator.ts","../../../projects/ui-kit/table/ui-paginator/src/lib/ui-paginator.html","../../../projects/ui-kit/table/ui-paginator/src/public-api.ts","../../../projects/ui-kit/table/ui-paginator/src/4sh-ui-kit-table-ui-paginator.ts"],"sourcesContent":["import {\n booleanAttribute,\n Component,\n computed,\n contentChild,\n input,\n linkedSignal,\n model,\n numberAttribute,\n output,\n TemplateRef,\n} from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\nimport { UiIcon } from '@4sh/ui-kit/base/ui-icon';\nimport { UiSelect } from '@4sh/ui-kit/forms/ui-select';\n\n/** Payload of `pageChange`. */\nexport interface UiPaginatorPageEvent {\n /** Index of the first row of the page. */\n first: number;\n /** Rows per page. */\n rows: number;\n /** Zero-based page index. */\n page: number;\n pageCount: number;\n}\n\n/** Context handed to the `#pagelink` template. */\nexport interface UiPaginatorPageLinkContext {\n /** One-based page number (display value). */\n $implicit: number;\n /** Zero-based page index. */\n page: number;\n /** True for the current page. */\n active: boolean;\n}\n\n/** Pagination snapshot handed to the `#start` / `#end` / `#report` templates. */\nexport interface UiPaginatorState {\n /** One-based index of the first displayed row (0 when empty). */\n first: number;\n /** One-based index of the last displayed row. */\n last: number;\n rows: number;\n /** Zero-based current page. */\n page: number;\n pageCount: number;\n totalRecords: number;\n}\n\n/** @ignore Sentinel used in the page-item list to mark an ellipsis gap. */\nconst ELLIPSIS = -1;\n\n/**\n * ui-paginator — standalone pagination bar.\n *\n * Faithful to the Figma `ui-paginator` component: native `<button>` controls\n * and page numbers styled straight with the `actions.low` tokens (current\n * page in `actions.high`), 40px squircles (`--radius-default`), `ui-icon`\n * chevrons, plus an `ui-select` rows-per-page choice. Used by `ui-table`,\n * works standalone over any collection: bind `totalRecords`, `rows` and the\n * two-way `first`.\n *\n * With `ellipsis`, long page lists collapse to `1 2 3 … 30 31 32`\n * (`boundaryCount` pages on each edge + the current page neighborhood).\n * The control icons and the page-link content are overridable via the\n * `#firsticon` / `#previcon` / `#nexticon` / `#lasticon` / `#pagelink`\n * templates.\n */\n@Component({\n selector: 'ui-paginator',\n imports: [NgTemplateOutlet, FormsModule, UiIcon, UiSelect],\n templateUrl: './ui-paginator.html',\n styleUrl: './ui-paginator.scss',\n})\nexport class UiPaginator {\n /** Total number of rows across all pages. */\n totalRecords = input(0, { transform: numberAttribute });\n /** Rows per page. Two-way bindable (updated by the rows-per-page select). */\n rows = model(10);\n /** Index of the first displayed row. Two-way bindable (programmatic pagination). */\n first = model(0);\n /** Maximum number of page-number buttons (windowed mode, without `ellipsis`). */\n pageLinks = input(5, { transform: numberAttribute });\n /** Compact mode: `1 2 3 … 30 31 32` — edges + current-page neighborhood, `…` in the gaps. */\n ellipsis = input(false, { transform: booleanAttribute });\n /** Pages always shown on each edge in `ellipsis` mode. */\n boundaryCount = input(3, { transform: numberAttribute });\n /** Choices offered in the rows-per-page select (omit to hide it — Figma `selectPage`). */\n rowsPerPageOptions = input<number[]>();\n /** Shows the \"first page\" / \"last page\" edge controls. */\n showFirstLastIcon = input(true, { transform: booleanAttribute });\n /** Shows the page-number buttons (disable for a compact prev/next bar). */\n showPageLinks = input(true, { transform: booleanAttribute });\n /** Shows the current-page report (e.g. `1 - 10 sur 120`). */\n showCurrentPageReport = input(false, { transform: booleanAttribute });\n /** Report pattern — placeholders: `{first}` `{last}` `{rows}` `{page}` `{pageCount}` `{totalRecords}`. */\n currentPageReportTemplate = input<string>('{first} - {last} sur {totalRecords}');\n /** Disables every control. */\n disabled = input(false, { transform: booleanAttribute });\n /** Ripple Effect */\n ripple = input(true, { transform: booleanAttribute });\n /** Accessible name of the navigation landmark. */\n ariaLabel = input<string>('Pagination');\n /** Accessible name pattern of a page button (`{page}` is replaced). */\n pageAriaLabel = input<string>('Page {page}');\n /** Accessible names of the edge / step controls. */\n firstPageAriaLabel = input<string>('Première page');\n prevPageAriaLabel = input<string>('Page précédente');\n nextPageAriaLabel = input<string>('Page suivante');\n lastPageAriaLabel = input<string>('Dernière page');\n /** Accessible name of the rows-per-page select. */\n rowsPerPageAriaLabel = input<string>('Lignes par page');\n\n /** Emitted on any pagination change (navigation or rows-per-page). */\n pageChange = output<UiPaginatorPageEvent>();\n\n // --- Templates (projected) — override the default content of each element.\n /** @ignore Icon of the \"first page\" control. */\n protected readonly firstIconTemplate = contentChild<TemplateRef<unknown>>('firsticon');\n /** @ignore Icon of the \"previous page\" control. */\n protected readonly prevIconTemplate = contentChild<TemplateRef<unknown>>('previcon');\n /** @ignore Icon of the \"next page\" control. */\n protected readonly nextIconTemplate = contentChild<TemplateRef<unknown>>('nexticon');\n /** @ignore Icon of the \"last page\" control. */\n protected readonly lastIconTemplate = contentChild<TemplateRef<unknown>>('lasticon');\n /** @ignore Content of a page-number button (context: number, page, active). */\n protected readonly pageLinkTemplate =\n contentChild<TemplateRef<UiPaginatorPageLinkContext>>('pagelink');\n /** @ignore Free content rendered before the controls (context: pagination state). */\n protected readonly startTemplate =\n contentChild<TemplateRef<{ $implicit: UiPaginatorState }>>('start');\n /** @ignore Free content rendered after the rows-per-page select (context: pagination state). */\n protected readonly endTemplate =\n contentChild<TemplateRef<{ $implicit: UiPaginatorState }>>('end');\n /** @ignore Rich current-page report (overrides `currentPageReportTemplate`). */\n protected readonly reportTemplate =\n contentChild<TemplateRef<{ $implicit: UiPaginatorState }>>('report');\n\n /** @ignore Exposes the ellipsis sentinel to the template. */\n protected readonly ELLIPSIS = ELLIPSIS;\n\n /** @ignore Rows-per-page kept locally so the select can drive it. */\n protected readonly rowsState = linkedSignal(() => Math.max(1, this.rows()));\n\n /** @ignore */\n protected readonly pageCount = computed(() =>\n Math.max(1, Math.ceil(this.totalRecords() / this.rowsState())),\n );\n /** @ignore `first` clamped to the dataset (data may shrink under the cursor). */\n protected readonly clampedFirst = computed(() => {\n const maxFirst = (this.pageCount() - 1) * this.rowsState();\n return Math.min(Math.max(0, this.first()), maxFirst);\n });\n /** @ignore Zero-based current page. */\n protected readonly currentPage = computed(() =>\n Math.floor(this.clampedFirst() / this.rowsState()),\n );\n\n /** @ignore Page items to render: zero-based page indexes, `ELLIPSIS` for a gap. */\n protected readonly pageItems = computed<number[]>(() => {\n const count = this.pageCount();\n const current = this.currentPage();\n\n if (!this.ellipsis()) {\n // Windowed mode: `pageLinks` numbers centered on the current page.\n const visible = Math.min(this.pageLinks(), count);\n const start = Math.max(0, Math.min(current - Math.floor(visible / 2), count - visible));\n return Array.from({ length: visible }, (_, i) => start + i);\n }\n\n // Compact mode: edges + current neighborhood, ellipsis in the gaps.\n const boundary = Math.max(1, this.boundaryCount());\n const pages = new Set<number>();\n for (let i = 0; i < Math.min(boundary, count); i++) pages.add(i);\n for (let i = Math.max(0, current - 1); i <= Math.min(count - 1, current + 1); i++) pages.add(i);\n for (let i = Math.max(0, count - boundary); i < count; i++) pages.add(i);\n\n const sorted = [...pages].sort((a, b) => a - b);\n const items: number[] = [];\n let previous: number | null = null;\n for (const page of sorted) {\n if (previous != null) {\n // A single missing page is cheaper to show than an ellipsis.\n if (page - previous === 2) items.push(previous + 1);\n else if (page - previous > 2) items.push(ELLIPSIS);\n }\n items.push(page);\n previous = page;\n }\n return items;\n });\n\n /** @ignore Pagination snapshot (templates + report placeholders). */\n protected readonly state = computed<UiPaginatorState>(() => {\n const total = this.totalRecords();\n const rows = this.rowsState();\n const first = this.clampedFirst();\n return {\n first: total === 0 ? 0 : first + 1,\n last: Math.min(first + rows, total),\n rows,\n page: this.currentPage(),\n pageCount: this.pageCount(),\n totalRecords: total,\n };\n });\n\n /** @ignore Context shared by the #start / #end / #report templates. */\n protected readonly stateContext = computed(() => ({ $implicit: this.state() }));\n\n /** @ignore Report pattern with its placeholders resolved. */\n protected readonly reportText = computed(() => {\n const state = this.state();\n return this.currentPageReportTemplate()\n .replace('{first}', String(state.first))\n .replace('{last}', String(state.last))\n .replace('{rows}', String(state.rows))\n .replace('{page}', String(state.page + 1))\n .replace('{pageCount}', String(state.pageCount))\n .replace('{totalRecords}', String(state.totalRecords));\n });\n\n /** @ignore */\n protected readonly isFirstPage = computed(() => this.currentPage() === 0);\n /** @ignore */\n protected readonly isLastPage = computed(() => this.currentPage() >= this.pageCount() - 1);\n\n /** @ignore */\n protected goToPage(page: number): void {\n const target = Math.min(Math.max(0, page), this.pageCount() - 1);\n const first = target * this.rowsState();\n if (first === this.first()) return;\n this.first.set(first);\n this.emitPage();\n }\n\n /** @ignore */\n protected onRowsPerPageChange(rows: unknown): void {\n const value = Number(rows);\n if (!Number.isFinite(value) || value <= 0 || value === this.rowsState()) return;\n this.rowsState.set(value);\n this.rows.set(value);\n this.first.set(0);\n this.emitPage();\n }\n\n /** @ignore */\n protected pageLabel(page: number): string {\n return this.pageAriaLabel().replace('{page}', String(page + 1));\n }\n\n /** @ignore */\n protected pageLinkContext(page: number): UiPaginatorPageLinkContext {\n return { $implicit: page + 1, page, active: page === this.currentPage() };\n }\n\n /** @ignore */\n private emitPage(): void {\n this.pageChange.emit({\n first: this.clampedFirst(),\n rows: this.rowsState(),\n page: this.currentPage(),\n pageCount: this.pageCount(),\n });\n }\n}\n","<nav class=\"ui-paginator\" [attr.aria-label]=\"ariaLabel()\">\n @if (startTemplate(); as tpl) {\n <div class=\"ui-paginator-start\">\n <ng-container [ngTemplateOutlet]=\"tpl\" [ngTemplateOutletContext]=\"stateContext()\" />\n </div>\n }\n\n <div class=\"ui-paginator-content\">\n @if (showCurrentPageReport()) {\n <span class=\"ui-paginator-report\">\n @if (reportTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" [ngTemplateOutletContext]=\"stateContext()\" />\n } @else {\n {{ reportText() }}\n }\n </span>\n }\n\n @if (showFirstLastIcon()) {\n <button\n type=\"button\"\n [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\">&hellip;</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","/*\n * Public API Surface of ui-kit/ui-paginator\n */\n\nexport * from './lib/ui-paginator';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;AAmDA;AACA,MAAM,QAAQ,GAAG,CAAC,CAAC;AAEnB;;;;;;;;;;;;;;;AAeG;MAOU,WAAW,CAAA;AANxB,IAAA,WAAA,GAAA;;QAQE,IAAA,CAAA,YAAY,GAAG,KAAK,CAAC,CAAC,oFAAI,SAAS,EAAE,eAAe,EAAA,CAAG;;QAEvD,IAAA,CAAA,IAAI,GAAG,KAAK,CAAC,EAAE;iFAAC;;QAEhB,IAAA,CAAA,KAAK,GAAG,KAAK,CAAC,CAAC;kFAAC;;QAEhB,IAAA,CAAA,SAAS,GAAG,KAAK,CAAC,CAAC,iFAAI,SAAS,EAAE,eAAe,EAAA,CAAG;;QAEpD,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC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,EAAA,CAGP,KAAK,2EAGL,QAAQ,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AE1IvE;;AAEG;;ACFH;;AAEG;;"}
@@ -2609,7 +2609,7 @@
2609
2609
  "title": "Components/ui/forms/ui-input-group",
2610
2610
  "name": "ui-input-group",
2611
2611
  "section": null,
2612
- "text": "ui-input-group Colle un contrôle et ses compléments (texte, icône, bouton, case à cocher, liste déroulante) sur une même rangée, pour qu'ils se lisent comme un seul champ : coins arrondis uniquement aux extrémités, trait partagé fusionné entre deux voisins. Composant purement présentationnel : chaque enfant conserve son API, ses états et ses tokens. Le groupe se contente de la mise en rangée et du raccord visuel ( --radius-sm aux extrémités, recouvrement égal à --stroke-default ). Deux briques : ui-input-group : la rangée. Les contrôles ( ui-input , ui-input-number , ui-select , ui-button …) y sont posés directement. ui-input-group-addon : une cellule non interactive (texte, icône, ui-checkbox , ui-radio ), alignée sur la hauteur de champ.",
2612
+ "text": "ui-input-group Colle un contrôle et ses compléments (texte, icône, bouton, case à cocher, liste déroulante) sur une même rangée, pour qu'ils se lisent comme un seul champ : coins arrondis uniquement aux extrémités, trait partagé fusionné entre deux voisins. Chaque enfant conserve son API, ses états et ses tokens. Le groupe se charge de la mise en rangée et du raccord visuel ( --radius-sm aux extrémités, recouvrement égal à --stroke-default ) et, au besoin, de l'habillage d'un champ : libellé au-dessus, message en dessous. Deux briques : ui-input-group : la rangée. Les contrôles ( ui-input , ui-input-number , ui-select , ui-button …) y sont posés directement. ui-input-group-addon : une cellule non interactive (texte, icône, ui-checkbox , ui-radio ), alignée sur la hauteur de champ.",
2613
2613
  "source": "projects/ui-kit/forms/ui-input-group/ui-input-group.mdx"
2614
2614
  },
2615
2615
  {
@@ -2619,7 +2619,7 @@
2619
2619
  "title": "Components/ui/forms/ui-input-group",
2620
2620
  "name": "ui-input-group",
2621
2621
  "section": "API",
2622
- "text": "size inline-radio default small Taille transmise aux `ui-input-group-addon` projetés (les contrôles gardent leur propre `size`). FieldSize \"default\"",
2622
+ "text": "size inline-radio default small Taille transmise au libellé et aux `ui-input-group-addon` projetés (les contrôles gardent leur propre `size`). FieldSize \"default\" label text Libellé au-dessus du groupe (via `ui-label`). Il nomme le groupe (`role=\"group\"`), pas les contrôles, qui gardent leur `ariaLabel`. string required boolean Astérisque sur le libellé, purement visuel : les contrôles obligatoires portent eux-mêmes `required`. boolean false message text Message sous le groupe (aide ou erreur, via `ui-helper`), relié au groupe par `aria-describedby`. string level inline-radio default success error Statut de validation : teinte le message et les bordures des champs et add-ons projetés. Prime sur le `level` propre des contrôles. FieldLevel \"default\" showMessageIcon boolean Préfixe le message d'une icône décorative. Éteinte par défaut. boolean false messageIcon text Glyphe du message. Vide = l'icône déduite du `level`. N'allume pas l'icône à lui seul. string merged boolean Une seule boîte autour de la rangée : ni trait ni espace entre les items, un seul anneau de focus. boolean false",
2623
2623
  "source": "projects/ui-kit/forms/ui-input-group/ui-input-group.mdx"
2624
2624
  },
2625
2625
  {
@@ -2632,6 +2632,36 @@
2632
2632
  "text": "Input Type Défaut Description size FieldSize undefined Taille de la cellule. Reprend celle du ui-input-group parent quand elle n'est pas renseignée.",
2633
2633
  "source": "projects/ui-kit/forms/ui-input-group/ui-input-group.mdx"
2634
2634
  },
2635
+ {
2636
+ "id": "components-ui-forms-ui-input-group--docs#libellé-et-message",
2637
+ "docId": "components-ui-forms-ui-input-group--docs",
2638
+ "anchor": "libellé-et-message",
2639
+ "title": "Components/ui/forms/ui-input-group",
2640
+ "name": "ui-input-group",
2641
+ "section": "Libellé et message",
2642
+ "text": "Un champ composé se présente comme un champ simple : label au-dessus de la rangée, message en dessous, avec le même rendu que ui-field ( ui-label , puis ui-helper ). Le libellé nomme le groupe, pas ses contrôles : chacun garde son ariaLabel . Le level teinte le message et les bordures de tous les champs et add-ons projetés : la validité d'une valeur composée (indicatif et numéro, montant et devise) appartient au groupe, pas à l'une de ses cases. Il prime sur le level propre des contrôles. Un contrôle désactivé garde sa couleur, un ui-button aussi.",
2643
+ "source": "projects/ui-kit/forms/ui-input-group/ui-input-group.mdx"
2644
+ },
2645
+ {
2646
+ "id": "components-ui-forms-ui-input-group--docs#boîte-unique",
2647
+ "docId": "components-ui-forms-ui-input-group--docs",
2648
+ "anchor": "boîte-unique",
2649
+ "title": "Components/ui/forms/ui-input-group",
2650
+ "name": "ui-input-group",
2651
+ "section": "Boîte unique",
2652
+ "text": "Par défaut, chaque item garde sa bordure et un trait sépare deux voisins. Avec merged , le groupe se lit comme un seul champ : les items perdent leur bordure et leur anneau de focus, et la rangée dessine une boîte autour d'eux, qui prend la couleur du survol, du focus et du level . La hauteur reste celle d'un champ simple. Entre deux contrôles, l'inset du côté qu'ils partagent se resserre ( --ui-input-group-item-padding-x ) : le chevron d'un indicatif est alors aussi près du numéro que de sa propre valeur. Un add-on garde son fond ( --ui-input-group-addon-surface , à passer à transparent pour le fondre dans la boîte). Un ui-button garde sa bordure et son focus.",
2653
+ "source": "projects/ui-kit/forms/ui-input-group/ui-input-group.mdx"
2654
+ },
2655
+ {
2656
+ "id": "components-ui-forms-ui-input-group--docs#largeur-des-items",
2657
+ "docId": "components-ui-forms-ui-input-group--docs",
2658
+ "anchor": "largeur-des-items",
2659
+ "title": "Components/ui/forms/ui-input-group",
2660
+ "name": "ui-input-group",
2661
+ "section": "Largeur des items",
2662
+ "text": "Les add-ons et les boutons gardent leur largeur naturelle, les contrôles se partagent le reste. Pour qu'un contrôle garde lui aussi sa largeur naturelle (indicatif, devise), posez --ui-input-group-item-flex: none sur lui. Le hook prend n'importe quelle valeur de flex ( 0 0 120px , 2 1 0 …). L'espace entre sa valeur et son chevron suit alors --ui-field-box-gap .",
2663
+ "source": "projects/ui-kit/forms/ui-input-group/ui-input-group.mdx"
2664
+ },
2635
2665
  {
2636
2666
  "id": "components-ui-forms-ui-input-group--docs#multiple",
2637
2667
  "docId": "components-ui-forms-ui-input-group--docs",
@@ -2679,7 +2709,7 @@
2679
2709
  "title": "Components/ui/forms/ui-input-group",
2680
2710
  "name": "ui-input-group",
2681
2711
  "section": "Numéro de téléphone",
2682
- "text": "Indicatif international sélectionnable : drapeau + code : accolé au champ du numéro. Les templates #selectedItem et #item de ui-select portent le rendu ; les drapeaux sont des SVG locaux ( assets/img/common/svg/flags/ ), décoratifs ( alt=\"\" ). La zone d'indicatif reste compacte alors que la liste, elle, doit afficher les noms de pays : c'est le rôle de panelWidth=\"auto\" sur le ui-select , qui décorrèle la largeur du panneau de celle du champ (voir la doc de ui-select ).",
2712
+ "text": "Indicatif international sélectionnable : drapeau + code : accolé au champ du numéro. Les templates #selectedItem et #item de ui-select portent le rendu ; les drapeaux sont des SVG locaux ( assets/img/common/svg/flags/ ), décoratifs ( alt=\"\" ). L'indicatif garde sa largeur naturelle ( --ui-input-group-item-flex: none ) et le groupe est fusionné ( merged ) : rien ne sépare l'indicatif du numéro. La liste, elle, doit afficher les noms de pays : c'est le rôle de panelWidth=\"auto\" sur le ui-select , qui décorrèle la largeur du panneau de celle du champ (voir la doc de ui-select ). La liste se filtre par nom de pays, indicatif ou code ( filter , filterBy=\"name,dial,code\" ), et taper « +39 » sur l'indicatif fermé ouvre la liste sur l'Italie, qu' Entrée sélectionne. Le chevron peut être retiré ( showIcon à false sur le ui-select ) quand le drapeau suffit à signaler la liste. Le message d'erreur disparaît dès que le numéro compte 9 chiffres, une règle de démonstration : la validation par pays reste au projet. Côté valeur, enregistrez le code pays ( fr ) avec le numéro, et pas seulement l'indicatif : le +1 est partagé par plusieurs pays, dont les États-Unis et le Canada de la liste ci-dessous. Ne retirez pas non plus le 0 initial par principe : la France le perd derrière l'indicatif (+33 6…), l'Italie le garde (+39 06…).",
2683
2713
  "source": "projects/ui-kit/forms/ui-input-group/ui-input-group.mdx"
2684
2714
  },
2685
2715
  {
@@ -2699,7 +2729,7 @@
2699
2729
  "title": "Components/ui/forms/ui-input-group",
2700
2730
  "name": "ui-input-group",
2701
2731
  "section": "Accessibilité",
2702
- "text": "Point Implémentation Rôles ui-input-group et ui-input-group-addon n'exposent ni rôle ni attribut ARIA : ce sont des enveloppes de présentation. La sémantique reste portée par les contrôles projetés. Clavier Le groupe n'ajoute aucune interaction : l'ordre de tabulation et les raccourcis sont ceux des enfants (champ, bouton, liste déroulante…). Nom accessible Sans libellé visible dans le groupe, chaque contrôle doit porter son ariaLabel (ou ariaLabelledBy ). Un add-on décoratif : icône, symbole : ne nomme pas le champ. Focus L'item qui reçoit le focus est remonté au-dessus de ses voisins : sa bordure et son anneau de focus restent entièrement visibles malgré le recouvrement des bordures. <!-- Icône + champ --> <ui-input-group> <ui-input-group-addon><ui-icon name=\"user\" size=\"sm\" /></ui-input-group-addon> <ui-input placeholder=\"Nom d'utilisateur\" ariaLabel=\"Nom d'utilisateur\" /> </ui-input-group> <!-- Préfixe + champ + suffixe --> <ui-input-group> <ui-input-group-addon>https://</ui-input-group-addon> <ui-input placeholder=\"mon-site\" ariaLabel=\"Adresse du site\" /> <ui-input-group-addon>.com</ui-input-group-addon> </ui-input-group> <!-- Champ + bouton d'action --> <ui-input-group> <ui-input placeholder=\"Mot-clé\" ariaLabel=\"Mot-clé\" /> <ui-button icon=\"magnifying-glass\" ariaLabel=\"Rechercher\" level=\"low\" variant=\"outlined\" /> </ui-input-group>",
2732
+ "text": "Point Implémentation Rôles Sans label ni message , ui-input-group n'expose ni rôle ni attribut ARIA : c'est une enveloppe de présentation. Avec l'un ou l'autre, il devient un role=\"group\" nommé par le libellé ( aria-labelledby ) et décrit par le message ( aria-describedby ). ui-input-group-addon reste sans rôle. Clavier Le groupe n'ajoute aucune interaction : l'ordre de tabulation et les raccourcis sont ceux des enfants (champ, bouton, liste déroulante…). Nom accessible Le libellé nomme le groupe, annoncé à l'entrée dans le groupe (« Téléphone, groupe »). Il ne nomme pas les contrôles : chacun porte son ariaLabel (ou ariaLabelledBy ), avec ou sans libellé de groupe. Un add-on décoratif (icône, symbole) ne nomme pas le champ. Obligatoire required sur le groupe n'affiche que l'astérisque, masqué aux lecteurs d'écran : aria-required n'existe pas sur un groupe. Chaque contrôle obligatoire porte son propre required , qui pose l'attribut natif. Erreur Le message est relié au groupe, mais le rôle group ne prend pas en charge aria-invalid : le contrôle fautif porte invalid , qui annonce lui-même son état. Focus L'item qui reçoit le focus est remonté au-dessus de ses voisins : sa bordure et son anneau de focus restent entièrement visibles malgré le recouvrement des bordures. Avec merged , l'anneau entoure tout le groupe, y compris quand le focus est passé au panneau d'une liste déroulante ouverte. <!-- Icône + champ --> <ui-input-group> <ui-input-group-addon><ui-icon name=\"user\" size=\"sm\" /></ui-input-group-addon> <ui-input placeholder=\"Nom d'utilisateur\" ariaLabel=\"Nom d'utilisateur\" /> </ui-input-group> <!-- Préfixe + champ + suffixe --> <ui-input-group> <ui-input-group-addon>https://</ui-input-group-addon> <ui-input placeholder=\"mon-site\" ariaLabel=\"Adresse du site\" /> <ui-input-group-addon>.com</ui-input-group-addon> </ui-input-group> <!-- Champ composé : libellé et message d'erreur sur le groupe --> <ui-input-group label=\"Téléphone\" required level=\"error\" message=\"Numéro invalide\"> <ui-select ariaLabel=\"Indicatif du pays\" [options]=\"indicatifs\" [(ngModel)]=\"indicatif\" /> <ui-input type=\"tel\" ariaLabel=\"Numéro de téléphone\" [(ngModel)]=\"numero\" required invalid /> </ui-input-group> <!-- Champ + bouton d'action --> <ui-input-group> <ui-input placeholder=\"Mot-clé\" ariaLabel=\"Mot-clé\" /> <ui-button icon=\"magnifying-glass\" ariaLabel=\"Rechercher\" level=\"low\" variant=\"outlined\" /> </ui-input-group>",
2703
2733
  "source": "projects/ui-kit/forms/ui-input-group/ui-input-group.mdx"
2704
2734
  },
2705
2735
  {
@@ -2709,7 +2739,7 @@
2709
2739
  "title": "Components/ui/forms/ui-input-group",
2710
2740
  "name": "ui-input-group",
2711
2741
  "section": "Theming",
2712
- "text": "Les items sont projetés : une règle CSS scopée ne peut pas les atteindre. Le groupe pilote donc leurs coins via les custom properties exposées par les enfants ( --ui-field-radius , --ui-button-radius , --ui-input-group-item-radius ), qui héritent au-delà de la frontière de composant. Un composant tiers placé dans un groupe suit le raccord dès qu'il lit --ui-input-group-item-radius pour son border-radius . $radius Rayon des coins extérieurs du groupe. --ui-input-group-radius --ui-form-field-radius $form-field-radius --radius-sm $overlap Recouvrement de deux items voisins (= largeur de bordure, évite le doublement du trait partagé). --ui-input-group-overlap --ui-control-stroke-width $form-field-stroke-width $control-stroke-width --stroke-default $height Hauteur de la cellule, alignée sur la boîte de champ. --ui-input-group-addon-height --ui-form-field-height $form-field-height --size-components-default $height-small Hauteur de la cellule, variante `small`. --ui-input-group-addon-height-small --ui-form-field-height-small $form-field-height-small --size-components-sm $radius Rayon des coins quand la cellule est utilisée hors d'un groupe. --ui-form-field-radius $form-field-radius --radius-sm $padding-x Inset horizontal du contenu. --ui-input-group-addon-padding-x --ui-form-field-padding-x $form-field-padding-x --units-md $gap Espace entre deux contenus de la cellule. --ui-input-group-addon-gap --ui-form-field-gap $form-field-gap --units-sm $stroke-width Épaisseur de bordure. --ui-input-group-addon-stroke-width --ui-control-stroke-width $form-field-stroke-width $control-stroke-width --stroke-default $font-size Taille du texte de la cellule. --ui-input-group-addon-font-size --size-typography-text-default $font-size-small Taille du texte, variante `small`. --ui-input-group-addon-font-size-small --size-typography-text-md --ui-input-group-addon-stroke Couleur de bordure de l'addon. --ui-input-group-addon-stroke --form-high-stroke-default --ui-input-group-item-radius Rayon des coins, piloté par le groupe. --ui-input-group-item-radius --ui-form-field-radius $radius $form-field-radius --radius-sm --ui-input-group-addon-surface Fond de l'addon. --ui-input-group-addon-surface --global-background-muted --ui-input-group-addon-color Couleur du texte de l'addon. --ui-input-group-addon-color --global-text-muted --ui-input-group-font-family Famille typographique du composant. --ui-input-group-font-family --fontfamily-base",
2742
+ "text": "Les items sont projetés : une règle CSS scopée ne peut pas les atteindre. Le groupe pilote donc leurs coins via les custom properties exposées par les enfants ( --ui-field-radius , --ui-button-radius , --ui-input-group-item-radius ), qui héritent au-delà de la frontière de composant. Un composant tiers placé dans un groupe suit le raccord dès qu'il lit --ui-input-group-item-radius pour son border-radius . La largeur suit le même principe : le groupe écrit le flex de chaque item à travers --ui-input-group-item-flex , à poser sur l'item à libérer. Le level passe par le même chemin : en success ou error , le groupe fixe --ui-field-stroke , --ui-field-stroke-hover et --ui-field-stroke-focus sur les jetons form.* du statut, et teinte ses add-ons par-dessus --ui-input-group-addon-stroke . $gap Gouttière verticale entre le libellé, la rangée et le message. --ui-input-group-gap --units-xs $gap-small Gouttière verticale, variante `small`. --ui-input-group-gap-small --units-xs $radius Rayon des coins extérieurs du groupe. --ui-input-group-radius --ui-form-field-radius $form-field-radius --radius-sm $overlap Recouvrement de deux items voisins (= largeur de bordure, évite le doublement du trait partagé). --ui-input-group-overlap --ui-control-stroke-width $form-field-stroke-width $control-stroke-width --stroke-default $stroke-width Épaisseur de la bordure commune, mode `merged`. --ui-input-group-stroke-width --ui-control-stroke-width $form-field-stroke-width $control-stroke-width --stroke-default $focus-ring-width Épaisseur de l'anneau de focus commun, mode `merged`. --ui-input-group-focus-ring-width --ui-focus-ring-width $form-field-focus-ring-width $form-focus-ring-width $focus-ring-width --units-2xs $focus-ring-opacity Opacité de l'anneau de focus commun, mode `merged`. --ui-input-group-focus-ring-opacity 50% $item-padding-x Inset d'un contrôle du côté où il touche un autre contrôle, mode `merged`. --ui-input-group-item-padding-x calc((#{utils.$form-field-gap} - #{utils.$form-field-stroke-width}) / 2) $height Hauteur de la cellule, alignée sur la boîte de champ. --ui-input-group-addon-height --ui-form-field-height $form-field-height --size-components-default $height-small Hauteur de la cellule, variante `small`. --ui-input-group-addon-height-small --ui-form-field-height-small $form-field-height-small --size-components-sm $radius Rayon des coins quand la cellule est utilisée hors d'un groupe. --ui-form-field-radius $form-field-radius --radius-sm $padding-x Inset horizontal du contenu. --ui-input-group-addon-padding-x --ui-form-field-padding-x $form-field-padding-x --units-md $gap Espace entre deux contenus de la cellule. --ui-input-group-addon-gap --ui-form-field-gap $form-field-gap --units-sm $stroke-width Épaisseur de bordure. --ui-input-group-addon-stroke-width --ui-control-stroke-width $form-field-stroke-width $control-stroke-width --stroke-default $font-size Taille du texte de la cellule. --ui-input-group-addon-font-size --size-typography-text-default $font-size-small Taille du texte, variante `small`. --ui-input-group-addon-font-size-small --size-typography-text-md --_stroke Couleur de bordure de l'addon. --ui-input-group-addon-stroke --form-high-stroke-default --ui-input-group-item-radius Rayon des coins, piloté par le groupe. --ui-input-group-item-radius --ui-form-field-radius $radius $form-field-radius --radius-sm --ui-input-group-addon-surface Fond de l'addon. --ui-input-group-addon-surface --global-background-muted --ui-input-group-addon-color Couleur du texte de l'addon. --ui-input-group-addon-color --global-text-muted --ui-input-group-font-family Famille typographique du composant. --ui-input-group-font-family --fontfamily-base",
2713
2743
  "source": "projects/ui-kit/forms/ui-input-group/ui-input-group.mdx"
2714
2744
  },
2715
2745
  {
@@ -3929,7 +3959,7 @@
3929
3959
  "title": "Components/ui/forms/ui-select",
3930
3960
  "name": "ui-select",
3931
3961
  "section": "Panel Width",
3932
- "text": "Par défaut le panneau reprend la largeur du champ. Quand le champ est volontairement compact, un indicatif téléphonique dans un ui-input-group , par exemple, mais que les options ne le sont pas, panelWidth décorrèle les deux : auto dimensionne le panneau sur son contenu sans jamais passer sous la largeur du champ , une taille CSS ( 320px ) la fixe.",
3962
+ "text": "Par défaut le panneau reprend la largeur du champ. Quand le champ est volontairement compact, un indicatif téléphonique dans un ui-input-group , par exemple, mais que les options ne le sont pas, panelWidth décorrèle les deux : auto dimensionne le panneau sur son contenu sans jamais passer sous la largeur du champ , une taille CSS ( 320px ) la fixe. Dans une zone aussi compacte, showIcon à false retire le chevron quand la valeur affichée suffit à signaler la liste. Le déclencheur reste annoncé comme une liste déroulante.",
3933
3963
  "source": "projects/ui-kit/forms/ui-select/ui-select.mdx"
3934
3964
  },
3935
3965
  {
@@ -4019,7 +4049,7 @@
4019
4049
  "title": "Components/ui/forms/ui-select",
4020
4050
  "name": "ui-select",
4021
4051
  "section": "API",
4022
- "text": "options object Options à afficher (primitives, objets, ou groupes avec `group`). unknown[] [] optionLabel text Nom du champ (chemin pointé) lu comme label quand les options sont des objets. string optionValue text Nom du champ (chemin pointé) lu comme valeur quand les options sont des objets. string optionDisabled text Nom du champ lu comme drapeau de désactivation d’une option. string group boolean Traite `options` comme des groupes (`optionGroupLabel` + `optionGroupChildren`). boolean false optionGroupLabel text Nom du champ label d’un groupe. string 'label' optionGroupChildren text Nom du champ contenant les options d’un groupe. string 'items' dataKey text Propriété comparée pour l’égalité des valeurs objet (sélection). string multiple boolean Sélection multiple : le modèle devient un tableau, le panneau reste ouvert. boolean false checkmark boolean Affiche une coche sur la ou les options sélectionnées. boolean false checkbox boolean Affiche une case à cocher devant chaque option (mode `multiple`). boolean false maxSelectedLabels number Nombre max d’éléments sélectionnés affichés dans le champ (`multiple`) ; le reste est replié dans `overflowLabel`. number overflowLabel text Indicateur de repli — `{0}` est remplacé par le nombre d’éléments masqués. string '(+{0} autres)' placeholder text Texte affiché quand aucune valeur n’est sélectionnée. string showClear boolean Affiche une action d’effacement (×) quand une valeur est définie. boolean false filter boolean Affiche le champ de filtrage intégré dans le panneau. boolean false filterPlaceholder text Placeholder du champ de filtrage. string filterBy text Champs (chemins pointés, séparés par des virgules) comparés par le filtre — label par défaut. string editable boolean Saisie libre : le déclencheur devient un `<input>`, la frappe fixe directement la valeur. boolean false loading boolean État de chargement : un spinner remplace le chevron. boolean false autoOptionFocus boolean Focalise visuellement la première option à l’ouverture du panneau. boolean false selectOnFocus boolean Sélectionne l’option dès qu’elle est focalisée au clavier (mode simple). boolean false focusOnHover boolean Focalise visuellement l’option survolée à la souris. boolean true virtualScroll boolean Rend les options dans un viewport de défilement virtuel (listes volumineuses). boolean false virtualScrollItemSize number Hauteur fixe (px) d’une ligne — requise par le défilement virtuel. number 40 lazy boolean Avec `virtualScroll` : émet `lazyLoad` avec la plage rendue (chargement paresseux). boolean false scrollHeight text Hauteur max de la liste d’options (taille CSS, ex. `320px`). string panelWidth text Largeur du panneau. Par défaut il reprend celle du champ ; `auto` le dimensionne sur son contenu (sans jamais passer sous la largeur du champ) ; une taille CSS (ex. `260px`) la fixe. string largeur du champ label text Label du champ (rendu via `ui-label`). string helperText text Texte d’aide sous le champ. string errorText text Message affiché à la place de l’aide en erreur. string size inline-radio default small Taille du champ. FieldSize 'default' floatLabel select over in on aucun (libellé classique) Libellé flottant : le libellé descend dans le champ, où il tient le rôle du placeholder, et remonte au focus ou dès que le champ porte une valeur. Le `placeholder` est alors neutralisé. FieldFloatLabel undefined required boolean boolean false disabled boolean boolean false readonly boolean boolean false invalid boolean Force le style erreur (automatique quand le contrôle attaché est invalide et touched/dirty). boolean false valueChange valueChange opened opened closed closed cleared cleared filterChange filterChange lazyLoad lazyLoad ripple Onde de pression sur les options de la liste quand l'effet ripple est activé (`provideUiRipple()` ou `[uiRippleScope]`). `false` la coupe sur ce composant, même en activation globale. boolean true",
4052
+ "text": "options object Options à afficher (primitives, objets, ou groupes avec `group`). unknown[] [] optionLabel text Nom du champ (chemin pointé) lu comme label quand les options sont des objets. string optionValue text Nom du champ (chemin pointé) lu comme valeur quand les options sont des objets. string optionDisabled text Nom du champ lu comme drapeau de désactivation d’une option. string group boolean Traite `options` comme des groupes (`optionGroupLabel` + `optionGroupChildren`). boolean false optionGroupLabel text Nom du champ label d’un groupe. string 'label' optionGroupChildren text Nom du champ contenant les options d’un groupe. string 'items' dataKey text Propriété comparée pour l’égalité des valeurs objet (sélection). string multiple boolean Sélection multiple : le modèle devient un tableau, le panneau reste ouvert. boolean false checkmark boolean Affiche une coche sur la ou les options sélectionnées. boolean false checkbox boolean Affiche une case à cocher devant chaque option (mode `multiple`). boolean false maxSelectedLabels number Nombre max d’éléments sélectionnés affichés dans le champ (`multiple`) ; le reste est replié dans `overflowLabel`. number overflowLabel text Indicateur de repli — `{0}` est remplacé par le nombre d’éléments masqués. string '(+{0} autres)' placeholder text Texte affiché quand aucune valeur n’est sélectionnée. string showClear boolean Affiche une action d’effacement (×) quand une valeur est définie. boolean false showIcon boolean Affiche le chevron. À couper pour un déclencheur compact dont la valeur signale déjà la liste (drapeau + indicatif). boolean true filter boolean Affiche le champ de filtrage intégré dans le panneau. boolean false filterPlaceholder text Placeholder du champ de filtrage. string filterBy text Champs (chemins pointés, séparés par des virgules) comparés par le filtre — label par défaut. string editable boolean Saisie libre : le déclencheur devient un `<input>`, la frappe fixe directement la valeur. boolean false loading boolean État de chargement : un spinner remplace le chevron. boolean false autoOptionFocus boolean Focalise visuellement la première option à l’ouverture du panneau. boolean false selectOnFocus boolean Sélectionne l’option dès qu’elle est focalisée au clavier (mode simple). boolean false focusOnHover boolean Focalise visuellement l’option survolée à la souris. boolean true virtualScroll boolean Rend les options dans un viewport de défilement virtuel (listes volumineuses). boolean false virtualScrollItemSize number Hauteur fixe (px) d’une ligne — requise par le défilement virtuel. number 40 lazy boolean Avec `virtualScroll` : émet `lazyLoad` avec la plage rendue (chargement paresseux). boolean false scrollHeight text Hauteur max de la liste d’options (taille CSS, ex. `320px`). string panelWidth text Largeur du panneau. Par défaut il reprend celle du champ ; `auto` le dimensionne sur son contenu (sans jamais passer sous la largeur du champ) ; une taille CSS (ex. `260px`) la fixe. string largeur du champ label text Label du champ (rendu via `ui-label`). string helperText text Texte d’aide sous le champ. string errorText text Message affiché à la place de l’aide en erreur. string size inline-radio default small Taille du champ. FieldSize 'default' floatLabel select over in on aucun (libellé classique) Libellé flottant : le libellé descend dans le champ, où il tient le rôle du placeholder, et remonte au focus ou dès que le champ porte une valeur. Le `placeholder` est alors neutralisé. FieldFloatLabel undefined required boolean boolean false disabled boolean boolean false readonly boolean boolean false invalid boolean Force le style erreur (automatique quand le contrôle attaché est invalide et touched/dirty). boolean false valueChange valueChange opened opened closed closed cleared cleared filterChange filterChange lazyLoad lazyLoad ripple Onde de pression sur les options de la liste quand l'effet ripple est activé (`provideUiRipple()` ou `[uiRippleScope]`). `false` la coupe sur ce composant, même en activation globale. boolean true",
4023
4053
  "source": "projects/ui-kit/forms/ui-select/ui-select.mdx"
4024
4054
  },
4025
4055
  {
@@ -10954,7 +10954,7 @@
10954
10954
  ],
10955
10955
  "hooks": [
10956
10956
  {
10957
- "name": "--ui-input-group-addon-stroke",
10957
+ "name": "--_stroke",
10958
10958
  "role": "Couleur de bordure de l'addon.",
10959
10959
  "default": {
10960
10960
  "steps": [],
@@ -11072,6 +11072,44 @@
11072
11072
  "ui-input-group": {
11073
11073
  "file": "projects/ui-kit/forms/ui-input-group/src/lib/ui-input-group.scss",
11074
11074
  "vars": [
11075
+ {
11076
+ "name": "$gap",
11077
+ "role": "Gouttière verticale entre le libellé, la rangée et le message.",
11078
+ "default": {
11079
+ "steps": [],
11080
+ "cssVar": "--ui-input-group-gap",
11081
+ "literal": null,
11082
+ "kind": "token",
11083
+ "fallback": {
11084
+ "steps": [],
11085
+ "cssVar": "--units-xs",
11086
+ "literal": null,
11087
+ "kind": "token",
11088
+ "fallback": null,
11089
+ "raw": "var(--units-xs)"
11090
+ },
11091
+ "raw": "var(--ui-input-group-gap, var(--units-xs))"
11092
+ }
11093
+ },
11094
+ {
11095
+ "name": "$gap-small",
11096
+ "role": "Gouttière verticale, variante `small`.",
11097
+ "default": {
11098
+ "steps": [],
11099
+ "cssVar": "--ui-input-group-gap-small",
11100
+ "literal": null,
11101
+ "kind": "token",
11102
+ "fallback": {
11103
+ "steps": [],
11104
+ "cssVar": "--units-xs",
11105
+ "literal": null,
11106
+ "kind": "token",
11107
+ "fallback": null,
11108
+ "raw": "var(--units-xs)"
11109
+ },
11110
+ "raw": "var(--ui-input-group-gap-small, var(--units-xs))"
11111
+ }
11112
+ },
11075
11113
  {
11076
11114
  "name": "$radius",
11077
11115
  "role": "Rayon des coins extérieurs du groupe.",
@@ -11140,6 +11178,121 @@
11140
11178
  },
11141
11179
  "raw": "var(--ui-input-group-overlap, #{utils.$form-field-stroke-width})"
11142
11180
  }
11181
+ },
11182
+ {
11183
+ "name": "$stroke-width",
11184
+ "role": "Épaisseur de la bordure commune, mode `merged`.",
11185
+ "default": {
11186
+ "steps": [],
11187
+ "cssVar": "--ui-input-group-stroke-width",
11188
+ "literal": null,
11189
+ "kind": "token",
11190
+ "fallback": {
11191
+ "steps": [
11192
+ {
11193
+ "via": "shared",
11194
+ "name": "$form-field-stroke-width",
11195
+ "group": "forms"
11196
+ },
11197
+ {
11198
+ "via": "shared",
11199
+ "name": "$control-stroke-width",
11200
+ "group": "global-ui"
11201
+ }
11202
+ ],
11203
+ "cssVar": "--ui-control-stroke-width",
11204
+ "literal": null,
11205
+ "kind": "token",
11206
+ "fallback": {
11207
+ "steps": [],
11208
+ "cssVar": "--stroke-default",
11209
+ "literal": null,
11210
+ "kind": "token",
11211
+ "fallback": null,
11212
+ "raw": "var(--stroke-default)"
11213
+ },
11214
+ "raw": "#{utils.$form-field-stroke-width}"
11215
+ },
11216
+ "raw": "var(--ui-input-group-stroke-width, #{utils.$form-field-stroke-width})"
11217
+ }
11218
+ },
11219
+ {
11220
+ "name": "$focus-ring-width",
11221
+ "role": "Épaisseur de l'anneau de focus commun, mode `merged`.",
11222
+ "default": {
11223
+ "steps": [],
11224
+ "cssVar": "--ui-input-group-focus-ring-width",
11225
+ "literal": null,
11226
+ "kind": "token",
11227
+ "fallback": {
11228
+ "steps": [
11229
+ {
11230
+ "via": "shared",
11231
+ "name": "$form-field-focus-ring-width",
11232
+ "group": "forms"
11233
+ },
11234
+ {
11235
+ "via": "shared",
11236
+ "name": "$form-focus-ring-width",
11237
+ "group": "forms"
11238
+ },
11239
+ {
11240
+ "via": "shared",
11241
+ "name": "$focus-ring-width",
11242
+ "group": "global-ui"
11243
+ }
11244
+ ],
11245
+ "cssVar": "--ui-focus-ring-width",
11246
+ "literal": null,
11247
+ "kind": "token",
11248
+ "fallback": {
11249
+ "steps": [],
11250
+ "cssVar": "--units-2xs",
11251
+ "literal": null,
11252
+ "kind": "token",
11253
+ "fallback": null,
11254
+ "raw": "var(--units-2xs)"
11255
+ },
11256
+ "raw": "#{utils.$form-field-focus-ring-width}"
11257
+ },
11258
+ "raw": "var(--ui-input-group-focus-ring-width, #{utils.$form-field-focus-ring-width})"
11259
+ }
11260
+ },
11261
+ {
11262
+ "name": "$focus-ring-opacity",
11263
+ "role": "Opacité de l'anneau de focus commun, mode `merged`.",
11264
+ "default": {
11265
+ "steps": [],
11266
+ "cssVar": "--ui-input-group-focus-ring-opacity",
11267
+ "literal": null,
11268
+ "kind": "token",
11269
+ "fallback": {
11270
+ "steps": [],
11271
+ "cssVar": null,
11272
+ "literal": "50%",
11273
+ "kind": "literal",
11274
+ "raw": "50%"
11275
+ },
11276
+ "raw": "var(--ui-input-group-focus-ring-opacity, 50%)"
11277
+ }
11278
+ },
11279
+ {
11280
+ "name": "$item-padding-x",
11281
+ "role": "Inset d'un contrôle du côté où il touche un autre contrôle, mode `merged`.",
11282
+ "default": {
11283
+ "steps": [],
11284
+ "cssVar": "--ui-input-group-item-padding-x",
11285
+ "literal": null,
11286
+ "kind": "token",
11287
+ "fallback": {
11288
+ "steps": [],
11289
+ "cssVar": null,
11290
+ "literal": "calc((#{utils.$form-field-gap} - #{utils.$form-field-stroke-width}) / 2)",
11291
+ "kind": "expression",
11292
+ "raw": "calc((#{utils.$form-field-gap} - #{utils.$form-field-stroke-width}) / 2)"
11293
+ },
11294
+ "raw": "var(--ui-input-group-item-padding-x, calc((#{utils.$form-field-gap} - #{utils.$form-field-stroke-width}) / 2))"
11295
+ }
11143
11296
  }
11144
11297
  ],
11145
11298
  "hooks": [],
package/mcp/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@4sh/ui-kit-mcp",
3
- "version": "0.12.0",
3
+ "version": "0.13.0",
4
4
  "description": "MCP server exposing the @4sh/ui-kit design system (components, props, tokens, doc) to AI coding agents. Not published on its own: bundled at build time into @4sh/ui-kit (library mode) and @4sh/ui-kit-schematics (starter mode) — see scripts/mcp-bundle.build.mjs.",
5
5
  "type": "module",
6
6
  "engines": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@4sh/ui-kit",
3
- "version": "0.12.0",
3
+ "version": "0.13.0",
4
4
  "description": "Headless Angular components from the 4SH Design System: signals + Angular CDK, styled exclusively through design tokens. Ships a companion MCP server exposing the kit catalog and doc to AI coding agents.",
5
5
  "homepage": "https://4sh.github.io/starter-angular/?path=/docs/introduction--docs",
6
6
  "repository": {