@lucca-front/ng 21.1.0-split.0 → 21.1.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/fesm2022/lucca-front-ng-api.mjs +13 -45
- package/fesm2022/lucca-front-ng-api.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-app-layout.mjs +2 -2
- package/fesm2022/lucca-front-ng-app-layout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-box.mjs +1 -1
- package/fesm2022/lucca-front-ng-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-breadcrumbs.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-bubble-icon.mjs +2 -2
- package/fesm2022/lucca-front-ng-callout.mjs +38 -12
- package/fesm2022/lucca-front-ng-callout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-chip.mjs +32 -2
- package/fesm2022/lucca-front-ng-chip.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-clear.mjs +17 -2
- package/fesm2022/lucca-front-ng-clear.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-comment.mjs +20 -18
- package/fesm2022/lucca-front-ng-comment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-container.mjs +5 -7
- package/fesm2022/lucca-front-ng-container.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs +0 -2
- package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-user.mjs +2 -2
- package/fesm2022/lucca-front-ng-core-select-user.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select.mjs +12 -19
- package/fesm2022/lucca-front-ng-core-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-data-table.mjs +5 -5
- package/fesm2022/lucca-front-ng-data-table.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date.mjs +5 -37
- package/fesm2022/lucca-front-ng-date.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date2.mjs +66 -28
- package/fesm2022/lucca-front-ng-date2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-department.mjs +2 -18
- package/fesm2022/lucca-front-ng-department.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-dialog.mjs +13 -4
- package/fesm2022/lucca-front-ng-dialog.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-divider.mjs +10 -1
- package/fesm2022/lucca-front-ng-divider.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-dropdown.mjs +9 -8
- package/fesm2022/lucca-front-ng-dropdown.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-empty-state.mjs +17 -1
- package/fesm2022/lucca-front-ng-empty-state.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-establishment.mjs +2 -66
- package/fesm2022/lucca-front-ng-establishment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-fancy-box.mjs +12 -0
- package/fesm2022/lucca-front-ng-fancy-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-file-upload.mjs +1 -1
- package/fesm2022/lucca-front-ng-file-upload.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-filter-pills.mjs +3 -3
- package/fesm2022/lucca-front-ng-filter-pills.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-footer.mjs +3 -0
- package/fesm2022/lucca-front-ng-footer.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-field.mjs +79 -11
- package/fesm2022/lucca-front-ng-form-field.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-header.mjs +3 -0
- package/fesm2022/lucca-front-ng-form-header.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form.mjs +19 -5
- package/fesm2022/lucca-front-ng-form.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs +10 -9
- 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 +15 -1
- package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-html.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-markdown.mjs +26 -1
- package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-markdown.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-plain-text.mjs +15 -1
- package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-plain-text.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs +51 -34
- package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms.mjs +94 -42
- package/fesm2022/lucca-front-ng-forms.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-gauge.mjs +28 -5
- package/fesm2022/lucca-front-ng-gauge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-grid.mjs +3 -3
- package/fesm2022/lucca-front-ng-grid.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-highlight-data.mjs +31 -26
- package/fesm2022/lucca-front-ng-highlight-data.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-horizontal-navigation.mjs +3 -0
- package/fesm2022/lucca-front-ng-horizontal-navigation.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-index-table.mjs +3 -3
- package/fesm2022/lucca-front-ng-index-table.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-inline-message.mjs +12 -0
- package/fesm2022/lucca-front-ng-inline-message.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-link.mjs +15 -0
- package/fesm2022/lucca-front-ng-link.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-listbox.mjs +17 -5
- package/fesm2022/lucca-front-ng-listbox.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-listing.mjs +36 -7
- package/fesm2022/lucca-front-ng-listing.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-loading.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-main-layout.mjs +8 -2
- package/fesm2022/lucca-front-ng-main-layout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-mobile-push.mjs +18 -10
- package/fesm2022/lucca-front-ng-mobile-push.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-modal.mjs +29 -18
- package/fesm2022/lucca-front-ng-modal.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-multi-select.mjs +16 -12
- package/fesm2022/lucca-front-ng-multi-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-new-badge.mjs +3 -0
- package/fesm2022/lucca-front-ng-new-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-numeric-badge.mjs +10 -1
- package/fesm2022/lucca-front-ng-numeric-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-option.mjs +203 -315
- package/fesm2022/lucca-front-ng-option.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-page-header.mjs +11 -2
- package/fesm2022/lucca-front-ng-page-header.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-pagination.mjs +24 -0
- package/fesm2022/lucca-front-ng-pagination.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-plg-push.mjs +7 -1
- package/fesm2022/lucca-front-ng-plg-push.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popover.mjs +1 -33
- package/fesm2022/lucca-front-ng-popover.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popover2.mjs +22 -18
- package/fesm2022/lucca-front-ng-popover2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-progress-bar.mjs +12 -5
- package/fesm2022/lucca-front-ng-progress-bar.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-read-more.mjs +16 -1
- package/fesm2022/lucca-front-ng-read-more.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-resource-card.mjs +6 -6
- package/fesm2022/lucca-front-ng-resource-card.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-scroll-box.mjs +5 -2
- package/fesm2022/lucca-front-ng-scroll-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-segmented-control-tabs.mjs +9 -3
- package/fesm2022/lucca-front-ng-segmented-control-tabs.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-segmented-control.mjs +16 -1
- package/fesm2022/lucca-front-ng-segmented-control.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-simple-select.mjs +20 -5
- package/fesm2022/lucca-front-ng-simple-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-skeleton.mjs +67 -16
- package/fesm2022/lucca-front-ng-skeleton.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-software-icon.mjs +62 -0
- package/fesm2022/lucca-front-ng-software-icon.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-sortable-list.mjs +24 -0
- package/fesm2022/lucca-front-ng-sortable-list.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-status-badge.mjs +12 -0
- package/fesm2022/lucca-front-ng-status-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tag.mjs +6 -0
- package/fesm2022/lucca-front-ng-tag.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-text-flow.mjs +20 -0
- package/fesm2022/lucca-front-ng-text-flow.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-time.mjs +55 -16
- package/fesm2022/lucca-front-ng-time.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tooltip.mjs +18 -22
- package/fesm2022/lucca-front-ng-tooltip.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user.mjs +9 -25
- package/fesm2022/lucca-front-ng-user.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-vertical-navigation.mjs +30 -0
- package/fesm2022/lucca-front-ng-vertical-navigation.mjs.map +1 -1
- package/package.json +12 -4
- package/schematics/action-icon/index.js +4 -5
- package/schematics/action-icon/migration.js +3 -4
- package/schematics/action-icon/migration.spec.js +8 -8
- package/schematics/alignment-utilities/index.js +3 -4
- package/schematics/alignment-utilities/migration.spec.js +8 -8
- package/schematics/cdn-urls/index.js +3 -4
- package/schematics/cdn-urls/migration.js +8 -10
- package/schematics/cdn-urls/migration.spec.js +8 -8
- package/schematics/class-prefix/index.js +3 -4
- package/schematics/class-prefix/migration.spec.js +8 -8
- package/schematics/collection.json +10 -0
- package/schematics/color-text/index.js +3 -4
- package/schematics/color-text/migration.spec.js +8 -8
- package/schematics/component-path/index.js +3 -4
- package/schematics/component-path/migration.spec.js +8 -8
- package/schematics/empty-state-title/index.js +5 -7
- package/schematics/empty-state-title/migration.spec.js +5 -5
- package/schematics/lib/html-ast.js +11 -3
- package/schematics/lib/index.js +29 -0
- package/schematics/lib/schematic.utils.js +5 -0
- package/schematics/lu-button/index.js +3 -4
- package/schematics/lu-button/migration.js +5 -11
- package/schematics/lu-button/migration.spec.js +5 -5
- package/schematics/lu-container/index.js +23 -0
- package/schematics/lu-container/migration.js +116 -0
- package/schematics/lu-container/migration.spec.js +23 -0
- package/schematics/lu-container/schema.json +23 -0
- package/schematics/lu-icon/index.js +3 -4
- package/schematics/lu-icon/migration.js +8 -14
- package/schematics/lu-icon/migration.spec.js +5 -5
- package/schematics/lu-loading/index.js +23 -0
- package/schematics/lu-loading/migration.js +136 -0
- package/schematics/lu-loading/migration.spec.js +23 -0
- package/schematics/lu-loading/schema.json +28 -0
- package/schematics/lu-select/index.js +3 -4
- package/schematics/lu-select/migration.js +18 -21
- package/schematics/lu-select/migration.spec.js +5 -5
- package/schematics/lu-select/util.js +17 -19
- package/schematics/lu-text-input/index.js +3 -4
- package/schematics/lu-text-input/migration.js +22 -28
- package/schematics/lu-text-input/migration.spec.js +5 -5
- package/schematics/new-icons/index.js +5 -6
- package/schematics/new-icons/migration.js +11 -16
- package/schematics/new-icons/migration.spec.js +8 -8
- package/schematics/ng-add/file-content.js +6 -8
- package/schematics/ng-add/index.js +5 -5
- package/schematics/ng-add/tasks.js +22 -17
- package/schematics/palettes/index.js +3 -4
- package/schematics/palettes/migration.spec.js +8 -8
- package/schematics/tokens-radius/index.js +3 -4
- package/schematics/tokens-radius/migration.spec.js +8 -8
- package/schematics/tokens-spacing/index.js +3 -4
- package/schematics/tokens-spacing/migration.spec.js +8 -8
- package/schematics/tokens-typo/index.js +3 -4
- package/schematics/tokens-typo/migration.spec.js +8 -8
- package/src/components/cdk/_overlay.scss +5 -0
- package/src/definitions/option/_option-item.scss +1 -0
- package/types/lucca-front-ng-api.d.ts +1 -19
- package/types/lucca-front-ng-breadcrumbs.d.ts +1 -1
- package/types/lucca-front-ng-callout.d.ts +32 -2
- package/types/lucca-front-ng-chip.d.ts +32 -2
- package/types/lucca-front-ng-clear.d.ts +20 -5
- package/types/lucca-front-ng-comment.d.ts +19 -11
- package/types/lucca-front-ng-container.d.ts +4 -4
- package/types/lucca-front-ng-core-select.d.ts +2 -1
- package/types/lucca-front-ng-date.d.ts +1 -19
- package/types/lucca-front-ng-date2.d.ts +4 -1
- package/types/lucca-front-ng-department.d.ts +1 -10
- package/types/lucca-front-ng-dialog.d.ts +6 -3
- package/types/lucca-front-ng-divider.d.ts +10 -0
- package/types/lucca-front-ng-empty-state.d.ts +16 -0
- package/types/lucca-front-ng-establishment.d.ts +1 -37
- package/types/lucca-front-ng-fancy-box.d.ts +12 -0
- package/types/lucca-front-ng-footer.d.ts +3 -0
- package/types/lucca-front-ng-form-field.d.ts +36 -5
- package/types/lucca-front-ng-form-header.d.ts +3 -0
- package/types/lucca-front-ng-form.d.ts +9 -5
- package/types/lucca-front-ng-forms-phone-number-input.d.ts +1 -0
- package/types/lucca-front-ng-forms-rich-text-input-formatters-html.d.ts +7 -1
- package/types/lucca-front-ng-forms-rich-text-input-formatters-markdown.d.ts +11 -1
- package/types/lucca-front-ng-forms-rich-text-input-formatters-plain-text.d.ts +7 -1
- package/types/lucca-front-ng-forms-rich-text-input.d.ts +2 -0
- package/types/lucca-front-ng-forms.d.ts +19 -6
- package/types/lucca-front-ng-gauge.d.ts +25 -0
- package/types/lucca-front-ng-grid.d.ts +1 -1
- package/types/lucca-front-ng-highlight-data.d.ts +36 -15
- package/types/lucca-front-ng-horizontal-navigation.d.ts +3 -0
- package/types/lucca-front-ng-inline-message.d.ts +12 -0
- package/types/lucca-front-ng-link.d.ts +15 -0
- package/types/lucca-front-ng-listbox.d.ts +16 -4
- package/types/lucca-front-ng-listing.d.ts +33 -2
- package/types/lucca-front-ng-main-layout.d.ts +6 -0
- package/types/lucca-front-ng-mobile-push.d.ts +7 -0
- package/types/lucca-front-ng-modal.d.ts +3 -1
- package/types/lucca-front-ng-new-badge.d.ts +3 -0
- package/types/lucca-front-ng-numeric-badge.d.ts +9 -0
- package/types/lucca-front-ng-option.d.ts +78 -141
- package/types/lucca-front-ng-page-header.d.ts +9 -0
- package/types/lucca-front-ng-pagination.d.ts +24 -0
- package/types/lucca-front-ng-plg-push.d.ts +6 -0
- package/types/lucca-front-ng-popover.d.ts +1 -20
- package/types/lucca-front-ng-popover2.d.ts +7 -4
- package/types/lucca-front-ng-progress-bar.d.ts +9 -0
- package/types/lucca-front-ng-read-more.d.ts +16 -1
- package/types/lucca-front-ng-resource-card.d.ts +6 -0
- package/types/lucca-front-ng-scroll-box.d.ts +4 -1
- package/types/lucca-front-ng-segmented-control-tabs.d.ts +7 -1
- package/types/lucca-front-ng-segmented-control.d.ts +16 -1
- package/types/lucca-front-ng-skeleton.d.ts +61 -6
- package/types/lucca-front-ng-software-icon.d.ts +19 -0
- package/types/lucca-front-ng-sortable-list.d.ts +24 -0
- package/types/lucca-front-ng-status-badge.d.ts +12 -0
- package/types/lucca-front-ng-tag.d.ts +6 -0
- package/types/lucca-front-ng-text-flow.d.ts +8 -0
- package/types/lucca-front-ng-time.d.ts +16 -10
- package/types/lucca-front-ng-tooltip.d.ts +5 -13
- package/types/lucca-front-ng-user.d.ts +2 -11
- package/types/lucca-front-ng-vertical-navigation.d.ts +30 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lucca-front-ng-dropdown.mjs","sources":["../../../packages/ng/dropdown/dropdown-action/dropdown-action.component.ts","../../../packages/ng/dropdown/dropdown-divider/dropdown-divider.component.ts","../../../packages/ng/dropdown/dropdown-group/dropdown-group.component.ts","../../../packages/ng/dropdown/dropdown-group/dropdown-group.component.html","../../../packages/ng/dropdown/dropdown-item/dropdown-item.component.ts","../../../packages/ng/dropdown/dropdown-menu/dropdown-menu.component.ts","../../../packages/ng/dropdown/dropdown-menu/dropdown-menu.component.html","../../../packages/ng/dropdown/item/dropdown-item.model.ts","../../../packages/ng/dropdown/item/dropdown-item.directive.ts","../../../packages/ng/dropdown/item/dropdown-item.module.ts","../../../packages/ng/dropdown/panel/dropdown-panel.component.ts","../../../packages/ng/dropdown/panel/dropdown-panel.component.html","../../../packages/ng/dropdown/panel/dropdown-panel.module.ts","../../../packages/ng/dropdown/trigger/dropdown-trigger.directive.ts","../../../packages/ng/dropdown/trigger/dropdown-trigger.module.ts","../../../packages/ng/dropdown/dropdown.module.ts","../../../packages/ng/dropdown/lucca-front-ng-dropdown.ts"],"sourcesContent":["import { booleanAttribute, ChangeDetectionStrategy, Component, inject, input, ViewEncapsulation } from '@angular/core';\nimport { PopoverContentComponent } from '@lucca-front/ng/popover2';\n\n@Component({\n\tselector: '[lu-dropdown-action]',\n\ttemplate: '<ng-content />',\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\tclass: 'dropdown-list-option-action',\n\t\t'[class.is-disabled]': 'disabled()',\n\t\t'[class.mod-critical]': 'critical()',\n\t\t'(click)': 'closePanel()',\n\t},\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DropdownActionComponent {\n\t#popoverContentRef = inject(PopoverContentComponent, { optional: true });\n\n\treadonly disabled = input(false, { transform: booleanAttribute });\n\treadonly critical = input(false, { transform: booleanAttribute });\n\n\tclosePanel() {\n\t\tif (this.#popoverContentRef) {\n\t\t\tthis.#popoverContentRef.close();\n\t\t}\n\t}\n}\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\nimport { DividerComponent } from '@lucca-front/ng/divider';\n\n@Component({\n\tselector: 'lu-dropdown-divider',\n\ttemplate: '<lu-divider class=\"dropdown-list-option-divider\" />',\n\tencapsulation: ViewEncapsulation.None,\n\timports: [DividerComponent],\n\thost: {\n\t\tclass: 'dropdown-list-option',\n\t\trole: 'listitem',\n\t\t'[attr.aria-hidden]': 'true',\n\t},\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DropdownDividerComponent {}\n","import { ChangeDetectionStrategy, Component, input, ViewEncapsulation } from '@angular/core';\n\n@Component({\n\tselector: 'lu-dropdown-group',\n\ttemplateUrl: './dropdown-group.component.html',\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\tclass: 'dropdown-list-option',\n\t\trole: 'listitem',\n\t},\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DropdownGroupComponent {\n\treadonly label = input<string | null>(null);\n}\n","{{ label() }}\n<ul class=\"dropdown-list\">\n\t<ng-content />\n</ul>\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n\tselector: 'lu-dropdown-item',\n\ttemplate: '<ng-content />',\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\tclass: 'dropdown-list-option',\n\t\trole: 'listitem',\n\t},\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DropdownItemComponent {}\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n\tselector: 'lu-dropdown-menu',\n\ttemplateUrl: './dropdown-menu.component.html',\n\tstyleUrl: './dropdown-menu.component.scss',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tencapsulation: ViewEncapsulation.None,\n})\nexport class DropdownMenuComponent {}\n","<div class=\"dropdown\">\n\t<ul class=\"dropdown-list\">\n\t\t<ng-content />\n\t</ul>\n</div>\n","import { Observable } from 'rxjs';\n\nexport interface ILuDropdownItem {\n\tonSelect: Observable<boolean>;\n\tfocus(): void;\n}\nexport abstract class ALuDropdownItem implements ILuDropdownItem {\n\tabstract onSelect: Observable<boolean>;\n\tabstract focus(): void;\n}\n","import { Directive, ElementRef, EventEmitter, forwardRef, HostListener, OnDestroy, Output } from '@angular/core';\nimport { ALuDropdownItem } from './dropdown-item.model';\n\n@Directive({\n\tselector: '[luDropdownItem]',\n\texportAs: 'LuDropdownItem',\n\tproviders: [\n\t\t{\n\t\t\tprovide: ALuDropdownItem,\n\t\t\tuseExisting: forwardRef(() => LuDropdownItemDirective),\n\t\t\tmulti: true,\n\t\t},\n\t],\n})\nexport class LuDropdownItemDirective extends ALuDropdownItem implements OnDestroy {\n\t// arreter les ONxxxx\n\t// eslint-disable-next-line @angular-eslint/no-output-on-prefix\n\t@Output() onSelect = new EventEmitter<boolean>();\n\tconstructor(private _eltRef: ElementRef<HTMLElement>) {\n\t\tsuper();\n\t}\n\t@HostListener('click', ['$event']) onClick(_event: Event) {\n\t\tthis.onSelect.emit(true);\n\t}\n\t@HostListener('keydown.enter', ['$event']) onEnter(_event: Event) {\n\t\tthis.onSelect.emit(true);\n\t}\n\tfocus() {\n\t\tthis._eltRef.nativeElement.focus();\n\t}\n\tngOnDestroy() {\n\t\tthis.onSelect.complete();\n\t}\n}\n","import { NgModule } from '@angular/core';\nimport { LuDropdownItemDirective } from './dropdown-item.directive';\n\n/**\n * @deprecated use `LuDropdownItemDirective` instead\n */\n@NgModule({\n\timports: [LuDropdownItemDirective],\n\texports: [LuDropdownItemDirective],\n})\nexport class LuDropdownItemModule {}\n","import {\n\tAfterViewInit,\n\tChangeDetectionStrategy,\n\tComponent,\n\tContentChildren,\n\tEventEmitter,\n\tinject,\n\tInput,\n\tOnDestroy,\n\tOutput,\n\tQueryList,\n\tTemplateRef,\n\tViewChild,\n\tViewEncapsulation,\n} from '@angular/core';\nimport { ALuPopoverPanel, ILuPopoverPanel, luTransformPopover } from '@lucca-front/ng/popover';\nimport { PopoverContentComponent } from '@lucca-front/ng/popover2';\nimport { merge, Observable, Subscription } from 'rxjs';\nimport { debounceTime, delay, map, share, startWith, switchMap } from 'rxjs/operators';\nimport { ALuDropdownItem, ILuDropdownItem } from '../item/index';\n\n/**\n * @deprecated prefer the new menu approach: https://prisme.lucca.io/94310e217/p/557682-dropdown\n */\n@Component({\n\tselector: 'lu-dropdown',\n\ttemplateUrl: './dropdown-panel.component.html',\n\tstyleUrl: './dropdown-panel.component.scss',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tanimations: [luTransformPopover],\n\texportAs: 'LuDropdownPanel',\n\tencapsulation: ViewEncapsulation.None,\n})\nexport class LuDropdownPanelComponent extends ALuPopoverPanel implements ILuPopoverPanel, OnDestroy, AfterViewInit {\n\t#popoverContentRef = inject(PopoverContentComponent, { optional: true });\n\t/**\n\t * This method takes classes set on the host lu-popover element and applies them on the\n\t * popover template that displays in the overlay container. Otherwise, it's difficult\n\t * to style the containing popover from outside the component.\n\t * @param classes list of class names\n\t */\n\t@Input('panel-classes')\n\tset inputPanelClasses(classes: string) {\n\t\tthis.panelClasses = classes;\n\t}\n\t/**\n\t * This method takes classes set on the host lu-popover element and applies them on the\n\t * popover template that displays in the overlay container. Otherwise, it's difficult\n\t * to style the containing popover from outside the component.\n\t * @param classes list of class names\n\t */\n\t@Input('content-classes')\n\tset inputContentClasses(classes: string) {\n\t\tthis.contentClasses = classes;\n\t}\n\n\t/** Event emitted when the popover is closed. */\n\t// eslint-disable-next-line @angular-eslint/no-output-native\n\t@Output() override close = new EventEmitter<void>();\n\t@Output() override open = new EventEmitter<void>();\n\t@Output() override hovered = new EventEmitter<boolean>();\n\n\t@ViewChild(TemplateRef, { static: true })\n\tset vcTemplateRef(tr: TemplateRef<unknown>) {\n\t\tthis.templateRef = tr;\n\t}\n\n\tprotected _items: ILuDropdownItem[] = [];\n\tprotected _itemsQL: QueryList<ILuDropdownItem>;\n\t@ContentChildren(ALuDropdownItem, { descendants: true }) set optionsQL(ql: QueryList<ILuDropdownItem>) {\n\t\tthis._itemsQL = ql;\n\t}\n\n\tprivate _subs = new Subscription();\n\n\tconstructor() {\n\t\tsuper();\n\t}\n\tprotected initItems() {\n\t\tconst items$ = this._itemsQL.changes.pipe(\n\t\t\tstartWith(this._itemsQL),\n\t\t\tmap<QueryList<ILuDropdownItem>, ILuDropdownItem[]>((ql) => ql.toArray()),\n\t\t\tdelay(0),\n\t\t\tshare(),\n\t\t);\n\t\tconst itemsSub = items$.subscribe((i) => (this._items = i || []));\n\t\tthis._subs.add(itemsSub);\n\n\t\tconst singleFlow$: Observable<boolean> = items$.pipe(\n\t\t\tswitchMap((items) => merge(...items.map((i) => i.onSelect))),\n\t\t\tdebounceTime(1),\n\t\t);\n\n\t\tconst itemSelectSub = singleFlow$.subscribe(() => this._emitCloseEvent());\n\t\tthis._subs.add(itemSelectSub);\n\t}\n\n\tngAfterViewInit() {\n\t\tthis.initItems();\n\t}\n\n\tngOnDestroy() {\n\t\tthis.onClose();\n\t\tthis.close.complete();\n\t\tthis._subs.unsubscribe();\n\t}\n\n\t_emitCloseEvent(): void {\n\t\tthis.close.emit();\n\t\tif (this.#popoverContentRef) {\n\t\t\tthis.#popoverContentRef.close();\n\t\t}\n\t}\n\n\t_emitOpenEvent(): void {\n\t\tthis.open.emit();\n\t}\n\n\t_emitHoveredEvent(hovered: boolean): void {\n\t\tthis.hovered.emit(hovered);\n\t}\n\n\toverride onOpen() {\n\t\tthis.focusFirstItem();\n\t}\n\n\tprivate focusFirstItem() {\n\t\tconst firstItem = this._items[0];\n\t\tif (firstItem) {\n\t\t\tfirstItem.focus();\n\t\t}\n\t}\n}\n","<ng-template>\n\t<div\n\t\tclass=\"lu-dropdown-panel lu-popover-panel\"\n\t\t[class]=\"panelClassesMap\"\n\t\t(keydown)=\"_handleKeydown($event)\"\n\t\t(click)=\"onClick()\"\n\t\t(mouseover)=\"onMouseOver()\"\n\t\t(mouseleave)=\"onMouseLeave()\"\n\t\t(mousedown)=\"onMouseDown()\"\n\t\t[attr.id]=\"panelId\"\n\t\t[attr.aria-labelledby]=\"triggerId\"\n\t\t[@transformPopover]=\"'enter'\"\n\t>\n\t\t<div class=\"lu-popover-content dropdown\" [class]=\"contentClassesMap\">\n\t\t\t<ul class=\"dropdown-list\">\n\t\t\t\t<ng-content />\n\t\t\t</ul>\n\t\t</div>\n\t</div>\n</ng-template>\n","import { NgModule } from '@angular/core';\nimport { LuDropdownPanelComponent } from './dropdown-panel.component';\n\n/**\n * @deprecated use `LuDropdownPanelComponent` instead\n */\n@NgModule({\n\timports: [LuDropdownPanelComponent],\n\texports: [LuDropdownPanelComponent],\n})\nexport class LuDropdownPanelModule {}\n","import { ConnectionPositionPair, HorizontalConnectionPos, OriginConnectionPosition, OverlayConnectionPosition, VerticalConnectionPos } from '@angular/cdk/overlay';\nimport { DestroyRef, Directive, inject, Input, OnInit, TemplateRef, Type } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { ALuPopoverPanel, LuPopoverAlignment } from '@lucca-front/ng/popover';\nimport { PopoverDirective } from '@lucca-front/ng/popover2';\n\n@Directive({\n\tselector: '[luDropdown]',\n\texportAs: 'LuDropdownTrigger',\n\thost: {\n\t\t'[attr.aria-expanded]': 'popover2.opened()',\n\t},\n\thostDirectives: [\n\t\t{\n\t\t\tdirective: PopoverDirective,\n\t\t\tinputs: ['luPopoverPosition: luDropdownPosition', 'luPopoverDisabled: luDropdownDisabled', 'customPositions'],\n\t\t\toutputs: ['luPopoverOpened: luDropdownOnOpen', 'luPopoverClosed: luDropdownOnClose'],\n\t\t},\n\t],\n})\nexport class LuDropdownTriggerDirective<_T> implements OnInit {\n\tprotected popover2 = inject(PopoverDirective);\n\t#destroyRef = inject(DestroyRef);\n\t// Keeping generic type here just for the sake of backwards compatibility\n\t/** References the popover instance that the trigger is associated with. */\n\t@Input('luDropdown') set inputPanel(p: TemplateRef<unknown> | Type<unknown> | ALuPopoverPanel) {\n\t\tif (p instanceof ALuPopoverPanel) {\n\t\t\tthis.popover2.content = p.templateRef;\n\t\t\tp.close.pipe(takeUntilDestroyed(this.#destroyRef)).subscribe(() => this.popover2.close());\n\t\t} else {\n\t\t\tthis.popover2.content = p;\n\t\t}\n\t}\n\n\tconstructor() {\n\t\t// We're using constructor here to setup default values before inputs are processed\n\t\t// This way, the value will be changed if any input changes it but we can still have separate default values\n\t\tthis.popover2.luPopoverPosition = 'below';\n\t\tthis.popover2.luPopoverNoCloseButton = true;\n\t}\n\n\t/** how the panel will be aligned with the target, allowed values: top, bottom, left, right\n\t * @deprecated prefer using customPositions instead\n\t * */\n\tluDropdownAlignment: LuPopoverAlignment = 'right';\n\n\tngOnInit(): void {\n\t\tif (!this.popover2.customPositions || this.popover2.customPositions.length === 0) {\n\t\t\tthis.popover2.customPositions = this.legacyPositionBuilder();\n\t\t}\n\t}\n\n\t/**********************\n\t *\n\t * LEGACY STUFF TO HANDLE EXISTING POSITIONS\n\t *\n\t ***********************/\n\tprivate legacyPositionBuilder(): ConnectionPositionPair[] {\n\t\tconst connectionPosition: OriginConnectionPosition = {\n\t\t\toriginX: 'start',\n\t\t\toriginY: 'top',\n\t\t};\n\n\t\t// Position\n\t\tconst position = this.popover2.luPopoverPosition;\n\t\tif (position === 'above') {\n\t\t\tconnectionPosition.originY = 'top';\n\t\t} else if (position === 'below') {\n\t\t\tconnectionPosition.originY = 'bottom';\n\t\t} else if (position === 'before') {\n\t\t\tconnectionPosition.originX = 'start';\n\t\t} else if (position === 'after') {\n\t\t\tconnectionPosition.originX = 'end';\n\t\t}\n\n\t\t// Alignment\n\t\tconst alignment = this.luDropdownAlignment;\n\t\tif (position === 'below' || position === 'above') {\n\t\t\tif (alignment === 'left') {\n\t\t\t\tconnectionPosition.originX = 'start';\n\t\t\t} else if (alignment === 'right') {\n\t\t\t\tconnectionPosition.originX = 'end';\n\t\t\t} else {\n\t\t\t\tconnectionPosition.originX = 'center';\n\t\t\t}\n\t\t} else {\n\t\t\tif (alignment === 'top') {\n\t\t\t\tconnectionPosition.originY = 'top';\n\t\t\t} else if (alignment === 'bottom') {\n\t\t\t\tconnectionPosition.originY = 'bottom';\n\t\t\t} else {\n\t\t\t\tconnectionPosition.originY = 'center';\n\t\t\t}\n\t\t}\n\n\t\tconst overlayPosition: OverlayConnectionPosition = {\n\t\t\toverlayX: 'start',\n\t\t\toverlayY: 'top',\n\t\t};\n\n\t\tif (position === 'above' || position === 'below') {\n\t\t\toverlayPosition.overlayX = connectionPosition.originX;\n\t\t\toverlayPosition.overlayY = position === 'above' ? 'bottom' : 'top';\n\t\t} else {\n\t\t\toverlayPosition.overlayX = position === 'before' ? 'end' : 'start';\n\t\t\toverlayPosition.overlayY = connectionPosition.originY;\n\t\t}\n\n\t\treturn [\n\t\t\t{\n\t\t\t\toriginX: connectionPosition.originX,\n\t\t\t\toriginY: connectionPosition.originY,\n\t\t\t\toverlayX: overlayPosition.overlayX,\n\t\t\t\toverlayY: overlayPosition.overlayY,\n\t\t\t},\n\t\t\t{\n\t\t\t\toriginX: connectionPosition.originX,\n\t\t\t\toriginY: this.invertVerticalPos(connectionPosition.originY),\n\t\t\t\toverlayX: overlayPosition.overlayX,\n\t\t\t\toverlayY: this.invertVerticalPos(overlayPosition.overlayY),\n\t\t\t},\n\t\t\t{\n\t\t\t\toriginX: this.invertHorizontalPos(connectionPosition.originX),\n\t\t\t\toriginY: connectionPosition.originY,\n\t\t\t\toverlayX: this.invertHorizontalPos(overlayPosition.overlayX),\n\t\t\t\toverlayY: overlayPosition.overlayY,\n\t\t\t},\n\t\t\t{\n\t\t\t\toriginX: this.invertHorizontalPos(connectionPosition.originX),\n\t\t\t\toriginY: this.invertVerticalPos(connectionPosition.originY),\n\t\t\t\toverlayX: this.invertHorizontalPos(overlayPosition.overlayX),\n\t\t\t\toverlayY: this.invertVerticalPos(overlayPosition.overlayY),\n\t\t\t},\n\t\t];\n\t}\n\n\tprivate invertVerticalPos(y: VerticalConnectionPos): VerticalConnectionPos {\n\t\tif (y === 'top') {\n\t\t\treturn 'bottom';\n\t\t} else if (y === 'bottom') {\n\t\t\treturn 'top';\n\t\t}\n\t\treturn y;\n\t}\n\n\tprivate invertHorizontalPos(x: HorizontalConnectionPos): HorizontalConnectionPos {\n\t\tif (x === 'end') {\n\t\t\treturn 'start';\n\t\t} else if (x === 'start') {\n\t\t\treturn 'end';\n\t\t}\n\t\treturn x;\n\t}\n}\n","import { NgModule } from '@angular/core';\nimport { LuDropdownTriggerDirective } from './dropdown-trigger.directive';\n\n/**\n * @deprecated use `LuDropdownTriggerDirective` instead\n */\n@NgModule({\n\timports: [LuDropdownTriggerDirective],\n\texports: [LuDropdownTriggerDirective],\n})\nexport class LuDropdownTriggerModule {}\n","import { NgModule } from '@angular/core';\nimport { LuDropdownItemModule } from './item/index';\nimport { LuDropdownPanelModule } from './panel/index';\nimport { LuDropdownTriggerModule } from './trigger/index';\n\n/**\n * @deprecated use `LuDropdownTriggerDirective, LuDropdownPanelComponent, LuDropdownItemDirective` instead\n */\n@NgModule({\n\timports: [LuDropdownTriggerModule, LuDropdownPanelModule, LuDropdownItemModule],\n\texports: [LuDropdownTriggerModule, LuDropdownPanelModule, LuDropdownItemModule],\n})\nexport class LuDropdownModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;MAea,uBAAuB,CAAA;AAZpC,IAAA,WAAA,GAAA;QAaC,IAAA,CAAA,kBAAkB,GAAG,MAAM,CAAC,uBAAuB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;QAE/D,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,KAAK,qDAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;QACxD,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,KAAK,qDAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AAOjE,IAAA;AAVA,IAAA,kBAAkB;IAKlB,UAAU,GAAA;AACT,QAAA,IAAI,IAAI,CAAC,kBAAkB,EAAE;AAC5B,YAAA,IAAI,CAAC,kBAAkB,CAAC,KAAK,EAAE;QAChC;IACD;8GAVY,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA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.ts","../../../packages/ng/dropdown/dropdown-divider/dropdown-divider.component.ts","../../../packages/ng/dropdown/dropdown-group/dropdown-group.component.ts","../../../packages/ng/dropdown/dropdown-group/dropdown-group.component.html","../../../packages/ng/dropdown/dropdown-item/dropdown-item.component.ts","../../../packages/ng/dropdown/dropdown-menu/dropdown-menu.component.ts","../../../packages/ng/dropdown/dropdown-menu/dropdown-menu.component.html","../../../packages/ng/dropdown/item/dropdown-item.model.ts","../../../packages/ng/dropdown/item/dropdown-item.directive.ts","../../../packages/ng/dropdown/item/dropdown-item.module.ts","../../../packages/ng/dropdown/panel/dropdown-panel.component.ts","../../../packages/ng/dropdown/panel/dropdown-panel.component.html","../../../packages/ng/dropdown/panel/dropdown-panel.module.ts","../../../packages/ng/dropdown/trigger/dropdown-trigger.directive.ts","../../../packages/ng/dropdown/trigger/dropdown-trigger.module.ts","../../../packages/ng/dropdown/dropdown.module.ts","../../../packages/ng/dropdown/lucca-front-ng-dropdown.ts"],"sourcesContent":["import { booleanAttribute, ChangeDetectionStrategy, Component, inject, input, ViewEncapsulation } from '@angular/core';\nimport { PopoverContentComponent } from '@lucca-front/ng/popover2';\n\n@Component({\n\tselector: '[lu-dropdown-action]',\n\ttemplate: '<ng-content />',\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\tclass: 'dropdown-list-option-action',\n\t\t'[class.is-disabled]': 'disabled()',\n\t\t'[class.mod-critical]': 'critical()',\n\t\t'(click)': 'closePanel()',\n\t},\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DropdownActionComponent {\n\t#popoverContentRef = inject(PopoverContentComponent, { optional: true });\n\n\treadonly disabled = input(false, { transform: booleanAttribute });\n\treadonly critical = input(false, { transform: booleanAttribute });\n\n\tclosePanel() {\n\t\tif (this.#popoverContentRef) {\n\t\t\tthis.#popoverContentRef.close();\n\t\t}\n\t}\n}\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\nimport { DividerComponent } from '@lucca-front/ng/divider';\n\n@Component({\n\tselector: 'lu-dropdown-divider',\n\ttemplate: '<lu-divider class=\"dropdown-list-option-divider\" />',\n\tencapsulation: ViewEncapsulation.None,\n\timports: [DividerComponent],\n\thost: {\n\t\tclass: 'dropdown-list-option',\n\t\trole: 'listitem',\n\t\t'[attr.aria-hidden]': 'true',\n\t},\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DropdownDividerComponent {}\n","import { ChangeDetectionStrategy, Component, input, ViewEncapsulation } from '@angular/core';\n\n@Component({\n\tselector: 'lu-dropdown-group',\n\ttemplateUrl: './dropdown-group.component.html',\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\tclass: 'dropdown-list-option',\n\t\trole: 'listitem',\n\t},\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DropdownGroupComponent {\n\treadonly label = input<string | null>(null);\n}\n","{{ label() }}\n<ul class=\"dropdown-list\">\n\t<ng-content />\n</ul>\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n\tselector: 'lu-dropdown-item',\n\ttemplate: '<ng-content />',\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\tclass: 'dropdown-list-option',\n\t\trole: 'listitem',\n\t},\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DropdownItemComponent {}\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n\tselector: 'lu-dropdown-menu',\n\ttemplateUrl: './dropdown-menu.component.html',\n\tstyleUrl: './dropdown-menu.component.scss',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tencapsulation: ViewEncapsulation.None,\n})\nexport class DropdownMenuComponent {}\n","<div class=\"dropdown\">\n\t<ul class=\"dropdown-list\">\n\t\t<ng-content />\n\t</ul>\n</div>\n","import { Observable } from 'rxjs';\n\nexport interface ILuDropdownItem {\n\tonSelect: Observable<boolean>;\n\tfocus(): void;\n}\nexport abstract class ALuDropdownItem implements ILuDropdownItem {\n\tabstract onSelect: Observable<boolean>;\n\tabstract focus(): void;\n}\n","import { Directive, ElementRef, EventEmitter, forwardRef, HostListener, OnDestroy, Output } from '@angular/core';\nimport { ALuDropdownItem } from './dropdown-item.model';\n\n@Directive({\n\tselector: '[luDropdownItem]',\n\texportAs: 'LuDropdownItem',\n\tproviders: [\n\t\t{\n\t\t\tprovide: ALuDropdownItem,\n\t\t\tuseExisting: forwardRef(() => LuDropdownItemDirective),\n\t\t\tmulti: true,\n\t\t},\n\t],\n})\nexport class LuDropdownItemDirective extends ALuDropdownItem implements OnDestroy {\n\t// arreter les ONxxxx\n\t// eslint-disable-next-line @angular-eslint/no-output-on-prefix\n\t@Output() onSelect = new EventEmitter<boolean>();\n\tconstructor(private _eltRef: ElementRef<HTMLElement>) {\n\t\tsuper();\n\t}\n\t@HostListener('click', ['$event']) onClick(_event: Event) {\n\t\tthis.onSelect.emit(true);\n\t}\n\t@HostListener('keydown.enter', ['$event']) onEnter(_event: Event) {\n\t\tthis.onSelect.emit(true);\n\t}\n\tfocus() {\n\t\tthis._eltRef.nativeElement.focus();\n\t}\n\tngOnDestroy() {\n\t\tthis.onSelect.complete();\n\t}\n}\n","import { NgModule } from '@angular/core';\nimport { LuDropdownItemDirective } from './dropdown-item.directive';\n\n/**\n * @deprecated use `LuDropdownItemDirective` instead\n */\n@NgModule({\n\timports: [LuDropdownItemDirective],\n\texports: [LuDropdownItemDirective],\n})\nexport class LuDropdownItemModule {}\n","import {\n\tAfterViewInit,\n\tChangeDetectionStrategy,\n\tComponent,\n\tContentChildren,\n\tEventEmitter,\n\tinject,\n\tInput,\n\tOnDestroy,\n\tOutput,\n\tQueryList,\n\tTemplateRef,\n\tViewChild,\n\tViewEncapsulation,\n} from '@angular/core';\nimport { ALuPopoverPanel, ILuPopoverPanel, luTransformPopover } from '@lucca-front/ng/popover';\nimport { PopoverContentComponent } from '@lucca-front/ng/popover2';\nimport { merge, Observable, Subscription } from 'rxjs';\nimport { debounceTime, delay, map, share, startWith, switchMap } from 'rxjs/operators';\nimport { ALuDropdownItem, ILuDropdownItem } from '../item/index';\n\n/**\n * @deprecated prefer the new menu approach: https://prisme.lucca.io/94310e217/p/557682-dropdown\n */\n@Component({\n\tselector: 'lu-dropdown',\n\ttemplateUrl: './dropdown-panel.component.html',\n\tstyleUrl: './dropdown-panel.component.scss',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tanimations: [luTransformPopover],\n\texportAs: 'LuDropdownPanel',\n\tencapsulation: ViewEncapsulation.None,\n})\nexport class LuDropdownPanelComponent extends ALuPopoverPanel implements ILuPopoverPanel, OnDestroy, AfterViewInit {\n\t#popoverContentRef = inject(PopoverContentComponent, { optional: true });\n\t/**\n\t * This method takes classes set on the host lu-popover element and applies them on the\n\t * popover template that displays in the overlay container. Otherwise, it's difficult\n\t * to style the containing popover from outside the component.\n\t * @param classes list of class names\n\t */\n\t@Input('panel-classes')\n\tset inputPanelClasses(classes: string) {\n\t\tthis.panelClasses = classes;\n\t}\n\t/**\n\t * This method takes classes set on the host lu-popover element and applies them on the\n\t * popover template that displays in the overlay container. Otherwise, it's difficult\n\t * to style the containing popover from outside the component.\n\t * @param classes list of class names\n\t */\n\t@Input('content-classes')\n\tset inputContentClasses(classes: string) {\n\t\tthis.contentClasses = classes;\n\t}\n\n\t/** Event emitted when the popover is closed. */\n\t// eslint-disable-next-line @angular-eslint/no-output-native\n\t@Output() override close = new EventEmitter<void>();\n\t@Output() override open = new EventEmitter<void>();\n\t@Output() override hovered = new EventEmitter<boolean>();\n\n\t@ViewChild(TemplateRef, { static: true })\n\tset vcTemplateRef(tr: TemplateRef<unknown>) {\n\t\tthis.templateRef = tr;\n\t}\n\n\tprotected _items: ILuDropdownItem[] = [];\n\tprotected _itemsQL: QueryList<ILuDropdownItem>;\n\t@ContentChildren(ALuDropdownItem, { descendants: true }) set optionsQL(ql: QueryList<ILuDropdownItem>) {\n\t\tthis._itemsQL = ql;\n\t}\n\n\tprivate _subs = new Subscription();\n\n\tconstructor() {\n\t\tsuper();\n\t}\n\tprotected initItems() {\n\t\tconst items$ = this._itemsQL.changes.pipe(\n\t\t\tstartWith(this._itemsQL),\n\t\t\tmap<QueryList<ILuDropdownItem>, ILuDropdownItem[]>((ql) => ql.toArray()),\n\t\t\tdelay(0),\n\t\t\tshare(),\n\t\t);\n\t\tconst itemsSub = items$.subscribe((i) => (this._items = i || []));\n\t\tthis._subs.add(itemsSub);\n\n\t\tconst singleFlow$: Observable<boolean> = items$.pipe(\n\t\t\tswitchMap((items) => merge(...items.map((i) => i.onSelect))),\n\t\t\tdebounceTime(1),\n\t\t);\n\n\t\tconst itemSelectSub = singleFlow$.subscribe(() => this._emitCloseEvent());\n\t\tthis._subs.add(itemSelectSub);\n\t}\n\n\tngAfterViewInit() {\n\t\tthis.initItems();\n\t}\n\n\tngOnDestroy() {\n\t\tthis.onClose();\n\t\tthis.close.complete();\n\t\tthis._subs.unsubscribe();\n\t}\n\n\t_emitCloseEvent(): void {\n\t\tthis.close.emit();\n\t\tif (this.#popoverContentRef) {\n\t\t\tthis.#popoverContentRef.close();\n\t\t}\n\t}\n\n\t_emitOpenEvent(): void {\n\t\tthis.open.emit();\n\t}\n\n\t_emitHoveredEvent(hovered: boolean): void {\n\t\tthis.hovered.emit(hovered);\n\t}\n\n\toverride onOpen() {\n\t\tthis.focusFirstItem();\n\t}\n\n\tprivate focusFirstItem() {\n\t\tconst firstItem = this._items[0];\n\t\tif (firstItem) {\n\t\t\tfirstItem.focus();\n\t\t}\n\t}\n}\n","<ng-template>\n\t<div\n\t\tclass=\"lu-dropdown-panel lu-popover-panel\"\n\t\t[class]=\"panelClassesMap\"\n\t\t(keydown)=\"_handleKeydown($event)\"\n\t\t(click)=\"onClick()\"\n\t\t(mouseover)=\"onMouseOver()\"\n\t\t(mouseleave)=\"onMouseLeave()\"\n\t\t(mousedown)=\"onMouseDown()\"\n\t\t[attr.id]=\"panelId\"\n\t\t[attr.aria-labelledby]=\"triggerId\"\n\t\t[@transformPopover]=\"'enter'\"\n\t>\n\t\t<div class=\"lu-popover-content dropdown\" [class]=\"contentClassesMap\">\n\t\t\t<ul class=\"dropdown-list\">\n\t\t\t\t<ng-content />\n\t\t\t</ul>\n\t\t</div>\n\t</div>\n</ng-template>\n","import { NgModule } from '@angular/core';\nimport { LuDropdownPanelComponent } from './dropdown-panel.component';\n\n/**\n * @deprecated use `LuDropdownPanelComponent` instead\n */\n@NgModule({\n\timports: [LuDropdownPanelComponent],\n\texports: [LuDropdownPanelComponent],\n})\nexport class LuDropdownPanelModule {}\n","import { ConnectionPositionPair, HorizontalConnectionPos, OriginConnectionPosition, OverlayConnectionPosition, VerticalConnectionPos } from '@angular/cdk/overlay';\nimport { DestroyRef, Directive, inject, Input, OnInit, TemplateRef, Type } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { isNil } from '@lucca-front/ng/core';\nimport { ALuPopoverPanel, LuPopoverAlignment } from '@lucca-front/ng/popover';\nimport { PopoverDirective } from '@lucca-front/ng/popover2';\n\n@Directive({\n\tselector: '[luDropdown]',\n\texportAs: 'LuDropdownTrigger',\n\thost: {\n\t\t'[attr.aria-expanded]': 'popover2.opened()',\n\t},\n\thostDirectives: [\n\t\t{\n\t\t\tdirective: PopoverDirective,\n\t\t\tinputs: ['luPopoverPosition: luDropdownPosition', 'luPopoverDisabled: luDropdownDisabled', 'customPositions'],\n\t\t\toutputs: ['luPopoverOpened: luDropdownOnOpen', 'luPopoverClosed: luDropdownOnClose'],\n\t\t},\n\t],\n})\nexport class LuDropdownTriggerDirective<_T> implements OnInit {\n\tprotected popover2 = inject(PopoverDirective);\n\t#destroyRef = inject(DestroyRef);\n\t// Keeping generic type here just for the sake of backwards compatibility\n\t/** References the popover instance that the trigger is associated with. */\n\t@Input('luDropdown') set inputPanel(p: TemplateRef<unknown> | Type<unknown> | ALuPopoverPanel) {\n\t\tif (p instanceof ALuPopoverPanel) {\n\t\t\tthis.popover2.content = p.templateRef;\n\t\t\tp.close.pipe(takeUntilDestroyed(this.#destroyRef)).subscribe(() => this.popover2.close());\n\t\t} else {\n\t\t\tthis.popover2.content = p;\n\t\t}\n\t}\n\n\tconstructor() {\n\t\tthis.popover2.luPopoverNoCloseButton = true;\n\t}\n\n\t/** how the panel will be aligned with the target, allowed values: top, bottom, left, right\n\t * @deprecated prefer using customPositions instead\n\t * */\n\tluDropdownAlignment: LuPopoverAlignment = 'right';\n\n\tngOnInit(): void {\n\t\tif (isNil(this.popover2.luPopoverPosition())) {\n\t\t\tthis.popover2.luPopoverPositionRef.set('below');\n\t\t}\n\t\tif (!this.popover2.customPositions || this.popover2.customPositions.length === 0) {\n\t\t\tthis.popover2.customPositions = this.legacyPositionBuilder();\n\t\t}\n\t}\n\n\t/**********************\n\t *\n\t * LEGACY STUFF TO HANDLE EXISTING POSITIONS\n\t *\n\t ***********************/\n\tprivate legacyPositionBuilder(): ConnectionPositionPair[] {\n\t\tconst connectionPosition: OriginConnectionPosition = {\n\t\t\toriginX: 'start',\n\t\t\toriginY: 'top',\n\t\t};\n\n\t\t// Position\n\t\tconst position = this.popover2.luPopoverPositionRef();\n\t\tif (position === 'above') {\n\t\t\tconnectionPosition.originY = 'top';\n\t\t} else if (position === 'below') {\n\t\t\tconnectionPosition.originY = 'bottom';\n\t\t} else if (position === 'before') {\n\t\t\tconnectionPosition.originX = 'start';\n\t\t} else if (position === 'after') {\n\t\t\tconnectionPosition.originX = 'end';\n\t\t}\n\n\t\t// Alignment\n\t\tconst alignment = this.luDropdownAlignment;\n\t\tif (position === 'below' || position === 'above') {\n\t\t\tif (alignment === 'left') {\n\t\t\t\tconnectionPosition.originX = 'start';\n\t\t\t} else if (alignment === 'right') {\n\t\t\t\tconnectionPosition.originX = 'end';\n\t\t\t} else {\n\t\t\t\tconnectionPosition.originX = 'center';\n\t\t\t}\n\t\t} else {\n\t\t\tif (alignment === 'top') {\n\t\t\t\tconnectionPosition.originY = 'top';\n\t\t\t} else if (alignment === 'bottom') {\n\t\t\t\tconnectionPosition.originY = 'bottom';\n\t\t\t} else {\n\t\t\t\tconnectionPosition.originY = 'center';\n\t\t\t}\n\t\t}\n\n\t\tconst overlayPosition: OverlayConnectionPosition = {\n\t\t\toverlayX: 'start',\n\t\t\toverlayY: 'top',\n\t\t};\n\n\t\tif (position === 'above' || position === 'below') {\n\t\t\toverlayPosition.overlayX = connectionPosition.originX;\n\t\t\toverlayPosition.overlayY = position === 'above' ? 'bottom' : 'top';\n\t\t} else {\n\t\t\toverlayPosition.overlayX = position === 'before' ? 'end' : 'start';\n\t\t\toverlayPosition.overlayY = connectionPosition.originY;\n\t\t}\n\n\t\treturn [\n\t\t\t{\n\t\t\t\toriginX: connectionPosition.originX,\n\t\t\t\toriginY: connectionPosition.originY,\n\t\t\t\toverlayX: overlayPosition.overlayX,\n\t\t\t\toverlayY: overlayPosition.overlayY,\n\t\t\t},\n\t\t\t{\n\t\t\t\toriginX: connectionPosition.originX,\n\t\t\t\toriginY: this.invertVerticalPos(connectionPosition.originY),\n\t\t\t\toverlayX: overlayPosition.overlayX,\n\t\t\t\toverlayY: this.invertVerticalPos(overlayPosition.overlayY),\n\t\t\t},\n\t\t\t{\n\t\t\t\toriginX: this.invertHorizontalPos(connectionPosition.originX),\n\t\t\t\toriginY: connectionPosition.originY,\n\t\t\t\toverlayX: this.invertHorizontalPos(overlayPosition.overlayX),\n\t\t\t\toverlayY: overlayPosition.overlayY,\n\t\t\t},\n\t\t\t{\n\t\t\t\toriginX: this.invertHorizontalPos(connectionPosition.originX),\n\t\t\t\toriginY: this.invertVerticalPos(connectionPosition.originY),\n\t\t\t\toverlayX: this.invertHorizontalPos(overlayPosition.overlayX),\n\t\t\t\toverlayY: this.invertVerticalPos(overlayPosition.overlayY),\n\t\t\t},\n\t\t];\n\t}\n\n\tprivate invertVerticalPos(y: VerticalConnectionPos): VerticalConnectionPos {\n\t\tif (y === 'top') {\n\t\t\treturn 'bottom';\n\t\t} else if (y === 'bottom') {\n\t\t\treturn 'top';\n\t\t}\n\t\treturn y;\n\t}\n\n\tprivate invertHorizontalPos(x: HorizontalConnectionPos): HorizontalConnectionPos {\n\t\tif (x === 'end') {\n\t\t\treturn 'start';\n\t\t} else if (x === 'start') {\n\t\t\treturn 'end';\n\t\t}\n\t\treturn x;\n\t}\n}\n","import { NgModule } from '@angular/core';\nimport { LuDropdownTriggerDirective } from './dropdown-trigger.directive';\n\n/**\n * @deprecated use `LuDropdownTriggerDirective` instead\n */\n@NgModule({\n\timports: [LuDropdownTriggerDirective],\n\texports: [LuDropdownTriggerDirective],\n})\nexport class LuDropdownTriggerModule {}\n","import { NgModule } from '@angular/core';\nimport { LuDropdownItemModule } from './item/index';\nimport { LuDropdownPanelModule } from './panel/index';\nimport { LuDropdownTriggerModule } from './trigger/index';\n\n/**\n * @deprecated use `LuDropdownTriggerDirective, LuDropdownPanelComponent, LuDropdownItemDirective` instead\n */\n@NgModule({\n\timports: [LuDropdownTriggerModule, LuDropdownPanelModule, LuDropdownItemModule],\n\texports: [LuDropdownTriggerModule, LuDropdownPanelModule, LuDropdownItemModule],\n})\nexport class LuDropdownModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;MAea,uBAAuB,CAAA;AAZpC,IAAA,WAAA,GAAA;QAaC,IAAA,CAAA,kBAAkB,GAAG,MAAM,CAAC,uBAAuB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;QAE/D,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,KAAK,qDAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;QACxD,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,KAAK,qDAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AAOjE,IAAA;AAVA,IAAA,kBAAkB;IAKlB,UAAU,GAAA;AACT,QAAA,IAAI,IAAI,CAAC,kBAAkB,EAAE;AAC5B,YAAA,IAAI,CAAC,kBAAkB,CAAC,KAAK,EAAE;QA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oB,CAAC;AAC/E,oBAAA,OAAO,EAAE,CAAC,uBAAuB,EAAE,qBAAqB,EAAE,oBAAoB,CAAC;AAC/E,iBAAA;;;ACXD;;AAEG;;;;"}
|
|
@@ -30,6 +30,9 @@ class EmptyStatePageComponent {
|
|
|
30
30
|
* Background color for content (text)
|
|
31
31
|
*/
|
|
32
32
|
this.contentBackgroundColor = input('var(--pr-t-elevation-surface-default)', ...(ngDevMode ? [{ debugName: "contentBackgroundColor" }] : []));
|
|
33
|
+
/**
|
|
34
|
+
* Add content above heading
|
|
35
|
+
*/
|
|
33
36
|
this.slotTop = input(...(ngDevMode ? [undefined, { debugName: "slotTop" }] : []));
|
|
34
37
|
this.heading = input(...(ngDevMode ? [undefined, { debugName: "heading" }] : []));
|
|
35
38
|
this.description = input(...(ngDevMode ? [undefined, { debugName: "description" }] : []));
|
|
@@ -92,10 +95,23 @@ class EmptyStateSectionComponent {
|
|
|
92
95
|
}
|
|
93
96
|
return this.illustration();
|
|
94
97
|
}, ...(ngDevMode ? [{ debugName: "iconOrIllustration" }] : []));
|
|
98
|
+
/**
|
|
99
|
+
* Which palette should be used for the empty state section.
|
|
100
|
+
* Defaults to none (inherits parent palette)
|
|
101
|
+
*/
|
|
95
102
|
this.palette = input('none', ...(ngDevMode ? [{ debugName: "palette" }] : []));
|
|
96
103
|
this.center = input(false, { ...(ngDevMode ? { debugName: "center" } : {}), transform: booleanAttribute });
|
|
104
|
+
/**
|
|
105
|
+
* The title of the empty state section
|
|
106
|
+
*/
|
|
97
107
|
this.heading = input(...(ngDevMode ? [undefined, { debugName: "heading" }] : []));
|
|
108
|
+
/**
|
|
109
|
+
* The description of the empty state section
|
|
110
|
+
*/
|
|
98
111
|
this.description = input(...(ngDevMode ? [undefined, { debugName: "description" }] : []));
|
|
112
|
+
/**
|
|
113
|
+
* Define the aria level of the title
|
|
114
|
+
*/
|
|
99
115
|
this.hx = input(3, { ...(ngDevMode ? { debugName: "hx" } : {}), transform: numberAttribute });
|
|
100
116
|
this.emptyStateClasses = computed(() => ({ [`palette-${this.palette()}`]: !!this.palette() }), ...(ngDevMode ? [{ debugName: "emptyStateClasses" }] : []));
|
|
101
117
|
}
|
|
@@ -104,7 +120,7 @@ class EmptyStateSectionComponent {
|
|
|
104
120
|
}
|
|
105
121
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: EmptyStateSectionComponent, decorators: [{
|
|
106
122
|
type: Component,
|
|
107
|
-
args: [{ selector: 'lu-empty-state-section', imports: [
|
|
123
|
+
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()\" 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<p class=\"emptyState-content-description\">\n\t\t\t\t\t\t<ng-container *luPortal=\"description()\" />\n\t\t\t\t\t</p>\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(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) );--background-left-01: url(https://cdn.lucca.fr/lucca-front/assets/empty-states/poplee/bubbles-bottom-left-01.svg);--foreground-left-01: url(https://cdn.lucca.fr/lucca-front/assets/empty-states/poplee/core-hr-01.svg);--background-right-01: url(https://cdn.lucca.fr/lucca-front/assets/empty-states/poplee/bubbles-top-right-01.svg);--foreground-right-01: url(https://cdn.lucca.fr/lucca-front/assets/empty-states/generic/coffee-01.svg);--components-emptyState-illustration-background-bottom-left: var(--background-left-01);--components-emptyState-illustration-foreground-bottom-left: var(--foreground-left-01);--components-emptyState-illustration-background-top-right: var(--background-right-01);--components-emptyState-illustration-foreground-top-right: var(--foreground-right-01);display:flex;flex-direction:column;flex-grow:1;padding:var(--pr-t-spacings-200)}.emptyState-container{align-items:center;display:flex;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)}.emptyState-content{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)}.emptyState-content-heading{font:var(--pr-t-font-heading-3);margin-block-end:var(--pr-t-spacings-50)}.emptyState-content-description{margin:0}.emptyState-actions{display:flex;flex-wrap:wrap;align-items:center;margin-block-start:var(--pr-t-spacings-200);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);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}.emptyState.mod-page .emptyState-content-heading{font:var(--pr-t-font-heading-1)}@media not all and (min-width:30em){.emptyState.mod-page .emptyState-content-heading{font:var(--pr-t-font-heading-2)}}@media not all and (min-width:30em){.emptyState.mod-page .emptyState-actions .button{flex-basis:100%}}.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-maxWidth: none;--components-emptyState-container-left: auto}}@layer base{lu-empty-state-section{inline-size:100%}}\n"] }]
|
|
108
124
|
}], 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 }] }] } });
|
|
109
125
|
|
|
110
126
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lucca-front-ng-empty-state.mjs","sources":["../../../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-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, numberAttribute, ViewEncapsulation } from '@angular/core';\nimport { PortalContent, PortalDirective } from '@lucca-front/ng/core';\nimport { LuSafeExternalSvgPipe } from '@lucca-front/ng/safe-content';\nimport { Hx } from '../empty-state.model';\n\n@Component({\n\tselector: 'lu-empty-state-page',\n\timports: [LuSafeExternalSvgPipe, PortalDirective],\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\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\treadonly slotTop = 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","<section\n\tclass=\"emptyState mod-page\"\n\t[attr.role]=\"heading() ? null : 'presentation'\"\n\t[style.--components-emptyState-background-color]=\"contentBackgroundColor()\"\n\tstyle.--components-emptyState-illustration-background-bottom-left=\"url({{ bottomLeftBackground() }})\"\n\tstyle.--components-emptyState-illustration-foreground-bottom-left=\"url({{ bottomLeftForeground() }})\"\n\tstyle.--components-emptyState-illustration-background-top-right=\"url({{ topRightBackground() }})\"\n\tstyle.--components-emptyState-illustration-foreground-top-right=\"url({{ topRightForeground() }})\"\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<p class=\"emptyState-content-description\">\n\t\t\t\t\t\t<ng-container *luPortal=\"description()\" />\n\t\t\t\t\t</p>\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","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 { LuSafeExternalSvgPipe } from '@lucca-front/ng/safe-content';\nimport { Hx } from '../empty-state.model';\n\nconst 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\n@Component({\n\tselector: 'lu-empty-state-section',\n\timports: [LuSafeExternalSvgPipe, 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 | null>(null);\n\treadonly action = input(false, { transform: booleanAttribute });\n\n\treadonly iconOrIllustration = computed(() => {\n\t\tif (this.icon()) {\n\t\t\tif (this.icon().includes('Success')) {\n\t\t\t\treturn 'thumbUp';\n\t\t\t}\n\t\t\tif (this.icon().includes('Error')) {\n\t\t\t\treturn 'error';\n\t\t\t}\n\t\t\tconst iconName = this.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\treadonly palette = input<Palette>('none');\n\n\treadonly center = input(false, { transform: booleanAttribute });\n\n\treadonly heading = input<string>();\n\n\treadonly description = input<PortalContent>();\n\n\treadonly hx = input(3, { transform: numberAttribute as (value: Hx | `${Hx}`) => Hx });\n\n\treadonly emptyStateClasses = computed(() => ({ [`palette-${this.palette()}`]: !!this.palette() }));\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<p class=\"emptyState-content-description\">\n\t\t\t\t\t\t<ng-container *luPortal=\"description()\" />\n\t\t\t\t\t</p>\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":";;;;;;MAgBa,uBAAuB,CAAA;AAXpC,IAAA,WAAA,GAAA;AAYC;;AAEG;AACM,QAAA,IAAA,CA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"version":3,"file":"lucca-front-ng-empty-state.mjs","sources":["../../../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-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, numberAttribute, ViewEncapsulation } from '@angular/core';\nimport { PortalContent, PortalDirective } from '@lucca-front/ng/core';\nimport { LuSafeExternalSvgPipe } from '@lucca-front/ng/safe-content';\nimport { Hx } from '../empty-state.model';\n\n@Component({\n\tselector: 'lu-empty-state-page',\n\timports: [LuSafeExternalSvgPipe, PortalDirective],\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\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","<section\n\tclass=\"emptyState mod-page\"\n\t[attr.role]=\"heading() ? null : 'presentation'\"\n\t[style.--components-emptyState-background-color]=\"contentBackgroundColor()\"\n\tstyle.--components-emptyState-illustration-background-bottom-left=\"url({{ bottomLeftBackground() }})\"\n\tstyle.--components-emptyState-illustration-foreground-bottom-left=\"url({{ bottomLeftForeground() }})\"\n\tstyle.--components-emptyState-illustration-background-top-right=\"url({{ topRightBackground() }})\"\n\tstyle.--components-emptyState-illustration-foreground-top-right=\"url({{ topRightForeground() }})\"\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<p class=\"emptyState-content-description\">\n\t\t\t\t\t\t<ng-container *luPortal=\"description()\" />\n\t\t\t\t\t</p>\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","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 } from '../empty-state.model';\n\nconst 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\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 | null>(null);\n\treadonly action = input(false, { transform: booleanAttribute });\n\n\treadonly iconOrIllustration = computed(() => {\n\t\tif (this.icon()) {\n\t\t\tif (this.icon().includes('Success')) {\n\t\t\t\treturn 'thumbUp';\n\t\t\t}\n\t\t\tif (this.icon().includes('Error')) {\n\t\t\t\treturn 'error';\n\t\t\t}\n\t\t\tconst iconName = this.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","<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<p class=\"emptyState-content-description\">\n\t\t\t\t\t\t<ng-container *luPortal=\"description()\" />\n\t\t\t\t\t</p>\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":";;;;;;MAgBa,uBAAuB,CAAA;AAXpC,IAAA,WAAA,GAAA;AAYC;;AAEG;AACM,QAAA,IAAA,CAAA,IAAI,GAAG,KA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AEG;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { forwardRef, Directive,
|
|
2
|
+
import { forwardRef, Directive, Injectable, InjectionToken, HostListener, Input, Inject, Optional, Self, EventEmitter, ElementRef, Output, ViewChild, HostBinding, ChangeDetectionStrategy, Component, input, NgModule } from '@angular/core';
|
|
3
3
|
import { LuForGroupsDirective, ALuOptionOperator, ALuOptionSelector, LuOptionPlaceholderComponent, LuOptionSelectAllComponent, LuOptionPickerAdvancedComponent, LuOptionItemComponent } from '@lucca-front/ng/option';
|
|
4
4
|
import * as i1$2 from '@angular/cdk/overlay';
|
|
5
5
|
import { OverlayModule } from '@angular/cdk/overlay';
|
|
@@ -58,22 +58,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImpor
|
|
|
58
58
|
}]
|
|
59
59
|
}], ctorParameters: () => [{ type: i0.ViewContainerRef }, { type: i0.ChangeDetectorRef }, { type: i0.TemplateRef }] });
|
|
60
60
|
|
|
61
|
-
/**
|
|
62
|
-
* @deprecated use `LuForLegalUnitsDirective` instead
|
|
63
|
-
*/
|
|
64
|
-
class LuForLegalUnitsModule {
|
|
65
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: LuForLegalUnitsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
66
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: LuForLegalUnitsModule, imports: [LuForLegalUnitsDirective], exports: [LuForLegalUnitsDirective] }); }
|
|
67
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: LuForLegalUnitsModule }); }
|
|
68
|
-
}
|
|
69
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: LuForLegalUnitsModule, decorators: [{
|
|
70
|
-
type: NgModule,
|
|
71
|
-
args: [{
|
|
72
|
-
imports: [LuForLegalUnitsDirective],
|
|
73
|
-
exports: [LuForLegalUnitsDirective],
|
|
74
|
-
}]
|
|
75
|
-
}] });
|
|
76
|
-
|
|
77
61
|
class ALuEstablishmentService extends ALuApiService {
|
|
78
62
|
}
|
|
79
63
|
|
|
@@ -244,22 +228,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImpor
|
|
|
244
228
|
args: ['click']
|
|
245
229
|
}] } });
|
|
246
230
|
|
|
247
|
-
/**
|
|
248
|
-
* @deprecated use `LuLegalUnitSelectorDirective` instead
|
|
249
|
-
*/
|
|
250
|
-
class LuLegalUnitSelectorModule {
|
|
251
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: LuLegalUnitSelectorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
252
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: LuLegalUnitSelectorModule, imports: [LuLegalUnitSelectorDirective], exports: [LuLegalUnitSelectorDirective] }); }
|
|
253
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: LuLegalUnitSelectorModule }); }
|
|
254
|
-
}
|
|
255
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: LuLegalUnitSelectorModule, decorators: [{
|
|
256
|
-
type: NgModule,
|
|
257
|
-
args: [{
|
|
258
|
-
imports: [LuLegalUnitSelectorDirective],
|
|
259
|
-
exports: [LuLegalUnitSelectorDirective],
|
|
260
|
-
}]
|
|
261
|
-
}] });
|
|
262
|
-
|
|
263
231
|
class LuEstablishmentSearcherComponent {
|
|
264
232
|
set filters(filters) {
|
|
265
233
|
this._service.filters = filters;
|
|
@@ -392,22 +360,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImpor
|
|
|
392
360
|
type: Output
|
|
393
361
|
}] } });
|
|
394
362
|
|
|
395
|
-
/**
|
|
396
|
-
* @deprecated use `LuEstablishmentSearcherComponent` instead
|
|
397
|
-
*/
|
|
398
|
-
class LuEstablishmentSearcherModule {
|
|
399
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: LuEstablishmentSearcherModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
400
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: LuEstablishmentSearcherModule, imports: [LuEstablishmentSearcherComponent], exports: [LuEstablishmentSearcherComponent] }); }
|
|
401
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: LuEstablishmentSearcherModule, imports: [LuEstablishmentSearcherComponent] }); }
|
|
402
|
-
}
|
|
403
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: LuEstablishmentSearcherModule, decorators: [{
|
|
404
|
-
type: NgModule,
|
|
405
|
-
args: [{
|
|
406
|
-
imports: [LuEstablishmentSearcherComponent],
|
|
407
|
-
exports: [LuEstablishmentSearcherComponent],
|
|
408
|
-
}]
|
|
409
|
-
}] });
|
|
410
|
-
|
|
411
363
|
class LuEstablishmentSelectAllComponent extends LuOptionSelectAllComponent {
|
|
412
364
|
set filters(filters) {
|
|
413
365
|
this._service.filters = filters;
|
|
@@ -495,22 +447,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImpor
|
|
|
495
447
|
type: Input
|
|
496
448
|
}] } });
|
|
497
449
|
|
|
498
|
-
/**
|
|
499
|
-
* @deprecated use `LuEstablishmentSelectAllComponent` instead
|
|
500
|
-
*/
|
|
501
|
-
class LuEstablishmentSelectAllModule {
|
|
502
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: LuEstablishmentSelectAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
503
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: LuEstablishmentSelectAllModule, imports: [LuEstablishmentSelectAllComponent], exports: [LuEstablishmentSelectAllComponent] }); }
|
|
504
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: LuEstablishmentSelectAllModule }); }
|
|
505
|
-
}
|
|
506
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: LuEstablishmentSelectAllModule, decorators: [{
|
|
507
|
-
type: NgModule,
|
|
508
|
-
args: [{
|
|
509
|
-
imports: [LuEstablishmentSelectAllComponent],
|
|
510
|
-
exports: [LuEstablishmentSelectAllComponent],
|
|
511
|
-
}]
|
|
512
|
-
}] });
|
|
513
|
-
|
|
514
450
|
const Translations = {
|
|
515
451
|
pt: {
|
|
516
452
|
establishments: 'estabelecimentos',
|
|
@@ -697,5 +633,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImpor
|
|
|
697
633
|
* Generated bundle index. Do not edit.
|
|
698
634
|
*/
|
|
699
635
|
|
|
700
|
-
export { ALuEstablishmentService, ALuLegalUnitService, LU_ESTABLISHMENT_SELECT_INPUT_TRANSLATIONS, LuEstablishmentModule, LuEstablishmentSearcherComponent,
|
|
636
|
+
export { ALuEstablishmentService, ALuLegalUnitService, LU_ESTABLISHMENT_SELECT_INPUT_TRANSLATIONS, LuEstablishmentModule, LuEstablishmentSearcherComponent, LuEstablishmentSelectAllComponent, LuEstablishmentSelectInputComponent, LuEstablishmentSelectInputModule, LuEstablishmentSelectModule, LuEstablishmentService, LuForLegalUnitsDirective, LuLegalUnitSelectorDirective, LuLegalUnitService, luEstablishmentSelectInputTranslations };
|
|
701
637
|
//# sourceMappingURL=lucca-front-ng-establishment.mjs.map
|