@carto/ps-react-ui 4.20.2 → 4.22.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-DKX98LlI.js → actions-DZGaL_uT.js} +2 -2
- package/dist/{actions-DKX98LlI.js.map → actions-DZGaL_uT.js.map} +1 -1
- package/dist/{actions-Dy9JVr7F.js → actions-iN1jwyxA.js} +363 -343
- package/dist/actions-iN1jwyxA.js.map +1 -0
- package/dist/{category-DHZscHaS.js → category-DZt6yiST.js} +3 -3
- package/dist/{category-DHZscHaS.js.map → category-DZt6yiST.js.map} +1 -1
- package/dist/{chart-config-BGt7wkK7.js → chart-config-BWxjodlt.js} +2 -2
- package/dist/chart-config-BWxjodlt.js.map +1 -0
- package/dist/chat.js.map +1 -1
- package/dist/{components-DDt4mOQn.js → components-DKjBezcJ.js} +73 -73
- package/dist/components-DKjBezcJ.js.map +1 -0
- package/dist/components.js +1 -1
- package/dist/{download-BT6qBamM.js → download-C7he8mSh.js} +2 -2
- package/dist/{download-BT6qBamM.js.map → download-C7he8mSh.js.map} +1 -1
- package/dist/{echart-DSz2Tu0z.js → echart-BnJYXH7H.js} +28 -29
- package/dist/echart-BnJYXH7H.js.map +1 -0
- package/dist/{formula-Bk9CBzm2.js → formula-BNuRXsmh.js} +2 -2
- package/dist/{formula-Bk9CBzm2.js.map → formula-BNuRXsmh.js.map} +1 -1
- package/dist/{formula-Dsru_p-g.js → formula-Cqj84ZGX.js} +2 -2
- package/dist/{formula-Dsru_p-g.js.map → formula-Cqj84ZGX.js.map} +1 -1
- package/dist/legend.js +2 -0
- package/dist/legend.js.map +1 -1
- package/dist/{markdown-DnSJMPjQ.js → markdown-CV_KP-at.js} +2 -2
- package/dist/{markdown-DnSJMPjQ.js.map → markdown-CV_KP-at.js.map} +1 -1
- package/dist/{spread-Dy8pshpN.js → spread-C8T12Nfh.js} +3 -3
- package/dist/{spread-Dy8pshpN.js.map → spread-C8T12Nfh.js.map} +1 -1
- package/dist/{table-BfTG6rrs.js → table-CNQijNNB.js} +2 -2
- package/dist/{table-BfTG6rrs.js.map → table-CNQijNNB.js.map} +1 -1
- package/dist/types/chat/bubbles/chat-agent-message-markdown.d.ts +1 -1
- package/dist/types/chat/bubbles/chat-agent-message.d.ts +1 -1
- package/dist/types/chat/bubbles/chat-error-message.d.ts +1 -1
- package/dist/types/chat/bubbles/chat-suggestion-button.d.ts +1 -1
- package/dist/types/chat/bubbles/chat-user-message.d.ts +1 -1
- package/dist/types/chat/bubbles/index.d.ts +5 -5
- package/dist/types/chat/bubbles/styles.d.ts +88 -0
- package/dist/types/chat/containers/chat-content.d.ts +1 -1
- package/dist/types/chat/containers/chat-footer.d.ts +1 -1
- package/dist/types/chat/containers/chat-header.d.ts +1 -1
- package/dist/types/chat/containers/chat-starter.d.ts +1 -1
- package/dist/types/chat/containers/index.d.ts +4 -4
- package/dist/types/chat/feedback/chat-actions-container.d.ts +3 -0
- package/dist/types/chat/feedback/chat-loader.d.ts +1 -1
- package/dist/types/chat/feedback/chat-rating-action.d.ts +1 -1
- package/dist/types/chat/feedback/chat-thinking.d.ts +1 -1
- package/dist/types/chat/feedback/chat-tool-code-area.d.ts +1 -1
- package/dist/types/chat/feedback/chat-tool-full-view-dialog.d.ts +1 -1
- package/dist/types/chat/feedback/chat-tool-group.d.ts +1 -1
- package/dist/types/chat/feedback/chat-tool-trace.d.ts +1 -1
- package/dist/types/chat/feedback/get-tool-label.d.ts +1 -1
- package/dist/types/chat/feedback/index.d.ts +8 -8
- package/dist/types/chat/feedback/styles.d.ts +212 -0
- package/dist/types/chat/index.d.ts +21 -21
- package/dist/types/components/basemaps/basemaps.d.ts +1 -1
- package/dist/types/components/basemaps/const.d.ts +1 -1
- package/dist/types/components/basemaps/group.d.ts +1 -1
- package/dist/types/components/basemaps/header.d.ts +1 -1
- package/dist/types/components/copy-button/copy-button.d.ts +1 -1
- package/dist/types/components/geolocation-controls/geolocation-controls.d.ts +1 -1
- package/dist/types/components/index.d.ts +26 -26
- package/dist/types/components/lasso-tool/chip.d.ts +1 -1
- package/dist/types/components/lasso-tool/const.d.ts +2 -2
- package/dist/types/components/lasso-tool/geometry-toolbar.d.ts +1 -1
- package/dist/types/components/lasso-tool/lasso-tool-inline.d.ts +1 -1
- package/dist/types/components/lasso-tool/lasso-tool.d.ts +1 -1
- package/dist/types/components/lasso-tool/layer-filters.d.ts +1 -1
- package/dist/types/components/lasso-tool/message.d.ts +1 -1
- package/dist/types/components/lasso-tool/types.d.ts +1 -1
- package/dist/types/components/list-data/list-data.d.ts +1 -1
- package/dist/types/components/measurement-tools/const.d.ts +2 -2
- package/dist/types/components/measurement-tools/measurement-tools.d.ts +1 -1
- package/dist/types/components/measurement-tools/types.d.ts +1 -1
- package/dist/types/components/responsive-drawer/responsive-drawer.d.ts +10 -3
- package/dist/types/components/types.d.ts +1 -1
- package/dist/types/components/zoom-controls/zoom-controls.d.ts +1 -1
- package/dist/types/hooks/index.d.ts +1 -1
- package/dist/types/legend/components/icons.d.ts +1 -1
- package/dist/types/legend/components/index.d.ts +26 -26
- package/dist/types/legend/components/legend-category/legend-category-ui.d.ts +1 -1
- package/dist/types/legend/components/legend-icon/legend-icon-ui.d.ts +1 -1
- package/dist/types/legend/components/legend-item/legend-item-ui.d.ts +2 -2
- package/dist/types/legend/components/legend-proportion/legend-proportion-ui.d.ts +2 -2
- package/dist/types/legend/components/legend-ramp/legend-ramp-ui.d.ts +2 -2
- package/dist/types/legend/components/legend-sortable/sortable-entity.d.ts +1 -1
- package/dist/types/legend/components/legend-swatch/legend-swatch.d.ts +1 -1
- package/dist/types/legend/components/legend-visibility-toggle/legend-visibility-toggle.d.ts +2 -2
- package/dist/types/legend/components/run-async-menu-action.d.ts +1 -1
- package/dist/types/legend/index.d.ts +41 -41
- package/dist/types/legend/provider/index.d.ts +6 -6
- package/dist/types/legend/provider/legend-config-context.d.ts +1 -1
- package/dist/types/legend/provider/legend-provider.d.ts +2 -2
- package/dist/types/legend/stores/index.d.ts +5 -5
- package/dist/types/legend/stores/legend-store-registry.d.ts +1 -1
- package/dist/types/legend/stores/selectors.d.ts +1 -1
- package/dist/types/widgets/actions/brush-toggle/brush-toggle.d.ts +1 -1
- package/dist/types/widgets/actions/brush-toggle/hit-test.d.ts +1 -1
- package/dist/types/widgets/actions/brush-toggle/types.d.ts +1 -1
- package/dist/types/widgets/actions/change-column/change-column.d.ts +1 -1
- package/dist/types/widgets/actions/change-column/sortable-column-item.d.ts +1 -1
- package/dist/types/widgets/actions/download/download.d.ts +1 -1
- package/dist/types/widgets/actions/download/exports.d.ts +1 -1
- package/dist/types/widgets/actions/download/types.d.ts +1 -1
- package/dist/types/widgets/actions/fullscreen/fullscreen.d.ts +1 -1
- package/dist/types/widgets/actions/fullscreen/types.d.ts +1 -1
- package/dist/types/widgets/actions/index.d.ts +20 -20
- package/dist/types/widgets/actions/lock-selection/lock-selection.d.ts +1 -1
- package/dist/types/widgets/actions/lock-selection/types.d.ts +1 -1
- package/dist/types/widgets/actions/relative-data/relative-data.d.ts +1 -1
- package/dist/types/widgets/actions/relative-data/types.d.ts +1 -1
- package/dist/types/widgets/actions/relative-data/utils.d.ts +1 -1
- package/dist/types/widgets/actions/searcher/searcher-toggle.d.ts +1 -1
- package/dist/types/widgets/actions/searcher/searcher.d.ts +1 -1
- package/dist/types/widgets/actions/searcher/types.d.ts +2 -2
- package/dist/types/widgets/actions/stack-toggle/stack-toggle.d.ts +1 -1
- 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 +1 -1
- package/dist/types/widgets/bar/config.d.ts +2 -2
- package/dist/types/widgets/bar/index.d.ts +3 -3
- package/dist/types/widgets/bar/types.d.ts +3 -3
- package/dist/types/widgets/category/category-ui.d.ts +1 -1
- package/dist/types/widgets/category/components/category-legend.d.ts +1 -1
- package/dist/types/widgets/category/components/category-row-multi.d.ts +1 -1
- package/dist/types/widgets/category/components/category-row-single.d.ts +1 -1
- package/dist/types/widgets/category/config.d.ts +3 -3
- package/dist/types/widgets/category/index.d.ts +14 -14
- package/dist/types/widgets/category/types.d.ts +3 -3
- package/dist/types/widgets/echart/echart-ui.d.ts +1 -1
- package/dist/types/widgets/echart/echart.d.ts +1 -1
- package/dist/types/widgets/echart/index.d.ts +5 -5
- package/dist/types/widgets/echart/options.d.ts +1 -1
- package/dist/types/widgets/echart/types.d.ts +1 -1
- package/dist/types/widgets/echart/utils.d.ts +1 -1
- package/dist/types/widgets/error/error.d.ts +1 -1
- package/dist/types/widgets/error/index.d.ts +2 -2
- package/dist/types/widgets/error/types.d.ts +1 -1
- package/dist/types/widgets/formula/components/item.d.ts +1 -1
- package/dist/types/widgets/formula/components/prefix.d.ts +1 -1
- package/dist/types/widgets/formula/components/row.d.ts +1 -1
- package/dist/types/widgets/formula/components/series.d.ts +1 -1
- package/dist/types/widgets/formula/components/suffix.d.ts +1 -1
- package/dist/types/widgets/formula/components/value.d.ts +1 -1
- package/dist/types/widgets/formula/config.d.ts +2 -2
- package/dist/types/widgets/formula/formula-ui.d.ts +1 -1
- 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/types.d.ts +3 -3
- package/dist/types/widgets/histogram/config.d.ts +3 -3
- package/dist/types/widgets/histogram/index.d.ts +4 -4
- package/dist/types/widgets/histogram/types.d.ts +3 -3
- package/dist/types/widgets/loader/index.d.ts +3 -3
- package/dist/types/widgets/loader/loader.d.ts +1 -1
- package/dist/types/widgets/loader/types.d.ts +1 -1
- package/dist/types/widgets/markdown/config.d.ts +2 -2
- package/dist/types/widgets/markdown/index.d.ts +5 -5
- package/dist/types/widgets/markdown/markdown-ui.d.ts +1 -1
- package/dist/types/widgets/markdown/markdown.d.ts +1 -1
- package/dist/types/widgets/markdown/types.d.ts +3 -3
- package/dist/types/widgets/no-data/index.d.ts +2 -2
- package/dist/types/widgets/no-data/no-data.d.ts +1 -1
- package/dist/types/widgets/no-data/types.d.ts +1 -1
- package/dist/types/widgets/note/index.d.ts +2 -2
- package/dist/types/widgets/note/note.d.ts +1 -1
- package/dist/types/widgets/note/types.d.ts +1 -1
- package/dist/types/widgets/pie/config.d.ts +2 -2
- package/dist/types/widgets/pie/index.d.ts +3 -3
- package/dist/types/widgets/pie/types.d.ts +3 -3
- package/dist/types/widgets/range/components/range-item.d.ts +1 -1
- package/dist/types/widgets/range/config.d.ts +1 -1
- package/dist/types/widgets/range/index.d.ts +6 -6
- package/dist/types/widgets/range/range-ui.d.ts +1 -1
- package/dist/types/widgets/range/serializer.d.ts +1 -1
- package/dist/types/widgets/range/types.d.ts +3 -3
- package/dist/types/widgets/scatterplot/config.d.ts +2 -2
- package/dist/types/widgets/scatterplot/index.d.ts +3 -3
- 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 +1 -1
- package/dist/types/widgets/skeleton-loader/index.d.ts +2 -2
- package/dist/types/widgets/skeleton-loader/skeleton-loader.d.ts +1 -1
- package/dist/types/widgets/skeleton-loader/types.d.ts +1 -1
- package/dist/types/widgets/spread/components/max-value.d.ts +1 -1
- package/dist/types/widgets/spread/components/min-value.d.ts +1 -1
- package/dist/types/widgets/spread/components/separator.d.ts +1 -1
- package/dist/types/widgets/spread/config.d.ts +3 -3
- package/dist/types/widgets/spread/index.d.ts +9 -9
- package/dist/types/widgets/spread/spread-ui.d.ts +1 -1
- package/dist/types/widgets/spread/types.d.ts +4 -4
- package/dist/types/widgets/stores/index.d.ts +3 -3
- package/dist/types/widgets/stores/use-widget-selector.d.ts +1 -1
- package/dist/types/widgets/stores/widget-store.d.ts +2 -2
- package/dist/types/widgets/subheader/index.d.ts +2 -2
- package/dist/types/widgets/subheader/subheader.d.ts +1 -1
- package/dist/types/widgets/table/components/cell-header.d.ts +1 -1
- package/dist/types/widgets/table/components/cell.d.ts +1 -1
- package/dist/types/widgets/table/components/pagination-actions.d.ts +1 -1
- package/dist/types/widgets/table/components/pagination.d.ts +1 -1
- package/dist/types/widgets/table/components/row.d.ts +1 -1
- package/dist/types/widgets/table/config.d.ts +2 -2
- package/dist/types/widgets/table/hooks/use-pagination.d.ts +1 -1
- package/dist/types/widgets/table/hooks/use-selection.d.ts +1 -1
- package/dist/types/widgets/table/hooks/use-sort.d.ts +1 -1
- package/dist/types/widgets/table/index.d.ts +17 -17
- package/dist/types/widgets/table/serializer.d.ts +1 -1
- package/dist/types/widgets/table/table-ui.d.ts +8 -8
- package/dist/types/widgets/table/types.d.ts +3 -3
- package/dist/types/widgets/timeseries/config.d.ts +2 -2
- package/dist/types/widgets/timeseries/index.d.ts +3 -3
- 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 +1 -1
- package/dist/types/widgets/utils/chart-config/config-factory.d.ts +1 -1
- package/dist/types/widgets/utils/chart-config/download-config.d.ts +2 -2
- package/dist/types/widgets/utils/chart-config/index.d.ts +6 -6
- package/dist/types/widgets/utils/chart-config/option-builders.d.ts +142 -0
- package/dist/types/widgets/utils/index.d.ts +7 -7
- package/dist/types/widgets/utils/skeleton/index.d.ts +1 -1
- package/dist/types/widgets/wrapper/components/actions.d.ts +1 -1
- package/dist/types/widgets/wrapper/components/options.d.ts +1 -1
- package/dist/types/widgets/wrapper/components/title.d.ts +1 -1
- 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 +1 -1
- package/dist/types/widgets/wrapper/wrapper.d.ts +1 -1
- package/dist/types/widgets-v2/actions/brush-toggle/brush-toggle.d.ts +1 -1
- package/dist/types/widgets-v2/actions/brush-toggle/index.d.ts +3 -3
- package/dist/types/widgets-v2/actions/change-column/change-column.d.ts +1 -1
- package/dist/types/widgets-v2/actions/change-column/index.d.ts +3 -3
- package/dist/types/widgets-v2/actions/change-column/types.d.ts +1 -1
- package/dist/types/widgets-v2/actions/download/csv-item.d.ts +1 -1
- package/dist/types/widgets-v2/actions/download/download.d.ts +2 -2
- package/dist/types/widgets-v2/actions/download/index.d.ts +8 -8
- package/dist/types/widgets-v2/actions/download/png-item.d.ts +1 -1
- package/dist/types/widgets-v2/actions/fullscreen/fullscreen.d.ts +23 -4
- package/dist/types/widgets-v2/actions/fullscreen/index.d.ts +3 -3
- package/dist/types/widgets-v2/actions/fullscreen/style.d.ts +9 -0
- package/dist/types/widgets-v2/actions/fullscreen/types.d.ts +1 -1
- package/dist/types/widgets-v2/actions/index.d.ts +10 -10
- package/dist/types/widgets-v2/actions/lock-selection/index.d.ts +3 -3
- package/dist/types/widgets-v2/actions/lock-selection/lock-selection.d.ts +1 -1
- package/dist/types/widgets-v2/actions/relative-data/index.d.ts +3 -3
- package/dist/types/widgets-v2/actions/relative-data/relative-data.d.ts +1 -1
- package/dist/types/widgets-v2/actions/searcher/index.d.ts +4 -4
- package/dist/types/widgets-v2/actions/searcher/searcher-toggle.d.ts +1 -1
- package/dist/types/widgets-v2/actions/searcher/searcher.d.ts +1 -1
- package/dist/types/widgets-v2/actions/show-all/index.d.ts +2 -2
- package/dist/types/widgets-v2/actions/show-all/show-all.d.ts +1 -1
- package/dist/types/widgets-v2/actions/stack-toggle/index.d.ts +3 -3
- package/dist/types/widgets-v2/actions/stack-toggle/stack-toggle.d.ts +1 -1
- package/dist/types/widgets-v2/actions/zoom-toggle/index.d.ts +3 -3
- package/dist/types/widgets-v2/actions/zoom-toggle/zoom-toggle.d.ts +2 -2
- package/dist/types/widgets-v2/bar/download.d.ts +2 -2
- package/dist/types/widgets-v2/bar/index.d.ts +4 -4
- package/dist/types/widgets-v2/bar/options.d.ts +2 -2
- package/dist/types/widgets-v2/bar/types.d.ts +1 -1
- package/dist/types/widgets-v2/category/category-ui.d.ts +1 -1
- package/dist/types/widgets-v2/category/category.d.ts +1 -1
- package/dist/types/widgets-v2/category/components/category-bar-stacked.d.ts +1 -1
- package/dist/types/widgets-v2/category/components/category-bar.d.ts +1 -1
- package/dist/types/widgets-v2/category/components/category-legend.d.ts +1 -1
- package/dist/types/widgets-v2/category/components/category-row-multi.d.ts +1 -1
- package/dist/types/widgets-v2/category/components/category-row-single.d.ts +1 -1
- package/dist/types/widgets-v2/category/components/category-row-stacked.d.ts +1 -1
- package/dist/types/widgets-v2/category/download.d.ts +2 -2
- package/dist/types/widgets-v2/category/index.d.ts +10 -10
- package/dist/types/widgets-v2/category/skeleton.d.ts +1 -1
- package/dist/types/widgets-v2/category/style.d.ts +1 -1
- package/dist/types/widgets-v2/category/types.d.ts +1 -1
- package/dist/types/widgets-v2/echart/echart-ui.d.ts +2 -2
- package/dist/types/widgets-v2/echart/echart.d.ts +10 -2
- package/dist/types/widgets-v2/echart/index.d.ts +4 -4
- package/dist/types/widgets-v2/echart/style.d.ts +1 -0
- package/dist/types/widgets-v2/echart/use-chart-selection.d.ts +1 -1
- package/dist/types/widgets-v2/formula/delta.d.ts +1 -1
- package/dist/types/widgets-v2/formula/download.d.ts +2 -2
- package/dist/types/widgets-v2/formula/formula-ui.d.ts +1 -1
- package/dist/types/widgets-v2/formula/index.d.ts +11 -11
- package/dist/types/widgets-v2/formula/types.d.ts +1 -1
- package/dist/types/widgets-v2/histogram/download.d.ts +2 -2
- package/dist/types/widgets-v2/histogram/index.d.ts +5 -5
- package/dist/types/widgets-v2/histogram/options.d.ts +3 -3
- package/dist/types/widgets-v2/histogram/types.d.ts +1 -1
- package/dist/types/widgets-v2/index.d.ts +45 -45
- package/dist/types/widgets-v2/markdown/download.d.ts +2 -2
- package/dist/types/widgets-v2/markdown/index.d.ts +6 -6
- package/dist/types/widgets-v2/note/widget-note.d.ts +1 -1
- package/dist/types/widgets-v2/pie/download.d.ts +2 -2
- package/dist/types/widgets-v2/pie/index.d.ts +4 -4
- package/dist/types/widgets-v2/pie/options.d.ts +2 -2
- package/dist/types/widgets-v2/pie/types.d.ts +1 -1
- package/dist/types/widgets-v2/range/index.d.ts +4 -4
- package/dist/types/widgets-v2/range/range-ui.d.ts +1 -1
- package/dist/types/widgets-v2/range/range.d.ts +1 -1
- package/dist/types/widgets-v2/scatterplot/download.d.ts +2 -2
- package/dist/types/widgets-v2/scatterplot/index.d.ts +5 -5
- package/dist/types/widgets-v2/scatterplot/options.d.ts +2 -2
- package/dist/types/widgets-v2/scatterplot/types.d.ts +1 -1
- package/dist/types/widgets-v2/selection-summary/selection-summary.d.ts +1 -1
- package/dist/types/widgets-v2/spread/download.d.ts +2 -2
- package/dist/types/widgets-v2/spread/index.d.ts +7 -7
- package/dist/types/widgets-v2/spread/spread-ui.d.ts +1 -1
- package/dist/types/widgets-v2/spread/types.d.ts +1 -1
- package/dist/types/widgets-v2/state/widget-state.d.ts +1 -1
- package/dist/types/widgets-v2/stores/index.d.ts +8 -8
- package/dist/types/widgets-v2/stores/pipeline-middleware.d.ts +1 -1
- package/dist/types/widgets-v2/stores/transforms.d.ts +1 -1
- package/dist/types/widgets-v2/stores/use-transform.d.ts +1 -1
- package/dist/types/widgets-v2/stores/widget-store-registry.d.ts +1 -1
- package/dist/types/widgets-v2/table/download.d.ts +2 -2
- package/dist/types/widgets-v2/table/helpers.d.ts +1 -1
- package/dist/types/widgets-v2/table/index.d.ts +8 -8
- package/dist/types/widgets-v2/table/table-ui.d.ts +2 -2
- package/dist/types/widgets-v2/table/table.d.ts +2 -2
- package/dist/types/widgets-v2/table/types.d.ts +1 -1
- package/dist/types/widgets-v2/timeseries/download.d.ts +2 -2
- package/dist/types/widgets-v2/timeseries/index.d.ts +5 -5
- package/dist/types/widgets-v2/timeseries/options.d.ts +4 -4
- package/dist/types/widgets-v2/timeseries/types.d.ts +1 -1
- package/dist/types/widgets-v2/toolbox/toolbox.d.ts +1 -1
- package/dist/types/widgets-v2/utils/index.d.ts +3 -3
- package/dist/types/widgets-v2/wrapper/index.d.ts +4 -4
- package/dist/types/widgets-v2/wrapper/widget-wrapper.d.ts +1 -1
- package/dist/{utils-DtvTjjMq.js → utils-ClB6nn4w.js} +2 -2
- package/dist/{utils-DtvTjjMq.js.map → utils-ClB6nn4w.js.map} +1 -1
- package/dist/widgets/actions.js +1 -1
- package/dist/widgets/bar.js +1 -1
- package/dist/widgets/category.js +1 -1
- package/dist/widgets/formula.js +1 -1
- package/dist/widgets/histogram.js +2 -2
- package/dist/widgets/markdown.js +1 -1
- package/dist/widgets/pie.js +1 -1
- package/dist/widgets/scatterplot.js +1 -1
- package/dist/widgets/spread.js +2 -2
- package/dist/widgets/table.js +1 -1
- package/dist/widgets/timeseries.js +1 -1
- package/dist/widgets/utils.js +1 -1
- package/dist/widgets/wrapper.js +1 -1
- package/dist/widgets-v2/actions.js +3 -3
- package/dist/widgets-v2/bar.js +4 -4
- package/dist/widgets-v2/category.js +1 -1
- package/dist/widgets-v2/echart.js +1 -1
- package/dist/widgets-v2/formula.js +1 -1
- package/dist/widgets-v2/histogram.js +4 -4
- package/dist/widgets-v2/markdown.js +1 -1
- package/dist/widgets-v2/pie.js +3 -4
- package/dist/widgets-v2/pie.js.map +1 -1
- package/dist/widgets-v2/scatterplot.js +4 -4
- package/dist/widgets-v2/spread.js +1 -1
- package/dist/widgets-v2/table.js +1 -1
- package/dist/widgets-v2/timeseries.js +4 -4
- package/dist/widgets-v2/utils.js +1 -1
- package/dist/widgets-v2.js +10 -10
- package/dist/{zoom-toggle-CA0ifG23.js → zoom-toggle-KA63b6-J.js} +2 -2
- package/dist/{zoom-toggle-CA0ifG23.js.map → zoom-toggle-KA63b6-J.js.map} +1 -1
- package/package.json +5 -4
- package/src/chat/bubbles/styles.ts +27 -8
- package/src/chat/feedback/chat-actions-container.tsx +5 -2
- package/src/chat/feedback/styles.ts +8 -5
- package/src/components/basemaps/basemaps.tsx +4 -4
- package/src/components/responsive-drawer/responsive-drawer.test.tsx +37 -23
- package/src/components/responsive-drawer/responsive-drawer.tsx +15 -8
- package/src/legend/components/legend-row/legend-row.test.tsx +19 -0
- package/src/legend/components/legend-row/legend-row.tsx +15 -2
- package/src/widgets/utils/chart-config/option-builders.ts +5 -1
- package/src/widgets-v2/actions/fullscreen/fullscreen.test.tsx +62 -0
- package/src/widgets-v2/actions/fullscreen/fullscreen.tsx +85 -14
- package/src/widgets-v2/actions/fullscreen/style.ts +31 -4
- package/src/widgets-v2/echart/echart-ui.test.tsx +6 -3
- package/src/widgets-v2/echart/echart-ui.tsx +6 -2
- package/src/widgets-v2/echart/echart.test.tsx +1 -1
- package/src/widgets-v2/echart/echart.tsx +10 -0
- package/src/widgets-v2/echart/style.ts +10 -1
- package/src/widgets-v2/pie/options.test.ts +8 -0
- package/src/widgets-v2/pie/options.ts +3 -8
- package/dist/actions-Dy9JVr7F.js.map +0 -1
- package/dist/chart-config-BGt7wkK7.js.map +0 -1
- package/dist/components-DDt4mOQn.js.map +0 -1
- package/dist/echart-DSz2Tu0z.js.map +0 -1
- package/dist/types/legend/stores/legend-store.test.d.ts +0 -1
- package/dist/types/widgets/actions/brush-toggle/hit-test.test.d.ts +0 -1
- package/dist/types/widgets/actions/relative-data/utils.test.d.ts +0 -1
- package/dist/types/widgets/echart/utils.test.d.ts +0 -1
- package/dist/types/widgets/formula/config.test.d.ts +0 -1
- package/dist/types/widgets/loader/utils.test.d.ts +0 -1
- package/dist/types/widgets/range/serializer.test.d.ts +0 -1
- package/dist/types/widgets/stores/widget-store-branches.test.d.ts +0 -1
- package/dist/types/widgets/stores/widget-store-performance.test.d.ts +0 -1
- package/dist/types/widgets/stores/widget-store.test.d.ts +0 -1
- package/dist/types/widgets/table/config.test.d.ts +0 -1
- package/dist/types/widgets/table/helpers.test.d.ts +0 -1
- 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/types/widgets/utils/chart-config/option-builders.test.d.ts +0 -1
- package/dist/types/widgets-v2/actions/brush-toggle/transforms.test.d.ts +0 -1
- package/dist/types/widgets-v2/actions/relative-data/transforms.test.d.ts +0 -1
- package/dist/types/widgets-v2/actions/stack-toggle/transforms.test.d.ts +0 -1
- package/dist/types/widgets-v2/actions/zoom-toggle/transforms.test.d.ts +0 -1
- package/dist/types/widgets-v2/bar/options.test.d.ts +0 -1
- package/dist/types/widgets-v2/category/download.test.d.ts +0 -1
- package/dist/types/widgets-v2/echart/edge-label-clamp.test.d.ts +0 -1
- package/dist/types/widgets-v2/echart/shared-resize-observer.test.d.ts +0 -1
- package/dist/types/widgets-v2/histogram/download.test.d.ts +0 -1
- package/dist/types/widgets-v2/histogram/options.test.d.ts +0 -1
- package/dist/types/widgets-v2/histogram/transforms.test.d.ts +0 -1
- package/dist/types/widgets-v2/markdown/download.test.d.ts +0 -1
- package/dist/types/widgets-v2/pie/download.test.d.ts +0 -1
- package/dist/types/widgets-v2/pie/options.test.d.ts +0 -1
- package/dist/types/widgets-v2/scatterplot/download.test.d.ts +0 -1
- package/dist/types/widgets-v2/scatterplot/options.test.d.ts +0 -1
- package/dist/types/widgets-v2/scatterplot/transforms.test.d.ts +0 -1
- package/dist/types/widgets-v2/spread/band.test.d.ts +0 -1
- package/dist/types/widgets-v2/spread/download.test.d.ts +0 -1
- package/dist/types/widgets-v2/state/labels.test.d.ts +0 -1
- package/dist/types/widgets-v2/stores/pipeline-middleware.test.d.ts +0 -1
- package/dist/types/widgets-v2/stores/transforms.test.d.ts +0 -1
- package/dist/types/widgets-v2/stores/widget-store-registry.test.d.ts +0 -1
- package/dist/types/widgets-v2/table/download.test.d.ts +0 -1
- package/dist/types/widgets-v2/table/helpers.test.d.ts +0 -1
- package/dist/types/widgets-v2/table/transforms.test.d.ts +0 -1
- package/dist/types/widgets-v2/test-utils.d.ts +0 -52
- package/dist/types/widgets-v2/timeseries/download.test.d.ts +0 -1
- package/dist/types/widgets-v2/timeseries/options.test.d.ts +0 -1
- package/dist/types/widgets-v2/timeseries/transforms.test.d.ts +0 -1
- package/dist/types/widgets-v2/utils/merge-options.test.d.ts +0 -1
- package/dist/types/widgets-v2/utils/resolve-theme-color.test.d.ts +0 -1
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { Provider } from './provider/widget-provider';
|
|
2
|
-
import { Wrapper, Actions, Options, Content, Footer, DEFAULT_WRAPPER_LABELS } from './wrapper';
|
|
3
|
-
import { Subheader } from './subheader/subheader';
|
|
4
|
-
import { State } from './state/widget-state';
|
|
5
|
-
import { DEFAULT_STATE_LABELS } from './state/labels';
|
|
6
|
-
import { SelectionSummary } from './selection-summary/selection-summary';
|
|
7
|
-
import { DEFAULT_SELECTION_SUMMARY_LABELS } from './selection-summary/labels';
|
|
8
|
-
import { Toolbox } from './toolbox/toolbox';
|
|
9
|
-
import { DEFAULT_TOOLBOX_LABELS } from './toolbox/labels';
|
|
10
|
-
import { Echart, EchartUI, DEFAULT_INIT_OPTS } from './echart';
|
|
11
|
-
import { DEFAULT_NOTE_LABELS } from './note/labels';
|
|
12
|
-
import { Searcher, SearcherToggle, StackToggle, ShowAllToggle, ZoomToggle, BrushToggle, RelativeData, Download, LockSelection, ChangeColumn } from './actions';
|
|
13
|
-
import { Formula, FormulaUI } from './formula';
|
|
14
|
-
import { Markdown, MarkdownUI } from './markdown';
|
|
15
|
-
import { Spread, SpreadUI } from './spread';
|
|
16
|
-
import { Range, RangeUI } from './range';
|
|
17
|
-
import { Category, CategoryUI } from './category';
|
|
18
|
-
import { Table, TableUI } from './table';
|
|
1
|
+
import { Provider } from './provider/widget-provider.js';
|
|
2
|
+
import { Wrapper, Actions, Options, Content, Footer, DEFAULT_WRAPPER_LABELS } from './wrapper/index.js';
|
|
3
|
+
import { Subheader } from './subheader/subheader.js';
|
|
4
|
+
import { State } from './state/widget-state.js';
|
|
5
|
+
import { DEFAULT_STATE_LABELS } from './state/labels.js';
|
|
6
|
+
import { SelectionSummary } from './selection-summary/selection-summary.js';
|
|
7
|
+
import { DEFAULT_SELECTION_SUMMARY_LABELS } from './selection-summary/labels.js';
|
|
8
|
+
import { Toolbox } from './toolbox/toolbox.js';
|
|
9
|
+
import { DEFAULT_TOOLBOX_LABELS } from './toolbox/labels.js';
|
|
10
|
+
import { Echart, EchartUI, DEFAULT_INIT_OPTS } from './echart/index.js';
|
|
11
|
+
import { DEFAULT_NOTE_LABELS } from './note/labels.js';
|
|
12
|
+
import { Searcher, SearcherToggle, StackToggle, ShowAllToggle, ZoomToggle, BrushToggle, RelativeData, Download, LockSelection, ChangeColumn } from './actions/index.js';
|
|
13
|
+
import { Formula, FormulaUI } from './formula/index.js';
|
|
14
|
+
import { Markdown, MarkdownUI } from './markdown/index.js';
|
|
15
|
+
import { Spread, SpreadUI } from './spread/index.js';
|
|
16
|
+
import { Range, RangeUI } from './range/index.js';
|
|
17
|
+
import { Category, CategoryUI } from './category/index.js';
|
|
18
|
+
import { Table, TableUI } from './table/index.js';
|
|
19
19
|
/**
|
|
20
20
|
* Curated namespace export — the only way to reach v2 widget components.
|
|
21
21
|
* Consumers import the const and access components via property access:
|
|
@@ -51,8 +51,8 @@ export declare const Widget: {
|
|
|
51
51
|
readonly State: typeof State;
|
|
52
52
|
readonly SelectionSummary: typeof SelectionSummary;
|
|
53
53
|
readonly Toolbox: typeof Toolbox;
|
|
54
|
-
readonly Note: (({ lineClamp, labels, children }: import('.').NoteProps) => import("react").JSX.Element) & {
|
|
55
|
-
Markdown: ({ content, lineClamp, labels }: import('.').NoteMarkdownProps) => import("react").JSX.Element;
|
|
54
|
+
readonly Note: (({ lineClamp, labels, children }: import('./index.js').NoteProps) => import("react").JSX.Element) & {
|
|
55
|
+
Markdown: ({ content, lineClamp, labels }: import('./index.js').NoteMarkdownProps) => import("react").JSX.Element;
|
|
56
56
|
};
|
|
57
57
|
readonly Echart: typeof Echart;
|
|
58
58
|
readonly EchartUI: typeof EchartUI;
|
|
@@ -65,8 +65,8 @@ export declare const Widget: {
|
|
|
65
65
|
readonly RelativeData: typeof RelativeData;
|
|
66
66
|
readonly Download: typeof Download;
|
|
67
67
|
readonly FullScreen: {
|
|
68
|
-
Trigger: ({ labels, enterIcon: EnterIcon, exitIcon: ExitIcon, iconProps, }: import('./actions').FullScreenTriggerProps) => import("react").JSX.Element;
|
|
69
|
-
Slot: ({ children, title, labels, closeIcon: CloseSvg, iconProps, }: import('./actions').FullScreenSlotProps) => import("react").JSX.Element;
|
|
68
|
+
Trigger: ({ labels, enterIcon: EnterIcon, exitIcon: ExitIcon, iconProps, }: import('./actions/index.js').FullScreenTriggerProps) => import("react").JSX.Element;
|
|
69
|
+
Slot: ({ children, title, actions, paperSx, labels, closeIcon: CloseSvg, iconProps, }: import('./actions/index.js').FullScreenSlotProps) => import("react").JSX.Element;
|
|
70
70
|
};
|
|
71
71
|
readonly LockSelection: typeof LockSelection;
|
|
72
72
|
readonly ChangeColumn: typeof ChangeColumn;
|
|
@@ -84,26 +84,26 @@ export declare const Widget: {
|
|
|
84
84
|
readonly TableUI: typeof TableUI;
|
|
85
85
|
};
|
|
86
86
|
export { DEFAULT_WRAPPER_LABELS, DEFAULT_STATE_LABELS, DEFAULT_SELECTION_SUMMARY_LABELS, DEFAULT_TOOLBOX_LABELS, DEFAULT_NOTE_LABELS, DEFAULT_INIT_OPTS, };
|
|
87
|
-
export type { ProviderProps } from './provider/widget-provider';
|
|
88
|
-
export type { WrapperProps, ActionsProps, OptionsProps, ContentProps, FooterProps, WrapperLabels, } from './wrapper';
|
|
89
|
-
export type { SubheaderProps } from './subheader/subheader';
|
|
90
|
-
export type { StateProps } from './state/widget-state';
|
|
91
|
-
export type { StateLabels } from './state/labels';
|
|
92
|
-
export type { SelectionSummaryProps } from './selection-summary/selection-summary';
|
|
93
|
-
export type { SelectionSummaryLabels } from './selection-summary/labels';
|
|
94
|
-
export type { ToolboxProps } from './toolbox/toolbox';
|
|
95
|
-
export type { ToolboxLabels } from './toolbox/labels';
|
|
96
|
-
export type { EchartProps, EchartUIProps, EchartsEventHandler } from './echart';
|
|
97
|
-
export type { NoteProps, NoteMarkdownProps } from './note/widget-note';
|
|
98
|
-
export type { NoteLabels } from './note/labels';
|
|
99
|
-
export type { SearcherProps, SearcherToggleProps, StackToggleProps, ShowAllToggleProps, ZoomToggleProps, BrushToggleProps, RelativeDataProps, DownloadProps, DownloadItem, FullScreenTriggerProps, FullScreenSlotProps, LockSelectionProps, LockSelectionKey, ChangeColumnProps, ChangeColumnItem, } from './actions';
|
|
100
|
-
export type { FormulaUIProps, FormulaDataItem, FormulaWidgetData, } from './formula';
|
|
101
|
-
export type { MarkdownUIProps, MarkdownWidgetData } from './markdown';
|
|
102
|
-
export type { PieDatum, PieWidgetData } from './pie';
|
|
103
|
-
export type { TimeseriesDatum, TimeseriesWidgetData } from './timeseries';
|
|
104
|
-
export type { ScatterplotDatum, ScatterplotWidgetData } from './scatterplot';
|
|
105
|
-
export type { SpreadUIProps, SpreadDataItem, SpreadWidgetData, SpreadVariant, } from './spread';
|
|
106
|
-
export type { RangeProps, RangeUIProps, RangeDataItem, RangeWidgetData, RangeItemValue, } from './range';
|
|
107
|
-
export type { CategoryProps, CategoryUIProps, CategoryDataItem, CategoryWidgetData, CategoryKey, CategorySeriesConfig, CategoryLabels, } from './category';
|
|
108
|
-
export type { TableProps, TableUIProps, TableColumn, TableRow, TableWidgetData, TableWidgetState, TableSortDirection, TableSortState, } from './table';
|
|
109
|
-
export type { WidgetSeries } from './types';
|
|
87
|
+
export type { ProviderProps } from './provider/widget-provider.js';
|
|
88
|
+
export type { WrapperProps, ActionsProps, OptionsProps, ContentProps, FooterProps, WrapperLabels, } from './wrapper/index.js';
|
|
89
|
+
export type { SubheaderProps } from './subheader/subheader.js';
|
|
90
|
+
export type { StateProps } from './state/widget-state.js';
|
|
91
|
+
export type { StateLabels } from './state/labels.js';
|
|
92
|
+
export type { SelectionSummaryProps } from './selection-summary/selection-summary.js';
|
|
93
|
+
export type { SelectionSummaryLabels } from './selection-summary/labels.js';
|
|
94
|
+
export type { ToolboxProps } from './toolbox/toolbox.js';
|
|
95
|
+
export type { ToolboxLabels } from './toolbox/labels.js';
|
|
96
|
+
export type { EchartProps, EchartUIProps, EchartsEventHandler } from './echart/index.js';
|
|
97
|
+
export type { NoteProps, NoteMarkdownProps } from './note/widget-note.js';
|
|
98
|
+
export type { NoteLabels } from './note/labels.js';
|
|
99
|
+
export type { SearcherProps, SearcherToggleProps, StackToggleProps, ShowAllToggleProps, ZoomToggleProps, BrushToggleProps, RelativeDataProps, DownloadProps, DownloadItem, FullScreenTriggerProps, FullScreenSlotProps, LockSelectionProps, LockSelectionKey, ChangeColumnProps, ChangeColumnItem, } from './actions/index.js';
|
|
100
|
+
export type { FormulaUIProps, FormulaDataItem, FormulaWidgetData, } from './formula/index.js';
|
|
101
|
+
export type { MarkdownUIProps, MarkdownWidgetData } from './markdown/index.js';
|
|
102
|
+
export type { PieDatum, PieWidgetData } from './pie/index.js';
|
|
103
|
+
export type { TimeseriesDatum, TimeseriesWidgetData } from './timeseries/index.js';
|
|
104
|
+
export type { ScatterplotDatum, ScatterplotWidgetData } from './scatterplot/index.js';
|
|
105
|
+
export type { SpreadUIProps, SpreadDataItem, SpreadWidgetData, SpreadVariant, } from './spread/index.js';
|
|
106
|
+
export type { RangeProps, RangeUIProps, RangeDataItem, RangeWidgetData, RangeItemValue, } from './range/index.js';
|
|
107
|
+
export type { CategoryProps, CategoryUIProps, CategoryDataItem, CategoryWidgetData, CategoryKey, CategorySeriesConfig, CategoryLabels, } from './category/index.js';
|
|
108
|
+
export type { TableProps, TableUIProps, TableColumn, TableRow, TableWidgetData, TableWidgetState, TableSortDirection, TableSortState, } from './table/index.js';
|
|
109
|
+
export type { WidgetSeries } from './types.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { toCsvString, triggerLinkDownload, DownloadItem } from '../actions/download';
|
|
2
|
-
import { MarkdownWidgetData } from './types';
|
|
1
|
+
import { toCsvString, triggerLinkDownload, DownloadItem } from '../actions/download/index.js';
|
|
2
|
+
import { MarkdownWidgetData } from './types.js';
|
|
3
3
|
/**
|
|
4
4
|
* Download menu items for the Markdown widget. Always includes a `.md`
|
|
5
5
|
* item that saves the markdown source verbatim. When `getCaptureEl` is
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { Markdown } from './markdown';
|
|
2
|
-
export { MarkdownUI, type MarkdownUIProps } from './markdown-ui';
|
|
3
|
-
export { MarkdownContent, type MarkdownContentProps } from './markdown-content';
|
|
4
|
-
export { MarkdownSkeleton, type MarkdownSkeletonProps } from './skeleton';
|
|
5
|
-
export { createMarkdownDownloadConfig } from './download';
|
|
6
|
-
export type { MarkdownWidgetData } from './types';
|
|
1
|
+
export { Markdown } from './markdown.js';
|
|
2
|
+
export { MarkdownUI, type MarkdownUIProps } from './markdown-ui.js';
|
|
3
|
+
export { MarkdownContent, type MarkdownContentProps } from './markdown-content.js';
|
|
4
|
+
export { MarkdownSkeleton, type MarkdownSkeletonProps } from './skeleton.js';
|
|
5
|
+
export { createMarkdownDownloadConfig } from './download.js';
|
|
6
|
+
export type { MarkdownWidgetData } from './types.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DownloadItem } from '../actions/download';
|
|
2
|
-
import { PieWidgetData } from './types';
|
|
1
|
+
import { DownloadItem } from '../actions/download/index.js';
|
|
2
|
+
import { PieWidgetData } from './types.js';
|
|
3
3
|
/**
|
|
4
4
|
* Download menu items for the Pie widget. Always includes a CSV item with
|
|
5
5
|
* `series, name, value` columns (one row per slice; series labels come from
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { pieOptions, createPieOptionFactory } from './options';
|
|
2
|
-
export { PieSkeleton, type PieSkeletonProps } from './skeleton';
|
|
3
|
-
export { createPieDownloadConfig } from './download';
|
|
4
|
-
export type { PieDatum, PieWidgetData, PieOptionsInput, PieOptionFactoryInput, PieEChartsOption, } from './types';
|
|
1
|
+
export { pieOptions, createPieOptionFactory } from './options.js';
|
|
2
|
+
export { PieSkeleton, type PieSkeletonProps } from './skeleton.js';
|
|
3
|
+
export { createPieDownloadConfig } from './download.js';
|
|
4
|
+
export type { PieDatum, PieWidgetData, PieOptionsInput, PieOptionFactoryInput, PieEChartsOption, } from './types.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { OptionFactory } from '../echart';
|
|
2
|
-
import { PieEChartsOption, PieOptionFactoryInput, PieOptionsInput } from './types';
|
|
1
|
+
import { OptionFactory } from '../echart/index.js';
|
|
2
|
+
import { PieEChartsOption, PieOptionFactoryInput, PieOptionsInput } from './types.js';
|
|
3
3
|
/**
|
|
4
4
|
* Builds the **structural** ECharts option for a pie / donut widget.
|
|
5
5
|
* Mirrors v1's pie look-and-feel: themed legend (`buildLegendConfig`),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Range, type RangeProps } from './range';
|
|
2
|
-
export { RangeUI, type RangeUIProps } from './range-ui';
|
|
3
|
-
export { RangeSkeleton, type RangeSkeletonProps } from './skeleton';
|
|
4
|
-
export type { RangeDataItem, RangeWidgetData, RangeItemValue } from './types';
|
|
1
|
+
export { Range, type RangeProps } from './range.js';
|
|
2
|
+
export { RangeUI, type RangeUIProps } from './range-ui.js';
|
|
3
|
+
export { RangeSkeleton, type RangeSkeletonProps } from './skeleton.js';
|
|
4
|
+
export type { RangeDataItem, RangeWidgetData, RangeItemValue } from './types.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DownloadItem } from '../actions/download';
|
|
2
|
-
import { ScatterplotWidgetData } from './types';
|
|
1
|
+
import { DownloadItem } from '../actions/download/index.js';
|
|
2
|
+
import { ScatterplotWidgetData } from './types.js';
|
|
3
3
|
/**
|
|
4
4
|
* Download menu items for the Scatterplot widget. Always includes a CSV
|
|
5
5
|
* item with `series, x, y` columns (one row per point). When
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { scatterplotOptions, createScatterplotOptionFactory } from './options';
|
|
2
|
-
export { ScatterplotSkeleton, type ScatterplotSkeletonProps } from './skeleton';
|
|
3
|
-
export { createScatterplotDownloadConfig } from './download';
|
|
4
|
-
export { toRelativeScatterplotData, filterScatterplotByLockedPoints, } from './transforms';
|
|
5
|
-
export type { ScatterplotDatum, ScatterplotWidgetData, ScatterplotOptionsInput, ScatterplotOptionFactoryInput, ScatterplotEChartsOption, } from './types';
|
|
1
|
+
export { scatterplotOptions, createScatterplotOptionFactory } from './options.js';
|
|
2
|
+
export { ScatterplotSkeleton, type ScatterplotSkeletonProps } from './skeleton.js';
|
|
3
|
+
export { createScatterplotDownloadConfig } from './download.js';
|
|
4
|
+
export { toRelativeScatterplotData, filterScatterplotByLockedPoints, } from './transforms.js';
|
|
5
|
+
export type { ScatterplotDatum, ScatterplotWidgetData, ScatterplotOptionsInput, ScatterplotOptionFactoryInput, ScatterplotEChartsOption, } from './types.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { OptionFactory } from '../echart';
|
|
2
|
-
import { ScatterplotEChartsOption, ScatterplotOptionFactoryInput, ScatterplotOptionsInput } from './types';
|
|
1
|
+
import { OptionFactory } from '../echart/index.js';
|
|
2
|
+
import { ScatterplotEChartsOption, ScatterplotOptionFactoryInput, ScatterplotOptionsInput } from './types.js';
|
|
3
3
|
/**
|
|
4
4
|
* Builds the **structural** ECharts option for a scatterplot widget — both
|
|
5
5
|
* axes `type: 'value'` (not category, unlike Bar/Histogram), grid, tooltip
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Theme } from '@mui/material';
|
|
2
2
|
import { EChartsOption } from 'echarts';
|
|
3
|
-
import { WidgetSeries } from '../types';
|
|
3
|
+
import { WidgetSeries } from '../types.js';
|
|
4
4
|
/** A single point — `[x, y]` tuple. */
|
|
5
5
|
export type ScatterplotDatum = readonly [number, number];
|
|
6
6
|
/** Scatterplot widget data — array of series, each a list of `[x, y]` tuples. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SvgIconProps } from '@mui/material';
|
|
2
2
|
import { ComponentType } from 'react';
|
|
3
|
-
import { SelectionSummaryLabels } from './labels';
|
|
3
|
+
import { SelectionSummaryLabels } from './labels.js';
|
|
4
4
|
export interface SelectionSummaryProps {
|
|
5
5
|
/** Number of currently selected items. */
|
|
6
6
|
count: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DownloadItem } from '../actions/download';
|
|
2
|
-
import { SpreadWidgetData } from './types';
|
|
1
|
+
import { DownloadItem } from '../actions/download/index.js';
|
|
2
|
+
import { SpreadWidgetData } from './types.js';
|
|
3
3
|
/**
|
|
4
4
|
* Download menu items for the Spread widget. Always includes a CSV item
|
|
5
5
|
* with `series, prefix, min, max, suffix, note` columns (one row per
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { Spread } from './spread';
|
|
2
|
-
export { SpreadUI, type SpreadUIProps } from './spread-ui';
|
|
3
|
-
export { Separator } from './separator';
|
|
4
|
-
export { SpreadSkeleton, type SpreadSkeletonProps } from './skeleton';
|
|
5
|
-
export { createSpreadDownloadConfig } from './download';
|
|
6
|
-
export { getSpreadBand, type SpreadVariant, type GetSpreadBandOptions } from './band';
|
|
7
|
-
export type { SpreadDataItem, SpreadWidgetData } from './types';
|
|
1
|
+
export { Spread } from './spread.js';
|
|
2
|
+
export { SpreadUI, type SpreadUIProps } from './spread-ui.js';
|
|
3
|
+
export { Separator } from './separator.js';
|
|
4
|
+
export { SpreadSkeleton, type SpreadSkeletonProps } from './skeleton.js';
|
|
5
|
+
export { createSpreadDownloadConfig } from './download.js';
|
|
6
|
+
export { getSpreadBand, type SpreadVariant, type GetSpreadBandOptions } from './band.js';
|
|
7
|
+
export type { SpreadDataItem, SpreadWidgetData } from './types.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export type { TransformType, TransformDescriptor, TransformFn, Transform, TransformPair, WidgetState, WidgetInit, WidgetStoreApi, } from './types';
|
|
2
|
-
export { applyTransforms, upsertTransform, removeTransform } from './transforms';
|
|
3
|
-
export { pipelineMiddleware } from './pipeline-middleware';
|
|
4
|
-
export { WidgetContext, useWidgetId } from './widget-context';
|
|
5
|
-
export { getWidgetStore, hasWidgetStore, deleteWidgetStore, resetWidgetStore, clearAllWidgetStores, registerWidgetStore, unregisterWidgetStore, setWidgetStoreEntry, createWidgetStore, useWidget, useWidgetShallow, setCaptureEl, getCaptureEl, clearAllCaptureEls, setEchartInstance, getEchartInstance, subscribeEchartInstance, clearAllEchartInstances, __debugListWidgetStores, } from './widget-store-registry';
|
|
6
|
-
export { useEchartInstance } from './use-echart-instance';
|
|
7
|
-
export { useTransform, useSingleTransform, type UseTransformOptions, type TransformControls, } from './use-transform';
|
|
8
|
-
export { useTransformEnabled } from './use-transform-enabled';
|
|
1
|
+
export type { TransformType, TransformDescriptor, TransformFn, Transform, TransformPair, WidgetState, WidgetInit, WidgetStoreApi, } from './types.js';
|
|
2
|
+
export { applyTransforms, upsertTransform, removeTransform } from './transforms.js';
|
|
3
|
+
export { pipelineMiddleware } from './pipeline-middleware.js';
|
|
4
|
+
export { WidgetContext, useWidgetId } from './widget-context.js';
|
|
5
|
+
export { getWidgetStore, hasWidgetStore, deleteWidgetStore, resetWidgetStore, clearAllWidgetStores, registerWidgetStore, unregisterWidgetStore, setWidgetStoreEntry, createWidgetStore, useWidget, useWidgetShallow, setCaptureEl, getCaptureEl, clearAllCaptureEls, setEchartInstance, getEchartInstance, subscribeEchartInstance, clearAllEchartInstances, __debugListWidgetStores, } from './widget-store-registry.js';
|
|
6
|
+
export { useEchartInstance } from './use-echart-instance.js';
|
|
7
|
+
export { useTransform, useSingleTransform, type UseTransformOptions, type TransformControls, } from './use-transform.js';
|
|
8
|
+
export { useTransformEnabled } from './use-transform-enabled.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { StateCreator, StoreMutatorIdentifier } from 'zustand';
|
|
2
|
-
import { WidgetState } from './types';
|
|
2
|
+
import { WidgetState } from './types.js';
|
|
3
3
|
type PipelineMiddleware = <T extends WidgetState, Mps extends [StoreMutatorIdentifier, unknown][] = [], Mcs extends [StoreMutatorIdentifier, unknown][] = []>(config: StateCreator<T, Mps, Mcs>) => StateCreator<T, Mps, Mcs>;
|
|
4
4
|
export declare const pipelineMiddleware: PipelineMiddleware;
|
|
5
5
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Transform } from './types';
|
|
1
|
+
import { Transform } from './types.js';
|
|
2
2
|
export declare function applyTransforms(input: unknown, transforms: readonly Transform[], onError?: (id: string, error: Error) => void): unknown;
|
|
3
3
|
export declare function upsertTransform(transforms: readonly Transform[], next: Transform): readonly Transform[];
|
|
4
4
|
export declare function removeTransform(transforms: readonly Transform[], id: string): readonly Transform[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Dispatch, SetStateAction } from 'react';
|
|
2
|
-
import { TransformDescriptor, TransformFn, TransformPair } from './types';
|
|
2
|
+
import { TransformDescriptor, TransformFn, TransformPair } from './types.js';
|
|
3
3
|
export interface UseTransformOptions {
|
|
4
4
|
initialEnabled?: boolean;
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ECharts } from 'echarts';
|
|
2
|
-
import { WidgetInit, WidgetState, WidgetStoreApi } from './types';
|
|
2
|
+
import { WidgetInit, WidgetState, WidgetStoreApi } from './types.js';
|
|
3
3
|
type EchartInstanceListener = (chart: ECharts | null) => void;
|
|
4
4
|
export declare function getWidgetStore(id: string): WidgetStoreApi;
|
|
5
5
|
export declare function hasWidgetStore(id: string): boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DownloadItem } from '../actions/download';
|
|
2
|
-
import { TableColumn, TableWidgetData } from './types';
|
|
1
|
+
import { DownloadItem } from '../actions/download/index.js';
|
|
2
|
+
import { TableColumn, TableWidgetData } from './types.js';
|
|
3
3
|
/**
|
|
4
4
|
* Download menu items for the Table widget. Always includes a CSV item
|
|
5
5
|
* that pulls the latest data from the widget store via `getData()` (so
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TableColumn, TableRow, TableSortDirection, TableWidgetData } from './types';
|
|
1
|
+
import { TableColumn, TableRow, TableSortDirection, TableWidgetData } from './types.js';
|
|
2
2
|
/**
|
|
3
3
|
* Compares two values with a consistent ordering across primitive types.
|
|
4
4
|
* Strings use locale comparison; numbers subtract; booleans rank false < true;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { Table, type TableProps } from './table';
|
|
2
|
-
export { TableUI, type TableUIProps } from './table-ui';
|
|
3
|
-
export { TableSkeleton, type TableSkeletonProps } from './skeleton';
|
|
4
|
-
export { createTableDownloadConfig } from './download';
|
|
5
|
-
export { filterTableByLockedRows } from './transforms';
|
|
6
|
-
export { compareValues, sortRows, paginateRows, resolveColumns, deriveVisibleRows, tableDataToCsv, } from './helpers';
|
|
7
|
-
export { DEFAULT_TABLE_LABELS, type TableLabels } from './labels';
|
|
8
|
-
export { DEFAULT_TABLE_PAGE_SIZE, DEFAULT_TABLE_PAGE_SIZE_OPTIONS, type TableColumn, type TableRow, type TableWidgetData, type TableWidgetState, type TableSortDirection, type TableSortState, } from './types';
|
|
1
|
+
export { Table, type TableProps } from './table.js';
|
|
2
|
+
export { TableUI, type TableUIProps } from './table-ui.js';
|
|
3
|
+
export { TableSkeleton, type TableSkeletonProps } from './skeleton.js';
|
|
4
|
+
export { createTableDownloadConfig } from './download.js';
|
|
5
|
+
export { filterTableByLockedRows } from './transforms.js';
|
|
6
|
+
export { compareValues, sortRows, paginateRows, resolveColumns, deriveVisibleRows, tableDataToCsv, } from './helpers.js';
|
|
7
|
+
export { DEFAULT_TABLE_LABELS, type TableLabels } from './labels.js';
|
|
8
|
+
export { DEFAULT_TABLE_PAGE_SIZE, DEFAULT_TABLE_PAGE_SIZE_OPTIONS, type TableColumn, type TableRow, type TableWidgetData, type TableWidgetState, type TableSortDirection, type TableSortState, } from './types.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TableProps as MuiTableProps } from '@mui/material';
|
|
2
|
-
import { TableLabels } from './labels';
|
|
3
|
-
import { TableColumn, TableRow, TableSortState } from './types';
|
|
2
|
+
import { TableLabels } from './labels.js';
|
|
3
|
+
import { TableColumn, TableRow, TableSortState } from './types.js';
|
|
4
4
|
export interface TableUIProps<T extends TableRow = TableRow> {
|
|
5
5
|
columns: readonly TableColumn[];
|
|
6
6
|
/** Already-paginated, already-sorted rows for the current view. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TableUIProps } from './table-ui';
|
|
2
|
-
import { TableColumn, TableRow, TableSortState } from './types';
|
|
1
|
+
import { TableUIProps } from './table-ui.js';
|
|
2
|
+
import { TableColumn, TableRow, TableSortState } from './types.js';
|
|
3
3
|
export interface TableProps<T extends TableRow = TableRow> extends Pick<TableUIProps<T>, 'pageSizeOptions' | 'selectable' | 'labels' | 'emptyContent' | 'size' | 'keyColumn'> {
|
|
4
4
|
/**
|
|
5
5
|
* Column definitions. Order can be overridden by ChangeColumn via the
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DownloadItem } from '../actions/download';
|
|
2
|
-
import { TimeseriesWidgetData } from './types';
|
|
1
|
+
import { DownloadItem } from '../actions/download/index.js';
|
|
2
|
+
import { TimeseriesWidgetData } from './types.js';
|
|
3
3
|
/**
|
|
4
4
|
* Download menu items for the Timeseries widget. Always includes a CSV
|
|
5
5
|
* item with `time, series_1, series_2, …` columns (one row per unique time
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { timeseriesOptions, createTimeseriesOptionFactory } from './options';
|
|
2
|
-
export { TimeseriesSkeleton } from './skeleton';
|
|
3
|
-
export { createTimeseriesDownloadConfig } from './download';
|
|
4
|
-
export { filterTimeseriesByLockedItems } from './transforms';
|
|
5
|
-
export type { TimeseriesDatum, TimeseriesWidgetData, TimeseriesOptionsInput, TimeseriesOptionFactoryInput, TimeseriesEChartsOption, } from './types';
|
|
1
|
+
export { timeseriesOptions, createTimeseriesOptionFactory } from './options.js';
|
|
2
|
+
export { TimeseriesSkeleton } from './skeleton.js';
|
|
3
|
+
export { createTimeseriesDownloadConfig } from './download.js';
|
|
4
|
+
export { filterTimeseriesByLockedItems } from './transforms.js';
|
|
5
|
+
export type { TimeseriesDatum, TimeseriesWidgetData, TimeseriesOptionsInput, TimeseriesOptionFactoryInput, TimeseriesEChartsOption, } from './types.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { OptionFactory } from '../echart';
|
|
2
|
-
import { TimeseriesEChartsOption, TimeseriesOptionFactoryInput, TimeseriesOptionsInput } from './types';
|
|
1
|
+
import { OptionFactory } from '../echart/index.js';
|
|
2
|
+
import { TimeseriesEChartsOption, TimeseriesOptionFactoryInput, TimeseriesOptionsInput } from './types.js';
|
|
3
3
|
/**
|
|
4
4
|
* Builds the **structural** ECharts option for a timeseries widget —
|
|
5
5
|
* time x-axis, value y-axis, themed tooltip, themed legend, CARTO color
|
|
6
|
-
* palette. Mirrors {@link import('../bar/options').barOptions} so all
|
|
6
|
+
* palette. Mirrors {@link import('../bar/options.js').barOptions} so all
|
|
7
7
|
* four ECharts widgets share v1 look-and-feel.
|
|
8
8
|
*
|
|
9
9
|
* Intentional deviations from bar (timeseries-specific):
|
|
@@ -31,7 +31,7 @@ export declare function timeseriesOptions({ theme, formatter, labelFormatter, }:
|
|
|
31
31
|
* - **Merge phase** (`option != null`) — fuses post-pipeline `state.data`
|
|
32
32
|
* (`TimeseriesWidgetData`) into the option via the dataset API: one
|
|
33
33
|
* dataset per series, each series referencing its dataset by index,
|
|
34
|
-
* encoded by `name` (x — time) and `value` (y). Mirrors {@link import('../bar/options').createBarOptionFactory}:
|
|
34
|
+
* encoded by `name` (x — time) and `value` (y). Mirrors {@link import('../bar/options.js').createBarOptionFactory}:
|
|
35
35
|
* series-template merge for `addStack`, reactive formatters from
|
|
36
36
|
* `ctx`, `niceNum`-rounded y-axis bounds at fusion time, and
|
|
37
37
|
* `positionDataZoomForLegend` layout for ZoomToggle sliders.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Theme } from '@mui/material';
|
|
2
2
|
import { EChartsOption } from 'echarts';
|
|
3
|
-
import { WidgetSeries } from '../types';
|
|
3
|
+
import { WidgetSeries } from '../types.js';
|
|
4
4
|
/**
|
|
5
5
|
* A single point on a time series. `name` is the time coordinate — accepts a
|
|
6
6
|
* Date object, a number (ms-since-epoch), or an ISO-8601 string. ECharts'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentType, ReactNode } from 'react';
|
|
2
2
|
import { SvgIconProps, SxProps, Theme } from '@mui/material';
|
|
3
|
-
import { ToolboxLabels } from './labels';
|
|
3
|
+
import { ToolboxLabels } from './labels.js';
|
|
4
4
|
export interface ToolboxProps {
|
|
5
5
|
/**
|
|
6
6
|
* Maximum number of (non-`data-toolbar-hidden`) children rendered inline
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { mergeOptions } from './merge-options';
|
|
2
|
-
export { positionDataZoomForLegend } from './data-zoom-layout';
|
|
3
|
-
export { resolveThemeColor } from './resolve-theme-color';
|
|
1
|
+
export { mergeOptions } from './merge-options.js';
|
|
2
|
+
export { positionDataZoomForLegend } from './data-zoom-layout.js';
|
|
3
|
+
export { resolveThemeColor } from './resolve-theme-color.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Wrapper, type WrapperProps } from './widget-wrapper';
|
|
2
|
-
export { Actions, Options, type ActionsProps, type OptionsProps, } from './widget-actions';
|
|
3
|
-
export { Content, Footer, type ContentProps, type FooterProps, } from './widget-content';
|
|
4
|
-
export { DEFAULT_WRAPPER_LABELS, type WrapperLabels } from './labels';
|
|
1
|
+
export { Wrapper, type WrapperProps } from './widget-wrapper.js';
|
|
2
|
+
export { Actions, Options, type ActionsProps, type OptionsProps, } from './widget-actions.js';
|
|
3
|
+
export { Content, Footer, type ContentProps, type FooterProps, } from './widget-content.js';
|
|
4
|
+
export { DEFAULT_WRAPPER_LABELS, type WrapperLabels } from './labels.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as e } from "./zoom-toggle-
|
|
1
|
+
import { r as e } from "./zoom-toggle-KA63b6-J.js";
|
|
2
2
|
//#region src/widgets-v2/utils/merge-options.ts
|
|
3
3
|
function t(e, t) {
|
|
4
4
|
if (!t) return e;
|
|
@@ -55,4 +55,4 @@ function a(e, t) {
|
|
|
55
55
|
//#endregion
|
|
56
56
|
export { i as n, t as r, a as t };
|
|
57
57
|
|
|
58
|
-
//# sourceMappingURL=utils-
|
|
58
|
+
//# sourceMappingURL=utils-ClB6nn4w.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils-
|
|
1
|
+
{"version":3,"file":"utils-ClB6nn4w.js","names":["mergeOptions","Record","base","T","override","Partial","out","key","Object","keys","a","b","undefined","mergeValue","Array","isArray","len","Math","max","length","result","i","av","bv","isPlainObject","v","proto","getPrototypeOf","prototype","ZOOM_LAYOUT","positionDataZoomForLegend","dataZoom","hasLegend","Array","isArray","length","map","entry","dz","type","bottom","sliderBottomWithLegend","Theme","resolveThemeColor","theme","raw","undefined","includes","parts","split","cursor","palette","part","Record"],"sources":["../src/widgets-v2/utils/merge-options.ts","../src/widgets-v2/utils/data-zoom-layout.ts","../src/widgets-v2/utils/resolve-theme-color.ts"],"sourcesContent":["/**\n * Shallow-merges two ECharts option objects:\n * - Top-level keys from both are combined.\n * - Arrays are merged by index (element-wise shallow merge, primitive override).\n * - Plain objects are shallow-merged.\n * - Primitives are overridden by the override value.\n *\n * Designed for the two-stage memoization pattern: first build a base option\n * object from data + theme + formatters, then call `mergeOptions(base, override)`\n * inside a second `useMemo` keyed on `[base, override]`.\n */\nexport function mergeOptions<T extends Record<string, unknown>>(\n base: T,\n override?: Partial<T>,\n): T {\n if (!override) return base\n const out: Record<string, unknown> = { ...base }\n for (const key of Object.keys(override) as (keyof T)[]) {\n const a = base[key]\n const b = override[key]\n if (b === undefined) continue\n out[key as string] = mergeValue(a, b)\n }\n return out as T\n}\n\nfunction mergeValue(a: unknown, b: unknown): unknown {\n if (Array.isArray(a) && Array.isArray(b)) {\n const len = Math.max(a.length, b.length)\n const result = new Array<unknown>(len)\n for (let i = 0; i < len; i++) {\n const av: unknown = a[i]\n const bv: unknown = b[i]\n if (bv === undefined) result[i] = av\n else if (av === undefined) result[i] = bv\n else result[i] = mergeValue(av, bv)\n }\n return result\n }\n if (isPlainObject(a) && isPlainObject(b)) {\n return { ...a, ...b }\n }\n return b\n}\n\nfunction isPlainObject(v: unknown): v is Record<string, unknown> {\n if (v === null || typeof v !== 'object') return false\n const proto = Object.getPrototypeOf(v) as unknown\n return proto === Object.prototype || proto === null\n}\n","import { ZOOM_LAYOUT } from '../actions/zoom-toggle'\n\n/**\n * If the option includes a `dataZoom` array (from ZoomToggle's transform),\n * lift any slider entries above the legend row so they don't overlap.\n * Returns `null` when there is no `dataZoom` — caller skips the layout\n * adjustment entirely.\n *\n * Shared between bar, histogram, and timeseries — every widget with a\n * horizontal x-axis dataZoom slider needs the same offset when a legend\n * is rendered below the plot.\n */\nexport function positionDataZoomForLegend(\n dataZoom: unknown,\n hasLegend: boolean,\n): unknown[] | null {\n if (!Array.isArray(dataZoom) || dataZoom.length === 0) return null\n return dataZoom.map((entry: unknown) => {\n if (entry == null || typeof entry !== 'object') return entry\n const dz = entry as { type?: string; bottom?: number }\n if (dz.type === 'slider' && hasLegend) {\n return { ...dz, bottom: ZOOM_LAYOUT.sliderBottomWithLegend }\n }\n return dz\n })\n}\n","import type { Theme } from '@mui/material'\n\n/**\n * Resolve a colour string against the MUI theme palette.\n *\n * - `'primary.main'`, `'secondary.dark'`, `'success.contrastText'`, … →\n * walks `theme.palette` along the dot-separated path and returns the\n * resolved string when traversal succeeds.\n * - `'#ff0000'`, `'rgb(255, 0, 0)'`, `'red'` → returned as-is (assumed\n * raw CSS; ECharts consumes them directly).\n * - `undefined` → `undefined` (callers fall back to ECharts' palette).\n *\n * Used by the echart option factories (Bar, Pie, Histogram, Scatterplot,\n * Timeseries) so per-series colours specified as theme paths in the\n * unified `WidgetSeries` shape paint correctly. Category, Formula, and\n * Spread render colours through MUI's `sx` resolver, which already\n * handles theme paths — they don't need this helper.\n */\nexport function resolveThemeColor(\n theme: Theme,\n raw: string | undefined,\n): string | undefined {\n if (raw == null) return undefined\n if (!raw.includes('.')) return raw\n const parts = raw.split('.')\n let cursor: unknown = theme.palette\n for (const part of parts) {\n if (cursor == null || typeof cursor !== 'object') {\n return raw\n }\n cursor = (cursor as Record<string, unknown>)[part]\n }\n return typeof cursor === 'string' ? cursor : raw\n}\n"],"mappings":";;AAWA,SAAgBA,EACdE,GACAE,GACG;CACH,IAAI,CAACA,GAAU,OAAOF;CACtB,IAAMI,IAA+B,EAAE,GAAGJ,EAAK;CAC/C,KAAK,IAAMK,KAAOC,OAAOC,KAAKL,CAAQ,GAAkB;EACtD,IAAMM,IAAIR,EAAKK,IACTI,IAAIP,EAASG;EACfI,MAAMC,KAAAA,MACVN,EAAIC,KAAiBM,EAAWH,GAAGC,CAAC;CACtC;CACA,OAAOL;AACT;AAEA,SAASO,EAAWH,GAAYC,GAAqB;CACnD,IAAIG,MAAMC,QAAQL,CAAC,KAAKI,MAAMC,QAAQJ,CAAC,GAAG;EACxC,IAAMK,IAAMC,KAAKC,IAAIR,EAAES,QAAQR,EAAEQ,MAAM,GACjCC,IAAaN,MAAeE,CAAG;EACrC,KAAK,IAAIK,IAAI,GAAGA,IAAIL,GAAKK,KAAK;GAC5B,IAAMC,IAAcZ,EAAEW,IAChBE,IAAcZ,EAAEU;GACtB,AAAIE,MAAOX,KAAAA,IAAWQ,EAAOC,KAAKC,IACzBA,MAAOV,KAAAA,IAAWQ,EAAOC,KAAKE,IAClCH,EAAOC,KAAKR,EAAWS,GAAIC,CAAE;EACpC;EACA,OAAOH;CACT;CAIA,OAHII,EAAcd,CAAC,KAAKc,EAAcb,CAAC,IAC9B;EAAE,GAAGD;EAAG,GAAGC;CAAE,IAEfA;AACT;AAEA,SAASa,EAAcC,GAA0C;CAC/D,IAAkB,OAAOA,KAAM,aAA3BA,GAAqC,OAAO;CAChD,IAAMC,IAAQlB,OAAOmB,eAAeF,CAAC;CACrC,OAAOC,MAAUlB,OAAOoB,aAAaF,MAAU;AACjD;;;ACrCA,SAAgBI,EACdC,GACAC,GACkB;CAElB,OADI,CAACC,MAAMC,QAAQH,CAAQ,KAAKA,EAASI,WAAW,IAAU,OACvDJ,EAASK,KAAKC,MAAmB;EACtC,IAAqB,OAAOA,KAAU,aAAlCA,GAA4C,OAAOA;EACvD,IAAMC,IAAKD;EAIX,OAHIC,EAAGC,SAAS,YAAYP,IACnB;GAAE,GAAGM;GAAIE,QAAQX,EAAYY;EAAuB,IAEtDH;CACT,CAAC;AACH;;;ACPA,SAAgBK,EACdC,GACAC,GACoB;CACpB,IAAIA,KAAO,MAAM;CACjB,IAAI,CAACA,EAAIE,SAAS,GAAG,GAAG,OAAOF;CAC/B,IAAMG,IAAQH,EAAII,MAAM,GAAG,GACvBC,IAAkBN,EAAMO;CAC5B,KAAK,IAAMC,KAAQJ,GAAO;EACxB,IAAsB,OAAOE,KAAW,aAApCA,GACF,OAAOL;EAETK,IAAUA,EAAmCE;CAC/C;CACA,OAAO,OAAOF,KAAW,WAAWA,IAASL;AAC/C"}
|
package/dist/widgets/actions.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as e, a as t, b as n, c as r, d as i, f as a, g as o, h as s, i as c, l, m as u, n as d, o as f, p, r as m, s as h, t as g, u as _, v, y } from "../actions-
|
|
1
|
+
import { _ as e, a as t, b as n, c as r, d as i, f as a, g as o, h as s, i as c, l, m as u, n as d, o as f, p, r as m, s as h, t as g, u as _, v, y } from "../actions-DZGaL_uT.js";
|
|
2
2
|
export { g as BRUSH_TOGGLE_TOOL_ID, d as BrushToggle, m as CHANGE_COLUMN_TOOL_ID, c as ChangeColumn, y as Download, n as FullScreen, r as LOCK_SELECTION_TOOL_ID, l as LockSelection, u as RELATIVE_DATA_CONFIG_TOOL_ID, s as RELATIVE_DATA_TOOL_ID, o as RelativeData, f as SEARCHER_TOOL_ID, _ as STACK_TOGGLE_TOOL_ID, h as Searcher, t as SearcherToggle, i as StackToggle, a as ZOOM_TOGGLE_TOOL_ID, p as ZoomToggle, e as downloadToCSV, v as downloadToPNG };
|
package/dist/widgets/bar.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as e } from "../shared-resize-observer-BEiP2rQt.js";
|
|
2
2
|
import { t } from "../csv-modifiers-D6HGC24b.js";
|
|
3
|
-
import { a as n, c as r, d as i, f as a, n as o, s, t as c, u as l } from "../chart-config-
|
|
3
|
+
import { a as n, c as r, d as i, f as a, n as o, s, t as c, u as l } from "../chart-config-BWxjodlt.js";
|
|
4
4
|
import { t as u } from "../echart-BkaV3V5G.js";
|
|
5
5
|
import { t as d } from "../styles-Y-qGBELO.js";
|
|
6
6
|
import { c as f } from "react/compiler-runtime";
|
package/dist/widgets/category.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "../use-widget-selector-VSPhfhNm.js";
|
|
2
|
-
import { _ as t, v as n } from "../actions-
|
|
2
|
+
import { _ as t, v as n } from "../actions-DZGaL_uT.js";
|
|
3
3
|
import { n as r, t as i } from "../formatter-wVO81tYk.js";
|
|
4
4
|
import { t as a } from "../hooks-zf5gKZYq.js";
|
|
5
5
|
import { c as o } from "react/compiler-runtime";
|
package/dist/widgets/formula.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { t as e } from "../row-CvVGBuy_.js";
|
|
2
|
-
import { a as t, c as n, d as r, i, l as a, n as o, o as s, r as c, s as l, t as u, u as d } from "../formula-
|
|
2
|
+
import { a as t, c as n, d as r, i, l as a, n as o, o as s, r as c, s as l, t as u, u as d } from "../formula-BNuRXsmh.js";
|
|
3
3
|
export { c as FormulaSkeleton, i as FormulaUI, r as Item, a as Prefix, e as Row, l as Series, n as Suffix, d as Value, t as formulaConfig, s as formulaDownloadConfig, u as sanitizeDataItem, o as sanitizeDataItems };
|