@lucca-front/ng 21.3.0-rc.6 → 21.3.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-a11y.mjs +112 -8
- package/fesm2022/lucca-front-ng-a11y.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-activity-feed.mjs +9 -9
- package/fesm2022/lucca-front-ng-api.mjs +42 -42
- package/fesm2022/lucca-front-ng-api.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-app-layout.mjs +4 -4
- package/fesm2022/lucca-front-ng-app-layout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-box.mjs +3 -3
- package/fesm2022/lucca-front-ng-breadcrumbs.mjs +6 -6
- package/fesm2022/lucca-front-ng-bubble-icon.mjs +6 -5
- package/fesm2022/lucca-front-ng-bubble-icon.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-bubble-illustration.mjs +3 -3
- package/fesm2022/lucca-front-ng-callout.mjs +29 -29
- package/fesm2022/lucca-front-ng-callout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-chip.mjs +3 -3
- package/fesm2022/lucca-front-ng-clear.mjs +3 -3
- package/fesm2022/lucca-front-ng-code.mjs +3 -3
- package/fesm2022/lucca-front-ng-color.mjs +3 -3
- package/fesm2022/lucca-front-ng-comment.mjs +9 -9
- package/fesm2022/lucca-front-ng-container.mjs +3 -3
- package/fesm2022/lucca-front-ng-core-select-api.mjs +9 -9
- package/fesm2022/lucca-front-ng-core-select-department.mjs +6 -6
- package/fesm2022/lucca-front-ng-core-select-establishment.mjs +9 -9
- package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs +6 -6
- package/fesm2022/lucca-front-ng-core-select-occupation-category.mjs +3 -3
- package/fesm2022/lucca-front-ng-core-select-user.mjs +18 -18
- package/fesm2022/lucca-front-ng-core-select.mjs +51 -51
- package/fesm2022/lucca-front-ng-core.mjs +47 -27
- package/fesm2022/lucca-front-ng-core.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-data-table.mjs +42 -36
- package/fesm2022/lucca-front-ng-data-table.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date.mjs +42 -42
- package/fesm2022/lucca-front-ng-date.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date2.mjs +24 -24
- package/fesm2022/lucca-front-ng-date2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-department.mjs +26 -26
- package/fesm2022/lucca-front-ng-department.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-dialog.mjs +35 -35
- package/fesm2022/lucca-front-ng-dialog.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-divider.mjs +4 -4
- package/fesm2022/lucca-front-ng-divider.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-dropdown.mjs +40 -40
- package/fesm2022/lucca-front-ng-empty-state.mjs +9 -9
- package/fesm2022/lucca-front-ng-error-page.mjs +3 -3
- package/fesm2022/lucca-front-ng-establishment.mjs +35 -35
- package/fesm2022/lucca-front-ng-establishment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-fancy-box.mjs +3 -3
- package/fesm2022/lucca-front-ng-file-upload.mjs +18 -18
- package/fesm2022/lucca-front-ng-file-upload.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-filter-pills.mjs +21 -21
- package/fesm2022/lucca-front-ng-filter-pills.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-footer.mjs +4 -4
- package/fesm2022/lucca-front-ng-footer.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-field.mjs +20 -20
- package/fesm2022/lucca-front-ng-form-field.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-header.mjs +3 -3
- package/fesm2022/lucca-front-ng-form-label.mjs +9 -6
- package/fesm2022/lucca-front-ng-form-label.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form.mjs +3 -3
- package/fesm2022/lucca-front-ng-formly.mjs +58 -58
- package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs +6 -6
- 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 +63 -48
- package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms.mjs +51 -47
- package/fesm2022/lucca-front-ng-forms.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-gauge.mjs +3 -3
- package/fesm2022/lucca-front-ng-grid.mjs +6 -6
- package/fesm2022/lucca-front-ng-highlight-data.mjs +3 -3
- package/fesm2022/lucca-front-ng-highlight-text.mjs +3 -3
- package/fesm2022/lucca-front-ng-horizontal-navigation.mjs +12 -12
- package/fesm2022/lucca-front-ng-horizontal-navigation.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-impersonation.mjs +4 -4
- package/fesm2022/lucca-front-ng-impersonation.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-index-table.mjs +45 -40
- package/fesm2022/lucca-front-ng-index-table.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-inline-message.mjs +3 -3
- package/fesm2022/lucca-front-ng-input.mjs +21 -21
- package/fesm2022/lucca-front-ng-link.mjs +20 -9
- package/fesm2022/lucca-front-ng-link.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-listbox.mjs +9 -9
- package/fesm2022/lucca-front-ng-listing.mjs +6 -6
- package/fesm2022/lucca-front-ng-loading.mjs +3 -3
- package/fesm2022/lucca-front-ng-main-layout.mjs +6 -6
- package/fesm2022/lucca-front-ng-mobile-push.mjs +3 -3
- package/fesm2022/lucca-front-ng-modal.mjs +22 -22
- package/fesm2022/lucca-front-ng-multi-select.mjs +72 -54
- 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 +4 -4
- package/fesm2022/lucca-front-ng-numeric-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-option.mjs +126 -126
- package/fesm2022/lucca-front-ng-page-header.mjs +4 -4
- package/fesm2022/lucca-front-ng-page-header.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-pagination.mjs +3 -3
- package/fesm2022/lucca-front-ng-plg-push.mjs +3 -3
- package/fesm2022/lucca-front-ng-popover.mjs +17 -17
- package/fesm2022/lucca-front-ng-popover2.mjs +7 -7
- 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 +3 -3
- package/fesm2022/lucca-front-ng-progress-stepper.mjs +6 -6
- package/fesm2022/lucca-front-ng-read-more.mjs +3 -3
- package/fesm2022/lucca-front-ng-resource-card.mjs +13 -13
- 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 +3 -3
- package/fesm2022/lucca-front-ng-scroll.mjs +7 -7
- package/fesm2022/lucca-front-ng-segmented-control-tabs.mjs +8 -8
- package/fesm2022/lucca-front-ng-segmented-control-tabs.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-segmented-control.mjs +8 -8
- package/fesm2022/lucca-front-ng-segmented-control.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-select.mjs +16 -16
- 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 +12 -12
- package/fesm2022/lucca-front-ng-skeleton.mjs +30 -30
- package/fesm2022/lucca-front-ng-skeleton.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-software-icon-wrapper.mjs +6 -6
- package/fesm2022/lucca-front-ng-software-icon.mjs +3 -3
- package/fesm2022/lucca-front-ng-sortable-list.mjs +8 -8
- package/fesm2022/lucca-front-ng-sortable-list.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-status-badge.mjs +3 -3
- package/fesm2022/lucca-front-ng-table-of-content.mjs +6 -6
- package/fesm2022/lucca-front-ng-tag.mjs +3 -3
- package/fesm2022/lucca-front-ng-text-flow.mjs +3 -3
- package/fesm2022/lucca-front-ng-time.mjs +18 -18
- package/fesm2022/lucca-front-ng-title.mjs +10 -10
- package/fesm2022/lucca-front-ng-toast.mjs +10 -10
- package/fesm2022/lucca-front-ng-tooltip.mjs +37 -19
- package/fesm2022/lucca-front-ng-tooltip.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tree-select.mjs +6 -6
- package/fesm2022/lucca-front-ng-user-popover.mjs +19 -19
- package/fesm2022/lucca-front-ng-user-popover.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user.mjs +62 -62
- package/fesm2022/lucca-front-ng-user.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-vertical-navigation.mjs +15 -15
- package/fesm2022/lucca-front-ng-vertical-navigation.mjs.map +1 -1
- package/package.json +4 -4
- package/schematics/lu-grid/migration.js +4 -4
- package/schematics/package.json +3 -0
- package/src/components/_picker.scss +4 -0
- package/types/lucca-front-ng-a11y.d.ts +30 -2
- package/types/lucca-front-ng-bubble-icon.d.ts +2 -2
- package/types/lucca-front-ng-core.d.ts +12 -8
- package/types/lucca-front-ng-data-table.d.ts +15 -12
- package/types/lucca-front-ng-form-label.d.ts +5 -4
- package/types/lucca-front-ng-forms-rich-text-input.d.ts +4 -2
- package/types/lucca-front-ng-forms.d.ts +3 -1
- package/types/lucca-front-ng-index-table.d.ts +16 -11
- package/types/lucca-front-ng-link.d.ts +13 -3
- package/types/lucca-front-ng-tooltip.d.ts +7 -2
- package/types/lucca-front-ng-vertical-navigation.d.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lucca-front-ng-index-table.mjs","sources":["../../../packages/ng/index-table/index-table-action-file/index-table-action-file.component.ts","../../../packages/ng/index-table/index-table-action/index-table-action.component.ts","../../../packages/ng/index-table/index-table.token.ts","../../../packages/ng/index-table/index-table-body/index-table-body.token.ts","../../../packages/ng/index-table/index-table-body/index-table-body.component.ts","../../../packages/ng/index-table/index-table-body/index-table-body.component.html","../../../packages/ng/index-table/index-table-foot/index-table-foot.token.ts","../../../packages/ng/index-table/index-table-head/index-table-head.token.ts","../../../packages/ng/index-table/index-table-row/index-table-row.token.ts","../../../packages/ng/index-table/base-index-table-cell.ts","../../../packages/ng/index-table/index-table-cell.token.ts","../../../packages/ng/index-table/index-table-cell-header/index-table-cell-header.component.ts","../../../packages/ng/index-table/index-table-cell-header/index-table-cell-header.component.html","../../../packages/ng/index-table/index-table-cell/index-table-cell.component.ts","../../../packages/ng/index-table/index-table-foot/index-table-foot.component.ts","../../../packages/ng/index-table/index-table-head/index-table-head.component.ts","../../../packages/ng/index-table/index-table-row/index-table-row.component.ts","../../../packages/ng/index-table/index-table-row/index-table-row.component.html","../../../packages/ng/index-table/index-table.type.ts","../../../packages/ng/index-table/index-table.component.ts","../../../packages/ng/index-table/index-table.component.html","../../../packages/ng/index-table/lucca-front-ng-index-table.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n\t// eslint-disable-next-line @angular-eslint/component-selector\n\tselector: 'input[luIndexTableAction]',\n\ttemplate: '<ng-content />',\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\tclass: 'indexTable-body-row-cell-link, pr-u-mask',\n\t},\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class IndexTableActionFileComponent {}\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n\t// eslint-disable-next-line @angular-eslint/component-selector\n\tselector: 'button[luIndexTableAction], a[luIndexTableAction], label[luIndexTableAction]',\n\ttemplate: '<ng-content />',\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\tclass: 'indexTable-body-row-cell-link',\n\t},\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class IndexTableActionComponent {}\n","import { InjectionToken } from '@angular/core';\nimport { IndexTableComponent } from './index-table.component';\n\nexport const LU_INDEX_TABLE_INSTANCE = new InjectionToken<IndexTableComponent>('LU_INDEX_TABLE_INSTANCE');\n","import { InjectionToken } from '@angular/core';\nimport { IndexTableBodyComponent } from './index-table-body.component';\n\nexport const LU_INDEX_TABLE_BODY_INSTANCE = new InjectionToken<IndexTableBodyComponent>('LU_INDEX_TABLE_BODY_INSTANCE');\n","import { ChangeDetectionStrategy, Component, computed, forwardRef, inject, input, model, ViewEncapsulation } from '@angular/core';\nimport { ButtonComponent } from '@lucca-front/ng/button';\nimport { PortalContent, PortalDirective } from '@lucca-front/ng/core';\nimport { IconComponent } from '@lucca-front/ng/icon';\nimport { LU_INDEX_TABLE_INSTANCE } from '../index-table.token';\nimport { LU_INDEX_TABLE_BODY_INSTANCE } from './index-table-body.token';\n\n@Component({\n\t// eslint-disable-next-line @angular-eslint/component-selector\n\tselector: 'tbody[luIndexTableBody]',\n\tstandalone: true,\n\ttemplateUrl: `./index-table-body.component.html`,\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\tclass: 'indexTable-body',\n\t},\n\timports: [ButtonComponent, IconComponent, PortalDirective],\n\tproviders: [\n\t\t{\n\t\t\tprovide: LU_INDEX_TABLE_BODY_INSTANCE,\n\t\t\tuseExisting: forwardRef(() => IndexTableBodyComponent),\n\t\t},\n\t],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class IndexTableBodyComponent {\n\tgroup = input<PortalContent | null>(null);\n\tgroupButtonAlt = input<string | null>(null);\n\n\texpanded = model(false);\n\n\texpandedToggle() {\n\t\tthis.expanded.set(!this.expanded());\n\t}\n\n\tprotected tableRef = inject(LU_INDEX_TABLE_INSTANCE);\n\n\tcolspan = computed(() => this.tableRef.cols().length + (this.tableRef.selectable() ? 1 : 0));\n}\n","@if (group() && groupButtonAlt()) {\n\t<tr class=\"indexTable-body-row mod-group\">\n\t\t<th scope=\"colgroup\" class=\"indexTable-body-row-transparentCell\" [attr.colspan]=\"colspan()\">\n\t\t\t<div class=\"indexTable-body-row-cellTitle\">\n\t\t\t\t<button\n\t\t\t\t\ttype=\"button\"\n\t\t\t\t\tclass=\"indexTable-body-row-cellTitle-button\"\n\t\t\t\t\tluButton\n\t\t\t\t\tdisclosure\n\t\t\t\t\t[attr.aria-expanded]=\"expanded()\"\n\t\t\t\t\t(click)=\"expandedToggle()\"\n\t\t\t\t>\n\t\t\t\t\t<lu-icon icon=\"arrowChevronBottom\" [alt]=\"groupButtonAlt()\" />\n\t\t\t\t</button>\n\t\t\t\t<ng-container *luPortal=\"group()\" />\n\t\t\t</div>\n\t\t</th>\n\t</tr>\n}\n<ng-content />\n","import { InjectionToken } from '@angular/core';\nimport { IndexTableFootComponent } from './index-table-foot.component';\n\nexport const LU_INDEX_TABLE_FOOT_INSTANCE = new InjectionToken<IndexTableFootComponent>('LU_INDEX_TABLE_FOOT_INSTANCE');\n","import { InjectionToken } from '@angular/core';\nimport { IndexTableHeadComponent } from './index-table-head.component';\n\nexport const LU_INDEX_TABLE_HEAD_INSTANCE = new InjectionToken<IndexTableHeadComponent>('LU_INDEX_TABLE_HEAD_INSTANCE');\n","import { InjectionToken } from '@angular/core';\nimport { IndexTableRowComponent } from './index-table-row.component';\n\nexport const LU_INDEX_TABLE_ROW_INSTANCE = new InjectionToken<IndexTableRowComponent>('LU_INDEX_TABLE_ROW_INSTANCE');\n","import { ChangeDetectionStrategy, Component, computed, inject, input } from '@angular/core';\n\nimport { LU_INDEX_TABLE_BODY_INSTANCE } from './index-table-body/index-table-body.token';\nimport { LU_INDEX_TABLE_FOOT_INSTANCE } from './index-table-foot/index-table-foot.token';\nimport { LU_INDEX_TABLE_HEAD_INSTANCE } from './index-table-head/index-table-head.token';\nimport { LU_INDEX_TABLE_ROW_INSTANCE } from './index-table-row/index-table-row.token';\nimport { IndexTableAlign } from './index-table.type';\nimport { LU_INDEX_TABLE_INSTANCE } from './index-table.token';\n\n@Component({\n\tselector: 'lu-base-index-table-cell',\n\ttemplate: '',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport abstract class BaseIndexTableCell {\n\ttableRef = inject(LU_INDEX_TABLE_INSTANCE);\n\tbodyRef = inject(LU_INDEX_TABLE_BODY_INSTANCE, { optional: true });\n\theadRef = inject(LU_INDEX_TABLE_HEAD_INSTANCE, { optional: true });\n\tfootRef = inject(LU_INDEX_TABLE_FOOT_INSTANCE, { optional: true });\n\trowRef = inject(LU_INDEX_TABLE_ROW_INSTANCE);\n\n\talign = input<IndexTableAlign | null>(null);\n\n\talignCol = computed(() => {\n\t\treturn this.tableRef.header().cols()[this.position()].align();\n\t});\n\n\tposition = computed(() => {\n\t\treturn this.rowRef.cells().indexOf(this);\n\t});\n}\n","import { InjectionToken } from '@angular/core';\nimport { BaseIndexTableCell } from './base-index-table-cell';\n\nexport const LU_INDEX_TABLE_CELL_INSTANCE = new InjectionToken<BaseIndexTableCell>('LU_INDEX_TABLE_CELL_INSTANCE');\n","import { NgTemplateOutlet } from '@angular/common';\nimport { booleanAttribute, ChangeDetectionStrategy, Component, ElementRef, forwardRef, inject, input, model, numberAttribute, ViewEncapsulation } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { ButtonComponent } from '@lucca-front/ng/button';\nimport { IconComponent } from '@lucca-front/ng/icon';\nimport { BaseIndexTableCell } from '../base-index-table-cell';\nimport { LU_INDEX_TABLE_CELL_INSTANCE } from '../index-table-cell.token';\nimport { IndexTableSort } from '../index-table.type';\n\nconst SORT_VALUES = ['none', 'ascending', 'descending'] as const;\n\n@Component({\n\t// eslint-disable-next-line @angular-eslint/component-selector\n\tselector: 'th[luIndexTableCell]',\n\tstandalone: true,\n\ttemplateUrl: './index-table-cell-header.component.html',\n\tstyleUrl: './index-table-cell-header.component.scss',\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\t'[class.indexTable-body-row-cell]': 'bodyRef !== null',\n\t\t'[class.indexTable-head-row-cell]': 'headRef !== null',\n\t\t'[class.indexTable-foot-row-cell]': 'footRef !== null',\n\t\t'[class.mod-alignStart]': 'align() === \"start\" || alignCol() === \"start\"',\n\t\t'[class.mod-alignCenter]': 'align() === \"center\" || alignCol() === \"center\"',\n\t\t'[class.mod-alignEnd]': 'align() === \"end\" || alignCol() === \"end\"',\n\t\t'[attr.aria-sort]': 'sort()',\n\t\t'[attr.scope]': 'bodyRef !== null ? \"row\" : \"col\"',\n\t\t'[class.mod-selectable]': 'selectable()',\n\t\t'[class.mod-actions]': 'actions()',\n\t\t'[style.--components-indexTable-cell-fixed-width]': 'inlineSize() !== 0 ? inlineSize() : null',\n\t},\n\timports: [NgTemplateOutlet, ButtonComponent, IconComponent, FormsModule],\n\tproviders: [\n\t\t{\n\t\t\tprovide: LU_INDEX_TABLE_CELL_INSTANCE,\n\t\t\tuseExisting: forwardRef(() => IndexTableRowCellHeaderComponent),\n\t\t},\n\t],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class IndexTableRowCellHeaderComponent extends BaseIndexTableCell {\n\telementRef = inject<ElementRef<HTMLTableCellElement>>(ElementRef);\n\n\tsort = model<IndexTableSort | null>(null);\n\tselectable = input(false, { transform: booleanAttribute });\n\thiddenLabel = input(false, { transform: booleanAttribute });\n\tactions = input(false, { transform: booleanAttribute });\n\tinlineSize = input(0, { transform: numberAttribute });\n\n\ttoggleSort(): void {\n\t\tif (this.sort()) {\n\t\t\tthis.sort.set(SORT_VALUES[(SORT_VALUES.indexOf(this.sort()) + 1) % SORT_VALUES.length]);\n\t\t}\n\t}\n}\n","@if (sort()) {\n\t<button luButton type=\"button\" class=\"tableSortable\" (click)=\"toggleSort()\">\n\t\t<ng-container *ngTemplateOutlet=\"contentTpl\" />\n\t\t<span class=\"tableSortable-arrows\">\n\t\t\t<lu-icon icon=\"chevronTop\" class=\"tableSortable-arrows-ascending\" />\n\t\t\t<lu-icon icon=\"chevronBottom\" class=\"tableSortable-arrows-descending\" />\n\t\t</span>\n\t</button>\n} @else {\n\t<ng-container *ngTemplateOutlet=\"contentTpl\" />\n}\n\n<ng-template #contentTpl>\n\t@if (hiddenLabel() || actions()) {\n\t\t<span class=\"pr-u-mask\"><ng-container *ngTemplateOutlet=\"content\" /></span>\n\t} @else {\n\t\t<ng-container *ngTemplateOutlet=\"content\" />\n\t}\n</ng-template>\n\n<ng-template #content><ng-content /></ng-template>\n","import { booleanAttribute, ChangeDetectionStrategy, Component, computed, forwardRef, input, ViewEncapsulation } from '@angular/core';\n\nimport { BaseIndexTableCell } from '../base-index-table-cell';\nimport { LU_INDEX_TABLE_CELL_INSTANCE } from '../index-table-cell.token';\n\n@Component({\n\t// eslint-disable-next-line @angular-eslint/component-selector\n\tselector: 'td[luIndexTableCell]',\n\tstandalone: true,\n\ttemplate: '<ng-content />',\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\t'[class.indexTable-body-row-cell]': 'bodyRef !== null',\n\t\t'[class.indexTable-head-row-cell]': 'headRef !== null',\n\t\t'[class.indexTable-foot-row-cell]': 'footRef !== null',\n\t\t'[class.mod-alignStart]': 'align() === \"start\" || alignCol() === \"start\"',\n\t\t'[class.mod-alignCenter]': 'align() === \"center\" || alignCol() === \"center\"',\n\t\t'[class.mod-alignEnd]': 'align() === \"end\" || alignCol() === \"end\"',\n\t\t'[class.mod-actions]': 'actions()',\n\t\t'[class.mod-allowTextSelection]': 'allowTextSelection()',\n\t\t'[class.mod-tfoot]': 'tfoot()',\n\t},\n\tproviders: [\n\t\t{\n\t\t\tprovide: LU_INDEX_TABLE_CELL_INSTANCE,\n\t\t\tuseExisting: forwardRef(() => IndexTableRowCellComponent),\n\t\t},\n\t],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class IndexTableRowCellComponent extends BaseIndexTableCell {\n\tallowTextSelection = input(false, { transform: booleanAttribute });\n\ttfoot = input(false, { transform: booleanAttribute });\n\n\tactions = computed(() => {\n\t\treturn this.tableRef.header().cols()[this.position()].actions();\n\t});\n}\n","import { ChangeDetectionStrategy, Component, forwardRef, ViewEncapsulation } from '@angular/core';\nimport { LU_INDEX_TABLE_FOOT_INSTANCE } from './index-table-foot.token';\n\n@Component({\n\t// eslint-disable-next-line @angular-eslint/component-selector\n\tselector: 'tfoot[luIndexTableFoot]',\n\tstandalone: true,\n\ttemplate: '<ng-content />',\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\tclass: 'indexTable-foot',\n\t},\n\tproviders: [\n\t\t{\n\t\t\tprovide: LU_INDEX_TABLE_FOOT_INSTANCE,\n\t\t\tuseExisting: forwardRef(() => IndexTableFootComponent),\n\t\t},\n\t],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class IndexTableFootComponent {}\n","import { ChangeDetectionStrategy, Component, contentChildren, forwardRef, inject, ViewEncapsulation } from '@angular/core';\n\nimport { IndexTableRowCellHeaderComponent } from '../index-table-cell-header/index-table-cell-header.component';\nimport { LU_INDEX_TABLE_INSTANCE } from '../index-table.token';\nimport { LU_INDEX_TABLE_HEAD_INSTANCE } from './index-table-head.token';\n\n@Component({\n\t// eslint-disable-next-line @angular-eslint/component-selector\n\tselector: 'thead[luIndexTableHead]',\n\tstandalone: true,\n\ttemplate: '<ng-content />',\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\tclass: 'indexTable-head',\n\t\t'[attr.inert]': 'tableRef.empty() ? \"inert\" : null',\n\t},\n\tproviders: [\n\t\t{\n\t\t\tprovide: LU_INDEX_TABLE_HEAD_INSTANCE,\n\t\t\tuseExisting: forwardRef(() => IndexTableHeadComponent),\n\t\t},\n\t],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class IndexTableHeadComponent {\n\tcols = contentChildren(IndexTableRowCellHeaderComponent, { descendants: true });\n\n\ttableRef = inject(LU_INDEX_TABLE_INSTANCE);\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport { booleanAttribute, ChangeDetectionStrategy, Component, contentChildren, forwardRef, inject, input, model, numberAttribute, ViewEncapsulation } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { FormFieldComponent } from '@lucca-front/ng/form-field';\nimport { CheckboxInputComponent } from '@lucca-front/ng/forms';\nimport { LU_INDEX_TABLE_BODY_INSTANCE } from '../index-table-body/index-table-body.token';\nimport { LU_INDEX_TABLE_CELL_INSTANCE } from '../index-table-cell.token';\nimport { LU_INDEX_TABLE_FOOT_INSTANCE } from '../index-table-foot/index-table-foot.token';\nimport { LU_INDEX_TABLE_HEAD_INSTANCE } from '../index-table-head/index-table-head.token';\nimport { LU_INDEX_TABLE_INSTANCE } from '../index-table.token';\nimport { LU_INDEX_TABLE_ROW_INSTANCE } from './index-table-row.token';\n\n@Component({\n\t// eslint-disable-next-line @angular-eslint/component-selector\n\tselector: 'tr[luIndexTableRow]',\n\tstandalone: true,\n\ttemplateUrl: './index-table-row.component.html',\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\t'[class.indexTable-body-row]': 'bodyRef !== null',\n\t\t'[class.indexTable-head-row]': 'headRef !== null',\n\t\t'[class.indexTable-foot-row]': 'footRef !== null',\n\t\t'[class.mod-selectable]': 'tableRef.selectable()',\n\t\t'[class.mod-stack2]': 'stack() === 2',\n\t\t'[class.mod-stack3]': 'stack() === 3',\n\t},\n\timports: [CheckboxInputComponent, FormFieldComponent, FormsModule, NgTemplateOutlet],\n\tproviders: [\n\t\t{\n\t\t\tprovide: LU_INDEX_TABLE_ROW_INSTANCE,\n\t\t\tuseExisting: forwardRef(() => IndexTableRowComponent),\n\t\t},\n\t],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class IndexTableRowComponent {\n\tbodyRef = inject(LU_INDEX_TABLE_BODY_INSTANCE, { optional: true });\n\theadRef = inject(LU_INDEX_TABLE_HEAD_INSTANCE, { optional: true });\n\tfootRef = inject(LU_INDEX_TABLE_FOOT_INSTANCE, { optional: true });\n\n\tpublic readonly cells = contentChildren(LU_INDEX_TABLE_CELL_INSTANCE);\n\n\tprotected tableRef = inject(LU_INDEX_TABLE_INSTANCE);\n\n\tselected = model<boolean>(false);\n\tselectedLabel = input<string | null>(null);\n\tdisabled = input(false, { transform: booleanAttribute });\n\tstack = input(1, { transform: numberAttribute });\n}\n","@if (tableRef.selectable()) {\n\t@if (headRef) {\n\t\t<th class=\"indexTable-head-row-transparentCell\" scope=\"col\"><ng-container *ngTemplateOutlet=\"input\" /></th>\n\t} @else {\n\t\t<td [class.indexTable-body-row-transparentCell]=\"bodyRef !== null\" [class.indexTable-foot-row-transparentCell]=\"footRef !== null\">\n\t\t\t<ng-container *ngTemplateOutlet=\"input\" />\n\t\t</td>\n\t}\n}\n<ng-content />\n\n<ng-template #input>\n\t@if (!footRef && selectedLabel()) {\n\t\t<lu-form-field [label]=\"selectedLabel()\" hiddenLabel>\n\t\t\t<lu-checkbox-input class=\"indexTable-head-row-cell-checkbox\" [(ngModel)]=\"selected\" [disabled]=\"disabled()\" />\n\t\t</lu-form-field>\n\t}\n</ng-template>\n","/**\n * Available IndexTableComponent types\n */\n\nexport const INDEX_TABLE_ALIGN = ['start', 'center', 'end'] as const;\nexport type IndexTableAlign = (typeof INDEX_TABLE_ALIGN)[number];\n\nexport const INDEX_TABLE_SORT = ['none', 'ascending', 'descending'] as const;\nexport type IndexTableSort = (typeof INDEX_TABLE_SORT)[number];\n","import { booleanAttribute, ChangeDetectionStrategy, Component, computed, contentChild, contentChildren, ElementRef, forwardRef, input, viewChild, ViewEncapsulation } from '@angular/core';\nimport { ResponsiveConfig } from '@lucca-front/ng/core';\n\nimport { IndexTableHeadComponent } from './index-table-head/index-table-head.component';\nimport { IndexTableRowComponent } from './index-table-row/index-table-row.component';\nimport { LU_INDEX_TABLE_INSTANCE } from './index-table.token';\n\n@Component({\n\tselector: 'lu-index-table',\n\tstandalone: true,\n\ttemplateUrl: './index-table.component.html',\n\tstyleUrl: './index-table.component.scss',\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\tclass: 'indexTableWrapper',\n\t},\n\tproviders: [\n\t\t{\n\t\t\tprovide: LU_INDEX_TABLE_INSTANCE,\n\t\t\tuseExisting: forwardRef(() => IndexTableComponent),\n\t\t},\n\t],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class IndexTableComponent {\n\ttableRef = viewChild<ElementRef<Element>>('tableRef');\n\n\tselectable = input(false, { transform: booleanAttribute });\n\tlayoutFixed = input(false, { transform: booleanAttribute });\n\tempty = input(false, { transform: booleanAttribute });\n\n\tresponsive = input<ResponsiveConfig<'layoutFixed', true>>({});\n\n\trows = contentChildren(IndexTableRowComponent, { descendants: true });\n\theader = contentChild(IndexTableHeadComponent, { descendants: true });\n\n\tcols = computed(() => this.header().cols());\n\n\tclassMods = computed(() => {\n\t\treturn {\n\t\t\tindexTable: true,\n\t\t\t['mod-selectable']: this.selectable(),\n\t\t\t['mod-layoutFixed']: this.layoutFixed(),\n\t\t\t...Object.entries(this.responsive()).reduce((acc, [key, value]) => {\n\t\t\t\treturn {\n\t\t\t\t\t...acc,\n\t\t\t\t\t[`mod-${key}`]: value,\n\t\t\t\t};\n\t\t\t}, {}),\n\t\t};\n\t});\n}\n","<table [class]=\"classMods()\" [attr.role]=\"empty() ? 'presentation' : null\" #tableRef>\n\t<ng-content />\n</table>\n<div class=\"indexTableWrapper-pagination\">\n\t<ng-content select=\"[indexTablePagination]\" />\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;MAYa,6BAA6B,CAAA;+GAA7B,6BAA6B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA7B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAA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AA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,KAAA,EAAA,YAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,IAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,eAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,UAAA,CAAA,MAQ7B,sBAAsB,CAAA,EAAA,EAAA,GAAE,EAAE,WAAW,EAAE,IAAI,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,MAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,YAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,UAAA,CAAA,MAC9C,uBAAuB,CAAA,EAAA,EAAA,GAAE,EAAE,WAAW,EAAE,IAAI,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AElCrE;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"lucca-front-ng-index-table.mjs","sources":["../../../packages/ng/index-table/index-table-action-file/index-table-action-file.component.ts","../../../packages/ng/index-table/index-table-action/index-table-action.component.ts","../../../packages/ng/index-table/index-table.token.ts","../../../packages/ng/index-table/index-table-body/index-table-body.token.ts","../../../packages/ng/index-table/index-table-body/index-table-body.component.ts","../../../packages/ng/index-table/index-table-body/index-table-body.component.html","../../../packages/ng/index-table/index-table-foot/index-table-foot.token.ts","../../../packages/ng/index-table/index-table-head/index-table-head.token.ts","../../../packages/ng/index-table/index-table-row/index-table-row.token.ts","../../../packages/ng/index-table/base-index-table-cell.ts","../../../packages/ng/index-table/index-table-cell.token.ts","../../../packages/ng/index-table/index-table-cell-header/index-table-cell-header.component.ts","../../../packages/ng/index-table/index-table-cell-header/index-table-cell-header.component.html","../../../packages/ng/index-table/index-table-cell/index-table-cell.component.ts","../../../packages/ng/index-table/index-table-foot/index-table-foot.component.ts","../../../packages/ng/index-table/index-table-head/index-table-head.component.ts","../../../packages/ng/index-table/index-table-row/index-table-row.component.ts","../../../packages/ng/index-table/index-table-row/index-table-row.component.html","../../../packages/ng/index-table/index-table.component.ts","../../../packages/ng/index-table/index-table.component.html","../../../packages/ng/index-table/index-table.type.ts","../../../packages/ng/index-table/lucca-front-ng-index-table.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n\t// eslint-disable-next-line @angular-eslint/component-selector\n\tselector: 'input[luIndexTableAction]',\n\ttemplate: '<ng-content />',\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\tclass: 'indexTable-body-row-cell-link, pr-u-mask',\n\t},\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class IndexTableActionFileComponent {}\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n\t// eslint-disable-next-line @angular-eslint/component-selector\n\tselector: 'button[luIndexTableAction], a[luIndexTableAction], label[luIndexTableAction]',\n\ttemplate: '<ng-content />',\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\tclass: 'indexTable-body-row-cell-link',\n\t},\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class IndexTableActionComponent {}\n","import { InjectionToken } from '@angular/core';\nimport { IndexTableComponent } from './index-table.component';\n\nexport const LU_INDEX_TABLE_INSTANCE = new InjectionToken<IndexTableComponent>('LU_INDEX_TABLE_INSTANCE');\n","import { InjectionToken } from '@angular/core';\nimport { IndexTableBodyComponent } from './index-table-body.component';\n\nexport const LU_INDEX_TABLE_BODY_INSTANCE = new InjectionToken<IndexTableBodyComponent>('LU_INDEX_TABLE_BODY_INSTANCE');\n","import { ChangeDetectionStrategy, Component, computed, forwardRef, inject, input, model, ViewEncapsulation } from '@angular/core';\nimport { ButtonComponent } from '@lucca-front/ng/button';\nimport { PortalContent, PortalDirective } from '@lucca-front/ng/core';\nimport { IconComponent } from '@lucca-front/ng/icon';\nimport { LU_INDEX_TABLE_INSTANCE } from '../index-table.token';\nimport { LU_INDEX_TABLE_BODY_INSTANCE } from './index-table-body.token';\n\n@Component({\n\t// eslint-disable-next-line @angular-eslint/component-selector\n\tselector: 'tbody[luIndexTableBody]',\n\tstandalone: true,\n\ttemplateUrl: `./index-table-body.component.html`,\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\tclass: 'indexTable-body',\n\t},\n\timports: [ButtonComponent, IconComponent, PortalDirective],\n\tproviders: [\n\t\t{\n\t\t\tprovide: LU_INDEX_TABLE_BODY_INSTANCE,\n\t\t\tuseExisting: forwardRef(() => IndexTableBodyComponent),\n\t\t},\n\t],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class IndexTableBodyComponent {\n\tgroup = input<PortalContent | null>(null);\n\tgroupButtonAlt = input<string | null>(null);\n\n\texpanded = model(false);\n\n\texpandedToggle() {\n\t\tthis.expanded.set(!this.expanded());\n\t}\n\n\tprotected tableRef = inject(LU_INDEX_TABLE_INSTANCE);\n\n\tcolspan = computed(() => this.tableRef.cols().length + (this.tableRef.selectable() ? 1 : 0));\n}\n","@if (group() && groupButtonAlt()) {\n\t<tr class=\"indexTable-body-row mod-group\">\n\t\t<th scope=\"colgroup\" class=\"indexTable-body-row-transparentCell\" [attr.colspan]=\"colspan()\">\n\t\t\t<div class=\"indexTable-body-row-cellTitle\">\n\t\t\t\t<button\n\t\t\t\t\ttype=\"button\"\n\t\t\t\t\tclass=\"indexTable-body-row-cellTitle-button\"\n\t\t\t\t\tluButton\n\t\t\t\t\tdisclosure\n\t\t\t\t\t[attr.aria-expanded]=\"expanded()\"\n\t\t\t\t\t(click)=\"expandedToggle()\"\n\t\t\t\t>\n\t\t\t\t\t<lu-icon icon=\"arrowChevronBottom\" [alt]=\"groupButtonAlt()\" />\n\t\t\t\t</button>\n\t\t\t\t<ng-container *luPortal=\"group()\" />\n\t\t\t</div>\n\t\t</th>\n\t</tr>\n}\n<ng-content />\n","import { InjectionToken } from '@angular/core';\nimport { IndexTableFootComponent } from './index-table-foot.component';\n\nexport const LU_INDEX_TABLE_FOOT_INSTANCE = new InjectionToken<IndexTableFootComponent>('LU_INDEX_TABLE_FOOT_INSTANCE');\n","import { InjectionToken } from '@angular/core';\nimport { IndexTableHeadComponent } from './index-table-head.component';\n\nexport const LU_INDEX_TABLE_HEAD_INSTANCE = new InjectionToken<IndexTableHeadComponent>('LU_INDEX_TABLE_HEAD_INSTANCE');\n","import { InjectionToken } from '@angular/core';\nimport { IndexTableRowComponent } from './index-table-row.component';\n\nexport const LU_INDEX_TABLE_ROW_INSTANCE = new InjectionToken<IndexTableRowComponent>('LU_INDEX_TABLE_ROW_INSTANCE');\n","import { ChangeDetectionStrategy, Component, computed, inject, input } from '@angular/core';\n\nimport { LU_INDEX_TABLE_BODY_INSTANCE } from './index-table-body/index-table-body.token';\nimport { LU_INDEX_TABLE_FOOT_INSTANCE } from './index-table-foot/index-table-foot.token';\nimport { LU_INDEX_TABLE_HEAD_INSTANCE } from './index-table-head/index-table-head.token';\nimport { LU_INDEX_TABLE_ROW_INSTANCE } from './index-table-row/index-table-row.token';\nimport { IndexTableAlign } from './index-table.type';\nimport { LU_INDEX_TABLE_INSTANCE } from './index-table.token';\n\n@Component({\n\tselector: 'lu-base-index-table-cell',\n\ttemplate: '',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport abstract class BaseIndexTableCell {\n\ttableRef = inject(LU_INDEX_TABLE_INSTANCE);\n\tbodyRef = inject(LU_INDEX_TABLE_BODY_INSTANCE, { optional: true });\n\theadRef = inject(LU_INDEX_TABLE_HEAD_INSTANCE, { optional: true });\n\tfootRef = inject(LU_INDEX_TABLE_FOOT_INSTANCE, { optional: true });\n\trowRef = inject(LU_INDEX_TABLE_ROW_INSTANCE);\n\n\talign = input<IndexTableAlign | null>(null);\n\n\talignCol = computed(() => {\n\t\treturn this.tableRef.header().cols()[this.position()].align();\n\t});\n\n\tposition = computed(() => {\n\t\treturn this.rowRef.cells().indexOf(this);\n\t});\n}\n","import { InjectionToken } from '@angular/core';\nimport { BaseIndexTableCell } from './base-index-table-cell';\n\nexport const LU_INDEX_TABLE_CELL_INSTANCE = new InjectionToken<BaseIndexTableCell>('LU_INDEX_TABLE_CELL_INSTANCE');\n","import { NgTemplateOutlet } from '@angular/common';\nimport { booleanAttribute, ChangeDetectionStrategy, Component, ElementRef, forwardRef, inject, input, model, numberAttribute, ViewEncapsulation } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { ButtonComponent } from '@lucca-front/ng/button';\nimport { IconComponent } from '@lucca-front/ng/icon';\nimport { BaseIndexTableCell } from '../base-index-table-cell';\nimport { LU_INDEX_TABLE_CELL_INSTANCE } from '../index-table-cell.token';\nimport { IndexTableSort } from '../index-table.type';\n\nconst SORT_VALUES = ['none', 'ascending', 'descending'] as const;\n\n@Component({\n\t// eslint-disable-next-line @angular-eslint/component-selector\n\tselector: 'th[luIndexTableCell]',\n\tstandalone: true,\n\ttemplateUrl: './index-table-cell-header.component.html',\n\tstyleUrl: './index-table-cell-header.component.scss',\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\t'[class.indexTable-body-row-cell]': 'bodyRef !== null',\n\t\t'[class.indexTable-head-row-cell]': 'headRef !== null',\n\t\t'[class.indexTable-foot-row-cell]': 'footRef !== null',\n\t\t'[class.mod-alignStart]': 'align() === \"start\" || alignCol() === \"start\"',\n\t\t'[class.mod-alignCenter]': 'align() === \"center\" || alignCol() === \"center\"',\n\t\t'[class.mod-alignEnd]': 'align() === \"end\" || alignCol() === \"end\"',\n\t\t'[attr.aria-sort]': 'sort()',\n\t\t'[attr.scope]': 'bodyRef !== null ? \"row\" : \"col\"',\n\t\t'[class.mod-selectable]': 'selectable()',\n\t\t'[class.mod-actions]': 'actions()',\n\t\t'[style.--components-indexTable-cell-fixed-width]': 'inlineSize() !== 0 ? inlineSize() : null',\n\t},\n\timports: [NgTemplateOutlet, ButtonComponent, IconComponent, FormsModule],\n\tproviders: [\n\t\t{\n\t\t\tprovide: LU_INDEX_TABLE_CELL_INSTANCE,\n\t\t\tuseExisting: forwardRef(() => IndexTableRowCellHeaderComponent),\n\t\t},\n\t],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class IndexTableRowCellHeaderComponent extends BaseIndexTableCell {\n\telementRef = inject<ElementRef<HTMLTableCellElement>>(ElementRef);\n\n\tsort = model<IndexTableSort | null>(null);\n\tselectable = input(false, { transform: booleanAttribute });\n\thiddenLabel = input(false, { transform: booleanAttribute });\n\tactions = input(false, { transform: booleanAttribute });\n\tinlineSize = input(0, { transform: numberAttribute });\n\n\ttoggleSort(): void {\n\t\tif (this.sort()) {\n\t\t\tthis.sort.set(SORT_VALUES[(SORT_VALUES.indexOf(this.sort()) + 1) % SORT_VALUES.length]);\n\t\t}\n\t}\n}\n","@if (sort()) {\n\t<button luButton type=\"button\" class=\"tableSortable\" (click)=\"toggleSort()\">\n\t\t<ng-container *ngTemplateOutlet=\"contentTpl\" />\n\t\t<span class=\"tableSortable-arrows\">\n\t\t\t<lu-icon icon=\"chevronTop\" class=\"tableSortable-arrows-ascending\" />\n\t\t\t<lu-icon icon=\"chevronBottom\" class=\"tableSortable-arrows-descending\" />\n\t\t</span>\n\t</button>\n} @else {\n\t<ng-container *ngTemplateOutlet=\"contentTpl\" />\n}\n\n<ng-template #contentTpl>\n\t@if (hiddenLabel() || actions()) {\n\t\t<span class=\"pr-u-mask\"><ng-container *ngTemplateOutlet=\"content\" /></span>\n\t} @else {\n\t\t<ng-container *ngTemplateOutlet=\"content\" />\n\t}\n</ng-template>\n\n<ng-template #content><ng-content /></ng-template>\n","import { booleanAttribute, ChangeDetectionStrategy, Component, computed, forwardRef, input, ViewEncapsulation } from '@angular/core';\n\nimport { BaseIndexTableCell } from '../base-index-table-cell';\nimport { LU_INDEX_TABLE_CELL_INSTANCE } from '../index-table-cell.token';\n\n@Component({\n\t// eslint-disable-next-line @angular-eslint/component-selector\n\tselector: 'td[luIndexTableCell]',\n\tstandalone: true,\n\ttemplate: '<ng-content />',\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\t'[class.indexTable-body-row-cell]': 'bodyRef !== null',\n\t\t'[class.indexTable-head-row-cell]': 'headRef !== null',\n\t\t'[class.indexTable-foot-row-cell]': 'footRef !== null',\n\t\t'[class.mod-alignStart]': 'align() === \"start\" || alignCol() === \"start\"',\n\t\t'[class.mod-alignCenter]': 'align() === \"center\" || alignCol() === \"center\"',\n\t\t'[class.mod-alignEnd]': 'align() === \"end\" || alignCol() === \"end\"',\n\t\t'[class.mod-actions]': 'actions()',\n\t\t'[class.mod-allowTextSelection]': 'allowTextSelection()',\n\t\t'[class.mod-tfoot]': 'tfoot()',\n\t},\n\tproviders: [\n\t\t{\n\t\t\tprovide: LU_INDEX_TABLE_CELL_INSTANCE,\n\t\t\tuseExisting: forwardRef(() => IndexTableRowCellComponent),\n\t\t},\n\t],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class IndexTableRowCellComponent extends BaseIndexTableCell {\n\tallowTextSelection = input(false, { transform: booleanAttribute });\n\ttfoot = input(false, { transform: booleanAttribute });\n\n\tactions = computed(() => {\n\t\treturn this.tableRef.header().cols()[this.position()].actions();\n\t});\n}\n","import { ChangeDetectionStrategy, Component, forwardRef, ViewEncapsulation } from '@angular/core';\nimport { LU_INDEX_TABLE_FOOT_INSTANCE } from './index-table-foot.token';\n\n@Component({\n\t// eslint-disable-next-line @angular-eslint/component-selector\n\tselector: 'tfoot[luIndexTableFoot]',\n\tstandalone: true,\n\ttemplate: '<ng-content />',\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\tclass: 'indexTable-foot',\n\t},\n\tproviders: [\n\t\t{\n\t\t\tprovide: LU_INDEX_TABLE_FOOT_INSTANCE,\n\t\t\tuseExisting: forwardRef(() => IndexTableFootComponent),\n\t\t},\n\t],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class IndexTableFootComponent {}\n","import { ChangeDetectionStrategy, Component, contentChildren, forwardRef, inject, ViewEncapsulation } from '@angular/core';\n\nimport { IndexTableRowCellHeaderComponent } from '../index-table-cell-header/index-table-cell-header.component';\nimport { LU_INDEX_TABLE_INSTANCE } from '../index-table.token';\nimport { LU_INDEX_TABLE_HEAD_INSTANCE } from './index-table-head.token';\n\n@Component({\n\t// eslint-disable-next-line @angular-eslint/component-selector\n\tselector: 'thead[luIndexTableHead]',\n\tstandalone: true,\n\ttemplate: '<ng-content />',\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\tclass: 'indexTable-head',\n\t\t'[attr.inert]': 'tableRef.empty() ? \"inert\" : null',\n\t},\n\tproviders: [\n\t\t{\n\t\t\tprovide: LU_INDEX_TABLE_HEAD_INSTANCE,\n\t\t\tuseExisting: forwardRef(() => IndexTableHeadComponent),\n\t\t},\n\t],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class IndexTableHeadComponent {\n\tcols = contentChildren(IndexTableRowCellHeaderComponent, { descendants: true });\n\n\ttableRef = inject(LU_INDEX_TABLE_INSTANCE);\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport { booleanAttribute, ChangeDetectionStrategy, Component, contentChildren, ElementRef, forwardRef, inject, input, model, numberAttribute, ViewEncapsulation } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { FormFieldComponent } from '@lucca-front/ng/form-field';\nimport { CheckboxInputComponent } from '@lucca-front/ng/forms';\nimport { LuTooltipAnchorRef } from '@lucca-front/ng/tooltip';\nimport { LU_INDEX_TABLE_BODY_INSTANCE } from '../index-table-body/index-table-body.token';\nimport { LU_INDEX_TABLE_CELL_INSTANCE } from '../index-table-cell.token';\nimport { LU_INDEX_TABLE_FOOT_INSTANCE } from '../index-table-foot/index-table-foot.token';\nimport { LU_INDEX_TABLE_HEAD_INSTANCE } from '../index-table-head/index-table-head.token';\nimport { LU_INDEX_TABLE_INSTANCE } from '../index-table.token';\nimport { LU_INDEX_TABLE_ROW_INSTANCE } from './index-table-row.token';\n\n@Component({\n\t// eslint-disable-next-line @angular-eslint/component-selector\n\tselector: 'tr[luIndexTableRow]',\n\tstandalone: true,\n\ttemplateUrl: './index-table-row.component.html',\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\t'[class.indexTable-body-row]': 'bodyRef !== null',\n\t\t'[class.indexTable-head-row]': 'headRef !== null',\n\t\t'[class.indexTable-foot-row]': 'footRef !== null',\n\t\t'[class.mod-selectable]': 'tableRef.selectable()',\n\t\t'[class.mod-stack2]': 'stack() === 2',\n\t\t'[class.mod-stack3]': 'stack() === 3',\n\t},\n\timports: [CheckboxInputComponent, FormFieldComponent, FormsModule, NgTemplateOutlet],\n\tproviders: [\n\t\t{\n\t\t\tprovide: LU_INDEX_TABLE_ROW_INSTANCE,\n\t\t\tuseExisting: forwardRef(() => IndexTableRowComponent),\n\t\t},\n\t],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class IndexTableRowComponent implements LuTooltipAnchorRef {\n\treadonly #elementRef = inject<ElementRef<HTMLTableRowElement>>(ElementRef);\n\n\tbodyRef = inject(LU_INDEX_TABLE_BODY_INSTANCE, { optional: true });\n\theadRef = inject(LU_INDEX_TABLE_HEAD_INSTANCE, { optional: true });\n\tfootRef = inject(LU_INDEX_TABLE_FOOT_INSTANCE, { optional: true });\n\n\tpublic readonly cells = contentChildren(LU_INDEX_TABLE_CELL_INSTANCE);\n\n\tprotected tableRef = inject(LU_INDEX_TABLE_INSTANCE);\n\n\tgetElementRef(): ElementRef<HTMLTableRowElement> {\n\t\treturn this.#elementRef;\n\t}\n\n\tselected = model<boolean>(false);\n\tselectedLabel = input<string | null>(null);\n\tdisabled = input(false, { transform: booleanAttribute });\n\tstack = input(1, { transform: numberAttribute });\n}\n","@if (tableRef.selectable()) {\n\t@if (headRef) {\n\t\t<th class=\"indexTable-head-row-transparentCell\" scope=\"col\"><ng-container *ngTemplateOutlet=\"input\" /></th>\n\t} @else {\n\t\t<td [class.indexTable-body-row-transparentCell]=\"bodyRef !== null\" [class.indexTable-foot-row-transparentCell]=\"footRef !== null\">\n\t\t\t<ng-container *ngTemplateOutlet=\"input\" />\n\t\t</td>\n\t}\n}\n<ng-content />\n\n<ng-template #input>\n\t@if (!footRef && selectedLabel()) {\n\t\t<lu-form-field [label]=\"selectedLabel()\" hiddenLabel>\n\t\t\t<lu-checkbox-input class=\"indexTable-head-row-cell-checkbox\" [(ngModel)]=\"selected\" [disabled]=\"disabled()\" />\n\t\t</lu-form-field>\n\t}\n</ng-template>\n","import { booleanAttribute, ChangeDetectionStrategy, Component, computed, contentChild, contentChildren, ElementRef, forwardRef, input, viewChild, ViewEncapsulation } from '@angular/core';\nimport { ResponsiveConfig } from '@lucca-front/ng/core';\n\nimport { IndexTableHeadComponent } from './index-table-head/index-table-head.component';\nimport { IndexTableRowComponent } from './index-table-row/index-table-row.component';\nimport { LU_INDEX_TABLE_INSTANCE } from './index-table.token';\n\n@Component({\n\tselector: 'lu-index-table',\n\tstandalone: true,\n\ttemplateUrl: './index-table.component.html',\n\tstyleUrl: './index-table.component.scss',\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\tclass: 'indexTableWrapper',\n\t},\n\tproviders: [\n\t\t{\n\t\t\tprovide: LU_INDEX_TABLE_INSTANCE,\n\t\t\tuseExisting: forwardRef(() => IndexTableComponent),\n\t\t},\n\t],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class IndexTableComponent {\n\ttableRef = viewChild<ElementRef<Element>>('tableRef');\n\n\tselectable = input(false, { transform: booleanAttribute });\n\tlayoutFixed = input(false, { transform: booleanAttribute });\n\tempty = input(false, { transform: booleanAttribute });\n\n\tresponsive = input<ResponsiveConfig<'layoutFixed', true>>({});\n\n\trows = contentChildren(IndexTableRowComponent, { descendants: true });\n\theader = contentChild(IndexTableHeadComponent, { descendants: true });\n\n\tcols = computed(() => this.header()?.cols());\n\n\tclassMods = computed(() => {\n\t\treturn {\n\t\t\tindexTable: true,\n\t\t\t['mod-selectable']: this.selectable(),\n\t\t\t['mod-layoutFixed']: this.layoutFixed(),\n\t\t\t...Object.entries(this.responsive()).reduce((acc, [key, value]) => {\n\t\t\t\treturn {\n\t\t\t\t\t...acc,\n\t\t\t\t\t[`mod-${key}`]: value,\n\t\t\t\t};\n\t\t\t}, {}),\n\t\t};\n\t});\n}\n","<table [class]=\"classMods()\" [attr.role]=\"empty() ? 'presentation' : null\" #tableRef>\n\t<ng-content />\n</table>\n<div class=\"indexTableWrapper-pagination\">\n\t<ng-content select=\"[indexTablePagination]\" />\n</div>\n","/**\n * Available IndexTableComponent types\n */\n\nexport const INDEX_TABLE_ALIGN = ['start', 'center', 'end'] as const;\nexport type IndexTableAlign = (typeof INDEX_TABLE_ALIGN)[number];\n\nexport const INDEX_TABLE_SORT = ['none', 'ascending', 'descending'] as const;\nexport type IndexTableSort = (typeof INDEX_TABLE_SORT)[number];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;MAYa,6BAA6B,CAAA;+GAA7B,6BAA6B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA7B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,6BAA6B,2JAP/B,gBAAgB,EAAA,QAAA,EAAA,IAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;4FAOd,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBAVzC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;;AAEV,oBAAA,QAAQ,EAAE,2BAA2B;AACrC,oBAAA,QAAQ,EAAE,gBAAgB;oBAC1B,aAAa,EA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EAAA,CAAA,UAAA,CAAA,MAC9C,uBAAuB,CAAA,EAAA,EAAA,GAAE,EAAE,WAAW,EAAE,IAAI,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AElCrE;;AAEG;AAEI,MAAM,iBAAiB,GAAG,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK;AAGnD,MAAM,gBAAgB,GAAG,CAAC,MAAM,EAAE,WAAW,EAAE,YAAY;;ACPlE;;AAEG;;;;"}
|
|
@@ -41,10 +41,10 @@ class InlineMessageComponent {
|
|
|
41
41
|
isStringPortalContent(message) {
|
|
42
42
|
return typeof message === 'string';
|
|
43
43
|
}
|
|
44
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
45
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
44
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: InlineMessageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
45
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.14", type: InlineMessageComponent, isStandalone: true, selector: "lu-inline-message", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null }, state: { classPropertyName: "state", publicName: "state", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, withTooltip: { classPropertyName: "withTooltip", publicName: "withTooltip", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "inlineMessage" }, providers: [LuClass], ngImport: i0, template: "@if (state() && state() !== \"default\") {\n\t<span class=\"lucca-icon inlineMessage-statusIcon\" aria-hidden=\"true\"></span>\n}\n@if (isStringPortalContent(label())) {\n\t<p\n\t\tclass=\"inlineMessage-content\"\n\t\t[class.pr-u-ellipsis]=\"withTooltip()\"\n\t\tluTooltip\n\t\tluTooltipWhenEllipsis\n\t\t[luTooltipDisabled]=\"!withTooltip()\"\n\t>\n\t\t{{ label() }}\n\t</p>\n} @else {\n\t<div class=\"inlineMessage-content\"><ng-container *luPortal=\"label()\" /></div>\n}\n", styles: ["@layer components{.inlineMessage{--components-inlineMessage-font: var(--pr-t-font-body-S);--components-inlineMessage-color: var(--pr-t-color-text-subtle);--components-inlineMessage-icon-color: var(--pr-t-color-text-subtle);display:flex;gap:var(--components-inlineMessage-gap);grid-column:2;font:var(--components-inlineMessage-font);color:var(--components-inlineMessage-color);border-radius:var(--pr-t-border-radius-50)}.inlineMessage:has(.inlineMessage-content:focus-visible){outline:2px solid var(--palettes-700, var(--palettes-product-700));outline-offset:2px}.inlineMessage-content:not(p){display:flex;gap:var(--components-inlineMessage-gap);margin:0}.inlineMessage-content:is(p){outline:none}.inlineMessage-statusIcon,.inlineMessage>.lucca-icon:first-child{--icon-size: 1rem;color:var(--components-inlineMessage-icon-color);margin-block-start:2px}}@layer mods{.inlineMessage.mod-S{--components-inlineMessage-font: var(--pr-t-font-body-XS)}.inlineMessage.mod-S .inlineMessage-statusIcon,.inlineMessage.mod-S>.lucca-icon:first-child{--icon-size: .75rem}.inlineMessage.is-success{--components-inlineMessage-icon-color: var(--palettes-success-700);--components-inlineMessage-gap: var(--pr-t-spacings-50)}.inlineMessage.is-success .inlineMessage-statusIcon:before,.inlineMessage.is-success>.lucca-icon:first-child:before{content:\"\\e9ed\"/\"\"}.inlineMessage.is-warning{--components-inlineMessage-icon-color: var(--palettes-warning-700);--components-inlineMessage-gap: var(--pr-t-spacings-50)}.inlineMessage.is-warning .inlineMessage-statusIcon:before,.inlineMessage.is-warning>.lucca-icon:first-child:before{content:\"\\e992\"/\"\"}.inlineMessage.is-error{--components-inlineMessage-icon-color: var(--palettes-error-700);--components-inlineMessage-color: var(--palettes-error-700);--components-inlineMessage-gap: var(--pr-t-spacings-50)}.inlineMessage.is-error .inlineMessage-statusIcon:before,.inlineMessage.is-error>.lucca-icon:first-child:before{content:\"\\e92c\"/\"\"}}\n"], dependencies: [{ kind: "directive", type: PortalDirective, selector: "[luPortal]", inputs: ["luPortal", "luPortalContext"] }, { kind: "ngmodule", type: LuTooltipModule }, { kind: "directive", type: i1.LuTooltipTriggerDirective, selector: "[luTooltip]", inputs: ["luTooltip", "luTooltipEnterDelay", "luTooltipLeaveDelay", "luTooltipDisabled", "luTooltipOnlyForDisplay", "luTooltipPosition", "luTooltipWhenEllipsis", "luTooltipAnchor", "id"], exportAs: ["luTooltip"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
46
46
|
}
|
|
47
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
47
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: InlineMessageComponent, decorators: [{
|
|
48
48
|
type: Component,
|
|
49
49
|
args: [{ selector: 'lu-inline-message', imports: [PortalDirective, LuTooltipModule], providers: [LuClass], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
50
50
|
class: 'inlineMessage',
|
|
@@ -53,15 +53,15 @@ class LuInputClearerComponent extends ALuClearer {
|
|
|
53
53
|
$event.preventDefault();
|
|
54
54
|
$event.stopPropagation();
|
|
55
55
|
}
|
|
56
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
57
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.
|
|
56
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: LuInputClearerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
57
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.14", type: LuInputClearerComponent, isStandalone: true, selector: "lu-input-clearer", inputs: { intl: { classPropertyName: "intl", publicName: "intl", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onClear: "onClear" }, providers: [
|
|
58
58
|
{
|
|
59
59
|
provide: ALuClearer,
|
|
60
60
|
useExisting: forwardRef(() => LuInputClearerComponent),
|
|
61
61
|
},
|
|
62
62
|
], exportAs: ["luClearer"], usesInheritance: true, ngImport: i0, template: "<a href=\"#\" role=\"button\" class=\"clear\" (click)=\"onClick($event)\">\n\t<span class=\"pr-u-mask\">{{ intl().clear }}</span>\n</a>\n", styles: ["@layer base{:root{--components-options-item-padding-vertical: var(--pr-t-spacings-50);--components-options-item-padding-horizontal: var(--pr-t-spacings-100);--components-options-item-multiple-padding: 2.25rem;--components-options-item-icon-color: var(--palettes-neutral-800);--components-options-checkbox-size: 1.25rem;--components-options-checkbox-color: var(--palettes-700, var(--palettes-product-700));--components-options-checkbox-border-radius: var(--pr-t-border-radius-small);--components-options-checkbox-border-color: var(--palettes-neutral-700);--components-options-establishment-multiple-padding: 2rem}}@layer reset,base,components,mods,product,utils;@layer components{:host{display:none}}@layer mods{:host-context(.textfield-input.is-filled){display:block}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]){display:none}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
63
63
|
}
|
|
64
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
64
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: LuInputClearerComponent, decorators: [{
|
|
65
65
|
type: Component,
|
|
66
66
|
args: [{ selector: 'lu-input-clearer', changeDetection: ChangeDetectionStrategy.OnPush, exportAs: 'luClearer', providers: [
|
|
67
67
|
{
|
|
@@ -77,11 +77,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
|
|
|
77
77
|
* @deprecated use `LuInputClearerComponent` instead
|
|
78
78
|
*/
|
|
79
79
|
class LuInputClearerModule {
|
|
80
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
81
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
82
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
80
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: LuInputClearerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
81
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.14", ngImport: i0, type: LuInputClearerModule, imports: [LuInputClearerComponent], exports: [LuInputClearerComponent] }); }
|
|
82
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: LuInputClearerModule }); }
|
|
83
83
|
}
|
|
84
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
84
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: LuInputClearerModule, decorators: [{
|
|
85
85
|
type: NgModule,
|
|
86
86
|
args: [{
|
|
87
87
|
imports: [LuInputClearerComponent],
|
|
@@ -119,8 +119,8 @@ class LuInputDisplayerDirective extends ALuInputDisplayer {
|
|
|
119
119
|
getViewRef(value) {
|
|
120
120
|
return this.template.createEmbeddedView({ $implicit: value });
|
|
121
121
|
}
|
|
122
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
123
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
122
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: LuInputDisplayerDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
123
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.14", type: LuInputDisplayerDirective, isStandalone: true, selector: "[luDisplayer]", inputs: { argMultiple: ["luDisplayerMultiple", "argMultiple"], inputMultiple: ["multiple", "inputMultiple"] }, providers: [
|
|
124
124
|
{
|
|
125
125
|
provide: ALuInputDisplayer,
|
|
126
126
|
useExisting: forwardRef(() => LuInputDisplayerDirective),
|
|
@@ -128,7 +128,7 @@ class LuInputDisplayerDirective extends ALuInputDisplayer {
|
|
|
128
128
|
},
|
|
129
129
|
], usesInheritance: true, ngImport: i0 }); }
|
|
130
130
|
}
|
|
131
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
131
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: LuInputDisplayerDirective, decorators: [{
|
|
132
132
|
type: Directive,
|
|
133
133
|
args: [{
|
|
134
134
|
selector: '[luDisplayer]',
|
|
@@ -157,11 +157,11 @@ class LuInputDisplayerContext {
|
|
|
157
157
|
* @deprecated use `LuInputDisplayerDirective` instead
|
|
158
158
|
*/
|
|
159
159
|
class LuInputDisplayerModule {
|
|
160
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
161
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
162
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
160
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: LuInputDisplayerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
161
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.14", ngImport: i0, type: LuInputDisplayerModule, imports: [LuInputDisplayerDirective], exports: [LuInputDisplayerDirective] }); }
|
|
162
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: LuInputDisplayerModule }); }
|
|
163
163
|
}
|
|
164
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
164
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: LuInputDisplayerModule, decorators: [{
|
|
165
165
|
type: NgModule,
|
|
166
166
|
args: [{
|
|
167
167
|
imports: [LuInputDisplayerDirective],
|
|
@@ -197,10 +197,10 @@ class LuInputDirective {
|
|
|
197
197
|
const val = this._ngControl.value;
|
|
198
198
|
this.applyClasses(val);
|
|
199
199
|
}
|
|
200
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
201
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
200
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: LuInputDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.NgControl }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
201
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.14", type: LuInputDirective, isStandalone: true, selector: "[luInput]", ngImport: i0 }); }
|
|
202
202
|
}
|
|
203
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
203
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: LuInputDirective, decorators: [{
|
|
204
204
|
type: Directive,
|
|
205
205
|
args: [{
|
|
206
206
|
selector: '[luInput]',
|
|
@@ -265,11 +265,11 @@ class ALuInput {
|
|
|
265
265
|
* @deprecated use `LuInputDirective, LuInputDisplayerDirective, LuInputClearerComponent` instead
|
|
266
266
|
*/
|
|
267
267
|
class LuInputModule {
|
|
268
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
269
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
270
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
268
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: LuInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
269
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.14", ngImport: i0, type: LuInputModule, imports: [LuInputDirective, LuInputDisplayerDirective, LuInputClearerComponent], exports: [LuInputDirective, LuInputDisplayerDirective, LuInputClearerComponent] }); }
|
|
270
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: LuInputModule }); }
|
|
271
271
|
}
|
|
272
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
272
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: LuInputModule, decorators: [{
|
|
273
273
|
type: NgModule,
|
|
274
274
|
args: [{
|
|
275
275
|
imports: [LuInputDirective, LuInputDisplayerDirective, LuInputClearerComponent],
|
|
@@ -5,6 +5,8 @@ import { InjectionToken, Attribute, Directive, input, inject, Injector, booleanA
|
|
|
5
5
|
import * as i1 from '@angular/router';
|
|
6
6
|
import { RouterLink, Router, UrlTree } from '@angular/router';
|
|
7
7
|
import { intlInputOptions } from '@lucca-front/ng/core';
|
|
8
|
+
import { LU_INDEX_TABLE_INSTANCE } from '@lucca-front/ng/index-table';
|
|
9
|
+
import { LU_DATA_TABLE_INSTANCE } from '@lucca-front/ng/data-table';
|
|
8
10
|
|
|
9
11
|
const Translations = {
|
|
10
12
|
en: {
|
|
@@ -45,10 +47,10 @@ class LuRouterLink extends RouterLink {
|
|
|
45
47
|
get publicReactiveHref() {
|
|
46
48
|
return this.reactiveHref;
|
|
47
49
|
}
|
|
48
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
49
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
50
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: LuRouterLink, deps: [{ token: i1.Router }, { token: i1.ActivatedRoute }, { token: 'tabindex', attribute: true }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i2.LocationStrategy }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
51
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.14", type: LuRouterLink, isStandalone: true, selector: "[luRouterLink]", usesInheritance: true, ngImport: i0 }); }
|
|
50
52
|
}
|
|
51
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
53
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: LuRouterLink, decorators: [{
|
|
52
54
|
type: Directive,
|
|
53
55
|
args: [{
|
|
54
56
|
selector: '[luRouterLink]',
|
|
@@ -66,6 +68,8 @@ class LinkComponent {
|
|
|
66
68
|
this.#injector = inject(Injector);
|
|
67
69
|
this.router = inject(Router);
|
|
68
70
|
this.location = inject(Location);
|
|
71
|
+
this.insideIndexTable = inject(LU_INDEX_TABLE_INSTANCE, { optional: true });
|
|
72
|
+
this.insideDataTable = inject(LU_DATA_TABLE_INSTANCE, { optional: true });
|
|
69
73
|
/**
|
|
70
74
|
* Target page address. Use only for external links or pages not recognized by the router.
|
|
71
75
|
*/
|
|
@@ -86,6 +90,10 @@ class LinkComponent {
|
|
|
86
90
|
* Indicates that the link will open in a new tab
|
|
87
91
|
*/
|
|
88
92
|
this.external = input(false, { ...(ngDevMode ? { debugName: "external" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
93
|
+
/**
|
|
94
|
+
* External icon only visible on hover/focus
|
|
95
|
+
*/
|
|
96
|
+
this.hiddenIcon = input(false, { ...(ngDevMode ? { debugName: "hiddenIcon" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
89
97
|
const href = this.luHref;
|
|
90
98
|
effect(() => {
|
|
91
99
|
if (href()) {
|
|
@@ -125,16 +133,17 @@ class LinkComponent {
|
|
|
125
133
|
afterNextRender(() => window.open(externalUrl, '_blank'), { injector: this.#injector });
|
|
126
134
|
}
|
|
127
135
|
}
|
|
128
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
129
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
136
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: LinkComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
137
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.14", type: LinkComponent, isStandalone: true, selector: "a[luLink], button[luLink]", inputs: { intl: { classPropertyName: "intl", publicName: "intl", isSignal: true, isRequired: false, transformFunction: null }, luHref: { classPropertyName: "luHref", publicName: "href", isSignal: true, isRequired: false, transformFunction: null }, routerLinkCommands: { classPropertyName: "routerLinkCommands", publicName: "luLink", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, decorationHover: { classPropertyName: "decorationHover", publicName: "decorationHover", isSignal: true, isRequired: false, transformFunction: null }, external: { classPropertyName: "external", publicName: "external", isSignal: true, isRequired: false, transformFunction: null }, hiddenIcon: { classPropertyName: "hiddenIcon", publicName: "hiddenIcon", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "click": "redirect()" }, properties: { "attr.href": "routerLink.publicReactiveHref()", "class.mod-decorationHover": "decorationHover()", "class.mod-icon": "external()", "class.mod-hiddenIcon": "hiddenIcon() || (this.insideIndexTable && external()) || (this.insideDataTable && external())", "class.is-disabled": "this.disabled()", "attr.rel": "external() && !disabled() ? \"noopener noreferrer\" : null", "attr.target": "external() && !disabled() ? \"_blank\" : null", "attr.role": "disabled() ? \"presentation\" : null" }, classAttribute: "link" }, hostDirectives: [{ directive: LuRouterLink, inputs: ["preserveFragment", "preserveFragment", "skipLocationChange", "skipLocationChange", "replaceUrl", "replaceUrl", "queryParams", "queryParams", "fragment", "fragment", "queryParamsHandling", "queryParamsHandling", "state", "state", "info", "info", "relativeTo", "relativeTo"] }], ngImport: i0, template: "<span class=\"link-text\"><ng-content /></span>\n@if (external()) {\n\t<span class=\"link-icon\">\n\t\t<span aria-hidden=\"true\" class=\"lucca-icon icon-arrowExternal\"></span>\n\t</span>\n\t<span class=\"pr-u-mask\">{{ intl().external }}</span>\n}\n", styles: ["@charset \"UTF-8\";@layer components{.link{--components-link-textDecoration: underline;--components-link-text-textDecoration: underline;--components-link-color: var(--commons-text-link-color);--components-link-color-hover: var(--commons-text-link-hover);--components-link-cursor: pointer;--components-link-icon-marginInlineStart: 0;--components-link-icon-opacity: 1;background-color:transparent;color:var(--components-link-color);cursor:var(--components-link-cursor);font-family:inherit;border:0;margin:0;padding:0;text-decoration:var(--components-link-textDecoration)}.link:not(:disabled,.is-disabled):hover{color:var(--components-link-color-hover)}.link:not(:disabled,.is-disabled):focus-visible{outline:2px solid var(--palettes-700, var(--palettes-product-700));outline-offset:2px;border-radius:var(--pr-t-border-radius-small)}.link .lucca-icon{text-decoration:none;font-size:1em;vertical-align:baseline;position:relative;top:.075rem;margin-inline-start:var(--components-link-icon-marginInlineStart)}.link .link-text{text-decoration:var(--components-link-text-textDecoration)}.link-icon{white-space:nowrap;opacity:var(--components-link-icon-opacity);transition-property:opacity;transition-duration:var(--commons-animations-durations-fast)}.link-icon:before{content:\"\\a0\"/\"\"}}@layer mods{.link.mod-decorationHover{--components-link-textDecoration: none;--components-link-text-textDecoration: none}.link.mod-decorationHover:hover{--components-link-text-textDecoration: underline}.link.mod-decorationHover:hover:not(:has(.link-text)){--components-link-textDecoration: underline}@media not (any-pointer:coarse){.link.mod-hiddenIcon:not(:hover,:focus-visible){--components-link-icon-opacity: 0}}.link:is(:disabled,.is-disabled){--components-link-color: var(--pr-t-color-text-disabled);--components-link-cursor: not-allowed}.link:has(.link-text){--components-link-textDecoration: none}.link:not(:has(.link-icon)){--components-link-icon-marginInlineStart: .2em}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
130
138
|
}
|
|
131
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
139
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: LinkComponent, decorators: [{
|
|
132
140
|
type: Component,
|
|
133
141
|
args: [{ selector: 'a[luLink], button[luLink]', standalone: true, encapsulation: ViewEncapsulation.None, host: {
|
|
134
142
|
class: 'link',
|
|
135
143
|
'[attr.href]': 'routerLink.publicReactiveHref()',
|
|
136
144
|
'[class.mod-decorationHover]': 'decorationHover()',
|
|
137
145
|
'[class.mod-icon]': 'external()',
|
|
146
|
+
'[class.mod-hiddenIcon]': 'hiddenIcon() || (this.insideIndexTable && external()) || (this.insideDataTable && external())',
|
|
138
147
|
'[class.is-disabled]': 'this.disabled()',
|
|
139
148
|
'[attr.rel]': 'external() && !disabled() ? "noopener noreferrer" : null',
|
|
140
149
|
'[attr.target]': 'external() && !disabled() ? "_blank" : null',
|
|
@@ -145,12 +154,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
|
|
|
145
154
|
directive: LuRouterLink,
|
|
146
155
|
inputs: ['preserveFragment', 'skipLocationChange', 'replaceUrl', 'queryParams', 'fragment', 'queryParamsHandling', 'state', 'info', 'relativeTo'],
|
|
147
156
|
},
|
|
148
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<span class=\"link-text\"><ng-content /></span>\n@if (external()) {\n\t<span class=\"link-icon\">\n\t\t<span aria-hidden=\"true\" class=\"lucca-icon icon-arrowExternal\"></span>\n\t</span>\n\t<span class=\"pr-u-mask\">{{ intl().external }}</span>\n}\n", styles: ["@charset \"UTF-8\";@layer components{.link{--components-link-textDecoration: underline;--components-link-text-textDecoration: underline;--components-link-color: var(--commons-text-link-color);--components-link-color-hover: var(--commons-text-link-hover);--components-link-cursor: pointer;--components-link-icon-marginInlineStart: 0;background-color:transparent;color:var(--components-link-color);cursor:var(--components-link-cursor);font-family:inherit;border:0;margin:0;padding:0;text-decoration:var(--components-link-textDecoration)}.link:not(:disabled,.is-disabled):hover{color:var(--components-link-color-hover)}.link:not(:disabled,.is-disabled):focus-visible{outline:2px solid var(--palettes-700, var(--palettes-product-700));outline-offset:2px;border-radius:var(--pr-t-border-radius-small)}.link .lucca-icon{text-decoration:none;font-size:1em;vertical-align:baseline;position:relative;top:.075rem;margin-inline-start:var(--components-link-icon-marginInlineStart)}.link .link-text{text-decoration:var(--components-link-text-textDecoration)}.link-icon{white-space:nowrap}.link-icon:before{content:\"\\a0\"/\"\"}}@layer mods{.link.mod-decorationHover{--components-link-textDecoration: none;--components-link-text-textDecoration: none}.link.mod-decorationHover:hover{--components-link-text-textDecoration: underline}.link.mod-decorationHover:hover:not(:has(.link-text)){--components-link-textDecoration: underline}.link:is(:disabled,.is-disabled){--components-link-color: var(--pr-t-color-text-disabled);--components-link-cursor: not-allowed}.link:has(.link-text){--components-link-textDecoration: none}.link:not(:has(.link-icon)){--components-link-icon-marginInlineStart: .2em}}\n"] }]
|
|
149
|
-
}], ctorParameters: () => [], propDecorators: { intl: [{ type: i0.Input, args: [{ isSignal: true, alias: "intl", required: false }] }], luHref: [{ type: i0.Input, args: [{ isSignal: true, alias: "href", required: false }] }], routerLinkCommands: [{ type: i0.Input, args: [{ isSignal: true, alias: "luLink", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], decorationHover: [{ type: i0.Input, args: [{ isSignal: true, alias: "decorationHover", required: false }] }], external: [{ type: i0.Input, args: [{ isSignal: true, alias: "external", required: false }] }] } });
|
|
157
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<span class=\"link-text\"><ng-content /></span>\n@if (external()) {\n\t<span class=\"link-icon\">\n\t\t<span aria-hidden=\"true\" class=\"lucca-icon icon-arrowExternal\"></span>\n\t</span>\n\t<span class=\"pr-u-mask\">{{ intl().external }}</span>\n}\n", styles: ["@charset \"UTF-8\";@layer components{.link{--components-link-textDecoration: underline;--components-link-text-textDecoration: underline;--components-link-color: var(--commons-text-link-color);--components-link-color-hover: var(--commons-text-link-hover);--components-link-cursor: pointer;--components-link-icon-marginInlineStart: 0;--components-link-icon-opacity: 1;background-color:transparent;color:var(--components-link-color);cursor:var(--components-link-cursor);font-family:inherit;border:0;margin:0;padding:0;text-decoration:var(--components-link-textDecoration)}.link:not(:disabled,.is-disabled):hover{color:var(--components-link-color-hover)}.link:not(:disabled,.is-disabled):focus-visible{outline:2px solid var(--palettes-700, var(--palettes-product-700));outline-offset:2px;border-radius:var(--pr-t-border-radius-small)}.link .lucca-icon{text-decoration:none;font-size:1em;vertical-align:baseline;position:relative;top:.075rem;margin-inline-start:var(--components-link-icon-marginInlineStart)}.link .link-text{text-decoration:var(--components-link-text-textDecoration)}.link-icon{white-space:nowrap;opacity:var(--components-link-icon-opacity);transition-property:opacity;transition-duration:var(--commons-animations-durations-fast)}.link-icon:before{content:\"\\a0\"/\"\"}}@layer mods{.link.mod-decorationHover{--components-link-textDecoration: none;--components-link-text-textDecoration: none}.link.mod-decorationHover:hover{--components-link-text-textDecoration: underline}.link.mod-decorationHover:hover:not(:has(.link-text)){--components-link-textDecoration: underline}@media not (any-pointer:coarse){.link.mod-hiddenIcon:not(:hover,:focus-visible){--components-link-icon-opacity: 0}}.link:is(:disabled,.is-disabled){--components-link-color: var(--pr-t-color-text-disabled);--components-link-cursor: not-allowed}.link:has(.link-text){--components-link-textDecoration: none}.link:not(:has(.link-icon)){--components-link-icon-marginInlineStart: .2em}}\n"] }]
|
|
158
|
+
}], ctorParameters: () => [], propDecorators: { intl: [{ type: i0.Input, args: [{ isSignal: true, alias: "intl", required: false }] }], luHref: [{ type: i0.Input, args: [{ isSignal: true, alias: "href", required: false }] }], routerLinkCommands: [{ type: i0.Input, args: [{ isSignal: true, alias: "luLink", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], decorationHover: [{ type: i0.Input, args: [{ isSignal: true, alias: "decorationHover", required: false }] }], external: [{ type: i0.Input, args: [{ isSignal: true, alias: "external", required: false }] }], hiddenIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "hiddenIcon", required: false }] }] } });
|
|
159
|
+
|
|
160
|
+
const LU_LINK_INSTANCE = new InjectionToken('LU_LINK_INSTANCE');
|
|
150
161
|
|
|
151
162
|
/**
|
|
152
163
|
* Generated bundle index. Do not edit.
|
|
153
164
|
*/
|
|
154
165
|
|
|
155
|
-
export { LinkComponent, LuRouterLink };
|
|
166
|
+
export { LU_LINK_INSTANCE, LinkComponent, LuRouterLink };
|
|
156
167
|
//# sourceMappingURL=lucca-front-ng-link.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lucca-front-ng-link.mjs","sources":["../../../packages/ng/link/translations.ts","../../../packages/ng/link/link.translate.ts","../../../packages/ng/link/lu-router-link.ts","../../../packages/ng/link/link.component.ts","../../../packages/ng/link/link.component.html","../../../packages/ng/link/lucca-front-ng-link.ts"],"sourcesContent":["export const Translations = {\n\ten: {\n\t\texternal: '(Open in a new window.)',\n\t},\n\tde: {\n\t\texternal: '(In einem neuen Fenster öffnen.)',\n\t},\n\tfr: {\n\t\texternal: '(Ouvrir dans une nouvelle fenêtre.)',\n\t},\n\tit: {\n\t\texternal: '(Aprire in una nuova finestra.)',\n\t},\n\tnl: {\n\t\texternal: '(Open in een nieuw venster.)',\n\t},\n\tes: {\n\t\texternal: '(Abrir en una nueva ventana.)',\n\t},\n\tpt: {\n\t\texternal: '(Abrir numa nova janela.)',\n\t},\n};\n","import { InjectionToken } from '@angular/core';\nimport { LuTranslation } from '@lucca-front/ng/core';\nimport { Translations } from './translations';\n\nexport const LU_LINK_TRANSLATIONS = new InjectionToken('luLinkTranslations', {\n\tfactory: () => luLinkTranslations,\n});\n\nexport interface LinkTranslate {\n\texternal: string;\n}\n\nexport const luLinkTranslations: LuTranslation<LinkTranslate> = Translations;\n","import { LocationStrategy } from '@angular/common';\nimport { Attribute, Directive, ElementRef, Renderer2, WritableSignal } from '@angular/core';\nimport { ActivatedRoute, Router, RouterLink } from '@angular/router';\n\n@Directive({\n\tselector: '[luRouterLink]',\n})\nexport class LuRouterLink extends RouterLink {\n\t// Workaround for a storybook bug = implement the constructor https://github.com/storybookjs/storybook/issues/23534#issuecomment-2042888436\n\tconstructor(router: Router, route: ActivatedRoute, @Attribute('tabindex') tabIndexAttribute: string | null | undefined, renderer: Renderer2, el: ElementRef, locationStrategy?: LocationStrategy) {\n\t\tsuper(router, route, tabIndexAttribute, renderer, el, locationStrategy);\n\t}\n\n\t// With angular 20, RouterLink changed to use an internal, protected, readonly signal that is directly bound to `attr.href`, breaking any possibility to override it\n\t// So we had to do this to expose it to our `luLink` component.\n\tget publicReactiveHref(): WritableSignal<string | null> {\n\t\treturn this.reactiveHref;\n\t}\n}\n","import { Location } from '@angular/common';\nimport { afterNextRender, booleanAttribute, ChangeDetectionStrategy, Component, effect, inject, Injector, input, ViewEncapsulation } from '@angular/core';\nimport { Router, UrlTree } from '@angular/router';\nimport { intlInputOptions } from '@lucca-front/ng/core';\nimport { LU_LINK_TRANSLATIONS } from './link.translate';\nimport { LuRouterLink } from './lu-router-link';\n\n@Component({\n\t// eslint-disable-next-line @angular-eslint/component-selector\n\tselector: 'a[luLink], button[luLink]',\n\tstandalone: true,\n\ttemplateUrl: './link.component.html',\n\tstyleUrl: './link.component.scss',\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\tclass: 'link',\n\t\t'[attr.href]': 'routerLink.publicReactiveHref()',\n\t\t'[class.mod-decorationHover]': 'decorationHover()',\n\t\t'[class.mod-icon]': 'external()',\n\t\t'[class.is-disabled]': 'this.disabled()',\n\t\t'[attr.rel]': 'external() && !disabled() ? \"noopener noreferrer\" : null',\n\t\t'[attr.target]': 'external() && !disabled() ? \"_blank\" : null',\n\t\t'[attr.role]': 'disabled() ? \"presentation\" : null',\n\t\t'(click)': 'redirect()',\n\t},\n\thostDirectives: [\n\t\t{\n\t\t\tdirective: LuRouterLink,\n\t\t\tinputs: ['preserveFragment', 'skipLocationChange', 'replaceUrl', 'queryParams', 'fragment', 'queryParamsHandling', 'state', 'info', 'relativeTo'],\n\t\t},\n\t],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class LinkComponent {\n\tintl = input(...intlInputOptions(LU_LINK_TRANSLATIONS));\n\trouterLink = inject(LuRouterLink);\n\t#injector = inject(Injector);\n\trouter = inject(Router);\n\tlocation = inject(Location);\n\n\t/**\n\t * Target page address. Use only for external links or pages not recognized by the router.\n\t */\n\treadonly luHref = input('', { alias: 'href' });\n\n\t/**\n\t * Target page address\n\t */\n\treadonly routerLinkCommands = input<LuRouterLink['routerLink'] | null>(null, { alias: 'luLink' });\n\n\t/**\n\t * Disables the link\n\t */\n\treadonly disabled = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Underlines the link only on hover\n\t */\n\treadonly decorationHover = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Indicates that the link will open in a new tab\n\t */\n\treadonly external = input(false, { transform: booleanAttribute });\n\n\threfBackup: string;\n\n\tconstructor() {\n\t\tconst href = this.luHref;\n\n\t\teffect(() => {\n\t\t\tif (href()) {\n\t\t\t\tthis.hrefBackup = href();\n\t\t\t\tthis.routerLink.publicReactiveHref.set(this.hrefBackup);\n\t\t\t}\n\t\t\tif (this.disabled()) {\n\t\t\t\tif (this.routerLinkCommands()) {\n\t\t\t\t\tthis.routerLink.routerLink = null;\n\t\t\t\t}\n\t\t\t\tthis.routerLink.publicReactiveHref.set(null);\n\t\t\t} else if (this.routerLinkCommands() && !this.external()) {\n\t\t\t\tthis.routerLink.routerLink = this.routerLinkCommands();\n\t\t\t\t// We need to do this in order to have `routerLink` update the value for `href`:\n\t\t\t\t// See https://github.com/angular/angular/blob/main/packages/router/src/directives/router_link.ts#L281\n\t\t\t\tthis.routerLink.ngOnChanges({});\n\t\t\t} else if (!href() && this.hrefBackup) {\n\t\t\t\tthis.routerLink.publicReactiveHref.set(this.hrefBackup);\n\t\t\t}\n\t\t});\n\t}\n\n\tredirect(): void {\n\t\tconst routerLinkCommands = this.routerLinkCommands();\n\t\tif (!this.disabled() && routerLinkCommands && this.external()) {\n\t\t\tconst urlTree =\n\t\t\t\trouterLinkCommands instanceof UrlTree\n\t\t\t\t\t? routerLinkCommands\n\t\t\t\t\t: this.router.createUrlTree(Array.isArray(routerLinkCommands) ? routerLinkCommands : [routerLinkCommands], {\n\t\t\t\t\t\t\tqueryParams: this.routerLink.queryParams,\n\t\t\t\t\t\t\tfragment: this.routerLink.fragment,\n\t\t\t\t\t\t\tqueryParamsHandling: this.routerLink.queryParamsHandling,\n\t\t\t\t\t\t\tpreserveFragment: this.routerLink.preserveFragment,\n\t\t\t\t\t\t});\n\t\t\tconst serializedUrl = this.router.serializeUrl(urlTree);\n\t\t\tconst externalUrl = Array.isArray(routerLinkCommands) ? this.location.prepareExternalUrl(serializedUrl) : serializedUrl;\n\t\t\tafterNextRender(() => window.open(externalUrl, '_blank'), { injector: this.#injector });\n\t\t}\n\t}\n}\n","<span class=\"link-text\"><ng-content /></span>\n@if (external()) {\n\t<span class=\"link-icon\">\n\t\t<span aria-hidden=\"true\" class=\"lucca-icon icon-arrowExternal\"></span>\n\t</span>\n\t<span class=\"pr-u-mask\">{{ intl().external }}</span>\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;AAAO,MAAM,YAAY,GAAG;AAC3B,IAAA,EAAE,EAAE;AACH,QAAA,QAAQ,EAAE,yBAAyB;AACnC,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,QAAQ,EAAE,kCAAkC;AAC5C,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,QAAQ,EAAE,qCAAqC;AAC/C,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,QAAQ,EAAE,iCAAiC;AAC3C,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,QAAQ,EAAE,8BAA8B;AACxC,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,QAAQ,EAAE,+BAA+B;AACzC,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,QAAQ,EAAE,2BAA2B;AACrC,KAAA;CACD;;AClBM,MAAM,oBAAoB,GAAG,IAAI,cAAc,CAAC,oBAAoB,EAAE;AAC5E,IAAA,OAAO,EAAE,MAAM,kBAAkB;AACjC,CAAA,CAAC;AAMK,MAAM,kBAAkB,GAAiC,YAAY;;ACLtE,MAAO,YAAa,SAAQ,UAAU,CAAA;;IAE3C,WAAA,CAAY,MAAc,EAAE,KAAqB,EAAyB,iBAA4C,EAAE,QAAmB,EAAE,EAAc,EAAE,gBAAmC,EAAA;AAC/L,QAAA,KAAK,CAAC,MAAM,EAAE,KAAK,EAAE,iBAAiB,EAAE,QAAQ,EAAE,EAAE,EAAE,gBAAgB,CAAC;IACxE;;;AAIA,IAAA,IAAI,kBAAkB,GAAA;QACrB,OAAO,IAAI,CAAC,YAAY;IACzB;AAVY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AA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,aAAa,soDCjC1B,6PAOA,EAAA,MAAA,EAAA,CAAA,qpDAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;4FD0Ba,aAAa,EAAA,UAAA,EAAA,CAAA;kBA1BzB,SAAS;AAEC,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,2BAA2B,cACzB,IAAI,EAAA,aAAA,EAGD,iBAAiB,CAAC,IAAI,EAAA,IAAA,EAC/B;AACL,wBAAA,KAAK,EAAE,MAAM;AACb,wBAAA,aAAa,EAAE,iCAAiC;AAChD,wBAAA,6BAA6B,EAAE,mBAAmB;AAClD,wBAAA,kBAAkB,EAAE,YAAY;AAChC,wBAAA,qBAAqB,EAAE,iBAAiB;AACxC,wBAAA,YAAY,EAAE,0DAA0D;AACxE,wBAAA,eAAe,EAAE,6CAA6C;AAC9D,wBAAA,aAAa,EAAE,oCAAoC;AACnD,wBAAA,SAAS,EAAE,YAAY;qBACvB,EAAA,cAAA,EACe;AACf,wBAAA;AACC,4BAAA,SAAS,EAAE,YAAY;AACvB,4BAAA,MAAM,EAAE,CAAC,kBAAkB,EAAE,oBAAoB,EAAE,YAAY,EAAE,aAAa,EAAE,UAAU,EAAE,qBAAqB,EAAE,OAAO,EAAE,MAAM,EAAE,YAAY,CAAC;AACjJ,yBAAA;qBACD,EAAA,eAAA,EACgB,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,6PAAA,EAAA,MAAA,EAAA,CAAA,qpDAAA,CAAA,EAAA;;;AE/BhD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"lucca-front-ng-link.mjs","sources":["../../../packages/ng/link/translations.ts","../../../packages/ng/link/link.translate.ts","../../../packages/ng/link/lu-router-link.ts","../../../packages/ng/link/link.component.ts","../../../packages/ng/link/link.component.html","../../../packages/ng/link/link.token.ts","../../../packages/ng/link/lucca-front-ng-link.ts"],"sourcesContent":["export const Translations = {\n\ten: {\n\t\texternal: '(Open in a new window.)',\n\t},\n\tde: {\n\t\texternal: '(In einem neuen Fenster öffnen.)',\n\t},\n\tfr: {\n\t\texternal: '(Ouvrir dans une nouvelle fenêtre.)',\n\t},\n\tit: {\n\t\texternal: '(Aprire in una nuova finestra.)',\n\t},\n\tnl: {\n\t\texternal: '(Open in een nieuw venster.)',\n\t},\n\tes: {\n\t\texternal: '(Abrir en una nueva ventana.)',\n\t},\n\tpt: {\n\t\texternal: '(Abrir numa nova janela.)',\n\t},\n};\n","import { InjectionToken } from '@angular/core';\nimport { LuTranslation } from '@lucca-front/ng/core';\nimport { Translations } from './translations';\n\nexport const LU_LINK_TRANSLATIONS = new InjectionToken('luLinkTranslations', {\n\tfactory: () => luLinkTranslations,\n});\n\nexport interface LinkTranslate {\n\texternal: string;\n}\n\nexport const luLinkTranslations: LuTranslation<LinkTranslate> = Translations;\n","import { LocationStrategy } from '@angular/common';\nimport { Attribute, Directive, ElementRef, Renderer2, WritableSignal } from '@angular/core';\nimport { ActivatedRoute, Router, RouterLink } from '@angular/router';\n\n@Directive({\n\tselector: '[luRouterLink]',\n})\nexport class LuRouterLink extends RouterLink {\n\t// Workaround for a storybook bug = implement the constructor https://github.com/storybookjs/storybook/issues/23534#issuecomment-2042888436\n\tconstructor(router: Router, route: ActivatedRoute, @Attribute('tabindex') tabIndexAttribute: string | null | undefined, renderer: Renderer2, el: ElementRef, locationStrategy?: LocationStrategy) {\n\t\tsuper(router, route, tabIndexAttribute, renderer, el, locationStrategy);\n\t}\n\n\t// With angular 20, RouterLink changed to use an internal, protected, readonly signal that is directly bound to `attr.href`, breaking any possibility to override it\n\t// So we had to do this to expose it to our `luLink` component.\n\tget publicReactiveHref(): WritableSignal<string | null> {\n\t\treturn this.reactiveHref;\n\t}\n}\n","import { Location } from '@angular/common';\nimport { afterNextRender, booleanAttribute, ChangeDetectionStrategy, Component, effect, inject, Injector, input, ViewEncapsulation } from '@angular/core';\nimport { Router, UrlTree } from '@angular/router';\nimport { intlInputOptions } from '@lucca-front/ng/core';\nimport { LU_INDEX_TABLE_INSTANCE } from '@lucca-front/ng/index-table';\n\nimport { LU_DATA_TABLE_INSTANCE } from '@lucca-front/ng/data-table';\nimport { LU_LINK_TRANSLATIONS } from './link.translate';\nimport { LuRouterLink } from './lu-router-link';\n\n@Component({\n\t// eslint-disable-next-line @angular-eslint/component-selector\n\tselector: 'a[luLink], button[luLink]',\n\tstandalone: true,\n\ttemplateUrl: './link.component.html',\n\tstyleUrl: './link.component.scss',\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\tclass: 'link',\n\t\t'[attr.href]': 'routerLink.publicReactiveHref()',\n\t\t'[class.mod-decorationHover]': 'decorationHover()',\n\t\t'[class.mod-icon]': 'external()',\n\t\t'[class.mod-hiddenIcon]': 'hiddenIcon() || (this.insideIndexTable && external()) || (this.insideDataTable && external())',\n\t\t'[class.is-disabled]': 'this.disabled()',\n\t\t'[attr.rel]': 'external() && !disabled() ? \"noopener noreferrer\" : null',\n\t\t'[attr.target]': 'external() && !disabled() ? \"_blank\" : null',\n\t\t'[attr.role]': 'disabled() ? \"presentation\" : null',\n\t\t'(click)': 'redirect()',\n\t},\n\thostDirectives: [\n\t\t{\n\t\t\tdirective: LuRouterLink,\n\t\t\tinputs: ['preserveFragment', 'skipLocationChange', 'replaceUrl', 'queryParams', 'fragment', 'queryParamsHandling', 'state', 'info', 'relativeTo'],\n\t\t},\n\t],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class LinkComponent {\n\tintl = input(...intlInputOptions(LU_LINK_TRANSLATIONS));\n\trouterLink = inject(LuRouterLink);\n\t#injector = inject(Injector);\n\trouter = inject(Router);\n\tlocation = inject(Location);\n\tinsideIndexTable = inject(LU_INDEX_TABLE_INSTANCE, { optional: true });\n\tinsideDataTable = inject(LU_DATA_TABLE_INSTANCE, { optional: true });\n\n\t/**\n\t * Target page address. Use only for external links or pages not recognized by the router.\n\t */\n\treadonly luHref = input('', { alias: 'href' });\n\n\t/**\n\t * Target page address\n\t */\n\treadonly routerLinkCommands = input<LuRouterLink['routerLink'] | null>(null, { alias: 'luLink' });\n\n\t/**\n\t * Disables the link\n\t */\n\treadonly disabled = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Underlines the link only on hover\n\t */\n\treadonly decorationHover = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Indicates that the link will open in a new tab\n\t */\n\treadonly external = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * External icon only visible on hover/focus\n\t */\n\treadonly hiddenIcon = input(false, { transform: booleanAttribute });\n\n\threfBackup: string;\n\n\tconstructor() {\n\t\tconst href = this.luHref;\n\n\t\teffect(() => {\n\t\t\tif (href()) {\n\t\t\t\tthis.hrefBackup = href();\n\t\t\t\tthis.routerLink.publicReactiveHref.set(this.hrefBackup);\n\t\t\t}\n\t\t\tif (this.disabled()) {\n\t\t\t\tif (this.routerLinkCommands()) {\n\t\t\t\t\tthis.routerLink.routerLink = null;\n\t\t\t\t}\n\t\t\t\tthis.routerLink.publicReactiveHref.set(null);\n\t\t\t} else if (this.routerLinkCommands() && !this.external()) {\n\t\t\t\tthis.routerLink.routerLink = this.routerLinkCommands();\n\t\t\t\t// We need to do this in order to have `routerLink` update the value for `href`:\n\t\t\t\t// See https://github.com/angular/angular/blob/main/packages/router/src/directives/router_link.ts#L281\n\t\t\t\tthis.routerLink.ngOnChanges({});\n\t\t\t} else if (!href() && this.hrefBackup) {\n\t\t\t\tthis.routerLink.publicReactiveHref.set(this.hrefBackup);\n\t\t\t}\n\t\t});\n\t}\n\n\tredirect(): void {\n\t\tconst routerLinkCommands = this.routerLinkCommands();\n\t\tif (!this.disabled() && routerLinkCommands && this.external()) {\n\t\t\tconst urlTree =\n\t\t\t\trouterLinkCommands instanceof UrlTree\n\t\t\t\t\t? routerLinkCommands\n\t\t\t\t\t: this.router.createUrlTree(Array.isArray(routerLinkCommands) ? routerLinkCommands : [routerLinkCommands], {\n\t\t\t\t\t\t\tqueryParams: this.routerLink.queryParams,\n\t\t\t\t\t\t\tfragment: this.routerLink.fragment,\n\t\t\t\t\t\t\tqueryParamsHandling: this.routerLink.queryParamsHandling,\n\t\t\t\t\t\t\tpreserveFragment: this.routerLink.preserveFragment,\n\t\t\t\t\t\t});\n\t\t\tconst serializedUrl = this.router.serializeUrl(urlTree);\n\t\t\tconst externalUrl = Array.isArray(routerLinkCommands) ? this.location.prepareExternalUrl(serializedUrl) : serializedUrl;\n\t\t\tafterNextRender(() => window.open(externalUrl, '_blank'), { injector: this.#injector });\n\t\t}\n\t}\n}\n","<span class=\"link-text\"><ng-content /></span>\n@if (external()) {\n\t<span class=\"link-icon\">\n\t\t<span aria-hidden=\"true\" class=\"lucca-icon icon-arrowExternal\"></span>\n\t</span>\n\t<span class=\"pr-u-mask\">{{ intl().external }}</span>\n}\n","import { InjectionToken } from '@angular/core';\n\nexport const LU_LINK_INSTANCE = new InjectionToken<boolean>('LU_LINK_INSTANCE');\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;AAAO,MAAM,YAAY,GAAG;AAC3B,IAAA,EAAE,EAAE;AACH,QAAA,QAAQ,EAAE,yBAAyB;AACnC,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,QAAQ,EAAE,kCAAkC;AAC5C,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,QAAQ,EAAE,qCAAqC;AAC/C,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,QAAQ,EAAE,iCAAiC;AAC3C,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,QAAQ,EAAE,8BAA8B;AACxC,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,QAAQ,EAAE,+BAA+B;AACzC,KAAA;AACD,IAAA,EA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