@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/components.js
CHANGED
|
@@ -1,1351 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { D as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
import { useState as ne, useRef as Pe, useEffect as Oe } from "react";
|
|
7
|
-
import { d as Me } from "./cjs-D9ro6BXv.js";
|
|
8
|
-
import { T as he } from "./tooltip-BDnrRKrp.js";
|
|
9
|
-
import { s as ml } from "./tooltip-BDnrRKrp.js";
|
|
10
|
-
import { ArrowDropDown as ot, Close as Re, MyLocationOutlined as nt, LocationDisabledOutlined as it, CropFreeOutlined as st, AddOutlined as rt, RemoveOutlined as at } from "@mui/icons-material";
|
|
11
|
-
import { S as ct } from "./smart-tooltip-BEtBaIdz.js";
|
|
12
|
-
function qt(t) {
|
|
13
|
-
const e = F(59), {
|
|
14
|
-
enabled: s,
|
|
15
|
-
values: o,
|
|
16
|
-
chipProps: n,
|
|
17
|
-
labels: r,
|
|
18
|
-
modes: i,
|
|
19
|
-
modesMapping: a,
|
|
20
|
-
modeSelected: c,
|
|
21
|
-
BoxProps: d,
|
|
22
|
-
onChipToggle: m,
|
|
23
|
-
onDelete: u,
|
|
24
|
-
onChangeMode: f,
|
|
25
|
-
onAllChipToggle: I,
|
|
26
|
-
onAllDelete: v
|
|
27
|
-
} = t;
|
|
28
|
-
let k;
|
|
29
|
-
e[0] !== o ? (k = o === void 0 ? [] : o, e[0] = o, e[1] = k) : k = e[1];
|
|
30
|
-
const p = k;
|
|
31
|
-
let g;
|
|
32
|
-
e[2] !== d ? (g = d === void 0 ? {} : d, e[2] = d, e[3] = g) : g = e[3];
|
|
33
|
-
let S, A;
|
|
34
|
-
e[4] !== g ? ({
|
|
35
|
-
sx: A,
|
|
36
|
-
...S
|
|
37
|
-
} = g, e[4] = g, e[5] = S, e[6] = A) : (S = e[5], A = e[6]);
|
|
38
|
-
let _;
|
|
39
|
-
e[7] !== i || e[8] !== a ? (_ = Me(i, a), e[7] = i, e[8] = a, e[9] = _) : _ = e[9];
|
|
40
|
-
const C = _;
|
|
41
|
-
let D, M;
|
|
42
|
-
e[10] !== C ? ({
|
|
43
|
-
edit: M,
|
|
44
|
-
...D
|
|
45
|
-
} = C, e[10] = C, e[11] = D, e[12] = M) : (D = e[11], M = e[12]);
|
|
46
|
-
let h;
|
|
47
|
-
e[13] !== u ? (h = (K) => u(K), e[13] = u, e[14] = h) : h = e[14];
|
|
48
|
-
const T = h;
|
|
49
|
-
let y;
|
|
50
|
-
e[15] !== f ? (y = (K, ie) => {
|
|
51
|
-
K.preventDefault(), f?.(ie);
|
|
52
|
-
}, e[15] = f, e[16] = y) : y = e[16];
|
|
53
|
-
const b = y, x = (c ?? "") in i ? c : Object.keys(C)[0], Z = s ? C[x] : null;
|
|
54
|
-
let U;
|
|
55
|
-
e[17] !== D ? (U = Object.values(D), e[17] = D, e[18] = U) : U = e[18];
|
|
56
|
-
const L = U;
|
|
57
|
-
let P;
|
|
58
|
-
e[19] !== A ? (P = {
|
|
59
|
-
...ve.container,
|
|
60
|
-
...A
|
|
61
|
-
}, e[19] = A, e[20] = P) : P = e[20];
|
|
62
|
-
const V = r?.options, E = Z?.value, R = r?.options;
|
|
63
|
-
let O;
|
|
64
|
-
e[21] !== L || e[22] !== R ? (O = /* @__PURE__ */ l(Ae, { labels: R, data: L }), e[21] = L, e[22] = R, e[23] = O) : O = e[23];
|
|
65
|
-
let W;
|
|
66
|
-
e[24] !== M || e[25] !== r?.options || e[26] !== p.length ? (W = !!M && /* @__PURE__ */ $(ee, { children: [
|
|
67
|
-
/* @__PURE__ */ l(fe, { orientation: "vertical" }),
|
|
68
|
-
/* @__PURE__ */ l(Ae, { labels: r?.options, data: [{
|
|
69
|
-
...M,
|
|
70
|
-
disabled: !p.length
|
|
71
|
-
}] })
|
|
72
|
-
] }), e[24] = M, e[25] = r?.options, e[26] = p.length, e[27] = W) : W = e[27];
|
|
73
|
-
let G;
|
|
74
|
-
e[28] !== b || e[29] !== E || e[30] !== O || e[31] !== W ? (G = /* @__PURE__ */ $(Le, { value: E, exclusive: !0, className: "inline", sx: ve.options.menu, onChange: b, children: [
|
|
75
|
-
O,
|
|
76
|
-
W
|
|
77
|
-
] }), e[28] = b, e[29] = E, e[30] = O, e[31] = W, e[32] = G) : G = e[32];
|
|
78
|
-
let j;
|
|
79
|
-
e[33] !== L || e[34] !== V || e[35] !== G ? (j = /* @__PURE__ */ l(dt, { data: L, labels: V, children: G }), e[33] = L, e[34] = V, e[35] = G, e[36] = j) : j = e[36];
|
|
80
|
-
let N;
|
|
81
|
-
e[37] === Symbol.for("react.memo_cache_sentinel") ? (N = /* @__PURE__ */ l(fe, { flexItem: !0 }), e[37] = N) : N = e[37];
|
|
82
|
-
const z = !!p.length, B = r?.noData;
|
|
83
|
-
let H;
|
|
84
|
-
e[38] !== z || e[39] !== B ? (H = /* @__PURE__ */ l(mt, { hasValues: z, labels: B }), e[38] = z, e[39] = B, e[40] = H) : H = e[40];
|
|
85
|
-
let X;
|
|
86
|
-
e[41] !== n || e[42] !== T || e[43] !== r?.chip || e[44] !== m || e[45] !== p ? (X = !!p.length && /* @__PURE__ */ l(q, { sx: ve.chip.container, className: "inline", children: p.map((K) => /* @__PURE__ */ l(Be, { value: K, labels: r?.chip, chipProps: n, onDelete: T, onChipToggle: m }, K.id)) }), e[41] = n, e[42] = T, e[43] = r?.chip, e[44] = m, e[45] = p, e[46] = X) : X = e[46];
|
|
87
|
-
const te = r?.actions;
|
|
88
|
-
let J;
|
|
89
|
-
e[47] !== I || e[48] !== v || e[49] !== te || e[50] !== p ? (J = /* @__PURE__ */ l(ut, { values: p, labels: te, onAllChipToggle: I, onAllDelete: v }), e[47] = I, e[48] = v, e[49] = te, e[50] = p, e[51] = J) : J = e[51];
|
|
90
|
-
let le;
|
|
91
|
-
return e[52] !== S || e[53] !== j || e[54] !== H || e[55] !== X || e[56] !== J || e[57] !== P ? (le = /* @__PURE__ */ $(q, { sx: P, ...S, className: "inline", children: [
|
|
92
|
-
j,
|
|
93
|
-
N,
|
|
94
|
-
H,
|
|
95
|
-
X,
|
|
96
|
-
J
|
|
97
|
-
] }), e[52] = S, e[53] = j, e[54] = H, e[55] = X, e[56] = J, e[57] = P, e[58] = le) : le = e[58], le;
|
|
98
|
-
}
|
|
99
|
-
function dt(t) {
|
|
100
|
-
const e = F(5), {
|
|
101
|
-
data: s,
|
|
102
|
-
labels: o,
|
|
103
|
-
children: n
|
|
104
|
-
} = t;
|
|
105
|
-
if (s.length <= 1)
|
|
106
|
-
return null;
|
|
107
|
-
const r = o?.mode?.title ?? ae.options.mode.title;
|
|
108
|
-
let i;
|
|
109
|
-
e[0] !== r ? (i = /* @__PURE__ */ l(Q, { variant: "subtitle2", color: "text.secondary", sx: ve.options.title, className: "inline", children: r }), e[0] = r, e[1] = i) : i = e[1];
|
|
110
|
-
let a;
|
|
111
|
-
return e[2] !== n || e[3] !== i ? (a = /* @__PURE__ */ $(ee, { children: [
|
|
112
|
-
i,
|
|
113
|
-
n
|
|
114
|
-
] }), e[2] = n, e[3] = i, e[4] = a) : a = e[4], a;
|
|
115
|
-
}
|
|
116
|
-
function Ae({
|
|
117
|
-
data: t,
|
|
118
|
-
labels: e
|
|
119
|
-
}) {
|
|
120
|
-
return t.map((s) => {
|
|
121
|
-
const n = (e?.mode?.options ?? ae.options.mode.options)[s.value];
|
|
122
|
-
return /* @__PURE__ */ l(he, { title: n, placement: "bottom", children: /* @__PURE__ */ l(ye, { disabled: !!s.disabled, value: s.value, "aria-label": s.value, children: /* @__PURE__ */ l(Ie, { children: /* @__PURE__ */ l(s.icon, {}) }) }) }, s.value);
|
|
123
|
-
});
|
|
124
|
-
}
|
|
125
|
-
function mt(t) {
|
|
126
|
-
const e = F(7), {
|
|
127
|
-
hasValues: s,
|
|
128
|
-
labels: o
|
|
129
|
-
} = t;
|
|
130
|
-
if (s)
|
|
131
|
-
return null;
|
|
132
|
-
const n = o?.title ?? ae.noData.title, r = o?.description ?? ae.noData.description;
|
|
133
|
-
let i;
|
|
134
|
-
e[0] !== n ? (i = /* @__PURE__ */ l(Q, { variant: "body1", color: "textSecondary", children: n }), e[0] = n, e[1] = i) : i = e[1];
|
|
135
|
-
let a;
|
|
136
|
-
e[2] !== r ? (a = /* @__PURE__ */ l(Q, { variant: "body2", color: "textSecondary", children: r }), e[2] = r, e[3] = a) : a = e[3];
|
|
137
|
-
let c;
|
|
138
|
-
return e[4] !== i || e[5] !== a ? (c = /* @__PURE__ */ $(ee, { children: [
|
|
139
|
-
i,
|
|
140
|
-
a
|
|
141
|
-
] }), e[4] = i, e[5] = a, e[6] = c) : c = e[6], c;
|
|
142
|
-
}
|
|
143
|
-
function ut(t) {
|
|
144
|
-
const e = F(13), {
|
|
145
|
-
values: s,
|
|
146
|
-
labels: o,
|
|
147
|
-
onAllChipToggle: n,
|
|
148
|
-
onAllDelete: r
|
|
149
|
-
} = t;
|
|
150
|
-
if (s.length <= 1)
|
|
151
|
-
return null;
|
|
152
|
-
const a = s.some(ft) ? o?.toggleAll?.active ?? ae.actions.toggleAll.active : o?.toggleAll?.inactive ?? ae.actions.toggleAll.inactive, c = o?.deleteAll ?? ae.actions.deleteAll;
|
|
153
|
-
let d;
|
|
154
|
-
e[0] !== n ? (d = () => n(), e[0] = n, e[1] = d) : d = e[1];
|
|
155
|
-
let m;
|
|
156
|
-
e[2] !== d || e[3] !== a ? (m = /* @__PURE__ */ l(xe, { color: "inherit", onClick: d, children: a }), e[2] = d, e[3] = a, e[4] = m) : m = e[4];
|
|
157
|
-
let u;
|
|
158
|
-
e[5] !== r ? (u = () => r(), e[5] = r, e[6] = u) : u = e[6];
|
|
159
|
-
let f;
|
|
160
|
-
e[7] !== c || e[8] !== u ? (f = /* @__PURE__ */ l(xe, { color: "error", onClick: u, children: c }), e[7] = c, e[8] = u, e[9] = f) : f = e[9];
|
|
161
|
-
let I;
|
|
162
|
-
return e[10] !== m || e[11] !== f ? (I = /* @__PURE__ */ $(q, { children: [
|
|
163
|
-
m,
|
|
164
|
-
f
|
|
165
|
-
] }), e[10] = m, e[11] = f, e[12] = I) : I = e[12], I;
|
|
166
|
-
}
|
|
167
|
-
function ft(t) {
|
|
168
|
-
return t.visible;
|
|
169
|
-
}
|
|
170
|
-
function pt(t) {
|
|
171
|
-
const e = F(3);
|
|
172
|
-
let s;
|
|
173
|
-
e[0] === Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ l("path", { fill: "currentColor", d: "M3 13.5c-.413 0-.766-.147-1.06-.44A1.445 1.445 0 0 1 1.5 12V6c0-.412.147-.766.44-1.06.294-.293.647-.44 1.06-.44h12c.412 0 .766.147 1.06.44.293.294.44.647.44 1.06v6c0 .412-.147.766-.44 1.06-.294.293-.647.44-1.06.44H3ZM3 12h12V6h-2.25v3h-1.5V6h-1.5v3h-1.5V6h-1.5v3h-1.5V6H3v6Z" }), e[0] = s) : s = e[0];
|
|
174
|
-
let o;
|
|
175
|
-
return e[1] !== t ? (o = /* @__PURE__ */ l("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 18 18", fill: "currentColor", ...t, children: s }), e[1] = t, e[2] = o) : o = e[2], o;
|
|
176
|
-
}
|
|
177
|
-
function ht(t) {
|
|
178
|
-
const e = F(3);
|
|
179
|
-
let s;
|
|
180
|
-
e[0] === Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ l("path", { fill: "currentColor", fillRule: "evenodd", d: "M9 1.5a7.5 7.5 0 1 1 0 15 7.5 7.5 0 0 1 0-15ZM9 3a6 6 0 1 0 0 12A6 6 0 0 0 9 3Zm0 4.5a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Z", clipRule: "evenodd" }), e[0] = s) : s = e[0];
|
|
181
|
-
let o;
|
|
182
|
-
return e[1] !== t ? (o = /* @__PURE__ */ l("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 18 18", ...t, children: s }), e[1] = t, e[2] = o) : o = e[2], o;
|
|
183
|
-
}
|
|
184
|
-
function gt(t) {
|
|
185
|
-
const e = F(4);
|
|
186
|
-
let s, o;
|
|
187
|
-
e[0] === Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ l("path", { fill: "currentColor", fillRule: "evenodd", d: "M4.5 13.5v-9h9v9h-9Zm.75-8.25h7.5v7.5h-7.5v-7.5Z", clipRule: "evenodd" }), o = /* @__PURE__ */ l("path", { fill: "#2C3032", fillRule: "evenodd", d: "M1.5 3A1.5 1.5 0 0 1 3 1.5h12A1.5 1.5 0 0 1 16.5 3v12a1.5 1.5 0 0 1-1.5 1.5H3A1.5 1.5 0 0 1 1.5 15V3ZM3 3h12v12H3V3Z", clipRule: "evenodd" }), e[0] = s, e[1] = o) : (s = e[0], o = e[1]);
|
|
188
|
-
let n;
|
|
189
|
-
return e[2] !== t ? (n = /* @__PURE__ */ $("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 18 18", ...t, children: [
|
|
190
|
-
s,
|
|
191
|
-
o
|
|
192
|
-
] }), e[2] = t, e[3] = n) : n = e[3], n;
|
|
193
|
-
}
|
|
194
|
-
const oe = {
|
|
195
|
-
action: {
|
|
196
|
-
tooltip: {
|
|
197
|
-
active: "Click on the map to start measuring",
|
|
198
|
-
inactive: "Click on the map to start measuring"
|
|
199
|
-
}
|
|
200
|
-
},
|
|
201
|
-
chip: {
|
|
202
|
-
tooltip: {
|
|
203
|
-
active: "Hide measure",
|
|
204
|
-
inactive: "Show measure"
|
|
205
|
-
}
|
|
206
|
-
},
|
|
207
|
-
options: {
|
|
208
|
-
mode: {
|
|
209
|
-
title: "Choose a measuring tool",
|
|
210
|
-
options: {
|
|
211
|
-
distance: "Measure distance",
|
|
212
|
-
buffer: "Buffer distance",
|
|
213
|
-
area: "Area"
|
|
214
|
-
}
|
|
215
|
-
},
|
|
216
|
-
units: {
|
|
217
|
-
title: "Unit of measurement",
|
|
218
|
-
modal: {
|
|
219
|
-
title: "Map Measurement Unit",
|
|
220
|
-
subtitle: "Select the unit of measurement for your measurements",
|
|
221
|
-
apply: "Save",
|
|
222
|
-
options: {
|
|
223
|
-
metric: {
|
|
224
|
-
title: "Meters and Kilometers",
|
|
225
|
-
options: {
|
|
226
|
-
"m-km": "Auto",
|
|
227
|
-
kilometer: "Kilometers",
|
|
228
|
-
meter: "Meter",
|
|
229
|
-
centimeter: "Centimeter",
|
|
230
|
-
milimeter: "Milimeter"
|
|
231
|
-
}
|
|
232
|
-
},
|
|
233
|
-
imperial: {
|
|
234
|
-
title: "Feet and Miles",
|
|
235
|
-
options: {
|
|
236
|
-
"ft-mi": "Auto",
|
|
237
|
-
mile: "Mile",
|
|
238
|
-
feet: "Feet",
|
|
239
|
-
yard: "Yard"
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
}, bt = {
|
|
247
|
-
"m-km": {
|
|
248
|
-
short: "m-km"
|
|
249
|
-
},
|
|
250
|
-
kilometer: {
|
|
251
|
-
short: "km"
|
|
252
|
-
},
|
|
253
|
-
meter: {
|
|
254
|
-
short: "m"
|
|
255
|
-
},
|
|
256
|
-
centimeter: {
|
|
257
|
-
short: "cm"
|
|
258
|
-
},
|
|
259
|
-
milimeter: {
|
|
260
|
-
short: "mm"
|
|
261
|
-
},
|
|
262
|
-
"ft-mi": {
|
|
263
|
-
short: "ft-mi"
|
|
264
|
-
},
|
|
265
|
-
mile: {
|
|
266
|
-
short: "mi"
|
|
267
|
-
},
|
|
268
|
-
yard: {
|
|
269
|
-
short: "yd"
|
|
270
|
-
},
|
|
271
|
-
feet: {
|
|
272
|
-
short: "ft"
|
|
273
|
-
}
|
|
274
|
-
}, vt = {
|
|
275
|
-
distance: {
|
|
276
|
-
icon: /* @__PURE__ */ l(pt, {})
|
|
277
|
-
},
|
|
278
|
-
buffer: {
|
|
279
|
-
icon: /* @__PURE__ */ l(ht, {})
|
|
280
|
-
},
|
|
281
|
-
area: {
|
|
282
|
-
icon: /* @__PURE__ */ l(gt, {})
|
|
283
|
-
}
|
|
284
|
-
}, Y = {
|
|
285
|
-
container: {
|
|
286
|
-
display: "flex",
|
|
287
|
-
flexDirection: "row",
|
|
288
|
-
alignItems: "center",
|
|
289
|
-
justifyContent: "flex-start",
|
|
290
|
-
gap: ({
|
|
291
|
-
spacing: t
|
|
292
|
-
}) => t(1),
|
|
293
|
-
overflow: "hidden"
|
|
294
|
-
},
|
|
295
|
-
actions: {
|
|
296
|
-
icon: {
|
|
297
|
-
width: ({
|
|
298
|
-
spacing: t
|
|
299
|
-
}) => t(4),
|
|
300
|
-
height: ({
|
|
301
|
-
spacing: t
|
|
302
|
-
}) => t(4),
|
|
303
|
-
borderRadius: 0,
|
|
304
|
-
".MuiTouchRipple-ripple .MuiTouchRipple-child": {
|
|
305
|
-
borderRadius: 0
|
|
306
|
-
}
|
|
307
|
-
}
|
|
308
|
-
},
|
|
309
|
-
options: {
|
|
310
|
-
menu: {
|
|
311
|
-
marginTop: ({
|
|
312
|
-
spacing: t
|
|
313
|
-
}) => t(1)
|
|
314
|
-
},
|
|
315
|
-
icon: {
|
|
316
|
-
width: ({
|
|
317
|
-
spacing: t
|
|
318
|
-
}) => t(3)
|
|
319
|
-
},
|
|
320
|
-
title: {
|
|
321
|
-
paddingX: ({
|
|
322
|
-
spacing: t
|
|
323
|
-
}) => t(2),
|
|
324
|
-
paddingY: ({
|
|
325
|
-
spacing: t
|
|
326
|
-
}) => t(0.5)
|
|
327
|
-
},
|
|
328
|
-
icons: {
|
|
329
|
-
color: ({
|
|
330
|
-
palette: t
|
|
331
|
-
}) => t.text.primary
|
|
332
|
-
},
|
|
333
|
-
tag: {
|
|
334
|
-
borderRadius: ({
|
|
335
|
-
spacing: t
|
|
336
|
-
}) => t(0.25),
|
|
337
|
-
border: "1px solid",
|
|
338
|
-
borderColor: ({
|
|
339
|
-
palette: t
|
|
340
|
-
}) => t.primary.main,
|
|
341
|
-
paddingX: ({
|
|
342
|
-
spacing: t
|
|
343
|
-
}) => t(0.5),
|
|
344
|
-
color: ({
|
|
345
|
-
palette: t
|
|
346
|
-
}) => t.primary.main,
|
|
347
|
-
backgroundColor: ({
|
|
348
|
-
palette: t
|
|
349
|
-
}) => Ue(t.primary.main, 0.08)
|
|
350
|
-
},
|
|
351
|
-
modal: {
|
|
352
|
-
toggle: {
|
|
353
|
-
boxShadow: "none",
|
|
354
|
-
backgroundColor: "#F8F9F9",
|
|
355
|
-
padding: ({
|
|
356
|
-
spacing: t
|
|
357
|
-
}) => t(0.5),
|
|
358
|
-
marginTop: ({
|
|
359
|
-
spacing: t
|
|
360
|
-
}) => t(2),
|
|
361
|
-
marginBottom: ({
|
|
362
|
-
spacing: t
|
|
363
|
-
}) => t(1),
|
|
364
|
-
".MuiToggleButtonGroup-grouped": ({
|
|
365
|
-
typography: t
|
|
366
|
-
}) => ({
|
|
367
|
-
...t.caption,
|
|
368
|
-
fontWeight: 500,
|
|
369
|
-
margin: 0,
|
|
370
|
-
"&:first-of-type:not(.MuiDivider-root)": {
|
|
371
|
-
marginLeft: 0
|
|
372
|
-
}
|
|
373
|
-
})
|
|
374
|
-
},
|
|
375
|
-
subtitle: ({
|
|
376
|
-
typography: t,
|
|
377
|
-
palette: e
|
|
378
|
-
}) => ({
|
|
379
|
-
...t.body2,
|
|
380
|
-
color: e.text.secondary
|
|
381
|
-
}),
|
|
382
|
-
optionsGroup: {
|
|
383
|
-
marginLeft: ({
|
|
384
|
-
spacing: t
|
|
385
|
-
}) => t(1),
|
|
386
|
-
".MuiTypography-root": ({
|
|
387
|
-
typography: t
|
|
388
|
-
}) => ({
|
|
389
|
-
...t.body2
|
|
390
|
-
})
|
|
391
|
-
},
|
|
392
|
-
title: {
|
|
393
|
-
display: "flex",
|
|
394
|
-
justifyContent: "space-between",
|
|
395
|
-
alignItems: "center",
|
|
396
|
-
padding: ({
|
|
397
|
-
spacing: t
|
|
398
|
-
}) => t(2)
|
|
399
|
-
},
|
|
400
|
-
content: {
|
|
401
|
-
paddingX: ({
|
|
402
|
-
spacing: t
|
|
403
|
-
}) => t(2),
|
|
404
|
-
minWidth: ({
|
|
405
|
-
spacing: t
|
|
406
|
-
}) => t(50)
|
|
407
|
-
},
|
|
408
|
-
actions: {
|
|
409
|
-
paddingX: ({
|
|
410
|
-
spacing: t
|
|
411
|
-
}) => t(2)
|
|
412
|
-
}
|
|
413
|
-
}
|
|
414
|
-
}
|
|
415
|
-
};
|
|
416
|
-
function Kt(t) {
|
|
417
|
-
const e = F(46), {
|
|
418
|
-
enabled: s,
|
|
419
|
-
actionProps: o,
|
|
420
|
-
labels: n,
|
|
421
|
-
modes: r,
|
|
422
|
-
modesMapping: i,
|
|
423
|
-
unitsMapping: a,
|
|
424
|
-
modeSelected: c,
|
|
425
|
-
PaperProps: d,
|
|
426
|
-
units: m,
|
|
427
|
-
unitSelected: u,
|
|
428
|
-
onActionToggle: f,
|
|
429
|
-
onChangeMode: I,
|
|
430
|
-
onChangeUnit: v
|
|
431
|
-
} = t, k = n === void 0 ? oe : n, p = i === void 0 ? vt : i, g = a === void 0 ? bt : a;
|
|
432
|
-
let S;
|
|
433
|
-
e[0] !== d ? (S = d === void 0 ? {} : d, e[0] = d, e[1] = S) : S = e[1];
|
|
434
|
-
let A, _;
|
|
435
|
-
e[2] !== S ? ({
|
|
436
|
-
sx: _,
|
|
437
|
-
...A
|
|
438
|
-
} = S, e[2] = S, e[3] = A, e[4] = _) : (A = e[3], _ = e[4]);
|
|
439
|
-
let C;
|
|
440
|
-
e[5] !== f ? (C = (B) => f(!!B), e[5] = f, e[6] = C) : C = e[6];
|
|
441
|
-
const D = C;
|
|
442
|
-
let M;
|
|
443
|
-
e[7] !== r || e[8] !== p ? (M = Me(r, p), e[7] = r, e[8] = p, e[9] = M) : M = e[9];
|
|
444
|
-
const h = M, T = (c ?? "") in h;
|
|
445
|
-
let y;
|
|
446
|
-
e[10] !== h || e[11] !== T || e[12] !== c ? (y = T ? c : Object.keys(h)[0], e[10] = h, e[11] = T, e[12] = c, e[13] = y) : y = e[13];
|
|
447
|
-
const b = y, w = h[b], x = m[b];
|
|
448
|
-
let Z;
|
|
449
|
-
e[14] !== b || e[15] !== x || e[16] !== m ? (Z = Object.keys(m).length >= 1 ? m : {
|
|
450
|
-
[b]: x.slice(0, 1)
|
|
451
|
-
}, e[14] = b, e[15] = x, e[16] = m, e[17] = Z) : Z = e[17];
|
|
452
|
-
const L = Z[b];
|
|
453
|
-
let P;
|
|
454
|
-
if (e[18] !== L || e[19] !== g) {
|
|
455
|
-
let B;
|
|
456
|
-
e[21] !== g ? (B = (H) => ({
|
|
457
|
-
...H,
|
|
458
|
-
...g[H.value]
|
|
459
|
-
}), e[21] = g, e[22] = B) : B = e[22], P = L.map(B), e[18] = L, e[19] = g, e[20] = P;
|
|
460
|
-
} else
|
|
461
|
-
P = e[20];
|
|
462
|
-
const V = P;
|
|
463
|
-
let E;
|
|
464
|
-
e[23] !== _ ? (E = {
|
|
465
|
-
...Y.container,
|
|
466
|
-
..._
|
|
467
|
-
}, e[23] = _, e[24] = E) : E = e[24];
|
|
468
|
-
const R = k?.action, O = w?.icon;
|
|
469
|
-
let W;
|
|
470
|
-
e[25] !== o || e[26] !== s || e[27] !== D || e[28] !== R || e[29] !== O ? (W = /* @__PURE__ */ l(yt, { actionProps: o, labels: R, enabled: s, onActionToggle: D, children: O }), e[25] = o, e[26] = s, e[27] = D, e[28] = R, e[29] = O, e[30] = W) : W = e[30];
|
|
471
|
-
const G = k?.options;
|
|
472
|
-
let j;
|
|
473
|
-
e[31] !== V || e[32] !== h || e[33] !== b || e[34] !== I || e[35] !== v || e[36] !== G || e[37] !== u ? (j = /* @__PURE__ */ l(xt, { labels: G, modes: h, modeSelected: b, units: V, unitSelected: u, onChangeMode: I, onChangeUnit: v }), e[31] = V, e[32] = h, e[33] = b, e[34] = I, e[35] = v, e[36] = G, e[37] = u, e[38] = j) : j = e[38];
|
|
474
|
-
let N;
|
|
475
|
-
e[39] !== W || e[40] !== j ? (N = /* @__PURE__ */ $(q, { children: [
|
|
476
|
-
W,
|
|
477
|
-
j
|
|
478
|
-
] }), e[39] = W, e[40] = j, e[41] = N) : N = e[41];
|
|
479
|
-
let z;
|
|
480
|
-
return e[42] !== A || e[43] !== E || e[44] !== N ? (z = /* @__PURE__ */ l(Ce, { sx: E, ...A, children: N }), e[42] = A, e[43] = E, e[44] = N, e[45] = z) : z = e[45], z;
|
|
481
|
-
}
|
|
482
|
-
function yt(t) {
|
|
483
|
-
const e = F(12), {
|
|
484
|
-
actionProps: s,
|
|
485
|
-
labels: o,
|
|
486
|
-
enabled: n,
|
|
487
|
-
children: r,
|
|
488
|
-
onActionToggle: i
|
|
489
|
-
} = t, a = n ? "active" : "inactive", c = o?.tooltip?.[a] ?? oe.action.tooltip[a], d = s?.TooltipProps;
|
|
490
|
-
let m;
|
|
491
|
-
e[0] !== n || e[1] !== i ? (m = () => i(!n), e[0] = n, e[1] = i, e[2] = m) : m = e[2];
|
|
492
|
-
let u;
|
|
493
|
-
e[3] !== c || e[4] !== r || e[5] !== n || e[6] !== m ? (u = /* @__PURE__ */ l(ye, { value: "toggle", sx: Y.actions.icon, onClick: m, "aria-label": c, selected: n, children: r }), e[3] = c, e[4] = r, e[5] = n, e[6] = m, e[7] = u) : u = e[7];
|
|
494
|
-
let f;
|
|
495
|
-
return e[8] !== c || e[9] !== d || e[10] !== u ? (f = /* @__PURE__ */ l(he, { title: c, placement: "right", ...d, children: u }), e[8] = c, e[9] = d, e[10] = u, e[11] = f) : f = e[11], f;
|
|
496
|
-
}
|
|
497
|
-
function xt(t) {
|
|
498
|
-
const e = F(41), {
|
|
499
|
-
modes: s,
|
|
500
|
-
modeSelected: o,
|
|
501
|
-
units: n,
|
|
502
|
-
unitSelected: r,
|
|
503
|
-
labels: i,
|
|
504
|
-
onChangeMode: a,
|
|
505
|
-
onChangeUnit: c
|
|
506
|
-
} = t, [d, m] = ne(null), [u, f] = ne(!1);
|
|
507
|
-
let I;
|
|
508
|
-
e[0] !== s ? (I = Object.values(s), e[0] = s, e[1] = I) : I = e[1];
|
|
509
|
-
const v = I;
|
|
510
|
-
let k;
|
|
511
|
-
e[2] !== n ? (k = Object.values(n), e[2] = n, e[3] = k) : k = e[3];
|
|
512
|
-
const p = k;
|
|
513
|
-
if (!(v.length > 1 || p.length > 1))
|
|
514
|
-
return null;
|
|
515
|
-
const S = !!d;
|
|
516
|
-
let A;
|
|
517
|
-
e[4] === Symbol.for("react.memo_cache_sentinel") ? (A = (B) => {
|
|
518
|
-
m(B.currentTarget);
|
|
519
|
-
}, e[4] = A) : A = e[4];
|
|
520
|
-
const _ = A;
|
|
521
|
-
let C;
|
|
522
|
-
e[5] === Symbol.for("react.memo_cache_sentinel") ? (C = () => {
|
|
523
|
-
m(null);
|
|
524
|
-
}, e[5] = C) : C = e[5];
|
|
525
|
-
const D = C;
|
|
526
|
-
let M;
|
|
527
|
-
e[6] !== a ? (M = (B, H) => {
|
|
528
|
-
B.preventDefault(), a(H.value), D();
|
|
529
|
-
}, e[6] = a, e[7] = M) : M = e[7];
|
|
530
|
-
const h = M;
|
|
531
|
-
let T;
|
|
532
|
-
e[8] === Symbol.for("react.memo_cache_sentinel") ? (T = () => {
|
|
533
|
-
f(!0);
|
|
534
|
-
}, e[8] = T) : T = e[8];
|
|
535
|
-
const y = T;
|
|
536
|
-
let b;
|
|
537
|
-
e[9] === Symbol.for("react.memo_cache_sentinel") ? (b = () => {
|
|
538
|
-
f(!1);
|
|
539
|
-
}, e[9] = b) : b = e[9];
|
|
540
|
-
const w = b;
|
|
541
|
-
let x;
|
|
542
|
-
e[10] !== c ? (x = (B) => {
|
|
543
|
-
w(), c(B);
|
|
544
|
-
}, e[10] = c, e[11] = x) : x = e[11];
|
|
545
|
-
const Z = x, U = i?.mode?.title ?? oe.options.mode.title, L = i?.units?.title ?? oe.options.units.title, P = v.length > 1 && p.length > 1;
|
|
546
|
-
let V;
|
|
547
|
-
e[12] !== r || e[13] !== n ? (V = n.find((B) => B.value === r) ?? n[0], e[12] = r, e[13] = n, e[14] = V) : V = e[14];
|
|
548
|
-
const E = V;
|
|
549
|
-
let R;
|
|
550
|
-
e[15] === Symbol.for("react.memo_cache_sentinel") ? (R = /* @__PURE__ */ l(re, { sx: Y.options.icon, onClick: _, children: /* @__PURE__ */ l(ot, {}) }), e[15] = R) : R = e[15];
|
|
551
|
-
let O;
|
|
552
|
-
e[16] === Symbol.for("react.memo_cache_sentinel") ? (O = {
|
|
553
|
-
"aria-labelledby": "basic-button",
|
|
554
|
-
sx: Y.options.menu
|
|
555
|
-
}, e[16] = O) : O = e[16];
|
|
556
|
-
let W;
|
|
557
|
-
e[17] !== h || e[18] !== i?.mode?.options || e[19] !== o || e[20] !== U || e[21] !== v ? (W = v.length > 1 && /* @__PURE__ */ $(ee, { children: [
|
|
558
|
-
/* @__PURE__ */ l(Q, { variant: "subtitle2", color: "text.secondary", sx: Y.options.title, children: U }),
|
|
559
|
-
v.map((B) => {
|
|
560
|
-
const X = (i?.mode?.options ?? oe.options.mode.options)[B.value];
|
|
561
|
-
return /* @__PURE__ */ $(Te, { onClick: (te) => h(te, B), selected: B.value === o, children: [
|
|
562
|
-
/* @__PURE__ */ l(Ve, { sx: Y.options.icons, children: /* @__PURE__ */ l(Ie, { children: B.icon }) }),
|
|
563
|
-
/* @__PURE__ */ l(Se, { children: X })
|
|
564
|
-
] }, B.value);
|
|
565
|
-
})
|
|
566
|
-
] }), e[17] = h, e[18] = i?.mode?.options, e[19] = o, e[20] = U, e[21] = v, e[22] = W) : W = e[22];
|
|
567
|
-
let G;
|
|
568
|
-
e[23] !== P ? (G = P && /* @__PURE__ */ l(fe, {}), e[23] = P, e[24] = G) : G = e[24];
|
|
569
|
-
let j;
|
|
570
|
-
e[25] !== Z || e[26] !== i || e[27] !== u || e[28] !== E || e[29] !== L || e[30] !== n || e[31] !== p.length ? (j = p.length > 1 && /* @__PURE__ */ $(ee, { children: [
|
|
571
|
-
/* @__PURE__ */ $(Te, { onClick: y, children: [
|
|
572
|
-
/* @__PURE__ */ l(Se, { children: L }),
|
|
573
|
-
/* @__PURE__ */ l(Q, { variant: "caption", fontWeight: 500, sx: Y.options.tag, children: E.short })
|
|
574
|
-
] }),
|
|
575
|
-
/* @__PURE__ */ l(St, { open: u, labels: i, units: n, unitSelectedValue: E, onClose: w, onSubmit: Z })
|
|
576
|
-
] }), e[25] = Z, e[26] = i, e[27] = u, e[28] = E, e[29] = L, e[30] = n, e[31] = p.length, e[32] = j) : j = e[32];
|
|
577
|
-
let N;
|
|
578
|
-
e[33] !== W || e[34] !== G || e[35] !== j ? (N = /* @__PURE__ */ $("div", { children: [
|
|
579
|
-
W,
|
|
580
|
-
G,
|
|
581
|
-
j
|
|
582
|
-
] }), e[33] = W, e[34] = G, e[35] = j, e[36] = N) : N = e[36];
|
|
583
|
-
let z;
|
|
584
|
-
return e[37] !== d || e[38] !== S || e[39] !== N ? (z = /* @__PURE__ */ $(ee, { children: [
|
|
585
|
-
R,
|
|
586
|
-
/* @__PURE__ */ l(Ze, { id: "measurement-menu", anchorEl: d, open: S, onClose: D, MenuListProps: O, children: N })
|
|
587
|
-
] }), e[37] = d, e[38] = S, e[39] = N, e[40] = z) : z = e[40], z;
|
|
588
|
-
}
|
|
589
|
-
function St(t) {
|
|
590
|
-
const e = F(48), {
|
|
591
|
-
open: s,
|
|
592
|
-
labels: o,
|
|
593
|
-
units: n,
|
|
594
|
-
unitSelectedValue: r,
|
|
595
|
-
onClose: i,
|
|
596
|
-
onSubmit: a
|
|
597
|
-
} = t, [c, d] = ne("metric");
|
|
598
|
-
let m;
|
|
599
|
-
if (e[0] !== c || e[1] !== n) {
|
|
600
|
-
let R;
|
|
601
|
-
e[3] !== c ? (R = (O) => O.system === c, e[3] = c, e[4] = R) : R = e[4], m = n.filter(R), e[0] = c, e[1] = n, e[2] = m;
|
|
602
|
-
} else
|
|
603
|
-
m = e[2];
|
|
604
|
-
const u = m;
|
|
605
|
-
let f;
|
|
606
|
-
e[5] === Symbol.for("react.memo_cache_sentinel") ? (f = (R, O) => {
|
|
607
|
-
d(O);
|
|
608
|
-
}, e[5] = f) : f = e[5];
|
|
609
|
-
const I = f, v = o?.units?.modal?.options ?? oe.options.units.modal.options, k = v[c].options, p = o?.units?.modal?.title ?? oe.options.units.modal.title, g = o?.units?.modal?.subtitle ?? oe.options.units.modal.subtitle, S = o?.units?.modal?.apply ?? oe.options.units.modal.apply, A = r.system === c ? r : u[0];
|
|
610
|
-
let _;
|
|
611
|
-
e[6] !== a ? (_ = {
|
|
612
|
-
component: "form",
|
|
613
|
-
onSubmit: (R) => {
|
|
614
|
-
R.preventDefault();
|
|
615
|
-
const O = new FormData(R.currentTarget);
|
|
616
|
-
a(O.get("unit-value"));
|
|
617
|
-
}
|
|
618
|
-
}, e[6] = a, e[7] = _) : _ = e[7];
|
|
619
|
-
let C;
|
|
620
|
-
e[8] === Symbol.for("react.memo_cache_sentinel") ? (C = /* @__PURE__ */ l(Re, {}), e[8] = C) : C = e[8];
|
|
621
|
-
let D;
|
|
622
|
-
e[9] !== i ? (D = /* @__PURE__ */ l(re, { onClick: i, children: C }), e[9] = i, e[10] = D) : D = e[10];
|
|
623
|
-
let M;
|
|
624
|
-
e[11] !== p || e[12] !== D ? (M = /* @__PURE__ */ $(We, { sx: Y.options.modal.title, children: [
|
|
625
|
-
p,
|
|
626
|
-
D
|
|
627
|
-
] }), e[11] = p, e[12] = D, e[13] = M) : M = e[13];
|
|
628
|
-
let h;
|
|
629
|
-
e[14] !== g ? (h = /* @__PURE__ */ l(Q, { sx: Y.options.modal.subtitle, children: g }), e[14] = g, e[15] = h) : h = e[15];
|
|
630
|
-
let T;
|
|
631
|
-
e[16] !== v.metric.title ? (T = /* @__PURE__ */ l(ye, { value: "metric", children: v.metric.title }), e[16] = v.metric.title, e[17] = T) : T = e[17];
|
|
632
|
-
let y;
|
|
633
|
-
e[18] !== v.imperial.title ? (y = /* @__PURE__ */ l(ye, { value: "imperial", children: v.imperial.title }), e[18] = v.imperial.title, e[19] = y) : y = e[19];
|
|
634
|
-
let b;
|
|
635
|
-
e[20] !== c || e[21] !== T || e[22] !== y ? (b = /* @__PURE__ */ $(Le, { color: "primary", value: c, exclusive: !0, fullWidth: !0, onChange: I, "aria-label": "system", sx: Y.options.modal.toggle, children: [
|
|
636
|
-
T,
|
|
637
|
-
y
|
|
638
|
-
] }), e[20] = c, e[21] = T, e[22] = y, e[23] = b) : b = e[23];
|
|
639
|
-
const w = A?.value, x = A?.value;
|
|
640
|
-
let Z;
|
|
641
|
-
if (e[24] !== u || e[25] !== k) {
|
|
642
|
-
let R;
|
|
643
|
-
e[27] !== k ? (R = (O) => {
|
|
644
|
-
const W = k[O.value];
|
|
645
|
-
return /* @__PURE__ */ l(je, { value: O.value, control: /* @__PURE__ */ l(Fe, {}), label: W }, O.value);
|
|
646
|
-
}, e[27] = k, e[28] = R) : R = e[28], Z = u.map(R), e[24] = u, e[25] = k, e[26] = Z;
|
|
647
|
-
} else
|
|
648
|
-
Z = e[26];
|
|
649
|
-
let U;
|
|
650
|
-
e[29] !== x || e[30] !== Z ? (U = /* @__PURE__ */ l(Ge, { "aria-labelledby": "unit-value", defaultValue: x, name: "unit-value", sx: Y.options.modal.optionsGroup, children: Z }), e[29] = x, e[30] = Z, e[31] = U) : U = e[31];
|
|
651
|
-
let L;
|
|
652
|
-
e[32] !== w || e[33] !== U ? (L = /* @__PURE__ */ l(Ne, { children: U }, w), e[32] = w, e[33] = U, e[34] = L) : L = e[34];
|
|
653
|
-
let P;
|
|
654
|
-
e[35] !== b || e[36] !== L || e[37] !== h ? (P = /* @__PURE__ */ $(ze, { sx: Y.options.modal.content, children: [
|
|
655
|
-
h,
|
|
656
|
-
b,
|
|
657
|
-
L
|
|
658
|
-
] }), e[35] = b, e[36] = L, e[37] = h, e[38] = P) : P = e[38];
|
|
659
|
-
let V;
|
|
660
|
-
e[39] !== S ? (V = /* @__PURE__ */ l(He, { sx: Y.options.modal.actions, children: /* @__PURE__ */ l(xe, { variant: "contained", type: "submit", children: S }) }), e[39] = S, e[40] = V) : V = e[40];
|
|
661
|
-
let E;
|
|
662
|
-
return e[41] !== i || e[42] !== s || e[43] !== P || e[44] !== V || e[45] !== _ || e[46] !== M ? (E = /* @__PURE__ */ $(Xe, { open: s, component: q, onClose: i, maxWidth: "xs", PaperProps: _, children: [
|
|
663
|
-
M,
|
|
664
|
-
P,
|
|
665
|
-
V
|
|
666
|
-
] }), e[41] = i, e[42] = s, e[43] = P, e[44] = V, e[45] = _, e[46] = M, e[47] = E) : E = e[47], E;
|
|
667
|
-
}
|
|
668
|
-
const Ct = {
|
|
669
|
-
enabled: "Show your current location",
|
|
670
|
-
disabled: "Location unavailable"
|
|
671
|
-
}, wt = "geolocation";
|
|
672
|
-
function Yt(t) {
|
|
673
|
-
const e = F(25), {
|
|
674
|
-
disabled: s,
|
|
675
|
-
labels: o,
|
|
676
|
-
PaperProps: n,
|
|
677
|
-
TooltipProps: r,
|
|
678
|
-
watch: i,
|
|
679
|
-
onChange: a,
|
|
680
|
-
onError: c
|
|
681
|
-
} = t, d = Pe(null), m = "geolocation" in navigator, [u, f] = ne(m);
|
|
682
|
-
let I, v;
|
|
683
|
-
e[0] !== c ? (I = () => (m && navigator.permissions.query({
|
|
684
|
-
name: "geolocation"
|
|
685
|
-
}).then((x) => {
|
|
686
|
-
f(x.state === "granted"), x.onchange = () => {
|
|
687
|
-
f(x.state === "granted");
|
|
688
|
-
};
|
|
689
|
-
}).catch((x) => {
|
|
690
|
-
f(!1), c?.(x);
|
|
691
|
-
}), () => {
|
|
692
|
-
d.current && navigator.geolocation.clearWatch(d.current);
|
|
693
|
-
}), v = [m, c], e[0] = c, e[1] = I, e[2] = v) : (I = e[1], v = e[2]), Oe(I, v);
|
|
694
|
-
let k;
|
|
695
|
-
e[3] !== a ? (k = (x) => {
|
|
696
|
-
a(x.coords);
|
|
697
|
-
}, e[3] = a, e[4] = k) : k = e[4];
|
|
698
|
-
const p = k;
|
|
699
|
-
let g;
|
|
700
|
-
e[5] !== c ? (g = (x) => {
|
|
701
|
-
f(!1), c?.(x);
|
|
702
|
-
}, e[5] = c, e[6] = g) : g = e[6];
|
|
703
|
-
const S = g;
|
|
704
|
-
let A;
|
|
705
|
-
e[7] !== S || e[8] !== p || e[9] !== i ? (A = () => {
|
|
706
|
-
if (d.current && navigator.geolocation.clearWatch(d.current), i) {
|
|
707
|
-
d.current = navigator.geolocation.watchPosition(p, S);
|
|
708
|
-
return;
|
|
709
|
-
}
|
|
710
|
-
navigator.geolocation.getCurrentPosition(p, S);
|
|
711
|
-
}, e[7] = S, e[8] = p, e[9] = i, e[10] = A) : A = e[10];
|
|
712
|
-
const _ = A, D = (o?.tooltip ?? Ct)[u ? "enabled" : "disabled"], M = o?.ariaLabel ?? wt, h = !m || s;
|
|
713
|
-
let T;
|
|
714
|
-
e[11] !== u ? (T = u ? /* @__PURE__ */ l(nt, {}) : /* @__PURE__ */ l(it, {}), e[11] = u, e[12] = T) : T = e[12];
|
|
715
|
-
let y;
|
|
716
|
-
e[13] !== _ || e[14] !== M || e[15] !== h || e[16] !== T ? (y = /* @__PURE__ */ l(re, { onClick: _, "aria-label": M, disabled: h, children: T }), e[13] = _, e[14] = M, e[15] = h, e[16] = T, e[17] = y) : y = e[17];
|
|
717
|
-
let b;
|
|
718
|
-
e[18] !== r || e[19] !== y || e[20] !== D ? (b = /* @__PURE__ */ l(he, { arrow: !0, placement: "right", title: D, ...r, children: y }), e[18] = r, e[19] = y, e[20] = D, e[21] = b) : b = e[21];
|
|
719
|
-
let w;
|
|
720
|
-
return e[22] !== n || e[23] !== b ? (w = /* @__PURE__ */ l(Ce, { ...n, children: b }), e[22] = n, e[23] = b, e[24] = w) : w = e[24], w;
|
|
721
|
-
}
|
|
722
|
-
const _e = {
|
|
723
|
-
zoom: {
|
|
724
|
-
position: "relative",
|
|
725
|
-
height: ({
|
|
726
|
-
spacing: t
|
|
727
|
-
}) => t(4),
|
|
728
|
-
aspectRatio: 1,
|
|
729
|
-
display: "flex",
|
|
730
|
-
alignItems: "center",
|
|
731
|
-
justifyContent: "center"
|
|
732
|
-
},
|
|
733
|
-
paper: {
|
|
734
|
-
display: "flex",
|
|
735
|
-
backgroundColor: ({
|
|
736
|
-
palette: t
|
|
737
|
-
}) => t.background.paper,
|
|
738
|
-
width: "auto",
|
|
739
|
-
overflow: "hidden",
|
|
740
|
-
boxShadow: ({
|
|
741
|
-
shadows: t
|
|
742
|
-
}) => t[1],
|
|
743
|
-
borderRadius: ({
|
|
744
|
-
spacing: t
|
|
745
|
-
}) => t(0.5),
|
|
746
|
-
button: {
|
|
747
|
-
borderRadius: 0
|
|
748
|
-
}
|
|
749
|
-
},
|
|
750
|
-
circularProgress: {
|
|
751
|
-
position: "absolute"
|
|
752
|
-
}
|
|
753
|
-
};
|
|
754
|
-
function Qt(t) {
|
|
755
|
-
const e = F(40), {
|
|
756
|
-
zoom: s,
|
|
757
|
-
disabled: o,
|
|
758
|
-
direction: n,
|
|
759
|
-
reverse: r,
|
|
760
|
-
isLoading: i,
|
|
761
|
-
maxZoom: a,
|
|
762
|
-
minZoom: c,
|
|
763
|
-
PaperProps: d,
|
|
764
|
-
ResetViewProps: m,
|
|
765
|
-
showZoom: u,
|
|
766
|
-
onChange: f,
|
|
767
|
-
onReset: I
|
|
768
|
-
} = t, v = n === void 0 ? "vertical" : n, k = r === void 0 ? !1 : r, p = a === void 0 ? 24 : a, g = c === void 0 ? 0 : c;
|
|
769
|
-
let S;
|
|
770
|
-
e[0] !== m ? (S = m === void 0 ? {
|
|
771
|
-
Icon: st
|
|
772
|
-
} : m, e[0] = m, e[1] = S) : S = e[1];
|
|
773
|
-
const A = S, _ = u === void 0 ? !0 : u;
|
|
774
|
-
let C;
|
|
775
|
-
e[2] !== p || e[3] !== f || e[4] !== s ? (C = () => {
|
|
776
|
-
const O = Math.min(p, s + 1);
|
|
777
|
-
f(O);
|
|
778
|
-
}, e[2] = p, e[3] = f, e[4] = s, e[5] = C) : C = e[5];
|
|
779
|
-
const D = C;
|
|
780
|
-
let M;
|
|
781
|
-
e[6] !== g || e[7] !== f || e[8] !== s ? (M = () => {
|
|
782
|
-
const O = Math.max(g, s - 1);
|
|
783
|
-
f(O);
|
|
784
|
-
}, e[6] = g, e[7] = f, e[8] = s, e[9] = M) : M = e[9];
|
|
785
|
-
const h = M, T = Math.floor(s), y = v === "vertical" ? "horizontal" : "vertical";
|
|
786
|
-
let b = v === "vertical" ? "column" : "row";
|
|
787
|
-
k && (b = b + "-reverse");
|
|
788
|
-
let w;
|
|
789
|
-
e[10] !== b ? (w = {
|
|
790
|
-
..._e.paper,
|
|
791
|
-
flexDirection: b
|
|
792
|
-
}, e[10] = b, e[11] = w) : w = e[11];
|
|
793
|
-
let x;
|
|
794
|
-
e[12] !== A || e[13] !== o || e[14] !== y || e[15] !== I ? (x = I && /* @__PURE__ */ $(ee, { children: [
|
|
795
|
-
/* @__PURE__ */ l(re, { onClick: I, "aria-label": "Reset action", disabled: o, children: /* @__PURE__ */ l(A.Icon, {}) }),
|
|
796
|
-
/* @__PURE__ */ l(fe, { orientation: y, flexItem: !0 })
|
|
797
|
-
] }), e[12] = A, e[13] = o, e[14] = y, e[15] = I, e[16] = x) : x = e[16];
|
|
798
|
-
let Z;
|
|
799
|
-
e[17] === Symbol.for("react.memo_cache_sentinel") ? (Z = /* @__PURE__ */ l(rt, {}), e[17] = Z) : Z = e[17];
|
|
800
|
-
let U;
|
|
801
|
-
e[18] !== o || e[19] !== D ? (U = /* @__PURE__ */ l(re, { onClick: D, "aria-label": "Increase zoom", disabled: o, children: Z }), e[18] = o, e[19] = D, e[20] = U) : U = e[20];
|
|
802
|
-
let L;
|
|
803
|
-
e[21] !== y ? (L = /* @__PURE__ */ l(fe, { orientation: y, flexItem: !0 }), e[21] = y, e[22] = L) : L = e[22];
|
|
804
|
-
let P;
|
|
805
|
-
e[23] !== T || e[24] !== y || e[25] !== i || e[26] !== _ ? (P = _ && /* @__PURE__ */ $(ee, { children: [
|
|
806
|
-
/* @__PURE__ */ $(q, { sx: _e.zoom, children: [
|
|
807
|
-
/* @__PURE__ */ l(Q, { display: "block", align: "center", color: "textSecondary", variant: "overline", children: T }),
|
|
808
|
-
i && /* @__PURE__ */ l(qe, { sx: _e.circularProgress, variant: "indeterminate", size: 24 })
|
|
809
|
-
] }),
|
|
810
|
-
/* @__PURE__ */ l(fe, { orientation: y, flexItem: !0 })
|
|
811
|
-
] }), e[23] = T, e[24] = y, e[25] = i, e[26] = _, e[27] = P) : P = e[27];
|
|
812
|
-
let V;
|
|
813
|
-
e[28] === Symbol.for("react.memo_cache_sentinel") ? (V = /* @__PURE__ */ l(at, {}), e[28] = V) : V = e[28];
|
|
814
|
-
let E;
|
|
815
|
-
e[29] !== h || e[30] !== o ? (E = /* @__PURE__ */ l(re, { onClick: h, "aria-label": "Decrease zoom", disabled: o, children: V }), e[29] = h, e[30] = o, e[31] = E) : E = e[31];
|
|
816
|
-
let R;
|
|
817
|
-
return e[32] !== d || e[33] !== w || e[34] !== x || e[35] !== U || e[36] !== L || e[37] !== P || e[38] !== E ? (R = /* @__PURE__ */ $(Ce, { sx: w, ...d, children: [
|
|
818
|
-
x,
|
|
819
|
-
U,
|
|
820
|
-
L,
|
|
821
|
-
P,
|
|
822
|
-
E
|
|
823
|
-
] }), e[32] = d, e[33] = w, e[34] = x, e[35] = U, e[36] = L, e[37] = P, e[38] = E, e[39] = R) : R = e[39], R;
|
|
824
|
-
}
|
|
825
|
-
function _t(t) {
|
|
826
|
-
const e = F(4), {
|
|
827
|
-
length: s
|
|
828
|
-
} = t, o = s === void 0 ? 5 : s;
|
|
829
|
-
let n;
|
|
830
|
-
e[0] !== o ? (n = new Array(o).fill(null).map(Mt), e[0] = o, e[1] = n) : n = e[1];
|
|
831
|
-
let r;
|
|
832
|
-
return e[2] !== n ? (r = /* @__PURE__ */ l(q, { "aria-label": "List Data skeleton", children: n }), e[2] = n, e[3] = r) : r = e[3], r;
|
|
833
|
-
}
|
|
834
|
-
function Mt(t, e) {
|
|
835
|
-
return /* @__PURE__ */ $(pe, { container: !0, spacing: 1, children: [
|
|
836
|
-
/* @__PURE__ */ $(pe, { container: !0, item: !0, direction: "row", justifyContent: "space-between", alignItems: "center", children: [
|
|
837
|
-
/* @__PURE__ */ l(we, { width: Dt(e) ? 72 : 48, height: 20 }),
|
|
838
|
-
/* @__PURE__ */ l(we, { width: 48, height: 8 })
|
|
839
|
-
] }),
|
|
840
|
-
/* @__PURE__ */ l(we, { sx: {
|
|
841
|
-
height: kt,
|
|
842
|
-
marginTop: At,
|
|
843
|
-
marginBottom: Tt,
|
|
844
|
-
width: "100%"
|
|
845
|
-
} })
|
|
846
|
-
] }, e);
|
|
847
|
-
}
|
|
848
|
-
function Tt(t) {
|
|
849
|
-
const {
|
|
850
|
-
spacing: e
|
|
851
|
-
} = t;
|
|
852
|
-
return e(1.75);
|
|
853
|
-
}
|
|
854
|
-
function At(t) {
|
|
855
|
-
const {
|
|
856
|
-
spacing: e
|
|
857
|
-
} = t;
|
|
858
|
-
return e(1.25);
|
|
859
|
-
}
|
|
860
|
-
function kt(t) {
|
|
861
|
-
const {
|
|
862
|
-
spacing: e
|
|
863
|
-
} = t;
|
|
864
|
-
return e(0.5);
|
|
865
|
-
}
|
|
866
|
-
function Dt(t) {
|
|
867
|
-
return t % 2 === 1;
|
|
868
|
-
}
|
|
869
|
-
function It(t) {
|
|
870
|
-
const e = F(13), {
|
|
871
|
-
title: s,
|
|
872
|
-
body: o,
|
|
873
|
-
severity: n
|
|
874
|
-
} = t, r = s === void 0 ? "No data available" : s, i = o === void 0 ? "There are no results for the combination of filters applied to your data. Try tweaking your filters, or zoom and pan the map to adjust the Map View." : o;
|
|
875
|
-
if (n) {
|
|
876
|
-
let m;
|
|
877
|
-
e[0] !== i ? (m = /* @__PURE__ */ l(ke, { children: i }), e[0] = i, e[1] = m) : m = e[1];
|
|
878
|
-
let u;
|
|
879
|
-
return e[2] !== n || e[3] !== m || e[4] !== r ? (u = /* @__PURE__ */ l(Ke, { title: r, severity: n, children: m }), e[2] = n, e[3] = m, e[4] = r, e[5] = u) : u = e[5], u;
|
|
880
|
-
}
|
|
881
|
-
let a;
|
|
882
|
-
e[6] !== r ? (a = r && /* @__PURE__ */ l(Q, { variant: "body2", children: r }), e[6] = r, e[7] = a) : a = e[7];
|
|
883
|
-
let c;
|
|
884
|
-
e[8] !== i ? (c = /* @__PURE__ */ l(ke, { color: "textSecondary", children: i }), e[8] = i, e[9] = c) : c = e[9];
|
|
885
|
-
let d;
|
|
886
|
-
return e[10] !== a || e[11] !== c ? (d = /* @__PURE__ */ $(q, { children: [
|
|
887
|
-
a,
|
|
888
|
-
c
|
|
889
|
-
] }), e[10] = a, e[11] = c, e[12] = d) : d = e[12], d;
|
|
890
|
-
}
|
|
891
|
-
function ke(t) {
|
|
892
|
-
const e = F(5), {
|
|
893
|
-
color: s,
|
|
894
|
-
children: o
|
|
895
|
-
} = t;
|
|
896
|
-
if (o) {
|
|
897
|
-
const r = s ?? "inherit";
|
|
898
|
-
let i;
|
|
899
|
-
e[0] === Symbol.for("react.memo_cache_sentinel") ? (i = {
|
|
900
|
-
fontWeight: "normal"
|
|
901
|
-
}, e[0] = i) : i = e[0];
|
|
902
|
-
let a;
|
|
903
|
-
return e[1] !== o || e[2] !== r ? (a = /* @__PURE__ */ l(q, { mt: 0.5, children: /* @__PURE__ */ l(Q, { component: "div", variant: "caption", color: r, style: i, children: o }) }), e[1] = o, e[2] = r, e[3] = a) : a = e[3], a;
|
|
904
|
-
}
|
|
905
|
-
let n;
|
|
906
|
-
return e[4] === Symbol.for("react.memo_cache_sentinel") ? (n = /* @__PURE__ */ l(q, { mt: -1 }), e[4] = n) : n = e[4], n;
|
|
907
|
-
}
|
|
908
|
-
function Lt(t) {
|
|
909
|
-
const e = F(2);
|
|
910
|
-
let s;
|
|
911
|
-
e[0] !== t ? (s = () => t ? 1 : 0, e[0] = t, e[1] = s) : s = e[1];
|
|
912
|
-
const [o, n] = ne(s);
|
|
913
|
-
return t && o === 0 && n(1), !t && o === 1 && n(2), o === 1;
|
|
914
|
-
}
|
|
915
|
-
const De = {
|
|
916
|
-
overflow: "hidden",
|
|
917
|
-
textOverflow: "ellipsis",
|
|
918
|
-
whiteSpace: "nowrap"
|
|
919
|
-
}, ue = {
|
|
920
|
-
label: {
|
|
921
|
-
"& .MuiListItemText-primary": {
|
|
922
|
-
...De
|
|
923
|
-
}
|
|
924
|
-
},
|
|
925
|
-
value: {
|
|
926
|
-
"& .MuiListItemText-primary": {
|
|
927
|
-
...De,
|
|
928
|
-
textAlign: "right"
|
|
929
|
-
}
|
|
930
|
-
},
|
|
931
|
-
clickable: {
|
|
932
|
-
cursor: "pointer",
|
|
933
|
-
"&:hover": {
|
|
934
|
-
backgroundColor: ({
|
|
935
|
-
palette: t
|
|
936
|
-
}) => t.action.hover
|
|
937
|
-
}
|
|
938
|
-
},
|
|
939
|
-
showDivider: {
|
|
940
|
-
borderBottom: ({
|
|
941
|
-
palette: t
|
|
942
|
-
}) => `1px solid ${t.divider}`
|
|
943
|
-
},
|
|
944
|
-
selected: {
|
|
945
|
-
backgroundColor: ({
|
|
946
|
-
palette: t
|
|
947
|
-
}) => t.action.selected
|
|
948
|
-
},
|
|
949
|
-
disabled: {
|
|
950
|
-
opacity: 0.5,
|
|
951
|
-
pointerEvents: "none"
|
|
952
|
-
}
|
|
953
|
-
}, Pt = {
|
|
954
|
-
showMore: "Show More",
|
|
955
|
-
showLess: "Show Less"
|
|
956
|
-
};
|
|
957
|
-
function Jt(t) {
|
|
958
|
-
const e = F(34), {
|
|
959
|
-
data: s,
|
|
960
|
-
isLoading: o,
|
|
961
|
-
maxItems: n,
|
|
962
|
-
labels: r,
|
|
963
|
-
showDivider: i,
|
|
964
|
-
selectedItemId: a,
|
|
965
|
-
tooltipProps: c,
|
|
966
|
-
onExpand: d,
|
|
967
|
-
onItemClick: m
|
|
968
|
-
} = t;
|
|
969
|
-
let u;
|
|
970
|
-
e[0] !== s ? (u = s === void 0 ? [] : s, e[0] = s, e[1] = u) : u = e[1];
|
|
971
|
-
const f = u, I = o === void 0 ? !1 : o, v = n === void 0 ? 5 : n, k = r === void 0 ? Pt : r, p = i === void 0 ? !0 : i, [g, S] = ne(!1), A = Lt(I);
|
|
972
|
-
let _;
|
|
973
|
-
e[2] !== f || e[3] !== v || e[4] !== g ? (_ = g ? f : f.slice(0, v), e[2] = f, e[3] = v, e[4] = g, e[5] = _) : _ = e[5];
|
|
974
|
-
const C = _;
|
|
975
|
-
let D;
|
|
976
|
-
e[6] !== d || e[7] !== g ? (D = () => {
|
|
977
|
-
S(!g), d?.(g);
|
|
978
|
-
}, e[6] = d, e[7] = g, e[8] = D) : D = e[8];
|
|
979
|
-
const M = D;
|
|
980
|
-
if (A) {
|
|
981
|
-
let w;
|
|
982
|
-
return e[9] !== v ? (w = /* @__PURE__ */ l(_t, { length: v }), e[9] = v, e[10] = w) : w = e[10], w;
|
|
983
|
-
}
|
|
984
|
-
if (C.length === 0) {
|
|
985
|
-
let w;
|
|
986
|
-
return e[11] === Symbol.for("react.memo_cache_sentinel") ? (w = /* @__PURE__ */ l(It, {}), e[11] = w) : w = e[11], w;
|
|
987
|
-
}
|
|
988
|
-
let h;
|
|
989
|
-
if (e[12] !== C || e[13] !== m || e[14] !== a || e[15] !== p || e[16] !== c) {
|
|
990
|
-
let w;
|
|
991
|
-
e[18] !== m || e[19] !== a || e[20] !== p || e[21] !== c ? (w = (x, Z) => /* @__PURE__ */ l(ct, { followCursor: !1, placement: "top", arrow: !0, title: x.tooltipTitle, enterDelay: 10, ...c, children: (U) => {
|
|
992
|
-
const {
|
|
993
|
-
ref: L
|
|
994
|
-
} = U;
|
|
995
|
-
return /* @__PURE__ */ l(Ye, { ref: L, role: "listitem", sx: {
|
|
996
|
-
...p && ue.showDivider,
|
|
997
|
-
...m && ue.clickable,
|
|
998
|
-
...a === x.id && ue.selected,
|
|
999
|
-
...x.disabled && ue.disabled
|
|
1000
|
-
}, onClick: () => {
|
|
1001
|
-
x.disabled || m?.(x);
|
|
1002
|
-
}, children: /* @__PURE__ */ $(pe, { container: !0, alignItems: "center", children: [
|
|
1003
|
-
/* @__PURE__ */ l(pe, { item: !0, xs: 8, children: /* @__PURE__ */ l(Se, { primary: x.label, sx: ue.label }) }),
|
|
1004
|
-
/* @__PURE__ */ l(pe, { item: !0, xs: 4, children: /* @__PURE__ */ l(Se, { primary: x.value, sx: ue.value }) })
|
|
1005
|
-
] }) });
|
|
1006
|
-
} }, `list-item-${Z}`), e[18] = m, e[19] = a, e[20] = p, e[21] = c, e[22] = w) : w = e[22], h = C.map(w), e[12] = C, e[13] = m, e[14] = a, e[15] = p, e[16] = c, e[17] = h;
|
|
1007
|
-
} else
|
|
1008
|
-
h = e[17];
|
|
1009
|
-
let T;
|
|
1010
|
-
e[23] !== h ? (T = /* @__PURE__ */ l(Qe, { id: "expandable-list", role: "list", children: h }), e[23] = h, e[24] = T) : T = e[24];
|
|
1011
|
-
let y;
|
|
1012
|
-
e[25] !== f.length || e[26] !== M || e[27] !== k || e[28] !== v || e[29] !== g ? (y = f.length > v && /* @__PURE__ */ l(q, { my: 2, children: /* @__PURE__ */ l(xe, { onClick: M, variant: "text", color: "primary", "aria-expanded": g, "aria-controls": "expandable-list", children: g ? k.showLess : k.showMore }) }), e[25] = f.length, e[26] = M, e[27] = k, e[28] = v, e[29] = g, e[30] = y) : y = e[30];
|
|
1013
|
-
let b;
|
|
1014
|
-
return e[31] !== T || e[32] !== y ? (b = /* @__PURE__ */ $(ee, { children: [
|
|
1015
|
-
T,
|
|
1016
|
-
y
|
|
1017
|
-
] }), e[31] = T, e[32] = y, e[33] = b) : b = e[33], b;
|
|
1018
|
-
}
|
|
1019
|
-
const Ot = 288, ce = {
|
|
1020
|
-
root: {
|
|
1021
|
-
width: Ot,
|
|
1022
|
-
overflow: "auto"
|
|
1023
|
-
},
|
|
1024
|
-
toggle: {
|
|
1025
|
-
padding: ({
|
|
1026
|
-
spacing: t
|
|
1027
|
-
}) => t(0.5),
|
|
1028
|
-
img: {
|
|
1029
|
-
width: "100%",
|
|
1030
|
-
aspectRatio: "1 / 1",
|
|
1031
|
-
borderRadius: ({
|
|
1032
|
-
spacing: t
|
|
1033
|
-
}) => t(0.25)
|
|
1034
|
-
}
|
|
1035
|
-
},
|
|
1036
|
-
header: {
|
|
1037
|
-
display: "flex",
|
|
1038
|
-
alignItems: "center",
|
|
1039
|
-
justifyContent: "space-between",
|
|
1040
|
-
padding: ({
|
|
1041
|
-
spacing: t
|
|
1042
|
-
}) => t(1),
|
|
1043
|
-
paddingInlineStart: ({
|
|
1044
|
-
spacing: t
|
|
1045
|
-
}) => t(2),
|
|
1046
|
-
position: "sticky",
|
|
1047
|
-
top: 0,
|
|
1048
|
-
zIndex: 2,
|
|
1049
|
-
background: ({
|
|
1050
|
-
palette: t
|
|
1051
|
-
}) => t.background.paper
|
|
1052
|
-
},
|
|
1053
|
-
groupWrapper: {
|
|
1054
|
-
content: {
|
|
1055
|
-
paddingInline: ({
|
|
1056
|
-
spacing: t
|
|
1057
|
-
}) => t(2),
|
|
1058
|
-
paddingBlock: ({
|
|
1059
|
-
spacing: t
|
|
1060
|
-
}) => t(0.5)
|
|
1061
|
-
}
|
|
1062
|
-
},
|
|
1063
|
-
group: {
|
|
1064
|
-
display: "flex",
|
|
1065
|
-
flexDirection: "row",
|
|
1066
|
-
flexWrap: "wrap",
|
|
1067
|
-
alignItems: "center",
|
|
1068
|
-
gap: ({
|
|
1069
|
-
spacing: t
|
|
1070
|
-
}) => t(2),
|
|
1071
|
-
paddingInline: ({
|
|
1072
|
-
spacing: t
|
|
1073
|
-
}) => t(2),
|
|
1074
|
-
paddingBlock: ({
|
|
1075
|
-
spacing: t
|
|
1076
|
-
}) => t(1)
|
|
1077
|
-
},
|
|
1078
|
-
item: {
|
|
1079
|
-
container: {
|
|
1080
|
-
display: "flex",
|
|
1081
|
-
alignItems: "center",
|
|
1082
|
-
flexDirection: "column",
|
|
1083
|
-
gap: ({
|
|
1084
|
-
spacing: t
|
|
1085
|
-
}) => t(1),
|
|
1086
|
-
background: "transparent",
|
|
1087
|
-
border: "none",
|
|
1088
|
-
cursor: "pointer",
|
|
1089
|
-
padding: 0,
|
|
1090
|
-
height: ({
|
|
1091
|
-
spacing: t
|
|
1092
|
-
}) => t(12),
|
|
1093
|
-
img: {
|
|
1094
|
-
maxWidth: ({
|
|
1095
|
-
spacing: t
|
|
1096
|
-
}) => t(9),
|
|
1097
|
-
aspectRatio: "1 / 1",
|
|
1098
|
-
borderRadius: ({
|
|
1099
|
-
spacing: t
|
|
1100
|
-
}) => t(0.5),
|
|
1101
|
-
border: "2px solid transparent",
|
|
1102
|
-
"&:hover": {
|
|
1103
|
-
borderColor: ({
|
|
1104
|
-
palette: t
|
|
1105
|
-
}) => t.action.active
|
|
1106
|
-
},
|
|
1107
|
-
'&[data-active="true"]': {
|
|
1108
|
-
borderColor: ({
|
|
1109
|
-
palette: t
|
|
1110
|
-
}) => t.primary.main
|
|
1111
|
-
}
|
|
1112
|
-
}
|
|
1113
|
-
},
|
|
1114
|
-
selected: {
|
|
1115
|
-
color: ({
|
|
1116
|
-
palette: t
|
|
1117
|
-
}) => t.primary.main
|
|
1118
|
-
}
|
|
1119
|
-
}
|
|
1120
|
-
}, Rt = {
|
|
1121
|
-
toggle: {
|
|
1122
|
-
title: "Toggle basemaps controls"
|
|
1123
|
-
},
|
|
1124
|
-
header: {
|
|
1125
|
-
title: "Basemaps",
|
|
1126
|
-
actions: {
|
|
1127
|
-
close: "Close"
|
|
1128
|
-
}
|
|
1129
|
-
}
|
|
1130
|
-
};
|
|
1131
|
-
function Et(t) {
|
|
1132
|
-
const e = F(6), {
|
|
1133
|
-
isMobile: s,
|
|
1134
|
-
labels: o,
|
|
1135
|
-
onChangeCollapsed: n
|
|
1136
|
-
} = t, r = s === void 0 ? !1 : s;
|
|
1137
|
-
let i;
|
|
1138
|
-
e[0] !== r || e[1] !== o || e[2] !== n ? (i = r && /* @__PURE__ */ $(ee, { children: [
|
|
1139
|
-
/* @__PURE__ */ l(Q, { variant: "caption", flexGrow: 1, children: o.title }),
|
|
1140
|
-
/* @__PURE__ */ l(he, { title: o.actions.close, children: /* @__PURE__ */ l(re, { size: "small", onClick: n, "aria-label": o.actions.close, children: /* @__PURE__ */ l(Re, {}) }) })
|
|
1141
|
-
] }), e[0] = r, e[1] = o, e[2] = n, e[3] = i) : i = e[3];
|
|
1142
|
-
let a;
|
|
1143
|
-
return e[4] !== i ? (a = /* @__PURE__ */ l(q, { sx: ce.header, children: i }), e[4] = i, e[5] = a) : a = e[5], a;
|
|
1144
|
-
}
|
|
1145
|
-
function $t(t) {
|
|
1146
|
-
const e = F(5), {
|
|
1147
|
-
title: s,
|
|
1148
|
-
children: o,
|
|
1149
|
-
collapsed: n
|
|
1150
|
-
} = t;
|
|
1151
|
-
if (n === void 0 ? !1 : n)
|
|
1152
|
-
return o;
|
|
1153
|
-
let i;
|
|
1154
|
-
e[0] !== s ? (i = /* @__PURE__ */ l(Q, { variant: "caption", color: "textSecondary", sx: ce.groupWrapper.content, children: s }), e[0] = s, e[1] = i) : i = e[1];
|
|
1155
|
-
let a;
|
|
1156
|
-
return e[2] !== o || e[3] !== i ? (a = /* @__PURE__ */ $(ee, { children: [
|
|
1157
|
-
i,
|
|
1158
|
-
o
|
|
1159
|
-
] }), e[2] = o, e[3] = i, e[4] = a) : a = e[4], a;
|
|
1160
|
-
}
|
|
1161
|
-
function Bt(t) {
|
|
1162
|
-
const e = F(9), {
|
|
1163
|
-
values: s,
|
|
1164
|
-
selected: o,
|
|
1165
|
-
onChange: n
|
|
1166
|
-
} = t;
|
|
1167
|
-
let r;
|
|
1168
|
-
if (e[0] !== n || e[1] !== o || e[2] !== s) {
|
|
1169
|
-
let a;
|
|
1170
|
-
e[4] !== n || e[5] !== o ? (a = (c) => {
|
|
1171
|
-
const d = c.id === o;
|
|
1172
|
-
return /* @__PURE__ */ $(q, { sx: ce.item.container, component: "button", "aria-label": c.label, onClick: () => n(c.id), children: [
|
|
1173
|
-
/* @__PURE__ */ l("img", { src: c.icon, "aria-label": c.label + " icon", "data-active": d }),
|
|
1174
|
-
/* @__PURE__ */ l(Q, { variant: "caption", sx: {
|
|
1175
|
-
...d && ce.item.selected
|
|
1176
|
-
}, children: c.label })
|
|
1177
|
-
] }, c.id);
|
|
1178
|
-
}, e[4] = n, e[5] = o, e[6] = a) : a = e[6], r = s.map(a), e[0] = n, e[1] = o, e[2] = s, e[3] = r;
|
|
1179
|
-
} else
|
|
1180
|
-
r = e[3];
|
|
1181
|
-
let i;
|
|
1182
|
-
return e[7] !== r ? (i = /* @__PURE__ */ l(q, { sx: ce.group, children: r }), e[7] = r, e[8] = i) : i = e[8], i;
|
|
1183
|
-
}
|
|
1184
|
-
function Ut(t) {
|
|
1185
|
-
const e = F(21), {
|
|
1186
|
-
ref: s,
|
|
1187
|
-
children: o,
|
|
1188
|
-
collapsed: n,
|
|
1189
|
-
isMobile: r,
|
|
1190
|
-
position: i,
|
|
1191
|
-
sx: a,
|
|
1192
|
-
slotProps: c,
|
|
1193
|
-
onChangeCollapsed: d
|
|
1194
|
-
} = t;
|
|
1195
|
-
if (r === void 0 ? !1 : r) {
|
|
1196
|
-
const _ = !n;
|
|
1197
|
-
let C;
|
|
1198
|
-
return e[0] !== o || e[1] !== d || e[2] !== _ ? (C = /* @__PURE__ */ l(Je, { anchor: "bottom", open: _, onClose: d, children: o }), e[0] = o, e[1] = d, e[2] = _, e[3] = C) : C = e[3], C;
|
|
1199
|
-
}
|
|
1200
|
-
const u = !n;
|
|
1201
|
-
let f;
|
|
1202
|
-
e[4] !== d ? (f = () => d(!0), e[4] = d, e[5] = f) : f = e[5];
|
|
1203
|
-
const I = i.startsWith("bottom") ? "bottom" : "top", v = i.endsWith("right") ? "left" : "right";
|
|
1204
|
-
let k;
|
|
1205
|
-
e[6] !== I || e[7] !== v ? (k = {
|
|
1206
|
-
vertical: I,
|
|
1207
|
-
horizontal: v
|
|
1208
|
-
}, e[6] = I, e[7] = v, e[8] = k) : k = e[8];
|
|
1209
|
-
const p = i.startsWith("bottom") ? "bottom" : "top", g = i.endsWith("right") ? "right" : "left";
|
|
1210
|
-
let S;
|
|
1211
|
-
e[9] !== p || e[10] !== g ? (S = {
|
|
1212
|
-
vertical: p,
|
|
1213
|
-
horizontal: g
|
|
1214
|
-
}, e[9] = p, e[10] = g, e[11] = S) : S = e[11];
|
|
1215
|
-
let A;
|
|
1216
|
-
return e[12] !== o || e[13] !== s || e[14] !== c || e[15] !== a || e[16] !== u || e[17] !== f || e[18] !== k || e[19] !== S ? (A = /* @__PURE__ */ l(et, { sx: a, anchorEl: s, open: u, onClose: f, anchorOrigin: k, transformOrigin: S, slotProps: c, children: o }), e[12] = o, e[13] = s, e[14] = c, e[15] = a, e[16] = u, e[17] = f, e[18] = k, e[19] = S, e[20] = A) : A = e[20], A;
|
|
1217
|
-
}
|
|
1218
|
-
function el(t) {
|
|
1219
|
-
const e = F(56), {
|
|
1220
|
-
options: s,
|
|
1221
|
-
labels: o,
|
|
1222
|
-
position: n,
|
|
1223
|
-
selected: r,
|
|
1224
|
-
onChange: i,
|
|
1225
|
-
TooltipProps: a
|
|
1226
|
-
} = t;
|
|
1227
|
-
let c;
|
|
1228
|
-
e[0] !== s ? (c = s === void 0 ? [] : s, e[0] = s, e[1] = c) : c = e[1];
|
|
1229
|
-
const d = c, m = n === void 0 ? "bottom-right" : n, u = r === void 0 ? null : r, [f, I] = ne(null), [v, k] = ne(!1), p = Pe(null), [g, S] = ne(null), A = tt();
|
|
1230
|
-
let _;
|
|
1231
|
-
e[2] !== A.breakpoints ? (_ = A.breakpoints.down("sm"), e[2] = A.breakpoints, e[3] = _) : _ = e[3];
|
|
1232
|
-
const C = lt(_);
|
|
1233
|
-
let D;
|
|
1234
|
-
e[4] !== o ? (D = o ?? {}, e[4] = o, e[5] = D) : D = e[5];
|
|
1235
|
-
let M;
|
|
1236
|
-
e[6] !== D ? (M = Me(Rt, D), e[6] = D, e[7] = M) : M = e[7];
|
|
1237
|
-
const h = M;
|
|
1238
|
-
let T;
|
|
1239
|
-
if (e[8] !== d || e[9] !== u) {
|
|
1240
|
-
let se;
|
|
1241
|
-
e[11] !== u ? (se = (be) => be.id === u, e[11] = u, e[12] = se) : se = e[12], T = d.find(se), e[8] = d, e[9] = u, e[10] = T;
|
|
1242
|
-
} else
|
|
1243
|
-
T = e[10];
|
|
1244
|
-
const y = T;
|
|
1245
|
-
let b;
|
|
1246
|
-
e[13] !== d ? (b = Object.groupBy(d, Vt), e[13] = d, e[14] = b) : b = e[14];
|
|
1247
|
-
const w = b;
|
|
1248
|
-
let x;
|
|
1249
|
-
e[15] !== w ? (x = Object.keys(w), e[15] = w, e[16] = x) : x = e[16];
|
|
1250
|
-
const Z = x.length;
|
|
1251
|
-
let U;
|
|
1252
|
-
e[17] === Symbol.for("react.memo_cache_sentinel") ? (U = () => {
|
|
1253
|
-
I(null), k(!1);
|
|
1254
|
-
}, e[17] = U) : U = e[17];
|
|
1255
|
-
const L = U;
|
|
1256
|
-
let P, V;
|
|
1257
|
-
e[18] !== g ? (P = () => {
|
|
1258
|
-
if (p.current && clearTimeout(p.current), !!g)
|
|
1259
|
-
return p.current = setTimeout(() => {
|
|
1260
|
-
L();
|
|
1261
|
-
}, g), () => {
|
|
1262
|
-
p.current && clearTimeout(p.current);
|
|
1263
|
-
};
|
|
1264
|
-
}, V = [g], e[18] = g, e[19] = P, e[20] = V) : (P = e[19], V = e[20]), Oe(P, V);
|
|
1265
|
-
let E;
|
|
1266
|
-
e[21] === Symbol.for("react.memo_cache_sentinel") ? (E = () => {
|
|
1267
|
-
S(null);
|
|
1268
|
-
}, e[21] = E) : E = e[21];
|
|
1269
|
-
const R = E;
|
|
1270
|
-
let O;
|
|
1271
|
-
e[22] === Symbol.for("react.memo_cache_sentinel") ? (O = () => {
|
|
1272
|
-
S(400);
|
|
1273
|
-
}, e[22] = O) : O = e[22];
|
|
1274
|
-
const W = O;
|
|
1275
|
-
let G;
|
|
1276
|
-
e[23] === Symbol.for("react.memo_cache_sentinel") ? (G = (se) => {
|
|
1277
|
-
I(se.currentTarget), k(!0);
|
|
1278
|
-
}, e[23] = G) : G = e[23];
|
|
1279
|
-
const j = y?.icon, N = y?.label ?? "Basemap";
|
|
1280
|
-
let z;
|
|
1281
|
-
e[24] !== j || e[25] !== N ? (z = /* @__PURE__ */ l(re, { sx: ce.toggle, onClick: G, children: /* @__PURE__ */ l("img", { src: j, alt: N }) }), e[24] = j, e[25] = N, e[26] = z) : z = e[26];
|
|
1282
|
-
let B;
|
|
1283
|
-
e[27] !== a || e[28] !== h.toggle.title || e[29] !== z ? (B = /* @__PURE__ */ l(he, { title: h.toggle.title, placement: "right", ...a, children: z }), e[27] = a, e[28] = h.toggle.title, e[29] = z, e[30] = B) : B = e[30];
|
|
1284
|
-
const H = `translate3d(${m.endsWith("right") ? "-8px" : "8px"}, ${m.startsWith("bottom") ? "-4px" : "4px"}, 0) !important`;
|
|
1285
|
-
let X;
|
|
1286
|
-
e[31] !== H ? (X = {
|
|
1287
|
-
paper: {
|
|
1288
|
-
sx: {
|
|
1289
|
-
...ce.root,
|
|
1290
|
-
transform: H
|
|
1291
|
-
},
|
|
1292
|
-
onMouseOver: R,
|
|
1293
|
-
onMouseLeave: W
|
|
1294
|
-
}
|
|
1295
|
-
}, e[31] = H, e[32] = X) : X = e[32];
|
|
1296
|
-
const te = !v;
|
|
1297
|
-
let J;
|
|
1298
|
-
e[33] === Symbol.for("react.memo_cache_sentinel") ? (J = () => L(), e[33] = J) : J = e[33];
|
|
1299
|
-
let le;
|
|
1300
|
-
e[34] === Symbol.for("react.memo_cache_sentinel") ? (le = () => L(), e[34] = le) : le = e[34];
|
|
1301
|
-
let K;
|
|
1302
|
-
e[35] !== C || e[36] !== h.header ? (K = /* @__PURE__ */ l(Et, { isMobile: C, labels: h.header, onChangeCollapsed: le }), e[35] = C, e[36] = h.header, e[37] = K) : K = e[37];
|
|
1303
|
-
let ie;
|
|
1304
|
-
e[38] !== w ? (ie = Object.entries(w), e[38] = w, e[39] = ie) : ie = e[39];
|
|
1305
|
-
let de;
|
|
1306
|
-
e[40] !== Z || e[41] !== h.header || e[42] !== i || e[43] !== u || e[44] !== ie ? (de = ie.map((se) => {
|
|
1307
|
-
const [be, Ee] = se;
|
|
1308
|
-
return /* @__PURE__ */ l($t, { title: be + " " + h.header.title, collapsed: Z < 2, children: /* @__PURE__ */ l(Bt, { values: Ee, selected: u, onChange: ($e) => {
|
|
1309
|
-
L(), i($e);
|
|
1310
|
-
} }) }, be);
|
|
1311
|
-
}), e[40] = Z, e[41] = h.header, e[42] = i, e[43] = u, e[44] = ie, e[45] = de) : de = e[45];
|
|
1312
|
-
let me;
|
|
1313
|
-
e[46] !== C || e[47] !== m || e[48] !== X || e[49] !== te || e[50] !== K || e[51] !== de ? (me = /* @__PURE__ */ $(Ut, { ref: f, slotProps: X, collapsed: te, position: m, isMobile: C, onChangeCollapsed: J, children: [
|
|
1314
|
-
K,
|
|
1315
|
-
de
|
|
1316
|
-
] }), e[46] = C, e[47] = m, e[48] = X, e[49] = te, e[50] = K, e[51] = de, e[52] = me) : me = e[52];
|
|
1317
|
-
let ge;
|
|
1318
|
-
return e[53] !== B || e[54] !== me ? (ge = /* @__PURE__ */ $(Ce, { children: [
|
|
1319
|
-
B,
|
|
1320
|
-
me
|
|
1321
|
-
] }), e[53] = B, e[54] = me, e[55] = ge) : ge = e[55], ge;
|
|
1322
|
-
}
|
|
1323
|
-
function Vt(t) {
|
|
1324
|
-
return t.group ?? "default";
|
|
1325
|
-
}
|
|
1326
|
-
export {
|
|
1327
|
-
gt as AreaIcon,
|
|
1328
|
-
el as BasemapsUI,
|
|
1329
|
-
ht as BufferIcon,
|
|
1330
|
-
ol as DEFAULT_LASSO_TOOLS_MODES_MAPPING,
|
|
1331
|
-
oe as DEFAULT_MEASUREMENT_TOOLS_LABELS,
|
|
1332
|
-
vt as DEFAULT_MEASUREMENT_TOOLS_MODES_MAPPING,
|
|
1333
|
-
bt as DEFAULT_MEASUREMENT_TOOLS_UNITS_MAPPING,
|
|
1334
|
-
nl as DrawCircleIcon,
|
|
1335
|
-
il as DrawLassoIcon,
|
|
1336
|
-
sl as DrawPolygonIcon,
|
|
1337
|
-
rl as DrawSquareIcon,
|
|
1338
|
-
Yt as GeolocationControls,
|
|
1339
|
-
ae as LASSO_TOOLS_LABELS,
|
|
1340
|
-
qt as LassoToolsInlineUI,
|
|
1341
|
-
al as LassoToolsUI,
|
|
1342
|
-
Jt as ListDataUI,
|
|
1343
|
-
Kt as MeasurementToolsUI,
|
|
1344
|
-
pt as RulerIcon,
|
|
1345
|
-
cl as SelectToolIcon,
|
|
1346
|
-
ct as SmartTooltip,
|
|
1347
|
-
he as Tooltip,
|
|
1348
|
-
Qt as ZoomControlsUI,
|
|
1349
|
-
ml as setTooltipEnterDelay
|
|
1350
|
-
};
|
|
1351
|
-
//# sourceMappingURL=components.js.map
|
|
1
|
+
import { t as e } from "./copy-button-TTlZONkX.js";
|
|
2
|
+
import { $ as t, A as n, B as r, C as i, D as a, E as o, F as s, G as c, H as l, I as u, J as d, K as f, L as p, M as m, N as h, O as g, P as _, Q as v, R as y, S as b, T as x, U as S, V as C, W as w, X as T, Y as E, Z as D, _ as O, _t as k, a as A, at as j, b as M, bt as N, c as P, ct as F, d as I, dt as L, et as R, f as z, ft as B, g as V, gt as H, h as U, ht as W, i as G, it as K, j as q, k as J, l as Y, lt as X, m as Z, mt as Q, n as $, nt as ee, o as te, ot as ne, p as re, pt as ie, q as ae, r as oe, rt as se, s as ce, st as le, t as ue, tt as de, u as fe, ut as pe, v as me, vt as he, w as ge, x as _e, xt as ve, y as ye, yt as be, z as xe } from "./components-FED-ArwH.js";
|
|
3
|
+
import { n as Se, t as Ce } from "./tooltip-DJUGNZxY.js";
|
|
4
|
+
import { t as we } from "./smart-tooltip-CwGHCqab.js";
|
|
5
|
+
export { M as ACCEPT_ACTION_LABELS, _e as AcceptAction, fe as AreaIcon, ue as BasemapsUI, I as BufferIcon, me as CANCEL_ACTION_LABELS, f as COLOR_ACTION_LABELS, ye as CancelAction, ae as ColorAction, d as ColorDot, e as CopyButton, L as DEFAULT_LASSO_TOOLS_MODES_MAPPING, ce as DEFAULT_MEASUREMENT_TOOLS_LABELS, P as DEFAULT_MEASUREMENT_TOOLS_MODES_MAPPING, Y as DEFAULT_MEASUREMENT_TOOLS_UNITS_MAPPING, y as DELETE_ACTION_LABELS, b as DUPLICATE_ACTION_LABELS, xe as DeleteAction, ie as DrawCircleIcon, Q as DrawLassoIcon, W as DrawPolygonIcon, H as DrawSquareIcon, i as DuplicateAction, m as EDIT_GEOMETRY_ACTION_LABELS, l as EDIT_PROPERTIES_ACTION_LABELS, h as EditGeometryAction, S as EditPropertiesAction, u as FILL_ACTION_LABELS, p as FillAction, A as GeolocationControls, ge as INTERSECT_ACTION_LABELS, pe as InteractionModeSection, x as IntersectAction, w as LABEL_ACTION_LABELS, E as LASSO_DRAW_COLOR_HEX, B as LASSO_TOOLS_LABELS, r as LOCK_ACTION_LABELS, c as LabelAction, re as LassoEditConfirmToolbarUI, V as LassoGeometryToolbarUI, U as LassoLayerFiltersUI, Z as LassoMessageUI, k as LassoSelectIcon, X as LassoToolbarButtonUI, R as LassoToolbarUI, de as LassoToolsInlineUI, ee as LassoToolsUI, K as LassoUndoRedoUI, oe as ListDataUI, C as LockAction, te as MeasurementToolsUI, le as REDO_ACTION_LABELS, F as RedoAction, $ as ResponsiveDrawer, z as RulerIcon, g as SPLIT_ACTION_LABELS, _ as STROKE_ACTION_LABELS, o as SUBTRACT_ACTION_LABELS, he as SelectToolIcon, we as SmartTooltip, be as SpatialMaskIcon, J as SplitAction, s as StrokeAction, a as SubtractAction, v as TOGGLE_TYPE_ACTION_LABELS, N as TextAaIcon, t as ToggleTypeAction, Ce as Tooltip, j as UNDO_ACTION_LABELS, n as UNION_ACTION_LABELS, ne as UndoAction, q as UnionAction, ve as UnionIcon, G as ZoomControlsUI, T as isLassoDrawColorPreset, D as normalizeHex, Se as setTooltipEnterDelay, O as useLassoGeometryToolbarAction, se as useLassoToolsUIArgs };
|