@bjsdistribution/dms-client-return 0.1.81-prod → 0.1.82-prod

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 (37) hide show
  1. package/dist/components/client-portal/ReturnAfterSearchBar.js +5 -5
  2. package/dist/components/client-portal/ReturnAfterSearchBar.js.map +1 -1
  3. package/dist/components/order-daily-overview/header-filters/Styledfilters.js +10 -11
  4. package/dist/components/order-daily-overview/header-filters/Styledfilters.js.map +1 -1
  5. package/dist/components/order-daily-overview/header-filters/overViewFilter.js +7 -11
  6. package/dist/components/order-daily-overview/header-filters/overViewFilter.js.map +1 -1
  7. package/dist/components/order-daily-overview/index.js +5 -4
  8. package/dist/components/order-daily-overview/index.js.map +1 -1
  9. package/dist/components/order-daily-overview/return-after-table/ReturnAfterTable.js +18 -18
  10. package/dist/components/order-daily-overview/return-after-table/ReturnAfterTable.js.map +1 -1
  11. package/dist/components/order-daily-overview/return-after-table/table/OrderTable.js +0 -1
  12. package/dist/components/order-daily-overview/return-after-table/table/OrderTable.js.map +1 -1
  13. package/dist/components/order-daily-overview/return-order-table/return-orders-filters/returnstyles.js +74 -77
  14. package/dist/components/order-daily-overview/return-order-table/return-orders-filters/returnstyles.js.map +1 -1
  15. package/dist/components/order-daily-overview/store/store.js +33 -33
  16. package/dist/components/order-daily-overview/store/store.js.map +1 -1
  17. package/dist/components/order-daily-overview/table/table-data/styles.js +117 -363
  18. package/dist/components/order-daily-overview/table/table-data/styles.js.map +1 -1
  19. package/dist/components/order-view/general-information/dropdowns/Print.js +11 -11
  20. package/dist/components/order-view/general-information/dropdowns/Print.js.map +1 -1
  21. package/dist/components/order-view/index.js +154 -133
  22. package/dist/components/order-view/index.js.map +1 -1
  23. package/dist/components/order-view/store.js +160 -144
  24. package/dist/components/order-view/store.js.map +1 -1
  25. package/dist/components/order-view/toolbox-resources/collapsed-content/index.js +16 -0
  26. package/dist/components/order-view/toolbox-resources/collapsed-content/index.js.map +1 -0
  27. package/dist/components/order-view/toolbox-resources/expanded-content/index.js +534 -0
  28. package/dist/components/order-view/toolbox-resources/expanded-content/index.js.map +1 -0
  29. package/dist/components/utils.js +5 -4
  30. package/dist/components/utils.js.map +1 -1
  31. package/dist/types/components/order-daily-overview/return-order-table/return-orders-filters/returnstyles.d.ts +1 -1
  32. package/dist/types/components/order-daily-overview/table/table-data/styles.d.ts +8 -22
  33. package/dist/types/components/order-view/store.d.ts +6 -0
  34. package/dist/types/components/order-view/toolbox-resources/collapsed-content/index.d.ts +2 -0
  35. package/dist/types/components/order-view/toolbox-resources/expanded-content/index.d.ts +2 -0
  36. package/dist/types/components/utils.d.ts +1 -0
  37. package/package.json +2 -2
@@ -1,21 +1,22 @@
1
- import r from "styled-components";
2
- const d = r.div`
1
+ import e from "styled-components";
2
+ const r = e.div`
3
3
  display: flex;
4
4
  width: 100%;
5
5
  align-items: center;
6
6
  justify-content: center;
7
7
  gap: 7px;
8
- `, n = r.div`
8
+ `, i = e.div`
9
9
  display: flex;
10
- padding: 3px 12px;
10
+ padding: 2px 8px;
11
11
  align-items: flex-start;
12
- gap: 24px;
12
+ gap: 12px;
13
13
  border-radius: 6px;
14
14
  background: rgba(153, 153, 153, 0.1);
15
- `, a = r.div`
15
+ `, o = e.div`
16
16
  overflow-x: auto;
17
- max-height: calc(100vh - 396px);
18
- /* box-shadow: 0px 0px 30px 6px rgba(46, 45, 116, 0.05); */
17
+ max-height: calc(100vh - 360px);
18
+ // padding-top: 10px;
19
+ background: #fff;
19
20
  &::-webkit-scrollbar {
20
21
  width: 5px;
21
22
  border-radius: 100px;
@@ -35,41 +36,28 @@ const d = r.div`
35
36
  &::-webkit-scrollbar-thumb:hover {
36
37
  background: #7b61ff;
37
38
  }
38
- `, p = r.table`
39
- border-spacing: 0 10px;
39
+ `, d = e.table`
40
+ border-spacing: 0 4px;
40
41
  width: 100%;
41
42
  table-layout: fixed;
42
- /* min-width: 1600px; */
43
+
43
44
  thead {
44
45
  position: sticky;
45
- top: 10px;
46
- z-index: 1;
46
+ top: 0;
47
+ z-index: 10;
47
48
  background: #fff;
48
49
  box-shadow: 0px 0px 1px #ffffff, 0px -10px 1px #ffffff;
49
50
  tr {
50
51
  border-radius: 40px;
51
- border-spacing: 0 10px;
52
+ border-spacing: 0 4px;
52
53
  font-family: 'lato', sans-serif;
53
- .emailInvoiceCheckbox {
54
- padding-right: 0px;
55
- width: 0;
56
- > div {
57
- width: fit-content;
58
- }
59
- }
60
- .emailInvoiceNo {
61
- padding-left: 12px;
62
- }
63
- .emailInvoiceShare {
64
- width: 100px;
65
- }
66
54
  th {
67
55
  color: #3a3630;
68
- font-size: 14px;
56
+ font-size: 13px;
69
57
  font-style: normal;
70
58
  font-weight: 600;
71
59
  line-height: normal;
72
- padding: 11px 15px;
60
+ padding: 6px 8px;
73
61
  background: #f0f2f2;
74
62
  border-right: none;
75
63
  border-left: none;
@@ -93,40 +81,16 @@ const d = r.div`
93
81
  tr {
94
82
  td {
95
83
  color: #3a3630;
96
- font-size: 13px;
84
+ font-size: 12px;
97
85
  font-style: normal;
98
86
  font-weight: 400;
99
87
  line-height: normal;
100
- padding: 12px 15px;
88
+ padding: 5px 8px;
101
89
  background: #fff;
102
90
  border: 1px solid rgba(0, 0, 0, 0.08);
103
91
  border-right: none;
104
92
  border-left: none;
105
93
  word-break: break-word;
106
-
107
- .shareIconContainer {
108
- display: flex;
109
- width: 24px;
110
- height: 24px;
111
- flex-direction: column;
112
- justify-content: center;
113
- align-items: center;
114
- gap: 10px;
115
- flex-shrink: 0;
116
- border-radius: 15px;
117
- background: #edebe8;
118
- cursor: pointer;
119
- }
120
- .statuscontainer {
121
- display: flex;
122
- padding: 6px 10px;
123
- justify-content: center;
124
- align-items: center;
125
- gap: 5px;
126
- flex: 1 0 0;
127
- border-radius: 22px;
128
- background: rgba(41, 204, 106, 0.15);
129
- }
130
94
  }
131
95
  &:nth-child(even) td {
132
96
  background: #f6fbff;
@@ -139,96 +103,10 @@ const d = r.div`
139
103
  border-radius: 0px 100px 100px 0;
140
104
  border-right: 1px solid rgba(0, 0, 0, 0.08);
141
105
  }
142
- .flex {
143
- display: flex;
144
- flex-direction: row;
145
- gap: 5px;
146
- height: 29px;
147
- align-items: center;
148
- }
149
-
150
- &.insideTable {
151
- td {
152
- border-radius: 0;
153
- border: none;
154
- &:last-child {
155
- border-radius: 0;
156
- border-right: none;
157
- }
158
- }
159
- table {
160
- border-spacing: 0;
161
- width: 100%;
162
- border-radius: 5px;
163
- border: 1px solid rgba(0, 0, 0, 0.08);
164
- overflow: hidden;
165
- border-top-left-radius: 15px;
166
- border-top-right-radius: 15px;
167
- thead {
168
- tr {
169
- border-bottom: none;
170
- th {
171
- padding: 14px 20px;
172
- text-align: left;
173
- border-top: 0;
174
- border-right: 0;
175
- border-left: 0;
176
- background: #f8fafc;
177
-
178
- &:first-child {
179
- border-radius: 0;
180
- border-left: 1px solid rgba(0, 0, 0, 0.08);
181
- border-top-left-radius: 15px;
182
- }
183
- &:last-child {
184
- border-radius: 0;
185
- }
186
- }
187
- }
188
- }
189
- tbody {
190
- tr {
191
- td {
192
- padding: 14px 20px;
193
- text-align: left;
194
- border-bottom: 1px solid rgba(58, 54, 48, 0.15);
195
- background: #fff;
196
- > svg {
197
- transform: scale(1.5);
198
- background-color: #edebe8;
199
- border-radius: 20px;
200
- padding: 5px;
201
- }
202
- &:last-child {
203
- border-radius: 0;
204
- border-right: none;
205
- }
206
- }
207
- }
208
- }
209
- }
210
- }
211
- }
212
- }
213
- .actions {
214
- display: flex;
215
- align-items: center;
216
- gap: 20px;
217
- > svg {
218
- transform: scale(1.5);
219
- background-color: #edebe8;
220
- border-radius: 20px;
221
- padding: 5px;
222
- }
223
-
224
- .close-icon {
225
- transform: scale(1.3);
226
- background-color: transparent;
227
- border-radius: 0;
228
- padding: 0;
229
106
  }
230
107
  }
231
- `, e = r.th`
108
+ `;
109
+ e.th`
232
110
  color: #3a3630;
233
111
  font-size: 14px;
234
112
  font-style: normal;
@@ -240,7 +118,8 @@ const d = r.div`
240
118
  border-right: none;
241
119
  border-left: none;
242
120
  text-align: left;
243
- `, o = r.td`
121
+ `;
122
+ e.td`
244
123
  color: #3a3630;
245
124
  font-size: 13px;
246
125
  font-style: normal;
@@ -252,7 +131,7 @@ const d = r.div`
252
131
  border-right: none;
253
132
  border-left: none;
254
133
  `;
255
- r.div`
134
+ e.div`
256
135
  display: flex;
257
136
  gap: 8px;
258
137
  align-items: center;
@@ -269,7 +148,7 @@ r.div`
269
148
  }
270
149
  }
271
150
  `;
272
- r.div`
151
+ e.div`
273
152
  border-radius: 30px;
274
153
  border: 1px solid #edefef;
275
154
  background: #f6fbff;
@@ -279,30 +158,30 @@ r.div`
279
158
  align-items: center;
280
159
  justify-content: center;
281
160
  `;
282
- r.div`
161
+ e.div`
283
162
  font-weight: 600;
284
163
  color: #09f;
285
164
  margin-bottom: 6px;
286
165
  `;
287
- r.div`
166
+ e.div`
288
167
  display: flex;
289
168
  gap: 4px;
290
169
  /* align-items: center; */
291
170
  `;
292
- r.div`
171
+ e.div`
293
172
  color: #29cc6a;
294
173
  font-size: 13px;
295
174
  font-weight: 600;
296
175
  line-height: 24px;
297
176
  `;
298
- r.div``;
299
- r.div`
177
+ e.div``;
178
+ e.div`
300
179
  font-size: 10px;
301
180
  font-style: normal;
302
181
  font-weight: 700;
303
182
  line-height: 16px;
304
183
  `;
305
- r.div`
184
+ e.div`
306
185
  display: flex;
307
186
  align-items: center;
308
187
  gap: 8px;
@@ -316,241 +195,119 @@ r.div`
316
195
  }
317
196
  }
318
197
  `;
319
- r.div`
198
+ e.div`
320
199
  transform: scale(0.5);
321
200
  `;
322
- r.div`
323
- border-radius: 20px;
324
- border: 1px solid #e2e0db;
201
+ e.div`
325
202
  background: #fff;
203
+ border-radius: 12px;
204
+ padding: 10px;
205
+ box-shadow: 0px 4px 30px 0px rgba(46, 45, 116, 0.05);
206
+ `;
207
+ e.div`
326
208
  display: flex;
327
- padding: 4px 8px;
209
+ align-items: flex-start;
210
+ flex-direction: column;
328
211
  gap: 8px;
329
- align-items: center;
330
- cursor: pointer;
331
- &.active .drop {
332
- transform: rotate(180deg);
212
+ button {
213
+ font-size: 13px;
214
+ }
215
+ .input {
216
+ border-radius: 20px;
217
+ border: 1px solid #d0d5dd;
218
+ input {
219
+ font-size: 13px;
220
+ }
333
221
  }
334
222
  `;
335
- r.div`
336
- position: relative;
223
+ e.div`
224
+ color: #6a7378;
225
+ font-size: 13px;
226
+ font-style: normal;
227
+ font-weight: 600;
228
+ line-height: normal;
337
229
  `;
338
- r.div`
339
- display: flex;
340
- gap: 8px;
341
- align-items: center;
342
- svg {
343
- cursor: pointer;
230
+ e.div`
231
+ .ant-picker {
232
+ border-radius: 20px;
233
+ }
234
+ input {
235
+ font-size: 13px;
344
236
  }
345
237
  `;
346
- r.div`
347
- border-radius: 15px;
348
- border: 1px solid #e3e3e3;
238
+ e.div`
239
+ border-radius: 30px;
240
+ border: 1px solid #edebe8;
349
241
  background: #fff;
350
- box-shadow: 0px 4px 30px 0px rgba(46, 45, 116, 0.05);
351
- padding-bottom: 10px;
352
- `;
353
- r.div`
354
- border-bottom: 1px solid #e3e3e3;
355
- background: #f8fafc;
356
- display: flex;
357
- padding: 10px 15px;
358
242
  display: flex;
359
- justify-content: space-between;
243
+ padding: 5px 6px;
244
+ justify-content: center;
360
245
  align-items: center;
361
- border-radius: 15px 15px 0 0;
362
- `;
363
- r.div`
364
- /* padding-left: 45px; */
365
- position: relative;
366
- padding-right: 15px;
367
- `;
368
- r(e)`
369
- background: none;
370
- padding: 0px;
371
- border-radius: 0 !important;
372
- border: none;
373
- padding: 14px 20px;
374
- border-radius: 15px 0px 0px 0px;
375
- border-bottom: 1px solid rgba(0, 0, 0, 0.08);
246
+ gap: 8px;
247
+ cursor: pointer;
376
248
 
377
- background: #f8fafc;
378
- `;
379
- r(o)`
380
- background: none;
381
- border: none;
382
- padding: 0;
383
- td td {
384
- padding: 0 10px;
385
- min-width: 140px;
386
- max-width: 140px;
387
- &:nth-child(3) {
388
- min-width: 210px;
389
- max-width: 210px;
249
+ &.active {
250
+ background: #313130;
251
+ & > div {
252
+ color: #fff;
390
253
  }
391
254
  }
392
255
  `;
393
- r.div`
394
- border-radius: 100px;
395
- border: 1px solid rgba(0, 0, 0, 0.08);
396
- background: #faf9f9;
397
- padding: 6px 8px;
398
- color: #888075;
399
- font-size: 12px;
256
+ e.div`
257
+ display: flex;
258
+ width: 24px;
259
+ height: 24px;
260
+ justify-content: center;
261
+ align-items: center;
262
+ border-radius: 20px;
263
+ border: 1px solid #e2e0db;
264
+ background: #edebe8;
265
+ `;
266
+ e.div`
267
+ color: #6a7378;
268
+ font-size: 13px;
269
+ font-style: normal;
400
270
  font-weight: 400;
401
271
  line-height: 16px;
402
- display: inline-block;
403
- `;
404
- r.div`
405
- color: #fc7743;
272
+ white-space: nowrap;
406
273
  `;
407
- r.div`
408
- border-radius: 20px;
409
- border: 1px solid rgba(233, 82, 82, 0.5);
410
- background: rgba(233, 82, 82, 0.15);
411
- padding: 2px 8px;
274
+ e.div`
275
+ border-radius: 30px;
276
+ border: 1px solid #edebe8;
277
+ background: #fff;
412
278
  display: flex;
279
+ padding: 5px 6px;
280
+ justify-content: center;
281
+ align-items: center;
282
+ gap: 8px;
413
283
  cursor: pointer;
414
- max-width: 70px;
415
-
416
- &.active .coverArrow {
417
- transform: rotate(0deg);
418
- position: relative;
419
- top: 2px;
420
- }
421
- .coverArrow {
422
- transform: rotate(180deg);
423
- position: relative;
424
- top: -2px;
425
- }
426
-
427
- .circle {
428
- width: 24px;
429
- height: 24px;
430
- border-radius: 100px;
431
- border: 1px solid #e95252;
432
- position: relative;
433
- display: flex;
434
- align-items: center;
435
- justify-content: center;
436
- &:after {
437
- content: '';
438
- width: 10px;
439
- height: 10px;
440
- border-radius: 100px;
441
- background: #e95252;
442
- }
443
- }
444
- `;
445
- r.div`
446
- border-radius: 12px;
447
- background: #fff;
448
-
449
- position: absolute;
450
- top: 86px;
451
- left: 3px;
452
- min-width: 36px;
453
- span {
454
- padding: 2px 6px;
455
- color: #687d9b;
456
- font-weight: 600;
457
- font-size: 11px;
458
- position: relative;
459
- z-index: 2;
460
- background: #fff;
461
- border-radius: 100px;
462
- border: 1px solid #edefef;
463
- }
464
284
 
465
- i {
466
- width: 2px;
467
- height: 36px;
468
- background: #7b91b0;
469
- display: block;
470
- position: absolute;
471
- top: 58%;
472
- transform: translateY(-50%);
473
- left: 0;
474
- right: 0;
475
- margin: 0 auto;
476
- z-index: 1;
477
- &:after,
478
- &::before {
479
- width: 5px;
480
- height: 5px;
481
- display: block;
482
- background: #7b91b0;
483
- position: absolute;
484
- top: -5px;
485
- content: '';
486
- border-radius: 100px;
487
- left: -1px;
488
- }
489
- &:after {
490
- top: auto;
491
- bottom: -4px;
285
+ &.active {
286
+ background: #313130;
287
+ & > div {
288
+ color: #fff;
492
289
  }
493
290
  }
494
291
  `;
495
- const i = r.div`
292
+ e.div`
293
+ color: #6a7378;
496
294
  font-size: 13px;
497
- color: #e95252;
498
- `;
499
- r(i)`
500
- font-size: 10px;
501
- `;
502
- r.th`
503
- color: #3a3630;
504
- font-size: 14px;
505
295
  font-style: normal;
506
- font-weight: 600;
507
- line-height: normal;
508
- padding: 11px 15px;
509
- background: #f0f2f2;
510
- border: 1px solid rgba(0, 0, 0, 0.08);
511
- border-right: none;
512
- border-left: none;
513
- text-align: left;
514
- `;
515
- r.div`
516
- border-radius: 20px;
517
- border: 1px solid var(--contextual-blue, #6396e5);
518
- box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
519
- color: #6396e5;
520
- align-content: center;
521
- padding: 4px 12px;
522
- height: 28px;
523
- cursor: pointer;
524
- &:hover {
525
- background-color: #89b8ff;
526
- color: white;
527
- }
528
- `;
529
- r.div`
530
- border-radius: 20px;
531
- border: 1px solid rgba(233, 82, 82, 0.5);
532
- box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
533
- color: #e95252;
534
- align-content: center;
535
- padding: 4px 12px;
536
- height: 28px;
537
- cursor: pointer;
538
- &:hover {
539
- background-color: #ff7b7b;
540
- color: white;
541
- }
296
+ font-weight: 400;
297
+ line-height: 16px;
298
+ white-space: nowrap;
542
299
  `;
543
- r.div`
300
+ e.div`
544
301
  display: flex;
545
302
  flex-direction: row;
546
303
  gap: 10px;
547
304
  white-space: nowrap;
548
305
  align-items: center;
549
306
  `;
550
- const l = r.div`
307
+ const n = e.div`
551
308
  display: flex;
552
309
  justify-content: center;
553
- `, x = r.div`
310
+ `, a = e.div`
554
311
  border-radius: 20px;
555
312
  border: 1px solid #edebe8;
556
313
  background: #fff;
@@ -567,7 +324,7 @@ const l = r.div`
567
324
  color: #fff;
568
325
  }
569
326
  }
570
- `, s = r.div`
327
+ `, p = e.div`
571
328
  display: flex;
572
329
  width: 24px;
573
330
  height: 24px;
@@ -586,7 +343,7 @@ const l = r.div`
586
343
  color: #000;
587
344
  }
588
345
  }
589
- `, b = r.div`
346
+ `, l = e.div`
590
347
  color: #6a7378;
591
348
  font-size: 13px;
592
349
  font-style: normal;
@@ -595,16 +352,13 @@ const l = r.div`
595
352
  white-space: nowrap;
596
353
  `;
597
354
  export {
598
- x as ClearAll,
599
- d as ColumStyle,
600
- l as EmptyDataContainer,
601
- n as GreyBox,
602
- s as StyledFilterBtnIcon,
603
- b as StyledFilterBtnLabel,
604
- p as StyledTable,
605
- a as StyledTableWrapper,
606
- o as StyledTdBasic,
607
- e as StyledThBase,
608
- i as StyledWeight
355
+ a as ClearAll,
356
+ r as ColumStyle,
357
+ n as EmptyDataContainer,
358
+ i as GreyBox,
359
+ p as StyledFilterBtnIcon,
360
+ l as StyledFilterBtnLabel,
361
+ d as StyledTable,
362
+ o as StyledTableWrapper
609
363
  };
610
364
  //# sourceMappingURL=styles.js.map