@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.
- package/dist/ag-grid.cjs +5 -5
- package/dist/ag-grid.js +1 -1
- package/dist/chunk-3PXOIAF6.js +3 -0
- package/dist/{chunk-DHKYGVP7.js.map → chunk-3PXOIAF6.js.map} +1 -1
- package/dist/{chunk-O7ZGNGON.js → chunk-477Z2DYN.js} +3 -3
- package/dist/{chunk-O7ZGNGON.js.map → chunk-477Z2DYN.js.map} +1 -1
- package/dist/{chunk-2J4KI5KN.cjs → chunk-BZMBCKW2.cjs} +27 -27
- package/dist/{chunk-2J4KI5KN.cjs.map → chunk-BZMBCKW2.cjs.map} +1 -1
- package/dist/chunk-PAM5UUBL.cjs +740 -0
- package/dist/{chunk-UTYUT5YY.cjs.map → chunk-PAM5UUBL.cjs.map} +1 -1
- package/dist/esheet.cjs +5 -5
- package/dist/esheet.js +2 -2
- package/dist/index.cjs +865 -145
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-DHKYGVP7.js +0 -3
- package/dist/chunk-UTYUT5YY.cjs +0 -240
|
@@ -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
|
|
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:
|
|
154
|
-
note: { label: "Notes", icon:
|
|
155
|
-
remove: { label: "Remove", icon:
|
|
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
|
-
|
|
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(
|
|
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
|
-
|
|
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(
|
|
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:
|
|
737
|
-
correct: { label: "Correct", icon:
|
|
738
|
-
refill: { label: "Refill", icon:
|
|
739
|
-
"add-task": { label: "Add Task", icon:
|
|
740
|
-
note: { label: "Notes", icon:
|
|
741
|
-
remove: { label: "Remove", icon:
|
|
742
|
-
"move-up": { label: "Move Up", icon:
|
|
743
|
-
"move-down": { label: "Move Down", icon:
|
|
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:
|
|
746
|
+
{ status: "taking", label: "Taking", icon: chunkPAM5UUBL_cjs.ThumbsUp },
|
|
747
747
|
{
|
|
748
748
|
status: "taking-noncompliant",
|
|
749
749
|
label: "Taking \u2013 Noncompliant",
|
|
750
|
-
icon:
|
|
750
|
+
icon: chunkPAM5UUBL_cjs.HandMetal
|
|
751
751
|
},
|
|
752
|
-
{ status: "not-taking", label: "Not Taking", icon:
|
|
753
|
-
{ status: "unknown", label: "Unknown", icon:
|
|
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
|
-
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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-
|
|
1606
|
-
//# sourceMappingURL=chunk-
|
|
1605
|
+
//# sourceMappingURL=chunk-BZMBCKW2.cjs.map
|
|
1606
|
+
//# sourceMappingURL=chunk-BZMBCKW2.cjs.map
|