contentoh-components-library 21.6.35 → 21.6.36
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/components/organisms/UnlinkVariantModal/index.js +178 -0
- package/dist/components/organisms/UnlinkVariantModal/styles.js +42 -0
- package/dist/components/pages/ProviderProductEdition/index.js +186 -59
- package/dist/components/pages/ProviderProductEdition/styles.js +2 -2
- package/dist/components/pages/RetailerProductEdition/index.js +183 -68
- package/dist/components/pages/RetailerProductEdition/styles.js +2 -2
- package/dist/index.js +25 -12
- package/package.json +1 -1
- package/src/components/organisms/UnlinkVariantModal/index.js +141 -0
- package/src/components/organisms/UnlinkVariantModal/styles.js +106 -0
- package/src/components/pages/ProviderProductEdition/index.js +166 -37
- package/src/components/pages/ProviderProductEdition/styles.js +30 -0
- package/src/components/pages/RetailerProductEdition/index.js +155 -33
- package/src/components/pages/RetailerProductEdition/styles.js +30 -0
- package/src/index.js +1 -0
|
@@ -75,6 +75,8 @@ var _Modal = require("../../organisms/Modal");
|
|
|
75
75
|
|
|
76
76
|
var _LinkVariantsModal = require("../../organisms/LinkVariantsModal");
|
|
77
77
|
|
|
78
|
+
var _UnlinkVariantModal = require("../../organisms/UnlinkVariantModal");
|
|
79
|
+
|
|
78
80
|
var _PropagateChangesModal = require("../../organisms/PropagateChangesModal");
|
|
79
81
|
|
|
80
82
|
var _api = require("../../organisms/LinkVariantsModal/api");
|
|
@@ -234,7 +236,7 @@ function _regenerateVideoThumbnails() {
|
|
|
234
236
|
}
|
|
235
237
|
|
|
236
238
|
var RetailerProductEditionView = function RetailerProductEditionView(_ref) {
|
|
237
|
-
var _state$product10, _family$variants, _state$product11, _state$errors, _family$variants2, _state$
|
|
239
|
+
var _state$product10, _family$variants, _state$product11, _state$errors, _family$variants2, _state$product15, _state$product16, _state$product17, _state$active_retaile5, _location$state, _location$state2, _state$active_retaile6, _state$active_retaile7, _state$images_values$2, _state$images_values10, _state$images_values11, _state$product18, _state$active_retaile8, _family$variants3, _family$variants4, _state$active_percent, _state$active_percent2, _state$active_percent3, _state$active_retaile9, _state$active_retaile10, _state$active_retaile11, _state$product24, _state$services2, _state$services2$data, _state$product25, _state$product26, _state$datasheets_inp, _state$datasheets_inp2, _state$product27, _state$images_values12, _state$comment;
|
|
238
240
|
|
|
239
241
|
var tabsSections = _ref.tabsSections,
|
|
240
242
|
_ref$productSelected = _ref.productSelected,
|
|
@@ -331,49 +333,56 @@ var RetailerProductEditionView = function RetailerProductEditionView(_ref) {
|
|
|
331
333
|
var _useState27 = (0, _react.useState)(null),
|
|
332
334
|
_useState28 = (0, _slicedToArray2.default)(_useState27, 2),
|
|
333
335
|
loadingVariant = _useState28[0],
|
|
334
|
-
setLoadingVariant = _useState28[1]; //
|
|
335
|
-
//
|
|
336
|
+
setLoadingVariant = _useState28[1]; // Qué vínculo se está por romper, o null si no hay diálogo abierto. Guarda al
|
|
337
|
+
// HIJO, que es quien lleva la relación y lo que pide la acción `unlink`.
|
|
336
338
|
|
|
337
339
|
|
|
338
340
|
var _useState29 = (0, _react.useState)(null),
|
|
339
341
|
_useState30 = (0, _slicedToArray2.default)(_useState29, 2),
|
|
340
|
-
|
|
341
|
-
|
|
342
|
+
porDesvincular = _useState30[0],
|
|
343
|
+
setPorDesvincular = _useState30[1]; // Por qué un salto no se pudo hacer. Vive aparte de `family.error` porque no
|
|
344
|
+
// es un fallo al leer la familia, sino al abrir uno de sus miembros.
|
|
345
|
+
|
|
342
346
|
|
|
343
347
|
var _useState31 = (0, _react.useState)(null),
|
|
344
348
|
_useState32 = (0, _slicedToArray2.default)(_useState31, 2),
|
|
345
|
-
|
|
346
|
-
|
|
349
|
+
avisoFamilia = _useState32[0],
|
|
350
|
+
setAvisoFamilia = _useState32[1];
|
|
347
351
|
|
|
348
|
-
var _useState33 = (0, _react.useState)(
|
|
352
|
+
var _useState33 = (0, _react.useState)(null),
|
|
349
353
|
_useState34 = (0, _slicedToArray2.default)(_useState33, 2),
|
|
350
|
-
|
|
351
|
-
|
|
354
|
+
pendingPropagation = _useState34[0],
|
|
355
|
+
setPendingPropagation = _useState34[1];
|
|
352
356
|
|
|
353
|
-
var _useState35 = (0, _react.useState)(
|
|
357
|
+
var _useState35 = (0, _react.useState)(false),
|
|
354
358
|
_useState36 = (0, _slicedToArray2.default)(_useState35, 2),
|
|
355
|
-
|
|
356
|
-
|
|
359
|
+
preparandoPropagacion = _useState36[0],
|
|
360
|
+
setPreparandoPropagacion = _useState36[1];
|
|
357
361
|
|
|
358
362
|
var _useState37 = (0, _react.useState)([]),
|
|
359
363
|
_useState38 = (0, _slicedToArray2.default)(_useState37, 2),
|
|
360
|
-
|
|
361
|
-
|
|
364
|
+
auditServices = _useState38[0],
|
|
365
|
+
setAuditServices = _useState38[1];
|
|
362
366
|
|
|
363
367
|
var _useState39 = (0, _react.useState)([]),
|
|
364
368
|
_useState40 = (0, _slicedToArray2.default)(_useState39, 2),
|
|
365
|
-
|
|
366
|
-
|
|
369
|
+
auditDatasheets = _useState40[0],
|
|
370
|
+
setAuditDatasheets = _useState40[1];
|
|
367
371
|
|
|
368
|
-
var _useState41 = (0, _react.useState)(
|
|
372
|
+
var _useState41 = (0, _react.useState)([]),
|
|
369
373
|
_useState42 = (0, _slicedToArray2.default)(_useState41, 2),
|
|
370
|
-
|
|
371
|
-
|
|
374
|
+
auditDescriptions = _useState42[0],
|
|
375
|
+
setAuditDescriptions = _useState42[1];
|
|
372
376
|
|
|
373
377
|
var _useState43 = (0, _react.useState)(false),
|
|
374
378
|
_useState44 = (0, _slicedToArray2.default)(_useState43, 2),
|
|
375
|
-
|
|
376
|
-
|
|
379
|
+
showModal = _useState44[0],
|
|
380
|
+
setShowModal = _useState44[1];
|
|
381
|
+
|
|
382
|
+
var _useState45 = (0, _react.useState)(false),
|
|
383
|
+
_useState46 = (0, _slicedToArray2.default)(_useState45, 2),
|
|
384
|
+
compare = _useState46[0],
|
|
385
|
+
setCompare = _useState46[1];
|
|
377
386
|
|
|
378
387
|
var _useDropzone = (0, _reactDropzone.useDropzone)({
|
|
379
388
|
accept: "image/*, video/mp4",
|
|
@@ -509,10 +518,10 @@ var RetailerProductEditionView = function RetailerProductEditionView(_ref) {
|
|
|
509
518
|
isDragActive = _useDropzone.isDragActive,
|
|
510
519
|
open = _useDropzone.open;
|
|
511
520
|
|
|
512
|
-
var
|
|
513
|
-
|
|
514
|
-
openChangeStatusModal =
|
|
515
|
-
setOpenChangeStatusModal =
|
|
521
|
+
var _useState47 = (0, _react.useState)(false),
|
|
522
|
+
_useState48 = (0, _slicedToArray2.default)(_useState47, 2),
|
|
523
|
+
openChangeStatusModal = _useState48[0],
|
|
524
|
+
setOpenChangeStatusModal = _useState48[1];
|
|
516
525
|
|
|
517
526
|
var thumbs = function thumbs() {
|
|
518
527
|
var _state$images_values, _state$images_values$, _state$images_values4, _state$images_values5, _state$images_values6, _state$images_values7, _state$images_values8, _state$images_values9;
|
|
@@ -1251,6 +1260,66 @@ var RetailerProductEditionView = function RetailerProductEditionView(_ref) {
|
|
|
1251
1260
|
pantalla que mostraría el producto equivocado.
|
|
1252
1261
|
*/
|
|
1253
1262
|
|
|
1263
|
+
/*
|
|
1264
|
+
Después de desvincular, esta ficha cambia de forma: si se soltó de su padre
|
|
1265
|
+
vuelve a poder ligar, y si soltó a un hijo pierde uno de la cuenta. En esta
|
|
1266
|
+
pantalla el bloque de parentesco se decide con `family`, así que hay que
|
|
1267
|
+
repreguntarla —vaciarla lo haría desaparecer, que es el error que ya se
|
|
1268
|
+
cometió una vez aquí—.
|
|
1269
|
+
*/
|
|
1270
|
+
|
|
1271
|
+
var handleOnUnlinked = function handleOnUnlinked(result) {
|
|
1272
|
+
var _state$product$varian, _state$product12, _updatedProduct$varia;
|
|
1273
|
+
|
|
1274
|
+
if (!result) return;
|
|
1275
|
+
var updatedProduct = result.mode === "self" ? (0, _objectSpread5.default)((0, _objectSpread5.default)({}, state.product), {}, {
|
|
1276
|
+
parentArticleId: null,
|
|
1277
|
+
variantsCount: 0
|
|
1278
|
+
}) : (0, _objectSpread5.default)((0, _objectSpread5.default)({}, state.product), {}, {
|
|
1279
|
+
variantsCount: Math.max(((_state$product$varian = (_state$product12 = state.product) === null || _state$product12 === void 0 ? void 0 : _state$product12.variantsCount) !== null && _state$product$varian !== void 0 ? _state$product$varian : 1) - 1, 0)
|
|
1280
|
+
});
|
|
1281
|
+
dispatch({
|
|
1282
|
+
type: "SET_PRODUCT",
|
|
1283
|
+
payload: updatedProduct
|
|
1284
|
+
}); // Se PARCHEA lo guardado: ahí vive el producto con la forma del listado
|
|
1285
|
+
// —`article` anidado, servicios, cadenas— y escribir encima la versión
|
|
1286
|
+
// aplanada de esta pantalla lo dejaría mutilado en el siguiente F5.
|
|
1287
|
+
|
|
1288
|
+
try {
|
|
1289
|
+
var _sessionStorage$getIt;
|
|
1290
|
+
|
|
1291
|
+
var guardado = JSON.parse((_sessionStorage$getIt = sessionStorage.getItem("productSelected")) !== null && _sessionStorage$getIt !== void 0 ? _sessionStorage$getIt : "null");
|
|
1292
|
+
|
|
1293
|
+
if (guardado) {
|
|
1294
|
+
var _updatedProduct$paren;
|
|
1295
|
+
|
|
1296
|
+
sessionStorage.setItem("productSelected", JSON.stringify((0, _objectSpread5.default)((0, _objectSpread5.default)({}, guardado), {}, {
|
|
1297
|
+
variantsCount: updatedProduct.variantsCount,
|
|
1298
|
+
parentArticleId: (_updatedProduct$paren = updatedProduct.parentArticleId) !== null && _updatedProduct$paren !== void 0 ? _updatedProduct$paren : null
|
|
1299
|
+
})));
|
|
1300
|
+
}
|
|
1301
|
+
} catch (error) {
|
|
1302
|
+
console.error("unlinkVariant/sessionStorage: ", error);
|
|
1303
|
+
}
|
|
1304
|
+
/*
|
|
1305
|
+
Si ya no queda familia, se cierra el desplegable: su botón desaparece con
|
|
1306
|
+
el vínculo, y dejarlo abierto pinta una caja que dice «no tiene hijos» y
|
|
1307
|
+
que nadie puede cerrar.
|
|
1308
|
+
*/
|
|
1309
|
+
|
|
1310
|
+
|
|
1311
|
+
if (!updatedProduct.parentArticleId && ((_updatedProduct$varia = updatedProduct.variantsCount) !== null && _updatedProduct$varia !== void 0 ? _updatedProduct$varia : 0) === 0) {
|
|
1312
|
+
setShowFamily(false);
|
|
1313
|
+
}
|
|
1314
|
+
|
|
1315
|
+
loadFamily(true); // Al desvincular el servidor pone `is_overridden = 0` en todas las
|
|
1316
|
+
// versiones, así que los chips de herencia tienen que dejar de dibujarse.
|
|
1317
|
+
// Sin `enableLoading` para no parpadear el esqueleto encima de una pantalla
|
|
1318
|
+
// que ya está pintada.
|
|
1319
|
+
|
|
1320
|
+
loadData(false);
|
|
1321
|
+
};
|
|
1322
|
+
|
|
1254
1323
|
var openFamilyMember = /*#__PURE__*/function () {
|
|
1255
1324
|
var _ref9 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee6(articleId) {
|
|
1256
1325
|
var _readPayload, res, _ref10, data, encontrado;
|
|
@@ -1336,11 +1405,11 @@ var RetailerProductEditionView = function RetailerProductEditionView(_ref) {
|
|
|
1336
1405
|
|
|
1337
1406
|
|
|
1338
1407
|
var handleOnLinkedVariants = function handleOnLinkedVariants(result) {
|
|
1339
|
-
var _state$product$
|
|
1408
|
+
var _state$product$varian2, _state$product13, _result$linked, _result$parentArticle;
|
|
1340
1409
|
|
|
1341
1410
|
if (!result) return;
|
|
1342
1411
|
var updatedProduct = result.mode === "children" ? (0, _objectSpread5.default)((0, _objectSpread5.default)({}, state.product), {}, {
|
|
1343
|
-
variantsCount: ((_state$product$
|
|
1412
|
+
variantsCount: ((_state$product$varian2 = (_state$product13 = state.product) === null || _state$product13 === void 0 ? void 0 : _state$product13.variantsCount) !== null && _state$product$varian2 !== void 0 ? _state$product$varian2 : 0) + ((_result$linked = result.linked) !== null && _result$linked !== void 0 ? _result$linked : []).length
|
|
1344
1413
|
}) : (0, _objectSpread5.default)((0, _objectSpread5.default)({}, state.product), {}, {
|
|
1345
1414
|
parentArticleId: (_result$parentArticle = result.parentArticleId) !== null && _result$parentArticle !== void 0 ? _result$parentArticle : null,
|
|
1346
1415
|
variantsCount: 0
|
|
@@ -1361,16 +1430,16 @@ var RetailerProductEditionView = function RetailerProductEditionView(_ref) {
|
|
|
1361
1430
|
*/
|
|
1362
1431
|
|
|
1363
1432
|
try {
|
|
1364
|
-
var _sessionStorage$
|
|
1433
|
+
var _sessionStorage$getIt2;
|
|
1365
1434
|
|
|
1366
|
-
var guardado = JSON.parse((_sessionStorage$
|
|
1435
|
+
var guardado = JSON.parse((_sessionStorage$getIt2 = sessionStorage.getItem("productSelected")) !== null && _sessionStorage$getIt2 !== void 0 ? _sessionStorage$getIt2 : "null");
|
|
1367
1436
|
|
|
1368
1437
|
if (guardado) {
|
|
1369
|
-
var _updatedProduct$
|
|
1438
|
+
var _updatedProduct$paren2;
|
|
1370
1439
|
|
|
1371
1440
|
sessionStorage.setItem("productSelected", JSON.stringify((0, _objectSpread5.default)((0, _objectSpread5.default)({}, guardado), {}, {
|
|
1372
1441
|
variantsCount: updatedProduct.variantsCount,
|
|
1373
|
-
parentArticleId: (_updatedProduct$
|
|
1442
|
+
parentArticleId: (_updatedProduct$paren2 = updatedProduct.parentArticleId) !== null && _updatedProduct$paren2 !== void 0 ? _updatedProduct$paren2 : null
|
|
1374
1443
|
})));
|
|
1375
1444
|
}
|
|
1376
1445
|
} catch (error) {
|
|
@@ -1415,7 +1484,7 @@ var RetailerProductEditionView = function RetailerProductEditionView(_ref) {
|
|
|
1415
1484
|
|
|
1416
1485
|
var handleOnRestoreInheritance = /*#__PURE__*/function () {
|
|
1417
1486
|
var _ref11 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee7(attributeId) {
|
|
1418
|
-
var _state$
|
|
1487
|
+
var _state$product14;
|
|
1419
1488
|
|
|
1420
1489
|
var kind,
|
|
1421
1490
|
esDescripcion,
|
|
@@ -1428,7 +1497,7 @@ var RetailerProductEditionView = function RetailerProductEditionView(_ref) {
|
|
|
1428
1497
|
case 0:
|
|
1429
1498
|
kind = _args7.length > 1 && _args7[1] !== undefined ? _args7[1] : "attribute";
|
|
1430
1499
|
|
|
1431
|
-
if (!(!attributeId || !((_state$
|
|
1500
|
+
if (!(!attributeId || !((_state$product14 = state.product) !== null && _state$product14 !== void 0 && _state$product14.id_article))) {
|
|
1432
1501
|
_context7.next = 3;
|
|
1433
1502
|
break;
|
|
1434
1503
|
}
|
|
@@ -2536,16 +2605,22 @@ var RetailerProductEditionView = function RetailerProductEditionView(_ref) {
|
|
|
2536
2605
|
saveDatasheets(token, propagation !== null && propagation !== void 0 ? propagation : undefined);
|
|
2537
2606
|
}
|
|
2538
2607
|
}), showLinkVariants && /*#__PURE__*/(0, _jsxRuntime.jsx)(_LinkVariantsModal.LinkVariantsModal, {
|
|
2539
|
-
articleId: (_state$
|
|
2540
|
-
articleName: (_state$
|
|
2541
|
-
articleUpc: (_state$
|
|
2608
|
+
articleId: (_state$product15 = state.product) === null || _state$product15 === void 0 ? void 0 : _state$product15.id_article,
|
|
2609
|
+
articleName: (_state$product16 = state.product) === null || _state$product16 === void 0 ? void 0 : _state$product16.name,
|
|
2610
|
+
articleUpc: (_state$product17 = state.product) === null || _state$product17 === void 0 ? void 0 : _state$product17.upc,
|
|
2542
2611
|
activeRetailerId: (_state$active_retaile5 = state.active_retailer) === null || _state$active_retaile5 === void 0 ? void 0 : _state$active_retaile5.id_retailer,
|
|
2543
2612
|
token: token,
|
|
2544
2613
|
onClose: function onClose() {
|
|
2545
2614
|
return setShowLinkVariants(false);
|
|
2546
2615
|
},
|
|
2547
2616
|
onLinked: handleOnLinkedVariants
|
|
2548
|
-
}),
|
|
2617
|
+
}), porDesvincular && /*#__PURE__*/(0, _jsxRuntime.jsx)(_UnlinkVariantModal.UnlinkVariantModal, (0, _objectSpread5.default)((0, _objectSpread5.default)({}, porDesvincular), {}, {
|
|
2618
|
+
token: token,
|
|
2619
|
+
onClose: function onClose() {
|
|
2620
|
+
return setPorDesvincular(null);
|
|
2621
|
+
},
|
|
2622
|
+
onUnlinked: handleOnUnlinked
|
|
2623
|
+
})), showRejectModal && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Modal.Modal, {
|
|
2549
2624
|
title: rejectAll ? "Agregar mensaje para rechazar todo" : "Agregar mensaje de rechazo",
|
|
2550
2625
|
show: showRejectModal,
|
|
2551
2626
|
customComponent: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.TagAndInput, {
|
|
@@ -2699,7 +2774,7 @@ var RetailerProductEditionView = function RetailerProductEditionView(_ref) {
|
|
|
2699
2774
|
lists: state.images_values || [],
|
|
2700
2775
|
activeImage: (_state$images_values10 = state.images_values) !== null && _state$images_values10 !== void 0 && _state$images_values10.values ? (_state$images_values11 = state.images_values) === null || _state$images_values11 === void 0 ? void 0 : _state$images_values11.values[state.current_image] : {},
|
|
2701
2776
|
assignationsImages: state.collaborator_assignations["Imágenes"],
|
|
2702
|
-
imagesStatus: ((_state$
|
|
2777
|
+
imagesStatus: ((_state$product18 = state.product) === null || _state$product18 === void 0 ? void 0 : _state$product18.images_status) || "-",
|
|
2703
2778
|
retailerSelected: (_state$active_retaile8 = state.active_retailer) === null || _state$active_retaile8 === void 0 ? void 0 : _state$active_retaile8.id_retailer,
|
|
2704
2779
|
isRetailer: isRetailer,
|
|
2705
2780
|
version: state.product.version,
|
|
@@ -2763,40 +2838,80 @@ var RetailerProductEditionView = function RetailerProductEditionView(_ref) {
|
|
|
2763
2838
|
}), (family === null || family === void 0 ? void 0 : family.error) && /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
|
|
2764
2839
|
className: "loading",
|
|
2765
2840
|
children: "No se pudo cargar la familia de este producto."
|
|
2766
|
-
}), (family === null || family === void 0 ? void 0 : family.parent) && /*#__PURE__*/(0, _jsxRuntime.jsxs)("
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
disabled: loadingVariant !== null,
|
|
2770
|
-
onClick: function onClick() {
|
|
2771
|
-
return openFamilyMember(family.parent.articleId);
|
|
2772
|
-
},
|
|
2773
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
2774
|
-
className: "role",
|
|
2775
|
-
children: loadingVariant === family.parent.articleId ? "Abriendo…" : "Producto padre"
|
|
2776
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
2777
|
-
className: "name",
|
|
2778
|
-
children: family.parent.name
|
|
2779
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
2780
|
-
className: "upc",
|
|
2781
|
-
children: family.parent.upc
|
|
2782
|
-
})]
|
|
2783
|
-
}), family === null || family === void 0 ? void 0 : (_family$variants3 = family.variants) === null || _family$variants3 === void 0 ? void 0 : _family$variants3.map(function (variant) {
|
|
2784
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("button", {
|
|
2841
|
+
}), (family === null || family === void 0 ? void 0 : family.parent) && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
2842
|
+
className: "family-item",
|
|
2843
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("button", {
|
|
2785
2844
|
type: "button",
|
|
2786
|
-
className: "family-row
|
|
2787
|
-
disabled:
|
|
2845
|
+
className: "family-row parent",
|
|
2846
|
+
disabled: loadingVariant !== null,
|
|
2788
2847
|
onClick: function onClick() {
|
|
2789
|
-
return openFamilyMember(
|
|
2848
|
+
return openFamilyMember(family.parent.articleId);
|
|
2790
2849
|
},
|
|
2791
2850
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
2792
2851
|
className: "role",
|
|
2793
|
-
children: loadingVariant ===
|
|
2852
|
+
children: loadingVariant === family.parent.articleId ? "Abriendo…" : "Producto padre"
|
|
2794
2853
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
2795
2854
|
className: "name",
|
|
2796
|
-
children:
|
|
2855
|
+
children: family.parent.name
|
|
2797
2856
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
2798
2857
|
className: "upc",
|
|
2799
|
-
children:
|
|
2858
|
+
children: family.parent.upc
|
|
2859
|
+
})]
|
|
2860
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("button", {
|
|
2861
|
+
type: "button",
|
|
2862
|
+
className: "desvincular",
|
|
2863
|
+
title: "Dejar de ser hijo de este producto",
|
|
2864
|
+
onClick: function onClick() {
|
|
2865
|
+
var _state$product19, _state$product20, _state$product21;
|
|
2866
|
+
|
|
2867
|
+
return setPorDesvincular({
|
|
2868
|
+
mode: "self",
|
|
2869
|
+
childArticleId: (_state$product19 = state.product) === null || _state$product19 === void 0 ? void 0 : _state$product19.id_article,
|
|
2870
|
+
childName: (_state$product20 = state.product) === null || _state$product20 === void 0 ? void 0 : _state$product20.name,
|
|
2871
|
+
childUpc: (_state$product21 = state.product) === null || _state$product21 === void 0 ? void 0 : _state$product21.upc,
|
|
2872
|
+
parentName: family.parent.name,
|
|
2873
|
+
parentUpc: family.parent.upc
|
|
2874
|
+
});
|
|
2875
|
+
},
|
|
2876
|
+
children: "Desvincular"
|
|
2877
|
+
})]
|
|
2878
|
+
}), family === null || family === void 0 ? void 0 : (_family$variants3 = family.variants) === null || _family$variants3 === void 0 ? void 0 : _family$variants3.map(function (variant) {
|
|
2879
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
2880
|
+
className: "family-item",
|
|
2881
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("button", {
|
|
2882
|
+
type: "button",
|
|
2883
|
+
className: "family-row".concat(variant.isCurrent ? " current" : ""),
|
|
2884
|
+
disabled: variant.isCurrent || loadingVariant !== null,
|
|
2885
|
+
onClick: function onClick() {
|
|
2886
|
+
return openFamilyMember(variant.articleId);
|
|
2887
|
+
},
|
|
2888
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
2889
|
+
className: "role",
|
|
2890
|
+
children: loadingVariant === variant.articleId ? "Abriendo…" : variant.isCurrent ? "Estás aquí" : "Hijo"
|
|
2891
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
2892
|
+
className: "name",
|
|
2893
|
+
children: variant.name
|
|
2894
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
2895
|
+
className: "upc",
|
|
2896
|
+
children: variant.upc
|
|
2897
|
+
})]
|
|
2898
|
+
}), !family.parent && !variant.isCurrent && /*#__PURE__*/(0, _jsxRuntime.jsx)("button", {
|
|
2899
|
+
type: "button",
|
|
2900
|
+
className: "desvincular",
|
|
2901
|
+
title: "Desvincular este hijo",
|
|
2902
|
+
onClick: function onClick() {
|
|
2903
|
+
var _state$product22, _state$product23;
|
|
2904
|
+
|
|
2905
|
+
return setPorDesvincular({
|
|
2906
|
+
mode: "child",
|
|
2907
|
+
childArticleId: variant.articleId,
|
|
2908
|
+
childName: variant.name,
|
|
2909
|
+
childUpc: variant.upc,
|
|
2910
|
+
parentName: (_state$product22 = state.product) === null || _state$product22 === void 0 ? void 0 : _state$product22.name,
|
|
2911
|
+
parentUpc: (_state$product23 = state.product) === null || _state$product23 === void 0 ? void 0 : _state$product23.upc
|
|
2912
|
+
});
|
|
2913
|
+
},
|
|
2914
|
+
children: "Desvincular"
|
|
2800
2915
|
})]
|
|
2801
2916
|
}, variant.articleId);
|
|
2802
2917
|
}), family && !family.error && !((_family$variants4 = family.variants) !== null && _family$variants4 !== void 0 && _family$variants4.length) && /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
|
|
@@ -2864,7 +2979,7 @@ var RetailerProductEditionView = function RetailerProductEditionView(_ref) {
|
|
|
2864
2979
|
className: "services-information-container " + (imageLayout && state.active_tab === "Imágenes" ? "image-services" : ""),
|
|
2865
2980
|
id: "services-information-container",
|
|
2866
2981
|
children: state.saving ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_Loading.Loading, {}) : /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
2867
|
-
children: [state.active_tab === "Descripción" && (((_state$
|
|
2982
|
+
children: [state.active_tab === "Descripción" && (((_state$product24 = state.product) === null || _state$product24 === void 0 ? void 0 : _state$product24.description_status) !== "NS" ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_InputGroup.InputGroup, {
|
|
2868
2983
|
activeSection: state.active_tab,
|
|
2869
2984
|
inputGroup: state.descriptions_inputs[0],
|
|
2870
2985
|
updatedDescriptions: state.updated_descriptions_inputs
|
|
@@ -2873,7 +2988,7 @@ var RetailerProductEditionView = function RetailerProductEditionView(_ref) {
|
|
|
2873
2988
|
,
|
|
2874
2989
|
variant: (_state$services2 = state.services) === null || _state$services2 === void 0 ? void 0 : (_state$services2$data = _state$services2.datasheets) === null || _state$services2$data === void 0 ? void 0 : _state$services2$data.variant,
|
|
2875
2990
|
onRestoreInheritance: handleOnRestoreInheritance,
|
|
2876
|
-
articleId: (_state$
|
|
2991
|
+
articleId: (_state$product25 = state.product) === null || _state$product25 === void 0 ? void 0 : _state$product25.id_article,
|
|
2877
2992
|
version: state.product.version,
|
|
2878
2993
|
auditInputGroup: auditDescriptions[0],
|
|
2879
2994
|
setUpdatedDescriptions: handleOnSetUpdatedDescriptions,
|
|
@@ -2882,7 +2997,7 @@ var RetailerProductEditionView = function RetailerProductEditionView(_ref) {
|
|
|
2882
2997
|
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_ScreenHeader.ScreenHeader, {
|
|
2883
2998
|
text: "No cuentas con este servicio",
|
|
2884
2999
|
headerType: "input-name-header"
|
|
2885
|
-
})), state.active_tab === "Ficha técnica" && (((_state$
|
|
3000
|
+
})), state.active_tab === "Ficha técnica" && (((_state$product26 = state.product) === null || _state$product26 === void 0 ? void 0 : _state$product26.datasheet_status) !== "NS" ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
|
|
2886
3001
|
children: (_state$datasheets_inp = state.datasheets_inputs[0]) === null || _state$datasheets_inp === void 0 ? void 0 : (_state$datasheets_inp2 = _state$datasheets_inp.data) === null || _state$datasheets_inp2 === void 0 ? void 0 : _state$datasheets_inp2.map(function (dataGroup, index) {
|
|
2887
3002
|
var _state$services3, _state$services3$data;
|
|
2888
3003
|
|
|
@@ -2903,7 +3018,7 @@ var RetailerProductEditionView = function RetailerProductEditionView(_ref) {
|
|
|
2903
3018
|
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_ScreenHeader.ScreenHeader, {
|
|
2904
3019
|
text: "No cuentas con este servicio",
|
|
2905
3020
|
headerType: "input-name-header"
|
|
2906
|
-
})), state.active_tab === "Imágenes" && (((_state$
|
|
3021
|
+
})), state.active_tab === "Imágenes" && (((_state$product27 = state.product) === null || _state$product27 === void 0 ? void 0 : _state$product27.images_status) !== "NS" ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
2907
3022
|
children: [!imageLayout && /*#__PURE__*/(0, _jsxRuntime.jsx)(_GalleryHeader.GalleryHeader, {
|
|
2908
3023
|
checkAll: state.all_image_checked // Determina si el checkbox "Seleccionar todo" está marcado
|
|
2909
3024
|
,
|
|
@@ -18,9 +18,9 @@ var _templateObject;
|
|
|
18
18
|
// Rosa ContentOh, el mismo del modal de ligar productos.
|
|
19
19
|
var PINK = "#E13AA8";
|
|
20
20
|
|
|
21
|
-
var Container = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n flex-direction: column;\n height: 100%;\n flex: 1;\n overflow: auto;\n\n .data-container {\n display: flex;\n flex: 0%;\n height: calc(100% - ", "px);\n .image-data-panel {\n width: 340px;\n\n & + * {\n margin-left: 10px;\n }\n }\n\n .product-information {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n\n .services-information-container {\n height: 100%;\n overflow: auto;\n }\n\n .image-services {\n aside {\n display: grid;\n grid-template-columns: repeat(auto-fill, 179px);\n column-gap: 15px;\n row-gap: 15px;\n padding: 20px;\n }\n }\n\n .commentary-box {\n display: flex;\n justify-content: space-between;\n align-items: flex-end;\n padding: 10px;\n padding-left: 0;\n\n .action-buttons{\n display: flex;\n flex-direction: column;\n gap: 1rem;\n }\n\n .commentary {\n display: flex;\n align-items: flex-end;\n\n .input-container {\n width: 500px;\n\n .quill {\n height: 100px;\n }\n\n & + * {\n margin-left: 5px;\n }\n }\n\n .buttons-box {\n display: flex;\n width: 210px;\n flex-wrap: wrap;\n\n .general-transparent-button {\n & + * {\n margin-top: 5px;\n }\n }\n\n .general-transparent-button,\n .general-green-button,\n .general-button-disabled {\n width: fit-content;\n min-width: 201px;\n height: 40px;\n }\n }\n }\n }\n\n .feedback-box {\n display: flex;\n }\n\n .required-inputs-message {\n font-family: ", ";\n font-size: 13px;\n color: ", ";\n padding: 10px;\n display: flex;\n align-items: center;\n\n p + * {\n margin-top: 10px;\n }\n\n button {\n min-width: fit-content;\n }\n }\n }\n }\n #modal-message-box {\n width: 400px;\n height: 100px;\n }\n .container {\n width: 100%;\n height: 90%;\n .dropzone {\n height: 100%;\n width: 100%;\n position: relative;\n transition: all 0.5s ease;\n\n &.drag-active {\n background-color: rgba(", ", 0.05);\n border: 2px dashed ", ";\n border-radius: 8px;\n\n aside {\n opacity: 0.3;\n pointer-events: none;\n }\n }\n\n .drag-overlay {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: rgba(", ", 0.1);\n border-radius: 8px;\n pointer-events: none;\n z-index: 10;\n\n p {\n font-family: ", ";\n font-size: 24px;\n font-weight: 600;\n color: ", ";\n text-align: center;\n padding: 20px;\n background-color: ", ";\n border-radius: 8px;\n box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);\n }\n }\n }\n }\n\n .variants-actions {\n display: flex;\n align-items: center;\n gap: 10px;\n margin-bottom: 8px;\n\n .link-variants {\n border: 1px solid ", ";\n border-radius: 6px;\n background: none;\n padding: 6px 12px;\n font-family: ", ";\n font-size: 11px;\n color: ", ";\n cursor: pointer;\n }\n\n .variants-count {\n border: none;\n background: none;\n padding: 0;\n cursor: pointer;\n font-family: ", ";\n font-size: 11px;\n color: ", ";\n text-decoration: underline;\n }\n }\n\n .variants-family {\n display: flex;\n flex-direction: column;\n gap: 4px;\n margin-bottom: 10px;\n padding: 8px;\n border: 1px solid ", ";\n border-radius: 6px;\n\n .loading {\n margin: 0;\n font-family: ", ";\n font-size: 11px;\n color: ", ";\n }\n\n .family-row {\n display: flex;\n align-items: baseline;\n gap: 8px;\n padding: 6px 8px;\n border: none;\n border-radius: 4px;\n background: none;\n cursor: pointer;\n text-align: left;\n font-family: ", ";\n font-size: 12px;\n color: ", ";\n }\n\n .family-row:hover:not(:disabled) {\n background-color: ", ";\n }\n\n .family-row:disabled {\n cursor: default;\n opacity: 0.7;\n }\n\n .family-row .role {\n min-width: 96px;\n font-size: 10px;\n color: ", ";\n }\n\n .family-row.current .role {\n color: ", ";\n }\n\n .family-row .name {\n flex: 1;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n .family-row .upc {\n font-size: 11px;\n color: ", ";\n }\n }\n"])), function (_ref) {
|
|
21
|
+
var Container = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n flex-direction: column;\n height: 100%;\n flex: 1;\n overflow: auto;\n\n .data-container {\n display: flex;\n flex: 0%;\n height: calc(100% - ", "px);\n .image-data-panel {\n width: 340px;\n\n & + * {\n margin-left: 10px;\n }\n }\n\n .product-information {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n\n .services-information-container {\n height: 100%;\n overflow: auto;\n }\n\n .image-services {\n aside {\n display: grid;\n grid-template-columns: repeat(auto-fill, 179px);\n column-gap: 15px;\n row-gap: 15px;\n padding: 20px;\n }\n }\n\n .commentary-box {\n display: flex;\n justify-content: space-between;\n align-items: flex-end;\n padding: 10px;\n padding-left: 0;\n\n .action-buttons{\n display: flex;\n flex-direction: column;\n gap: 1rem;\n }\n\n .commentary {\n display: flex;\n align-items: flex-end;\n\n .input-container {\n width: 500px;\n\n .quill {\n height: 100px;\n }\n\n & + * {\n margin-left: 5px;\n }\n }\n\n .buttons-box {\n display: flex;\n width: 210px;\n flex-wrap: wrap;\n\n .general-transparent-button {\n & + * {\n margin-top: 5px;\n }\n }\n\n .general-transparent-button,\n .general-green-button,\n .general-button-disabled {\n width: fit-content;\n min-width: 201px;\n height: 40px;\n }\n }\n }\n }\n\n .feedback-box {\n display: flex;\n }\n\n .required-inputs-message {\n font-family: ", ";\n font-size: 13px;\n color: ", ";\n padding: 10px;\n display: flex;\n align-items: center;\n\n p + * {\n margin-top: 10px;\n }\n\n button {\n min-width: fit-content;\n }\n }\n }\n }\n #modal-message-box {\n width: 400px;\n height: 100px;\n }\n .container {\n width: 100%;\n height: 90%;\n .dropzone {\n height: 100%;\n width: 100%;\n position: relative;\n transition: all 0.5s ease;\n\n &.drag-active {\n background-color: rgba(", ", 0.05);\n border: 2px dashed ", ";\n border-radius: 8px;\n\n aside {\n opacity: 0.3;\n pointer-events: none;\n }\n }\n\n .drag-overlay {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: rgba(", ", 0.1);\n border-radius: 8px;\n pointer-events: none;\n z-index: 10;\n\n p {\n font-family: ", ";\n font-size: 24px;\n font-weight: 600;\n color: ", ";\n text-align: center;\n padding: 20px;\n background-color: ", ";\n border-radius: 8px;\n box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);\n }\n }\n }\n }\n\n .variants-actions {\n display: flex;\n align-items: center;\n gap: 10px;\n margin-bottom: 8px;\n\n .link-variants {\n border: 1px solid ", ";\n border-radius: 6px;\n background: none;\n padding: 6px 12px;\n font-family: ", ";\n font-size: 11px;\n color: ", ";\n cursor: pointer;\n }\n\n .variants-count {\n border: none;\n background: none;\n padding: 0;\n cursor: pointer;\n font-family: ", ";\n font-size: 11px;\n color: ", ";\n text-decoration: underline;\n }\n }\n\n .variants-family {\n display: flex;\n flex-direction: column;\n gap: 4px;\n margin-bottom: 10px;\n padding: 8px;\n border: 1px solid ", ";\n border-radius: 6px;\n\n .loading {\n margin: 0;\n font-family: ", ";\n font-size: 11px;\n color: ", ";\n }\n\n /* La fila es un bot\xF3n que navega; desvincular tiene que quedar FUERA de\n \xE9l \u2014un bot\xF3n dentro de otro no es HTML v\xE1lido y el clic se confunde\u2014. */\n .family-item {\n display: flex;\n align-items: center;\n gap: 4px;\n }\n\n .family-item .family-row {\n flex: 1;\n min-width: 0;\n }\n\n .desvincular {\n flex-shrink: 0;\n border: none;\n background: none;\n padding: 4px 6px;\n cursor: pointer;\n font-family: ", ";\n font-size: 10px;\n color: ", ";\n text-decoration: underline;\n white-space: nowrap;\n }\n\n .desvincular:hover {\n color: ", ";\n }\n\n .family-row {\n display: flex;\n align-items: baseline;\n gap: 8px;\n padding: 6px 8px;\n border: none;\n border-radius: 4px;\n background: none;\n cursor: pointer;\n text-align: left;\n font-family: ", ";\n font-size: 12px;\n color: ", ";\n }\n\n .family-row:hover:not(:disabled) {\n background-color: ", ";\n }\n\n .family-row:disabled {\n cursor: default;\n opacity: 0.7;\n }\n\n .family-row .role {\n min-width: 96px;\n font-size: 10px;\n color: ", ";\n }\n\n .family-row.current .role {\n color: ", ";\n }\n\n .family-row .name {\n flex: 1;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n .family-row .upc {\n font-size: 11px;\n color: ", ";\n }\n }\n"])), function (_ref) {
|
|
22
22
|
var headerTop = _ref.headerTop;
|
|
23
23
|
return headerTop;
|
|
24
|
-
}, _variables.FontFamily.AvenirNext, _variables.GlobalColors.color_gray, _variables.GlobalColors.rgb_color_pink, _variables.GlobalColors.color_pink, _variables.GlobalColors.rgb_color_pink, _variables.FontFamily.AvenirNext, _variables.GlobalColors.color_pink, _variables.GlobalColors.white, PINK, _variables.FontFamily.Raleway_600, PINK, _variables.FontFamily.Raleway_500, _variables.GlobalColors.gray, _variables.GlobalColors.s2, _variables.FontFamily.Raleway_500, _variables.GlobalColors.gray, _variables.FontFamily.Raleway_500, _variables.GlobalColors.deep_gray, _variables.GlobalColors.s2, PINK, _variables.GlobalColors.gray, _variables.GlobalColors.gray);
|
|
24
|
+
}, _variables.FontFamily.AvenirNext, _variables.GlobalColors.color_gray, _variables.GlobalColors.rgb_color_pink, _variables.GlobalColors.color_pink, _variables.GlobalColors.rgb_color_pink, _variables.FontFamily.AvenirNext, _variables.GlobalColors.color_pink, _variables.GlobalColors.white, PINK, _variables.FontFamily.Raleway_600, PINK, _variables.FontFamily.Raleway_500, _variables.GlobalColors.gray, _variables.GlobalColors.s2, _variables.FontFamily.Raleway_500, _variables.GlobalColors.gray, _variables.FontFamily.Raleway_500, _variables.GlobalColors.gray, PINK, _variables.FontFamily.Raleway_500, _variables.GlobalColors.deep_gray, _variables.GlobalColors.s2, PINK, _variables.GlobalColors.gray, _variables.GlobalColors.gray);
|
|
25
25
|
|
|
26
26
|
exports.Container = Container;
|
package/dist/index.js
CHANGED
|
@@ -1122,7 +1122,7 @@ Object.keys(_index85).forEach(function (key) {
|
|
|
1122
1122
|
});
|
|
1123
1123
|
});
|
|
1124
1124
|
|
|
1125
|
-
var _index86 = require("./components/organisms/
|
|
1125
|
+
var _index86 = require("./components/organisms/UnlinkVariantModal/index");
|
|
1126
1126
|
|
|
1127
1127
|
Object.keys(_index86).forEach(function (key) {
|
|
1128
1128
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -1135,7 +1135,7 @@ Object.keys(_index86).forEach(function (key) {
|
|
|
1135
1135
|
});
|
|
1136
1136
|
});
|
|
1137
1137
|
|
|
1138
|
-
var _index87 = require("./components/organisms/
|
|
1138
|
+
var _index87 = require("./components/organisms/ProductImageModal/index");
|
|
1139
1139
|
|
|
1140
1140
|
Object.keys(_index87).forEach(function (key) {
|
|
1141
1141
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -1148,7 +1148,7 @@ Object.keys(_index87).forEach(function (key) {
|
|
|
1148
1148
|
});
|
|
1149
1149
|
});
|
|
1150
1150
|
|
|
1151
|
-
var _index88 = require("./components/organisms/
|
|
1151
|
+
var _index88 = require("./components/organisms/Chat/index");
|
|
1152
1152
|
|
|
1153
1153
|
Object.keys(_index88).forEach(function (key) {
|
|
1154
1154
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -1161,7 +1161,7 @@ Object.keys(_index88).forEach(function (key) {
|
|
|
1161
1161
|
});
|
|
1162
1162
|
});
|
|
1163
1163
|
|
|
1164
|
-
var _index89 = require("./components/organisms/
|
|
1164
|
+
var _index89 = require("./components/organisms/Modal/index");
|
|
1165
1165
|
|
|
1166
1166
|
Object.keys(_index89).forEach(function (key) {
|
|
1167
1167
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -1174,6 +1174,19 @@ Object.keys(_index89).forEach(function (key) {
|
|
|
1174
1174
|
});
|
|
1175
1175
|
});
|
|
1176
1176
|
|
|
1177
|
+
var _index90 = require("./components/organisms/OrderDetail/index");
|
|
1178
|
+
|
|
1179
|
+
Object.keys(_index90).forEach(function (key) {
|
|
1180
|
+
if (key === "default" || key === "__esModule") return;
|
|
1181
|
+
if (key in exports && exports[key] === _index90[key]) return;
|
|
1182
|
+
Object.defineProperty(exports, key, {
|
|
1183
|
+
enumerable: true,
|
|
1184
|
+
get: function get() {
|
|
1185
|
+
return _index90[key];
|
|
1186
|
+
}
|
|
1187
|
+
});
|
|
1188
|
+
});
|
|
1189
|
+
|
|
1177
1190
|
var _RangeCalendar = require("./components/organisms/RangeCalendar");
|
|
1178
1191
|
|
|
1179
1192
|
Object.keys(_RangeCalendar).forEach(function (key) {
|
|
@@ -1200,28 +1213,28 @@ Object.keys(_TableResizable).forEach(function (key) {
|
|
|
1200
1213
|
});
|
|
1201
1214
|
});
|
|
1202
1215
|
|
|
1203
|
-
var
|
|
1216
|
+
var _index91 = require("./components/organisms/SideModal/index");
|
|
1204
1217
|
|
|
1205
|
-
Object.keys(
|
|
1218
|
+
Object.keys(_index91).forEach(function (key) {
|
|
1206
1219
|
if (key === "default" || key === "__esModule") return;
|
|
1207
|
-
if (key in exports && exports[key] ===
|
|
1220
|
+
if (key in exports && exports[key] === _index91[key]) return;
|
|
1208
1221
|
Object.defineProperty(exports, key, {
|
|
1209
1222
|
enumerable: true,
|
|
1210
1223
|
get: function get() {
|
|
1211
|
-
return
|
|
1224
|
+
return _index91[key];
|
|
1212
1225
|
}
|
|
1213
1226
|
});
|
|
1214
1227
|
});
|
|
1215
1228
|
|
|
1216
|
-
var
|
|
1229
|
+
var _index92 = require("./components/organisms/GridProducts/index");
|
|
1217
1230
|
|
|
1218
|
-
Object.keys(
|
|
1231
|
+
Object.keys(_index92).forEach(function (key) {
|
|
1219
1232
|
if (key === "default" || key === "__esModule") return;
|
|
1220
|
-
if (key in exports && exports[key] ===
|
|
1233
|
+
if (key in exports && exports[key] === _index92[key]) return;
|
|
1221
1234
|
Object.defineProperty(exports, key, {
|
|
1222
1235
|
enumerable: true,
|
|
1223
1236
|
get: function get() {
|
|
1224
|
-
return
|
|
1237
|
+
return _index92[key];
|
|
1225
1238
|
}
|
|
1226
1239
|
});
|
|
1227
1240
|
});
|