@local-civics/hub-ui 0.1.149 → 0.1.150
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/index.d.ts +31 -16
- package/dist/index.js +400 -283
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +400 -284
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -932,19 +932,19 @@ const sprite = {
|
|
|
932
932
|
}
|
|
933
933
|
};
|
|
934
934
|
|
|
935
|
-
var __defProp$
|
|
936
|
-
var __getOwnPropSymbols$
|
|
937
|
-
var __hasOwnProp$
|
|
938
|
-
var __propIsEnum$
|
|
939
|
-
var __defNormalProp$
|
|
940
|
-
var __spreadValues$
|
|
935
|
+
var __defProp$h = Object.defineProperty;
|
|
936
|
+
var __getOwnPropSymbols$h = Object.getOwnPropertySymbols;
|
|
937
|
+
var __hasOwnProp$h = Object.prototype.hasOwnProperty;
|
|
938
|
+
var __propIsEnum$h = Object.prototype.propertyIsEnumerable;
|
|
939
|
+
var __defNormalProp$h = (obj, key, value) => key in obj ? __defProp$h(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
940
|
+
var __spreadValues$h = (a, b) => {
|
|
941
941
|
for (var prop in b || (b = {}))
|
|
942
|
-
if (__hasOwnProp$
|
|
943
|
-
__defNormalProp$
|
|
944
|
-
if (__getOwnPropSymbols$
|
|
945
|
-
for (var prop of __getOwnPropSymbols$
|
|
946
|
-
if (__propIsEnum$
|
|
947
|
-
__defNormalProp$
|
|
942
|
+
if (__hasOwnProp$h.call(b, prop))
|
|
943
|
+
__defNormalProp$h(a, prop, b[prop]);
|
|
944
|
+
if (__getOwnPropSymbols$h)
|
|
945
|
+
for (var prop of __getOwnPropSymbols$h(b)) {
|
|
946
|
+
if (__propIsEnum$h.call(b, prop))
|
|
947
|
+
__defNormalProp$h(a, prop, b[prop]);
|
|
948
948
|
}
|
|
949
949
|
return a;
|
|
950
950
|
};
|
|
@@ -963,9 +963,9 @@ const Icon$1 = (props) => {
|
|
|
963
963
|
},
|
|
964
964
|
/* @__PURE__ */ React__default.createElement("title", null, props.name),
|
|
965
965
|
contents.map((v, k) => {
|
|
966
|
-
return v.d && /* @__PURE__ */ React__default.createElement("path", __spreadValues$
|
|
966
|
+
return v.d && /* @__PURE__ */ React__default.createElement("path", __spreadValues$h({ key: k }, v));
|
|
967
967
|
}),
|
|
968
|
-
contents.map((v, k) => v.r && /* @__PURE__ */ React__default.createElement("circle", __spreadValues$
|
|
968
|
+
contents.map((v, k) => v.r && /* @__PURE__ */ React__default.createElement("circle", __spreadValues$h({ key: k }, v)))
|
|
969
969
|
);
|
|
970
970
|
};
|
|
971
971
|
|
|
@@ -1551,25 +1551,25 @@ const ActivityItem = (props) => {
|
|
|
1551
1551
|
return /* @__PURE__ */ React.createElement("div", { onClick: props.onClick, className: "grow cursor-pointer relative rounded-md min-w-64 h-[22rem] overflow-hidden" }, /* @__PURE__ */ React.createElement("img", { className: "h-full w-full object-cover", alt: props.headline, src: props.imageURL }), /* @__PURE__ */ React.createElement("div", { className: "absolute bottom-0 w-full" }, /* @__PURE__ */ React.createElement("div", { className: "p-5 bg-gray-800/75 w-full" }, /* @__PURE__ */ React.createElement("div", { className: "text-sm font-bold text-white w-full" }, props.headline), /* @__PURE__ */ React.createElement("div", { className: "mt-2 flex items-center gap-x-2 w-full" }, /* @__PURE__ */ React.createElement("div", { className: "flex-shrink-0 w-6 h-6 text-white fill-white" }, /* @__PURE__ */ React.createElement(Icon$1, { name: props.pathway || "globe" })), props.pathway && /* @__PURE__ */ React.createElement("span", { className: "grow" }, /* @__PURE__ */ React.createElement("div", { className: "text-sm font-medium capitalize text-white w-full" }, props.pathway)), props.xp && /* @__PURE__ */ React.createElement("div", { className: "text-slate-600 shadow-md whitespace-nowrap font-bold rounded-md text-sm px-5 py-2 bg-cyan-400" }, props.xp, " pts")))));
|
|
1552
1552
|
};
|
|
1553
1553
|
|
|
1554
|
-
var __defProp$
|
|
1555
|
-
var __defProps$
|
|
1556
|
-
var __getOwnPropDescs$
|
|
1557
|
-
var __getOwnPropSymbols$
|
|
1558
|
-
var __hasOwnProp$
|
|
1559
|
-
var __propIsEnum$
|
|
1560
|
-
var __defNormalProp$
|
|
1561
|
-
var __spreadValues$
|
|
1554
|
+
var __defProp$g = Object.defineProperty;
|
|
1555
|
+
var __defProps$d = Object.defineProperties;
|
|
1556
|
+
var __getOwnPropDescs$d = Object.getOwnPropertyDescriptors;
|
|
1557
|
+
var __getOwnPropSymbols$g = Object.getOwnPropertySymbols;
|
|
1558
|
+
var __hasOwnProp$g = Object.prototype.hasOwnProperty;
|
|
1559
|
+
var __propIsEnum$g = Object.prototype.propertyIsEnumerable;
|
|
1560
|
+
var __defNormalProp$g = (obj, key, value) => key in obj ? __defProp$g(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1561
|
+
var __spreadValues$g = (a, b) => {
|
|
1562
1562
|
for (var prop in b || (b = {}))
|
|
1563
|
-
if (__hasOwnProp$
|
|
1564
|
-
__defNormalProp$
|
|
1565
|
-
if (__getOwnPropSymbols$
|
|
1566
|
-
for (var prop of __getOwnPropSymbols$
|
|
1567
|
-
if (__propIsEnum$
|
|
1568
|
-
__defNormalProp$
|
|
1563
|
+
if (__hasOwnProp$g.call(b, prop))
|
|
1564
|
+
__defNormalProp$g(a, prop, b[prop]);
|
|
1565
|
+
if (__getOwnPropSymbols$g)
|
|
1566
|
+
for (var prop of __getOwnPropSymbols$g(b)) {
|
|
1567
|
+
if (__propIsEnum$g.call(b, prop))
|
|
1568
|
+
__defNormalProp$g(a, prop, b[prop]);
|
|
1569
1569
|
}
|
|
1570
1570
|
return a;
|
|
1571
1571
|
};
|
|
1572
|
-
var __spreadProps$
|
|
1572
|
+
var __spreadProps$d = (a, b) => __defProps$d(a, __getOwnPropDescs$d(b));
|
|
1573
1573
|
const TagFilter = (props) => {
|
|
1574
1574
|
const timeTags = ["15 min", "30 min", "45 min", "60 min"];
|
|
1575
1575
|
const skillTags = ["Civic", "College", "Academic", "Personal"];
|
|
@@ -1581,12 +1581,12 @@ const TagFilter = (props) => {
|
|
|
1581
1581
|
const [active, setActive] = React__default.useState(init);
|
|
1582
1582
|
const onTagClick = (tag) => {
|
|
1583
1583
|
if (active[tag]) {
|
|
1584
|
-
setActive(__spreadProps$
|
|
1585
|
-
const tags = Object.entries(__spreadProps$
|
|
1584
|
+
setActive(__spreadProps$d(__spreadValues$g({}, active), { [tag]: false }));
|
|
1585
|
+
const tags = Object.entries(__spreadProps$d(__spreadValues$g({}, active), { [tag]: false })).filter(([, active2]) => active2).map(([tag2]) => tag2);
|
|
1586
1586
|
props.onChange && props.onChange(tags);
|
|
1587
1587
|
} else {
|
|
1588
|
-
setActive(__spreadProps$
|
|
1589
|
-
const tags = Object.entries(__spreadProps$
|
|
1588
|
+
setActive(__spreadProps$d(__spreadValues$g({}, active), { [tag]: true }));
|
|
1589
|
+
const tags = Object.entries(__spreadProps$d(__spreadValues$g({}, active), { [tag]: true })).filter(([, active2]) => active2).map(([tag2]) => tag2);
|
|
1590
1590
|
props.onChange && props.onChange(tags);
|
|
1591
1591
|
}
|
|
1592
1592
|
};
|
|
@@ -1632,25 +1632,25 @@ const debounce = (func, delay) => {
|
|
|
1632
1632
|
};
|
|
1633
1633
|
};
|
|
1634
1634
|
|
|
1635
|
-
var __defProp$
|
|
1636
|
-
var __defProps$
|
|
1637
|
-
var __getOwnPropDescs$
|
|
1638
|
-
var __getOwnPropSymbols$
|
|
1639
|
-
var __hasOwnProp$
|
|
1640
|
-
var __propIsEnum$
|
|
1641
|
-
var __defNormalProp$
|
|
1642
|
-
var __spreadValues$
|
|
1635
|
+
var __defProp$f = Object.defineProperty;
|
|
1636
|
+
var __defProps$c = Object.defineProperties;
|
|
1637
|
+
var __getOwnPropDescs$c = Object.getOwnPropertyDescriptors;
|
|
1638
|
+
var __getOwnPropSymbols$f = Object.getOwnPropertySymbols;
|
|
1639
|
+
var __hasOwnProp$f = Object.prototype.hasOwnProperty;
|
|
1640
|
+
var __propIsEnum$f = Object.prototype.propertyIsEnumerable;
|
|
1641
|
+
var __defNormalProp$f = (obj, key, value) => key in obj ? __defProp$f(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1642
|
+
var __spreadValues$f = (a, b) => {
|
|
1643
1643
|
for (var prop in b || (b = {}))
|
|
1644
|
-
if (__hasOwnProp$
|
|
1645
|
-
__defNormalProp$
|
|
1646
|
-
if (__getOwnPropSymbols$
|
|
1647
|
-
for (var prop of __getOwnPropSymbols$
|
|
1648
|
-
if (__propIsEnum$
|
|
1649
|
-
__defNormalProp$
|
|
1644
|
+
if (__hasOwnProp$f.call(b, prop))
|
|
1645
|
+
__defNormalProp$f(a, prop, b[prop]);
|
|
1646
|
+
if (__getOwnPropSymbols$f)
|
|
1647
|
+
for (var prop of __getOwnPropSymbols$f(b)) {
|
|
1648
|
+
if (__propIsEnum$f.call(b, prop))
|
|
1649
|
+
__defNormalProp$f(a, prop, b[prop]);
|
|
1650
1650
|
}
|
|
1651
1651
|
return a;
|
|
1652
1652
|
};
|
|
1653
|
-
var __spreadProps$
|
|
1653
|
+
var __spreadProps$c = (a, b) => __defProps$c(a, __getOwnPropDescs$c(b));
|
|
1654
1654
|
const ActivityList = (props) => {
|
|
1655
1655
|
var _a;
|
|
1656
1656
|
const primary = !props.top ? null : props.top.length > 0 ? props == null ? void 0 : props.top[0] : null;
|
|
@@ -1668,14 +1668,14 @@ const ActivityList = (props) => {
|
|
|
1668
1668
|
isLoading: props.isLoading,
|
|
1669
1669
|
primary: !props.search && primary && /* @__PURE__ */ React__default.createElement(
|
|
1670
1670
|
ActivityItem,
|
|
1671
|
-
__spreadProps$
|
|
1671
|
+
__spreadProps$c(__spreadValues$f({}, primary), {
|
|
1672
1672
|
onClick: () => props.onActivityClick && props.onActivityClick(primary.activityId)
|
|
1673
1673
|
})
|
|
1674
1674
|
),
|
|
1675
1675
|
top: !props.search && top && top.length > 0 && /* @__PURE__ */ React__default.createElement("article", { className: "grid grid-cols-1 md:flex gap-2 overflow-auto" }, top.map((activity) => {
|
|
1676
1676
|
return /* @__PURE__ */ React__default.createElement(
|
|
1677
1677
|
ActivityItem,
|
|
1678
|
-
__spreadProps$
|
|
1678
|
+
__spreadProps$c(__spreadValues$f({
|
|
1679
1679
|
key: `${activity.activityId}`
|
|
1680
1680
|
}, activity), {
|
|
1681
1681
|
onClick: () => props.onActivityClick && props.onActivityClick(activity.activityId)
|
|
@@ -1685,7 +1685,7 @@ const ActivityList = (props) => {
|
|
|
1685
1685
|
soonest: !props.search && upcoming && upcoming.length > 0 && /* @__PURE__ */ React__default.createElement("article", { className: "grid grid-cols-1 md:flex gap-2 overflow-auto" }, upcoming.map((activity) => {
|
|
1686
1686
|
return /* @__PURE__ */ React__default.createElement(
|
|
1687
1687
|
ActivityItem,
|
|
1688
|
-
__spreadProps$
|
|
1688
|
+
__spreadProps$c(__spreadValues$f({
|
|
1689
1689
|
key: `${activity.activityId}`
|
|
1690
1690
|
}, activity), {
|
|
1691
1691
|
onClick: () => props.onActivityClick && props.onActivityClick(activity.activityId)
|
|
@@ -1695,7 +1695,7 @@ const ActivityList = (props) => {
|
|
|
1695
1695
|
milestones: !props.search && props.milestones && props.milestones.length > 0 && /* @__PURE__ */ React__default.createElement("article", { className: "grid grid-cols-1 md:flex gap-2 overflow-auto" }, props.milestones.map((activity) => {
|
|
1696
1696
|
return /* @__PURE__ */ React__default.createElement(
|
|
1697
1697
|
ActivityItem,
|
|
1698
|
-
__spreadProps$
|
|
1698
|
+
__spreadProps$c(__spreadValues$f({
|
|
1699
1699
|
key: `${activity.activityId}`
|
|
1700
1700
|
}, activity), {
|
|
1701
1701
|
onClick: () => props.onActivityClick && props.onActivityClick(activity.activityId)
|
|
@@ -1706,7 +1706,7 @@ const ActivityList = (props) => {
|
|
|
1706
1706
|
filtered: !!props.search && props.activities && props.activities.length > 0 && /* @__PURE__ */ React__default.createElement("article", { className: "grid grid-cols-1 md:flex gap-2 overflow-auto" }, props.activities.map((activity) => {
|
|
1707
1707
|
return /* @__PURE__ */ React__default.createElement(
|
|
1708
1708
|
ActivityItem,
|
|
1709
|
-
__spreadProps$
|
|
1709
|
+
__spreadProps$c(__spreadValues$f({
|
|
1710
1710
|
key: `${activity.activityId}`
|
|
1711
1711
|
}, activity), {
|
|
1712
1712
|
onClick: () => props.onActivityClick && props.onActivityClick(activity.activityId)
|
|
@@ -1732,25 +1732,25 @@ const Search$1 = ({ send, value }) => {
|
|
|
1732
1732
|
)));
|
|
1733
1733
|
};
|
|
1734
1734
|
|
|
1735
|
-
var __defProp$
|
|
1736
|
-
var __defProps$
|
|
1737
|
-
var __getOwnPropDescs$
|
|
1738
|
-
var __getOwnPropSymbols$
|
|
1739
|
-
var __hasOwnProp$
|
|
1740
|
-
var __propIsEnum$
|
|
1741
|
-
var __defNormalProp$
|
|
1742
|
-
var __spreadValues$
|
|
1735
|
+
var __defProp$e = Object.defineProperty;
|
|
1736
|
+
var __defProps$b = Object.defineProperties;
|
|
1737
|
+
var __getOwnPropDescs$b = Object.getOwnPropertyDescriptors;
|
|
1738
|
+
var __getOwnPropSymbols$e = Object.getOwnPropertySymbols;
|
|
1739
|
+
var __hasOwnProp$e = Object.prototype.hasOwnProperty;
|
|
1740
|
+
var __propIsEnum$e = Object.prototype.propertyIsEnumerable;
|
|
1741
|
+
var __defNormalProp$e = (obj, key, value) => key in obj ? __defProp$e(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1742
|
+
var __spreadValues$e = (a, b) => {
|
|
1743
1743
|
for (var prop in b || (b = {}))
|
|
1744
|
-
if (__hasOwnProp$
|
|
1745
|
-
__defNormalProp$
|
|
1746
|
-
if (__getOwnPropSymbols$
|
|
1747
|
-
for (var prop of __getOwnPropSymbols$
|
|
1748
|
-
if (__propIsEnum$
|
|
1749
|
-
__defNormalProp$
|
|
1744
|
+
if (__hasOwnProp$e.call(b, prop))
|
|
1745
|
+
__defNormalProp$e(a, prop, b[prop]);
|
|
1746
|
+
if (__getOwnPropSymbols$e)
|
|
1747
|
+
for (var prop of __getOwnPropSymbols$e(b)) {
|
|
1748
|
+
if (__propIsEnum$e.call(b, prop))
|
|
1749
|
+
__defNormalProp$e(a, prop, b[prop]);
|
|
1750
1750
|
}
|
|
1751
1751
|
return a;
|
|
1752
1752
|
};
|
|
1753
|
-
var __spreadProps$
|
|
1753
|
+
var __spreadProps$b = (a, b) => __defProps$b(a, __getOwnPropDescs$b(b));
|
|
1754
1754
|
const ActivityReflection = (props) => {
|
|
1755
1755
|
const className = builder("w-full md:w-[40rem]").if(!!props.headline, "min-h-[20rem]").build();
|
|
1756
1756
|
const [reaction, setReaction] = React__default.useState({
|
|
@@ -1758,8 +1758,8 @@ const ActivityReflection = (props) => {
|
|
|
1758
1758
|
reflection: props.reflection
|
|
1759
1759
|
});
|
|
1760
1760
|
const hasChanges = props.hasChanges || props.canReflect && (props.rating !== reaction.rating || props.reflection !== reaction.reflection);
|
|
1761
|
-
const setFeedback = (feedback) => setReaction(__spreadProps$
|
|
1762
|
-
const setRating = (rating) => setReaction(__spreadProps$
|
|
1761
|
+
const setFeedback = (feedback) => setReaction(__spreadProps$b(__spreadValues$e({}, reaction), { reflection: feedback }));
|
|
1762
|
+
const setRating = (rating) => setReaction(__spreadProps$b(__spreadValues$e({}, reaction), { rating }));
|
|
1763
1763
|
React__default.useEffect(() => {
|
|
1764
1764
|
setReaction({
|
|
1765
1765
|
rating: props.rating,
|
|
@@ -1786,7 +1786,7 @@ const ActivityReflection = (props) => {
|
|
|
1786
1786
|
defaultValue: props.reflection,
|
|
1787
1787
|
className: "resize-none text-slate-500 focus:text-slate-600 h-24 mt-1 block w-full px-3 py-2 bg-white border border-slate-300 rounded-md text-sm shadow-sm placeholder-slate-400\n focus:outline-none focus:border-sky-500 focus:ring-1 focus:ring-sky-500\n disabled:bg-slate-50 disabled:text-slate-500 disabled:border-slate-200 disabled:shadow-none\n invalid:border-pink-500 invalid:text-pink-600\n focus:invalid:border-pink-500 focus:invalid:ring-pink-500"
|
|
1788
1788
|
}
|
|
1789
|
-
), props.canReflect && /* @__PURE__ */ React__default.createElement(Rating$1, __spreadProps$
|
|
1789
|
+
), props.canReflect && /* @__PURE__ */ React__default.createElement(Rating$1, __spreadProps$b(__spreadValues$e(__spreadValues$e({}, props), reaction), { setRating })))))));
|
|
1790
1790
|
};
|
|
1791
1791
|
const Rating$1 = (props) => {
|
|
1792
1792
|
const maxPoints = 5;
|
|
@@ -3192,25 +3192,25 @@ const Overlay = (props) => {
|
|
|
3192
3192
|
return /* @__PURE__ */ React.createElement("div", { className: "flex fixed overscroll-none w-screen h-screen top-0 left-0 bg-gray-300/75 z-30" }, props.children);
|
|
3193
3193
|
};
|
|
3194
3194
|
|
|
3195
|
-
var __defProp$
|
|
3196
|
-
var __defProps$
|
|
3197
|
-
var __getOwnPropDescs$
|
|
3198
|
-
var __getOwnPropSymbols$
|
|
3199
|
-
var __hasOwnProp$
|
|
3200
|
-
var __propIsEnum$
|
|
3201
|
-
var __defNormalProp$
|
|
3202
|
-
var __spreadValues$
|
|
3195
|
+
var __defProp$d = Object.defineProperty;
|
|
3196
|
+
var __defProps$a = Object.defineProperties;
|
|
3197
|
+
var __getOwnPropDescs$a = Object.getOwnPropertyDescriptors;
|
|
3198
|
+
var __getOwnPropSymbols$d = Object.getOwnPropertySymbols;
|
|
3199
|
+
var __hasOwnProp$d = Object.prototype.hasOwnProperty;
|
|
3200
|
+
var __propIsEnum$d = Object.prototype.propertyIsEnumerable;
|
|
3201
|
+
var __defNormalProp$d = (obj, key, value) => key in obj ? __defProp$d(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3202
|
+
var __spreadValues$d = (a, b) => {
|
|
3203
3203
|
for (var prop in b || (b = {}))
|
|
3204
|
-
if (__hasOwnProp$
|
|
3205
|
-
__defNormalProp$
|
|
3206
|
-
if (__getOwnPropSymbols$
|
|
3207
|
-
for (var prop of __getOwnPropSymbols$
|
|
3208
|
-
if (__propIsEnum$
|
|
3209
|
-
__defNormalProp$
|
|
3204
|
+
if (__hasOwnProp$d.call(b, prop))
|
|
3205
|
+
__defNormalProp$d(a, prop, b[prop]);
|
|
3206
|
+
if (__getOwnPropSymbols$d)
|
|
3207
|
+
for (var prop of __getOwnPropSymbols$d(b)) {
|
|
3208
|
+
if (__propIsEnum$d.call(b, prop))
|
|
3209
|
+
__defNormalProp$d(a, prop, b[prop]);
|
|
3210
3210
|
}
|
|
3211
3211
|
return a;
|
|
3212
3212
|
};
|
|
3213
|
-
var __spreadProps$
|
|
3213
|
+
var __spreadProps$a = (a, b) => __defProps$a(a, __getOwnPropDescs$a(b));
|
|
3214
3214
|
const Badge = (props) => {
|
|
3215
3215
|
var _a, _b;
|
|
3216
3216
|
const [open, setOpen] = React.useState(props.open || false);
|
|
@@ -3228,7 +3228,7 @@ const Badge = (props) => {
|
|
|
3228
3228
|
props.onClose();
|
|
3229
3229
|
}
|
|
3230
3230
|
};
|
|
3231
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, !open && /* @__PURE__ */ React.createElement(BadgeButton, __spreadProps$
|
|
3231
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, !open && /* @__PURE__ */ React.createElement(BadgeButton, __spreadProps$a(__spreadValues$d({}, props), { progress, target, onClick: onOpen })), open && !!props.preview && /* @__PURE__ */ React.createElement(BadgeCard, __spreadProps$a(__spreadValues$d({}, props), { onClose })), open && !props.preview && /* @__PURE__ */ React.createElement(Overlay, null, /* @__PURE__ */ React.createElement(BadgeCard, __spreadProps$a(__spreadValues$d({}, props), { onClose }))));
|
|
3232
3232
|
};
|
|
3233
3233
|
|
|
3234
3234
|
const BadgeActivity = (props) => {
|
|
@@ -3263,25 +3263,25 @@ const BadgeActivity = (props) => {
|
|
|
3263
3263
|
})))));
|
|
3264
3264
|
};
|
|
3265
3265
|
|
|
3266
|
-
var __defProp$
|
|
3267
|
-
var __defProps$
|
|
3268
|
-
var __getOwnPropDescs$
|
|
3269
|
-
var __getOwnPropSymbols$
|
|
3270
|
-
var __hasOwnProp$
|
|
3271
|
-
var __propIsEnum$
|
|
3272
|
-
var __defNormalProp$
|
|
3273
|
-
var __spreadValues$
|
|
3266
|
+
var __defProp$c = Object.defineProperty;
|
|
3267
|
+
var __defProps$9 = Object.defineProperties;
|
|
3268
|
+
var __getOwnPropDescs$9 = Object.getOwnPropertyDescriptors;
|
|
3269
|
+
var __getOwnPropSymbols$c = Object.getOwnPropertySymbols;
|
|
3270
|
+
var __hasOwnProp$c = Object.prototype.hasOwnProperty;
|
|
3271
|
+
var __propIsEnum$c = Object.prototype.propertyIsEnumerable;
|
|
3272
|
+
var __defNormalProp$c = (obj, key, value) => key in obj ? __defProp$c(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3273
|
+
var __spreadValues$c = (a, b) => {
|
|
3274
3274
|
for (var prop in b || (b = {}))
|
|
3275
|
-
if (__hasOwnProp$
|
|
3276
|
-
__defNormalProp$
|
|
3277
|
-
if (__getOwnPropSymbols$
|
|
3278
|
-
for (var prop of __getOwnPropSymbols$
|
|
3279
|
-
if (__propIsEnum$
|
|
3280
|
-
__defNormalProp$
|
|
3275
|
+
if (__hasOwnProp$c.call(b, prop))
|
|
3276
|
+
__defNormalProp$c(a, prop, b[prop]);
|
|
3277
|
+
if (__getOwnPropSymbols$c)
|
|
3278
|
+
for (var prop of __getOwnPropSymbols$c(b)) {
|
|
3279
|
+
if (__propIsEnum$c.call(b, prop))
|
|
3280
|
+
__defNormalProp$c(a, prop, b[prop]);
|
|
3281
3281
|
}
|
|
3282
3282
|
return a;
|
|
3283
3283
|
};
|
|
3284
|
-
var __spreadProps$
|
|
3284
|
+
var __spreadProps$9 = (a, b) => __defProps$9(a, __getOwnPropDescs$9(b));
|
|
3285
3285
|
const BadgeActivityMenu = (props) => {
|
|
3286
3286
|
const criteria = props.criteria || [];
|
|
3287
3287
|
return /* @__PURE__ */ React.createElement("div", { className: "grid grid-cols-1 gap-y-4 w-full text-zinc-600" }, /* @__PURE__ */ React.createElement("div", { className: "py-8 px-10 grid grid-cols-1 gap-y-5 rounded-b-md border-b border-x border-zinc-100" }, /* @__PURE__ */ React.createElement(
|
|
@@ -3298,7 +3298,7 @@ const BadgeActivityMenu = (props) => {
|
|
|
3298
3298
|
return /* @__PURE__ */ React.createElement("div", { key: id, className: "grid grid-cols-1 gap-y-8" }, /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("p", { className: "text-lg font-semibold" }, c.displayName), /* @__PURE__ */ React.createElement("p", { className: "text-sm" }, "Chose one activity to complete.")), /* @__PURE__ */ React.createElement("div", { className: "grid grid-flow-col auto-cols-max gap-4 px-1 pt-1 pb-2 w-full overflow-x-auto" }, options.map((o, i2) => {
|
|
3299
3299
|
const id2 = o.activityId || i2;
|
|
3300
3300
|
const date = o.startTime ? new Date(o.startTime) : null;
|
|
3301
|
-
return /* @__PURE__ */ React.createElement("div", { key: id2, className: "grid grid-cols-1 gap-y-2" }, date && /* @__PURE__ */ React.createElement("p", null, Intl.DateTimeFormat("en-US", { month: "long" }).format(date), " ", ordNumber$1(date.getDate())), !date && /* @__PURE__ */ React.createElement("p", { className: "invisible" }, "Online"), /* @__PURE__ */ React.createElement(BadgeActivity, __spreadProps$
|
|
3301
|
+
return /* @__PURE__ */ React.createElement("div", { key: id2, className: "grid grid-cols-1 gap-y-2" }, date && /* @__PURE__ */ React.createElement("p", null, Intl.DateTimeFormat("en-US", { month: "long" }).format(date), " ", ordNumber$1(date.getDate())), !date && /* @__PURE__ */ React.createElement("p", { className: "invisible" }, "Online"), /* @__PURE__ */ React.createElement(BadgeActivity, __spreadProps$9(__spreadValues$c({}, o), { criteriaName: c.displayName })));
|
|
3302
3302
|
})));
|
|
3303
3303
|
})));
|
|
3304
3304
|
};
|
|
@@ -3343,25 +3343,25 @@ const Widget = (props) => {
|
|
|
3343
3343
|
return /* @__PURE__ */ React__default.createElement("article", { className }, !props.headless && /* @__PURE__ */ React__default.createElement("div", { className: "p-2 bg-gray-200" }), /* @__PURE__ */ React__default.createElement(Loader, { isLoading: props.isLoading }, /* @__PURE__ */ React__default.createElement("div", { className: "relative w-full" }, props.children)));
|
|
3344
3344
|
};
|
|
3345
3345
|
|
|
3346
|
-
var __defProp$
|
|
3347
|
-
var __defProps$
|
|
3348
|
-
var __getOwnPropDescs$
|
|
3349
|
-
var __getOwnPropSymbols$
|
|
3350
|
-
var __hasOwnProp$
|
|
3351
|
-
var __propIsEnum$
|
|
3352
|
-
var __defNormalProp$
|
|
3353
|
-
var __spreadValues$
|
|
3346
|
+
var __defProp$b = Object.defineProperty;
|
|
3347
|
+
var __defProps$8 = Object.defineProperties;
|
|
3348
|
+
var __getOwnPropDescs$8 = Object.getOwnPropertyDescriptors;
|
|
3349
|
+
var __getOwnPropSymbols$b = Object.getOwnPropertySymbols;
|
|
3350
|
+
var __hasOwnProp$b = Object.prototype.hasOwnProperty;
|
|
3351
|
+
var __propIsEnum$b = Object.prototype.propertyIsEnumerable;
|
|
3352
|
+
var __defNormalProp$b = (obj, key, value) => key in obj ? __defProp$b(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3353
|
+
var __spreadValues$b = (a, b) => {
|
|
3354
3354
|
for (var prop in b || (b = {}))
|
|
3355
|
-
if (__hasOwnProp$
|
|
3356
|
-
__defNormalProp$
|
|
3357
|
-
if (__getOwnPropSymbols$
|
|
3358
|
-
for (var prop of __getOwnPropSymbols$
|
|
3359
|
-
if (__propIsEnum$
|
|
3360
|
-
__defNormalProp$
|
|
3355
|
+
if (__hasOwnProp$b.call(b, prop))
|
|
3356
|
+
__defNormalProp$b(a, prop, b[prop]);
|
|
3357
|
+
if (__getOwnPropSymbols$b)
|
|
3358
|
+
for (var prop of __getOwnPropSymbols$b(b)) {
|
|
3359
|
+
if (__propIsEnum$b.call(b, prop))
|
|
3360
|
+
__defNormalProp$b(a, prop, b[prop]);
|
|
3361
3361
|
}
|
|
3362
3362
|
return a;
|
|
3363
3363
|
};
|
|
3364
|
-
var __spreadProps$
|
|
3364
|
+
var __spreadProps$8 = (a, b) => __defProps$8(a, __getOwnPropDescs$8(b));
|
|
3365
3365
|
const DEFAULT_FILTERS = [
|
|
3366
3366
|
{ label: "In Progress" },
|
|
3367
3367
|
{ label: "Completed" },
|
|
@@ -3392,7 +3392,7 @@ const BadgeSection = (props) => {
|
|
|
3392
3392
|
const filterKey = JSON.stringify(filterValues);
|
|
3393
3393
|
const preview = props.readonly ? collected.slice(0, 10) : props.badges.slice(0, 3);
|
|
3394
3394
|
const filterClassName = "inline-block px-4 py-3 bg-gray-600 text-white rounded-full cursor-pointer";
|
|
3395
|
-
const layoutClassName = getLayout(list);
|
|
3395
|
+
const layoutClassName = getLayout$1(list);
|
|
3396
3396
|
const numberOfActiveFilters = activeFilters(filterValues).length;
|
|
3397
3397
|
const isWithoutFilters = numberOfActiveFilters === 0;
|
|
3398
3398
|
const showSectionHeaders = numberOfActiveFilters > 1 || numberOfActiveFilters === 0;
|
|
@@ -3421,7 +3421,7 @@ const BadgeSection = (props) => {
|
|
|
3421
3421
|
if (!(opt.label in filters)) {
|
|
3422
3422
|
return;
|
|
3423
3423
|
}
|
|
3424
|
-
const next = __spreadValues$
|
|
3424
|
+
const next = __spreadValues$b({}, filters);
|
|
3425
3425
|
next[opt.label].isActive = !next[opt.label].isActive;
|
|
3426
3426
|
setFilters(next);
|
|
3427
3427
|
},
|
|
@@ -3447,18 +3447,18 @@ const BadgeSection = (props) => {
|
|
|
3447
3447
|
},
|
|
3448
3448
|
"Grid View?"
|
|
3449
3449
|
)))), /* @__PURE__ */ React.createElement("div", null, !!props.readonly && /* @__PURE__ */ React.createElement("div", { className: layoutClassName }, preview.map((b, i) => {
|
|
3450
|
-
return /* @__PURE__ */ React.createElement(Badge, __spreadProps$
|
|
3450
|
+
return /* @__PURE__ */ React.createElement(Badge, __spreadProps$8(__spreadValues$b({ key: i }, b), { compact: list, readonly: props.readonly }));
|
|
3451
3451
|
})), !props.readonly && /* @__PURE__ */ React.createElement("div", { className: "text-zinc-600 grid grid-cols-1 gap-y-4" }, (isWithoutFilters || "In Progress" in filters && filters["In Progress"].isActive) && progress.length > 0 && /* @__PURE__ */ React.createElement("div", null, showSectionHeaders && /* @__PURE__ */ React.createElement("p", { className: "mb-3 text-md underline font-bold" }, "In Progress"), /* @__PURE__ */ React.createElement("div", { className: layoutClassName }, progress.map((b, i) => {
|
|
3452
|
-
return /* @__PURE__ */ React.createElement(Badge, __spreadProps$
|
|
3452
|
+
return /* @__PURE__ */ React.createElement(Badge, __spreadProps$8(__spreadValues$b({ key: i }, b), { compact: list }));
|
|
3453
3453
|
}))), (isWithoutFilters || "Completed" in filters && filters["Completed"].isActive) && collected.length > 0 && /* @__PURE__ */ React.createElement("div", null, showSectionHeaders && /* @__PURE__ */ React.createElement("p", { className: "mb-3 text-md underline font-bold" }, "Completed"), /* @__PURE__ */ React.createElement("div", { className: layoutClassName }, collected.map((b, i) => {
|
|
3454
|
-
return /* @__PURE__ */ React.createElement(Badge, __spreadProps$
|
|
3454
|
+
return /* @__PURE__ */ React.createElement(Badge, __spreadProps$8(__spreadValues$b({ key: i }, b), { compact: list }));
|
|
3455
3455
|
}))), (isWithoutFilters || "Available" in filters && filters["Available"].isActive) && available.length > 0 && /* @__PURE__ */ React.createElement("div", null, showSectionHeaders && /* @__PURE__ */ React.createElement("p", { className: "mb-3 text-md underline font-bold" }, "Available"), /* @__PURE__ */ React.createElement("div", { className: layoutClassName }, available.map((b, i) => {
|
|
3456
|
-
return /* @__PURE__ */ React.createElement(Badge, __spreadProps$
|
|
3456
|
+
return /* @__PURE__ */ React.createElement(Badge, __spreadProps$8(__spreadValues$b({ key: i }, b), { compact: list }));
|
|
3457
3457
|
}))), (isWithoutFilters || "Locked" in filters && filters["Locked"].isActive) && locked.length > 0 && /* @__PURE__ */ React.createElement("div", null, showSectionHeaders && /* @__PURE__ */ React.createElement("p", { className: "mb-3 text-md underline font-bold" }, "Locked"), /* @__PURE__ */ React.createElement("div", { className: layoutClassName }, locked.map((b, i) => {
|
|
3458
|
-
return /* @__PURE__ */ React.createElement(Badge, __spreadProps$
|
|
3458
|
+
return /* @__PURE__ */ React.createElement(Badge, __spreadProps$8(__spreadValues$b({ key: i }, b), { compact: list }));
|
|
3459
3459
|
}))))))))));
|
|
3460
3460
|
};
|
|
3461
|
-
const getLayout = (list) => {
|
|
3461
|
+
const getLayout$1 = (list) => {
|
|
3462
3462
|
if (list) {
|
|
3463
3463
|
return "grid grid-cols-1 overflow-y-auto max-h-96";
|
|
3464
3464
|
}
|
|
@@ -3746,25 +3746,25 @@ const linkify = (text) => {
|
|
|
3746
3746
|
return replacedText;
|
|
3747
3747
|
};
|
|
3748
3748
|
|
|
3749
|
-
var __defProp$
|
|
3750
|
-
var __defProps$
|
|
3751
|
-
var __getOwnPropDescs$
|
|
3752
|
-
var __getOwnPropSymbols$
|
|
3753
|
-
var __hasOwnProp$
|
|
3754
|
-
var __propIsEnum$
|
|
3755
|
-
var __defNormalProp$
|
|
3756
|
-
var __spreadValues$
|
|
3749
|
+
var __defProp$a = Object.defineProperty;
|
|
3750
|
+
var __defProps$7 = Object.defineProperties;
|
|
3751
|
+
var __getOwnPropDescs$7 = Object.getOwnPropertyDescriptors;
|
|
3752
|
+
var __getOwnPropSymbols$a = Object.getOwnPropertySymbols;
|
|
3753
|
+
var __hasOwnProp$a = Object.prototype.hasOwnProperty;
|
|
3754
|
+
var __propIsEnum$a = Object.prototype.propertyIsEnumerable;
|
|
3755
|
+
var __defNormalProp$a = (obj, key, value) => key in obj ? __defProp$a(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3756
|
+
var __spreadValues$a = (a, b) => {
|
|
3757
3757
|
for (var prop in b || (b = {}))
|
|
3758
|
-
if (__hasOwnProp$
|
|
3759
|
-
__defNormalProp$
|
|
3760
|
-
if (__getOwnPropSymbols$
|
|
3761
|
-
for (var prop of __getOwnPropSymbols$
|
|
3762
|
-
if (__propIsEnum$
|
|
3763
|
-
__defNormalProp$
|
|
3758
|
+
if (__hasOwnProp$a.call(b, prop))
|
|
3759
|
+
__defNormalProp$a(a, prop, b[prop]);
|
|
3760
|
+
if (__getOwnPropSymbols$a)
|
|
3761
|
+
for (var prop of __getOwnPropSymbols$a(b)) {
|
|
3762
|
+
if (__propIsEnum$a.call(b, prop))
|
|
3763
|
+
__defNormalProp$a(a, prop, b[prop]);
|
|
3764
3764
|
}
|
|
3765
3765
|
return a;
|
|
3766
3766
|
};
|
|
3767
|
-
var __spreadProps$
|
|
3767
|
+
var __spreadProps$7 = (a, b) => __defProps$7(a, __getOwnPropDescs$7(b));
|
|
3768
3768
|
const FormItem = (props) => {
|
|
3769
3769
|
const responses = props.responses || [];
|
|
3770
3770
|
const notEmpty = responses.length > 0 && responses[0].trim() !== "";
|
|
@@ -3791,28 +3791,28 @@ const FormItem = (props) => {
|
|
|
3791
3791
|
}
|
|
3792
3792
|
}, [isTextError]);
|
|
3793
3793
|
const marginBottom = props.format === "text" ? "-mb-7" : "";
|
|
3794
|
-
return /* @__PURE__ */ React__default.createElement("div", { className: `bg-white rounded-md p-5 shadow-sm grid grid-cols-1 gap-y-8 ${itemContainerError} ${marginBottom}` }, props.displayName && /* @__PURE__ */ React__default.createElement("div", { className: "flex gap-x-1" }, /* @__PURE__ */ React__default.createElement("div", { className: "flex items-start gap-x-4" }, props.format === "question" && /* @__PURE__ */ React__default.createElement("div", { className: `${checkIconColor} w-5 h-5 mt-1` }, /* @__PURE__ */ React__default.createElement(Icon$1, { name: "positive" })), /* @__PURE__ */ React__default.createElement("div", { className: "grow max-w-lg" }, props.displayName && /* @__PURE__ */ React__default.createElement("p", { className: "flex-auto text-lg text-slate-600 font-semibold whitespace-pre-line" }, linkify(props.displayName)), props.description && /* @__PURE__ */ React__default.createElement("p", { className: "text-sm text-slate-400 whitespace-pre-line" }, linkify(props.description)))), props.required && /* @__PURE__ */ React__default.createElement("p", { className: "text-sm text-rose-600" }, "*")), !props.children && props.format !== "text" && /* @__PURE__ */ React__default.createElement("div", { className: `${contentMaxWidth} ml-1` }, /* @__PURE__ */ React__default.createElement(Switch, __spreadProps$
|
|
3794
|
+
return /* @__PURE__ */ React__default.createElement("div", { className: `bg-white rounded-md p-5 shadow-sm grid grid-cols-1 gap-y-8 ${itemContainerError} ${marginBottom}` }, props.displayName && /* @__PURE__ */ React__default.createElement("div", { className: "flex gap-x-1" }, /* @__PURE__ */ React__default.createElement("div", { className: "flex items-start gap-x-4" }, props.format === "question" && /* @__PURE__ */ React__default.createElement("div", { className: `${checkIconColor} w-5 h-5 mt-1` }, /* @__PURE__ */ React__default.createElement(Icon$1, { name: "positive" })), /* @__PURE__ */ React__default.createElement("div", { className: "grow max-w-lg" }, props.displayName && /* @__PURE__ */ React__default.createElement("p", { className: "flex-auto text-lg text-slate-600 font-semibold whitespace-pre-line" }, linkify(props.displayName)), props.description && /* @__PURE__ */ React__default.createElement("p", { className: "text-sm text-slate-400 whitespace-pre-line" }, linkify(props.description)))), props.required && /* @__PURE__ */ React__default.createElement("p", { className: "text-sm text-rose-600" }, "*")), !props.children && props.format !== "text" && /* @__PURE__ */ React__default.createElement("div", { className: `${contentMaxWidth} ml-1` }, /* @__PURE__ */ React__default.createElement(Switch, __spreadProps$7(__spreadValues$a({}, props), { onTextBlur })), showError && /* @__PURE__ */ React__default.createElement("div", { className: "text-rose-300 flex items-center gap-x-2 mt-4" }, /* @__PURE__ */ React__default.createElement("div", { className: "w-4 h-4" }, /* @__PURE__ */ React__default.createElement(Icon$1, { name: "negative" })), /* @__PURE__ */ React__default.createElement("span", { className: "grow text-sm" }, "Must be a minimum of ", minimum, " characters."))), props.children);
|
|
3795
3795
|
};
|
|
3796
3796
|
const Switch = (props) => {
|
|
3797
3797
|
switch (true) {
|
|
3798
3798
|
case props.format === "embed":
|
|
3799
|
-
return /* @__PURE__ */ React__default.createElement(Embed, __spreadValues$
|
|
3799
|
+
return /* @__PURE__ */ React__default.createElement(Embed, __spreadValues$a({}, props));
|
|
3800
3800
|
case props.format === "image":
|
|
3801
|
-
return /* @__PURE__ */ React__default.createElement(Image, __spreadValues$
|
|
3801
|
+
return /* @__PURE__ */ React__default.createElement(Image, __spreadValues$a({}, props));
|
|
3802
3802
|
case props.questionType === "radio":
|
|
3803
|
-
return /* @__PURE__ */ React__default.createElement(RadioQuestion, __spreadValues$
|
|
3803
|
+
return /* @__PURE__ */ React__default.createElement(RadioQuestion, __spreadValues$a({}, props));
|
|
3804
3804
|
case props.questionType === "checkbox":
|
|
3805
|
-
return /* @__PURE__ */ React__default.createElement(CheckboxQuestion, __spreadValues$
|
|
3805
|
+
return /* @__PURE__ */ React__default.createElement(CheckboxQuestion, __spreadValues$a({}, props));
|
|
3806
3806
|
case props.questionType === "drop down":
|
|
3807
|
-
return /* @__PURE__ */ React__default.createElement(DropDownQuestion, __spreadValues$
|
|
3807
|
+
return /* @__PURE__ */ React__default.createElement(DropDownQuestion, __spreadValues$a({}, props));
|
|
3808
3808
|
case props.questionType === "file upload":
|
|
3809
|
-
return /* @__PURE__ */ React__default.createElement(FileUploadQuestion, __spreadValues$
|
|
3809
|
+
return /* @__PURE__ */ React__default.createElement(FileUploadQuestion, __spreadValues$a({}, props));
|
|
3810
3810
|
case props.questionType === "text":
|
|
3811
|
-
return /* @__PURE__ */ React__default.createElement(TextQuestion, __spreadValues$
|
|
3811
|
+
return /* @__PURE__ */ React__default.createElement(TextQuestion, __spreadValues$a({}, props));
|
|
3812
3812
|
case props.questionType === "date":
|
|
3813
|
-
return /* @__PURE__ */ React__default.createElement(DateQuestion, __spreadValues$
|
|
3813
|
+
return /* @__PURE__ */ React__default.createElement(DateQuestion, __spreadValues$a({}, props));
|
|
3814
3814
|
case props.questionType === "time":
|
|
3815
|
-
return /* @__PURE__ */ React__default.createElement(TimeQuestion, __spreadValues$
|
|
3815
|
+
return /* @__PURE__ */ React__default.createElement(TimeQuestion, __spreadValues$a({}, props));
|
|
3816
3816
|
default:
|
|
3817
3817
|
return null;
|
|
3818
3818
|
}
|
|
@@ -4169,25 +4169,25 @@ const FormSubmitDialog$1 = (props) => {
|
|
|
4169
4169
|
))));
|
|
4170
4170
|
};
|
|
4171
4171
|
|
|
4172
|
-
var __defProp$
|
|
4173
|
-
var __defProps$
|
|
4174
|
-
var __getOwnPropDescs$
|
|
4175
|
-
var __getOwnPropSymbols$
|
|
4176
|
-
var __hasOwnProp$
|
|
4177
|
-
var __propIsEnum$
|
|
4178
|
-
var __defNormalProp$
|
|
4179
|
-
var __spreadValues$
|
|
4172
|
+
var __defProp$9 = Object.defineProperty;
|
|
4173
|
+
var __defProps$6 = Object.defineProperties;
|
|
4174
|
+
var __getOwnPropDescs$6 = Object.getOwnPropertyDescriptors;
|
|
4175
|
+
var __getOwnPropSymbols$9 = Object.getOwnPropertySymbols;
|
|
4176
|
+
var __hasOwnProp$9 = Object.prototype.hasOwnProperty;
|
|
4177
|
+
var __propIsEnum$9 = Object.prototype.propertyIsEnumerable;
|
|
4178
|
+
var __defNormalProp$9 = (obj, key, value) => key in obj ? __defProp$9(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4179
|
+
var __spreadValues$9 = (a, b) => {
|
|
4180
4180
|
for (var prop in b || (b = {}))
|
|
4181
|
-
if (__hasOwnProp$
|
|
4182
|
-
__defNormalProp$
|
|
4183
|
-
if (__getOwnPropSymbols$
|
|
4184
|
-
for (var prop of __getOwnPropSymbols$
|
|
4185
|
-
if (__propIsEnum$
|
|
4186
|
-
__defNormalProp$
|
|
4181
|
+
if (__hasOwnProp$9.call(b, prop))
|
|
4182
|
+
__defNormalProp$9(a, prop, b[prop]);
|
|
4183
|
+
if (__getOwnPropSymbols$9)
|
|
4184
|
+
for (var prop of __getOwnPropSymbols$9(b)) {
|
|
4185
|
+
if (__propIsEnum$9.call(b, prop))
|
|
4186
|
+
__defNormalProp$9(a, prop, b[prop]);
|
|
4187
4187
|
}
|
|
4188
4188
|
return a;
|
|
4189
4189
|
};
|
|
4190
|
-
var __spreadProps$
|
|
4190
|
+
var __spreadProps$6 = (a, b) => __defProps$6(a, __getOwnPropDescs$6(b));
|
|
4191
4191
|
const AUTOSAVE_TIMEOUT = 30 * 1e3;
|
|
4192
4192
|
const MIN_REFLECTION_LENGTH = 0;
|
|
4193
4193
|
const autoSave = (run, func, callback) => {
|
|
@@ -4298,7 +4298,7 @@ const LearningForm = (props) => {
|
|
|
4298
4298
|
/* @__PURE__ */ React__default.createElement("div", { className: "w-3 h-3 min-w-3" }, /* @__PURE__ */ React__default.createElement(Icon$1, { name: "leftArrow" })),
|
|
4299
4299
|
/* @__PURE__ */ React__default.createElement("span", { className: "text-md" }, "Back")
|
|
4300
4300
|
), !!props.displayName && /* @__PURE__ */ React__default.createElement("h2", { className: "h-max font-semibold text-2xl" }, props.displayName), !!props.description && /* @__PURE__ */ React__default.createElement("p", { className: "h-max max-h-[14rem] overflow-y-auto whitespace-pre-line" }, props.description), !!props.eta && /* @__PURE__ */ React__default.createElement("p", { className: "text-sm h-max font-semibold" }, "Estimated Completion Time: ", props.eta)), /* @__PURE__ */ React__default.createElement("img", { className: "grow h-full max-h-[30rem] w-full object-cover", alt: props.displayName, src: props.imageURL })), /* @__PURE__ */ React__default.createElement("form", { className: "w-full max-w-[64rem] m-auto grid grid-cols-1 gap-y-12", onSubmit }, items.map((item) => {
|
|
4301
|
-
return /* @__PURE__ */ React__default.createElement(FormItem, __spreadProps$
|
|
4301
|
+
return /* @__PURE__ */ React__default.createElement(FormItem, __spreadProps$6(__spreadValues$9({ key: item.itemId }, item), { minText: 0, disabled: !!props.preview }));
|
|
4302
4302
|
}), /* @__PURE__ */ React__default.createElement(
|
|
4303
4303
|
FormItem,
|
|
4304
4304
|
{
|
|
@@ -4377,19 +4377,19 @@ const Rating = (props) => {
|
|
|
4377
4377
|
)));
|
|
4378
4378
|
};
|
|
4379
4379
|
|
|
4380
|
-
var __defProp$
|
|
4381
|
-
var __getOwnPropSymbols$
|
|
4382
|
-
var __hasOwnProp$
|
|
4383
|
-
var __propIsEnum$
|
|
4384
|
-
var __defNormalProp$
|
|
4385
|
-
var __spreadValues$
|
|
4380
|
+
var __defProp$8 = Object.defineProperty;
|
|
4381
|
+
var __getOwnPropSymbols$8 = Object.getOwnPropertySymbols;
|
|
4382
|
+
var __hasOwnProp$8 = Object.prototype.hasOwnProperty;
|
|
4383
|
+
var __propIsEnum$8 = Object.prototype.propertyIsEnumerable;
|
|
4384
|
+
var __defNormalProp$8 = (obj, key, value) => key in obj ? __defProp$8(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4385
|
+
var __spreadValues$8 = (a, b) => {
|
|
4386
4386
|
for (var prop in b || (b = {}))
|
|
4387
|
-
if (__hasOwnProp$
|
|
4388
|
-
__defNormalProp$
|
|
4389
|
-
if (__getOwnPropSymbols$
|
|
4390
|
-
for (var prop of __getOwnPropSymbols$
|
|
4391
|
-
if (__propIsEnum$
|
|
4392
|
-
__defNormalProp$
|
|
4387
|
+
if (__hasOwnProp$8.call(b, prop))
|
|
4388
|
+
__defNormalProp$8(a, prop, b[prop]);
|
|
4389
|
+
if (__getOwnPropSymbols$8)
|
|
4390
|
+
for (var prop of __getOwnPropSymbols$8(b)) {
|
|
4391
|
+
if (__propIsEnum$8.call(b, prop))
|
|
4392
|
+
__defNormalProp$8(a, prop, b[prop]);
|
|
4393
4393
|
}
|
|
4394
4394
|
return a;
|
|
4395
4395
|
};
|
|
@@ -4398,7 +4398,7 @@ const NavLink = (props) => {
|
|
|
4398
4398
|
const config = defaultConfig();
|
|
4399
4399
|
withMenu(config, props.menu);
|
|
4400
4400
|
withName(config, props.name);
|
|
4401
|
-
return /* @__PURE__ */ React__default.createElement(Button, __spreadValues$
|
|
4401
|
+
return /* @__PURE__ */ React__default.createElement(Button, __spreadValues$8({ disabled: props.disabled, active: props.active, onClick }, config));
|
|
4402
4402
|
};
|
|
4403
4403
|
const defaultConfig = () => {
|
|
4404
4404
|
return {};
|
|
@@ -4473,25 +4473,25 @@ const withName = (config, name) => {
|
|
|
4473
4473
|
}
|
|
4474
4474
|
};
|
|
4475
4475
|
|
|
4476
|
-
var __defProp$
|
|
4477
|
-
var __defProps$
|
|
4478
|
-
var __getOwnPropDescs$
|
|
4479
|
-
var __getOwnPropSymbols$
|
|
4480
|
-
var __hasOwnProp$
|
|
4481
|
-
var __propIsEnum$
|
|
4482
|
-
var __defNormalProp$
|
|
4483
|
-
var __spreadValues$
|
|
4476
|
+
var __defProp$7 = Object.defineProperty;
|
|
4477
|
+
var __defProps$5 = Object.defineProperties;
|
|
4478
|
+
var __getOwnPropDescs$5 = Object.getOwnPropertyDescriptors;
|
|
4479
|
+
var __getOwnPropSymbols$7 = Object.getOwnPropertySymbols;
|
|
4480
|
+
var __hasOwnProp$7 = Object.prototype.hasOwnProperty;
|
|
4481
|
+
var __propIsEnum$7 = Object.prototype.propertyIsEnumerable;
|
|
4482
|
+
var __defNormalProp$7 = (obj, key, value) => key in obj ? __defProp$7(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4483
|
+
var __spreadValues$7 = (a, b) => {
|
|
4484
4484
|
for (var prop in b || (b = {}))
|
|
4485
|
-
if (__hasOwnProp$
|
|
4486
|
-
__defNormalProp$
|
|
4487
|
-
if (__getOwnPropSymbols$
|
|
4488
|
-
for (var prop of __getOwnPropSymbols$
|
|
4489
|
-
if (__propIsEnum$
|
|
4490
|
-
__defNormalProp$
|
|
4485
|
+
if (__hasOwnProp$7.call(b, prop))
|
|
4486
|
+
__defNormalProp$7(a, prop, b[prop]);
|
|
4487
|
+
if (__getOwnPropSymbols$7)
|
|
4488
|
+
for (var prop of __getOwnPropSymbols$7(b)) {
|
|
4489
|
+
if (__propIsEnum$7.call(b, prop))
|
|
4490
|
+
__defNormalProp$7(a, prop, b[prop]);
|
|
4491
4491
|
}
|
|
4492
4492
|
return a;
|
|
4493
4493
|
};
|
|
4494
|
-
var __spreadProps$
|
|
4494
|
+
var __spreadProps$5 = (a, b) => __defProps$5(a, __getOwnPropDescs$5(b));
|
|
4495
4495
|
const NavBar = (props) => {
|
|
4496
4496
|
const className = builder("flex items-center justify-between flex-wrap sticky top-0 z-30 w-full h-16 border-b").append("bg-white px-4 py text-center").append("md:border-t-none md:border-b md:border-monochrome-50 lg:px-36 md:shadow-sm").build();
|
|
4497
4497
|
const [secondary, setSecondary] = React__default.useState(false);
|
|
@@ -4509,7 +4509,7 @@ const NavBar = (props) => {
|
|
|
4509
4509
|
return null;
|
|
4510
4510
|
})), /* @__PURE__ */ React__default.createElement("div", { className: "inline-block md:hidden" }, /* @__PURE__ */ React__default.createElement(NavLink, { onClick: () => setSecondary(!secondary), name: menuIcon })), /* @__PURE__ */ React__default.createElement("div", { className: secondaryClassName }, React__default.Children.map(props.children, (Link) => {
|
|
4511
4511
|
if (Link && Link.props.name !== "home") {
|
|
4512
|
-
return /* @__PURE__ */ React__default.createElement("div", { className: "relative" }, /* @__PURE__ */ React__default.createElement(NavLink, __spreadProps$
|
|
4512
|
+
return /* @__PURE__ */ React__default.createElement("div", { className: "relative" }, /* @__PURE__ */ React__default.createElement(NavLink, __spreadProps$5(__spreadValues$7({}, Link.props), { menu: true })));
|
|
4513
4513
|
}
|
|
4514
4514
|
return null;
|
|
4515
4515
|
}))));
|
|
@@ -4606,28 +4606,28 @@ const LegalAgreement = (props) => {
|
|
|
4606
4606
|
)));
|
|
4607
4607
|
};
|
|
4608
4608
|
|
|
4609
|
-
var __defProp$
|
|
4610
|
-
var __defProps$
|
|
4611
|
-
var __getOwnPropDescs$
|
|
4612
|
-
var __getOwnPropSymbols$
|
|
4613
|
-
var __hasOwnProp$
|
|
4614
|
-
var __propIsEnum$
|
|
4615
|
-
var __defNormalProp$
|
|
4616
|
-
var __spreadValues$
|
|
4609
|
+
var __defProp$6 = Object.defineProperty;
|
|
4610
|
+
var __defProps$4 = Object.defineProperties;
|
|
4611
|
+
var __getOwnPropDescs$4 = Object.getOwnPropertyDescriptors;
|
|
4612
|
+
var __getOwnPropSymbols$6 = Object.getOwnPropertySymbols;
|
|
4613
|
+
var __hasOwnProp$6 = Object.prototype.hasOwnProperty;
|
|
4614
|
+
var __propIsEnum$6 = Object.prototype.propertyIsEnumerable;
|
|
4615
|
+
var __defNormalProp$6 = (obj, key, value) => key in obj ? __defProp$6(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4616
|
+
var __spreadValues$6 = (a, b) => {
|
|
4617
4617
|
for (var prop in b || (b = {}))
|
|
4618
|
-
if (__hasOwnProp$
|
|
4619
|
-
__defNormalProp$
|
|
4620
|
-
if (__getOwnPropSymbols$
|
|
4621
|
-
for (var prop of __getOwnPropSymbols$
|
|
4622
|
-
if (__propIsEnum$
|
|
4623
|
-
__defNormalProp$
|
|
4618
|
+
if (__hasOwnProp$6.call(b, prop))
|
|
4619
|
+
__defNormalProp$6(a, prop, b[prop]);
|
|
4620
|
+
if (__getOwnPropSymbols$6)
|
|
4621
|
+
for (var prop of __getOwnPropSymbols$6(b)) {
|
|
4622
|
+
if (__propIsEnum$6.call(b, prop))
|
|
4623
|
+
__defNormalProp$6(a, prop, b[prop]);
|
|
4624
4624
|
}
|
|
4625
4625
|
return a;
|
|
4626
4626
|
};
|
|
4627
|
-
var __spreadProps$
|
|
4627
|
+
var __spreadProps$4 = (a, b) => __defProps$4(a, __getOwnPropDescs$4(b));
|
|
4628
4628
|
const CommunitySearch = (props) => {
|
|
4629
4629
|
const [accessCode, setAccessCode] = React__default.useState("");
|
|
4630
|
-
return /* @__PURE__ */ React__default.createElement("div", { className: "w-full md:w-[30rem] bg-white grid grid-cols-1 gap-4 rounded-md border border-slate-200 px-8 py-5 shadow-sm" }, /* @__PURE__ */ React__default.createElement("div", { className: "text-slate-600" }, /* @__PURE__ */ React__default.createElement("p", { className: "font-bold text-2xl" }, "Which is your community?"), /* @__PURE__ */ React__default.createElement("p", { className: "text-sm" }, "Pick your community.")), /* @__PURE__ */ React__default.createElement(Search, __spreadProps$
|
|
4630
|
+
return /* @__PURE__ */ React__default.createElement("div", { className: "w-full md:w-[30rem] bg-white grid grid-cols-1 gap-4 rounded-md border border-slate-200 px-8 py-5 shadow-sm" }, /* @__PURE__ */ React__default.createElement("div", { className: "text-slate-600" }, /* @__PURE__ */ React__default.createElement("p", { className: "font-bold text-2xl" }, "Which is your community?"), /* @__PURE__ */ React__default.createElement("p", { className: "text-sm" }, "Pick your community.")), /* @__PURE__ */ React__default.createElement(Search, __spreadProps$4(__spreadValues$6({}, props), { autofocus: !accessCode, placeholder: props.name })), !!props.name && /* @__PURE__ */ React__default.createElement("div", { className: "text-slate-600 grid-cols-1 gap-2" }, /* @__PURE__ */ React__default.createElement("div", null, /* @__PURE__ */ React__default.createElement("span", { className: "text-sm" }, "Enter the access code for"), /* @__PURE__ */ React__default.createElement("span", { className: "ml-1 font-semibold text-sm" }, props.name), /* @__PURE__ */ React__default.createElement("span", { className: "text-sm" }, ".")), /* @__PURE__ */ React__default.createElement("div", { className: "mt-2 content-center grid grid-cols-3 gap-x-2" }, /* @__PURE__ */ React__default.createElement(
|
|
4631
4631
|
"input",
|
|
4632
4632
|
{
|
|
4633
4633
|
disabled: props.disabled,
|
|
@@ -4762,27 +4762,27 @@ const Welcome = (props) => {
|
|
|
4762
4762
|
)));
|
|
4763
4763
|
};
|
|
4764
4764
|
|
|
4765
|
-
var __defProp$
|
|
4766
|
-
var __defProps$
|
|
4767
|
-
var __getOwnPropDescs$
|
|
4768
|
-
var __getOwnPropSymbols$
|
|
4769
|
-
var __hasOwnProp$
|
|
4770
|
-
var __propIsEnum$
|
|
4771
|
-
var __defNormalProp$
|
|
4772
|
-
var __spreadValues$
|
|
4765
|
+
var __defProp$5 = Object.defineProperty;
|
|
4766
|
+
var __defProps$3 = Object.defineProperties;
|
|
4767
|
+
var __getOwnPropDescs$3 = Object.getOwnPropertyDescriptors;
|
|
4768
|
+
var __getOwnPropSymbols$5 = Object.getOwnPropertySymbols;
|
|
4769
|
+
var __hasOwnProp$5 = Object.prototype.hasOwnProperty;
|
|
4770
|
+
var __propIsEnum$5 = Object.prototype.propertyIsEnumerable;
|
|
4771
|
+
var __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4772
|
+
var __spreadValues$5 = (a, b) => {
|
|
4773
4773
|
for (var prop in b || (b = {}))
|
|
4774
|
-
if (__hasOwnProp$
|
|
4775
|
-
__defNormalProp$
|
|
4776
|
-
if (__getOwnPropSymbols$
|
|
4777
|
-
for (var prop of __getOwnPropSymbols$
|
|
4778
|
-
if (__propIsEnum$
|
|
4779
|
-
__defNormalProp$
|
|
4774
|
+
if (__hasOwnProp$5.call(b, prop))
|
|
4775
|
+
__defNormalProp$5(a, prop, b[prop]);
|
|
4776
|
+
if (__getOwnPropSymbols$5)
|
|
4777
|
+
for (var prop of __getOwnPropSymbols$5(b)) {
|
|
4778
|
+
if (__propIsEnum$5.call(b, prop))
|
|
4779
|
+
__defNormalProp$5(a, prop, b[prop]);
|
|
4780
4780
|
}
|
|
4781
4781
|
return a;
|
|
4782
4782
|
};
|
|
4783
|
-
var __spreadProps$
|
|
4783
|
+
var __spreadProps$3 = (a, b) => __defProps$3(a, __getOwnPropDescs$3(b));
|
|
4784
4784
|
const Onboarding = (props) => {
|
|
4785
|
-
return /* @__PURE__ */ React__default.createElement(Modal, { stage: true, isLoading: props.isLoading, inline: true, plain: true, visible: true }, /* @__PURE__ */ React__default.createElement(Delegate, __spreadValues$
|
|
4785
|
+
return /* @__PURE__ */ React__default.createElement(Modal, { stage: true, isLoading: props.isLoading, inline: true, plain: true, visible: true }, /* @__PURE__ */ React__default.createElement(Delegate, __spreadValues$5({}, props)));
|
|
4786
4786
|
};
|
|
4787
4787
|
const Delegate = (props) => {
|
|
4788
4788
|
const [agreed, setAgreed] = React__default.useState(!!props.hasOrganization || props.search !== null);
|
|
@@ -4796,7 +4796,7 @@ const Delegate = (props) => {
|
|
|
4796
4796
|
if (!props.hasOrganization) {
|
|
4797
4797
|
return /* @__PURE__ */ React__default.createElement(
|
|
4798
4798
|
CommunitySearch,
|
|
4799
|
-
__spreadProps$
|
|
4799
|
+
__spreadProps$3(__spreadValues$5({}, organization), {
|
|
4800
4800
|
open: organizationOpen,
|
|
4801
4801
|
value: props.search,
|
|
4802
4802
|
results: props.organizations && props.organizations.map((organization2) => {
|
|
@@ -4842,7 +4842,7 @@ const Delegate = (props) => {
|
|
|
4842
4842
|
return /* @__PURE__ */ React__default.createElement(Welcome, { givenName: props.givenName, onContinue: props.onFinish });
|
|
4843
4843
|
};
|
|
4844
4844
|
|
|
4845
|
-
const PathwayButton = (props) => {
|
|
4845
|
+
const PathwayButton$1 = (props) => {
|
|
4846
4846
|
const base = "px-2 py-4 text-left cursor-pointer hover:bg-white active:bg-white";
|
|
4847
4847
|
const bg = props.active ? "bg-sky-100" : "bg-gray-50";
|
|
4848
4848
|
const className = [base, bg].join(" ");
|
|
@@ -4873,35 +4873,35 @@ const PathwayFilter = (props) => {
|
|
|
4873
4873
|
},
|
|
4874
4874
|
/* @__PURE__ */ React__default.createElement("div", { className: "px-2 py-2 bg-gray-200" }),
|
|
4875
4875
|
/* @__PURE__ */ React__default.createElement("div", { className: "grid grid-cols-1" }, /* @__PURE__ */ React__default.createElement("div", { className: "p-2 border-b border-gray-200" }, /* @__PURE__ */ React__default.createElement("div", { className: "flex items-center" }, /* @__PURE__ */ React__default.createElement("div", { className: "grow" }, /* @__PURE__ */ React__default.createElement("h4", { className: "capitalize align-middle font-semibold text-slate-600 inline-block" }, props.title)))), /* @__PURE__ */ React__default.createElement("div", { className: "grid grid-cols-1" }, /* @__PURE__ */ React__default.createElement(
|
|
4876
|
-
PathwayButton,
|
|
4876
|
+
PathwayButton$1,
|
|
4877
4877
|
{
|
|
4878
4878
|
onClick: () => togglePathway("policy & government"),
|
|
4879
4879
|
active: pathways.indexOf("policy & government") >= 0,
|
|
4880
4880
|
name: "policy & government"
|
|
4881
4881
|
}
|
|
4882
4882
|
), /* @__PURE__ */ React__default.createElement(
|
|
4883
|
-
PathwayButton,
|
|
4883
|
+
PathwayButton$1,
|
|
4884
4884
|
{
|
|
4885
4885
|
onClick: () => togglePathway("arts & culture"),
|
|
4886
4886
|
active: pathways.indexOf("arts & culture") >= 0,
|
|
4887
4887
|
name: "arts & culture"
|
|
4888
4888
|
}
|
|
4889
4889
|
), /* @__PURE__ */ React__default.createElement(
|
|
4890
|
-
PathwayButton,
|
|
4890
|
+
PathwayButton$1,
|
|
4891
4891
|
{
|
|
4892
4892
|
onClick: () => togglePathway("recreation"),
|
|
4893
4893
|
active: pathways.indexOf("recreation") >= 0,
|
|
4894
4894
|
name: "recreation"
|
|
4895
4895
|
}
|
|
4896
4896
|
), /* @__PURE__ */ React__default.createElement(
|
|
4897
|
-
PathwayButton,
|
|
4897
|
+
PathwayButton$1,
|
|
4898
4898
|
{
|
|
4899
4899
|
onClick: () => togglePathway("volunteer"),
|
|
4900
4900
|
active: pathways.indexOf("volunteer") >= 0,
|
|
4901
4901
|
name: "volunteer"
|
|
4902
4902
|
}
|
|
4903
4903
|
), /* @__PURE__ */ React__default.createElement(
|
|
4904
|
-
PathwayButton,
|
|
4904
|
+
PathwayButton$1,
|
|
4905
4905
|
{
|
|
4906
4906
|
onClick: () => togglePathway("college & career"),
|
|
4907
4907
|
active: pathways.indexOf("college & career") >= 0,
|
|
@@ -5112,19 +5112,19 @@ const ProfileWidget = (props) => {
|
|
|
5112
5112
|
), props.online && /* @__PURE__ */ React__default.createElement("span", { className: "absolute h-3.5 w-3.5 lg:w-4 lg:h-4 top-0 right-0 lg:top-2 lg:right-3 rounded-full bg-green-500 border-4 border-white" })), /* @__PURE__ */ React__default.createElement("div", { className: "grid grid-cols-1 content-center align-middle" }, /* @__PURE__ */ React__default.createElement("div", { className: "grid lg:gap-1" }, /* @__PURE__ */ React__default.createElement("div", { className: "grid grid-cols-1" }, props.tenantName && /* @__PURE__ */ React__default.createElement("span", { className: "text-slate-300 text-sm" }, "@", props.tenantName), /* @__PURE__ */ React__default.createElement("h4", { className: "inline-block font-semibold capitalize text-2xl lg:text-4xl text-slate-600" }, props.givenName, " ", props.familyName)), props.createdAt && /* @__PURE__ */ React__default.createElement("p", { className: "text-sm text-slate-300" }, "Member since ", new Date(props.createdAt).getFullYear())))))));
|
|
5113
5113
|
};
|
|
5114
5114
|
|
|
5115
|
-
var __defProp$
|
|
5116
|
-
var __getOwnPropSymbols$
|
|
5117
|
-
var __hasOwnProp$
|
|
5118
|
-
var __propIsEnum$
|
|
5119
|
-
var __defNormalProp$
|
|
5120
|
-
var __spreadValues$
|
|
5115
|
+
var __defProp$4 = Object.defineProperty;
|
|
5116
|
+
var __getOwnPropSymbols$4 = Object.getOwnPropertySymbols;
|
|
5117
|
+
var __hasOwnProp$4 = Object.prototype.hasOwnProperty;
|
|
5118
|
+
var __propIsEnum$4 = Object.prototype.propertyIsEnumerable;
|
|
5119
|
+
var __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5120
|
+
var __spreadValues$4 = (a, b) => {
|
|
5121
5121
|
for (var prop in b || (b = {}))
|
|
5122
|
-
if (__hasOwnProp$
|
|
5123
|
-
__defNormalProp$
|
|
5124
|
-
if (__getOwnPropSymbols$
|
|
5125
|
-
for (var prop of __getOwnPropSymbols$
|
|
5126
|
-
if (__propIsEnum$
|
|
5127
|
-
__defNormalProp$
|
|
5122
|
+
if (__hasOwnProp$4.call(b, prop))
|
|
5123
|
+
__defNormalProp$4(a, prop, b[prop]);
|
|
5124
|
+
if (__getOwnPropSymbols$4)
|
|
5125
|
+
for (var prop of __getOwnPropSymbols$4(b)) {
|
|
5126
|
+
if (__propIsEnum$4.call(b, prop))
|
|
5127
|
+
__defNormalProp$4(a, prop, b[prop]);
|
|
5128
5128
|
}
|
|
5129
5129
|
return a;
|
|
5130
5130
|
};
|
|
@@ -5132,9 +5132,9 @@ const FormInput = (props) => {
|
|
|
5132
5132
|
return /* @__PURE__ */ React__default.createElement("div", { className: "grid grid-cols-1 gap-y-2" }, props.headline && /* @__PURE__ */ React__default.createElement("div", { className: "flex gap-x-1" }, /* @__PURE__ */ React__default.createElement("div", { className: "flex items-start gap-x-4" }, /* @__PURE__ */ React__default.createElement("div", { className: "grow" }, props.headline && /* @__PURE__ */ React__default.createElement("p", { className: "text-sm text-slate-600 font-semibold" }, props.headline), props.summary && /* @__PURE__ */ React__default.createElement("p", { className: "text-xs text-slate-500" }, props.summary))), !props.readonly && props.required && /* @__PURE__ */ React__default.createElement("p", { className: "text-sm text-rose-600" }, "*")), /* @__PURE__ */ React__default.createElement("div", null, (() => {
|
|
5133
5133
|
switch (props.type) {
|
|
5134
5134
|
case "dropdown":
|
|
5135
|
-
return /* @__PURE__ */ React__default.createElement(DropDownInput, __spreadValues$
|
|
5135
|
+
return /* @__PURE__ */ React__default.createElement(DropDownInput, __spreadValues$4({}, props));
|
|
5136
5136
|
default:
|
|
5137
|
-
return /* @__PURE__ */ React__default.createElement(Input, __spreadValues$
|
|
5137
|
+
return /* @__PURE__ */ React__default.createElement(Input, __spreadValues$4({}, props));
|
|
5138
5138
|
}
|
|
5139
5139
|
})()));
|
|
5140
5140
|
};
|
|
@@ -5242,32 +5242,32 @@ const FormSubmitDialog = (props) => {
|
|
|
5242
5242
|
))));
|
|
5243
5243
|
};
|
|
5244
5244
|
|
|
5245
|
-
var __defProp$
|
|
5246
|
-
var __defProps$
|
|
5247
|
-
var __getOwnPropDescs$
|
|
5248
|
-
var __getOwnPropSymbols$
|
|
5249
|
-
var __hasOwnProp$
|
|
5250
|
-
var __propIsEnum$
|
|
5251
|
-
var __defNormalProp$
|
|
5252
|
-
var __spreadValues$
|
|
5245
|
+
var __defProp$3 = Object.defineProperty;
|
|
5246
|
+
var __defProps$2 = Object.defineProperties;
|
|
5247
|
+
var __getOwnPropDescs$2 = Object.getOwnPropertyDescriptors;
|
|
5248
|
+
var __getOwnPropSymbols$3 = Object.getOwnPropertySymbols;
|
|
5249
|
+
var __hasOwnProp$3 = Object.prototype.hasOwnProperty;
|
|
5250
|
+
var __propIsEnum$3 = Object.prototype.propertyIsEnumerable;
|
|
5251
|
+
var __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5252
|
+
var __spreadValues$3 = (a, b) => {
|
|
5253
5253
|
for (var prop in b || (b = {}))
|
|
5254
|
-
if (__hasOwnProp$
|
|
5255
|
-
__defNormalProp$
|
|
5256
|
-
if (__getOwnPropSymbols$
|
|
5257
|
-
for (var prop of __getOwnPropSymbols$
|
|
5258
|
-
if (__propIsEnum$
|
|
5259
|
-
__defNormalProp$
|
|
5254
|
+
if (__hasOwnProp$3.call(b, prop))
|
|
5255
|
+
__defNormalProp$3(a, prop, b[prop]);
|
|
5256
|
+
if (__getOwnPropSymbols$3)
|
|
5257
|
+
for (var prop of __getOwnPropSymbols$3(b)) {
|
|
5258
|
+
if (__propIsEnum$3.call(b, prop))
|
|
5259
|
+
__defNormalProp$3(a, prop, b[prop]);
|
|
5260
5260
|
}
|
|
5261
5261
|
return a;
|
|
5262
5262
|
};
|
|
5263
|
-
var __spreadProps$
|
|
5263
|
+
var __spreadProps$2 = (a, b) => __defProps$2(a, __getOwnPropDescs$2(b));
|
|
5264
5264
|
const Form = (props) => {
|
|
5265
5265
|
const [showExitDialogue, setShowExitDialogue] = React__default.useState(!!props.showExitDialogue);
|
|
5266
5266
|
const [showSubmitDialogue, setShowSubmitDialogue] = React__default.useState(!!props.showSubmitDialogue);
|
|
5267
5267
|
const [responses, setResponses] = React__default.useState({});
|
|
5268
5268
|
const [inReview, setInReview] = React__default.useState(!!props.inReview);
|
|
5269
5269
|
const setResponse = (key, value) => {
|
|
5270
|
-
setResponses(__spreadProps$
|
|
5270
|
+
setResponses(__spreadProps$2(__spreadValues$3({}, responses), { [key]: value }));
|
|
5271
5271
|
};
|
|
5272
5272
|
const onSubmit = (e) => {
|
|
5273
5273
|
e.preventDefault();
|
|
@@ -5386,25 +5386,25 @@ const Form = (props) => {
|
|
|
5386
5386
|
)))))))), showExitDialogue && /* @__PURE__ */ React__default.createElement("div", { className: "fixed top-0 left-0 px-4 md:px-2 w-screen h-screen py-5 transition ease-in-out duration-400 bg-gray-200/75 z-40" }, /* @__PURE__ */ React__default.createElement("div", { className: "flex md:w-max h-screen gap-x-2 justify-items-center content-center m-auto" }, /* @__PURE__ */ React__default.createElement(FormExitDialog, { onYes: props.onClose, onNo: () => setShowExitDialogue(false) }))), showSubmitDialogue && /* @__PURE__ */ React__default.createElement("div", { className: "fixed top-0 left-0 px-4 md:px-2 w-screen h-screen py-5 transition ease-in-out duration-400 bg-gray-200/75 z-40" }, /* @__PURE__ */ React__default.createElement("div", { className: "flex md:w-max h-screen gap-x-2 justify-items-center content-center m-auto" }, /* @__PURE__ */ React__default.createElement(FormSubmitDialog, { onGoBack: () => setShowSubmitDialogue(false), onContinue: props.onClose }))));
|
|
5387
5387
|
};
|
|
5388
5388
|
|
|
5389
|
-
var __defProp$
|
|
5390
|
-
var __defProps = Object.defineProperties;
|
|
5391
|
-
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
5392
|
-
var __getOwnPropSymbols$
|
|
5393
|
-
var __hasOwnProp$
|
|
5394
|
-
var __propIsEnum$
|
|
5395
|
-
var __defNormalProp$
|
|
5396
|
-
var __spreadValues$
|
|
5389
|
+
var __defProp$2 = Object.defineProperty;
|
|
5390
|
+
var __defProps$1 = Object.defineProperties;
|
|
5391
|
+
var __getOwnPropDescs$1 = Object.getOwnPropertyDescriptors;
|
|
5392
|
+
var __getOwnPropSymbols$2 = Object.getOwnPropertySymbols;
|
|
5393
|
+
var __hasOwnProp$2 = Object.prototype.hasOwnProperty;
|
|
5394
|
+
var __propIsEnum$2 = Object.prototype.propertyIsEnumerable;
|
|
5395
|
+
var __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5396
|
+
var __spreadValues$2 = (a, b) => {
|
|
5397
5397
|
for (var prop in b || (b = {}))
|
|
5398
|
-
if (__hasOwnProp$
|
|
5399
|
-
__defNormalProp$
|
|
5400
|
-
if (__getOwnPropSymbols$
|
|
5401
|
-
for (var prop of __getOwnPropSymbols$
|
|
5402
|
-
if (__propIsEnum$
|
|
5403
|
-
__defNormalProp$
|
|
5398
|
+
if (__hasOwnProp$2.call(b, prop))
|
|
5399
|
+
__defNormalProp$2(a, prop, b[prop]);
|
|
5400
|
+
if (__getOwnPropSymbols$2)
|
|
5401
|
+
for (var prop of __getOwnPropSymbols$2(b)) {
|
|
5402
|
+
if (__propIsEnum$2.call(b, prop))
|
|
5403
|
+
__defNormalProp$2(a, prop, b[prop]);
|
|
5404
5404
|
}
|
|
5405
5405
|
return a;
|
|
5406
5406
|
};
|
|
5407
|
-
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
5407
|
+
var __spreadProps$1 = (a, b) => __defProps$1(a, __getOwnPropDescs$1(b));
|
|
5408
5408
|
const LogServiceButton = (props) => {
|
|
5409
5409
|
const [isOpen, setIsOpen] = React__default.useState(!!props.isOpen);
|
|
5410
5410
|
const text = props.text || "Log Service";
|
|
@@ -5435,7 +5435,7 @@ const LogServiceButton = (props) => {
|
|
|
5435
5435
|
size: "full:md",
|
|
5436
5436
|
onClick: onOpen
|
|
5437
5437
|
}
|
|
5438
|
-
), isOpen && /* @__PURE__ */ React__default.createElement(Form, __spreadProps(__spreadValues$
|
|
5438
|
+
), isOpen && /* @__PURE__ */ React__default.createElement(Form, __spreadProps$1(__spreadValues$2({ onSubmit: props.onSubmit }, props.form), { onClose })));
|
|
5439
5439
|
};
|
|
5440
5440
|
|
|
5441
5441
|
const Stopwatch = (props) => {
|
|
@@ -5558,7 +5558,70 @@ const PathwayCard = (props) => {
|
|
|
5558
5558
|
)))));
|
|
5559
5559
|
};
|
|
5560
5560
|
|
|
5561
|
+
var __defProp$1 = Object.defineProperty;
|
|
5562
|
+
var __getOwnPropSymbols$1 = Object.getOwnPropertySymbols;
|
|
5563
|
+
var __hasOwnProp$1 = Object.prototype.hasOwnProperty;
|
|
5564
|
+
var __propIsEnum$1 = Object.prototype.propertyIsEnumerable;
|
|
5565
|
+
var __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5566
|
+
var __spreadValues$1 = (a, b) => {
|
|
5567
|
+
for (var prop in b || (b = {}))
|
|
5568
|
+
if (__hasOwnProp$1.call(b, prop))
|
|
5569
|
+
__defNormalProp$1(a, prop, b[prop]);
|
|
5570
|
+
if (__getOwnPropSymbols$1)
|
|
5571
|
+
for (var prop of __getOwnPropSymbols$1(b)) {
|
|
5572
|
+
if (__propIsEnum$1.call(b, prop))
|
|
5573
|
+
__defNormalProp$1(a, prop, b[prop]);
|
|
5574
|
+
}
|
|
5575
|
+
return a;
|
|
5576
|
+
};
|
|
5577
|
+
const Pathway = (props) => {
|
|
5578
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(PathwayCard, __spreadValues$1({}, props)));
|
|
5579
|
+
};
|
|
5580
|
+
|
|
5581
|
+
const PathwayButton = (props) => {
|
|
5582
|
+
const cursorClass = "cursor-pointer";
|
|
5583
|
+
const bgHover = "hover:bg-sky-50";
|
|
5584
|
+
const onClick = () => {
|
|
5585
|
+
if (props.onClick)
|
|
5586
|
+
props.onClick();
|
|
5587
|
+
};
|
|
5588
|
+
if (props.compact) {
|
|
5589
|
+
return /* @__PURE__ */ React.createElement(
|
|
5590
|
+
"div",
|
|
5591
|
+
{
|
|
5592
|
+
onClick,
|
|
5593
|
+
className: `text-zinc-600 relative overflow-hidden py-3 px-5 transition ease-in-out duration-600 ${cursorClass} ${bgHover}`
|
|
5594
|
+
},
|
|
5595
|
+
/* @__PURE__ */ React.createElement("div", { className: "flex gap-3" }, /* @__PURE__ */ React.createElement("div", { className: `w-max my-auto` }, /* @__PURE__ */ React.createElement(
|
|
5596
|
+
BadgeEmblem,
|
|
5597
|
+
{
|
|
5598
|
+
iconURL: props.imageURL,
|
|
5599
|
+
alt: props.title,
|
|
5600
|
+
size: "xxs"
|
|
5601
|
+
}
|
|
5602
|
+
)), /* @__PURE__ */ React.createElement("div", { className: "text-sm my-auto flex gap-x-2" }, /* @__PURE__ */ React.createElement("span", { className: "font-semibold text-zinc-600" }, props.title)))
|
|
5603
|
+
);
|
|
5604
|
+
}
|
|
5605
|
+
return /* @__PURE__ */ React.createElement("div", { className: "grid grid-cols-1 w-44 overflow-x-hidden gap-y-3 text-zinc-600" }, /* @__PURE__ */ React.createElement("div", { className: "flex flex-col border h-max border-zinc-100 rounded-md bg-gray-100" }, /* @__PURE__ */ React.createElement(
|
|
5606
|
+
"div",
|
|
5607
|
+
{
|
|
5608
|
+
onClick,
|
|
5609
|
+
className: `relative overflow-hidden p-5 transition ease-in-out duration-600 ${cursorClass} ${bgHover}`
|
|
5610
|
+
},
|
|
5611
|
+
/* @__PURE__ */ React.createElement("div", { className: `w-max my-auto` }, /* @__PURE__ */ React.createElement(
|
|
5612
|
+
BadgeEmblem,
|
|
5613
|
+
{
|
|
5614
|
+
iconURL: props.imageURL,
|
|
5615
|
+
alt: props.title,
|
|
5616
|
+
size: "md"
|
|
5617
|
+
}
|
|
5618
|
+
))
|
|
5619
|
+
)), !!props.title && /* @__PURE__ */ React.createElement("div", { className: "text-sm m-auto flex gap-x-2" }, /* @__PURE__ */ React.createElement("span", { className: "font-semibold text-zinc-600" }, props.title)));
|
|
5620
|
+
};
|
|
5621
|
+
|
|
5561
5622
|
var __defProp = Object.defineProperty;
|
|
5623
|
+
var __defProps = Object.defineProperties;
|
|
5624
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
5562
5625
|
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
5563
5626
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5564
5627
|
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
@@ -5574,8 +5637,61 @@ var __spreadValues = (a, b) => {
|
|
|
5574
5637
|
}
|
|
5575
5638
|
return a;
|
|
5576
5639
|
};
|
|
5577
|
-
|
|
5578
|
-
|
|
5640
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
5641
|
+
const PathwaySection = (props) => {
|
|
5642
|
+
const progress = [];
|
|
5643
|
+
const locked = [];
|
|
5644
|
+
const available = [];
|
|
5645
|
+
const collected = [];
|
|
5646
|
+
props.pathways.map((p) => {
|
|
5647
|
+
{
|
|
5648
|
+
progress.push(p);
|
|
5649
|
+
}
|
|
5650
|
+
});
|
|
5651
|
+
const [list, setList] = React.useState(props.list);
|
|
5652
|
+
const preview = props.readonly ? collected.slice(0, 10) : props.pathways.slice(0, 3);
|
|
5653
|
+
const layoutClassName = getLayout(list);
|
|
5654
|
+
React.useEffect(() => {
|
|
5655
|
+
setList(props.list);
|
|
5656
|
+
}, [props.list]);
|
|
5657
|
+
React.useEffect(() => {
|
|
5658
|
+
if (list !== void 0 && props.list !== list && props.onToggleLayout) {
|
|
5659
|
+
props.onToggleLayout(list);
|
|
5660
|
+
}
|
|
5661
|
+
}, [list]);
|
|
5662
|
+
return /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement(Widget, { isLoading: props.isLoading }, /* @__PURE__ */ React.createElement(WidgetHeader, { divide: true }, /* @__PURE__ */ React.createElement("div", { className: "py-2 flex w-full gap-x-2 text-zinc-600" }, /* @__PURE__ */ React.createElement("div", { className: "shrink-0 h-10 w-10" }, /* @__PURE__ */ React.createElement(Icon, { name: "award ribbon" })), /* @__PURE__ */ React.createElement("p", { className: "shrink-0 my-auto font-semibold" }, "Pathways and Seals"), /* @__PURE__ */ React.createElement("div", { className: "shrink-0 mt-auto ml-auto text-sm" }, /* @__PURE__ */ React.createElement("span", { className: "font-semibold" }, collected.length, props.readonly ? "" : "/" + props.pathways.length, " Pathways"), /* @__PURE__ */ React.createElement("span", { className: "ml-1" }, "completed")))), /* @__PURE__ */ React.createElement(WidgetBody, null, /* @__PURE__ */ React.createElement("div", { className: "pb-5" }, /* @__PURE__ */ React.createElement("div", { className: "grid grid-cols-1 gap-y-5" }, /* @__PURE__ */ React.createElement("div", { className: "flex flex-wrap gap-4 items-center justify-between text-sm" }, /* @__PURE__ */ React.createElement("div", { className: "flex justify-center col-span-3 space-x-4 text-sm" }), /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("label", { className: "relative inline-flex items-center cursor-pointer" }, /* @__PURE__ */ React.createElement(
|
|
5663
|
+
"input",
|
|
5664
|
+
{
|
|
5665
|
+
type: "checkbox",
|
|
5666
|
+
value: "",
|
|
5667
|
+
className: "sr-only peer",
|
|
5668
|
+
checked: !list,
|
|
5669
|
+
onChange: () => setList(!list)
|
|
5670
|
+
}
|
|
5671
|
+
), /* @__PURE__ */ React.createElement("div", { className: "w-11 h-6 bg-gray-200 rounded-full peer peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 dark:bg-gray-700 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-0.5 after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600" }), /* @__PURE__ */ React.createElement(
|
|
5672
|
+
"span",
|
|
5673
|
+
{
|
|
5674
|
+
className: "ml-3 text-sm font-bold text-gray-700",
|
|
5675
|
+
onChange: () => setList(!list)
|
|
5676
|
+
},
|
|
5677
|
+
"Grid View?"
|
|
5678
|
+
)))), /* @__PURE__ */ React.createElement("div", null, !!props.readonly && /* @__PURE__ */ React.createElement("div", { className: layoutClassName }, preview.map((p, i) => {
|
|
5679
|
+
return /* @__PURE__ */ React.createElement(PathwayButton, __spreadProps(__spreadValues({ key: i }, p), { compact: list }));
|
|
5680
|
+
})), !props.readonly && /* @__PURE__ */ React.createElement("div", { className: "text-zinc-600 grid grid-cols-1 gap-y-4" }, progress.length > 0 && /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("p", { className: "mb-3 text-md underline font-bold" }, "In Progress"), /* @__PURE__ */ React.createElement("div", { className: layoutClassName }, progress.map((p, i) => {
|
|
5681
|
+
return /* @__PURE__ */ React.createElement(PathwayButton, __spreadProps(__spreadValues({ key: i }, p), { compact: list }));
|
|
5682
|
+
}))), collected.length > 0 && /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("p", { className: "mb-3 text-md underline font-bold" }, "Completed"), /* @__PURE__ */ React.createElement("div", { className: layoutClassName }, collected.map((p, i) => {
|
|
5683
|
+
return /* @__PURE__ */ React.createElement(PathwayButton, __spreadProps(__spreadValues({ key: i }, p), { compact: list }));
|
|
5684
|
+
}))), available.length > 0 && /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("p", { className: "mb-3 text-md underline font-bold" }, "Available"), /* @__PURE__ */ React.createElement("div", { className: layoutClassName }, available.map((p, i) => {
|
|
5685
|
+
return /* @__PURE__ */ React.createElement(PathwayButton, __spreadProps(__spreadValues({ key: i }, p), { compact: list }));
|
|
5686
|
+
}))), locked.length > 0 && /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("p", { className: "mb-3 text-md underline font-bold" }, "Locked"), /* @__PURE__ */ React.createElement("div", { className: layoutClassName }, locked.map((p, i) => {
|
|
5687
|
+
return /* @__PURE__ */ React.createElement(PathwayButton, __spreadProps(__spreadValues({ key: i }, p), { compact: list }));
|
|
5688
|
+
}))))))))));
|
|
5689
|
+
};
|
|
5690
|
+
const getLayout = (list) => {
|
|
5691
|
+
if (list) {
|
|
5692
|
+
return "grid grid-cols-1 overflow-y-auto max-h-96";
|
|
5693
|
+
}
|
|
5694
|
+
return "flex flex-wrap gap-3";
|
|
5579
5695
|
};
|
|
5580
5696
|
|
|
5581
5697
|
const AuthLayout = (props) => {
|
|
@@ -5622,5 +5738,5 @@ const HomeLayout = (props) => {
|
|
|
5622
5738
|
return /* @__PURE__ */ React__default.createElement("main", { className: "relative h-screen w-full overflow-hidden bg-white font-proxima" }, /* @__PURE__ */ React__default.createElement(NavBar, null, /* @__PURE__ */ React__default.createElement(NavLink, { name: "home", onClick: props.onHome, active: true }), /* @__PURE__ */ React__default.createElement(NavLink, { name: "login", onClick: props.onLogin }), /* @__PURE__ */ React__default.createElement(NavLink, { name: "faq", onClick: props.onFAQ }), /* @__PURE__ */ React__default.createElement(NavLink, { name: "privacy", onClick: props.onPrivacy }), /* @__PURE__ */ React__default.createElement(NavLink, { name: "terms", onClick: props.onTerms })), /* @__PURE__ */ React__default.createElement("section", { className: "absolute top-0 left-0 h-full overflow-hidden pt-16 w-full" }, props.children));
|
|
5623
5739
|
};
|
|
5624
5740
|
|
|
5625
|
-
export { AboutWidget, AchievementWidget, ActivityCard, ActivityItem, ActivityList, ActivityReflection, AuthLayout, Badge, BadgeActivityMenu, BadgeSection, BadgeSuccessDialog, Board, Button, Card, DateSelection, EventItem, EventList, Home, HomeLayout, Icon$1 as Icon, ImpactWidget, LearningForm, Loader, LogServiceButton, Logo, Modal, NavBar, NavLink, NotFound, Onboarding, Overlay, Pathway, PathwayButton, PathwayFilter, PathwayProgress, PathwayWidget, ProfileWidget, Progress, Search, SearchButton, SearchResult, SettingsCard, Stopwatch, Tab, TagFilter, TaskItem, TaskList, Widget, WidgetBody, WidgetHeader, WidgetHeaderLink, WidgetTitle };
|
|
5741
|
+
export { AboutWidget, AchievementWidget, ActivityCard, ActivityItem, ActivityList, ActivityReflection, AuthLayout, Badge, BadgeActivityMenu, BadgeSection, BadgeSuccessDialog, Board, Button, Card, DateSelection, EventItem, EventList, Home, HomeLayout, Icon$1 as Icon, ImpactWidget, LearningForm, Loader, LogServiceButton, Logo, Modal, NavBar, NavLink, NotFound, Onboarding, Overlay, Pathway, PathwayButton, PathwayFilter, PathwayProgress, PathwaySection, PathwayWidget, ProfileWidget, Progress, Search, SearchButton, SearchResult, SettingsCard, Stopwatch, Tab, TagFilter, TaskItem, TaskList, Widget, WidgetBody, WidgetHeader, WidgetHeaderLink, WidgetTitle };
|
|
5626
5742
|
//# sourceMappingURL=index.mjs.map
|