@mieweb/ui 0.7.3-dev.1 → 0.7.3-dev.11
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-OAHORW4N.cjs → chunk-3KY5W3ZN.cjs} +126 -97
- package/dist/chunk-3KY5W3ZN.cjs.map +1 -0
- package/dist/{chunk-KRGKPUJH.js → chunk-3X4GPM35.js} +7 -7
- package/dist/{chunk-KRGKPUJH.js.map → chunk-3X4GPM35.js.map} +1 -1
- package/dist/{chunk-3D4ITDLO.js → chunk-6H7NO5XX.js} +3 -3
- package/dist/{chunk-3D4ITDLO.js.map → chunk-6H7NO5XX.js.map} +1 -1
- package/dist/chunk-6NZXWKUE.js +3 -0
- package/dist/chunk-6NZXWKUE.js.map +1 -0
- package/dist/{chunk-QUUBTNMH.js → chunk-CLT4ASY7.js} +45 -15
- package/dist/chunk-CLT4ASY7.js.map +1 -0
- package/dist/{chunk-SYIFEJSF.cjs → chunk-DIL553SJ.cjs} +13 -13
- package/dist/{chunk-SYIFEJSF.cjs.map → chunk-DIL553SJ.cjs.map} +1 -1
- package/dist/{chunk-KFLDXJEE.js → chunk-DMIQS5KK.js} +46 -15
- package/dist/chunk-DMIQS5KK.js.map +1 -0
- package/dist/chunk-F7CQ5RO7.cjs +269 -0
- package/dist/chunk-F7CQ5RO7.cjs.map +1 -0
- package/dist/chunk-FXTNCCD2.js +243 -0
- package/dist/chunk-FXTNCCD2.js.map +1 -0
- package/dist/{chunk-5IDYOJHO.cjs → chunk-G6GJXVQC.cjs} +45 -15
- package/dist/chunk-G6GJXVQC.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-HIDV32ZX.js → chunk-GV3DE6KR.js} +3 -3
- package/dist/{chunk-HIDV32ZX.js.map → chunk-GV3DE6KR.js.map} +1 -1
- package/dist/{chunk-CVZYOMEW.js → chunk-I2AHT7JM.js} +78 -3
- package/dist/chunk-I2AHT7JM.js.map +1 -0
- package/dist/chunk-I44YNYI6.cjs +4 -0
- package/dist/chunk-I44YNYI6.cjs.map +1 -0
- package/dist/{chunk-FTRGZOVJ.js → chunk-ICMR3TYV.js} +3 -3
- package/dist/{chunk-FTRGZOVJ.js.map → chunk-ICMR3TYV.js.map} +1 -1
- package/dist/{chunk-MJFF4AXH.cjs → chunk-JU62BLDY.cjs} +78 -3
- package/dist/chunk-JU62BLDY.cjs.map +1 -0
- package/dist/{chunk-URHXR5SC.cjs → chunk-LFSP53TY.cjs} +7 -7
- package/dist/{chunk-URHXR5SC.cjs.map → chunk-LFSP53TY.cjs.map} +1 -1
- package/dist/{chunk-RBS3GHDZ.cjs → chunk-N7JVAXHD.cjs} +4 -4
- package/dist/{chunk-RBS3GHDZ.cjs.map → chunk-N7JVAXHD.cjs.map} +1 -1
- package/dist/{chunk-WUNWHOLA.cjs → chunk-NHR33YWI.cjs} +104 -25
- package/dist/chunk-NHR33YWI.cjs.map +1 -0
- package/dist/{chunk-FKLUSYFP.cjs → chunk-PCWIN32O.cjs} +4 -4
- package/dist/{chunk-FKLUSYFP.cjs.map → chunk-PCWIN32O.cjs.map} +1 -1
- package/dist/{chunk-S3MKIDYG.cjs → chunk-SMGNJGFT.cjs} +46 -15
- package/dist/chunk-SMGNJGFT.cjs.map +1 -0
- package/dist/{chunk-DLBV42JD.js → chunk-U35KWHXP.js} +86 -7
- package/dist/chunk-U35KWHXP.js.map +1 -0
- package/dist/{chunk-LC7YHZXM.js → chunk-UGJFT2QF.js} +5 -5
- package/dist/{chunk-LC7YHZXM.js.map → chunk-UGJFT2QF.js.map} +1 -1
- package/dist/{chunk-EGWWTIWS.js → chunk-UHVNVZ7L.js} +124 -95
- package/dist/chunk-UHVNVZ7L.js.map +1 -0
- package/dist/{chunk-6J7UGYT5.cjs → chunk-UZJDXFQE.cjs} +4 -4
- package/dist/{chunk-6J7UGYT5.cjs.map → chunk-UZJDXFQE.cjs.map} +1 -1
- package/dist/{chunk-ZBI52NP2.cjs → chunk-VAKZEVDE.cjs} +86 -7
- package/dist/chunk-VAKZEVDE.cjs.map +1 -0
- package/dist/{chunk-P6L74SKG.js → chunk-WUPT5SUN.js} +3 -3
- package/dist/{chunk-P6L74SKG.js.map → chunk-WUPT5SUN.js.map} +1 -1
- package/dist/{chunk-NQ2D2V6O.cjs → chunk-WWIBIUWT.cjs} +36 -36
- package/dist/{chunk-NQ2D2V6O.cjs.map → chunk-WWIBIUWT.cjs.map} +1 -1
- package/dist/components/Autocomplete/index.cjs +4 -3
- package/dist/components/Autocomplete/index.js +3 -2
- package/dist/components/Checkbox/index.cjs +5 -4
- package/dist/components/Checkbox/index.d.cts +9 -1
- package/dist/components/Checkbox/index.d.ts +9 -1
- package/dist/components/Checkbox/index.js +2 -1
- package/dist/components/DateInput/index.cjs +4 -3
- package/dist/components/DateInput/index.js +3 -2
- package/dist/components/Dropdown/index.cjs +9 -8
- package/dist/components/Dropdown/index.js +3 -2
- package/dist/components/Input/index.cjs +16 -3
- package/dist/components/Input/index.d.cts +25 -2
- package/dist/components/Input/index.d.ts +25 -2
- package/dist/components/Input/index.js +2 -1
- package/dist/components/MediaEditor/index.cjs +10 -9
- package/dist/components/MediaEditor/index.js +5 -4
- package/dist/components/PhoneInput/index.cjs +5 -4
- package/dist/components/PhoneInput/index.js +3 -2
- package/dist/components/Radio/index.cjs +5 -4
- package/dist/components/Radio/index.d.cts +9 -1
- package/dist/components/Radio/index.d.ts +9 -1
- package/dist/components/Radio/index.js +2 -1
- package/dist/components/RichTextEditor/index.cjs +7 -6
- package/dist/components/RichTextEditor/index.js +4 -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 +7 -6
- package/dist/components/SuperChat/index.cjs.map +1 -1
- package/dist/components/SuperChat/index.js +3 -2
- package/dist/components/SuperChat/index.js.map +1 -1
- 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 +10 -9
- package/dist/esheet.cjs.map +1 -1
- package/dist/esheet.js +7 -6
- package/dist/esheet.js.map +1 -1
- package/dist/index.cjs +566 -378
- 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 +285 -109
- 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-5IDYOJHO.cjs.map +0 -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-KFLDXJEE.js.map +0 -1
- package/dist/chunk-MJFF4AXH.cjs.map +0 -1
- package/dist/chunk-OAHORW4N.cjs.map +0 -1
- package/dist/chunk-QUUBTNMH.js.map +0 -1
- package/dist/chunk-S3MKIDYG.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
package/dist/index.d.cts
CHANGED
|
@@ -29,7 +29,7 @@ export { FloatingWindow, FloatingWindowProps, MinimizedWindow, MinimizedWindowPr
|
|
|
29
29
|
import { P as PatientHistory, a as ProgramsMap } from './orderRows-BUJYgSc7.cjs';
|
|
30
30
|
export { D as DueItem, b as DueStatus, H as HistoryAllergy, c as HistoryCondition, d as HistoryImmunization, e as HistoryMedication, f as HistoryObservation, g as HistoryOrder, h as HistoryProcedure, I as IsoDate, O as OrderRow, i as OrderRowStatus, j as OrderRowsOptions, k as ProgramMeta, l as buildChartOrderRows, m as buildEncounterOrderRows, n as dueForOrder, o as evaluateDue, p as evaluateProgram, q as isApplicable } from './orderRows-BUJYgSc7.cjs';
|
|
31
31
|
import { InputProps } from './components/Input/index.cjs';
|
|
32
|
-
export { Input, inputVariants } from './components/Input/index.cjs';
|
|
32
|
+
export { Input, floatingGroupLabelVariants, floatingGroupVariants, floatingLabelVariants, inputVariants } from './components/Input/index.cjs';
|
|
33
33
|
export { Label, LabelProps, labelVariants } from './components/Label/index.cjs';
|
|
34
34
|
import { SpinnerProps } from './components/Spinner/index.cjs';
|
|
35
35
|
export { FullPageSpinner, FullPageSpinnerProps, Spinner, SpinnerWithLabel, SpinnerWithLabelProps, spinnerVariants } from './components/Spinner/index.cjs';
|
|
@@ -978,7 +978,7 @@ interface SuggestedActionsProps {
|
|
|
978
978
|
}
|
|
979
979
|
declare function SuggestedActions({ actions, onSelect, className, }: SuggestedActionsProps): react_jsx_runtime.JSX.Element;
|
|
980
980
|
declare const chatVariants: (props?: ({
|
|
981
|
-
variant?: "
|
|
981
|
+
variant?: "floating" | "default" | "embedded" | null | undefined;
|
|
982
982
|
size?: "sm" | "md" | "lg" | "xl" | "full" | null | undefined;
|
|
983
983
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
984
984
|
interface AIChatProps extends VariantProps<typeof chatVariants>, AIChatCallbacks {
|
|
@@ -1037,6 +1037,13 @@ type ProviderModelOption = ProviderModelValue & {
|
|
|
1037
1037
|
providerLabel?: string;
|
|
1038
1038
|
id?: string;
|
|
1039
1039
|
};
|
|
1040
|
+
/** A reasoning-effort level offered alongside the model. */
|
|
1041
|
+
type ComposerEffortOption = {
|
|
1042
|
+
value: string;
|
|
1043
|
+
label: string;
|
|
1044
|
+
/** Optional secondary line, e.g. a caveat about cost or latency. */
|
|
1045
|
+
description?: string;
|
|
1046
|
+
};
|
|
1040
1047
|
type ComposerModelSelectorBaseProps = {
|
|
1041
1048
|
models: ProviderModelOption[];
|
|
1042
1049
|
value: ProviderModelValue | null;
|
|
@@ -1048,6 +1055,22 @@ type ComposerModelSelectorBaseProps = {
|
|
|
1048
1055
|
anyLabel?: string;
|
|
1049
1056
|
emptyLabel?: string;
|
|
1050
1057
|
ariaLabel?: string;
|
|
1058
|
+
/**
|
|
1059
|
+
* Reasoning-effort levels for the selected model. Omit or pass an empty
|
|
1060
|
+
* array to hide the effort row entirely, which is what a model that cannot
|
|
1061
|
+
* reason should resolve to — the levels are provider-specific, so the caller
|
|
1062
|
+
* owns deciding which apply.
|
|
1063
|
+
*/
|
|
1064
|
+
effortOptions?: ComposerEffortOption[];
|
|
1065
|
+
/** Currently selected effort. */
|
|
1066
|
+
effort?: string | null;
|
|
1067
|
+
/** Effort marked with a "default" badge in the list. */
|
|
1068
|
+
defaultEffort?: string;
|
|
1069
|
+
onEffortChange?: (value: string) => void;
|
|
1070
|
+
effortLabel?: string;
|
|
1071
|
+
effortHint?: string;
|
|
1072
|
+
defaultBadgeLabel?: string;
|
|
1073
|
+
backLabel?: string;
|
|
1051
1074
|
};
|
|
1052
1075
|
type ControlledProviderFilterProps = {
|
|
1053
1076
|
providerFilter: string | null;
|
|
@@ -1058,7 +1081,7 @@ type UncontrolledProviderFilterProps = {
|
|
|
1058
1081
|
onProviderFilterChange?: (provider: string | null) => void;
|
|
1059
1082
|
};
|
|
1060
1083
|
type ComposerModelSelectorProps = ComposerModelSelectorBaseProps & (ControlledProviderFilterProps | UncontrolledProviderFilterProps);
|
|
1061
|
-
declare function ComposerModelSelector({ models, value, providerFilter, onProviderFilterChange, onChange, disabled, className, boundaryRef, placeholder, anyLabel, emptyLabel, ariaLabel, }: ComposerModelSelectorProps): react_jsx_runtime.JSX.Element;
|
|
1084
|
+
declare function ComposerModelSelector({ models, value, providerFilter, onProviderFilterChange, onChange, disabled, className, boundaryRef, placeholder, anyLabel, emptyLabel, ariaLabel, effortOptions, effort, defaultEffort, onEffortChange, effortLabel, effortHint, defaultBadgeLabel, backLabel, }: ComposerModelSelectorProps): react_jsx_runtime.JSX.Element;
|
|
1062
1085
|
declare namespace ComposerModelSelector {
|
|
1063
1086
|
var displayName: string;
|
|
1064
1087
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ export { FloatingWindow, FloatingWindowProps, MinimizedWindow, MinimizedWindowPr
|
|
|
29
29
|
import { P as PatientHistory, a as ProgramsMap } from './orderRows-BUJYgSc7.js';
|
|
30
30
|
export { D as DueItem, b as DueStatus, H as HistoryAllergy, c as HistoryCondition, d as HistoryImmunization, e as HistoryMedication, f as HistoryObservation, g as HistoryOrder, h as HistoryProcedure, I as IsoDate, O as OrderRow, i as OrderRowStatus, j as OrderRowsOptions, k as ProgramMeta, l as buildChartOrderRows, m as buildEncounterOrderRows, n as dueForOrder, o as evaluateDue, p as evaluateProgram, q as isApplicable } from './orderRows-BUJYgSc7.js';
|
|
31
31
|
import { InputProps } from './components/Input/index.js';
|
|
32
|
-
export { Input, inputVariants } from './components/Input/index.js';
|
|
32
|
+
export { Input, floatingGroupLabelVariants, floatingGroupVariants, floatingLabelVariants, inputVariants } from './components/Input/index.js';
|
|
33
33
|
export { Label, LabelProps, labelVariants } from './components/Label/index.js';
|
|
34
34
|
import { SpinnerProps } from './components/Spinner/index.js';
|
|
35
35
|
export { FullPageSpinner, FullPageSpinnerProps, Spinner, SpinnerWithLabel, SpinnerWithLabelProps, spinnerVariants } from './components/Spinner/index.js';
|
|
@@ -978,7 +978,7 @@ interface SuggestedActionsProps {
|
|
|
978
978
|
}
|
|
979
979
|
declare function SuggestedActions({ actions, onSelect, className, }: SuggestedActionsProps): react_jsx_runtime.JSX.Element;
|
|
980
980
|
declare const chatVariants: (props?: ({
|
|
981
|
-
variant?: "
|
|
981
|
+
variant?: "floating" | "default" | "embedded" | null | undefined;
|
|
982
982
|
size?: "sm" | "md" | "lg" | "xl" | "full" | null | undefined;
|
|
983
983
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
984
984
|
interface AIChatProps extends VariantProps<typeof chatVariants>, AIChatCallbacks {
|
|
@@ -1037,6 +1037,13 @@ type ProviderModelOption = ProviderModelValue & {
|
|
|
1037
1037
|
providerLabel?: string;
|
|
1038
1038
|
id?: string;
|
|
1039
1039
|
};
|
|
1040
|
+
/** A reasoning-effort level offered alongside the model. */
|
|
1041
|
+
type ComposerEffortOption = {
|
|
1042
|
+
value: string;
|
|
1043
|
+
label: string;
|
|
1044
|
+
/** Optional secondary line, e.g. a caveat about cost or latency. */
|
|
1045
|
+
description?: string;
|
|
1046
|
+
};
|
|
1040
1047
|
type ComposerModelSelectorBaseProps = {
|
|
1041
1048
|
models: ProviderModelOption[];
|
|
1042
1049
|
value: ProviderModelValue | null;
|
|
@@ -1048,6 +1055,22 @@ type ComposerModelSelectorBaseProps = {
|
|
|
1048
1055
|
anyLabel?: string;
|
|
1049
1056
|
emptyLabel?: string;
|
|
1050
1057
|
ariaLabel?: string;
|
|
1058
|
+
/**
|
|
1059
|
+
* Reasoning-effort levels for the selected model. Omit or pass an empty
|
|
1060
|
+
* array to hide the effort row entirely, which is what a model that cannot
|
|
1061
|
+
* reason should resolve to — the levels are provider-specific, so the caller
|
|
1062
|
+
* owns deciding which apply.
|
|
1063
|
+
*/
|
|
1064
|
+
effortOptions?: ComposerEffortOption[];
|
|
1065
|
+
/** Currently selected effort. */
|
|
1066
|
+
effort?: string | null;
|
|
1067
|
+
/** Effort marked with a "default" badge in the list. */
|
|
1068
|
+
defaultEffort?: string;
|
|
1069
|
+
onEffortChange?: (value: string) => void;
|
|
1070
|
+
effortLabel?: string;
|
|
1071
|
+
effortHint?: string;
|
|
1072
|
+
defaultBadgeLabel?: string;
|
|
1073
|
+
backLabel?: string;
|
|
1051
1074
|
};
|
|
1052
1075
|
type ControlledProviderFilterProps = {
|
|
1053
1076
|
providerFilter: string | null;
|
|
@@ -1058,7 +1081,7 @@ type UncontrolledProviderFilterProps = {
|
|
|
1058
1081
|
onProviderFilterChange?: (provider: string | null) => void;
|
|
1059
1082
|
};
|
|
1060
1083
|
type ComposerModelSelectorProps = ComposerModelSelectorBaseProps & (ControlledProviderFilterProps | UncontrolledProviderFilterProps);
|
|
1061
|
-
declare function ComposerModelSelector({ models, value, providerFilter, onProviderFilterChange, onChange, disabled, className, boundaryRef, placeholder, anyLabel, emptyLabel, ariaLabel, }: ComposerModelSelectorProps): react_jsx_runtime.JSX.Element;
|
|
1084
|
+
declare function ComposerModelSelector({ models, value, providerFilter, onProviderFilterChange, onChange, disabled, className, boundaryRef, placeholder, anyLabel, emptyLabel, ariaLabel, effortOptions, effort, defaultEffort, onEffortChange, effortLabel, effortHint, defaultBadgeLabel, backLabel, }: ComposerModelSelectorProps): react_jsx_runtime.JSX.Element;
|
|
1062
1085
|
declare namespace ComposerModelSelector {
|
|
1063
1086
|
var displayName: string;
|
|
1064
1087
|
}
|