@ui5/webcomponents-ai 0.0.0-37338d49d → 0.0.0-38f83ffef

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.
Files changed (42) hide show
  1. package/CHANGELOG.md +209 -0
  2. package/README.md +1 -1
  3. package/cypress.config.js +3 -0
  4. package/dist/.tsbuildinfo +1 -0
  5. package/dist/Assets-fetch.d.ts +3 -0
  6. package/dist/Assets-fetch.js +6 -0
  7. package/dist/Assets-fetch.js.map +1 -0
  8. package/dist/Assets-node.d.ts +14 -0
  9. package/dist/Assets-node.js +17 -0
  10. package/dist/Assets-node.js.map +1 -0
  11. package/dist/Button.d.ts +3 -3
  12. package/dist/Button.js +10 -10
  13. package/dist/Button.js.map +1 -1
  14. package/dist/ButtonState.d.ts +4 -4
  15. package/dist/ButtonState.js +5 -5
  16. package/dist/ButtonState.js.map +1 -1
  17. package/dist/PromptInput.d.ts +6 -11
  18. package/dist/PromptInput.js +3 -5
  19. package/dist/PromptInput.js.map +1 -1
  20. package/dist/css/themes/Button.css +1 -1
  21. package/dist/custom-elements-internal.json +1411 -13
  22. package/dist/custom-elements.json +1374 -12
  23. package/dist/generated/assets/i18n/messagebundle_id.json +1 -0
  24. package/dist/generated/json-imports/Themes-node.d.ts +1 -0
  25. package/dist/generated/json-imports/Themes-node.js +21 -0
  26. package/dist/generated/json-imports/Themes-node.js.map +1 -0
  27. package/dist/generated/json-imports/i18n-fetch.js +2 -0
  28. package/dist/generated/json-imports/i18n-fetch.js.map +1 -1
  29. package/dist/generated/json-imports/i18n-node.d.ts +1 -0
  30. package/dist/generated/json-imports/i18n-node.js +120 -0
  31. package/dist/generated/json-imports/i18n-node.js.map +1 -0
  32. package/dist/generated/json-imports/i18n.js +2 -0
  33. package/dist/generated/json-imports/i18n.js.map +1 -1
  34. package/dist/generated/themes/Button.css.d.ts +1 -1
  35. package/dist/generated/themes/Button.css.js +1 -1
  36. package/dist/generated/themes/Button.css.js.map +1 -1
  37. package/dist/vscode.html-custom-data.json +6 -6
  38. package/dist/web-types.json +13 -13
  39. package/package-scripts.cjs +4 -0
  40. package/package.json +14 -9
  41. package/tsconfig.json +25 -4
  42. package/dist/tsconfig.tsbuildinfo +0 -1
@@ -2,6 +2,18 @@
2
2
  "schemaVersion": "1.0.0",
3
3
  "readme": "",
4
4
  "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "dist/Assets-fetch.js",
8
+ "declarations": [],
9
+ "exports": []
10
+ },
11
+ {
12
+ "kind": "javascript-module",
13
+ "path": "dist/Assets-node.js",
14
+ "declarations": [],
15
+ "exports": []
16
+ },
5
17
  {
6
18
  "kind": "javascript-module",
7
19
  "path": "dist/Assets.js",
@@ -74,7 +86,7 @@
74
86
  },
75
87
  {
76
88
  "kind": "field",
77
- "name": "activeArrowButton",
89
+ "name": "arrowButtonPressed",
78
90
  "type": {
79
91
  "text": "boolean"
80
92
  },
@@ -83,6 +95,468 @@
83
95
  "privacy": "public",
84
96
  "_ui5since": "2.6.0",
85
97
  "_ui5noAttribute": true
98
+ },
99
+ {
100
+ "kind": "method",
101
+ "name": "onBeforeRendering",
102
+ "return": {
103
+ "type": {
104
+ "text": "void"
105
+ }
106
+ },
107
+ "description": "Called every time before the component renders.",
108
+ "privacy": "public",
109
+ "inheritedFrom": {
110
+ "name": "UI5Element",
111
+ "package": "@ui5/webcomponents-base",
112
+ "module": "dist/UI5Element.js"
113
+ }
114
+ },
115
+ {
116
+ "kind": "method",
117
+ "name": "onAfterRendering",
118
+ "return": {
119
+ "type": {
120
+ "text": "void"
121
+ }
122
+ },
123
+ "description": "Called every time after the component renders.",
124
+ "privacy": "public",
125
+ "inheritedFrom": {
126
+ "name": "UI5Element",
127
+ "package": "@ui5/webcomponents-base",
128
+ "module": "dist/UI5Element.js"
129
+ }
130
+ },
131
+ {
132
+ "kind": "method",
133
+ "name": "onEnterDOM",
134
+ "return": {
135
+ "type": {
136
+ "text": "void"
137
+ }
138
+ },
139
+ "description": "Called on connectedCallback - added to the DOM.",
140
+ "privacy": "public",
141
+ "inheritedFrom": {
142
+ "name": "UI5Element",
143
+ "package": "@ui5/webcomponents-base",
144
+ "module": "dist/UI5Element.js"
145
+ }
146
+ },
147
+ {
148
+ "kind": "method",
149
+ "name": "onExitDOM",
150
+ "return": {
151
+ "type": {
152
+ "text": "void"
153
+ }
154
+ },
155
+ "description": "Called on disconnectedCallback - removed from the DOM.",
156
+ "privacy": "public",
157
+ "inheritedFrom": {
158
+ "name": "UI5Element",
159
+ "package": "@ui5/webcomponents-base",
160
+ "module": "dist/UI5Element.js"
161
+ }
162
+ },
163
+ {
164
+ "kind": "method",
165
+ "name": "attachInvalidate",
166
+ "return": {
167
+ "type": {
168
+ "text": "void"
169
+ }
170
+ },
171
+ "parameters": [
172
+ {
173
+ "name": "callback",
174
+ "type": {
175
+ "text": "(param: InvalidationInfo) => void"
176
+ },
177
+ "_ui5privacy": "public"
178
+ }
179
+ ],
180
+ "description": "Attach a callback that will be executed whenever the component is invalidated",
181
+ "privacy": "public",
182
+ "inheritedFrom": {
183
+ "name": "UI5Element",
184
+ "package": "@ui5/webcomponents-base",
185
+ "module": "dist/UI5Element.js"
186
+ }
187
+ },
188
+ {
189
+ "kind": "method",
190
+ "name": "detachInvalidate",
191
+ "return": {
192
+ "type": {
193
+ "text": "void"
194
+ }
195
+ },
196
+ "parameters": [
197
+ {
198
+ "name": "callback",
199
+ "type": {
200
+ "text": "(param: InvalidationInfo) => void"
201
+ },
202
+ "_ui5privacy": "public"
203
+ }
204
+ ],
205
+ "description": "Detach the callback that is executed whenever the component is invalidated",
206
+ "privacy": "public",
207
+ "inheritedFrom": {
208
+ "name": "UI5Element",
209
+ "package": "@ui5/webcomponents-base",
210
+ "module": "dist/UI5Element.js"
211
+ }
212
+ },
213
+ {
214
+ "kind": "method",
215
+ "name": "onInvalidation",
216
+ "return": {
217
+ "type": {
218
+ "text": "void"
219
+ }
220
+ },
221
+ "parameters": [
222
+ {
223
+ "name": "changeInfo",
224
+ "type": {
225
+ "text": "ChangeInfo",
226
+ "references": [
227
+ {
228
+ "name": "ChangeInfo",
229
+ "package": "@ui5/webcomponents-base",
230
+ "module": "dist/UI5Element.js"
231
+ }
232
+ ]
233
+ },
234
+ "description": "An object with information about the change that caused invalidation.\nThe object can have the following properties:\n- type: (property|slot) tells what caused the invalidation\n1) property: a property value was changed either directly or as a result of changing the corresponding attribute\n2) slot: a slotted node(nodes) changed in one of several ways (see \"reason\")\n\n- name: the name of the property or slot that caused the invalidation\n\n- reason: (children|textcontent|childchange|slotchange) relevant only for type=\"slot\" only and tells exactly what changed in the slot\n1) children: immediate children (HTML elements or text nodes) were added, removed or reordered in the slot\n2) textcontent: text nodes in the slot changed value (or nested text nodes were added or changed value). Can only trigger for slots of \"type: Node\"\n3) slotchange: a slot element, slotted inside that slot had its \"slotchange\" event listener called. This practically means that transitively slotted children changed.\nCan only trigger if the child of a slot is a slot element itself.\n4) childchange: indicates that a UI5Element child in that slot was invalidated and in turn invalidated the component.\nCan only trigger for slots with \"invalidateOnChildChange\" metadata descriptor\n\n- newValue: the new value of the property (for type=\"property\" only)\n\n- oldValue: the old value of the property (for type=\"property\" only)\n\n- child the child that was changed (for type=\"slot\" and reason=\"childchange\" only)",
235
+ "_ui5privacy": "public"
236
+ }
237
+ ],
238
+ "description": "A callback that is executed each time an already rendered component is invalidated (scheduled for re-rendering)",
239
+ "privacy": "public",
240
+ "inheritedFrom": {
241
+ "name": "UI5Element",
242
+ "package": "@ui5/webcomponents-base",
243
+ "module": "dist/UI5Element.js"
244
+ }
245
+ },
246
+ {
247
+ "kind": "method",
248
+ "name": "getDomRef",
249
+ "return": {
250
+ "type": {
251
+ "text": "HTMLElement | undefined"
252
+ }
253
+ },
254
+ "description": "Returns the DOM Element inside the Shadow Root that corresponds to the opening tag in the UI5 Web Component's template\n*Note:* For logical (abstract) elements (items, options, etc...), returns the part of the parent's DOM that represents this option\nUse this method instead of \"this.shadowRoot\" to read the Shadow DOM, if ever necessary",
255
+ "privacy": "public",
256
+ "inheritedFrom": {
257
+ "name": "UI5Element",
258
+ "package": "@ui5/webcomponents-base",
259
+ "module": "dist/UI5Element.js"
260
+ }
261
+ },
262
+ {
263
+ "kind": "method",
264
+ "name": "getFocusDomRef",
265
+ "return": {
266
+ "type": {
267
+ "text": "HTMLElement | undefined"
268
+ }
269
+ },
270
+ "description": "Returns the DOM Element marked with \"data-sap-focus-ref\" inside the template.\nThis is the element that will receive the focus by default.",
271
+ "privacy": "public",
272
+ "inheritedFrom": {
273
+ "name": "UI5Element",
274
+ "package": "@ui5/webcomponents-base",
275
+ "module": "dist/UI5Element.js"
276
+ }
277
+ },
278
+ {
279
+ "kind": "method",
280
+ "name": "getFocusDomRefAsync",
281
+ "return": {
282
+ "type": {
283
+ "text": "Promise<HTMLElement | undefined>"
284
+ }
285
+ },
286
+ "description": "Waits for dom ref and then returns the DOM Element marked with \"data-sap-focus-ref\" inside the template.\nThis is the element that will receive the focus by default.",
287
+ "privacy": "public",
288
+ "inheritedFrom": {
289
+ "name": "UI5Element",
290
+ "package": "@ui5/webcomponents-base",
291
+ "module": "dist/UI5Element.js"
292
+ }
293
+ },
294
+ {
295
+ "kind": "method",
296
+ "name": "focus",
297
+ "return": {
298
+ "type": {
299
+ "text": "Promise<void>"
300
+ }
301
+ },
302
+ "parameters": [
303
+ {
304
+ "name": "focusOptions",
305
+ "optional": true,
306
+ "type": {
307
+ "text": "FocusOptions"
308
+ },
309
+ "description": "additional options for the focus",
310
+ "_ui5privacy": "public"
311
+ }
312
+ ],
313
+ "description": "Set the focus to the element, returned by \"getFocusDomRef()\" (marked by \"data-sap-focus-ref\")",
314
+ "privacy": "public",
315
+ "inheritedFrom": {
316
+ "name": "UI5Element",
317
+ "package": "@ui5/webcomponents-base",
318
+ "module": "dist/UI5Element.js"
319
+ }
320
+ },
321
+ {
322
+ "kind": "method",
323
+ "name": "fireEvent",
324
+ "return": {
325
+ "type": {
326
+ "text": "boolean"
327
+ },
328
+ "description": "false, if the event was cancelled (preventDefault called), true otherwise"
329
+ },
330
+ "parameters": [
331
+ {
332
+ "name": "name",
333
+ "type": {
334
+ "text": "string"
335
+ },
336
+ "description": "name of the event",
337
+ "_ui5privacy": "public"
338
+ },
339
+ {
340
+ "name": "data",
341
+ "optional": true,
342
+ "type": {
343
+ "text": "T"
344
+ },
345
+ "description": "additional data for the event",
346
+ "_ui5privacy": "public"
347
+ },
348
+ {
349
+ "name": "cancelable",
350
+ "default": "false",
351
+ "description": "true, if the user can call preventDefault on the event object",
352
+ "_ui5privacy": "public"
353
+ },
354
+ {
355
+ "name": "bubbles",
356
+ "default": "true",
357
+ "description": "true, if the event bubbles",
358
+ "_ui5privacy": "public"
359
+ }
360
+ ],
361
+ "privacy": "public",
362
+ "deprecated": "use fireDecoratorEvent instead",
363
+ "inheritedFrom": {
364
+ "name": "UI5Element",
365
+ "package": "@ui5/webcomponents-base",
366
+ "module": "dist/UI5Element.js"
367
+ }
368
+ },
369
+ {
370
+ "kind": "method",
371
+ "name": "fireDecoratorEvent",
372
+ "return": {
373
+ "type": {
374
+ "text": "boolean"
375
+ },
376
+ "description": "false, if the event was cancelled (preventDefault called), true otherwise"
377
+ },
378
+ "parameters": [
379
+ {
380
+ "name": "name",
381
+ "type": {
382
+ "text": "N"
383
+ },
384
+ "description": "name of the event",
385
+ "_ui5privacy": "public"
386
+ },
387
+ {
388
+ "name": "data",
389
+ "optional": true,
390
+ "type": {
391
+ "text": "this[\"eventDetails\"][N] | undefined"
392
+ },
393
+ "description": "additional data for the event",
394
+ "_ui5privacy": "public"
395
+ }
396
+ ],
397
+ "description": "Fires a custom event, configured via the \"event\" decorator.",
398
+ "privacy": "public",
399
+ "inheritedFrom": {
400
+ "name": "UI5Element",
401
+ "package": "@ui5/webcomponents-base",
402
+ "module": "dist/UI5Element.js"
403
+ }
404
+ },
405
+ {
406
+ "kind": "method",
407
+ "name": "getSlottedNodes",
408
+ "return": {
409
+ "type": {
410
+ "text": "Array<T>"
411
+ }
412
+ },
413
+ "description": "Returns the actual children, associated with a slot.\nUseful when there are transitive slots in nested component scenarios and you don't want to get a list of the slots, but rather of their content.",
414
+ "privacy": "public",
415
+ "inheritedFrom": {
416
+ "name": "UI5Element",
417
+ "package": "@ui5/webcomponents-base",
418
+ "module": "dist/UI5Element.js"
419
+ }
420
+ },
421
+ {
422
+ "kind": "method",
423
+ "name": "attachComponentStateFinalized",
424
+ "return": {
425
+ "type": {
426
+ "text": "void"
427
+ }
428
+ },
429
+ "parameters": [
430
+ {
431
+ "name": "callback",
432
+ "type": {
433
+ "text": "() => void"
434
+ },
435
+ "_ui5privacy": "public"
436
+ }
437
+ ],
438
+ "description": "Attach a callback that will be executed whenever the component's state is finalized",
439
+ "privacy": "public",
440
+ "inheritedFrom": {
441
+ "name": "UI5Element",
442
+ "package": "@ui5/webcomponents-base",
443
+ "module": "dist/UI5Element.js"
444
+ }
445
+ },
446
+ {
447
+ "kind": "method",
448
+ "name": "detachComponentStateFinalized",
449
+ "return": {
450
+ "type": {
451
+ "text": "void"
452
+ }
453
+ },
454
+ "parameters": [
455
+ {
456
+ "name": "callback",
457
+ "type": {
458
+ "text": "() => void"
459
+ },
460
+ "_ui5privacy": "public"
461
+ }
462
+ ],
463
+ "description": "Detach the callback that is executed whenever the component's state is finalized",
464
+ "privacy": "public",
465
+ "inheritedFrom": {
466
+ "name": "UI5Element",
467
+ "package": "@ui5/webcomponents-base",
468
+ "module": "dist/UI5Element.js"
469
+ }
470
+ },
471
+ {
472
+ "kind": "field",
473
+ "name": "effectiveDir",
474
+ "type": {
475
+ "text": "string | undefined"
476
+ },
477
+ "description": "Determines whether the component should be rendered in RTL mode or not.\nReturns: \"rtl\", \"ltr\" or undefined",
478
+ "privacy": "public",
479
+ "default": "undefined",
480
+ "readonly": true,
481
+ "inheritedFrom": {
482
+ "name": "UI5Element",
483
+ "package": "@ui5/webcomponents-base",
484
+ "module": "dist/UI5Element.js"
485
+ }
486
+ },
487
+ {
488
+ "kind": "field",
489
+ "name": "isUI5Element",
490
+ "type": {
491
+ "text": "boolean"
492
+ },
493
+ "description": "Used to duck-type UI5 elements without using instanceof",
494
+ "privacy": "public",
495
+ "default": "true",
496
+ "readonly": true,
497
+ "inheritedFrom": {
498
+ "name": "UI5Element",
499
+ "package": "@ui5/webcomponents-base",
500
+ "module": "dist/UI5Element.js"
501
+ }
502
+ },
503
+ {
504
+ "kind": "method",
505
+ "name": "getUniqueDependencies",
506
+ "static": true,
507
+ "return": {
508
+ "type": {
509
+ "text": "Array<typeof UI5Element>"
510
+ }
511
+ },
512
+ "description": "Returns a list of the unique dependencies for this UI5 Web Component",
513
+ "privacy": "public",
514
+ "inheritedFrom": {
515
+ "name": "UI5Element",
516
+ "package": "@ui5/webcomponents-base",
517
+ "module": "dist/UI5Element.js"
518
+ }
519
+ },
520
+ {
521
+ "kind": "method",
522
+ "name": "define",
523
+ "static": true,
524
+ "return": {
525
+ "type": {
526
+ "text": "typeof UI5Element"
527
+ }
528
+ },
529
+ "description": "Registers a UI5 Web Component in the browser window object",
530
+ "privacy": "public",
531
+ "inheritedFrom": {
532
+ "name": "UI5Element",
533
+ "package": "@ui5/webcomponents-base",
534
+ "module": "dist/UI5Element.js"
535
+ }
536
+ },
537
+ {
538
+ "kind": "method",
539
+ "name": "getMetadata",
540
+ "static": true,
541
+ "return": {
542
+ "type": {
543
+ "text": "UI5ElementMetadata",
544
+ "references": [
545
+ {
546
+ "name": "UI5ElementMetadata",
547
+ "package": "@ui5/webcomponents-base",
548
+ "module": "dist/UI5ElementMetadata.js"
549
+ }
550
+ ]
551
+ }
552
+ },
553
+ "description": "Returns an instance of UI5ElementMetadata.js representing this UI5 Web Component's full metadata (its and its parents')\nNote: not to be confused with the \"get metadata()\" method, which returns an object for this class's metadata only",
554
+ "privacy": "public",
555
+ "inheritedFrom": {
556
+ "name": "UI5Element",
557
+ "package": "@ui5/webcomponents-base",
558
+ "module": "dist/UI5Element.js"
559
+ }
86
560
  }
87
561
  ],
88
562
  "events": [
@@ -98,7 +572,7 @@
98
572
  "_ui5Bubbles": true
99
573
  },
100
574
  {
101
- "name": "arrow-click",
575
+ "name": "arrow-button-click",
102
576
  "_ui5privacy": "public",
103
577
  "type": {
104
578
  "text": "CustomEvent"
@@ -139,9 +613,9 @@
139
613
  },
140
614
  {
141
615
  "description": "Defines the active state of the arrow button in split mode.\nSet to true when the button is in split mode and a menu with additional options\nis opened by the arrow button. Set back to false when the menu is closed.",
142
- "name": "active-arrow-button",
616
+ "name": "arrow-button-pressed",
143
617
  "default": "false",
144
- "fieldName": "activeArrowButton",
618
+ "fieldName": "arrowButtonPressed",
145
619
  "type": {
146
620
  "text": "boolean"
147
621
  }
@@ -184,7 +658,7 @@
184
658
  "declarations": [
185
659
  {
186
660
  "kind": "class",
187
- "description": "### Overview\n\n`ui5-ai-button-state` is the item to use for defining states of `ui5-ai-button` components.\n\n### Usage\n\n`ui5-si-button-state` is an abstract element, representing a state of `ui5-ai-button`. It is meant to be used in the `states` slot\nof `ui5-ai-button` and should be used as standalone component.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents/dist/AiButtonState.js\";`",
661
+ "description": "### Overview\n\n`ui5-ai-button-state` is the item to use for defining states of `ui5-ai-button` components.\n\n### Usage\n\n`ui5-ai-button-state` is an abstract element, representing a state of `ui5-ai-button`. It is meant to be used in the `default` slot\nof `ui5-ai-button` and should not be used as standalone component.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents/dist/AiButtonState.js\";`",
188
662
  "name": "ButtonState",
189
663
  "members": [
190
664
  {
@@ -229,7 +703,7 @@
229
703
  },
230
704
  {
231
705
  "kind": "field",
232
- "name": "splitMode",
706
+ "name": "showArrowButton",
233
707
  "type": {
234
708
  "text": "boolean"
235
709
  },
@@ -237,6 +711,468 @@
237
711
  "description": "Defines if the component is in split button mode.",
238
712
  "privacy": "public",
239
713
  "_ui5since": "2.6.0"
714
+ },
715
+ {
716
+ "kind": "method",
717
+ "name": "onBeforeRendering",
718
+ "return": {
719
+ "type": {
720
+ "text": "void"
721
+ }
722
+ },
723
+ "description": "Called every time before the component renders.",
724
+ "privacy": "public",
725
+ "inheritedFrom": {
726
+ "name": "UI5Element",
727
+ "package": "@ui5/webcomponents-base",
728
+ "module": "dist/UI5Element.js"
729
+ }
730
+ },
731
+ {
732
+ "kind": "method",
733
+ "name": "onAfterRendering",
734
+ "return": {
735
+ "type": {
736
+ "text": "void"
737
+ }
738
+ },
739
+ "description": "Called every time after the component renders.",
740
+ "privacy": "public",
741
+ "inheritedFrom": {
742
+ "name": "UI5Element",
743
+ "package": "@ui5/webcomponents-base",
744
+ "module": "dist/UI5Element.js"
745
+ }
746
+ },
747
+ {
748
+ "kind": "method",
749
+ "name": "onEnterDOM",
750
+ "return": {
751
+ "type": {
752
+ "text": "void"
753
+ }
754
+ },
755
+ "description": "Called on connectedCallback - added to the DOM.",
756
+ "privacy": "public",
757
+ "inheritedFrom": {
758
+ "name": "UI5Element",
759
+ "package": "@ui5/webcomponents-base",
760
+ "module": "dist/UI5Element.js"
761
+ }
762
+ },
763
+ {
764
+ "kind": "method",
765
+ "name": "onExitDOM",
766
+ "return": {
767
+ "type": {
768
+ "text": "void"
769
+ }
770
+ },
771
+ "description": "Called on disconnectedCallback - removed from the DOM.",
772
+ "privacy": "public",
773
+ "inheritedFrom": {
774
+ "name": "UI5Element",
775
+ "package": "@ui5/webcomponents-base",
776
+ "module": "dist/UI5Element.js"
777
+ }
778
+ },
779
+ {
780
+ "kind": "method",
781
+ "name": "attachInvalidate",
782
+ "return": {
783
+ "type": {
784
+ "text": "void"
785
+ }
786
+ },
787
+ "parameters": [
788
+ {
789
+ "name": "callback",
790
+ "type": {
791
+ "text": "(param: InvalidationInfo) => void"
792
+ },
793
+ "_ui5privacy": "public"
794
+ }
795
+ ],
796
+ "description": "Attach a callback that will be executed whenever the component is invalidated",
797
+ "privacy": "public",
798
+ "inheritedFrom": {
799
+ "name": "UI5Element",
800
+ "package": "@ui5/webcomponents-base",
801
+ "module": "dist/UI5Element.js"
802
+ }
803
+ },
804
+ {
805
+ "kind": "method",
806
+ "name": "detachInvalidate",
807
+ "return": {
808
+ "type": {
809
+ "text": "void"
810
+ }
811
+ },
812
+ "parameters": [
813
+ {
814
+ "name": "callback",
815
+ "type": {
816
+ "text": "(param: InvalidationInfo) => void"
817
+ },
818
+ "_ui5privacy": "public"
819
+ }
820
+ ],
821
+ "description": "Detach the callback that is executed whenever the component is invalidated",
822
+ "privacy": "public",
823
+ "inheritedFrom": {
824
+ "name": "UI5Element",
825
+ "package": "@ui5/webcomponents-base",
826
+ "module": "dist/UI5Element.js"
827
+ }
828
+ },
829
+ {
830
+ "kind": "method",
831
+ "name": "onInvalidation",
832
+ "return": {
833
+ "type": {
834
+ "text": "void"
835
+ }
836
+ },
837
+ "parameters": [
838
+ {
839
+ "name": "changeInfo",
840
+ "type": {
841
+ "text": "ChangeInfo",
842
+ "references": [
843
+ {
844
+ "name": "ChangeInfo",
845
+ "package": "@ui5/webcomponents-base",
846
+ "module": "dist/UI5Element.js"
847
+ }
848
+ ]
849
+ },
850
+ "description": "An object with information about the change that caused invalidation.\nThe object can have the following properties:\n- type: (property|slot) tells what caused the invalidation\n1) property: a property value was changed either directly or as a result of changing the corresponding attribute\n2) slot: a slotted node(nodes) changed in one of several ways (see \"reason\")\n\n- name: the name of the property or slot that caused the invalidation\n\n- reason: (children|textcontent|childchange|slotchange) relevant only for type=\"slot\" only and tells exactly what changed in the slot\n1) children: immediate children (HTML elements or text nodes) were added, removed or reordered in the slot\n2) textcontent: text nodes in the slot changed value (or nested text nodes were added or changed value). Can only trigger for slots of \"type: Node\"\n3) slotchange: a slot element, slotted inside that slot had its \"slotchange\" event listener called. This practically means that transitively slotted children changed.\nCan only trigger if the child of a slot is a slot element itself.\n4) childchange: indicates that a UI5Element child in that slot was invalidated and in turn invalidated the component.\nCan only trigger for slots with \"invalidateOnChildChange\" metadata descriptor\n\n- newValue: the new value of the property (for type=\"property\" only)\n\n- oldValue: the old value of the property (for type=\"property\" only)\n\n- child the child that was changed (for type=\"slot\" and reason=\"childchange\" only)",
851
+ "_ui5privacy": "public"
852
+ }
853
+ ],
854
+ "description": "A callback that is executed each time an already rendered component is invalidated (scheduled for re-rendering)",
855
+ "privacy": "public",
856
+ "inheritedFrom": {
857
+ "name": "UI5Element",
858
+ "package": "@ui5/webcomponents-base",
859
+ "module": "dist/UI5Element.js"
860
+ }
861
+ },
862
+ {
863
+ "kind": "method",
864
+ "name": "getDomRef",
865
+ "return": {
866
+ "type": {
867
+ "text": "HTMLElement | undefined"
868
+ }
869
+ },
870
+ "description": "Returns the DOM Element inside the Shadow Root that corresponds to the opening tag in the UI5 Web Component's template\n*Note:* For logical (abstract) elements (items, options, etc...), returns the part of the parent's DOM that represents this option\nUse this method instead of \"this.shadowRoot\" to read the Shadow DOM, if ever necessary",
871
+ "privacy": "public",
872
+ "inheritedFrom": {
873
+ "name": "UI5Element",
874
+ "package": "@ui5/webcomponents-base",
875
+ "module": "dist/UI5Element.js"
876
+ }
877
+ },
878
+ {
879
+ "kind": "method",
880
+ "name": "getFocusDomRef",
881
+ "return": {
882
+ "type": {
883
+ "text": "HTMLElement | undefined"
884
+ }
885
+ },
886
+ "description": "Returns the DOM Element marked with \"data-sap-focus-ref\" inside the template.\nThis is the element that will receive the focus by default.",
887
+ "privacy": "public",
888
+ "inheritedFrom": {
889
+ "name": "UI5Element",
890
+ "package": "@ui5/webcomponents-base",
891
+ "module": "dist/UI5Element.js"
892
+ }
893
+ },
894
+ {
895
+ "kind": "method",
896
+ "name": "getFocusDomRefAsync",
897
+ "return": {
898
+ "type": {
899
+ "text": "Promise<HTMLElement | undefined>"
900
+ }
901
+ },
902
+ "description": "Waits for dom ref and then returns the DOM Element marked with \"data-sap-focus-ref\" inside the template.\nThis is the element that will receive the focus by default.",
903
+ "privacy": "public",
904
+ "inheritedFrom": {
905
+ "name": "UI5Element",
906
+ "package": "@ui5/webcomponents-base",
907
+ "module": "dist/UI5Element.js"
908
+ }
909
+ },
910
+ {
911
+ "kind": "method",
912
+ "name": "focus",
913
+ "return": {
914
+ "type": {
915
+ "text": "Promise<void>"
916
+ }
917
+ },
918
+ "parameters": [
919
+ {
920
+ "name": "focusOptions",
921
+ "optional": true,
922
+ "type": {
923
+ "text": "FocusOptions"
924
+ },
925
+ "description": "additional options for the focus",
926
+ "_ui5privacy": "public"
927
+ }
928
+ ],
929
+ "description": "Set the focus to the element, returned by \"getFocusDomRef()\" (marked by \"data-sap-focus-ref\")",
930
+ "privacy": "public",
931
+ "inheritedFrom": {
932
+ "name": "UI5Element",
933
+ "package": "@ui5/webcomponents-base",
934
+ "module": "dist/UI5Element.js"
935
+ }
936
+ },
937
+ {
938
+ "kind": "method",
939
+ "name": "fireEvent",
940
+ "return": {
941
+ "type": {
942
+ "text": "boolean"
943
+ },
944
+ "description": "false, if the event was cancelled (preventDefault called), true otherwise"
945
+ },
946
+ "parameters": [
947
+ {
948
+ "name": "name",
949
+ "type": {
950
+ "text": "string"
951
+ },
952
+ "description": "name of the event",
953
+ "_ui5privacy": "public"
954
+ },
955
+ {
956
+ "name": "data",
957
+ "optional": true,
958
+ "type": {
959
+ "text": "T"
960
+ },
961
+ "description": "additional data for the event",
962
+ "_ui5privacy": "public"
963
+ },
964
+ {
965
+ "name": "cancelable",
966
+ "default": "false",
967
+ "description": "true, if the user can call preventDefault on the event object",
968
+ "_ui5privacy": "public"
969
+ },
970
+ {
971
+ "name": "bubbles",
972
+ "default": "true",
973
+ "description": "true, if the event bubbles",
974
+ "_ui5privacy": "public"
975
+ }
976
+ ],
977
+ "privacy": "public",
978
+ "deprecated": "use fireDecoratorEvent instead",
979
+ "inheritedFrom": {
980
+ "name": "UI5Element",
981
+ "package": "@ui5/webcomponents-base",
982
+ "module": "dist/UI5Element.js"
983
+ }
984
+ },
985
+ {
986
+ "kind": "method",
987
+ "name": "fireDecoratorEvent",
988
+ "return": {
989
+ "type": {
990
+ "text": "boolean"
991
+ },
992
+ "description": "false, if the event was cancelled (preventDefault called), true otherwise"
993
+ },
994
+ "parameters": [
995
+ {
996
+ "name": "name",
997
+ "type": {
998
+ "text": "N"
999
+ },
1000
+ "description": "name of the event",
1001
+ "_ui5privacy": "public"
1002
+ },
1003
+ {
1004
+ "name": "data",
1005
+ "optional": true,
1006
+ "type": {
1007
+ "text": "this[\"eventDetails\"][N] | undefined"
1008
+ },
1009
+ "description": "additional data for the event",
1010
+ "_ui5privacy": "public"
1011
+ }
1012
+ ],
1013
+ "description": "Fires a custom event, configured via the \"event\" decorator.",
1014
+ "privacy": "public",
1015
+ "inheritedFrom": {
1016
+ "name": "UI5Element",
1017
+ "package": "@ui5/webcomponents-base",
1018
+ "module": "dist/UI5Element.js"
1019
+ }
1020
+ },
1021
+ {
1022
+ "kind": "method",
1023
+ "name": "getSlottedNodes",
1024
+ "return": {
1025
+ "type": {
1026
+ "text": "Array<T>"
1027
+ }
1028
+ },
1029
+ "description": "Returns the actual children, associated with a slot.\nUseful when there are transitive slots in nested component scenarios and you don't want to get a list of the slots, but rather of their content.",
1030
+ "privacy": "public",
1031
+ "inheritedFrom": {
1032
+ "name": "UI5Element",
1033
+ "package": "@ui5/webcomponents-base",
1034
+ "module": "dist/UI5Element.js"
1035
+ }
1036
+ },
1037
+ {
1038
+ "kind": "method",
1039
+ "name": "attachComponentStateFinalized",
1040
+ "return": {
1041
+ "type": {
1042
+ "text": "void"
1043
+ }
1044
+ },
1045
+ "parameters": [
1046
+ {
1047
+ "name": "callback",
1048
+ "type": {
1049
+ "text": "() => void"
1050
+ },
1051
+ "_ui5privacy": "public"
1052
+ }
1053
+ ],
1054
+ "description": "Attach a callback that will be executed whenever the component's state is finalized",
1055
+ "privacy": "public",
1056
+ "inheritedFrom": {
1057
+ "name": "UI5Element",
1058
+ "package": "@ui5/webcomponents-base",
1059
+ "module": "dist/UI5Element.js"
1060
+ }
1061
+ },
1062
+ {
1063
+ "kind": "method",
1064
+ "name": "detachComponentStateFinalized",
1065
+ "return": {
1066
+ "type": {
1067
+ "text": "void"
1068
+ }
1069
+ },
1070
+ "parameters": [
1071
+ {
1072
+ "name": "callback",
1073
+ "type": {
1074
+ "text": "() => void"
1075
+ },
1076
+ "_ui5privacy": "public"
1077
+ }
1078
+ ],
1079
+ "description": "Detach the callback that is executed whenever the component's state is finalized",
1080
+ "privacy": "public",
1081
+ "inheritedFrom": {
1082
+ "name": "UI5Element",
1083
+ "package": "@ui5/webcomponents-base",
1084
+ "module": "dist/UI5Element.js"
1085
+ }
1086
+ },
1087
+ {
1088
+ "kind": "field",
1089
+ "name": "effectiveDir",
1090
+ "type": {
1091
+ "text": "string | undefined"
1092
+ },
1093
+ "description": "Determines whether the component should be rendered in RTL mode or not.\nReturns: \"rtl\", \"ltr\" or undefined",
1094
+ "privacy": "public",
1095
+ "default": "undefined",
1096
+ "readonly": true,
1097
+ "inheritedFrom": {
1098
+ "name": "UI5Element",
1099
+ "package": "@ui5/webcomponents-base",
1100
+ "module": "dist/UI5Element.js"
1101
+ }
1102
+ },
1103
+ {
1104
+ "kind": "field",
1105
+ "name": "isUI5Element",
1106
+ "type": {
1107
+ "text": "boolean"
1108
+ },
1109
+ "description": "Used to duck-type UI5 elements without using instanceof",
1110
+ "privacy": "public",
1111
+ "default": "true",
1112
+ "readonly": true,
1113
+ "inheritedFrom": {
1114
+ "name": "UI5Element",
1115
+ "package": "@ui5/webcomponents-base",
1116
+ "module": "dist/UI5Element.js"
1117
+ }
1118
+ },
1119
+ {
1120
+ "kind": "method",
1121
+ "name": "getUniqueDependencies",
1122
+ "static": true,
1123
+ "return": {
1124
+ "type": {
1125
+ "text": "Array<typeof UI5Element>"
1126
+ }
1127
+ },
1128
+ "description": "Returns a list of the unique dependencies for this UI5 Web Component",
1129
+ "privacy": "public",
1130
+ "inheritedFrom": {
1131
+ "name": "UI5Element",
1132
+ "package": "@ui5/webcomponents-base",
1133
+ "module": "dist/UI5Element.js"
1134
+ }
1135
+ },
1136
+ {
1137
+ "kind": "method",
1138
+ "name": "define",
1139
+ "static": true,
1140
+ "return": {
1141
+ "type": {
1142
+ "text": "typeof UI5Element"
1143
+ }
1144
+ },
1145
+ "description": "Registers a UI5 Web Component in the browser window object",
1146
+ "privacy": "public",
1147
+ "inheritedFrom": {
1148
+ "name": "UI5Element",
1149
+ "package": "@ui5/webcomponents-base",
1150
+ "module": "dist/UI5Element.js"
1151
+ }
1152
+ },
1153
+ {
1154
+ "kind": "method",
1155
+ "name": "getMetadata",
1156
+ "static": true,
1157
+ "return": {
1158
+ "type": {
1159
+ "text": "UI5ElementMetadata",
1160
+ "references": [
1161
+ {
1162
+ "name": "UI5ElementMetadata",
1163
+ "package": "@ui5/webcomponents-base",
1164
+ "module": "dist/UI5ElementMetadata.js"
1165
+ }
1166
+ ]
1167
+ }
1168
+ },
1169
+ "description": "Returns an instance of UI5ElementMetadata.js representing this UI5 Web Component's full metadata (its and its parents')\nNote: not to be confused with the \"get metadata()\" method, which returns an object for this class's metadata only",
1170
+ "privacy": "public",
1171
+ "inheritedFrom": {
1172
+ "name": "UI5Element",
1173
+ "package": "@ui5/webcomponents-base",
1174
+ "module": "dist/UI5Element.js"
1175
+ }
240
1176
  }
241
1177
  ],
242
1178
  "attributes": [
@@ -278,9 +1214,9 @@
278
1214
  },
279
1215
  {
280
1216
  "description": "Defines if the component is in split button mode.",
281
- "name": "split-mode",
1217
+ "name": "show-arrow-button",
282
1218
  "default": "false",
283
- "fieldName": "splitMode",
1219
+ "fieldName": "showArrowButton",
284
1220
  "type": {
285
1221
  "text": "boolean"
286
1222
  }
@@ -293,7 +1229,7 @@
293
1229
  },
294
1230
  "tagName": "ui5-ai-button-state",
295
1231
  "customElement": true,
296
- "_ui5experimental": "The Button and ButtonState web components are availabe since 2.0 under an experimental flag and their API and behaviour are subject to change.",
1232
+ "_ui5experimental": "The Button and ButtonState web components are available since 2.0 under an experimental flag and their API and behaviour are subject to change.",
297
1233
  "_ui5since": "2.0.0",
298
1234
  "_ui5privacy": "public",
299
1235
  "_ui5abstract": true
@@ -324,12 +1260,12 @@
324
1260
  "declarations": [
325
1261
  {
326
1262
  "kind": "class",
327
- "description": "### Overview\n\nThe `ui5-ai-prompt-input` component allows the user to write custom instructions in natural language, so that AI is guided to generate content tailored to user needs.\n\n**Note:** The web component is in an experimental state\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents-ai/dist/PromptInput.js",
1263
+ "description": "### Overview\n\nThe `ui5-ai-prompt-input` component allows the user to write custom instructions in natural language, so that AI is guided to generate content tailored to user needs.\n\n**Note:** The web component is in an experimental state\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents-ai/dist/PromptInput.js\"`",
328
1264
  "name": "PromptInput",
329
1265
  "slots": [
330
1266
  {
331
1267
  "name": "default",
332
- "description": "Defines the suggestion items.\n\n**Note:** The suggestions would be displayed only if the `showSuggestions`\nproperty is set to `true`.\n\n**Note:** The `<ui5-suggestion-item>`, `<ui5-suggestion-item-group>` and `ui5-suggestion-item-custom` are recommended to be used as suggestion items.\n\n**Note:** Importing the Input Suggestions Support feature:\n\n`import \"@ui5/webcomponents/dist/features/InputSuggestions.js\";`\n\nautomatically imports the `<ui5-suggestion-item>` and `<ui5-suggestion-item-group>` for your convenience.",
1268
+ "description": "Defines the suggestion items.\n\n**Note:** The suggestions would be displayed only if the `showSuggestions`\nproperty is set to `true`.\n\n**Note:** The `<ui5-suggestion-item>`, `<ui5-suggestion-item-group>` and `ui5-suggestion-item-custom` are recommended to be used as suggestion items.",
333
1269
  "_ui5propertyName": "suggestionItems",
334
1270
  "_ui5type": {
335
1271
  "text": "Array<IInputSuggestionItem>",
@@ -467,8 +1403,470 @@
467
1403
  "text": "boolean"
468
1404
  },
469
1405
  "default": "false",
470
- "description": "Defines whether the component should show suggestions, if such are present.\n\n**Note:** You need to import the `InputSuggestions` module\nfrom `\"@ui5/webcomponents/dist/features/InputSuggestions.js\"` to enable this functionality.",
1406
+ "description": "Defines whether the component should show suggestions, if such are present.",
471
1407
  "privacy": "public"
1408
+ },
1409
+ {
1410
+ "kind": "method",
1411
+ "name": "onBeforeRendering",
1412
+ "return": {
1413
+ "type": {
1414
+ "text": "void"
1415
+ }
1416
+ },
1417
+ "description": "Called every time before the component renders.",
1418
+ "privacy": "public",
1419
+ "inheritedFrom": {
1420
+ "name": "UI5Element",
1421
+ "package": "@ui5/webcomponents-base",
1422
+ "module": "dist/UI5Element.js"
1423
+ }
1424
+ },
1425
+ {
1426
+ "kind": "method",
1427
+ "name": "onAfterRendering",
1428
+ "return": {
1429
+ "type": {
1430
+ "text": "void"
1431
+ }
1432
+ },
1433
+ "description": "Called every time after the component renders.",
1434
+ "privacy": "public",
1435
+ "inheritedFrom": {
1436
+ "name": "UI5Element",
1437
+ "package": "@ui5/webcomponents-base",
1438
+ "module": "dist/UI5Element.js"
1439
+ }
1440
+ },
1441
+ {
1442
+ "kind": "method",
1443
+ "name": "onEnterDOM",
1444
+ "return": {
1445
+ "type": {
1446
+ "text": "void"
1447
+ }
1448
+ },
1449
+ "description": "Called on connectedCallback - added to the DOM.",
1450
+ "privacy": "public",
1451
+ "inheritedFrom": {
1452
+ "name": "UI5Element",
1453
+ "package": "@ui5/webcomponents-base",
1454
+ "module": "dist/UI5Element.js"
1455
+ }
1456
+ },
1457
+ {
1458
+ "kind": "method",
1459
+ "name": "onExitDOM",
1460
+ "return": {
1461
+ "type": {
1462
+ "text": "void"
1463
+ }
1464
+ },
1465
+ "description": "Called on disconnectedCallback - removed from the DOM.",
1466
+ "privacy": "public",
1467
+ "inheritedFrom": {
1468
+ "name": "UI5Element",
1469
+ "package": "@ui5/webcomponents-base",
1470
+ "module": "dist/UI5Element.js"
1471
+ }
1472
+ },
1473
+ {
1474
+ "kind": "method",
1475
+ "name": "attachInvalidate",
1476
+ "return": {
1477
+ "type": {
1478
+ "text": "void"
1479
+ }
1480
+ },
1481
+ "parameters": [
1482
+ {
1483
+ "name": "callback",
1484
+ "type": {
1485
+ "text": "(param: InvalidationInfo) => void"
1486
+ },
1487
+ "_ui5privacy": "public"
1488
+ }
1489
+ ],
1490
+ "description": "Attach a callback that will be executed whenever the component is invalidated",
1491
+ "privacy": "public",
1492
+ "inheritedFrom": {
1493
+ "name": "UI5Element",
1494
+ "package": "@ui5/webcomponents-base",
1495
+ "module": "dist/UI5Element.js"
1496
+ }
1497
+ },
1498
+ {
1499
+ "kind": "method",
1500
+ "name": "detachInvalidate",
1501
+ "return": {
1502
+ "type": {
1503
+ "text": "void"
1504
+ }
1505
+ },
1506
+ "parameters": [
1507
+ {
1508
+ "name": "callback",
1509
+ "type": {
1510
+ "text": "(param: InvalidationInfo) => void"
1511
+ },
1512
+ "_ui5privacy": "public"
1513
+ }
1514
+ ],
1515
+ "description": "Detach the callback that is executed whenever the component is invalidated",
1516
+ "privacy": "public",
1517
+ "inheritedFrom": {
1518
+ "name": "UI5Element",
1519
+ "package": "@ui5/webcomponents-base",
1520
+ "module": "dist/UI5Element.js"
1521
+ }
1522
+ },
1523
+ {
1524
+ "kind": "method",
1525
+ "name": "onInvalidation",
1526
+ "return": {
1527
+ "type": {
1528
+ "text": "void"
1529
+ }
1530
+ },
1531
+ "parameters": [
1532
+ {
1533
+ "name": "changeInfo",
1534
+ "type": {
1535
+ "text": "ChangeInfo",
1536
+ "references": [
1537
+ {
1538
+ "name": "ChangeInfo",
1539
+ "package": "@ui5/webcomponents-base",
1540
+ "module": "dist/UI5Element.js"
1541
+ }
1542
+ ]
1543
+ },
1544
+ "description": "An object with information about the change that caused invalidation.\nThe object can have the following properties:\n- type: (property|slot) tells what caused the invalidation\n1) property: a property value was changed either directly or as a result of changing the corresponding attribute\n2) slot: a slotted node(nodes) changed in one of several ways (see \"reason\")\n\n- name: the name of the property or slot that caused the invalidation\n\n- reason: (children|textcontent|childchange|slotchange) relevant only for type=\"slot\" only and tells exactly what changed in the slot\n1) children: immediate children (HTML elements or text nodes) were added, removed or reordered in the slot\n2) textcontent: text nodes in the slot changed value (or nested text nodes were added or changed value). Can only trigger for slots of \"type: Node\"\n3) slotchange: a slot element, slotted inside that slot had its \"slotchange\" event listener called. This practically means that transitively slotted children changed.\nCan only trigger if the child of a slot is a slot element itself.\n4) childchange: indicates that a UI5Element child in that slot was invalidated and in turn invalidated the component.\nCan only trigger for slots with \"invalidateOnChildChange\" metadata descriptor\n\n- newValue: the new value of the property (for type=\"property\" only)\n\n- oldValue: the old value of the property (for type=\"property\" only)\n\n- child the child that was changed (for type=\"slot\" and reason=\"childchange\" only)",
1545
+ "_ui5privacy": "public"
1546
+ }
1547
+ ],
1548
+ "description": "A callback that is executed each time an already rendered component is invalidated (scheduled for re-rendering)",
1549
+ "privacy": "public",
1550
+ "inheritedFrom": {
1551
+ "name": "UI5Element",
1552
+ "package": "@ui5/webcomponents-base",
1553
+ "module": "dist/UI5Element.js"
1554
+ }
1555
+ },
1556
+ {
1557
+ "kind": "method",
1558
+ "name": "getDomRef",
1559
+ "return": {
1560
+ "type": {
1561
+ "text": "HTMLElement | undefined"
1562
+ }
1563
+ },
1564
+ "description": "Returns the DOM Element inside the Shadow Root that corresponds to the opening tag in the UI5 Web Component's template\n*Note:* For logical (abstract) elements (items, options, etc...), returns the part of the parent's DOM that represents this option\nUse this method instead of \"this.shadowRoot\" to read the Shadow DOM, if ever necessary",
1565
+ "privacy": "public",
1566
+ "inheritedFrom": {
1567
+ "name": "UI5Element",
1568
+ "package": "@ui5/webcomponents-base",
1569
+ "module": "dist/UI5Element.js"
1570
+ }
1571
+ },
1572
+ {
1573
+ "kind": "method",
1574
+ "name": "getFocusDomRef",
1575
+ "return": {
1576
+ "type": {
1577
+ "text": "HTMLElement | undefined"
1578
+ }
1579
+ },
1580
+ "description": "Returns the DOM Element marked with \"data-sap-focus-ref\" inside the template.\nThis is the element that will receive the focus by default.",
1581
+ "privacy": "public",
1582
+ "inheritedFrom": {
1583
+ "name": "UI5Element",
1584
+ "package": "@ui5/webcomponents-base",
1585
+ "module": "dist/UI5Element.js"
1586
+ }
1587
+ },
1588
+ {
1589
+ "kind": "method",
1590
+ "name": "getFocusDomRefAsync",
1591
+ "return": {
1592
+ "type": {
1593
+ "text": "Promise<HTMLElement | undefined>"
1594
+ }
1595
+ },
1596
+ "description": "Waits for dom ref and then returns the DOM Element marked with \"data-sap-focus-ref\" inside the template.\nThis is the element that will receive the focus by default.",
1597
+ "privacy": "public",
1598
+ "inheritedFrom": {
1599
+ "name": "UI5Element",
1600
+ "package": "@ui5/webcomponents-base",
1601
+ "module": "dist/UI5Element.js"
1602
+ }
1603
+ },
1604
+ {
1605
+ "kind": "method",
1606
+ "name": "focus",
1607
+ "return": {
1608
+ "type": {
1609
+ "text": "Promise<void>"
1610
+ }
1611
+ },
1612
+ "parameters": [
1613
+ {
1614
+ "name": "focusOptions",
1615
+ "optional": true,
1616
+ "type": {
1617
+ "text": "FocusOptions"
1618
+ },
1619
+ "description": "additional options for the focus",
1620
+ "_ui5privacy": "public"
1621
+ }
1622
+ ],
1623
+ "description": "Set the focus to the element, returned by \"getFocusDomRef()\" (marked by \"data-sap-focus-ref\")",
1624
+ "privacy": "public",
1625
+ "inheritedFrom": {
1626
+ "name": "UI5Element",
1627
+ "package": "@ui5/webcomponents-base",
1628
+ "module": "dist/UI5Element.js"
1629
+ }
1630
+ },
1631
+ {
1632
+ "kind": "method",
1633
+ "name": "fireEvent",
1634
+ "return": {
1635
+ "type": {
1636
+ "text": "boolean"
1637
+ },
1638
+ "description": "false, if the event was cancelled (preventDefault called), true otherwise"
1639
+ },
1640
+ "parameters": [
1641
+ {
1642
+ "name": "name",
1643
+ "type": {
1644
+ "text": "string"
1645
+ },
1646
+ "description": "name of the event",
1647
+ "_ui5privacy": "public"
1648
+ },
1649
+ {
1650
+ "name": "data",
1651
+ "optional": true,
1652
+ "type": {
1653
+ "text": "T"
1654
+ },
1655
+ "description": "additional data for the event",
1656
+ "_ui5privacy": "public"
1657
+ },
1658
+ {
1659
+ "name": "cancelable",
1660
+ "default": "false",
1661
+ "description": "true, if the user can call preventDefault on the event object",
1662
+ "_ui5privacy": "public"
1663
+ },
1664
+ {
1665
+ "name": "bubbles",
1666
+ "default": "true",
1667
+ "description": "true, if the event bubbles",
1668
+ "_ui5privacy": "public"
1669
+ }
1670
+ ],
1671
+ "privacy": "public",
1672
+ "deprecated": "use fireDecoratorEvent instead",
1673
+ "inheritedFrom": {
1674
+ "name": "UI5Element",
1675
+ "package": "@ui5/webcomponents-base",
1676
+ "module": "dist/UI5Element.js"
1677
+ }
1678
+ },
1679
+ {
1680
+ "kind": "method",
1681
+ "name": "fireDecoratorEvent",
1682
+ "return": {
1683
+ "type": {
1684
+ "text": "boolean"
1685
+ },
1686
+ "description": "false, if the event was cancelled (preventDefault called), true otherwise"
1687
+ },
1688
+ "parameters": [
1689
+ {
1690
+ "name": "name",
1691
+ "type": {
1692
+ "text": "N"
1693
+ },
1694
+ "description": "name of the event",
1695
+ "_ui5privacy": "public"
1696
+ },
1697
+ {
1698
+ "name": "data",
1699
+ "optional": true,
1700
+ "type": {
1701
+ "text": "this[\"eventDetails\"][N] | undefined"
1702
+ },
1703
+ "description": "additional data for the event",
1704
+ "_ui5privacy": "public"
1705
+ }
1706
+ ],
1707
+ "description": "Fires a custom event, configured via the \"event\" decorator.",
1708
+ "privacy": "public",
1709
+ "inheritedFrom": {
1710
+ "name": "UI5Element",
1711
+ "package": "@ui5/webcomponents-base",
1712
+ "module": "dist/UI5Element.js"
1713
+ }
1714
+ },
1715
+ {
1716
+ "kind": "method",
1717
+ "name": "getSlottedNodes",
1718
+ "return": {
1719
+ "type": {
1720
+ "text": "Array<T>"
1721
+ }
1722
+ },
1723
+ "description": "Returns the actual children, associated with a slot.\nUseful when there are transitive slots in nested component scenarios and you don't want to get a list of the slots, but rather of their content.",
1724
+ "privacy": "public",
1725
+ "inheritedFrom": {
1726
+ "name": "UI5Element",
1727
+ "package": "@ui5/webcomponents-base",
1728
+ "module": "dist/UI5Element.js"
1729
+ }
1730
+ },
1731
+ {
1732
+ "kind": "method",
1733
+ "name": "attachComponentStateFinalized",
1734
+ "return": {
1735
+ "type": {
1736
+ "text": "void"
1737
+ }
1738
+ },
1739
+ "parameters": [
1740
+ {
1741
+ "name": "callback",
1742
+ "type": {
1743
+ "text": "() => void"
1744
+ },
1745
+ "_ui5privacy": "public"
1746
+ }
1747
+ ],
1748
+ "description": "Attach a callback that will be executed whenever the component's state is finalized",
1749
+ "privacy": "public",
1750
+ "inheritedFrom": {
1751
+ "name": "UI5Element",
1752
+ "package": "@ui5/webcomponents-base",
1753
+ "module": "dist/UI5Element.js"
1754
+ }
1755
+ },
1756
+ {
1757
+ "kind": "method",
1758
+ "name": "detachComponentStateFinalized",
1759
+ "return": {
1760
+ "type": {
1761
+ "text": "void"
1762
+ }
1763
+ },
1764
+ "parameters": [
1765
+ {
1766
+ "name": "callback",
1767
+ "type": {
1768
+ "text": "() => void"
1769
+ },
1770
+ "_ui5privacy": "public"
1771
+ }
1772
+ ],
1773
+ "description": "Detach the callback that is executed whenever the component's state is finalized",
1774
+ "privacy": "public",
1775
+ "inheritedFrom": {
1776
+ "name": "UI5Element",
1777
+ "package": "@ui5/webcomponents-base",
1778
+ "module": "dist/UI5Element.js"
1779
+ }
1780
+ },
1781
+ {
1782
+ "kind": "field",
1783
+ "name": "effectiveDir",
1784
+ "type": {
1785
+ "text": "string | undefined"
1786
+ },
1787
+ "description": "Determines whether the component should be rendered in RTL mode or not.\nReturns: \"rtl\", \"ltr\" or undefined",
1788
+ "privacy": "public",
1789
+ "default": "undefined",
1790
+ "readonly": true,
1791
+ "inheritedFrom": {
1792
+ "name": "UI5Element",
1793
+ "package": "@ui5/webcomponents-base",
1794
+ "module": "dist/UI5Element.js"
1795
+ }
1796
+ },
1797
+ {
1798
+ "kind": "field",
1799
+ "name": "isUI5Element",
1800
+ "type": {
1801
+ "text": "boolean"
1802
+ },
1803
+ "description": "Used to duck-type UI5 elements without using instanceof",
1804
+ "privacy": "public",
1805
+ "default": "true",
1806
+ "readonly": true,
1807
+ "inheritedFrom": {
1808
+ "name": "UI5Element",
1809
+ "package": "@ui5/webcomponents-base",
1810
+ "module": "dist/UI5Element.js"
1811
+ }
1812
+ },
1813
+ {
1814
+ "kind": "method",
1815
+ "name": "getUniqueDependencies",
1816
+ "static": true,
1817
+ "return": {
1818
+ "type": {
1819
+ "text": "Array<typeof UI5Element>"
1820
+ }
1821
+ },
1822
+ "description": "Returns a list of the unique dependencies for this UI5 Web Component",
1823
+ "privacy": "public",
1824
+ "inheritedFrom": {
1825
+ "name": "UI5Element",
1826
+ "package": "@ui5/webcomponents-base",
1827
+ "module": "dist/UI5Element.js"
1828
+ }
1829
+ },
1830
+ {
1831
+ "kind": "method",
1832
+ "name": "define",
1833
+ "static": true,
1834
+ "return": {
1835
+ "type": {
1836
+ "text": "typeof UI5Element"
1837
+ }
1838
+ },
1839
+ "description": "Registers a UI5 Web Component in the browser window object",
1840
+ "privacy": "public",
1841
+ "inheritedFrom": {
1842
+ "name": "UI5Element",
1843
+ "package": "@ui5/webcomponents-base",
1844
+ "module": "dist/UI5Element.js"
1845
+ }
1846
+ },
1847
+ {
1848
+ "kind": "method",
1849
+ "name": "getMetadata",
1850
+ "static": true,
1851
+ "return": {
1852
+ "type": {
1853
+ "text": "UI5ElementMetadata",
1854
+ "references": [
1855
+ {
1856
+ "name": "UI5ElementMetadata",
1857
+ "package": "@ui5/webcomponents-base",
1858
+ "module": "dist/UI5ElementMetadata.js"
1859
+ }
1860
+ ]
1861
+ }
1862
+ },
1863
+ "description": "Returns an instance of UI5ElementMetadata.js representing this UI5 Web Component's full metadata (its and its parents')\nNote: not to be confused with the \"get metadata()\" method, which returns an object for this class's metadata only",
1864
+ "privacy": "public",
1865
+ "inheritedFrom": {
1866
+ "name": "UI5Element",
1867
+ "package": "@ui5/webcomponents-base",
1868
+ "module": "dist/UI5Element.js"
1869
+ }
472
1870
  }
473
1871
  ],
474
1872
  "events": [
@@ -592,7 +1990,7 @@
592
1990
  }
593
1991
  },
594
1992
  {
595
- "description": "Defines whether the component should show suggestions, if such are present.\n\n**Note:** You need to import the `InputSuggestions` module\nfrom `\"@ui5/webcomponents/dist/features/InputSuggestions.js\"` to enable this functionality.",
1993
+ "description": "Defines whether the component should show suggestions, if such are present.",
596
1994
  "name": "show-suggestions",
597
1995
  "default": "false",
598
1996
  "fieldName": "showSuggestions",