@flamingo-stack/openframe-frontend-core 0.0.720 → 0.0.721
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/assets/index.cjs +6 -0
- package/dist/assets/index.d.ts +1 -0
- package/dist/assets/index.d.ts.map +1 -1
- package/dist/assets/index.js +5 -1
- package/dist/assets/mobile-app-qr.d.ts +17 -0
- package/dist/assets/mobile-app-qr.d.ts.map +1 -0
- package/dist/{chunk-7IOU6BJE.js → chunk-2P2M27EW.js} +2393 -2367
- package/dist/{chunk-3HZ6XSZC.js → chunk-2TXGR7IK.js} +136 -59
- package/dist/{chunk-LO3KCLEF.js → chunk-3LY7V3RF.js} +3 -3
- package/dist/{chunk-6BLN5WDS.cjs → chunk-3R32ZNA2.cjs} +40 -40
- package/dist/{chunk-WSDT7LYL.js → chunk-3UBWDR65.js} +1 -1
- package/dist/{chunk-XW3Q623Q.js → chunk-44Q6MV7C.js} +2 -2
- package/dist/{chunk-CMZ3QTFQ.js → chunk-4I3K6LEH.js} +24 -0
- package/dist/{chunk-4SIZCHVZ.cjs → chunk-4LY6R4TN.cjs} +126 -49
- package/dist/{chunk-TORERAXD.js → chunk-57UTI7ZH.js} +6 -6
- package/dist/{chunk-K2BYVPGR.js → chunk-5QXE5HMV.js} +4 -4
- package/dist/{chunk-QF464PPL.cjs → chunk-6AJIOW3S.cjs} +57 -57
- package/dist/{chunk-B2N4YX66.js → chunk-6YBUQAOH.js} +1 -1
- package/dist/{chunk-6W46LVK4.js → chunk-74N742ZG.js} +6 -6
- package/dist/{chunk-4HJRHEXD.cjs → chunk-7Z5FMQYR.cjs} +22 -22
- package/dist/{chunk-WBNAEYTQ.cjs → chunk-BYUIFT7Q.cjs} +6 -6
- package/dist/{chunk-VF2CJXZ2.cjs → chunk-BYVVE7HP.cjs} +58 -58
- package/dist/{chunk-AZRI4XBP.js → chunk-CO3FOZIH.js} +1 -1
- package/dist/{chunk-XSM46FHD.cjs → chunk-D2DH6VZL.cjs} +3 -3
- package/dist/{chunk-KSGMZHVV.cjs → chunk-DFM572VH.cjs} +2 -2
- package/dist/{chunk-YDPKUAP4.js → chunk-DJ4IFQNQ.js} +2 -0
- package/dist/{chunk-VBHGJFA3.js → chunk-E6SMMMKV.js} +12 -12
- package/dist/{chunk-DHNJSQGX.cjs → chunk-F7ORKKEF.cjs} +103 -103
- package/dist/{chunk-RFUOIQSG.cjs → chunk-GCK75D7F.cjs} +9 -9
- package/dist/{chunk-ZHD3F2TH.cjs → chunk-GGBYZKMS.cjs} +11 -11
- package/dist/{chunk-YK3X74SF.js → chunk-GYAXV3MZ.js} +3 -3
- package/dist/{chunk-RDP5UZXQ.cjs → chunk-HJMSNOBT.cjs} +344 -323
- package/dist/{chunk-DFQYAYBH.cjs → chunk-HQIOMFJH.cjs} +2 -0
- package/dist/{chunk-PXAKSPLZ.js → chunk-HXB7SEYG.js} +27 -6
- package/dist/{chunk-HTS46FFY.cjs → chunk-I2254QN6.cjs} +16 -16
- package/dist/{chunk-ILNN6QRW.js → chunk-JDBZ4ZHU.js} +3 -3
- package/dist/{chunk-GQ7JJUIT.cjs → chunk-K2JUJ37D.cjs} +25 -1
- package/dist/{chunk-URW23QUM.js → chunk-K76ACBR3.js} +2 -2
- package/dist/{chunk-2NASBO7O.js → chunk-KFOAV77K.js} +2 -2
- package/dist/{chunk-Q5327DXK.js → chunk-LAXKEBDD.js} +10 -10
- package/dist/{chunk-O3MKJU6A.js → chunk-LGKMR7NZ.js} +4 -4
- package/dist/{chunk-5XDCCQ4A.cjs → chunk-LODMNSQY.cjs} +13 -13
- package/dist/{chunk-V6B2FBZK.js → chunk-NJ5TBTJG.js} +7 -7
- package/dist/{chunk-HFEYEPOG.cjs → chunk-NMPVK53I.cjs} +29 -29
- package/dist/{chunk-GANIUMRU.js → chunk-NPSJE7J3.js} +1 -1
- package/dist/{chunk-IL3ZWNM2.cjs → chunk-O5EHOJZD.cjs} +4 -4
- package/dist/{chunk-KT3U3ZRP.cjs → chunk-OKE5BIQH.cjs} +8 -8
- package/dist/{chunk-RZQGIWK3.cjs → chunk-QLTXT562.cjs} +2 -2
- package/dist/{chunk-PSMJYZMV.js → chunk-QQCFPMAA.js} +2 -2
- package/dist/{chunk-7LPR4RZ3.cjs → chunk-QYS4YVEP.cjs} +31 -31
- package/dist/{chunk-VYVPII4W.js → chunk-RCI3PALX.js} +6 -6
- package/dist/{chunk-P3JMAMHP.js → chunk-REETLEL5.js} +1 -1
- package/dist/{chunk-2C72EWQR.cjs → chunk-RJMWJAJO.cjs} +26 -26
- package/dist/{chunk-ISCZ6UNF.cjs → chunk-RQZQHLNS.cjs} +73 -73
- package/dist/{chunk-FFT56TYB.cjs → chunk-RUZIICXT.cjs} +2 -2
- package/dist/{chunk-7HYEQKN6.js → chunk-S63QBBT7.js} +5 -5
- package/dist/{chunk-B5LNX4GZ.js → chunk-UXU7Y5BH.js} +2 -2
- package/dist/{chunk-DYDDAA6O.cjs → chunk-UZTOI6FJ.cjs} +766 -740
- package/dist/{chunk-EVMM3JE6.cjs → chunk-VFICDEYJ.cjs} +43 -43
- package/dist/{chunk-DOPOHO6H.cjs → chunk-XE2K53GH.cjs} +18 -18
- package/dist/{chunk-UWJMDFDO.cjs → chunk-XXO52RZR.cjs} +26 -26
- package/dist/{chunk-VYZCKY5K.js → chunk-ZLUFEWZZ.js} +7 -7
- package/dist/{chunk-NYSMDM4J.cjs → chunk-ZSOFLPQN.cjs} +7 -7
- package/dist/{chunk-ZPHOQDAE.js → chunk-ZZEKXGFS.js} +1 -1
- package/dist/{cloud-tenants-UQZASXUB.cjs → cloud-tenants-HZHKRUIW.cjs} +13 -13
- package/dist/{cloud-tenants-RKQRSDNE.js → cloud-tenants-Q4TCJS5Y.js} +12 -12
- package/dist/components/calendar.cjs +4 -4
- package/dist/components/calendar.js +1 -1
- package/dist/components/case-studies/index.cjs +27 -27
- package/dist/components/case-studies/index.js +13 -13
- package/dist/components/chat/index.cjs +8 -8
- package/dist/components/chat/index.js +7 -7
- package/dist/components/contact/index.cjs +14 -14
- package/dist/components/contact/index.js +13 -13
- package/dist/components/docs/index.cjs +17 -17
- package/dist/components/docs/index.js +16 -16
- package/dist/components/embeds/index.cjs +14 -14
- package/dist/components/embeds/index.js +13 -13
- package/dist/components/faq/index.cjs +14 -14
- package/dist/components/faq/index.js +13 -13
- package/dist/components/features/index.cjs +13 -13
- package/dist/components/features/index.js +12 -12
- package/dist/components/help-center-pages/download-apps-page.d.ts +55 -0
- package/dist/components/help-center-pages/download-apps-page.d.ts.map +1 -0
- package/dist/components/help-center-pages/index.cjs +329 -114
- package/dist/components/help-center-pages/index.d.ts +1 -0
- package/dist/components/help-center-pages/index.d.ts.map +1 -1
- package/dist/components/help-center-pages/index.js +243 -28
- package/dist/components/index.cjs +81 -79
- package/dist/components/index.js +28 -26
- package/dist/components/meeting-scheduler/index.cjs +51 -51
- package/dist/components/meeting-scheduler/index.js +14 -14
- package/dist/components/navigation/index.cjs +16 -16
- package/dist/components/navigation/index.js +15 -15
- package/dist/components/onboarding-guides/index.cjs +16 -16
- package/dist/components/onboarding-guides/index.js +15 -15
- package/dist/components/product-demo/index.cjs +8 -8
- package/dist/components/product-demo/index.js +8 -8
- package/dist/components/related-content/index.cjs +5 -5
- package/dist/components/related-content/index.js +4 -4
- package/dist/components/tickets/index.cjs +18 -18
- package/dist/components/tickets/index.js +17 -17
- package/dist/components/ui/button/button.d.ts.map +1 -1
- package/dist/components/ui/file-manager/index.cjs +11 -11
- package/dist/components/ui/file-manager/index.js +1 -1
- package/dist/components/ui/index.cjs +15 -13
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +14 -12
- package/dist/components/ui/mobile-app-qr.d.ts +23 -0
- package/dist/components/ui/mobile-app-qr.d.ts.map +1 -0
- package/dist/components/ui/store-badges.d.ts +7 -4
- package/dist/components/ui/store-badges.d.ts.map +1 -1
- package/dist/{devices-7Q2EUM7B.cjs → devices-6XHUFIC6.cjs} +14 -14
- package/dist/{devices-U3Y4IIW4.js → devices-NOUGVTES.js} +12 -12
- package/dist/hooks/index.cjs +9 -3
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +8 -2
- package/dist/hooks/use-downloads.d.ts +41 -0
- package/dist/hooks/use-downloads.d.ts.map +1 -0
- package/dist/index.cjs +57 -17
- package/dist/index.js +56 -16
- package/dist/{knowledge-NST53EXE.js → knowledge-2YTUXQ2Z.js} +12 -12
- package/dist/{knowledge-UYIZ74MA.cjs → knowledge-ANEKPMO2.cjs} +14 -14
- package/dist/{logs-HTH7X7KV.cjs → logs-U3IB3HUM.cjs} +22 -22
- package/dist/{logs-JVTRG232.js → logs-WVQIONUT.js} +12 -12
- package/dist/{policies-DTXTRK56.js → policies-66EGDW2H.js} +12 -12
- package/dist/{policies-MXK2HB4W.cjs → policies-UFRN2EQF.cjs} +17 -17
- package/dist/{remote-session-LAJZKQBN.js → remote-session-6WEUJZDC.js} +4 -4
- package/dist/{remote-session-SKKF4PBV.cjs → remote-session-A75X5NPC.cjs} +6 -6
- package/dist/{software-update-P6BSM6HX.cjs → software-update-2MHKL76D.cjs} +17 -17
- package/dist/{software-update-6RHMPM3W.js → software-update-3ZD3MXF3.js} +12 -12
- package/dist/{tickets-board-BHLPAVNJ.cjs → tickets-board-IFWMIZ35.cjs} +9 -9
- package/dist/{tickets-board-PYDNELSK.js → tickets-board-MYXG3V72.js} +4 -4
- package/dist/types/downloads.d.ts +67 -0
- package/dist/types/downloads.d.ts.map +1 -0
- package/dist/types/index.cjs +24 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +16 -1
- package/dist/utils/index.cjs +20 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +16 -1
- package/dist/utils/mobile-app.cjs +46 -0
- package/dist/utils/mobile-app.d.ts +40 -0
- package/dist/utils/mobile-app.d.ts.map +1 -0
- package/dist/utils/mobile-app.js +40 -0
- package/package.json +7 -1
- package/src/assets/index.ts +1 -0
- package/src/assets/mobile-app-qr.ts +19 -0
- package/src/components/help-center-pages/download-apps-page.tsx +364 -0
- package/src/components/help-center-pages/index.ts +1 -0
- package/src/components/ui/button/button.tsx +3 -0
- package/src/components/ui/index.ts +1 -0
- package/src/components/ui/mobile-app-qr.tsx +40 -0
- package/src/components/ui/store-badges.tsx +17 -9
- package/src/hooks/index.ts +1 -0
- package/src/hooks/use-downloads.ts +138 -0
- package/src/types/downloads.ts +82 -0
- package/src/types/index.ts +1 -0
- package/src/utils/index.ts +2 -0
- package/src/utils/mobile-app.ts +57 -0
|
@@ -12,13 +12,13 @@ var _chunkB4NCVYEQcjs = require('./chunk-B4NCVYEQ.cjs');
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkOKE5BIQHcjs = require('./chunk-OKE5BIQH.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkRUZIICXTcjs = require('./chunk-RUZIICXT.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
var _chunkAL2GUHAJcjs = require('./chunk-AL2GUHAJ.cjs');
|
|
@@ -52,7 +52,7 @@ var _chunkVX4E6YSBcjs = require('./chunk-VX4E6YSB.cjs');
|
|
|
52
52
|
var _chunkRDW5JAMEcjs = require('./chunk-RDW5JAME.cjs');
|
|
53
53
|
|
|
54
54
|
|
|
55
|
-
var
|
|
55
|
+
var _chunkHQIOMFJHcjs = require('./chunk-HQIOMFJH.cjs');
|
|
56
56
|
|
|
57
57
|
|
|
58
58
|
var _chunkLLRGR4I5cjs = require('./chunk-LLRGR4I5.cjs');
|
|
@@ -112,9 +112,9 @@ function TouchFriendlyTooltip({ content, side = "left", children }) {
|
|
|
112
112
|
return next;
|
|
113
113
|
});
|
|
114
114
|
};
|
|
115
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
115
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRUZIICXTcjs.TooltipProvider, { delayDuration: 150, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkRUZIICXTcjs.Tooltip, { open, onOpenChange: setOpen, children: [
|
|
116
116
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
117
|
-
|
|
117
|
+
_chunkRUZIICXTcjs.TooltipTrigger,
|
|
118
118
|
{
|
|
119
119
|
asChild: true,
|
|
120
120
|
onPointerDown: (e) => {
|
|
@@ -132,7 +132,7 @@ function TouchFriendlyTooltip({ content, side = "left", children }) {
|
|
|
132
132
|
children
|
|
133
133
|
}
|
|
134
134
|
),
|
|
135
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
135
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRUZIICXTcjs.TooltipContent, { side, className: "max-w-xs", children: content })
|
|
136
136
|
] }) });
|
|
137
137
|
}
|
|
138
138
|
|
|
@@ -147,12 +147,12 @@ function BoardColumnHeader({
|
|
|
147
147
|
}) {
|
|
148
148
|
const count = _nullishCoalesce(column.total, () => ( column.tickets.length));
|
|
149
149
|
const tagStatus = _nullishCoalesce(column.statusKey, () => ( column.id));
|
|
150
|
-
const useStatusVariant =
|
|
150
|
+
const useStatusVariant = _chunkOKE5BIQHcjs.resolveTicketStatus.call(void 0, tagStatus) !== null;
|
|
151
151
|
const actionClass = "h-8 w-8 p-0 content-md:h-8 content-md:w-8";
|
|
152
152
|
if (collapsed) {
|
|
153
153
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full flex-col items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
154
154
|
onToggleCollapse && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
155
|
-
|
|
155
|
+
_chunkHQIOMFJHcjs.Button,
|
|
156
156
|
{
|
|
157
157
|
variant: "transparent",
|
|
158
158
|
size: "icon",
|
|
@@ -163,7 +163,7 @@ function BoardColumnHeader({
|
|
|
163
163
|
}
|
|
164
164
|
),
|
|
165
165
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
166
|
-
|
|
166
|
+
_chunkOKE5BIQHcjs.TicketStatusTag,
|
|
167
167
|
{
|
|
168
168
|
status: tagStatus,
|
|
169
169
|
label: column.label,
|
|
@@ -176,13 +176,13 @@ function BoardColumnHeader({
|
|
|
176
176
|
}
|
|
177
177
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
178
178
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
179
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
179
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOKE5BIQHcjs.TicketStatusTag, { status: tagStatus, label: column.label, color: useStatusVariant ? void 0 : column.color }),
|
|
180
180
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h5", style: useStatusVariant ? void 0 : { color: column.color }, children: count })
|
|
181
181
|
] }),
|
|
182
182
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
183
|
-
column.tooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TouchFriendlyTooltip, { content: column.tooltip, side: "bottom", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
183
|
+
column.tooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TouchFriendlyTooltip, { content: column.tooltip, side: "bottom", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { variant: "transparent", size: "icon", className: actionClass, "aria-label": column.tooltip, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.InfoCircleIcon, { className: "h-6 w-6 text-ods-text-secondary" }) }) }),
|
|
184
184
|
onToggleCollapse && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
185
|
-
|
|
185
|
+
_chunkHQIOMFJHcjs.Button,
|
|
186
186
|
{
|
|
187
187
|
variant: "transparent",
|
|
188
188
|
size: "icon",
|
|
@@ -193,7 +193,7 @@ function BoardColumnHeader({
|
|
|
193
193
|
}
|
|
194
194
|
),
|
|
195
195
|
onArchive && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
196
|
-
|
|
196
|
+
_chunkHQIOMFJHcjs.Button,
|
|
197
197
|
{
|
|
198
198
|
variant: "transparent",
|
|
199
199
|
size: "icon",
|
|
@@ -204,7 +204,7 @@ function BoardColumnHeader({
|
|
|
204
204
|
}
|
|
205
205
|
),
|
|
206
206
|
onAddTicket && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
207
|
-
|
|
207
|
+
_chunkHQIOMFJHcjs.Button,
|
|
208
208
|
{
|
|
209
209
|
variant: "transparent",
|
|
210
210
|
size: "icon",
|
|
@@ -234,7 +234,7 @@ function tintOnDark(hex) {
|
|
|
234
234
|
|
|
235
235
|
function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
236
236
|
const [expanded, setExpanded] = _react.useState.call(void 0, false);
|
|
237
|
-
const { innerRef, containerStyle } =
|
|
237
|
+
const { innerRef, containerStyle } = _chunkOKE5BIQHcjs.useCollapsible.call(void 0, { expanded });
|
|
238
238
|
const isAdmin = pendingApproval.approvalType === "ADMIN";
|
|
239
239
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "pointer-events-auto flex flex-col", children: [
|
|
240
240
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -263,7 +263,7 @@ function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
|
263
263
|
}
|
|
264
264
|
),
|
|
265
265
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: containerStyle, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: innerRef, className: "pt-[var(--spacing-system-xs)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
266
|
-
|
|
266
|
+
_chunkOKE5BIQHcjs.ApprovalBatchMessage,
|
|
267
267
|
{
|
|
268
268
|
className: "mb-0",
|
|
269
269
|
data: {
|
|
@@ -437,7 +437,7 @@ function TicketCardBody({
|
|
|
437
437
|
onLinkClick
|
|
438
438
|
}) {
|
|
439
439
|
const showNewMessage = !!ticket.hasNewMessage && !!columnColor;
|
|
440
|
-
const newMessageTextColor = columnColor ?
|
|
440
|
+
const newMessageTextColor = columnColor ? _chunkOKE5BIQHcjs.getReadableTextColor.call(void 0, columnColor) : void 0;
|
|
441
441
|
const showDeviceRow = !!(_optionalChain([ticket, 'access', _12 => _12.deviceHostnames, 'optionalAccess', _13 => _13.length]) || ticket.organizationName);
|
|
442
442
|
const deviceText = [_optionalChain([ticket, 'access', _14 => _14.deviceHostnames, 'optionalAccess', _15 => _15.join, 'call', _16 => _16(", ")]), ticket.organizationName].filter(Boolean).join(", ");
|
|
443
443
|
const hasRightSection = !!(ticket.priority || ticket.agent || _optionalChain([ticket, 'access', _17 => _17.assignees, 'optionalAccess', _18 => _18.length]) || renderAssignSlot);
|
|
@@ -485,8 +485,8 @@ function TicketCardBody({
|
|
|
485
485
|
] })
|
|
486
486
|
] }) : null
|
|
487
487
|
] }) : null;
|
|
488
|
-
const timestampLabel = ticket.createdAt ?
|
|
489
|
-
const tooltipLabel = ticket.createdAt ?
|
|
488
|
+
const timestampLabel = ticket.createdAt ? _chunkOKE5BIQHcjs.formatTicketRelativeTime.call(void 0, ticket.createdAt) : null;
|
|
489
|
+
const tooltipLabel = ticket.createdAt ? _chunkOKE5BIQHcjs.formatTicketFullTimestamp.call(void 0, ticket.createdAt) : null;
|
|
490
490
|
const metaLabel = [ticket.ticketNumber || null, timestampLabel].filter(Boolean).join(" \u2022 ");
|
|
491
491
|
const metaClass = "truncate text-ods-text-secondary text-h6";
|
|
492
492
|
const meta = href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -513,9 +513,9 @@ function TicketCardBody({
|
|
|
513
513
|
rightSection
|
|
514
514
|
] }),
|
|
515
515
|
_optionalChain([ticket, 'access', _21 => _21.tags, 'optionalAccess', _22 => _22.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketTagRow, { tags: ticket.tags }) : null,
|
|
516
|
-
metaLabel && (tooltipLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
517
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
518
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
516
|
+
metaLabel && (tooltipLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRUZIICXTcjs.TooltipProvider, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkRUZIICXTcjs.Tooltip, { children: [
|
|
517
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRUZIICXTcjs.TooltipTrigger, { asChild: true, children: meta }),
|
|
518
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRUZIICXTcjs.TooltipContent, { children: tooltipLabel })
|
|
519
519
|
] }) }) : meta),
|
|
520
520
|
ticket.escalatedByUser && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xxs)] text-ods-open-yellow text-h6", children: [
|
|
521
521
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.UserCheckIcon, { className: "size-4 shrink-0" }),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkHQIOMFJHcjs = require('./chunk-HQIOMFJH.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunk3ATAYP36cjs = require('./chunk-3ATAYP36.cjs');
|
|
@@ -45,7 +45,7 @@ var Pagination = ({ currentPage, totalPages, onPageChange, className }) => {
|
|
|
45
45
|
const pageNumbers = getPageNumbers();
|
|
46
46
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "nav", { role: "navigation", "aria-label": "pagination", className: _chunk3ATAYP36cjs.cn.call(void 0, "mx-auto flex w-full justify-center", className), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "ul", { className: "flex flex-row items-center gap-1", children: [
|
|
47
47
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
48
|
-
|
|
48
|
+
_chunkHQIOMFJHcjs.Button,
|
|
49
49
|
{
|
|
50
50
|
variant: "outline",
|
|
51
51
|
size: "icon",
|
|
@@ -64,7 +64,7 @@ var Pagination = ({ currentPage, totalPages, onPageChange, className }) => {
|
|
|
64
64
|
] }) }, `ellipsis-${index}`);
|
|
65
65
|
}
|
|
66
66
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
67
|
-
|
|
67
|
+
_chunkHQIOMFJHcjs.Button,
|
|
68
68
|
{
|
|
69
69
|
variant: currentPage === page ? "accent" : "outline",
|
|
70
70
|
size: "icon",
|
|
@@ -77,7 +77,7 @@ var Pagination = ({ currentPage, totalPages, onPageChange, className }) => {
|
|
|
77
77
|
) }, page);
|
|
78
78
|
}),
|
|
79
79
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
80
|
-
|
|
80
|
+
_chunkHQIOMFJHcjs.Button,
|
|
81
81
|
{
|
|
82
82
|
variant: "outline",
|
|
83
83
|
size: "icon",
|
|
@@ -138,7 +138,7 @@ var PaginationEllipsis = _react.forwardRef.call(void 0,
|
|
|
138
138
|
PaginationEllipsis.displayName = "PaginationEllipsis";
|
|
139
139
|
var PaginationPrevious = _react.forwardRef.call(void 0,
|
|
140
140
|
({ className, ...props }, ref) => {
|
|
141
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
141
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkHQIOMFJHcjs.Button, { ref, variant: "outline", size: "icon", className: _chunk3ATAYP36cjs.cn.call(void 0, "h-10 w-10", className), ...props, children: [
|
|
142
142
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeft, { className: "h-4 w-4" }),
|
|
143
143
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "sr-only", children: "Previous page" })
|
|
144
144
|
] });
|
|
@@ -147,7 +147,7 @@ var PaginationPrevious = _react.forwardRef.call(void 0,
|
|
|
147
147
|
PaginationPrevious.displayName = "PaginationPrevious";
|
|
148
148
|
var PaginationNext = _react.forwardRef.call(void 0,
|
|
149
149
|
({ className, ...props }, ref) => {
|
|
150
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
150
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkHQIOMFJHcjs.Button, { ref, variant: "outline", size: "icon", className: _chunk3ATAYP36cjs.cn.call(void 0, "h-10 w-10", className), ...props, children: [
|
|
151
151
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "h-4 w-4" }),
|
|
152
152
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "sr-only", children: "Next page" })
|
|
153
153
|
] });
|
|
@@ -10,14 +10,14 @@ var _chunkA6P6DHEZcjs = require('./chunk-A6P6DHEZ.cjs');
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkQLTXT562cjs = require('./chunk-QLTXT562.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunkRUZIICXTcjs = require('./chunk-RUZIICXT.cjs');
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
@@ -77,7 +77,7 @@ var _chunk2Y7QZAB2cjs = require('./chunk-2Y7QZAB2.cjs');
|
|
|
77
77
|
|
|
78
78
|
|
|
79
79
|
|
|
80
|
-
var
|
|
80
|
+
var _chunkHQIOMFJHcjs = require('./chunk-HQIOMFJH.cjs');
|
|
81
81
|
|
|
82
82
|
|
|
83
83
|
var _chunkLLRGR4I5cjs = require('./chunk-LLRGR4I5.cjs');
|
|
@@ -962,15 +962,15 @@ function actionToMenuItems(action, idx) {
|
|
|
962
962
|
function renderActionButton(action, opts = {}) {
|
|
963
963
|
const button = renderRawActionButton(action, opts);
|
|
964
964
|
if (!action.tooltip) return button;
|
|
965
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
966
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
967
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
965
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRUZIICXTcjs.TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkRUZIICXTcjs.Tooltip, { children: [
|
|
966
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRUZIICXTcjs.TooltipTrigger, { asChild: true, children: button }),
|
|
967
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRUZIICXTcjs.TooltipContent, { children: action.tooltip })
|
|
968
968
|
] }) });
|
|
969
969
|
}
|
|
970
970
|
function renderRawActionButton(action, opts = {}) {
|
|
971
971
|
if (action.iconAction) {
|
|
972
972
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
973
|
-
|
|
973
|
+
_chunkHQIOMFJHcjs.SplitButton,
|
|
974
974
|
{
|
|
975
975
|
variant: _nullishCoalesce(action.variant, () => ( void 0)),
|
|
976
976
|
href: action.href,
|
|
@@ -988,11 +988,11 @@ function renderRawActionButton(action, opts = {}) {
|
|
|
988
988
|
}
|
|
989
989
|
if (action.submenu && action.submenu.length > 0) {
|
|
990
990
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
991
|
-
|
|
991
|
+
_chunkRUZIICXTcjs.ActionsMenuDropdown,
|
|
992
992
|
{
|
|
993
993
|
groups: [{ items: action.submenu }],
|
|
994
994
|
customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
995
|
-
|
|
995
|
+
_chunkHQIOMFJHcjs.Button,
|
|
996
996
|
{
|
|
997
997
|
variant: "outline",
|
|
998
998
|
disabled: action.disabled,
|
|
@@ -1010,7 +1010,7 @@ function renderRawActionButton(action, opts = {}) {
|
|
|
1010
1010
|
if (isIconOnly) {
|
|
1011
1011
|
const iconNode = action.iconOnlyOnDesktop ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex [&_svg]:!text-ods-text-primary", children: action.icon }) : action.icon;
|
|
1012
1012
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1013
|
-
|
|
1013
|
+
_chunkHQIOMFJHcjs.Button,
|
|
1014
1014
|
{
|
|
1015
1015
|
variant: action.variant,
|
|
1016
1016
|
size: "icon",
|
|
@@ -1026,7 +1026,7 @@ function renderRawActionButton(action, opts = {}) {
|
|
|
1026
1026
|
);
|
|
1027
1027
|
}
|
|
1028
1028
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1029
|
-
|
|
1029
|
+
_chunkHQIOMFJHcjs.Button,
|
|
1030
1030
|
{
|
|
1031
1031
|
variant: action.variant,
|
|
1032
1032
|
href: action.href,
|
|
@@ -1123,10 +1123,10 @@ function IconButtonsVariant({
|
|
|
1123
1123
|
selector,
|
|
1124
1124
|
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionSkeletons, { actions: desktopActions }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1125
1125
|
desktopActions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react2.default.Fragment, { children: renderActionButton(action) }, actionKey(action, idx))),
|
|
1126
|
-
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1126
|
+
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRUZIICXTcjs.ActionsMenuDropdown, { groups: menuActions })
|
|
1127
1127
|
] })
|
|
1128
1128
|
] }),
|
|
1129
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex content-md:hidden", className), children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MobileTriggerSkeleton, {}) : useSingleActionMobile && singleAction ? renderActionButton(singleAction, { iconOnly: true }) : hasMobileMenuItems ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1129
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex content-md:hidden", className), children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MobileTriggerSkeleton, {}) : useSingleActionMobile && singleAction ? renderActionButton(singleAction, { iconOnly: true }) : hasMobileMenuItems ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRUZIICXTcjs.ActionsMenuDropdown, { groups: mobileMenuGroups }) : null })
|
|
1130
1130
|
] });
|
|
1131
1131
|
}
|
|
1132
1132
|
function PrimaryButtonsVariant({
|
|
@@ -1165,7 +1165,7 @@ function MenuPrimaryVariant({
|
|
|
1165
1165
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "hidden items-center content-md:flex", ACTIONS_GAP, className), children: [
|
|
1166
1166
|
selector,
|
|
1167
1167
|
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionSkeletons, { actions: desktopActions }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1168
|
-
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1168
|
+
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRUZIICXTcjs.ActionsMenuDropdown, { groups: menuActions }),
|
|
1169
1169
|
desktopActions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react2.default.Fragment, { children: renderActionButton({ ...action, variant: action.variant || "accent" }) }, `desktop-${actionKey(action, idx)}`))
|
|
1170
1170
|
] })
|
|
1171
1171
|
] }),
|
|
@@ -1173,7 +1173,7 @@ function MenuPrimaryVariant({
|
|
|
1173
1173
|
// The selector rides into the menu as its header row: on mobile the
|
|
1174
1174
|
// title row has no room for it, and hiding it entirely (what
|
|
1175
1175
|
// `icon-buttons` does) would leave no way to switch views at all.
|
|
1176
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1176
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRUZIICXTcjs.ActionsMenuDropdown, { groups: mobileMenuGroups, header: selector })
|
|
1177
1177
|
) : null })
|
|
1178
1178
|
] });
|
|
1179
1179
|
}
|
|
@@ -1182,7 +1182,7 @@ function CompactPrimaryActions({ actions }) {
|
|
|
1182
1182
|
const fold = foldable.length > 1;
|
|
1183
1183
|
const inline = fold ? actions.filter((action) => !foldable.includes(action)) : actions;
|
|
1184
1184
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1185
|
-
fold && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1185
|
+
fold && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRUZIICXTcjs.ActionsMenuDropdown, { groups: [{ items: foldable.flatMap(actionToMenuItems) }] }),
|
|
1186
1186
|
inline.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react2.default.Fragment, { children: renderActionButton(action) }, `compact-${actionKey(action, idx)}`))
|
|
1187
1187
|
] });
|
|
1188
1188
|
}
|
|
@@ -1667,7 +1667,7 @@ function RemoteAccessRequestCard({
|
|
|
1667
1667
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "w-full truncate text-ods-text-primary text-h3", children: organizationName }),
|
|
1668
1668
|
siteUrl && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "w-full truncate text-ods-text-secondary text-h4", children: displaySiteUrl(siteUrl) })
|
|
1669
1669
|
] }),
|
|
1670
|
-
openableSite && onOpenSite && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1670
|
+
openableSite && onOpenSite && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { variant: "outline", size: "icon", "aria-label": "Open website", onClick: () => onOpenSite(openableSite), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.ExternalLinkIcon, { size: 24, color: "currentColor" }) })
|
|
1671
1671
|
] }),
|
|
1672
1672
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "w-full text-ods-text-primary text-h4", children: [
|
|
1673
1673
|
"A technician from ",
|
|
@@ -1683,7 +1683,7 @@ function RemoteAccessRequestCard({
|
|
|
1683
1683
|
] }),
|
|
1684
1684
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-stretch gap-[var(--spacing-system-l)]", children: [
|
|
1685
1685
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1686
|
-
|
|
1686
|
+
_chunkHQIOMFJHcjs.Button,
|
|
1687
1687
|
{
|
|
1688
1688
|
variant: "outline",
|
|
1689
1689
|
fullWidth: true,
|
|
@@ -1694,7 +1694,7 @@ function RemoteAccessRequestCard({
|
|
|
1694
1694
|
}
|
|
1695
1695
|
),
|
|
1696
1696
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1697
|
-
|
|
1697
|
+
_chunkHQIOMFJHcjs.Button,
|
|
1698
1698
|
{
|
|
1699
1699
|
variant: "accent",
|
|
1700
1700
|
fullWidth: true,
|
|
@@ -1745,7 +1745,7 @@ var RemoteSessionBlockFrame = _react.forwardRef.call(void 0,
|
|
|
1745
1745
|
RemoteSessionBlockFrame.displayName = "RemoteSessionBlockFrame";
|
|
1746
1746
|
function RemoteSessionEndButton({ onEndSession }) {
|
|
1747
1747
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1748
|
-
|
|
1748
|
+
_chunkHQIOMFJHcjs.Button,
|
|
1749
1749
|
{
|
|
1750
1750
|
variant: "outline",
|
|
1751
1751
|
fullWidth: true,
|
|
@@ -1803,7 +1803,7 @@ function RemoteSessionSummary({
|
|
|
1803
1803
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, RemoteSessionStatusRow, { showRecordingTag, viewers }),
|
|
1804
1804
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-stretch gap-[var(--spacing-system-m)]", children: [
|
|
1805
1805
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1806
|
-
|
|
1806
|
+
_chunkHQIOMFJHcjs.Button,
|
|
1807
1807
|
{
|
|
1808
1808
|
variant: "outline",
|
|
1809
1809
|
fullWidth: true,
|
|
@@ -1916,7 +1916,7 @@ function RemoteSessionChatPanel({
|
|
|
1916
1916
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, RemoteSessionStatusRow, { showRecordingTag, viewers }),
|
|
1917
1917
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-stretch gap-[var(--spacing-system-m)]", children: [
|
|
1918
1918
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1919
|
-
|
|
1919
|
+
_chunkHQIOMFJHcjs.Button,
|
|
1920
1920
|
{
|
|
1921
1921
|
variant: "outline",
|
|
1922
1922
|
fullWidth: true,
|
|
@@ -2029,7 +2029,7 @@ function RemoteDesktopChatMessageRow({
|
|
|
2029
2029
|
children: authorName
|
|
2030
2030
|
}
|
|
2031
2031
|
),
|
|
2032
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { suppressHydrationWarning: true, className: "shrink-0 text-ods-text-secondary text-h6", children:
|
|
2032
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { suppressHydrationWarning: true, className: "shrink-0 text-ods-text-secondary text-h6", children: _chunkQLTXT562cjs.formatTime.call(void 0, sentAt) })
|
|
2033
2033
|
] }),
|
|
2034
2034
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "whitespace-pre-wrap text-ods-text-primary text-h4", children: body })
|
|
2035
2035
|
] });
|
|
@@ -2074,7 +2074,7 @@ function RemoteDesktopChatPanel({
|
|
|
2074
2074
|
message.id
|
|
2075
2075
|
)) }) }),
|
|
2076
2076
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2077
|
-
|
|
2077
|
+
_chunkQLTXT562cjs.ChatInput,
|
|
2078
2078
|
{
|
|
2079
2079
|
placeholder: "Enter your Message...",
|
|
2080
2080
|
onSend,
|
|
@@ -2111,7 +2111,7 @@ function RemoteDesktopFullscreenToolbar({
|
|
|
2111
2111
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
2112
2112
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h6", children: deviceName }),
|
|
2113
2113
|
displayMenuGroups.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2114
|
-
|
|
2114
|
+
_chunkRUZIICXTcjs.ActionsMenuDropdown,
|
|
2115
2115
|
{
|
|
2116
2116
|
groups: displayMenuGroups,
|
|
2117
2117
|
customTrigger: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -2132,7 +2132,7 @@ function RemoteDesktopFullscreenToolbar({
|
|
|
2132
2132
|
] }),
|
|
2133
2133
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
2134
2134
|
onToggleChat && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2135
|
-
|
|
2135
|
+
_chunkHQIOMFJHcjs.Button,
|
|
2136
2136
|
{
|
|
2137
2137
|
variant: "outline",
|
|
2138
2138
|
size: "small",
|
|
@@ -2142,11 +2142,11 @@ function RemoteDesktopFullscreenToolbar({
|
|
|
2142
2142
|
}
|
|
2143
2143
|
),
|
|
2144
2144
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2145
|
-
|
|
2145
|
+
_chunkRUZIICXTcjs.ActionsMenuDropdown,
|
|
2146
2146
|
{
|
|
2147
2147
|
groups: actionsMenuGroups,
|
|
2148
2148
|
customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2149
|
-
|
|
2149
|
+
_chunkHQIOMFJHcjs.Button,
|
|
2150
2150
|
{
|
|
2151
2151
|
variant: "outline",
|
|
2152
2152
|
size: "icon-sm",
|
|
@@ -2157,7 +2157,7 @@ function RemoteDesktopFullscreenToolbar({
|
|
|
2157
2157
|
}
|
|
2158
2158
|
),
|
|
2159
2159
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2160
|
-
|
|
2160
|
+
_chunkHQIOMFJHcjs.Button,
|
|
2161
2161
|
{
|
|
2162
2162
|
variant: "outline",
|
|
2163
2163
|
size: "icon-sm",
|
|
@@ -2167,7 +2167,7 @@ function RemoteDesktopFullscreenToolbar({
|
|
|
2167
2167
|
}
|
|
2168
2168
|
),
|
|
2169
2169
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2170
|
-
|
|
2170
|
+
_chunkHQIOMFJHcjs.Button,
|
|
2171
2171
|
{
|
|
2172
2172
|
variant: "outline",
|
|
2173
2173
|
size: "icon-sm",
|
|
@@ -2223,7 +2223,7 @@ function RemoteDesktopView({
|
|
|
2223
2223
|
] }),
|
|
2224
2224
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
2225
2225
|
onToggleChat && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2226
|
-
|
|
2226
|
+
_chunkHQIOMFJHcjs.Button,
|
|
2227
2227
|
{
|
|
2228
2228
|
variant: "outline",
|
|
2229
2229
|
onClick: onToggleChat,
|
|
@@ -2231,9 +2231,9 @@ function RemoteDesktopView({
|
|
|
2231
2231
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "sr-only content-md:not-sr-only", children: chatOpen ? "Close Chat" : "Open Chat" })
|
|
2232
2232
|
}
|
|
2233
2233
|
),
|
|
2234
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2234
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRUZIICXTcjs.ActionsMenuDropdown, { groups: actionsMenuGroups, triggerAriaLabel: "Actions" }),
|
|
2235
2235
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2236
|
-
|
|
2236
|
+
_chunkHQIOMFJHcjs.Button,
|
|
2237
2237
|
{
|
|
2238
2238
|
variant: "outline",
|
|
2239
2239
|
size: "icon",
|
|
@@ -2243,7 +2243,7 @@ function RemoteDesktopView({
|
|
|
2243
2243
|
}
|
|
2244
2244
|
),
|
|
2245
2245
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2246
|
-
|
|
2246
|
+
_chunkHQIOMFJHcjs.Button,
|
|
2247
2247
|
{
|
|
2248
2248
|
variant: "outline",
|
|
2249
2249
|
size: "icon",
|
|
@@ -2255,7 +2255,7 @@ function RemoteDesktopView({
|
|
|
2255
2255
|
] })
|
|
2256
2256
|
] }),
|
|
2257
2257
|
displayMenuGroups.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2258
|
-
|
|
2258
|
+
_chunkRUZIICXTcjs.ActionsMenuDropdown,
|
|
2259
2259
|
{
|
|
2260
2260
|
groups: displayMenuGroups,
|
|
2261
2261
|
align: "start",
|
|
@@ -2346,8 +2346,8 @@ function RemoteSessionDialog({
|
|
|
2346
2346
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "w-full text-ods-text-primary text-h4", children: "The technician will lose access to your device immediately." })
|
|
2347
2347
|
] }),
|
|
2348
2348
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-stretch gap-[var(--spacing-system-l)]", children: [
|
|
2349
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2350
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2349
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { variant: "outline", fullWidth: true, disabled: ending, onClick: onClose, children: "Cancel" }),
|
|
2350
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { variant: "destructive", fullWidth: true, loading: ending, onClick: onEndSession, children: "End Session" })
|
|
2351
2351
|
] })
|
|
2352
2352
|
] });
|
|
2353
2353
|
}
|
|
@@ -2361,7 +2361,7 @@ function RemoteSessionDialog({
|
|
|
2361
2361
|
copy.suffix
|
|
2362
2362
|
] })
|
|
2363
2363
|
] }),
|
|
2364
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2364
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { variant: "outline", className: "w-1/2", onClick: onClose, children: "Close" }) })
|
|
2365
2365
|
] });
|
|
2366
2366
|
}
|
|
2367
2367
|
function DialogCard({ children }) {
|
|
@@ -2431,9 +2431,9 @@ function KeepRecordingModal({
|
|
|
2431
2431
|
if (!canKeep || isPending) return;
|
|
2432
2432
|
onConfirm({ reason, description: reason === "OTHER" ? trimmed : null });
|
|
2433
2433
|
};
|
|
2434
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2434
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkQLTXT562cjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
2435
2435
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
2436
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2436
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQLTXT562cjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQLTXT562cjs.ModalTitle, { children: "Keep this recording" }) }),
|
|
2437
2437
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2438
2438
|
KeepNotice,
|
|
2439
2439
|
{
|
|
@@ -2471,11 +2471,11 @@ function KeepRecordingModal({
|
|
|
2471
2471
|
}
|
|
2472
2472
|
)
|
|
2473
2473
|
] }),
|
|
2474
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2475
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2474
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkQLTXT562cjs.ModalFooter, { children: [
|
|
2475
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
2476
2476
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
2477
2477
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2478
|
-
|
|
2478
|
+
_chunkHQIOMFJHcjs.Button,
|
|
2479
2479
|
{
|
|
2480
2480
|
type: "button",
|
|
2481
2481
|
variant: "accent",
|
|
@@ -2501,9 +2501,9 @@ function ReleaseKeepingModal({
|
|
|
2501
2501
|
isPending = false,
|
|
2502
2502
|
onConfirm
|
|
2503
2503
|
}) {
|
|
2504
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2504
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkQLTXT562cjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
2505
2505
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
2506
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2506
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQLTXT562cjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQLTXT562cjs.ModalTitle, { children: "Release Keeping" }) }),
|
|
2507
2507
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-xsf)] text-ods-text-primary text-h4", children: [
|
|
2508
2508
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { children: [
|
|
2509
2509
|
"Kept by ",
|
|
@@ -2520,10 +2520,10 @@ function ReleaseKeepingModal({
|
|
|
2520
2520
|
] })
|
|
2521
2521
|
] }),
|
|
2522
2522
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, KeepNotice, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.HourglassIcon, { size: 24, color: "currentColor" }), title: `It will expire on ${expiresOn}`, children: dueOn ? `It was due to expire on ${dueOn}. Releasing gives it 3 days' grace, and it shows amber until then. Whoever placed the Keep is reminded the day before it goes. Nothing is deleted now.` : "Nothing is deleted now." }),
|
|
2523
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2524
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2523
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkQLTXT562cjs.ModalFooter, { children: [
|
|
2524
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
2525
2525
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
2526
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2526
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { type: "button", variant: "accent", onClick: onConfirm, loading: isPending, className: "flex-1", children: "Release Keeping" })
|
|
2527
2527
|
] })
|
|
2528
2528
|
] });
|
|
2529
2529
|
}
|
|
@@ -2562,9 +2562,9 @@ function AssignTicketModal({
|
|
|
2562
2562
|
if (ticketIds.length === 0 || isPending) return;
|
|
2563
2563
|
onConfirm(ticketIds);
|
|
2564
2564
|
};
|
|
2565
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2565
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkQLTXT562cjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
2566
2566
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
2567
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2567
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQLTXT562cjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQLTXT562cjs.ModalTitle, { children: "Assign Ticket" }) }),
|
|
2568
2568
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2569
2569
|
Autocomplete,
|
|
2570
2570
|
{
|
|
@@ -2583,11 +2583,11 @@ function AssignTicketModal({
|
|
|
2583
2583
|
disabled: isPending
|
|
2584
2584
|
}
|
|
2585
2585
|
),
|
|
2586
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2587
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2586
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkQLTXT562cjs.ModalFooter, { children: [
|
|
2587
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
2588
2588
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
2589
2589
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2590
|
-
|
|
2590
|
+
_chunkHQIOMFJHcjs.Button,
|
|
2591
2591
|
{
|
|
2592
2592
|
type: "button",
|
|
2593
2593
|
variant: "accent",
|
|
@@ -2602,14 +2602,14 @@ function AssignTicketModal({
|
|
|
2602
2602
|
] });
|
|
2603
2603
|
}
|
|
2604
2604
|
function UnassignTicketModal({ isOpen, onClose, isPending = false, onConfirm }) {
|
|
2605
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2605
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkQLTXT562cjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
2606
2606
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
2607
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2607
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQLTXT562cjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQLTXT562cjs.ModalTitle, { children: "Unassign Ticket" }) }),
|
|
2608
2608
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "w-full text-ods-text-primary text-h4", children: "This Ticket will no longer be linked to this remote session. The ticket itself stays as it is, and you can assign it again anytime." }),
|
|
2609
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2610
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2609
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkQLTXT562cjs.ModalFooter, { children: [
|
|
2610
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
2611
2611
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
2612
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2612
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { type: "button", variant: "destructive", onClick: onConfirm, loading: isPending, className: "flex-1", children: "Unassign" })
|
|
2613
2613
|
] })
|
|
2614
2614
|
] });
|
|
2615
2615
|
}
|