contentoh-components-library 21.4.57 → 21.4.59
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/atoms/Avatar/index.js +2 -3
- package/dist/components/atoms/CheckBox/index.js +2 -7
- package/dist/components/atoms/CheckBox/styles.js +1 -1
- package/dist/components/atoms/InputFormatter/styles.js +1 -1
- package/dist/components/atoms/SliderToolTip/styles.js +1 -1
- package/dist/components/molecules/CarouselImagesLogin/index.js +1 -1
- package/dist/components/molecules/HeaderTop/index.js +11 -68
- package/dist/components/molecules/SignInLogin/index.js +28 -36
- package/dist/components/molecules/StripeCardSelector/CardSelector.stories.js +2 -1
- package/dist/components/molecules/TagAndInput/index.js +3 -64
- package/dist/components/organisms/Chat/Chat.stories.js +8 -27
- package/dist/components/organisms/Chat/ContainerItems/index.js +3 -19
- package/dist/components/organisms/Chat/ContainerItems/styles.js +1 -1
- package/dist/components/organisms/Chat/ContentChat/index.js +197 -350
- package/dist/components/organisms/Chat/Footer/index.js +39 -48
- package/dist/components/organisms/Chat/index.js +4 -49
- package/dist/components/organisms/Chat/styles.js +1 -1
- package/dist/components/organisms/FullProductNameHeader/index.js +2 -2
- package/dist/components/organisms/InputGroup/index.js +48 -154
- package/dist/components/organisms/Modal/styles.js +1 -1
- package/dist/components/pages/Dashboard/index.js +2 -8
- package/dist/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +137 -123
- package/dist/components/pages/ProviderProductEdition/index.js +258 -269
- package/dist/components/pages/ProviderProductEdition/styles.js +1 -1
- package/dist/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +3 -7
- package/dist/components/pages/RetailerProductEdition/index.js +276 -278
- package/dist/components/pages/RetailerProductEdition/styles.js +1 -1
- package/dist/components/pages/RetailerProductEdition/utils.js +2 -61
- package/dist/global-files/data.js +8 -21
- package/dist/global-files/variables.js +1 -5
- package/dist/index.js +58 -201
- package/package.json +1 -2
- package/src/components/atoms/Avatar/index.js +2 -8
- package/src/components/atoms/CheckBox/index.js +1 -4
- package/src/components/atoms/CheckBox/styles.js +0 -2
- package/src/components/atoms/InputFormatter/styles.js +1 -2
- package/src/components/atoms/SliderToolTip/styles.js +1 -1
- package/src/components/molecules/CarouselImagesLogin/index.js +1 -1
- package/src/components/molecules/HeaderTop/index.js +6 -52
- package/src/components/molecules/SignInLogin/index.js +11 -11
- package/src/components/molecules/StripeCardSelector/CardSelector.stories.js +2 -1
- package/src/components/molecules/TagAndInput/index.js +8 -52
- package/src/components/organisms/Chat/Chat.stories.js +7 -27
- package/src/components/organisms/Chat/ContainerItems/index.js +2 -18
- package/src/components/organisms/Chat/ContainerItems/styles.js +2 -14
- package/src/components/organisms/Chat/ContentChat/index.js +12 -88
- package/src/components/organisms/Chat/Footer/index.js +0 -11
- package/src/components/organisms/Chat/index.js +4 -46
- package/src/components/organisms/Chat/styles.js +0 -4
- package/src/components/organisms/FullProductNameHeader/index.js +1 -1
- package/src/components/organisms/InputGroup/index.js +88 -238
- package/src/components/organisms/Modal/styles.js +1 -4
- package/src/components/organisms/OrderDetail/utils/Table/utils.js +16 -6
- package/src/components/pages/Dashboard/index.js +1 -6
- package/src/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +145 -141
- package/src/components/pages/ProviderProductEdition/index.js +148 -145
- package/src/components/pages/ProviderProductEdition/styles.js +1 -5
- package/src/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +2 -6
- package/src/components/pages/RetailerProductEdition/index.js +144 -115
- package/src/components/pages/RetailerProductEdition/styles.js +0 -4
- package/src/components/pages/RetailerProductEdition/utils.js +0 -37
- package/src/global-files/data.js +6 -10
- package/src/global-files/variables.js +0 -4
- package/src/index.js +0 -11
- package/src/assets/images/Icons/info.svg +0 -8
- package/src/components/atoms/ImageCarousel/ImgeSlider.stories.js +0 -76
- package/src/components/atoms/ImageCarousel/index.js +0 -103
- package/src/components/atoms/ImageCarousel/styles.js +0 -79
- package/src/components/atoms/PercentTag/PercentTag.stories.js +0 -7
- package/src/components/atoms/PercentTag/index.js +0 -9
- package/src/components/atoms/PercentTag/styles.js +0 -69
- package/src/components/atoms/RatingStars/RatingStars.stories.js +0 -10
- package/src/components/atoms/RatingStars/index.js +0 -31
- package/src/components/atoms/RatingStars/styles.js +0 -28
- package/src/components/atoms/RetailerCatalog/RetailerCatalog.stories.js +0 -36
- package/src/components/atoms/RetailerCatalog/index.js +0 -49
- package/src/components/atoms/RetailerCatalog/styles.js +0 -30
- package/src/components/atoms/RetailerOption/RetailerOption.stories.js +0 -15
- package/src/components/atoms/RetailerOption/index.js +0 -53
- package/src/components/atoms/RetailerOption/styles.js +0 -41
- package/src/components/atoms/RetailersList/RetailersList.stories.js +0 -33
- package/src/components/atoms/RetailersList/index.js +0 -20
- package/src/components/atoms/RetailersList/styles.js +0 -19
- package/src/components/atoms/TabSection/styles.js +0 -23
- package/src/components/atoms/UserCatalog/UserCatalog.stories.js +0 -67
- package/src/components/atoms/UserCatalog/index.js +0 -100
- package/src/components/atoms/UserCatalog/styles.js +0 -24
- package/src/components/atoms/UserOption/UserOption.stories.js +0 -25
- package/src/components/atoms/UserOption/index.js +0 -95
- package/src/components/atoms/UserOption/styles.js +0 -61
- package/src/components/atoms/UserSelector/UserSelector.stories.js +0 -25
- package/src/components/atoms/UserSelector/index.js +0 -86
- package/src/components/atoms/UserSelector/styles.js +0 -55
- package/src/components/molecules/BoxAttribute/BoxAttribute.stories.js +0 -16
- package/src/components/molecules/BoxAttribute/index.js +0 -72
- package/src/components/molecules/BoxAttribute/styles.js +0 -41
- package/src/components/molecules/BoxButtons/BoxButtons.stories.js +0 -15
- package/src/components/molecules/BoxButtons/index.js +0 -32
- package/src/components/molecules/BoxButtons/styles.js +0 -43
- package/src/components/molecules/GridItem/GridItem.stories.js +0 -126
- package/src/components/molecules/GridItem/index.js +0 -105
- package/src/components/molecules/GridItem/styles.js +0 -104
- package/src/components/molecules/HeaderItem/ColumnItem.js +0 -9
- package/src/components/molecules/HeaderItem/HeaderItem.stories.js +0 -24
- package/src/components/molecules/HeaderItem/index.js +0 -26
- package/src/components/molecules/HeaderItem/styles.js +0 -27
- package/src/components/molecules/RowItem/ColumnItem.js +0 -9
- package/src/components/molecules/RowItem/RowItem.stories.js +0 -5660
- package/src/components/molecules/RowItem/index.js +0 -45
- package/src/components/molecules/RowItem/styles.js +0 -40
- package/src/components/organisms/Box/Box.stories.js +0 -17
- package/src/components/organisms/Box/index.js +0 -103
- package/src/components/organisms/Box/styles.js +0 -48
- package/src/components/organisms/BoxOnboarding/BoxOnboarding.stories.js +0 -17
- package/src/components/organisms/BoxOnboarding/index.js +0 -60
- package/src/components/organisms/BoxOnboarding/styles.js +0 -44
- package/src/components/organisms/GridProducts/GridProducts.stories.js +0 -5485
- package/src/components/organisms/GridProducts/index.js +0 -50
- package/src/components/organisms/GridProducts/styles.js +0 -14
- package/src/components/organisms/GridProducts/utils.js +0 -111
|
@@ -231,7 +231,7 @@ var Dashboard = function Dashboard(_ref) {
|
|
|
231
231
|
|
|
232
232
|
var loadProductsByStatus = /*#__PURE__*/function () {
|
|
233
233
|
var _ref4 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3(orderByStatus) {
|
|
234
|
-
var isRetailer, isProvider, isCollaborator, _ref5, ordersBydate, ordersByStatus,
|
|
234
|
+
var isRetailer, isProvider, isCollaborator, _ref5, ordersBydate, ordersByStatus, _ordersByStatus$total, total, _ordersByStatus$R, R, _ordersByStatus$PA, PA, _ordersByStatus$Ex, Ex, _ordersByStatus$ACA, ACA, productsFinished, inProcess, metricsArray;
|
|
235
235
|
|
|
236
236
|
return _regenerator.default.wrap(function _callee3$(_context3) {
|
|
237
237
|
while (1) {
|
|
@@ -257,7 +257,6 @@ var Dashboard = function Dashboard(_ref) {
|
|
|
257
257
|
_ref5 = _context3.t0;
|
|
258
258
|
ordersBydate = _ref5.ordersBydate;
|
|
259
259
|
ordersByStatus = _ref5.ordersByStatus;
|
|
260
|
-
ordersByActive = _ref5.ordersByActive;
|
|
261
260
|
_ordersByStatus$total = ordersByStatus.total, total = _ordersByStatus$total === void 0 ? 0 : _ordersByStatus$total, _ordersByStatus$R = ordersByStatus.R, R = _ordersByStatus$R === void 0 ? 0 : _ordersByStatus$R, _ordersByStatus$PA = ordersByStatus.PA, PA = _ordersByStatus$PA === void 0 ? 0 : _ordersByStatus$PA, _ordersByStatus$Ex = ordersByStatus.Ex, Ex = _ordersByStatus$Ex === void 0 ? 0 : _ordersByStatus$Ex, _ordersByStatus$ACA = ordersByStatus.ACA, ACA = _ordersByStatus$ACA === void 0 ? 0 : _ordersByStatus$ACA;
|
|
262
261
|
productsFinished = 0;
|
|
263
262
|
if (isRetailer) productsFinished = Ex;
|
|
@@ -266,16 +265,11 @@ var Dashboard = function Dashboard(_ref) {
|
|
|
266
265
|
inProcess = Object.keys(ordersByStatus).reduce(function (prev, curr) {
|
|
267
266
|
return !["total", "PA", "R", "Ex", "ACA"].includes(curr) ? prev + ordersByStatus[curr] : prev;
|
|
268
267
|
}, 0);
|
|
269
|
-
registeredProducts = ordersByActive.registered;
|
|
270
268
|
metricsArray = [metricsData[0] ? metricsData[0] : {
|
|
271
269
|
label: "Productos totales",
|
|
272
270
|
value: total
|
|
273
271
|
}];
|
|
274
|
-
console.log(registeredProducts);
|
|
275
272
|
metricsArray.push({
|
|
276
|
-
label: "Productos activos",
|
|
277
|
-
value: registeredProducts
|
|
278
|
-
}, {
|
|
279
273
|
label: "Productos filtrados",
|
|
280
274
|
value: total
|
|
281
275
|
}, {
|
|
@@ -294,7 +288,7 @@ var Dashboard = function Dashboard(_ref) {
|
|
|
294
288
|
setRequiredProducts(ordersBydate);
|
|
295
289
|
setProductsByStatus(ordersByStatus);
|
|
296
290
|
|
|
297
|
-
case
|
|
291
|
+
case 24:
|
|
298
292
|
case "end":
|
|
299
293
|
return _context3.stop();
|
|
300
294
|
}
|
|
@@ -31,142 +31,164 @@ ProviderProductEditionDefault.args = {
|
|
|
31
31
|
"Ficha técnica": false,
|
|
32
32
|
Imágenes: false
|
|
33
33
|
},
|
|
34
|
-
token: "eyJraWQiOiJkQWJkZCtlclwvTlwveVRQUWNvUlVyOCtrNUd2M1hMM2N1MWUzQ09zWExVRnc9IiwiYWxnIjoiUlMyNTYifQ.
|
|
34
|
+
token: "eyJraWQiOiJkQWJkZCtlclwvTlwveVRQUWNvUlVyOCtrNUd2M1hMM2N1MWUzQ09zWExVRnc9IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJmNTkyN2Y4ZS1jYmY3LTQ5MjItOWUwOS1lNjllYzBiMjczMWEiLCJjb2duaXRvOmdyb3VwcyI6WyJ1c3VhcmlvX2NvbnRlbnRvaCJdLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiaXNzIjoiaHR0cHM6XC9cL2NvZ25pdG8taWRwLnVzLWVhc3QtMS5hbWF6b25hd3MuY29tXC91cy1lYXN0LTFfWE1aUWRxa0dqIiwicGhvbmVfbnVtYmVyX3ZlcmlmaWVkIjpmYWxzZSwiY29nbml0bzp1c2VybmFtZSI6ImY1OTI3ZjhlLWNiZjctNDkyMi05ZTA5LWU2OWVjMGIyNzMxYSIsImNvZ25pdG86cm9sZXMiOlsiYXJuOmF3czppYW06Ojg5ODY3MDIzMjgwNzpyb2xlXC9jb250ZW50b2gtZGV2LXVzLWVhc3QtMS1sYW1iZGFSb2xlIl0sImF1ZCI6IjVhYzh0cGdzNmdic3ExM2ZydnJwaWVlcDQwIiwiZXZlbnRfaWQiOiIwZmUxYTZjMS05MzcyLTRiNjktOTgwMi1lN2QxOGM2MzU4YzQiLCJ0b2tlbl91c2UiOiJpZCIsImF1dGhfdGltZSI6MTY5MzMzODMzMiwibmFtZSI6IklzbWFlbCBMb3BleiIsInBob25lX251bWJlciI6Iis1MjMxMTEzNjYzMzYiLCJleHAiOjE2OTMzNDE5MzIsImlhdCI6MTY5MzMzODMzMiwiZW1haWwiOiJpbG9wZXpAY29udGVudG9oLmNvbSJ9.lQwTS_RbJalEPmmpWcBsVYd8xx4tkw3U6uyW_laE6ucyHQpXSXYMfadAxxV2PZ5ObbgmX98nFKj32E2F4CxHxw3W7B1Wj7ZoGML409GjlylQ1RuVVHjwTw0OH5TtveV1JNNpts0belvzxbk5vX9E1vKoZLOKn8gO9yaFe0YawKjS0hW-P4NcjIonsNJ5KWMsh0fJCM2oAKAk8oAGZcszYHknMPF6ahf-fWeboVuK89UEsKlQukr7W8fnIePFI8aSlKM1nG0I7nOT_1734Pf-A9QQDXEwhfj8NMHHICb2c_ECgHPEspM9VxIR6Lbws-gCTSG6FTMjsIFKU3EqaQvlVw",
|
|
35
35
|
articleId: 39485,
|
|
36
36
|
category: 11,
|
|
37
37
|
version: 3,
|
|
38
38
|
productSelected: {
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
orderId: 15275,
|
|
40
|
+
status: "AA",
|
|
41
|
+
datasheet_status: "AA",
|
|
42
|
+
prio: "none",
|
|
43
|
+
version: 3,
|
|
44
|
+
description_status: "AA",
|
|
45
|
+
images_status: "AA",
|
|
46
|
+
brand: null,
|
|
47
|
+
retailerOrder: 0,
|
|
48
|
+
missing: {
|
|
49
|
+
datasheet: null,
|
|
50
|
+
descriptions: null,
|
|
51
|
+
images: null
|
|
52
|
+
},
|
|
53
|
+
services: {
|
|
54
|
+
datasheets: 1,
|
|
55
|
+
descriptions: 1,
|
|
56
|
+
images: 1
|
|
57
|
+
},
|
|
41
58
|
article: {
|
|
42
|
-
category: "
|
|
43
|
-
company_name: "
|
|
44
|
-
|
|
45
|
-
id_category: "
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
59
|
+
category: "Abarrotes|Abarrotes Secos|Frutos Secos",
|
|
60
|
+
company_name: "GRUPO BRAHMA",
|
|
61
|
+
country: "México",
|
|
62
|
+
id_category: "11",
|
|
63
|
+
id_datasheet_especialist: 54,
|
|
64
|
+
id_datasheet_facilitator: 52,
|
|
65
|
+
id_description_especialist: 54,
|
|
66
|
+
id_description_facilitator: 52,
|
|
67
|
+
id_images_especialist: 55,
|
|
68
|
+
id_images_facilitator: 53,
|
|
69
|
+
id_order: 15275,
|
|
70
|
+
id_article: 39485,
|
|
71
|
+
id_auditor: 37,
|
|
72
|
+
name: "Mix de nueces",
|
|
73
|
+
timestamp: "2023-07-14T21:03:19.000Z",
|
|
74
|
+
upc: "7543453453"
|
|
49
75
|
},
|
|
50
|
-
asignations: [],
|
|
51
76
|
retailers: [{
|
|
52
|
-
id:
|
|
53
|
-
name: "
|
|
54
|
-
country: "México",
|
|
55
|
-
id_region: 1,
|
|
56
|
-
active: 1,
|
|
57
|
-
flow: 1
|
|
77
|
+
id: 34,
|
|
78
|
+
name: "San Pablo"
|
|
58
79
|
}],
|
|
59
|
-
|
|
80
|
+
statusByRetailer: {
|
|
81
|
+
34: {
|
|
82
|
+
datasheet: "AA",
|
|
83
|
+
description: "AA",
|
|
84
|
+
images: "AA"
|
|
85
|
+
}
|
|
86
|
+
},
|
|
60
87
|
retailersAvailable: [{
|
|
61
|
-
id:
|
|
62
|
-
name: "
|
|
63
|
-
country: "México",
|
|
64
|
-
id_region: 1,
|
|
65
|
-
active: 1,
|
|
66
|
-
flow: 1
|
|
88
|
+
id: 34,
|
|
89
|
+
name: "San Pablo"
|
|
67
90
|
}],
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
id_article: 118438,
|
|
73
|
-
services: [{
|
|
74
|
-
id_article: 118438,
|
|
75
|
-
service: "datasheet",
|
|
76
|
-
quantity: 1,
|
|
77
|
-
price: 0,
|
|
78
|
-
id_user: 349,
|
|
79
|
-
datasheet_common: null,
|
|
80
|
-
discount: null
|
|
81
|
-
}]
|
|
91
|
+
categoryName: "Abarrotes|Abarrotes Secos|Frutos Secos",
|
|
92
|
+
upc: "7543453453",
|
|
93
|
+
id_article: 39485,
|
|
94
|
+
id_order: 15275
|
|
82
95
|
},
|
|
83
96
|
productToEdit: {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
product:
|
|
87
|
-
|
|
88
|
-
|
|
97
|
+
ArticleId: 39485,
|
|
98
|
+
idCategory: "11",
|
|
99
|
+
product: {
|
|
100
|
+
orderId: 15275,
|
|
101
|
+
status: "AA",
|
|
102
|
+
datasheet_status: "AA",
|
|
103
|
+
prio: "none",
|
|
104
|
+
version: 3,
|
|
105
|
+
description_status: "AA",
|
|
106
|
+
images_status: "AA",
|
|
107
|
+
brand: null,
|
|
108
|
+
retailerOrder: 0,
|
|
109
|
+
missing: {
|
|
110
|
+
datasheet: null,
|
|
111
|
+
descriptions: null,
|
|
112
|
+
images: null
|
|
113
|
+
},
|
|
114
|
+
services: {
|
|
115
|
+
datasheets: 1,
|
|
116
|
+
descriptions: 1,
|
|
117
|
+
images: 1
|
|
118
|
+
},
|
|
89
119
|
article: {
|
|
90
|
-
category: "
|
|
91
|
-
company_name: "
|
|
92
|
-
|
|
93
|
-
id_category: "
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
120
|
+
category: "Abarrotes|Abarrotes Secos|Frutos Secos",
|
|
121
|
+
company_name: "GRUPO BRAHMA",
|
|
122
|
+
country: "México",
|
|
123
|
+
id_category: "11",
|
|
124
|
+
id_datasheet_especialist: 54,
|
|
125
|
+
id_datasheet_facilitator: 52,
|
|
126
|
+
id_description_especialist: 54,
|
|
127
|
+
id_description_facilitator: 52,
|
|
128
|
+
id_images_especialist: 55,
|
|
129
|
+
id_images_facilitator: 53,
|
|
130
|
+
id_order: 15275,
|
|
131
|
+
id_article: 39485,
|
|
132
|
+
id_auditor: 37,
|
|
133
|
+
name: "Mix de nueces",
|
|
134
|
+
timestamp: "2023-07-14T21:03:19.000Z",
|
|
135
|
+
upc: "7543453453"
|
|
97
136
|
},
|
|
98
|
-
asignations: [],
|
|
99
137
|
retailers: [{
|
|
100
|
-
id:
|
|
101
|
-
name: "
|
|
102
|
-
country: "México",
|
|
103
|
-
id_region: 1,
|
|
104
|
-
active: 1,
|
|
105
|
-
flow: 1,
|
|
106
|
-
percentage: 100
|
|
138
|
+
id: 34,
|
|
139
|
+
name: "San Pablo"
|
|
107
140
|
}],
|
|
108
|
-
|
|
141
|
+
statusByRetailer: {
|
|
142
|
+
34: {
|
|
143
|
+
datasheet: "AA",
|
|
144
|
+
description: "AA",
|
|
145
|
+
images: "AA"
|
|
146
|
+
}
|
|
147
|
+
},
|
|
109
148
|
retailersAvailable: [{
|
|
110
|
-
id:
|
|
111
|
-
name: "
|
|
112
|
-
country: "México",
|
|
113
|
-
id_region: 1,
|
|
114
|
-
active: 1,
|
|
115
|
-
flow: 1,
|
|
116
|
-
percentage: 100
|
|
149
|
+
id: 34,
|
|
150
|
+
name: "San Pablo"
|
|
117
151
|
}],
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
services: [{
|
|
124
|
-
id_article: 118438,
|
|
125
|
-
service: "datasheet",
|
|
126
|
-
quantity: 1,
|
|
127
|
-
price: 0,
|
|
128
|
-
id_user: 349,
|
|
129
|
-
datasheet_common: null,
|
|
130
|
-
discount: null
|
|
131
|
-
}]
|
|
132
|
-
}]
|
|
152
|
+
categoryName: "Abarrotes|Abarrotes Secos|Frutos Secos",
|
|
153
|
+
upc: "7543453453",
|
|
154
|
+
id_article: 39485,
|
|
155
|
+
id_order: 15275
|
|
156
|
+
}
|
|
133
157
|
},
|
|
134
158
|
location: {
|
|
135
159
|
pathname: "/EditProducts",
|
|
136
160
|
search: "",
|
|
137
161
|
hash: "",
|
|
138
162
|
state: {
|
|
139
|
-
withChat: true,
|
|
140
|
-
chatType: "product_status",
|
|
141
163
|
origin: "RequestWithContentoh"
|
|
142
164
|
},
|
|
143
165
|
key: "24vwut"
|
|
144
166
|
},
|
|
145
167
|
user: {
|
|
146
|
-
id_user:
|
|
147
|
-
name: "
|
|
148
|
-
last_name: "
|
|
149
|
-
email: "
|
|
150
|
-
position: "
|
|
151
|
-
telephone: "+
|
|
168
|
+
id_user: 28,
|
|
169
|
+
name: "Ismael",
|
|
170
|
+
last_name: "López",
|
|
171
|
+
email: "ilopez@contentoh.com",
|
|
172
|
+
position: "Test States",
|
|
173
|
+
telephone: "+523111366336",
|
|
152
174
|
country: "México",
|
|
153
|
-
id_company:
|
|
154
|
-
id_cognito: "
|
|
175
|
+
id_company: 1,
|
|
176
|
+
id_cognito: "f5927f8e-cbf7-4922-9e09-e69ec0b2731a",
|
|
155
177
|
birth_Date: null,
|
|
156
|
-
about_me:
|
|
157
|
-
zip_code:
|
|
158
|
-
address:
|
|
159
|
-
job:
|
|
160
|
-
id_stripe:
|
|
178
|
+
about_me: "",
|
|
179
|
+
zip_code: "",
|
|
180
|
+
address: "",
|
|
181
|
+
job: "",
|
|
182
|
+
id_stripe: "cus_KuEt6R6vwmN09f",
|
|
161
183
|
id_role: 0,
|
|
162
184
|
active: 1,
|
|
163
|
-
is_retailer:
|
|
185
|
+
is_retailer: 0,
|
|
164
186
|
email_notify: 1,
|
|
165
|
-
is_user_tech:
|
|
187
|
+
is_user_tech: "ADMIN-AS",
|
|
166
188
|
membership: {
|
|
167
|
-
id:
|
|
168
|
-
start_date: "
|
|
169
|
-
end_date: "
|
|
189
|
+
id: 76,
|
|
190
|
+
start_date: "2022-01-18T17:25:35.000Z",
|
|
191
|
+
end_date: "2023-01-18T17:25:35.000Z",
|
|
170
192
|
planID: 8,
|
|
171
193
|
plan: "prod_KtlhECVSFG2iro",
|
|
172
194
|
name: "Plan Pro",
|
|
@@ -174,31 +196,23 @@ ProviderProductEditionDefault.args = {
|
|
|
174
196
|
products_limit: "5000",
|
|
175
197
|
type: "Enterprise"
|
|
176
198
|
},
|
|
177
|
-
src: "https://content-management-profile.s3.amazonaws.com/id-
|
|
199
|
+
src: "https://content-management-profile.s3.amazonaws.com/id-28/28.png?1693338334183"
|
|
178
200
|
},
|
|
179
201
|
company: {
|
|
180
|
-
id_company:
|
|
181
|
-
trade_name: "
|
|
182
|
-
company_name: "
|
|
183
|
-
rfc: "
|
|
184
|
-
adress: "
|
|
185
|
-
about_company:
|
|
186
|
-
telephone:
|
|
187
|
-
web_site:
|
|
188
|
-
zip_code:
|
|
202
|
+
id_company: 1,
|
|
203
|
+
trade_name: "GRUPO BRAHMA",
|
|
204
|
+
company_name: "GRUPO BRAHMA",
|
|
205
|
+
rfc: "XAXX010101000",
|
|
206
|
+
adress: "AA",
|
|
207
|
+
about_company: "",
|
|
208
|
+
telephone: "",
|
|
209
|
+
web_site: "",
|
|
210
|
+
zip_code: "",
|
|
189
211
|
email: null,
|
|
190
|
-
social_link:
|
|
191
|
-
is_retailer:
|
|
192
|
-
financedRetailers: [
|
|
193
|
-
|
|
194
|
-
name: "Radioshack",
|
|
195
|
-
country: "México"
|
|
196
|
-
}],
|
|
197
|
-
retailers: [{
|
|
198
|
-
id: 74,
|
|
199
|
-
name: "Radioshack",
|
|
200
|
-
country: "México"
|
|
201
|
-
}]
|
|
212
|
+
social_link: "",
|
|
213
|
+
is_retailer: 0,
|
|
214
|
+
financedRetailers: [],
|
|
215
|
+
retailers: []
|
|
202
216
|
},
|
|
203
217
|
showSurvey: function showSurvey(v) {
|
|
204
218
|
return v && alert("se muestra");
|