@carto/ps-react-ui 5.0.0 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{actions-yPZwFxSZ.js → actions-KsX1xdDM.js} +388 -368
- package/dist/actions-KsX1xdDM.js.map +1 -0
- package/dist/category-CsdDqDzo.js +833 -0
- package/dist/category-CsdDqDzo.js.map +1 -0
- package/dist/chat.js +548 -526
- package/dist/chat.js.map +1 -1
- package/dist/{components-FED-ArwH.js → components-CTUpdQuj.js} +1526 -1782
- package/dist/components-CTUpdQuj.js.map +1 -0
- package/dist/components.js +4 -5
- package/dist/{download-DdaK3qgC.js → download-Vlzn2jzb.js} +12 -12
- package/dist/download-Vlzn2jzb.js.map +1 -0
- package/dist/{echart-DeBgdOtX.js → echart-DjcbtKgi.js} +34 -35
- package/dist/echart-DjcbtKgi.js.map +1 -0
- package/dist/formula-CdHWtepq.js +282 -0
- package/dist/formula-CdHWtepq.js.map +1 -0
- package/dist/legend.js +261 -256
- package/dist/legend.js.map +1 -1
- package/dist/{markdown-2dfL6Cmb.js → markdown-CY-67NRE.js} +8 -8
- package/dist/markdown-CY-67NRE.js.map +1 -0
- package/dist/{markdown-content-BWUqwx9F.js → markdown-content-kYNLOX0T.js} +2 -2
- package/dist/markdown-content-kYNLOX0T.js.map +1 -0
- package/dist/{chart-config-B_fdIcD3.js → option-builders-DQivvvbb.js} +10 -56
- package/dist/option-builders-DQivvvbb.js.map +1 -0
- package/dist/{range-BCMAl5xf.js → range-DHQSsl2_.js} +8 -8
- package/dist/range-DHQSsl2_.js.map +1 -0
- package/dist/smart-tooltip-Dc_rHhyI.js +51 -0
- package/dist/smart-tooltip-Dc_rHhyI.js.map +1 -0
- package/dist/{spread-Ccpg9fi0.js → spread-DuM5oTI1.js} +10 -10
- package/dist/spread-DuM5oTI1.js.map +1 -0
- package/dist/{stores-tiFePP0A.js → stores-B8CHbgw-.js} +11 -11
- package/dist/stores-B8CHbgw-.js.map +1 -0
- package/dist/stores-mad-9yFn.js.map +1 -1
- package/dist/styles-BCEBm7xh.js +146 -0
- package/dist/styles-BCEBm7xh.js.map +1 -0
- package/dist/{table-Bx9Uj3U0.js → table-BE4uO9pp.js} +14 -14
- package/dist/table-BE4uO9pp.js.map +1 -0
- package/dist/types/chat/bubbles/chat-suggestion-button.d.ts +1 -1
- package/dist/types/chat/types.d.ts +5 -2
- package/dist/types/components/index.d.ts +1 -3
- package/dist/types/components/lasso-tool/geometry-toolbar.d.ts +1 -1
- package/dist/types/components/lasso-tool/toolbar/context.d.ts +1 -1
- package/dist/types/components/types.d.ts +15 -0
- package/dist/types/legend/components/legend-actions/legend-actions.d.ts +2 -2
- package/dist/types/legend/components/legend-swatch/legend-swatch.d.ts +2 -1
- package/dist/types/legend/index.d.ts +1 -1
- package/dist/types/legend/provider/legend-provider.d.ts +2 -2
- package/dist/types/migration/v4/classes.d.ts +16 -0
- package/dist/types/migration/v4/icons.d.ts +31 -0
- package/dist/types/migration/v4/index.d.ts +17 -0
- package/dist/types/migration/v4/rules.d.ts +42 -0
- package/dist/types/migration/v4/transform.d.ts +4 -0
- package/dist/types/migration/v4/transforms/helpers.d.ts +97 -0
- package/dist/types/migration/v4/transforms/meridian-5.d.ts +22 -0
- package/dist/types/migration/v4/transforms/ps-react-ui.d.ts +20 -0
- package/dist/types/migration/v4/transforms/v5-v6.d.ts +27 -0
- package/dist/types/migration/v4/transforms/v6-v7.d.ts +54 -0
- package/dist/types/migration/v4/transforms/v7-v9-dom.d.ts +63 -0
- package/dist/types/migration/v4/transforms/v7-v9-props.d.ts +64 -0
- package/dist/types/migration/v4/widgets-v1.d.ts +12 -0
- package/dist/types/widgets/actions/brush-toggle/brush-toggle.d.ts +51 -24
- package/dist/types/widgets/actions/brush-toggle/style.d.ts +7 -16
- package/dist/types/widgets/actions/change-column/change-column-icon.d.ts +2 -1
- package/dist/types/widgets/actions/change-column/change-column.d.ts +26 -17
- package/dist/types/widgets/actions/change-column/sortable-column-item.d.ts +10 -5
- package/dist/types/widgets/actions/change-column/types.d.ts +9 -18
- package/dist/types/widgets/actions/download/download.d.ts +18 -13
- package/dist/types/widgets/actions/download/exports.d.ts +33 -17
- package/dist/types/{widgets-v2 → widgets}/actions/download/png-item.d.ts +1 -1
- package/dist/types/widgets/actions/download/types.d.ts +30 -16
- package/dist/types/widgets/actions/fullscreen/fullscreen.d.ts +73 -10
- package/dist/types/{widgets-v2 → widgets}/actions/fullscreen/style.d.ts +9 -0
- package/dist/types/widgets/actions/fullscreen/types.d.ts +13 -20
- package/dist/types/widgets/actions/index.d.ts +10 -20
- package/dist/types/widgets/actions/lock-selection/lock-selection.d.ts +54 -16
- package/dist/types/widgets/actions/relative-data/relative-data.d.ts +36 -21
- package/dist/types/{widgets-v2 → widgets}/actions/relative-data/transforms.d.ts +2 -2
- package/dist/types/widgets/actions/searcher/searcher-toggle.d.ts +21 -16
- package/dist/types/widgets/actions/searcher/searcher.d.ts +9 -19
- package/dist/types/widgets/actions/stack-toggle/stack-toggle.d.ts +10 -17
- package/dist/types/widgets/actions/zoom-toggle/style.d.ts +7 -8
- package/dist/types/widgets/actions/zoom-toggle/zoom-toggle.d.ts +31 -22
- package/dist/types/widgets/bar/index.d.ts +3 -2
- package/dist/types/widgets/bar/skeleton.d.ts +5 -0
- package/dist/types/widgets/bar/types.d.ts +46 -9
- package/dist/types/widgets/category/category-ui.d.ts +86 -3
- package/dist/types/{widgets-v2 → widgets}/category/components/category-bar-stacked.d.ts +2 -1
- package/dist/types/widgets/category/components/category-bar.d.ts +18 -4
- package/dist/types/widgets/category/components/category-legend.d.ts +30 -4
- package/dist/types/widgets/category/components/category-row-multi.d.ts +27 -10
- package/dist/types/widgets/category/components/category-row-other.d.ts +19 -2
- package/dist/types/widgets/category/components/category-row-single.d.ts +23 -9
- package/dist/types/{widgets-v2 → widgets}/category/components/category-row-stacked.d.ts +2 -1
- package/dist/types/widgets/category/index.d.ts +10 -14
- package/dist/types/widgets/category/skeleton.d.ts +11 -1
- package/dist/types/widgets/category/style.d.ts +155 -83
- package/dist/types/widgets/category/types.d.ts +49 -29
- package/dist/types/widgets/echart/echart-ui.d.ts +44 -9
- package/dist/types/widgets/echart/echart.d.ts +80 -5
- package/dist/types/widgets/echart/index.d.ts +4 -5
- package/dist/types/widgets/echart/shared-resize-observer.d.ts +2 -9
- package/dist/types/{widgets-v2 → widgets}/echart/style.d.ts +1 -0
- package/dist/types/widgets/formula/formula-ui.d.ts +18 -3
- package/dist/types/widgets/formula/index.d.ts +11 -11
- package/dist/types/{widgets-v2 → widgets}/formula/series.d.ts +2 -1
- package/dist/types/widgets/formula/skeleton.d.ts +4 -1
- package/dist/types/widgets/formula/style.d.ts +20 -12
- package/dist/types/widgets/formula/types.d.ts +41 -39
- package/dist/types/{widgets-v2 → widgets}/formula/value.d.ts +2 -1
- package/dist/types/widgets/histogram/index.d.ts +5 -4
- package/dist/types/widgets/histogram/skeleton.d.ts +9 -1
- package/dist/types/widgets/histogram/types.d.ts +60 -12
- package/dist/types/{widgets-v2 → widgets}/index.d.ts +3 -3
- package/dist/types/widgets/markdown/index.d.ts +5 -4
- package/dist/types/widgets/markdown/markdown-ui.d.ts +10 -7
- package/dist/types/widgets/markdown/markdown.d.ts +4 -3
- package/dist/types/widgets/markdown/skeleton.d.ts +4 -1
- package/dist/types/widgets/markdown/style.d.ts +61 -2
- package/dist/types/widgets/markdown/types.d.ts +2 -16
- package/dist/types/widgets/note/style.d.ts +14 -16
- package/dist/types/widgets/pie/index.d.ts +4 -3
- package/dist/types/widgets/pie/skeleton.d.ts +13 -1
- package/dist/types/widgets/pie/types.d.ts +57 -9
- package/dist/types/widgets/range/index.d.ts +4 -6
- package/dist/types/widgets/range/range-ui.d.ts +25 -3
- package/dist/types/widgets/range/skeleton.d.ts +9 -1
- package/dist/types/widgets/range/style.d.ts +40 -2
- package/dist/types/widgets/range/types.d.ts +26 -22
- package/dist/types/widgets/scatterplot/index.d.ts +5 -3
- package/dist/types/widgets/scatterplot/skeleton.d.ts +12 -1
- package/dist/types/widgets/scatterplot/types.d.ts +54 -9
- package/dist/types/widgets/selection-summary/selection-summary.d.ts +26 -10
- package/dist/types/widgets/selection-summary/style.d.ts +32 -3
- package/dist/types/widgets/spread/index.d.ts +7 -9
- package/dist/types/widgets/spread/skeleton.d.ts +9 -1
- package/dist/types/widgets/spread/spread-ui.d.ts +16 -3
- package/dist/types/widgets/spread/types.d.ts +20 -35
- package/dist/types/widgets/stores/index.d.ts +8 -3
- package/dist/types/widgets/stores/types.d.ts +45 -172
- package/dist/types/widgets/subheader/style.d.ts +5 -14
- package/dist/types/widgets/subheader/subheader.d.ts +9 -11
- package/dist/types/widgets/table/helpers.d.ts +28 -34
- package/dist/types/widgets/table/index.d.ts +8 -17
- package/dist/types/widgets/table/skeleton.d.ts +17 -5
- package/dist/types/widgets/table/style.d.ts +21 -14
- package/dist/types/widgets/table/table-ui.d.ts +41 -29
- package/dist/types/widgets/table/types.d.ts +34 -182
- package/dist/types/widgets/timeseries/index.d.ts +4 -2
- package/dist/types/widgets/timeseries/skeleton.d.ts +7 -0
- package/dist/types/widgets/timeseries/types.d.ts +60 -9
- package/dist/types/{widgets-v2 → widgets}/types.d.ts +7 -6
- package/dist/types/widgets/utils/index.d.ts +3 -7
- package/dist/types/widgets/wrapper/index.d.ts +4 -6
- package/dist/{utils-Dr6gf3vD.js → utils-BStJWhZN.js} +5 -5
- package/dist/utils-BStJWhZN.js.map +1 -0
- package/dist/widgets/actions.js +4 -2
- package/dist/widgets/bar.js +202 -132
- package/dist/widgets/bar.js.map +1 -1
- package/dist/widgets/category.js +2 -450
- package/dist/widgets/echart.js +2 -3
- package/dist/widgets/formula.js +2 -3
- package/dist/widgets/histogram.js +263 -160
- package/dist/widgets/histogram.js.map +1 -1
- package/dist/widgets/markdown.js +3 -148
- package/dist/widgets/pie.js +317 -197
- package/dist/widgets/pie.js.map +1 -1
- package/dist/widgets/range.js +2 -233
- package/dist/widgets/scatterplot.js +300 -196
- package/dist/widgets/scatterplot.js.map +1 -1
- package/dist/widgets/spread.js +2 -158
- package/dist/widgets/stores.js +2 -3
- package/dist/widgets/table.js +2 -599
- package/dist/widgets/timeseries.js +250 -136
- package/dist/widgets/timeseries.js.map +1 -1
- package/dist/widgets/utils.js +2 -18
- package/dist/{widgets-v2.js → widgets.js} +63 -57
- package/dist/widgets.js.map +1 -0
- package/dist/{zoom-toggle-IsF8BnAp.js → zoom-toggle-D_VuA01l.js} +5 -5
- package/dist/zoom-toggle-D_VuA01l.js.map +1 -0
- package/package.json +43 -129
- package/src/chat/bubbles/chat-agent-message-markdown.tsx +1 -1
- package/src/chat/bubbles/chat-error-message.tsx +9 -3
- package/src/chat/bubbles/chat-suggestion-button.tsx +8 -3
- package/src/chat/containers/chat-footer.tsx +6 -2
- package/src/chat/containers/chat-starter.tsx +6 -4
- package/src/chat/feedback/chat-tool-full-view-dialog.tsx +3 -1
- package/src/chat/feedback/chat-tool-group.test.tsx +1 -1
- package/src/chat/feedback/chat-tool-group.tsx +40 -9
- package/src/chat/feedback/chat-tool-trace.tsx +55 -19
- package/src/chat/types.ts +5 -2
- package/src/components/basemaps/header.tsx +6 -1
- package/src/components/index.ts +2 -3
- package/src/components/lasso-tool/geometry-toolbar.tsx +1 -1
- package/src/components/lasso-tool/lasso-tool-inline.tsx +12 -4
- package/src/components/lasso-tool/lasso-tool.tsx +26 -15
- package/src/components/lasso-tool/layer-filters.tsx +36 -11
- package/src/components/lasso-tool/options-sections.test.tsx +13 -2
- package/src/components/lasso-tool/options-sections.tsx +17 -7
- package/src/components/lasso-tool/toolbar/connected.tsx +1 -1
- package/src/components/lasso-tool/toolbar/context.tsx +1 -1
- package/src/components/measurement-tools/measurement-tools.tsx +28 -13
- package/src/components/no-data-alert/no-data-alert.tsx +12 -2
- package/src/components/responsive-drawer/responsive-drawer.tsx +0 -1
- package/src/components/types.ts +17 -0
- package/src/components/zoom-controls/zoom-controls.tsx +3 -1
- package/src/legend/components/legend-actions/legend-actions.tsx +2 -2
- package/src/legend/components/legend-category/legend-category-ui.tsx +7 -3
- package/src/legend/components/legend-config-select/legend-config-select.tsx +6 -2
- package/src/legend/components/legend-group/legend-group.tsx +6 -2
- package/src/legend/components/legend-group/styles.ts +1 -1
- package/src/legend/components/legend-icon/legend-icon-ui.tsx +7 -3
- package/src/legend/components/legend-opacity/legend-opacity.tsx +9 -3
- package/src/legend/components/legend-proportion/legend-proportion-ui.tsx +19 -3
- package/src/legend/components/legend-ramp/legend-ramp-ui.tsx +31 -7
- package/src/legend/components/legend-row/legend-row.tsx +2 -2
- package/src/legend/components/legend-row/styles.ts +1 -1
- package/src/legend/components/legend-sortable/legend-sortable.tsx +7 -3
- package/src/legend/components/legend-swatch/legend-swatch.tsx +2 -1
- package/src/legend/components/legend-visible-layers/legend-visible-layers.tsx +18 -9
- package/src/legend/index.ts +1 -1
- package/src/legend/provider/legend-provider.tsx +2 -2
- package/src/legend/stores/legend-store-registry.ts +1 -1
- package/src/migration/v4/classes.ts +56 -0
- package/src/migration/v4/icons.ts +56 -0
- package/src/migration/v4/index.ts +17 -0
- package/src/migration/v4/migration.test.ts +772 -0
- package/src/migration/v4/rules.ts +444 -0
- package/src/migration/v4/transform.ts +92 -0
- package/src/migration/v4/transforms/helpers.ts +369 -0
- package/src/migration/v4/transforms/meridian-5.ts +163 -0
- package/src/migration/v4/transforms/ps-react-ui.ts +99 -0
- package/src/migration/v4/transforms/v5-v6.ts +161 -0
- package/src/migration/v4/transforms/v6-v7.ts +342 -0
- package/src/migration/v4/transforms/v7-v9-dom.ts +403 -0
- package/src/migration/v4/transforms/v7-v9-props.ts +529 -0
- package/src/migration/v4/widgets-v1.ts +199 -0
- package/src/{widgets-v2 → widgets}/PERFORMANCE.md +5 -5
- package/src/widgets/actions/brush-toggle/brush-toggle.test.tsx +144 -172
- package/src/widgets/actions/brush-toggle/brush-toggle.tsx +129 -108
- package/src/widgets/actions/brush-toggle/style.ts +5 -40
- package/src/widgets/actions/change-column/change-column-icon.tsx +14 -10
- package/src/widgets/actions/change-column/change-column.test.tsx +57 -288
- package/src/widgets/actions/change-column/change-column.tsx +116 -145
- package/src/widgets/actions/change-column/sortable-column-item.tsx +29 -17
- package/src/widgets/actions/change-column/types.ts +9 -18
- package/src/widgets/actions/download/download.test.tsx +290 -289
- package/src/widgets/actions/download/download.tsx +101 -89
- package/src/widgets/actions/download/exports.test.tsx +157 -247
- package/src/{widgets-v2 → widgets}/actions/download/exports.ts +1 -1
- package/src/{widgets-v2 → widgets}/actions/download/png-item.tsx +2 -2
- package/src/widgets/actions/download/types.ts +26 -15
- package/src/widgets/actions/fullscreen/fullscreen.test.tsx +164 -221
- package/src/widgets/actions/fullscreen/fullscreen.tsx +277 -72
- package/src/{widgets-v2 → widgets}/actions/fullscreen/style.ts +31 -4
- package/src/widgets/actions/fullscreen/types.ts +14 -31
- package/src/widgets/actions/index.ts +90 -68
- package/src/widgets/actions/lock-selection/lock-selection.test.tsx +259 -156
- package/src/widgets/actions/lock-selection/lock-selection.tsx +162 -102
- package/src/widgets/actions/relative-data/relative-data.test.tsx +65 -536
- package/src/widgets/actions/relative-data/relative-data.tsx +82 -163
- package/src/{widgets-v2 → widgets}/actions/relative-data/transforms.ts +2 -2
- package/src/widgets/actions/searcher/searcher-toggle.tsx +75 -56
- package/src/widgets/actions/searcher/searcher.tsx +85 -168
- package/src/widgets/actions/stack-toggle/stack-toggle.test.tsx +49 -402
- package/src/widgets/actions/stack-toggle/stack-toggle.tsx +39 -114
- package/src/widgets/actions/zoom-toggle/style.ts +5 -8
- package/src/widgets/actions/zoom-toggle/zoom-toggle.test.tsx +88 -303
- package/src/widgets/actions/zoom-toggle/zoom-toggle.tsx +87 -199
- package/src/widgets/bar/index.ts +6 -5
- package/src/{widgets-v2 → widgets}/bar/options.ts +1 -1
- package/src/widgets/bar/skeleton.tsx +61 -52
- package/src/widgets/bar/types.ts +46 -11
- package/src/widgets/category/category-ui.test.tsx +846 -317
- package/src/widgets/category/category-ui.tsx +444 -127
- package/src/{widgets-v2 → widgets}/category/components/category-bar-stacked.tsx +2 -1
- package/src/widgets/category/components/category-bar.tsx +31 -12
- package/src/{widgets-v2 → widgets}/category/components/category-legend.test.tsx +7 -3
- package/src/widgets/category/components/category-legend.tsx +68 -18
- package/src/widgets/category/components/category-row-multi.tsx +66 -36
- package/src/widgets/category/components/category-row-other.tsx +63 -5
- package/src/widgets/category/components/category-row-single.tsx +48 -25
- package/src/{widgets-v2 → widgets}/category/components/category-row-stacked.tsx +2 -1
- package/src/widgets/category/index.ts +25 -22
- package/src/widgets/category/skeleton.tsx +60 -10
- package/src/widgets/category/style.ts +267 -72
- package/src/widgets/category/types.ts +52 -32
- package/src/widgets/echart/echart-ui.test.tsx +250 -446
- package/src/widgets/echart/echart-ui.tsx +210 -52
- package/src/widgets/echart/echart.test.tsx +203 -518
- package/src/widgets/echart/echart.tsx +195 -52
- package/src/widgets/echart/index.ts +21 -15
- package/src/widgets/echart/shared-resize-observer.ts +30 -19
- package/src/widgets/echart/style.ts +17 -0
- package/src/widgets/formula/formula-ui.test.tsx +68 -376
- package/src/widgets/formula/formula-ui.tsx +58 -22
- package/src/widgets/formula/index.ts +14 -21
- package/src/{widgets-v2 → widgets}/formula/note.tsx +8 -2
- package/src/{widgets-v2 → widgets}/formula/series.tsx +8 -25
- package/src/widgets/formula/skeleton.tsx +21 -4
- package/src/widgets/formula/style.ts +20 -12
- package/src/widgets/formula/types.ts +44 -45
- package/src/{widgets-v2 → widgets}/formula/value.tsx +2 -1
- package/src/widgets/histogram/index.ts +10 -10
- package/src/{widgets-v2 → widgets}/histogram/options.ts +1 -1
- package/src/widgets/histogram/skeleton.tsx +63 -45
- package/src/widgets/histogram/types.ts +59 -18
- package/src/{widgets-v2 → widgets}/index.ts +3 -3
- package/src/widgets/markdown/index.ts +5 -13
- package/src/widgets/markdown/markdown-ui.test.tsx +53 -319
- package/src/widgets/markdown/markdown-ui.tsx +43 -47
- package/src/widgets/markdown/markdown.tsx +12 -15
- package/src/widgets/markdown/skeleton.tsx +26 -6
- package/src/widgets/markdown/style.ts +48 -23
- package/src/widgets/markdown/types.ts +2 -26
- package/src/widgets/note/style.ts +14 -17
- package/src/{widgets-v2 → widgets}/note/widget-note.tsx +15 -2
- package/src/widgets/pie/index.ts +7 -5
- package/src/{widgets-v2 → widgets}/pie/options.test.ts +8 -0
- package/src/{widgets-v2 → widgets}/pie/options.ts +4 -9
- package/src/widgets/pie/skeleton.tsx +84 -60
- package/src/widgets/pie/types.ts +57 -11
- package/src/widgets/range/index.ts +4 -16
- package/src/widgets/range/range-ui.test.tsx +115 -182
- package/src/widgets/range/range-ui.tsx +274 -8
- package/src/widgets/range/skeleton.tsx +41 -8
- package/src/widgets/range/style.ts +16 -12
- package/src/widgets/range/types.ts +26 -28
- package/src/widgets/scatterplot/index.ts +11 -5
- package/src/{widgets-v2 → widgets}/scatterplot/options.ts +1 -1
- package/src/widgets/scatterplot/skeleton.tsx +76 -51
- package/src/widgets/scatterplot/types.ts +54 -12
- package/src/widgets/selection-summary/selection-summary.tsx +64 -39
- package/src/widgets/selection-summary/style.ts +30 -2
- package/src/widgets/spread/index.ts +11 -23
- package/src/widgets/spread/skeleton.tsx +32 -4
- package/src/widgets/spread/spread-ui.test.tsx +98 -358
- package/src/widgets/spread/spread-ui.tsx +44 -24
- package/src/widgets/spread/types.ts +21 -41
- package/src/{widgets-v2 → widgets}/state/widget-state.tsx +13 -3
- package/src/widgets/stores/index.ts +46 -10
- package/src/{widgets-v2 → widgets}/stores/transforms.ts +1 -1
- package/src/widgets/stores/types.ts +42 -181
- package/src/{widgets-v2 → widgets}/stores/use-transform.ts +1 -1
- package/src/{widgets-v2 → widgets}/stores/widget-store-registry.ts +2 -2
- package/src/widgets/subheader/style.ts +5 -13
- package/src/widgets/subheader/subheader.test.tsx +22 -37
- package/src/widgets/subheader/subheader.tsx +11 -30
- package/src/widgets/table/helpers.test.ts +197 -208
- package/src/widgets/table/helpers.ts +108 -84
- package/src/widgets/table/index.ts +23 -54
- package/src/widgets/table/skeleton.tsx +38 -21
- package/src/widgets/table/style.ts +23 -14
- package/src/widgets/table/table-ui.tsx +348 -44
- package/src/widgets/table/types.ts +37 -205
- package/src/{widgets-v2 → widgets}/test-utils.ts +1 -1
- package/src/widgets/timeseries/index.ts +8 -5
- package/src/{widgets-v2 → widgets}/timeseries/options.ts +1 -1
- package/src/widgets/timeseries/skeleton.tsx +67 -46
- package/src/widgets/timeseries/types.ts +60 -12
- package/src/{widgets-v2 → widgets}/types.ts +8 -6
- package/src/widgets/utils/index.ts +3 -26
- package/src/widgets/wrapper/index.ts +14 -16
- package/src/{widgets-v2 → widgets}/wrapper/widget-wrapper.tsx +6 -2
- package/dist/actions-CGJD6q0t.js +0 -1318
- package/dist/actions-CGJD6q0t.js.map +0 -1
- package/dist/actions-yPZwFxSZ.js.map +0 -1
- package/dist/category-DGUDabsi.js +0 -829
- package/dist/category-DGUDabsi.js.map +0 -1
- package/dist/chart-config-B_fdIcD3.js.map +0 -1
- package/dist/cjs-CBrZjPCj.js +0 -75
- package/dist/cjs-CBrZjPCj.js.map +0 -1
- package/dist/components-FED-ArwH.js.map +0 -1
- package/dist/copy-button-TTlZONkX.js +0 -34
- package/dist/copy-button-TTlZONkX.js.map +0 -1
- package/dist/csv-modifiers-D6HGC24b.js +0 -26
- package/dist/csv-modifiers-D6HGC24b.js.map +0 -1
- package/dist/download-DdaK3qgC.js.map +0 -1
- package/dist/echart-BkaV3V5G.js +0 -133
- package/dist/echart-BkaV3V5G.js.map +0 -1
- package/dist/echart-DeBgdOtX.js.map +0 -1
- package/dist/formatter-wVO81tYk.js +0 -6
- package/dist/formatter-wVO81tYk.js.map +0 -1
- package/dist/formula-YfZmmuYX.js +0 -190
- package/dist/formula-YfZmmuYX.js.map +0 -1
- package/dist/formula-noJzQwKo.js +0 -285
- package/dist/formula-noJzQwKo.js.map +0 -1
- package/dist/hooks-zf5gKZYq.js +0 -22
- package/dist/hooks-zf5gKZYq.js.map +0 -1
- package/dist/markdown-2dfL6Cmb.js.map +0 -1
- package/dist/markdown-content-BWUqwx9F.js.map +0 -1
- package/dist/range-BCMAl5xf.js.map +0 -1
- package/dist/row-CvVGBuy_.js +0 -35
- package/dist/row-CvVGBuy_.js.map +0 -1
- package/dist/shared-resize-observer-BEiP2rQt.js +0 -157
- package/dist/shared-resize-observer-BEiP2rQt.js.map +0 -1
- package/dist/smart-tooltip-CwGHCqab.js +0 -34
- package/dist/smart-tooltip-CwGHCqab.js.map +0 -1
- package/dist/spread-Ccpg9fi0.js.map +0 -1
- package/dist/stores-tiFePP0A.js.map +0 -1
- package/dist/styles-Y-qGBELO.js +0 -13
- package/dist/styles-Y-qGBELO.js.map +0 -1
- package/dist/table-Bx9Uj3U0.js.map +0 -1
- package/dist/tooltip-DJUGNZxY.js +0 -23
- package/dist/tooltip-DJUGNZxY.js.map +0 -1
- package/dist/types/components/list-data/list-data-skeleton.d.ts +0 -5
- package/dist/types/components/list-data/list-data.d.ts +0 -19
- package/dist/types/components/list-data/styles.d.ts +0 -34
- package/dist/types/components/list-data/types.d.ts +0 -23
- package/dist/types/hooks/index.d.ts +0 -1
- package/dist/types/hooks/use-skeleton.d.ts +0 -1
- package/dist/types/hooks/use-widget-ref.d.ts +0 -21
- package/dist/types/widgets/actions/brush-toggle/brush-overlay.d.ts +0 -24
- package/dist/types/widgets/actions/brush-toggle/hit-test.d.ts +0 -19
- package/dist/types/widgets/actions/brush-toggle/types.d.ts +0 -73
- package/dist/types/widgets/actions/fullscreen/styles.d.ts +0 -16
- package/dist/types/widgets/actions/lock-selection/types.d.ts +0 -38
- package/dist/types/widgets/actions/relative-data/types.d.ts +0 -29
- package/dist/types/widgets/actions/relative-data/utils.d.ts +0 -9
- package/dist/types/widgets/actions/searcher/types.d.ts +0 -64
- package/dist/types/widgets/actions/shared/styles.d.ts +0 -11
- package/dist/types/widgets/actions/stack-toggle/grouped-bar-chart-icon.d.ts +0 -1
- package/dist/types/widgets/actions/stack-toggle/types.d.ts +0 -25
- package/dist/types/widgets/actions/zoom-toggle/types.d.ts +0 -41
- package/dist/types/widgets/bar/config.d.ts +0 -9
- package/dist/types/widgets/bar/style.d.ts +0 -37
- package/dist/types/widgets/category/config.d.ts +0 -20
- package/dist/types/widgets/echart/const.d.ts +0 -1
- package/dist/types/widgets/echart/options.d.ts +0 -9
- package/dist/types/widgets/echart/types.d.ts +0 -38
- package/dist/types/widgets/echart/utils.d.ts +0 -128
- package/dist/types/widgets/error/error.d.ts +0 -12
- package/dist/types/widgets/error/index.d.ts +0 -2
- package/dist/types/widgets/error/types.d.ts +0 -20
- package/dist/types/widgets/formula/components/item.d.ts +0 -5
- package/dist/types/widgets/formula/components/prefix.d.ts +0 -5
- package/dist/types/widgets/formula/components/row.d.ts +0 -5
- package/dist/types/widgets/formula/components/series.d.ts +0 -5
- package/dist/types/widgets/formula/components/suffix.d.ts +0 -5
- package/dist/types/widgets/formula/components/value.d.ts +0 -5
- package/dist/types/widgets/formula/config.d.ts +0 -15
- package/dist/types/widgets/formula/serializer.d.ts +0 -16
- package/dist/types/widgets/histogram/config.d.ts +0 -21
- package/dist/types/widgets/histogram/style.d.ts +0 -15
- package/dist/types/widgets/loader/index.d.ts +0 -3
- package/dist/types/widgets/loader/loader.d.ts +0 -24
- package/dist/types/widgets/loader/types.d.ts +0 -9
- package/dist/types/widgets/loader/utils.d.ts +0 -35
- package/dist/types/widgets/markdown/config.d.ts +0 -14
- package/dist/types/widgets/no-data/index.d.ts +0 -2
- package/dist/types/widgets/no-data/no-data.d.ts +0 -36
- package/dist/types/widgets/no-data/style.d.ts +0 -6
- package/dist/types/widgets/no-data/types.d.ts +0 -71
- package/dist/types/widgets/note/index.d.ts +0 -2
- package/dist/types/widgets/note/note.d.ts +0 -12
- package/dist/types/widgets/note/types.d.ts +0 -8
- package/dist/types/widgets/pie/config.d.ts +0 -9
- package/dist/types/widgets/pie/style.d.ts +0 -15
- package/dist/types/widgets/range/components/range-item.d.ts +0 -5
- package/dist/types/widgets/range/config.d.ts +0 -7
- package/dist/types/widgets/range/serializer.d.ts +0 -16
- package/dist/types/widgets/scatterplot/config.d.ts +0 -9
- package/dist/types/widgets/scatterplot/style.d.ts +0 -24
- package/dist/types/widgets/selection-summary/index.d.ts +0 -2
- package/dist/types/widgets/selection-summary/types.d.ts +0 -13
- package/dist/types/widgets/skeleton-loader/index.d.ts +0 -2
- package/dist/types/widgets/skeleton-loader/skeleton-loader.d.ts +0 -12
- package/dist/types/widgets/skeleton-loader/types.d.ts +0 -7
- package/dist/types/widgets/spread/components/max-value.d.ts +0 -5
- package/dist/types/widgets/spread/components/min-value.d.ts +0 -5
- package/dist/types/widgets/spread/components/separator.d.ts +0 -5
- package/dist/types/widgets/spread/config.d.ts +0 -16
- package/dist/types/widgets/spread/style.d.ts +0 -21
- package/dist/types/widgets/stores/use-widget-selector.d.ts +0 -35
- package/dist/types/widgets/stores/widget-store.d.ts +0 -60
- package/dist/types/widgets/subheader/index.d.ts +0 -2
- package/dist/types/widgets/subheader/types.d.ts +0 -10
- package/dist/types/widgets/table/components/cell-header.d.ts +0 -5
- package/dist/types/widgets/table/components/cell.d.ts +0 -18
- package/dist/types/widgets/table/components/pagination-actions.d.ts +0 -5
- package/dist/types/widgets/table/components/pagination.d.ts +0 -5
- package/dist/types/widgets/table/components/row.d.ts +0 -5
- package/dist/types/widgets/table/config.d.ts +0 -21
- package/dist/types/widgets/table/hooks/use-pagination.d.ts +0 -41
- package/dist/types/widgets/table/hooks/use-selection.d.ts +0 -39
- package/dist/types/widgets/table/hooks/use-sort.d.ts +0 -30
- package/dist/types/widgets/table/serializer.d.ts +0 -16
- package/dist/types/widgets/timeseries/config.d.ts +0 -9
- package/dist/types/widgets/timeseries/style.d.ts +0 -38
- package/dist/types/widgets/toolbar-actions/index.d.ts +0 -2
- package/dist/types/widgets/toolbar-actions/styles.d.ts +0 -37
- package/dist/types/widgets/toolbar-actions/toolbar-actions.d.ts +0 -17
- package/dist/types/widgets/toolbar-actions/types.d.ts +0 -52
- package/dist/types/widgets/utils/chart-config/config-factory.d.ts +0 -38
- package/dist/types/widgets/utils/chart-config/csv-modifiers.d.ts +0 -19
- package/dist/types/widgets/utils/chart-config/download-config.d.ts +0 -3
- package/dist/types/widgets/utils/chart-config/index.d.ts +0 -9
- package/dist/types/widgets/utils/formatter.d.ts +0 -2
- package/dist/types/widgets/utils/skeleton/index.d.ts +0 -4
- package/dist/types/widgets/utils/skeleton/styles.d.ts +0 -19
- package/dist/types/widgets/wrapper/components/actions.d.ts +0 -5
- package/dist/types/widgets/wrapper/components/options.d.ts +0 -5
- package/dist/types/widgets/wrapper/components/title.d.ts +0 -9
- package/dist/types/widgets/wrapper/styles.d.ts +0 -89
- package/dist/types/widgets/wrapper/types.d.ts +0 -37
- package/dist/types/widgets/wrapper/wrapper-ui.d.ts +0 -16
- package/dist/types/widgets/wrapper/wrapper.d.ts +0 -16
- package/dist/types/widgets-v2/actions/brush-toggle/brush-toggle.d.ts +0 -56
- package/dist/types/widgets-v2/actions/change-column/change-column-icon.d.ts +0 -2
- package/dist/types/widgets-v2/actions/change-column/change-column.d.ts +0 -29
- package/dist/types/widgets-v2/actions/change-column/sortable-column-item.d.ts +0 -14
- package/dist/types/widgets-v2/actions/change-column/types.d.ts +0 -10
- package/dist/types/widgets-v2/actions/download/download.d.ts +0 -18
- package/dist/types/widgets-v2/actions/download/exports.d.ts +0 -37
- package/dist/types/widgets-v2/actions/download/types.d.ts +0 -35
- package/dist/types/widgets-v2/actions/fullscreen/fullscreen.d.ts +0 -59
- package/dist/types/widgets-v2/actions/fullscreen/types.d.ts +0 -14
- package/dist/types/widgets-v2/actions/index.d.ts +0 -10
- package/dist/types/widgets-v2/actions/lock-selection/lock-selection.d.ts +0 -57
- package/dist/types/widgets-v2/actions/relative-data/relative-data.d.ts +0 -39
- package/dist/types/widgets-v2/actions/searcher/searcher-toggle.d.ts +0 -23
- package/dist/types/widgets-v2/actions/searcher/searcher.d.ts +0 -11
- package/dist/types/widgets-v2/actions/stack-toggle/stack-toggle.d.ts +0 -10
- package/dist/types/widgets-v2/actions/stack-toggle/style.d.ts +0 -12
- package/dist/types/widgets-v2/actions/zoom-toggle/style.d.ts +0 -12
- package/dist/types/widgets-v2/actions/zoom-toggle/zoom-toggle.d.ts +0 -35
- package/dist/types/widgets-v2/bar/index.d.ts +0 -4
- package/dist/types/widgets-v2/bar/skeleton.d.ts +0 -6
- package/dist/types/widgets-v2/bar/types.d.ts +0 -46
- package/dist/types/widgets-v2/category/category-ui.d.ts +0 -88
- package/dist/types/widgets-v2/category/components/category-bar.d.ts +0 -23
- package/dist/types/widgets-v2/category/components/category-legend.d.ts +0 -34
- package/dist/types/widgets-v2/category/components/category-row-multi.d.ts +0 -31
- package/dist/types/widgets-v2/category/components/category-row-other.d.ts +0 -26
- package/dist/types/widgets-v2/category/components/category-row-single.d.ts +0 -28
- package/dist/types/widgets-v2/category/index.d.ts +0 -10
- package/dist/types/widgets-v2/category/skeleton.d.ts +0 -11
- package/dist/types/widgets-v2/category/style.d.ts +0 -193
- package/dist/types/widgets-v2/category/types.d.ts +0 -55
- package/dist/types/widgets-v2/echart/echart-ui.d.ts +0 -44
- package/dist/types/widgets-v2/echart/echart.d.ts +0 -75
- package/dist/types/widgets-v2/echart/index.d.ts +0 -4
- package/dist/types/widgets-v2/echart/shared-resize-observer.d.ts +0 -5
- package/dist/types/widgets-v2/formula/formula-ui.d.ts +0 -20
- package/dist/types/widgets-v2/formula/index.d.ts +0 -11
- package/dist/types/widgets-v2/formula/skeleton.d.ts +0 -4
- package/dist/types/widgets-v2/formula/style.d.ts +0 -29
- package/dist/types/widgets-v2/formula/types.d.ts +0 -43
- package/dist/types/widgets-v2/histogram/index.d.ts +0 -5
- package/dist/types/widgets-v2/histogram/skeleton.d.ts +0 -9
- package/dist/types/widgets-v2/histogram/types.d.ts +0 -60
- package/dist/types/widgets-v2/markdown/index.d.ts +0 -6
- package/dist/types/widgets-v2/markdown/markdown-ui.d.ts +0 -12
- package/dist/types/widgets-v2/markdown/markdown.d.ts +0 -6
- package/dist/types/widgets-v2/markdown/skeleton.d.ts +0 -4
- package/dist/types/widgets-v2/markdown/style.d.ts +0 -61
- package/dist/types/widgets-v2/markdown/types.d.ts +0 -4
- package/dist/types/widgets-v2/note/style.d.ts +0 -26
- package/dist/types/widgets-v2/pie/index.d.ts +0 -4
- package/dist/types/widgets-v2/pie/skeleton.d.ts +0 -13
- package/dist/types/widgets-v2/pie/types.d.ts +0 -57
- package/dist/types/widgets-v2/range/index.d.ts +0 -4
- package/dist/types/widgets-v2/range/range-ui.d.ts +0 -27
- package/dist/types/widgets-v2/range/skeleton.d.ts +0 -9
- package/dist/types/widgets-v2/range/style.d.ts +0 -40
- package/dist/types/widgets-v2/range/types.d.ts +0 -37
- package/dist/types/widgets-v2/scatterplot/index.d.ts +0 -5
- package/dist/types/widgets-v2/scatterplot/skeleton.d.ts +0 -12
- package/dist/types/widgets-v2/scatterplot/types.d.ts +0 -54
- package/dist/types/widgets-v2/selection-summary/selection-summary.d.ts +0 -29
- package/dist/types/widgets-v2/selection-summary/style.d.ts +0 -38
- package/dist/types/widgets-v2/spread/index.d.ts +0 -7
- package/dist/types/widgets-v2/spread/skeleton.d.ts +0 -9
- package/dist/types/widgets-v2/spread/spread-ui.d.ts +0 -18
- package/dist/types/widgets-v2/spread/types.d.ts +0 -25
- package/dist/types/widgets-v2/stores/index.d.ts +0 -8
- package/dist/types/widgets-v2/stores/types.d.ts +0 -55
- package/dist/types/widgets-v2/subheader/style.d.ts +0 -10
- package/dist/types/widgets-v2/subheader/subheader.d.ts +0 -11
- package/dist/types/widgets-v2/table/helpers.d.ts +0 -32
- package/dist/types/widgets-v2/table/index.d.ts +0 -8
- package/dist/types/widgets-v2/table/skeleton.d.ts +0 -22
- package/dist/types/widgets-v2/table/style.d.ts +0 -40
- package/dist/types/widgets-v2/table/table-ui.d.ts +0 -44
- package/dist/types/widgets-v2/table/types.d.ts +0 -48
- package/dist/types/widgets-v2/timeseries/index.d.ts +0 -5
- package/dist/types/widgets-v2/timeseries/skeleton.d.ts +0 -8
- package/dist/types/widgets-v2/timeseries/types.d.ts +0 -60
- package/dist/types/widgets-v2/utils/index.d.ts +0 -3
- package/dist/types/widgets-v2/wrapper/index.d.ts +0 -4
- package/dist/use-widget-selector-VSPhfhNm.js +0 -12
- package/dist/use-widget-selector-VSPhfhNm.js.map +0 -1
- package/dist/utils-Dr6gf3vD.js.map +0 -1
- package/dist/widget-store-BFPKYm4R.js +0 -187
- package/dist/widget-store-BFPKYm4R.js.map +0 -1
- package/dist/widgets/category.js.map +0 -1
- package/dist/widgets/error.js +0 -30
- package/dist/widgets/error.js.map +0 -1
- package/dist/widgets/loader.js +0 -66
- package/dist/widgets/loader.js.map +0 -1
- package/dist/widgets/markdown.js.map +0 -1
- package/dist/widgets/no-data.js +0 -55
- package/dist/widgets/no-data.js.map +0 -1
- package/dist/widgets/note.js +0 -127
- package/dist/widgets/note.js.map +0 -1
- package/dist/widgets/range.js.map +0 -1
- package/dist/widgets/selection-summary.js +0 -41
- package/dist/widgets/selection-summary.js.map +0 -1
- package/dist/widgets/skeleton-loader.js +0 -24
- package/dist/widgets/skeleton-loader.js.map +0 -1
- package/dist/widgets/spread.js.map +0 -1
- package/dist/widgets/subheader.js +0 -51
- package/dist/widgets/subheader.js.map +0 -1
- package/dist/widgets/table.js.map +0 -1
- package/dist/widgets/toolbar-actions.js +0 -145
- package/dist/widgets/toolbar-actions.js.map +0 -1
- package/dist/widgets/utils.js.map +0 -1
- package/dist/widgets/wrapper.js +0 -273
- package/dist/widgets/wrapper.js.map +0 -1
- package/dist/widgets-v2/actions.js +0 -4
- package/dist/widgets-v2/bar.js +0 -260
- package/dist/widgets-v2/bar.js.map +0 -1
- package/dist/widgets-v2/category.js +0 -2
- package/dist/widgets-v2/echart.js +0 -2
- package/dist/widgets-v2/formula.js +0 -2
- package/dist/widgets-v2/histogram.js +0 -297
- package/dist/widgets-v2/histogram.js.map +0 -1
- package/dist/widgets-v2/markdown.js +0 -3
- package/dist/widgets-v2/pie.js +0 -374
- package/dist/widgets-v2/pie.js.map +0 -1
- package/dist/widgets-v2/range.js +0 -2
- package/dist/widgets-v2/scatterplot.js +0 -330
- package/dist/widgets-v2/scatterplot.js.map +0 -1
- package/dist/widgets-v2/spread.js +0 -2
- package/dist/widgets-v2/stores.js +0 -2
- package/dist/widgets-v2/table.js +0 -2
- package/dist/widgets-v2/timeseries.js +0 -294
- package/dist/widgets-v2/timeseries.js.map +0 -1
- package/dist/widgets-v2/utils.js +0 -2
- package/dist/widgets-v2.js.map +0 -1
- package/dist/zoom-toggle-IsF8BnAp.js.map +0 -1
- package/src/components/list-data/list-data-skeleton.test.tsx +0 -10
- package/src/components/list-data/list-data-skeleton.tsx +0 -40
- package/src/components/list-data/list-data.test.tsx +0 -167
- package/src/components/list-data/list-data.tsx +0 -124
- package/src/components/list-data/styles.ts +0 -37
- package/src/components/list-data/types.ts +0 -25
- package/src/hooks/index.ts +0 -1
- package/src/hooks/use-skeleton.test.tsx +0 -32
- package/src/hooks/use-skeleton.ts +0 -19
- package/src/hooks/use-widget-ref.ts +0 -34
- package/src/widgets/README.md +0 -277
- package/src/widgets/actions/brush-toggle/brush-overlay.test.tsx +0 -465
- package/src/widgets/actions/brush-toggle/brush-overlay.tsx +0 -408
- package/src/widgets/actions/brush-toggle/hit-test.test.ts +0 -65
- package/src/widgets/actions/brush-toggle/hit-test.ts +0 -45
- package/src/widgets/actions/brush-toggle/types.ts +0 -78
- package/src/widgets/actions/change-column/change-column-dnd.test.tsx +0 -193
- package/src/widgets/actions/change-column/sortable-column-item.test.tsx +0 -124
- package/src/widgets/actions/download/exports.tsx +0 -118
- package/src/widgets/actions/fullscreen/styles.ts +0 -17
- package/src/widgets/actions/lock-selection/types.ts +0 -43
- package/src/widgets/actions/relative-data/types.ts +0 -33
- package/src/widgets/actions/relative-data/utils.test.ts +0 -223
- package/src/widgets/actions/relative-data/utils.ts +0 -58
- package/src/widgets/actions/searcher/searcher-toggle.test.tsx +0 -354
- package/src/widgets/actions/searcher/types.ts +0 -72
- package/src/widgets/actions/shared/styles.ts +0 -12
- package/src/widgets/actions/stack-toggle/grouped-bar-chart-icon.tsx +0 -14
- package/src/widgets/actions/stack-toggle/types.ts +0 -29
- package/src/widgets/actions/zoom-toggle/types.ts +0 -44
- package/src/widgets/bar/config.ts +0 -140
- package/src/widgets/bar/style.ts +0 -33
- package/src/widgets/category/components/category-rows.test.tsx +0 -213
- package/src/widgets/category/config.ts +0 -86
- package/src/widgets/echart/const.ts +0 -1
- package/src/widgets/echart/options.ts +0 -57
- package/src/widgets/echart/types.ts +0 -45
- package/src/widgets/echart/utils.test.ts +0 -277
- package/src/widgets/echart/utils.ts +0 -244
- package/src/widgets/error/error.test.tsx +0 -331
- package/src/widgets/error/error.tsx +0 -51
- package/src/widgets/error/index.ts +0 -2
- package/src/widgets/error/types.ts +0 -24
- package/src/widgets/formula/components/item.test.tsx +0 -249
- package/src/widgets/formula/components/item.tsx +0 -21
- package/src/widgets/formula/components/prefix.test.tsx +0 -341
- package/src/widgets/formula/components/prefix.tsx +0 -19
- package/src/widgets/formula/components/row.test.tsx +0 -364
- package/src/widgets/formula/components/row.tsx +0 -24
- package/src/widgets/formula/components/series.tsx +0 -35
- package/src/widgets/formula/components/suffix.test.tsx +0 -383
- package/src/widgets/formula/components/suffix.tsx +0 -29
- package/src/widgets/formula/components/value.test.tsx +0 -329
- package/src/widgets/formula/components/value.tsx +0 -24
- package/src/widgets/formula/config.test.ts +0 -37
- package/src/widgets/formula/config.ts +0 -38
- package/src/widgets/formula/serializer.test.tsx +0 -144
- package/src/widgets/formula/serializer.ts +0 -28
- package/src/widgets/histogram/config.ts +0 -230
- package/src/widgets/histogram/style.ts +0 -8
- package/src/widgets/loader/index.ts +0 -4
- package/src/widgets/loader/loader.tsx +0 -92
- package/src/widgets/loader/types.ts +0 -13
- package/src/widgets/loader/utils.test.ts +0 -112
- package/src/widgets/loader/utils.ts +0 -57
- package/src/widgets/markdown/config.ts +0 -28
- package/src/widgets/no-data/index.ts +0 -2
- package/src/widgets/no-data/no-data.test.tsx +0 -497
- package/src/widgets/no-data/no-data.tsx +0 -112
- package/src/widgets/no-data/style.ts +0 -18
- package/src/widgets/no-data/types.ts +0 -76
- package/src/widgets/note/index.ts +0 -2
- package/src/widgets/note/note.test.tsx +0 -391
- package/src/widgets/note/note.tsx +0 -124
- package/src/widgets/note/types.ts +0 -9
- package/src/widgets/pie/config.ts +0 -245
- package/src/widgets/pie/style.ts +0 -8
- package/src/widgets/range/components/range-item.test.tsx +0 -243
- package/src/widgets/range/components/range-item.tsx +0 -214
- package/src/widgets/range/config.ts +0 -10
- package/src/widgets/range/serializer.test.ts +0 -70
- package/src/widgets/range/serializer.ts +0 -27
- package/src/widgets/scatterplot/config.ts +0 -136
- package/src/widgets/scatterplot/style.ts +0 -21
- package/src/widgets/selection-summary/index.ts +0 -6
- package/src/widgets/selection-summary/types.ts +0 -14
- package/src/widgets/skeleton-loader/index.ts +0 -2
- package/src/widgets/skeleton-loader/skeleton-loader.test.tsx +0 -139
- package/src/widgets/skeleton-loader/skeleton-loader.tsx +0 -35
- package/src/widgets/skeleton-loader/types.ts +0 -8
- package/src/widgets/spread/components/max-value.tsx +0 -29
- package/src/widgets/spread/components/min-value.tsx +0 -29
- package/src/widgets/spread/components/separator.tsx +0 -9
- package/src/widgets/spread/config.ts +0 -39
- package/src/widgets/spread/style.ts +0 -22
- package/src/widgets/stores/use-widget-selector.ts +0 -47
- package/src/widgets/stores/widget-store-branches.test.ts +0 -275
- package/src/widgets/stores/widget-store-performance.test.ts +0 -750
- package/src/widgets/stores/widget-store.test.ts +0 -942
- package/src/widgets/stores/widget-store.ts +0 -484
- package/src/widgets/subheader/index.ts +0 -3
- package/src/widgets/subheader/types.ts +0 -11
- package/src/widgets/table/components/cell-header.tsx +0 -58
- package/src/widgets/table/components/cell.tsx +0 -82
- package/src/widgets/table/components/pagination-actions.tsx +0 -67
- package/src/widgets/table/components/pagination.tsx +0 -41
- package/src/widgets/table/components/row.tsx +0 -65
- package/src/widgets/table/config.test.ts +0 -65
- package/src/widgets/table/config.ts +0 -75
- package/src/widgets/table/hooks/use-pagination.test.ts +0 -294
- package/src/widgets/table/hooks/use-pagination.ts +0 -148
- package/src/widgets/table/hooks/use-selection.test.ts +0 -504
- package/src/widgets/table/hooks/use-selection.ts +0 -194
- package/src/widgets/table/hooks/use-sort.test.ts +0 -296
- package/src/widgets/table/hooks/use-sort.ts +0 -131
- package/src/widgets/table/serializer.ts +0 -54
- package/src/widgets/timeseries/config.ts +0 -136
- package/src/widgets/timeseries/style.ts +0 -36
- package/src/widgets/toolbar-actions/index.ts +0 -6
- package/src/widgets/toolbar-actions/styles.ts +0 -38
- package/src/widgets/toolbar-actions/toolbar-actions.test.tsx +0 -691
- package/src/widgets/toolbar-actions/toolbar-actions.tsx +0 -145
- package/src/widgets/toolbar-actions/types.ts +0 -60
- package/src/widgets/utils/chart-config/config-factory.ts +0 -67
- package/src/widgets/utils/chart-config/csv-modifiers.ts +0 -56
- package/src/widgets/utils/chart-config/download-config.ts +0 -22
- package/src/widgets/utils/chart-config/index.ts +0 -29
- package/src/widgets/utils/formatter.ts +0 -2
- package/src/widgets/utils/skeleton/index.ts +0 -5
- package/src/widgets/utils/skeleton/styles.ts +0 -20
- package/src/widgets/wrapper/components/actions.test.tsx +0 -105
- package/src/widgets/wrapper/components/actions.tsx +0 -35
- package/src/widgets/wrapper/components/options.test.tsx +0 -331
- package/src/widgets/wrapper/components/options.tsx +0 -81
- package/src/widgets/wrapper/components/title.test.tsx +0 -126
- package/src/widgets/wrapper/components/title.tsx +0 -35
- package/src/widgets/wrapper/styles.ts +0 -98
- package/src/widgets/wrapper/types.ts +0 -55
- package/src/widgets/wrapper/wrapper-ui.test.tsx +0 -232
- package/src/widgets/wrapper/wrapper-ui.tsx +0 -72
- package/src/widgets/wrapper/wrapper.test.tsx +0 -365
- package/src/widgets/wrapper/wrapper.tsx +0 -60
- package/src/widgets-v2/actions/brush-toggle/brush-toggle.test.tsx +0 -180
- package/src/widgets-v2/actions/brush-toggle/brush-toggle.tsx +0 -154
- package/src/widgets-v2/actions/change-column/change-column-icon.tsx +0 -14
- package/src/widgets-v2/actions/change-column/change-column.test.tsx +0 -59
- package/src/widgets-v2/actions/change-column/change-column.tsx +0 -189
- package/src/widgets-v2/actions/change-column/sortable-column-item.tsx +0 -63
- package/src/widgets-v2/actions/change-column/types.ts +0 -11
- package/src/widgets-v2/actions/download/download.test.tsx +0 -327
- package/src/widgets-v2/actions/download/download.tsx +0 -144
- package/src/widgets-v2/actions/download/exports.test.tsx +0 -198
- package/src/widgets-v2/actions/download/types.ts +0 -32
- package/src/widgets-v2/actions/fullscreen/fullscreen.test.tsx +0 -150
- package/src/widgets-v2/actions/fullscreen/fullscreen.tsx +0 -230
- package/src/widgets-v2/actions/fullscreen/types.ts +0 -15
- package/src/widgets-v2/actions/index.ts +0 -95
- package/src/widgets-v2/actions/lock-selection/lock-selection.test.tsx +0 -301
- package/src/widgets-v2/actions/lock-selection/lock-selection.tsx +0 -188
- package/src/widgets-v2/actions/relative-data/relative-data.test.tsx +0 -71
- package/src/widgets-v2/actions/relative-data/relative-data.tsx +0 -107
- package/src/widgets-v2/actions/searcher/searcher-toggle.tsx +0 -91
- package/src/widgets-v2/actions/searcher/searcher.tsx +0 -111
- package/src/widgets-v2/actions/stack-toggle/stack-toggle.test.tsx +0 -61
- package/src/widgets-v2/actions/stack-toggle/stack-toggle.tsx +0 -54
- package/src/widgets-v2/actions/stack-toggle/style.ts +0 -11
- package/src/widgets-v2/actions/zoom-toggle/style.ts +0 -11
- package/src/widgets-v2/actions/zoom-toggle/zoom-toggle.test.tsx +0 -107
- package/src/widgets-v2/actions/zoom-toggle/zoom-toggle.tsx +0 -106
- package/src/widgets-v2/bar/index.ts +0 -10
- package/src/widgets-v2/bar/skeleton.tsx +0 -69
- package/src/widgets-v2/bar/types.ts +0 -51
- package/src/widgets-v2/category/category-ui.test.tsx +0 -909
- package/src/widgets-v2/category/category-ui.tsx +0 -479
- package/src/widgets-v2/category/components/category-bar.tsx +0 -49
- package/src/widgets-v2/category/components/category-legend.tsx +0 -82
- package/src/widgets-v2/category/components/category-row-multi.tsx +0 -86
- package/src/widgets-v2/category/components/category-row-other.tsx +0 -84
- package/src/widgets-v2/category/components/category-row-single.tsx +0 -76
- package/src/widgets-v2/category/index.ts +0 -32
- package/src/widgets-v2/category/skeleton.tsx +0 -74
- package/src/widgets-v2/category/style.ts +0 -329
- package/src/widgets-v2/category/types.ts +0 -61
- package/src/widgets-v2/echart/echart-ui.test.tsx +0 -327
- package/src/widgets-v2/echart/echart-ui.tsx +0 -232
- package/src/widgets-v2/echart/echart.test.tsx +0 -229
- package/src/widgets-v2/echart/echart.tsx +0 -199
- package/src/widgets-v2/echart/index.ts +0 -22
- package/src/widgets-v2/echart/shared-resize-observer.ts +0 -56
- package/src/widgets-v2/echart/style.ts +0 -8
- package/src/widgets-v2/formula/formula-ui.test.tsx +0 -91
- package/src/widgets-v2/formula/formula-ui.tsx +0 -66
- package/src/widgets-v2/formula/index.ts +0 -17
- package/src/widgets-v2/formula/skeleton.tsx +0 -27
- package/src/widgets-v2/formula/style.ts +0 -31
- package/src/widgets-v2/formula/types.ts +0 -48
- package/src/widgets-v2/histogram/index.ts +0 -13
- package/src/widgets-v2/histogram/skeleton.tsx +0 -70
- package/src/widgets-v2/histogram/types.ts +0 -64
- package/src/widgets-v2/markdown/index.ts +0 -6
- package/src/widgets-v2/markdown/markdown-ui.test.tsx +0 -75
- package/src/widgets-v2/markdown/markdown-ui.tsx +0 -55
- package/src/widgets-v2/markdown/markdown.tsx +0 -17
- package/src/widgets-v2/markdown/skeleton.tsx +0 -32
- package/src/widgets-v2/markdown/style.ts +0 -53
- package/src/widgets-v2/markdown/types.ts +0 -4
- package/src/widgets-v2/note/style.ts +0 -26
- package/src/widgets-v2/pie/index.ts +0 -10
- package/src/widgets-v2/pie/skeleton.tsx +0 -94
- package/src/widgets-v2/pie/types.ts +0 -62
- package/src/widgets-v2/range/index.ts +0 -4
- package/src/widgets-v2/range/range-ui.test.tsx +0 -136
- package/src/widgets-v2/range/range-ui.tsx +0 -278
- package/src/widgets-v2/range/skeleton.tsx +0 -47
- package/src/widgets-v2/range/style.ts +0 -41
- package/src/widgets-v2/range/types.ts +0 -37
- package/src/widgets-v2/scatterplot/index.ts +0 -14
- package/src/widgets-v2/scatterplot/skeleton.tsx +0 -84
- package/src/widgets-v2/scatterplot/types.ts +0 -59
- package/src/widgets-v2/selection-summary/selection-summary.tsx +0 -82
- package/src/widgets-v2/selection-summary/style.ts +0 -38
- package/src/widgets-v2/spread/index.ts +0 -11
- package/src/widgets-v2/spread/skeleton.tsx +0 -38
- package/src/widgets-v2/spread/spread-ui.test.tsx +0 -108
- package/src/widgets-v2/spread/spread-ui.tsx +0 -52
- package/src/widgets-v2/spread/types.ts +0 -27
- package/src/widgets-v2/stores/index.ts +0 -49
- package/src/widgets-v2/stores/types.ts +0 -64
- package/src/widgets-v2/subheader/style.ts +0 -12
- package/src/widgets-v2/subheader/subheader.test.tsx +0 -30
- package/src/widgets-v2/subheader/subheader.tsx +0 -16
- package/src/widgets-v2/table/helpers.test.ts +0 -233
- package/src/widgets-v2/table/helpers.ts +0 -131
- package/src/widgets-v2/table/index.ts +0 -24
- package/src/widgets-v2/table/skeleton.tsx +0 -65
- package/src/widgets-v2/table/style.ts +0 -43
- package/src/widgets-v2/table/table-ui.tsx +0 -364
- package/src/widgets-v2/table/types.ts +0 -55
- package/src/widgets-v2/timeseries/index.ts +0 -11
- package/src/widgets-v2/timeseries/skeleton.tsx +0 -76
- package/src/widgets-v2/timeseries/types.ts +0 -65
- package/src/widgets-v2/utils/index.ts +0 -3
- package/src/widgets-v2/wrapper/index.ts +0 -14
- /package/dist/types/{widgets-v2 → widgets}/actions/brush-toggle/index.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/actions/brush-toggle/labels.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/actions/brush-toggle/transforms.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/actions/change-column/index.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/actions/change-column/labels.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/actions/change-column/style.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/actions/download/constants.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/actions/download/csv-item.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/actions/download/icons.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/actions/download/index.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/actions/download/labels.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/actions/download/style.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/actions/fullscreen/index.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/actions/fullscreen/labels.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/actions/lock-selection/index.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/actions/lock-selection/labels.d.ts +0 -0
- /package/dist/types/{widgets-v2/actions/brush-toggle → widgets/actions/lock-selection}/style.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/actions/lock-selection/transforms.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/actions/relative-data/index.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/actions/relative-data/labels.d.ts +0 -0
- /package/dist/types/{widgets-v2/actions/lock-selection → widgets/actions/relative-data}/style.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/actions/searcher/filter.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/actions/searcher/index.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/actions/searcher/labels.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/actions/searcher/style.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/actions/show-all/index.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/actions/show-all/labels.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/actions/show-all/show-all.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/actions/show-all/style.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/actions/stack-toggle/index.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/actions/stack-toggle/labels.d.ts +0 -0
- /package/dist/types/{widgets-v2/actions/relative-data → widgets/actions/stack-toggle}/style.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/actions/stack-toggle/transforms.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/actions/zoom-toggle/index.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/actions/zoom-toggle/labels.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/actions/zoom-toggle/transforms.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/bar/download.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/bar/options.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/category/category.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/category/download.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/echart/edge-label-clamp.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/echart/use-chart-selection.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/formula/delta.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/formula/download.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/formula/formula.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/formula/note.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/formula/prefix.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/formula/suffix.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/histogram/download.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/histogram/options.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/histogram/transforms.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/markdown/download.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/markdown/markdown-content.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/note/labels.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/note/widget-note.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/pie/download.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/pie/options.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/provider/widget-provider.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/range/range.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/scatterplot/download.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/scatterplot/options.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/scatterplot/transforms.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/selection-summary/labels.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/spread/band.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/spread/download.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/spread/separator.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/spread/spread.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/state/labels.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/state/style.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/state/widget-state.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/stores/pipeline-middleware.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/stores/transforms.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/stores/use-echart-instance.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/stores/use-transform-enabled.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/stores/use-transform.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/stores/widget-context.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/stores/widget-store-registry.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/table/download.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/table/labels.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/table/table.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/table/transforms.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/timeseries/download.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/timeseries/options.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/timeseries/transforms.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/toolbox/labels.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/toolbox/style.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/toolbox/toolbox.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/utils/data-zoom-layout.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/utils/merge-options.d.ts +0 -0
- /package/dist/types/widgets/utils/{chart-config/option-builders.d.ts → option-builders.d.ts} +0 -0
- /package/dist/types/{widgets-v2 → widgets}/utils/resolve-theme-color.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/wrapper/labels.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/wrapper/style.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/wrapper/widget-actions.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/wrapper/widget-content.d.ts +0 -0
- /package/dist/types/{widgets-v2 → widgets}/wrapper/widget-wrapper.d.ts +0 -0
- /package/src/{widgets-v2 → widgets}/actions/brush-toggle/index.ts +0 -0
- /package/src/{widgets-v2 → widgets}/actions/brush-toggle/labels.ts +0 -0
- /package/src/{widgets-v2 → widgets}/actions/brush-toggle/transforms.test.ts +0 -0
- /package/src/{widgets-v2 → widgets}/actions/brush-toggle/transforms.ts +0 -0
- /package/src/{widgets-v2 → widgets}/actions/change-column/index.ts +0 -0
- /package/src/{widgets-v2 → widgets}/actions/change-column/labels.ts +0 -0
- /package/src/{widgets-v2 → widgets}/actions/change-column/style.ts +0 -0
- /package/src/{widgets-v2 → widgets}/actions/download/constants.ts +0 -0
- /package/src/{widgets-v2 → widgets}/actions/download/csv-item.test.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/actions/download/csv-item.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/actions/download/icons.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/actions/download/index.ts +0 -0
- /package/src/{widgets-v2 → widgets}/actions/download/labels.ts +0 -0
- /package/src/{widgets-v2 → widgets}/actions/download/png-item.test.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/actions/download/style.ts +0 -0
- /package/src/{widgets-v2 → widgets}/actions/fullscreen/index.ts +0 -0
- /package/src/{widgets-v2 → widgets}/actions/fullscreen/labels.ts +0 -0
- /package/src/{widgets-v2 → widgets}/actions/lock-selection/index.ts +0 -0
- /package/src/{widgets-v2 → widgets}/actions/lock-selection/labels.ts +0 -0
- /package/src/{widgets-v2/actions/brush-toggle → widgets/actions/lock-selection}/style.ts +0 -0
- /package/src/{widgets-v2 → widgets}/actions/lock-selection/transforms.ts +0 -0
- /package/src/{widgets-v2 → widgets}/actions/relative-data/index.ts +0 -0
- /package/src/{widgets-v2 → widgets}/actions/relative-data/labels.ts +0 -0
- /package/src/{widgets-v2/actions/lock-selection → widgets/actions/relative-data}/style.ts +0 -0
- /package/src/{widgets-v2 → widgets}/actions/relative-data/transforms.test.ts +0 -0
- /package/src/{widgets-v2 → widgets}/actions/searcher/filter.ts +0 -0
- /package/src/{widgets-v2 → widgets}/actions/searcher/index.ts +0 -0
- /package/src/{widgets-v2 → widgets}/actions/searcher/labels.ts +0 -0
- /package/src/{widgets-v2 → widgets}/actions/searcher/searcher.test.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/actions/searcher/style.ts +0 -0
- /package/src/{widgets-v2 → widgets}/actions/show-all/index.ts +0 -0
- /package/src/{widgets-v2 → widgets}/actions/show-all/labels.ts +0 -0
- /package/src/{widgets-v2 → widgets}/actions/show-all/show-all.test.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/actions/show-all/show-all.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/actions/show-all/style.ts +0 -0
- /package/src/{widgets-v2 → widgets}/actions/stack-toggle/index.ts +0 -0
- /package/src/{widgets-v2 → widgets}/actions/stack-toggle/labels.ts +0 -0
- /package/src/{widgets-v2/actions/relative-data → widgets/actions/stack-toggle}/style.ts +0 -0
- /package/src/{widgets-v2 → widgets}/actions/stack-toggle/transforms.test.ts +0 -0
- /package/src/{widgets-v2 → widgets}/actions/stack-toggle/transforms.ts +0 -0
- /package/src/{widgets-v2 → widgets}/actions/zoom-toggle/index.ts +0 -0
- /package/src/{widgets-v2 → widgets}/actions/zoom-toggle/labels.ts +0 -0
- /package/src/{widgets-v2 → widgets}/actions/zoom-toggle/transforms.test.ts +0 -0
- /package/src/{widgets-v2 → widgets}/actions/zoom-toggle/transforms.ts +0 -0
- /package/src/{widgets-v2 → widgets}/bar/download.test.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/bar/download.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/bar/options.test.ts +0 -0
- /package/src/{widgets-v2 → widgets}/bar/skeleton.test.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/category/category.relative-data.test.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/category/category.stack-toggle.test.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/category/category.test.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/category/category.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/category/components/category-bar-stacked.test.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/category/components/category-bar.test.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/category/components/category-row-other.test.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/category/components/category-row-stacked.test.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/category/download.test.ts +0 -0
- /package/src/{widgets-v2 → widgets}/category/download.ts +0 -0
- /package/src/{widgets-v2 → widgets}/category/skeleton.test.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/echart/edge-label-clamp.test.ts +0 -0
- /package/src/{widgets-v2 → widgets}/echart/edge-label-clamp.ts +0 -0
- /package/src/{widgets-v2 → widgets}/echart/shared-resize-observer.test.ts +0 -0
- /package/src/{widgets-v2 → widgets}/echart/use-chart-selection.test.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/echart/use-chart-selection.ts +0 -0
- /package/src/{widgets-v2 → widgets}/formula/delta.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/formula/download.test.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/formula/download.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/formula/formula.test.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/formula/formula.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/formula/prefix.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/formula/skeleton.test.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/formula/subcomponents.test.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/formula/suffix.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/histogram/download.test.ts +0 -0
- /package/src/{widgets-v2 → widgets}/histogram/download.ts +0 -0
- /package/src/{widgets-v2 → widgets}/histogram/options.test.ts +0 -0
- /package/src/{widgets-v2 → widgets}/histogram/skeleton.test.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/histogram/transforms.test.ts +0 -0
- /package/src/{widgets-v2 → widgets}/histogram/transforms.ts +0 -0
- /package/src/{widgets-v2 → widgets}/markdown/download.test.ts +0 -0
- /package/src/{widgets-v2 → widgets}/markdown/download.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/markdown/markdown-content.test.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/markdown/markdown-content.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/markdown/markdown.test.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/markdown/skeleton.test.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/note/labels.ts +0 -0
- /package/src/{widgets-v2 → widgets}/note/widget-note.test.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/pie/download.test.ts +0 -0
- /package/src/{widgets-v2 → widgets}/pie/download.ts +0 -0
- /package/src/{widgets-v2 → widgets}/pie/skeleton.test.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/provider/widget-provider.test.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/provider/widget-provider.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/range/range.test.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/range/range.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/range/skeleton.test.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/scatterplot/download.test.ts +0 -0
- /package/src/{widgets-v2 → widgets}/scatterplot/download.ts +0 -0
- /package/src/{widgets-v2 → widgets}/scatterplot/options.test.ts +0 -0
- /package/src/{widgets-v2 → widgets}/scatterplot/skeleton.test.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/scatterplot/transforms.test.ts +0 -0
- /package/src/{widgets-v2 → widgets}/scatterplot/transforms.ts +0 -0
- /package/src/{widgets-v2 → widgets}/selection-summary/labels.ts +0 -0
- /package/src/{widgets-v2 → widgets}/selection-summary/selection-summary.test.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/spread/band.test.ts +0 -0
- /package/src/{widgets-v2 → widgets}/spread/band.ts +0 -0
- /package/src/{widgets-v2 → widgets}/spread/download.test.ts +0 -0
- /package/src/{widgets-v2 → widgets}/spread/download.ts +0 -0
- /package/src/{widgets-v2 → widgets}/spread/separator.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/spread/skeleton.test.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/spread/spread.test.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/spread/spread.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/state/labels.test.ts +0 -0
- /package/src/{widgets-v2 → widgets}/state/labels.ts +0 -0
- /package/src/{widgets-v2 → widgets}/state/style.ts +0 -0
- /package/src/{widgets-v2 → widgets}/state/widget-state.test.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/stores/pipeline-middleware.test.ts +0 -0
- /package/src/{widgets-v2 → widgets}/stores/pipeline-middleware.ts +0 -0
- /package/src/{widgets-v2 → widgets}/stores/transforms.test.ts +0 -0
- /package/src/{widgets-v2 → widgets}/stores/use-echart-instance.test.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/stores/use-echart-instance.ts +0 -0
- /package/src/{widgets-v2 → widgets}/stores/use-transform-enabled.test.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/stores/use-transform-enabled.ts +0 -0
- /package/src/{widgets-v2 → widgets}/stores/use-transform.test.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/stores/widget-context.test.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/stores/widget-context.ts +0 -0
- /package/src/{widgets-v2 → widgets}/stores/widget-store-registry.test.ts +0 -0
- /package/src/{widgets-v2 → widgets}/table/download.test.ts +0 -0
- /package/src/{widgets-v2 → widgets}/table/download.ts +0 -0
- /package/src/{widgets-v2 → widgets}/table/labels.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/table/skeleton.test.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/table/table-ui.test.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/table/table.test.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/table/table.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/table/transforms.test.ts +0 -0
- /package/src/{widgets-v2 → widgets}/table/transforms.ts +0 -0
- /package/src/{widgets-v2 → widgets}/timeseries/download.test.ts +0 -0
- /package/src/{widgets-v2 → widgets}/timeseries/download.ts +0 -0
- /package/src/{widgets-v2 → widgets}/timeseries/options.test.ts +0 -0
- /package/src/{widgets-v2 → widgets}/timeseries/skeleton.test.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/timeseries/transforms.test.ts +0 -0
- /package/src/{widgets-v2 → widgets}/timeseries/transforms.ts +0 -0
- /package/src/{widgets-v2 → widgets}/toolbox/labels.ts +0 -0
- /package/src/{widgets-v2 → widgets}/toolbox/style.ts +0 -0
- /package/src/{widgets-v2 → widgets}/toolbox/toolbox.test.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/toolbox/toolbox.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/utils/data-zoom-layout.ts +0 -0
- /package/src/{widgets-v2 → widgets}/utils/merge-options.test.ts +0 -0
- /package/src/{widgets-v2 → widgets}/utils/merge-options.ts +0 -0
- /package/src/widgets/utils/{chart-config/option-builders.test.ts → option-builders.test.ts} +0 -0
- /package/src/widgets/utils/{chart-config/option-builders.ts → option-builders.ts} +0 -0
- /package/src/{widgets-v2 → widgets}/utils/resolve-theme-color.test.ts +0 -0
- /package/src/{widgets-v2 → widgets}/utils/resolve-theme-color.ts +0 -0
- /package/src/{widgets-v2 → widgets}/wrapper/labels.ts +0 -0
- /package/src/{widgets-v2 → widgets}/wrapper/style.ts +0 -0
- /package/src/{widgets-v2 → widgets}/wrapper/widget-actions.test.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/wrapper/widget-actions.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/wrapper/widget-content.test.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/wrapper/widget-content.tsx +0 -0
- /package/src/{widgets-v2 → widgets}/wrapper/widget-wrapper.test.tsx +0 -0
package/dist/legend.js
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t } from "./smart-tooltip-CwGHCqab.js";
|
|
1
|
+
import { n as e, t } from "./smart-tooltip-Dc_rHhyI.js";
|
|
3
2
|
import { a as n, b as r, c as i, d as a, f as o, g as s, h as c, i as l, l as u, m as d, n as f, o as p, p as m, s as h, u as g, v as _, y as v } from "./stores-mad-9yFn.js";
|
|
4
3
|
import { c as y } from "react/compiler-runtime";
|
|
5
4
|
import { Children as b, createContext as x, isValidElement as S, useContext as C, useEffect as w, useId as T, useLayoutEffect as E, useRef as D, useState as O } from "react";
|
|
6
|
-
import { Box as k, ButtonBase as A, CircularProgress as j, Collapse as M, Divider as N, IconButton as P, InputAdornment as F, Menu as I, MenuItem as L, OutlinedInput as R, Slider as ee, Typography as z, createSvgIcon as
|
|
7
|
-
import { Fragment as
|
|
8
|
-
import { ArrowDropDown as
|
|
5
|
+
import { Box as k, ButtonBase as A, CircularProgress as j, Collapse as M, Divider as N, IconButton as P, InputAdornment as F, Menu as I, MenuItem as L, OutlinedInput as R, Slider as ee, Typography as z, createSvgIcon as B } from "@mui/material";
|
|
6
|
+
import { Fragment as V, jsx as H, jsxs as U } from "react/jsx-runtime";
|
|
7
|
+
import { ArrowDropDown as te, ChecklistOutlined as W, Close as ne, DragIndicator as G, ErrorOutlineOutlined as re, ExpandMore as ie, MoreVert as ae, VisibilityOffOutlined as oe, VisibilityOutlined as se } from "@mui/icons-material";
|
|
9
8
|
import { SortableContext as ce, useSortable as le, verticalListSortingStrategy as ue } from "@dnd-kit/sortable";
|
|
10
9
|
import { CSS as de } from "@dnd-kit/utilities";
|
|
11
10
|
import { DndContext as fe, DragOverlay as pe, KeyboardSensor as me, PointerSensor as he, closestCenter as ge, useSensor as _e, useSensors as ve } from "@dnd-kit/core";
|
|
@@ -83,12 +82,12 @@ function xe(e) {
|
|
|
83
82
|
let w;
|
|
84
83
|
t[16] === C ? w = t[17] : (w = { labels: C }, t[16] = C, t[17] = w);
|
|
85
84
|
let T = w, D;
|
|
86
|
-
t[18] !== u || t[19] !== T ? (D = /* @__PURE__ */
|
|
85
|
+
t[18] !== u || t[19] !== T ? (D = /* @__PURE__ */ H(be.Provider, {
|
|
87
86
|
value: T,
|
|
88
87
|
children: u
|
|
89
88
|
}), t[18] = u, t[19] = T, t[20] = D) : D = t[20];
|
|
90
89
|
let k;
|
|
91
|
-
return t[21] !== r || t[22] !== D ? (k = /* @__PURE__ */
|
|
90
|
+
return t[21] !== r || t[22] !== D ? (k = /* @__PURE__ */ H(v.Provider, {
|
|
92
91
|
value: r,
|
|
93
92
|
children: D
|
|
94
93
|
}), t[21] = r, t[22] = D, t[23] = k) : k = t[23], k;
|
|
@@ -125,7 +124,7 @@ var Oe = { fadeGroup: {
|
|
|
125
124
|
//#region src/legend/components/legend-actions/legend-actions.tsx
|
|
126
125
|
function ke(e) {
|
|
127
126
|
let t = y(3), { children: n } = e, r = q() === null ? "PsLegend-groupFade" : "PsLegend-rowFade", i;
|
|
128
|
-
return t[0] !== n || t[1] !== r ? (i = /* @__PURE__ */
|
|
127
|
+
return t[0] !== n || t[1] !== r ? (i = /* @__PURE__ */ H(k, {
|
|
129
128
|
className: r,
|
|
130
129
|
sx: Oe.fadeGroup,
|
|
131
130
|
children: n
|
|
@@ -333,9 +332,9 @@ function Le(t) {
|
|
|
333
332
|
}, i = `PsLegend-dragHandle-${r}`, s = r === "group" ? Ie.handleSlotGroup : Ie.handleSlotLayer, c;
|
|
334
333
|
n[16] === s ? c = n[17] : (c = [Ie.handleSlot, s], n[16] = s, n[17] = c);
|
|
335
334
|
let _;
|
|
336
|
-
n[18] === Symbol.for("react.memo_cache_sentinel") ? (_ = /* @__PURE__ */
|
|
335
|
+
n[18] === Symbol.for("react.memo_cache_sentinel") ? (_ = /* @__PURE__ */ H(G, {}), n[18] = _) : _ = n[18];
|
|
337
336
|
let v;
|
|
338
|
-
n[19] !== l || n[20] !== o.reorder || n[21] !== u || n[22] !== f ? (v = /* @__PURE__ */
|
|
337
|
+
n[19] !== l || n[20] !== o.reorder || n[21] !== u || n[22] !== f ? (v = /* @__PURE__ */ H(P, {
|
|
339
338
|
ref: f,
|
|
340
339
|
size: "xsmall",
|
|
341
340
|
"aria-label": o.reorder,
|
|
@@ -345,12 +344,12 @@ function Le(t) {
|
|
|
345
344
|
children: _
|
|
346
345
|
}), n[19] = l, n[20] = o.reorder, n[21] = u, n[22] = f, n[23] = v) : v = n[23];
|
|
347
346
|
let y;
|
|
348
|
-
n[24] !== o.reorder || n[25] !== v ? (y = /* @__PURE__ */
|
|
347
|
+
n[24] !== o.reorder || n[25] !== v ? (y = /* @__PURE__ */ H(e, {
|
|
349
348
|
title: o.reorder,
|
|
350
349
|
children: v
|
|
351
350
|
}), n[24] = o.reorder, n[25] = v, n[26] = y) : y = n[26];
|
|
352
351
|
let b;
|
|
353
|
-
n[27] !== i || n[28] !== c || n[29] !== y ? (b = /* @__PURE__ */
|
|
352
|
+
n[27] !== i || n[28] !== c || n[29] !== y ? (b = /* @__PURE__ */ H(k, {
|
|
354
353
|
component: "span",
|
|
355
354
|
className: i,
|
|
356
355
|
sx: c,
|
|
@@ -380,17 +379,17 @@ function Re(e) {
|
|
|
380
379
|
let { actions: x, body: S } = b, C;
|
|
381
380
|
n[8] !== d.collapsed || n[9] !== i || n[10] !== f ? (C = () => f(i, !d.collapsed), n[8] = d.collapsed, n[9] = i, n[10] = f, n[11] = C) : C = n[11];
|
|
382
381
|
let w = C, T;
|
|
383
|
-
n[12] !== x || n[13] !== S || n[14] !== d.collapsed || n[15] !== d.icon || n[16] !== d.label || n[17] !== i || n[18] !== m || n[19] !== v || n[20] !== h || n[21] !== w ? (T = (e) => /* @__PURE__ */
|
|
382
|
+
n[12] !== x || n[13] !== S || n[14] !== d.collapsed || n[15] !== d.icon || n[16] !== d.label || n[17] !== i || n[18] !== m || n[19] !== v || n[20] !== h || n[21] !== w ? (T = (e) => /* @__PURE__ */ H(we.Provider, {
|
|
384
383
|
value: i,
|
|
385
|
-
children: /* @__PURE__ */
|
|
384
|
+
children: /* @__PURE__ */ U(k, {
|
|
386
385
|
ref: e?.rootRef,
|
|
387
386
|
style: e?.rootStyle,
|
|
388
387
|
sx: [J.group, e?.dragging === !0 && J.groupDragging],
|
|
389
|
-
children: [/* @__PURE__ */
|
|
388
|
+
children: [/* @__PURE__ */ U(k, {
|
|
390
389
|
sx: J.header,
|
|
391
390
|
children: [
|
|
392
391
|
e?.handle,
|
|
393
|
-
/* @__PURE__ */
|
|
392
|
+
/* @__PURE__ */ U(k, {
|
|
394
393
|
sx: J.titleArea,
|
|
395
394
|
role: "button",
|
|
396
395
|
tabIndex: 0,
|
|
@@ -398,37 +397,36 @@ function Re(e) {
|
|
|
398
397
|
onClick: w,
|
|
399
398
|
onKeyDown: Se(w),
|
|
400
399
|
children: [
|
|
401
|
-
d.icon != null && /* @__PURE__ */
|
|
400
|
+
d.icon != null && /* @__PURE__ */ H(k, {
|
|
402
401
|
sx: J.groupIcon,
|
|
403
402
|
children: d.icon
|
|
404
403
|
}),
|
|
405
|
-
/* @__PURE__ */
|
|
404
|
+
/* @__PURE__ */ H(t, {
|
|
406
405
|
title: d.label,
|
|
407
406
|
dependencies: [d.label],
|
|
408
407
|
children: (e) => {
|
|
409
408
|
let { ref: t } = e;
|
|
410
|
-
return /* @__PURE__ */
|
|
409
|
+
return /* @__PURE__ */ H(z, {
|
|
411
410
|
ref: t,
|
|
412
411
|
variant: "button",
|
|
413
|
-
fontWeight: "bold",
|
|
414
412
|
color: m ? "text.disabled" : "text.primary",
|
|
415
|
-
sx: J.label,
|
|
413
|
+
sx: [{ fontWeight: "bold" }, J.label],
|
|
416
414
|
children: d.label
|
|
417
415
|
});
|
|
418
416
|
}
|
|
419
417
|
}),
|
|
420
|
-
/* @__PURE__ */
|
|
418
|
+
/* @__PURE__ */ H(ie, { sx: [J.chevron, d.collapsed && J.chevronCollapsed] })
|
|
421
419
|
]
|
|
422
420
|
}),
|
|
423
|
-
/* @__PURE__ */
|
|
421
|
+
/* @__PURE__ */ H(k, {
|
|
424
422
|
className: "PsLegend-groupActions",
|
|
425
423
|
sx: J.actions,
|
|
426
424
|
children: x
|
|
427
425
|
})
|
|
428
426
|
]
|
|
429
|
-
}), /* @__PURE__ */
|
|
427
|
+
}), /* @__PURE__ */ H(M, {
|
|
430
428
|
in: !d.collapsed,
|
|
431
|
-
children: h ? /* @__PURE__ */
|
|
429
|
+
children: h ? /* @__PURE__ */ H(ce, {
|
|
432
430
|
items: v,
|
|
433
431
|
strategy: ue,
|
|
434
432
|
children: S
|
|
@@ -437,7 +435,7 @@ function Re(e) {
|
|
|
437
435
|
})
|
|
438
436
|
}), n[12] = x, n[13] = S, n[14] = d.collapsed, n[15] = d.icon, n[16] = d.label, n[17] = i, n[18] = m, n[19] = v, n[20] = h, n[21] = w, n[22] = T) : T = n[22];
|
|
439
437
|
let E = T, D;
|
|
440
|
-
return n[23] !== i || n[24] !== E || n[25] !== h ? (D = h ? /* @__PURE__ */
|
|
438
|
+
return n[23] !== i || n[24] !== E || n[25] !== h ? (D = h ? /* @__PURE__ */ H(Le, {
|
|
441
439
|
kind: "group",
|
|
442
440
|
id: i,
|
|
443
441
|
render: E
|
|
@@ -597,18 +595,18 @@ function Ve(e) {
|
|
|
597
595
|
let { actions: T, body: E } = w, D = !c.visible || c.collapsed, A = m ? 48 : 0, j = c.visible && p, N;
|
|
598
596
|
n[9] !== c.collapsed || n[10] !== i || n[11] !== l ? (N = () => l(i, !c.collapsed), n[9] = c.collapsed, n[10] = i, n[11] = l, n[12] = N) : N = n[12];
|
|
599
597
|
let P = N, F;
|
|
600
|
-
n[13] !== T || n[14] !== E || n[15] !== j || n[16] !== D || n[17] !== m || n[18] !== c.collapsed || n[19] !== c.helperText || n[20] !== c.name || n[21] !== c.subtitle || n[22] !== c.visible || n[23] !== C || n[24] !== A || n[25] !== P ? (F = (e) => /* @__PURE__ */
|
|
598
|
+
n[13] !== T || n[14] !== E || n[15] !== j || n[16] !== D || n[17] !== m || n[18] !== c.collapsed || n[19] !== c.helperText || n[20] !== c.name || n[21] !== c.subtitle || n[22] !== c.visible || n[23] !== C || n[24] !== A || n[25] !== P ? (F = (e) => /* @__PURE__ */ H(Ce.Provider, {
|
|
601
599
|
value: C,
|
|
602
|
-
children: /* @__PURE__ */
|
|
600
|
+
children: /* @__PURE__ */ U(k, {
|
|
603
601
|
ref: e?.rootRef,
|
|
604
602
|
style: e?.rootStyle,
|
|
605
603
|
sx: [Y.row, e?.dragging === !0 && Y.rowDragging],
|
|
606
|
-
children: [/* @__PURE__ */
|
|
604
|
+
children: [/* @__PURE__ */ U(k, {
|
|
607
605
|
sx: [Y.header, m && Y.headerGrouped],
|
|
608
606
|
style: { top: A },
|
|
609
607
|
children: [
|
|
610
608
|
e?.handle,
|
|
611
|
-
/* @__PURE__ */
|
|
609
|
+
/* @__PURE__ */ U(k, {
|
|
612
610
|
sx: [Y.titleBox, j && Y.titleBoxInteractive],
|
|
613
611
|
...j && {
|
|
614
612
|
role: "button",
|
|
@@ -617,14 +615,14 @@ function Ve(e) {
|
|
|
617
615
|
onClick: P,
|
|
618
616
|
onKeyDown: Se(P)
|
|
619
617
|
},
|
|
620
|
-
children: [/* @__PURE__ */
|
|
618
|
+
children: [/* @__PURE__ */ U(k, {
|
|
621
619
|
sx: Y.titleLine,
|
|
622
|
-
children: [/* @__PURE__ */
|
|
620
|
+
children: [/* @__PURE__ */ H(t, {
|
|
623
621
|
title: c.name,
|
|
624
622
|
dependencies: [c.name],
|
|
625
623
|
children: (e) => {
|
|
626
624
|
let { ref: t } = e;
|
|
627
|
-
return /* @__PURE__ */
|
|
625
|
+
return /* @__PURE__ */ H(z, {
|
|
628
626
|
ref: t,
|
|
629
627
|
variant: "button",
|
|
630
628
|
color: c.visible ? "text.primary" : "text.disabled",
|
|
@@ -632,35 +630,35 @@ function Ve(e) {
|
|
|
632
630
|
children: c.name
|
|
633
631
|
});
|
|
634
632
|
}
|
|
635
|
-
}), j && /* @__PURE__ */
|
|
636
|
-
}), c.subtitle && !D && /* @__PURE__ */
|
|
633
|
+
}), j && /* @__PURE__ */ H(ie, { sx: [Y.chevron, c.collapsed && Y.chevronCollapsed] })]
|
|
634
|
+
}), c.subtitle && !D && /* @__PURE__ */ H(z, {
|
|
637
635
|
variant: "caption",
|
|
638
|
-
color: "text.secondary",
|
|
639
636
|
component: "p",
|
|
637
|
+
sx: { color: "text.secondary" },
|
|
640
638
|
children: c.subtitle
|
|
641
639
|
})]
|
|
642
640
|
}),
|
|
643
|
-
/* @__PURE__ */
|
|
641
|
+
/* @__PURE__ */ H(k, {
|
|
644
642
|
className: "PsLegend-rowActions",
|
|
645
643
|
sx: Y.actions,
|
|
646
644
|
children: T
|
|
647
645
|
})
|
|
648
646
|
]
|
|
649
|
-
}), /* @__PURE__ */
|
|
647
|
+
}), /* @__PURE__ */ U(M, {
|
|
650
648
|
in: !D,
|
|
651
|
-
children: [/* @__PURE__ */
|
|
649
|
+
children: [/* @__PURE__ */ H(k, {
|
|
652
650
|
sx: [
|
|
653
651
|
Y.content,
|
|
654
652
|
m && Y.contentGrouped,
|
|
655
653
|
!c.visible && Y.dimmed
|
|
656
654
|
],
|
|
657
655
|
children: E
|
|
658
|
-
}), c.helperText && /* @__PURE__ */
|
|
656
|
+
}), c.helperText && /* @__PURE__ */ H(k, {
|
|
659
657
|
sx: [Y.footer, m && Y.footerGrouped],
|
|
660
|
-
children: typeof c.helperText == "string" ? /* @__PURE__ */
|
|
658
|
+
children: typeof c.helperText == "string" ? /* @__PURE__ */ H(z, {
|
|
661
659
|
variant: "caption",
|
|
662
|
-
color: "text.secondary",
|
|
663
660
|
component: "p",
|
|
661
|
+
sx: { color: "text.secondary" },
|
|
664
662
|
children: c.helperText
|
|
665
663
|
}) : c.helperText
|
|
666
664
|
})]
|
|
@@ -668,7 +666,7 @@ function Ve(e) {
|
|
|
668
666
|
})
|
|
669
667
|
}), n[13] = T, n[14] = E, n[15] = j, n[16] = D, n[17] = m, n[18] = c.collapsed, n[19] = c.helperText, n[20] = c.name, n[21] = c.subtitle, n[22] = c.visible, n[23] = C, n[24] = A, n[25] = P, n[26] = F) : F = n[26];
|
|
670
668
|
let I = F, L;
|
|
671
|
-
return n[27] !== i || n[28] !== I || n[29] !== h ? (L = h ? /* @__PURE__ */
|
|
669
|
+
return n[27] !== i || n[28] !== I || n[29] !== h ? (L = h ? /* @__PURE__ */ H(Le, {
|
|
672
670
|
kind: "layer",
|
|
673
671
|
id: i,
|
|
674
672
|
render: I
|
|
@@ -679,13 +677,13 @@ function He(e) {
|
|
|
679
677
|
}
|
|
680
678
|
//#endregion
|
|
681
679
|
//#region src/legend/components/icons.tsx
|
|
682
|
-
var Ue =
|
|
680
|
+
var Ue = B(/* @__PURE__ */ U("g", {
|
|
683
681
|
transform: "translate(12 12) scale(1.33333) translate(-184 -24)",
|
|
684
|
-
children: [/* @__PURE__ */
|
|
682
|
+
children: [/* @__PURE__ */ H("path", {
|
|
685
683
|
fillRule: "evenodd",
|
|
686
684
|
clipRule: "evenodd",
|
|
687
685
|
d: "M184.901 29.5794L185.217 29.5415C185.803 29.4604 186.372 29.3216 186.918 29.1319L187 29.1007L187 29.1033L187.208 29.0255L187.536 28.8904C187.722 28.8088 187.906 28.721 188.086 28.6272L188.366 28.4747C188.381 28.4663 188.395 28.4578 188.41 28.4493C188.418 28.4451 188.425 28.4408 188.432 28.4365C188.455 28.4234 188.478 28.4102 188.5 28.3969C188.551 28.3668 188.601 28.3362 188.652 28.3052L188.912 28.1374C189.598 27.6788 190.217 27.1271 190.75 26.5002L190.751 26.4954C190.989 26.2164 191.21 25.9226 191.413 25.6152C191.488 25.5007 191.561 25.3843 191.631 25.2662L191.757 25.0445L191.878 24.8189L192.021 24.5306L192.15 24.2443L192.25 24C190.98 20.7776 187.885 18.4747 184.239 18.3782L184 18.375L183.716 18.3795L183.637 18.3823L183.373 18.3967L183.103 18.4198L182.838 18.4506L182.666 18.4749L182.426 18.5146C182.19 18.557 181.957 18.6087 181.728 18.6684L181.55 18.7175L181.271 18.8039L182.508 20.04L182.801 19.9854C183.194 19.9182 183.592 19.875 184 19.875C186.842 19.875 189.378 21.4725 190.615 24C190.172 24.915 189.55 25.7025 188.807 26.34L188.811 26.3446C188.71 26.4323 188.606 26.5172 188.5 26.5991C188.455 26.6337 188.41 26.6679 188.364 26.7015C188.108 26.8897 187.84 27.0611 187.562 27.2145C187.088 27.4755 186.585 27.6844 186.058 27.836L186.062 27.84L185.778 27.9125C185.707 27.9293 185.635 27.9452 185.563 27.9602C185.297 28.0173 185.025 28.06 184.75 28.0876V28.0866C184.503 28.1118 184.253 28.125 184 28.125C181.158 28.125 178.622 26.5275 177.385 24C177.91 22.9275 178.675 22.0425 179.582 21.3525L180.895 22.665L180.826 22.844C180.697 23.2065 180.625 23.595 180.625 24C180.625 25.86 182.14 27.375 184 27.375C184.258 27.375 184.509 27.3459 184.75 27.2915C185.462 27.129 186.09 26.7397 186.553 26.2048L179.79 19.4389C179.339 19.6833 178.912 19.9656 178.512 20.2817L178.517 20.2875L178.271 20.4884C177.704 20.9671 177.197 21.516 176.766 22.1227C176.404 22.6333 176.095 23.1838 175.845 23.7662L175.75 24C177.048 27.2925 180.25 29.625 184 29.625L184.285 29.6205L184.492 29.6116L184.628 29.6025L184.901 29.5794ZM182.133 23.9025L184.09 25.86L184.045 25.8703L184 25.875C182.965 25.875 182.125 25.035 182.125 24L182.133 23.9025Z"
|
|
688
|
-
}), /* @__PURE__ */
|
|
686
|
+
}), /* @__PURE__ */ H("path", { d: "M187.368 23.9925C187.375 22.1325 185.86 20.625 184 20.625C183.722 20.625 183.46 20.6625 183.198 20.73L184.75 22.2825L184.889 22.3507C185.252 22.5477 185.543 22.8625 185.71 23.2425L187.263 24.795L187.304 24.6011C187.342 24.4045 187.368 24.2006 187.368 23.9925Z" })]
|
|
689
687
|
}), "VisibilityIndeterminate"), We = {
|
|
690
688
|
visible: se,
|
|
691
689
|
hidden: oe,
|
|
@@ -724,9 +722,9 @@ function Ge(t) {
|
|
|
724
722
|
}, n[23] = f, n[24] = s, n[25] = t) : t = n[25], D = t;
|
|
725
723
|
} else return null;
|
|
726
724
|
let { hideLayer: O, showLayer: k } = D ?? f, A = We[T], j = T === "hidden" ? k : O, M = T === "visible" ? void 0 : "active", N;
|
|
727
|
-
n[26] === A ? N = n[27] : (N = /* @__PURE__ */
|
|
725
|
+
n[26] === A ? N = n[27] : (N = /* @__PURE__ */ H(A, { fontSize: "small" }), n[26] = A, n[27] = N);
|
|
728
726
|
let F;
|
|
729
|
-
n[28] !== E || n[29] !== j || n[30] !== M || n[31] !== N ? (F = /* @__PURE__ */
|
|
727
|
+
n[28] !== E || n[29] !== j || n[30] !== M || n[31] !== N ? (F = /* @__PURE__ */ H(P, {
|
|
730
728
|
size: "small",
|
|
731
729
|
className: M,
|
|
732
730
|
onClick: E,
|
|
@@ -734,7 +732,7 @@ function Ge(t) {
|
|
|
734
732
|
children: N
|
|
735
733
|
}), n[28] = E, n[29] = j, n[30] = M, n[31] = N, n[32] = F) : F = n[32];
|
|
736
734
|
let I;
|
|
737
|
-
return n[33] !== j || n[34] !== F ? (I = /* @__PURE__ */
|
|
735
|
+
return n[33] !== j || n[34] !== F ? (I = /* @__PURE__ */ H(e, {
|
|
738
736
|
title: j,
|
|
739
737
|
children: F
|
|
740
738
|
}), n[33] = j, n[34] = F, n[35] = I) : I = n[35], I;
|
|
@@ -774,9 +772,9 @@ function Je(t) {
|
|
|
774
772
|
e.stopPropagation(), u(e.currentTarget);
|
|
775
773
|
}, n[6] = k) : k = n[6];
|
|
776
774
|
let A = k, j = m || d || c ? "active" : void 0, M;
|
|
777
|
-
n[7] === Symbol.for("react.memo_cache_sentinel") ? (M = /* @__PURE__ */
|
|
775
|
+
n[7] === Symbol.for("react.memo_cache_sentinel") ? (M = /* @__PURE__ */ H(ae, { fontSize: "small" }), n[7] = M) : M = n[7];
|
|
778
776
|
let N;
|
|
779
|
-
n[8] !== a || n[9] !== m || n[10] !== j ? (N = /* @__PURE__ */
|
|
777
|
+
n[8] !== a || n[9] !== m || n[10] !== j ? (N = /* @__PURE__ */ H(P, {
|
|
780
778
|
size: "small",
|
|
781
779
|
className: j,
|
|
782
780
|
onClick: A,
|
|
@@ -786,12 +784,12 @@ function Je(t) {
|
|
|
786
784
|
children: M
|
|
787
785
|
}), n[8] = a, n[9] = m, n[10] = j, n[11] = N) : N = n[11];
|
|
788
786
|
let F;
|
|
789
|
-
n[12] !== h.moreOptions || n[13] !== N ? (F = /* @__PURE__ */
|
|
787
|
+
n[12] !== h.moreOptions || n[13] !== N ? (F = /* @__PURE__ */ H(e, {
|
|
790
788
|
title: h.moreOptions,
|
|
791
789
|
children: N
|
|
792
790
|
}), n[12] = h.moreOptions, n[13] = N, n[14] = F) : F = n[14];
|
|
793
791
|
let L;
|
|
794
|
-
n[15] !== l || n[16] !== r || n[17] !== m ? (L = /* @__PURE__ */
|
|
792
|
+
n[15] !== l || n[16] !== r || n[17] !== m ? (L = /* @__PURE__ */ H(I, {
|
|
795
793
|
anchorEl: l,
|
|
796
794
|
open: m,
|
|
797
795
|
onClose: w,
|
|
@@ -799,7 +797,7 @@ function Je(t) {
|
|
|
799
797
|
children: r
|
|
800
798
|
}), n[15] = l, n[16] = r, n[17] = m, n[18] = L) : L = n[18];
|
|
801
799
|
let R;
|
|
802
|
-
return n[19] !== E || n[20] !== F || n[21] !== L ? (R = /* @__PURE__ */
|
|
800
|
+
return n[19] !== E || n[20] !== F || n[21] !== L ? (R = /* @__PURE__ */ U(Ee.Provider, {
|
|
803
801
|
value: E,
|
|
804
802
|
children: [F, L]
|
|
805
803
|
}), n[19] = E, n[20] = F, n[21] = L, n[22] = R) : R = n[22], R;
|
|
@@ -808,7 +806,7 @@ function Je(t) {
|
|
|
808
806
|
//#region src/legend/components/legend-row-menu/legend-row-menu.tsx
|
|
809
807
|
function Ye(e) {
|
|
810
808
|
let t = y(5), { children: n } = e, r = q(), { labels: i } = K(), a = !!r, o = r?.opacityOpen ?? !1, s;
|
|
811
|
-
return t[0] !== n || t[1] !== i.layerOptions || t[2] !== a || t[3] !== o ? (s = /* @__PURE__ */
|
|
809
|
+
return t[0] !== n || t[1] !== i.layerOptions || t[2] !== a || t[3] !== o ? (s = /* @__PURE__ */ H(Je, {
|
|
812
810
|
gate: a,
|
|
813
811
|
ariaLabel: i.layerOptions,
|
|
814
812
|
active: o,
|
|
@@ -839,12 +837,12 @@ function Ze(e) {
|
|
|
839
837
|
e.stopPropagation(), o && Xe(o, () => n(a.layerId));
|
|
840
838
|
}, t[2] = o, t[3] = n, t[4] = a, t[5] = d) : d = t[5];
|
|
841
839
|
let f = d, p;
|
|
842
|
-
t[6] === u ? p = t[7] : (p = u && /* @__PURE__ */
|
|
840
|
+
t[6] === u ? p = t[7] : (p = u && /* @__PURE__ */ H(j, {
|
|
843
841
|
size: 16,
|
|
844
842
|
sx: { mr: 1 }
|
|
845
843
|
}), t[6] = u, t[7] = p);
|
|
846
844
|
let m = u ? l.loading : l.zoomTo, h;
|
|
847
|
-
return t[8] !== u || t[9] !== f || t[10] !== p || t[11] !== m ? (h = /* @__PURE__ */
|
|
845
|
+
return t[8] !== u || t[9] !== f || t[10] !== p || t[11] !== m ? (h = /* @__PURE__ */ U(L, {
|
|
848
846
|
disabled: u,
|
|
849
847
|
onClick: f,
|
|
850
848
|
children: [p, m]
|
|
@@ -861,7 +859,7 @@ function Qe() {
|
|
|
861
859
|
if (r) for (let t of c(e, r.groupId)) e.setVisibility(t.id, t.id === n.layerId);
|
|
862
860
|
}, e[0] = t, e[1] = n.layerId, e[2] = a) : a = e[2];
|
|
863
861
|
let o = a, s;
|
|
864
|
-
return e[3] !== i.showOnlyLayer || e[4] !== o ? (s = /* @__PURE__ */
|
|
862
|
+
return e[3] !== i.showOnlyLayer || e[4] !== o ? (s = /* @__PURE__ */ H(L, {
|
|
865
863
|
onClick: o,
|
|
866
864
|
children: i.showOnlyLayer
|
|
867
865
|
}), e[3] = i.showOnlyLayer, e[4] = o, e[5] = s) : s = e[5], s;
|
|
@@ -876,7 +874,7 @@ function $e() {
|
|
|
876
874
|
else for (let t of c(e, void 0)) e.setVisibility(t.id, !0);
|
|
877
875
|
}, e[0] = n, e[1] = t, e[2] = o) : o = e[2];
|
|
878
876
|
let s = o, u;
|
|
879
|
-
return e[3] !== a.showAllLayers || e[4] !== s ? (u = /* @__PURE__ */
|
|
877
|
+
return e[3] !== a.showAllLayers || e[4] !== s ? (u = /* @__PURE__ */ H(L, {
|
|
880
878
|
onClick: s,
|
|
881
879
|
children: a.showAllLayers
|
|
882
880
|
}), e[3] = a.showAllLayers, e[4] = s, e[5] = u) : u = e[5], u;
|
|
@@ -885,7 +883,7 @@ function $e() {
|
|
|
885
883
|
//#region src/legend/components/legend-group-menu/legend-group-menu.tsx
|
|
886
884
|
function et(e) {
|
|
887
885
|
let t = y(4), { children: n } = e, r = Te(), { labels: i } = K(), a = r !== null, o;
|
|
888
|
-
return t[0] !== n || t[1] !== i.groupOptions || t[2] !== a ? (o = /* @__PURE__ */
|
|
886
|
+
return t[0] !== n || t[1] !== i.groupOptions || t[2] !== a ? (o = /* @__PURE__ */ H(Je, {
|
|
889
887
|
gate: a,
|
|
890
888
|
ariaLabel: i.groupOptions,
|
|
891
889
|
children: n
|
|
@@ -903,7 +901,7 @@ function tt() {
|
|
|
903
901
|
for (let t of c(e, void 0)) e.setVisibility(t.id, !1);
|
|
904
902
|
}, e[0] = n, e[1] = t, e[2] = a) : a = e[2];
|
|
905
903
|
let o = a, u;
|
|
906
|
-
return e[3] !== i.showOnlyGroup || e[4] !== o ? (u = /* @__PURE__ */
|
|
904
|
+
return e[3] !== i.showOnlyGroup || e[4] !== o ? (u = /* @__PURE__ */ H(L, {
|
|
907
905
|
onClick: o,
|
|
908
906
|
children: i.showOnlyGroup
|
|
909
907
|
}), e[3] = i.showOnlyGroup, e[4] = o, e[5] = u) : u = e[5], u;
|
|
@@ -918,7 +916,7 @@ function nt() {
|
|
|
918
916
|
for (let t of c(e, void 0)) e.setVisibility(t.id, !0);
|
|
919
917
|
}, e[0] = t, e[1] = a);
|
|
920
918
|
let o = a, u;
|
|
921
|
-
return e[2] !== i.showAllGroups || e[3] !== o ? (u = /* @__PURE__ */
|
|
919
|
+
return e[2] !== i.showAllGroups || e[3] !== o ? (u = /* @__PURE__ */ H(L, {
|
|
922
920
|
onClick: o,
|
|
923
921
|
children: i.showAllGroups
|
|
924
922
|
}), e[2] = i.showAllGroups, e[3] = o, e[4] = u) : u = e[4], u;
|
|
@@ -932,7 +930,7 @@ function rt() {
|
|
|
932
930
|
for (let t of s(e)) e.setGroupCollapsed(t.id, !n);
|
|
933
931
|
}, e[0] = t, e[1] = c);
|
|
934
932
|
let u = c, d = i ? o.expandAllGroups : o.collapseAllGroups, f;
|
|
935
|
-
return e[2] !== d || e[3] !== u ? (f = /* @__PURE__ */
|
|
933
|
+
return e[2] !== d || e[3] !== u ? (f = /* @__PURE__ */ H(L, {
|
|
936
934
|
onClick: u,
|
|
937
935
|
children: d
|
|
938
936
|
}), e[2] = d, e[3] = u, e[4] = f) : f = e[4], f;
|
|
@@ -947,12 +945,12 @@ function it(e) {
|
|
|
947
945
|
e.stopPropagation(), s && Xe(s, () => n(a));
|
|
948
946
|
}, t[2] = a, t[3] = s, t[4] = n, t[5] = f) : f = t[5];
|
|
949
947
|
let p = f, m;
|
|
950
|
-
t[6] === d ? m = t[7] : (m = d && /* @__PURE__ */
|
|
948
|
+
t[6] === d ? m = t[7] : (m = d && /* @__PURE__ */ H(j, {
|
|
951
949
|
size: 16,
|
|
952
950
|
sx: { mr: 1 }
|
|
953
951
|
}), t[6] = d, t[7] = m);
|
|
954
952
|
let h = d ? u.loading : u.zoomToGroup, _;
|
|
955
|
-
return t[8] !== d || t[9] !== p || t[10] !== m || t[11] !== h ? (_ = /* @__PURE__ */
|
|
953
|
+
return t[8] !== d || t[9] !== p || t[10] !== m || t[11] !== h ? (_ = /* @__PURE__ */ U(L, {
|
|
956
954
|
disabled: d,
|
|
957
955
|
onClick: p,
|
|
958
956
|
children: [m, h]
|
|
@@ -962,7 +960,7 @@ function it(e) {
|
|
|
962
960
|
//#region src/legend/components/legend-panel-menu/legend-panel-menu.tsx
|
|
963
961
|
function at(e) {
|
|
964
962
|
let t = y(3), { children: n } = e, { labels: r } = K(), i;
|
|
965
|
-
return t[0] !== n || t[1] !== r.panelOptions ? (i = /* @__PURE__ */
|
|
963
|
+
return t[0] !== n || t[1] !== r.panelOptions ? (i = /* @__PURE__ */ H(Je, {
|
|
966
964
|
ariaLabel: r.panelOptions,
|
|
967
965
|
children: n
|
|
968
966
|
}), t[0] = n, t[1] = r.panelOptions, t[2] = i) : i = t[2], i;
|
|
@@ -1018,17 +1016,17 @@ function ot(e, t) {
|
|
|
1018
1016
|
return _(l(e).getState());
|
|
1019
1017
|
}
|
|
1020
1018
|
function st() {
|
|
1021
|
-
let t = y(
|
|
1019
|
+
let t = y(32), n = r(), [i, a] = O(null), o = ot(n, g(n, ut)), s = u(n, lt), { labels: c } = K(), l = o.reduce(ct, 0), d = !!i && l > 0, f;
|
|
1022
1020
|
t[0] === Symbol.for("react.memo_cache_sentinel") ? (f = (e) => a(e.currentTarget), t[0] = f) : f = t[0];
|
|
1023
1021
|
let p = f, m;
|
|
1024
1022
|
t[1] === Symbol.for("react.memo_cache_sentinel") ? (m = () => a(null), t[1] = m) : m = t[1];
|
|
1025
1023
|
let h = m, _ = d ? "active" : void 0, v = l === 0, b;
|
|
1026
|
-
t[2] === Symbol.for("react.memo_cache_sentinel") ? (b = /* @__PURE__ */
|
|
1024
|
+
t[2] === Symbol.for("react.memo_cache_sentinel") ? (b = /* @__PURE__ */ H(W, { fontSize: "small" }), t[2] = b) : b = t[2];
|
|
1027
1025
|
let x;
|
|
1028
|
-
t[3] !== c.enabledLayers || t[4] !== d || t[5] !== _ || t[6] !== v ? (x = /* @__PURE__ */
|
|
1026
|
+
t[3] !== c.enabledLayers || t[4] !== d || t[5] !== _ || t[6] !== v ? (x = /* @__PURE__ */ H(k, {
|
|
1029
1027
|
component: "span",
|
|
1030
1028
|
sx: X.triggerWrap,
|
|
1031
|
-
children: /* @__PURE__ */
|
|
1029
|
+
children: /* @__PURE__ */ H(P, {
|
|
1032
1030
|
size: "small",
|
|
1033
1031
|
className: _,
|
|
1034
1032
|
disabled: v,
|
|
@@ -1040,58 +1038,62 @@ function st() {
|
|
|
1040
1038
|
})
|
|
1041
1039
|
}), t[3] = c.enabledLayers, t[4] = d, t[5] = _, t[6] = v, t[7] = x) : x = t[7];
|
|
1042
1040
|
let S;
|
|
1043
|
-
t[8] !== c.toggleEnabledLayers || t[9] !== x ? (S = /* @__PURE__ */
|
|
1041
|
+
t[8] !== c.toggleEnabledLayers || t[9] !== x ? (S = /* @__PURE__ */ H(e, {
|
|
1044
1042
|
title: c.toggleEnabledLayers,
|
|
1045
1043
|
children: x
|
|
1046
1044
|
}), t[8] = c.toggleEnabledLayers, t[9] = x, t[10] = S) : S = t[10];
|
|
1047
|
-
let C = I, w;
|
|
1048
|
-
t[11] ===
|
|
1049
|
-
let
|
|
1050
|
-
t[13] ===
|
|
1051
|
-
|
|
1052
|
-
|
|
1045
|
+
let C = I, w, T;
|
|
1046
|
+
t[11] === Symbol.for("react.memo_cache_sentinel") ? (w = { sx: X.paper }, T = { disablePadding: !0 }, t[11] = w, t[12] = T) : (w = t[11], T = t[12]);
|
|
1047
|
+
let E;
|
|
1048
|
+
t[13] === h ? E = t[14] : (E = {
|
|
1049
|
+
paper: w,
|
|
1050
|
+
list: T,
|
|
1051
|
+
transition: { onExited: h }
|
|
1052
|
+
}, t[13] = h, t[14] = E);
|
|
1053
|
+
let D;
|
|
1054
|
+
t[15] === Symbol.for("react.memo_cache_sentinel") ? (D = [{ color: "text.primary" }, X.stickyHeader], t[15] = D) : D = t[15];
|
|
1055
|
+
let A = `${c.enabledLayers} (${l})`, j;
|
|
1056
|
+
t[16] === A ? j = t[17] : (j = /* @__PURE__ */ H(z, {
|
|
1053
1057
|
component: "div",
|
|
1054
1058
|
variant: "caption",
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
t.group ? /* @__PURE__ */ V(z, {
|
|
1059
|
+
sx: D,
|
|
1060
|
+
children: A
|
|
1061
|
+
}), t[16] = A, t[17] = j);
|
|
1062
|
+
let M;
|
|
1063
|
+
t[18] !== c.hideLayer || t[19] !== s ? (M = (t, n) => [
|
|
1064
|
+
n > 0 ? /* @__PURE__ */ H(N, { sx: X.divider }, `divider-${t.group?.id ?? "ungrouped"}`) : null,
|
|
1065
|
+
t.group ? /* @__PURE__ */ H(z, {
|
|
1063
1066
|
variant: "caption",
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
+
sx: [{
|
|
1068
|
+
fontWeight: "medium",
|
|
1069
|
+
color: "text.secondary"
|
|
1070
|
+
}, X.groupCaption],
|
|
1067
1071
|
children: t.group.label
|
|
1068
1072
|
}, `caption-${t.group.id}`) : null,
|
|
1069
|
-
...t.layers.map((t) => /* @__PURE__ */
|
|
1073
|
+
...t.layers.map((t) => /* @__PURE__ */ U(L, {
|
|
1070
1074
|
disableRipple: !0,
|
|
1071
1075
|
sx: X.item,
|
|
1072
1076
|
onClick: () => s(t.id, !1),
|
|
1073
|
-
children: [/* @__PURE__ */
|
|
1077
|
+
children: [/* @__PURE__ */ H(z, {
|
|
1074
1078
|
variant: "body2",
|
|
1075
1079
|
sx: X.itemName,
|
|
1076
1080
|
children: t.name
|
|
1077
|
-
}), /* @__PURE__ */
|
|
1081
|
+
}), /* @__PURE__ */ H(e, {
|
|
1078
1082
|
title: c.hideLayer,
|
|
1079
|
-
children: /* @__PURE__ */
|
|
1083
|
+
children: /* @__PURE__ */ H(se, { sx: X.eye })
|
|
1080
1084
|
})]
|
|
1081
1085
|
}, t.id))
|
|
1082
|
-
], t[
|
|
1083
|
-
let
|
|
1084
|
-
t[
|
|
1086
|
+
], t[18] = c.hideLayer, t[19] = s, t[20] = M) : M = t[20];
|
|
1087
|
+
let F = o.flatMap(M), R;
|
|
1088
|
+
t[21] !== C || t[22] !== i || t[23] !== h || t[24] !== d || t[25] !== j || t[26] !== F || t[27] !== E ? (R = /* @__PURE__ */ U(C, {
|
|
1085
1089
|
anchorEl: i,
|
|
1086
1090
|
open: d,
|
|
1087
1091
|
onClose: h,
|
|
1088
|
-
TransitionProps: w,
|
|
1089
|
-
MenuListProps: T,
|
|
1090
1092
|
slotProps: E,
|
|
1091
|
-
children: [
|
|
1092
|
-
}), t[
|
|
1093
|
-
let
|
|
1094
|
-
return t[
|
|
1093
|
+
children: [j, F]
|
|
1094
|
+
}), t[21] = C, t[22] = i, t[23] = h, t[24] = d, t[25] = j, t[26] = F, t[27] = E, t[28] = R) : R = t[28];
|
|
1095
|
+
let ee;
|
|
1096
|
+
return t[29] !== R || t[30] !== S ? (ee = /* @__PURE__ */ U(V, { children: [S, R] }), t[29] = R, t[30] = S, t[31] = ee) : ee = t[31], ee;
|
|
1095
1097
|
}
|
|
1096
1098
|
function ct(e, t) {
|
|
1097
1099
|
return e + t.layers.length;
|
|
@@ -1169,19 +1171,19 @@ function pt(e) {
|
|
|
1169
1171
|
let T = w, E;
|
|
1170
1172
|
t[12] === Symbol.for("react.memo_cache_sentinel") ? (E = () => o(null), t[12] = E) : E = t[12];
|
|
1171
1173
|
let k;
|
|
1172
|
-
t[13] !== n || t[14] !== f ? (k = /* @__PURE__ */
|
|
1174
|
+
t[13] !== n || t[14] !== f ? (k = /* @__PURE__ */ H(ce, {
|
|
1173
1175
|
items: f,
|
|
1174
1176
|
strategy: ue,
|
|
1175
1177
|
children: n
|
|
1176
1178
|
}), t[13] = n, t[14] = f, t[15] = k) : k = t[15];
|
|
1177
1179
|
let A;
|
|
1178
|
-
t[16] === a ? A = t[17] : (A = a && /* @__PURE__ */
|
|
1180
|
+
t[16] === a ? A = t[17] : (A = a && /* @__PURE__ */ H(_t, { activeId: a }), t[16] = a, t[17] = A);
|
|
1179
1181
|
let j;
|
|
1180
|
-
t[18] === A ? j = t[19] : (j = /* @__PURE__ */
|
|
1182
|
+
t[18] === A ? j = t[19] : (j = /* @__PURE__ */ H(pe, { children: A }), t[18] = A, t[19] = j);
|
|
1181
1183
|
let M;
|
|
1182
|
-
return t[20] !== x || t[21] !== T || t[22] !== C || t[23] !== v || t[24] !== j || t[25] !== k ? (M = /* @__PURE__ */
|
|
1184
|
+
return t[20] !== x || t[21] !== T || t[22] !== C || t[23] !== v || t[24] !== j || t[25] !== k ? (M = /* @__PURE__ */ H(Me.Provider, {
|
|
1183
1185
|
value: !0,
|
|
1184
|
-
children: /* @__PURE__ */
|
|
1186
|
+
children: /* @__PURE__ */ U(fe, {
|
|
1185
1187
|
sensors: v,
|
|
1186
1188
|
collisionDetection: x,
|
|
1187
1189
|
onDragStart: C,
|
|
@@ -1201,7 +1203,7 @@ function gt(e) {
|
|
|
1201
1203
|
return Pe("group", e.id);
|
|
1202
1204
|
}
|
|
1203
1205
|
function _t(e) {
|
|
1204
|
-
let t = y(
|
|
1206
|
+
let t = y(17), { activeId: n } = e, i = r(), a;
|
|
1205
1207
|
t[0] === n ? a = t[1] : (a = Fe(n), t[0] = n, t[1] = a);
|
|
1206
1208
|
let o = a, s;
|
|
1207
1209
|
t[2] === o ? s = t[3] : (s = (e) => o ? o.kind === "group" ? e.groups[o.id]?.label : e.layers[o.id]?.name : void 0, t[2] = o, t[3] = s);
|
|
@@ -1210,23 +1212,26 @@ function _t(e) {
|
|
|
1210
1212
|
let u = g(i, l);
|
|
1211
1213
|
if (!o || c === void 0) return null;
|
|
1212
1214
|
let d;
|
|
1213
|
-
t[6] !== u || t[7] !== o.kind ? (d = o.kind === "group" && u != null && /* @__PURE__ */
|
|
1215
|
+
t[6] !== u || t[7] !== o.kind ? (d = o.kind === "group" && u != null && /* @__PURE__ */ H(k, {
|
|
1214
1216
|
sx: Ie.overlayIcon,
|
|
1215
1217
|
children: u
|
|
1216
1218
|
}), t[6] = u, t[7] = o.kind, t[8] = d) : d = t[8];
|
|
1217
1219
|
let f = o.kind === "group" ? "bold" : void 0, p;
|
|
1218
|
-
t[9]
|
|
1219
|
-
variant: "button",
|
|
1220
|
+
t[9] === f ? p = t[10] : (p = [{
|
|
1220
1221
|
fontWeight: f,
|
|
1221
|
-
color: "text.primary"
|
|
1222
|
-
|
|
1223
|
-
children: c
|
|
1224
|
-
}), t[9] = c, t[10] = f, t[11] = p) : p = t[11];
|
|
1222
|
+
color: "text.primary"
|
|
1223
|
+
}, Ie.overlayLabel], t[9] = f, t[10] = p);
|
|
1225
1224
|
let m;
|
|
1226
|
-
|
|
1225
|
+
t[11] !== c || t[12] !== p ? (m = /* @__PURE__ */ H(z, {
|
|
1226
|
+
variant: "button",
|
|
1227
|
+
sx: p,
|
|
1228
|
+
children: c
|
|
1229
|
+
}), t[11] = c, t[12] = p, t[13] = m) : m = t[13];
|
|
1230
|
+
let h;
|
|
1231
|
+
return t[14] !== d || t[15] !== m ? (h = /* @__PURE__ */ U(k, {
|
|
1227
1232
|
sx: Ie.overlay,
|
|
1228
|
-
children: [d,
|
|
1229
|
-
}), t[
|
|
1233
|
+
children: [d, m]
|
|
1234
|
+
}), t[14] = d, t[15] = m, t[16] = h) : h = t[16], h;
|
|
1230
1235
|
}
|
|
1231
1236
|
//#endregion
|
|
1232
1237
|
//#region src/legend/components/legend-opacity/styles.ts
|
|
@@ -1265,7 +1270,7 @@ function bt() {
|
|
|
1265
1270
|
n.setOpacityOpen(e), e && a.collapsed && o(n.layerId, !1);
|
|
1266
1271
|
}, e[2] = a, e[3] = n, e[4] = o, e[5] = c) : c = e[5];
|
|
1267
1272
|
let l = c, d;
|
|
1268
|
-
return e[6] !== s.opacity || e[7] !== n.opacityOpen || e[8] !== l ? (d = /* @__PURE__ */
|
|
1273
|
+
return e[6] !== s.opacity || e[7] !== n.opacityOpen || e[8] !== l ? (d = /* @__PURE__ */ H(L, {
|
|
1269
1274
|
selected: n.opacityOpen,
|
|
1270
1275
|
onClick: l,
|
|
1271
1276
|
children: s.opacity
|
|
@@ -1275,7 +1280,7 @@ function xt(e) {
|
|
|
1275
1280
|
return e.setCollapsed;
|
|
1276
1281
|
}
|
|
1277
1282
|
function St() {
|
|
1278
|
-
let t = y(
|
|
1283
|
+
let t = y(48), n = r(), i = q(), a = i?.layerId, o;
|
|
1279
1284
|
t[0] === a ? o = t[1] : (o = (e) => a ? e.layers[a]?.opacity ?? 1 : 1, t[0] = a, t[1] = o);
|
|
1280
1285
|
let s = g(n, o), c = g(n, wt), { labels: l } = K(), [u, d] = O(null), [f, p] = O(null);
|
|
1281
1286
|
if (!i || !a || !i.opacityOpen) return null;
|
|
@@ -1299,86 +1304,90 @@ function St() {
|
|
|
1299
1304
|
i.setOpacityOpen(!1), p(null), d(null);
|
|
1300
1305
|
}, t[10] = i, t[11] = S);
|
|
1301
1306
|
let C = S, w;
|
|
1302
|
-
t[12] ===
|
|
1303
|
-
variant: "caption",
|
|
1307
|
+
t[12] === Symbol.for("react.memo_cache_sentinel") ? (w = {
|
|
1304
1308
|
fontWeight: "medium",
|
|
1305
|
-
color: "text.primary"
|
|
1306
|
-
|
|
1307
|
-
}), t[12] = l.opacity, t[13] = w);
|
|
1309
|
+
color: "text.primary"
|
|
1310
|
+
}, t[12] = w) : w = t[12];
|
|
1308
1311
|
let T;
|
|
1309
|
-
t[
|
|
1312
|
+
t[13] === l.opacity ? T = t[14] : (T = /* @__PURE__ */ H(z, {
|
|
1313
|
+
variant: "caption",
|
|
1314
|
+
sx: w,
|
|
1315
|
+
children: l.opacity
|
|
1316
|
+
}), t[13] = l.opacity, t[14] = T);
|
|
1310
1317
|
let E;
|
|
1311
|
-
t[15]
|
|
1318
|
+
t[15] === Symbol.for("react.memo_cache_sentinel") ? (E = /* @__PURE__ */ H(ne, { fontSize: "small" }), t[15] = E) : E = t[15];
|
|
1319
|
+
let D;
|
|
1320
|
+
t[16] !== C || t[17] !== l.close ? (D = /* @__PURE__ */ H(P, {
|
|
1312
1321
|
size: "small",
|
|
1313
1322
|
onClick: C,
|
|
1314
1323
|
"aria-label": l.close,
|
|
1315
|
-
children: T
|
|
1316
|
-
}), t[15] = C, t[16] = l.close, t[17] = E) : E = t[17];
|
|
1317
|
-
let D;
|
|
1318
|
-
t[18] !== l.close || t[19] !== E ? (D = /* @__PURE__ */ V(e, {
|
|
1319
|
-
title: l.close,
|
|
1320
1324
|
children: E
|
|
1321
|
-
}), t[
|
|
1325
|
+
}), t[16] = C, t[17] = l.close, t[18] = D) : D = t[18];
|
|
1322
1326
|
let A;
|
|
1323
|
-
t[
|
|
1324
|
-
|
|
1325
|
-
children:
|
|
1326
|
-
}), t[
|
|
1327
|
+
t[19] !== l.close || t[20] !== D ? (A = /* @__PURE__ */ H(e, {
|
|
1328
|
+
title: l.close,
|
|
1329
|
+
children: D
|
|
1330
|
+
}), t[19] = l.close, t[20] = D, t[21] = A) : A = t[21];
|
|
1327
1331
|
let j;
|
|
1328
|
-
t[
|
|
1329
|
-
|
|
1330
|
-
|
|
1332
|
+
t[22] !== T || t[23] !== A ? (j = /* @__PURE__ */ U(k, {
|
|
1333
|
+
sx: vt.inlineHeader,
|
|
1334
|
+
children: [T, A]
|
|
1335
|
+
}), t[22] = T, t[23] = A, t[24] = j) : j = t[24];
|
|
1331
1336
|
let M;
|
|
1332
|
-
t[25] ===
|
|
1333
|
-
|
|
1334
|
-
}, t[25] =
|
|
1337
|
+
t[25] === Symbol.for("react.memo_cache_sentinel") ? (M = (e, t) => {
|
|
1338
|
+
d(t), p(null);
|
|
1339
|
+
}, t[25] = M) : M = t[25];
|
|
1335
1340
|
let N;
|
|
1336
|
-
t[
|
|
1341
|
+
t[26] === v ? N = t[27] : (N = (e, t) => {
|
|
1342
|
+
v(t), d(null);
|
|
1343
|
+
}, t[26] = v, t[27] = N);
|
|
1344
|
+
let I;
|
|
1345
|
+
t[28] !== l.opacity || t[29] !== h || t[30] !== N ? (I = /* @__PURE__ */ H(ee, {
|
|
1337
1346
|
size: "small",
|
|
1338
1347
|
min: 0,
|
|
1339
1348
|
max: 100,
|
|
1340
1349
|
step: 1,
|
|
1341
1350
|
value: h,
|
|
1342
|
-
onChange:
|
|
1343
|
-
onChangeCommitted:
|
|
1351
|
+
onChange: M,
|
|
1352
|
+
onChangeCommitted: N,
|
|
1344
1353
|
"aria-label": l.opacity,
|
|
1345
1354
|
sx: vt.slider
|
|
1346
|
-
}), t[
|
|
1347
|
-
let
|
|
1348
|
-
t[
|
|
1355
|
+
}), t[28] = l.opacity, t[29] = h, t[30] = N, t[31] = I) : I = t[31];
|
|
1356
|
+
let L = f ?? String(h), B;
|
|
1357
|
+
t[32] === x ? B = t[33] : (B = (e) => x(e.target.value), t[32] = x, t[33] = B);
|
|
1358
|
+
let V;
|
|
1359
|
+
t[34] === Symbol.for("react.memo_cache_sentinel") ? (V = () => p(null), t[34] = V) : V = t[34];
|
|
1349
1360
|
let te;
|
|
1350
|
-
t[
|
|
1351
|
-
let B;
|
|
1352
|
-
t[34] === Symbol.for("react.memo_cache_sentinel") ? (B = /* @__PURE__ */ V(F, {
|
|
1361
|
+
t[35] === Symbol.for("react.memo_cache_sentinel") ? (te = /* @__PURE__ */ H(F, {
|
|
1353
1362
|
position: "end",
|
|
1354
1363
|
children: "%"
|
|
1355
|
-
}), t[
|
|
1356
|
-
let
|
|
1357
|
-
t[
|
|
1364
|
+
}), t[35] = te) : te = t[35];
|
|
1365
|
+
let W;
|
|
1366
|
+
t[36] === l.opacity ? W = t[37] : (W = {
|
|
1358
1367
|
inputMode: "numeric",
|
|
1359
1368
|
"aria-label": l.opacity
|
|
1360
|
-
}, t[
|
|
1361
|
-
let
|
|
1362
|
-
t[
|
|
1369
|
+
}, t[36] = l.opacity, t[37] = W);
|
|
1370
|
+
let G;
|
|
1371
|
+
t[38] !== L || t[39] !== B || t[40] !== W ? (G = /* @__PURE__ */ H(R, {
|
|
1363
1372
|
size: "small",
|
|
1364
|
-
value:
|
|
1365
|
-
onChange:
|
|
1366
|
-
onBlur:
|
|
1373
|
+
value: L,
|
|
1374
|
+
onChange: B,
|
|
1375
|
+
onBlur: V,
|
|
1367
1376
|
onKeyDown: Ct,
|
|
1368
|
-
endAdornment:
|
|
1369
|
-
inputProps:
|
|
1377
|
+
endAdornment: te,
|
|
1378
|
+
inputProps: W,
|
|
1370
1379
|
sx: vt.input
|
|
1371
|
-
}), t[
|
|
1372
|
-
let G;
|
|
1373
|
-
t[41] !== N || t[42] !== W ? (G = /* @__PURE__ */ H(k, {
|
|
1374
|
-
sx: vt.inlineControls,
|
|
1375
|
-
children: [N, W]
|
|
1376
|
-
}), t[41] = N, t[42] = W, t[43] = G) : G = t[43];
|
|
1380
|
+
}), t[38] = L, t[39] = B, t[40] = W, t[41] = G) : G = t[41];
|
|
1377
1381
|
let re;
|
|
1378
|
-
|
|
1382
|
+
t[42] !== I || t[43] !== G ? (re = /* @__PURE__ */ U(k, {
|
|
1383
|
+
sx: vt.inlineControls,
|
|
1384
|
+
children: [I, G]
|
|
1385
|
+
}), t[42] = I, t[43] = G, t[44] = re) : re = t[44];
|
|
1386
|
+
let ie;
|
|
1387
|
+
return t[45] !== j || t[46] !== re ? (ie = /* @__PURE__ */ U(k, {
|
|
1379
1388
|
sx: vt.inline,
|
|
1380
|
-
children: [
|
|
1381
|
-
}), t[
|
|
1389
|
+
children: [j, re]
|
|
1390
|
+
}), t[45] = j, t[46] = re, t[47] = ie) : ie = t[47], ie;
|
|
1382
1391
|
}
|
|
1383
1392
|
function Ct(e) {
|
|
1384
1393
|
e.key === "Enter" && e.target.blur();
|
|
@@ -1436,7 +1445,7 @@ function Dt() {
|
|
|
1436
1445
|
let f = a[0].active, p = a.length > 1, m;
|
|
1437
1446
|
e[2] === Symbol.for("react.memo_cache_sentinel") ? (m = (e) => l(e.currentTarget), e[2] = m) : m = e[2];
|
|
1438
1447
|
let h;
|
|
1439
|
-
e[3] === f ? h = e[4] : (h = /* @__PURE__ */
|
|
1448
|
+
e[3] === f ? h = e[4] : (h = /* @__PURE__ */ H(z, {
|
|
1440
1449
|
variant: "body2",
|
|
1441
1450
|
sx: Et.value,
|
|
1442
1451
|
children: f
|
|
@@ -1447,12 +1456,12 @@ function Dt() {
|
|
|
1447
1456
|
...Et.chevronOpen
|
|
1448
1457
|
} : Et.chevron, e[5] = d, e[6] = g);
|
|
1449
1458
|
let _;
|
|
1450
|
-
e[7] === g ? _ = e[8] : (_ = /* @__PURE__ */
|
|
1459
|
+
e[7] === g ? _ = e[8] : (_ = /* @__PURE__ */ H(te, {
|
|
1451
1460
|
fontSize: "small",
|
|
1452
1461
|
sx: g
|
|
1453
1462
|
}), e[7] = g, e[8] = _);
|
|
1454
1463
|
let v;
|
|
1455
|
-
e[9] !== s.attribute || e[10] !== d || e[11] !== h || e[12] !== _ ? (v = /* @__PURE__ */
|
|
1464
|
+
e[9] !== s.attribute || e[10] !== d || e[11] !== h || e[12] !== _ ? (v = /* @__PURE__ */ U(A, {
|
|
1456
1465
|
sx: Et.trigger,
|
|
1457
1466
|
onClick: m,
|
|
1458
1467
|
"aria-label": s.attribute,
|
|
@@ -1467,13 +1476,12 @@ function Dt() {
|
|
|
1467
1476
|
let C;
|
|
1468
1477
|
if (e[17] !== n || e[18] !== a || e[19] !== o || e[20] !== p) {
|
|
1469
1478
|
let t;
|
|
1470
|
-
e[22] !== n || e[23] !== o || e[24] !== p ? (t = (e) => [p && e.title ? /* @__PURE__ */
|
|
1479
|
+
e[22] !== n || e[23] !== o || e[24] !== p ? (t = (e) => [p && e.title ? /* @__PURE__ */ H(z, {
|
|
1471
1480
|
variant: "overline",
|
|
1472
|
-
color: "text.secondary",
|
|
1473
1481
|
component: "li",
|
|
1474
|
-
sx: Et.sectionTitle,
|
|
1482
|
+
sx: [{ color: "text.secondary" }, Et.sectionTitle],
|
|
1475
1483
|
children: e.title
|
|
1476
|
-
}, `${e.id}-title`) : null, ...e.options.map((t) => /* @__PURE__ */
|
|
1484
|
+
}, `${e.id}-title`) : null, ...e.options.map((t) => /* @__PURE__ */ H(L, {
|
|
1477
1485
|
selected: t === e.active,
|
|
1478
1486
|
sx: Et.option,
|
|
1479
1487
|
onClick: () => {
|
|
@@ -1483,7 +1491,7 @@ function Dt() {
|
|
|
1483
1491
|
}, `${e.id}-${t}`))], e[22] = n, e[23] = o, e[24] = p, e[25] = t) : t = e[25], C = a.map(t), e[17] = n, e[18] = a, e[19] = o, e[20] = p, e[21] = C;
|
|
1484
1492
|
} else C = e[21];
|
|
1485
1493
|
let w;
|
|
1486
|
-
e[26] !== c || e[27] !== d || e[28] !== S || e[29] !== C ? (w = /* @__PURE__ */
|
|
1494
|
+
e[26] !== c || e[27] !== d || e[28] !== S || e[29] !== C ? (w = /* @__PURE__ */ H(I, {
|
|
1487
1495
|
anchorEl: c,
|
|
1488
1496
|
open: d,
|
|
1489
1497
|
onClose: b,
|
|
@@ -1491,7 +1499,7 @@ function Dt() {
|
|
|
1491
1499
|
children: C
|
|
1492
1500
|
}), e[26] = c, e[27] = d, e[28] = S, e[29] = C, e[30] = w) : w = e[30];
|
|
1493
1501
|
let T;
|
|
1494
|
-
return e[31] !== w || e[32] !== v ? (T = /* @__PURE__ */
|
|
1502
|
+
return e[31] !== w || e[32] !== v ? (T = /* @__PURE__ */ U(V, { children: [v, w] }), e[31] = w, e[32] = v, e[33] = T) : T = e[33], T;
|
|
1495
1503
|
}
|
|
1496
1504
|
function Ot(e) {
|
|
1497
1505
|
return e.setSectionValue;
|
|
@@ -1567,7 +1575,7 @@ function Nt(e) {
|
|
|
1567
1575
|
}
|
|
1568
1576
|
}
|
|
1569
1577
|
function Pt(e, t) {
|
|
1570
|
-
let n = (e) => /* @__PURE__ */
|
|
1578
|
+
let n = (e) => /* @__PURE__ */ H("path", {
|
|
1571
1579
|
d: e,
|
|
1572
1580
|
stroke: t,
|
|
1573
1581
|
strokeWidth: 1.2,
|
|
@@ -1596,7 +1604,7 @@ function Pt(e, t) {
|
|
|
1596
1604
|
};
|
|
1597
1605
|
case "dots": return {
|
|
1598
1606
|
size: 4,
|
|
1599
|
-
content: /* @__PURE__ */
|
|
1607
|
+
content: /* @__PURE__ */ H("circle", {
|
|
1600
1608
|
cx: 2,
|
|
1601
1609
|
cy: 2,
|
|
1602
1610
|
r: .9,
|
|
@@ -1605,7 +1613,7 @@ function Pt(e, t) {
|
|
|
1605
1613
|
};
|
|
1606
1614
|
case "grid": return {
|
|
1607
1615
|
size: 3,
|
|
1608
|
-
content: /* @__PURE__ */
|
|
1616
|
+
content: /* @__PURE__ */ H("circle", {
|
|
1609
1617
|
cx: 1.5,
|
|
1610
1618
|
cy: 1.5,
|
|
1611
1619
|
r: .7,
|
|
@@ -1626,7 +1634,7 @@ function Ft(e) {
|
|
|
1626
1634
|
overflow: "visible"
|
|
1627
1635
|
}, t[2] = o) : o = t[2];
|
|
1628
1636
|
let s = f / 2, c = f / 2, l = i ? "round" : "butt", u;
|
|
1629
|
-
t[3] !== r || t[4] !== n || t[5] !== f || t[6] !== c || t[7] !== l || t[8] !== s ? (u = /* @__PURE__ */
|
|
1637
|
+
t[3] !== r || t[4] !== n || t[5] !== f || t[6] !== c || t[7] !== l || t[8] !== s ? (u = /* @__PURE__ */ H("line", {
|
|
1630
1638
|
x1: 0,
|
|
1631
1639
|
y1: s,
|
|
1632
1640
|
x2: f,
|
|
@@ -1637,7 +1645,7 @@ function Ft(e) {
|
|
|
1637
1645
|
strokeLinecap: l
|
|
1638
1646
|
}), t[3] = r, t[4] = n, t[5] = f, t[6] = c, t[7] = l, t[8] = s, t[9] = u) : u = t[9];
|
|
1639
1647
|
let p;
|
|
1640
|
-
return t[10] !== f || t[11] !== u || t[12] !== a ? (p = /* @__PURE__ */
|
|
1648
|
+
return t[10] !== f || t[11] !== u || t[12] !== a ? (p = /* @__PURE__ */ H("svg", {
|
|
1641
1649
|
width: f,
|
|
1642
1650
|
height: f,
|
|
1643
1651
|
viewBox: a,
|
|
@@ -1664,7 +1672,7 @@ function Ft(e) {
|
|
|
1664
1672
|
let O = D, k = l ? "none" : h ? `url(#${p})` : r, A = `0 0 ${f} ${f}`, j;
|
|
1665
1673
|
t[26] === Symbol.for("react.memo_cache_sentinel") ? (j = { display: "block" }, t[26] = j) : j = t[26];
|
|
1666
1674
|
let M;
|
|
1667
|
-
t[27] !== p || t[28] !== _ ? (M = _ && /* @__PURE__ */
|
|
1675
|
+
t[27] !== p || t[28] !== _ ? (M = _ && /* @__PURE__ */ H("defs", { children: /* @__PURE__ */ H("pattern", {
|
|
1668
1676
|
id: p,
|
|
1669
1677
|
patternUnits: "userSpaceOnUse",
|
|
1670
1678
|
width: _.size,
|
|
@@ -1672,17 +1680,17 @@ function Ft(e) {
|
|
|
1672
1680
|
children: _.content
|
|
1673
1681
|
}) }), t[27] = p, t[28] = _, t[29] = M) : M = t[29];
|
|
1674
1682
|
let N;
|
|
1675
|
-
t[30] !== r || t[31] !== O || t[32] !== k || t[33] !== m || t[34] !== v || t[35] !== l || t[36] !== c || t[37] !== f || t[38] !== h ? (N = v ? /* @__PURE__ */
|
|
1683
|
+
t[30] !== r || t[31] !== O || t[32] !== k || t[33] !== m || t[34] !== v || t[35] !== l || t[36] !== c || t[37] !== f || t[38] !== h ? (N = v ? /* @__PURE__ */ H(It, {
|
|
1676
1684
|
size: f,
|
|
1677
1685
|
color: r
|
|
1678
|
-
}) : c === "circle" ? /* @__PURE__ */
|
|
1686
|
+
}) : c === "circle" ? /* @__PURE__ */ H("circle", {
|
|
1679
1687
|
cx: f / 2,
|
|
1680
1688
|
cy: f / 2,
|
|
1681
1689
|
r: f / 2 - m,
|
|
1682
1690
|
fill: k,
|
|
1683
1691
|
...O,
|
|
1684
1692
|
stroke: l || h ? r : "none"
|
|
1685
|
-
}) : /* @__PURE__ */
|
|
1693
|
+
}) : /* @__PURE__ */ H("rect", {
|
|
1686
1694
|
x: m,
|
|
1687
1695
|
y: m,
|
|
1688
1696
|
width: f - m * 2,
|
|
@@ -1692,7 +1700,7 @@ function Ft(e) {
|
|
|
1692
1700
|
stroke: l || h ? r : "none"
|
|
1693
1701
|
}), t[30] = r, t[31] = O, t[32] = k, t[33] = m, t[34] = v, t[35] = l, t[36] = c, t[37] = f, t[38] = h, t[39] = N) : N = t[39];
|
|
1694
1702
|
let P;
|
|
1695
|
-
return t[40] !== c || t[41] !== f || t[42] !== A || t[43] !== M || t[44] !== N ? (P = /* @__PURE__ */
|
|
1703
|
+
return t[40] !== c || t[41] !== f || t[42] !== A || t[43] !== M || t[44] !== N ? (P = /* @__PURE__ */ U("svg", {
|
|
1696
1704
|
width: f,
|
|
1697
1705
|
height: f,
|
|
1698
1706
|
viewBox: A,
|
|
@@ -1710,27 +1718,27 @@ function It(e) {
|
|
|
1710
1718
|
fill: "none"
|
|
1711
1719
|
}, t[0] = r, t[1] = s);
|
|
1712
1720
|
let c = s, l = `M${a} ${a + i} V${a} H${a + i}`, u;
|
|
1713
|
-
t[2] !== c || t[3] !== l ? (u = /* @__PURE__ */
|
|
1721
|
+
t[2] !== c || t[3] !== l ? (u = /* @__PURE__ */ H("path", {
|
|
1714
1722
|
d: l,
|
|
1715
1723
|
...c
|
|
1716
1724
|
}), t[2] = c, t[3] = l, t[4] = u) : u = t[4];
|
|
1717
1725
|
let d = `M${o - i} ${a} H${o} V${a + i}`, f;
|
|
1718
|
-
t[5] !== c || t[6] !== d ? (f = /* @__PURE__ */
|
|
1726
|
+
t[5] !== c || t[6] !== d ? (f = /* @__PURE__ */ H("path", {
|
|
1719
1727
|
d,
|
|
1720
1728
|
...c
|
|
1721
1729
|
}), t[5] = c, t[6] = d, t[7] = f) : f = t[7];
|
|
1722
1730
|
let p = `M${o} ${o - i} V${o} H${o - i}`, m;
|
|
1723
|
-
t[8] !== c || t[9] !== p ? (m = /* @__PURE__ */
|
|
1731
|
+
t[8] !== c || t[9] !== p ? (m = /* @__PURE__ */ H("path", {
|
|
1724
1732
|
d: p,
|
|
1725
1733
|
...c
|
|
1726
1734
|
}), t[8] = c, t[9] = p, t[10] = m) : m = t[10];
|
|
1727
1735
|
let h = `M${a + i} ${o} H${a} V${o - i}`, g;
|
|
1728
|
-
t[11] !== c || t[12] !== h ? (g = /* @__PURE__ */
|
|
1736
|
+
t[11] !== c || t[12] !== h ? (g = /* @__PURE__ */ H("path", {
|
|
1729
1737
|
d: h,
|
|
1730
1738
|
...c
|
|
1731
1739
|
}), t[11] = c, t[12] = h, t[13] = g) : g = t[13];
|
|
1732
1740
|
let _;
|
|
1733
|
-
return t[14] !== u || t[15] !== f || t[16] !== m || t[17] !== g ? (_ = /* @__PURE__ */
|
|
1741
|
+
return t[14] !== u || t[15] !== f || t[16] !== m || t[17] !== g ? (_ = /* @__PURE__ */ U(V, { children: [
|
|
1734
1742
|
u,
|
|
1735
1743
|
f,
|
|
1736
1744
|
m,
|
|
@@ -1751,18 +1759,18 @@ function Rt(e) {
|
|
|
1751
1759
|
let b;
|
|
1752
1760
|
if (t[4] !== d || t[5] !== g || t[6] !== m || t[7] !== u || t[8] !== r || t[9] !== l || t[10] !== f) {
|
|
1753
1761
|
let e;
|
|
1754
|
-
t[12] !== d || t[13] !== g || t[14] !== m || t[15] !== u || t[16] !== l || t[17] !== f ? (e = (e, t) => /* @__PURE__ */
|
|
1762
|
+
t[12] !== d || t[13] !== g || t[14] !== m || t[15] !== u || t[16] !== l || t[17] !== f ? (e = (e, t) => /* @__PURE__ */ U(k, {
|
|
1755
1763
|
sx: {
|
|
1756
1764
|
...Z.item,
|
|
1757
1765
|
...m ? Z.itemHorizontal : null
|
|
1758
1766
|
},
|
|
1759
1767
|
children: [
|
|
1760
|
-
/* @__PURE__ */
|
|
1768
|
+
/* @__PURE__ */ H(k, {
|
|
1761
1769
|
sx: {
|
|
1762
1770
|
...Z.gutter,
|
|
1763
1771
|
width: m ? void 0 : g
|
|
1764
1772
|
},
|
|
1765
|
-
children: /* @__PURE__ */
|
|
1773
|
+
children: /* @__PURE__ */ H(Ft, {
|
|
1766
1774
|
shape: e.shape ?? l,
|
|
1767
1775
|
color: e.color,
|
|
1768
1776
|
isStrokeColor: e.isStrokeColor ?? u,
|
|
@@ -1771,27 +1779,26 @@ function Rt(e) {
|
|
|
1771
1779
|
size: e.size ?? 12
|
|
1772
1780
|
})
|
|
1773
1781
|
}),
|
|
1774
|
-
/* @__PURE__ */
|
|
1782
|
+
/* @__PURE__ */ H(z, {
|
|
1775
1783
|
variant: "caption",
|
|
1776
|
-
color: "text.primary",
|
|
1777
1784
|
sx: {
|
|
1785
|
+
color: "text.primary",
|
|
1778
1786
|
...Z.label,
|
|
1779
1787
|
...m ? Z.labelHorizontal : null
|
|
1780
1788
|
},
|
|
1781
1789
|
children: e.label
|
|
1782
1790
|
}),
|
|
1783
|
-
e.value != null && /* @__PURE__ */
|
|
1791
|
+
e.value != null && /* @__PURE__ */ H(z, {
|
|
1784
1792
|
className: "PsLegend-value",
|
|
1785
1793
|
variant: "caption",
|
|
1786
|
-
color: "text.secondary",
|
|
1787
|
-
sx: Z.value,
|
|
1794
|
+
sx: [{ color: "text.secondary" }, Z.value],
|
|
1788
1795
|
children: e.value
|
|
1789
1796
|
})
|
|
1790
1797
|
]
|
|
1791
1798
|
}, `${e.label}-${t}`), t[12] = d, t[13] = g, t[14] = m, t[15] = u, t[16] = l, t[17] = f, t[18] = e) : e = t[18], b = r.map(e), t[4] = d, t[5] = g, t[6] = m, t[7] = u, t[8] = r, t[9] = l, t[10] = f, t[11] = b;
|
|
1792
1799
|
} else b = t[11];
|
|
1793
1800
|
let x;
|
|
1794
|
-
return t[19] !== p || t[20] !== v || t[21] !== b ? (x = /* @__PURE__ */
|
|
1801
|
+
return t[19] !== p || t[20] !== v || t[21] !== b ? (x = /* @__PURE__ */ H(k, {
|
|
1795
1802
|
"data-orientation": p,
|
|
1796
1803
|
sx: v,
|
|
1797
1804
|
children: b
|
|
@@ -1871,39 +1878,39 @@ function Vt(t) {
|
|
|
1871
1878
|
let _ = `linear-gradient(90deg, ${g})`, v = !c && s.length === o.length + 1, b = !c && !v, x;
|
|
1872
1879
|
n[4] === s ? x = n[5] : (x = (e) => `${s[e]?.label ?? ""} – ${s[e + 1]?.label ?? ""}`, n[4] = s, n[5] = x);
|
|
1873
1880
|
let S = x, C;
|
|
1874
|
-
n[6] !== l || n[7] !== a ? (C = l && /* @__PURE__ */
|
|
1881
|
+
n[6] !== l || n[7] !== a ? (C = l && /* @__PURE__ */ U(k, {
|
|
1875
1882
|
sx: Q.attribute,
|
|
1876
|
-
children: [/* @__PURE__ */
|
|
1883
|
+
children: [/* @__PURE__ */ H(z, {
|
|
1877
1884
|
variant: "overline",
|
|
1878
|
-
color: "text.secondary",
|
|
1885
|
+
sx: { color: "text.secondary" },
|
|
1879
1886
|
children: a.colorBasedOn
|
|
1880
|
-
}), /* @__PURE__ */
|
|
1887
|
+
}), /* @__PURE__ */ H(z, {
|
|
1881
1888
|
variant: "caption",
|
|
1882
|
-
color: "text.primary",
|
|
1889
|
+
sx: { color: "text.primary" },
|
|
1883
1890
|
children: l
|
|
1884
1891
|
})]
|
|
1885
1892
|
}), n[6] = l, n[7] = a, n[8] = C) : C = n[8];
|
|
1886
1893
|
let w = C;
|
|
1887
1894
|
if (b) {
|
|
1888
1895
|
let e;
|
|
1889
|
-
n[9] === Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */
|
|
1896
|
+
n[9] === Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ H(re, { fontSize: "small" }), n[9] = e) : e = n[9];
|
|
1890
1897
|
let t = `Discrete ramp needs ${o.length + 1} stops (one per color boundary) but got ${s.length}.`, r;
|
|
1891
|
-
n[10] === t ? r = n[11] : (r = /* @__PURE__ */
|
|
1898
|
+
n[10] === t ? r = n[11] : (r = /* @__PURE__ */ U(k, {
|
|
1892
1899
|
sx: Q.error,
|
|
1893
|
-
children: [e, /* @__PURE__ */
|
|
1900
|
+
children: [e, /* @__PURE__ */ H(z, {
|
|
1894
1901
|
variant: "caption",
|
|
1895
1902
|
color: "error",
|
|
1896
1903
|
children: t
|
|
1897
1904
|
})]
|
|
1898
1905
|
}), n[10] = t, n[11] = r);
|
|
1899
1906
|
let i;
|
|
1900
|
-
return n[12] !== w || n[13] !== r ? (i = /* @__PURE__ */
|
|
1907
|
+
return n[12] !== w || n[13] !== r ? (i = /* @__PURE__ */ U(k, {
|
|
1901
1908
|
sx: Q.container,
|
|
1902
1909
|
children: [w, r]
|
|
1903
1910
|
}), n[12] = w, n[13] = r, n[14] = i) : i = n[14], i;
|
|
1904
1911
|
}
|
|
1905
1912
|
let T;
|
|
1906
|
-
n[15] !== o || n[16] !== _ || n[17] !== c || n[18] !== a || n[19] !== S ? (T = c ? /* @__PURE__ */
|
|
1913
|
+
n[15] !== o || n[16] !== _ || n[17] !== c || n[18] !== a || n[19] !== S ? (T = c ? /* @__PURE__ */ H(k, {
|
|
1907
1914
|
role: "img",
|
|
1908
1915
|
"aria-label": a.colorGradient,
|
|
1909
1916
|
sx: {
|
|
@@ -1911,7 +1918,7 @@ function Vt(t) {
|
|
|
1911
1918
|
height: "100%",
|
|
1912
1919
|
background: _
|
|
1913
1920
|
}
|
|
1914
|
-
}) : o.map((e, t) => /* @__PURE__ */
|
|
1921
|
+
}) : o.map((e, t) => /* @__PURE__ */ H(k, {
|
|
1915
1922
|
role: "img",
|
|
1916
1923
|
"aria-label": S(t),
|
|
1917
1924
|
sx: {
|
|
@@ -1920,55 +1927,54 @@ function Vt(t) {
|
|
|
1920
1927
|
}
|
|
1921
1928
|
}, t)), n[15] = o, n[16] = _, n[17] = c, n[18] = a, n[19] = S, n[20] = T) : T = n[20];
|
|
1922
1929
|
let E;
|
|
1923
|
-
n[21] === T ? E = n[22] : (E = /* @__PURE__ */
|
|
1930
|
+
n[21] === T ? E = n[22] : (E = /* @__PURE__ */ H(k, {
|
|
1924
1931
|
sx: Q.bar,
|
|
1925
1932
|
children: T
|
|
1926
1933
|
}), n[21] = T, n[22] = E);
|
|
1927
1934
|
let D;
|
|
1928
|
-
n[23] !== p || n[24] !== r.avg || n[25] !== d ? (D = p != null && r.avg != null && /* @__PURE__ */
|
|
1935
|
+
n[23] !== p || n[24] !== r.avg || n[25] !== d ? (D = p != null && r.avg != null && /* @__PURE__ */ H(e, {
|
|
1929
1936
|
title: d(r.avg),
|
|
1930
1937
|
placement: "top",
|
|
1931
1938
|
arrow: !0,
|
|
1932
|
-
children: /* @__PURE__ */
|
|
1939
|
+
children: /* @__PURE__ */ H(k, {
|
|
1933
1940
|
sx: Q.avgLine,
|
|
1934
1941
|
style: { left: `${p}%` }
|
|
1935
1942
|
})
|
|
1936
1943
|
}), n[23] = p, n[24] = r.avg, n[25] = d, n[26] = D) : D = n[26];
|
|
1937
1944
|
let O;
|
|
1938
|
-
n[27] !== E || n[28] !== D ? (O = /* @__PURE__ */
|
|
1945
|
+
n[27] !== E || n[28] !== D ? (O = /* @__PURE__ */ U(k, {
|
|
1939
1946
|
sx: Q.barWrap,
|
|
1940
1947
|
children: [E, D]
|
|
1941
1948
|
}), n[27] = E, n[28] = D, n[29] = O) : O = n[29];
|
|
1942
1949
|
let A;
|
|
1943
|
-
n[30] !== o.length || n[31] !== m?.label || n[32] !== v || n[33] !== h?.label || n[34] !== s ? (A = v ? /* @__PURE__ */
|
|
1950
|
+
n[30] !== o.length || n[31] !== m?.label || n[32] !== v || n[33] !== h?.label || n[34] !== s ? (A = v ? /* @__PURE__ */ H(k, {
|
|
1944
1951
|
sx: Q.boundaryLabels,
|
|
1945
1952
|
children: s.map((e, t) => {
|
|
1946
1953
|
let n = t === s.length - 1, r = t === 0 ? void 0 : n ? "translateX(-100%)" : "translateX(-50%)";
|
|
1947
|
-
return /* @__PURE__ */
|
|
1954
|
+
return /* @__PURE__ */ H(z, {
|
|
1948
1955
|
variant: "overline",
|
|
1949
|
-
color: "text.secondary",
|
|
1950
|
-
sx: Q.boundaryLabel,
|
|
1951
1956
|
style: {
|
|
1952
1957
|
left: `${t / o.length * 100}%`,
|
|
1953
1958
|
transform: r
|
|
1954
1959
|
},
|
|
1960
|
+
sx: [{ color: "text.secondary" }, Q.boundaryLabel],
|
|
1955
1961
|
children: e.label
|
|
1956
1962
|
}, `${e.label}-${t}`);
|
|
1957
1963
|
})
|
|
1958
|
-
}) : /* @__PURE__ */
|
|
1964
|
+
}) : /* @__PURE__ */ U(k, {
|
|
1959
1965
|
sx: Q.labels,
|
|
1960
|
-
children: [/* @__PURE__ */
|
|
1966
|
+
children: [/* @__PURE__ */ H(z, {
|
|
1961
1967
|
variant: "overline",
|
|
1962
|
-
color: "text.secondary",
|
|
1968
|
+
sx: { color: "text.secondary" },
|
|
1963
1969
|
children: m?.label
|
|
1964
|
-
}), /* @__PURE__ */
|
|
1970
|
+
}), /* @__PURE__ */ H(z, {
|
|
1965
1971
|
variant: "overline",
|
|
1966
|
-
color: "text.secondary",
|
|
1972
|
+
sx: { color: "text.secondary" },
|
|
1967
1973
|
children: h?.label
|
|
1968
1974
|
})]
|
|
1969
1975
|
}), n[30] = o.length, n[31] = m?.label, n[32] = v, n[33] = h?.label, n[34] = s, n[35] = A) : A = n[35];
|
|
1970
1976
|
let j;
|
|
1971
|
-
return n[36] !== w || n[37] !== O || n[38] !== A ? (j = /* @__PURE__ */
|
|
1977
|
+
return n[36] !== w || n[37] !== O || n[38] !== A ? (j = /* @__PURE__ */ U(k, {
|
|
1972
1978
|
sx: Q.container,
|
|
1973
1979
|
children: [
|
|
1974
1980
|
w,
|
|
@@ -2033,18 +2039,18 @@ function Jt(e) {
|
|
|
2033
2039
|
let e = Kt(n), r = e.length, o;
|
|
2034
2040
|
t[13] !== s || t[14] !== i || t[15] !== r ? (o = (e, t) => {
|
|
2035
2041
|
let n = s(e);
|
|
2036
|
-
return r <= 1 ? n : t === 0 ? /* @__PURE__ */
|
|
2042
|
+
return r <= 1 ? n : t === 0 ? /* @__PURE__ */ U(V, { children: [i.maxPrefix, n] }) : t === r - 1 ? /* @__PURE__ */ U(V, { children: [i.minPrefix, n] }) : n;
|
|
2037
2043
|
}, t[13] = s, t[14] = i, t[15] = r, t[16] = o) : o = t[16];
|
|
2038
2044
|
let _ = o;
|
|
2039
|
-
u = k, h = Ht.root, t[17] !== a || t[18] !== i ? (g = a && /* @__PURE__ */
|
|
2045
|
+
u = k, h = Ht.root, t[17] !== a || t[18] !== i ? (g = a && /* @__PURE__ */ U(k, {
|
|
2040
2046
|
sx: Ht.attribute,
|
|
2041
|
-
children: [/* @__PURE__ */
|
|
2047
|
+
children: [/* @__PURE__ */ H(z, {
|
|
2042
2048
|
variant: "overline",
|
|
2043
|
-
color: "text.secondary",
|
|
2049
|
+
sx: { color: "text.secondary" },
|
|
2044
2050
|
children: i.radiusRangeBy
|
|
2045
|
-
}), /* @__PURE__ */
|
|
2051
|
+
}), /* @__PURE__ */ H(z, {
|
|
2046
2052
|
variant: "caption",
|
|
2047
|
-
color: "text.primary",
|
|
2053
|
+
sx: { color: "text.primary" },
|
|
2048
2054
|
children: a
|
|
2049
2055
|
})]
|
|
2050
2056
|
}), t[17] = a, t[18] = i, t[19] = g) : g = t[19], l = k, p = Ht.body;
|
|
@@ -2057,7 +2063,7 @@ function Jt(e) {
|
|
|
2057
2063
|
let y;
|
|
2058
2064
|
t[21] === r ? y = t[22] : (y = (e, t) => {
|
|
2059
2065
|
let n = qt(t, r);
|
|
2060
|
-
return /* @__PURE__ */
|
|
2066
|
+
return /* @__PURE__ */ H(k, {
|
|
2061
2067
|
"aria-hidden": !0,
|
|
2062
2068
|
sx: {
|
|
2063
2069
|
...Ht.circle,
|
|
@@ -2065,7 +2071,7 @@ function Jt(e) {
|
|
|
2065
2071
|
height: n
|
|
2066
2072
|
}
|
|
2067
2073
|
}, t);
|
|
2068
|
-
}, t[21] = r, t[22] = y), m = /* @__PURE__ */
|
|
2074
|
+
}, t[21] = r, t[22] = y), m = /* @__PURE__ */ H(k, {
|
|
2069
2075
|
sx: v,
|
|
2070
2076
|
children: e.map(y)
|
|
2071
2077
|
}), c = k, t[23] === Symbol.for("react.memo_cache_sentinel") ? (d = {
|
|
@@ -2073,24 +2079,24 @@ function Jt(e) {
|
|
|
2073
2079
|
height: Ut
|
|
2074
2080
|
}, t[23] = d) : d = t[23];
|
|
2075
2081
|
let b;
|
|
2076
|
-
t[24] === _ ? b = t[25] : (b = (e, t) => /* @__PURE__ */
|
|
2082
|
+
t[24] === _ ? b = t[25] : (b = (e, t) => /* @__PURE__ */ H(z, {
|
|
2077
2083
|
variant: "caption",
|
|
2078
|
-
color: "text.secondary",
|
|
2084
|
+
sx: { color: "text.secondary" },
|
|
2079
2085
|
children: _(e, t)
|
|
2080
2086
|
}, t), t[24] = _, t[25] = b), f = e.map(b), t[0] = a, t[1] = n, t[2] = s, t[3] = i, t[4] = c, t[5] = l, t[6] = u, t[7] = d, t[8] = f, t[9] = p, t[10] = m, t[11] = h, t[12] = g;
|
|
2081
2087
|
} else c = t[4], l = t[5], u = t[6], d = t[7], f = t[8], p = t[9], m = t[10], h = t[11], g = t[12];
|
|
2082
2088
|
let _;
|
|
2083
|
-
t[26] !== c || t[27] !== d || t[28] !== f ? (_ = /* @__PURE__ */
|
|
2089
|
+
t[26] !== c || t[27] !== d || t[28] !== f ? (_ = /* @__PURE__ */ H(c, {
|
|
2084
2090
|
sx: d,
|
|
2085
2091
|
children: f
|
|
2086
2092
|
}), t[26] = c, t[27] = d, t[28] = f, t[29] = _) : _ = t[29];
|
|
2087
2093
|
let v;
|
|
2088
|
-
t[30] !== l || t[31] !== p || t[32] !== m || t[33] !== _ ? (v = /* @__PURE__ */
|
|
2094
|
+
t[30] !== l || t[31] !== p || t[32] !== m || t[33] !== _ ? (v = /* @__PURE__ */ U(l, {
|
|
2089
2095
|
sx: p,
|
|
2090
2096
|
children: [m, _]
|
|
2091
2097
|
}), t[30] = l, t[31] = p, t[32] = m, t[33] = _, t[34] = v) : v = t[34];
|
|
2092
2098
|
let b;
|
|
2093
|
-
return t[35] !== u || t[36] !== v || t[37] !== h || t[38] !== g ? (b = /* @__PURE__ */
|
|
2099
|
+
return t[35] !== u || t[36] !== v || t[37] !== h || t[38] !== g ? (b = /* @__PURE__ */ U(u, {
|
|
2094
2100
|
sx: h,
|
|
2095
2101
|
children: [g, v]
|
|
2096
2102
|
}), t[35] = u, t[36] = v, t[37] = h, t[38] = g, t[39] = b) : b = t[39], b;
|
|
@@ -2152,39 +2158,38 @@ function Yt(e) {
|
|
|
2152
2158
|
let s;
|
|
2153
2159
|
if (t[2] !== n.items || t[3] !== i) {
|
|
2154
2160
|
let e;
|
|
2155
|
-
t[5] === i ? e = t[6] : (e = (e, t) => /* @__PURE__ */
|
|
2161
|
+
t[5] === i ? e = t[6] : (e = (e, t) => /* @__PURE__ */ U(k, {
|
|
2156
2162
|
sx: {
|
|
2157
2163
|
...$.item,
|
|
2158
2164
|
...i ? $.itemHorizontal : null
|
|
2159
2165
|
},
|
|
2160
2166
|
children: [
|
|
2161
|
-
/* @__PURE__ */
|
|
2167
|
+
/* @__PURE__ */ H(k, {
|
|
2162
2168
|
component: "img",
|
|
2163
2169
|
src: e.icon,
|
|
2164
2170
|
alt: "",
|
|
2165
2171
|
sx: $.icon
|
|
2166
2172
|
}),
|
|
2167
|
-
/* @__PURE__ */
|
|
2173
|
+
/* @__PURE__ */ H(z, {
|
|
2168
2174
|
variant: "caption",
|
|
2169
|
-
color: "text.primary",
|
|
2170
2175
|
sx: {
|
|
2176
|
+
color: "text.primary",
|
|
2171
2177
|
...$.label,
|
|
2172
2178
|
...i ? $.labelHorizontal : null
|
|
2173
2179
|
},
|
|
2174
2180
|
children: e.label
|
|
2175
2181
|
}),
|
|
2176
|
-
e.value != null && /* @__PURE__ */
|
|
2182
|
+
e.value != null && /* @__PURE__ */ H(z, {
|
|
2177
2183
|
className: "PsLegend-value",
|
|
2178
2184
|
variant: "caption",
|
|
2179
|
-
color: "text.secondary",
|
|
2180
|
-
sx: $.value,
|
|
2185
|
+
sx: [{ color: "text.secondary" }, $.value],
|
|
2181
2186
|
children: e.value
|
|
2182
2187
|
})
|
|
2183
2188
|
]
|
|
2184
2189
|
}, `${e.label}-${t}`), t[5] = i, t[6] = e), s = n.items.map(e), t[2] = n.items, t[3] = i, t[4] = s;
|
|
2185
2190
|
} else s = t[4];
|
|
2186
2191
|
let c;
|
|
2187
|
-
return t[7] !== r || t[8] !== o || t[9] !== s ? (c = /* @__PURE__ */
|
|
2192
|
+
return t[7] !== r || t[8] !== o || t[9] !== s ? (c = /* @__PURE__ */ H(k, {
|
|
2188
2193
|
"data-orientation": r,
|
|
2189
2194
|
sx: o,
|
|
2190
2195
|
children: s
|
|
@@ -2197,25 +2202,25 @@ function Xt(e) {
|
|
|
2197
2202
|
switch (n.type) {
|
|
2198
2203
|
case "category": {
|
|
2199
2204
|
let e;
|
|
2200
|
-
return t[0] === n ? e = t[1] : (e = /* @__PURE__ */
|
|
2205
|
+
return t[0] === n ? e = t[1] : (e = /* @__PURE__ */ H(Rt, { data: n }), t[0] = n, t[1] = e), e;
|
|
2201
2206
|
}
|
|
2202
2207
|
case "ramp": {
|
|
2203
2208
|
let e;
|
|
2204
|
-
return t[2] !== n || t[3] !== r ? (e = /* @__PURE__ */
|
|
2209
|
+
return t[2] !== n || t[3] !== r ? (e = /* @__PURE__ */ H(Vt, {
|
|
2205
2210
|
data: n,
|
|
2206
2211
|
labels: r
|
|
2207
2212
|
}), t[2] = n, t[3] = r, t[4] = e) : e = t[4], e;
|
|
2208
2213
|
}
|
|
2209
2214
|
case "proportion": {
|
|
2210
2215
|
let e;
|
|
2211
|
-
return t[5] !== n || t[6] !== r ? (e = /* @__PURE__ */
|
|
2216
|
+
return t[5] !== n || t[6] !== r ? (e = /* @__PURE__ */ H(Jt, {
|
|
2212
2217
|
data: n,
|
|
2213
2218
|
labels: r
|
|
2214
2219
|
}), t[5] = n, t[6] = r, t[7] = e) : e = t[7], e;
|
|
2215
2220
|
}
|
|
2216
2221
|
case "icon": {
|
|
2217
2222
|
let e;
|
|
2218
|
-
return t[8] === n ? e = t[9] : (e = /* @__PURE__ */
|
|
2223
|
+
return t[8] === n ? e = t[9] : (e = /* @__PURE__ */ H(Yt, { data: n }), t[8] = n, t[9] = e), e;
|
|
2219
2224
|
}
|
|
2220
2225
|
default: return n;
|
|
2221
2226
|
}
|
|
@@ -2237,13 +2242,13 @@ function Qt() {
|
|
|
2237
2242
|
let s;
|
|
2238
2243
|
if (e[2] !== o || e[3] !== a) {
|
|
2239
2244
|
let t;
|
|
2240
|
-
e[5] === o ? t = e[6] : (t = (e, t) => /* @__PURE__ */
|
|
2245
|
+
e[5] === o ? t = e[6] : (t = (e, t) => /* @__PURE__ */ H(Xt, {
|
|
2241
2246
|
data: e,
|
|
2242
2247
|
labels: o
|
|
2243
2248
|
}, t), e[5] = o, e[6] = t), s = a.map(t), e[2] = o, e[3] = a, e[4] = s;
|
|
2244
2249
|
} else s = e[4];
|
|
2245
2250
|
let c;
|
|
2246
|
-
return e[7] === s ? c = e[8] : (c = /* @__PURE__ */
|
|
2251
|
+
return e[7] === s ? c = e[8] : (c = /* @__PURE__ */ H(k, {
|
|
2247
2252
|
sx: Zt.stack,
|
|
2248
2253
|
children: s
|
|
2249
2254
|
}), e[7] = s, e[8] = c), c;
|