@lucca-front/ng 22.0.0-rc.2 → 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 +116 -78
- 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 +17 -8
- 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 +70 -24
- 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 +65 -41
- package/fesm2022/lucca-front-ng-core-select-user.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select.mjs +355 -236
- package/fesm2022/lucca-front-ng-core-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core.mjs +86 -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 +91 -62
- package/fesm2022/lucca-front-ng-date.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date2.mjs +375 -161
- package/fesm2022/lucca-front-ng-date2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-department.mjs +31 -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 +16 -8
- package/fesm2022/lucca-front-ng-divider.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-dropdown.mjs +42 -41
- 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 +57 -45
- 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 +83 -52
- 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 +124 -71
- 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 +58 -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 +370 -154
- 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 +27 -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 +32 -26
- package/fesm2022/lucca-front-ng-modal.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-multi-select.mjs +247 -123
- 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 +14 -10
- 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 +160 -140
- 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 +23 -20
- package/fesm2022/lucca-front-ng-popover.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popover2.mjs +107 -35
- 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 +30 -23
- 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 +66 -50
- 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 +416 -80
- 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 +28 -23
- package/fesm2022/lucca-front-ng-user-popover.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user.mjs +172 -113
- 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 +14 -8
- 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 +9 -3
- 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 +13 -1
- 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 +34 -15
- package/types/lucca-front-ng-core.d.ts +31 -8
- package/types/lucca-front-ng-data-table.d.ts +18 -3
- 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 +8 -1
- 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-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 +34 -17
- 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 +90 -22
- 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 +3 -0
- package/types/lucca-front-ng-numeric-badge.d.ts +9 -2
- package/types/lucca-front-ng-pagination.d.ts +8 -1
- package/types/lucca-front-ng-popover2.d.ts +23 -2
- 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-segmented-control.d.ts +4 -2
- package/types/lucca-front-ng-simple-select.d.ts +16 -17
- 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 +89 -8
- 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.d.ts +19 -5
- package/types/lucca-front-ng-vertical-navigation.d.ts +1 -1
|
@@ -1,15 +1,28 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
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 rxjs from 'rxjs';
|
|
9
|
-
import { Observable, Subject, BehaviorSubject, ReplaySubject } from 'rxjs';
|
|
10
10
|
import * as _lucca_front_ng_core_select from '@lucca-front/ng/core-select';
|
|
11
11
|
import { Highlightable } from '@angular/cdk/a11y';
|
|
12
12
|
|
|
13
|
+
interface SelectDataSourceParams {
|
|
14
|
+
clue: string;
|
|
15
|
+
page: number;
|
|
16
|
+
}
|
|
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;
|
|
25
|
+
}
|
|
13
26
|
interface LuOptionContext<T> {
|
|
14
27
|
$implicit: T;
|
|
15
28
|
}
|
|
@@ -58,13 +71,14 @@ declare class CoreSelectPanelElement<T> implements Highlightable, OnDestroy {
|
|
|
58
71
|
ngOnDestroy(): void;
|
|
59
72
|
setActiveStyles(): void;
|
|
60
73
|
setInactiveStyles(): void;
|
|
74
|
+
onMouseEnter(): void;
|
|
61
75
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CoreSelectPanelElement<any>, never>;
|
|
62
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>;
|
|
63
77
|
}
|
|
64
78
|
|
|
65
79
|
interface CoreSelectKeyManagerOptions<T> {
|
|
66
80
|
queryList: Signal<readonly CoreSelectPanelElement<T>[]>;
|
|
67
|
-
options
|
|
81
|
+
options: Signal<readonly T[]>;
|
|
68
82
|
optionComparer: LuOptionComparer<T>;
|
|
69
83
|
activeOptionIdChanged$: EventEmitter<string>;
|
|
70
84
|
clueChange$: Observable<string>;
|
|
@@ -76,6 +90,7 @@ declare class CoreSelectKeyManager<T> {
|
|
|
76
90
|
get activeItem(): CoreSelectPanelElement<T> | undefined;
|
|
77
91
|
get activeItemIndex(): number;
|
|
78
92
|
setActiveItem(index: number): void;
|
|
93
|
+
setActiveItemByElement(item: CoreSelectPanelElement<T>): void;
|
|
79
94
|
highlightOption(option: T): void;
|
|
80
95
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CoreSelectKeyManager<any>, never>;
|
|
81
96
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<CoreSelectKeyManager<any>>;
|
|
@@ -92,7 +107,6 @@ declare class LuCoreSelectPanelHeaderDirective {
|
|
|
92
107
|
|
|
93
108
|
declare abstract class LuSelectPanelRef<TOption, TValue> {
|
|
94
109
|
closed: EventEmitter<void>;
|
|
95
|
-
previousPage: EventEmitter<void>;
|
|
96
110
|
nextPage: EventEmitter<void>;
|
|
97
111
|
valueChanged: EventEmitter<TValue>;
|
|
98
112
|
clueChanged: EventEmitter<string>;
|
|
@@ -110,10 +124,11 @@ type GroupTemplateLocation = 'group-header' | 'option' | 'none';
|
|
|
110
124
|
* In order to avoid a blinking when we go from empty clue to a clue
|
|
111
125
|
* We need to delay the change of group displayer location by waiting for the options to be updated.
|
|
112
126
|
*/
|
|
113
|
-
declare function getGroupTemplateLocation(hasGrouping
|
|
127
|
+
declare function getGroupTemplateLocation(hasGrouping: Signal<boolean>, clue: Signal<string>, searchable?: boolean): Signal<GroupTemplateLocation>;
|
|
114
128
|
|
|
115
129
|
interface CoreSelectPanelInstance<T = unknown> {
|
|
116
130
|
options: WritableSignal<CoreSelectPanelElement<T>[]>;
|
|
131
|
+
pointerNavigation: Signal<boolean>;
|
|
117
132
|
}
|
|
118
133
|
declare const SELECT_PANEL_INSTANCE: InjectionToken<CoreSelectPanelInstance<unknown>>;
|
|
119
134
|
|
|
@@ -146,7 +161,7 @@ declare abstract class ALuSelectInputComponent<TOption, TValue> implements OnDes
|
|
|
146
161
|
protected filterPillHost: _lucca_front_ng_filter_pills.FilterPillComponent;
|
|
147
162
|
protected afterCloseFn?: () => void;
|
|
148
163
|
protected updatePositionFn?: () => void;
|
|
149
|
-
|
|
164
|
+
filterPillMode: boolean;
|
|
150
165
|
readonly ignorePresentation: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
151
166
|
selectParent$?: Subject<void>;
|
|
152
167
|
selectChildren$?: Subject<void>;
|
|
@@ -170,11 +185,13 @@ declare abstract class ALuSelectInputComponent<TOption, TValue> implements OnDes
|
|
|
170
185
|
protected abstract hasValue(): boolean;
|
|
171
186
|
get isPanelOpen(): boolean;
|
|
172
187
|
readonly isPanelOpen$: BehaviorSubject<boolean>;
|
|
188
|
+
readonly panelOpenSignal: Signal<boolean>;
|
|
173
189
|
readonly activeDescendant$: BehaviorSubject<string>;
|
|
190
|
+
protected manualOptions$: ReplaySubject<readonly TOption[]>;
|
|
174
191
|
get ariaControls(): string;
|
|
175
192
|
readonly overlayConfig: _angular_core.InputSignal<OverlayConfig>;
|
|
176
193
|
readonly loadingInput: _angular_core.InputSignal<boolean>;
|
|
177
|
-
readonly optionsInput: _angular_core.InputSignal<TOption[]>;
|
|
194
|
+
readonly optionsInput: _angular_core.InputSignal<readonly TOption[]>;
|
|
178
195
|
readonly optionComparerInput: _angular_core.InputSignal<LuOptionComparer<TOption>>;
|
|
179
196
|
readonly optionKeyInput: _angular_core.InputSignal<(option: TOption) => unknown>;
|
|
180
197
|
readonly noClueIcon: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
@@ -182,7 +199,7 @@ declare abstract class ALuSelectInputComponent<TOption, TValue> implements OnDes
|
|
|
182
199
|
readonly compact: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
183
200
|
readonly colorPicker: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
184
201
|
protected get isNoClueIconClass(): boolean;
|
|
185
|
-
readonly options: _angular_core.WritableSignal<TOption[]>;
|
|
202
|
+
readonly options: _angular_core.WritableSignal<readonly TOption[]>;
|
|
186
203
|
readonly loading: _angular_core.WritableSignal<boolean>;
|
|
187
204
|
readonly clearable: _angular_core.WritableSignal<boolean>;
|
|
188
205
|
readonly optionComparer: _angular_core.WritableSignal<LuOptionComparer<TOption>>;
|
|
@@ -206,7 +223,6 @@ declare abstract class ALuSelectInputComponent<TOption, TValue> implements OnDes
|
|
|
206
223
|
clueChange: _angular_core.OutputRef<string>;
|
|
207
224
|
readonly nextPage$: Subject<void>;
|
|
208
225
|
nextPage: _angular_core.OutputRef<void>;
|
|
209
|
-
readonly previousPage: _angular_core.OutputEmitterRef<void>;
|
|
210
226
|
readonly addOption: _angular_core.OutputEmitterRef<string>;
|
|
211
227
|
readonly valueSignal: _angular_core.WritableSignal<TValue>;
|
|
212
228
|
readonly isFilterPillEmpty: Signal<boolean>;
|
|
@@ -216,17 +232,19 @@ declare abstract class ALuSelectInputComponent<TOption, TValue> implements OnDes
|
|
|
216
232
|
get inputPlaceholder(): string | null | undefined;
|
|
217
233
|
clueChanged(clue: string, skipPanelOpen?: boolean): void;
|
|
218
234
|
protected _value: TValue | null;
|
|
219
|
-
|
|
220
|
-
readonly
|
|
235
|
+
private getDefaultDataSource;
|
|
236
|
+
readonly dataSource: _angular_core.ModelSignal<SelectDataSource<TOption, unknown>>;
|
|
237
|
+
readonly dataSourceOptions: Signal<readonly TOption[]>;
|
|
221
238
|
clue: string | null;
|
|
222
239
|
lastEmittedClue: string;
|
|
223
|
-
readonly clue$: Observable<string>;
|
|
224
|
-
shouldDisplayAddOption
|
|
240
|
+
readonly clue$: rxjs.Observable<string>;
|
|
241
|
+
readonly shouldDisplayAddOption: Signal<boolean>;
|
|
225
242
|
protected onChange?: (value: TValue | null) => void;
|
|
226
243
|
protected onTouched?: () => void;
|
|
227
244
|
get panelRef(): LuSelectPanelRef<TOption, TValue> | undefined;
|
|
228
245
|
protected _panelRef?: LuSelectPanelRef<TOption, TValue>;
|
|
229
246
|
protected readonly destroyed$: Subject<void>;
|
|
247
|
+
private readonly injector;
|
|
230
248
|
constructor();
|
|
231
249
|
onClickOpenPanel($event: Event): void;
|
|
232
250
|
onKeyDownNavigation(event: Event): void;
|
|
@@ -252,7 +270,7 @@ declare abstract class ALuSelectInputComponent<TOption, TValue> implements OnDes
|
|
|
252
270
|
onFilterPillOpened(): void;
|
|
253
271
|
onFilterPillClosed(): void;
|
|
254
272
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ALuSelectInputComponent<any, any>, never>;
|
|
255
|
-
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; }; }, { "panelClosed": "panelClosed"; "panelOpened": "panelOpened"; "highlightedOption": "highlightedOption"; "optionTpl": "optionTplChange"; "valueTpl": "valueTplChange"; "panelHeaderTpl": "panelHeaderTplChange"; "panelFooterTpl": "panelFooterTplChange"; "clueChange": "clueChange"; "nextPage": "nextPage"; "
|
|
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>;
|
|
256
274
|
}
|
|
257
275
|
|
|
258
276
|
declare function provideLuSelectLabelsAndIds(): Provider[];
|
|
@@ -354,6 +372,7 @@ interface OptionTranslate {
|
|
|
354
372
|
}
|
|
355
373
|
|
|
356
374
|
declare class LuOptionComponent<T> implements OnInit {
|
|
375
|
+
#private;
|
|
357
376
|
protected selectableItem: CoreSelectPanelElement<any>;
|
|
358
377
|
readonly intl: _angular_core.InputSignalWithTransform<OptionTranslate, Partial<OptionTranslate>>;
|
|
359
378
|
readonly optionTpl: _angular_core.InputSignal<Type<unknown> | TemplateRef<LuOptionContext<T>>>;
|
|
@@ -397,4 +416,4 @@ declare class LuIsOptionSelectedPipe<T> implements PipeTransform {
|
|
|
397
416
|
}
|
|
398
417
|
|
|
399
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 };
|
|
400
|
-
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 };
|
|
@@ -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
|
|
|
@@ -242,6 +261,13 @@ declare function ɵeffectWithDeps<const T extends EffectWithDepsInput>(dependenc
|
|
|
242
261
|
*/
|
|
243
262
|
declare function syncInputSignal<T>(signal: ReturnType<typeof input<T>>, setter: (value: T) => void): void;
|
|
244
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
|
+
}
|
|
270
|
+
|
|
245
271
|
/**
|
|
246
272
|
* @deprecated use `LuTranslation` instead.
|
|
247
273
|
*/
|
|
@@ -255,6 +281,8 @@ interface ILuTranslation<T> {
|
|
|
255
281
|
pt?: T;
|
|
256
282
|
}
|
|
257
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;
|
|
258
286
|
|
|
259
287
|
declare function getIntl<T>(translationsToken: InjectionToken<LuTranslation<T>> | InjectionToken<ILuTranslation<T>>): T;
|
|
260
288
|
/**
|
|
@@ -279,12 +307,7 @@ declare function getIntl<T>(translationsToken: InjectionToken<LuTranslation<T>>
|
|
|
279
307
|
declare function intlInputOptions<T1>(token1: InjectionToken<LuTranslation<T1>>): [T1, InputOptionsWithTransform<T1, Partial<T1>>];
|
|
280
308
|
declare function intlInputOptions<T1, T2>(token1: InjectionToken<LuTranslation<T1>>, token2: InjectionToken<LuTranslation<T2>>): [T1 & T2, InputOptionsWithTransform<T1 & T2, Partial<T1 & T2>>];
|
|
281
309
|
|
|
282
|
-
declare
|
|
283
|
-
#private;
|
|
284
|
-
transform(value: string, args: Record<string, string | number>): string;
|
|
285
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IntlParamsPipe, never>;
|
|
286
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<IntlParamsPipe, "intlParams", true>;
|
|
287
|
-
}
|
|
310
|
+
declare const LOCALE_PLURAL_RULES: InjectionToken<Intl.PluralRules>;
|
|
288
311
|
|
|
289
312
|
interface ILuTree<T> {
|
|
290
313
|
value: T;
|
|
@@ -292,5 +315,5 @@ interface ILuTree<T> {
|
|
|
292
315
|
disabled?: boolean;
|
|
293
316
|
}
|
|
294
317
|
|
|
295
|
-
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, syncInputSignal, ɵeffectWithDeps };
|
|
296
|
-
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 };
|
|
@@ -6,8 +6,10 @@ import { ControlValueAccessor, Validator, NgControl, AbstractControl, Validation
|
|
|
6
6
|
import { LuccaIcon } from '@lucca-front/icons';
|
|
7
7
|
import { FilterPillInputComponent } from '@lucca-front/ng/filter-pills';
|
|
8
8
|
import { PopoverDirective } from '@lucca-front/ng/popover2';
|
|
9
|
+
import { WeekOptions, FirstWeekContainsDateOptions } from 'date-fns';
|
|
9
10
|
|
|
10
|
-
|
|
11
|
+
declare const CALENDAR_MODE: readonly ["day", "week", "month", "year"];
|
|
12
|
+
type CalendarMode = (typeof CALENDAR_MODE)[number];
|
|
11
13
|
|
|
12
14
|
interface Date2Translate {
|
|
13
15
|
from: string;
|
|
@@ -17,6 +19,8 @@ interface Date2Translate {
|
|
|
17
19
|
previous: string;
|
|
18
20
|
next: string;
|
|
19
21
|
clear: string;
|
|
22
|
+
weekNumber: string;
|
|
23
|
+
weekPrefix: string;
|
|
20
24
|
}
|
|
21
25
|
|
|
22
26
|
interface CellStatus {
|
|
@@ -46,6 +50,7 @@ interface RangeInfo {
|
|
|
46
50
|
}
|
|
47
51
|
interface CalendarCellInfo {
|
|
48
52
|
day: number;
|
|
53
|
+
week: number;
|
|
49
54
|
date: Date;
|
|
50
55
|
status: CellStatus;
|
|
51
56
|
disabled: boolean;
|
|
@@ -79,7 +84,7 @@ interface CalendarYearInfo {
|
|
|
79
84
|
declare class Calendar2CellDirective {
|
|
80
85
|
#private;
|
|
81
86
|
readonly luCalendar2Cell: _angular_core.InputSignal<number>;
|
|
82
|
-
readonly luCalendar2Mode: _angular_core.InputSignal<
|
|
87
|
+
readonly luCalendar2Mode: _angular_core.InputSignal<"day" | "week" | "month" | "year">;
|
|
83
88
|
readonly luCalendar2Date: _angular_core.InputSignal<Date>;
|
|
84
89
|
get tabindex(): 0 | -1;
|
|
85
90
|
readonly isTabbableDate: _angular_core.Signal<boolean>;
|
|
@@ -103,8 +108,8 @@ declare class Calendar2Component implements OnInit {
|
|
|
103
108
|
readonly disableModeChange: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
104
109
|
readonly date: _angular_core.ModelSignal<Date>;
|
|
105
110
|
readonly tabbableDate: _angular_core.ModelSignal<Date>;
|
|
106
|
-
readonly mode: _angular_core.ModelSignal<
|
|
107
|
-
readonly displayMode: _angular_core.ModelSignal<
|
|
111
|
+
readonly mode: _angular_core.ModelSignal<"day" | "week" | "month" | "year">;
|
|
112
|
+
readonly displayMode: _angular_core.ModelSignal<"day" | "week" | "month" | "year">;
|
|
108
113
|
readonly ranges: _angular_core.InputSignal<readonly DateRange[]>;
|
|
109
114
|
readonly getCellInfo: _angular_core.InputSignal<(date: Date, displayMode: CalendarMode | null) => CellStatus>;
|
|
110
115
|
readonly month: _angular_core.Signal<Date>;
|
|
@@ -137,6 +142,9 @@ declare class Calendar2Component implements OnInit {
|
|
|
137
142
|
ngOnInit(): void;
|
|
138
143
|
onCellClicked(date: Date): void;
|
|
139
144
|
dateToCellInfo(date: Date, isOverflow?: boolean): CalendarCellInfo;
|
|
145
|
+
getWeekHeaderCell(week: CalendarCellInfo[]): CalendarCellInfo;
|
|
146
|
+
getWeekRowClasses(week: CalendarCellInfo[]): Record<string, boolean>;
|
|
147
|
+
getWeekDayCellClasses(day: CalendarCellInfo, isLastDay: boolean): Record<string, boolean>;
|
|
140
148
|
getRangeInfo(date: Date, scope: CalendarMode | null, isOverflow?: boolean): {
|
|
141
149
|
range: DateRange;
|
|
142
150
|
isStart: boolean;
|
|
@@ -150,16 +158,25 @@ declare class Calendar2Component implements OnInit {
|
|
|
150
158
|
|
|
151
159
|
declare function getDateFormat(locale: string, mode?: CalendarMode): string;
|
|
152
160
|
declare function getSeparator(locale: string): string;
|
|
153
|
-
declare function getLocalizedDateFormat(locale: string, period?:
|
|
161
|
+
declare function getLocalizedDateFormat(locale: string, period?: CalendarMode, weekPrefix?: string): string;
|
|
154
162
|
|
|
163
|
+
/**
|
|
164
|
+
* Available DateComponent Types
|
|
165
|
+
*/
|
|
166
|
+
declare const DATE2_CLEAR_BEHAVIOR: readonly ["clear", "reset"];
|
|
167
|
+
type Date2ClearBehavior = (typeof DATE2_CLEAR_BEHAVIOR)[number];
|
|
168
|
+
declare const DATE_FORMAT_CONST: readonly ["date", "date-iso"];
|
|
155
169
|
declare const DATE_FORMAT: {
|
|
156
170
|
readonly DATE: "date";
|
|
157
171
|
readonly DATE_ISO: "date-iso";
|
|
158
172
|
};
|
|
159
173
|
type DateFormat = (typeof DATE_FORMAT)[keyof typeof DATE_FORMAT];
|
|
174
|
+
declare const DATE_ISO_FORMAT = "yyyy-MM-dd";
|
|
160
175
|
|
|
161
176
|
declare abstract class AbstractDateComponent {
|
|
177
|
+
#private;
|
|
162
178
|
protected locale: string;
|
|
179
|
+
protected get weekOptions(): WeekOptions & FirstWeekContainsDateOptions;
|
|
163
180
|
protected dateFormat: string;
|
|
164
181
|
protected separator: string;
|
|
165
182
|
protected readonly dateFormatWithMode: _angular_core.Signal<string>;
|
|
@@ -176,13 +193,13 @@ declare abstract class AbstractDateComponent {
|
|
|
176
193
|
readonly hasTodayButton: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
177
194
|
readonly clearable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
178
195
|
readonly clearBehavior: _angular_core.InputSignal<"clear" | "reset">;
|
|
179
|
-
readonly mode: _angular_core.InputSignal<
|
|
196
|
+
readonly mode: _angular_core.InputSignal<"day" | "week" | "month" | "year">;
|
|
180
197
|
readonly hideWeekend: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
181
198
|
readonly getCellInfo: _angular_core.InputSignal<(day: Date, mode: CalendarMode) => CellStatus>;
|
|
182
199
|
readonly min: _angular_core.InputSignalWithTransform<Date, string | Date>;
|
|
183
200
|
readonly max: _angular_core.InputSignalWithTransform<Date, string | Date>;
|
|
184
201
|
readonly focusedDate: _angular_core.InputSignalWithTransform<Date, string | Date>;
|
|
185
|
-
readonly calendarMode: _angular_core.ModelSignal<
|
|
202
|
+
readonly calendarMode: _angular_core.ModelSignal<"day" | "week" | "month" | "year">;
|
|
186
203
|
readonly panelOpened: _angular_core.OutputEmitterRef<void>;
|
|
187
204
|
readonly panelClosed: _angular_core.OutputEmitterRef<void>;
|
|
188
205
|
readonly dateFormatLocalized: _angular_core.Signal<string>;
|
|
@@ -211,6 +228,7 @@ declare class DateInputComponent extends AbstractDateComponent implements OnInit
|
|
|
211
228
|
#private;
|
|
212
229
|
parentInput: FilterPillInputComponent;
|
|
213
230
|
ngControl: NgControl;
|
|
231
|
+
weekParsingRegexp: RegExp;
|
|
214
232
|
readonly autocomplete: _angular_core.InputSignal<AutoFill>;
|
|
215
233
|
readonly placeholder: _angular_core.InputSignal<string>;
|
|
216
234
|
readonly disableOverflow: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
@@ -236,6 +254,7 @@ declare class DateInputComponent extends AbstractDateComponent implements OnInit
|
|
|
236
254
|
filterPillPopoverCloseFn?: () => void;
|
|
237
255
|
get isNavigationButtonFocused(): boolean;
|
|
238
256
|
constructor();
|
|
257
|
+
parseValue(inputValue: string): Date | null;
|
|
239
258
|
ngOnInit(): void;
|
|
240
259
|
registerFilterPillClosePopover(closeFn: () => void): void;
|
|
241
260
|
enableFilterPillMode(): void;
|
|
@@ -330,5 +349,5 @@ declare class DateRangeInputComponent extends AbstractDateComponent implements O
|
|
|
330
349
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DateRangeInputComponent, "lu-date-range-input", never, { "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "widthAuto": { "alias": "widthAuto"; "required": false; "isSignal": true; }; "shortcuts": { "alias": "shortcuts"; "required": false; "isSignal": true; }; "autocomplete": { "alias": "autocomplete"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
331
350
|
}
|
|
332
351
|
|
|
333
|
-
export { Calendar2Component, DateInputComponent, DateRangeInputComponent, PremadeShortcuts, getDateFormat, getLocalizedDateFormat, getSeparator };
|
|
334
|
-
export type { CalendarMode, CalendarShortcut, CellStatus, DateInputValidatorErrorType, DateRange, DateRangeInput };
|
|
352
|
+
export { CALENDAR_MODE, Calendar2Component, DATE2_CLEAR_BEHAVIOR, DATE_FORMAT, DATE_FORMAT_CONST, DATE_ISO_FORMAT, DateInputComponent, DateRangeInputComponent, PremadeShortcuts, getDateFormat, getLocalizedDateFormat, getSeparator };
|
|
353
|
+
export type { CalendarMode, CalendarShortcut, CellStatus, Date2ClearBehavior, DateFormat, DateInputValidatorErrorType, DateRange, DateRangeInput };
|
|
@@ -162,6 +162,10 @@ type BaseLuDialogConfig<C, TData = LuDialogData<C>> = {
|
|
|
162
162
|
* Classes to add to the panel
|
|
163
163
|
*/
|
|
164
164
|
panelClasses?: string[];
|
|
165
|
+
/**
|
|
166
|
+
* Should the dialog have a neutral background?
|
|
167
|
+
*/
|
|
168
|
+
surfaceDefault?: boolean;
|
|
165
169
|
};
|
|
166
170
|
type LuDialogConfig<T, TData = LuDialogData<T>> = [TData] extends [never] ? Omit<BaseLuDialogConfig<T, TData>, 'data'> : BaseLuDialogConfig<T, TData>;
|
|
167
171
|
type LuDialogSize = 'XS' | 'S' | 'M' | 'L' | 'XL' | 'XXL' | 'fitContent' | `maxContent` | 'fullScreen';
|
|
@@ -256,6 +260,12 @@ declare const DIALOG_ROUTE_CLOSE_TRIGGER: InjectionToken<DialogRouteCloseTrigger
|
|
|
256
260
|
declare const DIALOG_ROUTE_DISMISS_TRIGGER: InjectionToken<DialogRouteDismissTrigger>;
|
|
257
261
|
declare const DIALOG_ROUTE_CONFIG: InjectionToken<DialogRouteConfig<unknown>>;
|
|
258
262
|
|
|
263
|
+
/**
|
|
264
|
+
* Available DialogComponent Types
|
|
265
|
+
*/
|
|
266
|
+
declare const DIALOG_FANCY_ILLUSTRATION: readonly ["approval", "checklist", "email", "install", "mapping", "save", "users", "welcome", "payment-card"];
|
|
267
|
+
type DialogFancyIllustration = (typeof DIALOG_FANCY_ILLUSTRATION)[number];
|
|
268
|
+
|
|
259
269
|
declare function configureLuDialog(): EnvironmentProviders;
|
|
260
270
|
declare function provideLuDialog(): Provider;
|
|
261
271
|
|
|
@@ -315,11 +325,12 @@ declare class DialogOpenDirective {
|
|
|
315
325
|
size?: _lucca_front_ng_dialog.LuDialogSize;
|
|
316
326
|
mode?: "default" | "drawer" | "drawer-from-bottom" | "fancy";
|
|
317
327
|
panelClasses?: string[];
|
|
328
|
+
surfaceDefault?: boolean;
|
|
318
329
|
}, "data">>;
|
|
319
330
|
click(): void;
|
|
320
331
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialogOpenDirective, never>;
|
|
321
332
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DialogOpenDirective, "[luDialogOpen]", never, { "dialog": { "alias": "luDialogOpen"; "required": true; "isSignal": true; }; "luDialogConfig": { "alias": "luDialogConfig"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
322
333
|
}
|
|
323
334
|
|
|
324
|
-
export { DIALOG_ROUTE_CLOSE_TRIGGER, DIALOG_ROUTE_CONFIG, DIALOG_ROUTE_DISMISS_TRIGGER, DialogCloseDirective, DialogComponent, DialogContentComponent, DialogDismissDirective, DialogFooterComponent, DialogHeaderAction, DialogHeaderComponent, DialogHeaderSubtitle, DialogOpenDirective, DialogRoutingContainerComponent, LU_DIALOG_HEADER_TRANSLATIONS, LuDialogRef, LuDialogService, LuccaDialogRoutingReuseStrategy, configureLuDialog, createDialogRoute, defaultOnClosedFn, dialogLazyRouteFactory, dialogRouteFactory, injectDialogData, injectDialogRef, luDialogHeaderTranslations, provideDialogRoutingReuseStrategy, provideLuDialog };
|
|
325
|
-
export type { DialogFactoryConfig, DialogFactoryResult, DialogFactoryResultOptions, DialogRouteCloseTrigger, DialogRouteConfig, DialogRouteDialogConfig, DialogRouteDismissTrigger, LuDialogConfig, LuDialogData, LuDialogHeaderTranslations, LuDialogResult, LuDialogSelfRef, LuDialogSize, ɵDialogDataFlag, ɵDialogResultFlag };
|
|
335
|
+
export { DIALOG_FANCY_ILLUSTRATION, DIALOG_ROUTE_CLOSE_TRIGGER, DIALOG_ROUTE_CONFIG, DIALOG_ROUTE_DISMISS_TRIGGER, DialogCloseDirective, DialogComponent, DialogContentComponent, DialogDismissDirective, DialogFooterComponent, DialogHeaderAction, DialogHeaderComponent, DialogHeaderSubtitle, DialogOpenDirective, DialogRoutingContainerComponent, LU_DIALOG_HEADER_TRANSLATIONS, LuDialogRef, LuDialogService, LuccaDialogRoutingReuseStrategy, configureLuDialog, createDialogRoute, defaultOnClosedFn, dialogLazyRouteFactory, dialogRouteFactory, injectDialogData, injectDialogRef, luDialogHeaderTranslations, provideDialogRoutingReuseStrategy, provideLuDialog };
|
|
336
|
+
export type { DialogFactoryConfig, DialogFactoryResult, DialogFactoryResultOptions, DialogFancyIllustration, DialogRouteCloseTrigger, DialogRouteConfig, DialogRouteDialogConfig, DialogRouteDismissTrigger, LuDialogConfig, LuDialogData, LuDialogHeaderTranslations, LuDialogResult, LuDialogSelfRef, LuDialogSize, ɵDialogDataFlag, ɵDialogResultFlag };
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { OnChanges, ElementRef } from '@angular/core';
|
|
3
3
|
|
|
4
|
+
/**
|
|
5
|
+
* Available DividerComponent Types
|
|
6
|
+
*/
|
|
7
|
+
declare const DIVIDER_SIZE: readonly ["M", "S"];
|
|
8
|
+
type DividerSize = (typeof DIVIDER_SIZE)[number];
|
|
9
|
+
|
|
4
10
|
declare class DividerComponent implements OnChanges {
|
|
5
11
|
#private;
|
|
6
12
|
readonly content: _angular_core.Signal<ElementRef<any>>;
|
|
@@ -27,4 +33,5 @@ declare class DividerComponent implements OnChanges {
|
|
|
27
33
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DividerComponent, "lu-divider", never, { "separatorRole": { "alias": "separatorRole"; "required": false; "isSignal": true; }; "vertical": { "alias": "vertical"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "withRole": { "alias": "withRole"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
28
34
|
}
|
|
29
35
|
|
|
30
|
-
export { DividerComponent };
|
|
36
|
+
export { DIVIDER_SIZE, DividerComponent };
|
|
37
|
+
export type { DividerSize };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { PortalContent } from '@lucca-front/ng/core';
|
|
3
|
+
import { BubbleIllustration } from '@lucca-front/ng/bubble-illustration';
|
|
3
4
|
|
|
4
5
|
declare class EmptyStatePageIllustration {
|
|
5
6
|
readonly src: _angular_core.InputSignal<string>;
|
|
@@ -8,9 +9,6 @@ declare class EmptyStatePageIllustration {
|
|
|
8
9
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EmptyStatePageIllustration, "lu-empty-state-page-illustration", never, { "src": { "alias": "src"; "required": false; "isSignal": true; }; "alt": { "alias": "alt"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
9
10
|
}
|
|
10
11
|
|
|
11
|
-
type Hx = 1 | 2 | 3 | 4 | 5 | 6;
|
|
12
|
-
type HxStyle = 1 | 2;
|
|
13
|
-
|
|
14
12
|
declare class EmptyStatePageComponent {
|
|
15
13
|
/**
|
|
16
14
|
* Icon image (URL)
|
|
@@ -46,8 +44,8 @@ declare class EmptyStatePageComponent {
|
|
|
46
44
|
readonly illustration: _angular_core.InputSignal<PortalContent>;
|
|
47
45
|
readonly heading: _angular_core.InputSignal<string>;
|
|
48
46
|
readonly description: _angular_core.InputSignal<PortalContent>;
|
|
49
|
-
readonly hx: _angular_core.InputSignalWithTransform<
|
|
50
|
-
readonly hxStyle: _angular_core.InputSignalWithTransform<
|
|
47
|
+
readonly hx: _angular_core.InputSignalWithTransform<1 | 2 | 3 | 4 | 5 | 6, 1 | 2 | 3 | 4 | 5 | 6 | "1" | "2" | "3" | "4" | "5" | "6">;
|
|
48
|
+
readonly hxStyle: _angular_core.InputSignalWithTransform<1 | 2, 1 | 2 | "1" | "2">;
|
|
51
49
|
isStringPortalContent(message: PortalContent): message is string;
|
|
52
50
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EmptyStatePageComponent, never>;
|
|
53
51
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EmptyStatePageComponent, "lu-empty-state-page", never, { "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "topRightBackground": { "alias": "topRightBackground"; "required": false; "isSignal": true; }; "topRightForeground": { "alias": "topRightForeground"; "required": false; "isSignal": true; }; "bottomLeftBackground": { "alias": "bottomLeftBackground"; "required": false; "isSignal": true; }; "bottomLeftForeground": { "alias": "bottomLeftForeground"; "required": false; "isSignal": true; }; "contentBackgroundColor": { "alias": "contentBackgroundColor"; "required": false; "isSignal": true; }; "slotTop": { "alias": "slotTop"; "required": false; "isSignal": true; }; "illustration": { "alias": "illustration"; "required": false; "isSignal": true; }; "heading": { "alias": "heading"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "hx": { "alias": "hx"; "required": false; "isSignal": true; }; "hxStyle": { "alias": "hxStyle"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
@@ -64,7 +62,7 @@ declare class EmptyStateSectionComponent {
|
|
|
64
62
|
* Which palette should be used for the empty state section.
|
|
65
63
|
* Defaults to none (inherits parent palette)
|
|
66
64
|
*/
|
|
67
|
-
readonly palette: _angular_core.InputSignal<"error" | "warning" | "success" | "product" | "neutral" | "none" | "
|
|
65
|
+
readonly palette: _angular_core.InputSignal<"error" | "warning" | "success" | "product" | "neutral" | "none" | "brand">;
|
|
68
66
|
readonly center: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
69
67
|
/**
|
|
70
68
|
* The title of the empty state section
|
|
@@ -77,7 +75,7 @@ declare class EmptyStateSectionComponent {
|
|
|
77
75
|
/**
|
|
78
76
|
* Define the aria level of the title
|
|
79
77
|
*/
|
|
80
|
-
readonly hx: _angular_core.InputSignalWithTransform<
|
|
78
|
+
readonly hx: _angular_core.InputSignalWithTransform<1 | 2 | 3 | 4 | 5 | 6, 1 | 2 | 3 | 4 | 5 | 6 | "1" | "2" | "3" | "4" | "5" | "6">;
|
|
81
79
|
readonly emptyStateClasses: _angular_core.Signal<{
|
|
82
80
|
[x: string]: boolean;
|
|
83
81
|
}>;
|
|
@@ -86,4 +84,14 @@ declare class EmptyStateSectionComponent {
|
|
|
86
84
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EmptyStateSectionComponent, "lu-empty-state-section", never, { "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "illustration": { "alias": "illustration"; "required": false; "isSignal": true; }; "action": { "alias": "action"; "required": false; "isSignal": true; }; "palette": { "alias": "palette"; "required": false; "isSignal": true; }; "center": { "alias": "center"; "required": false; "isSignal": true; }; "heading": { "alias": "heading"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "hx": { "alias": "hx"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
87
85
|
}
|
|
88
86
|
|
|
89
|
-
|
|
87
|
+
/**
|
|
88
|
+
* Available EmptyState Types
|
|
89
|
+
*/
|
|
90
|
+
declare const EMPTY_STATE_HX: readonly [1, 2, 3, 4, 5, 6];
|
|
91
|
+
type Hx = (typeof EMPTY_STATE_HX)[number];
|
|
92
|
+
declare const EMPTY_STATE_HX_STYLE: readonly [1, 2];
|
|
93
|
+
type HxStyle = (typeof EMPTY_STATE_HX_STYLE)[number];
|
|
94
|
+
declare const ICON_TO_ILLUSTRATION: Record<string, BubbleIllustration>;
|
|
95
|
+
|
|
96
|
+
export { EMPTY_STATE_HX, EMPTY_STATE_HX_STYLE, EmptyStatePageComponent, EmptyStatePageIllustration, EmptyStateSectionComponent, ICON_TO_ILLUSTRATION };
|
|
97
|
+
export type { Hx, HxStyle };
|
|
@@ -1,13 +1,18 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
|
|
3
|
-
type ErrorPageIllustration = '400' | '403' | '404' | '429' | '500' | 'keyboard' | 'lock' | 'map';
|
|
4
|
-
|
|
5
3
|
declare class ErrorPageComponent {
|
|
6
4
|
readonly heading: _angular_core.InputSignal<string>;
|
|
7
|
-
readonly illustration: _angular_core.InputSignal<
|
|
5
|
+
readonly illustration: _angular_core.InputSignal<"400" | "403" | "404" | "429" | "500" | "keyboard" | "lock" | "map">;
|
|
8
6
|
readonly illustrationSrc: _angular_core.Signal<string>;
|
|
9
7
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ErrorPageComponent, never>;
|
|
10
8
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ErrorPageComponent, "lu-error-page", never, { "heading": { "alias": "heading"; "required": true; "isSignal": true; }; "illustration": { "alias": "illustration"; "required": true; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
11
9
|
}
|
|
12
10
|
|
|
13
|
-
|
|
11
|
+
/**
|
|
12
|
+
* Available ErrorPageComponent Types
|
|
13
|
+
*/
|
|
14
|
+
declare const ERROR_PAGE_ILLUSTRATION: readonly ["400", "403", "404", "429", "500", "keyboard", "lock", "map"];
|
|
15
|
+
type ErrorPageIllustration = (typeof ERROR_PAGE_ILLUSTRATION)[number];
|
|
16
|
+
|
|
17
|
+
export { ERROR_PAGE_ILLUSTRATION, ErrorPageComponent };
|
|
18
|
+
export type { ErrorPageIllustration };
|
|
@@ -25,4 +25,11 @@ declare class FancyBoxComponent {
|
|
|
25
25
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FancyBoxComponent, "lu-fancy-box", never, { "foreground": { "alias": "foreground"; "required": false; "isSignal": true; }; "backgroundLeft": { "alias": "backgroundLeft"; "required": true; "isSignal": true; }; "backgroundRight": { "alias": "backgroundRight"; "required": true; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
/**
|
|
29
|
+
* Available FancyBoxComponent Types
|
|
30
|
+
*/
|
|
31
|
+
declare const FANCY_BOX_SIZE: readonly ["S"];
|
|
32
|
+
type FancyBoxSize = (typeof FANCY_BOX_SIZE)[number];
|
|
33
|
+
|
|
34
|
+
export { FANCY_BOX_SIZE, FancyBoxComponent };
|
|
35
|
+
export type { FancyBoxSize };
|