@flamingo-stack/openframe-frontend-core 0.0.819 → 0.0.820

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 (49) hide show
  1. package/dist/{chunk-JOXJDNHN.cjs → chunk-2TEUAOUZ.cjs} +3 -3
  2. package/dist/{chunk-IVQT5R6M.cjs → chunk-42K7MLVS.cjs} +13 -13
  3. package/dist/{chunk-U3OICGCV.cjs → chunk-5GUQBNQF.cjs} +42 -42
  4. package/dist/{chunk-S2ZA4TMJ.cjs → chunk-7X7PHALX.cjs} +5 -5
  5. package/dist/{chunk-2W3W3ZV6.cjs → chunk-ADBZCDFX.cjs} +11 -11
  6. package/dist/{chunk-I453QCEF.cjs → chunk-BHJDQYUN.cjs} +79 -79
  7. package/dist/{chunk-MYIOOA4E.cjs → chunk-CJ7VHMPD.cjs} +2 -2
  8. package/dist/{chunk-2S6BUXYD.cjs → chunk-DLQCSJTY.cjs} +3 -3
  9. package/dist/{chunk-2T3HXLZD.cjs → chunk-IJ3C4WL5.cjs} +41 -41
  10. package/dist/{chunk-CEXPWDT4.cjs → chunk-JQ3JZLYS.cjs} +2 -2
  11. package/dist/{chunk-VSKR26MV.cjs → chunk-L55EVW33.cjs} +2 -2
  12. package/dist/{chunk-Q6QQSCUC.cjs → chunk-MOPDE3OA.cjs} +10 -10
  13. package/dist/{chunk-2JFR6XVT.cjs → chunk-NSN3O47K.cjs} +28 -28
  14. package/dist/{chunk-WPHCVXES.cjs → chunk-STFOH6QU.cjs} +3 -3
  15. package/dist/{chunk-A36XVWIQ.cjs → chunk-TVOAFYT7.cjs} +35 -35
  16. package/dist/{chunk-TDQRDQVU.cjs → chunk-TYDSD3FV.cjs} +4 -4
  17. package/dist/{chunk-7IQU54VE.cjs → chunk-YAY7Z42C.cjs} +1 -1
  18. package/dist/{cloud-tenants-P5XJ5DPJ.cjs → cloud-tenants-ENCHNOF2.cjs} +3 -3
  19. package/dist/components/case-studies/index.cjs +12 -12
  20. package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
  21. package/dist/components/chat/embeddable-chat.js +5 -6
  22. package/dist/components/chat/index.cjs +2 -2
  23. package/dist/components/chat/utils/cited-sources.d.ts +9 -0
  24. package/dist/components/chat/utils/cited-sources.d.ts.map +1 -1
  25. package/dist/components/chat/utils/cited-sources.js +5 -0
  26. package/dist/components/contact/index.cjs +4 -4
  27. package/dist/components/docs/index.cjs +7 -7
  28. package/dist/components/embeds/index.cjs +4 -4
  29. package/dist/components/faq/index.cjs +5 -5
  30. package/dist/components/features/index.cjs +3 -3
  31. package/dist/components/help-center-pages/index.cjs +58 -58
  32. package/dist/components/index.cjs +33 -33
  33. package/dist/components/meeting-scheduler/index.cjs +26 -26
  34. package/dist/components/navigation/index.cjs +6 -6
  35. package/dist/components/onboarding-guides/index.cjs +5 -5
  36. package/dist/components/product-demo/index.cjs +12 -12
  37. package/dist/components/tickets/index.cjs +8 -8
  38. package/dist/components/ui/index.cjs +3 -3
  39. package/dist/{devices-BSIWSRZG.cjs → devices-HRLHG4TR.cjs} +4 -4
  40. package/dist/{embeddable-chat-5L2PKTW3.cjs → embeddable-chat-ARMXVLUP.cjs} +8 -5
  41. package/dist/index.cjs +7 -7
  42. package/dist/{knowledge-2F3IPK73.cjs → knowledge-S2L5ZCAU.cjs} +3 -3
  43. package/dist/{logs-U3OCJ2OC.cjs → logs-UYQZSFS4.cjs} +11 -11
  44. package/dist/{policies-L3KHKE2G.cjs → policies-SMA4MW6L.cjs} +7 -7
  45. package/dist/{scripts-U4SLB5YC.cjs → scripts-TZNXTFRR.cjs} +8 -8
  46. package/dist/{software-update-QALYFCIO.cjs → software-update-YHDVBC7V.cjs} +6 -6
  47. package/package.json +1 -1
  48. package/src/components/chat/embeddable-chat.tsx +7 -8
  49. package/src/components/chat/utils/cited-sources.ts +10 -0
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
2
2
 
3
3
 
4
- var _chunkI453QCEFcjs = require('./chunk-I453QCEF.cjs');
4
+ var _chunkBHJDQYUNcjs = require('./chunk-BHJDQYUN.cjs');
5
5
 
6
6
 
7
7
  var _chunkCKR42OBKcjs = require('./chunk-CKR42OBK.cjs');
@@ -48,7 +48,7 @@ function GoogleSheetsViewer({ externalUrl, fileName, height }) {
48
48
  ] });
49
49
  }
50
50
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
51
- _chunkI453QCEFcjs.EmbedViewerFrame,
51
+ _chunkBHJDQYUNcjs.EmbedViewerFrame,
52
52
  {
53
53
  icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCKR42OBKcjs.GoogleSheetsIcon, { className: "h-5 w-5 shrink-0" }),
54
54
  title: displayName,
@@ -83,7 +83,7 @@ function PdfViewer({ src, fileName, onPreview, onDownload, height }) {
83
83
  ] });
84
84
  }
85
85
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
86
- _chunkI453QCEFcjs.EmbedViewerFrame,
86
+ _chunkBHJDQYUNcjs.EmbedViewerFrame,
87
87
  {
88
88
  icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkM7ZSKWT3cjs.AdobePdfIcon, { className: "h-5 w-5 shrink-0" }),
89
89
  title: displayName,
@@ -1,21 +1,21 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
2
2
 
3
3
 
4
- var _chunkS2ZA4TMJcjs = require('./chunk-S2ZA4TMJ.cjs');
4
+ var _chunk7X7PHALXcjs = require('./chunk-7X7PHALX.cjs');
5
5
 
6
6
 
7
7
 
8
8
 
9
9
 
10
10
 
11
- var _chunkQ6QQSCUCcjs = require('./chunk-Q6QQSCUC.cjs');
11
+ var _chunkMOPDE3OAcjs = require('./chunk-MOPDE3OA.cjs');
12
12
 
13
13
 
14
14
 
15
15
  var _chunkSBFBNOKUcjs = require('./chunk-SBFBNOKU.cjs');
16
16
 
17
17
 
18
- var _chunkCEXPWDT4cjs = require('./chunk-CEXPWDT4.cjs');
18
+ var _chunkJQ3JZLYScjs = require('./chunk-JQ3JZLYS.cjs');
19
19
 
20
20
 
21
21
 
@@ -28,7 +28,7 @@ var _chunkCEXPWDT4cjs = require('./chunk-CEXPWDT4.cjs');
28
28
 
29
29
 
30
30
 
31
- var _chunkI453QCEFcjs = require('./chunk-I453QCEF.cjs');
31
+ var _chunkBHJDQYUNcjs = require('./chunk-BHJDQYUN.cjs');
32
32
 
33
33
 
34
34
 
@@ -45,7 +45,7 @@ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
45
45
 
46
46
 
47
47
 
48
- var _chunk7IQU54VEcjs = require('./chunk-7IQU54VE.cjs');
48
+ var _chunkYAY7Z42Ccjs = require('./chunk-YAY7Z42C.cjs');
49
49
 
50
50
 
51
51
 
@@ -155,7 +155,7 @@ var TicketActionFailure = class extends Error {
155
155
  function useTicketActions(options) {
156
156
  const queryClient = _reactquery.useQueryClient.call(void 0, );
157
157
  const ticketActionEndpoint = _nullishCoalesce(_chunkUJ7AXHRZcjs.useRequiredChatRuntime.call(void 0, ).endpoints.ticketActionUrl, () => ( TICKET_ACTION_ENDPOINT));
158
- const ticketLive = _chunkCEXPWDT4cjs.useOptionalTicketLive.call(void 0, );
158
+ const ticketLive = _chunkJQ3JZLYScjs.useOptionalTicketLive.call(void 0, );
159
159
  const notifyTicketCreated = _optionalChain([ticketLive, 'optionalAccess', _ => _.notifyTicketCreated]);
160
160
  const { prependOptimistic, removeOptimistic, removeTicketFromCache, toast: toast2, onSupportSystemDown } = options;
161
161
  const formInFlightRef = _react.useRef.call(void 0, null);
@@ -668,7 +668,7 @@ function TicketOpenForm({ onSubmit, isSubmitting, supportSystemDown }) {
668
668
  clear();
669
669
  }
670
670
  };
671
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUEULXVW2cjs.Card, { className: "p-6", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "form", { onSubmit: handleSubmit, className: "flex flex-col gap-6 md:flex-row", ..._chunk7IQU54VEcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS, children: [
671
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUEULXVW2cjs.Card, { className: "p-6", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "form", { onSubmit: handleSubmit, className: "flex flex-col gap-6 md:flex-row", ..._chunkYAY7Z42Ccjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS, children: [
672
672
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1 md:max-w-md", children: [
673
673
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "mb-2 text-ods-text-primary text-h2", children: "Need Support?" }),
674
674
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: "Can't find what you're looking for? Submit a support ticket below \u2014 we'll follow up shortly." }),
@@ -693,7 +693,7 @@ function TicketOpenForm({ onSubmit, isSubmitting, supportSystemDown }) {
693
693
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
694
694
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN3MBQRCQcjs.Label, { htmlFor: "ticket-content", className: "mb-1", children: "Your Message" }),
695
695
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
696
- _chunkI453QCEFcjs.Textarea,
696
+ _chunkBHJDQYUNcjs.Textarea,
697
697
  {
698
698
  id: "ticket-content",
699
699
  placeholder: "Describe your issue or question in detail...",
@@ -823,7 +823,7 @@ function TicketLinkedDeliveryCard({ clickup, className }) {
823
823
  dateClosed: clickup.date_closed,
824
824
  clickupUrl: _nullishCoalesce(clickup.clickup_url, () => ( ""))
825
825
  };
826
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `${_chunkUEULXVW2cjs.CONTENT_CARD_SKELETON_FRAME_CLASS} ${_nullishCoalesce(className, () => ( ""))}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ6QQSCUCcjs.DeliveryRow, { item, href: clickup.delivery_href, caption: "Linked delivery" }) });
826
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `${_chunkUEULXVW2cjs.CONTENT_CARD_SKELETON_FRAME_CLASS} ${_nullishCoalesce(className, () => ( ""))}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMOPDE3OAcjs.DeliveryRow, { item, href: clickup.delivery_href, caption: "Linked delivery" }) });
827
827
  }
828
828
 
829
829
  // src/components/tickets/ticket-reply-composer.tsx
@@ -905,13 +905,13 @@ function TicketReplyComposer({
905
905
  }
906
906
  )
907
907
  ] }),
908
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkI453QCEFcjs.AlertDialog, { open: closeDialogOpen, onOpenChange: setCloseDialogOpen, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkI453QCEFcjs.AlertDialogContent, { className: "border-ods-border bg-ods-card", children: [
909
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkI453QCEFcjs.AlertDialogHeader, { children: [
910
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkI453QCEFcjs.AlertDialogTitle, { className: "text-ods-text-primary", children: "Close this ticket?" }),
911
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkI453QCEFcjs.AlertDialogDescription, { className: "text-ods-text-secondary", children: "Add an optional resolution note below. You can reopen the ticket later if needed." })
908
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBHJDQYUNcjs.AlertDialog, { open: closeDialogOpen, onOpenChange: setCloseDialogOpen, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkBHJDQYUNcjs.AlertDialogContent, { className: "border-ods-border bg-ods-card", children: [
909
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkBHJDQYUNcjs.AlertDialogHeader, { children: [
910
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBHJDQYUNcjs.AlertDialogTitle, { className: "text-ods-text-primary", children: "Close this ticket?" }),
911
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBHJDQYUNcjs.AlertDialogDescription, { className: "text-ods-text-secondary", children: "Add an optional resolution note below. You can reopen the ticket later if needed." })
912
912
  ] }),
913
913
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
914
- _chunkI453QCEFcjs.Textarea,
914
+ _chunkBHJDQYUNcjs.Textarea,
915
915
  {
916
916
  value: resolution,
917
917
  onChange: (e) => setResolution(e.target.value),
@@ -921,9 +921,9 @@ function TicketReplyComposer({
921
921
  className: "mt-2"
922
922
  }
923
923
  ),
924
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkI453QCEFcjs.AlertDialogFooter, { children: [
924
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkBHJDQYUNcjs.AlertDialogFooter, { children: [
925
925
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
926
- _chunkI453QCEFcjs.AlertDialogCancel,
926
+ _chunkBHJDQYUNcjs.AlertDialogCancel,
927
927
  {
928
928
  disabled: busy,
929
929
  className: "border-ods-border bg-transparent text-ods-text-primary hover:bg-ods-border",
@@ -931,7 +931,7 @@ function TicketReplyComposer({
931
931
  }
932
932
  ),
933
933
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
934
- _chunkI453QCEFcjs.AlertDialogAction,
934
+ _chunkBHJDQYUNcjs.AlertDialogAction,
935
935
  {
936
936
  onClick: () => void confirmClose(),
937
937
  disabled: busy,
@@ -997,7 +997,7 @@ function TicketTimelinePanel({ ticket }) {
997
997
  const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
998
998
  const externalId = isOptimistic(ticket) ? null : ticket.external_id;
999
999
  const { engagements, isLoading } = useTicketEngagements(externalId, !!externalId);
1000
- const live = _chunkCEXPWDT4cjs.useOptionalTicketLive.call(void 0, );
1000
+ const live = _chunkJQ3JZLYScjs.useOptionalTicketLive.call(void 0, );
1001
1001
  const setOpenTicketId = _optionalChain([live, 'optionalAccess', _25 => _25.setOpenTicketId]);
1002
1002
  const markRead = _optionalChain([live, 'optionalAccess', _26 => _26.markRead]);
1003
1003
  const markReadDebounceRef = _react.useRef.call(void 0, null);
@@ -1036,7 +1036,7 @@ function TicketTimelinePanel({ ticket }) {
1036
1036
  const customerName = (isViewerTheCustomer ? viewerName : null) || ticketCustomerName || viewerName || _optionalChain([identity, 'access', _40 => _40.user, 'optionalAccess', _41 => _41.email]) || "You";
1037
1037
  const customerAvatar = isViewerTheCustomer ? _nullishCoalesce(_optionalChain([identity, 'access', _42 => _42.user, 'optionalAccess', _43 => _43.avatarUrl]), () => ( void 0)) : void 0;
1038
1038
  if (isLoading) {
1039
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `${TICKET_FEED_FRAME} ${TICKET_FEED_HEIGHT}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2XCORRJVcjs.LoadingRegion, { label: "Loading messages", className: TICKET_FEED_INNER, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.LoadingItems, { count: TICKET_FEED_SKELETON_ROWS, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7IQU54VEcjs.ChatMessageRow, { loading: true, displayName: "", body: "", "data-loading-item": true }) }) }) });
1039
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `${TICKET_FEED_FRAME} ${TICKET_FEED_HEIGHT}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2XCORRJVcjs.LoadingRegion, { label: "Loading messages", className: TICKET_FEED_INNER, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.LoadingItems, { count: TICKET_FEED_SKELETON_ROWS, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYAY7Z42Ccjs.ChatMessageRow, { loading: true, displayName: "", body: "", "data-loading-item": true }) }) }) });
1040
1040
  }
1041
1041
  if (bodyTurns.length === 0 && engagements.length === 0) {
1042
1042
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -1055,7 +1055,7 @@ function TicketTimelinePanel({ ticket }) {
1055
1055
  const isResolution = turn.startsWith("[Resolution]");
1056
1056
  const text = isResolution ? turn.replace(/^\[Resolution\]\s*/, "") : turn;
1057
1057
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1058
- _chunk7IQU54VEcjs.ChatMessageRow,
1058
+ _chunkYAY7Z42Ccjs.ChatMessageRow,
1059
1059
  {
1060
1060
  "data-loading-item": true,
1061
1061
  displayName: customerName,
@@ -1085,14 +1085,14 @@ function TicketTimelinePanel({ ticket }) {
1085
1085
  }
1086
1086
  const engAttachments = mapEngagementAttachments(eng.attachments, runtime);
1087
1087
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1088
- _chunk7IQU54VEcjs.ChatMessageRow,
1088
+ _chunkYAY7Z42Ccjs.ChatMessageRow,
1089
1089
  {
1090
1090
  "data-loading-item": true,
1091
1091
  displayName: author,
1092
1092
  avatarUrl: avatarSrc,
1093
1093
  timeLabel: eng.createdAt ? _chunkOBQ5WUNGcjs.formatRelativeTime.call(void 0, eng.createdAt) : null,
1094
1094
  body: stripAttachmentsPreamble(_nullishCoalesce(eng.body, () => ( ""))),
1095
- footer: engAttachments.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkI453QCEFcjs.TicketAttachmentsList, { attachments: engAttachments, size: "compact" }) }) : null
1095
+ footer: engAttachments.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBHJDQYUNcjs.TicketAttachmentsList, { attachments: engAttachments, size: "compact" }) }) : null
1096
1096
  },
1097
1097
  eng.id
1098
1098
  );
@@ -1197,7 +1197,7 @@ var TICKET_ROW_FRAME_CLASS = "border-b border-ods-border last:border-b-0";
1197
1197
  var TICKET_ROW_OUTER_CLASS = "scroll-mt-24";
1198
1198
  function TicketRow(props) {
1199
1199
  if (_chunk63A4GZMBcjs.useLoadingScope.call(void 0, ) || props.loading) {
1200
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { id: props.id, className: TICKET_ROW_OUTER_CLASS, ..._chunk63A4GZMBcjs.loadingItemProps.call(void 0, props), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: TICKET_ROW_FRAME_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7IQU54VEcjs.ChatTicketItem, { loading: true }) }) });
1200
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { id: props.id, className: TICKET_ROW_OUTER_CLASS, ..._chunk63A4GZMBcjs.loadingItemProps.call(void 0, props), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: TICKET_ROW_FRAME_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYAY7Z42Ccjs.ChatTicketItem, { loading: true }) }) });
1201
1201
  }
1202
1202
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketRowLoaded, { ...props });
1203
1203
  }
@@ -1252,7 +1252,7 @@ function TicketRowLoaded({
1252
1252
  };
1253
1253
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: rowRef, id, className: TICKET_ROW_OUTER_CLASS, ..._chunk63A4GZMBcjs.loadingItemProps.call(void 0, markers), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Collapsible, { open: expanded && !optimistic, className: TICKET_ROW_FRAME_CLASS, children: [
1254
1254
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1255
- _chunk7IQU54VEcjs.ChatTicketItem,
1255
+ _chunkYAY7Z42Ccjs.ChatTicketItem,
1256
1256
  {
1257
1257
  ticket: tileData,
1258
1258
  onClick: optimistic ? void 0 : handleClick,
@@ -1346,7 +1346,7 @@ function TicketCenterAuthed({
1346
1346
  const toggleRow = _react.useCallback.call(void 0, (id) => {
1347
1347
  setExpandedTicketId((prev) => prev === id ? null : id);
1348
1348
  }, []);
1349
- const syncInPage = _chunkQ6QQSCUCcjs.usePageDataSync.call(void 0, sync, isLoading);
1349
+ const syncInPage = _chunkMOPDE3OAcjs.usePageDataSync.call(void 0, sync, isLoading);
1350
1350
  const merged = [...optimisticTickets, ...tickets];
1351
1351
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1352
1352
  TicketCenterView,
@@ -1363,7 +1363,7 @@ function TicketCenterAuthed({
1363
1363
  TicketRow,
1364
1364
  {
1365
1365
  "data-loading-item": true,
1366
- id: _chunk7IQU54VEcjs.devSectionAnchorId.call(void 0, "ticket", ticket.external_id),
1366
+ id: _chunkYAY7Z42Ccjs.devSectionAnchorId.call(void 0, "ticket", ticket.external_id),
1367
1367
  ticket,
1368
1368
  expanded: expandedTicketId === ticket.id,
1369
1369
  onToggle: toggleRow,
@@ -1382,7 +1382,7 @@ function TicketCenterAuthed({
1382
1382
  function TicketCenterPending({
1383
1383
  region = true
1384
1384
  } = {}) {
1385
- const syncInPage = _chunkQ6QQSCUCcjs.usePageDataSync.call(void 0, null, true);
1385
+ const syncInPage = _chunkMOPDE3OAcjs.usePageDataSync.call(void 0, null, true);
1386
1386
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOTGYA5F7cjs.LoadingFallback, { label: "Loading tickets", status: region, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1387
1387
  TicketCenterView,
1388
1388
  {
@@ -1445,7 +1445,7 @@ function TicketListHeader({
1445
1445
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between gap-3", children: [
1446
1446
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h5", children: "Your Current Tickets" }),
1447
1447
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3 text-ods-text-secondary text-h6", children: [
1448
- sync !== void 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkI453QCEFcjs.DataSyncLine, { sync, loading: syncLoading, inline: true }),
1448
+ sync !== void 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBHJDQYUNcjs.DataSyncLine, { sync, loading: syncLoading, inline: true }),
1449
1449
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { inert: !onRefresh || void 0, "aria-hidden": !onRefresh || void 0, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1450
1450
  _chunkFCZAUK4Dcjs.Button,
1451
1451
  {
@@ -1480,7 +1480,7 @@ function HelpCenterCard(props) {
1480
1480
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HelpCenterCardLoaded, { ...props });
1481
1481
  }
1482
1482
  function HelpCenterCardSkeleton({ id, ...props }) {
1483
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { id, className: HELP_CENTER_ROW_CLASS, "aria-hidden": true, ..._chunk63A4GZMBcjs.loadingItemProps.call(void 0, props), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: HELP_CENTER_SUMMARY_PAD_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ6QQSCUCcjs.DevCardRowContent, { loading: true, title: "", subtitle: "", description: "", rightBadges: null }) }) });
1483
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { id, className: HELP_CENTER_ROW_CLASS, "aria-hidden": true, ..._chunk63A4GZMBcjs.loadingItemProps.call(void 0, props), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: HELP_CENTER_SUMMARY_PAD_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMOPDE3OAcjs.DevCardRowContent, { loading: true, title: "", subtitle: "", description: "", rightBadges: null }) }) });
1484
1484
  }
1485
1485
  function HelpCenterCardLoaded({
1486
1486
  ticket,
@@ -1519,7 +1519,7 @@ function HelpCenterCardLoaded({
1519
1519
  });
1520
1520
  return () => cancelAnimationFrame(raf);
1521
1521
  }, [isExpanded]);
1522
- const live = _chunkCEXPWDT4cjs.useOptionalTicketLive.call(void 0, );
1522
+ const live = _chunkJQ3JZLYScjs.useOptionalTicketLive.call(void 0, );
1523
1523
  const unreadCount = !optimistic && ticket.external_id && _optionalChain([live, 'optionalAccess', _64 => _64.unreadByTicket, 'access', _65 => _65[ticket.external_id]]) || 0;
1524
1524
  const rightBadges = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
1525
1525
  unreadCount > 0 && // Only rows with unread replies carry it; the row's loading form draws the status badge alone.
@@ -1574,7 +1574,7 @@ function HelpCenterCardLoaded({
1574
1574
  "aria-expanded": isExpandable ? isExpanded : void 0,
1575
1575
  "aria-controls": isExpanded ? `help-center-drawer-${ticket.id}` : void 0,
1576
1576
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk63A4GZMBcjs.cn.call(void 0, "block", HELP_CENTER_SUMMARY_PAD_CLASS), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1577
- _chunkQ6QQSCUCcjs.DevCardRowContent,
1577
+ _chunkMOPDE3OAcjs.DevCardRowContent,
1578
1578
  {
1579
1579
  title,
1580
1580
  subtitle,
@@ -1655,7 +1655,7 @@ function HelpCenterCreateFormBody({
1655
1655
  subjectError && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { id: "help-center-subject-error", className: "mt-1 text-ods-error text-h6", children: subjectError })
1656
1656
  ] });
1657
1657
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1658
- _chunkS2ZA4TMJcjs.ContactForm,
1658
+ _chunk7X7PHALXcjs.ContactForm,
1659
1659
  {
1660
1660
  rescue: null,
1661
1661
  title: "Open a new ticket",
@@ -1699,13 +1699,13 @@ function HelpCenterList({ toast: toast2 = _chunkT266OITJcjs.toast, backButton, t
1699
1699
  const searchParams = _chunk7DNL734Scjs.useSearchParams.call(void 0, );
1700
1700
  const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
1701
1701
  const pathname = _chunk7DNL734Scjs.usePathname.call(void 0, );
1702
- const search = searchParams.get(_chunk7IQU54VEcjs.DEV_SECTION_PARAM_KEYS.search) || "";
1702
+ const search = searchParams.get(_chunkYAY7Z42Ccjs.DEV_SECTION_PARAM_KEYS.search) || "";
1703
1703
  const status = searchParams.get("status") || "all";
1704
- const ticketParam = searchParams.get(_chunk7IQU54VEcjs.TICKET_OPEN_PARAM) || "";
1704
+ const ticketParam = searchParams.get(_chunkYAY7Z42Ccjs.TICKET_OPEN_PARAM) || "";
1705
1705
  const page = _chunkBLH2SFOOcjs.positiveInt.call(void 0, searchParams.get("page"), 1);
1706
1706
  if (identity.isLoading) {
1707
1707
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1708
- _chunkQ6QQSCUCcjs.DevSectionPage,
1708
+ _chunkMOPDE3OAcjs.DevSectionPage,
1709
1709
  {
1710
1710
  sectionKey: "tickets",
1711
1711
  backButton,
@@ -1717,7 +1717,7 @@ function HelpCenterList({ toast: toast2 = _chunkT266OITJcjs.toast, backButton, t
1717
1717
  );
1718
1718
  }
1719
1719
  if (identity.authTier === "anon" || !_optionalChain([identity, 'access', _66 => _66.user, 'optionalAccess', _67 => _67.email])) {
1720
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ6QQSCUCcjs.DevSectionPage, { sectionKey: "tickets", backButton, title, shell, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1720
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMOPDE3OAcjs.DevSectionPage, { sectionKey: "tickets", backButton, title, shell, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1721
1721
  _chunkSBFBNOKUcjs.EmptyState,
1722
1722
  {
1723
1723
  type: "generic",
@@ -1769,8 +1769,8 @@ function HelpCenterListAuthed({
1769
1769
  const setOpenTicket = _react.useCallback.call(void 0,
1770
1770
  (externalId) => {
1771
1771
  const params = new URLSearchParams(searchParams.toString());
1772
- if (externalId) params.set(_chunk7IQU54VEcjs.TICKET_OPEN_PARAM, externalId);
1773
- else params.delete(_chunk7IQU54VEcjs.TICKET_OPEN_PARAM);
1772
+ if (externalId) params.set(_chunkYAY7Z42Ccjs.TICKET_OPEN_PARAM, externalId);
1773
+ else params.delete(_chunkYAY7Z42Ccjs.TICKET_OPEN_PARAM);
1774
1774
  const qs = params.toString();
1775
1775
  router.replace(qs ? `${pathname}?${qs}` : pathname, { scroll: false });
1776
1776
  },
@@ -1848,7 +1848,7 @@ function HelpCenterListAuthed({
1848
1848
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFCZAUK4Dcjs.Button, { type: "button", variant: "accent", onClick: () => refetch(), children: "Retry" })
1849
1849
  ] }),
1850
1850
  !error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: isLoading || !hasResults && isFetching ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HelpCenterRowsFrame, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.LoadingItems, { count: pageSize, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HelpCenterCard, { ticket: null, "data-loading-item": true }) }) }) : !hasResults ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1851
- _chunkQ6QQSCUCcjs.ListEmptyState,
1851
+ _chunkMOPDE3OAcjs.ListEmptyState,
1852
1852
  {
1853
1853
  isFiltered: hasActiveFilters,
1854
1854
  filtered: {
@@ -1871,7 +1871,7 @@ function HelpCenterListAuthed({
1871
1871
  HelpCenterCard,
1872
1872
  {
1873
1873
  "data-loading-item": true,
1874
- id: _chunk7IQU54VEcjs.devSectionAnchorId.call(void 0, "ticket", ticket.external_id),
1874
+ id: _chunkYAY7Z42Ccjs.devSectionAnchorId.call(void 0, "ticket", ticket.external_id),
1875
1875
  ticket,
1876
1876
  expanded: expandedTicketId === ticket.id,
1877
1877
  onToggle: toggleRow,
@@ -1888,7 +1888,7 @@ function HelpCenterListAuthed({
1888
1888
  )) }) }),
1889
1889
  !error && totalPages > 1 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSBFBNOKUcjs.UnifiedPagination, { currentPage: page, totalPages })
1890
1890
  ] });
1891
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ6QQSCUCcjs.DevSectionPage, { sectionKey: "tickets", backButton, title, shell, preControls: form, children: body });
1891
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMOPDE3OAcjs.DevSectionPage, { sectionKey: "tickets", backButton, title, shell, preControls: form, children: body });
1892
1892
  }
1893
1893
  function HelpCenterRowsFrame({ children }) {
1894
1894
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full overflow-clip rounded-[6px] border border-ods-border bg-ods-card", children });
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
2
2
 
3
3
 
4
- var _chunk7IQU54VEcjs = require('./chunk-7IQU54VE.cjs');
4
+ var _chunkYAY7Z42Ccjs = require('./chunk-YAY7Z42C.cjs');
5
5
 
6
6
 
7
7
  var _chunkOTGYA5F7cjs = require('./chunk-OTGYA5F7.cjs');
@@ -160,7 +160,7 @@ function TicketLiveProvider({ children, enabled = true }) {
160
160
  _react2.default.useEffect(() => {
161
161
  if (!streamEnabled) return void 0;
162
162
  if (typeof window === "undefined") return void 0;
163
- subscriptionRef.current = _chunk7IQU54VEcjs.createSseSubscription.call(void 0, {
163
+ subscriptionRef.current = _chunkYAY7Z42Ccjs.createSseSubscription.call(void 0, {
164
164
  url: streamUrl,
165
165
  onEvent: (name, data) => handlersRef.current.onEvent(name, data),
166
166
  onStatusChange: (status) => handlersRef.current.onStatus(status),
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
2
2
 
3
3
 
4
- var _chunkI453QCEFcjs = require('./chunk-I453QCEF.cjs');
4
+ var _chunkBHJDQYUNcjs = require('./chunk-BHJDQYUN.cjs');
5
5
 
6
6
 
7
7
 
@@ -67,7 +67,7 @@ function DocSearchBar({
67
67
  renderResult
68
68
  }) {
69
69
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
70
- _chunkI453QCEFcjs.SearchInput,
70
+ _chunkBHJDQYUNcjs.SearchInput,
71
71
  {
72
72
  placeholder,
73
73
  value: query,
@@ -5,7 +5,7 @@ var _chunkSBFBNOKUcjs = require('./chunk-SBFBNOKU.cjs');
5
5
 
6
6
 
7
7
 
8
- var _chunkWPHCVXEScjs = require('./chunk-WPHCVXES.cjs');
8
+ var _chunkSTFOH6QUcjs = require('./chunk-STFOH6QU.cjs');
9
9
 
10
10
 
11
11
 
@@ -15,7 +15,7 @@ var _chunkHEVW75L3cjs = require('./chunk-HEVW75L3.cjs');
15
15
 
16
16
 
17
17
 
18
- var _chunkI453QCEFcjs = require('./chunk-I453QCEF.cjs');
18
+ var _chunkBHJDQYUNcjs = require('./chunk-BHJDQYUN.cjs');
19
19
 
20
20
 
21
21
  var _chunkIJCSQFLDcjs = require('./chunk-IJCSQFLD.cjs');
@@ -26,7 +26,7 @@ var _chunkIJCSQFLDcjs = require('./chunk-IJCSQFLD.cjs');
26
26
  var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
27
27
 
28
28
 
29
- var _chunk7IQU54VEcjs = require('./chunk-7IQU54VE.cjs');
29
+ var _chunkYAY7Z42Ccjs = require('./chunk-YAY7Z42C.cjs');
30
30
 
31
31
 
32
32
 
@@ -105,7 +105,7 @@ function PageDataSyncProvider({
105
105
  function PageDataSyncRow({ inline = false }) {
106
106
  const context = _react.useContext.call(void 0, PageDataSyncContext);
107
107
  if (!context) return null;
108
- const line = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkI453QCEFcjs.DataSyncLine, { sync: context.state.sync, loading: context.state.loading, stated: context.stated, inline });
108
+ const line = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBHJDQYUNcjs.DataSyncLine, { sync: context.state.sync, loading: context.state.loading, stated: context.stated, inline });
109
109
  return context.stated ? line : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "contents", "data-loading-optional": "", children: line });
110
110
  }
111
111
  function usePageDataSync(sync, loading) {
@@ -124,7 +124,7 @@ function usePageDataSync(sync, loading) {
124
124
  // src/components/shared/dev-section/dev-section-view.tsx
125
125
 
126
126
  function DevSectionView({ sectionKey, preControls, children, showHeading = true }) {
127
- const section = _chunk7IQU54VEcjs.OPENFRAME_DEV_SECTIONS[sectionKey];
127
+ const section = _chunkYAY7Z42Ccjs.OPENFRAME_DEV_SECTIONS[sectionKey];
128
128
  const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
129
129
  const pathname = _chunk7DNL734Scjs.usePathname.call(void 0, );
130
130
  const searchParams = _chunk7DNL734Scjs.useSearchParams.call(void 0, );
@@ -166,7 +166,7 @@ function DevSectionView({ sectionKey, preControls, children, showHeading = true
166
166
  preControls,
167
167
  (search || filter) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
168
168
  search && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
169
- _chunkI453QCEFcjs.SearchInput,
169
+ _chunkBHJDQYUNcjs.SearchInput,
170
170
  {
171
171
  showDropdown: false,
172
172
  placeholder: search.placeholder,
@@ -176,7 +176,7 @@ function DevSectionView({ sectionKey, preControls, children, showHeading = true
176
176
  }
177
177
  ),
178
178
  filter && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
179
- _chunkI453QCEFcjs.StatusFilterComponent,
179
+ _chunkBHJDQYUNcjs.StatusFilterComponent,
180
180
  {
181
181
  selectedStatus: currentFilterValue,
182
182
  onStatusChange: handleFilterChange,
@@ -201,7 +201,7 @@ function DevSectionPage({
201
201
  shell = true
202
202
  }) {
203
203
  const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
204
- const section = _chunk7IQU54VEcjs.OPENFRAME_DEV_SECTIONS[sectionKey];
204
+ const section = _chunkYAY7Z42Ccjs.OPENFRAME_DEV_SECTIONS[sectionKey];
205
205
  const backCfg = backButton === false ? void 0 : {
206
206
  label: _nullishCoalesce((backButton ? backButton.label : void 0), () => ( "Back to home")),
207
207
  onClick: () => router.push(_nullishCoalesce((backButton ? backButton.href : void 0), () => ( "/")))
@@ -223,12 +223,12 @@ function DevSectionPage({
223
223
  backButton: backCfg,
224
224
  children: [
225
225
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DevSectionView, { sectionKey, showHeading: false, preControls, children }),
226
- faq && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPHCVXEScjs.FaqSection, { ..._chunkWPHCVXEScjs.pageFaqProps.call(void 0, faq) })
226
+ faq && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSTFOH6QUcjs.FaqSection, { ..._chunkSTFOH6QUcjs.pageFaqProps.call(void 0, faq) })
227
227
  ]
228
228
  }
229
229
  )
230
230
  );
231
- return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkI453QCEFcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
231
+ return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBHJDQYUNcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
232
232
  }
233
233
 
234
234
  // src/components/shared/dev-section/dev-card-row.tsx