@carto/ps-react-ui 4.7.1 → 4.8.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/category-DwaeYjpX.js +656 -0
- package/dist/category-DwaeYjpX.js.map +1 -0
- package/dist/change-column-Cidl_M-4.js +1110 -0
- package/dist/change-column-Cidl_M-4.js.map +1 -0
- package/dist/data-zoom-layout-BH0LPwSy.js +28 -0
- package/dist/data-zoom-layout-BH0LPwSy.js.map +1 -0
- package/dist/echart-CU0KmClP.js +176 -0
- package/dist/echart-CU0KmClP.js.map +1 -0
- package/dist/exports-Cx-f6m6U.js +63 -0
- package/dist/exports-Cx-f6m6U.js.map +1 -0
- package/dist/formula-DuC0NQLH.js +79 -0
- package/dist/formula-DuC0NQLH.js.map +1 -0
- package/dist/markdown-BD1jcknS.js +8326 -0
- package/dist/markdown-BD1jcknS.js.map +1 -0
- package/dist/merge-options-DCkkHZIf.js +34 -0
- package/dist/merge-options-DCkkHZIf.js.map +1 -0
- package/dist/{styles-BYTyKQFP.js → option-builders-F-c9ELi1.js} +25 -45
- package/dist/option-builders-F-c9ELi1.js.map +1 -0
- package/dist/png-item-CS4z1iSH.js +45 -0
- package/dist/png-item-CS4z1iSH.js.map +1 -0
- package/dist/range-DsqTjSpg.js +186 -0
- package/dist/range-DsqTjSpg.js.map +1 -0
- package/dist/spread-CTuIXZSM.js +67 -0
- package/dist/spread-CTuIXZSM.js.map +1 -0
- package/dist/style-DVnT6HC1.js +131 -0
- package/dist/style-DVnT6HC1.js.map +1 -0
- package/dist/styles-cohnxh9F.js +23 -0
- package/dist/styles-cohnxh9F.js.map +1 -0
- package/dist/table-HIpXuq4G.js +390 -0
- package/dist/table-HIpXuq4G.js.map +1 -0
- package/dist/transforms-Cdx4fkU5.js +106 -0
- package/dist/transforms-Cdx4fkU5.js.map +1 -0
- package/dist/types/widgets/echart/utils.test.d.ts +1 -0
- package/dist/types/widgets/formula/config.test.d.ts +1 -0
- package/dist/types/widgets/stores/widget-store-branches.test.d.ts +1 -0
- package/dist/types/widgets/table/config.test.d.ts +1 -0
- package/dist/types/widgets-v2/actions/brush-toggle/brush-toggle.d.ts +56 -0
- package/dist/types/widgets-v2/actions/brush-toggle/index.d.ts +3 -0
- package/dist/types/widgets-v2/actions/brush-toggle/labels.d.ts +5 -0
- package/dist/types/widgets-v2/actions/brush-toggle/style.d.ts +12 -0
- package/dist/types/widgets-v2/actions/brush-toggle/transforms.d.ts +11 -0
- package/dist/types/widgets-v2/actions/brush-toggle/transforms.test.d.ts +1 -0
- package/dist/types/widgets-v2/actions/change-column/change-column-icon.d.ts +2 -0
- package/dist/types/widgets-v2/actions/change-column/change-column.d.ts +29 -0
- package/dist/types/widgets-v2/actions/change-column/index.d.ts +3 -0
- package/dist/types/widgets-v2/actions/change-column/labels.d.ts +5 -0
- package/dist/types/widgets-v2/actions/change-column/sortable-column-item.d.ts +14 -0
- package/dist/types/widgets-v2/actions/change-column/style.d.ts +33 -0
- package/dist/types/widgets-v2/actions/change-column/types.d.ts +10 -0
- package/dist/types/widgets-v2/actions/download/download.d.ts +18 -0
- package/dist/types/widgets-v2/actions/download/exports.d.ts +37 -0
- package/dist/types/widgets-v2/actions/download/icons.d.ts +12 -0
- package/dist/types/widgets-v2/actions/download/index.d.ts +6 -0
- package/dist/types/widgets-v2/actions/download/labels.d.ts +11 -0
- package/dist/types/widgets-v2/actions/download/png-item.d.ts +24 -0
- package/dist/types/widgets-v2/actions/download/style.d.ts +1 -0
- package/dist/types/widgets-v2/actions/download/types.d.ts +35 -0
- package/dist/types/widgets-v2/actions/fullscreen/fullscreen.d.ts +59 -0
- package/dist/types/widgets-v2/actions/fullscreen/index.d.ts +3 -0
- package/dist/types/widgets-v2/actions/fullscreen/labels.d.ts +5 -0
- package/dist/types/widgets-v2/actions/fullscreen/style.d.ts +48 -0
- package/dist/types/widgets-v2/actions/fullscreen/types.d.ts +14 -0
- package/dist/types/widgets-v2/actions/index.d.ts +9 -0
- package/dist/types/widgets-v2/actions/lock-selection/index.d.ts +3 -0
- package/dist/types/widgets-v2/actions/lock-selection/labels.d.ts +6 -0
- package/dist/types/widgets-v2/actions/lock-selection/lock-selection.d.ts +36 -0
- package/dist/types/widgets-v2/actions/lock-selection/style.d.ts +12 -0
- package/dist/types/widgets-v2/actions/lock-selection/transforms.d.ts +6 -0
- package/dist/types/widgets-v2/actions/relative-data/index.d.ts +3 -0
- package/dist/types/widgets-v2/actions/relative-data/labels.d.ts +5 -0
- package/dist/types/widgets-v2/actions/relative-data/relative-data.d.ts +39 -0
- package/dist/types/widgets-v2/actions/relative-data/style.d.ts +12 -0
- package/dist/types/widgets-v2/actions/relative-data/transforms.d.ts +30 -0
- package/dist/types/widgets-v2/actions/relative-data/transforms.test.d.ts +1 -0
- package/dist/types/widgets-v2/actions/searcher/filter.d.ts +6 -0
- package/dist/types/widgets-v2/actions/searcher/index.d.ts +4 -0
- package/dist/types/widgets-v2/actions/searcher/labels.d.ts +7 -0
- package/dist/types/widgets-v2/actions/searcher/searcher-toggle.d.ts +23 -0
- package/dist/types/widgets-v2/actions/searcher/searcher.d.ts +11 -0
- package/dist/types/widgets-v2/actions/searcher/style.d.ts +16 -0
- package/dist/types/widgets-v2/actions/stack-toggle/index.d.ts +3 -0
- package/dist/types/widgets-v2/actions/stack-toggle/labels.d.ts +5 -0
- package/dist/types/widgets-v2/actions/stack-toggle/stack-toggle.d.ts +10 -0
- package/dist/types/widgets-v2/actions/stack-toggle/style.d.ts +12 -0
- package/dist/types/widgets-v2/actions/stack-toggle/transforms.d.ts +13 -0
- package/dist/types/widgets-v2/actions/stack-toggle/transforms.test.d.ts +1 -0
- package/dist/types/widgets-v2/actions/zoom-toggle/index.d.ts +3 -0
- package/dist/types/widgets-v2/actions/zoom-toggle/labels.d.ts +5 -0
- package/dist/types/widgets-v2/actions/zoom-toggle/style.d.ts +12 -0
- package/dist/types/widgets-v2/actions/zoom-toggle/transforms.d.ts +51 -0
- package/dist/types/widgets-v2/actions/zoom-toggle/transforms.test.d.ts +1 -0
- package/dist/types/widgets-v2/actions/zoom-toggle/zoom-toggle.d.ts +35 -0
- package/dist/types/widgets-v2/bar/download.d.ts +24 -0
- package/dist/types/widgets-v2/bar/index.d.ts +4 -0
- package/dist/types/widgets-v2/bar/options.d.ts +43 -0
- package/dist/types/widgets-v2/bar/options.test.d.ts +1 -0
- package/dist/types/widgets-v2/bar/skeleton.d.ts +6 -0
- package/dist/types/widgets-v2/bar/types.d.ts +41 -0
- package/dist/types/widgets-v2/category/category-ui.d.ts +81 -0
- package/dist/types/widgets-v2/category/category.d.ts +48 -0
- package/dist/types/widgets-v2/category/components/category-bar-stacked.d.ts +28 -0
- package/dist/types/widgets-v2/category/components/category-bar.d.ts +23 -0
- package/dist/types/widgets-v2/category/components/category-legend.d.ts +18 -0
- package/dist/types/widgets-v2/category/components/category-row-multi.d.ts +31 -0
- package/dist/types/widgets-v2/category/components/category-row-other.d.ts +13 -0
- package/dist/types/widgets-v2/category/components/category-row-single.d.ts +28 -0
- package/dist/types/widgets-v2/category/components/category-row-stacked.d.ts +38 -0
- package/dist/types/widgets-v2/category/download.d.ts +16 -0
- package/dist/types/widgets-v2/category/download.test.d.ts +1 -0
- package/dist/types/widgets-v2/category/index.d.ts +10 -0
- package/dist/types/widgets-v2/category/skeleton.d.ts +11 -0
- package/dist/types/widgets-v2/category/style.d.ts +166 -0
- package/dist/types/widgets-v2/category/types.d.ts +49 -0
- package/dist/types/widgets-v2/echart/echart-ui.d.ts +44 -0
- package/dist/types/widgets-v2/echart/echart.d.ts +75 -0
- package/dist/types/widgets-v2/echart/index.d.ts +4 -0
- package/dist/types/widgets-v2/echart/shared-resize-observer.d.ts +5 -0
- package/dist/types/widgets-v2/echart/shared-resize-observer.test.d.ts +1 -0
- package/dist/types/widgets-v2/echart/style.d.ts +6 -0
- package/dist/types/widgets-v2/echart/use-chart-selection.d.ts +51 -0
- package/dist/types/widgets-v2/formula/delta.d.ts +22 -0
- package/dist/types/widgets-v2/formula/download.d.ts +20 -0
- package/dist/types/widgets-v2/formula/formula-ui.d.ts +20 -0
- package/dist/types/widgets-v2/formula/formula.d.ts +8 -0
- package/dist/types/widgets-v2/formula/index.d.ts +11 -0
- package/dist/types/widgets-v2/formula/note.d.ts +11 -0
- package/dist/types/widgets-v2/formula/prefix.d.ts +12 -0
- package/dist/types/widgets-v2/formula/series.d.ts +16 -0
- package/dist/types/widgets-v2/formula/skeleton.d.ts +4 -0
- package/dist/types/widgets-v2/formula/style.d.ts +29 -0
- package/dist/types/widgets-v2/formula/suffix.d.ts +12 -0
- package/dist/types/widgets-v2/formula/types.d.ts +40 -0
- package/dist/types/widgets-v2/formula/value.d.ts +14 -0
- package/dist/types/widgets-v2/histogram/download.d.ts +17 -0
- package/dist/types/widgets-v2/histogram/download.test.d.ts +1 -0
- package/dist/types/widgets-v2/histogram/index.d.ts +5 -0
- package/dist/types/widgets-v2/histogram/options.d.ts +42 -0
- package/dist/types/widgets-v2/histogram/options.test.d.ts +1 -0
- package/dist/types/widgets-v2/histogram/skeleton.d.ts +9 -0
- package/dist/types/widgets-v2/histogram/transforms.d.ts +17 -0
- package/dist/types/widgets-v2/histogram/transforms.test.d.ts +1 -0
- package/dist/types/widgets-v2/histogram/types.d.ts +47 -0
- package/dist/types/widgets-v2/index.d.ts +107 -0
- package/dist/types/widgets-v2/markdown/download.d.ts +16 -0
- package/dist/types/widgets-v2/markdown/download.test.d.ts +1 -0
- package/dist/types/widgets-v2/markdown/index.d.ts +6 -0
- package/dist/types/widgets-v2/markdown/markdown-content.d.ts +34 -0
- package/dist/types/widgets-v2/markdown/markdown-ui.d.ts +12 -0
- package/dist/types/widgets-v2/markdown/markdown.d.ts +6 -0
- package/dist/types/widgets-v2/markdown/skeleton.d.ts +4 -0
- package/dist/types/widgets-v2/markdown/style.d.ts +61 -0
- package/dist/types/widgets-v2/markdown/types.d.ts +4 -0
- package/dist/types/widgets-v2/note/labels.d.ts +5 -0
- package/dist/types/widgets-v2/note/style.d.ts +26 -0
- package/dist/types/widgets-v2/note/widget-note.d.ts +46 -0
- package/dist/types/widgets-v2/pie/download.d.ts +17 -0
- package/dist/types/widgets-v2/pie/download.test.d.ts +1 -0
- package/dist/types/widgets-v2/pie/index.d.ts +4 -0
- package/dist/types/widgets-v2/pie/options.d.ts +35 -0
- package/dist/types/widgets-v2/pie/options.test.d.ts +1 -0
- package/dist/types/widgets-v2/pie/skeleton.d.ts +4 -0
- package/dist/types/widgets-v2/pie/types.d.ts +50 -0
- package/dist/types/widgets-v2/provider/widget-provider.d.ts +32 -0
- package/dist/types/widgets-v2/range/index.d.ts +4 -0
- package/dist/types/widgets-v2/range/range-ui.d.ts +19 -0
- package/dist/types/widgets-v2/range/range.d.ts +19 -0
- package/dist/types/widgets-v2/range/skeleton.d.ts +9 -0
- package/dist/types/widgets-v2/range/style.d.ts +40 -0
- package/dist/types/widgets-v2/range/types.d.ts +37 -0
- package/dist/types/widgets-v2/scatterplot/download.d.ts +16 -0
- package/dist/types/widgets-v2/scatterplot/download.test.d.ts +1 -0
- package/dist/types/widgets-v2/scatterplot/index.d.ts +5 -0
- package/dist/types/widgets-v2/scatterplot/options.d.ts +42 -0
- package/dist/types/widgets-v2/scatterplot/options.test.d.ts +1 -0
- package/dist/types/widgets-v2/scatterplot/skeleton.d.ts +12 -0
- package/dist/types/widgets-v2/scatterplot/transforms.d.ts +17 -0
- package/dist/types/widgets-v2/scatterplot/transforms.test.d.ts +1 -0
- package/dist/types/widgets-v2/scatterplot/types.d.ts +50 -0
- package/dist/types/widgets-v2/selection-summary/labels.d.ts +6 -0
- package/dist/types/widgets-v2/selection-summary/selection-summary.d.ts +22 -0
- package/dist/types/widgets-v2/selection-summary/style.d.ts +23 -0
- package/dist/types/widgets-v2/spread/download.d.ts +15 -0
- package/dist/types/widgets-v2/spread/download.test.d.ts +1 -0
- package/dist/types/widgets-v2/spread/index.d.ts +6 -0
- package/dist/types/widgets-v2/spread/separator.d.ts +7 -0
- package/dist/types/widgets-v2/spread/skeleton.d.ts +9 -0
- package/dist/types/widgets-v2/spread/spread-ui.d.ts +18 -0
- package/dist/types/widgets-v2/spread/spread.d.ts +5 -0
- package/dist/types/widgets-v2/spread/types.d.ts +25 -0
- package/dist/types/widgets-v2/state/labels.d.ts +7 -0
- package/dist/types/widgets-v2/state/labels.test.d.ts +1 -0
- package/dist/types/widgets-v2/state/style.d.ts +19 -0
- package/dist/types/widgets-v2/state/widget-state.d.ts +19 -0
- package/dist/types/widgets-v2/stores/index.d.ts +8 -0
- package/dist/types/widgets-v2/stores/pipeline-middleware.d.ts +5 -0
- package/dist/types/widgets-v2/stores/pipeline-middleware.test.d.ts +1 -0
- package/dist/types/widgets-v2/stores/transforms.d.ts +4 -0
- package/dist/types/widgets-v2/stores/transforms.test.d.ts +1 -0
- package/dist/types/widgets-v2/stores/types.d.ts +55 -0
- package/dist/types/widgets-v2/stores/use-echart-instance.d.ts +15 -0
- package/dist/types/widgets-v2/stores/use-transform-enabled.d.ts +17 -0
- package/dist/types/widgets-v2/stores/use-transform.d.ts +12 -0
- package/dist/types/widgets-v2/stores/widget-context.d.ts +2 -0
- package/dist/types/widgets-v2/stores/widget-store-registry.d.ts +74 -0
- package/dist/types/widgets-v2/stores/widget-store-registry.test.d.ts +1 -0
- package/dist/types/widgets-v2/subheader/style.d.ts +10 -0
- package/dist/types/widgets-v2/subheader/subheader.d.ts +11 -0
- package/dist/types/widgets-v2/table/download.d.ts +18 -0
- package/dist/types/widgets-v2/table/download.test.d.ts +1 -0
- package/dist/types/widgets-v2/table/helpers.d.ts +32 -0
- package/dist/types/widgets-v2/table/helpers.test.d.ts +1 -0
- package/dist/types/widgets-v2/table/index.d.ts +7 -0
- package/dist/types/widgets-v2/table/labels.d.ts +22 -0
- package/dist/types/widgets-v2/table/skeleton.d.ts +22 -0
- package/dist/types/widgets-v2/table/style.d.ts +44 -0
- package/dist/types/widgets-v2/table/table-ui.d.ts +38 -0
- package/dist/types/widgets-v2/table/table.d.ts +50 -0
- package/dist/types/widgets-v2/table/types.d.ts +37 -0
- package/dist/types/widgets-v2/test-utils.d.ts +52 -0
- package/dist/types/widgets-v2/timeseries/download.d.ts +17 -0
- package/dist/types/widgets-v2/timeseries/download.test.d.ts +1 -0
- package/dist/types/widgets-v2/timeseries/index.d.ts +4 -0
- package/dist/types/widgets-v2/timeseries/options.d.ts +39 -0
- package/dist/types/widgets-v2/timeseries/options.test.d.ts +1 -0
- package/dist/types/widgets-v2/timeseries/skeleton.d.ts +8 -0
- package/dist/types/widgets-v2/timeseries/types.d.ts +56 -0
- package/dist/types/widgets-v2/toolbox/labels.d.ts +5 -0
- package/dist/types/widgets-v2/toolbox/style.d.ts +30 -0
- package/dist/types/widgets-v2/toolbox/toolbox.d.ts +49 -0
- package/dist/types/widgets-v2/utils/data-zoom-layout.d.ts +11 -0
- package/dist/types/widgets-v2/utils/index.d.ts +2 -0
- package/dist/types/widgets-v2/utils/merge-options.d.ts +12 -0
- package/dist/types/widgets-v2/utils/merge-options.test.d.ts +1 -0
- package/dist/types/widgets-v2/wrapper/index.d.ts +4 -0
- package/dist/types/widgets-v2/wrapper/labels.d.ts +6 -0
- package/dist/types/widgets-v2/wrapper/style.d.ts +111 -0
- package/dist/types/widgets-v2/wrapper/widget-actions.d.ts +22 -0
- package/dist/types/widgets-v2/wrapper/widget-content.d.ts +12 -0
- package/dist/types/widgets-v2/wrapper/widget-wrapper.d.ts +51 -0
- package/dist/use-transform-DXPN3nY7.js +110 -0
- package/dist/use-transform-DXPN3nY7.js.map +1 -0
- package/dist/widget-context-DTGO0Yta.js +13 -0
- package/dist/widget-context-DTGO0Yta.js.map +1 -0
- package/dist/widget-store-registry-_W4Z4xp-.js +178 -0
- package/dist/widget-store-registry-_W4Z4xp-.js.map +1 -0
- package/dist/widgets/bar.js +14 -13
- package/dist/widgets/bar.js.map +1 -1
- package/dist/widgets/histogram.js +8 -7
- package/dist/widgets/histogram.js.map +1 -1
- package/dist/widgets/pie.js +19 -18
- package/dist/widgets/pie.js.map +1 -1
- package/dist/widgets/scatterplot.js +8 -7
- package/dist/widgets/scatterplot.js.map +1 -1
- package/dist/widgets/timeseries.js +11 -10
- package/dist/widgets/timeseries.js.map +1 -1
- package/dist/widgets/utils.js +8 -7
- package/dist/widgets/utils.js.map +1 -1
- package/dist/widgets-v2/actions.js +43 -0
- package/dist/widgets-v2/actions.js.map +1 -0
- package/dist/widgets-v2/bar.js +327 -0
- package/dist/widgets-v2/bar.js.map +1 -0
- package/dist/widgets-v2/category.js +104 -0
- package/dist/widgets-v2/category.js.map +1 -0
- package/dist/widgets-v2/echart.js +57 -0
- package/dist/widgets-v2/echart.js.map +1 -0
- package/dist/widgets-v2/formula.js +74 -0
- package/dist/widgets-v2/formula.js.map +1 -0
- package/dist/widgets-v2/histogram.js +350 -0
- package/dist/widgets-v2/histogram.js.map +1 -0
- package/dist/widgets-v2/markdown.js +68 -0
- package/dist/widgets-v2/markdown.js.map +1 -0
- package/dist/widgets-v2/pie.js +381 -0
- package/dist/widgets-v2/pie.js.map +1 -0
- package/dist/widgets-v2/range.js +52 -0
- package/dist/widgets-v2/range.js.map +1 -0
- package/dist/widgets-v2/scatterplot.js +405 -0
- package/dist/widgets-v2/scatterplot.js.map +1 -0
- package/dist/widgets-v2/spread.js +72 -0
- package/dist/widgets-v2/spread.js.map +1 -0
- package/dist/widgets-v2/stores.js +42 -0
- package/dist/widgets-v2/stores.js.map +1 -0
- package/dist/widgets-v2/table.js +78 -0
- package/dist/widgets-v2/table.js.map +1 -0
- package/dist/widgets-v2/timeseries.js +352 -0
- package/dist/widgets-v2/timeseries.js.map +1 -0
- package/dist/widgets-v2/utils.js +7 -0
- package/dist/widgets-v2/utils.js.map +1 -0
- package/dist/widgets-v2.js +953 -0
- package/dist/widgets-v2.js.map +1 -0
- package/package.json +73 -5
- package/src/components/lasso-tool/chip.test.tsx +176 -0
- package/src/components/lasso-tool/lasso-tool-inline.test.tsx +171 -0
- package/src/components/lasso-tool/lasso-tool.test.tsx +198 -0
- package/src/components/list-data/list-data.test.tsx +73 -0
- package/src/components/no-data-alert/no-data-alert.test.tsx +38 -0
- package/src/components/responsive-drawer/responsive-drawer.test.tsx +68 -0
- package/src/widgets/actions/brush-toggle/brush-overlay.test.tsx +465 -0
- package/src/widgets/actions/brush-toggle/brush-toggle.test.tsx +208 -0
- package/src/widgets/actions/change-column/change-column-dnd.test.tsx +193 -0
- package/src/widgets/actions/change-column/sortable-column-item.test.tsx +124 -0
- package/src/widgets/actions/zoom-toggle/zoom-toggle.test.tsx +322 -0
- package/src/widgets/category/components/category-rows.test.tsx +213 -0
- package/src/widgets/echart/utils.test.ts +277 -0
- package/src/widgets/formula/config.test.ts +37 -0
- package/src/widgets/range/components/range-item.test.tsx +243 -0
- package/src/widgets/stores/widget-store-branches.test.ts +275 -0
- package/src/widgets/table/config.test.ts +65 -0
- package/src/widgets/utils/chart-config/option-builders.test.ts +188 -0
- package/src/widgets-v2/PERFORMANCE.md +189 -0
- package/src/widgets-v2/actions/brush-toggle/brush-toggle.test.tsx +180 -0
- package/src/widgets-v2/actions/brush-toggle/brush-toggle.tsx +154 -0
- package/src/widgets-v2/actions/brush-toggle/index.ts +3 -0
- package/src/widgets-v2/actions/brush-toggle/labels.ts +9 -0
- package/src/widgets-v2/actions/brush-toggle/style.ts +11 -0
- package/src/widgets-v2/actions/brush-toggle/transforms.test.ts +47 -0
- package/src/widgets-v2/actions/brush-toggle/transforms.ts +31 -0
- package/src/widgets-v2/actions/change-column/change-column-icon.tsx +14 -0
- package/src/widgets-v2/actions/change-column/change-column.test.tsx +59 -0
- package/src/widgets-v2/actions/change-column/change-column.tsx +180 -0
- package/src/widgets-v2/actions/change-column/index.ts +7 -0
- package/src/widgets-v2/actions/change-column/labels.ts +9 -0
- package/src/widgets-v2/actions/change-column/sortable-column-item.tsx +56 -0
- package/src/widgets-v2/actions/change-column/style.ts +32 -0
- package/src/widgets-v2/actions/change-column/types.ts +11 -0
- package/src/widgets-v2/actions/download/download.test.tsx +327 -0
- package/src/widgets-v2/actions/download/download.tsx +144 -0
- package/src/widgets-v2/actions/download/exports.test.tsx +198 -0
- package/src/widgets-v2/actions/download/exports.ts +115 -0
- package/src/widgets-v2/actions/download/icons.tsx +26 -0
- package/src/widgets-v2/actions/download/index.ts +13 -0
- package/src/widgets-v2/actions/download/labels.ts +16 -0
- package/src/widgets-v2/actions/download/png-item.test.tsx +72 -0
- package/src/widgets-v2/actions/download/png-item.tsx +52 -0
- package/src/widgets-v2/actions/download/style.ts +3 -0
- package/src/widgets-v2/actions/download/types.ts +32 -0
- package/src/widgets-v2/actions/fullscreen/fullscreen.test.tsx +150 -0
- package/src/widgets-v2/actions/fullscreen/fullscreen.tsx +230 -0
- package/src/widgets-v2/actions/fullscreen/index.ts +7 -0
- package/src/widgets-v2/actions/fullscreen/labels.ts +9 -0
- package/src/widgets-v2/actions/fullscreen/style.ts +59 -0
- package/src/widgets-v2/actions/fullscreen/types.ts +15 -0
- package/src/widgets-v2/actions/index.ts +82 -0
- package/src/widgets-v2/actions/lock-selection/index.ts +10 -0
- package/src/widgets-v2/actions/lock-selection/labels.ts +11 -0
- package/src/widgets-v2/actions/lock-selection/lock-selection.test.tsx +187 -0
- package/src/widgets-v2/actions/lock-selection/lock-selection.tsx +130 -0
- package/src/widgets-v2/actions/lock-selection/style.ts +11 -0
- package/src/widgets-v2/actions/lock-selection/transforms.ts +27 -0
- package/src/widgets-v2/actions/relative-data/index.ts +3 -0
- package/src/widgets-v2/actions/relative-data/labels.ts +9 -0
- package/src/widgets-v2/actions/relative-data/relative-data.test.tsx +71 -0
- package/src/widgets-v2/actions/relative-data/relative-data.tsx +107 -0
- package/src/widgets-v2/actions/relative-data/style.ts +11 -0
- package/src/widgets-v2/actions/relative-data/transforms.test.ts +151 -0
- package/src/widgets-v2/actions/relative-data/transforms.ts +70 -0
- package/src/widgets-v2/actions/searcher/filter.ts +28 -0
- package/src/widgets-v2/actions/searcher/index.ts +8 -0
- package/src/widgets-v2/actions/searcher/labels.ts +13 -0
- package/src/widgets-v2/actions/searcher/searcher-toggle.tsx +91 -0
- package/src/widgets-v2/actions/searcher/searcher.test.tsx +92 -0
- package/src/widgets-v2/actions/searcher/searcher.tsx +112 -0
- package/src/widgets-v2/actions/searcher/style.ts +15 -0
- package/src/widgets-v2/actions/stack-toggle/index.ts +3 -0
- package/src/widgets-v2/actions/stack-toggle/labels.ts +9 -0
- package/src/widgets-v2/actions/stack-toggle/stack-toggle.test.tsx +61 -0
- package/src/widgets-v2/actions/stack-toggle/stack-toggle.tsx +54 -0
- package/src/widgets-v2/actions/stack-toggle/style.ts +11 -0
- package/src/widgets-v2/actions/stack-toggle/transforms.test.ts +43 -0
- package/src/widgets-v2/actions/stack-toggle/transforms.ts +25 -0
- package/src/widgets-v2/actions/zoom-toggle/index.ts +9 -0
- package/src/widgets-v2/actions/zoom-toggle/labels.ts +9 -0
- package/src/widgets-v2/actions/zoom-toggle/style.ts +11 -0
- package/src/widgets-v2/actions/zoom-toggle/transforms.test.ts +148 -0
- package/src/widgets-v2/actions/zoom-toggle/transforms.ts +171 -0
- package/src/widgets-v2/actions/zoom-toggle/zoom-toggle.test.tsx +107 -0
- package/src/widgets-v2/actions/zoom-toggle/zoom-toggle.tsx +106 -0
- package/src/widgets-v2/bar/download.test.tsx +91 -0
- package/src/widgets-v2/bar/download.tsx +66 -0
- package/src/widgets-v2/bar/index.ts +10 -0
- package/src/widgets-v2/bar/options.test.ts +317 -0
- package/src/widgets-v2/bar/options.ts +326 -0
- package/src/widgets-v2/bar/skeleton.test.tsx +19 -0
- package/src/widgets-v2/bar/skeleton.tsx +69 -0
- package/src/widgets-v2/bar/types.ts +46 -0
- package/src/widgets-v2/category/category-ui.test.tsx +746 -0
- package/src/widgets-v2/category/category-ui.tsx +389 -0
- package/src/widgets-v2/category/category.relative-data.test.tsx +107 -0
- package/src/widgets-v2/category/category.stack-toggle.test.tsx +85 -0
- package/src/widgets-v2/category/category.test.tsx +305 -0
- package/src/widgets-v2/category/category.tsx +121 -0
- package/src/widgets-v2/category/components/category-bar-stacked.test.tsx +121 -0
- package/src/widgets-v2/category/components/category-bar-stacked.tsx +73 -0
- package/src/widgets-v2/category/components/category-bar.test.tsx +64 -0
- package/src/widgets-v2/category/components/category-bar.tsx +49 -0
- package/src/widgets-v2/category/components/category-legend.test.tsx +51 -0
- package/src/widgets-v2/category/components/category-legend.tsx +39 -0
- package/src/widgets-v2/category/components/category-row-multi.tsx +86 -0
- package/src/widgets-v2/category/components/category-row-other.test.tsx +28 -0
- package/src/widgets-v2/category/components/category-row-other.tsx +33 -0
- package/src/widgets-v2/category/components/category-row-single.tsx +76 -0
- package/src/widgets-v2/category/components/category-row-stacked.test.tsx +244 -0
- package/src/widgets-v2/category/components/category-row-stacked.tsx +99 -0
- package/src/widgets-v2/category/download.test.ts +71 -0
- package/src/widgets-v2/category/download.ts +54 -0
- package/src/widgets-v2/category/index.ts +32 -0
- package/src/widgets-v2/category/skeleton.test.tsx +26 -0
- package/src/widgets-v2/category/skeleton.tsx +74 -0
- package/src/widgets-v2/category/style.ts +290 -0
- package/src/widgets-v2/category/types.ts +54 -0
- package/src/widgets-v2/echart/echart-ui.test.tsx +232 -0
- package/src/widgets-v2/echart/echart-ui.tsx +184 -0
- package/src/widgets-v2/echart/echart.test.tsx +229 -0
- package/src/widgets-v2/echart/echart.tsx +199 -0
- package/src/widgets-v2/echart/index.ts +22 -0
- package/src/widgets-v2/echart/shared-resize-observer.test.ts +91 -0
- package/src/widgets-v2/echart/shared-resize-observer.ts +56 -0
- package/src/widgets-v2/echart/style.ts +8 -0
- package/src/widgets-v2/echart/use-chart-selection.test.tsx +118 -0
- package/src/widgets-v2/echart/use-chart-selection.ts +115 -0
- package/src/widgets-v2/formula/delta.tsx +61 -0
- package/src/widgets-v2/formula/download.test.tsx +65 -0
- package/src/widgets-v2/formula/download.tsx +69 -0
- package/src/widgets-v2/formula/formula-ui.test.tsx +91 -0
- package/src/widgets-v2/formula/formula-ui.tsx +66 -0
- package/src/widgets-v2/formula/formula.test.tsx +50 -0
- package/src/widgets-v2/formula/formula.tsx +34 -0
- package/src/widgets-v2/formula/index.ts +17 -0
- package/src/widgets-v2/formula/note.tsx +25 -0
- package/src/widgets-v2/formula/prefix.tsx +25 -0
- package/src/widgets-v2/formula/series.tsx +67 -0
- package/src/widgets-v2/formula/skeleton.test.tsx +21 -0
- package/src/widgets-v2/formula/skeleton.tsx +27 -0
- package/src/widgets-v2/formula/style.ts +31 -0
- package/src/widgets-v2/formula/subcomponents.test.tsx +107 -0
- package/src/widgets-v2/formula/suffix.tsx +25 -0
- package/src/widgets-v2/formula/types.ts +44 -0
- package/src/widgets-v2/formula/value.tsx +31 -0
- package/src/widgets-v2/histogram/download.test.ts +94 -0
- package/src/widgets-v2/histogram/download.ts +60 -0
- package/src/widgets-v2/histogram/index.ts +10 -0
- package/src/widgets-v2/histogram/options.test.ts +304 -0
- package/src/widgets-v2/histogram/options.ts +337 -0
- package/src/widgets-v2/histogram/skeleton.test.tsx +16 -0
- package/src/widgets-v2/histogram/skeleton.tsx +70 -0
- package/src/widgets-v2/histogram/transforms.test.ts +46 -0
- package/src/widgets-v2/histogram/transforms.ts +30 -0
- package/src/widgets-v2/histogram/types.ts +51 -0
- package/src/widgets-v2/index.ts +201 -0
- package/src/widgets-v2/markdown/download.test.ts +66 -0
- package/src/widgets-v2/markdown/download.ts +53 -0
- package/src/widgets-v2/markdown/index.ts +6 -0
- package/src/widgets-v2/markdown/markdown-content.test.tsx +155 -0
- package/src/widgets-v2/markdown/markdown-content.tsx +72 -0
- package/src/widgets-v2/markdown/markdown-ui.test.tsx +75 -0
- package/src/widgets-v2/markdown/markdown-ui.tsx +55 -0
- package/src/widgets-v2/markdown/markdown.test.tsx +39 -0
- package/src/widgets-v2/markdown/markdown.tsx +17 -0
- package/src/widgets-v2/markdown/skeleton.test.tsx +15 -0
- package/src/widgets-v2/markdown/skeleton.tsx +32 -0
- package/src/widgets-v2/markdown/style.ts +53 -0
- package/src/widgets-v2/markdown/types.ts +4 -0
- package/src/widgets-v2/note/labels.ts +9 -0
- package/src/widgets-v2/note/style.ts +26 -0
- package/src/widgets-v2/note/widget-note.test.tsx +158 -0
- package/src/widgets-v2/note/widget-note.tsx +172 -0
- package/src/widgets-v2/pie/download.test.ts +78 -0
- package/src/widgets-v2/pie/download.ts +55 -0
- package/src/widgets-v2/pie/index.ts +10 -0
- package/src/widgets-v2/pie/options.test.ts +585 -0
- package/src/widgets-v2/pie/options.ts +509 -0
- package/src/widgets-v2/pie/skeleton.test.tsx +17 -0
- package/src/widgets-v2/pie/skeleton.tsx +32 -0
- package/src/widgets-v2/pie/types.ts +55 -0
- package/src/widgets-v2/provider/widget-provider.test.tsx +119 -0
- package/src/widgets-v2/provider/widget-provider.tsx +111 -0
- package/src/widgets-v2/range/index.ts +4 -0
- package/src/widgets-v2/range/range-ui.test.tsx +130 -0
- package/src/widgets-v2/range/range-ui.tsx +211 -0
- package/src/widgets-v2/range/range.test.tsx +68 -0
- package/src/widgets-v2/range/range.tsx +46 -0
- package/src/widgets-v2/range/skeleton.test.tsx +17 -0
- package/src/widgets-v2/range/skeleton.tsx +47 -0
- package/src/widgets-v2/range/style.ts +41 -0
- package/src/widgets-v2/range/types.ts +37 -0
- package/src/widgets-v2/scatterplot/download.test.ts +71 -0
- package/src/widgets-v2/scatterplot/download.ts +54 -0
- package/src/widgets-v2/scatterplot/index.ts +11 -0
- package/src/widgets-v2/scatterplot/options.test.ts +399 -0
- package/src/widgets-v2/scatterplot/options.ts +421 -0
- package/src/widgets-v2/scatterplot/skeleton.test.tsx +17 -0
- package/src/widgets-v2/scatterplot/skeleton.tsx +84 -0
- package/src/widgets-v2/scatterplot/transforms.test.ts +97 -0
- package/src/widgets-v2/scatterplot/transforms.ts +38 -0
- package/src/widgets-v2/scatterplot/types.ts +55 -0
- package/src/widgets-v2/selection-summary/labels.ts +11 -0
- package/src/widgets-v2/selection-summary/selection-summary.test.tsx +53 -0
- package/src/widgets-v2/selection-summary/selection-summary.tsx +62 -0
- package/src/widgets-v2/selection-summary/style.ts +23 -0
- package/src/widgets-v2/spread/download.test.ts +64 -0
- package/src/widgets-v2/spread/download.ts +59 -0
- package/src/widgets-v2/spread/index.ts +6 -0
- package/src/widgets-v2/spread/separator.tsx +11 -0
- package/src/widgets-v2/spread/skeleton.test.tsx +17 -0
- package/src/widgets-v2/spread/skeleton.tsx +38 -0
- package/src/widgets-v2/spread/spread-ui.test.tsx +108 -0
- package/src/widgets-v2/spread/spread-ui.tsx +52 -0
- package/src/widgets-v2/spread/spread.test.tsx +50 -0
- package/src/widgets-v2/spread/spread.tsx +31 -0
- package/src/widgets-v2/spread/types.ts +27 -0
- package/src/widgets-v2/state/labels.test.ts +33 -0
- package/src/widgets-v2/state/labels.ts +20 -0
- package/src/widgets-v2/state/style.ts +25 -0
- package/src/widgets-v2/state/widget-state.test.tsx +294 -0
- package/src/widgets-v2/state/widget-state.tsx +184 -0
- package/src/widgets-v2/stores/index.ts +49 -0
- package/src/widgets-v2/stores/pipeline-middleware.test.ts +187 -0
- package/src/widgets-v2/stores/pipeline-middleware.ts +91 -0
- package/src/widgets-v2/stores/transforms.test.ts +162 -0
- package/src/widgets-v2/stores/transforms.ts +70 -0
- package/src/widgets-v2/stores/types.ts +64 -0
- package/src/widgets-v2/stores/use-echart-instance.test.tsx +91 -0
- package/src/widgets-v2/stores/use-echart-instance.ts +29 -0
- package/src/widgets-v2/stores/use-transform-enabled.test.tsx +127 -0
- package/src/widgets-v2/stores/use-transform-enabled.ts +25 -0
- package/src/widgets-v2/stores/use-transform.test.tsx +262 -0
- package/src/widgets-v2/stores/use-transform.ts +158 -0
- package/src/widgets-v2/stores/widget-context.test.tsx +58 -0
- package/src/widgets-v2/stores/widget-context.ts +15 -0
- package/src/widgets-v2/stores/widget-store-registry.test.ts +292 -0
- package/src/widgets-v2/stores/widget-store-registry.ts +248 -0
- package/src/widgets-v2/subheader/style.ts +12 -0
- package/src/widgets-v2/subheader/subheader.test.tsx +30 -0
- package/src/widgets-v2/subheader/subheader.tsx +16 -0
- package/src/widgets-v2/table/download.test.ts +75 -0
- package/src/widgets-v2/table/download.ts +47 -0
- package/src/widgets-v2/table/helpers.test.ts +214 -0
- package/src/widgets-v2/table/helpers.ts +136 -0
- package/src/widgets-v2/table/index.ts +23 -0
- package/src/widgets-v2/table/labels.tsx +41 -0
- package/src/widgets-v2/table/skeleton.test.tsx +26 -0
- package/src/widgets-v2/table/skeleton.tsx +65 -0
- package/src/widgets-v2/table/style.ts +46 -0
- package/src/widgets-v2/table/table-ui.test.tsx +200 -0
- package/src/widgets-v2/table/table-ui.tsx +331 -0
- package/src/widgets-v2/table/table.test.tsx +119 -0
- package/src/widgets-v2/table/table.tsx +174 -0
- package/src/widgets-v2/table/types.ts +44 -0
- package/src/widgets-v2/test-utils.ts +107 -0
- package/src/widgets-v2/timeseries/download.test.ts +95 -0
- package/src/widgets-v2/timeseries/download.ts +86 -0
- package/src/widgets-v2/timeseries/index.ts +10 -0
- package/src/widgets-v2/timeseries/options.test.ts +379 -0
- package/src/widgets-v2/timeseries/options.ts +341 -0
- package/src/widgets-v2/timeseries/skeleton.test.tsx +13 -0
- package/src/widgets-v2/timeseries/skeleton.tsx +76 -0
- package/src/widgets-v2/timeseries/types.ts +61 -0
- package/src/widgets-v2/toolbox/labels.ts +9 -0
- package/src/widgets-v2/toolbox/style.ts +33 -0
- package/src/widgets-v2/toolbox/toolbox.test.tsx +200 -0
- package/src/widgets-v2/toolbox/toolbox.tsx +309 -0
- package/src/widgets-v2/utils/data-zoom-layout.ts +26 -0
- package/src/widgets-v2/utils/index.ts +2 -0
- package/src/widgets-v2/utils/merge-options.test.ts +52 -0
- package/src/widgets-v2/utils/merge-options.ts +50 -0
- package/src/widgets-v2/wrapper/index.ts +14 -0
- package/src/widgets-v2/wrapper/labels.ts +11 -0
- package/src/widgets-v2/wrapper/style.ts +134 -0
- package/src/widgets-v2/wrapper/widget-actions.test.tsx +52 -0
- package/src/widgets-v2/wrapper/widget-actions.tsx +43 -0
- package/src/widgets-v2/wrapper/widget-content.test.tsx +27 -0
- package/src/widgets-v2/wrapper/widget-content.tsx +29 -0
- package/src/widgets-v2/wrapper/widget-wrapper.test.tsx +159 -0
- package/src/widgets-v2/wrapper/widget-wrapper.tsx +178 -0
- package/dist/styles-BYTyKQFP.js.map +0 -1
|
@@ -0,0 +1,953 @@
|
|
|
1
|
+
import { jsx as a, jsxs as V, Fragment as re } from "react/jsx-runtime";
|
|
2
|
+
import { c as k } from "react/compiler-runtime";
|
|
3
|
+
import { useState as H, useLayoutEffect as J, Children as ae, isValidElement as ce, Component as be, useEffect as de, useRef as ve } from "react";
|
|
4
|
+
import { W as Se, u as fe } from "./widget-context-DTGO0Yta.js";
|
|
5
|
+
import { j as we, i as Ce, e as Ee, n as Te, r as ke, q as _e, v as Ie, u as Ae, s as Le } from "./widget-store-registry-_W4Z4xp-.js";
|
|
6
|
+
import "zustand";
|
|
7
|
+
import { Box as $, LinearProgress as We, Typography as Z, AccordionSummary as $e, AccordionDetails as De, Accordion as Fe, AlertTitle as Be, Alert as Oe, Button as Me, IconButton as Re, Divider as Pe, Popper as Ue, Grow as Ne, Paper as je, Link as pe } from "@mui/material";
|
|
8
|
+
import ze from "@mui/icons-material/ExpandMore";
|
|
9
|
+
import { S as He } from "./smart-tooltip-D4vwQpFf.js";
|
|
10
|
+
import { createPortal as Ve } from "react-dom";
|
|
11
|
+
import Ge from "@mui/icons-material/Close";
|
|
12
|
+
import { WidgetOptions as qe } from "@carto/meridian-ds/custom-icons";
|
|
13
|
+
import "./lasso-tool-BYbxrJ-7.js";
|
|
14
|
+
import "./cjs-D4KH3azB.js";
|
|
15
|
+
import { T as Xe } from "./tooltip-BDnrRKrp.js";
|
|
16
|
+
import "@mui/icons-material";
|
|
17
|
+
import { o as Ze, a as Ke, E as Ye } from "./echart-CU0KmClP.js";
|
|
18
|
+
import { D as $n } from "./echart-CU0KmClP.js";
|
|
19
|
+
import { a as Je, b as Qe, M as et } from "./markdown-BD1jcknS.js";
|
|
20
|
+
import { C as tt, L as nt, F as ot, i as rt, R as it, B as lt, Z as st, k as at, j as ct, S as dt } from "./change-column-Cidl_M-4.js";
|
|
21
|
+
import "html2canvas";
|
|
22
|
+
import "@mui/icons-material/ImageOutlined";
|
|
23
|
+
import { a as ft, F as pt } from "./formula-DuC0NQLH.js";
|
|
24
|
+
import "react-markdown";
|
|
25
|
+
import { b as ut, a as mt } from "./spread-CTuIXZSM.js";
|
|
26
|
+
import { a as gt, R as ht } from "./range-DsqTjSpg.js";
|
|
27
|
+
import { f as yt, C as xt } from "./category-DwaeYjpX.js";
|
|
28
|
+
import { c as bt, T as vt } from "./table-HIpXuq4G.js";
|
|
29
|
+
function St(t) {
|
|
30
|
+
const e = k(31), {
|
|
31
|
+
id: n,
|
|
32
|
+
data: r,
|
|
33
|
+
isLoading: o,
|
|
34
|
+
isFetching: i,
|
|
35
|
+
error: s,
|
|
36
|
+
formatter: c,
|
|
37
|
+
labelFormatter: p,
|
|
38
|
+
keepAlive: u,
|
|
39
|
+
children: m
|
|
40
|
+
} = t, f = u === void 0 ? !1 : u;
|
|
41
|
+
let g;
|
|
42
|
+
e[0] !== r || e[1] !== s || e[2] !== c || e[3] !== n || e[4] !== i || e[5] !== o || e[6] !== p ? (g = () => {
|
|
43
|
+
if (we(n))
|
|
44
|
+
return Ce(n);
|
|
45
|
+
const w = Ee(n, {
|
|
46
|
+
data: r,
|
|
47
|
+
isLoading: o,
|
|
48
|
+
isFetching: i,
|
|
49
|
+
error: s,
|
|
50
|
+
formatter: c,
|
|
51
|
+
labelFormatter: p
|
|
52
|
+
});
|
|
53
|
+
return Te(n, w), w;
|
|
54
|
+
}, e[0] = r, e[1] = s, e[2] = c, e[3] = n, e[4] = i, e[5] = o, e[6] = p, e[7] = g) : g = e[7];
|
|
55
|
+
const [l] = H(g);
|
|
56
|
+
let d, h;
|
|
57
|
+
e[8] !== n || e[9] !== f || e[10] !== l ? (d = () => (ke(n, l), () => {
|
|
58
|
+
_e(n, {
|
|
59
|
+
keepAlive: f
|
|
60
|
+
});
|
|
61
|
+
}), h = [n, l, f], e[8] = n, e[9] = f, e[10] = l, e[11] = d, e[12] = h) : (d = e[11], h = e[12]), J(d, h);
|
|
62
|
+
let x, y;
|
|
63
|
+
e[13] !== r || e[14] !== l ? (x = () => {
|
|
64
|
+
l.setState({
|
|
65
|
+
rawData: r
|
|
66
|
+
});
|
|
67
|
+
}, y = [l, r], e[13] = r, e[14] = l, e[15] = x, e[16] = y) : (x = e[15], y = e[16]), J(x, y);
|
|
68
|
+
let E, v;
|
|
69
|
+
e[17] !== s || e[18] !== i || e[19] !== o || e[20] !== l ? (E = () => {
|
|
70
|
+
l.setState({
|
|
71
|
+
isLoading: o ?? !1,
|
|
72
|
+
isFetching: i ?? !1,
|
|
73
|
+
error: s
|
|
74
|
+
});
|
|
75
|
+
}, v = [l, o, i, s], e[17] = s, e[18] = i, e[19] = o, e[20] = l, e[21] = E, e[22] = v) : (E = e[21], v = e[22]), J(E, v);
|
|
76
|
+
let L, S;
|
|
77
|
+
e[23] !== c || e[24] !== p || e[25] !== l ? (S = () => {
|
|
78
|
+
l.setState({
|
|
79
|
+
rawFormatter: c,
|
|
80
|
+
formatter: c,
|
|
81
|
+
labelFormatter: p
|
|
82
|
+
});
|
|
83
|
+
}, L = [l, c, p], e[23] = c, e[24] = p, e[25] = l, e[26] = L, e[27] = S) : (L = e[26], S = e[27]), J(S, L);
|
|
84
|
+
let W;
|
|
85
|
+
return e[28] !== m || e[29] !== n ? (W = /* @__PURE__ */ a(Se.Provider, { value: n, children: m }), e[28] = m, e[29] = n, e[30] = W) : W = e[30], W;
|
|
86
|
+
}
|
|
87
|
+
const N = {
|
|
88
|
+
root: {
|
|
89
|
+
position: "relative",
|
|
90
|
+
width: "100%",
|
|
91
|
+
minWidth: 0,
|
|
92
|
+
bgcolor: "background.paper",
|
|
93
|
+
border: "1px solid",
|
|
94
|
+
borderColor: "divider",
|
|
95
|
+
borderRadius: 1,
|
|
96
|
+
overflow: "hidden",
|
|
97
|
+
// MUI Accordion ships its own collapsed-state divider rules; clear them
|
|
98
|
+
// so they don't fight our card border.
|
|
99
|
+
"&::before": {
|
|
100
|
+
display: "none"
|
|
101
|
+
},
|
|
102
|
+
// Hover-fade actions (v1 parity). Direct children of
|
|
103
|
+
// `.widget-wrapper-actions` are dimmed by default on fine-pointer devices
|
|
104
|
+
// and fade in on hover; an action carrying the `.active` class stays
|
|
105
|
+
// full-opacity even outside hover. Coarse-pointer devices show actions
|
|
106
|
+
// always.
|
|
107
|
+
//
|
|
108
|
+
// The class must sit on the action element itself
|
|
109
|
+
// (`<IconButton className='active'>`). v2 does NOT wrap each action in
|
|
110
|
+
// an extra container the way v1 does, so the `> *` selector lands on the
|
|
111
|
+
// action button directly — `&:has(.active)` would only match if the
|
|
112
|
+
// class were on a descendant, which is never the case here.
|
|
113
|
+
"& .widget-wrapper-actions > *": {
|
|
114
|
+
opacity: 1,
|
|
115
|
+
transition: ({
|
|
116
|
+
transitions: t
|
|
117
|
+
}) => t.create("opacity", {
|
|
118
|
+
duration: t.duration.standard,
|
|
119
|
+
easing: t.easing.easeInOut
|
|
120
|
+
}),
|
|
121
|
+
"@media (hover: hover)": {
|
|
122
|
+
opacity: 0
|
|
123
|
+
},
|
|
124
|
+
"&.active": {
|
|
125
|
+
opacity: 1
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
"&:hover .widget-wrapper-actions > *": {
|
|
129
|
+
opacity: 1
|
|
130
|
+
},
|
|
131
|
+
'&[data-collapsed="true"] .widget-wrapper-actions > *': {
|
|
132
|
+
opacity: 0,
|
|
133
|
+
pointerEvents: "none",
|
|
134
|
+
"&.active": {
|
|
135
|
+
opacity: 1
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
// Disabled state — only block interaction; keep visuals unchanged.
|
|
139
|
+
// MUI's default `.Mui-disabled` rules dim the AccordionSummary's color
|
|
140
|
+
// and add a faded background; we override them so the wrapper looks
|
|
141
|
+
// identical to its enabled form. The single behavioral change is
|
|
142
|
+
// `pointer-events: none`, which propagates to every descendant.
|
|
143
|
+
"&.Mui-disabled": {
|
|
144
|
+
pointerEvents: "none",
|
|
145
|
+
bgcolor: "background.paper",
|
|
146
|
+
"& .MuiAccordionSummary-root.Mui-disabled": {
|
|
147
|
+
opacity: 1,
|
|
148
|
+
color: "inherit",
|
|
149
|
+
backgroundColor: "transparent"
|
|
150
|
+
},
|
|
151
|
+
"& .MuiAccordionSummary-expandIconWrapper": {
|
|
152
|
+
display: "none"
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
loading: {
|
|
157
|
+
position: "absolute",
|
|
158
|
+
top: 0,
|
|
159
|
+
left: 0,
|
|
160
|
+
width: "100%",
|
|
161
|
+
height: ({
|
|
162
|
+
spacing: t
|
|
163
|
+
}) => t(0.35),
|
|
164
|
+
zIndex: 1
|
|
165
|
+
},
|
|
166
|
+
summary: {
|
|
167
|
+
minHeight: ({
|
|
168
|
+
spacing: t
|
|
169
|
+
}) => t(7),
|
|
170
|
+
"& .MuiAccordionSummary-content": {
|
|
171
|
+
gap: ({
|
|
172
|
+
spacing: t
|
|
173
|
+
}) => t(0.5),
|
|
174
|
+
paddingInlineEnd: ({
|
|
175
|
+
spacing: t
|
|
176
|
+
}) => t(0.75),
|
|
177
|
+
alignItems: "center"
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
titleCell: {
|
|
181
|
+
flexGrow: 1,
|
|
182
|
+
flexShrink: 1,
|
|
183
|
+
minWidth: 0,
|
|
184
|
+
display: "flex",
|
|
185
|
+
alignItems: "center",
|
|
186
|
+
minHeight: ({
|
|
187
|
+
spacing: t
|
|
188
|
+
}) => t(3)
|
|
189
|
+
},
|
|
190
|
+
titleText: {
|
|
191
|
+
minWidth: 0,
|
|
192
|
+
wordBreak: "break-word",
|
|
193
|
+
overflow: "hidden",
|
|
194
|
+
display: "-webkit-box",
|
|
195
|
+
WebkitLineClamp: 2,
|
|
196
|
+
WebkitBoxOrient: "vertical"
|
|
197
|
+
},
|
|
198
|
+
actions: {
|
|
199
|
+
display: "flex",
|
|
200
|
+
alignItems: "center",
|
|
201
|
+
gap: 0.5,
|
|
202
|
+
justifyContent: "flex-end",
|
|
203
|
+
flexShrink: 0,
|
|
204
|
+
"& > *": {
|
|
205
|
+
pointerEvents: "auto"
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
options: {
|
|
209
|
+
display: "flex",
|
|
210
|
+
alignItems: "center",
|
|
211
|
+
gap: 0.5,
|
|
212
|
+
flexShrink: 0
|
|
213
|
+
},
|
|
214
|
+
detail: {
|
|
215
|
+
display: "flex",
|
|
216
|
+
flexDirection: "column",
|
|
217
|
+
gap: ({
|
|
218
|
+
spacing: t
|
|
219
|
+
}) => t(1),
|
|
220
|
+
paddingTop: ({
|
|
221
|
+
spacing: t
|
|
222
|
+
}) => t(0.5)
|
|
223
|
+
},
|
|
224
|
+
content: {
|
|
225
|
+
minWidth: 0,
|
|
226
|
+
display: "flex",
|
|
227
|
+
flexDirection: "column",
|
|
228
|
+
gap: 1
|
|
229
|
+
},
|
|
230
|
+
footer: {
|
|
231
|
+
pt: 1
|
|
232
|
+
}
|
|
233
|
+
};
|
|
234
|
+
function ue(t) {
|
|
235
|
+
const e = k(5), {
|
|
236
|
+
sx: n,
|
|
237
|
+
children: r
|
|
238
|
+
} = t;
|
|
239
|
+
let o;
|
|
240
|
+
e[0] !== n ? (o = {
|
|
241
|
+
...N.actions,
|
|
242
|
+
...n
|
|
243
|
+
}, e[0] = n, e[1] = o) : o = e[1];
|
|
244
|
+
let i;
|
|
245
|
+
return e[2] !== r || e[3] !== o ? (i = /* @__PURE__ */ a($, { className: "widget-wrapper-actions", onClick: wt, sx: o, children: r }), e[2] = r, e[3] = o, e[4] = i) : i = e[4], i;
|
|
246
|
+
}
|
|
247
|
+
function wt(t) {
|
|
248
|
+
return t.stopPropagation();
|
|
249
|
+
}
|
|
250
|
+
function me(t) {
|
|
251
|
+
const e = k(5), {
|
|
252
|
+
sx: n,
|
|
253
|
+
children: r
|
|
254
|
+
} = t;
|
|
255
|
+
let o;
|
|
256
|
+
e[0] !== n ? (o = {
|
|
257
|
+
...N.options,
|
|
258
|
+
...n
|
|
259
|
+
}, e[0] = n, e[1] = o) : o = e[1];
|
|
260
|
+
let i;
|
|
261
|
+
return e[2] !== r || e[3] !== o ? (i = /* @__PURE__ */ a($, { onClick: Ct, sx: o, children: r }), e[2] = r, e[3] = o, e[4] = i) : i = e[4], i;
|
|
262
|
+
}
|
|
263
|
+
function Ct(t) {
|
|
264
|
+
return t.stopPropagation();
|
|
265
|
+
}
|
|
266
|
+
const Et = {
|
|
267
|
+
collapse: "Collapse",
|
|
268
|
+
expand: "Expand",
|
|
269
|
+
errorFallbackTitle: "Widget failed to render"
|
|
270
|
+
};
|
|
271
|
+
function Tt(t) {
|
|
272
|
+
const e = k(34), {
|
|
273
|
+
title: n,
|
|
274
|
+
collapsed: r,
|
|
275
|
+
onCollapseChange: o,
|
|
276
|
+
defaultCollapsed: i,
|
|
277
|
+
disabled: s,
|
|
278
|
+
labels: c,
|
|
279
|
+
expandIcon: p,
|
|
280
|
+
iconProps: u,
|
|
281
|
+
sx: m,
|
|
282
|
+
children: f
|
|
283
|
+
} = t, g = i === void 0 ? !1 : i, l = s === void 0 ? !1 : s, d = p === void 0 ? ze : p, h = fe(), x = Ie(h, kt), y = r !== void 0, [E, v] = H(g), L = y ? r : E;
|
|
284
|
+
let S;
|
|
285
|
+
e[0] !== o ? (S = (j, q) => {
|
|
286
|
+
const z = !q;
|
|
287
|
+
o?.(z), v(z);
|
|
288
|
+
}, e[0] = o, e[1] = S) : S = e[1];
|
|
289
|
+
const W = S;
|
|
290
|
+
let w;
|
|
291
|
+
e[2] !== c ? (w = {
|
|
292
|
+
...Et,
|
|
293
|
+
...c
|
|
294
|
+
}, e[2] = c, e[3] = w) : w = e[3];
|
|
295
|
+
const D = w;
|
|
296
|
+
let _;
|
|
297
|
+
e[4] !== f ? (_ = _t(f), e[4] = f, e[5] = _) : _ = e[5];
|
|
298
|
+
const {
|
|
299
|
+
summary: I,
|
|
300
|
+
details: C
|
|
301
|
+
} = _, b = L ? D.expand : D.collapse, G = L ? "true" : void 0, Q = !L;
|
|
302
|
+
let A;
|
|
303
|
+
e[6] !== m ? (A = {
|
|
304
|
+
...N.root,
|
|
305
|
+
...m
|
|
306
|
+
}, e[6] = m, e[7] = A) : A = e[7];
|
|
307
|
+
let P;
|
|
308
|
+
e[8] !== x ? (P = x ? /* @__PURE__ */ a(We, { sx: N.loading, color: "primary" }) : null, e[8] = x, e[9] = P) : P = e[9];
|
|
309
|
+
let F;
|
|
310
|
+
e[10] !== d || e[11] !== u ? (F = /* @__PURE__ */ a(d, { fontSize: "small", ...u }), e[10] = d, e[11] = u, e[12] = F) : F = e[12];
|
|
311
|
+
let B;
|
|
312
|
+
e[13] !== n ? (B = (j) => {
|
|
313
|
+
const {
|
|
314
|
+
ref: q
|
|
315
|
+
} = j;
|
|
316
|
+
return /* @__PURE__ */ a($, { sx: N.titleCell, children: /* @__PURE__ */ a(Z, { ref: q, variant: "subtitle1", sx: N.titleText, textTransform: "none", children: n }) });
|
|
317
|
+
}, e[13] = n, e[14] = B) : B = e[14];
|
|
318
|
+
let O;
|
|
319
|
+
e[15] !== B || e[16] !== n ? (O = /* @__PURE__ */ a(He, { title: n, children: B }), e[15] = B, e[16] = n, e[17] = O) : O = e[17];
|
|
320
|
+
let M;
|
|
321
|
+
e[18] !== b || e[19] !== I || e[20] !== F || e[21] !== O ? (M = /* @__PURE__ */ V($e, { expandIcon: F, "aria-label": b, sx: N.summary, children: [
|
|
322
|
+
O,
|
|
323
|
+
I
|
|
324
|
+
] }), e[18] = b, e[19] = I, e[20] = F, e[21] = O, e[22] = M) : M = e[22];
|
|
325
|
+
let U;
|
|
326
|
+
e[23] !== C ? (U = /* @__PURE__ */ a(De, { sx: N.detail, children: C }), e[23] = C, e[24] = U) : U = e[24];
|
|
327
|
+
let R;
|
|
328
|
+
return e[25] !== l || e[26] !== W || e[27] !== P || e[28] !== M || e[29] !== U || e[30] !== G || e[31] !== Q || e[32] !== A ? (R = /* @__PURE__ */ V(Fe, { "data-collapsed": G, expanded: Q, onChange: W, disabled: l, disableGutters: !0, elevation: 0, square: !0, sx: A, children: [
|
|
329
|
+
P,
|
|
330
|
+
M,
|
|
331
|
+
U
|
|
332
|
+
] }), e[25] = l, e[26] = W, e[27] = P, e[28] = M, e[29] = U, e[30] = G, e[31] = Q, e[32] = A, e[33] = R) : R = e[33], R;
|
|
333
|
+
}
|
|
334
|
+
function kt(t) {
|
|
335
|
+
return t.isFetching;
|
|
336
|
+
}
|
|
337
|
+
function _t(t) {
|
|
338
|
+
const e = [], n = [];
|
|
339
|
+
for (const r of ae.toArray(t))
|
|
340
|
+
se(r, ue) || se(r, me) ? e.push(r) : n.push(r);
|
|
341
|
+
return {
|
|
342
|
+
summary: e,
|
|
343
|
+
details: n
|
|
344
|
+
};
|
|
345
|
+
}
|
|
346
|
+
function se(t, e) {
|
|
347
|
+
return ce(t) && t.type === e;
|
|
348
|
+
}
|
|
349
|
+
function It(t) {
|
|
350
|
+
const e = k(5), {
|
|
351
|
+
sx: n,
|
|
352
|
+
children: r
|
|
353
|
+
} = t;
|
|
354
|
+
let o;
|
|
355
|
+
e[0] !== n ? (o = {
|
|
356
|
+
...N.content,
|
|
357
|
+
...n
|
|
358
|
+
}, e[0] = n, e[1] = o) : o = e[1];
|
|
359
|
+
let i;
|
|
360
|
+
return e[2] !== r || e[3] !== o ? (i = /* @__PURE__ */ a($, { "data-slot": "content", sx: o, children: r }), e[2] = r, e[3] = o, e[4] = i) : i = e[4], i;
|
|
361
|
+
}
|
|
362
|
+
function At(t) {
|
|
363
|
+
const e = k(5), {
|
|
364
|
+
sx: n,
|
|
365
|
+
children: r
|
|
366
|
+
} = t;
|
|
367
|
+
let o;
|
|
368
|
+
e[0] !== n ? (o = {
|
|
369
|
+
...N.footer,
|
|
370
|
+
...n
|
|
371
|
+
}, e[0] = n, e[1] = o) : o = e[1];
|
|
372
|
+
let i;
|
|
373
|
+
return e[2] !== r || e[3] !== o ? (i = /* @__PURE__ */ a($, { "data-slot": "footer", sx: o, children: r }), e[2] = r, e[3] = o, e[4] = i) : i = e[4], i;
|
|
374
|
+
}
|
|
375
|
+
const Lt = {
|
|
376
|
+
root: {
|
|
377
|
+
display: "grid",
|
|
378
|
+
gridTemplateColumns: "1fr auto",
|
|
379
|
+
alignItems: "center",
|
|
380
|
+
gap: 1,
|
|
381
|
+
minHeight: 32,
|
|
382
|
+
pb: 1
|
|
383
|
+
}
|
|
384
|
+
};
|
|
385
|
+
function Wt(t) {
|
|
386
|
+
const e = k(5), {
|
|
387
|
+
sx: n,
|
|
388
|
+
children: r
|
|
389
|
+
} = t;
|
|
390
|
+
let o;
|
|
391
|
+
e[0] !== n ? (o = {
|
|
392
|
+
...Lt.root,
|
|
393
|
+
...n
|
|
394
|
+
}, e[0] = n, e[1] = o) : o = e[1];
|
|
395
|
+
let i;
|
|
396
|
+
return e[2] !== r || e[3] !== o ? (i = /* @__PURE__ */ a($, { sx: o, children: r }), e[2] = r, e[3] = o, e[4] = i) : i = e[4], i;
|
|
397
|
+
}
|
|
398
|
+
const ge = {
|
|
399
|
+
emptyRoot: {
|
|
400
|
+
display: "flex",
|
|
401
|
+
flexDirection: "column",
|
|
402
|
+
gap: 1,
|
|
403
|
+
paddingTop: 1,
|
|
404
|
+
paddingBottom: 2,
|
|
405
|
+
paddingX: 2,
|
|
406
|
+
width: "100%",
|
|
407
|
+
minHeight: "100%"
|
|
408
|
+
},
|
|
409
|
+
// Stable wrapper around the success-path children. Real layout (flex
|
|
410
|
+
// column) so html2canvas has a non-zero bounding rect to rasterise.
|
|
411
|
+
// `flex: 1; min-height: 0` lets nested scroll regions / fixed-height
|
|
412
|
+
// chart canvases size correctly inside Widget.Content's flex column.
|
|
413
|
+
captureBox: {
|
|
414
|
+
width: "100%",
|
|
415
|
+
minHeight: 0,
|
|
416
|
+
display: "flex",
|
|
417
|
+
flexDirection: "column",
|
|
418
|
+
flex: 1
|
|
419
|
+
}
|
|
420
|
+
}, $t = {
|
|
421
|
+
errorTitle: "Something went wrong",
|
|
422
|
+
errorMessage: (t) => t instanceof Error ? t.message : typeof t == "string" ? t : t && typeof t == "object" && "message" in t ? String(t.message) : "Unknown error",
|
|
423
|
+
emptyTitle: "No data",
|
|
424
|
+
emptyDescription: "Try adjusting filters or wait for data to load."
|
|
425
|
+
}, Dt = (t) => ({
|
|
426
|
+
isLoading: t.isLoading,
|
|
427
|
+
isFetching: t.isFetching,
|
|
428
|
+
error: t.error,
|
|
429
|
+
rawData: t.rawData
|
|
430
|
+
});
|
|
431
|
+
function Ft(t) {
|
|
432
|
+
const e = k(17), {
|
|
433
|
+
skeleton: n,
|
|
434
|
+
children: r,
|
|
435
|
+
isEmpty: o,
|
|
436
|
+
fallback: i,
|
|
437
|
+
labels: s
|
|
438
|
+
} = t, c = o === void 0 ? Rt : o, p = fe(), u = Ae(p, Dt);
|
|
439
|
+
let m;
|
|
440
|
+
e[0] !== s ? (m = {
|
|
441
|
+
...$t,
|
|
442
|
+
...s
|
|
443
|
+
}, e[0] = s, e[1] = m) : m = e[1];
|
|
444
|
+
const f = m;
|
|
445
|
+
if (u.isLoading) {
|
|
446
|
+
let d;
|
|
447
|
+
return e[2] !== n ? (d = /* @__PURE__ */ a(re, { children: n }), e[2] = n, e[3] = d) : d = e[3], d;
|
|
448
|
+
}
|
|
449
|
+
if (u.error !== void 0 && u.error !== null) {
|
|
450
|
+
let d;
|
|
451
|
+
if (e[4] !== f || e[5] !== i || e[6] !== u.error) {
|
|
452
|
+
const h = Pt(u.error);
|
|
453
|
+
d = i ? /* @__PURE__ */ a(re, { children: i(h) }) : /* @__PURE__ */ a(he, { error: h, labels: f }), e[4] = f, e[5] = i, e[6] = u.error, e[7] = d;
|
|
454
|
+
} else
|
|
455
|
+
d = e[7];
|
|
456
|
+
return d;
|
|
457
|
+
}
|
|
458
|
+
if (c(u.rawData)) {
|
|
459
|
+
let d;
|
|
460
|
+
return e[8] !== f ? (d = /* @__PURE__ */ a(Ot, { labels: f }), e[8] = f, e[9] = d) : d = e[9], d;
|
|
461
|
+
}
|
|
462
|
+
let g;
|
|
463
|
+
e[10] !== r || e[11] !== p ? (g = /* @__PURE__ */ a(Bt, { id: p, children: r }), e[10] = r, e[11] = p, e[12] = g) : g = e[12];
|
|
464
|
+
let l;
|
|
465
|
+
return e[13] !== f || e[14] !== i || e[15] !== g ? (l = /* @__PURE__ */ a(Mt, { fallback: i, labels: f, children: g }), e[13] = f, e[14] = i, e[15] = g, e[16] = l) : l = e[16], l;
|
|
466
|
+
}
|
|
467
|
+
function Bt(t) {
|
|
468
|
+
const e = k(5), {
|
|
469
|
+
id: n,
|
|
470
|
+
children: r
|
|
471
|
+
} = t;
|
|
472
|
+
let o;
|
|
473
|
+
e[0] !== n ? (o = (c) => Le(n, c), e[0] = n, e[1] = o) : o = e[1];
|
|
474
|
+
const i = o;
|
|
475
|
+
let s;
|
|
476
|
+
return e[2] !== r || e[3] !== i ? (s = /* @__PURE__ */ a($, { ref: i, sx: ge.captureBox, children: r }), e[2] = r, e[3] = i, e[4] = s) : s = e[4], s;
|
|
477
|
+
}
|
|
478
|
+
function he(t) {
|
|
479
|
+
const e = k(8), {
|
|
480
|
+
error: n,
|
|
481
|
+
labels: r
|
|
482
|
+
} = t;
|
|
483
|
+
let o;
|
|
484
|
+
e[0] !== r.errorTitle ? (o = /* @__PURE__ */ a(Be, { children: r.errorTitle }), e[0] = r.errorTitle, e[1] = o) : o = e[1];
|
|
485
|
+
let i;
|
|
486
|
+
e[2] !== n || e[3] !== r ? (i = r.errorMessage(n), e[2] = n, e[3] = r, e[4] = i) : i = e[4];
|
|
487
|
+
let s;
|
|
488
|
+
return e[5] !== o || e[6] !== i ? (s = /* @__PURE__ */ V(Oe, { severity: "error", children: [
|
|
489
|
+
o,
|
|
490
|
+
i
|
|
491
|
+
] }), e[5] = o, e[6] = i, e[7] = s) : s = e[7], s;
|
|
492
|
+
}
|
|
493
|
+
function Ot(t) {
|
|
494
|
+
const e = k(7), {
|
|
495
|
+
labels: n
|
|
496
|
+
} = t;
|
|
497
|
+
let r;
|
|
498
|
+
e[0] !== n.emptyTitle ? (r = /* @__PURE__ */ a(Z, { variant: "body2", color: "text.primary", children: n.emptyTitle }), e[0] = n.emptyTitle, e[1] = r) : r = e[1];
|
|
499
|
+
let o;
|
|
500
|
+
e[2] !== n.emptyDescription ? (o = /* @__PURE__ */ a(Z, { variant: "caption", color: "text.secondary", children: n.emptyDescription }), e[2] = n.emptyDescription, e[3] = o) : o = e[3];
|
|
501
|
+
let i;
|
|
502
|
+
return e[4] !== r || e[5] !== o ? (i = /* @__PURE__ */ V($, { sx: ge.emptyRoot, children: [
|
|
503
|
+
r,
|
|
504
|
+
o
|
|
505
|
+
] }), e[4] = r, e[5] = o, e[6] = i) : i = e[6], i;
|
|
506
|
+
}
|
|
507
|
+
class Mt extends be {
|
|
508
|
+
state = {
|
|
509
|
+
error: null
|
|
510
|
+
};
|
|
511
|
+
static getDerivedStateFromError(e) {
|
|
512
|
+
return {
|
|
513
|
+
error: e
|
|
514
|
+
};
|
|
515
|
+
}
|
|
516
|
+
componentDidCatch(e) {
|
|
517
|
+
console.error("[widgets-v2] Render error in <Widget.State> child:", e);
|
|
518
|
+
}
|
|
519
|
+
render() {
|
|
520
|
+
const {
|
|
521
|
+
error: e
|
|
522
|
+
} = this.state;
|
|
523
|
+
if (e !== null) {
|
|
524
|
+
const {
|
|
525
|
+
fallback: n,
|
|
526
|
+
labels: r
|
|
527
|
+
} = this.props;
|
|
528
|
+
return n ? n(e) : /* @__PURE__ */ a(he, { error: e, labels: r });
|
|
529
|
+
}
|
|
530
|
+
return this.props.children;
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
function Rt(t) {
|
|
534
|
+
return t == null ? !0 : Array.isArray(t) ? !!(t.length === 0 || t.every((e) => Array.isArray(e) && e.length === 0)) : typeof t == "object" && Object.keys(t).length === 0;
|
|
535
|
+
}
|
|
536
|
+
function Pt(t) {
|
|
537
|
+
return t instanceof Error ? t : typeof t == "string" ? new Error(t) : t && typeof t == "object" && "message" in t ? new Error(String(t.message)) : new Error("Unknown error");
|
|
538
|
+
}
|
|
539
|
+
const Ut = {
|
|
540
|
+
allSelected: "All selected",
|
|
541
|
+
selections: (t) => `${t} selected`,
|
|
542
|
+
clear: "Clear"
|
|
543
|
+
}, te = {
|
|
544
|
+
root: {
|
|
545
|
+
display: "flex",
|
|
546
|
+
alignItems: "center",
|
|
547
|
+
gap: 0.5,
|
|
548
|
+
minHeight: 24
|
|
549
|
+
},
|
|
550
|
+
label: {
|
|
551
|
+
color: "text.secondary"
|
|
552
|
+
}
|
|
553
|
+
};
|
|
554
|
+
function Nt(t) {
|
|
555
|
+
const e = k(28), {
|
|
556
|
+
count: n,
|
|
557
|
+
total: r,
|
|
558
|
+
onClear: o,
|
|
559
|
+
labels: i,
|
|
560
|
+
icon: s,
|
|
561
|
+
iconProps: c
|
|
562
|
+
} = t;
|
|
563
|
+
if (r === 0)
|
|
564
|
+
return null;
|
|
565
|
+
let p, u, m, f, g, l, d, h;
|
|
566
|
+
if (e[0] !== s || e[1] !== n || e[2] !== c || e[3] !== i) {
|
|
567
|
+
h = /* @__PURE__ */ Symbol.for("react.early_return_sentinel");
|
|
568
|
+
e: {
|
|
569
|
+
if (m = {
|
|
570
|
+
...Ut,
|
|
571
|
+
...i
|
|
572
|
+
}, n === 0) {
|
|
573
|
+
let v;
|
|
574
|
+
e[12] !== s || e[13] !== c ? (v = s ? /* @__PURE__ */ a(s, { fontSize: "small", ...c }) : null, e[12] = s, e[13] = c, e[14] = v) : v = e[14], h = /* @__PURE__ */ V($, { sx: te.root, children: [
|
|
575
|
+
v,
|
|
576
|
+
/* @__PURE__ */ a(Z, { variant: "caption", sx: te.label, children: m.allSelected })
|
|
577
|
+
] });
|
|
578
|
+
break e;
|
|
579
|
+
}
|
|
580
|
+
u = $, d = te.root, p = Z, f = "caption", g = te.label, l = m.selections(n);
|
|
581
|
+
}
|
|
582
|
+
e[0] = s, e[1] = n, e[2] = c, e[3] = i, e[4] = p, e[5] = u, e[6] = m, e[7] = f, e[8] = g, e[9] = l, e[10] = d, e[11] = h;
|
|
583
|
+
} else
|
|
584
|
+
p = e[4], u = e[5], m = e[6], f = e[7], g = e[8], l = e[9], d = e[10], h = e[11];
|
|
585
|
+
if (h !== /* @__PURE__ */ Symbol.for("react.early_return_sentinel"))
|
|
586
|
+
return h;
|
|
587
|
+
let x;
|
|
588
|
+
e[15] !== p || e[16] !== f || e[17] !== g || e[18] !== l ? (x = /* @__PURE__ */ a(p, { variant: f, sx: g, children: l }), e[15] = p, e[16] = f, e[17] = g, e[18] = l, e[19] = x) : x = e[19];
|
|
589
|
+
let y;
|
|
590
|
+
e[20] !== m || e[21] !== o ? (y = o && /* @__PURE__ */ a(Me, { size: "small", variant: "text", onClick: o, children: m.clear }), e[20] = m, e[21] = o, e[22] = y) : y = e[22];
|
|
591
|
+
let E;
|
|
592
|
+
return e[23] !== u || e[24] !== d || e[25] !== x || e[26] !== y ? (E = /* @__PURE__ */ V(u, { sx: d, children: [
|
|
593
|
+
x,
|
|
594
|
+
y
|
|
595
|
+
] }), e[23] = u, e[24] = d, e[25] = x, e[26] = y, e[27] = E) : E = e[27], E;
|
|
596
|
+
}
|
|
597
|
+
const jt = {
|
|
598
|
+
trigger: "More actions",
|
|
599
|
+
close: "Close"
|
|
600
|
+
}, ne = {
|
|
601
|
+
root: {
|
|
602
|
+
display: "flex",
|
|
603
|
+
alignItems: "center",
|
|
604
|
+
gap: 0.25,
|
|
605
|
+
width: "fit-content",
|
|
606
|
+
borderRadius: 0.5,
|
|
607
|
+
gridColumn: 2,
|
|
608
|
+
height: "fit-content"
|
|
609
|
+
},
|
|
610
|
+
preview: {
|
|
611
|
+
display: "flex",
|
|
612
|
+
alignItems: "center",
|
|
613
|
+
gap: 0.25
|
|
614
|
+
},
|
|
615
|
+
triggerActive: {
|
|
616
|
+
bgcolor: "primary.relatedLight"
|
|
617
|
+
},
|
|
618
|
+
paper: {
|
|
619
|
+
// Positioning is handled by Popper; only visual styles here.
|
|
620
|
+
display: "flex",
|
|
621
|
+
alignItems: "center",
|
|
622
|
+
gap: 0.25,
|
|
623
|
+
px: 0.25,
|
|
624
|
+
py: 0.25,
|
|
625
|
+
mx: 0.25,
|
|
626
|
+
mt: "0 !important",
|
|
627
|
+
// Popper's placement adds a margin-top to offset from the trigger; we want to override that.
|
|
628
|
+
bgcolor: "background.paper",
|
|
629
|
+
borderRadius: 0.5
|
|
630
|
+
}
|
|
631
|
+
};
|
|
632
|
+
function zt(t) {
|
|
633
|
+
const e = k(44), {
|
|
634
|
+
visibleCount: n,
|
|
635
|
+
labels: r,
|
|
636
|
+
icon: o,
|
|
637
|
+
iconProps: i,
|
|
638
|
+
direction: s,
|
|
639
|
+
sx: c,
|
|
640
|
+
children: p
|
|
641
|
+
} = t, u = o === void 0 ? qe : o, m = s === void 0 ? "right" : s;
|
|
642
|
+
let f;
|
|
643
|
+
e[0] !== r ? (f = {
|
|
644
|
+
...jt,
|
|
645
|
+
...r
|
|
646
|
+
}, e[0] = r, e[1] = f) : f = e[1];
|
|
647
|
+
const g = f, [l, d] = H(!1), [h, x] = H(null), [y, E] = H(null), [v, L] = H(null);
|
|
648
|
+
let S;
|
|
649
|
+
e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (S = () => d(qt), e[2] = S) : S = e[2];
|
|
650
|
+
const W = S;
|
|
651
|
+
let w;
|
|
652
|
+
e[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (w = (T) => {
|
|
653
|
+
x(T);
|
|
654
|
+
}, e[3] = w) : w = e[3];
|
|
655
|
+
const D = w;
|
|
656
|
+
let _, I;
|
|
657
|
+
e[4] !== l ? (_ = () => {
|
|
658
|
+
if (!l)
|
|
659
|
+
return;
|
|
660
|
+
const T = (Y) => {
|
|
661
|
+
Y.key === "Escape" && d(!1);
|
|
662
|
+
};
|
|
663
|
+
return document.addEventListener("keydown", T), () => document.removeEventListener("keydown", T);
|
|
664
|
+
}, I = [l], e[4] = l, e[5] = _, e[6] = I) : (_ = e[5], I = e[6]), de(_, I);
|
|
665
|
+
const [C] = H(Gt);
|
|
666
|
+
let b, G;
|
|
667
|
+
e[7] !== p ? (b = ae.toArray(p).filter(Vt), G = b.reduce(Ht, 0), e[7] = p, e[8] = b, e[9] = G) : (b = e[8], G = e[9]);
|
|
668
|
+
const A = n !== void 0 && G > n;
|
|
669
|
+
let P;
|
|
670
|
+
e: {
|
|
671
|
+
if (!A || n === void 0) {
|
|
672
|
+
P = null;
|
|
673
|
+
break e;
|
|
674
|
+
}
|
|
675
|
+
let T;
|
|
676
|
+
e[10] !== b || e[11] !== n ? (T = Xt(b, n), e[10] = b, e[11] = n, e[12] = T) : T = e[12], P = T;
|
|
677
|
+
}
|
|
678
|
+
const F = P;
|
|
679
|
+
!A && l && d(!1);
|
|
680
|
+
let B, O;
|
|
681
|
+
if (e[13] !== C || e[14] !== y || e[15] !== l || e[16] !== v ? (B = () => {
|
|
682
|
+
const T = l && v ? v : y;
|
|
683
|
+
C && T && C.parentNode !== T && T.appendChild(C);
|
|
684
|
+
}, O = [l, y, v, C], e[13] = C, e[14] = y, e[15] = l, e[16] = v, e[17] = B, e[18] = O) : (B = e[17], O = e[18]), J(B, O), b.length === 0)
|
|
685
|
+
return null;
|
|
686
|
+
const M = l ? g.close : g.trigger, U = m === "left" ? "row-reverse" : "row";
|
|
687
|
+
let R;
|
|
688
|
+
e[19] !== U || e[20] !== c ? (R = {
|
|
689
|
+
...ne.root,
|
|
690
|
+
flexDirection: U,
|
|
691
|
+
...c
|
|
692
|
+
}, e[19] = U, e[20] = c, e[21] = R) : R = e[21];
|
|
693
|
+
let j;
|
|
694
|
+
e[22] !== u || e[23] !== i || e[24] !== l || e[25] !== A || e[26] !== M ? (j = A && /* @__PURE__ */ V(re, { children: [
|
|
695
|
+
/* @__PURE__ */ a(Xe, { title: M, children: /* @__PURE__ */ a(Re, { ref: D, size: "small", "aria-label": M, "aria-pressed": l, onClick: W, className: l ? "active" : void 0, sx: {
|
|
696
|
+
...l && ne.triggerActive
|
|
697
|
+
}, children: l ? /* @__PURE__ */ a(Ge, { fontSize: "small" }) : /* @__PURE__ */ a(u, { fontSize: "small", ...i }) }) }),
|
|
698
|
+
/* @__PURE__ */ a(Pe, { orientation: "vertical", flexItem: !0, sx: {
|
|
699
|
+
mx: 0.5
|
|
700
|
+
} })
|
|
701
|
+
] }), e[22] = u, e[23] = i, e[24] = l, e[25] = A, e[26] = M, e[27] = j) : j = e[27];
|
|
702
|
+
let q;
|
|
703
|
+
e[28] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (q = /* @__PURE__ */ a($, { ref: E, sx: ne.preview }), e[28] = q) : q = e[28];
|
|
704
|
+
let z;
|
|
705
|
+
e[29] !== h || e[30] !== m || e[31] !== l || e[32] !== A ? (z = A && /* @__PURE__ */ a(Ue, { open: l, anchorEl: h, placement: m === "left" ? "left" : "right", transition: !0, modifiers: [{
|
|
706
|
+
name: "flip",
|
|
707
|
+
enabled: !1
|
|
708
|
+
}], sx: {
|
|
709
|
+
zIndex: "tooltip",
|
|
710
|
+
mt: 0
|
|
711
|
+
}, children: (T) => {
|
|
712
|
+
const {
|
|
713
|
+
TransitionProps: Y
|
|
714
|
+
} = T;
|
|
715
|
+
return /* @__PURE__ */ a(Ne, { ...Y, style: {
|
|
716
|
+
transformOrigin: m === "left" ? "right center" : "left center"
|
|
717
|
+
}, children: /* @__PURE__ */ a(je, { ref: L, sx: ne.paper }) });
|
|
718
|
+
} }), e[29] = h, e[30] = m, e[31] = l, e[32] = A, e[33] = z) : z = e[33];
|
|
719
|
+
let K;
|
|
720
|
+
e[34] !== C || e[35] !== F || e[36] !== b || e[37] !== l ? (K = C ? Ve(b.map((T, Y) => {
|
|
721
|
+
const le = l || !F || F.has(Y), xe = T.key ?? Y;
|
|
722
|
+
return /* @__PURE__ */ a("div", { "data-toolbox-item-visible": le ? "true" : "false", style: {
|
|
723
|
+
display: le ? "contents" : "none"
|
|
724
|
+
}, children: T }, xe);
|
|
725
|
+
}), C) : null, e[34] = C, e[35] = F, e[36] = b, e[37] = l, e[38] = K) : K = e[38];
|
|
726
|
+
let ee;
|
|
727
|
+
return e[39] !== R || e[40] !== j || e[41] !== z || e[42] !== K ? (ee = /* @__PURE__ */ V($, { sx: R, children: [
|
|
728
|
+
j,
|
|
729
|
+
q,
|
|
730
|
+
z,
|
|
731
|
+
K
|
|
732
|
+
] }), e[39] = R, e[40] = j, e[41] = z, e[42] = K, e[43] = ee) : ee = e[43], ee;
|
|
733
|
+
}
|
|
734
|
+
function Ht(t, e) {
|
|
735
|
+
return t + (ie(e) ? 0 : 1);
|
|
736
|
+
}
|
|
737
|
+
function Vt(t) {
|
|
738
|
+
return ce(t);
|
|
739
|
+
}
|
|
740
|
+
function Gt() {
|
|
741
|
+
if (typeof document > "u")
|
|
742
|
+
return null;
|
|
743
|
+
const t = document.createElement("div");
|
|
744
|
+
return t.style.display = "contents", t;
|
|
745
|
+
}
|
|
746
|
+
function qt(t) {
|
|
747
|
+
return !t;
|
|
748
|
+
}
|
|
749
|
+
function ie(t) {
|
|
750
|
+
return t.props["data-toolbar-hidden"] === !0;
|
|
751
|
+
}
|
|
752
|
+
function Xt(t, e) {
|
|
753
|
+
const n = [];
|
|
754
|
+
let r = 0;
|
|
755
|
+
for (let o = 0; o < t.length && !(r >= e); o++)
|
|
756
|
+
n.push(o), ie(t[o]) || r++;
|
|
757
|
+
for (; n.length > 0 && ie(t[n[n.length - 1]]); )
|
|
758
|
+
n.pop();
|
|
759
|
+
return new Set(n);
|
|
760
|
+
}
|
|
761
|
+
const Zt = {
|
|
762
|
+
showMore: "Show more",
|
|
763
|
+
showLess: "Show less"
|
|
764
|
+
}, oe = {
|
|
765
|
+
root: {
|
|
766
|
+
display: "flex",
|
|
767
|
+
flexDirection: "column",
|
|
768
|
+
gap: 0.5
|
|
769
|
+
},
|
|
770
|
+
text: {
|
|
771
|
+
color: "text.secondary",
|
|
772
|
+
overflow: "hidden",
|
|
773
|
+
overflowWrap: "anywhere"
|
|
774
|
+
},
|
|
775
|
+
clamped: {
|
|
776
|
+
display: "-webkit-box",
|
|
777
|
+
WebkitBoxOrient: "vertical",
|
|
778
|
+
WebkitLineClamp: 3
|
|
779
|
+
},
|
|
780
|
+
toggle: {
|
|
781
|
+
alignSelf: "flex-start",
|
|
782
|
+
color: "primary.main",
|
|
783
|
+
fontWeight: 500,
|
|
784
|
+
cursor: "pointer",
|
|
785
|
+
"&:hover": {
|
|
786
|
+
textDecoration: "underline"
|
|
787
|
+
}
|
|
788
|
+
}
|
|
789
|
+
};
|
|
790
|
+
function X(t) {
|
|
791
|
+
const e = k(3), {
|
|
792
|
+
children: n
|
|
793
|
+
} = t;
|
|
794
|
+
let r;
|
|
795
|
+
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (r = {
|
|
796
|
+
m: 0
|
|
797
|
+
}, e[0] = r) : r = e[0];
|
|
798
|
+
let o;
|
|
799
|
+
return e[1] !== n ? (o = /* @__PURE__ */ a(Z, { variant: "caption", component: "p", color: "inherit", sx: r, children: n }), e[1] = n, e[2] = o) : o = e[2], o;
|
|
800
|
+
}
|
|
801
|
+
const Kt = {
|
|
802
|
+
// Headings demoted to caption typography — a Note can't introduce a
|
|
803
|
+
// heading into the page outline.
|
|
804
|
+
h1: X,
|
|
805
|
+
h2: X,
|
|
806
|
+
h3: X,
|
|
807
|
+
h4: X,
|
|
808
|
+
h5: X,
|
|
809
|
+
h6: X,
|
|
810
|
+
p: X,
|
|
811
|
+
// External-safe link defaults; inherit colour from the muted caption.
|
|
812
|
+
a: ({
|
|
813
|
+
children: t,
|
|
814
|
+
href: e
|
|
815
|
+
}) => /* @__PURE__ */ a(pe, { href: e, target: "_blank", rel: "noopener noreferrer", color: "inherit", underline: "always", children: t })
|
|
816
|
+
};
|
|
817
|
+
function Yt(t) {
|
|
818
|
+
const e = k(7), {
|
|
819
|
+
lineClamp: n,
|
|
820
|
+
labels: r,
|
|
821
|
+
children: o
|
|
822
|
+
} = t, i = n === void 0 ? 3 : n;
|
|
823
|
+
let s;
|
|
824
|
+
e[0] !== o ? (s = /* @__PURE__ */ a(Z, { variant: "caption", component: "div", color: "inherit", children: o }), e[0] = o, e[1] = s) : s = e[1];
|
|
825
|
+
let c;
|
|
826
|
+
return e[2] !== o || e[3] !== r || e[4] !== i || e[5] !== s ? (c = /* @__PURE__ */ a(ye, { lineClamp: i, labels: r, dependency: o, children: s }), e[2] = o, e[3] = r, e[4] = i, e[5] = s, e[6] = c) : c = e[6], c;
|
|
827
|
+
}
|
|
828
|
+
function Jt(t) {
|
|
829
|
+
const e = k(7), {
|
|
830
|
+
content: n,
|
|
831
|
+
lineClamp: r,
|
|
832
|
+
labels: o
|
|
833
|
+
} = t, i = r === void 0 ? 3 : r;
|
|
834
|
+
let s;
|
|
835
|
+
e[0] !== n ? (s = /* @__PURE__ */ a(Je, { content: n, components: Kt }), e[0] = n, e[1] = s) : s = e[1];
|
|
836
|
+
let c;
|
|
837
|
+
return e[2] !== n || e[3] !== o || e[4] !== i || e[5] !== s ? (c = /* @__PURE__ */ a(ye, { lineClamp: i, labels: o, dependency: n, children: s }), e[2] = n, e[3] = o, e[4] = i, e[5] = s, e[6] = c) : c = e[6], c;
|
|
838
|
+
}
|
|
839
|
+
const Qt = Object.assign(Yt, {
|
|
840
|
+
Markdown: Jt
|
|
841
|
+
});
|
|
842
|
+
function ye(t) {
|
|
843
|
+
const e = k(27), {
|
|
844
|
+
lineClamp: n,
|
|
845
|
+
labels: r,
|
|
846
|
+
dependency: o,
|
|
847
|
+
children: i
|
|
848
|
+
} = t;
|
|
849
|
+
let s;
|
|
850
|
+
e[0] !== r ? (s = {
|
|
851
|
+
...Zt,
|
|
852
|
+
...r
|
|
853
|
+
}, e[0] = r, e[1] = s) : s = e[1];
|
|
854
|
+
const c = s, p = ve(null), [u, m] = H(!1), [f, g] = H(!1), l = n <= 0;
|
|
855
|
+
let d;
|
|
856
|
+
e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (d = () => {
|
|
857
|
+
const b = p.current;
|
|
858
|
+
b && m(b.scrollHeight > b.clientHeight + 1);
|
|
859
|
+
}, e[2] = d) : d = e[2];
|
|
860
|
+
const h = d;
|
|
861
|
+
let x;
|
|
862
|
+
e[3] !== l ? (x = () => {
|
|
863
|
+
if (l)
|
|
864
|
+
return;
|
|
865
|
+
const b = p.current;
|
|
866
|
+
if (b)
|
|
867
|
+
return h(), Ze(b, h);
|
|
868
|
+
}, e[3] = l, e[4] = x) : x = e[4];
|
|
869
|
+
let y;
|
|
870
|
+
e[5] !== l || e[6] !== o ? (y = [h, o, l], e[5] = l, e[6] = o, e[7] = y) : y = e[7], de(x, y);
|
|
871
|
+
let E;
|
|
872
|
+
e[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (E = () => g(en), e[8] = E) : E = e[8];
|
|
873
|
+
const v = E, L = !f && !l;
|
|
874
|
+
let S;
|
|
875
|
+
e[9] !== L || e[10] !== n ? (S = L ? {
|
|
876
|
+
...oe.clamped,
|
|
877
|
+
WebkitLineClamp: n
|
|
878
|
+
} : null, e[9] = L, e[10] = n, e[11] = S) : S = e[11];
|
|
879
|
+
const W = S;
|
|
880
|
+
let w;
|
|
881
|
+
e[12] !== W ? (w = W ?? {}, e[12] = W, e[13] = w) : w = e[13];
|
|
882
|
+
let D;
|
|
883
|
+
e[14] !== w ? (D = {
|
|
884
|
+
...oe.text,
|
|
885
|
+
...w
|
|
886
|
+
}, e[14] = w, e[15] = D) : D = e[15];
|
|
887
|
+
let _;
|
|
888
|
+
e[16] !== i || e[17] !== D ? (_ = /* @__PURE__ */ a($, { ref: p, sx: D, children: i }), e[16] = i, e[17] = D, e[18] = _) : _ = e[18];
|
|
889
|
+
let I;
|
|
890
|
+
e[19] !== c || e[20] !== l || e[21] !== f || e[22] !== u ? (I = !l && (u || f) && /* @__PURE__ */ a(pe, { component: "button", variant: "caption", underline: "none", onClick: v, sx: oe.toggle, children: f ? c.showLess : c.showMore }), e[19] = c, e[20] = l, e[21] = f, e[22] = u, e[23] = I) : I = e[23];
|
|
891
|
+
let C;
|
|
892
|
+
return e[24] !== I || e[25] !== _ ? (C = /* @__PURE__ */ V($, { sx: oe.root, children: [
|
|
893
|
+
_,
|
|
894
|
+
I
|
|
895
|
+
] }), e[24] = I, e[25] = _, e[26] = C) : C = e[26], C;
|
|
896
|
+
}
|
|
897
|
+
function en(t) {
|
|
898
|
+
return !t;
|
|
899
|
+
}
|
|
900
|
+
const An = {
|
|
901
|
+
// Composition shell
|
|
902
|
+
Provider: St,
|
|
903
|
+
Wrapper: Tt,
|
|
904
|
+
Actions: ue,
|
|
905
|
+
Options: me,
|
|
906
|
+
Content: It,
|
|
907
|
+
Footer: At,
|
|
908
|
+
Subheader: Wt,
|
|
909
|
+
State: Ft,
|
|
910
|
+
SelectionSummary: Nt,
|
|
911
|
+
Toolbox: zt,
|
|
912
|
+
Note: Qt,
|
|
913
|
+
// ECharts bridge
|
|
914
|
+
Echart: Ye,
|
|
915
|
+
EchartUI: Ke,
|
|
916
|
+
// Actions
|
|
917
|
+
Searcher: dt,
|
|
918
|
+
SearcherToggle: ct,
|
|
919
|
+
StackToggle: at,
|
|
920
|
+
ZoomToggle: st,
|
|
921
|
+
BrushToggle: lt,
|
|
922
|
+
RelativeData: it,
|
|
923
|
+
Download: rt,
|
|
924
|
+
FullScreen: ot,
|
|
925
|
+
LockSelection: nt,
|
|
926
|
+
ChangeColumn: tt,
|
|
927
|
+
// Widget primitives (renderer bridges + pure UI). Pre-composed widget
|
|
928
|
+
// modules (Bar, FormulaWidget, TableWidget, etc.) are application-level
|
|
929
|
+
// compositions of these primitives and live outside the library —
|
|
930
|
+
// see `apps/storybook/stories/modules/widgets/` for canonical examples.
|
|
931
|
+
Formula: pt,
|
|
932
|
+
FormulaUI: ft,
|
|
933
|
+
Markdown: et,
|
|
934
|
+
MarkdownUI: Qe,
|
|
935
|
+
Spread: mt,
|
|
936
|
+
SpreadUI: ut,
|
|
937
|
+
Range: ht,
|
|
938
|
+
RangeUI: gt,
|
|
939
|
+
Category: xt,
|
|
940
|
+
CategoryUI: yt,
|
|
941
|
+
Table: vt,
|
|
942
|
+
TableUI: bt
|
|
943
|
+
};
|
|
944
|
+
export {
|
|
945
|
+
$n as DEFAULT_INIT_OPTS,
|
|
946
|
+
Zt as DEFAULT_NOTE_LABELS,
|
|
947
|
+
Ut as DEFAULT_SELECTION_SUMMARY_LABELS,
|
|
948
|
+
$t as DEFAULT_STATE_LABELS,
|
|
949
|
+
jt as DEFAULT_TOOLBOX_LABELS,
|
|
950
|
+
Et as DEFAULT_WRAPPER_LABELS,
|
|
951
|
+
An as Widget
|
|
952
|
+
};
|
|
953
|
+
//# sourceMappingURL=widgets-v2.js.map
|