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