@flamingo-stack/openframe-frontend-core 0.0.290 → 0.0.291

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-VJ4ZWD5G.cjs → chunk-2YSC3API.cjs} +13 -14
  2. package/dist/{chunk-R4CLIWAU.js.map → chunk-2YSC3API.cjs.map} +1 -1
  3. package/dist/{chunk-7L22MF3U.cjs → chunk-6BWZFRUG.cjs} +3 -3
  4. package/dist/{chunk-7L22MF3U.cjs.map → chunk-6BWZFRUG.cjs.map} +1 -1
  5. package/dist/{chunk-4XMYOZFO.js → chunk-AGRSALEN.js} +2 -2
  6. package/dist/{chunk-2V6RCQ5M.cjs → chunk-BVNYQDZE.cjs} +23 -23
  7. package/dist/{chunk-2V6RCQ5M.cjs.map → chunk-BVNYQDZE.cjs.map} +1 -1
  8. package/dist/{chunk-LVOBI2M5.js → chunk-CSL3ECOF.js} +2 -2
  9. package/dist/{chunk-Z5QIVHJW.js → chunk-D4R2MUPA.js} +2 -2
  10. package/dist/{chunk-KJF7SRKH.js → chunk-EGSAB76W.js} +2 -2
  11. package/dist/{chunk-4F3X2AOB.js → chunk-RSIFEDZX.js} +2 -2
  12. package/dist/{chunk-UC5GB255.cjs → chunk-VMRPM24G.cjs} +5 -5
  13. package/dist/{chunk-UC5GB255.cjs.map → chunk-VMRPM24G.cjs.map} +1 -1
  14. package/dist/{chunk-R4CLIWAU.js → chunk-Z2EOXZBW.js} +13 -14
  15. package/dist/chunk-Z2EOXZBW.js.map +1 -0
  16. package/dist/{chunk-AAK6IY6Y.cjs → chunk-Z4GAFSNM.cjs} +4 -4
  17. package/dist/{chunk-AAK6IY6Y.cjs.map → chunk-Z4GAFSNM.cjs.map} +1 -1
  18. package/dist/{chunk-OYXZIPNM.cjs → chunk-ZYBUFVQV.cjs} +25 -25
  19. package/dist/{chunk-OYXZIPNM.cjs.map → chunk-ZYBUFVQV.cjs.map} +1 -1
  20. package/dist/components/chat/index.cjs +2 -2
  21. package/dist/components/chat/index.js +1 -1
  22. package/dist/components/contact/index.cjs +3 -3
  23. package/dist/components/contact/index.js +2 -2
  24. package/dist/components/embeds/index.cjs +3 -3
  25. package/dist/components/embeds/index.js +2 -2
  26. package/dist/components/faq/index.cjs +3 -3
  27. package/dist/components/faq/index.js +2 -2
  28. package/dist/components/features/index.cjs +2 -2
  29. package/dist/components/features/index.js +1 -1
  30. package/dist/components/features/paths-display.d.ts +1 -1
  31. package/dist/components/features/paths-display.d.ts.map +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/features/.paths-display.md +1 -1
  46. package/src/components/features/command-box.tsx +1 -1
  47. package/src/components/features/paths-display.tsx +13 -14
  48. package/dist/chunk-VJ4ZWD5G.cjs.map +0 -1
  49. /package/dist/{chunk-4XMYOZFO.js.map → chunk-AGRSALEN.js.map} +0 -0
  50. /package/dist/{chunk-LVOBI2M5.js.map → chunk-CSL3ECOF.js.map} +0 -0
  51. /package/dist/{chunk-Z5QIVHJW.js.map → chunk-D4R2MUPA.js.map} +0 -0
  52. /package/dist/{chunk-KJF7SRKH.js.map → chunk-EGSAB76W.js.map} +0 -0
  53. /package/dist/{chunk-4F3X2AOB.js.map → chunk-RSIFEDZX.js.map} +0 -0
@@ -37,16 +37,16 @@ import {
37
37
  OGLinkErrorBoundary,
38
38
  OGLinkPreview,
39
39
  PdfViewer
40
- } from "../chunk-KJF7SRKH.js";
40
+ } from "../chunk-EGSAB76W.js";
41
41
  import {
42
42
  FaqAccordion,
43
43
  FaqDocumentPage,
44
44
  FaqSection
45
- } from "../chunk-4XMYOZFO.js";
45
+ } from "../chunk-AGRSALEN.js";
46
46
  import {
47
47
  GROUP_PAGE_SIZE,
48
48
  RelatedContentSection
49
- } from "../chunk-Z5QIVHJW.js";
49
+ } from "../chunk-D4R2MUPA.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-4F3X2AOB.js";
61
+ } from "../chunk-RSIFEDZX.js";
62
62
  import {
63
63
  ArticleAuthorByline,
64
64
  DetailPageSkeleton
@@ -649,7 +649,7 @@ import {
649
649
  useTrackerClock,
650
650
  useUnifiedChat,
651
651
  usesCanonicalStatusStyle
652
- } from "../chunk-R4CLIWAU.js";
652
+ } from "../chunk-Z2EOXZBW.js";
653
653
  import {
654
654
  ANTHROPIC_SUPPORTED_IMAGE_MIME,
655
655
  AUTO_CONTINUATION_DIRECTIVE_PREFIX,
@@ -24,7 +24,7 @@
24
24
 
25
25
 
26
26
 
27
- var _chunkVJ4ZWD5Gcjs = require('../../chunk-VJ4ZWD5G.cjs');
27
+ var _chunk2YSC3APIcjs = require('../../chunk-2YSC3API.cjs');
28
28
 
29
29
 
30
30
 
@@ -80,5 +80,5 @@ require('../../chunk-VRHGVLSL.cjs');
80
80
 
81
81
 
82
82
 
83
- exports.AppHeader = _chunkVJ4ZWD5Gcjs.AppHeader; exports.AppLayout = _chunkVJ4ZWD5Gcjs.AppLayout; exports.AppLayoutDrawer = _chunkVJ4ZWD5Gcjs.AppLayoutDrawerRoot; exports.AppLayoutDrawerBody = _chunkVJ4ZWD5Gcjs.AppLayoutDrawerBody; exports.AppLayoutDrawerClose = _chunkVJ4ZWD5Gcjs.AppLayoutDrawerClose; exports.AppLayoutDrawerContent = _chunkVJ4ZWD5Gcjs.AppLayoutDrawerContent; exports.AppLayoutDrawerDescription = _chunkVJ4ZWD5Gcjs.AppLayoutDrawerDescription; exports.AppLayoutDrawerFooter = _chunkVJ4ZWD5Gcjs.AppLayoutDrawerFooter; exports.AppLayoutDrawerHeader = _chunkVJ4ZWD5Gcjs.AppLayoutDrawerHeader; exports.AppLayoutDrawerTitle = _chunkVJ4ZWD5Gcjs.AppLayoutDrawerTitle; exports.AppLayoutDrawerTrigger = _chunkVJ4ZWD5Gcjs.AppLayoutDrawerTrigger; exports.ClientOnlyHeader = _chunkVJ4ZWD5Gcjs.ClientOnlyHeader; exports.Header = _chunkVJ4ZWD5Gcjs.Header; exports.HeaderButton = _chunkVJ4ZWD5Gcjs.HeaderButton; exports.HeaderGlobalSearch = _chunkVJ4ZWD5Gcjs.HeaderGlobalSearch; exports.HeaderMingoButton = _chunkVJ4ZWD5Gcjs.HeaderMingoButton; exports.HeaderOrganizationFilter = _chunkVJ4ZWD5Gcjs.HeaderOrganizationFilter; exports.HeaderSkeleton = _chunkVJ4ZWD5Gcjs.HeaderSkeleton; exports.MobileBurgerMenu = _chunkVJ4ZWD5Gcjs.MobileBurgerMenu; exports.MobileNavPanel = _chunkVJ4ZWD5Gcjs.MobileNavPanel; exports.MobileNavigationDropdown = _chunkD6RK5YXXcjs.MobileNavigationDropdown; exports.MultiLevelNavigation = _chunkD6RK5YXXcjs.MultiLevelNavigation; exports.NavigationSidebar = _chunkVJ4ZWD5Gcjs.NavigationSidebar; exports.SlidingSidebar = _chunkVJ4ZWD5Gcjs.SlidingSidebar; exports.StickySectionNav = _chunkD6RK5YXXcjs.StickySectionNav; exports.useAppLayoutDrawerContainer = _chunkVJ4ZWD5Gcjs.useAppLayoutDrawerContainer; exports.useSectionNavigation = _chunkD6RK5YXXcjs.useSectionNavigation;
83
+ exports.AppHeader = _chunk2YSC3APIcjs.AppHeader; exports.AppLayout = _chunk2YSC3APIcjs.AppLayout; exports.AppLayoutDrawer = _chunk2YSC3APIcjs.AppLayoutDrawerRoot; exports.AppLayoutDrawerBody = _chunk2YSC3APIcjs.AppLayoutDrawerBody; exports.AppLayoutDrawerClose = _chunk2YSC3APIcjs.AppLayoutDrawerClose; exports.AppLayoutDrawerContent = _chunk2YSC3APIcjs.AppLayoutDrawerContent; exports.AppLayoutDrawerDescription = _chunk2YSC3APIcjs.AppLayoutDrawerDescription; exports.AppLayoutDrawerFooter = _chunk2YSC3APIcjs.AppLayoutDrawerFooter; exports.AppLayoutDrawerHeader = _chunk2YSC3APIcjs.AppLayoutDrawerHeader; exports.AppLayoutDrawerTitle = _chunk2YSC3APIcjs.AppLayoutDrawerTitle; exports.AppLayoutDrawerTrigger = _chunk2YSC3APIcjs.AppLayoutDrawerTrigger; exports.ClientOnlyHeader = _chunk2YSC3APIcjs.ClientOnlyHeader; exports.Header = _chunk2YSC3APIcjs.Header; exports.HeaderButton = _chunk2YSC3APIcjs.HeaderButton; exports.HeaderGlobalSearch = _chunk2YSC3APIcjs.HeaderGlobalSearch; exports.HeaderMingoButton = _chunk2YSC3APIcjs.HeaderMingoButton; exports.HeaderOrganizationFilter = _chunk2YSC3APIcjs.HeaderOrganizationFilter; exports.HeaderSkeleton = _chunk2YSC3APIcjs.HeaderSkeleton; exports.MobileBurgerMenu = _chunk2YSC3APIcjs.MobileBurgerMenu; exports.MobileNavPanel = _chunk2YSC3APIcjs.MobileNavPanel; exports.MobileNavigationDropdown = _chunkD6RK5YXXcjs.MobileNavigationDropdown; exports.MultiLevelNavigation = _chunkD6RK5YXXcjs.MultiLevelNavigation; exports.NavigationSidebar = _chunk2YSC3APIcjs.NavigationSidebar; exports.SlidingSidebar = _chunk2YSC3APIcjs.SlidingSidebar; exports.StickySectionNav = _chunkD6RK5YXXcjs.StickySectionNav; exports.useAppLayoutDrawerContainer = _chunk2YSC3APIcjs.useAppLayoutDrawerContainer; exports.useSectionNavigation = _chunkD6RK5YXXcjs.useSectionNavigation;
84
84
  //# sourceMappingURL=index.cjs.map
@@ -24,7 +24,7 @@ import {
24
24
  NavigationSidebar,
25
25
  SlidingSidebar,
26
26
  useAppLayoutDrawerContainer
27
- } from "../../chunk-R4CLIWAU.js";
27
+ } from "../../chunk-Z2EOXZBW.js";
28
28
  import {
29
29
  MobileNavigationDropdown,
30
30
  MultiLevelNavigation,
@@ -2,9 +2,9 @@
2
2
 
3
3
 
4
4
 
5
- var _chunk2V6RCQ5Mcjs = require('../../chunk-2V6RCQ5M.cjs');
5
+ var _chunkBVNYQDZEcjs = require('../../chunk-BVNYQDZE.cjs');
6
6
  require('../../chunk-D3LEFMOA.cjs');
7
- require('../../chunk-VJ4ZWD5G.cjs');
7
+ require('../../chunk-2YSC3API.cjs');
8
8
  require('../../chunk-D6RK5YXX.cjs');
9
9
  require('../../chunk-KBKZYJRI.cjs');
10
10
  require('../../chunk-5KD3S25X.cjs');
@@ -30,5 +30,5 @@ require('../../chunk-VRHGVLSL.cjs');
30
30
 
31
31
 
32
32
 
33
- exports.GROUP_PAGE_SIZE = _chunk2V6RCQ5Mcjs.GROUP_PAGE_SIZE; exports.RelatedContentSection = _chunk2V6RCQ5Mcjs.RelatedContentSection;
33
+ exports.GROUP_PAGE_SIZE = _chunkBVNYQDZEcjs.GROUP_PAGE_SIZE; exports.RelatedContentSection = _chunkBVNYQDZEcjs.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-Z5QIVHJW.js";
5
+ } from "../../chunk-D4R2MUPA.js";
6
6
  import "../../chunk-3ZXUQQL4.js";
7
- import "../../chunk-R4CLIWAU.js";
7
+ import "../../chunk-Z2EOXZBW.js";
8
8
  import "../../chunk-ODR6A6FC.js";
9
9
  import "../../chunk-N6ZM5PYZ.js";
10
10
  import "../../chunk-TYZEMPPH.js";
@@ -7,11 +7,11 @@
7
7
 
8
8
 
9
9
 
10
- var _chunkUC5GB255cjs = require('../../chunk-UC5GB255.cjs');
10
+ var _chunkVMRPM24Gcjs = require('../../chunk-VMRPM24G.cjs');
11
11
  require('../../chunk-VFKQMAUF.cjs');
12
12
 
13
13
 
14
- var _chunkOYXZIPNMcjs = require('../../chunk-OYXZIPNM.cjs');
14
+ var _chunkZYBUFVQVcjs = require('../../chunk-ZYBUFVQV.cjs');
15
15
 
16
16
 
17
17
 
@@ -32,7 +32,7 @@ var _chunkOYXZIPNMcjs = require('../../chunk-OYXZIPNM.cjs');
32
32
 
33
33
 
34
34
 
35
- var _chunkVJ4ZWD5Gcjs = require('../../chunk-VJ4ZWD5G.cjs');
35
+ var _chunk2YSC3APIcjs = require('../../chunk-2YSC3API.cjs');
36
36
 
37
37
 
38
38
 
@@ -116,7 +116,7 @@ function TicketOpenForm({
116
116
  }) {
117
117
  const [subject, setSubject] = _react.useState.call(void 0, "");
118
118
  const [content, setContent] = _react.useState.call(void 0, "");
119
- const { attachments, readyAttachments, hasInflightUploads, addFiles, removeAttachment, clear } = _chunkVJ4ZWD5Gcjs.useChatAttachments.call(void 0, );
119
+ const { attachments, readyAttachments, hasInflightUploads, addFiles, removeAttachment, clear } = _chunk2YSC3APIcjs.useChatAttachments.call(void 0, );
120
120
  const trimmedSubject = subject.trim();
121
121
  const trimmedContent = content.trim();
122
122
  const overCap = content.length > TICKET_TEXT_MAX_CHARS;
@@ -175,7 +175,7 @@ function TicketOpenForm({
175
175
  }
176
176
  ),
177
177
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
178
- _chunkVJ4ZWD5Gcjs.Textarea,
178
+ _chunk2YSC3APIcjs.Textarea,
179
179
  {
180
180
  id: "ticket-content",
181
181
  placeholder: "Describe your issue or question in detail...",
@@ -199,7 +199,7 @@ function TicketOpenForm({
199
199
  )
200
200
  ] }),
201
201
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
202
- _chunkVJ4ZWD5Gcjs.ChatAttachmentChipStrip,
202
+ _chunk2YSC3APIcjs.ChatAttachmentChipStrip,
203
203
  {
204
204
  attachments,
205
205
  onRemove: removeAttachment,
@@ -208,7 +208,7 @@ function TicketOpenForm({
208
208
  ),
209
209
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between gap-3", children: [
210
210
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
211
- _chunkVJ4ZWD5Gcjs.ChatAttachmentAddButton,
211
+ _chunk2YSC3APIcjs.ChatAttachmentAddButton,
212
212
  {
213
213
  attachmentsEnabled: !supportSystemDown,
214
214
  attachmentsCount: attachments.length,
@@ -246,7 +246,7 @@ var _usesticktobottom = require('use-stick-to-bottom');
246
246
 
247
247
  var LIST_ENGAGEMENTS_ENDPOINT = "/api/chat/agent/list-engagements";
248
248
  function useTicketEngagements(externalTicketId, enabled = true, refetchInterval = false) {
249
- const identity = _chunkVJ4ZWD5Gcjs.useChatIdentity.call(void 0, );
249
+ const identity = _chunk2YSC3APIcjs.useChatIdentity.call(void 0, );
250
250
  const identityKey = _nullishCoalesce(_optionalChain([identity, 'access', _2 => _2.user, 'optionalAccess', _3 => _3.email]), () => ( "anon"));
251
251
  const listEngagementsEndpoint = _nullishCoalesce(_chunkAQOWFSMBcjs.useRequiredChatRuntime.call(void 0, ).endpoints.listEngagementsUrl, () => ( LIST_ENGAGEMENTS_ENDPOINT));
252
252
  const fetchable = enabled && !!externalTicketId && !externalTicketId.startsWith("temp-");
@@ -328,7 +328,7 @@ function TicketLinkedDeliveryCard({
328
328
  {
329
329
  className: `rounded-md border border-ods-border bg-ods-bg overflow-hidden ${_nullishCoalesce(className, () => ( ""))}`,
330
330
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
331
- _chunkUC5GB255cjs.DeliveryRow,
331
+ _chunkVMRPM24Gcjs.DeliveryRow,
332
332
  {
333
333
  item,
334
334
  href: clickup.delivery_href,
@@ -352,7 +352,7 @@ function TicketReplyComposer({
352
352
  }) {
353
353
  const [resolution, setResolution] = _react.useState.call(void 0, "");
354
354
  const [closeDialogOpen, setCloseDialogOpen] = _react.useState.call(void 0, false);
355
- const attachments = _chunkVJ4ZWD5Gcjs.useChatAttachments.call(void 0, );
355
+ const attachments = _chunk2YSC3APIcjs.useChatAttachments.call(void 0, );
356
356
  const ticketRef = { id: ticket.id, external_id: ticket.external_id };
357
357
  const hasReadyFiles = attachments.readyAttachments.length > 0;
358
358
  const handleSend = _react.useCallback.call(void 0,
@@ -380,7 +380,7 @@ function TicketReplyComposer({
380
380
  const disabled = busy || supportSystemDown;
381
381
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-2", children: [
382
382
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
383
- _chunkVJ4ZWD5Gcjs.ChatAttachmentChipStrip,
383
+ _chunk2YSC3APIcjs.ChatAttachmentChipStrip,
384
384
  {
385
385
  attachments: attachments.attachments,
386
386
  onRemove: attachments.removeAttachment,
@@ -389,7 +389,7 @@ function TicketReplyComposer({
389
389
  }
390
390
  ),
391
391
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
392
- _chunkVJ4ZWD5Gcjs.ChatInput,
392
+ _chunk2YSC3APIcjs.ChatInput,
393
393
  {
394
394
  fullWidth: true,
395
395
  autoFocus: true,
@@ -403,7 +403,7 @@ function TicketReplyComposer({
403
403
  ),
404
404
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2 w-full", children: [
405
405
  !supportSystemDown && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
406
- _chunkVJ4ZWD5Gcjs.ChatAttachmentAddButton,
406
+ _chunk2YSC3APIcjs.ChatAttachmentAddButton,
407
407
  {
408
408
  attachmentsEnabled: true,
409
409
  attachmentsCount: attachments.attachments.length,
@@ -426,13 +426,13 @@ function TicketReplyComposer({
426
426
  }
427
427
  )
428
428
  ] }),
429
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVJ4ZWD5Gcjs.AlertDialog, { open: closeDialogOpen, onOpenChange: setCloseDialogOpen, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVJ4ZWD5Gcjs.AlertDialogContent, { className: "bg-ods-card border-ods-border", children: [
430
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVJ4ZWD5Gcjs.AlertDialogHeader, { children: [
431
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVJ4ZWD5Gcjs.AlertDialogTitle, { className: "text-ods-text-primary", children: "Close this ticket?" }),
432
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVJ4ZWD5Gcjs.AlertDialogDescription, { className: "text-ods-text-secondary", children: "Add an optional resolution note below. You can reopen the ticket later if needed." })
429
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2YSC3APIcjs.AlertDialog, { open: closeDialogOpen, onOpenChange: setCloseDialogOpen, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2YSC3APIcjs.AlertDialogContent, { className: "bg-ods-card border-ods-border", children: [
430
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2YSC3APIcjs.AlertDialogHeader, { children: [
431
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2YSC3APIcjs.AlertDialogTitle, { className: "text-ods-text-primary", children: "Close this ticket?" }),
432
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2YSC3APIcjs.AlertDialogDescription, { className: "text-ods-text-secondary", children: "Add an optional resolution note below. You can reopen the ticket later if needed." })
433
433
  ] }),
434
434
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
435
- _chunkVJ4ZWD5Gcjs.Textarea,
435
+ _chunk2YSC3APIcjs.Textarea,
436
436
  {
437
437
  value: resolution,
438
438
  onChange: (e) => setResolution(e.target.value),
@@ -442,9 +442,9 @@ function TicketReplyComposer({
442
442
  className: "mt-2"
443
443
  }
444
444
  ),
445
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVJ4ZWD5Gcjs.AlertDialogFooter, { children: [
445
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2YSC3APIcjs.AlertDialogFooter, { children: [
446
446
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
447
- _chunkVJ4ZWD5Gcjs.AlertDialogCancel,
447
+ _chunk2YSC3APIcjs.AlertDialogCancel,
448
448
  {
449
449
  disabled: busy,
450
450
  className: "bg-transparent border-ods-border text-ods-text-primary hover:bg-ods-border",
@@ -452,7 +452,7 @@ function TicketReplyComposer({
452
452
  }
453
453
  ),
454
454
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
455
- _chunkVJ4ZWD5Gcjs.AlertDialogAction,
455
+ _chunk2YSC3APIcjs.AlertDialogAction,
456
456
  {
457
457
  onClick: () => void confirmClose(),
458
458
  disabled: busy,
@@ -522,7 +522,7 @@ var TICKET_FEED_HEIGHT = "h-[60vh] md:h-[420px]";
522
522
  var TICKET_FEED_INNER = "flex flex-col gap-4 md:gap-6 px-4 md:px-6 py-4 md:py-6";
523
523
  var TICKET_FEED_SKELETON_ROWS = 6;
524
524
  function TicketTimelinePanel({ ticket }) {
525
- const identity = _chunkVJ4ZWD5Gcjs.useChatIdentity.call(void 0, );
525
+ const identity = _chunk2YSC3APIcjs.useChatIdentity.call(void 0, );
526
526
  const externalId = isOptimistic(ticket) ? null : ticket.external_id;
527
527
  const { engagements, isLoading } = useTicketEngagements(
528
528
  externalId,
@@ -542,11 +542,11 @@ function TicketTimelinePanel({ ticket }) {
542
542
  const customerName = (isViewerTheCustomer ? viewerName : null) || ticketCustomerName || viewerName || _optionalChain([identity, 'access', _19 => _19.user, 'optionalAccess', _20 => _20.email]) || "You";
543
543
  const customerAvatar = isViewerTheCustomer ? _nullishCoalesce(_optionalChain([identity, 'access', _21 => _21.user, 'optionalAccess', _22 => _22.avatarUrl]), () => ( void 0)) : void 0;
544
544
  if (isLoading) {
545
- 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, _chunkVJ4ZWD5Gcjs.ChatMessageRowSkeleton, {}, i)) }) });
545
+ 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, _chunk2YSC3APIcjs.ChatMessageRowSkeleton, {}, i)) }) });
546
546
  }
547
547
  if (bodyTurns.length === 0 && engagements.length === 0) {
548
548
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
549
- _chunkUC5GB255cjs.EmptyState,
549
+ _chunkVMRPM24Gcjs.EmptyState,
550
550
  {
551
551
  type: "generic",
552
552
  title: "No conversation yet",
@@ -561,7 +561,7 @@ function TicketTimelinePanel({ ticket }) {
561
561
  const isResolution = turn.startsWith("[Resolution]");
562
562
  const text = isResolution ? turn.replace(/^\[Resolution\]\s*/, "") : turn;
563
563
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
564
- _chunkVJ4ZWD5Gcjs.ChatMessageRow,
564
+ _chunk2YSC3APIcjs.ChatMessageRow,
565
565
  {
566
566
  displayName: customerName,
567
567
  avatarUrl: customerAvatar,
@@ -590,13 +590,13 @@ function TicketTimelinePanel({ ticket }) {
590
590
  }
591
591
  const engAttachments = mapEngagementAttachments(eng.attachments);
592
592
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
593
- _chunkVJ4ZWD5Gcjs.ChatMessageRow,
593
+ _chunk2YSC3APIcjs.ChatMessageRow,
594
594
  {
595
595
  displayName: author,
596
596
  avatarUrl: avatarSrc,
597
597
  timeLabel: eng.createdAt ? _chunkD6RK5YXXcjs.formatRelativeTime.call(void 0, eng.createdAt) : null,
598
598
  body: stripAttachmentsPreamble(_nullishCoalesce(eng.body, () => ( ""))),
599
- footer: engAttachments.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVJ4ZWD5Gcjs.TicketAttachmentsList, { attachments: engAttachments, size: "compact" }) }) : null
599
+ footer: engAttachments.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2YSC3APIcjs.TicketAttachmentsList, { attachments: engAttachments, size: "compact" }) }) : null
600
600
  },
601
601
  eng.id
602
602
  );
@@ -756,7 +756,7 @@ function TicketRow({
756
756
  className: "border-b border-ods-border last:border-b-0",
757
757
  children: [
758
758
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
759
- _chunkVJ4ZWD5Gcjs.ChatTicketItem,
759
+ _chunk2YSC3APIcjs.ChatTicketItem,
760
760
  {
761
761
  ticket: tileData,
762
762
  onClick: optimistic ? void 0 : handleClick,
@@ -1326,13 +1326,13 @@ function resolveErrorCode(bodyCode, status) {
1326
1326
  // src/components/tickets/ticket-center.tsx
1327
1327
 
1328
1328
  function TicketCenter({ toast: toast2 = _chunkKBKZYJRIcjs.toast } = {}) {
1329
- const identity = _chunkVJ4ZWD5Gcjs.useChatIdentity.call(void 0, );
1329
+ const identity = _chunk2YSC3APIcjs.useChatIdentity.call(void 0, );
1330
1330
  if (identity.isLoading) {
1331
1331
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketCenterSkeleton, {});
1332
1332
  }
1333
1333
  if (identity.authTier === "anon" || !_optionalChain([identity, 'access', _58 => _58.user, 'optionalAccess', _59 => _59.email])) {
1334
1334
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1335
- _chunkUC5GB255cjs.EmptyState,
1335
+ _chunkVMRPM24Gcjs.EmptyState,
1336
1336
  {
1337
1337
  type: "generic",
1338
1338
  title: "Sign in to manage tickets",
@@ -1420,7 +1420,7 @@ function TicketCenterAuthed({
1420
1420
  ] })
1421
1421
  ] }),
1422
1422
  isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketListSkeleton, {}) : merged.length === 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEI4WALN2cjs.Card, { className: "p-6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1423
- _chunkUC5GB255cjs.EmptyState,
1423
+ _chunkVMRPM24Gcjs.EmptyState,
1424
1424
  {
1425
1425
  type: "generic",
1426
1426
  title: "No tickets yet",
@@ -1469,7 +1469,7 @@ function TicketListSkeleton() {
1469
1469
  // src/components/tickets/help-center-list.tsx
1470
1470
 
1471
1471
 
1472
- _chunkUC5GB255cjs.init_unified_pagination.call(void 0, );
1472
+ _chunkVMRPM24Gcjs.init_unified_pagination.call(void 0, );
1473
1473
 
1474
1474
  // src/components/tickets/help-center-card.tsx
1475
1475
 
@@ -1548,7 +1548,7 @@ function HelpCenterCard({
1548
1548
  "aria-controls": isExpanded ? `help-center-drawer-${ticket.id}` : void 0,
1549
1549
  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",
1550
1550
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1551
- _chunkUC5GB255cjs.DevCardRowContent,
1551
+ _chunkVMRPM24Gcjs.DevCardRowContent,
1552
1552
  {
1553
1553
  title,
1554
1554
  subtitle,
@@ -1623,7 +1623,7 @@ function HelpCenterCreateForm({
1623
1623
  const [subject, setSubject] = _react.useState.call(void 0, "");
1624
1624
  const [subjectError, setSubjectError] = _react.useState.call(void 0, null);
1625
1625
  const subjectField = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
1626
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVJ4ZWD5Gcjs.Label, { htmlFor: "help-center-subject", children: [
1626
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2YSC3APIcjs.Label, { htmlFor: "help-center-subject", children: [
1627
1627
  "Subject",
1628
1628
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: "*" })
1629
1629
  ] }),
@@ -1655,7 +1655,7 @@ function HelpCenterCreateForm({
1655
1655
  )
1656
1656
  ] });
1657
1657
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1658
- _chunkOYXZIPNMcjs.ContactForm,
1658
+ _chunkZYBUFVQVcjs.ContactForm,
1659
1659
  {
1660
1660
  title: "Open a new ticket",
1661
1661
  footerText: "The support team typically responds within one business day.",
@@ -1693,7 +1693,7 @@ function HelpCenterCreateForm({
1693
1693
  // src/components/tickets/help-center-list.tsx
1694
1694
 
1695
1695
  function HelpCenterList({ toast: toast2 = _chunkKBKZYJRIcjs.toast, backButton } = {}) {
1696
- const identity = _chunkVJ4ZWD5Gcjs.useChatIdentity.call(void 0, );
1696
+ const identity = _chunk2YSC3APIcjs.useChatIdentity.call(void 0, );
1697
1697
  const searchParams = _chunkG7UE6RKVcjs.useSearchParams.call(void 0, );
1698
1698
  const router = _chunkG7UE6RKVcjs.useRouter.call(void 0, );
1699
1699
  const pathname = _chunkG7UE6RKVcjs.usePathname.call(void 0, );
@@ -1703,11 +1703,11 @@ function HelpCenterList({ toast: toast2 = _chunkKBKZYJRIcjs.toast, backButton }
1703
1703
  const rawPage = Number(searchParams.get("page"));
1704
1704
  const page = Number.isFinite(rawPage) && rawPage > 0 ? Math.floor(rawPage) : 1;
1705
1705
  if (identity.isLoading) {
1706
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUC5GB255cjs.DevSectionPage, { sectionKey: "tickets", backButton, preControls: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HelpCenterCreateFormSkeleton, {}), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUC5GB255cjs.DevCardRowSkeletonList, {}) });
1706
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVMRPM24Gcjs.DevSectionPage, { sectionKey: "tickets", backButton, preControls: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HelpCenterCreateFormSkeleton, {}), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVMRPM24Gcjs.DevCardRowSkeletonList, {}) });
1707
1707
  }
1708
1708
  if (identity.authTier === "anon" || !_optionalChain([identity, 'access', _60 => _60.user, 'optionalAccess', _61 => _61.email])) {
1709
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUC5GB255cjs.DevSectionPage, { sectionKey: "tickets", backButton, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1710
- _chunkUC5GB255cjs.EmptyState,
1709
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVMRPM24Gcjs.DevSectionPage, { sectionKey: "tickets", backButton, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1710
+ _chunkVMRPM24Gcjs.EmptyState,
1711
1711
  {
1712
1712
  type: "generic",
1713
1713
  title: "Sign in to manage tickets",
@@ -1834,15 +1834,15 @@ function HelpCenterListAuthed({
1834
1834
  ] }),
1835
1835
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXXI7BNB6cjs.Button, { type: "button", variant: "accent", onClick: () => refetch(), children: "Retry" })
1836
1836
  ] }),
1837
- !error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUC5GB255cjs.DevCardRowSkeletonList, {}) : !hasResults && isFetching ? (
1837
+ !error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVMRPM24Gcjs.DevCardRowSkeletonList, {}) : !hasResults && isFetching ? (
1838
1838
  // Bridge state — background refetch in flight and the
1839
1839
  // optimistic placeholder was just removed by the mutation
1840
1840
  // callback. Without this branch "No tickets yet" would flash
1841
1841
  // for ~50ms between `removeOptimistic` and the server
1842
1842
  // response landing.
1843
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUC5GB255cjs.DevCardRowSkeletonList, { rows: 1 })
1843
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVMRPM24Gcjs.DevCardRowSkeletonList, { rows: 1 })
1844
1844
  ) : !hasResults ? hasActiveFilters ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1845
- _chunkUC5GB255cjs.EmptyState,
1845
+ _chunkVMRPM24Gcjs.EmptyState,
1846
1846
  {
1847
1847
  type: "search",
1848
1848
  title: "No tickets found",
@@ -1857,7 +1857,7 @@ function HelpCenterListAuthed({
1857
1857
  }
1858
1858
  }
1859
1859
  ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1860
- _chunkUC5GB255cjs.EmptyState,
1860
+ _chunkVMRPM24Gcjs.EmptyState,
1861
1861
  {
1862
1862
  type: "generic",
1863
1863
  title: "No tickets yet",
@@ -1891,9 +1891,9 @@ function HelpCenterListAuthed({
1891
1891
  ticket.id
1892
1892
  )) })
1893
1893
  ) }),
1894
- !error && totalPages > 1 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUC5GB255cjs.UnifiedPagination, { currentPage: page, totalPages })
1894
+ !error && totalPages > 1 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVMRPM24Gcjs.UnifiedPagination, { currentPage: page, totalPages })
1895
1895
  ] });
1896
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUC5GB255cjs.DevSectionPage, { sectionKey: "tickets", backButton, preControls: form, children: body });
1896
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVMRPM24Gcjs.DevSectionPage, { sectionKey: "tickets", backButton, preControls: form, children: body });
1897
1897
  }
1898
1898
 
1899
1899
 
@@ -7,11 +7,11 @@ import {
7
7
  EmptyState,
8
8
  UnifiedPagination,
9
9
  init_unified_pagination
10
- } from "../../chunk-4F3X2AOB.js";
10
+ } from "../../chunk-RSIFEDZX.js";
11
11
  import "../../chunk-4XLJWX2N.js";
12
12
  import {
13
13
  ContactForm
14
- } from "../../chunk-LVOBI2M5.js";
14
+ } from "../../chunk-CSL3ECOF.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-R4CLIWAU.js";
35
+ } from "../../chunk-Z2EOXZBW.js";
36
36
  import {
37
37
  formatRelativeTime,
38
38
  getStatusColorScheme,