@nuskin/react-mysite-elements 1.5.0-ui-fixes.4 → 1.5.0-ui-fixes.6
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/common/shopping-dashboard/MysiteDashboardWithNavigation.d.ts +1 -0
- package/dist/common/shopping-dashboard/ShoppingDashboard.d.ts +5 -0
- package/dist/common/shopping-dashboard/TranslationKeys/ProductOfferDashboardTranslationKeys.d.ts +12 -0
- package/dist/common/shopping-dashboard/TranslationKeys/ShoppingDashboardTranslationKeys.d.ts +80 -152
- package/dist/common/shopping-dashboard/shared/ConversionRate/ConversionRateChart.d.ts +1 -0
- package/dist/common/shopping-dashboard/shared/Signups/SignupsChart.d.ts +1 -0
- package/dist/common/shopping-dashboard/shared/TopCategories/CategoriesFullView.d.ts +1 -0
- package/dist/common/shopping-dashboard/shared/TopCategories/TopCategoriesPieChart.d.ts +2 -0
- package/dist/common/shopping-dashboard/shared/TopPerformingOffers/TopPerformingOffersPieChart.d.ts +1 -0
- package/dist/common/shopping-dashboard/shared/TopProducts/TopSellingProductsList.d.ts +1 -0
- package/dist/common/shopping-dashboard/shared/WidgetMenu.d.ts +1 -0
- package/dist/common/shopping-dashboard/utils/dataUtils.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -21,6 +21,7 @@ export interface MysiteDashboardWithNavigationProps {
|
|
|
21
21
|
readonly conversionData?: ConversionDataPoint[];
|
|
22
22
|
readonly signupData?: SignupDataPoint[];
|
|
23
23
|
readonly categories?: CategoryRevenue[];
|
|
24
|
+
readonly categoriesSummaryChangePct?: number | null;
|
|
24
25
|
readonly orders?: OrderHistory[];
|
|
25
26
|
readonly signups?: SignupDetail[];
|
|
26
27
|
readonly isLoading?: boolean;
|
|
@@ -16,6 +16,7 @@ export interface ShoppingDashboardProps {
|
|
|
16
16
|
readonly signupView?: SignupViewOption;
|
|
17
17
|
readonly conversionFilter?: ConversionFilterOption;
|
|
18
18
|
readonly categorySort?: CategorySortOption;
|
|
19
|
+
readonly categoriesSummaryChangePct?: number | null;
|
|
19
20
|
readonly markets?: ReadonlyArray<MarketFilterOption>;
|
|
20
21
|
readonly onDateRangeChange?: (range: DateRangeOption) => void;
|
|
21
22
|
readonly onMarketChange?: (market: MarketOption) => void;
|
|
@@ -27,6 +28,10 @@ export interface ShoppingDashboardProps {
|
|
|
27
28
|
readonly onConversionTitleClick?: () => void;
|
|
28
29
|
readonly onSignupsTitleClick?: () => void;
|
|
29
30
|
readonly onCategoriesToTitleClick?: () => void;
|
|
31
|
+
readonly onProductsExport?: () => void;
|
|
32
|
+
readonly onConversionExport?: () => void;
|
|
33
|
+
readonly onSignupsExport?: () => void;
|
|
34
|
+
readonly onCategoriesExport?: () => void;
|
|
30
35
|
}
|
|
31
36
|
export declare const ShoppingDashboard: React.FC<ShoppingDashboardProps>;
|
|
32
37
|
export default ShoppingDashboard;
|
package/dist/common/shopping-dashboard/TranslationKeys/ProductOfferDashboardTranslationKeys.d.ts
CHANGED
|
@@ -224,6 +224,18 @@ export declare const ProductOfferDashboardTranslationKeys: {
|
|
|
224
224
|
readonly key: "productOfferDashboard.defaults.noData";
|
|
225
225
|
readonly fallback: "--";
|
|
226
226
|
};
|
|
227
|
+
readonly byRevenue: {
|
|
228
|
+
readonly key: "productOfferDashboard.defaults.byRevenue";
|
|
229
|
+
readonly fallback: "Revenue";
|
|
230
|
+
};
|
|
231
|
+
readonly byUnits: {
|
|
232
|
+
readonly key: "productOfferDashboard.defaults.byUnits";
|
|
233
|
+
readonly fallback: "Units";
|
|
234
|
+
};
|
|
235
|
+
readonly byVolume: {
|
|
236
|
+
readonly key: "productOfferDashboard.defaults.byVolume";
|
|
237
|
+
readonly fallback: "Volume";
|
|
238
|
+
};
|
|
227
239
|
};
|
|
228
240
|
};
|
|
229
241
|
export declare function getTranslation(entry: TranslationEntry): string;
|
package/dist/common/shopping-dashboard/TranslationKeys/ShoppingDashboardTranslationKeys.d.ts
CHANGED
|
@@ -12,24 +12,10 @@ export declare const ShoppingDashboardTranslationKeys: {
|
|
|
12
12
|
readonly key: "shoppingDashboard.stats.revenue";
|
|
13
13
|
readonly fallback: "Total Revenue";
|
|
14
14
|
};
|
|
15
|
-
readonly volume: {
|
|
16
|
-
readonly key: "shoppingDashboard.stats.volume";
|
|
17
|
-
readonly fallback: "Volume";
|
|
18
|
-
};
|
|
19
15
|
readonly visits: {
|
|
20
16
|
readonly key: "shoppingDashboard.stats.visits";
|
|
21
17
|
readonly fallback: "Site Visits";
|
|
22
18
|
};
|
|
23
|
-
readonly subtitle: {
|
|
24
|
-
readonly dcSv: {
|
|
25
|
-
readonly key: "shoppingDashboard.stats.subtitle.dcSv";
|
|
26
|
-
readonly fallback: "DC-SV";
|
|
27
|
-
};
|
|
28
|
-
readonly conversionRate: {
|
|
29
|
-
readonly key: "shoppingDashboard.stats.subtitle.conversionRate";
|
|
30
|
-
readonly fallback: "Conversion Rate";
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
19
|
readonly trend: {
|
|
34
20
|
readonly increased: {
|
|
35
21
|
readonly key: "shoppingDashboard.stats.trend.increased";
|
|
@@ -87,52 +73,12 @@ export declare const ShoppingDashboardTranslationKeys: {
|
|
|
87
73
|
readonly key: "shoppingDashboard.filter.productSort.label";
|
|
88
74
|
readonly fallback: "Sort By";
|
|
89
75
|
};
|
|
90
|
-
readonly units: {
|
|
91
|
-
readonly key: "shoppingDashboard.filter.productSort.units";
|
|
92
|
-
readonly fallback: "Units";
|
|
93
|
-
};
|
|
94
|
-
readonly revenue: {
|
|
95
|
-
readonly key: "shoppingDashboard.filter.productSort.revenue";
|
|
96
|
-
readonly fallback: "Revenue";
|
|
97
|
-
};
|
|
98
|
-
readonly volume: {
|
|
99
|
-
readonly key: "shoppingDashboard.filter.productSort.volume";
|
|
100
|
-
readonly fallback: "Volume";
|
|
101
|
-
};
|
|
102
|
-
readonly byUnits: {
|
|
103
|
-
readonly key: "shoppingDashboard.filter.productSort.byUnits";
|
|
104
|
-
readonly fallback: "By: Units";
|
|
105
|
-
};
|
|
106
|
-
readonly byRevenue: {
|
|
107
|
-
readonly key: "shoppingDashboard.filter.productSort.byRevenue";
|
|
108
|
-
readonly fallback: "By: Revenue";
|
|
109
|
-
};
|
|
110
|
-
readonly byVolume: {
|
|
111
|
-
readonly key: "shoppingDashboard.filter.productSort.byVolume";
|
|
112
|
-
readonly fallback: "By: Volume";
|
|
113
|
-
};
|
|
114
76
|
};
|
|
115
77
|
readonly signupView: {
|
|
116
78
|
readonly label: {
|
|
117
79
|
readonly key: "shoppingDashboard.filter.signupView.label";
|
|
118
80
|
readonly fallback: "Show";
|
|
119
81
|
};
|
|
120
|
-
readonly all: {
|
|
121
|
-
readonly key: "shoppingDashboard.filter.signupView.all";
|
|
122
|
-
readonly fallback: "All";
|
|
123
|
-
};
|
|
124
|
-
readonly members: {
|
|
125
|
-
readonly key: "shoppingDashboard.filter.signupView.members";
|
|
126
|
-
readonly fallback: "Members";
|
|
127
|
-
};
|
|
128
|
-
readonly retail: {
|
|
129
|
-
readonly key: "shoppingDashboard.filter.signupView.retail";
|
|
130
|
-
readonly fallback: "Retail";
|
|
131
|
-
};
|
|
132
|
-
readonly brandAffiliates: {
|
|
133
|
-
readonly key: "shoppingDashboard.filter.signupView.brandAffiliates";
|
|
134
|
-
readonly fallback: "Brand Affiliates";
|
|
135
|
-
};
|
|
136
82
|
readonly showAll: {
|
|
137
83
|
readonly key: "shoppingDashboard.filter.signupView.showAll";
|
|
138
84
|
readonly fallback: "Show: All";
|
|
@@ -151,10 +97,6 @@ export declare const ShoppingDashboardTranslationKeys: {
|
|
|
151
97
|
};
|
|
152
98
|
};
|
|
153
99
|
readonly conversionType: {
|
|
154
|
-
readonly all: {
|
|
155
|
-
readonly key: "shoppingDashboard.filter.conversionType.all";
|
|
156
|
-
readonly fallback: "All";
|
|
157
|
-
};
|
|
158
100
|
readonly standard: {
|
|
159
101
|
readonly key: "shoppingDashboard.filter.conversionType.standard";
|
|
160
102
|
readonly fallback: "Standard";
|
|
@@ -164,16 +106,6 @@ export declare const ShoppingDashboardTranslationKeys: {
|
|
|
164
106
|
readonly fallback: "Subscription";
|
|
165
107
|
};
|
|
166
108
|
};
|
|
167
|
-
readonly categorySort: {
|
|
168
|
-
readonly byRevenue: {
|
|
169
|
-
readonly key: "shoppingDashboard.filter.categorySort.byRevenue";
|
|
170
|
-
readonly fallback: "By: Revenue";
|
|
171
|
-
};
|
|
172
|
-
readonly byTrend: {
|
|
173
|
-
readonly key: "shoppingDashboard.filter.categorySort.byTrend";
|
|
174
|
-
readonly fallback: "By: Trend";
|
|
175
|
-
};
|
|
176
|
-
};
|
|
177
109
|
};
|
|
178
110
|
readonly widget: {
|
|
179
111
|
readonly topProducts: {
|
|
@@ -185,14 +117,6 @@ export declare const ShoppingDashboardTranslationKeys: {
|
|
|
185
117
|
readonly key: "shoppingDashboard.widget.topProducts.viewAll";
|
|
186
118
|
readonly fallback: "View All Products";
|
|
187
119
|
};
|
|
188
|
-
readonly units: {
|
|
189
|
-
readonly key: "shoppingDashboard.widget.topProducts.units";
|
|
190
|
-
readonly fallback: "Units";
|
|
191
|
-
};
|
|
192
|
-
readonly revenue: {
|
|
193
|
-
readonly key: "shoppingDashboard.widget.topProducts.revenue";
|
|
194
|
-
readonly fallback: "Revenue";
|
|
195
|
-
};
|
|
196
120
|
readonly loading: {
|
|
197
121
|
readonly key: "shoppingDashboard.widget.topProducts.loading";
|
|
198
122
|
readonly fallback: "Loading products...";
|
|
@@ -225,24 +149,12 @@ export declare const ShoppingDashboardTranslationKeys: {
|
|
|
225
149
|
readonly key: "shoppingDashboard.widget.topProducts.revenueSuffix";
|
|
226
150
|
readonly fallback: "revenue";
|
|
227
151
|
};
|
|
228
|
-
readonly dcSvSuffix: {
|
|
229
|
-
readonly key: "shoppingDashboard.widget.topProducts.dcSvSuffix";
|
|
230
|
-
readonly fallback: "DC-SV";
|
|
231
|
-
};
|
|
232
152
|
readonly rank: {
|
|
233
153
|
readonly key: "shoppingDashboard.widget.topProducts.rank";
|
|
234
154
|
readonly fallback: "Rank";
|
|
235
155
|
};
|
|
236
|
-
readonly trend: {
|
|
237
|
-
readonly key: "shoppingDashboard.widget.topProducts.trend";
|
|
238
|
-
readonly fallback: "Trend";
|
|
239
|
-
};
|
|
240
156
|
};
|
|
241
157
|
readonly conversionRate: {
|
|
242
|
-
readonly title: {
|
|
243
|
-
readonly key: "shoppingDashboard.widget.conversionRate.title";
|
|
244
|
-
readonly fallback: "Conversion Rate";
|
|
245
|
-
};
|
|
246
158
|
readonly formula: {
|
|
247
159
|
readonly key: "shoppingDashboard.widget.conversionRate.formula";
|
|
248
160
|
readonly fallback: "Orders ÷ Site visits";
|
|
@@ -263,14 +175,6 @@ export declare const ShoppingDashboardTranslationKeys: {
|
|
|
263
175
|
readonly key: "shoppingDashboard.widget.conversionRate.filterAriaLabel";
|
|
264
176
|
readonly fallback: "Filter conversion rate by customer type";
|
|
265
177
|
};
|
|
266
|
-
readonly noData: {
|
|
267
|
-
readonly key: "shoppingDashboard.widget.conversionRate.noData";
|
|
268
|
-
readonly fallback: "No data";
|
|
269
|
-
};
|
|
270
|
-
readonly noChange: {
|
|
271
|
-
readonly key: "shoppingDashboard.widget.conversionRate.noChange";
|
|
272
|
-
readonly fallback: "No change";
|
|
273
|
-
};
|
|
274
178
|
readonly tooltipOrders: {
|
|
275
179
|
readonly key: "shoppingDashboard.widget.conversionRate.tooltipOrders";
|
|
276
180
|
readonly fallback: "orders";
|
|
@@ -293,18 +197,6 @@ export declare const ShoppingDashboardTranslationKeys: {
|
|
|
293
197
|
readonly key: "shoppingDashboard.widget.signups.total";
|
|
294
198
|
readonly fallback: "Total";
|
|
295
199
|
};
|
|
296
|
-
readonly members: {
|
|
297
|
-
readonly key: "shoppingDashboard.widget.signups.members";
|
|
298
|
-
readonly fallback: "Members";
|
|
299
|
-
};
|
|
300
|
-
readonly retail: {
|
|
301
|
-
readonly key: "shoppingDashboard.widget.signups.retail";
|
|
302
|
-
readonly fallback: "Retail";
|
|
303
|
-
};
|
|
304
|
-
readonly brandAffiliates: {
|
|
305
|
-
readonly key: "shoppingDashboard.widget.signups.brandAffiliates";
|
|
306
|
-
readonly fallback: "Brand Affiliates";
|
|
307
|
-
};
|
|
308
200
|
readonly chartAriaLabel: {
|
|
309
201
|
readonly key: "shoppingDashboard.widget.signups.chartAriaLabel";
|
|
310
202
|
readonly fallback: "Signups multi-line chart showing Total, Members, Retail, and Brand Affiliates";
|
|
@@ -317,14 +209,6 @@ export declare const ShoppingDashboardTranslationKeys: {
|
|
|
317
209
|
readonly key: "shoppingDashboard.widget.signups.filterAriaLabel";
|
|
318
210
|
readonly fallback: "Filter signups view";
|
|
319
211
|
};
|
|
320
|
-
readonly noData: {
|
|
321
|
-
readonly key: "shoppingDashboard.widget.signups.noData";
|
|
322
|
-
readonly fallback: "No data";
|
|
323
|
-
};
|
|
324
|
-
readonly noChange: {
|
|
325
|
-
readonly key: "shoppingDashboard.widget.signups.noChange";
|
|
326
|
-
readonly fallback: "No change";
|
|
327
|
-
};
|
|
328
212
|
readonly totalSignupsInPeriod: {
|
|
329
213
|
readonly key: "shoppingDashboard.widget.signups.totalSignupsInPeriod";
|
|
330
214
|
readonly fallback: "Total sign-ups in period";
|
|
@@ -339,14 +223,6 @@ export declare const ShoppingDashboardTranslationKeys: {
|
|
|
339
223
|
readonly key: "shoppingDashboard.widget.topCategories.title";
|
|
340
224
|
readonly fallback: "Top Categories";
|
|
341
225
|
};
|
|
342
|
-
readonly revenue: {
|
|
343
|
-
readonly key: "shoppingDashboard.widget.topCategories.revenue";
|
|
344
|
-
readonly fallback: "Revenue";
|
|
345
|
-
};
|
|
346
|
-
readonly units: {
|
|
347
|
-
readonly key: "shoppingDashboard.widget.topCategories.units";
|
|
348
|
-
readonly fallback: "Units";
|
|
349
|
-
};
|
|
350
226
|
readonly empty: {
|
|
351
227
|
readonly key: "shoppingDashboard.widget.topCategories.empty";
|
|
352
228
|
readonly fallback: "No category data available";
|
|
@@ -373,6 +249,14 @@ export declare const ShoppingDashboardTranslationKeys: {
|
|
|
373
249
|
readonly key: "shoppingDashboard.widget.menu.fullView";
|
|
374
250
|
readonly fallback: "Full View";
|
|
375
251
|
};
|
|
252
|
+
readonly viewDetails: {
|
|
253
|
+
readonly key: "shoppingDashboard.widget.menu.viewDetails";
|
|
254
|
+
readonly fallback: "View Details";
|
|
255
|
+
};
|
|
256
|
+
readonly exportData: {
|
|
257
|
+
readonly key: "shoppingDashboard.widget.menu.exportData";
|
|
258
|
+
readonly fallback: "Export Data";
|
|
259
|
+
};
|
|
376
260
|
};
|
|
377
261
|
};
|
|
378
262
|
readonly navigation: {
|
|
@@ -426,14 +310,6 @@ export declare const ShoppingDashboardTranslationKeys: {
|
|
|
426
310
|
readonly key: "shoppingDashboard.fullView.signups.columns.name";
|
|
427
311
|
readonly fallback: "Name";
|
|
428
312
|
};
|
|
429
|
-
readonly date: {
|
|
430
|
-
readonly key: "shoppingDashboard.fullView.signups.columns.date";
|
|
431
|
-
readonly fallback: "Date";
|
|
432
|
-
};
|
|
433
|
-
readonly type: {
|
|
434
|
-
readonly key: "shoppingDashboard.fullView.signups.columns.type";
|
|
435
|
-
readonly fallback: "Type";
|
|
436
|
-
};
|
|
437
313
|
readonly email: {
|
|
438
314
|
readonly key: "shoppingDashboard.fullView.signups.columns.email";
|
|
439
315
|
readonly fallback: "Email";
|
|
@@ -454,18 +330,10 @@ export declare const ShoppingDashboardTranslationKeys: {
|
|
|
454
330
|
readonly key: "shoppingDashboard.fullView.conversionRate.columns.orderId";
|
|
455
331
|
readonly fallback: "Order ID";
|
|
456
332
|
};
|
|
457
|
-
readonly date: {
|
|
458
|
-
readonly key: "shoppingDashboard.fullView.conversionRate.columns.date";
|
|
459
|
-
readonly fallback: "Date";
|
|
460
|
-
};
|
|
461
333
|
readonly customer: {
|
|
462
334
|
readonly key: "shoppingDashboard.fullView.conversionRate.columns.customer";
|
|
463
335
|
readonly fallback: "Customer";
|
|
464
336
|
};
|
|
465
|
-
readonly type: {
|
|
466
|
-
readonly key: "shoppingDashboard.fullView.conversionRate.columns.type";
|
|
467
|
-
readonly fallback: "Type";
|
|
468
|
-
};
|
|
469
337
|
readonly items: {
|
|
470
338
|
readonly key: "shoppingDashboard.fullView.conversionRate.columns.items";
|
|
471
339
|
readonly fallback: "Items";
|
|
@@ -506,10 +374,6 @@ export declare const ShoppingDashboardTranslationKeys: {
|
|
|
506
374
|
readonly key: "shoppingDashboard.fullView.products.columns.unitsSold";
|
|
507
375
|
readonly fallback: "Units Sold";
|
|
508
376
|
};
|
|
509
|
-
readonly revenue: {
|
|
510
|
-
readonly key: "shoppingDashboard.fullView.products.columns.revenue";
|
|
511
|
-
readonly fallback: "Revenue";
|
|
512
|
-
};
|
|
513
377
|
readonly volume: {
|
|
514
378
|
readonly key: "shoppingDashboard.fullView.products.columns.volume";
|
|
515
379
|
readonly fallback: "Volume (DC-SV)";
|
|
@@ -530,18 +394,10 @@ export declare const ShoppingDashboardTranslationKeys: {
|
|
|
530
394
|
readonly key: "shoppingDashboard.fullView.categories.columns.category";
|
|
531
395
|
readonly fallback: "Category";
|
|
532
396
|
};
|
|
533
|
-
readonly revenue: {
|
|
534
|
-
readonly key: "shoppingDashboard.fullView.categories.columns.revenue";
|
|
535
|
-
readonly fallback: "Revenue";
|
|
536
|
-
};
|
|
537
397
|
readonly percentOfTotal: {
|
|
538
398
|
readonly key: "shoppingDashboard.fullView.categories.columns.percentOfTotal";
|
|
539
399
|
readonly fallback: "% of Total";
|
|
540
400
|
};
|
|
541
|
-
readonly trend: {
|
|
542
|
-
readonly key: "shoppingDashboard.fullView.categories.columns.trend";
|
|
543
|
-
readonly fallback: "Trend";
|
|
544
|
-
};
|
|
545
401
|
};
|
|
546
402
|
readonly allCategoriesTitle: {
|
|
547
403
|
readonly key: "shoppingDashboard.fullView.categories.allCategoriesTitle";
|
|
@@ -590,6 +446,78 @@ export declare const ShoppingDashboardTranslationKeys: {
|
|
|
590
446
|
readonly key: "shoppingDashboard.defaults.noValue";
|
|
591
447
|
readonly fallback: "--";
|
|
592
448
|
};
|
|
449
|
+
readonly noData: {
|
|
450
|
+
readonly key: "shoppingDashboard.defaults.noData";
|
|
451
|
+
readonly fallback: "No data";
|
|
452
|
+
};
|
|
453
|
+
readonly noChange: {
|
|
454
|
+
readonly key: "shoppingDashboard.defaults.noChange";
|
|
455
|
+
readonly fallback: "No change";
|
|
456
|
+
};
|
|
457
|
+
readonly byRevenue: {
|
|
458
|
+
readonly key: "shoppingDashboard.defaults.byRevenue";
|
|
459
|
+
readonly fallback: "By: Revenue";
|
|
460
|
+
};
|
|
461
|
+
readonly byUnits: {
|
|
462
|
+
readonly key: "shoppingDashboard.defaults.byUnits";
|
|
463
|
+
readonly fallback: "By: Units";
|
|
464
|
+
};
|
|
465
|
+
readonly byVolume: {
|
|
466
|
+
readonly key: "shoppingDashboard.defaults.byVolume";
|
|
467
|
+
readonly fallback: "By: Volume";
|
|
468
|
+
};
|
|
469
|
+
readonly byTrend: {
|
|
470
|
+
readonly key: "shoppingDashboard.defaults.byTrend";
|
|
471
|
+
readonly fallback: "By: Trend";
|
|
472
|
+
};
|
|
473
|
+
readonly all: {
|
|
474
|
+
readonly key: "shoppingDashboard.defaults.all";
|
|
475
|
+
readonly fallback: "All";
|
|
476
|
+
};
|
|
477
|
+
readonly members: {
|
|
478
|
+
readonly key: "shoppingDashboard.defaults.members";
|
|
479
|
+
readonly fallback: "Members";
|
|
480
|
+
};
|
|
481
|
+
readonly retail: {
|
|
482
|
+
readonly key: "shoppingDashboard.defaults.retail";
|
|
483
|
+
readonly fallback: "Retail";
|
|
484
|
+
};
|
|
485
|
+
readonly brandAffiliates: {
|
|
486
|
+
readonly key: "shoppingDashboard.defaults.brandAffiliates";
|
|
487
|
+
readonly fallback: "Brand Affiliates";
|
|
488
|
+
};
|
|
489
|
+
readonly revenue: {
|
|
490
|
+
readonly key: "shoppingDashboard.defaults.revenue";
|
|
491
|
+
readonly fallback: "Revenue";
|
|
492
|
+
};
|
|
493
|
+
readonly units: {
|
|
494
|
+
readonly key: "shoppingDashboard.defaults.units";
|
|
495
|
+
readonly fallback: "Units";
|
|
496
|
+
};
|
|
497
|
+
readonly volume: {
|
|
498
|
+
readonly key: "shoppingDashboard.defaults.volume";
|
|
499
|
+
readonly fallback: "Volume";
|
|
500
|
+
};
|
|
501
|
+
readonly conversionRate: {
|
|
502
|
+
readonly key: "shoppingDashboard.defaults.conversionRate";
|
|
503
|
+
readonly fallback: "Conversion Rate";
|
|
504
|
+
};
|
|
505
|
+
readonly trend: {
|
|
506
|
+
readonly key: "shoppingDashboard.defaults.trend";
|
|
507
|
+
readonly fallback: "Trend";
|
|
508
|
+
};
|
|
509
|
+
readonly date: {
|
|
510
|
+
readonly key: "shoppingDashboard.defaults.date";
|
|
511
|
+
readonly fallback: "Date";
|
|
512
|
+
};
|
|
513
|
+
readonly type: {
|
|
514
|
+
readonly key: "shoppingDashboard.defaults.type";
|
|
515
|
+
readonly fallback: "Type";
|
|
516
|
+
};
|
|
517
|
+
readonly dcSv: {
|
|
518
|
+
readonly key: "shoppingDashboard.defaults.dcSv";
|
|
519
|
+
readonly fallback: "DC-SV";
|
|
520
|
+
};
|
|
593
521
|
};
|
|
594
522
|
};
|
|
595
523
|
type TranslationEntry = {
|
|
@@ -9,5 +9,6 @@ export interface ConversionRateChartProps {
|
|
|
9
9
|
readonly summaryChangePct?: number | null;
|
|
10
10
|
readonly onFilterChange?: (filter: ConversionFilterOption) => void;
|
|
11
11
|
readonly onTitleClick?: () => void;
|
|
12
|
+
readonly onExport?: () => void;
|
|
12
13
|
}
|
|
13
14
|
export declare const ConversionRateChart: React.NamedExoticComponent<ConversionRateChartProps>;
|
|
@@ -7,5 +7,6 @@ export interface SignupsChartProps {
|
|
|
7
7
|
readonly title?: string;
|
|
8
8
|
readonly onViewChange?: (view: SignupViewOption) => void;
|
|
9
9
|
readonly onTitleClick?: () => void;
|
|
10
|
+
readonly onExport?: () => void;
|
|
10
11
|
}
|
|
11
12
|
export declare const SignupsChart: React.NamedExoticComponent<SignupsChartProps>;
|
|
@@ -5,6 +5,7 @@ export interface CategoriesFullViewProps {
|
|
|
5
5
|
readonly dateRange: DateRangeOption;
|
|
6
6
|
readonly market: MarketOption;
|
|
7
7
|
readonly categorySort: CategorySortOption;
|
|
8
|
+
readonly summaryChangePct?: number | null;
|
|
8
9
|
readonly markets?: ReadonlyArray<MarketFilterOption>;
|
|
9
10
|
readonly isLoading?: boolean;
|
|
10
11
|
readonly onBack?: () => void;
|
|
@@ -5,7 +5,9 @@ export interface TopCategoriesPieChartProps {
|
|
|
5
5
|
readonly categorySort: CategorySortOption;
|
|
6
6
|
readonly isLoading?: boolean;
|
|
7
7
|
readonly title?: string;
|
|
8
|
+
readonly summaryChangePct?: number | null;
|
|
8
9
|
readonly onSortChange?: (sort: CategorySortOption) => void;
|
|
9
10
|
readonly onTitleClick?: () => void;
|
|
11
|
+
readonly onExport?: () => void;
|
|
10
12
|
}
|
|
11
13
|
export declare const TopCategoriesPieChart: React.NamedExoticComponent<TopCategoriesPieChartProps>;
|
package/dist/common/shopping-dashboard/shared/TopPerformingOffers/TopPerformingOffersPieChart.d.ts
CHANGED
|
@@ -7,5 +7,6 @@ export interface TopPerformingOffersPieChartProps {
|
|
|
7
7
|
readonly title?: string;
|
|
8
8
|
readonly onSortChange?: (sort: OfferSortOption) => void;
|
|
9
9
|
readonly onTitleClick?: () => void;
|
|
10
|
+
readonly onExport?: () => void;
|
|
10
11
|
}
|
|
11
12
|
export declare const TopPerformingOffersPieChart: React.NamedExoticComponent<TopPerformingOffersPieChartProps>;
|
|
@@ -7,5 +7,6 @@ export interface TopSellingProductsListProps {
|
|
|
7
7
|
readonly maxProducts?: number;
|
|
8
8
|
readonly onSortChange?: (sort: ProductSortOption) => void;
|
|
9
9
|
readonly onTitleClick?: () => void;
|
|
10
|
+
readonly onExport?: () => void;
|
|
10
11
|
}
|
|
11
12
|
export declare const TopSellingProductsList: React.NamedExoticComponent<TopSellingProductsListProps>;
|
|
@@ -7,3 +7,4 @@ export declare function usePaginatedItems<T>(items: T[], currentPage: number, it
|
|
|
7
7
|
pageItems: T[];
|
|
8
8
|
};
|
|
9
9
|
export declare function formatMoney(value: number, currencyCode?: string, locale?: string, fractionDigits?: number): string;
|
|
10
|
+
export declare function capitalizeFirstLetter(text: string): string;
|