@vscode-elements/elements 1.11.1-pre.3 → 1.12.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.
@@ -24,7 +24,7 @@
24
24
  "text": "string"
25
25
  },
26
26
  "privacy": "private",
27
- "default": "'1.11.1-pre.3'"
27
+ "default": "'1.12.0'"
28
28
  },
29
29
  {
30
30
  "kind": "field",
@@ -343,7 +343,7 @@
343
343
  "text": "string"
344
344
  },
345
345
  "privacy": "private",
346
- "default": "'1.11.1-pre.3'",
346
+ "default": "'1.12.0'",
347
347
  "inheritedFrom": {
348
348
  "name": "VscElement",
349
349
  "module": "src/includes/VscElement.ts"
@@ -674,7 +674,7 @@
674
674
  "text": "string"
675
675
  },
676
676
  "privacy": "private",
677
- "default": "'1.11.1-pre.3'",
677
+ "default": "'1.12.0'",
678
678
  "inheritedFrom": {
679
679
  "name": "VscElement",
680
680
  "module": "src/includes/VscElement.ts"
@@ -1219,7 +1219,7 @@
1219
1219
  "text": "string"
1220
1220
  },
1221
1221
  "privacy": "private",
1222
- "default": "'1.11.1-pre.3'",
1222
+ "default": "'1.12.0'",
1223
1223
  "inheritedFrom": {
1224
1224
  "name": "VscElement",
1225
1225
  "module": "src/includes/VscElement.ts"
@@ -1442,7 +1442,7 @@
1442
1442
  "text": "string"
1443
1443
  },
1444
1444
  "privacy": "private",
1445
- "default": "'1.11.1-pre.3'",
1445
+ "default": "'1.12.0'",
1446
1446
  "inheritedFrom": {
1447
1447
  "name": "VscElement",
1448
1448
  "module": "src/includes/VscElement.ts"
@@ -1638,7 +1638,7 @@
1638
1638
  "text": "string"
1639
1639
  },
1640
1640
  "privacy": "private",
1641
- "default": "'1.11.1-pre.3'",
1641
+ "default": "'1.12.0'",
1642
1642
  "inheritedFrom": {
1643
1643
  "name": "VscElement",
1644
1644
  "module": "src/includes/VscElement.ts"
@@ -1964,7 +1964,7 @@
1964
1964
  "text": "string"
1965
1965
  },
1966
1966
  "privacy": "private",
1967
- "default": "'1.11.1-pre.3'",
1967
+ "default": "'1.12.0'",
1968
1968
  "inheritedFrom": {
1969
1969
  "name": "VscElement",
1970
1970
  "module": "src/includes/VscElement.ts"
@@ -2166,7 +2166,7 @@
2166
2166
  "text": "string"
2167
2167
  },
2168
2168
  "privacy": "private",
2169
- "default": "'1.11.1-pre.3'",
2169
+ "default": "'1.12.0'",
2170
2170
  "inheritedFrom": {
2171
2171
  "name": "VscElement",
2172
2172
  "module": "src/includes/VscElement.ts"
@@ -2305,7 +2305,7 @@
2305
2305
  "text": "string"
2306
2306
  },
2307
2307
  "privacy": "private",
2308
- "default": "'1.11.1-pre.3'",
2308
+ "default": "'1.12.0'",
2309
2309
  "inheritedFrom": {
2310
2310
  "name": "VscElement",
2311
2311
  "module": "src/includes/VscElement.ts"
@@ -2526,7 +2526,7 @@
2526
2526
  "text": "string"
2527
2527
  },
2528
2528
  "privacy": "private",
2529
- "default": "'1.11.1-pre.3'",
2529
+ "default": "'1.12.0'",
2530
2530
  "inheritedFrom": {
2531
2531
  "name": "VscElement",
2532
2532
  "module": "src/includes/VscElement.ts"
@@ -2661,7 +2661,7 @@
2661
2661
  "text": "string"
2662
2662
  },
2663
2663
  "privacy": "private",
2664
- "default": "'1.11.1-pre.3'",
2664
+ "default": "'1.12.0'",
2665
2665
  "inheritedFrom": {
2666
2666
  "name": "VscElement",
2667
2667
  "module": "src/includes/VscElement.ts"
@@ -2769,7 +2769,7 @@
2769
2769
  "text": "string"
2770
2770
  },
2771
2771
  "privacy": "private",
2772
- "default": "'1.11.1-pre.3'",
2772
+ "default": "'1.12.0'",
2773
2773
  "inheritedFrom": {
2774
2774
  "name": "VscElement",
2775
2775
  "module": "src/includes/VscElement.ts"
@@ -2970,7 +2970,7 @@
2970
2970
  "text": "string"
2971
2971
  },
2972
2972
  "privacy": "private",
2973
- "default": "'1.11.1-pre.3'",
2973
+ "default": "'1.12.0'",
2974
2974
  "inheritedFrom": {
2975
2975
  "name": "VscElement",
2976
2976
  "module": "src/includes/VscElement.ts"
@@ -3193,7 +3193,7 @@
3193
3193
  "text": "string"
3194
3194
  },
3195
3195
  "privacy": "private",
3196
- "default": "'1.11.1-pre.3'",
3196
+ "default": "'1.12.0'",
3197
3197
  "inheritedFrom": {
3198
3198
  "name": "VscElement",
3199
3199
  "module": "src/includes/VscElement.ts"
@@ -4290,7 +4290,7 @@
4290
4290
  "text": "string"
4291
4291
  },
4292
4292
  "privacy": "private",
4293
- "default": "'1.11.1-pre.3'",
4293
+ "default": "'1.12.0'",
4294
4294
  "inheritedFrom": {
4295
4295
  "name": "VscElement",
4296
4296
  "module": "src/includes/VscElement.ts"
@@ -4588,7 +4588,7 @@
4588
4588
  "text": "string"
4589
4589
  },
4590
4590
  "privacy": "private",
4591
- "default": "'1.11.1-pre.3'",
4591
+ "default": "'1.12.0'",
4592
4592
  "inheritedFrom": {
4593
4593
  "name": "VscElement",
4594
4594
  "module": "src/includes/VscElement.ts"
@@ -4738,7 +4738,7 @@
4738
4738
  "text": "string"
4739
4739
  },
4740
4740
  "privacy": "private",
4741
- "default": "'1.11.1-pre.3'",
4741
+ "default": "'1.12.0'",
4742
4742
  "inheritedFrom": {
4743
4743
  "name": "VscElement",
4744
4744
  "module": "src/includes/VscElement.ts"
@@ -5208,7 +5208,7 @@
5208
5208
  "text": "string"
5209
5209
  },
5210
5210
  "privacy": "private",
5211
- "default": "'1.11.1-pre.3'",
5211
+ "default": "'1.12.0'",
5212
5212
  "inheritedFrom": {
5213
5213
  "name": "VscElement",
5214
5214
  "module": "src/includes/VscElement.ts"
@@ -5530,7 +5530,7 @@
5530
5530
  "text": "string"
5531
5531
  },
5532
5532
  "privacy": "private",
5533
- "default": "'1.11.1-pre.3'",
5533
+ "default": "'1.12.0'",
5534
5534
  "inheritedFrom": {
5535
5535
  "name": "VscElement",
5536
5536
  "module": "src/includes/VscElement.ts"
@@ -5924,7 +5924,7 @@
5924
5924
  "text": "string"
5925
5925
  },
5926
5926
  "privacy": "private",
5927
- "default": "'1.11.1-pre.3'",
5927
+ "default": "'1.12.0'",
5928
5928
  "inheritedFrom": {
5929
5929
  "name": "VscElement",
5930
5930
  "module": "src/includes/VscElement.ts"
@@ -6982,7 +6982,7 @@
6982
6982
  "text": "string"
6983
6983
  },
6984
6984
  "privacy": "private",
6985
- "default": "'1.11.1-pre.3'",
6985
+ "default": "'1.12.0'",
6986
6986
  "inheritedFrom": {
6987
6987
  "name": "VscElement",
6988
6988
  "module": "src/includes/VscElement.ts"
@@ -7599,7 +7599,7 @@
7599
7599
  "text": "string"
7600
7600
  },
7601
7601
  "privacy": "private",
7602
- "default": "'1.11.1-pre.3'",
7602
+ "default": "'1.12.0'",
7603
7603
  "inheritedFrom": {
7604
7604
  "name": "VscElement",
7605
7605
  "module": "src/includes/VscElement.ts"
@@ -7804,7 +7804,7 @@
7804
7804
  "text": "string"
7805
7805
  },
7806
7806
  "privacy": "private",
7807
- "default": "'1.11.1-pre.3'",
7807
+ "default": "'1.12.0'",
7808
7808
  "inheritedFrom": {
7809
7809
  "name": "VscElement",
7810
7810
  "module": "src/includes/VscElement.ts"
@@ -7939,7 +7939,7 @@
7939
7939
  "text": "string"
7940
7940
  },
7941
7941
  "privacy": "private",
7942
- "default": "'1.11.1-pre.3'",
7942
+ "default": "'1.12.0'",
7943
7943
  "inheritedFrom": {
7944
7944
  "name": "VscElement",
7945
7945
  "module": "src/includes/VscElement.ts"
@@ -8632,7 +8632,7 @@
8632
8632
  "text": "string"
8633
8633
  },
8634
8634
  "privacy": "private",
8635
- "default": "'1.11.1-pre.3'",
8635
+ "default": "'1.12.0'",
8636
8636
  "inheritedFrom": {
8637
8637
  "name": "VscElement",
8638
8638
  "module": "src/includes/VscElement.ts"
@@ -8819,7 +8819,7 @@
8819
8819
  "text": "string"
8820
8820
  },
8821
8821
  "privacy": "private",
8822
- "default": "'1.11.1-pre.3'",
8822
+ "default": "'1.12.0'",
8823
8823
  "inheritedFrom": {
8824
8824
  "name": "VscElement",
8825
8825
  "module": "src/includes/VscElement.ts"
@@ -8941,7 +8941,7 @@
8941
8941
  "text": "string"
8942
8942
  },
8943
8943
  "privacy": "private",
8944
- "default": "'1.11.1-pre.3'",
8944
+ "default": "'1.12.0'",
8945
8945
  "inheritedFrom": {
8946
8946
  "name": "VscElement",
8947
8947
  "module": "src/includes/VscElement.ts"
@@ -9054,7 +9054,7 @@
9054
9054
  "text": "string"
9055
9055
  },
9056
9056
  "privacy": "private",
9057
- "default": "'1.11.1-pre.3'",
9057
+ "default": "'1.12.0'",
9058
9058
  "inheritedFrom": {
9059
9059
  "name": "VscElement",
9060
9060
  "module": "src/includes/VscElement.ts"
@@ -9152,7 +9152,7 @@
9152
9152
  "text": "string"
9153
9153
  },
9154
9154
  "privacy": "private",
9155
- "default": "'1.11.1-pre.3'",
9155
+ "default": "'1.12.0'",
9156
9156
  "inheritedFrom": {
9157
9157
  "name": "VscElement",
9158
9158
  "module": "src/includes/VscElement.ts"
@@ -9244,7 +9244,7 @@
9244
9244
  "text": "string"
9245
9245
  },
9246
9246
  "privacy": "private",
9247
- "default": "'1.11.1-pre.3'",
9247
+ "default": "'1.12.0'",
9248
9248
  "inheritedFrom": {
9249
9249
  "name": "VscElement",
9250
9250
  "module": "src/includes/VscElement.ts"
@@ -9496,7 +9496,7 @@
9496
9496
  "text": "string"
9497
9497
  },
9498
9498
  "privacy": "private",
9499
- "default": "'1.11.1-pre.3'",
9499
+ "default": "'1.12.0'",
9500
9500
  "inheritedFrom": {
9501
9501
  "name": "VscElement",
9502
9502
  "module": "src/includes/VscElement.ts"
@@ -10007,7 +10007,7 @@
10007
10007
  "text": "string"
10008
10008
  },
10009
10009
  "privacy": "private",
10010
- "default": "'1.11.1-pre.3'",
10010
+ "default": "'1.12.0'",
10011
10011
  "inheritedFrom": {
10012
10012
  "name": "VscElement",
10013
10013
  "module": "src/includes/VscElement.ts"
@@ -10643,7 +10643,7 @@
10643
10643
  "text": "string"
10644
10644
  },
10645
10645
  "privacy": "private",
10646
- "default": "'1.11.1-pre.3'",
10646
+ "default": "'1.12.0'",
10647
10647
  "inheritedFrom": {
10648
10648
  "name": "VscElement",
10649
10649
  "module": "src/includes/VscElement.ts"
@@ -10875,957 +10875,754 @@
10875
10875
  },
10876
10876
  {
10877
10877
  "kind": "javascript-module",
10878
- "path": "src/includes/form-button-widget/FormButtonWidgetBase.ts",
10878
+ "path": "src/vscode-tree/vscode-tree.styles.ts",
10879
+ "declarations": [
10880
+ {
10881
+ "kind": "variable",
10882
+ "name": "styles",
10883
+ "type": {
10884
+ "text": "CSSResultGroup"
10885
+ },
10886
+ "default": "[ defaultStyles, css` :host { --hover-outline-color: transparent; --hover-outline-style: solid; --hover-outline-width: 0; --selected-outline-color: transparent; --selected-outline-style: solid; --selected-outline-width: 0; display: block; outline: none; user-select: none; } .wrapper { height: 100%; } li { list-style: none; } ul, li { margin: 0; padding: 0; } ul { position: relative; } :host([indent-guides]) ul ul:before { content: ''; display: block; height: 100%; position: absolute; bottom: 0; left: var(--indent-guide-pos); top: 0; pointer-events: none; width: 1px; z-index: 1; } .contents { align-items: center; display: flex; font-family: var(--vscode-font-family); font-size: var(--vscode-font-size); font-weight: var(--vscode-font-weight); outline-offset: -1px; padding-right: 12px; } .multi .contents { align-items: flex-start; } .contents:hover { cursor: pointer; } .arrow-container { align-items: center; display: flex; height: 22px; justify-content: center; padding-left: 8px; padding-right: 6px; width: 16px; } .icon-arrow { color: currentColor; display: block; } .theme-icon { display: block; flex-shrink: 0; margin-right: 6px; } .image-icon { background-repeat: no-repeat; background-position: 0 center; background-size: 16px; display: block; flex-shrink: 0; margin-right: 6px; height: 22px; width: 16px; } .multi .contents .theme-icon { margin-top: 3px; } .text-content { display: flex; line-height: 22px; } .single .text-content { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: 100%; } .description { font-size: 0.9em; line-height: 22px; margin-left: 0.5em; opacity: 0.95; white-space: pre; } .actions { display: none; } .contents.selected > .actions, .contents.focused > .actions, .contents:hover > .actions { display: flex; } .decorations { align-items: center; display: flex; height: 22px; margin-left: 5px; } .filled-circle { margin-right: 3px; opacity: 0.4; } .decoration-text { font-size: 90%; font-weight: 600; margin-right: 3px; opacity: 0.75; } .filled-circle, .decoration-text { color: var(--color, currentColor); } .contents:hover .filled-circle, .contents:hover .decoration-text { color: var(--hover-color, var(--color)); } .contents.focused .filled-circle, .contents.focused .decoration-text { color: var(--focused-color, var(--color)); } .contents.selected .filled-circle, .contents.selected .decoration-text { color: var(--selected-color, var(--color)); } /* Theme colors */ :host(:focus) .wrapper.has-not-focused-item { outline: 1px solid var(--vscode-focusBorder); } :host(:focus) .contents.selected, :host(:focus) .contents.focused.selected { color: var(--vscode-list-activeSelectionForeground); background-color: var(--vscode-list-activeSelectionBackground); } :host(:focus) .contents.selected .icon-arrow, :host(:focus) .contents.selected.focused .icon-arrow, :host(:focus) .contents.selected .theme-icon, :host(:focus) .contents.selected.focused .theme-icon, :host(:focus) .contents.selected .action-icon, :host(:focus) .contents.selected.focused .action-icon { color: var(--vscode-list-activeSelectionIconForeground); } :host(:focus) .contents.focused { color: var(--vscode-list-focusForeground); background-color: var(--vscode-list-focusBackground); } :host(:focus) .contents.selected.focused { outline-color: var( --vscode-list-focusAndSelectionOutline, var(--vscode-list-focusOutline) ); } .contents:hover { background-color: var(--vscode-list-hoverBackground); color: var(--vscode-list-hoverForeground); } .contents:hover, .contents.selected:hover { outline-color: var(--hover-outline-color); outline-style: var(--hover-outline-style); outline-width: var(--hover-outline-width); } .contents.selected, .contents.selected.focused { background-color: var(--vscode-list-inactiveSelectionBackground); color: var(--vscode-list-inactiveSelectionForeground); } .contents.selected, .contents.selected.focused { outline-color: var(--selected-outline-color); outline-style: var(--selected-outline-style); outline-width: var(--selected-outline-width); } .contents.selected .theme-icon { color: var(--vscode-list-inactiveSelectionIconForeground); } .contents.focused { background-color: var(--vscode-list-inactiveFocusBackground); outline: 1px dotted var(--vscode-list-inactiveFocusOutline); } :host(:focus) .contents.focused { outline: 1px solid var(--vscode-list-focusOutline); } :host([indent-guides]) ul ul:before { background-color: var(--vscode-tree-inactiveIndentGuidesStroke); } :host([indent-guides]) ul ul.has-active-item:before { background-color: var(--vscode-tree-indentGuidesStroke); } `, ]"
10887
+ }
10888
+ ],
10889
+ "exports": [
10890
+ {
10891
+ "kind": "js",
10892
+ "name": "default",
10893
+ "declaration": {
10894
+ "name": "styles",
10895
+ "module": "src/vscode-tree/vscode-tree.styles.ts"
10896
+ }
10897
+ }
10898
+ ]
10899
+ },
10900
+ {
10901
+ "kind": "javascript-module",
10902
+ "path": "src/vscode-tree/vscode-tree.ts",
10879
10903
  "declarations": [
10880
10904
  {
10881
10905
  "kind": "class",
10882
10906
  "description": "",
10883
- "name": "FormButtonWidgetBase",
10907
+ "name": "VscodeTree",
10908
+ "cssProperties": [
10909
+ {
10910
+ "name": "--vscode-focusBorder"
10911
+ },
10912
+ {
10913
+ "name": "--vscode-font-family"
10914
+ },
10915
+ {
10916
+ "name": "--vscode-font-size"
10917
+ },
10918
+ {
10919
+ "name": "--vscode-font-weight"
10920
+ },
10921
+ {
10922
+ "name": "--vscode-list-hoverForeground"
10923
+ },
10924
+ {
10925
+ "name": "--vscode-list-hoverBackground"
10926
+ },
10927
+ {
10928
+ "name": "--vscode-list-inactiveSelectionBackground"
10929
+ },
10930
+ {
10931
+ "name": "--vscode-list-inactiveSelectionForeground"
10932
+ },
10933
+ {
10934
+ "name": "--vscode-list-activeSelectionBackground"
10935
+ },
10936
+ {
10937
+ "name": "--vscode-list-activeSelectionForeground"
10938
+ },
10939
+ {
10940
+ "name": "--vscode-list-inactiveSelectionIconForeground"
10941
+ },
10942
+ {
10943
+ "name": "--vscode-list-inactiveFocusBackground"
10944
+ },
10945
+ {
10946
+ "name": "--vscode-list-inactiveFocusOutline"
10947
+ },
10948
+ {
10949
+ "name": "--vscode-list-focusOutline"
10950
+ },
10951
+ {
10952
+ "name": "--vscode-tree-inactiveIndentGuidesStroke"
10953
+ },
10954
+ {
10955
+ "name": "--vscode-tree-indentGuidesStroke"
10956
+ }
10957
+ ],
10958
+ "cssParts": [
10959
+ {
10960
+ "name": "text-content"
10961
+ },
10962
+ {
10963
+ "name": "description"
10964
+ },
10965
+ {
10966
+ "name": "counter-badge-decoration"
10967
+ },
10968
+ {
10969
+ "name": "filled-circle-decoration"
10970
+ },
10971
+ {
10972
+ "name": "caption-decoration"
10973
+ },
10974
+ {
10975
+ "description": "Container of decorations",
10976
+ "name": "decorations"
10977
+ }
10978
+ ],
10884
10979
  "members": [
10885
10980
  {
10886
10981
  "kind": "field",
10887
- "name": "focused",
10982
+ "name": "data",
10888
10983
  "type": {
10889
- "text": "boolean"
10984
+ "text": "TreeItem[]"
10890
10985
  },
10891
- "default": "false",
10892
- "attribute": "focused",
10893
- "reflects": true
10986
+ "attribute": "data"
10894
10987
  },
10895
10988
  {
10896
10989
  "kind": "field",
10897
- "name": "_prevTabindex",
10990
+ "name": "indent",
10898
10991
  "type": {
10899
10992
  "text": "number"
10900
10993
  },
10901
- "privacy": "private",
10902
- "default": "0"
10903
- },
10904
- {
10905
- "kind": "field",
10906
- "name": "_handleFocus",
10907
- "privacy": "private"
10994
+ "default": "8",
10995
+ "attribute": "indent"
10908
10996
  },
10909
10997
  {
10910
10998
  "kind": "field",
10911
- "name": "_handleBlur",
10912
- "privacy": "private"
10999
+ "name": "arrows",
11000
+ "type": {
11001
+ "text": "boolean"
11002
+ },
11003
+ "default": "false",
11004
+ "attribute": "arrows",
11005
+ "reflects": true
10913
11006
  },
10914
11007
  {
10915
11008
  "kind": "field",
10916
- "name": "_version",
11009
+ "name": "multiline",
10917
11010
  "type": {
10918
- "text": "string"
11011
+ "text": "boolean"
10919
11012
  },
10920
- "privacy": "private",
10921
- "default": "'1.11.1-pre.3'",
10922
- "inheritedFrom": {
10923
- "name": "VscElement",
10924
- "module": "src/includes/VscElement.ts"
10925
- }
11013
+ "default": "false",
11014
+ "attribute": "multiline",
11015
+ "reflects": true
10926
11016
  },
10927
11017
  {
10928
11018
  "kind": "field",
10929
- "name": "version",
11019
+ "name": "tabindex",
10930
11020
  "type": {
10931
- "text": "string"
11021
+ "text": "number"
10932
11022
  },
10933
- "description": "VSCode Elements version",
10934
- "readonly": true,
10935
- "inheritedFrom": {
10936
- "name": "VscElement",
10937
- "module": "src/includes/VscElement.ts"
10938
- }
10939
- }
10940
- ],
10941
- "attributes": [
11023
+ "default": "0",
11024
+ "attribute": "tabindex",
11025
+ "reflects": true
11026
+ },
10942
11027
  {
10943
- "name": "focused",
11028
+ "kind": "field",
11029
+ "name": "indentGuides",
10944
11030
  "type": {
10945
11031
  "text": "boolean"
10946
11032
  },
10947
11033
  "default": "false",
10948
- "fieldName": "focused"
10949
- }
10950
- ],
10951
- "superclass": {
10952
- "name": "VscElement",
10953
- "module": "/src/includes/VscElement.js"
10954
- }
10955
- }
10956
- ],
10957
- "exports": [
10958
- {
10959
- "kind": "js",
10960
- "name": "FormButtonWidgetBase",
10961
- "declaration": {
10962
- "name": "FormButtonWidgetBase",
10963
- "module": "src/includes/form-button-widget/FormButtonWidgetBase.ts"
10964
- }
10965
- }
10966
- ]
10967
- },
10968
- {
10969
- "kind": "javascript-module",
10970
- "path": "src/includes/form-button-widget/LabelledCheckboxOrRadio.ts",
10971
- "declarations": [
10972
- {
10973
- "kind": "class",
10974
- "description": "",
10975
- "name": "LabelledCheckboxOrRadioInterface",
10976
- "members": [
11034
+ "attribute": "indent-guides",
11035
+ "reflects": true
11036
+ },
10977
11037
  {
10978
11038
  "kind": "field",
10979
- "name": "label",
11039
+ "name": "_data",
10980
11040
  "type": {
10981
- "text": "string"
10982
- }
11041
+ "text": "TreeItem[]"
11042
+ },
11043
+ "privacy": "private",
11044
+ "default": "[]"
10983
11045
  },
10984
11046
  {
10985
- "kind": "method",
10986
- "name": "_handleSlotChange",
10987
- "privacy": "protected",
10988
- "return": {
10989
- "type": {
10990
- "text": "void"
10991
- }
10992
- }
11047
+ "kind": "field",
11048
+ "name": "_selectedItem",
11049
+ "type": {
11050
+ "text": "TreeItem | null"
11051
+ },
11052
+ "privacy": "private",
11053
+ "default": "null"
10993
11054
  },
10994
- {
10995
- "kind": "method",
10996
- "name": "_renderLabelAttribute",
10997
- "privacy": "protected",
10998
- "return": {
10999
- "type": {
11000
- "text": "TemplateResult"
11001
- }
11002
- }
11003
- }
11004
- ]
11005
- },
11006
- {
11007
- "kind": "mixin",
11008
- "description": "",
11009
- "name": "LabelledCheckboxOrRadioMixin",
11010
- "members": [
11011
11055
  {
11012
11056
  "kind": "field",
11013
- "name": "label",
11057
+ "name": "_focusedItem",
11014
11058
  "type": {
11015
- "text": "string"
11059
+ "text": "TreeItem | null"
11016
11060
  },
11017
- "attribute": "label"
11061
+ "privacy": "private",
11062
+ "default": "null"
11018
11063
  },
11019
11064
  {
11020
11065
  "kind": "field",
11021
- "name": "_label",
11066
+ "name": "_selectedBranch",
11022
11067
  "type": {
11023
- "text": "string"
11068
+ "text": "TreeItem | null"
11024
11069
  },
11025
11070
  "privacy": "private",
11026
- "default": "''"
11071
+ "default": "null"
11027
11072
  },
11028
11073
  {
11029
11074
  "kind": "field",
11030
- "name": "_slottedText",
11075
+ "name": "_focusedBranch",
11031
11076
  "type": {
11032
- "text": "string"
11077
+ "text": "TreeItem | null"
11033
11078
  },
11034
11079
  "privacy": "private",
11035
- "default": "''"
11080
+ "default": "null"
11036
11081
  },
11037
11082
  {
11038
11083
  "kind": "method",
11039
- "name": "_handleSlotChange",
11040
- "privacy": "protected",
11084
+ "name": "closeAll",
11085
+ "privacy": "public",
11041
11086
  "return": {
11042
11087
  "type": {
11043
11088
  "text": "void"
11044
11089
  }
11045
- }
11046
- },
11047
- {
11048
- "kind": "method",
11049
- "name": "_renderLabelAttribute",
11050
- "privacy": "protected",
11051
- "return": {
11052
- "type": {
11053
- "text": "TemplateResult"
11054
- }
11055
- }
11056
- }
11057
- ],
11058
- "attributes": [
11059
- {
11060
- "name": "label",
11061
- "type": {
11062
- "text": "string"
11063
- },
11064
- "fieldName": "label"
11065
- }
11066
- ],
11067
- "parameters": [
11068
- {
11069
- "name": "superClass",
11070
- "type": {
11071
- "text": "T"
11072
- }
11073
- }
11074
- ]
11075
- }
11076
- ],
11077
- "exports": [
11078
- {
11079
- "kind": "js",
11080
- "name": "LabelledCheckboxOrRadioInterface",
11081
- "declaration": {
11082
- "name": "LabelledCheckboxOrRadioInterface",
11083
- "module": "src/includes/form-button-widget/LabelledCheckboxOrRadio.ts"
11084
- }
11085
- },
11086
- {
11087
- "kind": "js",
11088
- "name": "LabelledCheckboxOrRadioMixin",
11089
- "declaration": {
11090
- "name": "LabelledCheckboxOrRadioMixin",
11091
- "module": "src/includes/form-button-widget/LabelledCheckboxOrRadio.ts"
11092
- }
11093
- }
11094
- ]
11095
- },
11096
- {
11097
- "kind": "javascript-module",
11098
- "path": "src/includes/form-button-widget/base.styles.ts",
11099
- "declarations": [],
11100
- "exports": [
11101
- {
11102
- "kind": "js",
11103
- "name": "default",
11104
- "declaration": {
11105
- "module": "src/includes/form-button-widget/base.styles.ts"
11106
- }
11107
- }
11108
- ]
11109
- },
11110
- {
11111
- "kind": "javascript-module",
11112
- "path": "src/includes/vscode-select/helpers.ts",
11113
- "declarations": [
11114
- {
11115
- "kind": "function",
11116
- "name": "startsWithPerTermSearch",
11117
- "return": {
11118
- "type": {
11119
- "text": "SearchResult"
11120
- }
11121
- },
11122
- "parameters": [
11123
- {
11124
- "name": "subject",
11125
- "type": {
11126
- "text": "string"
11127
- }
11128
- },
11129
- {
11130
- "name": "pattern",
11131
- "type": {
11132
- "text": "string"
11133
- }
11134
- }
11135
- ]
11136
- },
11137
- {
11138
- "kind": "function",
11139
- "name": "startsWithSearch",
11140
- "return": {
11141
- "type": {
11142
- "text": "SearchResult"
11143
- }
11144
- },
11145
- "parameters": [
11146
- {
11147
- "name": "subject",
11148
- "type": {
11149
- "text": "string"
11150
- }
11151
- },
11152
- {
11153
- "name": "pattern",
11154
- "type": {
11155
- "text": "string"
11156
- }
11157
- }
11158
- ]
11159
- },
11160
- {
11161
- "kind": "function",
11162
- "name": "containsSearch",
11163
- "return": {
11164
- "type": {
11165
- "text": "SearchResult"
11166
- }
11167
- },
11168
- "parameters": [
11169
- {
11170
- "name": "subject",
11171
- "type": {
11172
- "text": "string"
11173
- }
11174
- },
11175
- {
11176
- "name": "pattern",
11177
- "type": {
11178
- "text": "string"
11179
- }
11180
- }
11181
- ]
11182
- },
11183
- {
11184
- "kind": "function",
11185
- "name": "fuzzySearch",
11186
- "return": {
11187
- "type": {
11188
- "text": "SearchResult"
11189
- }
11190
- },
11191
- "parameters": [
11192
- {
11193
- "name": "subject",
11194
- "type": {
11195
- "text": "string"
11196
- }
11197
- },
11198
- {
11199
- "name": "pattern",
11200
- "type": {
11201
- "text": "string"
11202
- }
11203
- }
11204
- ]
11205
- },
11206
- {
11207
- "kind": "function",
11208
- "name": "filterOptionsByPattern",
11209
- "return": {
11210
- "type": {
11211
- "text": "InternalOption[]"
11212
- }
11213
- },
11214
- "parameters": [
11215
- {
11216
- "name": "list",
11217
- "type": {
11218
- "text": "InternalOption[]"
11219
- }
11220
- },
11221
- {
11222
- "name": "pattern",
11223
- "type": {
11224
- "text": "string"
11225
- }
11226
- },
11227
- {
11228
- "name": "method",
11229
- "type": {
11230
- "text": "SearchMethod"
11231
- }
11232
- }
11233
- ]
11234
- },
11235
- {
11236
- "kind": "function",
11237
- "name": "highlightRanges",
11238
- "return": {
11239
- "type": {
11240
- "text": "TemplateResult | TemplateResult[]"
11241
- }
11242
- },
11243
- "parameters": [
11244
- {
11245
- "name": "text",
11246
- "type": {
11247
- "text": "string"
11248
- }
11249
- },
11250
- {
11251
- "name": "ranges",
11252
- "type": {
11253
- "text": "[number, number][]"
11254
- }
11255
- }
11256
- ]
11257
- }
11258
- ],
11259
- "exports": [
11260
- {
11261
- "kind": "js",
11262
- "name": "startsWithPerTermSearch",
11263
- "declaration": {
11264
- "name": "startsWithPerTermSearch",
11265
- "module": "src/includes/vscode-select/helpers.ts"
11266
- }
11267
- },
11268
- {
11269
- "kind": "js",
11270
- "name": "startsWithSearch",
11271
- "declaration": {
11272
- "name": "startsWithSearch",
11273
- "module": "src/includes/vscode-select/helpers.ts"
11274
- }
11275
- },
11276
- {
11277
- "kind": "js",
11278
- "name": "containsSearch",
11279
- "declaration": {
11280
- "name": "containsSearch",
11281
- "module": "src/includes/vscode-select/helpers.ts"
11282
- }
11283
- },
11284
- {
11285
- "kind": "js",
11286
- "name": "fuzzySearch",
11287
- "declaration": {
11288
- "name": "fuzzySearch",
11289
- "module": "src/includes/vscode-select/helpers.ts"
11290
- }
11291
- },
11292
- {
11293
- "kind": "js",
11294
- "name": "filterOptionsByPattern",
11295
- "declaration": {
11296
- "name": "filterOptionsByPattern",
11297
- "module": "src/includes/vscode-select/helpers.ts"
11298
- }
11299
- },
11300
- {
11301
- "kind": "js",
11302
- "name": "highlightRanges",
11303
- "declaration": {
11304
- "name": "highlightRanges",
11305
- "module": "src/includes/vscode-select/helpers.ts"
11306
- }
11307
- }
11308
- ]
11309
- },
11310
- {
11311
- "kind": "javascript-module",
11312
- "path": "src/includes/vscode-select/styles.ts",
11313
- "declarations": [],
11314
- "exports": [
11315
- {
11316
- "kind": "js",
11317
- "name": "default",
11318
- "declaration": {
11319
- "module": "src/includes/vscode-select/styles.ts"
11320
- }
11321
- }
11322
- ]
11323
- },
11324
- {
11325
- "kind": "javascript-module",
11326
- "path": "src/includes/vscode-select/template-elements.ts",
11327
- "declarations": [
11328
- {
11329
- "kind": "variable",
11330
- "name": "chevronDownIcon",
11331
- "default": "html` <span class=\"icon\"> <svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" > <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M7.976 10.072l4.357-4.357.62.618L8.284 11h-.618L3 6.333l.619-.618 4.357 4.357z\" /> </svg> </span> `"
11332
- }
11333
- ],
11334
- "exports": [
11335
- {
11336
- "kind": "js",
11337
- "name": "chevronDownIcon",
11338
- "declaration": {
11339
- "name": "chevronDownIcon",
11340
- "module": "src/includes/vscode-select/template-elements.ts"
11341
- }
11342
- }
11343
- ]
11344
- },
11345
- {
11346
- "kind": "javascript-module",
11347
- "path": "src/includes/vscode-select/types.ts",
11348
- "declarations": [],
11349
- "exports": []
11350
- },
11351
- {
11352
- "kind": "javascript-module",
11353
- "path": "src/includes/vscode-select/vscode-select-base.ts",
11354
- "declarations": [
11355
- {
11356
- "kind": "class",
11357
- "description": "",
11358
- "name": "VscodeSelectBase",
11359
- "cssProperties": [
11360
- {
11361
- "description": "workaround for dropdown z-index issues",
11362
- "name": "--dropdown-z-index"
11363
- }
11364
- ],
11365
- "members": [
11366
- {
11367
- "kind": "field",
11368
- "name": "combobox",
11369
- "type": {
11370
- "text": "boolean"
11371
- },
11372
- "default": "false",
11373
- "description": "Options can be filtered by typing into a text input field.",
11374
- "attribute": "combobox",
11375
- "reflects": true
11376
- },
11377
- {
11378
- "kind": "field",
11379
- "name": "disabled",
11380
- "description": "The element cannot be used and is not focusable.",
11381
- "type": {
11382
- "text": "boolean"
11383
- },
11384
- "attribute": "disabled",
11385
- "reflects": true
11386
- },
11387
- {
11388
- "kind": "field",
11389
- "name": "invalid",
11390
- "type": {
11391
- "text": "boolean"
11392
- },
11393
- "default": "false",
11394
- "description": "Sets the invalid state manually.",
11395
- "attribute": "invalid",
11396
- "reflects": true
11397
- },
11398
- {
11399
- "kind": "field",
11400
- "name": "filter",
11401
- "description": "Search method in the filtered list within the combobox mode.\n\n- contains - The list item includes the searched pattern at any position.\n- fuzzy - The list item contains the letters of the search pattern in the same order, but at any position.\n- startsWith - The search pattern matches the beginning of the searched text.\n- startsWithPerTerm - The search pattern matches the beginning of any word in the searched text.",
11402
- "default": "'fuzzy'",
11403
- "type": {
11404
- "text": "'contains' | 'fuzzy' | 'startsWith' | 'startsWithPerTerm'"
11405
- },
11406
- "attribute": "filter"
11407
- },
11408
- {
11409
- "kind": "field",
11410
- "name": "focused",
11411
- "type": {
11412
- "text": "boolean"
11413
- },
11414
- "default": "false",
11415
- "description": "Its value is true when element is focused.",
11416
- "attribute": "focused",
11417
- "reflects": true
11418
- },
11419
- {
11420
- "kind": "field",
11421
- "name": "open",
11422
- "type": {
11423
- "text": "boolean"
11424
- },
11425
- "default": "false",
11426
- "description": "Toggle the dropdown visibility.",
11427
- "attribute": "open",
11428
- "reflects": true
11429
- },
11430
- {
11431
- "kind": "field",
11432
- "name": "options",
11433
- "type": {
11434
- "text": "Option[]"
11435
- },
11436
- "attribute": "options"
11437
- },
11438
- {
11439
- "kind": "field",
11440
- "name": "position",
11441
- "type": {
11442
- "text": "'above' | 'below'"
11443
- },
11444
- "default": "'below'",
11445
- "description": "Position of the options list when visible.",
11446
- "attribute": "position",
11447
- "reflects": true
11448
- },
11449
- {
11450
- "kind": "field",
11451
- "name": "_assignedOptions",
11452
- "type": {
11453
- "text": "VscodeOption[]"
11454
- },
11455
- "privacy": "private"
11456
- },
11457
- {
11458
- "kind": "field",
11459
- "name": "_activeIndex",
11460
- "type": {
11461
- "text": "number"
11462
- },
11463
- "privacy": "protected",
11464
- "default": "-1"
11465
- },
11466
- {
11467
- "kind": "field",
11468
- "name": "_currentDescription",
11469
- "type": {
11470
- "text": "string"
11471
- },
11472
- "privacy": "protected",
11473
- "default": "''"
11474
- },
11475
- {
11476
- "kind": "field",
11477
- "name": "_filter",
11478
- "type": {
11479
- "text": "SearchMethod"
11480
- },
11481
- "privacy": "protected",
11482
- "default": "'fuzzy'"
11483
- },
11484
- {
11485
- "kind": "field",
11486
- "name": "_filteredOptions",
11487
- "type": {
11488
- "text": "InternalOption[]"
11489
- },
11490
- "privacy": "protected",
11491
- "readonly": true
11492
- },
11493
- {
11494
- "kind": "field",
11495
- "name": "_filterPattern",
11496
- "type": {
11497
- "text": "string"
11498
11090
  },
11499
- "privacy": "protected",
11500
- "default": "''"
11091
+ "description": "Closes all opened tree items recursively."
11501
11092
  },
11502
11093
  {
11503
- "kind": "field",
11504
- "name": "_selectedIndex",
11505
- "type": {
11506
- "text": "number"
11507
- },
11508
- "privacy": "protected",
11509
- "default": "-1"
11094
+ "kind": "method",
11095
+ "name": "deselectAll",
11096
+ "privacy": "public",
11097
+ "description": "Deselects all selected items."
11510
11098
  },
11511
11099
  {
11512
- "kind": "field",
11513
- "name": "_selectedIndexes",
11514
- "type": {
11515
- "text": "number[]"
11100
+ "kind": "method",
11101
+ "name": "getItemByPath",
11102
+ "privacy": "public",
11103
+ "return": {
11104
+ "type": {
11105
+ "text": ""
11106
+ }
11516
11107
  },
11517
- "privacy": "protected",
11518
- "default": "[]"
11108
+ "parameters": [
11109
+ {
11110
+ "name": "path",
11111
+ "type": {
11112
+ "text": "number[]"
11113
+ }
11114
+ }
11115
+ ],
11116
+ "description": "Returns a reference to a TreeItem object by path."
11519
11117
  },
11520
11118
  {
11521
- "kind": "field",
11522
- "name": "_options",
11523
- "type": {
11524
- "text": "InternalOption[]"
11119
+ "kind": "method",
11120
+ "name": "_getItemByPath",
11121
+ "privacy": "private",
11122
+ "return": {
11123
+ "type": {
11124
+ "text": "TreeItem | null"
11125
+ }
11525
11126
  },
11526
- "privacy": "protected",
11527
- "default": "[]"
11127
+ "parameters": [
11128
+ {
11129
+ "name": "path",
11130
+ "type": {
11131
+ "text": "number[]"
11132
+ }
11133
+ }
11134
+ ]
11528
11135
  },
11529
11136
  {
11530
- "kind": "field",
11531
- "name": "_value",
11532
- "type": {
11533
- "text": "string"
11534
- },
11535
- "privacy": "protected",
11536
- "default": "''"
11137
+ "kind": "method",
11138
+ "name": "_handleActionClick",
11139
+ "privacy": "private",
11140
+ "parameters": [
11141
+ {
11142
+ "name": "ev",
11143
+ "type": {
11144
+ "text": "MouseEvent"
11145
+ }
11146
+ }
11147
+ ]
11537
11148
  },
11538
11149
  {
11539
- "kind": "field",
11540
- "name": "_values",
11541
- "type": {
11542
- "text": "string[]"
11543
- },
11544
- "privacy": "protected",
11545
- "default": "[]"
11150
+ "kind": "method",
11151
+ "name": "_renderIconVariant",
11152
+ "privacy": "private",
11153
+ "parameters": [
11154
+ {
11155
+ "name": "variant",
11156
+ "type": {
11157
+ "text": "{value: string; type: IconType}"
11158
+ }
11159
+ }
11160
+ ]
11546
11161
  },
11547
11162
  {
11548
- "kind": "field",
11549
- "name": "_listScrollTop",
11550
- "type": {
11551
- "text": "number"
11163
+ "kind": "method",
11164
+ "name": "_renderIcon",
11165
+ "privacy": "private",
11166
+ "return": {
11167
+ "type": {
11168
+ "text": "TemplateResult"
11169
+ }
11552
11170
  },
11553
- "privacy": "protected",
11554
- "default": "0"
11171
+ "parameters": [
11172
+ {
11173
+ "name": "item",
11174
+ "type": {
11175
+ "text": "TreeItem"
11176
+ }
11177
+ }
11178
+ ]
11555
11179
  },
11556
11180
  {
11557
- "kind": "field",
11558
- "name": "_listElement",
11559
- "type": {
11560
- "text": "HTMLUListElement"
11181
+ "kind": "method",
11182
+ "name": "_renderArrow",
11183
+ "privacy": "private",
11184
+ "return": {
11185
+ "type": {
11186
+ "text": "TemplateResult"
11187
+ }
11561
11188
  },
11562
- "privacy": "private"
11189
+ "parameters": [
11190
+ {
11191
+ "name": "item",
11192
+ "type": {
11193
+ "text": "TreeItem"
11194
+ }
11195
+ }
11196
+ ]
11563
11197
  },
11564
11198
  {
11565
- "kind": "field",
11566
- "name": "_isHoverForbidden",
11567
- "type": {
11568
- "text": "boolean"
11569
- },
11199
+ "kind": "method",
11200
+ "name": "_renderActions",
11570
11201
  "privacy": "private",
11571
- "default": "false"
11572
- },
11573
- {
11574
- "kind": "field",
11575
- "name": "_disabled",
11576
- "type": {
11577
- "text": "boolean"
11202
+ "return": {
11203
+ "type": {
11204
+ "text": "TemplateResult"
11205
+ }
11578
11206
  },
11579
- "privacy": "private",
11580
- "default": "false"
11207
+ "parameters": [
11208
+ {
11209
+ "name": "item",
11210
+ "type": {
11211
+ "text": "TreeItem"
11212
+ }
11213
+ }
11214
+ ]
11581
11215
  },
11582
11216
  {
11583
- "kind": "field",
11584
- "name": "_originalTabIndex",
11585
- "type": {
11586
- "text": "number | undefined"
11587
- },
11217
+ "kind": "method",
11218
+ "name": "_renderDecorations",
11588
11219
  "privacy": "private",
11589
- "default": "undefined"
11220
+ "parameters": [
11221
+ {
11222
+ "name": "item",
11223
+ "type": {
11224
+ "text": "TreeItem"
11225
+ }
11226
+ }
11227
+ ]
11590
11228
  },
11591
11229
  {
11592
- "kind": "field",
11593
- "name": "_currentOptions",
11594
- "type": {
11595
- "text": "InternalOption[]"
11596
- },
11597
- "privacy": "protected",
11598
- "readonly": true
11230
+ "kind": "method",
11231
+ "name": "_renderTreeItem",
11232
+ "privacy": "private",
11233
+ "parameters": [
11234
+ {
11235
+ "name": "item",
11236
+ "type": {
11237
+ "text": "TreeItem"
11238
+ }
11239
+ },
11240
+ {
11241
+ "name": "additionalOptions",
11242
+ "type": {
11243
+ "text": "{\n path: number[];\n itemType: ItemType;\n hasFocusedItem: boolean;\n hasSelectedItem: boolean;\n }"
11244
+ }
11245
+ }
11246
+ ]
11599
11247
  },
11600
11248
  {
11601
11249
  "kind": "method",
11602
- "name": "_setStateFromSlottedElements",
11603
- "privacy": "protected"
11250
+ "name": "_renderTree",
11251
+ "privacy": "private",
11252
+ "parameters": [
11253
+ {
11254
+ "name": "tree",
11255
+ "type": {
11256
+ "text": "TreeItem[]"
11257
+ }
11258
+ },
11259
+ {
11260
+ "name": "oldPath",
11261
+ "default": "[]",
11262
+ "type": {
11263
+ "text": "number[]"
11264
+ }
11265
+ }
11266
+ ]
11604
11267
  },
11605
11268
  {
11606
11269
  "kind": "method",
11607
- "name": "_toggleDropdown",
11608
- "privacy": "protected",
11609
- "return": {
11610
- "type": {
11611
- "text": "Promise<void>"
11612
- }
11613
- },
11270
+ "name": "_selectItem",
11271
+ "privacy": "private",
11614
11272
  "parameters": [
11615
11273
  {
11616
- "name": "visible",
11274
+ "name": "item",
11617
11275
  "type": {
11618
- "text": "boolean"
11276
+ "text": "TreeItem"
11619
11277
  }
11620
11278
  }
11621
11279
  ]
11622
11280
  },
11623
11281
  {
11624
11282
  "kind": "method",
11625
- "name": "_dispatchChangeEvent",
11626
- "privacy": "protected",
11627
- "return": {
11628
- "type": {
11629
- "text": "void"
11283
+ "name": "_focusItem",
11284
+ "privacy": "private",
11285
+ "parameters": [
11286
+ {
11287
+ "name": "item",
11288
+ "type": {
11289
+ "text": "TreeItem"
11290
+ }
11630
11291
  }
11631
- }
11292
+ ]
11632
11293
  },
11633
11294
  {
11634
11295
  "kind": "method",
11635
- "name": "_onFaceClick",
11636
- "privacy": "protected",
11637
- "return": {
11638
- "type": {
11639
- "text": "void"
11296
+ "name": "_closeSubTreeRecursively",
11297
+ "privacy": "private",
11298
+ "parameters": [
11299
+ {
11300
+ "name": "tree",
11301
+ "type": {
11302
+ "text": "TreeItem[]"
11303
+ }
11640
11304
  }
11641
- }
11305
+ ]
11642
11306
  },
11643
11307
  {
11644
- "kind": "field",
11645
- "name": "_onClickOutside",
11646
- "privacy": "private"
11308
+ "kind": "method",
11309
+ "name": "_deselectItemsRecursively",
11310
+ "privacy": "private",
11311
+ "parameters": [
11312
+ {
11313
+ "name": "tree",
11314
+ "type": {
11315
+ "text": "TreeItem[]"
11316
+ }
11317
+ }
11318
+ ]
11647
11319
  },
11648
11320
  {
11649
- "kind": "field",
11650
- "name": "_onMouseMove",
11651
- "privacy": "private"
11321
+ "kind": "method",
11322
+ "name": "_emitSelectEvent",
11323
+ "privacy": "private",
11324
+ "parameters": [
11325
+ {
11326
+ "name": "item",
11327
+ "type": {
11328
+ "text": "TreeItem"
11329
+ }
11330
+ },
11331
+ {
11332
+ "name": "path",
11333
+ "type": {
11334
+ "text": "string"
11335
+ }
11336
+ }
11337
+ ]
11652
11338
  },
11653
11339
  {
11654
11340
  "kind": "method",
11655
- "name": "_toggleComboboxDropdown",
11341
+ "name": "_focusPrevItem",
11656
11342
  "privacy": "private"
11657
11343
  },
11658
11344
  {
11659
11345
  "kind": "method",
11660
- "name": "_onComboboxButtonClick",
11661
- "privacy": "protected",
11662
- "return": {
11663
- "type": {
11664
- "text": "void"
11665
- }
11666
- }
11346
+ "name": "_focusNextItem",
11347
+ "privacy": "private"
11667
11348
  },
11668
11349
  {
11669
11350
  "kind": "method",
11670
- "name": "_onComboboxButtonKeyDown",
11671
- "privacy": "protected",
11672
- "return": {
11673
- "type": {
11674
- "text": "void"
11675
- }
11676
- },
11351
+ "name": "_handleClick",
11352
+ "privacy": "private",
11677
11353
  "parameters": [
11678
11354
  {
11679
- "name": "ev",
11355
+ "name": "event",
11680
11356
  "type": {
11681
- "text": "KeyboardEvent"
11357
+ "text": "MouseEvent"
11682
11358
  }
11683
11359
  }
11684
11360
  ]
11685
11361
  },
11686
11362
  {
11687
11363
  "kind": "method",
11688
- "name": "_onOptionMouseOver",
11689
- "privacy": "protected",
11690
- "return": {
11691
- "type": {
11692
- "text": "void"
11693
- }
11694
- },
11364
+ "name": "_handleComponentKeyDown",
11365
+ "privacy": "private",
11695
11366
  "parameters": [
11696
11367
  {
11697
11368
  "name": "ev",
11698
11369
  "type": {
11699
- "text": "MouseEvent"
11370
+ "text": "KeyboardEvent"
11700
11371
  }
11701
11372
  }
11702
11373
  ]
11703
11374
  },
11704
11375
  {
11705
- "kind": "method",
11706
- "name": "_onEnterKeyDown",
11707
- "privacy": "protected",
11708
- "return": {
11709
- "type": {
11710
- "text": "void"
11711
- }
11376
+ "kind": "field",
11377
+ "name": "_handleComponentKeyDownBound",
11378
+ "privacy": "private"
11379
+ },
11380
+ {
11381
+ "kind": "field",
11382
+ "name": "_version",
11383
+ "type": {
11384
+ "text": "string"
11385
+ },
11386
+ "privacy": "private",
11387
+ "default": "'1.12.0'",
11388
+ "inheritedFrom": {
11389
+ "name": "VscElement",
11390
+ "module": "src/includes/VscElement.ts"
11712
11391
  }
11713
11392
  },
11714
11393
  {
11715
- "kind": "method",
11716
- "name": "_onSpaceKeyDown",
11717
- "privacy": "private"
11394
+ "kind": "field",
11395
+ "name": "version",
11396
+ "type": {
11397
+ "text": "string"
11398
+ },
11399
+ "description": "VSCode Elements version",
11400
+ "readonly": true,
11401
+ "inheritedFrom": {
11402
+ "name": "VscElement",
11403
+ "module": "src/includes/VscElement.ts"
11404
+ }
11405
+ }
11406
+ ],
11407
+ "events": [
11408
+ {
11409
+ "name": "vsc-run-action",
11410
+ "type": {
11411
+ "text": "CustomEvent"
11412
+ },
11413
+ "deprecated": "Renamed to `vsc-tree-action`",
11414
+ "description": "Dispatched when an action icon is clicked."
11718
11415
  },
11719
11416
  {
11720
- "kind": "method",
11721
- "name": "_scrollActiveElementToTop",
11722
- "privacy": "private"
11417
+ "name": "vsc-select",
11418
+ "type": {
11419
+ "text": "CustomEvent"
11420
+ },
11421
+ "deprecated": "Renamed to `vsc-tree-select`",
11422
+ "description": "Dispatched when an item is selected."
11423
+ },
11424
+ {
11425
+ "type": {
11426
+ "text": "VscTreeSelectEvent"
11427
+ },
11428
+ "description": "Dispatched when an item is selected.",
11429
+ "name": "vsc-tree-select"
11430
+ },
11431
+ {
11432
+ "type": {
11433
+ "text": "VscTreeActionEvent"
11434
+ },
11435
+ "description": "Dispatched when an action icon is clicked.",
11436
+ "name": "vsc-tree-action"
11437
+ }
11438
+ ],
11439
+ "attributes": [
11440
+ {
11441
+ "name": "data",
11442
+ "type": {
11443
+ "text": "TreeItem[]"
11444
+ },
11445
+ "fieldName": "data"
11446
+ },
11447
+ {
11448
+ "name": "indent",
11449
+ "type": {
11450
+ "text": "number"
11451
+ },
11452
+ "default": "8",
11453
+ "fieldName": "indent"
11454
+ },
11455
+ {
11456
+ "name": "arrows",
11457
+ "type": {
11458
+ "text": "boolean"
11459
+ },
11460
+ "default": "false",
11461
+ "fieldName": "arrows"
11462
+ },
11463
+ {
11464
+ "name": "multiline",
11465
+ "type": {
11466
+ "text": "boolean"
11467
+ },
11468
+ "default": "false",
11469
+ "fieldName": "multiline"
11723
11470
  },
11724
11471
  {
11725
- "kind": "method",
11726
- "name": "_adjustOptionListScrollPos",
11727
- "privacy": "private",
11728
- "parameters": [
11729
- {
11730
- "name": "direction",
11731
- "type": {
11732
- "text": "'down' | 'up'"
11733
- }
11734
- }
11735
- ]
11472
+ "name": "tabindex",
11473
+ "type": {
11474
+ "text": "number"
11475
+ },
11476
+ "default": "0",
11477
+ "fieldName": "tabindex"
11736
11478
  },
11737
11479
  {
11738
- "kind": "method",
11739
- "name": "_onArrowUpKeyDown",
11740
- "privacy": "protected",
11741
- "return": {
11742
- "type": {
11743
- "text": "void"
11744
- }
11745
- }
11746
- },
11480
+ "name": "indent-guides",
11481
+ "type": {
11482
+ "text": "boolean"
11483
+ },
11484
+ "default": "false",
11485
+ "fieldName": "indentGuides"
11486
+ }
11487
+ ],
11488
+ "superclass": {
11489
+ "name": "VscElement",
11490
+ "module": "/src/includes/VscElement.js"
11491
+ },
11492
+ "tagName": "vscode-tree",
11493
+ "customElement": true
11494
+ }
11495
+ ],
11496
+ "exports": [
11497
+ {
11498
+ "kind": "js",
11499
+ "name": "VscodeTree",
11500
+ "declaration": {
11501
+ "name": "VscodeTree",
11502
+ "module": "src/vscode-tree/vscode-tree.ts"
11503
+ }
11504
+ },
11505
+ {
11506
+ "kind": "custom-element-definition",
11507
+ "name": "vscode-tree",
11508
+ "declaration": {
11509
+ "name": "VscodeTree",
11510
+ "module": "src/vscode-tree/vscode-tree.ts"
11511
+ }
11512
+ }
11513
+ ]
11514
+ },
11515
+ {
11516
+ "kind": "javascript-module",
11517
+ "path": "src/includes/form-button-widget/FormButtonWidgetBase.ts",
11518
+ "declarations": [
11519
+ {
11520
+ "kind": "class",
11521
+ "description": "",
11522
+ "name": "FormButtonWidgetBase",
11523
+ "members": [
11747
11524
  {
11748
- "kind": "method",
11749
- "name": "_onArrowDownKeyDown",
11750
- "privacy": "protected",
11751
- "return": {
11752
- "type": {
11753
- "text": "void"
11754
- }
11755
- }
11525
+ "kind": "field",
11526
+ "name": "focused",
11527
+ "type": {
11528
+ "text": "boolean"
11529
+ },
11530
+ "default": "false",
11531
+ "attribute": "focused",
11532
+ "reflects": true
11756
11533
  },
11757
11534
  {
11758
- "kind": "method",
11759
- "name": "_onComponentKeyDown",
11535
+ "kind": "field",
11536
+ "name": "_prevTabindex",
11537
+ "type": {
11538
+ "text": "number"
11539
+ },
11760
11540
  "privacy": "private",
11761
- "parameters": [
11762
- {
11763
- "name": "event",
11764
- "type": {
11765
- "text": "KeyboardEvent"
11766
- }
11767
- }
11768
- ]
11541
+ "default": "0"
11769
11542
  },
11770
11543
  {
11771
- "kind": "method",
11772
- "name": "_onComponentFocus",
11544
+ "kind": "field",
11545
+ "name": "_handleFocus",
11773
11546
  "privacy": "private"
11774
11547
  },
11775
11548
  {
11776
- "kind": "method",
11777
- "name": "_onComponentBlur",
11549
+ "kind": "field",
11550
+ "name": "_handleBlur",
11778
11551
  "privacy": "private"
11779
11552
  },
11780
11553
  {
11781
- "kind": "method",
11782
- "name": "_onSlotChange",
11783
- "privacy": "protected",
11784
- "return": {
11785
- "type": {
11786
- "text": "void"
11787
- }
11554
+ "kind": "field",
11555
+ "name": "_version",
11556
+ "type": {
11557
+ "text": "string"
11558
+ },
11559
+ "privacy": "private",
11560
+ "default": "'1.12.0'",
11561
+ "inheritedFrom": {
11562
+ "name": "VscElement",
11563
+ "module": "src/includes/VscElement.ts"
11788
11564
  }
11789
11565
  },
11790
11566
  {
11791
- "kind": "method",
11792
- "name": "_onComboboxInputFocus",
11793
- "privacy": "protected",
11794
- "return": {
11795
- "type": {
11796
- "text": "void"
11797
- }
11567
+ "kind": "field",
11568
+ "name": "version",
11569
+ "type": {
11570
+ "text": "string"
11798
11571
  },
11799
- "parameters": [
11800
- {
11801
- "name": "ev",
11802
- "type": {
11803
- "text": "FocusEvent"
11804
- }
11805
- }
11806
- ]
11807
- },
11572
+ "description": "VSCode Elements version",
11573
+ "readonly": true,
11574
+ "inheritedFrom": {
11575
+ "name": "VscElement",
11576
+ "module": "src/includes/VscElement.ts"
11577
+ }
11578
+ }
11579
+ ],
11580
+ "attributes": [
11808
11581
  {
11809
- "kind": "method",
11810
- "name": "_onComboboxInputInput",
11811
- "privacy": "protected",
11812
- "return": {
11813
- "type": {
11814
- "text": "void"
11815
- }
11582
+ "name": "focused",
11583
+ "type": {
11584
+ "text": "boolean"
11816
11585
  },
11817
- "parameters": [
11818
- {
11819
- "name": "ev",
11820
- "type": {
11821
- "text": "InputEvent"
11822
- }
11823
- }
11824
- ]
11586
+ "default": "false",
11587
+ "fieldName": "focused"
11588
+ }
11589
+ ],
11590
+ "superclass": {
11591
+ "name": "VscElement",
11592
+ "module": "/src/includes/VscElement.js"
11593
+ }
11594
+ }
11595
+ ],
11596
+ "exports": [
11597
+ {
11598
+ "kind": "js",
11599
+ "name": "FormButtonWidgetBase",
11600
+ "declaration": {
11601
+ "name": "FormButtonWidgetBase",
11602
+ "module": "src/includes/form-button-widget/FormButtonWidgetBase.ts"
11603
+ }
11604
+ }
11605
+ ]
11606
+ },
11607
+ {
11608
+ "kind": "javascript-module",
11609
+ "path": "src/includes/form-button-widget/LabelledCheckboxOrRadio.ts",
11610
+ "declarations": [
11611
+ {
11612
+ "kind": "class",
11613
+ "description": "",
11614
+ "name": "LabelledCheckboxOrRadioInterface",
11615
+ "members": [
11616
+ {
11617
+ "kind": "field",
11618
+ "name": "label",
11619
+ "type": {
11620
+ "text": "string"
11621
+ }
11825
11622
  },
11826
11623
  {
11827
11624
  "kind": "method",
11828
- "name": "_onComboboxInputClick",
11625
+ "name": "_handleSlotChange",
11829
11626
  "privacy": "protected",
11830
11627
  "return": {
11831
11628
  "type": {
@@ -11835,693 +11632,894 @@
11835
11632
  },
11836
11633
  {
11837
11634
  "kind": "method",
11838
- "name": "_renderOptions",
11635
+ "name": "_renderLabelAttribute",
11839
11636
  "privacy": "protected",
11840
11637
  "return": {
11841
11638
  "type": {
11842
- "text": "TemplateResult | TemplateResult[]"
11639
+ "text": "TemplateResult"
11843
11640
  }
11844
11641
  }
11642
+ }
11643
+ ]
11644
+ },
11645
+ {
11646
+ "kind": "mixin",
11647
+ "description": "",
11648
+ "name": "LabelledCheckboxOrRadioMixin",
11649
+ "members": [
11650
+ {
11651
+ "kind": "field",
11652
+ "name": "label",
11653
+ "type": {
11654
+ "text": "string"
11655
+ },
11656
+ "attribute": "label"
11845
11657
  },
11846
11658
  {
11847
- "kind": "method",
11848
- "name": "_renderDescription",
11849
- "privacy": "private"
11659
+ "kind": "field",
11660
+ "name": "_label",
11661
+ "type": {
11662
+ "text": "string"
11663
+ },
11664
+ "privacy": "private",
11665
+ "default": "''"
11850
11666
  },
11851
11667
  {
11852
- "kind": "method",
11853
- "name": "_renderSelectFace",
11854
- "privacy": "protected",
11855
- "return": {
11856
- "type": {
11857
- "text": "TemplateResult"
11858
- }
11859
- }
11668
+ "kind": "field",
11669
+ "name": "_slottedText",
11670
+ "type": {
11671
+ "text": "string"
11672
+ },
11673
+ "privacy": "private",
11674
+ "default": "''"
11860
11675
  },
11861
11676
  {
11862
11677
  "kind": "method",
11863
- "name": "_renderComboboxFace",
11678
+ "name": "_handleSlotChange",
11864
11679
  "privacy": "protected",
11865
11680
  "return": {
11866
11681
  "type": {
11867
- "text": "TemplateResult"
11682
+ "text": "void"
11868
11683
  }
11869
11684
  }
11870
11685
  },
11871
11686
  {
11872
11687
  "kind": "method",
11873
- "name": "_renderDropdownControls",
11688
+ "name": "_renderLabelAttribute",
11874
11689
  "privacy": "protected",
11875
11690
  "return": {
11876
11691
  "type": {
11877
11692
  "text": "TemplateResult"
11878
11693
  }
11879
11694
  }
11695
+ }
11696
+ ],
11697
+ "attributes": [
11698
+ {
11699
+ "name": "label",
11700
+ "type": {
11701
+ "text": "string"
11702
+ },
11703
+ "fieldName": "label"
11704
+ }
11705
+ ],
11706
+ "parameters": [
11707
+ {
11708
+ "name": "superClass",
11709
+ "type": {
11710
+ "text": "T"
11711
+ }
11712
+ }
11713
+ ]
11714
+ }
11715
+ ],
11716
+ "exports": [
11717
+ {
11718
+ "kind": "js",
11719
+ "name": "LabelledCheckboxOrRadioInterface",
11720
+ "declaration": {
11721
+ "name": "LabelledCheckboxOrRadioInterface",
11722
+ "module": "src/includes/form-button-widget/LabelledCheckboxOrRadio.ts"
11723
+ }
11724
+ },
11725
+ {
11726
+ "kind": "js",
11727
+ "name": "LabelledCheckboxOrRadioMixin",
11728
+ "declaration": {
11729
+ "name": "LabelledCheckboxOrRadioMixin",
11730
+ "module": "src/includes/form-button-widget/LabelledCheckboxOrRadio.ts"
11731
+ }
11732
+ }
11733
+ ]
11734
+ },
11735
+ {
11736
+ "kind": "javascript-module",
11737
+ "path": "src/includes/form-button-widget/base.styles.ts",
11738
+ "declarations": [],
11739
+ "exports": [
11740
+ {
11741
+ "kind": "js",
11742
+ "name": "default",
11743
+ "declaration": {
11744
+ "module": "src/includes/form-button-widget/base.styles.ts"
11745
+ }
11746
+ }
11747
+ ]
11748
+ },
11749
+ {
11750
+ "kind": "javascript-module",
11751
+ "path": "src/includes/vscode-select/helpers.ts",
11752
+ "declarations": [
11753
+ {
11754
+ "kind": "function",
11755
+ "name": "startsWithPerTermSearch",
11756
+ "return": {
11757
+ "type": {
11758
+ "text": "SearchResult"
11759
+ }
11760
+ },
11761
+ "parameters": [
11762
+ {
11763
+ "name": "subject",
11764
+ "type": {
11765
+ "text": "string"
11766
+ }
11880
11767
  },
11881
11768
  {
11882
- "kind": "method",
11883
- "name": "_renderDropdown",
11884
- "privacy": "private"
11769
+ "name": "pattern",
11770
+ "type": {
11771
+ "text": "string"
11772
+ }
11773
+ }
11774
+ ]
11775
+ },
11776
+ {
11777
+ "kind": "function",
11778
+ "name": "startsWithSearch",
11779
+ "return": {
11780
+ "type": {
11781
+ "text": "SearchResult"
11782
+ }
11783
+ },
11784
+ "parameters": [
11785
+ {
11786
+ "name": "subject",
11787
+ "type": {
11788
+ "text": "string"
11789
+ }
11885
11790
  },
11886
11791
  {
11887
- "kind": "field",
11888
- "name": "_version",
11792
+ "name": "pattern",
11793
+ "type": {
11794
+ "text": "string"
11795
+ }
11796
+ }
11797
+ ]
11798
+ },
11799
+ {
11800
+ "kind": "function",
11801
+ "name": "containsSearch",
11802
+ "return": {
11803
+ "type": {
11804
+ "text": "SearchResult"
11805
+ }
11806
+ },
11807
+ "parameters": [
11808
+ {
11809
+ "name": "subject",
11889
11810
  "type": {
11890
11811
  "text": "string"
11891
- },
11892
- "privacy": "private",
11893
- "default": "'1.11.1-pre.3'",
11894
- "inheritedFrom": {
11895
- "name": "VscElement",
11896
- "module": "src/includes/VscElement.ts"
11897
11812
  }
11898
11813
  },
11899
11814
  {
11900
- "kind": "field",
11901
- "name": "version",
11815
+ "name": "pattern",
11902
11816
  "type": {
11903
11817
  "text": "string"
11904
- },
11905
- "description": "VSCode Elements version",
11906
- "readonly": true,
11907
- "inheritedFrom": {
11908
- "name": "VscElement",
11909
- "module": "src/includes/VscElement.ts"
11910
11818
  }
11911
11819
  }
11912
- ],
11913
- "events": [
11820
+ ]
11821
+ },
11822
+ {
11823
+ "kind": "function",
11824
+ "name": "fuzzySearch",
11825
+ "return": {
11826
+ "type": {
11827
+ "text": "SearchResult"
11828
+ }
11829
+ },
11830
+ "parameters": [
11914
11831
  {
11915
- "name": "vsc-change",
11832
+ "name": "subject",
11916
11833
  "type": {
11917
- "text": "CustomEvent"
11918
- },
11919
- "deprecated": "true"
11834
+ "text": "string"
11835
+ }
11920
11836
  },
11921
11837
  {
11922
- "name": "change",
11838
+ "name": "pattern",
11923
11839
  "type": {
11924
- "text": "Event"
11840
+ "text": "string"
11841
+ }
11842
+ }
11843
+ ]
11844
+ },
11845
+ {
11846
+ "kind": "function",
11847
+ "name": "filterOptionsByPattern",
11848
+ "return": {
11849
+ "type": {
11850
+ "text": "InternalOption[]"
11851
+ }
11852
+ },
11853
+ "parameters": [
11854
+ {
11855
+ "name": "list",
11856
+ "type": {
11857
+ "text": "InternalOption[]"
11858
+ }
11859
+ },
11860
+ {
11861
+ "name": "pattern",
11862
+ "type": {
11863
+ "text": "string"
11864
+ }
11865
+ },
11866
+ {
11867
+ "name": "method",
11868
+ "type": {
11869
+ "text": "SearchMethod"
11870
+ }
11871
+ }
11872
+ ]
11873
+ },
11874
+ {
11875
+ "kind": "function",
11876
+ "name": "highlightRanges",
11877
+ "return": {
11878
+ "type": {
11879
+ "text": "TemplateResult | TemplateResult[]"
11880
+ }
11881
+ },
11882
+ "parameters": [
11883
+ {
11884
+ "name": "text",
11885
+ "type": {
11886
+ "text": "string"
11925
11887
  }
11926
11888
  },
11927
11889
  {
11928
- "name": "input",
11929
- "type": {
11930
- "text": "Event"
11931
- }
11890
+ "name": "ranges",
11891
+ "type": {
11892
+ "text": "[number, number][]"
11893
+ }
11894
+ }
11895
+ ]
11896
+ }
11897
+ ],
11898
+ "exports": [
11899
+ {
11900
+ "kind": "js",
11901
+ "name": "startsWithPerTermSearch",
11902
+ "declaration": {
11903
+ "name": "startsWithPerTermSearch",
11904
+ "module": "src/includes/vscode-select/helpers.ts"
11905
+ }
11906
+ },
11907
+ {
11908
+ "kind": "js",
11909
+ "name": "startsWithSearch",
11910
+ "declaration": {
11911
+ "name": "startsWithSearch",
11912
+ "module": "src/includes/vscode-select/helpers.ts"
11913
+ }
11914
+ },
11915
+ {
11916
+ "kind": "js",
11917
+ "name": "containsSearch",
11918
+ "declaration": {
11919
+ "name": "containsSearch",
11920
+ "module": "src/includes/vscode-select/helpers.ts"
11921
+ }
11922
+ },
11923
+ {
11924
+ "kind": "js",
11925
+ "name": "fuzzySearch",
11926
+ "declaration": {
11927
+ "name": "fuzzySearch",
11928
+ "module": "src/includes/vscode-select/helpers.ts"
11929
+ }
11930
+ },
11931
+ {
11932
+ "kind": "js",
11933
+ "name": "filterOptionsByPattern",
11934
+ "declaration": {
11935
+ "name": "filterOptionsByPattern",
11936
+ "module": "src/includes/vscode-select/helpers.ts"
11937
+ }
11938
+ },
11939
+ {
11940
+ "kind": "js",
11941
+ "name": "highlightRanges",
11942
+ "declaration": {
11943
+ "name": "highlightRanges",
11944
+ "module": "src/includes/vscode-select/helpers.ts"
11945
+ }
11946
+ }
11947
+ ]
11948
+ },
11949
+ {
11950
+ "kind": "javascript-module",
11951
+ "path": "src/includes/vscode-select/styles.ts",
11952
+ "declarations": [],
11953
+ "exports": [
11954
+ {
11955
+ "kind": "js",
11956
+ "name": "default",
11957
+ "declaration": {
11958
+ "module": "src/includes/vscode-select/styles.ts"
11959
+ }
11960
+ }
11961
+ ]
11962
+ },
11963
+ {
11964
+ "kind": "javascript-module",
11965
+ "path": "src/includes/vscode-select/template-elements.ts",
11966
+ "declarations": [
11967
+ {
11968
+ "kind": "variable",
11969
+ "name": "chevronDownIcon",
11970
+ "default": "html` <span class=\"icon\"> <svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" > <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M7.976 10.072l4.357-4.357.62.618L8.284 11h-.618L3 6.333l.619-.618 4.357 4.357z\" /> </svg> </span> `"
11971
+ }
11972
+ ],
11973
+ "exports": [
11974
+ {
11975
+ "kind": "js",
11976
+ "name": "chevronDownIcon",
11977
+ "declaration": {
11978
+ "name": "chevronDownIcon",
11979
+ "module": "src/includes/vscode-select/template-elements.ts"
11980
+ }
11981
+ }
11982
+ ]
11983
+ },
11984
+ {
11985
+ "kind": "javascript-module",
11986
+ "path": "src/includes/vscode-select/types.ts",
11987
+ "declarations": [],
11988
+ "exports": []
11989
+ },
11990
+ {
11991
+ "kind": "javascript-module",
11992
+ "path": "src/includes/vscode-select/vscode-select-base.ts",
11993
+ "declarations": [
11994
+ {
11995
+ "kind": "class",
11996
+ "description": "",
11997
+ "name": "VscodeSelectBase",
11998
+ "cssProperties": [
11999
+ {
12000
+ "description": "workaround for dropdown z-index issues",
12001
+ "name": "--dropdown-z-index"
11932
12002
  }
11933
12003
  ],
11934
- "attributes": [
11935
- {
11936
- "name": "options",
11937
- "type": {
11938
- "text": "Option[]"
11939
- },
11940
- "fieldName": "options",
11941
- "attribute": "options"
11942
- },
12004
+ "members": [
11943
12005
  {
12006
+ "kind": "field",
11944
12007
  "name": "combobox",
11945
12008
  "type": {
11946
12009
  "text": "boolean"
11947
12010
  },
11948
12011
  "default": "false",
11949
12012
  "description": "Options can be filtered by typing into a text input field.",
11950
- "fieldName": "combobox"
12013
+ "attribute": "combobox",
12014
+ "reflects": true
11951
12015
  },
11952
12016
  {
12017
+ "kind": "field",
11953
12018
  "name": "disabled",
11954
12019
  "description": "The element cannot be used and is not focusable.",
11955
12020
  "type": {
11956
12021
  "text": "boolean"
11957
12022
  },
11958
- "fieldName": "disabled"
12023
+ "attribute": "disabled",
12024
+ "reflects": true
11959
12025
  },
11960
12026
  {
12027
+ "kind": "field",
11961
12028
  "name": "invalid",
11962
12029
  "type": {
11963
12030
  "text": "boolean"
11964
12031
  },
11965
12032
  "default": "false",
11966
12033
  "description": "Sets the invalid state manually.",
11967
- "fieldName": "invalid"
12034
+ "attribute": "invalid",
12035
+ "reflects": true
11968
12036
  },
11969
12037
  {
12038
+ "kind": "field",
11970
12039
  "name": "filter",
11971
12040
  "description": "Search method in the filtered list within the combobox mode.\n\n- contains - The list item includes the searched pattern at any position.\n- fuzzy - The list item contains the letters of the search pattern in the same order, but at any position.\n- startsWith - The search pattern matches the beginning of the searched text.\n- startsWithPerTerm - The search pattern matches the beginning of any word in the searched text.",
11972
12041
  "default": "'fuzzy'",
11973
12042
  "type": {
11974
12043
  "text": "'contains' | 'fuzzy' | 'startsWith' | 'startsWithPerTerm'"
11975
12044
  },
11976
- "fieldName": "filter"
12045
+ "attribute": "filter"
11977
12046
  },
11978
12047
  {
12048
+ "kind": "field",
11979
12049
  "name": "focused",
11980
12050
  "type": {
11981
12051
  "text": "boolean"
11982
12052
  },
11983
12053
  "default": "false",
11984
12054
  "description": "Its value is true when element is focused.",
11985
- "fieldName": "focused"
12055
+ "attribute": "focused",
12056
+ "reflects": true
11986
12057
  },
11987
12058
  {
12059
+ "kind": "field",
11988
12060
  "name": "open",
11989
12061
  "type": {
11990
12062
  "text": "boolean"
11991
12063
  },
11992
12064
  "default": "false",
11993
12065
  "description": "Toggle the dropdown visibility.",
11994
- "fieldName": "open"
12066
+ "attribute": "open",
12067
+ "reflects": true
12068
+ },
12069
+ {
12070
+ "kind": "field",
12071
+ "name": "options",
12072
+ "type": {
12073
+ "text": "Option[]"
12074
+ },
12075
+ "attribute": "options"
11995
12076
  },
11996
12077
  {
12078
+ "kind": "field",
11997
12079
  "name": "position",
11998
12080
  "type": {
11999
12081
  "text": "'above' | 'below'"
12000
12082
  },
12001
12083
  "default": "'below'",
12002
12084
  "description": "Position of the options list when visible.",
12003
- "fieldName": "position"
12004
- }
12005
- ],
12006
- "superclass": {
12007
- "name": "VscElement",
12008
- "module": "/src/includes/VscElement.js"
12009
- }
12010
- }
12011
- ],
12012
- "exports": [
12013
- {
12014
- "kind": "js",
12015
- "name": "VscodeSelectBase",
12016
- "declaration": {
12017
- "name": "VscodeSelectBase",
12018
- "module": "src/includes/vscode-select/vscode-select-base.ts"
12019
- }
12020
- }
12021
- ]
12022
- },
12023
- {
12024
- "kind": "javascript-module",
12025
- "path": "src/vscode-tree/vscode-tree.styles.ts",
12026
- "declarations": [
12027
- {
12028
- "kind": "variable",
12029
- "name": "styles",
12030
- "type": {
12031
- "text": "CSSResultGroup"
12032
- },
12033
- "default": "[ defaultStyles, css` :host { --hover-outline-color: transparent; --hover-outline-style: solid; --hover-outline-width: 0; --selected-outline-color: transparent; --selected-outline-style: solid; --selected-outline-width: 0; display: block; outline: none; user-select: none; } .wrapper { height: 100%; } li { list-style: none; } ul, li { margin: 0; padding: 0; } ul { position: relative; } :host([indent-guides]) ul ul:before { content: ''; display: block; height: 100%; position: absolute; bottom: 0; left: var(--indent-guide-pos); top: 0; pointer-events: none; width: 1px; z-index: 1; } .contents { align-items: center; display: flex; font-family: var(--vscode-font-family); font-size: var(--vscode-font-size); font-weight: var(--vscode-font-weight); outline-offset: -1px; padding-right: 12px; } .multi .contents { align-items: flex-start; } .contents:hover { cursor: pointer; } .arrow-container { align-items: center; display: flex; height: 22px; justify-content: center; padding-left: 8px; padding-right: 6px; width: 16px; } .icon-arrow { color: currentColor; display: block; } .theme-icon { display: block; flex-shrink: 0; margin-right: 6px; } .image-icon { background-repeat: no-repeat; background-position: 0 center; background-size: 16px; display: block; flex-shrink: 0; margin-right: 6px; height: 22px; width: 16px; } .multi .contents .theme-icon { margin-top: 3px; } .text-content { display: flex; line-height: 22px; } .single .text-content { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: 100%; } .description { font-size: 0.9em; line-height: 22px; margin-left: 0.5em; opacity: 0.95; white-space: pre; } .actions { display: none; } .contents.selected > .actions, .contents.focused > .actions, .contents:hover > .actions { display: flex; } .decorations { align-items: center; display: flex; height: 22px; margin-left: 5px; } .filled-circle { margin-right: 3px; opacity: 0.4; } .decoration-text { font-size: 90%; font-weight: 600; margin-right: 3px; opacity: 0.75; } .filled-circle, .decoration-text { color: var(--color, currentColor); } .contents:hover .filled-circle, .contents:hover .decoration-text { color: var(--hover-color, var(--color)); } .contents.focused .filled-circle, .contents.focused .decoration-text { color: var(--focused-color, var(--color)); } .contents.selected .filled-circle, .contents.selected .decoration-text { color: var(--selected-color, var(--color)); } /* Theme colors */ :host(:focus) .wrapper.has-not-focused-item { outline: 1px solid var(--vscode-focusBorder); } :host(:focus) .contents.selected, :host(:focus) .contents.focused.selected { color: var(--vscode-list-activeSelectionForeground); background-color: var(--vscode-list-activeSelectionBackground); } :host(:focus) .contents.selected .icon-arrow, :host(:focus) .contents.selected.focused .icon-arrow, :host(:focus) .contents.selected .theme-icon, :host(:focus) .contents.selected.focused .theme-icon, :host(:focus) .contents.selected .action-icon, :host(:focus) .contents.selected.focused .action-icon { color: var(--vscode-list-activeSelectionIconForeground); } :host(:focus) .contents.focused { color: var(--vscode-list-focusForeground); background-color: var(--vscode-list-focusBackground); } :host(:focus) .contents.selected.focused { outline-color: var( --vscode-list-focusAndSelectionOutline, var(--vscode-list-focusOutline) ); } .contents:hover { background-color: var(--vscode-list-hoverBackground); color: var(--vscode-list-hoverForeground); } .contents:hover, .contents.selected:hover { outline-color: var(--hover-outline-color); outline-style: var(--hover-outline-style); outline-width: var(--hover-outline-width); } .contents.selected, .contents.selected.focused { background-color: var(--vscode-list-inactiveSelectionBackground); color: var(--vscode-list-inactiveSelectionForeground); } .contents.selected, .contents.selected.focused { outline-color: var(--selected-outline-color); outline-style: var(--selected-outline-style); outline-width: var(--selected-outline-width); } .contents.selected .theme-icon { color: var(--vscode-list-inactiveSelectionIconForeground); } .contents.focused { background-color: var(--vscode-list-inactiveFocusBackground); outline: 1px dotted var(--vscode-list-inactiveFocusOutline); } :host(:focus) .contents.focused { outline: 1px solid var(--vscode-list-focusOutline); } :host([indent-guides]) ul ul:before { background-color: var(--vscode-tree-inactiveIndentGuidesStroke); } :host([indent-guides]) ul ul.has-active-item:before { background-color: var(--vscode-tree-indentGuidesStroke); } `, ]"
12034
- }
12035
- ],
12036
- "exports": [
12037
- {
12038
- "kind": "js",
12039
- "name": "default",
12040
- "declaration": {
12041
- "name": "styles",
12042
- "module": "src/vscode-tree/vscode-tree.styles.ts"
12043
- }
12044
- }
12045
- ]
12046
- },
12047
- {
12048
- "kind": "javascript-module",
12049
- "path": "src/vscode-tree/vscode-tree.ts",
12050
- "declarations": [
12051
- {
12052
- "kind": "class",
12053
- "description": "",
12054
- "name": "VscodeTree",
12055
- "cssProperties": [
12056
- {
12057
- "name": "--vscode-focusBorder"
12058
- },
12059
- {
12060
- "name": "--vscode-font-family"
12061
- },
12062
- {
12063
- "name": "--vscode-font-size"
12064
- },
12065
- {
12066
- "name": "--vscode-font-weight"
12067
- },
12068
- {
12069
- "name": "--vscode-list-hoverForeground"
12070
- },
12071
- {
12072
- "name": "--vscode-list-hoverBackground"
12073
- },
12074
- {
12075
- "name": "--vscode-list-inactiveSelectionBackground"
12076
- },
12077
- {
12078
- "name": "--vscode-list-inactiveSelectionForeground"
12079
- },
12080
- {
12081
- "name": "--vscode-list-activeSelectionBackground"
12082
- },
12083
- {
12084
- "name": "--vscode-list-activeSelectionForeground"
12085
- },
12086
- {
12087
- "name": "--vscode-list-inactiveSelectionIconForeground"
12088
- },
12089
- {
12090
- "name": "--vscode-list-inactiveFocusBackground"
12091
- },
12092
- {
12093
- "name": "--vscode-list-inactiveFocusOutline"
12094
- },
12095
- {
12096
- "name": "--vscode-list-focusOutline"
12097
- },
12098
- {
12099
- "name": "--vscode-tree-inactiveIndentGuidesStroke"
12100
- },
12101
- {
12102
- "name": "--vscode-tree-indentGuidesStroke"
12103
- }
12104
- ],
12105
- "cssParts": [
12106
- {
12107
- "name": "text-content"
12085
+ "attribute": "position",
12086
+ "reflects": true
12108
12087
  },
12109
12088
  {
12110
- "name": "description"
12089
+ "kind": "field",
12090
+ "name": "_assignedOptions",
12091
+ "type": {
12092
+ "text": "VscodeOption[]"
12093
+ },
12094
+ "privacy": "private"
12111
12095
  },
12112
12096
  {
12113
- "name": "counter-badge-decoration"
12097
+ "kind": "field",
12098
+ "name": "_activeIndex",
12099
+ "type": {
12100
+ "text": "number"
12101
+ },
12102
+ "privacy": "protected",
12103
+ "default": "-1"
12114
12104
  },
12115
12105
  {
12116
- "name": "filled-circle-decoration"
12106
+ "kind": "field",
12107
+ "name": "_currentDescription",
12108
+ "type": {
12109
+ "text": "string"
12110
+ },
12111
+ "privacy": "protected",
12112
+ "default": "''"
12117
12113
  },
12118
12114
  {
12119
- "name": "caption-decoration"
12115
+ "kind": "field",
12116
+ "name": "_filter",
12117
+ "type": {
12118
+ "text": "SearchMethod"
12119
+ },
12120
+ "privacy": "protected",
12121
+ "default": "'fuzzy'"
12120
12122
  },
12121
12123
  {
12122
- "description": "Container of decorations",
12123
- "name": "decorations"
12124
- }
12125
- ],
12126
- "members": [
12124
+ "kind": "field",
12125
+ "name": "_filteredOptions",
12126
+ "type": {
12127
+ "text": "InternalOption[]"
12128
+ },
12129
+ "privacy": "protected",
12130
+ "readonly": true
12131
+ },
12127
12132
  {
12128
12133
  "kind": "field",
12129
- "name": "data",
12134
+ "name": "_filterPattern",
12130
12135
  "type": {
12131
- "text": "TreeItem[]"
12136
+ "text": "string"
12132
12137
  },
12133
- "attribute": "data"
12138
+ "privacy": "protected",
12139
+ "default": "''"
12134
12140
  },
12135
12141
  {
12136
12142
  "kind": "field",
12137
- "name": "indent",
12143
+ "name": "_selectedIndex",
12138
12144
  "type": {
12139
12145
  "text": "number"
12140
12146
  },
12141
- "default": "8",
12142
- "attribute": "indent"
12147
+ "privacy": "protected",
12148
+ "default": "-1"
12143
12149
  },
12144
12150
  {
12145
12151
  "kind": "field",
12146
- "name": "arrows",
12152
+ "name": "_selectedIndexes",
12147
12153
  "type": {
12148
- "text": "boolean"
12154
+ "text": "number[]"
12149
12155
  },
12150
- "default": "false",
12151
- "attribute": "arrows",
12152
- "reflects": true
12156
+ "privacy": "protected",
12157
+ "default": "[]"
12153
12158
  },
12154
12159
  {
12155
12160
  "kind": "field",
12156
- "name": "multiline",
12161
+ "name": "_options",
12157
12162
  "type": {
12158
- "text": "boolean"
12163
+ "text": "InternalOption[]"
12159
12164
  },
12160
- "default": "false",
12161
- "attribute": "multiline",
12162
- "reflects": true
12165
+ "privacy": "protected",
12166
+ "default": "[]"
12163
12167
  },
12164
12168
  {
12165
12169
  "kind": "field",
12166
- "name": "tabindex",
12170
+ "name": "_value",
12167
12171
  "type": {
12168
- "text": "number"
12172
+ "text": "string"
12169
12173
  },
12170
- "default": "0",
12171
- "attribute": "tabindex",
12172
- "reflects": true
12174
+ "privacy": "protected",
12175
+ "default": "''"
12173
12176
  },
12174
12177
  {
12175
12178
  "kind": "field",
12176
- "name": "indentGuides",
12179
+ "name": "_values",
12177
12180
  "type": {
12178
- "text": "boolean"
12181
+ "text": "string[]"
12179
12182
  },
12180
- "default": "false",
12181
- "attribute": "indent-guides",
12182
- "reflects": true
12183
+ "privacy": "protected",
12184
+ "default": "[]"
12183
12185
  },
12184
12186
  {
12185
12187
  "kind": "field",
12186
- "name": "_data",
12188
+ "name": "_listScrollTop",
12187
12189
  "type": {
12188
- "text": "TreeItem[]"
12190
+ "text": "number"
12189
12191
  },
12190
- "privacy": "private",
12191
- "default": "[]"
12192
+ "privacy": "protected",
12193
+ "default": "0"
12192
12194
  },
12193
12195
  {
12194
12196
  "kind": "field",
12195
- "name": "_selectedItem",
12197
+ "name": "_listElement",
12196
12198
  "type": {
12197
- "text": "TreeItem | null"
12199
+ "text": "HTMLUListElement"
12198
12200
  },
12199
- "privacy": "private",
12200
- "default": "null"
12201
+ "privacy": "private"
12201
12202
  },
12202
12203
  {
12203
12204
  "kind": "field",
12204
- "name": "_focusedItem",
12205
+ "name": "_isHoverForbidden",
12205
12206
  "type": {
12206
- "text": "TreeItem | null"
12207
+ "text": "boolean"
12207
12208
  },
12208
12209
  "privacy": "private",
12209
- "default": "null"
12210
+ "default": "false"
12210
12211
  },
12211
12212
  {
12212
12213
  "kind": "field",
12213
- "name": "_selectedBranch",
12214
+ "name": "_disabled",
12214
12215
  "type": {
12215
- "text": "TreeItem | null"
12216
+ "text": "boolean"
12216
12217
  },
12217
12218
  "privacy": "private",
12218
- "default": "null"
12219
+ "default": "false"
12219
12220
  },
12220
12221
  {
12221
12222
  "kind": "field",
12222
- "name": "_focusedBranch",
12223
+ "name": "_originalTabIndex",
12223
12224
  "type": {
12224
- "text": "TreeItem | null"
12225
+ "text": "number | undefined"
12225
12226
  },
12226
12227
  "privacy": "private",
12227
- "default": "null"
12228
+ "default": "undefined"
12228
12229
  },
12229
12230
  {
12230
- "kind": "method",
12231
- "name": "closeAll",
12232
- "privacy": "public",
12233
- "return": {
12234
- "type": {
12235
- "text": "void"
12236
- }
12231
+ "kind": "field",
12232
+ "name": "_currentOptions",
12233
+ "type": {
12234
+ "text": "InternalOption[]"
12237
12235
  },
12238
- "description": "Closes all opened tree items recursively."
12236
+ "privacy": "protected",
12237
+ "readonly": true
12239
12238
  },
12240
12239
  {
12241
12240
  "kind": "method",
12242
- "name": "deselectAll",
12243
- "privacy": "public",
12244
- "description": "Deselects all selected items."
12241
+ "name": "_setStateFromSlottedElements",
12242
+ "privacy": "protected"
12245
12243
  },
12246
12244
  {
12247
12245
  "kind": "method",
12248
- "name": "getItemByPath",
12249
- "privacy": "public",
12246
+ "name": "_toggleDropdown",
12247
+ "privacy": "protected",
12250
12248
  "return": {
12251
12249
  "type": {
12252
- "text": ""
12250
+ "text": "Promise<void>"
12253
12251
  }
12254
12252
  },
12255
12253
  "parameters": [
12256
12254
  {
12257
- "name": "path",
12255
+ "name": "visible",
12258
12256
  "type": {
12259
- "text": "number[]"
12257
+ "text": "boolean"
12260
12258
  }
12261
12259
  }
12262
- ],
12263
- "description": "Returns a reference to a TreeItem object by path."
12260
+ ]
12264
12261
  },
12265
12262
  {
12266
12263
  "kind": "method",
12267
- "name": "_getItemByPath",
12268
- "privacy": "private",
12264
+ "name": "_dispatchChangeEvent",
12265
+ "privacy": "protected",
12269
12266
  "return": {
12270
12267
  "type": {
12271
- "text": "TreeItem | null"
12272
- }
12273
- },
12274
- "parameters": [
12275
- {
12276
- "name": "path",
12277
- "type": {
12278
- "text": "number[]"
12279
- }
12268
+ "text": "void"
12280
12269
  }
12281
- ]
12270
+ }
12282
12271
  },
12283
12272
  {
12284
12273
  "kind": "method",
12285
- "name": "_handleActionClick",
12286
- "privacy": "private",
12287
- "parameters": [
12288
- {
12289
- "name": "ev",
12290
- "type": {
12291
- "text": "MouseEvent"
12292
- }
12274
+ "name": "_onFaceClick",
12275
+ "privacy": "protected",
12276
+ "return": {
12277
+ "type": {
12278
+ "text": "void"
12293
12279
  }
12294
- ]
12280
+ }
12281
+ },
12282
+ {
12283
+ "kind": "field",
12284
+ "name": "_onClickOutside",
12285
+ "privacy": "private"
12286
+ },
12287
+ {
12288
+ "kind": "field",
12289
+ "name": "_onMouseMove",
12290
+ "privacy": "private"
12295
12291
  },
12296
12292
  {
12297
12293
  "kind": "method",
12298
- "name": "_renderIconVariant",
12299
- "privacy": "private",
12300
- "parameters": [
12301
- {
12302
- "name": "variant",
12303
- "type": {
12304
- "text": "{value: string; type: IconType}"
12305
- }
12294
+ "name": "_toggleComboboxDropdown",
12295
+ "privacy": "private"
12296
+ },
12297
+ {
12298
+ "kind": "method",
12299
+ "name": "_onComboboxButtonClick",
12300
+ "privacy": "protected",
12301
+ "return": {
12302
+ "type": {
12303
+ "text": "void"
12306
12304
  }
12307
- ]
12305
+ }
12308
12306
  },
12309
12307
  {
12310
12308
  "kind": "method",
12311
- "name": "_renderIcon",
12312
- "privacy": "private",
12309
+ "name": "_onComboboxButtonKeyDown",
12310
+ "privacy": "protected",
12313
12311
  "return": {
12314
12312
  "type": {
12315
- "text": "TemplateResult"
12313
+ "text": "void"
12316
12314
  }
12317
12315
  },
12318
12316
  "parameters": [
12319
12317
  {
12320
- "name": "item",
12318
+ "name": "ev",
12321
12319
  "type": {
12322
- "text": "TreeItem"
12320
+ "text": "KeyboardEvent"
12323
12321
  }
12324
12322
  }
12325
12323
  ]
12326
12324
  },
12327
12325
  {
12328
12326
  "kind": "method",
12329
- "name": "_renderArrow",
12330
- "privacy": "private",
12327
+ "name": "_onOptionMouseOver",
12328
+ "privacy": "protected",
12331
12329
  "return": {
12332
12330
  "type": {
12333
- "text": "TemplateResult"
12331
+ "text": "void"
12334
12332
  }
12335
12333
  },
12336
12334
  "parameters": [
12337
12335
  {
12338
- "name": "item",
12336
+ "name": "ev",
12339
12337
  "type": {
12340
- "text": "TreeItem"
12338
+ "text": "MouseEvent"
12341
12339
  }
12342
12340
  }
12343
12341
  ]
12344
12342
  },
12345
12343
  {
12346
12344
  "kind": "method",
12347
- "name": "_renderActions",
12348
- "privacy": "private",
12345
+ "name": "_onEnterKeyDown",
12346
+ "privacy": "protected",
12349
12347
  "return": {
12350
12348
  "type": {
12351
- "text": "TemplateResult"
12352
- }
12353
- },
12354
- "parameters": [
12355
- {
12356
- "name": "item",
12357
- "type": {
12358
- "text": "TreeItem"
12359
- }
12349
+ "text": "void"
12360
12350
  }
12361
- ]
12351
+ }
12362
12352
  },
12363
12353
  {
12364
12354
  "kind": "method",
12365
- "name": "_renderDecorations",
12355
+ "name": "_onSpaceKeyDown",
12356
+ "privacy": "private"
12357
+ },
12358
+ {
12359
+ "kind": "method",
12360
+ "name": "_scrollActiveElementToTop",
12361
+ "privacy": "private"
12362
+ },
12363
+ {
12364
+ "kind": "method",
12365
+ "name": "_adjustOptionListScrollPos",
12366
12366
  "privacy": "private",
12367
12367
  "parameters": [
12368
12368
  {
12369
- "name": "item",
12369
+ "name": "direction",
12370
12370
  "type": {
12371
- "text": "TreeItem"
12371
+ "text": "'down' | 'up'"
12372
12372
  }
12373
12373
  }
12374
12374
  ]
12375
12375
  },
12376
12376
  {
12377
12377
  "kind": "method",
12378
- "name": "_renderTreeItem",
12379
- "privacy": "private",
12380
- "parameters": [
12381
- {
12382
- "name": "item",
12383
- "type": {
12384
- "text": "TreeItem"
12385
- }
12386
- },
12387
- {
12388
- "name": "additionalOptions",
12389
- "type": {
12390
- "text": "{\n path: number[];\n itemType: ItemType;\n hasFocusedItem: boolean;\n hasSelectedItem: boolean;\n }"
12391
- }
12378
+ "name": "_onArrowUpKeyDown",
12379
+ "privacy": "protected",
12380
+ "return": {
12381
+ "type": {
12382
+ "text": "void"
12383
+ }
12384
+ }
12385
+ },
12386
+ {
12387
+ "kind": "method",
12388
+ "name": "_onArrowDownKeyDown",
12389
+ "privacy": "protected",
12390
+ "return": {
12391
+ "type": {
12392
+ "text": "void"
12392
12393
  }
12393
- ]
12394
+ }
12394
12395
  },
12395
12396
  {
12396
12397
  "kind": "method",
12397
- "name": "_renderTree",
12398
+ "name": "_onComponentKeyDown",
12398
12399
  "privacy": "private",
12399
12400
  "parameters": [
12400
12401
  {
12401
- "name": "tree",
12402
- "type": {
12403
- "text": "TreeItem[]"
12404
- }
12405
- },
12406
- {
12407
- "name": "oldPath",
12408
- "default": "[]",
12402
+ "name": "event",
12409
12403
  "type": {
12410
- "text": "number[]"
12404
+ "text": "KeyboardEvent"
12411
12405
  }
12412
12406
  }
12413
12407
  ]
12414
12408
  },
12415
12409
  {
12416
12410
  "kind": "method",
12417
- "name": "_selectItem",
12418
- "privacy": "private",
12419
- "parameters": [
12420
- {
12421
- "name": "item",
12422
- "type": {
12423
- "text": "TreeItem"
12424
- }
12411
+ "name": "_onComponentFocus",
12412
+ "privacy": "private"
12413
+ },
12414
+ {
12415
+ "kind": "method",
12416
+ "name": "_onComponentBlur",
12417
+ "privacy": "private"
12418
+ },
12419
+ {
12420
+ "kind": "method",
12421
+ "name": "_onSlotChange",
12422
+ "privacy": "protected",
12423
+ "return": {
12424
+ "type": {
12425
+ "text": "void"
12425
12426
  }
12426
- ]
12427
+ }
12427
12428
  },
12428
12429
  {
12429
12430
  "kind": "method",
12430
- "name": "_focusItem",
12431
- "privacy": "private",
12431
+ "name": "_onComboboxInputFocus",
12432
+ "privacy": "protected",
12433
+ "return": {
12434
+ "type": {
12435
+ "text": "void"
12436
+ }
12437
+ },
12432
12438
  "parameters": [
12433
12439
  {
12434
- "name": "item",
12440
+ "name": "ev",
12435
12441
  "type": {
12436
- "text": "TreeItem"
12442
+ "text": "FocusEvent"
12437
12443
  }
12438
12444
  }
12439
12445
  ]
12440
12446
  },
12441
12447
  {
12442
12448
  "kind": "method",
12443
- "name": "_closeSubTreeRecursively",
12444
- "privacy": "private",
12449
+ "name": "_onComboboxInputInput",
12450
+ "privacy": "protected",
12451
+ "return": {
12452
+ "type": {
12453
+ "text": "void"
12454
+ }
12455
+ },
12445
12456
  "parameters": [
12446
12457
  {
12447
- "name": "tree",
12458
+ "name": "ev",
12448
12459
  "type": {
12449
- "text": "TreeItem[]"
12460
+ "text": "InputEvent"
12450
12461
  }
12451
12462
  }
12452
12463
  ]
12453
12464
  },
12454
12465
  {
12455
12466
  "kind": "method",
12456
- "name": "_deselectItemsRecursively",
12457
- "privacy": "private",
12458
- "parameters": [
12459
- {
12460
- "name": "tree",
12461
- "type": {
12462
- "text": "TreeItem[]"
12463
- }
12467
+ "name": "_onComboboxInputClick",
12468
+ "privacy": "protected",
12469
+ "return": {
12470
+ "type": {
12471
+ "text": "void"
12464
12472
  }
12465
- ]
12473
+ }
12466
12474
  },
12467
12475
  {
12468
12476
  "kind": "method",
12469
- "name": "_emitSelectEvent",
12470
- "privacy": "private",
12471
- "parameters": [
12472
- {
12473
- "name": "item",
12474
- "type": {
12475
- "text": "TreeItem"
12476
- }
12477
- },
12478
- {
12479
- "name": "path",
12480
- "type": {
12481
- "text": "string"
12482
- }
12477
+ "name": "_renderOptions",
12478
+ "privacy": "protected",
12479
+ "return": {
12480
+ "type": {
12481
+ "text": "TemplateResult | TemplateResult[]"
12483
12482
  }
12484
- ]
12483
+ }
12485
12484
  },
12486
12485
  {
12487
12486
  "kind": "method",
12488
- "name": "_focusPrevItem",
12487
+ "name": "_renderDescription",
12489
12488
  "privacy": "private"
12490
12489
  },
12491
12490
  {
12492
12491
  "kind": "method",
12493
- "name": "_focusNextItem",
12494
- "privacy": "private"
12492
+ "name": "_renderSelectFace",
12493
+ "privacy": "protected",
12494
+ "return": {
12495
+ "type": {
12496
+ "text": "TemplateResult"
12497
+ }
12498
+ }
12495
12499
  },
12496
12500
  {
12497
12501
  "kind": "method",
12498
- "name": "_handleClick",
12499
- "privacy": "private",
12500
- "parameters": [
12501
- {
12502
- "name": "event",
12503
- "type": {
12504
- "text": "MouseEvent"
12505
- }
12502
+ "name": "_renderComboboxFace",
12503
+ "privacy": "protected",
12504
+ "return": {
12505
+ "type": {
12506
+ "text": "TemplateResult"
12506
12507
  }
12507
- ]
12508
+ }
12508
12509
  },
12509
12510
  {
12510
12511
  "kind": "method",
12511
- "name": "_handleComponentKeyDown",
12512
- "privacy": "private",
12513
- "parameters": [
12514
- {
12515
- "name": "ev",
12516
- "type": {
12517
- "text": "KeyboardEvent"
12518
- }
12512
+ "name": "_renderDropdownControls",
12513
+ "privacy": "protected",
12514
+ "return": {
12515
+ "type": {
12516
+ "text": "TemplateResult"
12519
12517
  }
12520
- ]
12518
+ }
12521
12519
  },
12522
12520
  {
12523
- "kind": "field",
12524
- "name": "_handleComponentKeyDownBound",
12521
+ "kind": "method",
12522
+ "name": "_renderDropdown",
12525
12523
  "privacy": "private"
12526
12524
  },
12527
12525
  {
@@ -12531,7 +12529,7 @@
12531
12529
  "text": "string"
12532
12530
  },
12533
12531
  "privacy": "private",
12534
- "default": "'1.11.1-pre.3'",
12532
+ "default": "'1.12.0'",
12535
12533
  "inheritedFrom": {
12536
12534
  "name": "VscElement",
12537
12535
  "module": "src/includes/VscElement.ts"
@@ -12553,108 +12551,110 @@
12553
12551
  ],
12554
12552
  "events": [
12555
12553
  {
12556
- "name": "vsc-run-action",
12557
- "type": {
12558
- "text": "CustomEvent"
12559
- },
12560
- "deprecated": "Renamed to `vsc-tree-action`",
12561
- "description": "Dispatched when an action icon is clicked."
12562
- },
12563
- {
12564
- "name": "vsc-select",
12554
+ "name": "vsc-change",
12565
12555
  "type": {
12566
12556
  "text": "CustomEvent"
12567
12557
  },
12568
- "deprecated": "Renamed to `vsc-tree-select`",
12569
- "description": "Dispatched when an item is selected."
12558
+ "deprecated": "true"
12570
12559
  },
12571
12560
  {
12561
+ "name": "change",
12572
12562
  "type": {
12573
- "text": "VscTreeSelectEvent"
12574
- },
12575
- "description": "Dispatched when an item is selected.",
12576
- "name": "vsc-tree-select"
12563
+ "text": "Event"
12564
+ }
12577
12565
  },
12578
12566
  {
12567
+ "name": "input",
12579
12568
  "type": {
12580
- "text": "VscTreeActionEvent"
12581
- },
12582
- "description": "Dispatched when an action icon is clicked.",
12583
- "name": "vsc-tree-action"
12569
+ "text": "Event"
12570
+ }
12584
12571
  }
12585
12572
  ],
12586
12573
  "attributes": [
12587
12574
  {
12588
- "name": "data",
12575
+ "name": "options",
12589
12576
  "type": {
12590
- "text": "TreeItem[]"
12577
+ "text": "Option[]"
12591
12578
  },
12592
- "fieldName": "data"
12579
+ "fieldName": "options",
12580
+ "attribute": "options"
12593
12581
  },
12594
12582
  {
12595
- "name": "indent",
12583
+ "name": "combobox",
12596
12584
  "type": {
12597
- "text": "number"
12585
+ "text": "boolean"
12598
12586
  },
12599
- "default": "8",
12600
- "fieldName": "indent"
12587
+ "default": "false",
12588
+ "description": "Options can be filtered by typing into a text input field.",
12589
+ "fieldName": "combobox"
12601
12590
  },
12602
12591
  {
12603
- "name": "arrows",
12592
+ "name": "disabled",
12593
+ "description": "The element cannot be used and is not focusable.",
12604
12594
  "type": {
12605
12595
  "text": "boolean"
12606
12596
  },
12607
- "default": "false",
12608
- "fieldName": "arrows"
12597
+ "fieldName": "disabled"
12609
12598
  },
12610
12599
  {
12611
- "name": "multiline",
12600
+ "name": "invalid",
12612
12601
  "type": {
12613
12602
  "text": "boolean"
12614
12603
  },
12615
12604
  "default": "false",
12616
- "fieldName": "multiline"
12605
+ "description": "Sets the invalid state manually.",
12606
+ "fieldName": "invalid"
12617
12607
  },
12618
12608
  {
12619
- "name": "tabindex",
12609
+ "name": "filter",
12610
+ "description": "Search method in the filtered list within the combobox mode.\n\n- contains - The list item includes the searched pattern at any position.\n- fuzzy - The list item contains the letters of the search pattern in the same order, but at any position.\n- startsWith - The search pattern matches the beginning of the searched text.\n- startsWithPerTerm - The search pattern matches the beginning of any word in the searched text.",
12611
+ "default": "'fuzzy'",
12620
12612
  "type": {
12621
- "text": "number"
12613
+ "text": "'contains' | 'fuzzy' | 'startsWith' | 'startsWithPerTerm'"
12622
12614
  },
12623
- "default": "0",
12624
- "fieldName": "tabindex"
12615
+ "fieldName": "filter"
12625
12616
  },
12626
12617
  {
12627
- "name": "indent-guides",
12618
+ "name": "focused",
12628
12619
  "type": {
12629
12620
  "text": "boolean"
12630
12621
  },
12631
12622
  "default": "false",
12632
- "fieldName": "indentGuides"
12623
+ "description": "Its value is true when element is focused.",
12624
+ "fieldName": "focused"
12625
+ },
12626
+ {
12627
+ "name": "open",
12628
+ "type": {
12629
+ "text": "boolean"
12630
+ },
12631
+ "default": "false",
12632
+ "description": "Toggle the dropdown visibility.",
12633
+ "fieldName": "open"
12634
+ },
12635
+ {
12636
+ "name": "position",
12637
+ "type": {
12638
+ "text": "'above' | 'below'"
12639
+ },
12640
+ "default": "'below'",
12641
+ "description": "Position of the options list when visible.",
12642
+ "fieldName": "position"
12633
12643
  }
12634
12644
  ],
12635
12645
  "superclass": {
12636
12646
  "name": "VscElement",
12637
12647
  "module": "/src/includes/VscElement.js"
12638
- },
12639
- "tagName": "vscode-tree",
12640
- "customElement": true
12648
+ }
12641
12649
  }
12642
12650
  ],
12643
12651
  "exports": [
12644
12652
  {
12645
12653
  "kind": "js",
12646
- "name": "VscodeTree",
12647
- "declaration": {
12648
- "name": "VscodeTree",
12649
- "module": "src/vscode-tree/vscode-tree.ts"
12650
- }
12651
- },
12652
- {
12653
- "kind": "custom-element-definition",
12654
- "name": "vscode-tree",
12654
+ "name": "VscodeSelectBase",
12655
12655
  "declaration": {
12656
- "name": "VscodeTree",
12657
- "module": "src/vscode-tree/vscode-tree.ts"
12656
+ "name": "VscodeSelectBase",
12657
+ "module": "src/includes/vscode-select/vscode-select-base.ts"
12658
12658
  }
12659
12659
  }
12660
12660
  ]