pb-sxp-ui 1.15.16-alpha.1 → 1.15.16
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/index.cjs +6608 -6593
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +46 -46
- package/dist/index.js +6608 -6593
- package/dist/index.js.map +1 -1
- package/dist/index.min.cjs +4 -4
- package/dist/index.min.cjs.map +1 -1
- package/dist/index.min.js +4 -4
- package/dist/index.min.js.map +1 -1
- package/dist/pb-ui.js +6608 -6593
- package/dist/pb-ui.js.map +1 -1
- package/dist/pb-ui.min.js +4 -4
- package/dist/pb-ui.min.js.map +1 -1
- package/es/core/components/SxpPageRender/index.d.ts +1 -0
- package/es/core/context/SxpDataSourceProvider.d.ts +1 -1
- package/es/core/context/SxpDataSourceProvider.js +55 -40
- package/es/materials/sxp/popup/CommodityDetail/index.js +2 -2
- package/es/materials/sxp/popup/CommodityDetailDiroNew/index.js +1 -1
- package/lib/core/components/SxpPageRender/index.d.ts +1 -0
- package/lib/core/context/SxpDataSourceProvider.d.ts +1 -1
- package/lib/core/context/SxpDataSourceProvider.js +55 -40
- package/lib/materials/sxp/popup/CommodityDetail/index.js +2 -2
- package/lib/materials/sxp/popup/CommodityDetailDiroNew/index.js +1 -1
- package/package.json +1 -1
@@ -72,7 +72,7 @@ export interface ISxpDataSourceContext {
|
|
72
72
|
bffFbReport?: (body: {
|
73
73
|
eventName: 'PageView' | 'ProductView' | 'ViewContent';
|
74
74
|
product?: any;
|
75
|
-
}) =>
|
75
|
+
}) => void;
|
76
76
|
curTime?: any;
|
77
77
|
h5EnterLink?: () => void;
|
78
78
|
themeTag?: any;
|
@@ -288,27 +288,15 @@ const SxpDataSourceProvider = ({ render, dataSources, utmVal, enableReportEvent
|
|
288
288
|
playbookType,
|
289
289
|
bffDataSource
|
290
290
|
]);
|
291
|
-
const
|
292
|
-
var _a, _b, _c
|
293
|
-
|
294
|
-
window === null || window === void 0 ? void 0 : window.gtag('event', 'page_view', {
|
295
|
-
page_location: window.location.href,
|
296
|
-
page_title: document.title
|
297
|
-
});
|
298
|
-
}
|
299
|
-
if (!enableReportEvent ||
|
300
|
-
!enabledMetaConversionApi ||
|
301
|
-
(globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.enablePreview) ||
|
302
|
-
!((_a = globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.converApi) === null || _a === void 0 ? void 0 : _a[eventName])) {
|
303
|
-
return;
|
304
|
-
}
|
305
|
-
const jsonParams = cloneDeep((_b = globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.converApi) === null || _b === void 0 ? void 0 : _b[eventName]);
|
291
|
+
const getEventParamsByJson = useCallback((json, product) => {
|
292
|
+
var _a, _b, _c;
|
293
|
+
const jsonParams = cloneDeep(json);
|
306
294
|
const urlParams = new URLSearchParams(window.location.search);
|
307
295
|
const fbclid = urlParams === null || urlParams === void 0 ? void 0 : urlParams.get('fbclid');
|
308
296
|
const fix_par = {
|
309
|
-
event_source_url: (
|
297
|
+
event_source_url: (_a = window === null || window === void 0 ? void 0 : window.location) === null || _a === void 0 ? void 0 : _a.href,
|
310
298
|
external_id: fakeUserId,
|
311
|
-
client_user_agent: (
|
299
|
+
client_user_agent: (_c = (_b = window === null || window === void 0 ? void 0 : window.navigator) === null || _b === void 0 ? void 0 : _b.userAgent) !== null && _c !== void 0 ? _c : '',
|
312
300
|
fbc: fbclid ? `fb.2.${new Date().getTime()}.${fbclid}` : '',
|
313
301
|
fbp: getCookie('_fbp') ? `fb.2.${new Date().getTime()}.${getCookie('_fbp')}` : '',
|
314
302
|
time: Math.floor(Date.now() / 1000)
|
@@ -322,7 +310,7 @@ const SxpDataSourceProvider = ({ render, dataSources, utmVal, enableReportEvent
|
|
322
310
|
}
|
323
311
|
else {
|
324
312
|
for (const key in obj) {
|
325
|
-
if (
|
313
|
+
if (Object.prototype.hasOwnProperty.call(obj, key)) {
|
326
314
|
const value = obj === null || obj === void 0 ? void 0 : obj[key];
|
327
315
|
if (typeof value === 'object') {
|
328
316
|
getEventParams(value);
|
@@ -359,28 +347,55 @@ const SxpDataSourceProvider = ({ render, dataSources, utmVal, enableReportEvent
|
|
359
347
|
}
|
360
348
|
};
|
361
349
|
getEventParams(jsonParams);
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
}
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
}
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
350
|
+
return jsonParams;
|
351
|
+
}, [fakeUserId]);
|
352
|
+
const bffFbReport = useCallback(({ eventName, product }) => {
|
353
|
+
var _a, _b, _c, _d, _e;
|
354
|
+
if (!enableReportEvent || (globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.enablePreview)) {
|
355
|
+
return;
|
356
|
+
}
|
357
|
+
if (eventName === 'PageView' && typeof (window === null || window === void 0 ? void 0 : window.gtag) === 'function') {
|
358
|
+
window === null || window === void 0 ? void 0 : window.gtag('event', 'page_view', {
|
359
|
+
page_location: (_a = window === null || window === void 0 ? void 0 : window.location) === null || _a === void 0 ? void 0 : _a.href,
|
360
|
+
page_title: document === null || document === void 0 ? void 0 : document.title
|
361
|
+
});
|
362
|
+
}
|
363
|
+
const pixelEventParamsJson = (_b = globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.pixel) === null || _b === void 0 ? void 0 : _b[eventName];
|
364
|
+
if (pixelEventParamsJson && typeof (window === null || window === void 0 ? void 0 : window.fbq) === 'function') {
|
365
|
+
function updateQueryStringParameter(uri, key, value) {
|
366
|
+
const re = new RegExp('([?&])' + key + '=.*?(&|$)', 'i');
|
367
|
+
const separator = uri.indexOf('?') !== -1 ? '&' : '?';
|
368
|
+
if (uri.match(re)) {
|
369
|
+
return uri.replace(re, '$1' + key + '=' + value + '$2');
|
370
|
+
}
|
371
|
+
else {
|
372
|
+
return uri + separator + key + '=' + value;
|
373
|
+
}
|
374
|
+
}
|
375
|
+
const currentUrl = window.location.href;
|
376
|
+
const newUrl = updateQueryStringParameter(currentUrl, 'timestamp', Date.now());
|
377
|
+
history.pushState({ path: newUrl }, '', newUrl);
|
378
|
+
const body = getEventParamsByJson(pixelEventParamsJson);
|
379
|
+
window === null || window === void 0 ? void 0 : window.fbq('track', eventName, body);
|
380
|
+
}
|
381
|
+
const converApiEventParamsJson = (_c = globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.converApi) === null || _c === void 0 ? void 0 : _c[eventName];
|
382
|
+
if (enabledMetaConversionApi && converApiEventParamsJson) {
|
383
|
+
const body = getEventParamsByJson(converApiEventParamsJson, product);
|
384
|
+
const params = {};
|
385
|
+
const queryString = location.search.slice(1);
|
386
|
+
(_d = splitUrlParams(queryString)) === null || _d === void 0 ? void 0 : _d.forEach((val) => {
|
387
|
+
const key = val.split('=')[0];
|
388
|
+
const value = val.split('=')[1];
|
389
|
+
params[key] = value;
|
390
|
+
});
|
391
|
+
const cl_source = params === null || params === void 0 ? void 0 : params.cl_source;
|
392
|
+
bffFetch === null || bffFetch === void 0 ? void 0 : bffFetch(`v2/fb/${(_e = bffDataSource === null || bffDataSource === void 0 ? void 0 : bffDataSource.headers) === null || _e === void 0 ? void 0 : _e['x-app-id']}/${eventName}${cl_source ? `/${decodeURIComponent(cl_source)}` : ''}`, {
|
393
|
+
method: 'POST',
|
394
|
+
body,
|
395
|
+
type: 'beacon'
|
396
|
+
});
|
397
|
+
}
|
398
|
+
}, [bffFetch, enableReportEvent, enabledMetaConversionApi, globalConfig, bffDataSource, getEventParamsByJson]);
|
384
399
|
const bffMutateLike = useCallback((body) => __awaiter(void 0, void 0, void 0, function* () {
|
385
400
|
const res = yield (bffFetch === null || bffFetch === void 0 ? void 0 : bffFetch('v1/recommend/like', { method: 'POST', body }));
|
386
401
|
return res === null || res === void 0 ? void 0 : res.success;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { __rest } from "tslib";
|
2
2
|
import { css } from '@emotion/css';
|
3
3
|
import React, { memo, useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
4
|
+
import CommodityGroup from '../../template/components/CommodityGroup';
|
4
5
|
import { useSxpDataSource } from '../../../../core/hooks';
|
5
6
|
import './index.less';
|
6
7
|
import { A11y, Autoplay, Keyboard, Mousewheel, Navigation, Pagination } from 'swiper/modules';
|
@@ -10,7 +11,6 @@ import Modal from '../../../../core/components/SxpPageRender/Modal';
|
|
10
11
|
import ExpandableText from '../../../../core/components/SxpPageRender/ExpandableText';
|
11
12
|
import FormatImage from '../../../../core/components/SxpPageRender/FormatImage';
|
12
13
|
import { getScreenReader, setFontForText } from '../../../../core/utils/tool';
|
13
|
-
import CommodityGroup from '../../template/components/CommodityGroup';
|
14
14
|
import { getPriceText } from '../../../../core/utils/materials';
|
15
15
|
const CommodityDetail = (_a) => {
|
16
16
|
var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0;
|
@@ -67,7 +67,7 @@ const CommodityDetail = (_a) => {
|
|
67
67
|
};
|
68
68
|
}, []);
|
69
69
|
const priceText = getPriceText({
|
70
|
-
product
|
70
|
+
product,
|
71
71
|
enableFormattedPrice: (_t = commodityStyles === null || commodityStyles === void 0 ? void 0 : commodityStyles.price) === null || _t === void 0 ? void 0 : _t.enableFormattedPrice,
|
72
72
|
globalConfig,
|
73
73
|
style: commodityStyles === null || commodityStyles === void 0 ? void 0 : commodityStyles.price
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { __rest } from "tslib";
|
2
2
|
import { css } from '@emotion/css';
|
3
3
|
import React, { memo, useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
4
|
+
import CommodityGroup from '../../template/components/CommodityGroup';
|
4
5
|
import { useSxpDataSource } from '../../../../core/hooks';
|
5
6
|
import './index.less';
|
6
7
|
import { Autoplay, Pagination, Navigation, A11y, Mousewheel, Keyboard } from 'swiper/modules';
|
@@ -10,7 +11,6 @@ import ExpandableText from '../../../../core/components/SxpPageRender/Expandable
|
|
10
11
|
import { useEventReport } from '../../../../core/hooks/useEventReport';
|
11
12
|
import FormatImage from '../../../../core/components/SxpPageRender/FormatImage';
|
12
13
|
import { getScreenReader, setFontForText } from '../../../../core/utils/tool';
|
13
|
-
import CommodityGroup from '../../template/components/CommodityGroup';
|
14
14
|
import { getPriceText } from '../../../../core/utils/materials';
|
15
15
|
const CommodityDetailDiroNew = (_a) => {
|
16
16
|
var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4;
|
@@ -72,7 +72,7 @@ export interface ISxpDataSourceContext {
|
|
72
72
|
bffFbReport?: (body: {
|
73
73
|
eventName: 'PageView' | 'ProductView' | 'ViewContent';
|
74
74
|
product?: any;
|
75
|
-
}) =>
|
75
|
+
}) => void;
|
76
76
|
curTime?: any;
|
77
77
|
h5EnterLink?: () => void;
|
78
78
|
themeTag?: any;
|
@@ -291,27 +291,15 @@ const SxpDataSourceProvider = ({ render, dataSources, utmVal, enableReportEvent
|
|
291
291
|
playbookType,
|
292
292
|
bffDataSource
|
293
293
|
]);
|
294
|
-
const
|
295
|
-
var _a, _b, _c
|
296
|
-
|
297
|
-
window === null || window === void 0 ? void 0 : window.gtag('event', 'page_view', {
|
298
|
-
page_location: window.location.href,
|
299
|
-
page_title: document.title
|
300
|
-
});
|
301
|
-
}
|
302
|
-
if (!enableReportEvent ||
|
303
|
-
!enabledMetaConversionApi ||
|
304
|
-
(globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.enablePreview) ||
|
305
|
-
!((_a = globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.converApi) === null || _a === void 0 ? void 0 : _a[eventName])) {
|
306
|
-
return;
|
307
|
-
}
|
308
|
-
const jsonParams = (0, lodash_1.cloneDeep)((_b = globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.converApi) === null || _b === void 0 ? void 0 : _b[eventName]);
|
294
|
+
const getEventParamsByJson = (0, react_1.useCallback)((json, product) => {
|
295
|
+
var _a, _b, _c;
|
296
|
+
const jsonParams = (0, lodash_1.cloneDeep)(json);
|
309
297
|
const urlParams = new URLSearchParams(window.location.search);
|
310
298
|
const fbclid = urlParams === null || urlParams === void 0 ? void 0 : urlParams.get('fbclid');
|
311
299
|
const fix_par = {
|
312
|
-
event_source_url: (
|
300
|
+
event_source_url: (_a = window === null || window === void 0 ? void 0 : window.location) === null || _a === void 0 ? void 0 : _a.href,
|
313
301
|
external_id: fakeUserId,
|
314
|
-
client_user_agent: (
|
302
|
+
client_user_agent: (_c = (_b = window === null || window === void 0 ? void 0 : window.navigator) === null || _b === void 0 ? void 0 : _b.userAgent) !== null && _c !== void 0 ? _c : '',
|
315
303
|
fbc: fbclid ? `fb.2.${new Date().getTime()}.${fbclid}` : '',
|
316
304
|
fbp: (0, tool_1.getCookie)('_fbp') ? `fb.2.${new Date().getTime()}.${(0, tool_1.getCookie)('_fbp')}` : '',
|
317
305
|
time: Math.floor(Date.now() / 1000)
|
@@ -325,7 +313,7 @@ const SxpDataSourceProvider = ({ render, dataSources, utmVal, enableReportEvent
|
|
325
313
|
}
|
326
314
|
else {
|
327
315
|
for (const key in obj) {
|
328
|
-
if (
|
316
|
+
if (Object.prototype.hasOwnProperty.call(obj, key)) {
|
329
317
|
const value = obj === null || obj === void 0 ? void 0 : obj[key];
|
330
318
|
if (typeof value === 'object') {
|
331
319
|
getEventParams(value);
|
@@ -362,28 +350,55 @@ const SxpDataSourceProvider = ({ render, dataSources, utmVal, enableReportEvent
|
|
362
350
|
}
|
363
351
|
};
|
364
352
|
getEventParams(jsonParams);
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
}
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
}
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
353
|
+
return jsonParams;
|
354
|
+
}, [fakeUserId]);
|
355
|
+
const bffFbReport = (0, react_1.useCallback)(({ eventName, product }) => {
|
356
|
+
var _a, _b, _c, _d, _e;
|
357
|
+
if (!enableReportEvent || (globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.enablePreview)) {
|
358
|
+
return;
|
359
|
+
}
|
360
|
+
if (eventName === 'PageView' && typeof (window === null || window === void 0 ? void 0 : window.gtag) === 'function') {
|
361
|
+
window === null || window === void 0 ? void 0 : window.gtag('event', 'page_view', {
|
362
|
+
page_location: (_a = window === null || window === void 0 ? void 0 : window.location) === null || _a === void 0 ? void 0 : _a.href,
|
363
|
+
page_title: document === null || document === void 0 ? void 0 : document.title
|
364
|
+
});
|
365
|
+
}
|
366
|
+
const pixelEventParamsJson = (_b = globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.pixel) === null || _b === void 0 ? void 0 : _b[eventName];
|
367
|
+
if (pixelEventParamsJson && typeof (window === null || window === void 0 ? void 0 : window.fbq) === 'function') {
|
368
|
+
function updateQueryStringParameter(uri, key, value) {
|
369
|
+
const re = new RegExp('([?&])' + key + '=.*?(&|$)', 'i');
|
370
|
+
const separator = uri.indexOf('?') !== -1 ? '&' : '?';
|
371
|
+
if (uri.match(re)) {
|
372
|
+
return uri.replace(re, '$1' + key + '=' + value + '$2');
|
373
|
+
}
|
374
|
+
else {
|
375
|
+
return uri + separator + key + '=' + value;
|
376
|
+
}
|
377
|
+
}
|
378
|
+
const currentUrl = window.location.href;
|
379
|
+
const newUrl = updateQueryStringParameter(currentUrl, 'timestamp', Date.now());
|
380
|
+
history.pushState({ path: newUrl }, '', newUrl);
|
381
|
+
const body = getEventParamsByJson(pixelEventParamsJson);
|
382
|
+
window === null || window === void 0 ? void 0 : window.fbq('track', eventName, body);
|
383
|
+
}
|
384
|
+
const converApiEventParamsJson = (_c = globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.converApi) === null || _c === void 0 ? void 0 : _c[eventName];
|
385
|
+
if (enabledMetaConversionApi && converApiEventParamsJson) {
|
386
|
+
const body = getEventParamsByJson(converApiEventParamsJson, product);
|
387
|
+
const params = {};
|
388
|
+
const queryString = location.search.slice(1);
|
389
|
+
(_d = (0, tool_1.splitUrlParams)(queryString)) === null || _d === void 0 ? void 0 : _d.forEach((val) => {
|
390
|
+
const key = val.split('=')[0];
|
391
|
+
const value = val.split('=')[1];
|
392
|
+
params[key] = value;
|
393
|
+
});
|
394
|
+
const cl_source = params === null || params === void 0 ? void 0 : params.cl_source;
|
395
|
+
bffFetch === null || bffFetch === void 0 ? void 0 : bffFetch(`v2/fb/${(_e = bffDataSource === null || bffDataSource === void 0 ? void 0 : bffDataSource.headers) === null || _e === void 0 ? void 0 : _e['x-app-id']}/${eventName}${cl_source ? `/${decodeURIComponent(cl_source)}` : ''}`, {
|
396
|
+
method: 'POST',
|
397
|
+
body,
|
398
|
+
type: 'beacon'
|
399
|
+
});
|
400
|
+
}
|
401
|
+
}, [bffFetch, enableReportEvent, enabledMetaConversionApi, globalConfig, bffDataSource, getEventParamsByJson]);
|
387
402
|
const bffMutateLike = (0, react_1.useCallback)((body) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
|
388
403
|
const res = yield (bffFetch === null || bffFetch === void 0 ? void 0 : bffFetch('v1/recommend/like', { method: 'POST', body }));
|
389
404
|
return res === null || res === void 0 ? void 0 : res.success;
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
4
4
|
const css_1 = require("@emotion/css");
|
5
5
|
const react_1 = tslib_1.__importStar(require("react"));
|
6
|
+
const CommodityGroup_1 = tslib_1.__importDefault(require("../../template/components/CommodityGroup"));
|
6
7
|
const hooks_1 = require("../../../../core/hooks");
|
7
8
|
require("./index.less");
|
8
9
|
const modules_1 = require("swiper/modules");
|
@@ -12,7 +13,6 @@ const Modal_1 = tslib_1.__importDefault(require("../../../../core/components/Sxp
|
|
12
13
|
const ExpandableText_1 = tslib_1.__importDefault(require("../../../../core/components/SxpPageRender/ExpandableText"));
|
13
14
|
const FormatImage_1 = tslib_1.__importDefault(require("../../../../core/components/SxpPageRender/FormatImage"));
|
14
15
|
const tool_1 = require("../../../../core/utils/tool");
|
15
|
-
const CommodityGroup_1 = tslib_1.__importDefault(require("../../template/components/CommodityGroup"));
|
16
16
|
const materials_1 = require("../../../../core/utils/materials");
|
17
17
|
const CommodityDetail = (_a) => {
|
18
18
|
var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0;
|
@@ -69,7 +69,7 @@ const CommodityDetail = (_a) => {
|
|
69
69
|
};
|
70
70
|
}, []);
|
71
71
|
const priceText = (0, materials_1.getPriceText)({
|
72
|
-
product
|
72
|
+
product,
|
73
73
|
enableFormattedPrice: (_t = commodityStyles === null || commodityStyles === void 0 ? void 0 : commodityStyles.price) === null || _t === void 0 ? void 0 : _t.enableFormattedPrice,
|
74
74
|
globalConfig,
|
75
75
|
style: commodityStyles === null || commodityStyles === void 0 ? void 0 : commodityStyles.price
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
4
4
|
const css_1 = require("@emotion/css");
|
5
5
|
const react_1 = tslib_1.__importStar(require("react"));
|
6
|
+
const CommodityGroup_1 = tslib_1.__importDefault(require("../../template/components/CommodityGroup"));
|
6
7
|
const hooks_1 = require("../../../../core/hooks");
|
7
8
|
require("./index.less");
|
8
9
|
const modules_1 = require("swiper/modules");
|
@@ -12,7 +13,6 @@ const ExpandableText_1 = tslib_1.__importDefault(require("../../../../core/compo
|
|
12
13
|
const useEventReport_1 = require("../../../../core/hooks/useEventReport");
|
13
14
|
const FormatImage_1 = tslib_1.__importDefault(require("../../../../core/components/SxpPageRender/FormatImage"));
|
14
15
|
const tool_1 = require("../../../../core/utils/tool");
|
15
|
-
const CommodityGroup_1 = tslib_1.__importDefault(require("../../template/components/CommodityGroup"));
|
16
16
|
const materials_1 = require("../../../../core/utils/materials");
|
17
17
|
const CommodityDetailDiroNew = (_a) => {
|
18
18
|
var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4;
|