@leanix/components 0.4.658 → 0.4.660
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/leanix-components-ui5.mjs +104 -4
- package/fesm2022/leanix-components-ui5.mjs.map +1 -1
- package/fesm2022/leanix-components.mjs +2 -5
- package/fesm2022/leanix-components.mjs.map +1 -1
- package/lib/core-ui/components/page-header/page-header.component.d.ts +2 -5
- package/package.json +1 -1
- package/ui5/components/breadcrumbs-item.component.d.ts +22 -0
- package/ui5/components/breadcrumbs.component.d.ts +29 -0
- package/ui5/index.d.ts +2 -2
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { provideAppInitializer, inject, input, effect, untracked, ChangeDetectionStrategy, Component, HostListener } from '@angular/core';
|
|
2
3
|
import { setDefaultFontLoading } from '@ui5/webcomponents-base/dist/config/Fonts.js';
|
|
3
4
|
import { registerIconLoader } from '@ui5/webcomponents-base/dist/asset-registries/Icons.js';
|
|
4
|
-
export { BreadcrumbsComponent } from '@ui5/webcomponents-ngx/main/breadcrumbs';
|
|
5
|
-
export { BreadcrumbsItemComponent } from '@ui5/webcomponents-ngx/main/breadcrumbs-item';
|
|
6
5
|
export { IconComponent } from '@ui5/webcomponents-ngx/main/icon';
|
|
6
|
+
import { LocationStrategy } from '@angular/common';
|
|
7
|
+
import { Router, RouterLink } from '@angular/router';
|
|
8
|
+
import { BreadcrumbsItemComponent as BreadcrumbsItemComponent$1 } from '@ui5/webcomponents-ngx/main/breadcrumbs-item';
|
|
9
|
+
import { BreadcrumbsComponent as BreadcrumbsComponent$1 } from '@ui5/webcomponents-ngx/main/breadcrumbs';
|
|
7
10
|
|
|
8
11
|
/**
|
|
9
12
|
* Registers icon libraries with UI5.
|
|
@@ -36,6 +39,103 @@ const provideUi5 = () => provideAppInitializer(async () => {
|
|
|
36
39
|
await registerIconsWithUi5();
|
|
37
40
|
});
|
|
38
41
|
|
|
42
|
+
/**
|
|
43
|
+
* This component extends the `ui5-breadcrumbs-item` component from `@ui5/webcomponents-ngx`.
|
|
44
|
+
* This extension is needed for Angular versions before 20 to sync Angular's `RouterLink` directive
|
|
45
|
+
* with the `href` attribute of the `ui5-breadcrumbs-item`.
|
|
46
|
+
*
|
|
47
|
+
* **Why?** Support for custom elements in the `RouterLink` directive was added in Angular 20.
|
|
48
|
+
* For older versions, this component allows using the `RouterLink` on a `ui5-breadcrumb-item`.
|
|
49
|
+
*
|
|
50
|
+
* @see https://github.com/angular/angular/commit/ff98ccb19391ed4e04528b82771c04ad67067d68
|
|
51
|
+
*
|
|
52
|
+
*/
|
|
53
|
+
class BreadcrumbsItemComponent extends BreadcrumbsItemComponent$1 {
|
|
54
|
+
constructor() {
|
|
55
|
+
super(...arguments);
|
|
56
|
+
this.router = inject(Router);
|
|
57
|
+
this.routerLinkInstance = inject(RouterLink, { optional: true });
|
|
58
|
+
this.locationStrategy = inject(LocationStrategy, { optional: true });
|
|
59
|
+
this.routerLink = input();
|
|
60
|
+
this.updateBreadcrumbHref = effect(() => {
|
|
61
|
+
const routerLink = this.routerLink();
|
|
62
|
+
untracked(() => {
|
|
63
|
+
if (!routerLink || !this.routerLinkInstance) {
|
|
64
|
+
this.href = undefined;
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
const urlTree = this.routerLinkInstance.urlTree;
|
|
68
|
+
// See https://github.com/angular/angular/blob/main/packages/router/src/directives/router_link.ts#L430
|
|
69
|
+
if (urlTree !== null && this.locationStrategy) {
|
|
70
|
+
this.href = this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(urlTree)) ?? '';
|
|
71
|
+
}
|
|
72
|
+
else {
|
|
73
|
+
this.href = undefined;
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: BreadcrumbsItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
79
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.6", type: BreadcrumbsItemComponent, isStandalone: true, selector: "ui5-breadcrumbs-item", inputs: { routerLink: { classPropertyName: "routerLink", publicName: "routerLink", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: '<ng-content />', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
80
|
+
}
|
|
81
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: BreadcrumbsItemComponent, decorators: [{
|
|
82
|
+
type: Component,
|
|
83
|
+
args: [{
|
|
84
|
+
// eslint-disable-next-line @angular-eslint/component-selector
|
|
85
|
+
selector: 'ui5-breadcrumbs-item',
|
|
86
|
+
template: '<ng-content />',
|
|
87
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
88
|
+
}]
|
|
89
|
+
}] });
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Enables users to navigate between items by providing a list of links to previous steps in the user's navigation path.
|
|
93
|
+
*
|
|
94
|
+
* It helps the user to be aware of their location within the application and allows faster navigation.
|
|
95
|
+
*
|
|
96
|
+
* This component extends the `ui5-breadcrumbs` component from `@ui5/webcomponents-ngx`.
|
|
97
|
+
* See the [UI5 Breadcrumb documentation](https://ui5.github.io/webcomponents/components/Breadcrumbs) for more info.
|
|
98
|
+
*
|
|
99
|
+
* This extension allows using the `RouterLink` directive on `ui5-breadcrumbs-item` components.
|
|
100
|
+
*
|
|
101
|
+
* @example ```html
|
|
102
|
+
* <ui5-breadcrumbs>
|
|
103
|
+
* <ui5-breadcrumbs-item routerLink="/inventory">Inventory</ui5-breadcrumbs-item>
|
|
104
|
+
* <ui5-breadcrumbs-item routerLink="/inventory/agile-tracking">Agile Tracking</ui5-breadcrumbs-item>
|
|
105
|
+
* <ui5-breadcrumbs-item routerLink="/inventory/agile-tracking/settings">Settings</ui5-breadcrumbs-item>
|
|
106
|
+
* </ui5-breadcrumbs>
|
|
107
|
+
* ```
|
|
108
|
+
*/
|
|
109
|
+
class BreadcrumbsComponent extends BreadcrumbsComponent$1 {
|
|
110
|
+
/**
|
|
111
|
+
* @internal
|
|
112
|
+
*/
|
|
113
|
+
onClick(event) {
|
|
114
|
+
// When a breadcrumb receives a click event from the nested `ui5-link`, the parent `ui5-breadcrumbs` component
|
|
115
|
+
// emits the custom event `item-click`. However, since the `RouterLink` directive is applied on the individual breadcrumbs,
|
|
116
|
+
// and it only listens to `click` events, the directive would not act on this event.
|
|
117
|
+
// So we're triggering the `click` event on the selected breadcrumb item, to ensure `RouterLink#onClick` is called.
|
|
118
|
+
event.detail.item.click();
|
|
119
|
+
// Since the `ui5-breadcrumbs-item` already contains a nested `<a>` element, the `item-click`
|
|
120
|
+
// event needs to be cancelled to prevent a full page reload.
|
|
121
|
+
event.preventDefault();
|
|
122
|
+
}
|
|
123
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: BreadcrumbsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
124
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.6", type: BreadcrumbsComponent, isStandalone: true, selector: "ui5-breadcrumbs", host: { listeners: { "item-click": "onClick($event)" } }, usesInheritance: true, ngImport: i0, template: '<ng-content />', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
125
|
+
}
|
|
126
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: BreadcrumbsComponent, decorators: [{
|
|
127
|
+
type: Component,
|
|
128
|
+
args: [{
|
|
129
|
+
// eslint-disable-next-line @angular-eslint/component-selector
|
|
130
|
+
selector: 'ui5-breadcrumbs',
|
|
131
|
+
template: '<ng-content />',
|
|
132
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
133
|
+
}]
|
|
134
|
+
}], propDecorators: { onClick: [{
|
|
135
|
+
type: HostListener,
|
|
136
|
+
args: ['item-click', ['$event']]
|
|
137
|
+
}] } });
|
|
138
|
+
|
|
39
139
|
/**
|
|
40
140
|
* All UI5-related components / directives supported by the SAP LeanIX Design System.
|
|
41
141
|
*/
|
|
@@ -44,5 +144,5 @@ const provideUi5 = () => provideAppInitializer(async () => {
|
|
|
44
144
|
* Generated bundle index. Do not edit.
|
|
45
145
|
*/
|
|
46
146
|
|
|
47
|
-
export { provideUi5 };
|
|
147
|
+
export { BreadcrumbsComponent, BreadcrumbsItemComponent, provideUi5 };
|
|
48
148
|
//# sourceMappingURL=leanix-components-ui5.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"leanix-components-ui5.mjs","sources":["../../../../libs/components/ui5/icons/register-icons.ts","../../../../libs/components/ui5/ui5.provider.ts","../../../../libs/components/ui5/index.ts","../../../../libs/components/ui5/leanix-components-ui5.ts"],"sourcesContent":["import { registerIconLoader } from '@ui5/webcomponents-base/dist/asset-registries/Icons.js';\n\n/**\n * Registers icon libraries with UI5.\n */\nexport async function registerIconsWithUi5() {\n await Promise.all([\n import('@ui5/webcomponents-icons-business-suite/dist/AllIcons.js'),\n import('@ui5/webcomponents-icons-tnt/dist/AllIcons.js'),\n import('@ui5/webcomponents-icons/dist/AllIcons.js')\n ]);\n\n registerIconLoader('lx-icons', () => import('./lx-icons.json'));\n}\n","import { provideAppInitializer } from '@angular/core';\nimport { setDefaultFontLoading } from '@ui5/webcomponents-base/dist/config/Fonts.js';\nimport { registerIconsWithUi5 } from './icons/register-icons';\n\n/**\n * Sets up providers necessary to use UI5 components in the application.\n *\n * @usageNotes\n *\n * Basic example of how you can add UI5 to your application:\n * ```ts\n * import { provideUi5 } from '@leanix/components/ui5';\n *\n * bootstrapApplication(AppComponent, {\n * providers: [provideUi5()]\n * });\n * ```\n */\nexport const provideUi5 = () =>\n provideAppInitializer(async () => {\n setDefaultFontLoading(false);\n await registerIconsWithUi5();\n });\n","/**\n *
|
|
1
|
+
{"version":3,"file":"leanix-components-ui5.mjs","sources":["../../../../libs/components/ui5/icons/register-icons.ts","../../../../libs/components/ui5/ui5.provider.ts","../../../../libs/components/ui5/components/breadcrumbs-item.component.ts","../../../../libs/components/ui5/components/breadcrumbs.component.ts","../../../../libs/components/ui5/index.ts","../../../../libs/components/ui5/leanix-components-ui5.ts"],"sourcesContent":["import { registerIconLoader } from '@ui5/webcomponents-base/dist/asset-registries/Icons.js';\n\n/**\n * Registers icon libraries with UI5.\n */\nexport async function registerIconsWithUi5() {\n await Promise.all([\n import('@ui5/webcomponents-icons-business-suite/dist/AllIcons.js'),\n import('@ui5/webcomponents-icons-tnt/dist/AllIcons.js'),\n import('@ui5/webcomponents-icons/dist/AllIcons.js')\n ]);\n\n registerIconLoader('lx-icons', () => import('./lx-icons.json'));\n}\n","import { provideAppInitializer } from '@angular/core';\nimport { setDefaultFontLoading } from '@ui5/webcomponents-base/dist/config/Fonts.js';\nimport { registerIconsWithUi5 } from './icons/register-icons';\n\n/**\n * Sets up providers necessary to use UI5 components in the application.\n *\n * @usageNotes\n *\n * Basic example of how you can add UI5 to your application:\n * ```ts\n * import { provideUi5 } from '@leanix/components/ui5';\n *\n * bootstrapApplication(AppComponent, {\n * providers: [provideUi5()]\n * });\n * ```\n */\nexport const provideUi5 = () =>\n provideAppInitializer(async () => {\n setDefaultFontLoading(false);\n await registerIconsWithUi5();\n });\n","import { LocationStrategy } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, effect, inject, input, untracked } from '@angular/core';\nimport { Router, RouterLink } from '@angular/router';\nimport { BreadcrumbsItemComponent as Ui5BreadcrumbsItemComponent } from '@ui5/webcomponents-ngx/main/breadcrumbs-item';\n\n/**\n * This component extends the `ui5-breadcrumbs-item` component from `@ui5/webcomponents-ngx`.\n * This extension is needed for Angular versions before 20 to sync Angular's `RouterLink` directive\n * with the `href` attribute of the `ui5-breadcrumbs-item`.\n *\n * **Why?** Support for custom elements in the `RouterLink` directive was added in Angular 20.\n * For older versions, this component allows using the `RouterLink` on a `ui5-breadcrumb-item`.\n *\n * @see https://github.com/angular/angular/commit/ff98ccb19391ed4e04528b82771c04ad67067d68\n *\n */\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'ui5-breadcrumbs-item',\n template: '<ng-content />',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class BreadcrumbsItemComponent extends Ui5BreadcrumbsItemComponent {\n private readonly router = inject(Router);\n private readonly routerLinkInstance = inject(RouterLink, { optional: true });\n private readonly locationStrategy = inject(LocationStrategy, { optional: true });\n\n readonly routerLink = input<RouterLink['routerLink']>();\n\n readonly updateBreadcrumbHref = effect(() => {\n const routerLink = this.routerLink();\n\n untracked(() => {\n if (!routerLink || !this.routerLinkInstance) {\n this.href = undefined;\n return;\n }\n const urlTree = this.routerLinkInstance.urlTree;\n\n // See https://github.com/angular/angular/blob/main/packages/router/src/directives/router_link.ts#L430\n if (urlTree !== null && this.locationStrategy) {\n this.href = this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(urlTree)) ?? '';\n } else {\n this.href = undefined;\n }\n });\n });\n}\n","import { ChangeDetectionStrategy, Component, HostListener } from '@angular/core';\nimport { BreadcrumbsComponent as Ui5BreadcrumbsComponent } from '@ui5/webcomponents-ngx/main/breadcrumbs';\nimport { BreadcrumbsItemClickEventDetail } from '@ui5/webcomponents/dist/Breadcrumbs';\n\n/**\n * Enables users to navigate between items by providing a list of links to previous steps in the user's navigation path.\n *\n * It helps the user to be aware of their location within the application and allows faster navigation.\n *\n * This component extends the `ui5-breadcrumbs` component from `@ui5/webcomponents-ngx`.\n * See the [UI5 Breadcrumb documentation](https://ui5.github.io/webcomponents/components/Breadcrumbs) for more info.\n *\n * This extension allows using the `RouterLink` directive on `ui5-breadcrumbs-item` components.\n *\n * @example ```html\n * <ui5-breadcrumbs>\n * <ui5-breadcrumbs-item routerLink=\"/inventory\">Inventory</ui5-breadcrumbs-item>\n * <ui5-breadcrumbs-item routerLink=\"/inventory/agile-tracking\">Agile Tracking</ui5-breadcrumbs-item>\n * <ui5-breadcrumbs-item routerLink=\"/inventory/agile-tracking/settings\">Settings</ui5-breadcrumbs-item>\n * </ui5-breadcrumbs>\n * ```\n */\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'ui5-breadcrumbs',\n template: '<ng-content />',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class BreadcrumbsComponent extends Ui5BreadcrumbsComponent {\n /**\n * @internal\n */\n @HostListener('item-click', ['$event']) onClick(event: CustomEvent<BreadcrumbsItemClickEventDetail>) {\n // When a breadcrumb receives a click event from the nested `ui5-link`, the parent `ui5-breadcrumbs` component\n // emits the custom event `item-click`. However, since the `RouterLink` directive is applied on the individual breadcrumbs,\n // and it only listens to `click` events, the directive would not act on this event.\n // So we're triggering the `click` event on the selected breadcrumb item, to ensure `RouterLink#onClick` is called.\n event.detail.item.click();\n\n // Since the `ui5-breadcrumbs-item` already contains a nested `<a>` element, the `item-click`\n // event needs to be cancelled to prevent a full page reload.\n event.preventDefault();\n }\n}\n","/**\n * All UI5-related components / directives supported by the SAP LeanIX Design System.\n */\nexport * from './ui5.provider';\n\n// UI5 Components\nexport { IconComponent } from '@ui5/webcomponents-ngx/main/icon';\nexport { BreadcrumbsItemClickEventDetail } from '@ui5/webcomponents/dist/Breadcrumbs';\n\n// LX Extensions\nexport { BreadcrumbsItemComponent } from './components/breadcrumbs-item.component';\nexport { BreadcrumbsComponent } from './components/breadcrumbs.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["Ui5BreadcrumbsItemComponent","Ui5BreadcrumbsComponent"],"mappings":";;;;;;;;;;AAEA;;AAEG;AACI,eAAe,oBAAoB,GAAA;IACxC,MAAM,OAAO,CAAC,GAAG,CAAC;QAChB,OAAO,0DAA0D,CAAC;QAClE,O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,EAAA,CAAA;kBANhC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;;AAET,oBAAA,QAAQ,EAAE,iBAAiB;AAC3B,oBAAA,QAAQ,EAAE,gBAAgB;oBAC1B,eAAe,EAAE,uBAAuB,CAAC;AAC1C,iBAAA;8BAKyC,OAAO,EAAA,CAAA;sBAA9C,YAAY;uBAAC,YAAY,EAAE,CAAC,QAAQ,CAAC;;;AChCxC;;AAEG;;ACFH;;AAEG;;;;"}
|
|
@@ -2824,9 +2824,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImpor
|
|
|
2824
2824
|
*
|
|
2825
2825
|
* ### Projection slots
|
|
2826
2826
|
* - `ui5-breadcrumbs`: Defines the breadcrumbs shown above the page title
|
|
2827
|
-
* - **Important**: To set a URL for a breadcrumb item, you need to provide the `href`
|
|
2828
|
-
* attribute to the `ui5-breadcrumbs-item` component. `RouterLink` does not work before updating to Angular 20.
|
|
2829
|
-
* - To use the `href` attribute for relative URLs, **the leading slash needs to be removed**.
|
|
2830
2827
|
* - `header-title`: Defines the page title content
|
|
2831
2828
|
* - `header-content`: Defines additional content below the page title
|
|
2832
2829
|
* - `header-buttons`: Defines the header action buttons
|
|
@@ -2844,8 +2841,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImpor
|
|
|
2844
2841
|
* @example ```html
|
|
2845
2842
|
* <lx-page-header [pageTitle]="'Agile Tracking'">
|
|
2846
2843
|
* <ui5-breadcrumbs>
|
|
2847
|
-
* <ui5-breadcrumbs-item
|
|
2848
|
-
* <ui5-breadcrumbs-item
|
|
2844
|
+
* <ui5-breadcrumbs-item routerLink="/">Root Page</ui5-breadcrumbs-item>
|
|
2845
|
+
* <ui5-breadcrumbs-item routerLink="/inventory">Inventory</ui5-breadcrumbs-item>
|
|
2849
2846
|
* <ui5-breadcrumbs-item>Agile Tracking</ui5-breadcrumbs-item>
|
|
2850
2847
|
* </ui5-breadcrumbs>
|
|
2851
2848
|
* <ng-container header-buttons>
|