@carto/ps-react-ui 5.0.0-widgets.9 → 5.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions-BjPfCLG9.js +1024 -0
- package/dist/actions-BjPfCLG9.js.map +1 -0
- package/dist/actions-CGJD6q0t.js +1318 -0
- package/dist/actions-CGJD6q0t.js.map +1 -0
- package/dist/category-DGUDabsi.js +829 -0
- package/dist/category-DGUDabsi.js.map +1 -0
- package/dist/chart-config-B_fdIcD3.js +108 -0
- package/dist/chart-config-B_fdIcD3.js.map +1 -0
- package/dist/chat.js +1642 -0
- package/dist/chat.js.map +1 -0
- package/dist/cjs-CBrZjPCj.js +75 -0
- package/dist/cjs-CBrZjPCj.js.map +1 -0
- package/dist/components-FED-ArwH.js +4053 -0
- package/dist/components-FED-ArwH.js.map +1 -0
- package/dist/components.js +5 -1351
- package/dist/copy-button-TTlZONkX.js +34 -0
- package/dist/copy-button-TTlZONkX.js.map +1 -0
- package/dist/csv-modifiers-D6HGC24b.js +26 -0
- package/dist/csv-modifiers-D6HGC24b.js.map +1 -0
- package/dist/download-DdaK3qgC.js +232 -0
- package/dist/download-DdaK3qgC.js.map +1 -0
- package/dist/echart-BkaV3V5G.js +133 -0
- package/dist/echart-BkaV3V5G.js.map +1 -0
- package/dist/echart-CRihbmRv.js +249 -0
- package/dist/echart-CRihbmRv.js.map +1 -0
- package/dist/formatter-wVO81tYk.js +6 -0
- package/dist/formatter-wVO81tYk.js.map +1 -0
- package/dist/formula-YfZmmuYX.js +190 -0
- package/dist/formula-YfZmmuYX.js.map +1 -0
- package/dist/formula-noJzQwKo.js +285 -0
- package/dist/formula-noJzQwKo.js.map +1 -0
- package/dist/hooks-zf5gKZYq.js +22 -0
- package/dist/hooks-zf5gKZYq.js.map +1 -0
- package/dist/legend/stores.js +2 -0
- package/dist/legend.js +2284 -0
- package/dist/legend.js.map +1 -0
- package/dist/markdown-2dfL6Cmb.js +165 -0
- package/dist/markdown-2dfL6Cmb.js.map +1 -0
- package/dist/markdown-content-BWUqwx9F.js +8776 -0
- package/dist/markdown-content-BWUqwx9F.js.map +1 -0
- package/dist/range-BCMAl5xf.js +277 -0
- package/dist/range-BCMAl5xf.js.map +1 -0
- package/dist/rolldown-runtime-B0aSnxlc.js +20 -0
- package/dist/row-CvVGBuy_.js +35 -0
- package/dist/row-CvVGBuy_.js.map +1 -0
- package/dist/shared-resize-observer-BEiP2rQt.js +157 -0
- package/dist/shared-resize-observer-BEiP2rQt.js.map +1 -0
- package/dist/smart-tooltip-CwGHCqab.js +34 -0
- package/dist/smart-tooltip-CwGHCqab.js.map +1 -0
- package/dist/spread-Ccpg9fi0.js +149 -0
- package/dist/spread-Ccpg9fi0.js.map +1 -0
- package/dist/stores-mad-9yFn.js +369 -0
- package/dist/stores-mad-9yFn.js.map +1 -0
- package/dist/stores-tiFePP0A.js +243 -0
- package/dist/stores-tiFePP0A.js.map +1 -0
- package/dist/styles-Y-qGBELO.js +13 -0
- package/dist/styles-Y-qGBELO.js.map +1 -0
- package/dist/table-Bx9Uj3U0.js +440 -0
- package/dist/table-Bx9Uj3U0.js.map +1 -0
- package/dist/tooltip-DJUGNZxY.js +23 -0
- package/dist/tooltip-DJUGNZxY.js.map +1 -0
- package/dist/types/chat/bubbles/chat-agent-message-markdown.d.ts +12 -0
- package/dist/types/chat/bubbles/chat-agent-message.d.ts +9 -0
- package/dist/types/chat/bubbles/chat-error-message.d.ts +2 -0
- package/dist/types/chat/bubbles/chat-suggestion-button.d.ts +2 -0
- package/dist/types/chat/bubbles/chat-user-message.d.ts +2 -0
- package/dist/types/chat/bubbles/index.d.ts +5 -0
- package/dist/types/chat/bubbles/styles.d.ts +88 -0
- package/dist/types/chat/const.d.ts +4 -0
- package/dist/types/chat/containers/chat-content.d.ts +2 -0
- package/dist/types/chat/containers/chat-footer.d.ts +2 -0
- package/dist/types/chat/containers/chat-header.d.ts +2 -0
- package/dist/types/chat/containers/chat-starter.d.ts +2 -0
- package/dist/types/chat/containers/index.d.ts +4 -0
- package/dist/types/chat/containers/styles.d.ts +160 -0
- package/dist/types/chat/feedback/chat-actions-container.d.ts +3 -0
- package/dist/types/chat/feedback/chat-loader.d.ts +2 -0
- package/dist/types/chat/feedback/chat-rating-action.d.ts +2 -0
- package/dist/types/chat/feedback/chat-thinking.d.ts +2 -0
- package/dist/types/chat/feedback/chat-tool-code-area.d.ts +2 -0
- package/dist/types/chat/feedback/chat-tool-full-view-dialog.d.ts +2 -0
- package/dist/types/chat/feedback/chat-tool-group.d.ts +2 -0
- package/dist/types/chat/feedback/chat-tool-trace.d.ts +3 -0
- package/dist/types/chat/feedback/get-tool-label.d.ts +2 -0
- package/dist/types/chat/feedback/index.d.ts +8 -0
- package/dist/types/chat/feedback/styles.d.ts +212 -0
- package/dist/types/chat/index.d.ts +21 -0
- package/dist/types/chat/types.d.ts +214 -0
- package/dist/types/chat/use-typewriter.d.ts +32 -0
- package/dist/types/components/basemaps/basemaps.d.ts +21 -1
- package/dist/types/components/basemaps/const.d.ts +1 -1
- package/dist/types/components/basemaps/group-wrapper.d.ts +1 -1
- package/dist/types/components/basemaps/group.d.ts +2 -2
- package/dist/types/components/basemaps/header.d.ts +2 -2
- package/dist/types/components/common-types.d.ts +49 -0
- package/dist/types/components/copy-button/copy-button.d.ts +2 -0
- package/dist/types/components/copy-button/types.d.ts +6 -0
- package/dist/types/components/geolocation-controls/geolocation-controls.d.ts +12 -1
- package/dist/types/components/index.d.ts +37 -20
- package/dist/types/components/lasso-tool/chip.d.ts +2 -2
- package/dist/types/components/lasso-tool/const.d.ts +2 -2
- package/dist/types/components/lasso-tool/edit-confirm-toolbar.d.ts +26 -0
- package/dist/types/components/lasso-tool/geometry-toolbar.d.ts +49 -0
- package/dist/types/components/lasso-tool/icons.d.ts +22 -5
- package/dist/types/components/lasso-tool/lasso-tool-inline.d.ts +36 -3
- package/dist/types/components/lasso-tool/lasso-tool.d.ts +34 -9
- package/dist/types/components/lasso-tool/layer-filters.d.ts +10 -0
- package/dist/types/components/lasso-tool/message.d.ts +7 -0
- package/dist/types/components/lasso-tool/options-sections.d.ts +28 -0
- package/dist/types/components/lasso-tool/styles.d.ts +24 -2
- package/dist/types/components/lasso-tool/toolbar/actions/accept-action.d.ts +13 -0
- package/dist/types/components/lasso-tool/toolbar/actions/action-menu.d.ts +28 -0
- package/dist/types/components/lasso-tool/toolbar/actions/cancel-action.d.ts +13 -0
- package/dist/types/components/lasso-tool/toolbar/actions/color-action.d.ts +44 -0
- package/dist/types/components/lasso-tool/toolbar/actions/delete-action.d.ts +11 -0
- package/dist/types/components/lasso-tool/toolbar/actions/duplicate-action.d.ts +11 -0
- package/dist/types/components/lasso-tool/toolbar/actions/edit-geometry-action.d.ts +13 -0
- package/dist/types/components/lasso-tool/toolbar/actions/edit-properties-action.d.ts +60 -0
- package/dist/types/components/lasso-tool/toolbar/actions/fill-action.d.ts +26 -0
- package/dist/types/components/lasso-tool/toolbar/actions/intersect-action.d.ts +14 -0
- package/dist/types/components/lasso-tool/toolbar/actions/label-action.d.ts +69 -0
- package/dist/types/components/lasso-tool/toolbar/actions/lock-action.d.ts +17 -0
- package/dist/types/components/lasso-tool/toolbar/actions/redo-action.d.ts +14 -0
- package/dist/types/components/lasso-tool/toolbar/actions/split-action.d.ts +14 -0
- package/dist/types/components/lasso-tool/toolbar/actions/stroke-action.d.ts +27 -0
- package/dist/types/components/lasso-tool/toolbar/actions/subtract-action.d.ts +14 -0
- package/dist/types/components/lasso-tool/toolbar/actions/toggle-type-action.d.ts +19 -0
- package/dist/types/components/lasso-tool/toolbar/actions/undo-action.d.ts +14 -0
- package/dist/types/components/lasso-tool/toolbar/actions/union-action.d.ts +14 -0
- package/dist/types/components/lasso-tool/toolbar/button.d.ts +24 -0
- package/dist/types/components/lasso-tool/toolbar/connected.d.ts +55 -0
- package/dist/types/components/lasso-tool/toolbar/context.d.ts +31 -0
- package/dist/types/components/lasso-tool/toolbar/index.d.ts +41 -0
- package/dist/types/components/lasso-tool/toolbar/styles.d.ts +26 -0
- package/dist/types/components/lasso-tool/toolbar/toolbar.d.ts +30 -0
- package/dist/types/components/lasso-tool/tools-context.d.ts +12 -0
- package/dist/types/components/lasso-tool/types.d.ts +284 -10
- package/dist/types/components/lasso-tool/undo-redo.d.ts +25 -0
- package/dist/types/components/list-data/list-data-skeleton.d.ts +1 -1
- package/dist/types/components/list-data/list-data.d.ts +17 -1
- package/dist/types/components/measurement-tools/const.d.ts +2 -2
- package/dist/types/components/measurement-tools/icons.d.ts +3 -3
- package/dist/types/components/measurement-tools/measurement-tools.d.ts +21 -1
- package/dist/types/components/measurement-tools/styles.d.ts +14 -4
- package/dist/types/components/measurement-tools/types.d.ts +1 -1
- package/dist/types/components/no-data-alert/no-data-alert.d.ts +1 -1
- package/dist/types/components/responsive-drawer/responsive-drawer.d.ts +38 -6
- package/dist/types/components/smart-tooltip/smart-tooltip.d.ts +18 -1
- package/dist/types/components/tooltip/tooltip.d.ts +14 -1
- package/dist/types/components/types.d.ts +1 -1
- package/dist/types/components/zoom-controls/zoom-controls.d.ts +17 -1
- package/dist/types/hooks/index.d.ts +1 -2
- package/dist/types/hooks/use-widget-ref.d.ts +10 -6
- package/dist/types/legend/components/a11y.d.ts +6 -0
- package/dist/types/legend/components/contexts.d.ts +38 -0
- package/dist/types/legend/components/icons.d.ts +12 -0
- package/dist/types/legend/components/index.d.ts +26 -0
- package/dist/types/legend/components/legend-actions/legend-actions.d.ts +25 -0
- package/dist/types/legend/components/legend-actions/styles.d.ts +7 -0
- package/dist/types/legend/components/legend-category/legend-category-ui.d.ts +13 -0
- package/dist/types/legend/components/legend-category/styles.d.ts +52 -0
- package/dist/types/legend/components/legend-config-select/legend-config-select.d.ts +14 -0
- package/dist/types/legend/components/legend-config-select/styles.d.ts +44 -0
- package/dist/types/legend/components/legend-group/legend-group.d.ts +12 -0
- package/dist/types/legend/components/legend-group/styles.d.ts +129 -0
- package/dist/types/legend/components/legend-group-menu/legend-group-menu-items.d.ts +28 -0
- package/dist/types/legend/components/legend-group-menu/legend-group-menu.d.ts +11 -0
- package/dist/types/legend/components/legend-icon/legend-icon-ui.d.ts +10 -0
- package/dist/types/legend/components/legend-icon/styles.d.ts +52 -0
- package/dist/types/legend/components/legend-item/legend-item-ui.d.ts +14 -0
- package/dist/types/legend/components/legend-item/legend-item.d.ts +10 -0
- package/dist/types/{widgets/root/style.d.ts → legend/components/legend-item/styles.d.ts} +2 -3
- package/dist/types/legend/components/legend-opacity/legend-opacity.d.ts +22 -0
- package/dist/types/legend/components/legend-opacity/styles.d.ts +28 -0
- package/dist/types/legend/components/legend-overflow-menu/legend-overflow-menu.d.ts +12 -0
- package/dist/types/legend/components/legend-panel-menu/legend-panel-menu.d.ts +11 -0
- package/dist/types/legend/components/legend-proportion/legend-proportion-ui.d.ts +16 -0
- package/dist/types/legend/components/legend-proportion/styles.d.ts +37 -0
- package/dist/types/legend/components/legend-ramp/legend-ramp-ui.d.ts +20 -0
- package/dist/types/legend/components/legend-ramp/styles.d.ts +53 -0
- package/dist/types/legend/components/legend-row/legend-row.d.ts +16 -0
- package/dist/types/legend/components/legend-row/styles.d.ts +149 -0
- package/dist/types/legend/components/legend-row-menu/legend-row-menu-items.d.ts +12 -0
- package/dist/types/legend/components/legend-row-menu/legend-row-menu.d.ts +12 -0
- package/dist/types/legend/components/legend-row-menu/legend-zoom-to.d.ts +10 -0
- package/dist/types/legend/components/legend-sortable/contexts.d.ts +7 -0
- package/dist/types/legend/components/legend-sortable/legend-sortable.d.ts +11 -0
- package/dist/types/legend/components/legend-sortable/sortable-entity.d.ts +27 -0
- package/dist/types/legend/components/legend-sortable/sortable-ids.d.ts +6 -0
- package/dist/types/legend/components/legend-sortable/styles.d.ts +55 -0
- package/dist/types/legend/components/legend-swatch/legend-swatch.d.ts +26 -0
- package/dist/types/legend/components/legend-visibility-toggle/legend-visibility-toggle.d.ts +35 -0
- package/dist/types/legend/components/legend-visible-layers/legend-visible-layers.d.ts +7 -0
- package/dist/types/legend/components/legend-visible-layers/styles.d.ts +48 -0
- package/dist/types/legend/components/run-async-menu-action.d.ts +7 -0
- package/dist/types/legend/index.d.ts +135 -0
- package/dist/types/legend/provider/index.d.ts +6 -0
- package/dist/types/legend/provider/labels.d.ts +48 -0
- package/dist/types/legend/provider/legend-config-context.d.ts +7 -0
- package/dist/types/legend/provider/legend-provider.d.ts +38 -0
- package/dist/types/legend/stores/index.d.ts +5 -0
- package/dist/types/legend/stores/legend-context.d.ts +4 -0
- package/dist/types/legend/stores/legend-store-registry.d.ts +39 -0
- package/dist/types/legend/stores/selectors.d.ts +64 -0
- package/dist/types/legend/stores/types.d.ts +294 -0
- package/dist/types/widgets/actions/brush-toggle/brush-overlay.d.ts +24 -0
- package/dist/types/widgets/actions/brush-toggle/brush-toggle.d.ts +29 -0
- package/dist/types/widgets/actions/brush-toggle/hit-test.d.ts +19 -0
- package/dist/types/widgets/actions/brush-toggle/style.d.ts +21 -0
- package/dist/types/widgets/actions/brush-toggle/types.d.ts +73 -0
- package/dist/types/widgets/actions/change-column/change-column-icon.d.ts +1 -1
- package/dist/types/widgets/actions/change-column/change-column.d.ts +6 -2
- package/dist/types/widgets/actions/change-column/sortable-column-item.d.ts +2 -2
- package/dist/types/widgets/actions/download/download.d.ts +13 -2
- package/dist/types/widgets/actions/download/exports.d.ts +16 -1
- package/dist/types/widgets/actions/download/types.d.ts +1 -1
- package/dist/types/widgets/actions/fullscreen/fullscreen.d.ts +15 -2
- package/dist/types/widgets/actions/fullscreen/types.d.ts +3 -2
- package/dist/types/widgets/actions/index.d.ts +20 -18
- package/dist/types/widgets/actions/lock-selection/lock-selection.d.ts +2 -2
- package/dist/types/widgets/actions/lock-selection/types.d.ts +10 -10
- package/dist/types/widgets/actions/relative-data/relative-data.d.ts +10 -4
- package/dist/types/widgets/actions/relative-data/types.d.ts +3 -1
- package/dist/types/widgets/actions/relative-data/utils.d.ts +1 -1
- package/dist/types/widgets/actions/searcher/searcher-toggle.d.ts +2 -2
- package/dist/types/widgets/actions/searcher/searcher.d.ts +2 -2
- package/dist/types/widgets/actions/searcher/types.d.ts +2 -2
- package/dist/types/widgets/actions/stack-toggle/grouped-bar-chart-icon.d.ts +1 -1
- package/dist/types/widgets/actions/stack-toggle/stack-toggle.d.ts +5 -4
- package/dist/types/widgets/actions/stack-toggle/types.d.ts +1 -1
- package/dist/types/widgets/actions/zoom-toggle/types.d.ts +1 -1
- package/dist/types/widgets/actions/zoom-toggle/zoom-toggle.d.ts +10 -2
- package/dist/types/widgets/bar/config.d.ts +8 -4
- package/dist/types/widgets/bar/index.d.ts +3 -3
- package/dist/types/widgets/bar/skeleton.d.ts +1 -1
- package/dist/types/widgets/bar/types.d.ts +3 -3
- package/dist/types/widgets/category/category-ui.d.ts +5 -2
- package/dist/types/widgets/category/components/category-bar.d.ts +4 -1
- package/dist/types/widgets/category/components/category-legend.d.ts +5 -2
- package/dist/types/widgets/category/components/category-row-multi.d.ts +6 -2
- package/dist/types/widgets/category/components/category-row-other.d.ts +4 -1
- package/dist/types/widgets/category/components/category-row-single.d.ts +6 -2
- package/dist/types/widgets/category/config.d.ts +16 -12
- package/dist/types/widgets/category/index.d.ts +14 -6
- package/dist/types/widgets/category/skeleton.d.ts +1 -1
- package/dist/types/widgets/category/style.d.ts +1 -1
- package/dist/types/widgets/category/types.d.ts +4 -3
- package/dist/types/widgets/echart/echart-ui.d.ts +9 -2
- package/dist/types/widgets/echart/echart.d.ts +8 -2
- package/dist/types/widgets/echart/index.d.ts +5 -5
- package/dist/types/widgets/echart/options.d.ts +8 -1
- package/dist/types/widgets/echart/shared-resize-observer.d.ts +12 -0
- package/dist/types/widgets/echart/types.d.ts +7 -2
- package/dist/types/widgets/echart/utils.d.ts +57 -9
- package/dist/types/widgets/error/error.d.ts +12 -2
- package/dist/types/widgets/error/index.d.ts +2 -2
- package/dist/types/widgets/error/types.d.ts +9 -1
- package/dist/types/widgets/formula/components/item.d.ts +5 -2
- package/dist/types/widgets/formula/components/prefix.d.ts +5 -2
- package/dist/types/widgets/formula/components/row.d.ts +5 -2
- package/dist/types/widgets/formula/components/series.d.ts +5 -2
- package/dist/types/widgets/formula/components/suffix.d.ts +5 -2
- package/dist/types/widgets/formula/components/value.d.ts +5 -2
- package/dist/types/widgets/formula/config.d.ts +13 -2
- package/dist/types/widgets/formula/formula-ui.d.ts +5 -2
- package/dist/types/widgets/formula/index.d.ts +11 -11
- package/dist/types/widgets/formula/serializer.d.ts +1 -1
- package/dist/types/widgets/formula/skeleton.d.ts +1 -1
- package/dist/types/widgets/formula/types.d.ts +3 -3
- package/dist/types/widgets/histogram/config.d.ts +20 -4
- package/dist/types/widgets/histogram/index.d.ts +4 -3
- package/dist/types/widgets/histogram/skeleton.d.ts +1 -1
- package/dist/types/widgets/histogram/types.d.ts +8 -5
- package/dist/types/widgets/loader/index.d.ts +3 -0
- package/dist/types/widgets/loader/loader.d.ts +24 -0
- package/dist/types/widgets/loader/types.d.ts +9 -0
- package/dist/types/widgets/loader/utils.d.ts +35 -0
- package/dist/types/widgets/markdown/config.d.ts +12 -2
- package/dist/types/widgets/markdown/index.d.ts +5 -5
- package/dist/types/widgets/markdown/markdown-ui.d.ts +9 -2
- package/dist/types/widgets/markdown/markdown.d.ts +5 -2
- package/dist/types/widgets/markdown/skeleton.d.ts +1 -1
- package/dist/types/widgets/markdown/types.d.ts +3 -3
- package/dist/types/widgets/no-data/index.d.ts +2 -2
- package/dist/types/widgets/no-data/no-data.d.ts +5 -4
- package/dist/types/widgets/no-data/types.d.ts +6 -2
- package/dist/types/widgets/note/index.d.ts +2 -2
- package/dist/types/widgets/note/note.d.ts +12 -2
- package/dist/types/widgets/note/types.d.ts +1 -1
- package/dist/types/widgets/pie/config.d.ts +8 -4
- package/dist/types/widgets/pie/index.d.ts +3 -3
- package/dist/types/widgets/pie/skeleton.d.ts +1 -1
- package/dist/types/widgets/pie/types.d.ts +3 -3
- package/dist/types/widgets/range/components/range-item.d.ts +5 -2
- package/dist/types/widgets/range/config.d.ts +6 -5
- package/dist/types/widgets/range/index.d.ts +6 -6
- package/dist/types/widgets/range/range-ui.d.ts +5 -2
- package/dist/types/widgets/range/serializer.d.ts +1 -1
- package/dist/types/widgets/range/skeleton.d.ts +1 -1
- package/dist/types/widgets/range/types.d.ts +3 -3
- package/dist/types/widgets/scatterplot/config.d.ts +8 -4
- package/dist/types/widgets/scatterplot/index.d.ts +3 -3
- package/dist/types/widgets/scatterplot/skeleton.d.ts +1 -1
- package/dist/types/widgets/scatterplot/types.d.ts +3 -3
- package/dist/types/widgets/selection-summary/index.d.ts +2 -2
- package/dist/types/widgets/selection-summary/selection-summary.d.ts +13 -2
- package/dist/types/widgets/skeleton-loader/index.d.ts +2 -2
- package/dist/types/widgets/skeleton-loader/skeleton-loader.d.ts +12 -2
- package/dist/types/widgets/skeleton-loader/types.d.ts +1 -1
- package/dist/types/widgets/spread/components/max-value.d.ts +5 -2
- package/dist/types/widgets/spread/components/min-value.d.ts +5 -2
- package/dist/types/widgets/spread/components/separator.d.ts +5 -2
- package/dist/types/widgets/spread/config.d.ts +14 -8
- package/dist/types/widgets/spread/index.d.ts +9 -9
- package/dist/types/widgets/spread/skeleton.d.ts +1 -1
- package/dist/types/widgets/spread/spread-ui.d.ts +5 -2
- package/dist/types/widgets/spread/types.d.ts +4 -4
- package/dist/types/widgets/stores/index.d.ts +3 -2
- package/dist/types/widgets/stores/types.d.ts +31 -10
- package/dist/types/widgets/stores/use-widget-selector.d.ts +35 -0
- package/dist/types/widgets/stores/widget-store.d.ts +48 -27
- package/dist/types/widgets/subheader/index.d.ts +2 -2
- package/dist/types/widgets/subheader/subheader.d.ts +13 -2
- package/dist/types/widgets/table/components/cell-header.d.ts +2 -2
- package/dist/types/widgets/table/components/cell.d.ts +4 -2
- package/dist/types/widgets/table/components/pagination-actions.d.ts +2 -2
- package/dist/types/widgets/table/components/pagination.d.ts +2 -2
- package/dist/types/widgets/table/components/row.d.ts +2 -2
- package/dist/types/widgets/table/config.d.ts +10 -6
- package/dist/types/widgets/table/hooks/use-pagination.d.ts +12 -4
- package/dist/types/widgets/table/hooks/use-selection.d.ts +12 -3
- package/dist/types/widgets/table/hooks/use-sort.d.ts +12 -4
- package/dist/types/widgets/table/index.d.ts +17 -13
- package/dist/types/widgets/table/serializer.d.ts +1 -1
- package/dist/types/widgets/table/skeleton.d.ts +1 -1
- package/dist/types/widgets/table/table-ui.d.ts +8 -8
- package/dist/types/widgets/table/types.d.ts +5 -5
- package/dist/types/widgets/timeseries/config.d.ts +8 -4
- package/dist/types/widgets/timeseries/index.d.ts +3 -3
- package/dist/types/widgets/timeseries/skeleton.d.ts +1 -1
- package/dist/types/widgets/timeseries/types.d.ts +3 -3
- package/dist/types/widgets/toolbar-actions/index.d.ts +2 -2
- package/dist/types/widgets/toolbar-actions/toolbar-actions.d.ts +13 -4
- package/dist/types/widgets/toolbar-actions/types.d.ts +10 -3
- package/dist/types/widgets/{_shared → utils}/chart-config/config-factory.d.ts +1 -1
- package/dist/types/widgets/utils/chart-config/download-config.d.ts +3 -0
- package/dist/types/widgets/utils/chart-config/index.d.ts +9 -0
- package/dist/types/widgets/utils/chart-config/option-builders.d.ts +142 -0
- package/dist/types/widgets/utils/formatter.d.ts +2 -0
- package/dist/types/widgets/utils/index.d.ts +7 -0
- package/dist/types/widgets/utils/skeleton/index.d.ts +4 -0
- package/dist/types/widgets/wrapper/components/actions.d.ts +5 -2
- package/dist/types/widgets/wrapper/components/options.d.ts +5 -2
- package/dist/types/widgets/wrapper/components/title.d.ts +5 -2
- package/dist/types/widgets/wrapper/index.d.ts +6 -6
- package/dist/types/widgets/wrapper/types.d.ts +1 -1
- package/dist/types/widgets/wrapper/wrapper-ui.d.ts +16 -2
- package/dist/types/widgets/wrapper/wrapper.d.ts +16 -2
- package/dist/types/widgets-v2/actions/brush-toggle/brush-toggle.d.ts +56 -0
- package/dist/types/widgets-v2/actions/brush-toggle/index.d.ts +3 -0
- package/dist/types/widgets-v2/actions/brush-toggle/labels.d.ts +5 -0
- package/dist/types/widgets-v2/actions/brush-toggle/style.d.ts +12 -0
- package/dist/types/widgets-v2/actions/brush-toggle/transforms.d.ts +11 -0
- package/dist/types/widgets-v2/actions/change-column/change-column-icon.d.ts +2 -0
- package/dist/types/widgets-v2/actions/change-column/change-column.d.ts +29 -0
- package/dist/types/widgets-v2/actions/change-column/index.d.ts +3 -0
- package/dist/types/widgets-v2/actions/change-column/labels.d.ts +6 -0
- package/dist/types/widgets-v2/actions/change-column/sortable-column-item.d.ts +14 -0
- package/dist/types/widgets-v2/actions/change-column/style.d.ts +59 -0
- package/dist/types/widgets-v2/actions/change-column/types.d.ts +10 -0
- package/dist/types/widgets-v2/actions/download/constants.d.ts +12 -0
- package/dist/types/widgets-v2/actions/download/csv-item.d.ts +38 -0
- package/dist/types/widgets-v2/actions/download/download.d.ts +18 -0
- package/dist/types/widgets-v2/actions/download/exports.d.ts +37 -0
- package/dist/types/widgets-v2/actions/download/icons.d.ts +18 -0
- package/dist/types/widgets-v2/actions/download/index.d.ts +8 -0
- package/dist/types/widgets-v2/actions/download/labels.d.ts +11 -0
- package/dist/types/widgets-v2/actions/download/png-item.d.ts +24 -0
- package/dist/types/widgets-v2/actions/download/style.d.ts +1 -0
- package/dist/types/widgets-v2/actions/download/types.d.ts +35 -0
- package/dist/types/widgets-v2/actions/fullscreen/fullscreen.d.ts +78 -0
- package/dist/types/widgets-v2/actions/fullscreen/index.d.ts +3 -0
- package/dist/types/widgets-v2/actions/fullscreen/labels.d.ts +5 -0
- package/dist/types/widgets-v2/actions/fullscreen/style.d.ts +57 -0
- package/dist/types/widgets-v2/actions/fullscreen/types.d.ts +14 -0
- package/dist/types/widgets-v2/actions/index.d.ts +10 -0
- package/dist/types/widgets-v2/actions/lock-selection/index.d.ts +3 -0
- package/dist/types/widgets-v2/actions/lock-selection/labels.d.ts +6 -0
- package/dist/types/widgets-v2/actions/lock-selection/lock-selection.d.ts +57 -0
- package/dist/types/widgets-v2/actions/lock-selection/style.d.ts +12 -0
- package/dist/types/widgets-v2/actions/lock-selection/transforms.d.ts +6 -0
- package/dist/types/widgets-v2/actions/relative-data/index.d.ts +3 -0
- package/dist/types/widgets-v2/actions/relative-data/labels.d.ts +5 -0
- package/dist/types/widgets-v2/actions/relative-data/relative-data.d.ts +39 -0
- package/dist/types/widgets-v2/actions/relative-data/style.d.ts +12 -0
- package/dist/types/widgets-v2/actions/relative-data/transforms.d.ts +30 -0
- package/dist/types/widgets-v2/actions/searcher/filter.d.ts +6 -0
- package/dist/types/widgets-v2/actions/searcher/index.d.ts +4 -0
- package/dist/types/widgets-v2/actions/searcher/labels.d.ts +7 -0
- package/dist/types/widgets-v2/actions/searcher/searcher-toggle.d.ts +23 -0
- package/dist/types/widgets-v2/actions/searcher/searcher.d.ts +11 -0
- package/dist/types/widgets-v2/actions/searcher/style.d.ts +16 -0
- package/dist/types/widgets-v2/actions/show-all/index.d.ts +2 -0
- package/dist/types/widgets-v2/actions/show-all/labels.d.ts +5 -0
- package/dist/types/widgets-v2/actions/show-all/show-all.d.ts +33 -0
- package/dist/types/widgets-v2/actions/show-all/style.d.ts +8 -0
- package/dist/types/widgets-v2/actions/stack-toggle/index.d.ts +3 -0
- package/dist/types/widgets-v2/actions/stack-toggle/labels.d.ts +5 -0
- package/dist/types/widgets-v2/actions/stack-toggle/stack-toggle.d.ts +10 -0
- package/dist/types/widgets-v2/actions/stack-toggle/style.d.ts +12 -0
- package/dist/types/widgets-v2/actions/stack-toggle/transforms.d.ts +13 -0
- package/dist/types/widgets-v2/actions/zoom-toggle/index.d.ts +3 -0
- package/dist/types/widgets-v2/actions/zoom-toggle/labels.d.ts +5 -0
- package/dist/types/widgets-v2/actions/zoom-toggle/style.d.ts +12 -0
- package/dist/types/widgets-v2/actions/zoom-toggle/transforms.d.ts +51 -0
- package/dist/types/widgets-v2/actions/zoom-toggle/zoom-toggle.d.ts +35 -0
- package/dist/types/widgets-v2/bar/download.d.ts +24 -0
- package/dist/types/widgets-v2/bar/index.d.ts +4 -0
- package/dist/types/widgets-v2/bar/options.d.ts +43 -0
- package/dist/types/widgets-v2/bar/skeleton.d.ts +6 -0
- package/dist/types/widgets-v2/bar/types.d.ts +46 -0
- package/dist/types/widgets-v2/category/category-ui.d.ts +88 -0
- package/dist/types/widgets-v2/category/category.d.ts +55 -0
- package/dist/types/widgets-v2/category/components/category-bar-stacked.d.ts +28 -0
- package/dist/types/widgets-v2/category/components/category-bar.d.ts +23 -0
- package/dist/types/widgets-v2/category/components/category-legend.d.ts +34 -0
- package/dist/types/widgets-v2/category/components/category-row-multi.d.ts +31 -0
- package/dist/types/widgets-v2/category/components/category-row-other.d.ts +26 -0
- package/dist/types/widgets-v2/category/components/category-row-single.d.ts +28 -0
- package/dist/types/widgets-v2/category/components/category-row-stacked.d.ts +43 -0
- package/dist/types/widgets-v2/category/download.d.ts +16 -0
- package/dist/types/widgets-v2/category/index.d.ts +10 -0
- package/dist/types/widgets-v2/category/skeleton.d.ts +11 -0
- package/dist/types/widgets-v2/category/style.d.ts +193 -0
- package/dist/types/widgets-v2/category/types.d.ts +55 -0
- package/dist/types/widgets-v2/echart/echart-ui.d.ts +44 -0
- package/dist/types/widgets-v2/echart/echart.d.ts +83 -0
- package/dist/types/widgets-v2/echart/edge-label-clamp.d.ts +57 -0
- package/dist/types/widgets-v2/echart/index.d.ts +4 -0
- package/dist/types/widgets-v2/echart/shared-resize-observer.d.ts +5 -0
- package/dist/types/widgets-v2/echart/style.d.ts +7 -0
- package/dist/types/widgets-v2/echart/use-chart-selection.d.ts +57 -0
- package/dist/types/widgets-v2/formula/delta.d.ts +22 -0
- package/dist/types/widgets-v2/formula/download.d.ts +20 -0
- package/dist/types/widgets-v2/formula/formula-ui.d.ts +20 -0
- package/dist/types/widgets-v2/formula/formula.d.ts +8 -0
- package/dist/types/widgets-v2/formula/index.d.ts +11 -0
- package/dist/types/widgets-v2/formula/note.d.ts +11 -0
- package/dist/types/widgets-v2/formula/prefix.d.ts +12 -0
- package/dist/types/widgets-v2/formula/series.d.ts +16 -0
- package/dist/types/widgets-v2/formula/skeleton.d.ts +4 -0
- package/dist/types/widgets-v2/formula/style.d.ts +29 -0
- package/dist/types/widgets-v2/formula/suffix.d.ts +12 -0
- package/dist/types/widgets-v2/formula/types.d.ts +43 -0
- package/dist/types/widgets-v2/formula/value.d.ts +14 -0
- package/dist/types/widgets-v2/histogram/download.d.ts +17 -0
- package/dist/types/widgets-v2/histogram/index.d.ts +5 -0
- package/dist/types/widgets-v2/histogram/options.d.ts +42 -0
- package/dist/types/widgets-v2/histogram/skeleton.d.ts +9 -0
- package/dist/types/widgets-v2/histogram/transforms.d.ts +28 -0
- package/dist/types/widgets-v2/histogram/types.d.ts +60 -0
- package/dist/types/widgets-v2/index.d.ts +109 -0
- package/dist/types/widgets-v2/markdown/download.d.ts +16 -0
- package/dist/types/widgets-v2/markdown/index.d.ts +6 -0
- package/dist/types/widgets-v2/markdown/markdown-content.d.ts +40 -0
- package/dist/types/widgets-v2/markdown/markdown-ui.d.ts +12 -0
- package/dist/types/widgets-v2/markdown/markdown.d.ts +6 -0
- package/dist/types/widgets-v2/markdown/skeleton.d.ts +4 -0
- package/dist/types/widgets-v2/markdown/style.d.ts +61 -0
- package/dist/types/widgets-v2/markdown/types.d.ts +4 -0
- package/dist/types/widgets-v2/note/labels.d.ts +5 -0
- package/dist/types/widgets-v2/note/style.d.ts +26 -0
- package/dist/types/widgets-v2/note/widget-note.d.ts +46 -0
- package/dist/types/widgets-v2/pie/download.d.ts +17 -0
- package/dist/types/widgets-v2/pie/index.d.ts +4 -0
- package/dist/types/widgets-v2/pie/options.d.ts +35 -0
- package/dist/types/widgets-v2/pie/skeleton.d.ts +13 -0
- package/dist/types/widgets-v2/pie/types.d.ts +57 -0
- package/dist/types/widgets-v2/provider/widget-provider.d.ts +32 -0
- package/dist/types/widgets-v2/range/index.d.ts +4 -0
- package/dist/types/widgets-v2/range/range-ui.d.ts +27 -0
- package/dist/types/widgets-v2/range/range.d.ts +24 -0
- package/dist/types/widgets-v2/range/skeleton.d.ts +9 -0
- package/dist/types/widgets-v2/range/style.d.ts +40 -0
- package/dist/types/widgets-v2/range/types.d.ts +37 -0
- package/dist/types/widgets-v2/scatterplot/download.d.ts +16 -0
- package/dist/types/widgets-v2/scatterplot/index.d.ts +5 -0
- package/dist/types/widgets-v2/scatterplot/options.d.ts +42 -0
- package/dist/types/widgets-v2/scatterplot/skeleton.d.ts +12 -0
- package/dist/types/widgets-v2/scatterplot/transforms.d.ts +26 -0
- package/dist/types/widgets-v2/scatterplot/types.d.ts +54 -0
- package/dist/types/widgets-v2/selection-summary/labels.d.ts +11 -0
- package/dist/types/widgets-v2/selection-summary/selection-summary.d.ts +29 -0
- package/dist/types/widgets-v2/selection-summary/style.d.ts +38 -0
- package/dist/types/widgets-v2/spread/band.d.ts +37 -0
- package/dist/types/widgets-v2/spread/download.d.ts +15 -0
- package/dist/types/widgets-v2/spread/index.d.ts +7 -0
- package/dist/types/widgets-v2/spread/separator.d.ts +7 -0
- package/dist/types/widgets-v2/spread/skeleton.d.ts +9 -0
- package/dist/types/widgets-v2/spread/spread-ui.d.ts +18 -0
- package/dist/types/widgets-v2/spread/spread.d.ts +5 -0
- package/dist/types/widgets-v2/spread/types.d.ts +25 -0
- package/dist/types/widgets-v2/state/labels.d.ts +7 -0
- package/dist/types/widgets-v2/state/style.d.ts +19 -0
- package/dist/types/widgets-v2/state/widget-state.d.ts +19 -0
- package/dist/types/widgets-v2/stores/index.d.ts +8 -0
- package/dist/types/widgets-v2/stores/pipeline-middleware.d.ts +5 -0
- package/dist/types/widgets-v2/stores/transforms.d.ts +4 -0
- package/dist/types/widgets-v2/stores/types.d.ts +55 -0
- package/dist/types/widgets-v2/stores/use-echart-instance.d.ts +15 -0
- package/dist/types/widgets-v2/stores/use-transform-enabled.d.ts +17 -0
- package/dist/types/widgets-v2/stores/use-transform.d.ts +12 -0
- package/dist/types/widgets-v2/stores/widget-context.d.ts +2 -0
- package/dist/types/widgets-v2/stores/widget-store-registry.d.ts +74 -0
- package/dist/types/widgets-v2/subheader/style.d.ts +10 -0
- package/dist/types/widgets-v2/subheader/subheader.d.ts +11 -0
- package/dist/types/widgets-v2/table/download.d.ts +18 -0
- package/dist/types/widgets-v2/table/helpers.d.ts +32 -0
- package/dist/types/widgets-v2/table/index.d.ts +8 -0
- package/dist/types/widgets-v2/table/labels.d.ts +22 -0
- package/dist/types/widgets-v2/table/skeleton.d.ts +22 -0
- package/dist/types/widgets-v2/table/style.d.ts +40 -0
- package/dist/types/widgets-v2/table/table-ui.d.ts +44 -0
- package/dist/types/widgets-v2/table/table.d.ts +50 -0
- package/dist/types/widgets-v2/table/transforms.d.ts +15 -0
- package/dist/types/widgets-v2/table/types.d.ts +48 -0
- package/dist/types/widgets-v2/timeseries/download.d.ts +17 -0
- package/dist/types/widgets-v2/timeseries/index.d.ts +5 -0
- package/dist/types/widgets-v2/timeseries/options.d.ts +39 -0
- package/dist/types/widgets-v2/timeseries/skeleton.d.ts +8 -0
- package/dist/types/widgets-v2/timeseries/transforms.d.ts +10 -0
- package/dist/types/widgets-v2/timeseries/types.d.ts +60 -0
- package/dist/types/widgets-v2/toolbox/labels.d.ts +5 -0
- package/dist/types/widgets-v2/toolbox/style.d.ts +30 -0
- package/dist/types/widgets-v2/toolbox/toolbox.d.ts +49 -0
- package/dist/types/widgets-v2/types.d.ts +25 -0
- package/dist/types/widgets-v2/utils/data-zoom-layout.d.ts +11 -0
- package/dist/types/widgets-v2/utils/index.d.ts +3 -0
- package/dist/types/widgets-v2/utils/merge-options.d.ts +12 -0
- package/dist/types/widgets-v2/utils/resolve-theme-color.d.ts +18 -0
- package/dist/types/widgets-v2/wrapper/index.d.ts +4 -0
- package/dist/types/widgets-v2/wrapper/labels.d.ts +6 -0
- package/dist/types/widgets-v2/wrapper/style.d.ts +103 -0
- package/dist/types/widgets-v2/wrapper/widget-actions.d.ts +22 -0
- package/dist/types/widgets-v2/wrapper/widget-content.d.ts +12 -0
- package/dist/types/widgets-v2/wrapper/widget-wrapper.d.ts +56 -0
- package/dist/use-widget-selector-VSPhfhNm.js +12 -0
- package/dist/use-widget-selector-VSPhfhNm.js.map +1 -0
- package/dist/utils-Dr6gf3vD.js +58 -0
- package/dist/utils-Dr6gf3vD.js.map +1 -0
- package/dist/widget-store-BFPKYm4R.js +187 -0
- package/dist/widget-store-BFPKYm4R.js.map +1 -0
- package/dist/widgets/actions.js +2 -837
- package/dist/widgets/bar.js +183 -186
- package/dist/widgets/bar.js.map +1 -1
- package/dist/widgets/category.js +438 -455
- package/dist/widgets/category.js.map +1 -1
- package/dist/widgets/echart.js +3 -123
- package/dist/widgets/error.js +30 -5
- package/dist/widgets/error.js.map +1 -1
- package/dist/widgets/formula.js +3 -125
- package/dist/widgets/histogram.js +185 -167
- package/dist/widgets/histogram.js.map +1 -1
- package/dist/widgets/loader.js +66 -0
- package/dist/widgets/loader.js.map +1 -0
- package/dist/widgets/markdown.js +142 -121
- package/dist/widgets/markdown.js.map +1 -1
- package/dist/widgets/no-data.js +55 -5
- package/dist/widgets/no-data.js.map +1 -1
- package/dist/widgets/note.js +126 -4
- package/dist/widgets/note.js.map +1 -1
- package/dist/widgets/pie.js +244 -208
- package/dist/widgets/pie.js.map +1 -1
- package/dist/widgets/range.js +226 -210
- package/dist/widgets/range.js.map +1 -1
- package/dist/widgets/scatterplot.js +219 -216
- package/dist/widgets/scatterplot.js.map +1 -1
- package/dist/widgets/selection-summary.js +39 -38
- package/dist/widgets/selection-summary.js.map +1 -1
- package/dist/widgets/skeleton-loader.js +23 -23
- package/dist/widgets/skeleton-loader.js.map +1 -1
- package/dist/widgets/spread.js +150 -159
- package/dist/widgets/spread.js.map +1 -1
- package/dist/widgets/stores.js +3 -5
- package/dist/widgets/subheader.js +49 -50
- package/dist/widgets/subheader.js.map +1 -1
- package/dist/widgets/table.js +573 -653
- package/dist/widgets/table.js.map +1 -1
- package/dist/widgets/timeseries.js +175 -170
- package/dist/widgets/timeseries.js.map +1 -1
- package/dist/widgets/toolbar-actions.js +144 -6105
- package/dist/widgets/toolbar-actions.js.map +1 -1
- package/dist/widgets/utils.js +18 -0
- package/dist/widgets/utils.js.map +1 -0
- package/dist/widgets/wrapper.js +265 -287
- package/dist/widgets/wrapper.js.map +1 -1
- package/dist/widgets-v2/actions.js +4 -0
- package/dist/widgets-v2/bar.js +260 -0
- package/dist/widgets-v2/bar.js.map +1 -0
- package/dist/widgets-v2/category.js +2 -0
- package/dist/widgets-v2/echart.js +2 -0
- package/dist/widgets-v2/formula.js +2 -0
- package/dist/widgets-v2/histogram.js +297 -0
- package/dist/widgets-v2/histogram.js.map +1 -0
- package/dist/widgets-v2/markdown.js +3 -0
- package/dist/widgets-v2/pie.js +373 -0
- package/dist/widgets-v2/pie.js.map +1 -0
- package/dist/widgets-v2/range.js +2 -0
- package/dist/widgets-v2/scatterplot.js +330 -0
- package/dist/widgets-v2/scatterplot.js.map +1 -0
- package/dist/widgets-v2/spread.js +2 -0
- package/dist/widgets-v2/stores.js +2 -0
- package/dist/widgets-v2/table.js +2 -0
- package/dist/widgets-v2/timeseries.js +294 -0
- package/dist/widgets-v2/timeseries.js.map +1 -0
- package/dist/widgets-v2/utils.js +2 -0
- package/dist/widgets-v2.js +964 -0
- package/dist/widgets-v2.js.map +1 -0
- package/dist/zoom-toggle-IsF8BnAp.js +163 -0
- package/dist/zoom-toggle-IsF8BnAp.js.map +1 -0
- package/package.json +109 -17
- package/src/chat/bubbles/chat-agent-message-markdown.test.tsx +38 -0
- package/src/chat/bubbles/chat-agent-message-markdown.tsx +34 -0
- package/src/chat/bubbles/chat-agent-message.test.tsx +42 -0
- package/src/chat/bubbles/chat-agent-message.tsx +31 -0
- package/src/chat/bubbles/chat-error-message.test.tsx +40 -0
- package/src/chat/bubbles/chat-error-message.tsx +47 -0
- package/src/chat/bubbles/chat-suggestion-button.test.tsx +24 -0
- package/src/chat/bubbles/chat-suggestion-button.tsx +27 -0
- package/src/chat/bubbles/chat-user-message.test.tsx +27 -0
- package/src/chat/bubbles/chat-user-message.tsx +27 -0
- package/src/chat/bubbles/index.ts +5 -0
- package/src/chat/bubbles/styles.ts +171 -0
- package/src/chat/const.ts +4 -0
- package/src/chat/containers/chat-content.test.tsx +269 -0
- package/src/chat/containers/chat-content.tsx +145 -0
- package/src/chat/containers/chat-footer.test.tsx +93 -0
- package/src/chat/containers/chat-footer.tsx +166 -0
- package/src/chat/containers/chat-header.test.tsx +28 -0
- package/src/chat/containers/chat-header.tsx +29 -0
- package/src/chat/containers/chat-starter.test.tsx +32 -0
- package/src/chat/containers/chat-starter.tsx +75 -0
- package/src/chat/containers/index.ts +4 -0
- package/src/chat/containers/styles.ts +187 -0
- package/src/chat/feedback/chat-actions-container.test.tsx +64 -0
- package/src/chat/feedback/chat-actions-container.tsx +10 -0
- package/src/chat/feedback/chat-loader.test.tsx +10 -0
- package/src/chat/feedback/chat-loader.tsx +31 -0
- package/src/chat/feedback/chat-rating-action.tsx +43 -0
- package/src/chat/feedback/chat-thinking.test.tsx +15 -0
- package/src/chat/feedback/chat-thinking.tsx +23 -0
- package/src/chat/feedback/chat-tool-code-area.test.tsx +23 -0
- package/src/chat/feedback/chat-tool-code-area.tsx +71 -0
- package/src/chat/feedback/chat-tool-full-view-dialog.test.tsx +39 -0
- package/src/chat/feedback/chat-tool-full-view-dialog.tsx +121 -0
- package/src/chat/feedback/chat-tool-group.test.tsx +84 -0
- package/src/chat/feedback/chat-tool-group.tsx +156 -0
- package/src/chat/feedback/chat-tool-trace.test.tsx +81 -0
- package/src/chat/feedback/chat-tool-trace.tsx +192 -0
- package/src/chat/feedback/get-tool-label.test.tsx +91 -0
- package/src/chat/feedback/get-tool-label.ts +13 -0
- package/src/chat/feedback/index.ts +8 -0
- package/src/chat/feedback/styles.ts +239 -0
- package/src/chat/index.ts +62 -0
- package/src/chat/types.ts +247 -0
- package/src/chat/use-typewriter.test.tsx +38 -0
- package/src/chat/use-typewriter.ts +90 -0
- package/src/components/basemaps/basemaps.test.tsx +196 -0
- package/src/components/basemaps/basemaps.tsx +150 -0
- package/src/components/basemaps/const.ts +13 -0
- package/src/components/basemaps/group-wrapper.test.tsx +38 -0
- package/src/components/basemaps/group-wrapper.tsx +28 -0
- package/src/components/basemaps/group.test.tsx +52 -0
- package/src/components/basemaps/group.tsx +42 -0
- package/src/components/basemaps/header.test.tsx +54 -0
- package/src/components/basemaps/header.tsx +36 -0
- package/src/components/basemaps/styles.ts +76 -0
- package/src/components/basemaps/types.ts +30 -0
- package/src/components/common-types.ts +1 -0
- package/src/components/copy-button/copy-button.test.tsx +41 -0
- package/src/components/copy-button/copy-button.tsx +31 -0
- package/src/components/copy-button/types.ts +10 -0
- package/src/components/geolocation-controls/const.ts +6 -0
- package/src/components/geolocation-controls/geolocation-controls.test.tsx +148 -0
- package/src/components/geolocation-controls/geolocation-controls.tsx +126 -0
- package/src/components/geolocation-controls/types.ts +17 -0
- package/src/components/index.ts +163 -0
- package/src/components/lasso-tool/chip.test.tsx +257 -0
- package/src/components/lasso-tool/chip.tsx +66 -0
- package/src/components/lasso-tool/const.tsx +94 -0
- package/src/components/lasso-tool/edit-confirm-toolbar.test.tsx +67 -0
- package/src/components/lasso-tool/edit-confirm-toolbar.tsx +48 -0
- package/src/components/lasso-tool/geometry-toolbar.test.tsx +804 -0
- package/src/components/lasso-tool/geometry-toolbar.tsx +158 -0
- package/src/components/lasso-tool/icons.tsx +193 -0
- package/src/components/lasso-tool/lasso-tool-inline.test.tsx +759 -0
- package/src/components/lasso-tool/lasso-tool-inline.tsx +508 -0
- package/src/components/lasso-tool/lasso-tool.test.tsx +700 -0
- package/src/components/lasso-tool/lasso-tool.tsx +673 -0
- package/src/components/lasso-tool/layer-filters.test.tsx +103 -0
- package/src/components/lasso-tool/layer-filters.tsx +242 -0
- package/src/components/lasso-tool/message.tsx +36 -0
- package/src/components/lasso-tool/options-sections.test.tsx +101 -0
- package/src/components/lasso-tool/options-sections.tsx +104 -0
- package/src/components/lasso-tool/styles.test.ts +26 -0
- package/src/components/lasso-tool/styles.ts +190 -0
- package/src/components/lasso-tool/toolbar/actions/accept-action.tsx +34 -0
- package/src/components/lasso-tool/toolbar/actions/action-menu.tsx +103 -0
- package/src/components/lasso-tool/toolbar/actions/cancel-action.tsx +34 -0
- package/src/components/lasso-tool/toolbar/actions/color-action.tsx +201 -0
- package/src/components/lasso-tool/toolbar/actions/delete-action.tsx +31 -0
- package/src/components/lasso-tool/toolbar/actions/duplicate-action.tsx +30 -0
- package/src/components/lasso-tool/toolbar/actions/edit-geometry-action.tsx +44 -0
- package/src/components/lasso-tool/toolbar/actions/edit-properties-action.tsx +487 -0
- package/src/components/lasso-tool/toolbar/actions/fill-action.tsx +55 -0
- package/src/components/lasso-tool/toolbar/actions/intersect-action.tsx +33 -0
- package/src/components/lasso-tool/toolbar/actions/label-action.tsx +292 -0
- package/src/components/lasso-tool/toolbar/actions/lock-action.tsx +40 -0
- package/src/components/lasso-tool/toolbar/actions/redo-action.tsx +35 -0
- package/src/components/lasso-tool/toolbar/actions/split-action.tsx +33 -0
- package/src/components/lasso-tool/toolbar/actions/stroke-action.tsx +57 -0
- package/src/components/lasso-tool/toolbar/actions/style-actions.test.tsx +212 -0
- package/src/components/lasso-tool/toolbar/actions/subtract-action.tsx +33 -0
- package/src/components/lasso-tool/toolbar/actions/toggle-type-action.tsx +50 -0
- package/src/components/lasso-tool/toolbar/actions/undo-action.tsx +35 -0
- package/src/components/lasso-tool/toolbar/actions/union-action.tsx +40 -0
- package/src/components/lasso-tool/toolbar/button.tsx +62 -0
- package/src/components/lasso-tool/toolbar/connected.tsx +383 -0
- package/src/components/lasso-tool/toolbar/context.tsx +65 -0
- package/src/components/lasso-tool/toolbar/index.ts +70 -0
- package/src/components/lasso-tool/toolbar/styles.ts +42 -0
- package/src/components/lasso-tool/toolbar/toolbar.test.tsx +77 -0
- package/src/components/lasso-tool/toolbar/toolbar.tsx +50 -0
- package/src/components/lasso-tool/tools-context.tsx +47 -0
- package/src/components/lasso-tool/types.ts +384 -0
- package/src/components/lasso-tool/undo-redo.test.tsx +162 -0
- package/src/components/lasso-tool/undo-redo.tsx +55 -0
- package/src/components/list-data/list-data-skeleton.test.tsx +10 -0
- package/src/components/list-data/list-data-skeleton.tsx +40 -0
- package/src/components/list-data/list-data.test.tsx +167 -0
- package/src/components/list-data/list-data.tsx +124 -0
- package/src/components/list-data/styles.ts +37 -0
- package/src/components/list-data/types.ts +25 -0
- package/src/components/measurement-tools/const.tsx +108 -0
- package/src/components/measurement-tools/icons.tsx +54 -0
- package/src/components/measurement-tools/measurement-tools.test.tsx +165 -0
- package/src/components/measurement-tools/measurement-tools.tsx +467 -0
- package/src/components/measurement-tools/styles.ts +92 -0
- package/src/components/measurement-tools/types.ts +77 -0
- package/src/components/no-data-alert/no-data-alert.test.tsx +69 -0
- package/src/components/no-data-alert/no-data-alert.tsx +59 -0
- package/src/components/responsive-drawer/responsive-drawer.test.tsx +415 -0
- package/src/components/responsive-drawer/responsive-drawer.tsx +219 -0
- package/src/components/smart-tooltip/smart-tooltip.test.tsx +168 -0
- package/src/components/smart-tooltip/smart-tooltip.tsx +74 -0
- package/src/components/tooltip/tooltip.test.tsx +86 -0
- package/src/components/tooltip/tooltip.tsx +43 -0
- package/src/components/types.ts +1 -0
- package/src/components/zoom-controls/styles.ts +27 -0
- package/src/components/zoom-controls/types.ts +19 -0
- package/src/components/zoom-controls/zoom-controls.test.tsx +101 -0
- package/src/components/zoom-controls/zoom-controls.tsx +130 -0
- package/src/hooks/index.ts +1 -0
- package/src/hooks/use-skeleton.test.tsx +32 -0
- package/src/hooks/use-skeleton.ts +19 -0
- package/src/hooks/use-widget-ref.ts +34 -0
- package/src/legend/components/a11y.ts +14 -0
- package/src/legend/components/contexts.ts +57 -0
- package/src/legend/components/icons.tsx +22 -0
- package/src/legend/components/index.ts +38 -0
- package/src/legend/components/legend-actions/legend-actions.tsx +58 -0
- package/src/legend/components/legend-actions/styles.ts +9 -0
- package/src/legend/components/legend-category/legend-category-ui.tsx +91 -0
- package/src/legend/components/legend-category/styles.ts +61 -0
- package/src/legend/components/legend-config-select/legend-config-select.tsx +96 -0
- package/src/legend/components/legend-config-select/styles.ts +48 -0
- package/src/legend/components/legend-group/legend-group.test.tsx +297 -0
- package/src/legend/components/legend-group/legend-group.tsx +126 -0
- package/src/legend/components/legend-group/styles.ts +184 -0
- package/src/legend/components/legend-group-menu/legend-group-menu-items.tsx +132 -0
- package/src/legend/components/legend-group-menu/legend-group-menu.tsx +25 -0
- package/src/legend/components/legend-icon/legend-icon-ui.tsx +56 -0
- package/src/legend/components/legend-icon/styles.ts +56 -0
- package/src/legend/components/legend-item/legend-item-ui.test.tsx +362 -0
- package/src/legend/components/legend-item/legend-item-ui.tsx +43 -0
- package/src/legend/components/legend-item/legend-item.tsx +34 -0
- package/src/legend/components/legend-item/styles.ts +11 -0
- package/src/legend/components/legend-opacity/legend-opacity.tsx +152 -0
- package/src/legend/components/legend-opacity/styles.ts +33 -0
- package/src/legend/components/legend-overflow-menu/legend-overflow-menu.tsx +84 -0
- package/src/legend/components/legend-panel-menu/legend-panel-menu.tsx +23 -0
- package/src/legend/components/legend-proportion/legend-proportion-ui.tsx +122 -0
- package/src/legend/components/legend-proportion/styles.ts +43 -0
- package/src/legend/components/legend-ramp/legend-ramp-ui.tsx +160 -0
- package/src/legend/components/legend-ramp/styles.ts +62 -0
- package/src/legend/components/legend-row/legend-row.test.tsx +736 -0
- package/src/legend/components/legend-row/legend-row.tsx +170 -0
- package/src/legend/components/legend-row/styles.ts +219 -0
- package/src/legend/components/legend-row-menu/legend-row-menu-items.tsx +57 -0
- package/src/legend/components/legend-row-menu/legend-row-menu.tsx +30 -0
- package/src/legend/components/legend-row-menu/legend-zoom-to.tsx +43 -0
- package/src/legend/components/legend-sortable/contexts.ts +12 -0
- package/src/legend/components/legend-sortable/legend-sortable.test.tsx +144 -0
- package/src/legend/components/legend-sortable/legend-sortable.tsx +195 -0
- package/src/legend/components/legend-sortable/sortable-entity.tsx +91 -0
- package/src/legend/components/legend-sortable/sortable-ids.ts +17 -0
- package/src/legend/components/legend-sortable/styles.ts +65 -0
- package/src/legend/components/legend-swatch/legend-swatch.test.tsx +109 -0
- package/src/legend/components/legend-swatch/legend-swatch.tsx +237 -0
- package/src/legend/components/legend-visibility-toggle/legend-visibility-toggle.tsx +133 -0
- package/src/legend/components/legend-visible-layers/legend-visible-layers.test.tsx +86 -0
- package/src/legend/components/legend-visible-layers/legend-visible-layers.tsx +135 -0
- package/src/legend/components/legend-visible-layers/styles.ts +60 -0
- package/src/legend/components/run-async-menu-action.ts +20 -0
- package/src/legend/index.ts +176 -0
- package/src/legend/provider/index.ts +6 -0
- package/src/legend/provider/labels.ts +101 -0
- package/src/legend/provider/legend-config-context.ts +15 -0
- package/src/legend/provider/legend-provider.tsx +102 -0
- package/src/legend/stores/index.ts +50 -0
- package/src/legend/stores/legend-context.ts +17 -0
- package/src/legend/stores/legend-store-registry.ts +745 -0
- package/src/legend/stores/legend-store.test.ts +701 -0
- package/src/legend/stores/selectors.ts +127 -0
- package/src/legend/stores/types.ts +359 -0
- package/src/widgets/README.md +277 -0
- package/src/widgets/actions/brush-toggle/brush-overlay.test.tsx +465 -0
- package/src/widgets/actions/brush-toggle/brush-overlay.tsx +408 -0
- package/src/widgets/actions/brush-toggle/brush-toggle.test.tsx +208 -0
- package/src/widgets/actions/brush-toggle/brush-toggle.tsx +133 -0
- package/src/widgets/actions/brush-toggle/hit-test.test.ts +65 -0
- package/src/widgets/actions/brush-toggle/hit-test.ts +45 -0
- package/src/widgets/actions/brush-toggle/style.ts +46 -0
- package/src/widgets/actions/brush-toggle/types.ts +78 -0
- package/src/widgets/actions/change-column/change-column-dnd.test.tsx +193 -0
- package/src/widgets/actions/change-column/change-column-icon.tsx +10 -0
- package/src/widgets/actions/change-column/change-column.test.tsx +290 -0
- package/src/widgets/actions/change-column/change-column.tsx +218 -0
- package/src/widgets/actions/change-column/sortable-column-item.test.tsx +124 -0
- package/src/widgets/actions/change-column/sortable-column-item.tsx +51 -0
- package/src/widgets/actions/change-column/types.ts +20 -0
- package/src/widgets/actions/download/download.test.tsx +326 -0
- package/src/widgets/actions/download/download.tsx +132 -0
- package/src/widgets/actions/download/exports.test.tsx +288 -0
- package/src/widgets/actions/download/exports.tsx +118 -0
- package/src/widgets/actions/download/types.ts +21 -0
- package/src/widgets/actions/fullscreen/fullscreen.test.tsx +269 -0
- package/src/widgets/actions/fullscreen/fullscreen.tsx +98 -0
- package/src/widgets/actions/fullscreen/styles.ts +17 -0
- package/src/widgets/actions/fullscreen/types.ts +32 -0
- package/src/widgets/actions/index.ts +73 -0
- package/src/widgets/actions/lock-selection/lock-selection.test.tsx +198 -0
- package/src/widgets/actions/lock-selection/lock-selection.tsx +128 -0
- package/src/widgets/actions/lock-selection/types.ts +43 -0
- package/src/widgets/actions/relative-data/relative-data.test.tsx +542 -0
- package/src/widgets/actions/relative-data/relative-data.tsx +188 -0
- package/src/widgets/actions/relative-data/types.ts +33 -0
- package/src/widgets/actions/relative-data/utils.test.ts +223 -0
- package/src/widgets/actions/relative-data/utils.ts +58 -0
- package/src/widgets/actions/searcher/searcher-toggle.test.tsx +354 -0
- package/src/widgets/actions/searcher/searcher-toggle.tsx +72 -0
- package/src/widgets/actions/searcher/searcher.tsx +196 -0
- package/src/widgets/actions/searcher/types.ts +72 -0
- package/src/widgets/actions/shared/styles.ts +12 -0
- package/src/widgets/actions/stack-toggle/grouped-bar-chart-icon.tsx +14 -0
- package/src/widgets/actions/stack-toggle/stack-toggle.test.tsx +414 -0
- package/src/widgets/actions/stack-toggle/stack-toggle.tsx +129 -0
- package/src/widgets/actions/stack-toggle/types.ts +29 -0
- package/src/widgets/actions/zoom-toggle/style.ts +14 -0
- package/src/widgets/actions/zoom-toggle/types.ts +44 -0
- package/src/widgets/actions/zoom-toggle/zoom-toggle.test.tsx +322 -0
- package/src/widgets/actions/zoom-toggle/zoom-toggle.tsx +218 -0
- package/src/widgets/bar/config.ts +140 -0
- package/src/widgets/bar/index.ts +9 -0
- package/src/widgets/bar/skeleton.tsx +60 -0
- package/src/widgets/bar/style.ts +33 -0
- package/src/widgets/bar/types.ts +16 -0
- package/src/widgets/category/category-ui.test.tsx +399 -0
- package/src/widgets/category/category-ui.tsx +166 -0
- package/src/widgets/category/components/category-bar.tsx +31 -0
- package/src/widgets/category/components/category-legend.tsx +33 -0
- package/src/widgets/category/components/category-row-multi.tsx +57 -0
- package/src/widgets/category/components/category-row-other.tsx +26 -0
- package/src/widgets/category/components/category-row-single.tsx +54 -0
- package/src/widgets/category/components/category-rows.test.tsx +213 -0
- package/src/widgets/category/config.ts +86 -0
- package/src/widgets/category/index.ts +29 -0
- package/src/widgets/category/skeleton.tsx +24 -0
- package/src/widgets/category/style.ts +134 -0
- package/src/widgets/category/types.ts +41 -0
- package/src/widgets/echart/const.ts +1 -0
- package/src/widgets/echart/echart-ui.test.tsx +526 -0
- package/src/widgets/echart/echart-ui.tsx +78 -0
- package/src/widgets/echart/echart.test.tsx +546 -0
- package/src/widgets/echart/echart.tsx +66 -0
- package/src/widgets/echart/index.ts +16 -0
- package/src/widgets/echart/options.ts +57 -0
- package/src/widgets/echart/shared-resize-observer.ts +45 -0
- package/src/widgets/echart/types.ts +45 -0
- package/src/widgets/echart/utils.test.ts +277 -0
- package/src/widgets/echart/utils.ts +244 -0
- package/src/widgets/error/error.test.tsx +331 -0
- package/src/widgets/error/error.tsx +51 -0
- package/src/widgets/error/index.ts +2 -0
- package/src/widgets/error/types.ts +24 -0
- package/src/widgets/formula/components/item.test.tsx +249 -0
- package/src/widgets/formula/components/item.tsx +21 -0
- package/src/widgets/formula/components/prefix.test.tsx +341 -0
- package/src/widgets/formula/components/prefix.tsx +19 -0
- package/src/widgets/formula/components/row.test.tsx +364 -0
- package/src/widgets/formula/components/row.tsx +24 -0
- package/src/widgets/formula/components/series.tsx +35 -0
- package/src/widgets/formula/components/suffix.test.tsx +383 -0
- package/src/widgets/formula/components/suffix.tsx +29 -0
- package/src/widgets/formula/components/value.test.tsx +329 -0
- package/src/widgets/formula/components/value.tsx +24 -0
- package/src/widgets/formula/config.test.ts +37 -0
- package/src/widgets/formula/config.ts +38 -0
- package/src/widgets/formula/formula-ui.test.tsx +399 -0
- package/src/widgets/formula/formula-ui.tsx +30 -0
- package/src/widgets/formula/index.ts +24 -0
- package/src/widgets/formula/serializer.test.tsx +144 -0
- package/src/widgets/formula/serializer.ts +28 -0
- package/src/widgets/formula/skeleton.tsx +10 -0
- package/src/widgets/formula/style.ts +23 -0
- package/src/widgets/formula/types.ts +50 -0
- package/src/widgets/histogram/config.ts +230 -0
- package/src/widgets/histogram/index.ts +13 -0
- package/src/widgets/histogram/skeleton.tsx +52 -0
- package/src/widgets/histogram/style.ts +8 -0
- package/src/widgets/histogram/types.ts +23 -0
- package/src/widgets/loader/index.ts +4 -0
- package/src/widgets/loader/loader.tsx +92 -0
- package/src/widgets/loader/types.ts +13 -0
- package/src/widgets/loader/utils.test.ts +112 -0
- package/src/widgets/loader/utils.ts +57 -0
- package/src/widgets/markdown/config.ts +28 -0
- package/src/widgets/markdown/index.ts +14 -0
- package/src/widgets/markdown/markdown-ui.test.tsx +341 -0
- package/src/widgets/markdown/markdown-ui.tsx +59 -0
- package/src/widgets/markdown/markdown.tsx +20 -0
- package/src/widgets/markdown/skeleton.tsx +12 -0
- package/src/widgets/markdown/style.ts +28 -0
- package/src/widgets/markdown/types.ts +28 -0
- package/src/widgets/no-data/index.ts +2 -0
- package/src/widgets/no-data/no-data.test.tsx +497 -0
- package/src/widgets/no-data/no-data.tsx +112 -0
- package/src/widgets/no-data/style.ts +18 -0
- package/src/widgets/no-data/types.ts +76 -0
- package/src/widgets/note/index.ts +2 -0
- package/src/widgets/note/note.test.tsx +391 -0
- package/src/widgets/note/note.tsx +124 -0
- package/src/widgets/note/style.ts +29 -0
- package/src/widgets/note/types.ts +9 -0
- package/src/widgets/pie/config.ts +245 -0
- package/src/widgets/pie/index.ts +8 -0
- package/src/widgets/pie/skeleton.tsx +70 -0
- package/src/widgets/pie/style.ts +8 -0
- package/src/widgets/pie/types.ts +16 -0
- package/src/widgets/range/components/range-item.test.tsx +243 -0
- package/src/widgets/range/components/range-item.tsx +214 -0
- package/src/widgets/range/config.ts +10 -0
- package/src/widgets/range/index.ts +16 -0
- package/src/widgets/range/range-ui.test.tsx +203 -0
- package/src/widgets/range/range-ui.tsx +14 -0
- package/src/widgets/range/serializer.test.ts +70 -0
- package/src/widgets/range/serializer.ts +27 -0
- package/src/widgets/range/skeleton.tsx +14 -0
- package/src/widgets/range/style.ts +37 -0
- package/src/widgets/range/types.ts +39 -0
- package/src/widgets/scatterplot/config.ts +136 -0
- package/src/widgets/scatterplot/index.ts +8 -0
- package/src/widgets/scatterplot/skeleton.tsx +59 -0
- package/src/widgets/scatterplot/style.ts +21 -0
- package/src/widgets/scatterplot/types.ts +17 -0
- package/src/widgets/selection-summary/index.ts +6 -0
- package/src/widgets/selection-summary/selection-summary.tsx +57 -0
- package/src/widgets/selection-summary/style.ts +10 -0
- package/src/widgets/selection-summary/types.ts +14 -0
- package/src/widgets/skeleton-loader/index.ts +2 -0
- package/src/widgets/skeleton-loader/skeleton-loader.test.tsx +139 -0
- package/src/widgets/skeleton-loader/skeleton-loader.tsx +35 -0
- package/src/widgets/skeleton-loader/types.ts +8 -0
- package/src/widgets/spread/components/max-value.tsx +29 -0
- package/src/widgets/spread/components/min-value.tsx +29 -0
- package/src/widgets/spread/components/separator.tsx +9 -0
- package/src/widgets/spread/config.ts +39 -0
- package/src/widgets/spread/index.ts +23 -0
- package/src/widgets/spread/skeleton.tsx +10 -0
- package/src/widgets/spread/spread-ui.test.tsx +368 -0
- package/src/widgets/spread/spread-ui.tsx +32 -0
- package/src/widgets/spread/style.ts +22 -0
- package/src/widgets/spread/types.ts +47 -0
- package/src/widgets/stores/index.ts +13 -0
- package/src/widgets/stores/types.ts +203 -0
- package/src/widgets/stores/use-widget-selector.ts +47 -0
- package/src/widgets/stores/widget-store-branches.test.ts +275 -0
- package/src/widgets/stores/widget-store-performance.test.ts +750 -0
- package/src/widgets/stores/widget-store.test.ts +942 -0
- package/src/widgets/stores/widget-store.ts +484 -0
- package/src/widgets/subheader/index.ts +3 -0
- package/src/widgets/subheader/style.ts +20 -0
- package/src/widgets/subheader/subheader.test.tsx +45 -0
- package/src/widgets/subheader/subheader.tsx +35 -0
- package/src/widgets/subheader/types.ts +11 -0
- package/src/widgets/table/components/cell-header.tsx +58 -0
- package/src/widgets/table/components/cell.tsx +82 -0
- package/src/widgets/table/components/pagination-actions.tsx +67 -0
- package/src/widgets/table/components/pagination.tsx +41 -0
- package/src/widgets/table/components/row.tsx +65 -0
- package/src/widgets/table/config.test.ts +65 -0
- package/src/widgets/table/config.ts +75 -0
- package/src/widgets/table/helpers.test.ts +244 -0
- package/src/widgets/table/helpers.ts +107 -0
- package/src/widgets/table/hooks/use-pagination.test.ts +294 -0
- package/src/widgets/table/hooks/use-pagination.ts +148 -0
- package/src/widgets/table/hooks/use-selection.test.ts +504 -0
- package/src/widgets/table/hooks/use-selection.ts +194 -0
- package/src/widgets/table/hooks/use-sort.test.ts +296 -0
- package/src/widgets/table/hooks/use-sort.ts +131 -0
- package/src/widgets/table/index.ts +55 -0
- package/src/widgets/table/serializer.ts +54 -0
- package/src/widgets/table/skeleton.tsx +48 -0
- package/src/widgets/table/style.ts +34 -0
- package/src/widgets/table/table-ui.tsx +64 -0
- package/src/widgets/table/types.ts +223 -0
- package/src/widgets/timeseries/config.ts +136 -0
- package/src/widgets/timeseries/index.ts +8 -0
- package/src/widgets/timeseries/skeleton.tsx +55 -0
- package/src/widgets/timeseries/style.ts +36 -0
- package/src/widgets/timeseries/types.ts +17 -0
- package/src/widgets/toolbar-actions/index.ts +6 -0
- package/src/widgets/toolbar-actions/styles.ts +38 -0
- package/src/widgets/toolbar-actions/toolbar-actions.test.tsx +691 -0
- package/src/widgets/toolbar-actions/toolbar-actions.tsx +145 -0
- package/src/widgets/toolbar-actions/types.ts +60 -0
- package/src/widgets/utils/chart-config/config-factory.ts +67 -0
- package/src/widgets/utils/chart-config/csv-modifiers.ts +56 -0
- package/src/widgets/utils/chart-config/download-config.ts +22 -0
- package/src/widgets/utils/chart-config/index.ts +29 -0
- package/src/widgets/utils/chart-config/option-builders.test.ts +366 -0
- package/src/widgets/utils/chart-config/option-builders.ts +308 -0
- package/src/widgets/utils/formatter.ts +2 -0
- package/src/widgets/utils/index.ts +26 -0
- package/{dist/types/widgets/_shared/skeleton/index.d.ts → src/widgets/utils/skeleton/index.ts} +2 -1
- package/src/widgets/utils/skeleton/styles.ts +20 -0
- package/src/widgets/wrapper/components/actions.test.tsx +105 -0
- package/src/widgets/wrapper/components/actions.tsx +35 -0
- package/src/widgets/wrapper/components/options.test.tsx +331 -0
- package/src/widgets/wrapper/components/options.tsx +81 -0
- package/src/widgets/wrapper/components/title.test.tsx +126 -0
- package/src/widgets/wrapper/components/title.tsx +35 -0
- package/src/widgets/wrapper/index.ts +16 -0
- package/src/widgets/wrapper/styles.ts +98 -0
- package/src/widgets/wrapper/types.ts +55 -0
- package/src/widgets/wrapper/wrapper-ui.test.tsx +232 -0
- package/src/widgets/wrapper/wrapper-ui.tsx +72 -0
- package/src/widgets/wrapper/wrapper.test.tsx +365 -0
- package/src/widgets/wrapper/wrapper.tsx +60 -0
- package/src/widgets-v2/PERFORMANCE.md +189 -0
- package/src/widgets-v2/actions/brush-toggle/brush-toggle.test.tsx +180 -0
- package/src/widgets-v2/actions/brush-toggle/brush-toggle.tsx +154 -0
- package/src/widgets-v2/actions/brush-toggle/index.ts +3 -0
- package/src/widgets-v2/actions/brush-toggle/labels.ts +9 -0
- package/src/widgets-v2/actions/brush-toggle/style.ts +11 -0
- package/src/widgets-v2/actions/brush-toggle/transforms.test.ts +47 -0
- package/src/widgets-v2/actions/brush-toggle/transforms.ts +31 -0
- package/src/widgets-v2/actions/change-column/change-column-icon.tsx +14 -0
- package/src/widgets-v2/actions/change-column/change-column.test.tsx +59 -0
- package/src/widgets-v2/actions/change-column/change-column.tsx +189 -0
- package/src/widgets-v2/actions/change-column/index.ts +7 -0
- package/src/widgets-v2/actions/change-column/labels.ts +11 -0
- package/src/widgets-v2/actions/change-column/sortable-column-item.tsx +63 -0
- package/src/widgets-v2/actions/change-column/style.ts +58 -0
- package/src/widgets-v2/actions/change-column/types.ts +11 -0
- package/src/widgets-v2/actions/download/constants.ts +14 -0
- package/src/widgets-v2/actions/download/csv-item.test.tsx +77 -0
- package/src/widgets-v2/actions/download/csv-item.tsx +71 -0
- package/src/widgets-v2/actions/download/download.test.tsx +327 -0
- package/src/widgets-v2/actions/download/download.tsx +144 -0
- package/src/widgets-v2/actions/download/exports.test.tsx +198 -0
- package/src/widgets-v2/actions/download/exports.ts +115 -0
- package/src/widgets-v2/actions/download/icons.tsx +35 -0
- package/src/widgets-v2/actions/download/index.ts +15 -0
- package/src/widgets-v2/actions/download/labels.ts +16 -0
- package/src/widgets-v2/actions/download/png-item.test.tsx +72 -0
- package/src/widgets-v2/actions/download/png-item.tsx +53 -0
- package/src/widgets-v2/actions/download/style.ts +3 -0
- package/src/widgets-v2/actions/download/types.ts +32 -0
- package/src/widgets-v2/actions/fullscreen/fullscreen.test.tsx +212 -0
- package/src/widgets-v2/actions/fullscreen/fullscreen.tsx +301 -0
- package/src/widgets-v2/actions/fullscreen/index.ts +7 -0
- package/src/widgets-v2/actions/fullscreen/labels.ts +9 -0
- package/src/widgets-v2/actions/fullscreen/style.ts +86 -0
- package/src/widgets-v2/actions/fullscreen/types.ts +15 -0
- package/src/widgets-v2/actions/index.ts +95 -0
- package/src/widgets-v2/actions/lock-selection/index.ts +10 -0
- package/src/widgets-v2/actions/lock-selection/labels.ts +11 -0
- package/src/widgets-v2/actions/lock-selection/lock-selection.test.tsx +301 -0
- package/src/widgets-v2/actions/lock-selection/lock-selection.tsx +188 -0
- package/src/widgets-v2/actions/lock-selection/style.ts +11 -0
- package/src/widgets-v2/actions/lock-selection/transforms.ts +27 -0
- package/src/widgets-v2/actions/relative-data/index.ts +3 -0
- package/src/widgets-v2/actions/relative-data/labels.ts +9 -0
- package/src/widgets-v2/actions/relative-data/relative-data.test.tsx +71 -0
- package/src/widgets-v2/actions/relative-data/relative-data.tsx +107 -0
- package/src/widgets-v2/actions/relative-data/style.ts +11 -0
- package/src/widgets-v2/actions/relative-data/transforms.test.ts +151 -0
- package/src/widgets-v2/actions/relative-data/transforms.ts +70 -0
- package/src/widgets-v2/actions/searcher/filter.ts +28 -0
- package/src/widgets-v2/actions/searcher/index.ts +8 -0
- package/src/widgets-v2/actions/searcher/labels.ts +13 -0
- package/src/widgets-v2/actions/searcher/searcher-toggle.tsx +91 -0
- package/src/widgets-v2/actions/searcher/searcher.test.tsx +92 -0
- package/src/widgets-v2/actions/searcher/searcher.tsx +111 -0
- package/src/widgets-v2/actions/searcher/style.ts +15 -0
- package/src/widgets-v2/actions/show-all/index.ts +7 -0
- package/src/widgets-v2/actions/show-all/labels.ts +8 -0
- package/src/widgets-v2/actions/show-all/show-all.test.tsx +50 -0
- package/src/widgets-v2/actions/show-all/show-all.tsx +72 -0
- package/src/widgets-v2/actions/show-all/style.ts +8 -0
- package/src/widgets-v2/actions/stack-toggle/index.ts +3 -0
- package/src/widgets-v2/actions/stack-toggle/labels.ts +9 -0
- package/src/widgets-v2/actions/stack-toggle/stack-toggle.test.tsx +61 -0
- package/src/widgets-v2/actions/stack-toggle/stack-toggle.tsx +54 -0
- package/src/widgets-v2/actions/stack-toggle/style.ts +11 -0
- package/src/widgets-v2/actions/stack-toggle/transforms.test.ts +43 -0
- package/src/widgets-v2/actions/stack-toggle/transforms.ts +25 -0
- package/src/widgets-v2/actions/zoom-toggle/index.ts +9 -0
- package/src/widgets-v2/actions/zoom-toggle/labels.ts +9 -0
- package/src/widgets-v2/actions/zoom-toggle/style.ts +11 -0
- package/src/widgets-v2/actions/zoom-toggle/transforms.test.ts +148 -0
- package/src/widgets-v2/actions/zoom-toggle/transforms.ts +171 -0
- package/src/widgets-v2/actions/zoom-toggle/zoom-toggle.test.tsx +107 -0
- package/src/widgets-v2/actions/zoom-toggle/zoom-toggle.tsx +106 -0
- package/src/widgets-v2/bar/download.test.tsx +91 -0
- package/src/widgets-v2/bar/download.tsx +60 -0
- package/src/widgets-v2/bar/index.ts +10 -0
- package/src/widgets-v2/bar/options.test.ts +361 -0
- package/src/widgets-v2/bar/options.ts +333 -0
- package/src/widgets-v2/bar/skeleton.test.tsx +19 -0
- package/src/widgets-v2/bar/skeleton.tsx +69 -0
- package/src/widgets-v2/bar/types.ts +51 -0
- package/src/widgets-v2/category/category-ui.test.tsx +909 -0
- package/src/widgets-v2/category/category-ui.tsx +479 -0
- package/src/widgets-v2/category/category.relative-data.test.tsx +107 -0
- package/src/widgets-v2/category/category.stack-toggle.test.tsx +85 -0
- package/src/widgets-v2/category/category.test.tsx +305 -0
- package/src/widgets-v2/category/category.tsx +130 -0
- package/src/widgets-v2/category/components/category-bar-stacked.test.tsx +121 -0
- package/src/widgets-v2/category/components/category-bar-stacked.tsx +73 -0
- package/src/widgets-v2/category/components/category-bar.test.tsx +64 -0
- package/src/widgets-v2/category/components/category-bar.tsx +49 -0
- package/src/widgets-v2/category/components/category-legend.test.tsx +102 -0
- package/src/widgets-v2/category/components/category-legend.tsx +82 -0
- package/src/widgets-v2/category/components/category-row-multi.tsx +86 -0
- package/src/widgets-v2/category/components/category-row-other.test.tsx +57 -0
- package/src/widgets-v2/category/components/category-row-other.tsx +84 -0
- package/src/widgets-v2/category/components/category-row-single.tsx +76 -0
- package/src/widgets-v2/category/components/category-row-stacked.test.tsx +248 -0
- package/src/widgets-v2/category/components/category-row-stacked.tsx +104 -0
- package/src/widgets-v2/category/download.test.ts +80 -0
- package/src/widgets-v2/category/download.ts +50 -0
- package/src/widgets-v2/category/index.ts +32 -0
- package/src/widgets-v2/category/skeleton.test.tsx +26 -0
- package/src/widgets-v2/category/skeleton.tsx +74 -0
- package/src/widgets-v2/category/style.ts +329 -0
- package/src/widgets-v2/category/types.ts +61 -0
- package/src/widgets-v2/echart/echart-ui.test.tsx +330 -0
- package/src/widgets-v2/echart/echart-ui.tsx +236 -0
- package/src/widgets-v2/echart/echart.test.tsx +229 -0
- package/src/widgets-v2/echart/echart.tsx +209 -0
- package/src/widgets-v2/echart/edge-label-clamp.test.ts +198 -0
- package/src/widgets-v2/echart/edge-label-clamp.ts +217 -0
- package/src/widgets-v2/echart/index.ts +22 -0
- package/src/widgets-v2/echart/shared-resize-observer.test.ts +91 -0
- package/src/widgets-v2/echart/shared-resize-observer.ts +56 -0
- package/src/widgets-v2/echart/style.ts +17 -0
- package/src/widgets-v2/echart/use-chart-selection.test.tsx +120 -0
- package/src/widgets-v2/echart/use-chart-selection.ts +121 -0
- package/src/widgets-v2/formula/delta.tsx +61 -0
- package/src/widgets-v2/formula/download.test.tsx +65 -0
- package/src/widgets-v2/formula/download.tsx +63 -0
- package/src/widgets-v2/formula/formula-ui.test.tsx +91 -0
- package/src/widgets-v2/formula/formula-ui.tsx +66 -0
- package/src/widgets-v2/formula/formula.test.tsx +50 -0
- package/src/widgets-v2/formula/formula.tsx +34 -0
- package/src/widgets-v2/formula/index.ts +17 -0
- package/src/widgets-v2/formula/note.tsx +25 -0
- package/src/widgets-v2/formula/prefix.tsx +25 -0
- package/src/widgets-v2/formula/series.tsx +67 -0
- package/src/widgets-v2/formula/skeleton.test.tsx +21 -0
- package/src/widgets-v2/formula/skeleton.tsx +27 -0
- package/src/widgets-v2/formula/style.ts +31 -0
- package/src/widgets-v2/formula/subcomponents.test.tsx +107 -0
- package/src/widgets-v2/formula/suffix.tsx +25 -0
- package/src/widgets-v2/formula/types.ts +48 -0
- package/src/widgets-v2/formula/value.tsx +31 -0
- package/src/widgets-v2/histogram/download.test.ts +94 -0
- package/src/widgets-v2/histogram/download.ts +56 -0
- package/src/widgets-v2/histogram/index.ts +13 -0
- package/src/widgets-v2/histogram/options.test.ts +411 -0
- package/src/widgets-v2/histogram/options.ts +390 -0
- package/src/widgets-v2/histogram/skeleton.test.tsx +16 -0
- package/src/widgets-v2/histogram/skeleton.tsx +70 -0
- package/src/widgets-v2/histogram/transforms.test.ts +81 -0
- package/src/widgets-v2/histogram/transforms.ts +53 -0
- package/src/widgets-v2/histogram/types.ts +64 -0
- package/src/widgets-v2/index.ts +212 -0
- package/src/widgets-v2/markdown/download.test.ts +66 -0
- package/src/widgets-v2/markdown/download.tsx +56 -0
- package/src/widgets-v2/markdown/index.ts +6 -0
- package/src/widgets-v2/markdown/markdown-content.test.tsx +165 -0
- package/src/widgets-v2/markdown/markdown-content.tsx +81 -0
- package/src/widgets-v2/markdown/markdown-ui.test.tsx +75 -0
- package/src/widgets-v2/markdown/markdown-ui.tsx +55 -0
- package/src/widgets-v2/markdown/markdown.test.tsx +39 -0
- package/src/widgets-v2/markdown/markdown.tsx +17 -0
- package/src/widgets-v2/markdown/skeleton.test.tsx +15 -0
- package/src/widgets-v2/markdown/skeleton.tsx +32 -0
- package/src/widgets-v2/markdown/style.ts +53 -0
- package/src/widgets-v2/markdown/types.ts +4 -0
- package/src/widgets-v2/note/labels.ts +9 -0
- package/src/widgets-v2/note/style.ts +26 -0
- package/src/widgets-v2/note/widget-note.test.tsx +158 -0
- package/src/widgets-v2/note/widget-note.tsx +172 -0
- package/src/widgets-v2/pie/download.test.ts +78 -0
- package/src/widgets-v2/pie/download.ts +51 -0
- package/src/widgets-v2/pie/index.ts +10 -0
- package/src/widgets-v2/pie/options.test.ts +938 -0
- package/src/widgets-v2/pie/options.ts +606 -0
- package/src/widgets-v2/pie/skeleton.test.tsx +20 -0
- package/src/widgets-v2/pie/skeleton.tsx +94 -0
- package/src/widgets-v2/pie/types.ts +62 -0
- package/src/widgets-v2/provider/widget-provider.test.tsx +119 -0
- package/src/widgets-v2/provider/widget-provider.tsx +111 -0
- package/src/widgets-v2/range/index.ts +4 -0
- package/src/widgets-v2/range/range-ui.test.tsx +136 -0
- package/src/widgets-v2/range/range-ui.tsx +278 -0
- package/src/widgets-v2/range/range.test.tsx +68 -0
- package/src/widgets-v2/range/range.tsx +52 -0
- package/src/widgets-v2/range/skeleton.test.tsx +17 -0
- package/src/widgets-v2/range/skeleton.tsx +47 -0
- package/src/widgets-v2/range/style.ts +41 -0
- package/src/widgets-v2/range/types.ts +37 -0
- package/src/widgets-v2/scatterplot/download.test.ts +71 -0
- package/src/widgets-v2/scatterplot/download.ts +50 -0
- package/src/widgets-v2/scatterplot/index.ts +14 -0
- package/src/widgets-v2/scatterplot/options.test.ts +411 -0
- package/src/widgets-v2/scatterplot/options.ts +422 -0
- package/src/widgets-v2/scatterplot/skeleton.test.tsx +17 -0
- package/src/widgets-v2/scatterplot/skeleton.tsx +84 -0
- package/src/widgets-v2/scatterplot/transforms.test.ts +134 -0
- package/src/widgets-v2/scatterplot/transforms.ts +61 -0
- package/src/widgets-v2/scatterplot/types.ts +59 -0
- package/src/widgets-v2/selection-summary/labels.ts +15 -0
- package/src/widgets-v2/selection-summary/selection-summary.test.tsx +59 -0
- package/src/widgets-v2/selection-summary/selection-summary.tsx +82 -0
- package/src/widgets-v2/selection-summary/style.ts +38 -0
- package/src/widgets-v2/spread/band.test.ts +46 -0
- package/src/widgets-v2/spread/band.ts +47 -0
- package/src/widgets-v2/spread/download.test.ts +64 -0
- package/src/widgets-v2/spread/download.ts +55 -0
- package/src/widgets-v2/spread/index.ts +11 -0
- package/src/widgets-v2/spread/separator.tsx +11 -0
- package/src/widgets-v2/spread/skeleton.test.tsx +17 -0
- package/src/widgets-v2/spread/skeleton.tsx +38 -0
- package/src/widgets-v2/spread/spread-ui.test.tsx +108 -0
- package/src/widgets-v2/spread/spread-ui.tsx +52 -0
- package/src/widgets-v2/spread/spread.test.tsx +50 -0
- package/src/widgets-v2/spread/spread.tsx +31 -0
- package/src/widgets-v2/spread/types.ts +27 -0
- package/src/widgets-v2/state/labels.test.ts +33 -0
- package/src/widgets-v2/state/labels.ts +20 -0
- package/src/widgets-v2/state/style.ts +25 -0
- package/src/widgets-v2/state/widget-state.test.tsx +294 -0
- package/src/widgets-v2/state/widget-state.tsx +184 -0
- package/src/widgets-v2/stores/index.ts +49 -0
- package/src/widgets-v2/stores/pipeline-middleware.test.ts +187 -0
- package/src/widgets-v2/stores/pipeline-middleware.ts +91 -0
- package/src/widgets-v2/stores/transforms.test.ts +162 -0
- package/src/widgets-v2/stores/transforms.ts +70 -0
- package/src/widgets-v2/stores/types.ts +64 -0
- package/src/widgets-v2/stores/use-echart-instance.test.tsx +91 -0
- package/src/widgets-v2/stores/use-echart-instance.ts +29 -0
- package/src/widgets-v2/stores/use-transform-enabled.test.tsx +127 -0
- package/src/widgets-v2/stores/use-transform-enabled.ts +25 -0
- package/src/widgets-v2/stores/use-transform.test.tsx +262 -0
- package/src/widgets-v2/stores/use-transform.ts +158 -0
- package/src/widgets-v2/stores/widget-context.test.tsx +58 -0
- package/src/widgets-v2/stores/widget-context.ts +15 -0
- package/src/widgets-v2/stores/widget-store-registry.test.ts +292 -0
- package/src/widgets-v2/stores/widget-store-registry.ts +239 -0
- package/src/widgets-v2/subheader/style.ts +12 -0
- package/src/widgets-v2/subheader/subheader.test.tsx +30 -0
- package/src/widgets-v2/subheader/subheader.tsx +16 -0
- package/src/widgets-v2/table/download.test.ts +85 -0
- package/src/widgets-v2/table/download.ts +43 -0
- package/src/widgets-v2/table/helpers.test.ts +233 -0
- package/src/widgets-v2/table/helpers.ts +131 -0
- package/src/widgets-v2/table/index.ts +24 -0
- package/src/widgets-v2/table/labels.tsx +41 -0
- package/src/widgets-v2/table/skeleton.test.tsx +26 -0
- package/src/widgets-v2/table/skeleton.tsx +65 -0
- package/src/widgets-v2/table/style.ts +43 -0
- package/src/widgets-v2/table/table-ui.test.tsx +200 -0
- package/src/widgets-v2/table/table-ui.tsx +364 -0
- package/src/widgets-v2/table/table.test.tsx +119 -0
- package/src/widgets-v2/table/table.tsx +179 -0
- package/src/widgets-v2/table/transforms.test.ts +40 -0
- package/src/widgets-v2/table/transforms.ts +28 -0
- package/src/widgets-v2/table/types.ts +55 -0
- package/src/widgets-v2/test-utils.ts +107 -0
- package/src/widgets-v2/timeseries/download.test.ts +95 -0
- package/src/widgets-v2/timeseries/download.ts +82 -0
- package/src/widgets-v2/timeseries/index.ts +11 -0
- package/src/widgets-v2/timeseries/options.test.ts +399 -0
- package/src/widgets-v2/timeseries/options.ts +342 -0
- package/src/widgets-v2/timeseries/skeleton.test.tsx +13 -0
- package/src/widgets-v2/timeseries/skeleton.tsx +76 -0
- package/src/widgets-v2/timeseries/transforms.test.ts +49 -0
- package/src/widgets-v2/timeseries/transforms.ts +31 -0
- package/src/widgets-v2/timeseries/types.ts +65 -0
- package/src/widgets-v2/toolbox/labels.ts +9 -0
- package/src/widgets-v2/toolbox/style.ts +33 -0
- package/src/widgets-v2/toolbox/toolbox.test.tsx +200 -0
- package/src/widgets-v2/toolbox/toolbox.tsx +309 -0
- package/src/widgets-v2/types.ts +25 -0
- package/src/widgets-v2/utils/data-zoom-layout.ts +26 -0
- package/src/widgets-v2/utils/index.ts +3 -0
- package/src/widgets-v2/utils/merge-options.test.ts +52 -0
- package/src/widgets-v2/utils/merge-options.ts +50 -0
- package/src/widgets-v2/utils/resolve-theme-color.test.ts +43 -0
- package/src/widgets-v2/utils/resolve-theme-color.ts +34 -0
- package/src/widgets-v2/wrapper/index.ts +14 -0
- package/src/widgets-v2/wrapper/labels.ts +11 -0
- package/src/widgets-v2/wrapper/style.ts +128 -0
- package/src/widgets-v2/wrapper/widget-actions.test.tsx +52 -0
- package/src/widgets-v2/wrapper/widget-actions.tsx +43 -0
- package/src/widgets-v2/wrapper/widget-content.test.tsx +27 -0
- package/src/widgets-v2/wrapper/widget-content.tsx +29 -0
- package/src/widgets-v2/wrapper/widget-wrapper.test.tsx +255 -0
- package/src/widgets-v2/wrapper/widget-wrapper.tsx +194 -0
- package/dist/cjs-D9ro6BXv.js +0 -85
- package/dist/cjs-D9ro6BXv.js.map +0 -1
- package/dist/components.js.map +0 -1
- package/dist/error-B2IJ9d2h.js +0 -38
- package/dist/error-B2IJ9d2h.js.map +0 -1
- package/dist/exports-Cr43OCul.js +0 -51
- package/dist/exports-Cr43OCul.js.map +0 -1
- package/dist/lasso-tool-CYn3ivf-.js +0 -534
- package/dist/lasso-tool-CYn3ivf-.js.map +0 -1
- package/dist/markdown-ui-CpNYUPqC.js +0 -68
- package/dist/markdown-ui-CpNYUPqC.js.map +0 -1
- package/dist/no-data-C54XJt13.js +0 -61
- package/dist/no-data-C54XJt13.js.map +0 -1
- package/dist/note-Clng2ej6.js +0 -124
- package/dist/note-Clng2ej6.js.map +0 -1
- package/dist/options-D9wflre6.js +0 -49
- package/dist/options-D9wflre6.js.map +0 -1
- package/dist/row-DLKZN5aF.js +0 -33
- package/dist/row-DLKZN5aF.js.map +0 -1
- package/dist/row-DrHwXNvF.js +0 -35
- package/dist/row-DrHwXNvF.js.map +0 -1
- package/dist/series-Cf1QPZHV.js +0 -83
- package/dist/series-Cf1QPZHV.js.map +0 -1
- package/dist/series-Do02NQUF.js +0 -91
- package/dist/series-Do02NQUF.js.map +0 -1
- package/dist/smart-tooltip-BEtBaIdz.js +0 -39
- package/dist/smart-tooltip-BEtBaIdz.js.map +0 -1
- package/dist/styles-CcC5L2cr.js +0 -77
- package/dist/styles-CcC5L2cr.js.map +0 -1
- package/dist/styles-dOu_pRNb.js +0 -77
- package/dist/styles-dOu_pRNb.js.map +0 -1
- package/dist/tooltip-BDnrRKrp.js +0 -25
- package/dist/tooltip-BDnrRKrp.js.map +0 -1
- package/dist/types/common/common.d.ts +0 -3
- package/dist/types/common/index.d.ts +0 -26
- package/dist/types/common/lasso-tools.d.ts +0 -36
- package/dist/types/common/measurement-tools.d.ts +0 -65
- package/dist/types/hooks/use-debounce.d.ts +0 -19
- package/dist/types/widgets/_shared/chart-config/index.d.ts +0 -7
- package/dist/types/widgets/_shared/chart-config/option-builders.d.ts +0 -34
- package/dist/types/widgets/actions/relative-data/style.d.ts +0 -8
- package/dist/types/widgets/actions/relative-data/utils.test.d.ts +0 -1
- package/dist/types/widgets/actions/zoom-toggle/index.d.ts +0 -2
- package/dist/types/widgets/category/components/index.d.ts +0 -10
- package/dist/types/widgets/index.d.ts +0 -8
- package/dist/types/widgets/range/serializer.test.d.ts +0 -1
- package/dist/types/widgets/root/index.d.ts +0 -3
- package/dist/types/widgets/root/root.d.ts +0 -2
- package/dist/types/widgets/root/types.d.ts +0 -9
- package/dist/types/widgets/root/utils.d.ts +0 -1
- package/dist/types/widgets/stores/widget-store.test.d.ts +0 -1
- package/dist/types/widgets/table/components/index.d.ts +0 -4
- package/dist/types/widgets/table/helpers.test.d.ts +0 -1
- package/dist/types/widgets/table/hooks/index.d.ts +0 -6
- package/dist/types/widgets/table/hooks/use-pagination.test.d.ts +0 -1
- package/dist/types/widgets/table/hooks/use-selection.test.d.ts +0 -1
- package/dist/types/widgets/table/hooks/use-sort.test.d.ts +0 -1
- package/dist/utils-DNtU8q7E.js +0 -144
- package/dist/utils-DNtU8q7E.js.map +0 -1
- package/dist/utils-Dv5Z47UQ.js +0 -144
- package/dist/utils-Dv5Z47UQ.js.map +0 -1
- package/dist/widget-store-CB6Trp_0.js +0 -131
- package/dist/widget-store-CB6Trp_0.js.map +0 -1
- package/dist/widget-store-yDO2ul8g.js +0 -44
- package/dist/widget-store-yDO2ul8g.js.map +0 -1
- package/dist/widgets/actions.js.map +0 -1
- package/dist/widgets/echart.js.map +0 -1
- package/dist/widgets/formula.js.map +0 -1
- package/dist/widgets/root.js +0 -68
- package/dist/widgets/root.js.map +0 -1
- package/dist/widgets/stores.js.map +0 -1
- package/dist/widgets.js +0 -11
- package/dist/widgets.js.map +0 -1
- /package/dist/types/widgets/{_shared → utils}/chart-config/csv-modifiers.d.ts +0 -0
- /package/dist/types/widgets/{_shared → utils}/skeleton/styles.d.ts +0 -0
package/dist/widgets/actions.js
CHANGED
|
@@ -1,837 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import { IconButton as q, DialogContent as Se, Typography as ve, DialogTitle as Ce, Dialog as Ie, CircularProgress as _e, MenuItem as me, ListItemIcon as Te, ListItemText as ge, Menu as pe, useTheme as ke, Box as xe, TextField as ye, InputAdornment as ae, SvgIcon as Ee } from "@mui/material";
|
|
4
|
-
import { u as R } from "../widget-store-CB6Trp_0.js";
|
|
5
|
-
import { FullscreenOutlined as Le, Close as we, FileDownloadOutlined as ze, PercentOutlined as $e, SubdirectoryArrowLeftOutlined as We, ZoomInOutlined as De, CheckBoxOutlined as Oe, SearchOutlined as he, ClearOutlined as Re } from "@mui/icons-material";
|
|
6
|
-
import { useShallow as Q } from "zustand/shallow";
|
|
7
|
-
import { useState as re, useRef as se, useEffect as j } from "react";
|
|
8
|
-
import "react-markdown";
|
|
9
|
-
import { a as il, d as rl } from "../exports-Cr43OCul.js";
|
|
10
|
-
import "../lasso-tool-CYn3ivf-.js";
|
|
11
|
-
import "../cjs-D9ro6BXv.js";
|
|
12
|
-
import { T as ee } from "../tooltip-BDnrRKrp.js";
|
|
13
|
-
import { b as Pe, a as Be, D as Fe } from "../utils-Dv5Z47UQ.js";
|
|
14
|
-
import { useSensors as Ae, useSensor as de, PointerSensor as Ve, KeyboardSensor as Ze, DndContext as Me, closestCenter as He } from "@dnd-kit/core";
|
|
15
|
-
import { useSortable as je, sortableKeyboardCoordinates as Ge, arrayMove as Ne, SortableContext as Ue, verticalListSortingStrategy as Ke } from "@dnd-kit/sortable";
|
|
16
|
-
import { CSS as Ye } from "@dnd-kit/utilities";
|
|
17
|
-
const ue = {
|
|
18
|
-
title: {
|
|
19
|
-
container: {
|
|
20
|
-
display: "flex",
|
|
21
|
-
alignItems: "center",
|
|
22
|
-
justifyContent: "space-between",
|
|
23
|
-
gap: 1
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
content: {
|
|
27
|
-
display: "flex",
|
|
28
|
-
flexDirection: "column",
|
|
29
|
-
gap: ({
|
|
30
|
-
spacing: l
|
|
31
|
-
}) => l(1)
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
function Yt(l) {
|
|
35
|
-
const e = U(46), {
|
|
36
|
-
id: t,
|
|
37
|
-
labels: w,
|
|
38
|
-
children: b,
|
|
39
|
-
Icon: v,
|
|
40
|
-
IconButtonProps: h,
|
|
41
|
-
DialogContentProps: x
|
|
42
|
-
} = l;
|
|
43
|
-
let a;
|
|
44
|
-
e[0] !== x ? (a = x === void 0 ? {} : x, e[0] = x, e[1] = a) : a = e[1];
|
|
45
|
-
let d, S;
|
|
46
|
-
e[2] !== a ? ({
|
|
47
|
-
sx: S,
|
|
48
|
-
...d
|
|
49
|
-
} = a, e[2] = a, e[3] = d, e[4] = S) : (d = e[3], S = e[4]);
|
|
50
|
-
let o;
|
|
51
|
-
e[5] !== t ? (o = (F) => {
|
|
52
|
-
const O = F.getWidget(t);
|
|
53
|
-
return {
|
|
54
|
-
isFullScreen: O?.isFullScreen,
|
|
55
|
-
title: O?.title
|
|
56
|
-
};
|
|
57
|
-
}, e[5] = t, e[6] = o) : o = e[6];
|
|
58
|
-
const {
|
|
59
|
-
isFullScreen: i,
|
|
60
|
-
title: _
|
|
61
|
-
} = R(Q(o)), p = R(qe);
|
|
62
|
-
let n;
|
|
63
|
-
e[7] !== t || e[8] !== p ? (n = (F) => {
|
|
64
|
-
p(t, {
|
|
65
|
-
isFullScreen: F.isFullScreen
|
|
66
|
-
});
|
|
67
|
-
}, e[7] = t, e[8] = p, e[9] = n) : n = e[9];
|
|
68
|
-
const r = n;
|
|
69
|
-
let u;
|
|
70
|
-
e[10] !== r ? (u = () => r({
|
|
71
|
-
isFullScreen: !0
|
|
72
|
-
}), e[10] = r, e[11] = u) : u = e[11];
|
|
73
|
-
let s;
|
|
74
|
-
e[12] !== v ? (s = v ?? /* @__PURE__ */ m(Le, {}), e[12] = v, e[13] = s) : s = e[13];
|
|
75
|
-
let c;
|
|
76
|
-
e[14] !== h || e[15] !== u || e[16] !== s ? (c = /* @__PURE__ */ m(q, { ...h, onClick: u, children: s }), e[14] = h, e[15] = u, e[16] = s, e[17] = c) : c = e[17];
|
|
77
|
-
const f = !!i, z = w?.ariaLabel ?? `fullscreen-dialog-title-${t}`;
|
|
78
|
-
let T;
|
|
79
|
-
e[18] !== r ? (T = () => r({
|
|
80
|
-
isFullScreen: !1
|
|
81
|
-
}), e[18] = r, e[19] = T) : T = e[19];
|
|
82
|
-
const y = `fullscreen-dialog-title-${t}`;
|
|
83
|
-
let I;
|
|
84
|
-
e[20] !== _ ? (I = /* @__PURE__ */ m(ve, { variant: "subtitle1", component: "span", children: _ }), e[20] = _, e[21] = I) : I = e[21];
|
|
85
|
-
let C;
|
|
86
|
-
e[22] !== r ? (C = () => r({
|
|
87
|
-
isFullScreen: !1
|
|
88
|
-
}), e[22] = r, e[23] = C) : C = e[23];
|
|
89
|
-
let D;
|
|
90
|
-
e[24] === Symbol.for("react.memo_cache_sentinel") ? (D = /* @__PURE__ */ m(we, {}), e[24] = D) : D = e[24];
|
|
91
|
-
let g;
|
|
92
|
-
e[25] !== C ? (g = /* @__PURE__ */ m(q, { onClick: C, children: D }), e[25] = C, e[26] = g) : g = e[26];
|
|
93
|
-
let E;
|
|
94
|
-
e[27] !== y || e[28] !== I || e[29] !== g ? (E = /* @__PURE__ */ X(Ce, { id: y, sx: ue.title.container, children: [
|
|
95
|
-
I,
|
|
96
|
-
g
|
|
97
|
-
] }), e[27] = y, e[28] = I, e[29] = g, e[30] = E) : E = e[30];
|
|
98
|
-
let k;
|
|
99
|
-
e[31] !== S ? (k = {
|
|
100
|
-
...ue.content,
|
|
101
|
-
...S
|
|
102
|
-
}, e[31] = S, e[32] = k) : k = e[32];
|
|
103
|
-
let L;
|
|
104
|
-
e[33] !== d || e[34] !== b || e[35] !== k ? (L = /* @__PURE__ */ m(Se, { sx: k, ...d, children: b }), e[33] = d, e[34] = b, e[35] = k, e[36] = L) : L = e[36];
|
|
105
|
-
let $;
|
|
106
|
-
e[37] !== T || e[38] !== E || e[39] !== L || e[40] !== f || e[41] !== z ? ($ = /* @__PURE__ */ X(Ie, { maxWidth: !1, open: f, "aria-labelledby": z, onClose: T, children: [
|
|
107
|
-
E,
|
|
108
|
-
L
|
|
109
|
-
] }), e[37] = T, e[38] = E, e[39] = L, e[40] = f, e[41] = z, e[42] = $) : $ = e[42];
|
|
110
|
-
let W;
|
|
111
|
-
return e[43] !== $ || e[44] !== c ? (W = /* @__PURE__ */ X(ce, { children: [
|
|
112
|
-
c,
|
|
113
|
-
$
|
|
114
|
-
] }), e[43] = $, e[44] = c, e[45] = W) : W = e[45], W;
|
|
115
|
-
}
|
|
116
|
-
function qe(l) {
|
|
117
|
-
return l.setWidget;
|
|
118
|
-
}
|
|
119
|
-
function qt(l) {
|
|
120
|
-
const e = U(35), {
|
|
121
|
-
id: t,
|
|
122
|
-
items: w,
|
|
123
|
-
labels: b,
|
|
124
|
-
Icon: v,
|
|
125
|
-
IconButtonProps: h
|
|
126
|
-
} = l;
|
|
127
|
-
let x;
|
|
128
|
-
e[0] !== b ? (x = b === void 0 ? {} : b, e[0] = b, e[1] = x) : x = e[1];
|
|
129
|
-
const a = x;
|
|
130
|
-
let d;
|
|
131
|
-
e[2] !== t ? (d = (O) => O.getWidget(t)?.data, e[2] = t, e[3] = d) : d = e[3];
|
|
132
|
-
const S = R(Q(d)), [o, i] = re(!1), [_, p] = re(null);
|
|
133
|
-
let n;
|
|
134
|
-
e[4] === Symbol.for("react.memo_cache_sentinel") ? (n = (O) => {
|
|
135
|
-
O.stopPropagation(), p(O.currentTarget);
|
|
136
|
-
}, e[4] = n) : n = e[4];
|
|
137
|
-
const r = n;
|
|
138
|
-
let u;
|
|
139
|
-
e[5] !== t ? (u = (O, P) => {
|
|
140
|
-
const A = document.createElement("a");
|
|
141
|
-
A.href = O, A.download = P.filename ?? t, A.style.display = "none", document.body.appendChild(A), A.click(), document.body.removeChild(A), P.callback?.(A.href);
|
|
142
|
-
}, e[5] = t, e[6] = u) : u = e[6];
|
|
143
|
-
const s = u;
|
|
144
|
-
let c;
|
|
145
|
-
e[7] !== S || e[8] !== s ? (c = async (O, P) => {
|
|
146
|
-
O.stopPropagation(), i(!0), p(null);
|
|
147
|
-
const A = await P.modifier(S);
|
|
148
|
-
if (!A) {
|
|
149
|
-
i(!1);
|
|
150
|
-
return;
|
|
151
|
-
}
|
|
152
|
-
s(A, P), i(!1);
|
|
153
|
-
}, e[7] = S, e[8] = s, e[9] = c) : c = e[9];
|
|
154
|
-
const f = c, z = a.ariaLabel ?? "download options", T = o || w.length === 0, y = o || _ ? "active" : "";
|
|
155
|
-
let I;
|
|
156
|
-
e[10] !== v || e[11] !== o ? (I = o ? /* @__PURE__ */ m(_e, { size: 18, color: "inherit" }) : v ?? /* @__PURE__ */ m(ze, {}), e[10] = v, e[11] = o, e[12] = I) : I = e[12];
|
|
157
|
-
let C;
|
|
158
|
-
e[13] !== h || e[14] !== I || e[15] !== z || e[16] !== T || e[17] !== y ? (C = /* @__PURE__ */ m(q, { size: "small", "aria-label": z, "aria-controls": "options-menu", "aria-haspopup": "true", onClick: r, ...h, disabled: T, className: y, children: I }), e[13] = h, e[14] = I, e[15] = z, e[16] = T, e[17] = y, e[18] = C) : C = e[18];
|
|
159
|
-
let D, g;
|
|
160
|
-
e[19] === Symbol.for("react.memo_cache_sentinel") ? (D = {
|
|
161
|
-
vertical: "bottom",
|
|
162
|
-
horizontal: "right"
|
|
163
|
-
}, g = {
|
|
164
|
-
vertical: "top",
|
|
165
|
-
horizontal: "right"
|
|
166
|
-
}, e[19] = D, e[20] = g) : (D = e[19], g = e[20]);
|
|
167
|
-
const E = !!_;
|
|
168
|
-
let k, L;
|
|
169
|
-
e[21] === Symbol.for("react.memo_cache_sentinel") ? (k = () => p(null), L = {
|
|
170
|
-
sx: {
|
|
171
|
-
paddingBottom: 0
|
|
172
|
-
}
|
|
173
|
-
}, e[21] = k, e[22] = L) : (k = e[21], L = e[22]);
|
|
174
|
-
let $;
|
|
175
|
-
if (e[23] !== f || e[24] !== w) {
|
|
176
|
-
let O;
|
|
177
|
-
e[26] !== f ? (O = (P) => /* @__PURE__ */ X(me, { disabled: P.disabled, onClick: (A) => void f(A, P), children: [
|
|
178
|
-
P.icon && /* @__PURE__ */ m(Te, { sx: {
|
|
179
|
-
color: "text.primary"
|
|
180
|
-
}, children: P.icon }),
|
|
181
|
-
/* @__PURE__ */ m(ge, { children: P.label })
|
|
182
|
-
] }, P.id), e[26] = f, e[27] = O) : O = e[27], $ = w.map(O), e[23] = f, e[24] = w, e[25] = $;
|
|
183
|
-
} else
|
|
184
|
-
$ = e[25];
|
|
185
|
-
let W;
|
|
186
|
-
e[28] !== _ || e[29] !== E || e[30] !== $ ? (W = /* @__PURE__ */ m(pe, { variant: "menu", elevation: 8, anchorOrigin: D, transformOrigin: g, anchorEl: _, open: E, onClose: k, MenuListProps: L, children: $ }), e[28] = _, e[29] = E, e[30] = $, e[31] = W) : W = e[31];
|
|
187
|
-
let F;
|
|
188
|
-
return e[32] !== C || e[33] !== W ? (F = /* @__PURE__ */ X(ce, { children: [
|
|
189
|
-
C,
|
|
190
|
-
W
|
|
191
|
-
] }), e[32] = C, e[33] = W, e[34] = F) : F = e[34], F;
|
|
192
|
-
}
|
|
193
|
-
const ne = {
|
|
194
|
-
trigger: {
|
|
195
|
-
'&[data-active="true"]': {
|
|
196
|
-
background: (l) => l.palette.primary.relatedLight
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
};
|
|
200
|
-
function Je(l) {
|
|
201
|
-
return l.reduce((e, t) => t.reduce((w, b) => Object.values(b).reduce((v, h) => typeof h == "number" ? v + h : v, w), e), 0);
|
|
202
|
-
}
|
|
203
|
-
function Qe(l, e) {
|
|
204
|
-
return e === 0 ? l : l.map((t) => t.map((w) => {
|
|
205
|
-
const b = {};
|
|
206
|
-
for (const [v, h] of Object.entries(w))
|
|
207
|
-
b[v] = typeof h == "number" ? h / e * 100 : h;
|
|
208
|
-
return b;
|
|
209
|
-
}));
|
|
210
|
-
}
|
|
211
|
-
const ie = "relative-data";
|
|
212
|
-
function Jt(l) {
|
|
213
|
-
const e = U(36), {
|
|
214
|
-
id: t,
|
|
215
|
-
order: w,
|
|
216
|
-
defaultIsRelative: b,
|
|
217
|
-
labels: v,
|
|
218
|
-
Icon: h,
|
|
219
|
-
IconButtonProps: x
|
|
220
|
-
} = l, a = w === void 0 ? 10 : w, d = b === void 0 ? !1 : b, S = se(void 0), o = R(ot), i = R(nt), _ = R(lt), p = R(tt), n = R(et);
|
|
221
|
-
let r;
|
|
222
|
-
e[0] !== t ? (r = (W) => W.getWidget(t)?.isRelative, e[0] = t, e[1] = r) : r = e[1];
|
|
223
|
-
const s = R(r) ?? d;
|
|
224
|
-
let c, f;
|
|
225
|
-
e[2] !== d || e[3] !== i || e[4] !== t || e[5] !== o ? (c = () => {
|
|
226
|
-
i(t)?.isRelative === void 0 && o(t, {
|
|
227
|
-
isRelative: d
|
|
228
|
-
});
|
|
229
|
-
}, f = [d, i, t, o], e[2] = d, e[3] = i, e[4] = t, e[5] = o, e[6] = c, e[7] = f) : (c = e[6], f = e[7]), j(c, f);
|
|
230
|
-
let z, T;
|
|
231
|
-
e[8] !== t || e[9] !== s || e[10] !== a || e[11] !== _ || e[12] !== p ? (z = () => (_(t, {
|
|
232
|
-
id: ie,
|
|
233
|
-
order: a,
|
|
234
|
-
enabled: s,
|
|
235
|
-
fn: Xe
|
|
236
|
-
}), () => p(t, ie)), T = [t, a, _, p, s], e[8] = t, e[9] = s, e[10] = a, e[11] = _, e[12] = p, e[13] = z, e[14] = T) : (z = e[13], T = e[14]), j(z, T);
|
|
237
|
-
let y, I;
|
|
238
|
-
e[15] !== t || e[16] !== s || e[17] !== n ? (y = () => {
|
|
239
|
-
n(t, ie, s);
|
|
240
|
-
}, I = [t, s, n], e[15] = t, e[16] = s, e[17] = n, e[18] = y, e[19] = I) : (y = e[18], I = e[19]), j(y, I);
|
|
241
|
-
let C;
|
|
242
|
-
e[20] !== i || e[21] !== t || e[22] !== s || e[23] !== o ? (C = () => {
|
|
243
|
-
const W = !s;
|
|
244
|
-
let F = S.current;
|
|
245
|
-
if (W) {
|
|
246
|
-
const O = i(t)?.max;
|
|
247
|
-
S.current = O, F = 100;
|
|
248
|
-
}
|
|
249
|
-
o(t, {
|
|
250
|
-
isRelative: W,
|
|
251
|
-
max: F
|
|
252
|
-
});
|
|
253
|
-
}, e[20] = i, e[21] = t, e[22] = s, e[23] = o, e[24] = C) : C = e[24];
|
|
254
|
-
const D = C, g = s ? v?.absolute ?? "Show absolute values" : v?.relative ?? "Show relative values", E = v?.ariaLabel ?? g;
|
|
255
|
-
let k;
|
|
256
|
-
e[25] !== h ? (k = h ?? /* @__PURE__ */ m($e, {}), e[25] = h, e[26] = k) : k = e[26];
|
|
257
|
-
let L;
|
|
258
|
-
e[27] !== x || e[28] !== D || e[29] !== s || e[30] !== E || e[31] !== k ? (L = /* @__PURE__ */ m(q, { size: "small", "aria-label": E, onClick: D, sx: ne.trigger, "data-active": s, ...x, children: k }), e[27] = x, e[28] = D, e[29] = s, e[30] = E, e[31] = k, e[32] = L) : L = e[32];
|
|
259
|
-
let $;
|
|
260
|
-
return e[33] !== L || e[34] !== g ? ($ = /* @__PURE__ */ m(ee, { title: g, children: L }), e[33] = L, e[34] = g, e[35] = $) : $ = e[35], $;
|
|
261
|
-
}
|
|
262
|
-
function Xe(l) {
|
|
263
|
-
const e = l, t = Je(e);
|
|
264
|
-
return Qe(e, t);
|
|
265
|
-
}
|
|
266
|
-
function et(l) {
|
|
267
|
-
return l.setToolEnabled;
|
|
268
|
-
}
|
|
269
|
-
function tt(l) {
|
|
270
|
-
return l.unregisterTool;
|
|
271
|
-
}
|
|
272
|
-
function lt(l) {
|
|
273
|
-
return l.registerTool;
|
|
274
|
-
}
|
|
275
|
-
function nt(l) {
|
|
276
|
-
return l.getWidget;
|
|
277
|
-
}
|
|
278
|
-
function ot(l) {
|
|
279
|
-
return l.setWidget;
|
|
280
|
-
}
|
|
281
|
-
const fe = {
|
|
282
|
-
container: {
|
|
283
|
-
display: "flex",
|
|
284
|
-
alignItems: "center",
|
|
285
|
-
gap: ({
|
|
286
|
-
spacing: l
|
|
287
|
-
}) => l(0.25)
|
|
288
|
-
},
|
|
289
|
-
trigger: {
|
|
290
|
-
'&[data-active="true"]': {
|
|
291
|
-
background: (l) => l.palette.primary.relatedLight
|
|
292
|
-
}
|
|
293
|
-
}
|
|
294
|
-
};
|
|
295
|
-
function Qt(l) {
|
|
296
|
-
const e = U(59), {
|
|
297
|
-
id: t,
|
|
298
|
-
defaultZoom: w,
|
|
299
|
-
defaultZoomStart: b,
|
|
300
|
-
defaultZoomEnd: v,
|
|
301
|
-
labels: h,
|
|
302
|
-
Icon: x,
|
|
303
|
-
ResetIcon: a,
|
|
304
|
-
IconButtonProps: d
|
|
305
|
-
} = l, S = w === void 0 ? !1 : w, o = b === void 0 ? 0 : b, i = v === void 0 ? 100 : v, _ = ke(), p = R(it), n = R(st);
|
|
306
|
-
let r;
|
|
307
|
-
e[0] !== t ? (r = (B) => B.getWidget(t)?.zoom ?? !1, e[0] = t, e[1] = r) : r = e[1];
|
|
308
|
-
const u = R(Q(r));
|
|
309
|
-
let s;
|
|
310
|
-
e[2] !== n || e[3] !== t || e[4] !== p || e[5] !== _ ? (s = (B, Z, N) => {
|
|
311
|
-
const J = Pe(B, {
|
|
312
|
-
start: Z,
|
|
313
|
-
end: N
|
|
314
|
-
}, {
|
|
315
|
-
inside: !0,
|
|
316
|
-
xSlider: !0,
|
|
317
|
-
ySlider: !1
|
|
318
|
-
}, _), Y = n(t)?.option;
|
|
319
|
-
p(t, {
|
|
320
|
-
zoom: B,
|
|
321
|
-
zoomStart: Z,
|
|
322
|
-
zoomEnd: N,
|
|
323
|
-
option: {
|
|
324
|
-
...Y,
|
|
325
|
-
...J
|
|
326
|
-
}
|
|
327
|
-
});
|
|
328
|
-
}, e[2] = n, e[3] = t, e[4] = p, e[5] = _, e[6] = s) : s = e[6];
|
|
329
|
-
const c = s;
|
|
330
|
-
let f, z;
|
|
331
|
-
e[7] !== S || e[8] !== i || e[9] !== o || e[10] !== n || e[11] !== t || e[12] !== c ? (f = () => {
|
|
332
|
-
const B = n(t);
|
|
333
|
-
B?.zoom || c(B?.zoom ?? S, B?.zoomStart ?? o, B?.zoomEnd ?? i);
|
|
334
|
-
}, z = [S, i, o, n, t, c], e[7] = S, e[8] = i, e[9] = o, e[10] = n, e[11] = t, e[12] = c, e[13] = f, e[14] = z) : (f = e[13], z = e[14]), j(f, z);
|
|
335
|
-
let T, y;
|
|
336
|
-
e[15] !== n || e[16] !== t || e[17] !== c ? (T = () => () => {
|
|
337
|
-
const B = n(t);
|
|
338
|
-
c(!1, B?.zoomStart ?? 0, B?.zoomEnd ?? 100);
|
|
339
|
-
}, y = [n, t, c], e[15] = n, e[16] = t, e[17] = c, e[18] = T, e[19] = y) : (T = e[18], y = e[19]), j(T, y);
|
|
340
|
-
let I;
|
|
341
|
-
e[20] !== i || e[21] !== o || e[22] !== n || e[23] !== t || e[24] !== c || e[25] !== u ? (I = () => {
|
|
342
|
-
const B = !u, Z = n(t);
|
|
343
|
-
c(B, B ? Z?.zoomStart ?? o : 0, B ? Z?.zoomEnd ?? i : 100);
|
|
344
|
-
}, e[20] = i, e[21] = o, e[22] = n, e[23] = t, e[24] = c, e[25] = u, e[26] = I) : I = e[26];
|
|
345
|
-
const C = I;
|
|
346
|
-
let D;
|
|
347
|
-
e[27] !== i || e[28] !== o || e[29] !== c ? (D = () => {
|
|
348
|
-
c(!0, o, i);
|
|
349
|
-
}, e[27] = i, e[28] = o, e[29] = c, e[30] = D) : D = e[30];
|
|
350
|
-
const g = D;
|
|
351
|
-
let E;
|
|
352
|
-
e[31] !== c ? (E = (B) => {
|
|
353
|
-
const Z = B, N = Z.start, J = Z.end;
|
|
354
|
-
N !== void 0 && J !== void 0 && c(!0, N, J);
|
|
355
|
-
}, e[31] = c, e[32] = E) : E = e[32];
|
|
356
|
-
const k = E;
|
|
357
|
-
let L, $;
|
|
358
|
-
e[33] !== k || e[34] !== t || e[35] !== p || e[36] !== u ? (L = () => {
|
|
359
|
-
u && p(t, {
|
|
360
|
-
onEvents: {
|
|
361
|
-
dataZoom: k
|
|
362
|
-
}
|
|
363
|
-
});
|
|
364
|
-
}, $ = [t, u, k, p], e[33] = k, e[34] = t, e[35] = p, e[36] = u, e[37] = L, e[38] = $) : (L = e[37], $ = e[38]), j(L, $);
|
|
365
|
-
const W = h?.enable ?? "Enable zoom", F = h?.disable ?? "Disable zoom", O = h?.reset ?? "Reset zoom", P = u ? F : W, A = h?.ariaLabel ?? P;
|
|
366
|
-
let V;
|
|
367
|
-
e[39] !== x ? (V = x ?? /* @__PURE__ */ m(De, {}), e[39] = x, e[40] = V) : V = e[40];
|
|
368
|
-
let M;
|
|
369
|
-
e[41] !== d || e[42] !== C || e[43] !== A || e[44] !== V || e[45] !== u ? (M = /* @__PURE__ */ m(q, { size: "small", "aria-label": A, onClick: C, sx: fe.trigger, "data-active": u, ...d, children: V }), e[41] = d, e[42] = C, e[43] = A, e[44] = V, e[45] = u, e[46] = M) : M = e[46];
|
|
370
|
-
let H;
|
|
371
|
-
e[47] !== M || e[48] !== P ? (H = /* @__PURE__ */ m(ee, { title: P, children: M }), e[47] = M, e[48] = P, e[49] = H) : H = e[49];
|
|
372
|
-
let G;
|
|
373
|
-
e[50] !== d || e[51] !== a || e[52] !== g || e[53] !== O || e[54] !== u ? (G = u && /* @__PURE__ */ m(ee, { title: O, children: /* @__PURE__ */ m(q, { size: "small", "aria-label": O, onClick: g, ...d, children: a ?? /* @__PURE__ */ m(We, {}) }) }), e[50] = d, e[51] = a, e[52] = g, e[53] = O, e[54] = u, e[55] = G) : G = e[55];
|
|
374
|
-
let K;
|
|
375
|
-
return e[56] !== H || e[57] !== G ? (K = /* @__PURE__ */ X(xe, { sx: fe.container, children: [
|
|
376
|
-
H,
|
|
377
|
-
G
|
|
378
|
-
] }), e[56] = H, e[57] = G, e[58] = K) : K = e[58], K;
|
|
379
|
-
}
|
|
380
|
-
function st(l) {
|
|
381
|
-
return l.getWidget;
|
|
382
|
-
}
|
|
383
|
-
function it(l) {
|
|
384
|
-
return l.setWidget;
|
|
385
|
-
}
|
|
386
|
-
const rt = () => {
|
|
387
|
-
const l = U(1);
|
|
388
|
-
let e;
|
|
389
|
-
return l[0] === Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ m("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ m("path", { d: "M4 20V8H8V20H4ZM9 20V13H13V20H9ZM16 20V4H20V20H16Z", fill: "currentColor" }) }), l[0] = e) : e = l[0], e;
|
|
390
|
-
};
|
|
391
|
-
function Xt(l) {
|
|
392
|
-
const e = U(30), {
|
|
393
|
-
id: t,
|
|
394
|
-
defaultIsStacked: w,
|
|
395
|
-
labels: b,
|
|
396
|
-
Icon: v,
|
|
397
|
-
IconButtonProps: h
|
|
398
|
-
} = l, x = w === void 0 ? !1 : w, a = R(dt);
|
|
399
|
-
let d;
|
|
400
|
-
e[0] !== t ? (d = (g) => g.getWidget(t)?.isStacked, e[0] = t, e[1] = d) : d = e[1];
|
|
401
|
-
const S = R(Q(d)), o = R(at);
|
|
402
|
-
let i;
|
|
403
|
-
if (e[2] !== o || e[3] !== t) {
|
|
404
|
-
e: {
|
|
405
|
-
const g = o(t)?.option;
|
|
406
|
-
if (!g) {
|
|
407
|
-
i = !1;
|
|
408
|
-
break e;
|
|
409
|
-
}
|
|
410
|
-
i = (Array.isArray(g.series) ? g.series : [g.series]).some(ct);
|
|
411
|
-
}
|
|
412
|
-
e[2] = o, e[3] = t, e[4] = i;
|
|
413
|
-
} else
|
|
414
|
-
i = e[4];
|
|
415
|
-
const p = i || x, n = S ?? p;
|
|
416
|
-
let r;
|
|
417
|
-
e[5] !== o || e[6] !== t || e[7] !== a ? (r = (g) => {
|
|
418
|
-
const E = o(t)?.option;
|
|
419
|
-
if (!E)
|
|
420
|
-
return;
|
|
421
|
-
const L = (Array.isArray(E.series) ? E.series : [E.series]).map(($) => {
|
|
422
|
-
const W = $?.stack;
|
|
423
|
-
return {
|
|
424
|
-
...$,
|
|
425
|
-
...Be(g, typeof W == "string" ? W : Fe)
|
|
426
|
-
};
|
|
427
|
-
});
|
|
428
|
-
a(t, {
|
|
429
|
-
option: {
|
|
430
|
-
...E,
|
|
431
|
-
series: L
|
|
432
|
-
}
|
|
433
|
-
});
|
|
434
|
-
}, e[5] = o, e[6] = t, e[7] = a, e[8] = r) : r = e[8];
|
|
435
|
-
const u = r;
|
|
436
|
-
let s, c;
|
|
437
|
-
e[9] !== p || e[10] !== t || e[11] !== a ? (s = () => {
|
|
438
|
-
a(t, {
|
|
439
|
-
isStacked: p
|
|
440
|
-
});
|
|
441
|
-
}, c = [p, t, a], e[9] = p, e[10] = t, e[11] = a, e[12] = s, e[13] = c) : (s = e[12], c = e[13]), j(s, c);
|
|
442
|
-
let f;
|
|
443
|
-
e[14] !== t || e[15] !== n || e[16] !== a || e[17] !== u ? (f = () => {
|
|
444
|
-
const g = !n;
|
|
445
|
-
a(t, {
|
|
446
|
-
isStacked: g
|
|
447
|
-
}), u(g);
|
|
448
|
-
}, e[14] = t, e[15] = n, e[16] = a, e[17] = u, e[18] = f) : f = e[18];
|
|
449
|
-
const z = f, T = n ? b?.unstacked ?? "Disable stacking" : b?.stacked ?? "Enable stacking", y = b?.ariaLabel ?? T;
|
|
450
|
-
let I;
|
|
451
|
-
e[19] !== v ? (I = v ?? /* @__PURE__ */ m(rt, {}), e[19] = v, e[20] = I) : I = e[20];
|
|
452
|
-
let C;
|
|
453
|
-
e[21] !== h || e[22] !== z || e[23] !== n || e[24] !== y || e[25] !== I ? (C = /* @__PURE__ */ m(q, { size: "small", "aria-label": y, onClick: z, sx: ne.trigger, "data-active": n, ...h, children: I }), e[21] = h, e[22] = z, e[23] = n, e[24] = y, e[25] = I, e[26] = C) : C = e[26];
|
|
454
|
-
let D;
|
|
455
|
-
return e[27] !== C || e[28] !== T ? (D = /* @__PURE__ */ m(ee, { title: T, children: C }), e[27] = C, e[28] = T, e[29] = D) : D = e[29], D;
|
|
456
|
-
}
|
|
457
|
-
function ct(l) {
|
|
458
|
-
return l?.stack;
|
|
459
|
-
}
|
|
460
|
-
function at(l) {
|
|
461
|
-
return l.getWidget;
|
|
462
|
-
}
|
|
463
|
-
function dt(l) {
|
|
464
|
-
return l.setWidget;
|
|
465
|
-
}
|
|
466
|
-
const le = "lock-selection";
|
|
467
|
-
function el(l) {
|
|
468
|
-
const e = U(37), {
|
|
469
|
-
id: t,
|
|
470
|
-
selectedItems: w,
|
|
471
|
-
order: b,
|
|
472
|
-
labels: v,
|
|
473
|
-
Icon: h,
|
|
474
|
-
IconButtonProps: x
|
|
475
|
-
} = l, a = b === void 0 ? 30 : b, d = R(ht), S = R(pt), o = R(gt), i = R(mt), _ = R(ft);
|
|
476
|
-
let p;
|
|
477
|
-
e[0] !== t ? (p = (W) => W.getWidget(t)?.isLocked, e[0] = t, e[1] = p) : p = e[1];
|
|
478
|
-
const n = R(Q(p));
|
|
479
|
-
let r;
|
|
480
|
-
e[2] !== t ? (r = (W) => W.getWidget(t)?.lockedItems, e[2] = t, e[3] = r) : r = e[3];
|
|
481
|
-
const u = R(Q(r)), s = n ?? !1;
|
|
482
|
-
let c;
|
|
483
|
-
e[4] !== u ? (c = u ?? [], e[4] = u, e[5] = c) : c = e[5];
|
|
484
|
-
const f = c;
|
|
485
|
-
let z, T;
|
|
486
|
-
e[6] !== t || e[7] !== s || e[8] !== f || e[9] !== a || e[10] !== S || e[11] !== o ? (z = () => (S(t, {
|
|
487
|
-
id: le,
|
|
488
|
-
order: a,
|
|
489
|
-
enabled: s,
|
|
490
|
-
fn: ut,
|
|
491
|
-
config: {
|
|
492
|
-
lockedItems: f
|
|
493
|
-
}
|
|
494
|
-
}), () => o(t, le)), T = [t, a, S, o, s, f], e[6] = t, e[7] = s, e[8] = f, e[9] = a, e[10] = S, e[11] = o, e[12] = z, e[13] = T) : (z = e[12], T = e[13]), j(z, T);
|
|
495
|
-
let y, I;
|
|
496
|
-
e[14] !== t || e[15] !== s || e[16] !== f || e[17] !== i || e[18] !== _ ? (y = () => {
|
|
497
|
-
i(t, le, s), _(t, le, {
|
|
498
|
-
lockedItems: f
|
|
499
|
-
});
|
|
500
|
-
}, I = [t, s, f, i, _], e[14] = t, e[15] = s, e[16] = f, e[17] = i, e[18] = _, e[19] = y, e[20] = I) : (y = e[19], I = e[20]), j(y, I);
|
|
501
|
-
let C;
|
|
502
|
-
e[21] !== t || e[22] !== s || e[23] !== w || e[24] !== d ? (C = () => {
|
|
503
|
-
s ? d(t, {
|
|
504
|
-
isLocked: !1,
|
|
505
|
-
lockedItems: []
|
|
506
|
-
}) : d(t, {
|
|
507
|
-
isLocked: !0,
|
|
508
|
-
lockedItems: w
|
|
509
|
-
});
|
|
510
|
-
}, e[21] = t, e[22] = s, e[23] = w, e[24] = d, e[25] = C) : C = e[25];
|
|
511
|
-
const D = C;
|
|
512
|
-
if (w.length === 0)
|
|
513
|
-
return null;
|
|
514
|
-
const g = s ? v?.unlock ?? "Unlock selection" : v?.lock ?? "Lock selection", E = v?.ariaLabel ?? g;
|
|
515
|
-
let k;
|
|
516
|
-
e[26] !== h ? (k = h ?? /* @__PURE__ */ m(Oe, { fontSize: "small" }), e[26] = h, e[27] = k) : k = e[27];
|
|
517
|
-
let L;
|
|
518
|
-
e[28] !== x || e[29] !== E || e[30] !== D || e[31] !== s || e[32] !== k ? (L = /* @__PURE__ */ m(q, { size: "small", "aria-label": E, onClick: D, sx: ne.trigger, "data-active": s, ...x, children: k }), e[28] = x, e[29] = E, e[30] = D, e[31] = s, e[32] = k, e[33] = L) : L = e[33];
|
|
519
|
-
let $;
|
|
520
|
-
return e[34] !== L || e[35] !== g ? ($ = /* @__PURE__ */ m(ee, { title: g, children: L }), e[34] = L, e[35] = g, e[36] = $) : $ = e[36], $;
|
|
521
|
-
}
|
|
522
|
-
function ut(l, e) {
|
|
523
|
-
const t = e?.lockedItems || [];
|
|
524
|
-
return t.length === 0 ? l : bt(l, t);
|
|
525
|
-
}
|
|
526
|
-
function ft(l) {
|
|
527
|
-
return l.updateToolConfig;
|
|
528
|
-
}
|
|
529
|
-
function mt(l) {
|
|
530
|
-
return l.setToolEnabled;
|
|
531
|
-
}
|
|
532
|
-
function gt(l) {
|
|
533
|
-
return l.unregisterTool;
|
|
534
|
-
}
|
|
535
|
-
function pt(l) {
|
|
536
|
-
return l.registerTool;
|
|
537
|
-
}
|
|
538
|
-
function ht(l) {
|
|
539
|
-
return l.setWidget;
|
|
540
|
-
}
|
|
541
|
-
function bt(l, e) {
|
|
542
|
-
return l.map((t) => t.filter((w) => {
|
|
543
|
-
const b = w.name;
|
|
544
|
-
return typeof b == "string" && e.includes(b);
|
|
545
|
-
}));
|
|
546
|
-
}
|
|
547
|
-
const te = "searcher", St = 300;
|
|
548
|
-
function tl(l) {
|
|
549
|
-
const e = U(49), {
|
|
550
|
-
id: t,
|
|
551
|
-
filterFn: w,
|
|
552
|
-
order: b,
|
|
553
|
-
labels: v,
|
|
554
|
-
TextFieldProps: h,
|
|
555
|
-
ClearIcon: x,
|
|
556
|
-
debounceDelay: a
|
|
557
|
-
} = l, d = b === void 0 ? 20 : b, S = a === void 0 ? St : a, o = se(null), i = se(null);
|
|
558
|
-
let _;
|
|
559
|
-
e[0] !== t ? (_ = (Y) => Y.getWidget(t), e[0] = t, e[1] = _) : _ = e[1];
|
|
560
|
-
const p = R(_), n = p?.isSearchEnabled ?? !1, r = p?.searchText ?? "", u = se(n), s = w ?? kt, c = R(Tt), f = R(_t), z = R(It), T = R(Ct), y = R(vt);
|
|
561
|
-
let I;
|
|
562
|
-
e[2] !== t || e[3] !== c ? (I = (Y) => {
|
|
563
|
-
c(t, {
|
|
564
|
-
searchText: Y
|
|
565
|
-
});
|
|
566
|
-
}, e[2] = t, e[3] = c, e[4] = I) : I = e[4];
|
|
567
|
-
const C = I;
|
|
568
|
-
let D, g;
|
|
569
|
-
e[5] !== n || e[6] !== s || e[7] !== t || e[8] !== d || e[9] !== f || e[10] !== r || e[11] !== z ? (D = () => (f(t, {
|
|
570
|
-
id: te,
|
|
571
|
-
order: d,
|
|
572
|
-
enabled: n,
|
|
573
|
-
fn: async (Y, oe) => {
|
|
574
|
-
const be = oe?.searchText || "";
|
|
575
|
-
return s(Y, be);
|
|
576
|
-
},
|
|
577
|
-
config: {
|
|
578
|
-
searchText: r
|
|
579
|
-
},
|
|
580
|
-
disables: [le]
|
|
581
|
-
}), () => z(t, te)), g = [t, d, s, f, z, n, r], e[5] = n, e[6] = s, e[7] = t, e[8] = d, e[9] = f, e[10] = r, e[11] = z, e[12] = D, e[13] = g) : (D = e[12], g = e[13]), j(D, g);
|
|
582
|
-
let E, k;
|
|
583
|
-
e[14] !== n || e[15] !== t || e[16] !== T ? (E = () => {
|
|
584
|
-
T(t, te, n);
|
|
585
|
-
}, k = [t, n, T], e[14] = n, e[15] = t, e[16] = T, e[17] = E, e[18] = k) : (E = e[17], k = e[18]), j(E, k);
|
|
586
|
-
let L;
|
|
587
|
-
e[19] !== S || e[20] !== t || e[21] !== y ? (L = (Y) => {
|
|
588
|
-
i.current && clearTimeout(i.current), i.current = setTimeout(() => {
|
|
589
|
-
y(t, te, {
|
|
590
|
-
searchText: Y
|
|
591
|
-
});
|
|
592
|
-
}, S);
|
|
593
|
-
}, e[19] = S, e[20] = t, e[21] = y, e[22] = L) : L = e[22];
|
|
594
|
-
const $ = L;
|
|
595
|
-
let W, F;
|
|
596
|
-
e[23] !== n ? (W = () => {
|
|
597
|
-
n && !u.current && o.current && o.current.focus(), u.current = n;
|
|
598
|
-
}, F = [n], e[23] = n, e[24] = W, e[25] = F) : (W = e[24], F = e[25]), j(W, F);
|
|
599
|
-
let O, P;
|
|
600
|
-
e[26] === Symbol.for("react.memo_cache_sentinel") ? (O = () => () => {
|
|
601
|
-
i.current && clearTimeout(i.current);
|
|
602
|
-
}, P = [], e[26] = O, e[27] = P) : (O = e[26], P = e[27]), j(O, P);
|
|
603
|
-
let A;
|
|
604
|
-
e[28] !== $ || e[29] !== C ? (A = (Y) => {
|
|
605
|
-
const oe = Y.target.value;
|
|
606
|
-
C(oe), $(oe);
|
|
607
|
-
}, e[28] = $, e[29] = C, e[30] = A) : A = e[30];
|
|
608
|
-
const V = A;
|
|
609
|
-
let M;
|
|
610
|
-
e[31] !== t || e[32] !== C || e[33] !== y ? (M = () => {
|
|
611
|
-
C(""), y(t, te, {
|
|
612
|
-
searchText: ""
|
|
613
|
-
}), o.current && o.current.focus();
|
|
614
|
-
}, e[31] = t, e[32] = C, e[33] = y, e[34] = M) : M = e[34];
|
|
615
|
-
const H = M;
|
|
616
|
-
if (!n)
|
|
617
|
-
return null;
|
|
618
|
-
const G = v?.placeholder ?? "Search...", K = v?.clearAriaLabel ?? "Clear search";
|
|
619
|
-
let B;
|
|
620
|
-
e[35] === Symbol.for("react.memo_cache_sentinel") ? (B = /* @__PURE__ */ m(ae, { position: "start", children: /* @__PURE__ */ m(he, {}) }), e[35] = B) : B = e[35];
|
|
621
|
-
let Z;
|
|
622
|
-
e[36] !== x || e[37] !== K || e[38] !== H || e[39] !== r ? (Z = r ? /* @__PURE__ */ m(ae, { position: "end", children: /* @__PURE__ */ m(q, { size: "small", "aria-label": K, onClick: H, edge: "end", children: x ?? /* @__PURE__ */ m(Re, { fontSize: "small" }) }) }) : null, e[36] = x, e[37] = K, e[38] = H, e[39] = r, e[40] = Z) : Z = e[40];
|
|
623
|
-
let N;
|
|
624
|
-
e[41] !== Z ? (N = {
|
|
625
|
-
startAdornment: B,
|
|
626
|
-
endAdornment: Z
|
|
627
|
-
}, e[41] = Z, e[42] = N) : N = e[42];
|
|
628
|
-
let J;
|
|
629
|
-
return e[43] !== h || e[44] !== V || e[45] !== G || e[46] !== r || e[47] !== N ? (J = /* @__PURE__ */ m(ye, { inputRef: o, size: "small", fullWidth: !0, variant: "filled", placeholder: G, value: r, onChange: V, InputProps: N, ...h }), e[43] = h, e[44] = V, e[45] = G, e[46] = r, e[47] = N, e[48] = J) : J = e[48], J;
|
|
630
|
-
}
|
|
631
|
-
function vt(l) {
|
|
632
|
-
return l.updateToolConfig;
|
|
633
|
-
}
|
|
634
|
-
function Ct(l) {
|
|
635
|
-
return l.setToolEnabled;
|
|
636
|
-
}
|
|
637
|
-
function It(l) {
|
|
638
|
-
return l.unregisterTool;
|
|
639
|
-
}
|
|
640
|
-
function _t(l) {
|
|
641
|
-
return l.registerTool;
|
|
642
|
-
}
|
|
643
|
-
function Tt(l) {
|
|
644
|
-
return l.setWidget;
|
|
645
|
-
}
|
|
646
|
-
const kt = (l, e) => {
|
|
647
|
-
if (!e.trim()) return Promise.resolve(l);
|
|
648
|
-
const t = e.toLowerCase();
|
|
649
|
-
return Promise.resolve(l.map((w) => w.filter((b) => Object.values(b).some((v) => typeof v == "string" && v.toLowerCase().includes(t)))));
|
|
650
|
-
};
|
|
651
|
-
function ll(l) {
|
|
652
|
-
const e = U(23), {
|
|
653
|
-
id: t,
|
|
654
|
-
defaultEnabled: w,
|
|
655
|
-
labels: b,
|
|
656
|
-
Icon: v,
|
|
657
|
-
IconButtonProps: h
|
|
658
|
-
} = l, x = w === void 0 ? !1 : w, a = R(yt), d = R(xt);
|
|
659
|
-
let S;
|
|
660
|
-
e[0] !== t ? (S = (T) => T.getWidget(t)?.isSearchEnabled, e[0] = t, e[1] = S) : S = e[1];
|
|
661
|
-
const i = R(Q(S)) ?? x;
|
|
662
|
-
let _, p;
|
|
663
|
-
e[2] !== x || e[3] !== d || e[4] !== t || e[5] !== a ? (_ = () => {
|
|
664
|
-
d(t)?.isSearchEnabled === void 0 && a(t, {
|
|
665
|
-
isSearchEnabled: x
|
|
666
|
-
});
|
|
667
|
-
}, p = [x, d, t, a], e[2] = x, e[3] = d, e[4] = t, e[5] = a, e[6] = _, e[7] = p) : (_ = e[6], p = e[7]), j(_, p);
|
|
668
|
-
let n;
|
|
669
|
-
e[8] !== t || e[9] !== i || e[10] !== a ? (n = () => {
|
|
670
|
-
a(t, {
|
|
671
|
-
isSearchEnabled: !i
|
|
672
|
-
});
|
|
673
|
-
}, e[8] = t, e[9] = i, e[10] = a, e[11] = n) : n = e[11];
|
|
674
|
-
const r = n, u = i ? b?.disable ?? "Disable search" : b?.enable ?? "Enable search", s = b?.ariaLabel ?? u;
|
|
675
|
-
let c;
|
|
676
|
-
e[12] !== v ? (c = v ?? /* @__PURE__ */ m(he, { fontSize: "small" }), e[12] = v, e[13] = c) : c = e[13];
|
|
677
|
-
let f;
|
|
678
|
-
e[14] !== h || e[15] !== s || e[16] !== r || e[17] !== i || e[18] !== c ? (f = /* @__PURE__ */ m(q, { size: "small", "aria-label": s, onClick: r, sx: ne.trigger, "data-active": i, ...h, children: c }), e[14] = h, e[15] = s, e[16] = r, e[17] = i, e[18] = c, e[19] = f) : f = e[19];
|
|
679
|
-
let z;
|
|
680
|
-
return e[20] !== f || e[21] !== u ? (z = /* @__PURE__ */ m(ee, { title: u, children: f }), e[20] = f, e[21] = u, e[22] = z) : z = e[22], z;
|
|
681
|
-
}
|
|
682
|
-
function xt(l) {
|
|
683
|
-
return l.getWidget;
|
|
684
|
-
}
|
|
685
|
-
function yt(l) {
|
|
686
|
-
return l.setWidget;
|
|
687
|
-
}
|
|
688
|
-
const Et = () => {
|
|
689
|
-
const l = U(1);
|
|
690
|
-
let e;
|
|
691
|
-
return l[0] === Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ m("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 18 18", children: /* @__PURE__ */ m("path", { fill: "currentColor", fillRule: "evenodd", d: "M14.25 2.25H3.75c-.825 0-1.5.675-1.5 1.5v10.5c0 .825.675 1.5 1.5 1.5h10.5c.825 0 1.5-.675 1.5-1.5V3.75c0-.825-.675-1.5-1.5-1.5m-3.75 12h-3V3.75h3zM3.75 3.75H6v10.5H3.75zM12 14.25V3.75h2.25v10.5z", clipRule: "evenodd" }) }), l[0] = e) : e = l[0], e;
|
|
692
|
-
};
|
|
693
|
-
function Lt(l) {
|
|
694
|
-
const e = U(18), {
|
|
695
|
-
column: t
|
|
696
|
-
} = l;
|
|
697
|
-
let w;
|
|
698
|
-
e[0] !== t.id ? (w = {
|
|
699
|
-
id: t.id
|
|
700
|
-
}, e[0] = t.id, e[1] = w) : w = e[1];
|
|
701
|
-
const {
|
|
702
|
-
attributes: b,
|
|
703
|
-
listeners: v,
|
|
704
|
-
setNodeRef: h,
|
|
705
|
-
transform: x,
|
|
706
|
-
transition: a,
|
|
707
|
-
isDragging: d
|
|
708
|
-
} = je(w);
|
|
709
|
-
let S;
|
|
710
|
-
e[2] !== x ? (S = Ye.Transform.toString(x), e[2] = x, e[3] = S) : S = e[3];
|
|
711
|
-
const o = d ? 0.5 : 1, i = d ? "grabbing" : "grab";
|
|
712
|
-
let _;
|
|
713
|
-
e[4] !== S || e[5] !== o || e[6] !== i || e[7] !== a ? (_ = {
|
|
714
|
-
transform: S,
|
|
715
|
-
transition: a,
|
|
716
|
-
opacity: o,
|
|
717
|
-
cursor: i
|
|
718
|
-
}, e[4] = S, e[5] = o, e[6] = i, e[7] = a, e[8] = _) : _ = e[8];
|
|
719
|
-
const p = _;
|
|
720
|
-
let n;
|
|
721
|
-
e[9] === Symbol.for("react.memo_cache_sentinel") ? (n = {
|
|
722
|
-
"&:focus-visible": {
|
|
723
|
-
outline: wt,
|
|
724
|
-
outlineOffset: -2
|
|
725
|
-
}
|
|
726
|
-
}, e[9] = n) : n = e[9];
|
|
727
|
-
let r;
|
|
728
|
-
e[10] !== t.label ? (r = /* @__PURE__ */ m(ge, { children: t.label }), e[10] = t.label, e[11] = r) : r = e[11];
|
|
729
|
-
let u;
|
|
730
|
-
return e[12] !== b || e[13] !== v || e[14] !== h || e[15] !== p || e[16] !== r ? (u = /* @__PURE__ */ m(me, { ref: h, style: p, ...b, ...v, role: "menuitem", tabIndex: 0, sx: n, children: r }), e[12] = b, e[13] = v, e[14] = h, e[15] = p, e[16] = r, e[17] = u) : u = e[17], u;
|
|
731
|
-
}
|
|
732
|
-
function wt(l) {
|
|
733
|
-
return `2px solid ${l.palette.primary.main}`;
|
|
734
|
-
}
|
|
735
|
-
function nl(l) {
|
|
736
|
-
const e = U(42), {
|
|
737
|
-
id: t,
|
|
738
|
-
labels: w,
|
|
739
|
-
Icon: b,
|
|
740
|
-
IconButtonProps: v,
|
|
741
|
-
MenuProps: h
|
|
742
|
-
} = l, [x, a] = re(null), d = R(Wt);
|
|
743
|
-
let S;
|
|
744
|
-
e[0] !== t ? (S = (V) => V.getWidget(t)?.columns, e[0] = t, e[1] = S) : S = e[1];
|
|
745
|
-
const o = R(Q(S));
|
|
746
|
-
let i;
|
|
747
|
-
e[2] === Symbol.for("react.memo_cache_sentinel") ? (i = {
|
|
748
|
-
coordinateGetter: Ge
|
|
749
|
-
}, e[2] = i) : i = e[2];
|
|
750
|
-
const _ = Ae(de(Ve), de(Ze, i));
|
|
751
|
-
let p;
|
|
752
|
-
e[3] !== o ? (p = o?.map($t) ?? [], e[3] = o, e[4] = p) : p = e[4];
|
|
753
|
-
const n = p;
|
|
754
|
-
let r;
|
|
755
|
-
e[5] === Symbol.for("react.memo_cache_sentinel") ? (r = (V) => {
|
|
756
|
-
V.stopPropagation(), a(V.currentTarget);
|
|
757
|
-
}, e[5] = r) : r = e[5];
|
|
758
|
-
const u = r;
|
|
759
|
-
let s;
|
|
760
|
-
e[6] === Symbol.for("react.memo_cache_sentinel") ? (s = () => {
|
|
761
|
-
a(null);
|
|
762
|
-
}, e[6] = s) : s = e[6];
|
|
763
|
-
const c = s;
|
|
764
|
-
let f;
|
|
765
|
-
e[7] !== o || e[8] !== t || e[9] !== d ? (f = (V) => {
|
|
766
|
-
const {
|
|
767
|
-
active: M,
|
|
768
|
-
over: H
|
|
769
|
-
} = V;
|
|
770
|
-
if (!H || M.id === H.id || !o)
|
|
771
|
-
return;
|
|
772
|
-
const G = o.findIndex((B) => B.id === M.id), K = o.findIndex((B) => B.id === H.id);
|
|
773
|
-
if (G !== -1 && K !== -1) {
|
|
774
|
-
const B = Ne(o, G, K);
|
|
775
|
-
d(t, {
|
|
776
|
-
columns: B
|
|
777
|
-
});
|
|
778
|
-
}
|
|
779
|
-
}, e[7] = o, e[8] = t, e[9] = d, e[10] = f) : f = e[10];
|
|
780
|
-
const z = f;
|
|
781
|
-
if (!o || o.length < 2)
|
|
782
|
-
return null;
|
|
783
|
-
const T = w?.tooltip ?? "Change column", y = !!x, I = w?.ariaLabel ?? T, C = y ? "change-column-menu" : void 0, D = y ? "true" : void 0;
|
|
784
|
-
let g;
|
|
785
|
-
e[11] !== b ? (g = b ?? /* @__PURE__ */ m(Ee, { children: /* @__PURE__ */ m(Et, {}) }), e[11] = b, e[12] = g) : g = e[12];
|
|
786
|
-
let E;
|
|
787
|
-
e[13] !== v || e[14] !== y || e[15] !== g || e[16] !== I || e[17] !== C || e[18] !== D ? (E = /* @__PURE__ */ m(q, { size: "small", "aria-label": I, "aria-controls": C, "aria-haspopup": "true", "aria-expanded": D, onClick: u, "data-active": y, sx: ne.trigger, ...v, children: g }), e[13] = v, e[14] = y, e[15] = g, e[16] = I, e[17] = C, e[18] = D, e[19] = E) : E = e[19];
|
|
788
|
-
let k;
|
|
789
|
-
e[20] !== E || e[21] !== T ? (k = /* @__PURE__ */ m(ee, { title: T, children: E }), e[20] = E, e[21] = T, e[22] = k) : k = e[22];
|
|
790
|
-
let L, $;
|
|
791
|
-
e[23] === Symbol.for("react.memo_cache_sentinel") ? (L = {
|
|
792
|
-
vertical: "bottom",
|
|
793
|
-
horizontal: "right"
|
|
794
|
-
}, $ = {
|
|
795
|
-
vertical: "top",
|
|
796
|
-
horizontal: "right"
|
|
797
|
-
}, e[23] = L, e[24] = $) : (L = e[23], $ = e[24]);
|
|
798
|
-
let W;
|
|
799
|
-
e[25] !== o ? (W = o.map(zt), e[25] = o, e[26] = W) : W = e[26];
|
|
800
|
-
let F;
|
|
801
|
-
e[27] !== n || e[28] !== W ? (F = /* @__PURE__ */ m(Ue, { items: n, strategy: Ke, children: W }), e[27] = n, e[28] = W, e[29] = F) : F = e[29];
|
|
802
|
-
let O;
|
|
803
|
-
e[30] !== h || e[31] !== x || e[32] !== y || e[33] !== F ? (O = /* @__PURE__ */ m(pe, { id: "change-column-menu", anchorEl: x, open: y, onClose: c, anchorOrigin: L, transformOrigin: $, ...h, children: F }), e[30] = h, e[31] = x, e[32] = y, e[33] = F, e[34] = O) : O = e[34];
|
|
804
|
-
let P;
|
|
805
|
-
e[35] !== z || e[36] !== _ || e[37] !== O ? (P = /* @__PURE__ */ m(Me, { sensors: _, collisionDetection: He, onDragEnd: z, children: O }), e[35] = z, e[36] = _, e[37] = O, e[38] = P) : P = e[38];
|
|
806
|
-
let A;
|
|
807
|
-
return e[39] !== k || e[40] !== P ? (A = /* @__PURE__ */ X(ce, { children: [
|
|
808
|
-
k,
|
|
809
|
-
P
|
|
810
|
-
] }), e[39] = k, e[40] = P, e[41] = A) : A = e[41], A;
|
|
811
|
-
}
|
|
812
|
-
function zt(l) {
|
|
813
|
-
return /* @__PURE__ */ m(Lt, { column: l }, l.id);
|
|
814
|
-
}
|
|
815
|
-
function $t(l) {
|
|
816
|
-
return l.id;
|
|
817
|
-
}
|
|
818
|
-
function Wt(l) {
|
|
819
|
-
return l.setWidget;
|
|
820
|
-
}
|
|
821
|
-
export {
|
|
822
|
-
nl as ChangeColumn,
|
|
823
|
-
qt as Download,
|
|
824
|
-
Yt as FullScreen,
|
|
825
|
-
le as LOCK_SELECTION_TOOL_ID,
|
|
826
|
-
el as LockSelection,
|
|
827
|
-
ie as RELATIVE_DATA_TOOL_ID,
|
|
828
|
-
Jt as RelativeData,
|
|
829
|
-
te as SEARCHER_TOOL_ID,
|
|
830
|
-
tl as Searcher,
|
|
831
|
-
ll as SearcherToggle,
|
|
832
|
-
Xt as StackToggle,
|
|
833
|
-
Qt as ZoomToggle,
|
|
834
|
-
il as downloadToCSV,
|
|
835
|
-
rl as downloadToPNG
|
|
836
|
-
};
|
|
837
|
-
//# sourceMappingURL=actions.js.map
|
|
1
|
+
import { _ as e, a as t, b as n, c as r, d as i, f as a, g as o, h as s, i as c, l, m as u, n as d, o as f, p, r as m, s as h, t as g, u as _, v, y } from "../actions-CGJD6q0t.js";
|
|
2
|
+
export { g as BRUSH_TOGGLE_TOOL_ID, d as BrushToggle, m as CHANGE_COLUMN_TOOL_ID, c as ChangeColumn, y as Download, n as FullScreen, r as LOCK_SELECTION_TOOL_ID, l as LockSelection, u as RELATIVE_DATA_CONFIG_TOOL_ID, s as RELATIVE_DATA_TOOL_ID, o as RelativeData, f as SEARCHER_TOOL_ID, _ as STACK_TOGGLE_TOOL_ID, h as Searcher, t as SearcherToggle, i as StackToggle, a as ZOOM_TOGGLE_TOOL_ID, p as ZoomToggle, e as downloadToCSV, v as downloadToPNG };
|