@mieweb/ui 0.7.1-dev.15 → 0.7.1-dev.16

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 (81) hide show
  1. package/dist/{chunk-XCVBCY7L.cjs → chunk-26DPQUSB.cjs} +4 -4
  2. package/dist/{chunk-XCVBCY7L.cjs.map → chunk-26DPQUSB.cjs.map} +1 -1
  3. package/dist/{chunk-BZMBCKW2.cjs → chunk-3G2HFPCC.cjs} +8 -8
  4. package/dist/{chunk-BZMBCKW2.cjs.map → chunk-3G2HFPCC.cjs.map} +1 -1
  5. package/dist/{chunk-UXBRRSJ6.js → chunk-5BDCQBYW.js} +3 -3
  6. package/dist/{chunk-UXBRRSJ6.js.map → chunk-5BDCQBYW.js.map} +1 -1
  7. package/dist/{chunk-C7I3ZGMQ.cjs → chunk-6J7UGYT5.cjs} +4 -4
  8. package/dist/{chunk-C7I3ZGMQ.cjs.map → chunk-6J7UGYT5.cjs.map} +1 -1
  9. package/dist/{chunk-JJNCQMR5.js → chunk-BMRQ4VME.js} +3 -3
  10. package/dist/{chunk-JJNCQMR5.js.map → chunk-BMRQ4VME.js.map} +1 -1
  11. package/dist/{chunk-QA6ZDHFP.js → chunk-BOOJDRJO.js} +35 -11
  12. package/dist/chunk-BOOJDRJO.js.map +1 -0
  13. package/dist/{chunk-34LGPMO4.js → chunk-DLBV42JD.js} +3 -3
  14. package/dist/{chunk-34LGPMO4.js.map → chunk-DLBV42JD.js.map} +1 -1
  15. package/dist/{chunk-IXWRD4AP.js → chunk-EKRT7K2K.js} +3 -3
  16. package/dist/{chunk-IXWRD4AP.js.map → chunk-EKRT7K2K.js.map} +1 -1
  17. package/dist/{chunk-MHD5HZ4X.js → chunk-FDV7EQWH.js} +3 -3
  18. package/dist/{chunk-MHD5HZ4X.js.map → chunk-FDV7EQWH.js.map} +1 -1
  19. package/dist/{chunk-EDBGSGUK.cjs → chunk-GLRLOJMV.cjs} +4 -4
  20. package/dist/{chunk-EDBGSGUK.cjs.map → chunk-GLRLOJMV.cjs.map} +1 -1
  21. package/dist/{chunk-GDBPFHNX.js → chunk-HIDV32ZX.js} +3 -3
  22. package/dist/{chunk-GDBPFHNX.js.map → chunk-HIDV32ZX.js.map} +1 -1
  23. package/dist/{chunk-ZDEYV373.cjs → chunk-MYFZYUPR.cjs} +35 -11
  24. package/dist/chunk-MYFZYUPR.cjs.map +1 -0
  25. package/dist/{chunk-I2BKK3AQ.js → chunk-NGLI2MSM.js} +3 -3
  26. package/dist/{chunk-I2BKK3AQ.js.map → chunk-NGLI2MSM.js.map} +1 -1
  27. package/dist/{chunk-IS5PNYR7.js → chunk-P6L74SKG.js} +3 -3
  28. package/dist/{chunk-IS5PNYR7.js.map → chunk-P6L74SKG.js.map} +1 -1
  29. package/dist/{chunk-GKWWFJDB.cjs → chunk-Q5VBO3I5.cjs} +5 -5
  30. package/dist/{chunk-GKWWFJDB.cjs.map → chunk-Q5VBO3I5.cjs.map} +1 -1
  31. package/dist/{chunk-UTCFBBOD.cjs → chunk-QI2SB6U3.cjs} +7 -7
  32. package/dist/{chunk-UTCFBBOD.cjs.map → chunk-QI2SB6U3.cjs.map} +1 -1
  33. package/dist/{chunk-477Z2DYN.js → chunk-QOBNYNKZ.js} +4 -4
  34. package/dist/{chunk-477Z2DYN.js.map → chunk-QOBNYNKZ.js.map} +1 -1
  35. package/dist/{chunk-U4HA2WHA.cjs → chunk-RBS3GHDZ.cjs} +4 -4
  36. package/dist/{chunk-U4HA2WHA.cjs.map → chunk-RBS3GHDZ.cjs.map} +1 -1
  37. package/dist/{chunk-4G3NJLQA.js → chunk-RGRSJYZF.js} +3 -3
  38. package/dist/{chunk-4G3NJLQA.js.map → chunk-RGRSJYZF.js.map} +1 -1
  39. package/dist/{chunk-YXHX2DAK.cjs → chunk-RYQ3S3KO.cjs} +5 -5
  40. package/dist/{chunk-YXHX2DAK.cjs.map → chunk-RYQ3S3KO.cjs.map} +1 -1
  41. package/dist/{chunk-C2NNNOSU.cjs → chunk-VVI32P7L.cjs} +4 -4
  42. package/dist/{chunk-C2NNNOSU.cjs.map → chunk-VVI32P7L.cjs.map} +1 -1
  43. package/dist/{chunk-OJEXXH5D.cjs → chunk-ZBI52NP2.cjs} +4 -4
  44. package/dist/{chunk-OJEXXH5D.cjs.map → chunk-ZBI52NP2.cjs.map} +1 -1
  45. package/dist/components/Autocomplete/index.cjs +3 -3
  46. package/dist/components/Autocomplete/index.js +2 -2
  47. package/dist/components/CountryCodeDropdown/index.cjs +5 -5
  48. package/dist/components/CountryCodeDropdown/index.js +2 -2
  49. package/dist/components/DateInput/index.cjs +3 -3
  50. package/dist/components/DateInput/index.js +2 -2
  51. package/dist/components/Dropdown/index.cjs +8 -8
  52. package/dist/components/Dropdown/index.d.cts +1 -1
  53. package/dist/components/Dropdown/index.d.ts +1 -1
  54. package/dist/components/Dropdown/index.js +2 -2
  55. package/dist/components/MediaEditor/index.cjs +8 -8
  56. package/dist/components/MediaEditor/index.js +3 -3
  57. package/dist/components/RichTextEditor/index.cjs +6 -6
  58. package/dist/components/RichTextEditor/index.js +3 -3
  59. package/dist/components/Select/index.cjs +4 -4
  60. package/dist/components/Select/index.js +2 -2
  61. package/dist/components/SuperChat/index.cjs +8 -8
  62. package/dist/components/SuperChat/index.js +3 -3
  63. package/dist/components/SuperChat/plugins/index.cjs +4 -4
  64. package/dist/components/SuperChat/plugins/index.js +3 -3
  65. package/dist/esheet.cjs +7 -7
  66. package/dist/esheet.js +4 -4
  67. package/dist/hooks/index.cjs +2 -2
  68. package/dist/hooks/index.d.cts +1 -1
  69. package/dist/hooks/index.d.ts +1 -1
  70. package/dist/hooks/index.js +1 -1
  71. package/dist/index.cjs +481 -157
  72. package/dist/index.cjs.map +1 -1
  73. package/dist/index.d.cts +37 -2
  74. package/dist/index.d.ts +37 -2
  75. package/dist/index.js +343 -20
  76. package/dist/index.js.map +1 -1
  77. package/dist/{useAnchoredPosition-nXdSFKHf.d.cts → useAnchoredPosition-C7PNglzD.d.cts} +6 -2
  78. package/dist/{useAnchoredPosition-nXdSFKHf.d.ts → useAnchoredPosition-C7PNglzD.d.ts} +6 -2
  79. package/package.json +1 -1
  80. package/dist/chunk-QA6ZDHFP.js.map +0 -1
  81. package/dist/chunk-ZDEYV373.cjs.map +0 -1
package/dist/index.cjs CHANGED
@@ -23,13 +23,13 @@ var chunkRS5VA6QU_cjs = require('./chunk-RS5VA6QU.cjs');
23
23
  var chunkYGA35Z2P_cjs = require('./chunk-YGA35Z2P.cjs');
24
24
  var chunkXXVUHLQN_cjs = require('./chunk-XXVUHLQN.cjs');
25
25
  var chunkXS35KPBZ_cjs = require('./chunk-XS35KPBZ.cjs');
26
- var chunkYXHX2DAK_cjs = require('./chunk-YXHX2DAK.cjs');
27
- var chunkXCVBCY7L_cjs = require('./chunk-XCVBCY7L.cjs');
26
+ var chunkRYQ3S3KO_cjs = require('./chunk-RYQ3S3KO.cjs');
27
+ var chunk26DPQUSB_cjs = require('./chunk-26DPQUSB.cjs');
28
28
  var chunkFKLUSYFP_cjs = require('./chunk-FKLUSYFP.cjs');
29
29
  var chunkVPIYTQCV_cjs = require('./chunk-VPIYTQCV.cjs');
30
30
  var chunkFF235PKY_cjs = require('./chunk-FF235PKY.cjs');
31
31
  var chunkJTSKPDPH_cjs = require('./chunk-JTSKPDPH.cjs');
32
- var chunkUTCFBBOD_cjs = require('./chunk-UTCFBBOD.cjs');
32
+ var chunkQI2SB6U3_cjs = require('./chunk-QI2SB6U3.cjs');
33
33
  var chunkYP5T6NZD_cjs = require('./chunk-YP5T6NZD.cjs');
34
34
  var chunk3SZQRMHM_cjs = require('./chunk-3SZQRMHM.cjs');
35
35
  var chunkOZOSWBSI_cjs = require('./chunk-OZOSWBSI.cjs');
@@ -40,7 +40,7 @@ var chunkABAOZASX_cjs = require('./chunk-ABAOZASX.cjs');
40
40
  var chunk7AMOKHTW_cjs = require('./chunk-7AMOKHTW.cjs');
41
41
  var chunk6QVI6DAO_cjs = require('./chunk-6QVI6DAO.cjs');
42
42
  var chunkRUEEDOE3_cjs = require('./chunk-RUEEDOE3.cjs');
43
- var chunkGKWWFJDB_cjs = require('./chunk-GKWWFJDB.cjs');
43
+ var chunkQ5VBO3I5_cjs = require('./chunk-Q5VBO3I5.cjs');
44
44
  var chunkYMHOF6WA_cjs = require('./chunk-YMHOF6WA.cjs');
45
45
  require('./chunk-GLXTVCHN.cjs');
46
46
  var chunkOGPJ3LRF_cjs = require('./chunk-OGPJ3LRF.cjs');
@@ -49,25 +49,25 @@ require('./chunk-RHNPILZQ.cjs');
49
49
  var chunkS3MKIDYG_cjs = require('./chunk-S3MKIDYG.cjs');
50
50
  var chunkX4LBUPJO_cjs = require('./chunk-X4LBUPJO.cjs');
51
51
  var chunkIUDY6S7I_cjs = require('./chunk-IUDY6S7I.cjs');
52
- var chunkC2NNNOSU_cjs = require('./chunk-C2NNNOSU.cjs');
53
- var chunkU4HA2WHA_cjs = require('./chunk-U4HA2WHA.cjs');
52
+ var chunkVVI32P7L_cjs = require('./chunk-VVI32P7L.cjs');
53
+ var chunkRBS3GHDZ_cjs = require('./chunk-RBS3GHDZ.cjs');
54
54
  var chunkEPQPUFS6_cjs = require('./chunk-EPQPUFS6.cjs');
55
55
  var chunkCKRRJO7T_cjs = require('./chunk-CKRRJO7T.cjs');
56
56
  var chunkZZJ4ZVYR_cjs = require('./chunk-ZZJ4ZVYR.cjs');
57
57
  var chunkW4Q4UEXA_cjs = require('./chunk-W4Q4UEXA.cjs');
58
- var chunkC7I3ZGMQ_cjs = require('./chunk-C7I3ZGMQ.cjs');
58
+ var chunk6J7UGYT5_cjs = require('./chunk-6J7UGYT5.cjs');
59
59
  var chunkU3JU6BI5_cjs = require('./chunk-U3JU6BI5.cjs');
60
60
  require('./chunk-VBWRH4UW.cjs');
61
61
  var chunkI2ECTLON_cjs = require('./chunk-I2ECTLON.cjs');
62
62
  var chunkRI56YPED_cjs = require('./chunk-RI56YPED.cjs');
63
- var chunkBZMBCKW2_cjs = require('./chunk-BZMBCKW2.cjs');
63
+ var chunk3G2HFPCC_cjs = require('./chunk-3G2HFPCC.cjs');
64
64
  var chunkWUNWHOLA_cjs = require('./chunk-WUNWHOLA.cjs');
65
65
  var chunkWWJIW2IH_cjs = require('./chunk-WWJIW2IH.cjs');
66
66
  var chunk5IDYOJHO_cjs = require('./chunk-5IDYOJHO.cjs');
67
67
  var chunkAIJAFPGJ_cjs = require('./chunk-AIJAFPGJ.cjs');
68
- var chunkOJEXXH5D_cjs = require('./chunk-OJEXXH5D.cjs');
68
+ var chunkZBI52NP2_cjs = require('./chunk-ZBI52NP2.cjs');
69
69
  var chunkMJWFNV3L_cjs = require('./chunk-MJWFNV3L.cjs');
70
- var chunkEDBGSGUK_cjs = require('./chunk-EDBGSGUK.cjs');
70
+ var chunkGLRLOJMV_cjs = require('./chunk-GLRLOJMV.cjs');
71
71
  var chunkP2VTQ5AR_cjs = require('./chunk-P2VTQ5AR.cjs');
72
72
  var chunk6ECKH4DJ_cjs = require('./chunk-6ECKH4DJ.cjs');
73
73
  var chunkPAM5UUBL_cjs = require('./chunk-PAM5UUBL.cjs');
@@ -83,7 +83,7 @@ var chunk6HFFWEM3_cjs = require('./chunk-6HFFWEM3.cjs');
83
83
  var chunkNNEFAUHV_cjs = require('./chunk-NNEFAUHV.cjs');
84
84
  var chunkFHY3K6PL_cjs = require('./chunk-FHY3K6PL.cjs');
85
85
  var chunkFSGEDDF2_cjs = require('./chunk-FSGEDDF2.cjs');
86
- var chunkZDEYV373_cjs = require('./chunk-ZDEYV373.cjs');
86
+ var chunkMYFZYUPR_cjs = require('./chunk-MYFZYUPR.cjs');
87
87
  require('./chunk-AT732HC6.cjs');
88
88
  var chunkL7YQBSEL_cjs = require('./chunk-L7YQBSEL.cjs');
89
89
  var chunkC7RVKV25_cjs = require('./chunk-C7RVKV25.cjs');
@@ -282,7 +282,7 @@ function AddContactModal({
282
282
  }
283
283
  ),
284
284
  /* @__PURE__ */ jsxRuntime.jsx(
285
- chunkOJEXXH5D_cjs.Select,
285
+ chunkZBI52NP2_cjs.Select,
286
286
  {
287
287
  id: "contact-sex",
288
288
  options: SEX_OPTIONS,
@@ -1396,7 +1396,7 @@ function AIEmptyState({
1396
1396
  /* @__PURE__ */ jsxRuntime.jsx(SuggestedActions, { actions: suggestions, onSelect: onSuggestionSelect })
1397
1397
  ] }) : void 0;
1398
1398
  return /* @__PURE__ */ jsxRuntime.jsx(
1399
- chunkYXHX2DAK_cjs.EmptyState,
1399
+ chunkRYQ3S3KO_cjs.EmptyState,
1400
1400
  {
1401
1401
  title,
1402
1402
  description,
@@ -1590,7 +1590,7 @@ function AIChat({
1590
1590
  }
1591
1591
  ) }),
1592
1592
  /* @__PURE__ */ jsxRuntime.jsx(
1593
- chunkXCVBCY7L_cjs.MessageComposer,
1593
+ chunk26DPQUSB_cjs.MessageComposer,
1594
1594
  {
1595
1595
  onSend: handleSend,
1596
1596
  placeholder: inputPlaceholder,
@@ -2085,7 +2085,7 @@ function OzwellSettingsMenu({
2085
2085
  fn?.();
2086
2086
  };
2087
2087
  return /* @__PURE__ */ jsxRuntime.jsxs(
2088
- chunkU4HA2WHA_cjs.Dropdown,
2088
+ chunkRBS3GHDZ_cjs.Dropdown,
2089
2089
  {
2090
2090
  trigger,
2091
2091
  open,
@@ -2102,8 +2102,8 @@ function OzwellSettingsMenu({
2102
2102
  onScroll: updateHasMore,
2103
2103
  className: "max-h-[392px] overflow-x-hidden overflow-y-auto",
2104
2104
  children: [
2105
- /* @__PURE__ */ jsxRuntime.jsx(chunkU4HA2WHA_cjs.DropdownHeader, { title: "\u2699 Ozwell settings" }),
2106
- onManageVoices && /* @__PURE__ */ jsxRuntime.jsx(chunkU4HA2WHA_cjs.DropdownItem, { onClick: act(onManageVoices), children: /* @__PURE__ */ jsxRuntime.jsx(
2105
+ /* @__PURE__ */ jsxRuntime.jsx(chunkRBS3GHDZ_cjs.DropdownHeader, { title: "\u2699 Ozwell settings" }),
2106
+ onManageVoices && /* @__PURE__ */ jsxRuntime.jsx(chunkRBS3GHDZ_cjs.DropdownItem, { onClick: act(onManageVoices), children: /* @__PURE__ */ jsxRuntime.jsx(
2107
2107
  ItemLabel,
2108
2108
  {
2109
2109
  label: "Your voice",
@@ -5562,6 +5562,329 @@ function VisitScribe({
5562
5562
  }
5563
5563
  );
5564
5564
  }
5565
+ var MENU_OFFSET_PX = 6;
5566
+ var MENU_MAX_HEIGHT_PX = 320;
5567
+ function optionKey(option) {
5568
+ return `${option.provider}\0${option.model}`;
5569
+ }
5570
+ function renderedOptionKey(option, index) {
5571
+ return `${option.id ?? optionKey(option)}\0${index}`;
5572
+ }
5573
+ function groupByProvider(models) {
5574
+ const groups = /* @__PURE__ */ new Map();
5575
+ for (const model of models) {
5576
+ const group = groups.get(model.provider);
5577
+ if (group) {
5578
+ group.push(model);
5579
+ } else {
5580
+ groups.set(model.provider, [model]);
5581
+ }
5582
+ }
5583
+ return Array.from(groups, ([provider, options]) => ({ provider, options }));
5584
+ }
5585
+ function getProviderLabel(models, provider) {
5586
+ return models.find((model) => model.provider === provider && model.providerLabel)?.providerLabel ?? provider;
5587
+ }
5588
+ function ComposerModelSelector({
5589
+ models,
5590
+ value,
5591
+ providerFilter,
5592
+ onProviderFilterChange,
5593
+ onChange,
5594
+ disabled = false,
5595
+ className,
5596
+ boundaryRef,
5597
+ placeholder = "Model",
5598
+ anyLabel = "Any",
5599
+ emptyLabel = "No models",
5600
+ ariaLabel = "Model"
5601
+ }) {
5602
+ const [open, setOpen] = React10__namespace.useState(false);
5603
+ const [internalProviderFilter, setInternalProviderFilter] = React10__namespace.useState(null);
5604
+ const [highlightedIndex, setHighlightedIndex] = React10__namespace.useState(0);
5605
+ const listRef = React10__namespace.useRef(null);
5606
+ const menuId = React10__namespace.useId();
5607
+ const {
5608
+ anchorRef: triggerRef,
5609
+ floatingRef: menuRef,
5610
+ style: menuStyle
5611
+ } = chunkMYFZYUPR_cjs.useAnchoredPosition({
5612
+ open,
5613
+ placement: "top-start",
5614
+ offset: MENU_OFFSET_PX,
5615
+ matchMinWidth: true,
5616
+ maxHeight: MENU_MAX_HEIGHT_PX,
5617
+ allowFlip: false,
5618
+ boundaryRef
5619
+ });
5620
+ const activeProviderFilter = providerFilter === void 0 ? internalProviderFilter : providerFilter;
5621
+ const selectedKey = value ? optionKey(value) : null;
5622
+ const selectedOption = models.find(
5623
+ (model) => optionKey(model) === selectedKey
5624
+ );
5625
+ const providers = React10__namespace.useMemo(
5626
+ () => Array.from(new Set(models.map((model) => model.provider))),
5627
+ [models]
5628
+ );
5629
+ const providerLabels = React10__namespace.useMemo(
5630
+ () => new Map(
5631
+ providers.map((provider) => [
5632
+ provider,
5633
+ getProviderLabel(models, provider)
5634
+ ])
5635
+ ),
5636
+ [models, providers]
5637
+ );
5638
+ const filteredModels = React10__namespace.useMemo(
5639
+ () => activeProviderFilter === null ? models : models.filter((model) => model.provider === activeProviderFilter),
5640
+ [activeProviderFilter, models]
5641
+ );
5642
+ const groupedModels = React10__namespace.useMemo(
5643
+ () => groupByProvider(filteredModels),
5644
+ [filteredModels]
5645
+ );
5646
+ const groupedRenderedModels = React10__namespace.useMemo(() => {
5647
+ let index = 0;
5648
+ return groupedModels.map((group) => ({
5649
+ provider: group.provider,
5650
+ options: group.options.map((option) => {
5651
+ const rendered = {
5652
+ option,
5653
+ index,
5654
+ key: renderedOptionKey(option, index)
5655
+ };
5656
+ index += 1;
5657
+ return rendered;
5658
+ })
5659
+ }));
5660
+ }, [groupedModels]);
5661
+ const renderedModels = React10__namespace.useMemo(
5662
+ () => groupedRenderedModels.flatMap((group) => group.options),
5663
+ [groupedRenderedModels]
5664
+ );
5665
+ const getOptionId = React10__namespace.useCallback(
5666
+ (index) => `${menuId}-option-${index}`,
5667
+ [menuId]
5668
+ );
5669
+ const activeOptionId = open && renderedModels[highlightedIndex] ? getOptionId(highlightedIndex) : void 0;
5670
+ const selectedRenderedIndex = React10__namespace.useMemo(
5671
+ () => selectedKey ? renderedModels.findIndex(
5672
+ (renderedModel) => optionKey(renderedModel.option) === selectedKey
5673
+ ) : -1,
5674
+ [renderedModels, selectedKey]
5675
+ );
5676
+ const setProvider = React10__namespace.useCallback(
5677
+ (provider) => {
5678
+ if (providerFilter === void 0) {
5679
+ setInternalProviderFilter(provider);
5680
+ }
5681
+ onProviderFilterChange?.(provider);
5682
+ },
5683
+ [onProviderFilterChange, providerFilter]
5684
+ );
5685
+ const close = React10__namespace.useCallback(
5686
+ (restoreFocus = true) => {
5687
+ setOpen(false);
5688
+ if (restoreFocus) {
5689
+ triggerRef.current?.focus({ preventScroll: true });
5690
+ }
5691
+ },
5692
+ [triggerRef]
5693
+ );
5694
+ const selectModel = React10__namespace.useCallback(
5695
+ (model) => {
5696
+ onChange({ provider: model.provider, model: model.model });
5697
+ close();
5698
+ },
5699
+ [close, onChange]
5700
+ );
5701
+ const outsideRefs = React10__namespace.useMemo(
5702
+ () => [triggerRef, menuRef],
5703
+ [triggerRef, menuRef]
5704
+ );
5705
+ chunkFSGEDDF2_cjs.useClickOutside(outsideRefs, () => close(false), open);
5706
+ chunkFHY3K6PL_cjs.useEscapeKey(close, open);
5707
+ React10__namespace.useEffect(() => {
5708
+ if (!open) return;
5709
+ setHighlightedIndex(selectedRenderedIndex >= 0 ? selectedRenderedIndex : 0);
5710
+ }, [activeProviderFilter, open, selectedRenderedIndex]);
5711
+ React10__namespace.useEffect(() => {
5712
+ if (!open) return;
5713
+ setHighlightedIndex(
5714
+ (current) => Math.min(current, Math.max(renderedModels.length - 1, 0))
5715
+ );
5716
+ }, [open, renderedModels.length]);
5717
+ React10__namespace.useEffect(() => {
5718
+ if (!open) return;
5719
+ requestAnimationFrame(
5720
+ () => listRef.current?.focus({ preventScroll: true })
5721
+ );
5722
+ }, [open]);
5723
+ const handleTriggerKeyDown = (event) => {
5724
+ if (event.key === "ArrowDown" || event.key === "ArrowUp") {
5725
+ event.preventDefault();
5726
+ setOpen(true);
5727
+ }
5728
+ };
5729
+ const handleMenuKeyDown = (event) => {
5730
+ if (renderedModels.length === 0) return;
5731
+ if (event.key === "ArrowDown") {
5732
+ event.preventDefault();
5733
+ setHighlightedIndex((current) => (current + 1) % renderedModels.length);
5734
+ }
5735
+ if (event.key === "ArrowUp") {
5736
+ event.preventDefault();
5737
+ setHighlightedIndex(
5738
+ (current) => (current - 1 + renderedModels.length) % renderedModels.length
5739
+ );
5740
+ }
5741
+ if (event.key === "Home") {
5742
+ event.preventDefault();
5743
+ setHighlightedIndex(0);
5744
+ }
5745
+ if (event.key === "End") {
5746
+ event.preventDefault();
5747
+ setHighlightedIndex(renderedModels.length - 1);
5748
+ }
5749
+ if (event.key === "Enter" || event.key === " ") {
5750
+ event.preventDefault();
5751
+ const highlightedModel = renderedModels[highlightedIndex]?.option;
5752
+ if (highlightedModel) {
5753
+ selectModel(highlightedModel);
5754
+ }
5755
+ }
5756
+ };
5757
+ return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
5758
+ /* @__PURE__ */ jsxRuntime.jsxs(
5759
+ "button",
5760
+ {
5761
+ ref: triggerRef,
5762
+ type: "button",
5763
+ disabled,
5764
+ "aria-haspopup": "listbox",
5765
+ "aria-expanded": open,
5766
+ "aria-controls": open ? menuId : void 0,
5767
+ onClick: () => setOpen((current) => !current),
5768
+ onKeyDown: handleTriggerKeyDown,
5769
+ "data-slot": "composer-model-selector-trigger",
5770
+ className: chunkS5RVSXDV_cjs.cn(
5771
+ "inline-flex h-8 max-w-full items-center gap-1.5 rounded-full border px-2.5 text-sm font-medium",
5772
+ "border-border bg-background text-foreground shadow-sm",
5773
+ "hover:bg-muted/50",
5774
+ "focus-visible:ring-ring focus-visible:ring-2 focus-visible:outline-none",
5775
+ "disabled:cursor-not-allowed disabled:opacity-50",
5776
+ className
5777
+ ),
5778
+ children: [
5779
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "min-w-0 truncate", children: selectedOption?.label ?? selectedOption?.model ?? placeholder }),
5780
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronUp, { "aria-hidden": "true", className: "h-3.5 w-3.5 shrink-0" })
5781
+ ]
5782
+ }
5783
+ ),
5784
+ open && ReactDOM.createPortal(
5785
+ /* @__PURE__ */ jsxRuntime.jsxs(
5786
+ "div",
5787
+ {
5788
+ ref: menuRef,
5789
+ style: menuStyle,
5790
+ "data-slot": "composer-model-selector-menu",
5791
+ className: chunkS5RVSXDV_cjs.cn(
5792
+ "border-border bg-card text-card-foreground flex w-80 max-w-full flex-col rounded-lg border shadow-lg",
5793
+ "animate-in fade-in overflow-hidden duration-100"
5794
+ ),
5795
+ children: [
5796
+ /* @__PURE__ */ jsxRuntime.jsx(
5797
+ "div",
5798
+ {
5799
+ "data-slot": "composer-model-selector-provider-filter",
5800
+ className: "border-border flex min-h-9 items-center gap-1 overflow-x-auto overflow-y-hidden border-b p-2",
5801
+ children: [null, ...providers].map((provider) => {
5802
+ const selected = activeProviderFilter === provider;
5803
+ return /* @__PURE__ */ jsxRuntime.jsx(
5804
+ "button",
5805
+ {
5806
+ type: "button",
5807
+ "aria-pressed": selected,
5808
+ onMouseDown: (event) => event.preventDefault(),
5809
+ onClick: () => setProvider(provider),
5810
+ className: chunkS5RVSXDV_cjs.cn(
5811
+ "inline-flex h-6 shrink-0 items-center justify-center rounded-full px-2.5 text-xs font-medium whitespace-nowrap transition-colors",
5812
+ "focus-visible:ring-ring focus-visible:ring-2 focus-visible:outline-none",
5813
+ selected ? "bg-primary text-primary-foreground" : "text-muted-foreground hover:bg-muted hover:text-foreground"
5814
+ ),
5815
+ children: provider === null ? anyLabel : providerLabels.get(provider) ?? provider
5816
+ },
5817
+ provider ?? "all-providers"
5818
+ );
5819
+ })
5820
+ }
5821
+ ),
5822
+ /* @__PURE__ */ jsxRuntime.jsx(
5823
+ "div",
5824
+ {
5825
+ ref: listRef,
5826
+ id: menuId,
5827
+ role: "listbox",
5828
+ "aria-label": ariaLabel,
5829
+ "aria-activedescendant": activeOptionId,
5830
+ tabIndex: -1,
5831
+ onKeyDown: handleMenuKeyDown,
5832
+ className: "min-h-0 flex-1 overflow-y-auto p-1",
5833
+ children: groupedModels.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground px-3 py-4 text-center text-sm", children: emptyLabel }) : groupedRenderedModels.map((group) => /* @__PURE__ */ jsxRuntime.jsxs(
5834
+ "div",
5835
+ {
5836
+ role: "group",
5837
+ "aria-label": providerLabels.get(group.provider) ?? group.provider,
5838
+ children: [
5839
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground px-3 py-1.5 text-xs font-semibold uppercase", children: providerLabels.get(group.provider) ?? group.provider }),
5840
+ group.options.map((renderedModel) => {
5841
+ const { index, key, option: model } = renderedModel;
5842
+ const selected = optionKey(model) === selectedKey;
5843
+ const highlighted = index === highlightedIndex;
5844
+ return /* @__PURE__ */ jsxRuntime.jsxs(
5845
+ "button",
5846
+ {
5847
+ id: getOptionId(index),
5848
+ type: "button",
5849
+ role: "option",
5850
+ "aria-selected": selected,
5851
+ onMouseDown: (event) => event.preventDefault(),
5852
+ onClick: () => selectModel(model),
5853
+ onMouseEnter: () => setHighlightedIndex(index),
5854
+ className: chunkS5RVSXDV_cjs.cn(
5855
+ "flex w-full items-center gap-2 rounded-md px-3 py-2 text-start text-sm",
5856
+ "focus-visible:ring-ring transition-colors focus-visible:ring-2 focus-visible:outline-none",
5857
+ highlighted && "bg-muted",
5858
+ selected && "bg-primary/10 text-primary"
5859
+ ),
5860
+ children: [
5861
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "min-w-0 flex-1 truncate", children: model.label ?? model.model }),
5862
+ selected && /* @__PURE__ */ jsxRuntime.jsx(
5863
+ lucideReact.Check,
5864
+ {
5865
+ "aria-hidden": "true",
5866
+ className: "text-primary h-4 w-4 shrink-0"
5867
+ }
5868
+ )
5869
+ ]
5870
+ },
5871
+ key
5872
+ );
5873
+ })
5874
+ ]
5875
+ },
5876
+ group.provider
5877
+ ))
5878
+ }
5879
+ )
5880
+ ]
5881
+ }
5882
+ ),
5883
+ document.body
5884
+ )
5885
+ ] });
5886
+ }
5887
+ ComposerModelSelector.displayName = "ComposerModelSelector";
5565
5888
  function normalizeString(value) {
5566
5889
  return value.trim().replace(/\s+/g, " ").toLowerCase();
5567
5890
  }
@@ -6777,8 +7100,8 @@ function ConcernRow({
6777
7100
  ]
6778
7101
  }
6779
7102
  ),
6780
- !readOnly && /* @__PURE__ */ jsxRuntime.jsx(chunkBZMBCKW2_cjs.RowActionToolbar, { label: `Actions for ${current.text}`, align: "top", children: visibleActions.map((action) => /* @__PURE__ */ jsxRuntime.jsx(
6781
- chunkBZMBCKW2_cjs.RowIconButton,
7103
+ !readOnly && /* @__PURE__ */ jsxRuntime.jsx(chunk3G2HFPCC_cjs.RowActionToolbar, { label: `Actions for ${current.text}`, align: "top", children: visibleActions.map((action) => /* @__PURE__ */ jsxRuntime.jsx(
7104
+ chunk3G2HFPCC_cjs.RowIconButton,
6782
7105
  {
6783
7106
  label: ACTION_META[action].label,
6784
7107
  icon: ACTION_META[action].icon,
@@ -7207,13 +7530,13 @@ function OrderRow({
7207
7530
  ) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
7208
7531
  /* @__PURE__ */ jsxRuntime.jsx(OrderContent, { order }),
7209
7532
  interactive && /* @__PURE__ */ jsxRuntime.jsxs(
7210
- chunkBZMBCKW2_cjs.RowActionToolbar,
7533
+ chunk3G2HFPCC_cjs.RowActionToolbar,
7211
7534
  {
7212
7535
  label: `Actions for ${order.display}`,
7213
7536
  group: "order",
7214
7537
  children: [
7215
7538
  canEdit && /* @__PURE__ */ jsxRuntime.jsx(
7216
- chunkBZMBCKW2_cjs.RowIconButton,
7539
+ chunk3G2HFPCC_cjs.RowIconButton,
7217
7540
  {
7218
7541
  label: "Edit",
7219
7542
  icon: chunkPAM5UUBL_cjs.Pencil,
@@ -7224,7 +7547,7 @@ function OrderRow({
7224
7547
  (controls?.moveWithin || controls?.moveToProblem && controls.targets.some(
7225
7548
  (t) => t.concernId !== order.concernId
7226
7549
  )) && /* @__PURE__ */ jsxRuntime.jsxs(
7227
- chunkU4HA2WHA_cjs.Dropdown,
7550
+ chunkRBS3GHDZ_cjs.Dropdown,
7228
7551
  {
7229
7552
  open: menuOpen,
7230
7553
  onOpenChange: setMenuOpen,
@@ -7242,7 +7565,7 @@ function OrderRow({
7242
7565
  children: [
7243
7566
  controls?.moveWithin && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
7244
7567
  /* @__PURE__ */ jsxRuntime.jsx(
7245
- chunkU4HA2WHA_cjs.DropdownItem,
7568
+ chunkRBS3GHDZ_cjs.DropdownItem,
7246
7569
  {
7247
7570
  icon: /* @__PURE__ */ jsxRuntime.jsx(chunkPAM5UUBL_cjs.ChevronUp, { size: 14 }),
7248
7571
  onClick: pick(() => controls.moveWithin?.(order, -1)),
@@ -7250,7 +7573,7 @@ function OrderRow({
7250
7573
  }
7251
7574
  ),
7252
7575
  /* @__PURE__ */ jsxRuntime.jsx(
7253
- chunkU4HA2WHA_cjs.DropdownItem,
7576
+ chunkRBS3GHDZ_cjs.DropdownItem,
7254
7577
  {
7255
7578
  icon: /* @__PURE__ */ jsxRuntime.jsx(chunkPAM5UUBL_cjs.ChevronDown, { size: 14 }),
7256
7579
  onClick: pick(() => controls.moveWithin?.(order, 1)),
@@ -7261,9 +7584,9 @@ function OrderRow({
7261
7584
  controls?.moveToProblem && controls.targets.some(
7262
7585
  (t) => t.concernId !== order.concernId
7263
7586
  ) && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
7264
- controls.moveWithin && /* @__PURE__ */ jsxRuntime.jsx(chunkU4HA2WHA_cjs.DropdownSeparator, {}),
7587
+ controls.moveWithin && /* @__PURE__ */ jsxRuntime.jsx(chunkRBS3GHDZ_cjs.DropdownSeparator, {}),
7265
7588
  controls.targets.filter((t) => t.concernId !== order.concernId).map((t) => /* @__PURE__ */ jsxRuntime.jsxs(
7266
- chunkU4HA2WHA_cjs.DropdownItem,
7589
+ chunkRBS3GHDZ_cjs.DropdownItem,
7267
7590
  {
7268
7591
  icon: /* @__PURE__ */ jsxRuntime.jsx(chunkPAM5UUBL_cjs.Link, { size: 14 }),
7269
7592
  onClick: pick(
@@ -7281,7 +7604,7 @@ function OrderRow({
7281
7604
  }
7282
7605
  ),
7283
7606
  controls?.remove && /* @__PURE__ */ jsxRuntime.jsx(
7284
- chunkBZMBCKW2_cjs.RowIconButton,
7607
+ chunk3G2HFPCC_cjs.RowIconButton,
7285
7608
  {
7286
7609
  label: "Remove",
7287
7610
  icon: chunkPAM5UUBL_cjs.Trash2,
@@ -7449,7 +7772,7 @@ var Assessment = React10__namespace.forwardRef(
7449
7772
  null
7450
7773
  );
7451
7774
  const [announcement, setAnnouncement] = chunkYVPC65ZJ_cjs.useLiveAnnouncement();
7452
- const ambientCodeLookup = chunkBZMBCKW2_cjs.useCodeLookupConfig();
7775
+ const ambientCodeLookup = chunk3G2HFPCC_cjs.useCodeLookupConfig();
7453
7776
  const effectiveRenderOrderSearch = renderOrderSearch === false ? void 0 : renderOrderSearch ?? (ambientCodeLookup ? contextOrderSearch(ambientCodeLookup) : void 0);
7454
7777
  const concernById = React10__namespace.useMemo(
7455
7778
  () => new Map(concerns.map((c) => [c.concernId, c])),
@@ -7704,7 +8027,7 @@ var Assessment = React10__namespace.forwardRef(
7704
8027
  assertion.verificationStatus !== "confirmed" && /* @__PURE__ */ jsxRuntime.jsx(chunkYVL3XATO_cjs.Badge, { variant: "warning", size: "sm", children: assertion.verificationStatus }),
7705
8028
  /* @__PURE__ */ jsxRuntime.jsx(CodingChips, { coding: assertion.coding }),
7706
8029
  !readOnly && /* @__PURE__ */ jsxRuntime.jsx(
7707
- chunkBZMBCKW2_cjs.RowActionToolbar,
8030
+ chunk3G2HFPCC_cjs.RowActionToolbar,
7708
8031
  {
7709
8032
  label: `Actions for ${assertion.text}`,
7710
8033
  align: "top",
@@ -7714,7 +8037,7 @@ var Assessment = React10__namespace.forwardRef(
7714
8037
  if (action === "add-order" && !onAddOrder && !onAction)
7715
8038
  return null;
7716
8039
  return /* @__PURE__ */ jsxRuntime.jsx(
7717
- chunkBZMBCKW2_cjs.RowIconButton,
8040
+ chunk3G2HFPCC_cjs.RowIconButton,
7718
8041
  {
7719
8042
  label: meta.label,
7720
8043
  icon: meta.icon,
@@ -8890,7 +9213,7 @@ function ServiceSelect({
8890
9213
  }) {
8891
9214
  const [isOpen, setIsOpen] = React10__namespace.useState(false);
8892
9215
  const dropdownRef = React10__namespace.useRef(null);
8893
- const { anchorRef, floatingRef, style } = chunkZDEYV373_cjs.useAnchoredPosition({ open: isOpen, matchWidth: true, maxHeight: 240 });
9216
+ const { anchorRef, floatingRef, style } = chunkMYFZYUPR_cjs.useAnchoredPosition({ open: isOpen, matchWidth: true, maxHeight: 240 });
8894
9217
  const outsideRefs = React10__namespace.useMemo(
8895
9218
  () => [dropdownRef, floatingRef],
8896
9219
  [floatingRef]
@@ -10355,7 +10678,7 @@ function BusinessHoursEditor({
10355
10678
  ),
10356
10679
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
10357
10680
  hours.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
10358
- chunkU4HA2WHA_cjs.Dropdown,
10681
+ chunkRBS3GHDZ_cjs.Dropdown,
10359
10682
  {
10360
10683
  placement: "bottom-end",
10361
10684
  trigger: /* @__PURE__ */ jsxRuntime.jsxs(
@@ -10374,7 +10697,7 @@ function BusinessHoursEditor({
10374
10697
  ),
10375
10698
  children: [
10376
10699
  /* @__PURE__ */ jsxRuntime.jsx(
10377
- chunkU4HA2WHA_cjs.DropdownItem,
10700
+ chunkRBS3GHDZ_cjs.DropdownItem,
10378
10701
  {
10379
10702
  onClick: () => handleCopyToAll(dayIndex),
10380
10703
  disabled,
@@ -10382,7 +10705,7 @@ function BusinessHoursEditor({
10382
10705
  }
10383
10706
  ),
10384
10707
  /* @__PURE__ */ jsxRuntime.jsx(
10385
- chunkU4HA2WHA_cjs.DropdownItem,
10708
+ chunkRBS3GHDZ_cjs.DropdownItem,
10386
10709
  {
10387
10710
  onClick: () => handleCopyToWeekdays(dayIndex),
10388
10711
  disabled,
@@ -10711,7 +11034,7 @@ function ConditionEditor({
10711
11034
  "data-testid": dataTestId
10712
11035
  }) {
10713
11036
  const prior = concern ? currentAssertion(concern) : void 0;
10714
- const ambientCodeLookup = chunkBZMBCKW2_cjs.useCodeLookupConfig();
11037
+ const ambientCodeLookup = chunk3G2HFPCC_cjs.useCodeLookupConfig();
10715
11038
  const effectiveRenderCodeSearch = renderCodeSearch === false ? void 0 : renderCodeSearch ?? (ambientCodeLookup ? contextConditionCodeSearch(ambientCodeLookup) : void 0);
10716
11039
  const [text, setText] = React10__namespace.useState("");
10717
11040
  const [coding, setCoding] = React10__namespace.useState([]);
@@ -10843,7 +11166,7 @@ function ConditionEditor({
10843
11166
  ),
10844
11167
  mode === "relate" ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
10845
11168
  /* @__PURE__ */ jsxRuntime.jsx(
10846
- chunkOJEXXH5D_cjs.Select,
11169
+ chunkZBI52NP2_cjs.Select,
10847
11170
  {
10848
11171
  label: "Relationship",
10849
11172
  options: RELATIONSHIP_OPTIONS,
@@ -10852,7 +11175,7 @@ function ConditionEditor({
10852
11175
  }
10853
11176
  ),
10854
11177
  /* @__PURE__ */ jsxRuntime.jsx(
10855
- chunkOJEXXH5D_cjs.Select,
11178
+ chunkZBI52NP2_cjs.Select,
10856
11179
  {
10857
11180
  label: "Related problem",
10858
11181
  placeholder: "Select a problem\u2026",
@@ -10954,7 +11277,7 @@ function ConditionEditor({
10954
11277
  coding.length === 0 && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground text-xs", children: "Optional \u2014 a name-only problem is valid. Codes can be added any time." }),
10955
11278
  coding.map((c, i) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-wrap items-center gap-1.5", children: [
10956
11279
  /* @__PURE__ */ jsxRuntime.jsx(
10957
- chunkOJEXXH5D_cjs.Select,
11280
+ chunkZBI52NP2_cjs.Select,
10958
11281
  {
10959
11282
  "aria-label": `Coding system ${i + 1}`,
10960
11283
  options: CODING_SYSTEMS.map((s) => ({
@@ -11019,7 +11342,7 @@ function ConditionEditor({
11019
11342
  ] }, i))
11020
11343
  ] }),
11021
11344
  /* @__PURE__ */ jsxRuntime.jsx(
11022
- chunkOJEXXH5D_cjs.Select,
11345
+ chunkZBI52NP2_cjs.Select,
11023
11346
  {
11024
11347
  label: "Verification status",
11025
11348
  options: VERIFICATION_OPTIONS,
@@ -11704,7 +12027,7 @@ function CheckrIntegration({
11704
12027
  }
11705
12028
  ),
11706
12029
  /* @__PURE__ */ jsxRuntime.jsx(
11707
- chunkOJEXXH5D_cjs.Select,
12030
+ chunkZBI52NP2_cjs.Select,
11708
12031
  {
11709
12032
  label: packageLabel,
11710
12033
  options: packageOptions,
@@ -13006,7 +13329,7 @@ function ViewModalActions({
13006
13329
  anchorRef: shareAnchorRef,
13007
13330
  floatingRef: shareFloatingRef,
13008
13331
  style: shareStyle
13009
- } = chunkZDEYV373_cjs.useAnchoredPosition({
13332
+ } = chunkMYFZYUPR_cjs.useAnchoredPosition({
13010
13333
  open: shareOpen
13011
13334
  });
13012
13335
  const shareOutsideRefs = React10__namespace.useMemo(
@@ -13186,7 +13509,7 @@ var CountBadge = React10__namespace.forwardRef(
13186
13509
  anchorRef,
13187
13510
  floatingRef,
13188
13511
  style: menuStyle
13189
- } = chunkZDEYV373_cjs.useAnchoredPosition({
13512
+ } = chunkMYFZYUPR_cjs.useAnchoredPosition({
13190
13513
  open: Boolean(showMenu && open),
13191
13514
  placement: "bottom-end",
13192
13515
  offset: 8
@@ -14123,7 +14446,7 @@ function CSVColumnCard({
14123
14446
  hasError && !column.ignored && "ring-warning-700/50 dark:ring-warning-400/50 ring-2"
14124
14447
  ),
14125
14448
  children: /* @__PURE__ */ jsxRuntime.jsx(
14126
- chunkOJEXXH5D_cjs.Select,
14449
+ chunkZBI52NP2_cjs.Select,
14127
14450
  {
14128
14451
  id: formatHtmlId(column.name),
14129
14452
  label: `Map ${column.name} to field`,
@@ -14152,7 +14475,7 @@ function CSVColumnCard({
14152
14475
  }
14153
14476
  ),
14154
14477
  /* @__PURE__ */ jsxRuntime.jsx(
14155
- chunkOJEXXH5D_cjs.Select,
14478
+ chunkZBI52NP2_cjs.Select,
14156
14479
  {
14157
14480
  id: formatHtmlId(column.name, column.mappedTo),
14158
14481
  label: `${column.name} sub-field`,
@@ -14963,7 +15286,7 @@ function DateRangePicker({
14963
15286
  },
14964
15287
  isCalendarOpen
14965
15288
  );
14966
- const { anchorRef, floatingRef, style } = chunkZDEYV373_cjs.useAnchoredPosition({
15289
+ const { anchorRef, floatingRef, style } = chunkMYFZYUPR_cjs.useAnchoredPosition({
14967
15290
  open: !isMobileVariant && isCalendarOpen,
14968
15291
  placement: resolvedAlign === "end" ? "bottom-end" : "bottom-start"
14969
15292
  });
@@ -15503,7 +15826,7 @@ function DateRangeFilter({
15503
15826
  onChange(range, presetKey);
15504
15827
  };
15505
15828
  return /* @__PURE__ */ jsxRuntime.jsx(
15506
- chunkU4HA2WHA_cjs.Dropdown,
15829
+ chunkRBS3GHDZ_cjs.Dropdown,
15507
15830
  {
15508
15831
  trigger: /* @__PURE__ */ jsxRuntime.jsxs(chunkM26KJKZG_cjs.Button, { variant, size: "md", className, children: [
15509
15832
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Calendar, { className: "mr-2 h-4 w-4" }),
@@ -15513,7 +15836,7 @@ function DateRangeFilter({
15513
15836
  className: "w-56",
15514
15837
  "data-slot": "date-range-filter",
15515
15838
  children: finalPresets.map((preset) => /* @__PURE__ */ jsxRuntime.jsx(
15516
- chunkU4HA2WHA_cjs.DropdownItem,
15839
+ chunkRBS3GHDZ_cjs.DropdownItem,
15517
15840
  {
15518
15841
  onClick: () => handlePresetSelect(preset.key),
15519
15842
  className: chunkS5RVSXDV_cjs.cn(
@@ -17432,7 +17755,7 @@ function ClaimProviderForm({
17432
17755
  }
17433
17756
  ),
17434
17757
  /* @__PURE__ */ jsxRuntime.jsx(
17435
- chunkOJEXXH5D_cjs.Select,
17758
+ chunkZBI52NP2_cjs.Select,
17436
17759
  {
17437
17760
  label: "Role at this Organization",
17438
17761
  value: formData.role,
@@ -17462,7 +17785,7 @@ function ClaimProviderForm({
17462
17785
  "data-slot": "claim-form-section",
17463
17786
  className: "space-y-4 border-t border-gray-200 pt-4 dark:border-gray-700",
17464
17787
  children: /* @__PURE__ */ jsxRuntime.jsx(
17465
- chunkOJEXXH5D_cjs.Select,
17788
+ chunkZBI52NP2_cjs.Select,
17466
17789
  {
17467
17790
  label: "Preferred Language",
17468
17791
  value: formData.preferredLanguage || "en",
@@ -17707,7 +18030,7 @@ function CreateInvoiceModal({
17707
18030
  }
17708
18031
  ),
17709
18032
  /* @__PURE__ */ jsxRuntime.jsx(
17710
- chunkOJEXXH5D_cjs.Select,
18033
+ chunkZBI52NP2_cjs.Select,
17711
18034
  {
17712
18035
  label: "Employer",
17713
18036
  options: employerOptions,
@@ -18398,7 +18721,7 @@ function EditUserRoleModal({
18398
18721
  )
18399
18722
  ] }) }),
18400
18723
  /* @__PURE__ */ jsxRuntime.jsx(
18401
- chunkOJEXXH5D_cjs.Select,
18724
+ chunkZBI52NP2_cjs.Select,
18402
18725
  {
18403
18726
  label: "Role",
18404
18727
  value: selectedRoleId,
@@ -18665,7 +18988,7 @@ function EmployeeForm({
18665
18988
  }
18666
18989
  ),
18667
18990
  /* @__PURE__ */ jsxRuntime.jsx(
18668
- chunkOJEXXH5D_cjs.Select,
18991
+ chunkZBI52NP2_cjs.Select,
18669
18992
  {
18670
18993
  label: selectDepartments,
18671
18994
  value: selectedDepartments[0] ?? "",
@@ -18780,7 +19103,7 @@ function EmployeeForm({
18780
19103
  }
18781
19104
  ) }),
18782
19105
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-32", children: /* @__PURE__ */ jsxRuntime.jsx(
18783
- chunkOJEXXH5D_cjs.Select,
19106
+ chunkZBI52NP2_cjs.Select,
18784
19107
  {
18785
19108
  label: index === 0 ? "Type" : void 0,
18786
19109
  "aria-label": index > 0 ? "Phone type" : void 0,
@@ -22804,7 +23127,7 @@ function InviteUserModal({
22804
23127
  }
22805
23128
  ),
22806
23129
  /* @__PURE__ */ jsxRuntime.jsx(
22807
- chunkOJEXXH5D_cjs.Select,
23130
+ chunkZBI52NP2_cjs.Select,
22808
23131
  {
22809
23132
  label: "Role",
22810
23133
  value: roleId,
@@ -23998,7 +24321,7 @@ function LanguageSelector({
23998
24321
  }) {
23999
24322
  const [isOpen, setIsOpen] = React10__namespace.useState(false);
24000
24323
  const containerRef = React10__namespace.useRef(null);
24001
- const { anchorRef, floatingRef, style } = chunkZDEYV373_cjs.useAnchoredPosition({ open: isOpen, matchMinWidth: true, maxHeight: 240 });
24324
+ const { anchorRef, floatingRef, style } = chunkMYFZYUPR_cjs.useAnchoredPosition({ open: isOpen, matchMinWidth: true, maxHeight: 240 });
24002
24325
  const selectedLanguage = languages.find((l) => l.code === value);
24003
24326
  const outsideRefs = React10__namespace.useMemo(
24004
24327
  () => [containerRef, floatingRef],
@@ -26264,7 +26587,7 @@ var defaultOrderTabs = [
26264
26587
  { id: "rejected", label: "Rejected", statuses: ["rejected", "cancelled"] }
26265
26588
  ];
26266
26589
  function orderToMedication(order) {
26267
- const sig = order.detail ? chunkBZMBCKW2_cjs.parseSig(order.detail) : void 0;
26590
+ const sig = order.detail ? chunk3G2HFPCC_cjs.parseSig(order.detail) : void 0;
26268
26591
  return {
26269
26592
  id: order.orderId,
26270
26593
  name: order.display,
@@ -26272,7 +26595,7 @@ function orderToMedication(order) {
26272
26595
  status: "unreconciled",
26273
26596
  indication: order.indication,
26274
26597
  pharmacyNotes: order.notes,
26275
- ...chunkBZMBCKW2_cjs.labelToMedicationFields(order.display),
26598
+ ...chunk3G2HFPCC_cjs.labelToMedicationFields(order.display),
26276
26599
  ...sig && {
26277
26600
  route: sig.route,
26278
26601
  frequency: sig.frequency,
@@ -26343,7 +26666,7 @@ function BaseOrderEditor({
26343
26666
  onSave
26344
26667
  }) {
26345
26668
  const config = TYPE_CONFIG[type];
26346
- const ambientCodeLookup = chunkBZMBCKW2_cjs.useCodeLookupConfig();
26669
+ const ambientCodeLookup = chunk3G2HFPCC_cjs.useCodeLookupConfig();
26347
26670
  const effectiveCodeLookup = codeLookup === false ? void 0 : codeLookup ?? ambientCodeLookup ?? void 0;
26348
26671
  const [draft, setDraft] = React10__namespace.useState(
26349
26672
  () => order ?? {
@@ -26542,7 +26865,7 @@ function OrderEditor({
26542
26865
  display: ""
26543
26866
  };
26544
26867
  return /* @__PURE__ */ jsxRuntime.jsx(
26545
- chunkBZMBCKW2_cjs.MedicationEditor,
26868
+ chunk3G2HFPCC_cjs.MedicationEditor,
26546
26869
  {
26547
26870
  open,
26548
26871
  medication: order ? orderToMedication(order) : void 0,
@@ -27117,7 +27440,7 @@ function PatientOverflowMenu({
27117
27440
  }) {
27118
27441
  const [open, setOpen] = React10__namespace.useState(false);
27119
27442
  const menuRef = React10__namespace.useRef(null);
27120
- const { anchorRef, floatingRef, style } = chunkZDEYV373_cjs.useAnchoredPosition({ open, placement: "bottom-end" });
27443
+ const { anchorRef, floatingRef, style } = chunkMYFZYUPR_cjs.useAnchoredPosition({ open, placement: "bottom-end" });
27121
27444
  const outsideRefs = React10__namespace.useMemo(
27122
27445
  () => [menuRef, floatingRef],
27123
27446
  [floatingRef]
@@ -29195,7 +29518,7 @@ function RelevanceControl({
29195
29518
  {
29196
29519
  role: "toolbar",
29197
29520
  "aria-label": `Relevance for ${labelPrefix}`,
29198
- onKeyDown: chunkBZMBCKW2_cjs.toolbarKeyNav,
29521
+ onKeyDown: chunk3G2HFPCC_cjs.toolbarKeyNav,
29199
29522
  className: "border-border flex shrink-0 items-center overflow-hidden rounded-md border",
29200
29523
  children: RELEVANCE_ORDER.map((relevance) => {
29201
29524
  const active = value === relevance;
@@ -32052,7 +32375,7 @@ function ServiceMultiSelect({
32052
32375
  const containerRef = React10__namespace.useRef(null);
32053
32376
  const inputRef = React10__namespace.useRef(null);
32054
32377
  const listboxId = React10__namespace.useId();
32055
- const { anchorRef, floatingRef, style } = chunkZDEYV373_cjs.useAnchoredPosition({ open: isOpen, matchWidth: true, maxHeight: 240 });
32378
+ const { anchorRef, floatingRef, style } = chunkMYFZYUPR_cjs.useAnchoredPosition({ open: isOpen, matchWidth: true, maxHeight: 240 });
32056
32379
  const outsideRefs = React10__namespace.useMemo(
32057
32380
  () => [containerRef, floatingRef],
32058
32381
  [floatingRef]
@@ -32593,7 +32916,7 @@ function ProviderSelector({
32593
32916
  const [isOpen, setIsOpen] = React10__namespace.useState(false);
32594
32917
  const [searchQuery, setSearchQuery] = React10__namespace.useState("");
32595
32918
  const containerRef = React10__namespace.useRef(null);
32596
- const { anchorRef, floatingRef, style } = chunkZDEYV373_cjs.useAnchoredPosition({ open: isOpen, matchWidth: true });
32919
+ const { anchorRef, floatingRef, style } = chunkMYFZYUPR_cjs.useAnchoredPosition({ open: isOpen, matchWidth: true });
32597
32920
  const outsideRefs = React10__namespace.useMemo(
32598
32921
  () => [containerRef, floatingRef],
32599
32922
  [floatingRef]
@@ -33602,7 +33925,7 @@ function RowActionsMenu({
33602
33925
  const showRemove = onRemove && !isCurrentUser;
33603
33926
  const needsSeparator = (showResend || onEditRole) && showRemove;
33604
33927
  return /* @__PURE__ */ jsxRuntime.jsxs(
33605
- chunkU4HA2WHA_cjs.Dropdown,
33928
+ chunkRBS3GHDZ_cjs.Dropdown,
33606
33929
  {
33607
33930
  trigger: /* @__PURE__ */ jsxRuntime.jsx(
33608
33931
  chunkM26KJKZG_cjs.Button,
@@ -33618,7 +33941,7 @@ function RowActionsMenu({
33618
33941
  placement: "bottom-end",
33619
33942
  children: [
33620
33943
  showResend && /* @__PURE__ */ jsxRuntime.jsx(
33621
- chunkU4HA2WHA_cjs.DropdownItem,
33944
+ chunkRBS3GHDZ_cjs.DropdownItem,
33622
33945
  {
33623
33946
  icon: /* @__PURE__ */ jsxRuntime.jsx(chunkPAM5UUBL_cjs.Send, { size: 14 }),
33624
33947
  onClick: () => onResendInvite?.(user),
@@ -33626,16 +33949,16 @@ function RowActionsMenu({
33626
33949
  }
33627
33950
  ),
33628
33951
  onEditRole && /* @__PURE__ */ jsxRuntime.jsx(
33629
- chunkU4HA2WHA_cjs.DropdownItem,
33952
+ chunkRBS3GHDZ_cjs.DropdownItem,
33630
33953
  {
33631
33954
  icon: /* @__PURE__ */ jsxRuntime.jsx(chunkPAM5UUBL_cjs.Pencil, { size: 14 }),
33632
33955
  onClick: () => onEditRole(user),
33633
33956
  children: "Edit Role"
33634
33957
  }
33635
33958
  ),
33636
- needsSeparator && /* @__PURE__ */ jsxRuntime.jsx(chunkU4HA2WHA_cjs.DropdownSeparator, {}),
33959
+ needsSeparator && /* @__PURE__ */ jsxRuntime.jsx(chunkRBS3GHDZ_cjs.DropdownSeparator, {}),
33637
33960
  showRemove && /* @__PURE__ */ jsxRuntime.jsx(
33638
- chunkU4HA2WHA_cjs.DropdownItem,
33961
+ chunkRBS3GHDZ_cjs.DropdownItem,
33639
33962
  {
33640
33963
  variant: "danger",
33641
33964
  icon: /* @__PURE__ */ jsxRuntime.jsx(chunkPAM5UUBL_cjs.Trash2, { size: 14 }),
@@ -34658,7 +34981,7 @@ function ReportDashboard({
34658
34981
  ] }),
34659
34982
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
34660
34983
  /* @__PURE__ */ jsxRuntime.jsx(
34661
- chunkOJEXXH5D_cjs.Select,
34984
+ chunkZBI52NP2_cjs.Select,
34662
34985
  {
34663
34986
  "aria-label": "Date range",
34664
34987
  options: Array.isArray(dateRangeOptions) && dateRangeOptions.every(
@@ -37008,7 +37331,7 @@ function ServiceGeneralSettings({
37008
37331
  }
37009
37332
  ),
37010
37333
  categories.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
37011
- chunkOJEXXH5D_cjs.Select,
37334
+ chunkZBI52NP2_cjs.Select,
37012
37335
  {
37013
37336
  label: "Category",
37014
37337
  value: categoryId || "",
@@ -38163,7 +38486,7 @@ function ServiceShippingSettings({
38163
38486
  "data-slot": "shipping-settings-content",
38164
38487
  children: [
38165
38488
  shippingMethods.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
38166
- chunkOJEXXH5D_cjs.Select,
38489
+ chunkZBI52NP2_cjs.Select,
38167
38490
  {
38168
38491
  label: "Shipping Method",
38169
38492
  value: selectedMethodId || "",
@@ -38245,7 +38568,7 @@ function ServiceShippingSettings({
38245
38568
  }
38246
38569
  ) }),
38247
38570
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "col-span-1", children: /* @__PURE__ */ jsxRuntime.jsx(
38248
- chunkOJEXXH5D_cjs.Select,
38571
+ chunkZBI52NP2_cjs.Select,
38249
38572
  {
38250
38573
  label: "State",
38251
38574
  value: address.state,
@@ -38373,7 +38696,7 @@ function SetupServiceModal({
38373
38696
  }
38374
38697
  ),
38375
38698
  showServicePicker && availableServices.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
38376
- chunkOJEXXH5D_cjs.Select,
38699
+ chunkZBI52NP2_cjs.Select,
38377
38700
  {
38378
38701
  label: "Select Service",
38379
38702
  value: formData.serviceId || "",
@@ -38421,7 +38744,7 @@ function SetupServiceModal({
38421
38744
  )
38422
38745
  ] }),
38423
38746
  categories.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
38424
- chunkOJEXXH5D_cjs.Select,
38747
+ chunkZBI52NP2_cjs.Select,
38425
38748
  {
38426
38749
  label: "Category",
38427
38750
  value: formData.categoryId || "",
@@ -42316,7 +42639,7 @@ function WebChartReportViewer({
42316
42639
  ":"
42317
42640
  ] }),
42318
42641
  /* @__PURE__ */ jsxRuntime.jsx(
42319
- chunkEDBGSGUK_cjs.DateInput,
42642
+ chunkGLRLOJMV_cjs.DateInput,
42320
42643
  {
42321
42644
  size: "sm",
42322
42645
  showCalendar: true,
@@ -42330,7 +42653,7 @@ function WebChartReportViewer({
42330
42653
  ":"
42331
42654
  ] }),
42332
42655
  /* @__PURE__ */ jsxRuntime.jsx(
42333
- chunkEDBGSGUK_cjs.DateInput,
42656
+ chunkGLRLOJMV_cjs.DateInput,
42334
42657
  {
42335
42658
  size: "sm",
42336
42659
  showCalendar: true,
@@ -42464,7 +42787,7 @@ function ReportTimeRange({
42464
42787
  className: chunkS5RVSXDV_cjs.cn("flex flex-wrap items-center gap-3", className),
42465
42788
  children: [
42466
42789
  /* @__PURE__ */ jsxRuntime.jsx(
42467
- chunkOJEXXH5D_cjs.Select,
42790
+ chunkZBI52NP2_cjs.Select,
42468
42791
  {
42469
42792
  "aria-label": "Time range",
42470
42793
  value: preset,
@@ -42475,7 +42798,7 @@ function ReportTimeRange({
42475
42798
  ),
42476
42799
  preset === "custom" && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
42477
42800
  /* @__PURE__ */ jsxRuntime.jsx(
42478
- chunkEDBGSGUK_cjs.DateInput,
42801
+ chunkGLRLOJMV_cjs.DateInput,
42479
42802
  {
42480
42803
  size: "sm",
42481
42804
  showCalendar: true,
@@ -42486,7 +42809,7 @@ function ReportTimeRange({
42486
42809
  ),
42487
42810
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground", children: "to" }),
42488
42811
  /* @__PURE__ */ jsxRuntime.jsx(
42489
- chunkEDBGSGUK_cjs.DateInput,
42812
+ chunkGLRLOJMV_cjs.DateInput,
42490
42813
  {
42491
42814
  size: "sm",
42492
42815
  showCalendar: true,
@@ -43066,163 +43389,163 @@ Object.defineProperty(exports, "getToolIcon", {
43066
43389
  });
43067
43390
  Object.defineProperty(exports, "AttachmentPreview", {
43068
43391
  enumerable: true,
43069
- get: function () { return chunkYXHX2DAK_cjs.AttachmentPreview; }
43392
+ get: function () { return chunkRYQ3S3KO_cjs.AttachmentPreview; }
43070
43393
  });
43071
43394
  Object.defineProperty(exports, "ConversationHeader", {
43072
43395
  enumerable: true,
43073
- get: function () { return chunkYXHX2DAK_cjs.ConversationHeader; }
43396
+ get: function () { return chunkRYQ3S3KO_cjs.ConversationHeader; }
43074
43397
  });
43075
43398
  Object.defineProperty(exports, "ConversationListItem", {
43076
43399
  enumerable: true,
43077
- get: function () { return chunkYXHX2DAK_cjs.ConversationListItem; }
43400
+ get: function () { return chunkRYQ3S3KO_cjs.ConversationListItem; }
43078
43401
  });
43079
43402
  Object.defineProperty(exports, "ConversationListSkeleton", {
43080
43403
  enumerable: true,
43081
- get: function () { return chunkYXHX2DAK_cjs.ConversationListSkeleton; }
43404
+ get: function () { return chunkRYQ3S3KO_cjs.ConversationListSkeleton; }
43082
43405
  });
43083
43406
  Object.defineProperty(exports, "DateSeparator", {
43084
43407
  enumerable: true,
43085
- get: function () { return chunkYXHX2DAK_cjs.DateSeparator; }
43408
+ get: function () { return chunkRYQ3S3KO_cjs.DateSeparator; }
43086
43409
  });
43087
43410
  Object.defineProperty(exports, "EmptyState", {
43088
43411
  enumerable: true,
43089
- get: function () { return chunkYXHX2DAK_cjs.EmptyState; }
43412
+ get: function () { return chunkRYQ3S3KO_cjs.EmptyState; }
43090
43413
  });
43091
43414
  Object.defineProperty(exports, "LightboxModal", {
43092
43415
  enumerable: true,
43093
- get: function () { return chunkYXHX2DAK_cjs.LightboxModal; }
43416
+ get: function () { return chunkRYQ3S3KO_cjs.LightboxModal; }
43094
43417
  });
43095
43418
  Object.defineProperty(exports, "LoadMoreButton", {
43096
43419
  enumerable: true,
43097
- get: function () { return chunkYXHX2DAK_cjs.LoadMoreButton; }
43420
+ get: function () { return chunkRYQ3S3KO_cjs.LoadMoreButton; }
43098
43421
  });
43099
43422
  Object.defineProperty(exports, "MessageBubble", {
43100
43423
  enumerable: true,
43101
- get: function () { return chunkYXHX2DAK_cjs.MessageBubble; }
43424
+ get: function () { return chunkRYQ3S3KO_cjs.MessageBubble; }
43102
43425
  });
43103
43426
  Object.defineProperty(exports, "MessageList", {
43104
43427
  enumerable: true,
43105
- get: function () { return chunkYXHX2DAK_cjs.MessageList; }
43428
+ get: function () { return chunkRYQ3S3KO_cjs.MessageList; }
43106
43429
  });
43107
43430
  Object.defineProperty(exports, "MessageStatusIcon", {
43108
43431
  enumerable: true,
43109
- get: function () { return chunkYXHX2DAK_cjs.MessageStatusIcon; }
43432
+ get: function () { return chunkRYQ3S3KO_cjs.MessageStatusIcon; }
43110
43433
  });
43111
43434
  Object.defineProperty(exports, "MessageThread", {
43112
43435
  enumerable: true,
43113
- get: function () { return chunkYXHX2DAK_cjs.MessageThread; }
43436
+ get: function () { return chunkRYQ3S3KO_cjs.MessageThread; }
43114
43437
  });
43115
43438
  Object.defineProperty(exports, "MessagingSplitView", {
43116
43439
  enumerable: true,
43117
- get: function () { return chunkYXHX2DAK_cjs.MessagingSplitView; }
43440
+ get: function () { return chunkRYQ3S3KO_cjs.MessagingSplitView; }
43118
43441
  });
43119
43442
  Object.defineProperty(exports, "ReadReceiptIndicator", {
43120
43443
  enumerable: true,
43121
- get: function () { return chunkYXHX2DAK_cjs.ReadReceiptIndicator; }
43444
+ get: function () { return chunkRYQ3S3KO_cjs.ReadReceiptIndicator; }
43122
43445
  });
43123
43446
  Object.defineProperty(exports, "SkeletonMessage", {
43124
43447
  enumerable: true,
43125
- get: function () { return chunkYXHX2DAK_cjs.SkeletonMessage; }
43448
+ get: function () { return chunkRYQ3S3KO_cjs.SkeletonMessage; }
43126
43449
  });
43127
43450
  Object.defineProperty(exports, "TypingIndicator", {
43128
43451
  enumerable: true,
43129
- get: function () { return chunkYXHX2DAK_cjs.TypingIndicator; }
43452
+ get: function () { return chunkRYQ3S3KO_cjs.TypingIndicator; }
43130
43453
  });
43131
43454
  Object.defineProperty(exports, "bubbleVariants", {
43132
43455
  enumerable: true,
43133
- get: function () { return chunkYXHX2DAK_cjs.bubbleVariants; }
43456
+ get: function () { return chunkRYQ3S3KO_cjs.bubbleVariants; }
43134
43457
  });
43135
43458
  Object.defineProperty(exports, "formatDateLabel", {
43136
43459
  enumerable: true,
43137
- get: function () { return chunkYXHX2DAK_cjs.formatDateLabel; }
43460
+ get: function () { return chunkRYQ3S3KO_cjs.formatDateLabel; }
43138
43461
  });
43139
43462
  Object.defineProperty(exports, "formatFileSize", {
43140
43463
  enumerable: true,
43141
- get: function () { return chunkYXHX2DAK_cjs.formatFileSize; }
43464
+ get: function () { return chunkRYQ3S3KO_cjs.formatFileSize; }
43142
43465
  });
43143
43466
  Object.defineProperty(exports, "formatLastSeen", {
43144
43467
  enumerable: true,
43145
- get: function () { return chunkYXHX2DAK_cjs.formatLastSeen; }
43468
+ get: function () { return chunkRYQ3S3KO_cjs.formatLastSeen; }
43146
43469
  });
43147
43470
  Object.defineProperty(exports, "getConversationSubtitle", {
43148
43471
  enumerable: true,
43149
- get: function () { return chunkYXHX2DAK_cjs.getConversationSubtitle; }
43472
+ get: function () { return chunkRYQ3S3KO_cjs.getConversationSubtitle; }
43150
43473
  });
43151
43474
  Object.defineProperty(exports, "getConversationTitle", {
43152
43475
  enumerable: true,
43153
- get: function () { return chunkYXHX2DAK_cjs.getConversationTitle; }
43476
+ get: function () { return chunkRYQ3S3KO_cjs.getConversationTitle; }
43154
43477
  });
43155
43478
  Object.defineProperty(exports, "groupMessagesByDate", {
43156
43479
  enumerable: true,
43157
- get: function () { return chunkYXHX2DAK_cjs.groupMessagesByDate; }
43480
+ get: function () { return chunkRYQ3S3KO_cjs.groupMessagesByDate; }
43158
43481
  });
43159
43482
  Object.defineProperty(exports, "headerVariants", {
43160
43483
  enumerable: true,
43161
- get: function () { return chunkYXHX2DAK_cjs.headerVariants; }
43484
+ get: function () { return chunkRYQ3S3KO_cjs.headerVariants; }
43162
43485
  });
43163
43486
  Object.defineProperty(exports, "isSameSenderGroup", {
43164
43487
  enumerable: true,
43165
- get: function () { return chunkYXHX2DAK_cjs.isSameSenderGroup; }
43488
+ get: function () { return chunkRYQ3S3KO_cjs.isSameSenderGroup; }
43166
43489
  });
43167
43490
  Object.defineProperty(exports, "useMessageScroll", {
43168
43491
  enumerable: true,
43169
- get: function () { return chunkYXHX2DAK_cjs.useMessageScroll; }
43492
+ get: function () { return chunkRYQ3S3KO_cjs.useMessageScroll; }
43170
43493
  });
43171
43494
  Object.defineProperty(exports, "useMessages", {
43172
43495
  enumerable: true,
43173
- get: function () { return chunkYXHX2DAK_cjs.useMessages; }
43496
+ get: function () { return chunkRYQ3S3KO_cjs.useMessages; }
43174
43497
  });
43175
43498
  Object.defineProperty(exports, "useReadReceipts", {
43176
43499
  enumerable: true,
43177
- get: function () { return chunkYXHX2DAK_cjs.useReadReceipts; }
43500
+ get: function () { return chunkRYQ3S3KO_cjs.useReadReceipts; }
43178
43501
  });
43179
43502
  Object.defineProperty(exports, "useTypingIndicator", {
43180
43503
  enumerable: true,
43181
- get: function () { return chunkYXHX2DAK_cjs.useTypingIndicator; }
43504
+ get: function () { return chunkRYQ3S3KO_cjs.useTypingIndicator; }
43182
43505
  });
43183
43506
  Object.defineProperty(exports, "AttachmentPicker", {
43184
43507
  enumerable: true,
43185
- get: function () { return chunkXCVBCY7L_cjs.AttachmentPicker; }
43508
+ get: function () { return chunk26DPQUSB_cjs.AttachmentPicker; }
43186
43509
  });
43187
43510
  Object.defineProperty(exports, "AttachmentPreviewItem", {
43188
43511
  enumerable: true,
43189
- get: function () { return chunkXCVBCY7L_cjs.AttachmentPreviewItem; }
43512
+ get: function () { return chunk26DPQUSB_cjs.AttachmentPreviewItem; }
43190
43513
  });
43191
43514
  Object.defineProperty(exports, "CameraButton", {
43192
43515
  enumerable: true,
43193
- get: function () { return chunkXCVBCY7L_cjs.CameraButton; }
43516
+ get: function () { return chunk26DPQUSB_cjs.CameraButton; }
43194
43517
  });
43195
43518
  Object.defineProperty(exports, "CharacterCounter", {
43196
43519
  enumerable: true,
43197
- get: function () { return chunkXCVBCY7L_cjs.CharacterCounter; }
43520
+ get: function () { return chunk26DPQUSB_cjs.CharacterCounter; }
43198
43521
  });
43199
43522
  Object.defineProperty(exports, "DragDropZone", {
43200
43523
  enumerable: true,
43201
- get: function () { return chunkXCVBCY7L_cjs.DragDropZone; }
43524
+ get: function () { return chunk26DPQUSB_cjs.DragDropZone; }
43202
43525
  });
43203
43526
  Object.defineProperty(exports, "MessageComposer", {
43204
43527
  enumerable: true,
43205
- get: function () { return chunkXCVBCY7L_cjs.MessageComposer; }
43528
+ get: function () { return chunk26DPQUSB_cjs.MessageComposer; }
43206
43529
  });
43207
43530
  Object.defineProperty(exports, "SendButton", {
43208
43531
  enumerable: true,
43209
- get: function () { return chunkXCVBCY7L_cjs.SendButton; }
43532
+ get: function () { return chunk26DPQUSB_cjs.SendButton; }
43210
43533
  });
43211
43534
  Object.defineProperty(exports, "generateAttachmentId", {
43212
43535
  enumerable: true,
43213
- get: function () { return chunkXCVBCY7L_cjs.generateAttachmentId; }
43536
+ get: function () { return chunk26DPQUSB_cjs.generateAttachmentId; }
43214
43537
  });
43215
43538
  Object.defineProperty(exports, "getFileType", {
43216
43539
  enumerable: true,
43217
- get: function () { return chunkXCVBCY7L_cjs.getFileType; }
43540
+ get: function () { return chunk26DPQUSB_cjs.getFileType; }
43218
43541
  });
43219
43542
  Object.defineProperty(exports, "sendButtonVariants", {
43220
43543
  enumerable: true,
43221
- get: function () { return chunkXCVBCY7L_cjs.sendButtonVariants; }
43544
+ get: function () { return chunk26DPQUSB_cjs.sendButtonVariants; }
43222
43545
  });
43223
43546
  Object.defineProperty(exports, "validateFile", {
43224
43547
  enumerable: true,
43225
- get: function () { return chunkXCVBCY7L_cjs.validateFile; }
43548
+ get: function () { return chunk26DPQUSB_cjs.validateFile; }
43226
43549
  });
43227
43550
  Object.defineProperty(exports, "PhoneInput", {
43228
43551
  enumerable: true,
@@ -43286,15 +43609,15 @@ Object.defineProperty(exports, "recordButtonVariants", {
43286
43609
  });
43287
43610
  Object.defineProperty(exports, "RichTextEditor", {
43288
43611
  enumerable: true,
43289
- get: function () { return chunkUTCFBBOD_cjs.RichTextEditor; }
43612
+ get: function () { return chunkQI2SB6U3_cjs.RichTextEditor; }
43290
43613
  });
43291
43614
  Object.defineProperty(exports, "convertAngleBracketsToMustache", {
43292
43615
  enumerable: true,
43293
- get: function () { return chunkUTCFBBOD_cjs.convertAngleBracketsToMustache; }
43616
+ get: function () { return chunkQI2SB6U3_cjs.convertAngleBracketsToMustache; }
43294
43617
  });
43295
43618
  Object.defineProperty(exports, "processDictation", {
43296
43619
  enumerable: true,
43297
- get: function () { return chunkUTCFBBOD_cjs.processDictation; }
43620
+ get: function () { return chunkQI2SB6U3_cjs.processDictation; }
43298
43621
  });
43299
43622
  Object.defineProperty(exports, "Separator", {
43300
43623
  enumerable: true,
@@ -43394,23 +43717,23 @@ Object.defineProperty(exports, "FenceBlock", {
43394
43717
  });
43395
43718
  Object.defineProperty(exports, "FillerWordsModal", {
43396
43719
  enumerable: true,
43397
- get: function () { return chunkGKWWFJDB_cjs.FillerWordsModal; }
43720
+ get: function () { return chunkQ5VBO3I5_cjs.FillerWordsModal; }
43398
43721
  });
43399
43722
  Object.defineProperty(exports, "MediaEditor", {
43400
43723
  enumerable: true,
43401
- get: function () { return chunkGKWWFJDB_cjs.MediaEditor; }
43724
+ get: function () { return chunkQ5VBO3I5_cjs.MediaEditor; }
43402
43725
  });
43403
43726
  Object.defineProperty(exports, "SilenceSettingsModal", {
43404
43727
  enumerable: true,
43405
- get: function () { return chunkGKWWFJDB_cjs.SilenceSettingsModal; }
43728
+ get: function () { return chunkQ5VBO3I5_cjs.SilenceSettingsModal; }
43406
43729
  });
43407
43730
  Object.defineProperty(exports, "SpeedMarkerMenu", {
43408
43731
  enumerable: true,
43409
- get: function () { return chunkGKWWFJDB_cjs.SpeedMarkerMenu; }
43732
+ get: function () { return chunkQ5VBO3I5_cjs.SpeedMarkerMenu; }
43410
43733
  });
43411
43734
  Object.defineProperty(exports, "WordEditorModal", {
43412
43735
  enumerable: true,
43413
- get: function () { return chunkGKWWFJDB_cjs.WordEditorModal; }
43736
+ get: function () { return chunkQ5VBO3I5_cjs.WordEditorModal; }
43414
43737
  });
43415
43738
  Object.defineProperty(exports, "Slider", {
43416
43739
  enumerable: true,
@@ -43490,39 +43813,39 @@ Object.defineProperty(exports, "CollapsibleTrigger", {
43490
43813
  });
43491
43814
  Object.defineProperty(exports, "CountryCodeDropdown", {
43492
43815
  enumerable: true,
43493
- get: function () { return chunkC2NNNOSU_cjs.CountryCodeDropdown; }
43816
+ get: function () { return chunkVVI32P7L_cjs.CountryCodeDropdown; }
43494
43817
  });
43495
43818
  Object.defineProperty(exports, "formatE164", {
43496
43819
  enumerable: true,
43497
- get: function () { return chunkC2NNNOSU_cjs.formatE164; }
43820
+ get: function () { return chunkVVI32P7L_cjs.formatE164; }
43498
43821
  });
43499
43822
  Object.defineProperty(exports, "validatePhoneNumber", {
43500
43823
  enumerable: true,
43501
- get: function () { return chunkC2NNNOSU_cjs.validatePhoneNumber; }
43824
+ get: function () { return chunkVVI32P7L_cjs.validatePhoneNumber; }
43502
43825
  });
43503
43826
  Object.defineProperty(exports, "Dropdown", {
43504
43827
  enumerable: true,
43505
- get: function () { return chunkU4HA2WHA_cjs.Dropdown; }
43828
+ get: function () { return chunkRBS3GHDZ_cjs.Dropdown; }
43506
43829
  });
43507
43830
  Object.defineProperty(exports, "DropdownContent", {
43508
43831
  enumerable: true,
43509
- get: function () { return chunkU4HA2WHA_cjs.DropdownContent; }
43832
+ get: function () { return chunkRBS3GHDZ_cjs.DropdownContent; }
43510
43833
  });
43511
43834
  Object.defineProperty(exports, "DropdownHeader", {
43512
43835
  enumerable: true,
43513
- get: function () { return chunkU4HA2WHA_cjs.DropdownHeader; }
43836
+ get: function () { return chunkRBS3GHDZ_cjs.DropdownHeader; }
43514
43837
  });
43515
43838
  Object.defineProperty(exports, "DropdownItem", {
43516
43839
  enumerable: true,
43517
- get: function () { return chunkU4HA2WHA_cjs.DropdownItem; }
43840
+ get: function () { return chunkRBS3GHDZ_cjs.DropdownItem; }
43518
43841
  });
43519
43842
  Object.defineProperty(exports, "DropdownLabel", {
43520
43843
  enumerable: true,
43521
- get: function () { return chunkU4HA2WHA_cjs.DropdownLabel; }
43844
+ get: function () { return chunkRBS3GHDZ_cjs.DropdownLabel; }
43522
43845
  });
43523
43846
  Object.defineProperty(exports, "DropdownSeparator", {
43524
43847
  enumerable: true,
43525
- get: function () { return chunkU4HA2WHA_cjs.DropdownSeparator; }
43848
+ get: function () { return chunkRBS3GHDZ_cjs.DropdownSeparator; }
43526
43849
  });
43527
43850
  Object.defineProperty(exports, "Alert", {
43528
43851
  enumerable: true,
@@ -43586,7 +43909,7 @@ Object.defineProperty(exports, "waveformContainerVariants", {
43586
43909
  });
43587
43910
  Object.defineProperty(exports, "Autocomplete", {
43588
43911
  enumerable: true,
43589
- get: function () { return chunkC7I3ZGMQ_cjs.Autocomplete; }
43912
+ get: function () { return chunk6J7UGYT5_cjs.Autocomplete; }
43590
43913
  });
43591
43914
  Object.defineProperty(exports, "Avatar", {
43592
43915
  enumerable: true,
@@ -43638,67 +43961,67 @@ Object.defineProperty(exports, "isApplicable", {
43638
43961
  });
43639
43962
  Object.defineProperty(exports, "ALLERGY_TYPE_LABELS", {
43640
43963
  enumerable: true,
43641
- get: function () { return chunkBZMBCKW2_cjs.ALLERGY_TYPE_LABELS; }
43964
+ get: function () { return chunk3G2HFPCC_cjs.ALLERGY_TYPE_LABELS; }
43642
43965
  });
43643
43966
  Object.defineProperty(exports, "AllergyList", {
43644
43967
  enumerable: true,
43645
- get: function () { return chunkBZMBCKW2_cjs.AllergyList; }
43968
+ get: function () { return chunk3G2HFPCC_cjs.AllergyList; }
43646
43969
  });
43647
43970
  Object.defineProperty(exports, "AllergyManager", {
43648
43971
  enumerable: true,
43649
- get: function () { return chunkBZMBCKW2_cjs.AllergyManager; }
43972
+ get: function () { return chunk3G2HFPCC_cjs.AllergyManager; }
43650
43973
  });
43651
43974
  Object.defineProperty(exports, "CodeLookupProvider", {
43652
43975
  enumerable: true,
43653
- get: function () { return chunkBZMBCKW2_cjs.CodeLookupProvider; }
43976
+ get: function () { return chunk3G2HFPCC_cjs.CodeLookupProvider; }
43654
43977
  });
43655
43978
  Object.defineProperty(exports, "MEDICATION_STATUS_LABELS", {
43656
43979
  enumerable: true,
43657
- get: function () { return chunkBZMBCKW2_cjs.MEDICATION_STATUS_LABELS; }
43980
+ get: function () { return chunk3G2HFPCC_cjs.MEDICATION_STATUS_LABELS; }
43658
43981
  });
43659
43982
  Object.defineProperty(exports, "MedicationEditor", {
43660
43983
  enumerable: true,
43661
- get: function () { return chunkBZMBCKW2_cjs.MedicationEditor; }
43984
+ get: function () { return chunk3G2HFPCC_cjs.MedicationEditor; }
43662
43985
  });
43663
43986
  Object.defineProperty(exports, "MedicationList", {
43664
43987
  enumerable: true,
43665
- get: function () { return chunkBZMBCKW2_cjs.MedicationList; }
43988
+ get: function () { return chunk3G2HFPCC_cjs.MedicationList; }
43666
43989
  });
43667
43990
  Object.defineProperty(exports, "MedicationReconciliation", {
43668
43991
  enumerable: true,
43669
- get: function () { return chunkBZMBCKW2_cjs.MedicationReconciliation; }
43992
+ get: function () { return chunk3G2HFPCC_cjs.MedicationReconciliation; }
43670
43993
  });
43671
43994
  Object.defineProperty(exports, "RowActionToolbar", {
43672
43995
  enumerable: true,
43673
- get: function () { return chunkBZMBCKW2_cjs.RowActionToolbar; }
43996
+ get: function () { return chunk3G2HFPCC_cjs.RowActionToolbar; }
43674
43997
  });
43675
43998
  Object.defineProperty(exports, "RowIconButton", {
43676
43999
  enumerable: true,
43677
- get: function () { return chunkBZMBCKW2_cjs.RowIconButton; }
44000
+ get: function () { return chunk3G2HFPCC_cjs.RowIconButton; }
43678
44001
  });
43679
44002
  Object.defineProperty(exports, "labelToMedicationFields", {
43680
44003
  enumerable: true,
43681
- get: function () { return chunkBZMBCKW2_cjs.labelToMedicationFields; }
44004
+ get: function () { return chunk3G2HFPCC_cjs.labelToMedicationFields; }
43682
44005
  });
43683
44006
  Object.defineProperty(exports, "lookupToMedicationFields", {
43684
44007
  enumerable: true,
43685
- get: function () { return chunkBZMBCKW2_cjs.lookupToMedicationFields; }
44008
+ get: function () { return chunk3G2HFPCC_cjs.lookupToMedicationFields; }
43686
44009
  });
43687
44010
  Object.defineProperty(exports, "parseMedicationLabel", {
43688
44011
  enumerable: true,
43689
- get: function () { return chunkBZMBCKW2_cjs.parseMedicationLabel; }
44012
+ get: function () { return chunk3G2HFPCC_cjs.parseMedicationLabel; }
43690
44013
  });
43691
44014
  Object.defineProperty(exports, "parseSig", {
43692
44015
  enumerable: true,
43693
- get: function () { return chunkBZMBCKW2_cjs.parseSig; }
44016
+ get: function () { return chunk3G2HFPCC_cjs.parseSig; }
43694
44017
  });
43695
44018
  Object.defineProperty(exports, "toolbarKeyNav", {
43696
44019
  enumerable: true,
43697
- get: function () { return chunkBZMBCKW2_cjs.toolbarKeyNav; }
44020
+ get: function () { return chunk3G2HFPCC_cjs.toolbarKeyNav; }
43698
44021
  });
43699
44022
  Object.defineProperty(exports, "useCodeLookupConfig", {
43700
44023
  enumerable: true,
43701
- get: function () { return chunkBZMBCKW2_cjs.useCodeLookupConfig; }
44024
+ get: function () { return chunk3G2HFPCC_cjs.useCodeLookupConfig; }
43702
44025
  });
43703
44026
  Object.defineProperty(exports, "Textarea", {
43704
44027
  enumerable: true,
@@ -43734,11 +44057,11 @@ Object.defineProperty(exports, "labelVariants", {
43734
44057
  });
43735
44058
  Object.defineProperty(exports, "Select", {
43736
44059
  enumerable: true,
43737
- get: function () { return chunkOJEXXH5D_cjs.Select; }
44060
+ get: function () { return chunkZBI52NP2_cjs.Select; }
43738
44061
  });
43739
44062
  Object.defineProperty(exports, "selectTriggerVariants", {
43740
44063
  enumerable: true,
43741
- get: function () { return chunkOJEXXH5D_cjs.selectTriggerVariants; }
44064
+ get: function () { return chunkZBI52NP2_cjs.selectTriggerVariants; }
43742
44065
  });
43743
44066
  Object.defineProperty(exports, "Card", {
43744
44067
  enumerable: true,
@@ -43798,7 +44121,7 @@ Object.defineProperty(exports, "cardVariants", {
43798
44121
  });
43799
44122
  Object.defineProperty(exports, "DateInput", {
43800
44123
  enumerable: true,
43801
- get: function () { return chunkEDBGSGUK_cjs.DateInput; }
44124
+ get: function () { return chunkGLRLOJMV_cjs.DateInput; }
43802
44125
  });
43803
44126
  Object.defineProperty(exports, "Modal", {
43804
44127
  enumerable: true,
@@ -44706,7 +45029,7 @@ Object.defineProperty(exports, "useClickOutside", {
44706
45029
  });
44707
45030
  Object.defineProperty(exports, "useAnchoredPosition", {
44708
45031
  enumerable: true,
44709
- get: function () { return chunkZDEYV373_cjs.useAnchoredPosition; }
45032
+ get: function () { return chunkMYFZYUPR_cjs.useAnchoredPosition; }
44710
45033
  });
44711
45034
  Object.defineProperty(exports, "formatPhoneNumber", {
44712
45035
  enumerable: true,
@@ -44842,6 +45165,7 @@ exports.CompactFilterBar = CompactFilterBar;
44842
45165
  exports.CompactHeader = CompactHeader;
44843
45166
  exports.CompactHours = CompactHours;
44844
45167
  exports.CompactProviderHeader = CompactProviderHeader;
45168
+ exports.ComposerModelSelector = ComposerModelSelector;
44845
45169
  exports.ConditionEditor = ConditionEditor;
44846
45170
  exports.ConnectionStatusBadge = ConnectionStatusBadge;
44847
45171
  exports.ConnectionStatusBar = ConnectionStatusBar;