@colijnit/transaction 255.1.38 → 255.1.39

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 (44) hide show
  1. package/bundles/colijnit-transaction.umd.js +321 -70
  2. package/bundles/colijnit-transaction.umd.js.map +1 -1
  3. package/colijnit-transaction.metadata.json +1 -1
  4. package/esm2015/lib/component/delivery-planning/service/delivery-planning.service.js +18 -1
  5. package/esm2015/lib/component/delivery-planning-main/component/delivery-planning-overview/component/delivery-planning-overview-popup/delivery-planning-overview-popup.component.js +53 -33
  6. package/esm2015/lib/component/delivery-planning-main/component/delivery-planning-overview/component/delivery-planning-overview-tile/component/delivery-planning-overview-tile-line/delivery-planning-overview-tile-line.component.js +21 -11
  7. package/esm2015/lib/component/delivery-planning-main/component/delivery-planning-overview/component/delivery-planning-overview-tile/delivery-planning-overview-tile.component.js +12 -2
  8. package/esm2015/lib/component/delivery-planning-main/component/delivery-planning-overview/component/delivery-planning-overview-tile-settings-popup/delivery-planning-overview-tile-settings-popup.component.js +53 -3
  9. package/esm2015/lib/component/delivery-planning-main/component/delivery-planning-overview/delivery-planning-overview.component.js +79 -24
  10. package/esm2015/lib/component/transaction/transaction.component.js +4 -1
  11. package/esm2015/lib/component/transaction-card/transaction-card-planning/transaction-card-planning.component.js +33 -4
  12. package/esm2015/lib/component/transaction-internal/transaction-internal.component.js +7 -4
  13. package/esm2015/lib/component/transaction-line/transaction-planning-line/transaction-planning-line.component.js +2 -1
  14. package/esm2015/lib/component/transaction-line-side-panel-planning/transaction-line-side-panel-planning.component.js +2 -2
  15. package/esm2015/lib/component/transaction-line-side-panel-sales/transaction-line-side-panel-sales-reservation/transaction-line-side-panel-sales-reservation/transaction-line-side-panel-sales-reservation.component.js +21 -8
  16. package/esm2015/lib/component/transaction-line-side-panel-sales/transaction-line-side-panel-sales.module.js +3 -2
  17. package/esm2015/lib/component/transaction-search/transaction-search-result/transaction-search-result.component.js +2 -1
  18. package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-purchase-reservation-order-tile/transaction-purchase-reservation-order-tile.component.js +4 -14
  19. package/esm2015/lib/enum/icon.enum.js +7 -1
  20. package/esm2015/lib/model/icon-svg.js +7 -1
  21. package/esm2015/lib/transaction-version.js +3 -3
  22. package/fesm2015/colijnit-transaction.js +296 -96
  23. package/fesm2015/colijnit-transaction.js.map +1 -1
  24. package/lib/component/delivery-planning/service/delivery-planning.service.d.ts +4 -0
  25. package/lib/component/delivery-planning/style/_layout.scss +22 -1
  26. package/lib/component/delivery-planning-main/component/delivery-planning-overview/component/delivery-planning-overview-popup/delivery-planning-overview-popup.component.d.ts +9 -6
  27. package/lib/component/delivery-planning-main/component/delivery-planning-overview/component/delivery-planning-overview-tile/component/delivery-planning-overview-tile-line/delivery-planning-overview-tile-line.component.d.ts +3 -0
  28. package/lib/component/delivery-planning-main/component/delivery-planning-overview/component/delivery-planning-overview-tile/component/delivery-planning-overview-tile-line/style/_layout.scss +25 -10
  29. package/lib/component/delivery-planning-main/component/delivery-planning-overview/component/delivery-planning-overview-tile/delivery-planning-overview-tile.component.d.ts +9 -0
  30. package/lib/component/delivery-planning-main/component/delivery-planning-overview/component/delivery-planning-overview-tile/style/_layout.scss +13 -0
  31. package/lib/component/delivery-planning-main/component/delivery-planning-overview/component/delivery-planning-overview-tile-settings-popup/delivery-planning-overview-tile-settings-popup.component.d.ts +14 -3
  32. package/lib/component/delivery-planning-main/component/delivery-planning-overview/delivery-planning-overview.component.d.ts +16 -0
  33. package/lib/component/delivery-planning-main/component/delivery-planning-overview/style/_layout.scss +9 -6
  34. package/lib/component/delivery-planning-main/style/_layout.scss +0 -1
  35. package/lib/component/transaction/transaction.component.d.ts +1 -0
  36. package/lib/component/transaction-card/transaction-card-planning/transaction-card-planning.component.d.ts +19 -0
  37. package/lib/component/transaction-internal/style/_layout.scss +6 -0
  38. package/lib/component/transaction-internal/transaction-internal.component.d.ts +1 -0
  39. package/lib/component/transaction-line-side-panel-planning/style/_layout.scss +20 -17
  40. package/lib/component/transaction-line-side-panel-sales/transaction-line-side-panel-sales-reservation/transaction-line-side-panel-sales-reservation/style/_layout.scss +16 -4
  41. package/lib/component/transaction-line-side-panel-sales/transaction-line-side-panel-sales-reservation/transaction-line-side-panel-sales-reservation/transaction-line-side-panel-sales-reservation.component.d.ts +5 -1
  42. package/lib/component/transaction-search/transaction-search-tile/transaction-purchase-reservation-order-tile/style/_layout.scss +26 -20
  43. package/lib/enum/icon.enum.d.ts +6 -0
  44. package/package.json +1 -1
@@ -268,8 +268,8 @@ class Version {
268
268
  constructor() {
269
269
  this.name = "@colijnit/transaction";
270
270
  this.description = "Colijn IT transaction package";
271
- this.symVer = "255.1.38";
272
- this.publishDate = "12-9-2024 14:26:15";
271
+ this.symVer = "255.1.39";
272
+ this.publishDate = "20-9-2024 17:21:27";
273
273
  }
274
274
  }
275
275
 
@@ -468,6 +468,7 @@ var Icon;
468
468
  Icon["BoxOpenFullRegular"] = "box_open_full_regular";
469
469
  Icon["CalendarDay"] = "calendar_day";
470
470
  Icon["CalendarDayRegular"] = "calendar_day_regular";
471
+ Icon["CalendarLinesRegular"] = "calendar_lines_regular";
471
472
  Icon["Cancel"] = "cancel";
472
473
  Icon["CaretDownSolid"] = "caret_down_solid";
473
474
  Icon["CaretUpSolid"] = "caret_up_solid";
@@ -485,6 +486,7 @@ var Icon;
485
486
  Icon["CheckDuotone"] = "check_duotone";
486
487
  Icon["CheckThin"] = "check_thin";
487
488
  Icon["ChevronDownRegular"] = "chevron_down_regular";
489
+ Icon["ChevronRightRegular"] = "chevron_right_regular";
488
490
  Icon["ChevronUpRegular"] = "chevron_up_regular";
489
491
  Icon["CircleExclamationRegular"] = "circle_exclamation_regular";
490
492
  Icon["CloseDialog"] = "close_dialog";
@@ -549,12 +551,15 @@ var Icon;
549
551
  Icon["RegularBoxOpenCircleCheck"] = "regular_box_open_circle_check";
550
552
  Icon["RegularCartFlatbedBoxesCircleCheck"] = "regular_cart_flatbed_boxes_circle_check";
551
553
  Icon["RegularCartShoppingCircleQuestion"] = "regular_cart_shopping_circle_question";
554
+ Icon["RegularCartShoppingClock"] = "regular_cart_shopping_clock";
552
555
  Icon["RegularEuroSignMinus"] = "regular_euro_sign_minus";
553
556
  Icon["RegularIndustryClock"] = "regular_industry_clock";
554
557
  Icon["RegularIndustryTag"] = "regular_industry_tag";
555
558
  Icon["RegularReceiptSlash"] = "regular_receipt_slash";
556
559
  Icon["RegularTruckMovingCircleExclamation"] = "regular_truck_moving_circle_exclamation";
557
560
  Icon["RegularTruckMovingCircleUser"] = "regular_truck_moving_circle_user";
561
+ Icon["RegularTruckMovingClock"] = "regular_truck_moving_clock";
562
+ Icon["RegularWarehouseClock"] = "regular_warehouse_clock";
558
563
  Icon["Remark"] = "remark";
559
564
  Icon["Resize"] = "resize";
560
565
  Icon["ServiceCartRegular"] = "service_cart_regular";
@@ -582,6 +587,7 @@ var Icon;
582
587
  Icon["ToolboxRegular"] = "toolbox_regular";
583
588
  Icon["TrashBin"] = "trash_bin";
584
589
  Icon["TrashCanLight"] = "trash_can_light";
590
+ Icon["TrashCanRegular"] = "trash_can_regular";
585
591
  Icon["TriangleDown"] = "triangle_down";
586
592
  Icon["TriangleUp"] = "triangle_up";
587
593
  Icon["Truck"] = "truck";
@@ -617,6 +623,7 @@ const IconSvg = {
617
623
  "box_open_full_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M480.9 3.1C456-6.2 428.4 6.3 419.1 31.2L384 124.8C382.2 55.6 325.6 0 256 0C185.3 0 128 57.3 128 128c0 2.2 .1 4.3 .2 6.5l65.5 8.2c-1.1-4.7-1.7-9.6-1.7-14.7c0-35.3 28.7-64 64-64s64 28.7 64 64c0 10.7-2.6 20.7-7.2 29.6l7.2 .9 161.4-20.2 27.5-73.4c9.3-24.8-3.3-52.5-28.1-61.8zM58.9 170.1L17.2 253.5c-9 17.9 .6 39.6 19.8 45.1l163.3 46.7c13.9 4 28.8-1.9 36.2-14.3L320 192 75.2 161.4c-6.7-.8-13.3 2.7-16.3 8.7zM576 339.6l-48 13.7v57.2l-184 46V312c0-13.3-10.7-24-24-24s-24 10.7-24 24V456.5l-184-46V353.3L64 339.6v71c0 22 15 41.2 36.4 46.6l204.1 51c10.2 2.5 20.9 2.5 31 0l204.1-51c21.4-5.3 36.4-24.5 36.4-46.6v-71zm46.8-86.1l-41.7-83.4c-3-6.1-9.6-9.6-16.3-8.7L320 192l83.4 139c7.4 12.4 22.3 18.3 36.2 14.3l163.3-46.7c19.3-5.5 28.8-27.2 19.8-45.1z\"/></svg>",
618
624
  "calendar_day": "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 50 50\" enable-background=\"new 0 0 50 50\" ><g><path fill=\"#022D42\" d=\"M35.4,13.7H14.6c-0.6,0-1,0.5-1,1V20h22.9v-5.2C36.4,14.2,36,13.7,35.4,13.7z M19,18.8c-1,0-1.8-0.8-1.8-1.8c0-1,0.8-1.8,1.8-1.8c1,0,1.8,0.8,1.8,1.8C20.8,18,20,18.8,19,18.8z M31,18.8c-1,0-1.8-0.8-1.8-1.8c0-1,0.8-1.8,1.8-1.8s1.8,0.8,1.8,1.8C32.7,18,32,18.8,31,18.8z\"/><path fill=\"#022D42\" d=\"M35.4,22.3v12.6L31.3,39H14.6c0,0,0,0,0,0V22.3H35.4 M36.4,21.3H13.6V39c0,0.6,0.5,1,1,1h17.2l4.7-4.7V21.3L36.4,21.3z\"/><rect x=\"18.2\" y=\"10\" fill=\"#022D42\" width=\"1.6\" height=\"5.2\"/><rect x=\"30.2\" y=\"10\" fill=\"#022D42\" width=\"1.6\" height=\"5.2\"/><rect x=\"18.6\" y=\"30.5\" fill=\"#022D42\" width=\"3.4\" height=\"3.4\"/><rect x=\"19.1\" y=\"24.8\" opacity=\"0.1\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"19.1\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"19.1\" y=\"34.1\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"22.2\" y=\"24.8\" opacity=\"0.1\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"22.2\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"22.2\" y=\"31\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"22.2\" y=\"34.1\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"25.4\" y=\"31\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"25.4\" y=\"24.8\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"25.4\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"25.4\" y=\"34.1\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"31.6\" y=\"31\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"31.6\" y=\"24.8\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"31.6\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"28.5\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"28.5\" y=\"24.8\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"28.5\" y=\"31\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"28.5\" y=\"34.1\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"16\" y=\"24.8\" opacity=\"0.1\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"16\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"16\" y=\"31\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"16\" y=\"34.1\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/></g></svg>",
619
625
  "calendar_day_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><path d=\"M208 256C216.8 256 224 263.2 224 272V368C224 376.8 216.8 384 208 384H112C103.2 384 96 376.8 96 368V272C96 263.2 103.2 256 112 256H208zM128 0C141.3 0 152 10.75 152 24V64H296V24C296 10.75 306.7 0 320 0C333.3 0 344 10.75 344 24V64H384C419.3 64 448 92.65 448 128V448C448 483.3 419.3 512 384 512H64C28.65 512 0 483.3 0 448V128C0 92.65 28.65 64 64 64H104V24C104 10.75 114.7 0 128 0zM400 192H48V448C48 456.8 55.16 464 64 464H384C392.8 464 400 456.8 400 448V192z\"/></svg>",
626
+ "calendar_lines_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><path d=\"M152 24c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 40L64 64C28.7 64 0 92.7 0 128l0 16 0 48L0 448c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-256 0-48 0-16c0-35.3-28.7-64-64-64l-40 0 0-40c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 40L152 64l0-40zM48 192l352 0 0 256c0 8.8-7.2 16-16 16L64 464c-8.8 0-16-7.2-16-16l0-256zm48 88c0 13.3 10.7 24 24 24l208 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-208 0c-13.3 0-24 10.7-24 24zm24 72c-13.3 0-24 10.7-24 24s10.7 24 24 24l112 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-112 0z\"/></svg>",
620
627
  "cancel": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><polygon points=\"36 35.16 30.45 35.16 14 14.84 19.55 14.84 36 35.16\" fill=\"#484f60\"/><polygon points=\"14 35.16 19.55 35.16 36 14.84 30.45 14.84 14 35.16\" fill=\"#484f60\"/></svg>",
621
628
  "caret_down_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 320 512\"><path d=\"M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z\"/></svg>",
622
629
  "caret_up_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 320 512\"><path d=\"M182.6 137.4c-12.5-12.5-32.8-12.5-45.3 0l-128 128c-9.2 9.2-11.9 22.9-6.9 34.9s16.6 19.8 29.6 19.8H288c12.9 0 24.6-7.8 29.6-19.8s2.2-25.7-6.9-34.9l-128-128z\"/></svg>",
@@ -634,6 +641,7 @@ const IconSvg = {
634
641
  "check_duotone": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><defs><style>.fa-secondary{opacity:.4}</style></defs><path class=\"fa-primary\" d=\"M438.6 105.4C451.1 117.9 451.1 138.1 438.6 150.6L182.6 406.6C170.1 419.1 149.9 419.1 137.4 406.6L9.372 278.6C-3.124 266.1-3.124 245.9 9.372 233.4C21.87 220.9 42.13 220.9 54.63 233.4L159.1 338.7L393.4 105.4C405.9 92.88 426.1 92.88 438.6 105.4H438.6z\"/></svg>",
635
642
  "check_thin": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 30 30\"><g ><polygon points=\"13.26 27.6 4.37 15.1 5.19 14.52 13.1 25.66 24.73 2.4 25.63 2.85 13.26 27.6\" fill=\"#484f60\"/></g></svg>",
636
643
  "chevron_down_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M239 401c9.4 9.4 24.6 9.4 33.9 0L465 209c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-175 175L81 175c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9L239 401z\"/></svg>",
644
+ "chevron_right_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 320 512\"><path d=\"M305 239c9.4 9.4 9.4 24.6 0 33.9L113 465c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l175-175L79 81c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0L305 239z\"/></svg>",
637
645
  "chevron_up_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M239 111c9.4-9.4 24.6-9.4 33.9 0L465 303c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-175-175L81 337c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9L239 111z\"/></svg>",
638
646
  "circle_exclamation_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c-13.3 0-24 10.7-24 24V264c0 13.3 10.7 24 24 24s24-10.7 24-24V152c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z\"/></svg>",
639
647
  "close_dialog": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 384 512\"><path d=\"M326.6 166.6L349.3 144 304 98.7l-22.6 22.6L192 210.7l-89.4-89.4L80 98.7 34.7 144l22.6 22.6L146.7 256 57.4 345.4 34.7 368 80 413.3l22.6-22.6L192 301.3l89.4 89.4L304 413.3 349.3 368l-22.6-22.6L237.3 256l89.4-89.4z\"/></svg>",
@@ -698,12 +706,15 @@ const IconSvg = {
698
706
  "regular_box_open_circle_check": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M17.2 125.5L58.9 42.1c3-6 9.6-9.5 16.3-8.7C156.8 43.6 238.4 53.8 320 64c-27.8 46.3-55.7 92.7-83.5 139c-7.4 12.4-22.3 18.3-36.2 14.3C145.9 201.7 91.4 186.2 37 170.6c-19.2-5.5-28.8-27.2-19.8-45.1zM64 211.6l48 13.7c0 51.1 0 102.1 0 153.2c61.3 15.3 122.7 30.7 184 46c0-80.2 0-160.3 0-240.5c0-13.3 10.7-24 24-24s24 10.7 24 24c0 31.7 0 63.5 0 95.2c-15.3 26.1-24 56.4-24 88.8c0 38.7 12.5 74.6 33.8 103.6c-6.1 1.5-12.2 3-18.3 4.6c-10.1 2.5-20.8 2.5-31 0c-68-17-136.1-34-204.1-51C79 419.8 64 400.6 64 378.6c0-55.7 0-111.3 0-167zM320 64L564.8 33.4c6.7-.9 13.3 2.6 16.3 8.7c13.9 27.8 27.7 55.6 41.6 83.4c9 17.9-.5 39.6-19.8 45.1c-27.1 7.8-54.2 15.5-81.3 23.3c-8.4-1.2-16.9-1.9-25.6-1.9c-30.1 0-58.5 7.6-83.3 20.9c-3.7-2.5-6.9-5.9-9.3-9.9c-27.8-46.3-55.6-92.7-83.4-139zm32 304c0-79.5 64.5-144 144-144s144 64.5 144 144s-64.5 144-144 144s-144-64.5-144-144zm76.7-11.3c-6.2 6.2-6.2 16.4 0 22.6c13.3 13.3 26.7 26.7 40 40c6.2 6.2 16.4 6.2 22.6 0c24-24 48-48 72-72c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0c-20.2 20.2-40.5 40.5-60.7 60.7c-9.6-9.6-19.1-19.1-28.7-28.7c-6.2-6.2-16.4-6.2-22.6 0z\"/></svg>",
699
707
  "regular_cart_flatbed_boxes_circle_check": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M24 0C10.7 0 0 10.7 0 24S10.7 48 24 48c16 0 32 0 48 0c4.4 0 8 3.6 8 8c0 117.4 0 234.7 0 352c0 30.9 25.1 56 56 56c8 0 16 0 24 0c0 26.5 21.5 48 48 48s48-21.5 48-48c30.8 0 61.7 0 92.5 0c-9.6-14.6-17-30.8-21.9-48c-39.5 0-79.1 0-118.6 0c-24 0-48 0-72 0c-4.4 0-8-3.6-8-8c0-117.4 0-234.7 0-352c0-30.9-25.1-56-56-56C56 0 40 0 24 0zM240 80l128 0c0 55.7 0 111.5 0 167.2c13.8-14.6 30-26.8 48-36c0-43.7 0-87.5 0-131.2c0-26.5-21.5-48-48-48c-42.7 0-85.3 0-128 0c-26.5 0-48 21.5-48 48c0 74.7 0 149.3 0 224c0 26.5 21.5 48 48 48c26.9 0 53.8 0 80.7 0c1.5-16.8 5.4-32.9 11.3-48c-30.7 0-61.3 0-92 0c0-74.7 0-149.3 0-224zm320 0l0 64c-21.3 0-42.7 0-64 0c0-21.3 0-42.7 0-64c21.3 0 42.7 0 64 0zM496 32c-26.5 0-48 21.5-48 48c0 21.3 0 42.7 0 64c0 26.5 21.5 48 48 48c21.3 0 42.7 0 64 0c26.5 0 48-21.5 48-48c0-21.3 0-42.7 0-64c0-26.5-21.5-48-48-48c-21.3 0-42.7 0-64 0zM352 368c0-79.5 64.5-144 144-144s144 64.5 144 144s-64.5 144-144 144s-144-64.5-144-144zm211.3-20.7c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0c-20.2 20.2-40.5 40.5-60.7 60.7c-9.6-9.6-19.1-19.1-28.7-28.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6c13.3 13.3 26.7 26.7 40 40c6.2 6.2 16.4 6.2 22.6 0c24-24 48-48 72-72z\"/></svg>",
700
708
  "regular_cart_shopping_circle_question": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M24 0C10.7 0 0 10.7 0 24S10.7 48 24 48c15.2 0 30.3 0 45.5 0c3.8 0 7.1 2.7 7.9 6.5c17.2 90.4 34.4 180.7 51.6 271c6.5 34 36.2 58.5 70.7 58.5c40.3 0 80.7 0 121 0c-.5-5.3-.7-10.6-.7-16c0-10.9 1-21.6 2.9-32c-41.1 0-82.1 0-123.2 0c-11.5 0-21.4-8.2-23.6-19.5c-1.8-9.5-3.6-19-5.4-28.5c56.2 0 112.3 0 168.5 0c9.2-18 21.4-34.2 36-48c-71.2 0-142.4 0-213.6 0c-10.2-53.3-20.3-106.7-30.5-160c129.9 0 259.7 0 389.6 0c-10.1 37.4-20.1 74.7-30.2 112.1c1.8-.1 3.7-.1 5.5-.1c14.8 0 29.1 1.8 42.8 5.2c10.3-38.3 20.6-76.6 30.9-114.8C576.6 57 557.4 32 531.1 32c-137 0-274 0-411 0C111 12.8 91.6 0 69.5 0C54.3 0 39.2 0 24 0zM176 512c17.1 0 33-9.1 41.6-24s8.6-33.1 0-48s-24.4-24-41.6-24s-33 9.1-41.6 24s-8.6 33.1 0 48s24.4 24 41.6 24zM640 368c0 79.5-64.5 144-144 144s-144-64.5-144-144s64.5-144 144-144s144 64.5 144 144zM496 416c-13.3 0-24 10.7-24 24s10.7 24 24 24s24-10.7 24-24s-10.7-24-24-24zM473.6 280c-23 0-41.6 18.6-41.6 41.6c0 2.1 0 4.3 0 6.4c0 8.8 7.2 16 16 16s16-7.2 16-16c0-2.1 0-4.3 0-6.4c0-5.3 4.3-9.6 9.6-9.6c13.5 0 27 0 40.5 0c7.7 0 13.9 6.2 13.9 13.9c0 5.2-2.9 9.9-7.4 12.3c-10.7 5.6-21.3 11.2-32 16.8c-5.3 2.8-8.6 8.2-8.6 14.2c0 4.9 0 9.8 0 14.8c0 8.8 7.2 16 16 16s16-7.2 16-16c0-1.7 0-3.4 0-5.1c7.8-4.1 15.6-8.2 23.5-12.3c15.1-7.9 24.5-23.6 24.5-40.6c0-25.4-20.6-45.9-45.9-45.9c-13.5 0-27 0-40.5 0z\"/></svg>",
709
+ "regular_cart_shopping_clock": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M0 24C0 10.7 10.7 0 24 0L69.5 0C91.6 0 111 12.8 120.1 32l411 0c26.3 0 45.5 25 38.6 50.4L538.8 197.2c-13.7-3.4-28-5.2-42.8-5.2c-1.8 0-3.7 0-5.5 .1L520.7 80 131.1 80l30.5 160 213.6 0c-14.6 13.8-26.8 30-36 48l-168.5 0 5.4 28.5c2.2 11.3 12.1 19.5 23.6 19.5l123.2 0c-1.9 10.4-2.9 21.1-2.9 32c0 5.4 .2 10.7 .7 16l-121 0c-34.5 0-64.2-24.5-70.7-58.5L77.4 54.5c-.8-3.8-4.1-6.5-7.9-6.5L24 48C10.7 48 0 37.3 0 24zM134.4 440c8.6-14.9 24.4-24 41.6-24s33 9.1 41.6 24s8.6 33.1 0 48s-24.4 24-41.6 24s-33-9.1-41.6-24s-8.6-33.1 0-48zM352 368c0-79.5 64.5-144 144-144s144 64.5 144 144s-64.5 144-144 144s-144-64.5-144-144zm128-64l0 64c0 8.8 7.2 16 16 16l48 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-32 0 0-48c0-8.8-7.2-16-16-16s-16 7.2-16 16z\"/></svg>",
701
710
  "regular_euro_sign_minus": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><path d=\"M0 216c0-13.3 10.7-24 24-24l33.3 0C84.8 99.5 170.5 32 272 32l24 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-24 0c-74.6 0-138.4 46.4-164 112l156 0c13.3 0 24 10.7 24 24s-10.7 24-24 24L96.7 240c-.5 5.3-.7 10.6-.7 16s.2 10.7 .7 16L264 272c6.4 0 12.1 2.5 16.4 6.5c-7.6 12.9-13.6 26.8-17.8 41.5L108 320c25.1 64.4 87.1 110.3 160 112c6.9 17.6 16.5 33.7 28.3 48c-.1 0-.2 0-.3 0l-24 0C170.5 480 84.8 412.5 57.3 320L24 320c-13.3 0-24-10.7-24-24s10.7-24 24-24l24.6 0c-.4-5.3-.6-10.6-.6-16s.2-10.7 .6-16L24 240c-13.3 0-24-10.7-24-24zM288 368c0-79.5 64.5-144 144-144s144 64.5 144 144s-64.5 144-144 144s-144-64.5-144-144zm64 0c0 8.8 7.2 16 16 16l128 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-128 0c-8.8 0-16 7.2-16 16z\"/></svg>",
702
711
  "regular_industry_clock": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M88 80c-4.4 0-8 3.6-8 8c0 72 0 144 0 216c0 16 0 32 0 48c0 18.7 0 37.3 0 56c0 13.3 10.7 24 24 24c76 0 152 0 228 0c6.9 17.5 16.5 33.7 28.3 48c-85.4 0-170.9 0-256.3 0c-39.8 0-72-32.2-72-72c0-18.7 0-37.3 0-56c0-16 0-32 0-48c0-72 0-144 0-216c0-30.9 25.1-56 56-56c16 0 32 0 48 0c30.9 0 56 25.1 56 56c0 28.3 0 56.6 0 84.9c34.6-20.2 69.2-40.4 103.8-60.6c32-18.7 72.2 4.4 72.2 41.5c0 9 0 18 0 27c34-21.8 68.1-43.6 102.1-65.4c32-20.4 73.9 2.5 73.9 40.5c0 14.2 0 28.5 0 42.7c-15.3-4.3-31.4-6.6-48-6.6c0-12 0-24.1 0-36.1c-46.4 29.7-92.7 59.3-139.1 89c-7.4 4.7-16.8 5-24.5 .8s-12.5-12.3-12.5-21.1c0-23.6 0-47.3 0-70.9c-46.6 27.2-93.2 54.5-139.8 81.7c-7.4 4.3-16.6 4.4-24 .1s-12-12.2-12-20.8c0-42.2 0-84.5 0-126.7c0-4.4-3.6-8-8-8c-16 0-32.1 0-48.1 0zM352 368c0-79.5 64.5-144 144-144s144 64.5 144 144s-64.5 144-144 144s-144-64.5-144-144zm160-64c0-8.8-7.2-16-16-16s-16 7.2-16 16c0 21.3 0 42.7 0 64c0 8.8 7.2 16 16 16c16 0 32 0 48 0c8.8 0 16-7.2 16-16s-7.2-16-16-16c-10.7 0-21.3 0-32 0c0-16 0-32 0-48z\"/></svg>",
703
712
  "regular_industry_tag": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M88 80c-4.4 0-8 3.6-8 8c0 72 0 144 0 216c0 16 0 32 0 48c0 18.7 0 37.3 0 56c0 13.3 10.7 24 24 24c90.3 0 180.7 0 271 0c16 16 32 32 48 48c-106.3 0-212.6 0-318.9 0c-39.8 0-72-32.2-72-72c0-18.7 0-37.3 0-56c0-16 0-32 0-48c0-72 0-144 0-216c0-30.9 25.1-56 56-56c16 0 32 0 48 0c30.9 0 56 25.1 56 56c0 28.3 0 56.6 0 84.9c34.6-20.2 69.2-40.4 103.8-60.6c32-18.7 72.2 4.4 72.2 41.5c0 9 0 18 0 27c34-21.8 68.1-43.6 102.1-65.4c32-20.4 73.9 2.5 73.9 40.5c0 25 0 50.1 0 75.1c-5.2-5.2-10.5-10.5-15.7-15.7c-9.1-9.1-20.2-15.8-32.3-19.6c0-13.3 0-26.5 0-39.8c-18.8 12-37.6 24.1-56.4 36.1c-18.7 0-37.4 0-56.1 0c-28.4 0-52.4 18.6-60.6 44.3c-2-3.5-3-7.5-3-11.7c0-23.6 0-47.3 0-70.9c-46.6 27.2-93.2 54.5-139.8 81.7c-7.4 4.3-16.6 4.4-24 .1s-12-12.2-12-20.8c0-42.2 0-84.5 0-126.7c0-4.4-3.6-8-8-8c-16 0-32.1 0-48.1 0zM359 262.6c0-17.6 14.3-32 32-32c27.6 0 55.1 0 82.7 0c17 0 33.3 6.7 45.3 18.7c35.8 35.8 71.5 71.6 107.3 107.4c18.7 18.7 18.7 49.1 0 67.9c-24.5 24.4-48.9 48.9-73.4 73.3c-18.7 18.7-49.1 18.7-67.9 0c-35.8-35.8-71.5-71.5-107.3-107.3c-12-12-18.7-28.3-18.7-45.2c0-27.6 0-55.2 0-82.8zm80 72c13.3 0 24-10.7 24-24s-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24z\"/></svg>",
704
713
  "regular_receipt_slash": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M5.1 9.2C13.3-1.2 28.4-3.1 38.8 5.1C68.5 28.4 98.3 51.7 128 75c0-17 0-34 0-51c0-9.4 5.5-17.9 14-21.8s18.5-2.5 25.6 3.6c13.5 11.5 26.9 23.1 40.4 34.6c13.5-11.5 26.9-23.1 40.4-34.6c8.9-7.7 22.2-7.7 31.2 0c13.5 11.5 26.9 23.1 40.4 34.6c13.5-11.5 26.9-23.1 40.4-34.6c8.9-7.7 22.2-7.7 31.2 0c13.5 11.5 26.9 23.1 40.4 34.6c13.5-11.5 26.9-23.1 40.4-34.6c7.1-6.1 17.1-7.5 25.6-3.6s14 12.4 14 21.8c0 117.3 0 234.6 0 352c39.6 31 79.2 62.1 118.8 93.1c10.4 8.2 12.3 23.3 4.1 33.7s-23.3 12.3-33.7 4.1C403.8 352.2 206.5 197.6 9.2 42.9C-1.2 34.7-3.1 19.6 5.1 9.2zM128 196.9l48 37.8c0 67 0 134.1 0 201.1c5.5-4.7 10.9-9.3 16.4-14c8.9-7.7 22.2-7.7 31.2 0c13.5 11.5 26.9 23.1 40.4 34.6c13.5-11.5 26.9-23.1 40.4-34.6c8.9-7.7 22.2-7.7 31.2 0c13.5 11.5 26.9 23.1 40.4 34.6c13-11.1 26-22.3 39-33.4l94.9 74.8c-2.3 5.2-6.5 9.6-11.9 12c-8.5 3.9-18.5 2.5-25.6-3.6c-13.5-11.5-26.9-23.1-40.4-34.6c-13.5 11.5-26.9 23.1-40.4 34.6c-8.9 7.7-22.2 7.7-31.2 0c-13.5-11.5-26.9-23.1-40.4-34.6c-13.5 11.5-26.9 23.1-40.4 34.6c-8.9 7.7-22.2 7.7-31.2 0c-13.5-11.5-26.9-23.1-40.4-34.6c-13.5 11.5-26.9 23.1-40.4 34.6c-7.1 6.1-17.1 7.5-25.6 3.6s-14-12.4-14-21.8c0-97 0-194.1 0-291.1zM176 76.2l0 36.4c17.5 13.7 35.1 27.5 52.6 41.2c4.4-6 11.4-9.9 19.4-9.9c48 0 96 0 144 0c13.3 0 24 10.7 24 24s-10.7 24-24 24c-38.2 0-76.5 0-114.7 0c17 13.3 34 26.7 51 40c21.2 0 42.5 0 63.7 0c13.3 0 24 10.7 24 24s-10.7 24-24 24c-.8 0-1.6 0-2.5 0c24.8 19.5 49.6 38.9 74.5 58.4c0-87.4 0-174.8 0-262.2c-5.5 4.7-10.9 9.3-16.4 14c-8.9 7.7-22.2 7.7-31.2 0C402.9 78.7 389.5 67.1 376 55.6c-13.5 11.5-26.9 23.1-40.4 34.6c-8.9 7.7-22.2 7.7-31.2 0C290.9 78.7 277.5 67.1 264 55.6c-13.5 11.5-26.9 23.1-40.4 34.6c-8.9 7.7-22.2 7.7-31.2 0c-5.5-4.7-10.9-9.3-16.4-14zM224 344c0-13.3 10.7-24 24-24c12.1 0 24.2 0 36.3 0c20.3 16 40.6 32 60.9 48c-32.4 0-64.8 0-97.2 0c-13.3 0-24-10.7-24-24z\"/></svg>",
705
714
  "regular_truck_moving_circle_exclamation": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M72 80c-13.3 0-24 10.7-24 24c0 74.2 0 148.5 0 222.7c9.8-4.3 20.6-6.7 32-6.7c26.2 0 49.4 12.6 64 32c14.6-19.4 37.8-32 64-32s49.4 12.6 64 32c16.2 0 32.5 0 48.7 0c-.5 5.3-.7 10.6-.7 16c0 10.9 1 21.6 2.9 32c-11.6 0-23.3 0-34.9 0c0 44.2-35.8 80-80 80c-26.2 0-49.4-12.6-64-32c-14.6 19.4-37.8 32-64 32c-44.2 0-80-35.8-80-80c0-16 0-32 0-48s0-32 0-48c0-66.7 0-133.3 0-200C0 64.2 32.2 32 72 32c112 0 224 0 336 0c39.8 0 72 32.2 72 72c0 13.3 0 26.7 0 40c16.3 0 32.5 0 48.8 0c16.8 0 32.7 7.5 43.3 20.5c19.6 24 39.3 47.9 58.9 71.9c5.8 7.1 9 16.1 9 25.3c0 1.7 0 3.4 0 5.1c-24.4-34.6-61-60.1-103.5-70.1c-.5-.6-1-1.2-1.5-1.8c-1.5-1.9-3.8-2.9-6.2-2.9c-10.9 0-21.9 0-32.8 0c-5.3 0-10.7 0-16 0c0 .2 0 .5 0 .7c-16.8 1.5-32.9 5.4-48 11.3c0-33.3 0-66.7 0-100c0-13.3-10.7-24-24-24c-112 0-224 0-336 0zM240 400c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zM80 432c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zm560-64c0 79.5-64.5 144-144 144s-144-64.5-144-144s64.5-144 144-144s144 64.5 144 144zM496 416c-13.3 0-24 10.7-24 24s10.7 24 24 24s24-10.7 24-24s-10.7-24-24-24zm16-128c0-8.8-7.2-16-16-16s-16 7.2-16 16c0 26.7 0 53.3 0 80c0 8.8 7.2 16 16 16s16-7.2 16-16c0-26.7 0-53.3 0-80z\"/></svg>",
706
715
  "regular_truck_moving_circle_user": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M72 80c-13.3 0-24 10.7-24 24c0 74.2 0 148.5 0 222.7c9.8-4.3 20.6-6.7 32-6.7c26.2 0 49.4 12.6 64 32c14.6-19.4 37.8-32 64-32s49.4 12.6 64 32c16.2 0 32.5 0 48.7 0c-.5 5.3-.7 10.6-.7 16c0 10.9 1 21.6 2.9 32c-11.6 0-23.3 0-34.9 0c0 44.2-35.8 80-80 80c-26.2 0-49.4-12.6-64-32c-14.6 19.4-37.8 32-64 32c-44.2 0-80-35.8-80-80c0-16 0-32 0-48s0-32 0-48c0-66.7 0-133.3 0-200C0 64.2 32.2 32 72 32c112 0 224 0 336 0c39.8 0 72 32.2 72 72c0 13.3 0 26.7 0 40c16.3 0 32.5 0 48.8 0c16.8 0 32.7 7.5 43.3 20.5c19.6 24 39.3 47.9 58.9 71.9c5.8 7.1 9 16.1 9 25.3c0 1.7 0 3.4 0 5.1c-24.4-34.6-61-60.1-103.5-70.1c-.5-.6-1-1.2-1.5-1.8c-1.5-1.9-3.8-2.9-6.2-2.9c-10.9 0-21.9 0-32.8 0c-5.3 0-10.7 0-16 0c0 .2 0 .5 0 .7c-16.8 1.5-32.9 5.4-48 11.3c0-33.3 0-66.7 0-100c0-13.3-10.7-24-24-24c-112 0-224 0-336 0zM240 400c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zM80 432c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zm272-64c0-79.5 64.5-144 144-144s144 64.5 144 144s-64.5 144-144 144s-144-64.5-144-144zM496 480c30.2 0 57.5-11.9 77.7-31.3c-6.2-19-24-32.7-45.1-32.7c-21.7 0-43.5 0-65.2 0c-21 0-38.9 13.7-45.1 32.7C438.5 468.1 465.8 480 496 480zm0-96c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48z\"/></svg>",
716
+ "regular_truck_moving_clock": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M0 104C0 64.2 32.2 32 72 32l336 0c39.8 0 72 32.2 72 72l0 40 48.8 0c16.8 0 32.7 7.5 43.3 20.5L631 236.4c5.8 7.1 9 16.1 9 25.3l0 5.1c-24.4-34.6-61-60.1-103.5-70.1l-1.5-1.8c-1.5-1.9-3.8-2.9-6.2-2.9L496 192l-16 0 0 .7c-16.8 1.5-32.9 5.4-48 11.3l0-100c0-13.3-10.7-24-24-24L72 80c-13.3 0-24 10.7-24 24l0 222.7c9.8-4.3 20.6-6.7 32-6.7c26.2 0 49.4 12.6 64 32c14.6-19.4 37.8-32 64-32s49.4 12.6 64 32l48.7 0c-.5 5.3-.7 10.6-.7 16c0 10.9 1 21.6 2.9 32L288 400c0 44.2-35.8 80-80 80c-26.2 0-49.4-12.6-64-32c-14.6 19.4-37.8 32-64 32c-44.2 0-80-35.8-80-80l0-48 0-48L0 104zM48 400c0 17.7 14.3 32 32 32s32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32zm128 0c0 17.7 14.3 32 32 32s32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32zm176-32c0-79.5 64.5-144 144-144s144 64.5 144 144s-64.5 144-144 144s-144-64.5-144-144zm128-64l0 64c0 8.8 7.2 16 16 16l48 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-32 0 0-48c0-8.8-7.2-16-16-16s-16 7.2-16 16z\"/></svg>",
717
+ "regular_warehouse_clock": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M0 176.3c0-29.3 17.8-55.7 44.9-66.7L299 6.6c13.5-5.5 28.6-5.5 42.1 0l254 103c27.2 11 45 37.4 45 66.7L640 488l0-120 0-101.2c-12.9-18.3-29.2-34-48-46.3l0-44.2c0-9.8-5.9-18.6-15-22.2L323 51.1c-1.9-.8-4.1-.8-6 0L63 154.1c-9.1 3.7-15 12.5-15 22.2L48 488c0 13.3-10.7 24-24 24s-24-10.7-24-24L0 176.3zM96 232c0-22.1 17.9-40 40-40l360 0c-46.8 0-89.3 18.2-120.8 48L144 240l0 40 199.5 0c-8.5 14.8-15 30.9-19 48L144 328l0 48 176.2 0c.7 16.7 3.8 32.8 8.9 48L144 424l0 40 204.5 0c12.3 18.8 28 35.1 46.3 48l-274.5 0-.3 0c-13.3 0-24-10.7-24-24l0-256zM352 368c0-79.5 64.5-144 144-144s144 64.5 144 144s-64.5 144-144 144s-144-64.5-144-144zm128-64l0 64c0 8.8 7.2 16 16 16l48 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-32 0 0-48c0-8.8-7.2-16-16-16s-16 7.2-16 16zm16-112l8 0c2.5 0 4.9 .2 7.2 .7c-5-.4-10.1-.7-15.2-.7z\"/></svg>",
707
718
  "remark": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 30 30\"><g ><path d=\"M15,.93C6.72,.93,0,5.83,0,11.89c0,2.12,.84,4.09,2.27,5.77h-.16c.16,.1,.28,.22,.43,.32,.4,.44,.86,.85,1.35,1.24,3.07,3.75,.06,8.71-3.25,9.84,5.79-1.34,9.31-3.89,10.9-6.53,1.11,.19,2.27,.31,3.46,.31,8.28,0,15-4.91,15-10.96S23.28,.93,15,.93Z\" fill=\"#484f60\"/></g></svg>",
708
719
  "resize": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 51 51\"><polygon points=\"1.1 49.9 1.1 30.6 7.8 37.3 37.3 8 30.6 1.3 49.9 1.3 49.9 20.6 43.2 13.9 13.7 43.2 20.5 49.9 1.1 49.9\" fill=\"#4d5050\"/></svg>",
709
720
  "service_cart_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M64 24C64 10.7 74.7 0 88 0h45.5c22 0 41.5 12.8 50.6 32h411c26.3 0 45.5 25 38.6 50.4l-41 152.3c-8.5 31.4-37 53.3-69.5 53.3H234.7l5.4 28.5c2.2 11.3 12.1 19.5 23.6 19.5H552c13.3 0 24 10.7 24 24s-10.7 24-24 24H263.7c-34.6 0-64.3-24.6-70.7-58.5l-51.6-271c-.7-3.8-4-6.5-7.9-6.5H88C74.7 48 64 37.3 64 24zM225.6 240H523.2c10.9 0 20.4-7.3 23.2-17.8L584.7 80H195.1l30.5 160zM192 464a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zm336-48a48 48 0 1 1 0 96 48 48 0 1 1 0-96zM24 96h80c13.3 0 24 10.7 24 24s-10.7 24-24 24H24c-13.3 0-24-10.7-24-24s10.7-24 24-24zm0 80h96c13.3 0 24 10.7 24 24s-10.7 24-24 24H24c-13.3 0-24-10.7-24-24s10.7-24 24-24zm0 80H136c13.3 0 24 10.7 24 24s-10.7 24-24 24H24c-13.3 0-24-10.7-24-24s10.7-24 24-24z\"/></svg>",
@@ -731,6 +742,7 @@ const IconSvg = {
731
742
  "toolbox_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M184 80l144 0c4.4 0 8 3.6 8 8l0 40-160 0 0-40c0-4.4 3.6-8 8-8zm-56 8l0 40-28.1 0c-12.7 0-24.9 5.1-33.9 14.1L14.1 193.9c-9 9-14.1 21.2-14.1 33.9L0 328l0 88c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-88 0-100.1c0-12.7-5.1-24.9-14.1-33.9l-51.9-51.9c-9-9-21.2-14.1-33.9-14.1L384 128l0-40c0-30.9-25.1-56-56-56L184 32c-30.9 0-56 25.1-56 56zM464 304l-96 0 0-16c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 16-128 0 0-16c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 16-96 0 0-76.1L99.9 176l312.2 0L464 227.9l0 76.1zM48 352l96 0 0 16c0 13.3 10.7 24 24 24s24-10.7 24-24l0-16 128 0 0 16c0 13.3 10.7 24 24 24s24-10.7 24-24l0-16 96 0 0 64c0 8.8-7.2 16-16 16L64 432c-8.8 0-16-7.2-16-16l0-64z\"/></svg>",
732
743
  "trash_bin": "<svg preserveAspectRatio=\"none\" version=\"1.1\" viewBox=\"0 0 50 50\" x=\"0px\" xmlns=\"http://www.w3.org/2000/svg\" y=\"0px\"><g transform=\" translate(14 10)\"><path d=\"M 0 0 L 0 18.215 C 0 19.99 1.439 21.429 3.215 21.429 L 15 21.429 C 16.775 21.429 18.215 19.99 18.215 18.215 L 18.215 0 L 0 0 Z M 4.287 19.286 L 2.143 19.286 L 2.143 2.143 L 4.287 2.143 L 4.287 19.286 Z M 10.18 19.286 L 8.037 19.286 L 8.037 2.143 L 10.18 2.143 L 10.18 19.286 Z M 16.072 19.286 L 13.93 19.286 L 13.93 2.143 L 16.072 2.143 L 16.072 19.286 Z\" fill=\"#1E2930\" transform=\" translate(1.891 8.571)\" /><path d=\"M 18.213 2.143 L 10.713 2.143 C 11.305 2.143 11.785 1.664 11.785 1.071 C 11.785 0.479 11.305 0 10.713 0 L 9.643 0 C 9.051 0 8.57 0.479 8.57 1.071 C 8.57 1.664 9.051 2.143 9.643 2.143 L 2.143 2.143 C 0.959 2.143 0 3.103 0 4.286 L 0 5.357 C 0 6.541 0.959 6.429 2.143 6.429 L 18.213 6.429 C 19.397 6.429 20.357 6.541 20.357 5.357 L 20.357 4.286 C 20.357 3.103 19.397 2.143 18.213 2.143 Z\" fill=\"#1E2930\" transform=\" translate(0.821 0)\" /></g></svg>",
733
744
  "trash_can_light": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><path d=\"M144 400C144 408.8 136.8 416 128 416C119.2 416 112 408.8 112 400V176C112 167.2 119.2 160 128 160C136.8 160 144 167.2 144 176V400zM240 400C240 408.8 232.8 416 224 416C215.2 416 208 408.8 208 400V176C208 167.2 215.2 160 224 160C232.8 160 240 167.2 240 176V400zM336 400C336 408.8 328.8 416 320 416C311.2 416 304 408.8 304 400V176C304 167.2 311.2 160 320 160C328.8 160 336 167.2 336 176V400zM310.1 22.56L336.9 64H432C440.8 64 448 71.16 448 80C448 88.84 440.8 96 432 96H416V432C416 476.2 380.2 512 336 512H112C67.82 512 32 476.2 32 432V96H16C7.164 96 0 88.84 0 80C0 71.16 7.164 64 16 64H111.1L137 22.56C145.8 8.526 161.2 0 177.7 0H270.3C286.8 0 302.2 8.526 310.1 22.56V22.56zM148.9 64H299.1L283.8 39.52C280.9 34.84 275.8 32 270.3 32H177.7C172.2 32 167.1 34.84 164.2 39.52L148.9 64zM64 432C64 458.5 85.49 480 112 480H336C362.5 480 384 458.5 384 432V96H64V432z\"/></svg>",
745
+ "trash_can_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><path d=\"M170.5 51.6L151.5 80l145 0-19-28.4c-1.5-2.2-4-3.6-6.7-3.6l-93.7 0c-2.7 0-5.2 1.3-6.7 3.6zm147-26.6L354.2 80 368 80l48 0 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-8 0 0 304c0 44.2-35.8 80-80 80l-224 0c-44.2 0-80-35.8-80-80l0-304-8 0c-13.3 0-24-10.7-24-24S10.7 80 24 80l8 0 48 0 13.8 0 36.7-55.1C140.9 9.4 158.4 0 177.1 0l93.7 0c18.7 0 36.2 9.4 46.6 24.9zM80 128l0 304c0 17.7 14.3 32 32 32l224 0c17.7 0 32-14.3 32-32l0-304L80 128zm80 64l0 208c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-208c0-8.8 7.2-16 16-16s16 7.2 16 16zm80 0l0 208c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-208c0-8.8 7.2-16 16-16s16 7.2 16 16zm80 0l0 208c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-208c0-8.8 7.2-16 16-16s16 7.2 16 16z\"/></svg>",
734
746
  "triangle_down": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><polygon points=\"29.06 18.75 37.5 18.75 25 31.25 12.5 18.75 20.95 18.75 29.06 18.75\" fill=\"#484f60\"/></svg>",
735
747
  "triangle_up": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><polygon points=\"20.94 31.25 12.5 31.25 25 18.75 37.5 31.25 29.05 31.25 20.94 31.25\" fill=\"#484f60\"/></svg>",
736
748
  "truck": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><rect x=\"10\" y=\"14.75\" width=\"17.47\" height=\"12.62\" fill=\"#484f60\"/><path d=\"M37,18.11h-8V28.84H20.22a4.42,4.42,0,0,1,1.41,2.73H30a4.41,4.41,0,0,1,8.76,0H40V24.63Zm-.26,6.73H32.25a.57.57,0,0,1-.57-.57V20a.57.57,0,0,1,.57-.58h2.63a.58.58,0,0,1,.52.35L37.31,24A.58.58,0,0,1,36.78,24.84Z\" fill=\"#484f60\"/><path d=\"M14.28,28.84a4.39,4.39,0,0,0-1.42,2.73H12l-2-1.26V28.84Z\" fill=\"#484f60\"/><path d=\"M31.25,32.1a3.16,3.16,0,1,0,3.16-3.16A3.16,3.16,0,0,0,31.25,32.1Z\" fill=\"#484f60\"/><path d=\"M14.09,32.1a3.16,3.16,0,1,0,3.16-3.16A3.15,3.15,0,0,0,14.09,32.1Z\" fill=\"#484f60\"/></svg>",
@@ -23516,6 +23528,7 @@ class DeliveryPlanningService {
23516
23528
  this.viewMode = DeliveryPlanningViewModes.Fullscreen;
23517
23529
  this.currentPlanningMode = DeliveryPlanningModes.Transaction;
23518
23530
  this.currentStartDate = new Date();
23531
+ this.availabilityCheckEvent = new Subject();
23519
23532
  }
23520
23533
  get dragging() {
23521
23534
  return this._dragging;
@@ -23542,6 +23555,9 @@ class DeliveryPlanningService {
23542
23555
  return this._tilesQueryList;
23543
23556
  }
23544
23557
  set dragging(value) {
23558
+ if (!this._dragging && value) {
23559
+ this.availabilityCheckEvent.next(this.currentTransId);
23560
+ }
23545
23561
  this._dragging = value;
23546
23562
  }
23547
23563
  set planTransportWeek(value) {
@@ -23623,6 +23639,18 @@ class DeliveryPlanningService {
23623
23639
  return weekArrays;
23624
23640
  });
23625
23641
  }
23642
+ totalAssemblyTime(planOrder) {
23643
+ var _a;
23644
+ if (planOrder) {
23645
+ let total = 0;
23646
+ (_a = planOrder === null || planOrder === void 0 ? void 0 : planOrder.lines) === null || _a === void 0 ? void 0 : _a.forEach((line) => {
23647
+ if (line.minutes > 0) {
23648
+ total += line.minutes;
23649
+ }
23650
+ });
23651
+ return total;
23652
+ }
23653
+ }
23626
23654
  }
23627
23655
  DeliveryPlanningService.ɵprov = i0.ɵɵdefineInjectable({ factory: function DeliveryPlanningService_Factory() { return new DeliveryPlanningService(i0.ɵɵinject(TransactionConnectorService)); }, token: DeliveryPlanningService, providedIn: "root" });
23628
23656
  DeliveryPlanningService.decorators = [
@@ -23700,6 +23728,7 @@ class TransactionPlanningLineComponent extends TransactionBaseComponent {
23700
23728
  }
23701
23729
  }
23702
23730
  dragStarted(ev) {
23731
+ this._deliveryPlanningService.currentTransId = this.transaction.transactionInfo.id;
23703
23732
  ev.dataTransfer.setData("text", "lines");
23704
23733
  }
23705
23734
  lineNotPlanned(line) {
@@ -24265,8 +24294,17 @@ TransactionCashDeskFilterComponent.propDecorators = {
24265
24294
  };
24266
24295
 
24267
24296
  class TransactionCardPlanningComponent extends TransactionBaseComponent {
24268
- constructor() {
24269
- super(...arguments);
24297
+ constructor(_deliveryPlanningService, transactionEventService, iconCacheService, screenConfigService, orderLineSetService, imageService, dictionaryService, transactionService, changeDetector) {
24298
+ super(transactionEventService, iconCacheService, screenConfigService, imageService, dictionaryService, transactionService, changeDetector);
24299
+ this._deliveryPlanningService = _deliveryPlanningService;
24300
+ this.transactionEventService = transactionEventService;
24301
+ this.iconCacheService = iconCacheService;
24302
+ this.screenConfigService = screenConfigService;
24303
+ this.orderLineSetService = orderLineSetService;
24304
+ this.imageService = imageService;
24305
+ this.dictionaryService = dictionaryService;
24306
+ this.transactionService = transactionService;
24307
+ this.changeDetector = changeDetector;
24270
24308
  this.expanded = false;
24271
24309
  this.statusBarConfigNames = {
24272
24310
  statusBarBT: this.cfgNames.StatusBarBT,
@@ -24294,6 +24332,7 @@ class TransactionCardPlanningComponent extends TransactionBaseComponent {
24294
24332
  this.transactionEventService.openSidePanel.next(line);
24295
24333
  }
24296
24334
  dragStarted(ev) {
24335
+ this._deliveryPlanningService.currentTransId = this.transaction.transactionInfo.id;
24297
24336
  ev.dataTransfer.setData("text", "lines");
24298
24337
  }
24299
24338
  }
@@ -24367,6 +24406,17 @@ TransactionCardPlanningComponent.decorators = [
24367
24406
  encapsulation: ViewEncapsulation.None
24368
24407
  },] }
24369
24408
  ];
24409
+ TransactionCardPlanningComponent.ctorParameters = () => [
24410
+ { type: DeliveryPlanningService },
24411
+ { type: TransactionEventService },
24412
+ { type: IconCacheService },
24413
+ { type: TransactionScreenConfigurationService },
24414
+ { type: OrderLineSetService },
24415
+ { type: TransactionImageService },
24416
+ { type: DictionaryService },
24417
+ { type: TransactionService },
24418
+ { type: ChangeDetectorRef }
24419
+ ];
24370
24420
  TransactionCardPlanningComponent.propDecorators = {
24371
24421
  transactionLineActionButtons: [{ type: ViewChild, args: [TransactionLineActionButtonsComponent,] }],
24372
24422
  showClass: [{ type: HostBinding, args: ["class.co-transaction-card-sales-overview",] }]
@@ -38481,6 +38531,7 @@ class TransactionInternalComponent {
38481
38531
  this.relation = new CustomerFullObject();
38482
38532
  this.showHeader = true;
38483
38533
  this.showViewModeButtons = true;
38534
+ this.transactionPlanning = false;
38484
38535
  this.relationChange = new EventEmitter();
38485
38536
  this.showQuickAccess = true;
38486
38537
  this.showButtonBar = true;
@@ -38852,14 +38903,15 @@ TransactionInternalComponent.decorators = [
38852
38903
  <div *ngIf="activeCategory === category.ServiceOrderService">
38853
38904
  <co-transaction-service-overview [posOrderData]="posOrderData" [transaction]="transaction"></co-transaction-service-overview>
38854
38905
  </div>
38855
- <div class="transaction-tiles-wrapper" *ngIf="activeViewMode === viewModes.Tiles || shouldShowTiles()">
38906
+ <div class="transaction-tiles-wrapper" *ngIf="activeViewMode === viewModes.Tiles || shouldShowTiles() || transactionPlanning">
38856
38907
  <co-transaction-cards
38857
38908
  [transaction]="transaction"
38858
- [activeCategory]="activeCategory">
38909
+ [activeCategory]="activeCategory"
38910
+ [class.planning-cards]="transactionPlanning">
38859
38911
  </co-transaction-cards>
38860
38912
  </div>
38861
38913
  <div class="transaction-lines-wrapper"
38862
- *ngIf="(activeViewMode === viewModes.List && !shouldShowTiles()) && activeCategory !== category.ServiceOrderService">
38914
+ *ngIf="(activeViewMode === viewModes.List && !shouldShowTiles()) && activeCategory !== category.ServiceOrderService && !transactionPlanning">
38863
38915
  <co-transaction-lines
38864
38916
  [transaction]="transaction"
38865
38917
  [activeCategory]="activeCategory"
@@ -38993,6 +39045,7 @@ TransactionInternalComponent.propDecorators = {
38993
39045
  transaction: [{ type: Input }],
38994
39046
  showHeader: [{ type: Input }],
38995
39047
  showViewModeButtons: [{ type: Input }],
39048
+ transactionPlanning: [{ type: Input }],
38996
39049
  relationChange: [{ type: Output }],
38997
39050
  showQuickAccess: [{ type: HostBinding, args: ['class.show-quick-access',] }, { type: Input }],
38998
39051
  showButtonBar: [{ type: HostBinding, args: ['class.show-button-bar',] }, { type: Input }],
@@ -40777,7 +40830,7 @@ TransactionLineSidePanelPlanningComponent.decorators = [
40777
40830
  { type: Component, args: [{
40778
40831
  selector: "co-transaction-line-side-panel-planning",
40779
40832
  template: `
40780
- <div class="wrapper">
40833
+ <div class="wrapper line-side-planning">
40781
40834
  <co-delivery-planning [currentPlanningViewMode]="deliveryPlanningViewModes.Sidebar" [calendarViewMode]="calendarViewModes.DaysAround" [currentPlanningMode]="deliveryPlanningModes.Transaction"></co-delivery-planning>
40782
40835
  </div>
40783
40836
  `,
@@ -42747,6 +42800,7 @@ class DeliveryPlanningOverviewTileComponent {
42747
42800
  this.getTransportOrdersEvent = new EventEmitter();
42748
42801
  this.updatePlanningTransportWeek = new EventEmitter();
42749
42802
  this.openSettingsDialogEvent = new EventEmitter();
42803
+ this.calendarPlanEvent = new EventEmitter();
42750
42804
  }
42751
42805
  get tileMode() {
42752
42806
  return this._deliveryPlanningService.currentTileMode;
@@ -42766,6 +42820,10 @@ class DeliveryPlanningOverviewTileComponent {
42766
42820
  drop(event) {
42767
42821
  // moveItemInArray(this.planningLines, event.previousIndex, event.currentIndex);
42768
42822
  }
42823
+ handleDrop(event) {
42824
+ event.preventDefault();
42825
+ event.stopPropagation();
42826
+ }
42769
42827
  formattedDate(date) {
42770
42828
  return `${this._datePipe.transform(date, 'H:mm', "GMT+1")}`;
42771
42829
  }
@@ -42796,6 +42854,9 @@ class DeliveryPlanningOverviewTileComponent {
42796
42854
  order.endTime = new Date(obj['endTime']);
42797
42855
  this.updatePlanningTransportWeek.emit();
42798
42856
  }
42857
+ handleCalendarPlanEvent(data) {
42858
+ this.calendarPlanEvent.emit(data);
42859
+ }
42799
42860
  }
42800
42861
  DeliveryPlanningOverviewTileComponent.decorators = [
42801
42862
  { type: Component, args: [{
@@ -42872,7 +42933,8 @@ DeliveryPlanningOverviewTileComponent.decorators = [
42872
42933
  [customTemplateUsed]="true"
42873
42934
  [idProp]="'transId'"
42874
42935
  (timeChangeEvent)="handleTimeChangeEvent($event)"
42875
-
42936
+ (drop)="handleDrop($event)"
42937
+ (newObjectPlanEvent)="handleCalendarPlanEvent($event)"
42876
42938
  ></co-hour-scheduling>
42877
42939
  </div>
42878
42940
  </co-collapsible>
@@ -42896,6 +42958,7 @@ DeliveryPlanningOverviewTileComponent.propDecorators = {
42896
42958
  getTransportOrdersEvent: [{ type: Output }],
42897
42959
  updatePlanningTransportWeek: [{ type: Output }],
42898
42960
  openSettingsDialogEvent: [{ type: Output }],
42961
+ calendarPlanEvent: [{ type: Output }],
42899
42962
  showClass: [{ type: HostBinding, args: ["class.co-delivery-planning-overview-tile",] }]
42900
42963
  };
42901
42964
 
@@ -42910,6 +42973,7 @@ class DeliveryPlanningOverviewComponent {
42910
42973
  this.icons = Icon;
42911
42974
  this.tileModes = DeliveryPlanningTileModes;
42912
42975
  this.deliveryPlanningViewModes = DeliveryPlanningViewModes;
42976
+ this.availability = [];
42913
42977
  this.columnNum = 3; //initial count
42914
42978
  this.planOrders = [];
42915
42979
  this.currentMode = DeliveryPlanningCalendarModes.Week;
@@ -42924,7 +42988,6 @@ class DeliveryPlanningOverviewComponent {
42924
42988
  this.showSettingsDialog = false;
42925
42989
  }
42926
42990
  set tiles(tiles) {
42927
- this._deliveryPlanningService;
42928
42991
  this.tilesQueryList = tiles;
42929
42992
  }
42930
42993
  ;
@@ -42960,6 +43023,8 @@ class DeliveryPlanningOverviewComponent {
42960
43023
  dropped(ev, week, transportDay, transportDays) {
42961
43024
  return __awaiter(this, void 0, void 0, function* () {
42962
43025
  ev.preventDefault();
43026
+ ev.stopPropagation();
43027
+ this._deliveryPlanningService.dragging = false;
42963
43028
  const data = ev.dataTransfer.getData("text");
42964
43029
  let index = transportDays.indexOf(transportDay);
42965
43030
  let tile = this.tilesQueryList.get(index);
@@ -42970,15 +43035,7 @@ class DeliveryPlanningOverviewComponent {
42970
43035
  yield this._transaction.getTransactionById(parseInt(data));
42971
43036
  const planOrder = yield this._transactionCon.getPlanOrder(parseInt(data));
42972
43037
  if (planOrder) {
42973
- this.showNoteDialog = true;
42974
- this._changeDetector.markForCheck();
42975
- this._changeDetector.detectChanges();
42976
- if (this.planningPopupRef) {
42977
- this.planningPopupRef.planOrder = planOrder;
42978
- this.planningPopupRef.transportDay = transportDay;
42979
- this.planningPopupRef.week = week;
42980
- this.planningPopupRef.transaction = this._transaction.currentTransaction;
42981
- }
43038
+ this.openPlanningPopup(planOrder, transportDay, week);
42982
43039
  }
42983
43040
  }
42984
43041
  else {
@@ -43067,10 +43124,6 @@ class DeliveryPlanningOverviewComponent {
43067
43124
  request.planningId = this._deliveryPlanningService.currentPlanning.planningId;
43068
43125
  request.date = transportDay.date;
43069
43126
  request.transportId = transportDay.transport.transportId;
43070
- order.startTime = transportDay.transport.startTime;
43071
- let endDate = new Date(transportDay.transport.startTime);
43072
- this.addHours(endDate, 1);
43073
- order.endTime = endDate;
43074
43127
  transportDay.plannedOrders = yield this._transactionCon.getTransportOrders(request);
43075
43128
  transportDay.ordersLoaded = true;
43076
43129
  });
@@ -43119,8 +43172,10 @@ class DeliveryPlanningOverviewComponent {
43119
43172
  }
43120
43173
  }
43121
43174
  });
43122
- if (transportDay.plannedOrders.find(order => order.transId === planOrder.transId).lines.length > originalPlannedLineCount) {
43123
- this.updatePlanningTransportEvent.emit(week);
43175
+ let correctOrder = transportDay.plannedOrders.find(order => order.transactionNr === planOrder.transactionNr);
43176
+ transportDay.plannedOrders.splice(transportDay.plannedOrders.indexOf(correctOrder), 1);
43177
+ if (correctOrder.lines.length > originalPlannedLineCount) {
43178
+ this.openPlanningPopup(correctOrder, transportDay, week);
43124
43179
  }
43125
43180
  }
43126
43181
  else {
@@ -43154,6 +43209,69 @@ class DeliveryPlanningOverviewComponent {
43154
43209
  this.showSettingsDialog = true;
43155
43210
  }
43156
43211
  }
43212
+ handleCalendarPlanEvent(data, transportWeekDay, week) {
43213
+ var _a;
43214
+ return __awaiter(this, void 0, void 0, function* () {
43215
+ let planOrder;
43216
+ if (data.data === "false" && this._deliveryPlanningService.currentTransId) {
43217
+ planOrder = yield this._transactionCon.getPlanOrder((_a = this._deliveryPlanningService) === null || _a === void 0 ? void 0 : _a.currentTransId);
43218
+ }
43219
+ else {
43220
+ planOrder = yield this._transactionCon.getPlanOrder(parseInt(data.data));
43221
+ }
43222
+ if (planOrder && data.currentHour) {
43223
+ planOrder.startTime = this.calculateStartTime(transportWeekDay, data.currentHour);
43224
+ planOrder.endTime = this.calculateEndTime(planOrder.startTime, data.currentHour, planOrder);
43225
+ yield this.getTransportOrders(planOrder, transportWeekDay);
43226
+ yield this.getSequenceOrderValue(planOrder);
43227
+ yield this.getOrderLinesPlanned(planOrder);
43228
+ yield this.planOrderLines(planOrder, transportWeekDay, week);
43229
+ this._deliveryPlanningService.currentTransId = undefined;
43230
+ }
43231
+ });
43232
+ }
43233
+ calculateStartTime(transportWeekDay, currentHour) {
43234
+ let startDate = new Date(transportWeekDay.date);
43235
+ let startTime = parseInt(currentHour.split(":")[0]);
43236
+ startDate.setHours(startTime);
43237
+ startDate.setMinutes(parseInt(currentHour.split(":")[1]) > 0 ? parseInt(currentHour.split(":")[1]) : 0);
43238
+ startDate.setSeconds(0);
43239
+ return startDate;
43240
+ }
43241
+ calculateEndTime(startDate, currentHour, planOrder) {
43242
+ let endTime = new Date(startDate);
43243
+ let splitHour = currentHour.split(":");
43244
+ const newEndMinutes = splitHour[1] === "00" ? 30 : 0;
43245
+ const newEndHour = splitHour[1] === "30" ? (parseInt(splitHour[0]) + 1) : parseInt(splitHour[0]);
43246
+ endTime.setHours(newEndHour);
43247
+ endTime.setMinutes(newEndMinutes);
43248
+ let assemblyTime = this._deliveryPlanningService.totalAssemblyTime(planOrder) * 60 * 1000;
43249
+ endTime.setTime(endTime.getTime() + assemblyTime);
43250
+ return endTime;
43251
+ }
43252
+ openPlanningPopup(planOrder, transportDay, week) {
43253
+ this.showNoteDialog = true;
43254
+ this._changeDetector.markForCheck();
43255
+ this._changeDetector.detectChanges();
43256
+ if (this.planningPopupRef) {
43257
+ this.planningPopupRef.planOrder = planOrder;
43258
+ this.planningPopupRef.transportDay = transportDay;
43259
+ this.planningPopupRef.week = week;
43260
+ this.planningPopupRef.transaction = this._transaction.currentTransaction;
43261
+ }
43262
+ }
43263
+ handleAvailabilityChecked(value) {
43264
+ this.availability.push(value);
43265
+ }
43266
+ checkAvailable(transportDay) {
43267
+ let transport = this.availability.find(transportObject => transportObject.transportDay === transportDay);
43268
+ if (transport && !transport.available) {
43269
+ return true;
43270
+ }
43271
+ else {
43272
+ return false;
43273
+ }
43274
+ }
43157
43275
  }
43158
43276
  DeliveryPlanningOverviewComponent.decorators = [
43159
43277
  { type: Component, args: [{
@@ -43161,22 +43279,21 @@ DeliveryPlanningOverviewComponent.decorators = [
43161
43279
  template: `
43162
43280
  <co-delivery-planning-overview-popup #planningPopup *ngIf="showNoteDialog" (closeEvent)="showNoteDialog = false"
43163
43281
  (onSucceededPlanAction)="handlePopupPlanEvent($event)"></co-delivery-planning-overview-popup>
43164
- <co-delivery-planning-overview-tile-settings-popup *ngIf="showSettingsDialog" [transportDay]="selectedTransportDay" (onSaveAction)="handleSettingsSave($event)" (closeEvent)="showSettingsDialog = false"></co-delivery-planning-overview-tile-settings-popup>
43282
+ <co-delivery-planning-overview-tile-settings-popup *ngIf="showSettingsDialog" [transportDay]="selectedTransportDay" (availabilityChecked)="handleAvailabilityChecked($event)" (onSaveAction)="handleSettingsSave($event)" (closeEvent)="showSettingsDialog = false"></co-delivery-planning-overview-tile-settings-popup>
43165
43283
  <div class="delivery-overview-wrapper" [class.sidebar]="currentViewMode === 'DAYS_AROUND'">
43284
+ <div class="tile-view-modes row">
43285
+ <co-icon (click)="currentTileMode = tileModes.Normal" [class.active]="currentTileMode === tileModes.Normal" [iconData]="iconCacheService.getIcon(icons.CalendarLinesRegular)"></co-icon>
43286
+ <co-icon (click)="currentTileMode = tileModes.Calendar" [class.active]="currentTileMode === tileModes.Calendar" [iconData]="iconCacheService.getIcon(icons.CalendarDayRegular)"></co-icon>
43287
+ </div>
43166
43288
  <div class="planning-component-wrapper">
43167
43289
  <co-date-planning [view]="currentViewMode" [selectedDate]="date"
43168
43290
  (rangeChange)="handleDateRangeChange($event)"></co-date-planning>
43169
43291
  </div>
43170
-
43171
- <div class="tile-view-modes row">
43172
- <co-icon (click)="currentTileMode = tileModes.Normal" [class.active]="currentTileMode === tileModes.Normal" [iconData]="iconCacheService.getIcon(icons.ObjectIntersectSolid)"></co-icon>
43173
- <co-icon (click)="currentTileMode = tileModes.Calendar" [class.active]="currentTileMode === tileModes.Calendar" [iconData]="iconCacheService.getIcon(icons.CalendarDayRegular)"></co-icon>
43174
- </div>
43175
43292
  <div class="row date-planning" #rowContainer *ngFor="let transportWeekRow of planTransportWeek">
43176
43293
  <div class="column" #columnElem
43177
43294
  *ngFor="let transPortDay of filterWeekArray(weekArray(transportWeekRow)); index as i">
43178
43295
  <co-delivery-planning-overview-tile
43179
- [class.disabled]="!transPortDay.availableOnDate || transPortDay.maxMinutes === 0"
43296
+ [class.disabled]="!transPortDay.availableOnDate || transPortDay.maxMinutes === 0 || checkAvailable(transPortDay)"
43180
43297
  [disabled]="!transPortDay.availableOnDate || transPortDay.maxMinutes === 0"
43181
43298
  (dragover)="allowDrop($event, transPortDay)"
43182
43299
  (drop)="dropped($event, transportWeekRow, transPortDay, filterWeekArray(weekArray(transportWeekRow)))"
@@ -43186,6 +43303,7 @@ DeliveryPlanningOverviewComponent.decorators = [
43186
43303
  (deleteLineEvent)="handleDeleteOrder($event, transportWeekRow)"
43187
43304
  (updatePlanningTransportWeek)="updatePlanningTransportEvent.emit(transportWeekRow)"
43188
43305
  (openSettingsDialogEvent)="openSettingsDialog($event)"
43306
+ (calendarPlanEvent)="handleCalendarPlanEvent($event, transPortDay, transportWeekRow)"
43189
43307
  ></co-delivery-planning-overview-tile>
43190
43308
 
43191
43309
  </div>
@@ -43226,7 +43344,9 @@ class DeliveryPlanningOverviewTileLineComponent {
43226
43344
  this.icons = Icon;
43227
43345
  this.expanded = false;
43228
43346
  this.linesActive = false;
43347
+ this.orderLines = false;
43229
43348
  this.order = new PlanOrder();
43349
+ this.isActive = false;
43230
43350
  this.deleteLineEvent = new EventEmitter();
43231
43351
  }
43232
43352
  showClass() {
@@ -43237,6 +43357,11 @@ class DeliveryPlanningOverviewTileLineComponent {
43237
43357
  }
43238
43358
  setLinesActive() {
43239
43359
  this.linesActive = !this.linesActive;
43360
+ this.orderLines = false;
43361
+ }
43362
+ showOrderLines(event) {
43363
+ event.stopPropagation(); // Stop the event from propagating to parent elements
43364
+ this.orderLines = !this.orderLines;
43240
43365
  }
43241
43366
  getPlannedLines(lines) {
43242
43367
  return lines.filter(line => line.planned === true);
@@ -43246,37 +43371,39 @@ DeliveryPlanningOverviewTileLineComponent.decorators = [
43246
43371
  { type: Component, args: [{
43247
43372
  selector: "co-delivery-planning-overview-tile-line",
43248
43373
  template: `
43249
- <div class="planning-line-wrapper" [class.active-lines]="linesActive">
43374
+ <div class="planning-line-wrapper" (click)="setLinesActive()" [class.active-lines]="linesActive">
43250
43375
  <div class="planning-line-content">
43251
43376
  <div class="planning-line-left">
43252
- <div class="planning-line-extend">
43253
- <co-icon *ngIf="!linesActive" (click)="setLinesActive()" [iconData]="iconCacheService.getIcon(icons.ChevronDownRegular)"></co-icon>
43254
- <co-icon *ngIf="linesActive" (click)="setLinesActive()" [iconData]="iconCacheService.getIcon(icons.ChevronUpRegular)"></co-icon>
43377
+ <div class="planning-line-extend" *ngIf="linesActive || orderLines">
43378
+ <co-icon *ngIf="!orderLines" (click)="showOrderLines($event)" [iconData]="iconCacheService.getIcon(icons.ChevronDownRegular)"></co-icon>
43379
+ <co-icon *ngIf="orderLines" (click)="showOrderLines($event)" [iconData]="iconCacheService.getIcon(icons.ChevronUpRegular)"></co-icon>
43255
43380
  </div>
43256
43381
  <div class="line-content-left">
43257
- <div class="planning-address">
43258
- <span [textContent]="order.shortAddress"></span>
43259
- </div>
43260
43382
  <div class="planning-relation">
43261
43383
  <span [textContent]="order.relationName"></span>
43262
43384
  </div>
43385
+ <div class="planning-address" *ngIf="linesActive">
43386
+ <span [textContent]="order.shortAddress"></span>
43387
+ </div>
43263
43388
  </div>
43264
43389
  </div>
43265
43390
  <div class="planning-line-right">
43266
43391
  <div class="line-content-right">
43267
43392
  <div class="planning-order">
43393
+ <co-icon (click)="setLinesActive()" [iconData]="iconCacheService.getIcon(icons.CartShoppingRegular)"></co-icon>
43268
43394
  <span [textContent]="order.transactionNr"></span>
43269
43395
  </div>
43270
- <div class="planning-time">
43396
+ <div class="planning-time" *ngIf="linesActive">
43271
43397
  <span [textContent]="(order.startTime | date: 'HH:mm') + ' - ' + (order.endTime | date: 'HH:mm')"></span>
43272
43398
  </div>
43273
43399
  </div>
43274
43400
  <div class="planning-line-actions">
43275
- <co-icon (click)="handleDeleteLineClick(order)" [iconData]="iconCacheService.getIcon(icons.TrashBin)"></co-icon>
43401
+ <co-icon *ngIf="linesActive" (click)="handleDeleteLineClick(order)" [iconData]="iconCacheService.getIcon(icons.TrashCanRegular)"></co-icon>
43402
+ <co-icon *ngIf="!linesActive" [iconData]="iconCacheService.getIcon(icons.ChevronRightRegular)"></co-icon>
43276
43403
  </div>
43277
43404
  </div>
43278
43405
  </div>
43279
- <div class="order-line-list-wrapper" *ngIf="linesActive">
43406
+ <div class="order-line-list-wrapper" *ngIf="orderLines">
43280
43407
  <div class="order-lines" *ngFor="let line of getPlannedLines(order?.lines)">
43281
43408
  <span [textContent]="line.articleNumber"></span>
43282
43409
  <span [textContent]="line.description"></span>
@@ -43292,6 +43419,7 @@ DeliveryPlanningOverviewTileLineComponent.ctorParameters = () => [
43292
43419
  ];
43293
43420
  DeliveryPlanningOverviewTileLineComponent.propDecorators = {
43294
43421
  order: [{ type: Input }],
43422
+ isActive: [{ type: Input }],
43295
43423
  deleteLineEvent: [{ type: Output }],
43296
43424
  showClass: [{ type: HostBinding, args: ["class.co-delivery-planning-overview-tile-line",] }]
43297
43425
  };
@@ -43483,15 +43611,24 @@ DeliveryPlanningOverviewTileModule.decorators = [
43483
43611
  ];
43484
43612
 
43485
43613
  class DeliveryPlanningOverviewPopupComponent {
43486
- constructor(iconCacheService, _transaction, _deliveryPlanningService) {
43614
+ constructor(iconCacheService, _transaction, deliveryPlanningService) {
43487
43615
  this.iconCacheService = iconCacheService;
43488
43616
  this._transaction = _transaction;
43489
- this._deliveryPlanningService = _deliveryPlanningService;
43617
+ this.deliveryPlanningService = deliveryPlanningService;
43490
43618
  this.icons = Icon;
43491
43619
  this.planOrder = new PlanOrder();
43492
43620
  this.closeEvent = new EventEmitter();
43493
43621
  this.onSucceededPlanAction = new EventEmitter();
43494
43622
  }
43623
+ set transportDay(transportWeekDay) {
43624
+ this.handleInitialTimePlanning(transportWeekDay);
43625
+ this._transportWeekDay = transportWeekDay;
43626
+ }
43627
+ ;
43628
+ get transportDay() {
43629
+ return this._transportWeekDay;
43630
+ }
43631
+ ;
43495
43632
  showClass() {
43496
43633
  return true;
43497
43634
  }
@@ -43501,17 +43638,8 @@ class DeliveryPlanningOverviewPopupComponent {
43501
43638
  this.transportDay = undefined;
43502
43639
  this.transaction = undefined;
43503
43640
  }
43504
- totalAssemblyTime(planOrder) {
43505
- var _a;
43506
- if (planOrder) {
43507
- let total = 0;
43508
- (_a = planOrder === null || planOrder === void 0 ? void 0 : planOrder.lines) === null || _a === void 0 ? void 0 : _a.forEach((line) => {
43509
- if (line.minutes > 0) {
43510
- total += line.minutes;
43511
- }
43512
- });
43513
- return total;
43514
- }
43641
+ impactTime() {
43642
+ return this.planOrder.impactTime ? this.planOrder.impactTime : 0;
43515
43643
  }
43516
43644
  closePopup() {
43517
43645
  this._transaction.resetCurrentTransaction();
@@ -43521,30 +43649,50 @@ class DeliveryPlanningOverviewPopupComponent {
43521
43649
  this.onSucceededPlanAction.emit([this.planOrder, this.transportDay, this.week]);
43522
43650
  }
43523
43651
  startTimeForOrder() {
43524
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
43525
- if (((_b = (_a = this.transportDay) === null || _a === void 0 ? void 0 : _a.plannedOrders) === null || _b === void 0 ? void 0 : _b.length) === 0 || !((_d = (_c = this.transportDay) === null || _c === void 0 ? void 0 : _c.plannedOrders) === null || _d === void 0 ? void 0 : _d.length)) {
43526
- this.planOrder.startTime = (_f = (_e = this.transportDay) === null || _e === void 0 ? void 0 : _e.transport) === null || _f === void 0 ? void 0 : _f.startTime;
43527
- return (_h = (_g = this.transportDay) === null || _g === void 0 ? void 0 : _g.transport) === null || _h === void 0 ? void 0 : _h.startTime;
43528
- }
43529
- return (_j = this.transportDay) === null || _j === void 0 ? void 0 : _j.plannedOrders[this.transportDay.plannedOrders.length - 1].endTime;
43652
+ return this.planOrder.startTime;
43530
43653
  }
43531
43654
  endTimeForOrder() {
43532
- if (this.planOrder.startTime) {
43533
- if (this.totalAssemblyTime(this.planOrder) === 0) {
43534
- return this._deliveryPlanningService.addHours(new Date(this.planOrder.startTime), 1);
43535
- }
43536
- }
43655
+ return this.planOrder.endTime;
43537
43656
  }
43538
- handleStartTimeChange(date) {
43539
- if (date) {
43657
+ handleStartTimeChange(timeString) {
43658
+ let originalPlanOrderDate = new Date(this.planOrder.startTime);
43659
+ let date = new Date(originalPlanOrderDate.getFullYear(), originalPlanOrderDate.getMonth(), originalPlanOrderDate.getDay(), parseInt(timeString[0]), 0);
43660
+ if (!isNaN(date.getTime())) {
43540
43661
  this.planOrder.startTime = date;
43541
43662
  }
43542
43663
  }
43543
- handleEndTimeChange(date) {
43544
- if (date) {
43664
+ handleEndTimeChange(timeString) {
43665
+ let originalPlanOrderDate = new Date(this.planOrder.startTime);
43666
+ let date = new Date(originalPlanOrderDate.getFullYear(), originalPlanOrderDate.getMonth(), originalPlanOrderDate.getDay(), parseInt(timeString[0]), 0);
43667
+ if (!isNaN(date.getTime())) {
43545
43668
  this.planOrder.endTime = date;
43546
43669
  }
43547
43670
  }
43671
+ handleInitialTimePlanning(transportWeekDay) {
43672
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
43673
+ if (!((_a = this.planOrder) === null || _a === void 0 ? void 0 : _a.startTime) && ((_b = transportWeekDay === null || transportWeekDay === void 0 ? void 0 : transportWeekDay.plannedOrders) === null || _b === void 0 ? void 0 : _b.length) === 0) {
43674
+ this.planOrder.startTime = new Date(transportWeekDay.date);
43675
+ (_d = (_c = this.planOrder) === null || _c === void 0 ? void 0 : _c.startTime) === null || _d === void 0 ? void 0 : _d.setHours(8);
43676
+ (_f = (_e = this.planOrder) === null || _e === void 0 ? void 0 : _e.startTime) === null || _f === void 0 ? void 0 : _f.setMinutes(0);
43677
+ (_h = (_g = this.planOrder) === null || _g === void 0 ? void 0 : _g.startTime) === null || _h === void 0 ? void 0 : _h.setSeconds(0);
43678
+ }
43679
+ if (!((_j = this.planOrder) === null || _j === void 0 ? void 0 : _j.endTime) && (transportWeekDay === null || transportWeekDay === void 0 ? void 0 : transportWeekDay.plannedOrders.length) === 0) {
43680
+ this.planOrder.endTime = new Date((_k = this.planOrder) === null || _k === void 0 ? void 0 : _k.startTime);
43681
+ this.planOrder.endTime.setHours(((_m = (_l = this.planOrder) === null || _l === void 0 ? void 0 : _l.endTime) === null || _m === void 0 ? void 0 : _m.getHours()) + (this.deliveryPlanningService.totalAssemblyTime(this.planOrder) > 0 ? (this.deliveryPlanningService.totalAssemblyTime(this.planOrder) / 60) : 1));
43682
+ this.planOrder.startTime.setMinutes(0);
43683
+ this.planOrder.startTime.setSeconds(0);
43684
+ }
43685
+ if ((transportWeekDay === null || transportWeekDay === void 0 ? void 0 : transportWeekDay.plannedOrders.length) > 0) {
43686
+ this.planOrder.startTime = new Date(transportWeekDay === null || transportWeekDay === void 0 ? void 0 : transportWeekDay.date);
43687
+ this.planOrder.startTime.setHours((_p = (_o = transportWeekDay === null || transportWeekDay === void 0 ? void 0 : transportWeekDay.plannedOrders[transportWeekDay.plannedOrders.length - 1]) === null || _o === void 0 ? void 0 : _o.endTime) === null || _p === void 0 ? void 0 : _p.getHours());
43688
+ this.planOrder.startTime.setMinutes(0);
43689
+ this.planOrder.startTime.setSeconds(0);
43690
+ this.planOrder.endTime = new Date(this.planOrder.startTime);
43691
+ this.planOrder.endTime.setHours(((_r = (_q = this.planOrder) === null || _q === void 0 ? void 0 : _q.endTime) === null || _r === void 0 ? void 0 : _r.getHours()) + (this.deliveryPlanningService.totalAssemblyTime(this.planOrder) > 0 ? (this.deliveryPlanningService.totalAssemblyTime(this.planOrder) / 60) : 1));
43692
+ this.planOrder.startTime.setMinutes(0);
43693
+ this.planOrder.startTime.setSeconds(0);
43694
+ }
43695
+ }
43548
43696
  }
43549
43697
  DeliveryPlanningOverviewPopupComponent.decorators = [
43550
43698
  { type: Component, args: [{
@@ -43574,15 +43722,15 @@ DeliveryPlanningOverviewPopupComponent.decorators = [
43574
43722
  <span class="h1" [textContent]="'TIME_SETTINGS' | localize"></span>
43575
43723
  </div>
43576
43724
  <div class="popup-row">
43577
- <co-input-text [model]="planOrder?.impactTime" [placeholder]="'IMPACT_TIME' | localize"></co-input-text>
43578
- <co-input-text [model]="totalAssemblyTime(planOrder)"
43725
+ <co-input-text [model]="impactTime()" [placeholder]="'IMPACT_TIME' | localize"></co-input-text>
43726
+ <co-input-text [model]="deliveryPlanningService.totalAssemblyTime(planOrder)"
43579
43727
  [placeholder]="'ASSEMBLY_TIME' | localize"></co-input-text>
43580
43728
  </div>
43581
43729
 
43582
43730
  <div class="popup-row">
43583
- <co-input-text [model]="startTimeForOrder() | date: 'h:mm'"
43731
+ <co-input-text [model]="startTimeForOrder() | date: 'HH:mm'"
43584
43732
  [placeholder]="'STARTTIME' | localize" (modelChange)="handleStartTimeChange($event)"></co-input-text>
43585
- <co-input-text [model]="endTimeForOrder() | date: 'h:mm'"
43733
+ <co-input-text [model]="endTimeForOrder() | date: 'HH:mm'"
43586
43734
  [placeholder]="'STOPTIME' | localize" (modelChange)="handleEndTimeChange($event)"></co-input-text>
43587
43735
  </div>
43588
43736
 
@@ -43623,13 +43771,16 @@ DeliveryPlanningOverviewPopupComponent.propDecorators = {
43623
43771
  };
43624
43772
 
43625
43773
  class DeliveryPlanningOverviewTileSettingsPopupComponent {
43626
- constructor(_deliveryPlanningService, iconCacheService) {
43774
+ constructor(_deliveryPlanningService, iconCacheService, _transaction) {
43627
43775
  this._deliveryPlanningService = _deliveryPlanningService;
43628
43776
  this.iconCacheService = iconCacheService;
43777
+ this._transaction = _transaction;
43629
43778
  this.icons = Icon;
43630
43779
  this.settingsChanged = false;
43780
+ this._subs = [];
43631
43781
  this.closeEvent = new EventEmitter();
43632
43782
  this.onSaveAction = new EventEmitter();
43783
+ this.availabilityChecked = new EventEmitter();
43633
43784
  }
43634
43785
  get districts() {
43635
43786
  return this._deliveryPlanningService.districts;
@@ -43650,6 +43801,14 @@ class DeliveryPlanningOverviewTileSettingsPopupComponent {
43650
43801
  return true;
43651
43802
  }
43652
43803
  ngOnInit() {
43804
+ this._subs.push(this._deliveryPlanningService.availabilityCheckEvent.subscribe((transId) => __awaiter(this, void 0, void 0, function* () {
43805
+ yield this.handleAvailabilityChecked(transId);
43806
+ })));
43807
+ }
43808
+ ngOnDestroy() {
43809
+ this._subs.forEach(sub => {
43810
+ sub.unsubscribe();
43811
+ });
43653
43812
  }
43654
43813
  districtsForTransportDay(transportDay) {
43655
43814
  var _a;
@@ -43709,6 +43868,39 @@ class DeliveryPlanningOverviewTileSettingsPopupComponent {
43709
43868
  handleCommitClick() {
43710
43869
  this.onSaveAction.emit(this.settingsChanged);
43711
43870
  }
43871
+ handleAvailabilityChecked(transId) {
43872
+ return __awaiter(this, void 0, void 0, function* () {
43873
+ let planOrder = yield this._transaction.getPlanOrder(transId);
43874
+ if (!planOrder.partDelivery) {
43875
+ this.deliveryMethods.find(method => parseInt(method.code) === planOrder.deliveryMethod) ? this.availabilityChecked.emit({ transportDay: this.transportDay, available: true }) : this.availabilityChecked.emit({ transportDay: this.transportDay, available: false });
43876
+ }
43877
+ else {
43878
+ let available = true;
43879
+ yield this.getOrderLinesPlanned(planOrder);
43880
+ planOrder.lines.forEach((line) => {
43881
+ if (!this.deliveryMethods.find(method => method.code === line.deliveryMethod)) {
43882
+ available = false;
43883
+ }
43884
+ });
43885
+ this.availabilityChecked.emit({ transportDay: this.transportDay, available: available });
43886
+ }
43887
+ });
43888
+ }
43889
+ getOrderLinesPlanned(planOrder) {
43890
+ return __awaiter(this, void 0, void 0, function* () {
43891
+ let request = new OrderLinesPlannedRequest();
43892
+ let filterObj = new PlanningFilterObject();
43893
+ request.planned = true;
43894
+ request.planningId = this._deliveryPlanningService.currentPlanning.planningId;
43895
+ request.transId = planOrder.transId;
43896
+ request.plannedLineId = planOrder.plannedLineId;
43897
+ filterObj.onlyCurrentWeek = true;
43898
+ filterObj.beginCurrentWeek = new Date();
43899
+ filterObj.checkOrderLines = 1;
43900
+ request.filterObject = filterObj;
43901
+ planOrder.lines.push(...yield this._transaction.getOrderLinesPlanned(request));
43902
+ });
43903
+ }
43712
43904
  }
43713
43905
  DeliveryPlanningOverviewTileSettingsPopupComponent.decorators = [
43714
43906
  { type: Component, args: [{
@@ -43819,12 +44011,14 @@ DeliveryPlanningOverviewTileSettingsPopupComponent.decorators = [
43819
44011
  ];
43820
44012
  DeliveryPlanningOverviewTileSettingsPopupComponent.ctorParameters = () => [
43821
44013
  { type: DeliveryPlanningService },
43822
- { type: IconCacheService }
44014
+ { type: IconCacheService },
44015
+ { type: TransactionConnectorService }
43823
44016
  ];
43824
44017
  DeliveryPlanningOverviewTileSettingsPopupComponent.propDecorators = {
43825
44018
  transportDay: [{ type: Input }],
43826
44019
  closeEvent: [{ type: Output }],
43827
44020
  onSaveAction: [{ type: Output }],
44021
+ availabilityChecked: [{ type: Output }],
43828
44022
  showClass: [{ type: HostBinding, args: ["class.co-delivery-planning-overview-tile-settings-popup",] }]
43829
44023
  };
43830
44024
 
@@ -46261,6 +46455,7 @@ class TransactionSearchResultComponent {
46261
46455
  }
46262
46456
  dragStarted(ev, transaction) {
46263
46457
  this._deliveryPlanningService.dragging = true;
46458
+ this._deliveryPlanningService.currentTransId = transaction.transId;
46264
46459
  ev.dataTransfer.setData("text", transaction.transId);
46265
46460
  }
46266
46461
  dragEnd(ev) {
@@ -50936,10 +51131,12 @@ TransactionLineSidePanelPickedModule.decorators = [
50936
51131
  ];
50937
51132
 
50938
51133
  class TransactionLineSidePanelSalesReservationComponent {
50939
- constructor(_purchaseReservationService, _transactionService, _transactionEventService) {
51134
+ constructor(_purchaseReservationService, _transactionService, _transactionEventService, iconCacheService) {
50940
51135
  this._purchaseReservationService = _purchaseReservationService;
50941
51136
  this._transactionService = _transactionService;
50942
51137
  this._transactionEventService = _transactionEventService;
51138
+ this.iconCacheService = iconCacheService;
51139
+ this.icons = Icon;
50943
51140
  this.reservationOrderLines = [];
50944
51141
  }
50945
51142
  showClass() {
@@ -50969,15 +51166,23 @@ TransactionLineSidePanelSalesReservationComponent.decorators = [
50969
51166
  { type: Component, args: [{
50970
51167
  selector: "co-transaction-line-side-panel-sales-reservation",
50971
51168
  template: `
50972
- <div class="commit-button-wrapper">
50973
- <span [textContent]="'SAVE_RESERVATION' | localize" (click)="processReservation()"></span>
50974
- <span [textContent]="'CANCEL' | localize" (click)="handleCloseSidePanel()"></span>
50975
- </div>
50976
-
50977
51169
  <div class="wrapper">
51170
+ <div class="reservation-title">
51171
+ <co-icon [iconData]="iconCacheService.getIcon(icons.PalletBoxesRotate)"></co-icon>
51172
+ <span [textContent]="'RESERVATION_PURCHASEORDER' | localize "></span>
51173
+ </div>
50978
51174
  <co-transaction-purchase-reservation-order-tile *ngFor="let line of reservationOrderLines"
50979
51175
  [purchaseReservationPurchaseLine]="line"></co-transaction-purchase-reservation-order-tile>
50980
51176
  </div>
51177
+ <div class="save-cancel-wrapper">
51178
+ <co-button [iconData]="iconCacheService.getIcon(icons.CheckDuotone)"
51179
+ (click)="processReservation()"
51180
+ ></co-button>
51181
+ <co-button class="cancel-button"
51182
+ [iconData]="iconCacheService.getIcon(icons.Crossskinny)"
51183
+ (click)="handleCloseSidePanel()"
51184
+ ></co-button>
51185
+ </div>
50981
51186
  `,
50982
51187
  encapsulation: ViewEncapsulation.None
50983
51188
  },] }
@@ -50985,7 +51190,8 @@ TransactionLineSidePanelSalesReservationComponent.decorators = [
50985
51190
  TransactionLineSidePanelSalesReservationComponent.ctorParameters = () => [
50986
51191
  { type: PurchaseReservationService },
50987
51192
  { type: TransactionService },
50988
- { type: TransactionEventService }
51193
+ { type: TransactionEventService },
51194
+ { type: IconCacheService }
50989
51195
  ];
50990
51196
  TransactionLineSidePanelSalesReservationComponent.propDecorators = {
50991
51197
  showClass: [{ type: HostBinding, args: ["class.co-transaction-line-side-panel-sales-reservation",] }]
@@ -51007,16 +51213,11 @@ TransactionPurchaseReservationOrderTileComponent.decorators = [
51007
51213
  <div class="tile">
51008
51214
  <div class="tile-header">
51009
51215
  <div class="tile-upper-left">
51010
-
51011
- </div>
51012
- <div class="tile-upper-middle">
51013
51216
  <div class="header">
51014
51217
  <co-input-checkbox
51015
51218
  [(model)]="purchaseReservationPurchaseLine.selected"
51016
-
51017
51219
  ></co-input-checkbox>
51018
51220
  <span class="bold" [textContent]="purchaseReservationPurchaseLine.transNo"></span>
51019
-
51020
51221
  </div>
51021
51222
  </div>
51022
51223
  <div class="tile-upper-right">
@@ -51035,32 +51236,27 @@ TransactionPurchaseReservationOrderTileComponent.decorators = [
51035
51236
  <div class="tile-middle-left">
51036
51237
  </div>
51037
51238
  <div class="tile-middle-middle">
51038
-
51039
51239
  </div>
51040
51240
  <div class="tile-middle-right"></div>
51041
51241
  </div>
51042
51242
  <div class="tile-footer">
51043
51243
  <div class="tile-bottom-left order-info-section">
51044
- <div class="label"><span [textContent]="'DELIVERY_DATE_PURCHASE' | localize"></span></div>
51244
+ <co-icon [iconData]="iconCacheService.getIcon(icons.RegularCartShoppingClock)"></co-icon>
51045
51245
  <div class="value">
51046
51246
  <span [textContent]="purchaseReservationPurchaseLine.deliveryDatePurchase | date:'dd MMM yyyy'"></span>
51047
51247
  </div>
51048
51248
  </div>
51049
-
51050
51249
  <div class="tile-bottom-left order-info-section">
51051
- <div class="label"><span [textContent]="'DELIVERY_DATE_CONFIRMED' | localize"></span></div>
51250
+ <co-icon [iconData]="iconCacheService.getIcon(icons.RegularTruckMovingClock)"></co-icon>
51052
51251
  <div class="value">
51053
51252
  <span [textContent]="purchaseReservationPurchaseLine.deliveryDateConfirmed | date:'dd MMM yyyy'"></span>
51054
51253
  </div>
51055
51254
  </div>
51056
-
51057
51255
  <div class="tile-bottom-left order-info-section">
51058
- <div class="label"><span [textContent]="'ARRIVAL_DATE' | localize"></span></div>
51256
+ <co-icon [iconData]="iconCacheService.getIcon(icons.RegularWarehouseClock)"></co-icon>
51059
51257
  <div class="value">
51060
51258
  <span [textContent]="purchaseReservationPurchaseLine.arrivalDate | date:'dd MMM yyyy'"></span></div>
51061
51259
  </div>
51062
-
51063
-
51064
51260
  </div>
51065
51261
  </div>
51066
51262
  </div>
@@ -51113,6 +51309,7 @@ TransactionLineSidePanelSalesModule.decorators = [
51113
51309
  TransactionPurchaseReservationOrderTileModule,
51114
51310
  ButtonModule,
51115
51311
  PipeModule,
51312
+ IconModule,
51116
51313
  ],
51117
51314
  declarations: [
51118
51315
  TransactionLineSidePanelSalesComponent,
@@ -53520,6 +53717,7 @@ class TransactionComponent {
53520
53717
  this.showButtonBar = true;
53521
53718
  this.showSaveCancelLabels = false;
53522
53719
  this.saveCancelMovable = false;
53720
+ this.transactionPlanning = false;
53523
53721
  this.screenConfigLoaded = false;
53524
53722
  }
53525
53723
  set confirmationAnalysisId(value) {
@@ -53609,6 +53807,7 @@ TransactionComponent.decorators = [
53609
53807
  [showViewModeButtons]="showViewModeButtons"
53610
53808
  [confirmationAnalysisId]="confirmationAnalysisId"
53611
53809
  [posOrderData]="posOrderData"
53810
+ [transactionPlanning]="transactionPlanning"
53612
53811
  ></co-transaction-internal>
53613
53812
  `,
53614
53813
  providers: [
@@ -53640,6 +53839,7 @@ TransactionComponent.propDecorators = {
53640
53839
  cancelIconData: [{ type: Input }],
53641
53840
  showSaveCancelLabels: [{ type: Input }],
53642
53841
  saveCancelMovable: [{ type: Input }],
53842
+ transactionPlanning: [{ type: Input }],
53643
53843
  showClass: [{ type: HostBinding, args: ['class.co-transaction',] }],
53644
53844
  checkTransaction: [{ type: HostListener, args: ['window:beforeunload',] }],
53645
53845
  checkRollBack: [{ type: HostListener, args: ['window:unload',] }]