@levi-gemcommerce/analytics 1.0.0-dev.45 → 1.0.0-dev.47

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.
@@ -1,4 +1,4 @@
1
- import type { IOrder, IOrderPageAnalytic } from './types';
1
+ import type { IOrder } from './types';
2
2
  import { EReportSource } from './types/report';
3
3
  interface IOrderListingLatestData {
4
4
  orders: IOrder[];
@@ -14,9 +14,8 @@ interface IOrderListingLatestCallbacks {
14
14
  }
15
15
  interface OrderListingLatestTableProps {
16
16
  source: EReportSource;
17
- pageAnalytic?: IOrderPageAnalytic;
18
17
  data: IOrderListingLatestData;
19
18
  callbacks?: IOrderListingLatestCallbacks;
20
19
  }
21
- export declare const OrderListingLatestTable: ({ source, pageAnalytic, data, callbacks }: OrderListingLatestTableProps) => import("react/jsx-runtime").JSX.Element;
20
+ export declare const OrderListingLatestTable: ({ source, data, callbacks }: OrderListingLatestTableProps) => import("react/jsx-runtime").JSX.Element;
22
21
  export {};
@@ -1,4 +1,4 @@
1
- import type { IOrder, IOrderPageAnalytic } from '../../types';
1
+ import type { IOrder } from '../../types';
2
2
  import type { GPaginationProps } from '@/shared';
3
3
  import type { IReportCampaign } from '../../types/report';
4
4
  import type { IReportColumn } from '@/shared/reports/common/Visualization/types';
@@ -15,7 +15,6 @@ interface OrderListingTableProps {
15
15
  isLoading: boolean;
16
16
  totalStoreOrders: number;
17
17
  reportCampaign?: IReportCampaign;
18
- pageAnalytic?: IOrderPageAnalytic;
19
18
  queryValue?: string;
20
19
  paginationProps?: GPaginationProps;
21
20
  tableOptions?: OrderListingTableOptions;
@@ -1,11 +1,10 @@
1
- import type { IReportTable } from '@/shared/reports/common/Visualization/types';
1
+ import type { IReportColumn } from '@/shared/reports/common/Visualization/types';
2
2
  import type { ReportTableProps } from '@/shared/reports/ui/ReportTable';
3
3
  import type { ReportColumnLayout, ReportColumnLayoutMap } from '@/shared/reports/ui/ReportTable/types';
4
- export declare const ORDER_LISTING_ITEMS_PER_PAGE = 50;
5
4
  export declare const ORDER_LISTING_DIMENSION_LAYOUT: ReportColumnLayout;
6
5
  export declare const ORDER_LISTING_METRIC_LAYOUTS: ReportColumnLayoutMap;
7
- export declare const ORDER_LISTING_COLUMNS: IReportTable['columns'];
8
- export declare const ORDER_LISTING_LATEST_COLUMNS_FOR_PAGE: import("@/shared/reports/common/Visualization/types").IReportColumn[];
6
+ export declare const ORDER_LISTING_COLUMNS: IReportColumn[];
7
+ export declare const ORDER_LISTING_LATEST_COLUMNS_FOR_PAGE: IReportColumn[];
9
8
  export declare const ORDER_LISTING_METRICS: ReportTableProps['metrics'];
10
9
  export declare const ORDER_LISTING_DIMENSIONS: ReportTableProps['dimensions'];
11
10
  export declare const ORDER_LISTING_CONFIG: {
package/dist/esm/index.js CHANGED
@@ -24406,7 +24406,6 @@ var EReportColumnKey;
24406
24406
  EReportColumnKey["VISITOR"] = "visitor_type";
24407
24407
  })(EReportColumnKey || (EReportColumnKey = {}));
24408
24408
 
24409
- const ORDER_LISTING_ITEMS_PER_PAGE = 50;
24410
24409
  const ORDER_LISTING_DIMENSION_LAYOUT = {
24411
24410
  width: '158px',
24412
24411
  minWidth: '158px',
@@ -25741,22 +25740,22 @@ const OrderListingTable = ({ orders, isLoading, totalStoreOrders, queryValue, pa
25741
25740
  };
25742
25741
  var OrderListingTable$1 = memo(OrderListingTable);
25743
25742
 
25744
- const OrderListingLatestTable = ({ source, pageAnalytic, data, callbacks }) => {
25743
+ const OrderListingLatestTable = ({ source, data, callbacks }) => {
25745
25744
  const { orders, isLoading, totalFilteredOrders, totalStoreOrders } = data;
25746
25745
  const { onViewAllOrders, onViewAllStoreOrders, onViewOrderJourney, onViewOrderDetails } = callbacks ?? {};
25747
25746
  const { t } = useTranslation();
25748
- const isEmpty = orders.length === 0;
25747
+ const isEmpty = !isLoading && orders.length === 0;
25749
25748
  const sourceText = source === EReportSource.CAMPAIGN ? 'experiment' : source;
25750
25749
  const tooltipContent = getOrderSourceTooltipContent(source);
25751
25750
  const fixedColumns = useMemo(() => {
25752
- if (pageAnalytic)
25751
+ if (source === EReportSource.PAGE)
25753
25752
  return ORDER_LISTING_LATEST_COLUMNS_FOR_PAGE;
25754
25753
  return ORDER_LISTING_COLUMNS;
25755
- }, [pageAnalytic]);
25754
+ }, [source]);
25756
25755
  return (jsxs(GBoxCard, { padding: "0", overflowX: "hidden", children: [jsx(Box, { padding: "400", borderStartStartRadius: "400", borderStartEndRadius: "400", background: "bg-fill", children: jsxs(InlineStack, { blockAlign: "center", align: "space-between", children: [jsx(GTextTooltip, { tooltipProps: tooltipContent ? { content: tooltipContent } : undefined, as: "p", variant: "headingMd", fontWeight: "semibold", children: t('Orders from {{source}}', { source: sourceText }) }), !isEmpty && (jsx(Button, { variant: "secondary", onClick: onViewAllOrders, children: t('View {{source}} orders ({{totalOrders}})', {
25757
25756
  source: sourceText,
25758
25757
  totalOrders: totalFilteredOrders,
25759
- }) }))] }) }), isEmpty ? (jsx(OrderListingTableEmpty, { title: t('No order yet'), description: t('There are no orders from this {{source}} yet', { source }) })) : (jsx(OrderListingTable$1, { orders: orders, isLoading: isLoading, totalStoreOrders: totalStoreOrders, pageAnalytic: pageAnalytic, onViewAllStoreOrders: onViewAllStoreOrders, onViewOrderJourney: onViewOrderJourney, onViewOrderDetails: onViewOrderDetails, tableOptions: {
25758
+ }) }))] }) }), isEmpty ? (jsx(OrderListingTableEmpty, { title: t('No order yet'), description: t('There are no orders from this {{source}} yet', { source }) })) : (jsx(OrderListingTable$1, { orders: orders, isLoading: isLoading, totalStoreOrders: totalStoreOrders, onViewAllStoreOrders: onViewAllStoreOrders, onViewOrderJourney: onViewOrderJourney, onViewOrderDetails: onViewOrderDetails, tableOptions: {
25760
25759
  hideSummary: true,
25761
25760
  hidePaginationRow: true,
25762
25761
  limitRowAmount: ORDER_LISTING_CONFIG.SHOW_LATEST_ORDER_LISTING_AMOUNT,
@@ -25836,4 +25835,4 @@ const useStickyFilterBoxProps = ({ id }) => {
25836
25835
  };
25837
25836
  };
25838
25837
 
25839
- export { ANALYTICS_METRIC_TOOLTIP, AnalyticModeSelector, CAMPAIGN_BACKGROUND_MAIN, CHART_MIN_HEIGHT, COMPARE_DATE_TIME_FILTERS_MAP, CardJourneyAnalysis, CardPathAnalysis, CompareDateTimePickerAlias, ConvertMoneyProvider, CurrencySelector, DATE_TIME_COMPARISON_FILTERS, DEFAULT_CURRENCY_ANALYTIC, DEFAULT_CURRENT_PERIOD_LABEL, DEFAULT_PREVIOUS_PERIOD_LABEL, DEFAULT_SELECTED_COLUMNS_FOR_EXPERIMENT, DateTimeFilterInputs, DateTimeFilters, DateTimePickerContext, DateTimePickerProvider, EJourneyEvent, EReportSource, FUNNEL_POPOVER_KEY, GSelectableMetricChartCard, GTimePicker, IVariantType, MOCK_DATA_PATH_ANALYSIS, MainDateTimePickerAlias, MetricChartProvider, MetricDonutChartCard, ORDER_COLUMN_MAPPING, ORDER_LISTING_COLUMNS, ORDER_LISTING_CONFIG, ORDER_LISTING_DIMENSIONS, ORDER_LISTING_DIMENSION_LAYOUT, ORDER_LISTING_ITEMS_PER_PAGE, ORDER_LISTING_LATEST_COLUMNS_FOR_PAGE, ORDER_LISTING_METRICS, ORDER_LISTING_METRIC_LAYOUTS, OrderListingLatestTable, PLACEHOLDER_VALUE$1 as PLACEHOLDER_VALUE, PREVIOUS_PERIOD_FILTER, PathAnalysisConfigProvider, PathAnalysisContext, PathAnalysisProvider, SERIES_COLORS, SORT_ORDER_LISTING_DEFAULT, SingleMetricChartCard, TARGET_CHANNEL, TARGET_DEVICES, TARGET_VISITOR, THUMB_PRODUCT_DEFAULT, TREND_TONE, convertDateToTz, convertToDateTimeFilters, createLastDaysRange, dayjsTz, dayjsTzToDate, dayjsTzToLocalTZ, formatDate, formatDateTimeRange, formatDayjs, formatMs, formatTime, formatTimeRange, getDateRangeTitle, getDateTimeFilterBase, getDateTimeFilterByAlias, getDateTimeFilterMapping, getEndOfDayBy, getInitialTimezone, getLast12Months, getLast30Days, getLast365Days, getLast7Days, getLast90Days, getLastMonth, getLastYear, getMonthAndYearByDateFilter, getNoComparison, getPreviousMonth, getPreviousPeriod, getPreviousQuarter, getPreviousWeek, getPreviousYear, getToday, getVersionDateDescription, getVersionDateRangeTitle, getYesterday, isDate, isMidnight, isSameDayTimestamp, isValidDate, isValidYearMonthDayDateString, parseYearMonthDayDateString, setTz, useConvertMoneyContext, useCurrencyRatesStore, useDateTimeFilter, useDateTimePicker, useDateTimePickerContext, useFunnelChartStore, useIsStickyById, useOrderColumnsSelectorStore, useOrderControlStore, usePathAnalysisCampaignStore, usePathAnalysisConfig, usePathAnalysisContext, usePathAnalysisStore, useStickyFilterBoxProps, useVersionDateTimeFilters };
25838
+ export { ANALYTICS_METRIC_TOOLTIP, AnalyticModeSelector, CAMPAIGN_BACKGROUND_MAIN, CHART_MIN_HEIGHT, COMPARE_DATE_TIME_FILTERS_MAP, CardJourneyAnalysis, CardPathAnalysis, CompareDateTimePickerAlias, ConvertMoneyProvider, CurrencySelector, DATE_TIME_COMPARISON_FILTERS, DEFAULT_CURRENCY_ANALYTIC, DEFAULT_CURRENT_PERIOD_LABEL, DEFAULT_PREVIOUS_PERIOD_LABEL, DEFAULT_SELECTED_COLUMNS_FOR_EXPERIMENT, DateTimeFilterInputs, DateTimeFilters, DateTimePickerContext, DateTimePickerProvider, EJourneyEvent, EReportSource, FUNNEL_POPOVER_KEY, GSelectableMetricChartCard, GTimePicker, IVariantType, MOCK_DATA_PATH_ANALYSIS, MainDateTimePickerAlias, MetricChartProvider, MetricDonutChartCard, ORDER_COLUMN_MAPPING, ORDER_LISTING_COLUMNS, ORDER_LISTING_CONFIG, ORDER_LISTING_DIMENSIONS, ORDER_LISTING_DIMENSION_LAYOUT, ORDER_LISTING_LATEST_COLUMNS_FOR_PAGE, ORDER_LISTING_METRICS, ORDER_LISTING_METRIC_LAYOUTS, OrderListingLatestTable, PLACEHOLDER_VALUE$1 as PLACEHOLDER_VALUE, PREVIOUS_PERIOD_FILTER, PathAnalysisConfigProvider, PathAnalysisContext, PathAnalysisProvider, SERIES_COLORS, SORT_ORDER_LISTING_DEFAULT, SingleMetricChartCard, TARGET_CHANNEL, TARGET_DEVICES, TARGET_VISITOR, THUMB_PRODUCT_DEFAULT, TREND_TONE, convertDateToTz, convertToDateTimeFilters, createLastDaysRange, dayjsTz, dayjsTzToDate, dayjsTzToLocalTZ, formatDate, formatDateTimeRange, formatDayjs, formatMs, formatTime, formatTimeRange, getDateRangeTitle, getDateTimeFilterBase, getDateTimeFilterByAlias, getDateTimeFilterMapping, getEndOfDayBy, getInitialTimezone, getLast12Months, getLast30Days, getLast365Days, getLast7Days, getLast90Days, getLastMonth, getLastYear, getMonthAndYearByDateFilter, getNoComparison, getPreviousMonth, getPreviousPeriod, getPreviousQuarter, getPreviousWeek, getPreviousYear, getToday, getVersionDateDescription, getVersionDateRangeTitle, getYesterday, isDate, isMidnight, isSameDayTimestamp, isValidDate, isValidYearMonthDayDateString, parseYearMonthDayDateString, setTz, useConvertMoneyContext, useCurrencyRatesStore, useDateTimeFilter, useDateTimePicker, useDateTimePickerContext, useFunnelChartStore, useIsStickyById, useOrderColumnsSelectorStore, useOrderControlStore, usePathAnalysisCampaignStore, usePathAnalysisConfig, usePathAnalysisContext, usePathAnalysisStore, useStickyFilterBoxProps, useVersionDateTimeFilters };
@@ -24406,7 +24406,6 @@ var EReportColumnKey;
24406
24406
  EReportColumnKey["VISITOR"] = "visitor_type";
24407
24407
  })(EReportColumnKey || (EReportColumnKey = {}));
24408
24408
 
24409
- const ORDER_LISTING_ITEMS_PER_PAGE = 50;
24410
24409
  const ORDER_LISTING_DIMENSION_LAYOUT = {
24411
24410
  width: '158px',
24412
24411
  minWidth: '158px',
@@ -25741,22 +25740,22 @@ const OrderListingTable = ({ orders, isLoading, totalStoreOrders, queryValue, pa
25741
25740
  };
25742
25741
  var OrderListingTable$1 = memo(OrderListingTable);
25743
25742
 
25744
- const OrderListingLatestTable = ({ source, pageAnalytic, data, callbacks }) => {
25743
+ const OrderListingLatestTable = ({ source, data, callbacks }) => {
25745
25744
  const { orders, isLoading, totalFilteredOrders, totalStoreOrders } = data;
25746
25745
  const { onViewAllOrders, onViewAllStoreOrders, onViewOrderJourney, onViewOrderDetails } = callbacks ?? {};
25747
25746
  const { t } = useTranslation();
25748
- const isEmpty = orders.length === 0;
25747
+ const isEmpty = !isLoading && orders.length === 0;
25749
25748
  const sourceText = source === EReportSource.CAMPAIGN ? 'experiment' : source;
25750
25749
  const tooltipContent = getOrderSourceTooltipContent(source);
25751
25750
  const fixedColumns = useMemo(() => {
25752
- if (pageAnalytic)
25751
+ if (source === EReportSource.PAGE)
25753
25752
  return ORDER_LISTING_LATEST_COLUMNS_FOR_PAGE;
25754
25753
  return ORDER_LISTING_COLUMNS;
25755
- }, [pageAnalytic]);
25754
+ }, [source]);
25756
25755
  return (jsxs(GBoxCard, { padding: "0", overflowX: "hidden", children: [jsx(Box, { padding: "400", borderStartStartRadius: "400", borderStartEndRadius: "400", background: "bg-fill", children: jsxs(InlineStack, { blockAlign: "center", align: "space-between", children: [jsx(GTextTooltip, { tooltipProps: tooltipContent ? { content: tooltipContent } : undefined, as: "p", variant: "headingMd", fontWeight: "semibold", children: t('Orders from {{source}}', { source: sourceText }) }), !isEmpty && (jsx(Button, { variant: "secondary", onClick: onViewAllOrders, children: t('View {{source}} orders ({{totalOrders}})', {
25757
25756
  source: sourceText,
25758
25757
  totalOrders: totalFilteredOrders,
25759
- }) }))] }) }), isEmpty ? (jsx(OrderListingTableEmpty, { title: t('No order yet'), description: t('There are no orders from this {{source}} yet', { source }) })) : (jsx(OrderListingTable$1, { orders: orders, isLoading: isLoading, totalStoreOrders: totalStoreOrders, pageAnalytic: pageAnalytic, onViewAllStoreOrders: onViewAllStoreOrders, onViewOrderJourney: onViewOrderJourney, onViewOrderDetails: onViewOrderDetails, tableOptions: {
25758
+ }) }))] }) }), isEmpty ? (jsx(OrderListingTableEmpty, { title: t('No order yet'), description: t('There are no orders from this {{source}} yet', { source }) })) : (jsx(OrderListingTable$1, { orders: orders, isLoading: isLoading, totalStoreOrders: totalStoreOrders, onViewAllStoreOrders: onViewAllStoreOrders, onViewOrderJourney: onViewOrderJourney, onViewOrderDetails: onViewOrderDetails, tableOptions: {
25760
25759
  hideSummary: true,
25761
25760
  hidePaginationRow: true,
25762
25761
  limitRowAmount: ORDER_LISTING_CONFIG.SHOW_LATEST_ORDER_LISTING_AMOUNT,
@@ -25836,4 +25835,4 @@ const useStickyFilterBoxProps = ({ id }) => {
25836
25835
  };
25837
25836
  };
25838
25837
 
25839
- export { ANALYTICS_METRIC_TOOLTIP, AnalyticModeSelector, CAMPAIGN_BACKGROUND_MAIN, CHART_MIN_HEIGHT, COMPARE_DATE_TIME_FILTERS_MAP, CardJourneyAnalysis, CardPathAnalysis, CompareDateTimePickerAlias, ConvertMoneyProvider, CurrencySelector, DATE_TIME_COMPARISON_FILTERS, DEFAULT_CURRENCY_ANALYTIC, DEFAULT_CURRENT_PERIOD_LABEL, DEFAULT_PREVIOUS_PERIOD_LABEL, DEFAULT_SELECTED_COLUMNS_FOR_EXPERIMENT, DateTimeFilterInputs, DateTimeFilters, DateTimePickerContext, DateTimePickerProvider, EJourneyEvent, EReportSource, FUNNEL_POPOVER_KEY, GSelectableMetricChartCard, GTimePicker, IVariantType, MOCK_DATA_PATH_ANALYSIS, MainDateTimePickerAlias, MetricChartProvider, MetricDonutChartCard, ORDER_COLUMN_MAPPING, ORDER_LISTING_COLUMNS, ORDER_LISTING_CONFIG, ORDER_LISTING_DIMENSIONS, ORDER_LISTING_DIMENSION_LAYOUT, ORDER_LISTING_ITEMS_PER_PAGE, ORDER_LISTING_LATEST_COLUMNS_FOR_PAGE, ORDER_LISTING_METRICS, ORDER_LISTING_METRIC_LAYOUTS, OrderListingLatestTable, PLACEHOLDER_VALUE$1 as PLACEHOLDER_VALUE, PREVIOUS_PERIOD_FILTER, PathAnalysisConfigProvider, PathAnalysisContext, PathAnalysisProvider, SERIES_COLORS, SORT_ORDER_LISTING_DEFAULT, SingleMetricChartCard, TARGET_CHANNEL, TARGET_DEVICES, TARGET_VISITOR, THUMB_PRODUCT_DEFAULT, TREND_TONE, convertDateToTz, convertToDateTimeFilters, createLastDaysRange, dayjsTz, dayjsTzToDate, dayjsTzToLocalTZ, formatDate, formatDateTimeRange, formatDayjs, formatMs, formatTime, formatTimeRange, getDateRangeTitle, getDateTimeFilterBase, getDateTimeFilterByAlias, getDateTimeFilterMapping, getEndOfDayBy, getInitialTimezone, getLast12Months, getLast30Days, getLast365Days, getLast7Days, getLast90Days, getLastMonth, getLastYear, getMonthAndYearByDateFilter, getNoComparison, getPreviousMonth, getPreviousPeriod, getPreviousQuarter, getPreviousWeek, getPreviousYear, getToday, getVersionDateDescription, getVersionDateRangeTitle, getYesterday, isDate, isMidnight, isSameDayTimestamp, isValidDate, isValidYearMonthDayDateString, parseYearMonthDayDateString, setTz, useConvertMoneyContext, useCurrencyRatesStore, useDateTimeFilter, useDateTimePicker, useDateTimePickerContext, useFunnelChartStore, useIsStickyById, useOrderColumnsSelectorStore, useOrderControlStore, usePathAnalysisCampaignStore, usePathAnalysisConfig, usePathAnalysisContext, usePathAnalysisStore, useStickyFilterBoxProps, useVersionDateTimeFilters };
25838
+ export { ANALYTICS_METRIC_TOOLTIP, AnalyticModeSelector, CAMPAIGN_BACKGROUND_MAIN, CHART_MIN_HEIGHT, COMPARE_DATE_TIME_FILTERS_MAP, CardJourneyAnalysis, CardPathAnalysis, CompareDateTimePickerAlias, ConvertMoneyProvider, CurrencySelector, DATE_TIME_COMPARISON_FILTERS, DEFAULT_CURRENCY_ANALYTIC, DEFAULT_CURRENT_PERIOD_LABEL, DEFAULT_PREVIOUS_PERIOD_LABEL, DEFAULT_SELECTED_COLUMNS_FOR_EXPERIMENT, DateTimeFilterInputs, DateTimeFilters, DateTimePickerContext, DateTimePickerProvider, EJourneyEvent, EReportSource, FUNNEL_POPOVER_KEY, GSelectableMetricChartCard, GTimePicker, IVariantType, MOCK_DATA_PATH_ANALYSIS, MainDateTimePickerAlias, MetricChartProvider, MetricDonutChartCard, ORDER_COLUMN_MAPPING, ORDER_LISTING_COLUMNS, ORDER_LISTING_CONFIG, ORDER_LISTING_DIMENSIONS, ORDER_LISTING_DIMENSION_LAYOUT, ORDER_LISTING_LATEST_COLUMNS_FOR_PAGE, ORDER_LISTING_METRICS, ORDER_LISTING_METRIC_LAYOUTS, OrderListingLatestTable, PLACEHOLDER_VALUE$1 as PLACEHOLDER_VALUE, PREVIOUS_PERIOD_FILTER, PathAnalysisConfigProvider, PathAnalysisContext, PathAnalysisProvider, SERIES_COLORS, SORT_ORDER_LISTING_DEFAULT, SingleMetricChartCard, TARGET_CHANNEL, TARGET_DEVICES, TARGET_VISITOR, THUMB_PRODUCT_DEFAULT, TREND_TONE, convertDateToTz, convertToDateTimeFilters, createLastDaysRange, dayjsTz, dayjsTzToDate, dayjsTzToLocalTZ, formatDate, formatDateTimeRange, formatDayjs, formatMs, formatTime, formatTimeRange, getDateRangeTitle, getDateTimeFilterBase, getDateTimeFilterByAlias, getDateTimeFilterMapping, getEndOfDayBy, getInitialTimezone, getLast12Months, getLast30Days, getLast365Days, getLast7Days, getLast90Days, getLastMonth, getLastYear, getMonthAndYearByDateFilter, getNoComparison, getPreviousMonth, getPreviousPeriod, getPreviousQuarter, getPreviousWeek, getPreviousYear, getToday, getVersionDateDescription, getVersionDateRangeTitle, getYesterday, isDate, isMidnight, isSameDayTimestamp, isValidDate, isValidYearMonthDayDateString, parseYearMonthDayDateString, setTz, useConvertMoneyContext, useCurrencyRatesStore, useDateTimeFilter, useDateTimePicker, useDateTimePickerContext, useFunnelChartStore, useIsStickyById, useOrderColumnsSelectorStore, useOrderControlStore, usePathAnalysisCampaignStore, usePathAnalysisConfig, usePathAnalysisContext, usePathAnalysisStore, useStickyFilterBoxProps, useVersionDateTimeFilters };
@@ -1,4 +1,4 @@
1
- import type { IOrder, IOrderPageAnalytic } from './types';
1
+ import type { IOrder } from './types';
2
2
  import { EReportSource } from './types/report';
3
3
  interface IOrderListingLatestData {
4
4
  orders: IOrder[];
@@ -14,9 +14,8 @@ interface IOrderListingLatestCallbacks {
14
14
  }
15
15
  interface OrderListingLatestTableProps {
16
16
  source: EReportSource;
17
- pageAnalytic?: IOrderPageAnalytic;
18
17
  data: IOrderListingLatestData;
19
18
  callbacks?: IOrderListingLatestCallbacks;
20
19
  }
21
- export declare const OrderListingLatestTable: ({ source, pageAnalytic, data, callbacks }: OrderListingLatestTableProps) => import("react/jsx-runtime").JSX.Element;
20
+ export declare const OrderListingLatestTable: ({ source, data, callbacks }: OrderListingLatestTableProps) => import("react/jsx-runtime").JSX.Element;
22
21
  export {};
@@ -1,4 +1,4 @@
1
- import type { IOrder, IOrderPageAnalytic } from '../../types';
1
+ import type { IOrder } from '../../types';
2
2
  import type { GPaginationProps } from '@/shared';
3
3
  import type { IReportCampaign } from '../../types/report';
4
4
  import type { IReportColumn } from '@/shared/reports/common/Visualization/types';
@@ -15,7 +15,6 @@ interface OrderListingTableProps {
15
15
  isLoading: boolean;
16
16
  totalStoreOrders: number;
17
17
  reportCampaign?: IReportCampaign;
18
- pageAnalytic?: IOrderPageAnalytic;
19
18
  queryValue?: string;
20
19
  paginationProps?: GPaginationProps;
21
20
  tableOptions?: OrderListingTableOptions;
@@ -1,11 +1,10 @@
1
- import type { IReportTable } from '@/shared/reports/common/Visualization/types';
1
+ import type { IReportColumn } from '@/shared/reports/common/Visualization/types';
2
2
  import type { ReportTableProps } from '@/shared/reports/ui/ReportTable';
3
3
  import type { ReportColumnLayout, ReportColumnLayoutMap } from '@/shared/reports/ui/ReportTable/types';
4
- export declare const ORDER_LISTING_ITEMS_PER_PAGE = 50;
5
4
  export declare const ORDER_LISTING_DIMENSION_LAYOUT: ReportColumnLayout;
6
5
  export declare const ORDER_LISTING_METRIC_LAYOUTS: ReportColumnLayoutMap;
7
- export declare const ORDER_LISTING_COLUMNS: IReportTable['columns'];
8
- export declare const ORDER_LISTING_LATEST_COLUMNS_FOR_PAGE: import("@/shared/reports/common/Visualization/types").IReportColumn[];
6
+ export declare const ORDER_LISTING_COLUMNS: IReportColumn[];
7
+ export declare const ORDER_LISTING_LATEST_COLUMNS_FOR_PAGE: IReportColumn[];
9
8
  export declare const ORDER_LISTING_METRICS: ReportTableProps['metrics'];
10
9
  export declare const ORDER_LISTING_DIMENSIONS: ReportTableProps['dimensions'];
11
10
  export declare const ORDER_LISTING_CONFIG: {