@perspective-dev/viewer 4.0.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 (394) hide show
  1. package/LICENSE.md +193 -0
  2. package/README.md +4 -0
  3. package/dist/cdn/perspective-viewer.js +3 -0
  4. package/dist/cdn/perspective-viewer.js.map +7 -0
  5. package/dist/css/dracula.css +1 -0
  6. package/dist/css/gruvbox-dark.css +1 -0
  7. package/dist/css/gruvbox.css +1 -0
  8. package/dist/css/icons.css +1 -0
  9. package/dist/css/intl/de.css +1 -0
  10. package/dist/css/intl/es.css +1 -0
  11. package/dist/css/intl/fr.css +1 -0
  12. package/dist/css/intl/ja.css +1 -0
  13. package/dist/css/intl/pt.css +1 -0
  14. package/dist/css/intl/zh.css +1 -0
  15. package/dist/css/intl.css +1 -0
  16. package/dist/css/monokai.css +1 -0
  17. package/dist/css/pro-dark.css +1 -0
  18. package/dist/css/pro.css +1 -0
  19. package/dist/css/solarized-dark.css +1 -0
  20. package/dist/css/solarized.css +1 -0
  21. package/dist/css/themes.css +1 -0
  22. package/dist/css/vaporwave.css +1 -0
  23. package/dist/css/variables.css +0 -0
  24. package/dist/esm/bootstrap.d.ts +1 -0
  25. package/dist/esm/extensions.d.ts +70 -0
  26. package/dist/esm/perspective-viewer.d.ts +39 -0
  27. package/dist/esm/perspective-viewer.inline.js +3 -0
  28. package/dist/esm/perspective-viewer.inline.js.map +7 -0
  29. package/dist/esm/perspective-viewer.js +3 -0
  30. package/dist/esm/perspective-viewer.js.map +7 -0
  31. package/dist/esm/plugin.d.ts +195 -0
  32. package/dist/esm/ts-rs/Aggregate.d.ts +1 -0
  33. package/dist/esm/ts-rs/ColumnConfigValues.d.ts +31 -0
  34. package/dist/esm/ts-rs/CustomDatetimeFormat.d.ts +1 -0
  35. package/dist/esm/ts-rs/CustomDatetimeStyleConfig.d.ts +15 -0
  36. package/dist/esm/ts-rs/CustomNumberFormatConfig.d.ts +18 -0
  37. package/dist/esm/ts-rs/DatetimeColorMode.d.ts +1 -0
  38. package/dist/esm/ts-rs/DatetimeFormatType.d.ts +6 -0
  39. package/dist/esm/ts-rs/Expressions.d.ts +3 -0
  40. package/dist/esm/ts-rs/Filter.d.ts +2 -0
  41. package/dist/esm/ts-rs/FilterReducer.d.ts +1 -0
  42. package/dist/esm/ts-rs/FilterTerm.d.ts +2 -0
  43. package/dist/esm/ts-rs/FormatMode.d.ts +1 -0
  44. package/dist/esm/ts-rs/FormatUnit.d.ts +1 -0
  45. package/dist/esm/ts-rs/NumberBackgroundMode.d.ts +1 -0
  46. package/dist/esm/ts-rs/NumberForegroundMode.d.ts +1 -0
  47. package/dist/esm/ts-rs/OptionalUpdate.d.ts +1 -0
  48. package/dist/esm/ts-rs/PluginConfig.d.ts +2 -0
  49. package/dist/esm/ts-rs/RoundingMode.d.ts +1 -0
  50. package/dist/esm/ts-rs/RoundingPriority.d.ts +1 -0
  51. package/dist/esm/ts-rs/Scalar.d.ts +5 -0
  52. package/dist/esm/ts-rs/SignDisplay.d.ts +1 -0
  53. package/dist/esm/ts-rs/SimpleDatetimeFormat.d.ts +1 -0
  54. package/dist/esm/ts-rs/SimpleDatetimeStyleConfig.d.ts +6 -0
  55. package/dist/esm/ts-rs/Sort.d.ts +2 -0
  56. package/dist/esm/ts-rs/SortDir.d.ts +1 -0
  57. package/dist/esm/ts-rs/StringColorMode.d.ts +1 -0
  58. package/dist/esm/ts-rs/TrailingZeroDisplay.d.ts +1 -0
  59. package/dist/esm/ts-rs/UseGrouping.d.ts +1 -0
  60. package/dist/esm/ts-rs/ViewerConfigUpdate.d.ts +102 -0
  61. package/dist/esm/ts-rs/serde_json/JsonValue.d.ts +3 -0
  62. package/dist/wasm/perspective-viewer.d.ts +1291 -0
  63. package/dist/wasm/perspective-viewer.js +3883 -0
  64. package/dist/wasm/perspective-viewer.wasm +0 -0
  65. package/dist/wasm/perspective-viewer.wasm.d.ts +142 -0
  66. package/dist/wasm/snippets/perspective-viewer-c69283f6f62a5f14/inline0.js +1 -0
  67. package/dist/wasm/snippets/perspective-viewer-c69283f6f62a5f14/inline1.js +1 -0
  68. package/dist/wasm/snippets/perspective-viewer-c69283f6f62a5f14/inline2.js +1 -0
  69. package/dist/wasm/snippets/perspective-viewer-c69283f6f62a5f14/inline3.js +44 -0
  70. package/dist/wasm/snippets/perspective-viewer-c69283f6f62a5f14/inline4.js +1 -0
  71. package/package.json +55 -0
  72. package/src/less/aggregate-selector.less +72 -0
  73. package/src/less/column-dropdown.less +95 -0
  74. package/src/less/column-selector.less +551 -0
  75. package/src/less/column-settings-panel.less +255 -0
  76. package/src/less/column-style.less +319 -0
  77. package/src/less/column-symbol-attributes.less +73 -0
  78. package/src/less/config-selector.less +363 -0
  79. package/src/less/containers/dropdown-menu.less +94 -0
  80. package/src/less/containers/pairs-list.less +46 -0
  81. package/src/less/containers/radio-list.less +29 -0
  82. package/src/less/containers/scroll-panel.less +27 -0
  83. package/src/less/containers/split-panel.less +80 -0
  84. package/src/less/containers/tabs.less +90 -0
  85. package/src/less/dom/checkbox.less +100 -0
  86. package/src/less/dom/scrollbar.less +35 -0
  87. package/src/less/dom/select.less +63 -0
  88. package/src/less/empty-column.less +72 -0
  89. package/src/less/expression-editor.less +152 -0
  90. package/src/less/filter-dropdown.less +53 -0
  91. package/src/less/filter-item.less +126 -0
  92. package/src/less/form/code-editor.less +137 -0
  93. package/src/less/form/debug.less +88 -0
  94. package/src/less/function-dropdown.less +45 -0
  95. package/src/less/plugin-selector.less +173 -0
  96. package/src/less/render-warning.less +81 -0
  97. package/src/less/status-bar.less +551 -0
  98. package/src/less/type-icon.less +68 -0
  99. package/src/less/viewer.less +368 -0
  100. package/src/rust/components/column_dropdown.rs +162 -0
  101. package/src/rust/components/column_selector/active_column.rs +462 -0
  102. package/src/rust/components/column_selector/add_expression_button.rs +59 -0
  103. package/src/rust/components/column_selector/aggregate_selector.rs +186 -0
  104. package/src/rust/components/column_selector/config_selector.rs +674 -0
  105. package/src/rust/components/column_selector/empty_column.rs +134 -0
  106. package/src/rust/components/column_selector/expression_toolbar.rs +45 -0
  107. package/src/rust/components/column_selector/filter_column.rs +530 -0
  108. package/src/rust/components/column_selector/inactive_column.rs +221 -0
  109. package/src/rust/components/column_selector/invalid_column.rs +37 -0
  110. package/src/rust/components/column_selector/pivot_column.rs +93 -0
  111. package/src/rust/components/column_selector/sort_column.rs +135 -0
  112. package/src/rust/components/column_selector.rs +426 -0
  113. package/src/rust/components/column_settings_sidebar/attributes_tab.rs +34 -0
  114. package/src/rust/components/column_settings_sidebar/mod.rs +17 -0
  115. package/src/rust/components/column_settings_sidebar/save_settings.rs +68 -0
  116. package/src/rust/components/column_settings_sidebar/sidebar.rs +396 -0
  117. package/src/rust/components/column_settings_sidebar/style_tab/column_style.rs +177 -0
  118. package/src/rust/components/column_settings_sidebar/style_tab/stub.rs +34 -0
  119. package/src/rust/components/column_settings_sidebar/style_tab/symbol/row_selector.rs +101 -0
  120. package/src/rust/components/column_settings_sidebar/style_tab/symbol/symbol_config.rs +24 -0
  121. package/src/rust/components/column_settings_sidebar/style_tab/symbol/symbol_pairs.rs +185 -0
  122. package/src/rust/components/column_settings_sidebar/style_tab/symbol/symbol_selector.rs +55 -0
  123. package/src/rust/components/column_settings_sidebar/style_tab/symbol.rs +131 -0
  124. package/src/rust/components/column_settings_sidebar/style_tab.rs +231 -0
  125. package/src/rust/components/containers/dragdrop_list.rs +325 -0
  126. package/src/rust/components/containers/dropdown_menu.rs +104 -0
  127. package/src/rust/components/containers/kvpair.rs +47 -0
  128. package/src/rust/components/containers/mod.rs +28 -0
  129. package/src/rust/components/containers/scroll_panel.rs +311 -0
  130. package/src/rust/components/containers/scroll_panel_item.rs +111 -0
  131. package/src/rust/components/containers/select.rs +269 -0
  132. package/src/rust/components/containers/sidebar.rs +89 -0
  133. package/src/rust/components/containers/split_panel.rs +483 -0
  134. package/src/rust/components/containers/tab_list.rs +104 -0
  135. package/src/rust/components/containers/tests/mod.rs +11 -0
  136. package/src/rust/components/containers/tests/split_panel.rs +91 -0
  137. package/src/rust/components/containers/trap_door_panel.rs +50 -0
  138. package/src/rust/components/copy_dropdown.rs +136 -0
  139. package/src/rust/components/datetime_column_style/custom.rs +222 -0
  140. package/src/rust/components/datetime_column_style/simple.rs +122 -0
  141. package/src/rust/components/datetime_column_style.rs +284 -0
  142. package/src/rust/components/editable_header.rs +183 -0
  143. package/src/rust/components/empty_row.rs +169 -0
  144. package/src/rust/components/error_message.rs +56 -0
  145. package/src/rust/components/export_dropdown.rs +153 -0
  146. package/src/rust/components/expression_editor.rs +153 -0
  147. package/src/rust/components/filter_dropdown.rs +144 -0
  148. package/src/rust/components/font_loader.rs +254 -0
  149. package/src/rust/components/form/code_editor.rs +286 -0
  150. package/src/rust/components/form/color_range_selector.rs +115 -0
  151. package/src/rust/components/form/color_selector.rs +54 -0
  152. package/src/rust/components/form/debug.rs +253 -0
  153. package/src/rust/components/form/highlight.rs +50 -0
  154. package/src/rust/components/form/mod.rs +29 -0
  155. package/src/rust/components/form/number_field.rs +72 -0
  156. package/src/rust/components/form/number_input.rs +45 -0
  157. package/src/rust/components/form/number_range_field.rs +77 -0
  158. package/src/rust/components/form/optional_field.rs +53 -0
  159. package/src/rust/components/form/select_field.rs +104 -0
  160. package/src/rust/components/function_dropdown.rs +151 -0
  161. package/src/rust/components/mod.rs +45 -0
  162. package/src/rust/components/modal.rs +171 -0
  163. package/src/rust/components/number_column_style.rs +522 -0
  164. package/src/rust/components/plugin_selector.rs +196 -0
  165. package/src/rust/components/render_warning.rs +178 -0
  166. package/src/rust/components/status_bar.rs +315 -0
  167. package/src/rust/components/status_bar_counter.rs +229 -0
  168. package/src/rust/components/status_indicator.rs +164 -0
  169. package/src/rust/components/string_column_style.rs +186 -0
  170. package/src/rust/components/style/local_style.rs +35 -0
  171. package/src/rust/components/style/mod.rs +52 -0
  172. package/src/rust/components/style/style_cache.rs +132 -0
  173. package/src/rust/components/style/style_provider.rs +65 -0
  174. package/src/rust/components/style_controls/number_string_format/digits_section.rs +140 -0
  175. package/src/rust/components/style_controls/number_string_format/misc_section.rs +56 -0
  176. package/src/rust/components/style_controls/number_string_format/style_section.rs +69 -0
  177. package/src/rust/components/style_controls/number_string_format/types.rs +31 -0
  178. package/src/rust/components/style_controls/number_string_format.rs +259 -0
  179. package/src/rust/components/style_controls.rs +15 -0
  180. package/src/rust/components/type_icon.rs +53 -0
  181. package/src/rust/components/viewer.rs +668 -0
  182. package/src/rust/config/columns_config.rs +132 -0
  183. package/src/rust/config/datetime_column_style/color_mode.rs +62 -0
  184. package/src/rust/config/datetime_column_style/custom.rs +121 -0
  185. package/src/rust/config/datetime_column_style/custom_format.rs +90 -0
  186. package/src/rust/config/datetime_column_style/simple.rs +55 -0
  187. package/src/rust/config/datetime_column_style/simple_format.rs +86 -0
  188. package/src/rust/config/datetime_column_style.rs +104 -0
  189. package/src/rust/config/mod.rs +30 -0
  190. package/src/rust/config/number_column_style.rs +138 -0
  191. package/src/rust/config/number_string_format/enums.rs +298 -0
  192. package/src/rust/config/number_string_format.rs +269 -0
  193. package/src/rust/config/string_column_style.rs +140 -0
  194. package/src/rust/config/view_config.rs +24 -0
  195. package/src/rust/config/viewer_config.rs +337 -0
  196. package/src/rust/custom_elements/column_dropdown.rs +123 -0
  197. package/src/rust/custom_elements/copy_dropdown.rs +112 -0
  198. package/src/rust/custom_elements/debug_plugin.rs +114 -0
  199. package/src/rust/custom_elements/export_dropdown.rs +112 -0
  200. package/src/rust/custom_elements/filter_dropdown.rs +179 -0
  201. package/src/rust/custom_elements/function_dropdown.rs +115 -0
  202. package/src/rust/custom_elements/mod.rs +24 -0
  203. package/src/rust/custom_elements/modal.rs +395 -0
  204. package/src/rust/custom_elements/viewer.rs +880 -0
  205. package/src/rust/custom_events.rs +214 -0
  206. package/src/rust/dragdrop.rs +362 -0
  207. package/src/rust/exprtk/cursor.rs +81 -0
  208. package/src/rust/exprtk/mod.rs +17 -0
  209. package/src/rust/exprtk/tokenize/comment.rs +21 -0
  210. package/src/rust/exprtk/tokenize/number.rs +44 -0
  211. package/src/rust/exprtk/tokenize/string.rs +98 -0
  212. package/src/rust/exprtk/tokenize/symbol.rs +26 -0
  213. package/src/rust/exprtk/tokenize.rs +190 -0
  214. package/src/rust/js/clipboard.rs +77 -0
  215. package/src/rust/js/clipboard_item.rs +21 -0
  216. package/src/rust/js/intersection_observer.rs +32 -0
  217. package/src/rust/js/mimetype.rs +42 -0
  218. package/src/rust/js/mod.rs +29 -0
  219. package/src/rust/js/plugin.rs +167 -0
  220. package/src/rust/js/resize_observer.rs +37 -0
  221. package/src/rust/js/testing.rs +149 -0
  222. package/src/rust/lib.rs +116 -0
  223. package/src/rust/model/columns_iter_set.rs +340 -0
  224. package/src/rust/model/copy_export.rs +157 -0
  225. package/src/rust/model/create_col.rs +59 -0
  226. package/src/rust/model/edit_expression.rs +95 -0
  227. package/src/rust/model/export_app.rs +58 -0
  228. package/src/rust/model/export_method.rs +151 -0
  229. package/src/rust/model/get_viewer_config.rs +85 -0
  230. package/src/rust/model/intersection_observer.rs +81 -0
  231. package/src/rust/model/is_invalid_drop.rs +36 -0
  232. package/src/rust/model/mod.rs +93 -0
  233. package/src/rust/model/plugin_column_styles.rs +106 -0
  234. package/src/rust/model/resize_observer.rs +98 -0
  235. package/src/rust/model/restore_and_render.rs +113 -0
  236. package/src/rust/model/structural.rs +73 -0
  237. package/src/rust/model/update_and_render.rs +74 -0
  238. package/src/rust/presentation.rs +370 -0
  239. package/src/rust/renderer/activate.rs +49 -0
  240. package/src/rust/renderer/limits.rs +200 -0
  241. package/src/rust/renderer/plugin_store.rs +45 -0
  242. package/src/rust/renderer/registry.rs +135 -0
  243. package/src/rust/renderer/render_timer.rs +185 -0
  244. package/src/rust/renderer.rs +463 -0
  245. package/src/rust/session/column_defaults_update.rs +141 -0
  246. package/src/rust/session/drag_drop_update.rs +179 -0
  247. package/src/rust/session/metadata.rs +308 -0
  248. package/src/rust/session/replace_expression_update.rs +131 -0
  249. package/src/rust/session/view_subscription.rs +189 -0
  250. package/src/rust/session.rs +794 -0
  251. package/src/rust/utils/browser/blob.rs +49 -0
  252. package/src/rust/utils/browser/download.rs +26 -0
  253. package/src/rust/utils/browser/mod.rs +24 -0
  254. package/src/rust/utils/browser/request_animation_frame.rs +76 -0
  255. package/src/rust/utils/browser/selection.rs +79 -0
  256. package/src/rust/utils/browser/tests/debounce.rs +114 -0
  257. package/src/rust/utils/browser/tests/mod.rs +13 -0
  258. package/src/rust/utils/custom_element.rs +85 -0
  259. package/src/rust/utils/datetime.rs +49 -0
  260. package/src/rust/utils/debounce.rs +54 -0
  261. package/src/rust/utils/hooks/mod.rs +15 -0
  262. package/src/rust/utils/hooks/use_async_callback.rs +53 -0
  263. package/src/rust/utils/mod.rs +114 -0
  264. package/src/rust/utils/number_format.rs +48 -0
  265. package/src/rust/utils/pubsub.rs +222 -0
  266. package/src/rust/utils/scope.rs +54 -0
  267. package/src/rust/utils/tee.rs +88 -0
  268. package/src/rust/utils/tests/mod.rs +14 -0
  269. package/src/rust/utils/tests/pubsub.rs +95 -0
  270. package/src/rust/utils/tests/request_animation_frame.rs +42 -0
  271. package/src/rust/utils/wasm_abi.rs +61 -0
  272. package/src/rust/utils/weak_scope.rs +39 -0
  273. package/src/svg/align-scroll-icon.svg +7 -0
  274. package/src/svg/bg-pattern.png +0 -0
  275. package/src/svg/boolean-type.svg +3 -0
  276. package/src/svg/checkbox-checked-icon.svg +7 -0
  277. package/src/svg/checkbox-hover.svg +4 -0
  278. package/src/svg/checkbox-off.svg +4 -0
  279. package/src/svg/checkbox-on.svg +4 -0
  280. package/src/svg/checkbox-unchecked-icon.svg +3 -0
  281. package/src/svg/close-icon.svg +6 -0
  282. package/src/svg/column-settings-icon.svg +6 -0
  283. package/src/svg/datagrid-select-column.svg +15 -0
  284. package/src/svg/datagrid-select-region.svg +15 -0
  285. package/src/svg/datagrid-select-row.svg +13 -0
  286. package/src/svg/datagrid.svg +13 -0
  287. package/src/svg/date-type.svg +23 -0
  288. package/src/svg/downloading.gif +0 -0
  289. package/src/svg/drag-handle.svg +10 -0
  290. package/src/svg/drawer-bg-pattern-hidpi.png +0 -0
  291. package/src/svg/drawer-tab-hover.svg +8 -0
  292. package/src/svg/drawer-tab-invert-hover.svg +9 -0
  293. package/src/svg/drawer-tab-invert.svg +8 -0
  294. package/src/svg/drawer-tab.svg +7 -0
  295. package/src/svg/dropdown-selector-light.svg +3 -0
  296. package/src/svg/dropdown-selector.svg +3 -0
  297. package/src/svg/duplicate-icon.svg +4 -0
  298. package/src/svg/editable-icon.svg +5 -0
  299. package/src/svg/export-icon.svg +4 -0
  300. package/src/svg/expression.svg +10 -0
  301. package/src/svg/free-scroll-icon.svg +5 -0
  302. package/src/svg/inactive-mouseover.svg +4 -0
  303. package/src/svg/mega-menu-icons-candlestick.svg +38 -0
  304. package/src/svg/mega-menu-icons-datagrid.svg +38 -0
  305. package/src/svg/mega-menu-icons-heatmap.svg +60 -0
  306. package/src/svg/mega-menu-icons-map-scatter.svg +43 -0
  307. package/src/svg/mega-menu-icons-ohlc.svg +40 -0
  308. package/src/svg/mega-menu-icons-sunburst.svg +39 -0
  309. package/src/svg/mega-menu-icons-treemap.svg +44 -0
  310. package/src/svg/mega-menu-icons-x-bar.svg +36 -0
  311. package/src/svg/mega-menu-icons-x-y-line.svg +38 -0
  312. package/src/svg/mega-menu-icons-x-y-scatter.svg +72 -0
  313. package/src/svg/mega-menu-icons-y-area.svg +73 -0
  314. package/src/svg/mega-menu-icons-y-bar.svg +36 -0
  315. package/src/svg/mega-menu-icons-y-line.svg +36 -0
  316. package/src/svg/mega-menu-icons-y-scatter.svg +72 -0
  317. package/src/svg/number-type.svg +4 -0
  318. package/src/svg/radio-hover.svg +4 -0
  319. package/src/svg/radio-off.svg +3 -0
  320. package/src/svg/radio-on.svg +4 -0
  321. package/src/svg/read-only-icon.svg +6 -0
  322. package/src/svg/revert-icon.svg +4 -0
  323. package/src/svg/sort-abs-asc-icon.svg +3 -0
  324. package/src/svg/sort-abs-col-asc-icon.svg +3 -0
  325. package/src/svg/sort-abs-col-desc-icon.svg +3 -0
  326. package/src/svg/sort-abs-desc-icon.svg +3 -0
  327. package/src/svg/sort-asc-icon.svg +4 -0
  328. package/src/svg/sort-col-asc-icon.svg +4 -0
  329. package/src/svg/sort-col-desc-icon.svg +4 -0
  330. package/src/svg/sort-desc-icon.svg +4 -0
  331. package/src/svg/sort-none-icon.svg +3 -0
  332. package/src/svg/status_error.svg +70 -0
  333. package/src/svg/status_ok.svg +26 -0
  334. package/src/svg/string-type.svg +8 -0
  335. package/src/svg/theme-icon.svg +5 -0
  336. package/src/svg/updating.gif +0 -0
  337. package/src/themes/dracula.less +101 -0
  338. package/src/themes/gruvbox-dark.less +116 -0
  339. package/src/themes/gruvbox.less +152 -0
  340. package/src/themes/icons.less +130 -0
  341. package/src/themes/intl/de.less +102 -0
  342. package/src/themes/intl/es.less +102 -0
  343. package/src/themes/intl/fr.less +102 -0
  344. package/src/themes/intl/ja.less +102 -0
  345. package/src/themes/intl/pt.less +102 -0
  346. package/src/themes/intl/zh.less +102 -0
  347. package/src/themes/intl.less +102 -0
  348. package/src/themes/monokai.less +107 -0
  349. package/src/themes/pro-dark.less +147 -0
  350. package/src/themes/pro.less +186 -0
  351. package/src/themes/solarized-dark.less +78 -0
  352. package/src/themes/solarized.less +102 -0
  353. package/src/themes/themes.less +21 -0
  354. package/src/themes/vaporwave.less +145 -0
  355. package/src/themes/variables.less +24 -0
  356. package/src/ts/bootstrap.ts +26 -0
  357. package/src/ts/extensions.ts +124 -0
  358. package/src/ts/perspective-viewer.cdn.ts +19 -0
  359. package/src/ts/perspective-viewer.inline.ts +23 -0
  360. package/src/ts/perspective-viewer.ts +59 -0
  361. package/src/ts/plugin.ts +279 -0
  362. package/src/ts/ts-rs/Aggregate.ts +3 -0
  363. package/src/ts/ts-rs/ColumnConfigValues.ts +14 -0
  364. package/src/ts/ts-rs/CustomDatetimeFormat.ts +3 -0
  365. package/src/ts/ts-rs/CustomDatetimeStyleConfig.ts +5 -0
  366. package/src/ts/ts-rs/CustomNumberFormatConfig.ts +8 -0
  367. package/src/ts/ts-rs/DatetimeColorMode.ts +3 -0
  368. package/src/ts/ts-rs/DatetimeFormatType.ts +8 -0
  369. package/src/ts/ts-rs/Expressions.ts +3 -0
  370. package/src/ts/ts-rs/Filter.ts +4 -0
  371. package/src/ts/ts-rs/FilterReducer.ts +3 -0
  372. package/src/ts/ts-rs/FilterTerm.ts +4 -0
  373. package/src/ts/ts-rs/FormatMode.ts +3 -0
  374. package/src/ts/ts-rs/FormatUnit.ts +3 -0
  375. package/src/ts/ts-rs/NumberBackgroundMode.ts +3 -0
  376. package/src/ts/ts-rs/NumberForegroundMode.ts +3 -0
  377. package/src/ts/ts-rs/OnUpdateData.ts +8 -0
  378. package/src/ts/ts-rs/OptionalUpdate.ts +3 -0
  379. package/src/ts/ts-rs/PluginConfig.ts +4 -0
  380. package/src/ts/ts-rs/RoundingMode.ts +3 -0
  381. package/src/ts/ts-rs/RoundingPriority.ts +3 -0
  382. package/src/ts/ts-rs/Scalar.ts +7 -0
  383. package/src/ts/ts-rs/SignDisplay.ts +3 -0
  384. package/src/ts/ts-rs/SimpleDatetimeFormat.ts +3 -0
  385. package/src/ts/ts-rs/SimpleDatetimeStyleConfig.ts +4 -0
  386. package/src/ts/ts-rs/Sort.ts +4 -0
  387. package/src/ts/ts-rs/SortDir.ts +3 -0
  388. package/src/ts/ts-rs/StringColorMode.ts +3 -0
  389. package/src/ts/ts-rs/TrailingZeroDisplay.ts +3 -0
  390. package/src/ts/ts-rs/UseGrouping.ts +3 -0
  391. package/src/ts/ts-rs/ViewOnUpdateResp.ts +3 -0
  392. package/src/ts/ts-rs/ViewerConfigUpdate.ts +90 -0
  393. package/src/ts/ts-rs/serde_json/JsonValue.ts +3 -0
  394. package/tsconfig.json +15 -0
@@ -0,0 +1,95 @@
1
+ // ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
2
+ // ┃ ██████ ██████ ██████ █ █ █ █ █ █▄ ▀███ █ ┃
3
+ // ┃ ▄▄▄▄▄█ █▄▄▄▄▄ ▄▄▄▄▄█ ▀▀▀▀▀█▀▀▀▀▀ █ ▀▀▀▀▀█ ████████▌▐███ ███▄ ▀█ █ ▀▀▀▀▀ ┃
4
+ // ┃ █▀▀▀▀▀ █▀▀▀▀▀ █▀██▀▀ ▄▄▄▄▄ █ ▄▄▄▄▄█ ▄▄▄▄▄█ ████████▌▐███ █████▄ █ ▄▄▄▄▄ ┃
5
+ // ┃ █ ██████ █ ▀█▄ █ ██████ █ ███▌▐███ ███████▄ █ ┃
6
+ // ┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫
7
+ // ┃ Copyright (c) 2017, the Perspective Authors. ┃
8
+ // ┃ ╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ┃
9
+ // ┃ This file is part of the Perspective library, distributed under the terms ┃
10
+ // ┃ of the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ┃
11
+ // ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
12
+
13
+ use std::cell::RefCell;
14
+ use std::rc::Rc;
15
+
16
+ use wasm_bindgen_test::*;
17
+
18
+ use super::super::pubsub::*;
19
+
20
+ #[wasm_bindgen_test]
21
+ pub async fn test_pub_sub() {
22
+ let pubsub: PubSub<u32> = PubSub::default();
23
+ let called: Rc<RefCell<Option<u32>>> = Rc::new(RefCell::new(None));
24
+ let callback = {
25
+ let called = called.clone();
26
+ move |x| {
27
+ *called.borrow_mut() = Some(x);
28
+ }
29
+ };
30
+
31
+ let sub = pubsub.add_listener(callback);
32
+ pubsub.emit(1);
33
+ assert_eq!(*called.borrow(), Some(1));
34
+ drop(sub);
35
+ }
36
+
37
+ #[wasm_bindgen_test]
38
+ pub async fn test_pub_sub_multiple() {
39
+ let pubsub: PubSub<u32> = PubSub::default();
40
+ let called1: Rc<RefCell<Option<u32>>> = Rc::new(RefCell::new(None));
41
+ let called2: Rc<RefCell<Option<u32>>> = Rc::new(RefCell::new(None));
42
+ let callback1 = {
43
+ let called = called1.clone();
44
+ move |x| {
45
+ *called.borrow_mut() = Some(x);
46
+ }
47
+ };
48
+
49
+ let callback2 = {
50
+ let called = called2.clone();
51
+ move |x| {
52
+ *called.borrow_mut() = Some(x);
53
+ }
54
+ };
55
+
56
+ // Must be in scope or subscriptions will drop immediately!
57
+ let sub1 = pubsub.add_listener(callback1);
58
+ let sub2 = pubsub.add_listener(callback2);
59
+
60
+ pubsub.emit(1);
61
+ assert_eq!(*called1.borrow(), Some(1));
62
+ assert_eq!(*called2.borrow(), Some(1));
63
+
64
+ drop(sub1);
65
+ drop(sub2);
66
+ }
67
+
68
+ #[wasm_bindgen_test]
69
+ pub async fn test_pub_sub_multiple_drop_first() {
70
+ let pubsub: PubSub<u32> = PubSub::default();
71
+ let called1: Rc<RefCell<Option<u32>>> = Rc::new(RefCell::new(None));
72
+ let called2: Rc<RefCell<Option<u32>>> = Rc::new(RefCell::new(None));
73
+ let callback1 = {
74
+ let called = called1.clone();
75
+ move |x| {
76
+ *called.borrow_mut() = Some(x);
77
+ }
78
+ };
79
+
80
+ let callback2 = {
81
+ let called = called2.clone();
82
+ move |x| {
83
+ *called.borrow_mut() = Some(x);
84
+ }
85
+ };
86
+
87
+ let _ = pubsub.add_listener(callback1);
88
+ let sub = pubsub.add_listener(callback2);
89
+
90
+ pubsub.emit(1);
91
+ assert_eq!(*called1.borrow(), None);
92
+ assert_eq!(*called2.borrow(), Some(1));
93
+
94
+ drop(sub);
95
+ }
@@ -0,0 +1,42 @@
1
+ // ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
2
+ // ┃ ██████ ██████ ██████ █ █ █ █ █ █▄ ▀███ █ ┃
3
+ // ┃ ▄▄▄▄▄█ █▄▄▄▄▄ ▄▄▄▄▄█ ▀▀▀▀▀█▀▀▀▀▀ █ ▀▀▀▀▀█ ████████▌▐███ ███▄ ▀█ █ ▀▀▀▀▀ ┃
4
+ // ┃ █▀▀▀▀▀ █▀▀▀▀▀ █▀██▀▀ ▄▄▄▄▄ █ ▄▄▄▄▄█ ▄▄▄▄▄█ ████████▌▐███ █████▄ █ ▄▄▄▄▄ ┃
5
+ // ┃ █ ██████ █ ▀█▄ █ ██████ █ ███▌▐███ ███████▄ █ ┃
6
+ // ┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫
7
+ // ┃ Copyright (c) 2017, the Perspective Authors. ┃
8
+ // ┃ ╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ┃
9
+ // ┃ This file is part of the Perspective library, distributed under the terms ┃
10
+ // ┃ of the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ┃
11
+ // ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
12
+
13
+ use std::cell::*;
14
+ use std::rc::*;
15
+
16
+ use wasm_bindgen_futures::spawn_local;
17
+ use wasm_bindgen_test::*;
18
+
19
+ use crate::utils::*;
20
+
21
+ #[wasm_bindgen_test]
22
+ async fn test_request_animation_frame_async() {
23
+ // Merely test that this Promise resolves at all ..
24
+ request_animation_frame().await;
25
+ }
26
+
27
+ #[wasm_bindgen_test]
28
+ async fn test_async_in_correct_order() {
29
+ let cell = Rc::new(RefCell::new(vec![]));
30
+ spawn_local({
31
+ clone!(cell);
32
+ async move {
33
+ request_animation_frame().await;
34
+ cell.borrow_mut().push("1");
35
+ }
36
+ });
37
+
38
+ request_animation_frame().await;
39
+ cell.borrow_mut().push("2");
40
+ request_animation_frame().await;
41
+ assert_eq!(vec!["2", "1"], *cell.borrow());
42
+ }
@@ -0,0 +1,61 @@
1
+ // ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
2
+ // ┃ ██████ ██████ ██████ █ █ █ █ █ █▄ ▀███ █ ┃
3
+ // ┃ ▄▄▄▄▄█ █▄▄▄▄▄ ▄▄▄▄▄█ ▀▀▀▀▀█▀▀▀▀▀ █ ▀▀▀▀▀█ ████████▌▐███ ███▄ ▀█ █ ▀▀▀▀▀ ┃
4
+ // ┃ █▀▀▀▀▀ █▀▀▀▀▀ █▀██▀▀ ▄▄▄▄▄ █ ▄▄▄▄▄█ ▄▄▄▄▄█ ████████▌▐███ █████▄ █ ▄▄▄▄▄ ┃
5
+ // ┃ █ ██████ █ ▀█▄ █ ██████ █ ███▌▐███ ███████▄ █ ┃
6
+ // ┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫
7
+ // ┃ Copyright (c) 2017, the Perspective Authors. ┃
8
+ // ┃ ╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ┃
9
+ // ┃ This file is part of the Perspective library, distributed under the terms ┃
10
+ // ┃ of the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ┃
11
+ // ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
12
+
13
+ /// A macro for implementing the `wasm_bindgen` boilerplate for types which
14
+ /// implement `serde::{Serialize, Deserialize}`.
15
+ ///
16
+ /// # Examples
17
+ ///
18
+ /// ```
19
+ /// struct MyStruct { .. }
20
+ /// derive_wasm_abi!(MyStruct, FromWasmAbi);
21
+ ///
22
+ /// #[wasm_bindgen]
23
+ /// pub fn process_my_struct(s: MyStruct) {}
24
+ /// ```
25
+ #[macro_export]
26
+ macro_rules! derive_wasm_abi {
27
+ ($type:ty) => {
28
+ impl wasm_bindgen::describe::WasmDescribe for $type {
29
+ fn describe() {
30
+ <js_sys::Object as wasm_bindgen::describe::WasmDescribe>::describe()
31
+ }
32
+ }
33
+ };
34
+
35
+ ($type:ty, FromWasmAbi $(, $symbols:tt)*) => {
36
+ impl wasm_bindgen::convert::FromWasmAbi for $type {
37
+ type Abi = <js_sys::Object as wasm_bindgen::convert::IntoWasmAbi>::Abi;
38
+ #[inline]
39
+ unsafe fn from_abi(js: Self::Abi) -> Self {
40
+ let obj = unsafe { js_sys::Object::from_abi(js) };
41
+ use ::perspective_js::utils::JsValueSerdeExt;
42
+ wasm_bindgen::JsValue::from(obj).into_serde_ext().unwrap()
43
+ }
44
+ }
45
+
46
+ derive_wasm_abi!($type $(, $symbols)*);
47
+ };
48
+
49
+ ($type:ty, IntoWasmAbi $(, $symbols:tt)*) => {
50
+ impl wasm_bindgen::convert::IntoWasmAbi for $type {
51
+ type Abi = <js_sys::Object as wasm_bindgen::convert::IntoWasmAbi>::Abi;
52
+ #[inline]
53
+ fn into_abi(self) -> Self::Abi {
54
+ use wasm_bindgen::JsCast;
55
+ <wasm_bindgen::JsValue as ::perspective_js::utils::JsValueSerdeExt>::from_serde_ext(&self).unwrap().unchecked_into::<js_sys::Object>().into_abi()
56
+ }
57
+ }
58
+
59
+ derive_wasm_abi!($type $(, $symbols)*);
60
+ };
61
+ }
@@ -0,0 +1,39 @@
1
+ // ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
2
+ // ┃ ██████ ██████ ██████ █ █ █ █ █ █▄ ▀███ █ ┃
3
+ // ┃ ▄▄▄▄▄█ █▄▄▄▄▄ ▄▄▄▄▄█ ▀▀▀▀▀█▀▀▀▀▀ █ ▀▀▀▀▀█ ████████▌▐███ ███▄ ▀█ █ ▀▀▀▀▀ ┃
4
+ // ┃ █▀▀▀▀▀ █▀▀▀▀▀ █▀██▀▀ ▄▄▄▄▄ █ ▄▄▄▄▄█ ▄▄▄▄▄█ ████████▌▐███ █████▄ █ ▄▄▄▄▄ ┃
5
+ // ┃ █ ██████ █ ▀█▄ █ ██████ █ ███▌▐███ ███████▄ █ ┃
6
+ // ┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫
7
+ // ┃ Copyright (c) 2017, the Perspective Authors. ┃
8
+ // ┃ ╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ┃
9
+ // ┃ This file is part of the Perspective library, distributed under the terms ┃
10
+ // ┃ of the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ┃
11
+ // ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
12
+
13
+ use std::cell::RefCell;
14
+ use std::ops::Deref;
15
+ use std::rc::Rc;
16
+
17
+ use derivative::Derivative;
18
+ use yew::html::Scope;
19
+ use yew::prelude::*;
20
+
21
+ /// A mutable reference for capturing the `Scope<_>` props arguments, a useful
22
+ /// function for tests.
23
+ #[derive(Derivative)]
24
+ #[derivative(Clone(bound = ""), Default(bound = ""))]
25
+ pub struct WeakScope<C: Component>(Rc<RefCell<Option<Scope<C>>>>);
26
+
27
+ impl<C: Component> Deref for WeakScope<C> {
28
+ type Target = Rc<RefCell<Option<Scope<C>>>>;
29
+
30
+ fn deref(&self) -> &Self::Target {
31
+ &self.0
32
+ }
33
+ }
34
+
35
+ impl<C: Component> PartialEq for WeakScope<C> {
36
+ fn eq(&self, other: &Self) -> bool {
37
+ Rc::ptr_eq(&self.0, &other.0)
38
+ }
39
+ }
@@ -0,0 +1,7 @@
1
+ <svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect x="6.5" y="9.5" width="8" height="7" stroke="#042121"/>
3
+ <path d="M13 9V8.5C13 7.11929 11.8807 6 10.5 6V6C9.11929 6 8 7.11929 8 8.5V9" stroke="#042121"/>
4
+ <path d="M11.4911 13C11.4911 13.5523 11.0434 14 10.4911 14C9.93878 14 9.49107 13.5523 9.49107 13C9.49107 12.4477 9.93878 12 10.4911 12C11.0434 12 11.4911 12.4477 11.4911 13Z" fill="#042121"/>
5
+ <line x1="4.5" y1="5" x2="4.5" y2="17" stroke="#042121"/>
6
+ <line x1="16.5" y1="5" x2="16.5" y2="17" stroke="#042121"/>
7
+ </svg>
Binary file
@@ -0,0 +1,3 @@
1
+ <svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M0.5 5.8V8C0.5 8.82843 1.17157 9.5 2 9.5H4.8C5.62843 9.5 6.3 8.82843 6.3 8V7.2C6.3 6.92386 6.52386 6.7 6.8 6.7H8C8.82843 6.7 9.5 6.02843 9.5 5.2V3C9.5 2.17157 8.82843 1.5 8 1.5H5.2C4.37157 1.5 3.7 2.17157 3.7 3V3.8C3.7 4.07614 3.47614 4.3 3.2 4.3H2C1.17157 4.3 0.5 4.97157 0.5 5.8Z" stroke="#042121"/>
3
+ </svg>
@@ -0,0 +1,7 @@
1
+ <svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <defs></defs>
3
+ <path
4
+ d="M 2 0 L 12 0 C 13.105 0 14 0.895 14 2 L 14 12 C 14 13.105 13.105 14 12 14 L 2 14 C 0.895 14 0 13.105 0 12 L 0 2 C 0 0.895 0.895 0 2 0 Z M 3.646 7.354 L 5.646 9.354 L 6 9.707 L 6.354 9.354 L 10.854 4.854 L 10.146 4.146 L 6 8.293 L 4.354 6.646 Z"
5
+ fill="#FFFFFF"></path>
6
+ <path d="M4 7L6 9L10.5 4.5" style="visibility: hidden;"></path>
7
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect x="0.5" y="0.5" width="13" height="13" rx="1.5" stroke="#3F4343"/>
3
+ <rect x="4" y="4" width="6" height="6" rx="2" fill="#3F4343"/>
4
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect x="0.5" y="0.5" width="13" height="13" rx="1.5" stroke="#3F4343"/>
3
+ <rect x="5" y="5" width="4" height="4" rx="2" fill="#3F4343"/>
4
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect x="0.5" y="0.5" width="13" height="13" rx="1.5" stroke="#3F4343"/>
3
+ <rect x="2" y="2" width="10" height="10" rx="2" fill="#3F4343"/>
4
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect x="0.5" y="0.5" width="13" height="13" rx="1.5" stroke="#FFFFFF" />
3
+ </svg>
@@ -0,0 +1,6 @@
1
+ <svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <line y1="-0.5" x2="13.4536" y2="-0.5" transform="matrix(0.668965 0.743294 -0.668965 0.743294 6 6)"
3
+ stroke="#042121" />
4
+ <line y1="-0.5" x2="13.4536" y2="-0.5" transform="matrix(-0.668965 0.743294 0.668965 0.743294 16 6)"
5
+ stroke="#042121" />
6
+ </svg>
@@ -0,0 +1,6 @@
1
+ <svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M4.5 3L4.5 11" stroke="#042121" stroke-linecap="round"/>
3
+ <path d="M9.5 3L9.5 11" stroke="#042121" stroke-linecap="round"/>
4
+ <path d="M6 8.5C6 9.32843 5.32843 10 4.5 10C3.67157 10 3 9.32843 3 8.5C3 7.67157 3.67157 7 4.5 7C5.32843 7 6 7.67157 6 8.5Z" fill="#FDFFFD" stroke="#042121"/>
5
+ <path d="M11 5.5C11 6.32843 10.3284 7 9.5 7C8.67157 7 8 6.32843 8 5.5C8 4.67157 8.67157 4 9.5 4C10.3284 4 11 4.67157 11 5.5Z" fill="#FDFFFD" stroke="#042121"/>
6
+ </svg>
@@ -0,0 +1,15 @@
1
+ <svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <defs></defs>
3
+ <rect x="3" y="4" width="15" height="1" style="fill: rgb(216, 216, 216); stroke: rgb(0, 0, 0); stroke-width: 0px;">
4
+ </rect>
5
+ <rect x="3" y="6.973" width="15" height="1"
6
+ style="fill: rgb(216, 216, 216); stroke: rgb(0, 0, 0); stroke-width: 0px;"></rect>
7
+ <rect x="3" y="10" width="15" height="1" style="fill: rgb(216, 216, 216); stroke: rgb(0, 0, 0); stroke-width: 0px;">
8
+ </rect>
9
+ <rect x="3" y="13" width="15" height="1" style="fill: rgb(216, 216, 216); stroke: rgb(0, 0, 0); stroke-width: 0px;">
10
+ </rect>
11
+ <rect x="3" y="16" width="15" height="1" style="fill: rgb(216, 216, 216); stroke: rgb(0, 0, 0); stroke-width: 0px;">
12
+ </rect>
13
+ <rect style="fill: rgb(216, 216, 216); stroke: rgb(0, 0, 0); stroke-width: 0px;" y="4" width="3" height="13" x="6">
14
+ </rect>
15
+ </svg>
@@ -0,0 +1,15 @@
1
+ <svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <defs></defs>
3
+ <rect x="3" y="4" width="15" height="1" style="fill: rgb(216, 216, 216); stroke: rgb(0, 0, 0); stroke-width: 0px;">
4
+ </rect>
5
+ <rect x="3" y="6.973" width="15" height="1"
6
+ style="fill: rgb(216, 216, 216); stroke: rgb(0, 0, 0); stroke-width: 0px;"></rect>
7
+ <rect x="3" y="10" width="15" height="1" style="fill: rgb(216, 216, 216); stroke: rgb(0, 0, 0); stroke-width: 0px;">
8
+ </rect>
9
+ <rect x="3" y="13" width="15" height="1" style="fill: rgb(216, 216, 216); stroke: rgb(0, 0, 0); stroke-width: 0px;">
10
+ </rect>
11
+ <rect x="3" y="16" width="15" height="1" style="fill: rgb(216, 216, 216); stroke: rgb(0, 0, 0); stroke-width: 0px;">
12
+ </rect>
13
+ <rect style="fill: rgb(216, 216, 216); stroke: rgb(0, 0, 0); stroke-width: 0px;" y="7" width="6" height="7" x="6">
14
+ </rect>
15
+ </svg>
@@ -0,0 +1,13 @@
1
+ <svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <defs></defs>
3
+ <rect x="3" y="4" width="15" height="1" style="fill: rgb(216, 216, 216); stroke: rgb(0, 0, 0); stroke-width: 0px;">
4
+ </rect>
5
+ <rect x="3" y="6.973" width="15" height="4"
6
+ style="fill: rgb(216, 216, 216); stroke: rgb(0, 0, 0); stroke-width: 0px;"></rect>
7
+ <rect x="3" y="10" width="15" height="1" style="fill: rgb(216, 216, 216); stroke: rgb(0, 0, 0); stroke-width: 0px;">
8
+ </rect>
9
+ <rect x="3" y="13" width="15" height="1" style="fill: rgb(216, 216, 216); stroke: rgb(0, 0, 0); stroke-width: 0px;">
10
+ </rect>
11
+ <rect x="3" y="16" width="15" height="1" style="fill: rgb(216, 216, 216); stroke: rgb(0, 0, 0); stroke-width: 0px;">
12
+ </rect>
13
+ </svg>
@@ -0,0 +1,13 @@
1
+ <svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <defs></defs>
3
+ <rect x="3" y="4" width="15" height="1" style="fill: rgb(216, 216, 216); stroke: rgb(0, 0, 0); stroke-width: 0px;">
4
+ </rect>
5
+ <rect x="3" y="6.973" width="15" height="1"
6
+ style="fill: rgb(216, 216, 216); stroke: rgb(0, 0, 0); stroke-width: 0px;"></rect>
7
+ <rect x="3" y="10" width="15" height="1" style="fill: rgb(216, 216, 216); stroke: rgb(0, 0, 0); stroke-width: 0px;">
8
+ </rect>
9
+ <rect x="3" y="13" width="15" height="1" style="fill: rgb(216, 216, 216); stroke: rgb(0, 0, 0); stroke-width: 0px;">
10
+ </rect>
11
+ <rect x="3" y="16" width="15" height="1" style="fill: rgb(216, 216, 216); stroke: rgb(0, 0, 0); stroke-width: 0px;">
12
+ </rect>
13
+ </svg>
@@ -0,0 +1,23 @@
1
+ <svg width="13" height="13" viewBox="0 0 13 13" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g filter="url(#filter0_d_720_7795)" transform="matrix(1, 0, 0, 1, -3.5, -3.5)">
3
+ <mask id="path-1-inside-1_720_7795" fill="white">
4
+ <rect x="5" y="6" width="9.99892" height="8.33243" rx="0.833244"></rect>
5
+ </mask>
6
+ <rect x="5" y="6" width="9.99892" height="8.33243" rx="0.833244" stroke="#042121" stroke-width="2" mask="url(#path-1-inside-1_720_7795)"></rect>
7
+ <path d="M7.29663 6V7.14831" stroke="#042121" stroke-linecap="round"></path>
8
+ <path d="M12.9148 6V7.14831" stroke="#042121" stroke-linecap="round"></path>
9
+ <line x1="5.83423" y1="8.83276" x2="14.9999" y2="8.83276" stroke="#042121"></line>
10
+ </g>
11
+ <defs>
12
+ <filter id="filter0_d_720_7795" x="0" y="0.5" width="22" height="20.8325" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
13
+ <feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood>
14
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix>
15
+ <feOffset dx="1" dy="1"></feOffset>
16
+ <feGaussianBlur stdDeviation="3"></feGaussianBlur>
17
+ <feComposite in2="hardAlpha" operator="out"></feComposite>
18
+ <feColorMatrix type="matrix" values="0 0 0 0 0.167709 0 0 0 0 0.32947 0 0 0 0 0.322437 0 0 0 0.1 0"></feColorMatrix>
19
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_720_7795"></feBlend>
20
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_720_7795" result="shape"></feBlend>
21
+ </filter>
22
+ </defs>
23
+ </svg>
Binary file
@@ -0,0 +1,10 @@
1
+ <svg width="5" height="12" viewBox="0 0 5 12" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <circle cx="3.49996" cy="11.0001" r="0.833333" fill="#6E6E6E"/>
3
+ <circle cx="0.833333" cy="11.0001" r="0.833333" fill="#6E6E6E"/>
4
+ <circle cx="3.49996" cy="7.66683" r="0.833333" fill="#6E6E6E"/>
5
+ <circle cx="0.833333" cy="7.66683" r="0.833333" fill="#6E6E6E"/>
6
+ <circle cx="3.49996" cy="4.33333" r="0.833333" fill="#6E6E6E"/>
7
+ <circle cx="0.833333" cy="4.33333" r="0.833333" fill="#6E6E6E"/>
8
+ <circle cx="3.49996" cy="1.00008" r="0.833333" fill="#6E6E6E"/>
9
+ <circle cx="0.833333" cy="1.00008" r="0.833333" fill="#6E6E6E"/>
10
+ </svg>
@@ -0,0 +1,8 @@
1
+ <svg width="26" height="18" viewBox="0 0 26 18" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g transform="translate(0.5, 0.5)">
3
+ <path d="M 0 4 C 0 1 1 0 4 0 L 26 0 L 26 17 L 4 17 C 1.791 17 0 15.209 0 13 Z" stroke="#042121"></path>
4
+ <path
5
+ d="M 5.646 5.52 L 8.626 8.5 L 5.646 11.48 C 5.451 11.675 5.451 11.992 5.646 12.187 C 5.842 12.382 6.158 12.382 6.353 12.187 L 9.687 8.854 L 10.04 8.5 L 6.353 4.813 C 6.158 4.618 5.842 4.618 5.646 4.813 C 5.451 5.008 5.451 5.325 5.646 5.52 Z M 9.98 5.52 L 12.96 8.5 L 9.98 11.48 C 9.785 11.675 9.785 11.992 9.98 12.187 C 10.175 12.382 10.492 12.382 10.687 12.187 L 14.374 8.5 L 10.687 4.813 C 10.492 4.618 10.175 4.618 9.98 4.813 C 9.785 5.008 9.785 5.325 9.98 5.52 Z"
6
+ fill="#042121"></path>
7
+ </g>
8
+ </svg>
@@ -0,0 +1,9 @@
1
+ <svg width="26" height="18" viewBox="0 0 26 18" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g transform="translate(0.5, 0.5)">
3
+ <path d="
4
+ M 0 4 C 0 1.791 1.791 0 4 0 L 26 0 L 26 17 L 4 17 C 1.791 17 0 15.209 0 13 Z
5
+ M 14.228 11.48 L 11.248 8.5 L 14.228 5.52 C 14.423 5.325 14.423 5.008 14.228 4.813 C 14.033 4.618 13.716 4.618 13.521 4.813 L 9.834 8.5 L 13.521 12.187 C 13.716 12.382 14.033 12.382 14.228 12.187 C 14.423 11.992 14.423 11.675 14.228 11.48 Z
6
+ M 9.894 11.48 L 6.914 8.5 L 9.894 5.52 C 10.089 5.325 10.089 5.008 9.894 4.813 C 9.698 4.618 9.382 4.618 9.187 4.813 L 5.853 8.146 L 5.5 8.5 L 9.187 12.187 C 9.382 12.382 9.698 12.382 9.894 12.187 C 10.089 11.992 10.089 11.675 9.894 11.48 Z
7
+ " fill="#042121"></path>
8
+ </g>
9
+ </svg>
@@ -0,0 +1,8 @@
1
+ <svg width="26" height="18" viewBox="0 0 25 18" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g transform="translate(0.5, 0.5)">
3
+ <path d="
4
+ M 14.228 11.48 L 11.248 8.5 L 14.228 5.52 C 14.423 5.325 14.423 5.008 14.228 4.813 C 14.033 4.618 13.716 4.618 13.521 4.813 L 9.834 8.5 L 13.521 12.187 C 13.716 12.382 14.033 12.382 14.228 12.187 C 14.423 11.992 14.423 11.675 14.228 11.48 Z
5
+ M 9.894 11.48 L 6.914 8.5 L 9.894 5.52 C 10.089 5.325 10.089 5.008 9.894 4.813 C 9.698 4.618 9.382 4.618 9.187 4.813 L 5.853 8.146 L 5.5 8.5 L 9.187 12.187 C 9.382 12.382 9.698 12.382 9.894 12.187 C 10.089 11.992 10.089 11.675 9.894 11.48 Z
6
+ " fill="#042121"></path>
7
+ </g>
8
+ </svg>
@@ -0,0 +1,7 @@
1
+ <svg width="26" height="18" viewBox="0 0 25 18" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g transform="translate(0.5, 0.5)">
3
+ <path
4
+ d="M 0 4 C 0 1.791 1.791 0 4 0 L 26 0 L 26 17 L 4 17 C 1.791 17 0 15.209 0 13 Z M 5.646 5.52 L 8.626 8.5 L 5.646 11.48 C 5.451 11.675 5.451 11.992 5.646 12.187 C 5.842 12.382 6.158 12.382 6.353 12.187 L 9.687 8.854 L 10.04 8.5 L 6.353 4.813 C 6.158 4.618 5.842 4.618 5.646 4.813 C 5.451 5.008 5.451 5.325 5.646 5.52 Z M 9.98 5.52 L 12.96 8.5 L 9.98 11.48 C 9.785 11.675 9.785 11.992 9.98 12.187 C 10.175 12.382 10.492 12.382 10.687 12.187 L 14.374 8.5 L 10.687 4.813 C 10.492 4.618 10.175 4.618 9.98 4.813 C 9.785 5.008 9.785 5.325 9.98 5.52 Z"
5
+ fill="#042121"></path>
6
+ </g>
7
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="6" height="4" viewBox="0 0 6 4" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M1 1L3.17687 3.17687L5.35374 1" stroke="#ffffff" stroke-width="0.725624" stroke-linecap="round"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="6" height="4" viewBox="0 0 6 4" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M1 1L3.17687 3.17687L5.35374 1" stroke="#042121" stroke-width="0.725624" stroke-linecap="round"/>
3
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M14 13.5V16H6V6H8.5" stroke="#042121"/>
3
+ <rect x="8.5" y="4.5" width="7" height="9" stroke="#042121"/>
4
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M5 14L13.7929 5.20711C14.1834 4.81658 14.8166 4.81658 15.2071 5.20711L15.7929 5.79289C16.1834 6.18342 16.1834 6.81658 15.7929 7.20711L7 16H5V14Z" stroke="#042121"/>
3
+ <path d="M13 10.5L10.5 8L12 6.5L14.5 9L13 10.5Z" fill="#042121"/>
4
+ <path d="M15 8.5L12.5 6L13.7929 4.70711C14.1834 4.31658 14.8166 4.31658 15.2071 4.70711L16.2929 5.79289C16.6834 6.18342 16.6834 6.81658 16.2929 7.20711L15 8.5Z" fill="#042121"/>
5
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M14 11.8L14 15L6 15L6 7L8.4 7" stroke="#042121"/>
3
+ <path d="M16.5 5C16.5 4.72386 16.2761 4.5 16 4.5H11.5C11.2239 4.5 11 4.72386 11 5C11 5.27614 11.2239 5.5 11.5 5.5H15.5V9.5C15.5 9.77614 15.7239 10 16 10C16.2761 10 16.5 9.77614 16.5 9.5V5ZM15.6464 4.64645L10.6464 9.64645L11.3536 10.3536L16.3536 5.35355L15.6464 4.64645Z" fill="#042121"/>
4
+ </svg>
@@ -0,0 +1,10 @@
1
+ <svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <defs></defs>
3
+ <path d="M 15.915 8.555 L 10.213 14.257" stroke-width="1.00491" stroke-linecap="round" style="stroke: #042121">
4
+ </path>
5
+ <path
6
+ d="M 1.616 14.33 L 3.251 14.33 C 4.28 14.33 5.158 13.586 5.327 12.571 L 6.584 4.992 C 6.752 3.976 7.63 3.232 8.66 3.232 L 11.347 3.232"
7
+ stroke-width="1.00491" stroke-linecap="round" style="stroke:#042121"></path>
8
+ <path d="M 10.212 8.555 L 15.914 14.257" stroke-width="1.00491" stroke-linecap="round" style="stroke: #042121">
9
+ </path>
10
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect x="6.5" y="8.5" width="8" height="7" stroke="#042121"/>
3
+ <path d="M8 8V7.80776C8 6.25708 9.25708 5 10.8078 5H10.9384C12.15 5 13.2061 5.82459 13.5 7V7" stroke="#042121"/>
4
+ <path d="M11.5 12C11.5 12.5523 11.0523 13 10.5 13C9.94772 13 9.5 12.5523 9.5 12C9.5 11.4477 9.94772 11 10.5 11C11.0523 11 11.5 11.4477 11.5 12Z" fill="#042121"/>
5
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="11" height="11" viewBox="0 0 11 11" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <circle cx="5.5" cy="5.5" r="5" stroke="#3F4343" />
3
+ <circle cx="5.5" cy="5.5" r="3" stroke="#3F4343" />
4
+ </svg>
@@ -0,0 +1,38 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 27.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 80 70" style="enable-background:new 0 0 80 70;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill:#042121;}
7
+ </style>
8
+ <g id="Layer_1">
9
+ </g>
10
+ <g id="Layer_2">
11
+ </g>
12
+ <g id="Layer_3">
13
+ </g>
14
+ <g id="Layer_4">
15
+ </g>
16
+ <g id="Layer_5">
17
+ </g>
18
+ <g id="Layer_6">
19
+ </g>
20
+ <g id="Layer_7">
21
+ </g>
22
+ <g id="Layer_8">
23
+ </g>
24
+ <g id="Layer_9">
25
+ </g>
26
+ <g id="Layer_10">
27
+ </g>
28
+ <g id="Layer_12">
29
+ </g>
30
+ <g id="Layer_13">
31
+ </g>
32
+ <g id="Layer_11">
33
+ <g>
34
+ <path class="st0" d="M30,10.8h-2v11.9h-8v37.6h18V22.6h-8V10.8z M36,58.2H22V24.6h14V58.2z"/>
35
+ <path class="st0" d="M53,38.5v-9.9h-2v9.9h-7v21.8h16V38.5H53z M58,58.2H46V40.5h12V58.2z"/>
36
+ </g>
37
+ </g>
38
+ </svg>
@@ -0,0 +1,38 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 27.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 80 70" style="enable-background:new 0 0 80 70;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill:#042121;}
7
+ </style>
8
+ <g id="Layer_1">
9
+ </g>
10
+ <g id="Layer_2">
11
+ <path class="st0" d="M70,10H10c-1.1,0-2,0.9-2,2v46c0,1.1,0.9,2,2,2h60c1.1,0,2-0.9,2-2V12C72,10.9,71.1,10,70,10z M70,12v14H56.5
12
+ V12H70z M25.5,28H39v14H25.5V28z M23.5,42H10l0-14h13.5V42z M41,28h13.5v14H41V28z M56.5,28H70v14H56.5V28z M54.5,12v14H41V12H54.5
13
+ z M39,12v14H25.5V12H39z M10,12h13.5v14H10L10,12L10,12z M10,58l0-14h13.5v14H10z M25.5,58V44H39v14H25.5z M41,58V44h13.5v14H41z
14
+ M56.5,58V44H70v14H56.5z"/>
15
+ </g>
16
+ <g id="Layer_3">
17
+ </g>
18
+ <g id="Layer_4">
19
+ </g>
20
+ <g id="Layer_5">
21
+ </g>
22
+ <g id="Layer_6">
23
+ </g>
24
+ <g id="Layer_7">
25
+ </g>
26
+ <g id="Layer_8">
27
+ </g>
28
+ <g id="Layer_9">
29
+ </g>
30
+ <g id="Layer_10">
31
+ </g>
32
+ <g id="Layer_12">
33
+ </g>
34
+ <g id="Layer_13">
35
+ </g>
36
+ <g id="Layer_11">
37
+ </g>
38
+ </svg>