@mieweb/ui 0.7.3-dev.26 → 0.7.3-dev.27

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 (38) hide show
  1. package/dist/brands/index.cjs +12 -12
  2. package/dist/brands/index.js +3 -3
  3. package/dist/{chunk-SK7H3Z67.cjs → chunk-7OL52QUW.cjs} +3 -3
  4. package/dist/{chunk-SK7H3Z67.cjs.map → chunk-7OL52QUW.cjs.map} +1 -1
  5. package/dist/{chunk-MO65V64I.js → chunk-DSSMQH74.js} +2 -2
  6. package/dist/{chunk-MO65V64I.js.map → chunk-DSSMQH74.js.map} +1 -1
  7. package/dist/{chunk-ZVBU64U6.js → chunk-FVPMBLPH.js} +22 -2
  8. package/dist/chunk-FVPMBLPH.js.map +1 -0
  9. package/dist/{chunk-YQTHQSAS.cjs → chunk-KASJE4NM.cjs} +22 -2
  10. package/dist/chunk-KASJE4NM.cjs.map +1 -0
  11. package/dist/chunk-L6MDULYB.js +87 -0
  12. package/dist/chunk-L6MDULYB.js.map +1 -0
  13. package/dist/chunk-N5O47VGS.cjs +109 -0
  14. package/dist/chunk-N5O47VGS.cjs.map +1 -0
  15. package/dist/{chunk-JDHIBJ5K.cjs → chunk-RBEQQ4GG.cjs} +2 -2
  16. package/dist/{chunk-JDHIBJ5K.cjs.map → chunk-RBEQQ4GG.cjs.map} +1 -1
  17. package/dist/{chunk-IYXCFIMP.js → chunk-TWZDJ2D5.js} +3 -3
  18. package/dist/{chunk-IYXCFIMP.js.map → chunk-TWZDJ2D5.js.map} +1 -1
  19. package/dist/components/ClampedText/index.cjs +13 -0
  20. package/dist/components/ClampedText/index.cjs.map +1 -0
  21. package/dist/components/ClampedText/index.d.cts +33 -0
  22. package/dist/components/ClampedText/index.d.ts +33 -0
  23. package/dist/components/ClampedText/index.js +4 -0
  24. package/dist/components/ClampedText/index.js.map +1 -0
  25. package/dist/esheet.cjs +5 -5
  26. package/dist/esheet.js +2 -2
  27. package/dist/index.cjs +117 -112
  28. package/dist/index.cjs.map +1 -1
  29. package/dist/index.d.cts +1 -0
  30. package/dist/index.d.ts +1 -0
  31. package/dist/index.js +16 -15
  32. package/dist/index.js.map +1 -1
  33. package/dist/styles.css +1 -1
  34. package/dist/tailwind-preset.cjs +4 -4
  35. package/dist/tailwind-preset.js +1 -1
  36. package/package.json +1 -1
  37. package/dist/chunk-YQTHQSAS.cjs.map +0 -1
  38. package/dist/chunk-ZVBU64U6.js.map +0 -1
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ var chunkN5O47VGS_cjs = require('../../chunk-N5O47VGS.cjs');
4
+ require('../../chunk-S5RVSXDV.cjs');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "ClampedText", {
9
+ enumerable: true,
10
+ get: function () { return chunkN5O47VGS_cjs.ClampedText; }
11
+ });
12
+ //# sourceMappingURL=index.cjs.map
13
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
@@ -0,0 +1,33 @@
1
+ import * as React from 'react';
2
+
3
+ interface ClampedTextProps extends React.HTMLAttributes<HTMLElement> {
4
+ /** The long text to clamp. */
5
+ text: string;
6
+ /** Lines visible while collapsed (2–8, default 6). */
7
+ lines?: 2 | 3 | 4 | 5 | 6 | 7 | 8;
8
+ /** Skip the clamp entirely below this character count (default 280). */
9
+ threshold?: number;
10
+ /** Toggle labels, overridable for i18n. */
11
+ showMoreLabel?: string;
12
+ showLessLabel?: string;
13
+ /**
14
+ * Gradient start for the fade at the clamp edge — match it to the
15
+ * surface behind the text (default `from-card`).
16
+ */
17
+ fadeClassName?: string;
18
+ }
19
+ /**
20
+ * Clamps long text to N lines with a fade-out gradient and a
21
+ * Show more / Show less toggle. Short text renders inline with no
22
+ * toggle, so brief values stay flat. Pure presentation — ideal for
23
+ * free-text fields (messages, notes, descriptions) inside detail
24
+ * panels and modals.
25
+ *
26
+ * @example
27
+ * ```tsx
28
+ * <ClampedText text={note.body} lines={4} />
29
+ * ```
30
+ */
31
+ declare const ClampedText: React.ForwardRefExoticComponent<ClampedTextProps & React.RefAttributes<HTMLElement>>;
32
+
33
+ export { ClampedText, type ClampedTextProps };
@@ -0,0 +1,33 @@
1
+ import * as React from 'react';
2
+
3
+ interface ClampedTextProps extends React.HTMLAttributes<HTMLElement> {
4
+ /** The long text to clamp. */
5
+ text: string;
6
+ /** Lines visible while collapsed (2–8, default 6). */
7
+ lines?: 2 | 3 | 4 | 5 | 6 | 7 | 8;
8
+ /** Skip the clamp entirely below this character count (default 280). */
9
+ threshold?: number;
10
+ /** Toggle labels, overridable for i18n. */
11
+ showMoreLabel?: string;
12
+ showLessLabel?: string;
13
+ /**
14
+ * Gradient start for the fade at the clamp edge — match it to the
15
+ * surface behind the text (default `from-card`).
16
+ */
17
+ fadeClassName?: string;
18
+ }
19
+ /**
20
+ * Clamps long text to N lines with a fade-out gradient and a
21
+ * Show more / Show less toggle. Short text renders inline with no
22
+ * toggle, so brief values stay flat. Pure presentation — ideal for
23
+ * free-text fields (messages, notes, descriptions) inside detail
24
+ * panels and modals.
25
+ *
26
+ * @example
27
+ * ```tsx
28
+ * <ClampedText text={note.body} lines={4} />
29
+ * ```
30
+ */
31
+ declare const ClampedText: React.ForwardRefExoticComponent<ClampedTextProps & React.RefAttributes<HTMLElement>>;
32
+
33
+ export { ClampedText, type ClampedTextProps };
@@ -0,0 +1,4 @@
1
+ export { ClampedText } from '../../chunk-L6MDULYB.js';
2
+ import '../../chunk-TQONQSJO.js';
3
+ //# sourceMappingURL=index.js.map
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
package/dist/esheet.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var chunkSK7H3Z67_cjs = require('./chunk-SK7H3Z67.cjs');
4
- require('./chunk-BSDBI6H7.cjs');
3
+ var chunk7OL52QUW_cjs = require('./chunk-7OL52QUW.cjs');
5
4
  require('./chunk-WWJIW2IH.cjs');
5
+ require('./chunk-BSDBI6H7.cjs');
6
6
  require('./chunk-G7EQ3JPX.cjs');
7
7
  require('./chunk-AIJAFPGJ.cjs');
8
8
  require('./chunk-56QJHQ5C.cjs');
@@ -78,7 +78,7 @@ function MedicationListField({
78
78
  return definition.medications ?? [];
79
79
  }, [response?.answer, definition.medications]);
80
80
  return /* @__PURE__ */ jsxRuntime.jsx(
81
- chunkSK7H3Z67_cjs.MedicationReconciliation,
81
+ chunk7OL52QUW_cjs.MedicationReconciliation,
82
82
  {
83
83
  medications,
84
84
  onChange: (next) => onResponse({ answer: JSON.stringify({ medications: next }) }),
@@ -135,7 +135,7 @@ function AllergyListField({
135
135
  codeLookup
136
136
  }) {
137
137
  const definition = field.definition;
138
- const ambientCodeLookup = chunkSK7H3Z67_cjs.useCodeLookupConfig();
138
+ const ambientCodeLookup = chunk7OL52QUW_cjs.useCodeLookupConfig();
139
139
  const effectiveCodeLookup = codeLookup === false ? void 0 : codeLookup ?? ambientCodeLookup ?? void 0;
140
140
  const value = React__namespace.useMemo(() => {
141
141
  if (response?.answer) return parseValue2(response.answer);
@@ -145,7 +145,7 @@ function AllergyListField({
145
145
  onResponse({ answer: JSON.stringify(next) });
146
146
  };
147
147
  return /* @__PURE__ */ jsxRuntime.jsx(
148
- chunkSK7H3Z67_cjs.AllergyManager,
148
+ chunk7OL52QUW_cjs.AllergyManager,
149
149
  {
150
150
  allergies: value.allergies,
151
151
  onChange: (allergies) => commit({
package/dist/esheet.js CHANGED
@@ -1,6 +1,6 @@
1
- import { MedicationReconciliation, useCodeLookupConfig, AllergyManager } from './chunk-IYXCFIMP.js';
2
- import './chunk-H3YO5GBM.js';
1
+ import { MedicationReconciliation, useCodeLookupConfig, AllergyManager } from './chunk-TWZDJ2D5.js';
3
2
  import './chunk-FJ7YPVKV.js';
3
+ import './chunk-H3YO5GBM.js';
4
4
  import './chunk-EPSB4WTL.js';
5
5
  import './chunk-I3WGZPI6.js';
6
6
  import './chunk-XBKOZRDO.js';
package/dist/index.cjs CHANGED
@@ -1,37 +1,38 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkUVSODK6V_cjs = require('./chunk-UVSODK6V.cjs');
4
+ var chunkZ5KFXHDP_cjs = require('./chunk-Z5KFXHDP.cjs');
4
5
  var chunkVTKXM7IE_cjs = require('./chunk-VTKXM7IE.cjs');
5
6
  var chunkDG7KE4YJ_cjs = require('./chunk-DG7KE4YJ.cjs');
6
7
  var chunkZJCPW6MS_cjs = require('./chunk-ZJCPW6MS.cjs');
7
- var chunkJDHIBJ5K_cjs = require('./chunk-JDHIBJ5K.cjs');
8
+ var chunkRBEQQ4GG_cjs = require('./chunk-RBEQQ4GG.cjs');
9
+ var chunkX7S76WB7_cjs = require('./chunk-X7S76WB7.cjs');
8
10
  var chunkP52GA3GJ_cjs = require('./chunk-P52GA3GJ.cjs');
9
11
  var chunkLCQGAOAZ_cjs = require('./chunk-LCQGAOAZ.cjs');
10
12
  var chunkZ5J4NTPL_cjs = require('./chunk-Z5J4NTPL.cjs');
11
13
  var chunkU7VQUOLS_cjs = require('./chunk-U7VQUOLS.cjs');
14
+ var chunkUCGUA3QV_cjs = require('./chunk-UCGUA3QV.cjs');
12
15
  var chunkRR2MJBGV_cjs = require('./chunk-RR2MJBGV.cjs');
13
- var chunkX7S76WB7_cjs = require('./chunk-X7S76WB7.cjs');
14
16
  var chunkJ644FU54_cjs = require('./chunk-J644FU54.cjs');
15
17
  var chunkWNJRS7Y7_cjs = require('./chunk-WNJRS7Y7.cjs');
16
- var chunkUCGUA3QV_cjs = require('./chunk-UCGUA3QV.cjs');
18
+ var chunkXXVUHLQN_cjs = require('./chunk-XXVUHLQN.cjs');
17
19
  var chunkXS35KPBZ_cjs = require('./chunk-XS35KPBZ.cjs');
18
20
  var chunkRYQ3S3KO_cjs = require('./chunk-RYQ3S3KO.cjs');
19
21
  var chunk26DPQUSB_cjs = require('./chunk-26DPQUSB.cjs');
20
22
  var chunkIJYTASQQ_cjs = require('./chunk-IJYTASQQ.cjs');
21
23
  var chunkP7UMS4E6_cjs = require('./chunk-P7UMS4E6.cjs');
22
24
  var chunk3IAA3KCE_cjs = require('./chunk-3IAA3KCE.cjs');
23
- var chunkZ5KFXHDP_cjs = require('./chunk-Z5KFXHDP.cjs');
25
+ var chunkOZOSWBSI_cjs = require('./chunk-OZOSWBSI.cjs');
24
26
  var chunk5JZIDILK_cjs = require('./chunk-5JZIDILK.cjs');
25
27
  var chunkYGA35Z2P_cjs = require('./chunk-YGA35Z2P.cjs');
26
28
  var chunkELYGV32O_cjs = require('./chunk-ELYGV32O.cjs');
27
- var chunkXXVUHLQN_cjs = require('./chunk-XXVUHLQN.cjs');
29
+ var chunkVPIYTQCV_cjs = require('./chunk-VPIYTQCV.cjs');
28
30
  var chunkFF235PKY_cjs = require('./chunk-FF235PKY.cjs');
29
31
  var chunk5MXO6PEV_cjs = require('./chunk-5MXO6PEV.cjs');
30
32
  var chunkJTSKPDPH_cjs = require('./chunk-JTSKPDPH.cjs');
31
33
  var chunkKVE7PQ5P_cjs = require('./chunk-KVE7PQ5P.cjs');
32
34
  var chunkYP5T6NZD_cjs = require('./chunk-YP5T6NZD.cjs');
33
35
  var chunk3SZQRMHM_cjs = require('./chunk-3SZQRMHM.cjs');
34
- var chunkOZOSWBSI_cjs = require('./chunk-OZOSWBSI.cjs');
35
36
  var chunkLJBWCUKP_cjs = require('./chunk-LJBWCUKP.cjs');
36
37
  var chunkK4S4FAYX_cjs = require('./chunk-K4S4FAYX.cjs');
37
38
  var chunkFN6VHMLM_cjs = require('./chunk-FN6VHMLM.cjs');
@@ -44,7 +45,7 @@ require('./chunk-GLXTVCHN.cjs');
44
45
  var chunkJP5SGIXA_cjs = require('./chunk-JP5SGIXA.cjs');
45
46
  var chunk4AE2L6AO_cjs = require('./chunk-4AE2L6AO.cjs');
46
47
  var chunkGQVL2JKQ_cjs = require('./chunk-GQVL2JKQ.cjs');
47
- var chunkVPIYTQCV_cjs = require('./chunk-VPIYTQCV.cjs');
48
+ var chunkNGSDBWKA_cjs = require('./chunk-NGSDBWKA.cjs');
48
49
  var chunkSPWVKDGC_cjs = require('./chunk-SPWVKDGC.cjs');
49
50
  var chunkYVIH26FG_cjs = require('./chunk-YVIH26FG.cjs');
50
51
  var chunkPLMXN23Q_cjs = require('./chunk-PLMXN23Q.cjs');
@@ -57,10 +58,10 @@ require('./chunk-VBWRH4UW.cjs');
57
58
  var chunkI2ECTLON_cjs = require('./chunk-I2ECTLON.cjs');
58
59
  require('./chunk-RHNPILZQ.cjs');
59
60
  var chunk7AECNMYV_cjs = require('./chunk-7AECNMYV.cjs');
61
+ var chunkN5O47VGS_cjs = require('./chunk-N5O47VGS.cjs');
60
62
  var chunkX4LBUPJO_cjs = require('./chunk-X4LBUPJO.cjs');
61
63
  var chunkIUDY6S7I_cjs = require('./chunk-IUDY6S7I.cjs');
62
- var chunkNGSDBWKA_cjs = require('./chunk-NGSDBWKA.cjs');
63
- var chunkYQTHQSAS_cjs = require('./chunk-YQTHQSAS.cjs');
64
+ var chunkKASJE4NM_cjs = require('./chunk-KASJE4NM.cjs');
64
65
  var chunkHK3AMH3Q_cjs = require('./chunk-HK3AMH3Q.cjs');
65
66
  var chunkEPQPUFS6_cjs = require('./chunk-EPQPUFS6.cjs');
66
67
  var chunkTVLZZI5Q_cjs = require('./chunk-TVLZZI5Q.cjs');
@@ -69,9 +70,9 @@ var chunkW4Q4UEXA_cjs = require('./chunk-W4Q4UEXA.cjs');
69
70
  var chunkJHGMZX4I_cjs = require('./chunk-JHGMZX4I.cjs');
70
71
  var chunkU3JU6BI5_cjs = require('./chunk-U3JU6BI5.cjs');
71
72
  var chunkRI56YPED_cjs = require('./chunk-RI56YPED.cjs');
72
- var chunkSK7H3Z67_cjs = require('./chunk-SK7H3Z67.cjs');
73
- var chunkBSDBI6H7_cjs = require('./chunk-BSDBI6H7.cjs');
73
+ var chunk7OL52QUW_cjs = require('./chunk-7OL52QUW.cjs');
74
74
  var chunkWWJIW2IH_cjs = require('./chunk-WWJIW2IH.cjs');
75
+ var chunkBSDBI6H7_cjs = require('./chunk-BSDBI6H7.cjs');
75
76
  var chunkG7EQ3JPX_cjs = require('./chunk-G7EQ3JPX.cjs');
76
77
  var chunkAIJAFPGJ_cjs = require('./chunk-AIJAFPGJ.cjs');
77
78
  var chunk56QJHQ5C_cjs = require('./chunk-56QJHQ5C.cjs');
@@ -7949,8 +7950,8 @@ function ConcernRow({
7949
7950
  ]
7950
7951
  }
7951
7952
  ),
7952
- !readOnly && /* @__PURE__ */ jsxRuntime.jsx(chunkSK7H3Z67_cjs.RowActionToolbar, { label: `Actions for ${current.text}`, align: "top", children: visibleActions.map((action) => /* @__PURE__ */ jsxRuntime.jsx(
7953
- chunkSK7H3Z67_cjs.RowIconButton,
7953
+ !readOnly && /* @__PURE__ */ jsxRuntime.jsx(chunk7OL52QUW_cjs.RowActionToolbar, { label: `Actions for ${current.text}`, align: "top", children: visibleActions.map((action) => /* @__PURE__ */ jsxRuntime.jsx(
7954
+ chunk7OL52QUW_cjs.RowIconButton,
7954
7955
  {
7955
7956
  label: ACTION_META[action].label,
7956
7957
  icon: ACTION_META[action].icon,
@@ -8379,13 +8380,13 @@ function OrderRow({
8379
8380
  ) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
8380
8381
  /* @__PURE__ */ jsxRuntime.jsx(OrderContent, { order }),
8381
8382
  interactive && /* @__PURE__ */ jsxRuntime.jsxs(
8382
- chunkSK7H3Z67_cjs.RowActionToolbar,
8383
+ chunk7OL52QUW_cjs.RowActionToolbar,
8383
8384
  {
8384
8385
  label: `Actions for ${order.display}`,
8385
8386
  group: "order",
8386
8387
  children: [
8387
8388
  canEdit && /* @__PURE__ */ jsxRuntime.jsx(
8388
- chunkSK7H3Z67_cjs.RowIconButton,
8389
+ chunk7OL52QUW_cjs.RowIconButton,
8389
8390
  {
8390
8391
  label: "Edit",
8391
8392
  icon: chunkPAM5UUBL_cjs.Pencil,
@@ -8453,7 +8454,7 @@ function OrderRow({
8453
8454
  }
8454
8455
  ),
8455
8456
  controls?.remove && /* @__PURE__ */ jsxRuntime.jsx(
8456
- chunkSK7H3Z67_cjs.RowIconButton,
8457
+ chunk7OL52QUW_cjs.RowIconButton,
8457
8458
  {
8458
8459
  label: "Remove",
8459
8460
  icon: chunkPAM5UUBL_cjs.Trash2,
@@ -8622,7 +8623,7 @@ var Assessment = React13__namespace.forwardRef(
8622
8623
  null
8623
8624
  );
8624
8625
  const [announcement, setAnnouncement] = chunkYVPC65ZJ_cjs.useLiveAnnouncement();
8625
- const ambientCodeLookup = chunkSK7H3Z67_cjs.useCodeLookupConfig();
8626
+ const ambientCodeLookup = chunk7OL52QUW_cjs.useCodeLookupConfig();
8626
8627
  const effectiveRenderOrderSearch = renderOrderSearch === false ? void 0 : renderOrderSearch ?? (ambientCodeLookup ? contextOrderSearch(ambientCodeLookup) : void 0);
8627
8628
  const concernById = React13__namespace.useMemo(
8628
8629
  () => new Map(concerns.map((c) => [c.concernId, c])),
@@ -8877,7 +8878,7 @@ var Assessment = React13__namespace.forwardRef(
8877
8878
  assertion.verificationStatus !== "confirmed" && /* @__PURE__ */ jsxRuntime.jsx(chunkYVL3XATO_cjs.Badge, { variant: "warning", size: "sm", children: assertion.verificationStatus }),
8878
8879
  /* @__PURE__ */ jsxRuntime.jsx(CodingChips, { coding: assertion.coding }),
8879
8880
  !readOnly && /* @__PURE__ */ jsxRuntime.jsx(
8880
- chunkSK7H3Z67_cjs.RowActionToolbar,
8881
+ chunk7OL52QUW_cjs.RowActionToolbar,
8881
8882
  {
8882
8883
  label: `Actions for ${assertion.text}`,
8883
8884
  align: "top",
@@ -8887,7 +8888,7 @@ var Assessment = React13__namespace.forwardRef(
8887
8888
  if (action === "add-order" && !onAddOrder && !onAction)
8888
8889
  return null;
8889
8890
  return /* @__PURE__ */ jsxRuntime.jsx(
8890
- chunkSK7H3Z67_cjs.RowIconButton,
8891
+ chunk7OL52QUW_cjs.RowIconButton,
8891
8892
  {
8892
8893
  label: meta.label,
8893
8894
  icon: meta.icon,
@@ -12545,7 +12546,7 @@ function ConditionEditor({
12545
12546
  "data-testid": dataTestId
12546
12547
  }) {
12547
12548
  const prior = concern ? currentAssertion(concern) : void 0;
12548
- const ambientCodeLookup = chunkSK7H3Z67_cjs.useCodeLookupConfig();
12549
+ const ambientCodeLookup = chunk7OL52QUW_cjs.useCodeLookupConfig();
12549
12550
  const effectiveRenderCodeSearch = renderCodeSearch === false ? void 0 : renderCodeSearch ?? (ambientCodeLookup ? contextConditionCodeSearch(ambientCodeLookup) : void 0);
12550
12551
  const [text, setText] = React13__namespace.useState("");
12551
12552
  const [coding, setCoding] = React13__namespace.useState([]);
@@ -28365,7 +28366,7 @@ var defaultOrderTabs = [
28365
28366
  { id: "rejected", label: "Rejected", statuses: ["rejected", "cancelled"] }
28366
28367
  ];
28367
28368
  function orderToMedication(order) {
28368
- const sig = order.detail ? chunkSK7H3Z67_cjs.parseSig(order.detail) : void 0;
28369
+ const sig = order.detail ? chunk7OL52QUW_cjs.parseSig(order.detail) : void 0;
28369
28370
  return {
28370
28371
  id: order.orderId,
28371
28372
  name: order.display,
@@ -28373,7 +28374,7 @@ function orderToMedication(order) {
28373
28374
  status: "unreconciled",
28374
28375
  indication: order.indication,
28375
28376
  pharmacyNotes: order.notes,
28376
- ...chunkSK7H3Z67_cjs.labelToMedicationFields(order.display),
28377
+ ...chunk7OL52QUW_cjs.labelToMedicationFields(order.display),
28377
28378
  ...sig && {
28378
28379
  route: sig.route,
28379
28380
  frequency: sig.frequency,
@@ -28444,7 +28445,7 @@ function BaseOrderEditor({
28444
28445
  onSave
28445
28446
  }) {
28446
28447
  const config = TYPE_CONFIG[type];
28447
- const ambientCodeLookup = chunkSK7H3Z67_cjs.useCodeLookupConfig();
28448
+ const ambientCodeLookup = chunk7OL52QUW_cjs.useCodeLookupConfig();
28448
28449
  const effectiveCodeLookup = codeLookup === false ? void 0 : codeLookup ?? ambientCodeLookup ?? void 0;
28449
28450
  const [draft, setDraft] = React13__namespace.useState(
28450
28451
  () => order ?? {
@@ -28643,7 +28644,7 @@ function OrderEditor({
28643
28644
  display: ""
28644
28645
  };
28645
28646
  return /* @__PURE__ */ jsxRuntime.jsx(
28646
- chunkSK7H3Z67_cjs.MedicationEditor,
28647
+ chunk7OL52QUW_cjs.MedicationEditor,
28647
28648
  {
28648
28649
  open,
28649
28650
  medication: order ? orderToMedication(order) : void 0,
@@ -31299,7 +31300,7 @@ function RelevanceControl({
31299
31300
  {
31300
31301
  role: "toolbar",
31301
31302
  "aria-label": `Relevance for ${labelPrefix}`,
31302
- onKeyDown: chunkSK7H3Z67_cjs.toolbarKeyNav,
31303
+ onKeyDown: chunk7OL52QUW_cjs.toolbarKeyNav,
31303
31304
  className: "border-border flex shrink-0 items-center overflow-hidden rounded-md border",
31304
31305
  children: RELEVANCE_ORDER.map((relevance) => {
31305
31306
  const active = value === relevance;
@@ -44564,6 +44565,30 @@ function WebsiteInputGroup({
44564
44565
  }
44565
44566
  WebsiteInputGroup.displayName = "WebsiteInputGroup";
44566
44567
 
44568
+ Object.defineProperty(exports, "ThemeProvider", {
44569
+ enumerable: true,
44570
+ get: function () { return chunkZ5KFXHDP_cjs.ThemeProvider; }
44571
+ });
44572
+ Object.defineProperty(exports, "ThemeProviderContext", {
44573
+ enumerable: true,
44574
+ get: function () { return chunkZ5KFXHDP_cjs.ThemeProviderContext; }
44575
+ });
44576
+ Object.defineProperty(exports, "ThemeToggle", {
44577
+ enumerable: true,
44578
+ get: function () { return chunkZ5KFXHDP_cjs.ThemeToggle; }
44579
+ });
44580
+ Object.defineProperty(exports, "themeToggleIconVariants", {
44581
+ enumerable: true,
44582
+ get: function () { return chunkZ5KFXHDP_cjs.themeToggleIconVariants; }
44583
+ });
44584
+ Object.defineProperty(exports, "themeToggleVariants", {
44585
+ enumerable: true,
44586
+ get: function () { return chunkZ5KFXHDP_cjs.themeToggleVariants; }
44587
+ });
44588
+ Object.defineProperty(exports, "useThemeContext", {
44589
+ enumerable: true,
44590
+ get: function () { return chunkZ5KFXHDP_cjs.useThemeContext; }
44591
+ });
44567
44592
  Object.defineProperty(exports, "Toggle", {
44568
44593
  enumerable: true,
44569
44594
  get: function () { return chunkVTKXM7IE_cjs.Toggle; }
@@ -44586,7 +44611,11 @@ Object.defineProperty(exports, "VisuallyHidden", {
44586
44611
  });
44587
44612
  Object.defineProperty(exports, "brands", {
44588
44613
  enumerable: true,
44589
- get: function () { return chunkJDHIBJ5K_cjs.brands; }
44614
+ get: function () { return chunkRBEQQ4GG_cjs.brands; }
44615
+ });
44616
+ Object.defineProperty(exports, "defaultBrand", {
44617
+ enumerable: true,
44618
+ get: function () { return chunkX7S76WB7_cjs.defaultBrand; }
44590
44619
  });
44591
44620
  Object.defineProperty(exports, "enterpriseHealthBrand", {
44592
44621
  enumerable: true,
@@ -44604,13 +44633,13 @@ Object.defineProperty(exports, "webchartBrand", {
44604
44633
  enumerable: true,
44605
44634
  get: function () { return chunkU7VQUOLS_cjs.webchartBrand; }
44606
44635
  });
44607
- Object.defineProperty(exports, "ozwellBrand", {
44636
+ Object.defineProperty(exports, "ccmeBrand", {
44608
44637
  enumerable: true,
44609
- get: function () { return chunkRR2MJBGV_cjs.ozwellBrand; }
44638
+ get: function () { return chunkUCGUA3QV_cjs.ccmeBrand; }
44610
44639
  });
44611
- Object.defineProperty(exports, "defaultBrand", {
44640
+ Object.defineProperty(exports, "ozwellBrand", {
44612
44641
  enumerable: true,
44613
- get: function () { return chunkX7S76WB7_cjs.defaultBrand; }
44642
+ get: function () { return chunkRR2MJBGV_cjs.ozwellBrand; }
44614
44643
  });
44615
44644
  Object.defineProperty(exports, "createBrandPreset", {
44616
44645
  enumerable: true,
@@ -44628,9 +44657,21 @@ Object.defineProperty(exports, "bluehiveBrand", {
44628
44657
  enumerable: true,
44629
44658
  get: function () { return chunkWNJRS7Y7_cjs.bluehiveBrand; }
44630
44659
  });
44631
- Object.defineProperty(exports, "ccmeBrand", {
44660
+ Object.defineProperty(exports, "FullPageSpinner", {
44632
44661
  enumerable: true,
44633
- get: function () { return chunkUCGUA3QV_cjs.ccmeBrand; }
44662
+ get: function () { return chunkXXVUHLQN_cjs.FullPageSpinner; }
44663
+ });
44664
+ Object.defineProperty(exports, "Spinner", {
44665
+ enumerable: true,
44666
+ get: function () { return chunkXXVUHLQN_cjs.Spinner; }
44667
+ });
44668
+ Object.defineProperty(exports, "SpinnerWithLabel", {
44669
+ enumerable: true,
44670
+ get: function () { return chunkXXVUHLQN_cjs.SpinnerWithLabel; }
44671
+ });
44672
+ Object.defineProperty(exports, "spinnerVariants", {
44673
+ enumerable: true,
44674
+ get: function () { return chunkXXVUHLQN_cjs.spinnerVariants; }
44634
44675
  });
44635
44676
  Object.defineProperty(exports, "AILogoIcon", {
44636
44677
  enumerable: true,
@@ -44924,29 +44965,13 @@ Object.defineProperty(exports, "textVariants", {
44924
44965
  enumerable: true,
44925
44966
  get: function () { return chunk3IAA3KCE_cjs.textVariants; }
44926
44967
  });
44927
- Object.defineProperty(exports, "ThemeProvider", {
44928
- enumerable: true,
44929
- get: function () { return chunkZ5KFXHDP_cjs.ThemeProvider; }
44930
- });
44931
- Object.defineProperty(exports, "ThemeProviderContext", {
44932
- enumerable: true,
44933
- get: function () { return chunkZ5KFXHDP_cjs.ThemeProviderContext; }
44934
- });
44935
- Object.defineProperty(exports, "ThemeToggle", {
44936
- enumerable: true,
44937
- get: function () { return chunkZ5KFXHDP_cjs.ThemeToggle; }
44938
- });
44939
- Object.defineProperty(exports, "themeToggleIconVariants", {
44940
- enumerable: true,
44941
- get: function () { return chunkZ5KFXHDP_cjs.themeToggleIconVariants; }
44942
- });
44943
- Object.defineProperty(exports, "themeToggleVariants", {
44968
+ Object.defineProperty(exports, "ScrollArea", {
44944
44969
  enumerable: true,
44945
- get: function () { return chunkZ5KFXHDP_cjs.themeToggleVariants; }
44970
+ get: function () { return chunkOZOSWBSI_cjs.ScrollArea; }
44946
44971
  });
44947
- Object.defineProperty(exports, "useThemeContext", {
44972
+ Object.defineProperty(exports, "scrollAreaVariants", {
44948
44973
  enumerable: true,
44949
- get: function () { return chunkZ5KFXHDP_cjs.useThemeContext; }
44974
+ get: function () { return chunkOZOSWBSI_cjs.scrollAreaVariants; }
44950
44975
  });
44951
44976
  Object.defineProperty(exports, "SectionSpyNav", {
44952
44977
  enumerable: true,
@@ -44976,21 +45001,25 @@ Object.defineProperty(exports, "SourceTip", {
44976
45001
  enumerable: true,
44977
45002
  get: function () { return chunkELYGV32O_cjs.SourceTip; }
44978
45003
  });
44979
- Object.defineProperty(exports, "FullPageSpinner", {
45004
+ Object.defineProperty(exports, "CircularProgress", {
44980
45005
  enumerable: true,
44981
- get: function () { return chunkXXVUHLQN_cjs.FullPageSpinner; }
45006
+ get: function () { return chunkVPIYTQCV_cjs.CircularProgress; }
44982
45007
  });
44983
- Object.defineProperty(exports, "Spinner", {
45008
+ Object.defineProperty(exports, "Progress", {
44984
45009
  enumerable: true,
44985
- get: function () { return chunkXXVUHLQN_cjs.Spinner; }
45010
+ get: function () { return chunkVPIYTQCV_cjs.Progress; }
44986
45011
  });
44987
- Object.defineProperty(exports, "SpinnerWithLabel", {
45012
+ Object.defineProperty(exports, "circularProgressVariants", {
44988
45013
  enumerable: true,
44989
- get: function () { return chunkXXVUHLQN_cjs.SpinnerWithLabel; }
45014
+ get: function () { return chunkVPIYTQCV_cjs.circularProgressVariants; }
44990
45015
  });
44991
- Object.defineProperty(exports, "spinnerVariants", {
45016
+ Object.defineProperty(exports, "progressBarFillVariants", {
44992
45017
  enumerable: true,
44993
- get: function () { return chunkXXVUHLQN_cjs.spinnerVariants; }
45018
+ get: function () { return chunkVPIYTQCV_cjs.progressBarFillVariants; }
45019
+ });
45020
+ Object.defineProperty(exports, "progressBarTrackVariants", {
45021
+ enumerable: true,
45022
+ get: function () { return chunkVPIYTQCV_cjs.progressBarTrackVariants; }
44994
45023
  });
44995
45024
  Object.defineProperty(exports, "QuickAction", {
44996
45025
  enumerable: true,
@@ -45084,14 +45113,6 @@ Object.defineProperty(exports, "timeButtonVariants", {
45084
45113
  enumerable: true,
45085
45114
  get: function () { return chunk3SZQRMHM_cjs.timeButtonVariants; }
45086
45115
  });
45087
- Object.defineProperty(exports, "ScrollArea", {
45088
- enumerable: true,
45089
- get: function () { return chunkOZOSWBSI_cjs.ScrollArea; }
45090
- });
45091
- Object.defineProperty(exports, "scrollAreaVariants", {
45092
- enumerable: true,
45093
- get: function () { return chunkOZOSWBSI_cjs.scrollAreaVariants; }
45094
- });
45095
45116
  Object.defineProperty(exports, "CodeBlock", {
45096
45117
  enumerable: true,
45097
45118
  get: function () { return chunkLJBWCUKP_cjs.CodeBlock; }
@@ -45196,25 +45217,9 @@ Object.defineProperty(exports, "PhoneInputGroup", {
45196
45217
  enumerable: true,
45197
45218
  get: function () { return chunkGQVL2JKQ_cjs.PhoneInputGroup; }
45198
45219
  });
45199
- Object.defineProperty(exports, "CircularProgress", {
45200
- enumerable: true,
45201
- get: function () { return chunkVPIYTQCV_cjs.CircularProgress; }
45202
- });
45203
- Object.defineProperty(exports, "Progress", {
45204
- enumerable: true,
45205
- get: function () { return chunkVPIYTQCV_cjs.Progress; }
45206
- });
45207
- Object.defineProperty(exports, "circularProgressVariants", {
45208
- enumerable: true,
45209
- get: function () { return chunkVPIYTQCV_cjs.circularProgressVariants; }
45210
- });
45211
- Object.defineProperty(exports, "progressBarFillVariants", {
45212
- enumerable: true,
45213
- get: function () { return chunkVPIYTQCV_cjs.progressBarFillVariants; }
45214
- });
45215
- Object.defineProperty(exports, "progressBarTrackVariants", {
45220
+ Object.defineProperty(exports, "CopyButton", {
45216
45221
  enumerable: true,
45217
- get: function () { return chunkVPIYTQCV_cjs.progressBarTrackVariants; }
45222
+ get: function () { return chunkNGSDBWKA_cjs.CopyButton; }
45218
45223
  });
45219
45224
  Object.defineProperty(exports, "CountryCodeDropdown", {
45220
45225
  enumerable: true,
@@ -45376,6 +45381,10 @@ Object.defineProperty(exports, "checkboxVariants", {
45376
45381
  enumerable: true,
45377
45382
  get: function () { return chunk7AECNMYV_cjs.checkboxVariants; }
45378
45383
  });
45384
+ Object.defineProperty(exports, "ClampedText", {
45385
+ enumerable: true,
45386
+ get: function () { return chunkN5O47VGS_cjs.ClampedText; }
45387
+ });
45379
45388
  Object.defineProperty(exports, "CollabStatus", {
45380
45389
  enumerable: true,
45381
45390
  get: function () { return chunkX4LBUPJO_cjs.CollabStatus; }
@@ -45400,17 +45409,13 @@ Object.defineProperty(exports, "CollapsibleTrigger", {
45400
45409
  enumerable: true,
45401
45410
  get: function () { return chunkIUDY6S7I_cjs.CollapsibleTrigger; }
45402
45411
  });
45403
- Object.defineProperty(exports, "CopyButton", {
45404
- enumerable: true,
45405
- get: function () { return chunkNGSDBWKA_cjs.CopyButton; }
45406
- });
45407
45412
  Object.defineProperty(exports, "miewebUIPreset", {
45408
45413
  enumerable: true,
45409
- get: function () { return chunkYQTHQSAS_cjs.miewebUIPreset; }
45414
+ get: function () { return chunkKASJE4NM_cjs.miewebUIPreset; }
45410
45415
  });
45411
45416
  Object.defineProperty(exports, "miewebUISafelist", {
45412
45417
  enumerable: true,
45413
- get: function () { return chunkYQTHQSAS_cjs.miewebUISafelist; }
45418
+ get: function () { return chunkKASJE4NM_cjs.miewebUISafelist; }
45414
45419
  });
45415
45420
  Object.defineProperty(exports, "Accordion", {
45416
45421
  enumerable: true,
@@ -45522,67 +45527,71 @@ Object.defineProperty(exports, "isApplicable", {
45522
45527
  });
45523
45528
  Object.defineProperty(exports, "ALLERGY_TYPE_LABELS", {
45524
45529
  enumerable: true,
45525
- get: function () { return chunkSK7H3Z67_cjs.ALLERGY_TYPE_LABELS; }
45530
+ get: function () { return chunk7OL52QUW_cjs.ALLERGY_TYPE_LABELS; }
45526
45531
  });
45527
45532
  Object.defineProperty(exports, "AllergyList", {
45528
45533
  enumerable: true,
45529
- get: function () { return chunkSK7H3Z67_cjs.AllergyList; }
45534
+ get: function () { return chunk7OL52QUW_cjs.AllergyList; }
45530
45535
  });
45531
45536
  Object.defineProperty(exports, "AllergyManager", {
45532
45537
  enumerable: true,
45533
- get: function () { return chunkSK7H3Z67_cjs.AllergyManager; }
45538
+ get: function () { return chunk7OL52QUW_cjs.AllergyManager; }
45534
45539
  });
45535
45540
  Object.defineProperty(exports, "CodeLookupProvider", {
45536
45541
  enumerable: true,
45537
- get: function () { return chunkSK7H3Z67_cjs.CodeLookupProvider; }
45542
+ get: function () { return chunk7OL52QUW_cjs.CodeLookupProvider; }
45538
45543
  });
45539
45544
  Object.defineProperty(exports, "MEDICATION_STATUS_LABELS", {
45540
45545
  enumerable: true,
45541
- get: function () { return chunkSK7H3Z67_cjs.MEDICATION_STATUS_LABELS; }
45546
+ get: function () { return chunk7OL52QUW_cjs.MEDICATION_STATUS_LABELS; }
45542
45547
  });
45543
45548
  Object.defineProperty(exports, "MedicationEditor", {
45544
45549
  enumerable: true,
45545
- get: function () { return chunkSK7H3Z67_cjs.MedicationEditor; }
45550
+ get: function () { return chunk7OL52QUW_cjs.MedicationEditor; }
45546
45551
  });
45547
45552
  Object.defineProperty(exports, "MedicationList", {
45548
45553
  enumerable: true,
45549
- get: function () { return chunkSK7H3Z67_cjs.MedicationList; }
45554
+ get: function () { return chunk7OL52QUW_cjs.MedicationList; }
45550
45555
  });
45551
45556
  Object.defineProperty(exports, "MedicationReconciliation", {
45552
45557
  enumerable: true,
45553
- get: function () { return chunkSK7H3Z67_cjs.MedicationReconciliation; }
45558
+ get: function () { return chunk7OL52QUW_cjs.MedicationReconciliation; }
45554
45559
  });
45555
45560
  Object.defineProperty(exports, "RowActionToolbar", {
45556
45561
  enumerable: true,
45557
- get: function () { return chunkSK7H3Z67_cjs.RowActionToolbar; }
45562
+ get: function () { return chunk7OL52QUW_cjs.RowActionToolbar; }
45558
45563
  });
45559
45564
  Object.defineProperty(exports, "RowIconButton", {
45560
45565
  enumerable: true,
45561
- get: function () { return chunkSK7H3Z67_cjs.RowIconButton; }
45566
+ get: function () { return chunk7OL52QUW_cjs.RowIconButton; }
45562
45567
  });
45563
45568
  Object.defineProperty(exports, "labelToMedicationFields", {
45564
45569
  enumerable: true,
45565
- get: function () { return chunkSK7H3Z67_cjs.labelToMedicationFields; }
45570
+ get: function () { return chunk7OL52QUW_cjs.labelToMedicationFields; }
45566
45571
  });
45567
45572
  Object.defineProperty(exports, "lookupToMedicationFields", {
45568
45573
  enumerable: true,
45569
- get: function () { return chunkSK7H3Z67_cjs.lookupToMedicationFields; }
45574
+ get: function () { return chunk7OL52QUW_cjs.lookupToMedicationFields; }
45570
45575
  });
45571
45576
  Object.defineProperty(exports, "parseMedicationLabel", {
45572
45577
  enumerable: true,
45573
- get: function () { return chunkSK7H3Z67_cjs.parseMedicationLabel; }
45578
+ get: function () { return chunk7OL52QUW_cjs.parseMedicationLabel; }
45574
45579
  });
45575
45580
  Object.defineProperty(exports, "parseSig", {
45576
45581
  enumerable: true,
45577
- get: function () { return chunkSK7H3Z67_cjs.parseSig; }
45582
+ get: function () { return chunk7OL52QUW_cjs.parseSig; }
45578
45583
  });
45579
45584
  Object.defineProperty(exports, "toolbarKeyNav", {
45580
45585
  enumerable: true,
45581
- get: function () { return chunkSK7H3Z67_cjs.toolbarKeyNav; }
45586
+ get: function () { return chunk7OL52QUW_cjs.toolbarKeyNav; }
45582
45587
  });
45583
45588
  Object.defineProperty(exports, "useCodeLookupConfig", {
45584
45589
  enumerable: true,
45585
- get: function () { return chunkSK7H3Z67_cjs.useCodeLookupConfig; }
45590
+ get: function () { return chunk7OL52QUW_cjs.useCodeLookupConfig; }
45591
+ });
45592
+ Object.defineProperty(exports, "Tooltip", {
45593
+ enumerable: true,
45594
+ get: function () { return chunkWWJIW2IH_cjs.Tooltip; }
45586
45595
  });
45587
45596
  Object.defineProperty(exports, "Textarea", {
45588
45597
  enumerable: true,
@@ -45592,10 +45601,6 @@ Object.defineProperty(exports, "textareaVariants", {
45592
45601
  enumerable: true,
45593
45602
  get: function () { return chunkBSDBI6H7_cjs.textareaVariants; }
45594
45603
  });
45595
- Object.defineProperty(exports, "Tooltip", {
45596
- enumerable: true,
45597
- get: function () { return chunkWWJIW2IH_cjs.Tooltip; }
45598
- });
45599
45604
  Object.defineProperty(exports, "Radio", {
45600
45605
  enumerable: true,
45601
45606
  get: function () { return chunkG7EQ3JPX_cjs.Radio; }