@perspective-dev/viewer 5.9.0 → 5.9.2

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.
Files changed (55) hide show
  1. package/dist/cdn/perspective-viewer.js +9 -9
  2. package/dist/cdn/perspective-viewer.js.map +4 -4
  3. package/dist/css/blueprint.css +1 -1
  4. package/dist/css/botanical.css +1 -1
  5. package/dist/css/dracula.css +1 -1
  6. package/dist/css/eggplant.css +1 -1
  7. package/dist/css/gruvbox-dark.css +1 -1
  8. package/dist/css/gruvbox.css +1 -1
  9. package/dist/css/intl/ar.css +1 -1
  10. package/dist/css/intl/de.css +1 -1
  11. package/dist/css/intl/es.css +1 -1
  12. package/dist/css/intl/fr.css +1 -1
  13. package/dist/css/intl/ja.css +1 -1
  14. package/dist/css/intl/pt.css +1 -1
  15. package/dist/css/intl/zh.css +1 -1
  16. package/dist/css/intl.css +1 -1
  17. package/dist/css/ledger.css +1 -1
  18. package/dist/css/monokai.css +1 -1
  19. package/dist/css/nord.css +1 -1
  20. package/dist/css/phosphor.css +1 -1
  21. package/dist/css/pro-dark.css +1 -1
  22. package/dist/css/pro-light.css +1 -0
  23. package/dist/css/pro.css +1 -1
  24. package/dist/css/solarized-dark.css +1 -1
  25. package/dist/css/solarized.css +1 -1
  26. package/dist/css/themes.css +1 -1
  27. package/dist/css/vaporwave.css +1 -1
  28. package/dist/css/velvet.css +1 -1
  29. package/dist/custom-elements.json +381 -78
  30. package/dist/docs/perspective-docs.json +1 -1
  31. package/dist/esm/extensions.d.ts +11 -1
  32. package/dist/esm/perspective-viewer.d.ts +6 -0
  33. package/dist/esm/perspective-viewer.js +216 -201
  34. package/dist/esm/perspective-viewer.js.map +4 -4
  35. package/dist/esm/plugin.d.ts +7 -0
  36. package/dist/ts-rs/CommandLocation.d.ts +6 -0
  37. package/dist/ts-rs/CommandSchema.d.ts +7 -0
  38. package/dist/ts-rs/CommandSchemaOptions.d.ts +12 -0
  39. package/dist/ts-rs/CommandSpec.d.ts +10 -0
  40. package/dist/ts-rs/PerspectiveHit.d.ts +41 -0
  41. package/dist/ts-rs/PerspectiveHitKind.d.ts +6 -0
  42. package/dist/ts-rs/PerspectiveHitRef.d.ts +7 -0
  43. package/dist/ts-rs/ViewConfigUpdate.d.ts +111 -0
  44. package/dist/wasm/perspective-viewer.d.ts +242 -59
  45. package/dist/wasm/perspective-viewer.js +425 -186
  46. package/dist/wasm/perspective-viewer.wasm +0 -0
  47. package/dist/wasm/perspective-viewer.wasm.d.ts +20 -16
  48. package/dist/wasm/snippets/perspective-viewer-37c88b7aebc72452/inline3.js +8 -0
  49. package/package.json +8 -6
  50. package/dist/wasm/snippets/perspective-viewer-d50f032e5aa67e6f/inline1.js +0 -1
  51. /package/dist/wasm/snippets/{perspective-viewer-d50f032e5aa67e6f → perspective-viewer-37c88b7aebc72452}/inline0.js +0 -0
  52. /package/dist/wasm/snippets/{perspective-viewer-d50f032e5aa67e6f/inline2.js → perspective-viewer-37c88b7aebc72452/inline1.js} +0 -0
  53. /package/dist/wasm/snippets/{perspective-viewer-d50f032e5aa67e6f/inline3.js → perspective-viewer-37c88b7aebc72452/inline2.js} +0 -0
  54. /package/dist/wasm/snippets/{perspective-viewer-d50f032e5aa67e6f → perspective-viewer-37c88b7aebc72452}/inline4.js +0 -0
  55. /package/dist/wasm/snippets/{perspective-viewer-d50f032e5aa67e6f → perspective-viewer-37c88b7aebc72452}/inline5.js +0 -0
@@ -50,7 +50,7 @@
50
50
  ],
51
51
  "return": {
52
52
  "type": {
53
- "text": "Promise<any>"
53
+ "text": "Promise<string>"
54
54
  }
55
55
  }
56
56
  },
@@ -58,7 +58,7 @@
58
58
  "kind": "method",
59
59
  "name": "agentConfig",
60
60
  "privacy": "public",
61
- "description": "Configure the embedded LLM agent (see `prompt()`), replacing any prior\nconfiguration and conversation.\n\nThe agent core is provider-agnostic: one OpenAI-chat-completions\nprotocol over primitive connection fields. Exactly one of\n`config.url` or `config.engine` is required; the `providers` presets\nexported by this package are plain spreadable collections of these\nfields (`{...providers.anthropic, apiKey}`).\n\n- `config.url` - a full chat-completions endpoint URL (any\n OpenAI-compatible service: Anthropic/Gemini compatibility endpoints,\n LM Studio, Ollama, OpenRouter, a proxy...).\n- `config.engine` - an in-page engine object with an OpenAI-compatible\n `chat.completions.create(request)` method (e.g. WebLLM's `MLCEngine`);\n mutually exclusive with `url`.\n- `config.headers` - extra request headers, sent verbatim.\n- `config.apiKey` - sugar for the `Authorization: Bearer` header.\n- `config.model` - model id sent with each request; local servers and\n engines generally answer with whatever model is loaded.\n- `config.name` - cosmetic label for the chat badge (presets set this).\n- `config.systemPrompt` - extra system-prompt context appended to the\n agent's built-in instructions.\n- `config.maxTurns` - max model turns (tool-call rounds + the final\n answer) per `prompt()` call. Defaults to 16.\n- `config.docs` - the agent metadata bundle, which supplies the\n `search_docs` corpus and the rich tool parameter schemas: the packaged\n `dist/docs/perspective-docs.json` asset as a parsed object (`import\n docs from \"…json\" with { type: \"json\" }`), a `fetch()` `Response`, an\n `ArrayBuffer`, a JSON string, or a `Promise` of any of those — and/or\n an inline array of `{title?, text}` entries for host data definitions.\n Omitted, `search_docs` searches an empty corpus and the parameter\n schemas degrade to permissive objects.\n- `config.systemRole` - where the preamble (plus `systemPrompt`) is\n placed: `\"system\"` (default) or `\"user\"`. Some engines refuse a system\n message alongside `tools` because they substitute their own — WebLLM's\n Hermes function calling throws `CustomSystemPromptError` on ANY system\n message — and those need `\"user\"`, which folds the same text into the\n opening user turn.\n- `config.entitlements` - access grants limiting which tools the agent\n is offered (and may call): any of `\"read_view\"`, `\"configure_view\"`,\n `\"manage_layout\"`, `\"read_docs\"`, `\"read_data\"`. Omitted, all but\n `\"read_data\"` are granted; `[\"read_view\", \"read_docs\"]` yields a\n read-only agent.\n\n# JavaScript Examples\n\n```javascript\nimport { providers } from \"@perspective-dev/viewer\";\n\nviewer.agentConfig({\n ...providers.anthropic,\n apiKey: \"sk-ant-...\",\n docs: fetch(\n \"node_modules/@perspective-dev/viewer/dist/docs/perspective-docs.json\",\n ),\n});\n```",
61
+ "description": "Configure the embedded LLM agent (see `prompt()`), replacing any prior\nconfiguration and conversation.\n\nThe agent core is provider-agnostic: one OpenAI-chat-completions\nprotocol over primitive connection fields. Exactly one of\n`config.url` or `config.engine` is required; the `providers` presets\nexported by this package are plain spreadable collections of these\nfields (`{...providers.anthropic, apiKey}`).\n\n- `config.url` - a full chat-completions endpoint URL (any\n OpenAI-compatible service: Anthropic/Gemini compatibility endpoints,\n LM Studio, Ollama, OpenRouter, a proxy...).\n- `config.engine` - an in-page engine object with an OpenAI-compatible\n `chat.completions.create(request)` method (e.g. WebLLM's `MLCEngine`);\n mutually exclusive with `url`.\n- `config.headers` - extra request headers, sent verbatim.\n- `config.apiKey` - sugar for the `Authorization: Bearer` header.\n- `config.model` - model id sent with each request; local servers and\n engines generally answer with whatever model is loaded.\n- `config.name` - cosmetic label for the chat badge (presets set this).\n- `config.systemPrompt` - extra system-prompt context appended to the\n agent's built-in instructions.\n- `config.maxTurns` - max model turns (tool-call rounds + the final\n answer) per `prompt()` call. Defaults to 16.\n- `config.docs` - the agent metadata bundle, which supplies the\n `search_docs` corpus and the rich tool parameter schemas: the packaged\n `dist/docs/perspective-docs.json` asset as a parsed object (`import\n docs from \"…json\" with { type: \"json\" }`), a `fetch()` `Response`, an\n `ArrayBuffer`, a JSON string, or a `Promise` of any of those — and/or\n an inline array of `{title?, text}` entries for host data definitions.\n Omitted, `search_docs` searches an empty corpus and the parameter\n schemas degrade to permissive objects.\n- `config.systemRole` - where the preamble (plus `systemPrompt`) is\n placed: `\"system\"` (default) or `\"user\"`. Some engines refuse a system\n message alongside `tools` because they substitute their own — WebLLM's\n Hermes function calling throws `CustomSystemPromptError` on ANY system\n message — and those need `\"user\"`, which folds the same text into the\n opening user turn.\n- `config.entitlements` - access grants limiting which tools the agent\n is offered (and may call): any of `\"read_view\"`, `\"configure_view\"`,\n `\"manage_layout\"`, `\"read_docs\"`, `\"execute_code\"`, `\"read_data\"`.\n Omitted, all but `\"execute_code\"` and `\"read_data\"` are granted;\n `[\"read_view\", \"read_docs\"]` yields a read-only agent. Users may\n switch granted entitlements off from the chat panel, never on.\n\n# JavaScript Examples\n\n```javascript\nimport { providers } from \"@perspective-dev/viewer\";\n\nviewer.agentConfig({\n ...providers.anthropic,\n apiKey: \"sk-ant-...\",\n docs: fetch(\n \"node_modules/@perspective-dev/viewer/dist/docs/perspective-docs.json\",\n ),\n});\n```",
62
62
  "parameters": [
63
63
  {
64
64
  "name": "config",
@@ -77,7 +77,7 @@
77
77
  "kind": "method",
78
78
  "name": "agentPrompt",
79
79
  "privacy": "public",
80
- "description": "Run one conversational turn of the embedded LLM agent (configured via\n`agentConfig()`), resolving with the agent's final text response after\nany tool calls have been applied to this element. Turns share a\nconversation history (and the chat sidebar's transcript) until\n`agentReset()`; a call made while a turn is already running rejects.\nTool activity is emitted as `perspective-agent-tool` CustomEvents on\nthis element.\n\n# JavaScript Examples\n\n```javascript\nawait viewer.agentPrompt(\"Show me sales by region as a bar chart\");\n```",
80
+ "description": "Run one conversational turn of the embedded LLM agent (configured via\n`agentConfig()`), resolving with the agent's final text response after\nany tool calls have been applied to this element. Turns share a\nconversation history (and the chat sidebar's transcript) until\n`agentReset()`; a call made while a turn is already running rejects.\nTool activity is emitted as `perspective-agent-tool` CustomEvents on\nthis element. A failed turn rejects with an `Error` whose `retry()`\nmethod retries it, returning a `Promise` that settles like this one.\n\n# JavaScript Examples\n\n```javascript\nawait viewer.agentPrompt(\"Show me sales by region as a bar chart\");\n```",
81
81
  "parameters": [
82
82
  {
83
83
  "name": "prompt",
@@ -107,7 +107,7 @@
107
107
  "kind": "method",
108
108
  "name": "copy",
109
109
  "privacy": "public",
110
- "description": "Copy this viewer's `View` or `Table` data as CSV to the system\nclipboard.\n\n# Arguments\n\n- `method` - The `ExportMethod` (serialized as a `String`) to use to\n render the data to the Clipboard.\n\n# JavaScript Examples\n\n```javascript\nmyDownloadButton.addEventListener(\"click\", async () => {\n await viewer.copy();\n})\n```",
110
+ "description": "Copy this viewer's `View` or `Table` data to the system clipboard from\nwithin a user gesture, rejecting if nothing could be written.\n\n# Arguments\n\n- `method` - The `ExportMethod` (serialized as a `String`) to use to\n render the data to the Clipboard.\n\n# JavaScript Examples\n\n```javascript\nmyDownloadButton.addEventListener(\"click\", async () => {\n await viewer.copy();\n})\n```",
111
111
  "parameters": [
112
112
  {
113
113
  "name": "options",
@@ -127,7 +127,7 @@
127
127
  ],
128
128
  "return": {
129
129
  "type": {
130
- "text": "Promise<any>"
130
+ "text": "Promise<void>"
131
131
  }
132
132
  }
133
133
  },
@@ -138,7 +138,7 @@
138
138
  "description": "Delete all internal [`View`]s and all associated state, rendering this\n`<perspective-viewer>` unusable and freeing all associated resources.\nDoes not delete any supplied [`Table`] (as this is constructed by the\ncallee).\n\nCalling _any_ method on a `<perspective-viewer>` after [`Self::delete`]\nwill throw.\n\n<div class=\"warning\">\n\nAllowing a `<perspective-viewer>` to be garbage-collected\nwithout calling [`PerspectiveViewerElement::delete`] will leak WASM\nmemory!\n\n</div>\n\n# JavaScript Examples\n\n```javascript\nawait viewer.delete();\n```",
139
139
  "return": {
140
140
  "type": {
141
- "text": "Promise<any>"
141
+ "text": "Promise<void>"
142
142
  }
143
143
  }
144
144
  },
@@ -166,7 +166,7 @@
166
166
  ],
167
167
  "return": {
168
168
  "type": {
169
- "text": "Promise<any>"
169
+ "text": "Promise<void>"
170
170
  }
171
171
  }
172
172
  },
@@ -194,7 +194,7 @@
194
194
  ],
195
195
  "return": {
196
196
  "type": {
197
- "text": "Promise<any>"
197
+ "text": "Promise<void>"
198
198
  }
199
199
  }
200
200
  },
@@ -222,7 +222,7 @@
222
222
  ],
223
223
  "return": {
224
224
  "type": {
225
- "text": "Promise<any>"
225
+ "text": "Promise<ExportData>"
226
226
  }
227
227
  }
228
228
  },
@@ -233,7 +233,7 @@
233
233
  "description": "Flush any pending modifications to this `<perspective-viewer>`. Since\n`<perspective-viewer>`'s API is almost entirely `async`, it may take\nsome milliseconds before any user-initiated changes to the [`View`]\naffects the rendered element. If you want to make sure all pending\nactions have been rendered, call and await [`Self::flush`].\n\n[`Self::flush`] will resolve immediately if there is no [`Table`] set.\n\n# JavaScript Examples\n\nIn this example, [`Self::restore`] is called without `await`, but the\neventual render which results from this call can still be awaited by\nimmediately awaiting [`Self::flush`] instead.\n\n```javascript\nviewer.restore(config);\nawait viewer.flush();\n```",
234
234
  "return": {
235
235
  "type": {
236
- "text": "Promise<any>"
236
+ "text": "Promise<void>"
237
237
  }
238
238
  }
239
239
  },
@@ -283,7 +283,15 @@
283
283
  ],
284
284
  "return": {
285
285
  "type": {
286
- "text": "Promise<any>"
286
+ "text": "Promise<Client>",
287
+ "references": [
288
+ {
289
+ "name": "Client",
290
+ "package": "@perspective-dev/client",
291
+ "start": 8,
292
+ "end": 14
293
+ }
294
+ ]
287
295
  }
288
296
  }
289
297
  },
@@ -434,7 +442,15 @@
434
442
  ],
435
443
  "return": {
436
444
  "type": {
437
- "text": "Promise<any>"
445
+ "text": "Promise<Table>",
446
+ "references": [
447
+ {
448
+ "name": "Table",
449
+ "package": "@perspective-dev/client",
450
+ "start": 8,
451
+ "end": 13
452
+ }
453
+ ]
438
454
  }
439
455
  }
440
456
  },
@@ -444,7 +460,7 @@
444
460
  "privacy": "public",
445
461
  "return": {
446
462
  "type": {
447
- "text": "Promise<any>"
463
+ "text": "Promise<string[]>"
448
464
  }
449
465
  }
450
466
  },
@@ -472,7 +488,15 @@
472
488
  ],
473
489
  "return": {
474
490
  "type": {
475
- "text": "Promise<any>"
491
+ "text": "Promise<View>",
492
+ "references": [
493
+ {
494
+ "name": "View",
495
+ "package": "@perspective-dev/client",
496
+ "start": 8,
497
+ "end": 12
498
+ }
499
+ ]
476
500
  }
477
501
  }
478
502
  },
@@ -500,7 +524,68 @@
500
524
  ],
501
525
  "return": {
502
526
  "type": {
503
- "text": "Promise<any>"
527
+ "text": "Promise<ViewConfig>",
528
+ "references": [
529
+ {
530
+ "name": "ViewConfig",
531
+ "package": "@perspective-dev/client",
532
+ "start": 8,
533
+ "end": 18
534
+ }
535
+ ]
536
+ }
537
+ }
538
+ },
539
+ {
540
+ "kind": "method",
541
+ "name": "invalidate",
542
+ "privacy": "public",
543
+ "description": "Redraw each panel's plugin from its current `View` without re-creating\nthe view, such as after a command changed state its buttons read; calls\nwithin one task run as one.\n\n# Arguments\n\n- `options.panel` - Limits the redraw to one panel.\n\n# JavaScript Examples\n\n```javascript\nviewer.addEventListener(\"perspective-command\", (e) => {\n flagged.add(e.detail.context.hit.id);\n viewer.invalidate({ panel: e.detail.context.panel });\n});\n```",
544
+ "parameters": [
545
+ {
546
+ "name": "options",
547
+ "optional": true,
548
+ "type": {
549
+ "text": "PanelOptions | null",
550
+ "references": [
551
+ {
552
+ "name": "PanelOptions",
553
+ "package": "@perspective-dev/viewer",
554
+ "start": 0,
555
+ "end": 12
556
+ }
557
+ ]
558
+ }
559
+ }
560
+ ],
561
+ "return": {
562
+ "type": {
563
+ "text": "Promise<void>"
564
+ }
565
+ }
566
+ },
567
+ {
568
+ "kind": "method",
569
+ "name": "invokeCommand",
570
+ "privacy": "public",
571
+ "description": "Dispatch `perspective-command` for the app command `key` picked against\n`context`, as the context menu does.\n\n# JavaScript Examples\n\n```javascript\nviewer.invokeCommand(\"ticket\", result.context);\n```",
572
+ "parameters": [
573
+ {
574
+ "name": "key",
575
+ "type": {
576
+ "text": "string"
577
+ }
578
+ },
579
+ {
580
+ "name": "context",
581
+ "type": {
582
+ "text": "PerspectiveCommandContext"
583
+ }
584
+ }
585
+ ],
586
+ "return": {
587
+ "type": {
588
+ "text": "void"
504
589
  }
505
590
  }
506
591
  },
@@ -545,7 +630,52 @@
545
630
  ],
546
631
  "return": {
547
632
  "type": {
548
- "text": "Promise<any>"
633
+ "text": "Promise<void>"
634
+ }
635
+ }
636
+ },
637
+ {
638
+ "kind": "method",
639
+ "name": "queryCommands",
640
+ "privacy": "public",
641
+ "description": "Evaluate the app's command schema at `location` for each of `refs`,\nresolved against `frame`, the viewport read of the panel plugin\n`plugin`; `undefined` when `location` is outside the schema's scopes\nor no schema is set.\n\n# Arguments\n\n- `plugin` - The calling plugin element, which identifies its panel.\n- `location` - The surface being rendered.\n- `frame` - The plugin's viewport read, as `to_columns_string({ id: true\n })` and `column_paths()` returned it.\n- `refs` - One view row and/or column index per button.\n\n# JavaScript Examples\n\n```javascript\nconst results = viewer.queryCommands(this, \"datagrid-row\", frame, [{ y: 12 }]);\n```",
642
+ "parameters": [
643
+ {
644
+ "name": "plugin",
645
+ "type": {
646
+ "text": "HTMLElement"
647
+ }
648
+ },
649
+ {
650
+ "name": "location",
651
+ "type": {
652
+ "text": "PerspectiveCommandLocation"
653
+ }
654
+ },
655
+ {
656
+ "name": "frame",
657
+ "type": {
658
+ "text": "PerspectiveViewFrame"
659
+ }
660
+ },
661
+ {
662
+ "name": "refs",
663
+ "type": {
664
+ "text": "PerspectiveHitRef[]",
665
+ "references": [
666
+ {
667
+ "name": "PerspectiveHitRef",
668
+ "package": "@perspective-dev/viewer",
669
+ "start": 0,
670
+ "end": 17
671
+ }
672
+ ]
673
+ }
674
+ }
675
+ ],
676
+ "return": {
677
+ "type": {
678
+ "text": "PerspectiveCommands[] | undefined"
549
679
  }
550
680
  }
551
681
  },
@@ -564,7 +694,7 @@
564
694
  ],
565
695
  "return": {
566
696
  "type": {
567
- "text": "Promise<any>"
697
+ "text": "Promise<void>"
568
698
  }
569
699
  }
570
700
  },
@@ -599,7 +729,7 @@
599
729
  ],
600
730
  "return": {
601
731
  "type": {
602
- "text": "Promise<any>"
732
+ "text": "Promise<void>"
603
733
  }
604
734
  }
605
735
  },
@@ -610,7 +740,7 @@
610
740
  "description": "If this element is in an _errored_ state, this method will clear it and\nre-render. Calling this method is equivalent to clicking the error reset\nbutton in the UI.",
611
741
  "return": {
612
742
  "type": {
613
- "text": "Promise<any>"
743
+ "text": "Promise<void>"
614
744
  }
615
745
  }
616
746
  },
@@ -630,7 +760,7 @@
630
760
  ],
631
761
  "return": {
632
762
  "type": {
633
- "text": "Promise<any>"
763
+ "text": "Promise<void>"
634
764
  }
635
765
  }
636
766
  },
@@ -650,7 +780,7 @@
650
780
  ],
651
781
  "return": {
652
782
  "type": {
653
- "text": "Promise<any>"
783
+ "text": "Promise<void>"
654
784
  }
655
785
  }
656
786
  },
@@ -742,10 +872,10 @@
742
872
  "kind": "method",
743
873
  "name": "restyleElement",
744
874
  "privacy": "public",
745
- "description": "Restyle all plugins from current document.\n\n<div class=\"warning\">\n\n[`Self::restyleElement`] _must_ be called for many runtime changes to\nCSS properties to be reflected in an already-rendered\n`<perspective-viewer>`.\n\n</div>\n\n# JavaScript Examples\n\n```javascript\nviewer.style = \"--psp--color: red\";\nawait viewer.restyleElement();\n```",
875
+ "description": "Restyle all plugins from current document.\n\n<div class=\"warning\">\n\n[`Self::restyleElement`] _must_ be called for many runtime changes to\nCSS properties to be reflected in an already-rendered\n`<perspective-viewer>`, including a `prefers-color-scheme` change\nunder a preference-aware theme such as `\"Pro\"`.\n\n</div>\n\n# JavaScript Examples\n\n```javascript\nviewer.style = \"--psp--color: red\";\nawait viewer.restyleElement();\n```",
746
876
  "return": {
747
877
  "type": {
748
- "text": "Promise<any>"
878
+ "text": "Promise<void>"
749
879
  }
750
880
  }
751
881
  },
@@ -836,7 +966,7 @@
836
966
  ],
837
967
  "return": {
838
968
  "type": {
839
- "text": "Promise<any>"
969
+ "text": "Promise<void>"
840
970
  }
841
971
  }
842
972
  },
@@ -855,7 +985,7 @@
855
985
  ],
856
986
  "return": {
857
987
  "type": {
858
- "text": "Promise<any>"
988
+ "text": "Promise<void>"
859
989
  }
860
990
  }
861
991
  },
@@ -878,6 +1008,41 @@
878
1008
  }
879
1009
  }
880
1010
  },
1011
+ {
1012
+ "kind": "method",
1013
+ "name": "setCommandSchema",
1014
+ "privacy": "public",
1015
+ "description": "Set the function that declares this viewer's custom commands, replacing\nany previously set, and re-query every plugin's command buttons when it\nor its scopes changed.\n\n# Arguments\n\n- `schema` - A synchronous function from a command context to a `{\n commands }` list, or `null` to remove the current one.\n- `options.scopes` - The surfaces the schema is evaluated for,\n `[\"context-menu\"]` when omitted.\n\n# JavaScript Examples\n\n```javascript\nawait viewer.setCommandSchema(\n (ctx) => ({\n commands: [{ kind: \"Command\", key: \"hello\", label: \"Hello\" }],\n }),\n { scopes: [\"context-menu\", \"datagrid-row\"] },\n);\n```",
1016
+ "parameters": [
1017
+ {
1018
+ "name": "schema",
1019
+ "optional": true,
1020
+ "type": {
1021
+ "text": "PerspectiveCommandSchema | null"
1022
+ }
1023
+ },
1024
+ {
1025
+ "name": "options",
1026
+ "optional": true,
1027
+ "type": {
1028
+ "text": "CommandSchemaOptions | null",
1029
+ "references": [
1030
+ {
1031
+ "name": "CommandSchemaOptions",
1032
+ "package": "@perspective-dev/viewer",
1033
+ "start": 0,
1034
+ "end": 20
1035
+ }
1036
+ ]
1037
+ }
1038
+ }
1039
+ ],
1040
+ "return": {
1041
+ "type": {
1042
+ "text": "Promise<void>"
1043
+ }
1044
+ }
1045
+ },
881
1046
  {
882
1047
  "kind": "method",
883
1048
  "name": "setSelection",
@@ -941,6 +1106,45 @@
941
1106
  }
942
1107
  }
943
1108
  },
1109
+ {
1110
+ "kind": "method",
1111
+ "name": "showCommandMenu",
1112
+ "privacy": "public",
1113
+ "description": "Open a menu of `commands` at viewport `point`, dispatching\n`perspective-command` with `context` for a pick; resolves when the menu\ncloses.\n\n# JavaScript Examples\n\n```javascript\nawait viewer.showCommandMenu(result.context, group.commands, { x: e.clientX, y: e.clientY });\n```",
1114
+ "parameters": [
1115
+ {
1116
+ "name": "context",
1117
+ "type": {
1118
+ "text": "PerspectiveCommandContext"
1119
+ }
1120
+ },
1121
+ {
1122
+ "name": "commands",
1123
+ "type": {
1124
+ "text": "CommandSpec[]",
1125
+ "references": [
1126
+ {
1127
+ "name": "CommandSpec",
1128
+ "package": "@perspective-dev/viewer",
1129
+ "start": 0,
1130
+ "end": 11
1131
+ }
1132
+ ]
1133
+ }
1134
+ },
1135
+ {
1136
+ "name": "point",
1137
+ "type": {
1138
+ "text": "{ x: number; y: number }"
1139
+ }
1140
+ }
1141
+ ],
1142
+ "return": {
1143
+ "type": {
1144
+ "text": "Promise<void>"
1145
+ }
1146
+ }
1147
+ },
944
1148
  {
945
1149
  "kind": "method",
946
1150
  "name": "toggleColumnSettings",
@@ -971,7 +1175,7 @@
971
1175
  ],
972
1176
  "return": {
973
1177
  "type": {
974
- "text": "Promise<any>"
1178
+ "text": "Promise<void>"
975
1179
  }
976
1180
  }
977
1181
  },
@@ -991,7 +1195,7 @@
991
1195
  ],
992
1196
  "return": {
993
1197
  "type": {
994
- "text": "Promise<any>"
1198
+ "text": "Promise<void>"
995
1199
  }
996
1200
  }
997
1201
  },
@@ -1264,6 +1468,13 @@
1264
1468
  },
1265
1469
  "description": "Fires when the agent invokes a tool, with a JSON string of `{name, args}` as its detail."
1266
1470
  },
1471
+ {
1472
+ "name": "perspective-command",
1473
+ "type": {
1474
+ "text": "CustomEvent<PerspectiveCommandEventDetail>"
1475
+ },
1476
+ "description": "Fires when the user picks a command declared through `setCommandSchema()`, with its `key` and context."
1477
+ },
1267
1478
  {
1268
1479
  "name": "perspective-table-delete",
1269
1480
  "type": {
@@ -1312,13 +1523,13 @@
1312
1523
  {
1313
1524
  "name": "--psp--background-color",
1314
1525
  "syntax": "<color>",
1315
- "default": "#ffffff",
1526
+ "default": "light-dark(#ffffff, #242526)",
1316
1527
  "description": "Viewer chrome"
1317
1528
  },
1318
1529
  {
1319
1530
  "name": "--psp--color",
1320
1531
  "syntax": "<color>",
1321
- "default": "#161616",
1532
+ "default": "light-dark(#161616, white)",
1322
1533
  "description": "Viewer chrome"
1323
1534
  },
1324
1535
  {
@@ -1329,7 +1540,7 @@
1329
1540
  {
1330
1541
  "name": "--psp-active--color",
1331
1542
  "syntax": "<color>",
1332
- "default": "#2670a9",
1543
+ "default": "light-dark(#2670a9, #2770a9)",
1333
1544
  "description": "Viewer chrome"
1334
1545
  },
1335
1546
  {
@@ -1351,24 +1562,66 @@
1351
1562
  {
1352
1563
  "name": "--psp-charts--axis-lines--color",
1353
1564
  "syntax": "<color>",
1354
- "default": "#c5c9d0",
1565
+ "default": "light-dark(#c5c9d0, #61656e)",
1355
1566
  "description": "Charts plugin"
1356
1567
  },
1357
1568
  {
1358
1569
  "name": "--psp-charts--axis-ticks--color",
1359
1570
  "syntax": "<color>",
1360
- "default": "#161616",
1571
+ "default": "light-dark(#161616, #c5c9d0)",
1361
1572
  "description": "Charts plugin"
1362
1573
  },
1363
1574
  {
1364
1575
  "name": "--psp-charts--gradient--background",
1365
- "default": "linear-gradient( #4d342f 0%, #e4521b 22.5%, #feeb65 42.5%, #f0f0f0 50%, #dcedc8 57.5%, #42b3d5 67.5%, #1a237e 100% )",
1576
+ "default": "linear-gradient( var(--psp-charts--gradient-stop-1--color) 0%, var(--psp-charts--gradient-stop-2--color) 22.5%, var(--psp-charts--gradient-stop-3--color) 42.5%, var(--psp-charts--gradient-stop-4--color) 50%, var(--psp-charts--gradient-stop-5--color) 57.5%, var(--psp-charts--gradient-stop-6--color) 67.5%, var(--psp-charts--gradient-stop-7--color) 100% )",
1577
+ "description": "Charts plugin"
1578
+ },
1579
+ {
1580
+ "name": "--psp-charts--gradient-stop-1--color",
1581
+ "syntax": "<color>",
1582
+ "default": "light-dark(#4d342f, #dd6367)",
1583
+ "description": "Charts plugin"
1584
+ },
1585
+ {
1586
+ "name": "--psp-charts--gradient-stop-2--color",
1587
+ "syntax": "<color>",
1588
+ "default": "light-dark(#e4521b, #8a474a)",
1589
+ "description": "Charts plugin"
1590
+ },
1591
+ {
1592
+ "name": "--psp-charts--gradient-stop-3--color",
1593
+ "syntax": "<color>",
1594
+ "default": "light-dark(#feeb65, #402e30)",
1595
+ "description": "Charts plugin"
1596
+ },
1597
+ {
1598
+ "name": "--psp-charts--gradient-stop-4--color",
1599
+ "syntax": "<color>",
1600
+ "default": "light-dark(#f0f0f0, #242526)",
1601
+ "description": "Charts plugin"
1602
+ },
1603
+ {
1604
+ "name": "--psp-charts--gradient-stop-5--color",
1605
+ "syntax": "<color>",
1606
+ "default": "light-dark(#dcedc8, #26343e)",
1607
+ "description": "Charts plugin"
1608
+ },
1609
+ {
1610
+ "name": "--psp-charts--gradient-stop-6--color",
1611
+ "syntax": "<color>",
1612
+ "default": "light-dark(#42b3d5, #29485f)",
1613
+ "description": "Charts plugin"
1614
+ },
1615
+ {
1616
+ "name": "--psp-charts--gradient-stop-7--color",
1617
+ "syntax": "<color>",
1618
+ "default": "light-dark(#1a237e, #3289c8)",
1366
1619
  "description": "Charts plugin"
1367
1620
  },
1368
1621
  {
1369
1622
  "name": "--psp-charts--gridline--color",
1370
1623
  "syntax": "<color>",
1371
- "default": "#eaedef",
1624
+ "default": "light-dark(#eaedef, #3b3f46)",
1372
1625
  "description": "Charts plugin"
1373
1626
  },
1374
1627
  {
@@ -1379,7 +1632,7 @@
1379
1632
  {
1380
1633
  "name": "--psp-charts--legend--color",
1381
1634
  "syntax": "<color>",
1382
- "default": "#161616",
1635
+ "default": "light-dark(#161616, #c5c9d0)",
1383
1636
  "description": "Charts plugin"
1384
1637
  },
1385
1638
  {
@@ -1394,19 +1647,19 @@
1394
1647
  {
1395
1648
  "name": "--psp-charts--series--color",
1396
1649
  "syntax": "<color>",
1397
- "default": "rgba(31, 119, 180, 0.8)",
1650
+ "default": "light-dark( rgba(31, 119, 180, 0.8), rgb(71, 120, 194) )",
1398
1651
  "description": "Charts plugin"
1399
1652
  },
1400
1653
  {
1401
1654
  "name": "--psp-charts--series-1--color",
1402
1655
  "syntax": "<color>",
1403
- "default": "#0366d6",
1656
+ "default": "light-dark(#0366d6, rgb(71, 120, 194))",
1404
1657
  "description": "Charts plugin"
1405
1658
  },
1406
1659
  {
1407
1660
  "name": "--psp-charts--series-10--color",
1408
1661
  "syntax": "<color>",
1409
- "default": "#17becf",
1662
+ "default": "light-dark(#17becf, rgb(23, 166, 123))",
1410
1663
  "description": "Charts plugin"
1411
1664
  },
1412
1665
  {
@@ -1424,65 +1677,65 @@
1424
1677
  {
1425
1678
  "name": "--psp-charts--series-2--color",
1426
1679
  "syntax": "<color>",
1427
- "default": "#ff7f0e",
1680
+ "default": "light-dark(#ff7f0e, rgb(204, 120, 48))",
1428
1681
  "description": "Charts plugin"
1429
1682
  },
1430
1683
  {
1431
1684
  "name": "--psp-charts--series-3--color",
1432
1685
  "syntax": "<color>",
1433
- "default": "#2ca02c",
1686
+ "default": "light-dark(#2ca02c, rgb(158, 84, 192))",
1434
1687
  "description": "Charts plugin"
1435
1688
  },
1436
1689
  {
1437
1690
  "name": "--psp-charts--series-4--color",
1438
1691
  "syntax": "<color>",
1439
- "default": "#d62728",
1692
+ "default": "light-dark(#d62728, rgb(51, 150, 153))",
1440
1693
  "description": "Charts plugin"
1441
1694
  },
1442
1695
  {
1443
1696
  "name": "--psp-charts--series-5--color",
1444
1697
  "syntax": "<color>",
1445
- "default": "#9467bd",
1698
+ "default": "light-dark(#9467bd, rgb(102, 114, 143))",
1446
1699
  "description": "Charts plugin"
1447
1700
  },
1448
1701
  {
1449
1702
  "name": "--psp-charts--series-6--color",
1450
1703
  "syntax": "<color>",
1451
- "default": "#8c564b",
1704
+ "default": "light-dark(#8c564b, rgb(211, 103, 189))",
1452
1705
  "description": "Charts plugin"
1453
1706
  },
1454
1707
  {
1455
1708
  "name": "--psp-charts--series-7--color",
1456
1709
  "syntax": "<color>",
1457
- "default": "#e377c2",
1710
+ "default": "light-dark(#e377c2, rgb(109, 124, 77))",
1458
1711
  "description": "Charts plugin"
1459
1712
  },
1460
1713
  {
1461
1714
  "name": "--psp-charts--series-8--color",
1462
1715
  "syntax": "<color>",
1463
- "default": "#7f7f7f",
1716
+ "default": "light-dark(#7f7f7f, rgb(221, 99, 103))",
1464
1717
  "description": "Charts plugin"
1465
1718
  },
1466
1719
  {
1467
1720
  "name": "--psp-charts--series-9--color",
1468
1721
  "syntax": "<color>",
1469
- "default": "#bcbd22",
1722
+ "default": "light-dark(#bcbd22, rgb(120, 104, 206))",
1470
1723
  "description": "Charts plugin"
1471
1724
  },
1472
1725
  {
1473
1726
  "name": "--psp-charts--tooltip--background",
1474
- "default": "#ffffff",
1727
+ "default": "light-dark(#ffffff, rgb(42, 44, 47))",
1475
1728
  "description": "Charts plugin"
1476
1729
  },
1477
1730
  {
1478
1731
  "name": "--psp-charts--tooltip--border-color",
1479
- "default": "#ababab",
1732
+ "default": "light-dark(#ababab, #242526)",
1480
1733
  "description": "Charts plugin"
1481
1734
  },
1482
1735
  {
1483
1736
  "name": "--psp-charts--tooltip--color",
1484
1737
  "syntax": "<color>",
1485
- "default": "#161616",
1738
+ "default": "light-dark(#161616, white)",
1486
1739
  "description": "Charts plugin"
1487
1740
  },
1488
1741
  {
@@ -1503,31 +1756,31 @@
1503
1756
  {
1504
1757
  "name": "--psp-code-editor--column--color",
1505
1758
  "syntax": "<color>",
1506
- "default": "initial",
1759
+ "default": "light-dark(purple, #e18ee1)",
1507
1760
  "description": "Expression editor"
1508
1761
  },
1509
1762
  {
1510
1763
  "name": "--psp-code-editor--comment--color",
1511
1764
  "syntax": "<color>",
1512
- "default": "initial",
1765
+ "default": "light-dark(orange, rgb(204, 120, 48))",
1513
1766
  "description": "Expression editor"
1514
1767
  },
1515
1768
  {
1516
1769
  "name": "--psp-code-editor--literal--color",
1517
1770
  "syntax": "<color>",
1518
- "default": "initial",
1771
+ "default": "light-dark(blue, #7dc3f0)",
1519
1772
  "description": "Expression editor"
1520
1773
  },
1521
1774
  {
1522
1775
  "name": "--psp-code-editor--operator--color",
1523
1776
  "syntax": "<color>",
1524
- "default": "initial",
1777
+ "default": "light-dark(green, rgb(23, 166, 123))",
1525
1778
  "description": "Expression editor"
1526
1779
  },
1527
1780
  {
1528
1781
  "name": "--psp-code-editor--symbol--color",
1529
1782
  "syntax": "<color>",
1530
- "default": "initial",
1783
+ "default": "light-dark(#242526, white)",
1531
1784
  "description": "Expression editor"
1532
1785
  },
1533
1786
  {
@@ -1618,25 +1871,25 @@
1618
1871
  {
1619
1872
  "name": "--psp-datagrid--neg-cell--color",
1620
1873
  "syntax": "<color>",
1621
- "default": "#ff471e",
1874
+ "default": "light-dark(#ff471e, #ff9485)",
1622
1875
  "description": "Datagrid plugin"
1623
1876
  },
1624
1877
  {
1625
1878
  "name": "--psp-datagrid--pos-cell--color",
1626
1879
  "syntax": "<color>",
1627
- "default": "#338dcd",
1880
+ "default": "light-dark(#338dcd, #7dc3f0)",
1628
1881
  "description": "Datagrid plugin"
1629
1882
  },
1630
1883
  {
1631
1884
  "name": "--psp-datagrid--series-1--color",
1632
1885
  "syntax": "<color>",
1633
- "default": "#0366d6",
1886
+ "default": "light-dark(#0366d6, rgb(71, 120, 194))",
1634
1887
  "description": "Datagrid plugin"
1635
1888
  },
1636
1889
  {
1637
1890
  "name": "--psp-datagrid--series-10--color",
1638
1891
  "syntax": "<color>",
1639
- "default": "#17becf",
1892
+ "default": "light-dark(#17becf, rgb(23, 166, 123))",
1640
1893
  "description": "Datagrid plugin"
1641
1894
  },
1642
1895
  {
@@ -1654,49 +1907,49 @@
1654
1907
  {
1655
1908
  "name": "--psp-datagrid--series-2--color",
1656
1909
  "syntax": "<color>",
1657
- "default": "#ff7f0e",
1910
+ "default": "light-dark(#ff7f0e, rgb(204, 120, 48))",
1658
1911
  "description": "Datagrid plugin"
1659
1912
  },
1660
1913
  {
1661
1914
  "name": "--psp-datagrid--series-3--color",
1662
1915
  "syntax": "<color>",
1663
- "default": "#2ca02c",
1916
+ "default": "light-dark(#2ca02c, rgb(158, 84, 192))",
1664
1917
  "description": "Datagrid plugin"
1665
1918
  },
1666
1919
  {
1667
1920
  "name": "--psp-datagrid--series-4--color",
1668
1921
  "syntax": "<color>",
1669
- "default": "#d62728",
1922
+ "default": "light-dark(#d62728, rgb(51, 150, 153))",
1670
1923
  "description": "Datagrid plugin"
1671
1924
  },
1672
1925
  {
1673
1926
  "name": "--psp-datagrid--series-5--color",
1674
1927
  "syntax": "<color>",
1675
- "default": "#9467bd",
1928
+ "default": "light-dark(#9467bd, rgb(102, 114, 143))",
1676
1929
  "description": "Datagrid plugin"
1677
1930
  },
1678
1931
  {
1679
1932
  "name": "--psp-datagrid--series-6--color",
1680
1933
  "syntax": "<color>",
1681
- "default": "#8c564b",
1934
+ "default": "light-dark(#8c564b, rgb(211, 103, 189))",
1682
1935
  "description": "Datagrid plugin"
1683
1936
  },
1684
1937
  {
1685
1938
  "name": "--psp-datagrid--series-7--color",
1686
1939
  "syntax": "<color>",
1687
- "default": "#e377c2",
1940
+ "default": "light-dark(#e377c2, rgb(109, 124, 77))",
1688
1941
  "description": "Datagrid plugin"
1689
1942
  },
1690
1943
  {
1691
1944
  "name": "--psp-datagrid--series-8--color",
1692
1945
  "syntax": "<color>",
1693
- "default": "#7f7f7f",
1946
+ "default": "light-dark(#7f7f7f, rgb(221, 99, 103))",
1694
1947
  "description": "Datagrid plugin"
1695
1948
  },
1696
1949
  {
1697
1950
  "name": "--psp-datagrid--series-9--color",
1698
1951
  "syntax": "<color>",
1699
- "default": "#bcbd22",
1952
+ "default": "light-dark(#bcbd22, rgb(120, 104, 206))",
1700
1953
  "description": "Datagrid plugin"
1701
1954
  },
1702
1955
  {
@@ -1712,7 +1965,7 @@
1712
1965
  {
1713
1966
  "name": "--psp-error--color",
1714
1967
  "syntax": "<color>",
1715
- "default": "#ff471e",
1968
+ "default": "light-dark(#ff471e, #ff9485)",
1716
1969
  "description": "Viewer chrome"
1717
1970
  },
1718
1971
  {
@@ -1937,13 +2190,13 @@
1937
2190
  },
1938
2191
  {
1939
2192
  "name": "--psp-inactive--border-color",
1940
- "default": "#dadada",
2193
+ "default": "light-dark(#dadada, #4c505b)",
1941
2194
  "description": "Viewer chrome"
1942
2195
  },
1943
2196
  {
1944
2197
  "name": "--psp-inactive--color",
1945
2198
  "syntax": "<color>",
1946
- "default": "#ababab",
2199
+ "default": "light-dark(#ababab, #61656e)",
1947
2200
  "description": "Viewer chrome"
1948
2201
  },
1949
2202
  {
@@ -2032,6 +2285,31 @@
2032
2285
  "syntax": "<string>",
2033
2286
  "description": "UI label (intl string)"
2034
2287
  },
2288
+ {
2289
+ "name": "--psp-label--chat-entitlement--configure-view--content",
2290
+ "syntax": "<string>",
2291
+ "description": "UI label (intl string)"
2292
+ },
2293
+ {
2294
+ "name": "--psp-label--chat-entitlement--execute-code--content",
2295
+ "syntax": "<string>",
2296
+ "description": "UI label (intl string)"
2297
+ },
2298
+ {
2299
+ "name": "--psp-label--chat-entitlement--manage-layout--content",
2300
+ "syntax": "<string>",
2301
+ "description": "UI label (intl string)"
2302
+ },
2303
+ {
2304
+ "name": "--psp-label--chat-entitlement--read-docs--content",
2305
+ "syntax": "<string>",
2306
+ "description": "UI label (intl string)"
2307
+ },
2308
+ {
2309
+ "name": "--psp-label--chat-entitlement--read-view--content",
2310
+ "syntax": "<string>",
2311
+ "description": "UI label (intl string)"
2312
+ },
2035
2313
  {
2036
2314
  "name": "--psp-label--chat-placeholder--content",
2037
2315
  "syntax": "<string>",
@@ -2042,6 +2320,16 @@
2042
2320
  "syntax": "<string>",
2043
2321
  "description": "UI label (intl string)"
2044
2322
  },
2323
+ {
2324
+ "name": "--psp-label--chat-reset--content",
2325
+ "syntax": "<string>",
2326
+ "description": "UI label (intl string)"
2327
+ },
2328
+ {
2329
+ "name": "--psp-label--chat-retry--content",
2330
+ "syntax": "<string>",
2331
+ "description": "UI label (intl string)"
2332
+ },
2045
2333
  {
2046
2334
  "name": "--psp-label--chat-send--content",
2047
2335
  "syntax": "<string>",
@@ -2137,6 +2425,16 @@
2137
2425
  "syntax": "<string>",
2138
2426
  "description": "UI label (intl string)"
2139
2427
  },
2428
+ {
2429
+ "name": "--psp-label--command-cells--content",
2430
+ "syntax": "<string>",
2431
+ "description": "UI label (intl string)"
2432
+ },
2433
+ {
2434
+ "name": "--psp-label--command-column--content",
2435
+ "syntax": "<string>",
2436
+ "description": "UI label (intl string)"
2437
+ },
2140
2438
  {
2141
2439
  "name": "--psp-label--config-button--content",
2142
2440
  "syntax": "<string>",
@@ -2712,6 +3010,11 @@
2712
3010
  "syntax": "<string>",
2713
3011
  "description": "UI label (intl string)"
2714
3012
  },
3013
+ {
3014
+ "name": "--psp-label--tooltip-commands--content",
3015
+ "syntax": "<string>",
3016
+ "description": "UI label (intl string)"
3017
+ },
2715
3018
  {
2716
3019
  "name": "--psp-label--tooltip-max-column-px--content",
2717
3020
  "syntax": "<string>",
@@ -3194,13 +3497,13 @@
3194
3497
  },
3195
3498
  {
3196
3499
  "name": "--psp-warning--background",
3197
- "default": "#042121",
3500
+ "default": "light-dark(#042121, white)",
3198
3501
  "description": "Viewer chrome"
3199
3502
  },
3200
3503
  {
3201
3504
  "name": "--psp-warning--color",
3202
3505
  "syntax": "<color>",
3203
- "default": "#fdfffd",
3506
+ "default": "light-dark(#fdfffd, #242526)",
3204
3507
  "description": "Viewer chrome"
3205
3508
  }
3206
3509
  ]
@@ -3216,7 +3519,7 @@
3216
3519
  "privacy": "public",
3217
3520
  "return": {
3218
3521
  "type": {
3219
- "text": "Promise<any>"
3522
+ "text": "Promise<void>"
3220
3523
  }
3221
3524
  }
3222
3525
  },
@@ -3226,7 +3529,7 @@
3226
3529
  "privacy": "public",
3227
3530
  "return": {
3228
3531
  "type": {
3229
- "text": "Promise<any>"
3532
+ "text": "Promise<void>"
3230
3533
  }
3231
3534
  }
3232
3535
  },
@@ -3253,7 +3556,7 @@
3253
3556
  ],
3254
3557
  "return": {
3255
3558
  "type": {
3256
- "text": "Promise<any>"
3559
+ "text": "Promise<void>"
3257
3560
  }
3258
3561
  }
3259
3562
  },
@@ -3263,7 +3566,7 @@
3263
3566
  "privacy": "public",
3264
3567
  "return": {
3265
3568
  "type": {
3266
- "text": "Promise<any>"
3569
+ "text": "Promise<void>"
3267
3570
  }
3268
3571
  }
3269
3572
  },
@@ -3329,7 +3632,7 @@
3329
3632
  ],
3330
3633
  "return": {
3331
3634
  "type": {
3332
- "text": "Promise<any>"
3635
+ "text": "Promise<void>"
3333
3636
  }
3334
3637
  }
3335
3638
  },
@@ -3688,7 +3991,7 @@
3688
3991
  "references": [
3689
3992
  {
3690
3993
  "name": "ViewConfigUpdate",
3691
- "package": "@perspective-dev/client",
3994
+ "package": "@perspective-dev/viewer",
3692
3995
  "start": 0,
3693
3996
  "end": 16
3694
3997
  }
@@ -3704,7 +4007,7 @@
3704
4007
  "references": [
3705
4008
  {
3706
4009
  "name": "ViewConfigUpdate",
3707
- "package": "@perspective-dev/client",
4010
+ "package": "@perspective-dev/viewer",
3708
4011
  "start": 0,
3709
4012
  "end": 16
3710
4013
  }