@spaceandtimelabs/makeinfinite-ui 0.72.2-beta.0 → 0.73.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 (184) hide show
  1. package/dist/index.d.ts +1544 -0
  2. package/dist/makeinfinite-ui.es.js +49604 -49796
  3. package/dist/makeinfinite-ui.umd.js +1677 -1680
  4. package/package.json +30 -20
  5. package/README.md +0 -179
  6. package/dist/tsconfig.types.tsbuildinfo +0 -1
  7. package/dist/types/api.d.ts +0 -54
  8. package/dist/types/api.d.ts.map +0 -1
  9. package/dist/types/apiProxy.d.ts +0 -65
  10. package/dist/types/apiProxy.d.ts.map +0 -1
  11. package/dist/types/components/DreamspaceElements/index.d.ts +0 -51
  12. package/dist/types/components/DreamspaceElements/index.d.ts.map +0 -1
  13. package/dist/types/components/DreamspaceElements/ui/accordion.d.ts +0 -8
  14. package/dist/types/components/DreamspaceElements/ui/accordion.d.ts.map +0 -1
  15. package/dist/types/components/DreamspaceElements/ui/alert-dialog.d.ts +0 -19
  16. package/dist/types/components/DreamspaceElements/ui/alert-dialog.d.ts.map +0 -1
  17. package/dist/types/components/DreamspaceElements/ui/alert.d.ts +0 -8
  18. package/dist/types/components/DreamspaceElements/ui/alert.d.ts.map +0 -1
  19. package/dist/types/components/DreamspaceElements/ui/aspect-ratio.d.ts +0 -4
  20. package/dist/types/components/DreamspaceElements/ui/aspect-ratio.d.ts.map +0 -1
  21. package/dist/types/components/DreamspaceElements/ui/avatar.d.ts +0 -7
  22. package/dist/types/components/DreamspaceElements/ui/avatar.d.ts.map +0 -1
  23. package/dist/types/components/DreamspaceElements/ui/badge.d.ts +0 -9
  24. package/dist/types/components/DreamspaceElements/ui/badge.d.ts.map +0 -1
  25. package/dist/types/components/DreamspaceElements/ui/breadcrumb.d.ts +0 -12
  26. package/dist/types/components/DreamspaceElements/ui/breadcrumb.d.ts.map +0 -1
  27. package/dist/types/components/DreamspaceElements/ui/button.d.ts +0 -11
  28. package/dist/types/components/DreamspaceElements/ui/button.d.ts.map +0 -1
  29. package/dist/types/components/DreamspaceElements/ui/calendar.d.ts +0 -8
  30. package/dist/types/components/DreamspaceElements/ui/calendar.d.ts.map +0 -1
  31. package/dist/types/components/DreamspaceElements/ui/card.d.ts +0 -9
  32. package/dist/types/components/DreamspaceElements/ui/card.d.ts.map +0 -1
  33. package/dist/types/components/DreamspaceElements/ui/carousel.d.ts +0 -14
  34. package/dist/types/components/DreamspaceElements/ui/carousel.d.ts.map +0 -1
  35. package/dist/types/components/DreamspaceElements/ui/checkbox.d.ts +0 -4
  36. package/dist/types/components/DreamspaceElements/ui/checkbox.d.ts.map +0 -1
  37. package/dist/types/components/DreamspaceElements/ui/collapsible.d.ts +0 -6
  38. package/dist/types/components/DreamspaceElements/ui/collapsible.d.ts.map +0 -1
  39. package/dist/types/components/DreamspaceElements/ui/combobox.d.ts +0 -14
  40. package/dist/types/components/DreamspaceElements/ui/combobox.d.ts.map +0 -1
  41. package/dist/types/components/DreamspaceElements/ui/command.d.ts +0 -51
  42. package/dist/types/components/DreamspaceElements/ui/command.d.ts.map +0 -1
  43. package/dist/types/components/DreamspaceElements/ui/context-menu.d.ts +0 -27
  44. package/dist/types/components/DreamspaceElements/ui/context-menu.d.ts.map +0 -1
  45. package/dist/types/components/DreamspaceElements/ui/data-table.d.ts +0 -9
  46. package/dist/types/components/DreamspaceElements/ui/data-table.d.ts.map +0 -1
  47. package/dist/types/components/DreamspaceElements/ui/date-picker.d.ts +0 -24
  48. package/dist/types/components/DreamspaceElements/ui/date-picker.d.ts.map +0 -1
  49. package/dist/types/components/DreamspaceElements/ui/dialog.d.ts +0 -19
  50. package/dist/types/components/DreamspaceElements/ui/dialog.d.ts.map +0 -1
  51. package/dist/types/components/DreamspaceElements/ui/drawer.d.ts +0 -22
  52. package/dist/types/components/DreamspaceElements/ui/drawer.d.ts.map +0 -1
  53. package/dist/types/components/DreamspaceElements/ui/dropdown-menu.d.ts +0 -27
  54. package/dist/types/components/DreamspaceElements/ui/dropdown-menu.d.ts.map +0 -1
  55. package/dist/types/components/DreamspaceElements/ui/form.d.ts +0 -23
  56. package/dist/types/components/DreamspaceElements/ui/form.d.ts.map +0 -1
  57. package/dist/types/components/DreamspaceElements/ui/hover-card.d.ts +0 -6
  58. package/dist/types/components/DreamspaceElements/ui/hover-card.d.ts.map +0 -1
  59. package/dist/types/components/DreamspaceElements/ui/input.d.ts +0 -4
  60. package/dist/types/components/DreamspaceElements/ui/input.d.ts.map +0 -1
  61. package/dist/types/components/DreamspaceElements/ui/label.d.ts +0 -5
  62. package/dist/types/components/DreamspaceElements/ui/label.d.ts.map +0 -1
  63. package/dist/types/components/DreamspaceElements/ui/menubar.d.ts +0 -33
  64. package/dist/types/components/DreamspaceElements/ui/menubar.d.ts.map +0 -1
  65. package/dist/types/components/DreamspaceElements/ui/navigation-menu.d.ts +0 -12
  66. package/dist/types/components/DreamspaceElements/ui/navigation-menu.d.ts.map +0 -1
  67. package/dist/types/components/DreamspaceElements/ui/pagination.d.ts +0 -22
  68. package/dist/types/components/DreamspaceElements/ui/pagination.d.ts.map +0 -1
  69. package/dist/types/components/DreamspaceElements/ui/popover.d.ts +0 -6
  70. package/dist/types/components/DreamspaceElements/ui/popover.d.ts.map +0 -1
  71. package/dist/types/components/DreamspaceElements/ui/progress.d.ts +0 -4
  72. package/dist/types/components/DreamspaceElements/ui/progress.d.ts.map +0 -1
  73. package/dist/types/components/DreamspaceElements/ui/radio-group.d.ts +0 -5
  74. package/dist/types/components/DreamspaceElements/ui/radio-group.d.ts.map +0 -1
  75. package/dist/types/components/DreamspaceElements/ui/resizable.d.ts +0 -9
  76. package/dist/types/components/DreamspaceElements/ui/resizable.d.ts.map +0 -1
  77. package/dist/types/components/DreamspaceElements/ui/scroll-area.d.ts +0 -5
  78. package/dist/types/components/DreamspaceElements/ui/scroll-area.d.ts.map +0 -1
  79. package/dist/types/components/DreamspaceElements/ui/select.d.ts +0 -13
  80. package/dist/types/components/DreamspaceElements/ui/select.d.ts.map +0 -1
  81. package/dist/types/components/DreamspaceElements/ui/separator.d.ts +0 -4
  82. package/dist/types/components/DreamspaceElements/ui/separator.d.ts.map +0 -1
  83. package/dist/types/components/DreamspaceElements/ui/sheet.d.ts +0 -25
  84. package/dist/types/components/DreamspaceElements/ui/sheet.d.ts.map +0 -1
  85. package/dist/types/components/DreamspaceElements/ui/sidebar.d.ts +0 -25
  86. package/dist/types/components/DreamspaceElements/ui/sidebar.d.ts.map +0 -1
  87. package/dist/types/components/DreamspaceElements/ui/skeleton.d.ts +0 -3
  88. package/dist/types/components/DreamspaceElements/ui/skeleton.d.ts.map +0 -1
  89. package/dist/types/components/DreamspaceElements/ui/slider.d.ts +0 -4
  90. package/dist/types/components/DreamspaceElements/ui/slider.d.ts.map +0 -1
  91. package/dist/types/components/DreamspaceElements/ui/sonner.d.ts +0 -5
  92. package/dist/types/components/DreamspaceElements/ui/sonner.d.ts.map +0 -1
  93. package/dist/types/components/DreamspaceElements/ui/switch.d.ts +0 -4
  94. package/dist/types/components/DreamspaceElements/ui/switch.d.ts.map +0 -1
  95. package/dist/types/components/DreamspaceElements/ui/table.d.ts +0 -10
  96. package/dist/types/components/DreamspaceElements/ui/table.d.ts.map +0 -1
  97. package/dist/types/components/DreamspaceElements/ui/tabs.d.ts +0 -8
  98. package/dist/types/components/DreamspaceElements/ui/tabs.d.ts.map +0 -1
  99. package/dist/types/components/DreamspaceElements/ui/textarea.d.ts +0 -4
  100. package/dist/types/components/DreamspaceElements/ui/textarea.d.ts.map +0 -1
  101. package/dist/types/components/DreamspaceElements/ui/toggle-group.d.ts +0 -12
  102. package/dist/types/components/DreamspaceElements/ui/toggle-group.d.ts.map +0 -1
  103. package/dist/types/components/DreamspaceElements/ui/toggle.d.ts +0 -12
  104. package/dist/types/components/DreamspaceElements/ui/toggle.d.ts.map +0 -1
  105. package/dist/types/components/DreamspaceElements/ui/tooltip.d.ts +0 -7
  106. package/dist/types/components/DreamspaceElements/ui/tooltip.d.ts.map +0 -1
  107. package/dist/types/components/DreamspaceElements/utils.d.ts +0 -3
  108. package/dist/types/components/DreamspaceElements/utils.d.ts.map +0 -1
  109. package/dist/types/components/DreamspaceElements/variants/default.d.ts +0 -108
  110. package/dist/types/components/DreamspaceElements/variants/default.d.ts.map +0 -1
  111. package/dist/types/components/DreamspaceElements/variants/glass.d.ts +0 -3
  112. package/dist/types/components/DreamspaceElements/variants/glass.d.ts.map +0 -1
  113. package/dist/types/components/DreamspaceElements/variants/index.d.ts +0 -2
  114. package/dist/types/components/DreamspaceElements/variants/index.d.ts.map +0 -1
  115. package/dist/types/components/MiniApp/GlobalStyle.d.ts +0 -3
  116. package/dist/types/components/MiniApp/GlobalStyle.d.ts.map +0 -1
  117. package/dist/types/components/MiniApp/MiniApp.d.ts +0 -3
  118. package/dist/types/components/MiniApp/MiniApp.d.ts.map +0 -1
  119. package/dist/types/components/MiniApp/index.d.ts +0 -2
  120. package/dist/types/components/MiniApp/index.d.ts.map +0 -1
  121. package/dist/types/components/RGLayout/RGComponent.d.ts +0 -14
  122. package/dist/types/components/RGLayout/RGComponent.d.ts.map +0 -1
  123. package/dist/types/components/RGLayout/RGComponentErrorBoundary.d.ts +0 -24
  124. package/dist/types/components/RGLayout/RGComponentErrorBoundary.d.ts.map +0 -1
  125. package/dist/types/components/RGLayout/RGDroppable.d.ts +0 -13
  126. package/dist/types/components/RGLayout/RGDroppable.d.ts.map +0 -1
  127. package/dist/types/components/RGLayout/RGEditLayout.d.ts +0 -20
  128. package/dist/types/components/RGLayout/RGEditLayout.d.ts.map +0 -1
  129. package/dist/types/components/RGLayout/RGPreviewLayout.d.ts +0 -6
  130. package/dist/types/components/RGLayout/RGPreviewLayout.d.ts.map +0 -1
  131. package/dist/types/components/RGLayout/index.d.ts +0 -6
  132. package/dist/types/components/RGLayout/index.d.ts.map +0 -1
  133. package/dist/types/components/RGLayout/layoutTransformers.d.ts +0 -14
  134. package/dist/types/components/RGLayout/layoutTransformers.d.ts.map +0 -1
  135. package/dist/types/components/SpinnerOverlay/SpinnerOverlay.d.ts +0 -7
  136. package/dist/types/components/SpinnerOverlay/SpinnerOverlay.d.ts.map +0 -1
  137. package/dist/types/components/index.d.ts +0 -3
  138. package/dist/types/components/index.d.ts.map +0 -1
  139. package/dist/types/contexts/apiContext.d.ts +0 -14
  140. package/dist/types/contexts/apiContext.d.ts.map +0 -1
  141. package/dist/types/contexts/index.d.ts +0 -4
  142. package/dist/types/contexts/index.d.ts.map +0 -1
  143. package/dist/types/contexts/projectContext.d.ts +0 -59
  144. package/dist/types/contexts/projectContext.d.ts.map +0 -1
  145. package/dist/types/contexts/rgContext.d.ts +0 -5
  146. package/dist/types/contexts/rgContext.d.ts.map +0 -1
  147. package/dist/types/contexts/tailwindThemeContext.d.ts +0 -7
  148. package/dist/types/contexts/tailwindThemeContext.d.ts.map +0 -1
  149. package/dist/types/filesystem.d.ts +0 -4
  150. package/dist/types/filesystem.d.ts.map +0 -1
  151. package/dist/types/git.d.ts +0 -26
  152. package/dist/types/git.d.ts.map +0 -1
  153. package/dist/types/gw.d.ts +0 -7
  154. package/dist/types/gw.d.ts.map +0 -1
  155. package/dist/types/hooks/index.d.ts +0 -2
  156. package/dist/types/hooks/index.d.ts.map +0 -1
  157. package/dist/types/hooks/tailwindThemeProvider/index.d.ts +0 -7
  158. package/dist/types/hooks/tailwindThemeProvider/index.d.ts.map +0 -1
  159. package/dist/types/hooks/tailwindThemeProvider/useColors.d.ts +0 -6
  160. package/dist/types/hooks/tailwindThemeProvider/useColors.d.ts.map +0 -1
  161. package/dist/types/hooks/tailwindThemeProvider/useFontFamily.d.ts +0 -6
  162. package/dist/types/hooks/tailwindThemeProvider/useFontFamily.d.ts.map +0 -1
  163. package/dist/types/hooks/tailwindThemeProvider/useSiteBackground.d.ts +0 -8
  164. package/dist/types/hooks/tailwindThemeProvider/useSiteBackground.d.ts.map +0 -1
  165. package/dist/types/hooks/tailwindThemeProvider/useTailwind.d.ts +0 -6
  166. package/dist/types/hooks/tailwindThemeProvider/useTailwind.d.ts.map +0 -1
  167. package/dist/types/hooks/tailwindThemeProvider/useTheme.d.ts +0 -6
  168. package/dist/types/hooks/tailwindThemeProvider/useTheme.d.ts.map +0 -1
  169. package/dist/types/hooks/tailwindThemeProvider/useVariants.d.ts +0 -6
  170. package/dist/types/hooks/tailwindThemeProvider/useVariants.d.ts.map +0 -1
  171. package/dist/types/hooks/useAPIHandler.d.ts +0 -53
  172. package/dist/types/hooks/useAPIHandler.d.ts.map +0 -1
  173. package/dist/types/hooks/useId.d.ts +0 -2
  174. package/dist/types/hooks/useId.d.ts.map +0 -1
  175. package/dist/types/hooks/useProject.d.ts +0 -3
  176. package/dist/types/hooks/useProject.d.ts.map +0 -1
  177. package/dist/types/hooks/useWebSocketManager.d.ts +0 -36
  178. package/dist/types/hooks/useWebSocketManager.d.ts.map +0 -1
  179. package/dist/types/index.d.ts +0 -32
  180. package/dist/types/index.d.ts.map +0 -1
  181. package/dist/types/types.d.ts +0 -20
  182. package/dist/types/types.d.ts.map +0 -1
  183. package/dist/types/utility.d.ts +0 -13
  184. package/dist/types/utility.d.ts.map +0 -1
@@ -1,14 +0,0 @@
1
- /**
2
- * Layout transformation utilities for responsive grid layouts
3
- */
4
- export declare const sortLayoutByY: (layout: any) => any;
5
- /**
6
- * Transform LG layout (12 columns) to XXS layout (1 column)
7
- * This function sorts items by Y position, then by X position for same Y values,
8
- * and stacks side-by-side items vertically in the single-column layout
9
- *
10
- * @param layout - The layout object containing lg property with array of layout items
11
- * @returns Transformed layout array for XXS breakpoint
12
- */
13
- export declare const transformLgToXxs: (layout: any) => any[];
14
- //# sourceMappingURL=layoutTransformers.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"layoutTransformers.d.ts","sourceRoot":"","sources":["../../../../lib/components/RGLayout/layoutTransformers.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,eAAO,MAAM,aAAa,WAAY,GAAG,QAOxC,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,gBAAgB,WAAY,GAAG,UAgC3C,CAAC"}
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- interface SpinnerOverlayProps {
3
- isVisible: boolean;
4
- }
5
- declare const SpinnerOverlay: React.FC<SpinnerOverlayProps>;
6
- export default SpinnerOverlay;
7
- //# sourceMappingURL=SpinnerOverlay.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SpinnerOverlay.d.ts","sourceRoot":"","sources":["../../../../lib/components/SpinnerOverlay/SpinnerOverlay.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAkC1B,UAAU,mBAAmB;IAC3B,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAQjD,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -1,3 +0,0 @@
1
- export * from './MiniApp';
2
- export * from './RGLayout';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC"}
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- interface APIContextType {
3
- isLoading: boolean;
4
- wrapAPICall: <T>(promise: Promise<T>) => Promise<T>;
5
- wrapXHRCall: <T>(xhrCreator: () => XMLHttpRequest, processResponse: (xhr: XMLHttpRequest) => T) => Promise<T>;
6
- }
7
- declare const APIContext: React.Context<APIContextType | null>;
8
- export declare const useAPI: () => APIContextType;
9
- interface APIProviderProps {
10
- children: React.ReactNode;
11
- }
12
- export declare const APIProvider: React.FC<APIProviderProps>;
13
- export default APIContext;
14
- //# sourceMappingURL=apiContext.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"apiContext.d.ts","sourceRoot":"","sources":["../../../lib/contexts/apiContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2D,MAAM,OAAO,CAAC;AAEhF,UAAU,cAAc;IACtB,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,CAAC,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,KAAK,OAAO,CAAC,CAAC,CAAC,CAAC;IACpD,WAAW,EAAE,CAAC,CAAC,EACb,UAAU,EAAE,MAAM,cAAc,EAChC,eAAe,EAAE,CAAC,GAAG,EAAE,cAAc,KAAK,CAAC,KACxC,OAAO,CAAC,CAAC,CAAC,CAAC;CACjB;AAED,QAAA,MAAM,UAAU,sCAA6C,CAAC;AAE9D,eAAO,MAAM,MAAM,sBAMlB,CAAC;AAEF,UAAU,gBAAgB;IACxB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAkElD,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -1,4 +0,0 @@
1
- export { default as APIContext, APIProvider, useAPI } from './apiContext';
2
- export { default as RGProvider, useRGContext } from './rgContext';
3
- export * from './projectContext';
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/contexts/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAC1E,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAClE,cAAc,kBAAkB,CAAC"}
@@ -1,59 +0,0 @@
1
- import { APIHandler as API } from '../api';
2
- import { gwAPIHandler as gwAPI } from '../gw';
3
- import { APIProxyHandler } from '../apiProxy';
4
- interface ProjectConfig {
5
- API_BASE_URL: string | null;
6
- WS_BASE_URL: string | null;
7
- GW_BASE_URL: string | null;
8
- GW_PROXY_URL: string | null;
9
- PROXY_API_BASE_URL: string | null;
10
- }
11
- interface ProjectMetadata {
12
- projectName: string | null;
13
- projectURL: string | null;
14
- projectHmac?: string;
15
- extraMeta: {
16
- application_name?: string;
17
- project_name?: string;
18
- application_description?: string;
19
- application_category?: string;
20
- };
21
- }
22
- type APIHandlerType = ReturnType<typeof API>;
23
- type GwAPIHandlerType = ReturnType<typeof gwAPI>;
24
- type ProxyHandlerType = ReturnType<typeof APIProxyHandler>;
25
- type ProxyFetchType = (input: RequestInfo | URL, init?: RequestInit) => Promise<Response>;
26
- type ProxyGetViewType = (schema: string, viewName: string, parameters: {
27
- [key: string]: string | number | boolean;
28
- }) => Promise<{
29
- [key: string]: any;
30
- }[]>;
31
- interface ProjectContextValue {
32
- config: ProjectConfig;
33
- projectMetadata: ProjectMetadata;
34
- setProjectMetadata: React.Dispatch<React.SetStateAction<ProjectMetadata>>;
35
- syncToken: string;
36
- setSyncToken: () => void;
37
- selectedComponentId: string;
38
- setSelectedComponentId: React.Dispatch<React.SetStateAction<string>>;
39
- selectedComponentXPath: string;
40
- setSelectedComponentXPath: React.Dispatch<React.SetStateAction<string>>;
41
- selectedComponentHTML: string;
42
- setSelectedComponentHTML: React.Dispatch<React.SetStateAction<string>>;
43
- isComponentSubselected: boolean;
44
- setIsComponentSubselected: React.Dispatch<React.SetStateAction<boolean>>;
45
- APIHandler: APIHandlerType;
46
- gwAPIHandler: GwAPIHandlerType;
47
- proxyHandler: ProxyHandlerType;
48
- proxyFetch: ProxyFetchType | null;
49
- proxyGetView: ProxyGetViewType | null;
50
- }
51
- declare const ProjectContext: import("react").Context<ProjectContextValue | null>;
52
- declare const ProjectConsumer: import("react").Consumer<ProjectContextValue | null>;
53
- declare const ProjectProvider: (props: {
54
- config: ProjectConfig;
55
- metadata?: ProjectMetadata;
56
- children?: React.ReactNode;
57
- }) => JSX.Element;
58
- export { ProjectConsumer, ProjectContext, ProjectProvider, type ProjectContextValue };
59
- //# sourceMappingURL=projectContext.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"projectCont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IACtB,QAAQ,CAAC,EAAE,eAAe,CAAC;IAC3B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,gBAQA,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,eAAe,EAAE,KAAK,mBAAmB,EAAE,CAAC"}
@@ -1,5 +0,0 @@
1
- import { type FC, type ReactNode, type PropsWithChildren } from 'react';
2
- export declare const useRGContext: () => any;
3
- declare const RGProvider: FC<PropsWithChildren<ReactNode>>;
4
- export default RGProvider;
5
- //# sourceMappingURL=rgContext.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rgContext.d.ts","sourceRoot":"","sources":["../../../lib/contexts/rgContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,EAAE,EACP,KAAK,SAAS,EACd,KAAK,iBAAiB,EAIvB,MAAM,OAAO,CAAC;AAGf,eAAO,MAAM,YAAY,WAMxB,CAAC;AAEF,QAAA,MAAM,UAAU,EAAE,EAAE,CAAC,iBAAiB,CAAC,SAAS,CAAC,CA2BhD,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -1,7 +0,0 @@
1
- declare const TailwindThemeContext: import("react").Context<any>;
2
- declare const TailwindThemeConsumer: import("react").Consumer<any>;
3
- declare const TailwindThemeProvider: (props: {
4
- children?: React.ReactNode;
5
- }) => JSX.Element;
6
- export { TailwindThemeContext, TailwindThemeConsumer, TailwindThemeProvider };
7
- //# sourceMappingURL=tailwindThemeContext.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tailwindThemeContext.d.ts","sourceRoot":"","sources":["../../../lib/contexts/tailwindThemeContext.tsx"],"names":[],"mappings":"AAGA,QAAA,MAAM,oBAAoB,8BAA2B,CAAC;AACtD,QAAA,MAAM,qBAAqB,+BAAgC,CAAC;AAO5D,QAAA,MAAM,qBAAqB,UAAW;IAAE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,gBAqCnE,CAAC;AAEF,OAAO,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,CAAC"}
@@ -1,4 +0,0 @@
1
- declare const isDir: (dirPath: string) => Promise<any>;
2
- declare const listDir: (dirPath: string) => Promise<any>;
3
- export { isDir, listDir };
4
- //# sourceMappingURL=filesystem.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"filesystem.d.ts","sourceRoot":"","sources":["../../lib/filesystem.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,KAAK,YAAmB,MAAM,iBASnC,CAAC;AAGF,QAAA,MAAM,OAAO,YAAmB,MAAM,iBAErC,CAAC;AAEF,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC"}
@@ -1,26 +0,0 @@
1
- declare const checkoutPublished: (projectName: string) => Promise<void>;
2
- declare const getHeadCommit: (projectName: string) => Promise<string>;
3
- declare const getUndoTargetCommitForFile: (projectName: string, filePath: string) => Promise<[string, string]>;
4
- declare const getRedoTargetCommitForFile: (projectName: string, filePath: string) => Promise<[string, string]>;
5
- declare const syncAndRetry: (projectName: string, projectRepository: string) => Promise<void>;
6
- type GetTagsOptions = {
7
- fetch?: boolean;
8
- };
9
- declare const getTags: (projectName: string, projectUrl: string, { fetch, }?: GetTagsOptions) => Promise<{
10
- tag: string;
11
- targetCommitTimestamp: number;
12
- targetCommit: string;
13
- ref: string;
14
- }[]>;
15
- declare const applySxtIgnore: (files: string[], pfs: any, dir: string) => Promise<string[]>;
16
- declare const listAllFiles: (projectName: string, repoURL: string) => Promise<string[] | never[]>;
17
- interface Commit {
18
- hash: string;
19
- timestamp: number;
20
- message: string;
21
- isRelease: boolean;
22
- }
23
- declare const getCommits: (projectName: string, projectUrl: string, commitsCount?: number) => Promise<Commit[]>;
24
- declare const checkoutCommit: (projectName: string, commitHash: string) => Promise<void>;
25
- export { getHeadCommit, getUndoTargetCommitForFile, getRedoTargetCommitForFile, syncAndRetry, getTags, checkoutPublished, applySxtIgnore, listAllFiles, getCommits, checkoutCommit, };
26
-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jB,cAAc,EACd,YAAY,EACZ,UAAU,EACV,cAAc,GACf,CAAC"}
@@ -1,7 +0,0 @@
1
- declare const gwAPIHandler: (baseUrl: string) => {
2
- getQueryContent: (queryId: string) => Promise<Response>;
3
- getVisuals: (pageNo: number, pageSize: number, scope: string, searchPattern: string, sortBy: string, sortOrder: string, visibility: string, visualType: string) => Promise<Response>;
4
- getSubscription: () => Promise<Response>;
5
- };
6
- export { gwAPIHandler };
7
- //# sourceMappingURL=gw.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"gw.d.ts","sourceRoot":"","sources":["../../lib/gw.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,YAAY,YAAa,MAAM;+BAGK,MAAM;yBAcpC,MAAM,YACJ,MAAM,SACT,MAAM,iBACE,MAAM,UACb,MAAM,aACH,MAAM,cACL,MAAM,cACN,MAAM;;CAmCrB,CAAC;AAEF,OAAO,EAAE,YAAY,EAAE,CAAC"}
@@ -1,2 +0,0 @@
1
- export * from './useProject';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
@@ -1,7 +0,0 @@
1
- export * from './useVariants';
2
- export * from './useTheme';
3
- export * from './useFontFamily';
4
- export * from './useColors';
5
- export * from './useSiteBackground';
6
- export * from './useTailwind';
7
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/hooks/tailwindThemeProvider/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC"}
@@ -1,6 +0,0 @@
1
- declare const useColors: () => {
2
- colors: any;
3
- setColors: (colors: Record<string, any>) => void;
4
- };
5
- export { useColors };
6
- //# sourceMappingURL=useColors.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useColors.d.ts","sourceRoot":"","sources":["../../../../lib/hooks/tailwindThemeProvider/useColors.tsx"],"names":[],"mappings":"AAGA,QAAA,MAAM,SAAS;;wBAIc,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;CAe/C,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC"}
@@ -1,6 +0,0 @@
1
- declare const useFontFamily: () => {
2
- fontFamily: any;
3
- setFontFamily: (fontFamily: string) => void;
4
- };
5
- export { useFontFamily };
6
- //# sourceMappingURL=useFontFamily.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useFontFamily.d.ts","sourceRoot":"","sources":["../../../../lib/hooks/tailwindThemeProvider/useFontFamily.tsx"],"names":[],"mappings":"AAGA,QAAA,MAAM,aAAa;;gCAIkB,MAAM;CAiB1C,CAAC;AAEF,OAAO,EAAE,aAAa,EAAE,CAAC"}
@@ -1,8 +0,0 @@
1
- declare const useSiteBackground: () => {
2
- siteBackground: any;
3
- siteBackgroundColor: any;
4
- siteBackgroundImage: any;
5
- setSiteBackground: any;
6
- };
7
- export { useSiteBackground };
8
- //# sourceMappingURL=useSiteBackground.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useSiteBackground.d.ts","sourceRoot":"","sources":["../../../../lib/hooks/tailwindThemeProvider/useSiteBackground.tsx"],"names":[],"mappings":"AAGA,QAAA,MAAM,iBAAiB;;;;;CAUtB,CAAC;AAEF,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
@@ -1,6 +0,0 @@
1
- declare const useTailwind: () => {
2
- tailwind: any;
3
- setTailwind: any;
4
- };
5
- export { useTailwind };
6
- //# sourceMappingURL=useTailwind.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useTailwind.d.ts","sourceRoot":"","sources":["../../../../lib/hooks/tailwindThemeProvider/useTailwind.tsx"],"names":[],"mappings":"AAGA,QAAA,MAAM,WAAW;;;CAQhB,CAAC;AAEF,OAAO,EAAE,WAAW,EAAE,CAAC"}
@@ -1,6 +0,0 @@
1
- declare const useTheme: () => {
2
- theme: any;
3
- setTheme: any;
4
- };
5
- export { useTheme };
6
- //# sourceMappingURL=useTheme.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useTheme.d.ts","sourceRoot":"","sources":["../../../../lib/hooks/tailwindThemeProvider/useTheme.tsx"],"names":[],"mappings":"AAGA,QAAA,MAAM,QAAQ;;;CAOb,CAAC;AAEF,OAAO,EAAE,QAAQ,EAAE,CAAC"}
@@ -1,6 +0,0 @@
1
- declare const useVariants: () => {
2
- variants: any;
3
- setVariants: any;
4
- };
5
- export { useVariants };
6
- //# sourceMappingURL=useVariants.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useVariants.d.ts","sourceRoot":"","sources":["../../../../lib/hooks/tailwindThemeProvider/useVariants.tsx"],"names":[],"mappings":"AAGA,QAAA,MAAM,WAAW;;;CAOhB,CAAC;AAEF,OAAO,EAAE,WAAW,EAAE,CAAC"}
@@ -1,53 +0,0 @@
1
- export declare const useAPIHandler: (baseUrl: string) => {
2
- createProject: (description: string, theme: string, siteBackground?: File | null, secretReferences?: string | string[]) => Promise<Response>;
3
- createBlankProject: (description: string, theme: string, siteBackground?: File | null, secretReferences?: string | string[]) => Promise<Response>;
4
- getProjects: (include_published_info?: boolean) => Promise<Response>;
5
- getProjectMetadata: (projectName: string) => Promise<Response>;
6
- getSubdomains: (projectName: string) => Promise<Response>;
7
- allocateSubdomain: (projectName: string, subdomain: string) => Promise<Response>;
8
- updateSubdomain: (projectName: string, subdomain: string) => Promise<Response>;
9
- releaseSubdomain: (projectName: string, subdomain: string) => Promise<Response>;
10
- publishProject: (projectName: string, gitRef: string) => Promise<Response>;
11
- unpublishProject: (projectName: string) => Promise<Response>;
12
- tagCommit: (projectName: string, commitHash: string, tagName: string) => Promise<Response>;
13
- getComponentLibrary: () => Promise<Response>;
14
- addProjectComponent: (projectName: string, componentNamespace: string, componentName: string, layoutMetadata: any, pageId?: string | null, content?: string | null) => Promise<Response>;
15
- addProjectChart: (projectName: string, visualId: string, layoutMetadata: object, echartsConfig?: object, pageId?: string | null) => Promise<Response>;
16
- updateProjectComponentLayoutMetadata: (projectName: string, componentId: string, layoutMetadata: any) => Promise<Response>;
17
- updateProjectComponentSourceCode: (projectName: string, componentId: string, sourceCode: string) => Promise<Response>;
18
- updateApplicationMetadata: (projectName: string, applicationName: string, applicationDescription: string, applicationCategory: string) => Promise<Response>;
19
- updateApplicationSettings: (projectName: string, applicationLoginEnabled?: boolean | null, defaultDeploymentChainReference?: string | null) => Promise<Response>;
20
- updateProjectFile: (filePath: string, projectName: string, sourceCode: string, abortSignal?: AbortSignal) => Promise<Response>;
21
- updateProjectFiles: (files: {
22
- projectName: string;
23
- filePath: string;
24
- fileContent: string;
25
- }[], abortSignal?: AbortSignal) => Promise<Response>;
26
- deleteProjectFile: (projectName: string, filePath: string) => Promise<Response>;
27
- resetProjectFile: (projectName: string, filePath: string, gitRef: string, prune?: boolean, extraMetadata?: string) => Promise<Response>;
28
- deleteProject: (projectName: string) => Promise<Response>;
29
- requestErrorCorrection: (projectName: string, componentId: string, errorMessage: string) => Promise<Response>;
30
- addImage: (formData: FormData) => Promise<Response>;
31
- editElement: (params: {
32
- projectName: string;
33
- componentId: string;
34
- elementXPath: string;
35
- styleRequest?: object | null;
36
- textRequest?: string | null;
37
- backgroundImageRequest?: string | null;
38
- domTreeRepr: string;
39
- }) => Promise<Response>;
40
- initializeProject: (projectName: string) => Promise<Response>;
41
- getUserSpendAnalytics: () => Promise<Response>;
42
- addPage: (projectName: string, name: string, path: string, components: any[]) => Promise<Response>;
43
- editPage: (projectName: string, pageId: string, newName?: string | null, newPath?: string | null) => Promise<Response>;
44
- deletePage: (projectName: string, pageId: string) => Promise<Response>;
45
- editPageLayout: (projectName: string, pageId: string, layoutMetadata: object) => Promise<Response>;
46
- removePageComponent: (projectName: string, pageId: string, componentId: string) => Promise<Response>;
47
- getCreatorPointsSum: (projectName?: string | null) => Promise<Response>;
48
- getCreatorPointsTop: (n?: number) => Promise<Response>;
49
- getProjectViewsHistory: (projectName: string, start?: Date, end?: Date, granularity?: "minute" | "hour" | "day" | "month" | "year", limit?: number) => Promise<Response>;
50
- getProjectViewsTop: (n?: number) => Promise<Response>;
51
- preflightCheck: (projectName?: string) => Promise<Response>;
52
- };
53
- //# sourceMappingURL=useAPIHandler.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useAPIHandler.d.ts","sourceRoot":"","sources":["../../../lib/hooks/useAPIHandler.tsx"],"names":[],"mappings":"AAWA,eAAO,MAAM,aAAa,YAAa,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAwB6+U,CAAC;mBAAgC,CAAC;8BAA2C,CAAC;;;;;;;;;;;;;;;CADvmV,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare function useId(prefix?: string): string;
2
- //# sourceMappingURL=useId.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useId.d.ts","sourceRoot":"","sources":["../../../lib/hooks/useId.ts"],"names":[],"mappings":"AAKA,wBAAgB,KAAK,CAAC,MAAM,SAAO,GAAG,MAAM,CAO3C"}
@@ -1,3 +0,0 @@
1
- declare const useProject: () => import("../contexts").ProjectContextValue;
2
- export { useProject };
3
- //# sourceMappingURL=useProject.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useProject.d.ts","sourceRoot":"","sources":["../../../lib/hooks/useProject.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,UAAU,iDAIf,CAAC;AAEF,OAAO,EAAE,UAAU,EAAE,CAAC"}
@@ -1,36 +0,0 @@
1
- /**
2
- * WebSocket connection status
3
- */
4
- export type WebSocketStatus = 'idle' | 'connecting' | 'open' | 'closing' | 'closed';
5
- /**
6
- * Options for WebSocket connection management
7
- */
8
- interface WebSocketOptions {
9
- /** Maximum number of reconnection attempts (default: 5) */
10
- maxReconnectAttempts?: number;
11
- /** Initial delay in ms before first reconnection attempt (default: 1000) */
12
- reconnectInitialDelay?: number;
13
- /** Exponential backoff factor for subsequent reconnect attempts (default: 2) */
14
- reconnectBackoffFactor?: number;
15
- }
16
- /**
17
- * Return type for useWebSocketManager hook
18
- */
19
- interface UseWebSocketManagerReturn {
20
- /** Current connection status */
21
- connectionStatus: WebSocketStatus;
22
- /** Function to send messages over the WebSocket */
23
- sendMessage: (message: object) => boolean;
24
- /** Most recent error during connection or message handling */
25
- lastError: Error | null;
26
- }
27
- /**
28
- * Hook for managing a WebSocket connection with automatic reconnection
29
- *
30
- * @param getUrl Function that returns the WebSocket URL to connect to (return null to prevent connection)
31
- * @param onMessageReceived Callback function to handle received messages
32
- * @param options Connection options
33
- */
34
- export declare const useWebSocketManager: (getUrl: () => string | null, onMessageReceived: (data: any) => void, options?: WebSocketOptions) => UseWebSocketManagerReturn;
35
- export {};
36
- //# sourceMappingURL=useWebSocketManager.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useWebSocketManager.d.ts","sourceRoot":"","sources":["../../../lib/hooks/useWebSocketManager.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,YAAY,GAAG,MAAM,GAAG,SAAS,GAAG,QAAQ,CAAC;AAEpF;;GAEG;AACH,UAAU,gBAAgB;IACxB,2DAA2D;IAC3D,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,4EAA4E;IAC5E,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,gFAAgF;IAChF,sBAAsB,CAAC,EAAE,MAAM,CAAC;CACjC;AAQD;;GAEG;AACH,UAAU,yBAAyB;IACjC,gCAAgC;IAChC,gBAAgB,EAAE,eAAe,CAAC;IAClC,mDAAmD;IACnD,WAAW,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC;IAC1C,8DAA8D;IAC9D,SAAS,EAAE,KAAK,GAAG,IAAI,CAAC;CACzB;AAED;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB,WACtB,MAAM,MAAM,GAAG,IAAI,qBACR,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,YAC5B,gBAAgB,KACzB,yBAsRF,CAAC"}
@@ -1,32 +0,0 @@
1
- import { Buffer } from 'buffer';
2
- declare global {
3
- interface Window {
4
- fs: any;
5
- pfs: any;
6
- miDir: string;
7
- Buffer: typeof Buffer;
8
- ethers: any;
9
- MakeInfinite: any;
10
- ReactECharts: any;
11
- THREE: any;
12
- Radix: any;
13
- DreamspaceElements: any;
14
- Lucide: any;
15
- }
16
- }
17
- export declare const initializeMakeInfinite: () => void;
18
- export { getTags, syncAndRetry, getUndoTargetCommitForFile, getRedoTargetCommitForFile, getHeadCommit, applySxtIgnore, listAllFiles, getCommits, checkoutCommit, } from './git';
19
- export { listDir } from './filesystem';
20
- export { MiniApp } from './components';
21
- export { ProjectProvider, useAPI, useRGContext, RGProvider } from './contexts';
22
- export { useProject } from './hooks';
23
- export { useWebSocketManager } from './hooks/useWebSocketManager';
24
- export { useB64UrlForProjectImage, loadLibraryComponents, loadProjectComponents, setTailwindTheme, useAppMetadata, useAppSettings, useAppVersions, } from './utility';
25
- export { RGComponent, RGDroppable, RGComponentErrorBoundary, RGEditLayout, RGPreviewLayout, } from './components/RGLayout';
26
- export { APIHandler } from './api';
27
- export * from './apiProxy';
28
- export { type Project, type FetchProjectResponse } from './types';
29
- export * as DreamspaceElements from './components/DreamspaceElements';
30
- export * as TailwindThemeContext from './contexts/tailwindThemeContext';
31
- export * as TailwindThemeHooks from './hooks/tailwindThemeProvider';
32
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAIhC,OAAO,CAAC,MAAM,CAAC;IACb,UA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AAC;AAEtE,OAAO,KAAK,oBAAoB,MAAM,iCAAiC,CAAC;AACxE,OAAO,KAAK,kBAAkB,MAAM,+BAA+B,CAAC"}
@@ -1,20 +0,0 @@
1
- declare enum RenderMode {
2
- EditMode = 0,
3
- PreviewMode = 1
4
- }
5
- export type Project = {
6
- clone_url: string;
7
- project_name: string;
8
- creator_sxt_uuid: string;
9
- created_at_s: number;
10
- updated_at_s: number;
11
- hmac: string;
12
- extra_meta?: string | null;
13
- published_url?: string;
14
- };
15
- export type FetchProjectResponse = {
16
- status: string;
17
- projects: Project[];
18
- };
19
- export { RenderMode };
20
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../lib/types.ts"],"names":[],"mappings":"AAAA,aAAK,UAAU;IACb,QAAQ,IAAA;IACR,WAAW,IAAA;CACZ;AAED,MAAM,MAAM,OAAO,GAAG;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,gBAAgB,EAAE,MAAM,CAAC;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,OAAO,EAAE,CAAC;CACrB,CAAC;AAEF,OAAO,EAAE,UAAU,EAAE,CAAC"}
@@ -1,13 +0,0 @@
1
- declare const loadLibraryComponents: (apiHandler: any) => Promise<any>;
2
- declare const loadProjectComponents: (projectName: string) => Promise<{
3
- components: any;
4
- layout: any;
5
- }>;
6
- declare const setTailwindTheme: (theme: object) => void;
7
- declare const useB64UrlForProjectImage: (projectName: string, imageFilename: string) => string;
8
- declare const useAppMetadata: (projectName: string, deps?: any[]) => any;
9
- declare const useAppSettings: (projectName: string, deps?: any[]) => any;
10
- declare const useAppVersions: (projectName: string, projectURL: string, deps?: any[]) => any;
11
- declare const toString: (data: string | Uint8Array) => string;
12
- export { loadLibraryComponents, loadProjectComponents, setTailwindTheme, useB64UrlForProjectImage, useAppMetadata, useAppSettings, useAppVersions, toString, };
13
- //# sourceMappingURL=utility.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utility.d.ts","sourceRoot":"","sources":["../../lib/utility.tsx"],"names":[],"mappings":"AAsCA,QAAA,MAAM,qBAAqB,eAAsB,GAAG,iBAwCnD,CAAC;AAEF,QAAA,MAAM,qBAAqB,gBAAuB,MAAM;;;EA6GvD,CAAC;AAgCF,QAAA,MAAM,gBAAgB,UAAW,MAAM,SAMtC,CAAC;AAEF,QAAA,MAAM,wBAAwB,gBAAiB,MAAM,iBAAiB,MAAM,WAiB3E,CAAC;AAEF,QAAA,MAAM,cAAc,gBAAiB,MAAM,SAAQ,GAAG,EAAE,QAuBvD,CAAC;AAEF,QAAA,MAAM,cAAc,gBAAiB,MAAM,SAAQ,GAAG,EAAE,QAuBvD,CAAC;AAEF,QAAA,MAAM,cAAc,gBAAiB,MAAM,cAAc,MAAM,SAAQ,GAAG,EAAE,QAqB3E,CAAC;AAGF,QAAA,MAAM,QAAQ,SAAU,MAAM,GAAG,UAAU,KAAG,MAM7C,CAAC;AAEF,OAAO,EACL,qBAAqB,EACrB,qBAAqB,EACrB,gBAAgB,EAChB,wBAAwB,EACxB,cAAc,EACd,cAAc,EACd,cAAc,EACd,QAAQ,GACT,CAAC"}