@mieweb/ui 0.7.1-dev.13 → 0.7.1-dev.14

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.
@@ -9,7 +9,7 @@ var chunkMJWFNV3L_cjs = require('./chunk-MJWFNV3L.cjs');
9
9
  var chunkEDBGSGUK_cjs = require('./chunk-EDBGSGUK.cjs');
10
10
  var chunkP2VTQ5AR_cjs = require('./chunk-P2VTQ5AR.cjs');
11
11
  var chunk6ECKH4DJ_cjs = require('./chunk-6ECKH4DJ.cjs');
12
- var chunkUTYUT5YY_cjs = require('./chunk-UTYUT5YY.cjs');
12
+ var chunkPAM5UUBL_cjs = require('./chunk-PAM5UUBL.cjs');
13
13
  var chunkM26KJKZG_cjs = require('./chunk-M26KJKZG.cjs');
14
14
  var chunkYVL3XATO_cjs = require('./chunk-YVL3XATO.cjs');
15
15
  var chunkYVPC65ZJ_cjs = require('./chunk-YVPC65ZJ.cjs');
@@ -150,9 +150,9 @@ var SEVERITY_BADGE = {
150
150
  };
151
151
  var DEFAULT_ACTIONS = ["correct", "note", "remove"];
152
152
  var ACTION_META = {
153
- correct: { label: "Correct", icon: chunkUTYUT5YY_cjs.Pencil },
154
- note: { label: "Notes", icon: chunkUTYUT5YY_cjs.StickyNote },
155
- remove: { label: "Remove", icon: chunkUTYUT5YY_cjs.Ban }
153
+ correct: { label: "Correct", icon: chunkPAM5UUBL_cjs.Pencil },
154
+ note: { label: "Notes", icon: chunkPAM5UUBL_cjs.StickyNote },
155
+ remove: { label: "Remove", icon: chunkPAM5UUBL_cjs.Ban }
156
156
  };
157
157
  function AllergyRow({
158
158
  allergy,
@@ -198,7 +198,7 @@ function AllergyRow({
198
198
  ),
199
199
  children: [
200
200
  drag.enabled ? /* @__PURE__ */ jsxRuntime.jsx(
201
- chunkUTYUT5YY_cjs.GripVertical,
201
+ chunkPAM5UUBL_cjs.GripVertical,
202
202
  {
203
203
  size: 14,
204
204
  "aria-hidden": true,
@@ -239,7 +239,7 @@ function AllergyRow({
239
239
  ] }),
240
240
  allergy.inactive && /* @__PURE__ */ jsxRuntime.jsx(chunkYVL3XATO_cjs.Badge, { variant: "secondary", size: "sm", children: "inactive" }),
241
241
  allergy.note && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex w-full basis-full items-center gap-1.5 pl-4", children: [
242
- /* @__PURE__ */ jsxRuntime.jsx(chunkUTYUT5YY_cjs.StickyNote, { size: 12, className: "text-muted-foreground" }),
242
+ /* @__PURE__ */ jsxRuntime.jsx(chunkPAM5UUBL_cjs.StickyNote, { size: 12, className: "text-muted-foreground" }),
243
243
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground text-xs", children: allergy.note })
244
244
  ] }),
245
245
  !readOnly && actions.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(RowActionToolbar, { label: `Actions for ${allergy.allergen}`, children: actions.map((action) => /* @__PURE__ */ jsxRuntime.jsx(
@@ -320,7 +320,7 @@ var AllergyList = React3__namespace.forwardRef(
320
320
  children: [
321
321
  title !== null && /* @__PURE__ */ jsxRuntime.jsx(chunkMJWFNV3L_cjs.CardHeader, { className: "border-border bg-muted/50 border-b px-4 py-3", children: /* @__PURE__ */ jsxRuntime.jsxs("h3", { className: "text-foreground flex items-center gap-2 text-sm font-semibold tracking-wide uppercase", children: [
322
322
  /* @__PURE__ */ jsxRuntime.jsx(
323
- chunkUTYUT5YY_cjs.AlertCircle,
323
+ chunkPAM5UUBL_cjs.AlertCircle,
324
324
  {
325
325
  size: 16,
326
326
  className: "text-red-600 dark:text-red-400"
@@ -367,7 +367,7 @@ var AllergyList = React3__namespace.forwardRef(
367
367
  variant: "outline",
368
368
  size: "sm",
369
369
  onClick: onAdd,
370
- leftIcon: /* @__PURE__ */ jsxRuntime.jsx(chunkUTYUT5YY_cjs.Plus, { size: 12 }),
370
+ leftIcon: /* @__PURE__ */ jsxRuntime.jsx(chunkPAM5UUBL_cjs.Plus, { size: 12 }),
371
371
  className: "h-auto rounded-full px-2.5 py-1 text-xs",
372
372
  children: "Add allergy\u2026"
373
373
  }
@@ -733,24 +733,24 @@ var DEFAULT_ACTIONS2 = [
733
733
  "remove"
734
734
  ];
735
735
  var ACTION_META2 = {
736
- open: { label: "Open", icon: chunkUTYUT5YY_cjs.ExternalLink },
737
- correct: { label: "Correct", icon: chunkUTYUT5YY_cjs.Pencil },
738
- refill: { label: "Refill", icon: chunkUTYUT5YY_cjs.RefreshCw },
739
- "add-task": { label: "Add Task", icon: chunkUTYUT5YY_cjs.CalendarCheck },
740
- note: { label: "Notes", icon: chunkUTYUT5YY_cjs.StickyNote },
741
- remove: { label: "Remove", icon: chunkUTYUT5YY_cjs.Ban },
742
- "move-up": { label: "Move Up", icon: chunkUTYUT5YY_cjs.ChevronUp },
743
- "move-down": { label: "Move Down", icon: chunkUTYUT5YY_cjs.ChevronDown }
736
+ open: { label: "Open", icon: chunkPAM5UUBL_cjs.ExternalLink },
737
+ correct: { label: "Correct", icon: chunkPAM5UUBL_cjs.Pencil },
738
+ refill: { label: "Refill", icon: chunkPAM5UUBL_cjs.RefreshCw },
739
+ "add-task": { label: "Add Task", icon: chunkPAM5UUBL_cjs.CalendarCheck },
740
+ note: { label: "Notes", icon: chunkPAM5UUBL_cjs.StickyNote },
741
+ remove: { label: "Remove", icon: chunkPAM5UUBL_cjs.Ban },
742
+ "move-up": { label: "Move Up", icon: chunkPAM5UUBL_cjs.ChevronUp },
743
+ "move-down": { label: "Move Down", icon: chunkPAM5UUBL_cjs.ChevronDown }
744
744
  };
745
745
  var STATUS_BUTTON_META = [
746
- { status: "taking", label: "Taking", icon: chunkUTYUT5YY_cjs.ThumbsUp },
746
+ { status: "taking", label: "Taking", icon: chunkPAM5UUBL_cjs.ThumbsUp },
747
747
  {
748
748
  status: "taking-noncompliant",
749
749
  label: "Taking \u2013 Noncompliant",
750
- icon: chunkUTYUT5YY_cjs.HandMetal
750
+ icon: chunkPAM5UUBL_cjs.HandMetal
751
751
  },
752
- { status: "not-taking", label: "Not Taking", icon: chunkUTYUT5YY_cjs.ThumbsDown },
753
- { status: "unknown", label: "Unknown", icon: chunkUTYUT5YY_cjs.HelpCircle }
752
+ { status: "not-taking", label: "Not Taking", icon: chunkPAM5UUBL_cjs.ThumbsDown },
753
+ { status: "unknown", label: "Unknown", icon: chunkPAM5UUBL_cjs.HelpCircle }
754
754
  ];
755
755
  function MedicationRow({
756
756
  medication,
@@ -797,7 +797,7 @@ function MedicationRow({
797
797
  ),
798
798
  children: [
799
799
  drag.enabled ? /* @__PURE__ */ jsxRuntime.jsx(
800
- chunkUTYUT5YY_cjs.GripVertical,
800
+ chunkPAM5UUBL_cjs.GripVertical,
801
801
  {
802
802
  size: 14,
803
803
  "aria-hidden": true,
@@ -825,11 +825,11 @@ function MedicationRow({
825
825
  ] }),
826
826
  (medication.note || medication.task) && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex w-full basis-full flex-col gap-0.5 pl-4", children: [
827
827
  medication.note && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-muted-foreground flex items-center gap-1.5 text-xs", children: [
828
- /* @__PURE__ */ jsxRuntime.jsx(chunkUTYUT5YY_cjs.StickyNote, { size: 12 }),
828
+ /* @__PURE__ */ jsxRuntime.jsx(chunkPAM5UUBL_cjs.StickyNote, { size: 12 }),
829
829
  medication.note
830
830
  ] }),
831
831
  medication.task && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-muted-foreground flex items-center gap-1.5 text-xs", children: [
832
- /* @__PURE__ */ jsxRuntime.jsx(chunkUTYUT5YY_cjs.CalendarCheck, { size: 12 }),
832
+ /* @__PURE__ */ jsxRuntime.jsx(chunkPAM5UUBL_cjs.CalendarCheck, { size: 12 }),
833
833
  "Task: ",
834
834
  medication.task
835
835
  ] })
@@ -976,7 +976,7 @@ var MedicationList = React3__namespace.forwardRef(
976
976
  variant: "ghost",
977
977
  size: "sm",
978
978
  onClick: () => onQuickAdd?.(name),
979
- leftIcon: /* @__PURE__ */ jsxRuntime.jsx(chunkUTYUT5YY_cjs.Plus, { size: 12 }),
979
+ leftIcon: /* @__PURE__ */ jsxRuntime.jsx(chunkPAM5UUBL_cjs.Plus, { size: 12 }),
980
980
  className: "border-border h-auto rounded-full border px-2.5 py-1 text-xs",
981
981
  children: name
982
982
  },
@@ -988,7 +988,7 @@ var MedicationList = React3__namespace.forwardRef(
988
988
  variant: "outline",
989
989
  size: "sm",
990
990
  onClick: onAddOther,
991
- leftIcon: /* @__PURE__ */ jsxRuntime.jsx(chunkUTYUT5YY_cjs.Plus, { size: 12 }),
991
+ leftIcon: /* @__PURE__ */ jsxRuntime.jsx(chunkPAM5UUBL_cjs.Plus, { size: 12 }),
992
992
  className: "h-auto rounded-full px-2.5 py-1 text-xs",
993
993
  children: "Other\u2026"
994
994
  }
@@ -1602,5 +1602,5 @@ exports.parseMedicationLabel = parseMedicationLabel;
1602
1602
  exports.parseSig = parseSig;
1603
1603
  exports.toolbarKeyNav = toolbarKeyNav;
1604
1604
  exports.useCodeLookupConfig = useCodeLookupConfig;
1605
- //# sourceMappingURL=chunk-2J4KI5KN.cjs.map
1606
- //# sourceMappingURL=chunk-2J4KI5KN.cjs.map
1605
+ //# sourceMappingURL=chunk-BZMBCKW2.cjs.map
1606
+ //# sourceMappingURL=chunk-BZMBCKW2.cjs.map