@leanix/components 0.4.823 → 0.4.824
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.
|
@@ -3345,11 +3345,11 @@ class PageHeaderComponent {
|
|
|
3345
3345
|
this.backIconClick = output();
|
|
3346
3346
|
}
|
|
3347
3347
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: PageHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3348
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.18", type: PageHeaderComponent, isStandalone: true, selector: "lx-page-header", inputs: { pageTitle: { classPropertyName: "pageTitle", publicName: "pageTitle", isSignal: true, isRequired: false, transformFunction: null }, backUrl: { classPropertyName: "backUrl", publicName: "backUrl", isSignal: true, isRequired: false, transformFunction: null }, queryParams: { classPropertyName: "queryParams", publicName: "queryParams", isSignal: true, isRequired: false, transformFunction: null }, backUrlLabel: { classPropertyName: "backUrlLabel", publicName: "backUrlLabel", isSignal: true, isRequired: false, transformFunction: null }, navigationStateOptions: { classPropertyName: "navigationStateOptions", publicName: "navigationStateOptions", isSignal: true, isRequired: false, transformFunction: null }, showDivider: { classPropertyName: "showDivider", publicName: "showDivider", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { backIconClick: "backIconClick" }, ngImport: i0, template: "<div class=\"tw-flex tw-flex-col\">\n <ng-content select=\"ui5-breadcrumbs\" />\n <div class=\"tw-flex tw-min-h-xxl tw-items-center tw-justify-between\">\n <div class=\"tw-flex tw-items-center\">\n @if (backUrl().length > 0) {\n <a\n [routerLink]=\"backUrl()\"\n [queryParams]=\"queryParams()\"\n [state]=\"navigationStateOptions()\"\n class=\"tw-mr-s\"\n data-testid=\"header-back-btn\"\n [attr.aria-label]=\"backUrlLabel()\"\n (click)=\"backIconClick.emit()\"\n (keyboard.enter)=\"backIconClick.emit()\"\n >\n <
|
|
3348
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.18", type: PageHeaderComponent, isStandalone: true, selector: "lx-page-header", inputs: { pageTitle: { classPropertyName: "pageTitle", publicName: "pageTitle", isSignal: true, isRequired: false, transformFunction: null }, backUrl: { classPropertyName: "backUrl", publicName: "backUrl", isSignal: true, isRequired: false, transformFunction: null }, queryParams: { classPropertyName: "queryParams", publicName: "queryParams", isSignal: true, isRequired: false, transformFunction: null }, backUrlLabel: { classPropertyName: "backUrlLabel", publicName: "backUrlLabel", isSignal: true, isRequired: false, transformFunction: null }, navigationStateOptions: { classPropertyName: "navigationStateOptions", publicName: "navigationStateOptions", isSignal: true, isRequired: false, transformFunction: null }, showDivider: { classPropertyName: "showDivider", publicName: "showDivider", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { backIconClick: "backIconClick" }, ngImport: i0, template: "<div class=\"tw-flex tw-flex-col\">\n <ng-content select=\"ui5-breadcrumbs\" />\n <div class=\"tw-flex tw-min-h-xxl tw-items-center tw-justify-between\">\n <div class=\"tw-flex tw-items-center\">\n @if (backUrl().length > 0) {\n <a\n [routerLink]=\"backUrl()\"\n [queryParams]=\"queryParams()\"\n [state]=\"navigationStateOptions()\"\n class=\"tw-mr-s\"\n data-testid=\"header-back-btn\"\n [attr.aria-label]=\"backUrlLabel()\"\n (click)=\"backIconClick.emit()\"\n (keyboard.enter)=\"backIconClick.emit()\"\n >\n <ui5-icon name=\"arrow-left\" aria-hidden=\"true\" />\n </a>\n }\n @if (pageTitle()) {\n <h1 class=\"tw-m-0 tw-heading-2\" data-testid=\"header-title\">{{ pageTitle() }}</h1>\n } @else {\n <div data-testid=\"header-title\">\n <ng-content select=\"[header-title]\" />\n </div>\n }\n </div>\n <div class=\"tw-flex tw-gap-xs tw-text-nowrap\">\n <ng-content select=\"[header-buttons]\" />\n </div>\n </div>\n <div class=\"header-content tw-mt-m tw-flex tw-self-start\">\n <ng-content select=\"[header-content]\" />\n </div>\n @if (showDivider()) {\n <div data-testid=\"header-divider\" class=\"tw-mt-[10px] tw-h-[2px] tw-w-full tw-bg-gray-95\"></div>\n }\n</div>\n", styles: [":host{display:block;margin-bottom:1rem}.header-content:empty{display:none}ui5-icon{vertical-align:middle}\n"], dependencies: [{ kind: "component", type: IconComponent$1, selector: "ui5-icon", inputs: ["design", "name", "accessibleName", "showTooltip", "mode"], outputs: ["ui5Click"], exportAs: ["ui5Icon"] }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3349
3349
|
}
|
|
3350
3350
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: PageHeaderComponent, decorators: [{
|
|
3351
3351
|
type: Component,
|
|
3352
|
-
args: [{ selector: 'lx-page-header', changeDetection: ChangeDetectionStrategy.OnPush, imports: [IconComponent, RouterLink], template: "<div class=\"tw-flex tw-flex-col\">\n <ng-content select=\"ui5-breadcrumbs\" />\n <div class=\"tw-flex tw-min-h-xxl tw-items-center tw-justify-between\">\n <div class=\"tw-flex tw-items-center\">\n @if (backUrl().length > 0) {\n <a\n [routerLink]=\"backUrl()\"\n [queryParams]=\"queryParams()\"\n [state]=\"navigationStateOptions()\"\n class=\"tw-mr-s\"\n data-testid=\"header-back-btn\"\n [attr.aria-label]=\"backUrlLabel()\"\n (click)=\"backIconClick.emit()\"\n (keyboard.enter)=\"backIconClick.emit()\"\n >\n <
|
|
3352
|
+
args: [{ selector: 'lx-page-header', changeDetection: ChangeDetectionStrategy.OnPush, imports: [IconComponent$1, RouterLink], template: "<div class=\"tw-flex tw-flex-col\">\n <ng-content select=\"ui5-breadcrumbs\" />\n <div class=\"tw-flex tw-min-h-xxl tw-items-center tw-justify-between\">\n <div class=\"tw-flex tw-items-center\">\n @if (backUrl().length > 0) {\n <a\n [routerLink]=\"backUrl()\"\n [queryParams]=\"queryParams()\"\n [state]=\"navigationStateOptions()\"\n class=\"tw-mr-s\"\n data-testid=\"header-back-btn\"\n [attr.aria-label]=\"backUrlLabel()\"\n (click)=\"backIconClick.emit()\"\n (keyboard.enter)=\"backIconClick.emit()\"\n >\n <ui5-icon name=\"arrow-left\" aria-hidden=\"true\" />\n </a>\n }\n @if (pageTitle()) {\n <h1 class=\"tw-m-0 tw-heading-2\" data-testid=\"header-title\">{{ pageTitle() }}</h1>\n } @else {\n <div data-testid=\"header-title\">\n <ng-content select=\"[header-title]\" />\n </div>\n }\n </div>\n <div class=\"tw-flex tw-gap-xs tw-text-nowrap\">\n <ng-content select=\"[header-buttons]\" />\n </div>\n </div>\n <div class=\"header-content tw-mt-m tw-flex tw-self-start\">\n <ng-content select=\"[header-content]\" />\n </div>\n @if (showDivider()) {\n <div data-testid=\"header-divider\" class=\"tw-mt-[10px] tw-h-[2px] tw-w-full tw-bg-gray-95\"></div>\n }\n</div>\n", styles: [":host{display:block;margin-bottom:1rem}.header-content:empty{display:none}ui5-icon{vertical-align:middle}\n"] }]
|
|
3353
3353
|
}] });
|
|
3354
3354
|
|
|
3355
3355
|
/**
|