@flamingo-stack/openframe-frontend-core 0.0.807 → 0.0.808

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 (73) hide show
  1. package/dist/build/export-map.json +1 -1
  2. package/dist/{chunk-IEDID3EB.cjs → chunk-6B5BDFZ6.cjs} +3 -3
  3. package/dist/{chunk-QPHQVTJO.cjs → chunk-6BYSVWIS.cjs} +2 -2
  4. package/dist/{chunk-224GFGSR.cjs → chunk-A5TMKZRQ.cjs} +16 -16
  5. package/dist/{chunk-QWB3CTGR.cjs → chunk-BSF7E5EZ.cjs} +24 -24
  6. package/dist/{chunk-74I2HT4X.cjs → chunk-DRTXDPWM.cjs} +12 -12
  7. package/dist/{chunk-3B6PFUL3.cjs → chunk-FRS2VO22.cjs} +71 -19
  8. package/dist/{chunk-XDVBSTFB.cjs → chunk-H6U3K5EX.cjs} +7 -7
  9. package/dist/{chunk-Z4IYLXJU.cjs → chunk-HKYGJVTA.cjs} +15 -15
  10. package/dist/{chunk-XCYL3TYS.cjs → chunk-K6YBHFWX.cjs} +34 -34
  11. package/dist/{chunk-MBGUHO7Z.cjs → chunk-LF7B3LJE.cjs} +16 -16
  12. package/dist/{chunk-BAOKF4OV.cjs → chunk-R2S22LDL.cjs} +3 -3
  13. package/dist/{chunk-M5NBPOKJ.cjs → chunk-SPS7TL7Z.cjs} +677 -639
  14. package/dist/{chunk-WKVAD374.cjs → chunk-T64MG3HS.cjs} +4 -4
  15. package/dist/{cloud-tenants-KL2COIBU.cjs → cloud-tenants-H5TMGGDF.cjs} +3 -3
  16. package/dist/components/case-studies/index.cjs +12 -12
  17. package/dist/components/contact/index.cjs +4 -4
  18. package/dist/components/docs/index.cjs +6 -6
  19. package/dist/components/embeds/index.cjs +4 -4
  20. package/dist/components/faq/index.cjs +4 -4
  21. package/dist/components/features/index.cjs +3 -3
  22. package/dist/components/features/scripts/schedule-form/schedule-offline-fields.d.ts.map +1 -1
  23. package/dist/components/features/scripts/schedule-form/schedule-offline-fields.js +16 -4
  24. package/dist/components/features/scripts/schedule-form/schedule-timing-fields.d.ts +1 -1
  25. package/dist/components/features/scripts/schedule-form/schedule-timing-fields.d.ts.map +1 -1
  26. package/dist/components/features/scripts/schedule-form/schedule-timing-fields.js +9 -2
  27. package/dist/components/help-center-pages/index.cjs +55 -55
  28. package/dist/components/index.cjs +21 -19
  29. package/dist/components/meeting-scheduler/index.cjs +28 -28
  30. package/dist/components/navigation/index.cjs +4 -4
  31. package/dist/components/onboarding-guides/index.cjs +5 -5
  32. package/dist/components/product-demo/index.cjs +13 -13
  33. package/dist/components/tickets/index.cjs +6 -6
  34. package/dist/components/ui/assignee-dropdown.d.ts +10 -0
  35. package/dist/components/ui/assignee-dropdown.d.ts.map +1 -1
  36. package/dist/components/ui/assignee-dropdown.js +14 -2
  37. package/dist/components/ui/autocomplete.d.ts +24 -0
  38. package/dist/components/ui/autocomplete.d.ts.map +1 -1
  39. package/dist/components/ui/autocomplete.js +26 -4
  40. package/dist/components/ui/index.cjs +5 -3
  41. package/dist/components/ui/reopen-ticket-modal.d.ts +17 -1
  42. package/dist/components/ui/reopen-ticket-modal.d.ts.map +1 -1
  43. package/dist/components/ui/reopen-ticket-modal.js +8 -15
  44. package/dist/components/ui/searchable-select.d.ts +17 -0
  45. package/dist/components/ui/searchable-select.d.ts.map +1 -1
  46. package/dist/components/ui/searchable-select.js +24 -9
  47. package/dist/components/ui/server-search-options.d.ts +30 -0
  48. package/dist/components/ui/server-search-options.d.ts.map +1 -0
  49. package/dist/components/ui/server-search-options.js +30 -0
  50. package/dist/components/ui/take-over-ticket-modal.d.ts +25 -1
  51. package/dist/components/ui/take-over-ticket-modal.d.ts.map +1 -1
  52. package/dist/components/ui/take-over-ticket-modal.js +14 -14
  53. package/dist/components/ui/ticket-info-section.d.ts +2 -0
  54. package/dist/components/ui/ticket-info-section.d.ts.map +1 -1
  55. package/dist/components/ui/ticket-info-section.js +2 -1
  56. package/dist/{devices-3HQDYLE2.cjs → devices-4MF5B7WJ.cjs} +4 -4
  57. package/dist/index.cjs +6 -4
  58. package/dist/{knowledge-6LA6XYUR.cjs → knowledge-MI7VMPRF.cjs} +3 -3
  59. package/dist/{logs-R4YZI33F.cjs → logs-7TEU2UXV.cjs} +11 -11
  60. package/dist/{policies-DGJMMGXN.cjs → policies-AR7B4LW5.cjs} +7 -7
  61. package/dist/{remote-session-HLGLKOGW.cjs → remote-session-LMUFV2RZ.cjs} +4 -4
  62. package/dist/{scripts-6KR5UZQY.cjs → scripts-HTMYPV5Q.cjs} +10 -10
  63. package/dist/{software-update-R63SKZQM.cjs → software-update-YMSYGYCM.cjs} +7 -7
  64. package/package.json +1 -1
  65. package/src/components/features/scripts/schedule-form/schedule-offline-fields.tsx +10 -1
  66. package/src/components/features/scripts/schedule-form/schedule-timing-fields.tsx +10 -4
  67. package/src/components/ui/assignee-dropdown.tsx +29 -1
  68. package/src/components/ui/autocomplete.tsx +68 -5
  69. package/src/components/ui/reopen-ticket-modal.tsx +22 -14
  70. package/src/components/ui/searchable-select.tsx +52 -8
  71. package/src/components/ui/server-search-options.ts +65 -0
  72. package/src/components/ui/take-over-ticket-modal.tsx +35 -13
  73. package/src/components/ui/ticket-info-section.tsx +3 -0
@@ -291,6 +291,35 @@ var _lucidereact = require('lucide-react');
291
291
 
292
292
 
293
293
 
294
+ // src/components/ui/server-search-options.ts
295
+
296
+ function useSettledOptions(options, isLoading, enabled) {
297
+ const [settled, setSettled] = _react.useState.call(void 0, options);
298
+ if (enabled && !isLoading && settled !== options) setSettled(options);
299
+ return enabled && isLoading && options.length === 0 ? settled : options;
300
+ }
301
+ function useRememberedSelection(options, selected, enabled) {
302
+ const [remembered, setRemembered] = _react.useState.call(void 0, () => /* @__PURE__ */ new Map());
303
+ if (enabled) {
304
+ const next = /* @__PURE__ */ new Map();
305
+ for (const value of selected) {
306
+ const option = _nullishCoalesce(options.find((o) => o.value === value), () => ( remembered.get(value)));
307
+ if (option) next.set(value, option);
308
+ }
309
+ if (!hasSameEntries(next, remembered)) setRemembered(next);
310
+ }
311
+ return remembered;
312
+ }
313
+ function hasSameEntries(a, b) {
314
+ if (a.size !== b.size) return false;
315
+ for (const [key, value] of a) {
316
+ if (b.get(key) !== value) return false;
317
+ }
318
+ return true;
319
+ }
320
+
321
+ // src/components/ui/autocomplete.tsx
322
+
294
323
  var innerInputStyles = _chunk7JWFMAQBcjs.cn.call(void 0,
295
324
  "min-w-[60px] flex-1 border-none bg-transparent outline-none",
296
325
  "text-h4",
@@ -334,9 +363,12 @@ function AutocompleteInner(props, ref) {
334
363
  onDeleteOption,
335
364
  isDeletingOption = false,
336
365
  disableClientFilter = false,
366
+ onSearchChange,
367
+ selectedOptions: selectedOptionsProp,
337
368
  showChevron = true,
338
369
  clearOnOpen = true
339
370
  } = props;
371
+ const serverSearch = onSearchChange !== void 0;
340
372
  const multiple = _nullishCoalesce(props.multiple, () => ( false));
341
373
  const placeholder = _nullishCoalesce(props.placeholder, () => ( (multiple ? "Add More..." : "Select...")));
342
374
  const maxItems = multiple ? props.maxItems : void 0;
@@ -351,11 +383,20 @@ function AutocompleteInner(props, ref) {
351
383
  const [internalInputValue, setInternalInputValue] = _react.useState.call(void 0, "");
352
384
  const isInputControlled = inputValueProp !== void 0;
353
385
  const inputValue = isInputControlled ? inputValueProp : internalInputValue;
386
+ const reportedQueryRef = _react.useRef.call(void 0, "");
387
+ const reportQuery = (value, reason) => {
388
+ if (!onSearchChange) return;
389
+ const query = reason === "input" ? value : "";
390
+ if (query === reportedQueryRef.current) return;
391
+ reportedQueryRef.current = query;
392
+ onSearchChange(query);
393
+ };
354
394
  const updateInputValue = (value, reason) => {
355
395
  if (!isInputControlled) {
356
396
  setInternalInputValue(value);
357
397
  }
358
398
  _optionalChain([onInputChange, 'optionalCall', _ => _(value, reason)]);
399
+ reportQuery(value, reason);
359
400
  };
360
401
  const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
361
402
  const [highlightedIndex, setHighlightedIndex] = _react.useState.call(void 0, -1);
@@ -364,11 +405,15 @@ function AutocompleteInner(props, ref) {
364
405
  const hiddenTagsPopupRef = _react.useRef.call(void 0, null);
365
406
  const isInvalid = invalid || !!error;
366
407
  _react.useImperativeHandle.call(void 0, ref, () => containerRef.current);
408
+ const listedOptions = useSettledOptions(options, loading, serverSearch);
409
+ const rememberedSelection = useRememberedSelection(listedOptions, valueArray, serverSearch);
367
410
  const selectedOptions = _react.useMemo.call(void 0, () => {
368
- return valueArray.map((v) => _nullishCoalesce(options.find((opt) => opt.value === v), () => ( { label: String(v), value: v })));
369
- }, [valueArray, options]);
411
+ return valueArray.map(
412
+ (v) => _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(listedOptions.find((opt) => opt.value === v), () => ( _optionalChain([selectedOptionsProp, 'optionalAccess', _2 => _2.find, 'call', _3 => _3((opt) => opt.value === v)]))), () => ( rememberedSelection.get(v))), () => ( { label: String(v), value: v }))
413
+ );
414
+ }, [valueArray, listedOptions, selectedOptionsProp, rememberedSelection]);
370
415
  const selectedOption = !multiple && selectedOptions.length > 0 ? selectedOptions[0] : null;
371
- const resolvedStartAdornment = _nullishCoalesce(_nullishCoalesce(startAdornment, () => ( _optionalChain([selectedOption, 'optionalAccess', _2 => _2.icon]))), () => ( null));
416
+ const resolvedStartAdornment = _nullishCoalesce(_nullishCoalesce(startAdornment, () => ( _optionalChain([selectedOption, 'optionalAccess', _4 => _4.icon]))), () => ( null));
372
417
  const inputPlaceholder = multiple ? valueArray.length === 0 ? placeholder : "Add More..." : placeholder;
373
418
  const {
374
419
  visibleCount: autoVisibleCount,
@@ -392,8 +437,8 @@ function AutocompleteInner(props, ref) {
392
437
  if (!showHiddenTags) return void 0;
393
438
  const handleClick = (e) => {
394
439
  const target = e.target;
395
- const inButton = _optionalChain([hiddenTagsRef, 'access', _3 => _3.current, 'optionalAccess', _4 => _4.contains, 'call', _5 => _5(target)]);
396
- const inPopup = _optionalChain([hiddenTagsPopupRef, 'access', _6 => _6.current, 'optionalAccess', _7 => _7.contains, 'call', _8 => _8(target)]);
440
+ const inButton = _optionalChain([hiddenTagsRef, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.contains, 'call', _7 => _7(target)]);
441
+ const inPopup = _optionalChain([hiddenTagsPopupRef, 'access', _8 => _8.current, 'optionalAccess', _9 => _9.contains, 'call', _10 => _10(target)]);
397
442
  if (!inButton && !inPopup) {
398
443
  setShowHiddenTags(false);
399
444
  }
@@ -410,6 +455,9 @@ function AutocompleteInner(props, ref) {
410
455
  };
411
456
  const inputDisplayValue = !multiple && !isOpen && selectedOption ? selectedOption.label : inputValue;
412
457
  const filteredOptions = _react.useMemo.call(void 0, () => {
458
+ if (serverSearch) {
459
+ return listedOptions;
460
+ }
413
461
  if (disableClientFilter) {
414
462
  return options;
415
463
  }
@@ -421,7 +469,8 @@ function AutocompleteInner(props, ref) {
421
469
  }
422
470
  const lowerInput = inputValue.toLowerCase();
423
471
  return options.filter((opt) => opt.label.toLowerCase().includes(lowerInput));
424
- }, [options, inputValue, filterOptions, disableClientFilter]);
472
+ }, [options, listedOptions, serverSearch, inputValue, filterOptions, disableClientFilter]);
473
+ const showLoadingRows = loading && (!serverSearch || filteredOptions.length === 0);
425
474
  const showCreateOption = creatable && inputValue.trim().length > 0 && filteredOptions.length === 0;
426
475
  const isCreateTooLong = maxCreateLength != null && inputValue.trim().length > maxCreateLength;
427
476
  const handleCreate = () => {
@@ -436,7 +485,7 @@ function AutocompleteInner(props, ref) {
436
485
  }
437
486
  updateInputValue("", "reset");
438
487
  setIsOpen(false);
439
- _optionalChain([onCreateOption, 'optionalCall', _9 => _9(trimmed)]);
488
+ _optionalChain([onCreateOption, 'optionalCall', _11 => _11(trimmed)]);
440
489
  };
441
490
  const [highlightedFor, setHighlightedFor] = _react.useState.call(void 0, filteredOptions.length);
442
491
  if (highlightedFor !== filteredOptions.length) {
@@ -462,7 +511,7 @@ function AutocompleteInner(props, ref) {
462
511
  props.onChange([...valueArray, option.value]);
463
512
  }
464
513
  updateInputValue("", "reset");
465
- _optionalChain([inputRef, 'access', _10 => _10.current, 'optionalAccess', _11 => _11.focus, 'call', _12 => _12()]);
514
+ _optionalChain([inputRef, 'access', _12 => _12.current, 'optionalAccess', _13 => _13.focus, 'call', _14 => _14()]);
466
515
  } else {
467
516
  props.onChange(option.value);
468
517
  updateInputValue(clearOnOpen ? "" : option.label, "reset");
@@ -480,7 +529,8 @@ function AutocompleteInner(props, ref) {
480
529
  if (!isInputControlled) {
481
530
  setInternalInputValue("");
482
531
  }
483
- _optionalChain([onInputChange, 'optionalCall', _13 => _13("", "clear")]);
532
+ _optionalChain([onInputChange, 'optionalCall', _15 => _15("", "clear")]);
533
+ reportQuery("", "clear");
484
534
  setIsOpen(false);
485
535
  };
486
536
  const handleKeyDown = (e) => {
@@ -561,7 +611,7 @@ function AutocompleteInner(props, ref) {
561
611
  ),
562
612
  onClick: () => {
563
613
  if (!disabled) {
564
- _optionalChain([inputRef, 'access', _14 => _14.current, 'optionalAccess', _15 => _15.focus, 'call', _16 => _16()]);
614
+ _optionalChain([inputRef, 'access', _16 => _16.current, 'optionalAccess', _17 => _17.focus, 'call', _18 => _18()]);
565
615
  openDropdown();
566
616
  }
567
617
  },
@@ -689,15 +739,15 @@ function AutocompleteInner(props, ref) {
689
739
  collisionPadding: { bottom: keyboardPadding },
690
740
  onOpenAutoFocus: (e) => {
691
741
  e.preventDefault();
692
- _optionalChain([inputRef, 'access', _17 => _17.current, 'optionalAccess', _18 => _18.focus, 'call', _19 => _19()]);
742
+ _optionalChain([inputRef, 'access', _19 => _19.current, 'optionalAccess', _20 => _20.focus, 'call', _21 => _21()]);
693
743
  },
694
744
  onInteractOutside: (e) => {
695
- if (_optionalChain([containerRef, 'access', _20 => _20.current, 'optionalAccess', _21 => _21.contains, 'call', _22 => _22(e.target)])) {
745
+ if (_optionalChain([containerRef, 'access', _22 => _22.current, 'optionalAccess', _23 => _23.contains, 'call', _24 => _24(e.target)])) {
696
746
  e.preventDefault();
697
747
  }
698
748
  },
699
749
  children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, ScrollAreaPrimitive.Root, { className: "flex min-h-0 flex-col overflow-hidden", children: [
700
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ScrollAreaPrimitive.Viewport, { className: "max-h-[240px] min-h-0 w-full [&>div]:!block", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { role: loading ? void 0 : "listbox", children: loading ? (
750
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ScrollAreaPrimitive.Viewport, { className: "max-h-[240px] min-h-0 w-full [&>div]:!block", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { role: showLoadingRows ? void 0 : "listbox", children: showLoadingRows ? (
701
751
  // The options while they are read: the list's own rows, a label bar each (`loadingText` is what a
702
752
  // screen reader hears).
703
753
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLKQ33CMYcjs.LoadingRegion, { label: loadingText, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7JWFMAQBcjs.LoadingItems, { count: loadingRows, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: AUTOCOMPLETE_OPTION_ROW_CLASS, "aria-hidden": true, "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "inherit", className: "w-2/3" }) }) }) })
@@ -1174,7 +1224,7 @@ function IconButtonsVariant({
1174
1224
  const unknownSet = !!loadingProp;
1175
1225
  const desktopActions = actions.filter((a) => !a.showOnlyMobile);
1176
1226
  const hasMenuActions = !!menuActions && menuActions.some((g) => g.items.length > 0);
1177
- const isSingleAction = actions.length === 1 && !_optionalChain([actions, 'access', _23 => _23[0], 'access', _24 => _24.submenu, 'optionalAccess', _25 => _25.length]);
1227
+ const isSingleAction = actions.length === 1 && !_optionalChain([actions, 'access', _25 => _25[0], 'access', _26 => _26.submenu, 'optionalAccess', _27 => _27.length]);
1178
1228
  const singleAction = isSingleAction ? actions[0] : null;
1179
1229
  const useSingleActionMobile = isSingleAction && !hasMenuActions;
1180
1230
  const mobileMenuGroups = [{ items: actions.flatMap(actionToMenuItems) }, ..._nullishCoalesce(menuActions, () => ( []))];
@@ -1804,7 +1854,7 @@ function RemoteAccessRequestCard({
1804
1854
  }) {
1805
1855
  const { organizationName } = party;
1806
1856
  const siteUrl = _nullishCoalesce(party.organizationSiteUrl, () => ( void 0));
1807
- const openableSite = _optionalChain([siteUrl, 'optionalAccess', _26 => _26.startsWith, 'call', _27 => _27("https://")]) ? siteUrl : void 0;
1857
+ const openableSite = _optionalChain([siteUrl, 'optionalAccess', _28 => _28.startsWith, 'call', _29 => _29("https://")]) ? siteUrl : void 0;
1808
1858
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-l)] rounded-md border border-ods-border bg-ods-card p-[var(--spacing-system-xl)]", children: [
1809
1859
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "w-full text-ods-text-primary text-h2", children: "Your IT support team is requesting remote access" }),
1810
1860
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-[var(--spacing-system-m)] rounded-md border border-ods-border bg-ods-bg p-[var(--spacing-system-m)]", children: [
@@ -2722,7 +2772,7 @@ function AssignTicketModal({
2722
2772
  setTicketIds(ids);
2723
2773
  setTitles((prev) => {
2724
2774
  const next = {};
2725
- for (const id of ids) next[id] = _nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'access', _28 => _28.find, 'call', _29 => _29((option) => option.value === id), 'optionalAccess', _30 => _30.label]), () => ( prev[id])), () => ( id));
2775
+ for (const id of ids) next[id] = _nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'access', _30 => _30.find, 'call', _31 => _31((option) => option.value === id), 'optionalAccess', _32 => _32.label]), () => ( prev[id])), () => ( id));
2726
2776
  return next;
2727
2777
  });
2728
2778
  };
@@ -2802,7 +2852,7 @@ function RemoteSessionEventList({ events, activeEventId, onSelect, className })
2802
2852
  "aria-current": event.id === activeEventId || void 0,
2803
2853
  "data-state": event.id === activeEventId ? "active" : void 0,
2804
2854
  "data-tone": "muted",
2805
- onClick: () => _optionalChain([onSelect, 'optionalCall', _31 => _31(event)]),
2855
+ onClick: () => _optionalChain([onSelect, 'optionalCall', _33 => _33(event)]),
2806
2856
  className: "items-start",
2807
2857
  children: [
2808
2858
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "w-[84px] shrink-0 text-ods-text-secondary text-h4", children: formatRemoteSessionOffset(event.offsetMs) }),
@@ -2832,7 +2882,7 @@ function RemoteSessionTimelineMarkers({
2832
2882
  type: "button",
2833
2883
  "aria-label": label,
2834
2884
  title: label,
2835
- onClick: () => _optionalChain([onSelect, 'optionalCall', _32 => _32(event)]),
2885
+ onClick: () => _optionalChain([onSelect, 'optionalCall', _34 => _34(event)]),
2836
2886
  style: { left: `${share * 100}%` },
2837
2887
  className: "absolute top-0 h-4 w-1 -translate-x-1/2",
2838
2888
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "block size-full rounded-md bg-ods-text-secondary" })
@@ -2971,4 +3021,6 @@ var DEVICE_WALLPAPER_CLASS = "bg-gradient-to-br from-ods-flamingo-cyan-secondary
2971
3021
 
2972
3022
 
2973
3023
 
2974
- exports.HiddenTagsPopup = HiddenTagsPopup; exports.TruncateText = TruncateText; exports.Autocomplete = Autocomplete; exports.Select = Select; exports.SelectGroup = SelectGroup; exports.SelectValue = SelectValue; exports.SelectTrigger = SelectTrigger; exports.SelectScrollUpButton = SelectScrollUpButton; exports.SelectScrollDownButton = SelectScrollDownButton; exports.SelectContent = SelectContent; exports.SelectLabel = SelectLabel; exports.SelectItem = SelectItem; exports.SelectSeparator = SelectSeparator; exports.BACK_BUTTON_SKELETON_CLASS = BACK_BUTTON_SKELETON_CLASS; exports.BackButton = BackButton; exports.PageActions = PageActions; exports.usePageActionsBottomPadding = usePageActionsBottomPadding; exports.PagePicture = PagePicture; exports.PageTitle = PageTitle; exports.ENTITY_IMAGE_SIZE = ENTITY_IMAGE_SIZE; exports.EntityImage = EntityImage; exports.TITLE_BLOCK_MIN_HEIGHT = TITLE_BLOCK_MIN_HEIGHT; exports.TitleBlock = TitleBlock; exports.PageLayout = PageLayout; exports.RemoteSessionViewers = RemoteSessionViewers; exports.RemoteSessionScope = RemoteSessionScope; exports.RemoteSessionOrgLogo = RemoteSessionOrgLogo; exports.RemoteSessionRecordingTag = RemoteSessionRecordingTag; exports.REMOTE_SESSION_DRAG_HANDLE_CLASS = REMOTE_SESSION_DRAG_HANDLE_CLASS; exports.RemoteSessionDragger = RemoteSessionDragger; exports.formatRemoteSessionElapsed = formatRemoteSessionElapsed; exports.useRemoteSessionTimer = useRemoteSessionTimer; exports.RemoteAccessRequestCard = RemoteAccessRequestCard; exports.RemoteSessionBlockFrame = RemoteSessionBlockFrame; exports.RemoteSessionEndButton = RemoteSessionEndButton; exports.RemoteSessionSummary = RemoteSessionSummary; exports.RemoteSessionMinimizedChip = RemoteSessionMinimizedChip; exports.RemoteSessionChatPanel = RemoteSessionChatPanel; exports.RemoteDesktopChatMessageRow = RemoteDesktopChatMessageRow; exports.REMOTE_DESKTOP_CHAT_END_USER_NAME = REMOTE_DESKTOP_CHAT_END_USER_NAME; exports.RemoteDesktopChatPanel = RemoteDesktopChatPanel; exports.RemoteDesktopFullscreenToolbar = RemoteDesktopFullscreenToolbar; exports.RemoteDesktopView = RemoteDesktopView; exports.RemoteSessionDialog = RemoteSessionDialog; exports.RemoteSessionBorder = RemoteSessionBorder; exports.RemoteSessionPill = RemoteSessionPill; exports.REMOTE_SESSION_KEEP_REASON_LABELS = REMOTE_SESSION_KEEP_REASON_LABELS; exports.KeepRecordingModal = KeepRecordingModal; exports.ReleaseKeepingModal = ReleaseKeepingModal; exports.AssignTicketModal = AssignTicketModal; exports.UnassignTicketModal = UnassignTicketModal; exports.formatRemoteSessionOffset = formatRemoteSessionOffset; exports.RemoteSessionEventList = RemoteSessionEventList; exports.RemoteSessionTimelineMarkers = RemoteSessionTimelineMarkers; exports.RemoteSessionStatusTag = RemoteSessionStatusTag; exports.RemoteSessionExpiry = RemoteSessionExpiry; exports.RemoteSessionStorageAlert = RemoteSessionStorageAlert; exports.DEVICE_WALLPAPER_CLASS = DEVICE_WALLPAPER_CLASS;
3024
+
3025
+
3026
+ exports.HiddenTagsPopup = HiddenTagsPopup; exports.useSettledOptions = useSettledOptions; exports.useRememberedSelection = useRememberedSelection; exports.TruncateText = TruncateText; exports.Autocomplete = Autocomplete; exports.Select = Select; exports.SelectGroup = SelectGroup; exports.SelectValue = SelectValue; exports.SelectTrigger = SelectTrigger; exports.SelectScrollUpButton = SelectScrollUpButton; exports.SelectScrollDownButton = SelectScrollDownButton; exports.SelectContent = SelectContent; exports.SelectLabel = SelectLabel; exports.SelectItem = SelectItem; exports.SelectSeparator = SelectSeparator; exports.BACK_BUTTON_SKELETON_CLASS = BACK_BUTTON_SKELETON_CLASS; exports.BackButton = BackButton; exports.PageActions = PageActions; exports.usePageActionsBottomPadding = usePageActionsBottomPadding; exports.PagePicture = PagePicture; exports.PageTitle = PageTitle; exports.ENTITY_IMAGE_SIZE = ENTITY_IMAGE_SIZE; exports.EntityImage = EntityImage; exports.TITLE_BLOCK_MIN_HEIGHT = TITLE_BLOCK_MIN_HEIGHT; exports.TitleBlock = TitleBlock; exports.PageLayout = PageLayout; exports.RemoteSessionViewers = RemoteSessionViewers; exports.RemoteSessionScope = RemoteSessionScope; exports.RemoteSessionOrgLogo = RemoteSessionOrgLogo; exports.RemoteSessionRecordingTag = RemoteSessionRecordingTag; exports.REMOTE_SESSION_DRAG_HANDLE_CLASS = REMOTE_SESSION_DRAG_HANDLE_CLASS; exports.RemoteSessionDragger = RemoteSessionDragger; exports.formatRemoteSessionElapsed = formatRemoteSessionElapsed; exports.useRemoteSessionTimer = useRemoteSessionTimer; exports.RemoteAccessRequestCard = RemoteAccessRequestCard; exports.RemoteSessionBlockFrame = RemoteSessionBlockFrame; exports.RemoteSessionEndButton = RemoteSessionEndButton; exports.RemoteSessionSummary = RemoteSessionSummary; exports.RemoteSessionMinimizedChip = RemoteSessionMinimizedChip; exports.RemoteSessionChatPanel = RemoteSessionChatPanel; exports.RemoteDesktopChatMessageRow = RemoteDesktopChatMessageRow; exports.REMOTE_DESKTOP_CHAT_END_USER_NAME = REMOTE_DESKTOP_CHAT_END_USER_NAME; exports.RemoteDesktopChatPanel = RemoteDesktopChatPanel; exports.RemoteDesktopFullscreenToolbar = RemoteDesktopFullscreenToolbar; exports.RemoteDesktopView = RemoteDesktopView; exports.RemoteSessionDialog = RemoteSessionDialog; exports.RemoteSessionBorder = RemoteSessionBorder; exports.RemoteSessionPill = RemoteSessionPill; exports.REMOTE_SESSION_KEEP_REASON_LABELS = REMOTE_SESSION_KEEP_REASON_LABELS; exports.KeepRecordingModal = KeepRecordingModal; exports.ReleaseKeepingModal = ReleaseKeepingModal; exports.AssignTicketModal = AssignTicketModal; exports.UnassignTicketModal = UnassignTicketModal; exports.formatRemoteSessionOffset = formatRemoteSessionOffset; exports.RemoteSessionEventList = RemoteSessionEventList; exports.RemoteSessionTimelineMarkers = RemoteSessionTimelineMarkers; exports.RemoteSessionStatusTag = RemoteSessionStatusTag; exports.RemoteSessionExpiry = RemoteSessionExpiry; exports.RemoteSessionStorageAlert = RemoteSessionStorageAlert; exports.DEVICE_WALLPAPER_CLASS = DEVICE_WALLPAPER_CLASS;
@@ -15,10 +15,10 @@ var _chunkHEVW75L3cjs = require('./chunk-HEVW75L3.cjs');
15
15
 
16
16
 
17
17
 
18
- var _chunkM5NBPOKJcjs = require('./chunk-M5NBPOKJ.cjs');
18
+ var _chunkSPS7TL7Zcjs = require('./chunk-SPS7TL7Z.cjs');
19
19
 
20
20
 
21
- var _chunk3B6PFUL3cjs = require('./chunk-3B6PFUL3.cjs');
21
+ var _chunkFRS2VO22cjs = require('./chunk-FRS2VO22.cjs');
22
22
 
23
23
 
24
24
  var _chunkBT53NHR7cjs = require('./chunk-BT53NHR7.cjs');
@@ -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, _chunkM5NBPOKJcjs.DataSyncLine, { sync: context.state.sync, loading: context.state.loading, stated: context.stated, inline });
108
+ const line = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSPS7TL7Zcjs.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) {
@@ -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
- _chunkM5NBPOKJcjs.SearchInput,
169
+ _chunkSPS7TL7Zcjs.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
- _chunkM5NBPOKJcjs.StatusFilterComponent,
179
+ _chunkSPS7TL7Zcjs.StatusFilterComponent,
180
180
  {
181
181
  selectedStatus: currentFilterValue,
182
182
  onStatusChange: handleFilterChange,
@@ -214,7 +214,7 @@ function DevSectionPage({
214
214
  // duplicate title. (The hero icon is intentionally dropped: TitleBlock is
215
215
  // frozen and renders title-only.)
216
216
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
217
- _chunk3B6PFUL3cjs.PageLayout,
217
+ _chunkFRS2VO22cjs.PageLayout,
218
218
  {
219
219
  title: _nullishCoalesce(title, () => ( section.hero.title)),
220
220
  subtitle: _nullishCoalesce(subtitle, () => ( section.hero.description)),
@@ -228,7 +228,7 @@ function DevSectionPage({
228
228
  }
229
229
  )
230
230
  );
231
- return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkM5NBPOKJcjs.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, _chunkSPS7TL7Zcjs.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
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkIEDID3EBcjs = require('./chunk-IEDID3EB.cjs');
6
+ var _chunk6B5BDFZ6cjs = require('./chunk-6B5BDFZ6.cjs');
7
7
 
8
8
 
9
9
 
@@ -13,17 +13,17 @@ var _chunk5UTJARDMcjs = require('./chunk-5UTJARDM.cjs');
13
13
 
14
14
 
15
15
 
16
- var _chunkQPHQVTJOcjs = require('./chunk-QPHQVTJO.cjs');
16
+ var _chunk6BYSVWIScjs = require('./chunk-6BYSVWIS.cjs');
17
17
 
18
18
 
19
19
 
20
20
 
21
21
 
22
22
 
23
- var _chunkM5NBPOKJcjs = require('./chunk-M5NBPOKJ.cjs');
23
+ var _chunkSPS7TL7Zcjs = require('./chunk-SPS7TL7Z.cjs');
24
24
 
25
25
 
26
- var _chunk3B6PFUL3cjs = require('./chunk-3B6PFUL3.cjs');
26
+ var _chunkFRS2VO22cjs = require('./chunk-FRS2VO22.cjs');
27
27
 
28
28
 
29
29
 
@@ -354,7 +354,7 @@ function toDocContent(value, requestedPath) {
354
354
  function toDataSync(value) {
355
355
  if (!isRecord(value)) return void 0;
356
356
  const source = readString(value, "source");
357
- if (!_chunkM5NBPOKJcjs.isDataSyncSource.call(void 0, source)) return void 0;
357
+ if (!_chunkSPS7TL7Zcjs.isDataSyncSource.call(void 0, source)) return void 0;
358
358
  return { source, syncedAt: _nullishCoalesce(readString(value, "syncedAt"), () => ( null)) };
359
359
  }
360
360
  function useDocumentTree(config, initialPath) {
@@ -760,7 +760,7 @@ function DocViewerContent({
760
760
  label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _12 => _12.label]), () => ( "Back to home")),
761
761
  onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _13 => _13.href]), () => ( "/")))
762
762
  };
763
- const docSearch = _chunkQPHQVTJOcjs.useDocSearch.call(void 0, {
763
+ const docSearch = _chunk6BYSVWIScjs.useDocSearch.call(void 0, {
764
764
  source: chatSource,
765
765
  baseRoute,
766
766
  searchEndpoint,
@@ -795,10 +795,10 @@ function DocViewerContent({
795
795
  const containerBgStyle = colorPalette.containerBackground !== "transparent" ? { backgroundColor: colorPalette.containerBackground } : {};
796
796
  const defaultEmptyText = structure.length > 0 ? "Select a document from the sidebar to view" : "No documents yet. Add content from the admin panel.";
797
797
  const resolvedEmptyText = emptyStateText || defaultEmptyText;
798
- const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { ...bgStyle, ...containerBgStyle }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.PageLayout, { title, subtitle, titleSize: "h1", titleWrap: true, backButton: _nullishCoalesce(backCfg, () => ( void 0)), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-10", children: [
799
- synced && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkM5NBPOKJcjs.DataSyncLine, { sync: _optionalChain([content, 'optionalAccess', _19 => _19.sync]), loading: !content && (isLoadingContent || isLoadingStructure) }),
798
+ const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { ...bgStyle, ...containerBgStyle }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFRS2VO22cjs.PageLayout, { title, subtitle, titleSize: "h1", titleWrap: true, backButton: _nullishCoalesce(backCfg, () => ( void 0)), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-10", children: [
799
+ synced && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSPS7TL7Zcjs.DataSyncLine, { sync: _optionalChain([content, 'optionalAccess', _19 => _19.sync]), loading: !content && (isLoadingContent || isLoadingStructure) }),
800
800
  showAIChat && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
801
- _chunkQPHQVTJOcjs.DocSearchBar,
801
+ _chunk6BYSVWIScjs.DocSearchBar,
802
802
  {
803
803
  placeholder: `Search ${_optionalChain([sidebarLabel, 'optionalAccess', _20 => _20.toLowerCase, 'call', _21 => _21()]) || "documents"}...`,
804
804
  query: docSearch.query,
@@ -887,7 +887,7 @@ function DocViewerContent({
887
887
  ) })
888
888
  ] })
889
889
  ] }) }) });
890
- return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkM5NBPOKJcjs.PageShell, { contentClassName: `${bgClass} ${className}`, children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `page-shell-content ${bgClass} ${className}`.trim(), children: inner });
890
+ return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSPS7TL7Zcjs.PageShell, { contentClassName: `${bgClass} ${className}`, children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `page-shell-content ${bgClass} ${className}`.trim(), children: inner });
891
891
  }
892
892
 
893
893
  // src/components/docs/skeletons.tsx
@@ -959,7 +959,7 @@ function EmbedSkeleton({ documentType, region = true } = {}) {
959
959
  ] }),
960
960
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full items-center gap-2 content-sm:w-auto", children: Array.from({ length: buttonCount }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.UnifiedSkeleton, { className: "h-10 w-full flex-1 rounded content-sm:w-32 content-sm:flex-initial" }, i)) })
961
961
  ] }),
962
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkM5NBPOKJcjs.EmbedLoadingSkeleton, { region: false })
962
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSPS7TL7Zcjs.EmbedLoadingSkeleton, { region: false })
963
963
  ] });
964
964
  }
965
965
 
@@ -967,11 +967,11 @@ function EmbedSkeleton({ documentType, region = true } = {}) {
967
967
 
968
968
  var DEFAULT_TITLE = "Documents";
969
969
  var defaultFallbackRenderer = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "py-16 text-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary", children: "Unsupported document type" }) });
970
- var defaultPdfRenderer = (content, handlers) => content.fileUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIEDID3EBcjs.PdfViewer, { src: content.fileUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
971
- var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIEDID3EBcjs.GoogleSheetsViewer, { externalUrl: content.externalUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
972
- var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkM5NBPOKJcjs.FigmaEmbed, { url: content.externalUrl, title: content.fileName, loading: "eager" }) : defaultFallbackRenderer(content, handlers);
970
+ var defaultPdfRenderer = (content, handlers) => content.fileUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6B5BDFZ6cjs.PdfViewer, { src: content.fileUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
971
+ var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6B5BDFZ6cjs.GoogleSheetsViewer, { externalUrl: content.externalUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
972
+ var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSPS7TL7Zcjs.FigmaEmbed, { url: content.externalUrl, title: content.fileName, loading: "eager" }) : defaultFallbackRenderer(content, handlers);
973
973
  var defaultFileRenderer = (content) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
974
- _chunkIEDID3EBcjs.FileDownloadCard,
974
+ _chunk6B5BDFZ6cjs.FileDownloadCard,
975
975
  {
976
976
  fileName: content.fileName,
977
977
  mimeType: content.mimeType,