@flamingo-stack/openframe-frontend-core 0.0.723 → 0.0.725
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/{chunk-2VOPQJNR.js → chunk-2MMZTACD.js} +2 -2
- package/dist/{chunk-OHC2MPUO.cjs → chunk-2SO3OJFY.cjs} +35 -35
- package/dist/{chunk-YQOJOW2Z.cjs → chunk-2VOZ37BL.cjs} +64 -64
- package/dist/{chunk-WSMOTZRJ.cjs → chunk-4ZZ4TNCY.cjs} +11 -11
- package/dist/{chunk-YUSA7IPD.js → chunk-5FVWDDX6.js} +3 -3
- package/dist/{chunk-PKS2QQJU.js → chunk-6EFNWQRY.js} +2 -1
- package/dist/{chunk-NESUUHPV.cjs → chunk-772242QR.cjs} +76 -76
- package/dist/{chunk-3RIKO2O2.cjs → chunk-7V5KFBY2.cjs} +31 -31
- package/dist/{chunk-MWLVYYRX.cjs → chunk-AI3CLDZO.cjs} +2580 -2120
- package/dist/{chunk-YGIUWQEN.js → chunk-ASHRHL4W.js} +7 -7
- package/dist/{chunk-A7JPMNHF.js → chunk-ASIXPRHV.js} +6 -6
- package/dist/{chunk-7JXCLUU7.js → chunk-AX4F35C2.js} +2 -2
- package/dist/{chunk-TDSLKKX7.cjs → chunk-B7234BE2.cjs} +16 -16
- package/dist/{chunk-SBCJFJ6Q.js → chunk-F56GNKX2.js} +4 -4
- package/dist/{chunk-VIFVSFYY.js → chunk-F77J34W2.js} +1 -1
- package/dist/{chunk-JENNI7XU.cjs → chunk-HEQ4GPYE.cjs} +5 -4
- package/dist/{chunk-LV6UJD2K.cjs → chunk-IITB5TJR.cjs} +10 -2
- package/dist/{chunk-WVA7SCLY.js → chunk-IOTAUWWF.js} +1 -1
- package/dist/{chunk-OVG6MV3X.js → chunk-JAKG6BY7.js} +6 -6
- package/dist/{chunk-F6JAGSKV.js → chunk-JVHP7Y4S.js} +5 -5
- package/dist/{chunk-WY4SLTMZ.js → chunk-JXJFUGJY.js} +1 -1
- package/dist/{chunk-GYUFKNOQ.cjs → chunk-KLCOSY7B.cjs} +4 -4
- package/dist/{chunk-P7MDECYI.cjs → chunk-KNLRL63O.cjs} +41 -41
- package/dist/{chunk-VGXAZEQP.cjs → chunk-LR6DJY4Z.cjs} +17 -17
- package/dist/{chunk-KSADTFNZ.cjs → chunk-LYQYLPPV.cjs} +32 -32
- package/dist/{chunk-QBXEF7D5.js → chunk-MGTZ2BKY.js} +4 -4
- package/dist/{chunk-IIBTYCEN.js → chunk-MLFS5G3V.js} +89 -14
- package/dist/{chunk-GRDJR2Q7.js → chunk-MSPXMSMY.js} +1 -1
- package/dist/{chunk-FDWYBJYD.cjs → chunk-NJV3LIDE.cjs} +3 -3
- package/dist/{chunk-JL7AHSFE.js → chunk-OBMWSUBK.js} +6 -6
- package/dist/{chunk-N4VCU6XP.js → chunk-PUADVXJD.js} +1 -1
- package/dist/{chunk-KY4WQYYG.cjs → chunk-QV4GO3GW.cjs} +19 -19
- package/dist/{chunk-OWRD2GZU.cjs → chunk-RU6BTELI.cjs} +687 -612
- package/dist/{chunk-Y5H3M7OM.cjs → chunk-SE4O4HCD.cjs} +23 -23
- package/dist/{chunk-2MC4DRSC.cjs → chunk-SEVKFMKR.cjs} +3 -3
- package/dist/{chunk-UYMTAFHG.js → chunk-TU5LEF6A.js} +1 -1
- package/dist/{chunk-NFABAOMD.cjs → chunk-U6LRRG2E.cjs} +15 -15
- package/dist/{chunk-G6YNPBWV.js → chunk-W2DXHR2R.js} +3045 -2585
- package/dist/{chunk-KSZRALRL.cjs → chunk-YPEILGVZ.cjs} +3 -3
- package/dist/{chunk-EWED6ISQ.js → chunk-YQDKVGKO.js} +9 -1
- package/dist/{chunk-6QTGLBJH.cjs → chunk-ZSXZE4FJ.cjs} +3 -3
- package/dist/{chunk-XTG7W75B.js → chunk-ZZRUKEN2.js} +4 -4
- package/dist/{cloud-tenants-3TVX7U23.cjs → cloud-tenants-SMULXU54.cjs} +7 -7
- package/dist/{cloud-tenants-N6KV2T7X.js → cloud-tenants-US63E2HV.js} +6 -6
- package/dist/components/case-studies/index.cjs +20 -20
- package/dist/components/case-studies/index.js +7 -7
- package/dist/components/chat/entity-cards/dispatch.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +5 -5
- package/dist/components/chat/index.js +4 -4
- package/dist/components/chat/utils/icon-library.d.ts +2 -0
- package/dist/components/chat/utils/icon-library.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +8 -8
- package/dist/components/contact/index.js +7 -7
- package/dist/components/docs/index.cjs +11 -11
- package/dist/components/docs/index.js +10 -10
- package/dist/components/embeds/index.cjs +8 -8
- package/dist/components/embeds/index.js +7 -7
- package/dist/components/faq/index.cjs +8 -8
- package/dist/components/faq/index.js +7 -7
- package/dist/components/features/index.cjs +23 -7
- package/dist/components/features/index.d.ts +1 -0
- package/dist/components/features/index.d.ts.map +1 -1
- package/dist/components/features/index.js +22 -6
- package/dist/components/features/model-token-rates.d.ts +179 -0
- package/dist/components/features/model-token-rates.d.ts.map +1 -0
- package/dist/components/help-center-pages/index.cjs +106 -106
- package/dist/components/help-center-pages/index.js +18 -18
- package/dist/components/index.cjs +71 -55
- package/dist/components/index.js +34 -18
- package/dist/components/meeting-scheduler/index.cjs +32 -32
- package/dist/components/meeting-scheduler/index.js +6 -6
- package/dist/components/navigation/index.cjs +10 -10
- package/dist/components/navigation/index.js +9 -9
- package/dist/components/onboarding-guides/index.cjs +10 -10
- package/dist/components/onboarding-guides/index.js +9 -9
- package/dist/components/product-demo/index.cjs +7 -7
- package/dist/components/product-demo/index.js +7 -7
- package/dist/components/related-content/index.cjs +4 -4
- package/dist/components/related-content/index.js +3 -3
- package/dist/components/tickets/index.cjs +11 -11
- package/dist/components/tickets/index.js +10 -10
- package/dist/components/ui/index.cjs +7 -7
- package/dist/components/ui/index.js +6 -6
- package/dist/{devices-MAALZ7DX.cjs → devices-6ZURNFRB.cjs} +8 -8
- package/dist/{devices-275UZZUS.js → devices-JWHGWKLK.js} +6 -6
- package/dist/index.cjs +45 -11
- package/dist/index.js +44 -10
- package/dist/{knowledge-YMMULPPK.cjs → knowledge-CY66JZ54.cjs} +8 -8
- package/dist/{knowledge-THXC2KC3.js → knowledge-TEDPLCFX.js} +6 -6
- package/dist/{logs-IBUKQOHS.cjs → logs-MO357RE7.cjs} +15 -15
- package/dist/{logs-GM2XBHYT.js → logs-S46THPPD.js} +6 -6
- package/dist/{policies-NKMRK6RR.js → policies-BUXT7DKF.js} +6 -6
- package/dist/{policies-J5GJXD6G.cjs → policies-GSH4K5YP.cjs} +11 -11
- package/dist/{remote-session-Z2YCUPHU.cjs → remote-session-CSX6ESSG.cjs} +5 -5
- package/dist/{remote-session-WCLR47RN.js → remote-session-ZBCWD5A5.js} +3 -3
- package/dist/{software-update-JHC4T4SE.cjs → software-update-2ETT35NM.cjs} +11 -11
- package/dist/{software-update-EKKMKDWI.js → software-update-YKS6KLX2.js} +6 -6
- package/dist/utils/ai-providers.d.ts +29 -0
- package/dist/utils/ai-providers.d.ts.map +1 -0
- package/dist/utils/index.cjs +76 -2
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +68 -3
- package/dist/utils/list-url.d.ts.map +1 -1
- package/dist/utils/model-token-rates.d.ts +55 -0
- package/dist/utils/model-token-rates.d.ts.map +1 -0
- package/dist/utils/source-icons.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/chat/entity-cards/dispatch.tsx +3 -0
- package/src/components/chat/utils/icon-library.tsx +14 -3
- package/src/components/chat/utils/source-row-cta.ts +3 -3
- package/src/components/features/index.ts +1 -0
- package/src/components/features/model-token-rates.tsx +696 -0
- package/src/utils/ai-providers.ts +46 -0
- package/src/utils/index.ts +2 -0
- package/src/utils/list-url.ts +1 -0
- package/src/utils/model-token-rates.ts +103 -0
- package/src/utils/source-icons.ts +3 -0
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkAI3CLDZOcjs = require('./chunk-AI3CLDZO.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkU6LRRG2Ecjs = require('./chunk-U6LRRG2E.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
@@ -20,11 +20,11 @@ var _chunk4LY6R4TNcjs = require('./chunk-4LY6R4TN.cjs');
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
var
|
|
23
|
+
var _chunkRU6BTELIcjs = require('./chunk-RU6BTELI.cjs');
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
var
|
|
27
|
+
var _chunkHEQ4GPYEcjs = require('./chunk-HEQ4GPYE.cjs');
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
@@ -115,7 +115,7 @@ function ContactForm({
|
|
|
115
115
|
successToastMessage = "Redirecting you to join our community...",
|
|
116
116
|
rescue: rescueForm = null
|
|
117
117
|
} = {}) {
|
|
118
|
-
const attachments =
|
|
118
|
+
const attachments = _chunkRU6BTELIcjs.useChatAttachments.call(void 0, );
|
|
119
119
|
const builtInSubmission = _chunk4LY6R4TNcjs.useContactSubmission.call(void 0, {
|
|
120
120
|
userId,
|
|
121
121
|
successRedirectUrl,
|
|
@@ -186,7 +186,7 @@ function ContactForm({
|
|
|
186
186
|
className: `flex h-full flex-col ${!noBorder ? "rounded-2xl border border-ods-border content-md:rounded-3xl" : ""} ${!noPadding ? "p-6 content-md:p-8 content-lg:p-10" : ""}`,
|
|
187
187
|
children: [
|
|
188
188
|
(title || subtitle) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-6 content-md:mb-8", children: [
|
|
189
|
-
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${
|
|
189
|
+
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkHEQ4GPYEcjs.SECTION_HEADING_CLASS} mb-3 content-md:mb-4`, children: _chunkHEQ4GPYEcjs.accentSentenceMarks.call(void 0, title) }),
|
|
190
190
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: subtitle })
|
|
191
191
|
] }),
|
|
192
192
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -199,13 +199,13 @@ function ContactForm({
|
|
|
199
199
|
);
|
|
200
200
|
}),
|
|
201
201
|
className: "flex flex-grow flex-col space-y-4 content-md:space-y-6",
|
|
202
|
-
...
|
|
202
|
+
..._chunkRU6BTELIcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
203
203
|
children: [
|
|
204
204
|
!showName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("name") }),
|
|
205
205
|
!showEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("email") }),
|
|
206
206
|
!showHelpCategory && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("helpCategory") }),
|
|
207
207
|
!showMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("message") }),
|
|
208
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
208
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAI3CLDZOcjs.HoneypotField, { ...honeypotInputProps }),
|
|
209
209
|
extraTopField,
|
|
210
210
|
showNameEmailRow && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-md:grid-cols-2 content-md:gap-6", children: [
|
|
211
211
|
showName && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
@@ -257,17 +257,17 @@ function ContactForm({
|
|
|
257
257
|
{
|
|
258
258
|
control,
|
|
259
259
|
name: "companySize",
|
|
260
|
-
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
260
|
+
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkU6LRRG2Ecjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
|
|
261
261
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
262
|
-
|
|
262
|
+
_chunkU6LRRG2Ecjs.SelectTrigger,
|
|
263
263
|
{
|
|
264
264
|
id: "companySize",
|
|
265
265
|
"aria-label": "Company Size",
|
|
266
266
|
className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
|
|
267
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
267
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectValue, { placeholder: "Select company size" })
|
|
268
268
|
}
|
|
269
269
|
),
|
|
270
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
270
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectContent, { children: companySizeOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectItem, { value: opt, children: opt }, opt)) })
|
|
271
271
|
] })
|
|
272
272
|
}
|
|
273
273
|
),
|
|
@@ -280,17 +280,17 @@ function ContactForm({
|
|
|
280
280
|
{
|
|
281
281
|
control,
|
|
282
282
|
name: "referralSource",
|
|
283
|
-
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
283
|
+
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkU6LRRG2Ecjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
|
|
284
284
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
285
|
-
|
|
285
|
+
_chunkU6LRRG2Ecjs.SelectTrigger,
|
|
286
286
|
{
|
|
287
287
|
id: "referralSource",
|
|
288
288
|
"aria-label": "Referral Source",
|
|
289
289
|
className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
|
|
290
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
290
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectValue, { placeholder: "Select an option" })
|
|
291
291
|
}
|
|
292
292
|
),
|
|
293
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
293
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectContent, { children: referralSourceOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectItem, { value: opt, children: opt }, opt)) })
|
|
294
294
|
] })
|
|
295
295
|
}
|
|
296
296
|
),
|
|
@@ -307,18 +307,18 @@ function ContactForm({
|
|
|
307
307
|
{
|
|
308
308
|
control,
|
|
309
309
|
name: "helpCategory",
|
|
310
|
-
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
310
|
+
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkU6LRRG2Ecjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
|
|
311
311
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
312
|
-
|
|
312
|
+
_chunkU6LRRG2Ecjs.SelectTrigger,
|
|
313
313
|
{
|
|
314
314
|
id: "helpCategory",
|
|
315
315
|
"aria-label": "Help Category",
|
|
316
316
|
"aria-required": true,
|
|
317
317
|
className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
|
|
318
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
318
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectValue, { placeholder: "Choose your main interest" })
|
|
319
319
|
}
|
|
320
320
|
),
|
|
321
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
321
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectContent, { children: helpCategoryOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.SelectItem, { value: opt, children: opt }, opt)) })
|
|
322
322
|
] })
|
|
323
323
|
}
|
|
324
324
|
),
|
|
@@ -330,7 +330,7 @@ function ContactForm({
|
|
|
330
330
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXXBLN4BPcjs.RequiredMark, {})
|
|
331
331
|
] }),
|
|
332
332
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
333
|
-
|
|
333
|
+
_chunkAI3CLDZOcjs.Textarea,
|
|
334
334
|
{
|
|
335
335
|
id: "message",
|
|
336
336
|
...register("message"),
|
|
@@ -345,7 +345,7 @@ function ContactForm({
|
|
|
345
345
|
] }),
|
|
346
346
|
attachmentsEnabled && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-2", children: [
|
|
347
347
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
348
|
-
|
|
348
|
+
_chunkRU6BTELIcjs.ChatAttachmentChipStrip,
|
|
349
349
|
{
|
|
350
350
|
attachments: attachments.attachments,
|
|
351
351
|
onRemove: attachments.removeAttachment,
|
|
@@ -354,7 +354,7 @@ function ContactForm({
|
|
|
354
354
|
),
|
|
355
355
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
356
356
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
357
|
-
|
|
357
|
+
_chunkRU6BTELIcjs.ChatAttachmentAddButton,
|
|
358
358
|
{
|
|
359
359
|
attachmentsEnabled: true,
|
|
360
360
|
attachmentsCount: attachments.attachments.length,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkRU6BTELIcjs = require('./chunk-RU6BTELI.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
@@ -45,7 +45,7 @@ function HorizontalSectionNav({
|
|
|
45
45
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "nav", { ref: navRef, "aria-label": label, className: _chunk3ATAYP36cjs.cn.call(void 0, "flex h-14 items-stretch gap-6 bg-ods-bg", className), children: [
|
|
46
46
|
brand && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden shrink-0 items-center gap-2.5 border-r border-ods-border pr-6 text-ods-text-primary text-h4 content-lg:flex", children: brand }),
|
|
47
47
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
48
|
-
|
|
48
|
+
_chunkRU6BTELIcjs.ScrollShadow,
|
|
49
49
|
{
|
|
50
50
|
axis: "horizontal",
|
|
51
51
|
className: "min-w-0 flex-1",
|
|
@@ -330,7 +330,7 @@ function useScrollSpy(sections, options = {}) {
|
|
|
330
330
|
// src/components/navigation/multi-level-navigation.tsx
|
|
331
331
|
var _lucidereact = require('lucide-react');
|
|
332
332
|
|
|
333
|
-
var DEFAULT_FOLDER_INDEX_FILE2 =
|
|
333
|
+
var DEFAULT_FOLDER_INDEX_FILE2 = _chunkRU6BTELIcjs.DEFAULT_FOLDER_INDEX_FILE;
|
|
334
334
|
function isNodeVisuallySelected(node, selectedPath, folderIndexFile = DEFAULT_FOLDER_INDEX_FILE2) {
|
|
335
335
|
const FOLDER_INDEX_FILE = folderIndexFile.toLowerCase();
|
|
336
336
|
if (selectedPath === node.path) {
|
|
@@ -10,7 +10,7 @@ var _chunkA6P6DHEZcjs = require('./chunk-A6P6DHEZ.cjs');
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkNJV3LIDEcjs = require('./chunk-NJV3LIDE.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
@@ -2027,7 +2027,7 @@ function RemoteDesktopChatMessageRow({
|
|
|
2027
2027
|
children: authorName
|
|
2028
2028
|
}
|
|
2029
2029
|
),
|
|
2030
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { suppressHydrationWarning: true, className: "shrink-0 text-ods-text-secondary text-h6", children:
|
|
2030
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { suppressHydrationWarning: true, className: "shrink-0 text-ods-text-secondary text-h6", children: _chunkNJV3LIDEcjs.formatTime.call(void 0, sentAt) })
|
|
2031
2031
|
] }),
|
|
2032
2032
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "whitespace-pre-wrap text-ods-text-primary text-h4", children: body })
|
|
2033
2033
|
] });
|
|
@@ -2072,7 +2072,7 @@ function RemoteDesktopChatPanel({
|
|
|
2072
2072
|
message.id
|
|
2073
2073
|
)) }) }),
|
|
2074
2074
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2075
|
-
|
|
2075
|
+
_chunkNJV3LIDEcjs.ChatInput,
|
|
2076
2076
|
{
|
|
2077
2077
|
placeholder: "Enter your Message...",
|
|
2078
2078
|
onSend,
|
|
@@ -2429,9 +2429,9 @@ function KeepRecordingModal({
|
|
|
2429
2429
|
if (!canKeep || isPending) return;
|
|
2430
2430
|
onConfirm({ reason, description: reason === "OTHER" ? trimmed : null });
|
|
2431
2431
|
};
|
|
2432
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2432
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNJV3LIDEcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
2433
2433
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
2434
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2434
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNJV3LIDEcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNJV3LIDEcjs.ModalTitle, { children: "Keep this recording" }) }),
|
|
2435
2435
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2436
2436
|
KeepNotice,
|
|
2437
2437
|
{
|
|
@@ -2469,7 +2469,7 @@ function KeepRecordingModal({
|
|
|
2469
2469
|
}
|
|
2470
2470
|
)
|
|
2471
2471
|
] }),
|
|
2472
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2472
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNJV3LIDEcjs.ModalFooter, { children: [
|
|
2473
2473
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
2474
2474
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
2475
2475
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -2499,9 +2499,9 @@ function ReleaseKeepingModal({
|
|
|
2499
2499
|
isPending = false,
|
|
2500
2500
|
onConfirm
|
|
2501
2501
|
}) {
|
|
2502
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2502
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNJV3LIDEcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
2503
2503
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
2504
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2504
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNJV3LIDEcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNJV3LIDEcjs.ModalTitle, { children: "Release Keeping" }) }),
|
|
2505
2505
|
/* @__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: [
|
|
2506
2506
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { children: [
|
|
2507
2507
|
"Kept by ",
|
|
@@ -2518,7 +2518,7 @@ function ReleaseKeepingModal({
|
|
|
2518
2518
|
] })
|
|
2519
2519
|
] }),
|
|
2520
2520
|
/* @__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." }),
|
|
2521
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2521
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNJV3LIDEcjs.ModalFooter, { children: [
|
|
2522
2522
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
2523
2523
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
2524
2524
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { type: "button", variant: "accent", onClick: onConfirm, loading: isPending, className: "flex-1", children: "Release Keeping" })
|
|
@@ -2560,9 +2560,9 @@ function AssignTicketModal({
|
|
|
2560
2560
|
if (ticketIds.length === 0 || isPending) return;
|
|
2561
2561
|
onConfirm(ticketIds);
|
|
2562
2562
|
};
|
|
2563
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2563
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNJV3LIDEcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
2564
2564
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
2565
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2565
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNJV3LIDEcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNJV3LIDEcjs.ModalTitle, { children: "Assign Ticket" }) }),
|
|
2566
2566
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2567
2567
|
Autocomplete,
|
|
2568
2568
|
{
|
|
@@ -2581,7 +2581,7 @@ function AssignTicketModal({
|
|
|
2581
2581
|
disabled: isPending
|
|
2582
2582
|
}
|
|
2583
2583
|
),
|
|
2584
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2584
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNJV3LIDEcjs.ModalFooter, { children: [
|
|
2585
2585
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
2586
2586
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
2587
2587
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -2600,11 +2600,11 @@ function AssignTicketModal({
|
|
|
2600
2600
|
] });
|
|
2601
2601
|
}
|
|
2602
2602
|
function UnassignTicketModal({ isOpen, onClose, isPending = false, onConfirm }) {
|
|
2603
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2603
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNJV3LIDEcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
2604
2604
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
2605
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2605
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNJV3LIDEcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNJV3LIDEcjs.ModalTitle, { children: "Unassign Ticket" }) }),
|
|
2606
2606
|
/* @__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." }),
|
|
2607
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2607
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNJV3LIDEcjs.ModalFooter, { children: [
|
|
2608
2608
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
2609
2609
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
2610
2610
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { type: "button", variant: "destructive", onClick: onConfirm, loading: isPending, className: "flex-1", children: "Unassign" })
|