@mieweb/ui 0.7.3-dev.21 → 0.7.3-dev.23
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/brands/index.cjs +7 -7
- package/dist/brands/index.js +2 -2
- package/dist/chunk-7L7OPISJ.cjs +291 -0
- package/dist/chunk-7L7OPISJ.cjs.map +1 -0
- package/dist/{chunk-TXRQQMG5.js → chunk-CYMZ2QS5.js} +2 -2
- package/dist/{chunk-TXRQQMG5.js.map → chunk-CYMZ2QS5.js.map} +1 -1
- package/dist/{chunk-F57VRLKP.js → chunk-DWVJ3WQO.js} +3 -3
- package/dist/{chunk-F57VRLKP.js.map → chunk-DWVJ3WQO.js.map} +1 -1
- package/dist/{chunk-5D253OQS.js → chunk-GEG6G7OF.js} +4 -4
- package/dist/{chunk-5D253OQS.js.map → chunk-GEG6G7OF.js.map} +1 -1
- package/dist/chunk-HK3AMH3Q.cjs +151 -0
- package/dist/chunk-HK3AMH3Q.cjs.map +1 -0
- package/dist/{chunk-YVIH26FG.cjs → chunk-IOJVAPPC.cjs} +3 -3
- package/dist/{chunk-YVIH26FG.cjs.map → chunk-IOJVAPPC.cjs.map} +1 -1
- package/dist/{chunk-WKCNNYHN.cjs → chunk-LJBWCUKP.cjs} +2 -2
- package/dist/{chunk-WKCNNYHN.cjs.map → chunk-LJBWCUKP.cjs.map} +1 -1
- package/dist/{chunk-X5FQ2LFF.cjs → chunk-MEQ4UPHC.cjs} +54 -2
- package/dist/chunk-MEQ4UPHC.cjs.map +1 -0
- package/dist/{chunk-JWTCEWQ4.cjs → chunk-SNEQXSC5.cjs} +2 -2
- package/dist/{chunk-JWTCEWQ4.cjs.map → chunk-SNEQXSC5.cjs.map} +1 -1
- package/dist/{chunk-WBTCOX5T.js → chunk-VBYG45LK.js} +54 -2
- package/dist/chunk-VBYG45LK.js.map +1 -0
- package/dist/{chunk-X5OS45WZ.cjs → chunk-WALAUOQB.cjs} +4 -4
- package/dist/{chunk-X5OS45WZ.cjs.map → chunk-WALAUOQB.cjs.map} +1 -1
- package/dist/chunk-XWYKLEKG.js +269 -0
- package/dist/chunk-XWYKLEKG.js.map +1 -0
- package/dist/chunk-Y6YSJPVC.js +129 -0
- package/dist/chunk-Y6YSJPVC.js.map +1 -0
- package/dist/{chunk-6XTHO63C.js → chunk-Z4PECE5S.js} +2 -2
- package/dist/{chunk-6XTHO63C.js.map → chunk-Z4PECE5S.js.map} +1 -1
- package/dist/components/Accordion/index.cjs +13 -0
- package/dist/components/Accordion/index.cjs.map +1 -0
- package/dist/components/Accordion/index.d.cts +50 -0
- package/dist/components/Accordion/index.d.ts +50 -0
- package/dist/components/Accordion/index.js +4 -0
- package/dist/components/Accordion/index.js.map +1 -0
- package/dist/components/CustomizableDashboard/index.cjs +9 -9
- package/dist/components/CustomizableDashboard/index.js +2 -2
- package/dist/components/GlossaryTooltip/index.cjs +15 -0
- package/dist/components/GlossaryTooltip/index.cjs.map +1 -0
- package/dist/components/GlossaryTooltip/index.d.cts +64 -0
- package/dist/components/GlossaryTooltip/index.d.ts +64 -0
- package/dist/components/GlossaryTooltip/index.js +6 -0
- package/dist/components/GlossaryTooltip/index.js.map +1 -0
- package/dist/components/Markdown/index.cjs +15 -15
- package/dist/components/Markdown/index.js +3 -3
- package/dist/components/SuperChat/index.cjs +1 -1
- package/dist/components/SuperChat/index.js +1 -1
- package/dist/datavis.cjs +1 -1
- package/dist/datavis.js +1 -1
- package/dist/esheet.cjs +6 -6
- package/dist/esheet.js +3 -3
- package/dist/index.cjs +326 -316
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +37 -35
- 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 +1 -1
- package/dist/chunk-WBTCOX5T.js.map +0 -1
- package/dist/chunk-X5FQ2LFF.cjs.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
|
|
5
|
+
declare const accordionVariants: (props?: ({
|
|
6
|
+
variant?: "separated" | "joined" | null | undefined;
|
|
7
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
|
+
interface AccordionItem {
|
|
9
|
+
/** Stable id used for open state and aria wiring. */
|
|
10
|
+
id: string;
|
|
11
|
+
/** Header label (e.g. an FAQ question). */
|
|
12
|
+
title: React.ReactNode;
|
|
13
|
+
/** Panel content (e.g. the answer). */
|
|
14
|
+
content: React.ReactNode;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
}
|
|
17
|
+
interface AccordionProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'>, VariantProps<typeof accordionVariants> {
|
|
18
|
+
items: AccordionItem[];
|
|
19
|
+
/** `single` keeps at most one panel open; `multiple` allows any number. */
|
|
20
|
+
type?: 'single' | 'multiple';
|
|
21
|
+
/** Ids open initially (uncontrolled). */
|
|
22
|
+
defaultOpenIds?: string[];
|
|
23
|
+
/** Controlled open ids. Changes reported via `onOpenChange`. */
|
|
24
|
+
openIds?: string[];
|
|
25
|
+
onOpenChange?: (openIds: string[]) => void;
|
|
26
|
+
/** In `single` mode, allow closing the open panel (default true). */
|
|
27
|
+
collapsible?: boolean;
|
|
28
|
+
/** Heading level wrapping each trigger for document outline (default h3). */
|
|
29
|
+
headingLevel?: 'h2' | 'h3' | 'h4';
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* A vertically stacked set of expandable panels — FAQ lists, settings
|
|
33
|
+
* groups, progressive disclosure. Panels animate open to their natural
|
|
34
|
+
* height (CSS grid rows, no max-height clipping), and headers are real
|
|
35
|
+
* buttons inside headings with full `aria-expanded`/`aria-controls` wiring.
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* ```tsx
|
|
39
|
+
* <Accordion
|
|
40
|
+
* type="single"
|
|
41
|
+
* items={[
|
|
42
|
+
* { id: 'pricing', title: 'How is pricing calculated?', content: <p>…</p> },
|
|
43
|
+
* { id: 'billing', title: 'When am I billed?', content: <p>…</p> },
|
|
44
|
+
* ]}
|
|
45
|
+
* />
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
48
|
+
declare const Accordion: React.ForwardRefExoticComponent<AccordionProps & React.RefAttributes<HTMLDivElement>>;
|
|
49
|
+
|
|
50
|
+
export { Accordion, type AccordionItem, type AccordionProps };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
|
|
5
|
+
declare const accordionVariants: (props?: ({
|
|
6
|
+
variant?: "separated" | "joined" | null | undefined;
|
|
7
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
|
+
interface AccordionItem {
|
|
9
|
+
/** Stable id used for open state and aria wiring. */
|
|
10
|
+
id: string;
|
|
11
|
+
/** Header label (e.g. an FAQ question). */
|
|
12
|
+
title: React.ReactNode;
|
|
13
|
+
/** Panel content (e.g. the answer). */
|
|
14
|
+
content: React.ReactNode;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
}
|
|
17
|
+
interface AccordionProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'>, VariantProps<typeof accordionVariants> {
|
|
18
|
+
items: AccordionItem[];
|
|
19
|
+
/** `single` keeps at most one panel open; `multiple` allows any number. */
|
|
20
|
+
type?: 'single' | 'multiple';
|
|
21
|
+
/** Ids open initially (uncontrolled). */
|
|
22
|
+
defaultOpenIds?: string[];
|
|
23
|
+
/** Controlled open ids. Changes reported via `onOpenChange`. */
|
|
24
|
+
openIds?: string[];
|
|
25
|
+
onOpenChange?: (openIds: string[]) => void;
|
|
26
|
+
/** In `single` mode, allow closing the open panel (default true). */
|
|
27
|
+
collapsible?: boolean;
|
|
28
|
+
/** Heading level wrapping each trigger for document outline (default h3). */
|
|
29
|
+
headingLevel?: 'h2' | 'h3' | 'h4';
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* A vertically stacked set of expandable panels — FAQ lists, settings
|
|
33
|
+
* groups, progressive disclosure. Panels animate open to their natural
|
|
34
|
+
* height (CSS grid rows, no max-height clipping), and headers are real
|
|
35
|
+
* buttons inside headings with full `aria-expanded`/`aria-controls` wiring.
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* ```tsx
|
|
39
|
+
* <Accordion
|
|
40
|
+
* type="single"
|
|
41
|
+
* items={[
|
|
42
|
+
* { id: 'pricing', title: 'How is pricing calculated?', content: <p>…</p> },
|
|
43
|
+
* { id: 'billing', title: 'When am I billed?', content: <p>…</p> },
|
|
44
|
+
* ]}
|
|
45
|
+
* />
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
48
|
+
declare const Accordion: React.ForwardRefExoticComponent<AccordionProps & React.RefAttributes<HTMLDivElement>>;
|
|
49
|
+
|
|
50
|
+
export { Accordion, type AccordionItem, type AccordionProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-PLMXN23Q.cjs');
|
|
3
|
+
var chunkIOJVAPPC_cjs = require('../../chunk-IOJVAPPC.cjs');
|
|
5
4
|
require('../../chunk-RS5VA6QU.cjs');
|
|
5
|
+
require('../../chunk-PLMXN23Q.cjs');
|
|
6
6
|
require('../../chunk-RDGRKYQ5.cjs');
|
|
7
7
|
require('../../chunk-NNEFAUHV.cjs');
|
|
8
8
|
require('../../chunk-FHY3K6PL.cjs');
|
|
@@ -13,31 +13,31 @@ require('../../chunk-SCV7C55E.cjs');
|
|
|
13
13
|
|
|
14
14
|
Object.defineProperty(exports, "CustomizableDashboard", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkIOJVAPPC_cjs.CustomizableDashboard; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "DashboardCustomizePanel", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkIOJVAPPC_cjs.DashboardCustomizePanel; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "consolidateColumns", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkIOJVAPPC_cjs.consolidateColumns; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "mergeColumnOrder", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkIOJVAPPC_cjs.mergeColumnOrder; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "moveAcrossColumns", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkIOJVAPPC_cjs.moveAcrossColumns; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "reorderOnDrop", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkIOJVAPPC_cjs.reorderOnDrop; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "requiredColumns", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkIOJVAPPC_cjs.requiredColumns; }
|
|
41
41
|
});
|
|
42
42
|
//# sourceMappingURL=index.cjs.map
|
|
43
43
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { CustomizableDashboard, DashboardCustomizePanel, consolidateColumns, mergeColumnOrder, moveAcrossColumns, reorderOnDrop, requiredColumns } from '../../chunk-
|
|
2
|
-
import '../../chunk-AQ564XO7.js';
|
|
1
|
+
export { CustomizableDashboard, DashboardCustomizePanel, consolidateColumns, mergeColumnOrder, moveAcrossColumns, reorderOnDrop, requiredColumns } from '../../chunk-DWVJ3WQO.js';
|
|
3
2
|
import '../../chunk-LMBXJZLG.js';
|
|
3
|
+
import '../../chunk-AQ564XO7.js';
|
|
4
4
|
import '../../chunk-D2GID3YK.js';
|
|
5
5
|
import '../../chunk-4SMSH4OY.js';
|
|
6
6
|
import '../../chunk-T4ME7QCT.js';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk7L7OPISJ_cjs = require('../../chunk-7L7OPISJ.cjs');
|
|
4
|
+
require('../../chunk-FHY3K6PL.cjs');
|
|
5
|
+
require('../../chunk-MYFZYUPR.cjs');
|
|
6
|
+
require('../../chunk-S5RVSXDV.cjs');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Object.defineProperty(exports, "GlossaryTooltip", {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () { return chunk7L7OPISJ_cjs.GlossaryTooltip; }
|
|
13
|
+
});
|
|
14
|
+
//# sourceMappingURL=index.cjs.map
|
|
15
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
|
|
4
|
+
/** Authoritative source link shown in the card footer. */
|
|
5
|
+
interface GlossarySource {
|
|
6
|
+
label: string;
|
|
7
|
+
url: string;
|
|
8
|
+
}
|
|
9
|
+
/** Sibling term shown as a lateral "hop" chip. */
|
|
10
|
+
interface GlossaryRelatedTerm {
|
|
11
|
+
term: string;
|
|
12
|
+
href?: string;
|
|
13
|
+
}
|
|
14
|
+
interface GlossaryTooltipProps {
|
|
15
|
+
/** Visible, in-flow trigger text (may be a plural or abbreviation match). */
|
|
16
|
+
children: React.ReactNode;
|
|
17
|
+
/** Canonical term name, shown as the card heading. */
|
|
18
|
+
term: string;
|
|
19
|
+
definition: string;
|
|
20
|
+
/** Human-readable category label, shown as a badge in the header. */
|
|
21
|
+
category?: string;
|
|
22
|
+
/** Optional single key fact, shown with a diamond marker. */
|
|
23
|
+
keyFact?: string;
|
|
24
|
+
/** Optional authoritative source link, shown in the footer. */
|
|
25
|
+
source?: GlossarySource;
|
|
26
|
+
/** Optional sibling terms, shown as chips. */
|
|
27
|
+
related?: GlossaryRelatedTerm[];
|
|
28
|
+
/**
|
|
29
|
+
* Full glossary page for the term. When set, the trigger is a real link —
|
|
30
|
+
* desktop clicks navigate while hover previews; touch taps pin the card.
|
|
31
|
+
*/
|
|
32
|
+
href?: string;
|
|
33
|
+
/** Truncation limit for the in-card definition (default 190 chars). */
|
|
34
|
+
maxDefinitionLength?: number;
|
|
35
|
+
/** Dashed underline marking the term as hoverable (default true). */
|
|
36
|
+
underline?: boolean;
|
|
37
|
+
className?: string;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* A rich "what does this term mean?" hover card: category badge, canonical
|
|
41
|
+
* term, truncated definition, optional key fact, source link, and related
|
|
42
|
+
* term chips. The provenance sibling is `SourceTip` ("what backs this
|
|
43
|
+
* claim?") — the two share the same interaction grammar.
|
|
44
|
+
*
|
|
45
|
+
* Trigger and card are phrasing content (`span`/`a`/`button` only), so it is
|
|
46
|
+
* valid inside `<p>` prose. The card portals to `body` with fixed
|
|
47
|
+
* positioning, flipping and clamping to stay in the viewport. On touch, a
|
|
48
|
+
* tap pins the card instead of navigating; Escape or an outside tap closes.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* ```tsx
|
|
52
|
+
* <GlossaryTooltip
|
|
53
|
+
* term="OSHA recordable"
|
|
54
|
+
* definition="A work-related injury or illness that meets OSHA reporting criteria…"
|
|
55
|
+
* category="Compliance"
|
|
56
|
+
* href="/glossary/osha-recordable"
|
|
57
|
+
* >
|
|
58
|
+
* OSHA recordables
|
|
59
|
+
* </GlossaryTooltip>
|
|
60
|
+
* ```
|
|
61
|
+
*/
|
|
62
|
+
declare function GlossaryTooltip({ children, term, definition, category, keyFact, source, related, href, maxDefinitionLength, underline, className, }: GlossaryTooltipProps): react_jsx_runtime.JSX.Element;
|
|
63
|
+
|
|
64
|
+
export { type GlossaryRelatedTerm, type GlossarySource, GlossaryTooltip, type GlossaryTooltipProps };
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
|
|
4
|
+
/** Authoritative source link shown in the card footer. */
|
|
5
|
+
interface GlossarySource {
|
|
6
|
+
label: string;
|
|
7
|
+
url: string;
|
|
8
|
+
}
|
|
9
|
+
/** Sibling term shown as a lateral "hop" chip. */
|
|
10
|
+
interface GlossaryRelatedTerm {
|
|
11
|
+
term: string;
|
|
12
|
+
href?: string;
|
|
13
|
+
}
|
|
14
|
+
interface GlossaryTooltipProps {
|
|
15
|
+
/** Visible, in-flow trigger text (may be a plural or abbreviation match). */
|
|
16
|
+
children: React.ReactNode;
|
|
17
|
+
/** Canonical term name, shown as the card heading. */
|
|
18
|
+
term: string;
|
|
19
|
+
definition: string;
|
|
20
|
+
/** Human-readable category label, shown as a badge in the header. */
|
|
21
|
+
category?: string;
|
|
22
|
+
/** Optional single key fact, shown with a diamond marker. */
|
|
23
|
+
keyFact?: string;
|
|
24
|
+
/** Optional authoritative source link, shown in the footer. */
|
|
25
|
+
source?: GlossarySource;
|
|
26
|
+
/** Optional sibling terms, shown as chips. */
|
|
27
|
+
related?: GlossaryRelatedTerm[];
|
|
28
|
+
/**
|
|
29
|
+
* Full glossary page for the term. When set, the trigger is a real link —
|
|
30
|
+
* desktop clicks navigate while hover previews; touch taps pin the card.
|
|
31
|
+
*/
|
|
32
|
+
href?: string;
|
|
33
|
+
/** Truncation limit for the in-card definition (default 190 chars). */
|
|
34
|
+
maxDefinitionLength?: number;
|
|
35
|
+
/** Dashed underline marking the term as hoverable (default true). */
|
|
36
|
+
underline?: boolean;
|
|
37
|
+
className?: string;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* A rich "what does this term mean?" hover card: category badge, canonical
|
|
41
|
+
* term, truncated definition, optional key fact, source link, and related
|
|
42
|
+
* term chips. The provenance sibling is `SourceTip` ("what backs this
|
|
43
|
+
* claim?") — the two share the same interaction grammar.
|
|
44
|
+
*
|
|
45
|
+
* Trigger and card are phrasing content (`span`/`a`/`button` only), so it is
|
|
46
|
+
* valid inside `<p>` prose. The card portals to `body` with fixed
|
|
47
|
+
* positioning, flipping and clamping to stay in the viewport. On touch, a
|
|
48
|
+
* tap pins the card instead of navigating; Escape or an outside tap closes.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* ```tsx
|
|
52
|
+
* <GlossaryTooltip
|
|
53
|
+
* term="OSHA recordable"
|
|
54
|
+
* definition="A work-related injury or illness that meets OSHA reporting criteria…"
|
|
55
|
+
* category="Compliance"
|
|
56
|
+
* href="/glossary/osha-recordable"
|
|
57
|
+
* >
|
|
58
|
+
* OSHA recordables
|
|
59
|
+
* </GlossaryTooltip>
|
|
60
|
+
* ```
|
|
61
|
+
*/
|
|
62
|
+
declare function GlossaryTooltip({ children, term, definition, category, keyFact, source, related, href, maxDefinitionLength, underline, className, }: GlossaryTooltipProps): react_jsx_runtime.JSX.Element;
|
|
63
|
+
|
|
64
|
+
export { type GlossaryRelatedTerm, type GlossarySource, GlossaryTooltip, type GlossaryTooltipProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var chunkP3JEMF6E_cjs = require('../../chunk-P3JEMF6E.cjs');
|
|
5
|
-
var chunk4CUFXCC5_cjs = require('../../chunk-4CUFXCC5.cjs');
|
|
3
|
+
var chunkLJBWCUKP_cjs = require('../../chunk-LJBWCUKP.cjs');
|
|
6
4
|
var chunkK4S4FAYX_cjs = require('../../chunk-K4S4FAYX.cjs');
|
|
7
5
|
var chunkFN6VHMLM_cjs = require('../../chunk-FN6VHMLM.cjs');
|
|
6
|
+
var chunkP3JEMF6E_cjs = require('../../chunk-P3JEMF6E.cjs');
|
|
7
|
+
var chunk4CUFXCC5_cjs = require('../../chunk-4CUFXCC5.cjs');
|
|
8
8
|
var chunkYIXTGWT4_cjs = require('../../chunk-YIXTGWT4.cjs');
|
|
9
9
|
require('../../chunk-RDGRKYQ5.cjs');
|
|
10
10
|
require('../../chunk-S5RVSXDV.cjs');
|
|
@@ -13,27 +13,19 @@ require('../../chunk-S5RVSXDV.cjs');
|
|
|
13
13
|
|
|
14
14
|
Object.defineProperty(exports, "CodeBlock", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkLJBWCUKP_cjs.CodeBlock; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "MarkdownRenderer", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkLJBWCUKP_cjs.MarkdownRenderer; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "highlightCode", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkLJBWCUKP_cjs.highlightCode; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "useMarkdown", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
29
|
-
});
|
|
30
|
-
Object.defineProperty(exports, "MermaidBlock", {
|
|
31
|
-
enumerable: true,
|
|
32
|
-
get: function () { return chunkP3JEMF6E_cjs.MermaidBlock; }
|
|
33
|
-
});
|
|
34
|
-
Object.defineProperty(exports, "SurveyBlock", {
|
|
35
|
-
enumerable: true,
|
|
36
|
-
get: function () { return chunk4CUFXCC5_cjs.SurveyBlock; }
|
|
28
|
+
get: function () { return chunkLJBWCUKP_cjs.useMarkdown; }
|
|
37
29
|
});
|
|
38
30
|
Object.defineProperty(exports, "CsvBlock", {
|
|
39
31
|
enumerable: true,
|
|
@@ -43,6 +35,14 @@ Object.defineProperty(exports, "HtmlPreviewBlock", {
|
|
|
43
35
|
enumerable: true,
|
|
44
36
|
get: function () { return chunkFN6VHMLM_cjs.HtmlPreviewBlock; }
|
|
45
37
|
});
|
|
38
|
+
Object.defineProperty(exports, "MermaidBlock", {
|
|
39
|
+
enumerable: true,
|
|
40
|
+
get: function () { return chunkP3JEMF6E_cjs.MermaidBlock; }
|
|
41
|
+
});
|
|
42
|
+
Object.defineProperty(exports, "SurveyBlock", {
|
|
43
|
+
enumerable: true,
|
|
44
|
+
get: function () { return chunk4CUFXCC5_cjs.SurveyBlock; }
|
|
45
|
+
});
|
|
46
46
|
Object.defineProperty(exports, "FenceBlock", {
|
|
47
47
|
enumerable: true,
|
|
48
48
|
get: function () { return chunkYIXTGWT4_cjs.FenceBlock; }
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { CodeBlock, MarkdownRenderer, highlightCode, useMarkdown } from '../../chunk-
|
|
2
|
-
export { MermaidBlock } from '../../chunk-EHQ77LL5.js';
|
|
3
|
-
export { SurveyBlock } from '../../chunk-DWCYEPTT.js';
|
|
1
|
+
export { CodeBlock, MarkdownRenderer, highlightCode, useMarkdown } from '../../chunk-Z4PECE5S.js';
|
|
4
2
|
export { CsvBlock } from '../../chunk-5J5PEUUA.js';
|
|
5
3
|
export { HtmlPreviewBlock } from '../../chunk-UZ5NGGMI.js';
|
|
4
|
+
export { MermaidBlock } from '../../chunk-EHQ77LL5.js';
|
|
5
|
+
export { SurveyBlock } from '../../chunk-DWCYEPTT.js';
|
|
6
6
|
export { FenceBlock } from '../../chunk-NLBT5O2X.js';
|
|
7
7
|
import '../../chunk-D2GID3YK.js';
|
|
8
8
|
import '../../chunk-TQONQSJO.js';
|
|
@@ -4,9 +4,9 @@ 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
6
|
var chunkBOW7ZGI2_cjs = require('../../chunk-BOW7ZGI2.cjs');
|
|
7
|
+
require('../../chunk-VBWRH4UW.cjs');
|
|
7
8
|
require('../../chunk-ZZJ4ZVYR.cjs');
|
|
8
9
|
var chunkU3JU6BI5_cjs = require('../../chunk-U3JU6BI5.cjs');
|
|
9
|
-
require('../../chunk-VBWRH4UW.cjs');
|
|
10
10
|
require('../../chunk-I44YNYI6.cjs');
|
|
11
11
|
require('../../chunk-Z5S5JEJD.cjs');
|
|
12
12
|
var chunkYVL3XATO_cjs = require('../../chunk-YVL3XATO.cjs');
|
|
@@ -3,9 +3,9 @@ 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
5
|
import { Dropdown, DropdownItem } from '../../chunk-LZU7YBXG.js';
|
|
6
|
+
import '../../chunk-IQ4KQJAO.js';
|
|
6
7
|
import '../../chunk-XO3WLK65.js';
|
|
7
8
|
import { Avatar } from '../../chunk-DCBMTFLE.js';
|
|
8
|
-
import '../../chunk-IQ4KQJAO.js';
|
|
9
9
|
import '../../chunk-6NZXWKUE.js';
|
|
10
10
|
import '../../chunk-3IMM2PM4.js';
|
|
11
11
|
import { Badge } from '../../chunk-BMSG4NBH.js';
|
package/dist/datavis.cjs
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
var chunkVJOVJTFP_cjs = require('./chunk-VJOVJTFP.cjs');
|
|
4
4
|
var chunkRI56YPED_cjs = require('./chunk-RI56YPED.cjs');
|
|
5
|
-
var chunkRDGRKYQ5_cjs = require('./chunk-RDGRKYQ5.cjs');
|
|
6
5
|
var chunkYVL3XATO_cjs = require('./chunk-YVL3XATO.cjs');
|
|
6
|
+
var chunkRDGRKYQ5_cjs = require('./chunk-RDGRKYQ5.cjs');
|
|
7
7
|
var chunkS5RVSXDV_cjs = require('./chunk-S5RVSXDV.cjs');
|
|
8
8
|
var React = require('react');
|
|
9
9
|
var jsxRuntime = require('react/jsx-runtime');
|
package/dist/datavis.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DataVisNitroContext, DataVisNitroSource, DataVisNitroGrid } from './chunk-YBLIDESO.js';
|
|
2
2
|
export { DataVisNitroContext, DataVisNitroGraph, DataVisNitroGrid, DataVisNitroSource } from './chunk-YBLIDESO.js';
|
|
3
3
|
import { buildChartOrderRows, buildEncounterOrderRows } from './chunk-Y5KEFV5O.js';
|
|
4
|
-
import { Button } from './chunk-D2GID3YK.js';
|
|
5
4
|
import { Badge } from './chunk-BMSG4NBH.js';
|
|
5
|
+
import { Button } from './chunk-D2GID3YK.js';
|
|
6
6
|
import { cn } from './chunk-TQONQSJO.js';
|
|
7
7
|
import * as React from 'react';
|
|
8
8
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
package/dist/esheet.cjs
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkWALAUOQB_cjs = require('./chunk-WALAUOQB.cjs');
|
|
4
4
|
require('./chunk-BSDBI6H7.cjs');
|
|
5
5
|
require('./chunk-WWJIW2IH.cjs');
|
|
6
6
|
require('./chunk-G7EQ3JPX.cjs');
|
|
7
|
+
require('./chunk-56QJHQ5C.cjs');
|
|
7
8
|
require('./chunk-U5TTXN45.cjs');
|
|
8
9
|
require('./chunk-AIJAFPGJ.cjs');
|
|
9
|
-
require('./chunk-56QJHQ5C.cjs');
|
|
10
10
|
require('./chunk-MJWFNV3L.cjs');
|
|
11
11
|
require('./chunk-P2VTQ5AR.cjs');
|
|
12
12
|
require('./chunk-I44YNYI6.cjs');
|
|
13
13
|
require('./chunk-Z5S5JEJD.cjs');
|
|
14
14
|
require('./chunk-PAM5UUBL.cjs');
|
|
15
|
-
require('./chunk-RDGRKYQ5.cjs');
|
|
16
15
|
require('./chunk-YVL3XATO.cjs');
|
|
16
|
+
require('./chunk-RDGRKYQ5.cjs');
|
|
17
17
|
require('./chunk-YVPC65ZJ.cjs');
|
|
18
18
|
require('./chunk-6HFFWEM3.cjs');
|
|
19
19
|
require('./chunk-NNEFAUHV.cjs');
|
|
@@ -78,7 +78,7 @@ function MedicationListField({
|
|
|
78
78
|
return definition.medications ?? [];
|
|
79
79
|
}, [response?.answer, definition.medications]);
|
|
80
80
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
81
|
-
|
|
81
|
+
chunkWALAUOQB_cjs.MedicationReconciliation,
|
|
82
82
|
{
|
|
83
83
|
medications,
|
|
84
84
|
onChange: (next) => onResponse({ answer: JSON.stringify({ medications: next }) }),
|
|
@@ -135,7 +135,7 @@ function AllergyListField({
|
|
|
135
135
|
codeLookup
|
|
136
136
|
}) {
|
|
137
137
|
const definition = field.definition;
|
|
138
|
-
const ambientCodeLookup =
|
|
138
|
+
const ambientCodeLookup = chunkWALAUOQB_cjs.useCodeLookupConfig();
|
|
139
139
|
const effectiveCodeLookup = codeLookup === false ? void 0 : codeLookup ?? ambientCodeLookup ?? void 0;
|
|
140
140
|
const value = React__namespace.useMemo(() => {
|
|
141
141
|
if (response?.answer) return parseValue2(response.answer);
|
|
@@ -145,7 +145,7 @@ function AllergyListField({
|
|
|
145
145
|
onResponse({ answer: JSON.stringify(next) });
|
|
146
146
|
};
|
|
147
147
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
148
|
-
|
|
148
|
+
chunkWALAUOQB_cjs.AllergyManager,
|
|
149
149
|
{
|
|
150
150
|
allergies: value.allergies,
|
|
151
151
|
onChange: (allergies) => commit({
|
package/dist/esheet.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { MedicationReconciliation, useCodeLookupConfig, AllergyManager } from './chunk-
|
|
1
|
+
import { MedicationReconciliation, useCodeLookupConfig, AllergyManager } from './chunk-GEG6G7OF.js';
|
|
2
2
|
import './chunk-H3YO5GBM.js';
|
|
3
3
|
import './chunk-FJ7YPVKV.js';
|
|
4
4
|
import './chunk-EPSB4WTL.js';
|
|
5
|
+
import './chunk-XBKOZRDO.js';
|
|
5
6
|
import './chunk-IILJGFI5.js';
|
|
6
7
|
import './chunk-I3WGZPI6.js';
|
|
7
|
-
import './chunk-XBKOZRDO.js';
|
|
8
8
|
import './chunk-QYSUYB3S.js';
|
|
9
9
|
import './chunk-XMCIXHGH.js';
|
|
10
10
|
import './chunk-6NZXWKUE.js';
|
|
11
11
|
import './chunk-3IMM2PM4.js';
|
|
12
12
|
import './chunk-3PXOIAF6.js';
|
|
13
|
-
import './chunk-D2GID3YK.js';
|
|
14
13
|
import './chunk-BMSG4NBH.js';
|
|
14
|
+
import './chunk-D2GID3YK.js';
|
|
15
15
|
import './chunk-7ZVTLTJF.js';
|
|
16
16
|
import './chunk-HB7C7NB5.js';
|
|
17
17
|
import './chunk-4SMSH4OY.js';
|