@vonage/vivid 5.3.0 → 5.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion-item/definition.js +1 -1
- package/alert/definition.cjs +1 -1
- package/alert/definition.js +2 -2
- package/badge/definition.js +1 -1
- package/banner/definition.js +1 -1
- package/bundled/calendar-picker.template.cjs +7 -7
- package/bundled/calendar-picker.template.js +101 -101
- package/bundled/definition11.cjs +13 -13
- package/bundled/definition11.js +202 -50
- package/bundled/definition19.cjs +24 -25
- package/bundled/definition19.js +152 -164
- package/bundled/definition6.cjs +3 -3
- package/bundled/definition6.js +19 -19
- package/bundled/definition9.cjs +5 -5
- package/bundled/definition9.js +394 -392
- package/bundled/listbox.cjs +1 -1
- package/bundled/listbox.js +82 -102
- package/bundled/localized.cjs +1 -1
- package/bundled/localized.js +18 -14
- package/bundled/vivid-element.cjs +5 -1
- package/bundled/vivid-element.js +401 -358
- package/calendar/index.cjs +1 -1
- package/calendar/index.js +14 -14
- package/card/definition.cjs +1 -1
- package/card/definition.js +1 -1
- package/color-picker/definition.cjs +1 -1
- package/color-picker/definition.js +1 -1
- package/combobox/definition.cjs +7 -27
- package/combobox/definition.js +8 -28
- package/combobox/index.cjs +6 -6
- package/combobox/index.js +57 -71
- package/custom-elements.json +305 -2
- package/date-picker/definition.cjs +1 -1
- package/date-picker/definition.js +1 -1
- package/date-range-picker/definition.cjs +1 -1
- package/date-range-picker/definition.js +1 -1
- package/date-time-picker/definition.cjs +1 -1
- package/date-time-picker/definition.js +1 -1
- package/dialog/definition.cjs +2 -2
- package/dialog/definition.js +2 -2
- package/dialog/index.cjs +7 -7
- package/dialog/index.js +6 -6
- package/elevation/definition.cjs +1 -1
- package/elevation/definition.js +1 -1
- package/fab/definition.js +1 -1
- package/header/definition.cjs +1 -1
- package/header/definition.js +1 -1
- package/index.cjs +3 -4
- package/index.js +2 -3
- package/lib/accordion/accordion.d.ts +1 -1
- package/lib/accordion/definition.d.ts +1 -1
- package/lib/audio-player/audio-player.d.ts +1 -1
- package/lib/combobox/combobox.d.ts +1 -0
- package/lib/combobox/combobox.options.d.ts +1 -1
- package/lib/divider/divider.d.ts +1 -1
- package/lib/menu-item/menu-item-role.d.ts +1 -1
- package/lib/popup/popup.d.ts +1 -1
- package/lib/searchable-select/locale.d.ts +4 -0
- package/lib/searchable-select/searchable-select.d.ts +3 -0
- package/lib/select/select.d.ts +3 -1
- package/lib/slider/slider.d.ts +1 -1
- package/lib/tabs/tabs.d.ts +2 -2
- package/lib/text-area/text-area.d.ts +1 -1
- package/lib/text-field/text-field.d.ts +1 -1
- package/locales/de-DE.cjs +4 -0
- package/locales/de-DE.js +4 -0
- package/locales/en-GB.cjs +4 -0
- package/locales/en-GB.js +4 -0
- package/locales/en-US.cjs +4 -0
- package/locales/en-US.js +4 -0
- package/locales/ja-JP.cjs +4 -0
- package/locales/ja-JP.js +4 -0
- package/locales/zh-CN.cjs +4 -0
- package/locales/zh-CN.js +4 -0
- package/menu/definition.cjs +4 -4
- package/menu/definition.js +4 -4
- package/nav-disclosure/definition.js +1 -1
- package/nav-item/definition.js +1 -1
- package/note/definition.js +1 -1
- package/number-field/definition.js +1 -1
- package/option/definition.cjs +6 -77
- package/option/definition.js +3 -78
- package/package.json +31 -5
- package/popup/definition.cjs +2 -2
- package/popup/definition.js +2 -2
- package/range-slider/definition.cjs +1 -1
- package/range-slider/definition.js +1 -1
- package/rich-text-editor/definition.cjs +2 -3
- package/rich-text-editor/definition.js +1 -2
- package/rich-text-editor/index.cjs +27 -27
- package/rich-text-editor/index.js +1208 -1198
- package/searchable-select/definition.cjs +103 -11
- package/searchable-select/definition.js +103 -11
- package/searchable-select/index.cjs +81 -69
- package/searchable-select/index.js +359 -273
- package/select/definition.cjs +24 -41
- package/select/definition.js +24 -41
- package/selectable-box/definition.cjs +1 -1
- package/selectable-box/definition.js +1 -1
- package/selectable-box/index.cjs +1 -1
- package/selectable-box/index.js +1 -1
- package/shared/aria/aria-mixin.d.ts +1 -1
- package/shared/foundation/listbox/listbox.d.ts +4 -0
- package/simple-color-picker/definition.cjs +1 -1
- package/simple-color-picker/definition.js +1 -1
- package/slider/definition.cjs +1 -1
- package/slider/definition.js +1 -1
- package/split-button/definition.js +1 -1
- package/styles/core/all.css +1 -1
- package/styles/core/theme.css +1 -1
- package/styles/core/typography.css +1 -1
- package/styles/tokens/theme-dark.css +4 -4
- package/styles/tokens/theme-light.css +4 -4
- package/styles/tokens/vivid-2-compat.css +1 -1
- package/tab/definition.js +1 -1
- package/tag/definition.js +1 -1
- package/text-field/definition.js +1 -1
- package/time-picker/definition.cjs +1 -1
- package/time-picker/definition.js +1 -1
- package/toggletip/definition.cjs +1 -1
- package/toggletip/definition.js +1 -1
- package/tooltip/definition.cjs +1 -1
- package/tooltip/definition.js +1 -1
- package/tree-item/definition.cjs +1 -1
- package/tree-item/definition.js +1 -1
- package/tree-view/definition.cjs +1 -1
- package/tree-view/definition.js +1 -1
- package/unbundled/affix.js +1 -1
- package/unbundled/calendar-picker.template.cjs +1 -1
- package/unbundled/calendar-picker.template.js +1 -1
- package/unbundled/definition.js +1 -1
- package/unbundled/definition2.js +1 -1
- package/unbundled/definition3.cjs +222 -141
- package/unbundled/definition3.js +220 -139
- package/unbundled/definition4.cjs +145 -235
- package/unbundled/definition4.js +143 -233
- package/unbundled/definition5.cjs +269 -27
- package/unbundled/definition5.js +267 -26
- package/unbundled/definition6.cjs +56 -0
- package/unbundled/definition6.js +52 -0
- package/unbundled/listbox.cjs +41 -63
- package/unbundled/listbox.js +39 -61
- package/unbundled/picker-field.template.cjs +1 -1
- package/unbundled/picker-field.template.js +1 -1
- package/unbundled/slider.template.cjs +1 -1
- package/unbundled/slider.template.js +1 -1
- package/unbundled/vivid-element.cjs +1 -1
- package/unbundled/vivid-element.js +1 -1
- package/video-player/definition.cjs +56 -16
- package/video-player/definition.js +56 -16
- package/video-player/index.cjs +36 -36
- package/video-player/index.js +2461 -2445
- package/vivid.api.json +285 -38
- package/bundled/option.cjs +0 -1
- package/bundled/option.js +0 -158
- package/unbundled/option.cjs +0 -217
- package/unbundled/option.js +0 -214
package/combobox/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { i as
|
|
2
|
-
import { P as
|
|
3
|
-
import { l as
|
|
4
|
-
import { s as
|
|
5
|
-
import { U as
|
|
6
|
-
import { W as
|
|
7
|
-
import { L as
|
|
8
|
-
import { F as
|
|
1
|
+
import { i as y } from "../bundled/definition2.js";
|
|
2
|
+
import { P as k, p as $ } from "../bundled/definition9.js";
|
|
3
|
+
import { l as I } from "../bundled/definition11.js";
|
|
4
|
+
import { s as C } from "../bundled/text-field.js";
|
|
5
|
+
import { U as O, O as S, a as l, o as v, h as u, c as A, d as V } from "../bundled/vivid-element.js";
|
|
6
|
+
import { W as D, f as H } from "../bundled/mixins.js";
|
|
7
|
+
import { L as b } from "../bundled/listbox.js";
|
|
8
|
+
import { F as T } from "../bundled/form-associated.js";
|
|
9
9
|
import { W as F } from "../bundled/with-contextual-help.js";
|
|
10
10
|
import { W as B } from "../bundled/with-error-text.js";
|
|
11
11
|
import { W as L } from "../bundled/with-success-text.js";
|
|
@@ -25,15 +25,15 @@ const j = '.chevron{display:flex;flex-shrink:0;font:var(--vvd-typography-base-ex
|
|
|
25
25
|
both: "both",
|
|
26
26
|
none: "none"
|
|
27
27
|
};
|
|
28
|
-
var Y = Object.defineProperty,
|
|
28
|
+
var Y = Object.defineProperty, i = (a, t, e, o) => {
|
|
29
29
|
for (var r = void 0, s = a.length - 1, c; s >= 0; s--)
|
|
30
30
|
(c = a[s]) && (r = c(t, e, r) || r);
|
|
31
31
|
return r && Y(t, e, r), r;
|
|
32
32
|
};
|
|
33
|
-
class
|
|
34
|
-
|
|
33
|
+
class n extends F(
|
|
34
|
+
D(
|
|
35
35
|
B(
|
|
36
|
-
L(E(W(
|
|
36
|
+
L(E(W(T(b))))
|
|
37
37
|
)
|
|
38
38
|
)
|
|
39
39
|
) {
|
|
@@ -41,12 +41,10 @@ class i extends F(
|
|
|
41
41
|
super(...arguments), this.filteredOptions = [], this.filter = "", this.fixedDropdown = !1, this.listboxId = z("listbox-"), this.maxHeight = 0, this.open = !1, this.proxy = document.createElement("input");
|
|
42
42
|
}
|
|
43
43
|
/**
|
|
44
|
-
* Reset the element to its first selectable option when its parent form is reset.
|
|
45
|
-
*
|
|
46
44
|
* @internal
|
|
47
45
|
*/
|
|
48
46
|
formResetCallback() {
|
|
49
|
-
super.formResetCallback(), this.
|
|
47
|
+
super.formResetCallback(), this.selectedIndex = this._newDefaultSelectedIndex([], this.options, -1) ?? -1, this.value = this.firstSelectedOption?.text || "";
|
|
50
48
|
}
|
|
51
49
|
/** {@inheritDoc (FormAssociated:interface).validate} */
|
|
52
50
|
validate() {
|
|
@@ -71,7 +69,7 @@ class i extends F(
|
|
|
71
69
|
*/
|
|
72
70
|
openChanged() {
|
|
73
71
|
if (this.open) {
|
|
74
|
-
this.focusAndScrollOptionIntoView(),
|
|
72
|
+
this.focusAndScrollOptionIntoView(), O.enqueue(() => this.control.focus());
|
|
75
73
|
return;
|
|
76
74
|
}
|
|
77
75
|
}
|
|
@@ -83,10 +81,10 @@ class i extends F(
|
|
|
83
81
|
* Overrides `Listbox.options`.
|
|
84
82
|
*/
|
|
85
83
|
get options() {
|
|
86
|
-
return
|
|
84
|
+
return S.track(this, "options"), this.filteredOptions.length ? this.filteredOptions : this._options;
|
|
87
85
|
}
|
|
88
86
|
set options(t) {
|
|
89
|
-
|
|
87
|
+
super.options = t;
|
|
90
88
|
}
|
|
91
89
|
/**
|
|
92
90
|
* Updates the placeholder on the proxy element.
|
|
@@ -262,20 +260,8 @@ class i extends F(
|
|
|
262
260
|
selectPreviousOption() {
|
|
263
261
|
!this.disabled && this.selectedIndex >= 0 && (this.selectedIndex = this.selectedIndex - 1);
|
|
264
262
|
}
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
*
|
|
268
|
-
* @internal
|
|
269
|
-
* @remarks
|
|
270
|
-
* Overrides `Listbox.setDefaultSelectedOption`
|
|
271
|
-
*/
|
|
272
|
-
setDefaultSelectedOption() {
|
|
273
|
-
if (this.$fastController.isConnected && this.options) {
|
|
274
|
-
const t = this.options.findIndex(
|
|
275
|
-
(e) => e.getAttribute("selected") !== null || e.selected
|
|
276
|
-
);
|
|
277
|
-
this.selectedIndex = t, !this.dirtyValue && this.firstSelectedOption && (this.value = this.firstSelectedOption.text), this.setSelectedOptions();
|
|
278
|
-
}
|
|
263
|
+
_isDefaultSelected(t) {
|
|
264
|
+
return super._isDefaultSelected(t) || t.text !== "" && t.text === this.initialValue;
|
|
279
265
|
}
|
|
280
266
|
/**
|
|
281
267
|
* Focus and set the content of the control based on the first selected option.
|
|
@@ -344,7 +330,7 @@ class i extends F(
|
|
|
344
330
|
* @internal
|
|
345
331
|
*/
|
|
346
332
|
updateValue(t) {
|
|
347
|
-
this.$fastController.isConnected && (this.value = this.firstSelectedOption?.text || this.control.value
|
|
333
|
+
this.$fastController.isConnected && (this.value = this.firstSelectedOption?.text || this.control.value), t && this.$emit("change");
|
|
348
334
|
}
|
|
349
335
|
/**
|
|
350
336
|
* @internal
|
|
@@ -354,36 +340,36 @@ class i extends F(
|
|
|
354
340
|
this.control.setSelectionRange(t, t);
|
|
355
341
|
}
|
|
356
342
|
}
|
|
357
|
-
|
|
343
|
+
i([
|
|
358
344
|
l({ attribute: "autocomplete", mode: "fromView" })
|
|
359
|
-
],
|
|
360
|
-
|
|
345
|
+
], n.prototype, "autocomplete");
|
|
346
|
+
i([
|
|
361
347
|
l
|
|
362
|
-
],
|
|
363
|
-
|
|
348
|
+
], n.prototype, "appearance");
|
|
349
|
+
i([
|
|
364
350
|
l
|
|
365
|
-
],
|
|
366
|
-
|
|
351
|
+
], n.prototype, "shape");
|
|
352
|
+
i([
|
|
367
353
|
l()
|
|
368
|
-
],
|
|
369
|
-
|
|
354
|
+
], n.prototype, "scale");
|
|
355
|
+
i([
|
|
370
356
|
l
|
|
371
|
-
],
|
|
372
|
-
|
|
357
|
+
], n.prototype, "placement");
|
|
358
|
+
i([
|
|
373
359
|
l({ mode: "boolean", attribute: "fixed-dropdown" })
|
|
374
|
-
],
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
],
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
],
|
|
381
|
-
|
|
360
|
+
], n.prototype, "fixedDropdown");
|
|
361
|
+
i([
|
|
362
|
+
v
|
|
363
|
+
], n.prototype, "metaSlottedContent");
|
|
364
|
+
i([
|
|
365
|
+
v
|
|
366
|
+
], n.prototype, "maxHeight");
|
|
367
|
+
i([
|
|
382
368
|
l({ attribute: "open", mode: "boolean" })
|
|
383
|
-
],
|
|
384
|
-
|
|
369
|
+
], n.prototype, "open");
|
|
370
|
+
i([
|
|
385
371
|
l
|
|
386
|
-
],
|
|
372
|
+
], n.prototype, "placeholder");
|
|
387
373
|
const G = ({
|
|
388
374
|
icon: a,
|
|
389
375
|
iconSlottedContent: t,
|
|
@@ -392,23 +378,23 @@ const G = ({
|
|
|
392
378
|
successText: r,
|
|
393
379
|
shape: s,
|
|
394
380
|
scale: c,
|
|
395
|
-
disabled:
|
|
396
|
-
placeholder:
|
|
397
|
-
label:
|
|
381
|
+
disabled: m,
|
|
382
|
+
placeholder: x,
|
|
383
|
+
label: g,
|
|
398
384
|
appearance: f,
|
|
399
|
-
open:
|
|
400
|
-
_activeDescendant:
|
|
385
|
+
open: _,
|
|
386
|
+
_activeDescendant: w
|
|
401
387
|
}) => N(
|
|
402
388
|
"base",
|
|
403
|
-
["disabled",
|
|
389
|
+
["disabled", m],
|
|
404
390
|
[`shape-${s}`, !!s],
|
|
405
391
|
[`size-${c}`, !!c],
|
|
406
|
-
["placeholder", !!
|
|
392
|
+
["placeholder", !!x],
|
|
407
393
|
[`appearance-${f}`, !!f],
|
|
408
|
-
["no-label", !
|
|
394
|
+
["no-label", !g],
|
|
409
395
|
["has-icon", !!a || !!t?.length],
|
|
410
396
|
["has-meta", !!e?.length],
|
|
411
|
-
["has-activedescendant", !!
|
|
397
|
+
["has-activedescendant", !!w && _],
|
|
412
398
|
["error", !!o],
|
|
413
399
|
["success", !!r]
|
|
414
400
|
);
|
|
@@ -464,7 +450,7 @@ function X(a) {
|
|
|
464
450
|
</div>`;
|
|
465
451
|
}
|
|
466
452
|
const Z = (a) => {
|
|
467
|
-
const t = a.tagFor(
|
|
453
|
+
const t = a.tagFor(k);
|
|
468
454
|
return u`
|
|
469
455
|
<template
|
|
470
456
|
tabindex="${(e) => e.disabled ? null : "0"}"
|
|
@@ -486,7 +472,7 @@ const Z = (a) => {
|
|
|
486
472
|
?disabled="${(e) => e.disabled}"
|
|
487
473
|
${d("listbox")}>
|
|
488
474
|
<slot ${h({
|
|
489
|
-
filter:
|
|
475
|
+
filter: b.slottedOptionFilter,
|
|
490
476
|
flatten: !0,
|
|
491
477
|
property: "slottedOptions"
|
|
492
478
|
})}>
|
|
@@ -501,16 +487,16 @@ const Z = (a) => {
|
|
|
501
487
|
`;
|
|
502
488
|
}, ee = V(
|
|
503
489
|
"combobox",
|
|
504
|
-
|
|
490
|
+
n,
|
|
505
491
|
Z,
|
|
506
492
|
[
|
|
507
|
-
|
|
493
|
+
y,
|
|
494
|
+
$,
|
|
508
495
|
I,
|
|
509
|
-
|
|
510
|
-
T
|
|
496
|
+
H
|
|
511
497
|
],
|
|
512
498
|
{
|
|
513
|
-
styles: [
|
|
499
|
+
styles: [C, j],
|
|
514
500
|
shadowOptions: {
|
|
515
501
|
delegatesFocus: !0
|
|
516
502
|
}
|
package/custom-elements.json
CHANGED
|
@@ -8300,6 +8300,28 @@
|
|
|
8300
8300
|
"description": "Filter available options by text value.",
|
|
8301
8301
|
"privacy": "public"
|
|
8302
8302
|
},
|
|
8303
|
+
{
|
|
8304
|
+
"kind": "method",
|
|
8305
|
+
"name": "_isDefaultSelected",
|
|
8306
|
+
"privacy": "protected",
|
|
8307
|
+
"parameters": [
|
|
8308
|
+
{
|
|
8309
|
+
"name": "option",
|
|
8310
|
+
"type": {
|
|
8311
|
+
"text": "ListboxOption"
|
|
8312
|
+
}
|
|
8313
|
+
}
|
|
8314
|
+
],
|
|
8315
|
+
"return": {
|
|
8316
|
+
"type": {
|
|
8317
|
+
"text": "boolean"
|
|
8318
|
+
}
|
|
8319
|
+
},
|
|
8320
|
+
"inheritedFrom": {
|
|
8321
|
+
"name": "Listbox",
|
|
8322
|
+
"module": "src/shared/foundation/listbox/listbox.ts"
|
|
8323
|
+
}
|
|
8324
|
+
},
|
|
8303
8325
|
{
|
|
8304
8326
|
"kind": "field",
|
|
8305
8327
|
"name": "helperText",
|
|
@@ -8645,6 +8667,45 @@
|
|
|
8645
8667
|
"module": "src/shared/foundation/listbox/listbox.ts"
|
|
8646
8668
|
}
|
|
8647
8669
|
},
|
|
8670
|
+
{
|
|
8671
|
+
"kind": "method",
|
|
8672
|
+
"name": "getNextSelectableIndex",
|
|
8673
|
+
"privacy": "protected",
|
|
8674
|
+
"parameters": [
|
|
8675
|
+
{
|
|
8676
|
+
"name": "fromIndex",
|
|
8677
|
+
"type": {
|
|
8678
|
+
"text": "number"
|
|
8679
|
+
}
|
|
8680
|
+
}
|
|
8681
|
+
],
|
|
8682
|
+
"inheritedFrom": {
|
|
8683
|
+
"name": "Listbox",
|
|
8684
|
+
"module": "src/shared/foundation/listbox/listbox.ts"
|
|
8685
|
+
}
|
|
8686
|
+
},
|
|
8687
|
+
{
|
|
8688
|
+
"kind": "method",
|
|
8689
|
+
"name": "_validSelectedIndex",
|
|
8690
|
+
"privacy": "protected",
|
|
8691
|
+
"return": {
|
|
8692
|
+
"type": {
|
|
8693
|
+
"text": "number"
|
|
8694
|
+
}
|
|
8695
|
+
},
|
|
8696
|
+
"parameters": [
|
|
8697
|
+
{
|
|
8698
|
+
"name": "index",
|
|
8699
|
+
"type": {
|
|
8700
|
+
"text": "number"
|
|
8701
|
+
}
|
|
8702
|
+
}
|
|
8703
|
+
],
|
|
8704
|
+
"inheritedFrom": {
|
|
8705
|
+
"name": "Listbox",
|
|
8706
|
+
"module": "src/shared/foundation/listbox/listbox.ts"
|
|
8707
|
+
}
|
|
8708
|
+
},
|
|
8648
8709
|
{
|
|
8649
8710
|
"kind": "method",
|
|
8650
8711
|
"name": "selectFirstOption",
|
|
@@ -8660,6 +8721,40 @@
|
|
|
8660
8721
|
"module": "src/shared/foundation/listbox/listbox.ts"
|
|
8661
8722
|
}
|
|
8662
8723
|
},
|
|
8724
|
+
{
|
|
8725
|
+
"kind": "method",
|
|
8726
|
+
"name": "_newDefaultSelectedIndex",
|
|
8727
|
+
"privacy": "protected",
|
|
8728
|
+
"return": {
|
|
8729
|
+
"type": {
|
|
8730
|
+
"text": "number | null"
|
|
8731
|
+
}
|
|
8732
|
+
},
|
|
8733
|
+
"parameters": [
|
|
8734
|
+
{
|
|
8735
|
+
"name": "prev",
|
|
8736
|
+
"type": {
|
|
8737
|
+
"text": "ListboxOption[]"
|
|
8738
|
+
}
|
|
8739
|
+
},
|
|
8740
|
+
{
|
|
8741
|
+
"name": "next",
|
|
8742
|
+
"type": {
|
|
8743
|
+
"text": "ListboxOption[]"
|
|
8744
|
+
}
|
|
8745
|
+
},
|
|
8746
|
+
{
|
|
8747
|
+
"name": "currentSelectedIndex",
|
|
8748
|
+
"type": {
|
|
8749
|
+
"text": "number"
|
|
8750
|
+
}
|
|
8751
|
+
}
|
|
8752
|
+
],
|
|
8753
|
+
"inheritedFrom": {
|
|
8754
|
+
"name": "Listbox",
|
|
8755
|
+
"module": "src/shared/foundation/listbox/listbox.ts"
|
|
8756
|
+
}
|
|
8757
|
+
},
|
|
8663
8758
|
{
|
|
8664
8759
|
"kind": "method",
|
|
8665
8760
|
"name": "setSelectedOptions",
|
|
@@ -25580,6 +25675,34 @@
|
|
|
25580
25675
|
"kind": "method",
|
|
25581
25676
|
"name": "#updateSelectionLimit"
|
|
25582
25677
|
},
|
|
25678
|
+
{
|
|
25679
|
+
"kind": "field",
|
|
25680
|
+
"name": "enableSelectAll",
|
|
25681
|
+
"type": {
|
|
25682
|
+
"text": "boolean"
|
|
25683
|
+
},
|
|
25684
|
+
"default": "false",
|
|
25685
|
+
"description": "Adds a \"Select All\" option at the top of the options list.",
|
|
25686
|
+
"privacy": "public"
|
|
25687
|
+
},
|
|
25688
|
+
{
|
|
25689
|
+
"kind": "field",
|
|
25690
|
+
"name": "selectAllText",
|
|
25691
|
+
"type": {
|
|
25692
|
+
"text": "string | undefined"
|
|
25693
|
+
},
|
|
25694
|
+
"description": "Overrides the default \"Select All\" text",
|
|
25695
|
+
"privacy": "public"
|
|
25696
|
+
},
|
|
25697
|
+
{
|
|
25698
|
+
"kind": "field",
|
|
25699
|
+
"name": "deselectAllText",
|
|
25700
|
+
"type": {
|
|
25701
|
+
"text": "string | undefined"
|
|
25702
|
+
},
|
|
25703
|
+
"description": "Overrides the default \"Deselect All\" text",
|
|
25704
|
+
"privacy": "public"
|
|
25705
|
+
},
|
|
25583
25706
|
{
|
|
25584
25707
|
"kind": "method",
|
|
25585
25708
|
"name": "#determineInitialValues"
|
|
@@ -26056,6 +26179,31 @@
|
|
|
26056
26179
|
"default": "null",
|
|
26057
26180
|
"fieldName": "maxSelected"
|
|
26058
26181
|
},
|
|
26182
|
+
{
|
|
26183
|
+
"name": "enable-select-all",
|
|
26184
|
+
"type": {
|
|
26185
|
+
"text": "boolean"
|
|
26186
|
+
},
|
|
26187
|
+
"default": "false",
|
|
26188
|
+
"description": "Adds a \"Select All\" option at the top of the options list.",
|
|
26189
|
+
"fieldName": "enableSelectAll"
|
|
26190
|
+
},
|
|
26191
|
+
{
|
|
26192
|
+
"name": "select-all-text",
|
|
26193
|
+
"type": {
|
|
26194
|
+
"text": "string | undefined"
|
|
26195
|
+
},
|
|
26196
|
+
"description": "Overrides the default \"Select All\" text",
|
|
26197
|
+
"fieldName": "selectAllText"
|
|
26198
|
+
},
|
|
26199
|
+
{
|
|
26200
|
+
"name": "deselect-all-text",
|
|
26201
|
+
"type": {
|
|
26202
|
+
"text": "string | undefined"
|
|
26203
|
+
},
|
|
26204
|
+
"description": "Overrides the default \"Deselect All\" text",
|
|
26205
|
+
"fieldName": "deselectAllText"
|
|
26206
|
+
},
|
|
26059
26207
|
{
|
|
26060
26208
|
"name": "helper-text",
|
|
26061
26209
|
"type": {
|
|
@@ -26498,11 +26646,53 @@
|
|
|
26498
26646
|
},
|
|
26499
26647
|
{
|
|
26500
26648
|
"kind": "method",
|
|
26501
|
-
"name": "
|
|
26649
|
+
"name": "_newDefaultSelectedIndex",
|
|
26650
|
+
"privacy": "protected",
|
|
26502
26651
|
"return": {
|
|
26503
26652
|
"type": {
|
|
26504
|
-
"text": "
|
|
26653
|
+
"text": "number | null"
|
|
26505
26654
|
}
|
|
26655
|
+
},
|
|
26656
|
+
"parameters": [
|
|
26657
|
+
{
|
|
26658
|
+
"name": "prev",
|
|
26659
|
+
"type": {
|
|
26660
|
+
"text": "ListboxOption[]"
|
|
26661
|
+
}
|
|
26662
|
+
},
|
|
26663
|
+
{
|
|
26664
|
+
"name": "next",
|
|
26665
|
+
"type": {
|
|
26666
|
+
"text": "ListboxOption[]"
|
|
26667
|
+
}
|
|
26668
|
+
},
|
|
26669
|
+
{
|
|
26670
|
+
"name": "currentSelectIndex",
|
|
26671
|
+
"type": {
|
|
26672
|
+
"text": "number"
|
|
26673
|
+
}
|
|
26674
|
+
}
|
|
26675
|
+
],
|
|
26676
|
+
"inheritedFrom": {
|
|
26677
|
+
"name": "Listbox",
|
|
26678
|
+
"module": "src/shared/foundation/listbox/listbox.ts"
|
|
26679
|
+
}
|
|
26680
|
+
},
|
|
26681
|
+
{
|
|
26682
|
+
"kind": "method",
|
|
26683
|
+
"name": "_isDefaultSelected",
|
|
26684
|
+
"privacy": "protected",
|
|
26685
|
+
"parameters": [
|
|
26686
|
+
{
|
|
26687
|
+
"name": "option",
|
|
26688
|
+
"type": {
|
|
26689
|
+
"text": "ListboxOption"
|
|
26690
|
+
}
|
|
26691
|
+
}
|
|
26692
|
+
],
|
|
26693
|
+
"inheritedFrom": {
|
|
26694
|
+
"name": "Listbox",
|
|
26695
|
+
"module": "src/shared/foundation/listbox/listbox.ts"
|
|
26506
26696
|
}
|
|
26507
26697
|
},
|
|
26508
26698
|
{
|
|
@@ -26919,6 +27109,45 @@
|
|
|
26919
27109
|
"module": "src/shared/foundation/listbox/listbox.ts"
|
|
26920
27110
|
}
|
|
26921
27111
|
},
|
|
27112
|
+
{
|
|
27113
|
+
"kind": "method",
|
|
27114
|
+
"name": "getNextSelectableIndex",
|
|
27115
|
+
"privacy": "protected",
|
|
27116
|
+
"parameters": [
|
|
27117
|
+
{
|
|
27118
|
+
"name": "fromIndex",
|
|
27119
|
+
"type": {
|
|
27120
|
+
"text": "number"
|
|
27121
|
+
}
|
|
27122
|
+
}
|
|
27123
|
+
],
|
|
27124
|
+
"inheritedFrom": {
|
|
27125
|
+
"name": "Listbox",
|
|
27126
|
+
"module": "src/shared/foundation/listbox/listbox.ts"
|
|
27127
|
+
}
|
|
27128
|
+
},
|
|
27129
|
+
{
|
|
27130
|
+
"kind": "method",
|
|
27131
|
+
"name": "_validSelectedIndex",
|
|
27132
|
+
"privacy": "protected",
|
|
27133
|
+
"return": {
|
|
27134
|
+
"type": {
|
|
27135
|
+
"text": "number"
|
|
27136
|
+
}
|
|
27137
|
+
},
|
|
27138
|
+
"parameters": [
|
|
27139
|
+
{
|
|
27140
|
+
"name": "index",
|
|
27141
|
+
"type": {
|
|
27142
|
+
"text": "number"
|
|
27143
|
+
}
|
|
27144
|
+
}
|
|
27145
|
+
],
|
|
27146
|
+
"inheritedFrom": {
|
|
27147
|
+
"name": "Listbox",
|
|
27148
|
+
"module": "src/shared/foundation/listbox/listbox.ts"
|
|
27149
|
+
}
|
|
27150
|
+
},
|
|
26922
27151
|
{
|
|
26923
27152
|
"kind": "method",
|
|
26924
27153
|
"name": "selectFirstOption",
|
|
@@ -38795,6 +39024,37 @@
|
|
|
38795
39024
|
],
|
|
38796
39025
|
"privacy": "public"
|
|
38797
39026
|
},
|
|
39027
|
+
{
|
|
39028
|
+
"kind": "method",
|
|
39029
|
+
"name": "getNextSelectableIndex",
|
|
39030
|
+
"privacy": "protected",
|
|
39031
|
+
"parameters": [
|
|
39032
|
+
{
|
|
39033
|
+
"name": "fromIndex",
|
|
39034
|
+
"type": {
|
|
39035
|
+
"text": "number"
|
|
39036
|
+
}
|
|
39037
|
+
}
|
|
39038
|
+
]
|
|
39039
|
+
},
|
|
39040
|
+
{
|
|
39041
|
+
"kind": "method",
|
|
39042
|
+
"name": "_validSelectedIndex",
|
|
39043
|
+
"privacy": "protected",
|
|
39044
|
+
"return": {
|
|
39045
|
+
"type": {
|
|
39046
|
+
"text": "number"
|
|
39047
|
+
}
|
|
39048
|
+
},
|
|
39049
|
+
"parameters": [
|
|
39050
|
+
{
|
|
39051
|
+
"name": "index",
|
|
39052
|
+
"type": {
|
|
39053
|
+
"text": "number"
|
|
39054
|
+
}
|
|
39055
|
+
}
|
|
39056
|
+
]
|
|
39057
|
+
},
|
|
38798
39058
|
{
|
|
38799
39059
|
"kind": "method",
|
|
38800
39060
|
"name": "selectFirstOption",
|
|
@@ -38806,6 +39066,49 @@
|
|
|
38806
39066
|
"description": "Moves focus to the first selectable option.",
|
|
38807
39067
|
"privacy": "public"
|
|
38808
39068
|
},
|
|
39069
|
+
{
|
|
39070
|
+
"kind": "method",
|
|
39071
|
+
"name": "_newDefaultSelectedIndex",
|
|
39072
|
+
"privacy": "protected",
|
|
39073
|
+
"return": {
|
|
39074
|
+
"type": {
|
|
39075
|
+
"text": "number | null"
|
|
39076
|
+
}
|
|
39077
|
+
},
|
|
39078
|
+
"parameters": [
|
|
39079
|
+
{
|
|
39080
|
+
"name": "prev",
|
|
39081
|
+
"type": {
|
|
39082
|
+
"text": "ListboxOption[]"
|
|
39083
|
+
}
|
|
39084
|
+
},
|
|
39085
|
+
{
|
|
39086
|
+
"name": "next",
|
|
39087
|
+
"type": {
|
|
39088
|
+
"text": "ListboxOption[]"
|
|
39089
|
+
}
|
|
39090
|
+
},
|
|
39091
|
+
{
|
|
39092
|
+
"name": "currentSelectedIndex",
|
|
39093
|
+
"type": {
|
|
39094
|
+
"text": "number"
|
|
39095
|
+
}
|
|
39096
|
+
}
|
|
39097
|
+
]
|
|
39098
|
+
},
|
|
39099
|
+
{
|
|
39100
|
+
"kind": "method",
|
|
39101
|
+
"name": "_isDefaultSelected",
|
|
39102
|
+
"privacy": "protected",
|
|
39103
|
+
"parameters": [
|
|
39104
|
+
{
|
|
39105
|
+
"name": "option",
|
|
39106
|
+
"type": {
|
|
39107
|
+
"text": "ListboxOption"
|
|
39108
|
+
}
|
|
39109
|
+
}
|
|
39110
|
+
]
|
|
39111
|
+
},
|
|
38809
39112
|
{
|
|
38810
39113
|
"kind": "method",
|
|
38811
39114
|
"name": "setSelectedOptions",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const popup_definition = require('../unbundled/
|
|
5
|
+
const popup_definition = require('../unbundled/definition5.cjs');
|
|
6
6
|
const button_definition = require('../unbundled/definition.cjs');
|
|
7
7
|
const textField_definition = require('../text-field/definition.cjs');
|
|
8
8
|
const divider_definition = require('../divider/definition.cjs');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as popupDefinition } from '../unbundled/
|
|
1
|
+
import { p as popupDefinition } from '../unbundled/definition5.js';
|
|
2
2
|
import { b as buttonDefinition } from '../unbundled/definition.js';
|
|
3
3
|
import { textFieldDefinition } from '../text-field/definition.js';
|
|
4
4
|
import { dividerDefinition } from '../divider/definition.js';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
5
|
const button_definition = require('../unbundled/definition.cjs');
|
|
6
|
-
const popup_definition = require('../unbundled/
|
|
6
|
+
const popup_definition = require('../unbundled/definition5.cjs');
|
|
7
7
|
const textField_definition = require('../text-field/definition.cjs');
|
|
8
8
|
const divider_definition = require('../divider/definition.cjs');
|
|
9
9
|
const vividElement = require('../unbundled/vivid-element.cjs');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { b as buttonDefinition } from '../unbundled/definition.js';
|
|
2
|
-
import { p as popupDefinition } from '../unbundled/
|
|
2
|
+
import { p as popupDefinition } from '../unbundled/definition5.js';
|
|
3
3
|
import { textFieldDefinition } from '../text-field/definition.js';
|
|
4
4
|
import { dividerDefinition } from '../divider/definition.js';
|
|
5
5
|
import { d as defineVividComponent, c as createRegisterFunction } from '../unbundled/vivid-element.js';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const popup_definition = require('../unbundled/
|
|
5
|
+
const popup_definition = require('../unbundled/definition5.cjs');
|
|
6
6
|
const button_definition = require('../unbundled/definition.cjs');
|
|
7
7
|
const textField_definition = require('../text-field/definition.cjs');
|
|
8
8
|
const divider_definition = require('../divider/definition.cjs');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as popupDefinition } from '../unbundled/
|
|
1
|
+
import { p as popupDefinition } from '../unbundled/definition5.js';
|
|
2
2
|
import { b as buttonDefinition } from '../unbundled/definition.js';
|
|
3
3
|
import { textFieldDefinition } from '../text-field/definition.js';
|
|
4
4
|
import { dividerDefinition } from '../divider/definition.js';
|