@carto/ps-react-ui 4.19.0 → 4.20.1
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 +1318 -0
- package/dist/actions-DKX98LlI.js.map +1 -0
- package/dist/actions-Dy9JVr7F.js +1004 -0
- package/dist/actions-Dy9JVr7F.js.map +1 -0
- package/dist/category-DHZscHaS.js +826 -0
- package/dist/category-DHZscHaS.js.map +1 -0
- package/dist/chart-config-BGt7wkK7.js +108 -0
- package/dist/chart-config-BGt7wkK7.js.map +1 -0
- package/dist/chat.js +1589 -1711
- package/dist/chat.js.map +1 -1
- package/dist/cjs-CBrZjPCj.js +75 -0
- package/dist/cjs-CBrZjPCj.js.map +1 -0
- package/dist/components-DDt4mOQn.js +2403 -0
- package/dist/components-DDt4mOQn.js.map +1 -0
- package/dist/components.js +5 -1841
- package/dist/copy-button-DaQqWVu0.js +25 -0
- package/dist/copy-button-DaQqWVu0.js.map +1 -0
- package/dist/csv-modifiers-D6HGC24b.js +26 -0
- package/dist/csv-modifiers-D6HGC24b.js.map +1 -0
- package/dist/download-BT6qBamM.js +232 -0
- package/dist/download-BT6qBamM.js.map +1 -0
- package/dist/echart-BkaV3V5G.js +133 -0
- package/dist/echart-BkaV3V5G.js.map +1 -0
- package/dist/echart-DSz2Tu0z.js +250 -0
- package/dist/echart-DSz2Tu0z.js.map +1 -0
- package/dist/formatter-wVO81tYk.js +6 -0
- package/dist/formatter-wVO81tYk.js.map +1 -0
- package/dist/formula-Bk9CBzm2.js +190 -0
- package/dist/formula-Bk9CBzm2.js.map +1 -0
- package/dist/formula-Dsru_p-g.js +285 -0
- package/dist/formula-Dsru_p-g.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 -24
- package/dist/legend.js +2274 -2323
- package/dist/legend.js.map +1 -1
- package/dist/markdown-DnSJMPjQ.js +165 -0
- package/dist/markdown-DnSJMPjQ.js.map +1 -0
- package/dist/markdown-content-BzKoX3eu.js +8764 -0
- package/dist/markdown-content-BzKoX3eu.js.map +1 -0
- package/dist/range-BPWVrAsY.js +277 -0
- package/dist/range-BPWVrAsY.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-Dy8pshpN.js +149 -0
- package/dist/spread-Dy8pshpN.js.map +1 -0
- package/dist/stores-B81-IU1G.js +374 -0
- package/dist/stores-B81-IU1G.js.map +1 -0
- package/dist/stores-BVFMfgyo.js +248 -0
- package/dist/stores-BVFMfgyo.js.map +1 -0
- package/dist/styles-Y-qGBELO.js +13 -0
- package/dist/styles-Y-qGBELO.js.map +1 -0
- package/dist/table-BfTG6rrs.js +439 -0
- package/dist/table-BfTG6rrs.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 +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/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/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 +2 -2
- package/dist/types/components/basemaps/group-wrapper.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/lasso-tool/chip.d.ts +1 -1
- package/dist/types/components/lasso-tool/icons.d.ts +7 -7
- package/dist/types/components/lasso-tool/lasso-tool.d.ts +4 -4
- package/dist/types/components/lasso-tool/message.d.ts +1 -1
- package/dist/types/components/list-data/list-data-skeleton.d.ts +1 -1
- package/dist/types/components/measurement-tools/icons.d.ts +3 -3
- package/dist/types/components/no-data-alert/no-data-alert.d.ts +1 -1
- package/dist/types/components/responsive-drawer/responsive-drawer.d.ts +1 -1
- package/dist/types/components/smart-tooltip/smart-tooltip.d.ts +1 -1
- package/dist/types/components/tooltip/tooltip.d.ts +1 -1
- package/dist/types/hooks/use-widget-ref.d.ts +2 -1
- package/dist/types/legend/components/legend-actions/legend-actions.d.ts +1 -1
- package/dist/types/legend/components/legend-category/legend-category-ui.d.ts +1 -1
- package/dist/types/legend/components/legend-config-select/legend-config-select.d.ts +1 -1
- package/dist/types/legend/components/legend-group/legend-group.d.ts +1 -1
- package/dist/types/legend/components/legend-group-menu/legend-group-menu-items.d.ts +4 -4
- package/dist/types/legend/components/legend-group-menu/legend-group-menu.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 +1 -1
- package/dist/types/legend/components/legend-item/legend-item.d.ts +1 -1
- package/dist/types/legend/components/legend-opacity/legend-opacity.d.ts +2 -2
- package/dist/types/legend/components/legend-overflow-menu/legend-overflow-menu.d.ts +1 -1
- package/dist/types/legend/components/legend-panel-menu/legend-panel-menu.d.ts +1 -1
- package/dist/types/legend/components/legend-proportion/legend-proportion-ui.d.ts +1 -1
- package/dist/types/legend/components/legend-ramp/legend-ramp-ui.d.ts +1 -1
- package/dist/types/legend/components/legend-row/legend-row.d.ts +1 -1
- package/dist/types/legend/components/legend-row-menu/legend-row-menu-items.d.ts +2 -2
- package/dist/types/legend/components/legend-row-menu/legend-row-menu.d.ts +1 -1
- package/dist/types/legend/components/legend-row-menu/legend-zoom-to.d.ts +1 -1
- package/dist/types/legend/components/legend-sortable/legend-sortable.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 +1 -1
- package/dist/types/legend/components/legend-visible-layers/legend-visible-layers.d.ts +1 -1
- package/dist/types/legend/index.d.ts +2 -2
- package/dist/types/legend/provider/legend-provider.d.ts +1 -1
- package/dist/types/widgets/actions/brush-toggle/brush-toggle.d.ts +1 -1
- 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 +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/fullscreen/fullscreen.d.ts +1 -1
- package/dist/types/widgets/actions/lock-selection/lock-selection.d.ts +1 -1
- package/dist/types/widgets/actions/relative-data/relative-data.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/stack-toggle/grouped-bar-chart-icon.d.ts +1 -1
- package/dist/types/widgets/actions/stack-toggle/stack-toggle.d.ts +1 -1
- package/dist/types/widgets/actions/zoom-toggle/zoom-toggle.d.ts +1 -1
- package/dist/types/widgets/bar/skeleton.d.ts +1 -1
- package/dist/types/widgets/category/category-ui.d.ts +1 -1
- package/dist/types/widgets/category/components/category-bar.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-other.d.ts +1 -1
- package/dist/types/widgets/category/components/category-row-single.d.ts +1 -1
- package/dist/types/widgets/category/skeleton.d.ts +1 -1
- 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/error/error.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/formula-ui.d.ts +1 -1
- package/dist/types/widgets/formula/skeleton.d.ts +1 -1
- package/dist/types/widgets/histogram/skeleton.d.ts +1 -1
- 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/skeleton.d.ts +1 -1
- package/dist/types/widgets/no-data/no-data.d.ts +1 -1
- package/dist/types/widgets/note/note.d.ts +1 -1
- package/dist/types/widgets/pie/skeleton.d.ts +1 -1
- package/dist/types/widgets/range/components/range-item.d.ts +1 -1
- package/dist/types/widgets/range/range-ui.d.ts +1 -1
- package/dist/types/widgets/range/skeleton.d.ts +1 -1
- package/dist/types/widgets/scatterplot/skeleton.d.ts +1 -1
- package/dist/types/widgets/selection-summary/selection-summary.d.ts +1 -1
- package/dist/types/widgets/skeleton-loader/skeleton-loader.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/skeleton.d.ts +1 -1
- package/dist/types/widgets/spread/spread-ui.d.ts +1 -1
- 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/skeleton.d.ts +1 -1
- package/dist/types/widgets/table/table-ui.d.ts +2 -2
- package/dist/types/widgets/timeseries/skeleton.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/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/change-column/change-column-icon.d.ts +1 -1
- package/dist/types/widgets-v2/actions/change-column/change-column.d.ts +1 -1
- package/dist/types/widgets-v2/actions/change-column/sortable-column-item.d.ts +1 -1
- package/dist/types/widgets-v2/actions/download/download.d.ts +1 -1
- package/dist/types/widgets-v2/actions/download/icons.d.ts +3 -3
- package/dist/types/widgets-v2/actions/fullscreen/fullscreen.d.ts +2 -2
- package/dist/types/widgets-v2/actions/lock-selection/lock-selection.d.ts +1 -1
- package/dist/types/widgets-v2/actions/relative-data/relative-data.d.ts +1 -1
- 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/show-all.d.ts +1 -1
- package/dist/types/widgets-v2/actions/stack-toggle/stack-toggle.d.ts +1 -1
- package/dist/types/widgets-v2/actions/zoom-toggle/zoom-toggle.d.ts +1 -1
- package/dist/types/widgets-v2/bar/skeleton.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-other.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/skeleton.d.ts +1 -1
- package/dist/types/widgets-v2/echart/echart-ui.d.ts +1 -1
- package/dist/types/widgets-v2/echart/echart.d.ts +1 -1
- package/dist/types/widgets-v2/formula/delta.d.ts +1 -1
- package/dist/types/widgets-v2/formula/formula-ui.d.ts +1 -1
- package/dist/types/widgets-v2/formula/formula.d.ts +1 -1
- package/dist/types/widgets-v2/formula/note.d.ts +1 -1
- package/dist/types/widgets-v2/formula/prefix.d.ts +1 -1
- package/dist/types/widgets-v2/formula/series.d.ts +1 -1
- package/dist/types/widgets-v2/formula/skeleton.d.ts +1 -1
- package/dist/types/widgets-v2/formula/suffix.d.ts +1 -1
- package/dist/types/widgets-v2/formula/value.d.ts +1 -1
- package/dist/types/widgets-v2/histogram/skeleton.d.ts +1 -1
- package/dist/types/widgets-v2/index.d.ts +5 -5
- package/dist/types/widgets-v2/markdown/markdown-content.d.ts +1 -1
- package/dist/types/widgets-v2/markdown/markdown-ui.d.ts +1 -1
- package/dist/types/widgets-v2/markdown/markdown.d.ts +1 -1
- package/dist/types/widgets-v2/markdown/skeleton.d.ts +1 -1
- package/dist/types/widgets-v2/note/widget-note.d.ts +2 -2
- package/dist/types/widgets-v2/pie/skeleton.d.ts +1 -1
- package/dist/types/widgets-v2/provider/widget-provider.d.ts +1 -1
- 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/range/skeleton.d.ts +1 -1
- package/dist/types/widgets-v2/scatterplot/skeleton.d.ts +1 -1
- package/dist/types/widgets-v2/selection-summary/selection-summary.d.ts +1 -1
- package/dist/types/widgets-v2/spread/band.d.ts +37 -0
- package/dist/types/widgets-v2/spread/band.test.d.ts +1 -0
- package/dist/types/widgets-v2/spread/index.d.ts +1 -0
- package/dist/types/widgets-v2/spread/separator.d.ts +1 -1
- package/dist/types/widgets-v2/spread/skeleton.d.ts +1 -1
- package/dist/types/widgets-v2/spread/spread-ui.d.ts +1 -1
- package/dist/types/widgets-v2/spread/spread.d.ts +1 -1
- package/dist/types/widgets-v2/state/widget-state.d.ts +1 -1
- package/dist/types/widgets-v2/subheader/subheader.d.ts +1 -1
- package/dist/types/widgets-v2/table/skeleton.d.ts +1 -1
- package/dist/types/widgets-v2/table/table-ui.d.ts +1 -1
- package/dist/types/widgets-v2/table/table.d.ts +1 -1
- package/dist/types/widgets-v2/timeseries/skeleton.d.ts +1 -1
- package/dist/types/widgets-v2/toolbox/toolbox.d.ts +1 -1
- package/dist/types/widgets-v2/wrapper/widget-actions.d.ts +2 -2
- package/dist/types/widgets-v2/wrapper/widget-content.d.ts +2 -2
- package/dist/types/widgets-v2/wrapper/widget-wrapper.d.ts +1 -1
- package/dist/use-widget-selector-VSPhfhNm.js +12 -0
- package/dist/{use-widget-selector-DFl2hW0R.js.map → use-widget-selector-VSPhfhNm.js.map} +1 -1
- package/dist/utils-DtvTjjMq.js +58 -0
- package/dist/utils-DtvTjjMq.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 -1317
- package/dist/widgets/bar.js +183 -175
- package/dist/widgets/bar.js.map +1 -1
- package/dist/widgets/category.js +429 -434
- package/dist/widgets/category.js.map +1 -1
- package/dist/widgets/echart.js +3 -120
- package/dist/widgets/error.js +28 -38
- package/dist/widgets/error.js.map +1 -1
- package/dist/widgets/formula.js +3 -123
- package/dist/widgets/histogram.js +183 -202
- package/dist/widgets/histogram.js.map +1 -1
- package/dist/widgets/loader.js +63 -61
- package/dist/widgets/loader.js.map +1 -1
- package/dist/widgets/markdown.js +141 -123
- package/dist/widgets/markdown.js.map +1 -1
- package/dist/widgets/no-data.js +52 -58
- package/dist/widgets/no-data.js.map +1 -1
- package/dist/widgets/note.js +125 -122
- package/dist/widgets/note.js.map +1 -1
- package/dist/widgets/pie.js +245 -259
- package/dist/widgets/pie.js.map +1 -1
- package/dist/widgets/range.js +225 -204
- package/dist/widgets/range.js.map +1 -1
- package/dist/widgets/scatterplot.js +220 -215
- 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 +22 -23
- package/dist/widgets/skeleton-loader.js.map +1 -1
- package/dist/widgets/spread.js +150 -156
- package/dist/widgets/spread.js.map +1 -1
- package/dist/widgets/stores.js +3 -8
- package/dist/widgets/subheader.js +49 -50
- package/dist/widgets/subheader.js.map +1 -1
- package/dist/widgets/table.js +576 -644
- 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 +140 -145
- package/dist/widgets/toolbar-actions.js.map +1 -1
- package/dist/widgets/utils.js +17 -33
- package/dist/widgets/utils.js.map +1 -1
- package/dist/widgets/wrapper.js +265 -276
- package/dist/widgets/wrapper.js.map +1 -1
- package/dist/widgets-v2/actions.js +4 -51
- package/dist/widgets-v2/bar.js +253 -307
- package/dist/widgets-v2/bar.js.map +1 -1
- package/dist/widgets-v2/category.js +2 -98
- package/dist/widgets-v2/echart.js +2 -57
- package/dist/widgets-v2/formula.js +2 -68
- package/dist/widgets-v2/histogram.js +285 -350
- package/dist/widgets-v2/histogram.js.map +1 -1
- package/dist/widgets-v2/markdown.js +3 -69
- package/dist/widgets-v2/pie.js +363 -461
- package/dist/widgets-v2/pie.js.map +1 -1
- package/dist/widgets-v2/range.js +2 -52
- package/dist/widgets-v2/scatterplot.js +316 -391
- package/dist/widgets-v2/scatterplot.js.map +1 -1
- package/dist/widgets-v2/spread.js +2 -66
- package/dist/widgets-v2/stores.js +2 -42
- package/dist/widgets-v2/table.js +2 -78
- package/dist/widgets-v2/timeseries.js +285 -340
- package/dist/widgets-v2/timeseries.js.map +1 -1
- package/dist/widgets-v2/utils.js +2 -8
- package/dist/widgets-v2.js +955 -951
- package/dist/widgets-v2.js.map +1 -1
- package/dist/zoom-toggle-CA0ifG23.js +164 -0
- package/dist/zoom-toggle-CA0ifG23.js.map +1 -0
- package/package.json +4 -4
- package/src/hooks/use-widget-ref.ts +1 -0
- package/src/widgets-v2/index.ts +6 -1
- package/src/widgets-v2/spread/band.test.ts +46 -0
- package/src/widgets-v2/spread/band.ts +47 -0
- package/src/widgets-v2/spread/index.ts +1 -0
- package/dist/category-Ct2BzADB.js +0 -753
- package/dist/category-Ct2BzADB.js.map +0 -1
- package/dist/change-column-Fu1DCYQ3.js +0 -1186
- package/dist/change-column-Fu1DCYQ3.js.map +0 -1
- package/dist/cjs-D4KH3azB.js +0 -85
- package/dist/cjs-D4KH3azB.js.map +0 -1
- package/dist/components.js.map +0 -1
- package/dist/copy-button-DGL1tyli.js +0 -26
- package/dist/copy-button-DGL1tyli.js.map +0 -1
- package/dist/csv-item-hH_Gt7ur.js +0 -32
- package/dist/csv-item-hH_Gt7ur.js.map +0 -1
- package/dist/data-zoom-layout-D_FYdnap.js +0 -28
- package/dist/data-zoom-layout-D_FYdnap.js.map +0 -1
- package/dist/download-config-OKlLLSW_.js +0 -58
- package/dist/download-config-OKlLLSW_.js.map +0 -1
- package/dist/echart-B10dhEaM.js +0 -262
- package/dist/echart-B10dhEaM.js.map +0 -1
- package/dist/exports-Cr43OCul.js +0 -51
- package/dist/exports-Cr43OCul.js.map +0 -1
- package/dist/exports-Cx-f6m6U.js +0 -63
- package/dist/exports-Cx-f6m6U.js.map +0 -1
- package/dist/formatter-B9Bxn1k7.js +0 -6
- package/dist/formatter-B9Bxn1k7.js.map +0 -1
- package/dist/formula-DuC0NQLH.js +0 -79
- package/dist/formula-DuC0NQLH.js.map +0 -1
- package/dist/lasso-tool-YLFRgb-S.js +0 -582
- package/dist/lasso-tool-YLFRgb-S.js.map +0 -1
- package/dist/legend/stores.js.map +0 -1
- package/dist/legend-store-registry-p1tSwJXH.js +0 -472
- package/dist/legend-store-registry-p1tSwJXH.js.map +0 -1
- package/dist/markdown-DdqANCiN.js +0 -102
- package/dist/markdown-DdqANCiN.js.map +0 -1
- package/dist/markdown-content-Dk2DSgbf.js +0 -10287
- package/dist/markdown-content-Dk2DSgbf.js.map +0 -1
- package/dist/option-builders-DPeoyQaM.js +0 -130
- package/dist/option-builders-DPeoyQaM.js.map +0 -1
- package/dist/options-CthfUJDz.js +0 -46
- package/dist/options-CthfUJDz.js.map +0 -1
- package/dist/png-item-9dNbB37T.js +0 -57
- package/dist/png-item-9dNbB37T.js.map +0 -1
- package/dist/range-l4fNHLEg.js +0 -213
- package/dist/range-l4fNHLEg.js.map +0 -1
- package/dist/resolve-theme-color-BdojIw0K.js +0 -47
- package/dist/resolve-theme-color-BdojIw0K.js.map +0 -1
- package/dist/row-DZSP99LW.js +0 -34
- package/dist/row-DZSP99LW.js.map +0 -1
- package/dist/series-DLNHDWs0.js +0 -90
- package/dist/series-DLNHDWs0.js.map +0 -1
- package/dist/shared-resize-observer-98b1SK1e.js +0 -17
- package/dist/shared-resize-observer-98b1SK1e.js.map +0 -1
- package/dist/smart-tooltip-DFV6GD8R.js +0 -40
- package/dist/smart-tooltip-DFV6GD8R.js.map +0 -1
- package/dist/spread-4MYPOntd.js +0 -66
- package/dist/spread-4MYPOntd.js.map +0 -1
- package/dist/style-DVnT6HC1.js +0 -131
- package/dist/style-DVnT6HC1.js.map +0 -1
- package/dist/styles-cohnxh9F.js +0 -23
- package/dist/styles-cohnxh9F.js.map +0 -1
- package/dist/table-CTcLOycx.js +0 -383
- package/dist/table-CTcLOycx.js.map +0 -1
- package/dist/tooltip-BDnrRKrp.js +0 -25
- package/dist/tooltip-BDnrRKrp.js.map +0 -1
- package/dist/transforms-Cdx4fkU5.js +0 -106
- package/dist/transforms-Cdx4fkU5.js.map +0 -1
- package/dist/use-transform-DXPN3nY7.js +0 -110
- package/dist/use-transform-DXPN3nY7.js.map +0 -1
- package/dist/use-widget-ref-Ddr_SlJJ.js +0 -22
- package/dist/use-widget-ref-Ddr_SlJJ.js.map +0 -1
- package/dist/use-widget-selector-DFl2hW0R.js +0 -12
- package/dist/utils-BOhInag6.js +0 -170
- package/dist/utils-BOhInag6.js.map +0 -1
- package/dist/widget-context-DTGO0Yta.js +0 -13
- package/dist/widget-context-DTGO0Yta.js.map +0 -1
- package/dist/widget-store-Bw5zRUGg.js +0 -261
- package/dist/widget-store-Bw5zRUGg.js.map +0 -1
- package/dist/widget-store-registry-_W4Z4xp-.js +0 -178
- package/dist/widget-store-registry-_W4Z4xp-.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/stores.js.map +0 -1
- package/dist/widgets-v2/actions.js.map +0 -1
- package/dist/widgets-v2/category.js.map +0 -1
- package/dist/widgets-v2/echart.js.map +0 -1
- package/dist/widgets-v2/formula.js.map +0 -1
- package/dist/widgets-v2/markdown.js.map +0 -1
- package/dist/widgets-v2/range.js.map +0 -1
- package/dist/widgets-v2/spread.js.map +0 -1
- package/dist/widgets-v2/stores.js.map +0 -1
- package/dist/widgets-v2/table.js.map +0 -1
- package/dist/widgets-v2/utils.js.map +0 -1
|
@@ -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
|
|
55
|
-
Markdown: ({ content, lineClamp, labels }: import('.').NoteMarkdownProps) => import("react
|
|
54
|
+
readonly Note: (({ lineClamp, labels, children }: import('.').NoteProps) => import("react").JSX.Element) & {
|
|
55
|
+
Markdown: ({ content, lineClamp, labels }: import('.').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
|
|
69
|
-
Slot: ({ children, title, labels, closeIcon: CloseSvg, iconProps, }: import('./actions').FullScreenSlotProps) => import("react
|
|
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;
|
|
70
70
|
};
|
|
71
71
|
readonly LockSelection: typeof LockSelection;
|
|
72
72
|
readonly ChangeColumn: typeof ChangeColumn;
|
|
@@ -102,7 +102,7 @@ export type { MarkdownUIProps, MarkdownWidgetData } from './markdown';
|
|
|
102
102
|
export type { PieDatum, PieWidgetData } from './pie';
|
|
103
103
|
export type { TimeseriesDatum, TimeseriesWidgetData } from './timeseries';
|
|
104
104
|
export type { ScatterplotDatum, ScatterplotWidgetData } from './scatterplot';
|
|
105
|
-
export type { SpreadUIProps, SpreadDataItem, SpreadWidgetData } from './spread';
|
|
105
|
+
export type { SpreadUIProps, SpreadDataItem, SpreadWidgetData, SpreadVariant, } from './spread';
|
|
106
106
|
export type { RangeProps, RangeUIProps, RangeDataItem, RangeWidgetData, RangeItemValue, } from './range';
|
|
107
107
|
export type { CategoryProps, CategoryUIProps, CategoryDataItem, CategoryWidgetData, CategoryKey, CategorySeriesConfig, CategoryLabels, } from './category';
|
|
108
108
|
export type { TableProps, TableUIProps, TableColumn, TableRow, TableWidgetData, TableWidgetState, TableSortDirection, TableSortState, } from './table';
|
|
@@ -37,4 +37,4 @@ export interface MarkdownContentProps {
|
|
|
37
37
|
* tree. `safeUrlTransform` is always applied as a second layer for markdown
|
|
38
38
|
* links/images on the `allowHtml=false` path.
|
|
39
39
|
*/
|
|
40
|
-
export declare function MarkdownContent({ content, components, allowHtml, allowImages, gfm, }: MarkdownContentProps): import("react
|
|
40
|
+
export declare function MarkdownContent({ content, components, allowHtml, allowImages, gfm, }: MarkdownContentProps): import("react").JSX.Element;
|
|
@@ -9,4 +9,4 @@ export interface MarkdownUIProps {
|
|
|
9
9
|
* the one slot in the library where authors can ship rich content. Caption
|
|
10
10
|
* slots like `Note` keep the conservative defaults.
|
|
11
11
|
*/
|
|
12
|
-
export declare function MarkdownUI({ content }: MarkdownUIProps): import("react
|
|
12
|
+
export declare function MarkdownUI({ content }: MarkdownUIProps): import("react").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export interface MarkdownSkeletonProps {
|
|
2
2
|
lines?: number;
|
|
3
3
|
}
|
|
4
|
-
export declare function MarkdownSkeleton({ lines }: MarkdownSkeletonProps): import("react
|
|
4
|
+
export declare function MarkdownSkeleton({ lines }: MarkdownSkeletonProps): import("react").JSX.Element;
|
|
@@ -33,13 +33,13 @@ export interface NoteMarkdownProps {
|
|
|
33
33
|
* Renders `children` verbatim through caption typography. For markdown
|
|
34
34
|
* source, use the {@link NoteMarkdown} (`Note.Markdown`) subcomponent.
|
|
35
35
|
*/
|
|
36
|
-
declare function NoteBase({ lineClamp, labels, children }: NoteProps): import("react
|
|
36
|
+
declare function NoteBase({ lineClamp, labels, children }: NoteProps): import("react").JSX.Element;
|
|
37
37
|
/**
|
|
38
38
|
* Markdown variant of {@link Note}. Pipes the `content` string through the
|
|
39
39
|
* shared {@link MarkdownContent} engine with caption-safe element mapping
|
|
40
40
|
* (headings demoted, links open in new tabs, images/HTML stripped).
|
|
41
41
|
*/
|
|
42
|
-
declare function NoteMarkdown({ content, lineClamp, labels }: NoteMarkdownProps): import("react
|
|
42
|
+
declare function NoteMarkdown({ content, lineClamp, labels }: NoteMarkdownProps): import("react").JSX.Element;
|
|
43
43
|
export declare const Note: typeof NoteBase & {
|
|
44
44
|
Markdown: typeof NoteMarkdown;
|
|
45
45
|
};
|
|
@@ -10,4 +10,4 @@ export interface PieSkeletonProps {
|
|
|
10
10
|
* Single donut only: multi-series pie loads as a horizontal bar chart, so
|
|
11
11
|
* rendering one ring stays honest regardless of `count`.
|
|
12
12
|
*/
|
|
13
|
-
export declare function PieSkeleton({ count }: PieSkeletonProps): import("react
|
|
13
|
+
export declare function PieSkeleton({ count }: PieSkeletonProps): import("react").JSX.Element;
|
|
@@ -29,4 +29,4 @@ export interface ProviderProps {
|
|
|
29
29
|
* (Formula, Spread, Range, Table, Category, Markdown) just don't pass
|
|
30
30
|
* anything ECharts-shaped.
|
|
31
31
|
*/
|
|
32
|
-
export declare function Provider({ id, data, isLoading, isFetching, error, formatter, labelFormatter, keepAlive, children, }: ProviderProps): import("react
|
|
32
|
+
export declare function Provider({ id, data, isLoading, isFetching, error, formatter, labelFormatter, keepAlive, children, }: ProviderProps): import("react").JSX.Element;
|
|
@@ -24,4 +24,4 @@ export interface RangeUIProps {
|
|
|
24
24
|
* UX. Each item is always a two-thumb range; supply `value` to seed the
|
|
25
25
|
* starting selection, otherwise it defaults to `[min, max]`.
|
|
26
26
|
*/
|
|
27
|
-
export declare function RangeUI({ items, onChange, onChangeCommitted, formatter, }: RangeUIProps): import("react
|
|
27
|
+
export declare function RangeUI({ items, onChange, onChangeCommitted, formatter, }: RangeUIProps): import("react").JSX.Element;
|
|
@@ -21,4 +21,4 @@ export interface RangeProps {
|
|
|
21
21
|
* is expected to update the data prop on `<Provider>`. Use `disabled` on
|
|
22
22
|
* individual `RangeDataItem`s to disable specific rows.
|
|
23
23
|
*/
|
|
24
|
-
export declare function Range({ onChange, onChangeCommitted }: RangeProps): import("react
|
|
24
|
+
export declare function Range({ onChange, onChangeCommitted }: RangeProps): import("react").JSX.Element;
|
|
@@ -6,4 +6,4 @@ export interface RangeSkeletonProps {
|
|
|
6
6
|
* matching the slider-then-inputs layout of {@link RangeUI} so the layout
|
|
7
7
|
* doesn't jump when data resolves.
|
|
8
8
|
*/
|
|
9
|
-
export declare function RangeSkeleton({ count }: RangeSkeletonProps): import("react
|
|
9
|
+
export declare function RangeSkeleton({ count }: RangeSkeletonProps): import("react").JSX.Element;
|
|
@@ -9,4 +9,4 @@ export interface ScatterplotSkeletonProps {
|
|
|
9
9
|
* rather than a generic list. Matches bar/histogram/pie skeleton structure
|
|
10
10
|
* (grid stub + legend stub in a flex column).
|
|
11
11
|
*/
|
|
12
|
-
export declare function ScatterplotSkeleton({ count }: ScatterplotSkeletonProps): import("react
|
|
12
|
+
export declare function ScatterplotSkeleton({ count }: ScatterplotSkeletonProps): import("react").JSX.Element;
|
|
@@ -26,4 +26,4 @@ export interface SelectionSummaryProps {
|
|
|
26
26
|
* node instead — it receives the already-resolved displayed number (which
|
|
27
27
|
* equals `total` when nothing is selected).
|
|
28
28
|
*/
|
|
29
|
-
export declare function SelectionSummary({ count, total, onClear, labels, icon: Icon, iconProps, }: SelectionSummaryProps): import("react
|
|
29
|
+
export declare function SelectionSummary({ count, total, onClear, labels, icon: Icon, iconProps, }: SelectionSummaryProps): import("react").JSX.Element | null;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* How a `spread` amount is applied to a centre value.
|
|
3
|
+
*
|
|
4
|
+
* - `percentage` — `spread` is a whole-number percentage of the centre
|
|
5
|
+
* value, so `5` means +/-5%.
|
|
6
|
+
* - `absolute` — `spread` is a raw offset in the value's own units.
|
|
7
|
+
*/
|
|
8
|
+
export type SpreadVariant = 'percentage' | 'absolute';
|
|
9
|
+
export interface GetSpreadBandOptions {
|
|
10
|
+
/** The centre value the band is drawn around. */
|
|
11
|
+
value: number;
|
|
12
|
+
/** Half-width of the band, read according to `variant`. */
|
|
13
|
+
spread: number;
|
|
14
|
+
/** Defaults to `percentage`. */
|
|
15
|
+
variant?: SpreadVariant;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Derives the `min` / `max` band around a centre value, for feeding a
|
|
19
|
+
* {@link SpreadDataItem} from a single aggregated number (a prediction, a
|
|
20
|
+
* target) plus a tolerance — rather than from a real column range.
|
|
21
|
+
*
|
|
22
|
+
* `spread` is read as a percentage by default, which is what a tolerance
|
|
23
|
+
* almost always is: an absolute offset is meaningless without knowing the
|
|
24
|
+
* value's magnitude, and gets visually lost on large values (+/-5 on a
|
|
25
|
+
* prediction of 204,113 renders as a range indistinguishable from a single
|
|
26
|
+
* number).
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* getSpreadBand({ value: 1000, spread: 5 })
|
|
30
|
+
* // -> { min: 950, max: 1050 }
|
|
31
|
+
* getSpreadBand({ value: 1000, spread: 5, variant: 'absolute' })
|
|
32
|
+
* // -> { min: 995, max: 1005 }
|
|
33
|
+
*/
|
|
34
|
+
export declare function getSpreadBand({ value, spread, variant, }: GetSpreadBandOptions): {
|
|
35
|
+
min: number;
|
|
36
|
+
max: number;
|
|
37
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -3,4 +3,5 @@ export { SpreadUI, type SpreadUIProps } from './spread-ui';
|
|
|
3
3
|
export { Separator } from './separator';
|
|
4
4
|
export { SpreadSkeleton, type SpreadSkeletonProps } from './skeleton';
|
|
5
5
|
export { createSpreadDownloadConfig } from './download';
|
|
6
|
+
export { getSpreadBand, type SpreadVariant, type GetSpreadBandOptions } from './band';
|
|
6
7
|
export type { SpreadDataItem, SpreadWidgetData } from './types';
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
* baseline alignment) matches the numbers around it. Renders with
|
|
5
5
|
* `text.secondary` so it visually recedes between the two bounds.
|
|
6
6
|
*/
|
|
7
|
-
export declare function Separator(): import("react
|
|
7
|
+
export declare function Separator(): import("react").JSX.Element;
|
|
@@ -6,4 +6,4 @@ export interface SpreadSkeletonProps {
|
|
|
6
6
|
* sized for the `min — max` pair so the layout doesn't jump once data
|
|
7
7
|
* resolves. Mirrors the row-per-item structure of {@link SpreadUI}.
|
|
8
8
|
*/
|
|
9
|
-
export declare function SpreadSkeleton({ count }: SpreadSkeletonProps): import("react
|
|
9
|
+
export declare function SpreadSkeleton({ count }: SpreadSkeletonProps): import("react").JSX.Element;
|
|
@@ -15,4 +15,4 @@ export interface SpreadUIProps {
|
|
|
15
15
|
* {@link Note}) and the Formula row styles so Spread and Formula stay
|
|
16
16
|
* visually aligned when used together.
|
|
17
17
|
*/
|
|
18
|
-
export declare function SpreadUI({ items, formatter, ref }: SpreadUIProps): import("react
|
|
18
|
+
export declare function SpreadUI({ items, formatter, ref }: SpreadUIProps): import("react").JSX.Element;
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Stateful Spread bridge — reads `data` (post-pipeline) and `formatter` from
|
|
3
3
|
* the per-widget store and forwards them to the pure {@link SpreadUI}.
|
|
4
4
|
*/
|
|
5
|
-
export declare function Spread(): import("react
|
|
5
|
+
export declare function Spread(): import("react").JSX.Element;
|
|
@@ -16,4 +16,4 @@ export interface StateProps {
|
|
|
16
16
|
* errors thrown by `children` are caught by the inlined error boundary and
|
|
17
17
|
* routed through the same path.
|
|
18
18
|
*/
|
|
19
|
-
export declare function State({ skeleton, children, isEmpty, fallback, labels, }: StateProps): import("react
|
|
19
|
+
export declare function State({ skeleton, children, isEmpty, fallback, labels, }: StateProps): import("react").JSX.Element;
|
|
@@ -8,4 +8,4 @@ export interface SubheaderProps {
|
|
|
8
8
|
* Stateless layout: CSS grid `1fr auto`. Children self-place — typically
|
|
9
9
|
* `<Widget.SelectionSummary />` (left) and `<Widget.Toolbox>` (right).
|
|
10
10
|
*/
|
|
11
|
-
export declare function Subheader({ sx, children }: SubheaderProps): import("react
|
|
11
|
+
export declare function Subheader({ sx, children }: SubheaderProps): import("react").JSX.Element;
|
|
@@ -19,4 +19,4 @@ export interface TableSkeletonProps {
|
|
|
19
19
|
* Mirrors the v1 widget's `<TableSkeleton>` structure with v2's themed
|
|
20
20
|
* `styles.headerCell`.
|
|
21
21
|
*/
|
|
22
|
-
export declare function TableSkeleton({ rows, columns, size, }: TableSkeletonProps): import("react
|
|
22
|
+
export declare function TableSkeleton({ rows, columns, size, }: TableSkeletonProps): import("react").JSX.Element;
|
|
@@ -41,4 +41,4 @@ export interface TableUIProps<T extends TableRow = TableRow> {
|
|
|
41
41
|
* Has no widget-store coupling — `<Table>` (the bridge) reads from the store
|
|
42
42
|
* and feeds this UI with already-projected data.
|
|
43
43
|
*/
|
|
44
|
-
export declare function TableUI<T extends TableRow = TableRow>({ columns, rows, total, page, pageSize, pageSizeOptions, sort, keyColumn, selection, selectable, onSortChange, onPageChange, onPageSizeChange, onSelectionChange, onRowClick, onRowHover, labels, emptyContent, size, }: TableUIProps<T>): import("react
|
|
44
|
+
export declare function TableUI<T extends TableRow = TableRow>({ columns, rows, total, page, pageSize, pageSizeOptions, sort, keyColumn, selection, selectable, onSortChange, onPageChange, onPageSizeChange, onSelectionChange, onRowClick, onRowHover, labels, emptyContent, size, }: TableUIProps<T>): import("react").JSX.Element;
|
|
@@ -47,4 +47,4 @@ export interface TableProps<T extends TableRow = TableRow> extends Pick<TableUIP
|
|
|
47
47
|
* locally, and feeds `<TableUI />`. Sort, page, and pageSize live on the
|
|
48
48
|
* extended widget state ({@link TableWidgetState}).
|
|
49
49
|
*/
|
|
50
|
-
export declare function Table<T extends TableRow = TableRow>({ columns, visibleColumns, initialPageSize, selection, onSelectionChange, onRowClick, onRowHover, remote, total: remoteTotal, onSortChange, onPageChange, onPageSizeChange, ...uiProps }: TableProps<T>): import("react
|
|
50
|
+
export declare function Table<T extends TableRow = TableRow>({ columns, visibleColumns, initialPageSize, selection, onSelectionChange, onRowClick, onRowHover, remote, total: remoteTotal, onSortChange, onPageChange, onPageSizeChange, ...uiProps }: TableProps<T>): import("react").JSX.Element;
|
|
@@ -46,4 +46,4 @@ export interface ToolboxProps {
|
|
|
46
46
|
* they don't appear as orphan separators in the inline row; they're still
|
|
47
47
|
* there in the popover.
|
|
48
48
|
*/
|
|
49
|
-
export declare function Toolbox({ visibleCount, labels, icon: Icon, iconProps, direction, sx, children, }: ToolboxProps): import("react
|
|
49
|
+
export declare function Toolbox({ visibleCount, labels, icon: Icon, iconProps, direction, sx, children, }: ToolboxProps): import("react").JSX.Element | null;
|
|
@@ -14,9 +14,9 @@ export interface ActionsProps {
|
|
|
14
14
|
* The container also stops click propagation so interacting with an action
|
|
15
15
|
* doesn't toggle the wrapper's collapse.
|
|
16
16
|
*/
|
|
17
|
-
export declare function Actions({ sx, children }: ActionsProps): import("react
|
|
17
|
+
export declare function Actions({ sx, children }: ActionsProps): import("react").JSX.Element;
|
|
18
18
|
export interface OptionsProps {
|
|
19
19
|
sx?: SxProps<Theme>;
|
|
20
20
|
children: ReactNode;
|
|
21
21
|
}
|
|
22
|
-
export declare function Options({ sx, children }: OptionsProps): import("react
|
|
22
|
+
export declare function Options({ sx, children }: OptionsProps): import("react").JSX.Element;
|
|
@@ -4,9 +4,9 @@ export interface ContentProps {
|
|
|
4
4
|
sx?: SxProps<Theme>;
|
|
5
5
|
children: ReactNode;
|
|
6
6
|
}
|
|
7
|
-
export declare function Content({ sx, children }: ContentProps): import("react
|
|
7
|
+
export declare function Content({ sx, children }: ContentProps): import("react").JSX.Element;
|
|
8
8
|
export interface FooterProps {
|
|
9
9
|
sx?: SxProps<Theme>;
|
|
10
10
|
children: ReactNode;
|
|
11
11
|
}
|
|
12
|
-
export declare function Footer({ sx, children }: FooterProps): import("react
|
|
12
|
+
export declare function Footer({ sx, children }: FooterProps): import("react").JSX.Element;
|
|
@@ -53,4 +53,4 @@ export interface WrapperProps {
|
|
|
53
53
|
* render inside the summary row; everything else (`<Content>`, `<Footer>`,
|
|
54
54
|
* loose nodes) renders inside the details panel.
|
|
55
55
|
*/
|
|
56
|
-
export declare function Wrapper({ title, collapsed, onCollapseChange, defaultCollapsed, disabled, variant, labels, expandIcon: ExpandIcon, iconProps, sx, children, }: WrapperProps): import("react
|
|
56
|
+
export declare function Wrapper({ title, collapsed, onCollapseChange, defaultCollapsed, disabled, variant, labels, expandIcon: ExpandIcon, iconProps, sx, children, }: WrapperProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { t as e } from "./widget-store-BFPKYm4R.js";
|
|
2
|
+
import { c as t } from "react/compiler-runtime";
|
|
3
|
+
import { useShallow as n } from "zustand/shallow";
|
|
4
|
+
//#region src/widgets/stores/use-widget-selector.ts
|
|
5
|
+
function r(r, i) {
|
|
6
|
+
let a = t(3), o;
|
|
7
|
+
return a[0] !== i || a[1] !== r ? (o = (e) => i(e.widgets[r]), a[0] = i, a[1] = r, a[2] = o) : o = a[2], e(n(o));
|
|
8
|
+
}
|
|
9
|
+
//#endregion
|
|
10
|
+
export { r as t };
|
|
11
|
+
|
|
12
|
+
//# sourceMappingURL=use-widget-selector-VSPhfhNm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-widget-selector-
|
|
1
|
+
{"version":3,"file":"use-widget-selector-VSPhfhNm.js","names":["useWidgetStore","WidgetState","useShallow","useWidgetSelector","widgetId","selector","$","_c","t0","state","widgets"],"sources":["../src/widgets/stores/use-widget-selector.ts"],"sourcesContent":["import { useWidgetStore } from './widget-store'\nimport type { WidgetState } from './types'\nimport { useShallow } from 'zustand/shallow'\n\n/**\n * Scoped selector hook for reading a single widget's state from the store.\n *\n * Consolidates multiple `useWidgetStore(useShallow(...))` calls into a single\n * subscription per component. The selector receives only this widget's state\n * (or undefined if not yet registered), and uses shallow comparison to avoid\n * re-renders when unrelated properties change.\n *\n * @param widgetId - The widget ID to subscribe to.\n * @param selector - A function that extracts the needed properties from the widget state.\n * Must be a stable reference (inline arrow is fine due to useCallback wrapping).\n *\n * @example\n * ```tsx\n * // Before: 4 separate subscriptions\n * const title = useWidgetStore(useShallow((s) => s.getWidget(id)?.title))\n * const collapsed = useWidgetStore(useShallow((s) => s.getWidget(id)?.collapsed))\n * const disabled = useWidgetStore(useShallow((s) => s.getWidget(id)?.disabled))\n * const isFetching = useWidgetStore(useShallow((s) => s.getWidget(id)?.isFetching))\n *\n * // After: 1 subscription\n * const { title, collapsed, disabled, isFetching } = useWidgetSelector(id, (w) => ({\n * title: w?.title, collapsed: w?.collapsed, disabled: w?.disabled, isFetching: w?.isFetching,\n * }))\n *\n * // With extra dependencies (e.g., index prop):\n * const value = useWidgetSelector(\n * id,\n * (w) => (w as MyState | undefined)?.data?.[index]?.value,\n * [index],\n * )\n * ```\n */\nexport function useWidgetSelector<T>(\n widgetId: string,\n selector: (widget: WidgetState | undefined) => T,\n): T {\n return useWidgetStore(\n useShallow((state: { widgets: Record<string, WidgetState> }) =>\n selector(state.widgets[widgetId]),\n ),\n )\n}\n"],"mappings":";;;;AAqCA,SAAOG,EAAAC,GAAAC,GAAA;CAAA,IAAAC,IAAAC,EAAA,CAAA,GAAAC;CAMgC,OANhCF,EAAA,OAAAD,KAAAC,EAAA,OAAAF,KAKQI,KAAAC,MACTJ,EAASI,EAAKC,QAASN,EAAS,GAACE,EAAA,KAAAD,GAAAC,EAAA,KAAAF,GAAAE,EAAA,KAAAE,KAAAA,IAAAF,EAAA,IAF9BN,EACLE,EAAWM,CAEX,CACF;AAAC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { r as e } from "./zoom-toggle-CA0ifG23.js";
|
|
2
|
+
//#region src/widgets-v2/utils/merge-options.ts
|
|
3
|
+
function t(e, t) {
|
|
4
|
+
if (!t) return e;
|
|
5
|
+
let r = { ...e };
|
|
6
|
+
for (let i of Object.keys(t)) {
|
|
7
|
+
let a = e[i], o = t[i];
|
|
8
|
+
o !== void 0 && (r[i] = n(a, o));
|
|
9
|
+
}
|
|
10
|
+
return r;
|
|
11
|
+
}
|
|
12
|
+
function n(e, t) {
|
|
13
|
+
if (Array.isArray(e) && Array.isArray(t)) {
|
|
14
|
+
let r = Math.max(e.length, t.length), i = Array(r);
|
|
15
|
+
for (let a = 0; a < r; a++) {
|
|
16
|
+
let r = e[a], o = t[a];
|
|
17
|
+
o === void 0 ? i[a] = r : r === void 0 ? i[a] = o : i[a] = n(r, o);
|
|
18
|
+
}
|
|
19
|
+
return i;
|
|
20
|
+
}
|
|
21
|
+
return r(e) && r(t) ? {
|
|
22
|
+
...e,
|
|
23
|
+
...t
|
|
24
|
+
} : t;
|
|
25
|
+
}
|
|
26
|
+
function r(e) {
|
|
27
|
+
if (typeof e != "object" || !e) return !1;
|
|
28
|
+
let t = Object.getPrototypeOf(e);
|
|
29
|
+
return t === Object.prototype || t === null;
|
|
30
|
+
}
|
|
31
|
+
//#endregion
|
|
32
|
+
//#region src/widgets-v2/utils/data-zoom-layout.ts
|
|
33
|
+
function i(t, n) {
|
|
34
|
+
return !Array.isArray(t) || t.length === 0 ? null : t.map((t) => {
|
|
35
|
+
if (typeof t != "object" || !t) return t;
|
|
36
|
+
let r = t;
|
|
37
|
+
return r.type === "slider" && n ? {
|
|
38
|
+
...r,
|
|
39
|
+
bottom: e.sliderBottomWithLegend
|
|
40
|
+
} : r;
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
//#endregion
|
|
44
|
+
//#region src/widgets-v2/utils/resolve-theme-color.ts
|
|
45
|
+
function a(e, t) {
|
|
46
|
+
if (t == null) return;
|
|
47
|
+
if (!t.includes(".")) return t;
|
|
48
|
+
let n = t.split("."), r = e.palette;
|
|
49
|
+
for (let e of n) {
|
|
50
|
+
if (typeof r != "object" || !r) return t;
|
|
51
|
+
r = r[e];
|
|
52
|
+
}
|
|
53
|
+
return typeof r == "string" ? r : t;
|
|
54
|
+
}
|
|
55
|
+
//#endregion
|
|
56
|
+
export { i as n, t as r, a as t };
|
|
57
|
+
|
|
58
|
+
//# sourceMappingURL=utils-DtvTjjMq.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils-DtvTjjMq.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"}
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
import { create as e } from "zustand";
|
|
2
|
+
//#region src/widgets/stores/widget-store.ts
|
|
3
|
+
var t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), r = e()((e, r) => ({
|
|
4
|
+
widgets: {},
|
|
5
|
+
setWidget: (t, n) => {
|
|
6
|
+
e((e) => {
|
|
7
|
+
let r = e.widgets[t] ?? {};
|
|
8
|
+
return { widgets: {
|
|
9
|
+
...e.widgets,
|
|
10
|
+
[t]: {
|
|
11
|
+
...r,
|
|
12
|
+
...n,
|
|
13
|
+
id: t
|
|
14
|
+
}
|
|
15
|
+
} };
|
|
16
|
+
});
|
|
17
|
+
},
|
|
18
|
+
removeWidget: (t) => e((e) => {
|
|
19
|
+
let n = { ...e.widgets };
|
|
20
|
+
return delete n[t], { widgets: n };
|
|
21
|
+
}),
|
|
22
|
+
clearWidgets: () => e({ widgets: {} }),
|
|
23
|
+
getWidget: (e) => r().widgets[e],
|
|
24
|
+
registerTool: (t, n) => {
|
|
25
|
+
let i = r().widgets[t]?.registeredTools?.find((e) => e.id === n.id);
|
|
26
|
+
if (i?.order === n.order && i.enabled === n.enabled && i.type === n.type && i.disables === n.disables) {
|
|
27
|
+
i.fn = n.fn;
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
e((e) => {
|
|
31
|
+
let r = e.widgets[t] ?? {}, i = (r.registeredTools ?? []).filter((e) => e.id !== n.id);
|
|
32
|
+
return { widgets: {
|
|
33
|
+
...e.widgets,
|
|
34
|
+
[t]: {
|
|
35
|
+
...r,
|
|
36
|
+
id: t,
|
|
37
|
+
registeredTools: [...i, n]
|
|
38
|
+
}
|
|
39
|
+
} };
|
|
40
|
+
});
|
|
41
|
+
},
|
|
42
|
+
unregisterTool: (t, n) => e((e) => {
|
|
43
|
+
let r = e.widgets[t];
|
|
44
|
+
if (!r) return e;
|
|
45
|
+
let i = (r.registeredTools ?? []).filter((e) => e.id !== n);
|
|
46
|
+
return { widgets: {
|
|
47
|
+
...e.widgets,
|
|
48
|
+
[t]: {
|
|
49
|
+
...r,
|
|
50
|
+
registeredTools: i
|
|
51
|
+
}
|
|
52
|
+
} };
|
|
53
|
+
}),
|
|
54
|
+
triggerToolPipeline: (t) => e((e) => {
|
|
55
|
+
let n = e.widgets[t];
|
|
56
|
+
return n ? { widgets: {
|
|
57
|
+
...e.widgets,
|
|
58
|
+
[t]: {
|
|
59
|
+
...n,
|
|
60
|
+
registeredTools: [...n.registeredTools ?? []]
|
|
61
|
+
}
|
|
62
|
+
} } : e;
|
|
63
|
+
}),
|
|
64
|
+
setToolEnabled: (t, n, i) => {
|
|
65
|
+
let a = r().widgets[t];
|
|
66
|
+
a && a.registeredTools?.find((e) => e.id === n)?.enabled === i || e((e) => {
|
|
67
|
+
let r = e.widgets[t];
|
|
68
|
+
if (!r) return e;
|
|
69
|
+
let a = (r.registeredTools ?? []).map((e) => e.id === n ? {
|
|
70
|
+
...e,
|
|
71
|
+
enabled: i
|
|
72
|
+
} : e);
|
|
73
|
+
return { widgets: {
|
|
74
|
+
...e.widgets,
|
|
75
|
+
[t]: {
|
|
76
|
+
...r,
|
|
77
|
+
registeredTools: a
|
|
78
|
+
}
|
|
79
|
+
} };
|
|
80
|
+
});
|
|
81
|
+
},
|
|
82
|
+
executeToolPipeline: async (n, i) => {
|
|
83
|
+
let a = r().widgets[n];
|
|
84
|
+
if (!a) return;
|
|
85
|
+
let o = (t.get(n) ?? 0) + 1;
|
|
86
|
+
t.set(n, o);
|
|
87
|
+
let s = a, c = /* @__PURE__ */ new Set();
|
|
88
|
+
for (let e of s.registeredTools ?? []) e.enabled && e.disables && e.disables.forEach((e) => c.add(e));
|
|
89
|
+
let l = [...s.registeredTools ?? []].filter((e) => (e.type ?? "data") === "data" && e.enabled && !c.has(e.id)).sort((e, t) => e.order - t.order), u = i;
|
|
90
|
+
for (let e of l) {
|
|
91
|
+
if (t.get(n) !== o) return;
|
|
92
|
+
try {
|
|
93
|
+
u = await e.fn(u);
|
|
94
|
+
} catch (t) {
|
|
95
|
+
console.error(`Tool ${e.id} failed for widget ${n}:`, t);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
let d = r().widgets[n];
|
|
99
|
+
if (d && Object.is(d.data, u) && Object.is(d.sourceData, i)) {
|
|
100
|
+
t.get(n) === o && t.delete(n);
|
|
101
|
+
return;
|
|
102
|
+
}
|
|
103
|
+
e((e) => {
|
|
104
|
+
let t = e.widgets[n];
|
|
105
|
+
return t ? { widgets: {
|
|
106
|
+
...e.widgets,
|
|
107
|
+
[n]: {
|
|
108
|
+
...t,
|
|
109
|
+
sourceData: i,
|
|
110
|
+
data: u
|
|
111
|
+
}
|
|
112
|
+
} } : e;
|
|
113
|
+
}), t.get(n) === o && t.delete(n);
|
|
114
|
+
},
|
|
115
|
+
executeConfigPipeline: async (t, i) => {
|
|
116
|
+
let a = r().widgets[t];
|
|
117
|
+
if (!a) return;
|
|
118
|
+
let o = (n.get(t) ?? 0) + 1;
|
|
119
|
+
n.set(t, o);
|
|
120
|
+
let s = /* @__PURE__ */ new Set();
|
|
121
|
+
for (let e of a.registeredTools ?? []) e.enabled && e.disables && e.disables.forEach((e) => s.add(e));
|
|
122
|
+
let c = [...a.registeredTools ?? []].filter((e) => e.type === "config" && e.enabled && !s.has(e.id)).sort((e, t) => e.order - t.order), l = i;
|
|
123
|
+
for (let e of c) {
|
|
124
|
+
if (n.get(t) !== o) return;
|
|
125
|
+
try {
|
|
126
|
+
l = await e.fn(l);
|
|
127
|
+
} catch (n) {
|
|
128
|
+
console.error(`Config tool ${e.id} failed for widget ${t}:`, n);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
let u = i, d = l, f = r().widgets[t], p = f?._lastConfig, m = {};
|
|
132
|
+
for (let e of Object.keys(d)) {
|
|
133
|
+
let t = !Object.is(d[e], u[e]), n = !p || !(e in p), r = !n && Object.is(f[e], p[e]);
|
|
134
|
+
(t || n || r) && (m[e] = d[e]);
|
|
135
|
+
}
|
|
136
|
+
if (!Object.keys(m).some((e) => !Object.is(f?.[e], m[e])) && Object.is(l, p)) {
|
|
137
|
+
n.get(t) === o && n.delete(t);
|
|
138
|
+
return;
|
|
139
|
+
}
|
|
140
|
+
e((e) => {
|
|
141
|
+
let n = e.widgets[t];
|
|
142
|
+
return n ? { widgets: {
|
|
143
|
+
...e.widgets,
|
|
144
|
+
[t]: {
|
|
145
|
+
...n,
|
|
146
|
+
...m,
|
|
147
|
+
_lastConfig: l
|
|
148
|
+
}
|
|
149
|
+
} } : e;
|
|
150
|
+
}), n.get(t) === o && n.delete(t);
|
|
151
|
+
}
|
|
152
|
+
})), i = {
|
|
153
|
+
get setWidget() {
|
|
154
|
+
return r.getState().setWidget;
|
|
155
|
+
},
|
|
156
|
+
get removeWidget() {
|
|
157
|
+
return r.getState().removeWidget;
|
|
158
|
+
},
|
|
159
|
+
get clearWidgets() {
|
|
160
|
+
return r.getState().clearWidgets;
|
|
161
|
+
},
|
|
162
|
+
get getWidget() {
|
|
163
|
+
return r.getState().getWidget;
|
|
164
|
+
},
|
|
165
|
+
get registerTool() {
|
|
166
|
+
return r.getState().registerTool;
|
|
167
|
+
},
|
|
168
|
+
get unregisterTool() {
|
|
169
|
+
return r.getState().unregisterTool;
|
|
170
|
+
},
|
|
171
|
+
get setToolEnabled() {
|
|
172
|
+
return r.getState().setToolEnabled;
|
|
173
|
+
},
|
|
174
|
+
get triggerToolPipeline() {
|
|
175
|
+
return r.getState().triggerToolPipeline;
|
|
176
|
+
},
|
|
177
|
+
get executeToolPipeline() {
|
|
178
|
+
return r.getState().executeToolPipeline;
|
|
179
|
+
},
|
|
180
|
+
get executeConfigPipeline() {
|
|
181
|
+
return r.getState().executeConfigPipeline;
|
|
182
|
+
}
|
|
183
|
+
};
|
|
184
|
+
//#endregion
|
|
185
|
+
export { i as n, r as t };
|
|
186
|
+
|
|
187
|
+
//# sourceMappingURL=widget-store-BFPKYm4R.js.map
|