@fundamental-ngx/ui5-webcomponents-ai 0.60.2 → 0.60.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.
@@ -0,0 +1,65 @@
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 };
@@ -0,0 +1,11 @@
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 };