@levi-gemcommerce/analytics 0.0.1-dev.7 → 1.0.0-dev.10
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/esm/components/AnalyticMode/AnalyticModeSelector.d.ts +13 -0
- package/dist/esm/components/AnalyticMode/index.d.ts +2 -0
- package/dist/esm/components/CurrencySelector/CurrencySelector.d.ts +10 -0
- package/dist/esm/components/CurrencySelector/index.d.ts +2 -0
- package/dist/esm/components/GSelectableMetricChartCard/GSelectableMetricChartCard.d.ts +5 -3
- package/dist/esm/components/GSelectableMetricChartCard/MetricChartTab.d.ts +2 -2
- package/dist/esm/components/MetricDonutChartCard/MetricDonutChartCard.d.ts +16 -0
- package/dist/esm/components/MetricDonutChartCard/index.d.ts +2 -0
- package/dist/esm/components/MetricDonutChartCard/utils/donut-chart.d.ts +20 -0
- package/dist/esm/components/MetricDonutChartCard/utils/index.d.ts +1 -0
- package/dist/esm/components/SingleMetricChartCard/SingleMetricChartCard.d.ts +3 -1
- package/dist/esm/components/common/chart/MetricChart.d.ts +5 -1
- package/dist/esm/components/common/chart/MetricDonutChartSkeleton.d.ts +1 -0
- package/dist/esm/components/common/chart/index.d.ts +1 -0
- package/dist/esm/components/index.d.ts +3 -0
- package/dist/esm/constants/breakdown-targets.d.ts +5 -0
- package/dist/esm/constants/campaign.d.ts +1 -0
- package/dist/esm/constants/currency.d.ts +2 -0
- package/dist/esm/constants/index.d.ts +3 -0
- package/dist/esm/core/gemxql/helpers/extractQueryData.d.ts +1 -1
- package/dist/esm/core/gemxql/utils/dayjs.d.ts +2 -0
- package/dist/esm/hooks/index.d.ts +5 -0
- package/dist/esm/hooks/useEnhancedEffect.d.ts +2 -0
- package/dist/esm/hooks/useFormatLineChartData.d.ts +11 -0
- package/dist/esm/hooks/usePopoverResizeObserver.d.ts +7 -0
- package/dist/esm/hooks/useToggle.d.ts +12 -0
- package/dist/esm/hooks/useWindowSize.d.ts +18 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.js +2235 -68
- package/dist/esm/index.mjs +2235 -68
- package/dist/esm/providers/MetricChartProvider.d.ts +5 -1
- package/dist/esm/shared/charts/components/ComboChart.d.ts +1 -0
- package/dist/esm/shared/charts/components/GBarChart.d.ts +13 -0
- package/dist/esm/shared/charts/components/GComboChart.d.ts +5 -0
- package/dist/esm/shared/charts/components/GDonutChart.d.ts +5 -0
- package/dist/esm/shared/charts/components/GFunnelChart/GFunnelChart.d.ts +10 -0
- package/dist/esm/shared/charts/components/GFunnelChart/components/FunnelChartAction.d.ts +7 -0
- package/dist/esm/shared/charts/components/GFunnelChart/components/FunnelChartActionIcon.d.ts +9 -0
- package/dist/esm/shared/charts/components/GFunnelChart/components/FunnelChartActionWrapper.d.ts +16 -0
- package/dist/esm/shared/charts/components/GFunnelChart/components/FunnelSelection/FunnelSelectionContent.d.ts +6 -0
- package/dist/esm/shared/charts/components/GFunnelChart/components/FunnelSelection/FunnelSelectionHeader.d.ts +1 -0
- package/dist/esm/shared/charts/components/GFunnelChart/components/FunnelSelection/FunnelSelectionItem.d.ts +9 -0
- package/dist/esm/shared/charts/components/GFunnelChart/components/FunnelSelection/FunnelSelectionPopover.d.ts +22 -0
- package/dist/esm/shared/charts/components/GFunnelChart/components/FunnelSelection/index.d.ts +1 -0
- package/dist/esm/shared/charts/components/GFunnelChart/components/FunnelSelection/type.d.ts +7 -0
- package/dist/esm/shared/charts/components/GFunnelChart/components/types.d.ts +23 -0
- package/dist/esm/shared/charts/components/GFunnelChart/index.d.ts +3 -0
- package/dist/esm/shared/charts/components/GFunnelChart/types.d.ts +11 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/Arc/Arc.d.ts +16 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/Arc/index.d.ts +1 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/ChartContainer/ChartContainer.d.ts +17 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/ChartContainer/hooks/useContainerBounds.d.ts +11 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/ChartContainer/index.d.ts +1 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/ChartElements/ChartDiv.d.ts +9 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/ChartElements/ChartSVG.d.ts +12 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/ChartElements/index.d.ts +6 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/ChartErrorBoundary/ChartErrorBoundary.d.ts +25 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/ChartErrorBoundary/index.d.ts +1 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/ChartErrorBoundary/utilities/checkForMismatchedData.d.ts +2 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/ChartSkeleton/ChartSkeleton.d.ts +31 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/DonutSkeleton/DonutSkeleton.d.ts +7 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/DonutSkeleton/index.d.ts +1 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/ErrorText/ErrorText.d.ts +7 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/ErrorText/index.d.ts +1 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/FunnelSkeleton/FunnelSkeleton.d.ts +7 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/FunnelSkeleton/index.d.ts +1 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/GridSkeleton/GridSkeleton.d.ts +7 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/GridSkeleton/index.d.ts +1 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/Shimmer/Shimmer.d.ts +3 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/Shimmer/index.d.ts +1 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/SimpleBarSkeleton/SimpleBarSkeleton.d.ts +7 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/SimpleBarSkeleton/index.d.ts +1 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/SimpleNormalizedSkeleton/SimpleNormalizedSkeleton.d.ts +10 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/SimpleNormalizedSkeleton/index.d.ts +1 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/SparkSkeleton/SparkSkeleton.d.ts +7 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/SparkSkeleton/index.d.ts +1 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/index.d.ts +8 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/ChartSkeleton/index.d.ts +3 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/ConicGradientWithStops/ConicGradientWithStops.d.ts +9 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/ConicGradientWithStops/index.d.ts +1 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/DefaultPreview/DefaultPreview.d.ts +5 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/DefaultPreview/index.d.ts +2 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/FunnelChart/Chart.d.ts +9 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/FunnelChart/FunnelChart.d.ts +12 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/FunnelChart/components/FunnelChartXAxisArrows.d.ts +10 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/FunnelChart/components/FunnelChartXAxisLabels.d.ts +13 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/FunnelChart/components/FunnelSegment.d.ts +17 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/FunnelChart/components/Label.d.ts +14 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/FunnelChart/components/index.d.ts +4 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/FunnelChart/index.d.ts +2 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/FunnelChartNext/Chart.d.ts +20 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/FunnelChartNext/FunnelChartNext.d.ts +25 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/FunnelChartNext/components/FunnelChartLabels/FunnelChartLabels.d.ts +29 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/FunnelChartNext/components/FunnelChartLabels/index.d.ts +1 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/FunnelChartNext/components/FunnelTooltip/FunnelTooltip.d.ts +8 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/FunnelChartNext/components/FunnelTooltip/index.d.ts +2 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/FunnelChartNext/components/ScaleIcon.d.ts +1 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/FunnelChartNext/components/ScaleIconTooltip.d.ts +6 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/FunnelChartNext/components/Tooltip/CustomTooltip.d.ts +10 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/FunnelChartNext/components/Tooltip/Tooltip.d.ts +16 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/FunnelChartNext/components/Tooltip/index.d.ts +1 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/FunnelChartNext/components/TooltipOverlay.d.ts +30 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/FunnelChartNext/components/TooltipWithPortal.d.ts +4 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/FunnelChartNext/components/index.d.ts +7 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/FunnelChartNext/constants.d.ts +19 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/FunnelChartNext/hooks/useTooltipInteraction.d.ts +12 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/FunnelChartNext/hooks/useTooltipPlacement.d.ts +27 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/FunnelChartNext/index.d.ts +4 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/FunnelChartNext/types.d.ts +9 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/FunnelChartNext/utilities/calculate-dropoff.d.ts +1 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/FunnelChartNext/utilities/useBuildFunnelTrends.d.ts +10 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/HorizontalGridLines/HorizontalGridLines.d.ts +10 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/HorizontalGridLines/index.d.ts +1 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/Labels/SingleTextLine.d.ts +14 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/Labels/hooks/index.d.ts +1 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/Labels/hooks/useLabels.d.ts +19 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/Labels/index.d.ts +3 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/Labels/utilities/endLineTruncate.d.ts +9 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/Labels/utilities/endWordTruncate.d.ts +8 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/Labels/utilities/estimateTextHeight.d.ts +8 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/Labels/utilities/formatAndAddEllipsis.d.ts +1 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/Labels/utilities/getDiagonalLabels.d.ts +14 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/Labels/utilities/getHorizontalLabels.d.ts +15 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/Labels/utilities/getVerticalLabels.d.ts +13 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/Labels/utilities/getWidestLabel.d.ts +2 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/Labels/utilities/shouldSkipLabel.d.ts +1 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/Labels/utilities/tests/endWordTruncate.test.d.ts +1 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/Labels/utilities/tests/estimateTextHeight.test.d.ts +1 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/Labels/utilities/tests/formatAndAddEllipsis.test.d.ts +1 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/Labels/utilities/tests/truncateLastLine.test.d.ts +1 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/Labels/utilities/tests/truncateSingleLine.test.d.ts +1 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/Labels/utilities/truncateLabels.d.ts +11 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/Labels/utilities/truncateLastLine.d.ts +9 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/Labels/utilities/truncateSingleLine.d.ts +8 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/LinePreview/LinePreview.d.ts +8 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/LinePreview/constants.d.ts +3 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/LinePreview/index.d.ts +2 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/SwallowErrors/SwallowErrors.d.ts +16 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/SwallowErrors/index.d.ts +1 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/TextLine/TextLine.d.ts +8 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/TextLine/index.d.ts +1 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/TooltipContent/TooltipContent.d.ts +8 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/TooltipContent/components/TooltipContentContainer/TooltipContentContainer.d.ts +13 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/TooltipContent/components/TooltipContentContainer/index.d.ts +1 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/TooltipContent/components/TooltipRow/TooltipRow.d.ts +11 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/TooltipContent/components/TooltipRow/index.d.ts +1 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/TooltipContent/components/TooltipSeries/TooltipSeries.d.ts +7 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/TooltipContent/components/TooltipSeries/index.d.ts +1 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/TooltipContent/components/TooltipSeriesName/TooltipSeriesName.d.ts +5 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/TooltipContent/components/TooltipSeriesName/index.d.ts +1 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/TooltipContent/components/TooltipTitle/TooltipTitle.d.ts +6 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/TooltipContent/components/TooltipTitle/index.d.ts +1 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/TooltipContent/components/index.d.ts +5 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/TooltipContent/constants.d.ts +2 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/TooltipContent/hooks/useGetLongestLabelFromData.d.ts +5 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/TooltipContent/index.d.ts +4 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/TooltipContent/utilities/get-tooltip-template-content-column-count.d.ts +2 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/TooltipContent/utilities/tests/get-tooltip-template-content-column-count.test.d.ts +1 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/TooltipWrapper/TooltipWrapper.d.ts +27 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/TooltipWrapper/components/TooltipAnimatedContainer.d.ts +17 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/TooltipWrapper/constants.d.ts +9 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/TooltipWrapper/index.d.ts +5 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/TooltipWrapper/types.d.ts +53 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/TooltipWrapper/utilities/eventPoint.d.ts +15 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/TooltipWrapper/utilities/getAlteredHorizontalBarPosition.d.ts +2 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/TooltipWrapper/utilities/getAlteredLineChartPosition.d.ts +9 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/TooltipWrapper/utilities/getAlteredVerticalBarPosition.d.ts +2 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/TooltipWrapper/utilities/getDonutChartTooltipPosition.d.ts +8 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/TooltipWrapper/utilities/getHorizontalBarChartTooltipPosition.d.ts +7 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/TooltipWrapper/utilities/getLineChartTooltipPosition.d.ts +11 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/TooltipWrapper/utilities/getVerticalBarChartTooltipPosition.d.ts +10 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/TooltipWrapper/utilities/shouldBlockTooltipEvents.d.ts +1 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/TooltipWrapper/utilities.d.ts +13 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/TrendIndicator/TrendIndicator.d.ts +6 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/TrendIndicator/components/Arrows/ArrowDown.d.ts +1 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/TrendIndicator/components/Arrows/ArrowUp.d.ts +1 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/TrendIndicator/components/Arrows/index.d.ts +2 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/TrendIndicator/components/Svg/Svg.d.ts +10 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/TrendIndicator/components/Svg/index.d.ts +1 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/TrendIndicator/components/index.d.ts +2 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/TrendIndicator/constants.d.ts +8 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/TrendIndicator/index.d.ts +6 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/TrendIndicator/utilities/estimateTrendIndicatorWidth.d.ts +4 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/VerticalBarChart/utilities/index.d.ts +1 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/VerticalBarChart/utilities/sortBarChartData.d.ts +2 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/VerticalGridLines/VerticalGridLines.d.ts +9 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/VerticalGridLines/index.d.ts +1 -0
- package/dist/esm/shared/charts/components/GPolarisViz/components/index.d.ts +6 -0
- package/dist/esm/shared/charts/components/GPolarisViz/constants.d.ts +21 -0
- package/dist/esm/shared/charts/components/GPolarisViz/hooks/index.d.ts +5 -0
- package/dist/esm/shared/charts/components/GPolarisViz/hooks/useBarSpringConfig.d.ts +12 -0
- package/dist/esm/shared/charts/components/GPolarisViz/hooks/useBrowserCheck.d.ts +5 -0
- package/dist/esm/shared/charts/components/GPolarisViz/hooks/useCallbackRef.d.ts +3 -0
- package/dist/esm/shared/charts/components/GPolarisViz/hooks/useDataForHorizontalChart.d.ts +15 -0
- package/dist/esm/shared/charts/components/GPolarisViz/hooks/useDebouncedCallback.d.ts +27 -0
- package/dist/esm/shared/charts/components/GPolarisViz/hooks/useFormattedLabels.d.ts +10 -0
- package/dist/esm/shared/charts/components/GPolarisViz/hooks/useFunnelBarScaling.d.ts +12 -0
- package/dist/esm/shared/charts/components/GPolarisViz/hooks/useHorizontalBarSizes.d.ts +15 -0
- package/dist/esm/shared/charts/components/GPolarisViz/hooks/useHorizontalStackedValues.d.ts +13 -0
- package/dist/esm/shared/charts/components/GPolarisViz/hooks/useHorizontalTicksAndScale.d.ts +15 -0
- package/dist/esm/shared/charts/components/GPolarisViz/hooks/useHorizontalXScale.d.ts +21 -0
- package/dist/esm/shared/charts/components/GPolarisViz/hooks/useIndexForLabels.d.ts +2 -0
- package/dist/esm/shared/charts/components/GPolarisViz/hooks/usePrefersReducedMotion.d.ts +3 -0
- package/dist/esm/shared/charts/components/GPolarisViz/hooks/usePrintResizing.d.ts +11 -0
- package/dist/esm/shared/charts/components/GPolarisViz/hooks/useReducedLabelIndexes.d.ts +5 -0
- package/dist/esm/shared/charts/components/GPolarisViz/hooks/useResizeObserver.d.ts +6 -0
- package/dist/esm/shared/charts/components/GPolarisViz/hooks/useRootContainer.d.ts +1 -0
- package/dist/esm/shared/charts/components/GPolarisViz/hooks/useWatchColorVisionEvents.d.ts +8 -0
- package/dist/esm/shared/charts/components/GPolarisViz/index.d.ts +7 -0
- package/dist/esm/shared/charts/components/GPolarisViz/shared/Bar/Bar.d.ts +14 -0
- package/dist/esm/shared/charts/components/GPolarisViz/shared/Bar/index.d.ts +1 -0
- package/dist/esm/shared/charts/components/GPolarisViz/shared/FunnelChartConnector/FunnelChartConnector.d.ts +11 -0
- package/dist/esm/shared/charts/components/GPolarisViz/shared/FunnelChartConnector/FunnelChartConnectorGradient.d.ts +6 -0
- package/dist/esm/shared/charts/components/GPolarisViz/shared/FunnelChartConnector/constants.d.ts +5 -0
- package/dist/esm/shared/charts/components/GPolarisViz/shared/FunnelChartConnector/index.d.ts +3 -0
- package/dist/esm/shared/charts/components/GPolarisViz/shared/FunnelChartSegment/FunnelChartSegment.d.ts +17 -0
- package/dist/esm/shared/charts/components/GPolarisViz/shared/FunnelChartSegment/components/AnimatedSegment.d.ts +13 -0
- package/dist/esm/shared/charts/components/GPolarisViz/shared/FunnelChartSegment/components/InteractiveOverlay.d.ts +11 -0
- package/dist/esm/shared/charts/components/GPolarisViz/shared/FunnelChartSegment/components/ScaledSegment.d.ts +17 -0
- package/dist/esm/shared/charts/components/GPolarisViz/shared/FunnelChartSegment/constants.d.ts +4 -0
- package/dist/esm/shared/charts/components/GPolarisViz/shared/FunnelChartSegment/index.d.ts +2 -0
- package/dist/esm/shared/charts/components/GPolarisViz/shared/SeriesIcon/SeriesIcon.d.ts +8 -0
- package/dist/esm/shared/charts/components/GPolarisViz/shared/SeriesIcon/index.d.ts +1 -0
- package/dist/esm/shared/charts/components/GPolarisViz/shared/ZeroValueLine/ZeroValueLine.d.ts +9 -0
- package/dist/esm/shared/charts/components/GPolarisViz/shared/ZeroValueLine/index.d.ts +1 -0
- package/dist/esm/shared/charts/components/GPolarisViz/shared/index.d.ts +3 -0
- package/dist/esm/shared/charts/components/GPolarisViz/types.d.ts +209 -0
- package/dist/esm/shared/charts/components/GPolarisViz/utilities/base.d.ts +3 -0
- package/dist/esm/shared/charts/components/GPolarisViz/utilities/classnames.d.ts +1 -0
- package/dist/esm/shared/charts/components/GPolarisViz/utilities/createCssConicGradient.d.ts +2 -0
- package/dist/esm/shared/charts/components/GPolarisViz/utilities/createCssGradient.d.ts +2 -0
- package/dist/esm/shared/charts/components/GPolarisViz/utilities/estimateStringWidthWithOffset.d.ts +1 -0
- package/dist/esm/shared/charts/components/GPolarisViz/utilities/getAxisOptions.d.ts +3 -0
- package/dist/esm/shared/charts/components/GPolarisViz/utilities/getCSSBackgroundFromColor.d.ts +2 -0
- package/dist/esm/shared/charts/components/GPolarisViz/utilities/getChartId.d.ts +1 -0
- package/dist/esm/shared/charts/components/GPolarisViz/utilities/getFontSize.d.ts +1 -0
- package/dist/esm/shared/charts/components/GPolarisViz/utilities/getStackedMinMax.d.ts +10 -0
- package/dist/esm/shared/charts/components/GPolarisViz/utilities/getStackedValues.d.ts +10 -0
- package/dist/esm/shared/charts/components/GPolarisViz/utilities/getStackedValuesFromDataSeries.d.ts +7 -0
- package/dist/esm/shared/charts/components/GPolarisViz/utilities/getTrendIndicatorData.d.ts +8 -0
- package/dist/esm/shared/charts/components/GPolarisViz/utilities/hasHiddenComparisonSeries.d.ts +9 -0
- package/dist/esm/shared/charts/components/GPolarisViz/utilities/index.d.ts +6 -0
- package/dist/esm/shared/charts/components/GSimpleBarChart.d.ts +5 -0
- package/dist/esm/shared/charts/components/index.d.ts +7 -0
- package/dist/esm/shared/charts/constants/chart.d.ts +2 -0
- package/dist/esm/shared/charts/constants/index.d.ts +1 -0
- package/dist/esm/shared/charts/contexts/GChartProvider.d.ts +9 -0
- package/dist/esm/shared/charts/contexts/index.d.ts +1 -0
- package/dist/esm/shared/charts/index.d.ts +4 -0
- package/dist/esm/shared/charts/types/chart.d.ts +35 -0
- package/dist/esm/shared/charts/types/index.d.ts +1 -0
- package/dist/esm/shared/components/GActivatorPopover/GActivatorPopover.d.ts +23 -0
- package/dist/esm/shared/components/GActivatorPopover/index.d.ts +1 -0
- package/dist/esm/shared/components/GButton/GButton.d.ts +19 -0
- package/dist/esm/shared/components/GButton/index.d.ts +1 -0
- package/dist/esm/shared/components/GCheckbox/GCheckbox.d.ts +39 -0
- package/dist/esm/shared/components/GCheckbox/index.d.ts +1 -0
- package/dist/esm/shared/components/GChoice/ChoiceHelpText.d.ts +4 -0
- package/dist/esm/shared/components/GChoice/GChoice.d.ts +44 -0
- package/dist/esm/shared/components/GChoice/index.d.ts +2 -0
- package/dist/esm/shared/components/GClickable/GClickable.d.ts +10 -0
- package/dist/esm/shared/components/GClickable/index.d.ts +1 -0
- package/dist/esm/shared/components/GDiv/GDiv.d.ts +7 -0
- package/dist/esm/shared/components/GDiv/index.d.ts +1 -0
- package/dist/esm/shared/components/GI18NText/GI18NText.d.ts +2 -0
- package/dist/esm/shared/components/GI18NText/index.d.ts +2 -0
- package/dist/esm/shared/components/GI18NText/types.d.ts +6 -0
- package/dist/esm/shared/components/GOptionList/GOptionList.d.ts +11 -0
- package/dist/esm/shared/components/GOptionList/index.d.ts +1 -0
- package/dist/esm/shared/components/GSelector/GSelector.d.ts +27 -0
- package/dist/esm/shared/components/GSelector/index.d.ts +1 -0
- package/dist/esm/shared/components/GTextLink/GTextLink.d.ts +9 -0
- package/dist/esm/shared/components/GTextLink/index.d.ts +1 -0
- package/dist/esm/shared/components/GTimePicker/GTimePicker.d.ts +17 -0
- package/dist/esm/shared/components/GTimePicker/components/BaseTimePicker.d.ts +10 -0
- package/dist/esm/shared/components/GTimePicker/components/CompareTimePicker.d.ts +5 -0
- package/dist/esm/shared/components/GTimePicker/components/DateTimeFilterAddition.d.ts +2 -0
- package/dist/esm/shared/components/GTimePicker/components/DateTimeFilterInputs.d.ts +9 -0
- package/dist/esm/shared/components/GTimePicker/components/DateTimeFilters.d.ts +15 -0
- package/dist/esm/shared/components/GTimePicker/components/MainTimePicker.d.ts +3 -0
- package/dist/esm/shared/components/GTimePicker/components/index.d.ts +2 -0
- package/dist/esm/shared/components/GTimePicker/constants/compareDateTimePicker.d.ts +12 -0
- package/dist/esm/shared/components/GTimePicker/constants/datePicker.d.ts +14 -0
- package/dist/esm/shared/components/GTimePicker/constants/index.d.ts +2 -0
- package/dist/esm/shared/components/GTimePicker/constants/mainDataTimePicker.d.ts +14 -0
- package/dist/esm/shared/components/GTimePicker/contexts/DateTimePickerProvider.d.ts +15 -0
- package/dist/esm/shared/components/GTimePicker/contexts/index.d.ts +1 -0
- package/dist/esm/shared/components/GTimePicker/helpers/date-range-info.d.ts +16 -0
- package/dist/esm/shared/components/GTimePicker/helpers/index.d.ts +4 -0
- package/dist/esm/shared/components/GTimePicker/helpers/parse-date.d.ts +24 -0
- package/dist/esm/shared/components/GTimePicker/helpers/time-picker.d.ts +76 -0
- package/dist/esm/shared/components/GTimePicker/helpers/version.d.ts +2 -0
- package/dist/esm/shared/components/GTimePicker/hooks/index.d.ts +3 -0
- package/dist/esm/shared/components/GTimePicker/hooks/useCompareDateTimePicker.d.ts +26 -0
- package/dist/esm/shared/components/GTimePicker/hooks/useDateTimeFilter.d.ts +18 -0
- package/dist/esm/shared/components/GTimePicker/hooks/useDateTimePicker.d.ts +30 -0
- package/dist/esm/shared/components/GTimePicker/hooks/useVersionDateTimeFilters.d.ts +9 -0
- package/dist/esm/shared/components/GTimePicker/index.d.ts +7 -0
- package/dist/esm/shared/components/GTimePicker/types/index.d.ts +38 -0
- package/dist/esm/shared/components/GTooltip/GTooltip.d.ts +22 -0
- package/dist/esm/shared/components/GTooltip/index.d.ts +2 -0
- package/dist/esm/shared/components/GViewBySelector/GViewBySelector.d.ts +17 -0
- package/dist/esm/shared/components/GViewBySelector/index.d.ts +1 -0
- package/dist/esm/shared/components/index.d.ts +14 -1
- package/dist/esm/types/analytic-mode.d.ts +5 -0
- package/dist/esm/types/chart.d.ts +15 -1
- package/dist/esm/types/currency.d.ts +329 -0
- package/dist/esm/types/index.d.ts +2 -0
- package/dist/esm/types/metric.d.ts +31 -1
- package/dist/esm/types.js +11 -1
- package/dist/esm/types.mjs +11 -1
- package/dist/esm/utils/index.d.ts +1 -0
- package/dist/esm/utils/number.d.ts +1 -0
- package/dist/esm/utils/sort.d.ts +13 -0
- package/dist/style.css +1 -1
- package/dist/umd/esm/components/AnalyticMode/AnalyticModeSelector.d.ts +13 -0
- package/dist/umd/esm/components/AnalyticMode/index.d.ts +2 -0
- package/dist/umd/esm/components/CurrencySelector/CurrencySelector.d.ts +10 -0
- package/dist/umd/esm/components/CurrencySelector/index.d.ts +2 -0
- package/dist/umd/esm/components/GSelectableMetricChartCard/GSelectableMetricChartCard.d.ts +5 -3
- package/dist/umd/esm/components/GSelectableMetricChartCard/MetricChartTab.d.ts +2 -2
- package/dist/umd/esm/components/MetricDonutChartCard/MetricDonutChartCard.d.ts +16 -0
- package/dist/umd/esm/components/MetricDonutChartCard/index.d.ts +2 -0
- package/dist/umd/esm/components/MetricDonutChartCard/utils/donut-chart.d.ts +20 -0
- package/dist/umd/esm/components/MetricDonutChartCard/utils/index.d.ts +1 -0
- package/dist/umd/esm/components/SingleMetricChartCard/SingleMetricChartCard.d.ts +3 -1
- package/dist/umd/esm/components/common/chart/MetricChart.d.ts +5 -1
- package/dist/umd/esm/components/common/chart/MetricDonutChartSkeleton.d.ts +1 -0
- package/dist/umd/esm/components/common/chart/index.d.ts +1 -0
- package/dist/umd/esm/components/index.d.ts +3 -0
- package/dist/umd/esm/constants/breakdown-targets.d.ts +5 -0
- package/dist/umd/esm/constants/campaign.d.ts +1 -0
- package/dist/umd/esm/constants/currency.d.ts +2 -0
- package/dist/umd/esm/constants/index.d.ts +3 -0
- package/dist/umd/esm/core/gemxql/helpers/extractQueryData.d.ts +1 -1
- package/dist/umd/esm/core/gemxql/utils/dayjs.d.ts +2 -0
- package/dist/umd/esm/hooks/index.d.ts +5 -0
- package/dist/umd/esm/hooks/useEnhancedEffect.d.ts +2 -0
- package/dist/umd/esm/hooks/useFormatLineChartData.d.ts +11 -0
- package/dist/umd/esm/hooks/usePopoverResizeObserver.d.ts +7 -0
- package/dist/umd/esm/hooks/useToggle.d.ts +12 -0
- package/dist/umd/esm/hooks/useWindowSize.d.ts +18 -0
- package/dist/umd/esm/index.d.ts +3 -0
- package/dist/umd/esm/providers/MetricChartProvider.d.ts +5 -1
- package/dist/umd/esm/shared/charts/components/ComboChart.d.ts +1 -0
- package/dist/umd/esm/shared/charts/components/GBarChart.d.ts +13 -0
- package/dist/umd/esm/shared/charts/components/GComboChart.d.ts +5 -0
- package/dist/umd/esm/shared/charts/components/GDonutChart.d.ts +5 -0
- package/dist/umd/esm/shared/charts/components/GFunnelChart/GFunnelChart.d.ts +10 -0
- package/dist/umd/esm/shared/charts/components/GFunnelChart/components/FunnelChartAction.d.ts +7 -0
- package/dist/umd/esm/shared/charts/components/GFunnelChart/components/FunnelChartActionIcon.d.ts +9 -0
- package/dist/umd/esm/shared/charts/components/GFunnelChart/components/FunnelChartActionWrapper.d.ts +16 -0
- package/dist/umd/esm/shared/charts/components/GFunnelChart/components/FunnelSelection/FunnelSelectionContent.d.ts +6 -0
- package/dist/umd/esm/shared/charts/components/GFunnelChart/components/FunnelSelection/FunnelSelectionHeader.d.ts +1 -0
- package/dist/umd/esm/shared/charts/components/GFunnelChart/components/FunnelSelection/FunnelSelectionItem.d.ts +9 -0
- package/dist/umd/esm/shared/charts/components/GFunnelChart/components/FunnelSelection/FunnelSelectionPopover.d.ts +22 -0
- package/dist/umd/esm/shared/charts/components/GFunnelChart/components/FunnelSelection/index.d.ts +1 -0
- package/dist/umd/esm/shared/charts/components/GFunnelChart/components/FunnelSelection/type.d.ts +7 -0
- package/dist/umd/esm/shared/charts/components/GFunnelChart/components/types.d.ts +23 -0
- package/dist/umd/esm/shared/charts/components/GFunnelChart/index.d.ts +3 -0
- package/dist/umd/esm/shared/charts/components/GFunnelChart/types.d.ts +11 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/Arc/Arc.d.ts +16 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/Arc/index.d.ts +1 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/ChartContainer/ChartContainer.d.ts +17 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/ChartContainer/hooks/useContainerBounds.d.ts +11 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/ChartContainer/index.d.ts +1 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/ChartElements/ChartDiv.d.ts +9 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/ChartElements/ChartSVG.d.ts +12 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/ChartElements/index.d.ts +6 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/ChartErrorBoundary/ChartErrorBoundary.d.ts +25 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/ChartErrorBoundary/index.d.ts +1 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/ChartErrorBoundary/utilities/checkForMismatchedData.d.ts +2 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/ChartSkeleton/ChartSkeleton.d.ts +31 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/DonutSkeleton/DonutSkeleton.d.ts +7 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/DonutSkeleton/index.d.ts +1 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/ErrorText/ErrorText.d.ts +7 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/ErrorText/index.d.ts +1 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/FunnelSkeleton/FunnelSkeleton.d.ts +7 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/FunnelSkeleton/index.d.ts +1 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/GridSkeleton/GridSkeleton.d.ts +7 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/GridSkeleton/index.d.ts +1 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/Shimmer/Shimmer.d.ts +3 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/Shimmer/index.d.ts +1 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/SimpleBarSkeleton/SimpleBarSkeleton.d.ts +7 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/SimpleBarSkeleton/index.d.ts +1 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/SimpleNormalizedSkeleton/SimpleNormalizedSkeleton.d.ts +10 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/SimpleNormalizedSkeleton/index.d.ts +1 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/SparkSkeleton/SparkSkeleton.d.ts +7 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/SparkSkeleton/index.d.ts +1 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/ChartSkeleton/components/index.d.ts +8 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/ChartSkeleton/index.d.ts +3 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/ConicGradientWithStops/ConicGradientWithStops.d.ts +9 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/ConicGradientWithStops/index.d.ts +1 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/DefaultPreview/DefaultPreview.d.ts +5 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/DefaultPreview/index.d.ts +2 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/FunnelChart/Chart.d.ts +9 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/FunnelChart/FunnelChart.d.ts +12 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/FunnelChart/components/FunnelChartXAxisArrows.d.ts +10 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/FunnelChart/components/FunnelChartXAxisLabels.d.ts +13 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/FunnelChart/components/FunnelSegment.d.ts +17 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/FunnelChart/components/Label.d.ts +14 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/FunnelChart/components/index.d.ts +4 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/FunnelChart/index.d.ts +2 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/FunnelChartNext/Chart.d.ts +20 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/FunnelChartNext/FunnelChartNext.d.ts +25 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/FunnelChartNext/components/FunnelChartLabels/FunnelChartLabels.d.ts +29 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/FunnelChartNext/components/FunnelChartLabels/index.d.ts +1 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/FunnelChartNext/components/FunnelTooltip/FunnelTooltip.d.ts +8 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/FunnelChartNext/components/FunnelTooltip/index.d.ts +2 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/FunnelChartNext/components/ScaleIcon.d.ts +1 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/FunnelChartNext/components/ScaleIconTooltip.d.ts +6 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/FunnelChartNext/components/Tooltip/CustomTooltip.d.ts +10 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/FunnelChartNext/components/Tooltip/Tooltip.d.ts +16 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/FunnelChartNext/components/Tooltip/index.d.ts +1 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/FunnelChartNext/components/TooltipOverlay.d.ts +30 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/FunnelChartNext/components/TooltipWithPortal.d.ts +4 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/FunnelChartNext/components/index.d.ts +7 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/FunnelChartNext/constants.d.ts +19 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/FunnelChartNext/hooks/useTooltipInteraction.d.ts +12 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/FunnelChartNext/hooks/useTooltipPlacement.d.ts +27 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/FunnelChartNext/index.d.ts +4 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/FunnelChartNext/types.d.ts +9 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/FunnelChartNext/utilities/calculate-dropoff.d.ts +1 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/FunnelChartNext/utilities/useBuildFunnelTrends.d.ts +10 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/HorizontalGridLines/HorizontalGridLines.d.ts +10 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/HorizontalGridLines/index.d.ts +1 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/Labels/SingleTextLine.d.ts +14 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/Labels/hooks/index.d.ts +1 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/Labels/hooks/useLabels.d.ts +19 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/Labels/index.d.ts +3 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/Labels/utilities/endLineTruncate.d.ts +9 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/Labels/utilities/endWordTruncate.d.ts +8 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/Labels/utilities/estimateTextHeight.d.ts +8 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/Labels/utilities/formatAndAddEllipsis.d.ts +1 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/Labels/utilities/getDiagonalLabels.d.ts +14 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/Labels/utilities/getHorizontalLabels.d.ts +15 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/Labels/utilities/getVerticalLabels.d.ts +13 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/Labels/utilities/getWidestLabel.d.ts +2 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/Labels/utilities/shouldSkipLabel.d.ts +1 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/Labels/utilities/tests/endWordTruncate.test.d.ts +1 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/Labels/utilities/tests/estimateTextHeight.test.d.ts +1 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/Labels/utilities/tests/formatAndAddEllipsis.test.d.ts +1 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/Labels/utilities/tests/truncateLastLine.test.d.ts +1 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/Labels/utilities/tests/truncateSingleLine.test.d.ts +1 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/Labels/utilities/truncateLabels.d.ts +11 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/Labels/utilities/truncateLastLine.d.ts +9 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/Labels/utilities/truncateSingleLine.d.ts +8 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/LinePreview/LinePreview.d.ts +8 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/LinePreview/constants.d.ts +3 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/LinePreview/index.d.ts +2 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/SwallowErrors/SwallowErrors.d.ts +16 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/SwallowErrors/index.d.ts +1 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/TextLine/TextLine.d.ts +8 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/TextLine/index.d.ts +1 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/TooltipContent/TooltipContent.d.ts +8 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/TooltipContent/components/TooltipContentContainer/TooltipContentContainer.d.ts +13 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/TooltipContent/components/TooltipContentContainer/index.d.ts +1 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/TooltipContent/components/TooltipRow/TooltipRow.d.ts +11 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/TooltipContent/components/TooltipRow/index.d.ts +1 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/TooltipContent/components/TooltipSeries/TooltipSeries.d.ts +7 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/TooltipContent/components/TooltipSeries/index.d.ts +1 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/TooltipContent/components/TooltipSeriesName/TooltipSeriesName.d.ts +5 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/TooltipContent/components/TooltipSeriesName/index.d.ts +1 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/TooltipContent/components/TooltipTitle/TooltipTitle.d.ts +6 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/TooltipContent/components/TooltipTitle/index.d.ts +1 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/TooltipContent/components/index.d.ts +5 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/TooltipContent/constants.d.ts +2 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/TooltipContent/hooks/useGetLongestLabelFromData.d.ts +5 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/TooltipContent/index.d.ts +4 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/TooltipContent/utilities/get-tooltip-template-content-column-count.d.ts +2 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/TooltipContent/utilities/tests/get-tooltip-template-content-column-count.test.d.ts +1 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/TooltipWrapper/TooltipWrapper.d.ts +27 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/TooltipWrapper/components/TooltipAnimatedContainer.d.ts +17 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/TooltipWrapper/constants.d.ts +9 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/TooltipWrapper/index.d.ts +5 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/TooltipWrapper/types.d.ts +53 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/TooltipWrapper/utilities/eventPoint.d.ts +15 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/TooltipWrapper/utilities/getAlteredHorizontalBarPosition.d.ts +2 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/TooltipWrapper/utilities/getAlteredLineChartPosition.d.ts +9 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/TooltipWrapper/utilities/getAlteredVerticalBarPosition.d.ts +2 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/TooltipWrapper/utilities/getDonutChartTooltipPosition.d.ts +8 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/TooltipWrapper/utilities/getHorizontalBarChartTooltipPosition.d.ts +7 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/TooltipWrapper/utilities/getLineChartTooltipPosition.d.ts +11 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/TooltipWrapper/utilities/getVerticalBarChartTooltipPosition.d.ts +10 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/TooltipWrapper/utilities/shouldBlockTooltipEvents.d.ts +1 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/TooltipWrapper/utilities.d.ts +13 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/TrendIndicator/TrendIndicator.d.ts +6 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/TrendIndicator/components/Arrows/ArrowDown.d.ts +1 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/TrendIndicator/components/Arrows/ArrowUp.d.ts +1 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/TrendIndicator/components/Arrows/index.d.ts +2 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/TrendIndicator/components/Svg/Svg.d.ts +10 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/TrendIndicator/components/Svg/index.d.ts +1 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/TrendIndicator/components/index.d.ts +2 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/TrendIndicator/constants.d.ts +8 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/TrendIndicator/index.d.ts +6 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/TrendIndicator/utilities/estimateTrendIndicatorWidth.d.ts +4 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/VerticalBarChart/utilities/index.d.ts +1 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/VerticalBarChart/utilities/sortBarChartData.d.ts +2 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/VerticalGridLines/VerticalGridLines.d.ts +9 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/VerticalGridLines/index.d.ts +1 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/components/index.d.ts +6 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/constants.d.ts +21 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/hooks/index.d.ts +5 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/hooks/useBarSpringConfig.d.ts +12 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/hooks/useBrowserCheck.d.ts +5 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/hooks/useCallbackRef.d.ts +3 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/hooks/useDataForHorizontalChart.d.ts +15 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/hooks/useDebouncedCallback.d.ts +27 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/hooks/useFormattedLabels.d.ts +10 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/hooks/useFunnelBarScaling.d.ts +12 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/hooks/useHorizontalBarSizes.d.ts +15 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/hooks/useHorizontalStackedValues.d.ts +13 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/hooks/useHorizontalTicksAndScale.d.ts +15 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/hooks/useHorizontalXScale.d.ts +21 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/hooks/useIndexForLabels.d.ts +2 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/hooks/usePrefersReducedMotion.d.ts +3 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/hooks/usePrintResizing.d.ts +11 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/hooks/useReducedLabelIndexes.d.ts +5 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/hooks/useResizeObserver.d.ts +6 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/hooks/useRootContainer.d.ts +1 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/hooks/useWatchColorVisionEvents.d.ts +8 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/index.d.ts +7 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/shared/Bar/Bar.d.ts +14 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/shared/Bar/index.d.ts +1 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/shared/FunnelChartConnector/FunnelChartConnector.d.ts +11 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/shared/FunnelChartConnector/FunnelChartConnectorGradient.d.ts +6 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/shared/FunnelChartConnector/constants.d.ts +5 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/shared/FunnelChartConnector/index.d.ts +3 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/shared/FunnelChartSegment/FunnelChartSegment.d.ts +17 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/shared/FunnelChartSegment/components/AnimatedSegment.d.ts +13 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/shared/FunnelChartSegment/components/InteractiveOverlay.d.ts +11 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/shared/FunnelChartSegment/components/ScaledSegment.d.ts +17 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/shared/FunnelChartSegment/constants.d.ts +4 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/shared/FunnelChartSegment/index.d.ts +2 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/shared/SeriesIcon/SeriesIcon.d.ts +8 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/shared/SeriesIcon/index.d.ts +1 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/shared/ZeroValueLine/ZeroValueLine.d.ts +9 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/shared/ZeroValueLine/index.d.ts +1 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/shared/index.d.ts +3 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/types.d.ts +209 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/utilities/base.d.ts +3 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/utilities/classnames.d.ts +1 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/utilities/createCssConicGradient.d.ts +2 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/utilities/createCssGradient.d.ts +2 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/utilities/estimateStringWidthWithOffset.d.ts +1 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/utilities/getAxisOptions.d.ts +3 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/utilities/getCSSBackgroundFromColor.d.ts +2 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/utilities/getChartId.d.ts +1 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/utilities/getFontSize.d.ts +1 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/utilities/getStackedMinMax.d.ts +10 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/utilities/getStackedValues.d.ts +10 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/utilities/getStackedValuesFromDataSeries.d.ts +7 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/utilities/getTrendIndicatorData.d.ts +8 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/utilities/hasHiddenComparisonSeries.d.ts +9 -0
- package/dist/umd/esm/shared/charts/components/GPolarisViz/utilities/index.d.ts +6 -0
- package/dist/umd/esm/shared/charts/components/GSimpleBarChart.d.ts +5 -0
- package/dist/umd/esm/shared/charts/components/index.d.ts +7 -0
- package/dist/umd/esm/shared/charts/constants/chart.d.ts +2 -0
- package/dist/umd/esm/shared/charts/constants/index.d.ts +1 -0
- package/dist/umd/esm/shared/charts/contexts/GChartProvider.d.ts +9 -0
- package/dist/umd/esm/shared/charts/contexts/index.d.ts +1 -0
- package/dist/umd/esm/shared/charts/index.d.ts +4 -0
- package/dist/umd/esm/shared/charts/types/chart.d.ts +35 -0
- package/dist/umd/esm/shared/charts/types/index.d.ts +1 -0
- package/dist/umd/esm/shared/components/GActivatorPopover/GActivatorPopover.d.ts +23 -0
- package/dist/umd/esm/shared/components/GActivatorPopover/index.d.ts +1 -0
- package/dist/umd/esm/shared/components/GButton/GButton.d.ts +19 -0
- package/dist/umd/esm/shared/components/GButton/index.d.ts +1 -0
- package/dist/umd/esm/shared/components/GCheckbox/GCheckbox.d.ts +39 -0
- package/dist/umd/esm/shared/components/GCheckbox/index.d.ts +1 -0
- package/dist/umd/esm/shared/components/GChoice/ChoiceHelpText.d.ts +4 -0
- package/dist/umd/esm/shared/components/GChoice/GChoice.d.ts +44 -0
- package/dist/umd/esm/shared/components/GChoice/index.d.ts +2 -0
- package/dist/umd/esm/shared/components/GClickable/GClickable.d.ts +10 -0
- package/dist/umd/esm/shared/components/GClickable/index.d.ts +1 -0
- package/dist/umd/esm/shared/components/GDiv/GDiv.d.ts +7 -0
- package/dist/umd/esm/shared/components/GDiv/index.d.ts +1 -0
- package/dist/umd/esm/shared/components/GI18NText/GI18NText.d.ts +2 -0
- package/dist/umd/esm/shared/components/GI18NText/index.d.ts +2 -0
- package/dist/umd/esm/shared/components/GI18NText/types.d.ts +6 -0
- package/dist/umd/esm/shared/components/GOptionList/GOptionList.d.ts +11 -0
- package/dist/umd/esm/shared/components/GOptionList/index.d.ts +1 -0
- package/dist/umd/esm/shared/components/GSelector/GSelector.d.ts +27 -0
- package/dist/umd/esm/shared/components/GSelector/index.d.ts +1 -0
- package/dist/umd/esm/shared/components/GTextLink/GTextLink.d.ts +9 -0
- package/dist/umd/esm/shared/components/GTextLink/index.d.ts +1 -0
- package/dist/umd/esm/shared/components/GTimePicker/GTimePicker.d.ts +17 -0
- package/dist/umd/esm/shared/components/GTimePicker/components/BaseTimePicker.d.ts +10 -0
- package/dist/umd/esm/shared/components/GTimePicker/components/CompareTimePicker.d.ts +5 -0
- package/dist/umd/esm/shared/components/GTimePicker/components/DateTimeFilterAddition.d.ts +2 -0
- package/dist/umd/esm/shared/components/GTimePicker/components/DateTimeFilterInputs.d.ts +9 -0
- package/dist/umd/esm/shared/components/GTimePicker/components/DateTimeFilters.d.ts +15 -0
- package/dist/umd/esm/shared/components/GTimePicker/components/MainTimePicker.d.ts +3 -0
- package/dist/umd/esm/shared/components/GTimePicker/components/index.d.ts +2 -0
- package/dist/umd/esm/shared/components/GTimePicker/constants/compareDateTimePicker.d.ts +12 -0
- package/dist/umd/esm/shared/components/GTimePicker/constants/datePicker.d.ts +14 -0
- package/dist/umd/esm/shared/components/GTimePicker/constants/index.d.ts +2 -0
- package/dist/umd/esm/shared/components/GTimePicker/constants/mainDataTimePicker.d.ts +14 -0
- package/dist/umd/esm/shared/components/GTimePicker/contexts/DateTimePickerProvider.d.ts +15 -0
- package/dist/umd/esm/shared/components/GTimePicker/contexts/index.d.ts +1 -0
- package/dist/umd/esm/shared/components/GTimePicker/helpers/date-range-info.d.ts +16 -0
- package/dist/umd/esm/shared/components/GTimePicker/helpers/index.d.ts +4 -0
- package/dist/umd/esm/shared/components/GTimePicker/helpers/parse-date.d.ts +24 -0
- package/dist/umd/esm/shared/components/GTimePicker/helpers/time-picker.d.ts +76 -0
- package/dist/umd/esm/shared/components/GTimePicker/helpers/version.d.ts +2 -0
- package/dist/umd/esm/shared/components/GTimePicker/hooks/index.d.ts +3 -0
- package/dist/umd/esm/shared/components/GTimePicker/hooks/useCompareDateTimePicker.d.ts +26 -0
- package/dist/umd/esm/shared/components/GTimePicker/hooks/useDateTimeFilter.d.ts +18 -0
- package/dist/umd/esm/shared/components/GTimePicker/hooks/useDateTimePicker.d.ts +30 -0
- package/dist/umd/esm/shared/components/GTimePicker/hooks/useVersionDateTimeFilters.d.ts +9 -0
- package/dist/umd/esm/shared/components/GTimePicker/index.d.ts +7 -0
- package/dist/umd/esm/shared/components/GTimePicker/types/index.d.ts +38 -0
- package/dist/umd/esm/shared/components/GTooltip/GTooltip.d.ts +22 -0
- package/dist/umd/esm/shared/components/GTooltip/index.d.ts +2 -0
- package/dist/umd/esm/shared/components/GViewBySelector/GViewBySelector.d.ts +17 -0
- package/dist/umd/esm/shared/components/GViewBySelector/index.d.ts +1 -0
- package/dist/umd/esm/shared/components/index.d.ts +14 -1
- package/dist/umd/esm/types/analytic-mode.d.ts +5 -0
- package/dist/umd/esm/types/chart.d.ts +15 -1
- package/dist/umd/esm/types/currency.d.ts +329 -0
- package/dist/umd/esm/types/index.d.ts +2 -0
- package/dist/umd/esm/types/metric.d.ts +31 -1
- package/dist/umd/esm/utils/index.d.ts +1 -0
- package/dist/umd/esm/utils/number.d.ts +1 -0
- package/dist/umd/esm/utils/sort.d.ts +13 -0
- package/dist/umd/index.js +1 -1
- package/dist/umd/types.js +1 -1
- package/package.json +9 -1
|
@@ -0,0 +1,329 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ISO 4217 currency codes supported by Shopify.
|
|
3
|
+
* Ported from the Shopify Admin API types so the analytics SDK stays host-agnostic.
|
|
4
|
+
*/
|
|
5
|
+
export type CurrencyCode =
|
|
6
|
+
/** United Arab Emirates Dirham (AED). */
|
|
7
|
+
'AED'
|
|
8
|
+
/** Afghan Afghani (AFN). */
|
|
9
|
+
| 'AFN'
|
|
10
|
+
/** Albanian Lek (ALL). */
|
|
11
|
+
| 'ALL'
|
|
12
|
+
/** Armenian Dram (AMD). */
|
|
13
|
+
| 'AMD'
|
|
14
|
+
/** Netherlands Antillean Guilder. */
|
|
15
|
+
| 'ANG'
|
|
16
|
+
/** Angolan Kwanza (AOA). */
|
|
17
|
+
| 'AOA'
|
|
18
|
+
/** Argentine Pesos (ARS). */
|
|
19
|
+
| 'ARS'
|
|
20
|
+
/** Australian Dollars (AUD). */
|
|
21
|
+
| 'AUD'
|
|
22
|
+
/** Aruban Florin (AWG). */
|
|
23
|
+
| 'AWG'
|
|
24
|
+
/** Azerbaijani Manat (AZN). */
|
|
25
|
+
| 'AZN'
|
|
26
|
+
/** Bosnia and Herzegovina Convertible Mark (BAM). */
|
|
27
|
+
| 'BAM'
|
|
28
|
+
/** Barbadian Dollar (BBD). */
|
|
29
|
+
| 'BBD'
|
|
30
|
+
/** Bangladesh Taka (BDT). */
|
|
31
|
+
| 'BDT'
|
|
32
|
+
/** Bulgarian Lev (BGN). */
|
|
33
|
+
| 'BGN'
|
|
34
|
+
/** Bahraini Dinar (BHD). */
|
|
35
|
+
| 'BHD'
|
|
36
|
+
/** Burundian Franc (BIF). */
|
|
37
|
+
| 'BIF'
|
|
38
|
+
/** Bermudian Dollar (BMD). */
|
|
39
|
+
| 'BMD'
|
|
40
|
+
/** Brunei Dollar (BND). */
|
|
41
|
+
| 'BND'
|
|
42
|
+
/** Bolivian Boliviano (BOB). */
|
|
43
|
+
| 'BOB'
|
|
44
|
+
/** Brazilian Real (BRL). */
|
|
45
|
+
| 'BRL'
|
|
46
|
+
/** Bahamian Dollar (BSD). */
|
|
47
|
+
| 'BSD'
|
|
48
|
+
/** Bhutanese Ngultrum (BTN). */
|
|
49
|
+
| 'BTN'
|
|
50
|
+
/** Botswana Pula (BWP). */
|
|
51
|
+
| 'BWP'
|
|
52
|
+
/** Belarusian Ruble (BYN). */
|
|
53
|
+
| 'BYN'
|
|
54
|
+
/** Belarusian Ruble (BYR). */
|
|
55
|
+
| 'BYR'
|
|
56
|
+
/** Belize Dollar (BZD). */
|
|
57
|
+
| 'BZD'
|
|
58
|
+
/** Canadian Dollars (CAD). */
|
|
59
|
+
| 'CAD'
|
|
60
|
+
/** Congolese franc (CDF). */
|
|
61
|
+
| 'CDF'
|
|
62
|
+
/** Swiss Francs (CHF). */
|
|
63
|
+
| 'CHF'
|
|
64
|
+
/** Chilean Peso (CLP). */
|
|
65
|
+
| 'CLP'
|
|
66
|
+
/** Chinese Yuan Renminbi (CNY). */
|
|
67
|
+
| 'CNY'
|
|
68
|
+
/** Colombian Peso (COP). */
|
|
69
|
+
| 'COP'
|
|
70
|
+
/** Costa Rican Colones (CRC). */
|
|
71
|
+
| 'CRC'
|
|
72
|
+
/** Cape Verdean escudo (CVE). */
|
|
73
|
+
| 'CVE'
|
|
74
|
+
/** Czech Koruny (CZK). */
|
|
75
|
+
| 'CZK'
|
|
76
|
+
/** Djiboutian Franc (DJF). */
|
|
77
|
+
| 'DJF'
|
|
78
|
+
/** Danish Kroner (DKK). */
|
|
79
|
+
| 'DKK'
|
|
80
|
+
/** Dominican Peso (DOP). */
|
|
81
|
+
| 'DOP'
|
|
82
|
+
/** Algerian Dinar (DZD). */
|
|
83
|
+
| 'DZD'
|
|
84
|
+
/** Egyptian Pound (EGP). */
|
|
85
|
+
| 'EGP'
|
|
86
|
+
/** Eritrean Nakfa (ERN). */
|
|
87
|
+
| 'ERN'
|
|
88
|
+
/** Ethiopian Birr (ETB). */
|
|
89
|
+
| 'ETB'
|
|
90
|
+
/** Euro (EUR). */
|
|
91
|
+
| 'EUR'
|
|
92
|
+
/** Fijian Dollars (FJD). */
|
|
93
|
+
| 'FJD'
|
|
94
|
+
/** Falkland Islands Pounds (FKP). */
|
|
95
|
+
| 'FKP'
|
|
96
|
+
/** United Kingdom Pounds (GBP). */
|
|
97
|
+
| 'GBP'
|
|
98
|
+
/** Georgian Lari (GEL). */
|
|
99
|
+
| 'GEL'
|
|
100
|
+
/** Ghanaian Cedi (GHS). */
|
|
101
|
+
| 'GHS'
|
|
102
|
+
/** Gibraltar Pounds (GIP). */
|
|
103
|
+
| 'GIP'
|
|
104
|
+
/** Gambian Dalasi (GMD). */
|
|
105
|
+
| 'GMD'
|
|
106
|
+
/** Guinean Franc (GNF). */
|
|
107
|
+
| 'GNF'
|
|
108
|
+
/** Guatemalan Quetzal (GTQ). */
|
|
109
|
+
| 'GTQ'
|
|
110
|
+
/** Guyanese Dollar (GYD). */
|
|
111
|
+
| 'GYD'
|
|
112
|
+
/** Hong Kong Dollars (HKD). */
|
|
113
|
+
| 'HKD'
|
|
114
|
+
/** Honduran Lempira (HNL). */
|
|
115
|
+
| 'HNL'
|
|
116
|
+
/** Croatian Kuna (HRK). */
|
|
117
|
+
| 'HRK'
|
|
118
|
+
/** Haitian Gourde (HTG). */
|
|
119
|
+
| 'HTG'
|
|
120
|
+
/** Hungarian Forint (HUF). */
|
|
121
|
+
| 'HUF'
|
|
122
|
+
/** Indonesian Rupiah (IDR). */
|
|
123
|
+
| 'IDR'
|
|
124
|
+
/** Israeli New Shekel (NIS). */
|
|
125
|
+
| 'ILS'
|
|
126
|
+
/** Indian Rupees (INR). */
|
|
127
|
+
| 'INR'
|
|
128
|
+
/** Iraqi Dinar (IQD). */
|
|
129
|
+
| 'IQD'
|
|
130
|
+
/** Iranian Rial (IRR). */
|
|
131
|
+
| 'IRR'
|
|
132
|
+
/** Icelandic Kronur (ISK). */
|
|
133
|
+
| 'ISK'
|
|
134
|
+
/** Jersey Pound. */
|
|
135
|
+
| 'JEP'
|
|
136
|
+
/** Jamaican Dollars (JMD). */
|
|
137
|
+
| 'JMD'
|
|
138
|
+
/** Jordanian Dinar (JOD). */
|
|
139
|
+
| 'JOD'
|
|
140
|
+
/** Japanese Yen (JPY). */
|
|
141
|
+
| 'JPY'
|
|
142
|
+
/** Kenyan Shilling (KES). */
|
|
143
|
+
| 'KES'
|
|
144
|
+
/** Kyrgyzstani Som (KGS). */
|
|
145
|
+
| 'KGS'
|
|
146
|
+
/** Cambodian Riel. */
|
|
147
|
+
| 'KHR'
|
|
148
|
+
/** Kiribati Dollar (KID). */
|
|
149
|
+
| 'KID'
|
|
150
|
+
/** Comorian Franc (KMF). */
|
|
151
|
+
| 'KMF'
|
|
152
|
+
/** South Korean Won (KRW). */
|
|
153
|
+
| 'KRW'
|
|
154
|
+
/** Kuwaiti Dinar (KWD). */
|
|
155
|
+
| 'KWD'
|
|
156
|
+
/** Cayman Dollars (KYD). */
|
|
157
|
+
| 'KYD'
|
|
158
|
+
/** Kazakhstani Tenge (KZT). */
|
|
159
|
+
| 'KZT'
|
|
160
|
+
/** Laotian Kip (LAK). */
|
|
161
|
+
| 'LAK'
|
|
162
|
+
/** Lebanese Pounds (LBP). */
|
|
163
|
+
| 'LBP'
|
|
164
|
+
/** Sri Lankan Rupees (LKR). */
|
|
165
|
+
| 'LKR'
|
|
166
|
+
/** Liberian Dollar (LRD). */
|
|
167
|
+
| 'LRD'
|
|
168
|
+
/** Lesotho Loti (LSL). */
|
|
169
|
+
| 'LSL'
|
|
170
|
+
/** Lithuanian Litai (LTL). */
|
|
171
|
+
| 'LTL'
|
|
172
|
+
/** Latvian Lati (LVL). */
|
|
173
|
+
| 'LVL'
|
|
174
|
+
/** Libyan Dinar (LYD). */
|
|
175
|
+
| 'LYD'
|
|
176
|
+
/** Moroccan Dirham. */
|
|
177
|
+
| 'MAD'
|
|
178
|
+
/** Moldovan Leu (MDL). */
|
|
179
|
+
| 'MDL'
|
|
180
|
+
/** Malagasy Ariary (MGA). */
|
|
181
|
+
| 'MGA'
|
|
182
|
+
/** Macedonia Denar (MKD). */
|
|
183
|
+
| 'MKD'
|
|
184
|
+
/** Burmese Kyat (MMK). */
|
|
185
|
+
| 'MMK'
|
|
186
|
+
/** Mongolian Tugrik. */
|
|
187
|
+
| 'MNT'
|
|
188
|
+
/** Macanese Pataca (MOP). */
|
|
189
|
+
| 'MOP'
|
|
190
|
+
/** Mauritanian Ouguiya (MRU). */
|
|
191
|
+
| 'MRU'
|
|
192
|
+
/** Mauritian Rupee (MUR). */
|
|
193
|
+
| 'MUR'
|
|
194
|
+
/** Maldivian Rufiyaa (MVR). */
|
|
195
|
+
| 'MVR'
|
|
196
|
+
/** Malawian Kwacha (MWK). */
|
|
197
|
+
| 'MWK'
|
|
198
|
+
/** Mexican Pesos (MXN). */
|
|
199
|
+
| 'MXN'
|
|
200
|
+
/** Malaysian Ringgits (MYR). */
|
|
201
|
+
| 'MYR'
|
|
202
|
+
/** Mozambican Metical. */
|
|
203
|
+
| 'MZN'
|
|
204
|
+
/** Namibian Dollar. */
|
|
205
|
+
| 'NAD'
|
|
206
|
+
/** Nigerian Naira (NGN). */
|
|
207
|
+
| 'NGN'
|
|
208
|
+
/** Nicaraguan Córdoba (NIO). */
|
|
209
|
+
| 'NIO'
|
|
210
|
+
/** Norwegian Kroner (NOK). */
|
|
211
|
+
| 'NOK'
|
|
212
|
+
/** Nepalese Rupee (NPR). */
|
|
213
|
+
| 'NPR'
|
|
214
|
+
/** New Zealand Dollars (NZD). */
|
|
215
|
+
| 'NZD'
|
|
216
|
+
/** Omani Rial (OMR). */
|
|
217
|
+
| 'OMR'
|
|
218
|
+
/** Panamian Balboa (PAB). */
|
|
219
|
+
| 'PAB'
|
|
220
|
+
/** Peruvian Nuevo Sol (PEN). */
|
|
221
|
+
| 'PEN'
|
|
222
|
+
/** Papua New Guinean Kina (PGK). */
|
|
223
|
+
| 'PGK'
|
|
224
|
+
/** Philippine Peso (PHP). */
|
|
225
|
+
| 'PHP'
|
|
226
|
+
/** Pakistani Rupee (PKR). */
|
|
227
|
+
| 'PKR'
|
|
228
|
+
/** Polish Zlotych (PLN). */
|
|
229
|
+
| 'PLN'
|
|
230
|
+
/** Paraguayan Guarani (PYG). */
|
|
231
|
+
| 'PYG'
|
|
232
|
+
/** Qatari Rial (QAR). */
|
|
233
|
+
| 'QAR'
|
|
234
|
+
/** Romanian Lei (RON). */
|
|
235
|
+
| 'RON'
|
|
236
|
+
/** Serbian dinar (RSD). */
|
|
237
|
+
| 'RSD'
|
|
238
|
+
/** Russian Rubles (RUB). */
|
|
239
|
+
| 'RUB'
|
|
240
|
+
/** Rwandan Franc (RWF). */
|
|
241
|
+
| 'RWF'
|
|
242
|
+
/** Saudi Riyal (SAR). */
|
|
243
|
+
| 'SAR'
|
|
244
|
+
/** Solomon Islands Dollar (SBD). */
|
|
245
|
+
| 'SBD'
|
|
246
|
+
/** Seychellois Rupee (SCR). */
|
|
247
|
+
| 'SCR'
|
|
248
|
+
/** Sudanese Pound (SDG). */
|
|
249
|
+
| 'SDG'
|
|
250
|
+
/** Swedish Kronor (SEK). */
|
|
251
|
+
| 'SEK'
|
|
252
|
+
/** Singapore Dollars (SGD). */
|
|
253
|
+
| 'SGD'
|
|
254
|
+
/** Saint Helena Pounds (SHP). */
|
|
255
|
+
| 'SHP'
|
|
256
|
+
/** Sierra Leonean Leone (SLL). */
|
|
257
|
+
| 'SLL'
|
|
258
|
+
/** Somali Shilling (SOS). */
|
|
259
|
+
| 'SOS'
|
|
260
|
+
/** Surinamese Dollar (SRD). */
|
|
261
|
+
| 'SRD'
|
|
262
|
+
/** South Sudanese Pound (SSP). */
|
|
263
|
+
| 'SSP'
|
|
264
|
+
/** Sao Tome And Principe Dobra (STD). */
|
|
265
|
+
| 'STD'
|
|
266
|
+
/** Sao Tome And Principe Dobra (STN). */
|
|
267
|
+
| 'STN'
|
|
268
|
+
/** Syrian Pound (SYP). */
|
|
269
|
+
| 'SYP'
|
|
270
|
+
/** Swazi Lilangeni (SZL). */
|
|
271
|
+
| 'SZL'
|
|
272
|
+
/** Thai baht (THB). */
|
|
273
|
+
| 'THB'
|
|
274
|
+
/** Tajikistani Somoni (TJS). */
|
|
275
|
+
| 'TJS'
|
|
276
|
+
/** Turkmenistani Manat (TMT). */
|
|
277
|
+
| 'TMT'
|
|
278
|
+
/** Tunisian Dinar (TND). */
|
|
279
|
+
| 'TND'
|
|
280
|
+
/** Tongan Pa'anga (TOP). */
|
|
281
|
+
| 'TOP'
|
|
282
|
+
/** Turkish Lira (TRY). */
|
|
283
|
+
| 'TRY'
|
|
284
|
+
/** Trinidad and Tobago Dollars (TTD). */
|
|
285
|
+
| 'TTD'
|
|
286
|
+
/** Taiwan Dollars (TWD). */
|
|
287
|
+
| 'TWD'
|
|
288
|
+
/** Tanzanian Shilling (TZS). */
|
|
289
|
+
| 'TZS'
|
|
290
|
+
/** Ukrainian Hryvnia (UAH). */
|
|
291
|
+
| 'UAH'
|
|
292
|
+
/** Ugandan Shilling (UGX). */
|
|
293
|
+
| 'UGX'
|
|
294
|
+
/** United States Dollars (USD). */
|
|
295
|
+
| 'USD'
|
|
296
|
+
/** United States Dollars Coin (USDC). */
|
|
297
|
+
| 'USDC'
|
|
298
|
+
/** Uruguayan Pesos (UYU). */
|
|
299
|
+
| 'UYU'
|
|
300
|
+
/** Uzbekistan som (UZS). */
|
|
301
|
+
| 'UZS'
|
|
302
|
+
/** Venezuelan Bolivares (VED). */
|
|
303
|
+
| 'VED'
|
|
304
|
+
/** Venezuelan Bolivares (VEF). */
|
|
305
|
+
| 'VEF'
|
|
306
|
+
/** Venezuelan Bolivares Soberanos (VES). */
|
|
307
|
+
| 'VES'
|
|
308
|
+
/** Vietnamese đồng (VND). */
|
|
309
|
+
| 'VND'
|
|
310
|
+
/** Vanuatu Vatu (VUV). */
|
|
311
|
+
| 'VUV'
|
|
312
|
+
/** Samoan Tala (WST). */
|
|
313
|
+
| 'WST'
|
|
314
|
+
/** Central African CFA Franc (XAF). */
|
|
315
|
+
| 'XAF'
|
|
316
|
+
/** East Caribbean Dollar (XCD). */
|
|
317
|
+
| 'XCD'
|
|
318
|
+
/** West African CFA franc (XOF). */
|
|
319
|
+
| 'XOF'
|
|
320
|
+
/** CFP Franc (XPF). */
|
|
321
|
+
| 'XPF'
|
|
322
|
+
/** Unrecognized currency. */
|
|
323
|
+
| 'XXX'
|
|
324
|
+
/** Yemeni Rial (YER). */
|
|
325
|
+
| 'YER'
|
|
326
|
+
/** South African Rand (ZAR). */
|
|
327
|
+
| 'ZAR'
|
|
328
|
+
/** Zambian Kwacha (ZMW). */
|
|
329
|
+
| 'ZMW';
|
|
@@ -14,7 +14,10 @@ export declare enum EMetricKey {
|
|
|
14
14
|
CART_ADDITION = "sessions_with_cart_additions",
|
|
15
15
|
AOV = "aov",
|
|
16
16
|
REVENUE = "revenue",
|
|
17
|
-
RPV = "revenue_per_visitor"
|
|
17
|
+
RPV = "revenue_per_visitor",
|
|
18
|
+
VISITOR_ITEMS = "visitor_items",
|
|
19
|
+
DEVICE_ITEMS = "device_items",
|
|
20
|
+
TRAFFIC_SOURCE_ITEMS = "traffic_source_items"
|
|
18
21
|
}
|
|
19
22
|
export interface IMetricControl {
|
|
20
23
|
value: string | number | null;
|
|
@@ -25,3 +28,30 @@ export interface IMetricCardItem {
|
|
|
25
28
|
title: string;
|
|
26
29
|
totalValue: IMetricControl;
|
|
27
30
|
}
|
|
31
|
+
export interface IAnalyticStat {
|
|
32
|
+
totalCount?: number | null;
|
|
33
|
+
type?: string | null;
|
|
34
|
+
}
|
|
35
|
+
export interface IAnalyticMetric {
|
|
36
|
+
date?: string | null;
|
|
37
|
+
totalAddedToCart?: number | null;
|
|
38
|
+
totalClicked?: number | null;
|
|
39
|
+
totalClickedHasHref?: number | null;
|
|
40
|
+
totalOrders?: number | null;
|
|
41
|
+
totalPageViewed?: number | null;
|
|
42
|
+
totalPageViewedHaveTimeOnPage?: number | null;
|
|
43
|
+
totalReachedCheckout?: number | null;
|
|
44
|
+
totalRevenue?: number | null;
|
|
45
|
+
totalSessions?: number | null;
|
|
46
|
+
totalSessionsThatCompletedCheckout?: number | null;
|
|
47
|
+
totalSessionsThatReachedAndCompletedCheckout?: number | null;
|
|
48
|
+
totalSessionsThatReachedCheckout?: number | null;
|
|
49
|
+
totalSessionsWithCartAdditions?: number | null;
|
|
50
|
+
totalSessionsWithoutAction?: number | null;
|
|
51
|
+
totalTimeOnPage?: number | null;
|
|
52
|
+
totalVisitors?: number | null;
|
|
53
|
+
channels?: Array<IAnalyticStat | null> | null;
|
|
54
|
+
devices?: Array<IAnalyticStat | null> | null;
|
|
55
|
+
visitors?: Array<IAnalyticStat | null> | null;
|
|
56
|
+
variantKey?: string;
|
|
57
|
+
}
|
package/dist/esm/types.js
CHANGED
|
@@ -16,6 +16,16 @@ var EMetricKey;
|
|
|
16
16
|
EMetricKey["AOV"] = "aov";
|
|
17
17
|
EMetricKey["REVENUE"] = "revenue";
|
|
18
18
|
EMetricKey["RPV"] = "revenue_per_visitor";
|
|
19
|
+
EMetricKey["VISITOR_ITEMS"] = "visitor_items";
|
|
20
|
+
EMetricKey["DEVICE_ITEMS"] = "device_items";
|
|
21
|
+
EMetricKey["TRAFFIC_SOURCE_ITEMS"] = "traffic_source_items";
|
|
19
22
|
})(EMetricKey || (EMetricKey = {}));
|
|
20
23
|
|
|
21
|
-
|
|
24
|
+
var EAnalyticMode;
|
|
25
|
+
(function (EAnalyticMode) {
|
|
26
|
+
EAnalyticMode["ALL_SESSION"] = "ALL_SESSION";
|
|
27
|
+
EAnalyticMode["FIRST_SESSION"] = "FIRST_SESSION";
|
|
28
|
+
EAnalyticMode["PAGE_ONLY"] = "PAGE_ONLY";
|
|
29
|
+
})(EAnalyticMode || (EAnalyticMode = {}));
|
|
30
|
+
|
|
31
|
+
export { EAnalyticMode, EMetricKey };
|
package/dist/esm/types.mjs
CHANGED
|
@@ -16,6 +16,16 @@ var EMetricKey;
|
|
|
16
16
|
EMetricKey["AOV"] = "aov";
|
|
17
17
|
EMetricKey["REVENUE"] = "revenue";
|
|
18
18
|
EMetricKey["RPV"] = "revenue_per_visitor";
|
|
19
|
+
EMetricKey["VISITOR_ITEMS"] = "visitor_items";
|
|
20
|
+
EMetricKey["DEVICE_ITEMS"] = "device_items";
|
|
21
|
+
EMetricKey["TRAFFIC_SOURCE_ITEMS"] = "traffic_source_items";
|
|
19
22
|
})(EMetricKey || (EMetricKey = {}));
|
|
20
23
|
|
|
21
|
-
|
|
24
|
+
var EAnalyticMode;
|
|
25
|
+
(function (EAnalyticMode) {
|
|
26
|
+
EAnalyticMode["ALL_SESSION"] = "ALL_SESSION";
|
|
27
|
+
EAnalyticMode["FIRST_SESSION"] = "FIRST_SESSION";
|
|
28
|
+
EAnalyticMode["PAGE_ONLY"] = "PAGE_ONLY";
|
|
29
|
+
})(EAnalyticMode || (EAnalyticMode = {}));
|
|
30
|
+
|
|
31
|
+
export { EAnalyticMode, EMetricKey };
|
|
@@ -3,3 +3,4 @@ export declare const DEFAULT_DECIMALS = 2;
|
|
|
3
3
|
export declare const trimDecimalZeros: (number?: string) => string;
|
|
4
4
|
export declare const cleanDecimal: (number: number, decimals?: number) => string;
|
|
5
5
|
export declare const semverToNum: (v: string) => number;
|
|
6
|
+
export declare const numberWithCommas: (x: string | number) => string;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type SortOrder = 'asc' | 'desc';
|
|
2
|
+
export interface SortOptions<T> {
|
|
3
|
+
attr: keyof T | string;
|
|
4
|
+
order?: SortOrder;
|
|
5
|
+
backupAttr?: keyof T;
|
|
6
|
+
preferredValue?: string | number | boolean;
|
|
7
|
+
orderArrayAttr?: keyof T;
|
|
8
|
+
orderArray?: Record<SortOrder, string[]>;
|
|
9
|
+
}
|
|
10
|
+
export declare function compareValues(a: unknown, b: unknown, order?: SortOrder): number;
|
|
11
|
+
export declare function getNestedValue<T>(obj: T, path: keyof T | string): unknown;
|
|
12
|
+
export declare function sortByCondition<T>(array: T[], options: SortOptions<T>): T[];
|
|
13
|
+
export declare function sortByConditions<T>(array: T[], optionsArray: SortOptions<T>[]): T[];
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.sticky{position:sticky}.flex{display:flex}.grid{display:grid}.hidden{display:none}.h-\[20px\]{height:20px}.h-\[2px\]{height:2px}.h-\[80px\]{height:80px}.w-\[12px\]{width:12px}.w-\[20px\]{width:20px}.w-\[210px\]{width:210px}.w-\[320px\]{width:320px}.w-\[328px\]{width:328px}.w-\[80px\]{width:80px}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.min-w-\[175px\]{min-width:175px}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-\[10px\]{border-radius:10px}.rounded-md{border-radius:.375rem}.border{border-width:1px}.border-dashed{border-style:dashed}.border-\[\#A1CAE7\]{--tw-border-opacity:1;border-color:rgb(161 202 231/var(--tw-border-opacity))}.bg-\[\#4FA9EA\]{--tw-bg-opacity:1;background-color:rgb(79 169 234/var(--tw-bg-opacity))}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.grayscale{--tw-grayscale:grayscale(100%)}.filter,.
|
|
1
|
+
.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.\!grid{display:grid!important}.grid{display:grid}.hidden{display:none}.h-7{height:1.75rem}.h-\[20px\]{height:20px}.h-\[2px\]{height:2px}.h-\[80px\]{height:80px}.h-\[8px\]{height:8px}.h-\[92px\]{height:92px}.h-full{height:100%}.max-h-\[250px\]{max-height:250px}.w-\[12px\]{width:12px}.w-\[20px\]{width:20px}.w-\[210px\]{width:210px}.w-\[320px\]{width:320px}.w-\[328px\]{width:328px}.w-\[50px\]{width:50px}.w-\[80px\]{width:80px}.w-\[8px\]{width:8px}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.min-w-0{min-width:0}.min-w-\[175px\]{min-width:175px}.min-w-\[184px\]{min-width:184px}.max-w-\[100\%\]{max-width:100%}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize{resize:both}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-\[2px\]{gap:2px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-\[10px\]{border-radius:10px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.border{border-width:1px}.border-dashed{border-style:dashed}.border-\[\#A1CAE7\]{--tw-border-opacity:1;border-color:rgb(161 202 231/var(--tw-border-opacity))}.bg-\[\#4FA9EA\]{--tw-bg-opacity:1;background-color:rgb(79 169 234/var(--tw-bg-opacity))}.bg-\[\#F1F1F1\]{--tw-bg-opacity:1;background-color:rgb(241 241 241/var(--tw-bg-opacity))}.bg-\[\#f7f7f7\]{--tw-bg-opacity:1;background-color:rgb(247 247 247/var(--tw-bg-opacity))}.object-contain{-o-object-fit:contain;object-fit:contain}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-3{padding-left:.75rem;padding-right:.75rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.py-2\.5{padding-bottom:.625rem;padding-top:.625rem}.pl-4{padding-left:1rem}.pr-\[5px\]{padding-right:5px}.text-right{text-align:right}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.capitalize{text-transform:capitalize}.text-\[var\(--p-color-text\)\]{color:var(--p-color-text)}.text-\[var\(--p-color-text-disabled\)\]{color:var(--p-color-text-disabled)}.text-\[var\(--p-color-text-subdued\)\]{color:var(--p-color-text-subdued)}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.drop-shadow{--tw-drop-shadow:drop-shadow(0 1px 2px rgba(0,0,0,.1)) drop-shadow(0 1px 1px rgba(0,0,0,.06))}.drop-shadow,.grayscale{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.grayscale{--tw-grayscale:grayscale(100%)}.invert{--tw-invert:invert(100%)}.filter,.invert{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\:cursor-pointer:hover{cursor:pointer}.hover\:bg-\[\#F1F1F1\]:hover{--tw-bg-opacity:1;background-color:rgb(241 241 241/var(--tw-bg-opacity))}.hover\:text-\[--p-color-text-link-hover\]:hover{color:var(--p-color-text-link-hover)}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EAnalyticMode } from '@/types';
|
|
2
|
+
export interface AnalyticModeSelectorProps {
|
|
3
|
+
activatorText?: string;
|
|
4
|
+
value?: EAnalyticMode;
|
|
5
|
+
onChange: (value: EAnalyticMode) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const VIEW_BY_OPTIONS: {
|
|
8
|
+
id: EAnalyticMode;
|
|
9
|
+
content: string;
|
|
10
|
+
helpText: string;
|
|
11
|
+
icon: string;
|
|
12
|
+
}[];
|
|
13
|
+
export declare const AnalyticModeSelector: ({ activatorText, value, onChange }: AnalyticModeSelectorProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { GSelectorProps } from '@/shared';
|
|
2
|
+
import type { CurrencyCode } from '@/types';
|
|
3
|
+
export interface CurrencySelectorProps {
|
|
4
|
+
currencies?: CurrencyCode[];
|
|
5
|
+
selected?: CurrencyCode;
|
|
6
|
+
preferredAlignment?: GSelectorProps['preferredAlignment'];
|
|
7
|
+
activatorText?: string;
|
|
8
|
+
onSelect?: (value: CurrencyCode) => void;
|
|
9
|
+
}
|
|
10
|
+
export declare const CurrencySelector: ({ currencies, selected, preferredAlignment, activatorText, onSelect, }: CurrencySelectorProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ColumnTypesMap } from '@/core/gemxql';
|
|
2
|
+
import type { AllChartsDataMap, EMetricKey, IMetricCardItem } from '@/types';
|
|
2
3
|
import type { ReactElement } from 'react';
|
|
3
4
|
export interface IProps {
|
|
4
5
|
metricInfo: IMetricCardItem[];
|
|
5
6
|
dataChart: AllChartsDataMap;
|
|
6
|
-
defaultActiveTab?:
|
|
7
|
+
defaultActiveTab?: EMetricKey;
|
|
7
8
|
isLoading?: boolean;
|
|
8
9
|
isEmptyMetricData?: boolean;
|
|
9
10
|
hideComparison?: boolean;
|
|
10
11
|
currentPeriodLabel?: string;
|
|
11
12
|
previousPeriodLabel?: string;
|
|
13
|
+
columnTypes?: ColumnTypesMap;
|
|
12
14
|
onclickMetric?: (key: string) => void;
|
|
13
15
|
}
|
|
14
|
-
export declare const GSelectableMetricChartCard: ({ metricInfo, dataChart, defaultActiveTab, isLoading, isEmptyMetricData, hideComparison, currentPeriodLabel, previousPeriodLabel, }: IProps) => ReactElement;
|
|
16
|
+
export declare const GSelectableMetricChartCard: ({ metricInfo, dataChart, defaultActiveTab, isLoading, isEmptyMetricData, hideComparison, currentPeriodLabel, previousPeriodLabel, columnTypes, }: IProps) => ReactElement;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { ReactElement } from 'react';
|
|
2
|
-
import type { IMetricCardItem } from '../../types';
|
|
2
|
+
import type { EMetricKey, IMetricCardItem } from '../../types';
|
|
3
3
|
export interface IProps {
|
|
4
4
|
item: IMetricCardItem;
|
|
5
5
|
isActive: boolean;
|
|
6
6
|
isLoading?: boolean;
|
|
7
7
|
hideComparison?: boolean;
|
|
8
|
-
onSelect: (key:
|
|
8
|
+
onSelect: (key: EMetricKey) => void;
|
|
9
9
|
onClickTitle?: (key: string) => void;
|
|
10
10
|
}
|
|
11
11
|
export declare const MetricChartTab: ({ item, isActive, isLoading, hideComparison, onSelect, onClickTitle, }: IProps) => ReactElement;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { IDonutMetricRow, IDonutTarget } from '@/types';
|
|
2
|
+
import type { EMetricKey } from '@/types';
|
|
3
|
+
import type { ReactElement } from 'react';
|
|
4
|
+
export interface IProps {
|
|
5
|
+
label: string;
|
|
6
|
+
metricKey: EMetricKey;
|
|
7
|
+
targets: IDonutTarget[];
|
|
8
|
+
totalsRow?: IDonutMetricRow;
|
|
9
|
+
comparisonTotalsRow?: IDonutMetricRow;
|
|
10
|
+
sort?: boolean;
|
|
11
|
+
isLoading?: boolean;
|
|
12
|
+
isEmptyMetricData?: boolean;
|
|
13
|
+
minHeight?: number;
|
|
14
|
+
onClick: () => void;
|
|
15
|
+
}
|
|
16
|
+
export declare const MetricDonutChartCard: ({ label, metricKey, targets, totalsRow, comparisonTotalsRow, sort, isLoading, isEmptyMetricData, minHeight, onClick, }: IProps) => ReactElement;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { EMetricKey, IDonutMetricRow, IDonutTarget, IMetricDonutChartData } from '@/types';
|
|
2
|
+
import type { IBreakdownItem } from '@/core/gemxql';
|
|
3
|
+
interface IComputeDonutDataParams {
|
|
4
|
+
name: string;
|
|
5
|
+
currentValue: number;
|
|
6
|
+
prevValue: number;
|
|
7
|
+
hasPreviousData: boolean;
|
|
8
|
+
}
|
|
9
|
+
interface IBuildBreakdownDonutDataParams<T extends string> {
|
|
10
|
+
targets: IDonutTarget<T>[];
|
|
11
|
+
metricKey: EMetricKey;
|
|
12
|
+
totalsRow?: IDonutMetricRow;
|
|
13
|
+
comparisonTotalsRow?: IDonutMetricRow;
|
|
14
|
+
sort?: boolean;
|
|
15
|
+
}
|
|
16
|
+
export declare const calculatePercentageChange: (current: number, previous: number) => string | undefined;
|
|
17
|
+
export declare const computeDonutData: ({ name, currentValue, prevValue, hasPreviousData, }: IComputeDonutDataParams) => IMetricDonutChartData;
|
|
18
|
+
export declare const getTotalCountByType: (stats: IBreakdownItem[] | undefined, type: string) => number;
|
|
19
|
+
export declare const buildBreakdownDonutData: <T extends string>({ targets, metricKey, totalsRow, comparisonTotalsRow, sort, }: IBuildBreakdownDonutDataParams<T>) => IMetricDonutChartData[];
|
|
20
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './donut-chart';
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import type { DataSeries } from '@shopify/polaris-viz-core';
|
|
2
2
|
import type { ReactElement } from 'react';
|
|
3
3
|
import type { IMetricCardItem } from '../../types';
|
|
4
|
+
import type { ColumnTypesMap } from '@/core/gemxql';
|
|
4
5
|
export interface IProps {
|
|
5
6
|
metricInfo: IMetricCardItem;
|
|
6
7
|
isLoading?: boolean;
|
|
7
8
|
hideComparison?: boolean;
|
|
8
9
|
isEmptyMetricData?: boolean;
|
|
9
10
|
lineChartData: DataSeries[];
|
|
11
|
+
columnTypes?: ColumnTypesMap;
|
|
10
12
|
onClickTitle?: (key: string) => void;
|
|
11
13
|
}
|
|
12
|
-
export declare const SingleMetricChartCard: ({ metricInfo, lineChartData, isLoading, hideComparison, isEmptyMetricData, onClickTitle, }: IProps) => ReactElement;
|
|
14
|
+
export declare const SingleMetricChartCard: ({ metricInfo, lineChartData, isLoading, hideComparison, columnTypes, isEmptyMetricData, onClickTitle, }: IProps) => ReactElement;
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import type { DataSeries } from '@shopify/polaris-viz';
|
|
2
2
|
import type { ReactElement } from 'react';
|
|
3
|
+
import type { ColumnTypesMap } from '@/core/gemxql';
|
|
4
|
+
import type { EMetricKey } from '@/types';
|
|
3
5
|
export interface IProps {
|
|
4
6
|
lineChartData: DataSeries[];
|
|
5
7
|
isLoading?: boolean;
|
|
6
8
|
isEmptyMetricData?: boolean;
|
|
9
|
+
columnTypes?: ColumnTypesMap;
|
|
10
|
+
metricKey?: EMetricKey;
|
|
7
11
|
}
|
|
8
|
-
export declare const MetricChart: ({ lineChartData, isLoading, isEmptyMetricData }: IProps) => ReactElement;
|
|
12
|
+
export declare const MetricChart: ({ lineChartData, isLoading, isEmptyMetricData, columnTypes, metricKey, }: IProps) => ReactElement;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const MetricDonutChartSkeleton: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -2,6 +2,7 @@ export { GChartSkeleton } from './GChartSkeleton';
|
|
|
2
2
|
export { MetricChart } from './MetricChart';
|
|
3
3
|
export { MetricChartEmpty } from './MetricChartEmpty';
|
|
4
4
|
export { MetricChartTooltip } from './MetricChartTooltip';
|
|
5
|
+
export { MetricDonutChartSkeleton } from './MetricDonutChartSkeleton';
|
|
5
6
|
export { MetricInfoBlock } from './MetricInfoBlock';
|
|
6
7
|
export { MetricInfoSkeleton } from './MetricInfoSkeleton';
|
|
7
8
|
export { MetricValueSummary } from './MetricValueSummary';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { IDonutTarget } from '@/types';
|
|
2
|
+
import { EDeviceType, ETrafficSourceType, EVisitorType } from '@/core/gemxql';
|
|
3
|
+
export declare const TARGET_VISITOR: IDonutTarget<EVisitorType>[];
|
|
4
|
+
export declare const TARGET_DEVICES: IDonutTarget<EDeviceType>[];
|
|
5
|
+
export declare const TARGET_CHANNEL: IDonutTarget<ETrafficSourceType>[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CAMPAIGN_BACKGROUND_MAIN: Record<string, string>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { GemxQlQueryResponse, TableDataType } from '../graphql';
|
|
2
2
|
export type ColumnTypesMap = Record<string, TableDataType>;
|
|
3
3
|
export declare const extractQueryRows: (response?: GemxQlQueryResponse) => Record<string, unknown>[];
|
|
4
|
-
export declare const extractQueryColumns: (response?: GemxQlQueryResponse) => import("../graphql").Maybe<Pick<import("../graphql").IColumn, "
|
|
4
|
+
export declare const extractQueryColumns: (response?: GemxQlQueryResponse) => import("../graphql").Maybe<Pick<import("../graphql").IColumn, "dataType" | "displayName" | "name">>[];
|
|
5
5
|
export declare const extractColumnTypes: (response?: GemxQlQueryResponse) => ColumnTypesMap;
|