@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,17 +1,26 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
1
3
|
import { HttpClient } from '@angular/common/http';
|
|
2
4
|
import { ILuApiItem } from '@lucca-front/ng/api';
|
|
3
5
|
import { ALuSelectInputComponent, LuOptionComparer, CoreSelectApiTotalCountProvider } from '@lucca-front/ng/core-select';
|
|
4
|
-
import { Subject, Observable,
|
|
5
|
-
import * as i0 from '@angular/core';
|
|
6
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
6
|
+
import { Subject, Observable, BehaviorSubject } from 'rxjs';
|
|
7
7
|
|
|
8
8
|
declare const LU_SELECT_MAGIC_PAGE_SIZE = 20;
|
|
9
9
|
declare abstract class ALuCoreSelectApiDirective<TOption, TParams = Record<string, string | number | boolean> | null> implements OnDestroy, OnInit {
|
|
10
|
+
#private;
|
|
10
11
|
protected readonly destroy$: Subject<void>;
|
|
11
12
|
protected pageSize: number;
|
|
12
13
|
protected debounceDuration: number;
|
|
13
14
|
select: ALuSelectInputComponent<TOption, unknown>;
|
|
14
15
|
protected readonly page$: Observable<number>;
|
|
16
|
+
/**
|
|
17
|
+
* Current clue — updated by clueChange$ subscription (keeps select in searchable mode)
|
|
18
|
+
* and by direct getOptions calls from the select component.
|
|
19
|
+
*/
|
|
20
|
+
protected readonly currentClue$: BehaviorSubject<string>;
|
|
21
|
+
/**
|
|
22
|
+
* Clue observable — no debounce (debounce is now handled by the select component).
|
|
23
|
+
*/
|
|
15
24
|
protected readonly clue$: Observable<string>;
|
|
16
25
|
/**
|
|
17
26
|
* Create an object that will be used as params for the api call
|
|
@@ -30,26 +39,29 @@ declare abstract class ALuCoreSelectApiDirective<TOption, TParams = Record<strin
|
|
|
30
39
|
*/
|
|
31
40
|
protected abstract getOptions(params: TParams, page: number): Observable<TOption[]>;
|
|
32
41
|
ngOnInit(): void;
|
|
42
|
+
protected buildParamsFromClue(clue: string): Observable<TParams>;
|
|
43
|
+
abstract totalCount$: Observable<number>;
|
|
33
44
|
protected buildOptions(): Observable<TOption[]>;
|
|
45
|
+
protected clearLastPageByClue(): void;
|
|
34
46
|
protected getOptionsPage(params: TParams, page: number): Observable<{
|
|
35
47
|
items: TOption[];
|
|
36
48
|
isLastPage: boolean;
|
|
37
49
|
}>;
|
|
38
50
|
ngOnDestroy(): void;
|
|
39
|
-
static ɵfac:
|
|
40
|
-
static ɵdir:
|
|
51
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ALuCoreSelectApiDirective<any, any>, never>;
|
|
52
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ALuCoreSelectApiDirective<any, any>, never, never, {}, {}, never, never, true, never>;
|
|
41
53
|
}
|
|
42
54
|
|
|
43
55
|
declare class LuCoreSelectApiV3Directive<T extends ILuApiItem> extends ALuCoreSelectApiDirective<T> implements CoreSelectApiTotalCountProvider {
|
|
44
|
-
set apiV3(value: string);
|
|
45
|
-
set fields(value: string);
|
|
46
|
-
set orderBy(value: string | null);
|
|
47
|
-
set filters(value: Record<string, string | number | boolean>);
|
|
48
|
-
protected readonly url$: ReplaySubject<string>;
|
|
49
|
-
protected readonly fields$: BehaviorSubject<string>;
|
|
50
|
-
protected readonly orderBy$: BehaviorSubject<string>;
|
|
51
|
-
protected readonly filters$: BehaviorSubject<Record<string, string | number | boolean>>;
|
|
52
56
|
protected httpClient: HttpClient;
|
|
57
|
+
readonly apiV3: _angular_core.InputSignal<string>;
|
|
58
|
+
readonly fields: _angular_core.InputSignal<string>;
|
|
59
|
+
readonly orderBy: _angular_core.InputSignal<string>;
|
|
60
|
+
readonly filters: _angular_core.InputSignal<Record<string, string | number | boolean>>;
|
|
61
|
+
protected readonly url$: Observable<string>;
|
|
62
|
+
protected readonly fields$: Observable<string>;
|
|
63
|
+
protected readonly orderBy$: Observable<string>;
|
|
64
|
+
protected readonly filters$: Observable<Record<string, string | number | boolean>>;
|
|
53
65
|
protected params$: Observable<{
|
|
54
66
|
name?: string;
|
|
55
67
|
orderBy?: string;
|
|
@@ -58,23 +70,23 @@ declare class LuCoreSelectApiV3Directive<T extends ILuApiItem> extends ALuCoreSe
|
|
|
58
70
|
totalCount$: Observable<number>;
|
|
59
71
|
protected getOptions(params: Record<string, string | number | boolean>, page: number): Observable<T[]>;
|
|
60
72
|
protected optionKey: (option: T) => number;
|
|
61
|
-
static ɵfac:
|
|
62
|
-
static ɵdir:
|
|
73
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuCoreSelectApiV3Directive<any>, never>;
|
|
74
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuCoreSelectApiV3Directive<any>, "lu-simple-select[apiV3],lu-multi-select[apiV3]", never, { "apiV3": { "alias": "apiV3"; "required": true; "isSignal": true; }; "fields": { "alias": "fields"; "required": false; "isSignal": true; }; "orderBy": { "alias": "orderBy"; "required": false; "isSignal": true; }; "filters": { "alias": "filters"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
63
75
|
}
|
|
64
76
|
|
|
65
77
|
declare class LuCoreSelectApiV4Directive<T extends ILuApiItem> extends ALuCoreSelectApiDirective<T> implements CoreSelectApiTotalCountProvider {
|
|
66
|
-
readonly apiV4:
|
|
67
|
-
readonly sort:
|
|
68
|
-
readonly filters:
|
|
69
|
-
readonly searchDelimiter:
|
|
78
|
+
readonly apiV4: _angular_core.ModelSignal<string>;
|
|
79
|
+
readonly sort: _angular_core.InputSignal<string>;
|
|
80
|
+
readonly filters: _angular_core.InputSignal<Record<string, string | number | boolean>>;
|
|
81
|
+
readonly searchDelimiter: _angular_core.InputSignal<string>;
|
|
70
82
|
protected httpClient: HttpClient;
|
|
71
|
-
protected readonly clue:
|
|
83
|
+
protected readonly clue: _angular_core.Signal<string>;
|
|
72
84
|
protected readonly params$: Observable<Record<string, string | number | boolean>>;
|
|
73
85
|
readonly totalCount$: Observable<number>;
|
|
74
86
|
protected getOptions(params: Record<string, string | number | boolean>, page: number): Observable<T[]>;
|
|
75
87
|
protected optionKey: (option: T) => number;
|
|
76
|
-
static ɵfac:
|
|
77
|
-
static ɵdir:
|
|
88
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuCoreSelectApiV4Directive<any>, never>;
|
|
89
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuCoreSelectApiV4Directive<any>, "lu-simple-select[apiV4],lu-multi-select[apiV4]", never, { "apiV4": { "alias": "apiV4"; "required": true; "isSignal": true; }; "sort": { "alias": "sort"; "required": false; "isSignal": true; }; "filters": { "alias": "filters"; "required": false; "isSignal": true; }; "searchDelimiter": { "alias": "searchDelimiter"; "required": false; "isSignal": true; }; }, { "apiV4": "apiV4Change"; }, never, never, true, never>;
|
|
78
90
|
}
|
|
79
91
|
|
|
80
92
|
export { ALuCoreSelectApiDirective, LU_SELECT_MAGIC_PAGE_SIZE, LuCoreSelectApiV3Directive, LuCoreSelectApiV4Directive };
|
|
@@ -20,6 +20,7 @@ declare class NoopTreeSelectDirective<T extends TreeNode<any>, V> implements Tre
|
|
|
20
20
|
declare class LuCoreSelectDepartmentsDirective<T extends ILuDepartment = ILuDepartment> extends ALuCoreSelectApiDirective<TreeNode<T>> implements OnInit, CoreSelectApiTotalCountProvider {
|
|
21
21
|
protected httpClient: HttpClient;
|
|
22
22
|
readonly url: _angular_core.InputSignal<string>;
|
|
23
|
+
readonly countUrl: _angular_core.InputSignal<string>;
|
|
23
24
|
readonly filters: _angular_core.InputSignal<Record<string, string | number | boolean>>;
|
|
24
25
|
readonly operationIds: _angular_core.InputSignal<readonly number[]>;
|
|
25
26
|
readonly uniqueOperationIds: _angular_core.InputSignal<readonly number[]>;
|
|
@@ -32,13 +33,13 @@ declare class LuCoreSelectDepartmentsDirective<T extends ILuDepartment = ILuDepa
|
|
|
32
33
|
isLastPage: boolean;
|
|
33
34
|
}>;
|
|
34
35
|
protected getOptions(params: Record<string, string | number | boolean> | null): Observable<TreeNode<T>[]>;
|
|
35
|
-
trim(options: TreeNode<T>[], clue: string): TreeNode<T>[];
|
|
36
|
+
trim(options: readonly TreeNode<T>[], clue: string): TreeNode<T>[];
|
|
36
37
|
protected readonly params$: Observable<Record<string, string | number | boolean>>;
|
|
37
38
|
readonly totalCount$: Observable<number>;
|
|
38
39
|
protected flattenTree(branch: TreeNode<T>): T[];
|
|
39
40
|
protected optionKey: (option: TreeNode<T> | T) => number;
|
|
40
41
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuCoreSelectDepartmentsDirective<any>, never>;
|
|
41
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuCoreSelectDepartmentsDirective<any>, "lu-simple-select[departments],lu-multi-select[departments]", ["luDepartments"], { "url": { "alias": "url"; "required": false; "isSignal": true; }; "filters": { "alias": "filters"; "required": false; "isSignal": true; }; "operationIds": { "alias": "operationIds"; "required": false; "isSignal": true; }; "uniqueOperationIds": { "alias": "uniqueOperationIds"; "required": false; "isSignal": true; }; "appInstanceId": { "alias": "appInstanceId"; "required": false; "isSignal": true; }; "searchDelimiter": { "alias": "searchDelimiter"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof NoopTreeSelectDirective; inputs: {}; outputs: {}; }]>;
|
|
42
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuCoreSelectDepartmentsDirective<any>, "lu-simple-select[departments],lu-multi-select[departments]", ["luDepartments"], { "url": { "alias": "url"; "required": false; "isSignal": true; }; "countUrl": { "alias": "countUrl"; "required": false; "isSignal": true; }; "filters": { "alias": "filters"; "required": false; "isSignal": true; }; "operationIds": { "alias": "operationIds"; "required": false; "isSignal": true; }; "uniqueOperationIds": { "alias": "uniqueOperationIds"; "required": false; "isSignal": true; }; "appInstanceId": { "alias": "appInstanceId"; "required": false; "isSignal": true; }; "searchDelimiter": { "alias": "searchDelimiter"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof NoopTreeSelectDirective; inputs: {}; outputs: {}; }]>;
|
|
42
43
|
}
|
|
43
44
|
|
|
44
45
|
interface LuCoreSelectLegalUnit extends ILuApiItem {
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { InjectionToken, WritableSignal, OnInit } from '@angular/core';
|
|
3
|
+
import * as i1 from '@lucca-front/ng/core-select';
|
|
4
|
+
import { CoreSelectApiTotalCountProvider } from '@lucca-front/ng/core-select';
|
|
5
|
+
import { HttpClient } from '@angular/common/http';
|
|
6
|
+
import { ALuCoreSelectApiDirective } from '@lucca-front/ng/core-select/api';
|
|
7
|
+
import { Observable } from 'rxjs';
|
|
8
|
+
import { ILuApiItem } from '@lucca-front/ng/api';
|
|
9
|
+
|
|
10
|
+
interface LuCoreSelectLegalUnitsTranslations {
|
|
11
|
+
includeArchivedLegalUnits: string;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
interface ArchivedLegalUnitsContext {
|
|
15
|
+
includeArchivedLegalUnits: WritableSignal<boolean>;
|
|
16
|
+
}
|
|
17
|
+
declare const ARCHIVED_LEGAL_UNITS_CONTEXT: InjectionToken<ArchivedLegalUnitsContext>;
|
|
18
|
+
declare class LuCoreSelectArchivedLegalUnitsComponent {
|
|
19
|
+
#private;
|
|
20
|
+
readonly intl: _angular_core.InputSignalWithTransform<LuCoreSelectLegalUnitsTranslations, Partial<LuCoreSelectLegalUnitsTranslations>>;
|
|
21
|
+
readonly context: ArchivedLegalUnitsContext;
|
|
22
|
+
constructor();
|
|
23
|
+
onMouseDown($event: MouseEvent): void;
|
|
24
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuCoreSelectArchivedLegalUnitsComponent, never>;
|
|
25
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LuCoreSelectArchivedLegalUnitsComponent, "lu-core-select-archived-legal-units", never, { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.ɵCoreSelectPanelElement; inputs: {}; outputs: {}; }]>;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
interface LuCoreSelectLegalUnit extends ILuApiItem {
|
|
29
|
+
code: string | null;
|
|
30
|
+
legalIdentificationNumber: string | null;
|
|
31
|
+
activityCode: string | null;
|
|
32
|
+
countryId: number;
|
|
33
|
+
headquartersId: number;
|
|
34
|
+
isArchived: boolean;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
declare class LuCoreSelectLegalUnitsDirective<T extends LuCoreSelectLegalUnit = LuCoreSelectLegalUnit> extends ALuCoreSelectApiDirective<T> implements OnInit, CoreSelectApiTotalCountProvider {
|
|
38
|
+
protected httpClient: HttpClient;
|
|
39
|
+
readonly url: _angular_core.InputSignal<string>;
|
|
40
|
+
readonly filters: _angular_core.InputSignal<Record<string, string | number | boolean>>;
|
|
41
|
+
readonly uniqueOperationIds: _angular_core.InputSignal<readonly number[]>;
|
|
42
|
+
readonly searchDelimiter: _angular_core.InputSignal<string>;
|
|
43
|
+
readonly enableArchivedLegalUnits: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
44
|
+
readonly includeArchivedLegalUnits: _angular_core.WritableSignal<boolean>;
|
|
45
|
+
protected readonly clue: _angular_core.Signal<string>;
|
|
46
|
+
constructor();
|
|
47
|
+
protected getOptions(params: Record<string, string | number | boolean> | null, page: number): Observable<T[]>;
|
|
48
|
+
protected readonly params$: Observable<Record<string, string | number | boolean>>;
|
|
49
|
+
readonly totalCount$: Observable<number>;
|
|
50
|
+
protected optionKey: (option: T) => number;
|
|
51
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuCoreSelectLegalUnitsDirective<any>, never>;
|
|
52
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuCoreSelectLegalUnitsDirective<any>, "lu-simple-select[legalUnits],lu-multi-select[legalUnits]", ["luLegalUnits"], { "url": { "alias": "url"; "required": false; "isSignal": true; }; "filters": { "alias": "filters"; "required": false; "isSignal": true; }; "uniqueOperationIds": { "alias": "uniqueOperationIds"; "required": false; "isSignal": true; }; "searchDelimiter": { "alias": "searchDelimiter"; "required": false; "isSignal": true; }; "enableArchivedLegalUnits": { "alias": "enableArchivedLegalUnits"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export { ARCHIVED_LEGAL_UNITS_CONTEXT, LuCoreSelectArchivedLegalUnitsComponent, LuCoreSelectLegalUnitsDirective };
|
|
56
|
+
export type { ArchivedLegalUnitsContext, LuCoreSelectLegalUnit };
|
|
@@ -8,6 +8,7 @@ import { ALuCoreSelectApiDirective } from '@lucca-front/ng/core-select/api';
|
|
|
8
8
|
import { LuDisplayFormat } from '@lucca-front/ng/user';
|
|
9
9
|
import { Observable } from 'rxjs';
|
|
10
10
|
|
|
11
|
+
declare const LU_CORE_SELECT_CURRENT_USER_ID: InjectionToken<number>;
|
|
11
12
|
declare function provideCoreSelectCurrentUserId(factory: () => number): Provider;
|
|
12
13
|
|
|
13
14
|
interface LuCoreSelectUser extends ILuApiItem {
|
|
@@ -80,5 +81,5 @@ declare class LuCoreSelectUserOptionDirective<T extends LuCoreSelectUser = LuCor
|
|
|
80
81
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuCoreSelectUserOptionDirective<any>, "[luUserOption]", never, { "usersDirective": { "alias": "luUserOptionUsersRef"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
81
82
|
}
|
|
82
83
|
|
|
83
|
-
export { LU_CORE_SELECT_USER_TRANSLATIONS, LuCoreSelectUserOptionDirective, LuCoreSelectUsersDirective, luCoreSelectUserTranslations, provideCoreSelectCurrentUserId, provideCoreSelectUsersContext };
|
|
84
|
+
export { LU_CORE_SELECT_USER_TRANSLATIONS, LuCoreSelectUserOptionDirective, LuCoreSelectUsersDirective, luCoreSelectUserTranslations, provideCoreSelectCurrentUserId, provideCoreSelectUsersContext, LU_CORE_SELECT_CURRENT_USER_ID as ɵLU_CORE_SELECT_CURRENT_USER_ID };
|
|
84
85
|
export type { LuCoreSelectUser, LuCoreSelectUserTranslations, LuCoreSelectWithAdditionnalInformation };
|