@perspective-dev/viewer 5.6.1 → 5.8.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.
Files changed (568) hide show
  1. package/README.md +4 -4
  2. package/dist/cdn/perspective-viewer.js +10 -9
  3. package/dist/cdn/perspective-viewer.js.map +4 -4
  4. package/dist/custom-elements.json +3955 -0
  5. package/dist/docs/perspective-docs.json +1 -1
  6. package/dist/esm/bootstrap.d.ts +48 -1
  7. package/dist/esm/column-format.d.ts +27 -18
  8. package/dist/esm/column-format.js +1 -1
  9. package/dist/esm/column-format.js.map +3 -3
  10. package/dist/esm/extensions.d.ts +127 -10
  11. package/dist/esm/perspective-viewer.d.ts +30 -25
  12. package/dist/esm/perspective-viewer.js +869 -9
  13. package/dist/esm/perspective-viewer.js.map +4 -4
  14. package/dist/esm/plugin.d.ts +1 -1
  15. package/dist/ts-rs/ColumnConfigDefaultsOptions.d.ts +15 -0
  16. package/dist/ts-rs/ColumnType.d.ts +6 -0
  17. package/dist/ts-rs/ConfigDefaultsOptions.d.ts +10 -0
  18. package/{src/ts/ts-rs/CurrencyNumberFormatStyle.ts → dist/ts-rs/CurrencyNumberFormatStyle.d.ts} +3 -3
  19. package/{src/ts/ts-rs/CustomNumberFormatConfig.ts → dist/ts-rs/CustomNumberFormatConfig.d.ts} +5 -5
  20. package/dist/ts-rs/DatetimeFormat.d.ts +61 -0
  21. package/dist/ts-rs/DatetimeMonthPart.d.ts +6 -0
  22. package/dist/ts-rs/DatetimeNumericPart.d.ts +6 -0
  23. package/dist/ts-rs/DatetimeTextPart.d.ts +6 -0
  24. package/{src/ts/ts-rs/DerivedTableConfig.ts → dist/ts-rs/DerivedTableConfig.d.ts} +8 -8
  25. package/{src/ts/ts-rs/ExportOptions.ts → dist/ts-rs/ExportOptions.d.ts} +1 -1
  26. package/{src/ts/ts-rs/Filter.ts → dist/ts-rs/Filter.d.ts} +1 -1
  27. package/{src/ts/ts-rs/FilterTerm.ts → dist/ts-rs/FilterTerm.d.ts} +1 -1
  28. package/dist/ts-rs/FractionalSecondDigits.d.ts +6 -0
  29. package/{src/ts/ts-rs/GetViewOptions.ts → dist/ts-rs/GetViewOptions.d.ts} +1 -1
  30. package/{src/ts/ts-rs/Layout.ts → dist/ts-rs/Layout.d.ts} +2 -2
  31. package/{src/ts/ts-rs/Notation.ts → dist/ts-rs/Notation.d.ts} +1 -1
  32. package/{src/ts/ts-rs/NumberFormatStyle.ts → dist/ts-rs/NumberFormatStyle.d.ts} +2 -2
  33. package/{src/ts/ts-rs/OnUpdateData.ts → dist/ts-rs/OnUpdateData.d.ts} +1 -1
  34. package/{src/ts/ts-rs/PanelViewerConfig.ts → dist/ts-rs/PanelViewerConfig.d.ts} +12 -12
  35. package/{src/ts/ts-rs/PluginStaticConfig.ts → dist/ts-rs/PluginStaticConfig.d.ts} +3 -3
  36. package/{src/ts/ts-rs/SimpleDatetimeFormat.ts → dist/ts-rs/SimpleDatetimeFormat.d.ts} +4 -1
  37. package/{src/ts/ts-rs/Sort.ts → dist/ts-rs/Sort.d.ts} +1 -1
  38. package/{src/ts/ts-rs/SplitLayout.ts → dist/ts-rs/SplitLayout.d.ts} +2 -2
  39. package/{src/ts/ts-rs/TableRef.ts → dist/ts-rs/TableRef.d.ts} +1 -1
  40. package/{src/ts/ts-rs/Unit.ts → dist/ts-rs/Unit.d.ts} +1 -1
  41. package/{src/ts/ts-rs/UnitNumberFormatStyle.ts → dist/ts-rs/UnitNumberFormatStyle.d.ts} +2 -2
  42. package/{src/ts/ts-rs/ViewOnUpdateResp.ts → dist/ts-rs/ViewOnUpdateResp.d.ts} +1 -1
  43. package/{src/ts/ts-rs/ViewerConfig.ts → dist/ts-rs/ViewerConfig.d.ts} +12 -12
  44. package/{src/ts/ts-rs/ViewerConfigInitial.ts → dist/ts-rs/ViewerConfigInitial.d.ts} +11 -11
  45. package/{src/ts/ts-rs/ViewerConfigUpdate.ts → dist/ts-rs/ViewerConfigUpdate.d.ts} +13 -13
  46. package/{src/ts/ts-rs/WindowSort.ts → dist/ts-rs/WindowSort.d.ts} +1 -1
  47. package/{src/ts/ts-rs/WindowSpec.ts → dist/ts-rs/WindowSpec.d.ts} +1 -1
  48. package/{src/ts/ts-rs/Windows.ts → dist/ts-rs/Windows.d.ts} +1 -1
  49. package/{src/ts/ts-rs/WorkspaceConfig.ts → dist/ts-rs/WorkspaceConfig.d.ts} +5 -5
  50. package/{src/ts/ts-rs/WorkspaceConfigUpdate.ts → dist/ts-rs/WorkspaceConfigUpdate.d.ts} +10 -5
  51. package/dist/wasm/perspective-viewer.d.ts +207 -69
  52. package/dist/wasm/perspective-viewer.js +388 -122
  53. package/dist/wasm/perspective-viewer.wasm +0 -0
  54. package/dist/wasm/perspective-viewer.wasm.d.ts +28 -18
  55. package/dist/wasm/snippets/{perspective-viewer-7fc45549159e01e4 → perspective-viewer-941ba6dae7521dbe}/inline4.js +0 -6
  56. package/package.json +11 -15
  57. package/dist/esm/ts-rs/AddPanelOptions.d.ts +0 -9
  58. package/dist/esm/ts-rs/Aggregate.d.ts +0 -1
  59. package/dist/esm/ts-rs/ClientOptions.d.ts +0 -7
  60. package/dist/esm/ts-rs/ColumnSelectMode.d.ts +0 -1
  61. package/dist/esm/ts-rs/CompactDisplay.d.ts +0 -5
  62. package/dist/esm/ts-rs/CurrencyCode.d.ts +0 -1
  63. package/dist/esm/ts-rs/CurrencyDisplay.d.ts +0 -1
  64. package/dist/esm/ts-rs/CurrencyNumberFormatStyle.d.ts +0 -8
  65. package/dist/esm/ts-rs/CurrencySign.d.ts +0 -1
  66. package/dist/esm/ts-rs/CustomDatetimeFormat.d.ts +0 -1
  67. package/dist/esm/ts-rs/CustomDatetimeStyleConfig.d.ts +0 -54
  68. package/dist/esm/ts-rs/CustomNumberFormatConfig.d.ts +0 -34
  69. package/dist/esm/ts-rs/DatetimeFormatType.d.ts +0 -6
  70. package/dist/esm/ts-rs/DerivedTableConfig.d.ts +0 -35
  71. package/dist/esm/ts-rs/ExportMethod.d.ts +0 -1
  72. package/dist/esm/ts-rs/ExportOptions.d.ts +0 -9
  73. package/dist/esm/ts-rs/Expressions.d.ts +0 -3
  74. package/dist/esm/ts-rs/Filter.d.ts +0 -2
  75. package/dist/esm/ts-rs/FilterReducer.d.ts +0 -1
  76. package/dist/esm/ts-rs/FilterTerm.d.ts +0 -2
  77. package/dist/esm/ts-rs/FormatUnit.d.ts +0 -1
  78. package/dist/esm/ts-rs/GetClientOptions.d.ts +0 -8
  79. package/dist/esm/ts-rs/GetTableOptions.d.ts +0 -8
  80. package/dist/esm/ts-rs/GetViewMode.d.ts +0 -4
  81. package/dist/esm/ts-rs/GetViewOptions.d.ts +0 -8
  82. package/dist/esm/ts-rs/GroupRollupMode.d.ts +0 -1
  83. package/dist/esm/ts-rs/Layout.d.ts +0 -11
  84. package/dist/esm/ts-rs/Notation.d.ts +0 -17
  85. package/dist/esm/ts-rs/NumberFormatStyle.d.ts +0 -18
  86. package/dist/esm/ts-rs/OnUpdateData.d.ts +0 -6
  87. package/dist/esm/ts-rs/OptionalUpdate.d.ts +0 -1
  88. package/dist/esm/ts-rs/Orientation.d.ts +0 -5
  89. package/dist/esm/ts-rs/PanelOptions.d.ts +0 -7
  90. package/dist/esm/ts-rs/PanelViewerConfig.d.ts +0 -82
  91. package/dist/esm/ts-rs/PluginStaticConfig.d.ts +0 -112
  92. package/dist/esm/ts-rs/RestoreOptions.d.ts +0 -21
  93. package/dist/esm/ts-rs/RestoreWorkspaceOptions.d.ts +0 -9
  94. package/dist/esm/ts-rs/RoundingMode.d.ts +0 -1
  95. package/dist/esm/ts-rs/RoundingPriority.d.ts +0 -1
  96. package/dist/esm/ts-rs/SaveWorkspaceOptions.d.ts +0 -10
  97. package/dist/esm/ts-rs/Scalar.d.ts +0 -5
  98. package/dist/esm/ts-rs/SignDisplay.d.ts +0 -1
  99. package/dist/esm/ts-rs/SimpleDatetimeFormat.d.ts +0 -1
  100. package/dist/esm/ts-rs/SimpleDatetimeStyleConfig.d.ts +0 -24
  101. package/dist/esm/ts-rs/Sort.d.ts +0 -2
  102. package/dist/esm/ts-rs/SortDir.d.ts +0 -1
  103. package/dist/esm/ts-rs/SplitLayout.d.ts +0 -20
  104. package/dist/esm/ts-rs/SplitRollupMode.d.ts +0 -9
  105. package/dist/esm/ts-rs/TabLayout.d.ts +0 -13
  106. package/dist/esm/ts-rs/TableRef.d.ts +0 -9
  107. package/dist/esm/ts-rs/TrailingZeroDisplay.d.ts +0 -1
  108. package/dist/esm/ts-rs/Unit.d.ts +0 -1
  109. package/dist/esm/ts-rs/UnitDisplay.d.ts +0 -1
  110. package/dist/esm/ts-rs/UnitNumberFormatStyle.d.ts +0 -6
  111. package/dist/esm/ts-rs/UseGrouping.d.ts +0 -1
  112. package/dist/esm/ts-rs/ViewOnUpdateResp.d.ts +0 -4
  113. package/dist/esm/ts-rs/ViewerConfig.d.ts +0 -86
  114. package/dist/esm/ts-rs/ViewerConfigInitial.d.ts +0 -175
  115. package/dist/esm/ts-rs/ViewerConfigUpdate.d.ts +0 -182
  116. package/dist/esm/ts-rs/WindowSort.d.ts +0 -7
  117. package/dist/esm/ts-rs/WindowSortDir.d.ts +0 -6
  118. package/dist/esm/ts-rs/WindowSpec.d.ts +0 -47
  119. package/dist/esm/ts-rs/Windows.d.ts +0 -10
  120. package/dist/esm/ts-rs/WorkspaceConfig.d.ts +0 -56
  121. package/dist/esm/ts-rs/WorkspaceConfigUpdate.d.ts +0 -57
  122. package/dist/esm/ts-rs/serde_json/JsonValue.d.ts +0 -3
  123. package/src/css/_column_dropdown.css +0 -14
  124. package/src/css/_context_menu.css +0 -14
  125. package/src/css/_dropdown_menu.css +0 -14
  126. package/src/css/_filter_dropdown.css +0 -14
  127. package/src/css/_function_dropdown.css +0 -14
  128. package/src/css/_viewer_bundle.css +0 -41
  129. package/src/css/aggregate-selector.css +0 -75
  130. package/src/css/column-dropdown.css +0 -106
  131. package/src/css/column-selector.css +0 -729
  132. package/src/css/column-settings-panel.css +0 -164
  133. package/src/css/column-style.css +0 -774
  134. package/src/css/column-symbol-attributes.css +0 -74
  135. package/src/css/config-selector.css +0 -505
  136. package/src/css/containers/pairs-list.css +0 -47
  137. package/src/css/empty-column.css +0 -73
  138. package/src/css/expression-editor.css +0 -153
  139. package/src/css/filter-dropdown.css +0 -54
  140. package/src/css/filter-item.css +0 -127
  141. package/src/css/form/code-editor.css +0 -133
  142. package/src/css/form/debug.css +0 -115
  143. package/src/css/function-dropdown.css +0 -46
  144. package/src/css/panel-tab.css +0 -216
  145. package/src/css/plugin-selector.css +0 -292
  146. package/src/css/render-warning.css +0 -82
  147. package/src/css/status-bar.css +0 -647
  148. package/src/css/type-icon.css +0 -114
  149. package/src/css/ui/containers/context-menu.css +0 -124
  150. package/src/css/ui/containers/dropdown-menu-items.css +0 -95
  151. package/src/css/ui/containers/dropdown-menu.css +0 -50
  152. package/src/css/ui/containers/scroll-panel.css +0 -31
  153. package/src/css/ui/containers/split-panel.css +0 -81
  154. package/src/css/ui/containers/tabs.css +0 -55
  155. package/src/css/ui/dom/checkbox.css +0 -98
  156. package/src/css/ui/dom/scrollbar.css +0 -35
  157. package/src/css/ui/dom/select.css +0 -74
  158. package/src/css/ui/form/mirrored-textarea.css +0 -81
  159. package/src/css/viewer.css +0 -1003
  160. package/src/rust/agent/client/mod.rs +0 -19
  161. package/src/rust/agent/client/protocol.rs +0 -231
  162. package/src/rust/agent/client/transport.rs +0 -287
  163. package/src/rust/agent/client/turn.rs +0 -174
  164. package/src/rust/agent/config.rs +0 -159
  165. package/src/rust/agent/docs.rs +0 -293
  166. package/src/rust/agent/markdown/block.rs +0 -509
  167. package/src/rust/agent/markdown/entity.rs +0 -52
  168. package/src/rust/agent/markdown/events.rs +0 -71
  169. package/src/rust/agent/markdown/inline.rs +0 -497
  170. package/src/rust/agent/markdown/mod.rs +0 -228
  171. package/src/rust/agent/mod.rs +0 -23
  172. package/src/rust/agent/preamble.md +0 -19
  173. package/src/rust/agent/runtime.rs +0 -201
  174. package/src/rust/agent/slot.rs +0 -236
  175. package/src/rust/agent/tools.rs +0 -1482
  176. package/src/rust/components/chat_panel.rs +0 -289
  177. package/src/rust/components/code_editor/highlight.rs +0 -52
  178. package/src/rust/components/code_editor.rs +0 -302
  179. package/src/rust/components/column_dropdown.rs +0 -284
  180. package/src/rust/components/column_selector/active_column.rs +0 -497
  181. package/src/rust/components/column_selector/add_expression_button.rs +0 -48
  182. package/src/rust/components/column_selector/aggregate_selector.rs +0 -193
  183. package/src/rust/components/column_selector/column_selector_column_row.rs +0 -73
  184. package/src/rust/components/column_selector/config_selector.rs +0 -932
  185. package/src/rust/components/column_selector/derived_control.rs +0 -229
  186. package/src/rust/components/column_selector/empty_column.rs +0 -136
  187. package/src/rust/components/column_selector/expr_edit_button.rs +0 -59
  188. package/src/rust/components/column_selector/filter_column.rs +0 -530
  189. package/src/rust/components/column_selector/inactive_column.rs +0 -246
  190. package/src/rust/components/column_selector/invalid_column.rs +0 -22
  191. package/src/rust/components/column_selector/pivot_column.rs +0 -130
  192. package/src/rust/components/column_selector/sort_column.rs +0 -148
  193. package/src/rust/components/column_selector.rs +0 -628
  194. package/src/rust/components/column_settings_sidebar/attributes_tab.rs +0 -34
  195. package/src/rust/components/column_settings_sidebar/save_settings.rs +0 -72
  196. package/src/rust/components/column_settings_sidebar/style_tab/agg_depth_selector.rs +0 -66
  197. package/src/rust/components/column_settings_sidebar/style_tab/alignment_field.rs +0 -90
  198. package/src/rust/components/column_settings_sidebar/style_tab/font_field.rs +0 -267
  199. package/src/rust/components/column_settings_sidebar/style_tab/primitive_field.rs +0 -560
  200. package/src/rust/components/column_settings_sidebar/style_tab/symbol/row_selector.rs +0 -101
  201. package/src/rust/components/column_settings_sidebar/style_tab/symbol/symbol_pairs.rs +0 -91
  202. package/src/rust/components/column_settings_sidebar/style_tab/symbol/symbol_pairs_item.rs +0 -112
  203. package/src/rust/components/column_settings_sidebar/style_tab/symbol/symbol_selector.rs +0 -54
  204. package/src/rust/components/column_settings_sidebar/style_tab/symbol.rs +0 -143
  205. package/src/rust/components/column_settings_sidebar/style_tab.rs +0 -499
  206. package/src/rust/components/column_settings_sidebar/window_tab.rs +0 -34
  207. package/src/rust/components/column_settings_sidebar.rs +0 -622
  208. package/src/rust/components/copy_dropdown.rs +0 -111
  209. package/src/rust/components/datetime_column_style/custom.rs +0 -220
  210. package/src/rust/components/datetime_column_style/simple.rs +0 -131
  211. package/src/rust/components/datetime_column_style.rs +0 -259
  212. package/src/rust/components/debug_panel.rs +0 -350
  213. package/src/rust/components/dragdrop_list.rs +0 -473
  214. package/src/rust/components/editable_header.rs +0 -147
  215. package/src/rust/components/empty_row.rs +0 -166
  216. package/src/rust/components/export_dropdown.rs +0 -132
  217. package/src/rust/components/expression_editor.rs +0 -172
  218. package/src/rust/components/filter_dropdown.rs +0 -288
  219. package/src/rust/components/function_dropdown.rs +0 -224
  220. package/src/rust/components/global_filter_bar.rs +0 -76
  221. package/src/rust/components/main_panel/frame_theme.rs +0 -130
  222. package/src/rust/components/main_panel/msg.rs +0 -68
  223. package/src/rust/components/main_panel/presize.rs +0 -220
  224. package/src/rust/components/main_panel/reconcile.rs +0 -271
  225. package/src/rust/components/main_panel/render.rs +0 -455
  226. package/src/rust/components/main_panel/update.rs +0 -212
  227. package/src/rust/components/main_panel.rs +0 -470
  228. package/src/rust/components/mod.rs +0 -50
  229. package/src/rust/components/new_panel_menu.rs +0 -165
  230. package/src/rust/components/number_series_style.rs +0 -157
  231. package/src/rust/components/panel_menu.rs +0 -518
  232. package/src/rust/components/panel_tab.rs +0 -567
  233. package/src/rust/components/plugin_selector.rs +0 -132
  234. package/src/rust/components/plugin_tab.rs +0 -285
  235. package/src/rust/components/render_warning.rs +0 -128
  236. package/src/rust/components/rows_counter.rs +0 -124
  237. package/src/rust/components/settings_panel.rs +0 -406
  238. package/src/rust/components/status_bar.rs +0 -595
  239. package/src/rust/components/status_indicator.rs +0 -125
  240. package/src/rust/components/style.rs +0 -107
  241. package/src/rust/components/style_controls/mod.rs +0 -15
  242. package/src/rust/components/style_controls/number_string_format/digits_section.rs +0 -150
  243. package/src/rust/components/style_controls/number_string_format/misc_section.rs +0 -60
  244. package/src/rust/components/style_controls/number_string_format/style_section.rs +0 -70
  245. package/src/rust/components/style_controls/number_string_format/types.rs +0 -55
  246. package/src/rust/components/style_controls/number_string_format.rs +0 -258
  247. package/src/rust/components/type_icon.rs +0 -53
  248. package/src/rust/components/viewer/filters.rs +0 -145
  249. package/src/rust/components/viewer/msg.rs +0 -242
  250. package/src/rust/components/viewer/panels.rs +0 -397
  251. package/src/rust/components/viewer/render.rs +0 -266
  252. package/src/rust/components/viewer/settings.rs +0 -621
  253. package/src/rust/components/viewer/snapshots.rs +0 -154
  254. package/src/rust/components/viewer/wiring.rs +0 -500
  255. package/src/rust/components/viewer.rs +0 -429
  256. package/src/rust/components/window_editor.rs +0 -985
  257. package/src/rust/config/column_config_schema.rs +0 -525
  258. package/src/rust/config/columns_config.rs +0 -39
  259. package/src/rust/config/datetime_column_style/custom.rs +0 -138
  260. package/src/rust/config/datetime_column_style/custom_format.rs +0 -90
  261. package/src/rust/config/datetime_column_style/simple.rs +0 -65
  262. package/src/rust/config/datetime_column_style/simple_format.rs +0 -86
  263. package/src/rust/config/datetime_column_style.rs +0 -66
  264. package/src/rust/config/export_method.rs +0 -175
  265. package/src/rust/config/kvpair.rs +0 -47
  266. package/src/rust/config/mod.rs +0 -39
  267. package/src/rust/config/number_series_style.rs +0 -79
  268. package/src/rust/config/number_string_format/enums.rs +0 -298
  269. package/src/rust/config/number_string_format.rs +0 -424
  270. package/src/rust/config/options.rs +0 -145
  271. package/src/rust/config/plugin_static_config.rs +0 -217
  272. package/src/rust/config/view_config.rs +0 -24
  273. package/src/rust/config/viewer_config.rs +0 -461
  274. package/src/rust/config/workspace_config.rs +0 -297
  275. package/src/rust/custom_elements/debug_plugin.rs +0 -122
  276. package/src/rust/custom_elements/mod.rs +0 -17
  277. package/src/rust/custom_elements/viewer.rs +0 -2255
  278. package/src/rust/custom_events.rs +0 -423
  279. package/src/rust/derived.rs +0 -266
  280. package/src/rust/exprtk/cursor.rs +0 -90
  281. package/src/rust/exprtk/mod.rs +0 -19
  282. package/src/rust/exprtk/tokenize/comment.rs +0 -21
  283. package/src/rust/exprtk/tokenize/number.rs +0 -44
  284. package/src/rust/exprtk/tokenize/string.rs +0 -98
  285. package/src/rust/exprtk/tokenize/symbol.rs +0 -26
  286. package/src/rust/exprtk/tokenize.rs +0 -153
  287. package/src/rust/js/clipboard.rs +0 -77
  288. package/src/rust/js/clipboard_item.rs +0 -21
  289. package/src/rust/js/intersection_observer.rs +0 -32
  290. package/src/rust/js/mimetype.rs +0 -37
  291. package/src/rust/js/mod.rs +0 -30
  292. package/src/rust/js/plugin.rs +0 -324
  293. package/src/rust/js/regular_layout.rs +0 -480
  294. package/src/rust/js/resize_observer.rs +0 -37
  295. package/src/rust/lib.rs +0 -204
  296. package/src/rust/presentation/column_locator.rs +0 -115
  297. package/src/rust/presentation/props.rs +0 -47
  298. package/src/rust/presentation/sheets.rs +0 -78
  299. package/src/rust/presentation.rs +0 -825
  300. package/src/rust/queries/column_locator.rs +0 -114
  301. package/src/rust/queries/column_values.rs +0 -59
  302. package/src/rust/queries/columns_iter_set.rs +0 -331
  303. package/src/rust/queries/export_app.rs +0 -59
  304. package/src/rust/queries/exports.rs +0 -96
  305. package/src/rust/queries/fetch_column_stats.rs +0 -94
  306. package/src/rust/queries/get_viewer_config.rs +0 -73
  307. package/src/rust/queries/hosted_tables.rs +0 -38
  308. package/src/rust/queries/is_invalid_drop.rs +0 -36
  309. package/src/rust/queries/mod.rs +0 -48
  310. package/src/rust/queries/palette_set.rs +0 -82
  311. package/src/rust/queries/plugin_column_styles.rs +0 -105
  312. package/src/rust/queries/validate_expression.rs +0 -39
  313. package/src/rust/renderer/activate.rs +0 -90
  314. package/src/rust/renderer/dispatch.rs +0 -564
  315. package/src/rust/renderer/limits.rs +0 -104
  316. package/src/rust/renderer/plugin_config.rs +0 -1129
  317. package/src/rust/renderer/plugin_store.rs +0 -58
  318. package/src/rust/renderer/props.rs +0 -69
  319. package/src/rust/renderer/registry.rs +0 -175
  320. package/src/rust/renderer/render_timer.rs +0 -204
  321. package/src/rust/renderer/state.rs +0 -205
  322. package/src/rust/renderer.rs +0 -868
  323. package/src/rust/root.rs +0 -50
  324. package/src/rust/session/column_defaults_update.rs +0 -194
  325. package/src/rust/session/drag_drop_update.rs +0 -197
  326. package/src/rust/session/metadata.rs +0 -415
  327. package/src/rust/session/op_queue.rs +0 -430
  328. package/src/rust/session/panel_state.rs +0 -327
  329. package/src/rust/session/props.rs +0 -193
  330. package/src/rust/session/replace_expression_update.rs +0 -133
  331. package/src/rust/session/view_subscription.rs +0 -266
  332. package/src/rust/session.rs +0 -1901
  333. package/src/rust/tasks/apply_global_filters.rs +0 -103
  334. package/src/rust/tasks/auto_pause.rs +0 -181
  335. package/src/rust/tasks/copy_export.rs +0 -296
  336. package/src/rust/tasks/create_panel.rs +0 -268
  337. package/src/rust/tasks/derive.rs +0 -312
  338. package/src/rust/tasks/dismiss_render_warning.rs +0 -35
  339. package/src/rust/tasks/edit_expression.rs +0 -92
  340. package/src/rust/tasks/edit_window.rs +0 -153
  341. package/src/rust/tasks/eject.rs +0 -89
  342. package/src/rust/tasks/mod.rs +0 -80
  343. package/src/rust/tasks/pipeline.rs +0 -425
  344. package/src/rust/tasks/presize_panels.rs +0 -386
  345. package/src/rust/tasks/reset_all.rs +0 -119
  346. package/src/rust/tasks/resize_observer.rs +0 -173
  347. package/src/rust/tasks/restore_derived.rs +0 -200
  348. package/src/rust/tasks/restore_panel.rs +0 -271
  349. package/src/rust/tasks/send_column_config.rs +0 -87
  350. package/src/rust/tasks/send_plugin_config.rs +0 -83
  351. package/src/rust/tasks/set_edit_mode.rs +0 -69
  352. package/src/rust/tasks/sync_update_panels.rs +0 -244
  353. package/src/rust/tasks/table_lifecycle.rs +0 -200
  354. package/src/rust/tasks/transactional_restore.rs +0 -387
  355. package/src/rust/tasks/update_theme.rs +0 -139
  356. package/src/rust/tasks/validate_expression.rs +0 -61
  357. package/src/rust/ui/containers/control_group.rs +0 -113
  358. package/src/rust/ui/containers/dropdown_menu.rs +0 -103
  359. package/src/rust/ui/containers/mod.rs +0 -21
  360. package/src/rust/ui/containers/scroll_panel.rs +0 -315
  361. package/src/rust/ui/containers/scroll_panel_item.rs +0 -98
  362. package/src/rust/ui/containers/select.rs +0 -271
  363. package/src/rust/ui/containers/sidebar.rs +0 -125
  364. package/src/rust/ui/containers/sidebar_close_button.rs +0 -30
  365. package/src/rust/ui/containers/split_panel.rs +0 -498
  366. package/src/rust/ui/containers/tab_list.rs +0 -101
  367. package/src/rust/ui/context_menu.rs +0 -264
  368. package/src/rust/ui/dragdrop.rs +0 -201
  369. package/src/rust/ui/font_loader.rs +0 -201
  370. package/src/rust/ui/form/color_selector.rs +0 -58
  371. package/src/rust/ui/form/intl_label.rs +0 -62
  372. package/src/rust/ui/form/mirrored_textarea.rs +0 -100
  373. package/src/rust/ui/form/mod.rs +0 -24
  374. package/src/rust/ui/form/multi_stop_gradient_selector.rs +0 -386
  375. package/src/rust/ui/form/named_value_picker.rs +0 -81
  376. package/src/rust/ui/form/number_field.rs +0 -72
  377. package/src/rust/ui/form/number_input.rs +0 -45
  378. package/src/rust/ui/form/number_range_field.rs +0 -77
  379. package/src/rust/ui/form/optional_field.rs +0 -55
  380. package/src/rust/ui/form/palette_selector.rs +0 -388
  381. package/src/rust/ui/form/select_enum_field.rs +0 -59
  382. package/src/rust/ui/form/select_value_field.rs +0 -64
  383. package/src/rust/ui/mod.rs +0 -56
  384. package/src/rust/ui/modal.rs +0 -61
  385. package/src/rust/ui/portal.rs +0 -374
  386. package/src/rust/ui/style.rs +0 -56
  387. package/src/rust/utils/browser/blob.rs +0 -63
  388. package/src/rust/utils/browser/download.rs +0 -27
  389. package/src/rust/utils/browser/dragdrop.rs +0 -38
  390. package/src/rust/utils/browser/mod.rs +0 -27
  391. package/src/rust/utils/browser/mouse.rs +0 -24
  392. package/src/rust/utils/browser/request_animation_frame.rs +0 -95
  393. package/src/rust/utils/browser/selection.rs +0 -84
  394. package/src/rust/utils/completion.rs +0 -50
  395. package/src/rust/utils/css.rs +0 -525
  396. package/src/rust/utils/css_vars.rs +0 -39
  397. package/src/rust/utils/custom_element.rs +0 -105
  398. package/src/rust/utils/datetime.rs +0 -54
  399. package/src/rust/utils/debounce.rs +0 -232
  400. package/src/rust/utils/hooks/mod.rs +0 -15
  401. package/src/rust/utils/hooks/use_async_callback.rs +0 -43
  402. package/src/rust/utils/in_flight.rs +0 -74
  403. package/src/rust/utils/local_fonts.rs +0 -359
  404. package/src/rust/utils/mod.rs +0 -56
  405. package/src/rust/utils/modal_position.rs +0 -104
  406. package/src/rust/utils/number_format.rs +0 -49
  407. package/src/rust/utils/pending_effects.rs +0 -38
  408. package/src/rust/utils/plugin_host_state.rs +0 -43
  409. package/src/rust/utils/ptr_eq_rc.rs +0 -74
  410. package/src/rust/utils/pubsub.rs +0 -236
  411. package/src/rust/utils/spawn.rs +0 -33
  412. package/src/rust/utils/weak_scope.rs +0 -39
  413. package/src/rust/workspace.rs +0 -1195
  414. package/src/svg/active-indicator.svg +0 -3
  415. package/src/svg/align-scroll-icon.svg +0 -7
  416. package/src/svg/bg-pattern.png +0 -0
  417. package/src/svg/bookmark-icon.svg +0 -4
  418. package/src/svg/boolean-type.svg +0 -4
  419. package/src/svg/checkbox-checked-icon.svg +0 -4
  420. package/src/svg/checkbox-hover.svg +0 -4
  421. package/src/svg/checkbox-off.svg +0 -3
  422. package/src/svg/checkbox-on.svg +0 -4
  423. package/src/svg/checkbox-unchecked-icon.svg +0 -3
  424. package/src/svg/close-icon.svg +0 -6
  425. package/src/svg/column-settings-icon.svg +0 -6
  426. package/src/svg/datagrid-select-column.svg +0 -8
  427. package/src/svg/datagrid-select-region.svg +0 -8
  428. package/src/svg/datagrid-select-row-tree.svg +0 -8
  429. package/src/svg/datagrid-select-row.svg +0 -8
  430. package/src/svg/datagrid.svg +0 -13
  431. package/src/svg/date-type.svg +0 -4
  432. package/src/svg/derived.svg +0 -6
  433. package/src/svg/downloading.gif +0 -0
  434. package/src/svg/drag-handle copy.svg +0 -10
  435. package/src/svg/drag-handle.svg +0 -10
  436. package/src/svg/drawer-bg-pattern-hidpi.png +0 -0
  437. package/src/svg/drawer-tab-hover.svg +0 -4
  438. package/src/svg/drawer-tab-invert-hover.svg +0 -5
  439. package/src/svg/drawer-tab-invert.svg +0 -3
  440. package/src/svg/drawer-tab.svg +0 -5
  441. package/src/svg/dropdown-selector.svg +0 -3
  442. package/src/svg/duplicate-icon.svg +0 -4
  443. package/src/svg/editable-icon.svg +0 -5
  444. package/src/svg/export-icon.svg +0 -4
  445. package/src/svg/expression.svg +0 -10
  446. package/src/svg/free-scroll-icon.svg +0 -5
  447. package/src/svg/inactive-mouseover.svg +0 -4
  448. package/src/svg/lock.svg +0 -7
  449. package/src/svg/mega-menu-icons-candlestick.svg +0 -6
  450. package/src/svg/mega-menu-icons-datagrid.svg +0 -37
  451. package/src/svg/mega-menu-icons-density.svg +0 -23
  452. package/src/svg/mega-menu-icons-heatmap.svg +0 -60
  453. package/src/svg/mega-menu-icons-map-density.svg +0 -24
  454. package/src/svg/mega-menu-icons-map-line.svg +0 -19
  455. package/src/svg/mega-menu-icons-map-scatter.svg +0 -43
  456. package/src/svg/mega-menu-icons-ohlc.svg +0 -5
  457. package/src/svg/mega-menu-icons-sunburst.svg +0 -5
  458. package/src/svg/mega-menu-icons-treemap.svg +0 -4
  459. package/src/svg/mega-menu-icons-x-bar.svg +0 -36
  460. package/src/svg/mega-menu-icons-x-y-line.svg +0 -38
  461. package/src/svg/mega-menu-icons-x-y-scatter.svg +0 -72
  462. package/src/svg/mega-menu-icons-y-area.svg +0 -73
  463. package/src/svg/mega-menu-icons-y-bar.svg +0 -36
  464. package/src/svg/mega-menu-icons-y-line.svg +0 -36
  465. package/src/svg/mega-menu-icons-y-scatter.svg +0 -12
  466. package/src/svg/new-panel-icon.svg +0 -4
  467. package/src/svg/number-type.svg +0 -4
  468. package/src/svg/pin-icon.svg +0 -5
  469. package/src/svg/radio-hover.svg +0 -4
  470. package/src/svg/radio-off.svg +0 -3
  471. package/src/svg/radio-on.svg +0 -4
  472. package/src/svg/read-only-icon.svg +0 -6
  473. package/src/svg/revert-icon.svg +0 -4
  474. package/src/svg/sort-abs-asc-icon.svg +0 -3
  475. package/src/svg/sort-abs-col-asc-icon.svg +0 -3
  476. package/src/svg/sort-abs-col-desc-icon.svg +0 -3
  477. package/src/svg/sort-abs-desc-icon.svg +0 -3
  478. package/src/svg/sort-asc-icon.svg +0 -4
  479. package/src/svg/sort-col-asc-icon.svg +0 -4
  480. package/src/svg/sort-col-desc-icon.svg +0 -4
  481. package/src/svg/sort-desc-icon.svg +0 -4
  482. package/src/svg/sort-none-icon.svg +0 -3
  483. package/src/svg/status_error.svg +0 -70
  484. package/src/svg/status_ok.svg +0 -3
  485. package/src/svg/status_pending.svg +0 -3
  486. package/src/svg/string-type.svg +0 -4
  487. package/src/svg/theme-icon.svg +0 -5
  488. package/src/svg/updating.gif +0 -0
  489. package/src/themes/blueprint.css +0 -133
  490. package/src/themes/botanical.css +0 -97
  491. package/src/themes/defaults.css +0 -68
  492. package/src/themes/dracula.css +0 -167
  493. package/src/themes/eggplant.css +0 -131
  494. package/src/themes/gruvbox-dark.css +0 -183
  495. package/src/themes/gruvbox.css +0 -97
  496. package/src/themes/icons.css +0 -110
  497. package/src/themes/intl/ar.css +0 -209
  498. package/src/themes/intl/de.css +0 -218
  499. package/src/themes/intl/es.css +0 -218
  500. package/src/themes/intl/fr.css +0 -218
  501. package/src/themes/intl/ja.css +0 -218
  502. package/src/themes/intl/pt.css +0 -218
  503. package/src/themes/intl/zh.css +0 -218
  504. package/src/themes/intl.css +0 -220
  505. package/src/themes/ledger.css +0 -137
  506. package/src/themes/monokai.css +0 -181
  507. package/src/themes/nord.css +0 -131
  508. package/src/themes/phosphor.css +0 -125
  509. package/src/themes/pro-dark.css +0 -113
  510. package/src/themes/pro.css +0 -117
  511. package/src/themes/solarized-dark.css +0 -85
  512. package/src/themes/solarized.css +0 -72
  513. package/src/themes/themes.css +0 -28
  514. package/src/themes/vaporwave.css +0 -191
  515. package/src/themes/velvet.css +0 -132
  516. package/src/ts/bootstrap.ts +0 -38
  517. package/src/ts/column-format.ts +0 -233
  518. package/src/ts/extensions.ts +0 -236
  519. package/src/ts/perspective-viewer.cdn.ts +0 -19
  520. package/src/ts/perspective-viewer.ts +0 -72
  521. package/src/ts/perspective-viewer.worker.ts +0 -14
  522. package/src/ts/plugin.ts +0 -296
  523. package/src/ts/providers.ts +0 -96
  524. package/src/ts/select-detail.ts +0 -48
  525. package/src/ts/ts-rs/CustomDatetimeFormat.ts +0 -3
  526. package/src/ts/ts-rs/CustomDatetimeStyleConfig.ts +0 -54
  527. package/src/ts/ts-rs/DatetimeFormatType.ts +0 -8
  528. package/src/ts/ts-rs/FormatUnit.ts +0 -3
  529. package/src/ts/ts-rs/SimpleDatetimeStyleConfig.ts +0 -25
  530. package/tsconfig.json +0 -16
  531. /package/{src/ts/ts-rs/AddPanelOptions.ts → dist/ts-rs/AddPanelOptions.d.ts} +0 -0
  532. /package/{src/ts/ts-rs/Aggregate.ts → dist/ts-rs/Aggregate.d.ts} +0 -0
  533. /package/{src/ts/ts-rs/ClientOptions.ts → dist/ts-rs/ClientOptions.d.ts} +0 -0
  534. /package/{src/ts/ts-rs/ColumnSelectMode.ts → dist/ts-rs/ColumnSelectMode.d.ts} +0 -0
  535. /package/{src/ts/ts-rs/CompactDisplay.ts → dist/ts-rs/CompactDisplay.d.ts} +0 -0
  536. /package/{src/ts/ts-rs/CurrencyCode.ts → dist/ts-rs/CurrencyCode.d.ts} +0 -0
  537. /package/{src/ts/ts-rs/CurrencyDisplay.ts → dist/ts-rs/CurrencyDisplay.d.ts} +0 -0
  538. /package/{src/ts/ts-rs/CurrencySign.ts → dist/ts-rs/CurrencySign.d.ts} +0 -0
  539. /package/{src/ts/ts-rs/ExportMethod.ts → dist/ts-rs/ExportMethod.d.ts} +0 -0
  540. /package/{src/ts/ts-rs/Expressions.ts → dist/ts-rs/Expressions.d.ts} +0 -0
  541. /package/{src/ts/ts-rs/FilterReducer.ts → dist/ts-rs/FilterReducer.d.ts} +0 -0
  542. /package/{src/ts/ts-rs/GetClientOptions.ts → dist/ts-rs/GetClientOptions.d.ts} +0 -0
  543. /package/{src/ts/ts-rs/GetTableOptions.ts → dist/ts-rs/GetTableOptions.d.ts} +0 -0
  544. /package/{src/ts/ts-rs/GetViewMode.ts → dist/ts-rs/GetViewMode.d.ts} +0 -0
  545. /package/{src/ts/ts-rs/GroupRollupMode.ts → dist/ts-rs/GroupRollupMode.d.ts} +0 -0
  546. /package/{src/ts/ts-rs/OptionalUpdate.ts → dist/ts-rs/OptionalUpdate.d.ts} +0 -0
  547. /package/{src/ts/ts-rs/Orientation.ts → dist/ts-rs/Orientation.d.ts} +0 -0
  548. /package/{src/ts/ts-rs/PanelOptions.ts → dist/ts-rs/PanelOptions.d.ts} +0 -0
  549. /package/{src/ts/ts-rs/RestoreOptions.ts → dist/ts-rs/RestoreOptions.d.ts} +0 -0
  550. /package/{src/ts/ts-rs/RestoreWorkspaceOptions.ts → dist/ts-rs/RestoreWorkspaceOptions.d.ts} +0 -0
  551. /package/{src/ts/ts-rs/RoundingMode.ts → dist/ts-rs/RoundingMode.d.ts} +0 -0
  552. /package/{src/ts/ts-rs/RoundingPriority.ts → dist/ts-rs/RoundingPriority.d.ts} +0 -0
  553. /package/{src/ts/ts-rs/SaveWorkspaceOptions.ts → dist/ts-rs/SaveWorkspaceOptions.d.ts} +0 -0
  554. /package/{src/ts/ts-rs/Scalar.ts → dist/ts-rs/Scalar.d.ts} +0 -0
  555. /package/{src/ts/ts-rs/SignDisplay.ts → dist/ts-rs/SignDisplay.d.ts} +0 -0
  556. /package/{src/ts/ts-rs/SortDir.ts → dist/ts-rs/SortDir.d.ts} +0 -0
  557. /package/{src/ts/ts-rs/SplitRollupMode.ts → dist/ts-rs/SplitRollupMode.d.ts} +0 -0
  558. /package/{src/ts/ts-rs/TabLayout.ts → dist/ts-rs/TabLayout.d.ts} +0 -0
  559. /package/{src/ts/ts-rs/TrailingZeroDisplay.ts → dist/ts-rs/TrailingZeroDisplay.d.ts} +0 -0
  560. /package/{src/ts/ts-rs/UnitDisplay.ts → dist/ts-rs/UnitDisplay.d.ts} +0 -0
  561. /package/{src/ts/ts-rs/UseGrouping.ts → dist/ts-rs/UseGrouping.d.ts} +0 -0
  562. /package/{src/ts/ts-rs/WindowSortDir.ts → dist/ts-rs/WindowSortDir.d.ts} +0 -0
  563. /package/{src/ts/ts-rs/serde_json/JsonValue.ts → dist/ts-rs/serde_json/JsonValue.d.ts} +0 -0
  564. /package/dist/wasm/snippets/{perspective-viewer-7fc45549159e01e4 → perspective-viewer-941ba6dae7521dbe}/inline0.js +0 -0
  565. /package/dist/wasm/snippets/{perspective-viewer-7fc45549159e01e4 → perspective-viewer-941ba6dae7521dbe}/inline1.js +0 -0
  566. /package/dist/wasm/snippets/{perspective-viewer-7fc45549159e01e4 → perspective-viewer-941ba6dae7521dbe}/inline2.js +0 -0
  567. /package/dist/wasm/snippets/{perspective-viewer-7fc45549159e01e4 → perspective-viewer-941ba6dae7521dbe}/inline3.js +0 -0
  568. /package/dist/wasm/snippets/{perspective-viewer-7fc45549159e01e4 → perspective-viewer-941ba6dae7521dbe}/inline5.js +0 -0
@@ -0,0 +1,3955 @@
1
+ {
2
+ "schemaVersion": "2.1.0",
3
+ "readme": "README.md",
4
+ "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "dist/esm/perspective-viewer.js",
8
+ "summary": "The `<perspective-viewer>` and `<perspective-viewer-plugin>` custom elements.",
9
+ "declarations": [
10
+ {
11
+ "kind": "class",
12
+ "name": "PerspectiveViewerElement",
13
+ "description": "The `<perspective-viewer>` custom element.\n\n# JavaScript Examples\n\nCreate a new `<perspective-viewer>`:\n\n```javascript\nconst viewer = document.createElement(\"perspective-viewer\");\nwindow.body.appendChild(viewer);\n```\n\nComplete example including loading and restoring the [`Table`]:\n\n```javascript\nimport perspective from \"@perspective-dev/viewer\";\nimport perspective from \"@perspective-dev/client\";\n\nconst viewer = document.createElement(\"perspective-viewer\");\nconst worker = await perspective.worker();\n\nawait worker.table(\"x\\n1\", {name: \"table_one\"});\nawait viewer.load(worker);\nawait viewer.restore({table: \"table_one\"});\n```\n\n## Open CSS custom property families\n\nBeyond the enumerated `cssProperties`, `<perspective-viewer>` reads these\nfamilies by prefix, so any name under them is honored:\n\n- `--psp-user--color-<name>`, `--psp-user--gradient-<name>`,\n `--psp-user--palette-<name>`: user-defined swatches offered by the color,\n gradient and palette pickers.\n- `--psp-label--<slug>--content`: the UI string for any settings-schema key,\n where `<slug>` is the key lowercased with non-alphanumerics folded to `-`.\n- `--psp-plugin-name--<plugin>--content`: the display name of a registered\n plugin.",
14
+ "members": [
15
+ {
16
+ "kind": "method",
17
+ "name": "addPanel",
18
+ "privacy": "public",
19
+ "description": "Add a new, independent panel to this viewer's layout, rendering the\nsupplied [`ViewerConfigInitial`] into it. Unlike [`Self::restore`]'s\nupdate-shaped argument, a new panel has no prior state, so `table`\nis REQUIRED — a table-less call rejects before the layout is\ntouched. The panel uses the default [`perspective_client::Client`]\n(the first passed to [`Self::load`]) to resolve its `table`. Returns\nthe generated panel id.\n\nThe element-level `settings` field does not exist on the argument\ntype (it is shared across the element, not per-panel).\n\n# Arguments\n\n- `config` - The new panel's initial config, whose `table` is required.\n- `options.wait_for_table` - when `true`, a `table` no loaded client\n hosts yet creates the panel empty and pending until the table is\n created, instead of the default rejection.",
20
+ "parameters": [
21
+ {
22
+ "name": "config",
23
+ "type": {
24
+ "text": "ViewerConfigInitial",
25
+ "references": [
26
+ {
27
+ "name": "ViewerConfigInitial",
28
+ "package": "@perspective-dev/viewer",
29
+ "start": 0,
30
+ "end": 19
31
+ }
32
+ ]
33
+ }
34
+ },
35
+ {
36
+ "name": "options",
37
+ "optional": true,
38
+ "type": {
39
+ "text": "AddPanelOptions | null",
40
+ "references": [
41
+ {
42
+ "name": "AddPanelOptions",
43
+ "package": "@perspective-dev/viewer",
44
+ "start": 0,
45
+ "end": 15
46
+ }
47
+ ]
48
+ }
49
+ }
50
+ ],
51
+ "return": {
52
+ "type": {
53
+ "text": "Promise<any>"
54
+ }
55
+ }
56
+ },
57
+ {
58
+ "kind": "method",
59
+ "name": "agentConfig",
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```",
62
+ "parameters": [
63
+ {
64
+ "name": "config",
65
+ "type": {
66
+ "text": "any"
67
+ }
68
+ }
69
+ ],
70
+ "return": {
71
+ "type": {
72
+ "text": "void"
73
+ }
74
+ }
75
+ },
76
+ {
77
+ "kind": "method",
78
+ "name": "agentPrompt",
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```",
81
+ "parameters": [
82
+ {
83
+ "name": "prompt",
84
+ "type": {
85
+ "text": "string"
86
+ }
87
+ }
88
+ ],
89
+ "return": {
90
+ "type": {
91
+ "text": "Promise<any>"
92
+ }
93
+ }
94
+ },
95
+ {
96
+ "kind": "method",
97
+ "name": "agentReset",
98
+ "privacy": "public",
99
+ "description": "Clear the agent's conversation (history and chat transcript), keeping\nits configuration. Cancels any in-flight turn.",
100
+ "return": {
101
+ "type": {
102
+ "text": "Promise<any>"
103
+ }
104
+ }
105
+ },
106
+ {
107
+ "kind": "method",
108
+ "name": "copy",
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```",
111
+ "parameters": [
112
+ {
113
+ "name": "options",
114
+ "optional": true,
115
+ "type": {
116
+ "text": "ExportOptions | null",
117
+ "references": [
118
+ {
119
+ "name": "ExportOptions",
120
+ "package": "@perspective-dev/viewer",
121
+ "start": 0,
122
+ "end": 13
123
+ }
124
+ ]
125
+ }
126
+ }
127
+ ],
128
+ "return": {
129
+ "type": {
130
+ "text": "Promise<any>"
131
+ }
132
+ }
133
+ },
134
+ {
135
+ "kind": "method",
136
+ "name": "delete",
137
+ "privacy": "public",
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
+ "return": {
140
+ "type": {
141
+ "text": "Promise<any>"
142
+ }
143
+ }
144
+ },
145
+ {
146
+ "kind": "method",
147
+ "name": "download",
148
+ "privacy": "public",
149
+ "description": "Download this viewer's internal [`View`] data via a browser download\nevent.\n\n# Arguments\n\n- `method` - The `ExportMethod` to use to render the data to download.\n\n# JavaScript Examples\n\n```javascript\nmyDownloadButton.addEventListener(\"click\", async () => {\n await viewer.download();\n})\n```",
150
+ "parameters": [
151
+ {
152
+ "name": "options",
153
+ "optional": true,
154
+ "type": {
155
+ "text": "ExportOptions | null",
156
+ "references": [
157
+ {
158
+ "name": "ExportOptions",
159
+ "package": "@perspective-dev/viewer",
160
+ "start": 0,
161
+ "end": 13
162
+ }
163
+ ]
164
+ }
165
+ }
166
+ ],
167
+ "return": {
168
+ "type": {
169
+ "text": "Promise<any>"
170
+ }
171
+ }
172
+ },
173
+ {
174
+ "kind": "method",
175
+ "name": "eject",
176
+ "privacy": "public",
177
+ "description": "Remove a [`Client`] from this `<perspective-viewer>` and dispose every\npanel bound to it (each panel's `View` is deleted and its `Table`\nreference released).\n\n# Arguments\n\n- `options` - An optional `{client?: string}` dict naming the client to\n eject; the active panel's client when omitted.\n\n# JavaScript Examples\n\n```javascript\nawait viewer.eject();\nawait viewer.eject({client: \"remote\"});\n```",
178
+ "parameters": [
179
+ {
180
+ "name": "options",
181
+ "optional": true,
182
+ "type": {
183
+ "text": "ClientOptions | null",
184
+ "references": [
185
+ {
186
+ "name": "ClientOptions",
187
+ "package": "@perspective-dev/viewer",
188
+ "start": 0,
189
+ "end": 13
190
+ }
191
+ ]
192
+ }
193
+ }
194
+ ],
195
+ "return": {
196
+ "type": {
197
+ "text": "Promise<any>"
198
+ }
199
+ }
200
+ },
201
+ {
202
+ "kind": "method",
203
+ "name": "export",
204
+ "privacy": "public",
205
+ "description": "Exports this viewer's internal [`View`] as a JavaSript data, the\nexact type of which depends on the `method` but defaults to `String`\nin CSV format.\n\nThis method is only really useful for the `\"plugin\"` method, which\nwill use the configured plugin's export (e.g. PNG for\n`@perspective-dev/viewer-charts`). Otherwise, prefer to call the\nequivalent method on the underlying [`View`] directly.\n\n# Arguments\n\n- `method` - The `ExportMethod` to use to render the data to download.\n\n# JavaScript Examples\n\n```javascript\nconst data = await viewer.export(\"plugin\");\n```",
206
+ "parameters": [
207
+ {
208
+ "name": "options",
209
+ "optional": true,
210
+ "type": {
211
+ "text": "ExportOptions | null",
212
+ "references": [
213
+ {
214
+ "name": "ExportOptions",
215
+ "package": "@perspective-dev/viewer",
216
+ "start": 0,
217
+ "end": 13
218
+ }
219
+ ]
220
+ }
221
+ }
222
+ ],
223
+ "return": {
224
+ "type": {
225
+ "text": "Promise<any>"
226
+ }
227
+ }
228
+ },
229
+ {
230
+ "kind": "method",
231
+ "name": "flush",
232
+ "privacy": "public",
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
+ "return": {
235
+ "type": {
236
+ "text": "Promise<any>"
237
+ }
238
+ }
239
+ },
240
+ {
241
+ "kind": "method",
242
+ "name": "getActivePanel",
243
+ "privacy": "public",
244
+ "description": "The id of the active panel — the one the settings panel and status-bar\ntoolbar target — or `null` when the element has zero panels.",
245
+ "return": {
246
+ "type": {
247
+ "text": "any"
248
+ }
249
+ }
250
+ },
251
+ {
252
+ "kind": "method",
253
+ "name": "getAllPlugins",
254
+ "privacy": "public",
255
+ "description": "Get an `Array` of all of the plugin custom elements registered for this\nelement. This may not include plugins which called\n[`registerPlugin`] after the host has rendered for the first time.",
256
+ "return": {
257
+ "type": {
258
+ "text": "Array<any>"
259
+ }
260
+ }
261
+ },
262
+ {
263
+ "kind": "method",
264
+ "name": "getClient",
265
+ "privacy": "public",
266
+ "description": "Get the underlying [`Client`] for this viewer (as passed to, or\nassociated with the [`Table`] passed to,\n[`PerspectiveViewerElement::load`]).\n\n# Arguments\n\n- `wait_for_client` - whether to wait for\n [`PerspectiveViewerElement::load`] to be called, or fail immediately\n if [`PerspectiveViewerElement::load`] has not yet been called.\n\n# JavaScript Examples\n\n```javascript\nconst client = await viewer.getClient();\n```",
267
+ "parameters": [
268
+ {
269
+ "name": "options",
270
+ "optional": true,
271
+ "type": {
272
+ "text": "GetClientOptions | null",
273
+ "references": [
274
+ {
275
+ "name": "GetClientOptions",
276
+ "package": "@perspective-dev/viewer",
277
+ "start": 0,
278
+ "end": 16
279
+ }
280
+ ]
281
+ }
282
+ }
283
+ ],
284
+ "return": {
285
+ "type": {
286
+ "text": "Promise<any>"
287
+ }
288
+ }
289
+ },
290
+ {
291
+ "kind": "method",
292
+ "name": "getEditPort",
293
+ "privacy": "public",
294
+ "description": "Get this viewer's edit port for the named panel's [`Table`] (see\n[`Table::update`] for details on ports), or the active panel when\n`panel` is omitted.",
295
+ "parameters": [
296
+ {
297
+ "name": "options",
298
+ "optional": true,
299
+ "type": {
300
+ "text": "PanelOptions | null",
301
+ "references": [
302
+ {
303
+ "name": "PanelOptions",
304
+ "package": "@perspective-dev/viewer",
305
+ "start": 0,
306
+ "end": 12
307
+ }
308
+ ]
309
+ }
310
+ }
311
+ ],
312
+ "return": {
313
+ "type": {
314
+ "text": "number"
315
+ }
316
+ }
317
+ },
318
+ {
319
+ "kind": "method",
320
+ "name": "getPanelNames",
321
+ "privacy": "public",
322
+ "description": "Get the ids of all panels in this viewer's layout, in insertion order.",
323
+ "return": {
324
+ "type": {
325
+ "text": "Array<any>"
326
+ }
327
+ }
328
+ },
329
+ {
330
+ "kind": "method",
331
+ "name": "getPlugin",
332
+ "privacy": "public",
333
+ "description": "Gets a plugin Custom Element with the `name` field, or get the active\nplugin if no `name` is provided.\n\n# Arguments\n\n- `name` - The `name` property of a perspective plugin Custom Element,\n or `None` for the active plugin's Custom Element.",
334
+ "parameters": [
335
+ {
336
+ "name": "name",
337
+ "optional": true,
338
+ "type": {
339
+ "text": "string | null"
340
+ }
341
+ }
342
+ ],
343
+ "return": {
344
+ "type": {
345
+ "text": "any"
346
+ }
347
+ }
348
+ },
349
+ {
350
+ "kind": "method",
351
+ "name": "getRenderStats",
352
+ "privacy": "public",
353
+ "description": "Get render statistics. Some fields of the returned stats object are\nrelative to the last time [`PerspectiveViewerElement::getRenderStats`]\nwas called, ergo calling this method resets these fields.\n\n# JavaScript Examples\n\n```javascript\nconst {virtual_fps, actual_fps} = await viewer.getRenderStats();\n```",
354
+ "parameters": [
355
+ {
356
+ "name": "options",
357
+ "optional": true,
358
+ "type": {
359
+ "text": "PanelOptions | null",
360
+ "references": [
361
+ {
362
+ "name": "PanelOptions",
363
+ "package": "@perspective-dev/viewer",
364
+ "start": 0,
365
+ "end": 12
366
+ }
367
+ ]
368
+ }
369
+ }
370
+ ],
371
+ "return": {
372
+ "type": {
373
+ "text": "any"
374
+ }
375
+ }
376
+ },
377
+ {
378
+ "kind": "method",
379
+ "name": "getSelection",
380
+ "privacy": "public",
381
+ "description": "Return a [`perspective_js::JsViewWindow`] for the currently selected\nregion of the named panel, or the active panel when `panel` is omitted.",
382
+ "parameters": [
383
+ {
384
+ "name": "options",
385
+ "optional": true,
386
+ "type": {
387
+ "text": "PanelOptions | null",
388
+ "references": [
389
+ {
390
+ "name": "PanelOptions",
391
+ "package": "@perspective-dev/viewer",
392
+ "start": 0,
393
+ "end": 12
394
+ }
395
+ ]
396
+ }
397
+ }
398
+ ],
399
+ "return": {
400
+ "type": {
401
+ "text": "ViewWindow | undefined",
402
+ "references": [
403
+ {
404
+ "name": "ViewWindow",
405
+ "package": "@perspective-dev/client",
406
+ "start": 0,
407
+ "end": 10
408
+ }
409
+ ]
410
+ }
411
+ }
412
+ },
413
+ {
414
+ "kind": "method",
415
+ "name": "getTable",
416
+ "privacy": "public",
417
+ "description": "Get the underlying [`Table`] for this viewer (as passed to\n[`PerspectiveViewerElement::load`] or as the `table` field to\n[`PerspectiveViewerElement::restore`]).\n\n# Arguments\n\n- `wait_for_table` - whether to wait for\n [`PerspectiveViewerElement::load`] to be called, or fail immediately\n if [`PerspectiveViewerElement::load`] has not yet been called.\n\n# JavaScript Examples\n\n```javascript\nconst table = await viewer.getTable();\n```",
418
+ "parameters": [
419
+ {
420
+ "name": "options",
421
+ "optional": true,
422
+ "type": {
423
+ "text": "GetTableOptions | null",
424
+ "references": [
425
+ {
426
+ "name": "GetTableOptions",
427
+ "package": "@perspective-dev/viewer",
428
+ "start": 0,
429
+ "end": 15
430
+ }
431
+ ]
432
+ }
433
+ }
434
+ ],
435
+ "return": {
436
+ "type": {
437
+ "text": "Promise<any>"
438
+ }
439
+ }
440
+ },
441
+ {
442
+ "kind": "method",
443
+ "name": "getThemes",
444
+ "privacy": "public",
445
+ "return": {
446
+ "type": {
447
+ "text": "Promise<any>"
448
+ }
449
+ }
450
+ },
451
+ {
452
+ "kind": "method",
453
+ "name": "getView",
454
+ "privacy": "public",
455
+ "description": "Get a [`View`] for a panel of this viewer, as currently configured by\nthe user.\n\n# Arguments\n\n- `mode` - which [`View`] to return:\n - `\"live\"` (default) - the panel's own [`View`], which the viewer\n replaces on every config change and deletes when auto-paused or\n [`PerspectiveViewerElement::delete`]d, so calls on it may fail with\n \"View already deleted\", it must never be deleted by the caller, and\n it rejects with `No View for panel \"<name>\"` while none is bound\n (auto-paused or not yet rendered).\n - `\"clone\"` - a new [`View`] built from the panel's effective config\n (global filter included), independent of the render lifecycle, which\n the caller owns and must [`View::delete`].\n - `\"auto\"` - `\"live\"` when the panel has a bound [`View`], else\n `\"clone\"`.\n- `panel` - the target panel, or the active panel when omitted.\n\nPlugins which rely on the live [`View`] for their\n[`HTMLPerspectiveViewerPluginElement::draw`] implementations should\ntreat \"View already deleted\" as a _cancellation_ by silently aborting.\n\n# JavaScript Examples\n\n```javascript\nconst view = await viewer.getView();\n```\n\nExport every panel without borrowing the viewer's own [`View`]:\n\n```javascript\nfor (const panel of viewer.getPanelNames()) {\n const view = await viewer.getView({ panel, mode: \"clone\" });\n const arrow = await view.to_arrow();\n await view.delete();\n}\n```",
456
+ "parameters": [
457
+ {
458
+ "name": "options",
459
+ "optional": true,
460
+ "type": {
461
+ "text": "GetViewOptions | null",
462
+ "references": [
463
+ {
464
+ "name": "GetViewOptions",
465
+ "package": "@perspective-dev/viewer",
466
+ "start": 0,
467
+ "end": 14
468
+ }
469
+ ]
470
+ }
471
+ }
472
+ ],
473
+ "return": {
474
+ "type": {
475
+ "text": "Promise<any>"
476
+ }
477
+ }
478
+ },
479
+ {
480
+ "kind": "method",
481
+ "name": "getViewConfig",
482
+ "privacy": "public",
483
+ "description": "Get a copy of the [`ViewConfig`] for the current [`View`]. This is\nnon-blocking as it does not need to access the plugin (unlike\n[`PerspectiveViewerElement::save`]), and also makes no API calls to the\nserver (unlike [`PerspectiveViewerElement::getView`] followed by\n[`View::get_config`])",
484
+ "parameters": [
485
+ {
486
+ "name": "options",
487
+ "optional": true,
488
+ "type": {
489
+ "text": "PanelOptions | null",
490
+ "references": [
491
+ {
492
+ "name": "PanelOptions",
493
+ "package": "@perspective-dev/viewer",
494
+ "start": 0,
495
+ "end": 12
496
+ }
497
+ ]
498
+ }
499
+ }
500
+ ],
501
+ "return": {
502
+ "type": {
503
+ "text": "Promise<any>"
504
+ }
505
+ }
506
+ },
507
+ {
508
+ "kind": "method",
509
+ "name": "load",
510
+ "privacy": "public",
511
+ "description": "Loads a [`Client`], or optionally [`Table`], or optionally a Javascript\n`Promise` which returns a [`Client`] or [`Table`], in this viewer.\n\nLoading a [`Client`] does not render, but subsequent calls to\n[`PerspectiveViewerElement::restore`] will use this [`Client`] to look\nup the proviced `table` name field for the provided\n[`ViewerConfigUpdate`].\n\nLoading a [`Table`] is equivalent to subsequently calling\n[`Self::restore`] with the `table` field set to [`Table::get_name`], and\nwill render the UI in its default state when [`Self::load`] resolves.\nIf you plan to call [`Self::restore`] anyway, prefer passing a\n[`Client`] argument to [`Self::load`] as it will conserve one render.\n\nWhen [`PerspectiveViewerElement::load`] resolves, the first frame of the\nUI + visualization is guaranteed to have been drawn. Awaiting the result\nof this method in a `try`/`catch` block will capture any errors\nthrown during the loading process, or from the [`Client`] `Promise`\nitself.\n\n[`PerspectiveViewerElement::load`] may also be called with a [`Table`],\nwhich is equivalent to:\n\n```javascript\nawait viewer.load(await table.get_client());\nawait viewer.restore({name: await table.get_name()})\n```\n\nIf you plan to call [`PerspectiveViewerElement::restore`] immediately\nafter [`PerspectiveViewerElement::load`] yourself, as is commonly\ndone when loading and configuring a new `<perspective-viewer>`, you\nshould use a [`Client`] as an argument and set the `table` field in the\nrestore call as\n\nA [`Table`] can be created using the\n[`@perspective-dev/client`](https://www.npmjs.com/package/@perspective-dev/client)\nlibrary from NPM (see [`perspective_js`] documentation for details).\n\n# JavaScript Examples\n\n```javascript\nimport perspective from \"@perspective-dev/client\";\n\nconst worker = await perspective.worker();\nviewer.load(worker);\n```\n\n... or\n\n```javascript\nconst table = await worker.table(data, {name: \"superstore\"});\nviewer.load(table);\n```\n\nComplete example:\n\n```javascript\nconst viewer = document.createElement(\"perspective-viewer\");\nconst worker = await perspective.worker();\n\nawait worker.table(\"x\\n1\", {name: \"table_one\"});\nawait viewer.load(worker);\nawait viewer.restore({table: \"table_one\", columns: [\"x\"]});\n```\n\n... or, if you don't want to pass your own arguments to `restore`:\n\n```javascript\nconst viewer = document.createElement(\"perspective-viewer\");\nconst worker = await perspective.worker();\n\nconst table = await worker.table(\"x\\n1\", {name: \"table_one\"});\nawait viewer.load(table);\n```",
512
+ "parameters": [
513
+ {
514
+ "name": "client",
515
+ "type": {
516
+ "text": "Client | Table | Promise<Client | Table>",
517
+ "references": [
518
+ {
519
+ "name": "Client",
520
+ "package": "@perspective-dev/client",
521
+ "start": 0,
522
+ "end": 6
523
+ },
524
+ {
525
+ "name": "Table",
526
+ "package": "@perspective-dev/client",
527
+ "start": 9,
528
+ "end": 14
529
+ },
530
+ {
531
+ "name": "Client",
532
+ "package": "@perspective-dev/client",
533
+ "start": 25,
534
+ "end": 31
535
+ },
536
+ {
537
+ "name": "Table",
538
+ "package": "@perspective-dev/client",
539
+ "start": 34,
540
+ "end": 39
541
+ }
542
+ ]
543
+ }
544
+ }
545
+ ],
546
+ "return": {
547
+ "type": {
548
+ "text": "Promise<any>"
549
+ }
550
+ }
551
+ },
552
+ {
553
+ "kind": "method",
554
+ "name": "removePanel",
555
+ "privacy": "public",
556
+ "description": "Remove the panel with id `name` from the layout, disposing its engines\n(its `View` is deleted and its `Table` reference released). The last\nremaining panel cannot be removed (resolves as a no-op). Resolves\nafter the panel's teardown run completes, carrying any teardown\nerror — previously fire-and-forget and silently dropped (invariant\nI6). See also [`Self::addPanel`].",
557
+ "parameters": [
558
+ {
559
+ "name": "name",
560
+ "type": {
561
+ "text": "string"
562
+ }
563
+ }
564
+ ],
565
+ "return": {
566
+ "type": {
567
+ "text": "Promise<any>"
568
+ }
569
+ }
570
+ },
571
+ {
572
+ "kind": "method",
573
+ "name": "reset",
574
+ "privacy": "public",
575
+ "description": "Reset a panel's `ViewerConfig` to its data-relative default.\n\nWithout a `panel`, this is ELEMENT-LEVEL: EVERY panel is reset and the\ncross-filter overlay cleared (symmetric with\n[`Self::saveWorkspace`] / [`Self::restoreWorkspace`]). With `{panel}`,\nonly that panel is reset — the other panels and the overlay are left\nuntouched.\n\n# Arguments\n\n- `reset_all` - If set, will clear expressions and column settings as\n well, and tear down the element's ENTIRE derived-table state: every\n panel bound to a derived `Table` is released to its root table, and\n every derivation (pending ones included) is deleted.\n- `options` - An optional `{panel?: string}`; the panel to reset, or\n every panel when omitted.\n\n# JavaScript Examples\n\n```javascript\nawait viewer.reset(); // every panel\nawait viewer.reset(true, {panel: \"p1\"}); // just \"p1\", + expressions\n```",
576
+ "parameters": [
577
+ {
578
+ "name": "reset_all",
579
+ "optional": true,
580
+ "type": {
581
+ "text": "boolean | null"
582
+ }
583
+ },
584
+ {
585
+ "name": "options",
586
+ "optional": true,
587
+ "type": {
588
+ "text": "PanelOptions | null",
589
+ "references": [
590
+ {
591
+ "name": "PanelOptions",
592
+ "package": "@perspective-dev/viewer",
593
+ "start": 0,
594
+ "end": 12
595
+ }
596
+ ]
597
+ }
598
+ }
599
+ ],
600
+ "return": {
601
+ "type": {
602
+ "text": "Promise<any>"
603
+ }
604
+ }
605
+ },
606
+ {
607
+ "kind": "method",
608
+ "name": "resetError",
609
+ "privacy": "public",
610
+ "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
+ "return": {
612
+ "type": {
613
+ "text": "Promise<any>"
614
+ }
615
+ }
616
+ },
617
+ {
618
+ "kind": "method",
619
+ "name": "resetThemes",
620
+ "privacy": "public",
621
+ "description": "Set the available theme names available in the status bar UI.\n\nCalling [`Self::resetThemes`] may cause the current theme to switch,\nif e.g. the new theme set does not contain the current theme.\n\n# JavaScript Examples\n\nRestrict `<perspective-viewer>` theme options to _only_ default light\nand dark themes, regardless of what is auto-detected from the page's\nCSS:\n\n```javascript\nviewer.resetThemes([\"Pro Light\", \"Pro Dark\"])\n```",
622
+ "parameters": [
623
+ {
624
+ "name": "themes",
625
+ "optional": true,
626
+ "type": {
627
+ "text": "any[] | null"
628
+ }
629
+ }
630
+ ],
631
+ "return": {
632
+ "type": {
633
+ "text": "Promise<any>"
634
+ }
635
+ }
636
+ },
637
+ {
638
+ "kind": "method",
639
+ "name": "resize",
640
+ "privacy": "public",
641
+ "description": "Recalculate the viewer's dimensions and redraw.\n\nUse this method to tell `<perspective-viewer>` its dimensions have\nchanged when auto-size mode has been disabled via [`Self::setAutoSize`].\n[`Self::resize`] resolves when the resize-initiated redraw of this\nelement has completed.\n\n# Arguments\n\n- `options` - An optional object with the following fields:\n - `dimensions` - An optional object `{width, height}` providing\n explicit size hints (in pixels) for the plugin container. When\n provided, the plugin element will be temporarily sized to these\n dimensions during resize, then reset.\n\n# JavaScript Examples\n\n```javascript\nawait viewer.resize()\nawait viewer.resize({dimensions: {width: 800, height: 600}})\n```",
642
+ "parameters": [
643
+ {
644
+ "name": "options",
645
+ "optional": true,
646
+ "type": {
647
+ "text": "any | null"
648
+ }
649
+ }
650
+ ],
651
+ "return": {
652
+ "type": {
653
+ "text": "Promise<any>"
654
+ }
655
+ }
656
+ },
657
+ {
658
+ "kind": "method",
659
+ "name": "restore",
660
+ "privacy": "public",
661
+ "description": "Restore a single panel from a full/partial\n[`perspective_js::JsViewConfig`] (its user-configurable state, including\nthe `Table` name) — the active panel, or a specific panel via the\noptional `{panel}` selector.\n\nIf `panel` names no existing panel, a NEW panel is created with that id\nand the config restored into it (an upsert). Creation REQUIRES a\n`table` — the same rule [`Self::addPanel`] enforces in its argument\ntype — and a would-create call without one REJECTS before any state\n(including `settings`) is applied: with no panel to target and no\n`table`, the patch has no data arrival path. In particular, on an\nelement with zero panels every `restore` must carry a `table`.\n\nOn an empty element with a pending [`Self::load`] whose payload is not\nyet classified, the active-target form (no `panel`) instead claims and\nrestores into that load's reserved first panel — see [`Self::load`].\n\nThis restores a SINGLE panel; a workspace config (with a `panels`\nmap) must be applied via [`Self::restoreWorkspace`] — its `panels` /\n`layout` keys are rejected here, as is any key the config format does\nnot define; a rejected config stamped by another release names that\nrelease in the error (upgrade those with `perspective-migrate`).\n\nOne of the best ways to use [`Self::restore`] is by first configuring\na `<perspective-viewer>` as you wish, then using either the `Debug`\npanel or \"Copy\" -> \"config.json\" from the toolbar menu to snapshot\nthe [`Self::restore`] argument as JSON.\n\n# Arguments\n\n- `update` - The config to restore to, as returned by [`Self::save`].\n- `options.panel` - The panel to target, or the active panel when\n omitted.\n- `options.suppress_errors` - when `true`, a config that was applied and\n then failed to render only rejects the returned `Promise`, without\n raising the panel's visible error state.\n- `options.wait_for_table` - when `true`, a `table` no loaded client\n hosts yet leaves the panel empty and pending until the table is\n created, instead of the default error.\n\n# JavaScript Examples\n\nLoads a default plugin for the table named `\"superstore\"`:\n\n```javascript\nawait viewer.restore({table: \"superstore\"});\n```\n\nApply a `group_by` to the same `viewer` element, without\nmodifying/resetting other fields - you can omit the `table` field,\nthis has already been set once and is not modified:\n\n```javascript\nawait viewer.restore({group_by: [\"State\"]});\n```",
662
+ "parameters": [
663
+ {
664
+ "name": "update",
665
+ "type": {
666
+ "text": "ViewerConfigUpdate",
667
+ "references": [
668
+ {
669
+ "name": "ViewerConfigUpdate",
670
+ "package": "@perspective-dev/viewer",
671
+ "start": 0,
672
+ "end": 18
673
+ }
674
+ ]
675
+ }
676
+ },
677
+ {
678
+ "name": "options",
679
+ "optional": true,
680
+ "type": {
681
+ "text": "RestoreOptions | null",
682
+ "references": [
683
+ {
684
+ "name": "RestoreOptions",
685
+ "package": "@perspective-dev/viewer",
686
+ "start": 0,
687
+ "end": 14
688
+ }
689
+ ]
690
+ }
691
+ }
692
+ ],
693
+ "return": {
694
+ "type": {
695
+ "text": "Promise<void>"
696
+ }
697
+ }
698
+ },
699
+ {
700
+ "kind": "method",
701
+ "name": "restoreWorkspace",
702
+ "privacy": "public",
703
+ "description": "Apply a [`WorkspaceConfigUpdate`] to the element — the multi-panel\ncounterpart of [`Self::restore`] and like it a field-wise update, where\nan absent field is unchanged, `null` resets and a value replaces.\n\n# Arguments\n\n- `update` - The workspace config update: a [`Self::saveWorkspace`]\n token replaces every panel (`panels` is the whole set), while a token\n without `panels` keeps them and `layout`, `active` and `masters` name\n them by their existing ids.\n- `options.wait_for_table` - when `true`, a panel whose `table` no\n loaded client hosts yet is created empty and pending until the table\n is created, instead of the default error.\n\n# JavaScript Examples\n\n```javascript\nawait viewer.restoreWorkspace(await otherViewer.saveWorkspace());\n```\n\nCross-filter the current panels without re-creating them:\n\n```javascript\nawait viewer.restoreWorkspace({ global_filters: [[\"Region\", \"==\", \"West\"]] });\n```",
704
+ "parameters": [
705
+ {
706
+ "name": "update",
707
+ "type": {
708
+ "text": "WorkspaceConfigUpdate",
709
+ "references": [
710
+ {
711
+ "name": "WorkspaceConfigUpdate",
712
+ "package": "@perspective-dev/viewer",
713
+ "start": 0,
714
+ "end": 21
715
+ }
716
+ ]
717
+ }
718
+ },
719
+ {
720
+ "name": "options",
721
+ "optional": true,
722
+ "type": {
723
+ "text": "RestoreWorkspaceOptions | null",
724
+ "references": [
725
+ {
726
+ "name": "RestoreWorkspaceOptions",
727
+ "package": "@perspective-dev/viewer",
728
+ "start": 0,
729
+ "end": 23
730
+ }
731
+ ]
732
+ }
733
+ }
734
+ ],
735
+ "return": {
736
+ "type": {
737
+ "text": "Promise<void>"
738
+ }
739
+ }
740
+ },
741
+ {
742
+ "kind": "method",
743
+ "name": "restyleElement",
744
+ "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```",
746
+ "return": {
747
+ "type": {
748
+ "text": "Promise<any>"
749
+ }
750
+ }
751
+ },
752
+ {
753
+ "kind": "method",
754
+ "name": "save",
755
+ "privacy": "public",
756
+ "description": "Save a single panel's user-configurable state as a [`ViewerConfig`], one\nwhich can be restored via [`Self::restore`] — the active panel, or a\nspecific panel via the optional `{panel}` selector.\n\nThis saves a SINGLE panel; to snapshot the ENTIRE element (every panel +\nlayout + cross-filters) use [`Self::saveWorkspace`].\n\n# Arguments\n\n- `options` - An optional `{panel?: string}`; the panel to save, or the\n active panel when omitted.\n\n# JavaScript Examples\n\nGet the current `group_by` setting:\n\n```javascript\nconst {group_by} = await viewer.save();\n```\n\nReset workflow attached to an external button `myResetButton`:\n\n```javascript\nconst token = await viewer.save();\nmyResetButton.addEventListener(\"click\", async () => {\n await viewer.restore(token);\n});\n```",
757
+ "parameters": [
758
+ {
759
+ "name": "options",
760
+ "optional": true,
761
+ "type": {
762
+ "text": "PanelOptions | null",
763
+ "references": [
764
+ {
765
+ "name": "PanelOptions",
766
+ "package": "@perspective-dev/viewer",
767
+ "start": 0,
768
+ "end": 12
769
+ }
770
+ ]
771
+ }
772
+ }
773
+ ],
774
+ "return": {
775
+ "type": {
776
+ "text": "Promise<ViewerConfig>",
777
+ "references": [
778
+ {
779
+ "name": "ViewerConfig",
780
+ "package": "@perspective-dev/viewer",
781
+ "start": 8,
782
+ "end": 20
783
+ }
784
+ ]
785
+ }
786
+ }
787
+ },
788
+ {
789
+ "kind": "method",
790
+ "name": "saveWorkspace",
791
+ "privacy": "public",
792
+ "description": "Save the ENTIRE element to a [`WorkspaceConfig`]\n(`{version, active?, layout, panels, palette?, ...}`) — the\nmulti-panel counterpart of [`Self::save`]. Unlike [`Self::save`]\n(which emits a single `ViewerConfig` for one panel), this ALWAYS\nemits the workspace format, restorable via\n[`Self::restoreWorkspace`].\n\n# JavaScript Examples\n\n```javascript\nconst token = await viewer.saveWorkspace();\nawait viewer.restoreWorkspace(token);\n```",
793
+ "parameters": [
794
+ {
795
+ "name": "options",
796
+ "optional": true,
797
+ "type": {
798
+ "text": "SaveWorkspaceOptions | null",
799
+ "references": [
800
+ {
801
+ "name": "SaveWorkspaceOptions",
802
+ "package": "@perspective-dev/viewer",
803
+ "start": 0,
804
+ "end": 20
805
+ }
806
+ ]
807
+ }
808
+ }
809
+ ],
810
+ "return": {
811
+ "type": {
812
+ "text": "Promise<WorkspaceConfig>",
813
+ "references": [
814
+ {
815
+ "name": "WorkspaceConfig",
816
+ "package": "@perspective-dev/viewer",
817
+ "start": 8,
818
+ "end": 23
819
+ }
820
+ ]
821
+ }
822
+ }
823
+ },
824
+ {
825
+ "kind": "method",
826
+ "name": "setActivePanel",
827
+ "privacy": "public",
828
+ "description": "Make the panel with id `name` the active panel, re-targeting the\nsettings panel and status-bar toolbar (and the root's\nsession/renderer subscriptions) to its engines. Resolves after the\nactivation-chrome redraws on both sides of the switch have completed\n(invariant I6).",
829
+ "parameters": [
830
+ {
831
+ "name": "name",
832
+ "type": {
833
+ "text": "string"
834
+ }
835
+ }
836
+ ],
837
+ "return": {
838
+ "type": {
839
+ "text": "Promise<any>"
840
+ }
841
+ }
842
+ },
843
+ {
844
+ "kind": "method",
845
+ "name": "setAutoPause",
846
+ "privacy": "public",
847
+ "description": "Sets the auto-pause behavior of this component.\n\nWhen `true`, this `<perspective-viewer>` will skip rendering\nwhenever it cannot be seen — tracked via an `IntersectionObserver`\non itself (scrolled out of the viewport, `display: none`) combined\nwith the document's page visibility (backgrounded browser tab,\nminimized window). Auto-pause is enabled by default.\n\n# Arguments\n\n- `autopause` Whether to enable `auto-pause` behavior or not.\n\n# JavaScript Examples\n\nDisable auto-size behavior:\n\n```javascript\nviewer.setAutoPause(false);\n```",
848
+ "parameters": [
849
+ {
850
+ "name": "autopause",
851
+ "type": {
852
+ "text": "boolean"
853
+ }
854
+ }
855
+ ],
856
+ "return": {
857
+ "type": {
858
+ "text": "Promise<any>"
859
+ }
860
+ }
861
+ },
862
+ {
863
+ "kind": "method",
864
+ "name": "setAutoSize",
865
+ "privacy": "public",
866
+ "description": "Sets the auto-size behavior of this component.\n\nWhen `true`, this `<perspective-viewer>` will register a\n`ResizeObserver` on itself and call [`Self::resize`] whenever its own\ndimensions change. However, when embedded in a larger application\ncontext, you may want to call [`Self::resize`] manually to avoid\nover-rendering; in this case auto-sizing can be disabled via this\nmethod. Auto-size behavior is enabled by default.\n\n# Arguments\n\n- `autosize` - Whether to enable `auto-size` behavior or not.\n\n# JavaScript Examples\n\nDisable auto-size behavior:\n\n```javascript\nviewer.setAutoSize(false);\n```",
867
+ "parameters": [
868
+ {
869
+ "name": "autosize",
870
+ "type": {
871
+ "text": "boolean"
872
+ }
873
+ }
874
+ ],
875
+ "return": {
876
+ "type": {
877
+ "text": "void"
878
+ }
879
+ }
880
+ },
881
+ {
882
+ "kind": "method",
883
+ "name": "setSelection",
884
+ "privacy": "public",
885
+ "description": "Set the selection [`perspective_js::JsViewWindow`] for the named panel,\nor the active panel when `panel` is omitted.",
886
+ "parameters": [
887
+ {
888
+ "name": "window",
889
+ "optional": true,
890
+ "type": {
891
+ "text": "ViewWindow | null",
892
+ "references": [
893
+ {
894
+ "name": "ViewWindow",
895
+ "package": "@perspective-dev/client",
896
+ "start": 0,
897
+ "end": 10
898
+ }
899
+ ]
900
+ }
901
+ },
902
+ {
903
+ "name": "options",
904
+ "optional": true,
905
+ "type": {
906
+ "text": "PanelOptions | null",
907
+ "references": [
908
+ {
909
+ "name": "PanelOptions",
910
+ "package": "@perspective-dev/viewer",
911
+ "start": 0,
912
+ "end": 12
913
+ }
914
+ ]
915
+ }
916
+ }
917
+ ],
918
+ "return": {
919
+ "type": {
920
+ "text": "void"
921
+ }
922
+ }
923
+ },
924
+ {
925
+ "kind": "method",
926
+ "name": "setThrottle",
927
+ "privacy": "public",
928
+ "description": "Determines the render throttling behavior. Can be an integer, for\nmillisecond window to throttle render event; or, if `None`, adaptive\nthrottling will be calculated from the measured render time of the\nlast 5 frames.\n\n# Arguments\n\n- `throttle` - The throttle rate in milliseconds (f64), or `None` for\n adaptive throttling.\n\n# JavaScript Examples\n\nOnly draws at most 1 frame/sec:\n\n```rust\nviewer.setThrottle(1000);\n```",
929
+ "parameters": [
930
+ {
931
+ "name": "val",
932
+ "optional": true,
933
+ "type": {
934
+ "text": "number | null"
935
+ }
936
+ }
937
+ ],
938
+ "return": {
939
+ "type": {
940
+ "text": "void"
941
+ }
942
+ }
943
+ },
944
+ {
945
+ "kind": "method",
946
+ "name": "toggleColumnSettings",
947
+ "privacy": "public",
948
+ "description": "Asynchronously opens the column settings for a specific column.\nWhen finished, the `<perspective-viewer>` element will emit a\n\"perspective-toggle-column-settings\" CustomEvent.\nThe event's details property has two fields: `{open: bool, column_name?:\nstring}`. The CustomEvent is also fired whenever the user toggles the\nsidebar manually.",
949
+ "parameters": [
950
+ {
951
+ "name": "column_name",
952
+ "type": {
953
+ "text": "string"
954
+ }
955
+ },
956
+ {
957
+ "name": "options",
958
+ "optional": true,
959
+ "type": {
960
+ "text": "PanelOptions | null",
961
+ "references": [
962
+ {
963
+ "name": "PanelOptions",
964
+ "package": "@perspective-dev/viewer",
965
+ "start": 0,
966
+ "end": 12
967
+ }
968
+ ]
969
+ }
970
+ }
971
+ ],
972
+ "return": {
973
+ "type": {
974
+ "text": "Promise<any>"
975
+ }
976
+ }
977
+ },
978
+ {
979
+ "kind": "method",
980
+ "name": "toggleConfig",
981
+ "privacy": "public",
982
+ "description": "Toggle (or force) the config panel open/closed.\n\n# Arguments\n\n- `force` - Force the state of the panel open or closed, or `None` to\n toggle.\n\n# JavaScript Examples\n\n```javascript\nawait viewer.toggleConfig();\n```",
983
+ "parameters": [
984
+ {
985
+ "name": "force",
986
+ "optional": true,
987
+ "type": {
988
+ "text": "boolean | null"
989
+ }
990
+ }
991
+ ],
992
+ "return": {
993
+ "type": {
994
+ "text": "Promise<any>"
995
+ }
996
+ }
997
+ },
998
+ {
999
+ "kind": "method",
1000
+ "name": "registerPlugin",
1001
+ "privacy": "public",
1002
+ "static": true,
1003
+ "description": "Register a new plugin via its custom element name. This method is called\nautomatically as a side effect of importing a plugin module, so this\nmethod should only typically be called by plugin authors.\n\n```javascript\ncustomElements.get(\"perspective-viewer\").registerPlugin(\"my-plugin\");\n```",
1004
+ "parameters": [
1005
+ {
1006
+ "name": "name",
1007
+ "type": {
1008
+ "text": "string"
1009
+ },
1010
+ "description": "The `name` of the custom element to register, as supplied\nto the `customElements.define(name)` method."
1011
+ }
1012
+ ],
1013
+ "return": {
1014
+ "type": {
1015
+ "text": "Promise<void>"
1016
+ }
1017
+ }
1018
+ },
1019
+ {
1020
+ "kind": "method",
1021
+ "name": "setPluginConfigDefaults",
1022
+ "privacy": "public",
1023
+ "static": true,
1024
+ "description": "Merge `defaults` into the `plugin_config` defaults every\n`<perspective-viewer>` on the page applies.\n\n```javascript\ncustomElements\n .get(\"perspective-viewer\")\n .setPluginConfigDefaults({ group_pad: 10 });\n```",
1025
+ "parameters": [
1026
+ {
1027
+ "name": "defaults",
1028
+ "type": {
1029
+ "text": "Record<string, unknown> | null"
1030
+ },
1031
+ "description": "Values keyed like `plugin_config`, where `null` removes\na default, or `null` to clear the slot."
1032
+ },
1033
+ {
1034
+ "name": "options",
1035
+ "optional": true,
1036
+ "type": {
1037
+ "text": "ConfigDefaultsOptions",
1038
+ "references": [
1039
+ {
1040
+ "name": "ConfigDefaultsOptions",
1041
+ "package": "@perspective-dev/viewer",
1042
+ "start": 0,
1043
+ "end": 21
1044
+ }
1045
+ ]
1046
+ },
1047
+ "description": "`plugin` limits the defaults to one plugin."
1048
+ }
1049
+ ],
1050
+ "return": {
1051
+ "type": {
1052
+ "text": "void"
1053
+ }
1054
+ }
1055
+ },
1056
+ {
1057
+ "kind": "method",
1058
+ "name": "setColumnConfigDefaults",
1059
+ "privacy": "public",
1060
+ "static": true,
1061
+ "description": "Merge `defaults` into the `columns_config` defaults every\n`<perspective-viewer>` on the page applies.\n\n```javascript\ncustomElements\n .get(\"perspective-viewer\")\n .setColumnConfigDefaults(\n { date_format: { timeZone: \"UTC\" } },\n { type: \"datetime\" },\n );\n```",
1062
+ "parameters": [
1063
+ {
1064
+ "name": "defaults",
1065
+ "type": {
1066
+ "text": "Record<string, unknown> | null"
1067
+ },
1068
+ "description": "Values keyed like one `columns_config` entry, where\n`null` removes a default, or `null` to clear the slot."
1069
+ },
1070
+ {
1071
+ "name": "options",
1072
+ "optional": true,
1073
+ "type": {
1074
+ "text": "ColumnConfigDefaultsOptions",
1075
+ "references": [
1076
+ {
1077
+ "name": "ColumnConfigDefaultsOptions",
1078
+ "package": "@perspective-dev/viewer",
1079
+ "start": 0,
1080
+ "end": 27
1081
+ }
1082
+ ]
1083
+ },
1084
+ "description": "`plugin` limits the defaults to one plugin, `type` to\ncolumns of one view type."
1085
+ }
1086
+ ],
1087
+ "return": {
1088
+ "type": {
1089
+ "text": "void"
1090
+ }
1091
+ }
1092
+ },
1093
+ {
1094
+ "kind": "method",
1095
+ "name": "getPluginConfigDefaults",
1096
+ "privacy": "public",
1097
+ "static": true,
1098
+ "description": "The `plugin_config` defaults set by `setPluginConfigDefaults()`, one\nentry per slot.",
1099
+ "return": {
1100
+ "type": {
1101
+ "text": "Array<{ plugin?: string; defaults: Record<string, unknown>; }>"
1102
+ }
1103
+ }
1104
+ },
1105
+ {
1106
+ "kind": "method",
1107
+ "name": "getColumnConfigDefaults",
1108
+ "privacy": "public",
1109
+ "static": true,
1110
+ "description": "The `columns_config` defaults set by `setColumnConfigDefaults()`, one\nentry per slot.",
1111
+ "return": {
1112
+ "type": {
1113
+ "text": "Array<{ plugin?: string; type?: ColumnType; defaults: Record<string, unknown>; }>",
1114
+ "references": [
1115
+ {
1116
+ "name": "ColumnType",
1117
+ "package": "@perspective-dev/viewer",
1118
+ "start": 32,
1119
+ "end": 42
1120
+ }
1121
+ ]
1122
+ }
1123
+ }
1124
+ },
1125
+ {
1126
+ "kind": "method",
1127
+ "name": "get_wasm_module",
1128
+ "privacy": "public",
1129
+ "static": true,
1130
+ "return": {
1131
+ "type": {
1132
+ "text": "WebAssembly.Module"
1133
+ }
1134
+ }
1135
+ },
1136
+ {
1137
+ "kind": "method",
1138
+ "name": "get_worker_url",
1139
+ "privacy": "public",
1140
+ "static": true,
1141
+ "return": {
1142
+ "type": {
1143
+ "text": "URL"
1144
+ }
1145
+ }
1146
+ }
1147
+ ],
1148
+ "tagName": "perspective-viewer",
1149
+ "customElement": true,
1150
+ "superclass": {
1151
+ "name": "HTMLElement"
1152
+ },
1153
+ "events": [
1154
+ {
1155
+ "name": "perspective-click",
1156
+ "type": {
1157
+ "text": "CustomEvent<PerspectiveClickEventDetail>"
1158
+ },
1159
+ "description": "Fires when a plugin's grid or chart is clicked, with the clicked row and a `config` whose filters reproduce it."
1160
+ },
1161
+ {
1162
+ "name": "perspective-select",
1163
+ "type": {
1164
+ "text": "CustomEvent<PerspectiveSelectDetail>"
1165
+ },
1166
+ "description": "Fires when a plugin's selection changes, with the configs whose filters to insert and remove."
1167
+ },
1168
+ {
1169
+ "name": "perspective-global-filter",
1170
+ "type": {
1171
+ "text": "CustomEvent<PerspectiveSelectDetail>"
1172
+ },
1173
+ "description": "Fires on a master panel's selection, before it is applied to the global filter set."
1174
+ },
1175
+ {
1176
+ "name": "perspective-global-filter-update",
1177
+ "type": {
1178
+ "text": "CustomEvent<Filter[]>",
1179
+ "references": [
1180
+ {
1181
+ "name": "Filter",
1182
+ "package": "@perspective-dev/viewer",
1183
+ "start": 12,
1184
+ "end": 18
1185
+ }
1186
+ ]
1187
+ },
1188
+ "description": "Fires whenever the global filter set changes, with the new `Filter[]`."
1189
+ },
1190
+ {
1191
+ "name": "perspective-toggle-settings",
1192
+ "type": {
1193
+ "text": "CustomEvent<boolean>"
1194
+ },
1195
+ "description": "Fires after the settings sidebar opens or closes, with the new open state."
1196
+ },
1197
+ {
1198
+ "name": "perspective-toggle-settings-before",
1199
+ "type": {
1200
+ "text": "CustomEvent<boolean>"
1201
+ },
1202
+ "description": "Fires before the settings sidebar opens or closes, with the pending open state."
1203
+ },
1204
+ {
1205
+ "name": "perspective-toggle-column-settings",
1206
+ "type": {
1207
+ "text": "CustomEvent<PerspectiveToggleColumnSettingsEventDetail>"
1208
+ },
1209
+ "description": "Fires when the column settings sidebar opens or closes, with the column it shows."
1210
+ },
1211
+ {
1212
+ "name": "perspective-config-update",
1213
+ "type": {
1214
+ "text": "CustomEvent<PerspectiveConfigUpdateEventDetail>"
1215
+ },
1216
+ "description": "Fires after a panel's view config changes, with a deferred `getConfig()` accessor valid only during dispatch."
1217
+ },
1218
+ {
1219
+ "name": "perspective-plugin-update",
1220
+ "type": {
1221
+ "text": "CustomEvent<HTMLPerspectiveViewerPluginElement>"
1222
+ },
1223
+ "description": "Fires when a panel's active plugin changes, with the new plugin element as its detail."
1224
+ },
1225
+ {
1226
+ "name": "perspective-column-style-change",
1227
+ "type": {
1228
+ "text": "CustomEvent<PerspectiveColumnStyleChangeEventDetail>"
1229
+ },
1230
+ "description": "Fires when a panel's per-column style config changes, keyed by column name."
1231
+ },
1232
+ {
1233
+ "name": "perspective-layout-update",
1234
+ "type": {
1235
+ "text": "CustomEvent<PerspectiveLayoutUpdateEventDetail>"
1236
+ },
1237
+ "description": "Fires when a panel is added to or removed from the layout, with the placed panel ids in order."
1238
+ },
1239
+ {
1240
+ "name": "perspective-active-panel-update",
1241
+ "type": {
1242
+ "text": "CustomEvent<PerspectiveActivePanelUpdateEventDetail>"
1243
+ },
1244
+ "description": "Fires when the active panel changes, with its id or `null` at zero panels."
1245
+ },
1246
+ {
1247
+ "name": "perspective-statusbar-pointerdown",
1248
+ "type": {
1249
+ "text": "CustomEvent<PointerEvent>"
1250
+ },
1251
+ "description": "Fires with the original `pointerdown` as its detail when the status bar is pressed."
1252
+ },
1253
+ {
1254
+ "name": "perspective-status-indicator-click",
1255
+ "type": {
1256
+ "text": "CustomEvent<undefined>"
1257
+ },
1258
+ "description": "Fires when a panel's status indicator is clicked."
1259
+ },
1260
+ {
1261
+ "name": "perspective-agent-tool",
1262
+ "type": {
1263
+ "text": "CustomEvent<string>"
1264
+ },
1265
+ "description": "Fires when the agent invokes a tool, with a JSON string of `{name, args}` as its detail."
1266
+ },
1267
+ {
1268
+ "name": "perspective-table-delete",
1269
+ "type": {
1270
+ "text": "CustomEvent<undefined>"
1271
+ },
1272
+ "description": "Fires after a panel's `Table` is deleted and the panel unloaded."
1273
+ },
1274
+ {
1275
+ "name": "perspective-table-delete-before",
1276
+ "type": {
1277
+ "text": "CustomEvent<undefined>"
1278
+ },
1279
+ "description": "Fires before a panel's `Table` is deleted, while its `View` is still live."
1280
+ }
1281
+ ],
1282
+ "attributes": [
1283
+ {
1284
+ "name": "theme",
1285
+ "type": {
1286
+ "text": "string"
1287
+ },
1288
+ "description": "The active theme, as a `--psp-theme-name` value declared by a loaded stylesheet; read when the first panel is created and reflected when the user picks a theme."
1289
+ }
1290
+ ],
1291
+ "slots": [
1292
+ {
1293
+ "name": "",
1294
+ "description": "The plugin element of a single-panel viewer, adopted from the light DOM."
1295
+ },
1296
+ {
1297
+ "name": "modal",
1298
+ "description": "Top-layer overlays such as the expression editor and column settings."
1299
+ },
1300
+ {
1301
+ "name": "<panel-id>",
1302
+ "description": "One named slot per panel; the viewer assigns `slot=<panel-id>` to each plugin element it adopts, so authors never set this by hand."
1303
+ }
1304
+ ],
1305
+ "cssParts": [
1306
+ {
1307
+ "name": "tab",
1308
+ "description": "A panel's tab in the `<regular-layout>` titlebar."
1309
+ }
1310
+ ],
1311
+ "cssProperties": [
1312
+ {
1313
+ "name": "--psp--background-color",
1314
+ "syntax": "<color>",
1315
+ "default": "#ffffff",
1316
+ "description": "Viewer chrome"
1317
+ },
1318
+ {
1319
+ "name": "--psp--color",
1320
+ "syntax": "<color>",
1321
+ "default": "#161616",
1322
+ "description": "Viewer chrome"
1323
+ },
1324
+ {
1325
+ "name": "--psp-active--background",
1326
+ "default": "initial",
1327
+ "description": "Viewer chrome"
1328
+ },
1329
+ {
1330
+ "name": "--psp-active--color",
1331
+ "syntax": "<color>",
1332
+ "default": "#2670a9",
1333
+ "description": "Viewer chrome"
1334
+ },
1335
+ {
1336
+ "name": "--psp-button--font-size",
1337
+ "syntax": "<length>",
1338
+ "default": "16px",
1339
+ "description": "Viewer chrome"
1340
+ },
1341
+ {
1342
+ "name": "--psp-button--min-width",
1343
+ "default": "33px",
1344
+ "description": "Viewer chrome"
1345
+ },
1346
+ {
1347
+ "name": "--psp-calendar--filter",
1348
+ "default": "initial",
1349
+ "description": "Viewer chrome"
1350
+ },
1351
+ {
1352
+ "name": "--psp-charts--axis-lines--color",
1353
+ "syntax": "<color>",
1354
+ "default": "#c5c9d0",
1355
+ "description": "Charts plugin"
1356
+ },
1357
+ {
1358
+ "name": "--psp-charts--axis-ticks--color",
1359
+ "syntax": "<color>",
1360
+ "default": "#161616",
1361
+ "description": "Charts plugin"
1362
+ },
1363
+ {
1364
+ "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% )",
1366
+ "description": "Charts plugin"
1367
+ },
1368
+ {
1369
+ "name": "--psp-charts--gridline--color",
1370
+ "syntax": "<color>",
1371
+ "default": "#eaedef",
1372
+ "description": "Charts plugin"
1373
+ },
1374
+ {
1375
+ "name": "--psp-charts--legend--background",
1376
+ "default": "var(--psp--background-color)",
1377
+ "description": "Charts plugin"
1378
+ },
1379
+ {
1380
+ "name": "--psp-charts--legend--color",
1381
+ "syntax": "<color>",
1382
+ "default": "#161616",
1383
+ "description": "Charts plugin"
1384
+ },
1385
+ {
1386
+ "name": "--psp-charts--map-tiles--attribution-",
1387
+ "description": "Charts plugin"
1388
+ },
1389
+ {
1390
+ "name": "--psp-charts--map-tiles--url",
1391
+ "default": "initial",
1392
+ "description": "Charts plugin"
1393
+ },
1394
+ {
1395
+ "name": "--psp-charts--series--color",
1396
+ "syntax": "<color>",
1397
+ "default": "rgba(31, 119, 180, 0.8)",
1398
+ "description": "Charts plugin"
1399
+ },
1400
+ {
1401
+ "name": "--psp-charts--series-1--color",
1402
+ "syntax": "<color>",
1403
+ "default": "#0366d6",
1404
+ "description": "Charts plugin"
1405
+ },
1406
+ {
1407
+ "name": "--psp-charts--series-10--color",
1408
+ "syntax": "<color>",
1409
+ "default": "#17becf",
1410
+ "description": "Charts plugin"
1411
+ },
1412
+ {
1413
+ "name": "--psp-charts--series-11--color",
1414
+ "syntax": "<color>",
1415
+ "default": "initial",
1416
+ "description": "Charts plugin"
1417
+ },
1418
+ {
1419
+ "name": "--psp-charts--series-12--color",
1420
+ "syntax": "<color>",
1421
+ "default": "initial",
1422
+ "description": "Charts plugin"
1423
+ },
1424
+ {
1425
+ "name": "--psp-charts--series-2--color",
1426
+ "syntax": "<color>",
1427
+ "default": "#ff7f0e",
1428
+ "description": "Charts plugin"
1429
+ },
1430
+ {
1431
+ "name": "--psp-charts--series-3--color",
1432
+ "syntax": "<color>",
1433
+ "default": "#2ca02c",
1434
+ "description": "Charts plugin"
1435
+ },
1436
+ {
1437
+ "name": "--psp-charts--series-4--color",
1438
+ "syntax": "<color>",
1439
+ "default": "#d62728",
1440
+ "description": "Charts plugin"
1441
+ },
1442
+ {
1443
+ "name": "--psp-charts--series-5--color",
1444
+ "syntax": "<color>",
1445
+ "default": "#9467bd",
1446
+ "description": "Charts plugin"
1447
+ },
1448
+ {
1449
+ "name": "--psp-charts--series-6--color",
1450
+ "syntax": "<color>",
1451
+ "default": "#8c564b",
1452
+ "description": "Charts plugin"
1453
+ },
1454
+ {
1455
+ "name": "--psp-charts--series-7--color",
1456
+ "syntax": "<color>",
1457
+ "default": "#e377c2",
1458
+ "description": "Charts plugin"
1459
+ },
1460
+ {
1461
+ "name": "--psp-charts--series-8--color",
1462
+ "syntax": "<color>",
1463
+ "default": "#7f7f7f",
1464
+ "description": "Charts plugin"
1465
+ },
1466
+ {
1467
+ "name": "--psp-charts--series-9--color",
1468
+ "syntax": "<color>",
1469
+ "default": "#bcbd22",
1470
+ "description": "Charts plugin"
1471
+ },
1472
+ {
1473
+ "name": "--psp-charts--tooltip--background",
1474
+ "default": "#ffffff",
1475
+ "description": "Charts plugin"
1476
+ },
1477
+ {
1478
+ "name": "--psp-charts--tooltip--border-color",
1479
+ "default": "#ababab",
1480
+ "description": "Charts plugin"
1481
+ },
1482
+ {
1483
+ "name": "--psp-charts--tooltip--color",
1484
+ "syntax": "<color>",
1485
+ "default": "#161616",
1486
+ "description": "Charts plugin"
1487
+ },
1488
+ {
1489
+ "name": "--psp-charts--treemap--hover-highlight",
1490
+ "default": "initial",
1491
+ "description": "Charts plugin"
1492
+ },
1493
+ {
1494
+ "name": "--psp-charts--treemap--labels",
1495
+ "default": "initial",
1496
+ "description": "Charts plugin"
1497
+ },
1498
+ {
1499
+ "name": "--psp-charts--treemap-axis--lines",
1500
+ "default": "none",
1501
+ "description": "Charts plugin"
1502
+ },
1503
+ {
1504
+ "name": "--psp-code-editor--column--color",
1505
+ "syntax": "<color>",
1506
+ "default": "initial",
1507
+ "description": "Expression editor"
1508
+ },
1509
+ {
1510
+ "name": "--psp-code-editor--comment--color",
1511
+ "syntax": "<color>",
1512
+ "default": "initial",
1513
+ "description": "Expression editor"
1514
+ },
1515
+ {
1516
+ "name": "--psp-code-editor--literal--color",
1517
+ "syntax": "<color>",
1518
+ "default": "initial",
1519
+ "description": "Expression editor"
1520
+ },
1521
+ {
1522
+ "name": "--psp-code-editor--operator--color",
1523
+ "syntax": "<color>",
1524
+ "default": "initial",
1525
+ "description": "Expression editor"
1526
+ },
1527
+ {
1528
+ "name": "--psp-code-editor--symbol--color",
1529
+ "syntax": "<color>",
1530
+ "default": "initial",
1531
+ "description": "Expression editor"
1532
+ },
1533
+ {
1534
+ "name": "--psp-column-selector--font-size",
1535
+ "syntax": "<length>",
1536
+ "default": "16px",
1537
+ "description": "Viewer chrome"
1538
+ },
1539
+ {
1540
+ "name": "--psp-column-type--boolean--color",
1541
+ "syntax": "<color>",
1542
+ "default": "initial",
1543
+ "description": "Viewer chrome"
1544
+ },
1545
+ {
1546
+ "name": "--psp-column-type--boolean--mask-image",
1547
+ "syntax": "<image>",
1548
+ "description": "Icon (mask image)"
1549
+ },
1550
+ {
1551
+ "name": "--psp-column-type--date--color",
1552
+ "syntax": "<color>",
1553
+ "default": "initial",
1554
+ "description": "Viewer chrome"
1555
+ },
1556
+ {
1557
+ "name": "--psp-column-type--date--mask-image",
1558
+ "syntax": "<image>",
1559
+ "description": "Icon (mask image)"
1560
+ },
1561
+ {
1562
+ "name": "--psp-column-type--datetime--mask-image",
1563
+ "syntax": "<image>",
1564
+ "description": "Icon (mask image)"
1565
+ },
1566
+ {
1567
+ "name": "--psp-column-type--float--color",
1568
+ "syntax": "<color>",
1569
+ "default": "initial",
1570
+ "description": "Viewer chrome"
1571
+ },
1572
+ {
1573
+ "name": "--psp-column-type--float--mask-image",
1574
+ "syntax": "<image>",
1575
+ "description": "Icon (mask image)"
1576
+ },
1577
+ {
1578
+ "name": "--psp-column-type--integer--mask-image",
1579
+ "syntax": "<image>",
1580
+ "description": "Icon (mask image)"
1581
+ },
1582
+ {
1583
+ "name": "--psp-column-type--string--color",
1584
+ "syntax": "<color>",
1585
+ "default": "initial",
1586
+ "description": "Viewer chrome"
1587
+ },
1588
+ {
1589
+ "name": "--psp-column-type--string--mask-image",
1590
+ "syntax": "<image>",
1591
+ "description": "Icon (mask image)"
1592
+ },
1593
+ {
1594
+ "name": "--psp-column-type--width",
1595
+ "default": "25px",
1596
+ "description": "Viewer chrome"
1597
+ },
1598
+ {
1599
+ "name": "--psp-config-button--padding",
1600
+ "default": "15px 8px 6px 8px",
1601
+ "description": "Viewer chrome"
1602
+ },
1603
+ {
1604
+ "name": "--psp-datagrid--border-color",
1605
+ "default": "initial",
1606
+ "description": "Datagrid plugin"
1607
+ },
1608
+ {
1609
+ "name": "--psp-datagrid--column-edit-button--content",
1610
+ "syntax": "<string>",
1611
+ "description": "Datagrid plugin"
1612
+ },
1613
+ {
1614
+ "name": "--psp-datagrid--hover--border-color",
1615
+ "default": "initial",
1616
+ "description": "Datagrid plugin"
1617
+ },
1618
+ {
1619
+ "name": "--psp-datagrid--neg-cell--color",
1620
+ "syntax": "<color>",
1621
+ "default": "#ff471e",
1622
+ "description": "Datagrid plugin"
1623
+ },
1624
+ {
1625
+ "name": "--psp-datagrid--pos-cell--color",
1626
+ "syntax": "<color>",
1627
+ "default": "#338dcd",
1628
+ "description": "Datagrid plugin"
1629
+ },
1630
+ {
1631
+ "name": "--psp-datagrid--series-1--color",
1632
+ "syntax": "<color>",
1633
+ "default": "#0366d6",
1634
+ "description": "Datagrid plugin"
1635
+ },
1636
+ {
1637
+ "name": "--psp-datagrid--series-10--color",
1638
+ "syntax": "<color>",
1639
+ "default": "#17becf",
1640
+ "description": "Datagrid plugin"
1641
+ },
1642
+ {
1643
+ "name": "--psp-datagrid--series-11--color",
1644
+ "syntax": "<color>",
1645
+ "default": "initial",
1646
+ "description": "Datagrid plugin"
1647
+ },
1648
+ {
1649
+ "name": "--psp-datagrid--series-12--color",
1650
+ "syntax": "<color>",
1651
+ "default": "initial",
1652
+ "description": "Datagrid plugin"
1653
+ },
1654
+ {
1655
+ "name": "--psp-datagrid--series-2--color",
1656
+ "syntax": "<color>",
1657
+ "default": "#ff7f0e",
1658
+ "description": "Datagrid plugin"
1659
+ },
1660
+ {
1661
+ "name": "--psp-datagrid--series-3--color",
1662
+ "syntax": "<color>",
1663
+ "default": "#2ca02c",
1664
+ "description": "Datagrid plugin"
1665
+ },
1666
+ {
1667
+ "name": "--psp-datagrid--series-4--color",
1668
+ "syntax": "<color>",
1669
+ "default": "#d62728",
1670
+ "description": "Datagrid plugin"
1671
+ },
1672
+ {
1673
+ "name": "--psp-datagrid--series-5--color",
1674
+ "syntax": "<color>",
1675
+ "default": "#9467bd",
1676
+ "description": "Datagrid plugin"
1677
+ },
1678
+ {
1679
+ "name": "--psp-datagrid--series-6--color",
1680
+ "syntax": "<color>",
1681
+ "default": "#8c564b",
1682
+ "description": "Datagrid plugin"
1683
+ },
1684
+ {
1685
+ "name": "--psp-datagrid--series-7--color",
1686
+ "syntax": "<color>",
1687
+ "default": "#e377c2",
1688
+ "description": "Datagrid plugin"
1689
+ },
1690
+ {
1691
+ "name": "--psp-datagrid--series-8--color",
1692
+ "syntax": "<color>",
1693
+ "default": "#7f7f7f",
1694
+ "description": "Datagrid plugin"
1695
+ },
1696
+ {
1697
+ "name": "--psp-datagrid--series-9--color",
1698
+ "syntax": "<color>",
1699
+ "default": "#bcbd22",
1700
+ "description": "Datagrid plugin"
1701
+ },
1702
+ {
1703
+ "name": "--psp-derived--mask-image",
1704
+ "syntax": "<image>",
1705
+ "description": "Icon (mask image)"
1706
+ },
1707
+ {
1708
+ "name": "--psp-dropdown--box-shadow",
1709
+ "default": "5px 5px 0 #00000020",
1710
+ "description": "Viewer chrome"
1711
+ },
1712
+ {
1713
+ "name": "--psp-error--color",
1714
+ "syntax": "<color>",
1715
+ "default": "#ff471e",
1716
+ "description": "Viewer chrome"
1717
+ },
1718
+ {
1719
+ "name": "--psp-expression--error--color",
1720
+ "syntax": "<color>",
1721
+ "default": "initial",
1722
+ "description": "Expression editor"
1723
+ },
1724
+ {
1725
+ "name": "--psp-expression--function--color",
1726
+ "syntax": "<color>",
1727
+ "default": "initial",
1728
+ "description": "Expression editor"
1729
+ },
1730
+ {
1731
+ "name": "--psp-expression--operator--color",
1732
+ "syntax": "<color>",
1733
+ "default": "initial",
1734
+ "description": "Expression editor"
1735
+ },
1736
+ {
1737
+ "name": "--psp-expression--psp-error--color",
1738
+ "syntax": "<color>",
1739
+ "default": "initial",
1740
+ "description": "Expression editor"
1741
+ },
1742
+ {
1743
+ "name": "--psp-icon--active-indicator--mask-image",
1744
+ "syntax": "<image>",
1745
+ "description": "Icon (mask image)"
1746
+ },
1747
+ {
1748
+ "name": "--psp-icon--add-expression--mask-image",
1749
+ "syntax": "<image>",
1750
+ "description": "Icon (mask image)"
1751
+ },
1752
+ {
1753
+ "name": "--psp-icon--checkbox-hover--mask-image",
1754
+ "syntax": "<image>",
1755
+ "description": "Icon (mask image)"
1756
+ },
1757
+ {
1758
+ "name": "--psp-icon--checkbox-off--mask-image",
1759
+ "syntax": "<image>",
1760
+ "description": "Icon (mask image)"
1761
+ },
1762
+ {
1763
+ "name": "--psp-icon--checkbox-on--mask-image",
1764
+ "syntax": "<image>",
1765
+ "description": "Icon (mask image)"
1766
+ },
1767
+ {
1768
+ "name": "--psp-icon--close--mask-image",
1769
+ "syntax": "<image>",
1770
+ "description": "Icon (mask image)"
1771
+ },
1772
+ {
1773
+ "name": "--psp-icon--column-drag-handle--mask-image",
1774
+ "syntax": "<image>",
1775
+ "description": "Icon (mask image)"
1776
+ },
1777
+ {
1778
+ "name": "--psp-icon--column-settings--mask-image",
1779
+ "syntax": "<image>",
1780
+ "description": "Icon (mask image)"
1781
+ },
1782
+ {
1783
+ "name": "--psp-icon--copy--mask-image",
1784
+ "syntax": "<image>",
1785
+ "description": "Icon (mask image)"
1786
+ },
1787
+ {
1788
+ "name": "--psp-icon--downloading--mask-image",
1789
+ "syntax": "<image>",
1790
+ "description": "Icon (mask image)"
1791
+ },
1792
+ {
1793
+ "name": "--psp-icon--drawer-tab--mask-image",
1794
+ "syntax": "<image>",
1795
+ "description": "Icon (mask image)"
1796
+ },
1797
+ {
1798
+ "name": "--psp-icon--drawer-tab-hover--mask-image",
1799
+ "syntax": "<image>",
1800
+ "description": "Icon (mask image)"
1801
+ },
1802
+ {
1803
+ "name": "--psp-icon--drawer-tab-inverted--mask-image",
1804
+ "syntax": "<image>",
1805
+ "description": "Icon (mask image)"
1806
+ },
1807
+ {
1808
+ "name": "--psp-icon--drawer-tab-inverted-hover--mask-image",
1809
+ "syntax": "<image>",
1810
+ "description": "Icon (mask image)"
1811
+ },
1812
+ {
1813
+ "name": "--psp-icon--export--mask-image",
1814
+ "syntax": "<image>",
1815
+ "description": "Icon (mask image)"
1816
+ },
1817
+ {
1818
+ "name": "--psp-icon--free-scroll--mask-image",
1819
+ "syntax": "<image>",
1820
+ "description": "Icon (mask image)"
1821
+ },
1822
+ {
1823
+ "name": "--psp-icon--lock--mask-image",
1824
+ "syntax": "<image>",
1825
+ "description": "Icon (mask image)"
1826
+ },
1827
+ {
1828
+ "name": "--psp-icon--new-panel--mask-image",
1829
+ "syntax": "<image>",
1830
+ "description": "Icon (mask image)"
1831
+ },
1832
+ {
1833
+ "name": "--psp-icon--pin--mask-image",
1834
+ "syntax": "<image>",
1835
+ "description": "Icon (mask image)"
1836
+ },
1837
+ {
1838
+ "name": "--psp-icon--radio-hover--mask-image",
1839
+ "syntax": "<image>",
1840
+ "description": "Icon (mask image)"
1841
+ },
1842
+ {
1843
+ "name": "--psp-icon--radio-off--mask-image",
1844
+ "syntax": "<image>",
1845
+ "description": "Icon (mask image)"
1846
+ },
1847
+ {
1848
+ "name": "--psp-icon--radio-on--mask-image",
1849
+ "syntax": "<image>",
1850
+ "description": "Icon (mask image)"
1851
+ },
1852
+ {
1853
+ "name": "--psp-icon--reset--mask-image",
1854
+ "syntax": "<image>",
1855
+ "description": "Icon (mask image)"
1856
+ },
1857
+ {
1858
+ "name": "--psp-icon--select-arrow--mask-image",
1859
+ "syntax": "<image>",
1860
+ "description": "Icon (mask image)"
1861
+ },
1862
+ {
1863
+ "name": "--psp-icon--sort-abs-asc--mask-image",
1864
+ "syntax": "<image>",
1865
+ "description": "Icon (mask image)"
1866
+ },
1867
+ {
1868
+ "name": "--psp-icon--sort-abs-col-asc--mask-image",
1869
+ "syntax": "<image>",
1870
+ "description": "Icon (mask image)"
1871
+ },
1872
+ {
1873
+ "name": "--psp-icon--sort-abs-col-desc--mask-image",
1874
+ "syntax": "<image>",
1875
+ "description": "Icon (mask image)"
1876
+ },
1877
+ {
1878
+ "name": "--psp-icon--sort-abs-desc--mask-image",
1879
+ "syntax": "<image>",
1880
+ "description": "Icon (mask image)"
1881
+ },
1882
+ {
1883
+ "name": "--psp-icon--sort-asc--mask-image",
1884
+ "syntax": "<image>",
1885
+ "description": "Icon (mask image)"
1886
+ },
1887
+ {
1888
+ "name": "--psp-icon--sort-col-asc--mask-image",
1889
+ "syntax": "<image>",
1890
+ "description": "Icon (mask image)"
1891
+ },
1892
+ {
1893
+ "name": "--psp-icon--sort-col-desc--mask-image",
1894
+ "syntax": "<image>",
1895
+ "description": "Icon (mask image)"
1896
+ },
1897
+ {
1898
+ "name": "--psp-icon--sort-desc--mask-image",
1899
+ "syntax": "<image>",
1900
+ "description": "Icon (mask image)"
1901
+ },
1902
+ {
1903
+ "name": "--psp-icon--sort-none--mask-image",
1904
+ "syntax": "<image>",
1905
+ "description": "Icon (mask image)"
1906
+ },
1907
+ {
1908
+ "name": "--psp-icon--status-ok--mask-image",
1909
+ "syntax": "<image>",
1910
+ "description": "Icon (mask image)"
1911
+ },
1912
+ {
1913
+ "name": "--psp-icon--status-pending--mask-image",
1914
+ "syntax": "<image>",
1915
+ "description": "Icon (mask image)"
1916
+ },
1917
+ {
1918
+ "name": "--psp-icon--theme--mask-image",
1919
+ "syntax": "<image>",
1920
+ "description": "Icon (mask image)"
1921
+ },
1922
+ {
1923
+ "name": "--psp-icon--updating--mask-image",
1924
+ "syntax": "<image>",
1925
+ "description": "Icon (mask image)"
1926
+ },
1927
+ {
1928
+ "name": "--psp-icon-overflow-hint--color",
1929
+ "syntax": "<color>",
1930
+ "default": "rgba(0, 0, 0, 0.2)",
1931
+ "description": "Icon"
1932
+ },
1933
+ {
1934
+ "name": "--psp-icon-overflow-hint--content",
1935
+ "syntax": "<string>",
1936
+ "description": "Icon"
1937
+ },
1938
+ {
1939
+ "name": "--psp-inactive--border-color",
1940
+ "default": "#dadada",
1941
+ "description": "Viewer chrome"
1942
+ },
1943
+ {
1944
+ "name": "--psp-inactive--color",
1945
+ "syntax": "<color>",
1946
+ "default": "#ababab",
1947
+ "description": "Viewer chrome"
1948
+ },
1949
+ {
1950
+ "name": "--psp-input--filter",
1951
+ "default": "initial",
1952
+ "description": "Viewer chrome"
1953
+ },
1954
+ {
1955
+ "name": "--psp-interface-monospace--font-family",
1956
+ "syntax": "<family-name>",
1957
+ "default": "\"ui-monospace\", \"SFMono-Regular\", \"SF Mono\", \"Menlo\", \"Consolas\", \"Liberation Mono\", monospace",
1958
+ "description": "Viewer chrome"
1959
+ },
1960
+ {
1961
+ "name": "--psp-label--active-column-selector--content",
1962
+ "syntax": "<string>",
1963
+ "description": "UI label (intl string)"
1964
+ },
1965
+ {
1966
+ "name": "--psp-label--add-expression-button--content",
1967
+ "syntax": "<string>",
1968
+ "description": "UI label (intl string)"
1969
+ },
1970
+ {
1971
+ "name": "--psp-label--aggregate-depth--content",
1972
+ "syntax": "<string>",
1973
+ "description": "UI label (intl string)"
1974
+ },
1975
+ {
1976
+ "name": "--psp-label--align--content",
1977
+ "syntax": "<string>",
1978
+ "description": "UI label (intl string)"
1979
+ },
1980
+ {
1981
+ "name": "--psp-label--all-columns--content",
1982
+ "syntax": "<string>",
1983
+ "description": "UI label (intl string)"
1984
+ },
1985
+ {
1986
+ "name": "--psp-label--alt-axis--content",
1987
+ "syntax": "<string>",
1988
+ "description": "UI label (intl string)"
1989
+ },
1990
+ {
1991
+ "name": "--psp-label--apply-button--content",
1992
+ "syntax": "<string>",
1993
+ "description": "UI label (intl string)"
1994
+ },
1995
+ {
1996
+ "name": "--psp-label--attributes-tab--content",
1997
+ "syntax": "<string>",
1998
+ "description": "UI label (intl string)"
1999
+ },
2000
+ {
2001
+ "name": "--psp-label--auto-alt-y-axis--content",
2002
+ "syntax": "<string>",
2003
+ "description": "UI label (intl string)"
2004
+ },
2005
+ {
2006
+ "name": "--psp-label--band-inner-frac--content",
2007
+ "syntax": "<string>",
2008
+ "description": "UI label (intl string)"
2009
+ },
2010
+ {
2011
+ "name": "--psp-label--bar-inner-pad--content",
2012
+ "syntax": "<string>",
2013
+ "description": "UI label (intl string)"
2014
+ },
2015
+ {
2016
+ "name": "--psp-label--bg-color--content",
2017
+ "syntax": "<string>",
2018
+ "description": "UI label (intl string)"
2019
+ },
2020
+ {
2021
+ "name": "--psp-label--bg-gradient--content",
2022
+ "syntax": "<string>",
2023
+ "description": "UI label (intl string)"
2024
+ },
2025
+ {
2026
+ "name": "--psp-label--bg-mode--content",
2027
+ "syntax": "<string>",
2028
+ "description": "UI label (intl string)"
2029
+ },
2030
+ {
2031
+ "name": "--psp-label--chart-type--content",
2032
+ "syntax": "<string>",
2033
+ "description": "UI label (intl string)"
2034
+ },
2035
+ {
2036
+ "name": "--psp-label--chat-placeholder--content",
2037
+ "syntax": "<string>",
2038
+ "description": "UI label (intl string)"
2039
+ },
2040
+ {
2041
+ "name": "--psp-label--chat-reasoning--content",
2042
+ "syntax": "<string>",
2043
+ "description": "UI label (intl string)"
2044
+ },
2045
+ {
2046
+ "name": "--psp-label--chat-send--content",
2047
+ "syntax": "<string>",
2048
+ "description": "UI label (intl string)"
2049
+ },
2050
+ {
2051
+ "name": "--psp-label--chat-stop--content",
2052
+ "syntax": "<string>",
2053
+ "description": "UI label (intl string)"
2054
+ },
2055
+ {
2056
+ "name": "--psp-label--chat-tab--content",
2057
+ "syntax": "<string>",
2058
+ "description": "UI label (intl string)"
2059
+ },
2060
+ {
2061
+ "name": "--psp-label--color--content",
2062
+ "syntax": "<string>",
2063
+ "description": "UI label (intl string)"
2064
+ },
2065
+ {
2066
+ "name": "--psp-label--color-range--content",
2067
+ "syntax": "<string>",
2068
+ "description": "UI label (intl string)"
2069
+ },
2070
+ {
2071
+ "name": "--psp-label--column-color--content",
2072
+ "syntax": "<string>",
2073
+ "description": "UI label (intl string)"
2074
+ },
2075
+ {
2076
+ "name": "--psp-label--column-columns--content",
2077
+ "syntax": "<string>",
2078
+ "description": "UI label (intl string)"
2079
+ },
2080
+ {
2081
+ "name": "--psp-label--column-label--content",
2082
+ "syntax": "<string>",
2083
+ "description": "UI label (intl string)"
2084
+ },
2085
+ {
2086
+ "name": "--psp-label--column-latitude--content",
2087
+ "syntax": "<string>",
2088
+ "description": "UI label (intl string)"
2089
+ },
2090
+ {
2091
+ "name": "--psp-label--column-longitude--content",
2092
+ "syntax": "<string>",
2093
+ "description": "UI label (intl string)"
2094
+ },
2095
+ {
2096
+ "name": "--psp-label--column-menus--content",
2097
+ "syntax": "<string>",
2098
+ "description": "UI label (intl string)"
2099
+ },
2100
+ {
2101
+ "name": "--psp-label--column-size--content",
2102
+ "syntax": "<string>",
2103
+ "description": "UI label (intl string)"
2104
+ },
2105
+ {
2106
+ "name": "--psp-label--column-size-override--content",
2107
+ "syntax": "<string>",
2108
+ "description": "UI label (intl string)"
2109
+ },
2110
+ {
2111
+ "name": "--psp-label--column-style-close-button--content",
2112
+ "syntax": "<string>",
2113
+ "description": "UI label (intl string)"
2114
+ },
2115
+ {
2116
+ "name": "--psp-label--column-style-open-button--content",
2117
+ "syntax": "<string>",
2118
+ "description": "UI label (intl string)"
2119
+ },
2120
+ {
2121
+ "name": "--psp-label--column-symbol--content",
2122
+ "syntax": "<string>",
2123
+ "description": "UI label (intl string)"
2124
+ },
2125
+ {
2126
+ "name": "--psp-label--column-tooltip--content",
2127
+ "syntax": "<string>",
2128
+ "description": "UI label (intl string)"
2129
+ },
2130
+ {
2131
+ "name": "--psp-label--column-x-axis--content",
2132
+ "syntax": "<string>",
2133
+ "description": "UI label (intl string)"
2134
+ },
2135
+ {
2136
+ "name": "--psp-label--column-y-axis--content",
2137
+ "syntax": "<string>",
2138
+ "description": "UI label (intl string)"
2139
+ },
2140
+ {
2141
+ "name": "--psp-label--config-button--content",
2142
+ "syntax": "<string>",
2143
+ "description": "UI label (intl string)"
2144
+ },
2145
+ {
2146
+ "name": "--psp-label--copy-button--content",
2147
+ "syntax": "<string>",
2148
+ "description": "UI label (intl string)"
2149
+ },
2150
+ {
2151
+ "name": "--psp-label--date-style--content",
2152
+ "syntax": "<string>",
2153
+ "description": "UI label (intl string)"
2154
+ },
2155
+ {
2156
+ "name": "--psp-label--day--content",
2157
+ "syntax": "<string>",
2158
+ "description": "UI label (intl string)"
2159
+ },
2160
+ {
2161
+ "name": "--psp-label--debug-tab--content",
2162
+ "syntax": "<string>",
2163
+ "description": "UI label (intl string)"
2164
+ },
2165
+ {
2166
+ "name": "--psp-label--derive-table--content",
2167
+ "syntax": "<string>",
2168
+ "description": "UI label (intl string)"
2169
+ },
2170
+ {
2171
+ "name": "--psp-label--derive-table-title--content",
2172
+ "syntax": "<string>",
2173
+ "description": "UI label (intl string)"
2174
+ },
2175
+ {
2176
+ "name": "--psp-label--derived-release-delete-title--content",
2177
+ "syntax": "<string>",
2178
+ "description": "UI label (intl string)"
2179
+ },
2180
+ {
2181
+ "name": "--psp-label--derived-release-title--content",
2182
+ "syntax": "<string>",
2183
+ "description": "UI label (intl string)"
2184
+ },
2185
+ {
2186
+ "name": "--psp-label--derived-snapshot--content",
2187
+ "syntax": "<string>",
2188
+ "description": "UI label (intl string)"
2189
+ },
2190
+ {
2191
+ "name": "--psp-label--derived-snapshot-title--content",
2192
+ "syntax": "<string>",
2193
+ "description": "UI label (intl string)"
2194
+ },
2195
+ {
2196
+ "name": "--psp-label--disabled--content",
2197
+ "syntax": "<string>",
2198
+ "description": "UI label (intl string)"
2199
+ },
2200
+ {
2201
+ "name": "--psp-label--domain-mode--content",
2202
+ "syntax": "<string>",
2203
+ "description": "UI label (intl string)"
2204
+ },
2205
+ {
2206
+ "name": "--psp-label--edit-mode--content",
2207
+ "syntax": "<string>",
2208
+ "description": "UI label (intl string)"
2209
+ },
2210
+ {
2211
+ "name": "--psp-label--edit-mode-edit--content",
2212
+ "syntax": "<string>",
2213
+ "description": "UI label (intl string)"
2214
+ },
2215
+ {
2216
+ "name": "--psp-label--edit-mode-read-only--content",
2217
+ "syntax": "<string>",
2218
+ "description": "UI label (intl string)"
2219
+ },
2220
+ {
2221
+ "name": "--psp-label--edit-mode-select-column--content",
2222
+ "syntax": "<string>",
2223
+ "description": "UI label (intl string)"
2224
+ },
2225
+ {
2226
+ "name": "--psp-label--edit-mode-select-region--content",
2227
+ "syntax": "<string>",
2228
+ "description": "UI label (intl string)"
2229
+ },
2230
+ {
2231
+ "name": "--psp-label--edit-mode-select-row--content",
2232
+ "syntax": "<string>",
2233
+ "description": "UI label (intl string)"
2234
+ },
2235
+ {
2236
+ "name": "--psp-label--enabled--content",
2237
+ "syntax": "<string>",
2238
+ "description": "UI label (intl string)"
2239
+ },
2240
+ {
2241
+ "name": "--psp-label--export-button--content",
2242
+ "syntax": "<string>",
2243
+ "description": "UI label (intl string)"
2244
+ },
2245
+ {
2246
+ "name": "--psp-label--facet-mode--content",
2247
+ "syntax": "<string>",
2248
+ "description": "UI label (intl string)"
2249
+ },
2250
+ {
2251
+ "name": "--psp-label--facet-zoom-mode--content",
2252
+ "syntax": "<string>",
2253
+ "description": "UI label (intl string)"
2254
+ },
2255
+ {
2256
+ "name": "--psp-label--fg-color--content",
2257
+ "syntax": "<string>",
2258
+ "description": "UI label (intl string)"
2259
+ },
2260
+ {
2261
+ "name": "--psp-label--fg-gradient--content",
2262
+ "syntax": "<string>",
2263
+ "description": "UI label (intl string)"
2264
+ },
2265
+ {
2266
+ "name": "--psp-label--fg-mode--content",
2267
+ "syntax": "<string>",
2268
+ "description": "UI label (intl string)"
2269
+ },
2270
+ {
2271
+ "name": "--psp-label--filter--content",
2272
+ "syntax": "<string>",
2273
+ "description": "UI label (intl string)"
2274
+ },
2275
+ {
2276
+ "name": "--psp-label--font-family--content",
2277
+ "syntax": "<string>",
2278
+ "description": "UI label (intl string)"
2279
+ },
2280
+ {
2281
+ "name": "--psp-label--font-size--content",
2282
+ "syntax": "<string>",
2283
+ "description": "UI label (intl string)"
2284
+ },
2285
+ {
2286
+ "name": "--psp-label--fractional-digits--content",
2287
+ "syntax": "<string>",
2288
+ "description": "UI label (intl string)"
2289
+ },
2290
+ {
2291
+ "name": "--psp-label--fractional-seconds--content",
2292
+ "syntax": "<string>",
2293
+ "description": "UI label (intl string)"
2294
+ },
2295
+ {
2296
+ "name": "--psp-label--gradient--content",
2297
+ "syntax": "<string>",
2298
+ "description": "UI label (intl string)"
2299
+ },
2300
+ {
2301
+ "name": "--psp-label--gradient-color-mode--content",
2302
+ "syntax": "<string>",
2303
+ "description": "UI label (intl string)"
2304
+ },
2305
+ {
2306
+ "name": "--psp-label--gradient-heat-max--content",
2307
+ "syntax": "<string>",
2308
+ "description": "UI label (intl string)"
2309
+ },
2310
+ {
2311
+ "name": "--psp-label--gradient-intensity--content",
2312
+ "syntax": "<string>",
2313
+ "description": "UI label (intl string)"
2314
+ },
2315
+ {
2316
+ "name": "--psp-label--gradient-radius-px--content",
2317
+ "syntax": "<string>",
2318
+ "description": "UI label (intl string)"
2319
+ },
2320
+ {
2321
+ "name": "--psp-label--group-axes--content",
2322
+ "syntax": "<string>",
2323
+ "description": "UI label (intl string)"
2324
+ },
2325
+ {
2326
+ "name": "--psp-label--group-basemap--content",
2327
+ "syntax": "<string>",
2328
+ "description": "UI label (intl string)"
2329
+ },
2330
+ {
2331
+ "name": "--psp-label--group-by--content",
2332
+ "syntax": "<string>",
2333
+ "description": "UI label (intl string)"
2334
+ },
2335
+ {
2336
+ "name": "--psp-label--group-color--content",
2337
+ "syntax": "<string>",
2338
+ "description": "UI label (intl string)"
2339
+ },
2340
+ {
2341
+ "name": "--psp-label--group-column--content",
2342
+ "syntax": "<string>",
2343
+ "description": "UI label (intl string)"
2344
+ },
2345
+ {
2346
+ "name": "--psp-label--group-density--content",
2347
+ "syntax": "<string>",
2348
+ "description": "UI label (intl string)"
2349
+ },
2350
+ {
2351
+ "name": "--psp-label--group-facets--content",
2352
+ "syntax": "<string>",
2353
+ "description": "UI label (intl string)"
2354
+ },
2355
+ {
2356
+ "name": "--psp-label--group-font--content",
2357
+ "syntax": "<string>",
2358
+ "description": "UI label (intl string)"
2359
+ },
2360
+ {
2361
+ "name": "--psp-label--group-format--content",
2362
+ "syntax": "<string>",
2363
+ "description": "UI label (intl string)"
2364
+ },
2365
+ {
2366
+ "name": "--psp-label--group-glyph--content",
2367
+ "syntax": "<string>",
2368
+ "description": "UI label (intl string)"
2369
+ },
2370
+ {
2371
+ "name": "--psp-label--group-legend--content",
2372
+ "syntax": "<string>",
2373
+ "description": "UI label (intl string)"
2374
+ },
2375
+ {
2376
+ "name": "--psp-label--group-pad--content",
2377
+ "syntax": "<string>",
2378
+ "description": "UI label (intl string)"
2379
+ },
2380
+ {
2381
+ "name": "--psp-label--group-rows--content",
2382
+ "syntax": "<string>",
2383
+ "description": "UI label (intl string)"
2384
+ },
2385
+ {
2386
+ "name": "--psp-label--group-tooltip--content",
2387
+ "syntax": "<string>",
2388
+ "description": "UI label (intl string)"
2389
+ },
2390
+ {
2391
+ "name": "--psp-label--hour--content",
2392
+ "syntax": "<string>",
2393
+ "description": "UI label (intl string)"
2394
+ },
2395
+ {
2396
+ "name": "--psp-label--hours--content",
2397
+ "syntax": "<string>",
2398
+ "description": "UI label (intl string)"
2399
+ },
2400
+ {
2401
+ "name": "--psp-label--inactive-column-selector--content",
2402
+ "syntax": "<string>",
2403
+ "description": "UI label (intl string)"
2404
+ },
2405
+ {
2406
+ "name": "--psp-label--include-zero--content",
2407
+ "syntax": "<string>",
2408
+ "description": "UI label (intl string)"
2409
+ },
2410
+ {
2411
+ "name": "--psp-label--interpolate--content",
2412
+ "syntax": "<string>",
2413
+ "description": "UI label (intl string)"
2414
+ },
2415
+ {
2416
+ "name": "--psp-label--legend-anchor--content",
2417
+ "syntax": "<string>",
2418
+ "description": "UI label (intl string)"
2419
+ },
2420
+ {
2421
+ "name": "--psp-label--legend-height-px--content",
2422
+ "syntax": "<string>",
2423
+ "description": "UI label (intl string)"
2424
+ },
2425
+ {
2426
+ "name": "--psp-label--legend-mode--content",
2427
+ "syntax": "<string>",
2428
+ "description": "UI label (intl string)"
2429
+ },
2430
+ {
2431
+ "name": "--psp-label--legend-opacity--content",
2432
+ "syntax": "<string>",
2433
+ "description": "UI label (intl string)"
2434
+ },
2435
+ {
2436
+ "name": "--psp-label--legend-size-mode--content",
2437
+ "syntax": "<string>",
2438
+ "description": "UI label (intl string)"
2439
+ },
2440
+ {
2441
+ "name": "--psp-label--legend-width-px--content",
2442
+ "syntax": "<string>",
2443
+ "description": "UI label (intl string)"
2444
+ },
2445
+ {
2446
+ "name": "--psp-label--legend-x--content",
2447
+ "syntax": "<string>",
2448
+ "description": "UI label (intl string)"
2449
+ },
2450
+ {
2451
+ "name": "--psp-label--legend-y--content",
2452
+ "syntax": "<string>",
2453
+ "description": "UI label (intl string)"
2454
+ },
2455
+ {
2456
+ "name": "--psp-label--line-width-px--content",
2457
+ "syntax": "<string>",
2458
+ "description": "UI label (intl string)"
2459
+ },
2460
+ {
2461
+ "name": "--psp-label--link--content",
2462
+ "syntax": "<string>",
2463
+ "description": "UI label (intl string)"
2464
+ },
2465
+ {
2466
+ "name": "--psp-label--local-fonts-blocked--content",
2467
+ "syntax": "<string>",
2468
+ "description": "UI label (intl string)"
2469
+ },
2470
+ {
2471
+ "name": "--psp-label--local-fonts-blocked-title--content",
2472
+ "syntax": "<string>",
2473
+ "description": "UI label (intl string)"
2474
+ },
2475
+ {
2476
+ "name": "--psp-label--map-tile-alpha--content",
2477
+ "syntax": "<string>",
2478
+ "description": "UI label (intl string)"
2479
+ },
2480
+ {
2481
+ "name": "--psp-label--map-tile-provider--content",
2482
+ "syntax": "<string>",
2483
+ "description": "UI label (intl string)"
2484
+ },
2485
+ {
2486
+ "name": "--psp-label--minimum-integer-digits--content",
2487
+ "syntax": "<string>",
2488
+ "description": "UI label (intl string)"
2489
+ },
2490
+ {
2491
+ "name": "--psp-label--minute--content",
2492
+ "syntax": "<string>",
2493
+ "description": "UI label (intl string)"
2494
+ },
2495
+ {
2496
+ "name": "--psp-label--month--content",
2497
+ "syntax": "<string>",
2498
+ "description": "UI label (intl string)"
2499
+ },
2500
+ {
2501
+ "name": "--psp-label--new-from-panel--content",
2502
+ "syntax": "<string>",
2503
+ "description": "UI label (intl string)"
2504
+ },
2505
+ {
2506
+ "name": "--psp-label--new-from-table--content",
2507
+ "syntax": "<string>",
2508
+ "description": "UI label (intl string)"
2509
+ },
2510
+ {
2511
+ "name": "--psp-label--new-panel-button--content",
2512
+ "syntax": "<string>",
2513
+ "description": "UI label (intl string)"
2514
+ },
2515
+ {
2516
+ "name": "--psp-label--no-results--content",
2517
+ "syntax": "<string>",
2518
+ "description": "UI label (intl string)"
2519
+ },
2520
+ {
2521
+ "name": "--psp-label--notation--content",
2522
+ "syntax": "<string>",
2523
+ "description": "UI label (intl string)"
2524
+ },
2525
+ {
2526
+ "name": "--psp-label--numeric-axes--content",
2527
+ "syntax": "<string>",
2528
+ "description": "UI label (intl string)"
2529
+ },
2530
+ {
2531
+ "name": "--psp-label--ohlc-line-width-px--content",
2532
+ "syntax": "<string>",
2533
+ "description": "UI label (intl string)"
2534
+ },
2535
+ {
2536
+ "name": "--psp-label--palette--content",
2537
+ "syntax": "<string>",
2538
+ "description": "UI label (intl string)"
2539
+ },
2540
+ {
2541
+ "name": "--psp-label--paste-button--content",
2542
+ "syntax": "<string>",
2543
+ "description": "UI label (intl string)"
2544
+ },
2545
+ {
2546
+ "name": "--psp-label--plugin-tab--content",
2547
+ "syntax": "<string>",
2548
+ "description": "UI label (intl string)"
2549
+ },
2550
+ {
2551
+ "name": "--psp-label--point-size-px--content",
2552
+ "syntax": "<string>",
2553
+ "description": "UI label (intl string)"
2554
+ },
2555
+ {
2556
+ "name": "--psp-label--query-tab--content",
2557
+ "syntax": "<string>",
2558
+ "description": "UI label (intl string)"
2559
+ },
2560
+ {
2561
+ "name": "--psp-label--request-local-fonts--content",
2562
+ "syntax": "<string>",
2563
+ "description": "UI label (intl string)"
2564
+ },
2565
+ {
2566
+ "name": "--psp-label--request-local-fonts-title--content",
2567
+ "syntax": "<string>",
2568
+ "description": "UI label (intl string)"
2569
+ },
2570
+ {
2571
+ "name": "--psp-label--reset-button--content",
2572
+ "syntax": "<string>",
2573
+ "description": "UI label (intl string)"
2574
+ },
2575
+ {
2576
+ "name": "--psp-label--reset-button-icon--content",
2577
+ "syntax": "<string>",
2578
+ "description": "UI label (intl string)"
2579
+ },
2580
+ {
2581
+ "name": "--psp-label--role--column-groups--content",
2582
+ "syntax": "<string>",
2583
+ "description": "UI label (intl string)"
2584
+ },
2585
+ {
2586
+ "name": "--psp-label--role--facets--content",
2587
+ "syntax": "<string>",
2588
+ "description": "UI label (intl string)"
2589
+ },
2590
+ {
2591
+ "name": "--psp-label--role--hierarchy--content",
2592
+ "syntax": "<string>",
2593
+ "description": "UI label (intl string)"
2594
+ },
2595
+ {
2596
+ "name": "--psp-label--role--row-groups--content",
2597
+ "syntax": "<string>",
2598
+ "description": "UI label (intl string)"
2599
+ },
2600
+ {
2601
+ "name": "--psp-label--role--series--content",
2602
+ "syntax": "<string>",
2603
+ "description": "UI label (intl string)"
2604
+ },
2605
+ {
2606
+ "name": "--psp-label--role--x-axis--content",
2607
+ "syntax": "<string>",
2608
+ "description": "UI label (intl string)"
2609
+ },
2610
+ {
2611
+ "name": "--psp-label--role--y-axis--content",
2612
+ "syntax": "<string>",
2613
+ "description": "UI label (intl string)"
2614
+ },
2615
+ {
2616
+ "name": "--psp-label--rounding-increment--content",
2617
+ "syntax": "<string>",
2618
+ "description": "UI label (intl string)"
2619
+ },
2620
+ {
2621
+ "name": "--psp-label--rounding-mode--content",
2622
+ "syntax": "<string>",
2623
+ "description": "UI label (intl string)"
2624
+ },
2625
+ {
2626
+ "name": "--psp-label--rounding-priority--content",
2627
+ "syntax": "<string>",
2628
+ "description": "UI label (intl string)"
2629
+ },
2630
+ {
2631
+ "name": "--psp-label--row-height--content",
2632
+ "syntax": "<string>",
2633
+ "description": "UI label (intl string)"
2634
+ },
2635
+ {
2636
+ "name": "--psp-label--save-button-icon--content",
2637
+ "syntax": "<string>",
2638
+ "description": "UI label (intl string)"
2639
+ },
2640
+ {
2641
+ "name": "--psp-label--scroll-lock--content",
2642
+ "syntax": "<string>",
2643
+ "description": "UI label (intl string)"
2644
+ },
2645
+ {
2646
+ "name": "--psp-label--scroll-lock-alt-toggle--content",
2647
+ "syntax": "<string>",
2648
+ "description": "UI label (intl string)"
2649
+ },
2650
+ {
2651
+ "name": "--psp-label--scroll-lock-toggle--content",
2652
+ "syntax": "<string>",
2653
+ "description": "UI label (intl string)"
2654
+ },
2655
+ {
2656
+ "name": "--psp-label--second--content",
2657
+ "syntax": "<string>",
2658
+ "description": "UI label (intl string)"
2659
+ },
2660
+ {
2661
+ "name": "--psp-label--series--content",
2662
+ "syntax": "<string>",
2663
+ "description": "UI label (intl string)"
2664
+ },
2665
+ {
2666
+ "name": "--psp-label--series-zoom-mode--content",
2667
+ "syntax": "<string>",
2668
+ "description": "UI label (intl string)"
2669
+ },
2670
+ {
2671
+ "name": "--psp-label--sign-display--content",
2672
+ "syntax": "<string>",
2673
+ "description": "UI label (intl string)"
2674
+ },
2675
+ {
2676
+ "name": "--psp-label--significant-digits--content",
2677
+ "syntax": "<string>",
2678
+ "description": "UI label (intl string)"
2679
+ },
2680
+ {
2681
+ "name": "--psp-label--sort--content",
2682
+ "syntax": "<string>",
2683
+ "description": "UI label (intl string)"
2684
+ },
2685
+ {
2686
+ "name": "--psp-label--split-by--content",
2687
+ "syntax": "<string>",
2688
+ "description": "UI label (intl string)"
2689
+ },
2690
+ {
2691
+ "name": "--psp-label--stack--content",
2692
+ "syntax": "<string>",
2693
+ "description": "UI label (intl string)"
2694
+ },
2695
+ {
2696
+ "name": "--psp-label--style--content",
2697
+ "syntax": "<string>",
2698
+ "description": "UI label (intl string)"
2699
+ },
2700
+ {
2701
+ "name": "--psp-label--style-tab--content",
2702
+ "syntax": "<string>",
2703
+ "description": "UI label (intl string)"
2704
+ },
2705
+ {
2706
+ "name": "--psp-label--time-style--content",
2707
+ "syntax": "<string>",
2708
+ "description": "UI label (intl string)"
2709
+ },
2710
+ {
2711
+ "name": "--psp-label--timezone--content",
2712
+ "syntax": "<string>",
2713
+ "description": "UI label (intl string)"
2714
+ },
2715
+ {
2716
+ "name": "--psp-label--tooltip-max-column-px--content",
2717
+ "syntax": "<string>",
2718
+ "description": "UI label (intl string)"
2719
+ },
2720
+ {
2721
+ "name": "--psp-label--tooltip-opacity--content",
2722
+ "syntax": "<string>",
2723
+ "description": "UI label (intl string)"
2724
+ },
2725
+ {
2726
+ "name": "--psp-label--trailing-zero-display--content",
2727
+ "syntax": "<string>",
2728
+ "description": "UI label (intl string)"
2729
+ },
2730
+ {
2731
+ "name": "--psp-label--transpose-button--content",
2732
+ "syntax": "<string>",
2733
+ "description": "UI label (intl string)"
2734
+ },
2735
+ {
2736
+ "name": "--psp-label--tree-collapse--content",
2737
+ "syntax": "<string>",
2738
+ "description": "UI label (intl string)"
2739
+ },
2740
+ {
2741
+ "name": "--psp-label--tree-expand--content",
2742
+ "syntax": "<string>",
2743
+ "description": "UI label (intl string)"
2744
+ },
2745
+ {
2746
+ "name": "--psp-label--untitled--content",
2747
+ "syntax": "<string>",
2748
+ "description": "UI label (intl string)"
2749
+ },
2750
+ {
2751
+ "name": "--psp-label--use-grouping--content",
2752
+ "syntax": "<string>",
2753
+ "description": "UI label (intl string)"
2754
+ },
2755
+ {
2756
+ "name": "--psp-label--webgl-y1--content",
2757
+ "syntax": "<string>",
2758
+ "default": "\"arrow_upward\"",
2759
+ "description": "UI label (intl string)"
2760
+ },
2761
+ {
2762
+ "name": "--psp-label--webgl-y2--content",
2763
+ "syntax": "<string>",
2764
+ "default": "\"arrow_downward\"",
2765
+ "description": "UI label (intl string)"
2766
+ },
2767
+ {
2768
+ "name": "--psp-label--weekday--content",
2769
+ "syntax": "<string>",
2770
+ "description": "UI label (intl string)"
2771
+ },
2772
+ {
2773
+ "name": "--psp-label--wick-width-px--content",
2774
+ "syntax": "<string>",
2775
+ "description": "UI label (intl string)"
2776
+ },
2777
+ {
2778
+ "name": "--psp-label--window-alpha--content",
2779
+ "syntax": "<string>",
2780
+ "description": "UI label (intl string)"
2781
+ },
2782
+ {
2783
+ "name": "--psp-label--window-frame--content",
2784
+ "syntax": "<string>",
2785
+ "description": "UI label (intl string)"
2786
+ },
2787
+ {
2788
+ "name": "--psp-label--window-offset--content",
2789
+ "syntax": "<string>",
2790
+ "description": "UI label (intl string)"
2791
+ },
2792
+ {
2793
+ "name": "--psp-label--window-order-by--content",
2794
+ "syntax": "<string>",
2795
+ "description": "UI label (intl string)"
2796
+ },
2797
+ {
2798
+ "name": "--psp-label--window-partition-by--content",
2799
+ "syntax": "<string>",
2800
+ "description": "UI label (intl string)"
2801
+ },
2802
+ {
2803
+ "name": "--psp-label--window-source--content",
2804
+ "syntax": "<string>",
2805
+ "description": "UI label (intl string)"
2806
+ },
2807
+ {
2808
+ "name": "--psp-label--window-tab--content",
2809
+ "syntax": "<string>",
2810
+ "description": "UI label (intl string)"
2811
+ },
2812
+ {
2813
+ "name": "--psp-label--word-wrap--content",
2814
+ "syntax": "<string>",
2815
+ "description": "UI label (intl string)"
2816
+ },
2817
+ {
2818
+ "name": "--psp-label--year--content",
2819
+ "syntax": "<string>",
2820
+ "description": "UI label (intl string)"
2821
+ },
2822
+ {
2823
+ "name": "--psp-label--zebra-color--content",
2824
+ "syntax": "<string>",
2825
+ "description": "UI label (intl string)"
2826
+ },
2827
+ {
2828
+ "name": "--psp-label--zebra-rows--content",
2829
+ "syntax": "<string>",
2830
+ "description": "UI label (intl string)"
2831
+ },
2832
+ {
2833
+ "name": "--psp-openlayers--attribution--filter",
2834
+ "default": "initial",
2835
+ "description": "Map plugin (OpenLayers)"
2836
+ },
2837
+ {
2838
+ "name": "--psp-openlayers--category-1--color",
2839
+ "syntax": "<color>",
2840
+ "default": "#0366d6",
2841
+ "description": "Map plugin (OpenLayers)"
2842
+ },
2843
+ {
2844
+ "name": "--psp-openlayers--category-10--color",
2845
+ "syntax": "<color>",
2846
+ "default": "#17becf",
2847
+ "description": "Map plugin (OpenLayers)"
2848
+ },
2849
+ {
2850
+ "name": "--psp-openlayers--category-2--color",
2851
+ "syntax": "<color>",
2852
+ "default": "#ff7f0e",
2853
+ "description": "Map plugin (OpenLayers)"
2854
+ },
2855
+ {
2856
+ "name": "--psp-openlayers--category-3--color",
2857
+ "syntax": "<color>",
2858
+ "default": "#2ca02c",
2859
+ "description": "Map plugin (OpenLayers)"
2860
+ },
2861
+ {
2862
+ "name": "--psp-openlayers--category-4--color",
2863
+ "syntax": "<color>",
2864
+ "default": "#d62728",
2865
+ "description": "Map plugin (OpenLayers)"
2866
+ },
2867
+ {
2868
+ "name": "--psp-openlayers--category-5--color",
2869
+ "syntax": "<color>",
2870
+ "default": "#9467bd",
2871
+ "description": "Map plugin (OpenLayers)"
2872
+ },
2873
+ {
2874
+ "name": "--psp-openlayers--category-6--color",
2875
+ "syntax": "<color>",
2876
+ "default": "#8c564b",
2877
+ "description": "Map plugin (OpenLayers)"
2878
+ },
2879
+ {
2880
+ "name": "--psp-openlayers--category-7--color",
2881
+ "syntax": "<color>",
2882
+ "default": "#e377c2",
2883
+ "description": "Map plugin (OpenLayers)"
2884
+ },
2885
+ {
2886
+ "name": "--psp-openlayers--category-8--color",
2887
+ "syntax": "<color>",
2888
+ "default": "#7f7f7f",
2889
+ "description": "Map plugin (OpenLayers)"
2890
+ },
2891
+ {
2892
+ "name": "--psp-openlayers--category-9--color",
2893
+ "syntax": "<color>",
2894
+ "default": "#bcbd22",
2895
+ "description": "Map plugin (OpenLayers)"
2896
+ },
2897
+ {
2898
+ "name": "--psp-openlayers--element--background",
2899
+ "default": "#fff",
2900
+ "description": "Map plugin (OpenLayers)"
2901
+ },
2902
+ {
2903
+ "name": "--psp-openlayers--gradient--background",
2904
+ "default": "linear-gradient( #4d342f 0%, #e4521b 22.5%, #feeb65 42.5%, #f0f0f0 50%, #dcedc8 57.5%, #42b3d5 67.5%, #1a237e 100% )",
2905
+ "description": "Map plugin (OpenLayers)"
2906
+ },
2907
+ {
2908
+ "name": "--psp-openlayers--tile-url",
2909
+ "default": "\"http://{a-c}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png\"",
2910
+ "description": "Map plugin (OpenLayers)"
2911
+ },
2912
+ {
2913
+ "name": "--psp-placeholder--background",
2914
+ "default": "#8b868045",
2915
+ "description": "Viewer chrome"
2916
+ },
2917
+ {
2918
+ "name": "--psp-plugin-name--candlestick--content",
2919
+ "syntax": "<string>",
2920
+ "description": "Plugin display name (intl string)"
2921
+ },
2922
+ {
2923
+ "name": "--psp-plugin-name--datagrid--content",
2924
+ "syntax": "<string>",
2925
+ "description": "Plugin display name (intl string)"
2926
+ },
2927
+ {
2928
+ "name": "--psp-plugin-name--density--content",
2929
+ "syntax": "<string>",
2930
+ "description": "Plugin display name (intl string)"
2931
+ },
2932
+ {
2933
+ "name": "--psp-plugin-name--heatmap--content",
2934
+ "syntax": "<string>",
2935
+ "description": "Plugin display name (intl string)"
2936
+ },
2937
+ {
2938
+ "name": "--psp-plugin-name--map-density--content",
2939
+ "syntax": "<string>",
2940
+ "description": "Plugin display name (intl string)"
2941
+ },
2942
+ {
2943
+ "name": "--psp-plugin-name--map-line--content",
2944
+ "syntax": "<string>",
2945
+ "description": "Plugin display name (intl string)"
2946
+ },
2947
+ {
2948
+ "name": "--psp-plugin-name--map-scatter--content",
2949
+ "syntax": "<string>",
2950
+ "description": "Plugin display name (intl string)"
2951
+ },
2952
+ {
2953
+ "name": "--psp-plugin-name--ohlc--content",
2954
+ "syntax": "<string>",
2955
+ "description": "Plugin display name (intl string)"
2956
+ },
2957
+ {
2958
+ "name": "--psp-plugin-name--sunburst--content",
2959
+ "syntax": "<string>",
2960
+ "description": "Plugin display name (intl string)"
2961
+ },
2962
+ {
2963
+ "name": "--psp-plugin-name--treemap--content",
2964
+ "syntax": "<string>",
2965
+ "description": "Plugin display name (intl string)"
2966
+ },
2967
+ {
2968
+ "name": "--psp-plugin-name--x-bar--content",
2969
+ "syntax": "<string>",
2970
+ "description": "Plugin display name (intl string)"
2971
+ },
2972
+ {
2973
+ "name": "--psp-plugin-name--x-y-line--content",
2974
+ "syntax": "<string>",
2975
+ "description": "Plugin display name (intl string)"
2976
+ },
2977
+ {
2978
+ "name": "--psp-plugin-name--x-y-scatter--content",
2979
+ "syntax": "<string>",
2980
+ "description": "Plugin display name (intl string)"
2981
+ },
2982
+ {
2983
+ "name": "--psp-plugin-name--y-area--content",
2984
+ "syntax": "<string>",
2985
+ "description": "Plugin display name (intl string)"
2986
+ },
2987
+ {
2988
+ "name": "--psp-plugin-name--y-bar--content",
2989
+ "syntax": "<string>",
2990
+ "description": "Plugin display name (intl string)"
2991
+ },
2992
+ {
2993
+ "name": "--psp-plugin-name--y-line--content",
2994
+ "syntax": "<string>",
2995
+ "description": "Plugin display name (intl string)"
2996
+ },
2997
+ {
2998
+ "name": "--psp-plugin-name--y-scatter--content",
2999
+ "syntax": "<string>",
3000
+ "description": "Plugin display name (intl string)"
3001
+ },
3002
+ {
3003
+ "name": "--psp-plugin-selector--candlestick--content",
3004
+ "syntax": "<string>",
3005
+ "description": "Plugin area"
3006
+ },
3007
+ {
3008
+ "name": "--psp-plugin-selector--datagrid--content",
3009
+ "syntax": "<string>",
3010
+ "description": "Plugin area"
3011
+ },
3012
+ {
3013
+ "name": "--psp-plugin-selector--density--content",
3014
+ "syntax": "<string>",
3015
+ "description": "Plugin area"
3016
+ },
3017
+ {
3018
+ "name": "--psp-plugin-selector--heatmap--content",
3019
+ "syntax": "<string>",
3020
+ "description": "Plugin area"
3021
+ },
3022
+ {
3023
+ "name": "--psp-plugin-selector--map-density--content",
3024
+ "syntax": "<string>",
3025
+ "description": "Plugin area"
3026
+ },
3027
+ {
3028
+ "name": "--psp-plugin-selector--map-line--content",
3029
+ "syntax": "<string>",
3030
+ "description": "Plugin area"
3031
+ },
3032
+ {
3033
+ "name": "--psp-plugin-selector--map-scatter--content",
3034
+ "syntax": "<string>",
3035
+ "description": "Plugin area"
3036
+ },
3037
+ {
3038
+ "name": "--psp-plugin-selector--ohlc--content",
3039
+ "syntax": "<string>",
3040
+ "description": "Plugin area"
3041
+ },
3042
+ {
3043
+ "name": "--psp-plugin-selector--sunburst--content",
3044
+ "syntax": "<string>",
3045
+ "description": "Plugin area"
3046
+ },
3047
+ {
3048
+ "name": "--psp-plugin-selector--treemap--content",
3049
+ "syntax": "<string>",
3050
+ "description": "Plugin area"
3051
+ },
3052
+ {
3053
+ "name": "--psp-plugin-selector--x-bar--content",
3054
+ "syntax": "<string>",
3055
+ "description": "Plugin area"
3056
+ },
3057
+ {
3058
+ "name": "--psp-plugin-selector--x-y-line--content",
3059
+ "syntax": "<string>",
3060
+ "description": "Plugin area"
3061
+ },
3062
+ {
3063
+ "name": "--psp-plugin-selector--x-y-scatter--content",
3064
+ "syntax": "<string>",
3065
+ "description": "Plugin area"
3066
+ },
3067
+ {
3068
+ "name": "--psp-plugin-selector--y-area--content",
3069
+ "syntax": "<string>",
3070
+ "description": "Plugin area"
3071
+ },
3072
+ {
3073
+ "name": "--psp-plugin-selector--y-bar--content",
3074
+ "syntax": "<string>",
3075
+ "description": "Plugin area"
3076
+ },
3077
+ {
3078
+ "name": "--psp-plugin-selector--y-line--content",
3079
+ "syntax": "<string>",
3080
+ "description": "Plugin area"
3081
+ },
3082
+ {
3083
+ "name": "--psp-plugin-selector--y-scatter--content",
3084
+ "syntax": "<string>",
3085
+ "description": "Plugin area"
3086
+ },
3087
+ {
3088
+ "name": "--psp-select--background-color",
3089
+ "syntax": "<color>",
3090
+ "default": "none",
3091
+ "description": "Viewer chrome"
3092
+ },
3093
+ {
3094
+ "name": "--psp-select--padding",
3095
+ "default": "0px",
3096
+ "description": "Viewer chrome"
3097
+ },
3098
+ {
3099
+ "name": "--psp-sidebar--background",
3100
+ "description": "Viewer chrome"
3101
+ },
3102
+ {
3103
+ "name": "--psp-status-icon--connected--color",
3104
+ "syntax": "<color>",
3105
+ "default": "initial",
3106
+ "description": "Status bar"
3107
+ },
3108
+ {
3109
+ "name": "--psp-status-icon--initializing--color",
3110
+ "syntax": "<color>",
3111
+ "default": "initial",
3112
+ "description": "Status bar"
3113
+ },
3114
+ {
3115
+ "name": "--psp-status-icon--keyframes-end--transform",
3116
+ "description": "Status bar"
3117
+ },
3118
+ {
3119
+ "name": "--psp-status-icon--keyframes-start--transform",
3120
+ "description": "Status bar"
3121
+ },
3122
+ {
3123
+ "name": "--psp-status-icon--psp-error--color",
3124
+ "syntax": "<color>",
3125
+ "default": "initial",
3126
+ "description": "Status bar"
3127
+ },
3128
+ {
3129
+ "name": "--psp-status-icon--updating-keyframes-end--filter",
3130
+ "description": "Status bar"
3131
+ },
3132
+ {
3133
+ "name": "--psp-status-icon--updating-keyframes-end--transform",
3134
+ "description": "Status bar"
3135
+ },
3136
+ {
3137
+ "name": "--psp-status-icon--updating-keyframes-start--filter",
3138
+ "description": "Status bar"
3139
+ },
3140
+ {
3141
+ "name": "--psp-status-icon--updating-keyframes-start--transform",
3142
+ "description": "Status bar"
3143
+ },
3144
+ {
3145
+ "name": "--psp-theme-name",
3146
+ "syntax": "<string>",
3147
+ "default": "\"Pro Light\"",
3148
+ "description": "Theme name"
3149
+ },
3150
+ {
3151
+ "name": "--psp-toolbar-edit-mode-edit--content",
3152
+ "syntax": "<string>",
3153
+ "description": "Viewer chrome"
3154
+ },
3155
+ {
3156
+ "name": "--psp-toolbar-edit-mode-read-only--content",
3157
+ "syntax": "<string>",
3158
+ "description": "Viewer chrome"
3159
+ },
3160
+ {
3161
+ "name": "--psp-toolbar-edit-mode-select-column--content",
3162
+ "syntax": "<string>",
3163
+ "description": "Viewer chrome"
3164
+ },
3165
+ {
3166
+ "name": "--psp-toolbar-edit-mode-select-region--content",
3167
+ "syntax": "<string>",
3168
+ "description": "Viewer chrome"
3169
+ },
3170
+ {
3171
+ "name": "--psp-toolbar-edit-mode-select-row--content",
3172
+ "syntax": "<string>",
3173
+ "description": "Viewer chrome"
3174
+ },
3175
+ {
3176
+ "name": "--psp-toolbar-edit-mode-select-row-tree--content",
3177
+ "syntax": "<string>",
3178
+ "description": "Viewer chrome"
3179
+ },
3180
+ {
3181
+ "name": "--psp-toolbar-scroll-lock--content",
3182
+ "syntax": "<string>",
3183
+ "description": "Viewer chrome"
3184
+ },
3185
+ {
3186
+ "name": "--psp-toolbar-scroll-lock-active--content",
3187
+ "syntax": "<string>",
3188
+ "description": "Viewer chrome"
3189
+ },
3190
+ {
3191
+ "name": "--psp-top-panel-row--display",
3192
+ "default": "inline-flex",
3193
+ "description": "Viewer chrome"
3194
+ },
3195
+ {
3196
+ "name": "--psp-warning--background",
3197
+ "default": "#042121",
3198
+ "description": "Viewer chrome"
3199
+ },
3200
+ {
3201
+ "name": "--psp-warning--color",
3202
+ "syntax": "<color>",
3203
+ "default": "#fdfffd",
3204
+ "description": "Viewer chrome"
3205
+ }
3206
+ ]
3207
+ },
3208
+ {
3209
+ "kind": "class",
3210
+ "name": "PerspectiveDebugPluginElement",
3211
+ "description": "The `<perspective-viewer-plugin>` element.\n\nThe default perspective plugin which is registered and activated\nautomcatically when a `<perspective-viewer>` is loaded without plugins.\nWhile you will not typically instantiate this class directly, it is simple\nenough to function as a good \"default\" plugin implementation which can be\nextended to create custom plugins.\n\n# Example\n```javascript\nclass MyPlugin extends customElements.get(\"perspective-viewer-plugin\") {\n // Custom plugin overrides\n}\n```",
3212
+ "members": [
3213
+ {
3214
+ "kind": "method",
3215
+ "name": "clear",
3216
+ "privacy": "public",
3217
+ "return": {
3218
+ "type": {
3219
+ "text": "Promise<any>"
3220
+ }
3221
+ }
3222
+ },
3223
+ {
3224
+ "kind": "method",
3225
+ "name": "delete",
3226
+ "privacy": "public",
3227
+ "return": {
3228
+ "type": {
3229
+ "text": "Promise<any>"
3230
+ }
3231
+ }
3232
+ },
3233
+ {
3234
+ "kind": "method",
3235
+ "name": "draw",
3236
+ "privacy": "public",
3237
+ "description": "# Notes\n\nWhen you pass a `wasm_bindgen` wrapped type _into_ Rust, it acts like a\nmove. Ergo, if you replace the `&` in the `view` argument, the JS copy\nof the `View` will be invalid",
3238
+ "parameters": [
3239
+ {
3240
+ "name": "view",
3241
+ "type": {
3242
+ "text": "View",
3243
+ "references": [
3244
+ {
3245
+ "name": "View",
3246
+ "package": "@perspective-dev/client",
3247
+ "start": 0,
3248
+ "end": 4
3249
+ }
3250
+ ]
3251
+ }
3252
+ }
3253
+ ],
3254
+ "return": {
3255
+ "type": {
3256
+ "text": "Promise<any>"
3257
+ }
3258
+ }
3259
+ },
3260
+ {
3261
+ "kind": "method",
3262
+ "name": "resize",
3263
+ "privacy": "public",
3264
+ "return": {
3265
+ "type": {
3266
+ "text": "Promise<any>"
3267
+ }
3268
+ }
3269
+ },
3270
+ {
3271
+ "kind": "method",
3272
+ "name": "restore",
3273
+ "privacy": "public",
3274
+ "parameters": [
3275
+ {
3276
+ "name": "_config",
3277
+ "optional": true,
3278
+ "type": {
3279
+ "text": "any | null"
3280
+ }
3281
+ }
3282
+ ],
3283
+ "return": {
3284
+ "type": {
3285
+ "text": "void"
3286
+ }
3287
+ }
3288
+ },
3289
+ {
3290
+ "kind": "method",
3291
+ "name": "restyle",
3292
+ "privacy": "public",
3293
+ "return": {
3294
+ "type": {
3295
+ "text": "void"
3296
+ }
3297
+ }
3298
+ },
3299
+ {
3300
+ "kind": "method",
3301
+ "name": "save",
3302
+ "privacy": "public",
3303
+ "return": {
3304
+ "type": {
3305
+ "text": "any"
3306
+ }
3307
+ }
3308
+ },
3309
+ {
3310
+ "kind": "method",
3311
+ "name": "update",
3312
+ "privacy": "public",
3313
+ "description": "Delegates to `draw()` VIRTUALLY — through the JS element's `draw`\nproperty, never `self.draw(view)` (Rust static dispatch).",
3314
+ "parameters": [
3315
+ {
3316
+ "name": "view",
3317
+ "type": {
3318
+ "text": "View",
3319
+ "references": [
3320
+ {
3321
+ "name": "View",
3322
+ "package": "@perspective-dev/client",
3323
+ "start": 0,
3324
+ "end": 4
3325
+ }
3326
+ ]
3327
+ }
3328
+ }
3329
+ ],
3330
+ "return": {
3331
+ "type": {
3332
+ "text": "Promise<any>"
3333
+ }
3334
+ }
3335
+ },
3336
+ {
3337
+ "kind": "field",
3338
+ "name": "config_column_names",
3339
+ "privacy": "public",
3340
+ "type": {
3341
+ "text": "any"
3342
+ },
3343
+ "readonly": true
3344
+ },
3345
+ {
3346
+ "kind": "field",
3347
+ "name": "min_config_columns",
3348
+ "privacy": "public",
3349
+ "type": {
3350
+ "text": "any"
3351
+ },
3352
+ "readonly": true
3353
+ },
3354
+ {
3355
+ "kind": "field",
3356
+ "name": "name",
3357
+ "privacy": "public",
3358
+ "type": {
3359
+ "text": "string"
3360
+ },
3361
+ "readonly": true
3362
+ },
3363
+ {
3364
+ "kind": "field",
3365
+ "name": "select_mode",
3366
+ "privacy": "public",
3367
+ "type": {
3368
+ "text": "string"
3369
+ },
3370
+ "readonly": true
3371
+ }
3372
+ ],
3373
+ "tagName": "perspective-viewer-plugin",
3374
+ "customElement": true,
3375
+ "superclass": {
3376
+ "name": "HTMLElement"
3377
+ }
3378
+ },
3379
+ {
3380
+ "kind": "class",
3381
+ "name": "HTMLPerspectiveViewerPluginElement",
3382
+ "description": "The `<perspective-viewer-plugin>` element, the default perspective plugin\nwhich is registered and activated automcatically when a\n`<perspective-viewer>` is loaded without plugins. While you will not\ntypically instantiate this class directly, it is simple enough to function\nas a good \"default\" plugin implementation which can be extended to create\ncustom plugins.\n\n```javascript\nclass MyPlugin extends customElements.get(\"perspective-viewer-plugin\") {\n // Custom plugin overrides\n}\n```",
3383
+ "superclass": {
3384
+ "name": "HTMLElement"
3385
+ },
3386
+ "members": [
3387
+ {
3388
+ "kind": "method",
3389
+ "name": "get_static_config",
3390
+ "privacy": "public",
3391
+ "return": {
3392
+ "type": {
3393
+ "text": "PluginStaticConfig",
3394
+ "references": [
3395
+ {
3396
+ "name": "PluginStaticConfig",
3397
+ "package": "@perspective-dev/viewer",
3398
+ "start": 0,
3399
+ "end": 18
3400
+ }
3401
+ ]
3402
+ }
3403
+ }
3404
+ },
3405
+ {
3406
+ "kind": "method",
3407
+ "name": "column_style_config",
3408
+ "privacy": "public",
3409
+ "return": {
3410
+ "type": {
3411
+ "text": "any"
3412
+ }
3413
+ }
3414
+ },
3415
+ {
3416
+ "kind": "method",
3417
+ "name": "update",
3418
+ "privacy": "public",
3419
+ "parameters": [
3420
+ {
3421
+ "name": "view",
3422
+ "type": {
3423
+ "text": "View",
3424
+ "references": [
3425
+ {
3426
+ "name": "View",
3427
+ "package": "@perspective-dev/client",
3428
+ "start": 0,
3429
+ "end": 4
3430
+ }
3431
+ ]
3432
+ }
3433
+ }
3434
+ ],
3435
+ "return": {
3436
+ "type": {
3437
+ "text": "Promise<void>"
3438
+ }
3439
+ }
3440
+ },
3441
+ {
3442
+ "kind": "method",
3443
+ "name": "draw",
3444
+ "privacy": "public",
3445
+ "parameters": [
3446
+ {
3447
+ "name": "view",
3448
+ "type": {
3449
+ "text": "View",
3450
+ "references": [
3451
+ {
3452
+ "name": "View",
3453
+ "package": "@perspective-dev/client",
3454
+ "start": 0,
3455
+ "end": 4
3456
+ }
3457
+ ]
3458
+ }
3459
+ }
3460
+ ],
3461
+ "return": {
3462
+ "type": {
3463
+ "text": "Promise<void>"
3464
+ }
3465
+ }
3466
+ },
3467
+ {
3468
+ "kind": "method",
3469
+ "name": "clear",
3470
+ "privacy": "public",
3471
+ "return": {
3472
+ "type": {
3473
+ "text": "Promise<void>"
3474
+ }
3475
+ }
3476
+ },
3477
+ {
3478
+ "kind": "method",
3479
+ "name": "resize",
3480
+ "privacy": "public",
3481
+ "parameters": [
3482
+ {
3483
+ "name": "view",
3484
+ "type": {
3485
+ "text": "View",
3486
+ "references": [
3487
+ {
3488
+ "name": "View",
3489
+ "package": "@perspective-dev/client",
3490
+ "start": 0,
3491
+ "end": 4
3492
+ }
3493
+ ]
3494
+ }
3495
+ }
3496
+ ],
3497
+ "return": {
3498
+ "type": {
3499
+ "text": "Promise<void>"
3500
+ }
3501
+ }
3502
+ },
3503
+ {
3504
+ "kind": "method",
3505
+ "name": "restyle",
3506
+ "privacy": "public",
3507
+ "return": {
3508
+ "type": {
3509
+ "text": "void"
3510
+ }
3511
+ }
3512
+ },
3513
+ {
3514
+ "kind": "method",
3515
+ "name": "restore",
3516
+ "privacy": "public",
3517
+ "return": {
3518
+ "type": {
3519
+ "text": "void"
3520
+ }
3521
+ }
3522
+ },
3523
+ {
3524
+ "kind": "method",
3525
+ "name": "delete",
3526
+ "privacy": "public",
3527
+ "return": {
3528
+ "type": {
3529
+ "text": "Promise<void>"
3530
+ }
3531
+ }
3532
+ },
3533
+ {
3534
+ "kind": "field",
3535
+ "name": "supports_streaming",
3536
+ "privacy": "public",
3537
+ "type": {
3538
+ "text": "boolean"
3539
+ },
3540
+ "readonly": true
3541
+ }
3542
+ ]
3543
+ },
3544
+ {
3545
+ "kind": "variable",
3546
+ "name": "providers",
3547
+ "type": {
3548
+ "text": "{ readonly anthropic: { readonly name: \"anthropic\"; readonly url: \"https://api.anthropic.com/v1/chat/completions\"; readonly headers: { readonly \"anthropic-dangerous-direct-browser-access\": \"true\"; }; readonly model: \"claude-opus-5\"; }; readonly gemini: { readonly name: \"gemini\"; readonly url: \"https://generativelanguage.googleapis.com/v1beta/openai/chat/completions\"; readonly model: \"gemini-2.5-flash\"; }; readonly lmstudio: { readonly name: \"lmstudio\"; readonly url: \"http://localhost:1234/v1/chat/completions\"; }; readonly ollama: { readonly name: \"ollama\"; readonly url: \"http://localhost:11434/v1/chat/completions\"; }; readonly openrouter: { readonly name: \"openrouter\"; readonly url: \"https://openrouter.ai/api/v1/chat/completions\"; }; readonly openai: { readonly name: \"openai\"; readonly url: \"https://api.openai.com/v1/chat/completions\"; readonly model: \"gpt-5.2\"; }; }"
3549
+ }
3550
+ },
3551
+ {
3552
+ "kind": "function",
3553
+ "name": "createNumberFormatter",
3554
+ "description": "`defaults` is the calling plugin's declared default format, filling in\nthe fields `cfg` leaves unset.",
3555
+ "parameters": [
3556
+ {
3557
+ "name": "type",
3558
+ "type": {
3559
+ "text": "string"
3560
+ }
3561
+ },
3562
+ {
3563
+ "name": "cfg",
3564
+ "optional": true,
3565
+ "type": {
3566
+ "text": "NumberFormatConfig"
3567
+ }
3568
+ },
3569
+ {
3570
+ "name": "defaults",
3571
+ "optional": true,
3572
+ "type": {
3573
+ "text": "NumberFormatConfig"
3574
+ }
3575
+ }
3576
+ ],
3577
+ "return": {
3578
+ "type": {
3579
+ "text": "Intl.NumberFormat"
3580
+ }
3581
+ }
3582
+ },
3583
+ {
3584
+ "kind": "function",
3585
+ "name": "createDatetimeFormatter",
3586
+ "description": "`defaults` is the calling plugin's declared default `date_format`, which\n`cfg` overrides by the `date_format` group rule.",
3587
+ "parameters": [
3588
+ {
3589
+ "name": "cfg",
3590
+ "optional": true,
3591
+ "type": {
3592
+ "text": "DateFormatConfig"
3593
+ }
3594
+ },
3595
+ {
3596
+ "name": "defaults",
3597
+ "optional": true,
3598
+ "type": {
3599
+ "text": "DateFormatConfig"
3600
+ }
3601
+ }
3602
+ ],
3603
+ "return": {
3604
+ "type": {
3605
+ "text": "Intl.DateTimeFormat"
3606
+ }
3607
+ }
3608
+ },
3609
+ {
3610
+ "kind": "function",
3611
+ "name": "createDateFormatter",
3612
+ "description": "`defaults` follows the same contract as [`createDatetimeFormatter`];\nonly `dateStyle` applies, in UTC.",
3613
+ "parameters": [
3614
+ {
3615
+ "name": "cfg",
3616
+ "optional": true,
3617
+ "type": {
3618
+ "text": "DateFormatConfig"
3619
+ }
3620
+ },
3621
+ {
3622
+ "name": "defaults",
3623
+ "optional": true,
3624
+ "type": {
3625
+ "text": "DateFormatConfig"
3626
+ }
3627
+ }
3628
+ ],
3629
+ "return": {
3630
+ "type": {
3631
+ "text": "Intl.DateTimeFormat"
3632
+ }
3633
+ }
3634
+ },
3635
+ {
3636
+ "kind": "function",
3637
+ "name": "sourceColumn",
3638
+ "description": "Recover the source column name from a synthetic split-by path. Split\npivoting produces paths of the form `<split_val_1>|...|<source_col>`;\nper-column config (formatters, aggregate styling, …) is always keyed\non the trailing source column.",
3639
+ "parameters": [
3640
+ {
3641
+ "name": "path",
3642
+ "type": {
3643
+ "text": "string"
3644
+ }
3645
+ }
3646
+ ],
3647
+ "return": {
3648
+ "type": {
3649
+ "text": "string"
3650
+ }
3651
+ }
3652
+ },
3653
+ {
3654
+ "kind": "class",
3655
+ "name": "PerspectiveSelectDetail",
3656
+ "description": "The `detail` of a `perspective-global-filter` event.",
3657
+ "members": [
3658
+ {
3659
+ "kind": "field",
3660
+ "name": "selected",
3661
+ "privacy": "public",
3662
+ "type": {
3663
+ "text": "boolean"
3664
+ }
3665
+ },
3666
+ {
3667
+ "kind": "field",
3668
+ "name": "row",
3669
+ "privacy": "public",
3670
+ "type": {
3671
+ "text": "Record<string, unknown>"
3672
+ }
3673
+ },
3674
+ {
3675
+ "kind": "field",
3676
+ "name": "column_names",
3677
+ "privacy": "public",
3678
+ "type": {
3679
+ "text": "string[]"
3680
+ }
3681
+ },
3682
+ {
3683
+ "kind": "field",
3684
+ "name": "removeConfigs",
3685
+ "privacy": "public",
3686
+ "type": {
3687
+ "text": "ViewConfigUpdate[]",
3688
+ "references": [
3689
+ {
3690
+ "name": "ViewConfigUpdate",
3691
+ "package": "@perspective-dev/client",
3692
+ "start": 0,
3693
+ "end": 16
3694
+ }
3695
+ ]
3696
+ }
3697
+ },
3698
+ {
3699
+ "kind": "field",
3700
+ "name": "insertConfigs",
3701
+ "privacy": "public",
3702
+ "type": {
3703
+ "text": "ViewConfigUpdate[]",
3704
+ "references": [
3705
+ {
3706
+ "name": "ViewConfigUpdate",
3707
+ "package": "@perspective-dev/client",
3708
+ "start": 0,
3709
+ "end": 16
3710
+ }
3711
+ ]
3712
+ }
3713
+ },
3714
+ {
3715
+ "kind": "field",
3716
+ "name": "panel",
3717
+ "privacy": "public",
3718
+ "type": {
3719
+ "text": "string"
3720
+ }
3721
+ },
3722
+ {
3723
+ "kind": "field",
3724
+ "name": "removeFilters",
3725
+ "privacy": "public",
3726
+ "type": {
3727
+ "text": "Filter[]",
3728
+ "references": [
3729
+ {
3730
+ "name": "Filter",
3731
+ "package": "@perspective-dev/viewer",
3732
+ "start": 0,
3733
+ "end": 6
3734
+ }
3735
+ ]
3736
+ },
3737
+ "readonly": true
3738
+ },
3739
+ {
3740
+ "kind": "field",
3741
+ "name": "insertFilters",
3742
+ "privacy": "public",
3743
+ "type": {
3744
+ "text": "Filter[]",
3745
+ "references": [
3746
+ {
3747
+ "name": "Filter",
3748
+ "package": "@perspective-dev/viewer",
3749
+ "start": 0,
3750
+ "end": 6
3751
+ }
3752
+ ]
3753
+ },
3754
+ "readonly": true
3755
+ }
3756
+ ]
3757
+ },
3758
+ {
3759
+ "kind": "function",
3760
+ "name": "init",
3761
+ "description": "Register Perspective's WebAssembly binaries for this page; the same function\nas `@perspective-dev/client`'s `init()`.",
3762
+ "parameters": [
3763
+ {
3764
+ "name": "wasm",
3765
+ "type": {
3766
+ "text": "WasmRegistration"
3767
+ }
3768
+ },
3769
+ {
3770
+ "name": "options",
3771
+ "optional": true,
3772
+ "type": {
3773
+ "text": "InitOptions"
3774
+ }
3775
+ }
3776
+ ],
3777
+ "return": {
3778
+ "type": {
3779
+ "text": "Promise<void>"
3780
+ }
3781
+ }
3782
+ },
3783
+ {
3784
+ "kind": "function",
3785
+ "name": "init_client",
3786
+ "description": "Initialize `<perspective-viewer>` from its WebAssembly binary, and register\nthe `perspective-migrate` binary which `migrate()` downloads on first use;\na wrapper over `init()`'s `viewer` and `migrate` roles.\n\n# Examples\n\n```javascript\nawait init_client({\n viewer: () => fetch(\"perspective-viewer.wasm\"),\n migrate: () => fetch(\"perspective-migrate.wasm\"),\n});\n```",
3787
+ "parameters": [
3788
+ {
3789
+ "name": "wasm",
3790
+ "type": {
3791
+ "text": "ViewerWasmSource | ViewerWasmRegistration"
3792
+ }
3793
+ },
3794
+ {
3795
+ "name": "wasm_module",
3796
+ "optional": true,
3797
+ "type": {
3798
+ "text": "typeof wasm_module_type"
3799
+ }
3800
+ }
3801
+ ],
3802
+ "return": {
3803
+ "type": {
3804
+ "text": "Promise<void>"
3805
+ }
3806
+ }
3807
+ },
3808
+ {
3809
+ "kind": "function",
3810
+ "name": "migrate",
3811
+ "description": "Upgrade a persisted config written by any Perspective release since 2.0.0\nto the current schema, using the `migrate` binary registered with `init()`.\n\n# Arguments\n\n- `kind` - `\"view\"` for a `ViewConfig`, `\"viewer\"` for a `save()` token, or\n `\"workspace\"` for a `saveWorkspace()` token.\n- `config` - The config to upgrade.\n- `from_version` - The release which wrote `config`, used only when it has\n no `version` field.",
3812
+ "parameters": [
3813
+ {
3814
+ "name": "kind",
3815
+ "type": {
3816
+ "text": "MigrateKind"
3817
+ }
3818
+ },
3819
+ {
3820
+ "name": "config",
3821
+ "type": {
3822
+ "text": "unknown"
3823
+ }
3824
+ },
3825
+ {
3826
+ "name": "from_version",
3827
+ "optional": true,
3828
+ "type": {
3829
+ "text": "string"
3830
+ }
3831
+ }
3832
+ ],
3833
+ "return": {
3834
+ "type": {
3835
+ "text": "Promise<MigrateResult<T>>"
3836
+ }
3837
+ }
3838
+ },
3839
+ {
3840
+ "kind": "variable",
3841
+ "name": "default",
3842
+ "type": {
3843
+ "text": "{ init: typeof init; init_client: typeof init_client; migrate: typeof migrate }"
3844
+ }
3845
+ }
3846
+ ],
3847
+ "exports": [
3848
+ {
3849
+ "kind": "custom-element-definition",
3850
+ "name": "perspective-viewer",
3851
+ "declaration": {
3852
+ "name": "PerspectiveViewerElement",
3853
+ "module": "dist/esm/perspective-viewer.js"
3854
+ }
3855
+ },
3856
+ {
3857
+ "kind": "custom-element-definition",
3858
+ "name": "perspective-viewer-plugin",
3859
+ "declaration": {
3860
+ "name": "PerspectiveDebugPluginElement",
3861
+ "module": "dist/esm/perspective-viewer.js"
3862
+ }
3863
+ },
3864
+ {
3865
+ "kind": "js",
3866
+ "name": "HTMLPerspectiveViewerPluginElement",
3867
+ "declaration": {
3868
+ "name": "HTMLPerspectiveViewerPluginElement",
3869
+ "module": "dist/esm/perspective-viewer.js"
3870
+ }
3871
+ },
3872
+ {
3873
+ "kind": "js",
3874
+ "name": "providers",
3875
+ "declaration": {
3876
+ "name": "providers",
3877
+ "module": "dist/esm/perspective-viewer.js"
3878
+ }
3879
+ },
3880
+ {
3881
+ "kind": "js",
3882
+ "name": "createNumberFormatter",
3883
+ "declaration": {
3884
+ "name": "createNumberFormatter",
3885
+ "module": "dist/esm/perspective-viewer.js"
3886
+ }
3887
+ },
3888
+ {
3889
+ "kind": "js",
3890
+ "name": "createDatetimeFormatter",
3891
+ "declaration": {
3892
+ "name": "createDatetimeFormatter",
3893
+ "module": "dist/esm/perspective-viewer.js"
3894
+ }
3895
+ },
3896
+ {
3897
+ "kind": "js",
3898
+ "name": "createDateFormatter",
3899
+ "declaration": {
3900
+ "name": "createDateFormatter",
3901
+ "module": "dist/esm/perspective-viewer.js"
3902
+ }
3903
+ },
3904
+ {
3905
+ "kind": "js",
3906
+ "name": "sourceColumn",
3907
+ "declaration": {
3908
+ "name": "sourceColumn",
3909
+ "module": "dist/esm/perspective-viewer.js"
3910
+ }
3911
+ },
3912
+ {
3913
+ "kind": "js",
3914
+ "name": "PerspectiveSelectDetail",
3915
+ "declaration": {
3916
+ "name": "PerspectiveSelectDetail",
3917
+ "module": "dist/esm/perspective-viewer.js"
3918
+ }
3919
+ },
3920
+ {
3921
+ "kind": "js",
3922
+ "name": "init",
3923
+ "declaration": {
3924
+ "name": "init",
3925
+ "module": "dist/esm/perspective-viewer.js"
3926
+ }
3927
+ },
3928
+ {
3929
+ "kind": "js",
3930
+ "name": "init_client",
3931
+ "declaration": {
3932
+ "name": "init_client",
3933
+ "module": "dist/esm/perspective-viewer.js"
3934
+ }
3935
+ },
3936
+ {
3937
+ "kind": "js",
3938
+ "name": "migrate",
3939
+ "declaration": {
3940
+ "name": "migrate",
3941
+ "module": "dist/esm/perspective-viewer.js"
3942
+ }
3943
+ },
3944
+ {
3945
+ "kind": "js",
3946
+ "name": "default",
3947
+ "declaration": {
3948
+ "name": "default",
3949
+ "module": "dist/esm/perspective-viewer.js"
3950
+ }
3951
+ }
3952
+ ]
3953
+ }
3954
+ ]
3955
+ }