@fundamental-ngx/ui5-webcomponents-ai 0.63.2-rc.6 → 0.63.2
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 +8 -12
- package/fesm2022/fundamental-ngx-ui5-webcomponents-ai-button-state.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-ai-button.mjs +8 -11
- package/fesm2022/fundamental-ngx-ui5-webcomponents-ai-button.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-ai-input.mjs +24 -37
- package/fesm2022/fundamental-ngx-ui5-webcomponents-ai-input.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-ai-prompt-input.mjs +13 -18
- package/fesm2022/fundamental-ngx-ui5-webcomponents-ai-prompt-input.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-ai-text-area.mjs +23 -37
- package/fesm2022/fundamental-ngx-ui5-webcomponents-ai-text-area.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-ai-theming.mjs +3 -3
- package/fesm2022/fundamental-ngx-ui5-webcomponents-ai-toolbar-label.mjs +6 -8
- package/fesm2022/fundamental-ngx-ui5-webcomponents-ai-toolbar-label.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-ai-utils.mjs +3 -3
- package/fesm2022/fundamental-ngx-ui5-webcomponents-ai-versioning.mjs +7 -10
- package/fesm2022/fundamental-ngx-ui5-webcomponents-ai-versioning.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-ai-writing-assistant.mjs +6 -9
- package/fesm2022/fundamental-ngx-ui5-webcomponents-ai-writing-assistant.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-ui5-webcomponents-ai.mjs +101 -148
- package/fesm2022/fundamental-ngx-ui5-webcomponents-ai.mjs.map +1 -1
- package/package.json +12 -13
|
@@ -140,8 +140,8 @@ class GenericControlValueAccessor {
|
|
|
140
140
|
this.cdr.markForCheck();
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
144
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
143
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: GenericControlValueAccessor, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
144
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type: GenericControlValueAccessor, isStandalone: true, selector: "[noop]", providers: [
|
|
145
145
|
{
|
|
146
146
|
provide: NG_VALUE_ACCESSOR,
|
|
147
147
|
useExisting: forwardRef(() => GenericControlValueAccessor),
|
|
@@ -149,7 +149,7 @@ class GenericControlValueAccessor {
|
|
|
149
149
|
}
|
|
150
150
|
], ngImport: i0 }); }
|
|
151
151
|
}
|
|
152
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
152
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: GenericControlValueAccessor, decorators: [{
|
|
153
153
|
type: Directive,
|
|
154
154
|
args: [{
|
|
155
155
|
selector: '[noop]',
|
|
@@ -187,30 +187,27 @@ class Button {
|
|
|
187
187
|
- **expanded**: Indicates whether the popup controlled by the arrow button is currently expanded.
|
|
188
188
|
Accepts boolean values: `true` or `false`.
|
|
189
189
|
*/
|
|
190
|
-
this.accessibilityAttributes = input({},
|
|
191
|
-
...(ngDevMode ? [{ debugName: "accessibilityAttributes" }] : /* istanbul ignore next */ []));
|
|
190
|
+
this.accessibilityAttributes = input({}, ...(ngDevMode ? [{ debugName: "accessibilityAttributes" }] : []));
|
|
192
191
|
/**
|
|
193
192
|
* Defines the active state of the arrow button in split mode.
|
|
194
193
|
Set to true when the button is in split mode and a menu with additional options
|
|
195
194
|
is opened by the arrow button. Set back to false when the menu is closed.
|
|
196
195
|
*/
|
|
197
|
-
this.arrowButtonPressed = input(false, { ...(ngDevMode ? { debugName: "arrowButtonPressed" } :
|
|
196
|
+
this.arrowButtonPressed = input(false, { ...(ngDevMode ? { debugName: "arrowButtonPressed" } : {}), transform: booleanAttribute });
|
|
198
197
|
/**
|
|
199
198
|
* Defines the component design.
|
|
200
199
|
*/
|
|
201
|
-
this.design = input("Default",
|
|
202
|
-
...(ngDevMode ? [{ debugName: "design" }] : /* istanbul ignore next */ []));
|
|
200
|
+
this.design = input("Default", ...(ngDevMode ? [{ debugName: "design" }] : []));
|
|
203
201
|
/**
|
|
204
202
|
* Defines whether the component is disabled.
|
|
205
203
|
A disabled component can't be pressed or
|
|
206
204
|
focused, and it is not in the tab chain.
|
|
207
205
|
*/
|
|
208
|
-
this.disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } :
|
|
206
|
+
this.disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : {}), transform: booleanAttribute });
|
|
209
207
|
/**
|
|
210
208
|
* Defines the current state of the component.
|
|
211
209
|
*/
|
|
212
|
-
this.state = input(
|
|
213
|
-
...(ngDevMode ? [undefined, { debugName: "state" }] : /* istanbul ignore next */ [])); // className is now passed
|
|
210
|
+
this.state = input(...(ngDevMode ? [undefined, { debugName: "state" }] : [])); // className is now passed
|
|
214
211
|
/**
|
|
215
212
|
* Fired when the component is in split mode and after the arrow button
|
|
216
213
|
is activated either by clicking or tapping it or by using the [Arrow Up] / [Arrow Down],
|
|
@@ -305,14 +302,14 @@ class Button {
|
|
|
305
302
|
}
|
|
306
303
|
}
|
|
307
304
|
}
|
|
308
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
309
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
305
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: Button, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
306
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.0", type: Button, isStandalone: true, selector: "ui5-ai-button, [ui5-ai-button]", inputs: { accessibilityAttributes: { classPropertyName: "accessibilityAttributes", publicName: "accessibilityAttributes", isSignal: true, isRequired: false, transformFunction: null }, arrowButtonPressed: { classPropertyName: "arrowButtonPressed", publicName: "arrowButtonPressed", isSignal: true, isRequired: false, transformFunction: null }, design: { classPropertyName: "design", publicName: "design", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, state: { classPropertyName: "state", publicName: "state", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5ArrowButtonClick: "ui5ArrowButtonClick", ui5Click: "ui5Click" }, providers: [
|
|
310
307
|
contentDensityObserverProviders({
|
|
311
308
|
supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]
|
|
312
309
|
})
|
|
313
310
|
], exportAs: ["ui5Button"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
314
311
|
}
|
|
315
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
312
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: Button, decorators: [{
|
|
316
313
|
type: Component,
|
|
317
314
|
args: [{
|
|
318
315
|
standalone: true,
|
|
@@ -338,8 +335,7 @@ class ButtonState {
|
|
|
338
335
|
|
|
339
336
|
See all the available icons in the [Icon Explorer](https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html).
|
|
340
337
|
*/
|
|
341
|
-
this.endIcon = input(
|
|
342
|
-
...(ngDevMode ? [undefined, { debugName: "endIcon" }] : /* istanbul ignore next */ []));
|
|
338
|
+
this.endIcon = input(...(ngDevMode ? [undefined, { debugName: "endIcon" }] : []));
|
|
343
339
|
/**
|
|
344
340
|
* Defines the icon to be displayed as graphical element within the component before the text.
|
|
345
341
|
The SAP-icons font provides numerous options.
|
|
@@ -348,22 +344,19 @@ class ButtonState {
|
|
|
348
344
|
|
|
349
345
|
See all the available icons in the [Icon Explorer](https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html).
|
|
350
346
|
*/
|
|
351
|
-
this.icon = input(
|
|
352
|
-
...(ngDevMode ? [undefined, { debugName: "icon" }] : /* istanbul ignore next */ []));
|
|
347
|
+
this.icon = input(...(ngDevMode ? [undefined, { debugName: "icon" }] : []));
|
|
353
348
|
/**
|
|
354
349
|
* Defines the name of the button state.
|
|
355
350
|
*/
|
|
356
|
-
this.name = input(
|
|
357
|
-
...(ngDevMode ? [undefined, { debugName: "name" }] : /* istanbul ignore next */ []));
|
|
351
|
+
this.name = input(...(ngDevMode ? [undefined, { debugName: "name" }] : []));
|
|
358
352
|
/**
|
|
359
353
|
* Defines if the component is in split button mode.
|
|
360
354
|
*/
|
|
361
|
-
this.showArrowButton = input(false, { ...(ngDevMode ? { debugName: "showArrowButton" } :
|
|
355
|
+
this.showArrowButton = input(false, { ...(ngDevMode ? { debugName: "showArrowButton" } : {}), transform: booleanAttribute });
|
|
362
356
|
/**
|
|
363
357
|
* Defines the text of the button in this state.
|
|
364
358
|
*/
|
|
365
|
-
this.text = input(
|
|
366
|
-
...(ngDevMode ? [undefined, { debugName: "text" }] : /* istanbul ignore next */ [])); // className is now passed
|
|
359
|
+
this.text = input(...(ngDevMode ? [undefined, { debugName: "text" }] : [])); // className is now passed
|
|
367
360
|
this.elementRef = inject(ElementRef);
|
|
368
361
|
this.injector = inject(Injector);
|
|
369
362
|
/**
|
|
@@ -404,14 +397,14 @@ class ButtonState {
|
|
|
404
397
|
}
|
|
405
398
|
}
|
|
406
399
|
}
|
|
407
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
408
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
400
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ButtonState, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
401
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.0", type: ButtonState, isStandalone: true, selector: "ui5-ai-button-state, [ui5-ai-button-state]", inputs: { endIcon: { classPropertyName: "endIcon", publicName: "endIcon", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, showArrowButton: { classPropertyName: "showArrowButton", publicName: "showArrowButton", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
|
|
409
402
|
contentDensityObserverProviders({
|
|
410
403
|
supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]
|
|
411
404
|
})
|
|
412
405
|
], exportAs: ["ui5ButtonState"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
413
406
|
}
|
|
414
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
407
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ButtonState, decorators: [{
|
|
415
408
|
type: Component,
|
|
416
409
|
args: [{
|
|
417
410
|
standalone: true,
|
|
@@ -432,101 +425,91 @@ class Input {
|
|
|
432
425
|
/**
|
|
433
426
|
* Indicates the index of the currently displayed version.
|
|
434
427
|
*/
|
|
435
|
-
this.currentVersion = input(0,
|
|
436
|
-
...(ngDevMode ? [{ debugName: "currentVersion" }] : /* istanbul ignore next */ []));
|
|
428
|
+
this.currentVersion = input(0, ...(ngDevMode ? [{ debugName: "currentVersion" }] : []));
|
|
437
429
|
/**
|
|
438
430
|
* Defines whether the AI Writing Assistant is currently loading.
|
|
439
431
|
|
|
440
432
|
When `true`, indicates that an AI action is in progress.
|
|
441
433
|
*/
|
|
442
|
-
this.loading = input(false, { ...(ngDevMode ? { debugName: "loading" } :
|
|
434
|
+
this.loading = input(false, { ...(ngDevMode ? { debugName: "loading" } : {}), transform: booleanAttribute });
|
|
443
435
|
/**
|
|
444
436
|
* Indicates the total number of result versions available.
|
|
445
437
|
|
|
446
438
|
When not set or set to 0, the versioning will be hidden.
|
|
447
439
|
*/
|
|
448
|
-
this.totalVersions = input(0,
|
|
449
|
-
...(ngDevMode ? [{ debugName: "totalVersions" }] : /* istanbul ignore next */ []));
|
|
440
|
+
this.totalVersions = input(0, ...(ngDevMode ? [{ debugName: "totalVersions" }] : []));
|
|
450
441
|
/**
|
|
451
442
|
* Defines the accessible description of the component.
|
|
452
443
|
*/
|
|
453
|
-
this.accessibleDescription = input(
|
|
454
|
-
...(ngDevMode ? [undefined, { debugName: "accessibleDescription" }] : /* istanbul ignore next */ []));
|
|
444
|
+
this.accessibleDescription = input(...(ngDevMode ? [undefined, { debugName: "accessibleDescription" }] : []));
|
|
455
445
|
/**
|
|
456
446
|
* Receives id(or many ids) of the elements that describe the input.
|
|
457
447
|
*/
|
|
458
|
-
this.accessibleDescriptionRef = input(
|
|
459
|
-
...(ngDevMode ? [undefined, { debugName: "accessibleDescriptionRef" }] : /* istanbul ignore next */ []));
|
|
448
|
+
this.accessibleDescriptionRef = input(...(ngDevMode ? [undefined, { debugName: "accessibleDescriptionRef" }] : []));
|
|
460
449
|
/**
|
|
461
450
|
* Defines the accessible ARIA name of the component.
|
|
462
451
|
*/
|
|
463
|
-
this.accessibleName = input(
|
|
464
|
-
...(ngDevMode ? [undefined, { debugName: "accessibleName" }] : /* istanbul ignore next */ []));
|
|
452
|
+
this.accessibleName = input(...(ngDevMode ? [undefined, { debugName: "accessibleName" }] : []));
|
|
465
453
|
/**
|
|
466
454
|
* Receives id(or many ids) of the elements that label the input.
|
|
467
455
|
*/
|
|
468
|
-
this.accessibleNameRef = input(
|
|
469
|
-
...(ngDevMode ? [undefined, { debugName: "accessibleNameRef" }] : /* istanbul ignore next */ []));
|
|
456
|
+
this.accessibleNameRef = input(...(ngDevMode ? [undefined, { debugName: "accessibleNameRef" }] : []));
|
|
470
457
|
/**
|
|
471
458
|
* Defines whether the component is in disabled state.
|
|
472
459
|
|
|
473
460
|
**Note:** A disabled component is completely noninteractive.
|
|
474
461
|
*/
|
|
475
|
-
this.disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } :
|
|
462
|
+
this.disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : {}), transform: booleanAttribute });
|
|
476
463
|
/**
|
|
477
464
|
* Defines the filter type of the component.
|
|
478
465
|
*/
|
|
479
|
-
this.filter = input("None",
|
|
480
|
-
...(ngDevMode ? [{ debugName: "filter" }] : /* istanbul ignore next */ []));
|
|
466
|
+
this.filter = input("None", ...(ngDevMode ? [{ debugName: "filter" }] : []));
|
|
481
467
|
/**
|
|
482
468
|
* Sets the maximum number of characters available in the input field.
|
|
483
469
|
|
|
484
470
|
**Note:** This property is not compatible with the ui5-input type InputType.Number. If the ui5-input type is set to Number, the maxlength value is ignored.
|
|
485
471
|
*/
|
|
486
|
-
this.maxlength = input(
|
|
487
|
-
...(ngDevMode ? [undefined, { debugName: "maxlength" }] : /* istanbul ignore next */ []));
|
|
472
|
+
this.maxlength = input(...(ngDevMode ? [undefined, { debugName: "maxlength" }] : []));
|
|
488
473
|
/**
|
|
489
474
|
* Determines the name by which the component will be identified upon submission in an HTML form.
|
|
490
475
|
|
|
491
476
|
**Note:** This property is only applicable within the context of an HTML Form element.
|
|
492
477
|
*/
|
|
493
|
-
this.name = input(
|
|
494
|
-
...(ngDevMode ? [undefined, { debugName: "name" }] : /* istanbul ignore next */ []));
|
|
478
|
+
this.name = input(...(ngDevMode ? [undefined, { debugName: "name" }] : []));
|
|
495
479
|
/**
|
|
496
480
|
* Defines whether the value will be autcompleted to match an item
|
|
497
481
|
*/
|
|
498
|
-
this.noTypeahead = input(false, { ...(ngDevMode ? { debugName: "noTypeahead" } :
|
|
482
|
+
this.noTypeahead = input(false, { ...(ngDevMode ? { debugName: "noTypeahead" } : {}), transform: booleanAttribute });
|
|
499
483
|
/**
|
|
500
484
|
* Defines whether the suggestions picker is open.
|
|
501
485
|
The picker will not open if the `showSuggestions` property is set to `false`, the input is disabled or the input is readonly.
|
|
502
486
|
The picker will close automatically and `close` event will be fired if the input is not in the viewport.
|
|
503
487
|
*/
|
|
504
|
-
this.open = input(false, { ...(ngDevMode ? { debugName: "open" } :
|
|
488
|
+
this.open = input(false, { ...(ngDevMode ? { debugName: "open" } : {}), transform: booleanAttribute });
|
|
505
489
|
/**
|
|
506
490
|
* Defines a short hint intended to aid the user with data entry when the
|
|
507
491
|
component has no value.
|
|
508
492
|
*/
|
|
509
|
-
this.placeholder = input(
|
|
510
|
-
...(ngDevMode ? [undefined, { debugName: "placeholder" }] : /* istanbul ignore next */ []));
|
|
493
|
+
this.placeholder = input(...(ngDevMode ? [undefined, { debugName: "placeholder" }] : []));
|
|
511
494
|
/**
|
|
512
495
|
* Defines whether the component is read-only.
|
|
513
496
|
|
|
514
497
|
**Note:** A read-only component is not editable,
|
|
515
498
|
but still provides visual feedback upon user interaction.
|
|
516
499
|
*/
|
|
517
|
-
this.readonly = input(false, { ...(ngDevMode ? { debugName: "readonly" } :
|
|
500
|
+
this.readonly = input(false, { ...(ngDevMode ? { debugName: "readonly" } : {}), transform: booleanAttribute });
|
|
518
501
|
/**
|
|
519
502
|
* Defines whether the component is required.
|
|
520
503
|
*/
|
|
521
|
-
this.required = input(false, { ...(ngDevMode ? { debugName: "required" } :
|
|
504
|
+
this.required = input(false, { ...(ngDevMode ? { debugName: "required" } : {}), transform: booleanAttribute });
|
|
522
505
|
/**
|
|
523
506
|
* Defines whether the clear icon of the input will be shown.
|
|
524
507
|
*/
|
|
525
|
-
this.showClearIcon = input(false, { ...(ngDevMode ? { debugName: "showClearIcon" } :
|
|
508
|
+
this.showClearIcon = input(false, { ...(ngDevMode ? { debugName: "showClearIcon" } : {}), transform: booleanAttribute });
|
|
526
509
|
/**
|
|
527
510
|
* Defines whether the component should show suggestions, if such are present.
|
|
528
511
|
*/
|
|
529
|
-
this.showSuggestions = input(false, { ...(ngDevMode ? { debugName: "showSuggestions" } :
|
|
512
|
+
this.showSuggestions = input(false, { ...(ngDevMode ? { debugName: "showSuggestions" } : {}), transform: booleanAttribute });
|
|
530
513
|
/**
|
|
531
514
|
* Defines the HTML type of the component.
|
|
532
515
|
|
|
@@ -538,20 +521,17 @@ class Input {
|
|
|
538
521
|
that use different soft keyboard layouts depending on the given input type.
|
|
539
522
|
- Type `Number` does not support suggestions.
|
|
540
523
|
*/
|
|
541
|
-
this.type = input("Text",
|
|
542
|
-
...(ngDevMode ? [{ debugName: "type" }] : /* istanbul ignore next */ []));
|
|
524
|
+
this.type = input("Text", ...(ngDevMode ? [{ debugName: "type" }] : []));
|
|
543
525
|
/**
|
|
544
526
|
* Defines the value of the component.
|
|
545
527
|
|
|
546
528
|
**Note:** The property is updated upon typing.
|
|
547
529
|
*/
|
|
548
|
-
this.value = input("",
|
|
549
|
-
...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
|
|
530
|
+
this.value = input("", ...(ngDevMode ? [{ debugName: "value" }] : []));
|
|
550
531
|
/**
|
|
551
532
|
* Defines the value state of the component.
|
|
552
533
|
*/
|
|
553
|
-
this.valueState = input("None",
|
|
554
|
-
...(ngDevMode ? [{ debugName: "valueState" }] : /* istanbul ignore next */ [])); // className is now passed
|
|
534
|
+
this.valueState = input("None", ...(ngDevMode ? [{ debugName: "valueState" }] : [])); // className is now passed
|
|
555
535
|
/**
|
|
556
536
|
* Fired when the user selects the AI button.
|
|
557
537
|
*/
|
|
@@ -731,8 +711,8 @@ class Input {
|
|
|
731
711
|
}
|
|
732
712
|
}
|
|
733
713
|
}
|
|
734
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
735
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
714
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: Input, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
715
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.0", type: Input, isStandalone: true, selector: "ui5-ai-input, [ui5-ai-input]", inputs: { currentVersion: { classPropertyName: "currentVersion", publicName: "currentVersion", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, totalVersions: { classPropertyName: "totalVersions", publicName: "totalVersions", isSignal: true, isRequired: false, transformFunction: null }, accessibleDescription: { classPropertyName: "accessibleDescription", publicName: "accessibleDescription", isSignal: true, isRequired: false, transformFunction: null }, accessibleDescriptionRef: { classPropertyName: "accessibleDescriptionRef", publicName: "accessibleDescriptionRef", isSignal: true, isRequired: false, transformFunction: null }, accessibleName: { classPropertyName: "accessibleName", publicName: "accessibleName", isSignal: true, isRequired: false, transformFunction: null }, accessibleNameRef: { classPropertyName: "accessibleNameRef", publicName: "accessibleNameRef", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, filter: { classPropertyName: "filter", publicName: "filter", isSignal: true, isRequired: false, transformFunction: null }, maxlength: { classPropertyName: "maxlength", publicName: "maxlength", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, noTypeahead: { classPropertyName: "noTypeahead", publicName: "noTypeahead", isSignal: true, isRequired: false, transformFunction: null }, open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, showClearIcon: { classPropertyName: "showClearIcon", publicName: "showClearIcon", isSignal: true, isRequired: false, transformFunction: null }, showSuggestions: { classPropertyName: "showSuggestions", publicName: "showSuggestions", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, valueState: { classPropertyName: "valueState", publicName: "valueState", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5ButtonClick: "ui5ButtonClick", ui5ItemClick: "ui5ItemClick", ui5StopGeneration: "ui5StopGeneration", ui5VersionChange: "ui5VersionChange", ui5Change: "ui5Change", ui5Close: "ui5Close", ui5Input: "ui5Input", ui5Open: "ui5Open", ui5Select: "ui5Select", ui5SelectionChange: "ui5SelectionChange" }, providers: [
|
|
736
716
|
contentDensityObserverProviders({
|
|
737
717
|
supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]
|
|
738
718
|
}),
|
|
@@ -746,7 +726,7 @@ class Input {
|
|
|
746
726
|
}
|
|
747
727
|
], exportAs: ["ui5Input"], hostDirectives: [{ directive: i1.GenericControlValueAccessor }], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
748
728
|
}
|
|
749
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
729
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: Input, decorators: [{
|
|
750
730
|
type: Component,
|
|
751
731
|
args: [{
|
|
752
732
|
standalone: true,
|
|
@@ -778,34 +758,31 @@ class PromptInput {
|
|
|
778
758
|
|
|
779
759
|
**Note:** A disabled component is completely noninteractive.
|
|
780
760
|
*/
|
|
781
|
-
this.disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } :
|
|
761
|
+
this.disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : {}), transform: booleanAttribute });
|
|
782
762
|
/**
|
|
783
763
|
* Defines the label of the input field.
|
|
784
764
|
*/
|
|
785
|
-
this.label = input(
|
|
786
|
-
...(ngDevMode ? [undefined, { debugName: "label" }] : /* istanbul ignore next */ []));
|
|
765
|
+
this.label = input(...(ngDevMode ? [undefined, { debugName: "label" }] : []));
|
|
787
766
|
/**
|
|
788
767
|
* Sets the maximum number of characters available in the input field.
|
|
789
768
|
*/
|
|
790
|
-
this.maxlength = input(
|
|
791
|
-
...(ngDevMode ? [undefined, { debugName: "maxlength" }] : /* istanbul ignore next */ []));
|
|
769
|
+
this.maxlength = input(...(ngDevMode ? [undefined, { debugName: "maxlength" }] : []));
|
|
792
770
|
/**
|
|
793
771
|
* Defines a short hint intended to aid the user with data entry when the
|
|
794
772
|
component has no value.
|
|
795
773
|
*/
|
|
796
|
-
this.placeholder = input(
|
|
797
|
-
...(ngDevMode ? [undefined, { debugName: "placeholder" }] : /* istanbul ignore next */ []));
|
|
774
|
+
this.placeholder = input(...(ngDevMode ? [undefined, { debugName: "placeholder" }] : []));
|
|
798
775
|
/**
|
|
799
776
|
* Defines whether the component is read-only.
|
|
800
777
|
|
|
801
778
|
**Note:** A read-only component is not editable,
|
|
802
779
|
but still provides visual feedback upon user interaction.
|
|
803
780
|
*/
|
|
804
|
-
this.readonly = input(false, { ...(ngDevMode ? { debugName: "readonly" } :
|
|
781
|
+
this.readonly = input(false, { ...(ngDevMode ? { debugName: "readonly" } : {}), transform: booleanAttribute });
|
|
805
782
|
/**
|
|
806
783
|
* Defines whether the clear icon of the input will be shown.
|
|
807
784
|
*/
|
|
808
|
-
this.showClearIcon = input(false, { ...(ngDevMode ? { debugName: "showClearIcon" } :
|
|
785
|
+
this.showClearIcon = input(false, { ...(ngDevMode ? { debugName: "showClearIcon" } : {}), transform: booleanAttribute });
|
|
809
786
|
/**
|
|
810
787
|
* Determines whether the characters exceeding the maximum allowed character count are visible
|
|
811
788
|
in the component.
|
|
@@ -815,21 +792,19 @@ class PromptInput {
|
|
|
815
792
|
If set to `true` the characters exceeding the `maxlength` value are selected on
|
|
816
793
|
paste and the counter below the component displays their number.
|
|
817
794
|
*/
|
|
818
|
-
this.showExceededText = input(false, { ...(ngDevMode ? { debugName: "showExceededText" } :
|
|
795
|
+
this.showExceededText = input(false, { ...(ngDevMode ? { debugName: "showExceededText" } : {}), transform: booleanAttribute });
|
|
819
796
|
/**
|
|
820
797
|
* Defines whether the component should show suggestions, if such are present.
|
|
821
798
|
*/
|
|
822
|
-
this.showSuggestions = input(false, { ...(ngDevMode ? { debugName: "showSuggestions" } :
|
|
799
|
+
this.showSuggestions = input(false, { ...(ngDevMode ? { debugName: "showSuggestions" } : {}), transform: booleanAttribute });
|
|
823
800
|
/**
|
|
824
801
|
* Defines the value of the component.
|
|
825
802
|
*/
|
|
826
|
-
this.value = input("",
|
|
827
|
-
...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
|
|
803
|
+
this.value = input("", ...(ngDevMode ? [{ debugName: "value" }] : []));
|
|
828
804
|
/**
|
|
829
805
|
* Defines the value state of the component.
|
|
830
806
|
*/
|
|
831
|
-
this.valueState = input("None",
|
|
832
|
-
...(ngDevMode ? [{ debugName: "valueState" }] : /* istanbul ignore next */ [])); // className is now passed
|
|
807
|
+
this.valueState = input("None", ...(ngDevMode ? [{ debugName: "valueState" }] : [])); // className is now passed
|
|
833
808
|
/**
|
|
834
809
|
* Fired when the input operation has finished by pressing Enter
|
|
835
810
|
or on focusout.
|
|
@@ -949,14 +924,14 @@ class PromptInput {
|
|
|
949
924
|
}
|
|
950
925
|
}
|
|
951
926
|
}
|
|
952
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
953
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
927
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PromptInput, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
928
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.0", type: PromptInput, isStandalone: true, selector: "ui5-ai-prompt-input, [ui5-ai-prompt-input]", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, maxlength: { classPropertyName: "maxlength", publicName: "maxlength", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, showClearIcon: { classPropertyName: "showClearIcon", publicName: "showClearIcon", isSignal: true, isRequired: false, transformFunction: null }, showExceededText: { classPropertyName: "showExceededText", publicName: "showExceededText", isSignal: true, isRequired: false, transformFunction: null }, showSuggestions: { classPropertyName: "showSuggestions", publicName: "showSuggestions", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, valueState: { classPropertyName: "valueState", publicName: "valueState", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5Change: "ui5Change", ui5Input: "ui5Input", ui5Submit: "ui5Submit" }, providers: [
|
|
954
929
|
contentDensityObserverProviders({
|
|
955
930
|
supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]
|
|
956
931
|
})
|
|
957
932
|
], exportAs: ["ui5PromptInput"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
958
933
|
}
|
|
959
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
934
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PromptInput, decorators: [{
|
|
960
935
|
type: Component,
|
|
961
936
|
args: [{
|
|
962
937
|
standalone: true,
|
|
@@ -977,88 +952,77 @@ class TextArea {
|
|
|
977
952
|
/**
|
|
978
953
|
* Indicates the index of the currently displayed version.
|
|
979
954
|
*/
|
|
980
|
-
this.currentVersion = input(0,
|
|
981
|
-
...(ngDevMode ? [{ debugName: "currentVersion" }] : /* istanbul ignore next */ []));
|
|
955
|
+
this.currentVersion = input(0, ...(ngDevMode ? [{ debugName: "currentVersion" }] : []));
|
|
982
956
|
/**
|
|
983
957
|
* Defines whether the `ui5-ai-textarea` is currently in a loading(processing) state.
|
|
984
958
|
*/
|
|
985
|
-
this.loading = input(false, { ...(ngDevMode ? { debugName: "loading" } :
|
|
959
|
+
this.loading = input(false, { ...(ngDevMode ? { debugName: "loading" } : {}), transform: booleanAttribute });
|
|
986
960
|
/**
|
|
987
961
|
* Defines the prompt description of the current action.
|
|
988
962
|
*/
|
|
989
|
-
this.promptDescription = input("",
|
|
990
|
-
...(ngDevMode ? [{ debugName: "promptDescription" }] : /* istanbul ignore next */ []));
|
|
963
|
+
this.promptDescription = input("", ...(ngDevMode ? [{ debugName: "promptDescription" }] : []));
|
|
991
964
|
/**
|
|
992
965
|
* Indicates the total number of result versions available.
|
|
993
966
|
|
|
994
967
|
Notes:
|
|
995
968
|
Versioning is hidden if the value is `0`
|
|
996
969
|
*/
|
|
997
|
-
this.totalVersions = input(0,
|
|
998
|
-
...(ngDevMode ? [{ debugName: "totalVersions" }] : /* istanbul ignore next */ []));
|
|
970
|
+
this.totalVersions = input(0, ...(ngDevMode ? [{ debugName: "totalVersions" }] : []));
|
|
999
971
|
/**
|
|
1000
972
|
* Defines the accessible description of the component.
|
|
1001
973
|
*/
|
|
1002
|
-
this.accessibleDescription = input(
|
|
1003
|
-
...(ngDevMode ? [undefined, { debugName: "accessibleDescription" }] : /* istanbul ignore next */ []));
|
|
974
|
+
this.accessibleDescription = input(...(ngDevMode ? [undefined, { debugName: "accessibleDescription" }] : []));
|
|
1004
975
|
/**
|
|
1005
976
|
* Receives id(or many ids) of the elements that describe the textarea.
|
|
1006
977
|
*/
|
|
1007
|
-
this.accessibleDescriptionRef = input(
|
|
1008
|
-
...(ngDevMode ? [undefined, { debugName: "accessibleDescriptionRef" }] : /* istanbul ignore next */ []));
|
|
978
|
+
this.accessibleDescriptionRef = input(...(ngDevMode ? [undefined, { debugName: "accessibleDescriptionRef" }] : []));
|
|
1009
979
|
/**
|
|
1010
980
|
* Defines the accessible ARIA name of the component.
|
|
1011
981
|
*/
|
|
1012
|
-
this.accessibleName = input(
|
|
1013
|
-
...(ngDevMode ? [undefined, { debugName: "accessibleName" }] : /* istanbul ignore next */ []));
|
|
982
|
+
this.accessibleName = input(...(ngDevMode ? [undefined, { debugName: "accessibleName" }] : []));
|
|
1014
983
|
/**
|
|
1015
984
|
* Receives id(or many ids) of the elements that label the textarea.
|
|
1016
985
|
*/
|
|
1017
|
-
this.accessibleNameRef = input(
|
|
1018
|
-
...(ngDevMode ? [undefined, { debugName: "accessibleNameRef" }] : /* istanbul ignore next */ []));
|
|
986
|
+
this.accessibleNameRef = input(...(ngDevMode ? [undefined, { debugName: "accessibleNameRef" }] : []));
|
|
1019
987
|
/**
|
|
1020
988
|
* Indicates whether the user can interact with the component or not.
|
|
1021
989
|
|
|
1022
990
|
**Note:** A disabled component is completely noninteractive.
|
|
1023
991
|
*/
|
|
1024
|
-
this.disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } :
|
|
992
|
+
this.disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : {}), transform: booleanAttribute });
|
|
1025
993
|
/**
|
|
1026
994
|
* Enables the component to automatically grow and shrink dynamically with its content.
|
|
1027
995
|
*/
|
|
1028
|
-
this.growing = input(false, { ...(ngDevMode ? { debugName: "growing" } :
|
|
996
|
+
this.growing = input(false, { ...(ngDevMode ? { debugName: "growing" } : {}), transform: booleanAttribute });
|
|
1029
997
|
/**
|
|
1030
998
|
* Defines the maximum number of rows that the component can grow.
|
|
1031
999
|
*/
|
|
1032
|
-
this.growingMaxRows = input(0,
|
|
1033
|
-
...(ngDevMode ? [{ debugName: "growingMaxRows" }] : /* istanbul ignore next */ []));
|
|
1000
|
+
this.growingMaxRows = input(0, ...(ngDevMode ? [{ debugName: "growingMaxRows" }] : []));
|
|
1034
1001
|
/**
|
|
1035
1002
|
* Defines the maximum number of characters that the `value` can have.
|
|
1036
1003
|
*/
|
|
1037
|
-
this.maxlength = input(
|
|
1038
|
-
...(ngDevMode ? [undefined, { debugName: "maxlength" }] : /* istanbul ignore next */ []));
|
|
1004
|
+
this.maxlength = input(...(ngDevMode ? [undefined, { debugName: "maxlength" }] : []));
|
|
1039
1005
|
/**
|
|
1040
1006
|
* Determines the name by which the component will be identified upon submission in an HTML form.
|
|
1041
1007
|
|
|
1042
1008
|
**Note:** This property is only applicable within the context of an HTML Form element.
|
|
1043
1009
|
*/
|
|
1044
|
-
this.name = input(
|
|
1045
|
-
...(ngDevMode ? [undefined, { debugName: "name" }] : /* istanbul ignore next */ []));
|
|
1010
|
+
this.name = input(...(ngDevMode ? [undefined, { debugName: "name" }] : []));
|
|
1046
1011
|
/**
|
|
1047
1012
|
* Defines a short hint intended to aid the user with data entry when the component has no value.
|
|
1048
1013
|
*/
|
|
1049
|
-
this.placeholder = input(
|
|
1050
|
-
...(ngDevMode ? [undefined, { debugName: "placeholder" }] : /* istanbul ignore next */ []));
|
|
1014
|
+
this.placeholder = input(...(ngDevMode ? [undefined, { debugName: "placeholder" }] : []));
|
|
1051
1015
|
/**
|
|
1052
1016
|
* Defines whether the component is read-only.
|
|
1053
1017
|
|
|
1054
1018
|
**Note:** A read-only component is not editable,
|
|
1055
1019
|
but still provides visual feedback upon user interaction.
|
|
1056
1020
|
*/
|
|
1057
|
-
this.readonly = input(false, { ...(ngDevMode ? { debugName: "readonly" } :
|
|
1021
|
+
this.readonly = input(false, { ...(ngDevMode ? { debugName: "readonly" } : {}), transform: booleanAttribute });
|
|
1058
1022
|
/**
|
|
1059
1023
|
* Defines whether the component is required.
|
|
1060
1024
|
*/
|
|
1061
|
-
this.required = input(false, { ...(ngDevMode ? { debugName: "required" } :
|
|
1025
|
+
this.required = input(false, { ...(ngDevMode ? { debugName: "required" } : {}), transform: booleanAttribute });
|
|
1062
1026
|
/**
|
|
1063
1027
|
* Defines the number of visible text rows for the component.
|
|
1064
1028
|
|
|
@@ -1068,8 +1032,7 @@ class TextArea {
|
|
|
1068
1032
|
in the textarea.
|
|
1069
1033
|
- The CSS `height` property wins over the `rows` property, if both are set.
|
|
1070
1034
|
*/
|
|
1071
|
-
this.rows = input(0,
|
|
1072
|
-
...(ngDevMode ? [{ debugName: "rows" }] : /* istanbul ignore next */ []));
|
|
1035
|
+
this.rows = input(0, ...(ngDevMode ? [{ debugName: "rows" }] : []));
|
|
1073
1036
|
/**
|
|
1074
1037
|
* Determines whether the characters exceeding the maximum allowed character count are visible
|
|
1075
1038
|
in the component.
|
|
@@ -1079,12 +1042,11 @@ class TextArea {
|
|
|
1079
1042
|
If set to `true` the characters exceeding the `maxlength` value are selected on
|
|
1080
1043
|
paste and the counter below the component displays their number.
|
|
1081
1044
|
*/
|
|
1082
|
-
this.showExceededText = input(false, { ...(ngDevMode ? { debugName: "showExceededText" } :
|
|
1045
|
+
this.showExceededText = input(false, { ...(ngDevMode ? { debugName: "showExceededText" } : {}), transform: booleanAttribute });
|
|
1083
1046
|
/**
|
|
1084
1047
|
* Defines the value of the component.
|
|
1085
1048
|
*/
|
|
1086
|
-
this.value = input("",
|
|
1087
|
-
...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
|
|
1049
|
+
this.value = input("", ...(ngDevMode ? [{ debugName: "value" }] : []));
|
|
1088
1050
|
/**
|
|
1089
1051
|
* Defines the value state of the component.
|
|
1090
1052
|
|
|
@@ -1092,8 +1054,7 @@ class TextArea {
|
|
|
1092
1054
|
the component turns into "Critical" state once the characters exceeds the limit.
|
|
1093
1055
|
In this case, only the "Negative" state is considered and can be applied.
|
|
1094
1056
|
*/
|
|
1095
|
-
this.valueState = input("None",
|
|
1096
|
-
...(ngDevMode ? [{ debugName: "valueState" }] : /* istanbul ignore next */ [])); // className is now passed
|
|
1057
|
+
this.valueState = input("None", ...(ngDevMode ? [{ debugName: "valueState" }] : [])); // className is now passed
|
|
1097
1058
|
/**
|
|
1098
1059
|
* Fired when the user requests to stop AI text generation.
|
|
1099
1060
|
*/
|
|
@@ -1231,8 +1192,8 @@ class TextArea {
|
|
|
1231
1192
|
}
|
|
1232
1193
|
}
|
|
1233
1194
|
}
|
|
1234
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1235
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
1195
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: TextArea, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1196
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.0", type: TextArea, isStandalone: true, selector: "ui5-ai-textarea, [ui5-ai-textarea]", inputs: { currentVersion: { classPropertyName: "currentVersion", publicName: "currentVersion", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, promptDescription: { classPropertyName: "promptDescription", publicName: "promptDescription", isSignal: true, isRequired: false, transformFunction: null }, totalVersions: { classPropertyName: "totalVersions", publicName: "totalVersions", isSignal: true, isRequired: false, transformFunction: null }, accessibleDescription: { classPropertyName: "accessibleDescription", publicName: "accessibleDescription", isSignal: true, isRequired: false, transformFunction: null }, accessibleDescriptionRef: { classPropertyName: "accessibleDescriptionRef", publicName: "accessibleDescriptionRef", isSignal: true, isRequired: false, transformFunction: null }, accessibleName: { classPropertyName: "accessibleName", publicName: "accessibleName", isSignal: true, isRequired: false, transformFunction: null }, accessibleNameRef: { classPropertyName: "accessibleNameRef", publicName: "accessibleNameRef", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, growing: { classPropertyName: "growing", publicName: "growing", isSignal: true, isRequired: false, transformFunction: null }, growingMaxRows: { classPropertyName: "growingMaxRows", publicName: "growingMaxRows", isSignal: true, isRequired: false, transformFunction: null }, maxlength: { classPropertyName: "maxlength", publicName: "maxlength", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, rows: { classPropertyName: "rows", publicName: "rows", isSignal: true, isRequired: false, transformFunction: null }, showExceededText: { classPropertyName: "showExceededText", publicName: "showExceededText", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, valueState: { classPropertyName: "valueState", publicName: "valueState", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5StopGeneration: "ui5StopGeneration", ui5VersionChange: "ui5VersionChange", ui5Change: "ui5Change", ui5Input: "ui5Input", ui5Scroll: "ui5Scroll", ui5Select: "ui5Select" }, providers: [
|
|
1236
1197
|
contentDensityObserverProviders({
|
|
1237
1198
|
supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]
|
|
1238
1199
|
}),
|
|
@@ -1246,7 +1207,7 @@ class TextArea {
|
|
|
1246
1207
|
}
|
|
1247
1208
|
], exportAs: ["ui5TextArea"], hostDirectives: [{ directive: i1.GenericControlValueAccessor }], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1248
1209
|
}
|
|
1249
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1210
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: TextArea, decorators: [{
|
|
1250
1211
|
type: Component,
|
|
1251
1212
|
args: [{
|
|
1252
1213
|
standalone: true,
|
|
@@ -1276,19 +1237,17 @@ class ToolbarLabel {
|
|
|
1276
1237
|
/**
|
|
1277
1238
|
* Defines the text of the label.
|
|
1278
1239
|
*/
|
|
1279
|
-
this.text = input("",
|
|
1280
|
-
...(ngDevMode ? [{ debugName: "text" }] : /* istanbul ignore next */ []));
|
|
1240
|
+
this.text = input("", ...(ngDevMode ? [{ debugName: "text" }] : []));
|
|
1281
1241
|
/**
|
|
1282
1242
|
* Property used to define the access of the item to the overflow Popover. If "NeverOverflow" option is set,
|
|
1283
1243
|
the item never goes in the Popover, if "AlwaysOverflow" - it never comes out of it.
|
|
1284
1244
|
*/
|
|
1285
|
-
this.overflowPriority = input("Default",
|
|
1286
|
-
...(ngDevMode ? [{ debugName: "overflowPriority" }] : /* istanbul ignore next */ []));
|
|
1245
|
+
this.overflowPriority = input("Default", ...(ngDevMode ? [{ debugName: "overflowPriority" }] : []));
|
|
1287
1246
|
/**
|
|
1288
1247
|
* Defines if the toolbar overflow popup should close upon interaction with the item.
|
|
1289
1248
|
It will close by default.
|
|
1290
1249
|
*/
|
|
1291
|
-
this.preventOverflowClosing = input(false, { ...(ngDevMode ? { debugName: "preventOverflowClosing" } :
|
|
1250
|
+
this.preventOverflowClosing = input(false, { ...(ngDevMode ? { debugName: "preventOverflowClosing" } : {}), transform: booleanAttribute }); // className is now passed
|
|
1292
1251
|
/**
|
|
1293
1252
|
* Available slots for content projection in this component.
|
|
1294
1253
|
*
|
|
@@ -1353,14 +1312,14 @@ class ToolbarLabel {
|
|
|
1353
1312
|
}
|
|
1354
1313
|
}
|
|
1355
1314
|
}
|
|
1356
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1357
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
1315
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ToolbarLabel, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1316
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.0", type: ToolbarLabel, isStandalone: true, selector: "ui5-ai-toolbar-label, [ui5-ai-toolbar-label]", inputs: { text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, overflowPriority: { classPropertyName: "overflowPriority", publicName: "overflowPriority", isSignal: true, isRequired: false, transformFunction: null }, preventOverflowClosing: { classPropertyName: "preventOverflowClosing", publicName: "preventOverflowClosing", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
|
|
1358
1317
|
contentDensityObserverProviders({
|
|
1359
1318
|
supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]
|
|
1360
1319
|
})
|
|
1361
1320
|
], exportAs: ["ui5ToolbarLabel"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1362
1321
|
}
|
|
1363
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1322
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ToolbarLabel, decorators: [{
|
|
1364
1323
|
type: Component,
|
|
1365
1324
|
args: [{
|
|
1366
1325
|
standalone: true,
|
|
@@ -1383,26 +1342,23 @@ class Versioning {
|
|
|
1383
1342
|
|
|
1384
1343
|
This property represents the current position in the version history.
|
|
1385
1344
|
*/
|
|
1386
|
-
this.currentStep = input(0,
|
|
1387
|
-
...(ngDevMode ? [{ debugName: "currentStep" }] : /* istanbul ignore next */ []));
|
|
1345
|
+
this.currentStep = input(0, ...(ngDevMode ? [{ debugName: "currentStep" }] : []));
|
|
1388
1346
|
/**
|
|
1389
1347
|
* The total number of available result versions.
|
|
1390
1348
|
|
|
1391
1349
|
Note: Versioning is hidden if the value is `0`.
|
|
1392
1350
|
*/
|
|
1393
|
-
this.totalSteps = input(0,
|
|
1394
|
-
...(ngDevMode ? [{ debugName: "totalSteps" }] : /* istanbul ignore next */ []));
|
|
1351
|
+
this.totalSteps = input(0, ...(ngDevMode ? [{ debugName: "totalSteps" }] : []));
|
|
1395
1352
|
/**
|
|
1396
1353
|
* Property used to define the access of the item to the overflow Popover. If "NeverOverflow" option is set,
|
|
1397
1354
|
the item never goes in the Popover, if "AlwaysOverflow" - it never comes out of it.
|
|
1398
1355
|
*/
|
|
1399
|
-
this.overflowPriority = input("Default",
|
|
1400
|
-
...(ngDevMode ? [{ debugName: "overflowPriority" }] : /* istanbul ignore next */ []));
|
|
1356
|
+
this.overflowPriority = input("Default", ...(ngDevMode ? [{ debugName: "overflowPriority" }] : []));
|
|
1401
1357
|
/**
|
|
1402
1358
|
* Defines if the toolbar overflow popup should close upon interaction with the item.
|
|
1403
1359
|
It will close by default.
|
|
1404
1360
|
*/
|
|
1405
|
-
this.preventOverflowClosing = input(false, { ...(ngDevMode ? { debugName: "preventOverflowClosing" } :
|
|
1361
|
+
this.preventOverflowClosing = input(false, { ...(ngDevMode ? { debugName: "preventOverflowClosing" } : {}), transform: booleanAttribute }); // className is now passed
|
|
1406
1362
|
/**
|
|
1407
1363
|
* Fired when the user clicks on version navigation buttons.
|
|
1408
1364
|
*/
|
|
@@ -1487,14 +1443,14 @@ class Versioning {
|
|
|
1487
1443
|
}
|
|
1488
1444
|
}
|
|
1489
1445
|
}
|
|
1490
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1491
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
1446
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: Versioning, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1447
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.0", type: Versioning, isStandalone: true, selector: "ui5-ai-versioning, [ui5-ai-versioning]", inputs: { currentStep: { classPropertyName: "currentStep", publicName: "currentStep", isSignal: true, isRequired: false, transformFunction: null }, totalSteps: { classPropertyName: "totalSteps", publicName: "totalSteps", isSignal: true, isRequired: false, transformFunction: null }, overflowPriority: { classPropertyName: "overflowPriority", publicName: "overflowPriority", isSignal: true, isRequired: false, transformFunction: null }, preventOverflowClosing: { classPropertyName: "preventOverflowClosing", publicName: "preventOverflowClosing", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5VersionChange: "ui5VersionChange" }, providers: [
|
|
1492
1448
|
contentDensityObserverProviders({
|
|
1493
1449
|
supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]
|
|
1494
1450
|
})
|
|
1495
1451
|
], exportAs: ["ui5Versioning"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1496
1452
|
}
|
|
1497
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1453
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: Versioning, decorators: [{
|
|
1498
1454
|
type: Component,
|
|
1499
1455
|
args: [{
|
|
1500
1456
|
standalone: true,
|
|
@@ -1518,24 +1474,21 @@ class WritingAssistant {
|
|
|
1518
1474
|
The index is **0-based** (i.e. `0` represents the first result).
|
|
1519
1475
|
This property is synchronized with the parent AI TextArea component.
|
|
1520
1476
|
*/
|
|
1521
|
-
this.currentVersion = input(0,
|
|
1522
|
-
...(ngDevMode ? [{ debugName: "currentVersion" }] : /* istanbul ignore next */ []));
|
|
1477
|
+
this.currentVersion = input(0, ...(ngDevMode ? [{ debugName: "currentVersion" }] : []));
|
|
1523
1478
|
/**
|
|
1524
1479
|
* Defines the prompt description of the Writing Assistant.
|
|
1525
1480
|
|
|
1526
1481
|
This text is displayed in the toolbar to indicate the current or last
|
|
1527
1482
|
performed AI action (e.g., "Generated text", "Simplified text").
|
|
1528
1483
|
*/
|
|
1529
|
-
this.promptDescription = input("",
|
|
1530
|
-
...(ngDevMode ? [{ debugName: "promptDescription" }] : /* istanbul ignore next */ []));
|
|
1484
|
+
this.promptDescription = input("", ...(ngDevMode ? [{ debugName: "promptDescription" }] : []));
|
|
1531
1485
|
/**
|
|
1532
1486
|
* Indicates the total number of result versions available.
|
|
1533
1487
|
|
|
1534
1488
|
This property determines whether version navigation controls are displayed.
|
|
1535
1489
|
When totalVersions > 0, previous/next buttons become available.
|
|
1536
1490
|
*/
|
|
1537
|
-
this.totalVersions = input(0,
|
|
1538
|
-
...(ngDevMode ? [{ debugName: "totalVersions" }] : /* istanbul ignore next */ [])); // className is now passed
|
|
1491
|
+
this.totalVersions = input(0, ...(ngDevMode ? [{ debugName: "totalVersions" }] : [])); // className is now passed
|
|
1539
1492
|
/**
|
|
1540
1493
|
* Fired when the user clicks on the AI button.
|
|
1541
1494
|
*/
|
|
@@ -1603,14 +1556,14 @@ class WritingAssistant {
|
|
|
1603
1556
|
}
|
|
1604
1557
|
}
|
|
1605
1558
|
}
|
|
1606
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1607
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
1559
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: WritingAssistant, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1560
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.0", type: WritingAssistant, isStandalone: true, selector: "ui5-ai-writing-assistant, [ui5-ai-writing-assistant]", inputs: { currentVersion: { classPropertyName: "currentVersion", publicName: "currentVersion", isSignal: true, isRequired: false, transformFunction: null }, promptDescription: { classPropertyName: "promptDescription", publicName: "promptDescription", isSignal: true, isRequired: false, transformFunction: null }, totalVersions: { classPropertyName: "totalVersions", publicName: "totalVersions", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5ButtonClick: "ui5ButtonClick", ui5StopGeneration: "ui5StopGeneration", ui5VersionChange: "ui5VersionChange" }, providers: [
|
|
1608
1561
|
contentDensityObserverProviders({
|
|
1609
1562
|
supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]
|
|
1610
1563
|
})
|
|
1611
1564
|
], exportAs: ["ui5WritingAssistant"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1612
1565
|
}
|
|
1613
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1566
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: WritingAssistant, decorators: [{
|
|
1614
1567
|
type: Component,
|
|
1615
1568
|
args: [{
|
|
1616
1569
|
standalone: true,
|
|
@@ -1631,10 +1584,10 @@ class Ui5WebcomponentsAiThemingService extends WebcomponentsThemingProvider {
|
|
|
1631
1584
|
super(() => import('@ui5/webcomponents-ai/dist/generated/json-imports/Themes.js'));
|
|
1632
1585
|
this.name = 'ui-5-webcomponents--ai-theming-service';
|
|
1633
1586
|
}
|
|
1634
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1635
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1587
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: Ui5WebcomponentsAiThemingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1588
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: Ui5WebcomponentsAiThemingService, providedIn: 'root' }); }
|
|
1636
1589
|
}
|
|
1637
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1590
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: Ui5WebcomponentsAiThemingService, decorators: [{
|
|
1638
1591
|
type: Injectable,
|
|
1639
1592
|
args: [{ providedIn: 'root' }]
|
|
1640
1593
|
}], ctorParameters: () => [] });
|