@lucca-front/ng 22.0.0-rc.4 → 22.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/fesm2022/lucca-front-ng-a11y.mjs +10 -10
- package/fesm2022/lucca-front-ng-a11y.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-activity-feed.mjs +14 -14
- package/fesm2022/lucca-front-ng-activity-feed.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-api.mjs +40 -40
- package/fesm2022/lucca-front-ng-app-layout.mjs +7 -6
- package/fesm2022/lucca-front-ng-app-layout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-approbation-inbox.mjs +517 -0
- package/fesm2022/lucca-front-ng-approbation-inbox.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-box.mjs +12 -12
- package/fesm2022/lucca-front-ng-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-breadcrumbs.mjs +9 -9
- package/fesm2022/lucca-front-ng-breadcrumbs.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-bubble-icon.mjs +4 -4
- package/fesm2022/lucca-front-ng-bubble-icon.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-bubble-illustration.mjs +7 -6
- package/fesm2022/lucca-front-ng-bubble-illustration.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-callout.mjs +38 -38
- package/fesm2022/lucca-front-ng-callout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-chip.mjs +10 -10
- package/fesm2022/lucca-front-ng-chip.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-clear.mjs +7 -7
- package/fesm2022/lucca-front-ng-clear.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-code.mjs +6 -5
- package/fesm2022/lucca-front-ng-code.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-color.mjs +7 -6
- package/fesm2022/lucca-front-ng-color.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-comment.mjs +18 -17
- package/fesm2022/lucca-front-ng-comment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-container.mjs +8 -7
- package/fesm2022/lucca-front-ng-container.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-api.mjs +17 -40
- package/fesm2022/lucca-front-ng-core-select-api.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-department.mjs +18 -20
- package/fesm2022/lucca-front-ng-core-select-department.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-establishment.mjs +28 -16
- package/fesm2022/lucca-front-ng-core-select-establishment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs +19 -9
- package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-legal-units.mjs +34 -21
- package/fesm2022/lucca-front-ng-core-select-legal-units.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-occupation-category.mjs +16 -6
- package/fesm2022/lucca-front-ng-core-select-occupation-category.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-user.mjs +41 -36
- package/fesm2022/lucca-front-ng-core-select-user.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select.mjs +252 -114
- package/fesm2022/lucca-front-ng-core-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core.mjs +113 -38
- package/fesm2022/lucca-front-ng-core.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-data-table.mjs +50 -50
- package/fesm2022/lucca-front-ng-data-table.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date.mjs +42 -43
- package/fesm2022/lucca-front-ng-date.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date2.mjs +50 -48
- package/fesm2022/lucca-front-ng-date2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-department.mjs +28 -27
- package/fesm2022/lucca-front-ng-department.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-dialog.mjs +85 -59
- package/fesm2022/lucca-front-ng-dialog.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-divider.mjs +9 -9
- package/fesm2022/lucca-front-ng-divider.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-dropdown.mjs +46 -46
- package/fesm2022/lucca-front-ng-dropdown.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-empty-state.mjs +56 -31
- package/fesm2022/lucca-front-ng-empty-state.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-error-page.mjs +4 -4
- package/fesm2022/lucca-front-ng-error-page.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-establishment.mjs +38 -37
- package/fesm2022/lucca-front-ng-establishment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-fancy-box.mjs +4 -4
- package/fesm2022/lucca-front-ng-fancy-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-file-upload.mjs +86 -48
- package/fesm2022/lucca-front-ng-file-upload.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-filter-pills.mjs +150 -27
- package/fesm2022/lucca-front-ng-filter-pills.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-footer.mjs +10 -9
- package/fesm2022/lucca-front-ng-footer.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-field.mjs +35 -36
- package/fesm2022/lucca-front-ng-form-field.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-header.mjs +5 -5
- package/fesm2022/lucca-front-ng-form-header.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-label.mjs +19 -52
- package/fesm2022/lucca-front-ng-form-label.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form.mjs +9 -8
- package/fesm2022/lucca-front-ng-form.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-formly.mjs +64 -64
- package/fesm2022/lucca-front-ng-formly.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs +8 -8
- package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-html.mjs +3 -3
- package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-markdown.mjs +6 -6
- package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-plain-text.mjs +3 -3
- package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs +68 -55
- package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms.mjs +127 -113
- package/fesm2022/lucca-front-ng-forms.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-gauge.mjs +11 -11
- package/fesm2022/lucca-front-ng-gauge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-grid.mjs +18 -17
- package/fesm2022/lucca-front-ng-grid.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-highlight-data.mjs +11 -18
- package/fesm2022/lucca-front-ng-highlight-data.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-highlight-section.mjs +85 -0
- package/fesm2022/lucca-front-ng-highlight-section.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-highlight-text.mjs +3 -3
- package/fesm2022/lucca-front-ng-horizontal-navigation.mjs +17 -17
- package/fesm2022/lucca-front-ng-horizontal-navigation.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-impersonation.mjs +7 -7
- package/fesm2022/lucca-front-ng-impersonation.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-index-table.mjs +50 -50
- package/fesm2022/lucca-front-ng-index-table.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-inline-message.mjs +6 -6
- package/fesm2022/lucca-front-ng-inline-message.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-input.mjs +22 -22
- package/fesm2022/lucca-front-ng-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-link.mjs +24 -16
- package/fesm2022/lucca-front-ng-link.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-listbox.mjs +67 -33
- package/fesm2022/lucca-front-ng-listbox.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-listing.mjs +17 -16
- package/fesm2022/lucca-front-ng-listing.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-loading.mjs +8 -8
- package/fesm2022/lucca-front-ng-loading.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-main-layout.mjs +131 -15
- package/fesm2022/lucca-front-ng-main-layout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-mobile-push.mjs +3 -3
- package/fesm2022/lucca-front-ng-mobile-push.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-modal.mjs +27 -27
- package/fesm2022/lucca-front-ng-modal.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-multi-select.mjs +216 -135
- package/fesm2022/lucca-front-ng-multi-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-new-badge.mjs +3 -3
- package/fesm2022/lucca-front-ng-number-format.mjs +6 -6
- package/fesm2022/lucca-front-ng-number.mjs +7 -7
- package/fesm2022/lucca-front-ng-numeric-badge.mjs +1 -84
- package/fesm2022/lucca-front-ng-numeric-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-option.mjs +145 -139
- package/fesm2022/lucca-front-ng-option.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-page-header.mjs +8 -8
- package/fesm2022/lucca-front-ng-page-header.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-pagination.mjs +13 -16
- package/fesm2022/lucca-front-ng-pagination.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-plg-push.mjs +6 -6
- package/fesm2022/lucca-front-ng-plg-push.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popover.mjs +17 -17
- package/fesm2022/lucca-front-ng-popover2.mjs +15 -16
- package/fesm2022/lucca-front-ng-popover2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popup.mjs +10 -10
- package/fesm2022/lucca-front-ng-progress-bar.mjs +8 -7
- package/fesm2022/lucca-front-ng-progress-bar.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-progress-stepper.mjs +9 -9
- package/fesm2022/lucca-front-ng-progress-stepper.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-read-more.mjs +17 -12
- package/fesm2022/lucca-front-ng-read-more.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-resource-card.mjs +21 -20
- package/fesm2022/lucca-front-ng-resource-card.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-safe-content.mjs +10 -10
- package/fesm2022/lucca-front-ng-scroll-box.mjs +6 -5
- package/fesm2022/lucca-front-ng-scroll-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-scroll.mjs +9 -9
- package/fesm2022/lucca-front-ng-scroll.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-segmented-control-tabs.mjs +12 -12
- package/fesm2022/lucca-front-ng-segmented-control-tabs.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-segmented-control.mjs +17 -14
- package/fesm2022/lucca-front-ng-segmented-control.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-select.mjs +22 -22
- package/fesm2022/lucca-front-ng-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-sidepanel.mjs +7 -7
- package/fesm2022/lucca-front-ng-simple-select.mjs +53 -39
- package/fesm2022/lucca-front-ng-simple-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-skeleton.mjs +1 -237
- package/fesm2022/lucca-front-ng-skeleton.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-software-icon-wrapper.mjs +11 -11
- package/fesm2022/lucca-front-ng-software-icon-wrapper.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-software-icon.mjs +8 -7
- package/fesm2022/lucca-front-ng-software-icon.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-sortable-list.mjs +13 -13
- package/fesm2022/lucca-front-ng-sortable-list.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-status-badge.mjs +6 -6
- package/fesm2022/lucca-front-ng-status-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-table-of-content.mjs +6 -6
- package/fesm2022/lucca-front-ng-tag.mjs +1 -72
- package/fesm2022/lucca-front-ng-tag.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-text-flow.mjs +4 -4
- package/fesm2022/lucca-front-ng-text-flow.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-time.mjs +46 -47
- package/fesm2022/lucca-front-ng-time.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-title.mjs +24 -14
- package/fesm2022/lucca-front-ng-title.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-toast.mjs +13 -14
- package/fesm2022/lucca-front-ng-toast.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tooltip.mjs +1 -556
- package/fesm2022/lucca-front-ng-tooltip.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tree-select.mjs +58 -42
- package/fesm2022/lucca-front-ng-tree-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user-popover.mjs +22 -19
- package/fesm2022/lucca-front-ng-user-popover.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user.mjs +75 -73
- package/fesm2022/lucca-front-ng-user.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-vertical-navigation.mjs +21 -22
- package/fesm2022/lucca-front-ng-vertical-navigation.mjs.map +1 -1
- package/package.json +12 -4
- package/schematics/action-icon/migration.spec.js +2 -2
- package/schematics/alignment-utilities/migration.spec.js +2 -2
- package/schematics/cdn-urls/migration.spec.js +2 -2
- package/schematics/class-prefix/migration.spec.js +2 -2
- package/schematics/color-text/migration.spec.js +2 -2
- package/schematics/component-path/migration.spec.js +2 -2
- package/schematics/deprecated-resolver/migration.spec.js +1 -1
- package/schematics/empty-state-title/migration.spec.js +1 -1
- package/schematics/lib/migration-test.js +6 -1
- package/schematics/lu-button/migration.spec.js +1 -1
- package/schematics/lu-container/migration.spec.js +1 -1
- package/schematics/lu-grid/migration.js +24 -16
- package/schematics/lu-grid/migration.spec.js +1 -1
- package/schematics/lu-icon/migration.spec.js +1 -1
- package/schematics/lu-loading/migration.spec.js +1 -1
- package/schematics/lu-select/migration.spec.js +1 -1
- package/schematics/lu-text-input/migration.spec.js +1 -1
- package/schematics/new-icons/migration.spec.js +2 -2
- package/schematics/palettes/index.js +28 -8
- package/schematics/palettes/migration.spec.js +2 -2
- package/schematics/tokens-radius/migration.spec.js +2 -2
- package/schematics/tokens-spacing/migration.spec.js +2 -2
- package/schematics/tokens-typo/migration.spec.js +2 -2
- package/src/_components.scss +1 -0
- package/src/components/_listbox.scss +8 -0
- package/src/components/_picker.scss +0 -34
- package/src/components/_popover.scss +1 -1
- package/src/components/_popup.scss +6 -6
- package/src/components/_sidepanel.scss +1 -1
- package/src/definitions/option/_option-item.scss +1 -8
- package/title/README.md +22 -7
- package/types/lucca-front-ng-app-layout.d.ts +1 -1
- package/types/lucca-front-ng-approbation-inbox.d.ts +142 -0
- package/types/lucca-front-ng-box.d.ts +4 -4
- package/types/lucca-front-ng-breadcrumbs.d.ts +1 -1
- package/types/lucca-front-ng-bubble-icon.d.ts +1 -1
- package/types/lucca-front-ng-bubble-illustration.d.ts +1 -1
- package/types/lucca-front-ng-callout.d.ts +9 -9
- package/types/lucca-front-ng-chip.d.ts +3 -3
- package/types/lucca-front-ng-clear.d.ts +2 -2
- package/types/lucca-front-ng-code.d.ts +1 -1
- package/types/lucca-front-ng-color.d.ts +1 -1
- package/types/lucca-front-ng-comment.d.ts +6 -5
- package/types/lucca-front-ng-container.d.ts +2 -2
- package/types/lucca-front-ng-core-select-api.d.ts +10 -4
- package/types/lucca-front-ng-core-select-department.d.ts +2 -2
- package/types/lucca-front-ng-core-select-establishment.d.ts +3 -1
- package/types/lucca-front-ng-core-select-job-qualification.d.ts +2 -0
- package/types/lucca-front-ng-core-select-legal-units.d.ts +3 -1
- package/types/lucca-front-ng-core-select-occupation-category.d.ts +2 -0
- package/types/lucca-front-ng-core-select-user.d.ts +4 -3
- package/types/lucca-front-ng-core-select.d.ts +82 -16
- package/types/lucca-front-ng-core.d.ts +77 -3
- package/types/lucca-front-ng-data-table.d.ts +14 -14
- package/types/lucca-front-ng-date.d.ts +1 -1
- package/types/lucca-front-ng-date2.d.ts +19 -19
- package/types/lucca-front-ng-department.d.ts +2 -2
- package/types/lucca-front-ng-dialog.d.ts +7 -6
- package/types/lucca-front-ng-divider.d.ts +3 -3
- package/types/lucca-front-ng-dropdown.d.ts +2 -2
- package/types/lucca-front-ng-empty-state.d.ts +15 -6
- package/types/lucca-front-ng-establishment.d.ts +2 -2
- package/types/lucca-front-ng-file-upload.d.ts +22 -11
- package/types/lucca-front-ng-filter-pills.d.ts +43 -3
- package/types/lucca-front-ng-footer.d.ts +4 -4
- package/types/lucca-front-ng-form-field.d.ts +10 -10
- package/types/lucca-front-ng-form-header.d.ts +1 -1
- package/types/lucca-front-ng-form-label.d.ts +5 -9
- package/types/lucca-front-ng-form.d.ts +2 -2
- package/types/lucca-front-ng-forms-phone-number-input.d.ts +5 -5
- package/types/lucca-front-ng-forms-rich-text-input.d.ts +9 -5
- package/types/lucca-front-ng-forms.d.ts +50 -37
- package/types/lucca-front-ng-gauge.d.ts +6 -6
- package/types/lucca-front-ng-grid.d.ts +8 -8
- package/types/lucca-front-ng-highlight-data.d.ts +3 -5
- package/types/lucca-front-ng-highlight-section.d.ts +44 -0
- package/types/lucca-front-ng-horizontal-navigation.d.ts +4 -4
- package/types/lucca-front-ng-impersonation.d.ts +1 -1
- package/types/lucca-front-ng-index-table.d.ts +12 -12
- package/types/lucca-front-ng-inline-message.d.ts +1 -1
- package/types/lucca-front-ng-link.d.ts +4 -4
- package/types/lucca-front-ng-listbox.d.ts +33 -13
- package/types/lucca-front-ng-listing.d.ts +9 -9
- package/types/lucca-front-ng-loading.d.ts +3 -3
- package/types/lucca-front-ng-main-layout.d.ts +40 -9
- package/types/lucca-front-ng-modal.d.ts +1 -1
- package/types/lucca-front-ng-multi-select.d.ts +33 -7
- package/types/lucca-front-ng-numeric-badge.d.ts +1 -46
- package/types/lucca-front-ng-option.d.ts +2 -0
- package/types/lucca-front-ng-page-header.d.ts +2 -2
- package/types/lucca-front-ng-pagination.d.ts +5 -5
- package/types/lucca-front-ng-plg-push.d.ts +1 -1
- package/types/lucca-front-ng-popover2.d.ts +14 -14
- package/types/lucca-front-ng-progress-bar.d.ts +2 -2
- package/types/lucca-front-ng-progress-stepper.d.ts +1 -1
- package/types/lucca-front-ng-read-more.d.ts +9 -4
- package/types/lucca-front-ng-resource-card.d.ts +6 -6
- package/types/lucca-front-ng-scroll-box.d.ts +1 -1
- package/types/lucca-front-ng-scroll.d.ts +1 -1
- package/types/lucca-front-ng-segmented-control-tabs.d.ts +2 -2
- package/types/lucca-front-ng-segmented-control.d.ts +5 -3
- package/types/lucca-front-ng-select.d.ts +2 -1
- package/types/lucca-front-ng-simple-select.d.ts +6 -5
- package/types/lucca-front-ng-skeleton.d.ts +1 -158
- package/types/lucca-front-ng-software-icon-wrapper.d.ts +3 -3
- package/types/lucca-front-ng-software-icon.d.ts +2 -2
- package/types/lucca-front-ng-sortable-list.d.ts +5 -5
- package/types/lucca-front-ng-status-badge.d.ts +1 -1
- package/types/lucca-front-ng-tag.d.ts +1 -53
- package/types/lucca-front-ng-time.d.ts +17 -17
- package/types/lucca-front-ng-title.d.ts +4 -4
- package/types/lucca-front-ng-toast.d.ts +1 -1
- package/types/lucca-front-ng-tooltip.d.ts +1 -80
- package/types/lucca-front-ng-tree-select.d.ts +3 -4
- package/types/lucca-front-ng-user.d.ts +8 -6
- package/types/lucca-front-ng-vertical-navigation.d.ts +4 -4
|
@@ -29,7 +29,7 @@ declare class ClearComponent<T> extends ALuClear<T> implements ILuClear<T> {
|
|
|
29
29
|
/**
|
|
30
30
|
* Disabled the clear
|
|
31
31
|
*/
|
|
32
|
-
readonly disabled: _angular_core.InputSignalWithTransform<boolean,
|
|
32
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
33
33
|
/**
|
|
34
34
|
* Which palette should be used for the entire clear
|
|
35
35
|
*/
|
|
@@ -37,7 +37,7 @@ declare class ClearComponent<T> extends ALuClear<T> implements ILuClear<T> {
|
|
|
37
37
|
/**
|
|
38
38
|
* Change the clear colors for use on a dark background
|
|
39
39
|
*/
|
|
40
|
-
readonly inverted: _angular_core.InputSignalWithTransform<boolean,
|
|
40
|
+
readonly inverted: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
41
41
|
readonly onClear: EventEmitter<T>;
|
|
42
42
|
/**
|
|
43
43
|
* Emit event when button clear is click
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
|
|
3
3
|
declare class CodeComponent {
|
|
4
|
-
readonly block: i0.InputSignalWithTransform<boolean,
|
|
4
|
+
readonly block: i0.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<CodeComponent, never>;
|
|
6
6
|
static ɵcmp: i0.ɵɵComponentDeclaration<CodeComponent, "lu-code", never, { "block": { "alias": "block"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
7
7
|
}
|
|
@@ -10,7 +10,7 @@ declare class ColorComponent {
|
|
|
10
10
|
readonly value: _angular_core.InputSignal<string>;
|
|
11
11
|
readonly borderColor: _angular_core.InputSignal<string>;
|
|
12
12
|
readonly size: _angular_core.InputSignal<"L" | "XL">;
|
|
13
|
-
readonly hiddenName: _angular_core.InputSignalWithTransform<boolean,
|
|
13
|
+
readonly hiddenName: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
14
14
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ColorComponent, never>;
|
|
15
15
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ColorComponent, "lu-color", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "borderColor": { "alias": "borderColor"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "hiddenName": { "alias": "hiddenName"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
16
16
|
}
|
|
@@ -18,26 +18,27 @@ declare class CommentComponent {
|
|
|
18
18
|
readonly size: _angular_core.Signal<"S" | "M">;
|
|
19
19
|
readonly contentIsPortal: _angular_core.Signal<boolean>;
|
|
20
20
|
readonly contentIsHTML: _angular_core.Signal<boolean>;
|
|
21
|
-
readonly noInfos: _angular_core.InputSignalWithTransform<boolean,
|
|
21
|
+
readonly noInfos: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
22
|
+
readonly plainText: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
22
23
|
readonly dateDisplay: _angular_core.Signal<string>;
|
|
23
24
|
readonly role: _angular_core.Signal<string>;
|
|
24
25
|
get roleAttr(): string | null;
|
|
25
26
|
isStringPortalContent(message: PortalContent): message is string;
|
|
26
27
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CommentComponent, never>;
|
|
27
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CommentComponent, "lu-comment", never, { "content": { "alias": "content"; "required": true; "isSignal": true; }; "date": { "alias": "date"; "required": false; "isSignal": true; }; "datePipeFormat": { "alias": "datePipeFormat"; "required": false; "isSignal": true; }; "noInfos": { "alias": "noInfos"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
28
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CommentComponent, "lu-comment", never, { "content": { "alias": "content"; "required": true; "isSignal": true; }; "date": { "alias": "date"; "required": false; "isSignal": true; }; "datePipeFormat": { "alias": "datePipeFormat"; "required": false; "isSignal": true; }; "noInfos": { "alias": "noInfos"; "required": false; "isSignal": true; }; "plainText": { "alias": "plainText"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
28
29
|
}
|
|
29
30
|
|
|
30
31
|
declare class CommentBlockComponent {
|
|
31
32
|
#private;
|
|
32
33
|
readonly comments: _angular_core.Signal<readonly CommentComponent[]>;
|
|
33
|
-
readonly compact: _angular_core.InputSignalWithTransform<boolean,
|
|
34
|
+
readonly compact: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
34
35
|
/**
|
|
35
36
|
* Small is a shorthand to set the size to small
|
|
36
37
|
*
|
|
37
38
|
* If the size input is filled along with the small input, their values will have the priority
|
|
38
39
|
*/
|
|
39
|
-
readonly small: _angular_core.InputSignalWithTransform<boolean,
|
|
40
|
-
readonly chatAnswer: _angular_core.InputSignalWithTransform<boolean,
|
|
40
|
+
readonly small: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
41
|
+
readonly chatAnswer: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
41
42
|
readonly authorName: _angular_core.InputSignal<PortalContent>;
|
|
42
43
|
readonly avatar: _angular_core.InputSignal<TemplateRef<unknown>>;
|
|
43
44
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
|
|
3
3
|
declare class ContainerComponent {
|
|
4
|
-
readonly center: _angular_core.InputSignalWithTransform<boolean,
|
|
5
|
-
readonly overflow: _angular_core.InputSignalWithTransform<boolean,
|
|
4
|
+
readonly center: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
5
|
+
readonly overflow: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
6
6
|
readonly max: _angular_core.InputSignal<"M" | "L" | "XL" | "XXL" | "XXXL">;
|
|
7
7
|
readonly classesConfig: _angular_core.Signal<{
|
|
8
8
|
[x: string]: boolean;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { OnDestroy, OnInit, Signal } from '@angular/core';
|
|
3
3
|
import { HttpClient } from '@angular/common/http';
|
|
4
4
|
import { ILuApiItem } from '@lucca-front/ng/api';
|
|
5
5
|
import { ALuSelectInputComponent, LuOptionComparer, CoreSelectApiTotalCountProvider } from '@lucca-front/ng/core-select';
|
|
6
|
-
import { Subject,
|
|
6
|
+
import { Subject, BehaviorSubject, Observable } from 'rxjs';
|
|
7
7
|
|
|
8
8
|
declare const LU_SELECT_MAGIC_PAGE_SIZE = 20;
|
|
9
9
|
declare abstract class ALuCoreSelectApiDirective<TOption, TParams = Record<string, string | number | boolean> | null> implements OnDestroy, OnInit {
|
|
@@ -12,7 +12,6 @@ declare abstract class ALuCoreSelectApiDirective<TOption, TParams = Record<strin
|
|
|
12
12
|
protected pageSize: number;
|
|
13
13
|
protected debounceDuration: number;
|
|
14
14
|
select: ALuSelectInputComponent<TOption, unknown>;
|
|
15
|
-
protected readonly page$: Observable<number>;
|
|
16
15
|
/**
|
|
17
16
|
* Current clue — updated by clueChange$ subscription (keeps select in searchable mode)
|
|
18
17
|
* and by direct getOptions calls from the select component.
|
|
@@ -26,6 +25,13 @@ declare abstract class ALuCoreSelectApiDirective<TOption, TParams = Record<strin
|
|
|
26
25
|
* Create an object that will be used as params for the api call
|
|
27
26
|
*/
|
|
28
27
|
protected abstract params$: Observable<TParams>;
|
|
28
|
+
/**
|
|
29
|
+
* Optional synchronous view of {@link params$}. When a directive derives its params from signals,
|
|
30
|
+
* it should expose them here so {@link buildParamsFromClue} can read the value that reflects the
|
|
31
|
+
* clue we just set — reading `params$` (a `toObservable` replay) can otherwise hand back the
|
|
32
|
+
* previous clue's params on the non-debounced empty-clue path, leaving searches stuck.
|
|
33
|
+
*/
|
|
34
|
+
protected readonly paramsSignal?: Signal<TParams>;
|
|
29
35
|
/**
|
|
30
36
|
* Compare two options to know if they are the same. For example, compare by id or by JSON
|
|
31
37
|
*/
|
|
@@ -41,7 +47,6 @@ declare abstract class ALuCoreSelectApiDirective<TOption, TParams = Record<strin
|
|
|
41
47
|
ngOnInit(): void;
|
|
42
48
|
protected buildParamsFromClue(clue: string): Observable<TParams>;
|
|
43
49
|
abstract totalCount$: Observable<number>;
|
|
44
|
-
protected buildOptions(): Observable<TOption[]>;
|
|
45
50
|
protected clearLastPageByClue(): void;
|
|
46
51
|
protected getOptionsPage(params: TParams, page: number): Observable<{
|
|
47
52
|
items: TOption[];
|
|
@@ -81,6 +86,7 @@ declare class LuCoreSelectApiV4Directive<T extends ILuApiItem> extends ALuCoreSe
|
|
|
81
86
|
readonly searchDelimiter: _angular_core.InputSignal<string>;
|
|
82
87
|
protected httpClient: HttpClient;
|
|
83
88
|
protected readonly clue: _angular_core.Signal<string>;
|
|
89
|
+
protected readonly paramsSignal: _angular_core.Signal<Record<string, string | number | boolean>>;
|
|
84
90
|
protected readonly params$: Observable<Record<string, string | number | boolean>>;
|
|
85
91
|
readonly totalCount$: Observable<number>;
|
|
86
92
|
protected getOptions(params: Record<string, string | number | boolean>, page: number): Observable<T[]>;
|
|
@@ -24,16 +24,16 @@ declare class LuCoreSelectDepartmentsDirective<T extends ILuDepartment = ILuDepa
|
|
|
24
24
|
readonly filters: _angular_core.InputSignal<Record<string, string | number | boolean>>;
|
|
25
25
|
readonly operationIds: _angular_core.InputSignal<readonly number[]>;
|
|
26
26
|
readonly uniqueOperationIds: _angular_core.InputSignal<readonly number[]>;
|
|
27
|
-
readonly appInstanceId: _angular_core.
|
|
27
|
+
readonly appInstanceId: _angular_core.InputSignalWithTransform<number, number | `${number}` | "null">;
|
|
28
28
|
readonly searchDelimiter: _angular_core.InputSignal<string>;
|
|
29
29
|
ngOnInit(): void;
|
|
30
|
-
protected buildOptions(): Observable<TreeNode<T>[]>;
|
|
31
30
|
protected getOptionsPage(params: Record<string, string | number | boolean> | null, page: number): Observable<{
|
|
32
31
|
items: TreeNode<T>[];
|
|
33
32
|
isLastPage: boolean;
|
|
34
33
|
}>;
|
|
35
34
|
protected getOptions(params: Record<string, string | number | boolean> | null): Observable<TreeNode<T>[]>;
|
|
36
35
|
trim(options: readonly TreeNode<T>[], clue: string): TreeNode<T>[];
|
|
36
|
+
protected readonly paramsSignal: _angular_core.Signal<Record<string, string | number | boolean>>;
|
|
37
37
|
protected readonly params$: Observable<Record<string, string | number | boolean>>;
|
|
38
38
|
readonly totalCount$: Observable<number>;
|
|
39
39
|
protected flattenTree(branch: TreeNode<T>): T[];
|
|
@@ -35,12 +35,14 @@ declare class LuCoreSelectEstablishmentsDirective<T extends LuCoreSelectEstablis
|
|
|
35
35
|
readonly filters: _angular_core.InputSignal<Record<string, string | number | boolean>>;
|
|
36
36
|
readonly operationIds: _angular_core.InputSignal<readonly number[]>;
|
|
37
37
|
readonly uniqueOperationIds: _angular_core.InputSignal<readonly number[]>;
|
|
38
|
-
readonly appInstanceId: _angular_core.
|
|
38
|
+
readonly appInstanceId: _angular_core.InputSignalWithTransform<number, number | `${number}` | "null">;
|
|
39
39
|
readonly searchDelimiter: _angular_core.InputSignal<string>;
|
|
40
40
|
protected readonly clue: _angular_core.Signal<string>;
|
|
41
41
|
ngOnInit(): void;
|
|
42
42
|
protected initGrouping(): void;
|
|
43
|
+
protected buildParamsFromClue(clue: string): Observable<Record<string, string | number | boolean>>;
|
|
43
44
|
protected getOptions(params: Record<string, string | number | boolean> | null, page: number): Observable<T[]>;
|
|
45
|
+
protected readonly paramsSignal: _angular_core.Signal<Record<string, string | number | boolean>>;
|
|
44
46
|
protected readonly params$: Observable<Record<string, string | number | boolean>>;
|
|
45
47
|
readonly totalCount$: Observable<number>;
|
|
46
48
|
protected optionKey: (option: T) => number;
|
|
@@ -20,7 +20,9 @@ declare class LuCoreSelectJobQualificationsDirective<T extends LuCoreSelectJobQu
|
|
|
20
20
|
readonly searchDelimiter: _angular_core.InputSignal<string>;
|
|
21
21
|
protected readonly clue: _angular_core.Signal<string>;
|
|
22
22
|
constructor();
|
|
23
|
+
protected buildParamsFromClue(clue: string): Observable<Record<string, string | number | boolean>>;
|
|
23
24
|
protected getOptions(params: Record<string, string | number | boolean> | null, page: number): Observable<T[]>;
|
|
25
|
+
protected readonly paramsSignal: _angular_core.Signal<Record<string, string | number | boolean>>;
|
|
24
26
|
protected readonly params$: Observable<Record<string, string | number | boolean>>;
|
|
25
27
|
readonly totalCount$: Observable<number>;
|
|
26
28
|
protected optionKey: (option: T) => number;
|
|
@@ -40,11 +40,13 @@ declare class LuCoreSelectLegalUnitsDirective<T extends LuCoreSelectLegalUnit =
|
|
|
40
40
|
readonly filters: _angular_core.InputSignal<Record<string, string | number | boolean>>;
|
|
41
41
|
readonly uniqueOperationIds: _angular_core.InputSignal<readonly number[]>;
|
|
42
42
|
readonly searchDelimiter: _angular_core.InputSignal<string>;
|
|
43
|
-
readonly enableArchivedLegalUnits: _angular_core.InputSignalWithTransform<boolean,
|
|
43
|
+
readonly enableArchivedLegalUnits: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
44
44
|
readonly includeArchivedLegalUnits: _angular_core.WritableSignal<boolean>;
|
|
45
45
|
protected readonly clue: _angular_core.Signal<string>;
|
|
46
46
|
constructor();
|
|
47
|
+
protected buildParamsFromClue(clue: string): Observable<Record<string, string | number | boolean>>;
|
|
47
48
|
protected getOptions(params: Record<string, string | number | boolean> | null, page: number): Observable<T[]>;
|
|
49
|
+
protected readonly paramsSignal: _angular_core.Signal<Record<string, string | number | boolean>>;
|
|
48
50
|
protected readonly params$: Observable<Record<string, string | number | boolean>>;
|
|
49
51
|
readonly totalCount$: Observable<number>;
|
|
50
52
|
protected optionKey: (option: T) => number;
|
|
@@ -14,7 +14,9 @@ declare class LuCoreSelectOccupationCategoriesDirective<T extends LuCoreSelectOc
|
|
|
14
14
|
readonly filters: _angular_core.InputSignal<Record<string, string | number | boolean>>;
|
|
15
15
|
readonly searchDelimiter: _angular_core.InputSignal<string>;
|
|
16
16
|
protected readonly clue: _angular_core.Signal<string>;
|
|
17
|
+
protected buildParamsFromClue(clue: string): Observable<Record<string, string | number | boolean>>;
|
|
17
18
|
protected getOptions(params: Record<string, string | number | boolean> | null, page: number): Observable<T[]>;
|
|
19
|
+
protected readonly paramsSignal: _angular_core.Signal<Record<string, string | number | boolean>>;
|
|
18
20
|
protected readonly params$: Observable<Record<string, string | number | boolean>>;
|
|
19
21
|
readonly totalCount$: Observable<number>;
|
|
20
22
|
protected optionKey: (option: T) => number;
|
|
@@ -40,9 +40,9 @@ declare class LuCoreSelectUsersDirective<T extends LuCoreSelectUser = LuCoreSele
|
|
|
40
40
|
readonly orderBy: _angular_core.InputSignal<string>;
|
|
41
41
|
readonly operationIds: _angular_core.InputSignal<readonly number[]>;
|
|
42
42
|
readonly uniqueOperationIds: _angular_core.InputSignal<readonly number[]>;
|
|
43
|
-
readonly appInstanceId: _angular_core.
|
|
44
|
-
readonly enableFormerEmployees: _angular_core.InputSignalWithTransform<boolean,
|
|
45
|
-
readonly displayMeOption: _angular_core.
|
|
43
|
+
readonly appInstanceId: _angular_core.InputSignalWithTransform<number, number | `${number}` | "null">;
|
|
44
|
+
readonly enableFormerEmployees: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
45
|
+
readonly displayMeOption: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
46
46
|
readonly customUserOptionTpl: _angular_core.ModelSignal<Type<unknown> | TemplateRef<LuOptionContext<T>>>;
|
|
47
47
|
readonly includeFormerEmployees: _angular_core.WritableSignal<boolean>;
|
|
48
48
|
readonly searchDelimiter: _angular_core.InputSignal<string>;
|
|
@@ -50,6 +50,7 @@ declare class LuCoreSelectUsersDirective<T extends LuCoreSelectUser = LuCoreSele
|
|
|
50
50
|
protected readonly defaultUrl: _angular_core.Signal<string>;
|
|
51
51
|
protected readonly urlOrDefault: _angular_core.Signal<string>;
|
|
52
52
|
protected readonly clue: _angular_core.Signal<string>;
|
|
53
|
+
protected readonly paramsSignal: _angular_core.Signal<Record<string, string | number | boolean>>;
|
|
53
54
|
protected readonly params$: Observable<Record<string, string | number | boolean>>;
|
|
54
55
|
protected readonly meParams$: Observable<{
|
|
55
56
|
id: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { InjectionToken, OnDestroy, ElementRef, Signal, EventEmitter, TemplateRef, WritableSignal, OnInit, ChangeDetectorRef, Type, Provider, PipeTransform } from '@angular/core';
|
|
2
|
+
import { InjectionToken, OnDestroy, ElementRef, Signal, EventEmitter, TemplateRef, Injector, WritableSignal, OnInit, ChangeDetectorRef, Type, Provider, PipeTransform } from '@angular/core';
|
|
3
3
|
import * as rxjs from 'rxjs';
|
|
4
4
|
import { Observable, Subject, BehaviorSubject, ReplaySubject } from 'rxjs';
|
|
5
5
|
import * as _lucca_front_ng_filter_pills from '@lucca-front/ng/filter-pills';
|
|
@@ -8,6 +8,7 @@ import { OverlayConfig, OverlayRef } from '@angular/cdk/overlay';
|
|
|
8
8
|
import { ControlValueAccessor } from '@angular/forms';
|
|
9
9
|
import { PortalContent, LuTranslation } from '@lucca-front/ng/core';
|
|
10
10
|
import * as _lucca_front_ng_core_select from '@lucca-front/ng/core-select';
|
|
11
|
+
import { Treeitem } from '@lucca-front/ng/listbox';
|
|
11
12
|
import { Highlightable } from '@angular/cdk/a11y';
|
|
12
13
|
|
|
13
14
|
interface SelectDataSourceParams {
|
|
@@ -71,7 +72,7 @@ declare class CoreSelectPanelElement<T> implements Highlightable, OnDestroy {
|
|
|
71
72
|
ngOnDestroy(): void;
|
|
72
73
|
setActiveStyles(): void;
|
|
73
74
|
setInactiveStyles(): void;
|
|
74
|
-
|
|
75
|
+
onMouseOver(event: MouseEvent): void;
|
|
75
76
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CoreSelectPanelElement<any>, never>;
|
|
76
77
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CoreSelectPanelElement<any>, "[luCoreSelectPanelElement]", ["luCoreSelectPanelElement"], { "elementId": { "alias": "elementId"; "required": false; "isSignal": true; }; "isSelected": { "alias": "isSelected"; "required": false; "isSignal": true; }; "option": { "alias": "option"; "required": false; "isSignal": true; }; "disabledInput": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "isSelected": "isSelectedChange"; "selected": "selected"; }, never, never, true, never>;
|
|
77
78
|
}
|
|
@@ -96,6 +97,27 @@ declare class CoreSelectKeyManager<T> {
|
|
|
96
97
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<CoreSelectKeyManager<any>>;
|
|
97
98
|
}
|
|
98
99
|
|
|
100
|
+
/**
|
|
101
|
+
* Shared floating surface for the simple/multi select panels.
|
|
102
|
+
*
|
|
103
|
+
* Carries the popover surface (elevation, scroll viewport, positioning) that used to live on the
|
|
104
|
+
* deprecated `.lu-picker-panel` / `.lu-picker-content` styles, so panels no longer depend on them.
|
|
105
|
+
* The projected content (a `lu-listbox`, an "add option" row, a footer…) is laid out inside the
|
|
106
|
+
* scrollable content area.
|
|
107
|
+
*/
|
|
108
|
+
declare class LuSelectPanelLayoutComponent {
|
|
109
|
+
/** Applies the `is-loading` state on the scroll content while options are being fetched. */
|
|
110
|
+
readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
111
|
+
/** Enables a focus trap on the scroll content (used by the single select panel). */
|
|
112
|
+
readonly trapFocus: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
113
|
+
/** `tabindex` to set on the scroll content, or `null` to leave it non-focusable. */
|
|
114
|
+
readonly contentTabIndex: _angular_core.InputSignal<number>;
|
|
115
|
+
/** Emitted when the scroll content is scrolled (used to trigger pagination). */
|
|
116
|
+
readonly scrolled: _angular_core.OutputEmitterRef<Event>;
|
|
117
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuSelectPanelLayoutComponent, never>;
|
|
118
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LuSelectPanelLayoutComponent, "lu-select-panel-layout", never, { "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "trapFocus": { "alias": "trapFocus"; "required": false; "isSignal": true; }; "contentTabIndex": { "alias": "contentTabIndex"; "required": false; "isSignal": true; }; }, { "scrolled": "scrolled"; }, never, ["*"], true, never>;
|
|
119
|
+
}
|
|
120
|
+
|
|
99
121
|
declare class LuCoreSelectPanelHeaderDirective {
|
|
100
122
|
readonly templateRef: TemplateRef<void>;
|
|
101
123
|
readonly select: _angular_core.InputSignal<ALuSelectInputComponent<unknown, unknown> | ALuSelectInputComponent<unknown, unknown[]>>;
|
|
@@ -119,12 +141,25 @@ declare abstract class LuSelectPanelRef<TOption, TValue> {
|
|
|
119
141
|
close(): void;
|
|
120
142
|
}
|
|
121
143
|
|
|
144
|
+
/**
|
|
145
|
+
* Scrolls an element into view once its layout has settled.
|
|
146
|
+
*
|
|
147
|
+
* When a select panel opens, its opening animation (scale transform) makes the element's visual
|
|
148
|
+
* geometry differ from its layout geometry; calling scrollIntoView at that point makes the browser
|
|
149
|
+
* compute a bogus scroll position (e.g. the panel opens scrolled partway down). This waits, frame
|
|
150
|
+
* by frame, until the element's visual height is stable before scrolling.
|
|
151
|
+
*
|
|
152
|
+
* Returns a cancel function to abort the pending scroll (e.g. when the highlight moves elsewhere).
|
|
153
|
+
*/
|
|
154
|
+
declare function scrollIntoViewOnceReady(element: HTMLElement, injector: Injector, options?: () => ScrollIntoViewOptions | undefined): () => void;
|
|
122
155
|
type GroupTemplateLocation = 'group-header' | 'option' | 'none';
|
|
123
156
|
/**
|
|
124
|
-
* In order to avoid a blinking
|
|
125
|
-
*
|
|
157
|
+
* In order to avoid a blinking (and a stale option list rendered under the wrong layout)
|
|
158
|
+
* when we go from an empty clue to a clue — or back — we delay switching the group displayer
|
|
159
|
+
* location until the options have actually been updated. We keep showing `group-header` while
|
|
160
|
+
* the options are being (re)fetched, then flip to the final location on the next options emission.
|
|
126
161
|
*/
|
|
127
|
-
declare function getGroupTemplateLocation(hasGrouping: Signal<boolean>, clue: Signal<string>, searchable?: boolean): Signal<GroupTemplateLocation>;
|
|
162
|
+
declare function getGroupTemplateLocation(hasGrouping: Signal<boolean>, clue: Signal<string>, options: Signal<readonly unknown[]>, searchable?: boolean): Signal<GroupTemplateLocation>;
|
|
128
163
|
|
|
129
164
|
interface CoreSelectPanelInstance<T = unknown> {
|
|
130
165
|
options: WritableSignal<CoreSelectPanelElement<T>[]>;
|
|
@@ -132,6 +167,25 @@ interface CoreSelectPanelInstance<T = unknown> {
|
|
|
132
167
|
}
|
|
133
168
|
declare const SELECT_PANEL_INSTANCE: InjectionToken<CoreSelectPanelInstance<unknown>>;
|
|
134
169
|
|
|
170
|
+
/**
|
|
171
|
+
* Tracks whether the user is currently navigating with the pointer or with the keyboard.
|
|
172
|
+
*
|
|
173
|
+
* Both listeners are registered natively and outside of the Angular zone, and the signal is only
|
|
174
|
+
* written when the value actually changes: `mousemove` fires on every frame the mouse moves, and
|
|
175
|
+
* going through Angular's event system there schedules a change detection run each time — for a
|
|
176
|
+
* value that almost never changes.
|
|
177
|
+
*
|
|
178
|
+
* `scope` bounds pointer navigation to an element — pass the panel host. Moving the mouse anywhere
|
|
179
|
+
* else on the page then doesn't drop the keyboard highlight, and leaving the scope switches back to
|
|
180
|
+
* keyboard navigation: pointer mode paints the active item through `:hover` alone, which vanishes
|
|
181
|
+
* with the pointer, whereas the key manager keeps that item active and keyboard navigation resumes
|
|
182
|
+
* from it. `keydown` always listens on the document, since focus stays on the input, outside of the
|
|
183
|
+
* panel.
|
|
184
|
+
*
|
|
185
|
+
* Must be called from an injection context.
|
|
186
|
+
*/
|
|
187
|
+
declare function injectPointerNavigation(scope?: HTMLElement): Signal<boolean>;
|
|
188
|
+
|
|
135
189
|
declare const LU_CORE_SELECT_TRANSLATIONS: InjectionToken<LuTranslation<LuCoreSelectLabel>>;
|
|
136
190
|
interface LuCoreSelectLabel {
|
|
137
191
|
addOption: string;
|
|
@@ -162,7 +216,7 @@ declare abstract class ALuSelectInputComponent<TOption, TValue> implements OnDes
|
|
|
162
216
|
protected afterCloseFn?: () => void;
|
|
163
217
|
protected updatePositionFn?: () => void;
|
|
164
218
|
filterPillMode: boolean;
|
|
165
|
-
readonly ignorePresentation: _angular_core.InputSignalWithTransform<boolean,
|
|
219
|
+
readonly ignorePresentation: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
166
220
|
selectParent$?: Subject<void>;
|
|
167
221
|
selectChildren$?: Subject<void>;
|
|
168
222
|
readonly panelClosed: _angular_core.OutputEmitterRef<void>;
|
|
@@ -194,10 +248,10 @@ declare abstract class ALuSelectInputComponent<TOption, TValue> implements OnDes
|
|
|
194
248
|
readonly optionsInput: _angular_core.InputSignal<readonly TOption[]>;
|
|
195
249
|
readonly optionComparerInput: _angular_core.InputSignal<LuOptionComparer<TOption>>;
|
|
196
250
|
readonly optionKeyInput: _angular_core.InputSignal<(option: TOption) => unknown>;
|
|
197
|
-
readonly noClueIcon: _angular_core.InputSignalWithTransform<boolean,
|
|
198
|
-
readonly inputTabindex: _angular_core.
|
|
199
|
-
readonly compact: _angular_core.InputSignalWithTransform<boolean,
|
|
200
|
-
readonly colorPicker: _angular_core.InputSignalWithTransform<boolean,
|
|
251
|
+
readonly noClueIcon: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
252
|
+
readonly inputTabindex: _angular_core.InputSignalWithTransform<number, number | `${number}`>;
|
|
253
|
+
readonly compact: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
254
|
+
readonly colorPicker: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
201
255
|
protected get isNoClueIconClass(): boolean;
|
|
202
256
|
readonly options: _angular_core.WritableSignal<readonly TOption[]>;
|
|
203
257
|
readonly loading: _angular_core.WritableSignal<boolean>;
|
|
@@ -317,7 +371,7 @@ declare class LuSimpleSelectDefaultOptionComponent {
|
|
|
317
371
|
name?: string;
|
|
318
372
|
}>;
|
|
319
373
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuSimpleSelectDefaultOptionComponent, never>;
|
|
320
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LuSimpleSelectDefaultOptionComponent, "lu-
|
|
374
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LuSimpleSelectDefaultOptionComponent, "lu-core-select-default-option", never, {}, {}, never, never, true, never>;
|
|
321
375
|
}
|
|
322
376
|
|
|
323
377
|
declare class LuDisabledOptionDirective {
|
|
@@ -352,7 +406,7 @@ declare class LuOptionGroupPipe<T, TGroup> implements PipeTransform {
|
|
|
352
406
|
declare class LuOptionOutletDirective<T> implements OnDestroy {
|
|
353
407
|
readonly luOptionOutlet: _angular_core.InputSignal<Type<unknown> | TemplateRef<LuOptionContext<T>>>;
|
|
354
408
|
readonly luOptionOutletValue: _angular_core.InputSignal<T>;
|
|
355
|
-
readonly luOptionShowNull: _angular_core.
|
|
409
|
+
readonly luOptionShowNull: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
356
410
|
private viewContainerRef;
|
|
357
411
|
private injector;
|
|
358
412
|
private embeddedViewRef?;
|
|
@@ -378,13 +432,25 @@ declare class LuOptionComponent<T> implements OnInit {
|
|
|
378
432
|
readonly optionTpl: _angular_core.InputSignal<Type<unknown> | TemplateRef<LuOptionContext<T>>>;
|
|
379
433
|
readonly option: _angular_core.InputSignal<T>;
|
|
380
434
|
readonly grouping: _angular_core.InputSignal<LuOptionGrouping<T, unknown>>;
|
|
381
|
-
readonly hasChildren: _angular_core.InputSignalWithTransform<boolean,
|
|
435
|
+
readonly hasChildren: _angular_core.InputSignalWithTransform<boolean, boolean | "" | "false" | "true">;
|
|
382
436
|
readonly onlyParent: _angular_core.OutputEmitterRef<void>;
|
|
383
437
|
readonly onlyChildren: _angular_core.OutputEmitterRef<void>;
|
|
384
|
-
readonly groupIndex: _angular_core.
|
|
438
|
+
readonly groupIndex: _angular_core.InputSignalWithTransform<number, number | `${number}` | "undefined">;
|
|
385
439
|
readonly optionIndex: _angular_core.InputSignalWithTransform<string, string | number>;
|
|
386
440
|
readonly scrollIntoViewOptions: _angular_core.InputSignal<ScrollIntoViewOptions>;
|
|
387
441
|
readonly groupTemplateLocation: _angular_core.InputSignal<GroupTemplateLocation>;
|
|
442
|
+
/**
|
|
443
|
+
* Present only when the consumer projects nested `[treeitem]` content (tree selects).
|
|
444
|
+
* Detected here — and not on the inner `lu-listbox-option` — because Angular content
|
|
445
|
+
* queries do not traverse the `ng-content` re-projection boundary.
|
|
446
|
+
*/
|
|
447
|
+
readonly treeitemContent: _angular_core.Signal<Treeitem>;
|
|
448
|
+
/**
|
|
449
|
+
* Depth this option sits at, handed to the listbox option that wraps the projected
|
|
450
|
+
* `[treeitem]` children: option indentation is absolute, so the stylesheet cannot work out a
|
|
451
|
+
* depth it has no rule for, and every level below its deepest one would share an indentation.
|
|
452
|
+
*/
|
|
453
|
+
readonly level: number;
|
|
388
454
|
readonly optionContext: _angular_core.Signal<_lucca_front_ng_core_select.ILuOptionContext<unknown>>;
|
|
389
455
|
private cdr;
|
|
390
456
|
get id(): string;
|
|
@@ -394,7 +460,7 @@ declare class LuOptionComponent<T> implements OnInit {
|
|
|
394
460
|
ngOnInit(): void;
|
|
395
461
|
selectOption($event: Event): void;
|
|
396
462
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuOptionComponent<any>, never>;
|
|
397
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LuOptionComponent<any>, "lu-select-option", never, { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; "optionTpl": { "alias": "optionTpl"; "required": false; "isSignal": true; }; "option": { "alias": "option"; "required": false; "isSignal": true; }; "grouping": { "alias": "grouping"; "required": false; "isSignal": true; }; "hasChildren": { "alias": "hasChildren"; "required": false; "isSignal": true; }; "groupIndex": { "alias": "groupIndex"; "required": false; "isSignal": true; }; "optionIndex": { "alias": "optionIndex"; "required": true; "isSignal": true; }; "scrollIntoViewOptions": { "alias": "scrollIntoViewOptions"; "required": false; "isSignal": true; }; "groupTemplateLocation": { "alias": "groupTemplateLocation"; "required": false; "isSignal": true; }; }, { "onlyParent": "onlyParent"; "onlyChildren": "onlyChildren"; },
|
|
463
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LuOptionComponent<any>, "lu-select-option", never, { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; "optionTpl": { "alias": "optionTpl"; "required": false; "isSignal": true; }; "option": { "alias": "option"; "required": false; "isSignal": true; }; "grouping": { "alias": "grouping"; "required": false; "isSignal": true; }; "hasChildren": { "alias": "hasChildren"; "required": false; "isSignal": true; }; "groupIndex": { "alias": "groupIndex"; "required": false; "isSignal": true; }; "optionIndex": { "alias": "optionIndex"; "required": true; "isSignal": true; }; "scrollIntoViewOptions": { "alias": "scrollIntoViewOptions"; "required": false; "isSignal": true; }; "groupTemplateLocation": { "alias": "groupTemplateLocation"; "required": false; "isSignal": true; }; }, { "onlyParent": "onlyParent"; "onlyChildren": "onlyChildren"; }, ["treeitemContent"], ["[treeitem]"], true, never>;
|
|
398
464
|
}
|
|
399
465
|
|
|
400
466
|
declare class LuOptionDirective<TOption, TValue> {
|
|
@@ -415,5 +481,5 @@ declare class LuIsOptionSelectedPipe<T> implements PipeTransform {
|
|
|
415
481
|
static ɵpipe: _angular_core.ɵɵPipeDeclaration<LuIsOptionSelectedPipe<any>, "luIsOptionSelected", true>;
|
|
416
482
|
}
|
|
417
483
|
|
|
418
|
-
export { ALuSelectInputComponent, CORE_SELECT_API_TOTAL_COUNT_PROVIDER, CoreSelectKeyManager, LU_CORE_SELECT_TRANSLATIONS, LU_OPTION_CONTEXT, LuCoreSelectNoClueDirective, LuCoreSelectPanelHeaderDirective, LuCoreSelectTotalCountDirective, LuDisabledOptionDirective, LuDisplayerDirective, LuIsOptionSelectedPipe, LuOptionDirective, LuOptionGroupDirective, LuSelectPanelRef, LuSimpleSelectDefaultOptionComponent, SELECT_ID, SELECT_LABEL, SELECT_LABEL_ID, SELECT_PANEL_INSTANCE, TreeDisplayPipe, addAttributesOnCdkContainer, applySearchDelimiter, coreSelectDefaultOptionComparer, coreSelectDefaultOptionKey, luCoreSelectTranslations, provideLuSelectLabelsAndIds, provideOptionContext, CoreSelectPanelElement as ɵCoreSelectPanelElement, ɵIsSelectedStrategy, LuOptionComponent as ɵLuOptionComponent, LuOptionGroupPipe as ɵLuOptionGroupPipe, LuOptionOutletDirective as ɵLuOptionOutletDirective, generateGroups as ɵgenerateGroups, getGroupTemplateLocation as ɵgetGroupTemplateLocation };
|
|
484
|
+
export { ALuSelectInputComponent, CORE_SELECT_API_TOTAL_COUNT_PROVIDER, CoreSelectKeyManager, LU_CORE_SELECT_TRANSLATIONS, LU_OPTION_CONTEXT, LuCoreSelectNoClueDirective, LuCoreSelectPanelHeaderDirective, LuCoreSelectTotalCountDirective, LuDisabledOptionDirective, LuDisplayerDirective, LuIsOptionSelectedPipe, LuOptionDirective, LuOptionGroupDirective, LuSelectPanelLayoutComponent, LuSelectPanelRef, LuSimpleSelectDefaultOptionComponent, SELECT_ID, SELECT_LABEL, SELECT_LABEL_ID, SELECT_PANEL_INSTANCE, TreeDisplayPipe, addAttributesOnCdkContainer, applySearchDelimiter, coreSelectDefaultOptionComparer, coreSelectDefaultOptionKey, luCoreSelectTranslations, provideLuSelectLabelsAndIds, provideOptionContext, CoreSelectPanelElement as ɵCoreSelectPanelElement, ɵIsSelectedStrategy, LuOptionComponent as ɵLuOptionComponent, LuOptionGroupPipe as ɵLuOptionGroupPipe, LuOptionOutletDirective as ɵLuOptionOutletDirective, generateGroups as ɵgenerateGroups, getGroupTemplateLocation as ɵgetGroupTemplateLocation, injectPointerNavigation as ɵinjectPointerNavigation, scrollIntoViewOnceReady as ɵscrollIntoViewOnceReady };
|
|
419
485
|
export type { CoreSelectAddOptionStrategy, CoreSelectApiTotalCountProvider, CoreSelectPanelInstance, ILuOptionContext, LuCoreSelectLabel, LuOptionComparer, LuOptionContext, LuOptionGroup, LuOptionGroupByContext, LuOptionGrouping, SelectDataSource, SelectDataSourceParams, TreeGenerator, TreeGroupingFn, TreeNode };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { PipeTransform, InjectionToken, TemplateRef, Type, OnDestroy, Signal, input, EffectCleanupRegisterFn, CreateEffectOptions, EffectRef, InputOptionsWithTransform } from '@angular/core';
|
|
3
3
|
import { UrlTree, ActivatedRoute, Params } from '@angular/router';
|
|
4
|
-
export { DecorativePalette, PrClass as LuClass, Palette } from '@lucca/prisme/core';
|
|
4
|
+
export { DecorativePalette, PrClass as LuClass, Palette, ProductPalette } from '@lucca/prisme/core';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Extracts the values of an enum as a union type.
|
|
@@ -44,6 +44,7 @@ declare const defaultBreakpoints: {
|
|
|
44
44
|
};
|
|
45
45
|
type ResponsiveConfig<T extends string, V> = Partial<Record<ResponsiveProperty<T>, V>>;
|
|
46
46
|
type ResponsiveProperty<T extends string> = `${T}At${Capitalize<At>}Min${Breakpoint}`;
|
|
47
|
+
declare function injectMediaMinBreakpoint(breakpoint: Breakpoint, reversed?: boolean): i0.Signal<boolean>;
|
|
47
48
|
|
|
48
49
|
declare enum ELuDateGranularity {
|
|
49
50
|
day = "day",
|
|
@@ -129,7 +130,7 @@ declare class LuStringDateAdapter extends ALuDateAdapter<string> implements ILuD
|
|
|
129
130
|
isValid(d: string): boolean;
|
|
130
131
|
compare(a: string, b: string, granularity: LuDateGranularity): number;
|
|
131
132
|
isParsable(text: string): boolean;
|
|
132
|
-
parse(text: string, granularity: LuDateGranularity): string;
|
|
133
|
+
parse(text: string, granularity: LuDateGranularity): string | undefined;
|
|
133
134
|
format(d: string, format: string): string;
|
|
134
135
|
clone(d: string): string;
|
|
135
136
|
getYear(d: string): number;
|
|
@@ -261,6 +262,72 @@ declare function ɵeffectWithDeps<const T extends EffectWithDepsInput>(dependenc
|
|
|
261
262
|
*/
|
|
262
263
|
declare function syncInputSignal<T>(signal: ReturnType<typeof input<T>>, setter: (value: T) => void): void;
|
|
263
264
|
|
|
265
|
+
/**
|
|
266
|
+
* Transforms a boolean or a string representation of a boolean into a boolean.
|
|
267
|
+
* @template T The specific boolean literal type to narrow to.
|
|
268
|
+
* @param value The value to transform, can be a boolean or a string representation of a boolean.
|
|
269
|
+
* @returns The transformed boolean value.
|
|
270
|
+
*/
|
|
271
|
+
declare function luBooleanAttribute(value: boolean | `${boolean}` | ''): boolean;
|
|
272
|
+
declare function luBooleanAttribute<T extends boolean>(value: T | `${T}` | ''): T;
|
|
273
|
+
/**
|
|
274
|
+
* Transforms a boolean, a string representation of a boolean, null or a string representation of null into a boolean or null.
|
|
275
|
+
* @template T The specific boolean literal type to narrow to.
|
|
276
|
+
* @param value The value to transform, can be a boolean, a string representation of a boolean, null or a string representation of null.
|
|
277
|
+
* @returns The transformed boolean value or null.
|
|
278
|
+
*/
|
|
279
|
+
declare function luNullableBooleanAttribute(value: boolean | `${boolean}` | '' | null | `${null}`): boolean | null;
|
|
280
|
+
declare function luNullableBooleanAttribute<T extends boolean>(value: T | `${T}` | '' | null | `${null}`): T | null;
|
|
281
|
+
/**
|
|
282
|
+
* Transforms a boolean, a string representation of a boolean, undefined or a string representation of undefined into a boolean or undefined.
|
|
283
|
+
* @template T The specific boolean literal type to narrow to.
|
|
284
|
+
* @param value The value to transform, can be a boolean, a string representation of a boolean, undefined or a string representation of undefined.
|
|
285
|
+
* @returns The transformed boolean value or undefined.
|
|
286
|
+
*/
|
|
287
|
+
declare function luOptionalBooleanAttribute(value: boolean | `${boolean}` | '' | undefined | `${undefined}`): boolean | undefined;
|
|
288
|
+
declare function luOptionalBooleanAttribute<T extends boolean>(value: T | `${T}` | '' | undefined | `${undefined}`): T | undefined;
|
|
289
|
+
/**
|
|
290
|
+
* Transforms a boolean, a string representation of a boolean, null, a string representation of null, undefined or a string representation of undefined into a boolean, null or undefined.
|
|
291
|
+
* @template T The specific boolean literal type to narrow to.
|
|
292
|
+
* @param value The value to transform.
|
|
293
|
+
* @returns The transformed boolean value, null or undefined.
|
|
294
|
+
*/
|
|
295
|
+
declare function luOptionalNullableBooleanAttribute(value: boolean | `${boolean}` | '' | null | `${null}` | undefined | `${undefined}`): boolean | null | undefined;
|
|
296
|
+
declare function luOptionalNullableBooleanAttribute<T extends boolean>(value: T | `${T}` | '' | null | `${null}` | undefined | `${undefined}`): T | null | undefined;
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* Transforms a number or a string representation of a number into a number.
|
|
300
|
+
* @template T The specific number literal type to narrow to.
|
|
301
|
+
* @param value The value to transform, can be a number or a string representation of a number.
|
|
302
|
+
* @returns The transformed number value.
|
|
303
|
+
*/
|
|
304
|
+
declare function luNumberAttribute(value: number | `${number}`): number;
|
|
305
|
+
declare function luNumberAttribute<T extends number>(value: T | `${T}`): T;
|
|
306
|
+
/**
|
|
307
|
+
* Transforms a number, a string representation of a number, null or a string representation of null into a number or null.
|
|
308
|
+
* @template T The specific number literal type to narrow to.
|
|
309
|
+
* @param value The value to transform, can be a number, a string representation of a number, null or a string representation of null.
|
|
310
|
+
* @returns The transformed number value or null.
|
|
311
|
+
*/
|
|
312
|
+
declare function luNullableNumberAttribute(value: number | `${number}` | null | `${null}`): number | null;
|
|
313
|
+
declare function luNullableNumberAttribute<T extends number>(value: T | `${T}` | null | `${null}`): T | null;
|
|
314
|
+
/**
|
|
315
|
+
* Transforms a number, a string representation of a number, undefined or a string representation of undefined into a number or undefined.
|
|
316
|
+
* @template T The specific number literal type to narrow to.
|
|
317
|
+
* @param value The value to transform, can be a number, a string representation of a number, undefined or a string representation of undefined.
|
|
318
|
+
* @returns The transformed number value or undefined.
|
|
319
|
+
*/
|
|
320
|
+
declare function luOptionalNumberAttribute(value: number | `${number}` | undefined | `${undefined}`): number | undefined;
|
|
321
|
+
declare function luOptionalNumberAttribute<T extends number>(value: T | `${T}` | undefined | `${undefined}`): T | undefined;
|
|
322
|
+
/**
|
|
323
|
+
* Transforms a number, a string representation of a number, null, a string representation of null, undefined or a string representation of undefined into a number, null or undefined.
|
|
324
|
+
* @template T The specific number literal type to narrow to.
|
|
325
|
+
* @param value The value to transform.
|
|
326
|
+
* @returns The transformed number value, null or undefined.
|
|
327
|
+
*/
|
|
328
|
+
declare function luOptionalNullableNumberAttribute(value: number | `${number}` | null | `${null}` | undefined | `${undefined}`): number | null | undefined;
|
|
329
|
+
declare function luOptionalNullableNumberAttribute<T extends number>(value: T | `${T}` | null | `${null}` | undefined | `${undefined}`): T | null | undefined;
|
|
330
|
+
|
|
264
331
|
declare class IntlParamsPipe implements PipeTransform {
|
|
265
332
|
#private;
|
|
266
333
|
transform(value: string, args: Record<string, string | number>): string;
|
|
@@ -284,6 +351,13 @@ type LuTranslation<T> = Record<string, T>;
|
|
|
284
351
|
type LuPluralForms = Partial<Record<Intl.LDMLPluralRule, string>>;
|
|
285
352
|
declare function getIntlPluralLabel(pluralForms: Intl.PluralRules, label: LuPluralForms, count: number): string;
|
|
286
353
|
|
|
354
|
+
declare class IntlPluralLabelPipe implements PipeTransform {
|
|
355
|
+
private readonly pluralRules;
|
|
356
|
+
transform(value: string | LuPluralForms, count: number): string;
|
|
357
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IntlPluralLabelPipe, never>;
|
|
358
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<IntlPluralLabelPipe, "intlPluralLabel", true>;
|
|
359
|
+
}
|
|
360
|
+
|
|
287
361
|
declare function getIntl<T>(translationsToken: InjectionToken<LuTranslation<T>> | InjectionToken<ILuTranslation<T>>): T;
|
|
288
362
|
/**
|
|
289
363
|
* Creates configuration for an Angular signal input that supports internationalization with optional overrides.
|
|
@@ -315,5 +389,5 @@ interface ILuTree<T> {
|
|
|
315
389
|
disabled?: boolean;
|
|
316
390
|
}
|
|
317
391
|
|
|
318
|
-
export { ALuDateAdapter, ALuOnCloseSubscriber, ALuOnOpenSubscriber, ALuOnScrollBottomSubscriber, ELuDateGranularity, IntlParamsPipe, LOCALE_PLURAL_RULES, LU_NATIVE_DATE_ADAPTER_OPTIONS, LuNativeDateAdapter, LuStringDateAdapter, LuTypeGuardPipe, PORTAL_CONTEXT, PortalDirective, assertNotNil, defaultBreakpoints, generateId, getIntl, getIntlPluralLabel, getPushPanelInlineSize, getPushPanelViewportMargin, intlInputOptions, isNil, isNilOrEmptyString, isNotNil, isNotNilOrEmptyString, isRouterLinkParam, luDefaultNativeDateAdapterOptions, syncInputSignal, ɵeffectWithDeps };
|
|
392
|
+
export { ALuDateAdapter, ALuOnCloseSubscriber, ALuOnOpenSubscriber, ALuOnScrollBottomSubscriber, ELuDateGranularity, IntlParamsPipe, IntlPluralLabelPipe, LOCALE_PLURAL_RULES, LU_NATIVE_DATE_ADAPTER_OPTIONS, LuNativeDateAdapter, LuStringDateAdapter, LuTypeGuardPipe, PORTAL_CONTEXT, PortalDirective, assertNotNil, defaultBreakpoints, generateId, getIntl, getIntlPluralLabel, getPushPanelInlineSize, getPushPanelViewportMargin, injectMediaMinBreakpoint, intlInputOptions, isNil, isNilOrEmptyString, isNotNil, isNotNilOrEmptyString, isRouterLinkParam, luBooleanAttribute, luDefaultNativeDateAdapterOptions, luNullableBooleanAttribute, luNullableNumberAttribute, luNumberAttribute, luOptionalBooleanAttribute, luOptionalNullableBooleanAttribute, luOptionalNullableNumberAttribute, luOptionalNumberAttribute, syncInputSignal, ɵeffectWithDeps };
|
|
319
393
|
export type { At, Breakpoint, EffectWithDepsInput, EnumValue, ILuDateAdapter, ILuGroup, ILuNativeDateAdapterOptions, ILuOnCloseSubscriber, ILuOnOpenSubscriber, ILuOnScrollBottomSubscriber, ILuTranslation, ILuTree, LuDateGranularity, LuPluralForms, LuTranslation, PortalContent, ResponsiveConfig, ResponsiveProperty, RouterLinkParam };
|