@imtf/icons 0.6.0 → 0.6.2-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (229) hide show
  1. package/lib/components/IconSVG.d.ts +1 -1
  2. package/lib/components/IconSVG.js +26 -21
  3. package/lib/components/IconSVG.mjs +27 -21
  4. package/lib/components/IconSVG.spec.d.ts +1 -0
  5. package/lib/icons/AccountEntityIcon.js +1 -1
  6. package/lib/icons/AccountEntityIcon.mjs +1 -0
  7. package/lib/icons/AccountIcon.js +1 -1
  8. package/lib/icons/AccountIcon.mjs +1 -0
  9. package/lib/icons/ActiveOriginArchiveIcon.js +1 -1
  10. package/lib/icons/ActiveOriginArchiveIcon.mjs +1 -0
  11. package/lib/icons/AddIcon.js +1 -1
  12. package/lib/icons/AddIcon.mjs +1 -0
  13. package/lib/icons/AdminIcon.js +1 -1
  14. package/lib/icons/AdminIcon.mjs +1 -0
  15. package/lib/icons/AlertCircleIcon.js +1 -1
  16. package/lib/icons/AlertCircleIcon.mjs +1 -0
  17. package/lib/icons/AlertIcon.js +1 -1
  18. package/lib/icons/AlertIcon.mjs +1 -0
  19. package/lib/icons/AntiMoneyLaundringIcon.js +1 -1
  20. package/lib/icons/AntiMoneyLaundringIcon.mjs +1 -0
  21. package/lib/icons/ArchivedIcon.js +1 -1
  22. package/lib/icons/ArchivedIcon.mjs +1 -0
  23. package/lib/icons/BackgroundSearchIcon.js +1 -1
  24. package/lib/icons/BackgroundSearchIcon.mjs +1 -0
  25. package/lib/icons/BaseDefaultIcon.js +1 -1
  26. package/lib/icons/BaseDefaultIcon.mjs +1 -0
  27. package/lib/icons/BindersIcon.js +1 -1
  28. package/lib/icons/BindersIcon.mjs +1 -0
  29. package/lib/icons/BinocularsIcon.js +1 -1
  30. package/lib/icons/BinocularsIcon.mjs +1 -0
  31. package/lib/icons/BookmarksIcon.js +1 -1
  32. package/lib/icons/BookmarksIcon.mjs +1 -0
  33. package/lib/icons/CancelIcon.js +1 -1
  34. package/lib/icons/CancelIcon.mjs +1 -0
  35. package/lib/icons/CaseManagerIcon.js +1 -1
  36. package/lib/icons/CaseManagerIcon.mjs +1 -0
  37. package/lib/icons/CheckIcon.js +1 -1
  38. package/lib/icons/CheckIcon.mjs +1 -0
  39. package/lib/icons/ChevronDownIcon.js +1 -1
  40. package/lib/icons/ChevronDownIcon.mjs +1 -0
  41. package/lib/icons/ChevronLeftIcon.js +1 -1
  42. package/lib/icons/ChevronLeftIcon.mjs +1 -0
  43. package/lib/icons/ChevronRightIcon.js +1 -1
  44. package/lib/icons/ChevronRightIcon.mjs +1 -0
  45. package/lib/icons/ChevronUpIcon.js +1 -1
  46. package/lib/icons/ChevronUpIcon.mjs +1 -0
  47. package/lib/icons/CollectSignatureIcon.js +1 -1
  48. package/lib/icons/CollectSignatureIcon.mjs +1 -0
  49. package/lib/icons/CommentIcon.js +1 -1
  50. package/lib/icons/CommentIcon.mjs +1 -0
  51. package/lib/icons/CompareIcon.js +1 -1
  52. package/lib/icons/CompareIcon.mjs +1 -0
  53. package/lib/icons/ComposeFilled1Icon.js +1 -1
  54. package/lib/icons/ComposeFilled1Icon.mjs +1 -0
  55. package/lib/icons/ComposeFilled2Icon.js +1 -1
  56. package/lib/icons/ComposeFilled2Icon.mjs +1 -0
  57. package/lib/icons/CustomerIcon.js +1 -1
  58. package/lib/icons/CustomerIcon.mjs +1 -0
  59. package/lib/icons/DashboardIcon.js +1 -1
  60. package/lib/icons/DashboardIcon.mjs +1 -0
  61. package/lib/icons/DefaultIcon.js +1 -1
  62. package/lib/icons/DefaultIcon.mjs +1 -0
  63. package/lib/icons/DeleteIcon.js +1 -1
  64. package/lib/icons/DeleteIcon.mjs +1 -0
  65. package/lib/icons/DocIcon.js +1 -1
  66. package/lib/icons/DocIcon.mjs +1 -0
  67. package/lib/icons/DocLinkIcon.js +1 -1
  68. package/lib/icons/DocLinkIcon.mjs +1 -0
  69. package/lib/icons/DocumentIcon.js +1 -1
  70. package/lib/icons/DocumentIcon.mjs +1 -0
  71. package/lib/icons/DossierIcon.js +1 -1
  72. package/lib/icons/DossierIcon.mjs +1 -0
  73. package/lib/icons/DownloadIcon.js +1 -1
  74. package/lib/icons/DownloadIcon.mjs +1 -0
  75. package/lib/icons/DragHandleIcon.js +1 -1
  76. package/lib/icons/DragHandleIcon.mjs +1 -0
  77. package/lib/icons/EditIcon.js +1 -1
  78. package/lib/icons/EditIcon.mjs +1 -0
  79. package/lib/icons/EditSignatureIcon.js +1 -1
  80. package/lib/icons/EditSignatureIcon.mjs +1 -0
  81. package/lib/icons/EmptyNotificationIcon.js +1 -1
  82. package/lib/icons/EmptyNotificationIcon.mjs +1 -0
  83. package/lib/icons/EntityIcon.js +1 -1
  84. package/lib/icons/EntityIcon.mjs +1 -0
  85. package/lib/icons/EraseIcon.js +1 -1
  86. package/lib/icons/EraseIcon.mjs +1 -0
  87. package/lib/icons/ExpandContentIcon.js +1 -1
  88. package/lib/icons/ExpandContentIcon.mjs +1 -0
  89. package/lib/icons/EyeIcon.js +1 -1
  90. package/lib/icons/EyeIcon.mjs +1 -0
  91. package/lib/icons/EyeOffIcon.js +1 -1
  92. package/lib/icons/EyeOffIcon.mjs +1 -0
  93. package/lib/icons/FileIcon.js +1 -1
  94. package/lib/icons/FileIcon.mjs +1 -0
  95. package/lib/icons/FileImageIcon.js +1 -1
  96. package/lib/icons/FileImageIcon.mjs +1 -0
  97. package/lib/icons/FileImageLinkIcon.js +1 -1
  98. package/lib/icons/FileImageLinkIcon.mjs +1 -0
  99. package/lib/icons/FileLinkIcon.js +1 -1
  100. package/lib/icons/FileLinkIcon.mjs +1 -0
  101. package/lib/icons/FilePdfIcon.js +1 -1
  102. package/lib/icons/FilePdfIcon.mjs +1 -0
  103. package/lib/icons/FilePdfLinkIcon.js +1 -1
  104. package/lib/icons/FilePdfLinkIcon.mjs +1 -0
  105. package/lib/icons/FileStackIcon.js +1 -1
  106. package/lib/icons/FileStackIcon.mjs +1 -0
  107. package/lib/icons/FloppyFilledIcon.js +1 -1
  108. package/lib/icons/FloppyFilledIcon.mjs +1 -0
  109. package/lib/icons/FolderIcon.js +1 -1
  110. package/lib/icons/FolderIcon.mjs +1 -0
  111. package/lib/icons/FolderTemplateIcon.js +1 -1
  112. package/lib/icons/FolderTemplateIcon.mjs +1 -0
  113. package/lib/icons/FraudDetectionPreventionIcon.js +1 -1
  114. package/lib/icons/FraudDetectionPreventionIcon.mjs +1 -0
  115. package/lib/icons/GraphIcon.js +1 -1
  116. package/lib/icons/GraphIcon.mjs +1 -0
  117. package/lib/icons/GroupIcon.js +1 -1
  118. package/lib/icons/GroupIcon.mjs +1 -0
  119. package/lib/icons/HistoryIcon.js +1 -1
  120. package/lib/icons/HistoryIcon.mjs +1 -0
  121. package/lib/icons/HomeIcon.js +1 -1
  122. package/lib/icons/HomeIcon.mjs +1 -0
  123. package/lib/icons/HorseIcon.js +1 -1
  124. package/lib/icons/HorseIcon.mjs +1 -0
  125. package/lib/icons/HouseholdEntityIcon.js +1 -1
  126. package/lib/icons/HouseholdEntityIcon.mjs +1 -0
  127. package/lib/icons/InboxIcon.js +1 -1
  128. package/lib/icons/InboxIcon.mjs +1 -0
  129. package/lib/icons/IncomingIcon.js +1 -1
  130. package/lib/icons/IncomingIcon.mjs +1 -0
  131. package/lib/icons/InfoIcon.js +1 -1
  132. package/lib/icons/InfoIcon.mjs +1 -0
  133. package/lib/icons/InheritableIcon.js +1 -1
  134. package/lib/icons/InheritableIcon.mjs +1 -0
  135. package/lib/icons/LegalEntityIcon.js +1 -1
  136. package/lib/icons/LegalEntityIcon.mjs +1 -0
  137. package/lib/icons/LinkIcon.js +1 -1
  138. package/lib/icons/LinkIcon.mjs +1 -0
  139. package/lib/icons/LogoIcon.js +1 -1
  140. package/lib/icons/LogoIcon.mjs +1 -0
  141. package/lib/icons/MenuIcon.js +1 -1
  142. package/lib/icons/MenuIcon.mjs +1 -0
  143. package/lib/icons/MoreIcon.js +1 -1
  144. package/lib/icons/MoreIcon.mjs +1 -0
  145. package/lib/icons/NameScreeningIcon.js +1 -1
  146. package/lib/icons/NameScreeningIcon.mjs +1 -0
  147. package/lib/icons/NaturalPersonIcon.js +1 -1
  148. package/lib/icons/NaturalPersonIcon.mjs +1 -0
  149. package/lib/icons/NotFoundIcon.js +1 -1
  150. package/lib/icons/NotFoundIcon.mjs +1 -0
  151. package/lib/icons/NotificationsOutlineIcon.js +1 -1
  152. package/lib/icons/NotificationsOutlineIcon.mjs +1 -0
  153. package/lib/icons/OutgoingIcon.js +1 -1
  154. package/lib/icons/OutgoingIcon.mjs +1 -0
  155. package/lib/icons/PassivatedIcon.js +1 -1
  156. package/lib/icons/PassivatedIcon.mjs +1 -0
  157. package/lib/icons/PassiveOriginArchiveIcon.js +1 -1
  158. package/lib/icons/PassiveOriginArchiveIcon.mjs +1 -0
  159. package/lib/icons/PersonIcon.js +1 -1
  160. package/lib/icons/PersonIcon.mjs +1 -0
  161. package/lib/icons/PinFilledIcon.js +1 -1
  162. package/lib/icons/PinFilledIcon.mjs +1 -0
  163. package/lib/icons/PinOutlinedIcon.js +1 -1
  164. package/lib/icons/PinOutlinedIcon.mjs +1 -0
  165. package/lib/icons/PptIcon.js +1 -1
  166. package/lib/icons/PptIcon.mjs +1 -0
  167. package/lib/icons/PptLinkIcon.js +1 -1
  168. package/lib/icons/PptLinkIcon.mjs +1 -0
  169. package/lib/icons/PreviewIcon.js +1 -1
  170. package/lib/icons/PreviewIcon.mjs +1 -0
  171. package/lib/icons/RegulatoryReportingIcon.js +1 -1
  172. package/lib/icons/RegulatoryReportingIcon.mjs +1 -0
  173. package/lib/icons/RemoveIcon.js +1 -1
  174. package/lib/icons/RemoveIcon.mjs +1 -0
  175. package/lib/icons/RiskScoringIcon.js +1 -1
  176. package/lib/icons/RiskScoringIcon.mjs +1 -0
  177. package/lib/icons/RotateRightIcon.js +1 -1
  178. package/lib/icons/RotateRightIcon.mjs +1 -0
  179. package/lib/icons/ScissorsIcon.js +1 -1
  180. package/lib/icons/ScissorsIcon.mjs +1 -0
  181. package/lib/icons/SearchIcon.js +1 -1
  182. package/lib/icons/SearchIcon.mjs +1 -0
  183. package/lib/icons/SentToArchiveIcon.js +1 -1
  184. package/lib/icons/SentToArchiveIcon.mjs +1 -0
  185. package/lib/icons/SentToPassivateIcon.js +1 -1
  186. package/lib/icons/SentToPassivateIcon.mjs +1 -0
  187. package/lib/icons/SidebarCollapsedIcon.js +1 -1
  188. package/lib/icons/SidebarCollapsedIcon.mjs +1 -0
  189. package/lib/icons/SidebarExpandedIcon.js +1 -1
  190. package/lib/icons/SidebarExpandedIcon.mjs +1 -0
  191. package/lib/icons/StarBorderIcon.js +1 -1
  192. package/lib/icons/StarBorderIcon.mjs +1 -0
  193. package/lib/icons/StarIcon.js +1 -1
  194. package/lib/icons/StarIcon.mjs +1 -0
  195. package/lib/icons/SystemBotIcon.js +1 -1
  196. package/lib/icons/SystemBotIcon.mjs +1 -0
  197. package/lib/icons/TableIcon.js +1 -1
  198. package/lib/icons/TableIcon.mjs +1 -0
  199. package/lib/icons/TaskApprovalTriggeredIcon.js +1 -1
  200. package/lib/icons/TaskApprovalTriggeredIcon.mjs +1 -0
  201. package/lib/icons/TaskApprovedIcon.js +1 -1
  202. package/lib/icons/TaskApprovedIcon.mjs +1 -0
  203. package/lib/icons/TaskIcon.js +1 -1
  204. package/lib/icons/TaskIcon.mjs +1 -0
  205. package/lib/icons/TaskRejectedIcon.js +1 -1
  206. package/lib/icons/TaskRejectedIcon.mjs +1 -0
  207. package/lib/icons/TransactionsSanctionsScreeningIcon.js +1 -1
  208. package/lib/icons/TransactionsSanctionsScreeningIcon.mjs +1 -0
  209. package/lib/icons/TypesIcon.js +1 -1
  210. package/lib/icons/TypesIcon.mjs +1 -0
  211. package/lib/icons/ViewTreeIcon.js +1 -1
  212. package/lib/icons/ViewTreeIcon.mjs +1 -0
  213. package/lib/icons/WarningIcon.js +1 -1
  214. package/lib/icons/WarningIcon.mjs +1 -0
  215. package/lib/icons/WorkbenchIcon.js +1 -1
  216. package/lib/icons/WorkbenchIcon.mjs +1 -0
  217. package/lib/icons/XlsIcon.js +1 -1
  218. package/lib/icons/XlsIcon.mjs +1 -0
  219. package/lib/icons/XlsLinkIcon.js +1 -1
  220. package/lib/icons/XlsLinkIcon.mjs +1 -0
  221. package/lib/index.js +0 -1
  222. package/lib/providers/IconProvider/Context.js +1 -1
  223. package/lib/providers/IconProvider/Context.mjs +1 -0
  224. package/lib/providers/IconProvider/IconProvider.js +1 -1
  225. package/lib/providers/IconProvider/IconProvider.mjs +1 -0
  226. package/lib/tests/setup.d.ts +6 -0
  227. package/lib/utils/get.js +0 -1
  228. package/lib/utils/isObject.js +0 -1
  229. package/package.json +7 -1
@@ -5,5 +5,5 @@ type IconSVGProps = {
5
5
  src?: string;
6
6
  children?: ReactElement;
7
7
  };
8
- export declare const IconSVG: import("react").ForwardRefExoticComponent<IconSVGProps & import("react").RefAttributes<import("react").FC<{}>>>;
8
+ export declare const IconSVG: import("react").ForwardRefExoticComponent<IconSVGProps & import("react").RefAttributes<HTMLDivElement | SVGSVGElement>>;
9
9
  export {};
@@ -1,10 +1,12 @@
1
- "use strict";
1
+ "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
5
5
  const Context = require("../providers/IconProvider/Context.js");
6
6
  const get = require("../utils/get.js");
7
- const IconComponent = ({ color: defaultColor, size, src, children, ...props }, ref) => {
7
+ const IconComponent = ({ color: defaultColor, size, src, children, ...props }, outerRef) => {
8
+ const innerRef = react.useRef(null);
9
+ react.useImperativeHandle(outerRef, () => innerRef.current, []);
8
10
  const defaultContextValues = react.useContext(Context.IconContext);
9
11
  const defaultValues = {
10
12
  ...defaultContextValues,
@@ -16,23 +18,26 @@ const IconComponent = ({ color: defaultColor, size, src, children, ...props }, r
16
18
  return typeof color2 === "string" ? color2 : defaultValues.color;
17
19
  }, [defaultValues.color, defaultValues.palette]);
18
20
  react.useEffect(() => {
19
- if (src && !children) {
20
- const wrapper = document.getElementById("SVGWrapper");
21
- wrapper.innerHTML = atob(
22
- src.startsWith("data") ? src.split(",")[1] : src
23
- );
24
- const svg = wrapper == null ? void 0 : wrapper.children;
25
- const path = svg == null ? void 0 : svg[0].firstElementChild;
26
- svg == null ? void 0 : svg[0].setAttribute(
27
- "width",
28
- typeof defaultValues.size === "number" ? defaultValues.size + "px" : defaultValues.size
29
- );
30
- svg == null ? void 0 : svg[0].setAttribute(
31
- "height",
32
- typeof defaultValues.size === "number" ? defaultValues.size + "px" : defaultValues.size
33
- );
34
- path == null ? void 0 : path.setAttribute("fill", color);
35
- path == null ? void 0 : path.setAttribute("color", color);
21
+ if (innerRef.current && src && !children) {
22
+ const { current: wrapper } = innerRef;
23
+ try {
24
+ wrapper.innerHTML = atob(
25
+ src.startsWith("data") ? src.split(",")[1] : src
26
+ );
27
+ const svg = wrapper.children;
28
+ const path = svg[0].firstElementChild;
29
+ svg == null ? void 0 : svg[0].setAttribute(
30
+ "width",
31
+ typeof defaultValues.size === "number" ? defaultValues.size + "px" : defaultValues.size
32
+ );
33
+ svg == null ? void 0 : svg[0].setAttribute(
34
+ "height",
35
+ typeof defaultValues.size === "number" ? defaultValues.size + "px" : defaultValues.size
36
+ );
37
+ path == null ? void 0 : path.setAttribute("fill", color);
38
+ path == null ? void 0 : path.setAttribute("color", color);
39
+ } catch {
40
+ }
36
41
  }
37
42
  }, [color, src, children, size, defaultValues.size]);
38
43
  if (children) {
@@ -41,12 +46,12 @@ const IconComponent = ({ color: defaultColor, size, src, children, ...props }, r
41
46
  color,
42
47
  width: defaultValues.size,
43
48
  height: defaultValues.size,
44
- ref,
49
+ ref: innerRef,
45
50
  ...props
46
51
  });
47
52
  }
48
53
  if (src) {
49
- return /* @__PURE__ */ jsxRuntime.jsx("div", { id: "SVGWrapper" });
54
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { ref: innerRef });
50
55
  }
51
56
  return null;
52
57
  };
@@ -1,8 +1,11 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
- import { forwardRef, useContext, useMemo, useEffect, cloneElement } from "react";
3
+ import { forwardRef, useRef, useImperativeHandle, useContext, useMemo, useEffect, cloneElement } from "react";
3
4
  import { IconContext } from "../providers/IconProvider/Context.mjs";
4
5
  import get from "../utils/get.mjs";
5
- const IconComponent = ({ color: defaultColor, size, src, children, ...props }, ref) => {
6
+ const IconComponent = ({ color: defaultColor, size, src, children, ...props }, outerRef) => {
7
+ const innerRef = useRef(null);
8
+ useImperativeHandle(outerRef, () => innerRef.current, []);
6
9
  const defaultContextValues = useContext(IconContext);
7
10
  const defaultValues = {
8
11
  ...defaultContextValues,
@@ -14,23 +17,26 @@ const IconComponent = ({ color: defaultColor, size, src, children, ...props }, r
14
17
  return typeof color2 === "string" ? color2 : defaultValues.color;
15
18
  }, [defaultValues.color, defaultValues.palette]);
16
19
  useEffect(() => {
17
- if (src && !children) {
18
- const wrapper = document.getElementById("SVGWrapper");
19
- wrapper.innerHTML = atob(
20
- src.startsWith("data") ? src.split(",")[1] : src
21
- );
22
- const svg = wrapper == null ? void 0 : wrapper.children;
23
- const path = svg == null ? void 0 : svg[0].firstElementChild;
24
- svg == null ? void 0 : svg[0].setAttribute(
25
- "width",
26
- typeof defaultValues.size === "number" ? defaultValues.size + "px" : defaultValues.size
27
- );
28
- svg == null ? void 0 : svg[0].setAttribute(
29
- "height",
30
- typeof defaultValues.size === "number" ? defaultValues.size + "px" : defaultValues.size
31
- );
32
- path == null ? void 0 : path.setAttribute("fill", color);
33
- path == null ? void 0 : path.setAttribute("color", color);
20
+ if (innerRef.current && src && !children) {
21
+ const { current: wrapper } = innerRef;
22
+ try {
23
+ wrapper.innerHTML = atob(
24
+ src.startsWith("data") ? src.split(",")[1] : src
25
+ );
26
+ const svg = wrapper.children;
27
+ const path = svg[0].firstElementChild;
28
+ svg == null ? void 0 : svg[0].setAttribute(
29
+ "width",
30
+ typeof defaultValues.size === "number" ? defaultValues.size + "px" : defaultValues.size
31
+ );
32
+ svg == null ? void 0 : svg[0].setAttribute(
33
+ "height",
34
+ typeof defaultValues.size === "number" ? defaultValues.size + "px" : defaultValues.size
35
+ );
36
+ path == null ? void 0 : path.setAttribute("fill", color);
37
+ path == null ? void 0 : path.setAttribute("color", color);
38
+ } catch {
39
+ }
34
40
  }
35
41
  }, [color, src, children, size, defaultValues.size]);
36
42
  if (children) {
@@ -39,12 +45,12 @@ const IconComponent = ({ color: defaultColor, size, src, children, ...props }, r
39
45
  color,
40
46
  width: defaultValues.size,
41
47
  height: defaultValues.size,
42
- ref,
48
+ ref: innerRef,
43
49
  ...props
44
50
  });
45
51
  }
46
52
  if (src) {
47
- return /* @__PURE__ */ jsx("div", { id: "SVGWrapper" });
53
+ return /* @__PURE__ */ jsx("div", { ref: innerRef });
48
54
  }
49
55
  return null;
50
56
  };
@@ -0,0 +1 @@
1
+ export {};
@@ -1,4 +1,4 @@
1
- "use strict";
1
+ "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import { forwardRef, useContext, useMemo } from "react";
3
4
  import get from "../utils/get.mjs";
@@ -1,4 +1,4 @@
1
- "use strict";
1
+ "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsxs, jsx } from "react/jsx-runtime";
2
3
  import { forwardRef, useContext, useMemo } from "react";
3
4
  import get from "../utils/get.mjs";
@@ -1,4 +1,4 @@
1
- "use strict";
1
+ "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsxs, jsx } from "react/jsx-runtime";
2
3
  import { forwardRef, useContext, useMemo } from "react";
3
4
  import get from "../utils/get.mjs";
@@ -1,4 +1,4 @@
1
- "use strict";
1
+ "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import { forwardRef, useContext, useMemo } from "react";
3
4
  import get from "../utils/get.mjs";
@@ -1,4 +1,4 @@
1
- "use strict";
1
+ "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import { forwardRef, useContext, useMemo } from "react";
3
4
  import get from "../utils/get.mjs";
@@ -1,4 +1,4 @@
1
- "use strict";
1
+ "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import { forwardRef, useContext, useMemo } from "react";
3
4
  import get from "../utils/get.mjs";
@@ -1,4 +1,4 @@
1
- "use strict";
1
+ "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsxs, jsx } from "react/jsx-runtime";
2
3
  import { forwardRef, useContext, useMemo } from "react";
3
4
  import get from "../utils/get.mjs";
@@ -1,4 +1,4 @@
1
- "use strict";
1
+ "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import { forwardRef, useContext, useMemo } from "react";
3
4
  import get from "../utils/get.mjs";
@@ -1,4 +1,4 @@
1
- "use strict";
1
+ "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsxs, jsx } from "react/jsx-runtime";
2
3
  import { forwardRef, useContext, useMemo } from "react";
3
4
  import get from "../utils/get.mjs";
@@ -1,4 +1,4 @@
1
- "use strict";
1
+ "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import { forwardRef, useContext, useMemo } from "react";
3
4
  import get from "../utils/get.mjs";
@@ -1,4 +1,4 @@
1
- "use strict";
1
+ "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import { forwardRef, useContext, useMemo } from "react";
3
4
  import get from "../utils/get.mjs";
@@ -1,4 +1,4 @@
1
- "use strict";
1
+ "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import { forwardRef, useContext, useMemo } from "react";
3
4
  import get from "../utils/get.mjs";
@@ -1,4 +1,4 @@
1
- "use strict";
1
+ "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import { forwardRef, useContext, useMemo } from "react";
3
4
  import get from "../utils/get.mjs";
@@ -1,4 +1,4 @@
1
- "use strict";
1
+ "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import { forwardRef, useContext, useMemo } from "react";
3
4
  import get from "../utils/get.mjs";
@@ -1,4 +1,4 @@
1
- "use strict";
1
+ "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import { forwardRef, useContext, useMemo } from "react";
3
4
  import get from "../utils/get.mjs";
@@ -1,4 +1,4 @@
1
- "use strict";
1
+ "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import { forwardRef, useContext, useMemo } from "react";
3
4
  import get from "../utils/get.mjs";
@@ -1,4 +1,4 @@
1
- "use strict";
1
+ "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import { forwardRef, useContext, useMemo } from "react";
3
4
  import get from "../utils/get.mjs";
@@ -1,4 +1,4 @@
1
- "use strict";
1
+ "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import { forwardRef, useContext, useMemo } from "react";
3
4
  import get from "../utils/get.mjs";
@@ -1,4 +1,4 @@
1
- "use strict";
1
+ "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsxs, jsx } from "react/jsx-runtime";
2
3
  import { forwardRef, useContext, useMemo } from "react";
3
4
  import get from "../utils/get.mjs";
@@ -1,4 +1,4 @@
1
- "use strict";
1
+ "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import { forwardRef, useContext, useMemo } from "react";
3
4
  import get from "../utils/get.mjs";
@@ -1,4 +1,4 @@
1
- "use strict";
1
+ "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import { forwardRef, useContext, useMemo } from "react";
3
4
  import get from "../utils/get.mjs";
@@ -1,4 +1,4 @@
1
- "use strict";
1
+ "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsxs, jsx } from "react/jsx-runtime";
2
3
  import { forwardRef, useContext, useMemo } from "react";
3
4
  import get from "../utils/get.mjs";
@@ -1,4 +1,4 @@
1
- "use strict";
1
+ "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsxs, jsx } from "react/jsx-runtime";
2
3
  import { forwardRef, useContext, useMemo } from "react";
3
4
  import get from "../utils/get.mjs";
@@ -1,4 +1,4 @@
1
- "use strict";
1
+ "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import { forwardRef, useContext, useMemo } from "react";
3
4
  import get from "../utils/get.mjs";
@@ -1,4 +1,4 @@
1
- "use strict";
1
+ "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import { forwardRef, useContext, useMemo } from "react";
3
4
  import get from "../utils/get.mjs";
@@ -1,4 +1,4 @@
1
- "use strict";
1
+ "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import { forwardRef, useContext, useMemo } from "react";
3
4
  import get from "../utils/get.mjs";
@@ -1,4 +1,4 @@
1
- "use strict";
1
+ "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import { forwardRef, useContext, useMemo } from "react";
3
4
  import get from "../utils/get.mjs";
@@ -1,4 +1,4 @@
1
- "use strict";
1
+ "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import { forwardRef, useContext, useMemo } from "react";
3
4
  import get from "../utils/get.mjs";
@@ -1,4 +1,4 @@
1
- "use strict";
1
+ "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import { forwardRef, useContext, useMemo } from "react";
3
4
  import get from "../utils/get.mjs";
@@ -1,4 +1,4 @@
1
- "use strict";
1
+ "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import { forwardRef, useContext, useMemo } from "react";
3
4
  import get from "../utils/get.mjs";
@@ -1,4 +1,4 @@
1
- "use strict";
1
+ "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import { forwardRef, useContext, useMemo } from "react";
3
4
  import get from "../utils/get.mjs";
@@ -1,4 +1,4 @@
1
- "use strict";
1
+ "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import { forwardRef, useContext, useMemo } from "react";
3
4
  import get from "../utils/get.mjs";
@@ -1,4 +1,4 @@
1
- "use strict";
1
+ "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import { forwardRef, useContext, useMemo } from "react";
3
4
  import get from "../utils/get.mjs";
@@ -1,4 +1,4 @@
1
- "use strict";
1
+ "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import { forwardRef, useContext, useMemo } from "react";
3
4
  import get from "../utils/get.mjs";