@vscode-elements/elements 2.0.1 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1947,7 +1947,7 @@
1947
1947
  "type": {
1948
1948
  "text": "CSSResultGroup"
1949
1949
  },
1950
- "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; } `, ]"
1950
+ "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.always-visible, .collapsible.open:hover .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; } `, ]"
1951
1951
  }
1952
1952
  ],
1953
1953
  "exports": [
@@ -2022,6 +2022,17 @@
2022
2022
  }
2023
2023
  ],
2024
2024
  "members": [
2025
+ {
2026
+ "kind": "field",
2027
+ "name": "alwaysShowHeaderActions",
2028
+ "type": {
2029
+ "text": "boolean"
2030
+ },
2031
+ "default": "false",
2032
+ "description": "When enabled, header actions are always visible; otherwise, they appear only when the cursor\nhovers over the component. Actions are shown only when the Collapsible component is open. This\nproperty is designed to use the `workbench.view.alwaysShowHeaderActions` setting.",
2033
+ "attribute": "always-show-header-actions",
2034
+ "reflects": true
2035
+ },
2025
2036
  {
2026
2037
  "kind": "field",
2027
2038
  "name": "title",
@@ -2110,6 +2121,15 @@
2110
2121
  }
2111
2122
  ],
2112
2123
  "attributes": [
2124
+ {
2125
+ "name": "always-show-header-actions",
2126
+ "type": {
2127
+ "text": "boolean"
2128
+ },
2129
+ "default": "false",
2130
+ "description": "When enabled, header actions are always visible; otherwise, they appear only when the cursor\nhovers over the component. Actions are shown only when the Collapsible component is open. This\nproperty is designed to use the `workbench.view.alwaysShowHeaderActions` setting.",
2131
+ "fieldName": "alwaysShowHeaderActions"
2132
+ },
2113
2133
  {
2114
2134
  "name": "title",
2115
2135
  "type": {
@@ -3169,7 +3189,7 @@
3169
3189
  },
3170
3190
  {
3171
3191
  "kind": "javascript-module",
3172
- "path": "src/vscode-label/vscode-label.styles.ts",
3192
+ "path": "src/vscode-icon/vscode-icon.styles.ts",
3173
3193
  "declarations": [
3174
3194
  {
3175
3195
  "kind": "variable",
@@ -3177,7 +3197,7 @@
3177
3197
  "type": {
3178
3198
  "text": "CSSResultGroup"
3179
3199
  },
3180
- "default": "[ defaultStyles, css` :host { display: block; } .wrapper { color: var(--vscode-foreground, #cccccc); cursor: default; display: block; font-family: var(--vscode-font-family, sans-serif); font-size: var(--vscode-font-size, 13px); font-weight: 600; line-height: ${INPUT_LINE_HEIGHT_RATIO}; padding: 5px 0; } .wrapper.required:after { content: ' *'; } ::slotted(.normal) { font-weight: normal; } ::slotted(.lightened) { color: var(--vscode-foreground, #cccccc); opacity: 0.9; } `, ]"
3200
+ "default": "[ defaultStyles, css` :host { color: var(--vscode-icon-foreground, #cccccc); display: inline-block; } .codicon[class*='codicon-'] { display: block; } .icon, .button { background-color: transparent; display: block; padding: 0; } .button { border-color: transparent; border-style: solid; border-width: 1px; border-radius: 5px; color: currentColor; cursor: pointer; padding: 2px; } .button:hover { background-color: var( --vscode-toolbar-hoverBackground, rgba(90, 93, 94, 0.31) ); } .button:active { background-color: var( --vscode-toolbar-activeBackground, rgba(99, 102, 103, 0.31) ); } .button:focus { outline: none; } .button:focus-visible { border-color: var(--vscode-focusBorder, #0078d4); } @keyframes icon-spin { 100% { transform: rotate(360deg); } } .spin { animation-name: icon-spin; animation-timing-function: linear; animation-iteration-count: infinite; } `, ]"
3181
3201
  }
3182
3202
  ],
3183
3203
  "exports": [
@@ -3186,101 +3206,136 @@
3186
3206
  "name": "default",
3187
3207
  "declaration": {
3188
3208
  "name": "styles",
3189
- "module": "src/vscode-label/vscode-label.styles.ts"
3209
+ "module": "src/vscode-icon/vscode-icon.styles.ts"
3190
3210
  }
3191
3211
  }
3192
3212
  ]
3193
3213
  },
3194
3214
  {
3195
3215
  "kind": "javascript-module",
3196
- "path": "src/vscode-label/vscode-label.ts",
3216
+ "path": "src/vscode-icon/vscode-icon.ts",
3197
3217
  "declarations": [
3198
3218
  {
3199
3219
  "kind": "class",
3200
- "description": "",
3201
- "name": "VscodeLabel",
3220
+ "description": "Display a [Codicon](https://microsoft.github.io/vscode-codicons/dist/codicon.html).\nIn \"action-icon\" mode it behaves like a button. In this case, it is\nrecommended that a meaningful label is specified with the `label` property.",
3221
+ "name": "VscodeIcon",
3202
3222
  "cssProperties": [
3203
3223
  {
3204
- "name": "--vscode-font-family",
3205
- "default": "sans-serif"
3224
+ "name": "--vscode-icon-foreground",
3225
+ "default": "#cccccc"
3206
3226
  },
3207
3227
  {
3208
- "name": "--vscode-font-size",
3209
- "default": "13px"
3228
+ "description": "Hover state background color in `active-icon` mode",
3229
+ "name": "--vscode-toolbar-hoverBackground",
3230
+ "default": "rgba(90, 93, 94, 0.31)"
3210
3231
  },
3211
3232
  {
3212
- "name": "--vscode-foreground",
3213
- "default": "#cccccc"
3233
+ "description": "Active state background color in `active-icon` mode",
3234
+ "name": "--vscode-toolbar-activeBackground",
3235
+ "default": "rgba(99, 102, 103, 0.31)"
3236
+ },
3237
+ {
3238
+ "name": "--vscode-focusBorder",
3239
+ "default": "#0078d4"
3214
3240
  }
3215
3241
  ],
3216
3242
  "members": [
3217
3243
  {
3218
3244
  "kind": "field",
3219
- "name": "htmlFor",
3245
+ "name": "label",
3220
3246
  "type": {
3221
3247
  "text": "string"
3222
3248
  },
3223
- "attribute": "for",
3224
- "reflects": true
3249
+ "default": "''",
3250
+ "description": "Set a meaningful label in `action-icon` mode for the screen readers",
3251
+ "attribute": "label"
3225
3252
  },
3226
3253
  {
3227
3254
  "kind": "field",
3228
- "name": "id",
3255
+ "name": "name",
3229
3256
  "type": {
3230
3257
  "text": "string"
3231
3258
  },
3232
- "attribute": "id"
3259
+ "default": "''",
3260
+ "description": "[Codicon](https://microsoft.github.io/vscode-codicons/dist/codicon.html) icon name.",
3261
+ "attribute": "name"
3233
3262
  },
3234
3263
  {
3235
3264
  "kind": "field",
3236
- "name": "required",
3265
+ "name": "size",
3266
+ "type": {
3267
+ "text": "number"
3268
+ },
3269
+ "default": "16",
3270
+ "description": "Icon size in pixels",
3271
+ "attribute": "size"
3272
+ },
3273
+ {
3274
+ "kind": "field",
3275
+ "name": "spin",
3237
3276
  "type": {
3238
3277
  "text": "boolean"
3239
3278
  },
3240
3279
  "default": "false",
3241
- "attribute": "required",
3280
+ "description": "Enable rotation animation",
3281
+ "attribute": "spin",
3242
3282
  "reflects": true
3243
3283
  },
3244
3284
  {
3245
3285
  "kind": "field",
3246
- "name": "_id",
3286
+ "name": "spinDuration",
3247
3287
  "type": {
3248
- "text": "string"
3288
+ "text": "number"
3249
3289
  },
3250
- "privacy": "private",
3251
- "default": "''"
3290
+ "default": "1.5",
3291
+ "description": "Animation duration in seconds",
3292
+ "attribute": "spin-duration"
3252
3293
  },
3253
3294
  {
3254
3295
  "kind": "field",
3255
- "name": "_htmlFor",
3296
+ "name": "actionIcon",
3256
3297
  "type": {
3257
- "text": "string"
3298
+ "text": "boolean"
3258
3299
  },
3259
- "privacy": "private",
3260
- "default": "''"
3300
+ "default": "false",
3301
+ "description": "Behaves like a button",
3302
+ "attribute": "action-icon",
3303
+ "reflects": true
3261
3304
  },
3262
3305
  {
3263
3306
  "kind": "field",
3264
- "name": "_connected",
3307
+ "name": "stylesheetHref",
3265
3308
  "type": {
3266
- "text": "boolean"
3309
+ "text": "string | undefined"
3267
3310
  },
3268
3311
  "privacy": "private",
3269
- "default": "false"
3312
+ "static": true,
3313
+ "default": "''"
3270
3314
  },
3271
3315
  {
3272
- "kind": "method",
3273
- "name": "_getTarget",
3274
- "privacy": "private"
3316
+ "kind": "field",
3317
+ "name": "nonce",
3318
+ "type": {
3319
+ "text": "string | undefined"
3320
+ },
3321
+ "privacy": "private",
3322
+ "static": true,
3323
+ "default": "''"
3275
3324
  },
3276
3325
  {
3277
3326
  "kind": "method",
3278
- "name": "_connectWithTarget",
3279
- "privacy": "private"
3327
+ "name": "_getStylesheetConfig",
3328
+ "privacy": "private",
3329
+ "return": {
3330
+ "type": {
3331
+ "text": "{\n href: string | undefined;\n nonce: string | undefined;\n }"
3332
+ }
3333
+ },
3334
+ "description": "For using web fonts in web components, the font stylesheet must be included\ntwice: on the page and in the web component. This function looks for the\nfont stylesheet on the page and returns the stylesheet URL and the nonce\nid."
3280
3335
  },
3281
3336
  {
3282
- "kind": "method",
3283
- "name": "_handleClick",
3337
+ "kind": "field",
3338
+ "name": "_onButtonClick",
3284
3339
  "privacy": "private"
3285
3340
  },
3286
3341
  {
@@ -3299,110 +3354,318 @@
3299
3354
  ],
3300
3355
  "attributes": [
3301
3356
  {
3302
- "name": "for",
3357
+ "name": "label",
3303
3358
  "type": {
3304
3359
  "text": "string"
3305
3360
  },
3306
- "fieldName": "htmlFor"
3361
+ "default": "''",
3362
+ "description": "Set a meaningful label in `action-icon` mode for the screen readers",
3363
+ "fieldName": "label"
3307
3364
  },
3308
3365
  {
3309
- "name": "id",
3366
+ "name": "name",
3310
3367
  "type": {
3311
3368
  "text": "string"
3312
3369
  },
3313
- "fieldName": "id"
3370
+ "default": "''",
3371
+ "description": "[Codicon](https://microsoft.github.io/vscode-codicons/dist/codicon.html) icon name.",
3372
+ "fieldName": "name"
3314
3373
  },
3315
3374
  {
3316
- "name": "required",
3375
+ "name": "size",
3376
+ "type": {
3377
+ "text": "number"
3378
+ },
3379
+ "default": "16",
3380
+ "description": "Icon size in pixels",
3381
+ "fieldName": "size"
3382
+ },
3383
+ {
3384
+ "name": "spin",
3317
3385
  "type": {
3318
3386
  "text": "boolean"
3319
3387
  },
3320
3388
  "default": "false",
3321
- "fieldName": "required"
3389
+ "description": "Enable rotation animation",
3390
+ "fieldName": "spin"
3391
+ },
3392
+ {
3393
+ "name": "spin-duration",
3394
+ "type": {
3395
+ "text": "number"
3396
+ },
3397
+ "default": "1.5",
3398
+ "description": "Animation duration in seconds",
3399
+ "fieldName": "spinDuration"
3400
+ },
3401
+ {
3402
+ "name": "action-icon",
3403
+ "type": {
3404
+ "text": "boolean"
3405
+ },
3406
+ "default": "false",
3407
+ "description": "Behaves like a button",
3408
+ "fieldName": "actionIcon"
3322
3409
  }
3323
3410
  ],
3324
3411
  "superclass": {
3325
3412
  "name": "VscElement",
3326
3413
  "module": "/src/includes/VscElement.js"
3327
3414
  },
3328
- "tagName": "vscode-label",
3415
+ "tagName": "vscode-icon",
3329
3416
  "customElement": true
3330
3417
  }
3331
3418
  ],
3332
3419
  "exports": [
3333
3420
  {
3334
3421
  "kind": "js",
3335
- "name": "VscodeLabel",
3422
+ "name": "VscodeIcon",
3336
3423
  "declaration": {
3337
- "name": "VscodeLabel",
3338
- "module": "src/vscode-label/vscode-label.ts"
3424
+ "name": "VscodeIcon",
3425
+ "module": "src/vscode-icon/vscode-icon.ts"
3339
3426
  }
3340
3427
  },
3341
3428
  {
3342
3429
  "kind": "custom-element-definition",
3343
- "name": "vscode-label",
3430
+ "name": "vscode-icon",
3344
3431
  "declaration": {
3345
- "name": "VscodeLabel",
3346
- "module": "src/vscode-label/vscode-label.ts"
3432
+ "name": "VscodeIcon",
3433
+ "module": "src/vscode-icon/vscode-icon.ts"
3347
3434
  }
3348
3435
  }
3349
3436
  ]
3350
3437
  },
3351
3438
  {
3352
3439
  "kind": "javascript-module",
3353
- "path": "src/vscode-multi-select/vscode-multi-select.styles.ts",
3354
- "declarations": [],
3440
+ "path": "src/vscode-label/vscode-label.styles.ts",
3441
+ "declarations": [
3442
+ {
3443
+ "kind": "variable",
3444
+ "name": "styles",
3445
+ "type": {
3446
+ "text": "CSSResultGroup"
3447
+ },
3448
+ "default": "[ defaultStyles, css` :host { display: block; } .wrapper { color: var(--vscode-foreground, #cccccc); cursor: default; display: block; font-family: var(--vscode-font-family, sans-serif); font-size: var(--vscode-font-size, 13px); font-weight: 600; line-height: ${INPUT_LINE_HEIGHT_RATIO}; padding: 5px 0; } .wrapper.required:after { content: ' *'; } ::slotted(.normal) { font-weight: normal; } ::slotted(.lightened) { color: var(--vscode-foreground, #cccccc); opacity: 0.9; } `, ]"
3449
+ }
3450
+ ],
3355
3451
  "exports": [
3356
3452
  {
3357
3453
  "kind": "js",
3358
3454
  "name": "default",
3359
3455
  "declaration": {
3360
3456
  "name": "styles",
3361
- "module": "src/vscode-multi-select/vscode-multi-select.styles.ts"
3457
+ "module": "src/vscode-label/vscode-label.styles.ts"
3362
3458
  }
3363
3459
  }
3364
3460
  ]
3365
3461
  },
3366
3462
  {
3367
3463
  "kind": "javascript-module",
3368
- "path": "src/vscode-multi-select/vscode-multi-select.ts",
3464
+ "path": "src/vscode-label/vscode-label.ts",
3369
3465
  "declarations": [
3370
3466
  {
3371
3467
  "kind": "class",
3372
- "description": "Allows to select multiple items from a list of options.\n\nWhen participating in a form, it supports the `:invalid` pseudo class. Otherwise the error styles\ncan be applied through the `invalid` property.",
3373
- "name": "VscodeMultiSelect",
3468
+ "description": "",
3469
+ "name": "VscodeLabel",
3374
3470
  "cssProperties": [
3375
3471
  {
3376
- "description": "workaround for dropdown z-index issues",
3377
- "name": "--dropdown-z-index",
3378
- "default": "2",
3379
- "inheritedFrom": {
3380
- "name": "VscodeSelectBase",
3381
- "module": "src/includes/vscode-select/vscode-select-base.ts"
3382
- }
3472
+ "name": "--vscode-font-family",
3473
+ "default": "sans-serif"
3383
3474
  },
3384
3475
  {
3385
- "name": "--vscode-badge-background",
3386
- "default": "#616161"
3476
+ "name": "--vscode-font-size",
3477
+ "default": "13px"
3387
3478
  },
3388
3479
  {
3389
- "name": "--vscode-badge-foreground",
3390
- "default": "#f8f8f8"
3480
+ "name": "--vscode-foreground",
3481
+ "default": "#cccccc"
3482
+ }
3483
+ ],
3484
+ "members": [
3485
+ {
3486
+ "kind": "field",
3487
+ "name": "htmlFor",
3488
+ "type": {
3489
+ "text": "string"
3490
+ },
3491
+ "attribute": "for",
3492
+ "reflects": true
3391
3493
  },
3392
3494
  {
3393
- "name": "--vscode-settings-dropdownBorder",
3394
- "default": "#3c3c3c"
3495
+ "kind": "field",
3496
+ "name": "id",
3497
+ "type": {
3498
+ "text": "string"
3499
+ },
3500
+ "attribute": "id"
3395
3501
  },
3396
3502
  {
3397
- "name": "--vscode-settings-checkboxBackground",
3398
- "default": "#313131"
3503
+ "kind": "field",
3504
+ "name": "required",
3505
+ "type": {
3506
+ "text": "boolean"
3507
+ },
3508
+ "default": "false",
3509
+ "attribute": "required",
3510
+ "reflects": true
3399
3511
  },
3400
3512
  {
3401
- "name": "--vscode-settings-dropdownBackground",
3402
- "default": "#313131"
3513
+ "kind": "field",
3514
+ "name": "_id",
3515
+ "type": {
3516
+ "text": "string"
3517
+ },
3518
+ "privacy": "private",
3519
+ "default": "''"
3403
3520
  },
3404
3521
  {
3405
- "name": "--vscode-settings-dropdownForeground",
3522
+ "kind": "field",
3523
+ "name": "_htmlFor",
3524
+ "type": {
3525
+ "text": "string"
3526
+ },
3527
+ "privacy": "private",
3528
+ "default": "''"
3529
+ },
3530
+ {
3531
+ "kind": "field",
3532
+ "name": "_connected",
3533
+ "type": {
3534
+ "text": "boolean"
3535
+ },
3536
+ "privacy": "private",
3537
+ "default": "false"
3538
+ },
3539
+ {
3540
+ "kind": "method",
3541
+ "name": "_getTarget",
3542
+ "privacy": "private"
3543
+ },
3544
+ {
3545
+ "kind": "method",
3546
+ "name": "_connectWithTarget",
3547
+ "privacy": "private"
3548
+ },
3549
+ {
3550
+ "kind": "method",
3551
+ "name": "_handleClick",
3552
+ "privacy": "private"
3553
+ },
3554
+ {
3555
+ "kind": "field",
3556
+ "name": "version",
3557
+ "type": {
3558
+ "text": "string"
3559
+ },
3560
+ "description": "VSCode Elements version",
3561
+ "readonly": true,
3562
+ "inheritedFrom": {
3563
+ "name": "VscElement",
3564
+ "module": "src/includes/VscElement.ts"
3565
+ }
3566
+ }
3567
+ ],
3568
+ "attributes": [
3569
+ {
3570
+ "name": "for",
3571
+ "type": {
3572
+ "text": "string"
3573
+ },
3574
+ "fieldName": "htmlFor"
3575
+ },
3576
+ {
3577
+ "name": "id",
3578
+ "type": {
3579
+ "text": "string"
3580
+ },
3581
+ "fieldName": "id"
3582
+ },
3583
+ {
3584
+ "name": "required",
3585
+ "type": {
3586
+ "text": "boolean"
3587
+ },
3588
+ "default": "false",
3589
+ "fieldName": "required"
3590
+ }
3591
+ ],
3592
+ "superclass": {
3593
+ "name": "VscElement",
3594
+ "module": "/src/includes/VscElement.js"
3595
+ },
3596
+ "tagName": "vscode-label",
3597
+ "customElement": true
3598
+ }
3599
+ ],
3600
+ "exports": [
3601
+ {
3602
+ "kind": "js",
3603
+ "name": "VscodeLabel",
3604
+ "declaration": {
3605
+ "name": "VscodeLabel",
3606
+ "module": "src/vscode-label/vscode-label.ts"
3607
+ }
3608
+ },
3609
+ {
3610
+ "kind": "custom-element-definition",
3611
+ "name": "vscode-label",
3612
+ "declaration": {
3613
+ "name": "VscodeLabel",
3614
+ "module": "src/vscode-label/vscode-label.ts"
3615
+ }
3616
+ }
3617
+ ]
3618
+ },
3619
+ {
3620
+ "kind": "javascript-module",
3621
+ "path": "src/vscode-multi-select/vscode-multi-select.styles.ts",
3622
+ "declarations": [],
3623
+ "exports": [
3624
+ {
3625
+ "kind": "js",
3626
+ "name": "default",
3627
+ "declaration": {
3628
+ "name": "styles",
3629
+ "module": "src/vscode-multi-select/vscode-multi-select.styles.ts"
3630
+ }
3631
+ }
3632
+ ]
3633
+ },
3634
+ {
3635
+ "kind": "javascript-module",
3636
+ "path": "src/vscode-multi-select/vscode-multi-select.ts",
3637
+ "declarations": [
3638
+ {
3639
+ "kind": "class",
3640
+ "description": "Allows to select multiple items from a list of options.\n\nWhen participating in a form, it supports the `:invalid` pseudo class. Otherwise the error styles\ncan be applied through the `invalid` property.",
3641
+ "name": "VscodeMultiSelect",
3642
+ "cssProperties": [
3643
+ {
3644
+ "name": "--dropdown-z-index",
3645
+ "default": "2"
3646
+ },
3647
+ {
3648
+ "name": "--vscode-badge-background",
3649
+ "default": "#616161"
3650
+ },
3651
+ {
3652
+ "name": "--vscode-badge-foreground",
3653
+ "default": "#f8f8f8"
3654
+ },
3655
+ {
3656
+ "name": "--vscode-settings-dropdownBorder",
3657
+ "default": "#3c3c3c"
3658
+ },
3659
+ {
3660
+ "name": "--vscode-settings-checkboxBackground",
3661
+ "default": "#313131"
3662
+ },
3663
+ {
3664
+ "name": "--vscode-settings-dropdownBackground",
3665
+ "default": "#313131"
3666
+ },
3667
+ {
3668
+ "name": "--vscode-settings-dropdownForeground",
3406
3669
  "default": "#cccccc"
3407
3670
  },
3408
3671
  {
@@ -3957,6 +4220,18 @@
3957
4220
  "module": "src/includes/vscode-select/vscode-select-base.ts"
3958
4221
  }
3959
4222
  },
4223
+ {
4224
+ "kind": "field",
4225
+ "name": "_dropdownEl",
4226
+ "type": {
4227
+ "text": "HTMLDivElement"
4228
+ },
4229
+ "privacy": "private",
4230
+ "inheritedFrom": {
4231
+ "name": "VscodeSelectBase",
4232
+ "module": "src/includes/vscode-select/vscode-select-base.ts"
4233
+ }
4234
+ },
3960
4235
  {
3961
4236
  "kind": "field",
3962
4237
  "name": "_opts",
@@ -4219,9 +4494,17 @@
4219
4494
  }
4220
4495
  },
4221
4496
  {
4222
- "kind": "field",
4223
- "name": "_onClickOutside",
4497
+ "kind": "method",
4498
+ "name": "_handleDropdownToggle",
4224
4499
  "privacy": "private",
4500
+ "parameters": [
4501
+ {
4502
+ "name": "event",
4503
+ "type": {
4504
+ "text": "ToggleEvent"
4505
+ }
4506
+ }
4507
+ ],
4225
4508
  "inheritedFrom": {
4226
4509
  "name": "VscodeSelectBase",
4227
4510
  "module": "src/includes/vscode-select/vscode-select-base.ts"
@@ -4486,6 +4769,15 @@
4486
4769
  "module": "src/includes/vscode-select/vscode-select-base.ts"
4487
4770
  }
4488
4771
  },
4772
+ {
4773
+ "kind": "field",
4774
+ "name": "_handleWindowScroll",
4775
+ "privacy": "private",
4776
+ "inheritedFrom": {
4777
+ "name": "VscodeSelectBase",
4778
+ "module": "src/includes/vscode-select/vscode-select-base.ts"
4779
+ }
4780
+ },
4489
4781
  {
4490
4782
  "kind": "method",
4491
4783
  "name": "_renderCheckbox",
@@ -4780,321 +5072,73 @@
4780
5072
  },
4781
5073
  {
4782
5074
  "kind": "javascript-module",
4783
- "path": "src/vscode-icon/vscode-icon.styles.ts",
4784
- "declarations": [
4785
- {
4786
- "kind": "variable",
4787
- "name": "styles",
4788
- "type": {
4789
- "text": "CSSResultGroup"
4790
- },
4791
- "default": "[ defaultStyles, css` :host { color: var(--vscode-icon-foreground, #cccccc); display: inline-block; } .codicon[class*='codicon-'] { display: block; } .icon, .button { background-color: transparent; display: block; padding: 0; } .button { border-color: transparent; border-style: solid; border-width: 1px; border-radius: 5px; color: currentColor; cursor: pointer; padding: 2px; } .button:hover { background-color: var( --vscode-toolbar-hoverBackground, rgba(90, 93, 94, 0.31) ); } .button:active { background-color: var( --vscode-toolbar-activeBackground, rgba(99, 102, 103, 0.31) ); } .button:focus { outline: none; } .button:focus-visible { border-color: var(--vscode-focusBorder, #0078d4); } @keyframes icon-spin { 100% { transform: rotate(360deg); } } .spin { animation-name: icon-spin; animation-timing-function: linear; animation-iteration-count: infinite; } `, ]"
4792
- }
4793
- ],
5075
+ "path": "src/vscode-option/vscode-option.styles.ts",
5076
+ "declarations": [],
4794
5077
  "exports": [
4795
5078
  {
4796
5079
  "kind": "js",
4797
5080
  "name": "default",
4798
5081
  "declaration": {
4799
5082
  "name": "styles",
4800
- "module": "src/vscode-icon/vscode-icon.styles.ts"
5083
+ "module": "src/vscode-option/vscode-option.styles.ts"
4801
5084
  }
4802
5085
  }
4803
5086
  ]
4804
5087
  },
4805
5088
  {
4806
5089
  "kind": "javascript-module",
4807
- "path": "src/vscode-icon/vscode-icon.ts",
5090
+ "path": "src/vscode-option/vscode-option.ts",
4808
5091
  "declarations": [
4809
5092
  {
4810
5093
  "kind": "class",
4811
- "description": "Display a [Codicon](https://microsoft.github.io/vscode-codicons/dist/codicon.html).\nIn \"action-icon\" mode it behaves like a button. In this case, it is\nrecommended that a meaningful label is specified with the `label` property.",
4812
- "name": "VscodeIcon",
4813
- "cssProperties": [
4814
- {
4815
- "name": "--vscode-icon-foreground",
4816
- "default": "#cccccc"
4817
- },
4818
- {
4819
- "description": "Hover state background color in `active-icon` mode",
4820
- "name": "--vscode-toolbar-hoverBackground",
4821
- "default": "rgba(90, 93, 94, 0.31)"
4822
- },
4823
- {
4824
- "description": "Active state background color in `active-icon` mode",
4825
- "name": "--vscode-toolbar-activeBackground",
4826
- "default": "rgba(99, 102, 103, 0.31)"
4827
- },
4828
- {
4829
- "name": "--vscode-focusBorder",
4830
- "default": "#0078d4"
4831
- }
4832
- ],
5094
+ "description": "",
5095
+ "name": "VscodeOption",
4833
5096
  "members": [
4834
5097
  {
4835
5098
  "kind": "field",
4836
- "name": "label",
5099
+ "name": "value",
4837
5100
  "type": {
4838
- "text": "string"
5101
+ "text": "string | undefined | undefined"
4839
5102
  },
4840
- "default": "''",
4841
- "description": "Set a meaningful label in `action-icon` mode for the screen readers",
4842
- "attribute": "label"
5103
+ "attribute": "value"
4843
5104
  },
4844
5105
  {
4845
5106
  "kind": "field",
4846
- "name": "name",
5107
+ "name": "description",
4847
5108
  "type": {
4848
5109
  "text": "string"
4849
5110
  },
4850
5111
  "default": "''",
4851
- "description": "[Codicon](https://microsoft.github.io/vscode-codicons/dist/codicon.html) icon name.",
4852
- "attribute": "name"
5112
+ "attribute": "description"
4853
5113
  },
4854
5114
  {
4855
5115
  "kind": "field",
4856
- "name": "size",
5116
+ "name": "selected",
4857
5117
  "type": {
4858
- "text": "number"
5118
+ "text": "boolean"
4859
5119
  },
4860
- "default": "16",
4861
- "description": "Icon size in pixels",
4862
- "attribute": "size"
5120
+ "default": "false",
5121
+ "attribute": "selected",
5122
+ "reflects": true
4863
5123
  },
4864
5124
  {
4865
5125
  "kind": "field",
4866
- "name": "spin",
5126
+ "name": "disabled",
4867
5127
  "type": {
4868
5128
  "text": "boolean"
4869
5129
  },
4870
5130
  "default": "false",
4871
- "description": "Enable rotation animation",
4872
- "attribute": "spin",
5131
+ "attribute": "disabled",
4873
5132
  "reflects": true
4874
5133
  },
4875
5134
  {
4876
5135
  "kind": "field",
4877
- "name": "spinDuration",
5136
+ "name": "_initialized",
4878
5137
  "type": {
4879
- "text": "number"
5138
+ "text": "boolean"
4880
5139
  },
4881
- "default": "1.5",
4882
- "description": "Animation duration in seconds",
4883
- "attribute": "spin-duration"
4884
- },
4885
- {
4886
- "kind": "field",
4887
- "name": "actionIcon",
4888
- "type": {
4889
- "text": "boolean"
4890
- },
4891
- "default": "false",
4892
- "description": "Behaves like a button",
4893
- "attribute": "action-icon",
4894
- "reflects": true
4895
- },
4896
- {
4897
- "kind": "field",
4898
- "name": "stylesheetHref",
4899
- "type": {
4900
- "text": "string | undefined"
4901
- },
4902
- "privacy": "private",
4903
- "static": true,
4904
- "default": "''"
4905
- },
4906
- {
4907
- "kind": "field",
4908
- "name": "nonce",
4909
- "type": {
4910
- "text": "string | undefined"
4911
- },
4912
- "privacy": "private",
4913
- "static": true,
4914
- "default": "''"
4915
- },
4916
- {
4917
- "kind": "method",
4918
- "name": "_getStylesheetConfig",
4919
- "privacy": "private",
4920
- "return": {
4921
- "type": {
4922
- "text": "{\n href: string | undefined;\n nonce: string | undefined;\n }"
4923
- }
4924
- },
4925
- "description": "For using web fonts in web components, the font stylesheet must be included\ntwice: on the page and in the web component. This function looks for the\nfont stylesheet on the page and returns the stylesheet URL and the nonce\nid."
4926
- },
4927
- {
4928
- "kind": "field",
4929
- "name": "_onButtonClick",
4930
- "privacy": "private"
4931
- },
4932
- {
4933
- "kind": "field",
4934
- "name": "version",
4935
- "type": {
4936
- "text": "string"
4937
- },
4938
- "description": "VSCode Elements version",
4939
- "readonly": true,
4940
- "inheritedFrom": {
4941
- "name": "VscElement",
4942
- "module": "src/includes/VscElement.ts"
4943
- }
4944
- }
4945
- ],
4946
- "attributes": [
4947
- {
4948
- "name": "label",
4949
- "type": {
4950
- "text": "string"
4951
- },
4952
- "default": "''",
4953
- "description": "Set a meaningful label in `action-icon` mode for the screen readers",
4954
- "fieldName": "label"
4955
- },
4956
- {
4957
- "name": "name",
4958
- "type": {
4959
- "text": "string"
4960
- },
4961
- "default": "''",
4962
- "description": "[Codicon](https://microsoft.github.io/vscode-codicons/dist/codicon.html) icon name.",
4963
- "fieldName": "name"
4964
- },
4965
- {
4966
- "name": "size",
4967
- "type": {
4968
- "text": "number"
4969
- },
4970
- "default": "16",
4971
- "description": "Icon size in pixels",
4972
- "fieldName": "size"
4973
- },
4974
- {
4975
- "name": "spin",
4976
- "type": {
4977
- "text": "boolean"
4978
- },
4979
- "default": "false",
4980
- "description": "Enable rotation animation",
4981
- "fieldName": "spin"
4982
- },
4983
- {
4984
- "name": "spin-duration",
4985
- "type": {
4986
- "text": "number"
4987
- },
4988
- "default": "1.5",
4989
- "description": "Animation duration in seconds",
4990
- "fieldName": "spinDuration"
4991
- },
4992
- {
4993
- "name": "action-icon",
4994
- "type": {
4995
- "text": "boolean"
4996
- },
4997
- "default": "false",
4998
- "description": "Behaves like a button",
4999
- "fieldName": "actionIcon"
5000
- }
5001
- ],
5002
- "superclass": {
5003
- "name": "VscElement",
5004
- "module": "/src/includes/VscElement.js"
5005
- },
5006
- "tagName": "vscode-icon",
5007
- "customElement": true
5008
- }
5009
- ],
5010
- "exports": [
5011
- {
5012
- "kind": "js",
5013
- "name": "VscodeIcon",
5014
- "declaration": {
5015
- "name": "VscodeIcon",
5016
- "module": "src/vscode-icon/vscode-icon.ts"
5017
- }
5018
- },
5019
- {
5020
- "kind": "custom-element-definition",
5021
- "name": "vscode-icon",
5022
- "declaration": {
5023
- "name": "VscodeIcon",
5024
- "module": "src/vscode-icon/vscode-icon.ts"
5025
- }
5026
- }
5027
- ]
5028
- },
5029
- {
5030
- "kind": "javascript-module",
5031
- "path": "src/vscode-option/vscode-option.styles.ts",
5032
- "declarations": [],
5033
- "exports": [
5034
- {
5035
- "kind": "js",
5036
- "name": "default",
5037
- "declaration": {
5038
- "name": "styles",
5039
- "module": "src/vscode-option/vscode-option.styles.ts"
5040
- }
5041
- }
5042
- ]
5043
- },
5044
- {
5045
- "kind": "javascript-module",
5046
- "path": "src/vscode-option/vscode-option.ts",
5047
- "declarations": [
5048
- {
5049
- "kind": "class",
5050
- "description": "",
5051
- "name": "VscodeOption",
5052
- "members": [
5053
- {
5054
- "kind": "field",
5055
- "name": "value",
5056
- "type": {
5057
- "text": "string | undefined | undefined"
5058
- },
5059
- "attribute": "value"
5060
- },
5061
- {
5062
- "kind": "field",
5063
- "name": "description",
5064
- "type": {
5065
- "text": "string"
5066
- },
5067
- "default": "''",
5068
- "attribute": "description"
5069
- },
5070
- {
5071
- "kind": "field",
5072
- "name": "selected",
5073
- "type": {
5074
- "text": "boolean"
5075
- },
5076
- "default": "false",
5077
- "attribute": "selected",
5078
- "reflects": true
5079
- },
5080
- {
5081
- "kind": "field",
5082
- "name": "disabled",
5083
- "type": {
5084
- "text": "boolean"
5085
- },
5086
- "default": "false",
5087
- "attribute": "disabled",
5088
- "reflects": true
5089
- },
5090
- {
5091
- "kind": "field",
5092
- "name": "_initialized",
5093
- "type": {
5094
- "text": "boolean"
5095
- },
5096
- "privacy": "private",
5097
- "default": "false"
5140
+ "privacy": "private",
5141
+ "default": "false"
5098
5142
  },
5099
5143
  {
5100
5144
  "kind": "field",
@@ -6603,13 +6647,8 @@
6603
6647
  "name": "VscodeSingleSelect",
6604
6648
  "cssProperties": [
6605
6649
  {
6606
- "description": "workaround for dropdown z-index issues",
6607
6650
  "name": "--dropdown-z-index",
6608
- "default": "2",
6609
- "inheritedFrom": {
6610
- "name": "VscodeSelectBase",
6611
- "module": "src/includes/vscode-select/vscode-select-base.ts"
6612
- }
6651
+ "default": "2"
6613
6652
  },
6614
6653
  {
6615
6654
  "name": "--vscode-badge-background",
@@ -7093,6 +7132,18 @@
7093
7132
  "module": "src/includes/vscode-select/vscode-select-base.ts"
7094
7133
  }
7095
7134
  },
7135
+ {
7136
+ "kind": "field",
7137
+ "name": "_dropdownEl",
7138
+ "type": {
7139
+ "text": "HTMLDivElement"
7140
+ },
7141
+ "privacy": "private",
7142
+ "inheritedFrom": {
7143
+ "name": "VscodeSelectBase",
7144
+ "module": "src/includes/vscode-select/vscode-select-base.ts"
7145
+ }
7146
+ },
7096
7147
  {
7097
7148
  "kind": "field",
7098
7149
  "name": "_opts",
@@ -7383,9 +7434,17 @@
7383
7434
  }
7384
7435
  },
7385
7436
  {
7386
- "kind": "field",
7387
- "name": "_onClickOutside",
7437
+ "kind": "method",
7438
+ "name": "_handleDropdownToggle",
7388
7439
  "privacy": "private",
7440
+ "parameters": [
7441
+ {
7442
+ "name": "event",
7443
+ "type": {
7444
+ "text": "ToggleEvent"
7445
+ }
7446
+ }
7447
+ ],
7389
7448
  "inheritedFrom": {
7390
7449
  "name": "VscodeSelectBase",
7391
7450
  "module": "src/includes/vscode-select/vscode-select-base.ts"
@@ -7650,6 +7709,15 @@
7650
7709
  "module": "src/includes/vscode-select/vscode-select-base.ts"
7651
7710
  }
7652
7711
  },
7712
+ {
7713
+ "kind": "field",
7714
+ "name": "_handleWindowScroll",
7715
+ "privacy": "private",
7716
+ "inheritedFrom": {
7717
+ "name": "VscodeSelectBase",
7718
+ "module": "src/includes/vscode-select/vscode-select-base.ts"
7719
+ }
7720
+ },
7653
7721
  {
7654
7722
  "kind": "method",
7655
7723
  "name": "_renderCheckbox",
@@ -7965,7 +8033,7 @@
7965
8033
  },
7966
8034
  {
7967
8035
  "kind": "javascript-module",
7968
- "path": "src/vscode-tab-header/vscode-tab-header.styles.ts",
8036
+ "path": "src/vscode-split-layout/vscode-split-layout.styles.ts",
7969
8037
  "declarations": [
7970
8038
  {
7971
8039
  "kind": "variable",
@@ -7973,7 +8041,7 @@
7973
8041
  "type": {
7974
8042
  "text": "CSSResultGroup"
7975
8043
  },
7976
- "default": "[ defaultStyles, css` :host { cursor: pointer; display: block; user-select: none; } .wrapper { align-items: center; border-bottom: 1px solid transparent; color: var(--vscode-foreground, #cccccc); display: flex; min-height: 20px; overflow: hidden; padding: 7px 8px; position: relative; text-overflow: ellipsis; white-space: nowrap; } :host([active]) .wrapper { border-bottom-color: var(--vscode-panelTitle-activeForeground, #cccccc); color: var(--vscode-panelTitle-activeForeground, #cccccc); } :host([panel]) .wrapper { border-bottom: 0; margin-bottom: 0; padding: 0; } :host(:focus-visible) { outline: none; } .wrapper { align-items: center; color: var(--vscode-foreground, #cccccc); display: flex; min-height: 20px; overflow: inherit; text-overflow: inherit; position: relative; } .wrapper.panel { color: var(--vscode-panelTitle-inactiveForeground, #9d9d9d); } .wrapper.panel.active, .wrapper.panel:hover { color: var(--vscode-panelTitle-activeForeground, #cccccc); } :host([panel]) .wrapper { display: flex; font-size: 11px; height: 31px; padding: 2px 10px; text-transform: uppercase; } .main { overflow: inherit; text-overflow: inherit; } .active-indicator { display: none; } .active-indicator.panel.active { border-top: 1px solid var(--vscode-panelTitle-activeBorder, #0078d4); bottom: 4px; display: block; left: 8px; pointer-events: none; position: absolute; right: 8px; } :host(:focus-visible) .wrapper { outline-color: var(--vscode-focusBorder, #0078d4); outline-offset: 3px; outline-style: solid; outline-width: 1px; } :host(:focus-visible) .wrapper.panel { outline-offset: -2px; } slot[name='content-before']::slotted(vscode-badge) { margin-right: 8px; } slot[name='content-after']::slotted(vscode-badge) { margin-left: 8px; } `, ]"
8044
+ "default": "[ defaultStyles, css` :host { --separator-border: var(--vscode-editorWidget-border, #454545); border: 1px solid var(--vscode-editorWidget-border, #454545); display: block; overflow: hidden; position: relative; } ::slotted(*) { height: 100%; width: 100%; } ::slotted(vscode-split-layout) { border: 0; } .wrapper { display: flex; height: 100%; width: 100%; } .wrapper.horizontal { flex-direction: column; } .start { box-sizing: border-box; flex: 1; min-height: 0; min-width: 0; } :host([split='vertical']) .start { border-right: 1px solid var(--separator-border); } :host([split='horizontal']) .start { border-bottom: 1px solid var(--separator-border); } .end { flex: 1; min-height: 0; min-width: 0; } :host([split='vertical']) .start, :host([split='vertical']) .end { height: 100%; } :host([split='horizontal']) .start, :host([split='horizontal']) .end { width: 100%; } .handle-overlay { display: none; height: 100%; left: 0; position: absolute; top: 0; width: 100%; z-index: 1; } .handle-overlay.active { display: block; } .handle-overlay.split-vertical { cursor: ew-resize; } .handle-overlay.split-horizontal { cursor: ns-resize; } .handle { background-color: transparent; position: absolute; z-index: 2; } .handle.hover { transition: background-color 0.1s ease-out 0.3s; background-color: var(--vscode-sash-hoverBorder, #0078d4); } .handle.hide { background-color: transparent; transition: background-color 0.1s ease-out; } .handle.split-vertical { cursor: ew-resize; height: 100%; } .handle.split-horizontal { cursor: ns-resize; width: 100%; } `, ]"
7977
8045
  }
7978
8046
  ],
7979
8047
  "exports": [
@@ -7982,1820 +8050,1708 @@
7982
8050
  "name": "default",
7983
8051
  "declaration": {
7984
8052
  "name": "styles",
7985
- "module": "src/vscode-tab-header/vscode-tab-header.styles.ts"
8053
+ "module": "src/vscode-split-layout/vscode-split-layout.styles.ts"
7986
8054
  }
7987
8055
  }
7988
8056
  ]
7989
8057
  },
7990
8058
  {
7991
8059
  "kind": "javascript-module",
7992
- "path": "src/vscode-tab-header/vscode-tab-header.ts",
8060
+ "path": "src/vscode-split-layout/vscode-split-layout.ts",
7993
8061
  "declarations": [
7994
8062
  {
7995
- "kind": "class",
7996
- "description": "",
7997
- "name": "VscodeTabHeader",
7998
- "cssProperties": [
8063
+ "kind": "function",
8064
+ "name": "parseValue",
8065
+ "return": {
8066
+ "type": {
8067
+ "text": "{value: number; unit: PositionUnit}"
8068
+ }
8069
+ },
8070
+ "parameters": [
7999
8071
  {
8000
- "name": "--vscode-focusBorder",
8001
- "default": "#0078d4"
8072
+ "name": "raw",
8073
+ "type": {
8074
+ "text": "string"
8075
+ }
8076
+ }
8077
+ ]
8078
+ },
8079
+ {
8080
+ "kind": "function",
8081
+ "name": "pxToPercent",
8082
+ "parameters": [
8083
+ {
8084
+ "name": "current",
8085
+ "type": {
8086
+ "text": "number"
8087
+ }
8002
8088
  },
8003
8089
  {
8004
- "name": "--vscode-foreground",
8005
- "default": "#cccccc"
8090
+ "name": "max",
8091
+ "type": {
8092
+ "text": "number"
8093
+ }
8094
+ }
8095
+ ]
8096
+ },
8097
+ {
8098
+ "kind": "function",
8099
+ "name": "percentToPx",
8100
+ "parameters": [
8101
+ {
8102
+ "name": "current",
8103
+ "type": {
8104
+ "text": "number"
8105
+ }
8006
8106
  },
8007
8107
  {
8008
- "name": "--vscode-panelTitle-activeBorder",
8009
- "default": "#0078d4"
8108
+ "name": "max",
8109
+ "type": {
8110
+ "text": "number"
8111
+ }
8112
+ }
8113
+ ]
8114
+ },
8115
+ {
8116
+ "kind": "class",
8117
+ "description": "",
8118
+ "name": "VscodeSplitLayout",
8119
+ "cssProperties": [
8120
+ {
8121
+ "name": "--separator-border",
8122
+ "default": "#454545"
8010
8123
  },
8011
8124
  {
8012
- "name": "--vscode-panelTitle-activeForeground",
8013
- "default": "#cccccc"
8125
+ "name": "--vscode-editorWidget-border",
8126
+ "default": "#454545"
8014
8127
  },
8015
8128
  {
8016
- "name": "--vscode-panelTitle-inactiveForeground",
8017
- "default": "#9d9d9d"
8129
+ "name": "--vscode-sash-hoverBorder",
8130
+ "default": "#0078d4"
8018
8131
  }
8019
8132
  ],
8020
8133
  "members": [
8021
8134
  {
8022
8135
  "kind": "field",
8023
- "name": "active",
8136
+ "name": "split",
8137
+ "description": "Direction of the divider.",
8024
8138
  "type": {
8025
- "text": "boolean"
8139
+ "text": "Orientation"
8026
8140
  },
8027
- "default": "false",
8028
- "attribute": "active",
8141
+ "attribute": "split",
8029
8142
  "reflects": true
8030
8143
  },
8031
8144
  {
8032
8145
  "kind": "field",
8033
- "name": "panel",
8146
+ "name": "_split",
8147
+ "type": {
8148
+ "text": "Orientation"
8149
+ },
8150
+ "privacy": "private",
8151
+ "default": "'vertical'"
8152
+ },
8153
+ {
8154
+ "kind": "field",
8155
+ "name": "resetOnDblClick",
8034
8156
  "type": {
8035
8157
  "text": "boolean"
8036
8158
  },
8037
8159
  "default": "false",
8038
- "description": "Panel-like look",
8039
- "attribute": "panel",
8160
+ "description": "Controls whether the handle position should reset to the value set in the\n`initialHandlePosition` when it is double-clicked.",
8161
+ "attribute": "reset-on-dbl-click",
8040
8162
  "reflects": true
8041
8163
  },
8042
8164
  {
8043
8165
  "kind": "field",
8044
- "name": "version",
8166
+ "name": "handleSize",
8045
8167
  "type": {
8046
- "text": "string"
8168
+ "text": "number"
8047
8169
  },
8048
- "description": "VSCode Elements version",
8049
- "readonly": true,
8050
- "inheritedFrom": {
8051
- "name": "VscElement",
8052
- "module": "src/includes/VscElement.ts"
8053
- }
8054
- }
8055
- ],
8056
- "attributes": [
8170
+ "default": "4",
8171
+ "description": "Controls the draggable area size in pixels. it is intended to use the value\nof `workbench.sash.size`.",
8172
+ "attribute": "handle-size",
8173
+ "reflects": true
8174
+ },
8057
8175
  {
8058
- "name": "active",
8176
+ "kind": "field",
8177
+ "name": "initialHandlePosition",
8059
8178
  "type": {
8060
- "text": "boolean"
8179
+ "text": "string"
8061
8180
  },
8062
- "default": "false",
8063
- "fieldName": "active"
8181
+ "default": "'50%'",
8182
+ "description": "The handler position will reset to this position when it is double-clicked,\nor the `resetHandlePosition()` is called.",
8183
+ "attribute": "initial-handle-position",
8184
+ "reflects": true
8064
8185
  },
8065
8186
  {
8066
- "name": "panel",
8187
+ "kind": "field",
8188
+ "name": "handlePosition",
8189
+ "description": "Set the handle position programmatically. The value must include a unit,\neither `%` or `px`. If no unit is specified, the value is interpreted as\n`px`.",
8067
8190
  "type": {
8068
- "text": "boolean"
8191
+ "text": "string | undefined"
8069
8192
  },
8070
- "default": "false",
8071
- "description": "Panel-like look",
8072
- "fieldName": "panel"
8073
- }
8074
- ],
8075
- "superclass": {
8076
- "name": "VscElement",
8077
- "module": "/src/includes/VscElement.js"
8078
- },
8079
- "tagName": "vscode-tab-header",
8080
- "customElement": true
8081
- }
8082
- ],
8083
- "exports": [
8084
- {
8085
- "kind": "js",
8086
- "name": "VscodeTabHeader",
8087
- "declaration": {
8088
- "name": "VscodeTabHeader",
8089
- "module": "src/vscode-tab-header/vscode-tab-header.ts"
8090
- }
8091
- },
8092
- {
8093
- "kind": "custom-element-definition",
8094
- "name": "vscode-tab-header",
8095
- "declaration": {
8096
- "name": "VscodeTabHeader",
8097
- "module": "src/vscode-tab-header/vscode-tab-header.ts"
8098
- }
8099
- }
8100
- ]
8101
- },
8102
- {
8103
- "kind": "javascript-module",
8104
- "path": "src/vscode-tab-panel/vscode-tab-panel.styles.ts",
8105
- "declarations": [
8106
- {
8107
- "kind": "variable",
8108
- "name": "styles",
8109
- "type": {
8110
- "text": "CSSResultGroup"
8111
- },
8112
- "default": "[ defaultStyles, css` :host { display: block; overflow: hidden; } :host(:focus-visible) { outline-color: var(--vscode-focusBorder, #0078d4); outline-offset: 3px; outline-style: solid; outline-width: 1px; } :host([panel]) { background-color: var(--vscode-panel-background, #181818); } `, ]"
8113
- }
8114
- ],
8115
- "exports": [
8116
- {
8117
- "kind": "js",
8118
- "name": "default",
8119
- "declaration": {
8120
- "name": "styles",
8121
- "module": "src/vscode-tab-panel/vscode-tab-panel.styles.ts"
8122
- }
8123
- }
8124
- ]
8125
- },
8126
- {
8127
- "kind": "javascript-module",
8128
- "path": "src/vscode-tab-panel/vscode-tab-panel.ts",
8129
- "declarations": [
8130
- {
8131
- "kind": "class",
8132
- "description": "",
8133
- "name": "VscodeTabPanel",
8134
- "cssProperties": [
8135
- {
8136
- "name": "--vscode-focusBorder",
8137
- "default": "#0078d4"
8193
+ "attribute": "handle-position"
8138
8194
  },
8139
8195
  {
8140
- "name": "--vscode-panel--background",
8141
- "default": "#181818"
8142
- }
8143
- ],
8144
- "members": [
8196
+ "kind": "field",
8197
+ "name": "_rawHandlePosition",
8198
+ "type": {
8199
+ "text": "string | undefined"
8200
+ },
8201
+ "privacy": "private"
8202
+ },
8145
8203
  {
8146
8204
  "kind": "field",
8147
- "name": "hidden",
8205
+ "name": "fixedPane",
8206
+ "description": "The size of the fixed pane will not change when the component is resized.",
8148
8207
  "type": {
8149
- "text": "boolean"
8208
+ "text": "'start' | 'end' | 'none'"
8150
8209
  },
8151
- "default": "false",
8152
- "attribute": "hidden",
8153
- "reflects": true
8210
+ "attribute": "fixed-pane"
8154
8211
  },
8155
8212
  {
8156
8213
  "kind": "field",
8157
- "name": "panel",
8214
+ "name": "_fixedPane",
8158
8215
  "type": {
8159
- "text": "boolean"
8216
+ "text": "FixedPaneType"
8160
8217
  },
8161
- "default": "false",
8162
- "description": "Panel-like look",
8163
- "attribute": "panel",
8164
- "reflects": true
8218
+ "privacy": "private",
8219
+ "default": "'none'"
8165
8220
  },
8166
8221
  {
8167
8222
  "kind": "field",
8168
- "name": "version",
8223
+ "name": "_handlePosition",
8169
8224
  "type": {
8170
- "text": "string"
8225
+ "text": "number"
8171
8226
  },
8172
- "description": "VSCode Elements version",
8173
- "readonly": true,
8174
- "inheritedFrom": {
8175
- "name": "VscElement",
8176
- "module": "src/includes/VscElement.ts"
8177
- }
8178
- }
8179
- ],
8180
- "attributes": [
8227
+ "privacy": "private",
8228
+ "default": "0"
8229
+ },
8181
8230
  {
8182
- "name": "hidden",
8231
+ "kind": "field",
8232
+ "name": "_isDragActive",
8183
8233
  "type": {
8184
8234
  "text": "boolean"
8185
8235
  },
8186
- "default": "false",
8187
- "fieldName": "hidden"
8236
+ "privacy": "private",
8237
+ "default": "false"
8188
8238
  },
8189
8239
  {
8190
- "name": "panel",
8240
+ "kind": "field",
8241
+ "name": "_hover",
8191
8242
  "type": {
8192
8243
  "text": "boolean"
8193
8244
  },
8194
- "default": "false",
8195
- "description": "Panel-like look",
8196
- "fieldName": "panel"
8197
- }
8198
- ],
8199
- "superclass": {
8200
- "name": "VscElement",
8201
- "module": "/src/includes/VscElement.js"
8202
- },
8203
- "tagName": "vscode-tab-panel",
8204
- "customElement": true
8205
- }
8206
- ],
8207
- "exports": [
8208
- {
8209
- "kind": "js",
8210
- "name": "VscodeTabPanel",
8211
- "declaration": {
8212
- "name": "VscodeTabPanel",
8213
- "module": "src/vscode-tab-panel/vscode-tab-panel.ts"
8214
- }
8215
- },
8216
- {
8217
- "kind": "custom-element-definition",
8218
- "name": "vscode-tab-panel",
8219
- "declaration": {
8220
- "name": "VscodeTabPanel",
8221
- "module": "src/vscode-tab-panel/vscode-tab-panel.ts"
8222
- }
8223
- }
8224
- ]
8225
- },
8226
- {
8227
- "kind": "javascript-module",
8228
- "path": "src/vscode-table/helpers.ts",
8229
- "declarations": [
8230
- {
8231
- "kind": "function",
8232
- "name": "rawValueToPercentage",
8233
- "return": {
8234
- "type": {
8235
- "text": "number | null"
8236
- }
8237
- },
8238
- "parameters": [
8239
- {
8240
- "name": "raw",
8241
- "type": {
8242
- "text": "string | number"
8243
- }
8244
- },
8245
- {
8246
- "name": "base",
8247
- "type": {
8248
- "text": "number"
8249
- }
8250
- }
8251
- ]
8252
- }
8253
- ],
8254
- "exports": [
8255
- {
8256
- "kind": "js",
8257
- "name": "rawValueToPercentage",
8258
- "declaration": {
8259
- "name": "rawValueToPercentage",
8260
- "module": "src/vscode-table/helpers.ts"
8261
- }
8262
- }
8263
- ]
8264
- },
8265
- {
8266
- "kind": "javascript-module",
8267
- "path": "src/vscode-table/vscode-table.styles.ts",
8268
- "declarations": [
8269
- {
8270
- "kind": "variable",
8271
- "name": "styles",
8272
- "type": {
8273
- "text": "CSSResultGroup"
8274
- },
8275
- "default": "[ baseStyles, css` :host { display: block; --vsc-row-even-background: transparent; --vsc-row-odd-background: transparent; --vsc-row-border-bottom-width: 0; --vsc-row-border-top-width: 0; --vsc-row-display: table-row; } :host([bordered]), :host([bordered-rows]) { --vsc-row-border-bottom-width: 1px; } :host([compact]) { --vsc-row-display: block; } :host([bordered][compact]), :host([bordered-rows][compact]) { --vsc-row-border-bottom-width: 0; --vsc-row-border-top-width: 1px; } :host([zebra]) { --vsc-row-even-background: var( --vscode-keybindingTable-rowsBackground, rgba(204, 204, 204, 0.04) ); } :host([zebra-odd]) { --vsc-row-odd-background: var( --vscode-keybindingTable-rowsBackground, rgba(204, 204, 204, 0.04) ); } ::slotted(vscode-table-row) { width: 100%; } .wrapper { height: 100%; max-width: 100%; overflow: hidden; position: relative; width: 100%; } .wrapper.select-disabled { user-select: none; } .wrapper.resize-cursor { cursor: ew-resize; } .wrapper.compact-view .header-slot-wrapper { height: 0; overflow: hidden; } .scrollable { height: 100%; } .scrollable:before { background-color: transparent; content: ''; display: block; height: 1px; position: absolute; width: 100%; } .wrapper:not(.compact-view) .scrollable:not([scrolled]):before { background-color: var( --vscode-editorGroup-border, rgba(255, 255, 255, 0.09) ); } .sash { visibility: hidden; } :host([bordered-columns]) .sash, :host([bordered]) .sash { visibility: visible; } :host([resizable]) .wrapper:hover .sash { visibility: visible; } .sash { height: 100%; position: absolute; top: 0; width: 1px; } .wrapper.compact-view .sash { display: none; } .sash.resizable { cursor: ew-resize; } .sash-visible { background-color: var( --vscode-editorGroup-border, rgba(255, 255, 255, 0.09) ); height: 100%; position: absolute; top: 30px; width: 1px; } .sash.hover .sash-visible { background-color: var(--vscode-sash-hoverBorder, #0078d4); transition: background-color 50ms linear 300ms; } .sash .sash-clickable { background-color: transparent; height: 100%; left: -2px; position: absolute; width: 5px; } `, ]"
8276
- }
8277
- ],
8278
- "exports": [
8279
- {
8280
- "kind": "js",
8281
- "name": "default",
8282
- "declaration": {
8283
- "name": "styles",
8284
- "module": "src/vscode-table/vscode-table.styles.ts"
8285
- }
8286
- }
8287
- ]
8288
- },
8289
- {
8290
- "kind": "javascript-module",
8291
- "path": "src/vscode-table/vscode-table.ts",
8292
- "declarations": [
8293
- {
8294
- "kind": "class",
8295
- "description": "",
8296
- "name": "VscodeTable",
8297
- "cssProperties": [
8298
- {
8299
- "name": "--vscode-editorGroup-border",
8300
- "default": "rgba(255, 255, 255, 0.09)"
8301
- },
8302
- {
8303
- "name": "--vscode-keybindingTable-rowsBackground",
8304
- "default": "rgba(204, 204, 204, 0.04)"
8305
- },
8306
- {
8307
- "name": "--vscode-sash-hoverBorder",
8308
- "default": "#0078d4"
8309
- }
8310
- ],
8311
- "members": [
8312
- {
8313
- "kind": "field",
8314
- "name": "resizable",
8315
- "type": {
8316
- "text": "boolean"
8317
- },
8318
- "default": "false",
8319
- "attribute": "resizable",
8320
- "reflects": true
8321
- },
8322
- {
8323
- "kind": "field",
8324
- "name": "responsive",
8325
- "type": {
8326
- "text": "boolean"
8327
- },
8328
- "default": "false",
8329
- "attribute": "responsive",
8330
- "reflects": true
8245
+ "privacy": "private",
8246
+ "default": "false"
8331
8247
  },
8332
8248
  {
8333
8249
  "kind": "field",
8334
- "name": "bordered",
8250
+ "name": "_hide",
8335
8251
  "type": {
8336
8252
  "text": "boolean"
8337
8253
  },
8338
- "default": "false",
8339
- "description": "Both rows and columns are separated by borders.",
8340
- "attribute": "bordered",
8341
- "reflects": true
8254
+ "privacy": "private",
8255
+ "default": "false"
8342
8256
  },
8343
8257
  {
8344
8258
  "kind": "field",
8345
- "name": "borderedColumns",
8259
+ "name": "_wrapperEl",
8346
8260
  "type": {
8347
- "text": "boolean"
8261
+ "text": "HTMLDivElement"
8348
8262
  },
8349
- "default": "false",
8350
- "description": "Columns are separated by borders.",
8351
- "attribute": "bordered-columns",
8352
- "reflects": true
8263
+ "privacy": "private"
8353
8264
  },
8354
8265
  {
8355
8266
  "kind": "field",
8356
- "name": "borderedRows",
8267
+ "name": "_handleEl",
8357
8268
  "type": {
8358
- "text": "boolean"
8269
+ "text": "HTMLDivElement"
8359
8270
  },
8360
- "default": "false",
8361
- "description": "Rows are separated by borders.",
8362
- "attribute": "bordered-rows",
8363
- "reflects": true
8271
+ "privacy": "private"
8364
8272
  },
8365
8273
  {
8366
8274
  "kind": "field",
8367
- "name": "breakpoint",
8275
+ "name": "_nestedLayoutsAtStart",
8368
8276
  "type": {
8369
- "text": "number"
8277
+ "text": "HTMLElement[]"
8370
8278
  },
8371
- "default": "300",
8372
- "attribute": "breakpoint"
8279
+ "privacy": "private"
8373
8280
  },
8374
8281
  {
8375
8282
  "kind": "field",
8376
- "name": "columns",
8377
- "description": "Initial column sizes in a JSON-encoded array.\nAccepted values are:\n- number\n- string-type number (ex.: \"100\")\n- px value (ex.: \"100px\")\n- percentage value (ex.: \"50%\")\n- percentage value (ex.: \"50%\")\n- \"auto\" keyword",
8283
+ "name": "_nestedLayoutsAtEnd",
8378
8284
  "type": {
8379
- "text": "string[]"
8285
+ "text": "HTMLElement[]"
8380
8286
  },
8381
- "attribute": "columns"
8287
+ "privacy": "private"
8382
8288
  },
8383
8289
  {
8384
8290
  "kind": "field",
8385
- "name": "minColumnWidth",
8291
+ "name": "_boundRect",
8386
8292
  "type": {
8387
- "text": "string"
8293
+ "text": "DOMRect"
8388
8294
  },
8389
- "default": "'50px'",
8390
- "description": "Minimum column width. Valid values are:\n- number\n- string-type number (ex.: \"100\")\n- px value (ex.: \"100px\")\n- percentage value (ex.: \"50%\")\n- percentage value (ex.: \"50%\")\n- \"auto\" keyword",
8391
- "attribute": "min-column-width"
8295
+ "privacy": "private",
8296
+ "default": "new DOMRect()"
8392
8297
  },
8393
8298
  {
8394
8299
  "kind": "field",
8395
- "name": "delayedResizing",
8300
+ "name": "_handleOffset",
8396
8301
  "type": {
8397
- "text": "boolean"
8302
+ "text": "number"
8398
8303
  },
8399
- "default": "false",
8400
- "attribute": "delayed-resizing",
8401
- "reflects": true
8304
+ "privacy": "private",
8305
+ "default": "0"
8402
8306
  },
8403
8307
  {
8404
8308
  "kind": "field",
8405
- "name": "zebra",
8309
+ "name": "_resizeObserver",
8406
8310
  "type": {
8407
- "text": "boolean"
8311
+ "text": "ResizeObserver"
8408
8312
  },
8409
- "default": "false",
8410
- "description": "Zebra stripes, even rows are tinted.",
8411
- "attribute": "zebra",
8412
- "reflects": true
8313
+ "privacy": "private",
8314
+ "default": "new ResizeObserver(this._handleResize)"
8413
8315
  },
8414
8316
  {
8415
8317
  "kind": "field",
8416
- "name": "zebraOdd",
8318
+ "name": "_wrapperObserved",
8417
8319
  "type": {
8418
8320
  "text": "boolean"
8419
8321
  },
8420
- "default": "false",
8421
- "description": "Zebra stripes, odd rows are tinted.",
8422
- "attribute": "zebra-odd",
8423
- "reflects": true
8322
+ "privacy": "private",
8323
+ "default": "false"
8424
8324
  },
8425
8325
  {
8426
8326
  "kind": "field",
8427
- "name": "_bodySlot",
8327
+ "name": "_fixedPaneSize",
8428
8328
  "type": {
8429
- "text": "HTMLSlotElement"
8329
+ "text": "number"
8430
8330
  },
8431
- "privacy": "private"
8331
+ "privacy": "private",
8332
+ "default": "0"
8432
8333
  },
8433
8334
  {
8434
- "kind": "field",
8435
- "name": "_headerElement",
8436
- "type": {
8437
- "text": "HTMLDivElement"
8438
- },
8439
- "privacy": "private"
8335
+ "kind": "method",
8336
+ "name": "resetHandlePosition",
8337
+ "description": "Sets the handle position to the value specified in the `initialHandlePosition` property."
8440
8338
  },
8441
8339
  {
8442
- "kind": "field",
8443
- "name": "_scrollableElement",
8444
- "type": {
8445
- "text": "VscodeScrollable"
8446
- },
8340
+ "kind": "method",
8341
+ "name": "_handlePositionPropChanged",
8447
8342
  "privacy": "private"
8448
8343
  },
8449
8344
  {
8450
- "kind": "field",
8451
- "name": "_sashVisibleElements",
8452
- "type": {
8453
- "text": "HTMLDivElement[]"
8454
- },
8345
+ "kind": "method",
8346
+ "name": "_fixedPanePropChanged",
8455
8347
  "privacy": "private"
8456
8348
  },
8457
8349
  {
8458
- "kind": "field",
8459
- "name": "_assignedElements",
8460
- "type": {
8461
- "text": "NodeListOf<HTMLElement>"
8462
- },
8350
+ "kind": "method",
8351
+ "name": "_initFixedPane",
8463
8352
  "privacy": "private"
8464
8353
  },
8465
8354
  {
8466
8355
  "kind": "field",
8467
- "name": "_assignedHeaderElements",
8468
- "type": {
8469
- "text": "NodeListOf<VscodeTableHeader>"
8470
- },
8356
+ "name": "_handleResize",
8471
8357
  "privacy": "private"
8472
8358
  },
8473
8359
  {
8474
- "kind": "field",
8475
- "name": "_assignedBodyElements",
8476
- "type": {
8477
- "text": "NodeListOf<VscodeTableBody>"
8478
- },
8479
- "privacy": "private"
8360
+ "kind": "method",
8361
+ "name": "_setPosition",
8362
+ "privacy": "private",
8363
+ "parameters": [
8364
+ {
8365
+ "name": "value",
8366
+ "type": {
8367
+ "text": "number"
8368
+ }
8369
+ },
8370
+ {
8371
+ "name": "unit",
8372
+ "type": {
8373
+ "text": "PositionUnit"
8374
+ }
8375
+ }
8376
+ ]
8480
8377
  },
8481
8378
  {
8482
- "kind": "field",
8483
- "name": "_sashPositions",
8484
- "type": {
8485
- "text": "number[]"
8486
- },
8487
- "privacy": "private",
8488
- "default": "[]",
8489
- "description": "Sash positions in percentage"
8379
+ "kind": "method",
8380
+ "name": "_handleMouseOver",
8381
+ "privacy": "private"
8490
8382
  },
8491
8383
  {
8492
- "kind": "field",
8493
- "name": "_isDragging",
8494
- "type": {
8495
- "text": "boolean"
8496
- },
8384
+ "kind": "method",
8385
+ "name": "_handleMouseOut",
8497
8386
  "privacy": "private",
8498
- "default": "false"
8387
+ "parameters": [
8388
+ {
8389
+ "name": "event",
8390
+ "type": {
8391
+ "text": "MouseEvent"
8392
+ }
8393
+ }
8394
+ ]
8499
8395
  },
8500
8396
  {
8501
- "kind": "field",
8502
- "name": "_sashHovers",
8503
- "type": {
8504
- "text": "boolean[]"
8505
- },
8397
+ "kind": "method",
8398
+ "name": "_handleMouseDown",
8506
8399
  "privacy": "private",
8507
- "default": "[]",
8508
- "description": "Sash hover state flags, used in the render."
8400
+ "parameters": [
8401
+ {
8402
+ "name": "event",
8403
+ "type": {
8404
+ "text": "MouseEvent"
8405
+ }
8406
+ }
8407
+ ]
8509
8408
  },
8510
8409
  {
8511
8410
  "kind": "field",
8512
- "name": "_columns",
8513
- "type": {
8514
- "text": "string[]"
8515
- },
8516
- "privacy": "private",
8517
- "default": "[]"
8411
+ "name": "_handleMouseUp",
8412
+ "privacy": "private"
8518
8413
  },
8519
8414
  {
8520
8415
  "kind": "field",
8521
- "name": "_componentResizeObserver",
8522
- "type": {
8523
- "text": "ResizeObserver | undefined"
8524
- },
8416
+ "name": "_handleMouseMove",
8525
8417
  "privacy": "private"
8526
8418
  },
8527
8419
  {
8528
- "kind": "field",
8529
- "name": "_headerResizeObserver",
8530
- "type": {
8531
- "text": "ResizeObserver | undefined"
8532
- },
8420
+ "kind": "method",
8421
+ "name": "_handleDblClick",
8533
8422
  "privacy": "private"
8534
8423
  },
8535
8424
  {
8536
- "kind": "field",
8537
- "name": "_bodyResizeObserver",
8538
- "type": {
8539
- "text": "ResizeObserver | undefined"
8540
- },
8425
+ "kind": "method",
8426
+ "name": "_handleSlotChange",
8541
8427
  "privacy": "private"
8542
8428
  },
8543
8429
  {
8544
8430
  "kind": "field",
8545
- "name": "_activeSashElementIndex",
8431
+ "name": "version",
8546
8432
  "type": {
8547
- "text": "number"
8433
+ "text": "string"
8548
8434
  },
8549
- "privacy": "private",
8550
- "default": "-1"
8551
- },
8435
+ "description": "VSCode Elements version",
8436
+ "readonly": true,
8437
+ "inheritedFrom": {
8438
+ "name": "VscElement",
8439
+ "module": "src/includes/VscElement.ts"
8440
+ }
8441
+ }
8442
+ ],
8443
+ "attributes": [
8552
8444
  {
8553
- "kind": "field",
8554
- "name": "_activeSashCursorOffset",
8445
+ "name": "split",
8446
+ "description": "Direction of the divider.",
8555
8447
  "type": {
8556
- "text": "number"
8448
+ "text": "Orientation"
8557
8449
  },
8558
- "privacy": "private",
8559
- "default": "0"
8450
+ "fieldName": "split"
8560
8451
  },
8561
8452
  {
8562
- "kind": "field",
8563
- "name": "_componentX",
8453
+ "name": "reset-on-dbl-click",
8564
8454
  "type": {
8565
- "text": "number"
8455
+ "text": "boolean"
8566
8456
  },
8567
- "privacy": "private",
8568
- "default": "0"
8457
+ "default": "false",
8458
+ "description": "Controls whether the handle position should reset to the value set in the\n`initialHandlePosition` when it is double-clicked.",
8459
+ "fieldName": "resetOnDblClick"
8569
8460
  },
8570
8461
  {
8571
- "kind": "field",
8572
- "name": "_componentH",
8462
+ "name": "handle-size",
8573
8463
  "type": {
8574
8464
  "text": "number"
8575
8465
  },
8576
- "privacy": "private",
8577
- "default": "0"
8466
+ "default": "4",
8467
+ "description": "Controls the draggable area size in pixels. it is intended to use the value\nof `workbench.sash.size`.",
8468
+ "fieldName": "handleSize"
8578
8469
  },
8579
8470
  {
8580
- "kind": "field",
8581
- "name": "_componentW",
8471
+ "name": "initial-handle-position",
8582
8472
  "type": {
8583
- "text": "number"
8473
+ "text": "string"
8584
8474
  },
8585
- "privacy": "private",
8586
- "default": "0"
8475
+ "default": "DEFAULT_INITIAL_POSITION",
8476
+ "description": "The handler position will reset to this position when it is double-clicked,\nor the `resetHandlePosition()` is called.",
8477
+ "fieldName": "initialHandlePosition"
8587
8478
  },
8588
8479
  {
8589
- "kind": "field",
8590
- "name": "_headerCells",
8480
+ "name": "handle-position",
8481
+ "description": "Set the handle position programmatically. The value must include a unit,\neither `%` or `px`. If no unit is specified, the value is interpreted as\n`px`.",
8591
8482
  "type": {
8592
- "text": "VscodeTableHeaderCell[]"
8483
+ "text": "string | undefined"
8593
8484
  },
8594
- "privacy": "private",
8595
- "default": "[]",
8596
- "description": "Cached querySelectorAll result. Updated when the header slot changes.\nIt shouldn't be used directly, check the \"_getHeaderCells\" function."
8485
+ "fieldName": "handlePosition"
8597
8486
  },
8598
8487
  {
8599
- "kind": "field",
8600
- "name": "_cellsOfFirstRow",
8488
+ "name": "fixed-pane",
8489
+ "description": "The size of the fixed pane will not change when the component is resized.",
8601
8490
  "type": {
8602
- "text": "VscodeTableCell[]"
8491
+ "text": "'start' | 'end' | 'none'"
8603
8492
  },
8604
- "privacy": "private",
8605
- "default": "[]",
8606
- "description": "Cached querySelectorAll result. Updated when the body slot changes.\nIt shouldn't be used directly, check the \"_getCellsOfFirstRow\" function."
8493
+ "fieldName": "fixedPane"
8494
+ }
8495
+ ],
8496
+ "superclass": {
8497
+ "name": "VscElement",
8498
+ "module": "/src/includes/VscElement.js"
8499
+ },
8500
+ "tagName": "vscode-split-layout",
8501
+ "customElement": true
8502
+ }
8503
+ ],
8504
+ "exports": [
8505
+ {
8506
+ "kind": "js",
8507
+ "name": "parseValue",
8508
+ "declaration": {
8509
+ "name": "parseValue",
8510
+ "module": "src/vscode-split-layout/vscode-split-layout.ts"
8511
+ }
8512
+ },
8513
+ {
8514
+ "kind": "js",
8515
+ "name": "pxToPercent",
8516
+ "declaration": {
8517
+ "name": "pxToPercent",
8518
+ "module": "src/vscode-split-layout/vscode-split-layout.ts"
8519
+ }
8520
+ },
8521
+ {
8522
+ "kind": "js",
8523
+ "name": "percentToPx",
8524
+ "declaration": {
8525
+ "name": "percentToPx",
8526
+ "module": "src/vscode-split-layout/vscode-split-layout.ts"
8527
+ }
8528
+ },
8529
+ {
8530
+ "kind": "js",
8531
+ "name": "VscodeSplitLayout",
8532
+ "declaration": {
8533
+ "name": "VscodeSplitLayout",
8534
+ "module": "src/vscode-split-layout/vscode-split-layout.ts"
8535
+ }
8536
+ },
8537
+ {
8538
+ "kind": "custom-element-definition",
8539
+ "name": "vscode-split-layout",
8540
+ "declaration": {
8541
+ "name": "VscodeSplitLayout",
8542
+ "module": "src/vscode-split-layout/vscode-split-layout.ts"
8543
+ }
8544
+ }
8545
+ ]
8546
+ },
8547
+ {
8548
+ "kind": "javascript-module",
8549
+ "path": "src/vscode-tab-header/vscode-tab-header.styles.ts",
8550
+ "declarations": [
8551
+ {
8552
+ "kind": "variable",
8553
+ "name": "styles",
8554
+ "type": {
8555
+ "text": "CSSResultGroup"
8556
+ },
8557
+ "default": "[ defaultStyles, css` :host { cursor: pointer; display: block; user-select: none; } .wrapper { align-items: center; border-bottom: 1px solid transparent; color: var(--vscode-foreground, #cccccc); display: flex; min-height: 20px; overflow: hidden; padding: 7px 8px; position: relative; text-overflow: ellipsis; white-space: nowrap; } :host([active]) .wrapper { border-bottom-color: var(--vscode-panelTitle-activeForeground, #cccccc); color: var(--vscode-panelTitle-activeForeground, #cccccc); } :host([panel]) .wrapper { border-bottom: 0; margin-bottom: 0; padding: 0; } :host(:focus-visible) { outline: none; } .wrapper { align-items: center; color: var(--vscode-foreground, #cccccc); display: flex; min-height: 20px; overflow: inherit; text-overflow: inherit; position: relative; } .wrapper.panel { color: var(--vscode-panelTitle-inactiveForeground, #9d9d9d); } .wrapper.panel.active, .wrapper.panel:hover { color: var(--vscode-panelTitle-activeForeground, #cccccc); } :host([panel]) .wrapper { display: flex; font-size: 11px; height: 31px; padding: 2px 10px; text-transform: uppercase; } .main { overflow: inherit; text-overflow: inherit; } .active-indicator { display: none; } .active-indicator.panel.active { border-top: 1px solid var(--vscode-panelTitle-activeBorder, #0078d4); bottom: 4px; display: block; left: 8px; pointer-events: none; position: absolute; right: 8px; } :host(:focus-visible) .wrapper { outline-color: var(--vscode-focusBorder, #0078d4); outline-offset: 3px; outline-style: solid; outline-width: 1px; } :host(:focus-visible) .wrapper.panel { outline-offset: -2px; } slot[name='content-before']::slotted(vscode-badge) { margin-right: 8px; } slot[name='content-after']::slotted(vscode-badge) { margin-left: 8px; } `, ]"
8558
+ }
8559
+ ],
8560
+ "exports": [
8561
+ {
8562
+ "kind": "js",
8563
+ "name": "default",
8564
+ "declaration": {
8565
+ "name": "styles",
8566
+ "module": "src/vscode-tab-header/vscode-tab-header.styles.ts"
8567
+ }
8568
+ }
8569
+ ]
8570
+ },
8571
+ {
8572
+ "kind": "javascript-module",
8573
+ "path": "src/vscode-tab-header/vscode-tab-header.ts",
8574
+ "declarations": [
8575
+ {
8576
+ "kind": "class",
8577
+ "description": "",
8578
+ "name": "VscodeTabHeader",
8579
+ "cssProperties": [
8580
+ {
8581
+ "name": "--vscode-focusBorder",
8582
+ "default": "#0078d4"
8607
8583
  },
8608
8584
  {
8609
- "kind": "field",
8610
- "name": "_cellsToResize",
8611
- "type": {
8612
- "text": "VscodeTableCell[]"
8613
- },
8614
- "privacy": "private"
8585
+ "name": "--vscode-foreground",
8586
+ "default": "#cccccc"
8587
+ },
8588
+ {
8589
+ "name": "--vscode-panelTitle-activeBorder",
8590
+ "default": "#0078d4"
8591
+ },
8592
+ {
8593
+ "name": "--vscode-panelTitle-activeForeground",
8594
+ "default": "#cccccc"
8615
8595
  },
8596
+ {
8597
+ "name": "--vscode-panelTitle-inactiveForeground",
8598
+ "default": "#9d9d9d"
8599
+ }
8600
+ ],
8601
+ "members": [
8616
8602
  {
8617
8603
  "kind": "field",
8618
- "name": "_headerCellsToResize",
8604
+ "name": "active",
8619
8605
  "type": {
8620
- "text": "VscodeTableHeaderCell[]"
8606
+ "text": "boolean"
8621
8607
  },
8622
- "privacy": "private"
8608
+ "default": "false",
8609
+ "attribute": "active",
8610
+ "reflects": true
8623
8611
  },
8624
8612
  {
8625
8613
  "kind": "field",
8626
- "name": "_prevHeaderHeight",
8614
+ "name": "panel",
8627
8615
  "type": {
8628
- "text": "number"
8616
+ "text": "boolean"
8629
8617
  },
8630
- "privacy": "private",
8631
- "default": "0"
8618
+ "default": "false",
8619
+ "description": "Panel-like look",
8620
+ "attribute": "panel",
8621
+ "reflects": true
8632
8622
  },
8633
8623
  {
8634
8624
  "kind": "field",
8635
- "name": "_prevComponentHeight",
8625
+ "name": "version",
8636
8626
  "type": {
8637
- "text": "number"
8627
+ "text": "string"
8638
8628
  },
8639
- "privacy": "private",
8640
- "default": "0"
8641
- },
8642
- {
8643
- "kind": "method",
8644
- "name": "_px2Percent",
8645
- "privacy": "private",
8646
- "parameters": [
8647
- {
8648
- "name": "px",
8649
- "type": {
8650
- "text": "number"
8651
- }
8652
- }
8653
- ]
8654
- },
8655
- {
8656
- "kind": "method",
8657
- "name": "_percent2Px",
8658
- "privacy": "private",
8659
- "parameters": [
8660
- {
8661
- "name": "percent",
8662
- "type": {
8663
- "text": "number"
8664
- }
8665
- }
8666
- ]
8667
- },
8668
- {
8669
- "kind": "method",
8670
- "name": "_memoizeComponentDimensions",
8671
- "privacy": "private"
8672
- },
8673
- {
8674
- "kind": "method",
8675
- "name": "_queryHeaderCells",
8676
- "privacy": "private"
8677
- },
8678
- {
8679
- "kind": "method",
8680
- "name": "_getHeaderCells",
8681
- "privacy": "private",
8682
- "description": "Get cached header cells"
8683
- },
8629
+ "description": "VSCode Elements version",
8630
+ "readonly": true,
8631
+ "inheritedFrom": {
8632
+ "name": "VscElement",
8633
+ "module": "src/includes/VscElement.ts"
8634
+ }
8635
+ }
8636
+ ],
8637
+ "attributes": [
8684
8638
  {
8685
- "kind": "method",
8686
- "name": "_queryCellsOfFirstRow",
8687
- "privacy": "private"
8639
+ "name": "active",
8640
+ "type": {
8641
+ "text": "boolean"
8642
+ },
8643
+ "default": "false",
8644
+ "fieldName": "active"
8688
8645
  },
8689
8646
  {
8690
- "kind": "method",
8691
- "name": "_getCellsOfFirstRow",
8692
- "privacy": "private",
8693
- "description": "Get cached cells of first row"
8694
- },
8647
+ "name": "panel",
8648
+ "type": {
8649
+ "text": "boolean"
8650
+ },
8651
+ "default": "false",
8652
+ "description": "Panel-like look",
8653
+ "fieldName": "panel"
8654
+ }
8655
+ ],
8656
+ "superclass": {
8657
+ "name": "VscElement",
8658
+ "module": "/src/includes/VscElement.js"
8659
+ },
8660
+ "tagName": "vscode-tab-header",
8661
+ "customElement": true
8662
+ }
8663
+ ],
8664
+ "exports": [
8665
+ {
8666
+ "kind": "js",
8667
+ "name": "VscodeTabHeader",
8668
+ "declaration": {
8669
+ "name": "VscodeTabHeader",
8670
+ "module": "src/vscode-tab-header/vscode-tab-header.ts"
8671
+ }
8672
+ },
8673
+ {
8674
+ "kind": "custom-element-definition",
8675
+ "name": "vscode-tab-header",
8676
+ "declaration": {
8677
+ "name": "VscodeTabHeader",
8678
+ "module": "src/vscode-tab-header/vscode-tab-header.ts"
8679
+ }
8680
+ }
8681
+ ]
8682
+ },
8683
+ {
8684
+ "kind": "javascript-module",
8685
+ "path": "src/vscode-tab-panel/vscode-tab-panel.styles.ts",
8686
+ "declarations": [
8687
+ {
8688
+ "kind": "variable",
8689
+ "name": "styles",
8690
+ "type": {
8691
+ "text": "CSSResultGroup"
8692
+ },
8693
+ "default": "[ defaultStyles, css` :host { display: block; overflow: hidden; } :host(:focus-visible) { outline-color: var(--vscode-focusBorder, #0078d4); outline-offset: 3px; outline-style: solid; outline-width: 1px; } :host([panel]) { background-color: var(--vscode-panel-background, #181818); } `, ]"
8694
+ }
8695
+ ],
8696
+ "exports": [
8697
+ {
8698
+ "kind": "js",
8699
+ "name": "default",
8700
+ "declaration": {
8701
+ "name": "styles",
8702
+ "module": "src/vscode-tab-panel/vscode-tab-panel.styles.ts"
8703
+ }
8704
+ }
8705
+ ]
8706
+ },
8707
+ {
8708
+ "kind": "javascript-module",
8709
+ "path": "src/vscode-tab-panel/vscode-tab-panel.ts",
8710
+ "declarations": [
8711
+ {
8712
+ "kind": "class",
8713
+ "description": "",
8714
+ "name": "VscodeTabPanel",
8715
+ "cssProperties": [
8695
8716
  {
8696
- "kind": "method",
8697
- "name": "_resizeTableBody",
8698
- "privacy": "private"
8717
+ "name": "--vscode-focusBorder",
8718
+ "default": "#0078d4"
8699
8719
  },
8700
8720
  {
8701
- "kind": "method",
8702
- "name": "_initResizeObserver",
8703
- "privacy": "private"
8704
- },
8721
+ "name": "--vscode-panel--background",
8722
+ "default": "#181818"
8723
+ }
8724
+ ],
8725
+ "members": [
8705
8726
  {
8706
8727
  "kind": "field",
8707
- "name": "_componentResizeObserverCallback",
8708
- "privacy": "private"
8728
+ "name": "hidden",
8729
+ "type": {
8730
+ "text": "boolean"
8731
+ },
8732
+ "default": "false",
8733
+ "attribute": "hidden",
8734
+ "reflects": true
8709
8735
  },
8710
8736
  {
8711
8737
  "kind": "field",
8712
- "name": "_headerResizeObserverCallback",
8713
- "privacy": "private"
8738
+ "name": "panel",
8739
+ "type": {
8740
+ "text": "boolean"
8741
+ },
8742
+ "default": "false",
8743
+ "description": "Panel-like look",
8744
+ "attribute": "panel",
8745
+ "reflects": true
8714
8746
  },
8715
8747
  {
8716
8748
  "kind": "field",
8717
- "name": "_bodyResizeObserverCallback",
8718
- "privacy": "private"
8719
- },
8720
- {
8721
- "kind": "method",
8722
- "name": "_calcColWidthPercentages",
8723
- "privacy": "private",
8724
- "return": {
8725
- "type": {
8726
- "text": "number[]"
8727
- }
8749
+ "name": "version",
8750
+ "type": {
8751
+ "text": "string"
8752
+ },
8753
+ "description": "VSCode Elements version",
8754
+ "readonly": true,
8755
+ "inheritedFrom": {
8756
+ "name": "VscElement",
8757
+ "module": "src/includes/VscElement.ts"
8728
8758
  }
8729
- },
8759
+ }
8760
+ ],
8761
+ "attributes": [
8730
8762
  {
8731
- "kind": "method",
8732
- "name": "_initHeaderCellSizes",
8733
- "privacy": "private",
8734
- "parameters": [
8735
- {
8736
- "name": "colWidths",
8737
- "type": {
8738
- "text": "number[]"
8739
- }
8740
- }
8741
- ]
8763
+ "name": "hidden",
8764
+ "type": {
8765
+ "text": "boolean"
8766
+ },
8767
+ "default": "false",
8768
+ "fieldName": "hidden"
8742
8769
  },
8743
8770
  {
8744
- "kind": "method",
8745
- "name": "_initBodyColumnSizes",
8746
- "privacy": "private",
8747
- "parameters": [
8748
- {
8749
- "name": "colWidths",
8750
- "type": {
8751
- "text": "number[]"
8752
- }
8753
- }
8754
- ]
8771
+ "name": "panel",
8772
+ "type": {
8773
+ "text": "boolean"
8774
+ },
8775
+ "default": "false",
8776
+ "description": "Panel-like look",
8777
+ "fieldName": "panel"
8778
+ }
8779
+ ],
8780
+ "superclass": {
8781
+ "name": "VscElement",
8782
+ "module": "/src/includes/VscElement.js"
8783
+ },
8784
+ "tagName": "vscode-tab-panel",
8785
+ "customElement": true
8786
+ }
8787
+ ],
8788
+ "exports": [
8789
+ {
8790
+ "kind": "js",
8791
+ "name": "VscodeTabPanel",
8792
+ "declaration": {
8793
+ "name": "VscodeTabPanel",
8794
+ "module": "src/vscode-tab-panel/vscode-tab-panel.ts"
8795
+ }
8796
+ },
8797
+ {
8798
+ "kind": "custom-element-definition",
8799
+ "name": "vscode-tab-panel",
8800
+ "declaration": {
8801
+ "name": "VscodeTabPanel",
8802
+ "module": "src/vscode-tab-panel/vscode-tab-panel.ts"
8803
+ }
8804
+ }
8805
+ ]
8806
+ },
8807
+ {
8808
+ "kind": "javascript-module",
8809
+ "path": "src/vscode-table/helpers.ts",
8810
+ "declarations": [
8811
+ {
8812
+ "kind": "function",
8813
+ "name": "rawValueToPercentage",
8814
+ "return": {
8815
+ "type": {
8816
+ "text": "number | null"
8817
+ }
8818
+ },
8819
+ "parameters": [
8820
+ {
8821
+ "name": "raw",
8822
+ "type": {
8823
+ "text": "string | number"
8824
+ }
8755
8825
  },
8756
8826
  {
8757
- "kind": "method",
8758
- "name": "_initSashes",
8759
- "privacy": "private",
8760
- "parameters": [
8761
- {
8762
- "name": "colWidths",
8763
- "type": {
8764
- "text": "number[]"
8765
- }
8766
- }
8767
- ]
8827
+ "name": "base",
8828
+ "type": {
8829
+ "text": "number"
8830
+ }
8831
+ }
8832
+ ]
8833
+ }
8834
+ ],
8835
+ "exports": [
8836
+ {
8837
+ "kind": "js",
8838
+ "name": "rawValueToPercentage",
8839
+ "declaration": {
8840
+ "name": "rawValueToPercentage",
8841
+ "module": "src/vscode-table/helpers.ts"
8842
+ }
8843
+ }
8844
+ ]
8845
+ },
8846
+ {
8847
+ "kind": "javascript-module",
8848
+ "path": "src/vscode-table/vscode-table.styles.ts",
8849
+ "declarations": [
8850
+ {
8851
+ "kind": "variable",
8852
+ "name": "styles",
8853
+ "type": {
8854
+ "text": "CSSResultGroup"
8855
+ },
8856
+ "default": "[ baseStyles, css` :host { display: block; --vsc-row-even-background: transparent; --vsc-row-odd-background: transparent; --vsc-row-border-bottom-width: 0; --vsc-row-border-top-width: 0; --vsc-row-display: table-row; } :host([bordered]), :host([bordered-rows]) { --vsc-row-border-bottom-width: 1px; } :host([compact]) { --vsc-row-display: block; } :host([bordered][compact]), :host([bordered-rows][compact]) { --vsc-row-border-bottom-width: 0; --vsc-row-border-top-width: 1px; } :host([zebra]) { --vsc-row-even-background: var( --vscode-keybindingTable-rowsBackground, rgba(204, 204, 204, 0.04) ); } :host([zebra-odd]) { --vsc-row-odd-background: var( --vscode-keybindingTable-rowsBackground, rgba(204, 204, 204, 0.04) ); } ::slotted(vscode-table-row) { width: 100%; } .wrapper { height: 100%; max-width: 100%; overflow: hidden; position: relative; width: 100%; } .wrapper.select-disabled { user-select: none; } .wrapper.resize-cursor { cursor: ew-resize; } .wrapper.compact-view .header-slot-wrapper { height: 0; overflow: hidden; } .scrollable { height: 100%; } .scrollable:before { background-color: transparent; content: ''; display: block; height: 1px; position: absolute; width: 100%; } .wrapper:not(.compact-view) .scrollable:not([scrolled]):before { background-color: var( --vscode-editorGroup-border, rgba(255, 255, 255, 0.09) ); } .sash { visibility: hidden; } :host([bordered-columns]) .sash, :host([bordered]) .sash { visibility: visible; } :host([resizable]) .wrapper:hover .sash { visibility: visible; } .sash { height: 100%; position: absolute; top: 0; width: 1px; } .wrapper.compact-view .sash { display: none; } .sash.resizable { cursor: ew-resize; } .sash-visible { background-color: var( --vscode-editorGroup-border, rgba(255, 255, 255, 0.09) ); height: 100%; position: absolute; top: 30px; width: 1px; } .sash.hover .sash-visible { background-color: var(--vscode-sash-hoverBorder, #0078d4); transition: background-color 50ms linear 300ms; } .sash .sash-clickable { background-color: transparent; height: 100%; left: -2px; position: absolute; width: 5px; } `, ]"
8857
+ }
8858
+ ],
8859
+ "exports": [
8860
+ {
8861
+ "kind": "js",
8862
+ "name": "default",
8863
+ "declaration": {
8864
+ "name": "styles",
8865
+ "module": "src/vscode-table/vscode-table.styles.ts"
8866
+ }
8867
+ }
8868
+ ]
8869
+ },
8870
+ {
8871
+ "kind": "javascript-module",
8872
+ "path": "src/vscode-table/vscode-table.ts",
8873
+ "declarations": [
8874
+ {
8875
+ "kind": "class",
8876
+ "description": "",
8877
+ "name": "VscodeTable",
8878
+ "cssProperties": [
8879
+ {
8880
+ "name": "--vscode-editorGroup-border",
8881
+ "default": "rgba(255, 255, 255, 0.09)"
8768
8882
  },
8769
8883
  {
8770
- "kind": "method",
8771
- "name": "_initDefaultColumnSizes",
8772
- "privacy": "private"
8884
+ "name": "--vscode-keybindingTable-rowsBackground",
8885
+ "default": "rgba(204, 204, 204, 0.04)"
8773
8886
  },
8774
8887
  {
8775
- "kind": "method",
8776
- "name": "_updateResizeHandlersSize",
8777
- "privacy": "private"
8888
+ "name": "--vscode-sash-hoverBorder",
8889
+ "default": "#0078d4"
8890
+ }
8891
+ ],
8892
+ "members": [
8893
+ {
8894
+ "kind": "field",
8895
+ "name": "resizable",
8896
+ "type": {
8897
+ "text": "boolean"
8898
+ },
8899
+ "default": "false",
8900
+ "attribute": "resizable",
8901
+ "reflects": true
8778
8902
  },
8779
8903
  {
8780
- "kind": "method",
8781
- "name": "_applyCompactViewColumnLabels",
8782
- "privacy": "private"
8904
+ "kind": "field",
8905
+ "name": "responsive",
8906
+ "type": {
8907
+ "text": "boolean"
8908
+ },
8909
+ "default": "false",
8910
+ "attribute": "responsive",
8911
+ "reflects": true
8783
8912
  },
8784
8913
  {
8785
- "kind": "method",
8786
- "name": "_clearCompactViewColumnLabels",
8787
- "privacy": "private"
8914
+ "kind": "field",
8915
+ "name": "bordered",
8916
+ "type": {
8917
+ "text": "boolean"
8918
+ },
8919
+ "default": "false",
8920
+ "description": "Both rows and columns are separated by borders.",
8921
+ "attribute": "bordered",
8922
+ "reflects": true
8788
8923
  },
8789
8924
  {
8790
- "kind": "method",
8791
- "name": "_toggleCompactView",
8792
- "privacy": "private"
8925
+ "kind": "field",
8926
+ "name": "borderedColumns",
8927
+ "type": {
8928
+ "text": "boolean"
8929
+ },
8930
+ "default": "false",
8931
+ "description": "Columns are separated by borders.",
8932
+ "attribute": "bordered-columns",
8933
+ "reflects": true
8793
8934
  },
8794
8935
  {
8795
- "kind": "method",
8796
- "name": "_onDefaultSlotChange",
8797
- "privacy": "private"
8936
+ "kind": "field",
8937
+ "name": "borderedRows",
8938
+ "type": {
8939
+ "text": "boolean"
8940
+ },
8941
+ "default": "false",
8942
+ "description": "Rows are separated by borders.",
8943
+ "attribute": "bordered-rows",
8944
+ "reflects": true
8798
8945
  },
8799
8946
  {
8800
- "kind": "method",
8801
- "name": "_onHeaderSlotChange",
8802
- "privacy": "private"
8947
+ "kind": "field",
8948
+ "name": "breakpoint",
8949
+ "type": {
8950
+ "text": "number"
8951
+ },
8952
+ "default": "300",
8953
+ "attribute": "breakpoint"
8803
8954
  },
8804
8955
  {
8805
- "kind": "method",
8806
- "name": "_onBodySlotChange",
8807
- "privacy": "private"
8956
+ "kind": "field",
8957
+ "name": "columns",
8958
+ "description": "Initial column sizes in a JSON-encoded array.\nAccepted values are:\n- number\n- string-type number (ex.: \"100\")\n- px value (ex.: \"100px\")\n- percentage value (ex.: \"50%\")\n- percentage value (ex.: \"50%\")\n- \"auto\" keyword",
8959
+ "type": {
8960
+ "text": "string[]"
8961
+ },
8962
+ "attribute": "columns"
8808
8963
  },
8809
8964
  {
8810
- "kind": "method",
8811
- "name": "_onSashMouseOver",
8812
- "privacy": "private",
8813
- "parameters": [
8814
- {
8815
- "name": "event",
8816
- "type": {
8817
- "text": "MouseEvent"
8818
- }
8819
- }
8820
- ]
8965
+ "kind": "field",
8966
+ "name": "minColumnWidth",
8967
+ "type": {
8968
+ "text": "string"
8969
+ },
8970
+ "default": "'50px'",
8971
+ "description": "Minimum column width. Valid values are:\n- number\n- string-type number (ex.: \"100\")\n- px value (ex.: \"100px\")\n- percentage value (ex.: \"50%\")\n- percentage value (ex.: \"50%\")\n- \"auto\" keyword",
8972
+ "attribute": "min-column-width"
8821
8973
  },
8822
8974
  {
8823
- "kind": "method",
8824
- "name": "_onSashMouseOut",
8825
- "privacy": "private",
8826
- "parameters": [
8827
- {
8828
- "name": "event",
8829
- "type": {
8830
- "text": "MouseEvent"
8831
- }
8832
- }
8833
- ]
8975
+ "kind": "field",
8976
+ "name": "delayedResizing",
8977
+ "type": {
8978
+ "text": "boolean"
8979
+ },
8980
+ "default": "false",
8981
+ "attribute": "delayed-resizing",
8982
+ "reflects": true
8834
8983
  },
8835
8984
  {
8836
- "kind": "method",
8837
- "name": "_onSashMouseDown",
8838
- "privacy": "private",
8839
- "parameters": [
8840
- {
8841
- "name": "event",
8842
- "type": {
8843
- "text": "MouseEvent"
8844
- }
8845
- }
8846
- ]
8847
- },
8848
- {
8849
- "kind": "method",
8850
- "name": "_updateActiveSashPosition",
8851
- "privacy": "private",
8852
- "parameters": [
8853
- {
8854
- "name": "mouseX",
8855
- "type": {
8856
- "text": "number"
8857
- }
8858
- }
8859
- ]
8985
+ "kind": "field",
8986
+ "name": "zebra",
8987
+ "type": {
8988
+ "text": "boolean"
8989
+ },
8990
+ "default": "false",
8991
+ "description": "Zebra stripes, even rows are tinted.",
8992
+ "attribute": "zebra",
8993
+ "reflects": true
8860
8994
  },
8861
8995
  {
8862
- "kind": "method",
8863
- "name": "_getSashPositions",
8864
- "privacy": "private",
8865
- "return": {
8866
- "type": {
8867
- "text": "{\n sashPos: number;\n prevSashPos: number;\n nextSashPos: number;\n }"
8868
- }
8869
- }
8996
+ "kind": "field",
8997
+ "name": "zebraOdd",
8998
+ "type": {
8999
+ "text": "boolean"
9000
+ },
9001
+ "default": "false",
9002
+ "description": "Zebra stripes, odd rows are tinted.",
9003
+ "attribute": "zebra-odd",
9004
+ "reflects": true
8870
9005
  },
8871
9006
  {
8872
- "kind": "method",
8873
- "name": "_resizeColumns",
8874
- "privacy": "private",
8875
- "parameters": [
8876
- {
8877
- "name": "resizeBodyCells",
8878
- "default": "true"
8879
- }
8880
- ]
9007
+ "kind": "field",
9008
+ "name": "_bodySlot",
9009
+ "type": {
9010
+ "text": "HTMLSlotElement"
9011
+ },
9012
+ "privacy": "private"
8881
9013
  },
8882
9014
  {
8883
9015
  "kind": "field",
8884
- "name": "_onResizingMouseMove",
9016
+ "name": "_headerElement",
9017
+ "type": {
9018
+ "text": "HTMLDivElement"
9019
+ },
8885
9020
  "privacy": "private"
8886
9021
  },
8887
9022
  {
8888
9023
  "kind": "field",
8889
- "name": "_onResizingMouseUp",
9024
+ "name": "_scrollableElement",
9025
+ "type": {
9026
+ "text": "VscodeScrollable"
9027
+ },
8890
9028
  "privacy": "private"
8891
9029
  },
8892
9030
  {
8893
9031
  "kind": "field",
8894
- "name": "version",
9032
+ "name": "_sashVisibleElements",
8895
9033
  "type": {
8896
- "text": "string"
9034
+ "text": "HTMLDivElement[]"
8897
9035
  },
8898
- "description": "VSCode Elements version",
8899
- "readonly": true,
8900
- "inheritedFrom": {
8901
- "name": "VscElement",
8902
- "module": "src/includes/VscElement.ts"
8903
- }
8904
- }
8905
- ],
8906
- "attributes": [
9036
+ "privacy": "private"
9037
+ },
8907
9038
  {
8908
- "name": "resizable",
9039
+ "kind": "field",
9040
+ "name": "_assignedElements",
8909
9041
  "type": {
8910
- "text": "boolean"
9042
+ "text": "NodeListOf<HTMLElement>"
8911
9043
  },
8912
- "default": "false",
8913
- "fieldName": "resizable"
9044
+ "privacy": "private"
8914
9045
  },
8915
9046
  {
8916
- "name": "responsive",
9047
+ "kind": "field",
9048
+ "name": "_assignedHeaderElements",
8917
9049
  "type": {
8918
- "text": "boolean"
9050
+ "text": "NodeListOf<VscodeTableHeader>"
8919
9051
  },
8920
- "default": "false",
8921
- "fieldName": "responsive"
9052
+ "privacy": "private"
8922
9053
  },
8923
9054
  {
8924
- "name": "bordered",
9055
+ "kind": "field",
9056
+ "name": "_assignedBodyElements",
8925
9057
  "type": {
8926
- "text": "boolean"
9058
+ "text": "NodeListOf<VscodeTableBody>"
8927
9059
  },
8928
- "default": "false",
8929
- "description": "Both rows and columns are separated by borders.",
8930
- "fieldName": "bordered"
9060
+ "privacy": "private"
8931
9061
  },
8932
9062
  {
8933
- "name": "bordered-columns",
9063
+ "kind": "field",
9064
+ "name": "_sashPositions",
8934
9065
  "type": {
8935
- "text": "boolean"
9066
+ "text": "number[]"
8936
9067
  },
8937
- "default": "false",
8938
- "description": "Columns are separated by borders.",
8939
- "fieldName": "borderedColumns"
9068
+ "privacy": "private",
9069
+ "default": "[]",
9070
+ "description": "Sash positions in percentage"
8940
9071
  },
8941
9072
  {
8942
- "name": "bordered-rows",
9073
+ "kind": "field",
9074
+ "name": "_isDragging",
8943
9075
  "type": {
8944
9076
  "text": "boolean"
8945
9077
  },
8946
- "default": "false",
8947
- "description": "Rows are separated by borders.",
8948
- "fieldName": "borderedRows"
9078
+ "privacy": "private",
9079
+ "default": "false"
8949
9080
  },
8950
9081
  {
8951
- "name": "breakpoint",
9082
+ "kind": "field",
9083
+ "name": "_sashHovers",
8952
9084
  "type": {
8953
- "text": "number"
9085
+ "text": "boolean[]"
8954
9086
  },
8955
- "default": "300",
8956
- "fieldName": "breakpoint"
9087
+ "privacy": "private",
9088
+ "default": "[]",
9089
+ "description": "Sash hover state flags, used in the render."
8957
9090
  },
8958
9091
  {
8959
- "name": "columns",
8960
- "description": "Initial column sizes in a JSON-encoded array.\nAccepted values are:\n- number\n- string-type number (ex.: \"100\")\n- px value (ex.: \"100px\")\n- percentage value (ex.: \"50%\")\n- percentage value (ex.: \"50%\")\n- \"auto\" keyword",
9092
+ "kind": "field",
9093
+ "name": "_columns",
8961
9094
  "type": {
8962
9095
  "text": "string[]"
8963
9096
  },
8964
- "fieldName": "columns"
9097
+ "privacy": "private",
9098
+ "default": "[]"
8965
9099
  },
8966
9100
  {
8967
- "name": "min-column-width",
9101
+ "kind": "field",
9102
+ "name": "_componentResizeObserver",
8968
9103
  "type": {
8969
- "text": "string"
9104
+ "text": "ResizeObserver | undefined"
8970
9105
  },
8971
- "default": "'50px'",
8972
- "description": "Minimum column width. Valid values are:\n- number\n- string-type number (ex.: \"100\")\n- px value (ex.: \"100px\")\n- percentage value (ex.: \"50%\")\n- percentage value (ex.: \"50%\")\n- \"auto\" keyword",
8973
- "fieldName": "minColumnWidth"
9106
+ "privacy": "private"
8974
9107
  },
8975
9108
  {
8976
- "name": "delayed-resizing",
9109
+ "kind": "field",
9110
+ "name": "_headerResizeObserver",
8977
9111
  "type": {
8978
- "text": "boolean"
9112
+ "text": "ResizeObserver | undefined"
8979
9113
  },
8980
- "default": "false",
8981
- "fieldName": "delayedResizing"
9114
+ "privacy": "private"
8982
9115
  },
8983
9116
  {
8984
- "name": "zebra",
9117
+ "kind": "field",
9118
+ "name": "_bodyResizeObserver",
8985
9119
  "type": {
8986
- "text": "boolean"
9120
+ "text": "ResizeObserver | undefined"
8987
9121
  },
8988
- "default": "false",
8989
- "description": "Zebra stripes, even rows are tinted.",
8990
- "fieldName": "zebra"
9122
+ "privacy": "private"
8991
9123
  },
8992
9124
  {
8993
- "name": "zebra-odd",
9125
+ "kind": "field",
9126
+ "name": "_activeSashElementIndex",
8994
9127
  "type": {
8995
- "text": "boolean"
9128
+ "text": "number"
8996
9129
  },
8997
- "default": "false",
8998
- "description": "Zebra stripes, odd rows are tinted.",
8999
- "fieldName": "zebraOdd"
9000
- }
9001
- ],
9002
- "superclass": {
9003
- "name": "VscElement",
9004
- "module": "/src/includes/VscElement.js"
9005
- },
9006
- "tagName": "vscode-table",
9007
- "customElement": true
9008
- }
9009
- ],
9010
- "exports": [
9011
- {
9012
- "kind": "js",
9013
- "name": "VscodeTable",
9014
- "declaration": {
9015
- "name": "VscodeTable",
9016
- "module": "src/vscode-table/vscode-table.ts"
9017
- }
9018
- },
9019
- {
9020
- "kind": "custom-element-definition",
9021
- "name": "vscode-table",
9022
- "declaration": {
9023
- "name": "VscodeTable",
9024
- "module": "src/vscode-table/vscode-table.ts"
9025
- }
9026
- }
9027
- ]
9028
- },
9029
- {
9030
- "kind": "javascript-module",
9031
- "path": "src/vscode-table-body/vscode-table-body.styles.ts",
9032
- "declarations": [
9033
- {
9034
- "kind": "variable",
9035
- "name": "styles",
9036
- "type": {
9037
- "text": "CSSResultGroup"
9038
- },
9039
- "default": "[ defaultStyles, css` :host { display: table; table-layout: fixed; width: 100%; } ::slotted(vscode-table-row:nth-child(even)) { background-color: var(--vsc-row-even-background); } ::slotted(vscode-table-row:nth-child(odd)) { background-color: var(--vsc-row-odd-background); } `, ]"
9040
- }
9041
- ],
9042
- "exports": [
9043
- {
9044
- "kind": "js",
9045
- "name": "default",
9046
- "declaration": {
9047
- "name": "styles",
9048
- "module": "src/vscode-table-body/vscode-table-body.styles.ts"
9049
- }
9050
- }
9051
- ]
9052
- },
9053
- {
9054
- "kind": "javascript-module",
9055
- "path": "src/vscode-table-body/vscode-table-body.ts",
9056
- "declarations": [
9057
- {
9058
- "kind": "class",
9059
- "description": "",
9060
- "name": "VscodeTableBody",
9061
- "members": [
9130
+ "privacy": "private",
9131
+ "default": "-1"
9132
+ },
9062
9133
  {
9063
9134
  "kind": "field",
9064
- "name": "version",
9135
+ "name": "_activeSashCursorOffset",
9065
9136
  "type": {
9066
- "text": "string"
9137
+ "text": "number"
9067
9138
  },
9068
- "description": "VSCode Elements version",
9069
- "readonly": true,
9070
- "inheritedFrom": {
9071
- "name": "VscElement",
9072
- "module": "src/includes/VscElement.ts"
9073
- }
9074
- }
9075
- ],
9076
- "superclass": {
9077
- "name": "VscElement",
9078
- "module": "/src/includes/VscElement.js"
9079
- },
9080
- "tagName": "vscode-table-body",
9081
- "customElement": true
9082
- }
9083
- ],
9084
- "exports": [
9085
- {
9086
- "kind": "js",
9087
- "name": "VscodeTableBody",
9088
- "declaration": {
9089
- "name": "VscodeTableBody",
9090
- "module": "src/vscode-table-body/vscode-table-body.ts"
9091
- }
9092
- },
9093
- {
9094
- "kind": "custom-element-definition",
9095
- "name": "vscode-table-body",
9096
- "declaration": {
9097
- "name": "VscodeTableBody",
9098
- "module": "src/vscode-table-body/vscode-table-body.ts"
9099
- }
9100
- }
9101
- ]
9102
- },
9103
- {
9104
- "kind": "javascript-module",
9105
- "path": "src/vscode-table-cell/vscode-table-cell.styles.ts",
9106
- "declarations": [
9107
- {
9108
- "kind": "variable",
9109
- "name": "styles",
9110
- "type": {
9111
- "text": "CSSResultGroup"
9112
- },
9113
- "default": "[ defaultStyles, css` :host { border-bottom-color: var( --vscode-editorGroup-border, rgba(255, 255, 255, 0.09) ); border-bottom-style: solid; border-bottom-width: var(--vsc-row-border-bottom-width); box-sizing: border-box; color: var(--vscode-foreground, #cccccc); display: table-cell; font-family: var(--vscode-font-family, sans-serif); font-size: var(--vscode-font-size, 13px); height: 24px; overflow: hidden; padding-left: 10px; text-overflow: ellipsis; vertical-align: middle; white-space: nowrap; } :host([compact]) { display: block; height: auto; padding-bottom: 5px; width: 100% !important; } :host([compact]:first-child) { padding-top: 10px; } :host([compact]:last-child) { padding-bottom: 10px; } .wrapper { overflow: inherit; text-overflow: inherit; white-space: inherit; width: 100%; } .column-label { font-weight: bold; } `, ]"
9114
- }
9115
- ],
9116
- "exports": [
9117
- {
9118
- "kind": "js",
9119
- "name": "default",
9120
- "declaration": {
9121
- "name": "styles",
9122
- "module": "src/vscode-table-cell/vscode-table-cell.styles.ts"
9123
- }
9124
- }
9125
- ]
9126
- },
9127
- {
9128
- "kind": "javascript-module",
9129
- "path": "src/vscode-table-cell/vscode-table-cell.ts",
9130
- "declarations": [
9131
- {
9132
- "kind": "class",
9133
- "description": "",
9134
- "name": "VscodeTableCell",
9135
- "cssProperties": [
9136
- {
9137
- "name": "--vscode-editorGroup-border",
9138
- "default": "rgba(255, 255, 255, 0.09)"
9139
+ "privacy": "private",
9140
+ "default": "0"
9139
9141
  },
9140
9142
  {
9141
- "name": "--vscode-foreground",
9142
- "default": "#cccccc"
9143
+ "kind": "field",
9144
+ "name": "_componentX",
9145
+ "type": {
9146
+ "text": "number"
9147
+ },
9148
+ "privacy": "private",
9149
+ "default": "0"
9143
9150
  },
9144
9151
  {
9145
- "name": "--vscode-font-family",
9146
- "default": "sans-serif"
9152
+ "kind": "field",
9153
+ "name": "_componentH",
9154
+ "type": {
9155
+ "text": "number"
9156
+ },
9157
+ "privacy": "private",
9158
+ "default": "0"
9147
9159
  },
9148
- {
9149
- "name": "--vscode-font-size",
9150
- "default": "13px"
9151
- }
9152
- ],
9153
- "members": [
9154
9160
  {
9155
9161
  "kind": "field",
9156
- "name": "columnLabel",
9162
+ "name": "_componentW",
9157
9163
  "type": {
9158
- "text": "string"
9164
+ "text": "number"
9159
9165
  },
9160
- "default": "''",
9161
- "description": "Cell label in the compact view of the responsive mode. For internal use only.",
9162
- "attribute": "column-label"
9166
+ "privacy": "private",
9167
+ "default": "0"
9163
9168
  },
9164
9169
  {
9165
9170
  "kind": "field",
9166
- "name": "compact",
9171
+ "name": "_headerCells",
9167
9172
  "type": {
9168
- "text": "boolean"
9173
+ "text": "VscodeTableHeaderCell[]"
9169
9174
  },
9170
- "default": "false",
9171
- "description": "Enable compact view in the responsive mode. For internal use only.",
9172
- "attribute": "compact",
9173
- "reflects": true
9175
+ "privacy": "private",
9176
+ "default": "[]",
9177
+ "description": "Cached querySelectorAll result. Updated when the header slot changes.\nIt shouldn't be used directly, check the \"_getHeaderCells\" function."
9174
9178
  },
9175
9179
  {
9176
9180
  "kind": "field",
9177
- "name": "version",
9181
+ "name": "_cellsOfFirstRow",
9178
9182
  "type": {
9179
- "text": "string"
9183
+ "text": "VscodeTableCell[]"
9180
9184
  },
9181
- "description": "VSCode Elements version",
9182
- "readonly": true,
9183
- "inheritedFrom": {
9184
- "name": "VscElement",
9185
- "module": "src/includes/VscElement.ts"
9186
- }
9187
- }
9188
- ],
9189
- "attributes": [
9185
+ "privacy": "private",
9186
+ "default": "[]",
9187
+ "description": "Cached querySelectorAll result. Updated when the body slot changes.\nIt shouldn't be used directly, check the \"_getCellsOfFirstRow\" function."
9188
+ },
9190
9189
  {
9191
- "name": "column-label",
9190
+ "kind": "field",
9191
+ "name": "_cellsToResize",
9192
9192
  "type": {
9193
- "text": "string"
9193
+ "text": "VscodeTableCell[]"
9194
9194
  },
9195
- "default": "''",
9196
- "description": "Cell label in the compact view of the responsive mode. For internal use only.",
9197
- "fieldName": "columnLabel"
9195
+ "privacy": "private"
9198
9196
  },
9199
9197
  {
9200
- "name": "compact",
9198
+ "kind": "field",
9199
+ "name": "_headerCellsToResize",
9201
9200
  "type": {
9202
- "text": "boolean"
9201
+ "text": "VscodeTableHeaderCell[]"
9203
9202
  },
9204
- "default": "false",
9205
- "description": "Enable compact view in the responsive mode. For internal use only.",
9206
- "fieldName": "compact"
9207
- }
9208
- ],
9209
- "superclass": {
9210
- "name": "VscElement",
9211
- "module": "/src/includes/VscElement.js"
9212
- },
9213
- "tagName": "vscode-table-cell",
9214
- "customElement": true
9215
- }
9216
- ],
9217
- "exports": [
9218
- {
9219
- "kind": "js",
9220
- "name": "VscodeTableCell",
9221
- "declaration": {
9222
- "name": "VscodeTableCell",
9223
- "module": "src/vscode-table-cell/vscode-table-cell.ts"
9224
- }
9225
- },
9226
- {
9227
- "kind": "custom-element-definition",
9228
- "name": "vscode-table-cell",
9229
- "declaration": {
9230
- "name": "VscodeTableCell",
9231
- "module": "src/vscode-table-cell/vscode-table-cell.ts"
9232
- }
9233
- }
9234
- ]
9235
- },
9236
- {
9237
- "kind": "javascript-module",
9238
- "path": "src/vscode-table-header/vscode-table-header.styles.ts",
9239
- "declarations": [
9240
- {
9241
- "kind": "variable",
9242
- "name": "styles",
9243
- "type": {
9244
- "text": "CSSResultGroup"
9245
- },
9246
- "default": "[ defaultStyles, css` :host { background-color: var( --vscode-keybindingTable-headerBackground, rgba(204, 204, 204, 0.04) ); display: table; table-layout: fixed; width: 100%; } `, ]"
9247
- }
9248
- ],
9249
- "exports": [
9250
- {
9251
- "kind": "js",
9252
- "name": "default",
9253
- "declaration": {
9254
- "name": "styles",
9255
- "module": "src/vscode-table-header/vscode-table-header.styles.ts"
9256
- }
9257
- }
9258
- ]
9259
- },
9260
- {
9261
- "kind": "javascript-module",
9262
- "path": "src/vscode-table-header/vscode-table-header.ts",
9263
- "declarations": [
9264
- {
9265
- "kind": "class",
9266
- "description": "",
9267
- "name": "VscodeTableHeader",
9268
- "cssProperties": [
9203
+ "privacy": "private"
9204
+ },
9269
9205
  {
9270
- "description": "Table header background",
9271
- "name": "--vscode-keybindingTable-headerBackground",
9272
- "default": "rgba(204, 204, 204, 0.04)"
9273
- }
9274
- ],
9275
- "members": [
9206
+ "kind": "field",
9207
+ "name": "_prevHeaderHeight",
9208
+ "type": {
9209
+ "text": "number"
9210
+ },
9211
+ "privacy": "private",
9212
+ "default": "0"
9213
+ },
9276
9214
  {
9277
9215
  "kind": "field",
9278
- "name": "version",
9216
+ "name": "_prevComponentHeight",
9279
9217
  "type": {
9280
- "text": "string"
9218
+ "text": "number"
9281
9219
  },
9282
- "description": "VSCode Elements version",
9283
- "readonly": true,
9284
- "inheritedFrom": {
9285
- "name": "VscElement",
9286
- "module": "src/includes/VscElement.ts"
9287
- }
9288
- }
9289
- ],
9290
- "superclass": {
9291
- "name": "VscElement",
9292
- "module": "/src/includes/VscElement.js"
9293
- },
9294
- "tagName": "vscode-table-header",
9295
- "customElement": true
9296
- }
9297
- ],
9298
- "exports": [
9299
- {
9300
- "kind": "js",
9301
- "name": "VscodeTableHeader",
9302
- "declaration": {
9303
- "name": "VscodeTableHeader",
9304
- "module": "src/vscode-table-header/vscode-table-header.ts"
9305
- }
9306
- },
9307
- {
9308
- "kind": "custom-element-definition",
9309
- "name": "vscode-table-header",
9310
- "declaration": {
9311
- "name": "VscodeTableHeader",
9312
- "module": "src/vscode-table-header/vscode-table-header.ts"
9313
- }
9314
- }
9315
- ]
9316
- },
9317
- {
9318
- "kind": "javascript-module",
9319
- "path": "src/vscode-table-header-cell/vscode-table-header-cell.styles.ts",
9320
- "declarations": [
9321
- {
9322
- "kind": "variable",
9323
- "name": "styles",
9324
- "type": {
9325
- "text": "CSSResultGroup"
9326
- },
9327
- "default": "[ defaultStyles, css` :host { box-sizing: border-box; color: var(--vscode-foreground, #cccccc); display: table-cell; font-family: var(--vscode-font-family, sans-serif); font-size: var(--vscode-font-size, 13px); font-weight: bold; line-height: 20px; overflow: hidden; padding-bottom: 5px; padding-left: 10px; padding-right: 0; padding-top: 5px; text-overflow: ellipsis; white-space: nowrap; } .wrapper { box-sizing: inherit; overflow: inherit; text-overflow: inherit; white-space: inherit; width: 100%; } `, ]"
9328
- }
9329
- ],
9330
- "exports": [
9331
- {
9332
- "kind": "js",
9333
- "name": "default",
9334
- "declaration": {
9335
- "name": "styles",
9336
- "module": "src/vscode-table-header-cell/vscode-table-header-cell.styles.ts"
9337
- }
9338
- }
9339
- ]
9340
- },
9341
- {
9342
- "kind": "javascript-module",
9343
- "path": "src/vscode-table-header-cell/vscode-table-header-cell.ts",
9344
- "declarations": [
9345
- {
9346
- "kind": "class",
9347
- "description": "",
9348
- "name": "VscodeTableHeaderCell",
9349
- "cssProperties": [
9220
+ "privacy": "private",
9221
+ "default": "0"
9222
+ },
9350
9223
  {
9351
- "name": "--vscode-foreground",
9352
- "default": "#cccccc"
9224
+ "kind": "method",
9225
+ "name": "_px2Percent",
9226
+ "privacy": "private",
9227
+ "parameters": [
9228
+ {
9229
+ "name": "px",
9230
+ "type": {
9231
+ "text": "number"
9232
+ }
9233
+ }
9234
+ ]
9353
9235
  },
9354
9236
  {
9355
- "name": "--vscode-font-family",
9356
- "default": "sans-serif"
9237
+ "kind": "method",
9238
+ "name": "_percent2Px",
9239
+ "privacy": "private",
9240
+ "parameters": [
9241
+ {
9242
+ "name": "percent",
9243
+ "type": {
9244
+ "text": "number"
9245
+ }
9246
+ }
9247
+ ]
9357
9248
  },
9358
9249
  {
9359
- "name": "--vscode-font-size",
9360
- "default": "13px"
9361
- }
9362
- ],
9363
- "members": [
9250
+ "kind": "method",
9251
+ "name": "_memoizeComponentDimensions",
9252
+ "privacy": "private"
9253
+ },
9254
+ {
9255
+ "kind": "method",
9256
+ "name": "_queryHeaderCells",
9257
+ "privacy": "private"
9258
+ },
9259
+ {
9260
+ "kind": "method",
9261
+ "name": "_getHeaderCells",
9262
+ "privacy": "private",
9263
+ "description": "Get cached header cells"
9264
+ },
9265
+ {
9266
+ "kind": "method",
9267
+ "name": "_queryCellsOfFirstRow",
9268
+ "privacy": "private"
9269
+ },
9270
+ {
9271
+ "kind": "method",
9272
+ "name": "_getCellsOfFirstRow",
9273
+ "privacy": "private",
9274
+ "description": "Get cached cells of first row"
9275
+ },
9276
+ {
9277
+ "kind": "method",
9278
+ "name": "_resizeTableBody",
9279
+ "privacy": "private"
9280
+ },
9281
+ {
9282
+ "kind": "method",
9283
+ "name": "_initResizeObserver",
9284
+ "privacy": "private"
9285
+ },
9364
9286
  {
9365
9287
  "kind": "field",
9366
- "name": "version",
9367
- "type": {
9368
- "text": "string"
9369
- },
9370
- "description": "VSCode Elements version",
9371
- "readonly": true,
9372
- "inheritedFrom": {
9373
- "name": "VscElement",
9374
- "module": "src/includes/VscElement.ts"
9375
- }
9376
- }
9377
- ],
9378
- "superclass": {
9379
- "name": "VscElement",
9380
- "module": "/src/includes/VscElement.js"
9381
- },
9382
- "tagName": "vscode-table-header-cell",
9383
- "customElement": true
9384
- }
9385
- ],
9386
- "exports": [
9387
- {
9388
- "kind": "js",
9389
- "name": "VscodeTableHeaderCell",
9390
- "declaration": {
9391
- "name": "VscodeTableHeaderCell",
9392
- "module": "src/vscode-table-header-cell/vscode-table-header-cell.ts"
9393
- }
9394
- },
9395
- {
9396
- "kind": "custom-element-definition",
9397
- "name": "vscode-table-header-cell",
9398
- "declaration": {
9399
- "name": "VscodeTableHeaderCell",
9400
- "module": "src/vscode-table-header-cell/vscode-table-header-cell.ts"
9401
- }
9402
- }
9403
- ]
9404
- },
9405
- {
9406
- "kind": "javascript-module",
9407
- "path": "src/vscode-split-layout/vscode-split-layout.styles.ts",
9408
- "declarations": [
9409
- {
9410
- "kind": "variable",
9411
- "name": "styles",
9412
- "type": {
9413
- "text": "CSSResultGroup"
9414
- },
9415
- "default": "[ defaultStyles, css` :host { --separator-border: var(--vscode-editorWidget-border, #454545); border: 1px solid var(--vscode-editorWidget-border, #454545); display: block; overflow: hidden; position: relative; } ::slotted(*) { height: 100%; width: 100%; } ::slotted(vscode-split-layout) { border: 0; } .wrapper { display: flex; height: 100%; width: 100%; } .wrapper.horizontal { flex-direction: column; } .start { box-sizing: border-box; flex: 1; min-height: 0; min-width: 0; } :host([split='vertical']) .start { border-right: 1px solid var(--separator-border); } :host([split='horizontal']) .start { border-bottom: 1px solid var(--separator-border); } .end { flex: 1; min-height: 0; min-width: 0; } :host([split='vertical']) .start, :host([split='vertical']) .end { height: 100%; } :host([split='horizontal']) .start, :host([split='horizontal']) .end { width: 100%; } .handle-overlay { display: none; height: 100%; left: 0; position: absolute; top: 0; width: 100%; z-index: 1; } .handle-overlay.active { display: block; } .handle-overlay.split-vertical { cursor: ew-resize; } .handle-overlay.split-horizontal { cursor: ns-resize; } .handle { background-color: transparent; position: absolute; z-index: 2; } .handle.hover { transition: background-color 0.1s ease-out 0.3s; background-color: var(--vscode-sash-hoverBorder, #0078d4); } .handle.hide { background-color: transparent; transition: background-color 0.1s ease-out; } .handle.split-vertical { cursor: ew-resize; height: 100%; } .handle.split-horizontal { cursor: ns-resize; width: 100%; } `, ]"
9416
- }
9417
- ],
9418
- "exports": [
9419
- {
9420
- "kind": "js",
9421
- "name": "default",
9422
- "declaration": {
9423
- "name": "styles",
9424
- "module": "src/vscode-split-layout/vscode-split-layout.styles.ts"
9425
- }
9426
- }
9427
- ]
9428
- },
9429
- {
9430
- "kind": "javascript-module",
9431
- "path": "src/vscode-split-layout/vscode-split-layout.ts",
9432
- "declarations": [
9433
- {
9434
- "kind": "function",
9435
- "name": "parseValue",
9436
- "return": {
9437
- "type": {
9438
- "text": "{value: number; unit: PositionUnit}"
9439
- }
9440
- },
9441
- "parameters": [
9288
+ "name": "_componentResizeObserverCallback",
9289
+ "privacy": "private"
9290
+ },
9442
9291
  {
9443
- "name": "raw",
9444
- "type": {
9445
- "text": "string"
9446
- }
9447
- }
9448
- ]
9449
- },
9450
- {
9451
- "kind": "function",
9452
- "name": "pxToPercent",
9453
- "parameters": [
9292
+ "kind": "field",
9293
+ "name": "_headerResizeObserverCallback",
9294
+ "privacy": "private"
9295
+ },
9454
9296
  {
9455
- "name": "current",
9456
- "type": {
9457
- "text": "number"
9458
- }
9297
+ "kind": "field",
9298
+ "name": "_bodyResizeObserverCallback",
9299
+ "privacy": "private"
9459
9300
  },
9460
9301
  {
9461
- "name": "max",
9462
- "type": {
9463
- "text": "number"
9302
+ "kind": "method",
9303
+ "name": "_calcColWidthPercentages",
9304
+ "privacy": "private",
9305
+ "return": {
9306
+ "type": {
9307
+ "text": "number[]"
9308
+ }
9464
9309
  }
9465
- }
9466
- ]
9467
- },
9468
- {
9469
- "kind": "function",
9470
- "name": "percentToPx",
9471
- "parameters": [
9310
+ },
9472
9311
  {
9473
- "name": "current",
9474
- "type": {
9475
- "text": "number"
9476
- }
9312
+ "kind": "method",
9313
+ "name": "_initHeaderCellSizes",
9314
+ "privacy": "private",
9315
+ "parameters": [
9316
+ {
9317
+ "name": "colWidths",
9318
+ "type": {
9319
+ "text": "number[]"
9320
+ }
9321
+ }
9322
+ ]
9477
9323
  },
9478
9324
  {
9479
- "name": "max",
9480
- "type": {
9481
- "text": "number"
9482
- }
9483
- }
9484
- ]
9485
- },
9486
- {
9487
- "kind": "class",
9488
- "description": "",
9489
- "name": "VscodeSplitLayout",
9490
- "cssProperties": [
9325
+ "kind": "method",
9326
+ "name": "_initBodyColumnSizes",
9327
+ "privacy": "private",
9328
+ "parameters": [
9329
+ {
9330
+ "name": "colWidths",
9331
+ "type": {
9332
+ "text": "number[]"
9333
+ }
9334
+ }
9335
+ ]
9336
+ },
9491
9337
  {
9492
- "name": "--separator-border",
9493
- "default": "#454545"
9338
+ "kind": "method",
9339
+ "name": "_initSashes",
9340
+ "privacy": "private",
9341
+ "parameters": [
9342
+ {
9343
+ "name": "colWidths",
9344
+ "type": {
9345
+ "text": "number[]"
9346
+ }
9347
+ }
9348
+ ]
9349
+ },
9350
+ {
9351
+ "kind": "method",
9352
+ "name": "_initDefaultColumnSizes",
9353
+ "privacy": "private"
9354
+ },
9355
+ {
9356
+ "kind": "method",
9357
+ "name": "_updateResizeHandlersSize",
9358
+ "privacy": "private"
9359
+ },
9360
+ {
9361
+ "kind": "method",
9362
+ "name": "_applyCompactViewColumnLabels",
9363
+ "privacy": "private"
9494
9364
  },
9495
9365
  {
9496
- "name": "--vscode-editorWidget-border",
9497
- "default": "#454545"
9366
+ "kind": "method",
9367
+ "name": "_clearCompactViewColumnLabels",
9368
+ "privacy": "private"
9498
9369
  },
9499
9370
  {
9500
- "name": "--vscode-sash-hoverBorder",
9501
- "default": "#0078d4"
9502
- }
9503
- ],
9504
- "members": [
9371
+ "kind": "method",
9372
+ "name": "_toggleCompactView",
9373
+ "privacy": "private"
9374
+ },
9505
9375
  {
9506
- "kind": "field",
9507
- "name": "split",
9508
- "description": "Direction of the divider.",
9509
- "type": {
9510
- "text": "Orientation"
9511
- },
9512
- "attribute": "split",
9513
- "reflects": true
9376
+ "kind": "method",
9377
+ "name": "_onDefaultSlotChange",
9378
+ "privacy": "private"
9514
9379
  },
9515
9380
  {
9516
- "kind": "field",
9517
- "name": "_split",
9518
- "type": {
9519
- "text": "Orientation"
9520
- },
9521
- "privacy": "private",
9522
- "default": "'vertical'"
9381
+ "kind": "method",
9382
+ "name": "_onHeaderSlotChange",
9383
+ "privacy": "private"
9523
9384
  },
9524
9385
  {
9525
- "kind": "field",
9526
- "name": "resetOnDblClick",
9527
- "type": {
9528
- "text": "boolean"
9529
- },
9530
- "default": "false",
9531
- "description": "Controls whether the handle position should reset to the value set in the\n`initialHandlePosition` when it is double-clicked.",
9532
- "attribute": "reset-on-dbl-click",
9533
- "reflects": true
9386
+ "kind": "method",
9387
+ "name": "_onBodySlotChange",
9388
+ "privacy": "private"
9534
9389
  },
9535
9390
  {
9536
- "kind": "field",
9537
- "name": "handleSize",
9538
- "type": {
9539
- "text": "number"
9540
- },
9541
- "default": "4",
9542
- "description": "Controls the draggable area size in pixels. it is intended to use the value\nof `workbench.sash.size`.",
9543
- "attribute": "handle-size",
9544
- "reflects": true
9391
+ "kind": "method",
9392
+ "name": "_onSashMouseOver",
9393
+ "privacy": "private",
9394
+ "parameters": [
9395
+ {
9396
+ "name": "event",
9397
+ "type": {
9398
+ "text": "MouseEvent"
9399
+ }
9400
+ }
9401
+ ]
9545
9402
  },
9546
9403
  {
9547
- "kind": "field",
9548
- "name": "initialHandlePosition",
9549
- "type": {
9550
- "text": "string"
9551
- },
9552
- "default": "'50%'",
9553
- "description": "The handler position will reset to this position when it is double-clicked,\nor the `resetHandlePosition()` is called.",
9554
- "attribute": "initial-handle-position",
9555
- "reflects": true
9404
+ "kind": "method",
9405
+ "name": "_onSashMouseOut",
9406
+ "privacy": "private",
9407
+ "parameters": [
9408
+ {
9409
+ "name": "event",
9410
+ "type": {
9411
+ "text": "MouseEvent"
9412
+ }
9413
+ }
9414
+ ]
9556
9415
  },
9557
9416
  {
9558
- "kind": "field",
9559
- "name": "handlePosition",
9560
- "description": "Set the handle position programmatically. The value must include a unit,\neither `%` or `px`. If no unit is specified, the value is interpreted as\n`px`.",
9561
- "type": {
9562
- "text": "string | undefined"
9563
- },
9564
- "attribute": "handle-position"
9417
+ "kind": "method",
9418
+ "name": "_onSashMouseDown",
9419
+ "privacy": "private",
9420
+ "parameters": [
9421
+ {
9422
+ "name": "event",
9423
+ "type": {
9424
+ "text": "MouseEvent"
9425
+ }
9426
+ }
9427
+ ]
9565
9428
  },
9566
9429
  {
9567
- "kind": "field",
9568
- "name": "_rawHandlePosition",
9569
- "type": {
9570
- "text": "string | undefined"
9571
- },
9572
- "privacy": "private"
9430
+ "kind": "method",
9431
+ "name": "_updateActiveSashPosition",
9432
+ "privacy": "private",
9433
+ "parameters": [
9434
+ {
9435
+ "name": "mouseX",
9436
+ "type": {
9437
+ "text": "number"
9438
+ }
9439
+ }
9440
+ ]
9573
9441
  },
9574
9442
  {
9575
- "kind": "field",
9576
- "name": "fixedPane",
9577
- "description": "The size of the fixed pane will not change when the component is resized.",
9578
- "type": {
9579
- "text": "'start' | 'end' | 'none'"
9580
- },
9581
- "attribute": "fixed-pane"
9443
+ "kind": "method",
9444
+ "name": "_getSashPositions",
9445
+ "privacy": "private",
9446
+ "return": {
9447
+ "type": {
9448
+ "text": "{\n sashPos: number;\n prevSashPos: number;\n nextSashPos: number;\n }"
9449
+ }
9450
+ }
9582
9451
  },
9583
9452
  {
9584
- "kind": "field",
9585
- "name": "_fixedPane",
9586
- "type": {
9587
- "text": "FixedPaneType"
9588
- },
9453
+ "kind": "method",
9454
+ "name": "_resizeColumns",
9589
9455
  "privacy": "private",
9590
- "default": "'none'"
9456
+ "parameters": [
9457
+ {
9458
+ "name": "resizeBodyCells",
9459
+ "default": "true"
9460
+ }
9461
+ ]
9591
9462
  },
9592
9463
  {
9593
9464
  "kind": "field",
9594
- "name": "_handlePosition",
9595
- "type": {
9596
- "text": "number"
9597
- },
9598
- "privacy": "private",
9599
- "default": "0"
9465
+ "name": "_onResizingMouseMove",
9466
+ "privacy": "private"
9600
9467
  },
9601
9468
  {
9602
9469
  "kind": "field",
9603
- "name": "_isDragActive",
9604
- "type": {
9605
- "text": "boolean"
9606
- },
9607
- "privacy": "private",
9608
- "default": "false"
9470
+ "name": "_onResizingMouseUp",
9471
+ "privacy": "private"
9609
9472
  },
9610
9473
  {
9611
9474
  "kind": "field",
9612
- "name": "_hover",
9475
+ "name": "version",
9613
9476
  "type": {
9614
- "text": "boolean"
9477
+ "text": "string"
9615
9478
  },
9616
- "privacy": "private",
9617
- "default": "false"
9618
- },
9479
+ "description": "VSCode Elements version",
9480
+ "readonly": true,
9481
+ "inheritedFrom": {
9482
+ "name": "VscElement",
9483
+ "module": "src/includes/VscElement.ts"
9484
+ }
9485
+ }
9486
+ ],
9487
+ "attributes": [
9619
9488
  {
9620
- "kind": "field",
9621
- "name": "_hide",
9489
+ "name": "resizable",
9622
9490
  "type": {
9623
9491
  "text": "boolean"
9624
9492
  },
9625
- "privacy": "private",
9626
- "default": "false"
9493
+ "default": "false",
9494
+ "fieldName": "resizable"
9627
9495
  },
9628
9496
  {
9629
- "kind": "field",
9630
- "name": "_wrapperEl",
9497
+ "name": "responsive",
9631
9498
  "type": {
9632
- "text": "HTMLDivElement"
9499
+ "text": "boolean"
9633
9500
  },
9634
- "privacy": "private"
9501
+ "default": "false",
9502
+ "fieldName": "responsive"
9635
9503
  },
9636
9504
  {
9637
- "kind": "field",
9638
- "name": "_handleEl",
9505
+ "name": "bordered",
9639
9506
  "type": {
9640
- "text": "HTMLDivElement"
9507
+ "text": "boolean"
9641
9508
  },
9642
- "privacy": "private"
9509
+ "default": "false",
9510
+ "description": "Both rows and columns are separated by borders.",
9511
+ "fieldName": "bordered"
9643
9512
  },
9644
9513
  {
9645
- "kind": "field",
9646
- "name": "_nestedLayoutsAtStart",
9514
+ "name": "bordered-columns",
9647
9515
  "type": {
9648
- "text": "HTMLElement[]"
9516
+ "text": "boolean"
9649
9517
  },
9650
- "privacy": "private"
9518
+ "default": "false",
9519
+ "description": "Columns are separated by borders.",
9520
+ "fieldName": "borderedColumns"
9651
9521
  },
9652
9522
  {
9653
- "kind": "field",
9654
- "name": "_nestedLayoutsAtEnd",
9523
+ "name": "bordered-rows",
9655
9524
  "type": {
9656
- "text": "HTMLElement[]"
9525
+ "text": "boolean"
9657
9526
  },
9658
- "privacy": "private"
9527
+ "default": "false",
9528
+ "description": "Rows are separated by borders.",
9529
+ "fieldName": "borderedRows"
9659
9530
  },
9660
9531
  {
9661
- "kind": "field",
9662
- "name": "_boundRect",
9532
+ "name": "breakpoint",
9663
9533
  "type": {
9664
- "text": "DOMRect"
9534
+ "text": "number"
9665
9535
  },
9666
- "privacy": "private",
9667
- "default": "new DOMRect()"
9536
+ "default": "300",
9537
+ "fieldName": "breakpoint"
9668
9538
  },
9669
9539
  {
9670
- "kind": "field",
9671
- "name": "_handleOffset",
9540
+ "name": "columns",
9541
+ "description": "Initial column sizes in a JSON-encoded array.\nAccepted values are:\n- number\n- string-type number (ex.: \"100\")\n- px value (ex.: \"100px\")\n- percentage value (ex.: \"50%\")\n- percentage value (ex.: \"50%\")\n- \"auto\" keyword",
9672
9542
  "type": {
9673
- "text": "number"
9543
+ "text": "string[]"
9674
9544
  },
9675
- "privacy": "private",
9676
- "default": "0"
9545
+ "fieldName": "columns"
9677
9546
  },
9678
9547
  {
9679
- "kind": "field",
9680
- "name": "_resizeObserver",
9548
+ "name": "min-column-width",
9681
9549
  "type": {
9682
- "text": "ResizeObserver"
9550
+ "text": "string"
9683
9551
  },
9684
- "privacy": "private",
9685
- "default": "new ResizeObserver(this._handleResize)"
9552
+ "default": "'50px'",
9553
+ "description": "Minimum column width. Valid values are:\n- number\n- string-type number (ex.: \"100\")\n- px value (ex.: \"100px\")\n- percentage value (ex.: \"50%\")\n- percentage value (ex.: \"50%\")\n- \"auto\" keyword",
9554
+ "fieldName": "minColumnWidth"
9686
9555
  },
9687
9556
  {
9688
- "kind": "field",
9689
- "name": "_wrapperObserved",
9557
+ "name": "delayed-resizing",
9690
9558
  "type": {
9691
9559
  "text": "boolean"
9692
9560
  },
9693
- "privacy": "private",
9694
- "default": "false"
9561
+ "default": "false",
9562
+ "fieldName": "delayedResizing"
9695
9563
  },
9696
9564
  {
9697
- "kind": "field",
9698
- "name": "_fixedPaneSize",
9565
+ "name": "zebra",
9699
9566
  "type": {
9700
- "text": "number"
9567
+ "text": "boolean"
9701
9568
  },
9702
- "privacy": "private",
9703
- "default": "0"
9704
- },
9705
- {
9706
- "kind": "method",
9707
- "name": "resetHandlePosition",
9708
- "description": "Sets the handle position to the value specified in the `initialHandlePosition` property."
9709
- },
9710
- {
9711
- "kind": "method",
9712
- "name": "_handlePositionPropChanged",
9713
- "privacy": "private"
9714
- },
9715
- {
9716
- "kind": "method",
9717
- "name": "_fixedPanePropChanged",
9718
- "privacy": "private"
9569
+ "default": "false",
9570
+ "description": "Zebra stripes, even rows are tinted.",
9571
+ "fieldName": "zebra"
9719
9572
  },
9720
9573
  {
9721
- "kind": "method",
9722
- "name": "_initFixedPane",
9723
- "privacy": "private"
9724
- },
9574
+ "name": "zebra-odd",
9575
+ "type": {
9576
+ "text": "boolean"
9577
+ },
9578
+ "default": "false",
9579
+ "description": "Zebra stripes, odd rows are tinted.",
9580
+ "fieldName": "zebraOdd"
9581
+ }
9582
+ ],
9583
+ "superclass": {
9584
+ "name": "VscElement",
9585
+ "module": "/src/includes/VscElement.js"
9586
+ },
9587
+ "tagName": "vscode-table",
9588
+ "customElement": true
9589
+ }
9590
+ ],
9591
+ "exports": [
9592
+ {
9593
+ "kind": "js",
9594
+ "name": "VscodeTable",
9595
+ "declaration": {
9596
+ "name": "VscodeTable",
9597
+ "module": "src/vscode-table/vscode-table.ts"
9598
+ }
9599
+ },
9600
+ {
9601
+ "kind": "custom-element-definition",
9602
+ "name": "vscode-table",
9603
+ "declaration": {
9604
+ "name": "VscodeTable",
9605
+ "module": "src/vscode-table/vscode-table.ts"
9606
+ }
9607
+ }
9608
+ ]
9609
+ },
9610
+ {
9611
+ "kind": "javascript-module",
9612
+ "path": "src/vscode-table-body/vscode-table-body.styles.ts",
9613
+ "declarations": [
9614
+ {
9615
+ "kind": "variable",
9616
+ "name": "styles",
9617
+ "type": {
9618
+ "text": "CSSResultGroup"
9619
+ },
9620
+ "default": "[ defaultStyles, css` :host { display: table; table-layout: fixed; width: 100%; } ::slotted(vscode-table-row:nth-child(even)) { background-color: var(--vsc-row-even-background); } ::slotted(vscode-table-row:nth-child(odd)) { background-color: var(--vsc-row-odd-background); } `, ]"
9621
+ }
9622
+ ],
9623
+ "exports": [
9624
+ {
9625
+ "kind": "js",
9626
+ "name": "default",
9627
+ "declaration": {
9628
+ "name": "styles",
9629
+ "module": "src/vscode-table-body/vscode-table-body.styles.ts"
9630
+ }
9631
+ }
9632
+ ]
9633
+ },
9634
+ {
9635
+ "kind": "javascript-module",
9636
+ "path": "src/vscode-table-body/vscode-table-body.ts",
9637
+ "declarations": [
9638
+ {
9639
+ "kind": "class",
9640
+ "description": "",
9641
+ "name": "VscodeTableBody",
9642
+ "members": [
9725
9643
  {
9726
9644
  "kind": "field",
9727
- "name": "_handleResize",
9728
- "privacy": "private"
9729
- },
9645
+ "name": "version",
9646
+ "type": {
9647
+ "text": "string"
9648
+ },
9649
+ "description": "VSCode Elements version",
9650
+ "readonly": true,
9651
+ "inheritedFrom": {
9652
+ "name": "VscElement",
9653
+ "module": "src/includes/VscElement.ts"
9654
+ }
9655
+ }
9656
+ ],
9657
+ "superclass": {
9658
+ "name": "VscElement",
9659
+ "module": "/src/includes/VscElement.js"
9660
+ },
9661
+ "tagName": "vscode-table-body",
9662
+ "customElement": true
9663
+ }
9664
+ ],
9665
+ "exports": [
9666
+ {
9667
+ "kind": "js",
9668
+ "name": "VscodeTableBody",
9669
+ "declaration": {
9670
+ "name": "VscodeTableBody",
9671
+ "module": "src/vscode-table-body/vscode-table-body.ts"
9672
+ }
9673
+ },
9674
+ {
9675
+ "kind": "custom-element-definition",
9676
+ "name": "vscode-table-body",
9677
+ "declaration": {
9678
+ "name": "VscodeTableBody",
9679
+ "module": "src/vscode-table-body/vscode-table-body.ts"
9680
+ }
9681
+ }
9682
+ ]
9683
+ },
9684
+ {
9685
+ "kind": "javascript-module",
9686
+ "path": "src/vscode-table-cell/vscode-table-cell.styles.ts",
9687
+ "declarations": [
9688
+ {
9689
+ "kind": "variable",
9690
+ "name": "styles",
9691
+ "type": {
9692
+ "text": "CSSResultGroup"
9693
+ },
9694
+ "default": "[ defaultStyles, css` :host { border-bottom-color: var( --vscode-editorGroup-border, rgba(255, 255, 255, 0.09) ); border-bottom-style: solid; border-bottom-width: var(--vsc-row-border-bottom-width); box-sizing: border-box; color: var(--vscode-foreground, #cccccc); display: table-cell; font-family: var(--vscode-font-family, sans-serif); font-size: var(--vscode-font-size, 13px); height: 24px; overflow: hidden; padding-left: 10px; text-overflow: ellipsis; vertical-align: middle; white-space: nowrap; } :host([compact]) { display: block; height: auto; padding-bottom: 5px; width: 100% !important; } :host([compact]:first-child) { padding-top: 10px; } :host([compact]:last-child) { padding-bottom: 10px; } .wrapper { overflow: inherit; text-overflow: inherit; white-space: inherit; width: 100%; } .column-label { font-weight: bold; } `, ]"
9695
+ }
9696
+ ],
9697
+ "exports": [
9698
+ {
9699
+ "kind": "js",
9700
+ "name": "default",
9701
+ "declaration": {
9702
+ "name": "styles",
9703
+ "module": "src/vscode-table-cell/vscode-table-cell.styles.ts"
9704
+ }
9705
+ }
9706
+ ]
9707
+ },
9708
+ {
9709
+ "kind": "javascript-module",
9710
+ "path": "src/vscode-table-cell/vscode-table-cell.ts",
9711
+ "declarations": [
9712
+ {
9713
+ "kind": "class",
9714
+ "description": "",
9715
+ "name": "VscodeTableCell",
9716
+ "cssProperties": [
9730
9717
  {
9731
- "kind": "method",
9732
- "name": "_setPosition",
9733
- "privacy": "private",
9734
- "parameters": [
9735
- {
9736
- "name": "value",
9737
- "type": {
9738
- "text": "number"
9739
- }
9740
- },
9741
- {
9742
- "name": "unit",
9743
- "type": {
9744
- "text": "PositionUnit"
9745
- }
9746
- }
9747
- ]
9718
+ "name": "--vscode-editorGroup-border",
9719
+ "default": "rgba(255, 255, 255, 0.09)"
9748
9720
  },
9749
9721
  {
9750
- "kind": "method",
9751
- "name": "_handleMouseOver",
9752
- "privacy": "private"
9722
+ "name": "--vscode-foreground",
9723
+ "default": "#cccccc"
9753
9724
  },
9754
9725
  {
9755
- "kind": "method",
9756
- "name": "_handleMouseOut",
9757
- "privacy": "private",
9758
- "parameters": [
9759
- {
9760
- "name": "event",
9761
- "type": {
9762
- "text": "MouseEvent"
9763
- }
9764
- }
9765
- ]
9726
+ "name": "--vscode-font-family",
9727
+ "default": "sans-serif"
9766
9728
  },
9767
9729
  {
9768
- "kind": "method",
9769
- "name": "_handleMouseDown",
9770
- "privacy": "private",
9771
- "parameters": [
9772
- {
9773
- "name": "event",
9774
- "type": {
9775
- "text": "MouseEvent"
9776
- }
9777
- }
9778
- ]
9779
- },
9730
+ "name": "--vscode-font-size",
9731
+ "default": "13px"
9732
+ }
9733
+ ],
9734
+ "members": [
9780
9735
  {
9781
9736
  "kind": "field",
9782
- "name": "_handleMouseUp",
9783
- "privacy": "private"
9737
+ "name": "columnLabel",
9738
+ "type": {
9739
+ "text": "string"
9740
+ },
9741
+ "default": "''",
9742
+ "description": "Cell label in the compact view of the responsive mode. For internal use only.",
9743
+ "attribute": "column-label"
9784
9744
  },
9785
9745
  {
9786
9746
  "kind": "field",
9787
- "name": "_handleMouseMove",
9788
- "privacy": "private"
9789
- },
9790
- {
9791
- "kind": "method",
9792
- "name": "_handleDblClick",
9793
- "privacy": "private"
9794
- },
9795
- {
9796
- "kind": "method",
9797
- "name": "_handleSlotChange",
9798
- "privacy": "private"
9747
+ "name": "compact",
9748
+ "type": {
9749
+ "text": "boolean"
9750
+ },
9751
+ "default": "false",
9752
+ "description": "Enable compact view in the responsive mode. For internal use only.",
9753
+ "attribute": "compact",
9754
+ "reflects": true
9799
9755
  },
9800
9756
  {
9801
9757
  "kind": "field",
@@ -9813,104 +9769,216 @@
9813
9769
  ],
9814
9770
  "attributes": [
9815
9771
  {
9816
- "name": "split",
9817
- "description": "Direction of the divider.",
9772
+ "name": "column-label",
9818
9773
  "type": {
9819
- "text": "Orientation"
9774
+ "text": "string"
9820
9775
  },
9821
- "fieldName": "split"
9776
+ "default": "''",
9777
+ "description": "Cell label in the compact view of the responsive mode. For internal use only.",
9778
+ "fieldName": "columnLabel"
9822
9779
  },
9823
9780
  {
9824
- "name": "reset-on-dbl-click",
9781
+ "name": "compact",
9825
9782
  "type": {
9826
9783
  "text": "boolean"
9827
9784
  },
9828
9785
  "default": "false",
9829
- "description": "Controls whether the handle position should reset to the value set in the\n`initialHandlePosition` when it is double-clicked.",
9830
- "fieldName": "resetOnDblClick"
9831
- },
9786
+ "description": "Enable compact view in the responsive mode. For internal use only.",
9787
+ "fieldName": "compact"
9788
+ }
9789
+ ],
9790
+ "superclass": {
9791
+ "name": "VscElement",
9792
+ "module": "/src/includes/VscElement.js"
9793
+ },
9794
+ "tagName": "vscode-table-cell",
9795
+ "customElement": true
9796
+ }
9797
+ ],
9798
+ "exports": [
9799
+ {
9800
+ "kind": "js",
9801
+ "name": "VscodeTableCell",
9802
+ "declaration": {
9803
+ "name": "VscodeTableCell",
9804
+ "module": "src/vscode-table-cell/vscode-table-cell.ts"
9805
+ }
9806
+ },
9807
+ {
9808
+ "kind": "custom-element-definition",
9809
+ "name": "vscode-table-cell",
9810
+ "declaration": {
9811
+ "name": "VscodeTableCell",
9812
+ "module": "src/vscode-table-cell/vscode-table-cell.ts"
9813
+ }
9814
+ }
9815
+ ]
9816
+ },
9817
+ {
9818
+ "kind": "javascript-module",
9819
+ "path": "src/vscode-table-header/vscode-table-header.styles.ts",
9820
+ "declarations": [
9821
+ {
9822
+ "kind": "variable",
9823
+ "name": "styles",
9824
+ "type": {
9825
+ "text": "CSSResultGroup"
9826
+ },
9827
+ "default": "[ defaultStyles, css` :host { background-color: var( --vscode-keybindingTable-headerBackground, rgba(204, 204, 204, 0.04) ); display: table; table-layout: fixed; width: 100%; } `, ]"
9828
+ }
9829
+ ],
9830
+ "exports": [
9831
+ {
9832
+ "kind": "js",
9833
+ "name": "default",
9834
+ "declaration": {
9835
+ "name": "styles",
9836
+ "module": "src/vscode-table-header/vscode-table-header.styles.ts"
9837
+ }
9838
+ }
9839
+ ]
9840
+ },
9841
+ {
9842
+ "kind": "javascript-module",
9843
+ "path": "src/vscode-table-header/vscode-table-header.ts",
9844
+ "declarations": [
9845
+ {
9846
+ "kind": "class",
9847
+ "description": "",
9848
+ "name": "VscodeTableHeader",
9849
+ "cssProperties": [
9832
9850
  {
9833
- "name": "handle-size",
9834
- "type": {
9835
- "text": "number"
9836
- },
9837
- "default": "4",
9838
- "description": "Controls the draggable area size in pixels. it is intended to use the value\nof `workbench.sash.size`.",
9839
- "fieldName": "handleSize"
9840
- },
9851
+ "description": "Table header background",
9852
+ "name": "--vscode-keybindingTable-headerBackground",
9853
+ "default": "rgba(204, 204, 204, 0.04)"
9854
+ }
9855
+ ],
9856
+ "members": [
9841
9857
  {
9842
- "name": "initial-handle-position",
9858
+ "kind": "field",
9859
+ "name": "version",
9843
9860
  "type": {
9844
9861
  "text": "string"
9845
9862
  },
9846
- "default": "DEFAULT_INITIAL_POSITION",
9847
- "description": "The handler position will reset to this position when it is double-clicked,\nor the `resetHandlePosition()` is called.",
9848
- "fieldName": "initialHandlePosition"
9849
- },
9850
- {
9851
- "name": "handle-position",
9852
- "description": "Set the handle position programmatically. The value must include a unit,\neither `%` or `px`. If no unit is specified, the value is interpreted as\n`px`.",
9853
- "type": {
9854
- "text": "string | undefined"
9855
- },
9856
- "fieldName": "handlePosition"
9857
- },
9858
- {
9859
- "name": "fixed-pane",
9860
- "description": "The size of the fixed pane will not change when the component is resized.",
9861
- "type": {
9862
- "text": "'start' | 'end' | 'none'"
9863
- },
9864
- "fieldName": "fixedPane"
9863
+ "description": "VSCode Elements version",
9864
+ "readonly": true,
9865
+ "inheritedFrom": {
9866
+ "name": "VscElement",
9867
+ "module": "src/includes/VscElement.ts"
9868
+ }
9865
9869
  }
9866
9870
  ],
9867
9871
  "superclass": {
9868
9872
  "name": "VscElement",
9869
9873
  "module": "/src/includes/VscElement.js"
9870
9874
  },
9871
- "tagName": "vscode-split-layout",
9875
+ "tagName": "vscode-table-header",
9872
9876
  "customElement": true
9873
9877
  }
9874
9878
  ],
9875
9879
  "exports": [
9876
9880
  {
9877
9881
  "kind": "js",
9878
- "name": "parseValue",
9882
+ "name": "VscodeTableHeader",
9879
9883
  "declaration": {
9880
- "name": "parseValue",
9881
- "module": "src/vscode-split-layout/vscode-split-layout.ts"
9884
+ "name": "VscodeTableHeader",
9885
+ "module": "src/vscode-table-header/vscode-table-header.ts"
9882
9886
  }
9883
9887
  },
9884
9888
  {
9885
- "kind": "js",
9886
- "name": "pxToPercent",
9889
+ "kind": "custom-element-definition",
9890
+ "name": "vscode-table-header",
9887
9891
  "declaration": {
9888
- "name": "pxToPercent",
9889
- "module": "src/vscode-split-layout/vscode-split-layout.ts"
9892
+ "name": "VscodeTableHeader",
9893
+ "module": "src/vscode-table-header/vscode-table-header.ts"
9890
9894
  }
9891
- },
9895
+ }
9896
+ ]
9897
+ },
9898
+ {
9899
+ "kind": "javascript-module",
9900
+ "path": "src/vscode-table-header-cell/vscode-table-header-cell.styles.ts",
9901
+ "declarations": [
9902
+ {
9903
+ "kind": "variable",
9904
+ "name": "styles",
9905
+ "type": {
9906
+ "text": "CSSResultGroup"
9907
+ },
9908
+ "default": "[ defaultStyles, css` :host { box-sizing: border-box; color: var(--vscode-foreground, #cccccc); display: table-cell; font-family: var(--vscode-font-family, sans-serif); font-size: var(--vscode-font-size, 13px); font-weight: bold; line-height: 20px; overflow: hidden; padding-bottom: 5px; padding-left: 10px; padding-right: 0; padding-top: 5px; text-overflow: ellipsis; white-space: nowrap; } .wrapper { box-sizing: inherit; overflow: inherit; text-overflow: inherit; white-space: inherit; width: 100%; } `, ]"
9909
+ }
9910
+ ],
9911
+ "exports": [
9892
9912
  {
9893
9913
  "kind": "js",
9894
- "name": "percentToPx",
9914
+ "name": "default",
9895
9915
  "declaration": {
9896
- "name": "percentToPx",
9897
- "module": "src/vscode-split-layout/vscode-split-layout.ts"
9916
+ "name": "styles",
9917
+ "module": "src/vscode-table-header-cell/vscode-table-header-cell.styles.ts"
9898
9918
  }
9899
- },
9919
+ }
9920
+ ]
9921
+ },
9922
+ {
9923
+ "kind": "javascript-module",
9924
+ "path": "src/vscode-table-header-cell/vscode-table-header-cell.ts",
9925
+ "declarations": [
9926
+ {
9927
+ "kind": "class",
9928
+ "description": "",
9929
+ "name": "VscodeTableHeaderCell",
9930
+ "cssProperties": [
9931
+ {
9932
+ "name": "--vscode-foreground",
9933
+ "default": "#cccccc"
9934
+ },
9935
+ {
9936
+ "name": "--vscode-font-family",
9937
+ "default": "sans-serif"
9938
+ },
9939
+ {
9940
+ "name": "--vscode-font-size",
9941
+ "default": "13px"
9942
+ }
9943
+ ],
9944
+ "members": [
9945
+ {
9946
+ "kind": "field",
9947
+ "name": "version",
9948
+ "type": {
9949
+ "text": "string"
9950
+ },
9951
+ "description": "VSCode Elements version",
9952
+ "readonly": true,
9953
+ "inheritedFrom": {
9954
+ "name": "VscElement",
9955
+ "module": "src/includes/VscElement.ts"
9956
+ }
9957
+ }
9958
+ ],
9959
+ "superclass": {
9960
+ "name": "VscElement",
9961
+ "module": "/src/includes/VscElement.js"
9962
+ },
9963
+ "tagName": "vscode-table-header-cell",
9964
+ "customElement": true
9965
+ }
9966
+ ],
9967
+ "exports": [
9900
9968
  {
9901
9969
  "kind": "js",
9902
- "name": "VscodeSplitLayout",
9970
+ "name": "VscodeTableHeaderCell",
9903
9971
  "declaration": {
9904
- "name": "VscodeSplitLayout",
9905
- "module": "src/vscode-split-layout/vscode-split-layout.ts"
9972
+ "name": "VscodeTableHeaderCell",
9973
+ "module": "src/vscode-table-header-cell/vscode-table-header-cell.ts"
9906
9974
  }
9907
9975
  },
9908
9976
  {
9909
9977
  "kind": "custom-element-definition",
9910
- "name": "vscode-split-layout",
9978
+ "name": "vscode-table-header-cell",
9911
9979
  "declaration": {
9912
- "name": "VscodeSplitLayout",
9913
- "module": "src/vscode-split-layout/vscode-split-layout.ts"
9980
+ "name": "VscodeTableHeaderCell",
9981
+ "module": "src/vscode-table-header-cell/vscode-table-header-cell.ts"
9914
9982
  }
9915
9983
  }
9916
9984
  ]
@@ -13754,12 +13822,6 @@
13754
13822
  "kind": "class",
13755
13823
  "description": "",
13756
13824
  "name": "VscodeSelectBase",
13757
- "cssProperties": [
13758
- {
13759
- "description": "workaround for dropdown z-index issues",
13760
- "name": "--dropdown-z-index"
13761
- }
13762
- ],
13763
13825
  "members": [
13764
13826
  {
13765
13827
  "kind": "field",
@@ -13869,6 +13931,14 @@
13869
13931
  },
13870
13932
  "privacy": "private"
13871
13933
  },
13934
+ {
13935
+ "kind": "field",
13936
+ "name": "_dropdownEl",
13937
+ "type": {
13938
+ "text": "HTMLDivElement"
13939
+ },
13940
+ "privacy": "private"
13941
+ },
13872
13942
  {
13873
13943
  "kind": "field",
13874
13944
  "name": "_opts",
@@ -14082,9 +14152,17 @@
14082
14152
  }
14083
14153
  },
14084
14154
  {
14085
- "kind": "field",
14086
- "name": "_onClickOutside",
14087
- "privacy": "private"
14155
+ "kind": "method",
14156
+ "name": "_handleDropdownToggle",
14157
+ "privacy": "private",
14158
+ "parameters": [
14159
+ {
14160
+ "name": "event",
14161
+ "type": {
14162
+ "text": "ToggleEvent"
14163
+ }
14164
+ }
14165
+ ]
14088
14166
  },
14089
14167
  {
14090
14168
  "kind": "field",
@@ -14310,6 +14388,11 @@
14310
14388
  }
14311
14389
  ]
14312
14390
  },
14391
+ {
14392
+ "kind": "field",
14393
+ "name": "_handleWindowScroll",
14394
+ "privacy": "private"
14395
+ },
14313
14396
  {
14314
14397
  "kind": "method",
14315
14398
  "name": "_renderCheckbox",