@flamingo-stack/openframe-frontend-core 0.0.294 → 0.0.295

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/dist/{chunk-AFKRDSRS.cjs → chunk-3XIB4VKS.cjs} +4 -4
  2. package/dist/{chunk-AFKRDSRS.cjs.map → chunk-3XIB4VKS.cjs.map} +1 -1
  3. package/dist/{chunk-B4T3RTFX.cjs → chunk-5O6N3BKR.cjs} +3 -3
  4. package/dist/{chunk-B4T3RTFX.cjs.map → chunk-5O6N3BKR.cjs.map} +1 -1
  5. package/dist/{chunk-ZYZWD7LS.js → chunk-6BZEAPNT.js} +36 -28
  6. package/dist/chunk-6BZEAPNT.js.map +1 -0
  7. package/dist/{chunk-CLWQ7MHW.cjs → chunk-6IBA2MQV.cjs} +23 -23
  8. package/dist/{chunk-CLWQ7MHW.cjs.map → chunk-6IBA2MQV.cjs.map} +1 -1
  9. package/dist/{chunk-E24HKKIE.js → chunk-7KXD7CWD.js} +2 -2
  10. package/dist/{chunk-6LUVYHKD.cjs → chunk-A2YL7QRX.cjs} +25 -25
  11. package/dist/{chunk-6LUVYHKD.cjs.map → chunk-A2YL7QRX.cjs.map} +1 -1
  12. package/dist/{chunk-73QT66LJ.cjs → chunk-ETACGX2A.cjs} +5 -5
  13. package/dist/{chunk-73QT66LJ.cjs.map → chunk-ETACGX2A.cjs.map} +1 -1
  14. package/dist/{chunk-6SG25O2N.js → chunk-HOVJGXF7.js} +2 -2
  15. package/dist/{chunk-V6YZGLHZ.cjs → chunk-INDQMNP6.cjs} +36 -28
  16. package/dist/chunk-INDQMNP6.cjs.map +1 -0
  17. package/dist/{chunk-RT6DJB3C.js → chunk-J3RDKZ32.js} +2 -2
  18. package/dist/{chunk-DEBURY5R.js → chunk-OOKKGOPQ.js} +2 -2
  19. package/dist/{chunk-QFG4G62D.js → chunk-YD43AKI5.js} +2 -2
  20. package/dist/components/chat/chat-message-enhanced.d.ts.map +1 -1
  21. package/dist/components/chat/chat-ticket-list.d.ts.map +1 -1
  22. package/dist/components/chat/index.cjs +2 -2
  23. package/dist/components/chat/index.js +1 -1
  24. package/dist/components/contact/index.cjs +3 -3
  25. package/dist/components/contact/index.js +2 -2
  26. package/dist/components/embeds/index.cjs +3 -3
  27. package/dist/components/embeds/index.js +2 -2
  28. package/dist/components/faq/index.cjs +3 -3
  29. package/dist/components/faq/index.js +2 -2
  30. package/dist/components/features/index.cjs +2 -2
  31. package/dist/components/features/index.js +1 -1
  32. package/dist/components/index.cjs +46 -46
  33. package/dist/components/index.js +5 -5
  34. package/dist/components/navigation/index.cjs +2 -2
  35. package/dist/components/navigation/index.js +1 -1
  36. package/dist/components/related-content/index.cjs +3 -3
  37. package/dist/components/related-content/index.js +2 -2
  38. package/dist/components/tickets/index.cjs +45 -45
  39. package/dist/components/tickets/index.js +3 -3
  40. package/dist/components/ui/index.cjs +2 -2
  41. package/dist/components/ui/index.js +1 -1
  42. package/dist/index.cjs +2 -2
  43. package/dist/index.js +1 -1
  44. package/package.json +1 -1
  45. package/src/components/chat/chat-message-enhanced.tsx +8 -5
  46. package/src/components/chat/chat-ticket-list.tsx +25 -16
  47. package/dist/chunk-V6YZGLHZ.cjs.map +0 -1
  48. package/dist/chunk-ZYZWD7LS.js.map +0 -1
  49. /package/dist/{chunk-E24HKKIE.js.map → chunk-7KXD7CWD.js.map} +0 -0
  50. /package/dist/{chunk-6SG25O2N.js.map → chunk-HOVJGXF7.js.map} +0 -0
  51. /package/dist/{chunk-RT6DJB3C.js.map → chunk-J3RDKZ32.js.map} +0 -0
  52. /package/dist/{chunk-DEBURY5R.js.map → chunk-OOKKGOPQ.js.map} +0 -0
  53. /package/dist/{chunk-QFG4G62D.js.map → chunk-YD43AKI5.js.map} +0 -0
@@ -37,16 +37,16 @@ import {
37
37
  OGLinkErrorBoundary,
38
38
  OGLinkPreview,
39
39
  PdfViewer
40
- } from "../chunk-QFG4G62D.js";
40
+ } from "../chunk-YD43AKI5.js";
41
41
  import {
42
42
  FaqAccordion,
43
43
  FaqDocumentPage,
44
44
  FaqSection
45
- } from "../chunk-6SG25O2N.js";
45
+ } from "../chunk-HOVJGXF7.js";
46
46
  import {
47
47
  GROUP_PAGE_SIZE,
48
48
  RelatedContentSection
49
- } from "../chunk-E24HKKIE.js";
49
+ } from "../chunk-7KXD7CWD.js";
50
50
  import {
51
51
  DeliveryRow,
52
52
  DevCardRowContent,
@@ -58,7 +58,7 @@ import {
58
58
  UnifiedPagination,
59
59
  init_unified_pagination,
60
60
  unified_pagination_exports
61
- } from "../chunk-DEBURY5R.js";
61
+ } from "../chunk-OOKKGOPQ.js";
62
62
  import {
63
63
  ArticleAuthorByline,
64
64
  DetailPageSkeleton
@@ -650,7 +650,7 @@ import {
650
650
  useTrackerClock,
651
651
  useUnifiedChat,
652
652
  usesCanonicalStatusStyle
653
- } from "../chunk-ZYZWD7LS.js";
653
+ } from "../chunk-6BZEAPNT.js";
654
654
  import {
655
655
  ANTHROPIC_SUPPORTED_IMAGE_MIME,
656
656
  AUTO_CONTINUATION_DIRECTIVE_PREFIX,
@@ -24,7 +24,7 @@
24
24
 
25
25
 
26
26
 
27
- var _chunkV6YZGLHZcjs = require('../../chunk-V6YZGLHZ.cjs');
27
+ var _chunkINDQMNP6cjs = require('../../chunk-INDQMNP6.cjs');
28
28
 
29
29
 
30
30
 
@@ -80,5 +80,5 @@ require('../../chunk-VRHGVLSL.cjs');
80
80
 
81
81
 
82
82
 
83
- exports.AppHeader = _chunkV6YZGLHZcjs.AppHeader; exports.AppLayout = _chunkV6YZGLHZcjs.AppLayout; exports.AppLayoutDrawer = _chunkV6YZGLHZcjs.AppLayoutDrawerRoot; exports.AppLayoutDrawerBody = _chunkV6YZGLHZcjs.AppLayoutDrawerBody; exports.AppLayoutDrawerClose = _chunkV6YZGLHZcjs.AppLayoutDrawerClose; exports.AppLayoutDrawerContent = _chunkV6YZGLHZcjs.AppLayoutDrawerContent; exports.AppLayoutDrawerDescription = _chunkV6YZGLHZcjs.AppLayoutDrawerDescription; exports.AppLayoutDrawerFooter = _chunkV6YZGLHZcjs.AppLayoutDrawerFooter; exports.AppLayoutDrawerHeader = _chunkV6YZGLHZcjs.AppLayoutDrawerHeader; exports.AppLayoutDrawerTitle = _chunkV6YZGLHZcjs.AppLayoutDrawerTitle; exports.AppLayoutDrawerTrigger = _chunkV6YZGLHZcjs.AppLayoutDrawerTrigger; exports.ClientOnlyHeader = _chunkV6YZGLHZcjs.ClientOnlyHeader; exports.Header = _chunkV6YZGLHZcjs.Header; exports.HeaderButton = _chunkV6YZGLHZcjs.HeaderButton; exports.HeaderGlobalSearch = _chunkV6YZGLHZcjs.HeaderGlobalSearch; exports.HeaderMingoButton = _chunkV6YZGLHZcjs.HeaderMingoButton; exports.HeaderOrganizationFilter = _chunkV6YZGLHZcjs.HeaderOrganizationFilter; exports.HeaderSkeleton = _chunkV6YZGLHZcjs.HeaderSkeleton; exports.MobileBurgerMenu = _chunkV6YZGLHZcjs.MobileBurgerMenu; exports.MobileNavPanel = _chunkV6YZGLHZcjs.MobileNavPanel; exports.MobileNavigationDropdown = _chunkKXCRGTRNcjs.MobileNavigationDropdown; exports.MultiLevelNavigation = _chunkKXCRGTRNcjs.MultiLevelNavigation; exports.NavigationSidebar = _chunkV6YZGLHZcjs.NavigationSidebar; exports.SlidingSidebar = _chunkV6YZGLHZcjs.SlidingSidebar; exports.StickySectionNav = _chunkKXCRGTRNcjs.StickySectionNav; exports.useAppLayoutDrawerContainer = _chunkV6YZGLHZcjs.useAppLayoutDrawerContainer; exports.useSectionNavigation = _chunkKXCRGTRNcjs.useSectionNavigation;
83
+ exports.AppHeader = _chunkINDQMNP6cjs.AppHeader; exports.AppLayout = _chunkINDQMNP6cjs.AppLayout; exports.AppLayoutDrawer = _chunkINDQMNP6cjs.AppLayoutDrawerRoot; exports.AppLayoutDrawerBody = _chunkINDQMNP6cjs.AppLayoutDrawerBody; exports.AppLayoutDrawerClose = _chunkINDQMNP6cjs.AppLayoutDrawerClose; exports.AppLayoutDrawerContent = _chunkINDQMNP6cjs.AppLayoutDrawerContent; exports.AppLayoutDrawerDescription = _chunkINDQMNP6cjs.AppLayoutDrawerDescription; exports.AppLayoutDrawerFooter = _chunkINDQMNP6cjs.AppLayoutDrawerFooter; exports.AppLayoutDrawerHeader = _chunkINDQMNP6cjs.AppLayoutDrawerHeader; exports.AppLayoutDrawerTitle = _chunkINDQMNP6cjs.AppLayoutDrawerTitle; exports.AppLayoutDrawerTrigger = _chunkINDQMNP6cjs.AppLayoutDrawerTrigger; exports.ClientOnlyHeader = _chunkINDQMNP6cjs.ClientOnlyHeader; exports.Header = _chunkINDQMNP6cjs.Header; exports.HeaderButton = _chunkINDQMNP6cjs.HeaderButton; exports.HeaderGlobalSearch = _chunkINDQMNP6cjs.HeaderGlobalSearch; exports.HeaderMingoButton = _chunkINDQMNP6cjs.HeaderMingoButton; exports.HeaderOrganizationFilter = _chunkINDQMNP6cjs.HeaderOrganizationFilter; exports.HeaderSkeleton = _chunkINDQMNP6cjs.HeaderSkeleton; exports.MobileBurgerMenu = _chunkINDQMNP6cjs.MobileBurgerMenu; exports.MobileNavPanel = _chunkINDQMNP6cjs.MobileNavPanel; exports.MobileNavigationDropdown = _chunkKXCRGTRNcjs.MobileNavigationDropdown; exports.MultiLevelNavigation = _chunkKXCRGTRNcjs.MultiLevelNavigation; exports.NavigationSidebar = _chunkINDQMNP6cjs.NavigationSidebar; exports.SlidingSidebar = _chunkINDQMNP6cjs.SlidingSidebar; exports.StickySectionNav = _chunkKXCRGTRNcjs.StickySectionNav; exports.useAppLayoutDrawerContainer = _chunkINDQMNP6cjs.useAppLayoutDrawerContainer; exports.useSectionNavigation = _chunkKXCRGTRNcjs.useSectionNavigation;
84
84
  //# sourceMappingURL=index.cjs.map
@@ -24,7 +24,7 @@ import {
24
24
  NavigationSidebar,
25
25
  SlidingSidebar,
26
26
  useAppLayoutDrawerContainer
27
- } from "../../chunk-ZYZWD7LS.js";
27
+ } from "../../chunk-6BZEAPNT.js";
28
28
  import {
29
29
  MobileNavigationDropdown,
30
30
  MultiLevelNavigation,
@@ -2,9 +2,9 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkCLWQ7MHWcjs = require('../../chunk-CLWQ7MHW.cjs');
5
+ var _chunk6IBA2MQVcjs = require('../../chunk-6IBA2MQV.cjs');
6
6
  require('../../chunk-D3LEFMOA.cjs');
7
- require('../../chunk-V6YZGLHZ.cjs');
7
+ require('../../chunk-INDQMNP6.cjs');
8
8
  require('../../chunk-KXCRGTRN.cjs');
9
9
  require('../../chunk-5E2HOSSH.cjs');
10
10
  require('../../chunk-LFGGF7OT.cjs');
@@ -30,5 +30,5 @@ require('../../chunk-VRHGVLSL.cjs');
30
30
 
31
31
 
32
32
 
33
- exports.GROUP_PAGE_SIZE = _chunkCLWQ7MHWcjs.GROUP_PAGE_SIZE; exports.RelatedContentSection = _chunkCLWQ7MHWcjs.RelatedContentSection;
33
+ exports.GROUP_PAGE_SIZE = _chunk6IBA2MQVcjs.GROUP_PAGE_SIZE; exports.RelatedContentSection = _chunk6IBA2MQVcjs.RelatedContentSection;
34
34
  //# sourceMappingURL=index.cjs.map
@@ -2,9 +2,9 @@
2
2
  import {
3
3
  GROUP_PAGE_SIZE,
4
4
  RelatedContentSection
5
- } from "../../chunk-E24HKKIE.js";
5
+ } from "../../chunk-7KXD7CWD.js";
6
6
  import "../../chunk-3ZXUQQL4.js";
7
- import "../../chunk-ZYZWD7LS.js";
7
+ import "../../chunk-6BZEAPNT.js";
8
8
  import "../../chunk-26PKDALD.js";
9
9
  import "../../chunk-7RIYT7ZH.js";
10
10
  import "../../chunk-OQ6X7ZOC.js";
@@ -7,11 +7,11 @@
7
7
 
8
8
 
9
9
 
10
- var _chunk73QT66LJcjs = require('../../chunk-73QT66LJ.cjs');
10
+ var _chunkETACGX2Acjs = require('../../chunk-ETACGX2A.cjs');
11
11
  require('../../chunk-VFKQMAUF.cjs');
12
12
 
13
13
 
14
- var _chunk6LUVYHKDcjs = require('../../chunk-6LUVYHKD.cjs');
14
+ var _chunkA2YL7QRXcjs = require('../../chunk-A2YL7QRX.cjs');
15
15
 
16
16
 
17
17
 
@@ -32,7 +32,7 @@ var _chunk6LUVYHKDcjs = require('../../chunk-6LUVYHKD.cjs');
32
32
 
33
33
 
34
34
 
35
- var _chunkV6YZGLHZcjs = require('../../chunk-V6YZGLHZ.cjs');
35
+ var _chunkINDQMNP6cjs = require('../../chunk-INDQMNP6.cjs');
36
36
 
37
37
 
38
38
 
@@ -120,7 +120,7 @@ function TicketOpenForm({
120
120
  }) {
121
121
  const [subject, setSubject] = _react.useState.call(void 0, "");
122
122
  const [content, setContent] = _react.useState.call(void 0, "");
123
- const { attachments, readyAttachments, hasInflightUploads, addFiles, removeAttachment, clear } = _chunkV6YZGLHZcjs.useChatAttachments.call(void 0, );
123
+ const { attachments, readyAttachments, hasInflightUploads, addFiles, removeAttachment, clear } = _chunkINDQMNP6cjs.useChatAttachments.call(void 0, );
124
124
  const trimmedSubject = subject.trim();
125
125
  const trimmedContent = content.trim();
126
126
  const overCap = content.length > TICKET_TEXT_MAX_CHARS;
@@ -179,7 +179,7 @@ function TicketOpenForm({
179
179
  }
180
180
  ),
181
181
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
182
- _chunkV6YZGLHZcjs.Textarea,
182
+ _chunkINDQMNP6cjs.Textarea,
183
183
  {
184
184
  id: "ticket-content",
185
185
  placeholder: "Describe your issue or question in detail...",
@@ -203,7 +203,7 @@ function TicketOpenForm({
203
203
  )
204
204
  ] }),
205
205
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
206
- _chunkV6YZGLHZcjs.ChatAttachmentChipStrip,
206
+ _chunkINDQMNP6cjs.ChatAttachmentChipStrip,
207
207
  {
208
208
  attachments,
209
209
  onRemove: removeAttachment,
@@ -212,7 +212,7 @@ function TicketOpenForm({
212
212
  ),
213
213
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between gap-3", children: [
214
214
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
215
- _chunkV6YZGLHZcjs.ChatAttachmentAddButton,
215
+ _chunkINDQMNP6cjs.ChatAttachmentAddButton,
216
216
  {
217
217
  attachmentsEnabled: !supportSystemDown,
218
218
  attachmentsCount: attachments.length,
@@ -250,7 +250,7 @@ var _usesticktobottom = require('use-stick-to-bottom');
250
250
 
251
251
  var LIST_ENGAGEMENTS_ENDPOINT = "/api/chat/agent/list-engagements";
252
252
  function useTicketEngagements(externalTicketId, enabled = true, refetchInterval = false) {
253
- const identity = _chunkV6YZGLHZcjs.useChatIdentity.call(void 0, );
253
+ const identity = _chunkINDQMNP6cjs.useChatIdentity.call(void 0, );
254
254
  const identityKey = _nullishCoalesce(_optionalChain([identity, 'access', _2 => _2.user, 'optionalAccess', _3 => _3.email]), () => ( "anon"));
255
255
  const listEngagementsEndpoint = _nullishCoalesce(_chunkAQOWFSMBcjs.useRequiredChatRuntime.call(void 0, ).endpoints.listEngagementsUrl, () => ( LIST_ENGAGEMENTS_ENDPOINT));
256
256
  const fetchable = enabled && !!externalTicketId && !externalTicketId.startsWith("temp-");
@@ -332,7 +332,7 @@ function TicketLinkedDeliveryCard({
332
332
  {
333
333
  className: `rounded-md border border-ods-border bg-ods-bg overflow-hidden ${_nullishCoalesce(className, () => ( ""))}`,
334
334
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
335
- _chunk73QT66LJcjs.DeliveryRow,
335
+ _chunkETACGX2Acjs.DeliveryRow,
336
336
  {
337
337
  item,
338
338
  href: clickup.delivery_href,
@@ -356,7 +356,7 @@ function TicketReplyComposer({
356
356
  }) {
357
357
  const [resolution, setResolution] = _react.useState.call(void 0, "");
358
358
  const [closeDialogOpen, setCloseDialogOpen] = _react.useState.call(void 0, false);
359
- const attachments = _chunkV6YZGLHZcjs.useChatAttachments.call(void 0, );
359
+ const attachments = _chunkINDQMNP6cjs.useChatAttachments.call(void 0, );
360
360
  const ticketRef = { id: ticket.id, external_id: ticket.external_id };
361
361
  const hasReadyFiles = attachments.readyAttachments.length > 0;
362
362
  const handleSend = _react.useCallback.call(void 0,
@@ -384,7 +384,7 @@ function TicketReplyComposer({
384
384
  const disabled = busy || supportSystemDown;
385
385
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-2", children: [
386
386
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
387
- _chunkV6YZGLHZcjs.ChatAttachmentChipStrip,
387
+ _chunkINDQMNP6cjs.ChatAttachmentChipStrip,
388
388
  {
389
389
  attachments: attachments.attachments,
390
390
  onRemove: attachments.removeAttachment,
@@ -393,7 +393,7 @@ function TicketReplyComposer({
393
393
  }
394
394
  ),
395
395
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
396
- _chunkV6YZGLHZcjs.ChatInput,
396
+ _chunkINDQMNP6cjs.ChatInput,
397
397
  {
398
398
  fullWidth: true,
399
399
  autoFocus: true,
@@ -407,7 +407,7 @@ function TicketReplyComposer({
407
407
  ),
408
408
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2 w-full", children: [
409
409
  !supportSystemDown && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
410
- _chunkV6YZGLHZcjs.ChatAttachmentAddButton,
410
+ _chunkINDQMNP6cjs.ChatAttachmentAddButton,
411
411
  {
412
412
  attachmentsEnabled: true,
413
413
  attachmentsCount: attachments.attachments.length,
@@ -430,13 +430,13 @@ function TicketReplyComposer({
430
430
  }
431
431
  )
432
432
  ] }),
433
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV6YZGLHZcjs.AlertDialog, { open: closeDialogOpen, onOpenChange: setCloseDialogOpen, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkV6YZGLHZcjs.AlertDialogContent, { className: "bg-ods-card border-ods-border", children: [
434
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkV6YZGLHZcjs.AlertDialogHeader, { children: [
435
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV6YZGLHZcjs.AlertDialogTitle, { className: "text-ods-text-primary", children: "Close this ticket?" }),
436
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV6YZGLHZcjs.AlertDialogDescription, { className: "text-ods-text-secondary", children: "Add an optional resolution note below. You can reopen the ticket later if needed." })
433
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkINDQMNP6cjs.AlertDialog, { open: closeDialogOpen, onOpenChange: setCloseDialogOpen, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkINDQMNP6cjs.AlertDialogContent, { className: "bg-ods-card border-ods-border", children: [
434
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkINDQMNP6cjs.AlertDialogHeader, { children: [
435
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkINDQMNP6cjs.AlertDialogTitle, { className: "text-ods-text-primary", children: "Close this ticket?" }),
436
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkINDQMNP6cjs.AlertDialogDescription, { className: "text-ods-text-secondary", children: "Add an optional resolution note below. You can reopen the ticket later if needed." })
437
437
  ] }),
438
438
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
439
- _chunkV6YZGLHZcjs.Textarea,
439
+ _chunkINDQMNP6cjs.Textarea,
440
440
  {
441
441
  value: resolution,
442
442
  onChange: (e) => setResolution(e.target.value),
@@ -446,9 +446,9 @@ function TicketReplyComposer({
446
446
  className: "mt-2"
447
447
  }
448
448
  ),
449
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkV6YZGLHZcjs.AlertDialogFooter, { children: [
449
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkINDQMNP6cjs.AlertDialogFooter, { children: [
450
450
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
451
- _chunkV6YZGLHZcjs.AlertDialogCancel,
451
+ _chunkINDQMNP6cjs.AlertDialogCancel,
452
452
  {
453
453
  disabled: busy,
454
454
  className: "bg-transparent border-ods-border text-ods-text-primary hover:bg-ods-border",
@@ -456,7 +456,7 @@ function TicketReplyComposer({
456
456
  }
457
457
  ),
458
458
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
459
- _chunkV6YZGLHZcjs.AlertDialogAction,
459
+ _chunkINDQMNP6cjs.AlertDialogAction,
460
460
  {
461
461
  onClick: () => void confirmClose(),
462
462
  disabled: busy,
@@ -526,7 +526,7 @@ var TICKET_FEED_HEIGHT = "h-[60vh] md:h-[420px]";
526
526
  var TICKET_FEED_INNER = "flex flex-col gap-4 md:gap-6 px-4 md:px-6 py-4 md:py-6";
527
527
  var TICKET_FEED_SKELETON_ROWS = 6;
528
528
  function TicketTimelinePanel({ ticket }) {
529
- const identity = _chunkV6YZGLHZcjs.useChatIdentity.call(void 0, );
529
+ const identity = _chunkINDQMNP6cjs.useChatIdentity.call(void 0, );
530
530
  const externalId = isOptimistic(ticket) ? null : ticket.external_id;
531
531
  const { engagements, isLoading } = useTicketEngagements(
532
532
  externalId,
@@ -546,11 +546,11 @@ function TicketTimelinePanel({ ticket }) {
546
546
  const customerName = (isViewerTheCustomer ? viewerName : null) || ticketCustomerName || viewerName || _optionalChain([identity, 'access', _19 => _19.user, 'optionalAccess', _20 => _20.email]) || "You";
547
547
  const customerAvatar = isViewerTheCustomer ? _nullishCoalesce(_optionalChain([identity, 'access', _21 => _21.user, 'optionalAccess', _22 => _22.avatarUrl]), () => ( void 0)) : void 0;
548
548
  if (isLoading) {
549
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `${TICKET_FEED_FRAME} ${TICKET_FEED_HEIGHT}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: TICKET_FEED_INNER, children: Array.from({ length: TICKET_FEED_SKELETON_ROWS }, (_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV6YZGLHZcjs.ChatMessageRowSkeleton, {}, i)) }) });
549
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `${TICKET_FEED_FRAME} ${TICKET_FEED_HEIGHT}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: TICKET_FEED_INNER, children: Array.from({ length: TICKET_FEED_SKELETON_ROWS }, (_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkINDQMNP6cjs.ChatMessageRowSkeleton, {}, i)) }) });
550
550
  }
551
551
  if (bodyTurns.length === 0 && engagements.length === 0) {
552
552
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
553
- _chunk73QT66LJcjs.EmptyState,
553
+ _chunkETACGX2Acjs.EmptyState,
554
554
  {
555
555
  type: "generic",
556
556
  title: "No conversation yet",
@@ -565,7 +565,7 @@ function TicketTimelinePanel({ ticket }) {
565
565
  const isResolution = turn.startsWith("[Resolution]");
566
566
  const text = isResolution ? turn.replace(/^\[Resolution\]\s*/, "") : turn;
567
567
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
568
- _chunkV6YZGLHZcjs.ChatMessageRow,
568
+ _chunkINDQMNP6cjs.ChatMessageRow,
569
569
  {
570
570
  displayName: customerName,
571
571
  avatarUrl: customerAvatar,
@@ -594,13 +594,13 @@ function TicketTimelinePanel({ ticket }) {
594
594
  }
595
595
  const engAttachments = mapEngagementAttachments(eng.attachments);
596
596
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
597
- _chunkV6YZGLHZcjs.ChatMessageRow,
597
+ _chunkINDQMNP6cjs.ChatMessageRow,
598
598
  {
599
599
  displayName: author,
600
600
  avatarUrl: avatarSrc,
601
601
  timeLabel: eng.createdAt ? _chunkKXCRGTRNcjs.formatRelativeTime.call(void 0, eng.createdAt) : null,
602
602
  body: stripAttachmentsPreamble(_nullishCoalesce(eng.body, () => ( ""))),
603
- footer: engAttachments.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV6YZGLHZcjs.TicketAttachmentsList, { attachments: engAttachments, size: "compact" }) }) : null
603
+ footer: engAttachments.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkINDQMNP6cjs.TicketAttachmentsList, { attachments: engAttachments, size: "compact" }) }) : null
604
604
  },
605
605
  eng.id
606
606
  );
@@ -761,7 +761,7 @@ function TicketRow({
761
761
  className: "border-b border-ods-border last:border-b-0",
762
762
  children: [
763
763
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
764
- _chunkV6YZGLHZcjs.ChatTicketItem,
764
+ _chunkINDQMNP6cjs.ChatTicketItem,
765
765
  {
766
766
  ticket: tileData,
767
767
  onClick: optimistic ? void 0 : handleClick,
@@ -1331,13 +1331,13 @@ function resolveErrorCode(bodyCode, status) {
1331
1331
  // src/components/tickets/ticket-center.tsx
1332
1332
 
1333
1333
  function TicketCenter({ toast: toast2 = _chunk5E2HOSSHcjs.toast } = {}) {
1334
- const identity = _chunkV6YZGLHZcjs.useChatIdentity.call(void 0, );
1334
+ const identity = _chunkINDQMNP6cjs.useChatIdentity.call(void 0, );
1335
1335
  if (identity.isLoading) {
1336
1336
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketCenterSkeleton, {});
1337
1337
  }
1338
1338
  if (identity.authTier === "anon" || !_optionalChain([identity, 'access', _58 => _58.user, 'optionalAccess', _59 => _59.email])) {
1339
1339
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1340
- _chunk73QT66LJcjs.EmptyState,
1340
+ _chunkETACGX2Acjs.EmptyState,
1341
1341
  {
1342
1342
  type: "generic",
1343
1343
  title: "Sign in to manage tickets",
@@ -1425,7 +1425,7 @@ function TicketCenterAuthed({
1425
1425
  ] })
1426
1426
  ] }),
1427
1427
  isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketListSkeleton, {}) : merged.length === 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4W7NYJ3Bcjs.Card, { className: "p-6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1428
- _chunk73QT66LJcjs.EmptyState,
1428
+ _chunkETACGX2Acjs.EmptyState,
1429
1429
  {
1430
1430
  type: "generic",
1431
1431
  title: "No tickets yet",
@@ -1475,7 +1475,7 @@ function TicketListSkeleton() {
1475
1475
  // src/components/tickets/help-center-list.tsx
1476
1476
 
1477
1477
 
1478
- _chunk73QT66LJcjs.init_unified_pagination.call(void 0, );
1478
+ _chunkETACGX2Acjs.init_unified_pagination.call(void 0, );
1479
1479
 
1480
1480
  // src/components/tickets/help-center-card.tsx
1481
1481
 
@@ -1555,7 +1555,7 @@ function HelpCenterCard({
1555
1555
  "aria-controls": isExpanded ? `help-center-drawer-${ticket.id}` : void 0,
1556
1556
  className: "w-full text-left p-[12px] md:p-[16px] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ods-accent focus-visible:ring-inset disabled:cursor-default",
1557
1557
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1558
- _chunk73QT66LJcjs.DevCardRowContent,
1558
+ _chunkETACGX2Acjs.DevCardRowContent,
1559
1559
  {
1560
1560
  title,
1561
1561
  subtitle,
@@ -1630,7 +1630,7 @@ function HelpCenterCreateForm({
1630
1630
  const [subject, setSubject] = _react.useState.call(void 0, "");
1631
1631
  const [subjectError, setSubjectError] = _react.useState.call(void 0, null);
1632
1632
  const subjectField = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
1633
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkV6YZGLHZcjs.Label, { htmlFor: "help-center-subject", children: [
1633
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkINDQMNP6cjs.Label, { htmlFor: "help-center-subject", children: [
1634
1634
  "Subject",
1635
1635
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: "*" })
1636
1636
  ] }),
@@ -1662,7 +1662,7 @@ function HelpCenterCreateForm({
1662
1662
  )
1663
1663
  ] });
1664
1664
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1665
- _chunk6LUVYHKDcjs.ContactForm,
1665
+ _chunkA2YL7QRXcjs.ContactForm,
1666
1666
  {
1667
1667
  title: "Open a new ticket",
1668
1668
  footerText: "The support team typically responds within one business day.",
@@ -1700,7 +1700,7 @@ function HelpCenterCreateForm({
1700
1700
  // src/components/tickets/help-center-list.tsx
1701
1701
 
1702
1702
  function HelpCenterList({ toast: toast2 = _chunk5E2HOSSHcjs.toast, backButton } = {}) {
1703
- const identity = _chunkV6YZGLHZcjs.useChatIdentity.call(void 0, );
1703
+ const identity = _chunkINDQMNP6cjs.useChatIdentity.call(void 0, );
1704
1704
  const searchParams = _chunkG7UE6RKVcjs.useSearchParams.call(void 0, );
1705
1705
  const router = _chunkG7UE6RKVcjs.useRouter.call(void 0, );
1706
1706
  const pathname = _chunkG7UE6RKVcjs.usePathname.call(void 0, );
@@ -1710,11 +1710,11 @@ function HelpCenterList({ toast: toast2 = _chunk5E2HOSSHcjs.toast, backButton }
1710
1710
  const rawPage = Number(searchParams.get("page"));
1711
1711
  const page = Number.isFinite(rawPage) && rawPage > 0 ? Math.floor(rawPage) : 1;
1712
1712
  if (identity.isLoading) {
1713
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk73QT66LJcjs.DevSectionPage, { sectionKey: "tickets", backButton, preControls: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HelpCenterCreateFormSkeleton, {}), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk73QT66LJcjs.DevCardRowSkeletonList, {}) });
1713
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkETACGX2Acjs.DevSectionPage, { sectionKey: "tickets", backButton, preControls: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HelpCenterCreateFormSkeleton, {}), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkETACGX2Acjs.DevCardRowSkeletonList, {}) });
1714
1714
  }
1715
1715
  if (identity.authTier === "anon" || !_optionalChain([identity, 'access', _60 => _60.user, 'optionalAccess', _61 => _61.email])) {
1716
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk73QT66LJcjs.DevSectionPage, { sectionKey: "tickets", backButton, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1717
- _chunk73QT66LJcjs.EmptyState,
1716
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkETACGX2Acjs.DevSectionPage, { sectionKey: "tickets", backButton, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1717
+ _chunkETACGX2Acjs.EmptyState,
1718
1718
  {
1719
1719
  type: "generic",
1720
1720
  title: "Sign in to manage tickets",
@@ -1842,15 +1842,15 @@ function HelpCenterListAuthed({
1842
1842
  ] }),
1843
1843
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXXI7BNB6cjs.Button, { type: "button", variant: "accent", onClick: () => refetch(), children: "Retry" })
1844
1844
  ] }),
1845
- !error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk73QT66LJcjs.DevCardRowSkeletonList, {}) : !hasResults && isFetching ? (
1845
+ !error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkETACGX2Acjs.DevCardRowSkeletonList, {}) : !hasResults && isFetching ? (
1846
1846
  // Bridge state — background refetch in flight and the
1847
1847
  // optimistic placeholder was just removed by the mutation
1848
1848
  // callback. Without this branch "No tickets yet" would flash
1849
1849
  // for ~50ms between `removeOptimistic` and the server
1850
1850
  // response landing.
1851
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk73QT66LJcjs.DevCardRowSkeletonList, { rows: 1 })
1851
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkETACGX2Acjs.DevCardRowSkeletonList, { rows: 1 })
1852
1852
  ) : !hasResults ? hasActiveFilters ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1853
- _chunk73QT66LJcjs.EmptyState,
1853
+ _chunkETACGX2Acjs.EmptyState,
1854
1854
  {
1855
1855
  type: "search",
1856
1856
  title: "No tickets found",
@@ -1865,7 +1865,7 @@ function HelpCenterListAuthed({
1865
1865
  }
1866
1866
  }
1867
1867
  ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1868
- _chunk73QT66LJcjs.EmptyState,
1868
+ _chunkETACGX2Acjs.EmptyState,
1869
1869
  {
1870
1870
  type: "generic",
1871
1871
  title: "No tickets yet",
@@ -1900,9 +1900,9 @@ function HelpCenterListAuthed({
1900
1900
  ticket.id
1901
1901
  )) })
1902
1902
  ) }),
1903
- !error && totalPages > 1 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk73QT66LJcjs.UnifiedPagination, { currentPage: page, totalPages })
1903
+ !error && totalPages > 1 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkETACGX2Acjs.UnifiedPagination, { currentPage: page, totalPages })
1904
1904
  ] });
1905
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk73QT66LJcjs.DevSectionPage, { sectionKey: "tickets", backButton, preControls: form, children: body });
1905
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkETACGX2Acjs.DevSectionPage, { sectionKey: "tickets", backButton, preControls: form, children: body });
1906
1906
  }
1907
1907
 
1908
1908
 
@@ -7,11 +7,11 @@ import {
7
7
  EmptyState,
8
8
  UnifiedPagination,
9
9
  init_unified_pagination
10
- } from "../../chunk-DEBURY5R.js";
10
+ } from "../../chunk-OOKKGOPQ.js";
11
11
  import "../../chunk-4XLJWX2N.js";
12
12
  import {
13
13
  ContactForm
14
- } from "../../chunk-RT6DJB3C.js";
14
+ } from "../../chunk-J3RDKZ32.js";
15
15
  import {
16
16
  AlertDialog,
17
17
  AlertDialogAction,
@@ -32,7 +32,7 @@ import {
32
32
  TicketAttachmentsList,
33
33
  useChatAttachments,
34
34
  useChatIdentity
35
- } from "../../chunk-ZYZWD7LS.js";
35
+ } from "../../chunk-6BZEAPNT.js";
36
36
  import {
37
37
  devSectionAnchorId,
38
38
  formatRelativeTime,