@bjsdistribution/dms-client-return 0.1.15-prod → 0.1.16-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.
@@ -11136,12 +11136,6 @@ function formatDate$1(dateInput) {
11136
11136
  if (isNaN(date.getTime())) return 'N/A';
11137
11137
  return dateFns.format(date, 'eee, dd/MM/yyyy HH:mm:ss');
11138
11138
  }
11139
- function getDay(dateInput) {
11140
- if (!dateInput) return 'N/A';
11141
- var date = new Date(dateInput);
11142
- if (isNaN(date.getTime())) return 'N/A';
11143
- return dateFns.format(date, 'eee');
11144
- }
11145
11139
  //with colors
11146
11140
  var priorityData = [{
11147
11141
  id: 1,
@@ -14639,12 +14633,16 @@ var Info = /*#__PURE__*/styled__default.span(_templateObject3$11 || (_templateOb
14639
14633
 
14640
14634
  var _templateObject$2m, _templateObject2$1I, _templateObject3$12;
14641
14635
  function FlagTemplate(_ref) {
14636
+ var _formatUtcToLocal, _formatUtcToLocal2;
14642
14637
  var data = _ref.data,
14643
14638
  dismissFlags = _ref.dismissFlags;
14644
14639
  var _useFlagRefId = useFlagRefId(),
14645
14640
  setSelectedFlag = _useFlagRefId[1];
14646
14641
  var _useCurrentAction = useCurrentAction(),
14647
14642
  setCurrentAction = _useCurrentAction[1];
14643
+ var _useClientPortal = useClientPortal(),
14644
+ isCustomerPortal = _useClientPortal[0];
14645
+ //
14648
14646
  var openModal = function openModal() {
14649
14647
  setCurrentAction('view-flag');
14650
14648
  };
@@ -14657,21 +14655,25 @@ function FlagTemplate(_ref) {
14657
14655
  type: (data == null ? void 0 : data.status) === 'AD' ? 'info' : 'success',
14658
14656
  title: React__default.createElement(React__default.Fragment, null, React__default.createElement(StyledTitle, {
14659
14657
  color: titleColor
14660
- }, "Flag : ", data != null && data.is_private ? 'Private' : '', ' ', React__default.createElement(StyledLink$1, {
14658
+ }, "Flag : ", data != null && data.is_private ? 'Private' : 'Public', ' ', React__default.createElement(StyledLink$1, {
14661
14659
  onClick: function onClick() {
14662
14660
  return handleClick(data.id);
14663
14661
  }
14664
- }, data == null ? void 0 : data.id, " - ", data == null ? void 0 : data.flag_type, ' '), ' ', (data == null ? void 0 : data.status) === 'AD' ? 'Unresolved' : 'Resolved on', ' ', (data == null ? void 0 : data.status) == 'SD' ? React__default.createElement(React__default.Fragment, null, formatDate$1(data == null ? void 0 : data.resolved_at), " by ", data == null ? void 0 : data.resolved_by, ' ') : null)),
14662
+ }, data == null ? void 0 : data.id, " - ", data == null ? void 0 : data.flag_type, ' '), ' ', (data == null ? void 0 : data.status) === 'AD' ? 'Unresolved' : 'Resolved on', ' ', (data == null ? void 0 : data.status) == 'SD' ? React__default.createElement(React__default.Fragment, null, ((_formatUtcToLocal = dmsComponentLibrary.formatUtcToLocal(data == null ? void 0 : data.resolved_at)) == null ? void 0 : _formatUtcToLocal.date) + " " + ((_formatUtcToLocal2 = dmsComponentLibrary.formatUtcToLocal(data == null ? void 0 : data.resolved_at)) == null ? void 0 : _formatUtcToLocal2.time), ' ', "by ", data == null ? void 0 : data.resolved_by, ' ') : null)),
14665
14663
  subtitle: "",
14666
- description: "" + (data == null ? void 0 : data.description),
14664
+ description: isCustomerPortal ? React__default.createElement("span", {
14665
+ dangerouslySetInnerHTML: {
14666
+ __html: data == null ? void 0 : data.description
14667
+ }
14668
+ }) : "" + (data == null ? void 0 : data.description),
14667
14669
  showOkButton: false,
14668
14670
  onClose: function onClose() {
14669
14671
  return dismissFlags(data == null ? void 0 : data.id);
14670
14672
  }
14671
14673
  }));
14672
14674
  }
14673
- var StyledAlert$1 = /*#__PURE__*/styled__default.div(_templateObject$2m || (_templateObject$2m = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin-bottom: 10px;\n"])));
14674
- var StyledLink$1 = /*#__PURE__*/styled__default.span(_templateObject2$1I || (_templateObject2$1I = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n color: var(--contextual-blue, #6396e5);\n font-family: Roboto;\n font-size: 14px;\n font-style: normal;\n font-weight: 600;\n"])));
14675
+ var StyledAlert$1 = /*#__PURE__*/styled__default.div(_templateObject$2m || (_templateObject$2m = /*#__PURE__*/_taggedTemplateLiteralLoose([""])));
14676
+ var StyledLink$1 = /*#__PURE__*/styled__default.span(_templateObject2$1I || (_templateObject2$1I = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n color: var(--contextual-blue, #6396e5);\n font-family: Roboto;\n font-size: 14px;\n font-style: normal;\n font-weight: 600;\n cursor: pointer;\n"])));
14675
14677
  var StyledTitle = /*#__PURE__*/styled__default.span(_templateObject3$12 || (_templateObject3$12 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n color: ", ";\n font-family: Roboto;\n font-size: 14px;\n font-style: normal;\n font-weight: 600;\n"])), function (_ref2) {
14676
14678
  var color = _ref2.color;
14677
14679
  return color;
@@ -15768,6 +15770,9 @@ function Options$1() {
15768
15770
  if (!isRouted && option.value === 'log-service-refusal') {
15769
15771
  shouldExclude = true;
15770
15772
  }
15773
+ if (isRouted && option.value === 'clear-date') {
15774
+ shouldExclude = true;
15775
+ }
15771
15776
  // if (routedValue && option.value === 'remove-from-route') {
15772
15777
  // shouldExclude = true;
15773
15778
  // }
@@ -16319,12 +16324,15 @@ var StyledAlert$2 = /*#__PURE__*/styled__default.div(_templateObject2$1R || (_te
16319
16324
 
16320
16325
  var _templateObject$2A, _templateObject2$1S, _templateObject3$17;
16321
16326
  function ReminderTemplate(_ref) {
16327
+ var _formatUtcToLocal, _formatUtcToLocal2, _formatUtcToLocal3, _formatUtcToLocal4;
16322
16328
  var data = _ref.data,
16323
16329
  dismissReminder = _ref.dismissReminder;
16324
16330
  var _useCurrentAction = useCurrentAction(),
16325
16331
  setCurrentAction = _useCurrentAction[1];
16326
16332
  var _useReminderRefId = useReminderRefId(),
16327
16333
  setReminderRefId = _useReminderRefId[1];
16334
+ var _useClientPortal = useClientPortal(),
16335
+ isClientPortal = _useClientPortal[0];
16328
16336
  var openModal = function openModal() {
16329
16337
  setCurrentAction('view-reminder');
16330
16338
  };
@@ -16342,8 +16350,9 @@ function ReminderTemplate(_ref) {
16342
16350
  }, "Reminder:", React__default.createElement(StyledLink$2, {
16343
16351
  onClick: function onClick() {
16344
16352
  return handleClick(data.id);
16345
- }
16346
- }, (data == null ? void 0 : data.reference) || 'NA'), ' ', "(Due - ", getDay(data == null ? void 0 : data.due_datetime), ",", ' ', dmsComponentLibrary.formatUtcToLocal(data == null ? void 0 : data.due_datetime).date + " " + dmsComponentLibrary.formatUtcToLocal(data == null ? void 0 : data.due_datetime).time, "), Assigned to: ", data == null ? void 0 : data.assigned_to, " Completed On:", ' ', getDay(data == null ? void 0 : data.completed_at), ",", ' ', dmsComponentLibrary.formatUtcToLocal(data == null ? void 0 : data.completed_at).date + " " + dmsComponentLibrary.formatUtcToLocal(data == null ? void 0 : data.completed_at).time, " By: ", data == null ? void 0 : data.completed_by)),
16353
+ },
16354
+ "$disable": isClientPortal || false
16355
+ }, ' ', (data == null ? void 0 : data.reference) || 'NA', ' '), "(Due -", ' ', ((_formatUtcToLocal = dmsComponentLibrary.formatUtcToLocal(data == null ? void 0 : data.due_datetime)) == null ? void 0 : _formatUtcToLocal.date) + " " + ((_formatUtcToLocal2 = dmsComponentLibrary.formatUtcToLocal(data == null ? void 0 : data.due_datetime)) == null ? void 0 : _formatUtcToLocal2.time), "), Assigned to: ", data == null ? void 0 : data.assigned_to, " Completed On:", ' ', ((_formatUtcToLocal3 = dmsComponentLibrary.formatUtcToLocal(data == null ? void 0 : data.completed_at)) == null ? void 0 : _formatUtcToLocal3.date) + " " + ((_formatUtcToLocal4 = dmsComponentLibrary.formatUtcToLocal(data == null ? void 0 : data.completed_at)) == null ? void 0 : _formatUtcToLocal4.time), ", By: ", data == null ? void 0 : data.completed_by)),
16347
16356
  description: "" + (data == null ? void 0 : data.description),
16348
16357
  showOkButton: false,
16349
16358
  onClose: function onClose() {
@@ -16356,7 +16365,11 @@ var StyledTitle$1 = /*#__PURE__*/styled__default.span(_templateObject2$1S || (_t
16356
16365
  var color = _ref2.color;
16357
16366
  return color;
16358
16367
  });
16359
- var StyledLink$2 = /*#__PURE__*/styled__default.span(_templateObject3$17 || (_templateObject3$17 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n color: var(--contextual-blue, #6396e5);\n font-family: Roboto;\n font-size: 14px;\n font-style: normal;\n font-weight: 600;\n"])));
16368
+ var StyledLink$2 = /*#__PURE__*/styled__default.span(_templateObject3$17 || (_templateObject3$17 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n color: var(--contextual-blue, #6396e5);\n font-family: Roboto;\n font-size: 14px;\n font-style: normal;\n font-weight: 600;\n cursor: ", ";\n ", ";\n"])), function (props) {
16369
+ return props != null && props.$disable ? 'auto' : 'pointer';
16370
+ }, function (props) {
16371
+ return (props == null ? void 0 : props.$disable) && "pointer-events: none;";
16372
+ });
16360
16373
 
16361
16374
  var _templateObject$2B, _templateObject2$1T;
16362
16375
  function Tabs$1(_ref) {
@@ -16437,7 +16450,7 @@ var NotifyFlag = function NotifyFlag() {
16437
16450
  }));
16438
16451
  };
16439
16452
 
16440
- var _templateObject$2C, _templateObject2$1U, _templateObject3$18, _templateObject4$E, _templateObject5$u, _templateObject6$g, _templateObject7$h, _templateObject8$d, _templateObject9$a, _templateObject10$6;
16453
+ var _templateObject$2C, _templateObject2$1U, _templateObject3$18, _templateObject4$E, _templateObject5$u, _templateObject6$g, _templateObject7$h, _templateObject8$d, _templateObject9$a;
16441
16454
  function Notification() {
16442
16455
  var _orderData$order_rout, _activeTasks$filter, _closedTasks$filter;
16443
16456
  var _useTabType = useTabType(),
@@ -16470,8 +16483,7 @@ function Notification() {
16470
16483
  closedTasks = _useState4[0],
16471
16484
  setCloseTasks = _useState4[1];
16472
16485
  var _useRouteId = useRouteId(),
16473
- idOfRoute = _useRouteId[0],
16474
- setRouteId = _useRouteId[1];
16486
+ idOfRoute = _useRouteId[0];
16475
16487
  var _useAllOrderStatus = useAllOrderStatus(),
16476
16488
  setStatusVal = _useAllOrderStatus[1];
16477
16489
  var _useSearchParams = reactRouterDom.useSearchParams(),
@@ -16486,6 +16498,8 @@ function Notification() {
16486
16498
  orderId = _useOrderId[0],
16487
16499
  setOrderId = _useOrderId[1];
16488
16500
  var routeId = orderData == null || (_orderData$order_rout = orderData.order_routes) == null ? void 0 : _orderData$order_rout.route_id;
16501
+ var _useClientPortal = useClientPortal(),
16502
+ isClientPortal = _useClientPortal[0];
16489
16503
  React.useEffect(function () {
16490
16504
  if (orderIdParams) {
16491
16505
  setOrderId(id);
@@ -16501,12 +16515,19 @@ function Notification() {
16501
16515
  pagination: {
16502
16516
  is_pagination: false
16503
16517
  },
16504
- filters: [{
16518
+ filters: isClientPortal ? [{
16519
+ field: 'is_private',
16520
+ op: '=',
16521
+ value: 'false'
16522
+ }, {
16505
16523
  field: 'order_id',
16506
16524
  op: '=',
16507
16525
  value: orderId
16508
- }],
16509
- showLoader: false
16526
+ }] : [{
16527
+ field: 'order_id',
16528
+ op: '=',
16529
+ value: orderId
16530
+ }]
16510
16531
  }),
16511
16532
  fetchedUnresolvedData = _useAxios.data,
16512
16533
  unresolvedLoading = _useAxios.loading,
@@ -16522,12 +16543,17 @@ function Notification() {
16522
16543
  field: 'order_id',
16523
16544
  op: '=',
16524
16545
  value: orderId
16525
- }],
16526
- showLoader: false
16546
+ }]
16527
16547
  }),
16528
16548
  fetchedReminderData = _useAxios2.data,
16529
16549
  reminderLoading = _useAxios2.loading,
16530
16550
  callReminderApi = _useAxios2.fetchData;
16551
+ //reminder data set
16552
+ React.useEffect(function () {
16553
+ if (fetchedReminderData && fetchedReminderData != null && fetchedReminderData.data) {
16554
+ setReminderNotifyData(fetchedReminderData == null ? void 0 : fetchedReminderData.data);
16555
+ }
16556
+ }, [fetchedReminderData]);
16531
16557
  React.useEffect(function () {
16532
16558
  setStatusVal(orderData == null ? void 0 : orderData.status_value);
16533
16559
  }, [orderData == null ? void 0 : orderData.status_value]);
@@ -16543,17 +16569,10 @@ function Notification() {
16543
16569
  setTasksData(fetchedUnresolvedData == null ? void 0 : fetchedUnresolvedData.data);
16544
16570
  }
16545
16571
  }, [unresolvedLoading, fetchedUnresolvedData]);
16546
- //reminder data set
16547
- React.useEffect(function () {
16548
- if (fetchedReminderData && fetchedReminderData != null && fetchedReminderData.data) {
16549
- setReminderNotifyData(fetchedReminderData == null ? void 0 : fetchedReminderData.data);
16550
- }
16551
- }, [reminderLoading]);
16552
16572
  // Route API calling...
16553
16573
  var _useAxios3 = dmsComponentLibrary.useAxios({
16554
16574
  endpoint: "route/" + routeId,
16555
- method: 'GET',
16556
- showLoader: false
16575
+ method: 'GET'
16557
16576
  }),
16558
16577
  fetchedData = _useAxios3.data,
16559
16578
  fetchRoute = _useAxios3.fetchData;
@@ -16561,14 +16580,10 @@ function Notification() {
16561
16580
  if (idOfRoute !== null && idOfRoute !== undefined) {
16562
16581
  fetchRoute();
16563
16582
  }
16564
- return function () {
16565
- setRouteId(null);
16566
- };
16567
16583
  }, [idOfRoute]);
16568
16584
  var _useAxios4 = dmsComponentLibrary.useAxios({
16569
16585
  endpoint: "v1/orders/alerts/?order_id=" + orderId,
16570
- method: 'GET',
16571
- showLoader: false
16586
+ method: 'GET'
16572
16587
  }),
16573
16588
  alertsData = _useAxios4.data,
16574
16589
  callOrderAlertsApi = _useAxios4.fetchData,
@@ -16591,26 +16606,31 @@ function Notification() {
16591
16606
  return _context.abrupt("return");
16592
16607
  case 2:
16593
16608
  _context.prev = 2;
16594
- _context.next = 5;
16595
- return callReminderApi();
16596
- case 5:
16609
+ _context.t0 = !isClientPortal;
16610
+ if (!_context.t0) {
16611
+ _context.next = 7;
16612
+ break;
16613
+ }
16597
16614
  _context.next = 7;
16598
- return callUnresolvedTaskApi();
16615
+ return callReminderApi();
16599
16616
  case 7:
16600
16617
  _context.next = 9;
16601
- return callOrderAlertsApi();
16618
+ return callUnresolvedTaskApi();
16602
16619
  case 9:
16603
- _context.next = 14;
16604
- break;
16620
+ _context.next = 11;
16621
+ return callOrderAlertsApi();
16605
16622
  case 11:
16606
- _context.prev = 11;
16607
- _context.t0 = _context["catch"](2);
16608
- console.error('Error while fetching order-related data:', _context.t0);
16609
- case 14:
16623
+ _context.next = 16;
16624
+ break;
16625
+ case 13:
16626
+ _context.prev = 13;
16627
+ _context.t1 = _context["catch"](2);
16628
+ console.error('Error while fetching order-related data:', _context.t1);
16629
+ case 16:
16610
16630
  case "end":
16611
16631
  return _context.stop();
16612
16632
  }
16613
- }, _callee, null, [[2, 11]]);
16633
+ }, _callee, null, [[2, 13]]);
16614
16634
  }));
16615
16635
  return function fetchData() {
16616
16636
  return _ref.apply(this, arguments);
@@ -16678,7 +16698,6 @@ function Notification() {
16678
16698
  var totalClosedCount = (closedTasks == null || (_closedTasks$filter = closedTasks.filter(function (item) {
16679
16699
  return item.status === 'SD';
16680
16700
  })) == null ? void 0 : _closedTasks$filter.length) + (closedReminders == null ? void 0 : closedReminders.length);
16681
- console.log(unresolvedLoading, 'unresolved', reminderLoading, 'reminder');
16682
16701
  return React__default.createElement(React__default.Fragment, null, React__default.createElement(Section$2, null, React__default.createElement(Container$1n, {
16683
16702
  className: "notification-header"
16684
16703
  }, React__default.createElement(FlagContainer, null, React__default.createElement(NotifyFlag, null)), React__default.createElement(Label$j, {
@@ -16695,12 +16714,75 @@ function Notification() {
16695
16714
  onClick: function onClick() {
16696
16715
  return handleTabChange('closed');
16697
16716
  }
16698
- }, "Closed", React__default.createElement(ClosedCount, null, totalClosedCount)))), unresolvedLoading || reminderLoading || alertsApiLoading ? React__default.createElement(Loader$1, null, React__default.createElement(antd.Skeleton, {
16699
- avatar: true,
16700
- paragraph: {
16701
- rows: 2
16717
+ }, "Closed", React__default.createElement(ClosedCount, null, totalClosedCount)))), unresolvedLoading || reminderLoading || alertsApiLoading ? React__default.createElement(React__default.Fragment, null, React__default.createElement("div", {
16718
+ style: {
16719
+ display: 'flex',
16720
+ alignItems: 'center',
16721
+ gap: 12
16702
16722
  }
16703
- })) : (taskData == null ? void 0 : taskData.length) > 0 || (reminderNotifyData == null ? void 0 : reminderNotifyData.length) > 0 || orderData ? React__default.createElement(TabsWrapper$1, null, React__default.createElement(Tabs$1, {
16723
+ }, React__default.createElement(antd.Skeleton.Avatar, {
16724
+ active: true,
16725
+ size: "small",
16726
+ shape: "circle"
16727
+ }), React__default.createElement(antd.Skeleton.Input, {
16728
+ active: true,
16729
+ style: {
16730
+ width: '100%',
16731
+ height: 12,
16732
+ borderRadius: 4
16733
+ }
16734
+ })), React__default.createElement("div", {
16735
+ style: {
16736
+ display: 'flex',
16737
+ alignItems: 'center',
16738
+ gap: 12
16739
+ }
16740
+ }, React__default.createElement(antd.Skeleton.Avatar, {
16741
+ active: true,
16742
+ size: "small",
16743
+ shape: "circle"
16744
+ }), React__default.createElement(antd.Skeleton.Input, {
16745
+ active: true,
16746
+ style: {
16747
+ width: '100%',
16748
+ height: 12,
16749
+ borderRadius: 4
16750
+ }
16751
+ })), React__default.createElement("div", {
16752
+ style: {
16753
+ display: 'flex',
16754
+ alignItems: 'center',
16755
+ gap: 12
16756
+ }
16757
+ }, React__default.createElement(antd.Skeleton.Avatar, {
16758
+ active: true,
16759
+ size: "small",
16760
+ shape: "circle"
16761
+ }), React__default.createElement(antd.Skeleton.Input, {
16762
+ active: true,
16763
+ style: {
16764
+ width: '100%',
16765
+ height: 12,
16766
+ borderRadius: 4
16767
+ }
16768
+ })), React__default.createElement("div", {
16769
+ style: {
16770
+ display: 'flex',
16771
+ alignItems: 'center',
16772
+ gap: 12
16773
+ }
16774
+ }, React__default.createElement(antd.Skeleton.Avatar, {
16775
+ active: true,
16776
+ size: "small",
16777
+ shape: "circle"
16778
+ }), React__default.createElement(antd.Skeleton.Input, {
16779
+ active: true,
16780
+ style: {
16781
+ width: '100%',
16782
+ height: 12,
16783
+ borderRadius: 4
16784
+ }
16785
+ }))) : (taskData == null ? void 0 : taskData.length) > 0 || (reminderNotifyData == null ? void 0 : reminderNotifyData.length) > 0 || orderData ? React__default.createElement(TabsWrapper$1, null, React__default.createElement(Tabs$1, {
16704
16786
  activeTasks: activeTasks,
16705
16787
  closedTasks: closedTasks,
16706
16788
  activeReminders: activeReminders,
@@ -16711,35 +16793,18 @@ function Notification() {
16711
16793
  })) : 'No Notifications Found'));
16712
16794
  }
16713
16795
  var Container$1n = /*#__PURE__*/styled__default.div(_templateObject$2C || (_templateObject$2C = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n gap: 20px;\n padding: 10px;\n border-bottom: 1px solid #ccc;\n"])));
16714
- var Loader$1 = /*#__PURE__*/styled__default.div(_templateObject2$1U || (_templateObject2$1U = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n align-items: center;\n justify-content: center;\n display: flex;\n flex-direction: column;\n gap: 10px;\n"])));
16715
- // const Spinner = styled.div`
16716
- // border: 4px solid rgba(0, 0, 0, 0.1);
16717
- // border-left-color: #3a3630;
16718
- // border-radius: 50%;
16719
- // width: 40px;
16720
- // height: 40px;
16721
- // animation: spin 1s linear infinite;
16722
- // @keyframes spin {
16723
- // 0% {
16724
- // transform: rotate(0deg);
16725
- // }
16726
- // 100% {
16727
- // transform: rotate(360deg);
16728
- // }
16729
- // }
16730
- // `;
16731
- var FlagContainer = /*#__PURE__*/styled__default.div(_templateObject3$18 || (_templateObject3$18 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n padding: 8px;\n background-color: #3a3630;\n border-radius: 10px;\n"])));
16732
- var TabsData = /*#__PURE__*/styled__default.div(_templateObject4$E || (_templateObject4$E = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n gap: 20px;\n padding: 10px;\n"])));
16733
- var ActiveCount = /*#__PURE__*/styled__default.div(_templateObject5$u || (_templateObject5$u = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n color: #ffffff;\n padding: 1px 5px;\n background-color: #6396e5;\n border-radius: 6px;\n"])));
16734
- var ClosedCount = /*#__PURE__*/styled__default.div(_templateObject6$g || (_templateObject6$g = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n color: #ffffff;\n padding: 1px 5px;\n background-color: #e95252;\n border-radius: 6px;\n"])));
16735
- var StyledTab = /*#__PURE__*/styled__default.div(_templateObject7$h || (_templateObject7$h = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n gap: 5px;\n cursor: pointer;\n color: ", ";\n border-bottom: ", ";\n transition: border-bottom 0.3s ease;\n font-family: 'Roboto', sans-serif;\n padding-bottom: 5px;\n align-items: center;\n"])), function (props) {
16796
+ var FlagContainer = /*#__PURE__*/styled__default.div(_templateObject2$1U || (_templateObject2$1U = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n padding: 8px;\n background-color: #3a3630;\n border-radius: 10px;\n"])));
16797
+ var TabsData = /*#__PURE__*/styled__default.div(_templateObject3$18 || (_templateObject3$18 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n gap: 20px;\n padding: 10px;\n"])));
16798
+ var ActiveCount = /*#__PURE__*/styled__default.div(_templateObject4$E || (_templateObject4$E = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n color: #ffffff;\n padding: 1px 5px;\n background-color: #6396e5;\n border-radius: 6px;\n"])));
16799
+ var ClosedCount = /*#__PURE__*/styled__default.div(_templateObject5$u || (_templateObject5$u = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n color: #ffffff;\n padding: 1px 5px;\n background-color: #e95252;\n border-radius: 6px;\n"])));
16800
+ var StyledTab = /*#__PURE__*/styled__default.div(_templateObject6$g || (_templateObject6$g = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n gap: 5px;\n cursor: pointer;\n color: ", ";\n border-bottom: ", ";\n transition: border-bottom 0.3s ease;\n font-family: 'Roboto', sans-serif;\n padding-bottom: 5px;\n align-items: center;\n"])), function (props) {
16736
16801
  return props.active ? '#3a3630' : '#AEA9A1';
16737
16802
  }, function (props) {
16738
16803
  return props.active ? '2px solid #feba30' : '2px solid #eeeeee';
16739
16804
  });
16740
- var Section$2 = /*#__PURE__*/styled__default.div(_templateObject8$d || (_templateObject8$d = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n gap: 14px;\n background: #ffffff;\n border-radius: 12px;\n padding: 10px;\n box-shadow: 0px 4px 30px 0px rgba(46, 45, 116, 0.05);\n border: 1px solid #e0e0e0;\n"])));
16741
- var Label$j = /*#__PURE__*/styled__default(dmsComponentLibrary.SectionHeader)(_templateObject9$a || (_templateObject9$a = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n border-bottom: 1px solid #ccc;\n font-family: 'Roboto', sans-serif;\n font-size: 16px;\n font-style: normal;\n font-weight: 500;\n line-height: 24px; /* 150% */\n text-transform: uppercase;\n"])));
16742
- var TabsWrapper$1 = /*#__PURE__*/styled__default.div(_templateObject10$6 || (_templateObject10$6 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n /* min-height: 200px; */\n max-height: 300px;\n overflow-y: auto;\n scrollbar-width: none;\n -ms-overflow-style: none;\n\n &:hover {\n scrollbar-width: thin;\n }\n\n &::-webkit-scrollbar {\n width: 0;\n }\n\n &:hover::-webkit-scrollbar {\n width: 8px;\n }\n\n &::-webkit-scrollbar-thumb {\n background-color: rgba(0, 0, 0, 0.5);\n }\n"])));
16805
+ var Section$2 = /*#__PURE__*/styled__default.div(_templateObject7$h || (_templateObject7$h = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n gap: 14px;\n background: #ffffff;\n border-radius: 12px;\n padding: 10px;\n box-shadow: 0px 4px 30px 0px rgba(46, 45, 116, 0.05);\n border: 1px solid #e0e0e0;\n"])));
16806
+ var Label$j = /*#__PURE__*/styled__default(dmsComponentLibrary.SectionHeader)(_templateObject8$d || (_templateObject8$d = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n border-bottom: 1px solid #ccc;\n font-family: 'Roboto', sans-serif;\n font-size: 16px;\n font-style: normal;\n font-weight: 500;\n line-height: 24px; /* 150% */\n text-transform: uppercase;\n"])));
16807
+ var TabsWrapper$1 = /*#__PURE__*/styled__default.div(_templateObject9$a || (_templateObject9$a = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n /* min-height: 200px; */\n max-height: 350px;\n overflow-y: auto;\n scrollbar-width: none;\n -ms-overflow-style: none;\n\n &:hover {\n scrollbar-width: thin;\n }\n\n &::-webkit-scrollbar {\n width: 0;\n }\n\n &:hover::-webkit-scrollbar {\n width: 8px;\n }\n\n &::-webkit-scrollbar-thumb {\n background-color: rgba(0, 0, 0, 0.5);\n }\n"])));
16743
16808
 
16744
16809
  var _templateObject$2D;
16745
16810
  function CollapsedContent$2() {