@fundamental-ngx/ui5-webcomponents-fiori 0.58.0-rc.65 → 0.58.0-rc.67
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/barcode-scanner-dialog/index.d.ts +66 -0
- package/dynamic-page/index.d.ts +65 -0
- package/dynamic-page-header/index.d.ts +37 -0
- package/dynamic-page-title/index.d.ts +63 -0
- package/dynamic-side-content/index.d.ts +81 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-barcode-scanner-dialog.mjs +131 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-barcode-scanner-dialog.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-dynamic-page-header.mjs +61 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-dynamic-page-header.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-dynamic-page-title.mjs +115 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-dynamic-page-title.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-dynamic-page.mjs +139 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-dynamic-page.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-dynamic-side-content.mjs +148 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-dynamic-side-content.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-filter-item-option.mjs +65 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-filter-item-option.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-filter-item.mjs +91 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-filter-item.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-flexible-column-layout.mjs +297 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-flexible-column-layout.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-group-item.mjs +65 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-group-item.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-illustrated-message.mjs +159 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-illustrated-message.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-media-gallery-item.mjs +100 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-media-gallery-item.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-media-gallery.mjs +148 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-media-gallery.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-navigation-layout.mjs +95 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-navigation-layout.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-notification-list-group-item.mjs +139 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-notification-list-group-item.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-notification-list-item.mjs +174 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-notification-list-item.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-notification-list.mjs +114 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-notification-list.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-page.mjs +115 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-page.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-product-switch-item.mjs +145 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-product-switch-item.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-product-switch.mjs +61 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-product-switch.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-item-group.mjs +36 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-item-group.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-item-show-more.mjs +87 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-item-show-more.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-item.mjs +143 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-item.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-message-area.mjs +65 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-message-area.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-scope.mjs +65 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-scope.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search.mjs +191 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar-branding.mjs +135 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar-branding.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar-item.mjs +109 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar-item.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar-search.mjs +196 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar-search.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar-spacer.mjs +36 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar-spacer.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar.mjs +334 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-side-navigation-group.mjs +105 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-side-navigation-group.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-side-navigation-item.mjs +195 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-side-navigation-item.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-side-navigation-sub-item.mjs +165 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-side-navigation-sub-item.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-side-navigation.mjs +130 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-side-navigation.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-sort-item.mjs +65 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-sort-item.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-theming.mjs +23 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-theming.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-timeline-group-item.mjs +109 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-timeline-group-item.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-timeline-item.mjs +136 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-timeline-item.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-timeline.mjs +135 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-timeline.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-upload-collection-item.mjs +184 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-upload-collection-item.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-upload-collection.mjs +152 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-upload-collection.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-menu-account.mjs +95 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-menu-account.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-menu-item-group.mjs +36 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-menu-item-group.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-menu-item.mjs +63 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-menu-item.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-menu.mjs +174 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-menu.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-account-view.mjs +130 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-account-view.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-dialog.mjs +138 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-dialog.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-item.mjs +158 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-item.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-view.mjs +96 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-view.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-view-settings-dialog.mjs +150 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-view-settings-dialog.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-wizard-step.mjs +130 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-wizard-step.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-wizard.mjs +107 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-wizard.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori.mjs +124 -3
- package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori.mjs.map +1 -1
- package/filter-item/index.d.ts +46 -0
- package/filter-item-option/index.d.ts +22 -0
- package/flexible-column-layout/index.d.ts +135 -0
- package/group-item/index.d.ts +22 -0
- package/illustrated-message/index.d.ts +105 -0
- package/index.d.ts +62 -3
- package/media-gallery/index.d.ts +84 -0
- package/media-gallery-item/index.d.ts +50 -0
- package/navigation-layout/index.d.ts +43 -0
- package/notification-list/index.d.ts +54 -0
- package/notification-list-group-item/index.d.ts +75 -0
- package/notification-list-item/index.d.ts +97 -0
- package/package.json +210 -2
- package/page/index.d.ts +60 -0
- package/product-switch/index.d.ts +37 -0
- package/product-switch-item/index.d.ts +83 -0
- package/search/index.d.ts +106 -0
- package/search-item/index.d.ts +75 -0
- package/search-item-group/index.d.ts +14 -0
- package/search-item-show-more/index.d.ts +30 -0
- package/search-message-area/index.d.ts +22 -0
- package/search-scope/index.d.ts +22 -0
- package/shell-bar/index.d.ts +218 -0
- package/shell-bar-branding/index.d.ts +71 -0
- package/shell-bar-item/index.d.ts +51 -0
- package/shell-bar-search/index.d.ts +110 -0
- package/shell-bar-spacer/index.d.ts +14 -0
- package/side-navigation/index.d.ts +67 -0
- package/side-navigation-group/index.d.ts +58 -0
- package/side-navigation-item/index.d.ts +128 -0
- package/side-navigation-sub-item/index.d.ts +101 -0
- package/sort-item/index.d.ts +22 -0
- package/theming/index.d.ts +11 -0
- package/timeline/index.d.ts +73 -0
- package/timeline-group-item/index.d.ts +50 -0
- package/timeline-item/index.d.ts +73 -0
- package/upload-collection/index.d.ts +84 -0
- package/upload-collection-item/index.d.ts +111 -0
- package/user-menu/index.d.ts +100 -0
- package/user-menu-account/index.d.ts +46 -0
- package/user-menu-item/index.d.ts +39 -0
- package/user-menu-item-group/index.d.ts +14 -0
- package/user-settings-account-view/index.d.ts +64 -0
- package/user-settings-dialog/index.d.ts +71 -0
- package/user-settings-item/index.d.ts +88 -0
- package/user-settings-view/index.d.ts +50 -0
- package/view-settings-dialog/index.d.ts +78 -0
- package/wizard/index.d.ts +49 -0
- package/wizard-step/index.d.ts +81 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fundamental-ngx-ui5-webcomponents-fiori-search-scope.mjs","sources":["../tmp-esm2022/search-scope/index.js","../tmp-esm2022/search-scope/fundamental-ngx-ui5-webcomponents-fiori-search-scope.js"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ElementRef, input, effect, runInInjectionContext, inject, Injector, booleanAttribute } from '@angular/core';\nimport '@ui5/webcomponents-fiori/dist/SearchScope.js';\nimport * as i0 from \"@angular/core\";\nexport class SearchScope {\n constructor() {\n /**\n * Defines the text of the component.\n */\n this.text = input(\"\", ...(ngDevMode ? [{ debugName: \"text\" }] : []));\n /**\n * Indicates whether the item is selected\n */\n this.selected = input(false, ...(ngDevMode ? [{ debugName: \"selected\", transform: booleanAttribute }] : [{ transform: booleanAttribute }])); // className is now passed\n this.elementRef = inject(ElementRef);\n this.injector = inject(Injector);\n }\n get element() {\n return this.elementRef.nativeElement;\n }\n ngAfterViewInit() {\n const wcElement = this.element;\n const inputsToSync = [\n 'text',\n 'selected',\n ];\n // Synchronize inputs (properties)\n for (const inputName of inputsToSync) {\n // Find the corresponding camelCase signal property on the Angular component\n const signalName = inputName.replace(/-./g, (x) => x[1].toUpperCase());\n // Use the Injector to run the effect in the correct context\n if (this[signalName] && typeof this[signalName] === 'function') {\n runInInjectionContext(this.injector, () => {\n effect(() => {\n // Read the signal value\n const value = this[signalName]();\n if (wcElement) {\n // Write the value to the Web Component's property\n wcElement[inputName] = value;\n }\n });\n });\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.1.4\", ngImport: i0, type: SearchScope, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.1.0\", version: \"20.1.4\", type: SearchScope, isStandalone: true, selector: \"ui5-search-scope, [ui5-search-scope]\", inputs: { text: { classPropertyName: \"text\", publicName: \"text\", isSignal: true, isRequired: false, transformFunction: null }, selected: { classPropertyName: \"selected\", publicName: \"selected\", isSignal: true, isRequired: false, transformFunction: null } }, exportAs: [\"ui5SearchScope\"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.4\", ngImport: i0, type: SearchScope, decorators: [{\n type: Component,\n args: [{\n standalone: true,\n selector: 'ui5-search-scope, [ui5-search-scope]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5SearchScope',\n changeDetection: ChangeDetectionStrategy.OnPush,\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL3VpNS13ZWJjb21wb25lbnRzLWZpb3JpL3NlYXJjaC1zY29wZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQ0wsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFDVCxVQUFVLEVBQ1YsS0FBSyxFQUdMLE1BQU0sRUFDTixxQkFBcUIsRUFDckIsTUFBTSxFQUNOLFFBQVEsRUFDUixnQkFBZ0IsRUFHakIsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTy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HdjRWxlbWVudCkge1xuICAgICAgICAgICAgICAvLyBXcml0ZSB0aGUgdmFsdWUgdG8gdGhlIFdlYiBDb21wb25lbnQncyBwcm9wZXJ0eVxuICAgICAgICAgICAgICB3Y0VsZW1lbnRbaW5wdXROYW1lXSA9IHZhbHVlO1xuICAgICAgICAgICAgfVxuICAgICAgICAgIH0pO1xuICAgICAgICB9KTtcbiAgICAgIH1cbiAgICB9XG4gIFxuICAgIFxuICAgIFxuXG4gIH1cbn1cblxuIl19","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnVuZGFtZW50YWwtbmd4LXVpNS13ZWJjb21wb25lbnRzLWZpb3JpLXNlYXJjaC1zY29wZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvdWk1LXdlYmNvbXBvbmVudHMtZmlvcmkvc2VhcmNoLXNjb3BlL2Z1bmRhbWVudGFsLW5neC11aTUtd2ViY29tcG9uZW50cy1maW9yaS1zZWFyY2gtc2NvcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLFNBQVMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9pbmRleCc7XG4iXX0="],"names":[],"mappings":";;;;AAGO,MAAM,WAAW,CAAC;AACzB,IAAI,WAAW,GAAG;AAClB;AACA;AACA;AACA,QAAQ,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC,EAAE,EAAE,IAAI,SAAS,GAAG,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC;AAC5E;AACA;AACA;AACA,QAAQ,IAAI,CAAC,QAAQ,GA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E,sCAAsC;AACpE,oBAAoB,QAAQ,EAAE,2BAA2B;AACzD,oBAAoB,QAAQ,EAAE,gBAAgB;AAC9C,oBAAoB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AACnE,iBAAiB;AACjB,SAAS,CAAC,EAAE,CAAC;;ACxDb;AACA;AACA;;;;"}
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, booleanAttribute, output, inject, ElementRef, Injector, runInInjectionContext, effect, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
+
import '@ui5/webcomponents-fiori/dist/Search.js';
|
|
4
|
+
|
|
5
|
+
class Search {
|
|
6
|
+
constructor() {
|
|
7
|
+
/**
|
|
8
|
+
* Indicates whether a loading indicator should be shown in the popup.
|
|
9
|
+
*/
|
|
10
|
+
this.loading = input(false, ...(ngDevMode ? [{ debugName: "loading", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
|
|
11
|
+
/**
|
|
12
|
+
* Defines whether the value will be autcompleted to match an item.
|
|
13
|
+
*/
|
|
14
|
+
this.noTypeahead = input(false, ...(ngDevMode ? [{ debugName: "noTypeahead", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
|
|
15
|
+
/**
|
|
16
|
+
* Indicates whether the items picker is open.
|
|
17
|
+
*/
|
|
18
|
+
this.open = input(false, ...(ngDevMode ? [{ debugName: "open", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
|
|
19
|
+
/**
|
|
20
|
+
* Defines whether the clear icon of the search will be shown.
|
|
21
|
+
*/
|
|
22
|
+
this.showClearIcon = input(false, ...(ngDevMode ? [{ debugName: "showClearIcon", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
|
|
23
|
+
/**
|
|
24
|
+
* Defines the value of the component.
|
|
25
|
+
|
|
26
|
+
**Note:** The property is updated upon typing.
|
|
27
|
+
*/
|
|
28
|
+
this.value = input("", ...(ngDevMode ? [{ debugName: "value" }] : []));
|
|
29
|
+
/**
|
|
30
|
+
* Defines a short hint intended to aid the user with data entry when the
|
|
31
|
+
component has no value.
|
|
32
|
+
*/
|
|
33
|
+
this.placeholder = input(...(ngDevMode ? [undefined, { debugName: "placeholder" }] : []));
|
|
34
|
+
/**
|
|
35
|
+
* Defines the accessible ARIA name of the component.
|
|
36
|
+
*/
|
|
37
|
+
this.accessibleName = input(...(ngDevMode ? [undefined, { debugName: "accessibleName" }] : []));
|
|
38
|
+
/**
|
|
39
|
+
* Defines the accessible ARIA description of the field.
|
|
40
|
+
*/
|
|
41
|
+
this.accessibleDescription = input(...(ngDevMode ? [undefined, { debugName: "accessibleDescription" }] : [])); // className is now passed
|
|
42
|
+
/**
|
|
43
|
+
* Fired when the popup is opened.
|
|
44
|
+
*/
|
|
45
|
+
this.ui5Open = output();
|
|
46
|
+
/**
|
|
47
|
+
* Fired when the popup is closed.
|
|
48
|
+
*/
|
|
49
|
+
this.ui5Close = output();
|
|
50
|
+
/**
|
|
51
|
+
* Fired when typing in input or clear icon is pressed.
|
|
52
|
+
*/
|
|
53
|
+
this.ui5Input = output();
|
|
54
|
+
/**
|
|
55
|
+
* Fired when the scope has changed.
|
|
56
|
+
*/
|
|
57
|
+
this.ui5ScopeChange = output();
|
|
58
|
+
/**
|
|
59
|
+
* Fired when the user has triggered search with Enter key or Search Button press.
|
|
60
|
+
*/
|
|
61
|
+
this.ui5Search = output();
|
|
62
|
+
/**
|
|
63
|
+
* Available slots for content projection in this component.
|
|
64
|
+
*
|
|
65
|
+
* Slots allow you to insert custom content into predefined areas of the web component.
|
|
66
|
+
* Use the `slot` attribute on child elements to target specific slots.
|
|
67
|
+
*
|
|
68
|
+
* - **(default)**: Defines the Search suggestion items.
|
|
69
|
+
* - **action**: Defines the popup footer action button.
|
|
70
|
+
* - **illustration**: Defines the illustrated message to be shown in the popup.
|
|
71
|
+
* - **messageArea**: Defines the illustrated message to be shown in the popup.
|
|
72
|
+
* - **scopes**: Defines the component scope options.
|
|
73
|
+
* - **filterButton**: Defines the filter button slot, used to display an additional filtering button.
|
|
74
|
+
This slot is intended for passing a `ui5-button` with a filter icon to provide extended filtering options.
|
|
75
|
+
|
|
76
|
+
**Note:** Scope button and Filter button are mutually exclusive.
|
|
77
|
+
*
|
|
78
|
+
* @example
|
|
79
|
+
* ```html
|
|
80
|
+
* <ui5-search>
|
|
81
|
+
* <div slot="header">Custom header content</div>
|
|
82
|
+
* <p>Default slot content</p>
|
|
83
|
+
* </ui5-search>
|
|
84
|
+
* ```
|
|
85
|
+
*
|
|
86
|
+
* @readonly
|
|
87
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
|
|
88
|
+
*/
|
|
89
|
+
this.slots = [
|
|
90
|
+
{
|
|
91
|
+
"name": "default",
|
|
92
|
+
"description": "Defines the Search suggestion items."
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"name": "action",
|
|
96
|
+
"description": "Defines the popup footer action button."
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"name": "illustration",
|
|
100
|
+
"description": "Defines the illustrated message to be shown in the popup."
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"name": "messageArea",
|
|
104
|
+
"description": "Defines the illustrated message to be shown in the popup."
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"name": "scopes",
|
|
108
|
+
"description": "Defines the component scope options."
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"name": "filterButton",
|
|
112
|
+
"description": "Defines the filter button slot, used to display an additional filtering button.\nThis slot is intended for passing a `ui5-button` with a filter icon to provide extended filtering options.\n\n**Note:** Scope button and Filter button are mutually exclusive.",
|
|
113
|
+
"since": "2.11.0"
|
|
114
|
+
}
|
|
115
|
+
];
|
|
116
|
+
this.elementRef = inject(ElementRef);
|
|
117
|
+
this.injector = inject(Injector);
|
|
118
|
+
}
|
|
119
|
+
get element() {
|
|
120
|
+
return this.elementRef.nativeElement;
|
|
121
|
+
}
|
|
122
|
+
ngAfterViewInit() {
|
|
123
|
+
const wcElement = this.element;
|
|
124
|
+
const inputsToSync = [
|
|
125
|
+
'loading',
|
|
126
|
+
'noTypeahead',
|
|
127
|
+
'open',
|
|
128
|
+
'showClearIcon',
|
|
129
|
+
'value',
|
|
130
|
+
'placeholder',
|
|
131
|
+
'accessibleName',
|
|
132
|
+
'accessibleDescription',
|
|
133
|
+
];
|
|
134
|
+
// Synchronize inputs (properties)
|
|
135
|
+
for (const inputName of inputsToSync) {
|
|
136
|
+
// Find the corresponding camelCase signal property on the Angular component
|
|
137
|
+
const signalName = inputName.replace(/-./g, (x) => x[1].toUpperCase());
|
|
138
|
+
// Use the Injector to run the effect in the correct context
|
|
139
|
+
if (this[signalName] && typeof this[signalName] === 'function') {
|
|
140
|
+
runInInjectionContext(this.injector, () => {
|
|
141
|
+
effect(() => {
|
|
142
|
+
// Read the signal value
|
|
143
|
+
const value = this[signalName]();
|
|
144
|
+
if (wcElement) {
|
|
145
|
+
// Write the value to the Web Component's property
|
|
146
|
+
wcElement[inputName] = value;
|
|
147
|
+
}
|
|
148
|
+
});
|
|
149
|
+
});
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
const outputsToSync = [
|
|
153
|
+
'ui5Open',
|
|
154
|
+
'ui5Close',
|
|
155
|
+
'ui5Input',
|
|
156
|
+
'ui5ScopeChange',
|
|
157
|
+
'ui5Search',
|
|
158
|
+
];
|
|
159
|
+
// Synchronize outputs (events)
|
|
160
|
+
for (const outputName of outputsToSync) {
|
|
161
|
+
// Map Angular output name to UI5 web component event name
|
|
162
|
+
const eventName = outputName.replace('ui5', '').replace(/([A-Z])/g, '-$1').toLowerCase().substring(1);
|
|
163
|
+
// Ensure the output property exists and has an emit function before adding listener
|
|
164
|
+
if (this[outputName] && typeof this[outputName].emit === 'function' && wcElement.addEventListener) {
|
|
165
|
+
// Cast the listener to the correct type to satisfy TypeScript
|
|
166
|
+
wcElement.addEventListener(eventName, (e) => {
|
|
167
|
+
this[outputName].emit(e);
|
|
168
|
+
});
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: Search, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
173
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.1.4", type: Search, isStandalone: true, selector: "ui5-search, [ui5-search]", inputs: { loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, noTypeahead: { classPropertyName: "noTypeahead", publicName: "noTypeahead", isSignal: true, isRequired: false, transformFunction: null }, open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, showClearIcon: { classPropertyName: "showClearIcon", publicName: "showClearIcon", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, accessibleName: { classPropertyName: "accessibleName", publicName: "accessibleName", isSignal: true, isRequired: false, transformFunction: null }, accessibleDescription: { classPropertyName: "accessibleDescription", publicName: "accessibleDescription", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5Open: "ui5Open", ui5Close: "ui5Close", ui5Input: "ui5Input", ui5ScopeChange: "ui5ScopeChange", ui5Search: "ui5Search" }, exportAs: ["ui5Search"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
174
|
+
}
|
|
175
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: Search, decorators: [{
|
|
176
|
+
type: Component,
|
|
177
|
+
args: [{
|
|
178
|
+
standalone: true,
|
|
179
|
+
selector: 'ui5-search, [ui5-search]',
|
|
180
|
+
template: '<ng-content></ng-content>',
|
|
181
|
+
exportAs: 'ui5Search',
|
|
182
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
183
|
+
}]
|
|
184
|
+
}] });
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* Generated bundle index. Do not edit.
|
|
188
|
+
*/
|
|
189
|
+
|
|
190
|
+
export { Search };
|
|
191
|
+
//# sourceMappingURL=fundamental-ngx-ui5-webcomponents-fiori-search.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fundamental-ngx-ui5-webcomponents-fiori-search.mjs","sources":["../tmp-esm2022/search/index.js","../tmp-esm2022/search/fundamental-ngx-ui5-webcomponents-fiori-search.js"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ElementRef, input, output, effect, runInInjectionContext, inject, Injector, booleanAttribute } from '@angular/core';\nimport '@ui5/webcomponents-fiori/dist/Search.js';\nimport * as i0 from \"@angular/core\";\nexport class Search {\n constructor() {\n /**\n * Indicates whether a loading indicator should be shown in the popup.\n */\n this.loading = input(false, ...(ngDevMode ? [{ debugName: \"loading\", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));\n /**\n * Defines whether the value will be autcompleted to match an item.\n */\n this.noTypeahead = input(false, ...(ngDevMode ? [{ debugName: \"noTypeahead\", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));\n /**\n * Indicates whether the items picker is open.\n */\n this.open = input(false, ...(ngDevMode ? [{ debugName: \"open\", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));\n /**\n * Defines whether the clear icon of the search will be shown.\n */\n this.showClearIcon = input(false, ...(ngDevMode ? [{ debugName: \"showClearIcon\", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));\n /**\n * Defines the value of the component.\n \n **Note:** The property is updated upon typing.\n */\n this.value = input(\"\", ...(ngDevMode ? [{ debugName: \"value\" }] : []));\n /**\n * Defines a short hint intended to aid the user with data entry when the\n component has no value.\n */\n this.placeholder = input(...(ngDevMode ? [undefined, { debugName: \"placeholder\" }] : []));\n /**\n * Defines the accessible ARIA name of the component.\n */\n this.accessibleName = input(...(ngDevMode ? [undefined, { debugName: \"accessibleName\" }] : []));\n /**\n * Defines the accessible ARIA description of the field.\n */\n this.accessibleDescription = input(...(ngDevMode ? [undefined, { debugName: \"accessibleDescription\" }] : [])); // className is now passed\n /**\n * Fired when the popup is opened.\n */\n this.ui5Open = output();\n /**\n * Fired when the popup is closed.\n */\n this.ui5Close = output();\n /**\n * Fired when typing in input or clear icon is pressed.\n */\n this.ui5Input = output();\n /**\n * Fired when the scope has changed.\n */\n this.ui5ScopeChange = output();\n /**\n * Fired when the user has triggered search with Enter key or Search Button press.\n */\n this.ui5Search = output();\n /**\n * Available slots for content projection in this component.\n *\n * Slots allow you to insert custom content into predefined areas of the web component.\n * Use the `slot` attribute on child elements to target specific slots.\n *\n * - **(default)**: Defines the Search suggestion items.\n * - **action**: Defines the popup footer action button.\n * - **illustration**: Defines the illustrated message to be shown in the popup.\n * - **messageArea**: Defines the illustrated message to be shown in the popup.\n * - **scopes**: Defines the component scope options.\n * - **filterButton**: Defines the filter button slot, used to display an additional filtering button.\n This slot is intended for passing a `ui5-button` with a filter icon to provide extended filtering options.\n \n **Note:** Scope button and Filter button are mutually exclusive.\n *\n * @example\n * ```html\n * <ui5-search>\n * <div slot=\"header\">Custom header content</div>\n * <p>Default slot content</p>\n * </ui5-search>\n * ```\n *\n * @readonly\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}\n */\n this.slots = [\n {\n \"name\": \"default\",\n \"description\": \"Defines the Search suggestion items.\"\n },\n {\n \"name\": \"action\",\n \"description\": \"Defines the popup footer action button.\"\n },\n {\n \"name\": \"illustration\",\n \"description\": \"Defines the illustrated message to be shown in the popup.\"\n },\n {\n \"name\": \"messageArea\",\n \"description\": \"Defines the illustrated message to be shown in the popup.\"\n },\n {\n \"name\": \"scopes\",\n \"description\": \"Defines the component scope options.\"\n },\n {\n \"name\": \"filterButton\",\n \"description\": \"Defines the filter button slot, used to display an additional filtering button.\\nThis slot is intended for passing a `ui5-button` with a filter icon to provide extended filtering options.\\n\\n**Note:** Scope button and Filter button are mutually exclusive.\",\n \"since\": \"2.11.0\"\n }\n ];\n this.elementRef = inject(ElementRef);\n this.injector = inject(Injector);\n }\n get element() {\n return this.elementRef.nativeElement;\n }\n ngAfterViewInit() {\n const wcElement = this.element;\n const inputsToSync = [\n 'loading',\n 'noTypeahead',\n 'open',\n 'showClearIcon',\n 'value',\n 'placeholder',\n 'accessibleName',\n 'accessibleDescription',\n ];\n // Synchronize inputs (properties)\n for (const inputName of inputsToSync) {\n // Find the corresponding camelCase signal property on the Angular component\n const signalName = inputName.replace(/-./g, (x) => x[1].toUpperCase());\n // Use the Injector to run the effect in the correct context\n if (this[signalName] && typeof this[signalName] === 'function') {\n runInInjectionContext(this.injector, () => {\n effect(() => {\n // Read the signal value\n const value = this[signalName]();\n if (wcElement) {\n // Write the value to the Web Component's property\n wcElement[inputName] = value;\n }\n });\n });\n }\n }\n const outputsToSync = [\n 'ui5Open',\n 'ui5Close',\n 'ui5Input',\n 'ui5ScopeChange',\n 'ui5Search',\n ];\n // Synchronize outputs (events)\n for (const outputName of outputsToSync) {\n // Map Angular output name to UI5 web component event name\n const eventName = outputName.replace('ui5', '').replace(/([A-Z])/g, '-$1').toLowerCase().substring(1);\n // Ensure the output property exists and has an emit function before adding listener\n if (this[outputName] && typeof this[outputName].emit === 'function' && wcElement.addEventListener) {\n // Cast the listener to the correct type to satisfy TypeScript\n wcElement.addEventListener(eventName, (e) => {\n this[outputName].emit(e);\n });\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.1.4\", ngImport: i0, type: Search, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.1.0\", version: \"20.1.4\", type: Search, isStandalone: true, selector: \"ui5-search, [ui5-search]\", inputs: { loading: { classPropertyName: \"loading\", publicName: \"loading\", isSignal: true, isRequired: false, transformFunction: null }, noTypeahead: { classPropertyName: \"noTypeahead\", publicName: \"noTypeahead\", isSignal: true, isRequired: false, transformFunction: null }, open: { classPropertyName: \"open\", publicName: \"open\", isSignal: true, isRequired: false, transformFunction: null }, showClearIcon: { classPropertyName: \"showClearIcon\", publicName: \"showClearIcon\", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: \"value\", publicName: \"value\", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: \"placeholder\", publicName: \"placeholder\", isSignal: true, isRequired: false, transformFunction: null }, accessibleName: { classPropertyName: \"accessibleName\", publicName: \"accessibleName\", isSignal: true, isRequired: false, transformFunction: null }, accessibleDescription: { classPropertyName: \"accessibleDescription\", publicName: \"accessibleDescription\", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5Open: \"ui5Open\", ui5Close: \"ui5Close\", ui5Input: \"ui5Input\", ui5ScopeChange: \"ui5ScopeChange\", ui5Search: \"ui5Search\" }, exportAs: [\"ui5Search\"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.4\", ngImport: i0, type: Search, decorators: [{\n type: Component,\n args: [{\n standalone: true,\n selector: 'ui5-search, [ui5-search]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5Search',\n changeDetection: ChangeDetectionStrategy.OnPush,\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL3VpNS13ZWJjb21wb25lbnRzLWZpb3JpL3NlYXJjaC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQ0wsdUJBQXVCLEVBQ3Z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mluZykgPT4geFsxXS50b1VwcGVyQ2FzZSgpKTtcblxuICAgICAgLy8gVXNlIHRoZSBJbmplY3RvciB0byBydW4gdGhlIGVmZmVjdCBpbiB0aGUgY29ycmVjdCBjb250ZXh0XG4gICAgICBpZiAodGhpc1tzaWduYWxOYW1lXSAmJiB0eXBlb2YgdGhpc1tzaWduYWxOYW1lXSA9PT0gJ2Z1bmN0aW9uJykge1xuICAgICAgICBydW5JbkluamVjdGlvbkNvbnRleHQodGhpcy5pbmplY3RvciwgKCkgPT4ge1xuICAgICAgICAgIGVmZmVjdCgoKSA9PiB7XG4gICAgICAgICAgICAvLyBSZWFkIHRoZSBzaWduYWwgdmFsdWVcbiAgICAgICAgICAgIGNvbnN0IHZhbHVlID0gdGhpc1tzaWduYWxOYW1lXSgpO1xuICAgICAgICAgICAgaWYgKHdjRWxlbWVudCkge1xuICAgICAgICAgICAgICAvLyBXcml0ZSB0aGUgdmFsdWUgdG8gdGhlIFdlYiBDb21wb25lbnQncyBwcm9wZXJ0eVxuICAgICAgICAgICAgICB3Y0VsZW1lbnRbaW5wdXROYW1lXSA9IHZhbHVlO1xuICAgICAgICAgICAgfVxuICAgICAgICAgIH0pO1xuICAgICAgICB9KTtcbiAgICAgIH1cbiAgICB9XG4gIFxuICAgIFxuICAgIGNvbnN0IG91dHB1dHNUb1N5bmMgPSBbXG4gICAgICAndWk1T3BlbicsXG4gICAgICAndWk1Q2xvc2UnLFxuICAgICAgJ3VpNUlucHV0JyxcbiAgICAgICd1aTVTY29wZUNoYW5nZScsXG4gICAgICAndWk1U2VhcmNoJyxcbiAgICBdO1xuICAgIFxuICAgIC8vIFN5bmNocm9uaXplIG91dHB1dHMgKGV2ZW50cylcbiAgICBmb3IgKGNvbnN0IG91dHB1dE5hbWUgb2Ygb3V0cHV0c1RvU3luYykge1xuICAgICAgLy8gTWFwIEFuZ3VsYXIgb3V0cHV0IG5hbWUgdG8gVUk1IHdlYiBjb21wb25lbnQgZXZlbnQgbmFtZVxuICAgICAgY29uc3QgZXZlbnROYW1lID0gb3V0cHV0TmFtZS5yZXBsYWNlKCd1aTUnLCAnJykucmVwbGFjZSgvKFtBLVpdKS9nLCAnLSQxJykudG9Mb3dlckNhc2UoKS5zdWJzdHJpbmcoMSk7XG4gICAgICAvLyBFbnN1cmUgdGhlIG91dHB1dCBwcm9wZXJ0eSBleGlzdHMgYW5kIGhhcyBhbiBlbWl0IGZ1bmN0aW9uIGJlZm9yZSBhZGRpbmcgbGlzdGVuZXJcbiAgICAgIGlmICh0aGlzW291dHB1dE5hbWVdICYmIHR5cGVvZiB0aGlzW291dHB1dE5hbWVdLmVtaXQgPT09ICdmdW5jdGlvbicgJiYgd2NFbGVtZW50LmFkZEV2ZW50TGlzdGVuZXIpIHtcbiAgICAgICAgLy8gQ2FzdCB0aGUgbGlzdGVuZXIgdG8gdGhlIGNvcnJlY3QgdHlwZSB0byBzYXRpc2Z5IFR5cGVTY3JpcHRcbiAgICAgICAgd2NFbGVtZW50LmFkZEV2ZW50TGlzdGVuZXIoZXZlbnROYW1lLCAoZSkgPT4ge1xuXG4gICAgICAgICAgdGhpc1tvdXRwdXROYW1lXS5lbWl0KGUgYXMgQ3VzdG9tRXZlbnQ8YW55Pik7XG4gICAgICAgIH0pO1xuICAgICAgfVxuICAgIH1cbiAgXG5cbiAgfVxufVxuXG4iXX0=","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnVuZGFtZW50YWwtbmd4LXVpNS13ZWJjb21wb25lbnRzLWZpb3JpLXNlYXJjaC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvdWk1LXdlYmNvbXBvbmVudHMtZmlvcmkvc2VhcmNoL2Z1bmRhbWVudGFsLW5neC11aTUtd2ViY29tcG9uZW50cy1maW9yaS1zZWFyY2gudHMiXSwibmFtZXMiOltdLCJtYXBw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E,UAAU,EAAE,gBAAgB,EAAE,QAAQ,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,iBAAiB,EAAE,IAAI,EAAE,EAAE,qBAAqB,EAAE,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,UAAU,EAAE,uBAAuB,EAAE,QAAQ,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,iBAAiB,EAAE,IAAI,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,cAAc,EAAE,gBAAgB,EAAE,SAAS,EAAE,WAAW,EAAE,EAAE,QAAQ,EAAE,CAAC,WAAW,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE,2BAA2B,EAAE,QAAQ,EAAE,IAAI,EAAE,eAAe,EAAE,EAAE,CAAC,uBAAuB,CAAC,MAAM,EAAE,CAAC,CAAC;AACrhD;AACA,EAAE,CAAC,wBAAwB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC;AAChH,YAAY,IAAI,EAAE,SAAS;AAC3B,YAAY,IAAI,EAAE,CAAC;AACnB,oBAAoB,UAAU,EAAE,IAAI;AACpC,oBAAoB,QAAQ,EAAE,0BAA0B;AACxD,oBAAoB,QAAQ,EAAE,2BAA2B;AACzD,oBAAoB,QAAQ,EAAE,WAAW;AACzC,oBAAoB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AACnE,iBAAiB;AACjB,SAAS,CAAC,EAAE,CAAC;;ACtLb;AACA;AACA;;;;"}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, output, inject, ElementRef, Injector, runInInjectionContext, effect, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
+
import '@ui5/webcomponents-fiori/dist/ShellBarBranding.js';
|
|
4
|
+
|
|
5
|
+
class ShellBarBranding {
|
|
6
|
+
constructor() {
|
|
7
|
+
/**
|
|
8
|
+
* Defines the component href.
|
|
9
|
+
|
|
10
|
+
**Note:** Standard hyperlink behavior is supported.
|
|
11
|
+
*/
|
|
12
|
+
this.href = input(...(ngDevMode ? [undefined, { debugName: "href" }] : []));
|
|
13
|
+
/**
|
|
14
|
+
* Defines the component target.
|
|
15
|
+
|
|
16
|
+
**Notes:**
|
|
17
|
+
|
|
18
|
+
- `_self`
|
|
19
|
+
- `_top`
|
|
20
|
+
- `_blank`
|
|
21
|
+
- `_parent`
|
|
22
|
+
- `_search`
|
|
23
|
+
|
|
24
|
+
**This property must only be used when the `href` property is set.**
|
|
25
|
+
*/
|
|
26
|
+
this.target = input(...(ngDevMode ? [undefined, { debugName: "target" }] : []));
|
|
27
|
+
/**
|
|
28
|
+
* Defines the text alternative of the component.
|
|
29
|
+
If not provided a default text alternative will be set, if present.
|
|
30
|
+
*/
|
|
31
|
+
this.accessibleName = input(...(ngDevMode ? [undefined, { debugName: "accessibleName" }] : [])); // className is now passed
|
|
32
|
+
/**
|
|
33
|
+
* Fired, when the logo is activated.
|
|
34
|
+
*/
|
|
35
|
+
this.ui5Click = output();
|
|
36
|
+
/**
|
|
37
|
+
* Available slots for content projection in this component.
|
|
38
|
+
*
|
|
39
|
+
* Slots allow you to insert custom content into predefined areas of the web component.
|
|
40
|
+
* Use the `slot` attribute on child elements to target specific slots.
|
|
41
|
+
*
|
|
42
|
+
* - **(default)**: Defines the title for the ui5-shellbar-branding component.
|
|
43
|
+
|
|
44
|
+
**Note:** Although this slot accepts HTML Elements, it is strongly recommended that you only use text in order to preserve the intended design.
|
|
45
|
+
* - **logo**: Defines the logo of the `ui5-shellbar`.
|
|
46
|
+
For example, you can use `ui5-avatar` or `img` elements as logo.
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* ```html
|
|
50
|
+
* <ui5-shellbar-branding>
|
|
51
|
+
* <div slot="header">Custom header content</div>
|
|
52
|
+
* <p>Default slot content</p>
|
|
53
|
+
* </ui5-shellbar-branding>
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @readonly
|
|
57
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
|
|
58
|
+
*/
|
|
59
|
+
this.slots = [
|
|
60
|
+
{
|
|
61
|
+
"name": "default",
|
|
62
|
+
"description": "Defines the title for the ui5-shellbar-branding component.\n\n**Note:** Although this slot accepts HTML Elements, it is strongly recommended that you only use text in order to preserve the intended design."
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"name": "logo",
|
|
66
|
+
"description": "Defines the logo of the `ui5-shellbar`.\nFor example, you can use `ui5-avatar` or `img` elements as logo."
|
|
67
|
+
}
|
|
68
|
+
];
|
|
69
|
+
this.elementRef = inject(ElementRef);
|
|
70
|
+
this.injector = inject(Injector);
|
|
71
|
+
}
|
|
72
|
+
get element() {
|
|
73
|
+
return this.elementRef.nativeElement;
|
|
74
|
+
}
|
|
75
|
+
ngAfterViewInit() {
|
|
76
|
+
const wcElement = this.element;
|
|
77
|
+
const inputsToSync = [
|
|
78
|
+
'href',
|
|
79
|
+
'target',
|
|
80
|
+
'accessibleName',
|
|
81
|
+
];
|
|
82
|
+
// Synchronize inputs (properties)
|
|
83
|
+
for (const inputName of inputsToSync) {
|
|
84
|
+
// Find the corresponding camelCase signal property on the Angular component
|
|
85
|
+
const signalName = inputName.replace(/-./g, (x) => x[1].toUpperCase());
|
|
86
|
+
// Use the Injector to run the effect in the correct context
|
|
87
|
+
if (this[signalName] && typeof this[signalName] === 'function') {
|
|
88
|
+
runInInjectionContext(this.injector, () => {
|
|
89
|
+
effect(() => {
|
|
90
|
+
// Read the signal value
|
|
91
|
+
const value = this[signalName]();
|
|
92
|
+
if (wcElement) {
|
|
93
|
+
// Write the value to the Web Component's property
|
|
94
|
+
wcElement[inputName] = value;
|
|
95
|
+
}
|
|
96
|
+
});
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
const outputsToSync = [
|
|
101
|
+
'ui5Click',
|
|
102
|
+
];
|
|
103
|
+
// Synchronize outputs (events)
|
|
104
|
+
for (const outputName of outputsToSync) {
|
|
105
|
+
// Map Angular output name to UI5 web component event name
|
|
106
|
+
const eventName = outputName.replace('ui5', '').replace(/([A-Z])/g, '-$1').toLowerCase().substring(1);
|
|
107
|
+
// Ensure the output property exists and has an emit function before adding listener
|
|
108
|
+
if (this[outputName] && typeof this[outputName].emit === 'function' && wcElement.addEventListener) {
|
|
109
|
+
// Cast the listener to the correct type to satisfy TypeScript
|
|
110
|
+
wcElement.addEventListener(eventName, (e) => {
|
|
111
|
+
this[outputName].emit(e);
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: ShellBarBranding, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
117
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.1.4", type: ShellBarBranding, isStandalone: true, selector: "ui5-shellbar-branding, [ui5-shellbar-branding]", inputs: { href: { classPropertyName: "href", publicName: "href", isSignal: true, isRequired: false, transformFunction: null }, target: { classPropertyName: "target", publicName: "target", isSignal: true, isRequired: false, transformFunction: null }, accessibleName: { classPropertyName: "accessibleName", publicName: "accessibleName", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5Click: "ui5Click" }, exportAs: ["ui5ShellBarBranding"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
118
|
+
}
|
|
119
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: ShellBarBranding, decorators: [{
|
|
120
|
+
type: Component,
|
|
121
|
+
args: [{
|
|
122
|
+
standalone: true,
|
|
123
|
+
selector: 'ui5-shellbar-branding, [ui5-shellbar-branding]',
|
|
124
|
+
template: '<ng-content></ng-content>',
|
|
125
|
+
exportAs: 'ui5ShellBarBranding',
|
|
126
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
127
|
+
}]
|
|
128
|
+
}] });
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* Generated bundle index. Do not edit.
|
|
132
|
+
*/
|
|
133
|
+
|
|
134
|
+
export { ShellBarBranding };
|
|
135
|
+
//# sourceMappingURL=fundamental-ngx-ui5-webcomponents-fiori-shell-bar-branding.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fundamental-ngx-ui5-webcomponents-fiori-shell-bar-branding.mjs","sources":["../tmp-esm2022/shell-bar-branding/index.js","../tmp-esm2022/shell-bar-branding/fundamental-ngx-ui5-webcomponents-fiori-shell-bar-branding.js"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ElementRef, input, output, effect, runInInjectionContext, inject, Injector } from '@angular/core';\nimport '@ui5/webcomponents-fiori/dist/ShellBarBranding.js';\nimport * as i0 from \"@angular/core\";\nexport class ShellBarBranding {\n constructor() {\n /**\n * Defines the component href.\n \n **Note:** Standard hyperlink behavior is supported.\n */\n this.href = input(...(ngDevMode ? [undefined, { debugName: \"href\" }] : []));\n /**\n * Defines the component target.\n \n **Notes:**\n \n - `_self`\n - `_top`\n - `_blank`\n - `_parent`\n - `_search`\n \n **This property must only be used when the `href` property is set.**\n */\n this.target = input(...(ngDevMode ? [undefined, { debugName: \"target\" }] : []));\n /**\n * Defines the text alternative of the component.\n If not provided a default text alternative will be set, if present.\n */\n this.accessibleName = input(...(ngDevMode ? [undefined, { debugName: \"accessibleName\" }] : [])); // className is now passed\n /**\n * Fired, when the logo is activated.\n */\n this.ui5Click = output();\n /**\n * Available slots for content projection in this component.\n *\n * Slots allow you to insert custom content into predefined areas of the web component.\n * Use the `slot` attribute on child elements to target specific slots.\n *\n * - **(default)**: Defines the title for the ui5-shellbar-branding component.\n \n **Note:** Although this slot accepts HTML Elements, it is strongly recommended that you only use text in order to preserve the intended design.\n * - **logo**: Defines the logo of the `ui5-shellbar`.\n For example, you can use `ui5-avatar` or `img` elements as logo.\n *\n * @example\n * ```html\n * <ui5-shellbar-branding>\n * <div slot=\"header\">Custom header content</div>\n * <p>Default slot content</p>\n * </ui5-shellbar-branding>\n * ```\n *\n * @readonly\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}\n */\n this.slots = [\n {\n \"name\": \"default\",\n \"description\": \"Defines the title for the ui5-shellbar-branding component.\\n\\n**Note:** Although this slot accepts HTML Elements, it is strongly recommended that you only use text in order to preserve the intended design.\"\n },\n {\n \"name\": \"logo\",\n \"description\": \"Defines the logo of the `ui5-shellbar`.\\nFor example, you can use `ui5-avatar` or `img` elements as logo.\"\n }\n ];\n this.elementRef = inject(ElementRef);\n this.injector = inject(Injector);\n }\n get element() {\n return this.elementRef.nativeElement;\n }\n ngAfterViewInit() {\n const wcElement = this.element;\n const inputsToSync = [\n 'href',\n 'target',\n 'accessibleName',\n ];\n // Synchronize inputs (properties)\n for (const inputName of inputsToSync) {\n // Find the corresponding camelCase signal property on the Angular component\n const signalName = inputName.replace(/-./g, (x) => x[1].toUpperCase());\n // Use the Injector to run the effect in the correct context\n if (this[signalName] && typeof this[signalName] === 'function') {\n runInInjectionContext(this.injector, () => {\n effect(() => {\n // Read the signal value\n const value = this[signalName]();\n if (wcElement) {\n // Write the value to the Web Component's property\n wcElement[inputName] = value;\n }\n });\n });\n }\n }\n const outputsToSync = [\n 'ui5Click',\n ];\n // Synchronize outputs (events)\n for (const outputName of outputsToSync) {\n // Map Angular output name to UI5 web component event name\n const eventName = outputName.replace('ui5', '').replace(/([A-Z])/g, '-$1').toLowerCase().substring(1);\n // Ensure the output property exists and has an emit function before adding listener\n if (this[outputName] && typeof this[outputName].emit === 'function' && wcElement.addEventListener) {\n // Cast the listener to the correct type to satisfy TypeScript\n wcElement.addEventListener(eventName, (e) => {\n this[outputName].emit(e);\n });\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.1.4\", ngImport: i0, type: ShellBarBranding, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.1.0\", version: \"20.1.4\", type: ShellBarBranding, isStandalone: true, selector: \"ui5-shellbar-branding, [ui5-shellbar-branding]\", inputs: { href: { classPropertyName: \"href\", publicName: \"href\", isSignal: true, isRequired: false, transformFunction: null }, target: { classPropertyName: \"target\", publicName: \"target\", isSignal: true, isRequired: false, transformFunction: null }, accessibleName: { classPropertyName: \"accessibleName\", publicName: \"accessibleName\", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5Click: \"ui5Click\" }, exportAs: [\"ui5ShellBarBranding\"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.4\", ngImport: i0, type: ShellBarBranding, decorators: [{\n type: Component,\n args: [{\n standalone: true,\n selector: 'ui5-shellbar-branding, [ui5-shellbar-branding]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5ShellBarBranding',\n changeDetection: ChangeDetectionStrategy.OnPush,\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL3VpNS13ZWJjb21wb25lbnRzLWZpb3JpL3NoZWxsLWJhci1icmFuZGluZy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQ0w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c3Qgb3V0cHV0c1RvU3luYyA9IFtcbiAgICAgICd1aTVDbGljaycsXG4gICAgXTtcbiAgICBcbiAgICAvLyBTeW5jaHJvbml6ZSBvdXRwdXRzIChldmVudHMpXG4gICAgZm9yIChjb25zdCBvdXRwdXROYW1lIG9mIG91dHB1dHNUb1N5bmMpIHtcbiAgICAgIC8vIE1hcCBBbmd1bGFyIG91dHB1dCBuYW1lIHRvIFVJNSB3ZWIgY29tcG9uZW50IGV2ZW50IG5hbWVcbiAgICAgIGNvbnN0IGV2ZW50TmFtZSA9IG91dHB1dE5hbWUucmVwbGFjZSgndWk1JywgJycpLnJlcGxhY2UoLyhbQS1aXSkvZywgJy0kMScpLnRvTG93ZXJDYXNlKCkuc3Vic3RyaW5nKDEpO1xuICAgICAgLy8gRW5zdXJlIHRoZSBvdXRwdXQgcHJvcGVydHkgZXhpc3RzIGFuZCBoYXMgYW4gZW1pdCBmdW5jdGlvbiBiZWZvcmUgYWRkaW5nIGxpc3RlbmVyXG4gICAgICBpZiAodGhpc1tvdXRwdXROYW1lXSAmJiB0eXBlb2YgdGhpc1tvdXRwdXROYW1lXS5lbWl0ID09PSAnZnVuY3Rpb24nICYmIHdjRWxlbWVudC5hZGRFdmVudExpc3RlbmVyKSB7XG4gICAgICAgIC8vIENhc3QgdGhlIGxpc3RlbmVyIHRvIHRoZSBjb3JyZWN0IHR5cGUgdG8gc2F0aXNmeSBUeXBlU2NyaXB0XG4gICAgICAgIHdjRWxlbWVudC5hZGRFdmVudExpc3RlbmVyKGV2ZW50TmFtZSwgKGUpID0+IHtcblxuICAgICAgICAgIHRoaXNbb3V0cHV0TmFtZV0uZW1pdChlIGFzIEN1c3RvbUV2ZW50PGFueT4pO1xuICAgICAgICB9KTtcbiAgICAgIH1cbiAgICB9XG4gIFxuXG4gIH1cbn1cblxuIl19","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZn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 -0,0 +1,109 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, output, inject, ElementRef, Injector, runInInjectionContext, effect, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
+
import '@ui5/webcomponents-fiori/dist/ShellBarItem.js';
|
|
4
|
+
|
|
5
|
+
class ShellBarItem {
|
|
6
|
+
constructor() {
|
|
7
|
+
/**
|
|
8
|
+
* Defines the name of the item's icon.
|
|
9
|
+
*/
|
|
10
|
+
this.icon = input(...(ngDevMode ? [undefined, { debugName: "icon" }] : []));
|
|
11
|
+
/**
|
|
12
|
+
* Defines the item text.
|
|
13
|
+
|
|
14
|
+
**Note:** The text is only displayed inside the overflow popover list view.
|
|
15
|
+
*/
|
|
16
|
+
this.text = input(...(ngDevMode ? [undefined, { debugName: "text" }] : []));
|
|
17
|
+
/**
|
|
18
|
+
* Defines the count displayed in the top-right corner.
|
|
19
|
+
*/
|
|
20
|
+
this.count = input(...(ngDevMode ? [undefined, { debugName: "count" }] : []));
|
|
21
|
+
/**
|
|
22
|
+
* Defines additional accessibility attributes on Shellbar Items.
|
|
23
|
+
|
|
24
|
+
The accessibility attributes support the following values:
|
|
25
|
+
|
|
26
|
+
- **expanded**: Indicates whether the button, or another grouping element it controls,
|
|
27
|
+
is currently expanded or collapsed.
|
|
28
|
+
Accepts the following string values: `true` or `false`.
|
|
29
|
+
|
|
30
|
+
- **hasPopup**: Indicates the availability and type of interactive popup element,
|
|
31
|
+
such as menu or dialog, that can be triggered by the button.
|
|
32
|
+
|
|
33
|
+
- **controls**: Identifies the element (or elements) whose contents
|
|
34
|
+
or presence are controlled by the component.
|
|
35
|
+
Accepts a lowercase string value, referencing the ID of the element it controls.
|
|
36
|
+
*/
|
|
37
|
+
this.accessibilityAttributes = input({}, ...(ngDevMode ? [{ debugName: "accessibilityAttributes" }] : [])); // className is now passed
|
|
38
|
+
/**
|
|
39
|
+
* Fired, when the item is pressed.
|
|
40
|
+
*/
|
|
41
|
+
this.ui5Click = output();
|
|
42
|
+
this.elementRef = inject(ElementRef);
|
|
43
|
+
this.injector = inject(Injector);
|
|
44
|
+
}
|
|
45
|
+
get element() {
|
|
46
|
+
return this.elementRef.nativeElement;
|
|
47
|
+
}
|
|
48
|
+
ngAfterViewInit() {
|
|
49
|
+
const wcElement = this.element;
|
|
50
|
+
const inputsToSync = [
|
|
51
|
+
'icon',
|
|
52
|
+
'text',
|
|
53
|
+
'count',
|
|
54
|
+
'accessibilityAttributes',
|
|
55
|
+
];
|
|
56
|
+
// Synchronize inputs (properties)
|
|
57
|
+
for (const inputName of inputsToSync) {
|
|
58
|
+
// Find the corresponding camelCase signal property on the Angular component
|
|
59
|
+
const signalName = inputName.replace(/-./g, (x) => x[1].toUpperCase());
|
|
60
|
+
// Use the Injector to run the effect in the correct context
|
|
61
|
+
if (this[signalName] && typeof this[signalName] === 'function') {
|
|
62
|
+
runInInjectionContext(this.injector, () => {
|
|
63
|
+
effect(() => {
|
|
64
|
+
// Read the signal value
|
|
65
|
+
const value = this[signalName]();
|
|
66
|
+
if (wcElement) {
|
|
67
|
+
// Write the value to the Web Component's property
|
|
68
|
+
wcElement[inputName] = value;
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
const outputsToSync = [
|
|
75
|
+
'ui5Click',
|
|
76
|
+
];
|
|
77
|
+
// Synchronize outputs (events)
|
|
78
|
+
for (const outputName of outputsToSync) {
|
|
79
|
+
// Map Angular output name to UI5 web component event name
|
|
80
|
+
const eventName = outputName.replace('ui5', '').replace(/([A-Z])/g, '-$1').toLowerCase().substring(1);
|
|
81
|
+
// Ensure the output property exists and has an emit function before adding listener
|
|
82
|
+
if (this[outputName] && typeof this[outputName].emit === 'function' && wcElement.addEventListener) {
|
|
83
|
+
// Cast the listener to the correct type to satisfy TypeScript
|
|
84
|
+
wcElement.addEventListener(eventName, (e) => {
|
|
85
|
+
this[outputName].emit(e);
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: ShellBarItem, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
91
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.1.4", type: ShellBarItem, isStandalone: true, selector: "ui5-shellbar-item, [ui5-shellbar-item]", inputs: { icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, count: { classPropertyName: "count", publicName: "count", isSignal: true, isRequired: false, transformFunction: null }, accessibilityAttributes: { classPropertyName: "accessibilityAttributes", publicName: "accessibilityAttributes", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5Click: "ui5Click" }, exportAs: ["ui5ShellBarItem"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
92
|
+
}
|
|
93
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: ShellBarItem, decorators: [{
|
|
94
|
+
type: Component,
|
|
95
|
+
args: [{
|
|
96
|
+
standalone: true,
|
|
97
|
+
selector: 'ui5-shellbar-item, [ui5-shellbar-item]',
|
|
98
|
+
template: '<ng-content></ng-content>',
|
|
99
|
+
exportAs: 'ui5ShellBarItem',
|
|
100
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
101
|
+
}]
|
|
102
|
+
}] });
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Generated bundle index. Do not edit.
|
|
106
|
+
*/
|
|
107
|
+
|
|
108
|
+
export { ShellBarItem };
|
|
109
|
+
//# sourceMappingURL=fundamental-ngx-ui5-webcomponents-fiori-shell-bar-item.mjs.map
|