@pixelated-tech/components 3.2.14 → 3.3.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 (202) hide show
  1. package/README.COMPONENTS.md +520 -31
  2. package/README.md +163 -49
  3. package/dist/components/cms/cloudinary.image.js +1 -0
  4. package/dist/components/cms/wordpress.components.js +1 -0
  5. package/dist/components/general/sidepanel.js +1 -1
  6. package/dist/components/general/tab.css +105 -0
  7. package/dist/components/general/tab.js +26 -0
  8. package/dist/components/menu/menu-accordion.css +10 -0
  9. package/dist/components/menu/menu-accordion.js +2 -1
  10. package/dist/components/menu/menu-simple.css +0 -7
  11. package/dist/components/seo/metadata.components.js +0 -19
  12. package/dist/components/seo/metadata.functions.js +111 -0
  13. package/dist/components/seo/schema-blogposting.functions.js +42 -0
  14. package/dist/components/seo/schema-blogposting.js +0 -46
  15. package/dist/components/seo/sitemap.js +1 -1
  16. package/dist/components/shoppingcart/shoppingcart.components.js +4 -4
  17. package/dist/components/sitebuilder/config/CompoundFontSelector.css +25 -0
  18. package/dist/components/sitebuilder/config/CompoundFontSelector.js +41 -0
  19. package/dist/components/sitebuilder/config/ConfigBuilder.css +277 -0
  20. package/dist/components/sitebuilder/config/ConfigBuilder.js +380 -0
  21. package/dist/components/sitebuilder/config/ConfigEngine.js +82 -0
  22. package/dist/components/sitebuilder/config/FontSelector.css +82 -0
  23. package/dist/components/sitebuilder/config/FontSelector.js +115 -0
  24. package/dist/components/sitebuilder/config/google-fonts.js +112 -0
  25. package/dist/components/{pagebuilder → sitebuilder}/form/form.css +55 -34
  26. package/dist/components/sitebuilder/form/formbuilder.js +107 -0
  27. package/dist/components/sitebuilder/form/formcomponents.js +380 -0
  28. package/dist/components/sitebuilder/form/formengine.js +82 -0
  29. package/dist/components/{pagebuilder/form/form.js → sitebuilder/form/formextractor.js} +10 -211
  30. package/dist/components/sitebuilder/form/formutils.js +206 -0
  31. package/dist/components/sitebuilder/form/formvalidator.js +123 -0
  32. package/dist/components/{pagebuilder → sitebuilder/page}/components/ComponentPropertiesForm.js +1 -1
  33. package/dist/components/{pagebuilder → sitebuilder/page}/components/PageBuilderUI.js +2 -2
  34. package/dist/components/{pagebuilder → sitebuilder/page}/components/PageEngine.js +1 -1
  35. package/dist/components/sitebuilder/page/documentation/api-examples/save-route-example.js +37 -0
  36. package/dist/components/{pagebuilder → sitebuilder/page}/lib/componentMap.js +3 -3
  37. package/dist/components/{pagebuilder → sitebuilder/page}/lib/componentMetadata.js +2 -2
  38. package/dist/components/{pagebuilder → sitebuilder/page}/lib/pageStorageContentful.js +2 -2
  39. package/dist/components/sitebuilder/page/lib/pageStorageTypes.js +1 -0
  40. package/dist/components/structured/markdown.js +1 -0
  41. package/dist/components/structured/recipe.js +1 -0
  42. package/dist/components/structured/timeline.js +1 -0
  43. package/dist/css/pixelated.global.css +0 -35
  44. package/dist/css/pixelated.grid.scss +4 -0
  45. package/dist/css/pixelated.visualdesign.scss +88 -0
  46. package/dist/data/form.json +18 -18
  47. package/dist/data/routes.json +32 -1
  48. package/dist/data/shipping.to.json +9 -9
  49. package/dist/data/siteinfo-form.json +200 -0
  50. package/dist/data/visualdesignform.json +244 -0
  51. package/dist/index.js +33 -21
  52. package/dist/index.server.js +24 -17
  53. package/dist/types/components/cms/cloudinary.image.d.ts.map +1 -1
  54. package/dist/types/components/cms/wordpress.components.d.ts.map +1 -1
  55. package/dist/types/components/general/semantic.d.ts +3 -3
  56. package/dist/types/components/general/tab.d.ts +18 -0
  57. package/dist/types/components/general/tab.d.ts.map +1 -0
  58. package/dist/types/components/menu/menu-accordion.d.ts.map +1 -1
  59. package/dist/types/components/seo/metadata.components.d.ts +0 -17
  60. package/dist/types/components/seo/metadata.components.d.ts.map +1 -1
  61. package/dist/types/components/seo/{metadata.d.ts → metadata.functions.d.ts} +15 -1
  62. package/dist/types/components/seo/metadata.functions.d.ts.map +1 -0
  63. package/dist/types/components/seo/schema-blogposting.d.ts +1 -25
  64. package/dist/types/components/seo/schema-blogposting.d.ts.map +1 -1
  65. package/dist/types/components/seo/schema-blogposting.functions.d.ts +26 -0
  66. package/dist/types/components/seo/schema-blogposting.functions.d.ts.map +1 -0
  67. package/dist/types/components/seo/sitemap.d.ts.map +1 -1
  68. package/dist/types/components/shoppingcart/shoppingcart.components.d.ts +1 -1
  69. package/dist/types/components/sitebuilder/config/CompoundFontSelector.d.ts +23 -0
  70. package/dist/types/components/sitebuilder/config/CompoundFontSelector.d.ts.map +1 -0
  71. package/dist/types/components/sitebuilder/config/ConfigBuilder.d.ts +354 -0
  72. package/dist/types/components/sitebuilder/config/ConfigBuilder.d.ts.map +1 -0
  73. package/dist/types/components/sitebuilder/config/ConfigEngine.d.ts +10 -0
  74. package/dist/types/components/sitebuilder/config/ConfigEngine.d.ts.map +1 -0
  75. package/dist/types/components/sitebuilder/config/FontSelector.d.ts +27 -0
  76. package/dist/types/components/sitebuilder/config/FontSelector.d.ts.map +1 -0
  77. package/dist/types/components/sitebuilder/config/google-fonts.d.ts +41 -0
  78. package/dist/types/components/sitebuilder/config/google-fonts.d.ts.map +1 -0
  79. package/dist/types/components/sitebuilder/form/formbuilder.d.ts +11 -0
  80. package/dist/types/components/sitebuilder/form/formbuilder.d.ts.map +1 -0
  81. package/dist/types/components/{pagebuilder → sitebuilder}/form/formcomponents.d.ts +15 -17
  82. package/dist/types/components/sitebuilder/form/formcomponents.d.ts.map +1 -0
  83. package/dist/types/components/{pagebuilder/form/form.submit.d.ts → sitebuilder/form/formemailer.d.ts} +1 -1
  84. package/dist/types/components/sitebuilder/form/formemailer.d.ts.map +1 -0
  85. package/dist/types/components/sitebuilder/form/formengine.d.ts +14 -0
  86. package/dist/types/components/sitebuilder/form/formengine.d.ts.map +1 -0
  87. package/dist/types/components/sitebuilder/form/formextractor.d.ts +25 -0
  88. package/dist/types/components/sitebuilder/form/formextractor.d.ts.map +1 -0
  89. package/dist/types/components/{pagebuilder/form/formvalidations.d.ts → sitebuilder/form/formfieldvalidations.d.ts} +1 -1
  90. package/dist/types/components/sitebuilder/form/formfieldvalidations.d.ts.map +1 -0
  91. package/dist/types/components/sitebuilder/form/formtypes.d.ts +66 -0
  92. package/dist/types/components/sitebuilder/form/formtypes.d.ts.map +1 -0
  93. package/dist/types/components/sitebuilder/form/formutils.d.ts +20 -0
  94. package/dist/types/components/sitebuilder/form/formutils.d.ts.map +1 -0
  95. package/dist/types/components/sitebuilder/form/formvalidator.d.ts +20 -0
  96. package/dist/types/components/sitebuilder/form/formvalidator.d.ts.map +1 -0
  97. package/dist/types/components/sitebuilder/page/components/ComponentPropertiesForm.d.ts.map +1 -0
  98. package/dist/types/components/sitebuilder/page/components/ComponentSelector.d.ts.map +1 -0
  99. package/dist/types/components/sitebuilder/page/components/ComponentTree.d.ts.map +1 -0
  100. package/dist/types/components/{pagebuilder → sitebuilder/page}/components/PageBuilderUI.d.ts +1 -1
  101. package/dist/types/components/sitebuilder/page/components/PageBuilderUI.d.ts.map +1 -0
  102. package/dist/types/components/sitebuilder/page/components/PageEngine.d.ts.map +1 -0
  103. package/dist/types/components/sitebuilder/page/components/SaveLoadSection.d.ts.map +1 -0
  104. package/dist/types/components/sitebuilder/page/documentation/api-examples/save-route-example.d.ts +6 -0
  105. package/dist/types/components/sitebuilder/page/documentation/api-examples/save-route-example.d.ts.map +1 -0
  106. package/dist/types/components/sitebuilder/page/lib/componentGeneration.d.ts.map +1 -0
  107. package/dist/types/components/{pagebuilder → sitebuilder/page}/lib/componentMap.d.ts +3 -3
  108. package/dist/types/components/sitebuilder/page/lib/componentMap.d.ts.map +1 -0
  109. package/dist/types/components/sitebuilder/page/lib/componentMetadata.d.ts.map +1 -0
  110. package/dist/types/components/{pagebuilder → sitebuilder/page}/lib/pageStorageContentful.d.ts +1 -1
  111. package/dist/types/components/sitebuilder/page/lib/pageStorageContentful.d.ts.map +1 -0
  112. package/dist/types/components/sitebuilder/page/lib/pageStorageLocal.d.ts.map +1 -0
  113. package/dist/types/components/sitebuilder/page/lib/pageStorageTypes.d.ts.map +1 -0
  114. package/dist/types/components/sitebuilder/page/lib/propTypeIntrospection.d.ts.map +1 -0
  115. package/dist/types/components/sitebuilder/page/lib/types.d.ts.map +1 -0
  116. package/dist/types/components/sitebuilder/page/lib/usePageBuilder.d.ts.map +1 -0
  117. package/dist/types/components/structured/markdown.d.ts.map +1 -1
  118. package/dist/types/components/structured/recipe.d.ts.map +1 -1
  119. package/dist/types/components/structured/timeline.d.ts.map +1 -1
  120. package/dist/types/index.d.ts +33 -20
  121. package/dist/types/index.server.d.ts +23 -16
  122. package/dist/types/stories/general/tab.stories.d.ts +45 -0
  123. package/dist/types/stories/general/tab.stories.d.ts.map +1 -0
  124. package/dist/types/stories/seo/seo.metadata.stories.d.ts +1 -1
  125. package/dist/types/stories/seo/seo.metadata.stories.d.ts.map +1 -1
  126. package/dist/types/stories/sitebuilder/compoundfontselector.stories.d.ts +51 -0
  127. package/dist/types/stories/sitebuilder/compoundfontselector.stories.d.ts.map +1 -0
  128. package/dist/types/stories/sitebuilder/configbuilder.stories.d.ts +103 -0
  129. package/dist/types/stories/sitebuilder/configbuilder.stories.d.ts.map +1 -0
  130. package/dist/types/stories/{pagebuilder → sitebuilder}/form-builder.stories.d.ts +1 -1
  131. package/dist/types/stories/sitebuilder/form-builder.stories.d.ts.map +1 -0
  132. package/dist/types/stories/{pagebuilder → sitebuilder}/form-engine.stories.d.ts +1 -1
  133. package/dist/types/stories/sitebuilder/form-engine.stories.d.ts.map +1 -0
  134. package/dist/types/stories/{pagebuilder → sitebuilder}/form-extractor.stories.d.ts +1 -1
  135. package/dist/types/stories/sitebuilder/form-extractor.stories.d.ts.map +1 -0
  136. package/dist/types/stories/{pagebuilder → sitebuilder}/pagebuilder.stories.d.ts +1 -1
  137. package/dist/types/stories/{pagebuilder → sitebuilder}/pagebuilder.stories.d.ts.map +1 -1
  138. package/dist/types/stories/{pagebuilder → sitebuilder}/pagebuilder.usageguide.stories.d.ts +1 -1
  139. package/dist/types/stories/{pagebuilder → sitebuilder}/pagebuilder.usageguide.stories.d.ts.map +1 -1
  140. package/dist/types/stories/{pagebuilder → sitebuilder}/pageengine.stories.d.ts +1 -1
  141. package/dist/types/stories/{pagebuilder → sitebuilder}/pageengine.stories.d.ts.map +1 -1
  142. package/dist/types/tests/compoundfontselector.test.d.ts +2 -0
  143. package/dist/types/tests/compoundfontselector.test.d.ts.map +1 -0
  144. package/dist/types/tests/configbuilder.test.d.ts +2 -0
  145. package/dist/types/tests/configbuilder.test.d.ts.map +1 -0
  146. package/dist/types/tests/configengine.test.d.ts +2 -0
  147. package/dist/types/tests/configengine.test.d.ts.map +1 -0
  148. package/dist/types/tests/fontselector.test.d.ts +2 -0
  149. package/dist/types/tests/fontselector.test.d.ts.map +1 -0
  150. package/dist/types/tests/tab.test.d.ts +2 -0
  151. package/dist/types/tests/tab.test.d.ts.map +1 -0
  152. package/package.json +15 -12
  153. package/dist/components/pagebuilder/form/formcomponents.js +0 -359
  154. package/dist/components/seo/metadata.js +0 -108
  155. package/dist/types/components/pagebuilder/components/ComponentPropertiesForm.d.ts.map +0 -1
  156. package/dist/types/components/pagebuilder/components/ComponentSelector.d.ts.map +0 -1
  157. package/dist/types/components/pagebuilder/components/ComponentTree.d.ts.map +0 -1
  158. package/dist/types/components/pagebuilder/components/PageBuilderUI.d.ts.map +0 -1
  159. package/dist/types/components/pagebuilder/components/PageEngine.d.ts.map +0 -1
  160. package/dist/types/components/pagebuilder/components/SaveLoadSection.d.ts.map +0 -1
  161. package/dist/types/components/pagebuilder/form/form.d.ts +0 -46
  162. package/dist/types/components/pagebuilder/form/form.d.ts.map +0 -1
  163. package/dist/types/components/pagebuilder/form/form.submit.d.ts.map +0 -1
  164. package/dist/types/components/pagebuilder/form/formcomponents.d.ts.map +0 -1
  165. package/dist/types/components/pagebuilder/form/formvalidations.d.ts.map +0 -1
  166. package/dist/types/components/pagebuilder/lib/componentGeneration.d.ts.map +0 -1
  167. package/dist/types/components/pagebuilder/lib/componentMap.d.ts.map +0 -1
  168. package/dist/types/components/pagebuilder/lib/componentMetadata.d.ts.map +0 -1
  169. package/dist/types/components/pagebuilder/lib/pageStorageContentful.d.ts.map +0 -1
  170. package/dist/types/components/pagebuilder/lib/pageStorageLocal.d.ts.map +0 -1
  171. package/dist/types/components/pagebuilder/lib/pageStorageTypes.d.ts.map +0 -1
  172. package/dist/types/components/pagebuilder/lib/propTypeIntrospection.d.ts.map +0 -1
  173. package/dist/types/components/pagebuilder/lib/types.d.ts.map +0 -1
  174. package/dist/types/components/pagebuilder/lib/usePageBuilder.d.ts.map +0 -1
  175. package/dist/types/components/seo/metadata.d.ts.map +0 -1
  176. package/dist/types/stories/pagebuilder/form-builder.stories.d.ts.map +0 -1
  177. package/dist/types/stories/pagebuilder/form-engine.stories.d.ts.map +0 -1
  178. package/dist/types/stories/pagebuilder/form-extractor.stories.d.ts.map +0 -1
  179. /package/dist/components/{pagebuilder/form/form.submit.js → sitebuilder/form/formemailer.js} +0 -0
  180. /package/dist/components/{pagebuilder/form/formvalidations.js → sitebuilder/form/formfieldvalidations.js} +0 -0
  181. /package/dist/components/{pagebuilder/lib/pageStorageTypes.js → sitebuilder/form/formtypes.js} +0 -0
  182. /package/dist/components/{pagebuilder → sitebuilder/page}/components/ComponentSelector.js +0 -0
  183. /package/dist/components/{pagebuilder → sitebuilder/page}/components/ComponentTree.js +0 -0
  184. /package/dist/components/{pagebuilder → sitebuilder/page}/components/SaveLoadSection.js +0 -0
  185. /package/dist/components/{pagebuilder → sitebuilder/page}/components/pagebuilder.scss +0 -0
  186. /package/dist/components/{pagebuilder → sitebuilder/page}/lib/componentGeneration.js +0 -0
  187. /package/dist/components/{pagebuilder → sitebuilder/page}/lib/pageStorageLocal.js +0 -0
  188. /package/dist/components/{pagebuilder → sitebuilder/page}/lib/propTypeIntrospection.js +0 -0
  189. /package/dist/components/{pagebuilder → sitebuilder/page}/lib/types.js +0 -0
  190. /package/dist/components/{pagebuilder → sitebuilder/page}/lib/usePageBuilder.js +0 -0
  191. /package/dist/types/components/{pagebuilder → sitebuilder/page}/components/ComponentPropertiesForm.d.ts +0 -0
  192. /package/dist/types/components/{pagebuilder → sitebuilder/page}/components/ComponentSelector.d.ts +0 -0
  193. /package/dist/types/components/{pagebuilder → sitebuilder/page}/components/ComponentTree.d.ts +0 -0
  194. /package/dist/types/components/{pagebuilder → sitebuilder/page}/components/PageEngine.d.ts +0 -0
  195. /package/dist/types/components/{pagebuilder → sitebuilder/page}/components/SaveLoadSection.d.ts +0 -0
  196. /package/dist/types/components/{pagebuilder → sitebuilder/page}/lib/componentGeneration.d.ts +0 -0
  197. /package/dist/types/components/{pagebuilder → sitebuilder/page}/lib/componentMetadata.d.ts +0 -0
  198. /package/dist/types/components/{pagebuilder → sitebuilder/page}/lib/pageStorageLocal.d.ts +0 -0
  199. /package/dist/types/components/{pagebuilder → sitebuilder/page}/lib/pageStorageTypes.d.ts +0 -0
  200. /package/dist/types/components/{pagebuilder → sitebuilder/page}/lib/propTypeIntrospection.d.ts +0 -0
  201. /package/dist/types/components/{pagebuilder → sitebuilder/page}/lib/types.d.ts +0 -0
  202. /package/dist/types/components/{pagebuilder → sitebuilder/page}/lib/usePageBuilder.d.ts +0 -0
@@ -0,0 +1,354 @@
1
+ import PropTypes, { InferProps } from 'prop-types';
2
+ import './ConfigBuilder.css';
3
+ declare const ConfigBuilderPropTypes: {
4
+ initialConfig: PropTypes.Requireable<PropTypes.InferProps<{
5
+ siteInfo: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
6
+ name: PropTypes.Validator<string>;
7
+ author: PropTypes.Validator<string>;
8
+ description: PropTypes.Validator<string>;
9
+ url: PropTypes.Validator<string>;
10
+ email: PropTypes.Validator<string>;
11
+ favicon: PropTypes.Validator<string>;
12
+ favicon_sizes: PropTypes.Validator<string>;
13
+ favicon_type: PropTypes.Validator<string>;
14
+ theme_color: PropTypes.Validator<string>;
15
+ background_color: PropTypes.Validator<string>;
16
+ default_locale: PropTypes.Validator<string>;
17
+ display: PropTypes.Validator<string>;
18
+ image: PropTypes.Requireable<string>;
19
+ image_height: PropTypes.Requireable<string>;
20
+ image_width: PropTypes.Requireable<string>;
21
+ telephone: PropTypes.Requireable<string>;
22
+ address: PropTypes.Requireable<PropTypes.InferProps<{
23
+ streetAddress: PropTypes.Validator<string>;
24
+ addressLocality: PropTypes.Validator<string>;
25
+ addressRegion: PropTypes.Validator<string>;
26
+ postalCode: PropTypes.Validator<string>;
27
+ addressCountry: PropTypes.Validator<string>;
28
+ }>>;
29
+ priceRange: PropTypes.Requireable<string>;
30
+ sameAs: PropTypes.Requireable<string[]>;
31
+ keywords: PropTypes.Requireable<string>;
32
+ }>>>;
33
+ routes: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
34
+ path: PropTypes.Validator<string>;
35
+ component: PropTypes.Validator<string>;
36
+ title: PropTypes.Requireable<string>;
37
+ description: PropTypes.Requireable<string>;
38
+ }>>[]>;
39
+ visualdesign: PropTypes.Requireable<PropTypes.InferProps<{
40
+ 'primary-color': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
41
+ value: PropTypes.Validator<string>;
42
+ type: PropTypes.Validator<string>;
43
+ group: PropTypes.Validator<string>;
44
+ label: PropTypes.Validator<string>;
45
+ }>>>;
46
+ 'secondary-color': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
47
+ value: PropTypes.Validator<string>;
48
+ type: PropTypes.Validator<string>;
49
+ group: PropTypes.Validator<string>;
50
+ label: PropTypes.Validator<string>;
51
+ }>>>;
52
+ 'accent1-color': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
53
+ value: PropTypes.Validator<string>;
54
+ type: PropTypes.Validator<string>;
55
+ group: PropTypes.Validator<string>;
56
+ label: PropTypes.Validator<string>;
57
+ }>>>;
58
+ 'accent2-color': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
59
+ value: PropTypes.Validator<string>;
60
+ type: PropTypes.Validator<string>;
61
+ group: PropTypes.Validator<string>;
62
+ label: PropTypes.Validator<string>;
63
+ }>>>;
64
+ 'bg-color': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
65
+ value: PropTypes.Validator<string>;
66
+ type: PropTypes.Validator<string>;
67
+ group: PropTypes.Validator<string>;
68
+ label: PropTypes.Validator<string>;
69
+ }>>>;
70
+ 'text-color': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
71
+ value: PropTypes.Validator<string>;
72
+ type: PropTypes.Validator<string>;
73
+ group: PropTypes.Validator<string>;
74
+ label: PropTypes.Validator<string>;
75
+ }>>>;
76
+ 'header-font': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
77
+ value: PropTypes.Validator<string>;
78
+ type: PropTypes.Validator<string>;
79
+ group: PropTypes.Validator<string>;
80
+ label: PropTypes.Validator<string>;
81
+ }>>>;
82
+ 'body-font': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
83
+ value: PropTypes.Validator<string>;
84
+ type: PropTypes.Validator<string>;
85
+ group: PropTypes.Validator<string>;
86
+ label: PropTypes.Validator<string>;
87
+ }>>>;
88
+ 'font-size1-min': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
89
+ value: PropTypes.Validator<string>;
90
+ type: PropTypes.Validator<string>;
91
+ group: PropTypes.Validator<string>;
92
+ label: PropTypes.Validator<string>;
93
+ }>>>;
94
+ 'font-size1-max': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
95
+ value: PropTypes.Validator<string>;
96
+ type: PropTypes.Validator<string>;
97
+ group: PropTypes.Validator<string>;
98
+ label: PropTypes.Validator<string>;
99
+ }>>>;
100
+ 'font-size2-min': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
101
+ value: PropTypes.Validator<string>;
102
+ type: PropTypes.Validator<string>;
103
+ group: PropTypes.Validator<string>;
104
+ label: PropTypes.Validator<string>;
105
+ }>>>;
106
+ 'font-size2-max': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
107
+ value: PropTypes.Validator<string>;
108
+ type: PropTypes.Validator<string>;
109
+ group: PropTypes.Validator<string>;
110
+ label: PropTypes.Validator<string>;
111
+ }>>>;
112
+ 'font-size3-min': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
113
+ value: PropTypes.Validator<string>;
114
+ type: PropTypes.Validator<string>;
115
+ group: PropTypes.Validator<string>;
116
+ label: PropTypes.Validator<string>;
117
+ }>>>;
118
+ 'font-size3-max': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
119
+ value: PropTypes.Validator<string>;
120
+ type: PropTypes.Validator<string>;
121
+ group: PropTypes.Validator<string>;
122
+ label: PropTypes.Validator<string>;
123
+ }>>>;
124
+ 'font-size4-min': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
125
+ value: PropTypes.Validator<string>;
126
+ type: PropTypes.Validator<string>;
127
+ group: PropTypes.Validator<string>;
128
+ label: PropTypes.Validator<string>;
129
+ }>>>;
130
+ 'font-size4-max': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
131
+ value: PropTypes.Validator<string>;
132
+ type: PropTypes.Validator<string>;
133
+ group: PropTypes.Validator<string>;
134
+ label: PropTypes.Validator<string>;
135
+ }>>>;
136
+ 'font-size5-min': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
137
+ value: PropTypes.Validator<string>;
138
+ type: PropTypes.Validator<string>;
139
+ group: PropTypes.Validator<string>;
140
+ label: PropTypes.Validator<string>;
141
+ }>>>;
142
+ 'font-size5-max': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
143
+ value: PropTypes.Validator<string>;
144
+ type: PropTypes.Validator<string>;
145
+ group: PropTypes.Validator<string>;
146
+ label: PropTypes.Validator<string>;
147
+ }>>>;
148
+ 'font-size6-min': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
149
+ value: PropTypes.Validator<string>;
150
+ type: PropTypes.Validator<string>;
151
+ group: PropTypes.Validator<string>;
152
+ label: PropTypes.Validator<string>;
153
+ }>>>;
154
+ 'font-size6-max': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
155
+ value: PropTypes.Validator<string>;
156
+ type: PropTypes.Validator<string>;
157
+ group: PropTypes.Validator<string>;
158
+ label: PropTypes.Validator<string>;
159
+ }>>>;
160
+ 'font-min-screen': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
161
+ value: PropTypes.Validator<string>;
162
+ type: PropTypes.Validator<string>;
163
+ group: PropTypes.Validator<string>;
164
+ label: PropTypes.Validator<string>;
165
+ }>>>;
166
+ 'font-max-screen': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
167
+ value: PropTypes.Validator<string>;
168
+ type: PropTypes.Validator<string>;
169
+ group: PropTypes.Validator<string>;
170
+ label: PropTypes.Validator<string>;
171
+ }>>>;
172
+ }>>;
173
+ }>>;
174
+ onSave: PropTypes.Requireable<(...args: any[]) => any>;
175
+ };
176
+ type ConfigBuilderProps = InferProps<typeof ConfigBuilderPropTypes>;
177
+ export declare function ConfigBuilder(props: ConfigBuilderProps): import("react/jsx-runtime").JSX.Element;
178
+ export declare namespace ConfigBuilder {
179
+ var propTypes: {
180
+ initialConfig: PropTypes.Requireable<PropTypes.InferProps<{
181
+ siteInfo: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
182
+ name: PropTypes.Validator<string>;
183
+ author: PropTypes.Validator<string>;
184
+ description: PropTypes.Validator<string>;
185
+ url: PropTypes.Validator<string>;
186
+ email: PropTypes.Validator<string>;
187
+ favicon: PropTypes.Validator<string>;
188
+ favicon_sizes: PropTypes.Validator<string>;
189
+ favicon_type: PropTypes.Validator<string>;
190
+ theme_color: PropTypes.Validator<string>;
191
+ background_color: PropTypes.Validator<string>;
192
+ default_locale: PropTypes.Validator<string>;
193
+ display: PropTypes.Validator<string>;
194
+ image: PropTypes.Requireable<string>;
195
+ image_height: PropTypes.Requireable<string>;
196
+ image_width: PropTypes.Requireable<string>;
197
+ telephone: PropTypes.Requireable<string>;
198
+ address: PropTypes.Requireable<PropTypes.InferProps<{
199
+ streetAddress: PropTypes.Validator<string>;
200
+ addressLocality: PropTypes.Validator<string>;
201
+ addressRegion: PropTypes.Validator<string>;
202
+ postalCode: PropTypes.Validator<string>;
203
+ addressCountry: PropTypes.Validator<string>;
204
+ }>>;
205
+ priceRange: PropTypes.Requireable<string>;
206
+ sameAs: PropTypes.Requireable<string[]>;
207
+ keywords: PropTypes.Requireable<string>;
208
+ }>>>;
209
+ routes: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
210
+ path: PropTypes.Validator<string>;
211
+ component: PropTypes.Validator<string>;
212
+ title: PropTypes.Requireable<string>;
213
+ description: PropTypes.Requireable<string>;
214
+ }>>[]>;
215
+ visualdesign: PropTypes.Requireable<PropTypes.InferProps<{
216
+ 'primary-color': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
217
+ value: PropTypes.Validator<string>;
218
+ type: PropTypes.Validator<string>;
219
+ group: PropTypes.Validator<string>;
220
+ label: PropTypes.Validator<string>;
221
+ }>>>;
222
+ 'secondary-color': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
223
+ value: PropTypes.Validator<string>;
224
+ type: PropTypes.Validator<string>;
225
+ group: PropTypes.Validator<string>;
226
+ label: PropTypes.Validator<string>;
227
+ }>>>;
228
+ 'accent1-color': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
229
+ value: PropTypes.Validator<string>;
230
+ type: PropTypes.Validator<string>;
231
+ group: PropTypes.Validator<string>;
232
+ label: PropTypes.Validator<string>;
233
+ }>>>;
234
+ 'accent2-color': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
235
+ value: PropTypes.Validator<string>;
236
+ type: PropTypes.Validator<string>;
237
+ group: PropTypes.Validator<string>;
238
+ label: PropTypes.Validator<string>;
239
+ }>>>;
240
+ 'bg-color': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
241
+ value: PropTypes.Validator<string>;
242
+ type: PropTypes.Validator<string>;
243
+ group: PropTypes.Validator<string>;
244
+ label: PropTypes.Validator<string>;
245
+ }>>>;
246
+ 'text-color': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
247
+ value: PropTypes.Validator<string>;
248
+ type: PropTypes.Validator<string>;
249
+ group: PropTypes.Validator<string>;
250
+ label: PropTypes.Validator<string>;
251
+ }>>>;
252
+ 'header-font': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
253
+ value: PropTypes.Validator<string>;
254
+ type: PropTypes.Validator<string>;
255
+ group: PropTypes.Validator<string>;
256
+ label: PropTypes.Validator<string>;
257
+ }>>>;
258
+ 'body-font': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
259
+ value: PropTypes.Validator<string>;
260
+ type: PropTypes.Validator<string>;
261
+ group: PropTypes.Validator<string>;
262
+ label: PropTypes.Validator<string>;
263
+ }>>>;
264
+ 'font-size1-min': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
265
+ value: PropTypes.Validator<string>;
266
+ type: PropTypes.Validator<string>;
267
+ group: PropTypes.Validator<string>;
268
+ label: PropTypes.Validator<string>;
269
+ }>>>;
270
+ 'font-size1-max': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
271
+ value: PropTypes.Validator<string>;
272
+ type: PropTypes.Validator<string>;
273
+ group: PropTypes.Validator<string>;
274
+ label: PropTypes.Validator<string>;
275
+ }>>>;
276
+ 'font-size2-min': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
277
+ value: PropTypes.Validator<string>;
278
+ type: PropTypes.Validator<string>;
279
+ group: PropTypes.Validator<string>;
280
+ label: PropTypes.Validator<string>;
281
+ }>>>;
282
+ 'font-size2-max': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
283
+ value: PropTypes.Validator<string>;
284
+ type: PropTypes.Validator<string>;
285
+ group: PropTypes.Validator<string>;
286
+ label: PropTypes.Validator<string>;
287
+ }>>>;
288
+ 'font-size3-min': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
289
+ value: PropTypes.Validator<string>;
290
+ type: PropTypes.Validator<string>;
291
+ group: PropTypes.Validator<string>;
292
+ label: PropTypes.Validator<string>;
293
+ }>>>;
294
+ 'font-size3-max': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
295
+ value: PropTypes.Validator<string>;
296
+ type: PropTypes.Validator<string>;
297
+ group: PropTypes.Validator<string>;
298
+ label: PropTypes.Validator<string>;
299
+ }>>>;
300
+ 'font-size4-min': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
301
+ value: PropTypes.Validator<string>;
302
+ type: PropTypes.Validator<string>;
303
+ group: PropTypes.Validator<string>;
304
+ label: PropTypes.Validator<string>;
305
+ }>>>;
306
+ 'font-size4-max': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
307
+ value: PropTypes.Validator<string>;
308
+ type: PropTypes.Validator<string>;
309
+ group: PropTypes.Validator<string>;
310
+ label: PropTypes.Validator<string>;
311
+ }>>>;
312
+ 'font-size5-min': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
313
+ value: PropTypes.Validator<string>;
314
+ type: PropTypes.Validator<string>;
315
+ group: PropTypes.Validator<string>;
316
+ label: PropTypes.Validator<string>;
317
+ }>>>;
318
+ 'font-size5-max': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
319
+ value: PropTypes.Validator<string>;
320
+ type: PropTypes.Validator<string>;
321
+ group: PropTypes.Validator<string>;
322
+ label: PropTypes.Validator<string>;
323
+ }>>>;
324
+ 'font-size6-min': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
325
+ value: PropTypes.Validator<string>;
326
+ type: PropTypes.Validator<string>;
327
+ group: PropTypes.Validator<string>;
328
+ label: PropTypes.Validator<string>;
329
+ }>>>;
330
+ 'font-size6-max': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
331
+ value: PropTypes.Validator<string>;
332
+ type: PropTypes.Validator<string>;
333
+ group: PropTypes.Validator<string>;
334
+ label: PropTypes.Validator<string>;
335
+ }>>>;
336
+ 'font-min-screen': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
337
+ value: PropTypes.Validator<string>;
338
+ type: PropTypes.Validator<string>;
339
+ group: PropTypes.Validator<string>;
340
+ label: PropTypes.Validator<string>;
341
+ }>>>;
342
+ 'font-max-screen': PropTypes.Validator<NonNullable<PropTypes.InferProps<{
343
+ value: PropTypes.Validator<string>;
344
+ type: PropTypes.Validator<string>;
345
+ group: PropTypes.Validator<string>;
346
+ label: PropTypes.Validator<string>;
347
+ }>>>;
348
+ }>>;
349
+ }>>;
350
+ onSave: PropTypes.Requireable<(...args: any[]) => any>;
351
+ };
352
+ }
353
+ export {};
354
+ //# sourceMappingURL=ConfigBuilder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConfigBuilder.d.ts","sourceRoot":"","sources":["../../../../../src/components/sitebuilder/config/ConfigBuilder.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAOnD,OAAO,qBAAqB,CAAC;AAyL7B,QAAA,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAG3B,CAAC;AACF,KAAK,kBAAkB,GAAG,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEpE,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,2CAsXtD;yBAtXe,aAAa"}
@@ -0,0 +1,10 @@
1
+ export declare function VisualDesignStyles({ visualdesign }: {
2
+ visualdesign?: Record<string, any>;
3
+ }): import("react/jsx-runtime").JSX.Element;
4
+ /**
5
+ * Component to handle Google Fonts imports - should be used in the document head
6
+ */
7
+ export declare function GoogleFontsImports({ visualdesign }: {
8
+ visualdesign?: Record<string, any>;
9
+ }): import("react/jsx-runtime").JSX.Element | null;
10
+ //# sourceMappingURL=ConfigEngine.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConfigEngine.d.ts","sourceRoot":"","sources":["../../../../../src/components/sitebuilder/config/ConfigEngine.tsx"],"names":[],"mappings":"AAGA,wBAAgB,kBAAkB,CAAC,EAAE,YAAY,EAAE,EAAE;IAAE,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAAE,2CAiF1F;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,EAAE,YAAY,EAAE,EAAE;IAAE,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAAE,kDAyB1F"}
@@ -0,0 +1,27 @@
1
+ import PropTypes from 'prop-types';
2
+ import './FontSelector.css';
3
+ interface FontSelectorProps {
4
+ id: string;
5
+ name: string;
6
+ label: string;
7
+ fontType?: 'google' | 'websafe' | 'generic';
8
+ required?: boolean;
9
+ placeholder?: string;
10
+ value?: string;
11
+ onChange?: (value: string) => void;
12
+ }
13
+ export declare function FontSelector({ id, name, label, fontType, required, placeholder, value, onChange }: FontSelectorProps): import("react/jsx-runtime").JSX.Element;
14
+ export declare namespace FontSelector {
15
+ var propTypes: {
16
+ id: PropTypes.Validator<string>;
17
+ name: PropTypes.Validator<string>;
18
+ label: PropTypes.Validator<string>;
19
+ fontType: PropTypes.Validator<string>;
20
+ required: PropTypes.Requireable<boolean>;
21
+ placeholder: PropTypes.Requireable<string>;
22
+ value: PropTypes.Requireable<string>;
23
+ onChange: PropTypes.Requireable<(...args: any[]) => any>;
24
+ };
25
+ }
26
+ export {};
27
+ //# sourceMappingURL=FontSelector.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FontSelector.d.ts","sourceRoot":"","sources":["../../../../../src/components/sitebuilder/config/FontSelector.tsx"],"names":[],"mappings":"AACA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,oBAAoB,CAAC;AAQ5B,UAAU,iBAAiB;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,SAAS,CAAC;IAC5C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC;AAkCD,wBAAgB,YAAY,CAAC,EAC5B,EAAE,EACF,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,QAAgB,EAChB,WAAW,EACX,KAAU,EACV,QAAQ,EACR,EAAE,iBAAiB,2CAqInB;yBA9Ie,YAAY"}
@@ -0,0 +1,41 @@
1
+ /**
2
+ * Google Fonts Integration
3
+ * Fetches and caches Google Fonts data for use in visual design forms
4
+ */
5
+ export interface GoogleFont {
6
+ family: string;
7
+ variants: string[];
8
+ subsets: string[];
9
+ version: string;
10
+ lastModified: string;
11
+ category: string;
12
+ kind: string;
13
+ menu: string;
14
+ files: Record<string, string>;
15
+ }
16
+ export interface GoogleFontsResponse {
17
+ kind: string;
18
+ items: GoogleFont[];
19
+ }
20
+ /**
21
+ * Fetch Google Fonts list from API
22
+ * Note: Requires GOOGLE_FONTS_API_KEY environment variable
23
+ */
24
+ export declare function fetchGoogleFonts(): Promise<GoogleFont[]>;
25
+ /**
26
+ * Get font options for form dropdowns
27
+ */
28
+ export declare function getFontOptions(): Promise<Array<{
29
+ value: string;
30
+ label: string;
31
+ category: string;
32
+ }>>;
33
+ /**
34
+ * Generate Google Fonts CSS import URL for given fonts
35
+ */
36
+ export declare function generateGoogleFontsUrl(fonts: string[]): string;
37
+ /**
38
+ * Generate HTML link tag for Google Fonts
39
+ */
40
+ export declare function generateGoogleFontsLink(fonts: string[]): string;
41
+ //# sourceMappingURL=google-fonts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"google-fonts.d.ts","sourceRoot":"","sources":["../../../../../src/components/sitebuilder/config/google-fonts.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,WAAW,UAAU;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC/B;AAED,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,UAAU,EAAE,CAAC;CACrB;AA+BD;;;GAGG;AACH,wBAAsB,gBAAgB,IAAI,OAAO,CAAC,UAAU,EAAE,CAAC,CAgC9D;AAED;;GAEG;AACH,wBAAsB,cAAc,IAAI,OAAO,CAAC,KAAK,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAC,CAAC,CAAC,CAqBvG;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,MAAM,CAe9D;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,MAAM,CAO/D"}
@@ -0,0 +1,11 @@
1
+ import PropTypes, { InferProps } from 'prop-types';
2
+ export declare function FormBuilder(): import("react/jsx-runtime").JSX.Element;
3
+ type FormBuildType = InferProps<typeof FormBuild.propTypes>;
4
+ export declare function FormBuild(props: FormBuildType): import("react/jsx-runtime").JSX.Element;
5
+ export declare namespace FormBuild {
6
+ var propTypes: {
7
+ setFormData: PropTypes.Validator<(...args: any[]) => any>;
8
+ };
9
+ }
10
+ export {};
11
+ //# sourceMappingURL=formbuilder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formbuilder.d.ts","sourceRoot":"","sources":["../../../../../src/components/sitebuilder/form/formbuilder.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AASnD,wBAAgB,WAAW,4CA4D1B;AAaD,KAAK,aAAa,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,SAAS,CAAC,CAAC;AAC5D,wBAAgB,SAAS,CAAC,KAAK,EAAE,aAAa,2CA0D7C;yBA1De,SAAS"}
@@ -1,4 +1,6 @@
1
1
  import PropTypes, { InferProps } from "prop-types";
2
+ import { FontSelector } from "../config/FontSelector";
3
+ import { CompoundFontSelector } from "../config/CompoundFontSelector";
2
4
  import "./form.css";
3
5
  export type FormLabelType = InferProps<typeof FormLabel.propTypes>;
4
6
  declare function FormLabel(props: FormLabelType): import("react/jsx-runtime").JSX.Element;
@@ -16,24 +18,17 @@ declare namespace FormLabel {
16
18
  };
17
19
  }
18
20
  export type FormTooltipType = InferProps<typeof FormTooltip.propTypes>;
19
- declare function FormTooltip(props: FormTooltipType): import("react/jsx-runtime").JSX.Element;
21
+ declare function FormTooltip(props: FormTooltipType): import("react/jsx-runtime").JSX.Element | null;
20
22
  declare namespace FormTooltip {
21
23
  var propTypes: {
22
24
  id: PropTypes.Requireable<string>;
23
- text: PropTypes.Requireable<string>;
25
+ text: PropTypes.Validator<(string | null | undefined)[]>;
24
26
  className: PropTypes.Requireable<string>;
27
+ mode: PropTypes.Requireable<string>;
25
28
  };
26
29
  var defaultProps: {
27
30
  id: string;
28
- text: string;
29
- };
30
- }
31
- export type FormValidateType = InferProps<typeof FormValidate.propTypes>;
32
- declare function FormValidate(props: FormValidateType): import("react/jsx-runtime").JSX.Element;
33
- declare namespace FormValidate {
34
- var propTypes: {
35
- id: PropTypes.Validator<string>;
36
- valid: PropTypes.Requireable<boolean>;
31
+ mode: string;
37
32
  };
38
33
  }
39
34
  export type FormInputType = InferProps<typeof FormInput.propTypes>;
@@ -64,6 +59,7 @@ export declare namespace FormInput {
64
59
  tooltip: PropTypes.Requireable<string>;
65
60
  className: PropTypes.Requireable<string>;
66
61
  validate: PropTypes.Requireable<string>;
62
+ onChange: PropTypes.Requireable<(...args: any[]) => any>;
67
63
  };
68
64
  }
69
65
  export type FormSelectType = InferProps<typeof FormSelect.propTypes>;
@@ -86,6 +82,7 @@ export declare namespace FormSelect {
86
82
  tooltip: PropTypes.Requireable<string>;
87
83
  className: PropTypes.Requireable<string>;
88
84
  validate: PropTypes.Requireable<string>;
85
+ onChange: PropTypes.Requireable<(...args: any[]) => any>;
89
86
  };
90
87
  }
91
88
  export type FormSelectOptionType = InferProps<typeof FormSelectOption.propTypes>;
@@ -94,7 +91,7 @@ declare namespace FormSelectOption {
94
91
  var propTypes: {
95
92
  text: PropTypes.Requireable<string>;
96
93
  value: PropTypes.Requireable<string>;
97
- disabled: PropTypes.Requireable<string>;
94
+ disabled: PropTypes.Requireable<boolean>;
98
95
  };
99
96
  }
100
97
  export type FormTextareaType = InferProps<typeof FormTextarea.propTypes>;
@@ -118,6 +115,7 @@ export declare namespace FormTextarea {
118
115
  tooltip: PropTypes.Requireable<string>;
119
116
  className: PropTypes.Requireable<string>;
120
117
  validate: PropTypes.Requireable<string>;
118
+ onChange: PropTypes.Requireable<(...args: any[]) => any>;
121
119
  };
122
120
  }
123
121
  export type FormRadioType = InferProps<typeof FormRadio.propTypes>;
@@ -135,6 +133,7 @@ export declare namespace FormRadio {
135
133
  label: PropTypes.Requireable<string>;
136
134
  tooltip: PropTypes.Requireable<string>;
137
135
  validate: PropTypes.Requireable<string>;
136
+ onChange: PropTypes.Requireable<(...args: any[]) => any>;
138
137
  };
139
138
  }
140
139
  export type FormRadioOptionType = InferProps<typeof FormRadioOption.propTypes>;
@@ -145,8 +144,7 @@ declare namespace FormRadioOption {
145
144
  text: PropTypes.Requireable<string>;
146
145
  value: PropTypes.Validator<string>;
147
146
  checked: PropTypes.Requireable<string>;
148
- parent: typeof FormRadio;
149
- setIsValid: PropTypes.Requireable<(...args: any[]) => any>;
147
+ parent: PropTypes.Requireable<any>;
150
148
  };
151
149
  }
152
150
  export type FormCheckboxType = InferProps<typeof FormCheckbox.propTypes>;
@@ -164,6 +162,7 @@ export declare namespace FormCheckbox {
164
162
  tooltip: PropTypes.Requireable<string>;
165
163
  className: PropTypes.Requireable<string>;
166
164
  validate: PropTypes.Requireable<string>;
165
+ onChange: PropTypes.Requireable<(...args: any[]) => any>;
167
166
  };
168
167
  }
169
168
  export type FormCheckboxOptionType = InferProps<typeof FormCheckboxOption.propTypes>;
@@ -173,8 +172,7 @@ declare namespace FormCheckboxOption {
173
172
  text: PropTypes.Validator<string>;
174
173
  value: PropTypes.Validator<string>;
175
174
  selected: PropTypes.Requireable<string>;
176
- parent: typeof FormCheckbox;
177
- setIsValid: PropTypes.Requireable<(...args: any[]) => any>;
175
+ parent: PropTypes.Requireable<any>;
178
176
  };
179
177
  }
180
178
  export type FormButtonType = InferProps<typeof FormButton.propTypes>;
@@ -201,5 +199,5 @@ export declare function FormFieldset(): import("react/jsx-runtime").JSX.Element;
201
199
  export declare namespace FormFieldset {
202
200
  var propTypes: {};
203
201
  }
204
- export {};
202
+ export { FontSelector, CompoundFontSelector };
205
203
  //# sourceMappingURL=formcomponents.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formcomponents.d.ts","sourceRoot":"","sources":["../../../../../src/components/sitebuilder/form/formcomponents.tsx"],"names":[],"mappings":"AAIA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAInD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AACtE,OAAO,YAAY,CAAC;AAsIpB,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,SAAS,CAAC,CAAC;AACnE,iBAAS,SAAS,CAAC,KAAK,EAAE,aAAa,2CAYtC;kBAZQ,SAAS;;;;;;;;;;;;;AA4BlB,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,SAAS,CAAC,CAAC;AACvE,iBAAS,WAAW,CAAC,KAAK,EAAE,eAAe,kDA2C1C;kBA3CQ,WAAW;;;;;;;;;;;;AAiFpB,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,SAAS,CAAC,CAAC;AACnE,wBAAgB,SAAS,CAAC,KAAK,EAAE,aAAa,2CAmB7C;yBAnBe,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoDzB,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,SAAS,CAAC,CAAC;AACrE,wBAAgB,UAAU,CAAC,KAAK,EAAE,cAAc,2CAc/C;yBAde,UAAU;;;;;;;;;;;;;;;;;;;;;AA6B1B,MAAM,MAAM,oBAAoB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,SAAS,CAAC,CAAC;AACjF,iBAAS,gBAAgB,CAAC,KAAK,EAAE,oBAAoB,2CAUpD;kBAVQ,gBAAgB;;;;;;;AAyCzB,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,SAAS,CAAC,CAAC;AACzE,wBAAgB,YAAY,CAAC,KAAK,EAAE,gBAAgB,2CAWnD;yBAXe,YAAY;;;;;;;;;;;;;;;;;;;;;;AAmC5B,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,SAAS,CAAC,CAAC;AACnE,wBAAgB,SAAS,CAAC,KAAK,EAAE,aAAa,2CAY7C;yBAZe,SAAS;;;;;;;;;;;;;;;;AA4BzB,MAAM,MAAM,mBAAmB,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,SAAS,CAAC,CAAC;AAC/E,iBAAS,eAAe,CAAC,KAAK,EAAE,mBAAmB,2CAsBlD;kBAtBQ,eAAe;;;;;;;;;AA6CxB,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,SAAS,CAAC,CAAC;AACzE,wBAAgB,YAAY,CAAC,KAAK,EAAE,gBAAgB,2CAYnD;yBAZe,YAAY;;;;;;;;;;;;;;;;AA6B5B,MAAM,MAAM,sBAAsB,GAAG,UAAU,CAAC,OAAO,kBAAkB,CAAC,SAAS,CAAC,CAAC;AACrF,iBAAS,kBAAkB,CAAC,KAAK,EAAE,sBAAsB,2CA2BxD;kBA3BQ,kBAAkB;;;;;;;;AA0C3B,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,SAAS,CAAC,CAAC;AACrE,wBAAgB,UAAU,CAAC,KAAK,EAAE,cAAc,2CAU/C;yBAVe,UAAU;;;;;;;;;AAuB1B,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,SAAS,CAAC,CAAC;AACzE,wBAAgB,YAAY,CAAC,KAAK,EAAE,gBAAgB,2CAWnD;yBAXe,YAAY;;;;;;AAsB5B,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,SAAS,CAAC,CAAC;AACzE,wBAAgB,YAAY,4CAI3B;yBAJe,YAAY;;;AAO5B,OAAO,EAAE,YAAY,EAAE,oBAAoB,EAAE,CAAC"}
@@ -1,3 +1,3 @@
1
1
  export declare function emailFormData(e: Event, callback: (e: Event) => void): Promise<void>;
2
2
  export declare function emailJSON(jsonData: any, callback?: () => void): Promise<void>;
3
- //# sourceMappingURL=form.submit.d.ts.map
3
+ //# sourceMappingURL=formemailer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formemailer.d.ts","sourceRoot":"","sources":["../../../../../src/components/sitebuilder/form/formemailer.tsx"],"names":[],"mappings":"AASA,wBAAsB,aAAa,CAAC,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,CAAC,EAAE,KAAK,KAAK,IAAI,iBA6BzE;AAID,wBAAsB,SAAS,CAAC,QAAQ,EAAE,GAAG,EAAE,QAAQ,CAAC,EAAE,MAAM,IAAI,iBAyBnE"}
@@ -0,0 +1,14 @@
1
+ import PropTypes, { InferProps } from 'prop-types';
2
+ import { FormEngineProps } from './formtypes';
3
+ export type FormEngineType = InferProps<typeof FormEngine.propTypes>;
4
+ export declare function FormEngine(props: FormEngineProps): import("react/jsx-runtime").JSX.Element;
5
+ export declare namespace FormEngine {
6
+ var propTypes: {
7
+ name: PropTypes.Requireable<string>;
8
+ id: PropTypes.Requireable<string>;
9
+ method: PropTypes.Requireable<string>;
10
+ onSubmitHandler: PropTypes.Requireable<(...args: any[]) => any>;
11
+ formData: PropTypes.Validator<object>;
12
+ };
13
+ }
14
+ //# sourceMappingURL=formengine.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formengine.d.ts","sourceRoot":"","sources":["../../../../../src/components/sitebuilder/form/formengine.tsx"],"names":[],"mappings":"AACA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAInD,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAc9C,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,SAAS,CAAC,CAAC;AA4ErE,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,2CAMhD;yBANe,UAAU"}
@@ -0,0 +1,25 @@
1
+ import PropTypes, { InferProps } from 'prop-types';
2
+ import { FormExtractorProps, FormExtractEngineProps, FormExtractUIProps } from './formtypes';
3
+ export type FormExtractorType = InferProps<typeof FormExtractor.propTypes>;
4
+ export declare function FormExtractor(props: FormExtractorProps): import("react/jsx-runtime").JSX.Element;
5
+ export declare namespace FormExtractor {
6
+ var propTypes: {
7
+ url: PropTypes.Requireable<string>;
8
+ htmlPaste: PropTypes.Requireable<string>;
9
+ };
10
+ }
11
+ export declare function FormExtractUI(props: FormExtractUIProps): import("react/jsx-runtime").JSX.Element;
12
+ export declare namespace FormExtractUI {
13
+ var propTypes: {
14
+ setParentState: PropTypes.Validator<(...args: any[]) => any>;
15
+ };
16
+ }
17
+ export declare function FormExtractEngine(props: FormExtractEngineProps): import("react/jsx-runtime").JSX.Element;
18
+ export declare namespace FormExtractEngine {
19
+ var propTypes: {
20
+ url: PropTypes.Requireable<string>;
21
+ htmlPaste: PropTypes.Requireable<string>;
22
+ setFormData: PropTypes.Validator<(...args: any[]) => any>;
23
+ };
24
+ }
25
+ //# sourceMappingURL=formextractor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formextractor.d.ts","sourceRoot":"","sources":["../../../../../src/components/sitebuilder/form/formextractor.tsx"],"names":[],"mappings":"AACA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAKnD,OAAO,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAY7F,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,SAAS,CAAC,CAAC;AAC3E,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,2CAyCtD;yBAzCe,aAAa;;;;;;AA8C7B,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,2CAmCtD;yBAnCe,aAAa;;;;;AA0C7B,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,2CAmL9D;yBAnLe,iBAAiB"}
@@ -26,4 +26,4 @@ export declare function isValidUrl(field: {
26
26
  export declare function isValidDiscountCode(field: {
27
27
  value: string;
28
28
  }): Promise<boolean | undefined>;
29
- //# sourceMappingURL=formvalidations.d.ts.map
29
+ //# sourceMappingURL=formfieldvalidations.d.ts.map