@xyo-network/react-card 2.82.0 → 2.83.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (210) hide show
  1. package/dist/browser/index.d.ts +52 -2
  2. package/package.json +9 -25
  3. package/xy.config.ts +12 -0
  4. package/dist/browser/components/CardContentEx.d.cts +0 -11
  5. package/dist/browser/components/CardContentEx.d.cts.map +0 -1
  6. package/dist/browser/components/CardContentEx.d.mts +0 -11
  7. package/dist/browser/components/CardContentEx.d.mts.map +0 -1
  8. package/dist/browser/components/CardContentEx.d.ts +0 -11
  9. package/dist/browser/components/CardContentEx.d.ts.map +0 -1
  10. package/dist/browser/components/CardEx.d.cts +0 -8
  11. package/dist/browser/components/CardEx.d.cts.map +0 -1
  12. package/dist/browser/components/CardEx.d.mts +0 -8
  13. package/dist/browser/components/CardEx.d.mts.map +0 -1
  14. package/dist/browser/components/CardEx.d.ts +0 -8
  15. package/dist/browser/components/CardEx.d.ts.map +0 -1
  16. package/dist/browser/components/FullWidthCard/FullWidthCard.d.cts +0 -15
  17. package/dist/browser/components/FullWidthCard/FullWidthCard.d.cts.map +0 -1
  18. package/dist/browser/components/FullWidthCard/FullWidthCard.d.mts +0 -15
  19. package/dist/browser/components/FullWidthCard/FullWidthCard.d.mts.map +0 -1
  20. package/dist/browser/components/FullWidthCard/FullWidthCard.d.ts +0 -15
  21. package/dist/browser/components/FullWidthCard/FullWidthCard.d.ts.map +0 -1
  22. package/dist/browser/components/FullWidthCard/index.d.cts +0 -2
  23. package/dist/browser/components/FullWidthCard/index.d.cts.map +0 -1
  24. package/dist/browser/components/FullWidthCard/index.d.mts +0 -2
  25. package/dist/browser/components/FullWidthCard/index.d.mts.map +0 -1
  26. package/dist/browser/components/FullWidthCard/index.d.ts +0 -2
  27. package/dist/browser/components/FullWidthCard/index.d.ts.map +0 -1
  28. package/dist/browser/components/PageCard.d.cts +0 -10
  29. package/dist/browser/components/PageCard.d.cts.map +0 -1
  30. package/dist/browser/components/PageCard.d.mts +0 -10
  31. package/dist/browser/components/PageCard.d.mts.map +0 -1
  32. package/dist/browser/components/PageCard.d.ts +0 -10
  33. package/dist/browser/components/PageCard.d.ts.map +0 -1
  34. package/dist/browser/components/SimpleCard/SimpleCard.d.cts +0 -16
  35. package/dist/browser/components/SimpleCard/SimpleCard.d.cts.map +0 -1
  36. package/dist/browser/components/SimpleCard/SimpleCard.d.mts +0 -16
  37. package/dist/browser/components/SimpleCard/SimpleCard.d.mts.map +0 -1
  38. package/dist/browser/components/SimpleCard/SimpleCard.d.ts +0 -16
  39. package/dist/browser/components/SimpleCard/SimpleCard.d.ts.map +0 -1
  40. package/dist/browser/components/SimpleCard/index.d.cts +0 -2
  41. package/dist/browser/components/SimpleCard/index.d.cts.map +0 -1
  42. package/dist/browser/components/SimpleCard/index.d.mts +0 -2
  43. package/dist/browser/components/SimpleCard/index.d.mts.map +0 -1
  44. package/dist/browser/components/SimpleCard/index.d.ts +0 -2
  45. package/dist/browser/components/SimpleCard/index.d.ts.map +0 -1
  46. package/dist/browser/components/SimpleCardGrid/SimpleCardGrid.d.cts +0 -8
  47. package/dist/browser/components/SimpleCardGrid/SimpleCardGrid.d.cts.map +0 -1
  48. package/dist/browser/components/SimpleCardGrid/SimpleCardGrid.d.mts +0 -8
  49. package/dist/browser/components/SimpleCardGrid/SimpleCardGrid.d.mts.map +0 -1
  50. package/dist/browser/components/SimpleCardGrid/SimpleCardGrid.d.ts +0 -8
  51. package/dist/browser/components/SimpleCardGrid/SimpleCardGrid.d.ts.map +0 -1
  52. package/dist/browser/components/SimpleCardGrid/index.d.cts +0 -2
  53. package/dist/browser/components/SimpleCardGrid/index.d.cts.map +0 -1
  54. package/dist/browser/components/SimpleCardGrid/index.d.mts +0 -2
  55. package/dist/browser/components/SimpleCardGrid/index.d.mts.map +0 -1
  56. package/dist/browser/components/SimpleCardGrid/index.d.ts +0 -2
  57. package/dist/browser/components/SimpleCardGrid/index.d.ts.map +0 -1
  58. package/dist/browser/components/index.d.cts +0 -6
  59. package/dist/browser/components/index.d.cts.map +0 -1
  60. package/dist/browser/components/index.d.mts +0 -6
  61. package/dist/browser/components/index.d.mts.map +0 -1
  62. package/dist/browser/components/index.d.ts +0 -6
  63. package/dist/browser/components/index.d.ts.map +0 -1
  64. package/dist/browser/index.cjs +0 -309
  65. package/dist/browser/index.cjs.map +0 -1
  66. package/dist/browser/index.d.cts +0 -2
  67. package/dist/browser/index.d.cts.map +0 -1
  68. package/dist/browser/index.d.mts +0 -2
  69. package/dist/browser/index.d.mts.map +0 -1
  70. package/dist/browser/index.d.ts.map +0 -1
  71. package/dist/neutral/components/CardContentEx.d.cts +0 -11
  72. package/dist/neutral/components/CardContentEx.d.cts.map +0 -1
  73. package/dist/neutral/components/CardContentEx.d.mts +0 -11
  74. package/dist/neutral/components/CardContentEx.d.mts.map +0 -1
  75. package/dist/neutral/components/CardContentEx.d.ts +0 -11
  76. package/dist/neutral/components/CardContentEx.d.ts.map +0 -1
  77. package/dist/neutral/components/CardEx.d.cts +0 -8
  78. package/dist/neutral/components/CardEx.d.cts.map +0 -1
  79. package/dist/neutral/components/CardEx.d.mts +0 -8
  80. package/dist/neutral/components/CardEx.d.mts.map +0 -1
  81. package/dist/neutral/components/CardEx.d.ts +0 -8
  82. package/dist/neutral/components/CardEx.d.ts.map +0 -1
  83. package/dist/neutral/components/FullWidthCard/FullWidthCard.d.cts +0 -15
  84. package/dist/neutral/components/FullWidthCard/FullWidthCard.d.cts.map +0 -1
  85. package/dist/neutral/components/FullWidthCard/FullWidthCard.d.mts +0 -15
  86. package/dist/neutral/components/FullWidthCard/FullWidthCard.d.mts.map +0 -1
  87. package/dist/neutral/components/FullWidthCard/FullWidthCard.d.ts +0 -15
  88. package/dist/neutral/components/FullWidthCard/FullWidthCard.d.ts.map +0 -1
  89. package/dist/neutral/components/FullWidthCard/index.d.cts +0 -2
  90. package/dist/neutral/components/FullWidthCard/index.d.cts.map +0 -1
  91. package/dist/neutral/components/FullWidthCard/index.d.mts +0 -2
  92. package/dist/neutral/components/FullWidthCard/index.d.mts.map +0 -1
  93. package/dist/neutral/components/FullWidthCard/index.d.ts +0 -2
  94. package/dist/neutral/components/FullWidthCard/index.d.ts.map +0 -1
  95. package/dist/neutral/components/PageCard.d.cts +0 -10
  96. package/dist/neutral/components/PageCard.d.cts.map +0 -1
  97. package/dist/neutral/components/PageCard.d.mts +0 -10
  98. package/dist/neutral/components/PageCard.d.mts.map +0 -1
  99. package/dist/neutral/components/PageCard.d.ts +0 -10
  100. package/dist/neutral/components/PageCard.d.ts.map +0 -1
  101. package/dist/neutral/components/SimpleCard/SimpleCard.d.cts +0 -16
  102. package/dist/neutral/components/SimpleCard/SimpleCard.d.cts.map +0 -1
  103. package/dist/neutral/components/SimpleCard/SimpleCard.d.mts +0 -16
  104. package/dist/neutral/components/SimpleCard/SimpleCard.d.mts.map +0 -1
  105. package/dist/neutral/components/SimpleCard/SimpleCard.d.ts +0 -16
  106. package/dist/neutral/components/SimpleCard/SimpleCard.d.ts.map +0 -1
  107. package/dist/neutral/components/SimpleCard/index.d.cts +0 -2
  108. package/dist/neutral/components/SimpleCard/index.d.cts.map +0 -1
  109. package/dist/neutral/components/SimpleCard/index.d.mts +0 -2
  110. package/dist/neutral/components/SimpleCard/index.d.mts.map +0 -1
  111. package/dist/neutral/components/SimpleCard/index.d.ts +0 -2
  112. package/dist/neutral/components/SimpleCard/index.d.ts.map +0 -1
  113. package/dist/neutral/components/SimpleCardGrid/SimpleCardGrid.d.cts +0 -8
  114. package/dist/neutral/components/SimpleCardGrid/SimpleCardGrid.d.cts.map +0 -1
  115. package/dist/neutral/components/SimpleCardGrid/SimpleCardGrid.d.mts +0 -8
  116. package/dist/neutral/components/SimpleCardGrid/SimpleCardGrid.d.mts.map +0 -1
  117. package/dist/neutral/components/SimpleCardGrid/SimpleCardGrid.d.ts +0 -8
  118. package/dist/neutral/components/SimpleCardGrid/SimpleCardGrid.d.ts.map +0 -1
  119. package/dist/neutral/components/SimpleCardGrid/index.d.cts +0 -2
  120. package/dist/neutral/components/SimpleCardGrid/index.d.cts.map +0 -1
  121. package/dist/neutral/components/SimpleCardGrid/index.d.mts +0 -2
  122. package/dist/neutral/components/SimpleCardGrid/index.d.mts.map +0 -1
  123. package/dist/neutral/components/SimpleCardGrid/index.d.ts +0 -2
  124. package/dist/neutral/components/SimpleCardGrid/index.d.ts.map +0 -1
  125. package/dist/neutral/components/index.d.cts +0 -6
  126. package/dist/neutral/components/index.d.cts.map +0 -1
  127. package/dist/neutral/components/index.d.mts +0 -6
  128. package/dist/neutral/components/index.d.mts.map +0 -1
  129. package/dist/neutral/components/index.d.ts +0 -6
  130. package/dist/neutral/components/index.d.ts.map +0 -1
  131. package/dist/neutral/index.cjs +0 -309
  132. package/dist/neutral/index.cjs.map +0 -1
  133. package/dist/neutral/index.d.cts +0 -2
  134. package/dist/neutral/index.d.cts.map +0 -1
  135. package/dist/neutral/index.d.mts +0 -2
  136. package/dist/neutral/index.d.mts.map +0 -1
  137. package/dist/neutral/index.d.ts +0 -2
  138. package/dist/neutral/index.d.ts.map +0 -1
  139. package/dist/neutral/index.mjs +0 -278
  140. package/dist/neutral/index.mjs.map +0 -1
  141. package/dist/node/components/CardContentEx.d.cts +0 -11
  142. package/dist/node/components/CardContentEx.d.cts.map +0 -1
  143. package/dist/node/components/CardContentEx.d.mts +0 -11
  144. package/dist/node/components/CardContentEx.d.mts.map +0 -1
  145. package/dist/node/components/CardContentEx.d.ts +0 -11
  146. package/dist/node/components/CardContentEx.d.ts.map +0 -1
  147. package/dist/node/components/CardEx.d.cts +0 -8
  148. package/dist/node/components/CardEx.d.cts.map +0 -1
  149. package/dist/node/components/CardEx.d.mts +0 -8
  150. package/dist/node/components/CardEx.d.mts.map +0 -1
  151. package/dist/node/components/CardEx.d.ts +0 -8
  152. package/dist/node/components/CardEx.d.ts.map +0 -1
  153. package/dist/node/components/FullWidthCard/FullWidthCard.d.cts +0 -15
  154. package/dist/node/components/FullWidthCard/FullWidthCard.d.cts.map +0 -1
  155. package/dist/node/components/FullWidthCard/FullWidthCard.d.mts +0 -15
  156. package/dist/node/components/FullWidthCard/FullWidthCard.d.mts.map +0 -1
  157. package/dist/node/components/FullWidthCard/FullWidthCard.d.ts +0 -15
  158. package/dist/node/components/FullWidthCard/FullWidthCard.d.ts.map +0 -1
  159. package/dist/node/components/FullWidthCard/index.d.cts +0 -2
  160. package/dist/node/components/FullWidthCard/index.d.cts.map +0 -1
  161. package/dist/node/components/FullWidthCard/index.d.mts +0 -2
  162. package/dist/node/components/FullWidthCard/index.d.mts.map +0 -1
  163. package/dist/node/components/FullWidthCard/index.d.ts +0 -2
  164. package/dist/node/components/FullWidthCard/index.d.ts.map +0 -1
  165. package/dist/node/components/PageCard.d.cts +0 -10
  166. package/dist/node/components/PageCard.d.cts.map +0 -1
  167. package/dist/node/components/PageCard.d.mts +0 -10
  168. package/dist/node/components/PageCard.d.mts.map +0 -1
  169. package/dist/node/components/PageCard.d.ts +0 -10
  170. package/dist/node/components/PageCard.d.ts.map +0 -1
  171. package/dist/node/components/SimpleCard/SimpleCard.d.cts +0 -16
  172. package/dist/node/components/SimpleCard/SimpleCard.d.cts.map +0 -1
  173. package/dist/node/components/SimpleCard/SimpleCard.d.mts +0 -16
  174. package/dist/node/components/SimpleCard/SimpleCard.d.mts.map +0 -1
  175. package/dist/node/components/SimpleCard/SimpleCard.d.ts +0 -16
  176. package/dist/node/components/SimpleCard/SimpleCard.d.ts.map +0 -1
  177. package/dist/node/components/SimpleCard/index.d.cts +0 -2
  178. package/dist/node/components/SimpleCard/index.d.cts.map +0 -1
  179. package/dist/node/components/SimpleCard/index.d.mts +0 -2
  180. package/dist/node/components/SimpleCard/index.d.mts.map +0 -1
  181. package/dist/node/components/SimpleCard/index.d.ts +0 -2
  182. package/dist/node/components/SimpleCard/index.d.ts.map +0 -1
  183. package/dist/node/components/SimpleCardGrid/SimpleCardGrid.d.cts +0 -8
  184. package/dist/node/components/SimpleCardGrid/SimpleCardGrid.d.cts.map +0 -1
  185. package/dist/node/components/SimpleCardGrid/SimpleCardGrid.d.mts +0 -8
  186. package/dist/node/components/SimpleCardGrid/SimpleCardGrid.d.mts.map +0 -1
  187. package/dist/node/components/SimpleCardGrid/SimpleCardGrid.d.ts +0 -8
  188. package/dist/node/components/SimpleCardGrid/SimpleCardGrid.d.ts.map +0 -1
  189. package/dist/node/components/SimpleCardGrid/index.d.cts +0 -2
  190. package/dist/node/components/SimpleCardGrid/index.d.cts.map +0 -1
  191. package/dist/node/components/SimpleCardGrid/index.d.mts +0 -2
  192. package/dist/node/components/SimpleCardGrid/index.d.mts.map +0 -1
  193. package/dist/node/components/SimpleCardGrid/index.d.ts +0 -2
  194. package/dist/node/components/SimpleCardGrid/index.d.ts.map +0 -1
  195. package/dist/node/components/index.d.cts +0 -6
  196. package/dist/node/components/index.d.cts.map +0 -1
  197. package/dist/node/components/index.d.mts +0 -6
  198. package/dist/node/components/index.d.mts.map +0 -1
  199. package/dist/node/components/index.d.ts +0 -6
  200. package/dist/node/components/index.d.ts.map +0 -1
  201. package/dist/node/index.cjs +0 -320
  202. package/dist/node/index.cjs.map +0 -1
  203. package/dist/node/index.d.cts +0 -2
  204. package/dist/node/index.d.cts.map +0 -1
  205. package/dist/node/index.d.mts +0 -2
  206. package/dist/node/index.d.mts.map +0 -1
  207. package/dist/node/index.d.ts +0 -2
  208. package/dist/node/index.d.ts.map +0 -1
  209. package/dist/node/index.mjs +0 -279
  210. package/dist/node/index.mjs.map +0 -1
@@ -1,278 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
-
4
- // src/components/CardContentEx.tsx
5
- import { CardContent, styled } from "@mui/material";
6
- import { useShareForwardedRef } from "@xyo-network/react-shared";
7
- import React, { forwardRef, useEffect } from "react";
8
- var CardContentExRoot = styled(CardContent, {
9
- name: "CardContentEx",
10
- shouldForwardProp: /* @__PURE__ */ __name((prop) => ![
11
- "variant",
12
- "removePadding"
13
- ].includes(prop), "shouldForwardProp"),
14
- slot: "Root"
15
- })(({ variant, removePadding }) => ({
16
- ...(variant === "scrollable" || removePadding) && {
17
- [":last-child"]: {
18
- paddingBottom: 0
19
- },
20
- overflow: "auto",
21
- paddingTop: 0,
22
- ...removePadding && {
23
- padding: 0
24
- }
25
- }
26
- }));
27
- var CardContentExWithRef = /* @__PURE__ */ forwardRef(({ scrollToTop = 0, refreshRef = 0, ...props }, ref) => {
28
- const sharedRef = useShareForwardedRef(ref, refreshRef);
29
- useEffect(() => {
30
- if (sharedRef && scrollToTop) {
31
- sharedRef.current?.scroll({
32
- behavior: "smooth",
33
- top: 0
34
- });
35
- }
36
- }, [
37
- sharedRef,
38
- scrollToTop
39
- ]);
40
- return /* @__PURE__ */ React.createElement(CardContentExRoot, {
41
- ref: sharedRef,
42
- ...props
43
- });
44
- });
45
- CardContentExWithRef.displayName = "CardContentEx";
46
- var CardContentEx = CardContentExWithRef;
47
-
48
- // src/components/CardEx.tsx
49
- import { Card } from "@mui/material";
50
- import { useGradientStyles } from "@xyo-network/react-shared";
51
- import React2, { forwardRef as forwardRef2 } from "react";
52
- var CardExWithRef = /* @__PURE__ */ forwardRef2(({ style, gradient, ...props }, ref) => {
53
- const { styles } = useGradientStyles();
54
- const gradientStyle = gradient === "border" ? styles.border : gradient === "background" ? styles.background : {};
55
- return /* @__PURE__ */ React2.createElement(Card, {
56
- style: {
57
- ...gradientStyle,
58
- ...style
59
- },
60
- ref,
61
- ...props
62
- });
63
- });
64
- CardExWithRef.displayName = "CardEx";
65
- var CardEx = CardExWithRef;
66
-
67
- // src/components/FullWidthCard/FullWidthCard.tsx
68
- import { ArrowForwardRounded as ArrowForwardRoundedIcon } from "@mui/icons-material";
69
- import { alpha, Card as Card2, CardActions, CardContent as CardContent2, CardMedia, Grid, IconButton, Typography, useTheme, Zoom } from "@mui/material";
70
- import { FlexGrowCol } from "@xylabs/react-flexbox";
71
- import { useIsMobile } from "@xyo-network/react-shared";
72
- import React3, { useState } from "react";
73
- import { useNavigate } from "react-router-dom";
74
- var FullWidthCard = /* @__PURE__ */ __name(({ cardIsButton, desc, href, media, name, small, to, ...props }) => {
75
- const theme = useTheme();
76
- const [raised, setRaised] = useState(false);
77
- const navigate = useNavigate();
78
- const isMobile = useIsMobile();
79
- const localRouteChange = /* @__PURE__ */ __name((to2) => {
80
- to2 ? navigate(to2) : navigate("/404");
81
- }, "localRouteChange");
82
- const externalRouteChange = /* @__PURE__ */ __name((href2) => {
83
- href2 ? window.open(href2) : navigate("/404");
84
- }, "externalRouteChange");
85
- return /* @__PURE__ */ React3.createElement(Card2, {
86
- elevation: raised ? 3 : 0,
87
- style: {
88
- height: "100%",
89
- width: "100%"
90
- },
91
- ...props,
92
- sx: {
93
- "&:hover": {
94
- cursor: "pointer"
95
- },
96
- "backgroundColor": alpha(theme.palette.primary.light, 0.05)
97
- },
98
- onMouseEnter: /* @__PURE__ */ __name(() => isMobile ? null : cardIsButton ? setRaised(true) : null, "onMouseEnter"),
99
- onMouseLeave: /* @__PURE__ */ __name(() => isMobile ? null : cardIsButton ? setRaised(false) : null, "onMouseLeave"),
100
- onClick: /* @__PURE__ */ __name(() => cardIsButton ? href ? externalRouteChange(href) : to ? localRouteChange(to) : navigate("/404") : null, "onClick")
101
- }, media ? /* @__PURE__ */ React3.createElement(CardMedia, {
102
- component: "img",
103
- height: "100",
104
- image: media,
105
- alt: ""
106
- }) : null, /* @__PURE__ */ React3.createElement(CardContent2, null, /* @__PURE__ */ React3.createElement(Grid, {
107
- container: true,
108
- alignItems: "center",
109
- paddingY: 2,
110
- paddingX: 2
111
- }, /* @__PURE__ */ React3.createElement(Grid, {
112
- item: true,
113
- xs: 12,
114
- md: 6
115
- }, typeof name === "string" ? /* @__PURE__ */ React3.createElement(Typography, {
116
- fontWeight: 700,
117
- variant: "h2",
118
- textAlign: "left",
119
- paddingBottom: 1
120
- }, name) : name), /* @__PURE__ */ React3.createElement(Grid, {
121
- item: true,
122
- xs: 12,
123
- md: 5
124
- }, /* @__PURE__ */ React3.createElement(Typography, {
125
- variant: "body1",
126
- fontWeight: 400,
127
- textAlign: "left"
128
- }, desc)), /* @__PURE__ */ React3.createElement(Grid, {
129
- item: true,
130
- xs: 1,
131
- display: isMobile ? "none" : "flex",
132
- justifyContent: "center"
133
- }, /* @__PURE__ */ React3.createElement(Zoom, {
134
- in: raised
135
- }, /* @__PURE__ */ React3.createElement(IconButton, {
136
- color: "primary",
137
- size: small ? "small" : "medium",
138
- onClick: /* @__PURE__ */ __name(() => href ? externalRouteChange(href) : to ? localRouteChange(to) : navigate("/404"), "onClick"),
139
- disableFocusRipple: true,
140
- disableRipple: true,
141
- disableTouchRipple: true
142
- }, /* @__PURE__ */ React3.createElement(ArrowForwardRoundedIcon, {
143
- fontSize: small ? "small" : "medium"
144
- })))))), /* @__PURE__ */ React3.createElement(CardActions, {
145
- sx: {
146
- display: {
147
- md: isMobile ? "flex" : "none"
148
- }
149
- }
150
- }, /* @__PURE__ */ React3.createElement(FlexGrowCol, {
151
- alignItems: "flex-end"
152
- }, /* @__PURE__ */ React3.createElement(IconButton, {
153
- color: "primary",
154
- size: small ? "small" : "medium",
155
- onClick: /* @__PURE__ */ __name(() => href ? externalRouteChange(href) : to ? localRouteChange(to) : navigate("/404"), "onClick"),
156
- disableFocusRipple: true,
157
- disableRipple: true,
158
- disableTouchRipple: true
159
- }, /* @__PURE__ */ React3.createElement(ArrowForwardRoundedIcon, {
160
- fontSize: small ? "small" : "medium"
161
- })))));
162
- }, "FullWidthCard");
163
-
164
- // src/components/PageCard.tsx
165
- import { Refresh as RefreshIcon } from "@mui/icons-material";
166
- import { CardHeader, IconButton as IconButton2 } from "@mui/material";
167
- import { TypographyEx } from "@xyo-network/react-shared";
168
- import React4, { forwardRef as forwardRef3 } from "react";
169
- var PageCardWithRef = /* @__PURE__ */ forwardRef3(({ subheader, title, onRefresh, children, action, style, ...props }, ref) => {
170
- return /* @__PURE__ */ React4.createElement(CardEx, {
171
- style: {
172
- backgroundColor: "transparent",
173
- position: "relative",
174
- ...style
175
- },
176
- elevation: 0,
177
- ref,
178
- ...props
179
- }, /* @__PURE__ */ React4.createElement(CardHeader, {
180
- title: /* @__PURE__ */ React4.createElement(TypographyEx, {
181
- variant: "h5",
182
- gutterBottom: true
183
- }, title),
184
- subheader: /* @__PURE__ */ React4.createElement(TypographyEx, {
185
- variant: "subtitle1"
186
- }, subheader),
187
- action: action ?? /* @__PURE__ */ React4.createElement(React4.Fragment, null, onRefresh ? /* @__PURE__ */ React4.createElement(IconButton2, {
188
- onClick: /* @__PURE__ */ __name(() => onRefresh?.(), "onClick")
189
- }, /* @__PURE__ */ React4.createElement(RefreshIcon, null)) : null)
190
- }), children);
191
- });
192
- PageCardWithRef.displayName = "PageCard";
193
- var PageCard = PageCardWithRef;
194
-
195
- // src/components/SimpleCard/SimpleCard.tsx
196
- import { ArrowForwardRounded as ArrowForwardRoundedIcon2 } from "@mui/icons-material";
197
- import { alpha as alpha2, CardActions as CardActions2, CardContent as CardContent3, CardMedia as CardMedia2, IconButton as IconButton3, Typography as Typography2, useTheme as useTheme2 } from "@mui/material";
198
- import { FlexCol, FlexGrowCol as FlexGrowCol2 } from "@xylabs/react-flexbox";
199
- import { useIsMobile as useIsMobile2 } from "@xyo-network/react-shared";
200
- import React5, { useState as useState2 } from "react";
201
- import { useNavigate as useNavigate2 } from "react-router-dom";
202
- var SimpleCard = /* @__PURE__ */ __name(({ desc, iconImage, interactionVariant = "card", headline, href, media, small, subtitle, sx, to, ...props }) => {
203
- const theme = useTheme2();
204
- const [raised, setRaised] = useState2(false);
205
- const navigate = useNavigate2();
206
- const isMobile = useIsMobile2();
207
- const localRouteChange = /* @__PURE__ */ __name((to2) => {
208
- to2 ? navigate(to2) : navigate("/404");
209
- }, "localRouteChange");
210
- const externalRouteChange = /* @__PURE__ */ __name((href2) => {
211
- href2 ? window.open(href2) : navigate("/404");
212
- }, "externalRouteChange");
213
- return /* @__PURE__ */ React5.createElement(CardEx, {
214
- elevation: raised ? 3 : 0,
215
- sx: {
216
- "&:hover": {
217
- cursor: interactionVariant == "button" ? "pointer" : null
218
- },
219
- "backgroundColor": alpha2(theme.palette.primary.light, 0.05),
220
- ...sx
221
- },
222
- onMouseEnter: /* @__PURE__ */ __name(() => isMobile ? null : interactionVariant == "button" ? setRaised(true) : null, "onMouseEnter"),
223
- onMouseLeave: /* @__PURE__ */ __name(() => isMobile ? null : interactionVariant == "button" ? setRaised(false) : null, "onMouseLeave"),
224
- onClick: /* @__PURE__ */ __name(() => interactionVariant == "button" ? href ? externalRouteChange(href) : to ? localRouteChange(to) : navigate("/404") : null, "onClick"),
225
- ...props
226
- }, media ? /* @__PURE__ */ React5.createElement(CardMedia2, {
227
- component: "img",
228
- height: "100",
229
- image: media,
230
- alt: ""
231
- }) : null, /* @__PURE__ */ React5.createElement(CardContent3, {
232
- sx: {
233
- height: "100%"
234
- }
235
- }, /* @__PURE__ */ React5.createElement(FlexCol, {
236
- width: "100%",
237
- alignItems: "flex-start"
238
- }, iconImage ? /* @__PURE__ */ React5.createElement("img", {
239
- src: iconImage,
240
- height: "40px",
241
- style: {
242
- paddingBottom: "8px"
243
- }
244
- }) : null, typeof headline === "string" ? /* @__PURE__ */ React5.createElement(Typography2, {
245
- variant: small ? "body1" : "h6",
246
- textAlign: "left",
247
- gutterBottom: true
248
- }, headline) : headline, subtitle ? /* @__PURE__ */ React5.createElement(Typography2, {
249
- variant: "subtitle2",
250
- textAlign: "left",
251
- gutterBottom: true
252
- }, subtitle) : null, /* @__PURE__ */ React5.createElement(Typography2, {
253
- variant: small ? "caption" : "body1",
254
- textAlign: "left",
255
- gutterBottom: true
256
- }, desc))), interactionVariant == "button" ? /* @__PURE__ */ React5.createElement(CardActions2, null, /* @__PURE__ */ React5.createElement(FlexGrowCol2, {
257
- alignItems: "flex-end"
258
- }, /* @__PURE__ */ React5.createElement(IconButton3, {
259
- color: raised ? "secondary" : "primary",
260
- size: small ? "small" : "medium",
261
- onClick: /* @__PURE__ */ __name(() => href ? externalRouteChange(href) : to ? localRouteChange(to) : navigate("/404"), "onClick"),
262
- disableFocusRipple: true,
263
- disableRipple: true,
264
- disableTouchRipple: true
265
- }, /* @__PURE__ */ React5.createElement(ArrowForwardRoundedIcon2, {
266
- fontSize: small ? "small" : "medium"
267
- })))) : null);
268
- }, "SimpleCard");
269
- export {
270
- CardContentEx,
271
- CardContentExWithRef,
272
- CardEx,
273
- CardExWithRef,
274
- FullWidthCard,
275
- PageCard,
276
- SimpleCard
277
- };
278
- //# sourceMappingURL=index.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/components/CardContentEx.tsx","../../src/components/CardEx.tsx","../../src/components/FullWidthCard/FullWidthCard.tsx","../../src/components/PageCard.tsx","../../src/components/SimpleCard/SimpleCard.tsx"],"sourcesContent":["import { CardContent, CardContentProps, styled } from '@mui/material'\nimport { useShareForwardedRef } from '@xyo-network/react-shared'\nimport React, { forwardRef, useEffect } from 'react'\n\nconst CardContentExRoot = styled(CardContent, {\n name: 'CardContentEx',\n shouldForwardProp: (prop: string) => !['variant', 'removePadding'].includes(prop),\n slot: 'Root',\n})<CardContentExProps>(({ variant, removePadding }) => ({\n ...((variant === 'scrollable' || removePadding) && {\n [':last-child']: {\n paddingBottom: 0,\n },\n overflow: 'auto',\n paddingTop: 0,\n ...(removePadding && { padding: 0 }),\n }),\n}))\n\nexport type CardContentExProps = CardContentProps & {\n refreshRef?: number\n removePadding?: boolean\n scrollToTop?: number\n variant?: 'scrollable' | 'normal'\n}\n\nexport const CardContentExWithRef = forwardRef<HTMLDivElement | null, CardContentExProps>(({ scrollToTop = 0, refreshRef = 0, ...props }, ref) => {\n const sharedRef = useShareForwardedRef<HTMLDivElement>(ref, refreshRef)\n\n useEffect(() => {\n if (sharedRef && scrollToTop) {\n sharedRef.current?.scroll({ behavior: 'smooth', top: 0 })\n }\n }, [sharedRef, scrollToTop])\n\n return <CardContentExRoot ref={sharedRef} {...props} />\n})\n\nCardContentExWithRef.displayName = 'CardContentEx'\n\nexport const CardContentEx = CardContentExWithRef\n","import { Card, CardProps } from '@mui/material'\nimport { useGradientStyles } from '@xyo-network/react-shared'\nimport React, { forwardRef } from 'react'\n\nexport interface CardExProps extends CardProps {\n gradient?: 'border' | 'background'\n}\n\nexport const CardExWithRef = forwardRef<HTMLDivElement, CardExProps>(({ style, gradient, ...props }, ref) => {\n const { styles } = useGradientStyles()\n const gradientStyle\n = gradient === 'border'\n ? styles.border\n : gradient === 'background'\n ? styles.background\n : {}\n return (\n <Card\n style={{\n ...gradientStyle,\n ...style,\n }}\n ref={ref}\n {...props}\n />\n )\n})\n\nCardExWithRef.displayName = 'CardEx'\n\nexport const CardEx = CardExWithRef\n","import { ArrowForwardRounded as ArrowForwardRoundedIcon } from '@mui/icons-material'\nimport { alpha, Card, CardActions, CardContent, CardMedia, CardProps, Grid, IconButton, Typography, useTheme, Zoom } from '@mui/material'\nimport { FlexGrowCol } from '@xylabs/react-flexbox'\nimport { useIsMobile } from '@xyo-network/react-shared'\nimport React, { ReactNode, useState } from 'react'\nimport { To, useNavigate } from 'react-router-dom'\n\nexport interface FullWidthCardProps extends CardProps {\n cardIsButton?: boolean\n desc?: ReactNode\n href?: string\n linkText?: string\n media?: string\n name: ReactNode\n small?: boolean\n to?: To\n}\n\nexport const FullWidthCard: React.FC<FullWidthCardProps> = ({ cardIsButton, desc, href, media, name, small, to, ...props }) => {\n const theme = useTheme()\n const [raised, setRaised] = useState(false)\n const navigate = useNavigate()\n const isMobile = useIsMobile()\n\n const localRouteChange = (to: To | undefined) => {\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions\n to ? navigate(to) : navigate('/404')\n }\n const externalRouteChange = (href: string | undefined) => {\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions\n href ? window.open(href) : navigate('/404')\n }\n\n return (\n <Card\n elevation={raised ? 3 : 0}\n style={{ height: '100%', width: '100%' }}\n {...props}\n sx={{\n '&:hover': {\n cursor: 'pointer',\n },\n 'backgroundColor': alpha(theme.palette.primary.light, 0.05),\n }}\n onMouseEnter={() =>\n isMobile\n ? null\n : cardIsButton\n ? setRaised(true)\n : null}\n onMouseLeave={() =>\n isMobile\n ? null\n : cardIsButton\n ? setRaised(false)\n : null}\n onClick={() =>\n cardIsButton\n ? href\n ? externalRouteChange(href)\n : to\n ? localRouteChange(to)\n : navigate('/404')\n : null}\n >\n {media\n ? <CardMedia component=\"img\" height=\"100\" image={media} alt=\"\" />\n : null}\n\n <CardContent>\n <Grid container alignItems=\"center\" paddingY={2} paddingX={2}>\n <Grid item xs={12} md={6}>\n {typeof name === 'string'\n ? (\n <Typography fontWeight={700} variant=\"h2\" textAlign=\"left\" paddingBottom={1}>\n {name}\n </Typography>\n )\n : name}\n </Grid>\n <Grid item xs={12} md={5}>\n <Typography variant=\"body1\" fontWeight={400} textAlign=\"left\">\n {desc}\n </Typography>\n </Grid>\n <Grid item xs={1} display={isMobile ? 'none' : 'flex'} justifyContent=\"center\">\n <Zoom in={raised}>\n <IconButton\n color=\"primary\"\n size={small ? 'small' : 'medium'}\n onClick={() =>\n href\n ? externalRouteChange(href)\n : to\n ? localRouteChange(to)\n : navigate('/404')}\n disableFocusRipple\n disableRipple\n disableTouchRipple\n >\n <ArrowForwardRoundedIcon fontSize={small ? 'small' : 'medium'} />\n </IconButton>\n </Zoom>\n </Grid>\n </Grid>\n </CardContent>\n <CardActions sx={{ display: { md: isMobile ? 'flex' : 'none' } }}>\n <FlexGrowCol alignItems=\"flex-end\">\n <IconButton\n color=\"primary\"\n size={small ? 'small' : 'medium'}\n onClick={() =>\n href\n ? externalRouteChange(href)\n : to\n ? localRouteChange(to)\n : navigate('/404')}\n disableFocusRipple\n disableRipple\n disableTouchRipple\n >\n <ArrowForwardRoundedIcon fontSize={small ? 'small' : 'medium'} />\n </IconButton>\n </FlexGrowCol>\n </CardActions>\n </Card>\n )\n}\n","import { Refresh as RefreshIcon } from '@mui/icons-material'\nimport { CardHeader, CardHeaderProps, IconButton } from '@mui/material'\nimport { TypographyEx } from '@xyo-network/react-shared'\nimport React, { forwardRef, ReactNode } from 'react'\n\nimport { CardEx, CardExProps } from './CardEx.tsx'\n\nexport interface PageCardProps extends CardExProps {\n action?: ReactNode\n onRefresh?: () => void\n subheader?: CardHeaderProps['subheader']\n}\n\nconst PageCardWithRef = forwardRef<HTMLDivElement, PageCardProps>(({ subheader, title, onRefresh, children, action, style, ...props }, ref) => {\n return (\n <CardEx style={{ backgroundColor: 'transparent', position: 'relative', ...style }} elevation={0} ref={ref} {...props}>\n <CardHeader\n title={(\n <TypographyEx variant=\"h5\" gutterBottom>\n {title}\n </TypographyEx>\n )}\n subheader={<TypographyEx variant=\"subtitle1\">{subheader}</TypographyEx>}\n action={\n action ?? (\n <>\n {onRefresh\n ? (\n <IconButton onClick={() => onRefresh?.()}>\n <RefreshIcon />\n </IconButton>\n )\n : null}\n </>\n )\n }\n />\n {children}\n </CardEx>\n )\n})\n\nPageCardWithRef.displayName = 'PageCard'\n\nexport const PageCard = PageCardWithRef\n","import { ArrowForwardRounded as ArrowForwardRoundedIcon } from '@mui/icons-material'\nimport { alpha, CardActions, CardContent, CardMedia, IconButton, Typography, useTheme } from '@mui/material'\nimport { FlexCol, FlexGrowCol } from '@xylabs/react-flexbox'\nimport { useIsMobile } from '@xyo-network/react-shared'\nimport React, { ReactNode, useState } from 'react'\nimport { To, useNavigate } from 'react-router-dom'\n\nimport { CardEx, CardExProps } from '../CardEx.tsx'\n\nexport interface SimpleCardProps extends CardExProps {\n desc?: ReactNode\n headline?: ReactNode\n href?: string\n iconImage?: string\n interactionVariant?: 'button' | 'card'\n media?: string\n small?: boolean\n subtitle?: string\n to?: To\n}\n\nexport const SimpleCard: React.FC<SimpleCardProps> = ({\n desc,\n iconImage,\n interactionVariant = 'card',\n headline,\n href,\n media,\n small,\n subtitle,\n sx,\n to,\n ...props\n}) => {\n const theme = useTheme()\n const [raised, setRaised] = useState(false)\n const navigate = useNavigate()\n const isMobile = useIsMobile()\n const localRouteChange = (to: To | undefined) => {\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions\n to ? navigate(to) : navigate('/404')\n }\n const externalRouteChange = (href: string | undefined) => {\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions\n href ? window.open(href) : navigate('/404')\n }\n return (\n <CardEx\n elevation={raised ? 3 : 0}\n sx={{\n '&:hover': {\n cursor: interactionVariant == 'button' ? 'pointer' : null,\n },\n 'backgroundColor': alpha(theme.palette.primary.light, 0.05),\n ...sx,\n }}\n onMouseEnter={() =>\n isMobile\n ? null\n : interactionVariant == 'button'\n ? setRaised(true)\n : null}\n onMouseLeave={() =>\n isMobile\n ? null\n : interactionVariant == 'button'\n ? setRaised(false)\n : null}\n onClick={() =>\n interactionVariant == 'button'\n ? href\n ? externalRouteChange(href)\n : to\n ? localRouteChange(to)\n : navigate('/404')\n : null}\n {...props}\n >\n {media\n ? <CardMedia component=\"img\" height=\"100\" image={media} alt=\"\" />\n : null}\n\n <CardContent sx={{ height: '100%' }}>\n <FlexCol width=\"100%\" alignItems=\"flex-start\">\n {iconImage\n ? <img src={iconImage} height=\"40px\" style={{ paddingBottom: '8px' }} />\n : null}\n {typeof headline === 'string'\n ? (\n <Typography variant={small ? 'body1' : 'h6'} textAlign=\"left\" gutterBottom>\n {headline}\n </Typography>\n )\n : headline}\n {subtitle\n ? (\n <Typography variant=\"subtitle2\" textAlign=\"left\" gutterBottom>\n {subtitle}\n </Typography>\n )\n : null}\n <Typography variant={small ? 'caption' : 'body1'} textAlign=\"left\" gutterBottom>\n {desc}\n </Typography>\n </FlexCol>\n </CardContent>\n {interactionVariant == 'button'\n ? (\n <CardActions>\n <FlexGrowCol alignItems=\"flex-end\">\n <IconButton\n color={raised ? 'secondary' : 'primary'}\n size={small ? 'small' : 'medium'}\n onClick={() =>\n href\n ? externalRouteChange(href)\n : to\n ? localRouteChange(to)\n : navigate('/404')}\n disableFocusRipple\n disableRipple\n disableTouchRipple\n >\n <ArrowForwardRoundedIcon fontSize={small ? 'small' : 'medium'} />\n </IconButton>\n </FlexGrowCol>\n </CardActions>\n )\n : null}\n </Card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,WAAU;IAAMC,QAAO;IAAMC,OAAOjC;IAAOkC,KAAI;OAC1D,MAEJ,gBAAAf,OAAA,cAACgB,cAAAA;IAAYhC,IAAI;MAAE6B,QAAQ;IAAO;KAChC,gBAAAb,OAAA,cAACiB,SAAAA;IAAQC,OAAM;IAAOC,YAAW;KAC9B1C,YACG,gBAAAuB,OAAA,cAACoB,OAAAA;IAAIC,KAAK5C;IAAWoC,QAAO;IAAOS,OAAO;MAAEC,eAAe;IAAM;OACjE,MACH,OAAO5C,aAAa,WAEf,gBAAAqB,OAAA,cAACwB,aAAAA;IAAWC,SAAS3C,QAAQ,UAAU;IAAM4C,WAAU;IAAOC,cAAAA;KAC3DhD,QAAAA,IAGLA,UACHI,WAEK,gBAAAiB,OAAA,cAACwB,aAAAA;IAAWC,SAAQ;IAAYC,WAAU;IAAOC,cAAAA;KAC9C5C,QAAAA,IAGL,MACJ,gBAAAiB,OAAA,cAACwB,aAAAA;IAAWC,SAAS3C,QAAQ,YAAY;IAAS4C,WAAU;IAAOC,cAAAA;KAChEnD,IAAAA,CAAAA,CAAAA,GAINE,sBAAsB,WAEjB,gBAAAsB,OAAA,cAAC4B,cAAAA,MACC,gBAAA5B,OAAA,cAAC6B,cAAAA;IAAYV,YAAW;KACtB,gBAAAnB,OAAA,cAAC8B,aAAAA;IACCC,OAAO1C,SAAS,cAAc;IAC9B2C,MAAMlD,QAAQ,UAAU;IACxB4B,SAAS,6BACP9B,OACIiB,oBAAoBjB,IAAAA,IACpBK,KACEW,iBAAiBX,EAAAA,IACjBO,SAAS,MAAA,GALR;IAMTyC,oBAAAA;IACAC,eAAAA;IACAC,oBAAAA;KAEA,gBAAAnC,OAAA,cAACoC,0BAAAA;IAAwBC,UAAUvD,QAAQ,UAAU;UAK7D,IAAA;AAGV,GA9GqD;","names":["CardContent","styled","useShareForwardedRef","React","forwardRef","useEffect","CardContentExRoot","styled","CardContent","name","shouldForwardProp","prop","includes","slot","variant","removePadding","paddingBottom","overflow","paddingTop","padding","CardContentExWithRef","forwardRef","scrollToTop","refreshRef","props","ref","sharedRef","useShareForwardedRef","useEffect","current","scroll","behavior","top","displayName","CardContentEx","Card","useGradientStyles","React","forwardRef","CardExWithRef","style","gradient","props","ref","styles","gradientStyle","border","background","displayName","CardEx","ArrowForwardRounded","ArrowForwardRoundedIcon","alpha","Card","CardActions","CardContent","CardMedia","Grid","IconButton","Typography","useTheme","Zoom","FlexGrowCol","useIsMobile","React","useState","useNavigate","FullWidthCard","cardIsButton","desc","href","media","name","small","to","props","theme","useTheme","raised","setRaised","useState","navigate","useNavigate","isMobile","useIsMobile","localRouteChange","externalRouteChange","window","open","React","Card","elevation","style","height","width","sx","cursor","alpha","palette","primary","light","onMouseEnter","onMouseLeave","onClick","CardMedia","component","image","alt","CardContent","Grid","container","alignItems","paddingY","paddingX","item","xs","md","Typography","fontWeight","variant","textAlign","paddingBottom","display","justifyContent","Zoom","in","IconButton","color","size","disableFocusRipple","disableRipple","disableTouchRipple","ArrowForwardRoundedIcon","fontSize","CardActions","FlexGrowCol","Refresh","RefreshIcon","CardHeader","IconButton","TypographyEx","React","forwardRef","PageCardWithRef","forwardRef","subheader","title","onRefresh","children","action","style","props","ref","React","CardEx","backgroundColor","position","elevation","CardHeader","TypographyEx","variant","gutterBottom","IconButton","onClick","RefreshIcon","displayName","PageCard","ArrowForwardRounded","ArrowForwardRoundedIcon","alpha","CardActions","CardContent","CardMedia","IconButton","Typography","useTheme","FlexCol","FlexGrowCol","useIsMobile","React","useState","useNavigate","SimpleCard","desc","iconImage","interactionVariant","headline","href","media","small","subtitle","sx","to","props","theme","useTheme","raised","setRaised","useState","navigate","useNavigate","isMobile","useIsMobile","localRouteChange","externalRouteChange","window","open","React","CardEx","elevation","cursor","alpha","palette","primary","light","onMouseEnter","onMouseLeave","onClick","CardMedia","component","height","image","alt","CardContent","FlexCol","width","alignItems","img","src","style","paddingBottom","Typography","variant","textAlign","gutterBottom","CardActions","FlexGrowCol","IconButton","color","size","disableFocusRipple","disableRipple","disableTouchRipple","ArrowForwardRoundedIcon","fontSize"]}
@@ -1,11 +0,0 @@
1
- import { CardContentProps } from '@mui/material';
2
- import React from 'react';
3
- export type CardContentExProps = CardContentProps & {
4
- refreshRef?: number;
5
- removePadding?: boolean;
6
- scrollToTop?: number;
7
- variant?: 'scrollable' | 'normal';
8
- };
9
- export declare const CardContentExWithRef: React.ForwardRefExoticComponent<Omit<CardContentExProps, "ref"> & React.RefAttributes<HTMLDivElement | null>>;
10
- export declare const CardContentEx: React.ForwardRefExoticComponent<Omit<CardContentExProps, "ref"> & React.RefAttributes<HTMLDivElement | null>>;
11
- //# sourceMappingURL=CardContentEx.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CardContentEx.d.ts","sourceRoot":"","sources":["../../../src/components/CardContentEx.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,gBAAgB,EAAU,MAAM,eAAe,CAAA;AAErE,OAAO,KAAgC,MAAM,OAAO,CAAA;AAiBpD,MAAM,MAAM,kBAAkB,GAAG,gBAAgB,GAAG;IAClD,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,YAAY,GAAG,QAAQ,CAAA;CAClC,CAAA;AAED,eAAO,MAAM,oBAAoB,+GAU/B,CAAA;AAIF,eAAO,MAAM,aAAa,+GAAuB,CAAA"}
@@ -1,11 +0,0 @@
1
- import { CardContentProps } from '@mui/material';
2
- import React from 'react';
3
- export type CardContentExProps = CardContentProps & {
4
- refreshRef?: number;
5
- removePadding?: boolean;
6
- scrollToTop?: number;
7
- variant?: 'scrollable' | 'normal';
8
- };
9
- export declare const CardContentExWithRef: React.ForwardRefExoticComponent<Omit<CardContentExProps, "ref"> & React.RefAttributes<HTMLDivElement | null>>;
10
- export declare const CardContentEx: React.ForwardRefExoticComponent<Omit<CardContentExProps, "ref"> & React.RefAttributes<HTMLDivElement | null>>;
11
- //# sourceMappingURL=CardContentEx.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CardContentEx.d.ts","sourceRoot":"","sources":["../../../src/components/CardContentEx.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,gBAAgB,EAAU,MAAM,eAAe,CAAA;AAErE,OAAO,KAAgC,MAAM,OAAO,CAAA;AAiBpD,MAAM,MAAM,kBAAkB,GAAG,gBAAgB,GAAG;IAClD,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,YAAY,GAAG,QAAQ,CAAA;CAClC,CAAA;AAED,eAAO,MAAM,oBAAoB,+GAU/B,CAAA;AAIF,eAAO,MAAM,aAAa,+GAAuB,CAAA"}
@@ -1,11 +0,0 @@
1
- import { CardContentProps } from '@mui/material';
2
- import React from 'react';
3
- export type CardContentExProps = CardContentProps & {
4
- refreshRef?: number;
5
- removePadding?: boolean;
6
- scrollToTop?: number;
7
- variant?: 'scrollable' | 'normal';
8
- };
9
- export declare const CardContentExWithRef: React.ForwardRefExoticComponent<Omit<CardContentExProps, "ref"> & React.RefAttributes<HTMLDivElement | null>>;
10
- export declare const CardContentEx: React.ForwardRefExoticComponent<Omit<CardContentExProps, "ref"> & React.RefAttributes<HTMLDivElement | null>>;
11
- //# sourceMappingURL=CardContentEx.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CardContentEx.d.ts","sourceRoot":"","sources":["../../../src/components/CardContentEx.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,gBAAgB,EAAU,MAAM,eAAe,CAAA;AAErE,OAAO,KAAgC,MAAM,OAAO,CAAA;AAiBpD,MAAM,MAAM,kBAAkB,GAAG,gBAAgB,GAAG;IAClD,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,YAAY,GAAG,QAAQ,CAAA;CAClC,CAAA;AAED,eAAO,MAAM,oBAAoB,+GAU/B,CAAA;AAIF,eAAO,MAAM,aAAa,+GAAuB,CAAA"}
@@ -1,8 +0,0 @@
1
- import { CardProps } from '@mui/material';
2
- import React from 'react';
3
- export interface CardExProps extends CardProps {
4
- gradient?: 'border' | 'background';
5
- }
6
- export declare const CardExWithRef: React.ForwardRefExoticComponent<Omit<CardExProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
7
- export declare const CardEx: React.ForwardRefExoticComponent<Omit<CardExProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
8
- //# sourceMappingURL=CardEx.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CardEx.d.ts","sourceRoot":"","sources":["../../../src/components/CardEx.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,SAAS,EAAE,MAAM,eAAe,CAAA;AAE/C,OAAO,KAAqB,MAAM,OAAO,CAAA;AAEzC,MAAM,WAAW,WAAY,SAAQ,SAAS;IAC5C,QAAQ,CAAC,EAAE,QAAQ,GAAG,YAAY,CAAA;CACnC;AAED,eAAO,MAAM,aAAa,iGAkBxB,CAAA;AAIF,eAAO,MAAM,MAAM,iGAAgB,CAAA"}
@@ -1,8 +0,0 @@
1
- import { CardProps } from '@mui/material';
2
- import React from 'react';
3
- export interface CardExProps extends CardProps {
4
- gradient?: 'border' | 'background';
5
- }
6
- export declare const CardExWithRef: React.ForwardRefExoticComponent<Omit<CardExProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
7
- export declare const CardEx: React.ForwardRefExoticComponent<Omit<CardExProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
8
- //# sourceMappingURL=CardEx.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CardEx.d.ts","sourceRoot":"","sources":["../../../src/components/CardEx.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,SAAS,EAAE,MAAM,eAAe,CAAA;AAE/C,OAAO,KAAqB,MAAM,OAAO,CAAA;AAEzC,MAAM,WAAW,WAAY,SAAQ,SAAS;IAC5C,QAAQ,CAAC,EAAE,QAAQ,GAAG,YAAY,CAAA;CACnC;AAED,eAAO,MAAM,aAAa,iGAkBxB,CAAA;AAIF,eAAO,MAAM,MAAM,iGAAgB,CAAA"}
@@ -1,8 +0,0 @@
1
- import { CardProps } from '@mui/material';
2
- import React from 'react';
3
- export interface CardExProps extends CardProps {
4
- gradient?: 'border' | 'background';
5
- }
6
- export declare const CardExWithRef: React.ForwardRefExoticComponent<Omit<CardExProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
7
- export declare const CardEx: React.ForwardRefExoticComponent<Omit<CardExProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
8
- //# sourceMappingURL=CardEx.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CardEx.d.ts","sourceRoot":"","sources":["../../../src/components/CardEx.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,SAAS,EAAE,MAAM,eAAe,CAAA;AAE/C,OAAO,KAAqB,MAAM,OAAO,CAAA;AAEzC,MAAM,WAAW,WAAY,SAAQ,SAAS;IAC5C,QAAQ,CAAC,EAAE,QAAQ,GAAG,YAAY,CAAA;CACnC;AAED,eAAO,MAAM,aAAa,iGAkBxB,CAAA;AAIF,eAAO,MAAM,MAAM,iGAAgB,CAAA"}
@@ -1,15 +0,0 @@
1
- import { CardProps } from '@mui/material';
2
- import React, { ReactNode } from 'react';
3
- import { To } from 'react-router-dom';
4
- export interface FullWidthCardProps extends CardProps {
5
- cardIsButton?: boolean;
6
- desc?: ReactNode;
7
- href?: string;
8
- linkText?: string;
9
- media?: string;
10
- name: ReactNode;
11
- small?: boolean;
12
- to?: To;
13
- }
14
- export declare const FullWidthCard: React.FC<FullWidthCardProps>;
15
- //# sourceMappingURL=FullWidthCard.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FullWidthCard.d.ts","sourceRoot":"","sources":["../../../../src/components/FullWidthCard/FullWidthCard.tsx"],"names":[],"mappings":"AACA,OAAO,EAAoD,SAAS,EAAgD,MAAM,eAAe,CAAA;AAGzI,OAAO,KAAK,EAAE,EAAE,SAAS,EAAY,MAAM,OAAO,CAAA;AAClD,OAAO,EAAE,EAAE,EAAe,MAAM,kBAAkB,CAAA;AAElD,MAAM,WAAW,kBAAmB,SAAQ,SAAS;IACnD,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,SAAS,CAAA;IACf,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,EAAE,CAAC,EAAE,EAAE,CAAA;CACR;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA6GtD,CAAA"}
@@ -1,15 +0,0 @@
1
- import { CardProps } from '@mui/material';
2
- import React, { ReactNode } from 'react';
3
- import { To } from 'react-router-dom';
4
- export interface FullWidthCardProps extends CardProps {
5
- cardIsButton?: boolean;
6
- desc?: ReactNode;
7
- href?: string;
8
- linkText?: string;
9
- media?: string;
10
- name: ReactNode;
11
- small?: boolean;
12
- to?: To;
13
- }
14
- export declare const FullWidthCard: React.FC<FullWidthCardProps>;
15
- //# sourceMappingURL=FullWidthCard.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FullWidthCard.d.ts","sourceRoot":"","sources":["../../../../src/components/FullWidthCard/FullWidthCard.tsx"],"names":[],"mappings":"AACA,OAAO,EAAoD,SAAS,EAAgD,MAAM,eAAe,CAAA;AAGzI,OAAO,KAAK,EAAE,EAAE,SAAS,EAAY,MAAM,OAAO,CAAA;AAClD,OAAO,EAAE,EAAE,EAAe,MAAM,kBAAkB,CAAA;AAElD,MAAM,WAAW,kBAAmB,SAAQ,SAAS;IACnD,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,SAAS,CAAA;IACf,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,EAAE,CAAC,EAAE,EAAE,CAAA;CACR;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA6GtD,CAAA"}
@@ -1,15 +0,0 @@
1
- import { CardProps } from '@mui/material';
2
- import React, { ReactNode } from 'react';
3
- import { To } from 'react-router-dom';
4
- export interface FullWidthCardProps extends CardProps {
5
- cardIsButton?: boolean;
6
- desc?: ReactNode;
7
- href?: string;
8
- linkText?: string;
9
- media?: string;
10
- name: ReactNode;
11
- small?: boolean;
12
- to?: To;
13
- }
14
- export declare const FullWidthCard: React.FC<FullWidthCardProps>;
15
- //# sourceMappingURL=FullWidthCard.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FullWidthCard.d.ts","sourceRoot":"","sources":["../../../../src/components/FullWidthCard/FullWidthCard.tsx"],"names":[],"mappings":"AACA,OAAO,EAAoD,SAAS,EAAgD,MAAM,eAAe,CAAA;AAGzI,OAAO,KAAK,EAAE,EAAE,SAAS,EAAY,MAAM,OAAO,CAAA;AAClD,OAAO,EAAE,EAAE,EAAe,MAAM,kBAAkB,CAAA;AAElD,MAAM,WAAW,kBAAmB,SAAQ,SAAS;IACnD,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,SAAS,CAAA;IACf,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,EAAE,CAAC,EAAE,EAAE,CAAA;CACR;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA6GtD,CAAA"}
@@ -1,2 +0,0 @@
1
- export * from './FullWidthCard.tsx';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/FullWidthCard/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA"}
@@ -1,2 +0,0 @@
1
- export * from './FullWidthCard.tsx';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/FullWidthCard/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA"}
@@ -1,2 +0,0 @@
1
- export * from './FullWidthCard.tsx';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/FullWidthCard/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA"}
@@ -1,10 +0,0 @@
1
- import { CardHeaderProps } from '@mui/material';
2
- import React, { ReactNode } from 'react';
3
- import { CardExProps } from './CardEx.tsx';
4
- export interface PageCardProps extends CardExProps {
5
- action?: ReactNode;
6
- onRefresh?: () => void;
7
- subheader?: CardHeaderProps['subheader'];
8
- }
9
- export declare const PageCard: React.ForwardRefExoticComponent<Omit<PageCardProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
10
- //# sourceMappingURL=PageCard.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PageCard.d.ts","sourceRoot":"","sources":["../../../src/components/PageCard.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,eAAe,EAAc,MAAM,eAAe,CAAA;AAEvE,OAAO,KAAK,EAAE,EAAc,SAAS,EAAE,MAAM,OAAO,CAAA;AAEpD,OAAO,EAAU,WAAW,EAAE,MAAM,cAAc,CAAA;AAElD,MAAM,WAAW,aAAc,SAAQ,WAAW;IAChD,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;IACtB,SAAS,CAAC,EAAE,eAAe,CAAC,WAAW,CAAC,CAAA;CACzC;AAiCD,eAAO,MAAM,QAAQ,mGAAkB,CAAA"}
@@ -1,10 +0,0 @@
1
- import { CardHeaderProps } from '@mui/material';
2
- import React, { ReactNode } from 'react';
3
- import { CardExProps } from './CardEx.tsx';
4
- export interface PageCardProps extends CardExProps {
5
- action?: ReactNode;
6
- onRefresh?: () => void;
7
- subheader?: CardHeaderProps['subheader'];
8
- }
9
- export declare const PageCard: React.ForwardRefExoticComponent<Omit<PageCardProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
10
- //# sourceMappingURL=PageCard.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PageCard.d.ts","sourceRoot":"","sources":["../../../src/components/PageCard.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,eAAe,EAAc,MAAM,eAAe,CAAA;AAEvE,OAAO,KAAK,EAAE,EAAc,SAAS,EAAE,MAAM,OAAO,CAAA;AAEpD,OAAO,EAAU,WAAW,EAAE,MAAM,cAAc,CAAA;AAElD,MAAM,WAAW,aAAc,SAAQ,WAAW;IAChD,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;IACtB,SAAS,CAAC,EAAE,eAAe,CAAC,WAAW,CAAC,CAAA;CACzC;AAiCD,eAAO,MAAM,QAAQ,mGAAkB,CAAA"}
@@ -1,10 +0,0 @@
1
- import { CardHeaderProps } from '@mui/material';
2
- import React, { ReactNode } from 'react';
3
- import { CardExProps } from './CardEx.tsx';
4
- export interface PageCardProps extends CardExProps {
5
- action?: ReactNode;
6
- onRefresh?: () => void;
7
- subheader?: CardHeaderProps['subheader'];
8
- }
9
- export declare const PageCard: React.ForwardRefExoticComponent<Omit<PageCardProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
10
- //# sourceMappingURL=PageCard.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PageCard.d.ts","sourceRoot":"","sources":["../../../src/components/PageCard.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,eAAe,EAAc,MAAM,eAAe,CAAA;AAEvE,OAAO,KAAK,EAAE,EAAc,SAAS,EAAE,MAAM,OAAO,CAAA;AAEpD,OAAO,EAAU,WAAW,EAAE,MAAM,cAAc,CAAA;AAElD,MAAM,WAAW,aAAc,SAAQ,WAAW;IAChD,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;IACtB,SAAS,CAAC,EAAE,eAAe,CAAC,WAAW,CAAC,CAAA;CACzC;AAiCD,eAAO,MAAM,QAAQ,mGAAkB,CAAA"}
@@ -1,16 +0,0 @@
1
- import React, { ReactNode } from 'react';
2
- import { To } from 'react-router-dom';
3
- import { CardExProps } from '../CardEx.tsx';
4
- export interface SimpleCardProps extends CardExProps {
5
- desc?: ReactNode;
6
- headline?: ReactNode;
7
- href?: string;
8
- iconImage?: string;
9
- interactionVariant?: 'button' | 'card';
10
- media?: string;
11
- small?: boolean;
12
- subtitle?: string;
13
- to?: To;
14
- }
15
- export declare const SimpleCard: React.FC<SimpleCardProps>;
16
- //# sourceMappingURL=SimpleCard.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SimpleCard.d.ts","sourceRoot":"","sources":["../../../../src/components/SimpleCard/SimpleCard.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAY,MAAM,OAAO,CAAA;AAClD,OAAO,EAAE,EAAE,EAAe,MAAM,kBAAkB,CAAA;AAElD,OAAO,EAAU,WAAW,EAAE,MAAM,eAAe,CAAA;AAEnD,MAAM,WAAW,eAAgB,SAAQ,WAAW;IAClD,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,kBAAkB,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAA;IACtC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,EAAE,CAAC,EAAE,EAAE,CAAA;CACR;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA8GhD,CAAA"}
@@ -1,16 +0,0 @@
1
- import React, { ReactNode } from 'react';
2
- import { To } from 'react-router-dom';
3
- import { CardExProps } from '../CardEx.tsx';
4
- export interface SimpleCardProps extends CardExProps {
5
- desc?: ReactNode;
6
- headline?: ReactNode;
7
- href?: string;
8
- iconImage?: string;
9
- interactionVariant?: 'button' | 'card';
10
- media?: string;
11
- small?: boolean;
12
- subtitle?: string;
13
- to?: To;
14
- }
15
- export declare const SimpleCard: React.FC<SimpleCardProps>;
16
- //# sourceMappingURL=SimpleCard.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SimpleCard.d.ts","sourceRoot":"","sources":["../../../../src/components/SimpleCard/SimpleCard.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAY,MAAM,OAAO,CAAA;AAClD,OAAO,EAAE,EAAE,EAAe,MAAM,kBAAkB,CAAA;AAElD,OAAO,EAAU,WAAW,EAAE,MAAM,eAAe,CAAA;AAEnD,MAAM,WAAW,eAAgB,SAAQ,WAAW;IAClD,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,kBAAkB,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAA;IACtC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,EAAE,CAAC,EAAE,EAAE,CAAA;CACR;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA8GhD,CAAA"}
@@ -1,16 +0,0 @@
1
- import React, { ReactNode } from 'react';
2
- import { To } from 'react-router-dom';
3
- import { CardExProps } from '../CardEx.tsx';
4
- export interface SimpleCardProps extends CardExProps {
5
- desc?: ReactNode;
6
- headline?: ReactNode;
7
- href?: string;
8
- iconImage?: string;
9
- interactionVariant?: 'button' | 'card';
10
- media?: string;
11
- small?: boolean;
12
- subtitle?: string;
13
- to?: To;
14
- }
15
- export declare const SimpleCard: React.FC<SimpleCardProps>;
16
- //# sourceMappingURL=SimpleCard.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SimpleCard.d.ts","sourceRoot":"","sources":["../../../../src/components/SimpleCard/SimpleCard.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAY,MAAM,OAAO,CAAA;AAClD,OAAO,EAAE,EAAE,EAAe,MAAM,kBAAkB,CAAA;AAElD,OAAO,EAAU,WAAW,EAAE,MAAM,eAAe,CAAA;AAEnD,MAAM,WAAW,eAAgB,SAAQ,WAAW;IAClD,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,kBAAkB,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAA;IACtC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,EAAE,CAAC,EAAE,EAAE,CAAA;CACR;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA8GhD,CAAA"}