@f1studio/form-spec 5.0.0-alpha.101

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 (225) hide show
  1. package/Designer.d.ts +89 -0
  2. package/FormSpec.TS/Components/HelloComponent.js +68 -0
  3. package/FormSpec.TS/Components/HelloComponent.js.map +1 -0
  4. package/FormSpec.TS/Components/HelloComponent.ts.map +1 -0
  5. package/FormSpec.TS/Designer.js +526 -0
  6. package/FormSpec.TS/Designer.js.map +1 -0
  7. package/FormSpec.TS/Designer.ts.map +1 -0
  8. package/FormSpec.TS/FormSpec.js +5400 -0
  9. package/FormSpec.TS/FormSpec.js.map +1 -0
  10. package/FormSpec.TS/FormSpec.ts.map +1 -0
  11. package/FormSpec.TS/FormSpecHelpers.js +382 -0
  12. package/FormSpec.TS/FormSpecHelpers.js.map +1 -0
  13. package/FormSpec.TS/FormSpecHelpers.ts.map +1 -0
  14. package/FormSpec.TS/Helpers.js +732 -0
  15. package/FormSpec.TS/Helpers.js.map +1 -0
  16. package/FormSpec.TS/Helpers.ts.map +1 -0
  17. package/FormSpec.TS/Interfaces.js +257 -0
  18. package/FormSpec.TS/Interfaces.js.map +1 -0
  19. package/FormSpec.TS/Interfaces.ts.map +1 -0
  20. package/FormSpec.TS/Interop/FormSpec.Api.Helpers.js +854 -0
  21. package/FormSpec.TS/Interop/FormSpec.Api.Helpers.js.map +1 -0
  22. package/FormSpec.TS/Interop/FormSpec.Api.Helpers.ts.map +1 -0
  23. package/FormSpec.TS/Interop/FormSpec.Api.Option.js +1961 -0
  24. package/FormSpec.TS/Interop/FormSpec.Api.Option.js.map +1 -0
  25. package/FormSpec.TS/Interop/FormSpec.Api.Option.ts.map +1 -0
  26. package/FormSpec.TS/Interop/FormSpec.Values.Api.Option.js +1367 -0
  27. package/FormSpec.TS/Interop/FormSpec.Values.Api.Option.js.map +1 -0
  28. package/FormSpec.TS/Interop/FormSpec.Values.Api.Option.ts.map +1 -0
  29. package/FormSpec.TS/Logging/LogTypes.js +347 -0
  30. package/FormSpec.TS/Logging/LogTypes.js.map +1 -0
  31. package/FormSpec.TS/Logging/LogTypes.ts.map +1 -0
  32. package/FormSpec.TS/Migrator.js +230 -0
  33. package/FormSpec.TS/Migrator.js.map +1 -0
  34. package/FormSpec.TS/Migrator.ts.map +1 -0
  35. package/FormSpec.TS/PathwayDataExtractor.js +361 -0
  36. package/FormSpec.TS/PathwayDataExtractor.js.map +1 -0
  37. package/FormSpec.TS/PathwayDataExtractor.ts.map +1 -0
  38. package/FormSpec.TS/PathwayExecutor.js +1321 -0
  39. package/FormSpec.TS/PathwayExecutor.js.map +1 -0
  40. package/FormSpec.TS/PathwayExecutor.ts.map +1 -0
  41. package/FormSpec.TS/PathwayValidator.js +346 -0
  42. package/FormSpec.TS/PathwayValidator.js.map +1 -0
  43. package/FormSpec.TS/PathwayValidator.ts.map +1 -0
  44. package/FormSpec.TS/PluginInterface.js +171 -0
  45. package/FormSpec.TS/PluginInterface.js.map +1 -0
  46. package/FormSpec.TS/PluginInterface.ts.map +1 -0
  47. package/FormSpec.TS/Prelude.js +59 -0
  48. package/FormSpec.TS/Prelude.js.map +1 -0
  49. package/FormSpec.TS/Prelude.ts.map +1 -0
  50. package/FormSpec.TS/Renderers/FormSpecMarkdownRenderer.js +958 -0
  51. package/FormSpec.TS/Renderers/FormSpecMarkdownRenderer.js.map +1 -0
  52. package/FormSpec.TS/Renderers/FormSpecMarkdownRenderer.ts.map +1 -0
  53. package/FormSpec.TS/Renderers/MermaidRenderer.js +228 -0
  54. package/FormSpec.TS/Renderers/MermaidRenderer.js.map +1 -0
  55. package/FormSpec.TS/Renderers/MermaidRenderer.ts.map +1 -0
  56. package/FormSpec.TS/Renderers/PathwayRenderers.js +190 -0
  57. package/FormSpec.TS/Renderers/PathwayRenderers.js.map +1 -0
  58. package/FormSpec.TS/Renderers/PathwayRenderers.ts.map +1 -0
  59. package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Base.fs +511 -0
  60. package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Base.fs.js +437 -0
  61. package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Base.fs.js.map +1 -0
  62. package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Base.fs.ts.map +1 -0
  63. package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Error.fs +16 -0
  64. package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Error.fs.js +73 -0
  65. package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Error.fs.js.map +1 -0
  66. package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Error.fs.ts.map +1 -0
  67. package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Extensions.fs +50 -0
  68. package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Extensions.fs.js +72 -0
  69. package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Extensions.fs.js.map +1 -0
  70. package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Extensions.fs.ts.map +1 -0
  71. package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Fable.Form.fableproj +28 -0
  72. package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Field.fs +24 -0
  73. package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Field.fs.js +56 -0
  74. package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Field.fs.js.map +1 -0
  75. package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Field.fs.ts.map +1 -0
  76. package/FormSpec.TS/fable_modules/Fable.Form.Simple.5.0.1/Fable.Form.Simple.fableproj +31 -0
  77. package/FormSpec.TS/fable_modules/Fable.Form.Simple.5.0.1/Form.fs +178 -0
  78. package/FormSpec.TS/fable_modules/Fable.Form.Simple.5.0.1/Form.fs.js +464 -0
  79. package/FormSpec.TS/fable_modules/Fable.Form.Simple.5.0.1/Form.fs.js.map +1 -0
  80. package/FormSpec.TS/fable_modules/Fable.Form.Simple.5.0.1/Form.fs.ts.map +1 -0
  81. package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.Extensions.fs +17 -0
  82. package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.Hooks.fs +152 -0
  83. package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.Hooks.fs.js +25 -0
  84. package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.Hooks.fs.js.map +1 -0
  85. package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.Hooks.fs.ts.map +1 -0
  86. package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.Types.fableproj +28 -0
  87. package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.fs +218 -0
  88. package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.fs.js +37 -0
  89. package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.fs.js.map +1 -0
  90. package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.fs.ts.map +1 -0
  91. package/FormSpec.TS/fable_modules/Fable.ReactDom.Types.18.2.0/Fable.ReactDom.Types.fableproj +27 -0
  92. package/FormSpec.TS/fable_modules/Fable.ReactDom.Types.18.2.0/Fable.ReactDom.fs +82 -0
  93. package/FormSpec.TS/fable_modules/Fable.ReactDom.Types.18.2.0/Fable.ReactDom.fs.js +7 -0
  94. package/FormSpec.TS/fable_modules/Fable.ReactDom.Types.18.2.0/Fable.ReactDom.fs.js.map +1 -0
  95. package/FormSpec.TS/fable_modules/Fable.ReactDom.Types.18.2.0/Fable.ReactDom.fs.ts.map +1 -0
  96. package/FormSpec.TS/fable_modules/Feliz.2.7.0/BorderStyle.fs +59 -0
  97. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Colors.fs +154 -0
  98. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Colors.fs.js +32 -0
  99. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Colors.fs.js.map +1 -0
  100. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Colors.fs.ts.map +1 -0
  101. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Feliz.fableproj +42 -0
  102. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Fonts.fs +240 -0
  103. package/FormSpec.TS/fable_modules/Feliz.2.7.0/GridTypes.fs +24 -0
  104. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Html.fs +826 -0
  105. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Interop.fs +83 -0
  106. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Interop.fs.js +292 -0
  107. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Interop.fs.js.map +1 -0
  108. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Interop.fs.ts.map +1 -0
  109. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Key.fs +65 -0
  110. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Key.fs.js +229 -0
  111. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Key.fs.js.map +1 -0
  112. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Key.fs.ts.map +1 -0
  113. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Length.fs +91 -0
  114. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Locale.fs +876 -0
  115. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Properties.fs +4080 -0
  116. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Properties.fs.js +133 -0
  117. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Properties.fs.js.map +1 -0
  118. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Properties.fs.ts.map +1 -0
  119. package/FormSpec.TS/fable_modules/Feliz.2.7.0/React.fs +656 -0
  120. package/FormSpec.TS/fable_modules/Feliz.2.7.0/React.fs.js +561 -0
  121. package/FormSpec.TS/fable_modules/Feliz.2.7.0/React.fs.js.map +1 -0
  122. package/FormSpec.TS/fable_modules/Feliz.2.7.0/React.fs.ts.map +1 -0
  123. package/FormSpec.TS/fable_modules/Feliz.2.7.0/ReactDOM.fs +25 -0
  124. package/FormSpec.TS/fable_modules/Feliz.2.7.0/ReactDOM.fs.js +46 -0
  125. package/FormSpec.TS/fable_modules/Feliz.2.7.0/ReactDOM.fs.js.map +1 -0
  126. package/FormSpec.TS/fable_modules/Feliz.2.7.0/ReactDOM.fs.ts.map +1 -0
  127. package/FormSpec.TS/fable_modules/Feliz.2.7.0/ReactInterop.js +63 -0
  128. package/FormSpec.TS/fable_modules/Feliz.2.7.0/ReactInterop.js.map +1 -0
  129. package/FormSpec.TS/fable_modules/Feliz.2.7.0/ReactTypes.fs +41 -0
  130. package/FormSpec.TS/fable_modules/Feliz.2.7.0/ReactTypes.fs.js +7 -0
  131. package/FormSpec.TS/fable_modules/Feliz.2.7.0/ReactTypes.fs.js.map +1 -0
  132. package/FormSpec.TS/fable_modules/Feliz.2.7.0/ReactTypes.fs.ts.map +1 -0
  133. package/FormSpec.TS/fable_modules/Feliz.2.7.0/StyleTypes.fs +53 -0
  134. package/FormSpec.TS/fable_modules/Feliz.2.7.0/StyleTypes.fs.js +7 -0
  135. package/FormSpec.TS/fable_modules/Feliz.2.7.0/StyleTypes.fs.js.map +1 -0
  136. package/FormSpec.TS/fable_modules/Feliz.2.7.0/StyleTypes.fs.ts.map +1 -0
  137. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Styles.fs +5740 -0
  138. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Svg.fs +1455 -0
  139. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Svg.fs.js +39 -0
  140. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Svg.fs.js.map +1 -0
  141. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Svg.fs.ts.map +1 -0
  142. package/FormSpec.TS/fable_modules/Feliz.2.7.0/TextDecorationLine.fs +13 -0
  143. package/FormSpec.TS/fable_modules/Feliz.2.7.0/TextDecorationStyle.fs +33 -0
  144. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Transform.fs +181 -0
  145. package/FormSpec.TS/fable_modules/Feliz.2.7.0/TransformOrigin.fs +17 -0
  146. package/FormSpec.TS/fable_modules/Feliz.2.7.0/TransitionProperty.fs +162 -0
  147. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Types.fs +13 -0
  148. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Types.fs.js +7 -0
  149. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Types.fs.js.map +1 -0
  150. package/FormSpec.TS/fable_modules/Feliz.2.7.0/Types.fs.ts.map +1 -0
  151. package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Decode.fs +1768 -0
  152. package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Decode.fs.js +2337 -0
  153. package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Decode.fs.js.map +1 -0
  154. package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Decode.fs.ts.map +1 -0
  155. package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Encode.fs +811 -0
  156. package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Encode.fs.js +465 -0
  157. package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Encode.fs.js.map +1 -0
  158. package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Encode.fs.ts.map +1 -0
  159. package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Extra.fs +47 -0
  160. package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Extra.fs.js +18 -0
  161. package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Extra.fs.js.map +1 -0
  162. package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Extra.fs.ts.map +1 -0
  163. package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Thoth.Json.fableproj +34 -0
  164. package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Types.fs +68 -0
  165. package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Types.fs.js +355 -0
  166. package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Types.fs.js.map +1 -0
  167. package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Types.fs.ts.map +1 -0
  168. package/FormSpec.TS/fable_modules/project_cracked.json +1 -0
  169. package/FormSpec.d.ts +1257 -0
  170. package/FormSpecHelpers.d.ts +50 -0
  171. package/Helpers.d.ts +147 -0
  172. package/Interfaces.d.ts +70 -0
  173. package/Interop/FormSpec.Api.Helpers.d.ts +247 -0
  174. package/Interop/FormSpec.Api.Helpers.d.ts.map +1 -0
  175. package/Interop/FormSpec.Api.Option.d.ts +384 -0
  176. package/Interop/FormSpec.Api.Option.d.ts.map +1 -0
  177. package/Interop/FormSpec.Values.Api.Option.d.ts +324 -0
  178. package/Interop/FormSpec.Values.Api.Option.d.ts.map +1 -0
  179. package/Migrator.d.ts +59 -0
  180. package/PathwayDataExtractor.d.ts +19 -0
  181. package/PathwayExecutor.d.ts +210 -0
  182. package/PathwayValidator.d.ts +52 -0
  183. package/PluginInterface.d.ts +36 -0
  184. package/Prelude.d.ts +11 -0
  185. package/README.TS.md +622 -0
  186. package/README.md +85 -0
  187. package/package.json +39 -0
  188. package/src/Components/HelloComponent.ts +48 -0
  189. package/src/Components/HelloComponent.ts.map +1 -0
  190. package/src/Designer.ts +389 -0
  191. package/src/Designer.ts.map +1 -0
  192. package/src/FormSpec.ts +3114 -0
  193. package/src/FormSpec.ts.map +1 -0
  194. package/src/FormSpecHelpers.ts +374 -0
  195. package/src/FormSpecHelpers.ts.map +1 -0
  196. package/src/Helpers.ts +765 -0
  197. package/src/Helpers.ts.map +1 -0
  198. package/src/Interfaces.ts +166 -0
  199. package/src/Interfaces.ts.map +1 -0
  200. package/src/Interop/FormSpec.Api.Helpers.ts +872 -0
  201. package/src/Interop/FormSpec.Api.Helpers.ts.map +1 -0
  202. package/src/Interop/FormSpec.Api.Option.ts +1618 -0
  203. package/src/Interop/FormSpec.Api.Option.ts.map +1 -0
  204. package/src/Interop/FormSpec.Values.Api.Option.ts +1214 -0
  205. package/src/Interop/FormSpec.Values.Api.Option.ts.map +1 -0
  206. package/src/Logging/LogTypes.ts +212 -0
  207. package/src/Logging/LogTypes.ts.map +1 -0
  208. package/src/Migrator.ts +156 -0
  209. package/src/Migrator.ts.map +1 -0
  210. package/src/PathwayDataExtractor.ts +290 -0
  211. package/src/PathwayDataExtractor.ts.map +1 -0
  212. package/src/PathwayExecutor.ts +1102 -0
  213. package/src/PathwayExecutor.ts.map +1 -0
  214. package/src/PathwayValidator.ts +244 -0
  215. package/src/PathwayValidator.ts.map +1 -0
  216. package/src/PluginInterface.ts +79 -0
  217. package/src/PluginInterface.ts.map +1 -0
  218. package/src/Prelude.ts +21 -0
  219. package/src/Prelude.ts.map +1 -0
  220. package/src/Renderers/FormSpecMarkdownRenderer.ts +874 -0
  221. package/src/Renderers/FormSpecMarkdownRenderer.ts.map +1 -0
  222. package/src/Renderers/MermaidRenderer.ts +218 -0
  223. package/src/Renderers/MermaidRenderer.ts.map +1 -0
  224. package/src/Renderers/PathwayRenderers.ts +200 -0
  225. package/src/Renderers/PathwayRenderers.ts.map +1 -0
@@ -0,0 +1,561 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: Object.getOwnPropertyDescriptor(all, name).get
9
+ });
10
+ }
11
+ _export(exports, {
12
+ get Feliz_React__React_useStateWithUpdater_Static_FCFD9EF () {
13
+ return Feliz_React__React_useStateWithUpdater_Static_FCFD9EF;
14
+ },
15
+ get Internal () {
16
+ return Internal;
17
+ },
18
+ get Internal_$ctor () {
19
+ return Internal_$ctor;
20
+ },
21
+ get Internal_$reflection () {
22
+ return Internal_$reflection;
23
+ },
24
+ get Internal_functionComponent_Z45822769 () {
25
+ return Internal_functionComponent_Z45822769;
26
+ },
27
+ get Internal_memo_Z1716C242 () {
28
+ return Internal_memo_Z1716C242;
29
+ },
30
+ get Internal_propsWithKey () {
31
+ return Internal_propsWithKey;
32
+ },
33
+ get React () {
34
+ return React;
35
+ },
36
+ get ReactInterop_useDebugValueWithFormatter () {
37
+ return ReactInterop_useDebugValueWithFormatter;
38
+ },
39
+ get ReactInterop_useEffect () {
40
+ return ReactInterop_useEffect;
41
+ },
42
+ get ReactInterop_useEffectWithDeps () {
43
+ return ReactInterop_useEffectWithDeps;
44
+ },
45
+ get ReactInterop_useLayoutEffect () {
46
+ return ReactInterop_useLayoutEffect;
47
+ },
48
+ get ReactInterop_useLayoutEffectWithDeps () {
49
+ return ReactInterop_useLayoutEffectWithDeps;
50
+ },
51
+ get React_$reflection () {
52
+ return React_$reflection;
53
+ },
54
+ get React_contextConsumer_56D53A40 () {
55
+ return React_contextConsumer_56D53A40;
56
+ },
57
+ get React_contextConsumer_Z68910595 () {
58
+ return React_contextConsumer_Z68910595;
59
+ },
60
+ get React_contextProvider_138D2F56 () {
61
+ return React_contextProvider_138D2F56;
62
+ },
63
+ get React_contextProvider_34D9BBBD () {
64
+ return React_contextProvider_34D9BBBD;
65
+ },
66
+ get React_createContext_Z10F951C2 () {
67
+ return React_createContext_Z10F951C2;
68
+ },
69
+ get React_createDisposable_3A5B6456 () {
70
+ return React_createDisposable_3A5B6456;
71
+ },
72
+ get React_forwardRef_3790D881 () {
73
+ return React_forwardRef_3790D881;
74
+ },
75
+ get React_forwardRef_7DC3DB1A () {
76
+ return React_forwardRef_7DC3DB1A;
77
+ },
78
+ get React_functionComponent_50AC6514 () {
79
+ return React_functionComponent_50AC6514;
80
+ },
81
+ get React_functionComponent_Z32EE5C21 () {
82
+ return React_functionComponent_Z32EE5C21;
83
+ },
84
+ get React_functionComponent_Z336EF691 () {
85
+ return React_functionComponent_Z336EF691;
86
+ },
87
+ get React_functionComponent_Z552AB1C () {
88
+ return React_functionComponent_Z552AB1C;
89
+ },
90
+ get React_lazy$0027_4712D3AE () {
91
+ return React_lazy$0027_4712D3AE;
92
+ },
93
+ get React_lazy$0027_Z3D8450FC () {
94
+ return React_lazy$0027_Z3D8450FC;
95
+ },
96
+ get React_memo_Z4010840A () {
97
+ return React_memo_Z4010840A;
98
+ },
99
+ get React_memo_Z496F9C23 () {
100
+ return React_memo_Z496F9C23;
101
+ },
102
+ get React_memo_Z71E4ACFA () {
103
+ return React_memo_Z71E4ACFA;
104
+ },
105
+ get React_memo_Z7F016AD3 () {
106
+ return React_memo_Z7F016AD3;
107
+ },
108
+ get React_strictMode_1FEFDAB5 () {
109
+ return React_strictMode_1FEFDAB5;
110
+ },
111
+ get React_suspense_1FEFDAB5 () {
112
+ return React_suspense_1FEFDAB5;
113
+ },
114
+ get React_suspense_36DAE502 () {
115
+ return React_suspense_36DAE502;
116
+ },
117
+ get React_useStateWithUpdater_1505 () {
118
+ return React_useStateWithUpdater_1505;
119
+ },
120
+ get useFeliz_React__React_useState_Static_1505 () {
121
+ return useFeliz_React__React_useState_Static_1505;
122
+ },
123
+ get useReact_useButtonRef () {
124
+ return useReact_useButtonRef;
125
+ },
126
+ get useReact_useCallbackRef_7C4B0DD6 () {
127
+ return useReact_useCallbackRef_7C4B0DD6;
128
+ },
129
+ get useReact_useCallback_1CA17B65 () {
130
+ return useReact_useCallback_1CA17B65;
131
+ },
132
+ get useReact_useContext_37FA55CF () {
133
+ return useReact_useContext_37FA55CF;
134
+ },
135
+ get useReact_useDebugValue_77A55D6D () {
136
+ return useReact_useDebugValue_77A55D6D;
137
+ },
138
+ get useReact_useDebugValue_Z721C83C5 () {
139
+ return useReact_useDebugValue_Z721C83C5;
140
+ },
141
+ get useReact_useEffectOnce_3A5B6456 () {
142
+ return useReact_useEffectOnce_3A5B6456;
143
+ },
144
+ get useReact_useEffectOnce_69320292 () {
145
+ return useReact_useEffectOnce_69320292;
146
+ },
147
+ get useReact_useEffectOnce_Z5ECA432F () {
148
+ return useReact_useEffectOnce_Z5ECA432F;
149
+ },
150
+ get useReact_useEffect_311B4086 () {
151
+ return useReact_useEffect_311B4086;
152
+ },
153
+ get useReact_useEffect_3A5B6456 () {
154
+ return useReact_useEffect_3A5B6456;
155
+ },
156
+ get useReact_useEffect_7331F961 () {
157
+ return useReact_useEffect_7331F961;
158
+ },
159
+ get useReact_useEffect_Z5ECA432F () {
160
+ return useReact_useEffect_Z5ECA432F;
161
+ },
162
+ get useReact_useElementRef () {
163
+ return useReact_useElementRef;
164
+ },
165
+ get useReact_useImperativeHandle_33F5CF55 () {
166
+ return useReact_useImperativeHandle_33F5CF55;
167
+ },
168
+ get useReact_useImperativeHandle_596DDC25 () {
169
+ return useReact_useImperativeHandle_596DDC25;
170
+ },
171
+ get useReact_useInputRef () {
172
+ return useReact_useInputRef;
173
+ },
174
+ get useReact_useLayoutEffect_311B4086 () {
175
+ return useReact_useLayoutEffect_311B4086;
176
+ },
177
+ get useReact_useLayoutEffect_3A5B6456 () {
178
+ return useReact_useLayoutEffect_3A5B6456;
179
+ },
180
+ get useReact_useLayoutEffect_7331F961 () {
181
+ return useReact_useLayoutEffect_7331F961;
182
+ },
183
+ get useReact_useLayoutEffect_Z5ECA432F () {
184
+ return useReact_useLayoutEffect_Z5ECA432F;
185
+ },
186
+ get useReact_useMemo_10C6A43C () {
187
+ return useReact_useMemo_10C6A43C;
188
+ },
189
+ get useReact_useReducer_2B9E6EA0 () {
190
+ return useReact_useReducer_2B9E6EA0;
191
+ },
192
+ get useReact_useRef_1505 () {
193
+ return useReact_useRef_1505;
194
+ },
195
+ get useReact_useState_FCFD9EF () {
196
+ return useReact_useState_FCFD9EF;
197
+ }
198
+ });
199
+ const _ReactInterop = require("./ReactInterop.js");
200
+ const _Reflection = require("@fable-org/fable-library-js/Reflection.js");
201
+ const _Seq = require("@fable-org/fable-library-js/Seq.js");
202
+ const _Option = require("@fable-org/fable-library-js/Option.js");
203
+ const _Interopfs = require("./Interop.fs.js");
204
+ const _Util = require("@fable-org/fable-library-js/Util.js");
205
+ const _react = /*#__PURE__*/ _interop_require_wildcard(require("react"));
206
+ function _getRequireWildcardCache(nodeInterop) {
207
+ if (typeof WeakMap !== "function") return null;
208
+ var cacheBabelInterop = new WeakMap();
209
+ var cacheNodeInterop = new WeakMap();
210
+ return (_getRequireWildcardCache = function(nodeInterop) {
211
+ return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
212
+ })(nodeInterop);
213
+ }
214
+ function _interop_require_wildcard(obj, nodeInterop) {
215
+ if (!nodeInterop && obj && obj.__esModule) {
216
+ return obj;
217
+ }
218
+ if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
219
+ return {
220
+ default: obj
221
+ };
222
+ }
223
+ var cache = _getRequireWildcardCache(nodeInterop);
224
+ if (cache && cache.has(obj)) {
225
+ return cache.get(obj);
226
+ }
227
+ var newObj = {
228
+ __proto__: null
229
+ };
230
+ var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
231
+ for(var key in obj){
232
+ if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
233
+ var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
234
+ if (desc && (desc.get || desc.set)) {
235
+ Object.defineProperty(newObj, key, desc);
236
+ } else {
237
+ newObj[key] = obj[key];
238
+ }
239
+ }
240
+ }
241
+ newObj.default = obj;
242
+ if (cache) {
243
+ cache.set(obj, newObj);
244
+ }
245
+ return newObj;
246
+ }
247
+ const ReactInterop_useDebugValueWithFormatter = _ReactInterop.useDebugValue;
248
+ const ReactInterop_useEffect = _ReactInterop.useEffect;
249
+ const ReactInterop_useEffectWithDeps = _ReactInterop.useEffectWithDeps;
250
+ const ReactInterop_useLayoutEffect = _ReactInterop.useLayoutEffect;
251
+ const ReactInterop_useLayoutEffectWithDeps = _ReactInterop.useLayoutEffectWithDeps;
252
+ class Internal {
253
+ constructor(){}
254
+ }
255
+ function Internal_$reflection() {
256
+ return (0, _Reflection.class_type)("Feliz.Internal", undefined, Internal);
257
+ }
258
+ function Internal_$ctor() {
259
+ return new Internal();
260
+ }
261
+ function Internal_functionComponent_Z45822769(renderElement, name, withKey) {
262
+ (0, _Seq.iterate)((name_1)=>{
263
+ renderElement.displayName = name_1;
264
+ }, (0, _Option.toArray)(name));
265
+ return (props)=>{
266
+ const props_2 = Internal_propsWithKey(withKey, props);
267
+ return _Interopfs.Interop_reactApi.createElement(renderElement, props_2);
268
+ };
269
+ }
270
+ function Internal_memo_Z1716C242(renderElement, name, areEqual, withKey) {
271
+ const memoElementType = _Interopfs.Interop_reactApi.memo(renderElement, (0, _Util.uncurry2)((0, _Option.defaultArg)((0, _Option.map)(_Util.curry2, areEqual), (0, _Util.defaultOf)())));
272
+ (0, _Seq.iterate)((name_1)=>{
273
+ renderElement.displayName = name_1;
274
+ }, (0, _Option.toArray)(name));
275
+ return (props)=>{
276
+ const props_2 = Internal_propsWithKey(withKey, props);
277
+ return _Interopfs.Interop_reactApi.createElement(memoElementType, props_2);
278
+ };
279
+ }
280
+ function Internal_propsWithKey(withKey, props) {
281
+ if (withKey == null) {
282
+ return props;
283
+ } else {
284
+ const f = (0, _Option.value)(withKey);
285
+ props.key = f(props);
286
+ return props;
287
+ }
288
+ }
289
+ class React {
290
+ constructor(){}
291
+ }
292
+ function React_$reflection() {
293
+ return (0, _Reflection.class_type)("Feliz.React", undefined, React);
294
+ }
295
+ function React_createDisposable_3A5B6456(dispose) {
296
+ return {
297
+ Dispose () {
298
+ dispose();
299
+ }
300
+ };
301
+ }
302
+ function useReact_useState_FCFD9EF(initializer) {
303
+ return _Interopfs.Interop_reactApi.useState(initializer);
304
+ }
305
+ function useReact_useReducer_2B9E6EA0(update, initialState) {
306
+ const arg = update;
307
+ return _Interopfs.Interop_reactApi.useReducer(arg, initialState);
308
+ }
309
+ function useReact_useEffect_Z5ECA432F(effect) {
310
+ ReactInterop_useEffect(effect);
311
+ }
312
+ function useReact_useEffect_7331F961(effect, dependencies) {
313
+ ReactInterop_useEffectWithDeps(effect, dependencies);
314
+ }
315
+ function useReact_useLayoutEffect_Z5ECA432F(effect) {
316
+ ReactInterop_useLayoutEffect(effect);
317
+ }
318
+ function useReact_useLayoutEffect_7331F961(effect, dependencies) {
319
+ ReactInterop_useLayoutEffectWithDeps(effect, dependencies);
320
+ }
321
+ function useReact_useLayoutEffect_3A5B6456(effect) {
322
+ ReactInterop_useLayoutEffect((_arg)=>{
323
+ effect();
324
+ return React_createDisposable_3A5B6456(()=>{});
325
+ });
326
+ }
327
+ function useReact_useLayoutEffect_311B4086(effect, dependencies) {
328
+ ReactInterop_useLayoutEffectWithDeps((_arg)=>{
329
+ effect();
330
+ return React_createDisposable_3A5B6456(()=>{});
331
+ }, dependencies);
332
+ }
333
+ function useReact_useEffectOnce_3A5B6456(effect) {
334
+ const calledOnce = _Interopfs.Interop_reactApi.useRef(false);
335
+ useReact_useEffect_311B4086(()=>{
336
+ if (calledOnce.current) {} else {
337
+ calledOnce.current = true;
338
+ effect();
339
+ }
340
+ }, []);
341
+ }
342
+ function useReact_useEffectOnce_Z5ECA432F(effect) {
343
+ const destroyFunc = _Interopfs.Interop_reactApi.useRef(undefined);
344
+ const calledOnce = _Interopfs.Interop_reactApi.useRef(false);
345
+ const renderAfterCalled = _Interopfs.Interop_reactApi.useRef(false);
346
+ if (calledOnce.current) {
347
+ renderAfterCalled.current = true;
348
+ }
349
+ useReact_useEffect_7331F961(()=>{
350
+ let disposeOption;
351
+ if (calledOnce.current) {
352
+ disposeOption = undefined;
353
+ } else {
354
+ calledOnce.current = true;
355
+ destroyFunc.current = (0, _Option.some)(effect());
356
+ disposeOption = renderAfterCalled.current ? destroyFunc.current : undefined;
357
+ }
358
+ return {
359
+ Dispose () {
360
+ (0, _Seq.iterate)((d)=>{
361
+ let copyOfStruct = d;
362
+ (0, _Util.disposeSafe)(copyOfStruct);
363
+ }, (0, _Option.toArray)(disposeOption));
364
+ }
365
+ };
366
+ }, []);
367
+ }
368
+ function useReact_useEffectOnce_69320292(effect) {
369
+ const destroyFunc = _Interopfs.Interop_reactApi.useRef(undefined);
370
+ const calledOnce = _Interopfs.Interop_reactApi.useRef(false);
371
+ const renderAfterCalled = _Interopfs.Interop_reactApi.useRef(false);
372
+ if (calledOnce.current) {
373
+ renderAfterCalled.current = true;
374
+ }
375
+ useReact_useEffect_7331F961(()=>{
376
+ let disposeOption;
377
+ if (calledOnce.current) {
378
+ disposeOption = undefined;
379
+ } else {
380
+ calledOnce.current = true;
381
+ destroyFunc.current = effect();
382
+ disposeOption = renderAfterCalled.current ? destroyFunc.current : undefined;
383
+ }
384
+ return {
385
+ Dispose () {
386
+ (0, _Seq.iterate)((d)=>{
387
+ let copyOfStruct = d;
388
+ (0, _Util.disposeSafe)(copyOfStruct);
389
+ }, (0, _Option.toArray)(disposeOption));
390
+ }
391
+ };
392
+ }, []);
393
+ }
394
+ function useReact_useEffect_3A5B6456(effect) {
395
+ ReactInterop_useEffect((_arg)=>{
396
+ effect();
397
+ return React_createDisposable_3A5B6456(()=>{});
398
+ });
399
+ }
400
+ function useReact_useEffect_311B4086(effect, dependencies) {
401
+ ReactInterop_useEffectWithDeps((_arg)=>{
402
+ effect();
403
+ return React_createDisposable_3A5B6456(()=>{});
404
+ }, dependencies);
405
+ }
406
+ function useReact_useDebugValue_Z721C83C5(value) {
407
+ ReactInterop_useDebugValueWithFormatter(value, (x)=>x);
408
+ }
409
+ function useReact_useDebugValue_77A55D6D(value, formatter) {
410
+ ReactInterop_useDebugValueWithFormatter(value, formatter);
411
+ }
412
+ function useReact_useCallback_1CA17B65(callbackFunction, dependencies) {
413
+ const dependencies_1 = (0, _Option.defaultArg)(dependencies, []);
414
+ return _Interopfs.Interop_reactApi.useCallback(callbackFunction, dependencies_1);
415
+ }
416
+ function useReact_useRef_1505(initialValue) {
417
+ return _Interopfs.Interop_reactApi.useRef(initialValue);
418
+ }
419
+ function useReact_useInputRef() {
420
+ return useReact_useRef_1505(undefined);
421
+ }
422
+ function useReact_useButtonRef() {
423
+ return useReact_useRef_1505(undefined);
424
+ }
425
+ function useReact_useElementRef() {
426
+ return useReact_useRef_1505(undefined);
427
+ }
428
+ function useReact_useMemo_10C6A43C(createFunction, dependencies) {
429
+ const dependencies_1 = (0, _Option.defaultArg)(dependencies, []);
430
+ return _Interopfs.Interop_reactApi.useMemo(createFunction, dependencies_1);
431
+ }
432
+ function React_functionComponent_Z336EF691(render, withKey) {
433
+ return Internal_functionComponent_Z45822769(render, undefined, (0, _Option.unwrap)(withKey));
434
+ }
435
+ function React_functionComponent_50AC6514(name, render, withKey) {
436
+ return Internal_functionComponent_Z45822769(render, name, (0, _Option.unwrap)(withKey));
437
+ }
438
+ function React_functionComponent_Z552AB1C(render, withKey) {
439
+ return Internal_functionComponent_Z45822769((arg)=>{
440
+ const xs_1 = render(arg);
441
+ return _react.createElement(_react.Fragment, {}, ...xs_1);
442
+ }, undefined, (0, _Option.unwrap)(withKey));
443
+ }
444
+ function React_functionComponent_Z32EE5C21(name, render, withKey) {
445
+ return Internal_functionComponent_Z45822769((arg)=>{
446
+ const xs_1 = render(arg);
447
+ return _react.createElement(_react.Fragment, {}, ...xs_1);
448
+ }, name, (0, _Option.unwrap)(withKey));
449
+ }
450
+ function React_memo_Z71E4ACFA(render, withKey, areEqual) {
451
+ return Internal_memo_Z1716C242(render, undefined, (0, _Option.unwrap)(areEqual), (0, _Option.unwrap)(withKey));
452
+ }
453
+ function React_memo_Z496F9C23(name, render, withKey, areEqual) {
454
+ return Internal_memo_Z1716C242(render, name, (0, _Option.unwrap)(areEqual), (0, _Option.unwrap)(withKey));
455
+ }
456
+ function React_memo_Z7F016AD3(render, withKey, areEqual) {
457
+ return Internal_memo_Z1716C242((arg)=>{
458
+ const xs_1 = render(arg);
459
+ return _react.createElement(_react.Fragment, {}, ...xs_1);
460
+ }, undefined, (0, _Option.unwrap)(areEqual), (0, _Option.unwrap)(withKey));
461
+ }
462
+ function React_memo_Z4010840A(name, render, withKey, areEqual) {
463
+ return Internal_memo_Z1716C242((arg)=>{
464
+ const xs_1 = render(arg);
465
+ return _react.createElement(_react.Fragment, {}, ...xs_1);
466
+ }, name, (0, _Option.unwrap)(areEqual), (0, _Option.unwrap)(withKey));
467
+ }
468
+ function React_createContext_Z10F951C2(name, defaultValue) {
469
+ const contextObject = _Interopfs.Interop_reactApi.createContext((0, _Option.defaultArg)(defaultValue, void 0));
470
+ (0, _Seq.iterate)((name_1)=>{
471
+ contextObject.displayName = name_1;
472
+ }, (0, _Option.toArray)(name));
473
+ return contextObject;
474
+ }
475
+ function React_contextProvider_34D9BBBD(contextObject, contextValue, child) {
476
+ return _Interopfs.Interop_reactApi.createElement(contextObject.Provider, {
477
+ value: contextValue
478
+ }, child);
479
+ }
480
+ function React_contextProvider_138D2F56(contextObject, contextValue, children) {
481
+ return _Interopfs.Interop_reactApi.createElement(contextObject.Provider, {
482
+ value: contextValue
483
+ }, ...children);
484
+ }
485
+ function React_contextConsumer_Z68910595(contextObject, render) {
486
+ return _Interopfs.Interop_reactApi.createElement(contextObject.Consumer, (0, _Util.defaultOf)(), render);
487
+ }
488
+ function React_contextConsumer_56D53A40(contextObject, render) {
489
+ return _Interopfs.Interop_reactApi.createElement(contextObject.Consumer, (0, _Util.defaultOf)(), (arg)=>{
490
+ const xs_1 = render(arg);
491
+ return _react.createElement(_react.Fragment, {}, ...xs_1);
492
+ });
493
+ }
494
+ function useReact_useContext_37FA55CF(contextObject) {
495
+ return _Interopfs.Interop_reactApi.useContext(contextObject);
496
+ }
497
+ function useReact_useCallbackRef_7C4B0DD6(callback) {
498
+ const lastRenderCallbackRef = useReact_useRef_1505(callback);
499
+ const callbackRef = useReact_useCallback_1CA17B65((arg)=>lastRenderCallbackRef.current(arg), []);
500
+ useReact_useLayoutEffect_3A5B6456(()=>{
501
+ lastRenderCallbackRef.current = callback;
502
+ });
503
+ return callbackRef;
504
+ }
505
+ const React_useStateWithUpdater_1505 = _react.useState;
506
+ function React_forwardRef_3790D881(render) {
507
+ const forwardRefType = _Interopfs.Interop_reactApi.forwardRef((props, ref)=>render([
508
+ props,
509
+ ref
510
+ ]));
511
+ return (tupledArg)=>{
512
+ const propsObj = Object.assign({}, tupledArg[0]);
513
+ propsObj.ref = tupledArg[1];
514
+ return _Interopfs.Interop_reactApi.createElement(forwardRefType, propsObj);
515
+ };
516
+ }
517
+ function React_forwardRef_7DC3DB1A(name, render) {
518
+ const forwardRefType = _Interopfs.Interop_reactApi.forwardRef((props, ref)=>render([
519
+ props,
520
+ ref
521
+ ]));
522
+ render.displayName = name;
523
+ return (tupledArg)=>{
524
+ const propsObj = Object.assign({}, tupledArg[0]);
525
+ propsObj.ref = tupledArg[1];
526
+ return _Interopfs.Interop_reactApi.createElement(forwardRefType, propsObj);
527
+ };
528
+ }
529
+ function React_strictMode_1FEFDAB5(children) {
530
+ return _Interopfs.Interop_reactApi.createElement(_Interopfs.Interop_reactApi.StrictMode, undefined, ...children);
531
+ }
532
+ function React_lazy$0027_4712D3AE(dynamicImport, props) {
533
+ return _Interopfs.Interop_reactApi.createElement(_Interopfs.Interop_reactApi.lazy(()=>dynamicImport), props);
534
+ }
535
+ function React_lazy$0027_Z3D8450FC(dynamicImport, props) {
536
+ return _Interopfs.Interop_reactApi.createElement(_Interopfs.Interop_reactApi.lazy(dynamicImport), props);
537
+ }
538
+ function React_suspense_1FEFDAB5(children) {
539
+ let o;
540
+ return _Interopfs.Interop_reactApi.createElement(_Interopfs.Interop_reactApi.Suspense, (o = {
541
+ fallback: (0, _Util.defaultOf)()
542
+ }, Object.assign({}, o)), ...children);
543
+ }
544
+ function React_suspense_36DAE502(children, fallback) {
545
+ let o;
546
+ return _Interopfs.Interop_reactApi.createElement(_Interopfs.Interop_reactApi.Suspense, (o = {
547
+ fallback: fallback
548
+ }, Object.assign({}, o)), ...children);
549
+ }
550
+ function useReact_useImperativeHandle_596DDC25(ref, createHandle) {
551
+ _Interopfs.Interop_reactApi.useImperativeHandle(ref, createHandle);
552
+ }
553
+ function useReact_useImperativeHandle_33F5CF55(ref, createHandle, dependencies) {
554
+ _Interopfs.Interop_reactApi.useImperativeHandle(ref, createHandle, dependencies);
555
+ }
556
+ function useFeliz_React__React_useState_Static_1505(initial) {
557
+ return _Interopfs.Interop_reactApi.useState(initial);
558
+ }
559
+ const Feliz_React__React_useStateWithUpdater_Static_FCFD9EF = _react.useState; //# sourceMappingURL=React.fs.ts.map
560
+
561
+ //# sourceMappingURL=React.fs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../FormSpec.TS/fable_modules/Feliz.2.7.0/React.fs.ts","./Html.fs"],"names":["renderElement","name","props","propsWithKey","withKey","memoElementType","areEqual","f","dispose","initializer","arg00","update","initialState","useEffect","effect","useEffectWithDeps","dependencies","useLayoutEffect","useLayoutEffectWithDeps","createDisposable","calledOnce","destroyFunc","renderAfterCalled","disposeOption","copyOfStruct","d","useDebugValueWithFormatter","value","x","formatter","callbackFunction","initialValue","useRef","createFunction","functionComponent","render","xs","memo","contextObject","defaultValue","contextValue","child","children","lastRenderCallbackRef","callback","callbackRef","useCallback","arg","forwardRefType","ref","propsObj","tupledArg","dynamicImport","o","fallback","createHandle","initial"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAoCoB,IAAA,YAAA,EAAA,CAAA;QAAyBA,cAAAA,WAAAA,GAA6BC;4BAA9DA;;QAKQC,MAAAA,UAAiBC,sBAAAC,SAATF;QACZ,OAAA,2BAAA,CAAA,aAAA,CAA+BF,eAAeE;;;;IAU9CG,MAAAA,kBAAkB,2BAAA,CAAA,IAAA,CAAsBL,eAAAA,IAAAA,cAAAA,MAAgB,kBAAA,EAAA,IAAA,WAAA,EAAA,YAAA,EAAW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;QAUmBmD;WAAxF,2BAAA,CAAA,aAAA,CAA+B,2BAAA,CAAA,QAAA,EAAyDA,KAAAA;sBC3D3C,eAAA;OD2D2C,OAAA,MAAA,CAAA,CAAA,GAAAA,EAAAA,MAAwBX;;;QAUzBW;WAAvF,2BAAA,CAAA,aAAA,CAA+B,2BAAA,CAAA,QAAA,GAAwDA,IAAAA;kBAAfC;OAAe,OAAA,MAAA,CAAA,CAAA,GAAAD,EAAAA,MAAwBX;;;IAU/G,2BAAA,CAAA,mBAAA,CAA2CO,KAAIM;;;IAa/C,2BAAA,CAAA,mBAAA,CAAqCN,KAAIM,cAAavC;;;WAkDZ,2BAAA,CAAA,QAAA,CAAiCwC"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["./React.fs","./Html.fs"],"names":["renderElement","name","props","propsWithKey","withKey","memoElementType","areEqual","f","dispose","initializer","arg00","update","initialState","useEffect","effect","useEffectWithDeps","dependencies","useLayoutEffect","useLayoutEffectWithDeps","createDisposable","calledOnce","destroyFunc","renderAfterCalled","disposeOption","copyOfStruct","d","useDebugValueWithFormatter","value","x","formatter","callbackFunction","initialValue","useRef","createFunction","functionComponent","render","xs","memo","contextObject","defaultValue","contextValue","child","children","lastRenderCallbackRef","callback","callbackRef","useCallback","arg","forwardRefType","ref","propsObj","tupledArg","dynamicImport","o","fallback","createHandle","initial"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCoB;AAAyB,AAAAA,oCAA6BC;uBAA9DA;;AAKQC,\u002BBAAiB,AAAAC,6BAAAC,SAATF;AACZ,eAAA,\u002BBAA\u002BBF,eAAeE;;;;;AAU9CG,6DAAkB,6BAAsBL,wBAAgB,sEAAWM,WAAgB;AAC/E;AAAyB,AAAAN,oCAA6BC;uBAA9DA;;AAEQC,\u002BBAAiB,AAAAC,6BAAAC,SAATF;AACZ,eAAA,\u002BBAA\u002BBG,iBAAiBH;;;;;AAjClD,QAAA,AAAAE;eAIIF;;;AAHHK,qDACHH;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+1,25 @@
1
+ namespace Feliz
2
+
3
+ open System
4
+ open Fable.Core
5
+
6
+ type ReactDOM =
7
+ [<Import("render", "react-dom"); Obsolete("ReactDOM.render is obsolete since React v18. Please use the ReactDOM.createRoot API instead")>]
8
+ static member render(element: Fable.React.ReactElement, container: Browser.Types.HTMLElement) = jsNative
9
+ [<Obsolete("ReactDOM.render is obsolete since React v18. Please use the ReactDOM.createRoot API instead")>]
10
+ static member render(element: unit -> Fable.React.ReactElement, container: Browser.Types.HTMLElement) = ReactDOM.render(element(), container)
11
+ [<Import("createRoot", "react-dom/client")>]
12
+ static member createRoot(container: Browser.Types.HTMLElement) : ReactApi.IReactRoot = jsNative
13
+ [<Import("createPortal", "react-dom")>]
14
+ static member createPortal (element : Fable.React.ReactElement, container : Browser.Types.HTMLElement) : Fable.React.ReactElement = jsNative
15
+
16
+ /// The ReactDOMServer object enables you to render components to static markup.
17
+ type ReactDOMServer =
18
+ /// Render a React element to its initial HTML. React will return an HTML string. You can use this method to generate HTML on the server and send the markup down on the initial request for faster page loads and to allow search engines to crawl your pages for SEO purposes.
19
+ [<Import("renderToString", "react-dom/server")>]
20
+ static member renderToString(element: ReactElement) : string = jsNative
21
+ /// Similar to renderToString, except this doesn’t create extra DOM attributes that React uses internally, such as data-reactroot. This is useful if you want to use React as a simple static page generator, as stripping away the extra attributes can save some bytes.
22
+ ///
23
+ /// If you plan to use React on the client to make the markup interactive, do not use this method. Instead, use `renderToString` on the server and `ReactDOM.hydrate()` on the client.
24
+ [<Import("renderToStaticMarkup", "react-dom/server")>]
25
+ static member renderToStaticMarkup(element: ReactElement) : string = jsNative
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: Object.getOwnPropertyDescriptor(all, name).get
9
+ });
10
+ }
11
+ _export(exports, {
12
+ get ReactDOM () {
13
+ return ReactDOM;
14
+ },
15
+ get ReactDOMServer () {
16
+ return ReactDOMServer;
17
+ },
18
+ get ReactDOMServer_$reflection () {
19
+ return ReactDOMServer_$reflection;
20
+ },
21
+ get ReactDOM_$reflection () {
22
+ return ReactDOM_$reflection;
23
+ },
24
+ get ReactDOM_render_Z3D10464 () {
25
+ return ReactDOM_render_Z3D10464;
26
+ }
27
+ });
28
+ const _Reflection = require("@fable-org/fable-library-js/Reflection.js");
29
+ const _reactdom = require("react-dom");
30
+ class ReactDOM {
31
+ constructor(){}
32
+ }
33
+ function ReactDOM_$reflection() {
34
+ return (0, _Reflection.class_type)("Feliz.ReactDOM", undefined, ReactDOM);
35
+ }
36
+ function ReactDOM_render_Z3D10464(element, container) {
37
+ return (0, _reactdom.render)(element(), container);
38
+ }
39
+ class ReactDOMServer {
40
+ constructor(){}
41
+ }
42
+ function ReactDOMServer_$reflection() {
43
+ return (0, _Reflection.class_type)("Feliz.ReactDOMServer", undefined, ReactDOMServer);
44
+ } //# sourceMappingURL=ReactDOM.fs.ts.map
45
+
46
+ //# sourceMappingURL=ReactDOM.fs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../FormSpec.TS/fable_modules/Feliz.2.7.0/ReactDOM.fs.ts"],"names":["element","container"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAS4G,gBAAA,EAAgBA,WAAWC"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["./ReactDOM.fs"],"names":["element","container"],"mappings":";;;;;;;;;;;;;;WAS4G,WAAgB,AAAAA,WAAWC","file":null,"sourcesContent":null,"sourceRoot":null}