@carbon/ai-chat-components 0.8.0 → 0.9.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/custom-elements.json +894 -253
- package/es/components/card/src/card-footer.scss.js +1 -1
- package/es/components/card/src/card-steps.scss.js +1 -1
- package/es/components/card/src/card.scss.js +1 -1
- package/es/components/chat-button/src/chat-button.scss.js +1 -1
- package/es/components/chat-shell/index.d.ts +2 -2
- package/es/components/chat-shell/index.js +2 -2
- package/es/components/chat-shell/src/{cds-aichat-panel.d.ts → panel.d.ts} +11 -2
- package/es/components/chat-shell/src/{cds-aichat-panel.js → panel.js} +79 -26
- package/es/components/chat-shell/src/panel.js.map +1 -0
- package/es/components/chat-shell/src/panel.scss.js +13 -0
- package/es/components/chat-shell/src/panel.scss.js.map +1 -0
- package/es/components/chat-shell/src/{cds-aichat-shell.d.ts → shell.d.ts} +19 -3
- package/es/components/chat-shell/src/{cds-aichat-shell.js → shell.js} +249 -93
- package/es/components/chat-shell/src/shell.js.map +1 -0
- package/es/components/chat-shell/src/shell.scss.js +13 -0
- package/es/components/chat-shell/src/shell.scss.js.map +1 -0
- package/es/components/chat-shell/src/workspace-manager-utils.d.ts +90 -0
- package/es/components/chat-shell/src/workspace-manager-utils.js +120 -0
- package/es/components/chat-shell/src/workspace-manager-utils.js.map +1 -0
- package/es/components/chat-shell/src/workspace-manager.d.ts +52 -8
- package/es/components/chat-shell/src/workspace-manager.js +330 -117
- package/es/components/chat-shell/src/workspace-manager.js.map +1 -1
- package/es/components/code-snippet/src/code-snippet.d.ts +27 -11
- package/es/components/code-snippet/src/code-snippet.scss.js +1 -1
- package/es/components/markdown/src/markdown.js +1 -1
- package/es/components/markdown/src/markdown.js.map +1 -1
- package/es/components/toolbar/src/toolbar.d.ts +4 -0
- package/es/components/toolbar/src/toolbar.js +62 -28
- package/es/components/toolbar/src/toolbar.js.map +1 -1
- package/es/components/toolbar/src/toolbar.scss.js +1 -1
- package/es/components/workspace-shell/src/workspace-shell-footer.js +6 -1
- package/es/components/workspace-shell/src/workspace-shell-footer.js.map +1 -1
- package/es/components/workspace-shell/src/workspace-shell-footer.scss.js +1 -1
- package/es/components/workspace-shell/src/workspace-shell.d.ts +0 -1
- package/es/components/workspace-shell/src/workspace-shell.js +0 -6
- package/es/components/workspace-shell/src/workspace-shell.js.map +1 -1
- package/es/components/workspace-shell/src/workspace-shell.scss.js +1 -1
- package/es/react/chat-shell.d.ts +3 -3
- package/es/react/chat-shell.js +4 -4
- package/es/react/chat-shell.js.map +1 -1
- package/es/react/panel.d.ts +3 -3
- package/es/react/panel.js +5 -4
- package/es/react/panel.js.map +1 -1
- package/es/react/toolbar.js +1 -1
- package/es/react/toolbar.js.map +1 -1
- package/es-custom/components/card/src/card-footer.scss.js +1 -1
- package/es-custom/components/card/src/card-steps.scss.js +1 -1
- package/es-custom/components/card/src/card.scss.js +1 -1
- package/es-custom/components/chat-button/src/chat-button.scss.js +1 -1
- package/es-custom/components/chat-shell/index.d.ts +2 -2
- package/es-custom/components/chat-shell/index.js +2 -2
- package/es-custom/components/chat-shell/src/{cds-aichat-panel.d.ts → panel.d.ts} +11 -2
- package/es-custom/components/chat-shell/src/{cds-aichat-panel.js → panel.js} +79 -26
- package/es-custom/components/chat-shell/src/panel.js.map +1 -0
- package/es-custom/components/chat-shell/src/panel.scss.js +13 -0
- package/es-custom/components/chat-shell/src/panel.scss.js.map +1 -0
- package/es-custom/components/chat-shell/src/{cds-aichat-shell.d.ts → shell.d.ts} +19 -3
- package/es-custom/components/chat-shell/src/{cds-aichat-shell.js → shell.js} +249 -93
- package/es-custom/components/chat-shell/src/shell.js.map +1 -0
- package/es-custom/components/chat-shell/src/shell.scss.js +13 -0
- package/es-custom/components/chat-shell/src/shell.scss.js.map +1 -0
- package/es-custom/components/chat-shell/src/workspace-manager-utils.d.ts +90 -0
- package/es-custom/components/chat-shell/src/workspace-manager-utils.js +120 -0
- package/es-custom/components/chat-shell/src/workspace-manager-utils.js.map +1 -0
- package/es-custom/components/chat-shell/src/workspace-manager.d.ts +52 -8
- package/es-custom/components/chat-shell/src/workspace-manager.js +330 -117
- package/es-custom/components/chat-shell/src/workspace-manager.js.map +1 -1
- package/es-custom/components/code-snippet/src/code-snippet.d.ts +27 -11
- package/es-custom/components/code-snippet/src/code-snippet.scss.js +1 -1
- package/es-custom/components/markdown/src/markdown.js +1 -1
- package/es-custom/components/markdown/src/markdown.js.map +1 -1
- package/es-custom/components/toolbar/src/toolbar.d.ts +4 -0
- package/es-custom/components/toolbar/src/toolbar.js +62 -28
- package/es-custom/components/toolbar/src/toolbar.js.map +1 -1
- package/es-custom/components/toolbar/src/toolbar.scss.js +1 -1
- package/es-custom/components/workspace-shell/src/workspace-shell-footer.js +6 -1
- package/es-custom/components/workspace-shell/src/workspace-shell-footer.js.map +1 -1
- package/es-custom/components/workspace-shell/src/workspace-shell-footer.scss.js +1 -1
- package/es-custom/components/workspace-shell/src/workspace-shell.d.ts +0 -1
- package/es-custom/components/workspace-shell/src/workspace-shell.js +0 -6
- package/es-custom/components/workspace-shell/src/workspace-shell.js.map +1 -1
- package/es-custom/components/workspace-shell/src/workspace-shell.scss.js +1 -1
- package/es-custom/react/chat-shell.d.ts +3 -3
- package/es-custom/react/chat-shell.js +4 -4
- package/es-custom/react/chat-shell.js.map +1 -1
- package/es-custom/react/panel.d.ts +3 -3
- package/es-custom/react/panel.js +5 -4
- package/es-custom/react/panel.js.map +1 -1
- package/es-custom/react/toolbar.js +1 -1
- package/es-custom/react/toolbar.js.map +1 -1
- package/package.json +13 -10
- package/es/components/chat-shell/src/cds-aichat-panel.js.map +0 -1
- package/es/components/chat-shell/src/cds-aichat-panel.scss.js +0 -13
- package/es/components/chat-shell/src/cds-aichat-panel.scss.js.map +0 -1
- package/es/components/chat-shell/src/cds-aichat-shell.js.map +0 -1
- package/es/components/chat-shell/src/cds-aichat-shell.scss.js +0 -13
- package/es/components/chat-shell/src/cds-aichat-shell.scss.js.map +0 -1
- package/es-custom/components/chat-shell/src/cds-aichat-panel.js.map +0 -1
- package/es-custom/components/chat-shell/src/cds-aichat-panel.scss.js +0 -13
- package/es-custom/components/chat-shell/src/cds-aichat-panel.scss.js.map +0 -1
- package/es-custom/components/chat-shell/src/cds-aichat-shell.js.map +0 -1
- package/es-custom/components/chat-shell/src/cds-aichat-shell.scss.js +0 -13
- package/es-custom/components/chat-shell/src/cds-aichat-shell.scss.js.map +0 -1
package/custom-elements.json
CHANGED
|
@@ -244,7 +244,7 @@
|
|
|
244
244
|
"declarations": [
|
|
245
245
|
{
|
|
246
246
|
"kind": "variable",
|
|
247
|
-
"name": "
|
|
247
|
+
"name": "CDSAIChatShell"
|
|
248
248
|
}
|
|
249
249
|
],
|
|
250
250
|
"exports": [
|
|
@@ -252,7 +252,7 @@
|
|
|
252
252
|
"kind": "js",
|
|
253
253
|
"name": "default",
|
|
254
254
|
"declaration": {
|
|
255
|
-
"name": "
|
|
255
|
+
"name": "CDSAIChatShell",
|
|
256
256
|
"module": "src/react/chat-shell.ts"
|
|
257
257
|
}
|
|
258
258
|
}
|
|
@@ -380,7 +380,7 @@
|
|
|
380
380
|
"declarations": [
|
|
381
381
|
{
|
|
382
382
|
"kind": "variable",
|
|
383
|
-
"name": "
|
|
383
|
+
"name": "CDSAIChatPanel"
|
|
384
384
|
}
|
|
385
385
|
],
|
|
386
386
|
"exports": [
|
|
@@ -388,7 +388,7 @@
|
|
|
388
388
|
"kind": "js",
|
|
389
389
|
"name": "default",
|
|
390
390
|
"declaration": {
|
|
391
|
-
"name": "
|
|
391
|
+
"name": "CDSAIChatPanel",
|
|
392
392
|
"module": "src/react/panel.ts"
|
|
393
393
|
}
|
|
394
394
|
}
|
|
@@ -2244,12 +2244,162 @@
|
|
|
2244
2244
|
},
|
|
2245
2245
|
{
|
|
2246
2246
|
"kind": "javascript-module",
|
|
2247
|
-
"path": "src/components/chat-shell/src/
|
|
2247
|
+
"path": "src/components/chat-shell/src/panel-manager.ts",
|
|
2248
|
+
"declarations": [
|
|
2249
|
+
{
|
|
2250
|
+
"kind": "class",
|
|
2251
|
+
"description": "",
|
|
2252
|
+
"name": "PanelManager",
|
|
2253
|
+
"members": [
|
|
2254
|
+
{
|
|
2255
|
+
"kind": "field",
|
|
2256
|
+
"name": "panelObservers",
|
|
2257
|
+
"privacy": "private",
|
|
2258
|
+
"default": "new Map<HTMLElement, MutationObserver>()"
|
|
2259
|
+
},
|
|
2260
|
+
{
|
|
2261
|
+
"kind": "field",
|
|
2262
|
+
"name": "slotElements",
|
|
2263
|
+
"type": {
|
|
2264
|
+
"text": "HTMLElement[]"
|
|
2265
|
+
},
|
|
2266
|
+
"privacy": "private",
|
|
2267
|
+
"default": "[]"
|
|
2268
|
+
},
|
|
2269
|
+
{
|
|
2270
|
+
"kind": "method",
|
|
2271
|
+
"name": "connect"
|
|
2272
|
+
},
|
|
2273
|
+
{
|
|
2274
|
+
"kind": "method",
|
|
2275
|
+
"name": "disconnect"
|
|
2276
|
+
},
|
|
2277
|
+
{
|
|
2278
|
+
"kind": "method",
|
|
2279
|
+
"name": "refresh"
|
|
2280
|
+
},
|
|
2281
|
+
{
|
|
2282
|
+
"kind": "field",
|
|
2283
|
+
"name": "onSlotChange",
|
|
2284
|
+
"privacy": "private"
|
|
2285
|
+
},
|
|
2286
|
+
{
|
|
2287
|
+
"kind": "method",
|
|
2288
|
+
"name": "observeAssignedPanels",
|
|
2289
|
+
"privacy": "private"
|
|
2290
|
+
},
|
|
2291
|
+
{
|
|
2292
|
+
"kind": "method",
|
|
2293
|
+
"name": "stopObservingPanels",
|
|
2294
|
+
"privacy": "private"
|
|
2295
|
+
},
|
|
2296
|
+
{
|
|
2297
|
+
"kind": "field",
|
|
2298
|
+
"name": "onPanelMutation",
|
|
2299
|
+
"privacy": "private"
|
|
2300
|
+
},
|
|
2301
|
+
{
|
|
2302
|
+
"kind": "method",
|
|
2303
|
+
"name": "updateState",
|
|
2304
|
+
"privacy": "private"
|
|
2305
|
+
},
|
|
2306
|
+
{
|
|
2307
|
+
"kind": "method",
|
|
2308
|
+
"name": "getAssignedPanelElements",
|
|
2309
|
+
"privacy": "private",
|
|
2310
|
+
"return": {
|
|
2311
|
+
"type": {
|
|
2312
|
+
"text": "HTMLElement[]"
|
|
2313
|
+
}
|
|
2314
|
+
}
|
|
2315
|
+
},
|
|
2316
|
+
{
|
|
2317
|
+
"kind": "method",
|
|
2318
|
+
"name": "getPanelStates",
|
|
2319
|
+
"privacy": "private",
|
|
2320
|
+
"return": {
|
|
2321
|
+
"type": {
|
|
2322
|
+
"text": "PanelState[]"
|
|
2323
|
+
}
|
|
2324
|
+
}
|
|
2325
|
+
},
|
|
2326
|
+
{
|
|
2327
|
+
"kind": "method",
|
|
2328
|
+
"name": "pickActivePanel",
|
|
2329
|
+
"privacy": "private",
|
|
2330
|
+
"return": {
|
|
2331
|
+
"type": {
|
|
2332
|
+
"text": "PanelState | undefined"
|
|
2333
|
+
}
|
|
2334
|
+
},
|
|
2335
|
+
"parameters": [
|
|
2336
|
+
{
|
|
2337
|
+
"name": "panels",
|
|
2338
|
+
"type": {
|
|
2339
|
+
"text": "PanelState[]"
|
|
2340
|
+
}
|
|
2341
|
+
}
|
|
2342
|
+
]
|
|
2343
|
+
},
|
|
2344
|
+
{
|
|
2345
|
+
"kind": "method",
|
|
2346
|
+
"name": "setInert",
|
|
2347
|
+
"privacy": "private",
|
|
2348
|
+
"parameters": [
|
|
2349
|
+
{
|
|
2350
|
+
"name": "target",
|
|
2351
|
+
"type": {
|
|
2352
|
+
"text": "HTMLElement | undefined"
|
|
2353
|
+
}
|
|
2354
|
+
},
|
|
2355
|
+
{
|
|
2356
|
+
"name": "value",
|
|
2357
|
+
"type": {
|
|
2358
|
+
"text": "boolean"
|
|
2359
|
+
}
|
|
2360
|
+
}
|
|
2361
|
+
]
|
|
2362
|
+
},
|
|
2363
|
+
{
|
|
2364
|
+
"kind": "method",
|
|
2365
|
+
"name": "isPanelAnimating",
|
|
2366
|
+
"privacy": "private",
|
|
2367
|
+
"parameters": [
|
|
2368
|
+
{
|
|
2369
|
+
"name": "panelElement",
|
|
2370
|
+
"type": {
|
|
2371
|
+
"text": "HTMLElement"
|
|
2372
|
+
}
|
|
2373
|
+
}
|
|
2374
|
+
]
|
|
2375
|
+
},
|
|
2376
|
+
{
|
|
2377
|
+
"kind": "method",
|
|
2378
|
+
"name": "syncSlotElements",
|
|
2379
|
+
"privacy": "private"
|
|
2380
|
+
}
|
|
2381
|
+
]
|
|
2382
|
+
}
|
|
2383
|
+
],
|
|
2384
|
+
"exports": [
|
|
2385
|
+
{
|
|
2386
|
+
"kind": "js",
|
|
2387
|
+
"name": "PanelManager",
|
|
2388
|
+
"declaration": {
|
|
2389
|
+
"name": "PanelManager",
|
|
2390
|
+
"module": "src/components/chat-shell/src/panel-manager.ts"
|
|
2391
|
+
}
|
|
2392
|
+
}
|
|
2393
|
+
]
|
|
2394
|
+
},
|
|
2395
|
+
{
|
|
2396
|
+
"kind": "javascript-module",
|
|
2397
|
+
"path": "src/components/chat-shell/src/panel.ts",
|
|
2248
2398
|
"declarations": [
|
|
2249
2399
|
{
|
|
2250
2400
|
"kind": "class",
|
|
2251
2401
|
"description": "",
|
|
2252
|
-
"name": "
|
|
2402
|
+
"name": "CDSAIChatPanel",
|
|
2253
2403
|
"members": [
|
|
2254
2404
|
{
|
|
2255
2405
|
"kind": "field",
|
|
@@ -2306,6 +2456,28 @@
|
|
|
2306
2456
|
"attribute": "show-frame",
|
|
2307
2457
|
"reflects": true
|
|
2308
2458
|
},
|
|
2459
|
+
{
|
|
2460
|
+
"kind": "field",
|
|
2461
|
+
"name": "aiEnabled",
|
|
2462
|
+
"type": {
|
|
2463
|
+
"text": "boolean"
|
|
2464
|
+
},
|
|
2465
|
+
"default": "false",
|
|
2466
|
+
"description": "Shows the AI gradient background",
|
|
2467
|
+
"attribute": "ai-enabled",
|
|
2468
|
+
"reflects": true
|
|
2469
|
+
},
|
|
2470
|
+
{
|
|
2471
|
+
"kind": "field",
|
|
2472
|
+
"name": "bodyNoPadding",
|
|
2473
|
+
"type": {
|
|
2474
|
+
"text": "boolean"
|
|
2475
|
+
},
|
|
2476
|
+
"default": "false",
|
|
2477
|
+
"description": "Removes padding from the panel body",
|
|
2478
|
+
"attribute": "body-no-padding",
|
|
2479
|
+
"reflects": true
|
|
2480
|
+
},
|
|
2309
2481
|
{
|
|
2310
2482
|
"kind": "field",
|
|
2311
2483
|
"name": "animationOnOpen",
|
|
@@ -2473,6 +2645,11 @@
|
|
|
2473
2645
|
"kind": "method",
|
|
2474
2646
|
"name": "observeSlotContent",
|
|
2475
2647
|
"privacy": "private"
|
|
2648
|
+
},
|
|
2649
|
+
{
|
|
2650
|
+
"kind": "field",
|
|
2651
|
+
"name": "handleBodyScroll",
|
|
2652
|
+
"privacy": "private"
|
|
2476
2653
|
}
|
|
2477
2654
|
],
|
|
2478
2655
|
"events": [
|
|
@@ -2547,6 +2724,24 @@
|
|
|
2547
2724
|
"description": "Shows a frame border around the panel",
|
|
2548
2725
|
"fieldName": "showFrame"
|
|
2549
2726
|
},
|
|
2727
|
+
{
|
|
2728
|
+
"name": "ai-enabled",
|
|
2729
|
+
"type": {
|
|
2730
|
+
"text": "boolean"
|
|
2731
|
+
},
|
|
2732
|
+
"default": "false",
|
|
2733
|
+
"description": "Shows the AI gradient background",
|
|
2734
|
+
"fieldName": "aiEnabled"
|
|
2735
|
+
},
|
|
2736
|
+
{
|
|
2737
|
+
"name": "body-no-padding",
|
|
2738
|
+
"type": {
|
|
2739
|
+
"text": "boolean"
|
|
2740
|
+
},
|
|
2741
|
+
"default": "false",
|
|
2742
|
+
"description": "Removes padding from the panel body",
|
|
2743
|
+
"fieldName": "bodyNoPadding"
|
|
2744
|
+
},
|
|
2550
2745
|
{
|
|
2551
2746
|
"name": "animation-on-open",
|
|
2552
2747
|
"type": {
|
|
@@ -2586,20 +2781,20 @@
|
|
|
2586
2781
|
"kind": "js",
|
|
2587
2782
|
"name": "default",
|
|
2588
2783
|
"declaration": {
|
|
2589
|
-
"name": "
|
|
2590
|
-
"module": "src/components/chat-shell/src/
|
|
2784
|
+
"name": "CDSAIChatPanel",
|
|
2785
|
+
"module": "src/components/chat-shell/src/panel.ts"
|
|
2591
2786
|
}
|
|
2592
2787
|
}
|
|
2593
2788
|
]
|
|
2594
2789
|
},
|
|
2595
2790
|
{
|
|
2596
2791
|
"kind": "javascript-module",
|
|
2597
|
-
"path": "src/components/chat-shell/src/
|
|
2792
|
+
"path": "src/components/chat-shell/src/shell.ts",
|
|
2598
2793
|
"declarations": [
|
|
2599
2794
|
{
|
|
2600
2795
|
"kind": "class",
|
|
2601
2796
|
"description": "",
|
|
2602
|
-
"name": "
|
|
2797
|
+
"name": "CDSAIChatShell",
|
|
2603
2798
|
"members": [
|
|
2604
2799
|
{
|
|
2605
2800
|
"kind": "field",
|
|
@@ -2678,6 +2873,36 @@
|
|
|
2678
2873
|
"attribute": "history-location",
|
|
2679
2874
|
"reflects": true
|
|
2680
2875
|
},
|
|
2876
|
+
{
|
|
2877
|
+
"kind": "field",
|
|
2878
|
+
"name": "workspaceAriaLabel",
|
|
2879
|
+
"type": {
|
|
2880
|
+
"text": "string"
|
|
2881
|
+
},
|
|
2882
|
+
"default": "\"Workspace panel\"",
|
|
2883
|
+
"description": "ARIA label for the workspace region",
|
|
2884
|
+
"attribute": "workspace-aria-label"
|
|
2885
|
+
},
|
|
2886
|
+
{
|
|
2887
|
+
"kind": "field",
|
|
2888
|
+
"name": "historyAriaLabel",
|
|
2889
|
+
"type": {
|
|
2890
|
+
"text": "string"
|
|
2891
|
+
},
|
|
2892
|
+
"default": "\"Conversation history\"",
|
|
2893
|
+
"description": "ARIA label for the history region",
|
|
2894
|
+
"attribute": "history-aria-label"
|
|
2895
|
+
},
|
|
2896
|
+
{
|
|
2897
|
+
"kind": "field",
|
|
2898
|
+
"name": "messagesAriaLabel",
|
|
2899
|
+
"type": {
|
|
2900
|
+
"text": "string"
|
|
2901
|
+
},
|
|
2902
|
+
"default": "\"Chat messages\"",
|
|
2903
|
+
"description": "ARIA label for the messages region",
|
|
2904
|
+
"attribute": "messages-aria-label"
|
|
2905
|
+
},
|
|
2681
2906
|
{
|
|
2682
2907
|
"kind": "method",
|
|
2683
2908
|
"name": "getWidgetClasses",
|
|
@@ -2876,6 +3101,41 @@
|
|
|
2876
3101
|
}
|
|
2877
3102
|
},
|
|
2878
3103
|
"description": "Check if --cds-aichat-messages-max-width has changed and trigger recalculation."
|
|
3104
|
+
},
|
|
3105
|
+
{
|
|
3106
|
+
"kind": "method",
|
|
3107
|
+
"name": "syncWorkspacePanelState",
|
|
3108
|
+
"privacy": "private",
|
|
3109
|
+
"return": {
|
|
3110
|
+
"type": {
|
|
3111
|
+
"text": "void"
|
|
3112
|
+
}
|
|
3113
|
+
}
|
|
3114
|
+
},
|
|
3115
|
+
{
|
|
3116
|
+
"kind": "method",
|
|
3117
|
+
"name": "scheduleWorkspacePanelOpen",
|
|
3118
|
+
"privacy": "private",
|
|
3119
|
+
"return": {
|
|
3120
|
+
"type": {
|
|
3121
|
+
"text": "void"
|
|
3122
|
+
}
|
|
3123
|
+
}
|
|
3124
|
+
},
|
|
3125
|
+
{
|
|
3126
|
+
"kind": "method",
|
|
3127
|
+
"name": "cancelWorkspacePanelOpenSchedule",
|
|
3128
|
+
"privacy": "private",
|
|
3129
|
+
"return": {
|
|
3130
|
+
"type": {
|
|
3131
|
+
"text": "void"
|
|
3132
|
+
}
|
|
3133
|
+
}
|
|
3134
|
+
},
|
|
3135
|
+
{
|
|
3136
|
+
"kind": "field",
|
|
3137
|
+
"name": "handleWorkspacePanelCloseEnd",
|
|
3138
|
+
"privacy": "private"
|
|
2879
3139
|
}
|
|
2880
3140
|
],
|
|
2881
3141
|
"attributes": [
|
|
@@ -2941,6 +3201,33 @@
|
|
|
2941
3201
|
"default": "\"start\"",
|
|
2942
3202
|
"description": "Determines the location of the history panel (\"start\" or \"end\")",
|
|
2943
3203
|
"fieldName": "historyLocation"
|
|
3204
|
+
},
|
|
3205
|
+
{
|
|
3206
|
+
"name": "workspace-aria-label",
|
|
3207
|
+
"type": {
|
|
3208
|
+
"text": "string"
|
|
3209
|
+
},
|
|
3210
|
+
"default": "\"Workspace panel\"",
|
|
3211
|
+
"description": "ARIA label for the workspace region",
|
|
3212
|
+
"fieldName": "workspaceAriaLabel"
|
|
3213
|
+
},
|
|
3214
|
+
{
|
|
3215
|
+
"name": "history-aria-label",
|
|
3216
|
+
"type": {
|
|
3217
|
+
"text": "string"
|
|
3218
|
+
},
|
|
3219
|
+
"default": "\"Conversation history\"",
|
|
3220
|
+
"description": "ARIA label for the history region",
|
|
3221
|
+
"fieldName": "historyAriaLabel"
|
|
3222
|
+
},
|
|
3223
|
+
{
|
|
3224
|
+
"name": "messages-aria-label",
|
|
3225
|
+
"type": {
|
|
3226
|
+
"text": "string"
|
|
3227
|
+
},
|
|
3228
|
+
"default": "\"Chat messages\"",
|
|
3229
|
+
"description": "ARIA label for the messages region",
|
|
3230
|
+
"fieldName": "messagesAriaLabel"
|
|
2944
3231
|
}
|
|
2945
3232
|
],
|
|
2946
3233
|
"superclass": {
|
|
@@ -2956,158 +3243,305 @@
|
|
|
2956
3243
|
"kind": "js",
|
|
2957
3244
|
"name": "default",
|
|
2958
3245
|
"declaration": {
|
|
2959
|
-
"name": "
|
|
2960
|
-
"module": "src/components/chat-shell/src/
|
|
3246
|
+
"name": "CDSAIChatShell",
|
|
3247
|
+
"module": "src/components/chat-shell/src/shell.ts"
|
|
2961
3248
|
}
|
|
2962
3249
|
}
|
|
2963
3250
|
]
|
|
2964
3251
|
},
|
|
2965
3252
|
{
|
|
2966
3253
|
"kind": "javascript-module",
|
|
2967
|
-
"path": "src/components/chat-shell/src/
|
|
3254
|
+
"path": "src/components/chat-shell/src/workspace-manager-utils.ts",
|
|
2968
3255
|
"declarations": [
|
|
2969
3256
|
{
|
|
2970
|
-
"kind": "
|
|
2971
|
-
"
|
|
2972
|
-
"
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
"default": "new Map<HTMLElement, MutationObserver>()"
|
|
2979
|
-
},
|
|
3257
|
+
"kind": "function",
|
|
3258
|
+
"name": "calculateRequiredWidth",
|
|
3259
|
+
"return": {
|
|
3260
|
+
"type": {
|
|
3261
|
+
"text": ""
|
|
3262
|
+
}
|
|
3263
|
+
},
|
|
3264
|
+
"parameters": [
|
|
2980
3265
|
{
|
|
2981
|
-
"
|
|
2982
|
-
"name": "slotElements",
|
|
3266
|
+
"name": "dimensions",
|
|
2983
3267
|
"type": {
|
|
2984
|
-
"text": "
|
|
3268
|
+
"text": "{\n workspaceMinWidth: number;\n messagesMinWidth: number;\n historyWidth: number;\n}"
|
|
2985
3269
|
},
|
|
2986
|
-
"
|
|
2987
|
-
"default": "[]"
|
|
3270
|
+
"description": "Layout dimensions"
|
|
2988
3271
|
},
|
|
2989
3272
|
{
|
|
2990
|
-
"
|
|
2991
|
-
"name": "
|
|
3273
|
+
"description": "Minimum width for workspace area",
|
|
3274
|
+
"name": "dimensions.workspaceMinWidth"
|
|
2992
3275
|
},
|
|
2993
3276
|
{
|
|
2994
|
-
"
|
|
2995
|
-
"name": "
|
|
3277
|
+
"description": "Minimum width for messages area",
|
|
3278
|
+
"name": "dimensions.messagesMinWidth"
|
|
2996
3279
|
},
|
|
2997
3280
|
{
|
|
2998
|
-
"
|
|
2999
|
-
"name": "
|
|
3000
|
-
}
|
|
3281
|
+
"description": "Width for history panel",
|
|
3282
|
+
"name": "dimensions.historyWidth"
|
|
3283
|
+
}
|
|
3284
|
+
],
|
|
3285
|
+
"description": "Calculate the minimum width required for side-by-side layout."
|
|
3286
|
+
},
|
|
3287
|
+
{
|
|
3288
|
+
"kind": "function",
|
|
3289
|
+
"name": "hasSignificantWidthChange",
|
|
3290
|
+
"return": {
|
|
3291
|
+
"type": {
|
|
3292
|
+
"text": ""
|
|
3293
|
+
}
|
|
3294
|
+
},
|
|
3295
|
+
"parameters": [
|
|
3001
3296
|
{
|
|
3002
|
-
"
|
|
3003
|
-
"
|
|
3004
|
-
|
|
3297
|
+
"name": "current",
|
|
3298
|
+
"type": {
|
|
3299
|
+
"text": "number"
|
|
3300
|
+
},
|
|
3301
|
+
"description": "Current width value"
|
|
3005
3302
|
},
|
|
3006
3303
|
{
|
|
3007
|
-
"
|
|
3008
|
-
"
|
|
3009
|
-
|
|
3304
|
+
"name": "initial",
|
|
3305
|
+
"type": {
|
|
3306
|
+
"text": "number"
|
|
3307
|
+
},
|
|
3308
|
+
"description": "Initial width value"
|
|
3010
3309
|
},
|
|
3011
3310
|
{
|
|
3012
|
-
"
|
|
3013
|
-
"
|
|
3014
|
-
|
|
3311
|
+
"name": "threshold",
|
|
3312
|
+
"type": {
|
|
3313
|
+
"text": "number"
|
|
3314
|
+
},
|
|
3315
|
+
"description": "Minimum change threshold in pixels"
|
|
3316
|
+
}
|
|
3317
|
+
],
|
|
3318
|
+
"description": "Check if width change exceeds the threshold for meaningful expansion."
|
|
3319
|
+
},
|
|
3320
|
+
{
|
|
3321
|
+
"kind": "function",
|
|
3322
|
+
"name": "isWideEnough",
|
|
3323
|
+
"return": {
|
|
3324
|
+
"type": {
|
|
3325
|
+
"text": ""
|
|
3326
|
+
}
|
|
3327
|
+
},
|
|
3328
|
+
"parameters": [
|
|
3329
|
+
{
|
|
3330
|
+
"name": "inlineSize",
|
|
3331
|
+
"type": {
|
|
3332
|
+
"text": "number"
|
|
3333
|
+
},
|
|
3334
|
+
"description": "Current width of the host element"
|
|
3015
3335
|
},
|
|
3016
3336
|
{
|
|
3017
|
-
"
|
|
3018
|
-
"
|
|
3019
|
-
|
|
3337
|
+
"name": "requiredWidth",
|
|
3338
|
+
"type": {
|
|
3339
|
+
"text": "number"
|
|
3340
|
+
},
|
|
3341
|
+
"description": "Minimum width required for side-by-side layout"
|
|
3342
|
+
}
|
|
3343
|
+
],
|
|
3344
|
+
"description": "Check if the host element is wide enough for side-by-side layout."
|
|
3345
|
+
},
|
|
3346
|
+
{
|
|
3347
|
+
"kind": "function",
|
|
3348
|
+
"name": "canHostGrow",
|
|
3349
|
+
"return": {
|
|
3350
|
+
"type": {
|
|
3351
|
+
"text": ""
|
|
3352
|
+
}
|
|
3353
|
+
},
|
|
3354
|
+
"parameters": [
|
|
3355
|
+
{
|
|
3356
|
+
"name": "requiredWidth",
|
|
3357
|
+
"type": {
|
|
3358
|
+
"text": "number"
|
|
3359
|
+
},
|
|
3360
|
+
"description": "Minimum width required for side-by-side layout"
|
|
3361
|
+
}
|
|
3362
|
+
],
|
|
3363
|
+
"description": "Check if the host element can potentially grow to the required width."
|
|
3364
|
+
},
|
|
3365
|
+
{
|
|
3366
|
+
"kind": "function",
|
|
3367
|
+
"name": "getInlineSizeFromEntry",
|
|
3368
|
+
"return": {
|
|
3369
|
+
"type": {
|
|
3370
|
+
"text": ""
|
|
3371
|
+
}
|
|
3372
|
+
},
|
|
3373
|
+
"parameters": [
|
|
3374
|
+
{
|
|
3375
|
+
"name": "entry",
|
|
3376
|
+
"type": {
|
|
3377
|
+
"text": "ResizeObserverEntry"
|
|
3378
|
+
},
|
|
3379
|
+
"description": "ResizeObserver entry containing size information"
|
|
3380
|
+
}
|
|
3381
|
+
],
|
|
3382
|
+
"description": "Extract inline size from a ResizeObserverEntry."
|
|
3383
|
+
},
|
|
3384
|
+
{
|
|
3385
|
+
"kind": "function",
|
|
3386
|
+
"name": "getCssLengthFromProperty",
|
|
3387
|
+
"return": {
|
|
3388
|
+
"type": {
|
|
3389
|
+
"text": ""
|
|
3390
|
+
}
|
|
3391
|
+
},
|
|
3392
|
+
"parameters": [
|
|
3393
|
+
{
|
|
3394
|
+
"name": "element",
|
|
3395
|
+
"type": {
|
|
3396
|
+
"text": "HTMLElement"
|
|
3397
|
+
},
|
|
3398
|
+
"description": "Element to get computed style from"
|
|
3020
3399
|
},
|
|
3021
3400
|
{
|
|
3022
|
-
"
|
|
3023
|
-
"
|
|
3024
|
-
|
|
3401
|
+
"name": "propertyName",
|
|
3402
|
+
"type": {
|
|
3403
|
+
"text": "string"
|
|
3404
|
+
},
|
|
3405
|
+
"description": "CSS custom property name"
|
|
3025
3406
|
},
|
|
3026
3407
|
{
|
|
3027
|
-
"
|
|
3028
|
-
"
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
|
|
3408
|
+
"name": "fallback",
|
|
3409
|
+
"type": {
|
|
3410
|
+
"text": "number"
|
|
3411
|
+
},
|
|
3412
|
+
"description": "Fallback value if property is not set or invalid"
|
|
3413
|
+
}
|
|
3414
|
+
],
|
|
3415
|
+
"description": "Parse a CSS length value from a computed style property."
|
|
3416
|
+
},
|
|
3417
|
+
{
|
|
3418
|
+
"kind": "function",
|
|
3419
|
+
"name": "areWorkspaceAttributesCorrect",
|
|
3420
|
+
"return": {
|
|
3421
|
+
"type": {
|
|
3422
|
+
"text": ""
|
|
3423
|
+
}
|
|
3424
|
+
},
|
|
3425
|
+
"parameters": [
|
|
3426
|
+
{
|
|
3427
|
+
"name": "element",
|
|
3428
|
+
"type": {
|
|
3429
|
+
"text": "HTMLElement"
|
|
3430
|
+
},
|
|
3431
|
+
"description": "Host element containing workspace attributes"
|
|
3035
3432
|
},
|
|
3036
3433
|
{
|
|
3037
|
-
"
|
|
3038
|
-
"
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
|
|
3434
|
+
"name": "inPanel",
|
|
3435
|
+
"type": {
|
|
3436
|
+
"text": "boolean"
|
|
3437
|
+
},
|
|
3438
|
+
"description": "Expected panel state"
|
|
3439
|
+
}
|
|
3440
|
+
],
|
|
3441
|
+
"description": "Check if workspace DOM attributes match the expected panel state."
|
|
3442
|
+
},
|
|
3443
|
+
{
|
|
3444
|
+
"kind": "function",
|
|
3445
|
+
"name": "shouldSkipWorkspaceUpdate",
|
|
3446
|
+
"return": {
|
|
3447
|
+
"type": {
|
|
3448
|
+
"text": ""
|
|
3449
|
+
}
|
|
3450
|
+
},
|
|
3451
|
+
"parameters": [
|
|
3452
|
+
{
|
|
3453
|
+
"name": "config",
|
|
3454
|
+
"type": {
|
|
3455
|
+
"text": "{ showWorkspace: boolean }"
|
|
3456
|
+
},
|
|
3457
|
+
"description": "Workspace configuration"
|
|
3045
3458
|
},
|
|
3046
3459
|
{
|
|
3047
|
-
"
|
|
3048
|
-
"
|
|
3049
|
-
|
|
3050
|
-
"return": {
|
|
3051
|
-
"type": {
|
|
3052
|
-
"text": "PanelState | undefined"
|
|
3053
|
-
}
|
|
3460
|
+
"name": "state",
|
|
3461
|
+
"type": {
|
|
3462
|
+
"text": "{ containerVisible: boolean; isContracting: boolean }"
|
|
3054
3463
|
},
|
|
3055
|
-
"
|
|
3056
|
-
{
|
|
3057
|
-
"name": "panels",
|
|
3058
|
-
"type": {
|
|
3059
|
-
"text": "PanelState[]"
|
|
3060
|
-
}
|
|
3061
|
-
}
|
|
3062
|
-
]
|
|
3464
|
+
"description": "Current workspace state"
|
|
3063
3465
|
},
|
|
3064
3466
|
{
|
|
3065
|
-
"
|
|
3066
|
-
"name": "
|
|
3067
|
-
"privacy": "private",
|
|
3068
|
-
"parameters": [
|
|
3069
|
-
{
|
|
3070
|
-
"name": "target",
|
|
3071
|
-
"type": {
|
|
3072
|
-
"text": "HTMLElement | undefined"
|
|
3073
|
-
}
|
|
3074
|
-
},
|
|
3075
|
-
{
|
|
3076
|
-
"name": "value",
|
|
3077
|
-
"type": {
|
|
3078
|
-
"text": "boolean"
|
|
3079
|
-
}
|
|
3080
|
-
}
|
|
3081
|
-
]
|
|
3467
|
+
"description": "Whether workspace is enabled",
|
|
3468
|
+
"name": "config.showWorkspace"
|
|
3082
3469
|
},
|
|
3083
3470
|
{
|
|
3084
|
-
"
|
|
3085
|
-
"name": "
|
|
3086
|
-
"privacy": "private",
|
|
3087
|
-
"parameters": [
|
|
3088
|
-
{
|
|
3089
|
-
"name": "panelElement",
|
|
3090
|
-
"type": {
|
|
3091
|
-
"text": "HTMLElement"
|
|
3092
|
-
}
|
|
3093
|
-
}
|
|
3094
|
-
]
|
|
3471
|
+
"description": "Whether workspace container is visible",
|
|
3472
|
+
"name": "state.containerVisible"
|
|
3095
3473
|
},
|
|
3096
3474
|
{
|
|
3097
|
-
"
|
|
3098
|
-
"name": "
|
|
3099
|
-
"privacy": "private"
|
|
3475
|
+
"description": "Whether workspace is currently contracting",
|
|
3476
|
+
"name": "state.isContracting"
|
|
3100
3477
|
}
|
|
3101
|
-
]
|
|
3478
|
+
],
|
|
3479
|
+
"description": "Check if workspace update should be skipped based on current state."
|
|
3102
3480
|
}
|
|
3103
3481
|
],
|
|
3104
3482
|
"exports": [
|
|
3105
3483
|
{
|
|
3106
3484
|
"kind": "js",
|
|
3107
|
-
"name": "
|
|
3485
|
+
"name": "calculateRequiredWidth",
|
|
3108
3486
|
"declaration": {
|
|
3109
|
-
"name": "
|
|
3110
|
-
"module": "src/components/chat-shell/src/
|
|
3487
|
+
"name": "calculateRequiredWidth",
|
|
3488
|
+
"module": "src/components/chat-shell/src/workspace-manager-utils.ts"
|
|
3489
|
+
}
|
|
3490
|
+
},
|
|
3491
|
+
{
|
|
3492
|
+
"kind": "js",
|
|
3493
|
+
"name": "hasSignificantWidthChange",
|
|
3494
|
+
"declaration": {
|
|
3495
|
+
"name": "hasSignificantWidthChange",
|
|
3496
|
+
"module": "src/components/chat-shell/src/workspace-manager-utils.ts"
|
|
3497
|
+
}
|
|
3498
|
+
},
|
|
3499
|
+
{
|
|
3500
|
+
"kind": "js",
|
|
3501
|
+
"name": "isWideEnough",
|
|
3502
|
+
"declaration": {
|
|
3503
|
+
"name": "isWideEnough",
|
|
3504
|
+
"module": "src/components/chat-shell/src/workspace-manager-utils.ts"
|
|
3505
|
+
}
|
|
3506
|
+
},
|
|
3507
|
+
{
|
|
3508
|
+
"kind": "js",
|
|
3509
|
+
"name": "canHostGrow",
|
|
3510
|
+
"declaration": {
|
|
3511
|
+
"name": "canHostGrow",
|
|
3512
|
+
"module": "src/components/chat-shell/src/workspace-manager-utils.ts"
|
|
3513
|
+
}
|
|
3514
|
+
},
|
|
3515
|
+
{
|
|
3516
|
+
"kind": "js",
|
|
3517
|
+
"name": "getInlineSizeFromEntry",
|
|
3518
|
+
"declaration": {
|
|
3519
|
+
"name": "getInlineSizeFromEntry",
|
|
3520
|
+
"module": "src/components/chat-shell/src/workspace-manager-utils.ts"
|
|
3521
|
+
}
|
|
3522
|
+
},
|
|
3523
|
+
{
|
|
3524
|
+
"kind": "js",
|
|
3525
|
+
"name": "getCssLengthFromProperty",
|
|
3526
|
+
"declaration": {
|
|
3527
|
+
"name": "getCssLengthFromProperty",
|
|
3528
|
+
"module": "src/components/chat-shell/src/workspace-manager-utils.ts"
|
|
3529
|
+
}
|
|
3530
|
+
},
|
|
3531
|
+
{
|
|
3532
|
+
"kind": "js",
|
|
3533
|
+
"name": "areWorkspaceAttributesCorrect",
|
|
3534
|
+
"declaration": {
|
|
3535
|
+
"name": "areWorkspaceAttributesCorrect",
|
|
3536
|
+
"module": "src/components/chat-shell/src/workspace-manager-utils.ts"
|
|
3537
|
+
}
|
|
3538
|
+
},
|
|
3539
|
+
{
|
|
3540
|
+
"kind": "js",
|
|
3541
|
+
"name": "shouldSkipWorkspaceUpdate",
|
|
3542
|
+
"declaration": {
|
|
3543
|
+
"name": "shouldSkipWorkspaceUpdate",
|
|
3544
|
+
"module": "src/components/chat-shell/src/workspace-manager-utils.ts"
|
|
3111
3545
|
}
|
|
3112
3546
|
}
|
|
3113
3547
|
]
|
|
@@ -3128,7 +3562,7 @@
|
|
|
3128
3562
|
"text": "WorkspaceState"
|
|
3129
3563
|
},
|
|
3130
3564
|
"privacy": "private",
|
|
3131
|
-
"default": "{ inPanel: false, contentVisible: true, containerVisible: false, isExpanding: false, isContracting: false, }"
|
|
3565
|
+
"default": "{ inPanel: false, contentVisible: true, containerVisible: false, isCheckingExpansion: false, isExpanding: false, isCheckingContracting: false, isContracting: false, }"
|
|
3132
3566
|
},
|
|
3133
3567
|
{
|
|
3134
3568
|
"kind": "field",
|
|
@@ -3164,7 +3598,15 @@
|
|
|
3164
3598
|
},
|
|
3165
3599
|
{
|
|
3166
3600
|
"kind": "field",
|
|
3167
|
-
"name": "
|
|
3601
|
+
"name": "contractionCheckInterval",
|
|
3602
|
+
"type": {
|
|
3603
|
+
"text": "number | undefined"
|
|
3604
|
+
},
|
|
3605
|
+
"privacy": "private"
|
|
3606
|
+
},
|
|
3607
|
+
{
|
|
3608
|
+
"kind": "field",
|
|
3609
|
+
"name": "contractionLastInlineSize",
|
|
3168
3610
|
"type": {
|
|
3169
3611
|
"text": "number | undefined"
|
|
3170
3612
|
},
|
|
@@ -3172,7 +3614,7 @@
|
|
|
3172
3614
|
},
|
|
3173
3615
|
{
|
|
3174
3616
|
"kind": "field",
|
|
3175
|
-
"name": "
|
|
3617
|
+
"name": "contractionInitialInlineSize",
|
|
3176
3618
|
"type": {
|
|
3177
3619
|
"text": "number | undefined"
|
|
3178
3620
|
},
|
|
@@ -3235,7 +3677,163 @@
|
|
|
3235
3677
|
},
|
|
3236
3678
|
{
|
|
3237
3679
|
"kind": "method",
|
|
3238
|
-
"name": "updateConfig",
|
|
3680
|
+
"name": "updateConfig",
|
|
3681
|
+
"return": {
|
|
3682
|
+
"type": {
|
|
3683
|
+
"text": "void"
|
|
3684
|
+
}
|
|
3685
|
+
},
|
|
3686
|
+
"parameters": [
|
|
3687
|
+
{
|
|
3688
|
+
"name": "newConfig",
|
|
3689
|
+
"type": {
|
|
3690
|
+
"text": "Partial<WorkspaceConfig>"
|
|
3691
|
+
}
|
|
3692
|
+
}
|
|
3693
|
+
],
|
|
3694
|
+
"description": "Update workspace configuration.\nHandles transitions when workspace visibility or related settings change."
|
|
3695
|
+
},
|
|
3696
|
+
{
|
|
3697
|
+
"kind": "method",
|
|
3698
|
+
"name": "getState",
|
|
3699
|
+
"return": {
|
|
3700
|
+
"type": {
|
|
3701
|
+
"text": "Readonly<WorkspaceState>"
|
|
3702
|
+
}
|
|
3703
|
+
},
|
|
3704
|
+
"description": "Get current workspace state.\nReturns a readonly copy to prevent external mutations."
|
|
3705
|
+
},
|
|
3706
|
+
{
|
|
3707
|
+
"kind": "method",
|
|
3708
|
+
"name": "shouldRenderInline",
|
|
3709
|
+
"return": {
|
|
3710
|
+
"type": {
|
|
3711
|
+
"text": "boolean"
|
|
3712
|
+
}
|
|
3713
|
+
},
|
|
3714
|
+
"description": "Check if workspace should be rendered inline (side-by-side with messages)."
|
|
3715
|
+
},
|
|
3716
|
+
{
|
|
3717
|
+
"kind": "method",
|
|
3718
|
+
"name": "shouldRenderPanel",
|
|
3719
|
+
"return": {
|
|
3720
|
+
"type": {
|
|
3721
|
+
"text": "boolean"
|
|
3722
|
+
}
|
|
3723
|
+
},
|
|
3724
|
+
"description": "Check if workspace should be rendered as a panel (overlay)."
|
|
3725
|
+
},
|
|
3726
|
+
{
|
|
3727
|
+
"kind": "method",
|
|
3728
|
+
"name": "observeHostWidth",
|
|
3729
|
+
"privacy": "private",
|
|
3730
|
+
"return": {
|
|
3731
|
+
"type": {
|
|
3732
|
+
"text": "void"
|
|
3733
|
+
}
|
|
3734
|
+
}
|
|
3735
|
+
},
|
|
3736
|
+
{
|
|
3737
|
+
"kind": "method",
|
|
3738
|
+
"name": "setupWindowResizeListener",
|
|
3739
|
+
"privacy": "private",
|
|
3740
|
+
"return": {
|
|
3741
|
+
"type": {
|
|
3742
|
+
"text": "void"
|
|
3743
|
+
}
|
|
3744
|
+
}
|
|
3745
|
+
},
|
|
3746
|
+
{
|
|
3747
|
+
"kind": "method",
|
|
3748
|
+
"name": "createHostResizeObserver",
|
|
3749
|
+
"privacy": "private",
|
|
3750
|
+
"return": {
|
|
3751
|
+
"type": {
|
|
3752
|
+
"text": "void"
|
|
3753
|
+
}
|
|
3754
|
+
}
|
|
3755
|
+
},
|
|
3756
|
+
{
|
|
3757
|
+
"kind": "method",
|
|
3758
|
+
"name": "reconnectHostResizeObserver",
|
|
3759
|
+
"privacy": "private",
|
|
3760
|
+
"return": {
|
|
3761
|
+
"type": {
|
|
3762
|
+
"text": "void"
|
|
3763
|
+
}
|
|
3764
|
+
}
|
|
3765
|
+
},
|
|
3766
|
+
{
|
|
3767
|
+
"kind": "method",
|
|
3768
|
+
"name": "performInitialHostMeasurement",
|
|
3769
|
+
"privacy": "private",
|
|
3770
|
+
"return": {
|
|
3771
|
+
"type": {
|
|
3772
|
+
"text": "void"
|
|
3773
|
+
}
|
|
3774
|
+
}
|
|
3775
|
+
},
|
|
3776
|
+
{
|
|
3777
|
+
"kind": "method",
|
|
3778
|
+
"name": "handleHostResize",
|
|
3779
|
+
"privacy": "private",
|
|
3780
|
+
"return": {
|
|
3781
|
+
"type": {
|
|
3782
|
+
"text": "void"
|
|
3783
|
+
}
|
|
3784
|
+
},
|
|
3785
|
+
"parameters": [
|
|
3786
|
+
{
|
|
3787
|
+
"name": "inlineSize",
|
|
3788
|
+
"type": {
|
|
3789
|
+
"text": "number"
|
|
3790
|
+
}
|
|
3791
|
+
}
|
|
3792
|
+
]
|
|
3793
|
+
},
|
|
3794
|
+
{
|
|
3795
|
+
"kind": "method",
|
|
3796
|
+
"name": "updateWorkspaceInPanelState",
|
|
3797
|
+
"privacy": "private",
|
|
3798
|
+
"return": {
|
|
3799
|
+
"type": {
|
|
3800
|
+
"text": "void"
|
|
3801
|
+
}
|
|
3802
|
+
},
|
|
3803
|
+
"parameters": [
|
|
3804
|
+
{
|
|
3805
|
+
"name": "inlineSize",
|
|
3806
|
+
"type": {
|
|
3807
|
+
"text": "number"
|
|
3808
|
+
}
|
|
3809
|
+
}
|
|
3810
|
+
]
|
|
3811
|
+
},
|
|
3812
|
+
{
|
|
3813
|
+
"kind": "method",
|
|
3814
|
+
"name": "getLayoutDimensions",
|
|
3815
|
+
"privacy": "private",
|
|
3816
|
+
"return": {
|
|
3817
|
+
"type": {
|
|
3818
|
+
"text": "{\n workspaceMinWidth: number;\n messagesMinWidth: number;\n historyWidth: number;\n }"
|
|
3819
|
+
}
|
|
3820
|
+
},
|
|
3821
|
+
"description": "Get layout dimensions from cache or compute if not available.\nUses cached CSS values for performance, falling back to live computation."
|
|
3822
|
+
},
|
|
3823
|
+
{
|
|
3824
|
+
"kind": "method",
|
|
3825
|
+
"name": "handleShowWorkspaceEnabled",
|
|
3826
|
+
"privacy": "private",
|
|
3827
|
+
"return": {
|
|
3828
|
+
"type": {
|
|
3829
|
+
"text": "void"
|
|
3830
|
+
}
|
|
3831
|
+
}
|
|
3832
|
+
},
|
|
3833
|
+
{
|
|
3834
|
+
"kind": "method",
|
|
3835
|
+
"name": "initializeImmediateDisplay",
|
|
3836
|
+
"privacy": "private",
|
|
3239
3837
|
"return": {
|
|
3240
3838
|
"type": {
|
|
3241
3839
|
"text": "void"
|
|
@@ -3243,67 +3841,119 @@
|
|
|
3243
3841
|
},
|
|
3244
3842
|
"parameters": [
|
|
3245
3843
|
{
|
|
3246
|
-
"name": "
|
|
3844
|
+
"name": "mode",
|
|
3247
3845
|
"type": {
|
|
3248
|
-
"text": "
|
|
3846
|
+
"text": "\"container\" | \"panel\""
|
|
3847
|
+
}
|
|
3848
|
+
},
|
|
3849
|
+
{
|
|
3850
|
+
"name": "inlineSize",
|
|
3851
|
+
"type": {
|
|
3852
|
+
"text": "number"
|
|
3249
3853
|
}
|
|
3250
3854
|
}
|
|
3251
|
-
]
|
|
3252
|
-
"description": "Update workspace configuration.\nHandles transitions when workspace visibility or related settings change."
|
|
3855
|
+
]
|
|
3253
3856
|
},
|
|
3254
3857
|
{
|
|
3255
3858
|
"kind": "method",
|
|
3256
|
-
"name": "
|
|
3859
|
+
"name": "initializeExpansionTracking",
|
|
3860
|
+
"privacy": "private",
|
|
3257
3861
|
"return": {
|
|
3258
3862
|
"type": {
|
|
3259
|
-
"text": "
|
|
3863
|
+
"text": "void"
|
|
3260
3864
|
}
|
|
3261
|
-
}
|
|
3262
|
-
"description": "Get current workspace state.\nReturns a readonly copy to prevent external mutations."
|
|
3865
|
+
}
|
|
3263
3866
|
},
|
|
3264
3867
|
{
|
|
3265
3868
|
"kind": "method",
|
|
3266
|
-
"name": "
|
|
3869
|
+
"name": "handleShowWorkspaceDisabled",
|
|
3870
|
+
"privacy": "private",
|
|
3267
3871
|
"return": {
|
|
3268
3872
|
"type": {
|
|
3269
|
-
"text": "
|
|
3873
|
+
"text": "void"
|
|
3270
3874
|
}
|
|
3271
|
-
}
|
|
3272
|
-
"description": "Check if workspace should be rendered inline (side-by-side with messages)."
|
|
3875
|
+
}
|
|
3273
3876
|
},
|
|
3274
3877
|
{
|
|
3275
3878
|
"kind": "method",
|
|
3276
|
-
"name": "
|
|
3879
|
+
"name": "startExpansionPolling",
|
|
3880
|
+
"privacy": "private",
|
|
3277
3881
|
"return": {
|
|
3278
3882
|
"type": {
|
|
3279
|
-
"text": "
|
|
3883
|
+
"text": "void"
|
|
3884
|
+
}
|
|
3885
|
+
}
|
|
3886
|
+
},
|
|
3887
|
+
{
|
|
3888
|
+
"kind": "method",
|
|
3889
|
+
"name": "checkExpansionProgress",
|
|
3890
|
+
"privacy": "private",
|
|
3891
|
+
"return": {
|
|
3892
|
+
"type": {
|
|
3893
|
+
"text": "void"
|
|
3280
3894
|
}
|
|
3281
3895
|
},
|
|
3282
|
-
"
|
|
3896
|
+
"parameters": [
|
|
3897
|
+
{
|
|
3898
|
+
"name": "initialWidth",
|
|
3899
|
+
"type": {
|
|
3900
|
+
"text": "number"
|
|
3901
|
+
}
|
|
3902
|
+
},
|
|
3903
|
+
{
|
|
3904
|
+
"name": "hasSetContainerMode",
|
|
3905
|
+
"type": {
|
|
3906
|
+
"text": "{ value: boolean }"
|
|
3907
|
+
}
|
|
3908
|
+
}
|
|
3909
|
+
],
|
|
3910
|
+
"description": "Check expansion progress and determine if transition is complete."
|
|
3283
3911
|
},
|
|
3284
3912
|
{
|
|
3285
3913
|
"kind": "method",
|
|
3286
|
-
"name": "
|
|
3914
|
+
"name": "handleOngoingExpansion",
|
|
3287
3915
|
"privacy": "private",
|
|
3288
3916
|
"return": {
|
|
3289
3917
|
"type": {
|
|
3290
3918
|
"text": "void"
|
|
3291
3919
|
}
|
|
3292
|
-
}
|
|
3920
|
+
},
|
|
3921
|
+
"parameters": [
|
|
3922
|
+
{
|
|
3923
|
+
"name": "currentWidth",
|
|
3924
|
+
"type": {
|
|
3925
|
+
"text": "number"
|
|
3926
|
+
}
|
|
3927
|
+
},
|
|
3928
|
+
{
|
|
3929
|
+
"name": "initialWidth",
|
|
3930
|
+
"type": {
|
|
3931
|
+
"text": "number"
|
|
3932
|
+
}
|
|
3933
|
+
},
|
|
3934
|
+
{
|
|
3935
|
+
"name": "hasSetContainerMode",
|
|
3936
|
+
"type": {
|
|
3937
|
+
"text": "{ value: boolean }"
|
|
3938
|
+
}
|
|
3939
|
+
}
|
|
3940
|
+
],
|
|
3941
|
+
"description": "Handle ongoing width changes during expansion."
|
|
3293
3942
|
},
|
|
3294
3943
|
{
|
|
3295
3944
|
"kind": "method",
|
|
3296
|
-
"name": "
|
|
3945
|
+
"name": "setWorkspaceInContainerMode",
|
|
3297
3946
|
"privacy": "private",
|
|
3298
3947
|
"return": {
|
|
3299
3948
|
"type": {
|
|
3300
3949
|
"text": "void"
|
|
3301
3950
|
}
|
|
3302
|
-
}
|
|
3951
|
+
},
|
|
3952
|
+
"description": "Set workspace to container mode by updating DOM attributes."
|
|
3303
3953
|
},
|
|
3304
3954
|
{
|
|
3305
3955
|
"kind": "method",
|
|
3306
|
-
"name": "
|
|
3956
|
+
"name": "setupContractionTracking",
|
|
3307
3957
|
"privacy": "private",
|
|
3308
3958
|
"return": {
|
|
3309
3959
|
"type": {
|
|
@@ -3313,7 +3963,7 @@
|
|
|
3313
3963
|
},
|
|
3314
3964
|
{
|
|
3315
3965
|
"kind": "method",
|
|
3316
|
-
"name": "
|
|
3966
|
+
"name": "initializeImmediateClosing",
|
|
3317
3967
|
"privacy": "private",
|
|
3318
3968
|
"return": {
|
|
3319
3969
|
"type": {
|
|
@@ -3323,7 +3973,7 @@
|
|
|
3323
3973
|
},
|
|
3324
3974
|
{
|
|
3325
3975
|
"kind": "method",
|
|
3326
|
-
"name": "
|
|
3976
|
+
"name": "startContractionPolling",
|
|
3327
3977
|
"privacy": "private",
|
|
3328
3978
|
"return": {
|
|
3329
3979
|
"type": {
|
|
@@ -3333,7 +3983,7 @@
|
|
|
3333
3983
|
},
|
|
3334
3984
|
{
|
|
3335
3985
|
"kind": "method",
|
|
3336
|
-
"name": "
|
|
3986
|
+
"name": "checkContractionProgress",
|
|
3337
3987
|
"privacy": "private",
|
|
3338
3988
|
"return": {
|
|
3339
3989
|
"type": {
|
|
@@ -3342,16 +3992,22 @@
|
|
|
3342
3992
|
},
|
|
3343
3993
|
"parameters": [
|
|
3344
3994
|
{
|
|
3345
|
-
"name": "
|
|
3995
|
+
"name": "initialWidth",
|
|
3346
3996
|
"type": {
|
|
3347
3997
|
"text": "number"
|
|
3348
3998
|
}
|
|
3999
|
+
},
|
|
4000
|
+
{
|
|
4001
|
+
"name": "hasSetContractingMode",
|
|
4002
|
+
"type": {
|
|
4003
|
+
"text": "{ value: boolean }"
|
|
4004
|
+
}
|
|
3349
4005
|
}
|
|
3350
4006
|
]
|
|
3351
4007
|
},
|
|
3352
4008
|
{
|
|
3353
4009
|
"kind": "method",
|
|
3354
|
-
"name": "
|
|
4010
|
+
"name": "handleOngoingContraction",
|
|
3355
4011
|
"privacy": "private",
|
|
3356
4012
|
"return": {
|
|
3357
4013
|
"type": {
|
|
@@ -3360,36 +4016,46 @@
|
|
|
3360
4016
|
},
|
|
3361
4017
|
"parameters": [
|
|
3362
4018
|
{
|
|
3363
|
-
"name": "
|
|
4019
|
+
"name": "currentWidth",
|
|
4020
|
+
"type": {
|
|
4021
|
+
"text": "number"
|
|
4022
|
+
}
|
|
4023
|
+
},
|
|
4024
|
+
{
|
|
4025
|
+
"name": "initialWidth",
|
|
3364
4026
|
"type": {
|
|
3365
4027
|
"text": "number"
|
|
3366
4028
|
}
|
|
4029
|
+
},
|
|
4030
|
+
{
|
|
4031
|
+
"name": "hasSetContractingMode",
|
|
4032
|
+
"type": {
|
|
4033
|
+
"text": "{ value: boolean }"
|
|
4034
|
+
}
|
|
3367
4035
|
}
|
|
3368
4036
|
]
|
|
3369
4037
|
},
|
|
3370
4038
|
{
|
|
3371
4039
|
"kind": "method",
|
|
3372
|
-
"name": "
|
|
4040
|
+
"name": "finishWorkspaceContraction",
|
|
3373
4041
|
"privacy": "private",
|
|
3374
4042
|
"return": {
|
|
3375
4043
|
"type": {
|
|
3376
4044
|
"text": "void"
|
|
3377
4045
|
}
|
|
3378
|
-
}
|
|
3379
|
-
|
|
3380
|
-
|
|
3381
|
-
|
|
3382
|
-
|
|
3383
|
-
|
|
3384
|
-
|
|
3385
|
-
"type": {
|
|
3386
|
-
"text": "void"
|
|
4046
|
+
},
|
|
4047
|
+
"parameters": [
|
|
4048
|
+
{
|
|
4049
|
+
"name": "sawMovement",
|
|
4050
|
+
"type": {
|
|
4051
|
+
"text": "boolean"
|
|
4052
|
+
}
|
|
3387
4053
|
}
|
|
3388
|
-
|
|
4054
|
+
]
|
|
3389
4055
|
},
|
|
3390
4056
|
{
|
|
3391
4057
|
"kind": "method",
|
|
3392
|
-
"name": "
|
|
4058
|
+
"name": "startFinalContractionPolling",
|
|
3393
4059
|
"privacy": "private",
|
|
3394
4060
|
"return": {
|
|
3395
4061
|
"type": {
|
|
@@ -3399,13 +4065,21 @@
|
|
|
3399
4065
|
},
|
|
3400
4066
|
{
|
|
3401
4067
|
"kind": "method",
|
|
3402
|
-
"name": "
|
|
4068
|
+
"name": "trackExpectedContraction",
|
|
3403
4069
|
"privacy": "private",
|
|
3404
4070
|
"return": {
|
|
3405
4071
|
"type": {
|
|
3406
4072
|
"text": "void"
|
|
3407
4073
|
}
|
|
3408
|
-
}
|
|
4074
|
+
},
|
|
4075
|
+
"parameters": [
|
|
4076
|
+
{
|
|
4077
|
+
"name": "inlineSize",
|
|
4078
|
+
"type": {
|
|
4079
|
+
"text": "number"
|
|
4080
|
+
}
|
|
4081
|
+
}
|
|
4082
|
+
]
|
|
3409
4083
|
},
|
|
3410
4084
|
{
|
|
3411
4085
|
"kind": "method",
|
|
@@ -3465,7 +4139,7 @@
|
|
|
3465
4139
|
},
|
|
3466
4140
|
{
|
|
3467
4141
|
"kind": "method",
|
|
3468
|
-
"name": "
|
|
4142
|
+
"name": "clearContractionTimers",
|
|
3469
4143
|
"privacy": "private",
|
|
3470
4144
|
"return": {
|
|
3471
4145
|
"type": {
|
|
@@ -3473,6 +4147,26 @@
|
|
|
3473
4147
|
}
|
|
3474
4148
|
}
|
|
3475
4149
|
},
|
|
4150
|
+
{
|
|
4151
|
+
"kind": "method",
|
|
4152
|
+
"name": "updateWorkspaceAttributes",
|
|
4153
|
+
"privacy": "private",
|
|
4154
|
+
"return": {
|
|
4155
|
+
"type": {
|
|
4156
|
+
"text": "void"
|
|
4157
|
+
}
|
|
4158
|
+
},
|
|
4159
|
+
"parameters": [
|
|
4160
|
+
{
|
|
4161
|
+
"name": "inPanel",
|
|
4162
|
+
"type": {
|
|
4163
|
+
"text": "boolean"
|
|
4164
|
+
},
|
|
4165
|
+
"description": "True for panel mode, false for container mode"
|
|
4166
|
+
}
|
|
4167
|
+
],
|
|
4168
|
+
"description": "Updates workspace DOM attributes to match the panel state.\nMaintains inverse relationship between panel and container attributes."
|
|
4169
|
+
},
|
|
3476
4170
|
{
|
|
3477
4171
|
"kind": "method",
|
|
3478
4172
|
"name": "setWorkspaceInPanel",
|
|
@@ -3487,9 +4181,11 @@
|
|
|
3487
4181
|
"name": "inPanel",
|
|
3488
4182
|
"type": {
|
|
3489
4183
|
"text": "boolean"
|
|
3490
|
-
}
|
|
4184
|
+
},
|
|
4185
|
+
"description": "True to display workspace as overlay panel, false for inline"
|
|
3491
4186
|
}
|
|
3492
|
-
]
|
|
4187
|
+
],
|
|
4188
|
+
"description": "Updates the workspace panel state and corresponding DOM attributes.\n\nSynchronizes internal state with DOM attributes that control whether\nthe workspace is displayed as an overlay panel or inline container.\n\nIgnores calls during expansion/contraction transitions. Only updates if\nstate or attributes need changes. Maintains inverse relationship between\npanel and container attributes."
|
|
3493
4189
|
},
|
|
3494
4190
|
{
|
|
3495
4191
|
"kind": "method",
|
|
@@ -3575,48 +4271,6 @@
|
|
|
3575
4271
|
}
|
|
3576
4272
|
}
|
|
3577
4273
|
},
|
|
3578
|
-
{
|
|
3579
|
-
"kind": "method",
|
|
3580
|
-
"name": "isWideEnough",
|
|
3581
|
-
"privacy": "private",
|
|
3582
|
-
"return": {
|
|
3583
|
-
"type": {
|
|
3584
|
-
"text": "boolean"
|
|
3585
|
-
}
|
|
3586
|
-
},
|
|
3587
|
-
"parameters": [
|
|
3588
|
-
{
|
|
3589
|
-
"name": "inlineSize",
|
|
3590
|
-
"type": {
|
|
3591
|
-
"text": "number"
|
|
3592
|
-
}
|
|
3593
|
-
},
|
|
3594
|
-
{
|
|
3595
|
-
"name": "requiredWidth",
|
|
3596
|
-
"type": {
|
|
3597
|
-
"text": "number"
|
|
3598
|
-
}
|
|
3599
|
-
}
|
|
3600
|
-
]
|
|
3601
|
-
},
|
|
3602
|
-
{
|
|
3603
|
-
"kind": "method",
|
|
3604
|
-
"name": "canHostGrow",
|
|
3605
|
-
"privacy": "private",
|
|
3606
|
-
"return": {
|
|
3607
|
-
"type": {
|
|
3608
|
-
"text": "boolean"
|
|
3609
|
-
}
|
|
3610
|
-
},
|
|
3611
|
-
"parameters": [
|
|
3612
|
-
{
|
|
3613
|
-
"name": "requiredWidth",
|
|
3614
|
-
"type": {
|
|
3615
|
-
"text": "number"
|
|
3616
|
-
}
|
|
3617
|
-
}
|
|
3618
|
-
]
|
|
3619
|
-
},
|
|
3620
4274
|
{
|
|
3621
4275
|
"kind": "method",
|
|
3622
4276
|
"name": "finalizeImmediateDisplay",
|
|
@@ -3651,48 +4305,6 @@
|
|
|
3651
4305
|
}
|
|
3652
4306
|
}
|
|
3653
4307
|
},
|
|
3654
|
-
{
|
|
3655
|
-
"kind": "method",
|
|
3656
|
-
"name": "getInlineSizeFromEntry",
|
|
3657
|
-
"privacy": "private",
|
|
3658
|
-
"return": {
|
|
3659
|
-
"type": {
|
|
3660
|
-
"text": "number"
|
|
3661
|
-
}
|
|
3662
|
-
},
|
|
3663
|
-
"parameters": [
|
|
3664
|
-
{
|
|
3665
|
-
"name": "entry",
|
|
3666
|
-
"type": {
|
|
3667
|
-
"text": "ResizeObserverEntry"
|
|
3668
|
-
}
|
|
3669
|
-
}
|
|
3670
|
-
]
|
|
3671
|
-
},
|
|
3672
|
-
{
|
|
3673
|
-
"kind": "method",
|
|
3674
|
-
"name": "getCssLengthFromProperty",
|
|
3675
|
-
"privacy": "private",
|
|
3676
|
-
"return": {
|
|
3677
|
-
"type": {
|
|
3678
|
-
"text": "number"
|
|
3679
|
-
}
|
|
3680
|
-
},
|
|
3681
|
-
"parameters": [
|
|
3682
|
-
{
|
|
3683
|
-
"name": "propertyName",
|
|
3684
|
-
"type": {
|
|
3685
|
-
"text": "string"
|
|
3686
|
-
}
|
|
3687
|
-
},
|
|
3688
|
-
{
|
|
3689
|
-
"name": "fallback",
|
|
3690
|
-
"type": {
|
|
3691
|
-
"text": "number"
|
|
3692
|
-
}
|
|
3693
|
-
}
|
|
3694
|
-
]
|
|
3695
|
-
},
|
|
3696
4308
|
{
|
|
3697
4309
|
"kind": "method",
|
|
3698
4310
|
"name": "observeCssProperties",
|
|
@@ -7463,10 +8075,44 @@
|
|
|
7463
8075
|
},
|
|
7464
8076
|
"privacy": "private"
|
|
7465
8077
|
},
|
|
8078
|
+
{
|
|
8079
|
+
"kind": "field",
|
|
8080
|
+
"name": "visibilityObserver",
|
|
8081
|
+
"type": {
|
|
8082
|
+
"text": "ResizeObserver | undefined"
|
|
8083
|
+
},
|
|
8084
|
+
"privacy": "private"
|
|
8085
|
+
},
|
|
8086
|
+
{
|
|
8087
|
+
"kind": "field",
|
|
8088
|
+
"name": "OVERFLOW_MENU_LABEL",
|
|
8089
|
+
"type": {
|
|
8090
|
+
"text": "string"
|
|
8091
|
+
},
|
|
8092
|
+
"privacy": "private",
|
|
8093
|
+
"static": true,
|
|
8094
|
+
"readonly": true,
|
|
8095
|
+
"default": "\"Options\""
|
|
8096
|
+
},
|
|
7466
8097
|
{
|
|
7467
8098
|
"kind": "method",
|
|
7468
8099
|
"name": "setupOverflowHandler",
|
|
7469
8100
|
"privacy": "private"
|
|
8101
|
+
},
|
|
8102
|
+
{
|
|
8103
|
+
"kind": "field",
|
|
8104
|
+
"name": "renderIconButton",
|
|
8105
|
+
"privacy": "private"
|
|
8106
|
+
},
|
|
8107
|
+
{
|
|
8108
|
+
"kind": "method",
|
|
8109
|
+
"name": "getOverflowMenuSize",
|
|
8110
|
+
"privacy": "private",
|
|
8111
|
+
"return": {
|
|
8112
|
+
"type": {
|
|
8113
|
+
"text": "OVERFLOW_MENU_SIZE"
|
|
8114
|
+
}
|
|
8115
|
+
}
|
|
7470
8116
|
}
|
|
7471
8117
|
],
|
|
7472
8118
|
"attributes": [
|
|
@@ -7829,12 +8475,7 @@
|
|
|
7829
8475
|
"name": "footer"
|
|
7830
8476
|
}
|
|
7831
8477
|
],
|
|
7832
|
-
"members": [
|
|
7833
|
-
{
|
|
7834
|
-
"kind": "field",
|
|
7835
|
-
"name": "closeWorkspaceShell"
|
|
7836
|
-
}
|
|
7837
|
-
],
|
|
8478
|
+
"members": [],
|
|
7838
8479
|
"superclass": {
|
|
7839
8480
|
"name": "LitElement",
|
|
7840
8481
|
"package": "lit"
|