@mieweb/ui 0.7.1-dev.16 → 0.7.1-dev.18
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-QOBNYNKZ.js → chunk-3SRBIXQX.js} +3 -3
- package/dist/{chunk-QOBNYNKZ.js.map → chunk-3SRBIXQX.js.map} +1 -1
- package/dist/{chunk-RGRSJYZF.js → chunk-EGWWTIWS.js} +116 -72
- package/dist/chunk-EGWWTIWS.js.map +1 -0
- package/dist/{chunk-GLRLOJMV.cjs → chunk-OAHORW4N.cjs} +115 -71
- package/dist/chunk-OAHORW4N.cjs.map +1 -0
- package/dist/{chunk-3G2HFPCC.cjs → chunk-VWCMOWGH.cjs} +6 -6
- package/dist/{chunk-3G2HFPCC.cjs.map → chunk-VWCMOWGH.cjs.map} +1 -1
- package/dist/components/DateInput/index.cjs +2 -2
- package/dist/components/DateInput/index.d.cts +3 -1
- package/dist/components/DateInput/index.d.ts +3 -1
- package/dist/components/DateInput/index.js +1 -1
- package/dist/esheet.cjs +5 -5
- package/dist/esheet.js +2 -2
- package/dist/index.cjs +358 -41
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +16 -2
- package/dist/index.d.ts +16 -2
- package/dist/index.js +325 -8
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +6 -6
- package/dist/chunk-GLRLOJMV.cjs.map +0 -1
- package/dist/chunk-RGRSJYZF.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkOAHORW4N_cjs = require('../../chunk-OAHORW4N.cjs');
|
|
4
4
|
require('../../chunk-6ECKH4DJ.cjs');
|
|
5
5
|
require('../../chunk-MYFZYUPR.cjs');
|
|
6
6
|
require('../../chunk-CW75IKA6.cjs');
|
|
@@ -10,7 +10,7 @@ require('../../chunk-S5RVSXDV.cjs');
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "DateInput", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkOAHORW4N_cjs.DateInput; }
|
|
14
14
|
});
|
|
15
15
|
//# sourceMappingURL=index.cjs.map
|
|
16
16
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -4,7 +4,7 @@ import 'class-variance-authority/types';
|
|
|
4
4
|
import 'class-variance-authority';
|
|
5
5
|
|
|
6
6
|
type DateInputMode = 'default' | 'dob' | 'expiration' | 'past' | 'future';
|
|
7
|
-
type DateInputType = 'date' | 'datetime-local' | 'month' | 'year';
|
|
7
|
+
type DateInputType = 'date' | 'datetime-local' | 'time' | 'month' | 'year';
|
|
8
8
|
type DateInputWidth = 'full' | 'fit' | 'fixed';
|
|
9
9
|
type DateInputTimeFormat = '12-hour' | '24-hour';
|
|
10
10
|
interface DateInputProps extends Omit<InputProps, 'type' | 'onChange' | 'value'> {
|
|
@@ -14,6 +14,8 @@ interface DateInputProps extends Omit<InputProps, 'type' | 'onChange' | 'value'>
|
|
|
14
14
|
onChange?: (value: string) => void;
|
|
15
15
|
/** Date value format and picker control. */
|
|
16
16
|
inputType?: DateInputType;
|
|
17
|
+
/** Minute increment for the time picker (e.g. 15 shows :00, :15, :30, :45). */
|
|
18
|
+
minuteStep?: number;
|
|
17
19
|
/** Time picker display format for datetime values. */
|
|
18
20
|
timeFormat?: DateInputTimeFormat;
|
|
19
21
|
/** Validation mode for the date input */
|
|
@@ -4,7 +4,7 @@ import 'class-variance-authority/types';
|
|
|
4
4
|
import 'class-variance-authority';
|
|
5
5
|
|
|
6
6
|
type DateInputMode = 'default' | 'dob' | 'expiration' | 'past' | 'future';
|
|
7
|
-
type DateInputType = 'date' | 'datetime-local' | 'month' | 'year';
|
|
7
|
+
type DateInputType = 'date' | 'datetime-local' | 'time' | 'month' | 'year';
|
|
8
8
|
type DateInputWidth = 'full' | 'fit' | 'fixed';
|
|
9
9
|
type DateInputTimeFormat = '12-hour' | '24-hour';
|
|
10
10
|
interface DateInputProps extends Omit<InputProps, 'type' | 'onChange' | 'value'> {
|
|
@@ -14,6 +14,8 @@ interface DateInputProps extends Omit<InputProps, 'type' | 'onChange' | 'value'>
|
|
|
14
14
|
onChange?: (value: string) => void;
|
|
15
15
|
/** Date value format and picker control. */
|
|
16
16
|
inputType?: DateInputType;
|
|
17
|
+
/** Minute increment for the time picker (e.g. 15 shows :00, :15, :30, :45). */
|
|
18
|
+
minuteStep?: number;
|
|
17
19
|
/** Time picker display format for datetime values. */
|
|
18
20
|
timeFormat?: DateInputTimeFormat;
|
|
19
21
|
/** Validation mode for the date input */
|
package/dist/esheet.cjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkVWCMOWGH_cjs = require('./chunk-VWCMOWGH.cjs');
|
|
4
4
|
require('./chunk-WUNWHOLA.cjs');
|
|
5
5
|
require('./chunk-WWJIW2IH.cjs');
|
|
6
6
|
require('./chunk-5IDYOJHO.cjs');
|
|
7
7
|
require('./chunk-AIJAFPGJ.cjs');
|
|
8
8
|
require('./chunk-ZBI52NP2.cjs');
|
|
9
9
|
require('./chunk-MJWFNV3L.cjs');
|
|
10
|
-
require('./chunk-
|
|
10
|
+
require('./chunk-OAHORW4N.cjs');
|
|
11
11
|
require('./chunk-P2VTQ5AR.cjs');
|
|
12
12
|
require('./chunk-6ECKH4DJ.cjs');
|
|
13
13
|
require('./chunk-PAM5UUBL.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
|
+
chunkVWCMOWGH_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 = chunkVWCMOWGH_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
|
+
chunkVWCMOWGH_cjs.AllergyManager,
|
|
148
148
|
{
|
|
149
149
|
allergies: value.allergies,
|
|
150
150
|
onChange: (allergies) => commit({
|
package/dist/esheet.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { MedicationReconciliation, useCodeLookupConfig, AllergyManager } from './chunk-
|
|
1
|
+
import { MedicationReconciliation, useCodeLookupConfig, AllergyManager } from './chunk-3SRBIXQX.js';
|
|
2
2
|
import './chunk-AFGADE3B.js';
|
|
3
3
|
import './chunk-FJ7YPVKV.js';
|
|
4
4
|
import './chunk-QUUBTNMH.js';
|
|
5
5
|
import './chunk-I3WGZPI6.js';
|
|
6
6
|
import './chunk-DLBV42JD.js';
|
|
7
7
|
import './chunk-QYSUYB3S.js';
|
|
8
|
-
import './chunk-
|
|
8
|
+
import './chunk-EGWWTIWS.js';
|
|
9
9
|
import './chunk-XMCIXHGH.js';
|
|
10
10
|
import './chunk-YXCE2HSK.js';
|
|
11
11
|
import './chunk-3PXOIAF6.js';
|