@bjsdistribution/dms-client-return 0.2.2-prod → 0.2.3-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.
- package/dist/common/expand-collapse/index.js +44 -26
- package/dist/common/expand-collapse/index.js.map +1 -1
- package/dist/common/modals/order-action-modal/OrderActionModal.js.map +1 -1
- package/dist/common/modals/order-action-modal/footer/OrderActionFooter.js.map +1 -1
- package/dist/components/client-portal/ClientPortalResponsive.js +148 -0
- package/dist/components/client-portal/ClientPortalResponsive.js.map +1 -0
- package/dist/components/client-portal/OutstandingTable.js +112 -118
- package/dist/components/client-portal/OutstandingTable.js.map +1 -1
- package/dist/components/client-portal/ReturnOverview.js +38 -37
- package/dist/components/client-portal/ReturnOverview.js.map +1 -1
- package/dist/components/client-portal/return-confirm/ConfirmedMain.js +4 -4
- package/dist/components/client-portal/return-confirm/ConfirmedMain.js.map +1 -1
- package/dist/components/client-portal/return-confirm/ReturnConfirmedTable.js +445 -185
- package/dist/components/client-portal/return-confirm/ReturnConfirmedTable.js.map +1 -1
- package/dist/components/fakeData.js.map +1 -1
- package/dist/components/order-daily-overview/common/fakedata.js.map +1 -1
- package/dist/components/order-daily-overview/common/mediaQuery.js +17 -0
- package/dist/components/order-daily-overview/common/mediaQuery.js.map +1 -0
- package/dist/components/order-daily-overview/filters/FilterStyle.js +174 -11
- package/dist/components/order-daily-overview/filters/FilterStyle.js.map +1 -1
- package/dist/components/order-daily-overview/header/route-header/RouterHeaderStyle.js +9 -4
- package/dist/components/order-daily-overview/header/route-header/RouterHeaderStyle.js.map +1 -1
- package/dist/components/order-daily-overview/header/route-header/title/HeaderTitle.js +11 -1
- package/dist/components/order-daily-overview/header/route-header/title/HeaderTitle.js.map +1 -1
- package/dist/components/order-daily-overview/header-filters/Styledfilters.js +46 -17
- package/dist/components/order-daily-overview/header-filters/Styledfilters.js.map +1 -1
- package/dist/components/order-daily-overview/index.js +76 -53
- package/dist/components/order-daily-overview/index.js.map +1 -1
- package/dist/components/order-daily-overview/return-after-table/table/OrderTable.js +101 -103
- package/dist/components/order-daily-overview/return-after-table/table/OrderTable.js.map +1 -1
- package/dist/components/order-daily-overview/return-after-table/table-filters/ReturnOrderFilter.js +135 -134
- package/dist/components/order-daily-overview/return-after-table/table-filters/ReturnOrderFilter.js.map +1 -1
- package/dist/components/order-daily-overview/return-after-table/table-filters/TableFilters.js +17 -11
- package/dist/components/order-daily-overview/return-after-table/table-filters/TableFilters.js.map +1 -1
- package/dist/components/order-daily-overview/return-order-table/return-orders-filters/ReturnFilter.js +5 -5
- package/dist/components/order-daily-overview/return-order-table/return-orders-filters/ReturnFilter.js.map +1 -1
- package/dist/components/order-daily-overview/return-order-table/return-orders-filters/ReturnOrderTable.js +129 -135
- package/dist/components/order-daily-overview/return-order-table/return-orders-filters/ReturnOrderTable.js.map +1 -1
- package/dist/components/order-daily-overview/return-order-table/return-orders-filters/returnstyles.js +346 -27
- package/dist/components/order-daily-overview/return-order-table/return-orders-filters/returnstyles.js.map +1 -1
- package/dist/components/order-daily-overview/table/ReturnTable.js +199 -183
- package/dist/components/order-daily-overview/table/ReturnTable.js.map +1 -1
- package/dist/components/order-daily-overview/table/table-data/styles.js +159 -38
- package/dist/components/order-daily-overview/table/table-data/styles.js.map +1 -1
- package/dist/components/order-daily-overview/table-view/PaginationStyle.js +21 -6
- package/dist/components/order-daily-overview/table-view/PaginationStyle.js.map +1 -1
- package/dist/components/order-view/DynamicTable.js +136 -35
- package/dist/components/order-view/DynamicTable.js.map +1 -1
- package/dist/components/order-view/details-filters/DetailsFilters.js +33 -8
- package/dist/components/order-view/details-filters/DetailsFilters.js.map +1 -1
- package/dist/components/order-view/details-filters/left-side-filters/ActionsMenu.js +23 -5
- package/dist/components/order-view/details-filters/left-side-filters/ActionsMenu.js.map +1 -1
- package/dist/components/order-view/details-filters/left-side-filters/dropdowns/DropDowns.js +39 -22
- package/dist/components/order-view/details-filters/left-side-filters/dropdowns/DropDowns.js.map +1 -1
- package/dist/components/order-view/details-filters/right-side-filters/Details.js +25 -12
- package/dist/components/order-view/details-filters/right-side-filters/Details.js.map +1 -1
- package/dist/components/order-view/general-information/Status.js +58 -28
- package/dist/components/order-view/general-information/Status.js.map +1 -1
- package/dist/components/order-view/generic-table/AuditLogs.js +129 -24
- package/dist/components/order-view/generic-table/AuditLogs.js.map +1 -1
- package/dist/components/order-view/notes/logs/index.js +15 -7
- package/dist/components/order-view/notes/logs/index.js.map +1 -1
- package/dist/components/order-view/notes/order-dropdown/NewReturnDropdown.js +7 -7
- package/dist/components/order-view/notes/order-dropdown/NewReturnDropdown.js.map +1 -1
- package/dist/components/order-view/notification/index.js +68 -55
- package/dist/components/order-view/notification/index.js.map +1 -1
- package/dist/components/order-view/order-actions/Dropdown.js +3 -3
- package/dist/components/order-view/order-actions/Dropdown.js.map +1 -1
- package/dist/components/order-view/order-actions/actions/cancel-order/CancelOrderTable.js +45 -47
- package/dist/components/order-view/order-actions/actions/cancel-order/CancelOrderTable.js.map +1 -1
- package/dist/components/order-view/order-actions/actions/cancel-order/ReturnReason.js +23 -36
- package/dist/components/order-view/order-actions/actions/cancel-order/ReturnReason.js.map +1 -1
- package/dist/components/order-view/order-actions/actions/confirm-order/tables/ProductTable.js +23 -25
- package/dist/components/order-view/order-actions/actions/confirm-order/tables/ProductTable.js.map +1 -1
- package/dist/components/order-view/order-actions/actions/force-debrief/ForceDebriefModal.js +88 -89
- package/dist/components/order-view/order-actions/actions/force-debrief/ForceDebriefModal.js.map +1 -1
- package/dist/components/order-view/order-actions/actions/force-debrief/charges/collection-add-ons/index.js +16 -16
- package/dist/components/order-view/order-actions/actions/force-debrief/charges/collection-add-ons/index.js.map +1 -1
- package/dist/components/order-view/order-actions/actions/force-debrief/escalation/EscalationReason.js +22 -23
- package/dist/components/order-view/order-actions/actions/force-debrief/escalation/EscalationReason.js.map +1 -1
- package/dist/components/order-view/order-actions/actions/force-debrief/order-info/RadioButtons.js +52 -56
- package/dist/components/order-view/order-actions/actions/force-debrief/order-info/RadioButtons.js.map +1 -1
- package/dist/components/order-view/order-actions/actions/force-debrief/order-info/dropdowns/FailureReasonDropdown.js +26 -27
- package/dist/components/order-view/order-actions/actions/force-debrief/order-info/dropdowns/FailureReasonDropdown.js.map +1 -1
- package/dist/components/order-view/order-actions/actions/hold-order/HoldOrderModal.js +29 -29
- package/dist/components/order-view/order-actions/actions/hold-order/HoldOrderModal.js.map +1 -1
- package/dist/components/order-view/order-actions/actions/split-order/SplitOrderTable.js +54 -222
- package/dist/components/order-view/order-actions/actions/split-order/SplitOrderTable.js.map +1 -1
- package/dist/components/order-view/order-actions/actions/split-order/index.js +37 -50
- package/dist/components/order-view/order-actions/actions/split-order/index.js.map +1 -1
- package/dist/components/order-view/order-actions/actions/uncancel-order/UncancelOrderTable.js +35 -37
- package/dist/components/order-view/order-actions/actions/uncancel-order/UncancelOrderTable.js.map +1 -1
- package/dist/components/order-view/order-actions/actions/what3words/What3WordsModal.tsx.js +85 -85
- package/dist/components/order-view/order-actions/actions/what3words/What3WordsModal.tsx.js.map +1 -1
- package/dist/components/order-view/order-details/expanded-content/customer-section/contact-info/ContactHome.js +12 -8
- package/dist/components/order-view/order-details/expanded-content/customer-section/contact-info/ContactHome.js.map +1 -1
- package/dist/components/order-view/order-details/expanded-content/customer-section/contact-info/ContactMobile.js +22 -18
- package/dist/components/order-view/order-details/expanded-content/customer-section/contact-info/ContactMobile.js.map +1 -1
- package/dist/components/order-view/order-details/expanded-content/customer-section/contact-info/index.js +14 -8
- package/dist/components/order-view/order-details/expanded-content/customer-section/contact-info/index.js.map +1 -1
- package/dist/components/order-view/order-details/expanded-content/customer-section/index.js +19 -13
- package/dist/components/order-view/order-details/expanded-content/customer-section/index.js.map +1 -1
- package/dist/components/order-view/order-details/expanded-content/customer-section/location-info/Address.js +11 -6
- package/dist/components/order-view/order-details/expanded-content/customer-section/location-info/Address.js.map +1 -1
- package/dist/components/order-view/order-details/expanded-content/customer-section/location-info/Latitude.js +23 -21
- package/dist/components/order-view/order-details/expanded-content/customer-section/location-info/Latitude.js.map +1 -1
- package/dist/components/order-view/order-details/expanded-content/customer-section/location-info/Longitude.js +23 -21
- package/dist/components/order-view/order-details/expanded-content/customer-section/location-info/Longitude.js.map +1 -1
- package/dist/components/order-view/order-details/expanded-content/customer-section/location-info/index.js +39 -21
- package/dist/components/order-view/order-details/expanded-content/customer-section/location-info/index.js.map +1 -1
- package/dist/components/order-view/order-details/expanded-content/footer/index.js +28 -14
- package/dist/components/order-view/order-details/expanded-content/footer/index.js.map +1 -1
- package/dist/components/order-view/order-details/expanded-content/orders-section/index.js +44 -28
- package/dist/components/order-view/order-details/expanded-content/orders-section/index.js.map +1 -1
- package/dist/components/order-view/order-details/expanded-content/services-section/OrderServices.js +28 -20
- package/dist/components/order-view/order-details/expanded-content/services-section/OrderServices.js.map +1 -1
- package/dist/components/order-view/order-details/expanded-content/services-section/ServiceLevel.js +17 -18
- package/dist/components/order-view/order-details/expanded-content/services-section/ServiceLevel.js.map +1 -1
- package/dist/components/order-view/order-details/expanded-content/services-section/ServiceType.js +22 -26
- package/dist/components/order-view/order-details/expanded-content/services-section/ServiceType.js.map +1 -1
- package/dist/components/order-view/order-details/expanded-content/services-section/index.js +79 -25
- package/dist/components/order-view/order-details/expanded-content/services-section/index.js.map +1 -1
- package/dist/components/order-view/order-details/helper.js.map +1 -1
- package/dist/components/order-view/products-info/collapsed-content/index.js +21 -15
- package/dist/components/order-view/products-info/collapsed-content/index.js.map +1 -1
- package/dist/components/order-view/products-info/index.js +36 -36
- package/dist/components/order-view/products-info/index.js.map +1 -1
- package/dist/components/order-view/return-client-products/product-table/ReturnProductTable.js +265 -334
- package/dist/components/order-view/return-client-products/product-table/ReturnProductTable.js.map +1 -1
- package/dist/components/order-view/store.js +155 -162
- package/dist/components/order-view/store.js.map +1 -1
- package/dist/components/order-view/toolbox-resources/expanded-content/index.js +281 -173
- package/dist/components/order-view/toolbox-resources/expanded-content/index.js.map +1 -1
- package/dist/components/utils.js +5 -4
- package/dist/components/utils.js.map +1 -1
- package/dist/types/common/modals/order-action-modal/OrderActionModal.d.ts +1 -2
- package/dist/types/common/modals/order-action-modal/footer/OrderActionFooter.d.ts +1 -1
- package/dist/types/components/client-portal/ClientPortalResponsive.d.ts +15 -0
- package/dist/types/components/order-daily-overview/common/mediaQuery.d.ts +4 -0
- package/dist/types/components/order-daily-overview/filters/FilterStyle.d.ts +1 -0
- package/dist/types/components/order-view/order-actions/Dropdown.d.ts +0 -1
- package/dist/types/components/order-view/return-client-products/product-table/ReturnProductTable.d.ts +1 -0
- package/dist/types/components/order-view/store.d.ts +0 -1
- package/dist/types/components/order-view/types.d.ts +1 -1
- package/dist/types/components/utils.d.ts +1 -0
- package/package.json +2 -2
- package/dist/assets/icons/ChevronDownIcon.js +0 -26
- package/dist/assets/icons/ChevronDownIcon.js.map +0 -1
- package/dist/components/order-view/return-client-products/product-table/palletGrouping.js +0 -47
- package/dist/components/order-view/return-client-products/product-table/palletGrouping.js.map +0 -1
- package/dist/types/components/order-view/return-client-products/product-table/palletGrouping.d.ts +0 -23
|
@@ -1,52 +1,53 @@
|
|
|
1
|
-
import { jsxs as l, jsx as
|
|
2
|
-
import { useState as
|
|
3
|
-
import r, { css as
|
|
4
|
-
import { useOrderId as
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import { DownloadIcon as
|
|
10
|
-
import { Tabs as
|
|
11
|
-
import { useAxios as
|
|
12
|
-
import { useClientPortal as
|
|
13
|
-
import {
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import { jsxs as l, jsx as t, Fragment as R } from "react/jsx-runtime";
|
|
2
|
+
import { useState as k, useEffect as U } from "react";
|
|
3
|
+
import r, { css as F } from "styled-components";
|
|
4
|
+
import { useOrderId as rt, skeletonTomTom as dt, useZoomCallLogs as st, useZoomCallLogsLoader as ct, useEpodImages as pt } from "../../store.js";
|
|
5
|
+
import ht from "../../../../common/scrollbar/index.js";
|
|
6
|
+
import mt from "../../../../common/expand-collapse/index.js";
|
|
7
|
+
import bt from "../collapsed-content/index.js";
|
|
8
|
+
import u from "@tippyjs/react";
|
|
9
|
+
import { DownloadIcon as N } from "../../../../assets/icons/DownloadIcon.js";
|
|
10
|
+
import { Tabs as L, Skeleton as s, Image as gt, Spin as ft, notification as S } from "antd";
|
|
11
|
+
import { useAxios as E, PrivateIcon as ut, PublicIcon as wt, ViewIcon as _, formatUtcToLocal as P } from "@bjsdistribution/dms-component-library";
|
|
12
|
+
import { useClientPortal as xt } from "../../../store.js";
|
|
13
|
+
import { toReverseDeliveryLabel as yt } from "../../../utils.js";
|
|
14
|
+
import { useAtom as vt } from "jotai";
|
|
15
|
+
function Kt() {
|
|
16
|
+
const [x] = rt(), [Z] = vt(dt), [g, M] = k("pda"), [C, V] = st(), [H, K] = ct(), [G, W] = k([]), [q] = pt(), [z, J] = k([]), [Q] = xt(), {
|
|
16
17
|
data: X,
|
|
17
18
|
// setShouldPerformAction: setAction,
|
|
18
|
-
loading:
|
|
19
|
+
loading: I,
|
|
19
20
|
fetchData: Y
|
|
20
|
-
} =
|
|
21
|
+
} = E({
|
|
21
22
|
endpoint: `v1/orders/call_logs/?order_id=${x}`,
|
|
22
23
|
method: "GET"
|
|
23
24
|
// performAction: false,
|
|
24
25
|
});
|
|
25
26
|
U(() => {
|
|
26
|
-
x && V(X?.data), K(
|
|
27
|
-
}, [
|
|
28
|
-
const { fetchData:
|
|
27
|
+
x && V(X?.data), K(I);
|
|
28
|
+
}, [I]);
|
|
29
|
+
const { fetchData: tt } = E({
|
|
29
30
|
endpoint: "/v1/orders/call_logs/recording/download/",
|
|
30
31
|
method: "POST",
|
|
31
32
|
config: {
|
|
32
33
|
responseType: "blob"
|
|
33
34
|
}
|
|
34
|
-
}), y = q?.result?.map((
|
|
35
|
-
s3_content:
|
|
35
|
+
}), y = q?.result?.map((a) => ({
|
|
36
|
+
s3_content: a?.s3_content,
|
|
36
37
|
// Use image_link for photos as it already contains the .jpg extension
|
|
37
|
-
image_link:
|
|
38
|
-
type:
|
|
39
|
-
time: new Date(
|
|
40
|
-
path:
|
|
41
|
-
visibility_status:
|
|
38
|
+
image_link: a?.image_link,
|
|
39
|
+
type: a?.type,
|
|
40
|
+
time: new Date(a?.timestamp * 1e3).toLocaleString(),
|
|
41
|
+
path: a?.path,
|
|
42
|
+
visibility_status: a?.visibility_status
|
|
42
43
|
}));
|
|
43
44
|
U(() => {
|
|
44
45
|
y && y?.length > 0 && J(y);
|
|
45
46
|
}, [y?.length > 0]);
|
|
46
|
-
const
|
|
47
|
-
const
|
|
48
|
-
return
|
|
49
|
-
}, T = (
|
|
47
|
+
const D = async (a) => {
|
|
48
|
+
const e = new Uint8Array(await a.slice(0, 12).arrayBuffer());
|
|
49
|
+
return e[0] === 255 && e[1] === 216 && e[2] === 255 ? ".jpeg" : e[0] === 137 && e[1] === 80 && e[2] === 78 && e[3] === 71 ? ".png" : e[0] === 37 && e[1] === 80 && e[2] === 68 && e[3] === 70 ? ".pdf" : e[0] === 73 && e[1] === 68 && e[2] === 51 || e[0] === 255 && (e[1] === 251 || e[1] === 243 || e[1] === 242) ? ".mp3" : e[0] === 82 && e[1] === 73 && e[2] === 70 && e[3] === 70 && e[8] === 87 && e[9] === 65 && e[10] === 86 && e[11] === 69 ? ".wav" : e[0] === 79 && e[1] === 103 && e[2] === 103 && e[3] === 83 ? ".ogg" : e[0] === 71 && e[1] === 73 && e[2] === 70 && e[3] === 56 ? ".gif" : e[0] === 82 && e[1] === 73 && e[2] === 70 && e[3] === 70 && e[8] === 87 && e[9] === 69 && e[10] === 66 && e[11] === 80 ? ".webp" : e[4] === 102 && e[5] === 116 && e[6] === 121 && e[7] === 112 ? ".mp4" : "";
|
|
50
|
+
}, T = (a) => ({
|
|
50
51
|
"image/jpeg": ".jpeg",
|
|
51
52
|
"image/jpg": ".jpg",
|
|
52
53
|
"image/png": ".png",
|
|
@@ -59,185 +60,185 @@ function He() {
|
|
|
59
60
|
"audio/ogg": ".ogg",
|
|
60
61
|
"audio/x-wav": ".wav",
|
|
61
62
|
"video/mp4": ".mp4"
|
|
62
|
-
})[
|
|
63
|
-
if (
|
|
63
|
+
})[a?.toLowerCase()] || "", et = async (a, e) => {
|
|
64
|
+
if (a)
|
|
64
65
|
try {
|
|
65
|
-
const
|
|
66
|
-
if (!
|
|
67
|
-
const
|
|
68
|
-
let i = await
|
|
66
|
+
const o = await fetch(a);
|
|
67
|
+
if (!o.ok) throw new Error("Download failed");
|
|
68
|
+
const n = await o.blob();
|
|
69
|
+
let i = await D(n);
|
|
69
70
|
if (!i) {
|
|
70
|
-
const
|
|
71
|
-
i = T(
|
|
71
|
+
const lt = o.headers.get("Content-Type") || "";
|
|
72
|
+
i = T(lt.split(";")[0]?.trim());
|
|
72
73
|
}
|
|
73
|
-
!i &&
|
|
74
|
-
let
|
|
75
|
-
!/\.\w{2,5}$/.test(
|
|
76
|
-
const
|
|
77
|
-
h.href =
|
|
74
|
+
!i && n.type && (i = T(n.type));
|
|
75
|
+
let d = e || "download";
|
|
76
|
+
!/\.\w{2,5}$/.test(d) && i && (d = `${d}${i}`);
|
|
77
|
+
const b = URL.createObjectURL(n), h = document.createElement("a");
|
|
78
|
+
h.href = b, h.download = d, document.body.appendChild(h), h.click(), document.body.removeChild(h), URL.revokeObjectURL(b);
|
|
78
79
|
} catch {
|
|
79
|
-
const
|
|
80
|
-
|
|
80
|
+
const n = document.createElement("a");
|
|
81
|
+
n.href = a, n.download = e || "download", document.body.appendChild(n), n.click(), document.body.removeChild(n);
|
|
81
82
|
}
|
|
82
|
-
},
|
|
83
|
-
M(
|
|
84
|
-
},
|
|
85
|
-
W((
|
|
86
|
-
(
|
|
87
|
-
) : [...
|
|
88
|
-
},
|
|
83
|
+
}, ot = (a) => {
|
|
84
|
+
M(a), a === "customer_calls" && Y();
|
|
85
|
+
}, at = g === "pda" ? Z : H, j = g === "pda" ? z : C, $ = (a, e) => {
|
|
86
|
+
W((o) => o.some((n) => n.url === a) ? o.map(
|
|
87
|
+
(n) => n.url === a ? { ...n, status: e } : n
|
|
88
|
+
) : [...o, { url: a, status: e }]);
|
|
89
|
+
}, nt = async (a) => {
|
|
89
90
|
try {
|
|
90
|
-
|
|
91
|
-
const
|
|
91
|
+
$(a, !0);
|
|
92
|
+
const o = await tt({
|
|
92
93
|
payload: {
|
|
93
|
-
recording_url:
|
|
94
|
+
recording_url: a
|
|
94
95
|
}
|
|
95
|
-
}), { pathname:
|
|
96
|
-
let p = await
|
|
97
|
-
!p &&
|
|
98
|
-
const
|
|
99
|
-
h.href =
|
|
96
|
+
}), { pathname: n } = new URL(a), i = n.split("/").pop(), d = o instanceof Blob ? o : new Blob([o]);
|
|
97
|
+
let p = await D(d);
|
|
98
|
+
!p && d.type && (p = T(d.type)), p || (p = ".mp3");
|
|
99
|
+
const b = URL.createObjectURL(d), h = document.createElement("a");
|
|
100
|
+
h.href = b, h.download = `${i}${p}`, h.click(), URL.revokeObjectURL(b), S.success({
|
|
100
101
|
message: "Success",
|
|
101
102
|
description: "File downloaded successfully"
|
|
102
103
|
});
|
|
103
|
-
} catch (
|
|
104
|
-
console.log(
|
|
104
|
+
} catch (e) {
|
|
105
|
+
console.log(e), S.error({
|
|
105
106
|
message: "Failed to download file",
|
|
106
107
|
//@ts-ignore
|
|
107
|
-
description:
|
|
108
|
+
description: e
|
|
108
109
|
});
|
|
109
110
|
} finally {
|
|
110
|
-
|
|
111
|
+
$(a, !1);
|
|
111
112
|
}
|
|
112
|
-
},
|
|
113
|
-
/* @__PURE__ */
|
|
114
|
-
|
|
115
|
-
/* @__PURE__ */
|
|
116
|
-
] }),
|
|
117
|
-
/* @__PURE__ */
|
|
118
|
-
/* @__PURE__ */
|
|
119
|
-
/* @__PURE__ */
|
|
120
|
-
|
|
113
|
+
}, it = (a, e) => a === "pda" ? e?.map((o, n) => /* @__PURE__ */ l(f, { className: "data-row", children: [
|
|
114
|
+
/* @__PURE__ */ t(m, { "data-label": "Content", children: /* @__PURE__ */ l("div", { className: "cell-value", children: [
|
|
115
|
+
o?.visibility_status === "locked" ? /* @__PURE__ */ t(ut, {}) : /* @__PURE__ */ t(wt, {}),
|
|
116
|
+
/* @__PURE__ */ t("div", { children: o?.path })
|
|
117
|
+
] }) }),
|
|
118
|
+
/* @__PURE__ */ t(m, { "data-label": "Type", children: yt(o?.type, Q) }),
|
|
119
|
+
/* @__PURE__ */ t(m, { "data-label": "Time", children: o?.time }),
|
|
120
|
+
/* @__PURE__ */ t(m, { colSpan: 2, "data-label": "Options", children: (o?.type === "photo" || o?.type === "call_recording") && /* @__PURE__ */ t(Dt, { children: /* @__PURE__ */ l(B, { children: [
|
|
121
|
+
o?.type === "call_recording" ? /* @__PURE__ */ t(u, { content: "Play", placement: "top", trigger: "mouseenter", children: /* @__PURE__ */ t(
|
|
121
122
|
w,
|
|
122
123
|
{
|
|
123
124
|
onClick: () => {
|
|
124
|
-
const i =
|
|
125
|
-
window.open(`${
|
|
125
|
+
const i = o?.path?.match(/\.\w+$/)?.[0] || "";
|
|
126
|
+
window.open(`${o?.s3_content}${i}`, "_blank");
|
|
126
127
|
},
|
|
127
|
-
children: /* @__PURE__ */
|
|
128
|
+
children: /* @__PURE__ */ t(_, { style: { cursor: "pointer" } })
|
|
128
129
|
}
|
|
129
|
-
) }) : /* @__PURE__ */
|
|
130
|
-
/* @__PURE__ */
|
|
131
|
-
/* @__PURE__ */
|
|
132
|
-
|
|
130
|
+
) }) : /* @__PURE__ */ t(u, { content: "View", placement: "top", trigger: "mouseenter", children: /* @__PURE__ */ l(w, { className: "ImageView", children: [
|
|
131
|
+
/* @__PURE__ */ t(_, { style: { cursor: "pointer" } }),
|
|
132
|
+
/* @__PURE__ */ t(
|
|
133
|
+
gt,
|
|
133
134
|
{
|
|
134
135
|
width: "20px",
|
|
135
|
-
src:
|
|
136
|
+
src: o?.type === "photo" ? o?.image_link : o?.s3_content
|
|
136
137
|
}
|
|
137
138
|
)
|
|
138
139
|
] }) }),
|
|
139
|
-
/* @__PURE__ */
|
|
140
|
-
|
|
140
|
+
/* @__PURE__ */ t(
|
|
141
|
+
u,
|
|
141
142
|
{
|
|
142
143
|
content: "Download",
|
|
143
144
|
placement: "top",
|
|
144
145
|
trigger: "mouseenter",
|
|
145
|
-
children: /* @__PURE__ */
|
|
146
|
+
children: /* @__PURE__ */ t(
|
|
146
147
|
w,
|
|
147
148
|
{
|
|
148
149
|
onClick: () => {
|
|
149
|
-
const i =
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
150
|
+
const i = o?.path?.match(/\.\w+$/)?.[0] || "", d = o?.type === "photo" ? o?.image_link : `${o?.s3_content}${i}`;
|
|
151
|
+
et(
|
|
152
|
+
d,
|
|
153
|
+
o?.path?.split("/").pop()
|
|
153
154
|
);
|
|
154
155
|
},
|
|
155
|
-
children: /* @__PURE__ */
|
|
156
|
+
children: /* @__PURE__ */ t(N, {})
|
|
156
157
|
}
|
|
157
158
|
)
|
|
158
159
|
}
|
|
159
160
|
)
|
|
160
161
|
] }) }) })
|
|
161
|
-
] },
|
|
162
|
-
const i =
|
|
163
|
-
return /* @__PURE__ */ l(
|
|
164
|
-
/* @__PURE__ */
|
|
165
|
-
/* @__PURE__ */
|
|
166
|
-
/* @__PURE__ */
|
|
167
|
-
/* @__PURE__ */
|
|
168
|
-
/* @__PURE__ */
|
|
162
|
+
] }, n)) : C?.map((o, n) => {
|
|
163
|
+
const i = o?.recordings?.[0], p = G.find((b) => b.url === i?.url)?.status || !1;
|
|
164
|
+
return /* @__PURE__ */ l(f, { className: "data-row", children: [
|
|
165
|
+
/* @__PURE__ */ t(m, { "data-label": "Content", children: o?.description }),
|
|
166
|
+
/* @__PURE__ */ t(m, { "data-label": "Type", children: o?.source_type }),
|
|
167
|
+
/* @__PURE__ */ t(m, { "data-label": "Time", children: /* @__PURE__ */ l(Ct, { children: [
|
|
168
|
+
/* @__PURE__ */ t("span", { children: P(o?.start_datetime).date }),
|
|
169
|
+
/* @__PURE__ */ t("span", { children: P(o?.start_datetime).time })
|
|
169
170
|
] }) }),
|
|
170
|
-
/* @__PURE__ */
|
|
171
|
-
!p && i && /* @__PURE__ */ l(
|
|
172
|
-
/* @__PURE__ */
|
|
173
|
-
|
|
171
|
+
/* @__PURE__ */ t(m, { colSpan: 2, "data-label": "Options", children: /* @__PURE__ */ t("div", { className: "call-recording-actions", children: /* @__PURE__ */ l(B, { children: [
|
|
172
|
+
!p && i && /* @__PURE__ */ l(R, { children: [
|
|
173
|
+
/* @__PURE__ */ t(
|
|
174
|
+
u,
|
|
174
175
|
{
|
|
175
176
|
content: "Play",
|
|
176
177
|
placement: "top",
|
|
177
178
|
trigger: "mouseenter",
|
|
178
|
-
children: /* @__PURE__ */
|
|
179
|
+
children: /* @__PURE__ */ t(
|
|
179
180
|
w,
|
|
180
181
|
{
|
|
181
182
|
onClick: () => window.open(i.url, "_blank"),
|
|
182
|
-
children: /* @__PURE__ */
|
|
183
|
+
children: /* @__PURE__ */ t(_, { style: { cursor: "pointer" } })
|
|
183
184
|
}
|
|
184
185
|
)
|
|
185
186
|
}
|
|
186
187
|
),
|
|
187
|
-
/* @__PURE__ */
|
|
188
|
-
|
|
188
|
+
/* @__PURE__ */ t(
|
|
189
|
+
u,
|
|
189
190
|
{
|
|
190
191
|
content: "Download",
|
|
191
192
|
placement: "top",
|
|
192
193
|
trigger: "mouseenter",
|
|
193
|
-
children: /* @__PURE__ */
|
|
194
|
+
children: /* @__PURE__ */ t(
|
|
194
195
|
w,
|
|
195
196
|
{
|
|
196
|
-
onClick: () =>
|
|
197
|
-
children: /* @__PURE__ */
|
|
197
|
+
onClick: () => nt(i.url),
|
|
198
|
+
children: /* @__PURE__ */ t(N, {})
|
|
198
199
|
}
|
|
199
200
|
)
|
|
200
201
|
}
|
|
201
202
|
)
|
|
202
203
|
] }),
|
|
203
|
-
i && /* @__PURE__ */
|
|
204
|
+
i && /* @__PURE__ */ t(ft, { size: "small", spinning: p })
|
|
204
205
|
] }) }) })
|
|
205
|
-
] },
|
|
206
|
+
] }, n);
|
|
206
207
|
});
|
|
207
|
-
return /* @__PURE__ */ l(
|
|
208
|
-
/* @__PURE__ */
|
|
209
|
-
|
|
208
|
+
return /* @__PURE__ */ l(mt, { collapsedContent: /* @__PURE__ */ t(bt, {}), children: [
|
|
209
|
+
/* @__PURE__ */ t(Tt, { children: /* @__PURE__ */ l(
|
|
210
|
+
L,
|
|
210
211
|
{
|
|
211
212
|
defaultActiveKey: "pda",
|
|
212
|
-
activeKey:
|
|
213
|
-
onChange:
|
|
213
|
+
activeKey: g,
|
|
214
|
+
onChange: ot,
|
|
214
215
|
children: [
|
|
215
|
-
/* @__PURE__ */
|
|
216
|
-
|
|
216
|
+
/* @__PURE__ */ t(
|
|
217
|
+
L.TabPane,
|
|
217
218
|
{
|
|
218
219
|
tab: /* @__PURE__ */ l(
|
|
219
220
|
"div",
|
|
220
221
|
{
|
|
221
|
-
className:
|
|
222
|
+
className: g === "pda" ? "active-tab" : "passive-tab",
|
|
222
223
|
children: [
|
|
223
224
|
"PDA ",
|
|
224
|
-
/* @__PURE__ */
|
|
225
|
+
/* @__PURE__ */ t("span", { className: "count", children: z?.length })
|
|
225
226
|
]
|
|
226
227
|
}
|
|
227
228
|
)
|
|
228
229
|
},
|
|
229
230
|
"pda"
|
|
230
231
|
),
|
|
231
|
-
/* @__PURE__ */
|
|
232
|
-
|
|
232
|
+
/* @__PURE__ */ t(
|
|
233
|
+
L.TabPane,
|
|
233
234
|
{
|
|
234
235
|
tab: /* @__PURE__ */ l(
|
|
235
236
|
"div",
|
|
236
237
|
{
|
|
237
|
-
className:
|
|
238
|
+
className: g === "customer_calls" ? "active-tab" : "passive-tab",
|
|
238
239
|
children: [
|
|
239
240
|
"Customer Calls",
|
|
240
|
-
/* @__PURE__ */
|
|
241
|
+
/* @__PURE__ */ t("span", { className: "count", children: C?.length })
|
|
241
242
|
]
|
|
242
243
|
}
|
|
243
244
|
)
|
|
@@ -247,49 +248,49 @@ function He() {
|
|
|
247
248
|
]
|
|
248
249
|
}
|
|
249
250
|
) }),
|
|
250
|
-
/* @__PURE__ */
|
|
251
|
-
/* @__PURE__ */
|
|
252
|
-
/* @__PURE__ */
|
|
253
|
-
/* @__PURE__ */
|
|
254
|
-
/* @__PURE__ */
|
|
255
|
-
/* @__PURE__ */
|
|
251
|
+
/* @__PURE__ */ t(jt, { children: /* @__PURE__ */ t(kt, { className: "mobile-table-container", children: /* @__PURE__ */ t(Lt, { className: "mobile-table-wrapper", children: /* @__PURE__ */ t(ht, { children: /* @__PURE__ */ l(It, { children: [
|
|
252
|
+
/* @__PURE__ */ t(zt, { children: /* @__PURE__ */ l(f, { children: [
|
|
253
|
+
/* @__PURE__ */ t(v, { children: "Content" }),
|
|
254
|
+
/* @__PURE__ */ t(v, { children: "Type" }),
|
|
255
|
+
/* @__PURE__ */ t(v, { children: "Time" }),
|
|
256
|
+
/* @__PURE__ */ t(v, { children: "Options" })
|
|
256
257
|
] }) }),
|
|
257
|
-
/* @__PURE__ */
|
|
258
|
-
/* @__PURE__ */ l(
|
|
259
|
-
/* @__PURE__ */
|
|
260
|
-
|
|
258
|
+
/* @__PURE__ */ t(_t, { children: at ? /* @__PURE__ */ l(R, { children: [
|
|
259
|
+
/* @__PURE__ */ l(f, { children: [
|
|
260
|
+
/* @__PURE__ */ t(c, { children: /* @__PURE__ */ t(
|
|
261
|
+
s.Input,
|
|
261
262
|
{
|
|
262
263
|
active: !0,
|
|
263
264
|
size: "small",
|
|
264
265
|
style: { width: 100 }
|
|
265
266
|
}
|
|
266
267
|
) }),
|
|
267
|
-
/* @__PURE__ */
|
|
268
|
-
|
|
268
|
+
/* @__PURE__ */ t(c, { children: /* @__PURE__ */ t(
|
|
269
|
+
s.Input,
|
|
269
270
|
{
|
|
270
271
|
active: !0,
|
|
271
272
|
size: "small",
|
|
272
273
|
style: { width: 80 }
|
|
273
274
|
}
|
|
274
275
|
) }),
|
|
275
|
-
/* @__PURE__ */
|
|
276
|
-
|
|
276
|
+
/* @__PURE__ */ t(c, { children: /* @__PURE__ */ t(
|
|
277
|
+
s.Input,
|
|
277
278
|
{
|
|
278
279
|
active: !0,
|
|
279
280
|
size: "small",
|
|
280
281
|
style: { width: 130 }
|
|
281
282
|
}
|
|
282
283
|
) }),
|
|
283
|
-
/* @__PURE__ */
|
|
284
|
-
|
|
284
|
+
/* @__PURE__ */ t(c, { children: /* @__PURE__ */ t(
|
|
285
|
+
s.Input,
|
|
285
286
|
{
|
|
286
287
|
active: !0,
|
|
287
288
|
size: "small",
|
|
288
289
|
style: { width: 100 }
|
|
289
290
|
}
|
|
290
291
|
) }),
|
|
291
|
-
/* @__PURE__ */
|
|
292
|
-
|
|
292
|
+
/* @__PURE__ */ t(c, { children: /* @__PURE__ */ t(
|
|
293
|
+
s.Input,
|
|
293
294
|
{
|
|
294
295
|
active: !0,
|
|
295
296
|
size: "small",
|
|
@@ -297,41 +298,41 @@ function He() {
|
|
|
297
298
|
}
|
|
298
299
|
) })
|
|
299
300
|
] }),
|
|
300
|
-
/* @__PURE__ */ l(
|
|
301
|
-
/* @__PURE__ */
|
|
302
|
-
|
|
301
|
+
/* @__PURE__ */ l(f, { children: [
|
|
302
|
+
/* @__PURE__ */ t(c, { children: /* @__PURE__ */ t(
|
|
303
|
+
s.Input,
|
|
303
304
|
{
|
|
304
305
|
active: !0,
|
|
305
306
|
size: "small",
|
|
306
307
|
style: { width: 100 }
|
|
307
308
|
}
|
|
308
309
|
) }),
|
|
309
|
-
/* @__PURE__ */
|
|
310
|
-
|
|
310
|
+
/* @__PURE__ */ t(c, { children: /* @__PURE__ */ t(
|
|
311
|
+
s.Input,
|
|
311
312
|
{
|
|
312
313
|
active: !0,
|
|
313
314
|
size: "small",
|
|
314
315
|
style: { width: 80 }
|
|
315
316
|
}
|
|
316
317
|
) }),
|
|
317
|
-
/* @__PURE__ */
|
|
318
|
-
|
|
318
|
+
/* @__PURE__ */ t(c, { children: /* @__PURE__ */ t(
|
|
319
|
+
s.Input,
|
|
319
320
|
{
|
|
320
321
|
active: !0,
|
|
321
322
|
size: "small",
|
|
322
323
|
style: { width: 130 }
|
|
323
324
|
}
|
|
324
325
|
) }),
|
|
325
|
-
/* @__PURE__ */
|
|
326
|
-
|
|
326
|
+
/* @__PURE__ */ t(c, { children: /* @__PURE__ */ t(
|
|
327
|
+
s.Input,
|
|
327
328
|
{
|
|
328
329
|
active: !0,
|
|
329
330
|
size: "small",
|
|
330
331
|
style: { width: 100 }
|
|
331
332
|
}
|
|
332
333
|
) }),
|
|
333
|
-
/* @__PURE__ */
|
|
334
|
-
|
|
334
|
+
/* @__PURE__ */ t(c, { children: /* @__PURE__ */ t(
|
|
335
|
+
s.Input,
|
|
335
336
|
{
|
|
336
337
|
active: !0,
|
|
337
338
|
size: "small",
|
|
@@ -339,20 +340,20 @@ function He() {
|
|
|
339
340
|
}
|
|
340
341
|
) })
|
|
341
342
|
] })
|
|
342
|
-
] }) :
|
|
343
|
+
] }) : j?.length > 0 ? it(g, j) : /* @__PURE__ */ t(f, { children: /* @__PURE__ */ t(m, { colSpan: 5, children: "No entries found." }) }) })
|
|
343
344
|
] }) }) }) }) })
|
|
344
345
|
] });
|
|
345
346
|
}
|
|
346
|
-
const
|
|
347
|
+
const Ct = r.div`
|
|
347
348
|
display: flex;
|
|
348
349
|
flex-direction: column;
|
|
349
350
|
gap: 2px;
|
|
350
|
-
`,
|
|
351
|
+
`, A = F`
|
|
351
352
|
color: #3a3630 !important;
|
|
352
353
|
font-family: 'Lato', sans-serif;
|
|
353
354
|
font-size: 14px;
|
|
354
355
|
font-weight: 500;
|
|
355
|
-
`,
|
|
356
|
+
`, O = F`
|
|
356
357
|
color: #fff;
|
|
357
358
|
background: #3a3630;
|
|
358
359
|
padding: 2px 5px;
|
|
@@ -362,7 +363,7 @@ const Ce = r.div`
|
|
|
362
363
|
height: 18px;
|
|
363
364
|
display: flex;
|
|
364
365
|
align-items: center;
|
|
365
|
-
`,
|
|
366
|
+
`, Tt = r.div`
|
|
366
367
|
margin-bottom: 10px;
|
|
367
368
|
|
|
368
369
|
.ant-tabs {
|
|
@@ -370,9 +371,9 @@ const Ce = r.div`
|
|
|
370
371
|
}
|
|
371
372
|
.ant-tabs-tab {
|
|
372
373
|
.ant-tabs-tab-btn {
|
|
373
|
-
${
|
|
374
|
+
${A};
|
|
374
375
|
.count {
|
|
375
|
-
${
|
|
376
|
+
${O};
|
|
376
377
|
}
|
|
377
378
|
.passive-tab {
|
|
378
379
|
display: flex;
|
|
@@ -384,9 +385,9 @@ const Ce = r.div`
|
|
|
384
385
|
}
|
|
385
386
|
.ant-tabs-tab-active {
|
|
386
387
|
.ant-tabs-tab-btn {
|
|
387
|
-
${
|
|
388
|
+
${A};
|
|
388
389
|
.count {
|
|
389
|
-
${
|
|
390
|
+
${O};
|
|
390
391
|
}
|
|
391
392
|
.active-tab {
|
|
392
393
|
display: flex;
|
|
@@ -398,17 +399,17 @@ const Ce = r.div`
|
|
|
398
399
|
.ant-tabs-ink-bar {
|
|
399
400
|
background: #feba30;
|
|
400
401
|
}
|
|
401
|
-
`,
|
|
402
|
+
`, c = r.td`
|
|
402
403
|
padding: 12px 8px;
|
|
403
404
|
text-align: left;
|
|
404
405
|
max-width: ${({ width: x }) => x || "auto"};
|
|
405
|
-
`,
|
|
406
|
+
`, kt = r.div`
|
|
406
407
|
height: 30vh;
|
|
407
408
|
pointer-events: initial;
|
|
408
409
|
@media (max-width: 1024px) {
|
|
409
410
|
height: 40vh;
|
|
410
411
|
}
|
|
411
|
-
`,
|
|
412
|
+
`, Lt = r.div`
|
|
412
413
|
height: 100%;
|
|
413
414
|
overflow-x: auto;
|
|
414
415
|
scrollbar-width: thin;
|
|
@@ -436,30 +437,30 @@ const Ce = r.div`
|
|
|
436
437
|
gap: 5px;
|
|
437
438
|
align-items: center;
|
|
438
439
|
}
|
|
439
|
-
`,
|
|
440
|
+
`, f = r.tr`
|
|
440
441
|
border-bottom: 1px solid rgb(215, 214, 213);
|
|
441
442
|
font-weight: 300;
|
|
442
|
-
`,
|
|
443
|
+
`, _t = r.tbody`
|
|
443
444
|
border-bottom-right-radius: 10px;
|
|
444
445
|
background: rgb(255, 255, 255);
|
|
445
446
|
height: 96%;
|
|
446
447
|
overflow: auto;
|
|
447
448
|
width: 100%;
|
|
448
|
-
`,
|
|
449
|
+
`, zt = r.thead`
|
|
449
450
|
position: sticky;
|
|
450
451
|
top: 0px;
|
|
451
452
|
z-index: 1;
|
|
452
453
|
background: #f8f8f8;
|
|
453
454
|
white-space: nowrap;
|
|
454
|
-
`,
|
|
455
|
+
`, It = r.table`
|
|
455
456
|
width: 100%;
|
|
456
457
|
background: rgb(255, 255, 255);
|
|
457
458
|
box-shadow: 0px 4px 30px 0px #2e2d740d;
|
|
458
459
|
border-collapse: collapse;
|
|
459
|
-
`,
|
|
460
|
+
`, Dt = r.div``, w = r.div`
|
|
460
461
|
display: inline-block;
|
|
461
462
|
margin: 7px;
|
|
462
|
-
`,
|
|
463
|
+
`, B = r.div`
|
|
463
464
|
gap: 10px;
|
|
464
465
|
cursor: pointer;
|
|
465
466
|
display: flex;
|
|
@@ -473,7 +474,7 @@ const Ce = r.div`
|
|
|
473
474
|
opacity: 0;
|
|
474
475
|
}
|
|
475
476
|
}
|
|
476
|
-
`,
|
|
477
|
+
`, jt = r.div`
|
|
477
478
|
.col {
|
|
478
479
|
display: flex;
|
|
479
480
|
align-items: center;
|
|
@@ -511,6 +512,113 @@ const Ce = r.div`
|
|
|
511
512
|
justify-content: flex-end;
|
|
512
513
|
}
|
|
513
514
|
|
|
515
|
+
@media screen and (max-width: 768px) {
|
|
516
|
+
.mobile-table-container {
|
|
517
|
+
height: auto;
|
|
518
|
+
}
|
|
519
|
+
.mobile-table-wrapper {
|
|
520
|
+
height: auto;
|
|
521
|
+
max-height: 60vh;
|
|
522
|
+
overflow-x: hidden;
|
|
523
|
+
overflow-y: auto;
|
|
524
|
+
border-radius: 0;
|
|
525
|
+
}
|
|
526
|
+
.mobile-table-wrapper > div,
|
|
527
|
+
.mobile-table-wrapper > div > div:first-child {
|
|
528
|
+
position: static !important;
|
|
529
|
+
height: auto !important;
|
|
530
|
+
overflow: visible !important;
|
|
531
|
+
margin: 0 !important;
|
|
532
|
+
inset: auto !important;
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
table,
|
|
536
|
+
thead,
|
|
537
|
+
tbody {
|
|
538
|
+
display: block;
|
|
539
|
+
width: 100%;
|
|
540
|
+
min-width: 0;
|
|
541
|
+
height: auto;
|
|
542
|
+
box-shadow: none;
|
|
543
|
+
}
|
|
544
|
+
table {
|
|
545
|
+
background: transparent;
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
thead {
|
|
549
|
+
position: absolute;
|
|
550
|
+
width: 1px;
|
|
551
|
+
height: 1px;
|
|
552
|
+
margin: -1px;
|
|
553
|
+
padding: 0;
|
|
554
|
+
overflow: hidden;
|
|
555
|
+
clip: rect(0, 0, 0, 0);
|
|
556
|
+
white-space: nowrap;
|
|
557
|
+
border: 0;
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
tbody tr.data-row {
|
|
561
|
+
display: block;
|
|
562
|
+
width: 100%;
|
|
563
|
+
box-sizing: border-box;
|
|
564
|
+
margin-bottom: 12px;
|
|
565
|
+
padding: 10px 12px;
|
|
566
|
+
border: 1px solid #e3e3e3;
|
|
567
|
+
border-radius: 12px;
|
|
568
|
+
background: #fff;
|
|
569
|
+
box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
|
|
570
|
+
}
|
|
571
|
+
tbody tr.data-row td {
|
|
572
|
+
display: flex;
|
|
573
|
+
align-items: flex-start;
|
|
574
|
+
justify-content: space-between;
|
|
575
|
+
gap: 12px;
|
|
576
|
+
width: 100%;
|
|
577
|
+
max-width: none;
|
|
578
|
+
box-sizing: border-box;
|
|
579
|
+
padding: 8px 0;
|
|
580
|
+
border: 0;
|
|
581
|
+
border-bottom: 1px solid #f0f2f2;
|
|
582
|
+
text-align: right;
|
|
583
|
+
word-break: break-word;
|
|
584
|
+
}
|
|
585
|
+
tbody tr.data-row td:last-child {
|
|
586
|
+
border-bottom: 0;
|
|
587
|
+
justify-content: flex-end;
|
|
588
|
+
}
|
|
589
|
+
tbody tr.data-row td:empty {
|
|
590
|
+
display: none;
|
|
591
|
+
}
|
|
592
|
+
tbody tr.data-row td[data-label]::before {
|
|
593
|
+
content: attr(data-label);
|
|
594
|
+
flex: 0 0 38%;
|
|
595
|
+
text-align: left;
|
|
596
|
+
font-size: 12px;
|
|
597
|
+
font-weight: 600;
|
|
598
|
+
text-transform: uppercase;
|
|
599
|
+
color: #6a7378;
|
|
600
|
+
}
|
|
601
|
+
tbody tr.data-row td .cell-value {
|
|
602
|
+
flex: 1;
|
|
603
|
+
min-width: 0;
|
|
604
|
+
}
|
|
605
|
+
tbody tr.data-row td .call-recording-actions {
|
|
606
|
+
justify-content: flex-end;
|
|
607
|
+
}
|
|
608
|
+
tbody tr.data-row td:last-child:has(.call-recording-actions:empty),
|
|
609
|
+
tbody tr.data-row td:last-child:has(.call-recording-actions > div:empty) {
|
|
610
|
+
display: none;
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
/* loading / empty rows */
|
|
614
|
+
tbody > tr:not(.data-row),
|
|
615
|
+
tbody > tr:not(.data-row) td {
|
|
616
|
+
display: block;
|
|
617
|
+
width: 100%;
|
|
618
|
+
box-sizing: border-box;
|
|
619
|
+
}
|
|
620
|
+
}
|
|
621
|
+
|
|
514
622
|
.TableHeadData,
|
|
515
623
|
.TableData {
|
|
516
624
|
padding: 10px 5px;
|
|
@@ -528,6 +636,6 @@ const Ce = r.div`
|
|
|
528
636
|
}
|
|
529
637
|
`;
|
|
530
638
|
export {
|
|
531
|
-
|
|
639
|
+
Kt as default
|
|
532
640
|
};
|
|
533
641
|
//# sourceMappingURL=index.js.map
|