@vscode-elements/elements 2.0.0-pre.2 → 2.0.0-pre.3
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/custom-elements.json +1906 -1856
- package/dist/bundled.js +204 -195
- package/dist/includes/VscElement.js +1 -1
- package/dist/includes/VscElement.js.map +1 -1
- package/dist/vscode-tree/helpers.d.ts +4 -6
- package/dist/vscode-tree/helpers.d.ts.map +1 -1
- package/dist/vscode-tree/helpers.js +45 -68
- package/dist/vscode-tree/helpers.js.map +1 -1
- package/dist/vscode-tree/tree-context.d.ts +5 -5
- package/dist/vscode-tree/tree-context.d.ts.map +1 -1
- package/dist/vscode-tree/tree-context.js.map +1 -1
- package/dist/vscode-tree/vscode-tree.d.ts +74 -7
- package/dist/vscode-tree/vscode-tree.d.ts.map +1 -1
- package/dist/vscode-tree/vscode-tree.js +117 -51
- package/dist/vscode-tree/vscode-tree.js.map +1 -1
- package/dist/vscode-tree/vscode-tree.styles.d.ts.map +1 -1
- package/dist/vscode-tree/vscode-tree.styles.js +39 -3
- package/dist/vscode-tree/vscode-tree.styles.js.map +1 -1
- package/dist/vscode-tree-item/vscode-tree-item.d.ts +5 -0
- package/dist/vscode-tree-item/vscode-tree-item.d.ts.map +1 -1
- package/dist/vscode-tree-item/vscode-tree-item.js +77 -36
- package/dist/vscode-tree-item/vscode-tree-item.js.map +1 -1
- package/dist/vscode-tree-item/vscode-tree-item.styles.d.ts.map +1 -1
- package/dist/vscode-tree-item/vscode-tree-item.styles.js +25 -50
- package/dist/vscode-tree-item/vscode-tree-item.styles.js.map +1 -1
- package/package.json +3 -3
- package/vscode.css-custom-data.json +39 -39
- package/vscode.html-custom-data.json +108 -84
package/custom-elements.json
CHANGED
|
@@ -316,6 +316,131 @@
|
|
|
316
316
|
}
|
|
317
317
|
]
|
|
318
318
|
},
|
|
319
|
+
{
|
|
320
|
+
"kind": "javascript-module",
|
|
321
|
+
"path": "src/vscode-badge/vscode-badge.styles.ts",
|
|
322
|
+
"declarations": [
|
|
323
|
+
{
|
|
324
|
+
"kind": "variable",
|
|
325
|
+
"name": "styles",
|
|
326
|
+
"type": {
|
|
327
|
+
"text": "CSSResultGroup"
|
|
328
|
+
},
|
|
329
|
+
"default": "[ defaultStyles, css` :host { background-color: var(--vscode-badge-background, #616161); border: 1px solid var(--vscode-contrastBorder, transparent); border-radius: 2px; box-sizing: border-box; color: var(--vscode-badge-foreground, #f8f8f8); display: inline-block; font-family: var(--vscode-font-family, ${defaultFontStack}); font-size: 11px; font-weight: 400; line-height: 14px; min-width: 18px; padding: 2px 3px; text-align: center; white-space: nowrap; } :host([variant='counter']) { border-radius: 11px; line-height: 11px; min-height: 18px; min-width: 18px; padding: 3px 6px; } :host([variant='activity-bar-counter']) { background-color: var(--vscode-activityBarBadge-background, #0078d4); border-radius: 20px; color: var(--vscode-activityBarBadge-foreground, #ffffff); font-size: 9px; font-weight: 600; line-height: 16px; padding: 0 4px; } :host([variant='tab-header-counter']) { background-color: var(--vscode-activityBarBadge-background, #0078d4); border-radius: 10px; color: var(--vscode-activityBarBadge-foreground, #ffffff); line-height: 10px; min-height: 16px; min-width: 16px; padding: 3px 5px; } `, ]"
|
|
330
|
+
}
|
|
331
|
+
],
|
|
332
|
+
"exports": [
|
|
333
|
+
{
|
|
334
|
+
"kind": "js",
|
|
335
|
+
"name": "default",
|
|
336
|
+
"declaration": {
|
|
337
|
+
"name": "styles",
|
|
338
|
+
"module": "src/vscode-badge/vscode-badge.styles.ts"
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
]
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
"kind": "javascript-module",
|
|
345
|
+
"path": "src/vscode-badge/vscode-badge.ts",
|
|
346
|
+
"declarations": [
|
|
347
|
+
{
|
|
348
|
+
"kind": "class",
|
|
349
|
+
"description": "Show counts or status information. Badges can also be used within [Textfield](https://vscode-elements.github.io/components/textfield) and [TabHeader](https://vscode-elements.github.io/components/tabs) components.",
|
|
350
|
+
"name": "VscodeBadge",
|
|
351
|
+
"cssProperties": [
|
|
352
|
+
{
|
|
353
|
+
"description": "A sans-serif font type depends on the host OS.",
|
|
354
|
+
"name": "--vscode-font-family",
|
|
355
|
+
"default": "sans-serif"
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"name": "--vscode-contrastBorder",
|
|
359
|
+
"default": "transparent"
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
"description": "default and counter variant background color",
|
|
363
|
+
"name": "--vscode-badge-background",
|
|
364
|
+
"default": "#616161"
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"description": "default and counter variant foreground color",
|
|
368
|
+
"name": "--vscode-badge-foreground",
|
|
369
|
+
"default": "#f8f8f8"
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
"description": "activity bar variant background color",
|
|
373
|
+
"name": "--vscode-activityBarBadge-background",
|
|
374
|
+
"default": "#0078d4"
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
"description": "activity bar variant foreground color",
|
|
378
|
+
"name": "--vscode-activityBarBadge-foreground",
|
|
379
|
+
"default": "#ffffff"
|
|
380
|
+
}
|
|
381
|
+
],
|
|
382
|
+
"members": [
|
|
383
|
+
{
|
|
384
|
+
"kind": "field",
|
|
385
|
+
"name": "variant",
|
|
386
|
+
"type": {
|
|
387
|
+
"text": "| 'default'\n | 'counter'\n | 'activity-bar-counter'\n | 'tab-header-counter'"
|
|
388
|
+
},
|
|
389
|
+
"default": "'default'",
|
|
390
|
+
"attribute": "variant",
|
|
391
|
+
"reflects": true
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
"kind": "field",
|
|
395
|
+
"name": "version",
|
|
396
|
+
"type": {
|
|
397
|
+
"text": "string"
|
|
398
|
+
},
|
|
399
|
+
"description": "VSCode Elements version",
|
|
400
|
+
"readonly": true,
|
|
401
|
+
"inheritedFrom": {
|
|
402
|
+
"name": "VscElement",
|
|
403
|
+
"module": "src/includes/VscElement.ts"
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
],
|
|
407
|
+
"attributes": [
|
|
408
|
+
{
|
|
409
|
+
"name": "variant",
|
|
410
|
+
"type": {
|
|
411
|
+
"text": "| 'default'\n | 'counter'\n | 'activity-bar-counter'\n | 'tab-header-counter'"
|
|
412
|
+
},
|
|
413
|
+
"default": "'default'",
|
|
414
|
+
"fieldName": "variant"
|
|
415
|
+
}
|
|
416
|
+
],
|
|
417
|
+
"superclass": {
|
|
418
|
+
"name": "VscElement",
|
|
419
|
+
"module": "/src/includes/VscElement.js"
|
|
420
|
+
},
|
|
421
|
+
"tagName": "vscode-badge",
|
|
422
|
+
"customElement": true
|
|
423
|
+
}
|
|
424
|
+
],
|
|
425
|
+
"exports": [
|
|
426
|
+
{
|
|
427
|
+
"kind": "js",
|
|
428
|
+
"name": "VscodeBadge",
|
|
429
|
+
"declaration": {
|
|
430
|
+
"name": "VscodeBadge",
|
|
431
|
+
"module": "src/vscode-badge/vscode-badge.ts"
|
|
432
|
+
}
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
"kind": "custom-element-definition",
|
|
436
|
+
"name": "vscode-badge",
|
|
437
|
+
"declaration": {
|
|
438
|
+
"name": "VscodeBadge",
|
|
439
|
+
"module": "src/vscode-badge/vscode-badge.ts"
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
]
|
|
443
|
+
},
|
|
319
444
|
{
|
|
320
445
|
"kind": "javascript-module",
|
|
321
446
|
"path": "src/vscode-button/vscode-button.styles.ts",
|
|
@@ -774,131 +899,6 @@
|
|
|
774
899
|
}
|
|
775
900
|
]
|
|
776
901
|
},
|
|
777
|
-
{
|
|
778
|
-
"kind": "javascript-module",
|
|
779
|
-
"path": "src/vscode-badge/vscode-badge.styles.ts",
|
|
780
|
-
"declarations": [
|
|
781
|
-
{
|
|
782
|
-
"kind": "variable",
|
|
783
|
-
"name": "styles",
|
|
784
|
-
"type": {
|
|
785
|
-
"text": "CSSResultGroup"
|
|
786
|
-
},
|
|
787
|
-
"default": "[ defaultStyles, css` :host { background-color: var(--vscode-badge-background, #616161); border: 1px solid var(--vscode-contrastBorder, transparent); border-radius: 2px; box-sizing: border-box; color: var(--vscode-badge-foreground, #f8f8f8); display: inline-block; font-family: var(--vscode-font-family, ${defaultFontStack}); font-size: 11px; font-weight: 400; line-height: 14px; min-width: 18px; padding: 2px 3px; text-align: center; white-space: nowrap; } :host([variant='counter']) { border-radius: 11px; line-height: 11px; min-height: 18px; min-width: 18px; padding: 3px 6px; } :host([variant='activity-bar-counter']) { background-color: var(--vscode-activityBarBadge-background, #0078d4); border-radius: 20px; color: var(--vscode-activityBarBadge-foreground, #ffffff); font-size: 9px; font-weight: 600; line-height: 16px; padding: 0 4px; } :host([variant='tab-header-counter']) { background-color: var(--vscode-activityBarBadge-background, #0078d4); border-radius: 10px; color: var(--vscode-activityBarBadge-foreground, #ffffff); line-height: 10px; min-height: 16px; min-width: 16px; padding: 3px 5px; } `, ]"
|
|
788
|
-
}
|
|
789
|
-
],
|
|
790
|
-
"exports": [
|
|
791
|
-
{
|
|
792
|
-
"kind": "js",
|
|
793
|
-
"name": "default",
|
|
794
|
-
"declaration": {
|
|
795
|
-
"name": "styles",
|
|
796
|
-
"module": "src/vscode-badge/vscode-badge.styles.ts"
|
|
797
|
-
}
|
|
798
|
-
}
|
|
799
|
-
]
|
|
800
|
-
},
|
|
801
|
-
{
|
|
802
|
-
"kind": "javascript-module",
|
|
803
|
-
"path": "src/vscode-badge/vscode-badge.ts",
|
|
804
|
-
"declarations": [
|
|
805
|
-
{
|
|
806
|
-
"kind": "class",
|
|
807
|
-
"description": "Show counts or status information. Badges can also be used within [Textfield](https://vscode-elements.github.io/components/textfield) and [TabHeader](https://vscode-elements.github.io/components/tabs) components.",
|
|
808
|
-
"name": "VscodeBadge",
|
|
809
|
-
"cssProperties": [
|
|
810
|
-
{
|
|
811
|
-
"description": "A sans-serif font type depends on the host OS.",
|
|
812
|
-
"name": "--vscode-font-family",
|
|
813
|
-
"default": "sans-serif"
|
|
814
|
-
},
|
|
815
|
-
{
|
|
816
|
-
"name": "--vscode-contrastBorder",
|
|
817
|
-
"default": "transparent"
|
|
818
|
-
},
|
|
819
|
-
{
|
|
820
|
-
"description": "default and counter variant background color",
|
|
821
|
-
"name": "--vscode-badge-background",
|
|
822
|
-
"default": "#616161"
|
|
823
|
-
},
|
|
824
|
-
{
|
|
825
|
-
"description": "default and counter variant foreground color",
|
|
826
|
-
"name": "--vscode-badge-foreground",
|
|
827
|
-
"default": "#f8f8f8"
|
|
828
|
-
},
|
|
829
|
-
{
|
|
830
|
-
"description": "activity bar variant background color",
|
|
831
|
-
"name": "--vscode-activityBarBadge-background",
|
|
832
|
-
"default": "#0078d4"
|
|
833
|
-
},
|
|
834
|
-
{
|
|
835
|
-
"description": "activity bar variant foreground color",
|
|
836
|
-
"name": "--vscode-activityBarBadge-foreground",
|
|
837
|
-
"default": "#ffffff"
|
|
838
|
-
}
|
|
839
|
-
],
|
|
840
|
-
"members": [
|
|
841
|
-
{
|
|
842
|
-
"kind": "field",
|
|
843
|
-
"name": "variant",
|
|
844
|
-
"type": {
|
|
845
|
-
"text": "| 'default'\n | 'counter'\n | 'activity-bar-counter'\n | 'tab-header-counter'"
|
|
846
|
-
},
|
|
847
|
-
"default": "'default'",
|
|
848
|
-
"attribute": "variant",
|
|
849
|
-
"reflects": true
|
|
850
|
-
},
|
|
851
|
-
{
|
|
852
|
-
"kind": "field",
|
|
853
|
-
"name": "version",
|
|
854
|
-
"type": {
|
|
855
|
-
"text": "string"
|
|
856
|
-
},
|
|
857
|
-
"description": "VSCode Elements version",
|
|
858
|
-
"readonly": true,
|
|
859
|
-
"inheritedFrom": {
|
|
860
|
-
"name": "VscElement",
|
|
861
|
-
"module": "src/includes/VscElement.ts"
|
|
862
|
-
}
|
|
863
|
-
}
|
|
864
|
-
],
|
|
865
|
-
"attributes": [
|
|
866
|
-
{
|
|
867
|
-
"name": "variant",
|
|
868
|
-
"type": {
|
|
869
|
-
"text": "| 'default'\n | 'counter'\n | 'activity-bar-counter'\n | 'tab-header-counter'"
|
|
870
|
-
},
|
|
871
|
-
"default": "'default'",
|
|
872
|
-
"fieldName": "variant"
|
|
873
|
-
}
|
|
874
|
-
],
|
|
875
|
-
"superclass": {
|
|
876
|
-
"name": "VscElement",
|
|
877
|
-
"module": "/src/includes/VscElement.js"
|
|
878
|
-
},
|
|
879
|
-
"tagName": "vscode-badge",
|
|
880
|
-
"customElement": true
|
|
881
|
-
}
|
|
882
|
-
],
|
|
883
|
-
"exports": [
|
|
884
|
-
{
|
|
885
|
-
"kind": "js",
|
|
886
|
-
"name": "VscodeBadge",
|
|
887
|
-
"declaration": {
|
|
888
|
-
"name": "VscodeBadge",
|
|
889
|
-
"module": "src/vscode-badge/vscode-badge.ts"
|
|
890
|
-
}
|
|
891
|
-
},
|
|
892
|
-
{
|
|
893
|
-
"kind": "custom-element-definition",
|
|
894
|
-
"name": "vscode-badge",
|
|
895
|
-
"declaration": {
|
|
896
|
-
"name": "VscodeBadge",
|
|
897
|
-
"module": "src/vscode-badge/vscode-badge.ts"
|
|
898
|
-
}
|
|
899
|
-
}
|
|
900
|
-
]
|
|
901
|
-
},
|
|
902
902
|
{
|
|
903
903
|
"kind": "javascript-module",
|
|
904
904
|
"path": "src/vscode-button-group/vscode-button-group.styles.ts",
|
|
@@ -1022,7 +1022,7 @@
|
|
|
1022
1022
|
},
|
|
1023
1023
|
{
|
|
1024
1024
|
"kind": "javascript-module",
|
|
1025
|
-
"path": "src/vscode-checkbox
|
|
1025
|
+
"path": "src/vscode-checkbox/vscode-checkbox.styles.ts",
|
|
1026
1026
|
"declarations": [
|
|
1027
1027
|
{
|
|
1028
1028
|
"kind": "variable",
|
|
@@ -1030,7 +1030,7 @@
|
|
|
1030
1030
|
"type": {
|
|
1031
1031
|
"text": "CSSResultGroup"
|
|
1032
1032
|
},
|
|
1033
|
-
"default": "[ defaultStyles, css` :host
|
|
1033
|
+
"default": "[ defaultStyles, baseStyles, css` :host(:invalid) .icon, :host([invalid]) .icon { background-color: var(--vscode-inputValidation-errorBackground, #5a1d1d); border-color: var(--vscode-inputValidation-errorBorder, #be1100); } .icon { border-radius: 3px; } .indeterminate-icon { background-color: currentColor; position: absolute; height: 1px; width: 12px; } :host(:focus):host(:not([disabled])) .icon { outline: 1px solid var(--vscode-focusBorder, #0078d4); outline-offset: -1px; } `, ]"
|
|
1034
1034
|
}
|
|
1035
1035
|
],
|
|
1036
1036
|
"exports": [
|
|
@@ -1039,548 +1039,381 @@
|
|
|
1039
1039
|
"name": "default",
|
|
1040
1040
|
"declaration": {
|
|
1041
1041
|
"name": "styles",
|
|
1042
|
-
"module": "src/vscode-checkbox
|
|
1042
|
+
"module": "src/vscode-checkbox/vscode-checkbox.styles.ts"
|
|
1043
1043
|
}
|
|
1044
1044
|
}
|
|
1045
1045
|
]
|
|
1046
1046
|
},
|
|
1047
1047
|
{
|
|
1048
1048
|
"kind": "javascript-module",
|
|
1049
|
-
"path": "src/vscode-checkbox
|
|
1049
|
+
"path": "src/vscode-checkbox/vscode-checkbox.ts",
|
|
1050
1050
|
"declarations": [
|
|
1051
1051
|
{
|
|
1052
1052
|
"kind": "class",
|
|
1053
|
-
"description": "
|
|
1054
|
-
"name": "
|
|
1055
|
-
"
|
|
1053
|
+
"description": "Allows users to select one or more options from a set. When participating in a form, it supports\nthe `:invalid` pseudo class. Otherwise the error styles can be applied through the `invalid`\nproperty.",
|
|
1054
|
+
"name": "VscodeCheckbox",
|
|
1055
|
+
"cssProperties": [
|
|
1056
1056
|
{
|
|
1057
|
-
"
|
|
1058
|
-
"
|
|
1059
|
-
"type": {
|
|
1060
|
-
"text": "'horizontal' | 'vertical'"
|
|
1061
|
-
},
|
|
1062
|
-
"default": "'horizontal'",
|
|
1063
|
-
"attribute": "variant",
|
|
1064
|
-
"reflects": true
|
|
1057
|
+
"name": "--vscode-font-family",
|
|
1058
|
+
"default": "sans-serif"
|
|
1065
1059
|
},
|
|
1066
1060
|
{
|
|
1067
|
-
"
|
|
1068
|
-
"
|
|
1069
|
-
"type": {
|
|
1070
|
-
"text": "string"
|
|
1071
|
-
},
|
|
1072
|
-
"description": "VSCode Elements version",
|
|
1073
|
-
"readonly": true,
|
|
1074
|
-
"inheritedFrom": {
|
|
1075
|
-
"name": "VscElement",
|
|
1076
|
-
"module": "src/includes/VscElement.ts"
|
|
1077
|
-
}
|
|
1078
|
-
}
|
|
1079
|
-
],
|
|
1080
|
-
"attributes": [
|
|
1081
|
-
{
|
|
1082
|
-
"name": "variant",
|
|
1083
|
-
"type": {
|
|
1084
|
-
"text": "'horizontal' | 'vertical'"
|
|
1085
|
-
},
|
|
1086
|
-
"default": "'horizontal'",
|
|
1087
|
-
"fieldName": "variant"
|
|
1088
|
-
}
|
|
1089
|
-
],
|
|
1090
|
-
"superclass": {
|
|
1091
|
-
"name": "VscElement",
|
|
1092
|
-
"module": "/src/includes/VscElement.js"
|
|
1093
|
-
},
|
|
1094
|
-
"tagName": "vscode-checkbox-group",
|
|
1095
|
-
"customElement": true
|
|
1096
|
-
}
|
|
1097
|
-
],
|
|
1098
|
-
"exports": [
|
|
1099
|
-
{
|
|
1100
|
-
"kind": "js",
|
|
1101
|
-
"name": "VscodeCheckboxGroup",
|
|
1102
|
-
"declaration": {
|
|
1103
|
-
"name": "VscodeCheckboxGroup",
|
|
1104
|
-
"module": "src/vscode-checkbox-group/vscode-checkbox-group.ts"
|
|
1105
|
-
}
|
|
1106
|
-
},
|
|
1107
|
-
{
|
|
1108
|
-
"kind": "custom-element-definition",
|
|
1109
|
-
"name": "vscode-checkbox-group",
|
|
1110
|
-
"declaration": {
|
|
1111
|
-
"name": "VscodeCheckboxGroup",
|
|
1112
|
-
"module": "src/vscode-checkbox-group/vscode-checkbox-group.ts"
|
|
1113
|
-
}
|
|
1114
|
-
}
|
|
1115
|
-
]
|
|
1116
|
-
},
|
|
1117
|
-
{
|
|
1118
|
-
"kind": "javascript-module",
|
|
1119
|
-
"path": "src/vscode-collapsible/vscode-collapsible.styles.ts",
|
|
1120
|
-
"declarations": [
|
|
1121
|
-
{
|
|
1122
|
-
"kind": "variable",
|
|
1123
|
-
"name": "styles",
|
|
1124
|
-
"type": {
|
|
1125
|
-
"text": "CSSResultGroup"
|
|
1126
|
-
},
|
|
1127
|
-
"default": "[ defaultStyles, css` .collapsible { background-color: var(--vscode-sideBar-background, #181818); } .collapsible-header { align-items: center; background-color: var(--vscode-sideBarSectionHeader-background, #181818); cursor: pointer; display: flex; height: 22px; line-height: 22px; user-select: none; } .collapsible-header:focus { opacity: 1; outline-offset: -1px; outline-style: solid; outline-width: 1px; outline-color: var(--vscode-focusBorder, #0078d4); } .title { color: var(--vscode-sideBarTitle-foreground, #cccccc); display: block; font-family: var(--vscode-font-family, sans-serif); font-size: 11px; font-weight: 700; margin: 0; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; } .title .description { font-weight: 400; margin-left: 10px; text-transform: none; opacity: 0.6; } .header-icon { color: var(--vscode-icon-foreground, #cccccc); display: block; flex-shrink: 0; margin: 0 3px; } .collapsible.open .header-icon { transform: rotate(90deg); } .header-slots { align-items: center; display: flex; height: 22px; margin-left: auto; margin-right: 4px; } .actions { display: none; } .collapsible.open .actions { display: block; } .header-slots slot { display: flex; max-height: 22px; overflow: hidden; } .header-slots slot::slotted(div) { align-items: center; display: flex; } .collapsible-body { display: none; overflow: hidden; } .collapsible.open .collapsible-body { display: block; } `, ]"
|
|
1128
|
-
}
|
|
1129
|
-
],
|
|
1130
|
-
"exports": [
|
|
1131
|
-
{
|
|
1132
|
-
"kind": "js",
|
|
1133
|
-
"name": "default",
|
|
1134
|
-
"declaration": {
|
|
1135
|
-
"name": "styles",
|
|
1136
|
-
"module": "src/vscode-collapsible/vscode-collapsible.styles.ts"
|
|
1137
|
-
}
|
|
1138
|
-
}
|
|
1139
|
-
]
|
|
1140
|
-
},
|
|
1141
|
-
{
|
|
1142
|
-
"kind": "javascript-module",
|
|
1143
|
-
"path": "src/vscode-collapsible/vscode-collapsible.ts",
|
|
1144
|
-
"declarations": [
|
|
1145
|
-
{
|
|
1146
|
-
"kind": "class",
|
|
1147
|
-
"description": "Allows users to reveal or hide related content on a page.",
|
|
1148
|
-
"name": "VscodeCollapsible",
|
|
1149
|
-
"cssProperties": [
|
|
1150
|
-
{
|
|
1151
|
-
"description": "Background color",
|
|
1152
|
-
"name": "--vscode-sideBar-background",
|
|
1153
|
-
"default": "#181818"
|
|
1061
|
+
"name": "--vscode-font-size",
|
|
1062
|
+
"default": "13px"
|
|
1154
1063
|
},
|
|
1155
1064
|
{
|
|
1156
|
-
"
|
|
1157
|
-
"
|
|
1158
|
-
"default": "#0078d4"
|
|
1065
|
+
"name": "--vscode-font-weight",
|
|
1066
|
+
"default": "normal"
|
|
1159
1067
|
},
|
|
1160
1068
|
{
|
|
1161
|
-
"
|
|
1162
|
-
"
|
|
1163
|
-
"default": "sans-serif"
|
|
1069
|
+
"name": "--vscode-foreground",
|
|
1070
|
+
"default": "#cccccc"
|
|
1164
1071
|
},
|
|
1165
1072
|
{
|
|
1166
|
-
"
|
|
1167
|
-
"
|
|
1168
|
-
"default": "#181818"
|
|
1073
|
+
"name": "--vscode-settings-checkboxBackground",
|
|
1074
|
+
"default": "#313131"
|
|
1169
1075
|
},
|
|
1170
1076
|
{
|
|
1171
|
-
"
|
|
1172
|
-
"
|
|
1173
|
-
"default": "#cccccc"
|
|
1077
|
+
"name": "--vscode-settings-checkboxBorder",
|
|
1078
|
+
"default": "#3c3c3c"
|
|
1174
1079
|
},
|
|
1175
1080
|
{
|
|
1176
|
-
"
|
|
1177
|
-
"name": "--vscode-sideBarTitle-foreground",
|
|
1081
|
+
"name": "--vscode-settings-checkboxForeground",
|
|
1178
1082
|
"default": "#cccccc"
|
|
1179
|
-
}
|
|
1180
|
-
],
|
|
1181
|
-
"cssParts": [
|
|
1182
|
-
{
|
|
1183
|
-
"description": "Container for the toggleable content of the component. The container's overflow content is hidden by default. This CSS part can serve as an escape hatch to modify this behavior.",
|
|
1184
|
-
"name": "body"
|
|
1185
|
-
}
|
|
1186
|
-
],
|
|
1187
|
-
"slots": [
|
|
1083
|
+
},
|
|
1188
1084
|
{
|
|
1189
|
-
"
|
|
1190
|
-
"
|
|
1085
|
+
"name": "--vscode-focusBorder",
|
|
1086
|
+
"default": "#0078d4"
|
|
1191
1087
|
},
|
|
1192
1088
|
{
|
|
1193
|
-
"
|
|
1194
|
-
"
|
|
1089
|
+
"name": "--vscode-inputValidation-errorBackground",
|
|
1090
|
+
"default": "#5a1d1d"
|
|
1195
1091
|
},
|
|
1196
1092
|
{
|
|
1197
|
-
"
|
|
1198
|
-
"
|
|
1093
|
+
"name": "--vscode-inputValidation-errorBorder",
|
|
1094
|
+
"default": "#be1100"
|
|
1199
1095
|
}
|
|
1200
1096
|
],
|
|
1201
1097
|
"members": [
|
|
1202
1098
|
{
|
|
1203
1099
|
"kind": "field",
|
|
1204
|
-
"name": "
|
|
1100
|
+
"name": "autofocus",
|
|
1205
1101
|
"type": {
|
|
1206
|
-
"text": "
|
|
1102
|
+
"text": "boolean"
|
|
1207
1103
|
},
|
|
1208
|
-
"default": "
|
|
1209
|
-
"description": "
|
|
1210
|
-
"attribute": "
|
|
1104
|
+
"default": "false",
|
|
1105
|
+
"description": "Automatically focus on the element when the page loads.\n\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)",
|
|
1106
|
+
"attribute": "autofocus",
|
|
1107
|
+
"reflects": true
|
|
1211
1108
|
},
|
|
1212
1109
|
{
|
|
1213
1110
|
"kind": "field",
|
|
1214
|
-
"name": "
|
|
1111
|
+
"name": "checked",
|
|
1215
1112
|
"type": {
|
|
1216
|
-
"text": "
|
|
1113
|
+
"text": "boolean"
|
|
1217
1114
|
},
|
|
1218
|
-
"
|
|
1219
|
-
"
|
|
1220
|
-
"attribute": "description"
|
|
1115
|
+
"attribute": "checked",
|
|
1116
|
+
"reflects": true
|
|
1221
1117
|
},
|
|
1222
1118
|
{
|
|
1223
1119
|
"kind": "field",
|
|
1224
|
-
"name": "
|
|
1120
|
+
"name": "_checked",
|
|
1225
1121
|
"type": {
|
|
1226
1122
|
"text": "boolean"
|
|
1227
1123
|
},
|
|
1228
|
-
"default": "false",
|
|
1229
|
-
"attribute": "open",
|
|
1230
|
-
"reflects": true
|
|
1231
|
-
},
|
|
1232
|
-
{
|
|
1233
|
-
"kind": "method",
|
|
1234
|
-
"name": "_emitToggleEvent",
|
|
1235
|
-
"privacy": "private"
|
|
1236
|
-
},
|
|
1237
|
-
{
|
|
1238
|
-
"kind": "method",
|
|
1239
|
-
"name": "_onHeaderClick",
|
|
1240
|
-
"privacy": "private"
|
|
1241
|
-
},
|
|
1242
|
-
{
|
|
1243
|
-
"kind": "method",
|
|
1244
|
-
"name": "_onHeaderKeyDown",
|
|
1245
1124
|
"privacy": "private",
|
|
1246
|
-
"
|
|
1247
|
-
{
|
|
1248
|
-
"name": "event",
|
|
1249
|
-
"type": {
|
|
1250
|
-
"text": "KeyboardEvent"
|
|
1251
|
-
}
|
|
1252
|
-
}
|
|
1253
|
-
]
|
|
1125
|
+
"default": "false"
|
|
1254
1126
|
},
|
|
1255
1127
|
{
|
|
1256
1128
|
"kind": "field",
|
|
1257
|
-
"name": "
|
|
1129
|
+
"name": "defaultChecked",
|
|
1258
1130
|
"type": {
|
|
1259
|
-
"text": "
|
|
1131
|
+
"text": "boolean"
|
|
1260
1132
|
},
|
|
1261
|
-
"
|
|
1262
|
-
"
|
|
1263
|
-
"
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
}
|
|
1267
|
-
}
|
|
1268
|
-
],
|
|
1269
|
-
"events": [
|
|
1133
|
+
"default": "false",
|
|
1134
|
+
"description": "The element's initial checked state, which will be restored when the containing form is reset.",
|
|
1135
|
+
"attribute": "default-checked",
|
|
1136
|
+
"reflects": true
|
|
1137
|
+
},
|
|
1270
1138
|
{
|
|
1139
|
+
"kind": "field",
|
|
1140
|
+
"name": "invalid",
|
|
1271
1141
|
"type": {
|
|
1272
|
-
"text": "
|
|
1142
|
+
"text": "boolean"
|
|
1273
1143
|
},
|
|
1274
|
-
"
|
|
1275
|
-
"
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
"attributes": [
|
|
1144
|
+
"default": "false",
|
|
1145
|
+
"attribute": "invalid",
|
|
1146
|
+
"reflects": true
|
|
1147
|
+
},
|
|
1279
1148
|
{
|
|
1280
|
-
"
|
|
1149
|
+
"kind": "field",
|
|
1150
|
+
"name": "name",
|
|
1281
1151
|
"type": {
|
|
1282
|
-
"text": "string"
|
|
1152
|
+
"text": "string | undefined"
|
|
1283
1153
|
},
|
|
1284
|
-
"default": "
|
|
1285
|
-
"
|
|
1286
|
-
"
|
|
1154
|
+
"default": "undefined",
|
|
1155
|
+
"attribute": "name",
|
|
1156
|
+
"reflects": true
|
|
1287
1157
|
},
|
|
1288
1158
|
{
|
|
1289
|
-
"
|
|
1159
|
+
"kind": "field",
|
|
1160
|
+
"name": "value",
|
|
1290
1161
|
"type": {
|
|
1291
1162
|
"text": "string"
|
|
1292
1163
|
},
|
|
1293
1164
|
"default": "''",
|
|
1294
|
-
"description": "
|
|
1295
|
-
"
|
|
1165
|
+
"description": "Associate a value to the checkbox. According to the native checkbox [specification](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#value_2), If the component participates in a form:\n\n- If it is unchecked, the value will not be submitted.\n- If it is checked but the value is not set, `on` will be submitted.\n- If it is checked and value is set, the value will be submitted.",
|
|
1166
|
+
"attribute": "value"
|
|
1296
1167
|
},
|
|
1297
1168
|
{
|
|
1298
|
-
"
|
|
1169
|
+
"kind": "field",
|
|
1170
|
+
"name": "disabled",
|
|
1299
1171
|
"type": {
|
|
1300
1172
|
"text": "boolean"
|
|
1301
1173
|
},
|
|
1302
1174
|
"default": "false",
|
|
1303
|
-
"
|
|
1304
|
-
|
|
1305
|
-
],
|
|
1306
|
-
"superclass": {
|
|
1307
|
-
"name": "VscElement",
|
|
1308
|
-
"module": "/src/includes/VscElement.js"
|
|
1309
|
-
},
|
|
1310
|
-
"tagName": "vscode-collapsible",
|
|
1311
|
-
"customElement": true
|
|
1312
|
-
}
|
|
1313
|
-
],
|
|
1314
|
-
"exports": [
|
|
1315
|
-
{
|
|
1316
|
-
"kind": "js",
|
|
1317
|
-
"name": "VscodeCollapsible",
|
|
1318
|
-
"declaration": {
|
|
1319
|
-
"name": "VscodeCollapsible",
|
|
1320
|
-
"module": "src/vscode-collapsible/vscode-collapsible.ts"
|
|
1321
|
-
}
|
|
1322
|
-
},
|
|
1323
|
-
{
|
|
1324
|
-
"kind": "custom-element-definition",
|
|
1325
|
-
"name": "vscode-collapsible",
|
|
1326
|
-
"declaration": {
|
|
1327
|
-
"name": "VscodeCollapsible",
|
|
1328
|
-
"module": "src/vscode-collapsible/vscode-collapsible.ts"
|
|
1329
|
-
}
|
|
1330
|
-
}
|
|
1331
|
-
]
|
|
1332
|
-
},
|
|
1333
|
-
{
|
|
1334
|
-
"kind": "javascript-module",
|
|
1335
|
-
"path": "src/vscode-context-menu/vscode-context-menu.styles.ts",
|
|
1336
|
-
"declarations": [
|
|
1337
|
-
{
|
|
1338
|
-
"kind": "variable",
|
|
1339
|
-
"name": "styles",
|
|
1340
|
-
"type": {
|
|
1341
|
-
"text": "CSSResultGroup"
|
|
1342
|
-
},
|
|
1343
|
-
"default": "[ defaultStyles, css` :host { display: block; font-family: var(--vscode-font-family, sans-serif); font-size: var(--vscode-font-size, 13px); font-weight: var(--vscode-font-weight, normal); line-height: 1.4em; position: relative; } .context-menu { background-color: var(--vscode-menu-background, #1f1f1f); border-color: var(--vscode-menu-border, #454545); border-radius: 5px; border-style: solid; border-width: 1px; box-shadow: 0 2px 8px var(--vscode-widget-shadow, rgba(0, 0, 0, 0.36)); color: var(--vscode-menu-foreground, #cccccc); padding: 4px 0; white-space: nowrap; } .context-menu:focus { outline: 0; } `, ]"
|
|
1344
|
-
}
|
|
1345
|
-
],
|
|
1346
|
-
"exports": [
|
|
1347
|
-
{
|
|
1348
|
-
"kind": "js",
|
|
1349
|
-
"name": "default",
|
|
1350
|
-
"declaration": {
|
|
1351
|
-
"name": "styles",
|
|
1352
|
-
"module": "src/vscode-context-menu/vscode-context-menu.styles.ts"
|
|
1353
|
-
}
|
|
1354
|
-
}
|
|
1355
|
-
]
|
|
1356
|
-
},
|
|
1357
|
-
{
|
|
1358
|
-
"kind": "javascript-module",
|
|
1359
|
-
"path": "src/vscode-context-menu/vscode-context-menu.ts",
|
|
1360
|
-
"declarations": [
|
|
1361
|
-
{
|
|
1362
|
-
"kind": "class",
|
|
1363
|
-
"description": "",
|
|
1364
|
-
"name": "VscodeContextMenu",
|
|
1365
|
-
"cssProperties": [
|
|
1366
|
-
{
|
|
1367
|
-
"name": "--vscode-font-family",
|
|
1368
|
-
"default": "sans-serif"
|
|
1369
|
-
},
|
|
1370
|
-
{
|
|
1371
|
-
"name": "--vscode-font-size",
|
|
1372
|
-
"default": "13px"
|
|
1373
|
-
},
|
|
1374
|
-
{
|
|
1375
|
-
"name": "--vscode-font-weight",
|
|
1376
|
-
"default": "normal"
|
|
1377
|
-
},
|
|
1378
|
-
{
|
|
1379
|
-
"name": "--vscode-menu-background",
|
|
1380
|
-
"default": "#1f1f1f"
|
|
1381
|
-
},
|
|
1382
|
-
{
|
|
1383
|
-
"name": "--vscode-menu-border",
|
|
1384
|
-
"default": "#454545"
|
|
1385
|
-
},
|
|
1386
|
-
{
|
|
1387
|
-
"name": "--vscode-menu-foreground",
|
|
1388
|
-
"default": "#cccccc"
|
|
1389
|
-
},
|
|
1390
|
-
{
|
|
1391
|
-
"name": "--vscode-widget-shadow",
|
|
1392
|
-
"default": "rgba(0, 0, 0, 0.36)"
|
|
1393
|
-
}
|
|
1394
|
-
],
|
|
1395
|
-
"members": [
|
|
1396
|
-
{
|
|
1397
|
-
"kind": "field",
|
|
1398
|
-
"name": "data",
|
|
1399
|
-
"type": {
|
|
1400
|
-
"text": "MenuItemData[]"
|
|
1401
|
-
}
|
|
1175
|
+
"attribute": "disabled",
|
|
1176
|
+
"reflects": true
|
|
1402
1177
|
},
|
|
1403
1178
|
{
|
|
1404
1179
|
"kind": "field",
|
|
1405
|
-
"name": "
|
|
1180
|
+
"name": "indeterminate",
|
|
1406
1181
|
"type": {
|
|
1407
1182
|
"text": "boolean"
|
|
1408
1183
|
},
|
|
1409
1184
|
"default": "false",
|
|
1410
|
-
"
|
|
1411
|
-
"attribute": "prevent-close",
|
|
1185
|
+
"attribute": "indeterminate",
|
|
1412
1186
|
"reflects": true
|
|
1413
1187
|
},
|
|
1414
1188
|
{
|
|
1415
1189
|
"kind": "field",
|
|
1416
|
-
"name": "
|
|
1417
|
-
"
|
|
1418
|
-
"text": "boolean"
|
|
1419
|
-
},
|
|
1420
|
-
"attribute": "show",
|
|
1190
|
+
"name": "required",
|
|
1191
|
+
"attribute": "required",
|
|
1421
1192
|
"reflects": true
|
|
1422
1193
|
},
|
|
1423
1194
|
{
|
|
1424
1195
|
"kind": "field",
|
|
1425
|
-
"name": "
|
|
1196
|
+
"name": "_required",
|
|
1426
1197
|
"type": {
|
|
1427
|
-
"text": "
|
|
1198
|
+
"text": "boolean"
|
|
1428
1199
|
},
|
|
1429
1200
|
"privacy": "private",
|
|
1430
|
-
"default": "
|
|
1201
|
+
"default": "false"
|
|
1431
1202
|
},
|
|
1432
1203
|
{
|
|
1433
1204
|
"kind": "field",
|
|
1434
|
-
"name": "
|
|
1205
|
+
"name": "form",
|
|
1435
1206
|
"type": {
|
|
1436
|
-
"text": "
|
|
1207
|
+
"text": "HTMLFormElement | null"
|
|
1437
1208
|
},
|
|
1438
|
-
"
|
|
1439
|
-
"default": "false"
|
|
1209
|
+
"readonly": true
|
|
1440
1210
|
},
|
|
1441
1211
|
{
|
|
1442
1212
|
"kind": "field",
|
|
1443
|
-
"name": "
|
|
1213
|
+
"name": "validity",
|
|
1444
1214
|
"type": {
|
|
1445
|
-
"text": "
|
|
1215
|
+
"text": "ValidityState"
|
|
1446
1216
|
},
|
|
1447
|
-
"
|
|
1217
|
+
"readonly": true
|
|
1448
1218
|
},
|
|
1449
1219
|
{
|
|
1450
1220
|
"kind": "field",
|
|
1451
|
-
"name": "
|
|
1221
|
+
"name": "validationMessage",
|
|
1452
1222
|
"type": {
|
|
1453
|
-
"text": "
|
|
1223
|
+
"text": "string"
|
|
1454
1224
|
},
|
|
1455
|
-
"
|
|
1456
|
-
"default": "[]"
|
|
1225
|
+
"readonly": true
|
|
1457
1226
|
},
|
|
1458
1227
|
{
|
|
1459
1228
|
"kind": "field",
|
|
1460
|
-
"name": "
|
|
1229
|
+
"name": "willValidate",
|
|
1461
1230
|
"type": {
|
|
1462
|
-
"text": "
|
|
1231
|
+
"text": "boolean"
|
|
1463
1232
|
},
|
|
1464
|
-
"
|
|
1465
|
-
"default": "[]"
|
|
1233
|
+
"readonly": true
|
|
1466
1234
|
},
|
|
1467
1235
|
{
|
|
1468
1236
|
"kind": "method",
|
|
1469
|
-
"name": "
|
|
1470
|
-
"
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
"name": "ev",
|
|
1474
|
-
"type": {
|
|
1475
|
-
"text": "MouseEvent"
|
|
1476
|
-
}
|
|
1237
|
+
"name": "checkValidity",
|
|
1238
|
+
"return": {
|
|
1239
|
+
"type": {
|
|
1240
|
+
"text": "boolean"
|
|
1477
1241
|
}
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
{
|
|
1481
|
-
"kind": "field",
|
|
1482
|
-
"name": "_onClickOutsideBound",
|
|
1483
|
-
"privacy": "private"
|
|
1242
|
+
},
|
|
1243
|
+
"description": "Returns `true` if the element's value is valid; otherwise, it returns `false`.\nIf the element's value is invalid, an invalid event is triggered on the element.\n\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/checkValidity)"
|
|
1484
1244
|
},
|
|
1485
1245
|
{
|
|
1486
1246
|
"kind": "method",
|
|
1487
|
-
"name": "
|
|
1488
|
-
"
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
"name": "ev",
|
|
1492
|
-
"type": {
|
|
1493
|
-
"text": "KeyboardEvent"
|
|
1494
|
-
}
|
|
1247
|
+
"name": "reportValidity",
|
|
1248
|
+
"return": {
|
|
1249
|
+
"type": {
|
|
1250
|
+
"text": "boolean"
|
|
1495
1251
|
}
|
|
1496
|
-
|
|
1252
|
+
},
|
|
1253
|
+
"description": "Returns `true` if the element's value is valid; otherwise, it returns `false`.\nIf the element's value is invalid, an invalid event is triggered on the element, and the\nbrowser displays an error message to the user.\n\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/reportValidity)"
|
|
1497
1254
|
},
|
|
1498
1255
|
{
|
|
1499
|
-
"kind": "
|
|
1500
|
-
"name": "
|
|
1256
|
+
"kind": "field",
|
|
1257
|
+
"name": "_inputEl",
|
|
1258
|
+
"type": {
|
|
1259
|
+
"text": "HTMLInputElement"
|
|
1260
|
+
},
|
|
1501
1261
|
"privacy": "private"
|
|
1502
1262
|
},
|
|
1503
1263
|
{
|
|
1504
|
-
"kind": "
|
|
1505
|
-
"name": "
|
|
1264
|
+
"kind": "field",
|
|
1265
|
+
"name": "_internals",
|
|
1266
|
+
"type": {
|
|
1267
|
+
"text": "ElementInternals"
|
|
1268
|
+
},
|
|
1506
1269
|
"privacy": "private"
|
|
1507
1270
|
},
|
|
1508
1271
|
{
|
|
1509
1272
|
"kind": "method",
|
|
1510
|
-
"name": "
|
|
1273
|
+
"name": "_setActualFormValue",
|
|
1511
1274
|
"privacy": "private"
|
|
1512
1275
|
},
|
|
1513
1276
|
{
|
|
1514
1277
|
"kind": "method",
|
|
1515
|
-
"name": "
|
|
1516
|
-
"privacy": "private",
|
|
1517
|
-
"parameters": [
|
|
1518
|
-
{
|
|
1519
|
-
"name": "selectedOption",
|
|
1520
|
-
"type": {
|
|
1521
|
-
"text": "VscodeContextMenuItem"
|
|
1522
|
-
}
|
|
1523
|
-
}
|
|
1524
|
-
]
|
|
1525
|
-
},
|
|
1526
|
-
{
|
|
1527
|
-
"kind": "method",
|
|
1528
|
-
"name": "_dispatchLegacySelectEvent",
|
|
1529
|
-
"privacy": "private",
|
|
1530
|
-
"parameters": [
|
|
1531
|
-
{
|
|
1532
|
-
"name": "selectedOption",
|
|
1533
|
-
"type": {
|
|
1534
|
-
"text": "VscodeContextMenuItem"
|
|
1535
|
-
}
|
|
1536
|
-
}
|
|
1537
|
-
]
|
|
1538
|
-
},
|
|
1539
|
-
{
|
|
1540
|
-
"kind": "method",
|
|
1541
|
-
"name": "_handleEnter",
|
|
1278
|
+
"name": "_toggleState",
|
|
1542
1279
|
"privacy": "private"
|
|
1543
1280
|
},
|
|
1544
1281
|
{
|
|
1545
|
-
"kind": "
|
|
1546
|
-
"name": "
|
|
1547
|
-
"privacy": "private"
|
|
1548
|
-
"parameters": [
|
|
1549
|
-
{
|
|
1550
|
-
"name": "event",
|
|
1551
|
-
"type": {
|
|
1552
|
-
"text": "CustomEvent"
|
|
1553
|
-
}
|
|
1554
|
-
}
|
|
1555
|
-
]
|
|
1282
|
+
"kind": "field",
|
|
1283
|
+
"name": "_handleClick",
|
|
1284
|
+
"privacy": "private"
|
|
1556
1285
|
},
|
|
1557
1286
|
{
|
|
1558
|
-
"kind": "
|
|
1559
|
-
"name": "
|
|
1560
|
-
"privacy": "private"
|
|
1561
|
-
"parameters": [
|
|
1562
|
-
{
|
|
1563
|
-
"name": "event",
|
|
1564
|
-
"type": {
|
|
1565
|
-
"text": "MouseEvent"
|
|
1566
|
-
}
|
|
1567
|
-
}
|
|
1568
|
-
]
|
|
1287
|
+
"kind": "field",
|
|
1288
|
+
"name": "_handleKeyDown",
|
|
1289
|
+
"privacy": "private"
|
|
1569
1290
|
},
|
|
1570
1291
|
{
|
|
1571
1292
|
"kind": "method",
|
|
1572
|
-
"name": "
|
|
1293
|
+
"name": "_manageRequired",
|
|
1573
1294
|
"privacy": "private"
|
|
1574
1295
|
},
|
|
1575
1296
|
{
|
|
1576
1297
|
"kind": "field",
|
|
1577
|
-
"name": "
|
|
1298
|
+
"name": "label",
|
|
1578
1299
|
"type": {
|
|
1579
1300
|
"text": "string"
|
|
1580
1301
|
},
|
|
1581
|
-
"
|
|
1582
|
-
"
|
|
1583
|
-
"inheritedFrom": {
|
|
1302
|
+
"attribute": "label",
|
|
1303
|
+
"description": "Label text. It is only applied if component's innerHTML doesn't contain any text.",
|
|
1304
|
+
"inheritedFrom": {
|
|
1305
|
+
"name": "LabelledCheckboxOrRadioMixin",
|
|
1306
|
+
"module": "src/includes/form-button-widget/LabelledCheckboxOrRadio.ts"
|
|
1307
|
+
}
|
|
1308
|
+
},
|
|
1309
|
+
{
|
|
1310
|
+
"kind": "field",
|
|
1311
|
+
"name": "_label",
|
|
1312
|
+
"type": {
|
|
1313
|
+
"text": "string"
|
|
1314
|
+
},
|
|
1315
|
+
"privacy": "private",
|
|
1316
|
+
"default": "''",
|
|
1317
|
+
"inheritedFrom": {
|
|
1318
|
+
"name": "LabelledCheckboxOrRadioMixin",
|
|
1319
|
+
"module": "src/includes/form-button-widget/LabelledCheckboxOrRadio.ts"
|
|
1320
|
+
}
|
|
1321
|
+
},
|
|
1322
|
+
{
|
|
1323
|
+
"kind": "field",
|
|
1324
|
+
"name": "_slottedText",
|
|
1325
|
+
"type": {
|
|
1326
|
+
"text": "string"
|
|
1327
|
+
},
|
|
1328
|
+
"privacy": "private",
|
|
1329
|
+
"default": "''",
|
|
1330
|
+
"inheritedFrom": {
|
|
1331
|
+
"name": "LabelledCheckboxOrRadioMixin",
|
|
1332
|
+
"module": "src/includes/form-button-widget/LabelledCheckboxOrRadio.ts"
|
|
1333
|
+
}
|
|
1334
|
+
},
|
|
1335
|
+
{
|
|
1336
|
+
"kind": "method",
|
|
1337
|
+
"name": "_handleSlotChange",
|
|
1338
|
+
"privacy": "protected",
|
|
1339
|
+
"return": {
|
|
1340
|
+
"type": {
|
|
1341
|
+
"text": "void"
|
|
1342
|
+
}
|
|
1343
|
+
},
|
|
1344
|
+
"inheritedFrom": {
|
|
1345
|
+
"name": "LabelledCheckboxOrRadioMixin",
|
|
1346
|
+
"module": "src/includes/form-button-widget/LabelledCheckboxOrRadio.ts"
|
|
1347
|
+
}
|
|
1348
|
+
},
|
|
1349
|
+
{
|
|
1350
|
+
"kind": "method",
|
|
1351
|
+
"name": "_renderLabelAttribute",
|
|
1352
|
+
"privacy": "protected",
|
|
1353
|
+
"return": {
|
|
1354
|
+
"type": {
|
|
1355
|
+
"text": "TemplateResult"
|
|
1356
|
+
}
|
|
1357
|
+
},
|
|
1358
|
+
"inheritedFrom": {
|
|
1359
|
+
"name": "LabelledCheckboxOrRadioMixin",
|
|
1360
|
+
"module": "src/includes/form-button-widget/LabelledCheckboxOrRadio.ts"
|
|
1361
|
+
}
|
|
1362
|
+
},
|
|
1363
|
+
{
|
|
1364
|
+
"kind": "field",
|
|
1365
|
+
"name": "focused",
|
|
1366
|
+
"type": {
|
|
1367
|
+
"text": "boolean"
|
|
1368
|
+
},
|
|
1369
|
+
"default": "false",
|
|
1370
|
+
"attribute": "focused",
|
|
1371
|
+
"reflects": true,
|
|
1372
|
+
"inheritedFrom": {
|
|
1373
|
+
"name": "FormButtonWidgetBase",
|
|
1374
|
+
"module": "src/includes/form-button-widget/FormButtonWidgetBase.ts"
|
|
1375
|
+
}
|
|
1376
|
+
},
|
|
1377
|
+
{
|
|
1378
|
+
"kind": "field",
|
|
1379
|
+
"name": "_prevTabindex",
|
|
1380
|
+
"type": {
|
|
1381
|
+
"text": "number"
|
|
1382
|
+
},
|
|
1383
|
+
"privacy": "private",
|
|
1384
|
+
"default": "0",
|
|
1385
|
+
"inheritedFrom": {
|
|
1386
|
+
"name": "FormButtonWidgetBase",
|
|
1387
|
+
"module": "src/includes/form-button-widget/FormButtonWidgetBase.ts"
|
|
1388
|
+
}
|
|
1389
|
+
},
|
|
1390
|
+
{
|
|
1391
|
+
"kind": "field",
|
|
1392
|
+
"name": "_handleFocus",
|
|
1393
|
+
"privacy": "private",
|
|
1394
|
+
"inheritedFrom": {
|
|
1395
|
+
"name": "FormButtonWidgetBase",
|
|
1396
|
+
"module": "src/includes/form-button-widget/FormButtonWidgetBase.ts"
|
|
1397
|
+
}
|
|
1398
|
+
},
|
|
1399
|
+
{
|
|
1400
|
+
"kind": "field",
|
|
1401
|
+
"name": "_handleBlur",
|
|
1402
|
+
"privacy": "private",
|
|
1403
|
+
"inheritedFrom": {
|
|
1404
|
+
"name": "FormButtonWidgetBase",
|
|
1405
|
+
"module": "src/includes/form-button-widget/FormButtonWidgetBase.ts"
|
|
1406
|
+
}
|
|
1407
|
+
},
|
|
1408
|
+
{
|
|
1409
|
+
"kind": "field",
|
|
1410
|
+
"name": "version",
|
|
1411
|
+
"type": {
|
|
1412
|
+
"text": "string"
|
|
1413
|
+
},
|
|
1414
|
+
"description": "VSCode Elements version",
|
|
1415
|
+
"readonly": true,
|
|
1416
|
+
"inheritedFrom": {
|
|
1584
1417
|
"name": "VscElement",
|
|
1585
1418
|
"module": "src/includes/VscElement.ts"
|
|
1586
1419
|
}
|
|
@@ -1588,68 +1421,160 @@
|
|
|
1588
1421
|
],
|
|
1589
1422
|
"events": [
|
|
1590
1423
|
{
|
|
1591
|
-
"name": "
|
|
1424
|
+
"name": "change",
|
|
1425
|
+
"type": {
|
|
1426
|
+
"text": "Event"
|
|
1427
|
+
},
|
|
1428
|
+
"description": "Dispatched when checked state is changed. The event is bubbled, so it can be listened on a parent element like the `CheckboxGroup`."
|
|
1429
|
+
},
|
|
1430
|
+
{
|
|
1431
|
+
"name": "vsc-change",
|
|
1592
1432
|
"type": {
|
|
1593
1433
|
"text": "CustomEvent"
|
|
1594
1434
|
},
|
|
1595
|
-
"deprecated": "
|
|
1435
|
+
"deprecated": "true"
|
|
1596
1436
|
},
|
|
1597
1437
|
{
|
|
1598
1438
|
"type": {
|
|
1599
|
-
"text": "
|
|
1439
|
+
"text": "Event"
|
|
1600
1440
|
},
|
|
1601
|
-
"description": "
|
|
1602
|
-
"name": "
|
|
1441
|
+
"description": "Dispatched when the element is invalid and `checkValidity()` has been called or the form containing this element is submitted. [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/invalid_event)",
|
|
1442
|
+
"name": "invalid"
|
|
1603
1443
|
}
|
|
1604
1444
|
],
|
|
1605
1445
|
"attributes": [
|
|
1606
1446
|
{
|
|
1607
|
-
"
|
|
1447
|
+
"description": "Name which is used as a variable name in the data of the form-container.",
|
|
1448
|
+
"name": "name",
|
|
1449
|
+
"type": {
|
|
1450
|
+
"text": "string | undefined"
|
|
1451
|
+
},
|
|
1452
|
+
"default": "undefined",
|
|
1453
|
+
"fieldName": "name"
|
|
1454
|
+
},
|
|
1455
|
+
{
|
|
1456
|
+
"name": "label",
|
|
1457
|
+
"type": {
|
|
1458
|
+
"text": "string"
|
|
1459
|
+
},
|
|
1460
|
+
"fieldName": "label",
|
|
1461
|
+
"description": "Attribute pair of the `label` property.",
|
|
1462
|
+
"inheritedFrom": {
|
|
1463
|
+
"name": "LabelledCheckboxOrRadioMixin",
|
|
1464
|
+
"module": "src/includes/form-button-widget/LabelledCheckboxOrRadio.ts"
|
|
1465
|
+
}
|
|
1466
|
+
},
|
|
1467
|
+
{
|
|
1468
|
+
"name": "autofocus",
|
|
1608
1469
|
"type": {
|
|
1609
1470
|
"text": "boolean"
|
|
1610
1471
|
},
|
|
1611
1472
|
"default": "false",
|
|
1612
|
-
"description": "
|
|
1613
|
-
"fieldName": "
|
|
1473
|
+
"description": "Automatically focus on the element when the page loads.\n\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)",
|
|
1474
|
+
"fieldName": "autofocus"
|
|
1614
1475
|
},
|
|
1615
1476
|
{
|
|
1616
|
-
"name": "
|
|
1477
|
+
"name": "checked",
|
|
1617
1478
|
"type": {
|
|
1618
1479
|
"text": "boolean"
|
|
1619
1480
|
},
|
|
1620
|
-
"fieldName": "
|
|
1481
|
+
"fieldName": "checked"
|
|
1482
|
+
},
|
|
1483
|
+
{
|
|
1484
|
+
"name": "default-checked",
|
|
1485
|
+
"type": {
|
|
1486
|
+
"text": "boolean"
|
|
1487
|
+
},
|
|
1488
|
+
"default": "false",
|
|
1489
|
+
"description": "The element's initial checked state, which will be restored when the containing form is reset.",
|
|
1490
|
+
"fieldName": "defaultChecked"
|
|
1491
|
+
},
|
|
1492
|
+
{
|
|
1493
|
+
"name": "invalid",
|
|
1494
|
+
"type": {
|
|
1495
|
+
"text": "boolean"
|
|
1496
|
+
},
|
|
1497
|
+
"default": "false",
|
|
1498
|
+
"fieldName": "invalid"
|
|
1499
|
+
},
|
|
1500
|
+
{
|
|
1501
|
+
"name": "value",
|
|
1502
|
+
"type": {
|
|
1503
|
+
"text": "string"
|
|
1504
|
+
},
|
|
1505
|
+
"default": "''",
|
|
1506
|
+
"description": "Associate a value to the checkbox. According to the native checkbox [specification](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#value_2), If the component participates in a form:\n\n- If it is unchecked, the value will not be submitted.\n- If it is checked but the value is not set, `on` will be submitted.\n- If it is checked and value is set, the value will be submitted.",
|
|
1507
|
+
"fieldName": "value"
|
|
1508
|
+
},
|
|
1509
|
+
{
|
|
1510
|
+
"name": "disabled",
|
|
1511
|
+
"type": {
|
|
1512
|
+
"text": "boolean"
|
|
1513
|
+
},
|
|
1514
|
+
"default": "false",
|
|
1515
|
+
"fieldName": "disabled"
|
|
1516
|
+
},
|
|
1517
|
+
{
|
|
1518
|
+
"name": "indeterminate",
|
|
1519
|
+
"type": {
|
|
1520
|
+
"text": "boolean"
|
|
1521
|
+
},
|
|
1522
|
+
"default": "false",
|
|
1523
|
+
"fieldName": "indeterminate"
|
|
1524
|
+
},
|
|
1525
|
+
{
|
|
1526
|
+
"name": "required",
|
|
1527
|
+
"fieldName": "required"
|
|
1528
|
+
},
|
|
1529
|
+
{
|
|
1530
|
+
"name": "focused",
|
|
1531
|
+
"type": {
|
|
1532
|
+
"text": "boolean"
|
|
1533
|
+
},
|
|
1534
|
+
"default": "false",
|
|
1535
|
+
"fieldName": "focused",
|
|
1536
|
+
"inheritedFrom": {
|
|
1537
|
+
"name": "FormButtonWidgetBase",
|
|
1538
|
+
"module": "src/includes/form-button-widget/FormButtonWidgetBase.ts"
|
|
1539
|
+
}
|
|
1540
|
+
}
|
|
1541
|
+
],
|
|
1542
|
+
"mixins": [
|
|
1543
|
+
{
|
|
1544
|
+
"name": "LabelledCheckboxOrRadioMixin",
|
|
1545
|
+
"module": "/src/includes/form-button-widget/LabelledCheckboxOrRadio.js"
|
|
1621
1546
|
}
|
|
1622
1547
|
],
|
|
1623
1548
|
"superclass": {
|
|
1624
|
-
"name": "
|
|
1625
|
-
"module": "/src/includes/
|
|
1549
|
+
"name": "FormButtonWidgetBase",
|
|
1550
|
+
"module": "/src/includes/form-button-widget/FormButtonWidgetBase.js"
|
|
1626
1551
|
},
|
|
1627
|
-
"tagName": "vscode-
|
|
1552
|
+
"tagName": "vscode-checkbox",
|
|
1628
1553
|
"customElement": true
|
|
1629
1554
|
}
|
|
1630
1555
|
],
|
|
1631
1556
|
"exports": [
|
|
1632
1557
|
{
|
|
1633
1558
|
"kind": "js",
|
|
1634
|
-
"name": "
|
|
1559
|
+
"name": "VscodeCheckbox",
|
|
1635
1560
|
"declaration": {
|
|
1636
|
-
"name": "
|
|
1637
|
-
"module": "src/vscode-
|
|
1561
|
+
"name": "VscodeCheckbox",
|
|
1562
|
+
"module": "src/vscode-checkbox/vscode-checkbox.ts"
|
|
1638
1563
|
}
|
|
1639
1564
|
},
|
|
1640
1565
|
{
|
|
1641
1566
|
"kind": "custom-element-definition",
|
|
1642
|
-
"name": "vscode-
|
|
1567
|
+
"name": "vscode-checkbox",
|
|
1643
1568
|
"declaration": {
|
|
1644
|
-
"name": "
|
|
1645
|
-
"module": "src/vscode-
|
|
1569
|
+
"name": "VscodeCheckbox",
|
|
1570
|
+
"module": "src/vscode-checkbox/vscode-checkbox.ts"
|
|
1646
1571
|
}
|
|
1647
1572
|
}
|
|
1648
1573
|
]
|
|
1649
1574
|
},
|
|
1650
1575
|
{
|
|
1651
1576
|
"kind": "javascript-module",
|
|
1652
|
-
"path": "src/vscode-checkbox/vscode-checkbox.styles.ts",
|
|
1577
|
+
"path": "src/vscode-checkbox-group/vscode-checkbox-group.styles.ts",
|
|
1653
1578
|
"declarations": [
|
|
1654
1579
|
{
|
|
1655
1580
|
"kind": "variable",
|
|
@@ -1657,7 +1582,7 @@
|
|
|
1657
1582
|
"type": {
|
|
1658
1583
|
"text": "CSSResultGroup"
|
|
1659
1584
|
},
|
|
1660
|
-
"default": "[ defaultStyles,
|
|
1585
|
+
"default": "[ defaultStyles, css` :host { display: block; } .wrapper { display: flex; flex-wrap: wrap; } :host([variant='vertical']) .wrapper { display: block; } ::slotted(vscode-checkbox) { margin-right: 20px; } ::slotted(vscode-checkbox:last-child) { margin-right: 0; } :host([variant='vertical']) ::slotted(vscode-checkbox) { display: block; margin-bottom: 15px; } :host([variant='vertical']) ::slotted(vscode-checkbox:last-child) { margin-bottom: 0; } `, ]"
|
|
1661
1586
|
}
|
|
1662
1587
|
],
|
|
1663
1588
|
"exports": [
|
|
@@ -1666,371 +1591,218 @@
|
|
|
1666
1591
|
"name": "default",
|
|
1667
1592
|
"declaration": {
|
|
1668
1593
|
"name": "styles",
|
|
1669
|
-
"module": "src/vscode-checkbox/vscode-checkbox.styles.ts"
|
|
1594
|
+
"module": "src/vscode-checkbox-group/vscode-checkbox-group.styles.ts"
|
|
1670
1595
|
}
|
|
1671
1596
|
}
|
|
1672
1597
|
]
|
|
1673
1598
|
},
|
|
1674
1599
|
{
|
|
1675
1600
|
"kind": "javascript-module",
|
|
1676
|
-
"path": "src/vscode-checkbox/vscode-checkbox.ts",
|
|
1601
|
+
"path": "src/vscode-checkbox-group/vscode-checkbox-group.ts",
|
|
1677
1602
|
"declarations": [
|
|
1678
1603
|
{
|
|
1679
1604
|
"kind": "class",
|
|
1680
|
-
"description": "
|
|
1681
|
-
"name": "
|
|
1682
|
-
"cssProperties": [
|
|
1683
|
-
{
|
|
1684
|
-
"name": "--vscode-font-family",
|
|
1685
|
-
"default": "sans-serif"
|
|
1686
|
-
},
|
|
1687
|
-
{
|
|
1688
|
-
"name": "--vscode-font-size",
|
|
1689
|
-
"default": "13px"
|
|
1690
|
-
},
|
|
1691
|
-
{
|
|
1692
|
-
"name": "--vscode-font-weight",
|
|
1693
|
-
"default": "normal"
|
|
1694
|
-
},
|
|
1695
|
-
{
|
|
1696
|
-
"name": "--vscode-foreground",
|
|
1697
|
-
"default": "#cccccc"
|
|
1698
|
-
},
|
|
1699
|
-
{
|
|
1700
|
-
"name": "--vscode-settings-checkboxBackground",
|
|
1701
|
-
"default": "#313131"
|
|
1702
|
-
},
|
|
1703
|
-
{
|
|
1704
|
-
"name": "--vscode-settings-checkboxBorder",
|
|
1705
|
-
"default": "#3c3c3c"
|
|
1706
|
-
},
|
|
1707
|
-
{
|
|
1708
|
-
"name": "--vscode-settings-checkboxForeground",
|
|
1709
|
-
"default": "#cccccc"
|
|
1710
|
-
},
|
|
1711
|
-
{
|
|
1712
|
-
"name": "--vscode-focusBorder",
|
|
1713
|
-
"default": "#0078d4"
|
|
1714
|
-
},
|
|
1715
|
-
{
|
|
1716
|
-
"name": "--vscode-inputValidation-errorBackground",
|
|
1717
|
-
"default": "#5a1d1d"
|
|
1718
|
-
},
|
|
1719
|
-
{
|
|
1720
|
-
"name": "--vscode-inputValidation-errorBorder",
|
|
1721
|
-
"default": "#be1100"
|
|
1722
|
-
}
|
|
1723
|
-
],
|
|
1605
|
+
"description": "Arranges a group of checkboxes horizontally or vertically.",
|
|
1606
|
+
"name": "VscodeCheckboxGroup",
|
|
1724
1607
|
"members": [
|
|
1725
1608
|
{
|
|
1726
1609
|
"kind": "field",
|
|
1727
|
-
"name": "
|
|
1728
|
-
"type": {
|
|
1729
|
-
"text": "boolean"
|
|
1730
|
-
},
|
|
1731
|
-
"default": "false",
|
|
1732
|
-
"description": "Automatically focus on the element when the page loads.\n\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)",
|
|
1733
|
-
"attribute": "autofocus",
|
|
1734
|
-
"reflects": true
|
|
1735
|
-
},
|
|
1736
|
-
{
|
|
1737
|
-
"kind": "field",
|
|
1738
|
-
"name": "checked",
|
|
1739
|
-
"type": {
|
|
1740
|
-
"text": "boolean"
|
|
1741
|
-
},
|
|
1742
|
-
"attribute": "checked",
|
|
1743
|
-
"reflects": true
|
|
1744
|
-
},
|
|
1745
|
-
{
|
|
1746
|
-
"kind": "field",
|
|
1747
|
-
"name": "_checked",
|
|
1748
|
-
"type": {
|
|
1749
|
-
"text": "boolean"
|
|
1750
|
-
},
|
|
1751
|
-
"privacy": "private",
|
|
1752
|
-
"default": "false"
|
|
1753
|
-
},
|
|
1754
|
-
{
|
|
1755
|
-
"kind": "field",
|
|
1756
|
-
"name": "defaultChecked",
|
|
1757
|
-
"type": {
|
|
1758
|
-
"text": "boolean"
|
|
1759
|
-
},
|
|
1760
|
-
"default": "false",
|
|
1761
|
-
"description": "The element's initial checked state, which will be restored when the containing form is reset.",
|
|
1762
|
-
"attribute": "default-checked",
|
|
1763
|
-
"reflects": true
|
|
1764
|
-
},
|
|
1765
|
-
{
|
|
1766
|
-
"kind": "field",
|
|
1767
|
-
"name": "invalid",
|
|
1768
|
-
"type": {
|
|
1769
|
-
"text": "boolean"
|
|
1770
|
-
},
|
|
1771
|
-
"default": "false",
|
|
1772
|
-
"attribute": "invalid",
|
|
1773
|
-
"reflects": true
|
|
1774
|
-
},
|
|
1775
|
-
{
|
|
1776
|
-
"kind": "field",
|
|
1777
|
-
"name": "name",
|
|
1778
|
-
"type": {
|
|
1779
|
-
"text": "string | undefined"
|
|
1780
|
-
},
|
|
1781
|
-
"default": "undefined",
|
|
1782
|
-
"attribute": "name",
|
|
1783
|
-
"reflects": true
|
|
1784
|
-
},
|
|
1785
|
-
{
|
|
1786
|
-
"kind": "field",
|
|
1787
|
-
"name": "value",
|
|
1788
|
-
"type": {
|
|
1789
|
-
"text": "string"
|
|
1790
|
-
},
|
|
1791
|
-
"default": "''",
|
|
1792
|
-
"description": "Associate a value to the checkbox. According to the native checkbox [specification](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#value_2), If the component participates in a form:\n\n- If it is unchecked, the value will not be submitted.\n- If it is checked but the value is not set, `on` will be submitted.\n- If it is checked and value is set, the value will be submitted.",
|
|
1793
|
-
"attribute": "value"
|
|
1794
|
-
},
|
|
1795
|
-
{
|
|
1796
|
-
"kind": "field",
|
|
1797
|
-
"name": "disabled",
|
|
1798
|
-
"type": {
|
|
1799
|
-
"text": "boolean"
|
|
1800
|
-
},
|
|
1801
|
-
"default": "false",
|
|
1802
|
-
"attribute": "disabled",
|
|
1803
|
-
"reflects": true
|
|
1804
|
-
},
|
|
1805
|
-
{
|
|
1806
|
-
"kind": "field",
|
|
1807
|
-
"name": "indeterminate",
|
|
1610
|
+
"name": "variant",
|
|
1808
1611
|
"type": {
|
|
1809
|
-
"text": "
|
|
1612
|
+
"text": "'horizontal' | 'vertical'"
|
|
1810
1613
|
},
|
|
1811
|
-
"default": "
|
|
1812
|
-
"attribute": "
|
|
1813
|
-
"reflects": true
|
|
1814
|
-
},
|
|
1815
|
-
{
|
|
1816
|
-
"kind": "field",
|
|
1817
|
-
"name": "required",
|
|
1818
|
-
"attribute": "required",
|
|
1614
|
+
"default": "'horizontal'",
|
|
1615
|
+
"attribute": "variant",
|
|
1819
1616
|
"reflects": true
|
|
1820
1617
|
},
|
|
1821
1618
|
{
|
|
1822
1619
|
"kind": "field",
|
|
1823
|
-
"name": "
|
|
1824
|
-
"type": {
|
|
1825
|
-
"text": "boolean"
|
|
1826
|
-
},
|
|
1827
|
-
"privacy": "private",
|
|
1828
|
-
"default": "false"
|
|
1829
|
-
},
|
|
1830
|
-
{
|
|
1831
|
-
"kind": "field",
|
|
1832
|
-
"name": "form",
|
|
1833
|
-
"type": {
|
|
1834
|
-
"text": "HTMLFormElement | null"
|
|
1835
|
-
},
|
|
1836
|
-
"readonly": true
|
|
1837
|
-
},
|
|
1838
|
-
{
|
|
1839
|
-
"kind": "field",
|
|
1840
|
-
"name": "validity",
|
|
1841
|
-
"type": {
|
|
1842
|
-
"text": "ValidityState"
|
|
1843
|
-
},
|
|
1844
|
-
"readonly": true
|
|
1845
|
-
},
|
|
1846
|
-
{
|
|
1847
|
-
"kind": "field",
|
|
1848
|
-
"name": "validationMessage",
|
|
1620
|
+
"name": "version",
|
|
1849
1621
|
"type": {
|
|
1850
1622
|
"text": "string"
|
|
1851
1623
|
},
|
|
1852
|
-
"
|
|
1853
|
-
|
|
1624
|
+
"description": "VSCode Elements version",
|
|
1625
|
+
"readonly": true,
|
|
1626
|
+
"inheritedFrom": {
|
|
1627
|
+
"name": "VscElement",
|
|
1628
|
+
"module": "src/includes/VscElement.ts"
|
|
1629
|
+
}
|
|
1630
|
+
}
|
|
1631
|
+
],
|
|
1632
|
+
"attributes": [
|
|
1854
1633
|
{
|
|
1855
|
-
"
|
|
1856
|
-
"name": "willValidate",
|
|
1634
|
+
"name": "variant",
|
|
1857
1635
|
"type": {
|
|
1858
|
-
"text": "
|
|
1859
|
-
},
|
|
1860
|
-
"readonly": true
|
|
1861
|
-
},
|
|
1862
|
-
{
|
|
1863
|
-
"kind": "method",
|
|
1864
|
-
"name": "checkValidity",
|
|
1865
|
-
"return": {
|
|
1866
|
-
"type": {
|
|
1867
|
-
"text": "boolean"
|
|
1868
|
-
}
|
|
1636
|
+
"text": "'horizontal' | 'vertical'"
|
|
1869
1637
|
},
|
|
1870
|
-
"
|
|
1871
|
-
|
|
1638
|
+
"default": "'horizontal'",
|
|
1639
|
+
"fieldName": "variant"
|
|
1640
|
+
}
|
|
1641
|
+
],
|
|
1642
|
+
"superclass": {
|
|
1643
|
+
"name": "VscElement",
|
|
1644
|
+
"module": "/src/includes/VscElement.js"
|
|
1645
|
+
},
|
|
1646
|
+
"tagName": "vscode-checkbox-group",
|
|
1647
|
+
"customElement": true
|
|
1648
|
+
}
|
|
1649
|
+
],
|
|
1650
|
+
"exports": [
|
|
1651
|
+
{
|
|
1652
|
+
"kind": "js",
|
|
1653
|
+
"name": "VscodeCheckboxGroup",
|
|
1654
|
+
"declaration": {
|
|
1655
|
+
"name": "VscodeCheckboxGroup",
|
|
1656
|
+
"module": "src/vscode-checkbox-group/vscode-checkbox-group.ts"
|
|
1657
|
+
}
|
|
1658
|
+
},
|
|
1659
|
+
{
|
|
1660
|
+
"kind": "custom-element-definition",
|
|
1661
|
+
"name": "vscode-checkbox-group",
|
|
1662
|
+
"declaration": {
|
|
1663
|
+
"name": "VscodeCheckboxGroup",
|
|
1664
|
+
"module": "src/vscode-checkbox-group/vscode-checkbox-group.ts"
|
|
1665
|
+
}
|
|
1666
|
+
}
|
|
1667
|
+
]
|
|
1668
|
+
},
|
|
1669
|
+
{
|
|
1670
|
+
"kind": "javascript-module",
|
|
1671
|
+
"path": "src/vscode-collapsible/vscode-collapsible.styles.ts",
|
|
1672
|
+
"declarations": [
|
|
1673
|
+
{
|
|
1674
|
+
"kind": "variable",
|
|
1675
|
+
"name": "styles",
|
|
1676
|
+
"type": {
|
|
1677
|
+
"text": "CSSResultGroup"
|
|
1678
|
+
},
|
|
1679
|
+
"default": "[ defaultStyles, css` .collapsible { background-color: var(--vscode-sideBar-background, #181818); } .collapsible-header { align-items: center; background-color: var(--vscode-sideBarSectionHeader-background, #181818); cursor: pointer; display: flex; height: 22px; line-height: 22px; user-select: none; } .collapsible-header:focus { opacity: 1; outline-offset: -1px; outline-style: solid; outline-width: 1px; outline-color: var(--vscode-focusBorder, #0078d4); } .title { color: var(--vscode-sideBarTitle-foreground, #cccccc); display: block; font-family: var(--vscode-font-family, sans-serif); font-size: 11px; font-weight: 700; margin: 0; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; } .title .description { font-weight: 400; margin-left: 10px; text-transform: none; opacity: 0.6; } .header-icon { color: var(--vscode-icon-foreground, #cccccc); display: block; flex-shrink: 0; margin: 0 3px; } .collapsible.open .header-icon { transform: rotate(90deg); } .header-slots { align-items: center; display: flex; height: 22px; margin-left: auto; margin-right: 4px; } .actions { display: none; } .collapsible.open .actions { display: block; } .header-slots slot { display: flex; max-height: 22px; overflow: hidden; } .header-slots slot::slotted(div) { align-items: center; display: flex; } .collapsible-body { display: none; overflow: hidden; } .collapsible.open .collapsible-body { display: block; } `, ]"
|
|
1680
|
+
}
|
|
1681
|
+
],
|
|
1682
|
+
"exports": [
|
|
1683
|
+
{
|
|
1684
|
+
"kind": "js",
|
|
1685
|
+
"name": "default",
|
|
1686
|
+
"declaration": {
|
|
1687
|
+
"name": "styles",
|
|
1688
|
+
"module": "src/vscode-collapsible/vscode-collapsible.styles.ts"
|
|
1689
|
+
}
|
|
1690
|
+
}
|
|
1691
|
+
]
|
|
1692
|
+
},
|
|
1693
|
+
{
|
|
1694
|
+
"kind": "javascript-module",
|
|
1695
|
+
"path": "src/vscode-collapsible/vscode-collapsible.ts",
|
|
1696
|
+
"declarations": [
|
|
1697
|
+
{
|
|
1698
|
+
"kind": "class",
|
|
1699
|
+
"description": "Allows users to reveal or hide related content on a page.",
|
|
1700
|
+
"name": "VscodeCollapsible",
|
|
1701
|
+
"cssProperties": [
|
|
1872
1702
|
{
|
|
1873
|
-
"
|
|
1874
|
-
"name": "
|
|
1875
|
-
"
|
|
1876
|
-
"type": {
|
|
1877
|
-
"text": "boolean"
|
|
1878
|
-
}
|
|
1879
|
-
},
|
|
1880
|
-
"description": "Returns `true` if the element's value is valid; otherwise, it returns `false`.\nIf the element's value is invalid, an invalid event is triggered on the element, and the\nbrowser displays an error message to the user.\n\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/reportValidity)"
|
|
1703
|
+
"description": "Background color",
|
|
1704
|
+
"name": "--vscode-sideBar-background",
|
|
1705
|
+
"default": "#181818"
|
|
1881
1706
|
},
|
|
1882
1707
|
{
|
|
1883
|
-
"
|
|
1884
|
-
"name": "
|
|
1885
|
-
"
|
|
1886
|
-
"text": "HTMLInputElement"
|
|
1887
|
-
},
|
|
1888
|
-
"privacy": "private"
|
|
1708
|
+
"description": "Focus border color",
|
|
1709
|
+
"name": "--vscode-focusBorder",
|
|
1710
|
+
"default": "#0078d4"
|
|
1889
1711
|
},
|
|
1890
1712
|
{
|
|
1891
|
-
"
|
|
1892
|
-
"name": "
|
|
1893
|
-
"
|
|
1894
|
-
"text": "ElementInternals"
|
|
1895
|
-
},
|
|
1896
|
-
"privacy": "private"
|
|
1713
|
+
"description": "Header font family",
|
|
1714
|
+
"name": "--vscode-font-family",
|
|
1715
|
+
"default": "sans-serif"
|
|
1897
1716
|
},
|
|
1898
1717
|
{
|
|
1899
|
-
"
|
|
1900
|
-
"name": "
|
|
1901
|
-
"
|
|
1718
|
+
"description": "Header background",
|
|
1719
|
+
"name": "--vscode-sideBarSectionHeader-background",
|
|
1720
|
+
"default": "#181818"
|
|
1902
1721
|
},
|
|
1903
1722
|
{
|
|
1904
|
-
"
|
|
1905
|
-
"name": "
|
|
1906
|
-
"
|
|
1723
|
+
"description": "Arrow icon color",
|
|
1724
|
+
"name": "--vscode-icon-foreground",
|
|
1725
|
+
"default": "#cccccc"
|
|
1907
1726
|
},
|
|
1908
1727
|
{
|
|
1909
|
-
"
|
|
1910
|
-
"name": "
|
|
1911
|
-
"
|
|
1912
|
-
}
|
|
1728
|
+
"description": "Header font color",
|
|
1729
|
+
"name": "--vscode-sideBarTitle-foreground",
|
|
1730
|
+
"default": "#cccccc"
|
|
1731
|
+
}
|
|
1732
|
+
],
|
|
1733
|
+
"cssParts": [
|
|
1913
1734
|
{
|
|
1914
|
-
"
|
|
1915
|
-
"name": "
|
|
1916
|
-
|
|
1917
|
-
|
|
1735
|
+
"description": "Container for the toggleable content of the component. The container's overflow content is hidden by default. This CSS part can serve as an escape hatch to modify this behavior.",
|
|
1736
|
+
"name": "body"
|
|
1737
|
+
}
|
|
1738
|
+
],
|
|
1739
|
+
"slots": [
|
|
1918
1740
|
{
|
|
1919
|
-
"
|
|
1920
|
-
"name": "
|
|
1921
|
-
"privacy": "private"
|
|
1741
|
+
"description": "Main content.",
|
|
1742
|
+
"name": ""
|
|
1922
1743
|
},
|
|
1923
1744
|
{
|
|
1924
|
-
"
|
|
1925
|
-
"name": "
|
|
1926
|
-
"type": {
|
|
1927
|
-
"text": "string"
|
|
1928
|
-
},
|
|
1929
|
-
"attribute": "label",
|
|
1930
|
-
"description": "Label text. It is only applied if component's innerHTML doesn't contain any text.",
|
|
1931
|
-
"inheritedFrom": {
|
|
1932
|
-
"name": "LabelledCheckboxOrRadioMixin",
|
|
1933
|
-
"module": "src/includes/form-button-widget/LabelledCheckboxOrRadio.ts"
|
|
1934
|
-
}
|
|
1745
|
+
"description": "You can place any action icon in this slot in the header, but it's also possible to use any HTML element in it. It's only visible when the component is open.",
|
|
1746
|
+
"name": "actions"
|
|
1935
1747
|
},
|
|
1936
1748
|
{
|
|
1937
|
-
"
|
|
1938
|
-
"name": "
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
"privacy": "private",
|
|
1943
|
-
"default": "''",
|
|
1944
|
-
"inheritedFrom": {
|
|
1945
|
-
"name": "LabelledCheckboxOrRadioMixin",
|
|
1946
|
-
"module": "src/includes/form-button-widget/LabelledCheckboxOrRadio.ts"
|
|
1947
|
-
}
|
|
1948
|
-
},
|
|
1749
|
+
"description": "The elements placed in the decorations slot are always visible.",
|
|
1750
|
+
"name": "decorations"
|
|
1751
|
+
}
|
|
1752
|
+
],
|
|
1753
|
+
"members": [
|
|
1949
1754
|
{
|
|
1950
1755
|
"kind": "field",
|
|
1951
|
-
"name": "
|
|
1756
|
+
"name": "title",
|
|
1952
1757
|
"type": {
|
|
1953
1758
|
"text": "string"
|
|
1954
1759
|
},
|
|
1955
|
-
"privacy": "private",
|
|
1956
1760
|
"default": "''",
|
|
1957
|
-
"
|
|
1958
|
-
|
|
1959
|
-
"module": "src/includes/form-button-widget/LabelledCheckboxOrRadio.ts"
|
|
1960
|
-
}
|
|
1961
|
-
},
|
|
1962
|
-
{
|
|
1963
|
-
"kind": "method",
|
|
1964
|
-
"name": "_handleSlotChange",
|
|
1965
|
-
"privacy": "protected",
|
|
1966
|
-
"return": {
|
|
1967
|
-
"type": {
|
|
1968
|
-
"text": "void"
|
|
1969
|
-
}
|
|
1970
|
-
},
|
|
1971
|
-
"inheritedFrom": {
|
|
1972
|
-
"name": "LabelledCheckboxOrRadioMixin",
|
|
1973
|
-
"module": "src/includes/form-button-widget/LabelledCheckboxOrRadio.ts"
|
|
1974
|
-
}
|
|
1761
|
+
"description": "Component heading text",
|
|
1762
|
+
"attribute": "title"
|
|
1975
1763
|
},
|
|
1976
1764
|
{
|
|
1977
|
-
"kind": "
|
|
1978
|
-
"name": "
|
|
1979
|
-
"
|
|
1980
|
-
|
|
1981
|
-
"type": {
|
|
1982
|
-
"text": "TemplateResult"
|
|
1983
|
-
}
|
|
1765
|
+
"kind": "field",
|
|
1766
|
+
"name": "description",
|
|
1767
|
+
"type": {
|
|
1768
|
+
"text": "string"
|
|
1984
1769
|
},
|
|
1985
|
-
"
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
}
|
|
1770
|
+
"default": "''",
|
|
1771
|
+
"description": "Less prominent text than the title in the header",
|
|
1772
|
+
"attribute": "description"
|
|
1989
1773
|
},
|
|
1990
1774
|
{
|
|
1991
1775
|
"kind": "field",
|
|
1992
|
-
"name": "
|
|
1776
|
+
"name": "open",
|
|
1993
1777
|
"type": {
|
|
1994
1778
|
"text": "boolean"
|
|
1995
1779
|
},
|
|
1996
1780
|
"default": "false",
|
|
1997
|
-
"attribute": "
|
|
1998
|
-
"reflects": true
|
|
1999
|
-
"inheritedFrom": {
|
|
2000
|
-
"name": "FormButtonWidgetBase",
|
|
2001
|
-
"module": "src/includes/form-button-widget/FormButtonWidgetBase.ts"
|
|
2002
|
-
}
|
|
1781
|
+
"attribute": "open",
|
|
1782
|
+
"reflects": true
|
|
2003
1783
|
},
|
|
2004
1784
|
{
|
|
2005
|
-
"kind": "
|
|
2006
|
-
"name": "
|
|
2007
|
-
"
|
|
2008
|
-
"text": "number"
|
|
2009
|
-
},
|
|
2010
|
-
"privacy": "private",
|
|
2011
|
-
"default": "0",
|
|
2012
|
-
"inheritedFrom": {
|
|
2013
|
-
"name": "FormButtonWidgetBase",
|
|
2014
|
-
"module": "src/includes/form-button-widget/FormButtonWidgetBase.ts"
|
|
2015
|
-
}
|
|
1785
|
+
"kind": "method",
|
|
1786
|
+
"name": "_emitToggleEvent",
|
|
1787
|
+
"privacy": "private"
|
|
2016
1788
|
},
|
|
2017
1789
|
{
|
|
2018
|
-
"kind": "
|
|
2019
|
-
"name": "
|
|
2020
|
-
"privacy": "private"
|
|
2021
|
-
"inheritedFrom": {
|
|
2022
|
-
"name": "FormButtonWidgetBase",
|
|
2023
|
-
"module": "src/includes/form-button-widget/FormButtonWidgetBase.ts"
|
|
2024
|
-
}
|
|
1790
|
+
"kind": "method",
|
|
1791
|
+
"name": "_onHeaderClick",
|
|
1792
|
+
"privacy": "private"
|
|
2025
1793
|
},
|
|
2026
1794
|
{
|
|
2027
|
-
"kind": "
|
|
2028
|
-
"name": "
|
|
1795
|
+
"kind": "method",
|
|
1796
|
+
"name": "_onHeaderKeyDown",
|
|
2029
1797
|
"privacy": "private",
|
|
2030
|
-
"
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
1798
|
+
"parameters": [
|
|
1799
|
+
{
|
|
1800
|
+
"name": "event",
|
|
1801
|
+
"type": {
|
|
1802
|
+
"text": "KeyboardEvent"
|
|
1803
|
+
}
|
|
1804
|
+
}
|
|
1805
|
+
]
|
|
2034
1806
|
},
|
|
2035
1807
|
{
|
|
2036
1808
|
"kind": "field",
|
|
@@ -2048,160 +1820,276 @@
|
|
|
2048
1820
|
],
|
|
2049
1821
|
"events": [
|
|
2050
1822
|
{
|
|
2051
|
-
"name": "change",
|
|
2052
1823
|
"type": {
|
|
2053
|
-
"text": "
|
|
1824
|
+
"text": "VscCollapsibleToggleEvent"
|
|
2054
1825
|
},
|
|
2055
|
-
"description": "Dispatched when
|
|
1826
|
+
"description": "Dispatched when the content visibility is changed.",
|
|
1827
|
+
"name": "vsc-collapsible-toggle"
|
|
1828
|
+
}
|
|
1829
|
+
],
|
|
1830
|
+
"attributes": [
|
|
1831
|
+
{
|
|
1832
|
+
"name": "title",
|
|
1833
|
+
"type": {
|
|
1834
|
+
"text": "string"
|
|
1835
|
+
},
|
|
1836
|
+
"default": "''",
|
|
1837
|
+
"description": "Component heading text",
|
|
1838
|
+
"fieldName": "title"
|
|
2056
1839
|
},
|
|
2057
1840
|
{
|
|
2058
|
-
"name": "
|
|
1841
|
+
"name": "description",
|
|
2059
1842
|
"type": {
|
|
2060
|
-
"text": "
|
|
1843
|
+
"text": "string"
|
|
2061
1844
|
},
|
|
2062
|
-
"
|
|
1845
|
+
"default": "''",
|
|
1846
|
+
"description": "Less prominent text than the title in the header",
|
|
1847
|
+
"fieldName": "description"
|
|
2063
1848
|
},
|
|
2064
1849
|
{
|
|
1850
|
+
"name": "open",
|
|
2065
1851
|
"type": {
|
|
2066
|
-
"text": "
|
|
1852
|
+
"text": "boolean"
|
|
2067
1853
|
},
|
|
2068
|
-
"
|
|
2069
|
-
"
|
|
1854
|
+
"default": "false",
|
|
1855
|
+
"fieldName": "open"
|
|
2070
1856
|
}
|
|
2071
1857
|
],
|
|
2072
|
-
"
|
|
1858
|
+
"superclass": {
|
|
1859
|
+
"name": "VscElement",
|
|
1860
|
+
"module": "/src/includes/VscElement.js"
|
|
1861
|
+
},
|
|
1862
|
+
"tagName": "vscode-collapsible",
|
|
1863
|
+
"customElement": true
|
|
1864
|
+
}
|
|
1865
|
+
],
|
|
1866
|
+
"exports": [
|
|
1867
|
+
{
|
|
1868
|
+
"kind": "js",
|
|
1869
|
+
"name": "VscodeCollapsible",
|
|
1870
|
+
"declaration": {
|
|
1871
|
+
"name": "VscodeCollapsible",
|
|
1872
|
+
"module": "src/vscode-collapsible/vscode-collapsible.ts"
|
|
1873
|
+
}
|
|
1874
|
+
},
|
|
1875
|
+
{
|
|
1876
|
+
"kind": "custom-element-definition",
|
|
1877
|
+
"name": "vscode-collapsible",
|
|
1878
|
+
"declaration": {
|
|
1879
|
+
"name": "VscodeCollapsible",
|
|
1880
|
+
"module": "src/vscode-collapsible/vscode-collapsible.ts"
|
|
1881
|
+
}
|
|
1882
|
+
}
|
|
1883
|
+
]
|
|
1884
|
+
},
|
|
1885
|
+
{
|
|
1886
|
+
"kind": "javascript-module",
|
|
1887
|
+
"path": "src/vscode-context-menu-item/vscode-context-menu-item.styles.ts",
|
|
1888
|
+
"declarations": [
|
|
1889
|
+
{
|
|
1890
|
+
"kind": "variable",
|
|
1891
|
+
"name": "styles",
|
|
1892
|
+
"type": {
|
|
1893
|
+
"text": "CSSResultGroup"
|
|
1894
|
+
},
|
|
1895
|
+
"default": "[ defaultStyles, css` :host { display: block; font-family: var(--vscode-font-family, sans-serif); font-size: var(--vscode-font-size, 13px); font-weight: var(--vscode-font-weight, normal); line-height: 1.4em; outline: none; position: relative; } .context-menu-item { background-color: var(--vscode-menu-background, #1f1f1f); color: var(--vscode-menu-foreground, #cccccc); display: flex; user-select: none; white-space: nowrap; } .ruler { border-bottom: 1px solid var(--vscode-menu-separatorBackground, #454545); display: block; margin: 0 0 4px; padding-top: 4px; width: 100%; } .context-menu-item a { align-items: center; border-color: transparent; border-radius: 3px; border-style: solid; border-width: 1px; box-sizing: border-box; color: var(--vscode-menu-foreground, #cccccc); cursor: pointer; display: flex; flex: 1 1 auto; height: 2em; margin-left: 4px; margin-right: 4px; outline: none; position: relative; text-decoration: inherit; } :host([selected]) .context-menu-item a { background-color: var(--vscode-menu-selectionBackground, #0078d4); border-color: var(--vscode-menu-selectionBorder, transparent); color: var(--vscode-menu-selectionForeground, #ffffff); } .label { background: none; display: flex; flex: 1 1 auto; font-size: 12px; line-height: 1; padding: 0 22px; text-decoration: none; } .keybinding { display: block; flex: 2 1 auto; line-height: 1; padding: 0 22px; text-align: right; } `, ]"
|
|
1896
|
+
}
|
|
1897
|
+
],
|
|
1898
|
+
"exports": [
|
|
1899
|
+
{
|
|
1900
|
+
"kind": "js",
|
|
1901
|
+
"name": "default",
|
|
1902
|
+
"declaration": {
|
|
1903
|
+
"name": "styles",
|
|
1904
|
+
"module": "src/vscode-context-menu-item/vscode-context-menu-item.styles.ts"
|
|
1905
|
+
}
|
|
1906
|
+
}
|
|
1907
|
+
]
|
|
1908
|
+
},
|
|
1909
|
+
{
|
|
1910
|
+
"kind": "javascript-module",
|
|
1911
|
+
"path": "src/vscode-context-menu-item/vscode-context-menu-item.ts",
|
|
1912
|
+
"declarations": [
|
|
1913
|
+
{
|
|
1914
|
+
"kind": "class",
|
|
1915
|
+
"description": "",
|
|
1916
|
+
"name": "VscodeContextMenuItem",
|
|
1917
|
+
"cssProperties": [
|
|
2073
1918
|
{
|
|
2074
|
-
"
|
|
2075
|
-
"
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
"default": "
|
|
2080
|
-
|
|
1919
|
+
"name": "--vscode-font-family",
|
|
1920
|
+
"default": "sans-serif"
|
|
1921
|
+
},
|
|
1922
|
+
{
|
|
1923
|
+
"name": "--vscode-font-size",
|
|
1924
|
+
"default": "13px"
|
|
1925
|
+
},
|
|
1926
|
+
{
|
|
1927
|
+
"name": "--vscode-font-weight",
|
|
1928
|
+
"default": "normal"
|
|
1929
|
+
},
|
|
1930
|
+
{
|
|
1931
|
+
"name": "--vscode-menu-background",
|
|
1932
|
+
"default": "#1f1f1f"
|
|
1933
|
+
},
|
|
1934
|
+
{
|
|
1935
|
+
"name": "--vscode-menu-selectionBorder",
|
|
1936
|
+
"default": "transparent"
|
|
1937
|
+
},
|
|
1938
|
+
{
|
|
1939
|
+
"name": "--vscode-menu-foreground",
|
|
1940
|
+
"default": "#cccccc"
|
|
1941
|
+
},
|
|
1942
|
+
{
|
|
1943
|
+
"name": "--vscode-menu-selectionBackground",
|
|
1944
|
+
"default": "#0078d4"
|
|
1945
|
+
},
|
|
1946
|
+
{
|
|
1947
|
+
"name": "--vscode-menu-selectionForeground",
|
|
1948
|
+
"default": "#ffffff"
|
|
2081
1949
|
},
|
|
2082
1950
|
{
|
|
1951
|
+
"name": "--vscode-menu-separatorBackground",
|
|
1952
|
+
"default": "#454545"
|
|
1953
|
+
}
|
|
1954
|
+
],
|
|
1955
|
+
"members": [
|
|
1956
|
+
{
|
|
1957
|
+
"kind": "field",
|
|
2083
1958
|
"name": "label",
|
|
2084
1959
|
"type": {
|
|
2085
1960
|
"text": "string"
|
|
2086
1961
|
},
|
|
2087
|
-
"
|
|
2088
|
-
"
|
|
2089
|
-
"inheritedFrom": {
|
|
2090
|
-
"name": "LabelledCheckboxOrRadioMixin",
|
|
2091
|
-
"module": "src/includes/form-button-widget/LabelledCheckboxOrRadio.ts"
|
|
2092
|
-
}
|
|
1962
|
+
"default": "''",
|
|
1963
|
+
"attribute": "label"
|
|
2093
1964
|
},
|
|
2094
1965
|
{
|
|
2095
|
-
"
|
|
1966
|
+
"kind": "field",
|
|
1967
|
+
"name": "keybinding",
|
|
2096
1968
|
"type": {
|
|
2097
|
-
"text": "
|
|
1969
|
+
"text": "string"
|
|
2098
1970
|
},
|
|
2099
|
-
"default": "
|
|
2100
|
-
"
|
|
2101
|
-
"fieldName": "autofocus"
|
|
1971
|
+
"default": "''",
|
|
1972
|
+
"attribute": "keybinding"
|
|
2102
1973
|
},
|
|
2103
1974
|
{
|
|
2104
|
-
"
|
|
1975
|
+
"kind": "field",
|
|
1976
|
+
"name": "value",
|
|
2105
1977
|
"type": {
|
|
2106
|
-
"text": "
|
|
1978
|
+
"text": "string"
|
|
2107
1979
|
},
|
|
2108
|
-
"
|
|
1980
|
+
"default": "''",
|
|
1981
|
+
"attribute": "value"
|
|
2109
1982
|
},
|
|
2110
1983
|
{
|
|
2111
|
-
"
|
|
1984
|
+
"kind": "field",
|
|
1985
|
+
"name": "separator",
|
|
2112
1986
|
"type": {
|
|
2113
1987
|
"text": "boolean"
|
|
2114
1988
|
},
|
|
2115
1989
|
"default": "false",
|
|
2116
|
-
"
|
|
2117
|
-
"
|
|
1990
|
+
"attribute": "separator",
|
|
1991
|
+
"reflects": true
|
|
2118
1992
|
},
|
|
2119
1993
|
{
|
|
2120
|
-
"
|
|
1994
|
+
"kind": "field",
|
|
1995
|
+
"name": "tabindex",
|
|
2121
1996
|
"type": {
|
|
2122
|
-
"text": "
|
|
1997
|
+
"text": "number"
|
|
2123
1998
|
},
|
|
2124
|
-
"default": "
|
|
2125
|
-
"
|
|
1999
|
+
"default": "0",
|
|
2000
|
+
"attribute": "tabindex"
|
|
2126
2001
|
},
|
|
2127
2002
|
{
|
|
2128
|
-
"
|
|
2003
|
+
"kind": "method",
|
|
2004
|
+
"name": "onItemClick",
|
|
2005
|
+
"privacy": "private"
|
|
2006
|
+
},
|
|
2007
|
+
{
|
|
2008
|
+
"kind": "field",
|
|
2009
|
+
"name": "version",
|
|
2129
2010
|
"type": {
|
|
2130
2011
|
"text": "string"
|
|
2131
2012
|
},
|
|
2132
|
-
"
|
|
2133
|
-
"
|
|
2134
|
-
"
|
|
2135
|
-
|
|
2013
|
+
"description": "VSCode Elements version",
|
|
2014
|
+
"readonly": true,
|
|
2015
|
+
"inheritedFrom": {
|
|
2016
|
+
"name": "VscElement",
|
|
2017
|
+
"module": "src/includes/VscElement.ts"
|
|
2018
|
+
}
|
|
2019
|
+
}
|
|
2020
|
+
],
|
|
2021
|
+
"attributes": [
|
|
2136
2022
|
{
|
|
2137
|
-
"name": "
|
|
2023
|
+
"name": "label",
|
|
2138
2024
|
"type": {
|
|
2139
|
-
"text": "
|
|
2025
|
+
"text": "string"
|
|
2140
2026
|
},
|
|
2141
|
-
"default": "
|
|
2142
|
-
"fieldName": "
|
|
2027
|
+
"default": "''",
|
|
2028
|
+
"fieldName": "label"
|
|
2143
2029
|
},
|
|
2144
2030
|
{
|
|
2145
|
-
"name": "
|
|
2031
|
+
"name": "keybinding",
|
|
2146
2032
|
"type": {
|
|
2147
|
-
"text": "
|
|
2033
|
+
"text": "string"
|
|
2148
2034
|
},
|
|
2149
|
-
"default": "
|
|
2150
|
-
"fieldName": "
|
|
2035
|
+
"default": "''",
|
|
2036
|
+
"fieldName": "keybinding"
|
|
2151
2037
|
},
|
|
2152
2038
|
{
|
|
2153
|
-
"name": "
|
|
2154
|
-
"
|
|
2039
|
+
"name": "value",
|
|
2040
|
+
"type": {
|
|
2041
|
+
"text": "string"
|
|
2042
|
+
},
|
|
2043
|
+
"default": "''",
|
|
2044
|
+
"fieldName": "value"
|
|
2155
2045
|
},
|
|
2156
2046
|
{
|
|
2157
|
-
"name": "
|
|
2047
|
+
"name": "separator",
|
|
2158
2048
|
"type": {
|
|
2159
2049
|
"text": "boolean"
|
|
2160
2050
|
},
|
|
2161
2051
|
"default": "false",
|
|
2162
|
-
"fieldName": "
|
|
2163
|
-
|
|
2164
|
-
"name": "FormButtonWidgetBase",
|
|
2165
|
-
"module": "src/includes/form-button-widget/FormButtonWidgetBase.ts"
|
|
2166
|
-
}
|
|
2167
|
-
}
|
|
2168
|
-
],
|
|
2169
|
-
"mixins": [
|
|
2052
|
+
"fieldName": "separator"
|
|
2053
|
+
},
|
|
2170
2054
|
{
|
|
2171
|
-
"name": "
|
|
2172
|
-
"
|
|
2055
|
+
"name": "tabindex",
|
|
2056
|
+
"type": {
|
|
2057
|
+
"text": "number"
|
|
2058
|
+
},
|
|
2059
|
+
"default": "0",
|
|
2060
|
+
"fieldName": "tabindex"
|
|
2173
2061
|
}
|
|
2174
2062
|
],
|
|
2175
2063
|
"superclass": {
|
|
2176
|
-
"name": "
|
|
2177
|
-
"module": "/src/includes/
|
|
2064
|
+
"name": "VscElement",
|
|
2065
|
+
"module": "/src/includes/VscElement.js"
|
|
2178
2066
|
},
|
|
2179
|
-
"tagName": "vscode-
|
|
2067
|
+
"tagName": "vscode-context-menu-item",
|
|
2180
2068
|
"customElement": true
|
|
2181
2069
|
}
|
|
2182
2070
|
],
|
|
2183
2071
|
"exports": [
|
|
2184
2072
|
{
|
|
2185
2073
|
"kind": "js",
|
|
2186
|
-
"name": "
|
|
2074
|
+
"name": "VscodeContextMenuItem",
|
|
2187
2075
|
"declaration": {
|
|
2188
|
-
"name": "
|
|
2189
|
-
"module": "src/vscode-
|
|
2076
|
+
"name": "VscodeContextMenuItem",
|
|
2077
|
+
"module": "src/vscode-context-menu-item/vscode-context-menu-item.ts"
|
|
2190
2078
|
}
|
|
2191
2079
|
},
|
|
2192
2080
|
{
|
|
2193
2081
|
"kind": "custom-element-definition",
|
|
2194
|
-
"name": "vscode-
|
|
2082
|
+
"name": "vscode-context-menu-item",
|
|
2195
2083
|
"declaration": {
|
|
2196
|
-
"name": "
|
|
2197
|
-
"module": "src/vscode-
|
|
2084
|
+
"name": "VscodeContextMenuItem",
|
|
2085
|
+
"module": "src/vscode-context-menu-item/vscode-context-menu-item.ts"
|
|
2198
2086
|
}
|
|
2199
2087
|
}
|
|
2200
2088
|
]
|
|
2201
2089
|
},
|
|
2202
2090
|
{
|
|
2203
2091
|
"kind": "javascript-module",
|
|
2204
|
-
"path": "src/vscode-context-menu
|
|
2092
|
+
"path": "src/vscode-context-menu/vscode-context-menu.styles.ts",
|
|
2205
2093
|
"declarations": [
|
|
2206
2094
|
{
|
|
2207
2095
|
"kind": "variable",
|
|
@@ -2209,7 +2097,7 @@
|
|
|
2209
2097
|
"type": {
|
|
2210
2098
|
"text": "CSSResultGroup"
|
|
2211
2099
|
},
|
|
2212
|
-
"default": "[ defaultStyles, css` :host { display: block; font-family: var(--vscode-font-family, sans-serif); font-size: var(--vscode-font-size, 13px); font-weight: var(--vscode-font-weight, normal); line-height: 1.4em;
|
|
2100
|
+
"default": "[ defaultStyles, css` :host { display: block; font-family: var(--vscode-font-family, sans-serif); font-size: var(--vscode-font-size, 13px); font-weight: var(--vscode-font-weight, normal); line-height: 1.4em; position: relative; } .context-menu { background-color: var(--vscode-menu-background, #1f1f1f); border-color: var(--vscode-menu-border, #454545); border-radius: 5px; border-style: solid; border-width: 1px; box-shadow: 0 2px 8px var(--vscode-widget-shadow, rgba(0, 0, 0, 0.36)); color: var(--vscode-menu-foreground, #cccccc); padding: 4px 0; white-space: nowrap; } .context-menu:focus { outline: 0; } `, ]"
|
|
2213
2101
|
}
|
|
2214
2102
|
],
|
|
2215
2103
|
"exports": [
|
|
@@ -2218,19 +2106,19 @@
|
|
|
2218
2106
|
"name": "default",
|
|
2219
2107
|
"declaration": {
|
|
2220
2108
|
"name": "styles",
|
|
2221
|
-
"module": "src/vscode-context-menu
|
|
2109
|
+
"module": "src/vscode-context-menu/vscode-context-menu.styles.ts"
|
|
2222
2110
|
}
|
|
2223
2111
|
}
|
|
2224
2112
|
]
|
|
2225
2113
|
},
|
|
2226
2114
|
{
|
|
2227
2115
|
"kind": "javascript-module",
|
|
2228
|
-
"path": "src/vscode-context-menu
|
|
2116
|
+
"path": "src/vscode-context-menu/vscode-context-menu.ts",
|
|
2229
2117
|
"declarations": [
|
|
2230
2118
|
{
|
|
2231
2119
|
"kind": "class",
|
|
2232
2120
|
"description": "",
|
|
2233
|
-
"name": "
|
|
2121
|
+
"name": "VscodeContextMenu",
|
|
2234
2122
|
"cssProperties": [
|
|
2235
2123
|
{
|
|
2236
2124
|
"name": "--vscode-font-family",
|
|
@@ -2249,76 +2137,196 @@
|
|
|
2249
2137
|
"default": "#1f1f1f"
|
|
2250
2138
|
},
|
|
2251
2139
|
{
|
|
2252
|
-
"name": "--vscode-menu-
|
|
2253
|
-
"default": "
|
|
2140
|
+
"name": "--vscode-menu-border",
|
|
2141
|
+
"default": "#454545"
|
|
2254
2142
|
},
|
|
2255
2143
|
{
|
|
2256
2144
|
"name": "--vscode-menu-foreground",
|
|
2257
2145
|
"default": "#cccccc"
|
|
2258
2146
|
},
|
|
2259
2147
|
{
|
|
2260
|
-
"name": "--vscode-
|
|
2261
|
-
"default": "
|
|
2148
|
+
"name": "--vscode-widget-shadow",
|
|
2149
|
+
"default": "rgba(0, 0, 0, 0.36)"
|
|
2150
|
+
}
|
|
2151
|
+
],
|
|
2152
|
+
"members": [
|
|
2153
|
+
{
|
|
2154
|
+
"kind": "field",
|
|
2155
|
+
"name": "data",
|
|
2156
|
+
"type": {
|
|
2157
|
+
"text": "MenuItemData[]"
|
|
2158
|
+
}
|
|
2262
2159
|
},
|
|
2263
2160
|
{
|
|
2264
|
-
"
|
|
2265
|
-
"
|
|
2161
|
+
"kind": "field",
|
|
2162
|
+
"name": "preventClose",
|
|
2163
|
+
"type": {
|
|
2164
|
+
"text": "boolean"
|
|
2165
|
+
},
|
|
2166
|
+
"default": "false",
|
|
2167
|
+
"description": "By default, the menu closes when an item is clicked. This attribute prevents the menu from closing.",
|
|
2168
|
+
"attribute": "prevent-close",
|
|
2169
|
+
"reflects": true
|
|
2266
2170
|
},
|
|
2267
2171
|
{
|
|
2268
|
-
"
|
|
2269
|
-
"
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2172
|
+
"kind": "field",
|
|
2173
|
+
"name": "show",
|
|
2174
|
+
"type": {
|
|
2175
|
+
"text": "boolean"
|
|
2176
|
+
},
|
|
2177
|
+
"attribute": "show",
|
|
2178
|
+
"reflects": true
|
|
2179
|
+
},
|
|
2273
2180
|
{
|
|
2274
2181
|
"kind": "field",
|
|
2275
|
-
"name": "
|
|
2182
|
+
"name": "_selectedClickableItemIndex",
|
|
2276
2183
|
"type": {
|
|
2277
|
-
"text": "
|
|
2184
|
+
"text": "number"
|
|
2278
2185
|
},
|
|
2279
|
-
"
|
|
2280
|
-
"
|
|
2186
|
+
"privacy": "private",
|
|
2187
|
+
"default": "-1"
|
|
2281
2188
|
},
|
|
2282
2189
|
{
|
|
2283
2190
|
"kind": "field",
|
|
2284
|
-
"name": "
|
|
2191
|
+
"name": "_show",
|
|
2285
2192
|
"type": {
|
|
2286
|
-
"text": "
|
|
2193
|
+
"text": "boolean"
|
|
2287
2194
|
},
|
|
2288
|
-
"
|
|
2289
|
-
"
|
|
2195
|
+
"privacy": "private",
|
|
2196
|
+
"default": "false"
|
|
2197
|
+
},
|
|
2198
|
+
{
|
|
2199
|
+
"kind": "field",
|
|
2200
|
+
"name": "_wrapperEl",
|
|
2201
|
+
"type": {
|
|
2202
|
+
"text": "HTMLDivElement"
|
|
2203
|
+
},
|
|
2204
|
+
"privacy": "private"
|
|
2205
|
+
},
|
|
2206
|
+
{
|
|
2207
|
+
"kind": "field",
|
|
2208
|
+
"name": "_data",
|
|
2209
|
+
"type": {
|
|
2210
|
+
"text": "MenuItemData[]"
|
|
2211
|
+
},
|
|
2212
|
+
"privacy": "private",
|
|
2213
|
+
"default": "[]"
|
|
2214
|
+
},
|
|
2215
|
+
{
|
|
2216
|
+
"kind": "field",
|
|
2217
|
+
"name": "_clickableItemIndexes",
|
|
2218
|
+
"type": {
|
|
2219
|
+
"text": "number[]"
|
|
2220
|
+
},
|
|
2221
|
+
"privacy": "private",
|
|
2222
|
+
"default": "[]"
|
|
2223
|
+
},
|
|
2224
|
+
{
|
|
2225
|
+
"kind": "method",
|
|
2226
|
+
"name": "_onClickOutside",
|
|
2227
|
+
"privacy": "private",
|
|
2228
|
+
"parameters": [
|
|
2229
|
+
{
|
|
2230
|
+
"name": "ev",
|
|
2231
|
+
"type": {
|
|
2232
|
+
"text": "MouseEvent"
|
|
2233
|
+
}
|
|
2234
|
+
}
|
|
2235
|
+
]
|
|
2236
|
+
},
|
|
2237
|
+
{
|
|
2238
|
+
"kind": "field",
|
|
2239
|
+
"name": "_onClickOutsideBound",
|
|
2240
|
+
"privacy": "private"
|
|
2241
|
+
},
|
|
2242
|
+
{
|
|
2243
|
+
"kind": "method",
|
|
2244
|
+
"name": "_onKeyDown",
|
|
2245
|
+
"privacy": "private",
|
|
2246
|
+
"parameters": [
|
|
2247
|
+
{
|
|
2248
|
+
"name": "ev",
|
|
2249
|
+
"type": {
|
|
2250
|
+
"text": "KeyboardEvent"
|
|
2251
|
+
}
|
|
2252
|
+
}
|
|
2253
|
+
]
|
|
2254
|
+
},
|
|
2255
|
+
{
|
|
2256
|
+
"kind": "method",
|
|
2257
|
+
"name": "_handleArrowUp",
|
|
2258
|
+
"privacy": "private"
|
|
2259
|
+
},
|
|
2260
|
+
{
|
|
2261
|
+
"kind": "method",
|
|
2262
|
+
"name": "_handleArrowDown",
|
|
2263
|
+
"privacy": "private"
|
|
2264
|
+
},
|
|
2265
|
+
{
|
|
2266
|
+
"kind": "method",
|
|
2267
|
+
"name": "_handleEscape",
|
|
2268
|
+
"privacy": "private"
|
|
2269
|
+
},
|
|
2270
|
+
{
|
|
2271
|
+
"kind": "method",
|
|
2272
|
+
"name": "_dispatchSelectEvent",
|
|
2273
|
+
"privacy": "private",
|
|
2274
|
+
"parameters": [
|
|
2275
|
+
{
|
|
2276
|
+
"name": "selectedOption",
|
|
2277
|
+
"type": {
|
|
2278
|
+
"text": "VscodeContextMenuItem"
|
|
2279
|
+
}
|
|
2280
|
+
}
|
|
2281
|
+
]
|
|
2282
|
+
},
|
|
2283
|
+
{
|
|
2284
|
+
"kind": "method",
|
|
2285
|
+
"name": "_dispatchLegacySelectEvent",
|
|
2286
|
+
"privacy": "private",
|
|
2287
|
+
"parameters": [
|
|
2288
|
+
{
|
|
2289
|
+
"name": "selectedOption",
|
|
2290
|
+
"type": {
|
|
2291
|
+
"text": "VscodeContextMenuItem"
|
|
2292
|
+
}
|
|
2293
|
+
}
|
|
2294
|
+
]
|
|
2290
2295
|
},
|
|
2291
2296
|
{
|
|
2292
|
-
"kind": "
|
|
2293
|
-
"name": "
|
|
2294
|
-
"
|
|
2295
|
-
"text": "string"
|
|
2296
|
-
},
|
|
2297
|
-
"default": "''",
|
|
2298
|
-
"attribute": "value"
|
|
2297
|
+
"kind": "method",
|
|
2298
|
+
"name": "_handleEnter",
|
|
2299
|
+
"privacy": "private"
|
|
2299
2300
|
},
|
|
2300
2301
|
{
|
|
2301
|
-
"kind": "
|
|
2302
|
-
"name": "
|
|
2303
|
-
"
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2302
|
+
"kind": "method",
|
|
2303
|
+
"name": "_onItemClick",
|
|
2304
|
+
"privacy": "private",
|
|
2305
|
+
"parameters": [
|
|
2306
|
+
{
|
|
2307
|
+
"name": "event",
|
|
2308
|
+
"type": {
|
|
2309
|
+
"text": "CustomEvent"
|
|
2310
|
+
}
|
|
2311
|
+
}
|
|
2312
|
+
]
|
|
2309
2313
|
},
|
|
2310
2314
|
{
|
|
2311
|
-
"kind": "
|
|
2312
|
-
"name": "
|
|
2313
|
-
"
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2315
|
+
"kind": "method",
|
|
2316
|
+
"name": "_onItemMouseOver",
|
|
2317
|
+
"privacy": "private",
|
|
2318
|
+
"parameters": [
|
|
2319
|
+
{
|
|
2320
|
+
"name": "event",
|
|
2321
|
+
"type": {
|
|
2322
|
+
"text": "MouseEvent"
|
|
2323
|
+
}
|
|
2324
|
+
}
|
|
2325
|
+
]
|
|
2318
2326
|
},
|
|
2319
2327
|
{
|
|
2320
2328
|
"kind": "method",
|
|
2321
|
-
"name": "
|
|
2329
|
+
"name": "_onItemMouseOut",
|
|
2322
2330
|
"privacy": "private"
|
|
2323
2331
|
},
|
|
2324
2332
|
{
|
|
@@ -2335,71 +2343,63 @@
|
|
|
2335
2343
|
}
|
|
2336
2344
|
}
|
|
2337
2345
|
],
|
|
2338
|
-
"
|
|
2339
|
-
{
|
|
2340
|
-
"name": "label",
|
|
2341
|
-
"type": {
|
|
2342
|
-
"text": "string"
|
|
2343
|
-
},
|
|
2344
|
-
"default": "''",
|
|
2345
|
-
"fieldName": "label"
|
|
2346
|
-
},
|
|
2346
|
+
"events": [
|
|
2347
2347
|
{
|
|
2348
|
-
"name": "
|
|
2348
|
+
"name": "vsc-select",
|
|
2349
2349
|
"type": {
|
|
2350
|
-
"text": "
|
|
2350
|
+
"text": "CustomEvent"
|
|
2351
2351
|
},
|
|
2352
|
-
"
|
|
2353
|
-
"fieldName": "keybinding"
|
|
2352
|
+
"deprecated": "- Renamed to `vsc-context-menu-select`"
|
|
2354
2353
|
},
|
|
2355
2354
|
{
|
|
2356
|
-
"name": "value",
|
|
2357
2355
|
"type": {
|
|
2358
|
-
"text": "
|
|
2356
|
+
"text": "VscMenuSelectEvent"
|
|
2359
2357
|
},
|
|
2360
|
-
"
|
|
2361
|
-
"
|
|
2362
|
-
}
|
|
2358
|
+
"description": "Emitted when a menu item is clicked",
|
|
2359
|
+
"name": "vsc-menu-select"
|
|
2360
|
+
}
|
|
2361
|
+
],
|
|
2362
|
+
"attributes": [
|
|
2363
2363
|
{
|
|
2364
|
-
"name": "
|
|
2364
|
+
"name": "prevent-close",
|
|
2365
2365
|
"type": {
|
|
2366
2366
|
"text": "boolean"
|
|
2367
2367
|
},
|
|
2368
2368
|
"default": "false",
|
|
2369
|
-
"
|
|
2369
|
+
"description": "By default, the menu closes when an item is clicked. This attribute prevents the menu from closing.",
|
|
2370
|
+
"fieldName": "preventClose"
|
|
2370
2371
|
},
|
|
2371
2372
|
{
|
|
2372
|
-
"name": "
|
|
2373
|
+
"name": "show",
|
|
2373
2374
|
"type": {
|
|
2374
|
-
"text": "
|
|
2375
|
+
"text": "boolean"
|
|
2375
2376
|
},
|
|
2376
|
-
"
|
|
2377
|
-
"fieldName": "tabindex"
|
|
2377
|
+
"fieldName": "show"
|
|
2378
2378
|
}
|
|
2379
2379
|
],
|
|
2380
2380
|
"superclass": {
|
|
2381
2381
|
"name": "VscElement",
|
|
2382
2382
|
"module": "/src/includes/VscElement.js"
|
|
2383
2383
|
},
|
|
2384
|
-
"tagName": "vscode-context-menu
|
|
2384
|
+
"tagName": "vscode-context-menu",
|
|
2385
2385
|
"customElement": true
|
|
2386
2386
|
}
|
|
2387
2387
|
],
|
|
2388
2388
|
"exports": [
|
|
2389
2389
|
{
|
|
2390
2390
|
"kind": "js",
|
|
2391
|
-
"name": "
|
|
2391
|
+
"name": "VscodeContextMenu",
|
|
2392
2392
|
"declaration": {
|
|
2393
|
-
"name": "
|
|
2394
|
-
"module": "src/vscode-context-menu
|
|
2393
|
+
"name": "VscodeContextMenu",
|
|
2394
|
+
"module": "src/vscode-context-menu/vscode-context-menu.ts"
|
|
2395
2395
|
}
|
|
2396
2396
|
},
|
|
2397
2397
|
{
|
|
2398
2398
|
"kind": "custom-element-definition",
|
|
2399
|
-
"name": "vscode-context-menu
|
|
2399
|
+
"name": "vscode-context-menu",
|
|
2400
2400
|
"declaration": {
|
|
2401
|
-
"name": "
|
|
2402
|
-
"module": "src/vscode-context-menu
|
|
2401
|
+
"name": "VscodeContextMenu",
|
|
2402
|
+
"module": "src/vscode-context-menu/vscode-context-menu.ts"
|
|
2403
2403
|
}
|
|
2404
2404
|
}
|
|
2405
2405
|
]
|
|
@@ -2868,14 +2868,171 @@
|
|
|
2868
2868
|
"name": "VscodeFormHelper",
|
|
2869
2869
|
"cssProperties": [
|
|
2870
2870
|
{
|
|
2871
|
-
"description": "Default text color. 90% transparency version of `--vscode-foreground` by default.",
|
|
2872
|
-
"name": "--vsc-foreground-translucent"
|
|
2873
|
-
}
|
|
2874
|
-
],
|
|
2875
|
-
"members": [
|
|
2871
|
+
"description": "Default text color. 90% transparency version of `--vscode-foreground` by default.",
|
|
2872
|
+
"name": "--vsc-foreground-translucent"
|
|
2873
|
+
}
|
|
2874
|
+
],
|
|
2875
|
+
"members": [
|
|
2876
|
+
{
|
|
2877
|
+
"kind": "method",
|
|
2878
|
+
"name": "_injectLightDOMStyles",
|
|
2879
|
+
"privacy": "private"
|
|
2880
|
+
},
|
|
2881
|
+
{
|
|
2882
|
+
"kind": "field",
|
|
2883
|
+
"name": "version",
|
|
2884
|
+
"type": {
|
|
2885
|
+
"text": "string"
|
|
2886
|
+
},
|
|
2887
|
+
"description": "VSCode Elements version",
|
|
2888
|
+
"readonly": true,
|
|
2889
|
+
"inheritedFrom": {
|
|
2890
|
+
"name": "VscElement",
|
|
2891
|
+
"module": "src/includes/VscElement.ts"
|
|
2892
|
+
}
|
|
2893
|
+
}
|
|
2894
|
+
],
|
|
2895
|
+
"superclass": {
|
|
2896
|
+
"name": "VscElement",
|
|
2897
|
+
"module": "/src/includes/VscElement.js"
|
|
2898
|
+
},
|
|
2899
|
+
"tagName": "vscode-form-helper",
|
|
2900
|
+
"customElement": true
|
|
2901
|
+
}
|
|
2902
|
+
],
|
|
2903
|
+
"exports": [
|
|
2904
|
+
{
|
|
2905
|
+
"kind": "js",
|
|
2906
|
+
"name": "VscodeFormHelper",
|
|
2907
|
+
"declaration": {
|
|
2908
|
+
"name": "VscodeFormHelper",
|
|
2909
|
+
"module": "src/vscode-form-helper/vscode-form-helper.ts"
|
|
2910
|
+
}
|
|
2911
|
+
},
|
|
2912
|
+
{
|
|
2913
|
+
"kind": "custom-element-definition",
|
|
2914
|
+
"name": "vscode-form-helper",
|
|
2915
|
+
"declaration": {
|
|
2916
|
+
"name": "VscodeFormHelper",
|
|
2917
|
+
"module": "src/vscode-form-helper/vscode-form-helper.ts"
|
|
2918
|
+
}
|
|
2919
|
+
}
|
|
2920
|
+
]
|
|
2921
|
+
},
|
|
2922
|
+
{
|
|
2923
|
+
"kind": "javascript-module",
|
|
2924
|
+
"path": "src/vscode-label/vscode-label.styles.ts",
|
|
2925
|
+
"declarations": [
|
|
2926
|
+
{
|
|
2927
|
+
"kind": "variable",
|
|
2928
|
+
"name": "styles",
|
|
2929
|
+
"type": {
|
|
2930
|
+
"text": "CSSResultGroup"
|
|
2931
|
+
},
|
|
2932
|
+
"default": "[ defaultStyles, css` :host { color: var(--vscode-foreground, #cccccc); font-family: var(--vscode-font-family, sans-serif); font-size: var(--vscode-font-size, 13px); font-weight: 600; line-height: ${INPUT_LINE_HEIGHT_RATIO}; cursor: default; display: block; padding: 5px 0; } .wrapper { display: block; } .wrapper.required:after { content: ' *'; } ::slotted(.normal) { font-weight: normal; } ::slotted(.lightened) { color: var(--vscode-foreground, #cccccc); opacity: 0.9; } `, ]"
|
|
2933
|
+
}
|
|
2934
|
+
],
|
|
2935
|
+
"exports": [
|
|
2936
|
+
{
|
|
2937
|
+
"kind": "js",
|
|
2938
|
+
"name": "default",
|
|
2939
|
+
"declaration": {
|
|
2940
|
+
"name": "styles",
|
|
2941
|
+
"module": "src/vscode-label/vscode-label.styles.ts"
|
|
2942
|
+
}
|
|
2943
|
+
}
|
|
2944
|
+
]
|
|
2945
|
+
},
|
|
2946
|
+
{
|
|
2947
|
+
"kind": "javascript-module",
|
|
2948
|
+
"path": "src/vscode-label/vscode-label.ts",
|
|
2949
|
+
"declarations": [
|
|
2950
|
+
{
|
|
2951
|
+
"kind": "class",
|
|
2952
|
+
"description": "",
|
|
2953
|
+
"name": "VscodeLabel",
|
|
2954
|
+
"cssProperties": [
|
|
2955
|
+
{
|
|
2956
|
+
"name": "--vscode-font-family",
|
|
2957
|
+
"default": "sans-serif"
|
|
2958
|
+
},
|
|
2959
|
+
{
|
|
2960
|
+
"name": "--vscode-font-size",
|
|
2961
|
+
"default": "13px"
|
|
2962
|
+
},
|
|
2963
|
+
{
|
|
2964
|
+
"name": "--vscode-foreground",
|
|
2965
|
+
"default": "#cccccc"
|
|
2966
|
+
}
|
|
2967
|
+
],
|
|
2968
|
+
"members": [
|
|
2969
|
+
{
|
|
2970
|
+
"kind": "field",
|
|
2971
|
+
"name": "htmlFor",
|
|
2972
|
+
"type": {
|
|
2973
|
+
"text": "string"
|
|
2974
|
+
},
|
|
2975
|
+
"attribute": "for",
|
|
2976
|
+
"reflects": true
|
|
2977
|
+
},
|
|
2978
|
+
{
|
|
2979
|
+
"kind": "field",
|
|
2980
|
+
"name": "id",
|
|
2981
|
+
"type": {
|
|
2982
|
+
"text": "string"
|
|
2983
|
+
},
|
|
2984
|
+
"attribute": "id"
|
|
2985
|
+
},
|
|
2986
|
+
{
|
|
2987
|
+
"kind": "field",
|
|
2988
|
+
"name": "required",
|
|
2989
|
+
"type": {
|
|
2990
|
+
"text": "boolean"
|
|
2991
|
+
},
|
|
2992
|
+
"default": "false",
|
|
2993
|
+
"attribute": "required",
|
|
2994
|
+
"reflects": true
|
|
2995
|
+
},
|
|
2996
|
+
{
|
|
2997
|
+
"kind": "field",
|
|
2998
|
+
"name": "_id",
|
|
2999
|
+
"type": {
|
|
3000
|
+
"text": "string"
|
|
3001
|
+
},
|
|
3002
|
+
"privacy": "private",
|
|
3003
|
+
"default": "''"
|
|
3004
|
+
},
|
|
3005
|
+
{
|
|
3006
|
+
"kind": "field",
|
|
3007
|
+
"name": "_htmlFor",
|
|
3008
|
+
"type": {
|
|
3009
|
+
"text": "string"
|
|
3010
|
+
},
|
|
3011
|
+
"privacy": "private",
|
|
3012
|
+
"default": "''"
|
|
3013
|
+
},
|
|
3014
|
+
{
|
|
3015
|
+
"kind": "field",
|
|
3016
|
+
"name": "_connected",
|
|
3017
|
+
"type": {
|
|
3018
|
+
"text": "boolean"
|
|
3019
|
+
},
|
|
3020
|
+
"privacy": "private",
|
|
3021
|
+
"default": "false"
|
|
3022
|
+
},
|
|
3023
|
+
{
|
|
3024
|
+
"kind": "method",
|
|
3025
|
+
"name": "_getTarget",
|
|
3026
|
+
"privacy": "private"
|
|
3027
|
+
},
|
|
2876
3028
|
{
|
|
2877
3029
|
"kind": "method",
|
|
2878
|
-
"name": "
|
|
3030
|
+
"name": "_connectWithTarget",
|
|
3031
|
+
"privacy": "private"
|
|
3032
|
+
},
|
|
3033
|
+
{
|
|
3034
|
+
"kind": "method",
|
|
3035
|
+
"name": "_handleClick",
|
|
2879
3036
|
"privacy": "private"
|
|
2880
3037
|
},
|
|
2881
3038
|
{
|
|
@@ -2892,29 +3049,53 @@
|
|
|
2892
3049
|
}
|
|
2893
3050
|
}
|
|
2894
3051
|
],
|
|
3052
|
+
"attributes": [
|
|
3053
|
+
{
|
|
3054
|
+
"name": "for",
|
|
3055
|
+
"type": {
|
|
3056
|
+
"text": "string"
|
|
3057
|
+
},
|
|
3058
|
+
"fieldName": "htmlFor"
|
|
3059
|
+
},
|
|
3060
|
+
{
|
|
3061
|
+
"name": "id",
|
|
3062
|
+
"type": {
|
|
3063
|
+
"text": "string"
|
|
3064
|
+
},
|
|
3065
|
+
"fieldName": "id"
|
|
3066
|
+
},
|
|
3067
|
+
{
|
|
3068
|
+
"name": "required",
|
|
3069
|
+
"type": {
|
|
3070
|
+
"text": "boolean"
|
|
3071
|
+
},
|
|
3072
|
+
"default": "false",
|
|
3073
|
+
"fieldName": "required"
|
|
3074
|
+
}
|
|
3075
|
+
],
|
|
2895
3076
|
"superclass": {
|
|
2896
3077
|
"name": "VscElement",
|
|
2897
3078
|
"module": "/src/includes/VscElement.js"
|
|
2898
3079
|
},
|
|
2899
|
-
"tagName": "vscode-
|
|
3080
|
+
"tagName": "vscode-label",
|
|
2900
3081
|
"customElement": true
|
|
2901
3082
|
}
|
|
2902
3083
|
],
|
|
2903
3084
|
"exports": [
|
|
2904
3085
|
{
|
|
2905
3086
|
"kind": "js",
|
|
2906
|
-
"name": "
|
|
3087
|
+
"name": "VscodeLabel",
|
|
2907
3088
|
"declaration": {
|
|
2908
|
-
"name": "
|
|
2909
|
-
"module": "src/vscode-
|
|
3089
|
+
"name": "VscodeLabel",
|
|
3090
|
+
"module": "src/vscode-label/vscode-label.ts"
|
|
2910
3091
|
}
|
|
2911
3092
|
},
|
|
2912
3093
|
{
|
|
2913
3094
|
"kind": "custom-element-definition",
|
|
2914
|
-
"name": "vscode-
|
|
3095
|
+
"name": "vscode-label",
|
|
2915
3096
|
"declaration": {
|
|
2916
|
-
"name": "
|
|
2917
|
-
"module": "src/vscode-
|
|
3097
|
+
"name": "VscodeLabel",
|
|
3098
|
+
"module": "src/vscode-label/vscode-label.ts"
|
|
2918
3099
|
}
|
|
2919
3100
|
}
|
|
2920
3101
|
]
|
|
@@ -3104,246 +3285,65 @@
|
|
|
3104
3285
|
"fieldName": "name"
|
|
3105
3286
|
},
|
|
3106
3287
|
{
|
|
3107
|
-
"name": "size",
|
|
3108
|
-
"type": {
|
|
3109
|
-
"text": "number"
|
|
3110
|
-
},
|
|
3111
|
-
"default": "16",
|
|
3112
|
-
"description": "Icon size in pixels",
|
|
3113
|
-
"fieldName": "size"
|
|
3114
|
-
},
|
|
3115
|
-
{
|
|
3116
|
-
"name": "spin",
|
|
3117
|
-
"type": {
|
|
3118
|
-
"text": "boolean"
|
|
3119
|
-
},
|
|
3120
|
-
"default": "false",
|
|
3121
|
-
"description": "Enable rotation animation",
|
|
3122
|
-
"fieldName": "spin"
|
|
3123
|
-
},
|
|
3124
|
-
{
|
|
3125
|
-
"name": "spin-duration",
|
|
3126
|
-
"type": {
|
|
3127
|
-
"text": "number"
|
|
3128
|
-
},
|
|
3129
|
-
"default": "1.5",
|
|
3130
|
-
"description": "Animation duration in seconds",
|
|
3131
|
-
"fieldName": "spinDuration"
|
|
3132
|
-
},
|
|
3133
|
-
{
|
|
3134
|
-
"name": "action-icon",
|
|
3135
|
-
"type": {
|
|
3136
|
-
"text": "boolean"
|
|
3137
|
-
},
|
|
3138
|
-
"default": "false",
|
|
3139
|
-
"description": "Behaves like a button",
|
|
3140
|
-
"fieldName": "actionIcon"
|
|
3141
|
-
}
|
|
3142
|
-
],
|
|
3143
|
-
"superclass": {
|
|
3144
|
-
"name": "VscElement",
|
|
3145
|
-
"module": "/src/includes/VscElement.js"
|
|
3146
|
-
},
|
|
3147
|
-
"tagName": "vscode-icon",
|
|
3148
|
-
"customElement": true
|
|
3149
|
-
}
|
|
3150
|
-
],
|
|
3151
|
-
"exports": [
|
|
3152
|
-
{
|
|
3153
|
-
"kind": "js",
|
|
3154
|
-
"name": "VscodeIcon",
|
|
3155
|
-
"declaration": {
|
|
3156
|
-
"name": "VscodeIcon",
|
|
3157
|
-
"module": "src/vscode-icon/vscode-icon.ts"
|
|
3158
|
-
}
|
|
3159
|
-
},
|
|
3160
|
-
{
|
|
3161
|
-
"kind": "custom-element-definition",
|
|
3162
|
-
"name": "vscode-icon",
|
|
3163
|
-
"declaration": {
|
|
3164
|
-
"name": "VscodeIcon",
|
|
3165
|
-
"module": "src/vscode-icon/vscode-icon.ts"
|
|
3166
|
-
}
|
|
3167
|
-
}
|
|
3168
|
-
]
|
|
3169
|
-
},
|
|
3170
|
-
{
|
|
3171
|
-
"kind": "javascript-module",
|
|
3172
|
-
"path": "src/vscode-label/vscode-label.styles.ts",
|
|
3173
|
-
"declarations": [
|
|
3174
|
-
{
|
|
3175
|
-
"kind": "variable",
|
|
3176
|
-
"name": "styles",
|
|
3177
|
-
"type": {
|
|
3178
|
-
"text": "CSSResultGroup"
|
|
3179
|
-
},
|
|
3180
|
-
"default": "[ defaultStyles, css` :host { color: var(--vscode-foreground, #cccccc); font-family: var(--vscode-font-family, sans-serif); font-size: var(--vscode-font-size, 13px); font-weight: 600; line-height: ${INPUT_LINE_HEIGHT_RATIO}; cursor: default; display: block; padding: 5px 0; } .wrapper { display: block; } .wrapper.required:after { content: ' *'; } ::slotted(.normal) { font-weight: normal; } ::slotted(.lightened) { color: var(--vscode-foreground, #cccccc); opacity: 0.9; } `, ]"
|
|
3181
|
-
}
|
|
3182
|
-
],
|
|
3183
|
-
"exports": [
|
|
3184
|
-
{
|
|
3185
|
-
"kind": "js",
|
|
3186
|
-
"name": "default",
|
|
3187
|
-
"declaration": {
|
|
3188
|
-
"name": "styles",
|
|
3189
|
-
"module": "src/vscode-label/vscode-label.styles.ts"
|
|
3190
|
-
}
|
|
3191
|
-
}
|
|
3192
|
-
]
|
|
3193
|
-
},
|
|
3194
|
-
{
|
|
3195
|
-
"kind": "javascript-module",
|
|
3196
|
-
"path": "src/vscode-label/vscode-label.ts",
|
|
3197
|
-
"declarations": [
|
|
3198
|
-
{
|
|
3199
|
-
"kind": "class",
|
|
3200
|
-
"description": "",
|
|
3201
|
-
"name": "VscodeLabel",
|
|
3202
|
-
"cssProperties": [
|
|
3203
|
-
{
|
|
3204
|
-
"name": "--vscode-font-family",
|
|
3205
|
-
"default": "sans-serif"
|
|
3206
|
-
},
|
|
3207
|
-
{
|
|
3208
|
-
"name": "--vscode-font-size",
|
|
3209
|
-
"default": "13px"
|
|
3210
|
-
},
|
|
3211
|
-
{
|
|
3212
|
-
"name": "--vscode-foreground",
|
|
3213
|
-
"default": "#cccccc"
|
|
3214
|
-
}
|
|
3215
|
-
],
|
|
3216
|
-
"members": [
|
|
3217
|
-
{
|
|
3218
|
-
"kind": "field",
|
|
3219
|
-
"name": "htmlFor",
|
|
3220
|
-
"type": {
|
|
3221
|
-
"text": "string"
|
|
3222
|
-
},
|
|
3223
|
-
"attribute": "for",
|
|
3224
|
-
"reflects": true
|
|
3225
|
-
},
|
|
3226
|
-
{
|
|
3227
|
-
"kind": "field",
|
|
3228
|
-
"name": "id",
|
|
3229
|
-
"type": {
|
|
3230
|
-
"text": "string"
|
|
3231
|
-
},
|
|
3232
|
-
"attribute": "id"
|
|
3233
|
-
},
|
|
3234
|
-
{
|
|
3235
|
-
"kind": "field",
|
|
3236
|
-
"name": "required",
|
|
3237
|
-
"type": {
|
|
3238
|
-
"text": "boolean"
|
|
3239
|
-
},
|
|
3240
|
-
"default": "false",
|
|
3241
|
-
"attribute": "required",
|
|
3242
|
-
"reflects": true
|
|
3243
|
-
},
|
|
3244
|
-
{
|
|
3245
|
-
"kind": "field",
|
|
3246
|
-
"name": "_id",
|
|
3247
|
-
"type": {
|
|
3248
|
-
"text": "string"
|
|
3249
|
-
},
|
|
3250
|
-
"privacy": "private",
|
|
3251
|
-
"default": "''"
|
|
3252
|
-
},
|
|
3253
|
-
{
|
|
3254
|
-
"kind": "field",
|
|
3255
|
-
"name": "_htmlFor",
|
|
3256
|
-
"type": {
|
|
3257
|
-
"text": "string"
|
|
3258
|
-
},
|
|
3259
|
-
"privacy": "private",
|
|
3260
|
-
"default": "''"
|
|
3261
|
-
},
|
|
3262
|
-
{
|
|
3263
|
-
"kind": "field",
|
|
3264
|
-
"name": "_connected",
|
|
3265
|
-
"type": {
|
|
3266
|
-
"text": "boolean"
|
|
3267
|
-
},
|
|
3268
|
-
"privacy": "private",
|
|
3269
|
-
"default": "false"
|
|
3270
|
-
},
|
|
3271
|
-
{
|
|
3272
|
-
"kind": "method",
|
|
3273
|
-
"name": "_getTarget",
|
|
3274
|
-
"privacy": "private"
|
|
3275
|
-
},
|
|
3276
|
-
{
|
|
3277
|
-
"kind": "method",
|
|
3278
|
-
"name": "_connectWithTarget",
|
|
3279
|
-
"privacy": "private"
|
|
3280
|
-
},
|
|
3281
|
-
{
|
|
3282
|
-
"kind": "method",
|
|
3283
|
-
"name": "_handleClick",
|
|
3284
|
-
"privacy": "private"
|
|
3285
|
-
},
|
|
3286
|
-
{
|
|
3287
|
-
"kind": "field",
|
|
3288
|
-
"name": "version",
|
|
3289
|
-
"type": {
|
|
3290
|
-
"text": "string"
|
|
3291
|
-
},
|
|
3292
|
-
"description": "VSCode Elements version",
|
|
3293
|
-
"readonly": true,
|
|
3294
|
-
"inheritedFrom": {
|
|
3295
|
-
"name": "VscElement",
|
|
3296
|
-
"module": "src/includes/VscElement.ts"
|
|
3297
|
-
}
|
|
3298
|
-
}
|
|
3299
|
-
],
|
|
3300
|
-
"attributes": [
|
|
3288
|
+
"name": "size",
|
|
3289
|
+
"type": {
|
|
3290
|
+
"text": "number"
|
|
3291
|
+
},
|
|
3292
|
+
"default": "16",
|
|
3293
|
+
"description": "Icon size in pixels",
|
|
3294
|
+
"fieldName": "size"
|
|
3295
|
+
},
|
|
3301
3296
|
{
|
|
3302
|
-
"name": "
|
|
3297
|
+
"name": "spin",
|
|
3303
3298
|
"type": {
|
|
3304
|
-
"text": "
|
|
3299
|
+
"text": "boolean"
|
|
3305
3300
|
},
|
|
3306
|
-
"
|
|
3301
|
+
"default": "false",
|
|
3302
|
+
"description": "Enable rotation animation",
|
|
3303
|
+
"fieldName": "spin"
|
|
3307
3304
|
},
|
|
3308
3305
|
{
|
|
3309
|
-
"name": "
|
|
3306
|
+
"name": "spin-duration",
|
|
3310
3307
|
"type": {
|
|
3311
|
-
"text": "
|
|
3308
|
+
"text": "number"
|
|
3312
3309
|
},
|
|
3313
|
-
"
|
|
3310
|
+
"default": "1.5",
|
|
3311
|
+
"description": "Animation duration in seconds",
|
|
3312
|
+
"fieldName": "spinDuration"
|
|
3314
3313
|
},
|
|
3315
3314
|
{
|
|
3316
|
-
"name": "
|
|
3315
|
+
"name": "action-icon",
|
|
3317
3316
|
"type": {
|
|
3318
3317
|
"text": "boolean"
|
|
3319
3318
|
},
|
|
3320
3319
|
"default": "false",
|
|
3321
|
-
"
|
|
3320
|
+
"description": "Behaves like a button",
|
|
3321
|
+
"fieldName": "actionIcon"
|
|
3322
3322
|
}
|
|
3323
3323
|
],
|
|
3324
3324
|
"superclass": {
|
|
3325
3325
|
"name": "VscElement",
|
|
3326
3326
|
"module": "/src/includes/VscElement.js"
|
|
3327
3327
|
},
|
|
3328
|
-
"tagName": "vscode-
|
|
3328
|
+
"tagName": "vscode-icon",
|
|
3329
3329
|
"customElement": true
|
|
3330
3330
|
}
|
|
3331
3331
|
],
|
|
3332
3332
|
"exports": [
|
|
3333
3333
|
{
|
|
3334
3334
|
"kind": "js",
|
|
3335
|
-
"name": "
|
|
3335
|
+
"name": "VscodeIcon",
|
|
3336
3336
|
"declaration": {
|
|
3337
|
-
"name": "
|
|
3338
|
-
"module": "src/vscode-
|
|
3337
|
+
"name": "VscodeIcon",
|
|
3338
|
+
"module": "src/vscode-icon/vscode-icon.ts"
|
|
3339
3339
|
}
|
|
3340
3340
|
},
|
|
3341
3341
|
{
|
|
3342
3342
|
"kind": "custom-element-definition",
|
|
3343
|
-
"name": "vscode-
|
|
3343
|
+
"name": "vscode-icon",
|
|
3344
3344
|
"declaration": {
|
|
3345
|
-
"name": "
|
|
3346
|
-
"module": "src/vscode-
|
|
3345
|
+
"name": "VscodeIcon",
|
|
3346
|
+
"module": "src/vscode-icon/vscode-icon.ts"
|
|
3347
3347
|
}
|
|
3348
3348
|
}
|
|
3349
3349
|
]
|
|
@@ -9798,7 +9798,7 @@
|
|
|
9798
9798
|
},
|
|
9799
9799
|
{
|
|
9800
9800
|
"kind": "javascript-module",
|
|
9801
|
-
"path": "src/vscode-
|
|
9801
|
+
"path": "src/vscode-tabs/vscode-tabs.styles.ts",
|
|
9802
9802
|
"declarations": [
|
|
9803
9803
|
{
|
|
9804
9804
|
"kind": "variable",
|
|
@@ -9806,7 +9806,7 @@
|
|
|
9806
9806
|
"type": {
|
|
9807
9807
|
"text": "CSSResultGroup"
|
|
9808
9808
|
},
|
|
9809
|
-
"default": "[ defaultStyles, css` :host { display:
|
|
9809
|
+
"default": "[ defaultStyles, css` :host { display: block; } .header { align-items: center; display: flex; font-family: var(--vscode-font-family); font-size: var(--vscode-font-size); font-weight: var(--vscode-font-weight); width: 100%; } .header { border-bottom-color: var(--vscode-settings-headerBorder); border-bottom-style: solid; border-bottom-width: 1px; } .header.panel { background-color: var(--vscode-panel-background); border-bottom-width: 0; box-sizing: border-box; padding-left: 8px; padding-right: 8px; } slot[name='addons'] { display: block; margin-left: auto; } `, ]"
|
|
9810
9810
|
}
|
|
9811
9811
|
],
|
|
9812
9812
|
"exports": [
|
|
@@ -9815,904 +9815,904 @@
|
|
|
9815
9815
|
"name": "default",
|
|
9816
9816
|
"declaration": {
|
|
9817
9817
|
"name": "styles",
|
|
9818
|
-
"module": "src/vscode-
|
|
9818
|
+
"module": "src/vscode-tabs/vscode-tabs.styles.ts"
|
|
9819
9819
|
}
|
|
9820
9820
|
}
|
|
9821
9821
|
]
|
|
9822
9822
|
},
|
|
9823
9823
|
{
|
|
9824
9824
|
"kind": "javascript-module",
|
|
9825
|
-
"path": "src/vscode-
|
|
9825
|
+
"path": "src/vscode-tabs/vscode-tabs.ts",
|
|
9826
9826
|
"declarations": [
|
|
9827
9827
|
{
|
|
9828
9828
|
"kind": "class",
|
|
9829
|
-
"description": "
|
|
9830
|
-
"name": "
|
|
9829
|
+
"description": "",
|
|
9830
|
+
"name": "VscodeTabs",
|
|
9831
9831
|
"cssProperties": [
|
|
9832
9832
|
{
|
|
9833
|
-
"name": "--vscode-
|
|
9834
|
-
"default": "#000000"
|
|
9835
|
-
},
|
|
9836
|
-
{
|
|
9837
|
-
"name": "--vscode-settings-textInputBackground",
|
|
9838
|
-
"default": "#313131"
|
|
9839
|
-
},
|
|
9840
|
-
{
|
|
9841
|
-
"name": "--vscode-settings-textInputBorder",
|
|
9842
|
-
"default": "transparent"
|
|
9843
|
-
},
|
|
9844
|
-
{
|
|
9845
|
-
"name": "--vscode-settings-textInputForeground",
|
|
9846
|
-
"default": "#cccccc"
|
|
9847
|
-
},
|
|
9848
|
-
{
|
|
9849
|
-
"name": "--vscode-input-placeholderForeground",
|
|
9850
|
-
"default": "#989898"
|
|
9851
|
-
},
|
|
9852
|
-
{
|
|
9853
|
-
"name": "--vscode-font-family",
|
|
9854
|
-
"default": "sans-serif"
|
|
9855
|
-
},
|
|
9856
|
-
{
|
|
9857
|
-
"name": "--vscode-font-size",
|
|
9858
|
-
"default": "13px"
|
|
9859
|
-
},
|
|
9860
|
-
{
|
|
9861
|
-
"name": "--vscode-font-weight",
|
|
9862
|
-
"default": "normal"
|
|
9863
|
-
},
|
|
9864
|
-
{
|
|
9865
|
-
"name": "--vscode-editor-background",
|
|
9866
|
-
"default": "#1f1f1f"
|
|
9867
|
-
},
|
|
9868
|
-
{
|
|
9869
|
-
"name": "--vscode-editor-foreground",
|
|
9870
|
-
"default": "#cccccc"
|
|
9871
|
-
},
|
|
9872
|
-
{
|
|
9873
|
-
"name": "--vscode-editor-font-family",
|
|
9874
|
-
"default": "monospace"
|
|
9833
|
+
"name": "--vscode-font-family"
|
|
9875
9834
|
},
|
|
9876
9835
|
{
|
|
9877
|
-
"name": "--vscode-
|
|
9878
|
-
"default": "14px"
|
|
9836
|
+
"name": "--vscode-font-size"
|
|
9879
9837
|
},
|
|
9880
9838
|
{
|
|
9881
|
-
"name": "--vscode-
|
|
9882
|
-
"default": "normal"
|
|
9839
|
+
"name": "--vscode-font-weight"
|
|
9883
9840
|
},
|
|
9884
9841
|
{
|
|
9885
|
-
"name": "--vscode-
|
|
9886
|
-
"default": "rgba(255, 255, 255, 0.5)"
|
|
9842
|
+
"name": "--vscode-settings-headerBorder"
|
|
9887
9843
|
},
|
|
9888
9844
|
{
|
|
9889
|
-
"name": "--vscode-
|
|
9890
|
-
|
|
9891
|
-
|
|
9845
|
+
"name": "--vscode-panel-background"
|
|
9846
|
+
}
|
|
9847
|
+
],
|
|
9848
|
+
"slots": [
|
|
9892
9849
|
{
|
|
9893
|
-
"
|
|
9894
|
-
"
|
|
9850
|
+
"description": "Default slot. It is used for tab panels.",
|
|
9851
|
+
"name": ""
|
|
9895
9852
|
},
|
|
9896
9853
|
{
|
|
9897
|
-
"
|
|
9898
|
-
"
|
|
9854
|
+
"description": "Slot for tab headers.",
|
|
9855
|
+
"name": "header"
|
|
9899
9856
|
},
|
|
9900
9857
|
{
|
|
9901
|
-
"
|
|
9902
|
-
"
|
|
9858
|
+
"description": "Right aligned area in the header.",
|
|
9859
|
+
"name": "addons"
|
|
9903
9860
|
}
|
|
9904
9861
|
],
|
|
9905
9862
|
"members": [
|
|
9906
9863
|
{
|
|
9907
9864
|
"kind": "field",
|
|
9908
|
-
"name": "
|
|
9909
|
-
"type": {
|
|
9910
|
-
"text": "'on' | 'off' | undefined"
|
|
9911
|
-
},
|
|
9912
|
-
"default": "undefined",
|
|
9913
|
-
"attribute": "autocomplete"
|
|
9914
|
-
},
|
|
9915
|
-
{
|
|
9916
|
-
"kind": "field",
|
|
9917
|
-
"name": "autofocus",
|
|
9918
|
-
"type": {
|
|
9919
|
-
"text": "boolean"
|
|
9920
|
-
},
|
|
9921
|
-
"default": "false",
|
|
9922
|
-
"attribute": "autofocus",
|
|
9923
|
-
"reflects": true
|
|
9924
|
-
},
|
|
9925
|
-
{
|
|
9926
|
-
"kind": "field",
|
|
9927
|
-
"name": "defaultValue",
|
|
9928
|
-
"type": {
|
|
9929
|
-
"text": "string"
|
|
9930
|
-
},
|
|
9931
|
-
"default": "''",
|
|
9932
|
-
"attribute": "default-value"
|
|
9933
|
-
},
|
|
9934
|
-
{
|
|
9935
|
-
"kind": "field",
|
|
9936
|
-
"name": "disabled",
|
|
9937
|
-
"type": {
|
|
9938
|
-
"text": "boolean"
|
|
9939
|
-
},
|
|
9940
|
-
"default": "false",
|
|
9941
|
-
"attribute": "disabled",
|
|
9942
|
-
"reflects": true
|
|
9943
|
-
},
|
|
9944
|
-
{
|
|
9945
|
-
"kind": "field",
|
|
9946
|
-
"name": "invalid",
|
|
9947
|
-
"type": {
|
|
9948
|
-
"text": "boolean"
|
|
9949
|
-
},
|
|
9950
|
-
"default": "false",
|
|
9951
|
-
"attribute": "invalid",
|
|
9952
|
-
"reflects": true
|
|
9953
|
-
},
|
|
9954
|
-
{
|
|
9955
|
-
"kind": "field",
|
|
9956
|
-
"name": "label",
|
|
9957
|
-
"type": {
|
|
9958
|
-
"text": "string"
|
|
9959
|
-
},
|
|
9960
|
-
"default": "''"
|
|
9961
|
-
},
|
|
9962
|
-
{
|
|
9963
|
-
"kind": "field",
|
|
9964
|
-
"name": "maxLength",
|
|
9965
|
-
"type": {
|
|
9966
|
-
"text": "number | undefined"
|
|
9967
|
-
},
|
|
9968
|
-
"default": "undefined",
|
|
9969
|
-
"attribute": "maxLength"
|
|
9970
|
-
},
|
|
9971
|
-
{
|
|
9972
|
-
"kind": "field",
|
|
9973
|
-
"name": "minLength",
|
|
9974
|
-
"type": {
|
|
9975
|
-
"text": "number | undefined"
|
|
9976
|
-
},
|
|
9977
|
-
"default": "undefined",
|
|
9978
|
-
"attribute": "minLength"
|
|
9979
|
-
},
|
|
9980
|
-
{
|
|
9981
|
-
"kind": "field",
|
|
9982
|
-
"name": "rows",
|
|
9983
|
-
"type": {
|
|
9984
|
-
"text": "number | undefined"
|
|
9985
|
-
},
|
|
9986
|
-
"default": "undefined",
|
|
9987
|
-
"attribute": "rows"
|
|
9988
|
-
},
|
|
9989
|
-
{
|
|
9990
|
-
"kind": "field",
|
|
9991
|
-
"name": "cols",
|
|
9992
|
-
"type": {
|
|
9993
|
-
"text": "number | undefined"
|
|
9994
|
-
},
|
|
9995
|
-
"default": "undefined",
|
|
9996
|
-
"attribute": "cols"
|
|
9997
|
-
},
|
|
9998
|
-
{
|
|
9999
|
-
"kind": "field",
|
|
10000
|
-
"name": "name",
|
|
10001
|
-
"type": {
|
|
10002
|
-
"text": "string | undefined"
|
|
10003
|
-
},
|
|
10004
|
-
"default": "undefined",
|
|
10005
|
-
"attribute": "name"
|
|
10006
|
-
},
|
|
10007
|
-
{
|
|
10008
|
-
"kind": "field",
|
|
10009
|
-
"name": "placeholder",
|
|
10010
|
-
"type": {
|
|
10011
|
-
"text": "string | undefined"
|
|
10012
|
-
},
|
|
10013
|
-
"default": "undefined",
|
|
10014
|
-
"attribute": "placeholder"
|
|
10015
|
-
},
|
|
10016
|
-
{
|
|
10017
|
-
"kind": "field",
|
|
10018
|
-
"name": "readonly",
|
|
10019
|
-
"type": {
|
|
10020
|
-
"text": "boolean"
|
|
10021
|
-
},
|
|
10022
|
-
"default": "false",
|
|
10023
|
-
"attribute": "readonly",
|
|
10024
|
-
"reflects": true
|
|
10025
|
-
},
|
|
10026
|
-
{
|
|
10027
|
-
"kind": "field",
|
|
10028
|
-
"name": "resize",
|
|
10029
|
-
"type": {
|
|
10030
|
-
"text": "'both' | 'horizontal' | 'vertical' | 'none'"
|
|
10031
|
-
},
|
|
10032
|
-
"default": "'none'",
|
|
10033
|
-
"attribute": "resize"
|
|
10034
|
-
},
|
|
10035
|
-
{
|
|
10036
|
-
"kind": "field",
|
|
10037
|
-
"name": "required",
|
|
9865
|
+
"name": "panel",
|
|
10038
9866
|
"type": {
|
|
10039
9867
|
"text": "boolean"
|
|
10040
9868
|
},
|
|
10041
9869
|
"default": "false",
|
|
10042
|
-
"
|
|
9870
|
+
"description": "Panel-like look",
|
|
9871
|
+
"attribute": "panel",
|
|
10043
9872
|
"reflects": true
|
|
10044
9873
|
},
|
|
10045
9874
|
{
|
|
10046
9875
|
"kind": "field",
|
|
10047
|
-
"name": "
|
|
9876
|
+
"name": "selectedIndex",
|
|
10048
9877
|
"type": {
|
|
10049
|
-
"text": "
|
|
9878
|
+
"text": "number"
|
|
10050
9879
|
},
|
|
10051
|
-
"default": "
|
|
10052
|
-
"attribute": "
|
|
9880
|
+
"default": "0",
|
|
9881
|
+
"attribute": "selected-index",
|
|
9882
|
+
"reflects": true
|
|
10053
9883
|
},
|
|
10054
9884
|
{
|
|
10055
9885
|
"kind": "field",
|
|
10056
|
-
"name": "
|
|
9886
|
+
"name": "_headerSlotElements",
|
|
10057
9887
|
"type": {
|
|
10058
|
-
"text": "
|
|
9888
|
+
"text": "Element[]"
|
|
10059
9889
|
},
|
|
10060
|
-
"
|
|
10061
|
-
"description": "Use monospace fonts. The font family, weight, size, and color will be the same as set in the\nVSCode code editor.",
|
|
10062
|
-
"attribute": "monospace",
|
|
10063
|
-
"reflects": true
|
|
9890
|
+
"privacy": "private"
|
|
10064
9891
|
},
|
|
10065
9892
|
{
|
|
10066
9893
|
"kind": "field",
|
|
10067
|
-
"name": "
|
|
9894
|
+
"name": "_mainSlotElements",
|
|
10068
9895
|
"type": {
|
|
10069
|
-
"text": "
|
|
9896
|
+
"text": "Element[]"
|
|
10070
9897
|
},
|
|
10071
|
-
"
|
|
9898
|
+
"privacy": "private"
|
|
10072
9899
|
},
|
|
10073
9900
|
{
|
|
10074
9901
|
"kind": "field",
|
|
10075
|
-
"name": "
|
|
9902
|
+
"name": "_tabHeaders",
|
|
10076
9903
|
"type": {
|
|
10077
|
-
"text": "
|
|
9904
|
+
"text": "VscodeTabHeader[]"
|
|
10078
9905
|
},
|
|
10079
|
-
"
|
|
10080
|
-
"
|
|
9906
|
+
"privacy": "private",
|
|
9907
|
+
"default": "[]"
|
|
10081
9908
|
},
|
|
10082
9909
|
{
|
|
10083
9910
|
"kind": "field",
|
|
10084
|
-
"name": "
|
|
9911
|
+
"name": "_tabPanels",
|
|
10085
9912
|
"type": {
|
|
10086
|
-
"text": "
|
|
9913
|
+
"text": "VscodeTabPanel[]"
|
|
10087
9914
|
},
|
|
10088
|
-
"
|
|
9915
|
+
"privacy": "private",
|
|
9916
|
+
"default": "[]"
|
|
10089
9917
|
},
|
|
10090
9918
|
{
|
|
10091
9919
|
"kind": "field",
|
|
10092
|
-
"name": "
|
|
9920
|
+
"name": "_componentId",
|
|
10093
9921
|
"type": {
|
|
10094
|
-
"text": "
|
|
9922
|
+
"text": "string"
|
|
10095
9923
|
},
|
|
10096
|
-
"
|
|
9924
|
+
"privacy": "private",
|
|
9925
|
+
"default": "''"
|
|
10097
9926
|
},
|
|
10098
9927
|
{
|
|
10099
9928
|
"kind": "field",
|
|
10100
|
-
"name": "
|
|
10101
|
-
"
|
|
9929
|
+
"name": "_tabFocus",
|
|
9930
|
+
"type": {
|
|
9931
|
+
"text": "number"
|
|
9932
|
+
},
|
|
9933
|
+
"privacy": "private",
|
|
9934
|
+
"default": "0"
|
|
10102
9935
|
},
|
|
10103
9936
|
{
|
|
10104
|
-
"kind": "
|
|
10105
|
-
"name": "
|
|
10106
|
-
"
|
|
9937
|
+
"kind": "method",
|
|
9938
|
+
"name": "_dispatchSelectEvent",
|
|
9939
|
+
"privacy": "private"
|
|
10107
9940
|
},
|
|
10108
9941
|
{
|
|
10109
|
-
"kind": "
|
|
10110
|
-
"name": "
|
|
10111
|
-
"
|
|
10112
|
-
"type": {
|
|
10113
|
-
"text": "number | undefined"
|
|
10114
|
-
}
|
|
9942
|
+
"kind": "method",
|
|
9943
|
+
"name": "_setActiveTab",
|
|
9944
|
+
"privacy": "private"
|
|
10115
9945
|
},
|
|
10116
9946
|
{
|
|
10117
|
-
"kind": "
|
|
10118
|
-
"name": "
|
|
10119
|
-
"
|
|
10120
|
-
"type": {
|
|
10121
|
-
"text": "number | undefined"
|
|
10122
|
-
}
|
|
9947
|
+
"kind": "method",
|
|
9948
|
+
"name": "_focusPrevTab",
|
|
9949
|
+
"privacy": "private"
|
|
10123
9950
|
},
|
|
10124
9951
|
{
|
|
10125
9952
|
"kind": "method",
|
|
10126
|
-
"name": "
|
|
10127
|
-
"
|
|
10128
|
-
"type": {
|
|
10129
|
-
"text": "boolean"
|
|
10130
|
-
}
|
|
10131
|
-
}
|
|
9953
|
+
"name": "_focusNextTab",
|
|
9954
|
+
"privacy": "private"
|
|
10132
9955
|
},
|
|
10133
9956
|
{
|
|
10134
9957
|
"kind": "method",
|
|
10135
|
-
"name": "
|
|
10136
|
-
"
|
|
10137
|
-
|
|
10138
|
-
|
|
9958
|
+
"name": "_onHeaderKeyDown",
|
|
9959
|
+
"privacy": "private",
|
|
9960
|
+
"parameters": [
|
|
9961
|
+
{
|
|
9962
|
+
"name": "ev",
|
|
9963
|
+
"type": {
|
|
9964
|
+
"text": "KeyboardEvent"
|
|
9965
|
+
}
|
|
10139
9966
|
}
|
|
10140
|
-
|
|
9967
|
+
]
|
|
10141
9968
|
},
|
|
10142
9969
|
{
|
|
10143
|
-
"kind": "
|
|
10144
|
-
"name": "
|
|
10145
|
-
"
|
|
10146
|
-
|
|
10147
|
-
|
|
9970
|
+
"kind": "method",
|
|
9971
|
+
"name": "_moveHeadersToHeaderSlot",
|
|
9972
|
+
"privacy": "private"
|
|
9973
|
+
},
|
|
9974
|
+
{
|
|
9975
|
+
"kind": "method",
|
|
9976
|
+
"name": "_onMainSlotChange",
|
|
9977
|
+
"privacy": "private"
|
|
9978
|
+
},
|
|
9979
|
+
{
|
|
9980
|
+
"kind": "method",
|
|
9981
|
+
"name": "_onHeaderSlotChange",
|
|
10148
9982
|
"privacy": "private"
|
|
10149
9983
|
},
|
|
9984
|
+
{
|
|
9985
|
+
"kind": "method",
|
|
9986
|
+
"name": "_onHeaderClick",
|
|
9987
|
+
"privacy": "private",
|
|
9988
|
+
"parameters": [
|
|
9989
|
+
{
|
|
9990
|
+
"name": "event",
|
|
9991
|
+
"type": {
|
|
9992
|
+
"text": "MouseEvent"
|
|
9993
|
+
}
|
|
9994
|
+
}
|
|
9995
|
+
]
|
|
9996
|
+
},
|
|
10150
9997
|
{
|
|
10151
9998
|
"kind": "field",
|
|
10152
|
-
"name": "
|
|
9999
|
+
"name": "version",
|
|
10153
10000
|
"type": {
|
|
10154
10001
|
"text": "string"
|
|
10155
10002
|
},
|
|
10156
|
-
"
|
|
10157
|
-
"
|
|
10003
|
+
"description": "VSCode Elements version",
|
|
10004
|
+
"readonly": true,
|
|
10005
|
+
"inheritedFrom": {
|
|
10006
|
+
"name": "VscElement",
|
|
10007
|
+
"module": "src/includes/VscElement.ts"
|
|
10008
|
+
}
|
|
10009
|
+
}
|
|
10010
|
+
],
|
|
10011
|
+
"events": [
|
|
10012
|
+
{
|
|
10013
|
+
"name": "vsc-select",
|
|
10014
|
+
"type": {
|
|
10015
|
+
"text": "CustomEvent"
|
|
10016
|
+
},
|
|
10017
|
+
"deprecated": "true"
|
|
10158
10018
|
},
|
|
10159
10019
|
{
|
|
10160
|
-
"
|
|
10161
|
-
|
|
10020
|
+
"type": {
|
|
10021
|
+
"text": "VscTabSelectEvent"
|
|
10022
|
+
},
|
|
10023
|
+
"description": "Dispatched when the active tab is changed",
|
|
10024
|
+
"name": "vsc-tabs-select"
|
|
10025
|
+
}
|
|
10026
|
+
],
|
|
10027
|
+
"attributes": [
|
|
10028
|
+
{
|
|
10029
|
+
"name": "panel",
|
|
10162
10030
|
"type": {
|
|
10163
10031
|
"text": "boolean"
|
|
10164
10032
|
},
|
|
10165
|
-
"
|
|
10166
|
-
"
|
|
10033
|
+
"default": "false",
|
|
10034
|
+
"description": "Panel-like look",
|
|
10035
|
+
"fieldName": "panel"
|
|
10036
|
+
},
|
|
10037
|
+
{
|
|
10038
|
+
"name": "selected-index",
|
|
10039
|
+
"type": {
|
|
10040
|
+
"text": "number"
|
|
10041
|
+
},
|
|
10042
|
+
"default": "0",
|
|
10043
|
+
"fieldName": "selectedIndex"
|
|
10044
|
+
}
|
|
10045
|
+
],
|
|
10046
|
+
"superclass": {
|
|
10047
|
+
"name": "VscElement",
|
|
10048
|
+
"module": "/src/includes/VscElement.js"
|
|
10049
|
+
},
|
|
10050
|
+
"tagName": "vscode-tabs",
|
|
10051
|
+
"customElement": true
|
|
10052
|
+
}
|
|
10053
|
+
],
|
|
10054
|
+
"exports": [
|
|
10055
|
+
{
|
|
10056
|
+
"kind": "js",
|
|
10057
|
+
"name": "VscodeTabs",
|
|
10058
|
+
"declaration": {
|
|
10059
|
+
"name": "VscodeTabs",
|
|
10060
|
+
"module": "src/vscode-tabs/vscode-tabs.ts"
|
|
10061
|
+
}
|
|
10062
|
+
},
|
|
10063
|
+
{
|
|
10064
|
+
"kind": "custom-element-definition",
|
|
10065
|
+
"name": "vscode-tabs",
|
|
10066
|
+
"declaration": {
|
|
10067
|
+
"name": "VscodeTabs",
|
|
10068
|
+
"module": "src/vscode-tabs/vscode-tabs.ts"
|
|
10069
|
+
}
|
|
10070
|
+
}
|
|
10071
|
+
]
|
|
10072
|
+
},
|
|
10073
|
+
{
|
|
10074
|
+
"kind": "javascript-module",
|
|
10075
|
+
"path": "src/vscode-textarea/vscode-textarea.styles.ts",
|
|
10076
|
+
"declarations": [
|
|
10077
|
+
{
|
|
10078
|
+
"kind": "variable",
|
|
10079
|
+
"name": "styles",
|
|
10080
|
+
"type": {
|
|
10081
|
+
"text": "CSSResultGroup"
|
|
10082
|
+
},
|
|
10083
|
+
"default": "[ defaultStyles, css` :host { display: inline-block; height: 40px; position: relative; width: 320px; } :host([cols]) { width: auto; } :host([rows]) { height: auto; } .shadow { box-shadow: var(--vscode-scrollbar-shadow, #000000) 0 6px 6px -6px inset; display: none; inset: 0 0 auto 0; height: 6px; pointer-events: none; position: absolute; width: 100%; } .shadow.visible { display: block; } textarea { background-color: var(--vscode-settings-textInputBackground, #313131); border-color: var(--vscode-settings-textInputBorder, transparent); border-radius: 2px; border-style: solid; border-width: 1px; box-sizing: border-box; color: var(--vscode-settings-textInputForeground, #cccccc); display: block; font-family: var(--vscode-font-family, sans-serif); font-size: var(--vscode-font-size, 13px); font-weight: var(--vscode-font-weight, normal); height: 100%; width: 100%; } :host([cols]) textarea { width: auto; } :host([rows]) textarea { height: auto; } :host([invalid]) textarea, :host(:invalid) textarea { background-color: var(--vscode-inputValidation-errorBackground, #5a1d1d); border-color: var(--vscode-inputValidation-errorBorder, #be1100); } textarea.monospace { background-color: var(--vscode-editor-background, #1f1f1f); color: var(--vscode-editor-foreground, #cccccc); font-family: var(--vscode-editor-font-family, monospace); font-size: var(--vscode-editor-font-size, 14px); font-weight: var(--vscode-editor-font-weight, normal); } .textarea.monospace::placeholder { color: var( --vscode-editor-inlineValuesForeground, rgba(255, 255, 255, 0.5) ); } textarea.cursor-pointer { cursor: pointer; } textarea:focus { border-color: var(--vscode-focusBorder, #0078d4); outline: none; } textarea::placeholder { color: var(--vscode-input-placeholderForeground, #989898); opacity: 1; } textarea::-webkit-scrollbar-track { background-color: transparent; } textarea::-webkit-scrollbar { width: 14px; } textarea::-webkit-scrollbar-thumb { background-color: transparent; } textarea:hover::-webkit-scrollbar-thumb { background-color: var( --vscode-scrollbarSlider-background, rgba(121, 121, 121, 0.4) ); } textarea::-webkit-scrollbar-thumb:hover { background-color: var( --vscode-scrollbarSlider-hoverBackground, rgba(100, 100, 100, 0.7) ); } textarea::-webkit-scrollbar-thumb:active { background-color: var( --vscode-scrollbarSlider-activeBackground, rgba(191, 191, 191, 0.4) ); } textarea::-webkit-scrollbar-corner { background-color: transparent; } textarea::-webkit-resizer { background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAAXNSR0IB2cksfwAAAAlwSFlzAAALEwAACxMBAJqcGAAAACJJREFUeJxjYMAOZuIQZ5j5//9/rJJESczEKYGsG6cEXgAAsEEefMxkua4AAAAASUVORK5CYII='); background-repeat: no-repeat; background-position: right bottom; } `, ]"
|
|
10084
|
+
}
|
|
10085
|
+
],
|
|
10086
|
+
"exports": [
|
|
10087
|
+
{
|
|
10088
|
+
"kind": "js",
|
|
10089
|
+
"name": "default",
|
|
10090
|
+
"declaration": {
|
|
10091
|
+
"name": "styles",
|
|
10092
|
+
"module": "src/vscode-textarea/vscode-textarea.styles.ts"
|
|
10093
|
+
}
|
|
10094
|
+
}
|
|
10095
|
+
]
|
|
10096
|
+
},
|
|
10097
|
+
{
|
|
10098
|
+
"kind": "javascript-module",
|
|
10099
|
+
"path": "src/vscode-textarea/vscode-textarea.ts",
|
|
10100
|
+
"declarations": [
|
|
10101
|
+
{
|
|
10102
|
+
"kind": "class",
|
|
10103
|
+
"description": "Multi-line text input.\n\nWhen participating in a form, it supports the `:invalid` pseudo class. Otherwise the error styles\ncan be applied through the `invalid` property.",
|
|
10104
|
+
"name": "VscodeTextarea",
|
|
10105
|
+
"cssProperties": [
|
|
10106
|
+
{
|
|
10107
|
+
"name": "--vscode-scrollbar-shadow",
|
|
10108
|
+
"default": "#000000"
|
|
10109
|
+
},
|
|
10110
|
+
{
|
|
10111
|
+
"name": "--vscode-settings-textInputBackground",
|
|
10112
|
+
"default": "#313131"
|
|
10113
|
+
},
|
|
10114
|
+
{
|
|
10115
|
+
"name": "--vscode-settings-textInputBorder",
|
|
10116
|
+
"default": "transparent"
|
|
10117
|
+
},
|
|
10118
|
+
{
|
|
10119
|
+
"name": "--vscode-settings-textInputForeground",
|
|
10120
|
+
"default": "#cccccc"
|
|
10121
|
+
},
|
|
10122
|
+
{
|
|
10123
|
+
"name": "--vscode-input-placeholderForeground",
|
|
10124
|
+
"default": "#989898"
|
|
10167
10125
|
},
|
|
10168
10126
|
{
|
|
10169
|
-
"
|
|
10170
|
-
"
|
|
10171
|
-
"type": {
|
|
10172
|
-
"text": "boolean"
|
|
10173
|
-
},
|
|
10174
|
-
"privacy": "private",
|
|
10175
|
-
"default": "false"
|
|
10127
|
+
"name": "--vscode-font-family",
|
|
10128
|
+
"default": "sans-serif"
|
|
10176
10129
|
},
|
|
10177
10130
|
{
|
|
10178
|
-
"
|
|
10179
|
-
"
|
|
10180
|
-
"type": {
|
|
10181
|
-
"text": "ElementInternals"
|
|
10182
|
-
},
|
|
10183
|
-
"privacy": "private"
|
|
10131
|
+
"name": "--vscode-font-size",
|
|
10132
|
+
"default": "13px"
|
|
10184
10133
|
},
|
|
10185
10134
|
{
|
|
10186
|
-
"
|
|
10187
|
-
"
|
|
10188
|
-
"privacy": "private"
|
|
10135
|
+
"name": "--vscode-font-weight",
|
|
10136
|
+
"default": "normal"
|
|
10189
10137
|
},
|
|
10190
10138
|
{
|
|
10191
|
-
"
|
|
10192
|
-
"
|
|
10193
|
-
"privacy": "private"
|
|
10139
|
+
"name": "--vscode-editor-background",
|
|
10140
|
+
"default": "#1f1f1f"
|
|
10194
10141
|
},
|
|
10195
10142
|
{
|
|
10196
|
-
"
|
|
10197
|
-
"
|
|
10198
|
-
"privacy": "private",
|
|
10199
|
-
"parameters": [
|
|
10200
|
-
{
|
|
10201
|
-
"name": "ev",
|
|
10202
|
-
"type": {
|
|
10203
|
-
"text": "Event"
|
|
10204
|
-
}
|
|
10205
|
-
}
|
|
10206
|
-
]
|
|
10143
|
+
"name": "--vscode-editor-foreground",
|
|
10144
|
+
"default": "#cccccc"
|
|
10207
10145
|
},
|
|
10208
10146
|
{
|
|
10209
|
-
"
|
|
10210
|
-
"
|
|
10211
|
-
"privacy": "private",
|
|
10212
|
-
"parameters": [
|
|
10213
|
-
{
|
|
10214
|
-
"name": "ev",
|
|
10215
|
-
"type": {
|
|
10216
|
-
"text": "InputEvent"
|
|
10217
|
-
}
|
|
10218
|
-
}
|
|
10219
|
-
]
|
|
10147
|
+
"name": "--vscode-editor-font-family",
|
|
10148
|
+
"default": "monospace"
|
|
10220
10149
|
},
|
|
10221
10150
|
{
|
|
10222
|
-
"
|
|
10223
|
-
"
|
|
10224
|
-
"privacy": "private",
|
|
10225
|
-
"parameters": [
|
|
10226
|
-
{
|
|
10227
|
-
"name": "ev",
|
|
10228
|
-
"type": {
|
|
10229
|
-
"text": "MouseEvent"
|
|
10230
|
-
}
|
|
10231
|
-
}
|
|
10232
|
-
]
|
|
10151
|
+
"name": "--vscode-editor-font-size",
|
|
10152
|
+
"default": "14px"
|
|
10233
10153
|
},
|
|
10234
10154
|
{
|
|
10235
|
-
"
|
|
10236
|
-
"
|
|
10237
|
-
"privacy": "private"
|
|
10155
|
+
"name": "--vscode-editor-font-weight",
|
|
10156
|
+
"default": "normal"
|
|
10238
10157
|
},
|
|
10239
10158
|
{
|
|
10240
|
-
"
|
|
10241
|
-
"
|
|
10242
|
-
|
|
10243
|
-
"text": "string"
|
|
10244
|
-
},
|
|
10245
|
-
"description": "VSCode Elements version",
|
|
10246
|
-
"readonly": true,
|
|
10247
|
-
"inheritedFrom": {
|
|
10248
|
-
"name": "VscElement",
|
|
10249
|
-
"module": "src/includes/VscElement.ts"
|
|
10250
|
-
}
|
|
10251
|
-
}
|
|
10252
|
-
],
|
|
10253
|
-
"events": [
|
|
10159
|
+
"name": "--vscode-editor-inlineValuesForeground",
|
|
10160
|
+
"default": "rgba(255, 255, 255, 0.5)"
|
|
10161
|
+
},
|
|
10254
10162
|
{
|
|
10255
|
-
"name": "
|
|
10256
|
-
"
|
|
10257
|
-
"text": "Event"
|
|
10258
|
-
}
|
|
10163
|
+
"name": "--vscode-focusBorder",
|
|
10164
|
+
"default": "#0078d4"
|
|
10259
10165
|
},
|
|
10260
10166
|
{
|
|
10261
|
-
"name": "
|
|
10262
|
-
"
|
|
10263
|
-
"text": "CustomEvent"
|
|
10264
|
-
},
|
|
10265
|
-
"deprecated": "true"
|
|
10167
|
+
"name": "--vscode-scrollbarSlider-background",
|
|
10168
|
+
"default": "rgba(121, 121, 121, 0.4)"
|
|
10266
10169
|
},
|
|
10267
10170
|
{
|
|
10268
|
-
"name": "
|
|
10269
|
-
"
|
|
10270
|
-
"text": "CustomEvent"
|
|
10271
|
-
},
|
|
10272
|
-
"deprecated": "true"
|
|
10171
|
+
"name": "--vscode-scrollbarSlider-hoverBackground",
|
|
10172
|
+
"default": "rgba(100, 100, 100, 0.7)"
|
|
10273
10173
|
},
|
|
10274
10174
|
{
|
|
10275
|
-
"
|
|
10276
|
-
|
|
10277
|
-
},
|
|
10278
|
-
"name": "input"
|
|
10175
|
+
"name": "--vscode-scrollbarSlider-activeBackground",
|
|
10176
|
+
"default": "rgba(191, 191, 191, 0.4)"
|
|
10279
10177
|
}
|
|
10280
10178
|
],
|
|
10281
|
-
"
|
|
10179
|
+
"members": [
|
|
10282
10180
|
{
|
|
10181
|
+
"kind": "field",
|
|
10283
10182
|
"name": "autocomplete",
|
|
10284
10183
|
"type": {
|
|
10285
10184
|
"text": "'on' | 'off' | undefined"
|
|
10286
10185
|
},
|
|
10287
10186
|
"default": "undefined",
|
|
10288
|
-
"
|
|
10187
|
+
"attribute": "autocomplete"
|
|
10289
10188
|
},
|
|
10290
10189
|
{
|
|
10190
|
+
"kind": "field",
|
|
10291
10191
|
"name": "autofocus",
|
|
10292
10192
|
"type": {
|
|
10293
10193
|
"text": "boolean"
|
|
10294
10194
|
},
|
|
10295
10195
|
"default": "false",
|
|
10296
|
-
"
|
|
10196
|
+
"attribute": "autofocus",
|
|
10197
|
+
"reflects": true
|
|
10297
10198
|
},
|
|
10298
10199
|
{
|
|
10299
|
-
"
|
|
10200
|
+
"kind": "field",
|
|
10201
|
+
"name": "defaultValue",
|
|
10300
10202
|
"type": {
|
|
10301
10203
|
"text": "string"
|
|
10302
10204
|
},
|
|
10303
10205
|
"default": "''",
|
|
10304
|
-
"
|
|
10206
|
+
"attribute": "default-value"
|
|
10305
10207
|
},
|
|
10306
10208
|
{
|
|
10209
|
+
"kind": "field",
|
|
10307
10210
|
"name": "disabled",
|
|
10308
10211
|
"type": {
|
|
10309
10212
|
"text": "boolean"
|
|
10310
10213
|
},
|
|
10311
10214
|
"default": "false",
|
|
10312
|
-
"
|
|
10215
|
+
"attribute": "disabled",
|
|
10216
|
+
"reflects": true
|
|
10313
10217
|
},
|
|
10314
10218
|
{
|
|
10219
|
+
"kind": "field",
|
|
10315
10220
|
"name": "invalid",
|
|
10316
10221
|
"type": {
|
|
10317
10222
|
"text": "boolean"
|
|
10318
10223
|
},
|
|
10319
10224
|
"default": "false",
|
|
10320
|
-
"
|
|
10225
|
+
"attribute": "invalid",
|
|
10226
|
+
"reflects": true
|
|
10227
|
+
},
|
|
10228
|
+
{
|
|
10229
|
+
"kind": "field",
|
|
10230
|
+
"name": "label",
|
|
10231
|
+
"type": {
|
|
10232
|
+
"text": "string"
|
|
10233
|
+
},
|
|
10234
|
+
"default": "''"
|
|
10321
10235
|
},
|
|
10322
10236
|
{
|
|
10237
|
+
"kind": "field",
|
|
10323
10238
|
"name": "maxLength",
|
|
10324
10239
|
"type": {
|
|
10325
10240
|
"text": "number | undefined"
|
|
10326
10241
|
},
|
|
10327
10242
|
"default": "undefined",
|
|
10328
|
-
"
|
|
10243
|
+
"attribute": "maxLength"
|
|
10329
10244
|
},
|
|
10330
10245
|
{
|
|
10246
|
+
"kind": "field",
|
|
10331
10247
|
"name": "minLength",
|
|
10332
10248
|
"type": {
|
|
10333
10249
|
"text": "number | undefined"
|
|
10334
10250
|
},
|
|
10335
10251
|
"default": "undefined",
|
|
10336
|
-
"
|
|
10252
|
+
"attribute": "minLength"
|
|
10337
10253
|
},
|
|
10338
10254
|
{
|
|
10255
|
+
"kind": "field",
|
|
10339
10256
|
"name": "rows",
|
|
10340
10257
|
"type": {
|
|
10341
10258
|
"text": "number | undefined"
|
|
10342
10259
|
},
|
|
10343
10260
|
"default": "undefined",
|
|
10344
|
-
"
|
|
10261
|
+
"attribute": "rows"
|
|
10345
10262
|
},
|
|
10346
10263
|
{
|
|
10264
|
+
"kind": "field",
|
|
10347
10265
|
"name": "cols",
|
|
10348
10266
|
"type": {
|
|
10349
10267
|
"text": "number | undefined"
|
|
10350
10268
|
},
|
|
10351
10269
|
"default": "undefined",
|
|
10352
|
-
"
|
|
10270
|
+
"attribute": "cols"
|
|
10353
10271
|
},
|
|
10354
10272
|
{
|
|
10273
|
+
"kind": "field",
|
|
10355
10274
|
"name": "name",
|
|
10356
10275
|
"type": {
|
|
10357
10276
|
"text": "string | undefined"
|
|
10358
10277
|
},
|
|
10359
10278
|
"default": "undefined",
|
|
10360
|
-
"
|
|
10279
|
+
"attribute": "name"
|
|
10361
10280
|
},
|
|
10362
10281
|
{
|
|
10282
|
+
"kind": "field",
|
|
10363
10283
|
"name": "placeholder",
|
|
10364
10284
|
"type": {
|
|
10365
10285
|
"text": "string | undefined"
|
|
10366
10286
|
},
|
|
10367
10287
|
"default": "undefined",
|
|
10368
|
-
"
|
|
10288
|
+
"attribute": "placeholder"
|
|
10369
10289
|
},
|
|
10370
10290
|
{
|
|
10291
|
+
"kind": "field",
|
|
10371
10292
|
"name": "readonly",
|
|
10372
10293
|
"type": {
|
|
10373
10294
|
"text": "boolean"
|
|
10374
10295
|
},
|
|
10375
10296
|
"default": "false",
|
|
10376
|
-
"
|
|
10297
|
+
"attribute": "readonly",
|
|
10298
|
+
"reflects": true
|
|
10377
10299
|
},
|
|
10378
10300
|
{
|
|
10301
|
+
"kind": "field",
|
|
10379
10302
|
"name": "resize",
|
|
10380
10303
|
"type": {
|
|
10381
10304
|
"text": "'both' | 'horizontal' | 'vertical' | 'none'"
|
|
10382
10305
|
},
|
|
10383
10306
|
"default": "'none'",
|
|
10384
|
-
"
|
|
10307
|
+
"attribute": "resize"
|
|
10385
10308
|
},
|
|
10386
10309
|
{
|
|
10310
|
+
"kind": "field",
|
|
10387
10311
|
"name": "required",
|
|
10388
10312
|
"type": {
|
|
10389
10313
|
"text": "boolean"
|
|
10390
10314
|
},
|
|
10391
10315
|
"default": "false",
|
|
10392
|
-
"
|
|
10316
|
+
"attribute": "required",
|
|
10317
|
+
"reflects": true
|
|
10393
10318
|
},
|
|
10394
10319
|
{
|
|
10320
|
+
"kind": "field",
|
|
10395
10321
|
"name": "spellcheck",
|
|
10396
10322
|
"type": {
|
|
10397
10323
|
"text": "boolean"
|
|
10398
10324
|
},
|
|
10399
10325
|
"default": "false",
|
|
10400
|
-
"
|
|
10326
|
+
"attribute": "spellcheck"
|
|
10401
10327
|
},
|
|
10402
10328
|
{
|
|
10329
|
+
"kind": "field",
|
|
10403
10330
|
"name": "monospace",
|
|
10404
10331
|
"type": {
|
|
10405
10332
|
"text": "boolean"
|
|
10406
10333
|
},
|
|
10407
10334
|
"default": "false",
|
|
10408
10335
|
"description": "Use monospace fonts. The font family, weight, size, and color will be the same as set in the\nVSCode code editor.",
|
|
10409
|
-
"
|
|
10336
|
+
"attribute": "monospace",
|
|
10337
|
+
"reflects": true
|
|
10410
10338
|
},
|
|
10411
10339
|
{
|
|
10340
|
+
"kind": "field",
|
|
10412
10341
|
"name": "value",
|
|
10413
10342
|
"type": {
|
|
10414
10343
|
"text": "string"
|
|
10415
10344
|
},
|
|
10416
|
-
"
|
|
10417
|
-
}
|
|
10418
|
-
],
|
|
10419
|
-
"superclass": {
|
|
10420
|
-
"name": "VscElement",
|
|
10421
|
-
"module": "/src/includes/VscElement.js"
|
|
10422
|
-
},
|
|
10423
|
-
"tagName": "vscode-textarea",
|
|
10424
|
-
"customElement": true
|
|
10425
|
-
}
|
|
10426
|
-
],
|
|
10427
|
-
"exports": [
|
|
10428
|
-
{
|
|
10429
|
-
"kind": "js",
|
|
10430
|
-
"name": "VscodeTextarea",
|
|
10431
|
-
"declaration": {
|
|
10432
|
-
"name": "VscodeTextarea",
|
|
10433
|
-
"module": "src/vscode-textarea/vscode-textarea.ts"
|
|
10434
|
-
}
|
|
10435
|
-
},
|
|
10436
|
-
{
|
|
10437
|
-
"kind": "custom-element-definition",
|
|
10438
|
-
"name": "vscode-textarea",
|
|
10439
|
-
"declaration": {
|
|
10440
|
-
"name": "VscodeTextarea",
|
|
10441
|
-
"module": "src/vscode-textarea/vscode-textarea.ts"
|
|
10442
|
-
}
|
|
10443
|
-
}
|
|
10444
|
-
]
|
|
10445
|
-
},
|
|
10446
|
-
{
|
|
10447
|
-
"kind": "javascript-module",
|
|
10448
|
-
"path": "src/vscode-tabs/vscode-tabs.styles.ts",
|
|
10449
|
-
"declarations": [
|
|
10450
|
-
{
|
|
10451
|
-
"kind": "variable",
|
|
10452
|
-
"name": "styles",
|
|
10453
|
-
"type": {
|
|
10454
|
-
"text": "CSSResultGroup"
|
|
10455
|
-
},
|
|
10456
|
-
"default": "[ defaultStyles, css` :host { display: block; } .header { align-items: center; display: flex; font-family: var(--vscode-font-family); font-size: var(--vscode-font-size); font-weight: var(--vscode-font-weight); width: 100%; } .header { border-bottom-color: var(--vscode-settings-headerBorder); border-bottom-style: solid; border-bottom-width: 1px; } .header.panel { background-color: var(--vscode-panel-background); border-bottom-width: 0; box-sizing: border-box; padding-left: 8px; padding-right: 8px; } slot[name='addons'] { display: block; margin-left: auto; } `, ]"
|
|
10457
|
-
}
|
|
10458
|
-
],
|
|
10459
|
-
"exports": [
|
|
10460
|
-
{
|
|
10461
|
-
"kind": "js",
|
|
10462
|
-
"name": "default",
|
|
10463
|
-
"declaration": {
|
|
10464
|
-
"name": "styles",
|
|
10465
|
-
"module": "src/vscode-tabs/vscode-tabs.styles.ts"
|
|
10466
|
-
}
|
|
10467
|
-
}
|
|
10468
|
-
]
|
|
10469
|
-
},
|
|
10470
|
-
{
|
|
10471
|
-
"kind": "javascript-module",
|
|
10472
|
-
"path": "src/vscode-tabs/vscode-tabs.ts",
|
|
10473
|
-
"declarations": [
|
|
10474
|
-
{
|
|
10475
|
-
"kind": "class",
|
|
10476
|
-
"description": "",
|
|
10477
|
-
"name": "VscodeTabs",
|
|
10478
|
-
"cssProperties": [
|
|
10479
|
-
{
|
|
10480
|
-
"name": "--vscode-font-family"
|
|
10481
|
-
},
|
|
10482
|
-
{
|
|
10483
|
-
"name": "--vscode-font-size"
|
|
10484
|
-
},
|
|
10485
|
-
{
|
|
10486
|
-
"name": "--vscode-font-weight"
|
|
10345
|
+
"attribute": "value"
|
|
10487
10346
|
},
|
|
10488
10347
|
{
|
|
10489
|
-
"
|
|
10348
|
+
"kind": "field",
|
|
10349
|
+
"name": "wrappedElement",
|
|
10350
|
+
"type": {
|
|
10351
|
+
"text": "HTMLTextAreaElement"
|
|
10352
|
+
},
|
|
10353
|
+
"description": "Getter for the inner textarea element if it needs to be accessed for some reason.",
|
|
10354
|
+
"readonly": true
|
|
10490
10355
|
},
|
|
10491
10356
|
{
|
|
10492
|
-
"
|
|
10493
|
-
|
|
10494
|
-
|
|
10495
|
-
|
|
10496
|
-
|
|
10497
|
-
"
|
|
10498
|
-
"name": ""
|
|
10357
|
+
"kind": "field",
|
|
10358
|
+
"name": "form",
|
|
10359
|
+
"type": {
|
|
10360
|
+
"text": "HTMLFormElement | null"
|
|
10361
|
+
},
|
|
10362
|
+
"readonly": true
|
|
10499
10363
|
},
|
|
10500
10364
|
{
|
|
10501
|
-
"
|
|
10502
|
-
"name": "
|
|
10365
|
+
"kind": "field",
|
|
10366
|
+
"name": "validity",
|
|
10367
|
+
"type": {
|
|
10368
|
+
"text": "ValidityState"
|
|
10369
|
+
},
|
|
10370
|
+
"readonly": true
|
|
10503
10371
|
},
|
|
10504
10372
|
{
|
|
10505
|
-
"
|
|
10506
|
-
"name": "
|
|
10507
|
-
|
|
10508
|
-
|
|
10509
|
-
"members": [
|
|
10373
|
+
"kind": "field",
|
|
10374
|
+
"name": "validationMessage",
|
|
10375
|
+
"readonly": true
|
|
10376
|
+
},
|
|
10510
10377
|
{
|
|
10511
10378
|
"kind": "field",
|
|
10512
|
-
"name": "
|
|
10513
|
-
"
|
|
10514
|
-
"text": "boolean"
|
|
10515
|
-
},
|
|
10516
|
-
"default": "false",
|
|
10517
|
-
"description": "Panel-like look",
|
|
10518
|
-
"attribute": "panel",
|
|
10519
|
-
"reflects": true
|
|
10379
|
+
"name": "willValidate",
|
|
10380
|
+
"readonly": true
|
|
10520
10381
|
},
|
|
10521
10382
|
{
|
|
10522
10383
|
"kind": "field",
|
|
10523
|
-
"name": "
|
|
10384
|
+
"name": "minlength",
|
|
10385
|
+
"description": "Lowercase alias to minLength",
|
|
10524
10386
|
"type": {
|
|
10525
|
-
"text": "number"
|
|
10526
|
-
}
|
|
10527
|
-
"default": "0",
|
|
10528
|
-
"attribute": "selected-index",
|
|
10529
|
-
"reflects": true
|
|
10387
|
+
"text": "number | undefined"
|
|
10388
|
+
}
|
|
10530
10389
|
},
|
|
10531
10390
|
{
|
|
10532
10391
|
"kind": "field",
|
|
10533
|
-
"name": "
|
|
10392
|
+
"name": "maxlength",
|
|
10393
|
+
"description": "Lowercase alias to maxLength",
|
|
10534
10394
|
"type": {
|
|
10535
|
-
"text": "
|
|
10536
|
-
}
|
|
10537
|
-
|
|
10395
|
+
"text": "number | undefined"
|
|
10396
|
+
}
|
|
10397
|
+
},
|
|
10398
|
+
{
|
|
10399
|
+
"kind": "method",
|
|
10400
|
+
"name": "checkValidity",
|
|
10401
|
+
"return": {
|
|
10402
|
+
"type": {
|
|
10403
|
+
"text": "boolean"
|
|
10404
|
+
}
|
|
10405
|
+
}
|
|
10406
|
+
},
|
|
10407
|
+
{
|
|
10408
|
+
"kind": "method",
|
|
10409
|
+
"name": "reportValidity",
|
|
10410
|
+
"return": {
|
|
10411
|
+
"type": {
|
|
10412
|
+
"text": "boolean"
|
|
10413
|
+
}
|
|
10414
|
+
}
|
|
10538
10415
|
},
|
|
10539
10416
|
{
|
|
10540
10417
|
"kind": "field",
|
|
10541
|
-
"name": "
|
|
10418
|
+
"name": "_textareaEl",
|
|
10542
10419
|
"type": {
|
|
10543
|
-
"text": "
|
|
10420
|
+
"text": "HTMLTextAreaElement"
|
|
10544
10421
|
},
|
|
10545
10422
|
"privacy": "private"
|
|
10546
10423
|
},
|
|
10547
10424
|
{
|
|
10548
10425
|
"kind": "field",
|
|
10549
|
-
"name": "
|
|
10426
|
+
"name": "_value",
|
|
10550
10427
|
"type": {
|
|
10551
|
-
"text": "
|
|
10428
|
+
"text": "string"
|
|
10552
10429
|
},
|
|
10553
10430
|
"privacy": "private",
|
|
10554
|
-
"default": "
|
|
10431
|
+
"default": "''"
|
|
10555
10432
|
},
|
|
10556
10433
|
{
|
|
10557
10434
|
"kind": "field",
|
|
10558
|
-
"name": "
|
|
10435
|
+
"name": "_textareaPointerCursor",
|
|
10559
10436
|
"type": {
|
|
10560
|
-
"text": "
|
|
10437
|
+
"text": "boolean"
|
|
10561
10438
|
},
|
|
10562
10439
|
"privacy": "private",
|
|
10563
|
-
"default": "
|
|
10440
|
+
"default": "false"
|
|
10564
10441
|
},
|
|
10565
10442
|
{
|
|
10566
10443
|
"kind": "field",
|
|
10567
|
-
"name": "
|
|
10444
|
+
"name": "_shadow",
|
|
10568
10445
|
"type": {
|
|
10569
|
-
"text": "
|
|
10446
|
+
"text": "boolean"
|
|
10570
10447
|
},
|
|
10571
10448
|
"privacy": "private",
|
|
10572
|
-
"default": "
|
|
10449
|
+
"default": "false"
|
|
10573
10450
|
},
|
|
10574
10451
|
{
|
|
10575
10452
|
"kind": "field",
|
|
10576
|
-
"name": "
|
|
10453
|
+
"name": "_internals",
|
|
10577
10454
|
"type": {
|
|
10578
|
-
"text": "
|
|
10455
|
+
"text": "ElementInternals"
|
|
10579
10456
|
},
|
|
10580
|
-
"privacy": "private"
|
|
10581
|
-
"default": "0"
|
|
10457
|
+
"privacy": "private"
|
|
10582
10458
|
},
|
|
10583
10459
|
{
|
|
10584
10460
|
"kind": "method",
|
|
10585
|
-
"name": "
|
|
10461
|
+
"name": "_setValidityFromInput",
|
|
10586
10462
|
"privacy": "private"
|
|
10587
10463
|
},
|
|
10588
10464
|
{
|
|
10589
10465
|
"kind": "method",
|
|
10590
|
-
"name": "
|
|
10466
|
+
"name": "_dataChanged",
|
|
10591
10467
|
"privacy": "private"
|
|
10592
10468
|
},
|
|
10593
10469
|
{
|
|
10594
10470
|
"kind": "method",
|
|
10595
|
-
"name": "
|
|
10596
|
-
"privacy": "private"
|
|
10471
|
+
"name": "_handleChange",
|
|
10472
|
+
"privacy": "private",
|
|
10473
|
+
"parameters": [
|
|
10474
|
+
{
|
|
10475
|
+
"name": "ev",
|
|
10476
|
+
"type": {
|
|
10477
|
+
"text": "Event"
|
|
10478
|
+
}
|
|
10479
|
+
}
|
|
10480
|
+
]
|
|
10597
10481
|
},
|
|
10598
10482
|
{
|
|
10599
10483
|
"kind": "method",
|
|
10600
|
-
"name": "
|
|
10601
|
-
"privacy": "private"
|
|
10484
|
+
"name": "_handleInput",
|
|
10485
|
+
"privacy": "private",
|
|
10486
|
+
"parameters": [
|
|
10487
|
+
{
|
|
10488
|
+
"name": "ev",
|
|
10489
|
+
"type": {
|
|
10490
|
+
"text": "InputEvent"
|
|
10491
|
+
}
|
|
10492
|
+
}
|
|
10493
|
+
]
|
|
10602
10494
|
},
|
|
10603
10495
|
{
|
|
10604
10496
|
"kind": "method",
|
|
10605
|
-
"name": "
|
|
10497
|
+
"name": "_handleMouseMove",
|
|
10606
10498
|
"privacy": "private",
|
|
10607
10499
|
"parameters": [
|
|
10608
10500
|
{
|
|
10609
10501
|
"name": "ev",
|
|
10610
10502
|
"type": {
|
|
10611
|
-
"text": "
|
|
10503
|
+
"text": "MouseEvent"
|
|
10612
10504
|
}
|
|
10613
10505
|
}
|
|
10614
10506
|
]
|
|
10615
10507
|
},
|
|
10616
10508
|
{
|
|
10617
10509
|
"kind": "method",
|
|
10618
|
-
"name": "
|
|
10510
|
+
"name": "_handleScroll",
|
|
10619
10511
|
"privacy": "private"
|
|
10620
10512
|
},
|
|
10621
10513
|
{
|
|
10622
|
-
"kind": "
|
|
10623
|
-
"name": "
|
|
10624
|
-
"
|
|
10514
|
+
"kind": "field",
|
|
10515
|
+
"name": "version",
|
|
10516
|
+
"type": {
|
|
10517
|
+
"text": "string"
|
|
10518
|
+
},
|
|
10519
|
+
"description": "VSCode Elements version",
|
|
10520
|
+
"readonly": true,
|
|
10521
|
+
"inheritedFrom": {
|
|
10522
|
+
"name": "VscElement",
|
|
10523
|
+
"module": "src/includes/VscElement.ts"
|
|
10524
|
+
}
|
|
10525
|
+
}
|
|
10526
|
+
],
|
|
10527
|
+
"events": [
|
|
10528
|
+
{
|
|
10529
|
+
"name": "change",
|
|
10530
|
+
"type": {
|
|
10531
|
+
"text": "Event"
|
|
10532
|
+
}
|
|
10533
|
+
},
|
|
10534
|
+
{
|
|
10535
|
+
"name": "vsc-change",
|
|
10536
|
+
"type": {
|
|
10537
|
+
"text": "CustomEvent"
|
|
10538
|
+
},
|
|
10539
|
+
"deprecated": "true"
|
|
10540
|
+
},
|
|
10541
|
+
{
|
|
10542
|
+
"name": "vsc-input",
|
|
10543
|
+
"type": {
|
|
10544
|
+
"text": "CustomEvent"
|
|
10545
|
+
},
|
|
10546
|
+
"deprecated": "true"
|
|
10547
|
+
},
|
|
10548
|
+
{
|
|
10549
|
+
"type": {
|
|
10550
|
+
"text": "InputEvent"
|
|
10551
|
+
},
|
|
10552
|
+
"name": "input"
|
|
10553
|
+
}
|
|
10554
|
+
],
|
|
10555
|
+
"attributes": [
|
|
10556
|
+
{
|
|
10557
|
+
"name": "autocomplete",
|
|
10558
|
+
"type": {
|
|
10559
|
+
"text": "'on' | 'off' | undefined"
|
|
10560
|
+
},
|
|
10561
|
+
"default": "undefined",
|
|
10562
|
+
"fieldName": "autocomplete"
|
|
10563
|
+
},
|
|
10564
|
+
{
|
|
10565
|
+
"name": "autofocus",
|
|
10566
|
+
"type": {
|
|
10567
|
+
"text": "boolean"
|
|
10568
|
+
},
|
|
10569
|
+
"default": "false",
|
|
10570
|
+
"fieldName": "autofocus"
|
|
10571
|
+
},
|
|
10572
|
+
{
|
|
10573
|
+
"name": "default-value",
|
|
10574
|
+
"type": {
|
|
10575
|
+
"text": "string"
|
|
10576
|
+
},
|
|
10577
|
+
"default": "''",
|
|
10578
|
+
"fieldName": "defaultValue"
|
|
10579
|
+
},
|
|
10580
|
+
{
|
|
10581
|
+
"name": "disabled",
|
|
10582
|
+
"type": {
|
|
10583
|
+
"text": "boolean"
|
|
10584
|
+
},
|
|
10585
|
+
"default": "false",
|
|
10586
|
+
"fieldName": "disabled"
|
|
10587
|
+
},
|
|
10588
|
+
{
|
|
10589
|
+
"name": "invalid",
|
|
10590
|
+
"type": {
|
|
10591
|
+
"text": "boolean"
|
|
10592
|
+
},
|
|
10593
|
+
"default": "false",
|
|
10594
|
+
"fieldName": "invalid"
|
|
10595
|
+
},
|
|
10596
|
+
{
|
|
10597
|
+
"name": "maxLength",
|
|
10598
|
+
"type": {
|
|
10599
|
+
"text": "number | undefined"
|
|
10600
|
+
},
|
|
10601
|
+
"default": "undefined",
|
|
10602
|
+
"fieldName": "maxLength"
|
|
10603
|
+
},
|
|
10604
|
+
{
|
|
10605
|
+
"name": "minLength",
|
|
10606
|
+
"type": {
|
|
10607
|
+
"text": "number | undefined"
|
|
10608
|
+
},
|
|
10609
|
+
"default": "undefined",
|
|
10610
|
+
"fieldName": "minLength"
|
|
10611
|
+
},
|
|
10612
|
+
{
|
|
10613
|
+
"name": "rows",
|
|
10614
|
+
"type": {
|
|
10615
|
+
"text": "number | undefined"
|
|
10616
|
+
},
|
|
10617
|
+
"default": "undefined",
|
|
10618
|
+
"fieldName": "rows"
|
|
10619
|
+
},
|
|
10620
|
+
{
|
|
10621
|
+
"name": "cols",
|
|
10622
|
+
"type": {
|
|
10623
|
+
"text": "number | undefined"
|
|
10624
|
+
},
|
|
10625
|
+
"default": "undefined",
|
|
10626
|
+
"fieldName": "cols"
|
|
10627
|
+
},
|
|
10628
|
+
{
|
|
10629
|
+
"name": "name",
|
|
10630
|
+
"type": {
|
|
10631
|
+
"text": "string | undefined"
|
|
10632
|
+
},
|
|
10633
|
+
"default": "undefined",
|
|
10634
|
+
"fieldName": "name"
|
|
10625
10635
|
},
|
|
10626
10636
|
{
|
|
10627
|
-
"
|
|
10628
|
-
"
|
|
10629
|
-
|
|
10637
|
+
"name": "placeholder",
|
|
10638
|
+
"type": {
|
|
10639
|
+
"text": "string | undefined"
|
|
10640
|
+
},
|
|
10641
|
+
"default": "undefined",
|
|
10642
|
+
"fieldName": "placeholder"
|
|
10630
10643
|
},
|
|
10631
10644
|
{
|
|
10632
|
-
"
|
|
10633
|
-
"
|
|
10634
|
-
|
|
10635
|
-
|
|
10636
|
-
|
|
10637
|
-
|
|
10638
|
-
"type": {
|
|
10639
|
-
"text": "MouseEvent"
|
|
10640
|
-
}
|
|
10641
|
-
}
|
|
10642
|
-
]
|
|
10645
|
+
"name": "readonly",
|
|
10646
|
+
"type": {
|
|
10647
|
+
"text": "boolean"
|
|
10648
|
+
},
|
|
10649
|
+
"default": "false",
|
|
10650
|
+
"fieldName": "readonly"
|
|
10643
10651
|
},
|
|
10644
10652
|
{
|
|
10645
|
-
"
|
|
10646
|
-
"name": "version",
|
|
10653
|
+
"name": "resize",
|
|
10647
10654
|
"type": {
|
|
10648
|
-
"text": "
|
|
10655
|
+
"text": "'both' | 'horizontal' | 'vertical' | 'none'"
|
|
10649
10656
|
},
|
|
10650
|
-
"
|
|
10651
|
-
"
|
|
10652
|
-
|
|
10653
|
-
"name": "VscElement",
|
|
10654
|
-
"module": "src/includes/VscElement.ts"
|
|
10655
|
-
}
|
|
10656
|
-
}
|
|
10657
|
-
],
|
|
10658
|
-
"events": [
|
|
10657
|
+
"default": "'none'",
|
|
10658
|
+
"fieldName": "resize"
|
|
10659
|
+
},
|
|
10659
10660
|
{
|
|
10660
|
-
"name": "
|
|
10661
|
+
"name": "required",
|
|
10661
10662
|
"type": {
|
|
10662
|
-
"text": "
|
|
10663
|
+
"text": "boolean"
|
|
10663
10664
|
},
|
|
10664
|
-
"
|
|
10665
|
+
"default": "false",
|
|
10666
|
+
"fieldName": "required"
|
|
10665
10667
|
},
|
|
10666
10668
|
{
|
|
10669
|
+
"name": "spellcheck",
|
|
10667
10670
|
"type": {
|
|
10668
|
-
"text": "
|
|
10671
|
+
"text": "boolean"
|
|
10669
10672
|
},
|
|
10670
|
-
"
|
|
10671
|
-
"
|
|
10672
|
-
}
|
|
10673
|
-
],
|
|
10674
|
-
"attributes": [
|
|
10673
|
+
"default": "false",
|
|
10674
|
+
"fieldName": "spellcheck"
|
|
10675
|
+
},
|
|
10675
10676
|
{
|
|
10676
|
-
"name": "
|
|
10677
|
+
"name": "monospace",
|
|
10677
10678
|
"type": {
|
|
10678
10679
|
"text": "boolean"
|
|
10679
10680
|
},
|
|
10680
10681
|
"default": "false",
|
|
10681
|
-
"description": "
|
|
10682
|
-
"fieldName": "
|
|
10682
|
+
"description": "Use monospace fonts. The font family, weight, size, and color will be the same as set in the\nVSCode code editor.",
|
|
10683
|
+
"fieldName": "monospace"
|
|
10683
10684
|
},
|
|
10684
10685
|
{
|
|
10685
|
-
"name": "
|
|
10686
|
+
"name": "value",
|
|
10686
10687
|
"type": {
|
|
10687
|
-
"text": "
|
|
10688
|
+
"text": "string"
|
|
10688
10689
|
},
|
|
10689
|
-
"
|
|
10690
|
-
"fieldName": "selectedIndex"
|
|
10690
|
+
"fieldName": "value"
|
|
10691
10691
|
}
|
|
10692
10692
|
],
|
|
10693
10693
|
"superclass": {
|
|
10694
10694
|
"name": "VscElement",
|
|
10695
10695
|
"module": "/src/includes/VscElement.js"
|
|
10696
10696
|
},
|
|
10697
|
-
"tagName": "vscode-
|
|
10697
|
+
"tagName": "vscode-textarea",
|
|
10698
10698
|
"customElement": true
|
|
10699
10699
|
}
|
|
10700
10700
|
],
|
|
10701
10701
|
"exports": [
|
|
10702
10702
|
{
|
|
10703
10703
|
"kind": "js",
|
|
10704
|
-
"name": "
|
|
10704
|
+
"name": "VscodeTextarea",
|
|
10705
10705
|
"declaration": {
|
|
10706
|
-
"name": "
|
|
10707
|
-
"module": "src/vscode-
|
|
10706
|
+
"name": "VscodeTextarea",
|
|
10707
|
+
"module": "src/vscode-textarea/vscode-textarea.ts"
|
|
10708
10708
|
}
|
|
10709
10709
|
},
|
|
10710
10710
|
{
|
|
10711
10711
|
"kind": "custom-element-definition",
|
|
10712
|
-
"name": "vscode-
|
|
10712
|
+
"name": "vscode-textarea",
|
|
10713
10713
|
"declaration": {
|
|
10714
|
-
"name": "
|
|
10715
|
-
"module": "src/vscode-
|
|
10714
|
+
"name": "VscodeTextarea",
|
|
10715
|
+
"module": "src/vscode-textarea/vscode-textarea.ts"
|
|
10716
10716
|
}
|
|
10717
10717
|
}
|
|
10718
10718
|
]
|
|
@@ -11683,7 +11683,7 @@
|
|
|
11683
11683
|
},
|
|
11684
11684
|
{
|
|
11685
11685
|
"kind": "function",
|
|
11686
|
-
"name": "
|
|
11686
|
+
"name": "findClosestAncestorHasNextSibling",
|
|
11687
11687
|
"return": {
|
|
11688
11688
|
"type": {
|
|
11689
11689
|
"text": "VscodeTreeItem | null"
|
|
@@ -11734,42 +11734,7 @@
|
|
|
11734
11734
|
},
|
|
11735
11735
|
{
|
|
11736
11736
|
"kind": "function",
|
|
11737
|
-
"name": "
|
|
11738
|
-
"return": {
|
|
11739
|
-
"type": {
|
|
11740
|
-
"text": "VscodeTreeItem | null"
|
|
11741
|
-
}
|
|
11742
|
-
},
|
|
11743
|
-
"parameters": [
|
|
11744
|
-
{
|
|
11745
|
-
"name": "item",
|
|
11746
|
-
"type": {
|
|
11747
|
-
"text": "VscodeTreeItem"
|
|
11748
|
-
}
|
|
11749
|
-
},
|
|
11750
|
-
{
|
|
11751
|
-
"name": "level",
|
|
11752
|
-
"type": {
|
|
11753
|
-
"text": "number"
|
|
11754
|
-
}
|
|
11755
|
-
}
|
|
11756
|
-
]
|
|
11757
|
-
},
|
|
11758
|
-
{
|
|
11759
|
-
"kind": "function",
|
|
11760
|
-
"name": "selectItemAndAllVisibleDescendants",
|
|
11761
|
-
"parameters": [
|
|
11762
|
-
{
|
|
11763
|
-
"name": "item",
|
|
11764
|
-
"type": {
|
|
11765
|
-
"text": "VscodeTreeItem"
|
|
11766
|
-
}
|
|
11767
|
-
}
|
|
11768
|
-
]
|
|
11769
|
-
},
|
|
11770
|
-
{
|
|
11771
|
-
"kind": "function",
|
|
11772
|
-
"name": "getParentItem",
|
|
11737
|
+
"name": "findParentItem",
|
|
11773
11738
|
"parameters": [
|
|
11774
11739
|
{
|
|
11775
11740
|
"name": "childItem",
|
|
@@ -11799,9 +11764,9 @@
|
|
|
11799
11764
|
},
|
|
11800
11765
|
{
|
|
11801
11766
|
"kind": "js",
|
|
11802
|
-
"name": "
|
|
11767
|
+
"name": "findClosestAncestorHasNextSibling",
|
|
11803
11768
|
"declaration": {
|
|
11804
|
-
"name": "
|
|
11769
|
+
"name": "findClosestAncestorHasNextSibling",
|
|
11805
11770
|
"module": "src/vscode-tree/helpers.ts"
|
|
11806
11771
|
}
|
|
11807
11772
|
},
|
|
@@ -11823,25 +11788,9 @@
|
|
|
11823
11788
|
},
|
|
11824
11789
|
{
|
|
11825
11790
|
"kind": "js",
|
|
11826
|
-
"name": "
|
|
11827
|
-
"declaration": {
|
|
11828
|
-
"name": "findAncestorOnSpecificLevel",
|
|
11829
|
-
"module": "src/vscode-tree/helpers.ts"
|
|
11830
|
-
}
|
|
11831
|
-
},
|
|
11832
|
-
{
|
|
11833
|
-
"kind": "js",
|
|
11834
|
-
"name": "selectItemAndAllVisibleDescendants",
|
|
11835
|
-
"declaration": {
|
|
11836
|
-
"name": "selectItemAndAllVisibleDescendants",
|
|
11837
|
-
"module": "src/vscode-tree/helpers.ts"
|
|
11838
|
-
}
|
|
11839
|
-
},
|
|
11840
|
-
{
|
|
11841
|
-
"kind": "js",
|
|
11842
|
-
"name": "getParentItem",
|
|
11791
|
+
"name": "findParentItem",
|
|
11843
11792
|
"declaration": {
|
|
11844
|
-
"name": "
|
|
11793
|
+
"name": "findParentItem",
|
|
11845
11794
|
"module": "src/vscode-tree/helpers.ts"
|
|
11846
11795
|
}
|
|
11847
11796
|
}
|
|
@@ -11889,7 +11838,7 @@
|
|
|
11889
11838
|
"type": {
|
|
11890
11839
|
"text": "CSSResultGroup"
|
|
11891
11840
|
},
|
|
11892
|
-
"default": "[ defaultStyles, css` :host { --vsc-tree-item-arrow-display: none; display: block; } :host([arrows]) { --vsc-tree-item-arrow-display:
|
|
11841
|
+
"default": "[ defaultStyles, css` :host { --vsc-tree-item-arrow-display: flex; --internal-selectionBackground: var( --vscode-list-inactiveSelectionBackground ); --internal-selectionForeground: var(--vscode-foreground); --internal-selectionIconForeground: var(--vscode-icon-foreground); --internal-defaultIndentGuideDisplay: none; --internal-highlightedIndentGuideDisplay: block; display: block; } :host(:hover) { --internal-defaultIndentGuideDisplay: block; --internal-highlightedIndentGuideDisplay: block; } :host(:focus-within) { --internal-selectionBackground: var( --vscode-list-activeSelectionBackground ); --internal-selectionForeground: var( --vscode-list-activeSelectionForeground ); --internal-selectionIconForeground: var( --vscode-list-activeSelectionIconForeground ); } :host([hide-arrows]) { --vsc-tree-item-arrow-display: none; } :host([indent-guides='none']), :host([indent-guides='none']:hover) { --internal-defaultIndentGuideDisplay: none; --internal-highlightedIndentGuideDisplay: none; } :host([indent-guides='always']), :host([indent-guides='always']:hover) { --internal-defaultIndentGuideDisplay: block; --internal-highlightedIndentGuideDisplay: block; } `, ]"
|
|
11893
11842
|
}
|
|
11894
11843
|
],
|
|
11895
11844
|
"exports": [
|
|
@@ -11909,11 +11858,19 @@
|
|
|
11909
11858
|
"declarations": [
|
|
11910
11859
|
{
|
|
11911
11860
|
"kind": "variable",
|
|
11912
|
-
"name": "
|
|
11861
|
+
"name": "ExpandMode",
|
|
11862
|
+
"type": {
|
|
11863
|
+
"text": "{\n singleClick: 'singleClick',\n doubleClick: 'doubleClick',\n}"
|
|
11864
|
+
},
|
|
11865
|
+
"default": "{ singleClick: 'singleClick', doubleClick: 'doubleClick', }"
|
|
11866
|
+
},
|
|
11867
|
+
{
|
|
11868
|
+
"kind": "variable",
|
|
11869
|
+
"name": "IndentGuides",
|
|
11913
11870
|
"type": {
|
|
11914
|
-
"text": "{\n
|
|
11871
|
+
"text": "{\n none: 'none',\n onHover: 'onHover',\n always: 'always',\n}"
|
|
11915
11872
|
},
|
|
11916
|
-
"default": "{
|
|
11873
|
+
"default": "{ none: 'none', onHover: 'onHover', always: 'always', }"
|
|
11917
11874
|
},
|
|
11918
11875
|
{
|
|
11919
11876
|
"kind": "class",
|
|
@@ -11922,52 +11879,57 @@
|
|
|
11922
11879
|
"members": [
|
|
11923
11880
|
{
|
|
11924
11881
|
"kind": "field",
|
|
11925
|
-
"name": "
|
|
11926
|
-
"default": "false",
|
|
11927
|
-
"attribute": "arrows",
|
|
11928
|
-
"reflects": true,
|
|
11882
|
+
"name": "hideArrows",
|
|
11929
11883
|
"type": {
|
|
11930
11884
|
"text": "boolean"
|
|
11931
|
-
}
|
|
11885
|
+
},
|
|
11886
|
+
"default": "false",
|
|
11887
|
+
"description": "Although arrows are always visible in the Tree component by default in VSCode, some icon sets\n(e.g., Material Icon Theme) allow disabling them in the file explorer view. This flag makes it\npossible to mimic that behavior.",
|
|
11888
|
+
"attribute": "hide-arrows",
|
|
11889
|
+
"reflects": true
|
|
11932
11890
|
},
|
|
11933
11891
|
{
|
|
11934
11892
|
"kind": "field",
|
|
11935
11893
|
"name": "expandMode",
|
|
11936
11894
|
"type": {
|
|
11937
|
-
"text": "
|
|
11895
|
+
"text": "'singleClick' | 'doubleClick'"
|
|
11938
11896
|
},
|
|
11939
11897
|
"default": "DEFAULT_EXPAND_MODE",
|
|
11898
|
+
"description": "Controls how tree folders are expanded when clicked. This property is designed to use\nthe `workbench.tree.expandMode` setting.\n\nValid options are available as constants.\n\n```javascript\nimport {ExpandMode} from '@vscode-elements/elements/dist/vscode-tree/vscode-tree.js';\n\ndocument.querySelector('vscode-tree').expandMode = ExpandMode.singleClick;\n```",
|
|
11940
11899
|
"attribute": "expand-mode"
|
|
11941
11900
|
},
|
|
11942
11901
|
{
|
|
11943
11902
|
"kind": "field",
|
|
11944
11903
|
"name": "indent",
|
|
11945
|
-
"default": "8",
|
|
11946
|
-
"attribute": "indent",
|
|
11947
|
-
"reflects": true,
|
|
11948
11904
|
"type": {
|
|
11949
11905
|
"text": "number"
|
|
11950
|
-
}
|
|
11906
|
+
},
|
|
11907
|
+
"default": "8",
|
|
11908
|
+
"description": "Controls the indentation in pixels. This property is designed to use the\n`workbench.tree.indent` setting.",
|
|
11909
|
+
"attribute": "indent",
|
|
11910
|
+
"reflects": true
|
|
11951
11911
|
},
|
|
11952
11912
|
{
|
|
11953
11913
|
"kind": "field",
|
|
11954
11914
|
"name": "indentGuides",
|
|
11955
|
-
"default": "false",
|
|
11956
|
-
"attribute": "indent-guides",
|
|
11957
|
-
"reflects": true,
|
|
11958
11915
|
"type": {
|
|
11959
|
-
"text": "
|
|
11960
|
-
}
|
|
11916
|
+
"text": "'none' | 'onHover' | 'always'"
|
|
11917
|
+
},
|
|
11918
|
+
"default": "DEFAULT_INDENT_GUIDE_DISPLAY",
|
|
11919
|
+
"description": "Controls whether the tree should render indent guides. This property is\ndesigned to use the `workbench.tree.renderIndentGuides` setting.\n\nValid options are available as constants.\n\n```javascript\nimport {IndentGuides} from '@vscode-elements/elements/dist/vscode-tree/vscode-tree.js';\n\ndocument.querySelector('vscode-tree').expandMode = IndentGuides.onHover;\n```",
|
|
11920
|
+
"attribute": "indent-guides",
|
|
11921
|
+
"reflects": true
|
|
11961
11922
|
},
|
|
11962
11923
|
{
|
|
11963
11924
|
"kind": "field",
|
|
11964
11925
|
"name": "multiSelect",
|
|
11965
|
-
"default": "false",
|
|
11966
|
-
"attribute": "multi-select",
|
|
11967
|
-
"reflects": true,
|
|
11968
11926
|
"type": {
|
|
11969
11927
|
"text": "boolean"
|
|
11970
|
-
}
|
|
11928
|
+
},
|
|
11929
|
+
"default": "false",
|
|
11930
|
+
"description": "Allows selecting multiple items.",
|
|
11931
|
+
"attribute": "multi-select",
|
|
11932
|
+
"reflects": true
|
|
11971
11933
|
},
|
|
11972
11934
|
{
|
|
11973
11935
|
"kind": "field",
|
|
@@ -11976,7 +11938,7 @@
|
|
|
11976
11938
|
"text": "TreeContext"
|
|
11977
11939
|
},
|
|
11978
11940
|
"privacy": "private",
|
|
11979
|
-
"default": "{ isShiftPressed: false, activeItem: null, selectedItems: new Set(), allItems: null, itemListUpToDate: false, focusedItem: null, prevFocusedItem: null, hasBranchItem: false, rootElement: this, highlightedItems:
|
|
11941
|
+
"default": "{ isShiftPressed: false, activeItem: null, selectedItems: new Set(), allItems: null, itemListUpToDate: false, focusedItem: null, prevFocusedItem: null, hasBranchItem: false, rootElement: this, highlightedItems: new Set(), highlightIndentGuides: () => { this._highlightIndentGuides(); }, emitSelectEvent: () => { this._emitSelectEvent(); }, }"
|
|
11980
11942
|
},
|
|
11981
11943
|
{
|
|
11982
11944
|
"kind": "field",
|
|
@@ -11985,7 +11947,7 @@
|
|
|
11985
11947
|
"text": "ConfigContext"
|
|
11986
11948
|
},
|
|
11987
11949
|
"privacy": "private",
|
|
11988
|
-
"default": "{
|
|
11950
|
+
"default": "{ hideArrows: DEFAULT_HIDE_ARROWS, expandMode: DEFAULT_EXPAND_MODE, indent: DEFAULT_INDENT, indentGuides: DEFAULT_INDENT_GUIDE_DISPLAY, multiSelect: DEFAULT_MULTI_SELECT, }"
|
|
11989
11951
|
},
|
|
11990
11952
|
{
|
|
11991
11953
|
"kind": "field",
|
|
@@ -11997,11 +11959,13 @@
|
|
|
11997
11959
|
},
|
|
11998
11960
|
{
|
|
11999
11961
|
"kind": "method",
|
|
12000
|
-
"name": "expandAll"
|
|
11962
|
+
"name": "expandAll",
|
|
11963
|
+
"description": "Expands all folders."
|
|
12001
11964
|
},
|
|
12002
11965
|
{
|
|
12003
11966
|
"kind": "method",
|
|
12004
|
-
"name": "collapseAll"
|
|
11967
|
+
"name": "collapseAll",
|
|
11968
|
+
"description": "Collapses all folders."
|
|
12005
11969
|
},
|
|
12006
11970
|
{
|
|
12007
11971
|
"kind": "method",
|
|
@@ -12010,7 +11974,20 @@
|
|
|
12010
11974
|
},
|
|
12011
11975
|
{
|
|
12012
11976
|
"kind": "method",
|
|
12013
|
-
"name": "
|
|
11977
|
+
"name": "_highlightIndentGuideOfItem",
|
|
11978
|
+
"privacy": "private",
|
|
11979
|
+
"parameters": [
|
|
11980
|
+
{
|
|
11981
|
+
"name": "item",
|
|
11982
|
+
"type": {
|
|
11983
|
+
"text": "VscodeTreeItem"
|
|
11984
|
+
}
|
|
11985
|
+
}
|
|
11986
|
+
]
|
|
11987
|
+
},
|
|
11988
|
+
{
|
|
11989
|
+
"kind": "method",
|
|
11990
|
+
"name": "_highlightIndentGuides",
|
|
12014
11991
|
"privacy": "private"
|
|
12015
11992
|
},
|
|
12016
11993
|
{
|
|
@@ -12118,31 +12095,48 @@
|
|
|
12118
12095
|
],
|
|
12119
12096
|
"attributes": [
|
|
12120
12097
|
{
|
|
12121
|
-
"name": "arrows",
|
|
12122
|
-
"
|
|
12123
|
-
|
|
12098
|
+
"name": "hide-arrows",
|
|
12099
|
+
"type": {
|
|
12100
|
+
"text": "boolean"
|
|
12101
|
+
},
|
|
12102
|
+
"default": "DEFAULT_HIDE_ARROWS",
|
|
12103
|
+
"description": "Although arrows are always visible in the Tree component by default in VSCode, some icon sets\n(e.g., Material Icon Theme) allow disabling them in the file explorer view. This flag makes it\npossible to mimic that behavior.",
|
|
12104
|
+
"fieldName": "hideArrows"
|
|
12124
12105
|
},
|
|
12125
12106
|
{
|
|
12126
12107
|
"name": "expand-mode",
|
|
12127
12108
|
"type": {
|
|
12128
|
-
"text": "
|
|
12109
|
+
"text": "'singleClick' | 'doubleClick'"
|
|
12129
12110
|
},
|
|
12130
12111
|
"default": "DEFAULT_EXPAND_MODE",
|
|
12112
|
+
"description": "Controls how tree folders are expanded when clicked. This property is designed to use\nthe `workbench.tree.expandMode` setting.\n\nValid options are available as constants.\n\n```javascript\nimport {ExpandMode} from '@vscode-elements/elements/dist/vscode-tree/vscode-tree.js';\n\ndocument.querySelector('vscode-tree').expandMode = ExpandMode.singleClick;\n```",
|
|
12131
12113
|
"fieldName": "expandMode"
|
|
12132
12114
|
},
|
|
12133
12115
|
{
|
|
12134
12116
|
"name": "indent",
|
|
12117
|
+
"type": {
|
|
12118
|
+
"text": "number"
|
|
12119
|
+
},
|
|
12135
12120
|
"default": "DEFAULT_INDENT",
|
|
12121
|
+
"description": "Controls the indentation in pixels. This property is designed to use the\n`workbench.tree.indent` setting.",
|
|
12136
12122
|
"fieldName": "indent"
|
|
12137
12123
|
},
|
|
12138
12124
|
{
|
|
12139
12125
|
"name": "indent-guides",
|
|
12140
|
-
"
|
|
12126
|
+
"type": {
|
|
12127
|
+
"text": "'none' | 'onHover' | 'always'"
|
|
12128
|
+
},
|
|
12129
|
+
"default": "DEFAULT_INDENT_GUIDE_DISPLAY",
|
|
12130
|
+
"description": "Controls whether the tree should render indent guides. This property is\ndesigned to use the `workbench.tree.renderIndentGuides` setting.\n\nValid options are available as constants.\n\n```javascript\nimport {IndentGuides} from '@vscode-elements/elements/dist/vscode-tree/vscode-tree.js';\n\ndocument.querySelector('vscode-tree').expandMode = IndentGuides.onHover;\n```",
|
|
12141
12131
|
"fieldName": "indentGuides"
|
|
12142
12132
|
},
|
|
12143
12133
|
{
|
|
12144
12134
|
"name": "multi-select",
|
|
12135
|
+
"type": {
|
|
12136
|
+
"text": "boolean"
|
|
12137
|
+
},
|
|
12145
12138
|
"default": "DEFAULT_MULTI_SELECT",
|
|
12139
|
+
"description": "Allows selecting multiple items.",
|
|
12146
12140
|
"fieldName": "multiSelect"
|
|
12147
12141
|
}
|
|
12148
12142
|
],
|
|
@@ -12157,9 +12151,17 @@
|
|
|
12157
12151
|
"exports": [
|
|
12158
12152
|
{
|
|
12159
12153
|
"kind": "js",
|
|
12160
|
-
"name": "
|
|
12154
|
+
"name": "ExpandMode",
|
|
12155
|
+
"declaration": {
|
|
12156
|
+
"name": "ExpandMode",
|
|
12157
|
+
"module": "src/vscode-tree/vscode-tree.ts"
|
|
12158
|
+
}
|
|
12159
|
+
},
|
|
12160
|
+
{
|
|
12161
|
+
"kind": "js",
|
|
12162
|
+
"name": "IndentGuides",
|
|
12161
12163
|
"declaration": {
|
|
12162
|
-
"name": "
|
|
12164
|
+
"name": "IndentGuides",
|
|
12163
12165
|
"module": "src/vscode-tree/vscode-tree.ts"
|
|
12164
12166
|
}
|
|
12165
12167
|
},
|
|
@@ -12191,7 +12193,7 @@
|
|
|
12191
12193
|
"type": {
|
|
12192
12194
|
"text": "CSSResultGroup"
|
|
12193
12195
|
},
|
|
12194
|
-
"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; cursor: pointer; display: block; user-select: none; } .
|
|
12196
|
+
"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; cursor: pointer; display: block; user-select: none; } .root { display: block; } .wrapper { align-items: flex-start; 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; } .wrapper:hover { background-color: var(--vscode-list-hoverBackground); color: var(--vscode-list-hoverForeground); } :host([selected]) .wrapper { color: var(--internal-selectionForeground); background-color: var(--internal-selectionBackground); } :host([selected]) ::slotted(vscode-icon) { color: var(--internal-selectionForeground); } :host(:focus) { outline: none; } :host(:focus) .wrapper.active { outline-color: var( --vscode-list-focusAndSelectionOutline, var(--vscode-list-focusOutline) ); outline-style: solid; outline-width: 1px; } .arrow-container { align-items: center; display: var(--vsc-tree-item-arrow-display); height: 22px; justify-content: center; padding-left: 8px; padding-right: 6px; width: 16px; } .arrow-container svg { display: block; fill: var(--vscode-icon-foreground); } .arrow-container.icon-rotated svg { transform: rotate(90deg); } :host([selected]) .arrow-container svg { fill: var(--internal-selectionIconForeground); } .icon-container { align-items: center; display: flex; height: 22px; } .icon-container slot { display: block; } .icon-container.has-icon { margin-right: 6px; } .children { position: relative; } .children.guide:before { background-color: var(--vscode-tree-inactiveIndentGuidesStroke); content: ''; display: none; height: 100%; left: var(--indentation-guide-left); pointer-events: none; position: absolute; width: 1px; z-index: 1; } .children.guide.default-guide:before { display: var(--internal-defaultIndentGuideDisplay); } .children.guide.highlighted-guide:before { display: var(--internal-highlightedIndentGuideDisplay); background-color: var(--vscode-tree-indentGuidesStroke); } .content { line-height: 22px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } :host([branch]) ::slotted(vscode-tree-item) { display: none; } :host([branch][open]) ::slotted(vscode-tree-item) { display: block; } `, ]"
|
|
12195
12197
|
}
|
|
12196
12198
|
],
|
|
12197
12199
|
"exports": [
|
|
@@ -12305,6 +12307,41 @@
|
|
|
12305
12307
|
"privacy": "private",
|
|
12306
12308
|
"default": "[]"
|
|
12307
12309
|
},
|
|
12310
|
+
{
|
|
12311
|
+
"kind": "field",
|
|
12312
|
+
"name": "_internals",
|
|
12313
|
+
"type": {
|
|
12314
|
+
"text": "ElementInternals"
|
|
12315
|
+
},
|
|
12316
|
+
"privacy": "private"
|
|
12317
|
+
},
|
|
12318
|
+
{
|
|
12319
|
+
"kind": "field",
|
|
12320
|
+
"name": "_hasBranchIcon",
|
|
12321
|
+
"type": {
|
|
12322
|
+
"text": "boolean"
|
|
12323
|
+
},
|
|
12324
|
+
"privacy": "private",
|
|
12325
|
+
"default": "false"
|
|
12326
|
+
},
|
|
12327
|
+
{
|
|
12328
|
+
"kind": "field",
|
|
12329
|
+
"name": "_hasBranchOpenedIcon",
|
|
12330
|
+
"type": {
|
|
12331
|
+
"text": "boolean"
|
|
12332
|
+
},
|
|
12333
|
+
"privacy": "private",
|
|
12334
|
+
"default": "false"
|
|
12335
|
+
},
|
|
12336
|
+
{
|
|
12337
|
+
"kind": "field",
|
|
12338
|
+
"name": "_hasLeafIcon",
|
|
12339
|
+
"type": {
|
|
12340
|
+
"text": "boolean"
|
|
12341
|
+
},
|
|
12342
|
+
"privacy": "private",
|
|
12343
|
+
"default": "false"
|
|
12344
|
+
},
|
|
12308
12345
|
{
|
|
12309
12346
|
"kind": "field",
|
|
12310
12347
|
"name": "_treeContextState",
|
|
@@ -12312,7 +12349,7 @@
|
|
|
12312
12349
|
"text": "TreeContext"
|
|
12313
12350
|
},
|
|
12314
12351
|
"privacy": "private",
|
|
12315
|
-
"default": "{ isShiftPressed: false, selectedItems: new Set(), allItems: null, itemListUpToDate: false, focusedItem: null, prevFocusedItem: null, hasBranchItem: false, rootElement: null, activeItem: null,
|
|
12352
|
+
"default": "{ isShiftPressed: false, selectedItems: new Set(), allItems: null, itemListUpToDate: false, focusedItem: null, prevFocusedItem: null, hasBranchItem: false, rootElement: null, activeItem: null, }"
|
|
12316
12353
|
},
|
|
12317
12354
|
{
|
|
12318
12355
|
"kind": "field",
|
|
@@ -12450,6 +12487,19 @@
|
|
|
12450
12487
|
}
|
|
12451
12488
|
]
|
|
12452
12489
|
},
|
|
12490
|
+
{
|
|
12491
|
+
"kind": "method",
|
|
12492
|
+
"name": "_handleIconSlotChange",
|
|
12493
|
+
"privacy": "private",
|
|
12494
|
+
"parameters": [
|
|
12495
|
+
{
|
|
12496
|
+
"name": "ev",
|
|
12497
|
+
"type": {
|
|
12498
|
+
"text": "Event"
|
|
12499
|
+
}
|
|
12500
|
+
}
|
|
12501
|
+
]
|
|
12502
|
+
},
|
|
12453
12503
|
{
|
|
12454
12504
|
"kind": "field",
|
|
12455
12505
|
"name": "version",
|