@lucca-front/ng 22.0.0-rc.3 → 22.0.0-rc.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/lucca-front-ng-a11y.mjs +125 -8
- package/fesm2022/lucca-front-ng-a11y.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-activity-feed.mjs +74 -27
- package/fesm2022/lucca-front-ng-activity-feed.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-api.mjs +160 -197
- package/fesm2022/lucca-front-ng-api.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-app-layout.mjs +4 -4
- package/fesm2022/lucca-front-ng-app-layout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-box.mjs +44 -6
- package/fesm2022/lucca-front-ng-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-breadcrumbs.mjs +15 -9
- package/fesm2022/lucca-front-ng-breadcrumbs.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-bubble-icon.mjs +28 -13
- package/fesm2022/lucca-front-ng-bubble-icon.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-bubble-illustration.mjs +20 -10
- package/fesm2022/lucca-front-ng-bubble-illustration.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-callout.mjs +105 -63
- package/fesm2022/lucca-front-ng-callout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-chip.mjs +33 -13
- package/fesm2022/lucca-front-ng-chip.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-clear.mjs +22 -14
- package/fesm2022/lucca-front-ng-clear.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-code.mjs +4 -4
- package/fesm2022/lucca-front-ng-code.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-color.mjs +16 -8
- package/fesm2022/lucca-front-ng-color.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-comment.mjs +48 -27
- package/fesm2022/lucca-front-ng-comment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-container.mjs +13 -6
- package/fesm2022/lucca-front-ng-container.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-api.mjs +82 -52
- package/fesm2022/lucca-front-ng-core-select-api.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-department.mjs +31 -18
- package/fesm2022/lucca-front-ng-core-select-department.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-establishment.mjs +21 -15
- package/fesm2022/lucca-front-ng-core-select-establishment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs +12 -9
- package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-legal-units.mjs +168 -0
- package/fesm2022/lucca-front-ng-core-select-legal-units.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-core-select-occupation-category.mjs +9 -6
- package/fesm2022/lucca-front-ng-core-select-occupation-category.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-user.mjs +67 -43
- package/fesm2022/lucca-front-ng-core-select-user.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select.mjs +442 -417
- package/fesm2022/lucca-front-ng-core-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core.mjs +97 -29
- package/fesm2022/lucca-front-ng-core.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-data-table.mjs +143 -81
- package/fesm2022/lucca-front-ng-data-table.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date.mjs +167 -162
- package/fesm2022/lucca-front-ng-date.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date2.mjs +395 -193
- package/fesm2022/lucca-front-ng-date2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-department.mjs +33 -27
- package/fesm2022/lucca-front-ng-department.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-dialog.mjs +71 -51
- package/fesm2022/lucca-front-ng-dialog.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-divider.mjs +18 -12
- package/fesm2022/lucca-front-ng-divider.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-dropdown.mjs +71 -73
- package/fesm2022/lucca-front-ng-dropdown.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-empty-state.mjs +56 -30
- package/fesm2022/lucca-front-ng-empty-state.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-error-page.mjs +15 -7
- package/fesm2022/lucca-front-ng-error-page.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-establishment.mjs +94 -116
- package/fesm2022/lucca-front-ng-establishment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-fancy-box.mjs +23 -11
- package/fesm2022/lucca-front-ng-fancy-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-file-upload.mjs +135 -69
- package/fesm2022/lucca-front-ng-file-upload.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-filter-pills.mjs +90 -69
- package/fesm2022/lucca-front-ng-filter-pills.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-footer.mjs +17 -8
- package/fesm2022/lucca-front-ng-footer.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-field.mjs +129 -79
- package/fesm2022/lucca-front-ng-form-field.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-header.mjs +12 -6
- package/fesm2022/lucca-front-ng-form-header.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-label.mjs +65 -42
- package/fesm2022/lucca-front-ng-form-label.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form.mjs +9 -6
- package/fesm2022/lucca-front-ng-form.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-formly.mjs +59 -58
- package/fesm2022/lucca-front-ng-formly.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs +58 -40
- 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-html.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-markdown.mjs +8 -9
- package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-markdown.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-plain-text.mjs +3 -3
- package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-plain-text.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs +263 -105
- package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms.mjs +326 -151
- package/fesm2022/lucca-front-ng-forms.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-gauge.mjs +23 -13
- package/fesm2022/lucca-front-ng-gauge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-grid.mjs +39 -18
- package/fesm2022/lucca-front-ng-grid.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-highlight-data.mjs +50 -15
- package/fesm2022/lucca-front-ng-highlight-data.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-highlight-text.mjs +28 -0
- package/fesm2022/lucca-front-ng-highlight-text.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-horizontal-navigation.mjs +174 -17
- package/fesm2022/lucca-front-ng-horizontal-navigation.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-impersonation.mjs +124 -0
- package/fesm2022/lucca-front-ng-impersonation.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-index-table.mjs +82 -54
- package/fesm2022/lucca-front-ng-index-table.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-inline-message.mjs +17 -7
- package/fesm2022/lucca-front-ng-inline-message.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-input.mjs +28 -24
- package/fesm2022/lucca-front-ng-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-link.mjs +54 -23
- package/fesm2022/lucca-front-ng-link.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-listbox.mjs +31 -18
- package/fesm2022/lucca-front-ng-listbox.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-listing.mjs +16 -12
- package/fesm2022/lucca-front-ng-listing.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-loading.mjs +13 -6
- package/fesm2022/lucca-front-ng-loading.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-main-layout.mjs +6 -6
- package/fesm2022/lucca-front-ng-main-layout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-mobile-push.mjs +15 -5
- package/fesm2022/lucca-front-ng-mobile-push.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-modal.mjs +37 -35
- package/fesm2022/lucca-front-ng-modal.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-multi-select.mjs +317 -217
- package/fesm2022/lucca-front-ng-multi-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-new-badge.mjs +5 -4
- package/fesm2022/lucca-front-ng-new-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-number-format.mjs +21 -21
- package/fesm2022/lucca-front-ng-number-format.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-number.mjs +7 -7
- package/fesm2022/lucca-front-ng-number.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-numeric-badge.mjs +24 -12
- package/fesm2022/lucca-front-ng-numeric-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-option.mjs +181 -168
- package/fesm2022/lucca-front-ng-option.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-page-header.mjs +12 -8
- package/fesm2022/lucca-front-ng-page-header.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-pagination.mjs +26 -10
- package/fesm2022/lucca-front-ng-pagination.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-plg-push.mjs +14 -8
- package/fesm2022/lucca-front-ng-plg-push.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popover.mjs +141 -253
- package/fesm2022/lucca-front-ng-popover.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popover2.mjs +133 -89
- package/fesm2022/lucca-front-ng-popover2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popup.mjs +10 -10
- package/fesm2022/lucca-front-ng-popup.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-progress-bar.mjs +13 -6
- package/fesm2022/lucca-front-ng-progress-bar.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-progress-stepper.mjs +22 -12
- package/fesm2022/lucca-front-ng-progress-stepper.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-read-more.mjs +38 -17
- package/fesm2022/lucca-front-ng-read-more.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-resource-card.mjs +26 -17
- 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-safe-content.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-scroll-box.mjs +8 -6
- package/fesm2022/lucca-front-ng-scroll-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-scroll.mjs +14 -10
- package/fesm2022/lucca-front-ng-scroll.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-segmented-control-tabs.mjs +26 -14
- package/fesm2022/lucca-front-ng-segmented-control-tabs.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-segmented-control.mjs +12 -10
- package/fesm2022/lucca-front-ng-segmented-control.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-select.mjs +96 -136
- package/fesm2022/lucca-front-ng-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-sidepanel.mjs +7 -7
- package/fesm2022/lucca-front-ng-sidepanel.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-simple-select.mjs +71 -55
- package/fesm2022/lucca-front-ng-simple-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-skeleton.mjs +131 -62
- package/fesm2022/lucca-front-ng-skeleton.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-software-icon-wrapper.mjs +16 -11
- package/fesm2022/lucca-front-ng-software-icon-wrapper.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-software-icon.mjs +34 -25
- package/fesm2022/lucca-front-ng-software-icon.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-sortable-list.mjs +14 -11
- package/fesm2022/lucca-front-ng-sortable-list.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-status-badge.mjs +15 -7
- package/fesm2022/lucca-front-ng-status-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-table-of-content.mjs +8 -7
- package/fesm2022/lucca-front-ng-table-of-content.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tag.mjs +22 -11
- 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 +418 -84
- package/fesm2022/lucca-front-ng-time.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-title.mjs +34 -15
- package/fesm2022/lucca-front-ng-title.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-toast.mjs +20 -14
- package/fesm2022/lucca-front-ng-toast.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tooltip.mjs +60 -30
- package/fesm2022/lucca-front-ng-tooltip.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tree-select.mjs +20 -13
- package/fesm2022/lucca-front-ng-tree-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user-popover.mjs +34 -33
- package/fesm2022/lucca-front-ng-user-popover.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user.mjs +211 -186
- package/fesm2022/lucca-front-ng-user.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-vertical-navigation.mjs +34 -24
- package/fesm2022/lucca-front-ng-vertical-navigation.mjs.map +1 -1
- package/package.json +20 -8
- package/schematics/action-icon/index.js +34 -1
- package/schematics/action-icon/migration.spec.js +36 -3
- package/schematics/alignment-utilities/migration.spec.js +36 -3
- package/schematics/cdn-urls/migration.spec.js +36 -3
- package/schematics/class-prefix/migration.spec.js +36 -3
- package/schematics/collection.json +10 -0
- package/schematics/color-text/migration.spec.js +36 -3
- package/schematics/component-path/migration.spec.js +36 -3
- package/schematics/deprecated-resolver/index.js +73 -0
- package/schematics/deprecated-resolver/migration.spec.js +58 -0
- package/schematics/deprecated-resolver/schema.json +23 -0
- package/schematics/empty-state-title/migration.spec.js +35 -2
- package/schematics/lib/css-mapper.js +44 -6
- package/schematics/lib/deprecated-mapper.js +109 -0
- package/schematics/lib/index.js +1 -0
- package/schematics/lib/lf-schematic-context.js +34 -1
- package/schematics/lib/local-deps/package-lock.json +17 -79
- package/schematics/lib/local-deps/package.json +1 -1
- package/schematics/lib/local-deps/postcss.js +34 -1
- package/schematics/lib/migration-test.js +5 -2
- package/schematics/lib/scss-ast.js +53 -0
- package/schematics/lu-button/migration.spec.js +34 -1
- package/schematics/lu-container/migration.spec.js +34 -1
- package/schematics/lu-grid/index.js +23 -0
- package/schematics/lu-grid/migration.js +237 -0
- package/schematics/lu-grid/migration.spec.js +56 -0
- package/schematics/lu-grid/migration.utils.js +60 -0
- package/schematics/lu-grid/schema.json +23 -0
- package/schematics/lu-icon/migration.spec.js +34 -1
- package/schematics/lu-loading/migration.spec.js +34 -1
- package/schematics/lu-select/migration.spec.js +34 -1
- package/schematics/lu-text-input/migration.spec.js +34 -1
- package/schematics/new-icons/index.js +35 -2
- package/schematics/new-icons/migration.spec.js +36 -3
- package/schematics/package.json +3 -0
- package/schematics/palettes/index.js +17 -2
- package/schematics/palettes/migration.spec.js +36 -3
- package/schematics/tokens-radius/migration.spec.js +36 -3
- package/schematics/tokens-spacing/migration.spec.js +36 -3
- package/schematics/tokens-typo/migration.spec.js +36 -3
- package/src/components/_picker.scss +6 -1
- package/src/components/_popover.scss +1 -2
- package/src/definitions/option/_option-item.scss +6 -25
- package/types/lucca-front-ng-a11y.d.ts +30 -2
- package/types/lucca-front-ng-activity-feed.d.ts +18 -3
- package/types/lucca-front-ng-api.d.ts +73 -67
- package/types/lucca-front-ng-box.d.ts +6 -1
- package/types/lucca-front-ng-bubble-icon.d.ts +12 -3
- package/types/lucca-front-ng-bubble-illustration.d.ts +11 -5
- package/types/lucca-front-ng-callout.d.ts +24 -16
- package/types/lucca-front-ng-chip.d.ts +10 -1
- package/types/lucca-front-ng-clear.d.ts +12 -5
- package/types/lucca-front-ng-color.d.ts +8 -1
- package/types/lucca-front-ng-comment.d.ts +8 -1
- package/types/lucca-front-ng-container.d.ts +8 -1
- package/types/lucca-front-ng-core-select-api.d.ts +34 -22
- package/types/lucca-front-ng-core-select-department.d.ts +3 -2
- package/types/lucca-front-ng-core-select-legal-units.d.ts +56 -0
- package/types/lucca-front-ng-core-select-user.d.ts +2 -1
- package/types/lucca-front-ng-core-select.d.ts +166 -146
- package/types/lucca-front-ng-core.d.ts +37 -9
- package/types/lucca-front-ng-data-table.d.ts +18 -3
- package/types/lucca-front-ng-date.d.ts +28 -26
- package/types/lucca-front-ng-date2.d.ts +28 -9
- package/types/lucca-front-ng-dialog.d.ts +13 -2
- package/types/lucca-front-ng-divider.d.ts +9 -2
- package/types/lucca-front-ng-dropdown.d.ts +5 -4
- package/types/lucca-front-ng-empty-state.d.ts +16 -8
- package/types/lucca-front-ng-error-page.d.ts +9 -4
- package/types/lucca-front-ng-establishment.d.ts +18 -19
- package/types/lucca-front-ng-fancy-box.d.ts +8 -1
- package/types/lucca-front-ng-file-upload.d.ts +23 -11
- package/types/lucca-front-ng-filter-pills.d.ts +0 -1
- package/types/lucca-front-ng-footer.d.ts +11 -2
- package/types/lucca-front-ng-form-field.d.ts +36 -20
- package/types/lucca-front-ng-form-header.d.ts +9 -2
- package/types/lucca-front-ng-form-label.d.ts +13 -5
- package/types/lucca-front-ng-form.d.ts +2 -0
- package/types/lucca-front-ng-forms-phone-number-input.d.ts +19 -12
- package/types/lucca-front-ng-forms-rich-text-input.d.ts +17 -2
- package/types/lucca-front-ng-forms.d.ts +58 -10
- package/types/lucca-front-ng-gauge.d.ts +1 -1
- package/types/lucca-front-ng-grid.d.ts +23 -8
- package/types/lucca-front-ng-highlight-data.d.ts +16 -1
- package/types/lucca-front-ng-highlight-text.d.ts +12 -0
- package/types/lucca-front-ng-horizontal-navigation.d.ts +40 -3
- package/types/lucca-front-ng-impersonation.d.ts +33 -0
- package/types/lucca-front-ng-index-table.d.ts +19 -4
- package/types/lucca-front-ng-inline-message.d.ts +11 -4
- package/types/lucca-front-ng-input.d.ts +2 -1
- package/types/lucca-front-ng-link.d.ts +13 -3
- package/types/lucca-front-ng-listbox.d.ts +8 -1
- package/types/lucca-front-ng-listing.d.ts +1 -1
- package/types/lucca-front-ng-loading.d.ts +8 -1
- package/types/lucca-front-ng-modal.d.ts +1 -1
- package/types/lucca-front-ng-multi-select.d.ts +39 -37
- package/types/lucca-front-ng-numeric-badge.d.ts +9 -2
- package/types/lucca-front-ng-option.d.ts +10 -10
- package/types/lucca-front-ng-pagination.d.ts +8 -1
- package/types/lucca-front-ng-popover.d.ts +52 -46
- package/types/lucca-front-ng-popover2.d.ts +35 -12
- package/types/lucca-front-ng-progress-bar.d.ts +8 -1
- package/types/lucca-front-ng-progress-stepper.d.ts +8 -1
- package/types/lucca-front-ng-read-more.d.ts +8 -1
- package/types/lucca-front-ng-resource-card.d.ts +10 -1
- package/types/lucca-front-ng-segmented-control-tabs.d.ts +2 -0
- package/types/lucca-front-ng-select.d.ts +30 -28
- package/types/lucca-front-ng-simple-select.d.ts +18 -19
- package/types/lucca-front-ng-skeleton.d.ts +51 -19
- package/types/lucca-front-ng-software-icon.d.ts +11 -6
- package/types/lucca-front-ng-sortable-list.d.ts +2 -1
- package/types/lucca-front-ng-status-badge.d.ts +9 -2
- package/types/lucca-front-ng-tag.d.ts +9 -2
- package/types/lucca-front-ng-time.d.ts +90 -9
- package/types/lucca-front-ng-title.d.ts +6 -1
- package/types/lucca-front-ng-tooltip.d.ts +7 -2
- package/types/lucca-front-ng-user-popover.d.ts +4 -3
- package/types/lucca-front-ng-user.d.ts +39 -25
- package/types/lucca-front-ng-vertical-navigation.d.ts +1 -1
|
@@ -1,43 +1,38 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { InjectionToken,
|
|
2
|
+
import { InjectionToken, OnDestroy, ElementRef, Signal, EventEmitter, TemplateRef, WritableSignal, OnInit, ChangeDetectorRef, Type, Provider, PipeTransform } from '@angular/core';
|
|
3
|
+
import * as rxjs from 'rxjs';
|
|
4
|
+
import { Observable, Subject, BehaviorSubject, ReplaySubject } from 'rxjs';
|
|
3
5
|
import * as _lucca_front_ng_filter_pills from '@lucca-front/ng/filter-pills';
|
|
4
6
|
import { FilterPillInputComponent } from '@lucca-front/ng/filter-pills';
|
|
5
7
|
import { OverlayConfig, OverlayRef } from '@angular/cdk/overlay';
|
|
6
8
|
import { ControlValueAccessor } from '@angular/forms';
|
|
7
9
|
import { PortalContent, LuTranslation } from '@lucca-front/ng/core';
|
|
8
|
-
import * as
|
|
9
|
-
import { BehaviorSubject, Observable, Subject, ReplaySubject } from 'rxjs';
|
|
10
|
+
import * as _lucca_front_ng_core_select from '@lucca-front/ng/core-select';
|
|
10
11
|
import { Highlightable } from '@angular/cdk/a11y';
|
|
11
12
|
|
|
12
|
-
interface
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
destroy(): void;
|
|
13
|
+
interface SelectDataSourceParams {
|
|
14
|
+
clue: string;
|
|
15
|
+
page: number;
|
|
16
16
|
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LuSimpleSelectDefaultOptionComponent, "lu-simple-select-default-option", never, {}, {}, never, never, true, never>;
|
|
17
|
+
interface SelectDataSource<TOption, TGroup = never> {
|
|
18
|
+
paramsChange?: Observable<unknown>;
|
|
19
|
+
/** Optional debounce in ms for clue-based re-queries (useful for API data sources) */
|
|
20
|
+
clueDebounceMs?: number;
|
|
21
|
+
getOptions(params: SelectDataSourceParams): Observable<readonly TOption[]>;
|
|
22
|
+
getTotalCount?(params: SelectDataSourceParams): Observable<number>;
|
|
23
|
+
getGroupOptions?: [TGroup] extends [never] ? never : (group: TGroup) => Observable<TOption[]>;
|
|
24
|
+
reset?(): void;
|
|
26
25
|
}
|
|
27
|
-
|
|
28
|
-
declare class LuDisabledOptionDirective {
|
|
29
|
-
private context;
|
|
30
|
-
set isDisabled(disabled: boolean | null);
|
|
31
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuDisabledOptionDirective, never>;
|
|
32
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuDisabledOptionDirective, "[luDisabledOption]", never, { "isDisabled": { "alias": "luDisabledOption"; "required": false; }; }, {}, never, never, true, never>;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
26
|
interface LuOptionContext<T> {
|
|
36
27
|
$implicit: T;
|
|
37
28
|
}
|
|
38
29
|
interface LuOptionGroupByContext<T, TGroup> {
|
|
39
30
|
$implicit: LuOptionGroup<T, TGroup>;
|
|
40
31
|
}
|
|
32
|
+
interface LuOptionGrouping<TOption, TGroup> {
|
|
33
|
+
selector: (option: TOption) => TGroup;
|
|
34
|
+
content: PortalContent<LuOptionGroupByContext<TOption, TGroup>>;
|
|
35
|
+
}
|
|
41
36
|
interface LuOptionGroup<T, TGroup> {
|
|
42
37
|
key: TGroup;
|
|
43
38
|
options: T[];
|
|
@@ -58,62 +53,6 @@ declare abstract class ɵIsSelectedStrategy<TOption> {
|
|
|
58
53
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<ɵIsSelectedStrategy<any>>;
|
|
59
54
|
}
|
|
60
55
|
|
|
61
|
-
interface LuOptionGrouping<TOption, TGroup> {
|
|
62
|
-
selector: (option: TOption) => TGroup;
|
|
63
|
-
content: PortalContent<LuOptionGroupByContext<TOption, TGroup>>;
|
|
64
|
-
}
|
|
65
|
-
declare class LuOptionGroupDirective<TOption, TValue, TGroup> implements LuOptionGrouping<TOption, TGroup>, OnInit {
|
|
66
|
-
select: ALuSelectInputComponent<TOption, TValue>;
|
|
67
|
-
selector: (option: TOption) => TGroup;
|
|
68
|
-
readonly content: TemplateRef<LuOptionGroupByContext<TOption, TGroup>>;
|
|
69
|
-
static ngTemplateContextGuard<TOption, TValue, TGroup>(_dir: LuOptionGroupDirective<TOption, TValue, TGroup>, _ctx: unknown): _ctx is LuOptionGroupByContext<TOption, TGroup>;
|
|
70
|
-
ngOnInit(): void;
|
|
71
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuOptionGroupDirective<any, any, any>, never>;
|
|
72
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuOptionGroupDirective<any, any, any>, "[luOptionGroup]", never, { "select": { "alias": "luOptionGroupSelect"; "required": false; }; "selector": { "alias": "luOptionGroupBy"; "required": false; }; }, {}, never, never, true, never>;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* Generate groups with a O(n) complexity. Note that the options must be sorted by group.
|
|
77
|
-
*/
|
|
78
|
-
declare function generateGroups<T, TGroup>(options: T[], selector: (option: T) => TGroup): LuOptionGroup<T, TGroup>[];
|
|
79
|
-
declare class LuOptionGroupPipe<T, TGroup> implements PipeTransform {
|
|
80
|
-
transform(options: T[], selector: (option: T) => TGroup): LuOptionGroup<T, TGroup>[];
|
|
81
|
-
transform(options: T, selector: (option: T) => TGroup): LuOptionGroup<T, TGroup>;
|
|
82
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuOptionGroupPipe<any, any>, never>;
|
|
83
|
-
static ɵpipe: _angular_core.ɵɵPipeDeclaration<LuOptionGroupPipe<any, any>, "luOptionGroup", true>;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
declare class LuOptionOutletDirective<T> implements OnChanges, OnDestroy {
|
|
87
|
-
luOptionOutlet?: Type<unknown> | TemplateRef<LuOptionContext<T>>;
|
|
88
|
-
luOptionOutletValue: T | undefined;
|
|
89
|
-
luOptionShowNull: boolean;
|
|
90
|
-
private viewContainerRef;
|
|
91
|
-
private injector;
|
|
92
|
-
private embeddedViewRef?;
|
|
93
|
-
private componentRef?;
|
|
94
|
-
private optionContext;
|
|
95
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
96
|
-
ngOnDestroy(): void;
|
|
97
|
-
private clearContainer;
|
|
98
|
-
private createComponent;
|
|
99
|
-
private updateRefValue;
|
|
100
|
-
static ngTemplateContextGuard<T>(_dir: LuOptionOutletDirective<T>, _ctx: unknown): _ctx is void;
|
|
101
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuOptionOutletDirective<any>, never>;
|
|
102
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuOptionOutletDirective<any>, "[luOptionOutlet]", never, { "luOptionOutlet": { "alias": "luOptionOutlet"; "required": false; }; "luOptionOutletValue": { "alias": "luOptionOutletValue"; "required": false; }; "luOptionShowNull": { "alias": "luOptionShowNull"; "required": false; }; }, {}, never, never, true, never>;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
interface OptionTranslate {
|
|
106
|
-
onlyParent: string;
|
|
107
|
-
onlyChildren: string;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
type GroupTemplateLocation = 'group-header' | 'option' | 'none';
|
|
111
|
-
/**
|
|
112
|
-
* In order to avoid a blinking when we go from empty clue to a clue
|
|
113
|
-
* We need to delay the change of group displayer location by waiting for the options to be updated.
|
|
114
|
-
*/
|
|
115
|
-
declare function getGroupTemplateLocation(hasGrouping$: Observable<boolean>, clueChange$: Observable<string>, options$: Observable<readonly unknown[]>, searchable?: boolean): Observable<GroupTemplateLocation>;
|
|
116
|
-
|
|
117
56
|
declare class CoreSelectPanelElement<T> implements Highlightable, OnDestroy {
|
|
118
57
|
#private;
|
|
119
58
|
readonly elementRef: ElementRef<HTMLElement>;
|
|
@@ -122,58 +61,24 @@ declare class CoreSelectPanelElement<T> implements Highlightable, OnDestroy {
|
|
|
122
61
|
readonly idAttribute: _angular_core.Signal<string>;
|
|
123
62
|
readonly isSelected: _angular_core.ModelSignal<boolean>;
|
|
124
63
|
readonly option: _angular_core.InputSignal<T>;
|
|
64
|
+
readonly disabledInput: _angular_core.InputSignal<boolean>;
|
|
65
|
+
readonly disabledRef: _angular_core.WritableSignal<boolean>;
|
|
125
66
|
readonly isHighlighted: _angular_core.WritableSignal<boolean>;
|
|
126
67
|
selected: _angular_core.OutputEmitterRef<void>;
|
|
127
|
-
disabled: boolean;
|
|
68
|
+
get disabled(): boolean;
|
|
69
|
+
set disabled(disabled: boolean);
|
|
128
70
|
constructor();
|
|
129
71
|
ngOnDestroy(): void;
|
|
130
72
|
setActiveStyles(): void;
|
|
131
73
|
setInactiveStyles(): void;
|
|
74
|
+
onMouseEnter(): void;
|
|
132
75
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CoreSelectPanelElement<any>, never>;
|
|
133
|
-
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; }; "
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
declare class LuOptionComponent<T> implements AfterViewInit, OnDestroy, OnInit {
|
|
137
|
-
protected selectableItem: CoreSelectPanelElement<any>;
|
|
138
|
-
readonly intl: _angular_core.InputSignalWithTransform<OptionTranslate, Partial<OptionTranslate>>;
|
|
139
|
-
hasOptionItemClass: boolean;
|
|
140
|
-
optionTpl: TemplateRef<LuOptionContext<T>> | Type<unknown> | undefined;
|
|
141
|
-
option?: T;
|
|
142
|
-
grouping?: LuOptionGrouping<T, unknown>;
|
|
143
|
-
readonly hasChildren: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
144
|
-
onlyParent: _angular_core.OutputEmitterRef<void>;
|
|
145
|
-
onlyChildren: _angular_core.OutputEmitterRef<void>;
|
|
146
|
-
readonly groupIndex: _angular_core.InputSignal<number>;
|
|
147
|
-
readonly optionIndex: _angular_core.InputSignalWithTransform<string, string | number>;
|
|
148
|
-
scrollIntoViewOptions: ScrollIntoViewOptions;
|
|
149
|
-
readonly groupTemplateLocation: _angular_core.InputSignal<GroupTemplateLocation>;
|
|
150
|
-
private readonly optionContext?;
|
|
151
|
-
private cdr;
|
|
152
|
-
private subscription?;
|
|
153
|
-
get id(): string;
|
|
154
|
-
protected elementRef: ElementRef<HTMLElement>;
|
|
155
|
-
protected selectId: number;
|
|
156
|
-
constructor();
|
|
157
|
-
ngOnInit(): void;
|
|
158
|
-
ngOnDestroy(): void;
|
|
159
|
-
ngAfterViewInit(): void;
|
|
160
|
-
selectOption($event: Event): void;
|
|
161
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuOptionComponent<any>, never>;
|
|
162
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LuOptionComponent<any>, "lu-select-option", never, { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; "optionTpl": { "alias": "optionTpl"; "required": false; }; "option": { "alias": "option"; "required": false; }; "grouping": { "alias": "grouping"; "required": false; }; "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; }; "groupTemplateLocation": { "alias": "groupTemplateLocation"; "required": false; "isSignal": true; }; }, { "onlyParent": "onlyParent"; "onlyChildren": "onlyChildren"; }, never, never, true, never>;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
declare class LuOptionDirective<TOption, TValue> {
|
|
166
|
-
private templateRef;
|
|
167
|
-
set select(select: ALuSelectInputComponent<TOption, TValue>);
|
|
168
|
-
constructor(templateRef: TemplateRef<LuOptionContext<TOption>>);
|
|
169
|
-
static ngTemplateContextGuard<TOption, TValue>(_dir: LuOptionDirective<TOption, TValue>, _ctx: unknown): _ctx is LuOptionContext<TOption>;
|
|
170
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuOptionDirective<any, any>, never>;
|
|
171
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuOptionDirective<any, any>, "[luOption]", never, { "select": { "alias": "luOptionSelect"; "required": false; }; }, {}, never, never, true, never>;
|
|
76
|
+
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>;
|
|
172
77
|
}
|
|
173
78
|
|
|
174
79
|
interface CoreSelectKeyManagerOptions<T> {
|
|
175
80
|
queryList: Signal<readonly CoreSelectPanelElement<T>[]>;
|
|
176
|
-
options
|
|
81
|
+
options: Signal<readonly T[]>;
|
|
177
82
|
optionComparer: LuOptionComparer<T>;
|
|
178
83
|
activeOptionIdChanged$: EventEmitter<string>;
|
|
179
84
|
clueChange$: Observable<string>;
|
|
@@ -185,6 +90,7 @@ declare class CoreSelectKeyManager<T> {
|
|
|
185
90
|
get activeItem(): CoreSelectPanelElement<T> | undefined;
|
|
186
91
|
get activeItemIndex(): number;
|
|
187
92
|
setActiveItem(index: number): void;
|
|
93
|
+
setActiveItemByElement(item: CoreSelectPanelElement<T>): void;
|
|
188
94
|
highlightOption(option: T): void;
|
|
189
95
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CoreSelectKeyManager<any>, never>;
|
|
190
96
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<CoreSelectKeyManager<any>>;
|
|
@@ -201,7 +107,6 @@ declare class LuCoreSelectPanelHeaderDirective {
|
|
|
201
107
|
|
|
202
108
|
declare abstract class LuSelectPanelRef<TOption, TValue> {
|
|
203
109
|
closed: EventEmitter<void>;
|
|
204
|
-
previousPage: EventEmitter<void>;
|
|
205
110
|
nextPage: EventEmitter<void>;
|
|
206
111
|
valueChanged: EventEmitter<TValue>;
|
|
207
112
|
clueChanged: EventEmitter<string>;
|
|
@@ -214,8 +119,16 @@ declare abstract class LuSelectPanelRef<TOption, TValue> {
|
|
|
214
119
|
close(): void;
|
|
215
120
|
}
|
|
216
121
|
|
|
122
|
+
type GroupTemplateLocation = 'group-header' | 'option' | 'none';
|
|
123
|
+
/**
|
|
124
|
+
* In order to avoid a blinking when we go from empty clue to a clue
|
|
125
|
+
* We need to delay the change of group displayer location by waiting for the options to be updated.
|
|
126
|
+
*/
|
|
127
|
+
declare function getGroupTemplateLocation(hasGrouping: Signal<boolean>, clue: Signal<string>, searchable?: boolean): Signal<GroupTemplateLocation>;
|
|
128
|
+
|
|
217
129
|
interface CoreSelectPanelInstance<T = unknown> {
|
|
218
130
|
options: WritableSignal<CoreSelectPanelElement<T>[]>;
|
|
131
|
+
pointerNavigation: Signal<boolean>;
|
|
219
132
|
}
|
|
220
133
|
declare const SELECT_PANEL_INSTANCE: InjectionToken<CoreSelectPanelInstance<unknown>>;
|
|
221
134
|
|
|
@@ -248,7 +161,7 @@ declare abstract class ALuSelectInputComponent<TOption, TValue> implements OnDes
|
|
|
248
161
|
protected filterPillHost: _lucca_front_ng_filter_pills.FilterPillComponent;
|
|
249
162
|
protected afterCloseFn?: () => void;
|
|
250
163
|
protected updatePositionFn?: () => void;
|
|
251
|
-
|
|
164
|
+
filterPillMode: boolean;
|
|
252
165
|
readonly ignorePresentation: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
253
166
|
selectParent$?: Subject<void>;
|
|
254
167
|
selectChildren$?: Subject<void>;
|
|
@@ -256,35 +169,41 @@ declare abstract class ALuSelectInputComponent<TOption, TValue> implements OnDes
|
|
|
256
169
|
readonly panelOpened: _angular_core.OutputEmitterRef<void>;
|
|
257
170
|
readonly highlightedOption: _angular_core.OutputEmitterRef<TOption>;
|
|
258
171
|
private readonly inputElementRef;
|
|
259
|
-
readonly placeholder$: BehaviorSubject<string>;
|
|
260
172
|
readonly disabled$: BehaviorSubject<boolean>;
|
|
261
173
|
readonly filterPillDisabled: Signal<boolean>;
|
|
262
174
|
readonly prefix: _angular_core.InputSignal<PortalContent>;
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
175
|
+
readonly placeholder: _angular_core.InputSignal<string>;
|
|
176
|
+
readonly clearableInput: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
177
|
+
readonly isClearable: Signal<boolean>;
|
|
266
178
|
get searchable(): boolean;
|
|
267
179
|
protected readonly computedAddOptionLabel: Signal<PortalContent>;
|
|
268
|
-
|
|
180
|
+
readonly addOptionLabelInput: _angular_core.InputSignal<PortalContent>;
|
|
269
181
|
get addOptionLabel(): PortalContent;
|
|
270
|
-
|
|
182
|
+
readonly addOptionStrategy: _angular_core.InputSignal<CoreSelectAddOptionStrategy>;
|
|
271
183
|
protected get isSelectedClass(): boolean;
|
|
272
184
|
protected get isSearchFilledClass(): boolean;
|
|
273
185
|
protected abstract hasValue(): boolean;
|
|
274
186
|
get isPanelOpen(): boolean;
|
|
275
187
|
readonly isPanelOpen$: BehaviorSubject<boolean>;
|
|
188
|
+
readonly panelOpenSignal: Signal<boolean>;
|
|
276
189
|
readonly activeDescendant$: BehaviorSubject<string>;
|
|
190
|
+
protected manualOptions$: ReplaySubject<readonly TOption[]>;
|
|
277
191
|
get ariaControls(): string;
|
|
278
|
-
overlayConfig
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
192
|
+
readonly overlayConfig: _angular_core.InputSignal<OverlayConfig>;
|
|
193
|
+
readonly loadingInput: _angular_core.InputSignal<boolean>;
|
|
194
|
+
readonly optionsInput: _angular_core.InputSignal<readonly TOption[]>;
|
|
195
|
+
readonly optionComparerInput: _angular_core.InputSignal<LuOptionComparer<TOption>>;
|
|
196
|
+
readonly optionKeyInput: _angular_core.InputSignal<(option: TOption) => unknown>;
|
|
283
197
|
readonly noClueIcon: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
284
198
|
readonly inputTabindex: _angular_core.InputSignal<number>;
|
|
285
199
|
readonly compact: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
286
200
|
readonly colorPicker: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
287
201
|
protected get isNoClueIconClass(): boolean;
|
|
202
|
+
readonly options: _angular_core.WritableSignal<readonly TOption[]>;
|
|
203
|
+
readonly loading: _angular_core.WritableSignal<boolean>;
|
|
204
|
+
readonly clearable: _angular_core.WritableSignal<boolean>;
|
|
205
|
+
readonly optionComparer: _angular_core.WritableSignal<LuOptionComparer<TOption>>;
|
|
206
|
+
readonly optionKey: _angular_core.WritableSignal<(option: TOption) => unknown>;
|
|
288
207
|
readonly optionTpl: _angular_core.ModelSignal<Type<unknown> | TemplateRef<LuOptionContext<TOption>>>;
|
|
289
208
|
readonly valueTpl: _angular_core.ModelSignal<Type<unknown> | TemplateRef<LuOptionContext<TOption>>>;
|
|
290
209
|
readonly panelHeaderTpl: _angular_core.ModelSignal<Type<unknown> | TemplateRef<void>>;
|
|
@@ -304,28 +223,28 @@ declare abstract class ALuSelectInputComponent<TOption, TValue> implements OnDes
|
|
|
304
223
|
clueChange: _angular_core.OutputRef<string>;
|
|
305
224
|
readonly nextPage$: Subject<void>;
|
|
306
225
|
nextPage: _angular_core.OutputRef<void>;
|
|
307
|
-
readonly previousPage: _angular_core.OutputEmitterRef<void>;
|
|
308
226
|
readonly addOption: _angular_core.OutputEmitterRef<string>;
|
|
309
227
|
readonly valueSignal: _angular_core.WritableSignal<TValue>;
|
|
310
228
|
readonly isFilterPillEmpty: Signal<boolean>;
|
|
311
229
|
readonly isFilterPillClearable: Signal<boolean>;
|
|
312
230
|
get value(): TValue | null;
|
|
313
231
|
protected set value(value: TValue | null);
|
|
314
|
-
get inputPlaceholder(): string | null;
|
|
232
|
+
get inputPlaceholder(): string | null | undefined;
|
|
315
233
|
clueChanged(clue: string, skipPanelOpen?: boolean): void;
|
|
316
234
|
protected _value: TValue | null;
|
|
317
|
-
|
|
318
|
-
readonly
|
|
235
|
+
private getDefaultDataSource;
|
|
236
|
+
readonly dataSource: _angular_core.ModelSignal<SelectDataSource<TOption, unknown>>;
|
|
237
|
+
readonly dataSourceOptions: Signal<readonly TOption[]>;
|
|
319
238
|
clue: string | null;
|
|
320
239
|
lastEmittedClue: string;
|
|
321
|
-
readonly clue$: Observable<string>;
|
|
322
|
-
readonly
|
|
323
|
-
shouldDisplayAddOption$: Observable<boolean>;
|
|
240
|
+
readonly clue$: rxjs.Observable<string>;
|
|
241
|
+
readonly shouldDisplayAddOption: Signal<boolean>;
|
|
324
242
|
protected onChange?: (value: TValue | null) => void;
|
|
325
243
|
protected onTouched?: () => void;
|
|
326
244
|
get panelRef(): LuSelectPanelRef<TOption, TValue> | undefined;
|
|
327
245
|
protected _panelRef?: LuSelectPanelRef<TOption, TValue>;
|
|
328
246
|
protected readonly destroyed$: Subject<void>;
|
|
247
|
+
private readonly injector;
|
|
329
248
|
constructor();
|
|
330
249
|
onClickOpenPanel($event: Event): void;
|
|
331
250
|
onKeyDownNavigation(event: Event): void;
|
|
@@ -351,8 +270,7 @@ declare abstract class ALuSelectInputComponent<TOption, TValue> implements OnDes
|
|
|
351
270
|
onFilterPillOpened(): void;
|
|
352
271
|
onFilterPillClosed(): void;
|
|
353
272
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ALuSelectInputComponent<any, any>, never>;
|
|
354
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ALuSelectInputComponent<any, any>, never, never, { "ignorePresentation": { "alias": "ignorePresentation"; "required": false; "isSignal": true; }; "prefix": { "alias": "prefix"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; }; "
|
|
355
|
-
static ngAcceptInputType_clearable: unknown;
|
|
273
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ALuSelectInputComponent<any, any>, never, never, { "ignorePresentation": { "alias": "ignorePresentation"; "required": false; "isSignal": true; }; "prefix": { "alias": "prefix"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "clearableInput": { "alias": "clearable"; "required": false; "isSignal": true; }; "addOptionLabelInput": { "alias": "addOptionLabel"; "required": false; "isSignal": true; }; "addOptionStrategy": { "alias": "addOptionStrategy"; "required": false; "isSignal": true; }; "overlayConfig": { "alias": "overlayConfig"; "required": false; "isSignal": true; }; "loadingInput": { "alias": "loading"; "required": false; "isSignal": true; }; "optionsInput": { "alias": "options"; "required": false; "isSignal": true; }; "optionComparerInput": { "alias": "optionComparer"; "required": false; "isSignal": true; }; "optionKeyInput": { "alias": "optionKey"; "required": false; "isSignal": true; }; "noClueIcon": { "alias": "noClueIcon"; "required": false; "isSignal": true; }; "inputTabindex": { "alias": "inputTabindex"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "colorPicker": { "alias": "colorPicker"; "required": false; "isSignal": true; }; "optionTpl": { "alias": "optionTpl"; "required": false; "isSignal": true; }; "valueTpl": { "alias": "valueTpl"; "required": false; "isSignal": true; }; "panelHeaderTpl": { "alias": "panelHeaderTpl"; "required": false; "isSignal": true; }; "panelFooterTpl": { "alias": "panelFooterTpl"; "required": false; "isSignal": true; }; "dataSource": { "alias": "dataSource"; "required": false; "isSignal": true; }; }, { "panelClosed": "panelClosed"; "panelOpened": "panelOpened"; "highlightedOption": "highlightedOption"; "optionTpl": "optionTplChange"; "valueTpl": "valueTplChange"; "panelHeaderTpl": "panelHeaderTplChange"; "panelFooterTpl": "panelFooterTplChange"; "clueChange": "clueChange"; "nextPage": "nextPage"; "addOption": "addOption"; "dataSource": "dataSourceChange"; }, never, never, true, never>;
|
|
356
274
|
}
|
|
357
275
|
|
|
358
276
|
declare function provideLuSelectLabelsAndIds(): Provider[];
|
|
@@ -373,11 +291,11 @@ declare class TreeDisplayPipe<T> implements PipeTransform {
|
|
|
373
291
|
|
|
374
292
|
declare class LuDisplayerDirective<TOption, TValue> {
|
|
375
293
|
private templateRef;
|
|
376
|
-
|
|
294
|
+
readonly select: _angular_core.InputSignal<ALuSelectInputComponent<TOption, TValue>>;
|
|
377
295
|
constructor(templateRef: TemplateRef<LuOptionContext<TOption>>);
|
|
378
296
|
static ngTemplateContextGuard<TOption, TValue>(_dir: LuDisplayerDirective<TOption, TValue>, _ctx: unknown): _ctx is LuOptionContext<TOption>;
|
|
379
297
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuDisplayerDirective<any, any>, never>;
|
|
380
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuDisplayerDirective<any, any>, "[luDisplayer]", never, { "select": { "alias": "luDisplayerSelect"; "required": false; }; }, {}, never, never, true, never>;
|
|
298
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuDisplayerDirective<any, any>, "[luDisplayer]", never, { "select": { "alias": "luDisplayerSelect"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
381
299
|
}
|
|
382
300
|
|
|
383
301
|
declare class LuCoreSelectNoClueDirective {
|
|
@@ -386,6 +304,108 @@ declare class LuCoreSelectNoClueDirective {
|
|
|
386
304
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuCoreSelectNoClueDirective, "lu-simple-select[noClue],lu-multi-select[noClue]", never, {}, {}, never, never, true, never>;
|
|
387
305
|
}
|
|
388
306
|
|
|
307
|
+
interface ILuOptionContext<T> {
|
|
308
|
+
isDisabled$: BehaviorSubject<boolean>;
|
|
309
|
+
option$: BehaviorSubject<T | undefined>;
|
|
310
|
+
destroy(): void;
|
|
311
|
+
}
|
|
312
|
+
declare const LU_OPTION_CONTEXT: InjectionToken<ILuOptionContext<unknown>>;
|
|
313
|
+
declare function provideOptionContext(): Provider;
|
|
314
|
+
|
|
315
|
+
declare class LuSimpleSelectDefaultOptionComponent {
|
|
316
|
+
context: ILuOptionContext<{
|
|
317
|
+
name?: string;
|
|
318
|
+
}>;
|
|
319
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuSimpleSelectDefaultOptionComponent, never>;
|
|
320
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LuSimpleSelectDefaultOptionComponent, "lu-simple-select-default-option", never, {}, {}, never, never, true, never>;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
declare class LuDisabledOptionDirective {
|
|
324
|
+
readonly isDisabled: _angular_core.InputSignal<boolean>;
|
|
325
|
+
private context;
|
|
326
|
+
constructor();
|
|
327
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuDisabledOptionDirective, never>;
|
|
328
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuDisabledOptionDirective, "[luDisabledOption]", never, { "isDisabled": { "alias": "luDisabledOption"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
declare class LuOptionGroupDirective<TOption, TValue, TGroup> {
|
|
332
|
+
readonly select: _angular_core.InputSignal<ALuSelectInputComponent<TOption, TValue>>;
|
|
333
|
+
readonly selector: _angular_core.InputSignal<(option: TOption) => TGroup>;
|
|
334
|
+
readonly content: TemplateRef<LuOptionGroupByContext<TOption, TGroup>>;
|
|
335
|
+
static ngTemplateContextGuard<TOption, TValue, TGroup>(_dir: LuOptionGroupDirective<TOption, TValue, TGroup>, _ctx: unknown): _ctx is LuOptionGroupByContext<TOption, TGroup>;
|
|
336
|
+
constructor();
|
|
337
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuOptionGroupDirective<any, any, any>, never>;
|
|
338
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuOptionGroupDirective<any, any, any>, "[luOptionGroup]", never, { "select": { "alias": "luOptionGroupSelect"; "required": true; "isSignal": true; }; "selector": { "alias": "luOptionGroupBy"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
/**
|
|
342
|
+
* Generate groups with a O(n) complexity. Note that the options must be sorted by group.
|
|
343
|
+
*/
|
|
344
|
+
declare function generateGroups<T, TGroup>(options: T[], selector: (option: T) => TGroup): LuOptionGroup<T, TGroup>[];
|
|
345
|
+
declare class LuOptionGroupPipe<T, TGroup> implements PipeTransform {
|
|
346
|
+
transform(options: T[], selector: (option: T) => TGroup): LuOptionGroup<T, TGroup>[];
|
|
347
|
+
transform(options: T, selector: (option: T) => TGroup): LuOptionGroup<T, TGroup>;
|
|
348
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuOptionGroupPipe<any, any>, never>;
|
|
349
|
+
static ɵpipe: _angular_core.ɵɵPipeDeclaration<LuOptionGroupPipe<any, any>, "luOptionGroup", true>;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
declare class LuOptionOutletDirective<T> implements OnDestroy {
|
|
353
|
+
readonly luOptionOutlet: _angular_core.InputSignal<Type<unknown> | TemplateRef<LuOptionContext<T>>>;
|
|
354
|
+
readonly luOptionOutletValue: _angular_core.InputSignal<T>;
|
|
355
|
+
readonly luOptionShowNull: _angular_core.InputSignal<boolean>;
|
|
356
|
+
private viewContainerRef;
|
|
357
|
+
private injector;
|
|
358
|
+
private embeddedViewRef?;
|
|
359
|
+
private componentRef?;
|
|
360
|
+
private optionContext;
|
|
361
|
+
constructor();
|
|
362
|
+
ngOnDestroy(): void;
|
|
363
|
+
private clearContainer;
|
|
364
|
+
static ngTemplateContextGuard<T>(_dir: LuOptionOutletDirective<T>, _ctx: unknown): _ctx is void;
|
|
365
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuOptionOutletDirective<any>, never>;
|
|
366
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuOptionOutletDirective<any>, "[luOptionOutlet]", never, { "luOptionOutlet": { "alias": "luOptionOutlet"; "required": false; "isSignal": true; }; "luOptionOutletValue": { "alias": "luOptionOutletValue"; "required": false; "isSignal": true; }; "luOptionShowNull": { "alias": "luOptionShowNull"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
interface OptionTranslate {
|
|
370
|
+
onlyParent: string;
|
|
371
|
+
onlyChildren: string;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
declare class LuOptionComponent<T> implements OnInit {
|
|
375
|
+
#private;
|
|
376
|
+
protected selectableItem: CoreSelectPanelElement<any>;
|
|
377
|
+
readonly intl: _angular_core.InputSignalWithTransform<OptionTranslate, Partial<OptionTranslate>>;
|
|
378
|
+
readonly optionTpl: _angular_core.InputSignal<Type<unknown> | TemplateRef<LuOptionContext<T>>>;
|
|
379
|
+
readonly option: _angular_core.InputSignal<T>;
|
|
380
|
+
readonly grouping: _angular_core.InputSignal<LuOptionGrouping<T, unknown>>;
|
|
381
|
+
readonly hasChildren: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
382
|
+
readonly onlyParent: _angular_core.OutputEmitterRef<void>;
|
|
383
|
+
readonly onlyChildren: _angular_core.OutputEmitterRef<void>;
|
|
384
|
+
readonly groupIndex: _angular_core.InputSignal<number>;
|
|
385
|
+
readonly optionIndex: _angular_core.InputSignalWithTransform<string, string | number>;
|
|
386
|
+
readonly scrollIntoViewOptions: _angular_core.InputSignal<ScrollIntoViewOptions>;
|
|
387
|
+
readonly groupTemplateLocation: _angular_core.InputSignal<GroupTemplateLocation>;
|
|
388
|
+
readonly optionContext: _angular_core.Signal<_lucca_front_ng_core_select.ILuOptionContext<unknown>>;
|
|
389
|
+
private cdr;
|
|
390
|
+
get id(): string;
|
|
391
|
+
protected elementRef: ElementRef<HTMLElement>;
|
|
392
|
+
protected selectId: number;
|
|
393
|
+
constructor();
|
|
394
|
+
ngOnInit(): void;
|
|
395
|
+
selectOption($event: Event): void;
|
|
396
|
+
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"; }, never, never, true, never>;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
declare class LuOptionDirective<TOption, TValue> {
|
|
401
|
+
private templateRef;
|
|
402
|
+
readonly select: _angular_core.InputSignal<ALuSelectInputComponent<TOption, TValue>>;
|
|
403
|
+
constructor(templateRef: TemplateRef<LuOptionContext<TOption>>);
|
|
404
|
+
static ngTemplateContextGuard<TOption, TValue>(_dir: LuOptionDirective<TOption, TValue>, _ctx: unknown): _ctx is LuOptionContext<TOption>;
|
|
405
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuOptionDirective<any, any>, never>;
|
|
406
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuOptionDirective<any, any>, "[luOption]", never, { "select": { "alias": "luOptionSelect"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
407
|
+
}
|
|
408
|
+
|
|
389
409
|
declare const applySearchDelimiter: (clue: string, delimiter: string) => string;
|
|
390
410
|
|
|
391
411
|
declare class LuIsOptionSelectedPipe<T> implements PipeTransform {
|
|
@@ -396,4 +416,4 @@ declare class LuIsOptionSelectedPipe<T> implements PipeTransform {
|
|
|
396
416
|
}
|
|
397
417
|
|
|
398
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 };
|
|
399
|
-
export type { CoreSelectAddOptionStrategy, CoreSelectApiTotalCountProvider, CoreSelectPanelInstance, ILuOptionContext, LuCoreSelectLabel, LuOptionComparer, LuOptionContext, LuOptionGroup, LuOptionGroupByContext, LuOptionGrouping, TreeGenerator, TreeGroupingFn, TreeNode };
|
|
419
|
+
export type { CoreSelectAddOptionStrategy, CoreSelectApiTotalCountProvider, CoreSelectPanelInstance, ILuOptionContext, LuCoreSelectLabel, LuOptionComparer, LuOptionContext, LuOptionGroup, LuOptionGroupByContext, LuOptionGrouping, SelectDataSource, SelectDataSourceParams, TreeGenerator, TreeGroupingFn, TreeNode };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { PipeTransform, InjectionToken, TemplateRef, Type, OnDestroy, Signal, EffectCleanupRegisterFn, CreateEffectOptions, EffectRef, InputOptionsWithTransform } from '@angular/core';
|
|
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
4
|
export { DecorativePalette, PrClass as LuClass, Palette } from '@lucca/prisme/core';
|
|
5
5
|
|
|
@@ -178,6 +178,25 @@ declare function assertNotNil<T>(input: T, errorMessage?: string): asserts input
|
|
|
178
178
|
declare const isNilOrEmptyString: (str: string | Nil) => str is Nil | "";
|
|
179
179
|
declare const isNotNilOrEmptyString: (str: string | Nil) => str is string;
|
|
180
180
|
|
|
181
|
+
/**
|
|
182
|
+
* Reads the `--commons-pushPanel-inlineSize` design token — the inline-end space reserved for a
|
|
183
|
+
* docked panel that shrinks the page content — from the document root, in pixels.
|
|
184
|
+
* Returns 0 when the token is unset or cannot be parsed as a pixel length.
|
|
185
|
+
*/
|
|
186
|
+
declare function getPushPanelInlineSize(element: Element): number;
|
|
187
|
+
/**
|
|
188
|
+
* Builds a per-side viewport margin for a CDK `FlexibleConnectedPositionStrategy` so connected
|
|
189
|
+
* overlays (popovers, tooltips, selects…) are pushed out of the reserved pushPanel zone on the
|
|
190
|
+
* inline-end instead of overflowing into it. `base` is added to every side so an existing uniform
|
|
191
|
+
* margin is preserved.
|
|
192
|
+
*/
|
|
193
|
+
declare function getPushPanelViewportMargin(element: Element, base?: number): {
|
|
194
|
+
start: number;
|
|
195
|
+
end: number;
|
|
196
|
+
top: number;
|
|
197
|
+
bottom: number;
|
|
198
|
+
};
|
|
199
|
+
|
|
181
200
|
type PortalContent<T = unknown> = string | TemplateRef<T> | Type<unknown>;
|
|
182
201
|
declare const PORTAL_CONTEXT: InjectionToken<unknown>;
|
|
183
202
|
|
|
@@ -236,6 +255,18 @@ type EffectWithDepsInput = ReadonlyArray<Signal<unknown>> | Record<string, Signa
|
|
|
236
255
|
* La plupart du temps, seule la lecture des signaux est intéressante à tracker, pas les actions qui en découlent.
|
|
237
256
|
*/
|
|
238
257
|
declare function ɵeffectWithDeps<const T extends EffectWithDepsInput>(dependencies: T, action: (...values: [...SignalsValue<T>, EffectCleanupRegisterFn]) => unknown, options?: CreateEffectOptions): EffectRef;
|
|
258
|
+
/**
|
|
259
|
+
* Utilitaire pour synchroniser un input signal avec une props via un setter.
|
|
260
|
+
* Évite la répétition des ɵeffectWithDeps + isNotNil.
|
|
261
|
+
*/
|
|
262
|
+
declare function syncInputSignal<T>(signal: ReturnType<typeof input<T>>, setter: (value: T) => void): void;
|
|
263
|
+
|
|
264
|
+
declare class IntlParamsPipe implements PipeTransform {
|
|
265
|
+
#private;
|
|
266
|
+
transform(value: string, args: Record<string, string | number>): string;
|
|
267
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IntlParamsPipe, never>;
|
|
268
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<IntlParamsPipe, "intlParams", true>;
|
|
269
|
+
}
|
|
239
270
|
|
|
240
271
|
/**
|
|
241
272
|
* @deprecated use `LuTranslation` instead.
|
|
@@ -250,6 +281,8 @@ interface ILuTranslation<T> {
|
|
|
250
281
|
pt?: T;
|
|
251
282
|
}
|
|
252
283
|
type LuTranslation<T> = Record<string, T>;
|
|
284
|
+
type LuPluralForms = Partial<Record<Intl.LDMLPluralRule, string>>;
|
|
285
|
+
declare function getIntlPluralLabel(pluralForms: Intl.PluralRules, label: LuPluralForms, count: number): string;
|
|
253
286
|
|
|
254
287
|
declare function getIntl<T>(translationsToken: InjectionToken<LuTranslation<T>> | InjectionToken<ILuTranslation<T>>): T;
|
|
255
288
|
/**
|
|
@@ -274,12 +307,7 @@ declare function getIntl<T>(translationsToken: InjectionToken<LuTranslation<T>>
|
|
|
274
307
|
declare function intlInputOptions<T1>(token1: InjectionToken<LuTranslation<T1>>): [T1, InputOptionsWithTransform<T1, Partial<T1>>];
|
|
275
308
|
declare function intlInputOptions<T1, T2>(token1: InjectionToken<LuTranslation<T1>>, token2: InjectionToken<LuTranslation<T2>>): [T1 & T2, InputOptionsWithTransform<T1 & T2, Partial<T1 & T2>>];
|
|
276
309
|
|
|
277
|
-
declare
|
|
278
|
-
#private;
|
|
279
|
-
transform(value: string, args: Record<string, string | number>): string;
|
|
280
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IntlParamsPipe, never>;
|
|
281
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<IntlParamsPipe, "intlParams", true>;
|
|
282
|
-
}
|
|
310
|
+
declare const LOCALE_PLURAL_RULES: InjectionToken<Intl.PluralRules>;
|
|
283
311
|
|
|
284
312
|
interface ILuTree<T> {
|
|
285
313
|
value: T;
|
|
@@ -287,5 +315,5 @@ interface ILuTree<T> {
|
|
|
287
315
|
disabled?: boolean;
|
|
288
316
|
}
|
|
289
317
|
|
|
290
|
-
export { ALuDateAdapter, ALuOnCloseSubscriber, ALuOnOpenSubscriber, ALuOnScrollBottomSubscriber, ELuDateGranularity, IntlParamsPipe, LU_NATIVE_DATE_ADAPTER_OPTIONS, LuNativeDateAdapter, LuStringDateAdapter, LuTypeGuardPipe, PORTAL_CONTEXT, PortalDirective, assertNotNil, defaultBreakpoints, generateId, getIntl, intlInputOptions, isNil, isNilOrEmptyString, isNotNil, isNotNilOrEmptyString, isRouterLinkParam, luDefaultNativeDateAdapterOptions, ɵeffectWithDeps };
|
|
291
|
-
export type { At, Breakpoint, EffectWithDepsInput, EnumValue, ILuDateAdapter, ILuGroup, ILuNativeDateAdapterOptions, ILuOnCloseSubscriber, ILuOnOpenSubscriber, ILuOnScrollBottomSubscriber, ILuTranslation, ILuTree, LuDateGranularity, LuTranslation, PortalContent, ResponsiveConfig, ResponsiveProperty, RouterLinkParam };
|
|
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 };
|
|
319
|
+
export type { At, Breakpoint, EffectWithDepsInput, EnumValue, ILuDateAdapter, ILuGroup, ILuNativeDateAdapterOptions, ILuOnCloseSubscriber, ILuOnOpenSubscriber, ILuOnScrollBottomSubscriber, ILuTranslation, ILuTree, LuDateGranularity, LuPluralForms, LuTranslation, PortalContent, ResponsiveConfig, ResponsiveProperty, RouterLinkParam };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _lucca_front_ng_data_table from '@lucca-front/ng/data-table';
|
|
2
2
|
import * as _angular_core from '@angular/core';
|
|
3
|
-
import { AfterContentInit, ElementRef, OnInit } from '@angular/core';
|
|
3
|
+
import { AfterContentInit, ElementRef, OnInit, InjectionToken } from '@angular/core';
|
|
4
4
|
import { PortalContent } from '@lucca-front/ng/core';
|
|
5
5
|
|
|
6
6
|
declare class DataTableBodyComponent {
|
|
@@ -39,6 +39,7 @@ declare class DataTableRowCellHeaderComponent extends BaseDataTableCell implemen
|
|
|
39
39
|
readonly insetInlineEnd: _angular_core.Signal<string>;
|
|
40
40
|
readonly inlineSizePx: _angular_core.Signal<number>;
|
|
41
41
|
ngAfterContentInit(): void;
|
|
42
|
+
toggleSort(): void;
|
|
42
43
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DataTableRowCellHeaderComponent, never>;
|
|
43
44
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DataTableRowCellHeaderComponent, "th[luDataTableCell]", never, { "sort": { "alias": "sort"; "required": false; "isSignal": true; }; "fixedWidth": { "alias": "fixedWidth"; "required": false; "isSignal": true; }; "inlineSize": { "alias": "inlineSize"; "required": false; "isSignal": true; }; }, { "sort": "sortChange"; }, never, ["*"], true, never>;
|
|
44
45
|
}
|
|
@@ -80,9 +81,10 @@ declare class DataTableRowComponent {
|
|
|
80
81
|
protected tableRef: _lucca_front_ng_data_table.DataTableComponent;
|
|
81
82
|
readonly selected: _angular_core.ModelSignal<boolean>;
|
|
82
83
|
readonly selectedLabel: _angular_core.InputSignal<string>;
|
|
84
|
+
readonly mixed: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
83
85
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
84
86
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DataTableRowComponent, never>;
|
|
85
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DataTableRowComponent, "tr[luDataTableRow]", never, { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "selectedLabel": { "alias": "selectedLabel"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "selected": "selectedChange"; }, ["cells"], ["*"], true, never>;
|
|
87
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DataTableRowComponent, "tr[luDataTableRow]", never, { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "selectedLabel": { "alias": "selectedLabel"; "required": false; "isSignal": true; }; "mixed": { "alias": "mixed"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "selected": "selectedChange"; }, ["cells"], ["*"], true, never>;
|
|
86
88
|
}
|
|
87
89
|
|
|
88
90
|
declare class DataTableComponent implements OnInit {
|
|
@@ -133,4 +135,17 @@ declare class DataTableComponent implements OnInit {
|
|
|
133
135
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DataTableComponent, "lu-data-table", never, { "hover": { "alias": "hover"; "required": false; "isSignal": true; }; "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "layoutFixed": { "alias": "layoutFixed"; "required": false; "isSignal": true; }; "cellBorder": { "alias": "cellBorder"; "required": false; "isSignal": true; }; "nested": { "alias": "nested"; "required": false; "isSignal": true; }; "drag": { "alias": "drag"; "required": false; "isSignal": true; }; "noOverflow": { "alias": "noOverflow"; "required": false; "isSignal": true; }; "responsive": { "alias": "responsive"; "required": false; "isSignal": true; }; "verticalAlign": { "alias": "verticalAlign"; "required": false; "isSignal": true; }; "stickyColsStart": { "alias": "stickyColsStart"; "required": false; "isSignal": true; }; "stickyColsEnd": { "alias": "stickyColsEnd"; "required": false; "isSignal": true; }; }, {}, ["rows", "header"], ["*", "[dataTablePagination]"], true, never>;
|
|
134
136
|
}
|
|
135
137
|
|
|
136
|
-
|
|
138
|
+
declare const LU_DATA_TABLE_INSTANCE: InjectionToken<DataTableComponent>;
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* Available DataTableComponent Types
|
|
142
|
+
*/
|
|
143
|
+
declare const DATA_TABLE_SORT: readonly ["none", "ascending", "descending"];
|
|
144
|
+
type DataTableSort = (typeof DATA_TABLE_SORT)[number];
|
|
145
|
+
declare const DATA_TABLE_VERTICAL_ALIGN: readonly ["top", "middle", "bottom"];
|
|
146
|
+
type DataTableVerticalAlign = (typeof DATA_TABLE_VERTICAL_ALIGN)[number];
|
|
147
|
+
declare const DATA_TABLE_ALIGN: readonly ["start", "center", "end"];
|
|
148
|
+
type DataTableAlign = (typeof DATA_TABLE_ALIGN)[number];
|
|
149
|
+
|
|
150
|
+
export { DATA_TABLE_ALIGN, DATA_TABLE_SORT, DATA_TABLE_VERTICAL_ALIGN, DataTableBodyComponent, DataTableComponent, DataTableFootComponent, DataTableHeadComponent, DataTableRowCellComponent, DataTableRowCellHeaderComponent, DataTableRowComponent, LU_DATA_TABLE_INSTANCE };
|
|
151
|
+
export type { DataTableAlign, DataTableSort, DataTableVerticalAlign };
|