@mieweb/ui 0.7.1-dev.9 → 0.7.2-dev.0
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/ag-grid.cjs +5 -5
- package/dist/ag-grid.js +1 -1
- package/dist/{chunk-XCVBCY7L.cjs → chunk-26DPQUSB.cjs} +4 -4
- package/dist/{chunk-XCVBCY7L.cjs.map → chunk-26DPQUSB.cjs.map} +1 -1
- package/dist/{chunk-YTLTI5Q2.js → chunk-3D4ITDLO.js} +3 -3
- package/dist/{chunk-YTLTI5Q2.js.map → chunk-3D4ITDLO.js.map} +1 -1
- package/dist/{chunk-KZ7QKUJS.cjs → chunk-3IAA3KCE.cjs} +13 -4
- package/dist/chunk-3IAA3KCE.cjs.map +1 -0
- package/dist/chunk-3PXOIAF6.js +3 -0
- package/dist/{chunk-DHKYGVP7.js.map → chunk-3PXOIAF6.js.map} +1 -1
- package/dist/{chunk-7OIUA7PW.js → chunk-3SRBIXQX.js} +9 -9
- package/dist/{chunk-7OIUA7PW.js.map → chunk-3SRBIXQX.js.map} +1 -1
- package/dist/{chunk-7V6SUOBV.js → chunk-3YSIZ2CK.js} +13 -4
- package/dist/chunk-3YSIZ2CK.js.map +1 -0
- package/dist/{chunk-3OME4UHL.cjs → chunk-54OW6ZPL.cjs} +99 -3
- package/dist/chunk-54OW6ZPL.cjs.map +1 -0
- package/dist/{chunk-IVDIT3TJ.js → chunk-5BDCQBYW.js} +3 -3
- package/dist/{chunk-IVDIT3TJ.js.map → chunk-5BDCQBYW.js.map} +1 -1
- package/dist/{chunk-5PHGIWDN.cjs → chunk-6ECKH4DJ.cjs} +3 -3
- package/dist/{chunk-5PHGIWDN.cjs.map → chunk-6ECKH4DJ.cjs.map} +1 -1
- package/dist/{chunk-2GQ7VPCS.cjs → chunk-6J7UGYT5.cjs} +6 -6
- package/dist/{chunk-2GQ7VPCS.cjs.map → chunk-6J7UGYT5.cjs.map} +1 -1
- package/dist/{chunk-HIAUNNOW.cjs → chunk-AIJAFPGJ.cjs} +3 -3
- package/dist/{chunk-HIAUNNOW.cjs.map → chunk-AIJAFPGJ.cjs.map} +1 -1
- package/dist/{chunk-BS5NOKZD.js → chunk-AQ564XO7.js} +5 -5
- package/dist/chunk-AQ564XO7.js.map +1 -0
- package/dist/{chunk-JJNCQMR5.js → chunk-BMRQ4VME.js} +3 -3
- package/dist/{chunk-JJNCQMR5.js.map → chunk-BMRQ4VME.js.map} +1 -1
- package/dist/{chunk-REPZI2YO.js → chunk-BMSG4NBH.js} +3 -3
- package/dist/{chunk-REPZI2YO.js.map → chunk-BMSG4NBH.js.map} +1 -1
- package/dist/{chunk-QA6ZDHFP.js → chunk-BOOJDRJO.js} +35 -11
- package/dist/chunk-BOOJDRJO.js.map +1 -0
- package/dist/{chunk-34LGPMO4.js → chunk-DLBV42JD.js} +3 -3
- package/dist/{chunk-34LGPMO4.js.map → chunk-DLBV42JD.js.map} +1 -1
- package/dist/{chunk-2YDKLURF.js → chunk-DWIF6VXZ.js} +99 -3
- package/dist/chunk-DWIF6VXZ.js.map +1 -0
- package/dist/{chunk-KQGGKE36.js → chunk-EGWWTIWS.js} +118 -74
- package/dist/chunk-EGWWTIWS.js.map +1 -0
- package/dist/{chunk-IXWRD4AP.js → chunk-EKRT7K2K.js} +3 -3
- package/dist/{chunk-IXWRD4AP.js.map → chunk-EKRT7K2K.js.map} +1 -1
- package/dist/{chunk-MHD5HZ4X.js → chunk-FDV7EQWH.js} +3 -3
- package/dist/{chunk-MHD5HZ4X.js.map → chunk-FDV7EQWH.js.map} +1 -1
- package/dist/{chunk-STCRP652.cjs → chunk-FKLUSYFP.cjs} +4 -4
- package/dist/{chunk-STCRP652.cjs.map → chunk-FKLUSYFP.cjs.map} +1 -1
- package/dist/{chunk-DKICBJTM.js → chunk-HIDV32ZX.js} +4 -4
- package/dist/{chunk-DKICBJTM.js.map → chunk-HIDV32ZX.js.map} +1 -1
- package/dist/{chunk-XPNKDFRL.js → chunk-I3WGZPI6.js} +3 -3
- package/dist/{chunk-XPNKDFRL.js.map → chunk-I3WGZPI6.js.map} +1 -1
- package/dist/{chunk-62TFTZWT.cjs → chunk-IJYTASQQ.cjs} +5 -5
- package/dist/{chunk-62TFTZWT.cjs.map → chunk-IJYTASQQ.cjs.map} +1 -1
- package/dist/{chunk-SAJSA4TS.js → chunk-LMBXJZLG.js} +8 -4
- package/dist/chunk-LMBXJZLG.js.map +1 -0
- package/dist/{chunk-CPUDOVWH.cjs → chunk-MJWFNV3L.cjs} +12 -8
- package/dist/chunk-MJWFNV3L.cjs.map +1 -0
- package/dist/{chunk-ZDEYV373.cjs → chunk-MYFZYUPR.cjs} +35 -11
- package/dist/chunk-MYFZYUPR.cjs.map +1 -0
- package/dist/{chunk-QNUPTRW7.js → chunk-NGLI2MSM.js} +24 -14
- package/dist/chunk-NGLI2MSM.js.map +1 -0
- package/dist/{chunk-PGETZ2FP.cjs → chunk-OAHORW4N.cjs} +120 -76
- package/dist/chunk-OAHORW4N.cjs.map +1 -0
- package/dist/{chunk-G45PAVQI.js → chunk-P6L74SKG.js} +4 -4
- package/dist/{chunk-G45PAVQI.js.map → chunk-P6L74SKG.js.map} +1 -1
- package/dist/chunk-PAM5UUBL.cjs +740 -0
- package/dist/{chunk-UTYUT5YY.cjs.map → chunk-PAM5UUBL.cjs.map} +1 -1
- package/dist/{chunk-JY4U2QWO.cjs → chunk-PLMXN23Q.cjs} +5 -5
- package/dist/chunk-PLMXN23Q.cjs.map +1 -0
- package/dist/{chunk-PNJAFZDC.cjs → chunk-Q5VBO3I5.cjs} +30 -20
- package/dist/chunk-Q5VBO3I5.cjs.map +1 -0
- package/dist/{chunk-XD6GRTH2.cjs → chunk-QI2SB6U3.cjs} +7 -7
- package/dist/{chunk-XD6GRTH2.cjs.map → chunk-QI2SB6U3.cjs.map} +1 -1
- package/dist/{chunk-6XGESZ4S.js → chunk-QYSUYB3S.js} +12 -8
- package/dist/chunk-QYSUYB3S.js.map +1 -0
- package/dist/{chunk-Y5F2OASC.cjs → chunk-RBS3GHDZ.cjs} +6 -6
- package/dist/{chunk-Y5F2OASC.cjs.map → chunk-RBS3GHDZ.cjs.map} +1 -1
- package/dist/{chunk-NGPEXCC7.cjs → chunk-RS5VA6QU.cjs} +8 -4
- package/dist/chunk-RS5VA6QU.cjs.map +1 -0
- package/dist/{chunk-YXHX2DAK.cjs → chunk-RYQ3S3KO.cjs} +5 -5
- package/dist/{chunk-YXHX2DAK.cjs.map → chunk-RYQ3S3KO.cjs.map} +1 -1
- package/dist/{chunk-QKKYMNR2.js → chunk-RZJXCI53.js} +189 -202
- package/dist/chunk-RZJXCI53.js.map +1 -0
- package/dist/{chunk-ET5JGGVL.js → chunk-TNUL4LGG.js} +5 -5
- package/dist/{chunk-ET5JGGVL.js.map → chunk-TNUL4LGG.js.map} +1 -1
- package/dist/{chunk-C2NNNOSU.cjs → chunk-VVI32P7L.cjs} +4 -4
- package/dist/{chunk-C2NNNOSU.cjs.map → chunk-VVI32P7L.cjs.map} +1 -1
- package/dist/{chunk-X732DPW4.cjs → chunk-VWCMOWGH.cjs} +77 -77
- package/dist/{chunk-X732DPW4.cjs.map → chunk-VWCMOWGH.cjs.map} +1 -1
- package/dist/{chunk-HEV52I7A.cjs → chunk-XS35KPBZ.cjs} +190 -202
- package/dist/chunk-XS35KPBZ.cjs.map +1 -0
- package/dist/{chunk-EFEKAPS2.cjs → chunk-YVL3XATO.cjs} +3 -3
- package/dist/{chunk-EFEKAPS2.cjs.map → chunk-YVL3XATO.cjs.map} +1 -1
- package/dist/{chunk-EJPV3QY3.js → chunk-YXCE2HSK.js} +3 -3
- package/dist/{chunk-EJPV3QY3.js.map → chunk-YXCE2HSK.js.map} +1 -1
- package/dist/{chunk-OJEXXH5D.cjs → chunk-ZBI52NP2.cjs} +4 -4
- package/dist/{chunk-OJEXXH5D.cjs.map → chunk-ZBI52NP2.cjs.map} +1 -1
- package/dist/components/Autocomplete/index.cjs +4 -4
- package/dist/components/Autocomplete/index.js +3 -3
- package/dist/components/Badge/index.cjs +3 -3
- package/dist/components/Badge/index.js +1 -1
- package/dist/components/Card/index.cjs +15 -15
- package/dist/components/Card/index.d.cts +8 -3
- package/dist/components/Card/index.d.ts +8 -3
- package/dist/components/Card/index.js +1 -1
- package/dist/components/CountryCodeDropdown/index.cjs +5 -5
- package/dist/components/CountryCodeDropdown/index.js +2 -2
- package/dist/components/DateInput/index.cjs +4 -4
- package/dist/components/DateInput/index.d.cts +3 -1
- package/dist/components/DateInput/index.d.ts +3 -1
- package/dist/components/DateInput/index.js +3 -3
- package/dist/components/Dropdown/index.cjs +9 -9
- package/dist/components/Dropdown/index.d.cts +1 -1
- package/dist/components/Dropdown/index.d.ts +1 -1
- package/dist/components/Dropdown/index.js +3 -3
- package/dist/components/Input/index.cjs +3 -3
- package/dist/components/Input/index.js +1 -1
- package/dist/components/Label/index.cjs +3 -3
- package/dist/components/Label/index.js +1 -1
- package/dist/components/MediaEditor/index.cjs +9 -9
- package/dist/components/MediaEditor/index.js +4 -4
- package/dist/components/PhoneInput/index.cjs +4 -4
- package/dist/components/PhoneInput/index.js +2 -2
- package/dist/components/RichTextEditor/index.cjs +7 -7
- package/dist/components/RichTextEditor/index.js +4 -4
- package/dist/components/Select/index.cjs +4 -4
- package/dist/components/Select/index.js +2 -2
- package/dist/components/Sheet/index.cjs +10 -10
- package/dist/components/Sheet/index.d.cts +1 -1
- package/dist/components/Sheet/index.d.ts +1 -1
- package/dist/components/Sheet/index.js +1 -1
- package/dist/components/SuperChat/index.cjs +17 -17
- package/dist/components/SuperChat/index.d.cts +4 -4
- package/dist/components/SuperChat/index.d.ts +4 -4
- package/dist/components/SuperChat/index.js +6 -6
- package/dist/components/SuperChat/plugins/index.cjs +4 -4
- package/dist/components/SuperChat/plugins/index.d.cts +3 -3
- package/dist/components/SuperChat/plugins/index.d.ts +3 -3
- package/dist/components/SuperChat/plugins/index.js +3 -3
- package/dist/components/Switch/index.cjs +4 -4
- package/dist/components/Switch/index.js +1 -1
- package/dist/components/Table/index.cjs +9 -9
- package/dist/components/Table/index.js +1 -1
- package/dist/components/Text/index.cjs +4 -4
- package/dist/components/Text/index.d.cts +1 -1
- package/dist/components/Text/index.d.ts +1 -1
- package/dist/components/Text/index.js +1 -1
- package/dist/datavis.cjs +2 -2
- package/dist/datavis.js +1 -1
- package/dist/esheet.cjs +12 -12
- package/dist/esheet.js +9 -9
- package/dist/hooks/index.cjs +2 -2
- package/dist/hooks/index.d.cts +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/index.cjs +2294 -776
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +104 -17
- package/dist/index.d.ts +104 -17
- package/dist/index.js +860 -67
- 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/dist/{types-BYnLjEFg.d.cts → types-B2RLmdVd.d.cts} +3 -1
- package/dist/{types-BYnLjEFg.d.ts → types-B2RLmdVd.d.ts} +3 -1
- package/dist/{types-CyCwYBlr.d.ts → types-BoTeTPdH.d.ts} +1 -1
- package/dist/{types-CBh8Zlje.d.cts → types-DyIB9HYT.d.cts} +1 -1
- package/dist/{useAnchoredPosition-nXdSFKHf.d.ts → useAnchoredPosition-C7PNglzD.d.cts} +6 -2
- package/dist/{useAnchoredPosition-nXdSFKHf.d.cts → useAnchoredPosition-C7PNglzD.d.ts} +6 -2
- package/package.json +6 -6
- package/dist/chunk-2YDKLURF.js.map +0 -1
- package/dist/chunk-3OME4UHL.cjs.map +0 -1
- package/dist/chunk-6XGESZ4S.js.map +0 -1
- package/dist/chunk-7V6SUOBV.js.map +0 -1
- package/dist/chunk-BS5NOKZD.js.map +0 -1
- package/dist/chunk-CPUDOVWH.cjs.map +0 -1
- package/dist/chunk-DHKYGVP7.js +0 -3
- package/dist/chunk-HEV52I7A.cjs.map +0 -1
- package/dist/chunk-JY4U2QWO.cjs.map +0 -1
- package/dist/chunk-KQGGKE36.js.map +0 -1
- package/dist/chunk-KZ7QKUJS.cjs.map +0 -1
- package/dist/chunk-NGPEXCC7.cjs.map +0 -1
- package/dist/chunk-PGETZ2FP.cjs.map +0 -1
- package/dist/chunk-PNJAFZDC.cjs.map +0 -1
- package/dist/chunk-QA6ZDHFP.js.map +0 -1
- package/dist/chunk-QKKYMNR2.js.map +0 -1
- package/dist/chunk-QNUPTRW7.js.map +0 -1
- package/dist/chunk-SAJSA4TS.js.map +0 -1
- package/dist/chunk-UTYUT5YY.cjs +0 -240
- package/dist/chunk-ZDEYV373.cjs.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkRS5VA6QU_cjs = require('../../chunk-RS5VA6QU.cjs');
|
|
4
4
|
require('../../chunk-NNEFAUHV.cjs');
|
|
5
5
|
require('../../chunk-FHY3K6PL.cjs');
|
|
6
6
|
require('../../chunk-S5RVSXDV.cjs');
|
|
@@ -10,39 +10,39 @@ require('../../chunk-SCV7C55E.cjs');
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "Sheet", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkRS5VA6QU_cjs.Sheet; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "SheetBody", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkRS5VA6QU_cjs.SheetBody; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "SheetClose", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkRS5VA6QU_cjs.SheetClose; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "SheetDescription", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkRS5VA6QU_cjs.SheetDescription; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "SheetFooter", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkRS5VA6QU_cjs.SheetFooter; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "SheetHeader", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkRS5VA6QU_cjs.SheetHeader; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "SheetTitle", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkRS5VA6QU_cjs.SheetTitle; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "sheetContentVariants", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkRS5VA6QU_cjs.sheetContentVariants; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "sheetOverlayVariants", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkRS5VA6QU_cjs.sheetOverlayVariants; }
|
|
46
46
|
});
|
|
47
47
|
//# sourceMappingURL=index.cjs.map
|
|
48
48
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -5,7 +5,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
5
5
|
|
|
6
6
|
declare const sheetOverlayVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
7
7
|
declare const sheetContentVariants: (props?: ({
|
|
8
|
-
side?: "left" | "right" | "bottom" | "top" | null | undefined;
|
|
8
|
+
side?: "left" | "start" | "right" | "end" | "bottom" | "top" | null | undefined;
|
|
9
9
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
10
|
interface SheetProps extends VariantProps<typeof sheetContentVariants> {
|
|
11
11
|
/** Whether the sheet is open */
|
|
@@ -5,7 +5,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
5
5
|
|
|
6
6
|
declare const sheetOverlayVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
7
7
|
declare const sheetContentVariants: (props?: ({
|
|
8
|
-
side?: "left" | "right" | "bottom" | "top" | null | undefined;
|
|
8
|
+
side?: "left" | "start" | "right" | "end" | "bottom" | "top" | null | undefined;
|
|
9
9
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
10
|
interface SheetProps extends VariantProps<typeof sheetContentVariants> {
|
|
11
11
|
/** Whether the sheet is open */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Sheet, SheetBody, SheetClose, SheetDescription, SheetFooter, SheetHeader, SheetTitle, sheetContentVariants, sheetOverlayVariants } from '../../chunk-
|
|
1
|
+
export { Sheet, SheetBody, SheetClose, SheetDescription, SheetFooter, SheetHeader, SheetTitle, sheetContentVariants, sheetOverlayVariants } from '../../chunk-LMBXJZLG.js';
|
|
2
2
|
import '../../chunk-4SMSH4OY.js';
|
|
3
3
|
import '../../chunk-T4ME7QCT.js';
|
|
4
4
|
import '../../chunk-TQONQSJO.js';
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkJFLC7SHM_cjs = require('../../chunk-JFLC7SHM.cjs');
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
4
|
+
var chunkXS35KPBZ_cjs = require('../../chunk-XS35KPBZ.cjs');
|
|
5
|
+
var chunk26DPQUSB_cjs = require('../../chunk-26DPQUSB.cjs');
|
|
6
|
+
var chunkRBS3GHDZ_cjs = require('../../chunk-RBS3GHDZ.cjs');
|
|
7
7
|
require('../../chunk-ZZJ4ZVYR.cjs');
|
|
8
8
|
var chunkU3JU6BI5_cjs = require('../../chunk-U3JU6BI5.cjs');
|
|
9
9
|
require('../../chunk-VBWRH4UW.cjs');
|
|
10
|
-
require('../../chunk-
|
|
11
|
-
var
|
|
10
|
+
require('../../chunk-6ECKH4DJ.cjs');
|
|
11
|
+
var chunkYVL3XATO_cjs = require('../../chunk-YVL3XATO.cjs');
|
|
12
12
|
require('../../chunk-FHY3K6PL.cjs');
|
|
13
13
|
require('../../chunk-FSGEDDF2.cjs');
|
|
14
|
-
require('../../chunk-
|
|
14
|
+
require('../../chunk-MYFZYUPR.cjs');
|
|
15
15
|
var chunkS5RVSXDV_cjs = require('../../chunk-S5RVSXDV.cjs');
|
|
16
16
|
var React4 = require('react');
|
|
17
17
|
var Markdown = require('react-markdown');
|
|
@@ -401,7 +401,7 @@ function ParticipantAvatar({
|
|
|
401
401
|
src: participant?.avatar,
|
|
402
402
|
alt: "",
|
|
403
403
|
name: participant?.name ?? "?",
|
|
404
|
-
fallback: isAgent ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
404
|
+
fallback: isAgent ? /* @__PURE__ */ jsxRuntime.jsx(chunkXS35KPBZ_cjs.SparklesIcon, { size: "sm" }) : void 0,
|
|
405
405
|
style: { backgroundColor },
|
|
406
406
|
"aria-hidden": "true",
|
|
407
407
|
className: "shrink-0"
|
|
@@ -416,7 +416,7 @@ function ReferenceChip({
|
|
|
416
416
|
const href = linkBuilder?.(reference);
|
|
417
417
|
const content = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
418
418
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
419
|
-
|
|
419
|
+
chunkYVL3XATO_cjs.Badge,
|
|
420
420
|
{
|
|
421
421
|
variant: "default",
|
|
422
422
|
size: "sm",
|
|
@@ -537,7 +537,7 @@ function CopyMenu({ isSelf, markdown, getHtml, getText }) {
|
|
|
537
537
|
open ? "z-[60]" : "z-10"
|
|
538
538
|
),
|
|
539
539
|
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
540
|
-
|
|
540
|
+
chunkRBS3GHDZ_cjs.Dropdown,
|
|
541
541
|
{
|
|
542
542
|
open,
|
|
543
543
|
onOpenChange: setOpen,
|
|
@@ -553,18 +553,18 @@ function CopyMenu({ isSelf, markdown, getHtml, getText }) {
|
|
|
553
553
|
}
|
|
554
554
|
),
|
|
555
555
|
children: [
|
|
556
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
556
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkRBS3GHDZ_cjs.DropdownItem, { onClick: () => run(writeBoth), children: /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex flex-col items-start", children: [
|
|
557
557
|
/* @__PURE__ */ jsxRuntime.jsx("span", { children: "Copy" }),
|
|
558
558
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[10px] font-normal text-neutral-400", children: "Rich text + Markdown" })
|
|
559
559
|
] }) }),
|
|
560
560
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
561
|
-
|
|
561
|
+
chunkRBS3GHDZ_cjs.DropdownItem,
|
|
562
562
|
{
|
|
563
563
|
onClick: () => run(() => writeText(markdown || getText())),
|
|
564
564
|
children: "Copy as Markdown"
|
|
565
565
|
}
|
|
566
566
|
),
|
|
567
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
567
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkRBS3GHDZ_cjs.DropdownItem, { onClick: () => run(() => writeText(getText())), children: "Copy as plain text" })
|
|
568
568
|
]
|
|
569
569
|
}
|
|
570
570
|
)
|
|
@@ -758,7 +758,7 @@ ${block.text}
|
|
|
758
758
|
}
|
|
759
759
|
),
|
|
760
760
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
761
|
-
|
|
761
|
+
chunkXS35KPBZ_cjs.ChatBubble,
|
|
762
762
|
{
|
|
763
763
|
ref: bubbleRef,
|
|
764
764
|
"data-slot": "superchat-bubble",
|
|
@@ -821,7 +821,7 @@ ${block.text}
|
|
|
821
821
|
) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
822
822
|
message.content?.map((block, i) => {
|
|
823
823
|
if (block.type === "tool_use" && block.toolCall) {
|
|
824
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
824
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkXS35KPBZ_cjs.MCPToolCallDisplay, { toolCall: block.toolCall }, i);
|
|
825
825
|
}
|
|
826
826
|
if ((block.type === "text" || block.type === "thinking") && block.text) {
|
|
827
827
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -861,7 +861,7 @@ ${block.text}
|
|
|
861
861
|
streaming,
|
|
862
862
|
role: participant?.kind === "human" ? "user" : "assistant"
|
|
863
863
|
}) }),
|
|
864
|
-
streaming && !hasBody && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
864
|
+
streaming && !hasBody && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(chunkXS35KPBZ_cjs.AITypingIndicator, {}) })
|
|
865
865
|
] })
|
|
866
866
|
}
|
|
867
867
|
)
|
|
@@ -1110,7 +1110,7 @@ function SuperChat({
|
|
|
1110
1110
|
onClick: () => onConversationClosed(conversation),
|
|
1111
1111
|
"aria-label": "Close conversation",
|
|
1112
1112
|
className: "rounded-md p-1 text-neutral-400 hover:bg-neutral-100 dark:hover:bg-neutral-800",
|
|
1113
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1113
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(chunkXS35KPBZ_cjs.CloseIcon, {})
|
|
1114
1114
|
}
|
|
1115
1115
|
)
|
|
1116
1116
|
]
|
|
@@ -1166,7 +1166,7 @@ function SuperChat({
|
|
|
1166
1166
|
}
|
|
1167
1167
|
),
|
|
1168
1168
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1169
|
-
|
|
1169
|
+
chunk26DPQUSB_cjs.MessageComposer,
|
|
1170
1170
|
{
|
|
1171
1171
|
onSend: handleComposerSend,
|
|
1172
1172
|
disabled: readOnly,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { S as SuperChatConversation, a as SuperChatRenderPlugin, A as AttachmentKind, b as SuperChatLinkBuilder, C as ComposerAttachment, c as SuperChatRef } from '../../types-
|
|
3
|
-
export { G as GenUIBlockPayload, d as GenUIPrefetchPolicy, e as GenUIRegistry, f as GenUIWidgetEntry, g as GenUIWidgetProps, P as Participant, h as ParticipantKind, i as ParticipantStatus, j as StandardSchemaV1, k as SuperChatChannel, l as SuperChatItemType, m as SuperChatMessage, n as SuperChatPluggable, o as SuperChatPluggableList } from '../../types-
|
|
4
|
-
import { b as AIRenderTextContent } from '../../types-
|
|
5
|
-
export { A as AIMessageContent, a as AIMessageStatus, c as AITextRenderContext, M as MCPResourceLink } from '../../types-
|
|
2
|
+
import { S as SuperChatConversation, a as SuperChatRenderPlugin, A as AttachmentKind, b as SuperChatLinkBuilder, C as ComposerAttachment, c as SuperChatRef } from '../../types-DyIB9HYT.cjs';
|
|
3
|
+
export { G as GenUIBlockPayload, d as GenUIPrefetchPolicy, e as GenUIRegistry, f as GenUIWidgetEntry, g as GenUIWidgetProps, P as Participant, h as ParticipantKind, i as ParticipantStatus, j as StandardSchemaV1, k as SuperChatChannel, l as SuperChatItemType, m as SuperChatMessage, n as SuperChatPluggable, o as SuperChatPluggableList } from '../../types-DyIB9HYT.cjs';
|
|
4
|
+
import { b as AIRenderTextContent } from '../../types-B2RLmdVd.cjs';
|
|
5
|
+
export { A as AIMessageContent, a as AIMessageStatus, c as AITextRenderContext, M as MCPResourceLink } from '../../types-B2RLmdVd.cjs';
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
|
|
8
8
|
interface SuperChatProps {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { S as SuperChatConversation, a as SuperChatRenderPlugin, A as AttachmentKind, b as SuperChatLinkBuilder, C as ComposerAttachment, c as SuperChatRef } from '../../types-
|
|
3
|
-
export { G as GenUIBlockPayload, d as GenUIPrefetchPolicy, e as GenUIRegistry, f as GenUIWidgetEntry, g as GenUIWidgetProps, P as Participant, h as ParticipantKind, i as ParticipantStatus, j as StandardSchemaV1, k as SuperChatChannel, l as SuperChatItemType, m as SuperChatMessage, n as SuperChatPluggable, o as SuperChatPluggableList } from '../../types-
|
|
4
|
-
import { b as AIRenderTextContent } from '../../types-
|
|
5
|
-
export { A as AIMessageContent, a as AIMessageStatus, c as AITextRenderContext, M as MCPResourceLink } from '../../types-
|
|
2
|
+
import { S as SuperChatConversation, a as SuperChatRenderPlugin, A as AttachmentKind, b as SuperChatLinkBuilder, C as ComposerAttachment, c as SuperChatRef } from '../../types-BoTeTPdH.js';
|
|
3
|
+
export { G as GenUIBlockPayload, d as GenUIPrefetchPolicy, e as GenUIRegistry, f as GenUIWidgetEntry, g as GenUIWidgetProps, P as Participant, h as ParticipantKind, i as ParticipantStatus, j as StandardSchemaV1, k as SuperChatChannel, l as SuperChatItemType, m as SuperChatMessage, n as SuperChatPluggable, o as SuperChatPluggableList } from '../../types-BoTeTPdH.js';
|
|
4
|
+
import { b as AIRenderTextContent } from '../../types-B2RLmdVd.js';
|
|
5
|
+
export { A as AIMessageContent, a as AIMessageStatus, c as AITextRenderContext, M as MCPResourceLink } from '../../types-B2RLmdVd.js';
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
|
|
8
8
|
interface SuperChatProps {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { TextRenderContext } from '../../chunk-I6CY5C6A.js';
|
|
2
2
|
export { TextRenderContext, useTextRenderContext } from '../../chunk-I6CY5C6A.js';
|
|
3
|
-
import { ChatBubble, MCPToolCallDisplay, AITypingIndicator, SparklesIcon, CloseIcon } from '../../chunk-
|
|
4
|
-
import { MessageComposer } from '../../chunk-
|
|
5
|
-
import { Dropdown, DropdownItem } from '../../chunk-
|
|
3
|
+
import { ChatBubble, MCPToolCallDisplay, AITypingIndicator, SparklesIcon, CloseIcon } from '../../chunk-RZJXCI53.js';
|
|
4
|
+
import { MessageComposer } from '../../chunk-EKRT7K2K.js';
|
|
5
|
+
import { Dropdown, DropdownItem } from '../../chunk-HIDV32ZX.js';
|
|
6
6
|
import '../../chunk-XO3WLK65.js';
|
|
7
7
|
import { Avatar } from '../../chunk-DCBMTFLE.js';
|
|
8
8
|
import '../../chunk-IQ4KQJAO.js';
|
|
9
|
-
import '../../chunk-
|
|
10
|
-
import { Badge } from '../../chunk-
|
|
9
|
+
import '../../chunk-YXCE2HSK.js';
|
|
10
|
+
import { Badge } from '../../chunk-BMSG4NBH.js';
|
|
11
11
|
import '../../chunk-T4ME7QCT.js';
|
|
12
12
|
import '../../chunk-62ZOA6PX.js';
|
|
13
|
-
import '../../chunk-
|
|
13
|
+
import '../../chunk-BOOJDRJO.js';
|
|
14
14
|
import { cn } from '../../chunk-TQONQSJO.js';
|
|
15
15
|
import * as React4 from 'react';
|
|
16
16
|
import Markdown, { defaultUrlTransform } from 'react-markdown';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkJFLC7SHM_cjs = require('../../../chunk-JFLC7SHM.cjs');
|
|
4
|
-
var
|
|
5
|
-
require('../../../chunk-
|
|
6
|
-
require('../../../chunk-
|
|
4
|
+
var chunkRYQ3S3KO_cjs = require('../../../chunk-RYQ3S3KO.cjs');
|
|
5
|
+
require('../../../chunk-26DPQUSB.cjs');
|
|
6
|
+
require('../../../chunk-MYFZYUPR.cjs');
|
|
7
7
|
var chunkS5RVSXDV_cjs = require('../../../chunk-S5RVSXDV.cjs');
|
|
8
8
|
var React2 = require('react');
|
|
9
9
|
var rehypeHighlight = require('rehype-highlight');
|
|
@@ -625,7 +625,7 @@ function ZoomableImage({
|
|
|
625
625
|
),
|
|
626
626
|
open && typeof document !== "undefined" && reactDom.createPortal(
|
|
627
627
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
628
|
-
|
|
628
|
+
chunkRYQ3S3KO_cjs.LightboxModal,
|
|
629
629
|
{
|
|
630
630
|
attachment,
|
|
631
631
|
onClose: () => setOpen(false)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as SuperChatRenderPlugin, e as GenUIRegistry } from '../../../types-
|
|
2
|
-
export { f as GenUIWidgetEntry, g as GenUIWidgetProps } from '../../../types-
|
|
1
|
+
import { a as SuperChatRenderPlugin, e as GenUIRegistry } from '../../../types-DyIB9HYT.cjs';
|
|
2
|
+
export { f as GenUIWidgetEntry, g as GenUIWidgetProps } from '../../../types-DyIB9HYT.cjs';
|
|
3
3
|
import 'react';
|
|
4
|
-
import '../../../types-
|
|
4
|
+
import '../../../types-B2RLmdVd.cjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* SuperChat code plugin (opt-in).
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as SuperChatRenderPlugin, e as GenUIRegistry } from '../../../types-
|
|
2
|
-
export { f as GenUIWidgetEntry, g as GenUIWidgetProps } from '../../../types-
|
|
1
|
+
import { a as SuperChatRenderPlugin, e as GenUIRegistry } from '../../../types-BoTeTPdH.js';
|
|
2
|
+
export { f as GenUIWidgetEntry, g as GenUIWidgetProps } from '../../../types-BoTeTPdH.js';
|
|
3
3
|
import 'react';
|
|
4
|
-
import '../../../types-
|
|
4
|
+
import '../../../types-B2RLmdVd.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* SuperChat code plugin (opt-in).
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useTextRenderContext } from '../../../chunk-I6CY5C6A.js';
|
|
2
|
-
import { LightboxModal } from '../../../chunk-
|
|
3
|
-
import '../../../chunk-
|
|
4
|
-
import '../../../chunk-
|
|
2
|
+
import { LightboxModal } from '../../../chunk-FDV7EQWH.js';
|
|
3
|
+
import '../../../chunk-EKRT7K2K.js';
|
|
4
|
+
import '../../../chunk-BOOJDRJO.js';
|
|
5
5
|
import { cn } from '../../../chunk-TQONQSJO.js';
|
|
6
6
|
import * as React2 from 'react';
|
|
7
7
|
import rehypeHighlight from 'rehype-highlight';
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkPLMXN23Q_cjs = require('../../chunk-PLMXN23Q.cjs');
|
|
4
4
|
require('../../chunk-S5RVSXDV.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "Switch", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkPLMXN23Q_cjs.Switch; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "switchThumbVariants", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkPLMXN23Q_cjs.switchThumbVariants; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "switchTrackVariants", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkPLMXN23Q_cjs.switchTrackVariants; }
|
|
19
19
|
});
|
|
20
20
|
//# sourceMappingURL=index.cjs.map
|
|
21
21
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Switch, switchThumbVariants, switchTrackVariants } from '../../chunk-
|
|
1
|
+
export { Switch, switchThumbVariants, switchTrackVariants } from '../../chunk-AQ564XO7.js';
|
|
2
2
|
import '../../chunk-TQONQSJO.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkIJYTASQQ_cjs = require('../../chunk-IJYTASQQ.cjs');
|
|
4
4
|
require('../../chunk-S5RVSXDV.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "Table", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkIJYTASQQ_cjs.Table; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "TableBody", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkIJYTASQQ_cjs.TableBody; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "TableCaption", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkIJYTASQQ_cjs.TableCaption; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "TableCell", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkIJYTASQQ_cjs.TableCell; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "TableFooter", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkIJYTASQQ_cjs.TableFooter; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "TableHead", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkIJYTASQQ_cjs.TableHead; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "TableHeader", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkIJYTASQQ_cjs.TableHeader; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "TableRow", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkIJYTASQQ_cjs.TableRow; }
|
|
39
39
|
});
|
|
40
40
|
//# sourceMappingURL=index.cjs.map
|
|
41
41
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from '../../chunk-
|
|
1
|
+
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from '../../chunk-TNUL4LGG.js';
|
|
2
2
|
import '../../chunk-TQONQSJO.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk3IAA3KCE_cjs = require('../../chunk-3IAA3KCE.cjs');
|
|
4
4
|
require('../../chunk-S5RVSXDV.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "SmallMuted", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunk3IAA3KCE_cjs.SmallMuted; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "Text", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunk3IAA3KCE_cjs.Text; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "textVariants", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunk3IAA3KCE_cjs.textVariants; }
|
|
19
19
|
});
|
|
20
20
|
//# sourceMappingURL=index.cjs.map
|
|
21
21
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -6,7 +6,7 @@ declare const textVariants: (props?: ({
|
|
|
6
6
|
variant?: "primary" | "default" | "success" | "warning" | "destructive" | "muted" | null | undefined;
|
|
7
7
|
size?: "base" | "sm" | "lg" | "xl" | "2xl" | "3xl" | "xs" | null | undefined;
|
|
8
8
|
weight?: "bold" | "normal" | "medium" | "semibold" | null | undefined;
|
|
9
|
-
align?: "left" | "right" | "center" | null | undefined;
|
|
9
|
+
align?: "left" | "start" | "right" | "end" | "center" | null | undefined;
|
|
10
10
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
11
11
|
type TextElement = 'p' | 'span' | 'div' | 'label' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
12
12
|
interface TextProps extends React.HTMLAttributes<HTMLElement>, VariantProps<typeof textVariants> {
|
|
@@ -6,7 +6,7 @@ declare const textVariants: (props?: ({
|
|
|
6
6
|
variant?: "primary" | "default" | "success" | "warning" | "destructive" | "muted" | null | undefined;
|
|
7
7
|
size?: "base" | "sm" | "lg" | "xl" | "2xl" | "3xl" | "xs" | null | undefined;
|
|
8
8
|
weight?: "bold" | "normal" | "medium" | "semibold" | null | undefined;
|
|
9
|
-
align?: "left" | "right" | "center" | null | undefined;
|
|
9
|
+
align?: "left" | "start" | "right" | "end" | "center" | null | undefined;
|
|
10
10
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
11
11
|
type TextElement = 'p' | 'span' | 'div' | 'label' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
12
12
|
interface TextProps extends React.HTMLAttributes<HTMLElement>, VariantProps<typeof textVariants> {
|
package/dist/datavis.cjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var chunkVJOVJTFP_cjs = require('./chunk-VJOVJTFP.cjs');
|
|
4
4
|
var chunkRI56YPED_cjs = require('./chunk-RI56YPED.cjs');
|
|
5
5
|
var chunkM26KJKZG_cjs = require('./chunk-M26KJKZG.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkYVL3XATO_cjs = require('./chunk-YVL3XATO.cjs');
|
|
7
7
|
var chunkS5RVSXDV_cjs = require('./chunk-S5RVSXDV.cjs');
|
|
8
8
|
var React = require('react');
|
|
9
9
|
var jsxRuntime = require('react/jsx-runtime');
|
|
@@ -66,7 +66,7 @@ var STATUS_VARIANT = {
|
|
|
66
66
|
function OrderStatusBadge({ status }) {
|
|
67
67
|
const meta = STATUS_VARIANT[status];
|
|
68
68
|
if (!meta) return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: status });
|
|
69
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
69
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkYVL3XATO_cjs.Badge, { variant: meta.variant, children: meta.label });
|
|
70
70
|
}
|
|
71
71
|
function formatOrderCell(value, _row, column) {
|
|
72
72
|
if (column.field === "status" && typeof value === "string") {
|
package/dist/datavis.js
CHANGED
|
@@ -2,7 +2,7 @@ import { DataVisNitroContext, DataVisNitroSource, DataVisNitroGrid } from './chu
|
|
|
2
2
|
export { DataVisNitroContext, DataVisNitroGraph, DataVisNitroGrid, DataVisNitroSource } from './chunk-YBLIDESO.js';
|
|
3
3
|
import { buildChartOrderRows, buildEncounterOrderRows } from './chunk-Y5KEFV5O.js';
|
|
4
4
|
import { Button } from './chunk-WRYZ2752.js';
|
|
5
|
-
import { Badge } from './chunk-
|
|
5
|
+
import { Badge } from './chunk-BMSG4NBH.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,24 +1,24 @@
|
|
|
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
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
9
|
-
require('./chunk-
|
|
10
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-AIJAFPGJ.cjs');
|
|
8
|
+
require('./chunk-ZBI52NP2.cjs');
|
|
9
|
+
require('./chunk-MJWFNV3L.cjs');
|
|
10
|
+
require('./chunk-OAHORW4N.cjs');
|
|
11
11
|
require('./chunk-P2VTQ5AR.cjs');
|
|
12
|
-
require('./chunk-
|
|
13
|
-
require('./chunk-
|
|
12
|
+
require('./chunk-6ECKH4DJ.cjs');
|
|
13
|
+
require('./chunk-PAM5UUBL.cjs');
|
|
14
14
|
require('./chunk-M26KJKZG.cjs');
|
|
15
|
-
require('./chunk-
|
|
15
|
+
require('./chunk-YVL3XATO.cjs');
|
|
16
16
|
require('./chunk-YVPC65ZJ.cjs');
|
|
17
17
|
require('./chunk-6HFFWEM3.cjs');
|
|
18
18
|
require('./chunk-NNEFAUHV.cjs');
|
|
19
19
|
require('./chunk-FHY3K6PL.cjs');
|
|
20
20
|
require('./chunk-FSGEDDF2.cjs');
|
|
21
|
-
require('./chunk-
|
|
21
|
+
require('./chunk-MYFZYUPR.cjs');
|
|
22
22
|
require('./chunk-CW75IKA6.cjs');
|
|
23
23
|
require('./chunk-S5RVSXDV.cjs');
|
|
24
24
|
require('./chunk-SCV7C55E.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,22 +1,22 @@
|
|
|
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
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
5
|
+
import './chunk-I3WGZPI6.js';
|
|
6
|
+
import './chunk-DLBV42JD.js';
|
|
7
|
+
import './chunk-QYSUYB3S.js';
|
|
8
|
+
import './chunk-EGWWTIWS.js';
|
|
9
9
|
import './chunk-XMCIXHGH.js';
|
|
10
|
-
import './chunk-
|
|
11
|
-
import './chunk-
|
|
10
|
+
import './chunk-YXCE2HSK.js';
|
|
11
|
+
import './chunk-3PXOIAF6.js';
|
|
12
12
|
import './chunk-WRYZ2752.js';
|
|
13
|
-
import './chunk-
|
|
13
|
+
import './chunk-BMSG4NBH.js';
|
|
14
14
|
import './chunk-7ZVTLTJF.js';
|
|
15
15
|
import './chunk-HB7C7NB5.js';
|
|
16
16
|
import './chunk-4SMSH4OY.js';
|
|
17
17
|
import './chunk-T4ME7QCT.js';
|
|
18
18
|
import './chunk-62ZOA6PX.js';
|
|
19
|
-
import './chunk-
|
|
19
|
+
import './chunk-BOOJDRJO.js';
|
|
20
20
|
import './chunk-RC2YMOMS.js';
|
|
21
21
|
import './chunk-TQONQSJO.js';
|
|
22
22
|
import './chunk-VSQF22GL.js';
|
package/dist/hooks/index.cjs
CHANGED
|
@@ -10,7 +10,7 @@ var chunk6HFFWEM3_cjs = require('../chunk-6HFFWEM3.cjs');
|
|
|
10
10
|
var chunkNNEFAUHV_cjs = require('../chunk-NNEFAUHV.cjs');
|
|
11
11
|
var chunkFHY3K6PL_cjs = require('../chunk-FHY3K6PL.cjs');
|
|
12
12
|
var chunkFSGEDDF2_cjs = require('../chunk-FSGEDDF2.cjs');
|
|
13
|
-
var
|
|
13
|
+
var chunkMYFZYUPR_cjs = require('../chunk-MYFZYUPR.cjs');
|
|
14
14
|
require('../chunk-SCV7C55E.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
@@ -141,7 +141,7 @@ Object.defineProperty(exports, "useClickOutside", {
|
|
|
141
141
|
});
|
|
142
142
|
Object.defineProperty(exports, "useAnchoredPosition", {
|
|
143
143
|
enumerable: true,
|
|
144
|
-
get: function () { return
|
|
144
|
+
get: function () { return chunkMYFZYUPR_cjs.useAnchoredPosition; }
|
|
145
145
|
});
|
|
146
146
|
//# sourceMappingURL=index.cjs.map
|
|
147
147
|
//# sourceMappingURL=index.cjs.map
|
package/dist/hooks/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { R as ResolvedTheme, T as Theme, u as useTheme } from '../useTheme-B9SWu6ui.cjs';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { RefObject } from 'react';
|
|
4
|
-
export { A as AnchoredPlacement, U as UseAnchoredPositionOptions, a as UseAnchoredPositionReturn, u as useAnchoredPosition } from '../useAnchoredPosition-
|
|
4
|
+
export { A as AnchoredPlacement, U as UseAnchoredPositionOptions, a as UseAnchoredPositionReturn, u as useAnchoredPosition } from '../useAnchoredPosition-C7PNglzD.cjs';
|
|
5
5
|
export { D as DEFAULT_FILLER_WORDS, a as DEFAULT_MIN_SILENCE_MS, b as DEFAULT_NL_SILENCE_MS, F as FillerAnalysis, S as SilenceThresholdCount, T as TranscriptClipboard, c as TranscriptEditStats, U as UseTranscriptEditsOptions, d as UseTranscriptEditsResult, e as buildPlaybackSegments, g as getSpeedAtIndex, i as initEditableWords, f as insertSilences, u as useTranscriptEdits } from '../useTranscriptEdits-CGzlemHT.cjs';
|
|
6
6
|
import '../transcript-Cg7uSW-C.cjs';
|
|
7
7
|
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { R as ResolvedTheme, T as Theme, u as useTheme } from '../useTheme-B9SWu6ui.js';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { RefObject } from 'react';
|
|
4
|
-
export { A as AnchoredPlacement, U as UseAnchoredPositionOptions, a as UseAnchoredPositionReturn, u as useAnchoredPosition } from '../useAnchoredPosition-
|
|
4
|
+
export { A as AnchoredPlacement, U as UseAnchoredPositionOptions, a as UseAnchoredPositionReturn, u as useAnchoredPosition } from '../useAnchoredPosition-C7PNglzD.js';
|
|
5
5
|
export { D as DEFAULT_FILLER_WORDS, a as DEFAULT_MIN_SILENCE_MS, b as DEFAULT_NL_SILENCE_MS, F as FillerAnalysis, S as SilenceThresholdCount, T as TranscriptClipboard, c as TranscriptEditStats, U as UseTranscriptEditsOptions, d as UseTranscriptEditsResult, e as buildPlaybackSegments, g as getSpeedAtIndex, i as initEditableWords, f as insertSilences, u as useTranscriptEdits } from '../useTranscriptEdits-D32bLs0l.js';
|
|
6
6
|
import '../transcript-Cg7uSW-C.js';
|
|
7
7
|
|