@mieweb/ui 0.11.0-dev.27 → 0.11.0-dev.29

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 (63) hide show
  1. package/MIGRATION.md +49 -0
  2. package/dist/chunk-2VISTX7O.js +802 -0
  3. package/dist/chunk-2VISTX7O.js.map +1 -0
  4. package/dist/{chunk-UWHVSRSU.js → chunk-43QBEF6N.js} +51 -18
  5. package/dist/chunk-43QBEF6N.js.map +1 -0
  6. package/dist/{chunk-FA7STF2M.cjs → chunk-6GKIISNZ.cjs} +51 -18
  7. package/dist/chunk-6GKIISNZ.cjs.map +1 -0
  8. package/dist/{chunk-IEZXJWHJ.cjs → chunk-7XKM6V2K.cjs} +3 -3
  9. package/dist/{chunk-IEZXJWHJ.cjs.map → chunk-7XKM6V2K.cjs.map} +1 -1
  10. package/dist/{chunk-STDGAFW2.js → chunk-AK4LHJPC.js} +6 -3
  11. package/dist/chunk-AK4LHJPC.js.map +1 -0
  12. package/dist/chunk-AQUHEKXL.cjs +829 -0
  13. package/dist/chunk-AQUHEKXL.cjs.map +1 -0
  14. package/dist/{chunk-GTAHQBUK.js → chunk-MBDT2MGR.js} +4 -4
  15. package/dist/{chunk-GTAHQBUK.js.map → chunk-MBDT2MGR.js.map} +1 -1
  16. package/dist/{chunk-DXFP53KF.js → chunk-NIO3XVUV.js} +3 -3
  17. package/dist/{chunk-DXFP53KF.js.map → chunk-NIO3XVUV.js.map} +1 -1
  18. package/dist/{chunk-S2QKRL5S.cjs → chunk-PRA2V5BP.cjs} +7 -7
  19. package/dist/{chunk-S2QKRL5S.cjs.map → chunk-PRA2V5BP.cjs.map} +1 -1
  20. package/dist/{chunk-3E7C5N2G.js → chunk-SFSBYC46.js} +3 -3
  21. package/dist/{chunk-3E7C5N2G.js.map → chunk-SFSBYC46.js.map} +1 -1
  22. package/dist/{chunk-ZWKC4JML.cjs → chunk-ZIJMLRI3.cjs} +9 -9
  23. package/dist/{chunk-ZWKC4JML.cjs.map → chunk-ZIJMLRI3.cjs.map} +1 -1
  24. package/dist/{chunk-7S3GBPRD.cjs → chunk-ZLBNYCYT.cjs} +6 -3
  25. package/dist/chunk-ZLBNYCYT.cjs.map +1 -0
  26. package/dist/components/EmailEditor/index.cjs +16 -16
  27. package/dist/components/EmailEditor/index.js +7 -7
  28. package/dist/components/RecordHeader/index.cjs +4 -4
  29. package/dist/components/RecordHeader/index.js +2 -2
  30. package/dist/components/RichTextEditor/index.cjs +5 -5
  31. package/dist/components/RichTextEditor/index.d.cts +21 -1
  32. package/dist/components/RichTextEditor/index.d.ts +21 -1
  33. package/dist/components/RichTextEditor/index.js +2 -2
  34. package/dist/components/SuperChat/index.cjs +2 -2
  35. package/dist/components/SuperChat/index.js +2 -2
  36. package/dist/components/Textarea/index.cjs +22 -4
  37. package/dist/components/Textarea/index.d.cts +40 -14
  38. package/dist/components/Textarea/index.d.ts +40 -14
  39. package/dist/components/Textarea/index.js +15 -1
  40. package/dist/esheet.cjs +10 -5
  41. package/dist/esheet.cjs.map +1 -1
  42. package/dist/esheet.js +7 -2
  43. package/dist/esheet.js.map +1 -1
  44. package/dist/index.cjs +147 -150
  45. package/dist/index.cjs.map +1 -1
  46. package/dist/index.d.cts +117 -56
  47. package/dist/index.d.ts +117 -56
  48. package/dist/index.js +14 -37
  49. package/dist/index.js.map +1 -1
  50. package/dist/styles.css +1 -1
  51. package/dist/tailwind-preset.cjs +4 -4
  52. package/dist/tailwind-preset.js +1 -1
  53. package/dist/utils/index.cjs +9 -9
  54. package/dist/utils/index.js +1 -1
  55. package/package.json +1 -1
  56. package/dist/chunk-7S3GBPRD.cjs.map +0 -1
  57. package/dist/chunk-BUN6RUJ5.cjs +0 -393
  58. package/dist/chunk-BUN6RUJ5.cjs.map +0 -1
  59. package/dist/chunk-CPG7SDON.js +0 -370
  60. package/dist/chunk-CPG7SDON.js.map +0 -1
  61. package/dist/chunk-FA7STF2M.cjs.map +0 -1
  62. package/dist/chunk-STDGAFW2.js.map +0 -1
  63. package/dist/chunk-UWHVSRSU.js.map +0 -1
package/dist/index.cjs CHANGED
@@ -4,7 +4,7 @@ var chunkUVSODK6V_cjs = require('./chunk-UVSODK6V.cjs');
4
4
  var chunkTRZLN32I_cjs = require('./chunk-TRZLN32I.cjs');
5
5
  var chunkOGNADPM4_cjs = require('./chunk-OGNADPM4.cjs');
6
6
  var chunkXNPDZANN_cjs = require('./chunk-XNPDZANN.cjs');
7
- var chunkIEZXJWHJ_cjs = require('./chunk-IEZXJWHJ.cjs');
7
+ var chunk7XKM6V2K_cjs = require('./chunk-7XKM6V2K.cjs');
8
8
  var chunkPWXDRFJL_cjs = require('./chunk-PWXDRFJL.cjs');
9
9
  var chunkFSWHZY3T_cjs = require('./chunk-FSWHZY3T.cjs');
10
10
  var chunkOIF34LEN_cjs = require('./chunk-OIF34LEN.cjs');
@@ -82,14 +82,10 @@ var chunkNGSDBWKA_cjs = require('./chunk-NGSDBWKA.cjs');
82
82
  var chunk56C7K4MV_cjs = require('./chunk-56C7K4MV.cjs');
83
83
  var chunkBWSZ2BHJ_cjs = require('./chunk-BWSZ2BHJ.cjs');
84
84
  var chunkRS5VA6QU_cjs = require('./chunk-RS5VA6QU.cjs');
85
- var chunkS2QKRL5S_cjs = require('./chunk-S2QKRL5S.cjs');
85
+ var chunkPRA2V5BP_cjs = require('./chunk-PRA2V5BP.cjs');
86
86
  require('./chunk-BXRQ6HEP.cjs');
87
87
  var chunkS7AMZ4RD_cjs = require('./chunk-S7AMZ4RD.cjs');
88
- var chunkFA7STF2M_cjs = require('./chunk-FA7STF2M.cjs');
89
- var chunkYP5T6NZD_cjs = require('./chunk-YP5T6NZD.cjs');
90
88
  var chunkPLMXN23Q_cjs = require('./chunk-PLMXN23Q.cjs');
91
- require('./chunk-ZNUMOJOI.cjs');
92
- var chunkPINIBEIU_cjs = require('./chunk-PINIBEIU.cjs');
93
89
  var chunkZO4L6C2Y_cjs = require('./chunk-ZO4L6C2Y.cjs');
94
90
  var chunk7C5W744U_cjs = require('./chunk-7C5W744U.cjs');
95
91
  var chunkHXSA6QC5_cjs = require('./chunk-HXSA6QC5.cjs');
@@ -120,8 +116,7 @@ var chunk254QK722_cjs = require('./chunk-254QK722.cjs');
120
116
  var chunk7WJ6MBF5_cjs = require('./chunk-7WJ6MBF5.cjs');
121
117
  require('./chunk-AT732HC6.cjs');
122
118
  var chunkL7YQBSEL_cjs = require('./chunk-L7YQBSEL.cjs');
123
- var chunkC7RVKV25_cjs = require('./chunk-C7RVKV25.cjs');
124
- var chunk7S3GBPRD_cjs = require('./chunk-7S3GBPRD.cjs');
119
+ var chunkZLBNYCYT_cjs = require('./chunk-ZLBNYCYT.cjs');
125
120
  var chunkPRGQVUMU_cjs = require('./chunk-PRGQVUMU.cjs');
126
121
  require('./chunk-P22YCUVM.cjs');
127
122
  var chunkQ3YVLO52_cjs = require('./chunk-Q3YVLO52.cjs');
@@ -129,13 +124,17 @@ var chunkGKDHMNUA_cjs = require('./chunk-GKDHMNUA.cjs');
129
124
  var chunk4NCDU5IG_cjs = require('./chunk-4NCDU5IG.cjs');
130
125
  var chunkXXVUHLQN_cjs = require('./chunk-XXVUHLQN.cjs');
131
126
  var chunkRI56YPED_cjs = require('./chunk-RI56YPED.cjs');
132
- var chunkZWKC4JML_cjs = require('./chunk-ZWKC4JML.cjs');
127
+ var chunkZIJMLRI3_cjs = require('./chunk-ZIJMLRI3.cjs');
133
128
  var chunkGLG6UE2H_cjs = require('./chunk-GLG6UE2H.cjs');
134
129
  var chunkG7EQ3JPX_cjs = require('./chunk-G7EQ3JPX.cjs');
135
130
  var chunkAIJAFPGJ_cjs = require('./chunk-AIJAFPGJ.cjs');
136
131
  var chunkPHUTJKHL_cjs = require('./chunk-PHUTJKHL.cjs');
137
- var chunkBUN6RUJ5_cjs = require('./chunk-BUN6RUJ5.cjs');
132
+ var chunkAQUHEKXL_cjs = require('./chunk-AQUHEKXL.cjs');
133
+ var chunk6GKIISNZ_cjs = require('./chunk-6GKIISNZ.cjs');
134
+ var chunkYP5T6NZD_cjs = require('./chunk-YP5T6NZD.cjs');
138
135
  var chunkUPWIJC6I_cjs = require('./chunk-UPWIJC6I.cjs');
136
+ require('./chunk-ZNUMOJOI.cjs');
137
+ var chunkPINIBEIU_cjs = require('./chunk-PINIBEIU.cjs');
139
138
  var chunkMJWFNV3L_cjs = require('./chunk-MJWFNV3L.cjs');
140
139
  var chunkLC3JL2HB_cjs = require('./chunk-LC3JL2HB.cjs');
141
140
  require('./chunk-I44YNYI6.cjs');
@@ -147,6 +146,7 @@ var chunkFHY3K6PL_cjs = require('./chunk-FHY3K6PL.cjs');
147
146
  var chunkFSGEDDF2_cjs = require('./chunk-FSGEDDF2.cjs');
148
147
  var chunkAOHJILLU_cjs = require('./chunk-AOHJILLU.cjs');
149
148
  var chunkCW75IKA6_cjs = require('./chunk-CW75IKA6.cjs');
149
+ var chunkC7RVKV25_cjs = require('./chunk-C7RVKV25.cjs');
150
150
  var chunkSCV7C55E_cjs = require('./chunk-SCV7C55E.cjs');
151
151
  var chunkL7L5S2HO_cjs = require('./chunk-L7L5S2HO.cjs');
152
152
  var chunkYW2AKBLS_cjs = require('./chunk-YW2AKBLS.cjs');
@@ -7033,8 +7033,8 @@ function ConcernRow({
7033
7033
  ]
7034
7034
  }
7035
7035
  ),
7036
- !readOnly && /* @__PURE__ */ jsxRuntime.jsx(chunkZWKC4JML_cjs.RowActionToolbar, { label: `Actions for ${current.text}`, align: "top", children: visibleActions.map((action) => /* @__PURE__ */ jsxRuntime.jsx(
7037
- chunkZWKC4JML_cjs.RowIconButton,
7036
+ !readOnly && /* @__PURE__ */ jsxRuntime.jsx(chunkZIJMLRI3_cjs.RowActionToolbar, { label: `Actions for ${current.text}`, align: "top", children: visibleActions.map((action) => /* @__PURE__ */ jsxRuntime.jsx(
7037
+ chunkZIJMLRI3_cjs.RowIconButton,
7038
7038
  {
7039
7039
  label: ACTION_META[action].label,
7040
7040
  icon: ACTION_META[action].icon,
@@ -7461,13 +7461,13 @@ function OrderRow({
7461
7461
  ) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
7462
7462
  /* @__PURE__ */ jsxRuntime.jsx(OrderContent, { order }),
7463
7463
  interactive && /* @__PURE__ */ jsxRuntime.jsxs(
7464
- chunkZWKC4JML_cjs.RowActionToolbar,
7464
+ chunkZIJMLRI3_cjs.RowActionToolbar,
7465
7465
  {
7466
7466
  label: `Actions for ${order.display}`,
7467
7467
  group: "order",
7468
7468
  children: [
7469
7469
  canEdit && /* @__PURE__ */ jsxRuntime.jsx(
7470
- chunkZWKC4JML_cjs.RowIconButton,
7470
+ chunkZIJMLRI3_cjs.RowIconButton,
7471
7471
  {
7472
7472
  label: "Edit",
7473
7473
  icon: chunkL7L5S2HO_cjs.Pencil,
@@ -7535,7 +7535,7 @@ function OrderRow({
7535
7535
  }
7536
7536
  ),
7537
7537
  controls?.remove && /* @__PURE__ */ jsxRuntime.jsx(
7538
- chunkZWKC4JML_cjs.RowIconButton,
7538
+ chunkZIJMLRI3_cjs.RowIconButton,
7539
7539
  {
7540
7540
  label: "Remove",
7541
7541
  icon: chunkL7L5S2HO_cjs.Trash2,
@@ -7724,7 +7724,7 @@ var Assessment = React13__namespace.forwardRef(
7724
7724
  if (addMode !== "auto") setPendingFreeText(null);
7725
7725
  }, [addMode]);
7726
7726
  const [announcement, setAnnouncement] = chunkCPDNX3LS_cjs.useLiveAnnouncement();
7727
- const ambientCodeLookup = chunkZWKC4JML_cjs.useCodeLookupConfig();
7727
+ const ambientCodeLookup = chunkZIJMLRI3_cjs.useCodeLookupConfig();
7728
7728
  const effectiveRenderOrderSearch = renderOrderSearch === false ? void 0 : renderOrderSearch ?? (ambientCodeLookup ? contextOrderSearch(ambientCodeLookup) : void 0);
7729
7729
  const concernById = React13__namespace.useMemo(
7730
7730
  () => new Map(concerns.map((c) => [c.concernId, c])),
@@ -7982,7 +7982,7 @@ var Assessment = React13__namespace.forwardRef(
7982
7982
  assertion.verificationStatus !== "confirmed" && /* @__PURE__ */ jsxRuntime.jsx(chunk7E46YDOT_cjs.Badge, { variant: "warning", size: "sm", children: assertion.verificationStatus }),
7983
7983
  /* @__PURE__ */ jsxRuntime.jsx(CodingChips, { coding: assertion.coding }),
7984
7984
  !readOnly && showConcernToolbar && /* @__PURE__ */ jsxRuntime.jsxs(
7985
- chunkZWKC4JML_cjs.RowActionToolbar,
7985
+ chunkZIJMLRI3_cjs.RowActionToolbar,
7986
7986
  {
7987
7987
  label: `Actions for ${assertion.text}`,
7988
7988
  align: "top",
@@ -7996,7 +7996,7 @@ var Assessment = React13__namespace.forwardRef(
7996
7996
  toolbarActions.map((action) => {
7997
7997
  const meta = ACTION_META2[action];
7998
7998
  return /* @__PURE__ */ jsxRuntime.jsx(
7999
- chunkZWKC4JML_cjs.RowIconButton,
7999
+ chunkZIJMLRI3_cjs.RowIconButton,
8000
8000
  {
8001
8001
  label: meta.label,
8002
8002
  icon: meta.icon,
@@ -8017,7 +8017,7 @@ var Assessment = React13__namespace.forwardRef(
8017
8017
  );
8018
8018
  }),
8019
8019
  rowActions.includes("remove") && onRemoveAssessment && /* @__PURE__ */ jsxRuntime.jsx(
8020
- chunkZWKC4JML_cjs.RowIconButton,
8020
+ chunkZIJMLRI3_cjs.RowIconButton,
8021
8021
  {
8022
8022
  label: `Remove ${assertion.text} from assessment`,
8023
8023
  icon: chunkL7L5S2HO_cjs.Trash2,
@@ -11780,7 +11780,7 @@ function ConditionEditor({
11780
11780
  "data-testid": dataTestId
11781
11781
  }) {
11782
11782
  const prior = concern ? currentAssertion(concern) : void 0;
11783
- const ambientCodeLookup = chunkZWKC4JML_cjs.useCodeLookupConfig();
11783
+ const ambientCodeLookup = chunkZIJMLRI3_cjs.useCodeLookupConfig();
11784
11784
  const effectiveRenderCodeSearch = renderCodeSearch === false ? void 0 : renderCodeSearch ?? (ambientCodeLookup ? contextConditionCodeSearch(ambientCodeLookup) : void 0);
11785
11785
  const [text, setText] = React13__namespace.useState("");
11786
11786
  const [coding, setCoding] = React13__namespace.useState([]);
@@ -11938,7 +11938,7 @@ function ConditionEditor({
11938
11938
  ] }) : mode === "observe" ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
11939
11939
  /* @__PURE__ */ jsxRuntime.jsx(ObservationHistory, { concern }),
11940
11940
  /* @__PURE__ */ jsxRuntime.jsx(
11941
- chunkBUN6RUJ5_cjs.Textarea,
11941
+ chunkAQUHEKXL_cjs.Textarea,
11942
11942
  {
11943
11943
  label: "New observation",
11944
11944
  value: observation,
@@ -12239,7 +12239,7 @@ function ConditionEditor({
12239
12239
  ] })
12240
12240
  ] }),
12241
12241
  /* @__PURE__ */ jsxRuntime.jsx(
12242
- chunkBUN6RUJ5_cjs.Textarea,
12242
+ chunkAQUHEKXL_cjs.Textarea,
12243
12243
  {
12244
12244
  label: "Note",
12245
12245
  value: note,
@@ -19333,7 +19333,7 @@ function CreateInvoiceModal({
19333
19333
  }
19334
19334
  ),
19335
19335
  /* @__PURE__ */ jsxRuntime.jsx(
19336
- chunkBUN6RUJ5_cjs.Textarea,
19336
+ chunkAQUHEKXL_cjs.Textarea,
19337
19337
  {
19338
19338
  label: "Notes (Optional)",
19339
19339
  rows: 3,
@@ -19649,7 +19649,7 @@ function CreateReferralModal({
19649
19649
  )) })
19650
19650
  ] }),
19651
19651
  /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
19652
- chunkBUN6RUJ5_cjs.Textarea,
19652
+ chunkAQUHEKXL_cjs.Textarea,
19653
19653
  {
19654
19654
  label: "Notes (Optional)",
19655
19655
  rows: 2,
@@ -20241,7 +20241,7 @@ function EmployeeForm({
20241
20241
  )
20242
20242
  ] }),
20243
20243
  /* @__PURE__ */ jsxRuntime.jsx(
20244
- chunkBUN6RUJ5_cjs.Textarea,
20244
+ chunkAQUHEKXL_cjs.Textarea,
20245
20245
  {
20246
20246
  label: additionalInformation,
20247
20247
  value: additionalInfo,
@@ -23260,7 +23260,7 @@ function HelpSupportPanel({
23260
23260
  }
23261
23261
  ),
23262
23262
  /* @__PURE__ */ jsxRuntime.jsx(
23263
- chunkBUN6RUJ5_cjs.Textarea,
23263
+ chunkAQUHEKXL_cjs.Textarea,
23264
23264
  {
23265
23265
  id: "support-message",
23266
23266
  required: true,
@@ -23994,7 +23994,7 @@ function InventoryManager({
23994
23994
  }
23995
23995
  ),
23996
23996
  /* @__PURE__ */ jsxRuntime.jsx(
23997
- chunkBUN6RUJ5_cjs.Textarea,
23997
+ chunkAQUHEKXL_cjs.Textarea,
23998
23998
  {
23999
23999
  label: "Memo",
24000
24000
  value: updateMemo,
@@ -27654,7 +27654,7 @@ var defaultOrderTabs = [
27654
27654
  { id: "rejected", label: "Rejected", statuses: ["rejected", "cancelled"] }
27655
27655
  ];
27656
27656
  function orderToMedication(order) {
27657
- const sig = order.detail ? chunkZWKC4JML_cjs.parseSig(order.detail) : void 0;
27657
+ const sig = order.detail ? chunkZIJMLRI3_cjs.parseSig(order.detail) : void 0;
27658
27658
  return {
27659
27659
  id: order.orderId,
27660
27660
  name: order.display,
@@ -27662,7 +27662,7 @@ function orderToMedication(order) {
27662
27662
  status: "unreconciled",
27663
27663
  indication: order.indication,
27664
27664
  pharmacyNotes: order.notes,
27665
- ...chunkZWKC4JML_cjs.labelToMedicationFields(order.display),
27665
+ ...chunkZIJMLRI3_cjs.labelToMedicationFields(order.display),
27666
27666
  ...sig && {
27667
27667
  route: sig.route,
27668
27668
  frequency: sig.frequency,
@@ -27733,7 +27733,7 @@ function BaseOrderEditor({
27733
27733
  onSave
27734
27734
  }) {
27735
27735
  const config = TYPE_CONFIG[type];
27736
- const ambientCodeLookup = chunkZWKC4JML_cjs.useCodeLookupConfig();
27736
+ const ambientCodeLookup = chunkZIJMLRI3_cjs.useCodeLookupConfig();
27737
27737
  const effectiveCodeLookup = codeLookup === false ? void 0 : codeLookup ?? ambientCodeLookup ?? void 0;
27738
27738
  const [draft, setDraft] = React13__namespace.useState(
27739
27739
  () => order ?? {
@@ -27854,7 +27854,7 @@ function BaseOrderEditor({
27854
27854
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
27855
27855
  /* @__PURE__ */ jsxRuntime.jsx(chunkAIJAFPGJ_cjs.Label, { htmlFor: "ord-detail", children: "Instructions" }),
27856
27856
  /* @__PURE__ */ jsxRuntime.jsx(
27857
- chunkBUN6RUJ5_cjs.Textarea,
27857
+ chunkAQUHEKXL_cjs.Textarea,
27858
27858
  {
27859
27859
  id: "ord-detail",
27860
27860
  value: draft.detail ?? "",
@@ -27877,7 +27877,7 @@ function BaseOrderEditor({
27877
27877
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
27878
27878
  /* @__PURE__ */ jsxRuntime.jsx(chunkAIJAFPGJ_cjs.Label, { htmlFor: "ord-notes", children: type === "referral" ? "Notes to consultant" : "Notes to performer" }),
27879
27879
  /* @__PURE__ */ jsxRuntime.jsx(
27880
- chunkBUN6RUJ5_cjs.Textarea,
27880
+ chunkAQUHEKXL_cjs.Textarea,
27881
27881
  {
27882
27882
  id: "ord-notes",
27883
27883
  value: draft.notes ?? "",
@@ -27932,7 +27932,7 @@ function OrderEditor({
27932
27932
  display: ""
27933
27933
  };
27934
27934
  return /* @__PURE__ */ jsxRuntime.jsx(
27935
- chunkZWKC4JML_cjs.MedicationEditor,
27935
+ chunkZIJMLRI3_cjs.MedicationEditor,
27936
27936
  {
27937
27937
  open,
27938
27938
  medication: order ? orderToMedication(order) : void 0,
@@ -30588,7 +30588,7 @@ function RelevanceControl({
30588
30588
  {
30589
30589
  role: "toolbar",
30590
30590
  "aria-label": `Relevance for ${labelPrefix}`,
30591
- onKeyDown: chunkZWKC4JML_cjs.toolbarKeyNav,
30591
+ onKeyDown: chunkZIJMLRI3_cjs.toolbarKeyNav,
30592
30592
  className: "border-border flex shrink-0 items-center overflow-hidden rounded-md border",
30593
30593
  children: RELEVANCE_ORDER.map((relevance) => {
30594
30594
  const active = value === relevance;
@@ -34418,7 +34418,7 @@ function ProviderSettings({
34418
34418
  }
34419
34419
  ),
34420
34420
  /* @__PURE__ */ jsxRuntime.jsx(
34421
- chunkBUN6RUJ5_cjs.Textarea,
34421
+ chunkAQUHEKXL_cjs.Textarea,
34422
34422
  {
34423
34423
  id: "provider-description",
34424
34424
  value: settings.general.description || "",
@@ -36416,7 +36416,7 @@ var ResultsEntryForm = React13__namespace.forwardRef(function ResultsEntryForm2(
36416
36416
  }
36417
36417
  ) }),
36418
36418
  /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
36419
- chunkBUN6RUJ5_cjs.Textarea,
36419
+ chunkAQUHEKXL_cjs.Textarea,
36420
36420
  {
36421
36421
  label: providerRecommendations,
36422
36422
  value: recommendations,
@@ -36711,28 +36711,6 @@ function ResultsEntryCard({
36711
36711
  }
36712
36712
  );
36713
36713
  }
36714
- var RichTextArea = React13__namespace.forwardRef(
36715
- ({ className, markdownShortcuts = true, defaultToolbar = "hidden", ...rest }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
36716
- chunkFA7STF2M_cjs.RichTextEditor,
36717
- {
36718
- ref,
36719
- chromeless: true,
36720
- blockMenu: true,
36721
- markdownShortcuts,
36722
- defaultToolbar,
36723
- className: chunkS5RVSXDV_cjs.cn(
36724
- // Textarea's chrome: border, radius, focus ring (on the wrapper via
36725
- // focus-within since the editable sits inside it).
36726
- "border-input rounded-lg border",
36727
- "transition-colors duration-200",
36728
- "focus-within:ring-ring focus-within:border-transparent focus-within:ring-2",
36729
- className
36730
- ),
36731
- ...rest
36732
- }
36733
- )
36734
- );
36735
- RichTextArea.displayName = "RichTextArea";
36736
36714
  function ScheduleCalendar({
36737
36715
  appointments,
36738
36716
  selectedDate = /* @__PURE__ */ new Date(),
@@ -44361,11 +44339,11 @@ Object.defineProperty(exports, "defaultReviewCardLabels", {
44361
44339
  });
44362
44340
  Object.defineProperty(exports, "RecordHeader", {
44363
44341
  enumerable: true,
44364
- get: function () { return chunkIEZXJWHJ_cjs.RecordHeader; }
44342
+ get: function () { return chunk7XKM6V2K_cjs.RecordHeader; }
44365
44343
  });
44366
44344
  Object.defineProperty(exports, "defaultRecordHeaderLabels", {
44367
44345
  enumerable: true,
44368
- get: function () { return chunkIEZXJWHJ_cjs.defaultRecordHeaderLabels; }
44346
+ get: function () { return chunk7XKM6V2K_cjs.defaultRecordHeaderLabels; }
44369
44347
  });
44370
44348
  Object.defineProperty(exports, "RecordLayout", {
44371
44349
  enumerable: true,
@@ -45277,39 +45255,39 @@ Object.defineProperty(exports, "sheetOverlayVariants", {
45277
45255
  });
45278
45256
  Object.defineProperty(exports, "EMAIL_BLOCK_TYPES", {
45279
45257
  enumerable: true,
45280
- get: function () { return chunkS2QKRL5S_cjs.EMAIL_BLOCK_TYPES; }
45258
+ get: function () { return chunkPRA2V5BP_cjs.EMAIL_BLOCK_TYPES; }
45281
45259
  });
45282
45260
  Object.defineProperty(exports, "EmailEditor", {
45283
45261
  enumerable: true,
45284
- get: function () { return chunkS2QKRL5S_cjs.EmailEditor; }
45262
+ get: function () { return chunkPRA2V5BP_cjs.EmailEditor; }
45285
45263
  });
45286
45264
  Object.defineProperty(exports, "createDefaultDesignSettings", {
45287
45265
  enumerable: true,
45288
- get: function () { return chunkS2QKRL5S_cjs.createDefaultDesignSettings; }
45266
+ get: function () { return chunkPRA2V5BP_cjs.createDefaultDesignSettings; }
45289
45267
  });
45290
45268
  Object.defineProperty(exports, "createEmailBlock", {
45291
45269
  enumerable: true,
45292
- get: function () { return chunkS2QKRL5S_cjs.createEmailBlock; }
45270
+ get: function () { return chunkPRA2V5BP_cjs.createEmailBlock; }
45293
45271
  });
45294
45272
  Object.defineProperty(exports, "createEmailHtmlSanitizer", {
45295
45273
  enumerable: true,
45296
- get: function () { return chunkS2QKRL5S_cjs.createEmailHtmlSanitizer; }
45274
+ get: function () { return chunkPRA2V5BP_cjs.createEmailHtmlSanitizer; }
45297
45275
  });
45298
45276
  Object.defineProperty(exports, "createEmptyEmailContentTree", {
45299
45277
  enumerable: true,
45300
- get: function () { return chunkS2QKRL5S_cjs.createEmptyEmailContentTree; }
45278
+ get: function () { return chunkPRA2V5BP_cjs.createEmptyEmailContentTree; }
45301
45279
  });
45302
45280
  Object.defineProperty(exports, "defaultEmailEditorLabels", {
45303
45281
  enumerable: true,
45304
- get: function () { return chunkS2QKRL5S_cjs.defaultEmailEditorLabels; }
45282
+ get: function () { return chunkPRA2V5BP_cjs.defaultEmailEditorLabels; }
45305
45283
  });
45306
45284
  Object.defineProperty(exports, "generateEmailBlockId", {
45307
45285
  enumerable: true,
45308
- get: function () { return chunkS2QKRL5S_cjs.generateEmailBlockId; }
45286
+ get: function () { return chunkPRA2V5BP_cjs.generateEmailBlockId; }
45309
45287
  });
45310
45288
  Object.defineProperty(exports, "renderEmailMjml", {
45311
45289
  enumerable: true,
45312
- get: function () { return chunkS2QKRL5S_cjs.renderEmailMjml; }
45290
+ get: function () { return chunkPRA2V5BP_cjs.renderEmailMjml; }
45313
45291
  });
45314
45292
  Object.defineProperty(exports, "Tabs", {
45315
45293
  enumerable: true,
@@ -45335,30 +45313,6 @@ Object.defineProperty(exports, "tabsTriggerVariants", {
45335
45313
  enumerable: true,
45336
45314
  get: function () { return chunkS7AMZ4RD_cjs.tabsTriggerVariants; }
45337
45315
  });
45338
- Object.defineProperty(exports, "MacroLibrary", {
45339
- enumerable: true,
45340
- get: function () { return chunkFA7STF2M_cjs.MacroLibrary; }
45341
- });
45342
- Object.defineProperty(exports, "RichTextEditor", {
45343
- enumerable: true,
45344
- get: function () { return chunkFA7STF2M_cjs.RichTextEditor; }
45345
- });
45346
- Object.defineProperty(exports, "convertAngleBracketsToMustache", {
45347
- enumerable: true,
45348
- get: function () { return chunkFA7STF2M_cjs.convertAngleBracketsToMustache; }
45349
- });
45350
- Object.defineProperty(exports, "processDictation", {
45351
- enumerable: true,
45352
- get: function () { return chunkFA7STF2M_cjs.processDictation; }
45353
- });
45354
- Object.defineProperty(exports, "Separator", {
45355
- enumerable: true,
45356
- get: function () { return chunkYP5T6NZD_cjs.Separator; }
45357
- });
45358
- Object.defineProperty(exports, "separatorVariants", {
45359
- enumerable: true,
45360
- get: function () { return chunkYP5T6NZD_cjs.separatorVariants; }
45361
- });
45362
45316
  Object.defineProperty(exports, "Switch", {
45363
45317
  enumerable: true,
45364
45318
  get: function () { return chunkPLMXN23Q_cjs.Switch; }
@@ -45371,34 +45325,6 @@ Object.defineProperty(exports, "switchTrackVariants", {
45371
45325
  enumerable: true,
45372
45326
  get: function () { return chunkPLMXN23Q_cjs.switchTrackVariants; }
45373
45327
  });
45374
- Object.defineProperty(exports, "Dropdown", {
45375
- enumerable: true,
45376
- get: function () { return chunkPINIBEIU_cjs.Dropdown; }
45377
- });
45378
- Object.defineProperty(exports, "DropdownContent", {
45379
- enumerable: true,
45380
- get: function () { return chunkPINIBEIU_cjs.DropdownContent; }
45381
- });
45382
- Object.defineProperty(exports, "DropdownHeader", {
45383
- enumerable: true,
45384
- get: function () { return chunkPINIBEIU_cjs.DropdownHeader; }
45385
- });
45386
- Object.defineProperty(exports, "DropdownItem", {
45387
- enumerable: true,
45388
- get: function () { return chunkPINIBEIU_cjs.DropdownItem; }
45389
- });
45390
- Object.defineProperty(exports, "DropdownLabel", {
45391
- enumerable: true,
45392
- get: function () { return chunkPINIBEIU_cjs.DropdownLabel; }
45393
- });
45394
- Object.defineProperty(exports, "DropdownSeparator", {
45395
- enumerable: true,
45396
- get: function () { return chunkPINIBEIU_cjs.DropdownSeparator; }
45397
- });
45398
- Object.defineProperty(exports, "DropdownSubmenu", {
45399
- enumerable: true,
45400
- get: function () { return chunkPINIBEIU_cjs.DropdownSubmenu; }
45401
- });
45402
45328
  Object.defineProperty(exports, "FilterSummaryBar", {
45403
45329
  enumerable: true,
45404
45330
  get: function () { return chunkZO4L6C2Y_cjs.FilterSummaryBar; }
@@ -45847,21 +45773,13 @@ Object.defineProperty(exports, "unformatPhoneNumber", {
45847
45773
  enumerable: true,
45848
45774
  get: function () { return chunkL7YQBSEL_cjs.unformatPhoneNumber; }
45849
45775
  });
45850
- Object.defineProperty(exports, "isHtmlEmpty", {
45851
- enumerable: true,
45852
- get: function () { return chunkC7RVKV25_cjs.isHtmlEmpty; }
45853
- });
45854
- Object.defineProperty(exports, "stripHtmlTags", {
45855
- enumerable: true,
45856
- get: function () { return chunkC7RVKV25_cjs.stripHtmlTags; }
45857
- });
45858
45776
  Object.defineProperty(exports, "miewebUIPreset", {
45859
45777
  enumerable: true,
45860
- get: function () { return chunk7S3GBPRD_cjs.miewebUIPreset; }
45778
+ get: function () { return chunkZLBNYCYT_cjs.miewebUIPreset; }
45861
45779
  });
45862
45780
  Object.defineProperty(exports, "miewebUISafelist", {
45863
45781
  enumerable: true,
45864
- get: function () { return chunk7S3GBPRD_cjs.miewebUISafelist; }
45782
+ get: function () { return chunkZLBNYCYT_cjs.miewebUISafelist; }
45865
45783
  });
45866
45784
  Object.defineProperty(exports, "Accordion", {
45867
45785
  enumerable: true,
@@ -45941,67 +45859,67 @@ Object.defineProperty(exports, "isApplicable", {
45941
45859
  });
45942
45860
  Object.defineProperty(exports, "ALLERGY_TYPE_LABELS", {
45943
45861
  enumerable: true,
45944
- get: function () { return chunkZWKC4JML_cjs.ALLERGY_TYPE_LABELS; }
45862
+ get: function () { return chunkZIJMLRI3_cjs.ALLERGY_TYPE_LABELS; }
45945
45863
  });
45946
45864
  Object.defineProperty(exports, "AllergyList", {
45947
45865
  enumerable: true,
45948
- get: function () { return chunkZWKC4JML_cjs.AllergyList; }
45866
+ get: function () { return chunkZIJMLRI3_cjs.AllergyList; }
45949
45867
  });
45950
45868
  Object.defineProperty(exports, "AllergyManager", {
45951
45869
  enumerable: true,
45952
- get: function () { return chunkZWKC4JML_cjs.AllergyManager; }
45870
+ get: function () { return chunkZIJMLRI3_cjs.AllergyManager; }
45953
45871
  });
45954
45872
  Object.defineProperty(exports, "CodeLookupProvider", {
45955
45873
  enumerable: true,
45956
- get: function () { return chunkZWKC4JML_cjs.CodeLookupProvider; }
45874
+ get: function () { return chunkZIJMLRI3_cjs.CodeLookupProvider; }
45957
45875
  });
45958
45876
  Object.defineProperty(exports, "MEDICATION_STATUS_LABELS", {
45959
45877
  enumerable: true,
45960
- get: function () { return chunkZWKC4JML_cjs.MEDICATION_STATUS_LABELS; }
45878
+ get: function () { return chunkZIJMLRI3_cjs.MEDICATION_STATUS_LABELS; }
45961
45879
  });
45962
45880
  Object.defineProperty(exports, "MedicationEditor", {
45963
45881
  enumerable: true,
45964
- get: function () { return chunkZWKC4JML_cjs.MedicationEditor; }
45882
+ get: function () { return chunkZIJMLRI3_cjs.MedicationEditor; }
45965
45883
  });
45966
45884
  Object.defineProperty(exports, "MedicationList", {
45967
45885
  enumerable: true,
45968
- get: function () { return chunkZWKC4JML_cjs.MedicationList; }
45886
+ get: function () { return chunkZIJMLRI3_cjs.MedicationList; }
45969
45887
  });
45970
45888
  Object.defineProperty(exports, "MedicationReconciliation", {
45971
45889
  enumerable: true,
45972
- get: function () { return chunkZWKC4JML_cjs.MedicationReconciliation; }
45890
+ get: function () { return chunkZIJMLRI3_cjs.MedicationReconciliation; }
45973
45891
  });
45974
45892
  Object.defineProperty(exports, "RowActionToolbar", {
45975
45893
  enumerable: true,
45976
- get: function () { return chunkZWKC4JML_cjs.RowActionToolbar; }
45894
+ get: function () { return chunkZIJMLRI3_cjs.RowActionToolbar; }
45977
45895
  });
45978
45896
  Object.defineProperty(exports, "RowIconButton", {
45979
45897
  enumerable: true,
45980
- get: function () { return chunkZWKC4JML_cjs.RowIconButton; }
45898
+ get: function () { return chunkZIJMLRI3_cjs.RowIconButton; }
45981
45899
  });
45982
45900
  Object.defineProperty(exports, "labelToMedicationFields", {
45983
45901
  enumerable: true,
45984
- get: function () { return chunkZWKC4JML_cjs.labelToMedicationFields; }
45902
+ get: function () { return chunkZIJMLRI3_cjs.labelToMedicationFields; }
45985
45903
  });
45986
45904
  Object.defineProperty(exports, "lookupToMedicationFields", {
45987
45905
  enumerable: true,
45988
- get: function () { return chunkZWKC4JML_cjs.lookupToMedicationFields; }
45906
+ get: function () { return chunkZIJMLRI3_cjs.lookupToMedicationFields; }
45989
45907
  });
45990
45908
  Object.defineProperty(exports, "parseMedicationLabel", {
45991
45909
  enumerable: true,
45992
- get: function () { return chunkZWKC4JML_cjs.parseMedicationLabel; }
45910
+ get: function () { return chunkZIJMLRI3_cjs.parseMedicationLabel; }
45993
45911
  });
45994
45912
  Object.defineProperty(exports, "parseSig", {
45995
45913
  enumerable: true,
45996
- get: function () { return chunkZWKC4JML_cjs.parseSig; }
45914
+ get: function () { return chunkZIJMLRI3_cjs.parseSig; }
45997
45915
  });
45998
45916
  Object.defineProperty(exports, "toolbarKeyNav", {
45999
45917
  enumerable: true,
46000
- get: function () { return chunkZWKC4JML_cjs.toolbarKeyNav; }
45918
+ get: function () { return chunkZIJMLRI3_cjs.toolbarKeyNav; }
46001
45919
  });
46002
45920
  Object.defineProperty(exports, "useCodeLookupConfig", {
46003
45921
  enumerable: true,
46004
- get: function () { return chunkZWKC4JML_cjs.useCodeLookupConfig; }
45922
+ get: function () { return chunkZIJMLRI3_cjs.useCodeLookupConfig; }
46005
45923
  });
46006
45924
  Object.defineProperty(exports, "Tooltip", {
46007
45925
  enumerable: true,
@@ -46031,13 +45949,57 @@ Object.defineProperty(exports, "DateInput", {
46031
45949
  enumerable: true,
46032
45950
  get: function () { return chunkPHUTJKHL_cjs.DateInput; }
46033
45951
  });
45952
+ Object.defineProperty(exports, "RichTextArea", {
45953
+ enumerable: true,
45954
+ get: function () { return chunkAQUHEKXL_cjs.TextAreaRich; }
45955
+ });
45956
+ Object.defineProperty(exports, "TextAreaPlain", {
45957
+ enumerable: true,
45958
+ get: function () { return chunkAQUHEKXL_cjs.TextAreaPlain; }
45959
+ });
45960
+ Object.defineProperty(exports, "TextAreaRich", {
45961
+ enumerable: true,
45962
+ get: function () { return chunkAQUHEKXL_cjs.TextAreaRich; }
45963
+ });
46034
45964
  Object.defineProperty(exports, "Textarea", {
46035
45965
  enumerable: true,
46036
- get: function () { return chunkBUN6RUJ5_cjs.Textarea; }
45966
+ get: function () { return chunkAQUHEKXL_cjs.Textarea; }
45967
+ });
45968
+ Object.defineProperty(exports, "htmlToPlain", {
45969
+ enumerable: true,
45970
+ get: function () { return chunkAQUHEKXL_cjs.htmlToPlain; }
45971
+ });
45972
+ Object.defineProperty(exports, "plainToHtml", {
45973
+ enumerable: true,
45974
+ get: function () { return chunkAQUHEKXL_cjs.plainToHtml; }
46037
45975
  });
46038
45976
  Object.defineProperty(exports, "textareaVariants", {
46039
45977
  enumerable: true,
46040
- get: function () { return chunkBUN6RUJ5_cjs.textareaVariants; }
45978
+ get: function () { return chunkAQUHEKXL_cjs.textareaVariants; }
45979
+ });
45980
+ Object.defineProperty(exports, "MacroLibrary", {
45981
+ enumerable: true,
45982
+ get: function () { return chunk6GKIISNZ_cjs.MacroLibrary; }
45983
+ });
45984
+ Object.defineProperty(exports, "RichTextEditor", {
45985
+ enumerable: true,
45986
+ get: function () { return chunk6GKIISNZ_cjs.RichTextEditor; }
45987
+ });
45988
+ Object.defineProperty(exports, "convertAngleBracketsToMustache", {
45989
+ enumerable: true,
45990
+ get: function () { return chunk6GKIISNZ_cjs.convertAngleBracketsToMustache; }
45991
+ });
45992
+ Object.defineProperty(exports, "processDictation", {
45993
+ enumerable: true,
45994
+ get: function () { return chunk6GKIISNZ_cjs.processDictation; }
45995
+ });
45996
+ Object.defineProperty(exports, "Separator", {
45997
+ enumerable: true,
45998
+ get: function () { return chunkYP5T6NZD_cjs.Separator; }
45999
+ });
46000
+ Object.defineProperty(exports, "separatorVariants", {
46001
+ enumerable: true,
46002
+ get: function () { return chunkYP5T6NZD_cjs.separatorVariants; }
46041
46003
  });
46042
46004
  Object.defineProperty(exports, "Select", {
46043
46005
  enumerable: true,
@@ -46047,6 +46009,34 @@ Object.defineProperty(exports, "selectTriggerVariants", {
46047
46009
  enumerable: true,
46048
46010
  get: function () { return chunkUPWIJC6I_cjs.selectTriggerVariants; }
46049
46011
  });
46012
+ Object.defineProperty(exports, "Dropdown", {
46013
+ enumerable: true,
46014
+ get: function () { return chunkPINIBEIU_cjs.Dropdown; }
46015
+ });
46016
+ Object.defineProperty(exports, "DropdownContent", {
46017
+ enumerable: true,
46018
+ get: function () { return chunkPINIBEIU_cjs.DropdownContent; }
46019
+ });
46020
+ Object.defineProperty(exports, "DropdownHeader", {
46021
+ enumerable: true,
46022
+ get: function () { return chunkPINIBEIU_cjs.DropdownHeader; }
46023
+ });
46024
+ Object.defineProperty(exports, "DropdownItem", {
46025
+ enumerable: true,
46026
+ get: function () { return chunkPINIBEIU_cjs.DropdownItem; }
46027
+ });
46028
+ Object.defineProperty(exports, "DropdownLabel", {
46029
+ enumerable: true,
46030
+ get: function () { return chunkPINIBEIU_cjs.DropdownLabel; }
46031
+ });
46032
+ Object.defineProperty(exports, "DropdownSeparator", {
46033
+ enumerable: true,
46034
+ get: function () { return chunkPINIBEIU_cjs.DropdownSeparator; }
46035
+ });
46036
+ Object.defineProperty(exports, "DropdownSubmenu", {
46037
+ enumerable: true,
46038
+ get: function () { return chunkPINIBEIU_cjs.DropdownSubmenu; }
46039
+ });
46050
46040
  Object.defineProperty(exports, "Card", {
46051
46041
  enumerable: true,
46052
46042
  get: function () { return chunkMJWFNV3L_cjs.Card; }
@@ -46239,6 +46229,14 @@ Object.defineProperty(exports, "parseDateValue", {
46239
46229
  enumerable: true,
46240
46230
  get: function () { return chunkCW75IKA6_cjs.parseDateValue; }
46241
46231
  });
46232
+ Object.defineProperty(exports, "isHtmlEmpty", {
46233
+ enumerable: true,
46234
+ get: function () { return chunkC7RVKV25_cjs.isHtmlEmpty; }
46235
+ });
46236
+ Object.defineProperty(exports, "stripHtmlTags", {
46237
+ enumerable: true,
46238
+ get: function () { return chunkC7RVKV25_cjs.stripHtmlTags; }
46239
+ });
46242
46240
  Object.defineProperty(exports, "isStorybookDocsMode", {
46243
46241
  enumerable: true,
46244
46242
  get: function () { return chunkSCV7C55E_cjs.isStorybookDocsMode; }
@@ -47245,7 +47243,6 @@ exports.ReportTimeRange = ReportTimeRange;
47245
47243
  exports.ResultsEntryCard = ResultsEntryCard;
47246
47244
  exports.ResultsEntryForm = ResultsEntryForm;
47247
47245
  exports.ResultsEntryModal = ResultsEntryModal;
47248
- exports.RichTextArea = RichTextArea;
47249
47246
  exports.SSOConfigForm = SSOConfigForm;
47250
47247
  exports.ScheduleCalendar = ScheduleCalendar;
47251
47248
  exports.SearchResultsMessage = SearchResultsMessage;