@fundamental-ngx/ui5-webcomponents-ai 0.61.2 → 0.61.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/fundamental-ngx-ui5-webcomponents-ai-button-state.mjs +106 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-ai-button-state.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-ai-button.mjs +172 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-ai-button.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-ai-input.mjs +341 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-ai-input.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-ai-prompt-input.mjs +207 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-ai-prompt-input.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-ai-text-area.mjs +298 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-ai-text-area.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-ai-theming.mjs +23 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-ai-theming.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-ai-toolbar-label.mjs +114 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-ai-toolbar-label.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-ai-versioning.mjs +142 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-ai-versioning.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-ai-writing-assistant.mjs +124 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-ai-writing-assistant.mjs.map +1 -0
- package/package.json +40 -4
- package/types/fundamental-ngx-ui5-webcomponents-ai-button-state.d.ts +50 -0
- package/types/fundamental-ngx-ui5-webcomponents-ai-button.d.ts +100 -0
- package/types/fundamental-ngx-ui5-webcomponents-ai-input.d.ts +218 -0
- package/types/fundamental-ngx-ui5-webcomponents-ai-prompt-input.d.ts +128 -0
- package/types/fundamental-ngx-ui5-webcomponents-ai-text-area.d.ts +188 -0
- package/types/fundamental-ngx-ui5-webcomponents-ai-theming.d.ts +11 -0
- package/types/fundamental-ngx-ui5-webcomponents-ai-toolbar-label.d.ts +58 -0
- package/types/fundamental-ngx-ui5-webcomponents-ai-versioning.d.ts +71 -0
- package/types/fundamental-ngx-ui5-webcomponents-ai-writing-assistant.d.ts +54 -0
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { AfterViewInit, ElementRef, Injector } from '@angular/core';
|
|
3
|
+
import _Versioning from '@ui5/webcomponents-ai/dist/Versioning.js';
|
|
4
|
+
import { UI5CustomEvent } from '@ui5/webcomponents-base';
|
|
5
|
+
|
|
6
|
+
declare class Versioning implements AfterViewInit {
|
|
7
|
+
/**
|
|
8
|
+
* Indicates the index of the currently displayed result version.
|
|
9
|
+
|
|
10
|
+
This property represents the current position in the version history.
|
|
11
|
+
*/
|
|
12
|
+
currentStep: _angular_core.InputSignal<number | undefined>;
|
|
13
|
+
/**
|
|
14
|
+
* The total number of available result versions.
|
|
15
|
+
|
|
16
|
+
Note: Versioning is hidden if the value is `0`.
|
|
17
|
+
*/
|
|
18
|
+
totalSteps: _angular_core.InputSignal<number | undefined>;
|
|
19
|
+
/**
|
|
20
|
+
* Property used to define the access of the item to the overflow Popover. If "NeverOverflow" option is set,
|
|
21
|
+
the item never goes in the Popover, if "AlwaysOverflow" - it never comes out of it.
|
|
22
|
+
*/
|
|
23
|
+
overflowPriority: _angular_core.InputSignal<"Default" | "NeverOverflow" | "AlwaysOverflow" | undefined>;
|
|
24
|
+
/**
|
|
25
|
+
* Defines if the toolbar overflow popup should close upon interaction with the item.
|
|
26
|
+
It will close by default.
|
|
27
|
+
*/
|
|
28
|
+
preventOverflowClosing: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
29
|
+
/**
|
|
30
|
+
* Fired when the user clicks on version navigation buttons.
|
|
31
|
+
*/
|
|
32
|
+
ui5VersionChange: _angular_core.OutputEmitterRef<UI5CustomEvent<_Versioning, "version-change">>;
|
|
33
|
+
/**
|
|
34
|
+
* Available slots for content projection in this component.
|
|
35
|
+
*
|
|
36
|
+
* Slots allow you to insert custom content into predefined areas of the web component.
|
|
37
|
+
* Use the `slot` attribute on child elements to target specific slots.
|
|
38
|
+
*
|
|
39
|
+
* - **(default)**: Wrapped component slot.
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* ```html
|
|
43
|
+
* <ui5-ai-versioning>
|
|
44
|
+
* <div slot="header">Custom header content</div>
|
|
45
|
+
* <p>Default slot content</p>
|
|
46
|
+
* </ui5-ai-versioning>
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @readonly
|
|
50
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
|
|
51
|
+
*/
|
|
52
|
+
readonly slots: {
|
|
53
|
+
name: string;
|
|
54
|
+
description: string;
|
|
55
|
+
since: string;
|
|
56
|
+
}[];
|
|
57
|
+
elementRef: ElementRef<_Versioning>;
|
|
58
|
+
injector: Injector;
|
|
59
|
+
/**
|
|
60
|
+
* Content density observer is injected to activate automatic CSS class and
|
|
61
|
+
* UI5 attribute application. The observer self-initializes, no explicit subscribe() needed.
|
|
62
|
+
* @private
|
|
63
|
+
*/
|
|
64
|
+
private readonly _contentDensityObserver;
|
|
65
|
+
get element(): _Versioning;
|
|
66
|
+
ngAfterViewInit(): void;
|
|
67
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<Versioning, never>;
|
|
68
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<Versioning, "ui5-ai-versioning, [ui5-ai-versioning]", ["ui5Versioning"], { "currentStep": { "alias": "currentStep"; "required": false; "isSignal": true; }; "totalSteps": { "alias": "totalSteps"; "required": false; "isSignal": true; }; "overflowPriority": { "alias": "overflowPriority"; "required": false; "isSignal": true; }; "preventOverflowClosing": { "alias": "preventOverflowClosing"; "required": false; "isSignal": true; }; }, { "ui5VersionChange": "ui5VersionChange"; }, never, ["*"], true, never>;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export { Versioning };
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { AfterViewInit, ElementRef, Injector } from '@angular/core';
|
|
3
|
+
import _WritingAssistant from '@ui5/webcomponents-ai/dist/WritingAssistant.js';
|
|
4
|
+
import { UI5CustomEvent } from '@ui5/webcomponents-base';
|
|
5
|
+
|
|
6
|
+
declare class WritingAssistant implements AfterViewInit {
|
|
7
|
+
/**
|
|
8
|
+
* Indicates the index of the currently displayed result version.
|
|
9
|
+
|
|
10
|
+
The index is **0-based** (i.e. `0` represents the first result).
|
|
11
|
+
This property is synchronized with the parent AI TextArea component.
|
|
12
|
+
*/
|
|
13
|
+
currentVersion: _angular_core.InputSignal<number | undefined>;
|
|
14
|
+
/**
|
|
15
|
+
* Defines the prompt description of the Writing Assistant.
|
|
16
|
+
|
|
17
|
+
This text is displayed in the toolbar to indicate the current or last
|
|
18
|
+
performed AI action (e.g., "Generated text", "Simplified text").
|
|
19
|
+
*/
|
|
20
|
+
promptDescription: _angular_core.InputSignal<string | undefined>;
|
|
21
|
+
/**
|
|
22
|
+
* Indicates the total number of result versions available.
|
|
23
|
+
|
|
24
|
+
This property determines whether version navigation controls are displayed.
|
|
25
|
+
When totalVersions > 0, previous/next buttons become available.
|
|
26
|
+
*/
|
|
27
|
+
totalVersions: _angular_core.InputSignal<number | undefined>;
|
|
28
|
+
/**
|
|
29
|
+
* Fired when the user clicks on the AI button.
|
|
30
|
+
*/
|
|
31
|
+
ui5ButtonClick: _angular_core.OutputEmitterRef<UI5CustomEvent<_WritingAssistant, "button-click">>;
|
|
32
|
+
/**
|
|
33
|
+
* Fired when the user clicks on the "Stop" button to stop ongoing AI text generation.
|
|
34
|
+
*/
|
|
35
|
+
ui5StopGeneration: _angular_core.OutputEmitterRef<UI5CustomEvent<_WritingAssistant, "stop-generation">>;
|
|
36
|
+
/**
|
|
37
|
+
* Fired when the user clicks on version navigation buttons.
|
|
38
|
+
*/
|
|
39
|
+
ui5VersionChange: _angular_core.OutputEmitterRef<UI5CustomEvent<_WritingAssistant, "version-change">>;
|
|
40
|
+
elementRef: ElementRef<_WritingAssistant>;
|
|
41
|
+
injector: Injector;
|
|
42
|
+
/**
|
|
43
|
+
* Content density observer is injected to activate automatic CSS class and
|
|
44
|
+
* UI5 attribute application. The observer self-initializes, no explicit subscribe() needed.
|
|
45
|
+
* @private
|
|
46
|
+
*/
|
|
47
|
+
private readonly _contentDensityObserver;
|
|
48
|
+
get element(): _WritingAssistant;
|
|
49
|
+
ngAfterViewInit(): void;
|
|
50
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<WritingAssistant, never>;
|
|
51
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<WritingAssistant, "ui5-ai-writing-assistant, [ui5-ai-writing-assistant]", ["ui5WritingAssistant"], { "currentVersion": { "alias": "currentVersion"; "required": false; "isSignal": true; }; "promptDescription": { "alias": "promptDescription"; "required": false; "isSignal": true; }; "totalVersions": { "alias": "totalVersions"; "required": false; "isSignal": true; }; }, { "ui5ButtonClick": "ui5ButtonClick"; "ui5StopGeneration": "ui5StopGeneration"; "ui5VersionChange": "ui5VersionChange"; }, never, ["*"], true, never>;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export { WritingAssistant };
|