@mieweb/ui 0.10.0-dev.19 → 0.10.0-dev.20

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.
Files changed (73) hide show
  1. package/dist/{chunk-QR7EG7YH.js → chunk-2ABWFQQH.js} +3 -3
  2. package/dist/{chunk-QR7EG7YH.js.map → chunk-2ABWFQQH.js.map} +1 -1
  3. package/dist/{chunk-GVBHDRC7.cjs → chunk-6N6LIAUJ.cjs} +6 -6
  4. package/dist/{chunk-GVBHDRC7.cjs.map → chunk-6N6LIAUJ.cjs.map} +1 -1
  5. package/dist/{chunk-VILW53UZ.js → chunk-BIQ7GSO2.js} +3 -3
  6. package/dist/{chunk-VILW53UZ.js.map → chunk-BIQ7GSO2.js.map} +1 -1
  7. package/dist/{chunk-XI34EGK5.cjs → chunk-CPPUT74P.cjs} +9 -9
  8. package/dist/{chunk-XI34EGK5.cjs.map → chunk-CPPUT74P.cjs.map} +1 -1
  9. package/dist/{chunk-5JJ2DAE4.js → chunk-ENMXHZNE.js} +3 -3
  10. package/dist/{chunk-5JJ2DAE4.js.map → chunk-ENMXHZNE.js.map} +1 -1
  11. package/dist/{chunk-XCP454Q6.js → chunk-F4N67NAF.js} +12 -3
  12. package/dist/chunk-F4N67NAF.js.map +1 -0
  13. package/dist/{chunk-OYBJQBLO.js → chunk-G45FBKKV.js} +3 -3
  14. package/dist/{chunk-OYBJQBLO.js.map → chunk-G45FBKKV.js.map} +1 -1
  15. package/dist/{chunk-NUQSQRG3.cjs → chunk-HQ4CGVWX.cjs} +27 -27
  16. package/dist/{chunk-NUQSQRG3.cjs.map → chunk-HQ4CGVWX.cjs.map} +1 -1
  17. package/dist/{chunk-NV2CWBI2.cjs → chunk-IEY3ZJIT.cjs} +12 -3
  18. package/dist/chunk-IEY3ZJIT.cjs.map +1 -0
  19. package/dist/{chunk-K2K2HP35.js → chunk-IH55BEB3.js} +3 -3
  20. package/dist/{chunk-K2K2HP35.js.map → chunk-IH55BEB3.js.map} +1 -1
  21. package/dist/{chunk-PEUCQ2YP.cjs → chunk-LJZKEMAH.cjs} +9 -9
  22. package/dist/{chunk-PEUCQ2YP.cjs.map → chunk-LJZKEMAH.cjs.map} +1 -1
  23. package/dist/{chunk-673GMFA6.js → chunk-MZNCLXXU.js} +3 -3
  24. package/dist/{chunk-673GMFA6.js.map → chunk-MZNCLXXU.js.map} +1 -1
  25. package/dist/{chunk-X5KAO35W.cjs → chunk-R2O72G6Z.cjs} +7 -7
  26. package/dist/{chunk-X5KAO35W.cjs.map → chunk-R2O72G6Z.cjs.map} +1 -1
  27. package/dist/{chunk-VPWJCJCX.cjs → chunk-S45EERW3.cjs} +5 -5
  28. package/dist/{chunk-VPWJCJCX.cjs.map → chunk-S45EERW3.cjs.map} +1 -1
  29. package/dist/{chunk-SVXWO37F.cjs → chunk-SQ2D7AON.cjs} +21 -21
  30. package/dist/{chunk-SVXWO37F.cjs.map → chunk-SQ2D7AON.cjs.map} +1 -1
  31. package/dist/{chunk-P2CA3XGI.js → chunk-SYRLCTDV.js} +3 -3
  32. package/dist/{chunk-P2CA3XGI.js.map → chunk-SYRLCTDV.js.map} +1 -1
  33. package/dist/{chunk-7ZDPD5ZX.cjs → chunk-T4L7Q5FA.cjs} +7 -7
  34. package/dist/{chunk-7ZDPD5ZX.cjs.map → chunk-T4L7Q5FA.cjs.map} +1 -1
  35. package/dist/{chunk-ZGRCSNPK.js → chunk-TF7YWJHU.js} +3 -3
  36. package/dist/{chunk-ZGRCSNPK.js.map → chunk-TF7YWJHU.js.map} +1 -1
  37. package/dist/{chunk-YIV4Y4SK.js → chunk-UBSH27C2.js} +3 -3
  38. package/dist/{chunk-YIV4Y4SK.js.map → chunk-UBSH27C2.js.map} +1 -1
  39. package/dist/{chunk-SGFYA22I.cjs → chunk-VYPPQPSZ.cjs} +7 -7
  40. package/dist/{chunk-SGFYA22I.cjs.map → chunk-VYPPQPSZ.cjs.map} +1 -1
  41. package/dist/{chunk-5FU7LVZF.cjs → chunk-Z4JR23IB.cjs} +9 -9
  42. package/dist/{chunk-5FU7LVZF.cjs.map → chunk-Z4JR23IB.cjs.map} +1 -1
  43. package/dist/{chunk-CXEKSA7I.js → chunk-ZTW4KODY.js} +3 -3
  44. package/dist/{chunk-CXEKSA7I.js.map → chunk-ZTW4KODY.js.map} +1 -1
  45. package/dist/components/AlertDialog/index.cjs +4 -4
  46. package/dist/components/AlertDialog/index.js +3 -3
  47. package/dist/components/Collapsible/index.cjs +5 -5
  48. package/dist/components/Collapsible/index.js +2 -2
  49. package/dist/components/Dropdown/index.cjs +9 -9
  50. package/dist/components/Dropdown/index.js +2 -2
  51. package/dist/components/KeyboardShortcutsOverlay/index.cjs +5 -5
  52. package/dist/components/KeyboardShortcutsOverlay/index.js +3 -3
  53. package/dist/components/MediaEditor/index.cjs +8 -8
  54. package/dist/components/MediaEditor/index.js +3 -3
  55. package/dist/components/Modal/index.cjs +10 -10
  56. package/dist/components/Modal/index.js +2 -2
  57. package/dist/components/RichTextEditor/index.cjs +6 -6
  58. package/dist/components/RichTextEditor/index.js +3 -3
  59. package/dist/components/SuperChat/index.cjs +43 -21
  60. package/dist/components/SuperChat/index.cjs.map +1 -1
  61. package/dist/components/SuperChat/index.js +36 -14
  62. package/dist/components/SuperChat/index.js.map +1 -1
  63. package/dist/components/SuperChat/plugins/index.cjs +5 -5
  64. package/dist/components/SuperChat/plugins/index.js +4 -4
  65. package/dist/esheet.cjs +6 -6
  66. package/dist/esheet.js +3 -3
  67. package/dist/index.cjs +281 -281
  68. package/dist/index.js +18 -18
  69. package/dist/motion.cjs +7 -7
  70. package/dist/motion.js +2 -2
  71. package/package.json +1 -1
  72. package/dist/chunk-NV2CWBI2.cjs.map +0 -1
  73. package/dist/chunk-XCP454Q6.js.map +0 -1
@@ -9,7 +9,7 @@ var chunkZSGEGISB_cjs = require('./chunk-ZSGEGISB.cjs');
9
9
  var chunkMJWFNV3L_cjs = require('./chunk-MJWFNV3L.cjs');
10
10
  var chunkZ5S5JEJD_cjs = require('./chunk-Z5S5JEJD.cjs');
11
11
  var chunkYVPC65ZJ_cjs = require('./chunk-YVPC65ZJ.cjs');
12
- var chunk7ZDPD5ZX_cjs = require('./chunk-7ZDPD5ZX.cjs');
12
+ var chunkT4L7Q5FA_cjs = require('./chunk-T4L7Q5FA.cjs');
13
13
  var chunkL7L5S2HO_cjs = require('./chunk-L7L5S2HO.cjs');
14
14
  var chunkYVL3XATO_cjs = require('./chunk-YVL3XATO.cjs');
15
15
  var chunkX6A27RGO_cjs = require('./chunk-X6A27RGO.cjs');
@@ -437,12 +437,12 @@ function AllergyEditor({
437
437
  }, []);
438
438
  const canSave = draft.allergen.trim().length > 0;
439
439
  const isDrug = (draft.type ?? "drug") === "drug";
440
- return /* @__PURE__ */ jsxRuntime.jsxs(chunk7ZDPD5ZX_cjs.Modal, { open: true, onOpenChange: (o) => !o && onClose(), size: "md", children: [
441
- /* @__PURE__ */ jsxRuntime.jsxs(chunk7ZDPD5ZX_cjs.ModalHeader, { children: [
442
- /* @__PURE__ */ jsxRuntime.jsx(chunk7ZDPD5ZX_cjs.ModalTitle, { children: allergy ? "Correct Allergy" : "Add Allergy" }),
443
- /* @__PURE__ */ jsxRuntime.jsx(chunk7ZDPD5ZX_cjs.ModalClose, {})
440
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunkT4L7Q5FA_cjs.Modal, { open: true, onOpenChange: (o) => !o && onClose(), size: "md", children: [
441
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkT4L7Q5FA_cjs.ModalHeader, { children: [
442
+ /* @__PURE__ */ jsxRuntime.jsx(chunkT4L7Q5FA_cjs.ModalTitle, { children: allergy ? "Correct Allergy" : "Add Allergy" }),
443
+ /* @__PURE__ */ jsxRuntime.jsx(chunkT4L7Q5FA_cjs.ModalClose, {})
444
444
  ] }),
445
- /* @__PURE__ */ jsxRuntime.jsx(chunk7ZDPD5ZX_cjs.ModalBody, { className: "space-y-4", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { ref: bodyRef, className: "contents", children: [
445
+ /* @__PURE__ */ jsxRuntime.jsx(chunkT4L7Q5FA_cjs.ModalBody, { className: "space-y-4", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { ref: bodyRef, className: "contents", children: [
446
446
  /* @__PURE__ */ jsxRuntime.jsxs(
447
447
  chunkG7EQ3JPX_cjs.RadioGroup,
448
448
  {
@@ -559,7 +559,7 @@ function AllergyEditor({
559
559
  )
560
560
  ] })
561
561
  ] }) }),
562
- /* @__PURE__ */ jsxRuntime.jsxs(chunk7ZDPD5ZX_cjs.ModalFooter, { children: [
562
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkT4L7Q5FA_cjs.ModalFooter, { children: [
563
563
  /* @__PURE__ */ jsxRuntime.jsx(chunkX6A27RGO_cjs.Button, { variant: "secondary", onClick: onClose, children: "Cancel" }),
564
564
  /* @__PURE__ */ jsxRuntime.jsx(
565
565
  chunkX6A27RGO_cjs.Button,
@@ -682,12 +682,12 @@ function AllergyManager({
682
682
  },
683
683
  dialog.kind === "correct" ? dialog.allergy.id : "add"
684
684
  ),
685
- dialog?.kind === "note" && /* @__PURE__ */ jsxRuntime.jsxs(chunk7ZDPD5ZX_cjs.Modal, { open: true, onOpenChange: (o) => !o && setDialog(null), size: "md", children: [
686
- /* @__PURE__ */ jsxRuntime.jsxs(chunk7ZDPD5ZX_cjs.ModalHeader, { children: [
687
- /* @__PURE__ */ jsxRuntime.jsx(chunk7ZDPD5ZX_cjs.ModalTitle, { children: "Allergy Notes" }),
688
- /* @__PURE__ */ jsxRuntime.jsx(chunk7ZDPD5ZX_cjs.ModalClose, {})
685
+ dialog?.kind === "note" && /* @__PURE__ */ jsxRuntime.jsxs(chunkT4L7Q5FA_cjs.Modal, { open: true, onOpenChange: (o) => !o && setDialog(null), size: "md", children: [
686
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkT4L7Q5FA_cjs.ModalHeader, { children: [
687
+ /* @__PURE__ */ jsxRuntime.jsx(chunkT4L7Q5FA_cjs.ModalTitle, { children: "Allergy Notes" }),
688
+ /* @__PURE__ */ jsxRuntime.jsx(chunkT4L7Q5FA_cjs.ModalClose, {})
689
689
  ] }),
690
- /* @__PURE__ */ jsxRuntime.jsxs(chunk7ZDPD5ZX_cjs.ModalBody, { className: "space-y-4", children: [
690
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkT4L7Q5FA_cjs.ModalBody, { className: "space-y-4", children: [
691
691
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground text-sm", children: dialog.allergy.allergen }),
692
692
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
693
693
  /* @__PURE__ */ jsxRuntime.jsx(chunkAIJAFPGJ_cjs.Label, { htmlFor: "alg-note-dlg", children: "Note" }),
@@ -702,7 +702,7 @@ function AllergyManager({
702
702
  )
703
703
  ] })
704
704
  ] }),
705
- /* @__PURE__ */ jsxRuntime.jsxs(chunk7ZDPD5ZX_cjs.ModalFooter, { children: [
705
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkT4L7Q5FA_cjs.ModalFooter, { children: [
706
706
  /* @__PURE__ */ jsxRuntime.jsx(chunkX6A27RGO_cjs.Button, { variant: "secondary", onClick: () => setDialog(null), children: "Cancel" }),
707
707
  /* @__PURE__ */ jsxRuntime.jsx(
708
708
  chunkX6A27RGO_cjs.Button,
@@ -1166,12 +1166,12 @@ function MedicationEditor({
1166
1166
  };
1167
1167
  const canSave = draft.name.trim().length > 0;
1168
1168
  if (!open) return null;
1169
- return /* @__PURE__ */ jsxRuntime.jsxs(chunk7ZDPD5ZX_cjs.Modal, { open: true, onOpenChange: (o) => !o && onClose(), size: "lg", children: [
1170
- /* @__PURE__ */ jsxRuntime.jsxs(chunk7ZDPD5ZX_cjs.ModalHeader, { children: [
1171
- /* @__PURE__ */ jsxRuntime.jsx(chunk7ZDPD5ZX_cjs.ModalTitle, { children: medication ? "Correct Medication" : "Add Medication" }),
1172
- /* @__PURE__ */ jsxRuntime.jsx(chunk7ZDPD5ZX_cjs.ModalClose, {})
1169
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunkT4L7Q5FA_cjs.Modal, { open: true, onOpenChange: (o) => !o && onClose(), size: "lg", children: [
1170
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkT4L7Q5FA_cjs.ModalHeader, { children: [
1171
+ /* @__PURE__ */ jsxRuntime.jsx(chunkT4L7Q5FA_cjs.ModalTitle, { children: medication ? "Correct Medication" : "Add Medication" }),
1172
+ /* @__PURE__ */ jsxRuntime.jsx(chunkT4L7Q5FA_cjs.ModalClose, {})
1173
1173
  ] }),
1174
- /* @__PURE__ */ jsxRuntime.jsx(chunk7ZDPD5ZX_cjs.ModalBody, { className: "space-y-5", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { ref: bodyRef, className: "contents", children: [
1174
+ /* @__PURE__ */ jsxRuntime.jsx(chunkT4L7Q5FA_cjs.ModalBody, { className: "space-y-5", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { ref: bodyRef, className: "contents", children: [
1175
1175
  /* @__PURE__ */ jsxRuntime.jsxs("section", { className: "space-y-3", "aria-label": "Medication", children: [
1176
1176
  effectiveCodeLookup ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
1177
1177
  /* @__PURE__ */ jsxRuntime.jsx(chunkAIJAFPGJ_cjs.Label, { htmlFor: "med-search", children: "Medication" }),
@@ -1368,7 +1368,7 @@ function MedicationEditor({
1368
1368
  ] })
1369
1369
  ] })
1370
1370
  ] }) }),
1371
- /* @__PURE__ */ jsxRuntime.jsxs(chunk7ZDPD5ZX_cjs.ModalFooter, { children: [
1371
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkT4L7Q5FA_cjs.ModalFooter, { children: [
1372
1372
  /* @__PURE__ */ jsxRuntime.jsx(chunkX6A27RGO_cjs.Button, { variant: "secondary", onClick: onClose, children: "Cancel" }),
1373
1373
  /* @__PURE__ */ jsxRuntime.jsx(
1374
1374
  chunkX6A27RGO_cjs.Button,
@@ -1406,12 +1406,12 @@ function MedicationDialog({
1406
1406
  onSave(form);
1407
1407
  onClose();
1408
1408
  };
1409
- return /* @__PURE__ */ jsxRuntime.jsxs(chunk7ZDPD5ZX_cjs.Modal, { open: true, onOpenChange: (open) => !open && onClose(), size: "md", children: [
1410
- /* @__PURE__ */ jsxRuntime.jsxs(chunk7ZDPD5ZX_cjs.ModalHeader, { children: [
1411
- /* @__PURE__ */ jsxRuntime.jsx(chunk7ZDPD5ZX_cjs.ModalTitle, { children: dialog.kind === "note" ? "Medication Notes" : "Add Task" }),
1412
- /* @__PURE__ */ jsxRuntime.jsx(chunk7ZDPD5ZX_cjs.ModalClose, {})
1409
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunkT4L7Q5FA_cjs.Modal, { open: true, onOpenChange: (open) => !open && onClose(), size: "md", children: [
1410
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkT4L7Q5FA_cjs.ModalHeader, { children: [
1411
+ /* @__PURE__ */ jsxRuntime.jsx(chunkT4L7Q5FA_cjs.ModalTitle, { children: dialog.kind === "note" ? "Medication Notes" : "Add Task" }),
1412
+ /* @__PURE__ */ jsxRuntime.jsx(chunkT4L7Q5FA_cjs.ModalClose, {})
1413
1413
  ] }),
1414
- /* @__PURE__ */ jsxRuntime.jsxs(chunk7ZDPD5ZX_cjs.ModalBody, { className: "space-y-4", children: [
1414
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkT4L7Q5FA_cjs.ModalBody, { className: "space-y-4", children: [
1415
1415
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground text-sm", children: dialog.medication.name }),
1416
1416
  dialog.kind === "note" ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
1417
1417
  /* @__PURE__ */ jsxRuntime.jsx(chunkAIJAFPGJ_cjs.Label, { htmlFor: "med-note", children: "Note" }),
@@ -1438,7 +1438,7 @@ function MedicationDialog({
1438
1438
  )
1439
1439
  ] })
1440
1440
  ] }),
1441
- /* @__PURE__ */ jsxRuntime.jsxs(chunk7ZDPD5ZX_cjs.ModalFooter, { children: [
1441
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkT4L7Q5FA_cjs.ModalFooter, { children: [
1442
1442
  /* @__PURE__ */ jsxRuntime.jsx(chunkX6A27RGO_cjs.Button, { variant: "secondary", onClick: onClose, children: "Cancel" }),
1443
1443
  /* @__PURE__ */ jsxRuntime.jsx(chunkX6A27RGO_cjs.Button, { onClick: handleSave, children: "Save" })
1444
1444
  ] })
@@ -1622,5 +1622,5 @@ exports.parseMedicationLabel = parseMedicationLabel;
1622
1622
  exports.parseSig = parseSig;
1623
1623
  exports.toolbarKeyNav = toolbarKeyNav;
1624
1624
  exports.useCodeLookupConfig = useCodeLookupConfig;
1625
- //# sourceMappingURL=chunk-NUQSQRG3.cjs.map
1626
- //# sourceMappingURL=chunk-NUQSQRG3.cjs.map
1625
+ //# sourceMappingURL=chunk-HQ4CGVWX.cjs.map
1626
+ //# sourceMappingURL=chunk-HQ4CGVWX.cjs.map