contentoh-components-library 21.4.72 → 21.4.73
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/styles.js +1 -1
- package/dist/components/atoms/GeneralButton/styles.js +2 -6
- package/dist/components/atoms/InputFormatter/styles.js +3 -3
- package/dist/components/atoms/SliderToolTip/styles.js +1 -1
- package/dist/components/molecules/BoxAttribute/index.js +3 -3
- package/dist/components/molecules/BoxAttribute/styles.js +1 -1
- package/dist/components/molecules/BoxButtons/index.js +1 -0
- 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/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/DashboardMetric/index.js +6 -12
- package/dist/components/organisms/FullProductNameHeader/index.js +2 -2
- package/dist/components/organisms/InputGroup/index.js +10 -1
- package/dist/components/organisms/Modal/styles.js +1 -1
- package/dist/components/organisms/VersionSelector/index.js +4 -2
- package/dist/components/pages/Dashboard/Dashboard.stories.js +36 -33
- package/dist/components/pages/Dashboard/index.js +9 -37
- package/dist/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +38 -34
- package/dist/components/pages/ProviderProductEdition/index.js +196 -190
- package/dist/components/pages/ProviderProductEdition/styles.js +1 -1
- package/dist/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +53 -52
- package/dist/components/pages/RetailerProductEdition/index.js +300 -318
- package/dist/components/pages/RetailerProductEdition/styles.js +1 -1
- package/dist/components/pages/RetailerProductEdition/utils.js +2 -61
- package/dist/global-files/data.js +29 -22
- package/dist/global-files/variables.js +1 -7
- 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/styles.js +0 -2
- package/src/components/atoms/GeneralButton/styles.js +0 -46
- package/src/components/atoms/InputFormatter/styles.js +4 -9
- package/src/components/atoms/SliderToolTip/styles.js +1 -1
- package/src/components/atoms/TabSection/index.js +1 -1
- package/src/components/atoms/TabSection/styles.js +1 -1
- package/src/components/molecules/BoxAttribute/index.js +25 -32
- package/src/components/molecules/BoxAttribute/styles.js +1 -1
- package/src/components/molecules/BoxButtons/index.js +22 -23
- 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 +5 -6
- 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/DashboardMetric/index.js +3 -6
- package/src/components/organisms/FullProductNameHeader/index.js +1 -1
- package/src/components/organisms/InputGroup/index.js +119 -131
- package/src/components/organisms/Modal/styles.js +1 -4
- package/src/components/organisms/OrderDetail/utils/Table/utils.js +16 -6
- package/src/components/organisms/VersionSelector/index.js +2 -1
- package/src/components/pages/Dashboard/Dashboard.stories.js +38 -33
- package/src/components/pages/Dashboard/index.js +7 -36
- package/src/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +83 -110
- package/src/components/pages/ProviderProductEdition/index.js +152 -134
- package/src/components/pages/ProviderProductEdition/styles.js +1 -5
- package/src/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +52 -52
- package/src/components/pages/RetailerProductEdition/index.js +137 -120
- package/src/components/pages/RetailerProductEdition/styles.js +0 -4
- package/src/components/pages/RetailerProductEdition/utils.js +0 -37
- package/src/global-files/data.js +46 -14
- package/src/global-files/variables.js +0 -6
- package/src/index.js +0 -11
- package/src/assets/images/Icons/infoNR.svg +0 -8
- package/src/assets/images/flagsv2/highPriority.svg +0 -3
- package/src/assets/images/flagsv2/lowPriority.svg +0 -3
- package/src/assets/images/flagsv2/mediumPriority.svg +0 -3
- package/src/assets/images/flagsv2/noPriority.svg +0 -3
- package/src/assets/images/generalButton/closeIconWhite.svg +0 -4
- package/src/assets/images/generalButton/closeIconv2.svg +0 -4
- package/src/components/atoms/CharsMissing/Wysiwyg.stories.js +0 -12
- package/src/components/atoms/CharsMissing/index.js +0 -60
- package/src/components/atoms/CharsMissing/styles.js +0 -44
- package/src/components/atoms/FeatureTagv2/FeatureTagv2.stories.js +0 -16
- package/src/components/atoms/FeatureTagv2/index.js +0 -10
- package/src/components/atoms/FeatureTagv2/styles.js +0 -56
- package/src/components/atoms/GeneralInputv2/GeneralInputv2.stories.js +0 -33
- package/src/components/atoms/GeneralInputv2/index.js +0 -155
- package/src/components/atoms/GeneralInputv2/styles.js +0 -67
- 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/InputFormatterv2/Wysiwyg.stories.js +0 -12
- package/src/components/atoms/InputFormatterv2/index.js +0 -148
- package/src/components/atoms/InputFormatterv2/styles.js +0 -39
- package/src/components/atoms/InputImages/InputImages.stories.js +0 -19
- package/src/components/atoms/InputImages/index.js +0 -25
- package/src/components/atoms/InputImages/styles.js +0 -17
- package/src/components/atoms/NumberMandatory/NumberMandatory.stories.js +0 -19
- package/src/components/atoms/NumberMandatory/index.js +0 -16
- package/src/components/atoms/NumberMandatory/styles.js +0 -11
- 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/PriorityFlagv2/PriorityFlagv2.stories.js +0 -20
- package/src/components/atoms/PriorityFlagv2/index.js +0 -20
- package/src/components/atoms/PriorityFlagv2/styles.js +0 -6
- package/src/components/atoms/ProductImagev2/ProductImagev2.stories.js +0 -28
- package/src/components/atoms/ProductImagev2/index.js +0 -16
- package/src/components/atoms/ProductImagev2/styles.js +0 -62
- package/src/components/atoms/Progress/Progress.stories.js +0 -25
- package/src/components/atoms/Progress/index.js +0 -74
- package/src/components/atoms/Progress/styles.js +0 -98
- 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/ScreenHeaderv2/ScreenHeaderv2.stories.js +0 -53
- package/src/components/atoms/ScreenHeaderv2/index.js +0 -134
- package/src/components/atoms/ScreenHeaderv2/styles.js +0 -103
- package/src/components/atoms/Selectv2/VersionSelect.js +0 -27
- package/src/components/atoms/Selectv2/index.js +0 -35
- package/src/components/atoms/Selectv2/style.js +0 -93
- package/src/components/atoms/TabSectionv2/TabSection.stories.js +0 -25
- package/src/components/atoms/TabSectionv2/index.js +0 -9
- package/src/components/atoms/TabSectionv2/styles.js +0 -20
- package/src/components/atoms/TooltipLight/Tooltip.stories.js +0 -20
- package/src/components/atoms/TooltipLight/index.js +0 -46
- package/src/components/atoms/TooltipLight/styles.js +0 -65
- 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/atoms/WordsMissing/Wysiwyg.stories.js +0 -12
- package/src/components/atoms/WordsMissing/index.js +0 -60
- package/src/components/atoms/WordsMissing/styles.js +0 -10
- package/src/components/molecules/AsignationInfo/AsignationInfo.stories.js +0 -17
- package/src/components/molecules/AsignationInfo/index.js +0 -108
- package/src/components/molecules/AsignationInfo/styles.js +0 -86
- package/src/components/molecules/EditionActiveImagev2/EditionActiveImagev2.stories.js +0 -12
- package/src/components/molecules/EditionActiveImagev2/index.js +0 -15
- package/src/components/molecules/EditionActiveImagev2/styles.js +0 -7
- package/src/components/molecules/FeaturesBarv2/FeaturesBarv2.stories.js +0 -20
- package/src/components/molecules/FeaturesBarv2/index.js +0 -32
- package/src/components/molecules/FeaturesBarv2/styles.js +0 -17
- package/src/components/molecules/GalleryElementv2/GalleryElementv2.stories.js +0 -30
- package/src/components/molecules/GalleryElementv2/index.js +0 -142
- package/src/components/molecules/GalleryElementv2/styles.js +0 -119
- package/src/components/molecules/GalleryHeaderv2/GalleryHeaderv2.stories.js +0 -10
- package/src/components/molecules/GalleryHeaderv2/index.js +0 -25
- package/src/components/molecules/GalleryHeaderv2/styles.js +0 -47
- 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/HeaderTopv2/HeaderTopv2.stories.js +0 -10
- package/src/components/molecules/HeaderTopv2/index.js +0 -100
- package/src/components/molecules/HeaderTopv2/styles.js +0 -33
- package/src/components/molecules/ImageSelectorv2/ImageSelectorv2.stories.js +0 -46
- package/src/components/molecules/ImageSelectorv2/index.js +0 -22
- package/src/components/molecules/ImageSelectorv2/styles.js +0 -15
- package/src/components/molecules/Phase/Phase.stories.js +0 -37
- package/src/components/molecules/Phase/index.js +0 -56
- package/src/components/molecules/Phase/styles.js +0 -82
- package/src/components/molecules/ProductNameHeaderv2/ProductNameHeaderv2.stories.js +0 -37
- package/src/components/molecules/ProductNameHeaderv2/index.js +0 -12
- package/src/components/molecules/ProductNameHeaderv2/styles.js +0 -10
- package/src/components/molecules/ProductSkuStatus/ProductSkuStatus.stories.js +0 -37
- package/src/components/molecules/ProductSkuStatus/index.js +0 -26
- package/src/components/molecules/ProductSkuStatus/styles.js +0 -7
- package/src/components/molecules/RetailerSelectorv2/RetailerSelectorv2.stories.js +0 -35
- package/src/components/molecules/RetailerSelectorv2/index.js +0 -80
- package/src/components/molecules/RetailerSelectorv2/styles.js +0 -21
- 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/molecules/ServiceDataValidator/ServiceDataValidator.stories.js +0 -90
- package/src/components/molecules/ServiceDataValidator/index.js +0 -49
- package/src/components/molecules/ServiceDataValidator/styles.js +0 -36
- package/src/components/molecules/StatusRetailer/StatusAsignationInfo.stories.js +0 -17
- package/src/components/molecules/StatusRetailer/index.js +0 -55
- package/src/components/molecules/StatusRetailer/styles.js +0 -85
- package/src/components/molecules/TabsMenuv2/TabsMenuv2.stories.js +0 -19
- package/src/components/molecules/TabsMenuv2/index.js +0 -112
- package/src/components/molecules/TabsMenuv2/styles.js +0 -19
- package/src/components/molecules/TagAndInputv2/TagAndInputv2.stories.js +0 -24
- package/src/components/molecules/TagAndInputv2/index.js +0 -86
- package/src/components/molecules/TagAndInputv2/styles.js +0 -35
- package/src/components/molecules/Validation/Validation.stories.js +0 -12
- package/src/components/molecules/Validation/index.js +0 -77
- package/src/components/molecules/Validation/styles.js +0 -19
- package/src/components/molecules/VersionItemv2/VersionItemv2.stories.js +0 -14
- package/src/components/molecules/VersionItemv2/index.js +0 -59
- package/src/components/molecules/VersionItemv2/styles.js +0 -47
- package/src/components/organisms/BarButtons/BarButtons.stories.js +0 -13
- package/src/components/organisms/BarButtons/index.js +0 -150
- package/src/components/organisms/BarButtons/styles.js +0 -54
- package/src/components/organisms/Chatv2/ChatLists/ChatLists.stories.js +0 -65
- package/src/components/organisms/Chatv2/ChatLists/Rotoplas.jpeg +0 -0
- package/src/components/organisms/Chatv2/ChatLists/THD.png +0 -0
- package/src/components/organisms/Chatv2/ChatLists/index.js +0 -141
- package/src/components/organisms/Chatv2/ChatLists/styles.js +0 -162
- package/src/components/organisms/Chatv2/Chatv2.stories.js +0 -184
- package/src/components/organisms/Chatv2/ContainerItems/ContainerItems.stories.js +0 -142
- package/src/components/organisms/Chatv2/ContainerItems/index.js +0 -538
- package/src/components/organisms/Chatv2/ContainerItems/styles.js +0 -360
- package/src/components/organisms/Chatv2/ContentChat/ContentChat.stories.js +0 -102
- package/src/components/organisms/Chatv2/ContentChat/Rotoplas.jpeg +0 -0
- package/src/components/organisms/Chatv2/ContentChat/THD.png +0 -0
- package/src/components/organisms/Chatv2/ContentChat/index.js +0 -1016
- package/src/components/organisms/Chatv2/ContentChat/styles.js +0 -44
- package/src/components/organisms/Chatv2/Footer/Footer.stories.js +0 -22
- package/src/components/organisms/Chatv2/Footer/index.js +0 -668
- package/src/components/organisms/Chatv2/Footer/styles.js +0 -290
- package/src/components/organisms/Chatv2/Header/Header.stories.js +0 -66
- package/src/components/organisms/Chatv2/Header/index.js +0 -93
- package/src/components/organisms/Chatv2/Header/styles.js +0 -49
- package/src/components/organisms/Chatv2/index.js +0 -281
- package/src/components/organisms/Chatv2/styles.js +0 -85
- package/src/components/organisms/CompleteServices/CompleteServices.stories.js +0 -91
- package/src/components/organisms/CompleteServices/index.js +0 -82
- package/src/components/organisms/CompleteServices/styles.js +0 -35
- package/src/components/organisms/DragAndDropPhases/DragAndDropPhases.stories.js +0 -12
- package/src/components/organisms/DragAndDropPhases/index.js +0 -67
- package/src/components/organisms/DragAndDropPhases/styles.js +0 -20
- package/src/components/organisms/DragPrueba/DragPrueba.stories.js +0 -12
- package/src/components/organisms/DragPrueba/index.js +0 -57
- package/src/components/organisms/DragPrueba/styles.js +0 -8
- package/src/components/organisms/FullProductNamev2/FullProductNamev2.stories.js +0 -28
- package/src/components/organisms/FullProductNamev2/index.js +0 -101
- package/src/components/organisms/FullProductNamev2/styles.js +0 -49
- package/src/components/organisms/FullTabsMenuv2/FullTabsMenuv2.stories.js +0 -22
- package/src/components/organisms/FullTabsMenuv2/index.js +0 -142
- package/src/components/organisms/FullTabsMenuv2/styles.js +0 -47
- 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
- package/src/components/organisms/ImageDataTablev2/ImageDataTablev2.stories.js +0 -24
- package/src/components/organisms/ImageDataTablev2/index.js +0 -124
- package/src/components/organisms/ImageDataTablev2/styles.js +0 -18
- package/src/components/organisms/ImagePreviewerv2/ImagePreviewerv2.stories.js +0 -38
- package/src/components/organisms/ImagePreviewerv2/index.js +0 -22
- package/src/components/organisms/ImagePreviewerv2/styles.js +0 -7
- package/src/components/organisms/InputGroupv2/InputGroupv2.stories.js +0 -31
- package/src/components/organisms/InputGroupv2/index.js +0 -296
- package/src/components/organisms/InputGroupv2/styles.js +0 -90
- package/src/components/organisms/MandatoryBar/MandatoryBar.stories.js +0 -18
- package/src/components/organisms/MandatoryBar/index.js +0 -31
- package/src/components/organisms/MandatoryBar/styles.js +0 -12
- package/src/components/organisms/ProductImageModalv2/ProductImageModalv2.stories.js +0 -90
- package/src/components/organisms/ProductImageModalv2/index.js +0 -105
- package/src/components/organisms/ProductImageModalv2/styles.js +0 -71
- package/src/components/organisms/RenameImagesBar/RenameImagesBar.stories.js +0 -18
- package/src/components/organisms/RenameImagesBar/index.js +0 -30
- package/src/components/organisms/RenameImagesBar/styles.js +0 -12
- package/src/components/organisms/VersionSelectorv2/VersionSelectorv2.stories.js +0 -15
- package/src/components/organisms/VersionSelectorv2/index.js +0 -105
- package/src/components/organisms/VersionSelectorv2/styles.js +0 -45
- package/src/components/pages/ProductEditionv2/ProductEditionv2.stories.js +0 -213
- package/src/components/pages/ProductEditionv2/index.js +0 -1758
- package/src/components/pages/ProductEditionv2/styles.js +0 -154
|
@@ -168,7 +168,7 @@ var Footer = function Footer(props) {
|
|
|
168
168
|
switch (_context.prev = _context.next) {
|
|
169
169
|
case 0:
|
|
170
170
|
if (!createItemsChat) {
|
|
171
|
-
_context.next =
|
|
171
|
+
_context.next = 88;
|
|
172
172
|
break;
|
|
173
173
|
}
|
|
174
174
|
|
|
@@ -200,7 +200,7 @@ var Footer = function Footer(props) {
|
|
|
200
200
|
|
|
201
201
|
case 12:
|
|
202
202
|
if ((_step = _iterator.n()).done) {
|
|
203
|
-
_context.next =
|
|
203
|
+
_context.next = 39;
|
|
204
204
|
break;
|
|
205
205
|
}
|
|
206
206
|
|
|
@@ -228,7 +228,7 @@ var Footer = function Footer(props) {
|
|
|
228
228
|
|
|
229
229
|
fileKey = "chat/";
|
|
230
230
|
_context.t0 = chatType;
|
|
231
|
-
_context.next = _context.t0 === "merchant_product" ? 26 : _context.t0 === "order_product" ? 28 : _context.t0 === "ticket" ? 30 :
|
|
231
|
+
_context.next = _context.t0 === "merchant_product" ? 26 : _context.t0 === "order_product" ? 28 : _context.t0 === "ticket" ? 30 : 32;
|
|
232
232
|
break;
|
|
233
233
|
|
|
234
234
|
case 26:
|
|
@@ -238,7 +238,7 @@ var Footer = function Footer(props) {
|
|
|
238
238
|
errorMessage = "El ID o la version del producto no es valido";
|
|
239
239
|
}
|
|
240
240
|
|
|
241
|
-
return _context.abrupt("break",
|
|
241
|
+
return _context.abrupt("break", 33);
|
|
242
242
|
|
|
243
243
|
case 28:
|
|
244
244
|
if ((0, _utils.isValidNaturalNumber)(dataChat === null || dataChat === void 0 ? void 0 : dataChat.id) && (0, _utils.isValidNaturalNumber)(dataChat === null || dataChat === void 0 ? void 0 : dataChat.version)) {
|
|
@@ -247,7 +247,7 @@ var Footer = function Footer(props) {
|
|
|
247
247
|
errorMessage = "El ID o la version del producto no es valido";
|
|
248
248
|
}
|
|
249
249
|
|
|
250
|
-
return _context.abrupt("break",
|
|
250
|
+
return _context.abrupt("break", 33);
|
|
251
251
|
|
|
252
252
|
case 30:
|
|
253
253
|
if ((0, _utils.isValidNaturalNumber)(dataChat === null || dataChat === void 0 ? void 0 : dataChat.id)) {
|
|
@@ -256,21 +256,12 @@ var Footer = function Footer(props) {
|
|
|
256
256
|
errorMessage = "El ID del ticket no es valido";
|
|
257
257
|
}
|
|
258
258
|
|
|
259
|
-
return _context.abrupt("break",
|
|
259
|
+
return _context.abrupt("break", 33);
|
|
260
260
|
|
|
261
261
|
case 32:
|
|
262
|
-
if ((0, _utils.isValidNaturalNumber)(dataChat === null || dataChat === void 0 ? void 0 : dataChat.id) && (0, _utils.isValidNaturalNumber)(dataChat === null || dataChat === void 0 ? void 0 : dataChat.version) && (0, _utils.isValidNaturalNumber)(dataChat === null || dataChat === void 0 ? void 0 : dataChat.retailerId)) {
|
|
263
|
-
fileKey += "productStatus/".concat(dataChat.id, "-").concat(dataChat === null || dataChat === void 0 ? void 0 : dataChat.version, "-").concat(dataChat === null || dataChat === void 0 ? void 0 : dataChat.retailerId, "/");
|
|
264
|
-
} else {
|
|
265
|
-
errorMessage = "El ID del ticket no es valido";
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
return _context.abrupt("break", 35);
|
|
269
|
-
|
|
270
|
-
case 34:
|
|
271
262
|
errorMessage = "El tipo de chat no se especifico de manera correcta";
|
|
272
263
|
|
|
273
|
-
case
|
|
264
|
+
case 33:
|
|
274
265
|
if (!errorMessage) {
|
|
275
266
|
today = new Date();
|
|
276
267
|
fileKey += "".concat((0, _uuid.v4)(), "-").concat(today.getTime(), ".").concat((0, _utils.getFileExtension)(file.name));
|
|
@@ -292,32 +283,32 @@ var Footer = function Footer(props) {
|
|
|
292
283
|
};
|
|
293
284
|
fileUploadRequests.push(myBucket.putObject(paramsCreate).promise());
|
|
294
285
|
|
|
295
|
-
case
|
|
286
|
+
case 37:
|
|
296
287
|
_context.next = 12;
|
|
297
288
|
break;
|
|
298
289
|
|
|
299
|
-
case
|
|
300
|
-
_context.next =
|
|
290
|
+
case 39:
|
|
291
|
+
_context.next = 44;
|
|
301
292
|
break;
|
|
302
293
|
|
|
303
|
-
case
|
|
304
|
-
_context.prev =
|
|
294
|
+
case 41:
|
|
295
|
+
_context.prev = 41;
|
|
305
296
|
_context.t1 = _context["catch"](10);
|
|
306
297
|
|
|
307
298
|
_iterator.e(_context.t1);
|
|
308
299
|
|
|
309
|
-
case
|
|
310
|
-
_context.prev =
|
|
300
|
+
case 44:
|
|
301
|
+
_context.prev = 44;
|
|
311
302
|
|
|
312
303
|
_iterator.f();
|
|
313
304
|
|
|
314
|
-
return _context.finish(
|
|
305
|
+
return _context.finish(44);
|
|
315
306
|
|
|
316
|
-
case
|
|
317
|
-
_context.next =
|
|
307
|
+
case 47:
|
|
308
|
+
_context.next = 49;
|
|
318
309
|
return Promise.allSettled(fileUploadRequests);
|
|
319
310
|
|
|
320
|
-
case
|
|
311
|
+
case 49:
|
|
321
312
|
responseAWS = _context.sent;
|
|
322
313
|
responseAWS.forEach(function (responseFile, index) {
|
|
323
314
|
if (responseFile.status === "rejected") {
|
|
@@ -327,11 +318,11 @@ var Footer = function Footer(props) {
|
|
|
327
318
|
customFiles[index].uploaded = true;
|
|
328
319
|
}
|
|
329
320
|
});
|
|
330
|
-
_context.next =
|
|
321
|
+
_context.next = 59;
|
|
331
322
|
break;
|
|
332
323
|
|
|
333
|
-
case
|
|
334
|
-
_context.prev =
|
|
324
|
+
case 53:
|
|
325
|
+
_context.prev = 53;
|
|
335
326
|
_context.t2 = _context["catch"](7);
|
|
336
327
|
console.log(_context.t2);
|
|
337
328
|
disableSecondaryContainer(false);
|
|
@@ -343,21 +334,21 @@ var Footer = function Footer(props) {
|
|
|
343
334
|
});
|
|
344
335
|
return _context.abrupt("return");
|
|
345
336
|
|
|
346
|
-
case
|
|
337
|
+
case 59:
|
|
347
338
|
// obtener las keys de los files subidos
|
|
348
339
|
items = [];
|
|
349
340
|
index = 0;
|
|
350
341
|
|
|
351
|
-
case
|
|
342
|
+
case 61:
|
|
352
343
|
if (!(index < customFiles.length)) {
|
|
353
|
-
_context.next =
|
|
344
|
+
_context.next = 74;
|
|
354
345
|
break;
|
|
355
346
|
}
|
|
356
347
|
|
|
357
348
|
_file = customFiles[index];
|
|
358
349
|
|
|
359
350
|
if (!_file.uploaded) {
|
|
360
|
-
_context.next =
|
|
351
|
+
_context.next = 71;
|
|
361
352
|
break;
|
|
362
353
|
}
|
|
363
354
|
|
|
@@ -367,14 +358,14 @@ var Footer = function Footer(props) {
|
|
|
367
358
|
}; // caso imagen -> obtener width y height
|
|
368
359
|
|
|
369
360
|
if (!(_file.itemType === "img")) {
|
|
370
|
-
_context.next =
|
|
361
|
+
_context.next = 70;
|
|
371
362
|
break;
|
|
372
363
|
}
|
|
373
364
|
|
|
374
|
-
_context.next =
|
|
365
|
+
_context.next = 68;
|
|
375
366
|
return (0, _utils.getImageSize)(files[index]);
|
|
376
367
|
|
|
377
|
-
case
|
|
368
|
+
case 68:
|
|
378
369
|
imgSize = _context.sent;
|
|
379
370
|
|
|
380
371
|
if (imgSize) {
|
|
@@ -382,31 +373,31 @@ var Footer = function Footer(props) {
|
|
|
382
373
|
valueItem.height = imgSize.height;
|
|
383
374
|
}
|
|
384
375
|
|
|
385
|
-
case
|
|
376
|
+
case 70:
|
|
386
377
|
items.push({
|
|
387
378
|
type: _file.itemType,
|
|
388
379
|
value: JSON.stringify(valueItem)
|
|
389
380
|
});
|
|
390
381
|
|
|
391
|
-
case
|
|
382
|
+
case 71:
|
|
392
383
|
index++;
|
|
393
|
-
_context.next =
|
|
384
|
+
_context.next = 61;
|
|
394
385
|
break;
|
|
395
386
|
|
|
396
|
-
case
|
|
387
|
+
case 74:
|
|
397
388
|
if (!items.length) {
|
|
398
|
-
_context.next =
|
|
389
|
+
_context.next = 82;
|
|
399
390
|
break;
|
|
400
391
|
}
|
|
401
392
|
|
|
402
|
-
_context.next =
|
|
393
|
+
_context.next = 77;
|
|
403
394
|
return createItemsChat(items);
|
|
404
395
|
|
|
405
|
-
case
|
|
396
|
+
case 77:
|
|
406
397
|
responseError = _context.sent;
|
|
407
398
|
|
|
408
399
|
if (!responseError) {
|
|
409
|
-
_context.next =
|
|
400
|
+
_context.next = 82;
|
|
410
401
|
break;
|
|
411
402
|
}
|
|
412
403
|
|
|
@@ -419,7 +410,7 @@ var Footer = function Footer(props) {
|
|
|
419
410
|
disableSecondaryContainer(false);
|
|
420
411
|
return _context.abrupt("return");
|
|
421
412
|
|
|
422
|
-
case
|
|
413
|
+
case 82:
|
|
423
414
|
// obtener los errores de los files no subidos a AWS
|
|
424
415
|
failedFiles = [];
|
|
425
416
|
errorDetailFiles = "";
|
|
@@ -448,12 +439,12 @@ var Footer = function Footer(props) {
|
|
|
448
439
|
disableSecondaryContainer(false);
|
|
449
440
|
setFilesPreview(failedFiles);
|
|
450
441
|
|
|
451
|
-
case
|
|
442
|
+
case 88:
|
|
452
443
|
case "end":
|
|
453
444
|
return _context.stop();
|
|
454
445
|
}
|
|
455
446
|
}
|
|
456
|
-
}, _callee, null, [[7,
|
|
447
|
+
}, _callee, null, [[7, 53], [10, 41, 44, 47]]);
|
|
457
448
|
}));
|
|
458
449
|
|
|
459
450
|
return function sendFilesPreview() {
|
|
@@ -30,8 +30,7 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
30
30
|
var Chat = function Chat(props) {
|
|
31
31
|
var chatType = props.chatType,
|
|
32
32
|
chatContainerType = props.chatContainerType,
|
|
33
|
-
|
|
34
|
-
chatData = _props$chatData === void 0 ? {} : _props$chatData,
|
|
33
|
+
chatData = props.chatData,
|
|
35
34
|
classNameContainerFixed = props.classNameContainerFixed,
|
|
36
35
|
_props$size = props.size,
|
|
37
36
|
size = _props$size === void 0 ? 14 : _props$size;
|
|
@@ -47,8 +46,7 @@ var Chat = function Chat(props) {
|
|
|
47
46
|
setData = _useState4[1];
|
|
48
47
|
|
|
49
48
|
var _ref = chatData || {},
|
|
50
|
-
ticketCompany = _ref.ticketCompany
|
|
51
|
-
retailerId = _ref.retailerId;
|
|
49
|
+
ticketCompany = _ref.ticketCompany;
|
|
52
50
|
|
|
53
51
|
(0, _react.useEffect)(function () {
|
|
54
52
|
switch (chatType) {
|
|
@@ -64,10 +62,6 @@ var Chat = function Chat(props) {
|
|
|
64
62
|
validateChatTicket();
|
|
65
63
|
break;
|
|
66
64
|
|
|
67
|
-
case "product_status":
|
|
68
|
-
validateProductStatus();
|
|
69
|
-
break;
|
|
70
|
-
|
|
71
65
|
default:
|
|
72
66
|
setData({
|
|
73
67
|
code: 404,
|
|
@@ -77,41 +71,6 @@ var Chat = function Chat(props) {
|
|
|
77
71
|
}
|
|
78
72
|
}, [chatType]);
|
|
79
73
|
|
|
80
|
-
var validateProductStatus = function validateProductStatus() {
|
|
81
|
-
var userToken = chatData.userToken,
|
|
82
|
-
id = chatData.id,
|
|
83
|
-
version = chatData.version,
|
|
84
|
-
retailerId = chatData.retailerId,
|
|
85
|
-
status = chatData.status,
|
|
86
|
-
orderId = chatData.orderId;
|
|
87
|
-
if (!isValidGeneral(userToken, id)) return; // validar el ID de la cadena asociada al producto en la OT
|
|
88
|
-
|
|
89
|
-
if (!(0, _utils.isValidNaturalNumber)(retailerId)) {
|
|
90
|
-
setDataError("La cadena relacionada al producto no es válida");
|
|
91
|
-
return;
|
|
92
|
-
} // validar el ID de la version asociada al producto en la OT
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
if (!(0, _utils.isValidNaturalNumber)(version)) {
|
|
96
|
-
setDataError("La versión del producto no es válida");
|
|
97
|
-
return;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
if (orderId && !(0, _utils.isValidNaturalNumber)(orderId)) {
|
|
101
|
-
setDataError("La orden del producto no es válida");
|
|
102
|
-
return;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
setData({
|
|
106
|
-
userToken: userToken,
|
|
107
|
-
id: id,
|
|
108
|
-
version: version,
|
|
109
|
-
retailerId: retailerId,
|
|
110
|
-
orderId: orderId,
|
|
111
|
-
status: status
|
|
112
|
-
});
|
|
113
|
-
};
|
|
114
|
-
|
|
115
74
|
var isValidGeneral = function isValidGeneral(userToken, id) {
|
|
116
75
|
// validar token del user
|
|
117
76
|
if ((0, _utils.isStringEmpty)(userToken)) {
|
|
@@ -258,9 +217,7 @@ var Chat = function Chat(props) {
|
|
|
258
217
|
dataChat: data,
|
|
259
218
|
showBtnClose: false,
|
|
260
219
|
ticketCompany: ticketCompany,
|
|
261
|
-
activeRetailer: props.activeRetailer
|
|
262
|
-
id: retailerId
|
|
263
|
-
}
|
|
220
|
+
activeRetailer: props.activeRetailer
|
|
264
221
|
})
|
|
265
222
|
});
|
|
266
223
|
} else {
|
|
@@ -292,9 +249,7 @@ var Chat = function Chat(props) {
|
|
|
292
249
|
onClickBtnClose: function onClickBtnClose() {
|
|
293
250
|
setShowPopUpChat(false);
|
|
294
251
|
},
|
|
295
|
-
activeRetailer: props.activeRetailer
|
|
296
|
-
id: retailerId
|
|
297
|
-
}
|
|
252
|
+
activeRetailer: props.activeRetailer
|
|
298
253
|
})
|
|
299
254
|
})
|
|
300
255
|
})]
|
|
@@ -16,7 +16,7 @@ var _variables = require("../../../global-files/variables");
|
|
|
16
16
|
var _templateObject, _templateObject2, _templateObject3;
|
|
17
17
|
|
|
18
18
|
// Container para chat fixed
|
|
19
|
-
var ContainerFixed = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n width: auto;\n max-width: 550px;\n min-width: 325px;\n height: 100%;\n flex-grow: 2;\n background-color: white;\n border: 1px solid #f0f0f0;\n z-index: 1000;\n padding: 0px;\n @media (max-width:
|
|
19
|
+
var ContainerFixed = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n width: auto;\n max-width: 550px;\n min-width: 325px;\n height: 100%;\n flex-grow: 2;\n background-color: white;\n border: 1px solid #f0f0f0;\n z-index: 1000;\n padding: 0px;\n @media (max-width: 600px) {\n width: 90%;\n min-width: 300px;\n }\n"])));
|
|
20
20
|
|
|
21
21
|
exports.ContainerFixed = ContainerFixed;
|
|
22
22
|
|
|
@@ -9,8 +9,6 @@ exports.DashboardMetric = void 0;
|
|
|
9
9
|
|
|
10
10
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/defineProperty"));
|
|
11
11
|
|
|
12
|
-
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/slicedToArray"));
|
|
13
|
-
|
|
14
12
|
var _styles = require("./styles");
|
|
15
13
|
|
|
16
14
|
var _Graphic = require("../../atoms/Graphic");
|
|
@@ -41,12 +39,8 @@ var DashboardMetric = function DashboardMetric(_ref) {
|
|
|
41
39
|
borderColor = _ref.borderColor,
|
|
42
40
|
total = _ref.total,
|
|
43
41
|
totalFiltered = _ref.totalFiltered;
|
|
44
|
-
var labels = type === "doughnut" ? Object.
|
|
45
|
-
|
|
46
|
-
key = _ref3[0],
|
|
47
|
-
value = _ref3[1];
|
|
48
|
-
|
|
49
|
-
return key !== "NS" && "".concat((0, _dashboardMetricUtils.getFullStatus)(key), " (").concat(value, ")");
|
|
42
|
+
var labels = type === "doughnut" ? Object.keys(dataObject).map(function (key) {
|
|
43
|
+
return key !== "NS" && (0, _dashboardMetricUtils.getFullStatus)(key);
|
|
50
44
|
}) : Object.keys(dataObject);
|
|
51
45
|
var newObject = type === "doughnut" ? (0, _dashboardMetricUtils.removeOldStatus)(dataObject) : dataObject;
|
|
52
46
|
var values = (_Object$values = Object.values(newObject)) !== null && _Object$values !== void 0 && _Object$values.length ? Object.values(newObject) : [0];
|
|
@@ -74,17 +68,17 @@ var DashboardMetric = function DashboardMetric(_ref) {
|
|
|
74
68
|
plugins: {
|
|
75
69
|
tooltip: {
|
|
76
70
|
callbacks: {
|
|
77
|
-
label: function label(
|
|
71
|
+
label: function label(_ref2) {
|
|
78
72
|
var _dataset$data;
|
|
79
73
|
|
|
80
|
-
var dataset =
|
|
81
|
-
element =
|
|
74
|
+
var dataset = _ref2.dataset,
|
|
75
|
+
element = _ref2.element;
|
|
82
76
|
var sum = dataset === null || dataset === void 0 ? void 0 : (_dataset$data = dataset.data) === null || _dataset$data === void 0 ? void 0 : _dataset$data.reduce(function (accumulator, value) {
|
|
83
77
|
return accumulator + value;
|
|
84
78
|
}, 0);
|
|
85
79
|
var raw = element.$context.raw;
|
|
86
80
|
var operation = 100 * (raw / sum);
|
|
87
|
-
var percent =
|
|
81
|
+
var percent = ((operation + "").includes(".") ? (100 * (raw / sum)).toFixed(2) : 100 * (raw / sum)) + "%";
|
|
88
82
|
return showPercent ? percent : raw;
|
|
89
83
|
}
|
|
90
84
|
}
|
|
@@ -43,7 +43,7 @@ var FullProductNameHeader = function FullProductNameHeader(_ref) {
|
|
|
43
43
|
|
|
44
44
|
(0, _react.useEffect)(function () {
|
|
45
45
|
var rtls = (headerData === null || headerData === void 0 ? void 0 : headerData.retailers) || (headerData === null || headerData === void 0 ? void 0 : headerData.retailersAvailable);
|
|
46
|
-
servicesData &&
|
|
46
|
+
servicesData && rtls.forEach(function (rt) {
|
|
47
47
|
var element = [];
|
|
48
48
|
servicesData.forEach(function (sd) {
|
|
49
49
|
if (sd.id_retailer === rt.id) {
|
|
@@ -52,7 +52,7 @@ var FullProductNameHeader = function FullProductNameHeader(_ref) {
|
|
|
52
52
|
|
|
53
53
|
rt["services"] = element;
|
|
54
54
|
});
|
|
55
|
-
})
|
|
55
|
+
});
|
|
56
56
|
setRetailers(rtls);
|
|
57
57
|
}, [servicesData]);
|
|
58
58
|
|
|
@@ -82,7 +82,16 @@ var InputGroup = function InputGroup(_ref) {
|
|
|
82
82
|
setShowBox(false);
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
|
-
}, [activeRetailer, inputGroup.groupId]);
|
|
85
|
+
}, [activeRetailer, inputGroup.groupId]); // useEffect(() => {
|
|
86
|
+
// if (showBox) {
|
|
87
|
+
// // Realiza la acción que deseas cuando showBox es true
|
|
88
|
+
// console.log("showBox es true");
|
|
89
|
+
// } else {
|
|
90
|
+
// // Realiza la acción que deseas cuando showBox es false
|
|
91
|
+
// console.log("showBox es false");
|
|
92
|
+
// }
|
|
93
|
+
// }, [showBox]);
|
|
94
|
+
|
|
86
95
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
87
96
|
children: [inputGroup.groupId === "16" && (activeRetailer === null || activeRetailer === void 0 ? void 0 : (_activeRetailer$retai3 = activeRetailer.retailer) === null || _activeRetailer$retai3 === void 0 ? void 0 : _activeRetailer$retai3.id) === 68 && /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Container, {
|
|
88
97
|
className: activeSection === "Ficha técnica" ? "datasheets-layout" : "descriptions-layout",
|
|
@@ -15,6 +15,6 @@ var _variables = require("../../../global-files/variables");
|
|
|
15
15
|
|
|
16
16
|
var _templateObject;
|
|
17
17
|
|
|
18
|
-
var ContainerModal = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n width: 100%;\n height: 100%;\n overflow: auto;\n display: grid;\n place-items: center;\n background-color: rgba(0, 0, 0, 0.4);\n\n .contentModal {\n width: fit-content;\n max-width: 80%;\n min-width: 80px;\n height: fit-content;\n max-height: 90%;\n min-height: 120px;\n display: flex;\n flex-direction: column;\n align-items: center;\n background-color: white;\n border-radius: 10px;\n padding: 25px 25px 20px 25px;\n box-shadow: 0px 2px 4px 0px #00000040;\n\n header {\n width: 100%;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: flex-start;\n gap: 6px;\n\n .label-title {\n width: 100%;\n text-align: center;\n font-family: ", ", sans-serif;\n font-size: 17px;\n line-height: 1.2;\n color: #262626;\n white-space: pre-wrap;\n }\n
|
|
18
|
+
var ContainerModal = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n width: 100%;\n height: 100%;\n overflow: auto;\n display: grid;\n place-items: center;\n background-color: rgba(0, 0, 0, 0.4);\n\n .contentModal {\n width: fit-content;\n max-width: 80%;\n min-width: 80px;\n height: fit-content;\n max-height: 90%;\n min-height: 120px;\n display: flex;\n flex-direction: column;\n align-items: center;\n background-color: white;\n border-radius: 10px;\n padding: 25px 25px 20px 25px;\n box-shadow: 0px 2px 4px 0px #00000040;\n\n header {\n width: 100%;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: flex-start;\n gap: 6px;\n margin-bottom: 20px;\n\n .label-title {\n width: 100%;\n text-align: center;\n font-family: ", ", sans-serif;\n font-size: 17px;\n line-height: 1.2;\n color: #262626;\n white-space: pre-wrap;\n }\n }\n\n .iconModal {\n width: 50px;\n height: 50px;\n font-size: 30px;\n border-width: 4px;\n margin-bottom: 20px;\n overflow: hidden;\n\n &.iconModal-error {\n background-color: #953737;\n border-color: #953737;\n color: white;\n }\n &.iconModal-warning {\n font-size: 27px;\n padding-bottom: 8px;\n color: #af9647;\n border-color: #af9647;\n }\n &.iconModal-info {\n border-color: #9e3e26;\n color: #9e3e26;\n }\n &.iconModal-success {\n }\n }\n\n .label-message {\n width: 100%;\n text-align: center;\n font-family: ", ", sans-serif;\n font-size: 13px;\n color: #707070;\n white-space: pre-wrap;\n }\n\n .container-customComponent {\n width: 100%;\n max-height: 50vh;\n display: flex;\n flex-direction: column;\n margin-top: 20px;\n padding: 0px 0px;\n //border: 1px solid red;\n }\n\n .container-buttons {\n width: 100%;\n display: flex;\n flex-direction: row;\n justify-content: center;\n gap: 12px;\n margin-top: 20px;\n //border: 1px solid red;\n }\n }\n"])), _variables.FontFamily.RobotoMedium, _variables.FontFamily.RobotoRegular);
|
|
19
19
|
|
|
20
20
|
exports.ContainerModal = ContainerModal;
|
|
@@ -27,7 +27,9 @@ var _addVersion = _interopRequireDefault(require("../../../assets/images/version
|
|
|
27
27
|
|
|
28
28
|
var _closeVersionSelector = _interopRequireDefault(require("../../../assets/images/versionSelector/closeVersionSelector.svg"));
|
|
29
29
|
|
|
30
|
-
var _variables = require("
|
|
30
|
+
var _variables = require("../../../../dist/global-files/variables");
|
|
31
|
+
|
|
32
|
+
var _variables2 = require("../../../global-files/variables");
|
|
31
33
|
|
|
32
34
|
var _VersionItem = require("../../molecules/VersionItem");
|
|
33
35
|
|
|
@@ -120,7 +122,7 @@ var VersionSelector = function VersionSelector(_ref) {
|
|
|
120
122
|
text: "Versión del producto",
|
|
121
123
|
headerType: "input-name-header",
|
|
122
124
|
color: _variables.GlobalColors.white,
|
|
123
|
-
fontFamily:
|
|
125
|
+
fontFamily: _variables2.FontFamily.Lato
|
|
124
126
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
125
127
|
className: "buttons-container",
|
|
126
128
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_GeneralButton.Button, {
|
|
@@ -27,54 +27,57 @@ var DashboardDeafult = Template.bind({});
|
|
|
27
27
|
exports.DashboardDeafult = DashboardDeafult;
|
|
28
28
|
DashboardDeafult.args = {
|
|
29
29
|
user: {
|
|
30
|
-
id_user:
|
|
31
|
-
name: "
|
|
32
|
-
last_name: "
|
|
33
|
-
email: "
|
|
34
|
-
position: "
|
|
35
|
-
telephone: "
|
|
30
|
+
id_user: 37,
|
|
31
|
+
name: "José",
|
|
32
|
+
last_name: "Castañeda",
|
|
33
|
+
email: "ismael97lopez@gmail.com",
|
|
34
|
+
position: "Auditor",
|
|
35
|
+
telephone: "",
|
|
36
36
|
country: "México",
|
|
37
|
-
id_company:
|
|
38
|
-
id_cognito: "
|
|
37
|
+
id_company: 2,
|
|
38
|
+
id_cognito: "9a213128-6482-4c16-a4b6-6e64f225b1bd",
|
|
39
39
|
birth_Date: null,
|
|
40
40
|
about_me: "",
|
|
41
41
|
zip_code: "",
|
|
42
42
|
address: "",
|
|
43
43
|
job: "",
|
|
44
|
-
id_stripe: "
|
|
45
|
-
id_role:
|
|
44
|
+
id_stripe: "",
|
|
45
|
+
id_role: 6,
|
|
46
46
|
active: 1,
|
|
47
47
|
is_retailer: 0,
|
|
48
|
-
email_notify:
|
|
49
|
-
is_user_tech:
|
|
48
|
+
email_notify: 1,
|
|
49
|
+
is_user_tech: null,
|
|
50
50
|
membership: {
|
|
51
|
-
id:
|
|
52
|
-
start_date: "
|
|
53
|
-
end_date: "
|
|
54
|
-
planID:
|
|
55
|
-
plan: "
|
|
56
|
-
name: "Plan
|
|
57
|
-
user_limit: "
|
|
58
|
-
products_limit: "
|
|
59
|
-
type: "
|
|
51
|
+
id: 2,
|
|
52
|
+
start_date: "2021-11-05T02:35:12.000Z",
|
|
53
|
+
end_date: "2022-11-05T02:34:49.000Z",
|
|
54
|
+
planID: 1,
|
|
55
|
+
plan: "prod_KtkvuFFLpOdP6e",
|
|
56
|
+
name: "Plan Free",
|
|
57
|
+
user_limit: "1",
|
|
58
|
+
products_limit: "3",
|
|
59
|
+
type: "PyMES"
|
|
60
60
|
},
|
|
61
|
-
src: "https://content-management-profile.s3.amazonaws.com/id-
|
|
61
|
+
src: "https://content-management-profile.s3.amazonaws.com/id-37/37.png?1684953973972"
|
|
62
62
|
},
|
|
63
63
|
company: {
|
|
64
|
-
id_company:
|
|
65
|
-
trade_name: "
|
|
66
|
-
company_name: "
|
|
64
|
+
id_company: 1,
|
|
65
|
+
trade_name: "GRUPO BRAHMA",
|
|
66
|
+
company_name: "GRUPO BRAHMA",
|
|
67
67
|
rfc: "XAXX010101000",
|
|
68
68
|
adress: "AA",
|
|
69
|
-
about_company: "
|
|
70
|
-
telephone: "
|
|
71
|
-
web_site: "
|
|
72
|
-
zip_code: "
|
|
69
|
+
about_company: "",
|
|
70
|
+
telephone: "",
|
|
71
|
+
web_site: "",
|
|
72
|
+
zip_code: "",
|
|
73
73
|
email: null,
|
|
74
|
-
social_link: "
|
|
74
|
+
social_link: "",
|
|
75
75
|
is_retailer: 0,
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
retailers: [{
|
|
77
|
+
id: null,
|
|
78
|
+
name: null,
|
|
79
|
+
country: null
|
|
80
|
+
}]
|
|
78
81
|
},
|
|
79
|
-
jwt: "eyJraWQiOiJkQWJkZCtlclwvTlwveVRQUWNvUlVyOCtrNUd2M1hMM2N1MWUzQ09zWExVRnc9IiwiYWxnIjoiUlMyNTYifQ.
|
|
82
|
+
jwt: "eyJraWQiOiJkQWJkZCtlclwvTlwveVRQUWNvUlVyOCtrNUd2M1hMM2N1MWUzQ09zWExVRnc9IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJmNTkyN2Y4ZS1jYmY3LTQ5MjItOWUwOS1lNjllYzBiMjczMWEiLCJjb2duaXRvOmdyb3VwcyI6WyJ1c3VhcmlvX2NvbnRlbnRvaCJdLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiaXNzIjoiaHR0cHM6XC9cL2NvZ25pdG8taWRwLnVzLWVhc3QtMS5hbWF6b25hd3MuY29tXC91cy1lYXN0LTFfWE1aUWRxa0dqIiwicGhvbmVfbnVtYmVyX3ZlcmlmaWVkIjpmYWxzZSwiY29nbml0bzp1c2VybmFtZSI6ImY1OTI3ZjhlLWNiZjctNDkyMi05ZTA5LWU2OWVjMGIyNzMxYSIsImNvZ25pdG86cm9sZXMiOlsiYXJuOmF3czppYW06Ojg5ODY3MDIzMjgwNzpyb2xlXC9jb250ZW50b2gtZGV2LXVzLWVhc3QtMS1sYW1iZGFSb2xlIl0sImF1ZCI6IjVhYzh0cGdzNmdic3ExM2ZydnJwaWVlcDQwIiwiZXZlbnRfaWQiOiI3ZjNkZTM4Mi03NWE2LTRlNDAtYTI3NC00YmM5ODg2Nzk0YjYiLCJ0b2tlbl91c2UiOiJpZCIsImF1dGhfdGltZSI6MTY4NDk1NTYzOCwibmFtZSI6IklzbWFlbCBMb3BleiIsInBob25lX251bWJlciI6Iis1MjMxMTEzNjYzMzYiLCJleHAiOjE2ODQ5NTkyMzcsImlhdCI6MTY4NDk1NTYzOCwiZW1haWwiOiJpbG9wZXpAY29udGVudG9oLmNvbSJ9.ALvhpSGVv34JV8vLSg0CznmsIzRMJ_BFcmDI4qYXzr0qwgLLihon0M0xmODMhIHKcZK4jODC01guliB6fTPoCb8kfPHrBgLnHMBU8PxU1Fcc2EqF5U8lh4fJK6Mc7kiJ4lCreKJL3kT_1ytC-7FdRAlhNXzuJW6aMQQ785ODQ8-1RtHKW6U_b9x88-WFxjltEKuw734LGBSkz9iKZSumNBJBP8HTMgwOgmRTJ6lR-hPsujvl7aF3maXhftpk2fI8S_FzjVRMsxY3T8hQHIXEYwQUv-fC5SPOgc8XDuAp18MKfi0qkU1EYHQahC0qZmvgVGWEDcu5D36Xj0as4iAiFQ"
|
|
80
83
|
};
|