@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",
@@ -62,13 +74,463 @@
62
74
  },
63
75
  {
64
76
  "kind": "field",
65
- "name": "activeArrowButton",
77
+ "name": "arrowButtonPressed",
66
78
  "type": {
67
79
  "text": "boolean"
68
80
  },
69
81
  "default": "false",
70
82
  "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.",
71
83
  "privacy": "public"
84
+ },
85
+ {
86
+ "kind": "method",
87
+ "name": "onBeforeRendering",
88
+ "return": {
89
+ "type": {
90
+ "text": "void"
91
+ }
92
+ },
93
+ "description": "Called every time before the component renders.",
94
+ "privacy": "public",
95
+ "inheritedFrom": {
96
+ "name": "UI5Element",
97
+ "package": "@ui5/webcomponents-base",
98
+ "module": "dist/UI5Element.js"
99
+ }
100
+ },
101
+ {
102
+ "kind": "method",
103
+ "name": "onAfterRendering",
104
+ "return": {
105
+ "type": {
106
+ "text": "void"
107
+ }
108
+ },
109
+ "description": "Called every time after the component renders.",
110
+ "privacy": "public",
111
+ "inheritedFrom": {
112
+ "name": "UI5Element",
113
+ "package": "@ui5/webcomponents-base",
114
+ "module": "dist/UI5Element.js"
115
+ }
116
+ },
117
+ {
118
+ "kind": "method",
119
+ "name": "onEnterDOM",
120
+ "return": {
121
+ "type": {
122
+ "text": "void"
123
+ }
124
+ },
125
+ "description": "Called on connectedCallback - added to the DOM.",
126
+ "privacy": "public",
127
+ "inheritedFrom": {
128
+ "name": "UI5Element",
129
+ "package": "@ui5/webcomponents-base",
130
+ "module": "dist/UI5Element.js"
131
+ }
132
+ },
133
+ {
134
+ "kind": "method",
135
+ "name": "onExitDOM",
136
+ "return": {
137
+ "type": {
138
+ "text": "void"
139
+ }
140
+ },
141
+ "description": "Called on disconnectedCallback - removed from the DOM.",
142
+ "privacy": "public",
143
+ "inheritedFrom": {
144
+ "name": "UI5Element",
145
+ "package": "@ui5/webcomponents-base",
146
+ "module": "dist/UI5Element.js"
147
+ }
148
+ },
149
+ {
150
+ "kind": "method",
151
+ "name": "attachInvalidate",
152
+ "return": {
153
+ "type": {
154
+ "text": "void"
155
+ }
156
+ },
157
+ "parameters": [
158
+ {
159
+ "name": "callback",
160
+ "type": {
161
+ "text": "(param: InvalidationInfo) => void"
162
+ }
163
+ }
164
+ ],
165
+ "description": "Attach a callback that will be executed whenever the component is invalidated",
166
+ "privacy": "public",
167
+ "inheritedFrom": {
168
+ "name": "UI5Element",
169
+ "package": "@ui5/webcomponents-base",
170
+ "module": "dist/UI5Element.js"
171
+ }
172
+ },
173
+ {
174
+ "kind": "method",
175
+ "name": "detachInvalidate",
176
+ "return": {
177
+ "type": {
178
+ "text": "void"
179
+ }
180
+ },
181
+ "parameters": [
182
+ {
183
+ "name": "callback",
184
+ "type": {
185
+ "text": "(param: InvalidationInfo) => void"
186
+ }
187
+ }
188
+ ],
189
+ "description": "Detach the callback that is executed whenever the component is invalidated",
190
+ "privacy": "public",
191
+ "inheritedFrom": {
192
+ "name": "UI5Element",
193
+ "package": "@ui5/webcomponents-base",
194
+ "module": "dist/UI5Element.js"
195
+ }
196
+ },
197
+ {
198
+ "kind": "method",
199
+ "name": "onInvalidation",
200
+ "return": {
201
+ "type": {
202
+ "text": "void"
203
+ }
204
+ },
205
+ "parameters": [
206
+ {
207
+ "name": "changeInfo",
208
+ "type": {
209
+ "text": "ChangeInfo",
210
+ "references": [
211
+ {
212
+ "name": "ChangeInfo",
213
+ "package": "@ui5/webcomponents-base",
214
+ "module": "dist/UI5Element.js"
215
+ }
216
+ ]
217
+ },
218
+ "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)"
219
+ }
220
+ ],
221
+ "description": "A callback that is executed each time an already rendered component is invalidated (scheduled for re-rendering)",
222
+ "privacy": "public",
223
+ "inheritedFrom": {
224
+ "name": "UI5Element",
225
+ "package": "@ui5/webcomponents-base",
226
+ "module": "dist/UI5Element.js"
227
+ }
228
+ },
229
+ {
230
+ "kind": "method",
231
+ "name": "getDomRef",
232
+ "return": {
233
+ "type": {
234
+ "text": "HTMLElement | undefined"
235
+ }
236
+ },
237
+ "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",
238
+ "privacy": "public",
239
+ "inheritedFrom": {
240
+ "name": "UI5Element",
241
+ "package": "@ui5/webcomponents-base",
242
+ "module": "dist/UI5Element.js"
243
+ }
244
+ },
245
+ {
246
+ "kind": "method",
247
+ "name": "getFocusDomRef",
248
+ "return": {
249
+ "type": {
250
+ "text": "HTMLElement | undefined"
251
+ }
252
+ },
253
+ "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.",
254
+ "privacy": "public",
255
+ "inheritedFrom": {
256
+ "name": "UI5Element",
257
+ "package": "@ui5/webcomponents-base",
258
+ "module": "dist/UI5Element.js"
259
+ }
260
+ },
261
+ {
262
+ "kind": "method",
263
+ "name": "getFocusDomRefAsync",
264
+ "return": {
265
+ "type": {
266
+ "text": "Promise<HTMLElement | undefined>"
267
+ }
268
+ },
269
+ "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.",
270
+ "privacy": "public",
271
+ "inheritedFrom": {
272
+ "name": "UI5Element",
273
+ "package": "@ui5/webcomponents-base",
274
+ "module": "dist/UI5Element.js"
275
+ }
276
+ },
277
+ {
278
+ "kind": "method",
279
+ "name": "focus",
280
+ "return": {
281
+ "type": {
282
+ "text": "Promise<void>"
283
+ }
284
+ },
285
+ "parameters": [
286
+ {
287
+ "name": "focusOptions",
288
+ "optional": true,
289
+ "type": {
290
+ "text": "FocusOptions"
291
+ },
292
+ "description": "additional options for the focus"
293
+ }
294
+ ],
295
+ "description": "Set the focus to the element, returned by \"getFocusDomRef()\" (marked by \"data-sap-focus-ref\")",
296
+ "privacy": "public",
297
+ "inheritedFrom": {
298
+ "name": "UI5Element",
299
+ "package": "@ui5/webcomponents-base",
300
+ "module": "dist/UI5Element.js"
301
+ }
302
+ },
303
+ {
304
+ "kind": "method",
305
+ "name": "fireEvent",
306
+ "return": {
307
+ "type": {
308
+ "text": "boolean"
309
+ },
310
+ "description": "false, if the event was cancelled (preventDefault called), true otherwise"
311
+ },
312
+ "parameters": [
313
+ {
314
+ "name": "name",
315
+ "type": {
316
+ "text": "string"
317
+ },
318
+ "description": "name of the event"
319
+ },
320
+ {
321
+ "name": "data",
322
+ "optional": true,
323
+ "type": {
324
+ "text": "T"
325
+ },
326
+ "description": "additional data for the event"
327
+ },
328
+ {
329
+ "name": "cancelable",
330
+ "default": "false",
331
+ "description": "true, if the user can call preventDefault on the event object"
332
+ },
333
+ {
334
+ "name": "bubbles",
335
+ "default": "true",
336
+ "description": "true, if the event bubbles"
337
+ }
338
+ ],
339
+ "privacy": "public",
340
+ "deprecated": "use fireDecoratorEvent instead",
341
+ "inheritedFrom": {
342
+ "name": "UI5Element",
343
+ "package": "@ui5/webcomponents-base",
344
+ "module": "dist/UI5Element.js"
345
+ }
346
+ },
347
+ {
348
+ "kind": "method",
349
+ "name": "fireDecoratorEvent",
350
+ "return": {
351
+ "type": {
352
+ "text": "boolean"
353
+ },
354
+ "description": "false, if the event was cancelled (preventDefault called), true otherwise"
355
+ },
356
+ "parameters": [
357
+ {
358
+ "name": "name",
359
+ "type": {
360
+ "text": "N"
361
+ },
362
+ "description": "name of the event"
363
+ },
364
+ {
365
+ "name": "data",
366
+ "optional": true,
367
+ "type": {
368
+ "text": "this[\"eventDetails\"][N] | undefined"
369
+ },
370
+ "description": "additional data for the event"
371
+ }
372
+ ],
373
+ "description": "Fires a custom event, configured via the \"event\" decorator.",
374
+ "privacy": "public",
375
+ "inheritedFrom": {
376
+ "name": "UI5Element",
377
+ "package": "@ui5/webcomponents-base",
378
+ "module": "dist/UI5Element.js"
379
+ }
380
+ },
381
+ {
382
+ "kind": "method",
383
+ "name": "getSlottedNodes",
384
+ "return": {
385
+ "type": {
386
+ "text": "Array<T>"
387
+ }
388
+ },
389
+ "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.",
390
+ "privacy": "public",
391
+ "inheritedFrom": {
392
+ "name": "UI5Element",
393
+ "package": "@ui5/webcomponents-base",
394
+ "module": "dist/UI5Element.js"
395
+ }
396
+ },
397
+ {
398
+ "kind": "method",
399
+ "name": "attachComponentStateFinalized",
400
+ "return": {
401
+ "type": {
402
+ "text": "void"
403
+ }
404
+ },
405
+ "parameters": [
406
+ {
407
+ "name": "callback",
408
+ "type": {
409
+ "text": "() => void"
410
+ }
411
+ }
412
+ ],
413
+ "description": "Attach a callback that will be executed whenever the component's state is finalized",
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": "detachComponentStateFinalized",
424
+ "return": {
425
+ "type": {
426
+ "text": "void"
427
+ }
428
+ },
429
+ "parameters": [
430
+ {
431
+ "name": "callback",
432
+ "type": {
433
+ "text": "() => void"
434
+ }
435
+ }
436
+ ],
437
+ "description": "Detach the callback that is executed whenever the component's state is finalized",
438
+ "privacy": "public",
439
+ "inheritedFrom": {
440
+ "name": "UI5Element",
441
+ "package": "@ui5/webcomponents-base",
442
+ "module": "dist/UI5Element.js"
443
+ }
444
+ },
445
+ {
446
+ "kind": "field",
447
+ "name": "effectiveDir",
448
+ "type": {
449
+ "text": "string | undefined"
450
+ },
451
+ "description": "Determines whether the component should be rendered in RTL mode or not.\nReturns: \"rtl\", \"ltr\" or undefined",
452
+ "privacy": "public",
453
+ "default": "undefined",
454
+ "readonly": true,
455
+ "inheritedFrom": {
456
+ "name": "UI5Element",
457
+ "package": "@ui5/webcomponents-base",
458
+ "module": "dist/UI5Element.js"
459
+ }
460
+ },
461
+ {
462
+ "kind": "field",
463
+ "name": "isUI5Element",
464
+ "type": {
465
+ "text": "boolean"
466
+ },
467
+ "description": "Used to duck-type UI5 elements without using instanceof",
468
+ "privacy": "public",
469
+ "default": "true",
470
+ "readonly": true,
471
+ "inheritedFrom": {
472
+ "name": "UI5Element",
473
+ "package": "@ui5/webcomponents-base",
474
+ "module": "dist/UI5Element.js"
475
+ }
476
+ },
477
+ {
478
+ "kind": "method",
479
+ "name": "getUniqueDependencies",
480
+ "static": true,
481
+ "return": {
482
+ "type": {
483
+ "text": "Array<typeof UI5Element>"
484
+ }
485
+ },
486
+ "description": "Returns a list of the unique dependencies for this UI5 Web Component",
487
+ "privacy": "public",
488
+ "inheritedFrom": {
489
+ "name": "UI5Element",
490
+ "package": "@ui5/webcomponents-base",
491
+ "module": "dist/UI5Element.js"
492
+ }
493
+ },
494
+ {
495
+ "kind": "method",
496
+ "name": "define",
497
+ "static": true,
498
+ "return": {
499
+ "type": {
500
+ "text": "typeof UI5Element"
501
+ }
502
+ },
503
+ "description": "Registers a UI5 Web Component in the browser window object",
504
+ "privacy": "public",
505
+ "inheritedFrom": {
506
+ "name": "UI5Element",
507
+ "package": "@ui5/webcomponents-base",
508
+ "module": "dist/UI5Element.js"
509
+ }
510
+ },
511
+ {
512
+ "kind": "method",
513
+ "name": "getMetadata",
514
+ "static": true,
515
+ "return": {
516
+ "type": {
517
+ "text": "UI5ElementMetadata",
518
+ "references": [
519
+ {
520
+ "name": "UI5ElementMetadata",
521
+ "package": "@ui5/webcomponents-base",
522
+ "module": "dist/UI5ElementMetadata.js"
523
+ }
524
+ ]
525
+ }
526
+ },
527
+ "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",
528
+ "privacy": "public",
529
+ "inheritedFrom": {
530
+ "name": "UI5Element",
531
+ "package": "@ui5/webcomponents-base",
532
+ "module": "dist/UI5Element.js"
533
+ }
72
534
  }
73
535
  ],
74
536
  "events": [
@@ -80,7 +542,7 @@
80
542
  "description": "Fired when the component is activated either with a\nmouse/tap or by using the Enter or Space key."
81
543
  },
82
544
  {
83
- "name": "arrow-click",
545
+ "name": "arrow-button-click",
84
546
  "type": {
85
547
  "text": "CustomEvent"
86
548
  },
@@ -117,9 +579,9 @@
117
579
  },
118
580
  {
119
581
  "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.",
120
- "name": "active-arrow-button",
582
+ "name": "arrow-button-pressed",
121
583
  "default": "false",
122
- "fieldName": "activeArrowButton",
584
+ "fieldName": "arrowButtonPressed",
123
585
  "type": {
124
586
  "text": "boolean"
125
587
  }
@@ -159,7 +621,7 @@
159
621
  "declarations": [
160
622
  {
161
623
  "kind": "class",
162
- "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\";`",
624
+ "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\";`",
163
625
  "name": "ButtonState",
164
626
  "members": [
165
627
  {
@@ -204,13 +666,463 @@
204
666
  },
205
667
  {
206
668
  "kind": "field",
207
- "name": "splitMode",
669
+ "name": "showArrowButton",
208
670
  "type": {
209
671
  "text": "boolean"
210
672
  },
211
673
  "default": "false",
212
674
  "description": "Defines if the component is in split button mode.",
213
675
  "privacy": "public"
676
+ },
677
+ {
678
+ "kind": "method",
679
+ "name": "onBeforeRendering",
680
+ "return": {
681
+ "type": {
682
+ "text": "void"
683
+ }
684
+ },
685
+ "description": "Called every time before the component renders.",
686
+ "privacy": "public",
687
+ "inheritedFrom": {
688
+ "name": "UI5Element",
689
+ "package": "@ui5/webcomponents-base",
690
+ "module": "dist/UI5Element.js"
691
+ }
692
+ },
693
+ {
694
+ "kind": "method",
695
+ "name": "onAfterRendering",
696
+ "return": {
697
+ "type": {
698
+ "text": "void"
699
+ }
700
+ },
701
+ "description": "Called every time after the component renders.",
702
+ "privacy": "public",
703
+ "inheritedFrom": {
704
+ "name": "UI5Element",
705
+ "package": "@ui5/webcomponents-base",
706
+ "module": "dist/UI5Element.js"
707
+ }
708
+ },
709
+ {
710
+ "kind": "method",
711
+ "name": "onEnterDOM",
712
+ "return": {
713
+ "type": {
714
+ "text": "void"
715
+ }
716
+ },
717
+ "description": "Called on connectedCallback - added to the DOM.",
718
+ "privacy": "public",
719
+ "inheritedFrom": {
720
+ "name": "UI5Element",
721
+ "package": "@ui5/webcomponents-base",
722
+ "module": "dist/UI5Element.js"
723
+ }
724
+ },
725
+ {
726
+ "kind": "method",
727
+ "name": "onExitDOM",
728
+ "return": {
729
+ "type": {
730
+ "text": "void"
731
+ }
732
+ },
733
+ "description": "Called on disconnectedCallback - removed from the DOM.",
734
+ "privacy": "public",
735
+ "inheritedFrom": {
736
+ "name": "UI5Element",
737
+ "package": "@ui5/webcomponents-base",
738
+ "module": "dist/UI5Element.js"
739
+ }
740
+ },
741
+ {
742
+ "kind": "method",
743
+ "name": "attachInvalidate",
744
+ "return": {
745
+ "type": {
746
+ "text": "void"
747
+ }
748
+ },
749
+ "parameters": [
750
+ {
751
+ "name": "callback",
752
+ "type": {
753
+ "text": "(param: InvalidationInfo) => void"
754
+ }
755
+ }
756
+ ],
757
+ "description": "Attach a callback that will be executed whenever the component is invalidated",
758
+ "privacy": "public",
759
+ "inheritedFrom": {
760
+ "name": "UI5Element",
761
+ "package": "@ui5/webcomponents-base",
762
+ "module": "dist/UI5Element.js"
763
+ }
764
+ },
765
+ {
766
+ "kind": "method",
767
+ "name": "detachInvalidate",
768
+ "return": {
769
+ "type": {
770
+ "text": "void"
771
+ }
772
+ },
773
+ "parameters": [
774
+ {
775
+ "name": "callback",
776
+ "type": {
777
+ "text": "(param: InvalidationInfo) => void"
778
+ }
779
+ }
780
+ ],
781
+ "description": "Detach the callback that is executed whenever the component is invalidated",
782
+ "privacy": "public",
783
+ "inheritedFrom": {
784
+ "name": "UI5Element",
785
+ "package": "@ui5/webcomponents-base",
786
+ "module": "dist/UI5Element.js"
787
+ }
788
+ },
789
+ {
790
+ "kind": "method",
791
+ "name": "onInvalidation",
792
+ "return": {
793
+ "type": {
794
+ "text": "void"
795
+ }
796
+ },
797
+ "parameters": [
798
+ {
799
+ "name": "changeInfo",
800
+ "type": {
801
+ "text": "ChangeInfo",
802
+ "references": [
803
+ {
804
+ "name": "ChangeInfo",
805
+ "package": "@ui5/webcomponents-base",
806
+ "module": "dist/UI5Element.js"
807
+ }
808
+ ]
809
+ },
810
+ "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)"
811
+ }
812
+ ],
813
+ "description": "A callback that is executed each time an already rendered component is invalidated (scheduled for re-rendering)",
814
+ "privacy": "public",
815
+ "inheritedFrom": {
816
+ "name": "UI5Element",
817
+ "package": "@ui5/webcomponents-base",
818
+ "module": "dist/UI5Element.js"
819
+ }
820
+ },
821
+ {
822
+ "kind": "method",
823
+ "name": "getDomRef",
824
+ "return": {
825
+ "type": {
826
+ "text": "HTMLElement | undefined"
827
+ }
828
+ },
829
+ "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",
830
+ "privacy": "public",
831
+ "inheritedFrom": {
832
+ "name": "UI5Element",
833
+ "package": "@ui5/webcomponents-base",
834
+ "module": "dist/UI5Element.js"
835
+ }
836
+ },
837
+ {
838
+ "kind": "method",
839
+ "name": "getFocusDomRef",
840
+ "return": {
841
+ "type": {
842
+ "text": "HTMLElement | undefined"
843
+ }
844
+ },
845
+ "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.",
846
+ "privacy": "public",
847
+ "inheritedFrom": {
848
+ "name": "UI5Element",
849
+ "package": "@ui5/webcomponents-base",
850
+ "module": "dist/UI5Element.js"
851
+ }
852
+ },
853
+ {
854
+ "kind": "method",
855
+ "name": "getFocusDomRefAsync",
856
+ "return": {
857
+ "type": {
858
+ "text": "Promise<HTMLElement | undefined>"
859
+ }
860
+ },
861
+ "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.",
862
+ "privacy": "public",
863
+ "inheritedFrom": {
864
+ "name": "UI5Element",
865
+ "package": "@ui5/webcomponents-base",
866
+ "module": "dist/UI5Element.js"
867
+ }
868
+ },
869
+ {
870
+ "kind": "method",
871
+ "name": "focus",
872
+ "return": {
873
+ "type": {
874
+ "text": "Promise<void>"
875
+ }
876
+ },
877
+ "parameters": [
878
+ {
879
+ "name": "focusOptions",
880
+ "optional": true,
881
+ "type": {
882
+ "text": "FocusOptions"
883
+ },
884
+ "description": "additional options for the focus"
885
+ }
886
+ ],
887
+ "description": "Set the focus to the element, returned by \"getFocusDomRef()\" (marked by \"data-sap-focus-ref\")",
888
+ "privacy": "public",
889
+ "inheritedFrom": {
890
+ "name": "UI5Element",
891
+ "package": "@ui5/webcomponents-base",
892
+ "module": "dist/UI5Element.js"
893
+ }
894
+ },
895
+ {
896
+ "kind": "method",
897
+ "name": "fireEvent",
898
+ "return": {
899
+ "type": {
900
+ "text": "boolean"
901
+ },
902
+ "description": "false, if the event was cancelled (preventDefault called), true otherwise"
903
+ },
904
+ "parameters": [
905
+ {
906
+ "name": "name",
907
+ "type": {
908
+ "text": "string"
909
+ },
910
+ "description": "name of the event"
911
+ },
912
+ {
913
+ "name": "data",
914
+ "optional": true,
915
+ "type": {
916
+ "text": "T"
917
+ },
918
+ "description": "additional data for the event"
919
+ },
920
+ {
921
+ "name": "cancelable",
922
+ "default": "false",
923
+ "description": "true, if the user can call preventDefault on the event object"
924
+ },
925
+ {
926
+ "name": "bubbles",
927
+ "default": "true",
928
+ "description": "true, if the event bubbles"
929
+ }
930
+ ],
931
+ "privacy": "public",
932
+ "deprecated": "use fireDecoratorEvent instead",
933
+ "inheritedFrom": {
934
+ "name": "UI5Element",
935
+ "package": "@ui5/webcomponents-base",
936
+ "module": "dist/UI5Element.js"
937
+ }
938
+ },
939
+ {
940
+ "kind": "method",
941
+ "name": "fireDecoratorEvent",
942
+ "return": {
943
+ "type": {
944
+ "text": "boolean"
945
+ },
946
+ "description": "false, if the event was cancelled (preventDefault called), true otherwise"
947
+ },
948
+ "parameters": [
949
+ {
950
+ "name": "name",
951
+ "type": {
952
+ "text": "N"
953
+ },
954
+ "description": "name of the event"
955
+ },
956
+ {
957
+ "name": "data",
958
+ "optional": true,
959
+ "type": {
960
+ "text": "this[\"eventDetails\"][N] | undefined"
961
+ },
962
+ "description": "additional data for the event"
963
+ }
964
+ ],
965
+ "description": "Fires a custom event, configured via the \"event\" decorator.",
966
+ "privacy": "public",
967
+ "inheritedFrom": {
968
+ "name": "UI5Element",
969
+ "package": "@ui5/webcomponents-base",
970
+ "module": "dist/UI5Element.js"
971
+ }
972
+ },
973
+ {
974
+ "kind": "method",
975
+ "name": "getSlottedNodes",
976
+ "return": {
977
+ "type": {
978
+ "text": "Array<T>"
979
+ }
980
+ },
981
+ "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.",
982
+ "privacy": "public",
983
+ "inheritedFrom": {
984
+ "name": "UI5Element",
985
+ "package": "@ui5/webcomponents-base",
986
+ "module": "dist/UI5Element.js"
987
+ }
988
+ },
989
+ {
990
+ "kind": "method",
991
+ "name": "attachComponentStateFinalized",
992
+ "return": {
993
+ "type": {
994
+ "text": "void"
995
+ }
996
+ },
997
+ "parameters": [
998
+ {
999
+ "name": "callback",
1000
+ "type": {
1001
+ "text": "() => void"
1002
+ }
1003
+ }
1004
+ ],
1005
+ "description": "Attach a callback that will be executed whenever the component's state is finalized",
1006
+ "privacy": "public",
1007
+ "inheritedFrom": {
1008
+ "name": "UI5Element",
1009
+ "package": "@ui5/webcomponents-base",
1010
+ "module": "dist/UI5Element.js"
1011
+ }
1012
+ },
1013
+ {
1014
+ "kind": "method",
1015
+ "name": "detachComponentStateFinalized",
1016
+ "return": {
1017
+ "type": {
1018
+ "text": "void"
1019
+ }
1020
+ },
1021
+ "parameters": [
1022
+ {
1023
+ "name": "callback",
1024
+ "type": {
1025
+ "text": "() => void"
1026
+ }
1027
+ }
1028
+ ],
1029
+ "description": "Detach the callback that is executed whenever the component's state is finalized",
1030
+ "privacy": "public",
1031
+ "inheritedFrom": {
1032
+ "name": "UI5Element",
1033
+ "package": "@ui5/webcomponents-base",
1034
+ "module": "dist/UI5Element.js"
1035
+ }
1036
+ },
1037
+ {
1038
+ "kind": "field",
1039
+ "name": "effectiveDir",
1040
+ "type": {
1041
+ "text": "string | undefined"
1042
+ },
1043
+ "description": "Determines whether the component should be rendered in RTL mode or not.\nReturns: \"rtl\", \"ltr\" or undefined",
1044
+ "privacy": "public",
1045
+ "default": "undefined",
1046
+ "readonly": true,
1047
+ "inheritedFrom": {
1048
+ "name": "UI5Element",
1049
+ "package": "@ui5/webcomponents-base",
1050
+ "module": "dist/UI5Element.js"
1051
+ }
1052
+ },
1053
+ {
1054
+ "kind": "field",
1055
+ "name": "isUI5Element",
1056
+ "type": {
1057
+ "text": "boolean"
1058
+ },
1059
+ "description": "Used to duck-type UI5 elements without using instanceof",
1060
+ "privacy": "public",
1061
+ "default": "true",
1062
+ "readonly": true,
1063
+ "inheritedFrom": {
1064
+ "name": "UI5Element",
1065
+ "package": "@ui5/webcomponents-base",
1066
+ "module": "dist/UI5Element.js"
1067
+ }
1068
+ },
1069
+ {
1070
+ "kind": "method",
1071
+ "name": "getUniqueDependencies",
1072
+ "static": true,
1073
+ "return": {
1074
+ "type": {
1075
+ "text": "Array<typeof UI5Element>"
1076
+ }
1077
+ },
1078
+ "description": "Returns a list of the unique dependencies for this UI5 Web Component",
1079
+ "privacy": "public",
1080
+ "inheritedFrom": {
1081
+ "name": "UI5Element",
1082
+ "package": "@ui5/webcomponents-base",
1083
+ "module": "dist/UI5Element.js"
1084
+ }
1085
+ },
1086
+ {
1087
+ "kind": "method",
1088
+ "name": "define",
1089
+ "static": true,
1090
+ "return": {
1091
+ "type": {
1092
+ "text": "typeof UI5Element"
1093
+ }
1094
+ },
1095
+ "description": "Registers a UI5 Web Component in the browser window object",
1096
+ "privacy": "public",
1097
+ "inheritedFrom": {
1098
+ "name": "UI5Element",
1099
+ "package": "@ui5/webcomponents-base",
1100
+ "module": "dist/UI5Element.js"
1101
+ }
1102
+ },
1103
+ {
1104
+ "kind": "method",
1105
+ "name": "getMetadata",
1106
+ "static": true,
1107
+ "return": {
1108
+ "type": {
1109
+ "text": "UI5ElementMetadata",
1110
+ "references": [
1111
+ {
1112
+ "name": "UI5ElementMetadata",
1113
+ "package": "@ui5/webcomponents-base",
1114
+ "module": "dist/UI5ElementMetadata.js"
1115
+ }
1116
+ ]
1117
+ }
1118
+ },
1119
+ "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",
1120
+ "privacy": "public",
1121
+ "inheritedFrom": {
1122
+ "name": "UI5Element",
1123
+ "package": "@ui5/webcomponents-base",
1124
+ "module": "dist/UI5Element.js"
1125
+ }
214
1126
  }
215
1127
  ],
216
1128
  "attributes": [
@@ -252,9 +1164,9 @@
252
1164
  },
253
1165
  {
254
1166
  "description": "Defines if the component is in split button mode.",
255
- "name": "split-mode",
1167
+ "name": "show-arrow-button",
256
1168
  "default": "false",
257
- "fieldName": "splitMode",
1169
+ "fieldName": "showArrowButton",
258
1170
  "type": {
259
1171
  "text": "boolean"
260
1172
  }
@@ -294,12 +1206,12 @@
294
1206
  "declarations": [
295
1207
  {
296
1208
  "kind": "class",
297
- "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",
1209
+ "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\"`",
298
1210
  "name": "PromptInput",
299
1211
  "slots": [
300
1212
  {
301
1213
  "name": "default",
302
- "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."
1214
+ "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."
303
1215
  },
304
1216
  {
305
1217
  "name": "valueStateMessage",
@@ -411,8 +1323,458 @@
411
1323
  "text": "boolean"
412
1324
  },
413
1325
  "default": "false",
414
- "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.",
1326
+ "description": "Defines whether the component should show suggestions, if such are present.",
415
1327
  "privacy": "public"
1328
+ },
1329
+ {
1330
+ "kind": "method",
1331
+ "name": "onBeforeRendering",
1332
+ "return": {
1333
+ "type": {
1334
+ "text": "void"
1335
+ }
1336
+ },
1337
+ "description": "Called every time before the component renders.",
1338
+ "privacy": "public",
1339
+ "inheritedFrom": {
1340
+ "name": "UI5Element",
1341
+ "package": "@ui5/webcomponents-base",
1342
+ "module": "dist/UI5Element.js"
1343
+ }
1344
+ },
1345
+ {
1346
+ "kind": "method",
1347
+ "name": "onAfterRendering",
1348
+ "return": {
1349
+ "type": {
1350
+ "text": "void"
1351
+ }
1352
+ },
1353
+ "description": "Called every time after the component renders.",
1354
+ "privacy": "public",
1355
+ "inheritedFrom": {
1356
+ "name": "UI5Element",
1357
+ "package": "@ui5/webcomponents-base",
1358
+ "module": "dist/UI5Element.js"
1359
+ }
1360
+ },
1361
+ {
1362
+ "kind": "method",
1363
+ "name": "onEnterDOM",
1364
+ "return": {
1365
+ "type": {
1366
+ "text": "void"
1367
+ }
1368
+ },
1369
+ "description": "Called on connectedCallback - added to the DOM.",
1370
+ "privacy": "public",
1371
+ "inheritedFrom": {
1372
+ "name": "UI5Element",
1373
+ "package": "@ui5/webcomponents-base",
1374
+ "module": "dist/UI5Element.js"
1375
+ }
1376
+ },
1377
+ {
1378
+ "kind": "method",
1379
+ "name": "onExitDOM",
1380
+ "return": {
1381
+ "type": {
1382
+ "text": "void"
1383
+ }
1384
+ },
1385
+ "description": "Called on disconnectedCallback - removed from the DOM.",
1386
+ "privacy": "public",
1387
+ "inheritedFrom": {
1388
+ "name": "UI5Element",
1389
+ "package": "@ui5/webcomponents-base",
1390
+ "module": "dist/UI5Element.js"
1391
+ }
1392
+ },
1393
+ {
1394
+ "kind": "method",
1395
+ "name": "attachInvalidate",
1396
+ "return": {
1397
+ "type": {
1398
+ "text": "void"
1399
+ }
1400
+ },
1401
+ "parameters": [
1402
+ {
1403
+ "name": "callback",
1404
+ "type": {
1405
+ "text": "(param: InvalidationInfo) => void"
1406
+ }
1407
+ }
1408
+ ],
1409
+ "description": "Attach a callback that will be executed whenever the component is invalidated",
1410
+ "privacy": "public",
1411
+ "inheritedFrom": {
1412
+ "name": "UI5Element",
1413
+ "package": "@ui5/webcomponents-base",
1414
+ "module": "dist/UI5Element.js"
1415
+ }
1416
+ },
1417
+ {
1418
+ "kind": "method",
1419
+ "name": "detachInvalidate",
1420
+ "return": {
1421
+ "type": {
1422
+ "text": "void"
1423
+ }
1424
+ },
1425
+ "parameters": [
1426
+ {
1427
+ "name": "callback",
1428
+ "type": {
1429
+ "text": "(param: InvalidationInfo) => void"
1430
+ }
1431
+ }
1432
+ ],
1433
+ "description": "Detach the callback that is executed whenever the component is invalidated",
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": "onInvalidation",
1444
+ "return": {
1445
+ "type": {
1446
+ "text": "void"
1447
+ }
1448
+ },
1449
+ "parameters": [
1450
+ {
1451
+ "name": "changeInfo",
1452
+ "type": {
1453
+ "text": "ChangeInfo",
1454
+ "references": [
1455
+ {
1456
+ "name": "ChangeInfo",
1457
+ "package": "@ui5/webcomponents-base",
1458
+ "module": "dist/UI5Element.js"
1459
+ }
1460
+ ]
1461
+ },
1462
+ "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)"
1463
+ }
1464
+ ],
1465
+ "description": "A callback that is executed each time an already rendered component is invalidated (scheduled for re-rendering)",
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": "getDomRef",
1476
+ "return": {
1477
+ "type": {
1478
+ "text": "HTMLElement | undefined"
1479
+ }
1480
+ },
1481
+ "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",
1482
+ "privacy": "public",
1483
+ "inheritedFrom": {
1484
+ "name": "UI5Element",
1485
+ "package": "@ui5/webcomponents-base",
1486
+ "module": "dist/UI5Element.js"
1487
+ }
1488
+ },
1489
+ {
1490
+ "kind": "method",
1491
+ "name": "getFocusDomRef",
1492
+ "return": {
1493
+ "type": {
1494
+ "text": "HTMLElement | undefined"
1495
+ }
1496
+ },
1497
+ "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.",
1498
+ "privacy": "public",
1499
+ "inheritedFrom": {
1500
+ "name": "UI5Element",
1501
+ "package": "@ui5/webcomponents-base",
1502
+ "module": "dist/UI5Element.js"
1503
+ }
1504
+ },
1505
+ {
1506
+ "kind": "method",
1507
+ "name": "getFocusDomRefAsync",
1508
+ "return": {
1509
+ "type": {
1510
+ "text": "Promise<HTMLElement | undefined>"
1511
+ }
1512
+ },
1513
+ "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.",
1514
+ "privacy": "public",
1515
+ "inheritedFrom": {
1516
+ "name": "UI5Element",
1517
+ "package": "@ui5/webcomponents-base",
1518
+ "module": "dist/UI5Element.js"
1519
+ }
1520
+ },
1521
+ {
1522
+ "kind": "method",
1523
+ "name": "focus",
1524
+ "return": {
1525
+ "type": {
1526
+ "text": "Promise<void>"
1527
+ }
1528
+ },
1529
+ "parameters": [
1530
+ {
1531
+ "name": "focusOptions",
1532
+ "optional": true,
1533
+ "type": {
1534
+ "text": "FocusOptions"
1535
+ },
1536
+ "description": "additional options for the focus"
1537
+ }
1538
+ ],
1539
+ "description": "Set the focus to the element, returned by \"getFocusDomRef()\" (marked by \"data-sap-focus-ref\")",
1540
+ "privacy": "public",
1541
+ "inheritedFrom": {
1542
+ "name": "UI5Element",
1543
+ "package": "@ui5/webcomponents-base",
1544
+ "module": "dist/UI5Element.js"
1545
+ }
1546
+ },
1547
+ {
1548
+ "kind": "method",
1549
+ "name": "fireEvent",
1550
+ "return": {
1551
+ "type": {
1552
+ "text": "boolean"
1553
+ },
1554
+ "description": "false, if the event was cancelled (preventDefault called), true otherwise"
1555
+ },
1556
+ "parameters": [
1557
+ {
1558
+ "name": "name",
1559
+ "type": {
1560
+ "text": "string"
1561
+ },
1562
+ "description": "name of the event"
1563
+ },
1564
+ {
1565
+ "name": "data",
1566
+ "optional": true,
1567
+ "type": {
1568
+ "text": "T"
1569
+ },
1570
+ "description": "additional data for the event"
1571
+ },
1572
+ {
1573
+ "name": "cancelable",
1574
+ "default": "false",
1575
+ "description": "true, if the user can call preventDefault on the event object"
1576
+ },
1577
+ {
1578
+ "name": "bubbles",
1579
+ "default": "true",
1580
+ "description": "true, if the event bubbles"
1581
+ }
1582
+ ],
1583
+ "privacy": "public",
1584
+ "deprecated": "use fireDecoratorEvent instead",
1585
+ "inheritedFrom": {
1586
+ "name": "UI5Element",
1587
+ "package": "@ui5/webcomponents-base",
1588
+ "module": "dist/UI5Element.js"
1589
+ }
1590
+ },
1591
+ {
1592
+ "kind": "method",
1593
+ "name": "fireDecoratorEvent",
1594
+ "return": {
1595
+ "type": {
1596
+ "text": "boolean"
1597
+ },
1598
+ "description": "false, if the event was cancelled (preventDefault called), true otherwise"
1599
+ },
1600
+ "parameters": [
1601
+ {
1602
+ "name": "name",
1603
+ "type": {
1604
+ "text": "N"
1605
+ },
1606
+ "description": "name of the event"
1607
+ },
1608
+ {
1609
+ "name": "data",
1610
+ "optional": true,
1611
+ "type": {
1612
+ "text": "this[\"eventDetails\"][N] | undefined"
1613
+ },
1614
+ "description": "additional data for the event"
1615
+ }
1616
+ ],
1617
+ "description": "Fires a custom event, configured via the \"event\" decorator.",
1618
+ "privacy": "public",
1619
+ "inheritedFrom": {
1620
+ "name": "UI5Element",
1621
+ "package": "@ui5/webcomponents-base",
1622
+ "module": "dist/UI5Element.js"
1623
+ }
1624
+ },
1625
+ {
1626
+ "kind": "method",
1627
+ "name": "getSlottedNodes",
1628
+ "return": {
1629
+ "type": {
1630
+ "text": "Array<T>"
1631
+ }
1632
+ },
1633
+ "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.",
1634
+ "privacy": "public",
1635
+ "inheritedFrom": {
1636
+ "name": "UI5Element",
1637
+ "package": "@ui5/webcomponents-base",
1638
+ "module": "dist/UI5Element.js"
1639
+ }
1640
+ },
1641
+ {
1642
+ "kind": "method",
1643
+ "name": "attachComponentStateFinalized",
1644
+ "return": {
1645
+ "type": {
1646
+ "text": "void"
1647
+ }
1648
+ },
1649
+ "parameters": [
1650
+ {
1651
+ "name": "callback",
1652
+ "type": {
1653
+ "text": "() => void"
1654
+ }
1655
+ }
1656
+ ],
1657
+ "description": "Attach a callback that will be executed whenever the component's state is finalized",
1658
+ "privacy": "public",
1659
+ "inheritedFrom": {
1660
+ "name": "UI5Element",
1661
+ "package": "@ui5/webcomponents-base",
1662
+ "module": "dist/UI5Element.js"
1663
+ }
1664
+ },
1665
+ {
1666
+ "kind": "method",
1667
+ "name": "detachComponentStateFinalized",
1668
+ "return": {
1669
+ "type": {
1670
+ "text": "void"
1671
+ }
1672
+ },
1673
+ "parameters": [
1674
+ {
1675
+ "name": "callback",
1676
+ "type": {
1677
+ "text": "() => void"
1678
+ }
1679
+ }
1680
+ ],
1681
+ "description": "Detach the callback that is executed whenever the component's state is finalized",
1682
+ "privacy": "public",
1683
+ "inheritedFrom": {
1684
+ "name": "UI5Element",
1685
+ "package": "@ui5/webcomponents-base",
1686
+ "module": "dist/UI5Element.js"
1687
+ }
1688
+ },
1689
+ {
1690
+ "kind": "field",
1691
+ "name": "effectiveDir",
1692
+ "type": {
1693
+ "text": "string | undefined"
1694
+ },
1695
+ "description": "Determines whether the component should be rendered in RTL mode or not.\nReturns: \"rtl\", \"ltr\" or undefined",
1696
+ "privacy": "public",
1697
+ "default": "undefined",
1698
+ "readonly": true,
1699
+ "inheritedFrom": {
1700
+ "name": "UI5Element",
1701
+ "package": "@ui5/webcomponents-base",
1702
+ "module": "dist/UI5Element.js"
1703
+ }
1704
+ },
1705
+ {
1706
+ "kind": "field",
1707
+ "name": "isUI5Element",
1708
+ "type": {
1709
+ "text": "boolean"
1710
+ },
1711
+ "description": "Used to duck-type UI5 elements without using instanceof",
1712
+ "privacy": "public",
1713
+ "default": "true",
1714
+ "readonly": true,
1715
+ "inheritedFrom": {
1716
+ "name": "UI5Element",
1717
+ "package": "@ui5/webcomponents-base",
1718
+ "module": "dist/UI5Element.js"
1719
+ }
1720
+ },
1721
+ {
1722
+ "kind": "method",
1723
+ "name": "getUniqueDependencies",
1724
+ "static": true,
1725
+ "return": {
1726
+ "type": {
1727
+ "text": "Array<typeof UI5Element>"
1728
+ }
1729
+ },
1730
+ "description": "Returns a list of the unique dependencies for this UI5 Web Component",
1731
+ "privacy": "public",
1732
+ "inheritedFrom": {
1733
+ "name": "UI5Element",
1734
+ "package": "@ui5/webcomponents-base",
1735
+ "module": "dist/UI5Element.js"
1736
+ }
1737
+ },
1738
+ {
1739
+ "kind": "method",
1740
+ "name": "define",
1741
+ "static": true,
1742
+ "return": {
1743
+ "type": {
1744
+ "text": "typeof UI5Element"
1745
+ }
1746
+ },
1747
+ "description": "Registers a UI5 Web Component in the browser window object",
1748
+ "privacy": "public",
1749
+ "inheritedFrom": {
1750
+ "name": "UI5Element",
1751
+ "package": "@ui5/webcomponents-base",
1752
+ "module": "dist/UI5Element.js"
1753
+ }
1754
+ },
1755
+ {
1756
+ "kind": "method",
1757
+ "name": "getMetadata",
1758
+ "static": true,
1759
+ "return": {
1760
+ "type": {
1761
+ "text": "UI5ElementMetadata",
1762
+ "references": [
1763
+ {
1764
+ "name": "UI5ElementMetadata",
1765
+ "package": "@ui5/webcomponents-base",
1766
+ "module": "dist/UI5ElementMetadata.js"
1767
+ }
1768
+ ]
1769
+ }
1770
+ },
1771
+ "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",
1772
+ "privacy": "public",
1773
+ "inheritedFrom": {
1774
+ "name": "UI5Element",
1775
+ "package": "@ui5/webcomponents-base",
1776
+ "module": "dist/UI5Element.js"
1777
+ }
416
1778
  }
417
1779
  ],
418
1780
  "events": [
@@ -521,7 +1883,7 @@
521
1883
  }
522
1884
  },
523
1885
  {
524
- "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.",
1886
+ "description": "Defines whether the component should show suggestions, if such are present.",
525
1887
  "name": "show-suggestions",
526
1888
  "default": "false",
527
1889
  "fieldName": "showSuggestions",