@mieweb/ui 0.11.0-dev.22 → 0.11.0-dev.24
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-N6XBE47W.js → chunk-3E7C5N2G.js} +3 -3
- package/dist/{chunk-N6XBE47W.js.map → chunk-3E7C5N2G.js.map} +1 -1
- package/dist/{chunk-XWNTCOC7.cjs → chunk-4W3QJWG2.cjs} +18 -2
- package/dist/chunk-4W3QJWG2.cjs.map +1 -0
- package/dist/{chunk-BSDBI6H7.cjs → chunk-BUN6RUJ5.cjs} +100 -8
- package/dist/chunk-BUN6RUJ5.cjs.map +1 -0
- package/dist/{chunk-H3YO5GBM.js → chunk-CPG7SDON.js} +100 -8
- package/dist/chunk-CPG7SDON.js.map +1 -0
- package/dist/{chunk-UQPNO5YC.js → chunk-GTZUG646.js} +4 -4
- package/dist/{chunk-UQPNO5YC.js.map → chunk-GTZUG646.js.map} +1 -1
- package/dist/{chunk-GFP3BUVC.cjs → chunk-HKLTJYRU.cjs} +7 -7
- package/dist/{chunk-GFP3BUVC.cjs.map → chunk-HKLTJYRU.cjs.map} +1 -1
- package/dist/{chunk-5EOW6AP3.js → chunk-IYY7NKA3.js} +97 -19
- package/dist/chunk-IYY7NKA3.js.map +1 -0
- package/dist/{chunk-MC467GS4.js → chunk-V43ZWRBT.js} +18 -2
- package/dist/chunk-V43ZWRBT.js.map +1 -0
- package/dist/{chunk-7BA7ENN5.cjs → chunk-VEPARPUE.cjs} +97 -19
- package/dist/chunk-VEPARPUE.cjs.map +1 -0
- package/dist/{chunk-5VA2HJ5B.cjs → chunk-ZWKC4JML.cjs} +9 -9
- package/dist/{chunk-5VA2HJ5B.cjs.map → chunk-ZWKC4JML.cjs.map} +1 -1
- package/dist/components/EmailEditor/index.cjs +12 -12
- package/dist/components/EmailEditor/index.js +3 -3
- package/dist/components/RichTextEditor/index.cjs +4 -4
- package/dist/components/RichTextEditor/index.d.cts +14 -0
- package/dist/components/RichTextEditor/index.d.ts +14 -0
- package/dist/components/RichTextEditor/index.js +1 -1
- package/dist/components/Textarea/index.cjs +3 -3
- package/dist/components/Textarea/index.d.cts +7 -1
- package/dist/components/Textarea/index.d.ts +7 -1
- package/dist/components/Textarea/index.js +1 -1
- package/dist/esheet.cjs +5 -5
- package/dist/esheet.js +2 -2
- package/dist/index.cjs +64 -64
- package/dist/index.d.cts +21 -1
- package/dist/index.d.ts +21 -1
- package/dist/index.js +7 -7
- package/dist/styles.css +1 -1
- package/dist/tailwind-preset.cjs +4 -4
- package/dist/tailwind-preset.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-5EOW6AP3.js.map +0 -1
- package/dist/chunk-7BA7ENN5.cjs.map +0 -1
- package/dist/chunk-BSDBI6H7.cjs.map +0 -1
- package/dist/chunk-H3YO5GBM.js.map +0 -1
- package/dist/chunk-MC467GS4.js.map +0 -1
- package/dist/chunk-XWNTCOC7.cjs.map +0 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkHKLTJYRU_cjs = require('../../chunk-HKLTJYRU.cjs');
|
|
4
4
|
require('../../chunk-BXRQ6HEP.cjs');
|
|
5
5
|
require('../../chunk-S7AMZ4RD.cjs');
|
|
6
|
-
require('../../chunk-
|
|
6
|
+
require('../../chunk-VEPARPUE.cjs');
|
|
7
7
|
require('../../chunk-YP5T6NZD.cjs');
|
|
8
8
|
require('../../chunk-PLMXN23Q.cjs');
|
|
9
9
|
require('../../chunk-ZNUMOJOI.cjs');
|
|
10
10
|
require('../../chunk-PINIBEIU.cjs');
|
|
11
11
|
require('../../chunk-7WJ6MBF5.cjs');
|
|
12
12
|
require('../../chunk-C7RVKV25.cjs');
|
|
13
|
-
require('../../chunk-
|
|
13
|
+
require('../../chunk-BUN6RUJ5.cjs');
|
|
14
14
|
require('../../chunk-UPWIJC6I.cjs');
|
|
15
15
|
require('../../chunk-I44YNYI6.cjs');
|
|
16
16
|
require('../../chunk-Z5S5JEJD.cjs');
|
|
@@ -31,39 +31,39 @@ require('../../chunk-EUAMEVVI.cjs');
|
|
|
31
31
|
|
|
32
32
|
Object.defineProperty(exports, "EMAIL_BLOCK_TYPES", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkHKLTJYRU_cjs.EMAIL_BLOCK_TYPES; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "EmailEditor", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkHKLTJYRU_cjs.EmailEditor; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "createDefaultDesignSettings", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkHKLTJYRU_cjs.createDefaultDesignSettings; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "createEmailBlock", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkHKLTJYRU_cjs.createEmailBlock; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "createEmailHtmlSanitizer", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkHKLTJYRU_cjs.createEmailHtmlSanitizer; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "createEmptyEmailContentTree", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkHKLTJYRU_cjs.createEmptyEmailContentTree; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "defaultEmailEditorLabels", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkHKLTJYRU_cjs.defaultEmailEditorLabels; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "generateEmailBlockId", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkHKLTJYRU_cjs.generateEmailBlockId; }
|
|
63
63
|
});
|
|
64
64
|
Object.defineProperty(exports, "renderEmailMjml", {
|
|
65
65
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkHKLTJYRU_cjs.renderEmailMjml; }
|
|
67
67
|
});
|
|
68
68
|
//# sourceMappingURL=index.cjs.map
|
|
69
69
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export { EMAIL_BLOCK_TYPES, EmailEditor, createDefaultDesignSettings, createEmailBlock, createEmailHtmlSanitizer, createEmptyEmailContentTree, defaultEmailEditorLabels, generateEmailBlockId, renderEmailMjml } from '../../chunk-
|
|
1
|
+
export { EMAIL_BLOCK_TYPES, EmailEditor, createDefaultDesignSettings, createEmailBlock, createEmailHtmlSanitizer, createEmptyEmailContentTree, defaultEmailEditorLabels, generateEmailBlockId, renderEmailMjml } from '../../chunk-GTZUG646.js';
|
|
2
2
|
import '../../chunk-XBAAHOCP.js';
|
|
3
3
|
import '../../chunk-ME7EVT6F.js';
|
|
4
|
-
import '../../chunk-
|
|
4
|
+
import '../../chunk-IYY7NKA3.js';
|
|
5
5
|
import '../../chunk-OQWZYKJM.js';
|
|
6
6
|
import '../../chunk-AQ564XO7.js';
|
|
7
7
|
import '../../chunk-AMYFRY7K.js';
|
|
8
8
|
import '../../chunk-OYUIEJPN.js';
|
|
9
9
|
import '../../chunk-CVNPNZMX.js';
|
|
10
10
|
import '../../chunk-ERLPVXOV.js';
|
|
11
|
-
import '../../chunk-
|
|
11
|
+
import '../../chunk-CPG7SDON.js';
|
|
12
12
|
import '../../chunk-VCI2Y7ST.js';
|
|
13
13
|
import '../../chunk-6NZXWKUE.js';
|
|
14
14
|
import '../../chunk-3IMM2PM4.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkVEPARPUE_cjs = require('../../chunk-VEPARPUE.cjs');
|
|
4
4
|
require('../../chunk-YP5T6NZD.cjs');
|
|
5
5
|
require('../../chunk-ZNUMOJOI.cjs');
|
|
6
6
|
require('../../chunk-PINIBEIU.cjs');
|
|
@@ -23,15 +23,15 @@ require('../../chunk-EUAMEVVI.cjs');
|
|
|
23
23
|
|
|
24
24
|
Object.defineProperty(exports, "RichTextEditor", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkVEPARPUE_cjs.RichTextEditor; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "convertAngleBracketsToMustache", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkVEPARPUE_cjs.convertAngleBracketsToMustache; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "processDictation", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkVEPARPUE_cjs.processDictation; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "isHtmlEmpty", {
|
|
37
37
|
enumerable: true,
|
|
@@ -128,6 +128,20 @@ interface RichTextEditorProps {
|
|
|
128
128
|
};
|
|
129
129
|
/** Forwarded to the macro panel's "Save as macro" action. */
|
|
130
130
|
onCreateMacro?: () => void;
|
|
131
|
+
/**
|
|
132
|
+
* Toolbar visibility. `'hidden'` removes the toolbar entirely for
|
|
133
|
+
* chromeless surfaces (typed shortcuts keep working; pair with
|
|
134
|
+
* `markdownShortcuts` so formatting stays reachable). Defaults to
|
|
135
|
+
* `'visible'` — existing consumers are unchanged.
|
|
136
|
+
*/
|
|
137
|
+
toolbar?: 'visible' | 'hidden';
|
|
138
|
+
/**
|
|
139
|
+
* Expand markdown-style block shortcuts typed at the start of a line and
|
|
140
|
+
* followed by a space: `#`/`##`/`###` → headings, `-`/`*` → bullet list,
|
|
141
|
+
* `1.` → numbered list, `>` → block quote. Inline rules (`**bold**`) are
|
|
142
|
+
* not interpreted. Defaults to false.
|
|
143
|
+
*/
|
|
144
|
+
markdownShortcuts?: boolean;
|
|
131
145
|
/** Accessible label for the editable region. */
|
|
132
146
|
'aria-label'?: string;
|
|
133
147
|
}
|
|
@@ -128,6 +128,20 @@ interface RichTextEditorProps {
|
|
|
128
128
|
};
|
|
129
129
|
/** Forwarded to the macro panel's "Save as macro" action. */
|
|
130
130
|
onCreateMacro?: () => void;
|
|
131
|
+
/**
|
|
132
|
+
* Toolbar visibility. `'hidden'` removes the toolbar entirely for
|
|
133
|
+
* chromeless surfaces (typed shortcuts keep working; pair with
|
|
134
|
+
* `markdownShortcuts` so formatting stays reachable). Defaults to
|
|
135
|
+
* `'visible'` — existing consumers are unchanged.
|
|
136
|
+
*/
|
|
137
|
+
toolbar?: 'visible' | 'hidden';
|
|
138
|
+
/**
|
|
139
|
+
* Expand markdown-style block shortcuts typed at the start of a line and
|
|
140
|
+
* followed by a space: `#`/`##`/`###` → headings, `-`/`*` → bullet list,
|
|
141
|
+
* `1.` → numbered list, `>` → block quote. Inline rules (`**bold**`) are
|
|
142
|
+
* not interpreted. Defaults to false.
|
|
143
|
+
*/
|
|
144
|
+
markdownShortcuts?: boolean;
|
|
131
145
|
/** Accessible label for the editable region. */
|
|
132
146
|
'aria-label'?: string;
|
|
133
147
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { RichTextEditor, convertAngleBracketsToMustache, processDictation } from '../../chunk-
|
|
1
|
+
export { RichTextEditor, convertAngleBracketsToMustache, processDictation } from '../../chunk-IYY7NKA3.js';
|
|
2
2
|
import '../../chunk-OQWZYKJM.js';
|
|
3
3
|
import '../../chunk-AMYFRY7K.js';
|
|
4
4
|
import '../../chunk-OYUIEJPN.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkBUN6RUJ5_cjs = require('../../chunk-BUN6RUJ5.cjs');
|
|
4
4
|
require('../../chunk-I44YNYI6.cjs');
|
|
5
5
|
require('../../chunk-Z5S5JEJD.cjs');
|
|
6
6
|
require('../../chunk-S5RVSXDV.cjs');
|
|
@@ -10,11 +10,11 @@ require('../../chunk-EUAMEVVI.cjs');
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "Textarea", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkBUN6RUJ5_cjs.Textarea; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "textareaVariants", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkBUN6RUJ5_cjs.textareaVariants; }
|
|
18
18
|
});
|
|
19
19
|
//# sourceMappingURL=index.cjs.map
|
|
20
20
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -9,6 +9,7 @@ declare const textareaVariants: (props?: ({
|
|
|
9
9
|
hasError?: boolean | null | undefined;
|
|
10
10
|
resize?: "none" | "both" | "horizontal" | "vertical" | null | undefined;
|
|
11
11
|
labelVariant?: "stacked" | "floating" | null | undefined;
|
|
12
|
+
autoResize?: boolean | null | undefined;
|
|
12
13
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
13
14
|
interface TextareaProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'size'>, Omit<VariantProps<typeof textareaVariants>, 'labelVariant'> {
|
|
14
15
|
/** Label for the textarea */
|
|
@@ -32,7 +33,12 @@ interface TextareaProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaEl
|
|
|
32
33
|
maxLength?: number;
|
|
33
34
|
/** Show character count */
|
|
34
35
|
showCount?: boolean;
|
|
35
|
-
/**
|
|
36
|
+
/**
|
|
37
|
+
* Grow and shrink with content (default). The empty control matches a
|
|
38
|
+
* single-line `Input`'s height; `rows` sets a taller growth floor, and
|
|
39
|
+
* dragging the native resize handle sets a new floor the same way. Set
|
|
40
|
+
* `false` for a classic fixed-height textarea.
|
|
41
|
+
*/
|
|
36
42
|
autoResize?: boolean;
|
|
37
43
|
/**
|
|
38
44
|
* Color of the required asterisk.
|
|
@@ -9,6 +9,7 @@ declare const textareaVariants: (props?: ({
|
|
|
9
9
|
hasError?: boolean | null | undefined;
|
|
10
10
|
resize?: "none" | "both" | "horizontal" | "vertical" | null | undefined;
|
|
11
11
|
labelVariant?: "stacked" | "floating" | null | undefined;
|
|
12
|
+
autoResize?: boolean | null | undefined;
|
|
12
13
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
13
14
|
interface TextareaProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'size'>, Omit<VariantProps<typeof textareaVariants>, 'labelVariant'> {
|
|
14
15
|
/** Label for the textarea */
|
|
@@ -32,7 +33,12 @@ interface TextareaProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaEl
|
|
|
32
33
|
maxLength?: number;
|
|
33
34
|
/** Show character count */
|
|
34
35
|
showCount?: boolean;
|
|
35
|
-
/**
|
|
36
|
+
/**
|
|
37
|
+
* Grow and shrink with content (default). The empty control matches a
|
|
38
|
+
* single-line `Input`'s height; `rows` sets a taller growth floor, and
|
|
39
|
+
* dragging the native resize handle sets a new floor the same way. Set
|
|
40
|
+
* `false` for a classic fixed-height textarea.
|
|
41
|
+
*/
|
|
36
42
|
autoResize?: boolean;
|
|
37
43
|
/**
|
|
38
44
|
* Color of the required asterisk.
|
package/dist/esheet.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkZWKC4JML_cjs = require('./chunk-ZWKC4JML.cjs');
|
|
4
4
|
require('./chunk-GLG6UE2H.cjs');
|
|
5
5
|
require('./chunk-G7EQ3JPX.cjs');
|
|
6
6
|
require('./chunk-AIJAFPGJ.cjs');
|
|
7
7
|
require('./chunk-PHUTJKHL.cjs');
|
|
8
|
-
require('./chunk-
|
|
8
|
+
require('./chunk-BUN6RUJ5.cjs');
|
|
9
9
|
require('./chunk-UPWIJC6I.cjs');
|
|
10
10
|
require('./chunk-MJWFNV3L.cjs');
|
|
11
11
|
require('./chunk-LC3JL2HB.cjs');
|
|
@@ -84,7 +84,7 @@ function MedicationListField({
|
|
|
84
84
|
return definition.medications ?? [];
|
|
85
85
|
}, [response?.answer, definition.medications]);
|
|
86
86
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
87
|
-
|
|
87
|
+
chunkZWKC4JML_cjs.MedicationReconciliation,
|
|
88
88
|
{
|
|
89
89
|
medications,
|
|
90
90
|
onChange: (next) => onResponse({ answer: JSON.stringify({ medications: next }) }),
|
|
@@ -141,7 +141,7 @@ function AllergyListField({
|
|
|
141
141
|
codeLookup
|
|
142
142
|
}) {
|
|
143
143
|
const definition = field.definition;
|
|
144
|
-
const ambientCodeLookup =
|
|
144
|
+
const ambientCodeLookup = chunkZWKC4JML_cjs.useCodeLookupConfig();
|
|
145
145
|
const effectiveCodeLookup = codeLookup === false ? void 0 : codeLookup ?? ambientCodeLookup ?? void 0;
|
|
146
146
|
const value = React__namespace.useMemo(() => {
|
|
147
147
|
if (response?.answer) return parseValue2(response.answer);
|
|
@@ -151,7 +151,7 @@ function AllergyListField({
|
|
|
151
151
|
onResponse({ answer: JSON.stringify(next) });
|
|
152
152
|
};
|
|
153
153
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
154
|
-
|
|
154
|
+
chunkZWKC4JML_cjs.AllergyManager,
|
|
155
155
|
{
|
|
156
156
|
allergies: value.allergies,
|
|
157
157
|
onChange: (allergies) => commit({
|
package/dist/esheet.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { MedicationReconciliation, useCodeLookupConfig, AllergyManager } from './chunk-
|
|
1
|
+
import { MedicationReconciliation, useCodeLookupConfig, AllergyManager } from './chunk-3E7C5N2G.js';
|
|
2
2
|
import './chunk-YFWDS6MX.js';
|
|
3
3
|
import './chunk-EPSB4WTL.js';
|
|
4
4
|
import './chunk-I3WGZPI6.js';
|
|
5
5
|
import './chunk-I6Y2KLTZ.js';
|
|
6
|
-
import './chunk-
|
|
6
|
+
import './chunk-CPG7SDON.js';
|
|
7
7
|
import './chunk-VCI2Y7ST.js';
|
|
8
8
|
import './chunk-QYSUYB3S.js';
|
|
9
9
|
import './chunk-TWQSMUE6.js';
|