@fundamental-ngx/ui5-webcomponents-ai 0.58.0-rc.67 → 0.58.0-rc.69

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.
@@ -1,23 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Injectable } from '@angular/core';
3
- import { WebcomponentsThemingProvider } from '@fundamental-ngx/ui5-webcomponents-base/theming';
4
-
5
- class Ui5WebcomponentsAiThemingService extends WebcomponentsThemingProvider {
6
- constructor() {
7
- super(() => import('@ui5/webcomponents-ai/dist/generated/json-imports/Themes.js'));
8
- this.name = 'ui-5-webcomponents--ai-theming-service';
9
- }
10
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: Ui5WebcomponentsAiThemingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
11
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: Ui5WebcomponentsAiThemingService, providedIn: 'root' }); }
12
- }
13
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: Ui5WebcomponentsAiThemingService, decorators: [{
14
- type: Injectable,
15
- args: [{ providedIn: 'root' }]
16
- }], ctorParameters: () => [] });
17
-
18
- /**
19
- * Generated bundle index. Do not edit.
20
- */
21
-
22
- export { Ui5WebcomponentsAiThemingService };
23
- //# sourceMappingURL=fundamental-ngx-ui5-webcomponents-ai-theming.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fundamental-ngx-ui5-webcomponents-ai-theming.mjs","sources":["../tmp-esm2022/theming/index.js","../tmp-esm2022/theming/fundamental-ngx-ui5-webcomponents-ai-theming.js"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { WebcomponentsThemingProvider } from '@fundamental-ngx/ui5-webcomponents-base/theming';\nimport * as i0 from \"@angular/core\";\nclass Ui5WebcomponentsAiThemingService extends WebcomponentsThemingProvider {\n constructor() {\n super(() => import('@ui5/webcomponents-ai/dist/generated/json-imports/Themes.js'));\n this.name = 'ui-5-webcomponents--ai-theming-service';\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.1.4\", ngImport: i0, type: Ui5WebcomponentsAiThemingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"20.1.4\", ngImport: i0, type: Ui5WebcomponentsAiThemingService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.4\", ngImport: i0, type: Ui5WebcomponentsAiThemingService, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: () => [] });\nexport { Ui5WebcomponentsAiThemingService };\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL3VpNS13ZWJjb21wb25lbnRzLWFpL3RoZW1pbmcvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzQyxPQUFPLEVBQUUsNEJBQTRCLEVBQUUsTUFBTSxpREFBaUQsQ0FBQzs7QUFFL0YsTUFDTSxnQ0FBaUMsU0FBUSw0QkFBNEI7SUFFekU7UUFDRSxLQUFLLENBQ0gsR0FBRyxFQUFFLENBQUMsTUFBTSxDQUFDLDZEQUE2RCxDQUFDLENBQzVFLENBQUM7UUFKSixTQUFJLEdBQUcsd0NBQXdDLENBQUM7SUFLaEQsQ0FBQzs4R0FORyxnQ0FBZ0M7a0hBQWhDLGdDQUFnQyxjQURaLE1BQU07OzJGQUMxQixnQ0FBZ0M7a0JBRHJDLFVBQVU7bUJBQUMsRUFBRSxVQUFVLEVBQUUsTUFBTSxFQUFFOztBQVVsQyxPQUFPLEVBQUUsZ0NBQWdDLEVBQUUsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEluamVjdGFibGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IFdlYmNvbXBvbmVudHNUaGVtaW5nUHJvdmlkZXIgfSBmcm9tICdAZnVuZGFtZW50YWwtbmd4L3VpNS13ZWJjb21wb25lbnRzLWJhc2UvdGhlbWluZyc7XG5cbkBJbmplY3RhYmxlKHsgcHJvdmlkZWRJbjogJ3Jvb3QnIH0pXG5jbGFzcyBVaTVXZWJjb21wb25lbnRzQWlUaGVtaW5nU2VydmljZSBleHRlbmRzIFdlYmNvbXBvbmVudHNUaGVtaW5nUHJvdmlkZXIge1xuICBuYW1lID0gJ3VpLTUtd2ViY29tcG9uZW50cy0tYWktdGhlbWluZy1zZXJ2aWNlJztcbiAgY29uc3RydWN0b3IoKSB7XG4gICAgc3VwZXIoXG4gICAgICAoKSA9PiBpbXBvcnQoJ0B1aTUvd2ViY29tcG9uZW50cy1haS9kaXN0L2dlbmVyYXRlZC9qc29uLWltcG9ydHMvVGhlbWVzLmpzJyksXG4gICAgKTtcbiAgfVxufVxuXG5leHBvcnQgeyBVaTVXZWJjb21wb25lbnRzQWlUaGVtaW5nU2VydmljZSB9O1xuIl19","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnVuZGFtZW50YWwtbmd4LXVpNS13ZWJjb21wb25lbnRzLWFpLXRoZW1pbmcuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL3VpNS13ZWJjb21wb25lbnRzLWFpL3RoZW1pbmcvZnVuZGFtZW50YWwtbmd4LXVpNS13ZWJjb21wb25lbnRzLWFpLXRoZW1pbmcudHMi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AAC;;ACdvC;AACA;AACA;;;;"}
package/input/index.d.ts DELETED
@@ -1,70 +0,0 @@
1
- import * as _angular_core from '@angular/core';
2
- import { AfterViewInit, ElementRef, Injector } from '@angular/core';
3
- import _Input from '@ui5/webcomponents-ai/dist/Input.js';
4
- import { UI5CustomEvent } from '@ui5/webcomponents-base';
5
-
6
- declare class Input implements AfterViewInit {
7
- /**
8
- * Indicates the index of the currently displayed version.
9
- */
10
- currentVersion: _angular_core.InputSignal<number | undefined>;
11
- /**
12
- * Indicates the total number of result versions available.
13
-
14
- When not set or set to 0, the versioning will be hidden.
15
- */
16
- totalVersions: _angular_core.InputSignal<number | undefined>;
17
- /**
18
- * Defines whether the AI Writing Assistant is currently loading.
19
-
20
- When `true`, indicates that an AI action is in progress.
21
- */
22
- loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
23
- /**
24
- * Fired when the user selects the AI button.
25
- */
26
- ui5ButtonClick: _angular_core.OutputEmitterRef<UI5CustomEvent<_Input, "button-click">>;
27
- /**
28
- * Fired when an item from the AI actions menu is clicked.
29
- */
30
- ui5ItemClick: _angular_core.OutputEmitterRef<UI5CustomEvent<_Input, "item-click">>;
31
- /**
32
- * Fired when the user selects the "Stop" button to stop ongoing AI text generation.
33
- */
34
- ui5StopGeneration: _angular_core.OutputEmitterRef<UI5CustomEvent<_Input, "stop-generation">>;
35
- /**
36
- * Fired when the user selects the version navigation buttons.
37
- */
38
- ui5VersionChange: _angular_core.OutputEmitterRef<UI5CustomEvent<_Input, "version-change">>;
39
- /**
40
- * Available slots for content projection in this component.
41
- *
42
- * Slots allow you to insert custom content into predefined areas of the web component.
43
- * Use the `slot` attribute on child elements to target specific slots.
44
- *
45
- * - **actions**: Defines the items of the menu for the component.
46
- *
47
- * @example
48
- * ```html
49
- * <ui5-ai-input>
50
- * <div slot="header">Custom header content</div>
51
- * <p>Default slot content</p>
52
- * </ui5-ai-input>
53
- * ```
54
- *
55
- * @readonly
56
- * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
57
- */
58
- readonly slots: {
59
- name: string;
60
- description: string;
61
- }[];
62
- elementRef: ElementRef<_Input>;
63
- injector: Injector;
64
- get element(): _Input;
65
- ngAfterViewInit(): void;
66
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<Input, never>;
67
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<Input, "ui5-ai-input, [ui5-ai-input]", ["ui5Input"], { "currentVersion": { "alias": "currentVersion"; "required": false; "isSignal": true; }; "totalVersions": { "alias": "totalVersions"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; }, { "ui5ButtonClick": "ui5ButtonClick"; "ui5ItemClick": "ui5ItemClick"; "ui5StopGeneration": "ui5StopGeneration"; "ui5VersionChange": "ui5VersionChange"; }, never, ["*"], true, never>;
68
- }
69
-
70
- export { Input };
@@ -1,122 +0,0 @@
1
- import * as _angular_core from '@angular/core';
2
- import { AfterViewInit, ElementRef, Injector } from '@angular/core';
3
- import _PromptInput from '@ui5/webcomponents-ai/dist/PromptInput.js';
4
- import { UI5CustomEvent } from '@ui5/webcomponents-base';
5
-
6
- declare class PromptInput implements AfterViewInit {
7
- /**
8
- * Defines the value of the component.
9
- */
10
- value: _angular_core.InputSignal<string | undefined>;
11
- /**
12
- * Defines a short hint intended to aid the user with data entry when the
13
- component has no value.
14
- */
15
- placeholder: _angular_core.InputSignal<string | undefined>;
16
- /**
17
- * Defines the label of the input field.
18
- */
19
- label: _angular_core.InputSignal<string | undefined>;
20
- /**
21
- * Defines whether the clear icon of the input will be shown.
22
- */
23
- showClearIcon: _angular_core.InputSignalWithTransform<boolean, unknown>;
24
- /**
25
- * Determines whether the characters exceeding the maximum allowed character count are visible
26
- in the component.
27
-
28
- If set to `false`, the user is not allowed to enter more characters than what is set in the
29
- `maxlength` property.
30
- If set to `true` the characters exceeding the `maxlength` value are selected on
31
- paste and the counter below the component displays their number.
32
- */
33
- showExceededText: _angular_core.InputSignalWithTransform<boolean, unknown>;
34
- /**
35
- * Defines whether the component is in disabled state.
36
-
37
- **Note:** A disabled component is completely noninteractive.
38
- */
39
- disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
40
- /**
41
- * Defines whether the component is read-only.
42
-
43
- **Note:** A read-only component is not editable,
44
- but still provides visual feedback upon user interaction.
45
- */
46
- readonly: _angular_core.InputSignalWithTransform<boolean, unknown>;
47
- /**
48
- * Sets the maximum number of characters available in the input field.
49
- */
50
- maxlength: _angular_core.InputSignal<number | undefined>;
51
- /**
52
- * Defines the value state of the component.
53
- */
54
- valueState: _angular_core.InputSignal<"None" | "Positive" | "Critical" | "Negative" | "Information" | undefined>;
55
- /**
56
- * Defines whether the component should show suggestions, if such are present.
57
- */
58
- showSuggestions: _angular_core.InputSignalWithTransform<boolean, unknown>;
59
- /**
60
- * Fired when the input operation has finished by pressing Enter
61
- or AI button is clicked.
62
- */
63
- ui5Submit: _angular_core.OutputEmitterRef<UI5CustomEvent<_PromptInput, "submit">>;
64
- /**
65
- * Fired when the value of the component changes at each keystroke,
66
- and when a suggestion item has been selected.
67
- */
68
- ui5Input: _angular_core.OutputEmitterRef<UI5CustomEvent<_PromptInput, "input">>;
69
- /**
70
- * Fired when the input operation has finished by pressing Enter
71
- or on focusout.
72
- */
73
- ui5Change: _angular_core.OutputEmitterRef<UI5CustomEvent<_PromptInput, "change">>;
74
- /**
75
- * Available slots for content projection in this component.
76
- *
77
- * Slots allow you to insert custom content into predefined areas of the web component.
78
- * Use the `slot` attribute on child elements to target specific slots.
79
- *
80
- * - **(default)**: Defines the suggestion items.
81
-
82
- **Note:** The suggestions would be displayed only if the `showSuggestions`
83
- property is set to `true`.
84
-
85
- **Note:** The `<ui5-suggestion-item>`, `<ui5-suggestion-item-group>` and `ui5-suggestion-item-custom` are recommended to be used as suggestion items.
86
- * - **valueStateMessage**: Defines the value state message that will be displayed as pop up under the component.
87
- The value state message slot should contain only one root element.
88
-
89
- **Note:** If not specified, a default text (in the respective language) will be displayed.
90
-
91
- **Note:** The `valueStateMessage` would be displayed,
92
- when the component is in `Information`, `Critical` or `Negative` value state.
93
- *
94
- * @example
95
- * ```html
96
- * <ui5-ai-prompt-input>
97
- * <div slot="header">Custom header content</div>
98
- * <p>Default slot content</p>
99
- * </ui5-ai-prompt-input>
100
- * ```
101
- *
102
- * @readonly
103
- * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
104
- */
105
- readonly slots: ({
106
- name: string;
107
- description: string;
108
- since?: undefined;
109
- } | {
110
- name: string;
111
- description: string;
112
- since: string;
113
- })[];
114
- elementRef: ElementRef<_PromptInput>;
115
- injector: Injector;
116
- get element(): _PromptInput;
117
- ngAfterViewInit(): void;
118
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<PromptInput, never>;
119
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<PromptInput, "ui5-ai-prompt-input, [ui5-ai-prompt-input]", ["ui5PromptInput"], { "value": { "alias": "value"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "showClearIcon": { "alias": "showClearIcon"; "required": false; "isSignal": true; }; "showExceededText": { "alias": "showExceededText"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "maxlength": { "alias": "maxlength"; "required": false; "isSignal": true; }; "valueState": { "alias": "valueState"; "required": false; "isSignal": true; }; "showSuggestions": { "alias": "showSuggestions"; "required": false; "isSignal": true; }; }, { "ui5Submit": "ui5Submit"; "ui5Input": "ui5Input"; "ui5Change": "ui5Change"; }, never, ["*"], true, never>;
120
- }
121
-
122
- export { PromptInput };
@@ -1,65 +0,0 @@
1
- import * as _angular_core from '@angular/core';
2
- import { AfterViewInit, ElementRef, Injector } from '@angular/core';
3
- import _TextArea from '@ui5/webcomponents-ai/dist/TextArea.js';
4
- import { UI5CustomEvent } from '@ui5/webcomponents-base';
5
-
6
- declare class TextArea implements AfterViewInit {
7
- /**
8
- * Defines whether the `ui5-ai-textarea` is currently in a loading(processing) state.
9
- */
10
- loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
11
- /**
12
- * Defines the prompt description of the current action.
13
- */
14
- promptDescription: _angular_core.InputSignal<string | undefined>;
15
- /**
16
- * Indicates the index of the currently displayed version.
17
- */
18
- currentVersion: _angular_core.InputSignal<number | undefined>;
19
- /**
20
- * Indicates the total number of result versions available.
21
-
22
- Notes:
23
- Versioning is hidden if the value is `0`
24
- */
25
- totalVersions: _angular_core.InputSignal<number | undefined>;
26
- /**
27
- * Fired when the user clicks on version navigation buttons.
28
- */
29
- ui5VersionChange: _angular_core.OutputEmitterRef<UI5CustomEvent<_TextArea, "version-change">>;
30
- /**
31
- * Fired when the user requests to stop AI text generation.
32
- */
33
- ui5StopGeneration: _angular_core.OutputEmitterRef<UI5CustomEvent<_TextArea, "stop-generation">>;
34
- /**
35
- * Available slots for content projection in this component.
36
- *
37
- * Slots allow you to insert custom content into predefined areas of the web component.
38
- * Use the `slot` attribute on child elements to target specific slots.
39
- *
40
- * - **menu**: Defines a slot for `ui5-menu` integration. This slot allows you to pass a `ui5-menu` instance that will be associated with the assistant.
41
- *
42
- * @example
43
- * ```html
44
- * <ui5-ai-textarea>
45
- * <div slot="header">Custom header content</div>
46
- * <p>Default slot content</p>
47
- * </ui5-ai-textarea>
48
- * ```
49
- *
50
- * @readonly
51
- * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
52
- */
53
- readonly slots: {
54
- name: string;
55
- description: string;
56
- }[];
57
- elementRef: ElementRef<_TextArea>;
58
- injector: Injector;
59
- get element(): _TextArea;
60
- ngAfterViewInit(): void;
61
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<TextArea, never>;
62
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<TextArea, "ui5-ai-textarea, [ui5-ai-textarea]", ["ui5TextArea"], { "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "promptDescription": { "alias": "promptDescription"; "required": false; "isSignal": true; }; "currentVersion": { "alias": "currentVersion"; "required": false; "isSignal": true; }; "totalVersions": { "alias": "totalVersions"; "required": false; "isSignal": true; }; }, { "ui5VersionChange": "ui5VersionChange"; "ui5StopGeneration": "ui5StopGeneration"; }, never, ["*"], true, never>;
63
- }
64
-
65
- export { TextArea };
@@ -1,11 +0,0 @@
1
- import { WebcomponentsThemingProvider } from '@fundamental-ngx/ui5-webcomponents-base/theming';
2
- import * as i0 from '@angular/core';
3
-
4
- declare class Ui5WebcomponentsAiThemingService extends WebcomponentsThemingProvider {
5
- name: string;
6
- constructor();
7
- static ɵfac: i0.ɵɵFactoryDeclaration<Ui5WebcomponentsAiThemingService, never>;
8
- static ɵprov: i0.ɵɵInjectableDeclaration<Ui5WebcomponentsAiThemingService>;
9
- }
10
-
11
- export { Ui5WebcomponentsAiThemingService };