@flamingo-stack/openframe-frontend-core 0.0.849 → 0.0.851

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 (140) hide show
  1. package/dist/build/export-map.json +1 -1
  2. package/dist/chat-protocol/events.d.ts +4 -1
  3. package/dist/chat-protocol/events.d.ts.map +1 -1
  4. package/dist/chat-protocol/index.cjs +90 -40
  5. package/dist/chat-protocol/nats-decoder.d.ts.map +1 -1
  6. package/dist/chat-protocol/nats-decoder.js +5 -1
  7. package/dist/chat-protocol/policy-review.d.ts +18 -0
  8. package/dist/chat-protocol/policy-review.d.ts.map +1 -0
  9. package/dist/chat-protocol/policy-review.js +55 -0
  10. package/dist/{chunk-C3P7IUTU.cjs → chunk-2NGW73T2.cjs} +5 -4
  11. package/dist/{chunk-SHQY4GOE.cjs → chunk-2WZHNMQY.cjs} +67 -67
  12. package/dist/{chunk-R5JPZ6TY.cjs → chunk-5SEJEBAB.cjs} +8 -8
  13. package/dist/{chunk-TX4NTH22.cjs → chunk-B6D4WWKD.cjs} +36 -36
  14. package/dist/{chunk-FXLROQUT.cjs → chunk-CDW6JTAQ.cjs} +442 -459
  15. package/dist/{chunk-5PIR77V5.cjs → chunk-DN227KZH.cjs} +4 -4
  16. package/dist/{chunk-MC3L525K.cjs → chunk-FGSN5UNY.cjs} +3 -3
  17. package/dist/{chunk-ZGEWT3SF.cjs → chunk-HXURNKXI.cjs} +3 -3
  18. package/dist/{chunk-FRG724DU.cjs → chunk-KRTTH3ET.cjs} +4 -4
  19. package/dist/{chunk-YJZ7R3W5.cjs → chunk-KXFIYO4O.cjs} +8 -8
  20. package/dist/{chunk-4YBS4HIO.cjs → chunk-LM7EL3UQ.cjs} +444 -27
  21. package/dist/{chunk-YYHQY3K6.cjs → chunk-NQEPLUUW.cjs} +21 -21
  22. package/dist/{chunk-KXBZCUDW.cjs → chunk-ODMZSAIY.cjs} +36 -36
  23. package/dist/{chunk-36XWCVSM.cjs → chunk-OUP7L3U5.cjs} +50 -50
  24. package/dist/{chunk-5CBI2ZYV.cjs → chunk-PJNEBSP5.cjs} +5 -5
  25. package/dist/{chunk-6AJYGXXS.cjs → chunk-PPCRLSVR.cjs} +11 -11
  26. package/dist/{chunk-SA2NNWIJ.cjs → chunk-QCSA7GIX.cjs} +17 -62
  27. package/dist/{chunk-PV2XQJ2R.cjs → chunk-SPKAXETT.cjs} +42 -42
  28. package/dist/{chunk-IKOL6NJY.cjs → chunk-U4RTWH5D.cjs} +53 -43
  29. package/dist/{chunk-IHY7E4EX.cjs → chunk-UFGPLXH6.cjs} +4 -4
  30. package/dist/{chunk-TEKN6TJ5.cjs → chunk-UQK6J3ZS.cjs} +13 -13
  31. package/dist/{chunk-S3QXLD4X.cjs → chunk-VCFQHPOO.cjs} +37 -3
  32. package/dist/{chunk-Z5UCDEKZ.cjs → chunk-VU6N3NZS.cjs} +6 -6
  33. package/dist/{chunk-ZY34R37A.cjs → chunk-VXIZCUNZ.cjs} +61 -61
  34. package/dist/{chunk-3W4ASAXN.cjs → chunk-WYROOMUZ.cjs} +2 -2
  35. package/dist/{chunk-YLETC7LP.cjs → chunk-ZEPEFKHA.cjs} +893 -973
  36. package/dist/{cloud-tenants-HKUUEUAY.cjs → cloud-tenants-XH6GV4EI.cjs} +12 -13
  37. package/dist/components/case-studies/index.cjs +24 -25
  38. package/dist/components/chat/approval-batch-message.d.ts +5 -0
  39. package/dist/components/chat/approval-batch-message.d.ts.map +1 -1
  40. package/dist/components/chat/approval-batch-message.js +36 -10
  41. package/dist/components/chat/index.cjs +8 -9
  42. package/dist/components/chat/policy-review.d.ts +27 -0
  43. package/dist/components/chat/policy-review.d.ts.map +1 -0
  44. package/dist/components/chat/policy-review.js +67 -0
  45. package/dist/components/chat/stream/message-mutations.d.ts.map +1 -1
  46. package/dist/components/chat/stream/message-mutations.js +4 -1
  47. package/dist/components/chat/tool-execution-display.d.ts.map +1 -1
  48. package/dist/components/chat/tool-execution-display.js +16 -5
  49. package/dist/components/chat/types/message.types.d.ts +40 -2
  50. package/dist/components/chat/types/message.types.d.ts.map +1 -1
  51. package/dist/components/chat/utils/extract-incomplete-message-state.d.ts.map +1 -1
  52. package/dist/components/chat/utils/extract-incomplete-message-state.js +2 -0
  53. package/dist/components/chat/utils/message-segment-accumulator.d.ts.map +1 -1
  54. package/dist/components/chat/utils/message-segment-accumulator.js +3 -0
  55. package/dist/components/chat/utils/process-historical-messages.d.ts +2 -2
  56. package/dist/components/chat/utils/process-historical-messages.d.ts.map +1 -1
  57. package/dist/components/chat/utils/process-historical-messages.js +7 -1
  58. package/dist/components/contact/index.cjs +13 -14
  59. package/dist/components/docs/index.cjs +16 -17
  60. package/dist/components/embeds/embed-viewer-frame.d.ts +2 -0
  61. package/dist/components/embeds/embed-viewer-frame.d.ts.map +1 -1
  62. package/dist/components/embeds/embed-viewer-frame.js +12 -2
  63. package/dist/components/embeds/index.cjs +13 -14
  64. package/dist/components/embeds/pdf-viewer.d.ts.map +1 -1
  65. package/dist/components/embeds/pdf-viewer.js +2 -1
  66. package/dist/components/faq/index.cjs +14 -15
  67. package/dist/components/features/approval-level.d.ts +6 -12
  68. package/dist/components/features/approval-level.d.ts.map +1 -1
  69. package/dist/components/features/approval-level.js +45 -55
  70. package/dist/components/features/index.cjs +17 -15
  71. package/dist/components/features/notifications/approval-request-notification-tile.d.ts.map +1 -1
  72. package/dist/components/features/notifications/approval-request-notification-tile.js +71 -48
  73. package/dist/components/features/notifications/types.d.ts +2 -0
  74. package/dist/components/features/notifications/types.d.ts.map +1 -1
  75. package/dist/components/features/notifications/types.js +3 -1
  76. package/dist/components/features/policy-configuration-panel.d.ts.map +1 -1
  77. package/dist/components/features/policy-configuration-panel.js +75 -64
  78. package/dist/components/features/software/index.d.ts +1 -1
  79. package/dist/components/features/software/index.d.ts.map +1 -1
  80. package/dist/components/features/software/index.js +2 -0
  81. package/dist/components/features/software/software-action-copy.d.ts.map +1 -1
  82. package/dist/components/features/software/software-action-copy.js +6 -12
  83. package/dist/components/features/software/software-action-form.d.ts +7 -1
  84. package/dist/components/features/software/software-action-form.d.ts.map +1 -1
  85. package/dist/components/features/software/software-action-form.js +11 -3
  86. package/dist/components/features/software/update-settings-fields.d.ts +12 -1
  87. package/dist/components/features/software/update-settings-fields.d.ts.map +1 -1
  88. package/dist/components/features/software/update-settings-fields.js +57 -29
  89. package/dist/components/help-center-pages/index.cjs +78 -79
  90. package/dist/components/index.cjs +58 -58
  91. package/dist/components/meeting-scheduler/index.cjs +61 -61
  92. package/dist/components/navigation/index.cjs +15 -16
  93. package/dist/components/onboarding-guides/index.cjs +14 -15
  94. package/dist/components/product-demo/index.cjs +23 -24
  95. package/dist/components/tickets/index.cjs +17 -18
  96. package/dist/components/ui/file-manager/index.cjs +8 -9
  97. package/dist/components/ui/index.cjs +16 -18
  98. package/dist/components/ui/page-actions.d.ts.map +1 -1
  99. package/dist/components/ui/page-actions.js +11 -1
  100. package/dist/components/ui/radio-group.d.ts.map +1 -1
  101. package/dist/components/ui/radio-group.js +8 -2
  102. package/dist/components/ui/tab-selector.d.ts +7 -1
  103. package/dist/components/ui/tab-selector.d.ts.map +1 -1
  104. package/dist/components/ui/tab-selector.js +22 -3
  105. package/dist/{devices-P7M4Z7VP.cjs → devices-7PT6MPJI.cjs} +13 -14
  106. package/dist/{embeddable-chat-322NDFP5.cjs → embeddable-chat-5NY76K7K.cjs} +84 -85
  107. package/dist/index.cjs +24 -24
  108. package/dist/{knowledge-TC7JLOWI.cjs → knowledge-J6N7IEVI.cjs} +13 -14
  109. package/dist/{logs-GPOYCP4B.cjs → logs-D6KQP2BX.cjs} +19 -20
  110. package/dist/{policies-ZUHOUMDD.cjs → policies-J7MCOL3C.cjs} +16 -17
  111. package/dist/{remote-session-NT4NG7EF.cjs → remote-session-PXHA5KFK.cjs} +8 -9
  112. package/dist/{scripts-FOEVDGTH.cjs → scripts-VURXIHVS.cjs} +19 -20
  113. package/dist/{software-update-XGTMNFST.cjs → software-update-6SHUBDIE.cjs} +16 -17
  114. package/dist/{tickets-board-7FLGQEHF.cjs → tickets-board-NLCN7WNX.cjs} +9 -9
  115. package/package.json +1 -1
  116. package/src/chat-protocol/events.ts +4 -1
  117. package/src/chat-protocol/nats-decoder.ts +4 -0
  118. package/src/chat-protocol/policy-review.ts +71 -0
  119. package/src/components/chat/approval-batch-message.tsx +47 -10
  120. package/src/components/chat/policy-review.tsx +90 -0
  121. package/src/components/chat/stream/message-mutations.ts +4 -0
  122. package/src/components/chat/tool-execution-display.tsx +23 -4
  123. package/src/components/chat/types/message.types.ts +42 -2
  124. package/src/components/chat/utils/extract-incomplete-message-state.ts +2 -0
  125. package/src/components/chat/utils/message-segment-accumulator.ts +3 -0
  126. package/src/components/chat/utils/process-historical-messages.ts +14 -3
  127. package/src/components/embeds/embed-viewer-frame.tsx +10 -2
  128. package/src/components/embeds/pdf-viewer.tsx +4 -1
  129. package/src/components/features/approval-level.tsx +74 -78
  130. package/src/components/features/notifications/approval-request-notification-tile.tsx +75 -50
  131. package/src/components/features/notifications/types.ts +4 -0
  132. package/src/components/features/policy-configuration-panel.tsx +100 -83
  133. package/src/components/features/software/index.ts +1 -0
  134. package/src/components/features/software/software-action-copy.ts +19 -12
  135. package/src/components/features/software/software-action-form.tsx +16 -3
  136. package/src/components/features/software/update-settings-fields.tsx +104 -32
  137. package/src/components/ui/page-actions.tsx +19 -2
  138. package/src/components/ui/radio-group.tsx +20 -2
  139. package/src/components/ui/tab-selector.tsx +26 -3
  140. package/dist/chunk-N3MBQRCQ.cjs +0 -41
@@ -18,18 +18,18 @@ var _chunkOT6P57ZScjs = require('./chunk-OT6P57ZS.cjs');
18
18
 
19
19
 
20
20
 
21
- var _chunkFXLROQUTcjs = require('./chunk-FXLROQUT.cjs');
21
+ var _chunkCDW6JTAQcjs = require('./chunk-CDW6JTAQ.cjs');
22
22
 
23
23
 
24
24
 
25
25
 
26
- var _chunk3W4ASAXNcjs = require('./chunk-3W4ASAXN.cjs');
26
+ var _chunkWYROOMUZcjs = require('./chunk-WYROOMUZ.cjs');
27
27
 
28
28
 
29
29
 
30
30
 
31
31
 
32
- var _chunk4YBS4HIOcjs = require('./chunk-4YBS4HIO.cjs');
32
+ var _chunkLM7EL3UQcjs = require('./chunk-LM7EL3UQ.cjs');
33
33
 
34
34
 
35
35
  var _chunk3XTNLCTCcjs = require('./chunk-3XTNLCTC.cjs');
@@ -170,10 +170,10 @@ var _chunkGG466XFQcjs = require('./chunk-GG466XFQ.cjs');
170
170
 
171
171
 
172
172
 
173
- var _chunkZGEWT3SFcjs = require('./chunk-ZGEWT3SF.cjs');
173
+ var _chunkHXURNKXIcjs = require('./chunk-HXURNKXI.cjs');
174
174
 
175
175
 
176
- var _chunkN3MBQRCQcjs = require('./chunk-N3MBQRCQ.cjs');
176
+ var _chunkVCFQHPOOcjs = require('./chunk-VCFQHPOO.cjs');
177
177
 
178
178
 
179
179
 
@@ -2270,7 +2270,7 @@ function extractSections(markdown, options = {}) {
2270
2270
  if (heading.level > opts.maxLevel) continue;
2271
2271
  let title = heading.text;
2272
2272
  if (opts.stripFormattingMarkers) {
2273
- title = _chunkFXLROQUTcjs.stripInlineMarkdown.call(void 0, title).trim();
2273
+ title = _chunkCDW6JTAQcjs.stripInlineMarkdown.call(void 0, title).trim();
2274
2274
  }
2275
2275
  const baseId = _chunkGRCOEICKcjs.slugifyHeadingBase.call(void 0, opts.removeEmojis ? _chunkGRCOEICKcjs.stripHeadingEmojis.call(void 0, title) : title);
2276
2276
  const cleanId = baseId || `section-${sections.length + 1}`;
@@ -2527,7 +2527,7 @@ function demoClockTimes(seed, options = {}) {
2527
2527
  function openAskAi(source, options) {
2528
2528
  const prompt = _optionalChain([options, 'optionalAccess', _96 => _96.prompt, 'optionalAccess', _97 => _97.trim, 'call', _98 => _98()]);
2529
2529
  const detail = prompt ? { source: _nullishCoalesce(source, () => ( "")), prompt } : { source: _nullishCoalesce(source, () => ( "")) };
2530
- window.dispatchEvent(new CustomEvent(_chunkFXLROQUTcjs.ASK_AI_OPEN_EVENT, { detail }));
2530
+ window.dispatchEvent(new CustomEvent(_chunkCDW6JTAQcjs.ASK_AI_OPEN_EVENT, { detail }));
2531
2531
  }
2532
2532
  function MingoAiButton({
2533
2533
  source,
@@ -2570,7 +2570,7 @@ function MingoAiButton({
2570
2570
  {
2571
2571
  ...props,
2572
2572
  type: "button",
2573
- ...{ [_chunkFXLROQUTcjs.ASK_AI_TRIGGER_ATTRIBUTE]: "" },
2573
+ ...{ [_chunkCDW6JTAQcjs.ASK_AI_TRIGGER_ATTRIBUTE]: "" },
2574
2574
  variant: field ? "glyph" : "transparent",
2575
2575
  size: "wrap",
2576
2576
  font: "regular",
@@ -2595,7 +2595,7 @@ function MingoAiButton({
2595
2595
  ),
2596
2596
  children: [
2597
2597
  !field && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
2598
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFXLROQUTcjs.MingoEdgeLight, { className: "rounded-md" }),
2598
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCDW6JTAQcjs.MingoEdgeLight, { className: "rounded-md" }),
2599
2599
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": "true", className: "pointer-events-none absolute inset-0 overflow-hidden rounded-md", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2600
2600
  "span",
2601
2601
  {
@@ -2616,7 +2616,7 @@ function MingoAiButton({
2616
2616
  children: icon
2617
2617
  }
2618
2618
  ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2619
- _chunk4YBS4HIOcjs.AgentMark,
2619
+ _chunkLM7EL3UQcjs.AgentMark,
2620
2620
  {
2621
2621
  agent: "mingo",
2622
2622
  className: _chunk63A4GZMBcjs.cn.call(void 0, "relative shrink-0 text-ods-text-primary", field ? "size-6" : "size-5")
@@ -2788,7 +2788,7 @@ function useAskSurface({
2788
2788
  // src/components/chat/ask-prompts.tsx
2789
2789
 
2790
2790
  function AssistantGlyph({ icon, className }) {
2791
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk63A4GZMBcjs.cn.call(void 0, "inline-flex shrink-0 items-center justify-center overflow-hidden rounded-full", className), children: _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4YBS4HIOcjs.AgentMark, { agent: "mingo", className: "size-full" }))) });
2791
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk63A4GZMBcjs.cn.call(void 0, "inline-flex shrink-0 items-center justify-center overflow-hidden rounded-full", className), children: _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLM7EL3UQcjs.AgentMark, { agent: "mingo", className: "size-full" }))) });
2792
2792
  }
2793
2793
  var slotCount = (count, loading, prompts) => _nullishCoalesce(count, () => ( (loading ? ASK_PROMPTS_DEFAULT_COUNT : prompts.length)));
2794
2794
  var SKELETON_LABEL_CH = [26, 22, 30, 24, 20, 28];
@@ -2811,9 +2811,9 @@ function QuestionChips({
2811
2811
  {
2812
2812
  "data-loading-item": true,
2813
2813
  className: _nullishCoalesce(slotClassName, () => ( CHIP_SLOT_CLASS)),
2814
- ...prompt ? { [_chunkFXLROQUTcjs.ASK_AI_TRIGGER_ATTRIBUTE]: "" } : {},
2814
+ ...prompt ? { [_chunkCDW6JTAQcjs.ASK_AI_TRIGGER_ATTRIBUTE]: "" } : {},
2815
2815
  children: (loading || prompt) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2816
- _chunkFXLROQUTcjs.QuickActionChipButton,
2816
+ _chunkCDW6JTAQcjs.QuickActionChipButton,
2817
2817
  {
2818
2818
  loading,
2819
2819
  variant: "question",
@@ -2851,7 +2851,7 @@ function AskPrompts({
2851
2851
  if (!loading && prompts.length === 0) return null;
2852
2852
  const end = align === "end";
2853
2853
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
2854
- _chunk3W4ASAXNcjs.ScrollShadow,
2854
+ _chunkWYROOMUZcjs.ScrollShadow,
2855
2855
  {
2856
2856
  axis: "horizontal",
2857
2857
  color: fadeColor,
@@ -3024,7 +3024,7 @@ function QuickActionMarquee({
3024
3024
  );
3025
3025
  if (items.length === 0) return null;
3026
3026
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3027
- _chunkFXLROQUTcjs.QuickActionWall,
3027
+ _chunkCDW6JTAQcjs.QuickActionWall,
3028
3028
  {
3029
3029
  chips,
3030
3030
  mode,
@@ -3057,13 +3057,13 @@ var ChatTicketItem = _react.forwardRef.call(void 0,
3057
3057
  ({ className, ticket, onClick, loading: loadingProp = false, ...props }, ref) => {
3058
3058
  const loading = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, ) || loadingProp;
3059
3059
  if (!loading && !ticket) return null;
3060
- const statusTagProps = ticket ? _chunk4YBS4HIOcjs.resolveStatusTagProps.call(void 0, {
3060
+ const statusTagProps = ticket ? _chunkLM7EL3UQcjs.resolveStatusTagProps.call(void 0, {
3061
3061
  status: ticket.status,
3062
3062
  statusKind: ticket.statusKind,
3063
3063
  statusName: ticket.statusLabel,
3064
3064
  statusColor: ticket.statusColor
3065
3065
  }) : null;
3066
- const isResolved = !!ticket && (ticket.statusKind === "RESOLVED" || _chunk4YBS4HIOcjs.resolveTicketStatus.call(void 0, ticket.status) === "RESOLVED");
3066
+ const isResolved = !!ticket && (ticket.statusKind === "RESOLVED" || _chunkLM7EL3UQcjs.resolveTicketStatus.call(void 0, ticket.status) === "RESOLVED");
3067
3067
  const composedSubtitle = ticket ? [ticket.ticketNumber, ticket.category, ticket.timeAgo].filter(Boolean).join(" \u2022 ") : "";
3068
3068
  const subtitle = _nullishCoalesce(_optionalChain([ticket, 'optionalAccess', _125 => _125.subtitle]), () => ( (_optionalChain([ticket, 'optionalAccess', _126 => _126.unread]) ? UNREAD_NOTICE : composedSubtitle)));
3069
3069
  const unread = !!_optionalChain([ticket, 'optionalAccess', _127 => _127.unread]);
@@ -3099,7 +3099,7 @@ var ChatTicketItem = _react.forwardRef.call(void 0,
3099
3099
  className: "hidden shrink-0 sm:inline-flex"
3100
3100
  }
3101
3101
  ),
3102
- loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4YBS4HIOcjs.TicketStatusTag, { status: "", loading: true, className: "w-20" }) : statusTagProps && (statusTagProps.status || statusTagProps.label) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4YBS4HIOcjs.TicketStatusTag, { ...statusTagProps }),
3102
+ loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLM7EL3UQcjs.TicketStatusTag, { status: "", loading: true, className: "w-20" }) : statusTagProps && (statusTagProps.status || statusTagProps.label) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLM7EL3UQcjs.TicketStatusTag, { ...statusTagProps }),
3103
3103
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3104
3104
  "div",
3105
3105
  {
@@ -3144,7 +3144,7 @@ var ChatTicketList = _react.forwardRef.call(void 0,
3144
3144
  ...props
3145
3145
  }, ref) => {
3146
3146
  const isLoading = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, ) || isLoadingProp;
3147
- const { scrollRef, fadeTop, fadeBottom, update: updateFade } = _chunk3W4ASAXNcjs.useScrollFade.call(void 0, );
3147
+ const { scrollRef, fadeTop, fadeBottom, update: updateFade } = _chunkWYROOMUZcjs.useScrollFade.call(void 0, );
3148
3148
  if (!isLoading && tickets.length === 0) return null;
3149
3149
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref, className: _chunk63A4GZMBcjs.cn.call(void 0, "flex min-h-0 flex-col gap-2", className), ...props, children: [
3150
3150
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "shrink-0 text-ods-text-secondary text-h5", children: "Your Chats:" }),
@@ -3158,8 +3158,8 @@ var ChatTicketList = _react.forwardRef.call(void 0,
3158
3158
  ),
3159
3159
  children: [
3160
3160
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: scrollRef, className: "h-full overflow-y-auto overscroll-contain", onScroll: updateFade, children: isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.LoadingItems, { count: skeletonCount, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatTicketItem, { loading: true, "data-loading-item": true }) }) : tickets.map((ticket) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatTicketItem, { ticket, onClick: onTicketClick, "data-loading-item": true }, ticket.id)) }),
3161
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3W4ASAXNcjs.ScrollFadeOverlay, { edge: "top", visible: !isLoading && fadeTop }),
3162
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3W4ASAXNcjs.ScrollFadeOverlay, { edge: "bottom", visible: !isLoading && fadeBottom })
3161
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWYROOMUZcjs.ScrollFadeOverlay, { edge: "top", visible: !isLoading && fadeTop }),
3162
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWYROOMUZcjs.ScrollFadeOverlay, { edge: "bottom", visible: !isLoading && fadeBottom })
3163
3163
  ]
3164
3164
  }
3165
3165
  )
@@ -3270,7 +3270,7 @@ function ComposerSheet({
3270
3270
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabFoot, { side: "left" }),
3271
3271
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabFoot, { side: "right" }),
3272
3272
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3273
- _chunkFXLROQUTcjs.PanelResizeHandle,
3273
+ _chunkCDW6JTAQcjs.PanelResizeHandle,
3274
3274
  {
3275
3275
  side: "bottom",
3276
3276
  size: _nullishCoalesce(resolved, () => ( floor)),
@@ -3373,7 +3373,7 @@ var ChatSidebar = _react.forwardRef.call(void 0,
3373
3373
  hasNextPage,
3374
3374
  isFetchingNextPage,
3375
3375
  onLoadMore,
3376
- pageSize = _chunkFXLROQUTcjs.CHAT_HISTORY_PAGE_SIZE,
3376
+ pageSize = _chunkCDW6JTAQcjs.CHAT_HISTORY_PAGE_SIZE,
3377
3377
  ...props
3378
3378
  }, ref) => {
3379
3379
  const loading = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, ) || !!isLoading && dialogs.length === 0 && !children;
@@ -3671,7 +3671,7 @@ function AdminContentCardGridSkeleton({
3671
3671
  label = "Loading",
3672
3672
  region = true
3673
3673
  }) {
3674
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFXLROQUTcjs.LoadingFallback, { label, status: region, className: _chunk63A4GZMBcjs.cn.call(void 0, ADMIN_CONTENT_CARD_GRID_CLASS, className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.LoadingItems, { count, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: GRID_CELL_CLASS, "data-loading-item": true, children: loadingCardOf(loadingCard, Skeleton) }) }) });
3674
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCDW6JTAQcjs.LoadingFallback, { label, status: region, className: _chunk63A4GZMBcjs.cn.call(void 0, ADMIN_CONTENT_CARD_GRID_CLASS, className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.LoadingItems, { count, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: GRID_CELL_CLASS, "data-loading-item": true, children: loadingCardOf(loadingCard, Skeleton) }) }) });
3675
3675
  }
3676
3676
  function AdminContentCardGrid({
3677
3677
  items,
@@ -5184,9 +5184,9 @@ function Field({ label, hint, required, children, error, labelExtras, labelEnd }
5184
5184
  };
5185
5185
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xxs)]", children: [
5186
5186
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1.5", children: [
5187
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkN3MBQRCQcjs.Label, { htmlFor: controlId, children: [
5187
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVCFQHPOOcjs.Label, { htmlFor: controlId, children: [
5188
5188
  label,
5189
- required && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZGEWT3SFcjs.RequiredMark, {})
5189
+ required && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHXURNKXIcjs.RequiredMark, {})
5190
5190
  ] }),
5191
5191
  hint && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoHint, { label, children: hint }),
5192
5192
  labelExtras,
@@ -5263,7 +5263,7 @@ function Section({ title, description, children }) {
5263
5263
  ] });
5264
5264
  }
5265
5265
  function ProxyCredentialsPanel({ description }) {
5266
- const hydrated = _chunkFXLROQUTcjs.useIsHydrated.call(void 0, );
5266
+ const hydrated = _chunkCDW6JTAQcjs.useIsHydrated.call(void 0, );
5267
5267
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
5268
5268
  ProxyCredentialsForm,
5269
5269
  {
@@ -5346,7 +5346,7 @@ function ProxyCredentialsForm({ description, saved }) {
5346
5346
  hint: "A SERVICE key may act as anyone; a personal key only as its owner.",
5347
5347
  labelEnd: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderName, { children: "Authorization" }),
5348
5348
  children: (props) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
5349
- _chunkZGEWT3SFcjs.Input,
5349
+ _chunkHXURNKXIcjs.Input,
5350
5350
  {
5351
5351
  ...props,
5352
5352
  type: "password",
@@ -5367,7 +5367,7 @@ function ProxyCredentialsForm({ description, saved }) {
5367
5367
  hint: "The end user the requests run as.",
5368
5368
  labelEnd: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderName, { children: "X-Chat-Act-As" }),
5369
5369
  children: (props) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
5370
- _chunkZGEWT3SFcjs.Input,
5370
+ _chunkHXURNKXIcjs.Input,
5371
5371
  {
5372
5372
  ...props,
5373
5373
  type: "email",
@@ -5393,7 +5393,7 @@ function ProxyCredentialsForm({ description, saved }) {
5393
5393
  error: _nullishCoalesce(errors[field], () => ( null)),
5394
5394
  labelEnd: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderName, { children: header }),
5395
5395
  children: (props) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
5396
- _chunkZGEWT3SFcjs.Input,
5396
+ _chunkHXURNKXIcjs.Input,
5397
5397
  {
5398
5398
  ...props,
5399
5399
  type: _nullishCoalesce(copy.type, () => ( "text")),
@@ -5427,12 +5427,12 @@ function ProxyCredentialsForm({ description, saved }) {
5427
5427
 
5428
5428
  // src/components/chat/index.ts
5429
5429
  var LoadedEmbeddableChat = _react.lazy.call(void 0,
5430
- () => Promise.resolve().then(() => _interopRequireWildcard(require("./embeddable-chat-322NDFP5.cjs"))).then((module) => ({ default: module.EmbeddableChat }))
5430
+ () => Promise.resolve().then(() => _interopRequireWildcard(require("./embeddable-chat-5NY76K7K.cjs"))).then((module) => ({ default: module.EmbeddableChat }))
5431
5431
  );
5432
5432
  var EmbeddableChat = _react.forwardRef.call(void 0, (props, ref) => {
5433
5433
  const [loadRequested, setLoadRequested] = _react.useState.call(void 0, false);
5434
5434
  const load = loadRequested || Boolean(props.open) || Boolean(props.defaultOpen);
5435
- _react.useEffect.call(void 0, () => _chunkFXLROQUTcjs.holdAskAiOpens.call(void 0, ), []);
5435
+ _react.useEffect.call(void 0, () => _chunkCDW6JTAQcjs.holdAskAiOpens.call(void 0, ), []);
5436
5436
  const { loadStyles } = props;
5437
5437
  _react.useEffect.call(void 0, () => {
5438
5438
  if (load) _optionalChain([loadStyles, 'optionalCall', _204 => _204()]);
@@ -5440,12 +5440,12 @@ var EmbeddableChat = _react.forwardRef.call(void 0, (props, ref) => {
5440
5440
  _react.useEffect.call(void 0, () => {
5441
5441
  if (load) return void 0;
5442
5442
  const start = () => setLoadRequested(true);
5443
- if (_chunkFXLROQUTcjs.askAiOpenIsHeld.call(void 0, )) queueMicrotask(start);
5444
- for (const name of _chunkFXLROQUTcjs.ASK_AI_OPEN_EVENTS) window.addEventListener(name, start);
5445
- const cancel = _chunkFXLROQUTcjs.onAskAiIntent.call(void 0, start);
5443
+ if (_chunkCDW6JTAQcjs.askAiOpenIsHeld.call(void 0, )) queueMicrotask(start);
5444
+ for (const name of _chunkCDW6JTAQcjs.ASK_AI_OPEN_EVENTS) window.addEventListener(name, start);
5445
+ const cancel = _chunkCDW6JTAQcjs.onAskAiIntent.call(void 0, start);
5446
5446
  return () => {
5447
5447
  cancel();
5448
- for (const name of _chunkFXLROQUTcjs.ASK_AI_OPEN_EVENTS) window.removeEventListener(name, start);
5448
+ for (const name of _chunkCDW6JTAQcjs.ASK_AI_OPEN_EVENTS) window.removeEventListener(name, start);
5449
5449
  };
5450
5450
  }, [load]);
5451
5451
  if (!load) return null;