contentoh-components-library 21.4.21 → 21.4.23

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.
Files changed (115) hide show
  1. package/.env.development +2 -5
  2. package/.env.production +1 -3
  3. package/dist/components/atoms/Avatar/index.js +2 -3
  4. package/dist/components/atoms/Card/index.js +5 -46
  5. package/dist/components/atoms/Card/styles.js +1 -3
  6. package/dist/components/atoms/CheckBox/index.js +2 -7
  7. package/dist/components/atoms/CheckBox/styles.js +1 -1
  8. package/dist/components/atoms/InputFormatter/styles.js +1 -1
  9. package/dist/components/atoms/SliderToolTip/styles.js +1 -1
  10. package/dist/components/molecules/CarouselImagesLogin/index.js +1 -1
  11. package/dist/components/molecules/HeaderTop/index.js +11 -68
  12. package/dist/components/molecules/TagAndInput/index.js +1 -1
  13. package/dist/components/organisms/Chat/Chat.stories.js +8 -27
  14. package/dist/components/organisms/Chat/ContainerItems/index.js +3 -19
  15. package/dist/components/organisms/Chat/ContainerItems/styles.js +1 -1
  16. package/dist/components/organisms/Chat/ContentChat/index.js +197 -350
  17. package/dist/components/organisms/Chat/Footer/index.js +39 -48
  18. package/dist/components/organisms/Chat/index.js +4 -49
  19. package/dist/components/organisms/FullProductNameHeader/index.js +2 -2
  20. package/dist/components/organisms/Modal/styles.js +1 -1
  21. package/dist/components/organisms/PanelLayout/PanelLayout.stories.js +1 -1
  22. package/dist/components/organisms/PanelLayout/index.js +5 -7
  23. package/dist/components/organisms/PanelLayout/styles.js +3 -3
  24. package/dist/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +116 -60
  25. package/dist/components/pages/ProviderProductEdition/index.js +142 -117
  26. package/dist/components/pages/ProviderProductEdition/styles.js +1 -1
  27. package/dist/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +4 -8
  28. package/dist/components/pages/RetailerProductEdition/index.js +308 -316
  29. package/dist/components/pages/RetailerProductEdition/styles.js +1 -1
  30. package/dist/components/pages/RetailerProductEdition/utils.js +2 -61
  31. package/dist/index.js +52 -247
  32. package/package.json +1 -4
  33. package/src/components/atoms/Avatar/index.js +2 -8
  34. package/src/components/atoms/Card/index.js +2 -35
  35. package/src/components/atoms/Card/styles.js +5 -41
  36. package/src/components/atoms/CheckBox/index.js +1 -4
  37. package/src/components/atoms/CheckBox/styles.js +0 -2
  38. package/src/components/atoms/InputFormatter/styles.js +1 -2
  39. package/src/components/atoms/SliderToolTip/styles.js +1 -1
  40. package/src/components/molecules/CarouselImagesLogin/index.js +1 -1
  41. package/src/components/molecules/HeaderTop/index.js +6 -52
  42. package/src/components/molecules/TagAndInput/index.js +8 -10
  43. package/src/components/organisms/Chat/Chat.stories.js +7 -27
  44. package/src/components/organisms/Chat/ContainerItems/index.js +2 -18
  45. package/src/components/organisms/Chat/ContainerItems/styles.js +2 -10
  46. package/src/components/organisms/Chat/ContentChat/index.js +12 -88
  47. package/src/components/organisms/Chat/Footer/index.js +0 -11
  48. package/src/components/organisms/Chat/index.js +4 -46
  49. package/src/components/organisms/FullProductNameHeader/index.js +1 -1
  50. package/src/components/organisms/Modal/styles.js +1 -4
  51. package/src/components/organisms/OrderDetail/utils/Table/utils.js +16 -6
  52. package/src/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +116 -66
  53. package/src/components/pages/ProviderProductEdition/index.js +129 -97
  54. package/src/components/pages/ProviderProductEdition/styles.js +1 -5
  55. package/src/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +3 -7
  56. package/src/components/pages/RetailerProductEdition/index.js +184 -158
  57. package/src/components/pages/RetailerProductEdition/styles.js +0 -4
  58. package/src/components/pages/RetailerProductEdition/utils.js +0 -37
  59. package/src/index.js +0 -16
  60. package/src/components/atoms/ImageCarousel/ImgeSlider.stories.js +0 -76
  61. package/src/components/atoms/ImageCarousel/index.js +0 -103
  62. package/src/components/atoms/ImageCarousel/styles.js +0 -79
  63. package/src/components/atoms/PercentTag/PercentTag.stories.js +0 -7
  64. package/src/components/atoms/PercentTag/index.js +0 -9
  65. package/src/components/atoms/PercentTag/styles.js +0 -69
  66. package/src/components/atoms/RatingStars/RatingStars.stories.js +0 -10
  67. package/src/components/atoms/RatingStars/index.js +0 -31
  68. package/src/components/atoms/RatingStars/styles.js +0 -28
  69. package/src/components/atoms/RetailerCatalog/RetailerCatalog.stories.js +0 -36
  70. package/src/components/atoms/RetailerCatalog/index.js +0 -49
  71. package/src/components/atoms/RetailerCatalog/styles.js +0 -30
  72. package/src/components/atoms/RetailerOption/RetailerOption.stories.js +0 -15
  73. package/src/components/atoms/RetailerOption/index.js +0 -53
  74. package/src/components/atoms/RetailerOption/styles.js +0 -41
  75. package/src/components/atoms/RetailersList/RetailersList.stories.js +0 -33
  76. package/src/components/atoms/RetailersList/index.js +0 -20
  77. package/src/components/atoms/RetailersList/styles.js +0 -19
  78. package/src/components/atoms/UserCatalog/UserCatalog.stories.js +0 -67
  79. package/src/components/atoms/UserCatalog/index.js +0 -100
  80. package/src/components/atoms/UserCatalog/styles.js +0 -24
  81. package/src/components/atoms/UserOption/UserOption.stories.js +0 -25
  82. package/src/components/atoms/UserOption/index.js +0 -95
  83. package/src/components/atoms/UserOption/styles.js +0 -61
  84. package/src/components/atoms/UserSelector/UserSelector.stories.js +0 -25
  85. package/src/components/atoms/UserSelector/index.js +0 -86
  86. package/src/components/atoms/UserSelector/styles.js +0 -55
  87. package/src/components/molecules/GridItem/GridItem.stories.js +0 -126
  88. package/src/components/molecules/GridItem/index.js +0 -105
  89. package/src/components/molecules/GridItem/styles.js +0 -104
  90. package/src/components/molecules/HeaderItem/ColumnItem.js +0 -9
  91. package/src/components/molecules/HeaderItem/HeaderItem.stories.js +0 -24
  92. package/src/components/molecules/HeaderItem/index.js +0 -26
  93. package/src/components/molecules/HeaderItem/styles.js +0 -27
  94. package/src/components/molecules/RowItem/ColumnItem.js +0 -9
  95. package/src/components/molecules/RowItem/RowItem.stories.js +0 -5660
  96. package/src/components/molecules/RowItem/index.js +0 -45
  97. package/src/components/molecules/RowItem/styles.js +0 -40
  98. package/src/components/molecules/StripeCardForm/StripeCardForm.stories.js +0 -13
  99. package/src/components/molecules/StripeCardForm/index.js +0 -42
  100. package/src/components/molecules/StripeCardForm/paymentForm.js +0 -124
  101. package/src/components/molecules/StripeCardForm/styles.js +0 -73
  102. package/src/components/molecules/StripeCardSelector/CardSelector.stories.js +0 -12
  103. package/src/components/molecules/StripeCardSelector/index.js +0 -44
  104. package/src/components/molecules/StripeCardSelector/styles.js +0 -4
  105. package/src/components/molecules/StripeCardSelector/utils.js +0 -17
  106. package/src/components/organisms/GridProducts/GridProducts.stories.js +0 -5485
  107. package/src/components/organisms/GridProducts/index.js +0 -50
  108. package/src/components/organisms/GridProducts/styles.js +0 -14
  109. package/src/components/organisms/GridProducts/utils.js +0 -111
  110. package/src/components/organisms/PanelLayout/PanelLayout.stories.js +0 -63
  111. package/src/components/organisms/PanelLayout/index.js +0 -11
  112. package/src/components/organisms/PanelLayout/styles.js +0 -39
  113. package/src/components/organisms/SideModal/SideModal.stories.js +0 -23
  114. package/src/components/organisms/SideModal/index.js +0 -50
  115. package/src/components/organisms/SideModal/styles.js +0 -30
@@ -17,14 +17,14 @@ export const Chat = (props) => {
17
17
  const {
18
18
  chatType, // "merchant_product" | "order_product" | "ticket"
19
19
  chatContainerType, // ("fixed") | ("popUp")
20
- chatData = {}, // {} => aqui poner los datos requeridos segun el tipo de chat
20
+ chatData, // {} => aqui poner los datos requeridos segun el tipo de chat
21
21
  classNameContainerFixed, // clases CSS del envoltoria chat fixed
22
22
  size = 14, // tamaño del icono
23
23
  } = props;
24
24
  const [showPopUpChat, setShowPopUpChat] = useState(false);
25
25
  const [data, setData] = useState();
26
26
 
27
- const { ticketCompany, retailerId } = chatData || {};
27
+ const { ticketCompany } = chatData || {};
28
28
 
29
29
  useEffect(() => {
30
30
  switch (chatType) {
@@ -37,9 +37,6 @@ export const Chat = (props) => {
37
37
  case "ticket":
38
38
  validateChatTicket();
39
39
  break;
40
- case "product_status":
41
- validateProductStatus();
42
- break;
43
40
  default:
44
41
  setData({
45
42
  code: 404,
@@ -49,45 +46,6 @@ export const Chat = (props) => {
49
46
  }
50
47
  }, [chatType]);
51
48
 
52
- const validateProductStatus = () => {
53
- const {
54
- userToken, // string
55
- id, // number
56
- version,
57
- retailerId, // number
58
- status,
59
- orderId,
60
- } = chatData;
61
-
62
- if (!isValidGeneral(userToken, id)) return;
63
-
64
- // validar el ID de la cadena asociada al producto en la OT
65
- if (!isValidNaturalNumber(retailerId)) {
66
- setDataError("La cadena relacionada al producto no es válida");
67
- return;
68
- }
69
-
70
- // validar el ID de la version asociada al producto en la OT
71
- if (!isValidNaturalNumber(version)) {
72
- setDataError("La versión del producto no es válida");
73
- return;
74
- }
75
-
76
- if (orderId && !isValidNaturalNumber(orderId)) {
77
- setDataError("La orden del producto no es válida");
78
- return;
79
- }
80
-
81
- setData({
82
- userToken,
83
- id,
84
- version,
85
- retailerId,
86
- orderId,
87
- status,
88
- });
89
- };
90
-
91
49
  const isValidGeneral = (userToken, id) => {
92
50
  // validar token del user
93
51
  if (isStringEmpty(userToken)) {
@@ -239,7 +197,7 @@ export const Chat = (props) => {
239
197
  dataChat={data}
240
198
  showBtnClose={false}
241
199
  ticketCompany={ticketCompany}
242
- activeRetailer={props.activeRetailer || { id: retailerId }}
200
+ activeRetailer={props.activeRetailer}
243
201
  />
244
202
  </ContainerFixed>
245
203
  );
@@ -272,7 +230,7 @@ export const Chat = (props) => {
272
230
  onClickBtnClose={() => {
273
231
  setShowPopUpChat(false);
274
232
  }}
275
- activeRetailer={props.activeRetailer || { id: retailerId }}
233
+ activeRetailer={props.activeRetailer}
276
234
  />
277
235
  </ContainerPopUp>
278
236
  </Slide>
@@ -23,7 +23,7 @@ export const FullProductNameHeader = ({
23
23
  useEffect(() => {
24
24
  const rtls = headerData?.retailers || headerData?.retailersAvailable;
25
25
  servicesData &&
26
- rtls?.forEach((rt) => {
26
+ rtls.forEach((rt) => {
27
27
  const element = [];
28
28
  servicesData.forEach((sd) => {
29
29
  if (sd.id_retailer === rt.id) {
@@ -31,6 +31,7 @@ export const ContainerModal = styled.div`
31
31
  align-items: center;
32
32
  justify-content: flex-start;
33
33
  gap: 6px;
34
+ margin-bottom: 20px;
34
35
 
35
36
  .label-title {
36
37
  width: 100%;
@@ -41,10 +42,6 @@ export const ContainerModal = styled.div`
41
42
  color: #262626;
42
43
  white-space: pre-wrap;
43
44
  }
44
-
45
- & + * {
46
- margin-top: 20px;
47
- }
48
45
  }
49
46
 
50
47
  .iconModal {
@@ -1,31 +1,41 @@
1
1
  export const servicesCodeIcon = {
2
2
  datasheet: (
3
3
  <div key="datasheet" className="tooltip">
4
- <span className="material-icons small">&#xf8ee;</span>
4
+ <span className="material-icons small">
5
+ &#xf8ee;
6
+ </span>
5
7
  <span className="tooltiptext">Ficha Técnica</span>
6
8
  </div>
7
9
  ),
8
10
  description: (
9
11
  <div key="description" className="tooltip">
10
- <span className="material-icons small">&#xe873;</span>
12
+ <span className="material-icons small">
13
+ &#xe873;
14
+ </span>
11
15
  <span className="tooltiptext">Descripción</span>
12
16
  </div>
13
17
  ),
14
18
  image: (
15
19
  <div key="image" className="tooltip">
16
- <span className="material-icons small">&#xe3f4;</span>
20
+ <span className="material-icons small">
21
+ &#xe3f4;
22
+ </span>
17
23
  <span className="tooltiptext">Imagen</span>
18
24
  </div>
19
25
  ),
20
26
  translate: (
21
27
  <div key="translate" className="tooltip">
22
- <span className="material-icons small">&#xe8e2;</span>
28
+ <span className="material-icons small">
29
+ &#xe8e2;
30
+ </span>
23
31
  <span className="tooltiptext">Traducción</span>
24
32
  </div>
25
33
  ),
26
34
  build: (
27
- <div key="build" className="tooltip">
28
- <span className="material-icons small">&#xe1bd;</span>
35
+ <div key="build" className="tooltip">
36
+ <span className="material-icons small">
37
+ &#xe1bd;
38
+ </span>
29
39
  <span className="tooltiptext">Construcción</span>
30
40
  </div>
31
41
  ),
@@ -16,93 +16,143 @@ ProviderProductEditionDefault.args = {
16
16
  Imágenes: false,
17
17
  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MTY5MzMzODMzMiwiZW1haWwiOiJpbG9wZXpAY29udGVudG9oLmNvbSJ9.lQwTS_RbJalEPmmpWcBsVYd8xx4tkw3U6uyW_laE6ucyHQpXSXYMfadAxxV2PZ5ObbgmX98nFKj32E2F4CxHxw3W7B1Wj7ZoGML409GjlylQ1RuVVHjwTw0OH5TtveV1JNNpts0belvzxbk5vX9E1vKoZLOKn8gO9yaFe0YawKjS0hW-P4NcjIonsNJ5KWMsh0fJCM2oAKAk8oAGZcszYHknMPF6ahf-fWeboVuK89UEsKlQukr7W8fnIePFI8aSlKM1nG0I7nOT_1734Pf-A9QQDXEwhfj8NMHHICb2c_ECgHPEspM9VxIR6Lbws-gCTSG6FTMjsIFKU3EqaQvlVw",
20
+ articleId: 39485,
21
+ category: 11,
22
+ version: 3,
23
23
  productSelected: {
24
- id_article: 43,
25
- id_category: 2126,
26
- name: "LIMA CERRAJERO 6 PULGADAS ACERO BELLOTA",
27
- upc: "137915",
28
- timestamp: "2022-11-14T16:03:56.000Z",
29
- categoryName:
30
- "Herramientas|Herramientas Manuales|Herramientas de Corte y Desbaste",
31
- version: 1,
32
- retailersAvailable: [
24
+ orderId: 15275,
25
+ status: "AA",
26
+ datasheet_status: "AA",
27
+ prio: "none",
28
+ version: 3,
29
+ description_status: "AA",
30
+ images_status: "AA",
31
+ brand: null,
32
+ retailerOrder: 0,
33
+ missing: {
34
+ datasheet: null,
35
+ descriptions: null,
36
+ images: null,
37
+ },
38
+ services: {
39
+ datasheets: 1,
40
+ descriptions: 1,
41
+ images: 1,
42
+ },
43
+ article: {
44
+ category: "Abarrotes|Abarrotes Secos|Frutos Secos",
45
+ company_name: "GRUPO BRAHMA",
46
+ country: "México",
47
+ id_category: "11",
48
+ id_datasheet_especialist: 54,
49
+ id_datasheet_facilitator: 52,
50
+ id_description_especialist: 54,
51
+ id_description_facilitator: 52,
52
+ id_images_especialist: 55,
53
+ id_images_facilitator: 53,
54
+ id_order: 15275,
55
+ id_article: 39485,
56
+ id_auditor: 37,
57
+ name: "Mix de nueces",
58
+ timestamp: "2023-07-14T21:03:19.000Z",
59
+ upc: "7543453453",
60
+ },
61
+ retailers: [
33
62
  {
34
- name: "The Home Depot Golden",
35
- id: 58,
63
+ id: 34,
64
+ name: "San Pablo",
36
65
  },
37
66
  ],
38
67
  statusByRetailer: {
39
- 12: {
40
- datasheet: "AA",
41
- description: "AA",
42
- images: "AA",
43
- },
44
- 29: {
45
- datasheet: "AA",
46
- description: "AA",
47
- images: "AA",
48
- },
49
- 63: {
68
+ 34: {
50
69
  datasheet: "AA",
51
70
  description: "AA",
52
71
  images: "AA",
53
72
  },
54
73
  },
55
- checked: false,
56
74
  retailersAvailable: [
57
75
  {
58
- id: 12,
59
- name: "La Comer",
60
- },
61
- {
62
- id: 29,
63
- name: "Farmacias del Ahorro",
64
- },
65
- {
66
- id: 63,
67
- name: "DAX",
76
+ id: 34,
77
+ name: "San Pablo",
68
78
  },
69
79
  ],
70
- categoryName:
71
- "Salud y Belleza|Cuidado del Cabello|Shampoos y Acondicionadores",
72
- upc: "750955287656712",
73
- id_article: 39270,
74
- id_order: 15142,
80
+ categoryName: "Abarrotes|Abarrotes Secos|Frutos Secos",
81
+ upc: "7543453453",
82
+ id_article: 39485,
83
+ id_order: 15275,
75
84
  },
76
85
  productToEdit: {
77
- idCategory: 2126,
78
- ArticleId: 43,
79
- product: [
80
- {
81
- id_article: 43,
82
- id_category: 2126,
83
- name: "LIMA CERRAJERO 6 PULGADAS ACERO BELLOTA",
84
- upc: "137915",
85
- timestamp: "2022-11-14T16:03:56.000Z",
86
- categoryName:
87
- "Herramientas|Herramientas Manuales|Herramientas de Corte y Desbaste",
88
- version: 1,
89
- retailersAvailable: [
90
- {
91
- name: "The Home Depot Golden",
92
- id: 58,
93
- percentage: 2,
94
- },
95
- ],
86
+ ArticleId: 39485,
87
+ idCategory: "11",
88
+ product: {
89
+ orderId: 15275,
90
+ status: "AA",
91
+ datasheet_status: "AA",
92
+ prio: "none",
93
+ version: 3,
94
+ description_status: "AA",
95
+ images_status: "AA",
96
+ brand: null,
97
+ retailerOrder: 0,
98
+ missing: {
99
+ datasheet: null,
100
+ descriptions: null,
101
+ images: null,
96
102
  },
97
- ],
103
+ services: {
104
+ datasheets: 1,
105
+ descriptions: 1,
106
+ images: 1,
107
+ },
108
+ article: {
109
+ category: "Abarrotes|Abarrotes Secos|Frutos Secos",
110
+ company_name: "GRUPO BRAHMA",
111
+ country: "México",
112
+ id_category: "11",
113
+ id_datasheet_especialist: 54,
114
+ id_datasheet_facilitator: 52,
115
+ id_description_especialist: 54,
116
+ id_description_facilitator: 52,
117
+ id_images_especialist: 55,
118
+ id_images_facilitator: 53,
119
+ id_order: 15275,
120
+ id_article: 39485,
121
+ id_auditor: 37,
122
+ name: "Mix de nueces",
123
+ timestamp: "2023-07-14T21:03:19.000Z",
124
+ upc: "7543453453",
125
+ },
126
+ retailers: [
127
+ {
128
+ id: 34,
129
+ name: "San Pablo",
130
+ },
131
+ ],
132
+ statusByRetailer: {
133
+ 34: {
134
+ datasheet: "AA",
135
+ description: "AA",
136
+ images: "AA",
137
+ },
138
+ },
139
+ retailersAvailable: [
140
+ {
141
+ id: 34,
142
+ name: "San Pablo",
143
+ },
144
+ ],
145
+ categoryName: "Abarrotes|Abarrotes Secos|Frutos Secos",
146
+ upc: "7543453453",
147
+ id_article: 39485,
148
+ id_order: 15275,
149
+ },
98
150
  },
99
151
  location: {
100
152
  pathname: "/EditProducts",
101
153
  search: "",
102
154
  hash: "",
103
155
  state: {
104
- withChat: true,
105
- chatType: "product_status",
106
156
  origin: "RequestWithContentoh",
107
157
  },
108
158
  key: "24vwut",
@@ -135,11 +185,11 @@ ProviderProductEditionDefault.args = {
135
185
  planID: 8,
136
186
  plan: "prod_KtlhECVSFG2iro",
137
187
  name: "Plan Pro",
138
- user_limit: "20",
188
+ user_limit: "50",
139
189
  products_limit: "5000",
140
190
  type: "Enterprise",
141
191
  },
142
- src: "https://content-management-profile.s3.amazonaws.com/id-28/28.png?1691179745418",
192
+ src: "https://content-management-profile.s3.amazonaws.com/id-28/28.png?1693338334183",
143
193
  },
144
194
  company: {
145
195
  id_company: 1,