@fundamental-ngx/ui5-webcomponents-ai 0.58.0-rc.7 → 0.58.0-rc.70

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/index.d.ts CHANGED
@@ -81,6 +81,31 @@ declare class Button implements AfterViewInit {
81
81
  [Alt] + [Arrow Up]/ [Arrow Down], or [F4] keyboard keys.
82
82
  */
83
83
  ui5ArrowButtonClick: _angular_core.OutputEmitterRef<UI5CustomEvent<_Button, "arrow-button-click">>;
84
+ /**
85
+ * Available slots for content projection in this component.
86
+ *
87
+ * Slots allow you to insert custom content into predefined areas of the web component.
88
+ * Use the `slot` attribute on child elements to target specific slots.
89
+ *
90
+ * - **(default)**: Defines the available states of the component.
91
+ **Note:** Although this slot accepts HTML Elements, it is strongly recommended that
92
+ you only use `ui5-ai-button-state` components in order to preserve the intended design.
93
+ *
94
+ * @example
95
+ * ```html
96
+ * <ui5-ai-button>
97
+ * <div slot="header">Custom header content</div>
98
+ * <p>Default slot content</p>
99
+ * </ui5-ai-button>
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
+ }[];
84
109
  elementRef: ElementRef<_Button>;
85
110
  injector: Injector;
86
111
  get element(): _Button;
@@ -161,6 +186,29 @@ declare class Input implements AfterViewInit {
161
186
  * Fired when the user selects the version navigation buttons.
162
187
  */
163
188
  ui5VersionChange: _angular_core.OutputEmitterRef<UI5CustomEvent<_Input, "version-change">>;
189
+ /**
190
+ * Available slots for content projection in this component.
191
+ *
192
+ * Slots allow you to insert custom content into predefined areas of the web component.
193
+ * Use the `slot` attribute on child elements to target specific slots.
194
+ *
195
+ * - **actions**: Defines the items of the menu for the component.
196
+ *
197
+ * @example
198
+ * ```html
199
+ * <ui5-ai-input>
200
+ * <div slot="header">Custom header content</div>
201
+ * <p>Default slot content</p>
202
+ * </ui5-ai-input>
203
+ * ```
204
+ *
205
+ * @readonly
206
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
207
+ */
208
+ readonly slots: {
209
+ name: string;
210
+ description: string;
211
+ }[];
164
212
  elementRef: ElementRef<_Input>;
165
213
  injector: Injector;
166
214
  get element(): _Input;
@@ -237,6 +285,46 @@ declare class PromptInput implements AfterViewInit {
237
285
  or on focusout.
238
286
  */
239
287
  ui5Change: _angular_core.OutputEmitterRef<UI5CustomEvent<_PromptInput, "change">>;
288
+ /**
289
+ * Available slots for content projection in this component.
290
+ *
291
+ * Slots allow you to insert custom content into predefined areas of the web component.
292
+ * Use the `slot` attribute on child elements to target specific slots.
293
+ *
294
+ * - **(default)**: Defines the suggestion items.
295
+
296
+ **Note:** The suggestions would be displayed only if the `showSuggestions`
297
+ property is set to `true`.
298
+
299
+ **Note:** The `<ui5-suggestion-item>`, `<ui5-suggestion-item-group>` and `ui5-suggestion-item-custom` are recommended to be used as suggestion items.
300
+ * - **valueStateMessage**: Defines the value state message that will be displayed as pop up under the component.
301
+ The value state message slot should contain only one root element.
302
+
303
+ **Note:** If not specified, a default text (in the respective language) will be displayed.
304
+
305
+ **Note:** The `valueStateMessage` would be displayed,
306
+ when the component is in `Information`, `Critical` or `Negative` value state.
307
+ *
308
+ * @example
309
+ * ```html
310
+ * <ui5-ai-prompt-input>
311
+ * <div slot="header">Custom header content</div>
312
+ * <p>Default slot content</p>
313
+ * </ui5-ai-prompt-input>
314
+ * ```
315
+ *
316
+ * @readonly
317
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
318
+ */
319
+ readonly slots: ({
320
+ name: string;
321
+ description: string;
322
+ since?: undefined;
323
+ } | {
324
+ name: string;
325
+ description: string;
326
+ since: string;
327
+ })[];
240
328
  elementRef: ElementRef<_PromptInput>;
241
329
  injector: Injector;
242
330
  get element(): _PromptInput;
@@ -273,6 +361,29 @@ declare class TextArea implements AfterViewInit {
273
361
  * Fired when the user requests to stop AI text generation.
274
362
  */
275
363
  ui5StopGeneration: _angular_core.OutputEmitterRef<UI5CustomEvent<_TextArea, "stop-generation">>;
364
+ /**
365
+ * Available slots for content projection in this component.
366
+ *
367
+ * Slots allow you to insert custom content into predefined areas of the web component.
368
+ * Use the `slot` attribute on child elements to target specific slots.
369
+ *
370
+ * - **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.
371
+ *
372
+ * @example
373
+ * ```html
374
+ * <ui5-ai-textarea>
375
+ * <div slot="header">Custom header content</div>
376
+ * <p>Default slot content</p>
377
+ * </ui5-ai-textarea>
378
+ * ```
379
+ *
380
+ * @readonly
381
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
382
+ */
383
+ readonly slots: {
384
+ name: string;
385
+ description: string;
386
+ }[];
276
387
  elementRef: ElementRef<_TextArea>;
277
388
  injector: Injector;
278
389
  get element(): _TextArea;
package/input/index.d.ts CHANGED
@@ -36,6 +36,29 @@ declare class Input implements AfterViewInit {
36
36
  * Fired when the user selects the version navigation buttons.
37
37
  */
38
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
+ }[];
39
62
  elementRef: ElementRef<_Input>;
40
63
  injector: Injector;
41
64
  get element(): _Input;
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@fundamental-ngx/ui5-webcomponents-ai",
3
- "version": "0.58.0-rc.7",
3
+ "version": "0.58.0-rc.70",
4
4
  "schematics": "./schematics/collection.json",
5
5
  "description": "Fundamental Library for Angular - UI5 Webcomponents AI",
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"
@@ -20,7 +20,7 @@
20
20
  "@angular/forms": "^20.0.0",
21
21
  "@angular/platform-browser": "^20.0.0",
22
22
  "@angular/router": "^20.0.0",
23
- "@fundamental-ngx/ui5-webcomponents": "0.58.0-rc.7",
23
+ "@fundamental-ngx/ui5-webcomponents": "0.58.0-rc.70",
24
24
  "fundamental-styles": "0.40.1",
25
25
  "rxjs": "^7.8.0"
26
26
  },
@@ -71,6 +71,46 @@ declare class PromptInput implements AfterViewInit {
71
71
  or on focusout.
72
72
  */
73
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
+ })[];
74
114
  elementRef: ElementRef<_PromptInput>;
75
115
  injector: Injector;
76
116
  get element(): _PromptInput;
@@ -31,6 +31,29 @@ declare class TextArea implements AfterViewInit {
31
31
  * Fired when the user requests to stop AI text generation.
32
32
  */
33
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
+ }[];
34
57
  elementRef: ElementRef<_TextArea>;
35
58
  injector: Injector;
36
59
  get element(): _TextArea;