@fundamental-ngx/ui5-webcomponents-fiori 0.58.0-rc.71 → 0.58.0-rc.73
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/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/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-media-gallery.mjs","sources":["../tmp-esm2022/media-gallery/index.js","../tmp-esm2022/media-gallery/fundamental-ngx-ui5-webcomponents-fiori-media-gallery.js"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ElementRef, input, output, effect, runInInjectionContext, inject, Injector, booleanAttribute } from '@angular/core';\nimport '@ui5/webcomponents-fiori/dist/MediaGallery.js';\nimport * as i0 from \"@angular/core\";\nexport class MediaGallery {\n constructor() {\n /**\n * If set to `true`, all thumbnails are rendered in a scrollable container.\n If `false`, only up to five thumbnails are rendered, followed by\n an overflow button that shows the count of the remaining thumbnails.\n */\n this.showAllThumbnails = input(false, ...(ngDevMode ? [{ debugName: \"showAllThumbnails\", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));\n /**\n * If enabled, a `display-area-click` event is fired\n when the user clicks or taps on the display area.\n \n The display area is the central area that contains\n the enlarged content of the currently selected item.\n */\n this.interactiveDisplayArea = input(false, ...(ngDevMode ? [{ debugName: \"interactiveDisplayArea\", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));\n /**\n * Determines the layout of the component.\n */\n this.layout = input(\"Auto\", ...(ngDevMode ? [{ debugName: \"layout\" }] : []));\n /**\n * Determines the horizontal alignment of the thumbnails menu\n vs. the central display area.\n */\n this.menuHorizontalAlign = input(\"Left\", ...(ngDevMode ? [{ debugName: \"menuHorizontalAlign\" }] : []));\n /**\n * Determines the vertical alignment of the thumbnails menu\n vs. the central display area.\n */\n this.menuVerticalAlign = input(\"Bottom\", ...(ngDevMode ? [{ debugName: \"menuVerticalAlign\" }] : [])); // className is now passed\n /**\n * Fired when selection is changed by user interaction.\n */\n this.ui5SelectionChange = output();\n /**\n * Fired when the thumbnails overflow button is clicked.\n */\n this.ui5OverflowClick = output();\n /**\n * Fired when the display area is clicked.\n The display area is the central area that contains\n the enlarged content of the currently selected item.\n */\n this.ui5DisplayAreaClick = 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 component items.\n \n **Note:** Only one selected item is allowed.\n \n **Note:** Use the `ui5-media-gallery-item` component to define the desired items.\n *\n * @example\n * ```html\n * <ui5-media-gallery>\n * <div slot=\"header\">Custom header content</div>\n * <p>Default slot content</p>\n * </ui5-media-gallery>\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 component items.\\n\\n**Note:** Only one selected item is allowed.\\n\\n**Note:** Use the `ui5-media-gallery-item` component to define the desired items.\"\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 'showAllThumbnails',\n 'interactiveDisplayArea',\n 'layout',\n 'menuHorizontalAlign',\n 'menuVerticalAlign',\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 'ui5SelectionChange',\n 'ui5OverflowClick',\n 'ui5DisplayAreaClick',\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: MediaGallery, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.1.0\", version: \"20.1.4\", type: MediaGallery, isStandalone: true, selector: \"ui5-media-gallery, [ui5-media-gallery]\", inputs: { showAllThumbnails: { classPropertyName: \"showAllThumbnails\", publicName: \"showAllThumbnails\", isSignal: true, isRequired: false, transformFunction: null }, interactiveDisplayArea: { classPropertyName: \"interactiveDisplayArea\", publicName: \"interactiveDisplayArea\", isSignal: true, isRequired: false, transformFunction: null }, layout: { classPropertyName: \"layout\", publicName: \"layout\", isSignal: true, isRequired: false, transformFunction: null }, menuHorizontalAlign: { classPropertyName: \"menuHorizontalAlign\", publicName: \"menuHorizontalAlign\", isSignal: true, isRequired: false, transformFunction: null }, menuVerticalAlign: { classPropertyName: \"menuVerticalAlign\", publicName: \"menuVerticalAlign\", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5SelectionChange: \"ui5SelectionChange\", ui5OverflowClick: \"ui5OverflowClick\", ui5DisplayAreaClick: \"ui5DisplayAreaClick\" }, exportAs: [\"ui5MediaGallery\"], 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: MediaGallery, decorators: [{\n type: Component,\n args: [{\n standalone: true,\n selector: 'ui5-media-gallery, [ui5-media-gallery]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5MediaGallery',\n changeDetection: ChangeDetectionStrategy.OnPush,\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL3VpNS13ZWJjb21wb25lbnRzLWZpb3JpL21lZGlhLWdhbGxlcnkvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUNMLHVCQUF1QixFQUN2QixTQUFTLEVBQ1QsVUFBVSxFQUNWLEtBQUssRUFDTCxNQUFNLEVBRU4sTUFBTSxFQUNOLHFCQUFxQixFQUNyQixNQUFNLEVBQ04sUUFBUSxFQUNSLGdCQUFnQixFQUdqQixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLCtDQUErQyxDQUFDOztBQWdCdkQsTUFBTSxPQUFPLFlBQVk7SUFSekI7UUFVRTs7OztXQUlHO1FBQ0gsc0JBQWlCLEdBQUcsS0FBSyxDQUFDLEtBQUsscURBQUksU0FBUyxFQUFFLGdCQUFnQixPQUE3QixFQUFFLFNBQVMsRUFBRSxnQkFBZ0IsRUFBRSxHQUFDLENBQUM7UUFFbEU7Ozs7OztXQU1HO1FBQ0gsMkJBQXNCLEdBQUcsS0FBSyxDQUFDLEtBQUssMERBQUksU0FBUyxFQUFFLGdCQUFnQixPQUE3QixFQUFFLFNBQVMsRUFBRSxnQkFBZ0IsRUFBRSxHQUFDLENBQUM7UUFFdkU7O1dBRUc7UUFDSCxXQUFNLEdBQUcsS0FBSyxDQUFvRCxNQUFNLGtEQUFDLENBQUM7UUFFMUU7OztXQUdHO1FBQ0gsd0JBQW1CLEdBQUcsS0FBSyxDQUFp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hhbmdlJyxcbiAgICAgICd1aTVPdmVyZmxvd0NsaWNrJyxcbiAgICAgICd1aTVEaXNwbGF5QXJlYUNsaWNrJyxcbiAgICBdO1xuICAgIFxuICAgIC8vIFN5bmNocm9uaXplIG91dHB1dHMgKGV2ZW50cylcbiAgICBmb3IgKGNvbnN0IG91dHB1dE5hbWUgb2Ygb3V0cHV0c1RvU3luYykge1xuICAgICAgLy8gTWFwIEFuZ3VsYXIgb3V0cHV0IG5hbWUgdG8gVUk1IHdlYiBjb21wb25lbnQgZXZlbnQgbmFtZVxuICAgICAgY29uc3QgZXZlbnROYW1lID0gb3V0cHV0TmFtZS5yZXBsYWNlKCd1aTUnLCAnJykucmVwbGFjZSgvKFtBLVpdKS9nLCAnLSQxJykudG9Mb3dlckNhc2UoKS5zdWJzdHJpbmcoMSk7XG4gICAgICAvLyBFbnN1cmUgdGhlIG91dHB1dCBwcm9wZXJ0eSBleGlzdHMgYW5kIGhhcyBhbiBlbWl0IGZ1bmN0aW9uIGJlZm9yZSBhZGRpbmcgbGlzdGVuZXJcbiAgICAgIGlmICh0aGlzW291dHB1dE5hbWVdICYmIHR5cGVvZiB0aGlzW291dHB1dE5hbWVdLmVtaXQgPT09ICdmdW5jdGlvbicgJiYgd2NFbGVtZW50LmFkZEV2ZW50TGlzdGVuZXIpIHtcbiAgICAgICAgLy8gQ2FzdCB0aGUgbGlzdGVuZXIgdG8gdGhlIGNvcnJlY3QgdHlwZSB0byBzYXRpc2Z5IFR5cGVTY3JpcHRcbiAgICAgICAgd2NFbGVtZW50LmFkZEV2ZW50TGlzdGVuZXIoZXZlbnROYW1lLCAoZSkgPT4ge1xuXG4gICAgICAgICAgdGhpc1tvdXRwdXROYW1lXS5lbWl0KGUgYXMgQ3VzdG9tRXZlbnQ8YW55Pik7XG4gICAgICAgIH0pO1xuICAgICAgfVxuICAgIH1cbiAgXG5cbiAgfVxufVxuXG4iXX0=","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingUR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U,EAAE,KAAK,EAAE,iBAAiB,EAAE,IAAI,EAAE,EAAE,iBAAiB,EAAE,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,UAAU,EAAE,mBAAmB,EAAE,QAAQ,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,iBAAiB,EAAE,IAAI,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,EAAE,QAAQ,EAAE,CAAC,iBAAiB,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE,2BAA2B,EAAE,QAAQ,EAAE,IAAI,EAAE,eAAe,EAAE,EAAE,CAAC,uBAAuB,CAAC,MAAM,EAAE,CAAC,CAAC;AACvuC;AACA,EAAE,CAAC,wBAAwB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,UAAU,EAAE,CAAC;AACtH,YAAY,IAAI,EAAE,SAAS;AAC3B,YAAY,IAAI,EAAE,CAAC;AACnB,oBAAoB,UAAU,EAAE,IAAI;AACpC,oBAAoB,QAAQ,EAAE,wCAAwC;AACtE,oBAAoB,QAAQ,EAAE,2BAA2B;AACzD,oBAAoB,QAAQ,EAAE,iBAAiB;AAC/C,oBAAoB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AACnE,iBAAiB;AACjB,SAAS,CAAC,EAAE,CAAC;;AC3Ib;AACA;AACA;;;;"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, inject, ElementRef, Injector, runInInjectionContext, effect, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
+
import '@ui5/webcomponents-fiori/dist/NavigationLayout.js';
|
|
4
|
+
|
|
5
|
+
class NavigationLayout {
|
|
6
|
+
constructor() {
|
|
7
|
+
/**
|
|
8
|
+
* Specifies the navigation layout mode.
|
|
9
|
+
*/
|
|
10
|
+
this.mode = input("Auto", ...(ngDevMode ? [{ debugName: "mode" }] : [])); // className is now passed
|
|
11
|
+
/**
|
|
12
|
+
* Available slots for content projection in this component.
|
|
13
|
+
*
|
|
14
|
+
* Slots allow you to insert custom content into predefined areas of the web component.
|
|
15
|
+
* Use the `slot` attribute on child elements to target specific slots.
|
|
16
|
+
*
|
|
17
|
+
* - **header**: Defines the header.
|
|
18
|
+
* - **sideContent**: Defines the side content.
|
|
19
|
+
* - **(default)**: Defines the content.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```html
|
|
23
|
+
* <ui5-navigation-layout>
|
|
24
|
+
* <div slot="header">Custom header content</div>
|
|
25
|
+
* <p>Default slot content</p>
|
|
26
|
+
* </ui5-navigation-layout>
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* @readonly
|
|
30
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
|
|
31
|
+
*/
|
|
32
|
+
this.slots = [
|
|
33
|
+
{
|
|
34
|
+
"name": "header",
|
|
35
|
+
"description": "Defines the header."
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "sideContent",
|
|
39
|
+
"description": "Defines the side content."
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "default",
|
|
43
|
+
"description": "Defines the content."
|
|
44
|
+
}
|
|
45
|
+
];
|
|
46
|
+
this.elementRef = inject(ElementRef);
|
|
47
|
+
this.injector = inject(Injector);
|
|
48
|
+
}
|
|
49
|
+
get element() {
|
|
50
|
+
return this.elementRef.nativeElement;
|
|
51
|
+
}
|
|
52
|
+
ngAfterViewInit() {
|
|
53
|
+
const wcElement = this.element;
|
|
54
|
+
const inputsToSync = [
|
|
55
|
+
'mode',
|
|
56
|
+
];
|
|
57
|
+
// Synchronize inputs (properties)
|
|
58
|
+
for (const inputName of inputsToSync) {
|
|
59
|
+
// Find the corresponding camelCase signal property on the Angular component
|
|
60
|
+
const signalName = inputName.replace(/-./g, (x) => x[1].toUpperCase());
|
|
61
|
+
// Use the Injector to run the effect in the correct context
|
|
62
|
+
if (this[signalName] && typeof this[signalName] === 'function') {
|
|
63
|
+
runInInjectionContext(this.injector, () => {
|
|
64
|
+
effect(() => {
|
|
65
|
+
// Read the signal value
|
|
66
|
+
const value = this[signalName]();
|
|
67
|
+
if (wcElement) {
|
|
68
|
+
// Write the value to the Web Component's property
|
|
69
|
+
wcElement[inputName] = value;
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: NavigationLayout, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
77
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.1.4", type: NavigationLayout, isStandalone: true, selector: "ui5-navigation-layout, [ui5-navigation-layout]", inputs: { mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null } }, exportAs: ["ui5NavigationLayout"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
78
|
+
}
|
|
79
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: NavigationLayout, decorators: [{
|
|
80
|
+
type: Component,
|
|
81
|
+
args: [{
|
|
82
|
+
standalone: true,
|
|
83
|
+
selector: 'ui5-navigation-layout, [ui5-navigation-layout]',
|
|
84
|
+
template: '<ng-content></ng-content>',
|
|
85
|
+
exportAs: 'ui5NavigationLayout',
|
|
86
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
87
|
+
}]
|
|
88
|
+
}] });
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Generated bundle index. Do not edit.
|
|
92
|
+
*/
|
|
93
|
+
|
|
94
|
+
export { NavigationLayout };
|
|
95
|
+
//# sourceMappingURL=fundamental-ngx-ui5-webcomponents-fiori-navigation-layout.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fundamental-ngx-ui5-webcomponents-fiori-navigation-layout.mjs","sources":["../tmp-esm2022/navigation-layout/index.js","../tmp-esm2022/navigation-layout/fundamental-ngx-ui5-webcomponents-fiori-navigation-layout.js"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ElementRef, input, effect, runInInjectionContext, inject, Injector } from '@angular/core';\nimport '@ui5/webcomponents-fiori/dist/NavigationLayout.js';\nimport * as i0 from \"@angular/core\";\nexport class NavigationLayout {\n constructor() {\n /**\n * Specifies the navigation layout mode.\n */\n this.mode = input(\"Auto\", ...(ngDevMode ? [{ debugName: \"mode\" }] : [])); // className is now passed\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 * - **header**: Defines the header.\n * - **sideContent**: Defines the side content.\n * - **(default)**: Defines the content.\n *\n * @example\n * ```html\n * <ui5-navigation-layout>\n * <div slot=\"header\">Custom header content</div>\n * <p>Default slot content</p>\n * </ui5-navigation-layout>\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\": \"header\",\n \"description\": \"Defines the header.\"\n },\n {\n \"name\": \"sideContent\",\n \"description\": \"Defines the side content.\"\n },\n {\n \"name\": \"default\",\n \"description\": \"Defines the content.\"\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 'mode',\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: NavigationLayout, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.1.0\", version: \"20.1.4\", type: NavigationLayout, isStandalone: true, selector: \"ui5-navigation-layout, [ui5-navigation-layout]\", inputs: { mode: { classPropertyName: \"mode\", publicName: \"mode\", isSignal: true, isRequired: false, transformFunction: null } }, exportAs: [\"ui5NavigationLayout\"], 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: NavigationLayout, decorators: [{\n type: Component,\n args: [{\n standalone: true,\n selector: 'ui5-navigation-layout, [ui5-navigation-layout]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5NavigationLayout',\n changeDetection: ChangeDetectionStrategy.OnPush,\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL3VpNS13ZWJjb21wb25lbnRzLWZpb3JpL25hdmlnYXRpb24tbGF5b3V0L2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFDTCx1QkFBdUIsRUFDdkIsU0FBUyxFQU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cGVydGllcylcbiAgICBmb3IgKGNvbnN0IGlucHV0TmFtZSBvZiBpbnB1dHNUb1N5bmMpIHtcbiAgICAgIC8vIEZpbmQgdGhlIGNvcnJlc3BvbmRpbmcgY2FtZWxDYXNlIHNpZ25hbCBwcm9wZXJ0eSBvbiB0aGUgQW5ndWxhciBjb21wb25lbnRcbiAgICAgIGNvbnN0IHNpZ25hbE5hbWUgPSBpbnB1dE5hbWUucmVwbGFjZSgvLS4vZywgKHg6IHN0cmluZykgPT4geFsxXS50b1VwcGVyQ2FzZSgpKTtcblxuICAgICAgLy8gVXNlIHRoZSBJbmplY3RvciB0byBydW4gdGhlIGVmZmVjdCBpbiB0aGUgY29ycmVjdCBjb250ZXh0XG4gICAgICBpZiAodGhpc1tzaWduYWxOYW1lXSAmJiB0eXBlb2YgdGhpc1tzaWduYWxOYW1lXSA9PT0gJ2Z1bmN0aW9uJykge1xuICAgICAgICBydW5JbkluamVjdGlvbkNvbnRleHQodGhpcy5pbmplY3RvciwgKCkgPT4ge1xuICAgICAgICAgIGVmZmVjdCgoKSA9PiB7XG4gICAgICAgICAgICAvLyBSZWFkIHRoZSBzaWduYWwgdmFsdWVcbiAgICAgICAgICAgIGNvbnN0IHZhbHVlID0gdGhpc1tzaWduYWxOYW1lXSgpO1xuICAgICAgICAgICAgaWYgKHdjRWxlbWVudCkge1xuICAgICAgICAgICAgICAvLyBXcml0ZSB0aGUgdmFsdWUgdG8gdGhlIFdlYiBDb21wb25lbnQncyBwcm9wZXJ0eVxuICAgICAgICAgICAgICB3Y0VsZW1lbnRbaW5wdXROYW1lXSA9IHZhbHVlO1xuICAgICAgICAgICAgfVxuICAgICAgICAgIH0pO1xuICAgICAgICB9KTtcbiAgICAgIH1cbiAgICB9XG4gIFxuICAgIFxuICAgIFxuXG4gIH1cbn1cblxuIl19","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnVuZG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ClL,IAAI,SAAS,IAAI,CAAC,IAAI,GAAG,EAAE,CAAC,oBAAoB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,gBAAgB,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,gDAAgD,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,iBAAiB,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,iBAAiB,EAAE,IAAI,EAAE,EAAE,EAAE,QAAQ,EAAE,CAAC,qBAAqB,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE,2BAA2B,EAAE,QAAQ,EAAE,IAAI,EAAE,eAAe,EAAE,EAAE,CAAC,uBAAuB,CAAC,MAAM,EAAE,CAAC,CAAC;AACne;AACA,EAAE,CAAC,wBAAwB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE,UAAU,EAAE,CAAC;AAC1H,YAAY,IAAI,EAAE,SAAS;AAC3B,YAAY,IAAI,EAAE,CAAC;AACnB,oBAAoB,UAAU,EAAE,IAAI;AACpC,oBAAoB,QAAQ,EAAE,gDAAgD;AAC9E,oBAAoB,QAAQ,EAAE,2BAA2B;AACzD,oBAAoB,QAAQ,EAAE,qBAAqB;AACnD,oBAAoB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AACnE,iBAAiB;AACjB,SAAS,CAAC,EAAE,CAAC;;ACtFb;AACA;AACA;;;;"}
|
|
@@ -0,0 +1,139 @@
|
|
|
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/NotificationListGroupItem.js';
|
|
4
|
+
|
|
5
|
+
class NotificationListGroupItem {
|
|
6
|
+
constructor() {
|
|
7
|
+
/**
|
|
8
|
+
* Defines if the group is collapsed or expanded.
|
|
9
|
+
*/
|
|
10
|
+
this.collapsed = input(false, ...(ngDevMode ? [{ debugName: "collapsed", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
|
|
11
|
+
/**
|
|
12
|
+
* Defines whether the component will have growing capability by pressing a `More` button.
|
|
13
|
+
When button is pressed `load-more` event will be fired.
|
|
14
|
+
*/
|
|
15
|
+
this.growing = input("None", ...(ngDevMode ? [{ debugName: "growing" }] : []));
|
|
16
|
+
/**
|
|
17
|
+
* Defines the `titleText` of the item.
|
|
18
|
+
*/
|
|
19
|
+
this.titleText = input(...(ngDevMode ? [undefined, { debugName: "titleText" }] : []));
|
|
20
|
+
/**
|
|
21
|
+
* Defines if the `notification` is new or has been already read.
|
|
22
|
+
|
|
23
|
+
**Note:** if set to `false` the `titleText` has bold font,
|
|
24
|
+
if set to true - it has a normal font.
|
|
25
|
+
*/
|
|
26
|
+
this.read = input(false, ...(ngDevMode ? [{ debugName: "read", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
|
|
27
|
+
/**
|
|
28
|
+
* Defines if a busy indicator would be displayed over the item.
|
|
29
|
+
*/
|
|
30
|
+
this.loading = input(false, ...(ngDevMode ? [{ debugName: "loading", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
|
|
31
|
+
/**
|
|
32
|
+
* Defines the delay in milliseconds, after which the busy indicator will show up for this component.
|
|
33
|
+
*/
|
|
34
|
+
this.loadingDelay = input(1000, ...(ngDevMode ? [{ debugName: "loadingDelay" }] : [])); // className is now passed
|
|
35
|
+
/**
|
|
36
|
+
* Fired when the `ui5-li-notification-group` is expanded/collapsed by user interaction.
|
|
37
|
+
*/
|
|
38
|
+
this.ui5Toggle = output();
|
|
39
|
+
/**
|
|
40
|
+
* Fired when additional items are requested.
|
|
41
|
+
*/
|
|
42
|
+
this.ui5LoadMore = output();
|
|
43
|
+
/**
|
|
44
|
+
* Available slots for content projection in this component.
|
|
45
|
+
*
|
|
46
|
+
* Slots allow you to insert custom content into predefined areas of the web component.
|
|
47
|
+
* Use the `slot` attribute on child elements to target specific slots.
|
|
48
|
+
*
|
|
49
|
+
* - **(default)**: Defines the items of the `ui5-li-notification-group`,
|
|
50
|
+
usually `ui5-li-notification` items.
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* ```html
|
|
54
|
+
* <ui5-li-notification-group>
|
|
55
|
+
* <div slot="header">Custom header content</div>
|
|
56
|
+
* <p>Default slot content</p>
|
|
57
|
+
* </ui5-li-notification-group>
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @readonly
|
|
61
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
|
|
62
|
+
*/
|
|
63
|
+
this.slots = [
|
|
64
|
+
{
|
|
65
|
+
"name": "default",
|
|
66
|
+
"description": "Defines the items of the `ui5-li-notification-group`,\nusually `ui5-li-notification` items."
|
|
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
|
+
'collapsed',
|
|
79
|
+
'growing',
|
|
80
|
+
'titleText',
|
|
81
|
+
'read',
|
|
82
|
+
'loading',
|
|
83
|
+
'loadingDelay',
|
|
84
|
+
];
|
|
85
|
+
// Synchronize inputs (properties)
|
|
86
|
+
for (const inputName of inputsToSync) {
|
|
87
|
+
// Find the corresponding camelCase signal property on the Angular component
|
|
88
|
+
const signalName = inputName.replace(/-./g, (x) => x[1].toUpperCase());
|
|
89
|
+
// Use the Injector to run the effect in the correct context
|
|
90
|
+
if (this[signalName] && typeof this[signalName] === 'function') {
|
|
91
|
+
runInInjectionContext(this.injector, () => {
|
|
92
|
+
effect(() => {
|
|
93
|
+
// Read the signal value
|
|
94
|
+
const value = this[signalName]();
|
|
95
|
+
if (wcElement) {
|
|
96
|
+
// Write the value to the Web Component's property
|
|
97
|
+
wcElement[inputName] = value;
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
const outputsToSync = [
|
|
104
|
+
'ui5Toggle',
|
|
105
|
+
'ui5LoadMore',
|
|
106
|
+
];
|
|
107
|
+
// Synchronize outputs (events)
|
|
108
|
+
for (const outputName of outputsToSync) {
|
|
109
|
+
// Map Angular output name to UI5 web component event name
|
|
110
|
+
const eventName = outputName.replace('ui5', '').replace(/([A-Z])/g, '-$1').toLowerCase().substring(1);
|
|
111
|
+
// Ensure the output property exists and has an emit function before adding listener
|
|
112
|
+
if (this[outputName] && typeof this[outputName].emit === 'function' && wcElement.addEventListener) {
|
|
113
|
+
// Cast the listener to the correct type to satisfy TypeScript
|
|
114
|
+
wcElement.addEventListener(eventName, (e) => {
|
|
115
|
+
this[outputName].emit(e);
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: NotificationListGroupItem, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
121
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.1.4", type: NotificationListGroupItem, isStandalone: true, selector: "ui5-li-notification-group, [ui5-li-notification-group]", inputs: { collapsed: { classPropertyName: "collapsed", publicName: "collapsed", isSignal: true, isRequired: false, transformFunction: null }, growing: { classPropertyName: "growing", publicName: "growing", isSignal: true, isRequired: false, transformFunction: null }, titleText: { classPropertyName: "titleText", publicName: "titleText", isSignal: true, isRequired: false, transformFunction: null }, read: { classPropertyName: "read", publicName: "read", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, loadingDelay: { classPropertyName: "loadingDelay", publicName: "loadingDelay", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5Toggle: "ui5Toggle", ui5LoadMore: "ui5LoadMore" }, exportAs: ["ui5NotificationListGroupItem"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
122
|
+
}
|
|
123
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: NotificationListGroupItem, decorators: [{
|
|
124
|
+
type: Component,
|
|
125
|
+
args: [{
|
|
126
|
+
standalone: true,
|
|
127
|
+
selector: 'ui5-li-notification-group, [ui5-li-notification-group]',
|
|
128
|
+
template: '<ng-content></ng-content>',
|
|
129
|
+
exportAs: 'ui5NotificationListGroupItem',
|
|
130
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
131
|
+
}]
|
|
132
|
+
}] });
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* Generated bundle index. Do not edit.
|
|
136
|
+
*/
|
|
137
|
+
|
|
138
|
+
export { NotificationListGroupItem };
|
|
139
|
+
//# sourceMappingURL=fundamental-ngx-ui5-webcomponents-fiori-notification-list-group-item.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fundamental-ngx-ui5-webcomponents-fiori-notification-list-group-item.mjs","sources":["../tmp-esm2022/notification-list-group-item/index.js","../tmp-esm2022/notification-list-group-item/fundamental-ngx-ui5-webcomponents-fiori-notification-list-group-item.js"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ElementRef, input, output, effect, runInInjectionContext, inject, Injector, booleanAttribute } from '@angular/core';\nimport '@ui5/webcomponents-fiori/dist/NotificationListGroupItem.js';\nimport * as i0 from \"@angular/core\";\nexport class NotificationListGroupItem {\n constructor() {\n /**\n * Defines if the group is collapsed or expanded.\n */\n this.collapsed = input(false, ...(ngDevMode ? [{ debugName: \"collapsed\", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));\n /**\n * Defines whether the component will have growing capability by pressing a `More` button.\n When button is pressed `load-more` event will be fired.\n */\n this.growing = input(\"None\", ...(ngDevMode ? [{ debugName: \"growing\" }] : []));\n /**\n * Defines the `titleText` of the item.\n */\n this.titleText = input(...(ngDevMode ? [undefined, { debugName: \"titleText\" }] : []));\n /**\n * Defines if the `notification` is new or has been already read.\n \n **Note:** if set to `false` the `titleText` has bold font,\n if set to true - it has a normal font.\n */\n this.read = input(false, ...(ngDevMode ? [{ debugName: \"read\", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));\n /**\n * Defines if a busy indicator would be displayed over the item.\n */\n this.loading = input(false, ...(ngDevMode ? [{ debugName: \"loading\", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));\n /**\n * Defines the delay in milliseconds, after which the busy indicator will show up for this component.\n */\n this.loadingDelay = input(1000, ...(ngDevMode ? [{ debugName: \"loadingDelay\" }] : [])); // className is now passed\n /**\n * Fired when the `ui5-li-notification-group` is expanded/collapsed by user interaction.\n */\n this.ui5Toggle = output();\n /**\n * Fired when additional items are requested.\n */\n this.ui5LoadMore = 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 items of the `ui5-li-notification-group`,\n usually `ui5-li-notification` items.\n *\n * @example\n * ```html\n * <ui5-li-notification-group>\n * <div slot=\"header\">Custom header content</div>\n * <p>Default slot content</p>\n * </ui5-li-notification-group>\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 items of the `ui5-li-notification-group`,\\nusually `ui5-li-notification` items.\"\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 'collapsed',\n 'growing',\n 'titleText',\n 'read',\n 'loading',\n 'loadingDelay',\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 'ui5Toggle',\n 'ui5LoadMore',\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: NotificationListGroupItem, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.1.0\", version: \"20.1.4\", type: NotificationListGroupItem, isStandalone: true, selector: \"ui5-li-notification-group, [ui5-li-notification-group]\", inputs: { collapsed: { classPropertyName: \"collapsed\", publicName: \"collapsed\", isSignal: true, isRequired: false, transformFunction: null }, growing: { classPropertyName: \"growing\", publicName: \"growing\", isSignal: true, isRequired: false, transformFunction: null }, titleText: { classPropertyName: \"titleText\", publicName: \"titleText\", isSignal: true, isRequired: false, transformFunction: null }, read: { classPropertyName: \"read\", publicName: \"read\", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: \"loading\", publicName: \"loading\", isSignal: true, isRequired: false, transformFunction: null }, loadingDelay: { classPropertyName: \"loadingDelay\", publicName: \"loadingDelay\", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5Toggle: \"ui5Toggle\", ui5LoadMore: \"ui5LoadMore\" }, exportAs: [\"ui5NotificationListGroupItem\"], 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: NotificationListGroupItem, decorators: [{\n type: Component,\n args: [{\n standalone: true,\n selector: 'ui5-li-notification-group, [ui5-li-notification-group]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5NotificationListGroupItem',\n changeDetection: ChangeDetectionStrategy.OnPush,\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL3VpNS13ZWJjb21wb25lbnRzLWZpb3JpL25vdGlmaWNhdGlvbi1saXN0LWdyb3VwLWl0ZW0vaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUNMLHVCQUF1QixFQUN2QixTQUFTLEVBQ1QsVUFBVSxFQUNWLEtBQUssRUFDTCxNQUFNLEVBRU4sTUFBTSxFQUNOLHFCQUFxQixFQUNyQixNQUFNLEVBQ04sUUFBUSxFQUNSLGdCQUFnQixFQUdqQixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLDREQUE0RCxDQUFDOztBQWNwRSxNQUFNLE9BQU8seUJBQXlCO0lBUnRDO1FBVUU7O1dBRUc7UUFDSCxjQUFTL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ucmVwbGFjZSgndWk1JywgJycpLnJlcGxhY2UoLyhbQS1aXSkvZywgJy0kMScpLnRvTG93ZXJDYXNlKCkuc3Vic3RyaW5nKDEpO1xuICAgICAgLy8gRW5zdXJlIHRoZSBvdXRwdXQgcHJvcGVydHkgZXhpc3RzIGFuZCBoYXMgYW4gZW1pdCBmdW5jdGlvbiBiZWZvcmUgYWRkaW5nIGxpc3RlbmVyXG4gICAgICBpZiAodGhpc1tvdXRwdXROYW1lXSAmJiB0eXBlb2YgdGhpc1tvdXRwdXROYW1lXS5lbWl0ID09PSAnZnVuY3Rpb24nICYmIHdjRWxlbWVudC5hZGRFdmVudExpc3RlbmVyKSB7XG4gICAgICAgIC8vIENhc3QgdGhlIGxpc3RlbmVyIHRvIHRoZSBjb3JyZWN0IHR5cGUgdG8gc2F0aXNmeSBUeXBlU2NyaXB0XG4gICAgICAgIHdjRWxlbWVudC5hZGRFdmVudExpc3RlbmVyKGV2ZW50TmFtZSwgKGUpID0+IHtcblxuICAgICAgICAgIHRoaXNbb3V0cHV0TmFtZV0uZW1pdChlIGFzIEN1c3RvbUV2ZW50PGFueT4pO1xuICAgICAgICB9KTtcbiAgICAgIH1cbiAgICB9XG4gIFxuXG4gIH1cbn1cblxuIl19","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnVuZGFtZW50YWwtbmd4LXVpNS13ZWJjb21wb25lbnRzLWZpb3JpLW5vdGlmaWNhdGlvbi1saXN0LWdyb3VwLWl0ZW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL3VpNS13ZWJjb21wb25lbnRzLWZpb3JpL25vdGlmaWNhdGlvbi1saXN0LWdyb3VwLWl0ZW0vZnVuZGFtZW50YWwtbmd4LXVpNS13ZWJjb21wb25lbnRzLWZpb3JpLW5vdGlmaWNhdGlvbi1saXN0LWdyb3VwLW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AI,EAAE,UAAU,EAAE,KAAK,EAAE,iBAAiB,EAAE,IAAI,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,SAAS,EAAE,WAAW,EAAE,WAAW,EAAE,aAAa,EAAE,EAAE,QAAQ,EAAE,CAAC,8BAA8B,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE,2BAA2B,EAAE,QAAQ,EAAE,IAAI,EAAE,eAAe,EAAE,EAAE,CAAC,uBAAuB,CAAC,MAAM,EAAE,CAAC,CAAC;AAC/sC;AACA,EAAE,CAAC,wBAAwB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,yBAAyB,EAAE,UAAU,EAAE,CAAC;AACnI,YAAY,IAAI,EAAE,SAAS;AAC3B,YAAY,IAAI,EAAE,CAAC;AACnB,oBAAoB,UAAU,EAAE,IAAI;AACpC,oBAAoB,QAAQ,EAAE,wDAAwD;AACtF,oBAAoB,QAAQ,EAAE,2BAA2B;AACzD,oBAAoB,QAAQ,EAAE,8BAA8B;AAC5D,oBAAoB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AACnE,iBAAiB;AACjB,SAAS,CAAC,EAAE,CAAC;;AClIb;AACA;AACA;;;;"}
|
|
@@ -0,0 +1,174 @@
|
|
|
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/NotificationListItem.js';
|
|
4
|
+
|
|
5
|
+
class NotificationListItem {
|
|
6
|
+
constructor() {
|
|
7
|
+
/**
|
|
8
|
+
* Defines if the `titleText` and `description` should wrap,
|
|
9
|
+
they truncate by default.
|
|
10
|
+
|
|
11
|
+
**Note:** by default the `titleText` and `description`,
|
|
12
|
+
and a `ShowMore/Less` button would be displayed.
|
|
13
|
+
*/
|
|
14
|
+
this.wrappingType = input("None", ...(ngDevMode ? [{ debugName: "wrappingType" }] : []));
|
|
15
|
+
/**
|
|
16
|
+
* Defines the status indicator of the item.
|
|
17
|
+
*/
|
|
18
|
+
this.state = input("None", ...(ngDevMode ? [{ debugName: "state" }] : []));
|
|
19
|
+
/**
|
|
20
|
+
* Defines if the `Close` button would be displayed.
|
|
21
|
+
*/
|
|
22
|
+
this.showClose = input(false, ...(ngDevMode ? [{ debugName: "showClose", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
|
|
23
|
+
/**
|
|
24
|
+
* Defines the `Important` label of the item.
|
|
25
|
+
*/
|
|
26
|
+
this.importance = input("Standard", ...(ngDevMode ? [{ debugName: "importance" }] : []));
|
|
27
|
+
/**
|
|
28
|
+
* Defines the `titleText` of the item.
|
|
29
|
+
*/
|
|
30
|
+
this.titleText = input(...(ngDevMode ? [undefined, { debugName: "titleText" }] : []));
|
|
31
|
+
/**
|
|
32
|
+
* Defines if the `notification` is new or has been already read.
|
|
33
|
+
|
|
34
|
+
**Note:** if set to `false` the `titleText` has bold font,
|
|
35
|
+
if set to true - it has a normal font.
|
|
36
|
+
*/
|
|
37
|
+
this.read = input(false, ...(ngDevMode ? [{ debugName: "read", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
|
|
38
|
+
/**
|
|
39
|
+
* Defines if a busy indicator would be displayed over the item.
|
|
40
|
+
*/
|
|
41
|
+
this.loading = input(false, ...(ngDevMode ? [{ debugName: "loading", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
|
|
42
|
+
/**
|
|
43
|
+
* Defines the delay in milliseconds, after which the busy indicator will show up for this component.
|
|
44
|
+
*/
|
|
45
|
+
this.loadingDelay = input(1000, ...(ngDevMode ? [{ debugName: "loadingDelay" }] : [])); // className is now passed
|
|
46
|
+
/**
|
|
47
|
+
* Fired when the `Close` button is pressed.
|
|
48
|
+
*/
|
|
49
|
+
this.ui5Close = output();
|
|
50
|
+
/**
|
|
51
|
+
* Available slots for content projection in this component.
|
|
52
|
+
*
|
|
53
|
+
* Slots allow you to insert custom content into predefined areas of the web component.
|
|
54
|
+
* Use the `slot` attribute on child elements to target specific slots.
|
|
55
|
+
*
|
|
56
|
+
* - **avatar**: Defines the avatar, displayed in the `ui5-li-notification`.
|
|
57
|
+
|
|
58
|
+
**Note:** Consider using the `ui5-avatar` to display icons, initials or images.
|
|
59
|
+
|
|
60
|
+
**Note:** In order to be complaint with the UX guidlines and for best experience,
|
|
61
|
+
we recommend using avatars with 2rem X 2rem in size (32px X 32px). In case you are using the `ui5-avatar`
|
|
62
|
+
you can set its `size` property to `XS` to get the required size - `<ui5-avatar size="XS"></ui5-avatar>`.
|
|
63
|
+
* - **menu**: Defines the menu, displayed in the `ui5-li-notification`.
|
|
64
|
+
|
|
65
|
+
**Note:** Use this for implementing actions.
|
|
66
|
+
|
|
67
|
+
**Note:** Should be used instead `u5-notification-action`, which is deprecated as of version 2.0.
|
|
68
|
+
* - **footnotes**: Defines the elements, displayed in the footer of the of the component.
|
|
69
|
+
* - **(default)**: Defines the content of the `ui5-li-notification`,
|
|
70
|
+
usually a description of the notification.
|
|
71
|
+
|
|
72
|
+
**Note:** Although this slot accepts HTML Elements, it is strongly recommended that you only use text in order to preserve the intended design.
|
|
73
|
+
*
|
|
74
|
+
* @example
|
|
75
|
+
* ```html
|
|
76
|
+
* <ui5-li-notification>
|
|
77
|
+
* <div slot="header">Custom header content</div>
|
|
78
|
+
* <p>Default slot content</p>
|
|
79
|
+
* </ui5-li-notification>
|
|
80
|
+
* ```
|
|
81
|
+
*
|
|
82
|
+
* @readonly
|
|
83
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
|
|
84
|
+
*/
|
|
85
|
+
this.slots = [
|
|
86
|
+
{
|
|
87
|
+
"name": "avatar",
|
|
88
|
+
"description": "Defines the avatar, displayed in the `ui5-li-notification`.\n\n**Note:** Consider using the `ui5-avatar` to display icons, initials or images.\n\n**Note:** In order to be complaint with the UX guidlines and for best experience,\nwe recommend using avatars with 2rem X 2rem in size (32px X 32px). In case you are using the `ui5-avatar`\nyou can set its `size` property to `XS` to get the required size - `<ui5-avatar size=\"XS\"></ui5-avatar>`."
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"name": "menu",
|
|
92
|
+
"description": "Defines the menu, displayed in the `ui5-li-notification`.\n\n**Note:** Use this for implementing actions.\n\n**Note:** Should be used instead `u5-notification-action`, which is deprecated as of version 2.0."
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"name": "footnotes",
|
|
96
|
+
"description": "Defines the elements, displayed in the footer of the of the component."
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"name": "default",
|
|
100
|
+
"description": "Defines the content of the `ui5-li-notification`,\nusually a description of the notification.\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."
|
|
101
|
+
}
|
|
102
|
+
];
|
|
103
|
+
this.elementRef = inject(ElementRef);
|
|
104
|
+
this.injector = inject(Injector);
|
|
105
|
+
}
|
|
106
|
+
get element() {
|
|
107
|
+
return this.elementRef.nativeElement;
|
|
108
|
+
}
|
|
109
|
+
ngAfterViewInit() {
|
|
110
|
+
const wcElement = this.element;
|
|
111
|
+
const inputsToSync = [
|
|
112
|
+
'wrappingType',
|
|
113
|
+
'state',
|
|
114
|
+
'showClose',
|
|
115
|
+
'importance',
|
|
116
|
+
'titleText',
|
|
117
|
+
'read',
|
|
118
|
+
'loading',
|
|
119
|
+
'loadingDelay',
|
|
120
|
+
];
|
|
121
|
+
// Synchronize inputs (properties)
|
|
122
|
+
for (const inputName of inputsToSync) {
|
|
123
|
+
// Find the corresponding camelCase signal property on the Angular component
|
|
124
|
+
const signalName = inputName.replace(/-./g, (x) => x[1].toUpperCase());
|
|
125
|
+
// Use the Injector to run the effect in the correct context
|
|
126
|
+
if (this[signalName] && typeof this[signalName] === 'function') {
|
|
127
|
+
runInInjectionContext(this.injector, () => {
|
|
128
|
+
effect(() => {
|
|
129
|
+
// Read the signal value
|
|
130
|
+
const value = this[signalName]();
|
|
131
|
+
if (wcElement) {
|
|
132
|
+
// Write the value to the Web Component's property
|
|
133
|
+
wcElement[inputName] = value;
|
|
134
|
+
}
|
|
135
|
+
});
|
|
136
|
+
});
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
const outputsToSync = [
|
|
140
|
+
'ui5Close',
|
|
141
|
+
];
|
|
142
|
+
// Synchronize outputs (events)
|
|
143
|
+
for (const outputName of outputsToSync) {
|
|
144
|
+
// Map Angular output name to UI5 web component event name
|
|
145
|
+
const eventName = outputName.replace('ui5', '').replace(/([A-Z])/g, '-$1').toLowerCase().substring(1);
|
|
146
|
+
// Ensure the output property exists and has an emit function before adding listener
|
|
147
|
+
if (this[outputName] && typeof this[outputName].emit === 'function' && wcElement.addEventListener) {
|
|
148
|
+
// Cast the listener to the correct type to satisfy TypeScript
|
|
149
|
+
wcElement.addEventListener(eventName, (e) => {
|
|
150
|
+
this[outputName].emit(e);
|
|
151
|
+
});
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: NotificationListItem, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
156
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.1.4", type: NotificationListItem, isStandalone: true, selector: "ui5-li-notification, [ui5-li-notification]", inputs: { wrappingType: { classPropertyName: "wrappingType", publicName: "wrappingType", isSignal: true, isRequired: false, transformFunction: null }, state: { classPropertyName: "state", publicName: "state", isSignal: true, isRequired: false, transformFunction: null }, showClose: { classPropertyName: "showClose", publicName: "showClose", isSignal: true, isRequired: false, transformFunction: null }, importance: { classPropertyName: "importance", publicName: "importance", isSignal: true, isRequired: false, transformFunction: null }, titleText: { classPropertyName: "titleText", publicName: "titleText", isSignal: true, isRequired: false, transformFunction: null }, read: { classPropertyName: "read", publicName: "read", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, loadingDelay: { classPropertyName: "loadingDelay", publicName: "loadingDelay", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5Close: "ui5Close" }, exportAs: ["ui5NotificationListItem"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
157
|
+
}
|
|
158
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: NotificationListItem, decorators: [{
|
|
159
|
+
type: Component,
|
|
160
|
+
args: [{
|
|
161
|
+
standalone: true,
|
|
162
|
+
selector: 'ui5-li-notification, [ui5-li-notification]',
|
|
163
|
+
template: '<ng-content></ng-content>',
|
|
164
|
+
exportAs: 'ui5NotificationListItem',
|
|
165
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
166
|
+
}]
|
|
167
|
+
}] });
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* Generated bundle index. Do not edit.
|
|
171
|
+
*/
|
|
172
|
+
|
|
173
|
+
export { NotificationListItem };
|
|
174
|
+
//# sourceMappingURL=fundamental-ngx-ui5-webcomponents-fiori-notification-list-item.mjs.map
|