@flamingo-stack/openframe-frontend-core 0.0.704-snapshot.20261006152423 → 0.0.704

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 (90) hide show
  1. package/dist/{chunk-JEZKGCZI.cjs → chunk-262YQFOS.cjs} +24 -24
  2. package/dist/{chunk-G5A3PSPV.js → chunk-2G546OND.js} +7 -19
  3. package/dist/{chunk-7VVFKJY5.js → chunk-2JDVL7UV.js} +18 -70
  4. package/dist/{chunk-6NJKKO73.cjs → chunk-4DQMTBMK.cjs} +11 -11
  5. package/dist/{chunk-FCGC42TS.js → chunk-4KGXLVCF.js} +3 -3
  6. package/dist/{chunk-F6I6XZMN.js → chunk-5QJDM6UV.js} +3 -3
  7. package/dist/{chunk-YHM5AWTT.js → chunk-6WQIUQUC.js} +5 -5
  8. package/dist/{chunk-A75QY6CD.cjs → chunk-7JIL3WOH.cjs} +14 -14
  9. package/dist/{chunk-QFXRPRFT.js → chunk-7LFIKJX2.js} +2 -2
  10. package/dist/{chunk-4KX6OED2.cjs → chunk-AMYY3PNL.cjs} +42 -42
  11. package/dist/{chunk-TYWLNCNH.cjs → chunk-C3BWIU7R.cjs} +5 -1
  12. package/dist/{chunk-7LS22BZU.cjs → chunk-C7XGRLT5.cjs} +6 -6
  13. package/dist/{chunk-PN2RKPDF.js → chunk-ERCV6HHJ.js} +4 -4
  14. package/dist/{chunk-DW7G4KG3.js → chunk-FXENTYE5.js} +1 -1
  15. package/dist/{chunk-WA6GUYQ4.cjs → chunk-HFJW24JJ.cjs} +79 -79
  16. package/dist/{chunk-ZSAO2HBW.js → chunk-HJAYVKWQ.js} +6 -6
  17. package/dist/{chunk-F6AFPNDF.js → chunk-I7DFUQMN.js} +6 -5
  18. package/dist/{chunk-MKXO4Q5P.js → chunk-IHU5ANUY.js} +1 -1
  19. package/dist/{chunk-OUY3HHW6.cjs → chunk-IZGDG5X6.cjs} +45 -57
  20. package/dist/{chunk-6SEANMOU.js → chunk-JEYRXT5L.js} +7 -7
  21. package/dist/{chunk-KOWVJD4V.cjs → chunk-L3IC42IF.cjs} +18 -17
  22. package/dist/{chunk-3MX5S4CF.cjs → chunk-LDPEQGKT.cjs} +80 -132
  23. package/dist/{chunk-VESKITRQ.cjs → chunk-LTSTC3N5.cjs} +379 -379
  24. package/dist/{chunk-2QEUFXNS.cjs → chunk-MGGGBHYD.cjs} +10 -10
  25. package/dist/{chunk-IHERL5V4.cjs → chunk-MI3JUJ75.cjs} +21 -21
  26. package/dist/{chunk-HPWWNJE7.cjs → chunk-N3TO7JV3.cjs} +49 -49
  27. package/dist/{chunk-RBDP4WDE.js → chunk-NRLJUBCS.js} +2 -2
  28. package/dist/{chunk-X5MQ7JRP.js → chunk-QVSFBSWV.js} +4 -4
  29. package/dist/{chunk-ZSAGLQOD.cjs → chunk-SYXQLETR.cjs} +9 -9
  30. package/dist/{chunk-4I45Y3DN.cjs → chunk-UK62YTH6.cjs} +2 -2
  31. package/dist/{chunk-AQWZNP6A.js → chunk-VTASHWER.js} +3 -3
  32. package/dist/{chunk-PDWVPI3S.js → chunk-WUJNYGO2.js} +4 -0
  33. package/dist/{chunk-VA5T32XA.js → chunk-XATTBO5X.js} +1 -1
  34. package/dist/{chunk-IKTQ3ZAG.cjs → chunk-XIFOBQRQ.cjs} +4 -4
  35. package/dist/{chunk-YFBM2K6X.cjs → chunk-XJKZ4IKT.cjs} +4 -4
  36. package/dist/{chunk-DENB2XJC.js → chunk-ZQFZSFQI.js} +2 -2
  37. package/dist/components/case-studies/index.cjs +17 -17
  38. package/dist/components/case-studies/index.js +5 -5
  39. package/dist/components/chat/chat-input.d.ts.map +1 -1
  40. package/dist/components/chat/chat-message-enhanced.d.ts.map +1 -1
  41. package/dist/components/chat/embeddable-chat.d.ts +0 -8
  42. package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
  43. package/dist/components/chat/index.cjs +3 -5
  44. package/dist/components/chat/index.d.ts +1 -1
  45. package/dist/components/chat/index.d.ts.map +1 -1
  46. package/dist/components/chat/index.js +2 -4
  47. package/dist/components/chat/mingo-chat-rail.d.ts +1 -3
  48. package/dist/components/chat/mingo-chat-rail.d.ts.map +1 -1
  49. package/dist/components/contact/index.cjs +6 -6
  50. package/dist/components/contact/index.js +5 -5
  51. package/dist/components/docs/index.cjs +9 -9
  52. package/dist/components/docs/index.js +8 -8
  53. package/dist/components/embeds/index.cjs +6 -6
  54. package/dist/components/embeds/index.js +5 -5
  55. package/dist/components/faq/index.cjs +6 -6
  56. package/dist/components/faq/index.js +5 -5
  57. package/dist/components/features/index.cjs +5 -5
  58. package/dist/components/features/index.js +4 -4
  59. package/dist/components/help-center-pages/index.cjs +81 -81
  60. package/dist/components/help-center-pages/index.js +16 -16
  61. package/dist/components/index.cjs +47 -51
  62. package/dist/components/index.js +15 -19
  63. package/dist/components/meeting-scheduler/index.cjs +32 -32
  64. package/dist/components/meeting-scheduler/index.js +4 -4
  65. package/dist/components/navigation/app-layout-side-panel.d.ts +1 -18
  66. package/dist/components/navigation/app-layout-side-panel.d.ts.map +1 -1
  67. package/dist/components/navigation/index.cjs +8 -10
  68. package/dist/components/navigation/index.d.ts +0 -1
  69. package/dist/components/navigation/index.d.ts.map +1 -1
  70. package/dist/components/navigation/index.js +7 -9
  71. package/dist/components/onboarding-guides/index.cjs +8 -8
  72. package/dist/components/onboarding-guides/index.js +7 -7
  73. package/dist/components/tickets/index.cjs +9 -9
  74. package/dist/components/tickets/index.js +8 -8
  75. package/dist/components/ui/index.cjs +5 -7
  76. package/dist/components/ui/index.js +4 -6
  77. package/dist/hooks/index.cjs +3 -3
  78. package/dist/hooks/index.js +2 -2
  79. package/dist/index.cjs +10 -14
  80. package/dist/index.js +8 -12
  81. package/package.json +1 -1
  82. package/src/components/chat/chat-input.tsx +1 -5
  83. package/src/components/chat/chat-message-enhanced.tsx +3 -4
  84. package/src/components/chat/embeddable-chat.tsx +6 -64
  85. package/src/components/chat/index.ts +0 -1
  86. package/src/components/chat/mingo-chat-rail.tsx +7 -24
  87. package/src/components/navigation/app-layout-side-panel.tsx +2 -30
  88. package/src/components/navigation/index.ts +0 -1
  89. package/src/components/platform/SoftwareSourceBadge.tsx +1 -1
  90. package/src/styles/app-globals.css +0 -13
@@ -8,17 +8,17 @@
8
8
 
9
9
 
10
10
 
11
- var _chunkVESKITRQcjs = require('./chunk-VESKITRQ.cjs');
11
+ var _chunkLTSTC3N5cjs = require('./chunk-LTSTC3N5.cjs');
12
12
 
13
13
 
14
14
 
15
15
 
16
- var _chunk2QEUFXNScjs = require('./chunk-2QEUFXNS.cjs');
16
+ var _chunkMGGGBHYDcjs = require('./chunk-MGGGBHYD.cjs');
17
17
 
18
18
 
19
19
 
20
20
 
21
- var _chunk3MX5S4CFcjs = require('./chunk-3MX5S4CF.cjs');
21
+ var _chunkLDPEQGKTcjs = require('./chunk-LDPEQGKT.cjs');
22
22
 
23
23
 
24
24
 
@@ -113,14 +113,14 @@ function ContactForm({
113
113
  successToastMessage = "Redirecting you to join our community...",
114
114
  rescue: rescueForm = null
115
115
  } = {}) {
116
- const attachments = _chunk3MX5S4CFcjs.useChatAttachments.call(void 0, );
117
- const builtInSubmission = _chunk2QEUFXNScjs.useContactSubmission.call(void 0, {
116
+ const attachments = _chunkLDPEQGKTcjs.useChatAttachments.call(void 0, );
117
+ const builtInSubmission = _chunkMGGGBHYDcjs.useContactSubmission.call(void 0, {
118
118
  userId,
119
119
  successRedirectUrl,
120
120
  successToastMessage
121
121
  });
122
122
  const [customSubmitting, setCustomSubmitting] = _react.useState.call(void 0, false);
123
- const { honeypotInputProps, getSignals, resetSignals } = _chunk2QEUFXNScjs.useHumanitySignals.call(void 0, );
123
+ const { honeypotInputProps, getSignals, resetSignals } = _chunkMGGGBHYDcjs.useHumanitySignals.call(void 0, );
124
124
  const isSubmitting = onCustomSubmit ? customSubmitting : builtInSubmission.isSubmitting;
125
125
  const isSuccess = onCustomSubmit ? false : builtInSubmission.isSuccess;
126
126
  const form = _reacthookform.useForm.call(void 0, {
@@ -146,7 +146,7 @@ function ContactForm({
146
146
  ),
147
147
  [hideFields]
148
148
  );
149
- const rescue = _chunk2QEUFXNScjs.useRescuedForm.call(void 0, form, { rescue: rescueForm, fields: rescueFieldNames, getSignals });
149
+ const rescue = _chunkMGGGBHYDcjs.useRescuedForm.call(void 0, form, { rescue: rescueForm, fields: rescueFieldNames, getSignals });
150
150
  const handleFormSubmit = async (data) => {
151
151
  if (isSubmitting) return;
152
152
  if (attachmentsEnabled && attachments.hasInflightUploads) return;
@@ -197,13 +197,13 @@ function ContactForm({
197
197
  );
198
198
  }),
199
199
  className: "flex flex-grow flex-col space-y-4 content-md:space-y-6",
200
- ..._chunkVESKITRQcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
200
+ ..._chunkLTSTC3N5cjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
201
201
  children: [
202
202
  !showName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("name") }),
203
203
  !showEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("email") }),
204
204
  !showHelpCategory && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("helpCategory") }),
205
205
  !showMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("message") }),
206
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVESKITRQcjs.HoneypotField, { ...honeypotInputProps }),
206
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLTSTC3N5cjs.HoneypotField, { ...honeypotInputProps }),
207
207
  extraTopField,
208
208
  showNameEmailRow && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-md:grid-cols-2 content-md:gap-6", children: [
209
209
  showName && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
@@ -255,17 +255,17 @@ function ContactForm({
255
255
  {
256
256
  control,
257
257
  name: "companySize",
258
- render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVESKITRQcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
258
+ render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkLTSTC3N5cjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
259
259
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
260
- _chunkVESKITRQcjs.SelectTrigger,
260
+ _chunkLTSTC3N5cjs.SelectTrigger,
261
261
  {
262
262
  id: "companySize",
263
263
  "aria-label": "Company Size",
264
264
  className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
265
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVESKITRQcjs.SelectValue, { placeholder: "Select company size" })
265
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLTSTC3N5cjs.SelectValue, { placeholder: "Select company size" })
266
266
  }
267
267
  ),
268
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVESKITRQcjs.SelectContent, { children: companySizeOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVESKITRQcjs.SelectItem, { value: opt, children: opt }, opt)) })
268
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLTSTC3N5cjs.SelectContent, { children: companySizeOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLTSTC3N5cjs.SelectItem, { value: opt, children: opt }, opt)) })
269
269
  ] })
270
270
  }
271
271
  ),
@@ -278,17 +278,17 @@ function ContactForm({
278
278
  {
279
279
  control,
280
280
  name: "referralSource",
281
- render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVESKITRQcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
281
+ render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkLTSTC3N5cjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
282
282
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
283
- _chunkVESKITRQcjs.SelectTrigger,
283
+ _chunkLTSTC3N5cjs.SelectTrigger,
284
284
  {
285
285
  id: "referralSource",
286
286
  "aria-label": "Referral Source",
287
287
  className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
288
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVESKITRQcjs.SelectValue, { placeholder: "Select an option" })
288
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLTSTC3N5cjs.SelectValue, { placeholder: "Select an option" })
289
289
  }
290
290
  ),
291
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVESKITRQcjs.SelectContent, { children: referralSourceOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVESKITRQcjs.SelectItem, { value: opt, children: opt }, opt)) })
291
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLTSTC3N5cjs.SelectContent, { children: referralSourceOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLTSTC3N5cjs.SelectItem, { value: opt, children: opt }, opt)) })
292
292
  ] })
293
293
  }
294
294
  ),
@@ -305,18 +305,18 @@ function ContactForm({
305
305
  {
306
306
  control,
307
307
  name: "helpCategory",
308
- render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVESKITRQcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
308
+ render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkLTSTC3N5cjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
309
309
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
310
- _chunkVESKITRQcjs.SelectTrigger,
310
+ _chunkLTSTC3N5cjs.SelectTrigger,
311
311
  {
312
312
  id: "helpCategory",
313
313
  "aria-label": "Help Category",
314
314
  "aria-required": true,
315
315
  className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
316
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVESKITRQcjs.SelectValue, { placeholder: "Choose your main interest" })
316
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLTSTC3N5cjs.SelectValue, { placeholder: "Choose your main interest" })
317
317
  }
318
318
  ),
319
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVESKITRQcjs.SelectContent, { children: helpCategoryOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVESKITRQcjs.SelectItem, { value: opt, children: opt }, opt)) })
319
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLTSTC3N5cjs.SelectContent, { children: helpCategoryOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLTSTC3N5cjs.SelectItem, { value: opt, children: opt }, opt)) })
320
320
  ] })
321
321
  }
322
322
  ),
@@ -328,7 +328,7 @@ function ContactForm({
328
328
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBM5MVGH3cjs.RequiredMark, {})
329
329
  ] }),
330
330
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
331
- _chunkVESKITRQcjs.Textarea,
331
+ _chunkLTSTC3N5cjs.Textarea,
332
332
  {
333
333
  id: "message",
334
334
  ...register("message"),
@@ -343,7 +343,7 @@ function ContactForm({
343
343
  ] }),
344
344
  attachmentsEnabled && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-2", children: [
345
345
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
346
- _chunk3MX5S4CFcjs.ChatAttachmentChipStrip,
346
+ _chunkLDPEQGKTcjs.ChatAttachmentChipStrip,
347
347
  {
348
348
  attachments: attachments.attachments,
349
349
  onRemove: attachments.removeAttachment,
@@ -352,7 +352,7 @@ function ContactForm({
352
352
  ),
353
353
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
354
354
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
355
- _chunk3MX5S4CFcjs.ChatAttachmentAddButton,
355
+ _chunkLDPEQGKTcjs.ChatAttachmentAddButton,
356
356
  {
357
357
  attachmentsEnabled: true,
358
358
  attachmentsCount: attachments.attachments.length,
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  useOptionalTicketLive
4
- } from "./chunk-QFXRPRFT.js";
4
+ } from "./chunk-7LFIKJX2.js";
5
5
  import {
6
6
  AppLayoutDrawerContainerContext,
7
7
  AppLayoutDrawerCoordinationContext,
@@ -13,18 +13,18 @@ import {
13
13
  UnreadDot,
14
14
  buildTicketOpenHref,
15
15
  useOptionalNotifications
16
- } from "./chunk-FCGC42TS.js";
16
+ } from "./chunk-4KGXLVCF.js";
17
17
  import {
18
18
  useFocusTrap,
19
19
  useLocalStorage
20
- } from "./chunk-MKXO4Q5P.js";
20
+ } from "./chunk-IHU5ANUY.js";
21
21
  import {
22
22
  OVERLAY_BACKDROP_CLASS,
23
23
  useIsHydrated
24
- } from "./chunk-7VVFKJY5.js";
24
+ } from "./chunk-2JDVL7UV.js";
25
25
  import {
26
26
  useHeaderHeight
27
- } from "./chunk-PDWVPI3S.js";
27
+ } from "./chunk-WUJNYGO2.js";
28
28
  import {
29
29
  LogOutIcon,
30
30
  MingoIcon,
@@ -1682,7 +1682,6 @@ import {
1682
1682
  } from "react";
1683
1683
  import { jsx as jsx18, jsxs as jsxs16 } from "react/jsx-runtime";
1684
1684
  var SIDE_PANEL_INSET = 16;
1685
- var SIDE_PANEL_FRAME_WIDTH = 2;
1686
1685
  var MOBILE_QUERY = `not all and ${breakpoints.md}`;
1687
1686
  var REDUCED_MOTION_QUERY = "(prefers-reduced-motion: reduce)";
1688
1687
  var MORPH_MS = 300;
@@ -1763,7 +1762,6 @@ function useAppLayoutSidePanel(config, row) {
1763
1762
  const minContentWidth = config?.minContentWidth ?? 400;
1764
1763
  const collapsed = config?.collapsed ?? false;
1765
1764
  const minimum = { width: minWidth, expanded: false };
1766
- const defaultWidth = Math.max(minWidth, config?.defaultWidth ?? minWidth);
1767
1765
  const [rowWidth, setRowWidth] = useState4(0);
1768
1766
  useIsomorphicLayoutEffect(() => {
1769
1767
  if (!enabled || !row) return void 0;
@@ -1777,7 +1775,7 @@ function useAppLayoutSidePanel(config, row) {
1777
1775
  const reduceMotion = useMediaQuery(REDUCED_MOTION_QUERY) === true;
1778
1776
  const [morph, setMorph] = useState4(null);
1779
1777
  const [liveWidth, setLiveWidth] = useState4(null);
1780
- const [storedSize, setStoredSize] = useStoredSize(config?.storageKey, { width: defaultWidth, expanded: false });
1778
+ const [storedSize, setStoredSize] = useStoredSize(config?.storageKey, minimum);
1781
1779
  const [ownIsOpen, setOwnIsOpen] = useState4(false);
1782
1780
  const isOpen = config?.open ?? ownIsOpen;
1783
1781
  const onOpenChange = config?.onOpenChange;
@@ -1824,7 +1822,6 @@ function useAppLayoutSidePanel(config, row) {
1824
1822
  let collapsesTo = null;
1825
1823
  if (layout.mode === "full" && layout.canDock) collapsesTo = layout.dockedWidth > minWidth ? "column" : "minimum";
1826
1824
  else if (layout.mode === "docked" && layout.width > minWidth) collapsesTo = "minimum";
1827
- const canExpand = layout.mode === "docked" && layout.width <= minWidth && defaultWidth > minWidth && layout.maxDockedWidth > minWidth;
1828
1825
  return {
1829
1826
  ...layout,
1830
1827
  minWidth,
@@ -1845,12 +1842,6 @@ function useAppLayoutSidePanel(config, row) {
1845
1842
  setSize({ width: minWidth, expanded: false });
1846
1843
  }
1847
1844
  },
1848
- canExpand,
1849
- expand: () => {
1850
- if (!canExpand) return;
1851
- animate("narrow");
1852
- dock(defaultWidth);
1853
- },
1854
1845
  toggle: () => setIsOpen(!isOpen),
1855
1846
  close: () => setIsOpen(false),
1856
1847
  resize,
@@ -2033,9 +2024,7 @@ function AppLayoutSidePanel({ config, state }) {
2033
2024
  canClose: mode === "overlay" || mode === "full" && !canDock,
2034
2025
  close,
2035
2026
  collapsesTo: state.collapsesTo,
2036
- collapse: state.collapse,
2037
- canExpand: state.canExpand,
2038
- expand: state.expand
2027
+ collapse: state.collapse
2039
2028
  })
2040
2029
  }
2041
2030
  )
@@ -2361,7 +2350,6 @@ export {
2361
2350
  HeaderMingoButton,
2362
2351
  HeaderOrganizationFilter,
2363
2352
  AppHeader,
2364
- SIDE_PANEL_FRAME_WIDTH,
2365
2353
  MobileBurgerMenu,
2366
2354
  AppLayout
2367
2355
  };
@@ -21,7 +21,7 @@ import {
21
21
  useNearViewport,
22
22
  useResetOnPageHidden,
23
23
  useSuppressCloneFocus
24
- } from "./chunk-PDWVPI3S.js";
24
+ } from "./chunk-WUJNYGO2.js";
25
25
  import {
26
26
  useRouter
27
27
  } from "./chunk-GY4IZG22.js";
@@ -6306,7 +6306,6 @@ var ChatInput = forwardRef15((allProps, ref) => {
6306
6306
  isEmpty && !showPreview && /* @__PURE__ */ jsx31(
6307
6307
  "span",
6308
6308
  {
6309
- "data-editor-ghost": true,
6310
6309
  className: cn(
6311
6310
  // One line, clipped with an ellipsis (Figma 954:28455): the
6312
6311
  // disabled copy is a sentence, and the panel's narrowest
@@ -6322,7 +6321,6 @@ var ChatInput = forwardRef15((allProps, ref) => {
6322
6321
  showPreview && /* @__PURE__ */ jsx31(
6323
6322
  "p",
6324
6323
  {
6325
- "data-editor-ghost": true,
6326
6324
  className: cn(
6327
6325
  "pointer-events-none absolute inset-x-0 top-0 m-0 select-none truncate text-ods-text-secondary text-h4",
6328
6326
  hasChips && "!leading-9"
@@ -7418,7 +7416,7 @@ var ChatMessageEnhanced = forwardRef17(
7418
7416
  });
7419
7417
  };
7420
7418
  const isSystem = authorType === "system";
7421
- const showName = isSystem || authorType === "admin" && !isUser;
7419
+ const showName = isSystem || authorType === "admin";
7422
7420
  const displayName = name || (isUser ? "User" : assistantType === "mingo" ? "Mingo" : "Fae");
7423
7421
  const faceBox = "h-5 w-5 flex-shrink-0";
7424
7422
  const face = !showAvatar || isSystem ? null : !isUser && !avatar && assistantIcon ? /* @__PURE__ */ jsx36("span", { title: displayName, className: cn("flex items-center justify-center", faceBox), children: assistantIcon }) : !isUser && !avatar && assistantType ? (
@@ -10400,7 +10398,6 @@ function MingoChatRail({
10400
10398
  isLoadingHistory = false,
10401
10399
  loadError = false,
10402
10400
  onRetry,
10403
- onExpand,
10404
10401
  className
10405
10402
  }) {
10406
10403
  const [searchOpen, setSearchOpen] = useState21(!!searchQuery?.trim());
@@ -10517,29 +10514,16 @@ function MingoChatRail({
10517
10514
  className,
10518
10515
  "data-accent": "mingo",
10519
10516
  "aria-label": "Mingo chats",
10520
- logo: /* @__PURE__ */ jsxs45("div", { className: "flex flex-1 items-center justify-between", children: [
10521
- /* @__PURE__ */ jsx61(
10522
- MingoIcon,
10523
- {
10524
- color: "currentColor",
10525
- eyesColor: "var(--ods-flamingo-cyan-base)",
10526
- cornerColor: "var(--ods-flamingo-cyan-base)",
10527
- className: "size-6 text-ods-text-primary",
10528
- "aria-hidden": true
10529
- }
10530
- ),
10531
- onExpand && /* @__PURE__ */ jsx61(
10532
- Button,
10533
- {
10534
- variant: "transparent",
10535
- size: "icon",
10536
- "aria-label": "Expand chat",
10537
- onClick: onExpand,
10538
- className: "size-6 p-0 text-ods-text-secondary hover:text-ods-text-primary md:size-6",
10539
- children: /* @__PURE__ */ jsx61(Arrow02LeftIcon, { size: 24 })
10540
- }
10541
- )
10542
- ] }),
10517
+ logo: /* @__PURE__ */ jsx61(
10518
+ MingoIcon,
10519
+ {
10520
+ color: "currentColor",
10521
+ eyesColor: "var(--ods-flamingo-cyan-base)",
10522
+ cornerColor: "var(--ods-flamingo-cyan-base)",
10523
+ className: "size-6 text-ods-text-primary",
10524
+ "aria-hidden": true
10525
+ }
10526
+ ),
10543
10527
  items,
10544
10528
  sectionLabel: "Your Current Chats",
10545
10529
  sectionActions: listMenu.length > 0 ? /* @__PURE__ */ jsx61(
@@ -25824,7 +25808,6 @@ import { Fragment as Fragment36, jsx as jsx105, jsxs as jsxs80 } from "react/jsx
25824
25808
  var HISTORY_RAIL_WIDTH = 320;
25825
25809
  var MINGO_V2_RAIL_WIDTH = 296;
25826
25810
  var CHAT_BLOCK_MIN_WIDTH = 400;
25827
- var MINGO_V2_SPLIT_WIDTH = MINGO_V2_RAIL_WIDTH + CHAT_BLOCK_MIN_WIDTH;
25828
25811
  var SPLIT_MIN_WIDTH = HISTORY_RAIL_WIDTH + CHAT_BLOCK_MIN_WIDTH;
25829
25812
  var DRAWER_DEFAULT_WIDTH_RATIO = 0.5;
25830
25813
  var DRAWER_WIDTH_KEY = "mingo-chat-width-v4";
@@ -26171,7 +26154,6 @@ function EmbeddableChatInner({
26171
26154
  appearance = CHAT_APPEARANCE.CLASSIC,
26172
26155
  onCollapse,
26173
26156
  collapseTo = "list",
26174
- onExpand,
26175
26157
  dialogStatusOf,
26176
26158
  userDisplayName,
26177
26159
  userAvatarUrl,
@@ -26492,17 +26474,15 @@ function EmbeddableChatInner({
26492
26474
  () => ({ closeChat: handleNavigationClose }),
26493
26475
  [handleNavigationClose]
26494
26476
  );
26495
- const askAboutRef = useRef39(discussRef);
26496
- const askAbout = useCallback28((reference) => askAboutRef.current(reference), []);
26497
26477
  const renderEntityCard = useCallback28(
26498
26478
  (reference) => renderChatInlineEntityCard(reference, {
26499
- onDiscuss: askAbout,
26479
+ onDiscuss: discussRef,
26500
26480
  onDisplay: displayRef,
26501
26481
  baseRoute: resolvedBaseRoute,
26502
26482
  chipBasePlatform,
26503
26483
  extras
26504
26484
  }),
26505
- [askAbout, displayRef, resolvedBaseRoute, chipBasePlatform, extras]
26485
+ [discussRef, displayRef, resolvedBaseRoute, chipBasePlatform, extras]
26506
26486
  );
26507
26487
  const mingoAssistantIcon = useMemo31(
26508
26488
  () => effectiveAssistantIcon ? /* @__PURE__ */ jsx105(EntityIcon, { icon: effectiveAssistantIcon, size: 24 }) : /* @__PURE__ */ jsx105(MingoIcon, { className: "h-6 w-6", cornerColor: "var(--ods-flamingo-cyan-base)" }),
@@ -26614,11 +26594,11 @@ function EmbeddableChatInner({
26614
26594
  const detail = e.detail;
26615
26595
  if (!detail || detail.source !== source) return;
26616
26596
  setIsOpen(true);
26617
- setTimeout(() => askAbout(detail.ref), 0);
26597
+ setTimeout(() => discussRef(detail.ref), 0);
26618
26598
  };
26619
26599
  window.addEventListener("ask-ai:open-with-ref", handler);
26620
26600
  return () => window.removeEventListener("ask-ai:open-with-ref", handler);
26621
- }, [source, askAbout, setIsOpen]);
26601
+ }, [source, discussRef, setIsOpen]);
26622
26602
  useEffect41(() => {
26623
26603
  const handler = (e) => {
26624
26604
  const detail = e.detail;
@@ -26673,11 +26653,11 @@ function EmbeddableChatInner({
26673
26653
  baseRoute: resolvedBaseRoute,
26674
26654
  chipBasePlatform,
26675
26655
  onClose: handleNavigationClose,
26676
- onDiscuss: askAbout
26656
+ onDiscuss: discussRef
26677
26657
  }
26678
26658
  ) });
26679
26659
  },
26680
- [chatLoading, messages.length, resolvedBaseRoute, chipBasePlatform, handleNavigationClose, askAbout]
26660
+ [chatLoading, messages.length, resolvedBaseRoute, chipBasePlatform, handleNavigationClose, discussRef]
26681
26661
  );
26682
26662
  const [portalHost, setPortalHost] = useState50(null);
26683
26663
  const [panelBoundary, setPanelBoundary] = useState50(null);
@@ -26748,29 +26728,6 @@ function EmbeddableChatInner({
26748
26728
  const handleNewChat = useCallback28(() => {
26749
26729
  resetToNewChat();
26750
26730
  }, [resetToNewChat]);
26751
- const queuedAskRef = useRef39(null);
26752
- useEffect41(() => {
26753
- askAboutRef.current = (reference) => {
26754
- if (!isViewingArchived) {
26755
- discussRef(reference);
26756
- return;
26757
- }
26758
- queuedAskRef.current = reference;
26759
- if (archiveOpen) closeArchive();
26760
- resetToNewChat();
26761
- setComposeOpen(true);
26762
- };
26763
- });
26764
- useEffect41(() => {
26765
- const reference = queuedAskRef.current;
26766
- if (!reference || activeDialogId != null) return;
26767
- queuedAskRef.current = null;
26768
- discussRef(reference);
26769
- }, [activeDialogId, discussRef]);
26770
- const lastDialogIdRef = useRef39(null);
26771
- useEffect41(() => {
26772
- if (activeDialogId && !isViewingArchived) lastDialogIdRef.current = activeDialogId;
26773
- }, [activeDialogId, isViewingArchived]);
26774
26731
  const [pendingDraft, setPendingDraft] = useState50(null);
26775
26732
  const [seededDraft, setSeededDraft] = useState50(null);
26776
26733
  if (pendingDraft && seededDraft !== pendingDraft) {
@@ -27120,14 +27077,6 @@ function EmbeddableChatInner({
27120
27077
  {
27121
27078
  ...mingoRailProps,
27122
27079
  onNewChat: () => setComposeOpen(true),
27123
- onExpand: onExpand && (() => {
27124
- const last = lastDialogIdRef.current;
27125
- const target = last && dialogs.some((d) => d.id === last) ? last : dialogs[0]?.id;
27126
- if (archiveOpen) closeArchive();
27127
- if (target) handleSelectDialog(target);
27128
- else handleNewChat();
27129
- onExpand();
27130
- }),
27131
27080
  className: "w-full border-r-0 duration-200 animate-in fade-in-0"
27132
27081
  }
27133
27082
  ) : stackedListView ? (
@@ -28112,7 +28061,6 @@ export {
28112
28061
  isHistoricalUserTurn,
28113
28062
  buildStreamFrames,
28114
28063
  MINGO_V2_RAIL_WIDTH,
28115
- MINGO_V2_SPLIT_WIDTH,
28116
28064
  EmbeddableChat,
28117
28065
  ProxyCredentialsPanel
28118
28066
  };
@@ -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 _chunkVESKITRQcjs = require('./chunk-VESKITRQ.cjs');
4
+ var _chunkLTSTC3N5cjs = require('./chunk-LTSTC3N5.cjs');
5
5
 
6
6
 
7
7
  var _chunkABU3TGXAcjs = require('./chunk-ABU3TGXA.cjs');
@@ -12,10 +12,10 @@ var _chunkABU3TGXAcjs = require('./chunk-ABU3TGXA.cjs');
12
12
 
13
13
 
14
14
 
15
- var _chunk3MX5S4CFcjs = require('./chunk-3MX5S4CF.cjs');
15
+ var _chunkLDPEQGKTcjs = require('./chunk-LDPEQGKT.cjs');
16
16
 
17
17
 
18
- var _chunkTYWLNCNHcjs = require('./chunk-TYWLNCNH.cjs');
18
+ var _chunkC3BWIU7Rcjs = require('./chunk-C3BWIU7R.cjs');
19
19
 
20
20
 
21
21
  var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
@@ -39,7 +39,7 @@ var _jsxruntime = require('react/jsx-runtime');
39
39
  function DocSearchResultRow({ result, isHighlighted }) {
40
40
  const docType = _optionalChain([result, 'access', _ => _.metadata, 'optionalAccess', _2 => _2.documentType]) || void 0;
41
41
  const sourceRepo = _optionalChain([result, 'access', _3 => _3.metadata, 'optionalAccess', _4 => _4.sourceRepo]) || void 0;
42
- const { Icon: SourceIcon, label: iconLabel } = _chunk3MX5S4CFcjs.resolveSourceIcon.call(void 0, {
42
+ const { Icon: SourceIcon, label: iconLabel } = _chunkLDPEQGKTcjs.resolveSourceIcon.call(void 0, {
43
43
  sourceRepo,
44
44
  documentType: docType
45
45
  });
@@ -69,7 +69,7 @@ function DocSearchBar({
69
69
  renderResult
70
70
  }) {
71
71
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
72
- _chunkVESKITRQcjs.SearchInput,
72
+ _chunkLTSTC3N5cjs.SearchInput,
73
73
  {
74
74
  placeholder,
75
75
  value: query,
@@ -119,7 +119,7 @@ function mapDocSearchResults(docs) {
119
119
  results.push({
120
120
  id: `group-${entry.repo}`,
121
121
  // Same table label and count as the chat's grouped chip: one owner each.
122
- title: `${_chunk3MX5S4CFcjs.getSourceLabel.call(void 0, entry.repo)} ${_chunk3MX5S4CFcjs.recordCountLabel.call(void 0, rows.length)}`,
122
+ title: `${_chunkLDPEQGKTcjs.getSourceLabel.call(void 0, entry.repo)} ${_chunkLDPEQGKTcjs.recordCountLabel.call(void 0, rows.length)}`,
123
123
  path: rows[0].path,
124
124
  type: "file",
125
125
  metadata: {
@@ -254,7 +254,7 @@ function useDocSearch(config) {
254
254
  const [query, setQuery] = _react.useState.call(void 0, "");
255
255
  const [results, setResults] = _react.useState.call(void 0, NO_RESULTS);
256
256
  const [isFetching, setIsFetching] = _react.useState.call(void 0, false);
257
- const debouncedQuery = _chunkTYWLNCNHcjs.useDebounce.call(void 0, query, 300);
257
+ const debouncedQuery = _chunkC3BWIU7Rcjs.useDebounce.call(void 0, query, 300);
258
258
  const searchable = debouncedQuery.trim().length >= 2;
259
259
  const [wasSearchable, setWasSearchable] = _react.useState.call(void 0, searchable);
260
260
  if (wasSearchable !== searchable) {
@@ -311,27 +311,27 @@ function useDocSearch(config) {
311
311
  case "navigate-same-tab": {
312
312
  if (wantsNewTab) {
313
313
  setKeepOpen(true);
314
- window.open(action.href, "_blank", _chunk3MX5S4CFcjs.NEW_TAB_FEATURES);
314
+ window.open(action.href, "_blank", _chunkLDPEQGKTcjs.NEW_TAB_FEATURES);
315
315
  return;
316
316
  }
317
317
  setKeepOpen(false);
318
318
  const path = baseRoute && action.href.startsWith(`${baseRoute}/`) ? action.href.slice(baseRoute.length + 1) : null;
319
319
  if (path && _optionalChain([onInPageSwap, 'optionalCall', _16 => _16(path)])) return;
320
- router.push(_chunk3MX5S4CFcjs.stripSameOriginToPath.call(void 0, action.href));
320
+ router.push(_chunkLDPEQGKTcjs.stripSameOriginToPath.call(void 0, action.href));
321
321
  return;
322
322
  }
323
323
  case "navigate-new-tab":
324
324
  setKeepOpen(true);
325
325
  if (_optionalChain([runtime, 'optionalAccess', _17 => _17.navigation, 'access', _18 => _18.mode]) === "embed") {
326
326
  const targetPlatform = _nullishCoalesce(_optionalChain([result, 'access', _19 => _19.metadata, 'optionalAccess', _20 => _20.targetPlatform]), () => ( null));
327
- _chunk3MX5S4CFcjs.resolveExternalNavigation.call(void 0, {
327
+ _chunkLDPEQGKTcjs.resolveExternalNavigation.call(void 0, {
328
328
  href: action.href,
329
329
  targetPlatform,
330
330
  runtime
331
331
  }).open();
332
332
  return;
333
333
  }
334
- window.open(action.href, "_blank", _chunk3MX5S4CFcjs.NEW_TAB_FEATURES);
334
+ window.open(action.href, "_blank", _chunkLDPEQGKTcjs.NEW_TAB_FEATURES);
335
335
  return;
336
336
  case "ask-ai":
337
337
  setKeepOpen(false);
@@ -23,7 +23,7 @@ import {
23
23
  useLocalStorage,
24
24
  useNotificationPermission,
25
25
  useToast
26
- } from "./chunk-MKXO4Q5P.js";
26
+ } from "./chunk-IHU5ANUY.js";
27
27
  import {
28
28
  Pagination
29
29
  } from "./chunk-UT4YHQZW.js";
@@ -97,7 +97,7 @@ import {
97
97
  useIsHydrated,
98
98
  useResizablePanelSize,
99
99
  useScrollFade
100
- } from "./chunk-7VVFKJY5.js";
100
+ } from "./chunk-2JDVL7UV.js";
101
101
  import {
102
102
  NEAR_VIEWPORT_ROOT_MARGIN,
103
103
  ToolIcon,
@@ -110,7 +110,7 @@ import {
110
110
  useDebounce,
111
111
  useInView,
112
112
  useNearViewport
113
- } from "./chunk-PDWVPI3S.js";
113
+ } from "./chunk-WUJNYGO2.js";
114
114
  import {
115
115
  usePathname,
116
116
  useRouter,
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  SearchInput
4
- } from "./chunk-FCGC42TS.js";
4
+ } from "./chunk-4KGXLVCF.js";
5
5
  import {
6
6
  contentFetch
7
7
  } from "./chunk-MP2C3LJ4.js";
@@ -12,10 +12,10 @@ import {
12
12
  resolveExternalNavigation,
13
13
  resolveSourceIcon,
14
14
  stripSameOriginToPath
15
- } from "./chunk-7VVFKJY5.js";
15
+ } from "./chunk-2JDVL7UV.js";
16
16
  import {
17
17
  useDebounce
18
- } from "./chunk-PDWVPI3S.js";
18
+ } from "./chunk-WUJNYGO2.js";
19
19
  import {
20
20
  useRouter
21
21
  } from "./chunk-GY4IZG22.js";
@@ -3,16 +3,16 @@ import {
3
3
  FileDownloadCard,
4
4
  GoogleSheetsViewer,
5
5
  PdfViewer
6
- } from "./chunk-RBDP4WDE.js";
6
+ } from "./chunk-NRLJUBCS.js";
7
7
  import {
8
8
  MobileNavigationDropdown,
9
9
  MultiLevelNavigation,
10
10
  StickySectionNav
11
- } from "./chunk-DENB2XJC.js";
11
+ } from "./chunk-ZQFZSFQI.js";
12
12
  import {
13
13
  DocSearchBar,
14
14
  useDocSearch
15
- } from "./chunk-F6I6XZMN.js";
15
+ } from "./chunk-5QJDM6UV.js";
16
16
  import {
17
17
  CategorySidebarSkeleton,
18
18
  DEFAULT_FOLDER_INDEX_FILE,
@@ -22,7 +22,7 @@ import {
22
22
  findDocNodeByPath,
23
23
  getDocAncestorNodeIds,
24
24
  stripFolderIndexFromPath
25
- } from "./chunk-FCGC42TS.js";
25
+ } from "./chunk-4KGXLVCF.js";
26
26
  import {
27
27
  contentFetch
28
28
  } from "./chunk-MP2C3LJ4.js";
@@ -32,7 +32,7 @@ import {
32
32
  getScrollableAncestor,
33
33
  navigateSamePageHash,
34
34
  scrollElementIntoView
35
- } from "./chunk-PDWVPI3S.js";
35
+ } from "./chunk-WUJNYGO2.js";
36
36
  import {
37
37
  useRouter
38
38
  } from "./chunk-GY4IZG22.js";