contentoh-components-library 21.5.19 → 21.5.21

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 (30) hide show
  1. package/dist/components/atoms/UserSelector/UserSelector.stories.js +1 -1
  2. package/dist/components/atoms/UserSelector/index.js +4 -2
  3. package/dist/components/molecules/RowItem/styles.js +1 -1
  4. package/dist/components/molecules/StatusAsignationInfo/FinancedCompanies.js +1 -1
  5. package/dist/components/organisms/GridProducts/GridProducts.stories.js +102 -615
  6. package/dist/components/organisms/GridProducts/index.js +2 -2
  7. package/dist/components/organisms/InputGroup/index.js +30 -30
  8. package/dist/components/organisms/Table/styles.js +1 -1
  9. package/dist/components/pages/MultipleEdition/MultipleEdition.stories.js +1 -1
  10. package/dist/components/pages/MultipleEdition/saveData.js +19 -9
  11. package/dist/components/pages/MultipleEdition/styles.js +1 -1
  12. package/dist/components/pages/MultipleEdition/utils.js +153 -61
  13. package/dist/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +75 -72
  14. package/dist/components/pages/RetailerProductEdition/index.js +63 -19
  15. package/package.json +1 -1
  16. package/src/components/atoms/UserSelector/UserSelector.stories.js +1 -1
  17. package/src/components/atoms/UserSelector/index.js +7 -1
  18. package/src/components/molecules/RowItem/styles.js +1 -0
  19. package/src/components/molecules/StatusAsignationInfo/FinancedCompanies.js +43 -501
  20. package/src/components/molecules/StatusAsignationInfo/index.js +2 -3
  21. package/src/components/organisms/GridProducts/GridProducts.stories.js +107 -682
  22. package/src/components/organisms/GridProducts/index.js +2 -2
  23. package/src/components/organisms/InputGroup/index.js +47 -62
  24. package/src/components/organisms/Table/styles.js +5 -1
  25. package/src/components/pages/MultipleEdition/MultipleEdition.stories.js +1 -1
  26. package/src/components/pages/MultipleEdition/saveData.js +6 -7
  27. package/src/components/pages/MultipleEdition/styles.js +1 -7
  28. package/src/components/pages/MultipleEdition/utils.js +24 -47
  29. package/src/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +79 -72
  30. package/src/components/pages/RetailerProductEdition/index.js +93 -29
@@ -1,502 +1,44 @@
1
1
  export const FinancedCompanies = [
2
- 300,
3
- 300,
4
- 301,
5
- 301,
6
- 302,
7
- 302,
8
- 303,
9
- 303,
10
- 304,
11
- 304,
12
- 305,
13
- 305,
14
- 306,
15
- 306,
16
- 307,
17
- 307,
18
- 308,
19
- 308,
20
- 309,
21
- 309,
22
- 310,
23
- 310,
24
- 311,
25
- 311,
26
- 312,
27
- 312,
28
- 313,
29
- 313,
30
- 314,
31
- 314,
32
- 315,
33
- 315,
34
- 316,
35
- 316,
36
- 317,
37
- 317,
38
- 318,
39
- 318,
40
- 319,
41
- 319,
42
- 320,
43
- 320,
44
- 321,
45
- 321,
46
- 322,
47
- 322,
48
- 323,
49
- 323,
50
- 324,
51
- 324,
52
- 325,
53
- 325,
54
- 326,
55
- 326,
56
- 327,
57
- 327,
58
- 328,
59
- 328,
60
- 329,
61
- 329,
62
- 330,
63
- 330,
64
- 331,
65
- 331,
66
- 332,
67
- 332,
68
- 333,
69
- 333,
70
- 334,
71
- 334,
72
- 335,
73
- 335,
74
- 336,
75
- 336,
76
- 337,
77
- 337,
78
- 338,
79
- 338,
80
- 339,
81
- 339,
82
- 340,
83
- 340,
84
- 341,
85
- 341,
86
- 342,
87
- 342,
88
- 343,
89
- 343,
90
- 344,
91
- 344,
92
- 345,
93
- 345,
94
- 346,
95
- 346,
96
- 347,
97
- 347,
98
- 348,
99
- 348,
100
- 349,
101
- 349,
102
- 350,
103
- 350,
104
- 351,
105
- 351,
106
- 352,
107
- 352,
108
- 353,
109
- 353,
110
- 354,
111
- 354,
112
- 355,
113
- 355,
114
- 356,
115
- 356,
116
- 357,
117
- 357,
118
- 358,
119
- 358,
120
- 359,
121
- 359,
122
- 360,
123
- 360,
124
- 361,
125
- 361,
126
- 362,
127
- 362,
128
- 363,
129
- 363,
130
- 364,
131
- 364,
132
- 365,
133
- 365,
134
- 366,
135
- 366,
136
- 367,
137
- 367,
138
- 368,
139
- 368,
140
- 369,
141
- 369,
142
- 370,
143
- 370,
144
- 371,
145
- 371,
146
- 372,
147
- 372,
148
- 373,
149
- 373,
150
- 374,
151
- 374,
152
- 375,
153
- 375,
154
- 376,
155
- 376,
156
- 377,
157
- 377,
158
- 378,
159
- 378,
160
- 379,
161
- 379,
162
- 380,
163
- 380,
164
- 381,
165
- 381,
166
- 382,
167
- 382,
168
- 383,
169
- 383,
170
- 384,
171
- 384,
172
- 385,
173
- 385,
174
- 386,
175
- 386,
176
- 387,
177
- 387,
178
- 388,
179
- 388,
180
- 389,
181
- 389,
182
- 390,
183
- 390,
184
- 391,
185
- 391,
186
- 392,
187
- 392,
188
- 393,
189
- 393,
190
- 394,
191
- 394,
192
- 395,
193
- 395,
194
- 396,
195
- 396,
196
- 397,
197
- 397,
198
- 398,
199
- 398,
200
- 399,
201
- 399,
202
- 400,
203
- 400,
204
- 401,
205
- 401,
206
- 402,
207
- 402,
208
- 403,
209
- 403,
210
- 404,
211
- 404,
212
- 405,
213
- 405,
214
- 406,
215
- 406,
216
- 407,
217
- 407,
218
- 408,
219
- 408,
220
- 409,
221
- 409,
222
- 410,
223
- 410,
224
- 411,
225
- 411,
226
- 412,
227
- 412,
228
- 413,
229
- 413,
230
- 414,
231
- 414,
232
- 415,
233
- 415,
234
- 416,
235
- 416,
236
- 417,
237
- 417,
238
- 418,
239
- 418,
240
- 419,
241
- 419,
242
- 420,
243
- 420,
244
- 421,
245
- 421,
246
- 422,
247
- 422,
248
- 423,
249
- 423,
250
- 424,
251
- 424,
252
- 425,
253
- 425,
254
- 426,
255
- 426,
256
- 427,
257
- 427,
258
- 428,
259
- 428,
260
- 429,
261
- 429,
262
- 430,
263
- 430,
264
- 431,
265
- 431,
266
- 432,
267
- 432,
268
- 433,
269
- 433,
270
- 434,
271
- 434,
272
- 435,
273
- 435,
274
- 436,
275
- 436,
276
- 437,
277
- 437,
278
- 438,
279
- 438,
280
- 439,
281
- 439,
282
- 440,
283
- 440,
284
- 441,
285
- 441,
286
- 442,
287
- 442,
288
- 443,
289
- 443,
290
- 444,
291
- 444,
292
- 445,
293
- 445,
294
- 446,
295
- 446,
296
- 447,
297
- 447,
298
- 448,
299
- 448,
300
- 449,
301
- 449,
302
- 450,
303
- 450,
304
- 451,
305
- 451,
306
- 452,
307
- 452,
308
- 453,
309
- 453,
310
- 454,
311
- 454,
312
- 455,
313
- 455,
314
- 456,
315
- 456,
316
- 457,
317
- 457,
318
- 458,
319
- 458,
320
- 459,
321
- 459,
322
- 460,
323
- 460,
324
- 461,
325
- 461,
326
- 462,
327
- 462,
328
- 463,
329
- 463,
330
- 464,
331
- 464,
332
- 465,
333
- 465,
334
- 466,
335
- 466,
336
- 467,
337
- 467,
338
- 468,
339
- 468,
340
- 469,
341
- 469,
342
- 470,
343
- 470,
344
- 471,
345
- 471,
346
- 472,
347
- 472,
348
- 473,
349
- 473,
350
- 474,
351
- 474,
352
- 475,
353
- 475,
354
- 476,
355
- 476,
356
- 477,
357
- 477,
358
- 478,
359
- 478,
360
- 479,
361
- 479,
362
- 480,
363
- 480,
364
- 481,
365
- 481,
366
- 482,
367
- 482,
368
- 483,
369
- 483,
370
- 484,
371
- 484,
372
- 485,
373
- 485,
374
- 486,
375
- 486,
376
- 487,
377
- 487,
378
- 488,
379
- 488,
380
- 489,
381
- 489,
382
- 490,
383
- 490,
384
- 491,
385
- 491,
386
- 492,
387
- 492,
388
- 493,
389
- 493,
390
- 494,
391
- 494,
392
- 495,
393
- 495,
394
- 496,
395
- 496,
396
- 497,
397
- 497,
398
- 498,
399
- 498,
400
- 499,
401
- 499,
402
- 500,
403
- 500,
404
- 501,
405
- 501,
406
- 502,
407
- 502,
408
- 503,
409
- 503,
410
- 504,
411
- 504,
412
- 505,
413
- 505,
414
- 506,
415
- 506,
416
- 507,
417
- 507,
418
- 508,
419
- 508,
420
- 509,
421
- 509,
422
- 510,
423
- 510,
424
- 511,
425
- 511,
426
- 512,
427
- 512,
428
- 513,
429
- 513,
430
- 514,
431
- 514,
432
- 515,
433
- 515,
434
- 516,
435
- 516,
436
- 517,
437
- 517,
438
- 518,
439
- 518,
440
- 519,
441
- 519,
442
- 520,
443
- 520,
444
- 521,
445
- 521,
446
- 522,
447
- 522,
448
- 523,
449
- 523,
450
- 524,
451
- 524,
452
- 525,
453
- 525,
454
- 526,
455
- 526,
456
- 527,
457
- 527,
458
- 528,
459
- 528,
460
- 529,
461
- 529,
462
- 530,
463
- 530,
464
- 531,
465
- 531,
466
- 532,
467
- 532,
468
- 533,
469
- 533,
470
- 534,
471
- 534,
472
- 535,
473
- 535,
474
- 536,
475
- 536,
476
- 537,
477
- 537,
478
- 538,
479
- 538,
480
- 539,
481
- 539,
482
- 540,
483
- 540,
484
- 541,
485
- 541,
486
- 542,
487
- 542,
488
- 543,
489
- 543,
490
- 544,
491
- 544,
492
- 545,
493
- 545,
494
- 546,
495
- 546,
496
- 547,
497
- 547,
498
- 548,
499
- 548,
500
- 549,
501
- 549
502
- ]
2
+ 162, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313,
3
+ 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328,
4
+ 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343,
5
+ 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358,
6
+ 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373,
7
+ 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388,
8
+ 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403,
9
+ 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418,
10
+ 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433,
11
+ 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448,
12
+ 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463,
13
+ 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478,
14
+ 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493,
15
+ 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508,
16
+ 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523,
17
+ 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538,
18
+ 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553,
19
+ 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568,
20
+ 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583,
21
+ 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598,
22
+ 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613,
23
+ 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628,
24
+ 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643,
25
+ 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658,
26
+ 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673,
27
+ 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688,
28
+ 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703,
29
+ 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718,
30
+ 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729, 730, 731, 732, 733,
31
+ 734, 735, 736, 737, 738, 739, 740, 741, 742, 743, 744, 745, 746, 747, 748,
32
+ 749, 750, 751, 752, 753, 754, 755, 756, 757, 758, 759, 760, 761, 762, 763,
33
+ 764, 765, 766, 767, 768, 769, 770, 771, 772, 773, 774, 775, 776, 777, 778,
34
+ 779, 780, 781, 782, 783, 784, 785, 786, 787, 788, 789, 790, 791, 792, 793,
35
+ 794, 795, 796, 797, 798, 799, 800, 801, 802, 803, 804, 805, 806, 807, 808,
36
+ 809, 810, 811, 812, 813, 814, 815, 816, 819, 820, 832, 840, 841, 843, 844,
37
+ 846, 847, 849, 850, 852, 853, 854, 855, 856, 888, 894, 949, 963, 964, 965,
38
+ 969, 995, 997, 1000, 1002, 1003, 1005, 1009, 1014, 1016, 1021, 1043, 1046,
39
+ 1048, 1049, 1051, 1052, 1054, 1057, 1061, 1062, 1067, 1097, 1104, 1110, 1124,
40
+ 1134, 1136, 1140, 1143, 1144, 1154, 1156, 1159, 1162, 1164, 1165, 1168, 1170,
41
+ 1172, 1173, 1174, 1175, 1176, 1178, 1179, 1180, 1182, 1184, 1185, 1186, 1187,
42
+ 1188, 1189, 1190, 1191, 1192, 1195, 1196, 1199, 1200, 1201, 1202, 1203, 1204,
43
+ 1206, 1207, 1210, 1223, 1253,
44
+ ];
@@ -89,13 +89,12 @@ export const StatusAsignationInfo = ({
89
89
  />
90
90
  )}
91
91
  {status !== "-" && <StatusTag statusType={status} ovalForm={true} />}
92
- {showSaveButton && (
93
- !isFinanced && (
92
+ {showSaveButton && !isFinanced && (
94
93
  <Button
95
94
  buttonType={"circular-button save-button"}
96
95
  onClick={onClickSave}
97
96
  />
98
- ))}
97
+ )}
99
98
  {imagesSection && (
100
99
  <div className="images-buttons">
101
100
  {showSaveButton && (