@fundamental-ngx/ui5-webcomponents-base 0.58.0-rc.7 → 0.58.0-rc.71

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/README.md CHANGED
@@ -1,3 +1,34 @@
1
1
  # ui5-webcomponents-base
2
2
 
3
- ui5-wecomponents-base package
3
+ Base utilities and types for UI5 Web Components Angular wrappers.
4
+
5
+ ## Overview
6
+
7
+ This library provides core utilities, TypeScript types, and common functionality used across all UI5 Web Components Angular wrapper libraries. It is typically installed automatically as a peer dependency of other `@fundamental-ngx/ui5-webcomponents-*` packages.
8
+
9
+ - Common TypeScript types and interfaces
10
+ - Shared utilities for UI5 Web Components integration
11
+ - Theming support
12
+ - Base configuration
13
+
14
+ ## Installation
15
+
16
+ This package is usually installed automatically as a dependency:
17
+
18
+ ```bash
19
+ npm install @fundamental-ngx/ui5-webcomponents-base
20
+ ```
21
+
22
+ ## Usage
23
+
24
+ This package is primarily used internally by other UI5 Web Components packages. You typically don't need to import from it directly unless you're building custom wrappers or need access to shared types.
25
+
26
+ ```typescript
27
+ import { UI5CustomEvent } from '@ui5/webcomponents-base';
28
+ ```
29
+
30
+ ## Resources
31
+
32
+ - [UI5 Web Components Documentation](https://ui5.github.io/webcomponents/)
33
+ - [Fundamental NGX Documentation](https://sap.github.io/fundamental-ngx)
34
+ - [GitHub Repository](https://github.com/SAP/fundamental-ngx)
package/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { OutputEmitterRef } from '@angular/core';
1
2
  export { default as AnimationMode } from '@ui5/webcomponents-base/dist/types/AnimationMode.js';
2
3
  export { default as CalendarType } from '@ui5/webcomponents-base/dist/types/CalendarType.js';
3
4
  export { default as ItemNavigationBehavior } from '@ui5/webcomponents-base/dist/types/ItemNavigationBehavior.js';
@@ -5,3 +6,10 @@ export { default as MovePlacement } from '@ui5/webcomponents-base/dist/types/Mov
5
6
  export { default as NavigationMode } from '@ui5/webcomponents-base/dist/types/NavigationMode.js';
6
7
  export { default as SortOrder } from '@ui5/webcomponents-base/dist/types/SortOrder.js';
7
8
  export { default as ValueState } from '@ui5/webcomponents-base/dist/types/ValueState.js';
9
+
10
+ type OutputKeys<T> = {
11
+ [K in keyof T]: T[K] extends OutputEmitterRef<any> ? K : never;
12
+ }[keyof T];
13
+ type UI5WrapperCustomEvent<T, N extends OutputKeys<T>> = T[N] extends OutputEmitterRef<infer E> ? E : never;
14
+
15
+ export type { UI5WrapperCustomEvent };
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@fundamental-ngx/ui5-webcomponents-base",
3
- "version": "0.58.0-rc.7",
3
+ "version": "0.58.0-rc.71",
4
4
  "schematics": "./schematics/collection.json",
5
5
  "description": "Fundamental Library for Angular - UI5 Webcomponents Base",
6
6
  "license": "Apache-2.0",
7
7
  "homepage": "https://sap.github.io/fundamental-ngx",
8
8
  "repository": {
9
9
  "type": "git",
10
- "url": "https://github.com/SAP/fundamental-ngx"
10
+ "url": "git+https://github.com/SAP/fundamental-ngx.git"
11
11
  },
12
12
  "engine": {
13
13
  "node": ">= 10"
package/types/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { OutputEmitterRef } from '@angular/core';
1
2
  export { default as AnimationMode } from '@ui5/webcomponents-base/dist/types/AnimationMode.js';
2
3
  export { default as CalendarType } from '@ui5/webcomponents-base/dist/types/CalendarType.js';
3
4
  export { default as ItemNavigationBehavior } from '@ui5/webcomponents-base/dist/types/ItemNavigationBehavior.js';
@@ -5,3 +6,10 @@ export { default as MovePlacement } from '@ui5/webcomponents-base/dist/types/Mov
5
6
  export { default as NavigationMode } from '@ui5/webcomponents-base/dist/types/NavigationMode.js';
6
7
  export { default as SortOrder } from '@ui5/webcomponents-base/dist/types/SortOrder.js';
7
8
  export { default as ValueState } from '@ui5/webcomponents-base/dist/types/ValueState.js';
9
+
10
+ type OutputKeys<T> = {
11
+ [K in keyof T]: T[K] extends OutputEmitterRef<any> ? K : never;
12
+ }[keyof T];
13
+ type UI5WrapperCustomEvent<T, N extends OutputKeys<T>> = T[N] extends OutputEmitterRef<infer E> ? E : never;
14
+
15
+ export type { UI5WrapperCustomEvent };