@mieweb/ui 0.7.1-dev.4 → 0.7.1-dev.6
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.
- package/dist/{chunk-MBESCEWS.cjs → chunk-5M2YSPJH.cjs} +51 -15
- package/dist/chunk-5M2YSPJH.cjs.map +1 -0
- package/dist/{chunk-6D5F7EDM.js → chunk-F3PPRNFI.js} +5 -4
- package/dist/chunk-F3PPRNFI.js.map +1 -0
- package/dist/{chunk-YVBSAIJ4.js → chunk-GOAW2UCP.js} +46 -10
- package/dist/chunk-GOAW2UCP.js.map +1 -0
- package/dist/{chunk-O5UJRGRV.cjs → chunk-NPKPCYAT.cjs} +37 -3
- package/dist/chunk-NPKPCYAT.cjs.map +1 -0
- package/dist/{chunk-PWHK7SWN.cjs → chunk-O4PGFGUW.cjs} +5 -4
- package/dist/chunk-O4PGFGUW.cjs.map +1 -0
- package/dist/{chunk-FKHMTRF2.js → chunk-UUI7WXI5.js} +37 -3
- package/dist/chunk-UUI7WXI5.js.map +1 -0
- package/dist/{chunk-PFWHWIXS.cjs → chunk-VIWEV6TJ.cjs} +4 -2
- package/dist/chunk-VIWEV6TJ.cjs.map +1 -0
- package/dist/{chunk-LJ2ZWIX6.js → chunk-Y3ZZEDIU.js} +4 -2
- package/dist/chunk-Y3ZZEDIU.js.map +1 -0
- package/dist/components/MediaEditor/index.cjs +7 -7
- package/dist/components/MediaEditor/index.d.cts +24 -1
- package/dist/components/MediaEditor/index.d.ts +24 -1
- package/dist/components/MediaEditor/index.js +2 -2
- package/dist/esheet.cjs +4 -4
- package/dist/esheet.js +1 -1
- package/dist/hooks/index.cjs +9 -9
- package/dist/hooks/index.d.cts +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/index.cjs +49 -49
- package/dist/index.d.cts +84 -3
- package/dist/index.d.ts +84 -3
- package/dist/index.js +5 -5
- package/dist/tailwind-preset.cjs +4 -4
- package/dist/tailwind-preset.js +1 -1
- package/dist/{useTranscriptEdits-DgeVQMSi.d.cts → useTranscriptEdits-CGzlemHT.d.cts} +4 -0
- package/dist/{useTranscriptEdits-C0Hhy2pO.d.ts → useTranscriptEdits-D32bLs0l.d.ts} +4 -0
- package/package.json +1 -1
- package/dist/chunk-6D5F7EDM.js.map +0 -1
- package/dist/chunk-FKHMTRF2.js.map +0 -1
- package/dist/chunk-LJ2ZWIX6.js.map +0 -1
- package/dist/chunk-MBESCEWS.cjs.map +0 -1
- package/dist/chunk-O5UJRGRV.cjs.map +0 -1
- package/dist/chunk-PFWHWIXS.cjs.map +0 -1
- package/dist/chunk-PWHK7SWN.cjs.map +0 -1
- package/dist/chunk-YVBSAIJ4.js.map +0 -1
package/dist/esheet.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkO4PGFGUW_cjs = require('./chunk-O4PGFGUW.cjs');
|
|
4
4
|
require('./chunk-U3ABLVYH.cjs');
|
|
5
5
|
require('./chunk-RH43XBNV.cjs');
|
|
6
6
|
require('./chunk-XP6HELVG.cjs');
|
|
@@ -77,7 +77,7 @@ function MedicationListField({
|
|
|
77
77
|
return definition.medications ?? [];
|
|
78
78
|
}, [response?.answer, definition.medications]);
|
|
79
79
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
80
|
-
|
|
80
|
+
chunkO4PGFGUW_cjs.MedicationReconciliation,
|
|
81
81
|
{
|
|
82
82
|
medications,
|
|
83
83
|
onChange: (next) => onResponse({ answer: JSON.stringify({ medications: next }) }),
|
|
@@ -134,7 +134,7 @@ function AllergyListField({
|
|
|
134
134
|
codeLookup
|
|
135
135
|
}) {
|
|
136
136
|
const definition = field.definition;
|
|
137
|
-
const ambientCodeLookup =
|
|
137
|
+
const ambientCodeLookup = chunkO4PGFGUW_cjs.useCodeLookupConfig();
|
|
138
138
|
const effectiveCodeLookup = codeLookup === false ? void 0 : codeLookup ?? ambientCodeLookup ?? void 0;
|
|
139
139
|
const value = React__namespace.useMemo(() => {
|
|
140
140
|
if (response?.answer) return parseValue2(response.answer);
|
|
@@ -144,7 +144,7 @@ function AllergyListField({
|
|
|
144
144
|
onResponse({ answer: JSON.stringify(next) });
|
|
145
145
|
};
|
|
146
146
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
147
|
-
|
|
147
|
+
chunkO4PGFGUW_cjs.AllergyManager,
|
|
148
148
|
{
|
|
149
149
|
allergies: value.allergies,
|
|
150
150
|
onChange: (allergies) => commit({
|
package/dist/esheet.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MedicationReconciliation, useCodeLookupConfig, AllergyManager } from './chunk-
|
|
1
|
+
import { MedicationReconciliation, useCodeLookupConfig, AllergyManager } from './chunk-F3PPRNFI.js';
|
|
2
2
|
import './chunk-6LFG4JFF.js';
|
|
3
3
|
import './chunk-FZJBFJJR.js';
|
|
4
4
|
import './chunk-EZKRAW2X.js';
|
package/dist/hooks/index.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var chunk4GXECTPS_cjs = require('../chunk-4GXECTPS.cjs');
|
|
4
4
|
var chunk2O7D6F67_cjs = require('../chunk-2O7D6F67.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkNPKPCYAT_cjs = require('../chunk-NPKPCYAT.cjs');
|
|
6
6
|
require('../chunk-NUFUV43P.cjs');
|
|
7
7
|
var chunkJYZW2PZS_cjs = require('../chunk-JYZW2PZS.cjs');
|
|
8
8
|
var chunkYVPC65ZJ_cjs = require('../chunk-YVPC65ZJ.cjs');
|
|
@@ -61,35 +61,35 @@ Object.defineProperty(exports, "useTheme", {
|
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "DEFAULT_FILLER_WORDS", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkNPKPCYAT_cjs.DEFAULT_FILLER_WORDS; }
|
|
65
65
|
});
|
|
66
66
|
Object.defineProperty(exports, "DEFAULT_MIN_SILENCE_MS", {
|
|
67
67
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkNPKPCYAT_cjs.DEFAULT_MIN_SILENCE_MS; }
|
|
69
69
|
});
|
|
70
70
|
Object.defineProperty(exports, "DEFAULT_NL_SILENCE_MS", {
|
|
71
71
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkNPKPCYAT_cjs.DEFAULT_NL_SILENCE_MS; }
|
|
73
73
|
});
|
|
74
74
|
Object.defineProperty(exports, "buildPlaybackSegments", {
|
|
75
75
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkNPKPCYAT_cjs.buildPlaybackSegments; }
|
|
77
77
|
});
|
|
78
78
|
Object.defineProperty(exports, "getSpeedAtIndex", {
|
|
79
79
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunkNPKPCYAT_cjs.getSpeedAtIndex; }
|
|
81
81
|
});
|
|
82
82
|
Object.defineProperty(exports, "initEditableWords", {
|
|
83
83
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
84
|
+
get: function () { return chunkNPKPCYAT_cjs.initEditableWords; }
|
|
85
85
|
});
|
|
86
86
|
Object.defineProperty(exports, "insertSilences", {
|
|
87
87
|
enumerable: true,
|
|
88
|
-
get: function () { return
|
|
88
|
+
get: function () { return chunkNPKPCYAT_cjs.insertSilences; }
|
|
89
89
|
});
|
|
90
90
|
Object.defineProperty(exports, "useTranscriptEdits", {
|
|
91
91
|
enumerable: true,
|
|
92
|
-
get: function () { return
|
|
92
|
+
get: function () { return chunkNPKPCYAT_cjs.useTranscriptEdits; }
|
|
93
93
|
});
|
|
94
94
|
Object.defineProperty(exports, "useMediaTransport", {
|
|
95
95
|
enumerable: true,
|
package/dist/hooks/index.d.cts
CHANGED
|
@@ -2,7 +2,7 @@ export { R as ResolvedTheme, T as Theme, u as useTheme } from '../useTheme-B9SWu
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { RefObject } from 'react';
|
|
4
4
|
export { A as AnchoredPlacement, U as UseAnchoredPositionOptions, a as UseAnchoredPositionReturn, u as useAnchoredPosition } from '../useAnchoredPosition-nXdSFKHf.cjs';
|
|
5
|
-
export { D as DEFAULT_FILLER_WORDS, a as DEFAULT_MIN_SILENCE_MS, b as DEFAULT_NL_SILENCE_MS, F as FillerAnalysis, S as SilenceThresholdCount, T as TranscriptClipboard, c as TranscriptEditStats, U as UseTranscriptEditsOptions, d as UseTranscriptEditsResult, e as buildPlaybackSegments, g as getSpeedAtIndex, i as initEditableWords, f as insertSilences, u as useTranscriptEdits } from '../useTranscriptEdits-
|
|
5
|
+
export { D as DEFAULT_FILLER_WORDS, a as DEFAULT_MIN_SILENCE_MS, b as DEFAULT_NL_SILENCE_MS, F as FillerAnalysis, S as SilenceThresholdCount, T as TranscriptClipboard, c as TranscriptEditStats, U as UseTranscriptEditsOptions, d as UseTranscriptEditsResult, e as buildPlaybackSegments, g as getSpeedAtIndex, i as initEditableWords, f as insertSilences, u as useTranscriptEdits } from '../useTranscriptEdits-CGzlemHT.cjs';
|
|
6
6
|
import '../transcript-Cg7uSW-C.cjs';
|
|
7
7
|
|
|
8
8
|
interface UseScrollSpyOptions {
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export { R as ResolvedTheme, T as Theme, u as useTheme } from '../useTheme-B9SWu
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { RefObject } from 'react';
|
|
4
4
|
export { A as AnchoredPlacement, U as UseAnchoredPositionOptions, a as UseAnchoredPositionReturn, u as useAnchoredPosition } from '../useAnchoredPosition-nXdSFKHf.js';
|
|
5
|
-
export { D as DEFAULT_FILLER_WORDS, a as DEFAULT_MIN_SILENCE_MS, b as DEFAULT_NL_SILENCE_MS, F as FillerAnalysis, S as SilenceThresholdCount, T as TranscriptClipboard, c as TranscriptEditStats, U as UseTranscriptEditsOptions, d as UseTranscriptEditsResult, e as buildPlaybackSegments, g as getSpeedAtIndex, i as initEditableWords, f as insertSilences, u as useTranscriptEdits } from '../useTranscriptEdits-
|
|
5
|
+
export { D as DEFAULT_FILLER_WORDS, a as DEFAULT_MIN_SILENCE_MS, b as DEFAULT_NL_SILENCE_MS, F as FillerAnalysis, S as SilenceThresholdCount, T as TranscriptClipboard, c as TranscriptEditStats, U as UseTranscriptEditsOptions, d as UseTranscriptEditsResult, e as buildPlaybackSegments, g as getSpeedAtIndex, i as initEditableWords, f as insertSilences, u as useTranscriptEdits } from '../useTranscriptEdits-D32bLs0l.js';
|
|
6
6
|
import '../transcript-Cg7uSW-C.js';
|
|
7
7
|
|
|
8
8
|
interface UseScrollSpyOptions {
|
package/dist/hooks/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { useCommandK, useIsDesktop, useIsLargeDesktop, useIsMobile, useIsMobileOrTablet, useIsSmallTablet, useIsTablet, useKeyboardShortcut, useMediaQuery, useScrollSpy } from '../chunk-ZGSC2CB2.js';
|
|
2
2
|
export { useTheme } from '../chunk-KJZNEVYM.js';
|
|
3
|
-
export { DEFAULT_FILLER_WORDS, DEFAULT_MIN_SILENCE_MS, DEFAULT_NL_SILENCE_MS, buildPlaybackSegments, getSpeedAtIndex, initEditableWords, insertSilences, useTranscriptEdits } from '../chunk-
|
|
3
|
+
export { DEFAULT_FILLER_WORDS, DEFAULT_MIN_SILENCE_MS, DEFAULT_NL_SILENCE_MS, buildPlaybackSegments, getSpeedAtIndex, initEditableWords, insertSilences, useTranscriptEdits } from '../chunk-UUI7WXI5.js';
|
|
4
4
|
import '../chunk-6CGM5H4J.js';
|
|
5
5
|
export { useMediaTransport } from '../chunk-SQHMGT4W.js';
|
|
6
6
|
export { dragIndicatorClasses, reorderIds, useDragReorder, useLiveAnnouncement } from '../chunk-7ZVTLTJF.js';
|
package/dist/index.cjs
CHANGED
|
@@ -38,7 +38,7 @@ var chunkBB4WQ4LV_cjs = require('./chunk-BB4WQ4LV.cjs');
|
|
|
38
38
|
var chunkCVC4NWFA_cjs = require('./chunk-CVC4NWFA.cjs');
|
|
39
39
|
var chunkKBEKQMVY_cjs = require('./chunk-KBEKQMVY.cjs');
|
|
40
40
|
var chunkCKD554XR_cjs = require('./chunk-CKD554XR.cjs');
|
|
41
|
-
var
|
|
41
|
+
var chunk5M2YSPJH_cjs = require('./chunk-5M2YSPJH.cjs');
|
|
42
42
|
var chunkGOKC4CCZ_cjs = require('./chunk-GOKC4CCZ.cjs');
|
|
43
43
|
require('./chunk-GLXTVCHN.cjs');
|
|
44
44
|
var chunkBYUV3IZV_cjs = require('./chunk-BYUV3IZV.cjs');
|
|
@@ -59,7 +59,7 @@ var chunkFQ3UCZUX_cjs = require('./chunk-FQ3UCZUX.cjs');
|
|
|
59
59
|
require('./chunk-VBWRH4UW.cjs');
|
|
60
60
|
var chunkBWYYA3LQ_cjs = require('./chunk-BWYYA3LQ.cjs');
|
|
61
61
|
var chunkRI56YPED_cjs = require('./chunk-RI56YPED.cjs');
|
|
62
|
-
var
|
|
62
|
+
var chunkO4PGFGUW_cjs = require('./chunk-O4PGFGUW.cjs');
|
|
63
63
|
var chunkU3ABLVYH_cjs = require('./chunk-U3ABLVYH.cjs');
|
|
64
64
|
var chunkRH43XBNV_cjs = require('./chunk-RH43XBNV.cjs');
|
|
65
65
|
var chunkXP6HELVG_cjs = require('./chunk-XP6HELVG.cjs');
|
|
@@ -74,7 +74,7 @@ var chunkA2QVQF54_cjs = require('./chunk-A2QVQF54.cjs');
|
|
|
74
74
|
var chunkEL2RSQTJ_cjs = require('./chunk-EL2RSQTJ.cjs');
|
|
75
75
|
var chunk4GXECTPS_cjs = require('./chunk-4GXECTPS.cjs');
|
|
76
76
|
var chunk2O7D6F67_cjs = require('./chunk-2O7D6F67.cjs');
|
|
77
|
-
var
|
|
77
|
+
var chunkNPKPCYAT_cjs = require('./chunk-NPKPCYAT.cjs');
|
|
78
78
|
var chunkNUFUV43P_cjs = require('./chunk-NUFUV43P.cjs');
|
|
79
79
|
var chunkJYZW2PZS_cjs = require('./chunk-JYZW2PZS.cjs');
|
|
80
80
|
var chunkYVPC65ZJ_cjs = require('./chunk-YVPC65ZJ.cjs');
|
|
@@ -89,7 +89,7 @@ var chunkL7YQBSEL_cjs = require('./chunk-L7YQBSEL.cjs');
|
|
|
89
89
|
var chunkCW75IKA6_cjs = require('./chunk-CW75IKA6.cjs');
|
|
90
90
|
var chunkOR5DRJCW_cjs = require('./chunk-OR5DRJCW.cjs');
|
|
91
91
|
var chunkSCV7C55E_cjs = require('./chunk-SCV7C55E.cjs');
|
|
92
|
-
var
|
|
92
|
+
var chunkVIWEV6TJ_cjs = require('./chunk-VIWEV6TJ.cjs');
|
|
93
93
|
var React10 = require('react');
|
|
94
94
|
var jsxRuntime = require('react/jsx-runtime');
|
|
95
95
|
var classVarianceAuthority = require('class-variance-authority');
|
|
@@ -6774,8 +6774,8 @@ function ConcernRow({
|
|
|
6774
6774
|
]
|
|
6775
6775
|
}
|
|
6776
6776
|
),
|
|
6777
|
-
!readOnly && /* @__PURE__ */ jsxRuntime.jsx(
|
|
6778
|
-
|
|
6777
|
+
!readOnly && /* @__PURE__ */ jsxRuntime.jsx(chunkO4PGFGUW_cjs.RowActionToolbar, { label: `Actions for ${current.text}`, align: "top", children: visibleActions.map((action) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
6778
|
+
chunkO4PGFGUW_cjs.RowIconButton,
|
|
6779
6779
|
{
|
|
6780
6780
|
label: ACTION_META[action].label,
|
|
6781
6781
|
icon: ACTION_META[action].icon,
|
|
@@ -7204,13 +7204,13 @@ function OrderRow({
|
|
|
7204
7204
|
) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
7205
7205
|
/* @__PURE__ */ jsxRuntime.jsx(OrderContent, { order }),
|
|
7206
7206
|
interactive && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
7207
|
-
|
|
7207
|
+
chunkO4PGFGUW_cjs.RowActionToolbar,
|
|
7208
7208
|
{
|
|
7209
7209
|
label: `Actions for ${order.display}`,
|
|
7210
7210
|
group: "order",
|
|
7211
7211
|
children: [
|
|
7212
7212
|
canEdit && /* @__PURE__ */ jsxRuntime.jsx(
|
|
7213
|
-
|
|
7213
|
+
chunkO4PGFGUW_cjs.RowIconButton,
|
|
7214
7214
|
{
|
|
7215
7215
|
label: "Edit",
|
|
7216
7216
|
icon: chunkUTYUT5YY_cjs.Pencil,
|
|
@@ -7278,7 +7278,7 @@ function OrderRow({
|
|
|
7278
7278
|
}
|
|
7279
7279
|
),
|
|
7280
7280
|
controls?.remove && /* @__PURE__ */ jsxRuntime.jsx(
|
|
7281
|
-
|
|
7281
|
+
chunkO4PGFGUW_cjs.RowIconButton,
|
|
7282
7282
|
{
|
|
7283
7283
|
label: "Remove",
|
|
7284
7284
|
icon: chunkUTYUT5YY_cjs.Trash2,
|
|
@@ -7446,7 +7446,7 @@ var Assessment = React10__namespace.forwardRef(
|
|
|
7446
7446
|
null
|
|
7447
7447
|
);
|
|
7448
7448
|
const [announcement, setAnnouncement] = chunkYVPC65ZJ_cjs.useLiveAnnouncement();
|
|
7449
|
-
const ambientCodeLookup =
|
|
7449
|
+
const ambientCodeLookup = chunkO4PGFGUW_cjs.useCodeLookupConfig();
|
|
7450
7450
|
const effectiveRenderOrderSearch = renderOrderSearch === false ? void 0 : renderOrderSearch ?? (ambientCodeLookup ? contextOrderSearch(ambientCodeLookup) : void 0);
|
|
7451
7451
|
const concernById = React10__namespace.useMemo(
|
|
7452
7452
|
() => new Map(concerns.map((c) => [c.concernId, c])),
|
|
@@ -7701,7 +7701,7 @@ var Assessment = React10__namespace.forwardRef(
|
|
|
7701
7701
|
assertion.verificationStatus !== "confirmed" && /* @__PURE__ */ jsxRuntime.jsx(chunkEL2RSQTJ_cjs.Badge, { variant: "warning", size: "sm", children: assertion.verificationStatus }),
|
|
7702
7702
|
/* @__PURE__ */ jsxRuntime.jsx(CodingChips, { coding: assertion.coding }),
|
|
7703
7703
|
!readOnly && /* @__PURE__ */ jsxRuntime.jsx(
|
|
7704
|
-
|
|
7704
|
+
chunkO4PGFGUW_cjs.RowActionToolbar,
|
|
7705
7705
|
{
|
|
7706
7706
|
label: `Actions for ${assertion.text}`,
|
|
7707
7707
|
align: "top",
|
|
@@ -7711,7 +7711,7 @@ var Assessment = React10__namespace.forwardRef(
|
|
|
7711
7711
|
if (action === "add-order" && !onAddOrder && !onAction)
|
|
7712
7712
|
return null;
|
|
7713
7713
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
7714
|
-
|
|
7714
|
+
chunkO4PGFGUW_cjs.RowIconButton,
|
|
7715
7715
|
{
|
|
7716
7716
|
label: meta.label,
|
|
7717
7717
|
icon: meta.icon,
|
|
@@ -10708,7 +10708,7 @@ function ConditionEditor({
|
|
|
10708
10708
|
"data-testid": dataTestId
|
|
10709
10709
|
}) {
|
|
10710
10710
|
const prior = concern ? currentAssertion(concern) : void 0;
|
|
10711
|
-
const ambientCodeLookup =
|
|
10711
|
+
const ambientCodeLookup = chunkO4PGFGUW_cjs.useCodeLookupConfig();
|
|
10712
10712
|
const effectiveRenderCodeSearch = renderCodeSearch === false ? void 0 : renderCodeSearch ?? (ambientCodeLookup ? contextConditionCodeSearch(ambientCodeLookup) : void 0);
|
|
10713
10713
|
const [text, setText] = React10__namespace.useState("");
|
|
10714
10714
|
const [coding, setCoding] = React10__namespace.useState([]);
|
|
@@ -26261,7 +26261,7 @@ var defaultOrderTabs = [
|
|
|
26261
26261
|
{ id: "rejected", label: "Rejected", statuses: ["rejected", "cancelled"] }
|
|
26262
26262
|
];
|
|
26263
26263
|
function orderToMedication(order) {
|
|
26264
|
-
const sig = order.detail ?
|
|
26264
|
+
const sig = order.detail ? chunkO4PGFGUW_cjs.parseSig(order.detail) : void 0;
|
|
26265
26265
|
return {
|
|
26266
26266
|
id: order.orderId,
|
|
26267
26267
|
name: order.display,
|
|
@@ -26269,7 +26269,7 @@ function orderToMedication(order) {
|
|
|
26269
26269
|
status: "unreconciled",
|
|
26270
26270
|
indication: order.indication,
|
|
26271
26271
|
pharmacyNotes: order.notes,
|
|
26272
|
-
...
|
|
26272
|
+
...chunkO4PGFGUW_cjs.labelToMedicationFields(order.display),
|
|
26273
26273
|
...sig && {
|
|
26274
26274
|
route: sig.route,
|
|
26275
26275
|
frequency: sig.frequency,
|
|
@@ -26340,7 +26340,7 @@ function BaseOrderEditor({
|
|
|
26340
26340
|
onSave
|
|
26341
26341
|
}) {
|
|
26342
26342
|
const config = TYPE_CONFIG[type];
|
|
26343
|
-
const ambientCodeLookup =
|
|
26343
|
+
const ambientCodeLookup = chunkO4PGFGUW_cjs.useCodeLookupConfig();
|
|
26344
26344
|
const effectiveCodeLookup = codeLookup === false ? void 0 : codeLookup ?? ambientCodeLookup ?? void 0;
|
|
26345
26345
|
const [draft, setDraft] = React10__namespace.useState(
|
|
26346
26346
|
() => order ?? {
|
|
@@ -26539,7 +26539,7 @@ function OrderEditor({
|
|
|
26539
26539
|
display: ""
|
|
26540
26540
|
};
|
|
26541
26541
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
26542
|
-
|
|
26542
|
+
chunkO4PGFGUW_cjs.MedicationEditor,
|
|
26543
26543
|
{
|
|
26544
26544
|
open,
|
|
26545
26545
|
medication: order ? orderToMedication(order) : void 0,
|
|
@@ -29192,7 +29192,7 @@ function RelevanceControl({
|
|
|
29192
29192
|
{
|
|
29193
29193
|
role: "toolbar",
|
|
29194
29194
|
"aria-label": `Relevance for ${labelPrefix}`,
|
|
29195
|
-
onKeyDown:
|
|
29195
|
+
onKeyDown: chunkO4PGFGUW_cjs.toolbarKeyNav,
|
|
29196
29196
|
className: "border-border flex shrink-0 items-center overflow-hidden rounded-md border",
|
|
29197
29197
|
children: RELEVANCE_ORDER.map((relevance) => {
|
|
29198
29198
|
const active = value === relevance;
|
|
@@ -43221,23 +43221,23 @@ Object.defineProperty(exports, "FenceBlock", {
|
|
|
43221
43221
|
});
|
|
43222
43222
|
Object.defineProperty(exports, "FillerWordsModal", {
|
|
43223
43223
|
enumerable: true,
|
|
43224
|
-
get: function () { return
|
|
43224
|
+
get: function () { return chunk5M2YSPJH_cjs.FillerWordsModal; }
|
|
43225
43225
|
});
|
|
43226
43226
|
Object.defineProperty(exports, "MediaEditor", {
|
|
43227
43227
|
enumerable: true,
|
|
43228
|
-
get: function () { return
|
|
43228
|
+
get: function () { return chunk5M2YSPJH_cjs.MediaEditor; }
|
|
43229
43229
|
});
|
|
43230
43230
|
Object.defineProperty(exports, "SilenceSettingsModal", {
|
|
43231
43231
|
enumerable: true,
|
|
43232
|
-
get: function () { return
|
|
43232
|
+
get: function () { return chunk5M2YSPJH_cjs.SilenceSettingsModal; }
|
|
43233
43233
|
});
|
|
43234
43234
|
Object.defineProperty(exports, "SpeedMarkerMenu", {
|
|
43235
43235
|
enumerable: true,
|
|
43236
|
-
get: function () { return
|
|
43236
|
+
get: function () { return chunk5M2YSPJH_cjs.SpeedMarkerMenu; }
|
|
43237
43237
|
});
|
|
43238
43238
|
Object.defineProperty(exports, "WordEditorModal", {
|
|
43239
43239
|
enumerable: true,
|
|
43240
|
-
get: function () { return
|
|
43240
|
+
get: function () { return chunk5M2YSPJH_cjs.WordEditorModal; }
|
|
43241
43241
|
});
|
|
43242
43242
|
Object.defineProperty(exports, "Slider", {
|
|
43243
43243
|
enumerable: true,
|
|
@@ -43469,67 +43469,67 @@ Object.defineProperty(exports, "isApplicable", {
|
|
|
43469
43469
|
});
|
|
43470
43470
|
Object.defineProperty(exports, "ALLERGY_TYPE_LABELS", {
|
|
43471
43471
|
enumerable: true,
|
|
43472
|
-
get: function () { return
|
|
43472
|
+
get: function () { return chunkO4PGFGUW_cjs.ALLERGY_TYPE_LABELS; }
|
|
43473
43473
|
});
|
|
43474
43474
|
Object.defineProperty(exports, "AllergyList", {
|
|
43475
43475
|
enumerable: true,
|
|
43476
|
-
get: function () { return
|
|
43476
|
+
get: function () { return chunkO4PGFGUW_cjs.AllergyList; }
|
|
43477
43477
|
});
|
|
43478
43478
|
Object.defineProperty(exports, "AllergyManager", {
|
|
43479
43479
|
enumerable: true,
|
|
43480
|
-
get: function () { return
|
|
43480
|
+
get: function () { return chunkO4PGFGUW_cjs.AllergyManager; }
|
|
43481
43481
|
});
|
|
43482
43482
|
Object.defineProperty(exports, "CodeLookupProvider", {
|
|
43483
43483
|
enumerable: true,
|
|
43484
|
-
get: function () { return
|
|
43484
|
+
get: function () { return chunkO4PGFGUW_cjs.CodeLookupProvider; }
|
|
43485
43485
|
});
|
|
43486
43486
|
Object.defineProperty(exports, "MEDICATION_STATUS_LABELS", {
|
|
43487
43487
|
enumerable: true,
|
|
43488
|
-
get: function () { return
|
|
43488
|
+
get: function () { return chunkO4PGFGUW_cjs.MEDICATION_STATUS_LABELS; }
|
|
43489
43489
|
});
|
|
43490
43490
|
Object.defineProperty(exports, "MedicationEditor", {
|
|
43491
43491
|
enumerable: true,
|
|
43492
|
-
get: function () { return
|
|
43492
|
+
get: function () { return chunkO4PGFGUW_cjs.MedicationEditor; }
|
|
43493
43493
|
});
|
|
43494
43494
|
Object.defineProperty(exports, "MedicationList", {
|
|
43495
43495
|
enumerable: true,
|
|
43496
|
-
get: function () { return
|
|
43496
|
+
get: function () { return chunkO4PGFGUW_cjs.MedicationList; }
|
|
43497
43497
|
});
|
|
43498
43498
|
Object.defineProperty(exports, "MedicationReconciliation", {
|
|
43499
43499
|
enumerable: true,
|
|
43500
|
-
get: function () { return
|
|
43500
|
+
get: function () { return chunkO4PGFGUW_cjs.MedicationReconciliation; }
|
|
43501
43501
|
});
|
|
43502
43502
|
Object.defineProperty(exports, "RowActionToolbar", {
|
|
43503
43503
|
enumerable: true,
|
|
43504
|
-
get: function () { return
|
|
43504
|
+
get: function () { return chunkO4PGFGUW_cjs.RowActionToolbar; }
|
|
43505
43505
|
});
|
|
43506
43506
|
Object.defineProperty(exports, "RowIconButton", {
|
|
43507
43507
|
enumerable: true,
|
|
43508
|
-
get: function () { return
|
|
43508
|
+
get: function () { return chunkO4PGFGUW_cjs.RowIconButton; }
|
|
43509
43509
|
});
|
|
43510
43510
|
Object.defineProperty(exports, "labelToMedicationFields", {
|
|
43511
43511
|
enumerable: true,
|
|
43512
|
-
get: function () { return
|
|
43512
|
+
get: function () { return chunkO4PGFGUW_cjs.labelToMedicationFields; }
|
|
43513
43513
|
});
|
|
43514
43514
|
Object.defineProperty(exports, "lookupToMedicationFields", {
|
|
43515
43515
|
enumerable: true,
|
|
43516
|
-
get: function () { return
|
|
43516
|
+
get: function () { return chunkO4PGFGUW_cjs.lookupToMedicationFields; }
|
|
43517
43517
|
});
|
|
43518
43518
|
Object.defineProperty(exports, "parseMedicationLabel", {
|
|
43519
43519
|
enumerable: true,
|
|
43520
|
-
get: function () { return
|
|
43520
|
+
get: function () { return chunkO4PGFGUW_cjs.parseMedicationLabel; }
|
|
43521
43521
|
});
|
|
43522
43522
|
Object.defineProperty(exports, "parseSig", {
|
|
43523
43523
|
enumerable: true,
|
|
43524
|
-
get: function () { return
|
|
43524
|
+
get: function () { return chunkO4PGFGUW_cjs.parseSig; }
|
|
43525
43525
|
});
|
|
43526
43526
|
Object.defineProperty(exports, "toolbarKeyNav", {
|
|
43527
43527
|
enumerable: true,
|
|
43528
|
-
get: function () { return
|
|
43528
|
+
get: function () { return chunkO4PGFGUW_cjs.toolbarKeyNav; }
|
|
43529
43529
|
});
|
|
43530
43530
|
Object.defineProperty(exports, "useCodeLookupConfig", {
|
|
43531
43531
|
enumerable: true,
|
|
43532
|
-
get: function () { return
|
|
43532
|
+
get: function () { return chunkO4PGFGUW_cjs.useCodeLookupConfig; }
|
|
43533
43533
|
});
|
|
43534
43534
|
Object.defineProperty(exports, "Textarea", {
|
|
43535
43535
|
enumerable: true,
|
|
@@ -43733,35 +43733,35 @@ Object.defineProperty(exports, "useTheme", {
|
|
|
43733
43733
|
});
|
|
43734
43734
|
Object.defineProperty(exports, "DEFAULT_FILLER_WORDS", {
|
|
43735
43735
|
enumerable: true,
|
|
43736
|
-
get: function () { return
|
|
43736
|
+
get: function () { return chunkNPKPCYAT_cjs.DEFAULT_FILLER_WORDS; }
|
|
43737
43737
|
});
|
|
43738
43738
|
Object.defineProperty(exports, "DEFAULT_MIN_SILENCE_MS", {
|
|
43739
43739
|
enumerable: true,
|
|
43740
|
-
get: function () { return
|
|
43740
|
+
get: function () { return chunkNPKPCYAT_cjs.DEFAULT_MIN_SILENCE_MS; }
|
|
43741
43741
|
});
|
|
43742
43742
|
Object.defineProperty(exports, "DEFAULT_NL_SILENCE_MS", {
|
|
43743
43743
|
enumerable: true,
|
|
43744
|
-
get: function () { return
|
|
43744
|
+
get: function () { return chunkNPKPCYAT_cjs.DEFAULT_NL_SILENCE_MS; }
|
|
43745
43745
|
});
|
|
43746
43746
|
Object.defineProperty(exports, "buildPlaybackSegments", {
|
|
43747
43747
|
enumerable: true,
|
|
43748
|
-
get: function () { return
|
|
43748
|
+
get: function () { return chunkNPKPCYAT_cjs.buildPlaybackSegments; }
|
|
43749
43749
|
});
|
|
43750
43750
|
Object.defineProperty(exports, "getSpeedAtIndex", {
|
|
43751
43751
|
enumerable: true,
|
|
43752
|
-
get: function () { return
|
|
43752
|
+
get: function () { return chunkNPKPCYAT_cjs.getSpeedAtIndex; }
|
|
43753
43753
|
});
|
|
43754
43754
|
Object.defineProperty(exports, "initEditableWords", {
|
|
43755
43755
|
enumerable: true,
|
|
43756
|
-
get: function () { return
|
|
43756
|
+
get: function () { return chunkNPKPCYAT_cjs.initEditableWords; }
|
|
43757
43757
|
});
|
|
43758
43758
|
Object.defineProperty(exports, "insertSilences", {
|
|
43759
43759
|
enumerable: true,
|
|
43760
|
-
get: function () { return
|
|
43760
|
+
get: function () { return chunkNPKPCYAT_cjs.insertSilences; }
|
|
43761
43761
|
});
|
|
43762
43762
|
Object.defineProperty(exports, "useTranscriptEdits", {
|
|
43763
43763
|
enumerable: true,
|
|
43764
|
-
get: function () { return
|
|
43764
|
+
get: function () { return chunkNPKPCYAT_cjs.useTranscriptEdits; }
|
|
43765
43765
|
});
|
|
43766
43766
|
Object.defineProperty(exports, "PLAYBACK_SPEEDS", {
|
|
43767
43767
|
enumerable: true,
|
|
@@ -43881,11 +43881,11 @@ Object.defineProperty(exports, "isStorybookDocsMode", {
|
|
|
43881
43881
|
});
|
|
43882
43882
|
Object.defineProperty(exports, "miewebUIPreset", {
|
|
43883
43883
|
enumerable: true,
|
|
43884
|
-
get: function () { return
|
|
43884
|
+
get: function () { return chunkVIWEV6TJ_cjs.miewebUIPreset; }
|
|
43885
43885
|
});
|
|
43886
43886
|
Object.defineProperty(exports, "miewebUISafelist", {
|
|
43887
43887
|
enumerable: true,
|
|
43888
|
-
get: function () { return
|
|
43888
|
+
get: function () { return chunkVIWEV6TJ_cjs.miewebUISafelist; }
|
|
43889
43889
|
});
|
|
43890
43890
|
exports.AIChat = AIChat;
|
|
43891
43891
|
exports.AIChatModal = AIChatModal;
|