@fluid-app/rep-core 0.1.0 → 0.1.1

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 (179) hide show
  1. package/dist/chunk-2SIG55BD.cjs +131 -0
  2. package/dist/chunk-2SIG55BD.cjs.map +1 -0
  3. package/dist/chunk-2SPTFZRC.js +72 -0
  4. package/dist/chunk-2SPTFZRC.js.map +1 -0
  5. package/dist/chunk-3I5Y3PEO.js +23 -0
  6. package/dist/chunk-3I5Y3PEO.js.map +1 -0
  7. package/dist/chunk-46PUWB7C.cjs +69 -0
  8. package/dist/chunk-46PUWB7C.cjs.map +1 -0
  9. package/dist/chunk-4WFDFEHC.js +134 -0
  10. package/dist/chunk-4WFDFEHC.js.map +1 -0
  11. package/dist/chunk-5NYM4UTW.cjs +58 -0
  12. package/dist/chunk-5NYM4UTW.cjs.map +1 -0
  13. package/dist/chunk-6YI7VW55.cjs +652 -0
  14. package/dist/chunk-6YI7VW55.cjs.map +1 -0
  15. package/dist/chunk-ESYAYVNK.cjs +136 -0
  16. package/dist/chunk-ESYAYVNK.cjs.map +1 -0
  17. package/dist/{chunk-6QLUUNJL.cjs → chunk-GDY76JA6.cjs} +2 -2
  18. package/dist/chunk-GDY76JA6.cjs.map +1 -0
  19. package/dist/chunk-HGVSPZEL.cjs +119 -0
  20. package/dist/chunk-HGVSPZEL.cjs.map +1 -0
  21. package/dist/chunk-HIDJYVKJ.js +54 -0
  22. package/dist/chunk-HIDJYVKJ.js.map +1 -0
  23. package/dist/chunk-HUR3MSO4.js +25 -0
  24. package/dist/chunk-HUR3MSO4.js.map +1 -0
  25. package/dist/chunk-LVLNO2YQ.cjs +28 -0
  26. package/dist/chunk-LVLNO2YQ.cjs.map +1 -0
  27. package/dist/chunk-N2K6W7FX.cjs +169 -0
  28. package/dist/chunk-N2K6W7FX.cjs.map +1 -0
  29. package/dist/chunk-NAMNXRI5.js +129 -0
  30. package/dist/chunk-NAMNXRI5.js.map +1 -0
  31. package/dist/chunk-OWU7MFJ2.cjs +15 -0
  32. package/dist/chunk-OWU7MFJ2.cjs.map +1 -0
  33. package/dist/chunk-PVTQWD4I.js +166 -0
  34. package/dist/chunk-PVTQWD4I.js.map +1 -0
  35. package/dist/chunk-S663BA25.cjs +29 -0
  36. package/dist/chunk-S663BA25.cjs.map +1 -0
  37. package/dist/chunk-SJQPHJL4.cjs +26 -0
  38. package/dist/chunk-SJQPHJL4.cjs.map +1 -0
  39. package/dist/chunk-UQASMDVE.js +27 -0
  40. package/dist/chunk-UQASMDVE.js.map +1 -0
  41. package/dist/chunk-V7D3QUE6.cjs +42 -0
  42. package/dist/chunk-V7D3QUE6.cjs.map +1 -0
  43. package/dist/chunk-VO4TIGDA.js +607 -0
  44. package/dist/chunk-VO4TIGDA.js.map +1 -0
  45. package/dist/chunk-VRF7QEID.js +67 -0
  46. package/dist/chunk-VRF7QEID.js.map +1 -0
  47. package/dist/chunk-WASVMCZB.js +13 -0
  48. package/dist/chunk-WASVMCZB.js.map +1 -0
  49. package/dist/chunk-WYOHFNNW.js +117 -0
  50. package/dist/chunk-WYOHFNNW.js.map +1 -0
  51. package/dist/chunk-XCNBVV4T.js +38 -0
  52. package/dist/chunk-XCNBVV4T.js.map +1 -0
  53. package/dist/{chunk-EWR5EIBP.js → chunk-YKF5ZFF5.js} +2 -2
  54. package/dist/chunk-YKF5ZFF5.js.map +1 -0
  55. package/dist/chunk-YXJMBVXO.cjs +76 -0
  56. package/dist/chunk-YXJMBVXO.cjs.map +1 -0
  57. package/dist/data-sources/DataAwareWidget.cjs +59 -0
  58. package/dist/data-sources/DataAwareWidget.cjs.map +1 -0
  59. package/dist/data-sources/DataAwareWidget.d.cts +30 -0
  60. package/dist/data-sources/DataAwareWidget.d.ts +30 -0
  61. package/dist/data-sources/DataAwareWidget.js +57 -0
  62. package/dist/data-sources/DataAwareWidget.js.map +1 -0
  63. package/dist/data-sources/ErrorState.cjs +12 -0
  64. package/dist/data-sources/ErrorState.cjs.map +1 -0
  65. package/dist/data-sources/ErrorState.d.cts +5 -0
  66. package/dist/data-sources/ErrorState.d.ts +5 -0
  67. package/dist/data-sources/ErrorState.js +3 -0
  68. package/dist/data-sources/ErrorState.js.map +1 -0
  69. package/dist/data-sources/context.cjs +10 -20
  70. package/dist/data-sources/context.cjs.map +1 -1
  71. package/dist/data-sources/context.d.cts +2 -2
  72. package/dist/data-sources/context.d.ts +2 -2
  73. package/dist/data-sources/context.js +1 -21
  74. package/dist/data-sources/context.js.map +1 -1
  75. package/dist/data-sources/fetchers/api.cjs +12 -0
  76. package/dist/data-sources/fetchers/api.cjs.map +1 -0
  77. package/dist/data-sources/fetchers/api.d.cts +8 -0
  78. package/dist/data-sources/fetchers/api.d.ts +8 -0
  79. package/dist/data-sources/fetchers/api.js +3 -0
  80. package/dist/data-sources/fetchers/api.js.map +1 -0
  81. package/dist/data-sources/fetchers/custom.cjs +12 -0
  82. package/dist/data-sources/fetchers/custom.cjs.map +1 -0
  83. package/dist/data-sources/fetchers/custom.d.cts +15 -0
  84. package/dist/data-sources/fetchers/custom.d.ts +15 -0
  85. package/dist/data-sources/fetchers/custom.js +3 -0
  86. package/dist/data-sources/fetchers/custom.js.map +1 -0
  87. package/dist/data-sources/fetchers/static.cjs +16 -0
  88. package/dist/data-sources/fetchers/static.cjs.map +1 -0
  89. package/dist/data-sources/fetchers/static.d.cts +38 -0
  90. package/dist/data-sources/fetchers/static.d.ts +38 -0
  91. package/dist/data-sources/fetchers/static.js +3 -0
  92. package/dist/data-sources/fetchers/static.js.map +1 -0
  93. package/dist/data-sources/registry-context.cjs +26 -0
  94. package/dist/data-sources/registry-context.cjs.map +1 -0
  95. package/dist/data-sources/registry-context.d.cts +41 -0
  96. package/dist/data-sources/registry-context.d.ts +41 -0
  97. package/dist/data-sources/registry-context.js +9 -0
  98. package/dist/data-sources/registry-context.js.map +1 -0
  99. package/dist/data-sources/registry.cjs +20 -0
  100. package/dist/data-sources/registry.cjs.map +1 -0
  101. package/dist/data-sources/registry.d.cts +17 -0
  102. package/dist/data-sources/registry.d.ts +17 -0
  103. package/dist/data-sources/registry.js +7 -0
  104. package/dist/data-sources/registry.js.map +1 -0
  105. package/dist/data-sources/transformers.cjs +12 -0
  106. package/dist/data-sources/transformers.cjs.map +1 -0
  107. package/dist/data-sources/transformers.d.cts +23 -0
  108. package/dist/data-sources/transformers.d.ts +23 -0
  109. package/dist/data-sources/transformers.js +3 -0
  110. package/dist/data-sources/transformers.js.map +1 -0
  111. package/dist/data-sources/types.d.cts +37 -2
  112. package/dist/data-sources/types.d.ts +37 -2
  113. package/dist/data-sources/use-widget-data.cjs +19 -0
  114. package/dist/data-sources/use-widget-data.cjs.map +1 -0
  115. package/dist/data-sources/use-widget-data.d.cts +16 -0
  116. package/dist/data-sources/use-widget-data.d.ts +16 -0
  117. package/dist/data-sources/use-widget-data.js +10 -0
  118. package/dist/data-sources/use-widget-data.js.map +1 -0
  119. package/dist/registries/index.cjs +8 -15
  120. package/dist/registries/index.cjs.map +1 -1
  121. package/dist/registries/index.d.cts +20 -7
  122. package/dist/registries/index.d.ts +20 -7
  123. package/dist/registries/index.js +8 -15
  124. package/dist/registries/index.js.map +1 -1
  125. package/dist/shareable-item-DkgWpwoU.d.cts +21 -0
  126. package/dist/shareable-item-DkgWpwoU.d.ts +21 -0
  127. package/dist/shell/AppShellLayout.cjs +14 -0
  128. package/dist/shell/AppShellLayout.cjs.map +1 -0
  129. package/dist/shell/AppShellLayout.d.cts +26 -0
  130. package/dist/shell/AppShellLayout.d.ts +26 -0
  131. package/dist/shell/AppShellLayout.js +5 -0
  132. package/dist/shell/AppShellLayout.js.map +1 -0
  133. package/dist/shell/ThemeModeContext.cjs +20 -0
  134. package/dist/shell/ThemeModeContext.cjs.map +1 -0
  135. package/dist/shell/ThemeModeContext.d.cts +27 -0
  136. package/dist/shell/ThemeModeContext.d.ts +27 -0
  137. package/dist/shell/ThemeModeContext.js +3 -0
  138. package/dist/shell/ThemeModeContext.js.map +1 -0
  139. package/dist/shell/index.cjs +135 -0
  140. package/dist/shell/index.cjs.map +1 -0
  141. package/dist/shell/index.d.cts +8 -0
  142. package/dist/shell/index.d.ts +8 -0
  143. package/dist/shell/index.js +6 -0
  144. package/dist/shell/index.js.map +1 -0
  145. package/dist/shell/sidebar.cjs +105 -0
  146. package/dist/shell/sidebar.cjs.map +1 -0
  147. package/dist/shell/sidebar.d.cts +71 -0
  148. package/dist/shell/sidebar.d.ts +71 -0
  149. package/dist/shell/sidebar.js +4 -0
  150. package/dist/shell/sidebar.js.map +1 -0
  151. package/dist/shell/use-mobile.cjs +20 -0
  152. package/dist/shell/use-mobile.cjs.map +1 -0
  153. package/dist/shell/use-mobile.d.cts +5 -0
  154. package/dist/shell/use-mobile.d.ts +5 -0
  155. package/dist/shell/use-mobile.js +3 -0
  156. package/dist/shell/use-mobile.js.map +1 -0
  157. package/dist/theme/index.cjs +599 -970
  158. package/dist/theme/index.cjs.map +1 -1
  159. package/dist/theme/index.d.cts +106 -2655
  160. package/dist/theme/index.d.ts +106 -2655
  161. package/dist/theme/index.js +570 -917
  162. package/dist/theme/index.js.map +1 -1
  163. package/dist/types/index.cjs +17 -17
  164. package/dist/types/index.d.cts +27 -4
  165. package/dist/types/index.d.ts +27 -4
  166. package/dist/types/index.js +1 -1
  167. package/dist/types-R1kV_DKF.d.cts +80 -0
  168. package/dist/types-R1kV_DKF.d.ts +80 -0
  169. package/dist/{shareable-item-DPmNZkE1.d.cts → widget-schema-36uGUTWL.d.cts} +5 -21
  170. package/dist/{shareable-item-DPmNZkE1.d.ts → widget-schema-DxdlJD8E.d.ts} +5 -21
  171. package/dist/widget-utils/index.cjs +3 -3
  172. package/dist/widget-utils/index.d.cts +3 -1
  173. package/dist/widget-utils/index.d.ts +3 -1
  174. package/dist/widget-utils/index.js +1 -1
  175. package/package.json +84 -13
  176. package/dist/chunk-6QLUUNJL.cjs.map +0 -1
  177. package/dist/chunk-EWR5EIBP.js.map +0 -1
  178. package/dist/theme-DrMUYZTO.d.cts +0 -22
  179. package/dist/theme-DrMUYZTO.d.ts +0 -22
@@ -0,0 +1,30 @@
1
+ import * as React from 'react';
2
+ import { ComponentType, ReactNode } from 'react';
3
+ import * as react_jsx_runtime from 'react/jsx-runtime';
4
+ import { W as WidgetSchema } from '../widget-schema-36uGUTWL.cjs';
5
+ import './types.cjs';
6
+
7
+ interface DataAwareWidgetProps {
8
+ widget: WidgetSchema;
9
+ Component: ComponentType<any>;
10
+ /** Additional props to pass through (e.g., edit mode callbacks) */
11
+ additionalProps?: Record<string, unknown>;
12
+ /** Custom loading component */
13
+ loadingComponent?: ReactNode;
14
+ /** Custom error component */
15
+ errorComponent?: (error: Error) => ReactNode;
16
+ /** Base URL for API calls (e.g., "https://api.fluid.app/api") */
17
+ baseUrl?: string | undefined;
18
+ }
19
+ /**
20
+ * Wrapper component that resolves data sources before rendering the widget.
21
+ * Merges resolved data with static props.
22
+ */
23
+ declare function DataAwareWidgetImpl({ widget, Component, additionalProps, loadingComponent, errorComponent, baseUrl, }: DataAwareWidgetProps): react_jsx_runtime.JSX.Element;
24
+ /**
25
+ * Memoized wrapper component that resolves data sources before rendering the widget.
26
+ * Prevents re-renders when parent re-renders but props haven't changed.
27
+ */
28
+ declare const DataAwareWidget: React.MemoExoticComponent<typeof DataAwareWidgetImpl>;
29
+
30
+ export { DataAwareWidget, type DataAwareWidgetProps };
@@ -0,0 +1,30 @@
1
+ import * as React from 'react';
2
+ import { ComponentType, ReactNode } from 'react';
3
+ import * as react_jsx_runtime from 'react/jsx-runtime';
4
+ import { W as WidgetSchema } from '../widget-schema-DxdlJD8E.js';
5
+ import './types.js';
6
+
7
+ interface DataAwareWidgetProps {
8
+ widget: WidgetSchema;
9
+ Component: ComponentType<any>;
10
+ /** Additional props to pass through (e.g., edit mode callbacks) */
11
+ additionalProps?: Record<string, unknown>;
12
+ /** Custom loading component */
13
+ loadingComponent?: ReactNode;
14
+ /** Custom error component */
15
+ errorComponent?: (error: Error) => ReactNode;
16
+ /** Base URL for API calls (e.g., "https://api.fluid.app/api") */
17
+ baseUrl?: string | undefined;
18
+ }
19
+ /**
20
+ * Wrapper component that resolves data sources before rendering the widget.
21
+ * Merges resolved data with static props.
22
+ */
23
+ declare function DataAwareWidgetImpl({ widget, Component, additionalProps, loadingComponent, errorComponent, baseUrl, }: DataAwareWidgetProps): react_jsx_runtime.JSX.Element;
24
+ /**
25
+ * Memoized wrapper component that resolves data sources before rendering the widget.
26
+ * Prevents re-renders when parent re-renders but props haven't changed.
27
+ */
28
+ declare const DataAwareWidget: React.MemoExoticComponent<typeof DataAwareWidgetImpl>;
29
+
30
+ export { DataAwareWidget, type DataAwareWidgetProps };
@@ -0,0 +1,57 @@
1
+ import { ErrorState } from '../chunk-WASVMCZB.js';
2
+ import { useWidgetData } from '../chunk-4WFDFEHC.js';
3
+ import '../chunk-XCNBVV4T.js';
4
+ import '../chunk-3I5Y3PEO.js';
5
+ import '../chunk-HUR3MSO4.js';
6
+ import '../chunk-VRF7QEID.js';
7
+ import '../chunk-WYOHFNNW.js';
8
+ import '../chunk-PVTQWD4I.js';
9
+ import '../chunk-NAMNXRI5.js';
10
+ import { memo, useMemo } from 'react';
11
+ import { jsx, Fragment } from 'react/jsx-runtime';
12
+
13
+ var EMPTY_OBJECT = {};
14
+ function DataAwareWidgetImpl({
15
+ widget,
16
+ Component,
17
+ additionalProps,
18
+ loadingComponent,
19
+ errorComponent,
20
+ baseUrl
21
+ }) {
22
+ const stableAdditionalProps = additionalProps ?? EMPTY_OBJECT;
23
+ const { data, isLoading, error } = useWidgetData(widget, { baseUrl });
24
+ const mergedProps = useMemo(
25
+ () => ({
26
+ ...widget.props,
27
+ ...data,
28
+ ...stableAdditionalProps
29
+ }),
30
+ [widget.props, data, stableAdditionalProps]
31
+ );
32
+ if (isLoading && widget.dataSource?.loading?.showSkeleton !== false) {
33
+ if (loadingComponent) {
34
+ return /* @__PURE__ */ jsx(Fragment, { children: loadingComponent });
35
+ }
36
+ return /* @__PURE__ */ jsx(
37
+ "div",
38
+ {
39
+ className: "animate-pulse rounded-md bg-muted",
40
+ style: { minHeight: 100 },
41
+ children: /* @__PURE__ */ jsx("span", { className: "sr-only", children: "Loading..." })
42
+ }
43
+ );
44
+ }
45
+ if (error && !data) {
46
+ if (errorComponent) {
47
+ return /* @__PURE__ */ jsx(Fragment, { children: errorComponent(error) });
48
+ }
49
+ return /* @__PURE__ */ jsx(ErrorState, {});
50
+ }
51
+ return /* @__PURE__ */ jsx(Component, { ...mergedProps });
52
+ }
53
+ var DataAwareWidget = memo(DataAwareWidgetImpl);
54
+
55
+ export { DataAwareWidget };
56
+ //# sourceMappingURL=DataAwareWidget.js.map
57
+ //# sourceMappingURL=DataAwareWidget.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/data-sources/DataAwareWidget.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAoBA,IAAM,eAAwC,EAAC;AAM/C,SAAS,mBAAA,CAAoB;AAAA,EAC3B,MAAA;AAAA,EACA,SAAA;AAAA,EACA,eAAA;AAAA,EACA,gBAAA;AAAA,EACA,cAAA;AAAA,EACA;AACF,CAAA,EAAyB;AAEvB,EAAA,MAAM,wBAAwB,eAAA,IAAmB,YAAA;AACjD,EAAA,MAAM,EAAE,MAAM,SAAA,EAAW,KAAA,KAAU,aAAA,CAAc,MAAA,EAAQ,EAAE,OAAA,EAAS,CAAA;AAMpE,EAAA,MAAM,WAAA,GAAc,OAAA;AAAA,IAClB,OAAO;AAAA,MACL,GAAG,MAAA,CAAO,KAAA;AAAA,MACV,GAAG,IAAA;AAAA,MACH,GAAG;AAAA,KACL,CAAA;AAAA,IACA,CAAC,MAAA,CAAO,KAAA,EAAO,IAAA,EAAM,qBAAqB;AAAA,GAC5C;AAGA,EAAA,IAAI,SAAA,IAAa,MAAA,CAAO,UAAA,EAAY,OAAA,EAAS,iBAAiB,KAAA,EAAO;AACnE,IAAA,IAAI,gBAAA,EAAkB;AACpB,MAAA,uCAAU,QAAA,EAAA,gBAAA,EAAiB,CAAA;AAAA,IAC7B;AAEA,IAAA,uBACE,GAAA;AAAA,MAAC,KAAA;AAAA,MAAA;AAAA,QACC,SAAA,EAAU,mCAAA;AAAA,QACV,KAAA,EAAO,EAAE,SAAA,EAAW,GAAA,EAAI;AAAA,QAExB,QAAA,kBAAA,GAAA,CAAC,MAAA,EAAA,EAAK,SAAA,EAAU,SAAA,EAAU,QAAA,EAAA,YAAA,EAAU;AAAA;AAAA,KACtC;AAAA,EAEJ;AAGA,EAAA,IAAI,KAAA,IAAS,CAAC,IAAA,EAAM;AAClB,IAAA,IAAI,cAAA,EAAgB;AAClB,MAAA,uBAAO,GAAA,CAAA,QAAA,EAAA,EAAG,QAAA,EAAA,cAAA,CAAe,KAAK,CAAA,EAAE,CAAA;AAAA,IAClC;AAEA,IAAA,2BAAQ,UAAA,EAAA,EAAW,CAAA;AAAA,EACrB;AAEA,EAAA,uBAAO,GAAA,CAAC,SAAA,EAAA,EAAW,GAAG,WAAA,EAAa,CAAA;AACrC;AAMO,IAAM,eAAA,GAAkB,KAAK,mBAAmB","file":"DataAwareWidget.js","sourcesContent":["import { memo, useMemo, type ComponentType, type ReactNode } from \"react\";\nimport type { WidgetSchema } from \"../types/widget-schema\";\nimport { useWidgetData } from \"./use-widget-data\";\nimport { ErrorState } from \"./ErrorState\";\n\nexport interface DataAwareWidgetProps {\n widget: WidgetSchema;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n Component: ComponentType<any>;\n /** Additional props to pass through (e.g., edit mode callbacks) */\n additionalProps?: Record<string, unknown>;\n /** Custom loading component */\n loadingComponent?: ReactNode;\n /** Custom error component */\n errorComponent?: (error: Error) => ReactNode;\n /** Base URL for API calls (e.g., \"https://api.fluid.app/api\") */\n baseUrl?: string | undefined;\n}\n\n// Empty object constant to avoid creating new references\nconst EMPTY_OBJECT: Record<string, unknown> = {};\n\n/**\n * Wrapper component that resolves data sources before rendering the widget.\n * Merges resolved data with static props.\n */\nfunction DataAwareWidgetImpl({\n widget,\n Component,\n additionalProps,\n loadingComponent,\n errorComponent,\n baseUrl,\n}: DataAwareWidgetProps) {\n // Use stable empty object if no additionalProps provided\n const stableAdditionalProps = additionalProps ?? EMPTY_OBJECT;\n const { data, isLoading, error } = useWidgetData(widget, { baseUrl });\n\n // Merge static props with resolved data\n // Data takes precedence (allows overriding defaults)\n // Memoized to prevent unnecessary child re-renders\n // Note: Must be called before any early returns to satisfy Rules of Hooks\n const mergedProps = useMemo(\n () => ({\n ...widget.props,\n ...data,\n ...stableAdditionalProps,\n }),\n [widget.props, data, stableAdditionalProps],\n );\n\n // Show loading state\n if (isLoading && widget.dataSource?.loading?.showSkeleton !== false) {\n if (loadingComponent) {\n return <>{loadingComponent}</>;\n }\n // Default skeleton - can be customized\n return (\n <div\n className=\"animate-pulse rounded-md bg-muted\"\n style={{ minHeight: 100 }}\n >\n <span className=\"sr-only\">Loading...</span>\n </div>\n );\n }\n\n // Show error state (if no fallback was applied)\n if (error && !data) {\n if (errorComponent) {\n return <>{errorComponent(error)}</>;\n }\n // Default error display\n return <ErrorState />;\n }\n\n return <Component {...mergedProps} />;\n}\n\n/**\n * Memoized wrapper component that resolves data sources before rendering the widget.\n * Prevents re-renders when parent re-renders but props haven't changed.\n */\nexport const DataAwareWidget = memo(DataAwareWidgetImpl);\n"]}
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ var chunkOWU7MFJ2_cjs = require('../chunk-OWU7MFJ2.cjs');
4
+
5
+
6
+
7
+ Object.defineProperty(exports, "ErrorState", {
8
+ enumerable: true,
9
+ get: function () { return chunkOWU7MFJ2_cjs.ErrorState; }
10
+ });
11
+ //# sourceMappingURL=ErrorState.cjs.map
12
+ //# sourceMappingURL=ErrorState.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"ErrorState.cjs"}
@@ -0,0 +1,5 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+
3
+ declare function ErrorState(): react_jsx_runtime.JSX.Element;
4
+
5
+ export { ErrorState };
@@ -0,0 +1,5 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+
3
+ declare function ErrorState(): react_jsx_runtime.JSX.Element;
4
+
5
+ export { ErrorState };
@@ -0,0 +1,3 @@
1
+ export { ErrorState } from '../chunk-WASVMCZB.js';
2
+ //# sourceMappingURL=ErrorState.js.map
3
+ //# sourceMappingURL=ErrorState.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"ErrorState.js"}
@@ -1,26 +1,16 @@
1
1
  'use strict';
2
2
 
3
- var react = require('react');
4
- var jsxRuntime = require('react/jsx-runtime');
3
+ var chunkSJQPHJL4_cjs = require('../chunk-SJQPHJL4.cjs');
5
4
 
6
- // src/data-sources/context.tsx
7
- var DataSourceContext = react.createContext({});
8
- function DataSourceProvider({
9
- baseUrl,
10
- getApiHeaders,
11
- children
12
- }) {
13
- const value = react.useMemo(
14
- () => ({ baseUrl, getApiHeaders }),
15
- [baseUrl, getApiHeaders]
16
- );
17
- return /* @__PURE__ */ jsxRuntime.jsx(DataSourceContext.Provider, { value, children });
18
- }
19
- function useDataSourceConfig() {
20
- return react.useContext(DataSourceContext);
21
- }
22
5
 
23
- exports.DataSourceProvider = DataSourceProvider;
24
- exports.useDataSourceConfig = useDataSourceConfig;
6
+
7
+ Object.defineProperty(exports, "DataSourceProvider", {
8
+ enumerable: true,
9
+ get: function () { return chunkSJQPHJL4_cjs.DataSourceProvider; }
10
+ });
11
+ Object.defineProperty(exports, "useDataSourceConfig", {
12
+ enumerable: true,
13
+ get: function () { return chunkSJQPHJL4_cjs.useDataSourceConfig; }
14
+ });
25
15
  //# sourceMappingURL=context.cjs.map
26
16
  //# sourceMappingURL=context.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/data-sources/context.tsx"],"names":["createContext","useMemo","jsx","useContext"],"mappings":";;;;;;AAOA,IAAM,iBAAA,GAAoBA,mBAAA,CAAsC,EAAE,CAAA;AAQ3D,SAAS,kBAAA,CAAmB;AAAA,EACjC,OAAA;AAAA,EACA,aAAA;AAAA,EACA;AACF,CAAA,EAA4B;AAC1B,EAAA,MAAM,KAAA,GAAQC,aAAA;AAAA,IACZ,OAAO,EAAE,OAAA,EAAS,aAAA,EAAc,CAAA;AAAA,IAChC,CAAC,SAAS,aAAa;AAAA,GACzB;AAEA,EAAA,uBACEC,cAAA,CAAC,iBAAA,CAAkB,QAAA,EAAlB,EAA2B,OACzB,QAAA,EACH,CAAA;AAEJ;AAEO,SAAS,mBAAA,GAA8C;AAC5D,EAAA,OAAOC,iBAAW,iBAAiB,CAAA;AACrC","file":"context.cjs","sourcesContent":["import { createContext, useContext, useMemo, type ReactNode } from \"react\";\n\nexport interface DataSourceContextValue {\n baseUrl?: string | undefined;\n getApiHeaders?: (() => Record<string, string>) | undefined;\n}\n\nconst DataSourceContext = createContext<DataSourceContextValue>({});\n\nexport interface DataSourceProviderProps {\n baseUrl?: string;\n getApiHeaders?: () => Record<string, string>;\n children: ReactNode;\n}\n\nexport function DataSourceProvider({\n baseUrl,\n getApiHeaders,\n children,\n}: DataSourceProviderProps) {\n const value = useMemo(\n () => ({ baseUrl, getApiHeaders }),\n [baseUrl, getApiHeaders],\n );\n\n return (\n <DataSourceContext.Provider value={value}>\n {children}\n </DataSourceContext.Provider>\n );\n}\n\nexport function useDataSourceConfig(): DataSourceContextValue {\n return useContext(DataSourceContext);\n}\n"]}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"context.cjs"}
@@ -6,8 +6,8 @@ interface DataSourceContextValue {
6
6
  getApiHeaders?: (() => Record<string, string>) | undefined;
7
7
  }
8
8
  interface DataSourceProviderProps {
9
- baseUrl?: string;
10
- getApiHeaders?: () => Record<string, string>;
9
+ baseUrl?: string | undefined;
10
+ getApiHeaders?: (() => Record<string, string>) | undefined;
11
11
  children: ReactNode;
12
12
  }
13
13
  declare function DataSourceProvider({ baseUrl, getApiHeaders, children, }: DataSourceProviderProps): react_jsx_runtime.JSX.Element;
@@ -6,8 +6,8 @@ interface DataSourceContextValue {
6
6
  getApiHeaders?: (() => Record<string, string>) | undefined;
7
7
  }
8
8
  interface DataSourceProviderProps {
9
- baseUrl?: string;
10
- getApiHeaders?: () => Record<string, string>;
9
+ baseUrl?: string | undefined;
10
+ getApiHeaders?: (() => Record<string, string>) | undefined;
11
11
  children: ReactNode;
12
12
  }
13
13
  declare function DataSourceProvider({ baseUrl, getApiHeaders, children, }: DataSourceProviderProps): react_jsx_runtime.JSX.Element;
@@ -1,23 +1,3 @@
1
- import { createContext, useMemo, useContext } from 'react';
2
- import { jsx } from 'react/jsx-runtime';
3
-
4
- // src/data-sources/context.tsx
5
- var DataSourceContext = createContext({});
6
- function DataSourceProvider({
7
- baseUrl,
8
- getApiHeaders,
9
- children
10
- }) {
11
- const value = useMemo(
12
- () => ({ baseUrl, getApiHeaders }),
13
- [baseUrl, getApiHeaders]
14
- );
15
- return /* @__PURE__ */ jsx(DataSourceContext.Provider, { value, children });
16
- }
17
- function useDataSourceConfig() {
18
- return useContext(DataSourceContext);
19
- }
20
-
21
- export { DataSourceProvider, useDataSourceConfig };
1
+ export { DataSourceProvider, useDataSourceConfig } from '../chunk-3I5Y3PEO.js';
22
2
  //# sourceMappingURL=context.js.map
23
3
  //# sourceMappingURL=context.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/data-sources/context.tsx"],"names":[],"mappings":";;;;AAOA,IAAM,iBAAA,GAAoB,aAAA,CAAsC,EAAE,CAAA;AAQ3D,SAAS,kBAAA,CAAmB;AAAA,EACjC,OAAA;AAAA,EACA,aAAA;AAAA,EACA;AACF,CAAA,EAA4B;AAC1B,EAAA,MAAM,KAAA,GAAQ,OAAA;AAAA,IACZ,OAAO,EAAE,OAAA,EAAS,aAAA,EAAc,CAAA;AAAA,IAChC,CAAC,SAAS,aAAa;AAAA,GACzB;AAEA,EAAA,uBACE,GAAA,CAAC,iBAAA,CAAkB,QAAA,EAAlB,EAA2B,OACzB,QAAA,EACH,CAAA;AAEJ;AAEO,SAAS,mBAAA,GAA8C;AAC5D,EAAA,OAAO,WAAW,iBAAiB,CAAA;AACrC","file":"context.js","sourcesContent":["import { createContext, useContext, useMemo, type ReactNode } from \"react\";\n\nexport interface DataSourceContextValue {\n baseUrl?: string | undefined;\n getApiHeaders?: (() => Record<string, string>) | undefined;\n}\n\nconst DataSourceContext = createContext<DataSourceContextValue>({});\n\nexport interface DataSourceProviderProps {\n baseUrl?: string;\n getApiHeaders?: () => Record<string, string>;\n children: ReactNode;\n}\n\nexport function DataSourceProvider({\n baseUrl,\n getApiHeaders,\n children,\n}: DataSourceProviderProps) {\n const value = useMemo(\n () => ({ baseUrl, getApiHeaders }),\n [baseUrl, getApiHeaders],\n );\n\n return (\n <DataSourceContext.Provider value={value}>\n {children}\n </DataSourceContext.Provider>\n );\n}\n\nexport function useDataSourceConfig(): DataSourceContextValue {\n return useContext(DataSourceContext);\n}\n"]}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"context.js"}
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ var chunk46PUWB7C_cjs = require('../../chunk-46PUWB7C.cjs');
4
+
5
+
6
+
7
+ Object.defineProperty(exports, "apiFetcher", {
8
+ enumerable: true,
9
+ get: function () { return chunk46PUWB7C_cjs.apiFetcher; }
10
+ });
11
+ //# sourceMappingURL=api.cjs.map
12
+ //# sourceMappingURL=api.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"api.cjs"}
@@ -0,0 +1,8 @@
1
+ import { ApiDataSource, DataSourceContext } from '../types.cjs';
2
+
3
+ /**
4
+ * Default API fetcher implementation
5
+ */
6
+ declare function apiFetcher(source: ApiDataSource, context: DataSourceContext): Promise<unknown>;
7
+
8
+ export { apiFetcher };
@@ -0,0 +1,8 @@
1
+ import { ApiDataSource, DataSourceContext } from '../types.js';
2
+
3
+ /**
4
+ * Default API fetcher implementation
5
+ */
6
+ declare function apiFetcher(source: ApiDataSource, context: DataSourceContext): Promise<unknown>;
7
+
8
+ export { apiFetcher };
@@ -0,0 +1,3 @@
1
+ export { apiFetcher } from '../../chunk-VRF7QEID.js';
2
+ //# sourceMappingURL=api.js.map
3
+ //# sourceMappingURL=api.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"api.js"}
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ var chunkHGVSPZEL_cjs = require('../../chunk-HGVSPZEL.cjs');
4
+
5
+
6
+
7
+ Object.defineProperty(exports, "customFetcher", {
8
+ enumerable: true,
9
+ get: function () { return chunkHGVSPZEL_cjs.customFetcher; }
10
+ });
11
+ //# sourceMappingURL=custom.cjs.map
12
+ //# sourceMappingURL=custom.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"custom.cjs"}
@@ -0,0 +1,15 @@
1
+ import { CustomDataSource, DataSourceContext } from '../types.cjs';
2
+
3
+ /**
4
+ * Custom fetcher that fetches selected items.
5
+ *
6
+ * Fetches items from individual resource endpoints using the configured
7
+ * getApiHeaders for authentication.
8
+ *
9
+ * Fetches all items in parallel for performance.
10
+ * Returns an array of successfully fetched items, preserving order.
11
+ * Logs warnings for failed fetches but doesn't throw.
12
+ */
13
+ declare function customFetcher(source: CustomDataSource, context: DataSourceContext): Promise<unknown[]>;
14
+
15
+ export { customFetcher };
@@ -0,0 +1,15 @@
1
+ import { CustomDataSource, DataSourceContext } from '../types.js';
2
+
3
+ /**
4
+ * Custom fetcher that fetches selected items.
5
+ *
6
+ * Fetches items from individual resource endpoints using the configured
7
+ * getApiHeaders for authentication.
8
+ *
9
+ * Fetches all items in parallel for performance.
10
+ * Returns an array of successfully fetched items, preserving order.
11
+ * Logs warnings for failed fetches but doesn't throw.
12
+ */
13
+ declare function customFetcher(source: CustomDataSource, context: DataSourceContext): Promise<unknown[]>;
14
+
15
+ export { customFetcher };
@@ -0,0 +1,3 @@
1
+ export { customFetcher } from '../../chunk-WYOHFNNW.js';
2
+ //# sourceMappingURL=custom.js.map
3
+ //# sourceMappingURL=custom.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"custom.js"}
@@ -0,0 +1,16 @@
1
+ 'use strict';
2
+
3
+ var chunkN2K6W7FX_cjs = require('../../chunk-N2K6W7FX.cjs');
4
+
5
+
6
+
7
+ Object.defineProperty(exports, "staticFetcher", {
8
+ enumerable: true,
9
+ get: function () { return chunkN2K6W7FX_cjs.staticFetcher; }
10
+ });
11
+ Object.defineProperty(exports, "useStaticSourceItems", {
12
+ enumerable: true,
13
+ get: function () { return chunkN2K6W7FX_cjs.useStaticSourceItems; }
14
+ });
15
+ //# sourceMappingURL=static.cjs.map
16
+ //# sourceMappingURL=static.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"static.cjs"}
@@ -0,0 +1,38 @@
1
+ import { StaticDataSource, DataSourceContext, StaticItem, StaticSourceType } from '../types.cjs';
2
+
3
+ /**
4
+ * Static data source fetcher.
5
+ *
6
+ * Fetches products filtered by collection or category ID.
7
+ * Tags are not yet supported (requires backend API changes).
8
+ *
9
+ * @param source - The static data source configuration
10
+ * @param context - The data source context with baseUrl and headers
11
+ * @returns Array of products matching the filter criteria
12
+ */
13
+ declare function staticFetcher(source: StaticDataSource, context: DataSourceContext): Promise<unknown[]>;
14
+ /**
15
+ * Result type for useStaticSourceItems hook.
16
+ */
17
+ interface UseStaticSourceItemsResult {
18
+ /** The fetched items */
19
+ items: StaticItem[];
20
+ /** True while items are being fetched */
21
+ isLoading: boolean;
22
+ /** Error message if fetch failed */
23
+ error: string | null;
24
+ }
25
+ /**
26
+ * React hook for fetching static source items (collections, categories).
27
+ * Handles loading state, error state, abort on cleanup, and search filtering.
28
+ *
29
+ * @param staticType - The type of static source to fetch, or null to reset
30
+ * @param context - Context with baseUrl and getApiHeaders
31
+ * @param params - Optional search parameters
32
+ * @returns Object with items, isLoading, and error state
33
+ */
34
+ declare function useStaticSourceItems(staticType: StaticSourceType | null, context: Pick<DataSourceContext, "baseUrl" | "getApiHeaders">, params?: {
35
+ search?: string;
36
+ }): UseStaticSourceItemsResult;
37
+
38
+ export { type UseStaticSourceItemsResult, staticFetcher, useStaticSourceItems };
@@ -0,0 +1,38 @@
1
+ import { StaticDataSource, DataSourceContext, StaticItem, StaticSourceType } from '../types.js';
2
+
3
+ /**
4
+ * Static data source fetcher.
5
+ *
6
+ * Fetches products filtered by collection or category ID.
7
+ * Tags are not yet supported (requires backend API changes).
8
+ *
9
+ * @param source - The static data source configuration
10
+ * @param context - The data source context with baseUrl and headers
11
+ * @returns Array of products matching the filter criteria
12
+ */
13
+ declare function staticFetcher(source: StaticDataSource, context: DataSourceContext): Promise<unknown[]>;
14
+ /**
15
+ * Result type for useStaticSourceItems hook.
16
+ */
17
+ interface UseStaticSourceItemsResult {
18
+ /** The fetched items */
19
+ items: StaticItem[];
20
+ /** True while items are being fetched */
21
+ isLoading: boolean;
22
+ /** Error message if fetch failed */
23
+ error: string | null;
24
+ }
25
+ /**
26
+ * React hook for fetching static source items (collections, categories).
27
+ * Handles loading state, error state, abort on cleanup, and search filtering.
28
+ *
29
+ * @param staticType - The type of static source to fetch, or null to reset
30
+ * @param context - Context with baseUrl and getApiHeaders
31
+ * @param params - Optional search parameters
32
+ * @returns Object with items, isLoading, and error state
33
+ */
34
+ declare function useStaticSourceItems(staticType: StaticSourceType | null, context: Pick<DataSourceContext, "baseUrl" | "getApiHeaders">, params?: {
35
+ search?: string;
36
+ }): UseStaticSourceItemsResult;
37
+
38
+ export { type UseStaticSourceItemsResult, staticFetcher, useStaticSourceItems };
@@ -0,0 +1,3 @@
1
+ export { staticFetcher, useStaticSourceItems } from '../../chunk-PVTQWD4I.js';
2
+ //# sourceMappingURL=static.js.map
3
+ //# sourceMappingURL=static.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"static.js"}
@@ -0,0 +1,26 @@
1
+ 'use strict';
2
+
3
+ var chunkV7D3QUE6_cjs = require('../chunk-V7D3QUE6.cjs');
4
+ require('../chunk-SJQPHJL4.cjs');
5
+ require('../chunk-LVLNO2YQ.cjs');
6
+ require('../chunk-46PUWB7C.cjs');
7
+ require('../chunk-HGVSPZEL.cjs');
8
+ require('../chunk-N2K6W7FX.cjs');
9
+ require('../chunk-2SIG55BD.cjs');
10
+
11
+
12
+
13
+ Object.defineProperty(exports, "DataSourceRegistryProvider", {
14
+ enumerable: true,
15
+ get: function () { return chunkV7D3QUE6_cjs.DataSourceRegistryProvider; }
16
+ });
17
+ Object.defineProperty(exports, "useDataSourceRegistry", {
18
+ enumerable: true,
19
+ get: function () { return chunkV7D3QUE6_cjs.useDataSourceRegistry; }
20
+ });
21
+ Object.defineProperty(exports, "useDataSourceRegistryConfig", {
22
+ enumerable: true,
23
+ get: function () { return chunkV7D3QUE6_cjs.useDataSourceRegistryConfig; }
24
+ });
25
+ //# sourceMappingURL=registry-context.cjs.map
26
+ //# sourceMappingURL=registry-context.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"registry-context.cjs"}
@@ -0,0 +1,41 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { ReactNode } from 'react';
3
+ import { DataSourceRegistry } from './types.cjs';
4
+
5
+ interface DataSourceRegistryContextValue {
6
+ registry: DataSourceRegistry;
7
+ baseUrl?: string | undefined;
8
+ /** Get API headers function */
9
+ getApiHeaders?: (() => Record<string, string>) | undefined;
10
+ /** Dynamic variables for endpoint path substitution (e.g., { rep_id: "123" }) */
11
+ variables?: Record<string, string> | undefined;
12
+ }
13
+ interface DataSourceRegistryProviderProps {
14
+ registry?: DataSourceRegistry | undefined;
15
+ /** Base URL for API calls (e.g., "https://api.fluid.app/api") */
16
+ baseUrl?: string | undefined;
17
+ /**
18
+ * Get API headers function
19
+ */
20
+ getApiHeaders?: (() => Record<string, string>) | undefined;
21
+ /** Dynamic variables for endpoint path substitution (e.g., { rep_id: "123" }) */
22
+ variables?: Record<string, string> | undefined;
23
+ children: ReactNode;
24
+ }
25
+ /**
26
+ * Provides data source registry and configuration to all descendants.
27
+ * If no registry is provided, uses the default.
28
+ * Also provides the shared DataSourceProvider from rep-core so that
29
+ * rep-widgets hooks can access baseUrl and getApiHeaders.
30
+ */
31
+ declare function DataSourceRegistryProvider({ registry, baseUrl, getApiHeaders, variables, children, }: DataSourceRegistryProviderProps): react_jsx_runtime.JSX.Element;
32
+ /**
33
+ * Hook to access the data source registry.
34
+ */
35
+ declare function useDataSourceRegistry(): DataSourceRegistry;
36
+ /**
37
+ * Hook to access the full data source registry context (registry + config).
38
+ */
39
+ declare function useDataSourceRegistryConfig(): DataSourceRegistryContextValue;
40
+
41
+ export { DataSourceRegistryProvider, type DataSourceRegistryProviderProps, useDataSourceRegistry, useDataSourceRegistryConfig };
@@ -0,0 +1,41 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { ReactNode } from 'react';
3
+ import { DataSourceRegistry } from './types.js';
4
+
5
+ interface DataSourceRegistryContextValue {
6
+ registry: DataSourceRegistry;
7
+ baseUrl?: string | undefined;
8
+ /** Get API headers function */
9
+ getApiHeaders?: (() => Record<string, string>) | undefined;
10
+ /** Dynamic variables for endpoint path substitution (e.g., { rep_id: "123" }) */
11
+ variables?: Record<string, string> | undefined;
12
+ }
13
+ interface DataSourceRegistryProviderProps {
14
+ registry?: DataSourceRegistry | undefined;
15
+ /** Base URL for API calls (e.g., "https://api.fluid.app/api") */
16
+ baseUrl?: string | undefined;
17
+ /**
18
+ * Get API headers function
19
+ */
20
+ getApiHeaders?: (() => Record<string, string>) | undefined;
21
+ /** Dynamic variables for endpoint path substitution (e.g., { rep_id: "123" }) */
22
+ variables?: Record<string, string> | undefined;
23
+ children: ReactNode;
24
+ }
25
+ /**
26
+ * Provides data source registry and configuration to all descendants.
27
+ * If no registry is provided, uses the default.
28
+ * Also provides the shared DataSourceProvider from rep-core so that
29
+ * rep-widgets hooks can access baseUrl and getApiHeaders.
30
+ */
31
+ declare function DataSourceRegistryProvider({ registry, baseUrl, getApiHeaders, variables, children, }: DataSourceRegistryProviderProps): react_jsx_runtime.JSX.Element;
32
+ /**
33
+ * Hook to access the data source registry.
34
+ */
35
+ declare function useDataSourceRegistry(): DataSourceRegistry;
36
+ /**
37
+ * Hook to access the full data source registry context (registry + config).
38
+ */
39
+ declare function useDataSourceRegistryConfig(): DataSourceRegistryContextValue;
40
+
41
+ export { DataSourceRegistryProvider, type DataSourceRegistryProviderProps, useDataSourceRegistry, useDataSourceRegistryConfig };
@@ -0,0 +1,9 @@
1
+ export { DataSourceRegistryProvider, useDataSourceRegistry, useDataSourceRegistryConfig } from '../chunk-XCNBVV4T.js';
2
+ import '../chunk-3I5Y3PEO.js';
3
+ import '../chunk-HUR3MSO4.js';
4
+ import '../chunk-VRF7QEID.js';
5
+ import '../chunk-WYOHFNNW.js';
6
+ import '../chunk-PVTQWD4I.js';
7
+ import '../chunk-NAMNXRI5.js';
8
+ //# sourceMappingURL=registry-context.js.map
9
+ //# sourceMappingURL=registry-context.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"registry-context.js"}
@@ -0,0 +1,20 @@
1
+ 'use strict';
2
+
3
+ var chunkLVLNO2YQ_cjs = require('../chunk-LVLNO2YQ.cjs');
4
+ require('../chunk-46PUWB7C.cjs');
5
+ require('../chunk-HGVSPZEL.cjs');
6
+ require('../chunk-N2K6W7FX.cjs');
7
+ require('../chunk-2SIG55BD.cjs');
8
+
9
+
10
+
11
+ Object.defineProperty(exports, "DEFAULT_DATA_SOURCE_REGISTRY", {
12
+ enumerable: true,
13
+ get: function () { return chunkLVLNO2YQ_cjs.DEFAULT_DATA_SOURCE_REGISTRY; }
14
+ });
15
+ Object.defineProperty(exports, "createDataSourceRegistry", {
16
+ enumerable: true,
17
+ get: function () { return chunkLVLNO2YQ_cjs.createDataSourceRegistry; }
18
+ });
19
+ //# sourceMappingURL=registry.cjs.map
20
+ //# sourceMappingURL=registry.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"registry.cjs"}