@mieweb/ui 0.7.3-dev.1 → 0.7.3-dev.10
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/README.md +45 -24
- package/agent/README.md +20 -0
- package/agent/init-agent.mjs +61 -0
- package/agent/mieweb-ui.instructions.md +169 -0
- package/dist/ag-grid.cjs +11 -0
- package/dist/ag-grid.cjs.map +1 -1
- package/dist/ag-grid.d.cts +4 -0
- package/dist/ag-grid.d.ts +4 -0
- package/dist/ag-grid.js +11 -0
- package/dist/ag-grid.js.map +1 -1
- package/dist/{chunk-URHXR5SC.cjs → chunk-3T3JKV6Q.cjs} +7 -7
- package/dist/{chunk-URHXR5SC.cjs.map → chunk-3T3JKV6Q.cjs.map} +1 -1
- package/dist/{chunk-CVZYOMEW.js → chunk-4VDL3C3X.js} +67 -3
- package/dist/chunk-4VDL3C3X.js.map +1 -0
- package/dist/{chunk-HIDV32ZX.js → chunk-AHEIXYLT.js} +3 -3
- package/dist/{chunk-HIDV32ZX.js.map → chunk-AHEIXYLT.js.map} +1 -1
- package/dist/{chunk-FKLUSYFP.cjs → chunk-BPUOFQNK.cjs} +4 -4
- package/dist/{chunk-FKLUSYFP.cjs.map → chunk-BPUOFQNK.cjs.map} +1 -1
- package/dist/{chunk-KRGKPUJH.js → chunk-CXMGO7TD.js} +6 -6
- package/dist/{chunk-KRGKPUJH.js.map → chunk-CXMGO7TD.js.map} +1 -1
- package/dist/{chunk-P6L74SKG.js → chunk-DEHYGDBC.js} +3 -3
- package/dist/{chunk-P6L74SKG.js.map → chunk-DEHYGDBC.js.map} +1 -1
- package/dist/{chunk-3D4ITDLO.js → chunk-EXSGF4YH.js} +3 -3
- package/dist/{chunk-3D4ITDLO.js.map → chunk-EXSGF4YH.js.map} +1 -1
- package/dist/{chunk-OAHORW4N.cjs → chunk-FRZGGC5P.cjs} +126 -97
- package/dist/chunk-FRZGGC5P.cjs.map +1 -0
- package/dist/{chunk-AFGADE3B.js → chunk-GP5CRU2I.js} +105 -26
- package/dist/chunk-GP5CRU2I.js.map +1 -0
- package/dist/{chunk-6J7UGYT5.cjs → chunk-JF6C5B3I.cjs} +4 -4
- package/dist/{chunk-6J7UGYT5.cjs.map → chunk-JF6C5B3I.cjs.map} +1 -1
- package/dist/{chunk-EGWWTIWS.js → chunk-MSGYPBA4.js} +124 -95
- package/dist/chunk-MSGYPBA4.js.map +1 -0
- package/dist/{chunk-WUNWHOLA.cjs → chunk-NHR33YWI.cjs} +104 -25
- package/dist/chunk-NHR33YWI.cjs.map +1 -0
- package/dist/{chunk-MJFF4AXH.cjs → chunk-O3V3VI4U.cjs} +67 -3
- package/dist/chunk-O3V3VI4U.cjs.map +1 -0
- package/dist/{chunk-RBS3GHDZ.cjs → chunk-O5UATYAO.cjs} +4 -4
- package/dist/{chunk-RBS3GHDZ.cjs.map → chunk-O5UATYAO.cjs.map} +1 -1
- package/dist/chunk-RP355H4V.js +203 -0
- package/dist/chunk-RP355H4V.js.map +1 -0
- package/dist/{chunk-DLBV42JD.js → chunk-U35KWHXP.js} +86 -7
- package/dist/chunk-U35KWHXP.js.map +1 -0
- package/dist/{chunk-ZBI52NP2.cjs → chunk-VAKZEVDE.cjs} +86 -7
- package/dist/chunk-VAKZEVDE.cjs.map +1 -0
- package/dist/chunk-VD6GHFMF.cjs +227 -0
- package/dist/chunk-VD6GHFMF.cjs.map +1 -0
- package/dist/{chunk-NQ2D2V6O.cjs → chunk-VPQ4WZ66.cjs} +25 -25
- package/dist/{chunk-NQ2D2V6O.cjs.map → chunk-VPQ4WZ66.cjs.map} +1 -1
- package/dist/{chunk-SYIFEJSF.cjs → chunk-WDHWMROB.cjs} +10 -10
- package/dist/{chunk-SYIFEJSF.cjs.map → chunk-WDHWMROB.cjs.map} +1 -1
- package/dist/{chunk-LC7YHZXM.js → chunk-XCIH6I4D.js} +4 -4
- package/dist/{chunk-LC7YHZXM.js.map → chunk-XCIH6I4D.js.map} +1 -1
- package/dist/{chunk-FTRGZOVJ.js → chunk-ZI6KNWOK.js} +3 -3
- package/dist/{chunk-FTRGZOVJ.js.map → chunk-ZI6KNWOK.js.map} +1 -1
- package/dist/components/Autocomplete/index.cjs +3 -3
- package/dist/components/Autocomplete/index.js +2 -2
- package/dist/components/DateInput/index.cjs +3 -3
- package/dist/components/DateInput/index.js +2 -2
- package/dist/components/Dropdown/index.cjs +8 -8
- package/dist/components/Dropdown/index.js +2 -2
- package/dist/components/Input/index.cjs +7 -3
- package/dist/components/Input/index.d.cts +17 -2
- package/dist/components/Input/index.d.ts +17 -2
- package/dist/components/Input/index.js +1 -1
- package/dist/components/MediaEditor/index.cjs +8 -8
- package/dist/components/MediaEditor/index.js +3 -3
- package/dist/components/PhoneInput/index.cjs +4 -4
- package/dist/components/PhoneInput/index.js +2 -2
- package/dist/components/RichTextEditor/index.cjs +6 -6
- package/dist/components/RichTextEditor/index.js +3 -3
- package/dist/components/Select/index.cjs +3 -3
- package/dist/components/Select/index.d.cts +11 -2
- package/dist/components/Select/index.d.ts +11 -2
- package/dist/components/Select/index.js +1 -1
- package/dist/components/SuperChat/index.cjs +6 -6
- package/dist/components/SuperChat/index.js +2 -2
- package/dist/components/Textarea/index.cjs +3 -3
- package/dist/components/Textarea/index.d.cts +11 -1
- package/dist/components/Textarea/index.d.ts +11 -1
- package/dist/components/Textarea/index.js +1 -1
- package/dist/esheet.cjs +8 -8
- package/dist/esheet.js +5 -5
- package/dist/index.cjs +534 -355
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +26 -3
- package/dist/index.d.ts +26 -3
- package/dist/index.js +280 -105
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/tailwind-preset.cjs +4 -4
- package/dist/tailwind-preset.js +1 -1
- package/package.json +5 -1
- package/dist/chunk-6ECKH4DJ.cjs +0 -147
- package/dist/chunk-6ECKH4DJ.cjs.map +0 -1
- package/dist/chunk-AFGADE3B.js.map +0 -1
- package/dist/chunk-CVZYOMEW.js.map +0 -1
- package/dist/chunk-DLBV42JD.js.map +0 -1
- package/dist/chunk-EGWWTIWS.js.map +0 -1
- package/dist/chunk-MJFF4AXH.cjs.map +0 -1
- package/dist/chunk-OAHORW4N.cjs.map +0 -1
- package/dist/chunk-WUNWHOLA.cjs.map +0 -1
- package/dist/chunk-YXCE2HSK.js +0 -124
- package/dist/chunk-YXCE2HSK.js.map +0 -1
- package/dist/chunk-ZBI52NP2.cjs.map +0 -1
|
@@ -21,8 +21,9 @@ interface SelectGroup {
|
|
|
21
21
|
declare const selectTriggerVariants: (props?: ({
|
|
22
22
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
23
23
|
hasError?: boolean | null | undefined;
|
|
24
|
+
labelVariant?: "stacked" | "floating" | null | undefined;
|
|
24
25
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
25
|
-
interface SelectProps extends VariantProps<typeof selectTriggerVariants> {
|
|
26
|
+
interface SelectProps extends Omit<VariantProps<typeof selectTriggerVariants>, 'labelVariant'> {
|
|
26
27
|
/** Array of options or groups */
|
|
27
28
|
options: (SelectOption | SelectGroup)[];
|
|
28
29
|
/** Controlled value */
|
|
@@ -39,6 +40,14 @@ interface SelectProps extends VariantProps<typeof selectTriggerVariants> {
|
|
|
39
40
|
label?: string;
|
|
40
41
|
/** Hide the label visually */
|
|
41
42
|
hideLabel?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Visual style of the label.
|
|
45
|
+
* - `stacked` (default): label sits above the trigger.
|
|
46
|
+
* - `floating`: label rests inside the trigger like a placeholder and
|
|
47
|
+
* floats up (staying inside the trigger) when open or a value is
|
|
48
|
+
* selected. The `placeholder` prop is ignored in this mode.
|
|
49
|
+
*/
|
|
50
|
+
labelVariant?: 'stacked' | 'floating';
|
|
42
51
|
/** Error message */
|
|
43
52
|
error?: string;
|
|
44
53
|
/** Helper text */
|
|
@@ -73,7 +82,7 @@ interface SelectProps extends VariantProps<typeof selectTriggerVariants> {
|
|
|
73
82
|
* />
|
|
74
83
|
* ```
|
|
75
84
|
*/
|
|
76
|
-
declare function Select({ options, value: controlledValue, defaultValue, onValueChange, placeholder, disabled, label, hideLabel, error, helperText, size, hasError, 'aria-label': ariaLabel, searchable, searchPlaceholder, noResultsText, className, id, }: SelectProps): react_jsx_runtime.JSX.Element;
|
|
85
|
+
declare function Select({ options, value: controlledValue, defaultValue, onValueChange, placeholder, disabled, label, hideLabel, labelVariant, error, helperText, size, hasError, 'aria-label': ariaLabel, searchable, searchPlaceholder, noResultsText, className, id, }: SelectProps): react_jsx_runtime.JSX.Element;
|
|
77
86
|
declare namespace Select {
|
|
78
87
|
var displayName: string;
|
|
79
88
|
}
|
|
@@ -21,8 +21,9 @@ interface SelectGroup {
|
|
|
21
21
|
declare const selectTriggerVariants: (props?: ({
|
|
22
22
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
23
23
|
hasError?: boolean | null | undefined;
|
|
24
|
+
labelVariant?: "stacked" | "floating" | null | undefined;
|
|
24
25
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
25
|
-
interface SelectProps extends VariantProps<typeof selectTriggerVariants> {
|
|
26
|
+
interface SelectProps extends Omit<VariantProps<typeof selectTriggerVariants>, 'labelVariant'> {
|
|
26
27
|
/** Array of options or groups */
|
|
27
28
|
options: (SelectOption | SelectGroup)[];
|
|
28
29
|
/** Controlled value */
|
|
@@ -39,6 +40,14 @@ interface SelectProps extends VariantProps<typeof selectTriggerVariants> {
|
|
|
39
40
|
label?: string;
|
|
40
41
|
/** Hide the label visually */
|
|
41
42
|
hideLabel?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Visual style of the label.
|
|
45
|
+
* - `stacked` (default): label sits above the trigger.
|
|
46
|
+
* - `floating`: label rests inside the trigger like a placeholder and
|
|
47
|
+
* floats up (staying inside the trigger) when open or a value is
|
|
48
|
+
* selected. The `placeholder` prop is ignored in this mode.
|
|
49
|
+
*/
|
|
50
|
+
labelVariant?: 'stacked' | 'floating';
|
|
42
51
|
/** Error message */
|
|
43
52
|
error?: string;
|
|
44
53
|
/** Helper text */
|
|
@@ -73,7 +82,7 @@ interface SelectProps extends VariantProps<typeof selectTriggerVariants> {
|
|
|
73
82
|
* />
|
|
74
83
|
* ```
|
|
75
84
|
*/
|
|
76
|
-
declare function Select({ options, value: controlledValue, defaultValue, onValueChange, placeholder, disabled, label, hideLabel, error, helperText, size, hasError, 'aria-label': ariaLabel, searchable, searchPlaceholder, noResultsText, className, id, }: SelectProps): react_jsx_runtime.JSX.Element;
|
|
85
|
+
declare function Select({ options, value: controlledValue, defaultValue, onValueChange, placeholder, disabled, label, hideLabel, labelVariant, error, helperText, size, hasError, 'aria-label': ariaLabel, searchable, searchPlaceholder, noResultsText, className, id, }: SelectProps): react_jsx_runtime.JSX.Element;
|
|
77
86
|
declare namespace Select {
|
|
78
87
|
var displayName: string;
|
|
79
88
|
}
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
var chunkJFLC7SHM_cjs = require('../../chunk-JFLC7SHM.cjs');
|
|
4
4
|
var chunkXS35KPBZ_cjs = require('../../chunk-XS35KPBZ.cjs');
|
|
5
5
|
var chunk26DPQUSB_cjs = require('../../chunk-26DPQUSB.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkO5UATYAO_cjs = require('../../chunk-O5UATYAO.cjs');
|
|
7
7
|
require('../../chunk-ZZJ4ZVYR.cjs');
|
|
8
8
|
var chunkU3JU6BI5_cjs = require('../../chunk-U3JU6BI5.cjs');
|
|
9
9
|
require('../../chunk-VBWRH4UW.cjs');
|
|
10
|
-
require('../../chunk-
|
|
10
|
+
require('../../chunk-VD6GHFMF.cjs');
|
|
11
11
|
var chunkYVL3XATO_cjs = require('../../chunk-YVL3XATO.cjs');
|
|
12
12
|
require('../../chunk-FHY3K6PL.cjs');
|
|
13
13
|
require('../../chunk-FSGEDDF2.cjs');
|
|
@@ -537,7 +537,7 @@ function CopyMenu({ isSelf, markdown, getHtml, getText }) {
|
|
|
537
537
|
open ? "z-[60]" : "z-10"
|
|
538
538
|
),
|
|
539
539
|
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
540
|
-
|
|
540
|
+
chunkO5UATYAO_cjs.Dropdown,
|
|
541
541
|
{
|
|
542
542
|
open,
|
|
543
543
|
onOpenChange: setOpen,
|
|
@@ -553,18 +553,18 @@ function CopyMenu({ isSelf, markdown, getHtml, getText }) {
|
|
|
553
553
|
}
|
|
554
554
|
),
|
|
555
555
|
children: [
|
|
556
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
556
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkO5UATYAO_cjs.DropdownItem, { onClick: () => run(writeBoth), children: /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex flex-col items-start", children: [
|
|
557
557
|
/* @__PURE__ */ jsxRuntime.jsx("span", { children: "Copy" }),
|
|
558
558
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[10px] font-normal text-neutral-400", children: "Rich text + Markdown" })
|
|
559
559
|
] }) }),
|
|
560
560
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
561
|
-
|
|
561
|
+
chunkO5UATYAO_cjs.DropdownItem,
|
|
562
562
|
{
|
|
563
563
|
onClick: () => run(() => writeText(markdown || getText())),
|
|
564
564
|
children: "Copy as Markdown"
|
|
565
565
|
}
|
|
566
566
|
),
|
|
567
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
567
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkO5UATYAO_cjs.DropdownItem, { onClick: () => run(() => writeText(getText())), children: "Copy as plain text" })
|
|
568
568
|
]
|
|
569
569
|
}
|
|
570
570
|
)
|
|
@@ -2,11 +2,11 @@ import { TextRenderContext } from '../../chunk-I6CY5C6A.js';
|
|
|
2
2
|
export { TextRenderContext, useTextRenderContext } from '../../chunk-I6CY5C6A.js';
|
|
3
3
|
import { ChatBubble, MCPToolCallDisplay, AITypingIndicator, SparklesIcon, CloseIcon } from '../../chunk-RZJXCI53.js';
|
|
4
4
|
import { MessageComposer } from '../../chunk-EKRT7K2K.js';
|
|
5
|
-
import { Dropdown, DropdownItem } from '../../chunk-
|
|
5
|
+
import { Dropdown, DropdownItem } from '../../chunk-AHEIXYLT.js';
|
|
6
6
|
import '../../chunk-XO3WLK65.js';
|
|
7
7
|
import { Avatar } from '../../chunk-DCBMTFLE.js';
|
|
8
8
|
import '../../chunk-IQ4KQJAO.js';
|
|
9
|
-
import '../../chunk-
|
|
9
|
+
import '../../chunk-RP355H4V.js';
|
|
10
10
|
import { Badge } from '../../chunk-BMSG4NBH.js';
|
|
11
11
|
import '../../chunk-T4ME7QCT.js';
|
|
12
12
|
import '../../chunk-62ZOA6PX.js';
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkNHR33YWI_cjs = require('../../chunk-NHR33YWI.cjs');
|
|
4
4
|
require('../../chunk-S5RVSXDV.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "Textarea", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkNHR33YWI_cjs.Textarea; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "textareaVariants", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkNHR33YWI_cjs.textareaVariants; }
|
|
15
15
|
});
|
|
16
16
|
//# sourceMappingURL=index.cjs.map
|
|
17
17
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -6,10 +6,20 @@ declare const textareaVariants: (props?: ({
|
|
|
6
6
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
7
7
|
hasError?: boolean | null | undefined;
|
|
8
8
|
resize?: "none" | "both" | "horizontal" | "vertical" | null | undefined;
|
|
9
|
+
labelVariant?: "stacked" | "floating" | null | undefined;
|
|
9
10
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
|
-
interface TextareaProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'size'>, VariantProps<typeof textareaVariants> {
|
|
11
|
+
interface TextareaProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'size'>, Omit<VariantProps<typeof textareaVariants>, 'labelVariant'> {
|
|
11
12
|
/** Label for the textarea */
|
|
12
13
|
label?: string;
|
|
14
|
+
/**
|
|
15
|
+
* How the label is rendered.
|
|
16
|
+
* - `stacked` (default): label above the textarea.
|
|
17
|
+
* - `floating`: label rests inside the textarea like a placeholder and
|
|
18
|
+
* floats to the top (staying inside it) when focused or filled.
|
|
19
|
+
* Ignores `placeholder`; when `hideLabel` is set, falls back to a
|
|
20
|
+
* visually-hidden stacked label.
|
|
21
|
+
*/
|
|
22
|
+
labelVariant?: 'stacked' | 'floating';
|
|
13
23
|
/** Whether the label should be visually hidden */
|
|
14
24
|
hideLabel?: boolean;
|
|
15
25
|
/** Error message to display */
|
|
@@ -6,10 +6,20 @@ declare const textareaVariants: (props?: ({
|
|
|
6
6
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
7
7
|
hasError?: boolean | null | undefined;
|
|
8
8
|
resize?: "none" | "both" | "horizontal" | "vertical" | null | undefined;
|
|
9
|
+
labelVariant?: "stacked" | "floating" | null | undefined;
|
|
9
10
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
|
-
interface TextareaProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'size'>, VariantProps<typeof textareaVariants> {
|
|
11
|
+
interface TextareaProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'size'>, Omit<VariantProps<typeof textareaVariants>, 'labelVariant'> {
|
|
11
12
|
/** Label for the textarea */
|
|
12
13
|
label?: string;
|
|
14
|
+
/**
|
|
15
|
+
* How the label is rendered.
|
|
16
|
+
* - `stacked` (default): label above the textarea.
|
|
17
|
+
* - `floating`: label rests inside the textarea like a placeholder and
|
|
18
|
+
* floats to the top (staying inside it) when focused or filled.
|
|
19
|
+
* Ignores `placeholder`; when `hideLabel` is set, falls back to a
|
|
20
|
+
* visually-hidden stacked label.
|
|
21
|
+
*/
|
|
22
|
+
labelVariant?: 'stacked' | 'floating';
|
|
13
23
|
/** Whether the label should be visually hidden */
|
|
14
24
|
hideLabel?: boolean;
|
|
15
25
|
/** Error message to display */
|
package/dist/esheet.cjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkVPQ4WZ66_cjs = require('./chunk-VPQ4WZ66.cjs');
|
|
4
|
+
require('./chunk-NHR33YWI.cjs');
|
|
5
5
|
require('./chunk-WWJIW2IH.cjs');
|
|
6
6
|
require('./chunk-5IDYOJHO.cjs');
|
|
7
7
|
require('./chunk-AIJAFPGJ.cjs');
|
|
8
|
-
require('./chunk-
|
|
8
|
+
require('./chunk-VAKZEVDE.cjs');
|
|
9
9
|
require('./chunk-MJWFNV3L.cjs');
|
|
10
|
-
require('./chunk-
|
|
10
|
+
require('./chunk-FRZGGC5P.cjs');
|
|
11
11
|
require('./chunk-P2VTQ5AR.cjs');
|
|
12
|
-
require('./chunk-
|
|
12
|
+
require('./chunk-VD6GHFMF.cjs');
|
|
13
13
|
require('./chunk-PAM5UUBL.cjs');
|
|
14
14
|
require('./chunk-RDGRKYQ5.cjs');
|
|
15
15
|
require('./chunk-YVL3XATO.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
|
+
chunkVPQ4WZ66_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 = chunkVPQ4WZ66_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
|
+
chunkVPQ4WZ66_cjs.AllergyManager,
|
|
148
148
|
{
|
|
149
149
|
allergies: value.allergies,
|
|
150
150
|
onChange: (allergies) => commit({
|
package/dist/esheet.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { MedicationReconciliation, useCodeLookupConfig, AllergyManager } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
import { MedicationReconciliation, useCodeLookupConfig, AllergyManager } from './chunk-CXMGO7TD.js';
|
|
2
|
+
import './chunk-GP5CRU2I.js';
|
|
3
3
|
import './chunk-FJ7YPVKV.js';
|
|
4
4
|
import './chunk-QUUBTNMH.js';
|
|
5
5
|
import './chunk-I3WGZPI6.js';
|
|
6
|
-
import './chunk-
|
|
6
|
+
import './chunk-U35KWHXP.js';
|
|
7
7
|
import './chunk-QYSUYB3S.js';
|
|
8
|
-
import './chunk-
|
|
8
|
+
import './chunk-MSGYPBA4.js';
|
|
9
9
|
import './chunk-XMCIXHGH.js';
|
|
10
|
-
import './chunk-
|
|
10
|
+
import './chunk-RP355H4V.js';
|
|
11
11
|
import './chunk-3PXOIAF6.js';
|
|
12
12
|
import './chunk-D2GID3YK.js';
|
|
13
13
|
import './chunk-BMSG4NBH.js';
|