@duongthiu/onex-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 (190) hide show
  1. package/README.md +44 -65
  2. package/THEME_API.md +36 -33
  3. package/dist/api.js +14 -0
  4. package/dist/api.js.map +1 -0
  5. package/dist/api.mjs +5 -0
  6. package/dist/api.mjs.map +1 -0
  7. package/dist/auth.js +23 -0
  8. package/dist/auth.js.map +1 -0
  9. package/dist/auth.mjs +6 -0
  10. package/dist/auth.mjs.map +1 -0
  11. package/dist/blog.js +22 -0
  12. package/dist/blog.js.map +1 -0
  13. package/dist/blog.mjs +5 -0
  14. package/dist/blog.mjs.map +1 -0
  15. package/dist/cart.js +27 -0
  16. package/dist/cart.js.map +1 -0
  17. package/dist/cart.mjs +6 -0
  18. package/dist/cart.mjs.map +1 -0
  19. package/dist/chunk-2CSWHI3L.js +210 -0
  20. package/dist/chunk-2CSWHI3L.js.map +1 -0
  21. package/dist/chunk-2FGHIDUV.js +99 -0
  22. package/dist/chunk-2FGHIDUV.js.map +1 -0
  23. package/dist/chunk-2NMEKWO5.js +40 -0
  24. package/dist/chunk-2NMEKWO5.js.map +1 -0
  25. package/dist/chunk-43BVHGDT.mjs +131 -0
  26. package/dist/chunk-43BVHGDT.mjs.map +1 -0
  27. package/dist/chunk-4JVQJI3I.mjs +290 -0
  28. package/dist/chunk-4JVQJI3I.mjs.map +1 -0
  29. package/dist/chunk-5N2EKK5O.js +9550 -0
  30. package/dist/chunk-5N2EKK5O.js.map +1 -0
  31. package/dist/chunk-5T6NDVSN.js +76 -0
  32. package/dist/chunk-5T6NDVSN.js.map +1 -0
  33. package/dist/chunk-73AINNCI.mjs +201 -0
  34. package/dist/chunk-73AINNCI.mjs.map +1 -0
  35. package/dist/chunk-AIXBDAVP.mjs +61 -0
  36. package/dist/chunk-AIXBDAVP.mjs.map +1 -0
  37. package/dist/chunk-ALYN5HAC.js +210 -0
  38. package/dist/chunk-ALYN5HAC.js.map +1 -0
  39. package/dist/chunk-AREMJR3Q.js +36 -0
  40. package/dist/chunk-AREMJR3Q.js.map +1 -0
  41. package/dist/chunk-DXAI6XOI.mjs +33 -0
  42. package/dist/chunk-DXAI6XOI.mjs.map +1 -0
  43. package/dist/chunk-F5TFNWFJ.mjs +257 -0
  44. package/dist/chunk-F5TFNWFJ.mjs.map +1 -0
  45. package/dist/chunk-FQ7FWUZN.js +265 -0
  46. package/dist/chunk-FQ7FWUZN.js.map +1 -0
  47. package/dist/{chunk-3SZX6LHT.js → chunk-J27VGXJH.js} +2 -24
  48. package/dist/chunk-J27VGXJH.js.map +1 -0
  49. package/dist/chunk-JZ46LLTZ.js +121 -0
  50. package/dist/chunk-JZ46LLTZ.js.map +1 -0
  51. package/dist/chunk-K24UHN6G.mjs +76 -0
  52. package/dist/chunk-K24UHN6G.mjs.map +1 -0
  53. package/dist/chunk-KCQGGU5R.mjs +344 -0
  54. package/dist/chunk-KCQGGU5R.mjs.map +1 -0
  55. package/dist/chunk-MT22NYKT.mjs +117 -0
  56. package/dist/chunk-MT22NYKT.mjs.map +1 -0
  57. package/dist/chunk-NDD472IZ.js +85 -0
  58. package/dist/chunk-NDD472IZ.js.map +1 -0
  59. package/dist/chunk-NHOIGGYU.mjs +833 -0
  60. package/dist/chunk-NHOIGGYU.mjs.map +1 -0
  61. package/dist/chunk-O3XR7TW3.mjs +12 -0
  62. package/dist/chunk-O3XR7TW3.mjs.map +1 -0
  63. package/dist/chunk-OAPYSC2X.mjs +206 -0
  64. package/dist/chunk-OAPYSC2X.mjs.map +1 -0
  65. package/dist/{chunk-XE4EOKS4.mjs → chunk-ONJREDYY.mjs} +3 -23
  66. package/dist/chunk-ONJREDYY.mjs.map +1 -0
  67. package/dist/chunk-OVT2LUAM.js +197 -0
  68. package/dist/chunk-OVT2LUAM.js.map +1 -0
  69. package/dist/chunk-OWNGNGKL.js +331 -0
  70. package/dist/chunk-OWNGNGKL.js.map +1 -0
  71. package/dist/chunk-P7SXNZSV.js +298 -0
  72. package/dist/chunk-P7SXNZSV.js.map +1 -0
  73. package/dist/chunk-PFJOL3HI.mjs +71 -0
  74. package/dist/chunk-PFJOL3HI.mjs.map +1 -0
  75. package/dist/chunk-PPULMWJ6.js +295 -0
  76. package/dist/chunk-PPULMWJ6.js.map +1 -0
  77. package/dist/chunk-RGIVKACG.js +359 -0
  78. package/dist/chunk-RGIVKACG.js.map +1 -0
  79. package/dist/chunk-RPP5K2LP.js +870 -0
  80. package/dist/chunk-RPP5K2LP.js.map +1 -0
  81. package/dist/{chunk-7EON6Q4L.mjs → chunk-RUCHWUD7.mjs} +7651 -6370
  82. package/dist/chunk-RUCHWUD7.mjs.map +1 -0
  83. package/dist/chunk-SEVUIX4H.js +137 -0
  84. package/dist/chunk-SEVUIX4H.js.map +1 -0
  85. package/dist/chunk-SK2FSHFM.mjs +208 -0
  86. package/dist/chunk-SK2FSHFM.mjs.map +1 -0
  87. package/dist/chunk-T6EJ2GAV.mjs +294 -0
  88. package/dist/chunk-T6EJ2GAV.mjs.map +1 -0
  89. package/dist/chunk-ULBDOFZI.mjs +302 -0
  90. package/dist/chunk-ULBDOFZI.mjs.map +1 -0
  91. package/dist/chunk-V3JIELNV.js +241 -0
  92. package/dist/chunk-V3JIELNV.js.map +1 -0
  93. package/dist/chunk-V5E2KWMA.mjs +238 -0
  94. package/dist/chunk-V5E2KWMA.mjs.map +1 -0
  95. package/dist/chunk-VJA3ER6A.js +14 -0
  96. package/dist/chunk-VJA3ER6A.js.map +1 -0
  97. package/dist/chunk-VLI7ULX5.js +66 -0
  98. package/dist/chunk-VLI7ULX5.js.map +1 -0
  99. package/dist/chunk-WFGS5OFH.mjs +189 -0
  100. package/dist/chunk-WFGS5OFH.mjs.map +1 -0
  101. package/dist/chunk-WVC5GP24.mjs +96 -0
  102. package/dist/chunk-WVC5GP24.mjs.map +1 -0
  103. package/dist/chunk-YOSPWY5K.mjs +36 -0
  104. package/dist/chunk-YOSPWY5K.mjs.map +1 -0
  105. package/dist/chunk-ZFFXXLX7.js +205 -0
  106. package/dist/chunk-ZFFXXLX7.js.map +1 -0
  107. package/dist/client.js +512 -249
  108. package/dist/client.mjs +21 -2
  109. package/dist/components.js +393 -0
  110. package/dist/components.js.map +1 -0
  111. package/dist/components.mjs +8 -0
  112. package/dist/components.mjs.map +1 -0
  113. package/dist/config.js +17 -0
  114. package/dist/config.js.map +1 -0
  115. package/dist/config.mjs +4 -0
  116. package/dist/config.mjs.map +1 -0
  117. package/dist/contact.js +22 -0
  118. package/dist/contact.js.map +1 -0
  119. package/dist/contact.mjs +5 -0
  120. package/dist/contact.mjs.map +1 -0
  121. package/dist/contexts.js +51 -0
  122. package/dist/contexts.js.map +1 -0
  123. package/dist/contexts.mjs +6 -0
  124. package/dist/contexts.mjs.map +1 -0
  125. package/dist/finance.js +26 -0
  126. package/dist/finance.js.map +1 -0
  127. package/dist/finance.mjs +5 -0
  128. package/dist/finance.mjs.map +1 -0
  129. package/dist/icons.js +15 -0
  130. package/dist/icons.js.map +1 -0
  131. package/dist/icons.mjs +4 -0
  132. package/dist/icons.mjs.map +1 -0
  133. package/dist/index.js +512 -249
  134. package/dist/index.js.map +1 -1
  135. package/dist/index.mjs +21 -2
  136. package/dist/index.mjs.map +1 -1
  137. package/dist/internal.js +1437 -0
  138. package/dist/internal.js.map +1 -0
  139. package/dist/internal.mjs +1404 -0
  140. package/dist/internal.mjs.map +1 -0
  141. package/dist/motion.js +51 -0
  142. package/dist/motion.js.map +1 -0
  143. package/dist/motion.mjs +38 -0
  144. package/dist/motion.mjs.map +1 -0
  145. package/dist/orders.js +22 -0
  146. package/dist/orders.js.map +1 -0
  147. package/dist/orders.mjs +5 -0
  148. package/dist/orders.mjs.map +1 -0
  149. package/dist/products.js +27 -0
  150. package/dist/products.js.map +1 -0
  151. package/dist/products.mjs +6 -0
  152. package/dist/products.mjs.map +1 -0
  153. package/dist/registry.js +44 -0
  154. package/dist/registry.js.map +1 -0
  155. package/dist/registry.mjs +7 -0
  156. package/dist/registry.mjs.map +1 -0
  157. package/dist/renderers.js +51 -0
  158. package/dist/renderers.js.map +1 -0
  159. package/dist/renderers.mjs +6 -0
  160. package/dist/renderers.mjs.map +1 -0
  161. package/dist/server.js +11 -189
  162. package/dist/server.js.map +1 -1
  163. package/dist/server.mjs +3 -186
  164. package/dist/server.mjs.map +1 -1
  165. package/dist/types.js +37 -0
  166. package/dist/types.js.map +1 -0
  167. package/dist/types.mjs +4 -0
  168. package/dist/types.mjs.map +1 -0
  169. package/dist/utils.js +160 -0
  170. package/dist/utils.js.map +1 -0
  171. package/dist/utils.mjs +7 -0
  172. package/dist/utils.mjs.map +1 -0
  173. package/dist/wrappers.js +104 -0
  174. package/dist/wrappers.js.map +1 -0
  175. package/dist/wrappers.mjs +96 -0
  176. package/dist/wrappers.mjs.map +1 -0
  177. package/package.json +112 -9
  178. package/dist/api-vuL1Eg5L.d.mts +0 -2961
  179. package/dist/api-vuL1Eg5L.d.ts +0 -2961
  180. package/dist/chunk-3SZX6LHT.js.map +0 -1
  181. package/dist/chunk-7EON6Q4L.mjs.map +0 -1
  182. package/dist/chunk-WDY773GJ.js +0 -8308
  183. package/dist/chunk-WDY773GJ.js.map +0 -1
  184. package/dist/chunk-XE4EOKS4.mjs.map +0 -1
  185. package/dist/client.d.mts +0 -1461
  186. package/dist/client.d.ts +0 -1461
  187. package/dist/index.d.mts +0 -125
  188. package/dist/index.d.ts +0 -125
  189. package/dist/server.d.mts +0 -70
  190. package/dist/server.d.ts +0 -70
package/dist/index.d.mts DELETED
@@ -1,125 +0,0 @@
1
- export { AccordionComponent, AlertComponent, BadgeComponent, BlockListRenderer, BlockListRendererProps, BlockRenderer, BlockRendererProps, ButtonComponent, CardComponent, CartProvider, CheckboxComponent, CodeComponent, ColumnsComponent, ComponentListRenderer, ComponentListRendererProps, ComponentRegistry, ComponentRenderer, ComponentRendererProps, ComponentValidationError, ComponentValidationResult, ComponentValues, ContainerComponent, DividerComponent, FullWidthSection, FullWidthSectionProps, GalleryComponent, GridComponent, GridContainer, GridContainerProps, GroupedComponents, HeadingComponent, IconComponent, ImageComponent, InputComponent, LinkComponent, ListComponent, MapComponent, PageData, PageDataProvider, PageDataProviderProps, ParagraphComponent, ProgressComponent, QuoteComponent, RatingComponent, SectionListRenderer, SectionListRendererProps, SectionRenderer, SectionRendererProps, SectionValues, SelectComponent, SlotConfig, SpacerComponent, TableComponent, TabsComponent, TextareaComponent, ThemeContextProvider, ThemeContextProviderProps, TimerComponent, ValidationError, ValidationResult, VideoComponent, ViewportMode, ViewportProvider, accordionComponentDefinition, alertComponentDefinition, badgeComponentDefinition, blockRegistry, buttonComponentDefinition, cardComponentDefinition, checkboxComponentDefinition, cn, codeComponentDefinition, columnsComponentDefinition, componentRegistry, containerComponentDefinition, countEnabledItems, createBlockRegistry, createSectionRegistry, dividerComponentDefinition, filterEnabledBlocks, filterEnabledComponents, findBlockInSection, findComponentInSection, formatBlockName, galleryComponentDefinition, generateBlockId, generateHandle, generateId, generatePageId, generateSectionId, generateThemeId, getActiveBlocks, getActiveComponents, getBlockPath, getComponentPath, getComponentValues, getComponentsByType, getElementLabel, getFirstComponentByType, getSectionValues, getSelectionColor, gridComponentDefinition, groupBySlot, hasComponentType, hasEnabledItems, headingComponentDefinition, iconComponentDefinition, imageComponentDefinition, inputComponentDefinition, linkComponentDefinition, listComponentDefinition, mapComponentDefinition, paragraphComponentDefinition, progressComponentDefinition, quoteComponentDefinition, ratingComponentDefinition, removeNestedBlock, renderBlock, renderSection, sectionRegistry, selectComponentDefinition, sortBlocks, sortComponents, spacerComponentDefinition, tableComponentDefinition, tabsComponentDefinition, textareaComponentDefinition, timerComponentDefinition, toComponentInstance, updateNestedBlock, updateNestedComponent, useCart, useComponentInstance, useComponentRegistration, usePageData, useResponsiveClass, useThemeContext, useViewport, useWebsiteSettings, validateComponent, validateContent, validateSection, validateSettings, validateStyle, version, videoComponentDefinition } from './client.mjs';
2
- import { z } from 'zod';
3
- export { bb as ActiveHotlineConnections, ba as ActiveSocialConnections, bc as ActiveTrackingAnalytics, a as AnimationEasing, c as AnimationSettings, b as AnimationTrigger, A as AnimationType, bJ as ApiListResponse, bN as ApiPriceGroup, bO as ApiProductRaw, bG as ApiResponse, $ as ApplyScope, a0 as ApplyScopeResult, o as ArticleFieldDefinition, B as BaseEntity, f as BaseFieldDefinition, x as BlockComponentProps, u as BlockDefinition, v as BlockInstance, ax as BlockRegisteredPayload, w as BlockRegistration, aB as BlockRegistry, ay as BlockUnregisteredPayload, by as Blog, bs as BlogCategory, bv as BlogCategoryData, bA as BlogDetailData, n as BlogFieldDefinition, bz as BlogFilters, bQ as BlogFiltersParams, bt as BlogImage, bB as BlogListData, bC as BlogListItem, bw as BlogMetaData, bu as BlogUser, h as BooleanFieldDefinition, ag as BorderRadius, Z as Breakpoint, ah as Breakpoints, a1 as COMPONENT_CATEGORIES, a2 as COMPONENT_TYPES, bF as CartContextType, bD as CartItem, bE as CartSummary, i as CheckboxFieldDefinition, m as CollectionFieldDefinition, C as ColorFieldDefinition, ad as ColorPalette, b7 as CompanyInfo, M as ComponentCategory, O as ComponentDefinition, Q as ComponentInstance, ab as ComponentPageDefinition, X as ComponentProps, W as ComponentRegistration, L as ComponentType, b6 as ContactEmail, a_ as DEFAULT_INSPECTOR_CONFIG, ac as DesignToken, aE as DetectedElement, aC as DetectedSection, aU as DetectionPriority, aW as DetectionResult, aV as DetectionStrategy, aQ as DragDropContext, aF as EditableElementRegistry, aM as EditorActions, aN as EditorContextValue, aI as EditorMode, aL as EditorState, aT as ElementMetadata, aD as ElementRegistry, aS as ElementType, b9 as EnabledItems, t as FIELD_TYPES, q as FieldDefinition, F as FieldType, l as FontFieldDefinition, aP as HistoryEntry, b3 as HotlineConnection, b2 as HotlineType, I as ImageFieldDefinition, aY as InlineEditorProps, aX as InlineEditorState, aZ as InspectorConfig, aO as InspectorOverlayState, aR as KeyboardShortcut, bK as ListQueryParams, bL as Location, bM as LocationListResponse, N as NumberFieldDefinition, a5 as PageConfig, p as PageFieldDefinition, a7 as PageListItem, a8 as PageNavItem, aG as PageRegistration, a9 as PageRenderMode, a4 as PageSEO, a6 as PageTemplate, aH as PageTemplateRegistration, a3 as PageType, bH as PaginatedResponse, bf as PriceRange, bo as Product, br as ProductCardProps, bd as ProductCategory, P as ProductFieldDefinition, bp as ProductFilters, bP as ProductFiltersParams, bq as ProductListItem, bk as ProductMeasurements, bm as ProductOption, bj as ProductPrice, bi as ProductPriceGroup, bh as ProductSize, bl as ProductSpecs, be as ProductTag, bn as ProductVariant, j as RadioFieldDefinition, R as RangeFieldDefinition, ar as RegistryConfig, at as RegistryEvent, az as RegistryEventHandler, as as RegistryEventType, bx as ResponseMetaData, _ as ResponsiveStyles, k as RichTextFieldDefinition, K as SECTION_CATEGORIES, J as SectionCategory, E as SectionComponentInstance, H as SectionComponentProps, D as SectionInstance, au as SectionRegisteredPayload, G as SectionRegistration, aA as SectionRegistry, z as SectionSchema, av as SectionUnregisteredPayload, S as SelectFieldDefinition, aK as SelectedElement, aJ as SelectedElementType, bI as ServerFetcherResponse, r as SettingValue, s as Settings, a$ as SettingsIcon, b1 as SocialConnection, b0 as SocialPlatform, bg as SortOption, af as Spacing, Y as StyleSettings, y as TemplateDefinition, aw as TemplateRegisteredPayload, T as TextFieldDefinition, g as TextareaFieldDefinition, ai as ThemeConfig, ak as ThemeExport, aa as ThemeLayoutConfig, al as ThemeManifest, am as ThemeModule, aj as ThemePreset, an as ThemeUpload, ap as ThemeValidationError, ao as ThemeValidationResult, aq as ThemeValidationWarning, b5 as TrackingAnalytics, b4 as TrackingPlatform, ae as Typography, U as UrlFieldDefinition, V as VideoFieldDefinition, b8 as WebsiteSettings, d as animationFieldDefinitions, e as defaultAnimationSettings } from './api-vuL1Eg5L.mjs';
4
- import 'clsx';
5
- import 'react';
6
- import 'react/jsx-runtime';
7
-
8
- /**
9
- * Zod schemas for ThemeManifest validation
10
- * Used for runtime validation of uploaded theme bundles
11
- */
12
-
13
- /**
14
- * Author information schema
15
- */
16
- declare const authorSchema: z.ZodObject<{
17
- name: z.ZodString;
18
- email: z.ZodOptional<z.ZodString>;
19
- url: z.ZodOptional<z.ZodString>;
20
- }, z.core.$strip>;
21
- /**
22
- * Peer dependencies schema
23
- */
24
- declare const peerDependenciesSchema: z.ZodObject<{
25
- react: z.ZodString;
26
- "react-dom": z.ZodString;
27
- "@onex/core": z.ZodOptional<z.ZodString>;
28
- }, z.core.$strip>;
29
- /**
30
- * Theme preview schema
31
- */
32
- declare const previewSchema: z.ZodObject<{
33
- thumbnail: z.ZodOptional<z.ZodString>;
34
- screenshots: z.ZodOptional<z.ZodArray<z.ZodString>>;
35
- }, z.core.$strip>;
36
- /**
37
- * Export paths schema
38
- */
39
- declare const exportsSchema: z.ZodObject<{
40
- main: z.ZodString;
41
- types: z.ZodOptional<z.ZodString>;
42
- }, z.core.$strip>;
43
- /**
44
- * Theme manifest schema
45
- * Validates the manifest.json file in theme bundles
46
- */
47
- declare const themeManifestSchema: z.ZodObject<{
48
- id: z.ZodString;
49
- name: z.ZodString;
50
- version: z.ZodString;
51
- author: z.ZodObject<{
52
- name: z.ZodString;
53
- email: z.ZodOptional<z.ZodString>;
54
- url: z.ZodOptional<z.ZodString>;
55
- }, z.core.$strip>;
56
- engine: z.ZodString;
57
- peerDependencies: z.ZodObject<{
58
- react: z.ZodString;
59
- "react-dom": z.ZodString;
60
- "@onex/core": z.ZodOptional<z.ZodString>;
61
- }, z.core.$strip>;
62
- sections: z.ZodArray<z.ZodString>;
63
- config: z.ZodRecord<z.ZodString, z.ZodAny>;
64
- exports: z.ZodObject<{
65
- main: z.ZodString;
66
- types: z.ZodOptional<z.ZodString>;
67
- }, z.core.$strip>;
68
- description: z.ZodOptional<z.ZodString>;
69
- preview: z.ZodOptional<z.ZodObject<{
70
- thumbnail: z.ZodOptional<z.ZodString>;
71
- screenshots: z.ZodOptional<z.ZodArray<z.ZodString>>;
72
- }, z.core.$strip>>;
73
- license: z.ZodOptional<z.ZodString>;
74
- repository: z.ZodOptional<z.ZodString>;
75
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
76
- }, z.core.$strip>;
77
- /**
78
- * Type inference from schema
79
- */
80
- type ThemeManifestValidation = z.infer<typeof themeManifestSchema>;
81
- /**
82
- * Validate theme manifest
83
- *
84
- * @param manifest - The manifest object to validate
85
- * @returns Validation result with typed data or errors
86
- */
87
- declare function validateThemeManifest(manifest: unknown): z.ZodSafeParseResult<{
88
- id: string;
89
- name: string;
90
- version: string;
91
- author: {
92
- name: string;
93
- email?: string | undefined;
94
- url?: string | undefined;
95
- };
96
- engine: string;
97
- peerDependencies: {
98
- react: string;
99
- "react-dom": string;
100
- "@onex/core"?: string | undefined;
101
- };
102
- sections: string[];
103
- config: Record<string, any>;
104
- exports: {
105
- main: string;
106
- types?: string | undefined;
107
- };
108
- description?: string | undefined;
109
- preview?: {
110
- thumbnail?: string | undefined;
111
- screenshots?: string[] | undefined;
112
- } | undefined;
113
- license?: string | undefined;
114
- repository?: string | undefined;
115
- tags?: string[] | undefined;
116
- }>;
117
- /**
118
- * Validate theme manifest and throw on error
119
- *
120
- * @param manifest - The manifest object to validate
121
- * @throws ZodError if validation fails
122
- */
123
- declare function assertValidThemeManifest(manifest: unknown): asserts manifest is ThemeManifestValidation;
124
-
125
- export { type ThemeManifestValidation, assertValidThemeManifest, authorSchema, exportsSchema, peerDependenciesSchema, previewSchema, themeManifestSchema, validateThemeManifest };
package/dist/index.d.ts DELETED
@@ -1,125 +0,0 @@
1
- export { AccordionComponent, AlertComponent, BadgeComponent, BlockListRenderer, BlockListRendererProps, BlockRenderer, BlockRendererProps, ButtonComponent, CardComponent, CartProvider, CheckboxComponent, CodeComponent, ColumnsComponent, ComponentListRenderer, ComponentListRendererProps, ComponentRegistry, ComponentRenderer, ComponentRendererProps, ComponentValidationError, ComponentValidationResult, ComponentValues, ContainerComponent, DividerComponent, FullWidthSection, FullWidthSectionProps, GalleryComponent, GridComponent, GridContainer, GridContainerProps, GroupedComponents, HeadingComponent, IconComponent, ImageComponent, InputComponent, LinkComponent, ListComponent, MapComponent, PageData, PageDataProvider, PageDataProviderProps, ParagraphComponent, ProgressComponent, QuoteComponent, RatingComponent, SectionListRenderer, SectionListRendererProps, SectionRenderer, SectionRendererProps, SectionValues, SelectComponent, SlotConfig, SpacerComponent, TableComponent, TabsComponent, TextareaComponent, ThemeContextProvider, ThemeContextProviderProps, TimerComponent, ValidationError, ValidationResult, VideoComponent, ViewportMode, ViewportProvider, accordionComponentDefinition, alertComponentDefinition, badgeComponentDefinition, blockRegistry, buttonComponentDefinition, cardComponentDefinition, checkboxComponentDefinition, cn, codeComponentDefinition, columnsComponentDefinition, componentRegistry, containerComponentDefinition, countEnabledItems, createBlockRegistry, createSectionRegistry, dividerComponentDefinition, filterEnabledBlocks, filterEnabledComponents, findBlockInSection, findComponentInSection, formatBlockName, galleryComponentDefinition, generateBlockId, generateHandle, generateId, generatePageId, generateSectionId, generateThemeId, getActiveBlocks, getActiveComponents, getBlockPath, getComponentPath, getComponentValues, getComponentsByType, getElementLabel, getFirstComponentByType, getSectionValues, getSelectionColor, gridComponentDefinition, groupBySlot, hasComponentType, hasEnabledItems, headingComponentDefinition, iconComponentDefinition, imageComponentDefinition, inputComponentDefinition, linkComponentDefinition, listComponentDefinition, mapComponentDefinition, paragraphComponentDefinition, progressComponentDefinition, quoteComponentDefinition, ratingComponentDefinition, removeNestedBlock, renderBlock, renderSection, sectionRegistry, selectComponentDefinition, sortBlocks, sortComponents, spacerComponentDefinition, tableComponentDefinition, tabsComponentDefinition, textareaComponentDefinition, timerComponentDefinition, toComponentInstance, updateNestedBlock, updateNestedComponent, useCart, useComponentInstance, useComponentRegistration, usePageData, useResponsiveClass, useThemeContext, useViewport, useWebsiteSettings, validateComponent, validateContent, validateSection, validateSettings, validateStyle, version, videoComponentDefinition } from './client.js';
2
- import { z } from 'zod';
3
- export { bb as ActiveHotlineConnections, ba as ActiveSocialConnections, bc as ActiveTrackingAnalytics, a as AnimationEasing, c as AnimationSettings, b as AnimationTrigger, A as AnimationType, bJ as ApiListResponse, bN as ApiPriceGroup, bO as ApiProductRaw, bG as ApiResponse, $ as ApplyScope, a0 as ApplyScopeResult, o as ArticleFieldDefinition, B as BaseEntity, f as BaseFieldDefinition, x as BlockComponentProps, u as BlockDefinition, v as BlockInstance, ax as BlockRegisteredPayload, w as BlockRegistration, aB as BlockRegistry, ay as BlockUnregisteredPayload, by as Blog, bs as BlogCategory, bv as BlogCategoryData, bA as BlogDetailData, n as BlogFieldDefinition, bz as BlogFilters, bQ as BlogFiltersParams, bt as BlogImage, bB as BlogListData, bC as BlogListItem, bw as BlogMetaData, bu as BlogUser, h as BooleanFieldDefinition, ag as BorderRadius, Z as Breakpoint, ah as Breakpoints, a1 as COMPONENT_CATEGORIES, a2 as COMPONENT_TYPES, bF as CartContextType, bD as CartItem, bE as CartSummary, i as CheckboxFieldDefinition, m as CollectionFieldDefinition, C as ColorFieldDefinition, ad as ColorPalette, b7 as CompanyInfo, M as ComponentCategory, O as ComponentDefinition, Q as ComponentInstance, ab as ComponentPageDefinition, X as ComponentProps, W as ComponentRegistration, L as ComponentType, b6 as ContactEmail, a_ as DEFAULT_INSPECTOR_CONFIG, ac as DesignToken, aE as DetectedElement, aC as DetectedSection, aU as DetectionPriority, aW as DetectionResult, aV as DetectionStrategy, aQ as DragDropContext, aF as EditableElementRegistry, aM as EditorActions, aN as EditorContextValue, aI as EditorMode, aL as EditorState, aT as ElementMetadata, aD as ElementRegistry, aS as ElementType, b9 as EnabledItems, t as FIELD_TYPES, q as FieldDefinition, F as FieldType, l as FontFieldDefinition, aP as HistoryEntry, b3 as HotlineConnection, b2 as HotlineType, I as ImageFieldDefinition, aY as InlineEditorProps, aX as InlineEditorState, aZ as InspectorConfig, aO as InspectorOverlayState, aR as KeyboardShortcut, bK as ListQueryParams, bL as Location, bM as LocationListResponse, N as NumberFieldDefinition, a5 as PageConfig, p as PageFieldDefinition, a7 as PageListItem, a8 as PageNavItem, aG as PageRegistration, a9 as PageRenderMode, a4 as PageSEO, a6 as PageTemplate, aH as PageTemplateRegistration, a3 as PageType, bH as PaginatedResponse, bf as PriceRange, bo as Product, br as ProductCardProps, bd as ProductCategory, P as ProductFieldDefinition, bp as ProductFilters, bP as ProductFiltersParams, bq as ProductListItem, bk as ProductMeasurements, bm as ProductOption, bj as ProductPrice, bi as ProductPriceGroup, bh as ProductSize, bl as ProductSpecs, be as ProductTag, bn as ProductVariant, j as RadioFieldDefinition, R as RangeFieldDefinition, ar as RegistryConfig, at as RegistryEvent, az as RegistryEventHandler, as as RegistryEventType, bx as ResponseMetaData, _ as ResponsiveStyles, k as RichTextFieldDefinition, K as SECTION_CATEGORIES, J as SectionCategory, E as SectionComponentInstance, H as SectionComponentProps, D as SectionInstance, au as SectionRegisteredPayload, G as SectionRegistration, aA as SectionRegistry, z as SectionSchema, av as SectionUnregisteredPayload, S as SelectFieldDefinition, aK as SelectedElement, aJ as SelectedElementType, bI as ServerFetcherResponse, r as SettingValue, s as Settings, a$ as SettingsIcon, b1 as SocialConnection, b0 as SocialPlatform, bg as SortOption, af as Spacing, Y as StyleSettings, y as TemplateDefinition, aw as TemplateRegisteredPayload, T as TextFieldDefinition, g as TextareaFieldDefinition, ai as ThemeConfig, ak as ThemeExport, aa as ThemeLayoutConfig, al as ThemeManifest, am as ThemeModule, aj as ThemePreset, an as ThemeUpload, ap as ThemeValidationError, ao as ThemeValidationResult, aq as ThemeValidationWarning, b5 as TrackingAnalytics, b4 as TrackingPlatform, ae as Typography, U as UrlFieldDefinition, V as VideoFieldDefinition, b8 as WebsiteSettings, d as animationFieldDefinitions, e as defaultAnimationSettings } from './api-vuL1Eg5L.js';
4
- import 'clsx';
5
- import 'react';
6
- import 'react/jsx-runtime';
7
-
8
- /**
9
- * Zod schemas for ThemeManifest validation
10
- * Used for runtime validation of uploaded theme bundles
11
- */
12
-
13
- /**
14
- * Author information schema
15
- */
16
- declare const authorSchema: z.ZodObject<{
17
- name: z.ZodString;
18
- email: z.ZodOptional<z.ZodString>;
19
- url: z.ZodOptional<z.ZodString>;
20
- }, z.core.$strip>;
21
- /**
22
- * Peer dependencies schema
23
- */
24
- declare const peerDependenciesSchema: z.ZodObject<{
25
- react: z.ZodString;
26
- "react-dom": z.ZodString;
27
- "@onex/core": z.ZodOptional<z.ZodString>;
28
- }, z.core.$strip>;
29
- /**
30
- * Theme preview schema
31
- */
32
- declare const previewSchema: z.ZodObject<{
33
- thumbnail: z.ZodOptional<z.ZodString>;
34
- screenshots: z.ZodOptional<z.ZodArray<z.ZodString>>;
35
- }, z.core.$strip>;
36
- /**
37
- * Export paths schema
38
- */
39
- declare const exportsSchema: z.ZodObject<{
40
- main: z.ZodString;
41
- types: z.ZodOptional<z.ZodString>;
42
- }, z.core.$strip>;
43
- /**
44
- * Theme manifest schema
45
- * Validates the manifest.json file in theme bundles
46
- */
47
- declare const themeManifestSchema: z.ZodObject<{
48
- id: z.ZodString;
49
- name: z.ZodString;
50
- version: z.ZodString;
51
- author: z.ZodObject<{
52
- name: z.ZodString;
53
- email: z.ZodOptional<z.ZodString>;
54
- url: z.ZodOptional<z.ZodString>;
55
- }, z.core.$strip>;
56
- engine: z.ZodString;
57
- peerDependencies: z.ZodObject<{
58
- react: z.ZodString;
59
- "react-dom": z.ZodString;
60
- "@onex/core": z.ZodOptional<z.ZodString>;
61
- }, z.core.$strip>;
62
- sections: z.ZodArray<z.ZodString>;
63
- config: z.ZodRecord<z.ZodString, z.ZodAny>;
64
- exports: z.ZodObject<{
65
- main: z.ZodString;
66
- types: z.ZodOptional<z.ZodString>;
67
- }, z.core.$strip>;
68
- description: z.ZodOptional<z.ZodString>;
69
- preview: z.ZodOptional<z.ZodObject<{
70
- thumbnail: z.ZodOptional<z.ZodString>;
71
- screenshots: z.ZodOptional<z.ZodArray<z.ZodString>>;
72
- }, z.core.$strip>>;
73
- license: z.ZodOptional<z.ZodString>;
74
- repository: z.ZodOptional<z.ZodString>;
75
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
76
- }, z.core.$strip>;
77
- /**
78
- * Type inference from schema
79
- */
80
- type ThemeManifestValidation = z.infer<typeof themeManifestSchema>;
81
- /**
82
- * Validate theme manifest
83
- *
84
- * @param manifest - The manifest object to validate
85
- * @returns Validation result with typed data or errors
86
- */
87
- declare function validateThemeManifest(manifest: unknown): z.ZodSafeParseResult<{
88
- id: string;
89
- name: string;
90
- version: string;
91
- author: {
92
- name: string;
93
- email?: string | undefined;
94
- url?: string | undefined;
95
- };
96
- engine: string;
97
- peerDependencies: {
98
- react: string;
99
- "react-dom": string;
100
- "@onex/core"?: string | undefined;
101
- };
102
- sections: string[];
103
- config: Record<string, any>;
104
- exports: {
105
- main: string;
106
- types?: string | undefined;
107
- };
108
- description?: string | undefined;
109
- preview?: {
110
- thumbnail?: string | undefined;
111
- screenshots?: string[] | undefined;
112
- } | undefined;
113
- license?: string | undefined;
114
- repository?: string | undefined;
115
- tags?: string[] | undefined;
116
- }>;
117
- /**
118
- * Validate theme manifest and throw on error
119
- *
120
- * @param manifest - The manifest object to validate
121
- * @throws ZodError if validation fails
122
- */
123
- declare function assertValidThemeManifest(manifest: unknown): asserts manifest is ThemeManifestValidation;
124
-
125
- export { type ThemeManifestValidation, assertValidThemeManifest, authorSchema, exportsSchema, peerDependenciesSchema, previewSchema, themeManifestSchema, validateThemeManifest };
package/dist/server.d.mts DELETED
@@ -1,70 +0,0 @@
1
- import { aA as SectionRegistry, H as SectionComponentProps, z as SectionSchema } from './api-vuL1Eg5L.mjs';
2
- export { bb as ActiveHotlineConnections, ba as ActiveSocialConnections, bc as ActiveTrackingAnalytics, a as AnimationEasing, c as AnimationSettings, b as AnimationTrigger, A as AnimationType, bJ as ApiListResponse, bN as ApiPriceGroup, bO as ApiProductRaw, bG as ApiResponse, $ as ApplyScope, a0 as ApplyScopeResult, o as ArticleFieldDefinition, B as BaseEntity, f as BaseFieldDefinition, x as BlockComponentProps, u as BlockDefinition, v as BlockInstance, ax as BlockRegisteredPayload, w as BlockRegistration, aB as BlockRegistry, ay as BlockUnregisteredPayload, by as Blog, bs as BlogCategory, bv as BlogCategoryData, bA as BlogDetailData, n as BlogFieldDefinition, bz as BlogFilters, bQ as BlogFiltersParams, bt as BlogImage, bB as BlogListData, bC as BlogListItem, bw as BlogMetaData, bu as BlogUser, h as BooleanFieldDefinition, ag as BorderRadius, Z as Breakpoint, ah as Breakpoints, a1 as COMPONENT_CATEGORIES, a2 as COMPONENT_TYPES, bF as CartContextType, bD as CartItem, bE as CartSummary, i as CheckboxFieldDefinition, m as CollectionFieldDefinition, C as ColorFieldDefinition, ad as ColorPalette, b7 as CompanyInfo, M as ComponentCategory, O as ComponentDefinition, Q as ComponentInstance, ab as ComponentPageDefinition, X as ComponentProps, W as ComponentRegistration, L as ComponentType, b6 as ContactEmail, a_ as DEFAULT_INSPECTOR_CONFIG, ac as DesignToken, aE as DetectedElement, aC as DetectedSection, aU as DetectionPriority, aW as DetectionResult, aV as DetectionStrategy, aQ as DragDropContext, aF as EditableElementRegistry, aM as EditorActions, aN as EditorContextValue, aI as EditorMode, aL as EditorState, aT as ElementMetadata, aD as ElementRegistry, aS as ElementType, b9 as EnabledItems, t as FIELD_TYPES, q as FieldDefinition, F as FieldType, l as FontFieldDefinition, aP as HistoryEntry, b3 as HotlineConnection, b2 as HotlineType, I as ImageFieldDefinition, aY as InlineEditorProps, aX as InlineEditorState, aZ as InspectorConfig, aO as InspectorOverlayState, aR as KeyboardShortcut, bK as ListQueryParams, bL as Location, bM as LocationListResponse, N as NumberFieldDefinition, a5 as PageConfig, p as PageFieldDefinition, a7 as PageListItem, a8 as PageNavItem, aG as PageRegistration, a9 as PageRenderMode, a4 as PageSEO, a6 as PageTemplate, aH as PageTemplateRegistration, a3 as PageType, bH as PaginatedResponse, bf as PriceRange, bo as Product, br as ProductCardProps, bd as ProductCategory, P as ProductFieldDefinition, bp as ProductFilters, bP as ProductFiltersParams, bq as ProductListItem, bk as ProductMeasurements, bm as ProductOption, bj as ProductPrice, bi as ProductPriceGroup, bh as ProductSize, bl as ProductSpecs, be as ProductTag, bn as ProductVariant, j as RadioFieldDefinition, R as RangeFieldDefinition, ar as RegistryConfig, at as RegistryEvent, az as RegistryEventHandler, as as RegistryEventType, bx as ResponseMetaData, _ as ResponsiveStyles, k as RichTextFieldDefinition, K as SECTION_CATEGORIES, J as SectionCategory, E as SectionComponentInstance, D as SectionInstance, au as SectionRegisteredPayload, G as SectionRegistration, av as SectionUnregisteredPayload, S as SelectFieldDefinition, aK as SelectedElement, aJ as SelectedElementType, bI as ServerFetcherResponse, r as SettingValue, s as Settings, a$ as SettingsIcon, b1 as SocialConnection, b0 as SocialPlatform, bg as SortOption, af as Spacing, Y as StyleSettings, y as TemplateDefinition, aw as TemplateRegisteredPayload, T as TextFieldDefinition, g as TextareaFieldDefinition, ai as ThemeConfig, ak as ThemeExport, aa as ThemeLayoutConfig, al as ThemeManifest, am as ThemeModule, aj as ThemePreset, an as ThemeUpload, ap as ThemeValidationError, ao as ThemeValidationResult, aq as ThemeValidationWarning, b5 as TrackingAnalytics, b4 as TrackingPlatform, ae as Typography, U as UrlFieldDefinition, V as VideoFieldDefinition, b8 as WebsiteSettings, d as animationFieldDefinitions, e as defaultAnimationSettings } from './api-vuL1Eg5L.mjs';
3
- import 'react';
4
-
5
- /**
6
- * Theme Registry Manager
7
- * Manages theme-specific section registries with auto-discovery
8
- *
9
- * SERVER-ONLY: Uses filesystem operations, cannot run in browser
10
- */
11
-
12
- /**
13
- * Theme Registry Manager
14
- * Auto-discovers and manages theme-specific section registries
15
- */
16
- declare class ThemeRegistryManager {
17
- private registries;
18
- private initialized;
19
- private debug;
20
- constructor(debug?: boolean);
21
- /**
22
- * Auto-discover sections from theme directory
23
- * Reads filesystem to find all section directories
24
- */
25
- discoverThemeSections(themeId: string): Promise<string[]>;
26
- /**
27
- * Initialize a theme's sections
28
- * Auto-discovers and registers all sections for a theme
29
- */
30
- initializeTheme(themeId: string): Promise<void>;
31
- /**
32
- * Get or create theme-specific registry
33
- */
34
- getThemeRegistry(themeId: string): SectionRegistry;
35
- /**
36
- * Check if theme has been initialized
37
- */
38
- isThemeInitialized(themeId: string): boolean;
39
- /**
40
- * Resolve a section component for a specific theme
41
- * Returns null if not found (no fallback - strict validation)
42
- */
43
- resolveSection(themeId: string, sectionType: string, templateId?: string): React.ComponentType<SectionComponentProps> | null;
44
- /**
45
- * Get section schema for a specific theme
46
- */
47
- getSectionSchema(themeId: string, sectionType: string): SectionSchema | null;
48
- /**
49
- * Get all available themes
50
- */
51
- getAvailableThemes(): string[];
52
- /**
53
- * Get all section types for a theme
54
- */
55
- getThemeSections(themeId: string): string[];
56
- /**
57
- * Clear a specific theme's registry
58
- */
59
- clearTheme(themeId: string): void;
60
- /**
61
- * Clear all theme registries
62
- */
63
- clearAll(): void;
64
- }
65
- /**
66
- * Global theme registry manager instance
67
- */
68
- declare const themeRegistryManager: ThemeRegistryManager;
69
-
70
- export { SectionComponentProps, SectionRegistry, SectionSchema, ThemeRegistryManager, themeRegistryManager };
package/dist/server.d.ts DELETED
@@ -1,70 +0,0 @@
1
- import { aA as SectionRegistry, H as SectionComponentProps, z as SectionSchema } from './api-vuL1Eg5L.js';
2
- export { bb as ActiveHotlineConnections, ba as ActiveSocialConnections, bc as ActiveTrackingAnalytics, a as AnimationEasing, c as AnimationSettings, b as AnimationTrigger, A as AnimationType, bJ as ApiListResponse, bN as ApiPriceGroup, bO as ApiProductRaw, bG as ApiResponse, $ as ApplyScope, a0 as ApplyScopeResult, o as ArticleFieldDefinition, B as BaseEntity, f as BaseFieldDefinition, x as BlockComponentProps, u as BlockDefinition, v as BlockInstance, ax as BlockRegisteredPayload, w as BlockRegistration, aB as BlockRegistry, ay as BlockUnregisteredPayload, by as Blog, bs as BlogCategory, bv as BlogCategoryData, bA as BlogDetailData, n as BlogFieldDefinition, bz as BlogFilters, bQ as BlogFiltersParams, bt as BlogImage, bB as BlogListData, bC as BlogListItem, bw as BlogMetaData, bu as BlogUser, h as BooleanFieldDefinition, ag as BorderRadius, Z as Breakpoint, ah as Breakpoints, a1 as COMPONENT_CATEGORIES, a2 as COMPONENT_TYPES, bF as CartContextType, bD as CartItem, bE as CartSummary, i as CheckboxFieldDefinition, m as CollectionFieldDefinition, C as ColorFieldDefinition, ad as ColorPalette, b7 as CompanyInfo, M as ComponentCategory, O as ComponentDefinition, Q as ComponentInstance, ab as ComponentPageDefinition, X as ComponentProps, W as ComponentRegistration, L as ComponentType, b6 as ContactEmail, a_ as DEFAULT_INSPECTOR_CONFIG, ac as DesignToken, aE as DetectedElement, aC as DetectedSection, aU as DetectionPriority, aW as DetectionResult, aV as DetectionStrategy, aQ as DragDropContext, aF as EditableElementRegistry, aM as EditorActions, aN as EditorContextValue, aI as EditorMode, aL as EditorState, aT as ElementMetadata, aD as ElementRegistry, aS as ElementType, b9 as EnabledItems, t as FIELD_TYPES, q as FieldDefinition, F as FieldType, l as FontFieldDefinition, aP as HistoryEntry, b3 as HotlineConnection, b2 as HotlineType, I as ImageFieldDefinition, aY as InlineEditorProps, aX as InlineEditorState, aZ as InspectorConfig, aO as InspectorOverlayState, aR as KeyboardShortcut, bK as ListQueryParams, bL as Location, bM as LocationListResponse, N as NumberFieldDefinition, a5 as PageConfig, p as PageFieldDefinition, a7 as PageListItem, a8 as PageNavItem, aG as PageRegistration, a9 as PageRenderMode, a4 as PageSEO, a6 as PageTemplate, aH as PageTemplateRegistration, a3 as PageType, bH as PaginatedResponse, bf as PriceRange, bo as Product, br as ProductCardProps, bd as ProductCategory, P as ProductFieldDefinition, bp as ProductFilters, bP as ProductFiltersParams, bq as ProductListItem, bk as ProductMeasurements, bm as ProductOption, bj as ProductPrice, bi as ProductPriceGroup, bh as ProductSize, bl as ProductSpecs, be as ProductTag, bn as ProductVariant, j as RadioFieldDefinition, R as RangeFieldDefinition, ar as RegistryConfig, at as RegistryEvent, az as RegistryEventHandler, as as RegistryEventType, bx as ResponseMetaData, _ as ResponsiveStyles, k as RichTextFieldDefinition, K as SECTION_CATEGORIES, J as SectionCategory, E as SectionComponentInstance, D as SectionInstance, au as SectionRegisteredPayload, G as SectionRegistration, av as SectionUnregisteredPayload, S as SelectFieldDefinition, aK as SelectedElement, aJ as SelectedElementType, bI as ServerFetcherResponse, r as SettingValue, s as Settings, a$ as SettingsIcon, b1 as SocialConnection, b0 as SocialPlatform, bg as SortOption, af as Spacing, Y as StyleSettings, y as TemplateDefinition, aw as TemplateRegisteredPayload, T as TextFieldDefinition, g as TextareaFieldDefinition, ai as ThemeConfig, ak as ThemeExport, aa as ThemeLayoutConfig, al as ThemeManifest, am as ThemeModule, aj as ThemePreset, an as ThemeUpload, ap as ThemeValidationError, ao as ThemeValidationResult, aq as ThemeValidationWarning, b5 as TrackingAnalytics, b4 as TrackingPlatform, ae as Typography, U as UrlFieldDefinition, V as VideoFieldDefinition, b8 as WebsiteSettings, d as animationFieldDefinitions, e as defaultAnimationSettings } from './api-vuL1Eg5L.js';
3
- import 'react';
4
-
5
- /**
6
- * Theme Registry Manager
7
- * Manages theme-specific section registries with auto-discovery
8
- *
9
- * SERVER-ONLY: Uses filesystem operations, cannot run in browser
10
- */
11
-
12
- /**
13
- * Theme Registry Manager
14
- * Auto-discovers and manages theme-specific section registries
15
- */
16
- declare class ThemeRegistryManager {
17
- private registries;
18
- private initialized;
19
- private debug;
20
- constructor(debug?: boolean);
21
- /**
22
- * Auto-discover sections from theme directory
23
- * Reads filesystem to find all section directories
24
- */
25
- discoverThemeSections(themeId: string): Promise<string[]>;
26
- /**
27
- * Initialize a theme's sections
28
- * Auto-discovers and registers all sections for a theme
29
- */
30
- initializeTheme(themeId: string): Promise<void>;
31
- /**
32
- * Get or create theme-specific registry
33
- */
34
- getThemeRegistry(themeId: string): SectionRegistry;
35
- /**
36
- * Check if theme has been initialized
37
- */
38
- isThemeInitialized(themeId: string): boolean;
39
- /**
40
- * Resolve a section component for a specific theme
41
- * Returns null if not found (no fallback - strict validation)
42
- */
43
- resolveSection(themeId: string, sectionType: string, templateId?: string): React.ComponentType<SectionComponentProps> | null;
44
- /**
45
- * Get section schema for a specific theme
46
- */
47
- getSectionSchema(themeId: string, sectionType: string): SectionSchema | null;
48
- /**
49
- * Get all available themes
50
- */
51
- getAvailableThemes(): string[];
52
- /**
53
- * Get all section types for a theme
54
- */
55
- getThemeSections(themeId: string): string[];
56
- /**
57
- * Clear a specific theme's registry
58
- */
59
- clearTheme(themeId: string): void;
60
- /**
61
- * Clear all theme registries
62
- */
63
- clearAll(): void;
64
- }
65
- /**
66
- * Global theme registry manager instance
67
- */
68
- declare const themeRegistryManager: ThemeRegistryManager;
69
-
70
- export { SectionComponentProps, SectionRegistry, SectionSchema, ThemeRegistryManager, themeRegistryManager };