@quadrel-enterprise-ui/framework 21.15.0 → 21.17.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.
@@ -33242,6 +33242,9 @@ class QdPageObjectHeaderComponent {
33242
33242
  get isInspectAndViewMode$() {
33243
33243
  return this.pageStoreService.isViewonly$.pipe(takeUntilDestroyed(this._destroyRef), map(isView => this.config.pageType === 'inspect' && isView));
33244
33244
  }
33245
+ get titleTestId() {
33246
+ return this.testId + '-title';
33247
+ }
33245
33248
  get isCreate() {
33246
33249
  return this.config.pageType === 'create';
33247
33250
  }
@@ -33463,11 +33466,11 @@ class QdPageObjectHeaderComponent {
33463
33466
  });
33464
33467
  }
33465
33468
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: QdPageObjectHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
33466
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: QdPageObjectHeaderComponent, isStandalone: false, selector: "qd-page-object-header", inputs: { config: "config", hasNavigation: "hasNavigation", testId: ["data-test-id", "testId"] }, host: { listeners: { "click": "toggleFacets()" }, properties: { "style.borderBottom": "borderBottomStyle", "class.in-dialog": "this.isInDialog" } }, usesOnChanges: true, ngImport: i0, template: "@if (isLoading$ | async) {\n<div class=\"loading-overlay\"><qd-spinner></qd-spinner></div>\n}\n\n<div class=\"object-header-top\">\n <header class=\"object-header-title\">{{ config.title.i18n | translate }}</header>\n <div class=\"object-header-toolbar\">\n <ng-content></ng-content>\n\n <button class=\"button-icon\" data-test-id=\"archive-button\">\n @if (showArchive$ | async) {\n <qd-icon (click)=\"archiveButton?.handler()\" class=\"header-action-icon\" [icon]=\"'resultNew'\"></qd-icon>\n }\n </button>\n\n <button class=\"button-icon\" data-test-id=\"delete-button\">\n @if (showDelete$ | async) {\n <qd-icon class=\"header-action-icon\" (click)=\"deleteButton?.handler()\" [icon]=\"'trash'\"></qd-icon>\n }\n </button>\n\n @if (showEdit$ | async) {\n <button qdButton (click)=\"edit()\" data-test-id=\"edit-button\">\n {{ editButton?.label?.i18n || \"i18n.qd.page.header.edit\" | translate }}\n </button>\n } @if (showCancel$ | async) {\n <button qdButton qdButtonGhost (click)=\"cancel()\" data-test-id=\"cancel-button\">\n {{ cancelButton.label?.i18n || \"i18n.qd.page.header.cancel\" | translate }}\n </button>\n } @if (showSave$ | async) {\n <button qdButton (click)=\"save()\" data-test-id=\"save-button\" [disabled]=\"($canSave | async) === false\">\n {{ saveButton.label?.i18n || \"i18n.qd.page.header.save\" | translate }}\n </button>\n } @if (customActions$ | async; as customActions) { @if (!adaptiveMode) { @if (customActions.actions.length > 1) {\n <button [qdMenuButton]=\"customActions\" [autoSize]=\"false\" [data-test-id]=\"'page-'\" data-test-id=\"custom-button\">\n {{ config?.customActionsLabel?.i18n || \"i18n.qd.page.header.actions\" | translate }}\n </button>\n } @else { @if ((customActions$ | async).actions[0]; as singleAction) { @if (singleAction.handler &&\n !singleAction.isHidden) {\n <button qdButton [disabled]=\"singleAction.isDisabled\" (click)=\"singleAction.handler()\" data-test-id=\"custom-button\">\n {{ singleAction.label?.i18n | translate }}\n </button>\n } } } } @else { @if ((customActions$ | async)?.actions.length >= 1) {\n <button\n type=\"button\"\n class=\"adaptive-menu-button\"\n [qdPopoverOnClick]=\"menu\"\n [qdPopoverCloseStrategy]=\"'onEveryClick'\"\n [qdPopoverStopPropagation]=\"true\"\n [qdPopoverMinWidth]=\"160\"\n >\n <qd-icon icon=\"overflowMenuVertical\"></qd-icon>\n </button>\n }\n <ng-template #menu>\n @for (action of customActions.actions; track action; let i = $index) {\n <button class=\"adaptive-menu-entry\" type=\"button\" [disabled]=\"action.isDisabled\" (click)=\"action.handler()\">\n {{ action.label.i18n | translate }}\n </button>\n }\n </ng-template>\n } }\n </div>\n</div>\n\n<div class=\"object-header-facets\" [ngClass]=\"{ amongThemselves: adaptiveMode && !facetsCollapsed }\">\n @if (pageObjectData$ | async; as data) { @for (facet of headerFacets | slice : 0 : (adaptiveMode && facetsCollapsed ?\n 2 : headerFacets?.length ?? 0); track facet) {\n <div class=\"object-header-facet\" [attr.data-test-id]=\"testId + '-facet-' + facet.name\">\n <div class=\"facet-label\">{{ facet.label.i18n | translate }}</div>\n <qd-dynamic-facet\n class=\"dynamic-facet\"\n [facet]=\"facet\"\n [data]=\"data\"\n [testId]=\"testId + '-facet-' + facet.name\"\n ></qd-dynamic-facet>\n </div>\n } } @if (!config.hideContexts && contexts$ | async; as contexts) { @for ( context of contexts | slice : 0 :\n (adaptiveMode && facetsCollapsed ? 2 - (headerFacets?.length ?? 0) : contexts?.length); track context; let index =\n $index; let first = $first) {\n <div\n class=\"object-header-facet qd-context-facet\"\n [ngClass]=\"{ hasDivider: headerFacets && first, adaptiveFirst: headerFacets && adaptiveMode && first }\"\n [attr.data-test-id]=\"testId + '-context-facet-' + context.context.id\"\n >\n <div class=\"facet-label\">{{ context.label | translate }}</div>\n @if (context.value.length === 0) {\n <span class=\"no-selected-context\">{{ \"i18n.qd.page.context.noSelectionPlaceholder\" | translate }}</span>\n } @if (context.value.length !== 0) {\n <qd-context-selection-chip\n [selection]=\"context.value\"\n [removable]=\"isContextSelectable\"\n [testId]=\"testId + '-context-selection-' + context.context.id\"\n (selectionCleared)=\"clearContext(context.context)\"\n ></qd-context-selection-chip>\n } @if (isContextSelectable && (!facetsCollapsed || !adaptiveMode)) {\n <span class=\"select-button\">\n <button\n qdButton\n qdButtonLink\n type=\"button\"\n (click)=\"changeContext(context.context, context.selection, $event)\"\n [data-test-id]=\"'object-header-select-context-' + context.context.id\"\n >\n {{\n context.value.length !== 0\n ? (\"i18n.qd.page.context.button.change\" | translate)\n : (\"i18n.qd.page.context.button.select\" | translate)\n }}\n </button>\n </span>\n }\n </div>\n } } @if (contexts$ | async; as togglerContexts) { @if (adaptiveMode && headerFacets?.length + togglerContexts.length >\n 2) {\n <span class=\"facets-toggler\" [attr.data-test-id]=\"testId + '-facets-toggler'\">\n @if (facetsCollapsed) {\n <span [attr.data-test-id]=\"testId + '-facets-toggler-count'\"\n >+{{ headerFacets.length + togglerContexts.length - 2 }}</span\n >\n }\n <button qdIconButton [data-test-id]=\"'toggle-button'\">\n <qd-icon [icon]=\"facetsCollapsed ? 'ctrlDown' : 'ctrlTop'\"></qd-icon>\n </button>\n </span>\n } }\n</div>\n", styles: [":host{display:flex;flex-direction:column;justify-content:space-between;padding:1.25rem;border-bottom:.125rem solid rgb(213,213,213);background:#fff;gap:1.25rem}@media(max-width:599.98px){:host{padding:1.25rem .9375rem}}:host .object-header-top{display:flex;align-items:flex-start;justify-content:space-between}:host .object-header-top .object-header-title{padding:2px;color:#171717;font-size:1.3125rem;font-weight:500}:host .object-header-top .object-header-toolbar{display:flex;align-items:center;column-gap:.5rem}:host .object-header-top .object-header-toolbar .button-icon{background:none}:host .object-header-top .object-header-toolbar .button-icon+.button-icon{margin-left:-.5rem}:host .object-header-top .object-header-toolbar .header-action-icon{color:#14516f;cursor:pointer;font-size:1.5rem}:host.in-dialog .object-header-toolbar{padding-right:2.5rem}:host .object-header-facets{position:relative;display:flex;flex-wrap:wrap;font-size:1.125rem;gap:1.25rem}:host .object-header-facets .object-header-facet{display:flex;min-width:3.75rem;flex-direction:column}:host .object-header-facets .object-header-facet.hasDivider{padding-left:1.25rem;border-left:.0625rem solid rgb(117,117,117)}:host .object-header-facets .object-header-facet.adaptiveFirst{padding-top:1.25rem}:host .object-header-facets .object-header-facet .facet-label{display:block;margin-bottom:0;color:#757575;font-size:.875rem;padding-bottom:.375rem;font-weight:500}:host .object-header-facets .facets-toggler{position:absolute;top:0;right:0;display:flex;align-items:center;padding-right:.3125rem;font-size:.625rem;line-height:.625rem}:host .object-header-facets.amongThemselves{display:grid}:host .object-header-facets.amongThemselves .object-header-facet.hasDivider{padding-left:0;border-top:.0625rem solid rgb(117,117,117);border-left:none}.loading-overlay{position:absolute;z-index:10000;inset:0;display:flex;align-items:center;justify-content:center;background-color:#0003}.no-selected-context{height:1.625rem;color:#979797;font-size:.875rem;line-height:1.625rem}.select-button{margin-top:.25rem}.adaptive-menu-button{display:flex;background:unset;color:#454545;font-size:2rem}.adaptive-menu-button:hover,.adaptive-menu-button:focus{color:#000}.adaptive-menu-entry{display:block;overflow:hidden;width:100%;min-height:2.25rem;padding:0 1rem;background:#fff0;text-align:left;text-overflow:ellipsis;white-space:nowrap}.object-header-facets .object-header-facet{max-width:100%}@media(min-width:600px){.object-header-facets:not(.amongThemselves) .object-header-facet.qd-context-facet{max-width:max-content;flex:1 1 0}}\n"], dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: QdButtonComponent, selector: "button[qdButton], a[qdButton]", inputs: ["disabled", "color", "icon", "data-test-id", "additionalInfo"] }, { kind: "directive", type: QdButtonGhostDirective, selector: "button[qdButtonGhost], a[qdButtonGhost]" }, { kind: "directive", type: QdButtonLinkDirective, selector: "button[qdButtonLink], a[qdButtonLink]" }, { kind: "component", type: QdIconButtonComponent, selector: "button[qdIconButton], a[qdIconButton]", inputs: ["color", "data-test-id"] }, { kind: "component", type: QdMenuButtonComponent, selector: "button[qdMenuButton], a[qdMenuButton]", inputs: ["qdMenuButton", "data-test-id", "autoSize"] }, { kind: "component", type: QdIconComponent, selector: "qd-icon", inputs: ["icon", "status"] }, { kind: "component", type: QdSpinnerComponent, selector: "qd-spinner" }, { kind: "directive", type: QdPopoverOnClickDirective, selector: "[qdPopoverOnClick]", inputs: ["qdPopoverOnClick", "qdPopoverPlacement", "qdPopoverOffsetX", "qdPopoverOffsetY", "qdPopoverCloseStrategy", "qdPopoverDisabled", "qdPopoverStopPropagation", "qdPopoverBackgroundColor", "qdPopoverMaxHeight", "qdPopoverMinWidth", "qdPopoverMaxWidth", "qdPopoverAutoSize", "qdPopoverEnableKeyControl", "qdPopoverRestoreFocus", "qdPopoverFlipIntoViewport"], outputs: ["opened", "closed"], exportAs: ["qdPopoverOnClick"] }, { kind: "component", type: QdDynamicFacetComponent, selector: "qd-dynamic-facet", inputs: ["facet", "data", "testId"] }, { kind: "component", type: QdContextSelectionChipComponent, selector: "qd-context-selection-chip", inputs: ["selection", "removable", "testId"], outputs: ["selectionCleared"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i1$1.SlicePipe, name: "slice" }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
33469
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: QdPageObjectHeaderComponent, isStandalone: false, selector: "qd-page-object-header", inputs: { config: "config", hasNavigation: "hasNavigation", testId: ["data-test-id", "testId"] }, host: { listeners: { "click": "toggleFacets()" }, properties: { "style.borderBottom": "borderBottomStyle", "class.in-dialog": "this.isInDialog" } }, usesOnChanges: true, ngImport: i0, template: "@if (isLoading$ | async) {\n<div class=\"loading-overlay\"><qd-spinner></qd-spinner></div>\n}\n\n<div class=\"object-header-top\">\n <header class=\"object-header-title\" [attr.data-test-id]=\"titleTestId\">{{ config.title.i18n | translate }}</header>\n <div class=\"object-header-toolbar\">\n <ng-content></ng-content>\n\n <button class=\"button-icon\" data-test-id=\"archive-button\">\n @if (showArchive$ | async) {\n <qd-icon (click)=\"archiveButton?.handler()\" class=\"header-action-icon\" [icon]=\"'resultNew'\"></qd-icon>\n }\n </button>\n\n <button class=\"button-icon\" data-test-id=\"delete-button\">\n @if (showDelete$ | async) {\n <qd-icon class=\"header-action-icon\" (click)=\"deleteButton?.handler()\" [icon]=\"'trash'\"></qd-icon>\n }\n </button>\n\n @if (showEdit$ | async) {\n <button qdButton (click)=\"edit()\" data-test-id=\"edit-button\">\n {{ editButton?.label?.i18n || \"i18n.qd.page.header.edit\" | translate }}\n </button>\n } @if (showCancel$ | async) {\n <button qdButton qdButtonGhost (click)=\"cancel()\" data-test-id=\"cancel-button\">\n {{ cancelButton.label?.i18n || \"i18n.qd.page.header.cancel\" | translate }}\n </button>\n } @if (showSave$ | async) {\n <button qdButton (click)=\"save()\" data-test-id=\"save-button\" [disabled]=\"($canSave | async) === false\">\n {{ saveButton.label?.i18n || \"i18n.qd.page.header.save\" | translate }}\n </button>\n } @if (customActions$ | async; as customActions) { @if (!adaptiveMode) { @if (customActions.actions.length > 1) {\n <button [qdMenuButton]=\"customActions\" [autoSize]=\"false\" [data-test-id]=\"'page-'\" data-test-id=\"custom-button\">\n {{ config?.customActionsLabel?.i18n || \"i18n.qd.page.header.actions\" | translate }}\n </button>\n } @else { @if ((customActions$ | async).actions[0]; as singleAction) { @if (singleAction.handler &&\n !singleAction.isHidden) {\n <button qdButton [disabled]=\"singleAction.isDisabled\" (click)=\"singleAction.handler()\" data-test-id=\"custom-button\">\n {{ singleAction.label?.i18n | translate }}\n </button>\n } } } } @else { @if ((customActions$ | async)?.actions.length >= 1) {\n <button\n type=\"button\"\n class=\"adaptive-menu-button\"\n [qdPopoverOnClick]=\"menu\"\n [qdPopoverCloseStrategy]=\"'onEveryClick'\"\n [qdPopoverStopPropagation]=\"true\"\n [qdPopoverMinWidth]=\"160\"\n >\n <qd-icon icon=\"overflowMenuVertical\"></qd-icon>\n </button>\n }\n <ng-template #menu>\n @for (action of customActions.actions; track action; let i = $index) {\n <button class=\"adaptive-menu-entry\" type=\"button\" [disabled]=\"action.isDisabled\" (click)=\"action.handler()\">\n {{ action.label.i18n | translate }}\n </button>\n }\n </ng-template>\n } }\n </div>\n</div>\n\n<div class=\"object-header-facets\" [ngClass]=\"{ amongThemselves: adaptiveMode && !facetsCollapsed }\">\n @if (pageObjectData$ | async; as data) { @for (facet of headerFacets | slice : 0 : (adaptiveMode && facetsCollapsed ?\n 2 : headerFacets?.length ?? 0); track facet) {\n <div class=\"object-header-facet\" [attr.data-test-id]=\"testId + '-facet-' + facet.name\">\n <div class=\"facet-label\">{{ facet.label.i18n | translate }}</div>\n <qd-dynamic-facet\n class=\"dynamic-facet\"\n [facet]=\"facet\"\n [data]=\"data\"\n [testId]=\"testId + '-facet-' + facet.name\"\n ></qd-dynamic-facet>\n </div>\n } } @if (!config.hideContexts && contexts$ | async; as contexts) { @for ( context of contexts | slice : 0 :\n (adaptiveMode && facetsCollapsed ? 2 - (headerFacets?.length ?? 0) : contexts?.length); track context; let index =\n $index; let first = $first) {\n <div\n class=\"object-header-facet qd-context-facet\"\n [ngClass]=\"{ hasDivider: headerFacets && first, adaptiveFirst: headerFacets && adaptiveMode && first }\"\n [attr.data-test-id]=\"testId + '-context-facet-' + context.context.id\"\n >\n <div class=\"facet-label\">{{ context.label | translate }}</div>\n @if (context.value.length === 0) {\n <span class=\"no-selected-context\">{{ \"i18n.qd.page.context.noSelectionPlaceholder\" | translate }}</span>\n } @if (context.value.length !== 0) {\n <qd-context-selection-chip\n [selection]=\"context.value\"\n [removable]=\"isContextSelectable\"\n [testId]=\"testId + '-context-selection-' + context.context.id\"\n (selectionCleared)=\"clearContext(context.context)\"\n ></qd-context-selection-chip>\n } @if (isContextSelectable && (!facetsCollapsed || !adaptiveMode)) {\n <span class=\"select-button\">\n <button\n qdButton\n qdButtonLink\n type=\"button\"\n (click)=\"changeContext(context.context, context.selection, $event)\"\n [data-test-id]=\"'object-header-select-context-' + context.context.id\"\n >\n {{\n context.value.length !== 0\n ? (\"i18n.qd.page.context.button.change\" | translate)\n : (\"i18n.qd.page.context.button.select\" | translate)\n }}\n </button>\n </span>\n }\n </div>\n } } @if (contexts$ | async; as togglerContexts) { @if (adaptiveMode && headerFacets?.length + togglerContexts.length >\n 2) {\n <span class=\"facets-toggler\" [attr.data-test-id]=\"testId + '-facets-toggler'\">\n @if (facetsCollapsed) {\n <span [attr.data-test-id]=\"testId + '-facets-toggler-count'\"\n >+{{ headerFacets.length + togglerContexts.length - 2 }}</span\n >\n }\n <button qdIconButton [data-test-id]=\"'toggle-button'\">\n <qd-icon [icon]=\"facetsCollapsed ? 'ctrlDown' : 'ctrlTop'\"></qd-icon>\n </button>\n </span>\n } }\n</div>\n", styles: [":host{display:flex;flex-direction:column;justify-content:space-between;padding:1.25rem;border-bottom:.125rem solid rgb(213,213,213);background:#fff;gap:1.25rem}@media(max-width:599.98px){:host{padding:1.25rem .9375rem}}:host .object-header-top{display:flex;align-items:flex-start;justify-content:space-between}:host .object-header-top .object-header-title{padding:2px;color:#171717;font-size:1.3125rem;font-weight:500}:host .object-header-top .object-header-toolbar{display:flex;align-items:center;column-gap:.5rem}:host .object-header-top .object-header-toolbar .button-icon{background:none}:host .object-header-top .object-header-toolbar .button-icon+.button-icon{margin-left:-.5rem}:host .object-header-top .object-header-toolbar .header-action-icon{color:#14516f;cursor:pointer;font-size:1.5rem}:host.in-dialog .object-header-toolbar{padding-right:2.5rem}:host .object-header-facets{position:relative;display:flex;flex-wrap:wrap;font-size:1.125rem;gap:1.25rem}:host .object-header-facets .object-header-facet{display:flex;min-width:3.75rem;flex-direction:column}:host .object-header-facets .object-header-facet.hasDivider{padding-left:1.25rem;border-left:.0625rem solid rgb(117,117,117)}:host .object-header-facets .object-header-facet.adaptiveFirst{padding-top:1.25rem}:host .object-header-facets .object-header-facet .facet-label{display:block;margin-bottom:0;color:#757575;font-size:.875rem;padding-bottom:.375rem;font-weight:500}:host .object-header-facets .facets-toggler{position:absolute;top:0;right:0;display:flex;align-items:center;padding-right:.3125rem;font-size:.625rem;line-height:.625rem}:host .object-header-facets.amongThemselves{display:grid}:host .object-header-facets.amongThemselves .object-header-facet.hasDivider{padding-left:0;border-top:.0625rem solid rgb(117,117,117);border-left:none}.loading-overlay{position:absolute;z-index:10000;inset:0;display:flex;align-items:center;justify-content:center;background-color:#0003}.no-selected-context{height:1.625rem;color:#979797;font-size:.875rem;line-height:1.625rem}.select-button{margin-top:.25rem}.adaptive-menu-button{display:flex;background:unset;color:#454545;font-size:2rem}.adaptive-menu-button:hover,.adaptive-menu-button:focus{color:#000}.adaptive-menu-entry{display:block;overflow:hidden;width:100%;min-height:2.25rem;padding:0 1rem;background:#fff0;text-align:left;text-overflow:ellipsis;white-space:nowrap}.object-header-facets .object-header-facet{max-width:100%}@media(min-width:600px){.object-header-facets:not(.amongThemselves) .object-header-facet.qd-context-facet{max-width:max-content;flex:1 1 0}}\n"], dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: QdButtonComponent, selector: "button[qdButton], a[qdButton]", inputs: ["disabled", "color", "icon", "data-test-id", "additionalInfo"] }, { kind: "directive", type: QdButtonGhostDirective, selector: "button[qdButtonGhost], a[qdButtonGhost]" }, { kind: "directive", type: QdButtonLinkDirective, selector: "button[qdButtonLink], a[qdButtonLink]" }, { kind: "component", type: QdIconButtonComponent, selector: "button[qdIconButton], a[qdIconButton]", inputs: ["color", "data-test-id"] }, { kind: "component", type: QdMenuButtonComponent, selector: "button[qdMenuButton], a[qdMenuButton]", inputs: ["qdMenuButton", "data-test-id", "autoSize"] }, { kind: "component", type: QdIconComponent, selector: "qd-icon", inputs: ["icon", "status"] }, { kind: "component", type: QdSpinnerComponent, selector: "qd-spinner" }, { kind: "directive", type: QdPopoverOnClickDirective, selector: "[qdPopoverOnClick]", inputs: ["qdPopoverOnClick", "qdPopoverPlacement", "qdPopoverOffsetX", "qdPopoverOffsetY", "qdPopoverCloseStrategy", "qdPopoverDisabled", "qdPopoverStopPropagation", "qdPopoverBackgroundColor", "qdPopoverMaxHeight", "qdPopoverMinWidth", "qdPopoverMaxWidth", "qdPopoverAutoSize", "qdPopoverEnableKeyControl", "qdPopoverRestoreFocus", "qdPopoverFlipIntoViewport"], outputs: ["opened", "closed"], exportAs: ["qdPopoverOnClick"] }, { kind: "component", type: QdDynamicFacetComponent, selector: "qd-dynamic-facet", inputs: ["facet", "data", "testId"] }, { kind: "component", type: QdContextSelectionChipComponent, selector: "qd-context-selection-chip", inputs: ["selection", "removable", "testId"], outputs: ["selectionCleared"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i1$1.SlicePipe, name: "slice" }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
33467
33470
  }
33468
33471
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: QdPageObjectHeaderComponent, decorators: [{
33469
33472
  type: Component,
33470
- args: [{ selector: 'qd-page-object-header', changeDetection: ChangeDetectionStrategy.OnPush, host: { '[style.borderBottom]': 'borderBottomStyle' }, standalone: false, template: "@if (isLoading$ | async) {\n<div class=\"loading-overlay\"><qd-spinner></qd-spinner></div>\n}\n\n<div class=\"object-header-top\">\n <header class=\"object-header-title\">{{ config.title.i18n | translate }}</header>\n <div class=\"object-header-toolbar\">\n <ng-content></ng-content>\n\n <button class=\"button-icon\" data-test-id=\"archive-button\">\n @if (showArchive$ | async) {\n <qd-icon (click)=\"archiveButton?.handler()\" class=\"header-action-icon\" [icon]=\"'resultNew'\"></qd-icon>\n }\n </button>\n\n <button class=\"button-icon\" data-test-id=\"delete-button\">\n @if (showDelete$ | async) {\n <qd-icon class=\"header-action-icon\" (click)=\"deleteButton?.handler()\" [icon]=\"'trash'\"></qd-icon>\n }\n </button>\n\n @if (showEdit$ | async) {\n <button qdButton (click)=\"edit()\" data-test-id=\"edit-button\">\n {{ editButton?.label?.i18n || \"i18n.qd.page.header.edit\" | translate }}\n </button>\n } @if (showCancel$ | async) {\n <button qdButton qdButtonGhost (click)=\"cancel()\" data-test-id=\"cancel-button\">\n {{ cancelButton.label?.i18n || \"i18n.qd.page.header.cancel\" | translate }}\n </button>\n } @if (showSave$ | async) {\n <button qdButton (click)=\"save()\" data-test-id=\"save-button\" [disabled]=\"($canSave | async) === false\">\n {{ saveButton.label?.i18n || \"i18n.qd.page.header.save\" | translate }}\n </button>\n } @if (customActions$ | async; as customActions) { @if (!adaptiveMode) { @if (customActions.actions.length > 1) {\n <button [qdMenuButton]=\"customActions\" [autoSize]=\"false\" [data-test-id]=\"'page-'\" data-test-id=\"custom-button\">\n {{ config?.customActionsLabel?.i18n || \"i18n.qd.page.header.actions\" | translate }}\n </button>\n } @else { @if ((customActions$ | async).actions[0]; as singleAction) { @if (singleAction.handler &&\n !singleAction.isHidden) {\n <button qdButton [disabled]=\"singleAction.isDisabled\" (click)=\"singleAction.handler()\" data-test-id=\"custom-button\">\n {{ singleAction.label?.i18n | translate }}\n </button>\n } } } } @else { @if ((customActions$ | async)?.actions.length >= 1) {\n <button\n type=\"button\"\n class=\"adaptive-menu-button\"\n [qdPopoverOnClick]=\"menu\"\n [qdPopoverCloseStrategy]=\"'onEveryClick'\"\n [qdPopoverStopPropagation]=\"true\"\n [qdPopoverMinWidth]=\"160\"\n >\n <qd-icon icon=\"overflowMenuVertical\"></qd-icon>\n </button>\n }\n <ng-template #menu>\n @for (action of customActions.actions; track action; let i = $index) {\n <button class=\"adaptive-menu-entry\" type=\"button\" [disabled]=\"action.isDisabled\" (click)=\"action.handler()\">\n {{ action.label.i18n | translate }}\n </button>\n }\n </ng-template>\n } }\n </div>\n</div>\n\n<div class=\"object-header-facets\" [ngClass]=\"{ amongThemselves: adaptiveMode && !facetsCollapsed }\">\n @if (pageObjectData$ | async; as data) { @for (facet of headerFacets | slice : 0 : (adaptiveMode && facetsCollapsed ?\n 2 : headerFacets?.length ?? 0); track facet) {\n <div class=\"object-header-facet\" [attr.data-test-id]=\"testId + '-facet-' + facet.name\">\n <div class=\"facet-label\">{{ facet.label.i18n | translate }}</div>\n <qd-dynamic-facet\n class=\"dynamic-facet\"\n [facet]=\"facet\"\n [data]=\"data\"\n [testId]=\"testId + '-facet-' + facet.name\"\n ></qd-dynamic-facet>\n </div>\n } } @if (!config.hideContexts && contexts$ | async; as contexts) { @for ( context of contexts | slice : 0 :\n (adaptiveMode && facetsCollapsed ? 2 - (headerFacets?.length ?? 0) : contexts?.length); track context; let index =\n $index; let first = $first) {\n <div\n class=\"object-header-facet qd-context-facet\"\n [ngClass]=\"{ hasDivider: headerFacets && first, adaptiveFirst: headerFacets && adaptiveMode && first }\"\n [attr.data-test-id]=\"testId + '-context-facet-' + context.context.id\"\n >\n <div class=\"facet-label\">{{ context.label | translate }}</div>\n @if (context.value.length === 0) {\n <span class=\"no-selected-context\">{{ \"i18n.qd.page.context.noSelectionPlaceholder\" | translate }}</span>\n } @if (context.value.length !== 0) {\n <qd-context-selection-chip\n [selection]=\"context.value\"\n [removable]=\"isContextSelectable\"\n [testId]=\"testId + '-context-selection-' + context.context.id\"\n (selectionCleared)=\"clearContext(context.context)\"\n ></qd-context-selection-chip>\n } @if (isContextSelectable && (!facetsCollapsed || !adaptiveMode)) {\n <span class=\"select-button\">\n <button\n qdButton\n qdButtonLink\n type=\"button\"\n (click)=\"changeContext(context.context, context.selection, $event)\"\n [data-test-id]=\"'object-header-select-context-' + context.context.id\"\n >\n {{\n context.value.length !== 0\n ? (\"i18n.qd.page.context.button.change\" | translate)\n : (\"i18n.qd.page.context.button.select\" | translate)\n }}\n </button>\n </span>\n }\n </div>\n } } @if (contexts$ | async; as togglerContexts) { @if (adaptiveMode && headerFacets?.length + togglerContexts.length >\n 2) {\n <span class=\"facets-toggler\" [attr.data-test-id]=\"testId + '-facets-toggler'\">\n @if (facetsCollapsed) {\n <span [attr.data-test-id]=\"testId + '-facets-toggler-count'\"\n >+{{ headerFacets.length + togglerContexts.length - 2 }}</span\n >\n }\n <button qdIconButton [data-test-id]=\"'toggle-button'\">\n <qd-icon [icon]=\"facetsCollapsed ? 'ctrlDown' : 'ctrlTop'\"></qd-icon>\n </button>\n </span>\n } }\n</div>\n", styles: [":host{display:flex;flex-direction:column;justify-content:space-between;padding:1.25rem;border-bottom:.125rem solid rgb(213,213,213);background:#fff;gap:1.25rem}@media(max-width:599.98px){:host{padding:1.25rem .9375rem}}:host .object-header-top{display:flex;align-items:flex-start;justify-content:space-between}:host .object-header-top .object-header-title{padding:2px;color:#171717;font-size:1.3125rem;font-weight:500}:host .object-header-top .object-header-toolbar{display:flex;align-items:center;column-gap:.5rem}:host .object-header-top .object-header-toolbar .button-icon{background:none}:host .object-header-top .object-header-toolbar .button-icon+.button-icon{margin-left:-.5rem}:host .object-header-top .object-header-toolbar .header-action-icon{color:#14516f;cursor:pointer;font-size:1.5rem}:host.in-dialog .object-header-toolbar{padding-right:2.5rem}:host .object-header-facets{position:relative;display:flex;flex-wrap:wrap;font-size:1.125rem;gap:1.25rem}:host .object-header-facets .object-header-facet{display:flex;min-width:3.75rem;flex-direction:column}:host .object-header-facets .object-header-facet.hasDivider{padding-left:1.25rem;border-left:.0625rem solid rgb(117,117,117)}:host .object-header-facets .object-header-facet.adaptiveFirst{padding-top:1.25rem}:host .object-header-facets .object-header-facet .facet-label{display:block;margin-bottom:0;color:#757575;font-size:.875rem;padding-bottom:.375rem;font-weight:500}:host .object-header-facets .facets-toggler{position:absolute;top:0;right:0;display:flex;align-items:center;padding-right:.3125rem;font-size:.625rem;line-height:.625rem}:host .object-header-facets.amongThemselves{display:grid}:host .object-header-facets.amongThemselves .object-header-facet.hasDivider{padding-left:0;border-top:.0625rem solid rgb(117,117,117);border-left:none}.loading-overlay{position:absolute;z-index:10000;inset:0;display:flex;align-items:center;justify-content:center;background-color:#0003}.no-selected-context{height:1.625rem;color:#979797;font-size:.875rem;line-height:1.625rem}.select-button{margin-top:.25rem}.adaptive-menu-button{display:flex;background:unset;color:#454545;font-size:2rem}.adaptive-menu-button:hover,.adaptive-menu-button:focus{color:#000}.adaptive-menu-entry{display:block;overflow:hidden;width:100%;min-height:2.25rem;padding:0 1rem;background:#fff0;text-align:left;text-overflow:ellipsis;white-space:nowrap}.object-header-facets .object-header-facet{max-width:100%}@media(min-width:600px){.object-header-facets:not(.amongThemselves) .object-header-facet.qd-context-facet{max-width:max-content;flex:1 1 0}}\n"] }]
33473
+ args: [{ selector: 'qd-page-object-header', changeDetection: ChangeDetectionStrategy.OnPush, host: { '[style.borderBottom]': 'borderBottomStyle' }, standalone: false, template: "@if (isLoading$ | async) {\n<div class=\"loading-overlay\"><qd-spinner></qd-spinner></div>\n}\n\n<div class=\"object-header-top\">\n <header class=\"object-header-title\" [attr.data-test-id]=\"titleTestId\">{{ config.title.i18n | translate }}</header>\n <div class=\"object-header-toolbar\">\n <ng-content></ng-content>\n\n <button class=\"button-icon\" data-test-id=\"archive-button\">\n @if (showArchive$ | async) {\n <qd-icon (click)=\"archiveButton?.handler()\" class=\"header-action-icon\" [icon]=\"'resultNew'\"></qd-icon>\n }\n </button>\n\n <button class=\"button-icon\" data-test-id=\"delete-button\">\n @if (showDelete$ | async) {\n <qd-icon class=\"header-action-icon\" (click)=\"deleteButton?.handler()\" [icon]=\"'trash'\"></qd-icon>\n }\n </button>\n\n @if (showEdit$ | async) {\n <button qdButton (click)=\"edit()\" data-test-id=\"edit-button\">\n {{ editButton?.label?.i18n || \"i18n.qd.page.header.edit\" | translate }}\n </button>\n } @if (showCancel$ | async) {\n <button qdButton qdButtonGhost (click)=\"cancel()\" data-test-id=\"cancel-button\">\n {{ cancelButton.label?.i18n || \"i18n.qd.page.header.cancel\" | translate }}\n </button>\n } @if (showSave$ | async) {\n <button qdButton (click)=\"save()\" data-test-id=\"save-button\" [disabled]=\"($canSave | async) === false\">\n {{ saveButton.label?.i18n || \"i18n.qd.page.header.save\" | translate }}\n </button>\n } @if (customActions$ | async; as customActions) { @if (!adaptiveMode) { @if (customActions.actions.length > 1) {\n <button [qdMenuButton]=\"customActions\" [autoSize]=\"false\" [data-test-id]=\"'page-'\" data-test-id=\"custom-button\">\n {{ config?.customActionsLabel?.i18n || \"i18n.qd.page.header.actions\" | translate }}\n </button>\n } @else { @if ((customActions$ | async).actions[0]; as singleAction) { @if (singleAction.handler &&\n !singleAction.isHidden) {\n <button qdButton [disabled]=\"singleAction.isDisabled\" (click)=\"singleAction.handler()\" data-test-id=\"custom-button\">\n {{ singleAction.label?.i18n | translate }}\n </button>\n } } } } @else { @if ((customActions$ | async)?.actions.length >= 1) {\n <button\n type=\"button\"\n class=\"adaptive-menu-button\"\n [qdPopoverOnClick]=\"menu\"\n [qdPopoverCloseStrategy]=\"'onEveryClick'\"\n [qdPopoverStopPropagation]=\"true\"\n [qdPopoverMinWidth]=\"160\"\n >\n <qd-icon icon=\"overflowMenuVertical\"></qd-icon>\n </button>\n }\n <ng-template #menu>\n @for (action of customActions.actions; track action; let i = $index) {\n <button class=\"adaptive-menu-entry\" type=\"button\" [disabled]=\"action.isDisabled\" (click)=\"action.handler()\">\n {{ action.label.i18n | translate }}\n </button>\n }\n </ng-template>\n } }\n </div>\n</div>\n\n<div class=\"object-header-facets\" [ngClass]=\"{ amongThemselves: adaptiveMode && !facetsCollapsed }\">\n @if (pageObjectData$ | async; as data) { @for (facet of headerFacets | slice : 0 : (adaptiveMode && facetsCollapsed ?\n 2 : headerFacets?.length ?? 0); track facet) {\n <div class=\"object-header-facet\" [attr.data-test-id]=\"testId + '-facet-' + facet.name\">\n <div class=\"facet-label\">{{ facet.label.i18n | translate }}</div>\n <qd-dynamic-facet\n class=\"dynamic-facet\"\n [facet]=\"facet\"\n [data]=\"data\"\n [testId]=\"testId + '-facet-' + facet.name\"\n ></qd-dynamic-facet>\n </div>\n } } @if (!config.hideContexts && contexts$ | async; as contexts) { @for ( context of contexts | slice : 0 :\n (adaptiveMode && facetsCollapsed ? 2 - (headerFacets?.length ?? 0) : contexts?.length); track context; let index =\n $index; let first = $first) {\n <div\n class=\"object-header-facet qd-context-facet\"\n [ngClass]=\"{ hasDivider: headerFacets && first, adaptiveFirst: headerFacets && adaptiveMode && first }\"\n [attr.data-test-id]=\"testId + '-context-facet-' + context.context.id\"\n >\n <div class=\"facet-label\">{{ context.label | translate }}</div>\n @if (context.value.length === 0) {\n <span class=\"no-selected-context\">{{ \"i18n.qd.page.context.noSelectionPlaceholder\" | translate }}</span>\n } @if (context.value.length !== 0) {\n <qd-context-selection-chip\n [selection]=\"context.value\"\n [removable]=\"isContextSelectable\"\n [testId]=\"testId + '-context-selection-' + context.context.id\"\n (selectionCleared)=\"clearContext(context.context)\"\n ></qd-context-selection-chip>\n } @if (isContextSelectable && (!facetsCollapsed || !adaptiveMode)) {\n <span class=\"select-button\">\n <button\n qdButton\n qdButtonLink\n type=\"button\"\n (click)=\"changeContext(context.context, context.selection, $event)\"\n [data-test-id]=\"'object-header-select-context-' + context.context.id\"\n >\n {{\n context.value.length !== 0\n ? (\"i18n.qd.page.context.button.change\" | translate)\n : (\"i18n.qd.page.context.button.select\" | translate)\n }}\n </button>\n </span>\n }\n </div>\n } } @if (contexts$ | async; as togglerContexts) { @if (adaptiveMode && headerFacets?.length + togglerContexts.length >\n 2) {\n <span class=\"facets-toggler\" [attr.data-test-id]=\"testId + '-facets-toggler'\">\n @if (facetsCollapsed) {\n <span [attr.data-test-id]=\"testId + '-facets-toggler-count'\"\n >+{{ headerFacets.length + togglerContexts.length - 2 }}</span\n >\n }\n <button qdIconButton [data-test-id]=\"'toggle-button'\">\n <qd-icon [icon]=\"facetsCollapsed ? 'ctrlDown' : 'ctrlTop'\"></qd-icon>\n </button>\n </span>\n } }\n</div>\n", styles: [":host{display:flex;flex-direction:column;justify-content:space-between;padding:1.25rem;border-bottom:.125rem solid rgb(213,213,213);background:#fff;gap:1.25rem}@media(max-width:599.98px){:host{padding:1.25rem .9375rem}}:host .object-header-top{display:flex;align-items:flex-start;justify-content:space-between}:host .object-header-top .object-header-title{padding:2px;color:#171717;font-size:1.3125rem;font-weight:500}:host .object-header-top .object-header-toolbar{display:flex;align-items:center;column-gap:.5rem}:host .object-header-top .object-header-toolbar .button-icon{background:none}:host .object-header-top .object-header-toolbar .button-icon+.button-icon{margin-left:-.5rem}:host .object-header-top .object-header-toolbar .header-action-icon{color:#14516f;cursor:pointer;font-size:1.5rem}:host.in-dialog .object-header-toolbar{padding-right:2.5rem}:host .object-header-facets{position:relative;display:flex;flex-wrap:wrap;font-size:1.125rem;gap:1.25rem}:host .object-header-facets .object-header-facet{display:flex;min-width:3.75rem;flex-direction:column}:host .object-header-facets .object-header-facet.hasDivider{padding-left:1.25rem;border-left:.0625rem solid rgb(117,117,117)}:host .object-header-facets .object-header-facet.adaptiveFirst{padding-top:1.25rem}:host .object-header-facets .object-header-facet .facet-label{display:block;margin-bottom:0;color:#757575;font-size:.875rem;padding-bottom:.375rem;font-weight:500}:host .object-header-facets .facets-toggler{position:absolute;top:0;right:0;display:flex;align-items:center;padding-right:.3125rem;font-size:.625rem;line-height:.625rem}:host .object-header-facets.amongThemselves{display:grid}:host .object-header-facets.amongThemselves .object-header-facet.hasDivider{padding-left:0;border-top:.0625rem solid rgb(117,117,117);border-left:none}.loading-overlay{position:absolute;z-index:10000;inset:0;display:flex;align-items:center;justify-content:center;background-color:#0003}.no-selected-context{height:1.625rem;color:#979797;font-size:.875rem;line-height:1.625rem}.select-button{margin-top:.25rem}.adaptive-menu-button{display:flex;background:unset;color:#454545;font-size:2rem}.adaptive-menu-button:hover,.adaptive-menu-button:focus{color:#000}.adaptive-menu-entry{display:block;overflow:hidden;width:100%;min-height:2.25rem;padding:0 1rem;background:#fff0;text-align:left;text-overflow:ellipsis;white-space:nowrap}.object-header-facets .object-header-facet{max-width:100%}@media(min-width:600px){.object-header-facets:not(.amongThemselves) .object-header-facet.qd-context-facet{max-width:max-content;flex:1 1 0}}\n"] }]
33471
33474
  }], propDecorators: { config: [{
33472
33475
  type: Input,
33473
33476
  args: [{ required: true }]
@@ -33607,6 +33610,12 @@ class QdPageStepHeaderComponent extends CdkStepHeader {
33607
33610
  optional;
33608
33611
  /** Whether the given step is not editable and completed. */
33609
33612
  locked;
33613
+ /**
33614
+ * A static test ID for integration tests can be set.
33615
+ */
33616
+ testId;
33617
+ /** The name-based test ID of the caption. Only set for a named step. */
33618
+ captionTestId;
33610
33619
  get stepNumber() {
33611
33620
  return this.index + 1;
33612
33621
  }
@@ -33615,11 +33624,12 @@ class QdPageStepHeaderComponent extends CdkStepHeader {
33615
33624
  super(elementRef);
33616
33625
  }
33617
33626
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: QdPageStepHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
33618
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.25", type: QdPageStepHeaderComponent, isStandalone: true, selector: "qd-page-step-header", inputs: { state: "state", label: "label", index: "index", selected: "selected", active: "active", optional: "optional", locked: "locked" }, host: { properties: { "class.qd-step": "true", "class.qd-step-active": "active", "class.qd-step-current": "selected", "class.qd-step-disabled": "locked", "class.qd-step-done": "state === STEP_STATE.DONE", "class.qd-step-edit": "state === STEP_STATE.EDIT", "class.qd-step-error": "state === STEP_STATE.ERROR" } }, usesInheritance: true, ngImport: i0, template: "<div class=\"qd-step-number\">{{ stepNumber }}</div>\n<span class=\"qd-step-caption\">{{ label }}</span>\n", styles: [":host{color:#757575;font-size:14px;font-weight:400;line-height:18px;position:relative;display:inline-flex;height:3.5rem;flex-grow:1000;padding:.625rem 0}:host:not(:last-child):after{min-width:1.25rem;height:.0625rem;flex-grow:1;margin-top:.9375rem;margin-left:.3125rem;background-color:#d5d5d5;content:\"\"}:host:last-child{overflow:visible;flex-grow:1;margin-right:0;white-space:nowrap}:host .qd-step-number{display:inline-block;width:2rem;height:2rem;flex-shrink:0;border:rgb(151,151,151) .125rem solid;border-radius:100%;background-color:#fff;color:#979797;font-weight:500;line-height:1.75rem;text-align:center}:host .qd-step-caption{margin-left:.5rem;color:#979797;font-weight:500;line-height:2rem}:host.qd-step-active{cursor:pointer}:host.qd-step-active.qd-step-current .qd-step-number{position:relative;border-color:#069;background-color:#069;color:#fff}:host.qd-step-active.qd-step-current .qd-step-number:after{position:absolute;top:2.625rem;left:-.125rem;display:inline-block;width:2rem;height:.25rem;background-color:#069;content:\"\"}:host.qd-step-active.qd-step-current .qd-step-caption{color:#069}:host.qd-step-done .qd-step-number,:host.qd-step-edit .qd-step-number{border-color:#171717;background-color:#fff;color:#171717}:host.qd-step-done .qd-step-caption,:host.qd-step-edit .qd-step-caption{color:#171717}:host.qd-step-error{cursor:pointer}:host.qd-step-error .qd-step-number{border-color:#c70023;background-color:#fff;color:#c70023}:host.qd-step-error .qd-step-caption{color:#c70023}:host.qd-step-disabled .qd-step-number{border-color:#979797;background-color:#fff;color:#979797}:host.qd-step-disabled .qd-step-caption{color:#979797}:host:hover:not(.qd-step-current).qd-step-active .qd-step-number,:host:hover:not(.qd-step-current).qd-step-error .qd-step-number{border-color:#069;color:#069}:host:hover:not(.qd-step-current).qd-step-active .qd-step-caption,:host:hover:not(.qd-step-current).qd-step-error .qd-step-caption{color:#069}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
33627
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.25", type: QdPageStepHeaderComponent, isStandalone: true, selector: "qd-page-step-header", inputs: { state: "state", label: "label", index: "index", selected: "selected", active: "active", optional: "optional", locked: "locked", testId: ["data-test-id", "testId"], captionTestId: "captionTestId" }, host: { properties: { "attr.data-test-id": "testId", "class.qd-step": "true", "class.qd-step-active": "active", "class.qd-step-current": "selected", "class.qd-step-disabled": "locked", "class.qd-step-done": "state === STEP_STATE.DONE", "class.qd-step-edit": "state === STEP_STATE.EDIT", "class.qd-step-error": "state === STEP_STATE.ERROR" } }, usesInheritance: true, ngImport: i0, template: "<div class=\"qd-step-number\">{{ stepNumber }}</div>\n<span class=\"qd-step-caption\" [attr.data-test-id]=\"captionTestId\">{{ label }}</span>\n", styles: [":host{color:#757575;font-size:14px;font-weight:400;line-height:18px;position:relative;display:inline-flex;height:3.5rem;flex-grow:1000;padding:.625rem 0}:host:not(:last-child):after{min-width:1.25rem;height:.0625rem;flex-grow:1;margin-top:.9375rem;margin-left:.3125rem;background-color:#d5d5d5;content:\"\"}:host:last-child{overflow:visible;flex-grow:1;margin-right:0;white-space:nowrap}:host .qd-step-number{display:inline-block;width:2rem;height:2rem;flex-shrink:0;border:rgb(151,151,151) .125rem solid;border-radius:100%;background-color:#fff;color:#979797;font-weight:500;line-height:1.75rem;text-align:center}:host .qd-step-caption{margin-left:.5rem;color:#979797;font-weight:500;line-height:2rem}:host.qd-step-active{cursor:pointer}:host.qd-step-active.qd-step-current .qd-step-number{position:relative;border-color:#069;background-color:#069;color:#fff}:host.qd-step-active.qd-step-current .qd-step-number:after{position:absolute;top:2.625rem;left:-.125rem;display:inline-block;width:2rem;height:.25rem;background-color:#069;content:\"\"}:host.qd-step-active.qd-step-current .qd-step-caption{color:#069}:host.qd-step-done .qd-step-number,:host.qd-step-edit .qd-step-number{border-color:#171717;background-color:#fff;color:#171717}:host.qd-step-done .qd-step-caption,:host.qd-step-edit .qd-step-caption{color:#171717}:host.qd-step-error{cursor:pointer}:host.qd-step-error .qd-step-number{border-color:#c70023;background-color:#fff;color:#c70023}:host.qd-step-error .qd-step-caption{color:#c70023}:host.qd-step-disabled .qd-step-number{border-color:#979797;background-color:#fff;color:#979797}:host.qd-step-disabled .qd-step-caption{color:#979797}:host:hover:not(.qd-step-current).qd-step-active .qd-step-number,:host:hover:not(.qd-step-current).qd-step-error .qd-step-number{border-color:#069;color:#069}:host:hover:not(.qd-step-current).qd-step-active .qd-step-caption,:host:hover:not(.qd-step-current).qd-step-error .qd-step-caption{color:#069}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
33619
33628
  }
33620
33629
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: QdPageStepHeaderComponent, decorators: [{
33621
33630
  type: Component,
33622
33631
  args: [{ selector: 'qd-page-step-header', host: {
33632
+ '[attr.data-test-id]': 'testId',
33623
33633
  '[class.qd-step]': 'true',
33624
33634
  '[class.qd-step-active]': 'active',
33625
33635
  '[class.qd-step-current]': 'selected',
@@ -33628,7 +33638,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImpo
33628
33638
  '[class.qd-step-edit]': 'state === STEP_STATE.EDIT',
33629
33639
  '[class.qd-step-error]': 'state === STEP_STATE.ERROR'
33630
33640
  }, changeDetection: ChangeDetectionStrategy.OnPush, standalone: true // inherited by CdkStepHeader
33631
- , template: "<div class=\"qd-step-number\">{{ stepNumber }}</div>\n<span class=\"qd-step-caption\">{{ label }}</span>\n", styles: [":host{color:#757575;font-size:14px;font-weight:400;line-height:18px;position:relative;display:inline-flex;height:3.5rem;flex-grow:1000;padding:.625rem 0}:host:not(:last-child):after{min-width:1.25rem;height:.0625rem;flex-grow:1;margin-top:.9375rem;margin-left:.3125rem;background-color:#d5d5d5;content:\"\"}:host:last-child{overflow:visible;flex-grow:1;margin-right:0;white-space:nowrap}:host .qd-step-number{display:inline-block;width:2rem;height:2rem;flex-shrink:0;border:rgb(151,151,151) .125rem solid;border-radius:100%;background-color:#fff;color:#979797;font-weight:500;line-height:1.75rem;text-align:center}:host .qd-step-caption{margin-left:.5rem;color:#979797;font-weight:500;line-height:2rem}:host.qd-step-active{cursor:pointer}:host.qd-step-active.qd-step-current .qd-step-number{position:relative;border-color:#069;background-color:#069;color:#fff}:host.qd-step-active.qd-step-current .qd-step-number:after{position:absolute;top:2.625rem;left:-.125rem;display:inline-block;width:2rem;height:.25rem;background-color:#069;content:\"\"}:host.qd-step-active.qd-step-current .qd-step-caption{color:#069}:host.qd-step-done .qd-step-number,:host.qd-step-edit .qd-step-number{border-color:#171717;background-color:#fff;color:#171717}:host.qd-step-done .qd-step-caption,:host.qd-step-edit .qd-step-caption{color:#171717}:host.qd-step-error{cursor:pointer}:host.qd-step-error .qd-step-number{border-color:#c70023;background-color:#fff;color:#c70023}:host.qd-step-error .qd-step-caption{color:#c70023}:host.qd-step-disabled .qd-step-number{border-color:#979797;background-color:#fff;color:#979797}:host.qd-step-disabled .qd-step-caption{color:#979797}:host:hover:not(.qd-step-current).qd-step-active .qd-step-number,:host:hover:not(.qd-step-current).qd-step-error .qd-step-number{border-color:#069;color:#069}:host:hover:not(.qd-step-current).qd-step-active .qd-step-caption,:host:hover:not(.qd-step-current).qd-step-error .qd-step-caption{color:#069}\n"] }]
33641
+ , template: "<div class=\"qd-step-number\">{{ stepNumber }}</div>\n<span class=\"qd-step-caption\" [attr.data-test-id]=\"captionTestId\">{{ label }}</span>\n", styles: [":host{color:#757575;font-size:14px;font-weight:400;line-height:18px;position:relative;display:inline-flex;height:3.5rem;flex-grow:1000;padding:.625rem 0}:host:not(:last-child):after{min-width:1.25rem;height:.0625rem;flex-grow:1;margin-top:.9375rem;margin-left:.3125rem;background-color:#d5d5d5;content:\"\"}:host:last-child{overflow:visible;flex-grow:1;margin-right:0;white-space:nowrap}:host .qd-step-number{display:inline-block;width:2rem;height:2rem;flex-shrink:0;border:rgb(151,151,151) .125rem solid;border-radius:100%;background-color:#fff;color:#979797;font-weight:500;line-height:1.75rem;text-align:center}:host .qd-step-caption{margin-left:.5rem;color:#979797;font-weight:500;line-height:2rem}:host.qd-step-active{cursor:pointer}:host.qd-step-active.qd-step-current .qd-step-number{position:relative;border-color:#069;background-color:#069;color:#fff}:host.qd-step-active.qd-step-current .qd-step-number:after{position:absolute;top:2.625rem;left:-.125rem;display:inline-block;width:2rem;height:.25rem;background-color:#069;content:\"\"}:host.qd-step-active.qd-step-current .qd-step-caption{color:#069}:host.qd-step-done .qd-step-number,:host.qd-step-edit .qd-step-number{border-color:#171717;background-color:#fff;color:#171717}:host.qd-step-done .qd-step-caption,:host.qd-step-edit .qd-step-caption{color:#171717}:host.qd-step-error{cursor:pointer}:host.qd-step-error .qd-step-number{border-color:#c70023;background-color:#fff;color:#c70023}:host.qd-step-error .qd-step-caption{color:#c70023}:host.qd-step-disabled .qd-step-number{border-color:#979797;background-color:#fff;color:#979797}:host.qd-step-disabled .qd-step-caption{color:#979797}:host:hover:not(.qd-step-current).qd-step-active .qd-step-number,:host:hover:not(.qd-step-current).qd-step-error .qd-step-number{border-color:#069;color:#069}:host:hover:not(.qd-step-current).qd-step-active .qd-step-caption,:host:hover:not(.qd-step-current).qd-step-error .qd-step-caption{color:#069}\n"] }]
33632
33642
  }], ctorParameters: () => [], propDecorators: { state: [{
33633
33643
  type: Input
33634
33644
  }], label: [{
@@ -33643,6 +33653,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImpo
33643
33653
  type: Input
33644
33654
  }], locked: [{
33645
33655
  type: Input
33656
+ }], testId: [{
33657
+ type: Input,
33658
+ args: ['data-test-id']
33659
+ }], captionTestId: [{
33660
+ type: Input
33646
33661
  }] } });
33647
33662
 
33648
33663
  const QD_PAGE_STEP_RESOLVER_TOKEN = new InjectionToken('QD_PAGE_STEP_RESOLVER_TOKEN');
@@ -33672,7 +33687,8 @@ class QdPageStepperComponent extends CdkStepper {
33672
33687
  */
33673
33688
  config;
33674
33689
  /**
33675
- * A static test ID for integration tests can be set.
33690
+ * A static test ID for integration tests can be set. Every step header inherits it as
33691
+ * `<testId>-header-<index>` (e.g. `page-stepper-header-0`). The caption of a named step also gets `<testId>-header-<name>`.
33676
33692
  */
33677
33693
  testId = 'page-stepper';
33678
33694
  /**
@@ -33809,6 +33825,9 @@ class QdPageStepperComponent extends CdkStepper {
33809
33825
  showSubmitButton(selectedIndex) {
33810
33826
  return selectedIndex === this.steps.length - 1;
33811
33827
  }
33828
+ _getStepCaptionTestId(step) {
33829
+ return step.config.name ? this.testId + '-header-' + step.config.name : undefined;
33830
+ }
33812
33831
  _getIndicatorType(index, state) {
33813
33832
  if (state)
33814
33833
  return state;
@@ -33907,11 +33926,11 @@ class QdPageStepperComponent extends CdkStepper {
33907
33926
  throw new Error(`Quadrel Framework | QdPageStepper - The "${inputName}" attribute is not allowed. Please use QdPageStepperConfig instead.`);
33908
33927
  }
33909
33928
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: QdPageStepperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
33910
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: QdPageStepperComponent, isStandalone: true, selector: "qd-page-stepper", inputs: { config: "config", testId: ["data-test-id", "testId"] }, outputs: { submitted: "submitted" }, host: { properties: { "class.standalone": "!hasPageFooter" }, classAttribute: "qd-stepper" }, providers: [{ provide: CdkStepper, useExisting: QdPageStepperComponent }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "@if (steps.length > 1) {\n<div class=\"qd-stepper-items-container\">\n @for (step of steps; track step; let i = $index) {\n <qd-page-step-header\n (click)=\"handleClickHeader(step, i)\"\n [id]=\"_getStepLabelId(i)\"\n [ngClass]=\"'qd-step'\"\n [index]=\"i\"\n [state]=\"_getIndicatorType(i, step.state)\"\n [label]=\"step.config.label.i18n | translate\"\n [selected]=\"selectedIndex === i\"\n [active]=\"step.completed || selectedIndex === i || !linear\"\n [optional]=\"step.optional\"\n [locked]=\"!step.editable && i < selectedIndex\"\n >\n </qd-page-step-header>\n }\n</div>\n}\n\n<div class=\"stepper-content\">\n <ng-container [ngTemplateOutlet]=\"selected?.content\"></ng-container>\n</div>\n\n@if (!hasPageFooter) {\n<div class=\"qd-stepper-action-area\">\n <button qdButton qdButtonGhost (click)=\"cancel()\" [data-test-id]=\"testId + '-cancel'\">\n {{ config?.cancel?.i18n || \"i18n.qd.stepper.cancel\" | translate }}\n </button>\n @if (showPreviousButton(selectedIndex)) {\n <button qdButton qdButtonGhost (click)=\"previousStep()\" [data-test-id]=\"testId + '-previous'\">\n {{ config?.previous?.i18n || \"i18n.qd.stepper.previous\" | translate }}\n </button>\n } @if (showNextButton(selectedIndex)) {\n <button\n qdButton\n [disabled]=\"(selectedStepValid$ | async) === false\"\n (click)=\"nextStep()\"\n [data-test-id]=\"testId + '-next'\"\n >\n {{ config?.next?.i18n || \"i18n.qd.stepper.next\" | translate }}\n </button>\n } @if (showSubmitButton(selectedIndex)) {\n <button\n qdButton\n (click)=\"submit()\"\n [disabled]=\"(allStepsValid$ | async) === false\"\n [data-test-id]=\"testId + '-submit'\"\n >\n {{ config?.submit?.i18n || \"i18n.qd.stepper.submit\" | translate }}\n </button>\n }\n</div>\n}\n", styles: [":host{display:flex;flex-direction:column}:host.standalone{height:calc(100% - 50px)}:host .qd-stepper-items-container{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between;padding:0 1.25rem;border-bottom:.125rem solid rgb(213,213,213);background-color:#fff;gap:0 .625rem}@media(max-width:599.98px){:host .qd-stepper-items-container{padding:0 .9375rem}}:host .stepper-content{flex:1 1 auto}:host .qd-stepper-action-area{display:flex;width:100%;height:3.125rem;justify-content:flex-end}:host .qd-stepper-action-area button{margin-right:1.25rem}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: QdPageStepHeaderComponent, selector: "qd-page-step-header", inputs: ["state", "label", "index", "selected", "active", "optional", "locked"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "ngmodule", type: QdButtonModule }, { kind: "component", type: QdButtonComponent, selector: "button[qdButton], a[qdButton]", inputs: ["disabled", "color", "icon", "data-test-id", "additionalInfo"] }, { kind: "directive", type: QdButtonGhostDirective, selector: "button[qdButtonGhost], a[qdButtonGhost]" }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
33929
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: QdPageStepperComponent, isStandalone: true, selector: "qd-page-stepper", inputs: { config: "config", testId: ["data-test-id", "testId"] }, outputs: { submitted: "submitted" }, host: { properties: { "class.standalone": "!hasPageFooter" }, classAttribute: "qd-stepper" }, providers: [{ provide: CdkStepper, useExisting: QdPageStepperComponent }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "@if (steps.length > 1) {\n<div class=\"qd-stepper-items-container\">\n @for (step of steps; track step; let i = $index) {\n <qd-page-step-header\n (click)=\"handleClickHeader(step, i)\"\n [id]=\"_getStepLabelId(i)\"\n [ngClass]=\"'qd-step'\"\n [index]=\"i\"\n [state]=\"_getIndicatorType(i, step.state)\"\n [label]=\"step.config.label.i18n | translate\"\n [selected]=\"selectedIndex === i\"\n [active]=\"step.completed || selectedIndex === i || !linear\"\n [optional]=\"step.optional\"\n [locked]=\"!step.editable && i < selectedIndex\"\n [data-test-id]=\"testId + '-header-' + i\"\n [captionTestId]=\"_getStepCaptionTestId(step)\"\n >\n </qd-page-step-header>\n }\n</div>\n}\n\n<div class=\"stepper-content\">\n <ng-container [ngTemplateOutlet]=\"selected?.content\"></ng-container>\n</div>\n\n@if (!hasPageFooter) {\n<div class=\"qd-stepper-action-area\">\n <button qdButton qdButtonGhost (click)=\"cancel()\" [data-test-id]=\"testId + '-cancel'\">\n {{ config?.cancel?.i18n || \"i18n.qd.stepper.cancel\" | translate }}\n </button>\n @if (showPreviousButton(selectedIndex)) {\n <button qdButton qdButtonGhost (click)=\"previousStep()\" [data-test-id]=\"testId + '-previous'\">\n {{ config?.previous?.i18n || \"i18n.qd.stepper.previous\" | translate }}\n </button>\n } @if (showNextButton(selectedIndex)) {\n <button\n qdButton\n [disabled]=\"(selectedStepValid$ | async) === false\"\n (click)=\"nextStep()\"\n [data-test-id]=\"testId + '-next'\"\n >\n {{ config?.next?.i18n || \"i18n.qd.stepper.next\" | translate }}\n </button>\n } @if (showSubmitButton(selectedIndex)) {\n <button\n qdButton\n (click)=\"submit()\"\n [disabled]=\"(allStepsValid$ | async) === false\"\n [data-test-id]=\"testId + '-submit'\"\n >\n {{ config?.submit?.i18n || \"i18n.qd.stepper.submit\" | translate }}\n </button>\n }\n</div>\n}\n", styles: [":host{display:flex;flex-direction:column}:host.standalone{height:calc(100% - 50px)}:host .qd-stepper-items-container{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between;padding:0 1.25rem;border-bottom:.125rem solid rgb(213,213,213);background-color:#fff;gap:0 .625rem}@media(max-width:599.98px){:host .qd-stepper-items-container{padding:0 .9375rem}}:host .stepper-content{flex:1 1 auto}:host .qd-stepper-action-area{display:flex;width:100%;height:3.125rem;justify-content:flex-end}:host .qd-stepper-action-area button{margin-right:1.25rem}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: QdPageStepHeaderComponent, selector: "qd-page-step-header", inputs: ["state", "label", "index", "selected", "active", "optional", "locked", "data-test-id", "captionTestId"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "ngmodule", type: QdButtonModule }, { kind: "component", type: QdButtonComponent, selector: "button[qdButton], a[qdButton]", inputs: ["disabled", "color", "icon", "data-test-id", "additionalInfo"] }, { kind: "directive", type: QdButtonGhostDirective, selector: "button[qdButtonGhost], a[qdButtonGhost]" }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
33911
33930
  }
33912
33931
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: QdPageStepperComponent, decorators: [{
33913
33932
  type: Component,
33914
- args: [{ selector: 'qd-page-stepper', providers: [{ provide: CdkStepper, useExisting: QdPageStepperComponent }], changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'qd-stepper', '[class.standalone]': '!hasPageFooter' }, standalone: true, imports: [NgClass, NgTemplateOutlet, AsyncPipe, QdPageStepHeaderComponent, TranslateModule, QdButtonModule], template: "@if (steps.length > 1) {\n<div class=\"qd-stepper-items-container\">\n @for (step of steps; track step; let i = $index) {\n <qd-page-step-header\n (click)=\"handleClickHeader(step, i)\"\n [id]=\"_getStepLabelId(i)\"\n [ngClass]=\"'qd-step'\"\n [index]=\"i\"\n [state]=\"_getIndicatorType(i, step.state)\"\n [label]=\"step.config.label.i18n | translate\"\n [selected]=\"selectedIndex === i\"\n [active]=\"step.completed || selectedIndex === i || !linear\"\n [optional]=\"step.optional\"\n [locked]=\"!step.editable && i < selectedIndex\"\n >\n </qd-page-step-header>\n }\n</div>\n}\n\n<div class=\"stepper-content\">\n <ng-container [ngTemplateOutlet]=\"selected?.content\"></ng-container>\n</div>\n\n@if (!hasPageFooter) {\n<div class=\"qd-stepper-action-area\">\n <button qdButton qdButtonGhost (click)=\"cancel()\" [data-test-id]=\"testId + '-cancel'\">\n {{ config?.cancel?.i18n || \"i18n.qd.stepper.cancel\" | translate }}\n </button>\n @if (showPreviousButton(selectedIndex)) {\n <button qdButton qdButtonGhost (click)=\"previousStep()\" [data-test-id]=\"testId + '-previous'\">\n {{ config?.previous?.i18n || \"i18n.qd.stepper.previous\" | translate }}\n </button>\n } @if (showNextButton(selectedIndex)) {\n <button\n qdButton\n [disabled]=\"(selectedStepValid$ | async) === false\"\n (click)=\"nextStep()\"\n [data-test-id]=\"testId + '-next'\"\n >\n {{ config?.next?.i18n || \"i18n.qd.stepper.next\" | translate }}\n </button>\n } @if (showSubmitButton(selectedIndex)) {\n <button\n qdButton\n (click)=\"submit()\"\n [disabled]=\"(allStepsValid$ | async) === false\"\n [data-test-id]=\"testId + '-submit'\"\n >\n {{ config?.submit?.i18n || \"i18n.qd.stepper.submit\" | translate }}\n </button>\n }\n</div>\n}\n", styles: [":host{display:flex;flex-direction:column}:host.standalone{height:calc(100% - 50px)}:host .qd-stepper-items-container{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between;padding:0 1.25rem;border-bottom:.125rem solid rgb(213,213,213);background-color:#fff;gap:0 .625rem}@media(max-width:599.98px){:host .qd-stepper-items-container{padding:0 .9375rem}}:host .stepper-content{flex:1 1 auto}:host .qd-stepper-action-area{display:flex;width:100%;height:3.125rem;justify-content:flex-end}:host .qd-stepper-action-area button{margin-right:1.25rem}\n"] }]
33933
+ args: [{ selector: 'qd-page-stepper', providers: [{ provide: CdkStepper, useExisting: QdPageStepperComponent }], changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'qd-stepper', '[class.standalone]': '!hasPageFooter' }, standalone: true, imports: [NgClass, NgTemplateOutlet, AsyncPipe, QdPageStepHeaderComponent, TranslateModule, QdButtonModule], template: "@if (steps.length > 1) {\n<div class=\"qd-stepper-items-container\">\n @for (step of steps; track step; let i = $index) {\n <qd-page-step-header\n (click)=\"handleClickHeader(step, i)\"\n [id]=\"_getStepLabelId(i)\"\n [ngClass]=\"'qd-step'\"\n [index]=\"i\"\n [state]=\"_getIndicatorType(i, step.state)\"\n [label]=\"step.config.label.i18n | translate\"\n [selected]=\"selectedIndex === i\"\n [active]=\"step.completed || selectedIndex === i || !linear\"\n [optional]=\"step.optional\"\n [locked]=\"!step.editable && i < selectedIndex\"\n [data-test-id]=\"testId + '-header-' + i\"\n [captionTestId]=\"_getStepCaptionTestId(step)\"\n >\n </qd-page-step-header>\n }\n</div>\n}\n\n<div class=\"stepper-content\">\n <ng-container [ngTemplateOutlet]=\"selected?.content\"></ng-container>\n</div>\n\n@if (!hasPageFooter) {\n<div class=\"qd-stepper-action-area\">\n <button qdButton qdButtonGhost (click)=\"cancel()\" [data-test-id]=\"testId + '-cancel'\">\n {{ config?.cancel?.i18n || \"i18n.qd.stepper.cancel\" | translate }}\n </button>\n @if (showPreviousButton(selectedIndex)) {\n <button qdButton qdButtonGhost (click)=\"previousStep()\" [data-test-id]=\"testId + '-previous'\">\n {{ config?.previous?.i18n || \"i18n.qd.stepper.previous\" | translate }}\n </button>\n } @if (showNextButton(selectedIndex)) {\n <button\n qdButton\n [disabled]=\"(selectedStepValid$ | async) === false\"\n (click)=\"nextStep()\"\n [data-test-id]=\"testId + '-next'\"\n >\n {{ config?.next?.i18n || \"i18n.qd.stepper.next\" | translate }}\n </button>\n } @if (showSubmitButton(selectedIndex)) {\n <button\n qdButton\n (click)=\"submit()\"\n [disabled]=\"(allStepsValid$ | async) === false\"\n [data-test-id]=\"testId + '-submit'\"\n >\n {{ config?.submit?.i18n || \"i18n.qd.stepper.submit\" | translate }}\n </button>\n }\n</div>\n}\n", styles: [":host{display:flex;flex-direction:column}:host.standalone{height:calc(100% - 50px)}:host .qd-stepper-items-container{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between;padding:0 1.25rem;border-bottom:.125rem solid rgb(213,213,213);background-color:#fff;gap:0 .625rem}@media(max-width:599.98px){:host .qd-stepper-items-container{padding:0 .9375rem}}:host .stepper-content{flex:1 1 auto}:host .qd-stepper-action-area{display:flex;width:100%;height:3.125rem;justify-content:flex-end}:host .qd-stepper-action-area button{margin-right:1.25rem}\n"] }]
33915
33934
  }], ctorParameters: () => [], propDecorators: { config: [{
33916
33935
  type: Input
33917
33936
  }], testId: [{