@lucca-front/ng 22.0.0-rc.4 → 22.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/fesm2022/lucca-front-ng-a11y.mjs +10 -10
- package/fesm2022/lucca-front-ng-a11y.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-activity-feed.mjs +14 -14
- package/fesm2022/lucca-front-ng-activity-feed.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-api.mjs +40 -40
- package/fesm2022/lucca-front-ng-app-layout.mjs +7 -6
- package/fesm2022/lucca-front-ng-app-layout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-approbation-inbox.mjs +517 -0
- package/fesm2022/lucca-front-ng-approbation-inbox.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-box.mjs +12 -12
- package/fesm2022/lucca-front-ng-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-breadcrumbs.mjs +9 -9
- package/fesm2022/lucca-front-ng-breadcrumbs.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-bubble-icon.mjs +4 -4
- package/fesm2022/lucca-front-ng-bubble-icon.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-bubble-illustration.mjs +7 -6
- package/fesm2022/lucca-front-ng-bubble-illustration.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-callout.mjs +38 -38
- package/fesm2022/lucca-front-ng-callout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-chip.mjs +10 -10
- package/fesm2022/lucca-front-ng-chip.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-clear.mjs +7 -7
- package/fesm2022/lucca-front-ng-clear.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-code.mjs +6 -5
- package/fesm2022/lucca-front-ng-code.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-color.mjs +7 -6
- package/fesm2022/lucca-front-ng-color.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-comment.mjs +18 -17
- package/fesm2022/lucca-front-ng-comment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-container.mjs +8 -7
- package/fesm2022/lucca-front-ng-container.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-api.mjs +17 -40
- package/fesm2022/lucca-front-ng-core-select-api.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-department.mjs +18 -20
- package/fesm2022/lucca-front-ng-core-select-department.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-establishment.mjs +28 -16
- package/fesm2022/lucca-front-ng-core-select-establishment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs +19 -9
- package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-legal-units.mjs +34 -21
- package/fesm2022/lucca-front-ng-core-select-legal-units.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-occupation-category.mjs +16 -6
- package/fesm2022/lucca-front-ng-core-select-occupation-category.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-user.mjs +41 -36
- package/fesm2022/lucca-front-ng-core-select-user.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select.mjs +252 -114
- package/fesm2022/lucca-front-ng-core-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core.mjs +113 -38
- package/fesm2022/lucca-front-ng-core.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-data-table.mjs +50 -50
- package/fesm2022/lucca-front-ng-data-table.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date.mjs +42 -43
- package/fesm2022/lucca-front-ng-date.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date2.mjs +50 -48
- package/fesm2022/lucca-front-ng-date2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-department.mjs +28 -27
- package/fesm2022/lucca-front-ng-department.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-dialog.mjs +85 -59
- package/fesm2022/lucca-front-ng-dialog.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-divider.mjs +9 -9
- package/fesm2022/lucca-front-ng-divider.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-dropdown.mjs +46 -46
- package/fesm2022/lucca-front-ng-dropdown.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-empty-state.mjs +56 -31
- package/fesm2022/lucca-front-ng-empty-state.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-error-page.mjs +4 -4
- package/fesm2022/lucca-front-ng-error-page.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-establishment.mjs +38 -37
- package/fesm2022/lucca-front-ng-establishment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-fancy-box.mjs +4 -4
- package/fesm2022/lucca-front-ng-fancy-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-file-upload.mjs +86 -48
- package/fesm2022/lucca-front-ng-file-upload.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-filter-pills.mjs +150 -27
- package/fesm2022/lucca-front-ng-filter-pills.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-footer.mjs +10 -9
- package/fesm2022/lucca-front-ng-footer.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-field.mjs +35 -36
- package/fesm2022/lucca-front-ng-form-field.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-header.mjs +5 -5
- package/fesm2022/lucca-front-ng-form-header.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-label.mjs +19 -52
- package/fesm2022/lucca-front-ng-form-label.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form.mjs +9 -8
- package/fesm2022/lucca-front-ng-form.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-formly.mjs +64 -64
- package/fesm2022/lucca-front-ng-formly.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs +8 -8
- package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-html.mjs +3 -3
- package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-markdown.mjs +6 -6
- package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-plain-text.mjs +3 -3
- package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs +68 -55
- package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms.mjs +127 -113
- package/fesm2022/lucca-front-ng-forms.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-gauge.mjs +11 -11
- package/fesm2022/lucca-front-ng-gauge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-grid.mjs +18 -17
- package/fesm2022/lucca-front-ng-grid.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-highlight-data.mjs +11 -18
- package/fesm2022/lucca-front-ng-highlight-data.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-highlight-section.mjs +85 -0
- package/fesm2022/lucca-front-ng-highlight-section.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-highlight-text.mjs +3 -3
- package/fesm2022/lucca-front-ng-horizontal-navigation.mjs +17 -17
- package/fesm2022/lucca-front-ng-horizontal-navigation.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-impersonation.mjs +7 -7
- package/fesm2022/lucca-front-ng-impersonation.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-index-table.mjs +50 -50
- package/fesm2022/lucca-front-ng-index-table.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-inline-message.mjs +6 -6
- package/fesm2022/lucca-front-ng-inline-message.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-input.mjs +22 -22
- package/fesm2022/lucca-front-ng-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-link.mjs +24 -16
- package/fesm2022/lucca-front-ng-link.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-listbox.mjs +67 -33
- package/fesm2022/lucca-front-ng-listbox.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-listing.mjs +17 -16
- package/fesm2022/lucca-front-ng-listing.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-loading.mjs +8 -8
- package/fesm2022/lucca-front-ng-loading.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-main-layout.mjs +131 -15
- package/fesm2022/lucca-front-ng-main-layout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-mobile-push.mjs +3 -3
- package/fesm2022/lucca-front-ng-mobile-push.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-modal.mjs +27 -27
- package/fesm2022/lucca-front-ng-modal.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-multi-select.mjs +216 -135
- package/fesm2022/lucca-front-ng-multi-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-new-badge.mjs +3 -3
- package/fesm2022/lucca-front-ng-number-format.mjs +6 -6
- package/fesm2022/lucca-front-ng-number.mjs +7 -7
- package/fesm2022/lucca-front-ng-numeric-badge.mjs +1 -84
- package/fesm2022/lucca-front-ng-numeric-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-option.mjs +145 -139
- package/fesm2022/lucca-front-ng-option.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-page-header.mjs +8 -8
- package/fesm2022/lucca-front-ng-page-header.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-pagination.mjs +13 -16
- package/fesm2022/lucca-front-ng-pagination.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-plg-push.mjs +6 -6
- package/fesm2022/lucca-front-ng-plg-push.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popover.mjs +17 -17
- package/fesm2022/lucca-front-ng-popover2.mjs +15 -16
- package/fesm2022/lucca-front-ng-popover2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popup.mjs +10 -10
- package/fesm2022/lucca-front-ng-progress-bar.mjs +8 -7
- package/fesm2022/lucca-front-ng-progress-bar.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-progress-stepper.mjs +9 -9
- package/fesm2022/lucca-front-ng-progress-stepper.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-read-more.mjs +17 -12
- package/fesm2022/lucca-front-ng-read-more.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-resource-card.mjs +21 -20
- package/fesm2022/lucca-front-ng-resource-card.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-safe-content.mjs +10 -10
- package/fesm2022/lucca-front-ng-scroll-box.mjs +6 -5
- package/fesm2022/lucca-front-ng-scroll-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-scroll.mjs +9 -9
- package/fesm2022/lucca-front-ng-scroll.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-segmented-control-tabs.mjs +12 -12
- package/fesm2022/lucca-front-ng-segmented-control-tabs.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-segmented-control.mjs +17 -14
- package/fesm2022/lucca-front-ng-segmented-control.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-select.mjs +22 -22
- package/fesm2022/lucca-front-ng-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-sidepanel.mjs +7 -7
- package/fesm2022/lucca-front-ng-simple-select.mjs +53 -39
- package/fesm2022/lucca-front-ng-simple-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-skeleton.mjs +1 -237
- package/fesm2022/lucca-front-ng-skeleton.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-software-icon-wrapper.mjs +11 -11
- package/fesm2022/lucca-front-ng-software-icon-wrapper.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-software-icon.mjs +8 -7
- package/fesm2022/lucca-front-ng-software-icon.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-sortable-list.mjs +13 -13
- package/fesm2022/lucca-front-ng-sortable-list.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-status-badge.mjs +6 -6
- package/fesm2022/lucca-front-ng-status-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-table-of-content.mjs +6 -6
- package/fesm2022/lucca-front-ng-tag.mjs +1 -72
- package/fesm2022/lucca-front-ng-tag.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-text-flow.mjs +4 -4
- package/fesm2022/lucca-front-ng-text-flow.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-time.mjs +46 -47
- package/fesm2022/lucca-front-ng-time.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-title.mjs +24 -14
- package/fesm2022/lucca-front-ng-title.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-toast.mjs +13 -14
- package/fesm2022/lucca-front-ng-toast.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tooltip.mjs +1 -556
- package/fesm2022/lucca-front-ng-tooltip.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tree-select.mjs +58 -42
- package/fesm2022/lucca-front-ng-tree-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user-popover.mjs +22 -19
- package/fesm2022/lucca-front-ng-user-popover.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user.mjs +75 -73
- package/fesm2022/lucca-front-ng-user.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-vertical-navigation.mjs +21 -22
- package/fesm2022/lucca-front-ng-vertical-navigation.mjs.map +1 -1
- package/package.json +12 -4
- package/schematics/action-icon/migration.spec.js +2 -2
- package/schematics/alignment-utilities/migration.spec.js +2 -2
- package/schematics/cdn-urls/migration.spec.js +2 -2
- package/schematics/class-prefix/migration.spec.js +2 -2
- package/schematics/color-text/migration.spec.js +2 -2
- package/schematics/component-path/migration.spec.js +2 -2
- package/schematics/deprecated-resolver/migration.spec.js +1 -1
- package/schematics/empty-state-title/migration.spec.js +1 -1
- package/schematics/lib/migration-test.js +6 -1
- package/schematics/lu-button/migration.spec.js +1 -1
- package/schematics/lu-container/migration.spec.js +1 -1
- package/schematics/lu-grid/migration.js +24 -16
- package/schematics/lu-grid/migration.spec.js +1 -1
- package/schematics/lu-icon/migration.spec.js +1 -1
- package/schematics/lu-loading/migration.spec.js +1 -1
- package/schematics/lu-select/migration.spec.js +1 -1
- package/schematics/lu-text-input/migration.spec.js +1 -1
- package/schematics/new-icons/migration.spec.js +2 -2
- package/schematics/palettes/index.js +28 -8
- package/schematics/palettes/migration.spec.js +2 -2
- package/schematics/tokens-radius/migration.spec.js +2 -2
- package/schematics/tokens-spacing/migration.spec.js +2 -2
- package/schematics/tokens-typo/migration.spec.js +2 -2
- package/src/_components.scss +1 -0
- package/src/components/_listbox.scss +8 -0
- package/src/components/_picker.scss +0 -34
- package/src/components/_popover.scss +1 -1
- package/src/components/_popup.scss +6 -6
- package/src/components/_sidepanel.scss +1 -1
- package/src/definitions/option/_option-item.scss +1 -8
- package/title/README.md +22 -7
- package/types/lucca-front-ng-app-layout.d.ts +1 -1
- package/types/lucca-front-ng-approbation-inbox.d.ts +142 -0
- package/types/lucca-front-ng-box.d.ts +4 -4
- package/types/lucca-front-ng-breadcrumbs.d.ts +1 -1
- package/types/lucca-front-ng-bubble-icon.d.ts +1 -1
- package/types/lucca-front-ng-bubble-illustration.d.ts +1 -1
- package/types/lucca-front-ng-callout.d.ts +9 -9
- package/types/lucca-front-ng-chip.d.ts +3 -3
- package/types/lucca-front-ng-clear.d.ts +2 -2
- package/types/lucca-front-ng-code.d.ts +1 -1
- package/types/lucca-front-ng-color.d.ts +1 -1
- package/types/lucca-front-ng-comment.d.ts +6 -5
- package/types/lucca-front-ng-container.d.ts +2 -2
- package/types/lucca-front-ng-core-select-api.d.ts +10 -4
- package/types/lucca-front-ng-core-select-department.d.ts +2 -2
- package/types/lucca-front-ng-core-select-establishment.d.ts +3 -1
- package/types/lucca-front-ng-core-select-job-qualification.d.ts +2 -0
- package/types/lucca-front-ng-core-select-legal-units.d.ts +3 -1
- package/types/lucca-front-ng-core-select-occupation-category.d.ts +2 -0
- package/types/lucca-front-ng-core-select-user.d.ts +4 -3
- package/types/lucca-front-ng-core-select.d.ts +82 -16
- package/types/lucca-front-ng-core.d.ts +77 -3
- package/types/lucca-front-ng-data-table.d.ts +14 -14
- package/types/lucca-front-ng-date.d.ts +1 -1
- package/types/lucca-front-ng-date2.d.ts +19 -19
- package/types/lucca-front-ng-department.d.ts +2 -2
- package/types/lucca-front-ng-dialog.d.ts +7 -6
- package/types/lucca-front-ng-divider.d.ts +3 -3
- package/types/lucca-front-ng-dropdown.d.ts +2 -2
- package/types/lucca-front-ng-empty-state.d.ts +15 -6
- package/types/lucca-front-ng-establishment.d.ts +2 -2
- package/types/lucca-front-ng-file-upload.d.ts +22 -11
- package/types/lucca-front-ng-filter-pills.d.ts +43 -3
- package/types/lucca-front-ng-footer.d.ts +4 -4
- package/types/lucca-front-ng-form-field.d.ts +10 -10
- package/types/lucca-front-ng-form-header.d.ts +1 -1
- package/types/lucca-front-ng-form-label.d.ts +5 -9
- package/types/lucca-front-ng-form.d.ts +2 -2
- package/types/lucca-front-ng-forms-phone-number-input.d.ts +5 -5
- package/types/lucca-front-ng-forms-rich-text-input.d.ts +9 -5
- package/types/lucca-front-ng-forms.d.ts +50 -37
- package/types/lucca-front-ng-gauge.d.ts +6 -6
- package/types/lucca-front-ng-grid.d.ts +8 -8
- package/types/lucca-front-ng-highlight-data.d.ts +3 -5
- package/types/lucca-front-ng-highlight-section.d.ts +44 -0
- package/types/lucca-front-ng-horizontal-navigation.d.ts +4 -4
- package/types/lucca-front-ng-impersonation.d.ts +1 -1
- package/types/lucca-front-ng-index-table.d.ts +12 -12
- package/types/lucca-front-ng-inline-message.d.ts +1 -1
- package/types/lucca-front-ng-link.d.ts +4 -4
- package/types/lucca-front-ng-listbox.d.ts +33 -13
- package/types/lucca-front-ng-listing.d.ts +9 -9
- package/types/lucca-front-ng-loading.d.ts +3 -3
- package/types/lucca-front-ng-main-layout.d.ts +40 -9
- package/types/lucca-front-ng-modal.d.ts +1 -1
- package/types/lucca-front-ng-multi-select.d.ts +33 -7
- package/types/lucca-front-ng-numeric-badge.d.ts +1 -46
- package/types/lucca-front-ng-option.d.ts +2 -0
- package/types/lucca-front-ng-page-header.d.ts +2 -2
- package/types/lucca-front-ng-pagination.d.ts +5 -5
- package/types/lucca-front-ng-plg-push.d.ts +1 -1
- package/types/lucca-front-ng-popover2.d.ts +14 -14
- package/types/lucca-front-ng-progress-bar.d.ts +2 -2
- package/types/lucca-front-ng-progress-stepper.d.ts +1 -1
- package/types/lucca-front-ng-read-more.d.ts +9 -4
- package/types/lucca-front-ng-resource-card.d.ts +6 -6
- package/types/lucca-front-ng-scroll-box.d.ts +1 -1
- package/types/lucca-front-ng-scroll.d.ts +1 -1
- package/types/lucca-front-ng-segmented-control-tabs.d.ts +2 -2
- package/types/lucca-front-ng-segmented-control.d.ts +5 -3
- package/types/lucca-front-ng-select.d.ts +2 -1
- package/types/lucca-front-ng-simple-select.d.ts +6 -5
- package/types/lucca-front-ng-skeleton.d.ts +1 -158
- package/types/lucca-front-ng-software-icon-wrapper.d.ts +3 -3
- package/types/lucca-front-ng-software-icon.d.ts +2 -2
- package/types/lucca-front-ng-sortable-list.d.ts +5 -5
- package/types/lucca-front-ng-status-badge.d.ts +1 -1
- package/types/lucca-front-ng-tag.d.ts +1 -53
- package/types/lucca-front-ng-time.d.ts +17 -17
- package/types/lucca-front-ng-title.d.ts +4 -4
- package/types/lucca-front-ng-toast.d.ts +1 -1
- package/types/lucca-front-ng-tooltip.d.ts +1 -80
- package/types/lucca-front-ng-tree-select.d.ts +3 -4
- package/types/lucca-front-ng-user.d.ts +8 -6
- package/types/lucca-front-ng-vertical-navigation.d.ts +4 -4
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { input, ViewEncapsulation, ChangeDetectionStrategy, Component,
|
|
3
|
-
import { PortalDirective } from '@lucca-front/ng/core';
|
|
2
|
+
import { input, ViewEncapsulation, ChangeDetectionStrategy, Component, inject, computed } from '@angular/core';
|
|
3
|
+
import { luNumberAttribute, PortalDirective, luBooleanAttribute } from '@lucca-front/ng/core';
|
|
4
|
+
import { LU_MAIN_LAYOUT_INSTANCE } from '@lucca-front/ng/main-layout';
|
|
4
5
|
import { LuSafeExternalSvgPipe } from '@lucca-front/ng/safe-content';
|
|
5
6
|
import { BubbleIllustrationComponent } from '@lucca-front/ng/bubble-illustration';
|
|
6
7
|
|
|
@@ -11,43 +12,60 @@ class EmptyStatePageIllustration {
|
|
|
11
12
|
this.alt = input('', /* @ts-ignore */
|
|
12
13
|
...(ngDevMode ? [{ debugName: "alt" }] : /* istanbul ignore next */ []));
|
|
13
14
|
}
|
|
14
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
15
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.
|
|
15
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: EmptyStatePageIllustration, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
16
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", type: EmptyStatePageIllustration, isStandalone: true, selector: "lu-empty-state-page-illustration", inputs: { src: { classPropertyName: "src", publicName: "src", isSignal: true, isRequired: false, transformFunction: null }, alt: { classPropertyName: "alt", publicName: "alt", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "pr-u-displayFlex" }, ngImport: i0, template: "<img class=\"emptyState-illustration-img\" [attr.src]=\"src()\" [attr.alt]=\"alt()\" />\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
16
17
|
}
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: EmptyStatePageIllustration, decorators: [{
|
|
18
19
|
type: Component,
|
|
19
20
|
args: [{ selector: 'lu-empty-state-page-illustration', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
20
21
|
class: 'pr-u-displayFlex',
|
|
21
22
|
}, template: "<img class=\"emptyState-illustration-img\" [attr.src]=\"src()\" [attr.alt]=\"alt()\" />\n" }]
|
|
22
23
|
}], propDecorators: { src: [{ type: i0.Input, args: [{ isSignal: true, alias: "src", required: false }] }], alt: [{ type: i0.Input, args: [{ isSignal: true, alias: "alt", required: false }] }] } });
|
|
23
24
|
|
|
25
|
+
const DEFAULT_TOP_RIGHT_BACKGROUND = 'https://cdn.lucca.fr/lucca-front/assets/empty-states/poplee/bubbles-top-right-01.svg';
|
|
26
|
+
const DEFAULT_TOP_RIGHT_FOREGROUND = 'https://cdn.lucca.fr/lucca-front/assets/empty-states/generic/coffee-01.svg';
|
|
27
|
+
const DEFAULT_BOTTOM_LEFT_BACKGROUND = 'https://cdn.lucca.fr/lucca-front/assets/empty-states/poplee/bubbles-bottom-left-01.svg';
|
|
28
|
+
const DEFAULT_BOTTOM_LEFT_FOREGROUND = 'https://cdn.lucca.fr/lucca-front/assets/empty-states/poplee/core-hr-01.svg';
|
|
24
29
|
class EmptyStatePageComponent {
|
|
25
30
|
constructor() {
|
|
31
|
+
this.#mainLayout = inject(LU_MAIN_LAYOUT_INSTANCE, { optional: true });
|
|
26
32
|
/**
|
|
27
33
|
* Icon image (URL)
|
|
28
34
|
*/
|
|
29
35
|
this.icon = input(null, /* @ts-ignore */
|
|
30
36
|
...(ngDevMode ? [{ debugName: "icon" }] : /* istanbul ignore next */ []));
|
|
31
37
|
/**
|
|
32
|
-
* Top right background image (URL)
|
|
38
|
+
* Top right background image (URL). Defaults to none if unset and nested in a lu-main-layout
|
|
39
|
+
* that already displays an illustration in that corner (illustrationStartEnd).
|
|
33
40
|
*/
|
|
34
|
-
this.topRightBackground = input(
|
|
35
|
-
...(ngDevMode ? [{ debugName: "topRightBackground" }] : /* istanbul ignore next */ []));
|
|
41
|
+
this.topRightBackground = input(/* @ts-ignore */
|
|
42
|
+
...(ngDevMode ? [undefined, { debugName: "topRightBackground" }] : /* istanbul ignore next */ []));
|
|
36
43
|
/**
|
|
37
|
-
* Top right foreground image (URL)
|
|
44
|
+
* Top right foreground image (URL). Defaults to none if unset and nested in a lu-main-layout
|
|
45
|
+
* that already displays an illustration in that corner (illustrationStartEnd).
|
|
38
46
|
*/
|
|
39
|
-
this.topRightForeground = input(
|
|
40
|
-
...(ngDevMode ? [{ debugName: "topRightForeground" }] : /* istanbul ignore next */ []));
|
|
47
|
+
this.topRightForeground = input(/* @ts-ignore */
|
|
48
|
+
...(ngDevMode ? [undefined, { debugName: "topRightForeground" }] : /* istanbul ignore next */ []));
|
|
41
49
|
/**
|
|
42
|
-
* Bottom left background image (URL)
|
|
50
|
+
* Bottom left background image (URL). Defaults to none if unset and nested in a lu-main-layout
|
|
51
|
+
* that already displays an illustration in that corner (illustrationEndStart).
|
|
43
52
|
*/
|
|
44
|
-
this.bottomLeftBackground = input(
|
|
45
|
-
...(ngDevMode ? [{ debugName: "bottomLeftBackground" }] : /* istanbul ignore next */ []));
|
|
53
|
+
this.bottomLeftBackground = input(/* @ts-ignore */
|
|
54
|
+
...(ngDevMode ? [undefined, { debugName: "bottomLeftBackground" }] : /* istanbul ignore next */ []));
|
|
46
55
|
/**
|
|
47
|
-
* Bottom left foreground image (URL)
|
|
56
|
+
* Bottom left foreground image (URL). Defaults to none if unset and nested in a lu-main-layout
|
|
57
|
+
* that already displays an illustration in that corner (illustrationEndStart).
|
|
48
58
|
*/
|
|
49
|
-
this.bottomLeftForeground = input(
|
|
50
|
-
...(ngDevMode ? [{ debugName: "bottomLeftForeground" }] : /* istanbul ignore next */ []));
|
|
59
|
+
this.bottomLeftForeground = input(/* @ts-ignore */
|
|
60
|
+
...(ngDevMode ? [undefined, { debugName: "bottomLeftForeground" }] : /* istanbul ignore next */ []));
|
|
61
|
+
this.resolvedTopRightBackground = computed(() => this.#resolveIllustration(this.topRightBackground(), DEFAULT_TOP_RIGHT_BACKGROUND, this.#mainLayout?.bubblesIllustrationStartEnd()), /* @ts-ignore */
|
|
62
|
+
...(ngDevMode ? [{ debugName: "resolvedTopRightBackground" }] : /* istanbul ignore next */ []));
|
|
63
|
+
this.resolvedBottomLeftBackground = computed(() => this.#resolveIllustration(this.bottomLeftBackground(), DEFAULT_BOTTOM_LEFT_BACKGROUND, this.#mainLayout?.bubblesIllustrationEndStart()), /* @ts-ignore */
|
|
64
|
+
...(ngDevMode ? [{ debugName: "resolvedBottomLeftBackground" }] : /* istanbul ignore next */ []));
|
|
65
|
+
this.resolvedTopRightForeground = computed(() => this.#resolveIllustration(this.topRightForeground(), DEFAULT_TOP_RIGHT_FOREGROUND, this.#mainLayout?.illustrationStartEndUrl()), /* @ts-ignore */
|
|
66
|
+
...(ngDevMode ? [{ debugName: "resolvedTopRightForeground" }] : /* istanbul ignore next */ []));
|
|
67
|
+
this.resolvedBottomLeftForeground = computed(() => this.#resolveIllustration(this.bottomLeftForeground(), DEFAULT_BOTTOM_LEFT_FOREGROUND, this.#mainLayout?.illustrationEndStartUrl()), /* @ts-ignore */
|
|
68
|
+
...(ngDevMode ? [{ debugName: "resolvedBottomLeftForeground" }] : /* istanbul ignore next */ []));
|
|
51
69
|
/**
|
|
52
70
|
* Background color for content (text)
|
|
53
71
|
*/
|
|
@@ -67,20 +85,27 @@ class EmptyStatePageComponent {
|
|
|
67
85
|
...(ngDevMode ? [undefined, { debugName: "heading" }] : /* istanbul ignore next */ []));
|
|
68
86
|
this.description = input(/* @ts-ignore */
|
|
69
87
|
...(ngDevMode ? [undefined, { debugName: "description" }] : /* istanbul ignore next */ []));
|
|
70
|
-
this.hx = input(1, { ...(ngDevMode ? { debugName: "hx" } : /* istanbul ignore next */ {}), transform:
|
|
71
|
-
this.hxStyle = input(1, { ...(ngDevMode ? { debugName: "hxStyle" } : /* istanbul ignore next */ {}), transform:
|
|
88
|
+
this.hx = input(1, { ...(ngDevMode ? { debugName: "hx" } : /* istanbul ignore next */ {}), transform: (luNumberAttribute) });
|
|
89
|
+
this.hxStyle = input(1, { ...(ngDevMode ? { debugName: "hxStyle" } : /* istanbul ignore next */ {}), transform: (luNumberAttribute) });
|
|
90
|
+
}
|
|
91
|
+
#mainLayout;
|
|
92
|
+
#resolveIllustration(explicitValue, defaultValue, conflictingMainLayoutIllustration) {
|
|
93
|
+
if (explicitValue !== undefined) {
|
|
94
|
+
return explicitValue;
|
|
95
|
+
}
|
|
96
|
+
return conflictingMainLayoutIllustration ? null : defaultValue;
|
|
72
97
|
}
|
|
73
98
|
isStringPortalContent(message) {
|
|
74
99
|
return typeof message === 'string';
|
|
75
100
|
}
|
|
76
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
77
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.7", type: EmptyStatePageComponent, isStandalone: true, selector: "lu-empty-state-page", inputs: { icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, topRightBackground: { classPropertyName: "topRightBackground", publicName: "topRightBackground", isSignal: true, isRequired: false, transformFunction: null }, topRightForeground: { classPropertyName: "topRightForeground", publicName: "topRightForeground", isSignal: true, isRequired: false, transformFunction: null }, bottomLeftBackground: { classPropertyName: "bottomLeftBackground", publicName: "bottomLeftBackground", isSignal: true, isRequired: false, transformFunction: null }, bottomLeftForeground: { classPropertyName: "bottomLeftForeground", publicName: "bottomLeftForeground", isSignal: true, isRequired: false, transformFunction: null }, contentBackgroundColor: { classPropertyName: "contentBackgroundColor", publicName: "contentBackgroundColor", isSignal: true, isRequired: false, transformFunction: null }, slotTop: { classPropertyName: "slotTop", publicName: "slotTop", isSignal: true, isRequired: false, transformFunction: null }, illustration: { classPropertyName: "illustration", publicName: "illustration", isSignal: true, isRequired: false, transformFunction: null }, heading: { classPropertyName: "heading", publicName: "heading", isSignal: true, isRequired: false, transformFunction: null }, description: { classPropertyName: "description", publicName: "description", isSignal: true, isRequired: false, transformFunction: null }, hx: { classPropertyName: "hx", publicName: "hx", isSignal: true, isRequired: false, transformFunction: null }, hxStyle: { classPropertyName: "hxStyle", publicName: "hxStyle", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "emptyState-wrapper" }, ngImport: i0, template: "<section\n\tclass=\"emptyState mod-page\"\n\t[class.mod-headingStyleH2]=\"hxStyle() === 2\"\n\t[attr.role]=\"heading() ? null : 'presentation'\"\n\t[style.--components-emptyState-background-color]=\"contentBackgroundColor()\"\n\t[style.--components-emptyState-illustration-background-bottom-left]=\"bottomLeftBackground() ? `url(${bottomLeftBackground()})` : 'none'\"\n\t[style.--components-emptyState-illustration-foreground-bottom-left]=\"bottomLeftForeground() ? `url(${bottomLeftForeground()})` : 'none'\"\n\t[style.--components-emptyState-illustration-background-top-right]=\"topRightBackground() ? `url(${topRightBackground()})` : 'none'\"\n\t[style.--components-emptyState-illustration-foreground-top-right]=\"topRightForeground() ? `url(${topRightForeground()})` : 'none'\"\n>\n\t<div class=\"emptyState-container\">\n\t\t<div class=\"emptyState-content\">\n\t\t\t@if (icon()) {\n\t\t\t\t<div class=\"emptyState-content-icon\" aria-hidden=\"true\" [innerHtml]=\"icon() | luSafeExternalSvg\"></div>\n\t\t\t}\n\t\t\t<div class=\"emptyState-content-text\">\n\t\t\t\t@if (slotTop()) {\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<ng-container *luPortal=\"slotTop()\" />\n\t\t\t\t\t</div>\n\t\t\t\t}\n\t\t\t\t@if (heading()) {\n\t\t\t\t\t<div role=\"heading\" [attr.aria-level]=\"hx()\" class=\"emptyState-content-heading\">{{ heading() }}</div>\n\t\t\t\t}\n\t\t\t\t@if (description()) {\n\t\t\t\t\t@if (isStringPortalContent(description())) {\n\t\t\t\t\t\t<p class=\"emptyState-content-description\">\n\t\t\t\t\t\t\t<ng-container *luPortal=\"description()\" />\n\t\t\t\t\t\t</p>\n\t\t\t\t\t} @else {\n\t\t\t\t\t\t<div class=\"emptyState-content-description\">\n\t\t\t\t\t\t\t<ng-container *luPortal=\"description()\" />\n\t\t\t\t\t\t</div>\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t<div class=\"emptyState-actions\">\n\t\t\t\t\t<ng-content />\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t\t@if (illustration()) {\n\t\t\t<div class=\"emptyState-illustration\"><ng-container *luPortal=\"illustration()\" /></div>\n\t\t}\n\t</div>\n</section>\n", styles: ["@layer components{.emptyState{--components-emptyState-container-maxWidth: calc(100vw - var(--commons-navSide-width) - 7rem);--components-emptyState-container-left: calc(var(--commons-navSide-width) + var(--pr-t-spacings-400));--components-emptyState-container-position: static;--components-emptyState-background-color: var(--pr-t-elevation-surface-default);--components-emptyState-illustration-top-right-offset-left: min( calc(100% + 5rem) , calc(var(--components-emptyState-container-maxWidth) - 8.5rem) );--components-emptyState-illustration-top-right-offset-left-S: min( calc(100% + 3.5rem) , calc(var(--components-emptyState-container-maxWidth) - 8.5rem) );--components-emptyState-container-flexDirection: row;--components-emptyState-illustration-display: grid;--components-emptyState-content-heading-font: var(--pr-t-font-heading-3);--components-emptyState-illustration-background-bottom-left: url(https://cdn.lucca.fr/lucca-front/assets/empty-states/poplee/bubbles-bottom-left-01.svg);--components-emptyState-illustration-foreground-bottom-left: url(https://cdn.lucca.fr/lucca-front/assets/empty-states/poplee/core-hr-01.svg);--components-emptyState-illustration-background-top-right: url(https://cdn.lucca.fr/lucca-front/assets/empty-states/poplee/bubbles-top-right-01.svg);--components-emptyState-illustration-foreground-top-right: url(https://cdn.lucca.fr/lucca-front/assets/empty-states/generic/coffee-01.svg);display:flex;flex-direction:column;flex-grow:1;padding:var(--pr-t-spacings-200);color:var(--pr-t-color-text)}.emptyState-container{align-items:center;display:flex;flex-direction:var(--components-emptyState-container-flexDirection);flex-grow:1;justify-content:center;max-inline-size:var(--components-emptyState-container-maxWidth);inset-inline-start:var(--components-emptyState-container-left);padding:0;inline-size:100%;position:var(--components-emptyState-container-position);gap:var(--pr-t-spacings-700)}.emptyState-illustration{max-inline-size:min(360px,100%);place-items:center;display:var(--components-emptyState-illustration-display)}.emptyState-illustration:empty{display:none}.emptyState-illustration-img{max-inline-size:100%;block-size:auto}.emptyState-content{flex-shrink:0;border-radius:var(--pr-t-border-radius-structure);max-inline-size:100%;padding:var(--pr-t-spacings-50);inline-size:calc(25rem + var(--pr-t-spacings-50) * 2)}.emptyState-content-icon{--components-emptyState-icon-background-color: var(--palettes-100, var(--palettes-product-100));--components-emptyState-icon-action-color: var(--palettes-600, var(--palettes-brand-600));display:inline-flex;margin-block-end:var(--pr-t-spacings-200)}.emptyState-content-text{padding-inline:var(--pr-t-spacings-50);display:flex;flex-direction:column;gap:var(--pr-t-spacings-150)}.emptyState-content-heading{color:var(--pr-t-color-text-heading);font:var(--components-emptyState-content-heading-font)}.emptyState-content-description{margin:0}.emptyState-actions{display:flex;flex-wrap:wrap;align-items:center;gap:var(--pr-t-spacings-200)}.emptyState-actions .button{margin:0}.emptyState-actions:empty{display:none}}@layer mods{.emptyState.mod-page{--components-emptyState-container-maxWidth: var(--commons-container-maxWidth);--components-emptyState-content-heading-font: var(--pr-t-font-heading-1);background-image:var(--components-emptyState-illustration-foreground-bottom-left),var(--components-emptyState-illustration-background-bottom-left),var(--components-emptyState-illustration-foreground-top-right),var(--components-emptyState-illustration-background-top-right);background-repeat:no-repeat;background-position:bottom left,bottom left,top left var(--components-emptyState-illustration-top-right-offset-left),top left var(--components-emptyState-illustration-top-right-offset-left)}@media not all and (min-width:50em){.emptyState.mod-page{background-position:bottom left,bottom left,top left var(--components-emptyState-illustration-top-right-offset-left-S),top left var(--components-emptyState-illustration-top-right-offset-left-S);background-size:auto 10.875rem}}.emptyState.mod-page .emptyState-content{background-color:var(--components-emptyState-background-color);box-shadow:0 0 8px 4px var(--components-emptyState-background-color)}.emptyState.mod-page .emptyState-content-text{padding:0}@media not all and (min-width:30em){.emptyState.mod-page .emptyState-actions .button{flex-basis:100%}}@media not all and (min-width:30em){.emptyState.mod-page{--components-emptyState-content-heading-font: var(--pr-t-font-heading-2)}}.emptyState.mod-headingStyleH2{--components-emptyState-content-heading-font: var(--pr-t-font-heading-2)}.emptyState.mod-center{text-align:center}.emptyState.mod-center .emptyState-actions{justify-content:center}.table .emptyState,.indexTable .emptyState,.dataTable .emptyState{--components-emptyState-container-position: sticky}.container .emptyState{--components-emptyState-container-left: auto}.emptyState:has(.emptyState-illustration:not(:empty)){--components-emptyState-background-color: transparent !important;--components-emptyState-illustration-background-bottom-left: none !important;--components-emptyState-illustration-foreground-bottom-left: none !important;--components-emptyState-illustration-background-top-right: none !important;--components-emptyState-illustration-foreground-top-right: none !important}@media not all and (min-width:50em){.emptyState:has(.emptyState-illustration:not(:empty)){--components-emptyState-container-flexDirection: column}}@media not all and (min-width:50em){.emptyState:has(.emptyState-illustration-img){--components-emptyState-illustration-display: none}}}@layer components{.emptyState-wrapper{display:flex;flex-direction:column;flex-grow:1}}\n"], dependencies: [{ kind: "directive", type: PortalDirective, selector: "[luPortal]", inputs: ["luPortal", "luPortalContext"] }, { kind: "pipe", type: LuSafeExternalSvgPipe, name: "luSafeExternalSvg" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
101
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: EmptyStatePageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
102
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: EmptyStatePageComponent, isStandalone: true, selector: "lu-empty-state-page", inputs: { icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, topRightBackground: { classPropertyName: "topRightBackground", publicName: "topRightBackground", isSignal: true, isRequired: false, transformFunction: null }, topRightForeground: { classPropertyName: "topRightForeground", publicName: "topRightForeground", isSignal: true, isRequired: false, transformFunction: null }, bottomLeftBackground: { classPropertyName: "bottomLeftBackground", publicName: "bottomLeftBackground", isSignal: true, isRequired: false, transformFunction: null }, bottomLeftForeground: { classPropertyName: "bottomLeftForeground", publicName: "bottomLeftForeground", isSignal: true, isRequired: false, transformFunction: null }, contentBackgroundColor: { classPropertyName: "contentBackgroundColor", publicName: "contentBackgroundColor", isSignal: true, isRequired: false, transformFunction: null }, slotTop: { classPropertyName: "slotTop", publicName: "slotTop", isSignal: true, isRequired: false, transformFunction: null }, illustration: { classPropertyName: "illustration", publicName: "illustration", isSignal: true, isRequired: false, transformFunction: null }, heading: { classPropertyName: "heading", publicName: "heading", isSignal: true, isRequired: false, transformFunction: null }, description: { classPropertyName: "description", publicName: "description", isSignal: true, isRequired: false, transformFunction: null }, hx: { classPropertyName: "hx", publicName: "hx", isSignal: true, isRequired: false, transformFunction: null }, hxStyle: { classPropertyName: "hxStyle", publicName: "hxStyle", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "emptyState-wrapper" }, ngImport: i0, template: "<section\n\tclass=\"emptyState mod-page\"\n\t[class.mod-headingStyleH2]=\"hxStyle() === 2\"\n\t[attr.role]=\"heading() ? null : 'presentation'\"\n\t[style.--components-emptyState-background-color]=\"contentBackgroundColor()\"\n\t[style.--components-emptyState-illustration-background-bottom-left]=\"\n\t\tresolvedBottomLeftBackground() ? `url(${resolvedBottomLeftBackground()})` : 'none'\n\t\"\n\t[style.--components-emptyState-illustration-foreground-bottom-left]=\"\n\t\tresolvedBottomLeftForeground() ? `url(${resolvedBottomLeftForeground()})` : 'none'\n\t\"\n\t[style.--components-emptyState-illustration-background-top-right]=\"\n\t\tresolvedTopRightBackground() ? `url(${resolvedTopRightBackground()})` : 'none'\n\t\"\n\t[style.--components-emptyState-illustration-foreground-top-right]=\"\n\t\tresolvedTopRightForeground() ? `url(${resolvedTopRightForeground()})` : 'none'\n\t\"\n>\n\t<div class=\"emptyState-container\">\n\t\t<div class=\"emptyState-content\">\n\t\t\t@if (icon(); as icon) {\n\t\t\t\t<div class=\"emptyState-content-icon\" aria-hidden=\"true\" [innerHtml]=\"icon | luSafeExternalSvg\"></div>\n\t\t\t}\n\t\t\t<div class=\"emptyState-content-text\">\n\t\t\t\t@if (slotTop(); as slotTop) {\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<ng-container *luPortal=\"slotTop\" />\n\t\t\t\t\t</div>\n\t\t\t\t}\n\t\t\t\t@if (heading()) {\n\t\t\t\t\t<div role=\"heading\" [attr.aria-level]=\"hx()\" class=\"emptyState-content-heading\">{{ heading() }}</div>\n\t\t\t\t}\n\t\t\t\t@if (description(); as description) {\n\t\t\t\t\t@if (isStringPortalContent(description)) {\n\t\t\t\t\t\t<p class=\"emptyState-content-description\">\n\t\t\t\t\t\t\t<ng-container *luPortal=\"description\" />\n\t\t\t\t\t\t</p>\n\t\t\t\t\t} @else {\n\t\t\t\t\t\t<div class=\"emptyState-content-description\">\n\t\t\t\t\t\t\t<ng-container *luPortal=\"description\" />\n\t\t\t\t\t\t</div>\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t<div class=\"emptyState-actions\">\n\t\t\t\t\t<ng-content />\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t\t@if (illustration(); as illustration) {\n\t\t\t<div class=\"emptyState-illustration\"><ng-container *luPortal=\"illustration\" /></div>\n\t\t}\n\t</div>\n</section>\n", styles: ["@layer components{.emptyState{--components-emptyState-container-maxWidth: calc(100vi - var(--commons-navSide-width) - 7rem);--components-emptyState-container-left: calc(var(--commons-navSide-width) + var(--pr-t-spacings-400));--components-emptyState-container-position: static;--components-emptyState-background-color: var(--pr-t-elevation-surface-default);--components-emptyState-illustration-top-right-offset-left: min( calc(100% + 5rem) , calc(var(--components-emptyState-container-maxWidth) - 8.5rem) );--components-emptyState-illustration-top-right-offset-left-S: min( calc(100% + 3.5rem) , calc(var(--components-emptyState-container-maxWidth) - 8.5rem) );--components-emptyState-container-flexDirection: row;--components-emptyState-illustration-display: grid;--components-emptyState-content-heading-font: var(--pr-t-font-heading-3);--components-emptyState-illustration-background-bottom-left: url(https://cdn.lucca.fr/lucca-front/assets/empty-states/poplee/bubbles-bottom-left-01.svg);--components-emptyState-illustration-foreground-bottom-left: url(https://cdn.lucca.fr/lucca-front/assets/empty-states/poplee/core-hr-01.svg);--components-emptyState-illustration-background-top-right: url(https://cdn.lucca.fr/lucca-front/assets/empty-states/poplee/bubbles-top-right-01.svg);--components-emptyState-illustration-foreground-top-right: url(https://cdn.lucca.fr/lucca-front/assets/empty-states/generic/coffee-01.svg);display:flex;flex-direction:column;flex-grow:1;padding:var(--pr-t-spacings-200);color:var(--pr-t-color-text)}.emptyState-container{align-items:center;display:flex;flex-direction:var(--components-emptyState-container-flexDirection);flex-grow:1;justify-content:center;max-inline-size:var(--components-emptyState-container-maxWidth);inset-inline-start:var(--components-emptyState-container-left);padding:0;inline-size:100%;position:var(--components-emptyState-container-position);gap:var(--pr-t-spacings-700)}.emptyState-illustration{max-inline-size:min(360px,100%);place-items:center;display:var(--components-emptyState-illustration-display)}.emptyState-illustration:empty{display:none}.emptyState-illustration-img{max-inline-size:100%;block-size:auto}.emptyState-content{flex-shrink:0;border-radius:var(--pr-t-border-radius-structure);max-inline-size:100%;padding:var(--pr-t-spacings-50);inline-size:calc(25rem + var(--pr-t-spacings-50) * 2)}.emptyState-content-icon{--components-emptyState-icon-background-color: var(--palettes-100, var(--palettes-product-100));--components-emptyState-icon-action-color: var(--palettes-600, var(--palettes-brand-600));display:inline-flex;margin-block-end:var(--pr-t-spacings-200)}.emptyState-content-text{padding-inline:var(--pr-t-spacings-50);display:flex;flex-direction:column;gap:var(--pr-t-spacings-150)}.emptyState-content-heading{color:var(--pr-t-color-text-heading);font:var(--components-emptyState-content-heading-font)}.emptyState-content-description{margin:0}.emptyState-actions{display:flex;flex-wrap:wrap;align-items:center;gap:var(--pr-t-spacings-200)}.emptyState-actions .button{margin:0}.emptyState-actions:empty{display:none}}@layer mods{.emptyState.mod-page{--components-emptyState-container-maxWidth: var(--commons-container-maxWidth);--components-emptyState-content-heading-font: var(--pr-t-font-heading-1);background-image:var(--components-emptyState-illustration-foreground-bottom-left),var(--components-emptyState-illustration-background-bottom-left),var(--components-emptyState-illustration-foreground-top-right),var(--components-emptyState-illustration-background-top-right);background-repeat:no-repeat;background-position:bottom left,bottom left,top left var(--components-emptyState-illustration-top-right-offset-left),top left var(--components-emptyState-illustration-top-right-offset-left)}@media not all and (min-width:50em){.emptyState.mod-page{background-position:bottom left,bottom left,top left var(--components-emptyState-illustration-top-right-offset-left-S),top left var(--components-emptyState-illustration-top-right-offset-left-S);background-size:auto 10.875rem}}.emptyState.mod-page .emptyState-content{background-color:var(--components-emptyState-background-color);box-shadow:0 0 8px 4px var(--components-emptyState-background-color)}.emptyState.mod-page .emptyState-content-text{padding:0}@media not all and (min-width:30em){.emptyState.mod-page .emptyState-actions .button{flex-basis:100%}}@media not all and (min-width:30em){.emptyState.mod-page{--components-emptyState-content-heading-font: var(--pr-t-font-heading-2)}}.emptyState.mod-headingStyleH2{--components-emptyState-content-heading-font: var(--pr-t-font-heading-2)}.emptyState.mod-center{text-align:center}.emptyState.mod-center .emptyState-actions{justify-content:center}.table .emptyState,.indexTable .emptyState,.dataTable .emptyState{--components-emptyState-container-position: sticky}.container .emptyState{--components-emptyState-container-left: auto}.emptyState:has(.emptyState-illustration:not(:empty)){--components-emptyState-background-color: transparent !important;--components-emptyState-illustration-background-bottom-left: none !important;--components-emptyState-illustration-foreground-bottom-left: none !important;--components-emptyState-illustration-background-top-right: none !important;--components-emptyState-illustration-foreground-top-right: none !important}@media not all and (min-width:50em){.emptyState:has(.emptyState-illustration:not(:empty)){--components-emptyState-container-flexDirection: column}}@media not all and (min-width:50em){.emptyState:has(.emptyState-illustration-img){--components-emptyState-illustration-display: none}}}@layer components{.emptyState-wrapper{display:flex;flex-direction:column;flex-grow:1}}\n"], dependencies: [{ kind: "directive", type: PortalDirective, selector: "[luPortal]", inputs: ["luPortal", "luPortalContext"] }, { kind: "pipe", type: LuSafeExternalSvgPipe, name: "luSafeExternalSvg" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
78
103
|
}
|
|
79
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
104
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: EmptyStatePageComponent, decorators: [{
|
|
80
105
|
type: Component,
|
|
81
106
|
args: [{ selector: 'lu-empty-state-page', imports: [PortalDirective, LuSafeExternalSvgPipe], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
82
107
|
class: 'emptyState-wrapper',
|
|
83
|
-
}, template: "<section\n\tclass=\"emptyState mod-page\"\n\t[class.mod-headingStyleH2]=\"hxStyle() === 2\"\n\t[attr.role]=\"heading() ? null : 'presentation'\"\n\t[style.--components-emptyState-background-color]=\"contentBackgroundColor()\"\n\t[style.--components-emptyState-illustration-background-bottom-left]=\"
|
|
108
|
+
}, template: "<section\n\tclass=\"emptyState mod-page\"\n\t[class.mod-headingStyleH2]=\"hxStyle() === 2\"\n\t[attr.role]=\"heading() ? null : 'presentation'\"\n\t[style.--components-emptyState-background-color]=\"contentBackgroundColor()\"\n\t[style.--components-emptyState-illustration-background-bottom-left]=\"\n\t\tresolvedBottomLeftBackground() ? `url(${resolvedBottomLeftBackground()})` : 'none'\n\t\"\n\t[style.--components-emptyState-illustration-foreground-bottom-left]=\"\n\t\tresolvedBottomLeftForeground() ? `url(${resolvedBottomLeftForeground()})` : 'none'\n\t\"\n\t[style.--components-emptyState-illustration-background-top-right]=\"\n\t\tresolvedTopRightBackground() ? `url(${resolvedTopRightBackground()})` : 'none'\n\t\"\n\t[style.--components-emptyState-illustration-foreground-top-right]=\"\n\t\tresolvedTopRightForeground() ? `url(${resolvedTopRightForeground()})` : 'none'\n\t\"\n>\n\t<div class=\"emptyState-container\">\n\t\t<div class=\"emptyState-content\">\n\t\t\t@if (icon(); as icon) {\n\t\t\t\t<div class=\"emptyState-content-icon\" aria-hidden=\"true\" [innerHtml]=\"icon | luSafeExternalSvg\"></div>\n\t\t\t}\n\t\t\t<div class=\"emptyState-content-text\">\n\t\t\t\t@if (slotTop(); as slotTop) {\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<ng-container *luPortal=\"slotTop\" />\n\t\t\t\t\t</div>\n\t\t\t\t}\n\t\t\t\t@if (heading()) {\n\t\t\t\t\t<div role=\"heading\" [attr.aria-level]=\"hx()\" class=\"emptyState-content-heading\">{{ heading() }}</div>\n\t\t\t\t}\n\t\t\t\t@if (description(); as description) {\n\t\t\t\t\t@if (isStringPortalContent(description)) {\n\t\t\t\t\t\t<p class=\"emptyState-content-description\">\n\t\t\t\t\t\t\t<ng-container *luPortal=\"description\" />\n\t\t\t\t\t\t</p>\n\t\t\t\t\t} @else {\n\t\t\t\t\t\t<div class=\"emptyState-content-description\">\n\t\t\t\t\t\t\t<ng-container *luPortal=\"description\" />\n\t\t\t\t\t\t</div>\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t<div class=\"emptyState-actions\">\n\t\t\t\t\t<ng-content />\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t\t@if (illustration(); as illustration) {\n\t\t\t<div class=\"emptyState-illustration\"><ng-container *luPortal=\"illustration\" /></div>\n\t\t}\n\t</div>\n</section>\n", styles: ["@layer components{.emptyState{--components-emptyState-container-maxWidth: calc(100vi - var(--commons-navSide-width) - 7rem);--components-emptyState-container-left: calc(var(--commons-navSide-width) + var(--pr-t-spacings-400));--components-emptyState-container-position: static;--components-emptyState-background-color: var(--pr-t-elevation-surface-default);--components-emptyState-illustration-top-right-offset-left: min( calc(100% + 5rem) , calc(var(--components-emptyState-container-maxWidth) - 8.5rem) );--components-emptyState-illustration-top-right-offset-left-S: min( calc(100% + 3.5rem) , calc(var(--components-emptyState-container-maxWidth) - 8.5rem) );--components-emptyState-container-flexDirection: row;--components-emptyState-illustration-display: grid;--components-emptyState-content-heading-font: var(--pr-t-font-heading-3);--components-emptyState-illustration-background-bottom-left: url(https://cdn.lucca.fr/lucca-front/assets/empty-states/poplee/bubbles-bottom-left-01.svg);--components-emptyState-illustration-foreground-bottom-left: url(https://cdn.lucca.fr/lucca-front/assets/empty-states/poplee/core-hr-01.svg);--components-emptyState-illustration-background-top-right: url(https://cdn.lucca.fr/lucca-front/assets/empty-states/poplee/bubbles-top-right-01.svg);--components-emptyState-illustration-foreground-top-right: url(https://cdn.lucca.fr/lucca-front/assets/empty-states/generic/coffee-01.svg);display:flex;flex-direction:column;flex-grow:1;padding:var(--pr-t-spacings-200);color:var(--pr-t-color-text)}.emptyState-container{align-items:center;display:flex;flex-direction:var(--components-emptyState-container-flexDirection);flex-grow:1;justify-content:center;max-inline-size:var(--components-emptyState-container-maxWidth);inset-inline-start:var(--components-emptyState-container-left);padding:0;inline-size:100%;position:var(--components-emptyState-container-position);gap:var(--pr-t-spacings-700)}.emptyState-illustration{max-inline-size:min(360px,100%);place-items:center;display:var(--components-emptyState-illustration-display)}.emptyState-illustration:empty{display:none}.emptyState-illustration-img{max-inline-size:100%;block-size:auto}.emptyState-content{flex-shrink:0;border-radius:var(--pr-t-border-radius-structure);max-inline-size:100%;padding:var(--pr-t-spacings-50);inline-size:calc(25rem + var(--pr-t-spacings-50) * 2)}.emptyState-content-icon{--components-emptyState-icon-background-color: var(--palettes-100, var(--palettes-product-100));--components-emptyState-icon-action-color: var(--palettes-600, var(--palettes-brand-600));display:inline-flex;margin-block-end:var(--pr-t-spacings-200)}.emptyState-content-text{padding-inline:var(--pr-t-spacings-50);display:flex;flex-direction:column;gap:var(--pr-t-spacings-150)}.emptyState-content-heading{color:var(--pr-t-color-text-heading);font:var(--components-emptyState-content-heading-font)}.emptyState-content-description{margin:0}.emptyState-actions{display:flex;flex-wrap:wrap;align-items:center;gap:var(--pr-t-spacings-200)}.emptyState-actions .button{margin:0}.emptyState-actions:empty{display:none}}@layer mods{.emptyState.mod-page{--components-emptyState-container-maxWidth: var(--commons-container-maxWidth);--components-emptyState-content-heading-font: var(--pr-t-font-heading-1);background-image:var(--components-emptyState-illustration-foreground-bottom-left),var(--components-emptyState-illustration-background-bottom-left),var(--components-emptyState-illustration-foreground-top-right),var(--components-emptyState-illustration-background-top-right);background-repeat:no-repeat;background-position:bottom left,bottom left,top left var(--components-emptyState-illustration-top-right-offset-left),top left var(--components-emptyState-illustration-top-right-offset-left)}@media not all and (min-width:50em){.emptyState.mod-page{background-position:bottom left,bottom left,top left var(--components-emptyState-illustration-top-right-offset-left-S),top left var(--components-emptyState-illustration-top-right-offset-left-S);background-size:auto 10.875rem}}.emptyState.mod-page .emptyState-content{background-color:var(--components-emptyState-background-color);box-shadow:0 0 8px 4px var(--components-emptyState-background-color)}.emptyState.mod-page .emptyState-content-text{padding:0}@media not all and (min-width:30em){.emptyState.mod-page .emptyState-actions .button{flex-basis:100%}}@media not all and (min-width:30em){.emptyState.mod-page{--components-emptyState-content-heading-font: var(--pr-t-font-heading-2)}}.emptyState.mod-headingStyleH2{--components-emptyState-content-heading-font: var(--pr-t-font-heading-2)}.emptyState.mod-center{text-align:center}.emptyState.mod-center .emptyState-actions{justify-content:center}.table .emptyState,.indexTable .emptyState,.dataTable .emptyState{--components-emptyState-container-position: sticky}.container .emptyState{--components-emptyState-container-left: auto}.emptyState:has(.emptyState-illustration:not(:empty)){--components-emptyState-background-color: transparent !important;--components-emptyState-illustration-background-bottom-left: none !important;--components-emptyState-illustration-foreground-bottom-left: none !important;--components-emptyState-illustration-background-top-right: none !important;--components-emptyState-illustration-foreground-top-right: none !important}@media not all and (min-width:50em){.emptyState:has(.emptyState-illustration:not(:empty)){--components-emptyState-container-flexDirection: column}}@media not all and (min-width:50em){.emptyState:has(.emptyState-illustration-img){--components-emptyState-illustration-display: none}}}@layer components{.emptyState-wrapper{display:flex;flex-direction:column;flex-grow:1}}\n"] }]
|
|
84
109
|
}], propDecorators: { icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], topRightBackground: [{ type: i0.Input, args: [{ isSignal: true, alias: "topRightBackground", required: false }] }], topRightForeground: [{ type: i0.Input, args: [{ isSignal: true, alias: "topRightForeground", required: false }] }], bottomLeftBackground: [{ type: i0.Input, args: [{ isSignal: true, alias: "bottomLeftBackground", required: false }] }], bottomLeftForeground: [{ type: i0.Input, args: [{ isSignal: true, alias: "bottomLeftForeground", required: false }] }], contentBackgroundColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "contentBackgroundColor", required: false }] }], slotTop: [{ type: i0.Input, args: [{ isSignal: true, alias: "slotTop", required: false }] }], illustration: [{ type: i0.Input, args: [{ isSignal: true, alias: "illustration", required: false }] }], heading: [{ type: i0.Input, args: [{ isSignal: true, alias: "heading", required: false }] }], description: [{ type: i0.Input, args: [{ isSignal: true, alias: "description", required: false }] }], hx: [{ type: i0.Input, args: [{ isSignal: true, alias: "hx", required: false }] }], hxStyle: [{ type: i0.Input, args: [{ isSignal: true, alias: "hxStyle", required: false }] }] } });
|
|
85
110
|
|
|
86
111
|
/**
|
|
@@ -121,11 +146,11 @@ class EmptyStateSectionComponent {
|
|
|
121
146
|
/** @deprecated use illustration and action */
|
|
122
147
|
this.icon = input(null, /* @ts-ignore */
|
|
123
148
|
...(ngDevMode ? [{ debugName: "icon" }] : /* istanbul ignore next */ []));
|
|
124
|
-
this.actionIllustration = computed(() => this.action() || this.icon()?.includes('Action.svg'), /* @ts-ignore */
|
|
149
|
+
this.actionIllustration = computed(() => this.action() || (this.icon()?.includes('Action.svg') ?? false), /* @ts-ignore */
|
|
125
150
|
...(ngDevMode ? [{ debugName: "actionIllustration" }] : /* istanbul ignore next */ []));
|
|
126
151
|
this.illustration = input(null, /* @ts-ignore */
|
|
127
152
|
...(ngDevMode ? [{ debugName: "illustration" }] : /* istanbul ignore next */ []));
|
|
128
|
-
this.action = input(false, { ...(ngDevMode ? { debugName: "action" } : /* istanbul ignore next */ {}), transform:
|
|
153
|
+
this.action = input(false, { ...(ngDevMode ? { debugName: "action" } : /* istanbul ignore next */ {}), transform: luBooleanAttribute });
|
|
129
154
|
this.iconOrIllustration = computed(() => {
|
|
130
155
|
const icon = this.icon();
|
|
131
156
|
if (icon) {
|
|
@@ -147,7 +172,7 @@ class EmptyStateSectionComponent {
|
|
|
147
172
|
*/
|
|
148
173
|
this.palette = input('none', /* @ts-ignore */
|
|
149
174
|
...(ngDevMode ? [{ debugName: "palette" }] : /* istanbul ignore next */ []));
|
|
150
|
-
this.center = input(false, { ...(ngDevMode ? { debugName: "center" } : /* istanbul ignore next */ {}), transform:
|
|
175
|
+
this.center = input(false, { ...(ngDevMode ? { debugName: "center" } : /* istanbul ignore next */ {}), transform: luBooleanAttribute });
|
|
151
176
|
/**
|
|
152
177
|
* The title of the empty state section
|
|
153
178
|
*/
|
|
@@ -161,19 +186,19 @@ class EmptyStateSectionComponent {
|
|
|
161
186
|
/**
|
|
162
187
|
* Define the aria level of the title
|
|
163
188
|
*/
|
|
164
|
-
this.hx = input(3, { ...(ngDevMode ? { debugName: "hx" } : /* istanbul ignore next */ {}), transform:
|
|
189
|
+
this.hx = input(3, { ...(ngDevMode ? { debugName: "hx" } : /* istanbul ignore next */ {}), transform: (luNumberAttribute) });
|
|
165
190
|
this.emptyStateClasses = computed(() => ({ [`palette-${this.palette()}`]: !!this.palette() }), /* @ts-ignore */
|
|
166
191
|
...(ngDevMode ? [{ debugName: "emptyStateClasses" }] : /* istanbul ignore next */ []));
|
|
167
192
|
}
|
|
168
193
|
isStringPortalContent(message) {
|
|
169
194
|
return typeof message === 'string';
|
|
170
195
|
}
|
|
171
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
172
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.
|
|
196
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: EmptyStateSectionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
197
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: EmptyStateSectionComponent, isStandalone: true, selector: "lu-empty-state-section", inputs: { icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, illustration: { classPropertyName: "illustration", publicName: "illustration", isSignal: true, isRequired: false, transformFunction: null }, action: { classPropertyName: "action", publicName: "action", isSignal: true, isRequired: false, transformFunction: null }, palette: { classPropertyName: "palette", publicName: "palette", isSignal: true, isRequired: false, transformFunction: null }, center: { classPropertyName: "center", publicName: "center", isSignal: true, isRequired: false, transformFunction: null }, heading: { classPropertyName: "heading", publicName: "heading", isSignal: true, isRequired: false, transformFunction: null }, description: { classPropertyName: "description", publicName: "description", isSignal: true, isRequired: false, transformFunction: null }, hx: { classPropertyName: "hx", publicName: "hx", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<section class=\"emptyState\" [class.mod-center]=\"center()\" [attr.role]=\"heading() ? null : 'presentation'\">\n\t<div class=\"emptyState-container\">\n\t\t<div class=\"emptyState-content\">\n\t\t\t@if (iconOrIllustration(); as iconOrIllustration) {\n\t\t\t\t<div class=\"emptyState-content-icon\">\n\t\t\t\t\t<lu-bubble-illustration [action]=\"actionIllustration()\" [illustration]=\"iconOrIllustration\" size=\"L\" [palette]=\"palette()\" />\n\t\t\t\t</div>\n\t\t\t}\n\t\t\t<div class=\"emptyState-content-text\">\n\t\t\t\t@if (heading()) {\n\t\t\t\t\t<div role=\"heading\" [attr.aria-level]=\"hx()\" class=\"emptyState-content-heading\">{{ heading() }}</div>\n\t\t\t\t}\n\t\t\t\t@if (description(); as description) {\n\t\t\t\t\t@if (isStringPortalContent(description)) {\n\t\t\t\t\t\t<p class=\"emptyState-content-description\">\n\t\t\t\t\t\t\t<ng-container *luPortal=\"description\" />\n\t\t\t\t\t\t</p>\n\t\t\t\t\t} @else {\n\t\t\t\t\t\t<div class=\"emptyState-content-description\">\n\t\t\t\t\t\t\t<ng-container *luPortal=\"description\" />\n\t\t\t\t\t\t</div>\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t<div class=\"emptyState-actions\">\n\t\t\t\t\t<ng-content />\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</section>\n", styles: ["@layer components{.emptyState{--components-emptyState-container-maxWidth: calc(100vi - var(--commons-navSide-width) - 7rem);--components-emptyState-container-left: calc(var(--commons-navSide-width) + var(--pr-t-spacings-400));--components-emptyState-container-position: static;--components-emptyState-background-color: var(--pr-t-elevation-surface-default);--components-emptyState-illustration-top-right-offset-left: min( calc(100% + 5rem) , calc(var(--components-emptyState-container-maxWidth) - 8.5rem) );--components-emptyState-illustration-top-right-offset-left-S: min( calc(100% + 3.5rem) , calc(var(--components-emptyState-container-maxWidth) - 8.5rem) );--components-emptyState-container-flexDirection: row;--components-emptyState-illustration-display: grid;--components-emptyState-content-heading-font: var(--pr-t-font-heading-3);--components-emptyState-illustration-background-bottom-left: url(https://cdn.lucca.fr/lucca-front/assets/empty-states/poplee/bubbles-bottom-left-01.svg);--components-emptyState-illustration-foreground-bottom-left: url(https://cdn.lucca.fr/lucca-front/assets/empty-states/poplee/core-hr-01.svg);--components-emptyState-illustration-background-top-right: url(https://cdn.lucca.fr/lucca-front/assets/empty-states/poplee/bubbles-top-right-01.svg);--components-emptyState-illustration-foreground-top-right: url(https://cdn.lucca.fr/lucca-front/assets/empty-states/generic/coffee-01.svg);display:flex;flex-direction:column;flex-grow:1;padding:var(--pr-t-spacings-200);color:var(--pr-t-color-text)}.emptyState-container{align-items:center;display:flex;flex-direction:var(--components-emptyState-container-flexDirection);flex-grow:1;justify-content:center;max-inline-size:var(--components-emptyState-container-maxWidth);inset-inline-start:var(--components-emptyState-container-left);padding:0;inline-size:100%;position:var(--components-emptyState-container-position);gap:var(--pr-t-spacings-700)}.emptyState-illustration{max-inline-size:min(360px,100%);place-items:center;display:var(--components-emptyState-illustration-display)}.emptyState-illustration:empty{display:none}.emptyState-illustration-img{max-inline-size:100%;block-size:auto}.emptyState-content{flex-shrink:0;border-radius:var(--pr-t-border-radius-structure);max-inline-size:100%;padding:var(--pr-t-spacings-50);inline-size:calc(25rem + var(--pr-t-spacings-50) * 2)}.emptyState-content-icon{--components-emptyState-icon-background-color: var(--palettes-100, var(--palettes-product-100));--components-emptyState-icon-action-color: var(--palettes-600, var(--palettes-brand-600));display:inline-flex;margin-block-end:var(--pr-t-spacings-200)}.emptyState-content-text{padding-inline:var(--pr-t-spacings-50);display:flex;flex-direction:column;gap:var(--pr-t-spacings-150)}.emptyState-content-heading{color:var(--pr-t-color-text-heading);font:var(--components-emptyState-content-heading-font)}.emptyState-content-description{margin:0}.emptyState-actions{display:flex;flex-wrap:wrap;align-items:center;gap:var(--pr-t-spacings-200)}.emptyState-actions .button{margin:0}.emptyState-actions:empty{display:none}}@layer mods{.emptyState.mod-page{--components-emptyState-container-maxWidth: var(--commons-container-maxWidth);--components-emptyState-content-heading-font: var(--pr-t-font-heading-1);background-image:var(--components-emptyState-illustration-foreground-bottom-left),var(--components-emptyState-illustration-background-bottom-left),var(--components-emptyState-illustration-foreground-top-right),var(--components-emptyState-illustration-background-top-right);background-repeat:no-repeat;background-position:bottom left,bottom left,top left var(--components-emptyState-illustration-top-right-offset-left),top left var(--components-emptyState-illustration-top-right-offset-left)}@media not all and (min-width:50em){.emptyState.mod-page{background-position:bottom left,bottom left,top left var(--components-emptyState-illustration-top-right-offset-left-S),top left var(--components-emptyState-illustration-top-right-offset-left-S);background-size:auto 10.875rem}}.emptyState.mod-page .emptyState-content{background-color:var(--components-emptyState-background-color);box-shadow:0 0 8px 4px var(--components-emptyState-background-color)}.emptyState.mod-page .emptyState-content-text{padding:0}@media not all and (min-width:30em){.emptyState.mod-page .emptyState-actions .button{flex-basis:100%}}@media not all and (min-width:30em){.emptyState.mod-page{--components-emptyState-content-heading-font: var(--pr-t-font-heading-2)}}.emptyState.mod-headingStyleH2{--components-emptyState-content-heading-font: var(--pr-t-font-heading-2)}.emptyState.mod-center{text-align:center}.emptyState.mod-center .emptyState-actions{justify-content:center}.table .emptyState,.indexTable .emptyState,.dataTable .emptyState{--components-emptyState-container-position: sticky}.container .emptyState{--components-emptyState-container-left: auto}.emptyState:has(.emptyState-illustration:not(:empty)){--components-emptyState-background-color: transparent !important;--components-emptyState-illustration-background-bottom-left: none !important;--components-emptyState-illustration-foreground-bottom-left: none !important;--components-emptyState-illustration-background-top-right: none !important;--components-emptyState-illustration-foreground-top-right: none !important}@media not all and (min-width:50em){.emptyState:has(.emptyState-illustration:not(:empty)){--components-emptyState-container-flexDirection: column}}@media not all and (min-width:50em){.emptyState:has(.emptyState-illustration-img){--components-emptyState-illustration-display: none}}}@layer base{lu-empty-state-section{inline-size:100%}}\n"], dependencies: [{ kind: "directive", type: PortalDirective, selector: "[luPortal]", inputs: ["luPortal", "luPortalContext"] }, { kind: "component", type: BubbleIllustrationComponent, selector: "lu-bubble-illustration", inputs: ["illustration", "palette", "size", "action"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
173
198
|
}
|
|
174
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
199
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: EmptyStateSectionComponent, decorators: [{
|
|
175
200
|
type: Component,
|
|
176
|
-
args: [{ selector: 'lu-empty-state-section', imports: [PortalDirective, BubbleIllustrationComponent], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<section class=\"emptyState\" [class.mod-center]=\"center()\" [attr.role]=\"heading() ? null : 'presentation'\">\n\t<div class=\"emptyState-container\">\n\t\t<div class=\"emptyState-content\">\n\t\t\t@if (iconOrIllustration()) {\n\t\t\t\t<div class=\"emptyState-content-icon\">\n\t\t\t\t\t<lu-bubble-illustration [action]=\"actionIllustration()\" [illustration]=\"iconOrIllustration
|
|
201
|
+
args: [{ selector: 'lu-empty-state-section', imports: [PortalDirective, BubbleIllustrationComponent], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<section class=\"emptyState\" [class.mod-center]=\"center()\" [attr.role]=\"heading() ? null : 'presentation'\">\n\t<div class=\"emptyState-container\">\n\t\t<div class=\"emptyState-content\">\n\t\t\t@if (iconOrIllustration(); as iconOrIllustration) {\n\t\t\t\t<div class=\"emptyState-content-icon\">\n\t\t\t\t\t<lu-bubble-illustration [action]=\"actionIllustration()\" [illustration]=\"iconOrIllustration\" size=\"L\" [palette]=\"palette()\" />\n\t\t\t\t</div>\n\t\t\t}\n\t\t\t<div class=\"emptyState-content-text\">\n\t\t\t\t@if (heading()) {\n\t\t\t\t\t<div role=\"heading\" [attr.aria-level]=\"hx()\" class=\"emptyState-content-heading\">{{ heading() }}</div>\n\t\t\t\t}\n\t\t\t\t@if (description(); as description) {\n\t\t\t\t\t@if (isStringPortalContent(description)) {\n\t\t\t\t\t\t<p class=\"emptyState-content-description\">\n\t\t\t\t\t\t\t<ng-container *luPortal=\"description\" />\n\t\t\t\t\t\t</p>\n\t\t\t\t\t} @else {\n\t\t\t\t\t\t<div class=\"emptyState-content-description\">\n\t\t\t\t\t\t\t<ng-container *luPortal=\"description\" />\n\t\t\t\t\t\t</div>\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t<div class=\"emptyState-actions\">\n\t\t\t\t\t<ng-content />\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</section>\n", styles: ["@layer components{.emptyState{--components-emptyState-container-maxWidth: calc(100vi - var(--commons-navSide-width) - 7rem);--components-emptyState-container-left: calc(var(--commons-navSide-width) + var(--pr-t-spacings-400));--components-emptyState-container-position: static;--components-emptyState-background-color: var(--pr-t-elevation-surface-default);--components-emptyState-illustration-top-right-offset-left: min( calc(100% + 5rem) , calc(var(--components-emptyState-container-maxWidth) - 8.5rem) );--components-emptyState-illustration-top-right-offset-left-S: min( calc(100% + 3.5rem) , calc(var(--components-emptyState-container-maxWidth) - 8.5rem) );--components-emptyState-container-flexDirection: row;--components-emptyState-illustration-display: grid;--components-emptyState-content-heading-font: var(--pr-t-font-heading-3);--components-emptyState-illustration-background-bottom-left: url(https://cdn.lucca.fr/lucca-front/assets/empty-states/poplee/bubbles-bottom-left-01.svg);--components-emptyState-illustration-foreground-bottom-left: url(https://cdn.lucca.fr/lucca-front/assets/empty-states/poplee/core-hr-01.svg);--components-emptyState-illustration-background-top-right: url(https://cdn.lucca.fr/lucca-front/assets/empty-states/poplee/bubbles-top-right-01.svg);--components-emptyState-illustration-foreground-top-right: url(https://cdn.lucca.fr/lucca-front/assets/empty-states/generic/coffee-01.svg);display:flex;flex-direction:column;flex-grow:1;padding:var(--pr-t-spacings-200);color:var(--pr-t-color-text)}.emptyState-container{align-items:center;display:flex;flex-direction:var(--components-emptyState-container-flexDirection);flex-grow:1;justify-content:center;max-inline-size:var(--components-emptyState-container-maxWidth);inset-inline-start:var(--components-emptyState-container-left);padding:0;inline-size:100%;position:var(--components-emptyState-container-position);gap:var(--pr-t-spacings-700)}.emptyState-illustration{max-inline-size:min(360px,100%);place-items:center;display:var(--components-emptyState-illustration-display)}.emptyState-illustration:empty{display:none}.emptyState-illustration-img{max-inline-size:100%;block-size:auto}.emptyState-content{flex-shrink:0;border-radius:var(--pr-t-border-radius-structure);max-inline-size:100%;padding:var(--pr-t-spacings-50);inline-size:calc(25rem + var(--pr-t-spacings-50) * 2)}.emptyState-content-icon{--components-emptyState-icon-background-color: var(--palettes-100, var(--palettes-product-100));--components-emptyState-icon-action-color: var(--palettes-600, var(--palettes-brand-600));display:inline-flex;margin-block-end:var(--pr-t-spacings-200)}.emptyState-content-text{padding-inline:var(--pr-t-spacings-50);display:flex;flex-direction:column;gap:var(--pr-t-spacings-150)}.emptyState-content-heading{color:var(--pr-t-color-text-heading);font:var(--components-emptyState-content-heading-font)}.emptyState-content-description{margin:0}.emptyState-actions{display:flex;flex-wrap:wrap;align-items:center;gap:var(--pr-t-spacings-200)}.emptyState-actions .button{margin:0}.emptyState-actions:empty{display:none}}@layer mods{.emptyState.mod-page{--components-emptyState-container-maxWidth: var(--commons-container-maxWidth);--components-emptyState-content-heading-font: var(--pr-t-font-heading-1);background-image:var(--components-emptyState-illustration-foreground-bottom-left),var(--components-emptyState-illustration-background-bottom-left),var(--components-emptyState-illustration-foreground-top-right),var(--components-emptyState-illustration-background-top-right);background-repeat:no-repeat;background-position:bottom left,bottom left,top left var(--components-emptyState-illustration-top-right-offset-left),top left var(--components-emptyState-illustration-top-right-offset-left)}@media not all and (min-width:50em){.emptyState.mod-page{background-position:bottom left,bottom left,top left var(--components-emptyState-illustration-top-right-offset-left-S),top left var(--components-emptyState-illustration-top-right-offset-left-S);background-size:auto 10.875rem}}.emptyState.mod-page .emptyState-content{background-color:var(--components-emptyState-background-color);box-shadow:0 0 8px 4px var(--components-emptyState-background-color)}.emptyState.mod-page .emptyState-content-text{padding:0}@media not all and (min-width:30em){.emptyState.mod-page .emptyState-actions .button{flex-basis:100%}}@media not all and (min-width:30em){.emptyState.mod-page{--components-emptyState-content-heading-font: var(--pr-t-font-heading-2)}}.emptyState.mod-headingStyleH2{--components-emptyState-content-heading-font: var(--pr-t-font-heading-2)}.emptyState.mod-center{text-align:center}.emptyState.mod-center .emptyState-actions{justify-content:center}.table .emptyState,.indexTable .emptyState,.dataTable .emptyState{--components-emptyState-container-position: sticky}.container .emptyState{--components-emptyState-container-left: auto}.emptyState:has(.emptyState-illustration:not(:empty)){--components-emptyState-background-color: transparent !important;--components-emptyState-illustration-background-bottom-left: none !important;--components-emptyState-illustration-foreground-bottom-left: none !important;--components-emptyState-illustration-background-top-right: none !important;--components-emptyState-illustration-foreground-top-right: none !important}@media not all and (min-width:50em){.emptyState:has(.emptyState-illustration:not(:empty)){--components-emptyState-container-flexDirection: column}}@media not all and (min-width:50em){.emptyState:has(.emptyState-illustration-img){--components-emptyState-illustration-display: none}}}@layer base{lu-empty-state-section{inline-size:100%}}\n"] }]
|
|
177
202
|
}], propDecorators: { icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], illustration: [{ type: i0.Input, args: [{ isSignal: true, alias: "illustration", required: false }] }], action: [{ type: i0.Input, args: [{ isSignal: true, alias: "action", required: false }] }], palette: [{ type: i0.Input, args: [{ isSignal: true, alias: "palette", required: false }] }], center: [{ type: i0.Input, args: [{ isSignal: true, alias: "center", required: false }] }], heading: [{ type: i0.Input, args: [{ isSignal: true, alias: "heading", required: false }] }], description: [{ type: i0.Input, args: [{ isSignal: true, alias: "description", required: false }] }], hx: [{ type: i0.Input, args: [{ isSignal: true, alias: "hx", required: false }] }] } });
|
|
178
203
|
|
|
179
204
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lucca-front-ng-empty-state.mjs","sources":["../../../packages/ng/empty-state/empty-state-page-illustration/empty-state-page-illustration.component.ts","../../../packages/ng/empty-state/empty-state-page-illustration/empty-state-page-illustration.component.html","../../../packages/ng/empty-state/empty-state-page/empty-state-page.component.ts","../../../packages/ng/empty-state/empty-state-page/empty-state-page.component.html","../../../packages/ng/empty-state/empty-state.type.ts","../../../packages/ng/empty-state/empty-state-section/empty-state-section.component.ts","../../../packages/ng/empty-state/empty-state-section/empty-state-section.component.html","../../../packages/ng/empty-state/lucca-front-ng-empty-state.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, input, ViewEncapsulation } from '@angular/core';\n\n@Component({\n\tselector: 'lu-empty-state-page-illustration',\n\ttemplateUrl: './empty-state-page-illustration.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\tclass: 'pr-u-displayFlex',\n\t},\n})\nexport class EmptyStatePageIllustration {\n\treadonly src = input<string | null>(null);\n\treadonly alt = input<string | null>('');\n}\n","<img class=\"emptyState-illustration-img\" [attr.src]=\"src()\" [attr.alt]=\"alt()\" />\n","import { ChangeDetectionStrategy, Component, input, numberAttribute, ViewEncapsulation } from '@angular/core';\nimport { PortalContent, PortalDirective } from '@lucca-front/ng/core';\nimport { LuSafeExternalSvgPipe } from '@lucca-front/ng/safe-content';\nimport { Hx, HxStyle } from '../empty-state.type';\n\n@Component({\n\tselector: 'lu-empty-state-page',\n\timports: [PortalDirective, LuSafeExternalSvgPipe],\n\ttemplateUrl: './empty-state-page.component.html',\n\tstyleUrl: './empty-state-page.component.scss',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\tclass: 'emptyState-wrapper',\n\t},\n})\nexport class EmptyStatePageComponent {\n\t/**\n\t * Icon image (URL)\n\t */\n\treadonly icon = input<string | null>(null);\n\n\t/**\n\t * Top right background image (URL)\n\t */\n\treadonly topRightBackground = input<string>('https://cdn.lucca.fr/lucca-front/assets/empty-states/poplee/bubbles-top-right-01.svg');\n\n\t/**\n\t * Top right foreground image (URL)\n\t */\n\treadonly topRightForeground = input<string>('https://cdn.lucca.fr/lucca-front/assets/empty-states/generic/coffee-01.svg');\n\n\t/**\n\t * Bottom left background image (URL)\n\t */\n\treadonly bottomLeftBackground = input<string>('https://cdn.lucca.fr/lucca-front/assets/empty-states/poplee/bubbles-bottom-left-01.svg');\n\n\t/**\n\t * Bottom left foreground image (URL)\n\t */\n\treadonly bottomLeftForeground = input<string>('https://cdn.lucca.fr/lucca-front/assets/empty-states/poplee/core-hr-01.svg');\n\n\t/**\n\t * Background color for content (text)\n\t */\n\treadonly contentBackgroundColor = input<string>('var(--pr-t-elevation-surface-default)');\n\n\t/**\n\t * Add content above heading\n\t */\n\treadonly slotTop = input<PortalContent>();\n\n\t/**\n\t * Add illustration beside content\n\t */\n\treadonly illustration = input<PortalContent>();\n\n\treadonly heading = input<string>();\n\n\treadonly description = input<PortalContent>();\n\n\treadonly hx = input(1, { transform: numberAttribute as (value: Hx | `${Hx}`) => Hx });\n\n\treadonly hxStyle = input(1, { transform: numberAttribute as (value: HxStyle | `${HxStyle}`) => HxStyle });\n\n\tpublic isStringPortalContent(message: PortalContent): message is string {\n\t\treturn typeof message === 'string';\n\t}\n}\n","<section\n\tclass=\"emptyState mod-page\"\n\t[class.mod-headingStyleH2]=\"hxStyle() === 2\"\n\t[attr.role]=\"heading() ? null : 'presentation'\"\n\t[style.--components-emptyState-background-color]=\"contentBackgroundColor()\"\n\t[style.--components-emptyState-illustration-background-bottom-left]=\"bottomLeftBackground() ? `url(${bottomLeftBackground()})` : 'none'\"\n\t[style.--components-emptyState-illustration-foreground-bottom-left]=\"bottomLeftForeground() ? `url(${bottomLeftForeground()})` : 'none'\"\n\t[style.--components-emptyState-illustration-background-top-right]=\"topRightBackground() ? `url(${topRightBackground()})` : 'none'\"\n\t[style.--components-emptyState-illustration-foreground-top-right]=\"topRightForeground() ? `url(${topRightForeground()})` : 'none'\"\n>\n\t<div class=\"emptyState-container\">\n\t\t<div class=\"emptyState-content\">\n\t\t\t@if (icon()) {\n\t\t\t\t<div class=\"emptyState-content-icon\" aria-hidden=\"true\" [innerHtml]=\"icon() | luSafeExternalSvg\"></div>\n\t\t\t}\n\t\t\t<div class=\"emptyState-content-text\">\n\t\t\t\t@if (slotTop()) {\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<ng-container *luPortal=\"slotTop()\" />\n\t\t\t\t\t</div>\n\t\t\t\t}\n\t\t\t\t@if (heading()) {\n\t\t\t\t\t<div role=\"heading\" [attr.aria-level]=\"hx()\" class=\"emptyState-content-heading\">{{ heading() }}</div>\n\t\t\t\t}\n\t\t\t\t@if (description()) {\n\t\t\t\t\t@if (isStringPortalContent(description())) {\n\t\t\t\t\t\t<p class=\"emptyState-content-description\">\n\t\t\t\t\t\t\t<ng-container *luPortal=\"description()\" />\n\t\t\t\t\t\t</p>\n\t\t\t\t\t} @else {\n\t\t\t\t\t\t<div class=\"emptyState-content-description\">\n\t\t\t\t\t\t\t<ng-container *luPortal=\"description()\" />\n\t\t\t\t\t\t</div>\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t<div class=\"emptyState-actions\">\n\t\t\t\t\t<ng-content />\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t\t@if (illustration()) {\n\t\t\t<div class=\"emptyState-illustration\"><ng-container *luPortal=\"illustration()\" /></div>\n\t\t}\n\t</div>\n</section>\n","import { BubbleIllustration } from '@lucca-front/ng/bubble-illustration';\n\n/**\n * Available EmptyState Types\n */\n\nexport const EMPTY_STATE_HX = [1, 2, 3, 4, 5, 6] as const;\nexport type Hx = (typeof EMPTY_STATE_HX)[number];\n\nexport const EMPTY_STATE_HX_STYLE = [1, 2] as const;\nexport type HxStyle = (typeof EMPTY_STATE_HX_STYLE)[number];\n\nexport const ICON_TO_ILLUSTRATION: Record<string, BubbleIllustration> = {\n\tBanknote: 'banknote',\n\tBell: 'bell',\n\tBulb: 'bulb',\n\tCalendar: 'calendar',\n\tChat: 'chat',\n\tClock: 'clock',\n\tCoffee: 'coffee',\n\tCreditCard: 'paymentCards',\n\tFolder: 'folder',\n\tGift: 'gift',\n\tGraduate: 'graduate',\n\tIDCard: 'polaroid',\n\tLock: 'lock',\n\tMail: 'mail',\n\tMegaphone: 'megaphone',\n\tPaint: 'paint',\n\tPaper: 'invoice',\n\tParty: 'party',\n\tPicture: 'picture',\n\tPoc: 'banknote',\n\tRocket: 'rocket',\n\tSearch: 'magnifyingGlass',\n\tTemperature: 'temperature',\n\tThumb: 'thumbUp',\n\tWarning: 'warning',\n};\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation, booleanAttribute, computed, input, numberAttribute } from '@angular/core';\nimport { BubbleIllustration, BubbleIllustrationComponent } from '@lucca-front/ng/bubble-illustration';\nimport { Palette, PortalContent, PortalDirective } from '@lucca-front/ng/core';\nimport { Hx, ICON_TO_ILLUSTRATION } from '../empty-state.type';\n\n@Component({\n\tselector: 'lu-empty-state-section',\n\timports: [PortalDirective, BubbleIllustrationComponent],\n\ttemplateUrl: './empty-state-section.component.html',\n\tstyleUrl: './empty-state-section.component.scss',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tencapsulation: ViewEncapsulation.None,\n})\nexport class EmptyStateSectionComponent {\n\t/** @deprecated use illustration and action */\n\treadonly icon = input<string | null>(null);\n\treadonly actionIllustration = computed(() => this.action() || this.icon()?.includes('Action.svg'));\n\n\treadonly illustration = input<BubbleIllustration | string | null>(null);\n\treadonly action = input(false, { transform: booleanAttribute });\n\n\treadonly iconOrIllustration = computed(() => {\n\t\tconst icon = this.icon();\n\t\tif (icon) {\n\t\t\tif (icon.includes('Success')) {\n\t\t\t\treturn 'thumbUp';\n\t\t\t}\n\t\t\tif (icon.includes('Error')) {\n\t\t\t\treturn 'error';\n\t\t\t}\n\t\t\tconst iconName = icon.split('/').pop()?.replace('.svg', '').replace('ActionError', '').replace('ActionSuccess', '').replace('Action', '').replace('icon', '') ?? '';\n\n\t\t\treturn ICON_TO_ILLUSTRATION[iconName];\n\t\t}\n\n\t\treturn this.illustration();\n\t});\n\n\t/**\n\t * Which palette should be used for the empty state section.\n\t * Defaults to none (inherits parent palette)\n\t */\n\treadonly palette = input<Palette>('none');\n\n\treadonly center = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * The title of the empty state section\n\t */\n\treadonly heading = input<string>();\n\n\t/**\n\t * The description of the empty state section\n\t */\n\treadonly description = input<PortalContent>();\n\n\t/**\n\t * Define the aria level of the title\n\t */\n\treadonly hx = input(3, { transform: numberAttribute as (value: Hx | `${Hx}`) => Hx });\n\n\treadonly emptyStateClasses = computed(() => ({ [`palette-${this.palette()}`]: !!this.palette() }));\n\n\tpublic isStringPortalContent(message: PortalContent): message is string {\n\t\treturn typeof message === 'string';\n\t}\n}\n","<section class=\"emptyState\" [class.mod-center]=\"center()\" [attr.role]=\"heading() ? null : 'presentation'\">\n\t<div class=\"emptyState-container\">\n\t\t<div class=\"emptyState-content\">\n\t\t\t@if (iconOrIllustration()) {\n\t\t\t\t<div class=\"emptyState-content-icon\">\n\t\t\t\t\t<lu-bubble-illustration [action]=\"actionIllustration()\" [illustration]=\"iconOrIllustration()\" size=\"L\" [palette]=\"palette()\" />\n\t\t\t\t</div>\n\t\t\t}\n\t\t\t<div class=\"emptyState-content-text\">\n\t\t\t\t@if (heading()) {\n\t\t\t\t\t<div role=\"heading\" [attr.aria-level]=\"hx()\" class=\"emptyState-content-heading\">{{ heading() }}</div>\n\t\t\t\t}\n\t\t\t\t@if (description()) {\n\t\t\t\t\t@if (isStringPortalContent(description())) {\n\t\t\t\t\t\t<p class=\"emptyState-content-description\">\n\t\t\t\t\t\t\t<ng-container *luPortal=\"description()\" />\n\t\t\t\t\t\t</p>\n\t\t\t\t\t} @else {\n\t\t\t\t\t\t<div class=\"emptyState-content-description\">\n\t\t\t\t\t\t\t<ng-container *luPortal=\"description()\" />\n\t\t\t\t\t\t</div>\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t<div class=\"emptyState-actions\">\n\t\t\t\t\t<ng-content />\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</section>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;MAWa,0BAA0B,CAAA;AATvC,IAAA,WAAA,GAAA;QAUU,IAAA,CAAA,GAAG,GAAG,KAAK,CAAgB,IAAI;gFAAC;QAChC,IAAA,CAAA,GAAG,GAAG,KAAK,CAAgB,EAAE;gFAAC;AACvC,IAAA;8GAHY,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA1B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,0BAA0B,0XCXvC,2FACA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA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AA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;2FAM1C,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBARtC,SAAS;AACC,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,wBAAwB,EAAA,OAAA,EACzB,CAAC,eAAe,EAAE,2BAA2B,CAAC,EAAA,eAAA,EAGtC,uBAAuB,CAAC,MAAM,EAAA,aAAA,EAChC,iBAAiB,CAAC,IAAI,EAAA,QAAA,EAAA,+qCAAA,EAAA,MAAA,EAAA,CAAA,0iLAAA,CAAA,EAAA;;;AEXtC;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"lucca-front-ng-empty-state.mjs","sources":["../../../packages/ng/empty-state/empty-state-page-illustration/empty-state-page-illustration.component.ts","../../../packages/ng/empty-state/empty-state-page-illustration/empty-state-page-illustration.component.html","../../../packages/ng/empty-state/empty-state-page/empty-state-page.component.ts","../../../packages/ng/empty-state/empty-state-page/empty-state-page.component.html","../../../packages/ng/empty-state/empty-state.type.ts","../../../packages/ng/empty-state/empty-state-section/empty-state-section.component.ts","../../../packages/ng/empty-state/empty-state-section/empty-state-section.component.html","../../../packages/ng/empty-state/lucca-front-ng-empty-state.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, input, ViewEncapsulation } from '@angular/core';\n\n@Component({\n\tselector: 'lu-empty-state-page-illustration',\n\ttemplateUrl: './empty-state-page-illustration.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\tclass: 'pr-u-displayFlex',\n\t},\n})\nexport class EmptyStatePageIllustration {\n\treadonly src = input<string | null>(null);\n\treadonly alt = input<string | null>('');\n}\n","<img class=\"emptyState-illustration-img\" [attr.src]=\"src()\" [attr.alt]=\"alt()\" />\n","import { ChangeDetectionStrategy, Component, computed, inject, input, ViewEncapsulation } from '@angular/core';\nimport { luNumberAttribute, PortalContent, PortalDirective } from '@lucca-front/ng/core';\nimport { LU_MAIN_LAYOUT_INSTANCE } from '@lucca-front/ng/main-layout';\nimport { LuSafeExternalSvgPipe } from '@lucca-front/ng/safe-content';\nimport { Hx, HxStyle } from '../empty-state.type';\n\nconst DEFAULT_TOP_RIGHT_BACKGROUND = 'https://cdn.lucca.fr/lucca-front/assets/empty-states/poplee/bubbles-top-right-01.svg';\nconst DEFAULT_TOP_RIGHT_FOREGROUND = 'https://cdn.lucca.fr/lucca-front/assets/empty-states/generic/coffee-01.svg';\nconst DEFAULT_BOTTOM_LEFT_BACKGROUND = 'https://cdn.lucca.fr/lucca-front/assets/empty-states/poplee/bubbles-bottom-left-01.svg';\nconst DEFAULT_BOTTOM_LEFT_FOREGROUND = 'https://cdn.lucca.fr/lucca-front/assets/empty-states/poplee/core-hr-01.svg';\n\n@Component({\n\tselector: 'lu-empty-state-page',\n\timports: [PortalDirective, LuSafeExternalSvgPipe],\n\ttemplateUrl: './empty-state-page.component.html',\n\tstyleUrl: './empty-state-page.component.scss',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\tclass: 'emptyState-wrapper',\n\t},\n})\nexport class EmptyStatePageComponent {\n\treadonly #mainLayout = inject(LU_MAIN_LAYOUT_INSTANCE, { optional: true });\n\n\t/**\n\t * Icon image (URL)\n\t */\n\treadonly icon = input<string | null>(null);\n\n\t/**\n\t * Top right background image (URL). Defaults to none if unset and nested in a lu-main-layout\n\t * that already displays an illustration in that corner (illustrationStartEnd).\n\t */\n\treadonly topRightBackground = input<string | null>();\n\n\t/**\n\t * Top right foreground image (URL). Defaults to none if unset and nested in a lu-main-layout\n\t * that already displays an illustration in that corner (illustrationStartEnd).\n\t */\n\treadonly topRightForeground = input<string | null>();\n\n\t/**\n\t * Bottom left background image (URL). Defaults to none if unset and nested in a lu-main-layout\n\t * that already displays an illustration in that corner (illustrationEndStart).\n\t */\n\treadonly bottomLeftBackground = input<string | null>();\n\n\t/**\n\t * Bottom left foreground image (URL). Defaults to none if unset and nested in a lu-main-layout\n\t * that already displays an illustration in that corner (illustrationEndStart).\n\t */\n\treadonly bottomLeftForeground = input<string | null>();\n\n\treadonly resolvedTopRightBackground = computed(() => this.#resolveIllustration(this.topRightBackground(), DEFAULT_TOP_RIGHT_BACKGROUND, this.#mainLayout?.bubblesIllustrationStartEnd()));\n\treadonly resolvedBottomLeftBackground = computed(() => this.#resolveIllustration(this.bottomLeftBackground(), DEFAULT_BOTTOM_LEFT_BACKGROUND, this.#mainLayout?.bubblesIllustrationEndStart()));\n\n\treadonly resolvedTopRightForeground = computed(() => this.#resolveIllustration(this.topRightForeground(), DEFAULT_TOP_RIGHT_FOREGROUND, this.#mainLayout?.illustrationStartEndUrl()));\n\treadonly resolvedBottomLeftForeground = computed(() => this.#resolveIllustration(this.bottomLeftForeground(), DEFAULT_BOTTOM_LEFT_FOREGROUND, this.#mainLayout?.illustrationEndStartUrl()));\n\n\t#resolveIllustration(explicitValue: string | null | undefined, defaultValue: string, conflictingMainLayoutIllustration: string | number | null | undefined): string | null {\n\t\tif (explicitValue !== undefined) {\n\t\t\treturn explicitValue;\n\t\t}\n\t\treturn conflictingMainLayoutIllustration ? null : defaultValue;\n\t}\n\n\t/**\n\t * Background color for content (text)\n\t */\n\treadonly contentBackgroundColor = input<string>('var(--pr-t-elevation-surface-default)');\n\n\t/**\n\t * Add content above heading\n\t */\n\treadonly slotTop = input<PortalContent>();\n\n\t/**\n\t * Add illustration beside content\n\t */\n\treadonly illustration = input<PortalContent>();\n\n\treadonly heading = input<string>();\n\n\treadonly description = input<PortalContent>();\n\n\treadonly hx = input(1, { transform: luNumberAttribute<Hx> });\n\n\treadonly hxStyle = input(1, { transform: luNumberAttribute<HxStyle> });\n\n\tpublic isStringPortalContent(message: PortalContent): message is string {\n\t\treturn typeof message === 'string';\n\t}\n}\n","<section\n\tclass=\"emptyState mod-page\"\n\t[class.mod-headingStyleH2]=\"hxStyle() === 2\"\n\t[attr.role]=\"heading() ? null : 'presentation'\"\n\t[style.--components-emptyState-background-color]=\"contentBackgroundColor()\"\n\t[style.--components-emptyState-illustration-background-bottom-left]=\"\n\t\tresolvedBottomLeftBackground() ? `url(${resolvedBottomLeftBackground()})` : 'none'\n\t\"\n\t[style.--components-emptyState-illustration-foreground-bottom-left]=\"\n\t\tresolvedBottomLeftForeground() ? `url(${resolvedBottomLeftForeground()})` : 'none'\n\t\"\n\t[style.--components-emptyState-illustration-background-top-right]=\"\n\t\tresolvedTopRightBackground() ? `url(${resolvedTopRightBackground()})` : 'none'\n\t\"\n\t[style.--components-emptyState-illustration-foreground-top-right]=\"\n\t\tresolvedTopRightForeground() ? `url(${resolvedTopRightForeground()})` : 'none'\n\t\"\n>\n\t<div class=\"emptyState-container\">\n\t\t<div class=\"emptyState-content\">\n\t\t\t@if (icon(); as icon) {\n\t\t\t\t<div class=\"emptyState-content-icon\" aria-hidden=\"true\" [innerHtml]=\"icon | luSafeExternalSvg\"></div>\n\t\t\t}\n\t\t\t<div class=\"emptyState-content-text\">\n\t\t\t\t@if (slotTop(); as slotTop) {\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<ng-container *luPortal=\"slotTop\" />\n\t\t\t\t\t</div>\n\t\t\t\t}\n\t\t\t\t@if (heading()) {\n\t\t\t\t\t<div role=\"heading\" [attr.aria-level]=\"hx()\" class=\"emptyState-content-heading\">{{ heading() }}</div>\n\t\t\t\t}\n\t\t\t\t@if (description(); as description) {\n\t\t\t\t\t@if (isStringPortalContent(description)) {\n\t\t\t\t\t\t<p class=\"emptyState-content-description\">\n\t\t\t\t\t\t\t<ng-container *luPortal=\"description\" />\n\t\t\t\t\t\t</p>\n\t\t\t\t\t} @else {\n\t\t\t\t\t\t<div class=\"emptyState-content-description\">\n\t\t\t\t\t\t\t<ng-container *luPortal=\"description\" />\n\t\t\t\t\t\t</div>\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t<div class=\"emptyState-actions\">\n\t\t\t\t\t<ng-content />\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t\t@if (illustration(); as illustration) {\n\t\t\t<div class=\"emptyState-illustration\"><ng-container *luPortal=\"illustration\" /></div>\n\t\t}\n\t</div>\n</section>\n","import { BubbleIllustration } from '@lucca-front/ng/bubble-illustration';\n\n/**\n * Available EmptyState Types\n */\n\nexport const EMPTY_STATE_HX = [1, 2, 3, 4, 5, 6] as const;\nexport type Hx = (typeof EMPTY_STATE_HX)[number];\n\nexport const EMPTY_STATE_HX_STYLE = [1, 2] as const;\nexport type HxStyle = (typeof EMPTY_STATE_HX_STYLE)[number];\n\nexport const ICON_TO_ILLUSTRATION: Record<string, BubbleIllustration> = {\n\tBanknote: 'banknote',\n\tBell: 'bell',\n\tBulb: 'bulb',\n\tCalendar: 'calendar',\n\tChat: 'chat',\n\tClock: 'clock',\n\tCoffee: 'coffee',\n\tCreditCard: 'paymentCards',\n\tFolder: 'folder',\n\tGift: 'gift',\n\tGraduate: 'graduate',\n\tIDCard: 'polaroid',\n\tLock: 'lock',\n\tMail: 'mail',\n\tMegaphone: 'megaphone',\n\tPaint: 'paint',\n\tPaper: 'invoice',\n\tParty: 'party',\n\tPicture: 'picture',\n\tPoc: 'banknote',\n\tRocket: 'rocket',\n\tSearch: 'magnifyingGlass',\n\tTemperature: 'temperature',\n\tThumb: 'thumbUp',\n\tWarning: 'warning',\n};\n","import { ChangeDetectionStrategy, Component, computed, input, ViewEncapsulation } from '@angular/core';\nimport { BubbleIllustration, BubbleIllustrationComponent } from '@lucca-front/ng/bubble-illustration';\nimport { luBooleanAttribute, luNumberAttribute, Palette, PortalContent, PortalDirective } from '@lucca-front/ng/core';\nimport { Hx, ICON_TO_ILLUSTRATION } from '../empty-state.type';\n\n@Component({\n\tselector: 'lu-empty-state-section',\n\timports: [PortalDirective, BubbleIllustrationComponent],\n\ttemplateUrl: './empty-state-section.component.html',\n\tstyleUrl: './empty-state-section.component.scss',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tencapsulation: ViewEncapsulation.None,\n})\nexport class EmptyStateSectionComponent {\n\t/** @deprecated use illustration and action */\n\treadonly icon = input<string | null>(null);\n\treadonly actionIllustration = computed(() => this.action() || (this.icon()?.includes('Action.svg') ?? false));\n\n\treadonly illustration = input<BubbleIllustration | string | null>(null);\n\treadonly action = input(false, { transform: luBooleanAttribute });\n\n\treadonly iconOrIllustration = computed(() => {\n\t\tconst icon = this.icon();\n\t\tif (icon) {\n\t\t\tif (icon.includes('Success')) {\n\t\t\t\treturn 'thumbUp';\n\t\t\t}\n\t\t\tif (icon.includes('Error')) {\n\t\t\t\treturn 'error';\n\t\t\t}\n\t\t\tconst iconName = icon.split('/').pop()?.replace('.svg', '').replace('ActionError', '').replace('ActionSuccess', '').replace('Action', '').replace('icon', '') ?? '';\n\n\t\t\treturn ICON_TO_ILLUSTRATION[iconName];\n\t\t}\n\n\t\treturn this.illustration();\n\t});\n\n\t/**\n\t * Which palette should be used for the empty state section.\n\t * Defaults to none (inherits parent palette)\n\t */\n\treadonly palette = input<Palette>('none');\n\n\treadonly center = input(false, { transform: luBooleanAttribute });\n\n\t/**\n\t * The title of the empty state section\n\t */\n\treadonly heading = input<string>();\n\n\t/**\n\t * The description of the empty state section\n\t */\n\treadonly description = input<PortalContent>();\n\n\t/**\n\t * Define the aria level of the title\n\t */\n\treadonly hx = input(3, { transform: luNumberAttribute<Hx> });\n\n\treadonly emptyStateClasses = computed(() => ({ [`palette-${this.palette()}`]: !!this.palette() }));\n\n\tpublic isStringPortalContent(message: PortalContent): message is string {\n\t\treturn typeof message === 'string';\n\t}\n}\n","<section class=\"emptyState\" [class.mod-center]=\"center()\" [attr.role]=\"heading() ? null : 'presentation'\">\n\t<div class=\"emptyState-container\">\n\t\t<div class=\"emptyState-content\">\n\t\t\t@if (iconOrIllustration(); as iconOrIllustration) {\n\t\t\t\t<div class=\"emptyState-content-icon\">\n\t\t\t\t\t<lu-bubble-illustration [action]=\"actionIllustration()\" [illustration]=\"iconOrIllustration\" size=\"L\" [palette]=\"palette()\" />\n\t\t\t\t</div>\n\t\t\t}\n\t\t\t<div class=\"emptyState-content-text\">\n\t\t\t\t@if (heading()) {\n\t\t\t\t\t<div role=\"heading\" [attr.aria-level]=\"hx()\" class=\"emptyState-content-heading\">{{ heading() }}</div>\n\t\t\t\t}\n\t\t\t\t@if (description(); as description) {\n\t\t\t\t\t@if (isStringPortalContent(description)) {\n\t\t\t\t\t\t<p class=\"emptyState-content-description\">\n\t\t\t\t\t\t\t<ng-container *luPortal=\"description\" />\n\t\t\t\t\t\t</p>\n\t\t\t\t\t} @else {\n\t\t\t\t\t\t<div class=\"emptyState-content-description\">\n\t\t\t\t\t\t\t<ng-container *luPortal=\"description\" />\n\t\t\t\t\t\t</div>\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t<div class=\"emptyState-actions\">\n\t\t\t\t\t<ng-content />\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</section>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;MAWa,0BAA0B,CAAA;AATvC,IAAA,WAAA,GAAA;QAUU,IAAA,CAAA,GAAG,GAAG,KAAK,CAAgB,IAAI;gFAAC;QAChC,IAAA,CAAA,GAAG,GAAG,KAAK,CAAgB,EAAE;gFAAC;AACvC,IAAA;8GAHY,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA1B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,0BAA0B,0XCXvC,2FACA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA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,EAAA,CAAA,0iLAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDvBW,eAAe,gGAAE,2BAA2B,EAAA,QAAA,EAAA,wBAAA,EAAA,MAAA,EAAA,CAAA,cAAA,EAAA,SAAA,EAAA,MAAA,EAAA,QAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;2FAM1C,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBARtC,SAAS;AACC,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,wBAAwB,EAAA,OAAA,EACzB,CAAC,eAAe,EAAE,2BAA2B,CAAC,EAAA,eAAA,EAGtC,uBAAuB,CAAC,MAAM,EAAA,aAAA,EAChC,iBAAiB,CAAC,IAAI,EAAA,QAAA,EAAA,8sCAAA,EAAA,MAAA,EAAA,CAAA,0iLAAA,CAAA,EAAA;;;AEXtC;;AAEG;;;;"}
|
|
@@ -13,14 +13,14 @@ class ErrorPageComponent {
|
|
|
13
13
|
}, /* @ts-ignore */
|
|
14
14
|
...(ngDevMode ? [{ debugName: "illustrationSrc" }] : /* istanbul ignore next */ []));
|
|
15
15
|
}
|
|
16
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
17
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.
|
|
16
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ErrorPageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
17
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", type: ErrorPageComponent, isStandalone: true, selector: "lu-error-page", inputs: { heading: { classPropertyName: "heading", publicName: "heading", isSignal: true, isRequired: true, transformFunction: null }, illustration: { classPropertyName: "illustration", publicName: "illustration", isSignal: true, isRequired: true, transformFunction: null } }, host: { classAttribute: "errorPage" }, ngImport: i0, template: "<section class=\"errorPage-section\">\n\t<div class=\"errorPage-section-info\">\n\t\t<h1 class=\"errorPage-section-info-title\">{{ heading() }}</h1>\n\t\t<lu-text-flow>\n\t\t\t<ng-content />\n\t\t</lu-text-flow>\n\t</div>\n\t<img class=\"errorPage-section-image\" [src]=\"illustrationSrc()\" width=\"600\" height=\"400\" alt=\"\" />\n</section>\n", styles: ["@layer components{.errorPage{--components-errorPage-background: var(--pr-t-elevation-surface-raised);background-color:var(--components-errorPage-background);block-size:100vb;inline-size:100vi;line-height:1.2;overflow:hidden;display:block}.errorPage-section{block-size:100%;max-inline-size:1200px;padding-block:0;padding-inline:var(--pr-t-spacings-400);inline-size:100vi;margin-block:0;margin-inline:auto;display:flex;justify-content:space-between;align-items:center}.errorPage-section-info{margin-block-start:10vb;max-inline-size:90vi;inline-size:450px;padding-inline-end:var(--pr-t-spacings-400)}.errorPage-section-info-title{font:var(--pr-t-font-heading-1);margin-block-end:var(--pr-t-spacings-50)}.errorPage-section-info-text{font-size:var(--pr-t-font-body-1-fontSize);line-height:var(--pr-t-font-body-1-lineHeight);margin-block-end:var(--pr-t-spacings-150)}.errorPage-section-image{margin-block-start:10vb;inline-size:50%;max-inline-size:580px;min-inline-size:350px;block-size:auto}}@layer mods{@media not all and (min-width:50em){.errorPage{overflow-y:auto}.errorPage .errorPage-section{flex-direction:column;justify-content:center}.errorPage .errorPage-section-info{margin-block:var(--pr-t-spacings-400);order:1;padding:0}.errorPage .errorPage-section-image{margin-block-start:var(--pr-t-spacings-400);order:0}}@media not all and (min-width:30em){.errorPage .errorPage-section-image{inline-size:auto;max-inline-size:100%;min-inline-size:0}}:is(.appLayout,.dialog) .errorPage,:is(.appLayout,.dialog) .errorPage .errorPage-section{block-size:100%;inline-size:100%}:is(.appLayout,.dialog) .errorPage .errorPage-section{gap:var(--pr-t-spacings-400)}:is(.appLayout,.dialog) .errorPage .errorPage-section-image,:is(.appLayout,.dialog) .errorPage .errorPage-section-info{margin-block-start:0;padding:0;max-inline-size:100%}}\n"], dependencies: [{ kind: "component", type: TextFlowComponent, selector: "lu-text-flow" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
18
18
|
}
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ErrorPageComponent, decorators: [{
|
|
20
20
|
type: Component,
|
|
21
21
|
args: [{ selector: 'lu-error-page', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [TextFlowComponent], host: {
|
|
22
22
|
class: 'errorPage',
|
|
23
|
-
}, template: "<section class=\"errorPage-section\">\n\t<div class=\"errorPage-section-info\">\n\t\t<h1 class=\"errorPage-section-info-title\">{{ heading() }}</h1>\n\t\t<lu-text-flow>\n\t\t\t<ng-content />\n\t\t</lu-text-flow>\n\t</div>\n\t<img class=\"errorPage-section-image\" [src]=\"illustrationSrc()\" width=\"600\" height=\"400\" alt=\"\" />\n</section>\n", styles: ["@layer components{.errorPage{--components-errorPage-background: var(--pr-t-elevation-surface-raised);background-color:var(--components-errorPage-background);block-size:
|
|
23
|
+
}, template: "<section class=\"errorPage-section\">\n\t<div class=\"errorPage-section-info\">\n\t\t<h1 class=\"errorPage-section-info-title\">{{ heading() }}</h1>\n\t\t<lu-text-flow>\n\t\t\t<ng-content />\n\t\t</lu-text-flow>\n\t</div>\n\t<img class=\"errorPage-section-image\" [src]=\"illustrationSrc()\" width=\"600\" height=\"400\" alt=\"\" />\n</section>\n", styles: ["@layer components{.errorPage{--components-errorPage-background: var(--pr-t-elevation-surface-raised);background-color:var(--components-errorPage-background);block-size:100vb;inline-size:100vi;line-height:1.2;overflow:hidden;display:block}.errorPage-section{block-size:100%;max-inline-size:1200px;padding-block:0;padding-inline:var(--pr-t-spacings-400);inline-size:100vi;margin-block:0;margin-inline:auto;display:flex;justify-content:space-between;align-items:center}.errorPage-section-info{margin-block-start:10vb;max-inline-size:90vi;inline-size:450px;padding-inline-end:var(--pr-t-spacings-400)}.errorPage-section-info-title{font:var(--pr-t-font-heading-1);margin-block-end:var(--pr-t-spacings-50)}.errorPage-section-info-text{font-size:var(--pr-t-font-body-1-fontSize);line-height:var(--pr-t-font-body-1-lineHeight);margin-block-end:var(--pr-t-spacings-150)}.errorPage-section-image{margin-block-start:10vb;inline-size:50%;max-inline-size:580px;min-inline-size:350px;block-size:auto}}@layer mods{@media not all and (min-width:50em){.errorPage{overflow-y:auto}.errorPage .errorPage-section{flex-direction:column;justify-content:center}.errorPage .errorPage-section-info{margin-block:var(--pr-t-spacings-400);order:1;padding:0}.errorPage .errorPage-section-image{margin-block-start:var(--pr-t-spacings-400);order:0}}@media not all and (min-width:30em){.errorPage .errorPage-section-image{inline-size:auto;max-inline-size:100%;min-inline-size:0}}:is(.appLayout,.dialog) .errorPage,:is(.appLayout,.dialog) .errorPage .errorPage-section{block-size:100%;inline-size:100%}:is(.appLayout,.dialog) .errorPage .errorPage-section{gap:var(--pr-t-spacings-400)}:is(.appLayout,.dialog) .errorPage .errorPage-section-image,:is(.appLayout,.dialog) .errorPage .errorPage-section-info{margin-block-start:0;padding:0;max-inline-size:100%}}\n"] }]
|
|
24
24
|
}], propDecorators: { heading: [{ type: i0.Input, args: [{ isSignal: true, alias: "heading", required: true }] }], illustration: [{ type: i0.Input, args: [{ isSignal: true, alias: "illustration", required: true }] }] } });
|
|
25
25
|
|
|
26
26
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lucca-front-ng-error-page.mjs","sources":["../../../packages/ng/error-page/error-page.component.ts","../../../packages/ng/error-page/error-page.component.html","../../../packages/ng/error-page/error-page.model.ts","../../../packages/ng/error-page/lucca-front-ng-error-page.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, input, ViewEncapsulation } from '@angular/core';\nimport { TextFlowComponent } from '@lucca-front/ng/text-flow';\nimport { ErrorPageIllustration } from './error-page.model';\n\n@Component({\n\tselector: 'lu-error-page',\n\ttemplateUrl: './error-page.component.html',\n\tstyleUrl: './error-page.component.scss',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tencapsulation: ViewEncapsulation.None,\n\timports: [TextFlowComponent],\n\thost: {\n\t\tclass: 'errorPage',\n\t},\n})\nexport class ErrorPageComponent {\n\treadonly heading = input.required<string>();\n\treadonly illustration = input.required<ErrorPageIllustration>();\n\n\treadonly illustrationSrc = computed(() => {\n\t\treturn `https://cdn.lucca.fr/assets/lucca/errors/${this.illustration()}.svg`;\n\t});\n}\n","<section class=\"errorPage-section\">\n\t<div class=\"errorPage-section-info\">\n\t\t<h1 class=\"errorPage-section-info-title\">{{ heading() }}</h1>\n\t\t<lu-text-flow>\n\t\t\t<ng-content />\n\t\t</lu-text-flow>\n\t</div>\n\t<img class=\"errorPage-section-image\" [src]=\"illustrationSrc()\" width=\"600\" height=\"400\" alt=\"\" />\n</section>\n","/**\n * Available ErrorPageComponent Types\n */\n\nexport const ERROR_PAGE_ILLUSTRATION = ['400', '403', '404', '429', '500', 'keyboard', 'lock', 'map'] as const;\nexport type ErrorPageIllustration = (typeof ERROR_PAGE_ILLUSTRATION)[number];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAea,kBAAkB,CAAA;AAX/B,IAAA,WAAA,GAAA;QAYU,IAAA,CAAA,OAAO,GAAG,KAAK,CAAC,QAAQ;oFAAU;QAClC,IAAA,CAAA,YAAY,GAAG,KAAK,CAAC,QAAQ;yFAAyB;AAEtD,QAAA,IAAA,CAAA,eAAe,GAAG,QAAQ,CAAC,MAAK;AACxC,YAAA,OAAO,4CAA4C,IAAI,CAAC,YAAY,EAAE,MAAM;QAC7E,CAAC;4FAAC;AACF,IAAA;8GAPY,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAlB,kBAAkB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,eAAA,EAAA,MAAA,EAAA,EAAA,OAAA,EAAA,EAAA,iBAAA,EAAA,SAAA,EAAA,UAAA,EAAA,SAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,YAAA,EAAA,EAAA,iBAAA,EAAA,cAAA,EAAA,UAAA,EAAA,cAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,cAAA,EAAA,WAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECf/B,4VASA,EAAA,MAAA,EAAA,CAAA,
|
|
1
|
+
{"version":3,"file":"lucca-front-ng-error-page.mjs","sources":["../../../packages/ng/error-page/error-page.component.ts","../../../packages/ng/error-page/error-page.component.html","../../../packages/ng/error-page/error-page.model.ts","../../../packages/ng/error-page/lucca-front-ng-error-page.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, input, ViewEncapsulation } from '@angular/core';\nimport { TextFlowComponent } from '@lucca-front/ng/text-flow';\nimport { ErrorPageIllustration } from './error-page.model';\n\n@Component({\n\tselector: 'lu-error-page',\n\ttemplateUrl: './error-page.component.html',\n\tstyleUrl: './error-page.component.scss',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tencapsulation: ViewEncapsulation.None,\n\timports: [TextFlowComponent],\n\thost: {\n\t\tclass: 'errorPage',\n\t},\n})\nexport class ErrorPageComponent {\n\treadonly heading = input.required<string>();\n\treadonly illustration = input.required<ErrorPageIllustration>();\n\n\treadonly illustrationSrc = computed(() => {\n\t\treturn `https://cdn.lucca.fr/assets/lucca/errors/${this.illustration()}.svg`;\n\t});\n}\n","<section class=\"errorPage-section\">\n\t<div class=\"errorPage-section-info\">\n\t\t<h1 class=\"errorPage-section-info-title\">{{ heading() }}</h1>\n\t\t<lu-text-flow>\n\t\t\t<ng-content />\n\t\t</lu-text-flow>\n\t</div>\n\t<img class=\"errorPage-section-image\" [src]=\"illustrationSrc()\" width=\"600\" height=\"400\" alt=\"\" />\n</section>\n","/**\n * Available ErrorPageComponent Types\n */\n\nexport const ERROR_PAGE_ILLUSTRATION = ['400', '403', '404', '429', '500', 'keyboard', 'lock', 'map'] as const;\nexport type ErrorPageIllustration = (typeof ERROR_PAGE_ILLUSTRATION)[number];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAea,kBAAkB,CAAA;AAX/B,IAAA,WAAA,GAAA;QAYU,IAAA,CAAA,OAAO,GAAG,KAAK,CAAC,QAAQ;oFAAU;QAClC,IAAA,CAAA,YAAY,GAAG,KAAK,CAAC,QAAQ;yFAAyB;AAEtD,QAAA,IAAA,CAAA,eAAe,GAAG,QAAQ,CAAC,MAAK;AACxC,YAAA,OAAO,4CAA4C,IAAI,CAAC,YAAY,EAAE,MAAM;QAC7E,CAAC;4FAAC;AACF,IAAA;8GAPY,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAlB,kBAAkB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,eAAA,EAAA,MAAA,EAAA,EAAA,OAAA,EAAA,EAAA,iBAAA,EAAA,SAAA,EAAA,UAAA,EAAA,SAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,YAAA,EAAA,EAAA,iBAAA,EAAA,cAAA,EAAA,UAAA,EAAA,cAAA,EAAA,QAAA,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