@perspective-dev/viewer 4.3.0 → 4.4.1

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 (243) hide show
  1. package/dist/cdn/perspective-viewer.js +2 -2
  2. package/dist/cdn/perspective-viewer.js.map +4 -4
  3. package/dist/css/botanical.css +1 -1
  4. package/dist/css/dracula.css +1 -1
  5. package/dist/css/gruvbox-dark.css +1 -1
  6. package/dist/css/gruvbox.css +1 -1
  7. package/dist/css/icons.css +1 -1
  8. package/dist/css/intl/de.css +1 -1
  9. package/dist/css/intl/es.css +1 -1
  10. package/dist/css/intl/fr.css +1 -1
  11. package/dist/css/intl/ja.css +1 -1
  12. package/dist/css/intl/pt.css +1 -1
  13. package/dist/css/intl/zh.css +1 -1
  14. package/dist/css/intl.css +1 -1
  15. package/dist/css/monokai.css +1 -1
  16. package/dist/css/phosphor.css +1 -0
  17. package/dist/css/pro-dark.css +1 -1
  18. package/dist/css/pro.css +1 -1
  19. package/dist/css/solarized-dark.css +1 -1
  20. package/dist/css/solarized.css +1 -1
  21. package/dist/css/themes.css +1 -1
  22. package/dist/css/vaporwave.css +1 -1
  23. package/dist/esm/extensions.d.ts +4 -0
  24. package/dist/esm/perspective-viewer.d.ts +1 -0
  25. package/dist/esm/perspective-viewer.inline.js +2 -2
  26. package/dist/esm/perspective-viewer.inline.js.map +4 -4
  27. package/dist/esm/perspective-viewer.js +2 -2
  28. package/dist/esm/perspective-viewer.js.map +4 -4
  29. package/dist/esm/plugin.d.ts +9 -9
  30. package/dist/esm/ts-rs/NumberForegroundMode.d.ts +1 -1
  31. package/dist/esm/ts-rs/ViewerConfig.d.ts +36 -0
  32. package/dist/wasm/perspective-viewer.d.ts +68 -59
  33. package/dist/wasm/perspective-viewer.js +216 -171
  34. package/dist/wasm/perspective-viewer.wasm +0 -0
  35. package/dist/wasm/perspective-viewer.wasm.d.ts +19 -20
  36. package/package.json +7 -5
  37. package/src/{less/aggregate-selector.less → css/aggregate-selector.css} +23 -20
  38. package/src/css/column-dropdown.css +109 -0
  39. package/src/{less/column-selector.less → css/column-selector.css} +160 -158
  40. package/src/{less/column-settings-panel.less → css/column-settings-panel.css} +70 -59
  41. package/src/{less/column-style.less → css/column-style.css} +52 -66
  42. package/src/{less/column-symbol-attributes.less → css/column-symbol-attributes.css} +15 -14
  43. package/src/{less/config-selector.less → css/config-selector.css} +151 -135
  44. package/src/{less/containers/dropdown-menu.less → css/containers/dropdown-menu.css} +20 -19
  45. package/src/{less/containers/pairs-list.less → css/containers/pairs-list.css} +13 -12
  46. package/src/{themes/variables.less → css/containers/scroll-panel.css} +25 -22
  47. package/src/{less/containers/split-panel.less → css/containers/split-panel.css} +15 -14
  48. package/src/{less/containers/tabs.less → css/containers/tabs.css} +17 -19
  49. package/src/css/dom/checkbox.css +102 -0
  50. package/src/css/dom/scrollbar.css +35 -0
  51. package/src/{less/dom/select.less → css/dom/select.css} +17 -18
  52. package/src/{less/empty-column.less → css/empty-column.css} +19 -18
  53. package/src/{less/expression-editor.less → css/expression-editor.css} +19 -18
  54. package/src/{less/filter-dropdown.less → css/filter-dropdown.css} +12 -11
  55. package/src/{less/filter-item.less → css/filter-item.css} +16 -15
  56. package/src/{less/form/code-editor.less → css/form/code-editor.css} +26 -30
  57. package/src/{less/form/debug.less → css/form/debug.css} +19 -18
  58. package/src/{less/function-dropdown.less → css/function-dropdown.css} +12 -11
  59. package/src/css/plugin-selector.css +261 -0
  60. package/src/{less/render-warning.less → css/render-warning.css} +18 -17
  61. package/src/{less/status-bar.less → css/status-bar.css} +157 -145
  62. package/src/css/type-icon.css +116 -0
  63. package/src/{less/viewer.less → css/viewer.css} +112 -146
  64. package/src/rust/components/column_dropdown.rs +229 -119
  65. package/src/rust/components/column_selector/active_column.rs +81 -62
  66. package/src/rust/components/column_selector/add_expression_button.rs +1 -0
  67. package/src/rust/components/column_selector/aggregate_selector.rs +25 -15
  68. package/src/rust/components/column_selector/config_selector.rs +315 -199
  69. package/src/rust/components/column_selector/empty_column.rs +2 -2
  70. package/src/rust/components/column_selector/expr_edit_button.rs +8 -2
  71. package/src/rust/components/column_selector/filter_column.rs +37 -26
  72. package/src/rust/components/column_selector/inactive_column.rs +41 -29
  73. package/src/rust/components/column_selector/invalid_column.rs +7 -18
  74. package/src/rust/components/column_selector/pivot_column.rs +11 -5
  75. package/src/rust/components/column_selector/sort_column.rs +23 -13
  76. package/src/rust/components/column_selector.rs +163 -84
  77. package/src/rust/components/column_settings_sidebar/style_tab/symbol/row_selector.rs +1 -1
  78. package/src/rust/components/column_settings_sidebar/style_tab/symbol/symbol_pairs.rs +3 -2
  79. package/src/rust/components/column_settings_sidebar/style_tab/symbol/symbol_pairs_item.rs +3 -2
  80. package/src/rust/components/column_settings_sidebar/style_tab/symbol/symbol_selector.rs +2 -3
  81. package/src/rust/components/column_settings_sidebar/style_tab/symbol.rs +7 -1
  82. package/src/rust/components/column_settings_sidebar/style_tab.rs +153 -112
  83. package/src/rust/components/column_settings_sidebar.rs +91 -53
  84. package/src/rust/components/containers/dragdrop_list.rs +2 -1
  85. package/src/rust/components/containers/sidebar_close_button.rs +1 -1
  86. package/src/rust/components/containers/split_panel.rs +1 -0
  87. package/src/rust/components/containers/tab_list.rs +1 -1
  88. package/src/rust/components/copy_dropdown.rs +7 -28
  89. package/src/rust/components/datetime_column_style/custom.rs +2 -2
  90. package/src/rust/components/datetime_column_style/simple.rs +2 -2
  91. package/src/rust/components/datetime_column_style.rs +4 -2
  92. package/src/rust/components/editable_header.rs +7 -4
  93. package/src/rust/components/empty_row.rs +1 -1
  94. package/src/rust/components/export_dropdown.rs +4 -30
  95. package/src/rust/components/expression_editor.rs +19 -10
  96. package/src/rust/components/filter_dropdown.rs +246 -102
  97. package/src/rust/components/font_loader.rs +11 -28
  98. package/src/rust/components/form/code_editor.rs +17 -2
  99. package/src/rust/components/form/color_range_selector.rs +19 -6
  100. package/src/rust/components/form/debug.rs +30 -13
  101. package/src/rust/components/function_dropdown.rs +186 -113
  102. package/src/rust/components/main_panel.rs +71 -89
  103. package/src/rust/components/mod.rs +1 -1
  104. package/src/rust/components/modal.rs +7 -1
  105. package/src/rust/components/number_column_style.rs +30 -7
  106. package/src/rust/components/plugin_selector.rs +34 -102
  107. package/src/rust/components/portal.rs +274 -0
  108. package/src/rust/components/render_warning.rs +72 -123
  109. package/src/rust/components/settings_panel.rs +115 -11
  110. package/src/rust/components/status_bar.rs +222 -98
  111. package/src/rust/components/status_bar_counter.rs +8 -20
  112. package/src/rust/components/status_indicator.rs +64 -114
  113. package/src/rust/components/string_column_style.rs +2 -2
  114. package/src/rust/components/style/style_cache.rs +5 -1
  115. package/src/rust/components/viewer.rs +391 -40
  116. package/src/rust/config/number_column_style.rs +5 -1
  117. package/src/rust/config/viewer_config.rs +2 -2
  118. package/src/rust/custom_elements/copy_dropdown.rs +102 -21
  119. package/src/rust/custom_elements/debug_plugin.rs +4 -4
  120. package/src/rust/custom_elements/export_dropdown.rs +102 -20
  121. package/src/rust/custom_elements/mod.rs +0 -7
  122. package/src/rust/custom_elements/modal.rs +7 -103
  123. package/src/rust/custom_elements/viewer.rs +114 -39
  124. package/src/rust/custom_events.rs +23 -2
  125. package/src/rust/dragdrop.rs +149 -10
  126. package/src/{less/containers/scroll-panel.less → rust/engines.rs} +15 -13
  127. package/src/rust/js/plugin.rs +1 -1
  128. package/src/rust/lib.rs +10 -4
  129. package/src/rust/presentation/props.rs +39 -0
  130. package/src/rust/presentation/sheets.rs +3 -3
  131. package/src/rust/presentation.rs +44 -8
  132. package/src/rust/renderer/limits.rs +32 -3
  133. package/src/{less/dom/scrollbar.less → rust/renderer/props.rs} +18 -19
  134. package/src/rust/renderer.rs +93 -14
  135. package/src/rust/session/column_defaults_update.rs +1 -1
  136. package/src/rust/session/metadata.rs +23 -2
  137. package/src/rust/session/props.rs +178 -0
  138. package/src/rust/session.rs +124 -117
  139. package/src/rust/tasks/column_locator.rs +133 -0
  140. package/src/rust/{model → tasks}/columns_iter_set.rs +14 -23
  141. package/src/rust/{model → tasks}/edit_expression.rs +34 -10
  142. package/src/rust/{model → tasks}/eject.rs +2 -2
  143. package/src/rust/{model → tasks}/get_viewer_config.rs +0 -11
  144. package/src/rust/{model → tasks}/intersection_observer.rs +19 -3
  145. package/src/{less/containers/radio-list.less → rust/tasks/is_invalid_drop.rs} +21 -14
  146. package/src/rust/tasks/mod.rs +52 -0
  147. package/src/rust/{model → tasks}/plugin_column_styles.rs +69 -46
  148. package/src/rust/{model → tasks}/resize_observer.rs +39 -6
  149. package/src/rust/{model → tasks}/restore_and_render.rs +4 -3
  150. package/src/rust/{model → tasks}/send_plugin_config.rs +1 -1
  151. package/src/rust/tasks/structural.rs +53 -0
  152. package/src/rust/utils/mod.rs +4 -0
  153. package/src/rust/utils/modal_position.rs +110 -0
  154. package/src/rust/utils/ptr_eq_rc.rs +74 -0
  155. package/src/rust/utils/pubsub.rs +11 -1
  156. package/src/svg/bg-pattern.png +0 -0
  157. package/src/svg/close-icon.svg +1 -1
  158. package/src/svg/datagrid-select-row-tree.svg +13 -0
  159. package/src/svg/expression.svg +1 -1
  160. package/src/svg/mega-menu-icons-candlestick.svg +1 -1
  161. package/src/svg/mega-menu-icons-datagrid.svg +1 -2
  162. package/src/svg/mega-menu-icons-heatmap.svg +1 -1
  163. package/src/svg/mega-menu-icons-map-scatter.svg +1 -1
  164. package/src/svg/mega-menu-icons-ohlc.svg +1 -1
  165. package/src/svg/mega-menu-icons-sunburst.svg +1 -1
  166. package/src/svg/mega-menu-icons-treemap.svg +1 -1
  167. package/src/svg/mega-menu-icons-x-bar.svg +1 -1
  168. package/src/svg/mega-menu-icons-x-y-line.svg +1 -1
  169. package/src/svg/mega-menu-icons-x-y-scatter.svg +1 -1
  170. package/src/svg/mega-menu-icons-y-area.svg +1 -1
  171. package/src/svg/mega-menu-icons-y-bar.svg +1 -1
  172. package/src/svg/mega-menu-icons-y-line.svg +1 -1
  173. package/src/svg/mega-menu-icons-y-scatter.svg +1 -1
  174. package/src/svg/radio-hover.svg +1 -1
  175. package/src/svg/radio-off.svg +1 -1
  176. package/src/svg/radio-on.svg +1 -1
  177. package/src/themes/botanical.css +157 -0
  178. package/src/themes/defaults.css +157 -0
  179. package/src/themes/dracula.css +233 -0
  180. package/src/themes/gruvbox-dark.css +255 -0
  181. package/src/themes/gruvbox.css +134 -0
  182. package/src/themes/icons.css +107 -0
  183. package/src/themes/intl/de.css +102 -0
  184. package/src/themes/intl/es.css +102 -0
  185. package/src/themes/intl/fr.css +102 -0
  186. package/src/themes/intl/ja.css +102 -0
  187. package/src/themes/intl/pt.css +102 -0
  188. package/src/themes/intl/zh.css +102 -0
  189. package/src/themes/intl.css +102 -0
  190. package/src/themes/monokai.css +233 -0
  191. package/src/themes/phosphor.css +184 -0
  192. package/src/themes/pro-dark.css +158 -0
  193. package/src/themes/{themes.less → pro.css} +17 -21
  194. package/src/themes/solarized-dark.css +135 -0
  195. package/src/themes/solarized.css +95 -0
  196. package/src/themes/themes.css +23 -0
  197. package/src/themes/vaporwave.css +256 -0
  198. package/src/ts/extensions.ts +8 -1
  199. package/src/ts/perspective-viewer.ts +1 -0
  200. package/src/ts/plugin.ts +9 -9
  201. package/src/ts/ts-rs/NumberForegroundMode.ts +1 -1
  202. package/src/ts/ts-rs/ViewerConfig.ts +15 -0
  203. package/dist/css/variables.css +0 -0
  204. package/src/less/column-dropdown.less +0 -95
  205. package/src/less/dom/checkbox.less +0 -100
  206. package/src/less/plugin-selector.less +0 -183
  207. package/src/less/type-icon.less +0 -68
  208. package/src/rust/components/error_message.rs +0 -56
  209. package/src/rust/custom_elements/column_dropdown.rs +0 -123
  210. package/src/rust/custom_elements/filter_dropdown.rs +0 -179
  211. package/src/rust/custom_elements/function_dropdown.rs +0 -115
  212. package/src/rust/model/column_locator.rs +0 -82
  213. package/src/rust/model/is_invalid_drop.rs +0 -36
  214. package/src/rust/model/mod.rs +0 -100
  215. package/src/rust/model/reset_all.rs +0 -38
  216. package/src/rust/model/structural.rs +0 -244
  217. package/src/themes/botanical.less +0 -142
  218. package/src/themes/dracula.less +0 -101
  219. package/src/themes/gruvbox-dark.less +0 -116
  220. package/src/themes/gruvbox.less +0 -152
  221. package/src/themes/icons.less +0 -130
  222. package/src/themes/intl/de.less +0 -102
  223. package/src/themes/intl/es.less +0 -102
  224. package/src/themes/intl/fr.less +0 -102
  225. package/src/themes/intl/ja.less +0 -102
  226. package/src/themes/intl/pt.less +0 -102
  227. package/src/themes/intl/zh.less +0 -102
  228. package/src/themes/intl.less +0 -102
  229. package/src/themes/monokai.less +0 -107
  230. package/src/themes/pro-dark.less +0 -147
  231. package/src/themes/pro.less +0 -186
  232. package/src/themes/solarized-dark.less +0 -78
  233. package/src/themes/solarized.less +0 -102
  234. package/src/themes/vaporwave.less +0 -145
  235. /package/dist/wasm/snippets/{perspective-viewer-d729f682ba5c19df → perspective-viewer-d924246f0b4a3dce}/inline0.js +0 -0
  236. /package/dist/wasm/snippets/{perspective-viewer-d729f682ba5c19df → perspective-viewer-d924246f0b4a3dce}/inline1.js +0 -0
  237. /package/dist/wasm/snippets/{perspective-viewer-d729f682ba5c19df → perspective-viewer-d924246f0b4a3dce}/inline2.js +0 -0
  238. /package/dist/wasm/snippets/{perspective-viewer-d729f682ba5c19df → perspective-viewer-d924246f0b4a3dce}/inline3.js +0 -0
  239. /package/dist/wasm/snippets/{perspective-viewer-d729f682ba5c19df → perspective-viewer-d924246f0b4a3dce}/inline4.js +0 -0
  240. /package/src/rust/{model → tasks}/copy_export.rs +0 -0
  241. /package/src/rust/{model → tasks}/export_app.rs +0 -0
  242. /package/src/rust/{model → tasks}/export_method.rs +0 -0
  243. /package/src/rust/{model → tasks}/update_and_render.rs +0 -0
@@ -1,9 +1,9 @@
1
1
  /* @ts-self-types="./perspective-viewer.wasm.d.ts" */
2
- import { ClipboardItem } from './snippets/perspective-viewer-d729f682ba5c19df/inline0.js';
3
- import { ResizeObserver } from './snippets/perspective-viewer-d729f682ba5c19df/inline1.js';
4
- import { IntersectionObserver } from './snippets/perspective-viewer-d729f682ba5c19df/inline2.js';
5
- import { bootstrap } from './snippets/perspective-viewer-d729f682ba5c19df/inline3.js';
6
- import { psp } from './snippets/perspective-viewer-d729f682ba5c19df/inline4.js';
2
+ import { ClipboardItem } from './snippets/perspective-viewer-d924246f0b4a3dce/inline0.js';
3
+ import { ResizeObserver } from './snippets/perspective-viewer-d924246f0b4a3dce/inline1.js';
4
+ import { IntersectionObserver } from './snippets/perspective-viewer-d924246f0b4a3dce/inline2.js';
5
+ import { bootstrap } from './snippets/perspective-viewer-d924246f0b4a3dce/inline3.js';
6
+ import { psp } from './snippets/perspective-viewer-d924246f0b4a3dce/inline4.js';
7
7
 
8
8
  /**
9
9
  * An instance of a [`Client`] is a connection to a single
@@ -115,6 +115,40 @@ export class Client {
115
115
  const ret = wasm.client_handle_response(this.__wbg_ptr, addHeapObject(value));
116
116
  return takeObject(ret);
117
117
  }
118
+ /**
119
+ * Creates a new read-only [`Table`] by performing an INNER JOIN on two
120
+ * source tables. The resulting table is reactive: when either source
121
+ * table is updated, the join is automatically recomputed.
122
+ *
123
+ * # Arguments
124
+ *
125
+ * - `left` - The left source table (a [`Table`] instance or a table name
126
+ * string).
127
+ * - `right` - The right source table (a [`Table`] instance or a table name
128
+ * string).
129
+ * - `on` - The column name to join on. Must exist in both tables with the
130
+ * same type.
131
+ * - `options` - Optional join configuration: `{ join_type?: "inner" |
132
+ * "left" | "outer", name?: string }`.
133
+ *
134
+ * # JavaScript Examples
135
+ *
136
+ * ```javascript
137
+ * const joined = await client.join(orders_table, products_table, "Product ID", { join_type: "left" });
138
+ * const joined = await client.join("orders", "products", "Product ID", { join_type: "left" });
139
+ * ```
140
+ * @param {any} left
141
+ * @param {any} right
142
+ * @param {string} on
143
+ * @param {JoinOptions | null} [options]
144
+ * @returns {Promise<Table>}
145
+ */
146
+ join(left, right, on, options) {
147
+ const ptr0 = passStringToWasm0(on, wasm.__wbindgen_export, wasm.__wbindgen_export2);
148
+ const len0 = WASM_VECTOR_LEN;
149
+ const ret = wasm.client_join(this.__wbg_ptr, addHeapObject(left), addHeapObject(right), ptr0, len0, isLikeNone(options) ? 0 : addHeapObject(options));
150
+ return takeObject(ret);
151
+ }
118
152
  /**
119
153
  * @param {Function} send_request
120
154
  * @param {Function | null} [close]
@@ -324,20 +358,6 @@ export class Client {
324
358
  }
325
359
  if (Symbol.dispose) Client.prototype[Symbol.dispose] = Client.prototype.free;
326
360
 
327
- export class ColumnDropDownElement {
328
- __destroy_into_raw() {
329
- const ptr = this.__wbg_ptr;
330
- this.__wbg_ptr = 0;
331
- ColumnDropDownElementFinalization.unregister(this);
332
- return ptr;
333
- }
334
- free() {
335
- const ptr = this.__destroy_into_raw();
336
- wasm.__wbg_columndropdownelement_free(ptr, 0);
337
- }
338
- }
339
- if (Symbol.dispose) ColumnDropDownElement.prototype[Symbol.dispose] = ColumnDropDownElement.prototype.free;
340
-
341
361
  export class CopyDropDownMenuElement {
342
362
  __destroy_into_raw() {
343
363
  const ptr = this.__wbg_ptr;
@@ -350,9 +370,6 @@ export class CopyDropDownMenuElement {
350
370
  wasm.__wbg_copydropdownmenuelement_free(ptr, 0);
351
371
  }
352
372
  /**
353
- * Internal Only.
354
- *
355
- * Set this custom element model's raw pointer.
356
373
  * @param {PerspectiveViewerElement} parent
357
374
  */
358
375
  __set_model(parent) {
@@ -405,9 +422,6 @@ export class ExportDropDownMenuElement {
405
422
  wasm.__wbg_exportdropdownmenuelement_free(ptr, 0);
406
423
  }
407
424
  /**
408
- * Internal Only.
409
- *
410
- * Set this custom element model's raw pointer.
411
425
  * @param {PerspectiveViewerElement} parent
412
426
  */
413
427
  __set_model(parent) {
@@ -448,34 +462,6 @@ export class ExportDropDownMenuElement {
448
462
  }
449
463
  if (Symbol.dispose) ExportDropDownMenuElement.prototype[Symbol.dispose] = ExportDropDownMenuElement.prototype.free;
450
464
 
451
- export class FilterDropDownElement {
452
- __destroy_into_raw() {
453
- const ptr = this.__wbg_ptr;
454
- this.__wbg_ptr = 0;
455
- FilterDropDownElementFinalization.unregister(this);
456
- return ptr;
457
- }
458
- free() {
459
- const ptr = this.__destroy_into_raw();
460
- wasm.__wbg_filterdropdownelement_free(ptr, 0);
461
- }
462
- }
463
- if (Symbol.dispose) FilterDropDownElement.prototype[Symbol.dispose] = FilterDropDownElement.prototype.free;
464
-
465
- export class FunctionDropDownElement {
466
- __destroy_into_raw() {
467
- const ptr = this.__wbg_ptr;
468
- this.__wbg_ptr = 0;
469
- FunctionDropDownElementFinalization.unregister(this);
470
- return ptr;
471
- }
472
- free() {
473
- const ptr = this.__destroy_into_raw();
474
- wasm.__wbg_functiondropdownelement_free(ptr, 0);
475
- }
476
- }
477
- if (Symbol.dispose) FunctionDropDownElement.prototype[Symbol.dispose] = FunctionDropDownElement.prototype.free;
478
-
479
465
  /**
480
466
  * JavaScript-facing DuckDB SQL query builder.
481
467
  *
@@ -722,6 +708,35 @@ export class GenericSQLVirtualServerModel {
722
708
  wasm.__wbindgen_add_to_stack_pointer(16);
723
709
  }
724
710
  }
711
+ /**
712
+ * Returns the SQL query to get the min and max values of a column.
713
+ * @param {string} view_id
714
+ * @param {string} column_name
715
+ * @param {any} config
716
+ * @returns {string}
717
+ */
718
+ viewGetMinMax(view_id, column_name, config) {
719
+ try {
720
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
721
+ const ptr0 = passStringToWasm0(view_id, wasm.__wbindgen_export, wasm.__wbindgen_export2);
722
+ const len0 = WASM_VECTOR_LEN;
723
+ const ptr1 = passStringToWasm0(column_name, wasm.__wbindgen_export, wasm.__wbindgen_export2);
724
+ const len1 = WASM_VECTOR_LEN;
725
+ wasm.genericsqlvirtualservermodel_viewGetMinMax(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, addHeapObject(config));
726
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
727
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
728
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
729
+ var r3 = getDataViewMemory0().getInt32(retptr + 4 * 3, true);
730
+ if (r3) {
731
+ throw takeObject(r2);
732
+ }
733
+ var v3 = getCachedStringFromWasm0(r0, r1);
734
+ if (r0 !== 0) { wasm.__wbindgen_export4(r0, r1, 1); }
735
+ return v3;
736
+ } finally {
737
+ wasm.__wbindgen_add_to_stack_pointer(16);
738
+ }
739
+ }
725
740
  /**
726
741
  * Returns the SQL query to describe a view's schema.
727
742
  * @param {string} view_id
@@ -880,11 +895,20 @@ export class PerspectiveDebugPluginElement {
880
895
  return takeObject(ret);
881
896
  }
882
897
  /**
883
- * @returns {Promise<any>}
898
+ * @param {any | null} [_config]
884
899
  */
885
- restore() {
886
- const ret = wasm.perspectivedebugpluginelement_clear(this.__wbg_ptr);
887
- return takeObject(ret);
900
+ restore(_config) {
901
+ try {
902
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
903
+ wasm.perspectivedebugpluginelement_restore(retptr, this.__wbg_ptr, isLikeNone(_config) ? 0 : addHeapObject(_config));
904
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
905
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
906
+ if (r1) {
907
+ throw takeObject(r0);
908
+ }
909
+ } finally {
910
+ wasm.__wbindgen_add_to_stack_pointer(16);
911
+ }
888
912
  }
889
913
  /**
890
914
  * @returns {Promise<any>}
@@ -894,11 +918,22 @@ export class PerspectiveDebugPluginElement {
894
918
  return takeObject(ret);
895
919
  }
896
920
  /**
897
- * @returns {Promise<any>}
921
+ * @returns {any}
898
922
  */
899
923
  save() {
900
- const ret = wasm.perspectivedebugpluginelement_clear(this.__wbg_ptr);
901
- return takeObject(ret);
924
+ try {
925
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
926
+ wasm.perspectivedebugpluginelement_save(retptr, this.__wbg_ptr);
927
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
928
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
929
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
930
+ if (r2) {
931
+ throw takeObject(r1);
932
+ }
933
+ return takeObject(r0);
934
+ } finally {
935
+ wasm.__wbindgen_add_to_stack_pointer(16);
936
+ }
902
937
  }
903
938
  /**
904
939
  * @returns {string}
@@ -1488,20 +1523,23 @@ export class PerspectiveViewerElement {
1488
1523
  *
1489
1524
  * # Arguments
1490
1525
  *
1491
- * - `force` - If [`Self::resize`] is called with `false` or without an
1492
- * argument, and _auto-size_ mode is enabled via [`Self::setAutoSize`],
1493
- * [`Self::resize`] will log a warning and auto-disable auto-size mode.
1526
+ * - `options` - An optional object with the following fields:
1527
+ * - `dimensions` - An optional object `{width, height}` providing
1528
+ * explicit size hints (in pixels) for the plugin container. When
1529
+ * provided, the plugin element will be temporarily sized to these
1530
+ * dimensions during resize, then reset.
1494
1531
  *
1495
1532
  * # JavaScript Examples
1496
1533
  *
1497
1534
  * ```javascript
1498
- * await viewer.resize(true)
1535
+ * await viewer.resize()
1536
+ * await viewer.resize({dimensions: {width: 800, height: 600}})
1499
1537
  * ```
1500
- * @param {boolean | null} [force]
1538
+ * @param {any | null} [options]
1501
1539
  * @returns {Promise<any>}
1502
1540
  */
1503
- resize(force) {
1504
- const ret = wasm.perspectiveviewerelement_resize(this.__wbg_ptr, isLikeNone(force) ? 0xFFFFFF : force ? 1 : 0);
1541
+ resize(options) {
1542
+ const ret = wasm.perspectiveviewerelement_resize(this.__wbg_ptr, isLikeNone(options) ? 0 : addHeapObject(options));
1505
1543
  return takeObject(ret);
1506
1544
  }
1507
1545
  /**
@@ -1534,7 +1572,7 @@ export class PerspectiveViewerElement {
1534
1572
  * ```javascript
1535
1573
  * await viewer.restore({group_by: ["State"]});
1536
1574
  * ```
1537
- * @param {any} update
1575
+ * @param {ViewerConfigUpdate} update
1538
1576
  * @returns {Promise<any>}
1539
1577
  */
1540
1578
  restore(update) {
@@ -1555,7 +1593,7 @@ export class PerspectiveViewerElement {
1555
1593
  * # JavaScript Examples
1556
1594
  *
1557
1595
  * ```javascript
1558
- * viewer.style = "--icon--color: red";
1596
+ * viewer.style = "--psp--color: red";
1559
1597
  * await viewer.restyleElement();
1560
1598
  * ```
1561
1599
  * @returns {Promise<any>}
@@ -1584,7 +1622,7 @@ export class PerspectiveViewerElement {
1584
1622
  * await viewer.restore(token);
1585
1623
  * });
1586
1624
  * ```
1587
- * @returns {Promise<any>}
1625
+ * @returns {Promise<ViewerConfig>}
1588
1626
  */
1589
1627
  save() {
1590
1628
  const ret = wasm.perspectiveviewerelement_save(this.__wbg_ptr);
@@ -1610,9 +1648,11 @@ export class PerspectiveViewerElement {
1610
1648
  * viewer.setAutoPause(false);
1611
1649
  * ```
1612
1650
  * @param {boolean} autopause
1651
+ * @returns {Promise<any>}
1613
1652
  */
1614
1653
  setAutoPause(autopause) {
1615
- wasm.perspectiveviewerelement_setAutoPause(this.__wbg_ptr, autopause);
1654
+ const ret = wasm.perspectiveviewerelement_setAutoPause(this.__wbg_ptr, autopause);
1655
+ return takeObject(ret);
1616
1656
  }
1617
1657
  /**
1618
1658
  * Sets the auto-size behavior of this component.
@@ -2439,6 +2479,22 @@ export class VirtualDataSlice {
2439
2479
  const ptr = this.__destroy_into_raw();
2440
2480
  wasm.__wbg_virtualdataslice_free(ptr, 0);
2441
2481
  }
2482
+ /**
2483
+ * @param {Uint8Array} ipc
2484
+ */
2485
+ fromArrowIpc(ipc) {
2486
+ try {
2487
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
2488
+ wasm.virtualdataslice_fromArrowIpc(retptr, this.__wbg_ptr, addHeapObject(ipc));
2489
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
2490
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
2491
+ if (r1) {
2492
+ throw takeObject(r0);
2493
+ }
2494
+ } finally {
2495
+ wasm.__wbindgen_add_to_stack_pointer(16);
2496
+ }
2497
+ }
2442
2498
  /**
2443
2499
  * @param {ViewConfigUpdate} config
2444
2500
  */
@@ -2757,9 +2813,6 @@ function __wbg_get_imports() {
2757
2813
  var v0 = getCachedStringFromWasm0(arg1, arg2);
2758
2814
  getObject(arg0).add(v0);
2759
2815
  }, arguments); },
2760
- __wbg_add_9c3286ac8f8abf5a: function() { return handleError(function (arg0, arg1) {
2761
- getObject(arg0).add(...getObject(arg1));
2762
- }, arguments); },
2763
2816
  __wbg_appendChild_dea38765a26d346d: function() { return handleError(function (arg0, arg1) {
2764
2817
  const ret = getObject(arg0).appendChild(getObject(arg1));
2765
2818
  return addHeapObject(ret);
@@ -2787,7 +2840,7 @@ function __wbg_get_imports() {
2787
2840
  const ret = getObject(arg0).body;
2788
2841
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
2789
2842
  },
2790
- __wbg_bootstrap_dc3931100800daf0: function(arg0, arg1, arg2, arg3, arg4, arg5) {
2843
+ __wbg_bootstrap_f76c047a4848fd72: function(arg0, arg1, arg2, arg3, arg4, arg5) {
2791
2844
  var v0 = getCachedStringFromWasm0(arg1, arg2);
2792
2845
  var v1 = getCachedStringFromWasm0(arg3, arg4);
2793
2846
  const ret = bootstrap(getObject(arg0), v0, v1, takeObject(arg5));
@@ -2821,7 +2874,7 @@ function __wbg_get_imports() {
2821
2874
  const ret = getObject(arg0).call(getObject(arg1), getObject(arg2), getObject(arg3));
2822
2875
  return addHeapObject(ret);
2823
2876
  }, arguments); },
2824
- __wbg_can_render_column_styles_d7fad9805e1dba21: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2877
+ __wbg_can_render_column_styles_e8f6cb13e2439c74: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2825
2878
  var v0 = getCachedStringFromWasm0(arg1, arg2);
2826
2879
  var v1 = getCachedStringFromWasm0(arg3, arg4);
2827
2880
  const ret = getObject(arg0).can_render_column_styles(v0, v1);
@@ -2831,7 +2884,7 @@ function __wbg_get_imports() {
2831
2884
  const ret = getObject(arg0).cancelBubble;
2832
2885
  return ret;
2833
2886
  },
2834
- __wbg_category_8000a0b2872b6c33: function(arg0, arg1) {
2887
+ __wbg_category_13a29f334562aae8: function(arg0, arg1) {
2835
2888
  const ret = getObject(arg1).category;
2836
2889
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2837
2890
  var len1 = WASM_VECTOR_LEN;
@@ -2896,7 +2949,7 @@ function __wbg_get_imports() {
2896
2949
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2897
2950
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
2898
2951
  },
2899
- __wbg_column_style_controls_2b25c1013ae3cfc1: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2952
+ __wbg_column_style_controls_cc2466b20fb65ff4: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2900
2953
  var v0 = getCachedStringFromWasm0(arg1, arg2);
2901
2954
  var v1 = getCachedStringFromWasm0(arg3, arg4);
2902
2955
  const ret = getObject(arg0).column_style_controls(v0, v1);
@@ -2906,7 +2959,7 @@ function __wbg_get_imports() {
2906
2959
  const ret = getObject(arg0).composedPath();
2907
2960
  return addHeapObject(ret);
2908
2961
  },
2909
- __wbg_config_column_names_fbacaa5f5f0ca1b5: function(arg0) {
2962
+ __wbg_config_column_names_5fa0c470e2b283dd: function(arg0) {
2910
2963
  const ret = getObject(arg0).config_column_names;
2911
2964
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
2912
2965
  },
@@ -2914,7 +2967,7 @@ function __wbg_get_imports() {
2914
2967
  const ret = getObject(arg0).contains(getObject(arg1));
2915
2968
  return ret;
2916
2969
  },
2917
- __wbg_contentRect_09678d1953f97d27: function(arg0) {
2970
+ __wbg_contentRect_394f4c1b0cb6d3df: function(arg0) {
2918
2971
  const ret = getObject(arg0).contentRect;
2919
2972
  return addHeapObject(ret);
2920
2973
  },
@@ -2959,7 +3012,7 @@ function __wbg_get_imports() {
2959
3012
  __wbg_debug_a4099fa12db6cd61: function(arg0) {
2960
3013
  console.debug(getObject(arg0));
2961
3014
  },
2962
- __wbg_delete_0f1d5ff3bf623320: function(arg0) {
3015
+ __wbg_delete_232a8bc402286241: function(arg0) {
2963
3016
  getObject(arg0).delete();
2964
3017
  },
2965
3018
  __wbg_delete_8318b529ff42aa20: function(arg0, arg1, arg2) {
@@ -2978,7 +3031,7 @@ function __wbg_get_imports() {
2978
3031
  const ret = getObject(arg0).done;
2979
3032
  return ret;
2980
3033
  },
2981
- __wbg_draw_97da639ae7394c1f: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
3034
+ __wbg_draw_db771edc1a2cc571: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2982
3035
  const ret = getObject(arg0).draw(View.__wrap(arg1), arg2 === 0x100000001 ? undefined : arg2, arg3 === 0x100000001 ? undefined : arg3, arg4 !== 0);
2983
3036
  return addHeapObject(ret);
2984
3037
  }, arguments); },
@@ -3097,7 +3150,7 @@ function __wbg_get_imports() {
3097
3150
  const ret = getObject(arg0)[getObject(arg1)];
3098
3151
  return addHeapObject(ret);
3099
3152
  },
3100
- __wbg_group_rollups_60504c5a2b1cb8ba: function(arg0) {
3153
+ __wbg_group_rollups_6fe862eb83cc5bec: function(arg0) {
3101
3154
  const ret = getObject(arg0).group_rollups;
3102
3155
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
3103
3156
  },
@@ -3278,7 +3331,7 @@ function __wbg_get_imports() {
3278
3331
  const ret = getObject(arg0).isConnected;
3279
3332
  return ret;
3280
3333
  },
3281
- __wbg_isIntersecting_722e650606718ba1: function(arg0) {
3334
+ __wbg_isIntersecting_b4219f1cfe081cab: function(arg0) {
3282
3335
  const ret = getObject(arg0).isIntersecting;
3283
3336
  return ret;
3284
3337
  },
@@ -3381,11 +3434,11 @@ function __wbg_get_imports() {
3381
3434
  const ret = getObject(arg0).matches(v0);
3382
3435
  return ret;
3383
3436
  }, arguments); },
3384
- __wbg_max_cells_a02ba7c674d4b3ee: function(arg0) {
3437
+ __wbg_max_cells_b1575044e850f2ed: function(arg0) {
3385
3438
  const ret = getObject(arg0).max_cells;
3386
3439
  return isLikeNone(ret) ? 0x100000001 : (ret) >>> 0;
3387
3440
  },
3388
- __wbg_max_columns_a46ba05a4c123b4f: function(arg0) {
3441
+ __wbg_max_columns_637b2dba8a423a3c: function(arg0) {
3389
3442
  const ret = getObject(arg0).max_columns;
3390
3443
  return isLikeNone(ret) ? 0x100000001 : (ret) >>> 0;
3391
3444
  },
@@ -3398,11 +3451,11 @@ function __wbg_get_imports() {
3398
3451
  const ret = getObject(arg0).message;
3399
3452
  return addHeapObject(ret);
3400
3453
  },
3401
- __wbg_min_config_columns_2476b685bb856d93: function(arg0) {
3454
+ __wbg_min_config_columns_37f48c557dd66480: function(arg0) {
3402
3455
  const ret = getObject(arg0).min_config_columns;
3403
3456
  return isLikeNone(ret) ? 0x100000001 : (ret) >>> 0;
3404
3457
  },
3405
- __wbg_name_ff665338b71d2feb: function(arg0, arg1) {
3458
+ __wbg_name_b117296b29a3d17b: function(arg0, arg1) {
3406
3459
  const ret = getObject(arg1).name;
3407
3460
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
3408
3461
  const len1 = WASM_VECTOR_LEN;
@@ -3437,10 +3490,6 @@ function __wbg_get_imports() {
3437
3490
  const ret = new Object();
3438
3491
  return addHeapObject(ret);
3439
3492
  },
3440
- __wbg_new_3646026290f426a4: function(arg0) {
3441
- const ret = new IntersectionObserver(getObject(arg0));
3442
- return addHeapObject(ret);
3443
- },
3444
3493
  __wbg_new_384a230f8673183c: function() { return handleError(function (arg0, arg1) {
3445
3494
  var v0 = getCachedStringFromWasm0(arg0, arg1);
3446
3495
  const ret = new CustomEvent(v0);
@@ -3459,14 +3508,22 @@ function __wbg_get_imports() {
3459
3508
  const ret = new Intl.NumberFormat(getObject(arg0), getObject(arg1));
3460
3509
  return addHeapObject(ret);
3461
3510
  },
3511
+ __wbg_new_884dbf655e2ca5b9: function(arg0) {
3512
+ const ret = new ClipboardItem(getObject(arg0));
3513
+ return addHeapObject(ret);
3514
+ },
3462
3515
  __wbg_new_8a6f238a6ece86ea: function() {
3463
3516
  const ret = new Error();
3464
3517
  return addHeapObject(ret);
3465
3518
  },
3466
- __wbg_new_ab46db28ed0cb0c7: function(arg0) {
3519
+ __wbg_new_8c06eeec9ed1fa56: function(arg0) {
3467
3520
  const ret = new ResizeObserver(getObject(arg0));
3468
3521
  return addHeapObject(ret);
3469
3522
  },
3523
+ __wbg_new_abe270086f008783: function(arg0) {
3524
+ const ret = new IntersectionObserver(getObject(arg0));
3525
+ return addHeapObject(ret);
3526
+ },
3470
3527
  __wbg_new_b5d9e2fb389fef91: function(arg0, arg1) {
3471
3528
  try {
3472
3529
  var state0 = {a: arg0, b: arg1};
@@ -3474,7 +3531,7 @@ function __wbg_get_imports() {
3474
3531
  const a = state0.a;
3475
3532
  state0.a = 0;
3476
3533
  try {
3477
- return __wasm_bindgen_func_elem_20888(a, state0.b, arg0, arg1);
3534
+ return __wasm_bindgen_func_elem_24303(a, state0.b, arg0, arg1);
3478
3535
  } finally {
3479
3536
  state0.a = a;
3480
3537
  }
@@ -3497,10 +3554,6 @@ function __wbg_get_imports() {
3497
3554
  const ret = new Uint8Array(getObject(arg0));
3498
3555
  return addHeapObject(ret);
3499
3556
  },
3500
- __wbg_new_ee28d0c54b26ba74: function(arg0) {
3501
- const ret = new ClipboardItem(getObject(arg0));
3502
- return addHeapObject(ret);
3503
- },
3504
3557
  __wbg_new_from_slice_a3d2629dc1826784: function(arg0, arg1) {
3505
3558
  const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
3506
3559
  return addHeapObject(ret);
@@ -3543,10 +3596,10 @@ function __wbg_get_imports() {
3543
3596
  const ret = getObject(arg0).now();
3544
3597
  return ret;
3545
3598
  },
3546
- __wbg_observe_63c84d0029f5dff9: function(arg0, arg1) {
3599
+ __wbg_observe_8dfdc060e402c3ee: function(arg0, arg1) {
3547
3600
  getObject(arg0).observe(getObject(arg1));
3548
3601
  },
3549
- __wbg_observe_d923c52c68a84121: function(arg0, arg1) {
3602
+ __wbg_observe_e3be4d31351cf78d: function(arg0, arg1) {
3550
3603
  getObject(arg0).observe(getObject(arg1));
3551
3604
  },
3552
3605
  __wbg_offsetHeight_34f7abc1686733cc: function(arg0) {
@@ -3597,7 +3650,7 @@ function __wbg_get_imports() {
3597
3650
  __wbg_preventDefault_cdcfcd7e301b9702: function(arg0) {
3598
3651
  getObject(arg0).preventDefault();
3599
3652
  },
3600
- __wbg_priority_c510f025842b0e45: function(arg0) {
3653
+ __wbg_priority_88758bdd5898853b: function(arg0) {
3601
3654
  const ret = getObject(arg0).priority;
3602
3655
  return isLikeNone(ret) ? 0x100000001 : (ret) >> 0;
3603
3656
  },
@@ -3649,14 +3702,11 @@ function __wbg_get_imports() {
3649
3702
  var v0 = getCachedStringFromWasm0(arg1, arg2);
3650
3703
  getObject(arg0).removeEventListener(v0, getObject(arg3));
3651
3704
  }, arguments); },
3652
- __wbg_remove_d7cc81bb2f6f2fb9: function() { return handleError(function (arg0, arg1) {
3653
- getObject(arg0).remove(...getObject(arg1));
3654
- }, arguments); },
3655
3705
  __wbg_remove_f9451697e0bc6ca0: function() { return handleError(function (arg0, arg1, arg2) {
3656
3706
  var v0 = getCachedStringFromWasm0(arg1, arg2);
3657
3707
  getObject(arg0).remove(v0);
3658
3708
  }, arguments); },
3659
- __wbg_render_warning_fc90544f6a10954c: function(arg0) {
3709
+ __wbg_render_warning_de851f94bd1148d6: function(arg0) {
3660
3710
  const ret = getObject(arg0).render_warning;
3661
3711
  return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
3662
3712
  },
@@ -3668,7 +3718,7 @@ function __wbg_get_imports() {
3668
3718
  const ret = getObject(arg0).requestAnimationFrame(getObject(arg1));
3669
3719
  return ret;
3670
3720
  }, arguments); },
3671
- __wbg_resize_ea7a1ab25045549c: function() { return handleError(function (arg0) {
3721
+ __wbg_resize_a1910c8d2f8ef15c: function() { return handleError(function (arg0) {
3672
3722
  const ret = getObject(arg0).resize();
3673
3723
  return addHeapObject(ret);
3674
3724
  }, arguments); },
@@ -3680,14 +3730,14 @@ function __wbg_get_imports() {
3680
3730
  const ret = getObject(arg0).resolvedOptions();
3681
3731
  return addHeapObject(ret);
3682
3732
  },
3683
- __wbg_restore_f356a474f27bb87f: function() { return handleError(function (arg0, arg1, arg2) {
3733
+ __wbg_restore_130d94eafd2677ee: function() { return handleError(function (arg0, arg1, arg2) {
3684
3734
  getObject(arg0).restore(getObject(arg1), getObject(arg2));
3685
3735
  }, arguments); },
3686
- __wbg_restyle_d811a2b6df1b0006: function() { return handleError(function (arg0, arg1) {
3736
+ __wbg_restyle_4ff132d09a3e6622: function() { return handleError(function (arg0, arg1) {
3687
3737
  const ret = getObject(arg0).restyle(View.__wrap(arg1));
3688
3738
  return addHeapObject(ret);
3689
3739
  }, arguments); },
3690
- __wbg_save_b7a8787620b3c359: function() { return handleError(function (arg0) {
3740
+ __wbg_save_9a964696e9c6aab3: function() { return handleError(function (arg0) {
3691
3741
  const ret = getObject(arg0).save();
3692
3742
  return addHeapObject(ret);
3693
3743
  }, arguments); },
@@ -3703,7 +3753,7 @@ function __wbg_get_imports() {
3703
3753
  const ret = getObject(arg0).scrollTop;
3704
3754
  return ret;
3705
3755
  },
3706
- __wbg_select_mode_d897b403d4c991af: function(arg0) {
3756
+ __wbg_select_mode_98b39c356e681135: function(arg0) {
3707
3757
  const ret = getObject(arg0).select_mode;
3708
3758
  return addHeapObject(ret);
3709
3759
  },
@@ -3731,11 +3781,6 @@ function __wbg_get_imports() {
3731
3781
  var v1 = getCachedStringFromWasm0(arg3, arg4);
3732
3782
  getObject(arg0).setAttribute(v0, v1);
3733
3783
  }, arguments); },
3734
- __wbg_setData_c6fb07ac0e13293c: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
3735
- var v0 = getCachedStringFromWasm0(arg1, arg2);
3736
- var v1 = getCachedStringFromWasm0(arg3, arg4);
3737
- getObject(arg0).setData(v0, v1);
3738
- }, arguments); },
3739
3784
  __wbg_setDragImage_76defbcc7ff30178: function(arg0, arg1, arg2, arg3) {
3740
3785
  getObject(arg0).setDragImage(getObject(arg1), arg2, arg3);
3741
3786
  },
@@ -3814,7 +3859,7 @@ function __wbg_get_imports() {
3814
3859
  __wbg_set_passive_f411e67e6f28687b: function(arg0, arg1) {
3815
3860
  getObject(arg0).passive = arg1 !== 0;
3816
3861
  },
3817
- __wbg_set_render_warning_847e8e9ffe932bc2: function(arg0, arg1) {
3862
+ __wbg_set_render_warning_162db1657600c5d5: function(arg0, arg1) {
3818
3863
  getObject(arg0).render_warning = arg1 !== 0;
3819
3864
  },
3820
3865
  __wbg_set_scrollLeft_8de8fc187e3a6808: function(arg0, arg1) {
@@ -3883,7 +3928,7 @@ function __wbg_get_imports() {
3883
3928
  const ret = typeof globalThis === 'undefined' ? null : globalThis;
3884
3929
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
3885
3930
  },
3886
- __wbg_static_accessor_PSP_f02e68781161ab22: function() {
3931
+ __wbg_static_accessor_PSP_10e6964d9bd7a5ea: function() {
3887
3932
  const ret = psp;
3888
3933
  return addHeapObject(ret);
3889
3934
  },
@@ -3922,7 +3967,7 @@ function __wbg_get_imports() {
3922
3967
  const ret = getObject(arg0).__yew_subtree_id;
3923
3968
  return isLikeNone(ret) ? 0x100000001 : (ret) >>> 0;
3924
3969
  },
3925
- __wbg_supportedValuesOf_38788e17038320e4: function(arg0) {
3970
+ __wbg_supportedValuesOf_a6c8f1033c435486: function(arg0) {
3926
3971
  const ret = Intl.supportedValuesOf(getObject(arg0));
3927
3972
  return addHeapObject(ret);
3928
3973
  },
@@ -3980,13 +4025,13 @@ function __wbg_get_imports() {
3980
4025
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
3981
4026
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
3982
4027
  },
3983
- __wbg_unobserve_476684195d1e0cb9: function(arg0, arg1) {
4028
+ __wbg_unobserve_c3413b94f5675cbc: function(arg0, arg1) {
3984
4029
  getObject(arg0).unobserve(getObject(arg1));
3985
4030
  },
3986
- __wbg_unobserve_8859f8b68ea88562: function(arg0, arg1) {
4031
+ __wbg_unobserve_ec6c0dcbb1fa1907: function(arg0, arg1) {
3987
4032
  getObject(arg0).unobserve(getObject(arg1));
3988
4033
  },
3989
- __wbg_update_2dda71464c659adc: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
4034
+ __wbg_update_20b7a7f4e0a7bf96: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
3990
4035
  const ret = getObject(arg0).update(View.__wrap(arg1), arg2 === 0x100000001 ? undefined : arg2, arg3 === 0x100000001 ? undefined : arg3, arg4 !== 0);
3991
4036
  return addHeapObject(ret);
3992
4037
  }, arguments); },
@@ -4062,84 +4107,89 @@ function __wbg_get_imports() {
4062
4107
  return addHeapObject(ret);
4063
4108
  },
4064
4109
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
4065
- // Cast intrinsic for `Closure(Closure { dtor_idx: 3716, function: Function { arguments: [], shim_idx: 3730, ret: NamedExternref("Promise<any>"), inner_ret: Some(NamedExternref("Promise<any>")) }, mutable: false }) -> Externref`.
4066
- const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_13482, __wasm_bindgen_func_elem_14371);
4110
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 3733, function: Function { arguments: [], shim_idx: 3748, ret: NamedExternref("Promise<any>"), inner_ret: Some(NamedExternref("Promise<any>")) }, mutable: false }) -> Externref`.
4111
+ const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_13446, __wasm_bindgen_func_elem_14349);
4067
4112
  return addHeapObject(ret);
4068
4113
  },
4069
4114
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
4070
- // Cast intrinsic for `Closure(Closure { dtor_idx: 38, function: Function { arguments: [Externref], shim_idx: 75, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
4071
- const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_3123, __wasm_bindgen_func_elem_5237);
4115
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 39, function: Function { arguments: [Externref], shim_idx: 70, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
4116
+ const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_3157, __wasm_bindgen_func_elem_5198);
4072
4117
  return addHeapObject(ret);
4073
4118
  },
4074
4119
  __wbindgen_cast_0000000000000003: function(arg0, arg1) {
4075
- // Cast intrinsic for `Closure(Closure { dtor_idx: 39, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 76, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4076
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_3124, __wasm_bindgen_func_elem_5238);
4120
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 39, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 71, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4121
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_3157, __wasm_bindgen_func_elem_5199);
4077
4122
  return addHeapObject(ret);
4078
4123
  },
4079
4124
  __wbindgen_cast_0000000000000004: function(arg0, arg1) {
4080
- // Cast intrinsic for `Closure(Closure { dtor_idx: 39, function: Function { arguments: [NamedExternref("FocusEvent")], shim_idx: 76, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4081
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_3124, __wasm_bindgen_func_elem_5238);
4125
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 39, function: Function { arguments: [NamedExternref("DragEvent")], shim_idx: 71, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4126
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_3157, __wasm_bindgen_func_elem_5199);
4082
4127
  return addHeapObject(ret);
4083
4128
  },
4084
4129
  __wbindgen_cast_0000000000000005: function(arg0, arg1) {
4085
- // Cast intrinsic for `Closure(Closure { dtor_idx: 39, function: Function { arguments: [NamedExternref("MouseEvent")], shim_idx: 75, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
4086
- const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_3124, __wasm_bindgen_func_elem_5237);
4130
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 39, function: Function { arguments: [NamedExternref("FocusEvent")], shim_idx: 71, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4131
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_3157, __wasm_bindgen_func_elem_5199);
4087
4132
  return addHeapObject(ret);
4088
4133
  },
4089
4134
  __wbindgen_cast_0000000000000006: function(arg0, arg1) {
4090
- // Cast intrinsic for `Closure(Closure { dtor_idx: 39, function: Function { arguments: [], shim_idx: 77, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
4091
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_3124, __wasm_bindgen_func_elem_5235);
4135
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 39, function: Function { arguments: [NamedExternref("MouseEvent")], shim_idx: 70, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
4136
+ const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_3157, __wasm_bindgen_func_elem_5198);
4092
4137
  return addHeapObject(ret);
4093
4138
  },
4094
4139
  __wbindgen_cast_0000000000000007: function(arg0, arg1) {
4095
- // Cast intrinsic for `Closure(Closure { dtor_idx: 4449, function: Function { arguments: [Ref(NamedExternref("Event"))], shim_idx: 4451, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
4096
- const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_18167, __wasm_bindgen_func_elem_18286);
4140
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 39, function: Function { arguments: [], shim_idx: 72, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
4141
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_3157, __wasm_bindgen_func_elem_5196);
4097
4142
  return addHeapObject(ret);
4098
4143
  },
4099
4144
  __wbindgen_cast_0000000000000008: function(arg0, arg1) {
4100
- // Cast intrinsic for `Closure(Closure { dtor_idx: 4553, function: Function { arguments: [], shim_idx: 4554, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4101
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_18937, __wasm_bindgen_func_elem_18940);
4145
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 4249, function: Function { arguments: [Ref(NamedExternref("Event"))], shim_idx: 4251, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
4146
+ const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_16508, __wasm_bindgen_func_elem_16627);
4102
4147
  return addHeapObject(ret);
4103
4148
  },
4104
4149
  __wbindgen_cast_0000000000000009: function(arg0, arg1) {
4105
- // Cast intrinsic for `Closure(Closure { dtor_idx: 4558, function: Function { arguments: [Externref], shim_idx: 4559, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4106
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_18961, __wasm_bindgen_func_elem_18978);
4150
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 4328, function: Function { arguments: [], shim_idx: 4329, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4151
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_17165, __wasm_bindgen_func_elem_17168);
4107
4152
  return addHeapObject(ret);
4108
4153
  },
4109
- __wbindgen_cast_000000000000000a: function(arg0) {
4154
+ __wbindgen_cast_000000000000000a: function(arg0, arg1) {
4155
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 4332, function: Function { arguments: [Externref], shim_idx: 4333, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4156
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_17190, __wasm_bindgen_func_elem_17207);
4157
+ return addHeapObject(ret);
4158
+ },
4159
+ __wbindgen_cast_000000000000000b: function(arg0) {
4110
4160
  // Cast intrinsic for `F64 -> Externref`.
4111
4161
  const ret = arg0;
4112
4162
  return addHeapObject(ret);
4113
4163
  },
4114
- __wbindgen_cast_000000000000000b: function(arg0) {
4164
+ __wbindgen_cast_000000000000000c: function(arg0) {
4115
4165
  // Cast intrinsic for `I64 -> Externref`.
4116
4166
  const ret = arg0;
4117
4167
  return addHeapObject(ret);
4118
4168
  },
4119
- __wbindgen_cast_000000000000000c: function(arg0, arg1) {
4169
+ __wbindgen_cast_000000000000000d: function(arg0, arg1) {
4120
4170
  var v0 = getCachedStringFromWasm0(arg0, arg1);
4121
4171
  // Cast intrinsic for `Ref(CachedString) -> Externref`.
4122
4172
  const ret = v0;
4123
4173
  return addHeapObject(ret);
4124
4174
  },
4125
- __wbindgen_cast_000000000000000d: function(arg0, arg1) {
4175
+ __wbindgen_cast_000000000000000e: function(arg0, arg1) {
4126
4176
  // Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
4127
4177
  const ret = getArrayU8FromWasm0(arg0, arg1);
4128
4178
  return addHeapObject(ret);
4129
4179
  },
4130
- __wbindgen_cast_000000000000000e: function(arg0) {
4180
+ __wbindgen_cast_000000000000000f: function(arg0) {
4131
4181
  // Cast intrinsic for `U64 -> Externref`.
4132
4182
  const ret = BigInt.asUintN(64, arg0);
4133
4183
  return addHeapObject(ret);
4134
4184
  },
4135
- __wbindgen_cast_000000000000000f: function(arg0, arg1) {
4185
+ __wbindgen_cast_0000000000000010: function(arg0, arg1) {
4136
4186
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
4137
4187
  wasm.__wbindgen_export4(arg0, arg1 * 4, 4);
4138
4188
  // Cast intrinsic for `Vector(NamedExternref("string")) -> Externref`.
4139
4189
  const ret = v0;
4140
4190
  return addHeapObject(ret);
4141
4191
  },
4142
- __wbindgen_cast_0000000000000010: function(arg0, arg1) {
4192
+ __wbindgen_cast_0000000000000011: function(arg0, arg1) {
4143
4193
  var v0 = getArrayU8FromWasm0(arg0, arg1).slice();
4144
4194
  wasm.__wbindgen_export4(arg0, arg1 * 1, 1);
4145
4195
  // Cast intrinsic for `Vector(U8) -> Externref`.
@@ -4153,6 +4203,10 @@ function __wbg_get_imports() {
4153
4203
  __wbindgen_object_drop_ref: function(arg0) {
4154
4204
  takeObject(arg0);
4155
4205
  },
4206
+ __wbindgen_object_is_undefined: function(arg0) {
4207
+ const ret = getObject(arg0) === undefined;
4208
+ return ret;
4209
+ },
4156
4210
  };
4157
4211
  return {
4158
4212
  __proto__: null,
@@ -4160,27 +4214,27 @@ function __wbg_get_imports() {
4160
4214
  };
4161
4215
  }
4162
4216
 
4163
- function __wasm_bindgen_func_elem_18940(arg0, arg1) {
4164
- wasm.__wasm_bindgen_func_elem_18940(arg0, arg1);
4217
+ function __wasm_bindgen_func_elem_17168(arg0, arg1) {
4218
+ wasm.__wasm_bindgen_func_elem_17168(arg0, arg1);
4165
4219
  }
4166
4220
 
4167
- function __wasm_bindgen_func_elem_14371(arg0, arg1) {
4168
- const ret = wasm.__wasm_bindgen_func_elem_14371(arg0, arg1);
4221
+ function __wasm_bindgen_func_elem_14349(arg0, arg1) {
4222
+ const ret = wasm.__wasm_bindgen_func_elem_14349(arg0, arg1);
4169
4223
  return takeObject(ret);
4170
4224
  }
4171
4225
 
4172
- function __wasm_bindgen_func_elem_5237(arg0, arg1, arg2) {
4173
- wasm.__wasm_bindgen_func_elem_5237(arg0, arg1, addHeapObject(arg2));
4226
+ function __wasm_bindgen_func_elem_5198(arg0, arg1, arg2) {
4227
+ wasm.__wasm_bindgen_func_elem_5198(arg0, arg1, addHeapObject(arg2));
4174
4228
  }
4175
4229
 
4176
- function __wasm_bindgen_func_elem_5238(arg0, arg1, arg2) {
4177
- wasm.__wasm_bindgen_func_elem_5238(arg0, arg1, addHeapObject(arg2));
4230
+ function __wasm_bindgen_func_elem_5199(arg0, arg1, arg2) {
4231
+ wasm.__wasm_bindgen_func_elem_5199(arg0, arg1, addHeapObject(arg2));
4178
4232
  }
4179
4233
 
4180
- function __wasm_bindgen_func_elem_5235(arg0, arg1) {
4234
+ function __wasm_bindgen_func_elem_5196(arg0, arg1) {
4181
4235
  try {
4182
4236
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
4183
- wasm.__wasm_bindgen_func_elem_5235(retptr, arg0, arg1);
4237
+ wasm.__wasm_bindgen_func_elem_5196(retptr, arg0, arg1);
4184
4238
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
4185
4239
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
4186
4240
  if (r1) {
@@ -4191,20 +4245,20 @@ function __wasm_bindgen_func_elem_5235(arg0, arg1) {
4191
4245
  }
4192
4246
  }
4193
4247
 
4194
- function __wasm_bindgen_func_elem_18286(arg0, arg1, arg2) {
4248
+ function __wasm_bindgen_func_elem_16627(arg0, arg1, arg2) {
4195
4249
  try {
4196
- wasm.__wasm_bindgen_func_elem_18286(arg0, arg1, addBorrowedObject(arg2));
4250
+ wasm.__wasm_bindgen_func_elem_16627(arg0, arg1, addBorrowedObject(arg2));
4197
4251
  } finally {
4198
4252
  heap[stack_pointer++] = undefined;
4199
4253
  }
4200
4254
  }
4201
4255
 
4202
- function __wasm_bindgen_func_elem_18978(arg0, arg1, arg2) {
4203
- wasm.__wasm_bindgen_func_elem_18978(arg0, arg1, addHeapObject(arg2));
4256
+ function __wasm_bindgen_func_elem_17207(arg0, arg1, arg2) {
4257
+ wasm.__wasm_bindgen_func_elem_17207(arg0, arg1, addHeapObject(arg2));
4204
4258
  }
4205
4259
 
4206
- function __wasm_bindgen_func_elem_20888(arg0, arg1, arg2, arg3) {
4207
- wasm.__wasm_bindgen_func_elem_20888(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
4260
+ function __wasm_bindgen_func_elem_24303(arg0, arg1, arg2, arg3) {
4261
+ wasm.__wasm_bindgen_func_elem_24303(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
4208
4262
  }
4209
4263
 
4210
4264
 
@@ -4212,21 +4266,12 @@ const __wbindgen_enum_ShadowRootMode = ["open", "closed"];
4212
4266
  const ClientFinalization = (typeof FinalizationRegistry === 'undefined')
4213
4267
  ? { register: () => {}, unregister: () => {} }
4214
4268
  : new FinalizationRegistry(ptr => wasm.__wbg_client_free(ptr >>> 0, 1));
4215
- const ColumnDropDownElementFinalization = (typeof FinalizationRegistry === 'undefined')
4216
- ? { register: () => {}, unregister: () => {} }
4217
- : new FinalizationRegistry(ptr => wasm.__wbg_columndropdownelement_free(ptr >>> 0, 1));
4218
4269
  const CopyDropDownMenuElementFinalization = (typeof FinalizationRegistry === 'undefined')
4219
4270
  ? { register: () => {}, unregister: () => {} }
4220
4271
  : new FinalizationRegistry(ptr => wasm.__wbg_copydropdownmenuelement_free(ptr >>> 0, 1));
4221
4272
  const ExportDropDownMenuElementFinalization = (typeof FinalizationRegistry === 'undefined')
4222
4273
  ? { register: () => {}, unregister: () => {} }
4223
4274
  : new FinalizationRegistry(ptr => wasm.__wbg_exportdropdownmenuelement_free(ptr >>> 0, 1));
4224
- const FilterDropDownElementFinalization = (typeof FinalizationRegistry === 'undefined')
4225
- ? { register: () => {}, unregister: () => {} }
4226
- : new FinalizationRegistry(ptr => wasm.__wbg_filterdropdownelement_free(ptr >>> 0, 1));
4227
- const FunctionDropDownElementFinalization = (typeof FinalizationRegistry === 'undefined')
4228
- ? { register: () => {}, unregister: () => {} }
4229
- : new FinalizationRegistry(ptr => wasm.__wbg_functiondropdownelement_free(ptr >>> 0, 1));
4230
4275
  const GenericSQLVirtualServerModelFinalization = (typeof FinalizationRegistry === 'undefined')
4231
4276
  ? { register: () => {}, unregister: () => {} }
4232
4277
  : new FinalizationRegistry(ptr => wasm.__wbg_genericsqlvirtualservermodel_free(ptr >>> 0, 1));