@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.
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkGLRLOJMV_cjs = require('../../chunk-GLRLOJMV.cjs');
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 chunkGLRLOJMV_cjs.DateInput; }
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 */
@@ -1,4 +1,4 @@
1
- export { DateInput } from '../../chunk-RGRSJYZF.js';
1
+ export { DateInput } from '../../chunk-EGWWTIWS.js';
2
2
  import '../../chunk-YXCE2HSK.js';
3
3
  import '../../chunk-BOOJDRJO.js';
4
4
  import '../../chunk-RC2YMOMS.js';
package/dist/esheet.cjs CHANGED
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var chunk3G2HFPCC_cjs = require('./chunk-3G2HFPCC.cjs');
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-GLRLOJMV.cjs');
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
- chunk3G2HFPCC_cjs.MedicationReconciliation,
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 = chunk3G2HFPCC_cjs.useCodeLookupConfig();
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
- chunk3G2HFPCC_cjs.AllergyManager,
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-QOBNYNKZ.js';
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-RGRSJYZF.js';
8
+ import './chunk-EGWWTIWS.js';
9
9
  import './chunk-XMCIXHGH.js';
10
10
  import './chunk-YXCE2HSK.js';
11
11
  import './chunk-3PXOIAF6.js';