@carto/meridian-ds 0.1.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/CHANGELOG.md +1 -0
- package/LICENSE +29 -0
- package/README.md +38 -0
- package/dist/Alert-Dd9Op7y8.js +4754 -0
- package/dist/Alert-l8e3Fw5e.cjs +4 -0
- package/dist/arrow-drop-icon-BGl72Unt.cjs +1 -0
- package/dist/arrow-drop-icon-CHxPlPIN.js +16 -0
- package/dist/components/index.cjs +1 -0
- package/dist/components/index.js +1249 -0
- package/dist/createSvgIcon-BhsoeSAN.cjs +68 -0
- package/dist/createSvgIcon-CcKa-Sbo.js +3929 -0
- package/dist/custom-icons/index.cjs +1 -0
- package/dist/custom-icons/index.js +60 -0
- package/dist/jsx-runtime-B6kdoens.js +634 -0
- package/dist/jsx-runtime-Cek9Ww4S.cjs +30 -0
- package/dist/paletteUtils-B489IFFw.js +320 -0
- package/dist/paletteUtils-DELR0VRh.cjs +3 -0
- package/dist/search-icon-DHF2JDWR.cjs +1 -0
- package/dist/search-icon-FnUa1LqH.js +38 -0
- package/dist/theme/index.cjs +76 -0
- package/dist/theme/index.js +3863 -0
- package/dist/types/components/atoms/Button.d.ts +7 -0
- package/dist/types/components/atoms/Button.d.ts.map +1 -0
- package/dist/types/components/atoms/LabelWithIndicator.d.ts +8 -0
- package/dist/types/components/atoms/LabelWithIndicator.d.ts.map +1 -0
- package/dist/types/components/atoms/PasswordField.d.ts +4 -0
- package/dist/types/components/atoms/PasswordField.d.ts.map +1 -0
- package/dist/types/components/atoms/SelectField.d.ts +15 -0
- package/dist/types/components/atoms/SelectField.d.ts.map +1 -0
- package/dist/types/components/atoms/ToggleButtonGroup.d.ts +7 -0
- package/dist/types/components/atoms/ToggleButtonGroup.d.ts.map +1 -0
- package/dist/types/components/atoms/Typography.d.ts +14 -0
- package/dist/types/components/atoms/Typography.d.ts.map +1 -0
- package/dist/types/components/atoms/index.d.ts +13 -0
- package/dist/types/components/atoms/index.d.ts.map +1 -0
- package/dist/types/components/index.d.ts +7 -0
- package/dist/types/components/index.d.ts.map +1 -0
- package/dist/types/components/molecules/AccordionGroup.d.ts +12 -0
- package/dist/types/components/molecules/AccordionGroup.d.ts.map +1 -0
- package/dist/types/components/molecules/Alert.d.ts +18 -0
- package/dist/types/components/molecules/Alert.d.ts.map +1 -0
- package/dist/types/components/molecules/Autocomplete.d.ts +19 -0
- package/dist/types/components/molecules/Autocomplete.d.ts.map +1 -0
- package/dist/types/components/molecules/Avatar.d.ts +6 -0
- package/dist/types/components/molecules/Avatar.d.ts.map +1 -0
- package/dist/types/components/molecules/Menu/Menu.d.ts +8 -0
- package/dist/types/components/molecules/Menu/Menu.d.ts.map +1 -0
- package/dist/types/components/molecules/Menu/MenuItem.d.ts +10 -0
- package/dist/types/components/molecules/Menu/MenuItem.d.ts.map +1 -0
- package/dist/types/components/molecules/Menu/MenuList.d.ts +8 -0
- package/dist/types/components/molecules/Menu/MenuList.d.ts.map +1 -0
- package/dist/types/components/molecules/Menu/index.d.ts +7 -0
- package/dist/types/components/molecules/Menu/index.d.ts.map +1 -0
- package/dist/types/components/molecules/MultipleSelectField/Filters.d.ts +9 -0
- package/dist/types/components/molecules/MultipleSelectField/Filters.d.ts.map +1 -0
- package/dist/types/components/molecules/MultipleSelectField/MultipleSelectField.d.ts +31 -0
- package/dist/types/components/molecules/MultipleSelectField/MultipleSelectField.d.ts.map +1 -0
- package/dist/types/components/molecules/MultipleSelectField/index.d.ts +3 -0
- package/dist/types/components/molecules/MultipleSelectField/index.d.ts.map +1 -0
- package/dist/types/components/molecules/MultipleSelectField/useMultipleSelectField.d.ts +11 -0
- package/dist/types/components/molecules/MultipleSelectField/useMultipleSelectField.d.ts.map +1 -0
- package/dist/types/components/molecules/Table/TablePaginationActions.d.ts +9 -0
- package/dist/types/components/molecules/Table/TablePaginationActions.d.ts.map +1 -0
- package/dist/types/components/molecules/Table/index.d.ts +3 -0
- package/dist/types/components/molecules/Table/index.d.ts.map +1 -0
- package/dist/types/components/molecules/UploadField/FilesAction.d.ts +13 -0
- package/dist/types/components/molecules/UploadField/FilesAction.d.ts.map +1 -0
- package/dist/types/components/molecules/UploadField/StyledUploadField.d.ts +8 -0
- package/dist/types/components/molecules/UploadField/StyledUploadField.d.ts.map +1 -0
- package/dist/types/components/molecules/UploadField/UploadField.d.ts +15 -0
- package/dist/types/components/molecules/UploadField/UploadField.d.ts.map +1 -0
- package/dist/types/components/molecules/UploadField/UploadFieldBase.d.ts +17 -0
- package/dist/types/components/molecules/UploadField/UploadFieldBase.d.ts.map +1 -0
- package/dist/types/components/molecules/UploadField/index.d.ts +5 -0
- package/dist/types/components/molecules/UploadField/index.d.ts.map +1 -0
- package/dist/types/components/molecules/UploadField/useFileUpload.d.ts +19 -0
- package/dist/types/components/molecules/UploadField/useFileUpload.d.ts.map +1 -0
- package/dist/types/components/molecules/index.d.ts +17 -0
- package/dist/types/components/molecules/index.d.ts.map +1 -0
- package/dist/types/components/organisms/AppBar/AppBar.d.ts +11 -0
- package/dist/types/components/organisms/AppBar/AppBar.d.ts.map +1 -0
- package/dist/types/components/organisms/AppBar/BrandLogo.d.ts +4 -0
- package/dist/types/components/organisms/AppBar/BrandLogo.d.ts.map +1 -0
- package/dist/types/components/organisms/AppBar/BrandText.d.ts +4 -0
- package/dist/types/components/organisms/AppBar/BrandText.d.ts.map +1 -0
- package/dist/types/components/organisms/AppBar/BurgerMenu.d.ts +4 -0
- package/dist/types/components/organisms/AppBar/BurgerMenu.d.ts.map +1 -0
- package/dist/types/components/organisms/AppBar/SecondaryText.d.ts +4 -0
- package/dist/types/components/organisms/AppBar/SecondaryText.d.ts.map +1 -0
- package/dist/types/components/organisms/AppBar/index.d.ts +3 -0
- package/dist/types/components/organisms/AppBar/index.d.ts.map +1 -0
- package/dist/types/components/organisms/TooltipData.d.ts +12 -0
- package/dist/types/components/organisms/TooltipData.d.ts.map +1 -0
- package/dist/types/components/organisms/index.d.ts +5 -0
- package/dist/types/components/organisms/index.d.ts.map +1 -0
- package/dist/types/custom-icons/arrow-drop-icon.d.ts +3 -0
- package/dist/types/custom-icons/arrow-drop-icon.d.ts.map +1 -0
- package/dist/types/custom-icons/circle-icon.d.ts +3 -0
- package/dist/types/custom-icons/circle-icon.d.ts.map +1 -0
- package/dist/types/custom-icons/cursor-icon.d.ts +3 -0
- package/dist/types/custom-icons/cursor-icon.d.ts.map +1 -0
- package/dist/types/custom-icons/graph-line-icon.d.ts +3 -0
- package/dist/types/custom-icons/graph-line-icon.d.ts.map +1 -0
- package/dist/types/custom-icons/index.d.ts +12 -0
- package/dist/types/custom-icons/index.d.ts.map +1 -0
- package/dist/types/custom-icons/lasso-icon.d.ts +3 -0
- package/dist/types/custom-icons/lasso-icon.d.ts.map +1 -0
- package/dist/types/custom-icons/layer-icon.d.ts +3 -0
- package/dist/types/custom-icons/layer-icon.d.ts.map +1 -0
- package/dist/types/custom-icons/opacity-icon.d.ts +3 -0
- package/dist/types/custom-icons/opacity-icon.d.ts.map +1 -0
- package/dist/types/custom-icons/polygon-icon.d.ts +3 -0
- package/dist/types/custom-icons/polygon-icon.d.ts.map +1 -0
- package/dist/types/custom-icons/rectangle-icon.d.ts +3 -0
- package/dist/types/custom-icons/rectangle-icon.d.ts.map +1 -0
- package/dist/types/custom-icons/search-icon.d.ts +3 -0
- package/dist/types/custom-icons/search-icon.d.ts.map +1 -0
- package/dist/types/custom-icons/upload-icon.d.ts +3 -0
- package/dist/types/custom-icons/upload-icon.d.ts.map +1 -0
- package/dist/types/hooks/useImperativeIntl.d.ts +3 -0
- package/dist/types/hooks/useImperativeIntl.d.ts.map +1 -0
- package/dist/types/hooks/usePrevious.d.ts +2 -0
- package/dist/types/hooks/usePrevious.d.ts.map +1 -0
- package/dist/types/hooks/useSkeleton.d.ts +5 -0
- package/dist/types/hooks/useSkeleton.d.ts.map +1 -0
- package/dist/types/localization/en.d.ts +120 -0
- package/dist/types/localization/en.d.ts.map +1 -0
- package/dist/types/localization/es.d.ts +118 -0
- package/dist/types/localization/es.d.ts.map +1 -0
- package/dist/types/localization/id.d.ts +120 -0
- package/dist/types/localization/id.d.ts.map +1 -0
- package/dist/types/localization/index.d.ts +355 -0
- package/dist/types/localization/index.d.ts.map +1 -0
- package/dist/types/theme/carto-theme.d.ts +4077 -0
- package/dist/types/theme/carto-theme.d.ts.map +1 -0
- package/dist/types/theme/index.d.ts +5 -0
- package/dist/types/theme/index.d.ts.map +1 -0
- package/dist/types/theme/sections/components/buttons.d.ts +3 -0
- package/dist/types/theme/sections/components/buttons.d.ts.map +1 -0
- package/dist/types/theme/sections/components/data-display.d.ts +4 -0
- package/dist/types/theme/sections/components/data-display.d.ts.map +1 -0
- package/dist/types/theme/sections/components/feedback.d.ts +3 -0
- package/dist/types/theme/sections/components/feedback.d.ts.map +1 -0
- package/dist/types/theme/sections/components/forms.d.ts +3 -0
- package/dist/types/theme/sections/components/forms.d.ts.map +1 -0
- package/dist/types/theme/sections/components/navigation.d.ts +3 -0
- package/dist/types/theme/sections/components/navigation.d.ts.map +1 -0
- package/dist/types/theme/sections/components/surfaces.d.ts +3 -0
- package/dist/types/theme/sections/components/surfaces.d.ts.map +1 -0
- package/dist/types/theme/sections/css-baseline.d.ts +905 -0
- package/dist/types/theme/sections/css-baseline.d.ts.map +1 -0
- package/dist/types/theme/sections/palette.d.ts +4 -0
- package/dist/types/theme/sections/palette.d.ts.map +1 -0
- package/dist/types/theme/sections/shadows.d.ts +3 -0
- package/dist/types/theme/sections/shadows.d.ts.map +1 -0
- package/dist/types/theme/sections/typography.d.ts +1706 -0
- package/dist/types/theme/sections/typography.d.ts.map +1 -0
- package/dist/types/theme/theme-constants.d.ts +14 -0
- package/dist/types/theme/theme-constants.d.ts.map +1 -0
- package/dist/types/theme/theme-utils.d.ts +2 -0
- package/dist/types/theme/theme-utils.d.ts.map +1 -0
- package/dist/types/theme/types.d.ts +99 -0
- package/dist/types/theme/types.d.ts.map +1 -0
- package/dist/types/utils/animationUtils.d.ts +30 -0
- package/dist/types/utils/animationUtils.d.ts.map +1 -0
- package/dist/types/utils/chartConstants.d.ts +7 -0
- package/dist/types/utils/chartConstants.d.ts.map +1 -0
- package/dist/types/utils/detectTouchScreen.d.ts +2 -0
- package/dist/types/utils/detectTouchScreen.d.ts.map +1 -0
- package/dist/types/utils/formatterUtils.d.ts +18 -0
- package/dist/types/utils/formatterUtils.d.ts.map +1 -0
- package/dist/types/utils/legendUtils.d.ts +99 -0
- package/dist/types/utils/legendUtils.d.ts.map +1 -0
- package/dist/types/utils/localeUtils.d.ts +7 -0
- package/dist/types/utils/localeUtils.d.ts.map +1 -0
- package/dist/types/utils/paletteUtils.d.ts +25 -0
- package/dist/types/utils/paletteUtils.d.ts.map +1 -0
- package/dist/types/utils/uniqueId.d.ts +19 -0
- package/dist/types/utils/uniqueId.d.ts.map +1 -0
- package/dist/types/widgets/BarWidgetUI/BarSkeleton.d.ts +4 -0
- package/dist/types/widgets/BarWidgetUI/BarSkeleton.d.ts.map +1 -0
- package/dist/types/widgets/BarWidgetUI/BarWidgetUI.d.ts +33 -0
- package/dist/types/widgets/BarWidgetUI/BarWidgetUI.d.ts.map +1 -0
- package/dist/types/widgets/BarWidgetUI/useProcessedProps.d.ts +22 -0
- package/dist/types/widgets/BarWidgetUI/useProcessedProps.d.ts.map +1 -0
- package/dist/types/widgets/CategoryWidgetUI/CategorySkeleton.d.ts +3 -0
- package/dist/types/widgets/CategoryWidgetUI/CategorySkeleton.d.ts.map +1 -0
- package/dist/types/widgets/CategoryWidgetUI/CategoryWidgetUI.d.ts +25 -0
- package/dist/types/widgets/CategoryWidgetUI/CategoryWidgetUI.d.ts.map +1 -0
- package/dist/types/widgets/CategoryWidgetUI/CategoryWidgetUI.styled.d.ts +37 -0
- package/dist/types/widgets/CategoryWidgetUI/CategoryWidgetUI.styled.d.ts.map +1 -0
- package/dist/types/widgets/ChartLegend.d.ts +10 -0
- package/dist/types/widgets/ChartLegend.d.ts.map +1 -0
- package/dist/types/widgets/FeatureSelectionWidgetUI/FeatureSelectionUIDropdown.d.ts +18 -0
- package/dist/types/widgets/FeatureSelectionWidgetUI/FeatureSelectionUIDropdown.d.ts.map +1 -0
- package/dist/types/widgets/FeatureSelectionWidgetUI/FeatureSelectionUIGeometryChips.d.ts +17 -0
- package/dist/types/widgets/FeatureSelectionWidgetUI/FeatureSelectionUIGeometryChips.d.ts.map +1 -0
- package/dist/types/widgets/FeatureSelectionWidgetUI/FeatureSelectionUIToggleButton.d.ts +15 -0
- package/dist/types/widgets/FeatureSelectionWidgetUI/FeatureSelectionUIToggleButton.d.ts.map +1 -0
- package/dist/types/widgets/FeatureSelectionWidgetUI/FeatureSelectionWidgetUI.d.ts +27 -0
- package/dist/types/widgets/FeatureSelectionWidgetUI/FeatureSelectionWidgetUI.d.ts.map +1 -0
- package/dist/types/widgets/FeatureSelectionWidgetUI/index.d.ts +9 -0
- package/dist/types/widgets/FeatureSelectionWidgetUI/index.d.ts.map +1 -0
- package/dist/types/widgets/FormulaWidgetUI/FormulaSkeleton.d.ts +3 -0
- package/dist/types/widgets/FormulaWidgetUI/FormulaSkeleton.d.ts.map +1 -0
- package/dist/types/widgets/FormulaWidgetUI/FormulaWidgetUI.d.ts +16 -0
- package/dist/types/widgets/FormulaWidgetUI/FormulaWidgetUI.d.ts.map +1 -0
- package/dist/types/widgets/HistogramWidgetUI/HistogramSkeleton.d.ts +6 -0
- package/dist/types/widgets/HistogramWidgetUI/HistogramSkeleton.d.ts.map +1 -0
- package/dist/types/widgets/HistogramWidgetUI/HistogramWidgetUI.d.ts +27 -0
- package/dist/types/widgets/HistogramWidgetUI/HistogramWidgetUI.d.ts.map +1 -0
- package/dist/types/widgets/HistogramWidgetUI/useHistogramInteractivity.d.ts +20 -0
- package/dist/types/widgets/HistogramWidgetUI/useHistogramInteractivity.d.ts.map +1 -0
- package/dist/types/widgets/NoDataAlert.d.ts +6 -0
- package/dist/types/widgets/NoDataAlert.d.ts.map +1 -0
- package/dist/types/widgets/PieWidgetUI/PieCentralText.d.ts +11 -0
- package/dist/types/widgets/PieWidgetUI/PieCentralText.d.ts.map +1 -0
- package/dist/types/widgets/PieWidgetUI/PieSkeleton.d.ts +4 -0
- package/dist/types/widgets/PieWidgetUI/PieSkeleton.d.ts.map +1 -0
- package/dist/types/widgets/PieWidgetUI/PieWidgetUI.d.ts +31 -0
- package/dist/types/widgets/PieWidgetUI/PieWidgetUI.d.ts.map +1 -0
- package/dist/types/widgets/PieWidgetUI/usePieCategories.d.ts +16 -0
- package/dist/types/widgets/PieWidgetUI/usePieCategories.d.ts.map +1 -0
- package/dist/types/widgets/RangeWidgetUI/RangeSkeleton.d.ts +2 -0
- package/dist/types/widgets/RangeWidgetUI/RangeSkeleton.d.ts.map +1 -0
- package/dist/types/widgets/RangeWidgetUI/RangeWidgetUI.d.ts +16 -0
- package/dist/types/widgets/RangeWidgetUI/RangeWidgetUI.d.ts.map +1 -0
- package/dist/types/widgets/ReactEcharts.d.ts +8 -0
- package/dist/types/widgets/ReactEcharts.d.ts.map +1 -0
- package/dist/types/widgets/ScatterPlotWidgetUI/ScatterPlotSkeleton.d.ts +4 -0
- package/dist/types/widgets/ScatterPlotWidgetUI/ScatterPlotSkeleton.d.ts.map +1 -0
- package/dist/types/widgets/ScatterPlotWidgetUI/ScatterPlotWidgetUI.d.ts +16 -0
- package/dist/types/widgets/ScatterPlotWidgetUI/ScatterPlotWidgetUI.d.ts.map +1 -0
- package/dist/types/widgets/SkeletonWidgets.d.ts +20 -0
- package/dist/types/widgets/SkeletonWidgets.d.ts.map +1 -0
- package/dist/types/widgets/TableWidgetUI/TableSkeleton.d.ts +7 -0
- package/dist/types/widgets/TableWidgetUI/TableSkeleton.d.ts.map +1 -0
- package/dist/types/widgets/TableWidgetUI/TableSkeletonRow.d.ts +6 -0
- package/dist/types/widgets/TableWidgetUI/TableSkeletonRow.d.ts.map +1 -0
- package/dist/types/widgets/TableWidgetUI/TableWidgetUI.d.ts +30 -0
- package/dist/types/widgets/TableWidgetUI/TableWidgetUI.d.ts.map +1 -0
- package/dist/types/widgets/TimeSeriesWidgetUI/TimeSeriesContext.d.ts +21 -0
- package/dist/types/widgets/TimeSeriesWidgetUI/TimeSeriesContext.d.ts.map +1 -0
- package/dist/types/widgets/TimeSeriesWidgetUI/TimeSeriesWidgetUI.d.ts +4 -0
- package/dist/types/widgets/TimeSeriesWidgetUI/TimeSeriesWidgetUI.d.ts.map +1 -0
- package/dist/types/widgets/TimeSeriesWidgetUI/components/TimeSeriesChart.d.ts +14 -0
- package/dist/types/widgets/TimeSeriesWidgetUI/components/TimeSeriesChart.d.ts.map +1 -0
- package/dist/types/widgets/TimeSeriesWidgetUI/components/TimeSeriesControls.d.ts +3 -0
- package/dist/types/widgets/TimeSeriesWidgetUI/components/TimeSeriesControls.d.ts.map +1 -0
- package/dist/types/widgets/TimeSeriesWidgetUI/components/TimeSeriesLayout.d.ts +8 -0
- package/dist/types/widgets/TimeSeriesWidgetUI/components/TimeSeriesLayout.d.ts.map +1 -0
- package/dist/types/widgets/TimeSeriesWidgetUI/components/TimeSeriesSkeleton.d.ts +4 -0
- package/dist/types/widgets/TimeSeriesWidgetUI/components/TimeSeriesSkeleton.d.ts.map +1 -0
- package/dist/types/widgets/TimeSeriesWidgetUI/index.d.ts +9 -0
- package/dist/types/widgets/TimeSeriesWidgetUI/index.d.ts.map +1 -0
- package/dist/types/widgets/TimeSeriesWidgetUI/timeSeriesUtils.d.ts +99 -0
- package/dist/types/widgets/TimeSeriesWidgetUI/timeSeriesUtils.d.ts.map +1 -0
- package/dist/types/widgets/TimeSeriesWidgetUI/useTimeSeriesInteractivity.d.ts +43 -0
- package/dist/types/widgets/TimeSeriesWidgetUI/useTimeSeriesInteractivity.d.ts.map +1 -0
- package/dist/types/widgets/WrapperWidgetUI.d.ts +36 -0
- package/dist/types/widgets/WrapperWidgetUI.d.ts.map +1 -0
- package/dist/types/widgets/comparative/AnimatedNumber/AnimatedNumber.d.ts +9 -0
- package/dist/types/widgets/comparative/AnimatedNumber/AnimatedNumber.d.ts.map +1 -0
- package/dist/types/widgets/comparative/AnimatedNumber/useAnimatedNumber.d.ts +11 -0
- package/dist/types/widgets/comparative/AnimatedNumber/useAnimatedNumber.d.ts.map +1 -0
- package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/ComparativeCategoryItem.d.ts +17 -0
- package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/ComparativeCategoryItem.d.ts.map +1 -0
- package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/ComparativeCategoryWidgetUI.d.ts +23 -0
- package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/ComparativeCategoryWidgetUI.d.ts.map +1 -0
- package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/ComparativeCategoryWidgetUI.styled.d.ts +45 -0
- package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/ComparativeCategoryWidgetUI.styled.d.ts.map +1 -0
- package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/transposeCategoryData.d.ts +20 -0
- package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/transposeCategoryData.d.ts.map +1 -0
- package/dist/types/widgets/comparative/ComparativeFormulaWidgetUI/ComparativeFormulaWidgetUI.d.ts +21 -0
- package/dist/types/widgets/comparative/ComparativeFormulaWidgetUI/ComparativeFormulaWidgetUI.d.ts.map +1 -0
- package/dist/types/widgets/comparative/ComparativeFormulaWidgetUI/FormulaLabel.d.ts +5 -0
- package/dist/types/widgets/comparative/ComparativeFormulaWidgetUI/FormulaLabel.d.ts.map +1 -0
- package/dist/types/widgets/comparative/ComparativeFormulaWidgetUI/FormulaValue.d.ts +10 -0
- package/dist/types/widgets/comparative/ComparativeFormulaWidgetUI/FormulaValue.d.ts.map +1 -0
- package/dist/types/widgets/comparative/ComparativePieWidgetUI.d.ts +22 -0
- package/dist/types/widgets/comparative/ComparativePieWidgetUI.d.ts.map +1 -0
- package/dist/types/widgets/index.d.ts +33 -0
- package/dist/types/widgets/index.d.ts.map +1 -0
- package/dist/types/widgets/legend/LegendLayer.d.ts +37 -0
- package/dist/types/widgets/legend/LegendLayer.d.ts.map +1 -0
- package/dist/types/widgets/legend/LegendLayerTitle.d.ts +8 -0
- package/dist/types/widgets/legend/LegendLayerTitle.d.ts.map +1 -0
- package/dist/types/widgets/legend/LegendLayerVariable.d.ts +9 -0
- package/dist/types/widgets/legend/LegendLayerVariable.d.ts.map +1 -0
- package/dist/types/widgets/legend/LegendOpacityControl.d.ts +14 -0
- package/dist/types/widgets/legend/LegendOpacityControl.d.ts.map +1 -0
- package/dist/types/widgets/legend/LegendWidgetUI.d.ts +48 -0
- package/dist/types/widgets/legend/LegendWidgetUI.d.ts.map +1 -0
- package/dist/types/widgets/legend/LegendWidgetUI.styles.d.ts +31 -0
- package/dist/types/widgets/legend/LegendWidgetUI.styles.d.ts.map +1 -0
- package/dist/types/widgets/legend/index.d.ts +7 -0
- package/dist/types/widgets/legend/index.d.ts.map +1 -0
- package/dist/types/widgets/legend/legend-types/LegendCategories.d.ts +6 -0
- package/dist/types/widgets/legend/legend-types/LegendCategories.d.ts.map +1 -0
- package/dist/types/widgets/legend/legend-types/LegendIcon.d.ts +6 -0
- package/dist/types/widgets/legend/legend-types/LegendIcon.d.ts.map +1 -0
- package/dist/types/widgets/legend/legend-types/LegendProportion.d.ts +9 -0
- package/dist/types/widgets/legend/legend-types/LegendProportion.d.ts.map +1 -0
- package/dist/types/widgets/legend/legend-types/LegendRamp.d.ts +7 -0
- package/dist/types/widgets/legend/legend-types/LegendRamp.d.ts.map +1 -0
- package/dist/types/widgets/legend/legend-types/index.d.ts +9 -0
- package/dist/types/widgets/legend/legend-types/index.d.ts.map +1 -0
- package/dist/widgets/index.cjs +33 -0
- package/dist/widgets/index.js +5865 -0
- package/package.json +156 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../../../src/theme/sections/typography.ts"],"names":[],"mappings":"AAiJA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAG3B,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare const SPACING = 8;
|
|
2
|
+
export declare const BREAKPOINTS: {
|
|
3
|
+
XS: number;
|
|
4
|
+
SM: number;
|
|
5
|
+
MD: number;
|
|
6
|
+
LG: number;
|
|
7
|
+
XL: number;
|
|
8
|
+
};
|
|
9
|
+
export declare const getSpacing: import('@mui/system').Spacing;
|
|
10
|
+
export declare const ICON_SIZE_SMALL: string;
|
|
11
|
+
export declare const ICON_SIZE_MEDIUM: string;
|
|
12
|
+
export declare const ICON_SIZE_LARGE: string;
|
|
13
|
+
export declare const APPBAR_SIZE: string;
|
|
14
|
+
//# sourceMappingURL=theme-constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme-constants.d.ts","sourceRoot":"","sources":["../../../src/theme/theme-constants.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,IAAI,CAAA;AAGxB,eAAO,MAAM,WAAW;;;;;;CAMvB,CAAA;AAGD,eAAO,MAAM,UAAU,+BAAyB,CAAA;AAGhD,eAAO,MAAM,eAAe,QAAkB,CAAA;AAC9C,eAAO,MAAM,gBAAgB,QAAmB,CAAA;AAChD,eAAO,MAAM,eAAe,QAAgB,CAAA;AAG5C,eAAO,MAAM,WAAW,QAAgB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme-utils.d.ts","sourceRoot":"","sources":["../../../src/theme/theme-utils.ts"],"names":[],"mappings":"AACA,wBAAgB,aAAa,CAAC,EAAE,EAAE,MAAM,UAKvC"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { PaletteColor } from '@mui/material';
|
|
2
|
+
type Modify<T, R> = Omit<T, keyof R> & R;
|
|
3
|
+
type CustomDefaultPaletteColor = Modify<PaletteColor, {
|
|
4
|
+
background: string;
|
|
5
|
+
outlinedBorder: string;
|
|
6
|
+
}>;
|
|
7
|
+
interface CustomBrandPaletteColor {
|
|
8
|
+
navyBlue: string;
|
|
9
|
+
locationRed: string;
|
|
10
|
+
predictionBlue: string;
|
|
11
|
+
softBlue: string;
|
|
12
|
+
appBarMain: string;
|
|
13
|
+
appBarContrastText: string;
|
|
14
|
+
}
|
|
15
|
+
interface CustomShadesPaletteColor {
|
|
16
|
+
90: string;
|
|
17
|
+
60: string;
|
|
18
|
+
40: string;
|
|
19
|
+
25: string;
|
|
20
|
+
12: string;
|
|
21
|
+
8: string;
|
|
22
|
+
4: string;
|
|
23
|
+
}
|
|
24
|
+
interface QualitativeColors {
|
|
25
|
+
bold: Record<number, string>;
|
|
26
|
+
}
|
|
27
|
+
declare module '@mui/material/styles' {
|
|
28
|
+
interface PaletteColor {
|
|
29
|
+
relatedLight: string;
|
|
30
|
+
relatedDark: string;
|
|
31
|
+
background: string;
|
|
32
|
+
}
|
|
33
|
+
interface Palette {
|
|
34
|
+
white: CustomShadesPaletteColor;
|
|
35
|
+
black: CustomShadesPaletteColor;
|
|
36
|
+
brand: CustomBrandPaletteColor;
|
|
37
|
+
default: CustomDefaultPaletteColor;
|
|
38
|
+
qualitative: QualitativeColors;
|
|
39
|
+
}
|
|
40
|
+
interface SimplePaletteColorOptions {
|
|
41
|
+
relatedLight?: string;
|
|
42
|
+
relatedDark?: string;
|
|
43
|
+
background?: string;
|
|
44
|
+
}
|
|
45
|
+
interface PaletteOptions {
|
|
46
|
+
white?: CustomShadesPaletteColor;
|
|
47
|
+
black?: CustomShadesPaletteColor;
|
|
48
|
+
brand?: CustomBrandPaletteColor;
|
|
49
|
+
default?: CustomDefaultPaletteColor;
|
|
50
|
+
qualitative?: QualitativeColors;
|
|
51
|
+
}
|
|
52
|
+
interface TypeText {
|
|
53
|
+
hint: string;
|
|
54
|
+
}
|
|
55
|
+
interface TypographyVariants {
|
|
56
|
+
lineHeight: number;
|
|
57
|
+
fontSmoothing: string;
|
|
58
|
+
overlineDelicate: React.CSSProperties;
|
|
59
|
+
code1: React.CSSProperties;
|
|
60
|
+
code2: React.CSSProperties;
|
|
61
|
+
code3: React.CSSProperties;
|
|
62
|
+
}
|
|
63
|
+
interface TypographyVariantsOptions {
|
|
64
|
+
overlineDelicate?: React.CSSProperties;
|
|
65
|
+
code1?: React.CSSProperties;
|
|
66
|
+
code2?: React.CSSProperties;
|
|
67
|
+
code3?: React.CSSProperties;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
declare module '@mui/material/Typography' {
|
|
71
|
+
interface TypographyPropsVariantOverrides {
|
|
72
|
+
overlineDelicate: true;
|
|
73
|
+
code1: true;
|
|
74
|
+
code2: true;
|
|
75
|
+
code3: true;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
declare module '@mui/material/Button' {
|
|
79
|
+
interface ButtonPropsColorOverrides {
|
|
80
|
+
default: true;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
declare module '@mui/material/ButtonGroup' {
|
|
84
|
+
interface ButtonGroupPropsColorOverrides {
|
|
85
|
+
default: true;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
declare module '@mui/material/IconButton' {
|
|
89
|
+
interface IconButtonPropsSizeOverrides {
|
|
90
|
+
xsmall: true;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
declare module '@mui/material/Fab' {
|
|
94
|
+
interface FabPropsColorOverrides {
|
|
95
|
+
default: true;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
export {};
|
|
99
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/theme/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAE5C,KAAK,MAAM,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,CAAA;AAExC,KAAK,yBAAyB,GAAG,MAAM,CACrC,YAAY,EACZ;IACE,UAAU,EAAE,MAAM,CAAA;IAClB,cAAc,EAAE,MAAM,CAAA;CACvB,CACF,CAAA;AAED,UAAU,uBAAuB;IAC/B,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,MAAM,CAAA;IACnB,cAAc,EAAE,MAAM,CAAA;IACtB,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;IAClB,kBAAkB,EAAE,MAAM,CAAA;CAC3B;AAED,UAAU,wBAAwB;IAChC,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,EAAE,MAAM,CAAA;IACV,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;CACV;AAED,UAAU,iBAAiB;IACzB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAC7B;AAMD,OAAO,QAAQ,sBAAsB,CAAC;IAEpC,UAAU,YAAY;QACpB,YAAY,EAAE,MAAM,CAAA;QACpB,WAAW,EAAE,MAAM,CAAA;QACnB,UAAU,EAAE,MAAM,CAAA;KACnB;IAED,UAAU,OAAO;QACf,KAAK,EAAE,wBAAwB,CAAA;QAC/B,KAAK,EAAE,wBAAwB,CAAA;QAC/B,KAAK,EAAE,uBAAuB,CAAA;QAC9B,OAAO,EAAE,yBAAyB,CAAA;QAClC,WAAW,EAAE,iBAAiB,CAAA;KAC/B;IAED,UAAU,yBAAyB;QACjC,YAAY,CAAC,EAAE,MAAM,CAAA;QACrB,WAAW,CAAC,EAAE,MAAM,CAAA;QACpB,UAAU,CAAC,EAAE,MAAM,CAAA;KACpB;IAED,UAAU,cAAc;QACtB,KAAK,CAAC,EAAE,wBAAwB,CAAA;QAChC,KAAK,CAAC,EAAE,wBAAwB,CAAA;QAChC,KAAK,CAAC,EAAE,uBAAuB,CAAA;QAC/B,OAAO,CAAC,EAAE,yBAAyB,CAAA;QACnC,WAAW,CAAC,EAAE,iBAAiB,CAAA;KAChC;IAED,UAAU,QAAQ;QAChB,IAAI,EAAE,MAAM,CAAA;KACb;IAED,UAAU,kBAAkB;QAC1B,UAAU,EAAE,MAAM,CAAA;QAClB,aAAa,EAAE,MAAM,CAAA;QACrB,gBAAgB,EAAE,KAAK,CAAC,aAAa,CAAA;QACrC,KAAK,EAAE,KAAK,CAAC,aAAa,CAAA;QAC1B,KAAK,EAAE,KAAK,CAAC,aAAa,CAAA;QAC1B,KAAK,EAAE,KAAK,CAAC,aAAa,CAAA;KAC3B;IAED,UAAU,yBAAyB;QACjC,gBAAgB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;QACtC,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;QAC3B,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;QAC3B,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;KAC5B;CACF;AAGD,OAAO,QAAQ,0BAA0B,CAAC;IACxC,UAAU,+BAA+B;QACvC,gBAAgB,EAAE,IAAI,CAAA;QACtB,KAAK,EAAE,IAAI,CAAA;QACX,KAAK,EAAE,IAAI,CAAA;QACX,KAAK,EAAE,IAAI,CAAA;KACZ;CACF;AAGD,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,yBAAyB;QACjC,OAAO,EAAE,IAAI,CAAA;KACd;CACF;AAED,OAAO,QAAQ,2BAA2B,CAAC;IACzC,UAAU,8BAA8B;QACtC,OAAO,EAAE,IAAI,CAAA;KACd;CACF;AAGD,OAAO,QAAQ,0BAA0B,CAAC;IACxC,UAAU,4BAA4B;QACpC,MAAM,EAAE,IAAI,CAAA;KACb;CACF;AAGD,OAAO,QAAQ,mBAAmB,CAAC;IACjC,UAAU,sBAAsB;QAC9B,OAAO,EAAE,IAAI,CAAA;KACd;CACF"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Animate one value from start to end, storing the current request in requestRef hook
|
|
3
|
+
*/
|
|
4
|
+
export declare function animateValue({ start, end, duration, drawFrame, requestRef, }: {
|
|
5
|
+
start: number;
|
|
6
|
+
end: number;
|
|
7
|
+
duration: number;
|
|
8
|
+
drawFrame: (val: number) => void;
|
|
9
|
+
requestRef: React.MutableRefObject<number | null>;
|
|
10
|
+
}): void;
|
|
11
|
+
/**
|
|
12
|
+
* Animate a series of values from start to end, storing the current request in requestRef hook
|
|
13
|
+
*/
|
|
14
|
+
export declare function animateValues({ start, end, duration, drawFrame, requestRef, }: {
|
|
15
|
+
start: {
|
|
16
|
+
name: unknown;
|
|
17
|
+
value: number;
|
|
18
|
+
}[];
|
|
19
|
+
end: {
|
|
20
|
+
name: unknown;
|
|
21
|
+
value: number;
|
|
22
|
+
}[];
|
|
23
|
+
duration: number;
|
|
24
|
+
drawFrame: (val: {
|
|
25
|
+
name: unknown;
|
|
26
|
+
value: number;
|
|
27
|
+
}[]) => void;
|
|
28
|
+
requestRef: React.MutableRefObject<number | null>;
|
|
29
|
+
}): void;
|
|
30
|
+
//# sourceMappingURL=animationUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"animationUtils.d.ts","sourceRoot":"","sources":["../../../src/utils/animationUtils.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,GAAG,EACH,QAAQ,EACR,SAAS,EACT,UAAU,GACX,EAAE;IACD,KAAK,EAAE,MAAM,CAAA;IACb,GAAG,EAAE,MAAM,CAAA;IACX,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAA;IAChC,UAAU,EAAE,KAAK,CAAC,gBAAgB,CAAC,MAAM,GAAG,IAAI,CAAC,CAAA;CAClD,QAoBA;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,GAAG,EACH,QAAQ,EACR,SAAS,EACT,UAAU,GACX,EAAE;IACD,KAAK,EAAE;QAAE,IAAI,EAAE,OAAO,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IACzC,GAAG,EAAE;QAAE,IAAI,EAAE,OAAO,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IACvC,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,CAAC,GAAG,EAAE;QAAE,IAAI,EAAE,OAAO,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,KAAK,IAAI,CAAA;IAC5D,UAAU,EAAE,KAAK,CAAC,gBAAgB,CAAC,MAAM,GAAG,IAAI,CAAC,CAAA;CAClD,QA+CA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chartConstants.d.ts","sourceRoot":"","sources":["../../../src/utils/chartConstants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,aAAa,CAAA;AAEvC,eAAO,MAAM,oBAAoB,WAAW,CAAA;AAG5C,oBAAY,WAAW;IACrB,OAAO,YAAY;IACnB,KAAK,UAAU;CAChB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"detectTouchScreen.d.ts","sourceRoot":"","sources":["../../../src/utils/detectTouchScreen.ts"],"names":[],"mappings":"AACA,MAAM,CAAC,OAAO,UAAU,iBAAiB,YAqBxC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { TooltipComponentOption } from 'echarts/components';
|
|
2
|
+
type TooltipFormatterCallback = Exclude<NonNullable<TooltipComponentOption['formatter']>, string>;
|
|
3
|
+
type TooltipFormatterParams = Parameters<TooltipFormatterCallback>[0];
|
|
4
|
+
export type TooltipParams = TooltipFormatterParams;
|
|
5
|
+
export type FormattedValue = React.ReactNode | ComplexFomattedValue;
|
|
6
|
+
export type ComplexFomattedValue = {
|
|
7
|
+
value: React.ReactNode;
|
|
8
|
+
prefix?: React.ReactNode;
|
|
9
|
+
suffix?: React.ReactNode;
|
|
10
|
+
};
|
|
11
|
+
export type FormattedStringValue = string | number | {
|
|
12
|
+
value: string | number;
|
|
13
|
+
prefix?: string | number;
|
|
14
|
+
suffix?: string | number;
|
|
15
|
+
};
|
|
16
|
+
export declare function processFormatterResult(formatterResult: FormattedStringValue): string | number;
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=formatterUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formatterUtils.d.ts","sourceRoot":"","sources":["../../../src/utils/formatterUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAA;AAE3D,KAAK,wBAAwB,GAAG,OAAO,CACrC,WAAW,CAAC,sBAAsB,CAAC,WAAW,CAAC,CAAC,EAChD,MAAM,CACP,CAAA;AAED,KAAK,sBAAsB,GAAG,UAAU,CAAC,wBAAwB,CAAC,CAAC,CAAC,CAAC,CAAA;AAOrE,MAAM,MAAM,aAAa,GAAG,sBAAsB,CAAA;AAElD,MAAM,MAAM,cAAc,GAAG,KAAK,CAAC,SAAS,GAAG,oBAAoB,CAAA;AACnE,MAAM,MAAM,oBAAoB,GAAG;IACjC,KAAK,EAAE,KAAK,CAAC,SAAS,CAAA;IACtB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACxB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CACzB,CAAA;AAED,MAAM,MAAM,oBAAoB,GAC5B,MAAM,GACN,MAAM,GACN;IACE,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CACzB,CAAA;AAEL,wBAAgB,sBAAsB,CAAC,eAAe,EAAE,oBAAoB,mBAK3E"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
export declare enum LEGEND_TYPES {
|
|
2
|
+
CATEGORY = "category",
|
|
3
|
+
ICON = "icon",
|
|
4
|
+
CONTINUOUS_RAMP = "continuous_ramp",
|
|
5
|
+
BINS = "bins",
|
|
6
|
+
PROPORTION = "proportion"
|
|
7
|
+
}
|
|
8
|
+
export type LegendLayerData = {
|
|
9
|
+
/** id of the layer */
|
|
10
|
+
id: string;
|
|
11
|
+
/** title of the layer to show in the legend */
|
|
12
|
+
title?: string;
|
|
13
|
+
/** layer visibility state */
|
|
14
|
+
visible?: boolean;
|
|
15
|
+
/** whether layer visibility state can be toggled on/off */
|
|
16
|
+
switchable?: boolean;
|
|
17
|
+
/** layer collapsed state */
|
|
18
|
+
collapsed?: boolean;
|
|
19
|
+
/** whether layer collapsed state can be toggled on/off */
|
|
20
|
+
collapsible?: boolean;
|
|
21
|
+
/** layer opacity percentage */
|
|
22
|
+
opacity?: number;
|
|
23
|
+
/** whether layer opacity percentage can be modified */
|
|
24
|
+
showOpacityControl?: boolean;
|
|
25
|
+
/** note to show below all legend items */
|
|
26
|
+
helperText?: React.ReactNode;
|
|
27
|
+
/** min zoom at which layer is displayed */
|
|
28
|
+
minZoom?: number;
|
|
29
|
+
/** max zoom at which layer is displayed */
|
|
30
|
+
maxZoom?: number;
|
|
31
|
+
/** object or array containing the legend part(s) display settings */
|
|
32
|
+
legend?: LegendLayerVariableData | LegendLayerVariableData[];
|
|
33
|
+
};
|
|
34
|
+
/** properties present in all legend parts */
|
|
35
|
+
export type LegendLayerVariableBase = {
|
|
36
|
+
/** legend part display type. Configures which properties are read and what components are mounted */
|
|
37
|
+
type: LEGEND_TYPES | string;
|
|
38
|
+
/** holds the data for the list selector for this legend part, if any */
|
|
39
|
+
select?: LegendSelectConfig;
|
|
40
|
+
/** subtitle to show below the legend item toggle when expanded */
|
|
41
|
+
attr?: string;
|
|
42
|
+
};
|
|
43
|
+
export type LegendLayerVariableData = LegendLayerVariableBase & (LegendBinsData | LegendRampData | LegendIconsData | LegendCategoriesData | LegendProportionData);
|
|
44
|
+
export type LegendLayerVariableTypes = {
|
|
45
|
+
[LEGEND_TYPES.CATEGORY]: LegendCategoriesData;
|
|
46
|
+
[LEGEND_TYPES.ICON]: LegendIconsData;
|
|
47
|
+
[LEGEND_TYPES.CONTINUOUS_RAMP]: LegendRampData;
|
|
48
|
+
[LEGEND_TYPES.BINS]: LegendBinsData;
|
|
49
|
+
[LEGEND_TYPES.PROPORTION]: LegendProportionData;
|
|
50
|
+
};
|
|
51
|
+
export type RGB = [number, number, number];
|
|
52
|
+
export type RGBA = [number, number, number, number];
|
|
53
|
+
/** generalization of legend color types.
|
|
54
|
+
* A single string is for a cartocolors palette name.
|
|
55
|
+
* An array of strings is for a custom palette consisting in a list of css colors (hex, rgb, etc).
|
|
56
|
+
* An array of arrays of numbers is for a custom palette consisting in a list of rgb(a) colors in the deck.gl format
|
|
57
|
+
*/
|
|
58
|
+
export type LegendColors = string | string[] | (RGB | RGBA)[];
|
|
59
|
+
export type LegendNumericLabels = number[] | {
|
|
60
|
+
label: string;
|
|
61
|
+
value: number;
|
|
62
|
+
}[];
|
|
63
|
+
export type LegendBinsData = {
|
|
64
|
+
colors: LegendColors;
|
|
65
|
+
labels: LegendNumericLabels;
|
|
66
|
+
};
|
|
67
|
+
export type LegendRampData = {
|
|
68
|
+
colors: LegendColors;
|
|
69
|
+
labels: LegendNumericLabels;
|
|
70
|
+
showMinMax?: boolean;
|
|
71
|
+
};
|
|
72
|
+
export type LegendIconsData = {
|
|
73
|
+
icons: string[];
|
|
74
|
+
labels: string[];
|
|
75
|
+
};
|
|
76
|
+
export type LegendCategoriesData = {
|
|
77
|
+
colors: LegendColors;
|
|
78
|
+
labels: string[] | number[];
|
|
79
|
+
isStrokeColor?: boolean;
|
|
80
|
+
customMarkers?: string | string[];
|
|
81
|
+
maskedMarkers?: boolean;
|
|
82
|
+
};
|
|
83
|
+
export type LegendProportionData = {
|
|
84
|
+
labels: [number, number];
|
|
85
|
+
showMinMax?: boolean;
|
|
86
|
+
};
|
|
87
|
+
export type LegendSelectConfig = {
|
|
88
|
+
label: string;
|
|
89
|
+
value: string | number;
|
|
90
|
+
options: {
|
|
91
|
+
label: string;
|
|
92
|
+
value: string | number;
|
|
93
|
+
}[];
|
|
94
|
+
};
|
|
95
|
+
export type CustomLegendComponent = React.ComponentType<{
|
|
96
|
+
layer: LegendLayerData;
|
|
97
|
+
legend: LegendLayerVariableData;
|
|
98
|
+
}>;
|
|
99
|
+
//# sourceMappingURL=legendUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"legendUtils.d.ts","sourceRoot":"","sources":["../../../src/utils/legendUtils.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const DEFAULT_LOCALE = "en";
|
|
2
|
+
export type NestedMessages = {
|
|
3
|
+
[key: string]: string | NestedMessages;
|
|
4
|
+
};
|
|
5
|
+
export declare function flattenMessages(nestedMessages: NestedMessages, prefix?: string): Record<string, string>;
|
|
6
|
+
export declare function findMatchingMessagesLocale<T extends object>(locale: string, messages: T): "en" | keyof T;
|
|
7
|
+
//# sourceMappingURL=localeUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"localeUtils.d.ts","sourceRoot":"","sources":["../../../src/utils/localeUtils.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,OAAO,CAAA;AAClC,MAAM,MAAM,cAAc,GAAG;IAC3B,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,cAAc,CAAA;CACvC,CAAA;AAED,wBAAgB,eAAe,CAAC,cAAc,EAAE,cAAc,EAAE,MAAM,SAAK,0BAc1E;AAED,wBAAgB,0BAA0B,CAAC,CAAC,SAAS,MAAM,EACzD,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,CAAC,kBASZ"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Theme } from '@mui/material';
|
|
2
|
+
import { LegendColors } from './legendUtils';
|
|
3
|
+
export declare const DEFAULT_PALETTE = "PurpOr";
|
|
4
|
+
export declare const NULL_COLOR: number[];
|
|
5
|
+
export declare const OTHERS_COLOR: number[];
|
|
6
|
+
export declare function getPaletteFromCartoColors(name: string, domainSize: number): string[];
|
|
7
|
+
export declare function getPalette(colors: LegendColors, domainSize: number): string[];
|
|
8
|
+
export declare function rgbToHex(r: number, g: number, b: number): string;
|
|
9
|
+
export declare function getCartoColorStylePropsForItem(theme: Theme, index: number): {
|
|
10
|
+
backgroundColor: string | undefined;
|
|
11
|
+
color: string;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* Get color by category.
|
|
15
|
+
*
|
|
16
|
+
* Each new category gets new color from `palette` if specified.
|
|
17
|
+
*
|
|
18
|
+
* Palette state is kept in `colorMapping`
|
|
19
|
+
*/
|
|
20
|
+
export declare function getColorByCategory(category: string, { palette, fallbackColor, colorMapping, }: {
|
|
21
|
+
palette: string[];
|
|
22
|
+
fallbackColor: string;
|
|
23
|
+
colorMapping: Record<string, string>;
|
|
24
|
+
}): string;
|
|
25
|
+
//# sourceMappingURL=paletteUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paletteUtils.d.ts","sourceRoot":"","sources":["../../../src/utils/paletteUtils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AAGrC,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAUlD,eAAO,MAAM,eAAe,WAAW,CAAA;AACvC,eAAO,MAAM,UAAU,UAAkB,CAAA;AACzC,eAAO,MAAM,YAAY,UAAkB,CAAA;AAE3C,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,YA8BzE;AAED,wBAAgB,UAAU,CAAC,MAAM,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,YAalE;AAED,wBAAgB,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,UAEvD;AAID,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM;;;EASzE;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAChC,QAAQ,EAAE,MAAM,EAChB,EACE,OAAO,EACP,aAAa,EACb,YAAY,GACb,EAAE;IACD,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,aAAa,EAAE,MAAM,CAAA;IACrB,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CACrC,UAkBF"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generates a unique ID. If `prefix` is given, the ID is appended to it.
|
|
3
|
+
*
|
|
4
|
+
* @since 0.1.0
|
|
5
|
+
* @category Util
|
|
6
|
+
* @param {string} [prefix=''] The value to prefix the ID with.
|
|
7
|
+
* @returns {string} Returns the unique ID.
|
|
8
|
+
* @see random
|
|
9
|
+
* @example
|
|
10
|
+
*
|
|
11
|
+
* uniqueId('contact_')
|
|
12
|
+
* // => 'contact_104'
|
|
13
|
+
*
|
|
14
|
+
* uniqueId()
|
|
15
|
+
* // => '105'
|
|
16
|
+
*/
|
|
17
|
+
declare function uniqueId(prefix?: string): string;
|
|
18
|
+
export default uniqueId;
|
|
19
|
+
//# sourceMappingURL=uniqueId.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"uniqueId.d.ts","sourceRoot":"","sources":["../../../src/utils/uniqueId.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;GAeG;AACH,iBAAS,QAAQ,CAAC,MAAM,SAAa,UAWpC;AAED,eAAe,QAAQ,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BarSkeleton.d.ts","sourceRoot":"","sources":["../../../../src/widgets/BarWidgetUI/BarSkeleton.tsx"],"names":[],"mappings":"AAOA,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,2CAgB1E"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { IntlShape } from 'react-intl';
|
|
2
|
+
import { FormattedStringValue, TooltipParams } from '../../utils/formatterUtils';
|
|
3
|
+
declare function BarWidgetUI(props: BarWidgetUIProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export type SelectedBarObject = {
|
|
5
|
+
xAxis: BarWidgetUIProps['xAxisData'][0];
|
|
6
|
+
serie: string;
|
|
7
|
+
yAxis: number;
|
|
8
|
+
};
|
|
9
|
+
export type BarWidgetUIProps = {
|
|
10
|
+
yAxisData: number[] | number[][];
|
|
11
|
+
xAxisData: (number | string)[];
|
|
12
|
+
series?: string[];
|
|
13
|
+
colors?: string | string[];
|
|
14
|
+
stacked?: boolean;
|
|
15
|
+
labels?: Record<string, string>;
|
|
16
|
+
tooltip?: boolean;
|
|
17
|
+
tooltipFormatter?: (params: TooltipParams, yAxisFormatter: (n: number) => FormattedStringValue) => string | null;
|
|
18
|
+
xAxisFormatter?: (s: string) => FormattedStringValue;
|
|
19
|
+
yAxisFormatter?: (n: number) => FormattedStringValue;
|
|
20
|
+
selectedBars?: number[] | [number, number][];
|
|
21
|
+
/**
|
|
22
|
+
* first param of onSelectedBarsChange is an array of two numbers where first one is the data index and the second the series index.
|
|
23
|
+
* Second param is the selected bars data in object format.
|
|
24
|
+
*/
|
|
25
|
+
onSelectedBarsChange?: (selectedBars: number[] | [number, number][], selectedBarsAsObject: SelectedBarObject[]) => void;
|
|
26
|
+
height?: number | string;
|
|
27
|
+
filterable?: boolean;
|
|
28
|
+
animation?: boolean;
|
|
29
|
+
isLoading?: boolean;
|
|
30
|
+
intl?: IntlShape;
|
|
31
|
+
};
|
|
32
|
+
export default BarWidgetUI;
|
|
33
|
+
//# sourceMappingURL=BarWidgetUI.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BarWidgetUI.d.ts","sourceRoot":"","sources":["../../../../src/widgets/BarWidgetUI/BarWidgetUI.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAW,MAAM,YAAY,CAAA;AAI/C,OAAO,EACL,oBAAoB,EAEpB,aAAa,EACd,MAAM,wBAAwB,CAAA;AAwB/B,iBAAS,WAAW,CAAC,KAAK,EAAE,gBAAgB,2CAkU3C;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,gBAAgB,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAA;IACvC,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC7B,SAAS,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,EAAE,CAAA;IAChC,SAAS,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAA;IAC9B,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;IACjB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC/B,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,gBAAgB,CAAC,EAAE,CACjB,MAAM,EAAE,aAAa,EACrB,cAAc,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,oBAAoB,KAChD,MAAM,GAAG,IAAI,CAAA;IAClB,cAAc,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,oBAAoB,CAAA;IACpD,cAAc,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,oBAAoB,CAAA;IACpD,YAAY,CAAC,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAA;IAC5C;;;OAGG;IACH,oBAAoB,CAAC,EAAE,CACrB,YAAY,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,EAC3C,oBAAoB,EAAE,iBAAiB,EAAE,KACtC,IAAI,CAAA;IACT,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACxB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,IAAI,CAAC,EAAE,SAAS,CAAA;CACjB,CAAA;AAED,eAAe,WAAW,CAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { BarWidgetUIProps } from './BarWidgetUI';
|
|
2
|
+
import { FormattedStringValue, TooltipParams } from '../../utils/formatterUtils';
|
|
3
|
+
export default function useProcessedProps({ height, labels, yAxisData: _yAxisData, selectedBars: _selectedBars, series: _series, colors: _colors, tooltip, tooltipFormatter, xAxisFormatter, yAxisFormatter, onSelectedBarsChange, animation, filterable, stacked, ...props }: BarWidgetUIProps): {
|
|
4
|
+
tooltip: boolean;
|
|
5
|
+
tooltipFormatter: (params: TooltipParams, yAxisFormatter: (n: number) => FormattedStringValue) => string | null;
|
|
6
|
+
xAxisFormatter: (s: string) => FormattedStringValue;
|
|
7
|
+
yAxisFormatter: (n: number) => FormattedStringValue;
|
|
8
|
+
onSelectedBarsChange: ((selectedBars: number[] | [number, number][], selectedBarsAsObject: import('./BarWidgetUI').SelectedBarObject[]) => void) | undefined;
|
|
9
|
+
animation: boolean;
|
|
10
|
+
filterable: boolean;
|
|
11
|
+
stacked: boolean;
|
|
12
|
+
labels: Record<string, string>;
|
|
13
|
+
height: string | number;
|
|
14
|
+
selectedBars: [number, number][];
|
|
15
|
+
yAxisData: number[][];
|
|
16
|
+
colors: string[];
|
|
17
|
+
series: string[];
|
|
18
|
+
xAxisData: (number | string)[];
|
|
19
|
+
isLoading?: boolean;
|
|
20
|
+
intl?: import('react-intl').IntlShape;
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=useProcessedProps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useProcessedProps.d.ts","sourceRoot":"","sources":["../../../../src/widgets/BarWidgetUI/useProcessedProps.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAA;AAChD,OAAO,EACL,oBAAoB,EAEpB,aAAa,EACd,MAAM,wBAAwB,CAAA;AAsC/B,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EACxC,MAAM,EACN,MAAkB,EAClB,SAAS,EAAE,UAAU,EACrB,YAAY,EAAE,aAA6D,EAC3E,MAAM,EAAE,OAAO,EACf,MAAM,EAAE,OAAO,EACf,OAAc,EACd,gBAA0C,EAC1C,cAAyB,EACzB,cAAyB,EACzB,oBAAoB,EACpB,SAAgB,EAChB,UAAiB,EACjB,OAAc,EACd,GAAG,KAAK,EACT,EAAE,gBAAgB;;;;;;;;;;;;;;;;;;EAmDlB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CategorySkeleton.d.ts","sourceRoot":"","sources":["../../../../src/widgets/CategoryWidgetUI/CategorySkeleton.tsx"],"names":[],"mappings":"AAWA,QAAA,MAAM,gBAAgB,+CAmBrB,CAAA;AAED,eAAe,gBAAgB,CAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { IntlShape } from 'react-intl';
|
|
2
|
+
import { ORDER_TYPES } from '../../utils/chartConstants';
|
|
3
|
+
import { FormattedValue } from '../../utils/formatterUtils';
|
|
4
|
+
export type Category = string | number | boolean;
|
|
5
|
+
export type CategoryData = {
|
|
6
|
+
value: number | null;
|
|
7
|
+
name: Category;
|
|
8
|
+
};
|
|
9
|
+
export type CategoryWidgetUIProps = {
|
|
10
|
+
intl?: IntlShape;
|
|
11
|
+
data: CategoryData[];
|
|
12
|
+
labels?: Record<string, string>;
|
|
13
|
+
formatter?: (value: number) => FormattedValue;
|
|
14
|
+
animation?: boolean;
|
|
15
|
+
filterable?: boolean;
|
|
16
|
+
searchable?: boolean;
|
|
17
|
+
isLoading?: boolean;
|
|
18
|
+
maxItems?: number;
|
|
19
|
+
order?: ORDER_TYPES;
|
|
20
|
+
selectedCategories?: Category[];
|
|
21
|
+
onSelectedCategoriesChange?: (categories: Category[]) => void;
|
|
22
|
+
};
|
|
23
|
+
declare function CategoryWidgetUI({ data, formatter, labels, maxItems, order, selectedCategories, onSelectedCategoriesChange, animation, filterable, searchable, isLoading, }: CategoryWidgetUIProps): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export default CategoryWidgetUI;
|
|
25
|
+
//# sourceMappingURL=CategoryWidgetUI.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CategoryWidgetUI.d.ts","sourceRoot":"","sources":["../../../../src/widgets/CategoryWidgetUI/CategoryWidgetUI.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAE,SAAS,EAAW,MAAM,YAAY,CAAA;AAkB/C,OAAO,EAAE,WAAW,EAAiB,MAAM,wBAAwB,CAAA;AACnE,OAAO,EAAwB,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAI7E,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAA;AAChD,MAAM,MAAM,YAAY,GAAG;IACzB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,IAAI,EAAE,QAAQ,CAAA;CACf,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG;IAClC,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,IAAI,EAAE,YAAY,EAAE,CAAA;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC/B,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,cAAc,CAAA;IAC7C,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,WAAW,CAAA;IACnB,kBAAkB,CAAC,EAAE,QAAQ,EAAE,CAAA;IAC/B,0BAA0B,CAAC,EAAE,CAAC,UAAU,EAAE,QAAQ,EAAE,KAAK,IAAI,CAAA;CAC9D,CAAA;AAOD,iBAAS,gBAAgB,CAAC,EACxB,IAAI,EACJ,SAAoB,EACpB,MAAkB,EAClB,QAAY,EACZ,KAA2B,EAC3B,kBAA8B,EAC9B,0BAAqC,EACrC,SAAgB,EAChB,UAAiB,EACjB,UAAiB,EACjB,SAAS,GACV,EAAE,qBAAqB,2CAygBvB;AAED,eAAe,gBAAgB,CAAA"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export declare const CategoriesWrapper: import('@emotion/styled').StyledComponent<import('@mui/material').GridOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
2
|
+
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
3
|
+
}, "className" | "style" | "classes" | "children" | "sx" | "textAlign" | "p" | "color" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "columnGap" | "direction" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "columns" | "container" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "wrap" | "xs" | "sm" | "md" | "lg" | "xl" | "displayPrint" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "marginX" | "marginY" | "paddingX" | "paddingY" | "typography" | "item" | "spacing" | "columnSpacing" | "rowSpacing" | "zeroMinWidth"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
4
|
+
export declare const CategoryItemGroup: import('@emotion/styled').StyledComponent<import('@mui/material').GridOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
5
|
+
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
6
|
+
}, "className" | "style" | "classes" | "children" | "sx" | "textAlign" | "p" | "color" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "columnGap" | "direction" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "columns" | "container" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "wrap" | "xs" | "sm" | "md" | "lg" | "xl" | "displayPrint" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "marginX" | "marginY" | "paddingX" | "paddingY" | "typography" | "item" | "spacing" | "columnSpacing" | "rowSpacing" | "zeroMinWidth"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & {
|
|
7
|
+
selectable?: boolean;
|
|
8
|
+
name?: string;
|
|
9
|
+
unselected?: boolean;
|
|
10
|
+
}, {}, {}>;
|
|
11
|
+
export declare const OptionsSelectedBar: import('@emotion/styled').StyledComponent<import('@mui/material').GridOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
12
|
+
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
13
|
+
}, "className" | "style" | "classes" | "children" | "sx" | "textAlign" | "p" | "color" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "columnGap" | "direction" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "columns" | "container" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "wrap" | "xs" | "sm" | "md" | "lg" | "xl" | "displayPrint" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "marginX" | "marginY" | "paddingX" | "paddingY" | "typography" | "item" | "spacing" | "columnSpacing" | "rowSpacing" | "zeroMinWidth"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
14
|
+
export declare const ProgressBar: import('@emotion/styled').StyledComponent<import('@mui/material').GridOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
15
|
+
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
16
|
+
}, "className" | "style" | "classes" | "children" | "sx" | "textAlign" | "p" | "color" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "columnGap" | "direction" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "columns" | "container" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "wrap" | "xs" | "sm" | "md" | "lg" | "xl" | "displayPrint" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "marginX" | "marginY" | "paddingX" | "paddingY" | "typography" | "item" | "spacing" | "columnSpacing" | "rowSpacing" | "zeroMinWidth"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
17
|
+
export declare const CategoryLabelWrapper: import('@emotion/styled').StyledComponent<import('@mui/material').GridOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
18
|
+
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
19
|
+
}, "className" | "style" | "classes" | "children" | "sx" | "textAlign" | "p" | "color" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "columnGap" | "direction" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "columns" | "container" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "wrap" | "xs" | "sm" | "md" | "lg" | "xl" | "displayPrint" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "marginX" | "marginY" | "paddingX" | "paddingY" | "typography" | "item" | "spacing" | "columnSpacing" | "rowSpacing" | "zeroMinWidth"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & {
|
|
20
|
+
isSelectable: boolean;
|
|
21
|
+
}, {}, {}>;
|
|
22
|
+
export declare const CategoryLabel: import('@emotion/styled').StyledComponent<{
|
|
23
|
+
weight?: import('../../components/atoms/Typography').CartoFontWeight;
|
|
24
|
+
italic?: boolean;
|
|
25
|
+
} & import('@mui/material').TypographyOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<any, "className" | "style" | "classes" | "children" | "sx" | "textAlign" | "variant" | "p" | "color" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "italic" | "weight" | "displayPrint" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "marginX" | "marginY" | "paddingX" | "paddingY" | "typography" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & {
|
|
26
|
+
component?: import('react').ElementType;
|
|
27
|
+
} & import('react').RefAttributes<HTMLElement> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
28
|
+
export declare const LinkAsButton: import('@emotion/styled').StyledComponent<import('@mui/material').LinkOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
|
|
29
|
+
ref?: ((instance: HTMLAnchorElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLAnchorElement> | null | undefined;
|
|
30
|
+
}, "className" | "style" | "classes" | "children" | "sx" | "textAlign" | "variant" | "p" | "color" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "underline" | "displayPrint" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "marginX" | "marginY" | "paddingX" | "paddingY" | "typography" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping" | "TypographyClasses"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
31
|
+
export declare const CategoriesRoot: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<import('@mui/material').Theme> & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
32
|
+
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
33
|
+
}, keyof import('@mui/system').BoxOwnProps<import('@mui/material').Theme>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
34
|
+
export declare const HiddenButton: import('@emotion/styled').StyledComponent<import('@mui/material').ButtonOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
35
|
+
ref?: ((instance: HTMLButtonElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLButtonElement> | null | undefined;
|
|
36
|
+
}, "fullWidth" | "className" | "style" | "classes" | "children" | "sx" | "variant" | "tabIndex" | "color" | "size" | "disabled" | "href" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "endIcon" | "startIcon"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
37
|
+
//# sourceMappingURL=CategoryWidgetUI.styled.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CategoryWidgetUI.styled.d.ts","sourceRoot":"","sources":["../../../../src/widgets/CategoryWidgetUI/CategoryWidgetUI.styled.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB;;qsDAI3B,CAAA;AAEH,eAAO,MAAM,iBAAiB;;;iBAIf,OAAO;WACb,MAAM;iBACA,OAAO;UAyCpB,CAAA;AAEF,eAAO,MAAM,kBAAkB;;qsDAY9B,CAAA;AAED,eAAO,MAAM,WAAW;;qsDAerB,CAAA;AAEH,eAAO,MAAM,oBAAoB;;;kBAEd,OAAO;UAMxB,CAAA;AAEF,eAAO,MAAM,aAAa;;;;;mIAGvB,CAAA;AAEH,eAAO,MAAM,YAAY;;iqDAOtB,CAAA;AAEH,eAAO,MAAM,cAAc;;+JAExB,CAAA;AAEH,eAAO,MAAM,YAAY;;geActB,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export default function ChartLegend({ series, selectedCategories, onCategoryClick, }: {
|
|
2
|
+
series: {
|
|
3
|
+
name: string;
|
|
4
|
+
color: string;
|
|
5
|
+
value?: number;
|
|
6
|
+
}[];
|
|
7
|
+
selectedCategories: string[];
|
|
8
|
+
onCategoryClick?: (categoryName: string) => void;
|
|
9
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
//# sourceMappingURL=ChartLegend.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChartLegend.d.ts","sourceRoot":"","sources":["../../../src/widgets/ChartLegend.tsx"],"names":[],"mappings":"AAiEA,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,MAAM,EACN,kBAAkB,EAClB,eAAe,GAChB,EAAE;IACD,MAAM,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IACzD,kBAAkB,EAAE,MAAM,EAAE,CAAA;IAC5B,eAAe,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAA;CACjD,2CAqJA"}
|