@triniwiz/nativescript-masonkit 1.0.0-alpha.5 → 1.0.0-alpha.7

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 (345) hide show
  1. package/common.d.ts +7 -9
  2. package/common.js +277 -552
  3. package/common.js.map +1 -1
  4. package/helpers.d.ts +32 -10
  5. package/helpers.js +772 -286
  6. package/helpers.js.map +1 -1
  7. package/index.android.d.ts +6 -2
  8. package/index.android.js +21 -3
  9. package/index.android.js.map +1 -1
  10. package/index.d.ts +64 -7
  11. package/index.ios.d.ts +9 -6
  12. package/index.ios.js +39 -25
  13. package/index.ios.js.map +1 -1
  14. package/package.json +1 -1
  15. package/platforms/android/include.gradle +18 -1
  16. package/platforms/android/masonkit-release.aar +0 -0
  17. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/Mason-Swift.h +108 -64
  18. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/mason_native.h +47 -20
  19. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Info.plist +0 -0
  20. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Mason +0 -0
  21. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
  22. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.abi.json +7002 -1194
  23. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.private.swiftinterface +58 -21
  24. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  25. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.swiftinterface +58 -21
  26. package/platforms/ios/Mason.xcframework/ios-arm64/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
  27. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason-Swift.h +216 -128
  28. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/mason_native.h +47 -20
  29. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Info.plist +0 -0
  30. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Mason +0 -0
  31. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
  32. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
  33. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.abi.json +7002 -1194
  34. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +58 -21
  35. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  36. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftinterface +58 -21
  37. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json +7002 -1194
  38. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +58 -21
  39. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  40. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +58 -21
  41. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/_CodeSignature/CodeResources +43 -43
  42. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
  43. package/platforms/ios/build.xcconfig +1 -2
  44. package/platforms/ios/src/MasonV8Module.h +583 -0
  45. package/platforms/ios/src/MasonV8Module.mm +1005 -0
  46. package/platforms/ios/src/{include → cpp/include}/mason_native.h +47 -20
  47. package/platforms/ios/src/cpp/include/robin_hood.h +2544 -0
  48. package/platforms/ios/src/module.modulemap +2 -2
  49. package/platforms/new_native_src/cpp/Caches.cpp +36 -0
  50. package/platforms/new_native_src/cpp/Caches.h +42 -0
  51. package/platforms/new_native_src/cpp/Common.h +34 -0
  52. package/platforms/new_native_src/cpp/ConcurrentMap.h +57 -0
  53. package/platforms/new_native_src/cpp/Helpers.cpp +101 -0
  54. package/platforms/new_native_src/cpp/Helpers.h +364 -0
  55. package/platforms/new_native_src/cpp/MasonImpl.cpp +68 -0
  56. package/platforms/new_native_src/cpp/MasonImpl.h +40 -0
  57. package/platforms/new_native_src/cpp/MasonNodeImpl.cpp +89 -0
  58. package/platforms/new_native_src/cpp/MasonNodeImpl.h +47 -0
  59. package/platforms/new_native_src/cpp/MasonStyleImpl.cpp +2181 -0
  60. package/platforms/new_native_src/cpp/MasonStyleImpl.h +420 -0
  61. package/platforms/{ios/Mason.xcframework/ios-arm64/Mason.framework/PrivateHeaders → new_native_src/cpp/include}/mason_native.h +464 -168
  62. package/platforms/new_native_src/cpp/include/robin_hood.h +2544 -0
  63. package/pods/Headers/include/APIDesign.md +72 -0
  64. package/pods/Headers/include/DEPS +10 -0
  65. package/pods/Headers/include/DIR_METADATA +11 -0
  66. package/pods/Headers/include/OWNERS +23 -0
  67. package/pods/Headers/include/cppgc/DEPS +8 -0
  68. package/pods/Headers/include/cppgc/OWNERS +2 -0
  69. package/pods/Headers/include/cppgc/README.md +133 -0
  70. package/pods/Headers/include/cppgc/allocation.h +310 -0
  71. package/pods/Headers/include/cppgc/common.h +29 -0
  72. package/pods/Headers/include/cppgc/cross-thread-persistent.h +465 -0
  73. package/pods/Headers/include/cppgc/custom-space.h +97 -0
  74. package/pods/Headers/include/cppgc/default-platform.h +67 -0
  75. package/pods/Headers/include/cppgc/ephemeron-pair.h +30 -0
  76. package/pods/Headers/include/cppgc/explicit-management.h +100 -0
  77. package/pods/Headers/include/cppgc/garbage-collected.h +106 -0
  78. package/pods/Headers/include/cppgc/heap-consistency.h +266 -0
  79. package/pods/Headers/include/cppgc/heap-state.h +82 -0
  80. package/pods/Headers/include/cppgc/heap-statistics.h +120 -0
  81. package/pods/Headers/include/cppgc/heap.h +206 -0
  82. package/pods/Headers/include/cppgc/internal/api-constants.h +55 -0
  83. package/pods/Headers/include/cppgc/internal/atomic-entry-flag.h +48 -0
  84. package/pods/Headers/include/cppgc/internal/caged-heap-local-data.h +79 -0
  85. package/pods/Headers/include/cppgc/internal/compiler-specific.h +38 -0
  86. package/pods/Headers/include/cppgc/internal/finalizer-trait.h +93 -0
  87. package/pods/Headers/include/cppgc/internal/gc-info.h +156 -0
  88. package/pods/Headers/include/cppgc/internal/logging.h +50 -0
  89. package/pods/Headers/include/cppgc/internal/name-trait.h +122 -0
  90. package/pods/Headers/include/cppgc/internal/persistent-node.h +216 -0
  91. package/pods/Headers/include/cppgc/internal/pointer-policies.h +186 -0
  92. package/pods/Headers/include/cppgc/internal/write-barrier.h +435 -0
  93. package/pods/Headers/include/cppgc/liveness-broker.h +77 -0
  94. package/pods/Headers/include/cppgc/macros.h +26 -0
  95. package/pods/Headers/include/cppgc/member.h +291 -0
  96. package/pods/Headers/include/cppgc/name-provider.h +65 -0
  97. package/pods/Headers/include/cppgc/object-size-trait.h +58 -0
  98. package/pods/Headers/include/cppgc/persistent.h +370 -0
  99. package/pods/Headers/include/cppgc/platform.h +156 -0
  100. package/pods/Headers/include/cppgc/prefinalizer.h +75 -0
  101. package/pods/Headers/include/cppgc/process-heap-statistics.h +36 -0
  102. package/pods/Headers/include/cppgc/sentinel-pointer.h +32 -0
  103. package/pods/Headers/include/cppgc/source-location.h +92 -0
  104. package/pods/Headers/include/cppgc/testing.h +106 -0
  105. package/pods/Headers/include/cppgc/trace-trait.h +116 -0
  106. package/pods/Headers/include/cppgc/type-traits.h +240 -0
  107. package/pods/Headers/include/cppgc/visitor.h +379 -0
  108. package/pods/Headers/include/js_protocol-1.2.json +936 -0
  109. package/pods/Headers/include/js_protocol-1.3.json +1112 -0
  110. package/pods/Headers/include/js_protocol.pdl +1709 -0
  111. package/pods/Headers/include/libffi/arm64/ffi.h +524 -0
  112. package/pods/Headers/include/libffi/arm64/ffitarget.h +92 -0
  113. package/pods/Headers/include/libffi/x86_64/ffi.h +524 -0
  114. package/pods/Headers/include/libffi/x86_64/ffitarget.h +147 -0
  115. package/pods/Headers/include/libffi.h +12 -0
  116. package/pods/Headers/include/libplatform/DEPS +9 -0
  117. package/pods/Headers/include/libplatform/libplatform-export.h +29 -0
  118. package/pods/Headers/include/libplatform/libplatform.h +106 -0
  119. package/pods/Headers/include/libplatform/v8-tracing.h +333 -0
  120. package/pods/Headers/include/v8-array-buffer.h +433 -0
  121. package/pods/Headers/include/v8-callbacks.h +397 -0
  122. package/pods/Headers/include/v8-container.h +129 -0
  123. package/pods/Headers/include/v8-context.h +407 -0
  124. package/pods/Headers/include/v8-cppgc.h +215 -0
  125. package/pods/Headers/include/v8-data.h +80 -0
  126. package/pods/Headers/include/v8-date.h +43 -0
  127. package/pods/Headers/include/v8-debug.h +168 -0
  128. package/pods/Headers/include/v8-embedder-heap.h +218 -0
  129. package/pods/Headers/include/v8-embedder-state-scope.h +51 -0
  130. package/pods/Headers/include/v8-exception.h +217 -0
  131. package/pods/Headers/include/v8-extension.h +62 -0
  132. package/pods/Headers/include/v8-external.h +37 -0
  133. package/pods/Headers/include/v8-fast-api-calls.h +939 -0
  134. package/pods/Headers/include/v8-forward.h +81 -0
  135. package/pods/Headers/include/v8-function-callback.h +475 -0
  136. package/pods/Headers/include/v8-function.h +125 -0
  137. package/pods/Headers/include/v8-initialization.h +315 -0
  138. package/pods/Headers/include/v8-inspector-protocol.h +13 -0
  139. package/pods/Headers/include/v8-inspector.h +376 -0
  140. package/pods/Headers/include/v8-internal.h +661 -0
  141. package/pods/Headers/include/v8-isolate.h +1709 -0
  142. package/pods/Headers/include/v8-json.h +47 -0
  143. package/pods/Headers/include/v8-local-handle.h +455 -0
  144. package/pods/Headers/include/v8-locker.h +149 -0
  145. package/pods/Headers/include/v8-maybe.h +137 -0
  146. package/pods/Headers/include/v8-memory-span.h +43 -0
  147. package/pods/Headers/include/v8-message.h +216 -0
  148. package/pods/Headers/include/v8-metrics.h +255 -0
  149. package/pods/Headers/include/v8-microtask-queue.h +152 -0
  150. package/pods/Headers/include/v8-microtask.h +28 -0
  151. package/pods/Headers/include/v8-object.h +775 -0
  152. package/pods/Headers/include/v8-persistent-handle.h +590 -0
  153. package/pods/Headers/include/v8-platform.h +1092 -0
  154. package/pods/Headers/include/v8-primitive-object.h +118 -0
  155. package/pods/Headers/include/v8-primitive.h +866 -0
  156. package/pods/Headers/include/v8-profiler.h +1198 -0
  157. package/pods/Headers/include/v8-promise.h +174 -0
  158. package/pods/Headers/include/v8-proxy.h +50 -0
  159. package/pods/Headers/include/v8-regexp.h +105 -0
  160. package/pods/Headers/include/v8-script.h +748 -0
  161. package/pods/Headers/include/v8-snapshot.h +196 -0
  162. package/pods/Headers/include/v8-statistics.h +217 -0
  163. package/pods/Headers/include/v8-template.h +1079 -0
  164. package/pods/Headers/include/v8-traced-handle.h +420 -0
  165. package/pods/Headers/include/v8-typed-array.h +282 -0
  166. package/pods/Headers/include/v8-unwinder-state.h +31 -0
  167. package/pods/Headers/include/v8-unwinder.h +132 -0
  168. package/pods/Headers/include/v8-util.h +658 -0
  169. package/pods/Headers/include/v8-value-serializer-version.h +24 -0
  170. package/pods/Headers/include/v8-value-serializer.h +279 -0
  171. package/pods/Headers/include/v8-value.h +526 -0
  172. package/pods/Headers/include/v8-version-string.h +38 -0
  173. package/pods/Headers/include/v8-version.h +20 -0
  174. package/pods/Headers/include/v8-wasm-trap-handler-posix.h +31 -0
  175. package/pods/Headers/include/v8-wasm-trap-handler-win.h +28 -0
  176. package/pods/Headers/include/v8-wasm.h +257 -0
  177. package/pods/Headers/include/v8-weak-callback-info.h +86 -0
  178. package/pods/Headers/include/v8.h +88 -0
  179. package/pods/Headers/include/v8config.h +605 -0
  180. package/pods/Headers/inspector/InspectorServer.h +20 -0
  181. package/pods/Headers/inspector/JsV8InspectorClient.h +66 -0
  182. package/pods/Headers/inspector/base/trace_event/common/trace_event_common.h +1123 -0
  183. package/pods/Headers/inspector/base64.h +9 -0
  184. package/pods/Headers/inspector/src/base/address-region.h +95 -0
  185. package/pods/Headers/inspector/src/base/atomic-utils.h +219 -0
  186. package/pods/Headers/inspector/src/base/atomicops.h +332 -0
  187. package/pods/Headers/inspector/src/base/atomicops_internals_atomicword_compat.h +89 -0
  188. package/pods/Headers/inspector/src/base/base-export.h +31 -0
  189. package/pods/Headers/inspector/src/base/bits.h +343 -0
  190. package/pods/Headers/inspector/src/base/build_config.h +234 -0
  191. package/pods/Headers/inspector/src/base/compiler-specific.h +136 -0
  192. package/pods/Headers/inspector/src/base/export-template.h +163 -0
  193. package/pods/Headers/inspector/src/base/flags.h +130 -0
  194. package/pods/Headers/inspector/src/base/immediate-crash.h +162 -0
  195. package/pods/Headers/inspector/src/base/lazy-instance.h +258 -0
  196. package/pods/Headers/inspector/src/base/logging.h +417 -0
  197. package/pods/Headers/inspector/src/base/macros.h +423 -0
  198. package/pods/Headers/inspector/src/base/memory.h +89 -0
  199. package/pods/Headers/inspector/src/base/once.h +108 -0
  200. package/pods/Headers/inspector/src/base/optional.h +882 -0
  201. package/pods/Headers/inspector/src/base/platform/mutex.h +370 -0
  202. package/pods/Headers/inspector/src/base/platform/platform.h +476 -0
  203. package/pods/Headers/inspector/src/base/platform/semaphore.h +108 -0
  204. package/pods/Headers/inspector/src/base/platform/v8-time.h +513 -0
  205. package/pods/Headers/inspector/src/base/platform/wrappers.h +73 -0
  206. package/pods/Headers/inspector/src/base/safe_conversions.h +389 -0
  207. package/pods/Headers/inspector/src/base/safe_conversions_impl.h +822 -0
  208. package/pods/Headers/inspector/src/base/template-utils.h +113 -0
  209. package/pods/Headers/inspector/src/base/v8-fallthrough.h +21 -0
  210. package/pods/Headers/inspector/src/common/checks.h +38 -0
  211. package/pods/Headers/inspector/src/common/globals.h +1842 -0
  212. package/pods/Headers/inspector/src/debug/debug-interface.h +667 -0
  213. package/pods/Headers/inspector/src/debug/interface-types.h +175 -0
  214. package/pods/Headers/inspector/src/init/v8.h +52 -0
  215. package/pods/Headers/inspector/src/inspector/custom-preview.h +24 -0
  216. package/pods/Headers/inspector/src/inspector/injected-script.h +251 -0
  217. package/pods/Headers/inspector/src/inspector/inspected-context.h +79 -0
  218. package/pods/Headers/inspector/src/inspector/protocol/CSS.h +2148 -0
  219. package/pods/Headers/inspector/src/inspector/protocol/Console.h +211 -0
  220. package/pods/Headers/inspector/src/inspector/protocol/DOM.h +1008 -0
  221. package/pods/Headers/inspector/src/inspector/protocol/Debugger.h +892 -0
  222. package/pods/Headers/inspector/src/inspector/protocol/Forward.h +75 -0
  223. package/pods/Headers/inspector/src/inspector/protocol/HeapProfiler.h +346 -0
  224. package/pods/Headers/inspector/src/inspector/protocol/Log.h +342 -0
  225. package/pods/Headers/inspector/src/inspector/protocol/Network.h +2528 -0
  226. package/pods/Headers/inspector/src/inspector/protocol/Overlay.h +281 -0
  227. package/pods/Headers/inspector/src/inspector/protocol/Page.h +1189 -0
  228. package/pods/Headers/inspector/src/inspector/protocol/Profiler.h +1001 -0
  229. package/pods/Headers/inspector/src/inspector/protocol/Protocol.h +617 -0
  230. package/pods/Headers/inspector/src/inspector/protocol/Runtime.h +1696 -0
  231. package/pods/Headers/inspector/src/inspector/protocol/Schema.h +146 -0
  232. package/pods/Headers/inspector/src/inspector/protocol/Security.h +793 -0
  233. package/pods/Headers/inspector/src/inspector/remote-object-id.h +54 -0
  234. package/pods/Headers/inspector/src/inspector/search-util.h +26 -0
  235. package/pods/Headers/inspector/src/inspector/string-16.h +180 -0
  236. package/pods/Headers/inspector/src/inspector/string-util.h +128 -0
  237. package/pods/Headers/inspector/src/inspector/v8-console-agent-impl.h +48 -0
  238. package/pods/Headers/inspector/src/inspector/v8-console-message.h +147 -0
  239. package/pods/Headers/inspector/src/inspector/v8-console.h +173 -0
  240. package/pods/Headers/inspector/src/inspector/v8-css-agent-impl.h +62 -0
  241. package/pods/Headers/inspector/src/inspector/v8-debugger-agent-impl.h +248 -0
  242. package/pods/Headers/inspector/src/inspector/v8-debugger-id.h +44 -0
  243. package/pods/Headers/inspector/src/inspector/v8-debugger-script.h +123 -0
  244. package/pods/Headers/inspector/src/inspector/v8-debugger.h +257 -0
  245. package/pods/Headers/inspector/src/inspector/v8-dom-agent-impl.h +91 -0
  246. package/pods/Headers/inspector/src/inspector/v8-heap-profiler-agent-impl.h +80 -0
  247. package/pods/Headers/inspector/src/inspector/v8-inspector-impl.h +191 -0
  248. package/pods/Headers/inspector/src/inspector/v8-inspector-session-impl.h +156 -0
  249. package/pods/Headers/inspector/src/inspector/v8-log-agent-impl.h +34 -0
  250. package/pods/Headers/inspector/src/inspector/v8-network-agent-impl.h +71 -0
  251. package/pods/Headers/inspector/src/inspector/v8-ns-debugger-agent-impl.h +24 -0
  252. package/pods/Headers/inspector/src/inspector/v8-overlay-agent-impl.h +70 -0
  253. package/pods/Headers/inspector/src/inspector/v8-page-agent-impl.h +88 -0
  254. package/pods/Headers/inspector/src/inspector/v8-profiler-agent-impl.h +104 -0
  255. package/pods/Headers/inspector/src/inspector/v8-regex.h +38 -0
  256. package/pods/Headers/inspector/src/inspector/v8-runtime-agent-impl.h +157 -0
  257. package/pods/Headers/inspector/src/inspector/v8-schema-agent-impl.h +38 -0
  258. package/pods/Headers/inspector/src/inspector/v8-stack-trace-impl.h +164 -0
  259. package/pods/Headers/inspector/src/inspector/v8-string-conversions.h +17 -0
  260. package/pods/Headers/inspector/src/inspector/v8-value-utils.h +23 -0
  261. package/pods/Headers/inspector/src/inspector/value-mirror.h +87 -0
  262. package/pods/Headers/inspector/src/libplatform/default-platform.h +92 -0
  263. package/pods/Headers/inspector/src/logging/tracing-flags.h +50 -0
  264. package/pods/Headers/inspector/src/numbers/conversions.h +183 -0
  265. package/pods/Headers/inspector/src/tracing/trace-event.h +664 -0
  266. package/pods/Headers/inspector/src/utils/allocation.h +367 -0
  267. package/pods/Headers/inspector/src/utils/vector.h +324 -0
  268. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/cbor.h +305 -0
  269. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/dispatch.h +314 -0
  270. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/error_support.h +62 -0
  271. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/export.h +6 -0
  272. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/find_by_first.h +58 -0
  273. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/frontend_channel.h +47 -0
  274. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/glue.h +80 -0
  275. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/json.h +52 -0
  276. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/json_platform.h +26 -0
  277. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/maybe.h +104 -0
  278. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/parser_handler.h +39 -0
  279. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/protocol_core.h +406 -0
  280. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/serializable.h +32 -0
  281. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/serializer_traits.h +158 -0
  282. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/span.h +99 -0
  283. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/status.h +139 -0
  284. package/pods/Headers/inspector/utils.h +32 -0
  285. package/pods/Headers/inspector/v8-inspector-platform.h +44 -0
  286. package/pods/Headers/jsi/decorator.h +762 -0
  287. package/pods/Headers/jsi/instrumentation.h +117 -0
  288. package/pods/Headers/jsi/jsi-inl.h +322 -0
  289. package/pods/Headers/jsi/jsi.h +1387 -0
  290. package/pods/Headers/jsi/jsilib.h +59 -0
  291. package/pods/Headers/jsi/threadsafe.h +79 -0
  292. package/pods/Headers/runtime/ArgConverter.h +61 -0
  293. package/pods/Headers/runtime/ArrayAdapter.h +13 -0
  294. package/pods/Headers/runtime/Caches.h +98 -0
  295. package/pods/Headers/runtime/ClassBuilder.h +61 -0
  296. package/pods/Headers/runtime/Common.h +9 -0
  297. package/pods/Headers/runtime/ConcurrentMap.h +55 -0
  298. package/pods/Headers/runtime/ConcurrentQueue.h +28 -0
  299. package/pods/Headers/runtime/Console.h +27 -0
  300. package/pods/Headers/runtime/Constants.h +15 -0
  301. package/pods/Headers/runtime/DataWrapper.h +671 -0
  302. package/pods/Headers/runtime/DictionaryAdapter.h +13 -0
  303. package/pods/Headers/runtime/ExtVector.h +21 -0
  304. package/pods/Headers/runtime/FFICall.h +105 -0
  305. package/pods/Headers/runtime/FastEnumerationAdapter.h +13 -0
  306. package/pods/Headers/runtime/FunctionReference.h +18 -0
  307. package/pods/Headers/runtime/Helpers.h +84 -0
  308. package/pods/Headers/runtime/InlineFunctions.h +16 -0
  309. package/pods/Headers/runtime/Interop.h +202 -0
  310. package/pods/Headers/runtime/KnownUnknownClassPair.h +35 -0
  311. package/pods/Headers/runtime/Metadata.h +981 -0
  312. package/pods/Headers/runtime/MetadataBuilder.h +72 -0
  313. package/pods/Headers/runtime/MetadataInlines.h +157 -0
  314. package/pods/Headers/runtime/ModuleInternal.h +59 -0
  315. package/pods/Headers/runtime/NSDataAdapter.h +13 -0
  316. package/pods/Headers/runtime/NativeScriptException.h +27 -0
  317. package/pods/Headers/runtime/ObjectManager.h +31 -0
  318. package/pods/Headers/runtime/OneByteStringResource.h +21 -0
  319. package/pods/Headers/runtime/Pointer.h +26 -0
  320. package/pods/Headers/runtime/PromiseProxy.h +15 -0
  321. package/pods/Headers/runtime/Reference.h +38 -0
  322. package/pods/Headers/runtime/Runtime.h +67 -0
  323. package/pods/Headers/runtime/RuntimeConfig.h +17 -0
  324. package/pods/Headers/runtime/SetTimeout.h +34 -0
  325. package/pods/Headers/runtime/SimpleAllocator.h +23 -0
  326. package/pods/Headers/runtime/StringHasher.h +315 -0
  327. package/pods/Headers/runtime/SymbolIterator.h +18 -0
  328. package/pods/Headers/runtime/SymbolLoader.h +27 -0
  329. package/pods/Headers/runtime/TNSDerivedClass.h +8 -0
  330. package/pods/Headers/runtime/TSHelpers.h +15 -0
  331. package/pods/Headers/runtime/Tasks.h +19 -0
  332. package/pods/Headers/runtime/UnmanagedType.h +21 -0
  333. package/pods/Headers/runtime/WeakRef.h +15 -0
  334. package/pods/Headers/runtime/Worker.h +26 -0
  335. package/pods/Headers/runtime/robin_hood.h +2184 -0
  336. package/pods/Headers/v8runtime/HostProxy.h +71 -0
  337. package/pods/Headers/v8runtime/JSIV8ValueConverter.h +70 -0
  338. package/pods/Headers/v8runtime/V8PointerValue.h +44 -0
  339. package/pods/Headers/v8runtime/V8Runtime.h +215 -0
  340. package/pods/Headers/v8runtime/V8RuntimeConfig.h +26 -0
  341. package/pods/Headers/v8runtime/V8RuntimeFactory.h +21 -0
  342. package/pods/NativeScript.podspec +68 -0
  343. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/PrivateHeaders/mason_native.h +0 -676
  344. package/platforms/ios/src/JSIModule.h +0 -217
  345. package/platforms/ios/src/JSIModule.mm +0 -2788
@@ -9,12 +9,28 @@
9
9
  #include <stdlib.h>
10
10
 
11
11
  typedef enum CMasonDimensionType {
12
- Points,
13
- Percent,
14
- Auto,
15
- Undefined,
12
+ MasonDimensionAuto,
13
+ MasonDimensionPoints,
14
+ MasonDimensionPercent,
16
15
  } CMasonDimensionType;
17
16
 
17
+ typedef enum CMasonGridPlacementType {
18
+ MasonGridPlacementTypeAuto,
19
+ MasonGridPlacementTypeLine,
20
+ MasonGridPlacementTypeSpan,
21
+ } CMasonGridPlacementType;
22
+
23
+ typedef enum CMasonLengthPercentageAutoType {
24
+ MasonLengthPercentageAutoAuto,
25
+ MasonLengthPercentageAutoPoints,
26
+ MasonLengthPercentageAutoPercent,
27
+ } CMasonLengthPercentageAutoType;
28
+
29
+ typedef enum CMasonLengthPercentageType {
30
+ MasonLengthPercentagePoints,
31
+ MasonLengthPercentagePercent,
32
+ } CMasonLengthPercentageType;
33
+
18
34
  typedef struct NodeArray {
19
35
  void **array;
20
36
  uintptr_t length;
@@ -35,11 +51,69 @@ typedef struct AvailableSpace {
35
51
  };
36
52
  } AvailableSpace;
37
53
 
54
+ typedef struct CMasonMinMax {
55
+ int32_t min_type;
56
+ float min_value;
57
+ int32_t max_type;
58
+ float max_value;
59
+ } CMasonMinMax;
60
+
61
+ typedef struct CMasonNonRepeatedTrackSizingFunctionArray {
62
+ struct CMasonMinMax *array;
63
+ uintptr_t length;
64
+ } CMasonNonRepeatedTrackSizingFunctionArray;
65
+
66
+ typedef enum CMasonTrackSizingFunction_Tag {
67
+ Single,
68
+ Repeat,
69
+ } CMasonTrackSizingFunction_Tag;
70
+
71
+ typedef struct Repeat_Body {
72
+ int32_t _0;
73
+ uint16_t _1;
74
+ struct CMasonNonRepeatedTrackSizingFunctionArray *_2;
75
+ } Repeat_Body;
76
+
77
+ typedef struct CMasonTrackSizingFunction {
78
+ CMasonTrackSizingFunction_Tag tag;
79
+ union {
80
+ struct {
81
+ struct CMasonMinMax single;
82
+ };
83
+ Repeat_Body repeat;
84
+ };
85
+ } CMasonTrackSizingFunction;
86
+
87
+ typedef struct CMasonTrackSizingFunctionArray {
88
+ struct CMasonTrackSizingFunction *array;
89
+ uintptr_t length;
90
+ } CMasonTrackSizingFunctionArray;
91
+
92
+ typedef struct CMasonLengthPercentageAuto {
93
+ float value;
94
+ enum CMasonLengthPercentageAutoType value_type;
95
+ } CMasonLengthPercentageAuto;
96
+
97
+ typedef struct CMasonLengthPercentage {
98
+ float value;
99
+ enum CMasonLengthPercentageType value_type;
100
+ } CMasonLengthPercentage;
101
+
38
102
  typedef struct CMasonDimension {
39
103
  float value;
40
104
  enum CMasonDimensionType value_type;
41
105
  } CMasonDimension;
42
106
 
107
+ typedef struct CMasonLengthPercentageSize {
108
+ struct CMasonLengthPercentage width;
109
+ struct CMasonLengthPercentage height;
110
+ } CMasonLengthPercentageSize;
111
+
112
+ typedef struct CMasonGridPlacement {
113
+ int16_t value;
114
+ enum CMasonGridPlacementType value_type;
115
+ } CMasonGridPlacement;
116
+
43
117
  void *mason_init(void);
44
118
 
45
119
  void *mason_init_with_capacity(uintptr_t capacity);
@@ -48,24 +122,26 @@ void mason_destroy(void *mason);
48
122
 
49
123
  void mason_clear(void *mason);
50
124
 
125
+ void *mason_node_get_style(void *mason, void *node);
126
+
127
+ bool mason_node_is_equal(void *node_a, void *node_b);
128
+
51
129
  void mason_node_array_destroy(struct NodeArray array);
52
130
 
53
131
  void mason_node_destroy(void *node);
54
132
 
55
133
  void *mason_node_new_node(void *mason, void *style);
56
134
 
57
- void *mason_node_new_node_with_measure_func(void *mason,
58
- void *style,
59
- void *measure_data,
60
- long long (*measure)(const void*, float, float, float, float));
135
+ void *mason_node_new_node_with_context(void *mason,
136
+ void *style,
137
+ void *measure_data,
138
+ long long (*measure)(const void*, float, float, float, float));
61
139
 
62
140
  void *mason_node_new_node_with_children(void *mason,
63
141
  void *style,
64
142
  const void *children,
65
143
  uintptr_t children_size);
66
144
 
67
- uintptr_t mason_node_get_child_count(void *mason, void *node);
68
-
69
145
  void *mason_node_layout(void *mason, void *node, void *(*layout)(const float*));
70
146
 
71
147
  void mason_node_compute_wh(void *mason, void *node, float width, float height);
@@ -79,7 +155,7 @@ void mason_node_compute_max_content(void *mason, void *node);
79
155
 
80
156
  void mason_node_compute_min_content(void *mason, void *node);
81
157
 
82
- extern void mason_node_compute(void *mason, void *node);
158
+ void mason_node_compute(void *mason, void *node);
83
159
 
84
160
  void mason_node_set_style(void *mason, void *node, void *style);
85
161
 
@@ -89,7 +165,7 @@ void mason_node_update_and_set_style_with_values(void *mason,
89
165
  void *node,
90
166
  void *style,
91
167
  int display,
92
- int position_type,
168
+ int position,
93
169
  int direction,
94
170
  int flex_direction,
95
171
  int flex_wrap,
@@ -97,15 +173,17 @@ void mason_node_update_and_set_style_with_values(void *mason,
97
173
  int align_items,
98
174
  int align_self,
99
175
  int align_content,
176
+ int justify_items,
177
+ int justify_self,
100
178
  int justify_content,
101
- int position_left_type,
102
- float position_left_value,
103
- int position_right_type,
104
- float position_right_value,
105
- int position_top_type,
106
- float position_top_value,
107
- int position_bottom_type,
108
- float position_bottom_value,
179
+ int inset_left_type,
180
+ float inset_left_value,
181
+ int inset_right_type,
182
+ float inset_right_value,
183
+ int inset_top_type,
184
+ float inset_top_value,
185
+ int inset_bottom_type,
186
+ float inset_bottom_value,
109
187
  int margin_left_type,
110
188
  float margin_left_value,
111
189
  int margin_right_type,
@@ -146,11 +224,27 @@ void mason_node_update_and_set_style_with_values(void *mason,
146
224
  float max_width_value,
147
225
  int max_height_type,
148
226
  float max_height_value,
149
- int flex_gap_width_type,
150
- float flex_gap_width_value,
151
- int flex_gap_height_type,
152
- float flex_gap_height_value,
153
- float aspect_ratio);
227
+ int gap_row_type,
228
+ float gap_row_value,
229
+ int gap_column_type,
230
+ float gap_column_value,
231
+ float aspect_ratio,
232
+ struct CMasonNonRepeatedTrackSizingFunctionArray *grid_auto_rows,
233
+ struct CMasonNonRepeatedTrackSizingFunctionArray *grid_auto_columns,
234
+ int grid_auto_flow,
235
+ int grid_column_start_type,
236
+ short grid_column_start_value,
237
+ int grid_column_end_type,
238
+ short grid_column_end_value,
239
+ int grid_row_start_type,
240
+ short grid_row_start_value,
241
+ int grid_row_end_type,
242
+ short grid_row_end_value,
243
+ struct CMasonTrackSizingFunctionArray *grid_template_rows,
244
+ struct CMasonTrackSizingFunctionArray *grid_template_columns,
245
+ int32_t overflow_x,
246
+ int32_t overflow_y,
247
+ float scrollbar_width);
154
248
 
155
249
  void *mason_node_update_style_with_values_compute_and_layout(void *mason,
156
250
  void *node,
@@ -164,15 +258,17 @@ void *mason_node_update_style_with_values_compute_and_layout(void *mason,
164
258
  int align_items,
165
259
  int align_self,
166
260
  int align_content,
261
+ int justify_items,
262
+ int justify_self,
167
263
  int justify_content,
168
- int position_left_type,
169
- float position_left_value,
170
- int position_right_type,
171
- float position_right_value,
172
- int position_top_type,
173
- float position_top_value,
174
- int position_bottom_type,
175
- float position_bottom_value,
264
+ int inset_left_type,
265
+ float inset_left_value,
266
+ int inset_right_type,
267
+ float inset_right_value,
268
+ int inset_top_type,
269
+ float inset_top_value,
270
+ int inset_bottom_type,
271
+ float inset_bottom_value,
176
272
  int margin_left_type,
177
273
  float margin_left_value,
178
274
  int margin_right_type,
@@ -213,11 +309,27 @@ void *mason_node_update_style_with_values_compute_and_layout(void *mason,
213
309
  float max_width_value,
214
310
  int max_height_type,
215
311
  float max_height_value,
216
- int flex_gap_width_type,
217
- float flex_gap_width_value,
218
- int flex_gap_height_type,
219
- float flex_gap_height_value,
312
+ int32_t gap_row_type,
313
+ float gap_row_value,
314
+ int32_t gap_column_type,
315
+ float gap_column_value,
220
316
  float aspect_ratio,
317
+ struct CMasonNonRepeatedTrackSizingFunctionArray *grid_auto_rows,
318
+ struct CMasonNonRepeatedTrackSizingFunctionArray *grid_auto_columns,
319
+ int32_t grid_auto_flow,
320
+ int32_t grid_column_start_type,
321
+ int16_t grid_column_start_value,
322
+ int32_t grid_column_end_type,
323
+ int16_t grid_column_end_value,
324
+ int32_t grid_row_start_type,
325
+ int16_t grid_row_start_value,
326
+ int32_t grid_row_end_type,
327
+ int16_t grid_row_end_value,
328
+ struct CMasonTrackSizingFunctionArray *grid_template_rows,
329
+ struct CMasonTrackSizingFunctionArray *grid_template_columns,
330
+ int32_t overflow_x,
331
+ int32_t overflow_y,
332
+ float scrollbar_width,
221
333
  void *(*layout)(const float*));
222
334
 
223
335
  void *mason_node_update_style_with_values_size_compute_and_layout(void *mason,
@@ -226,7 +338,7 @@ void *mason_node_update_style_with_values_size_compute_and_layout(void *mason,
226
338
  float width,
227
339
  float height,
228
340
  int display,
229
- int position_type,
341
+ int position,
230
342
  int direction,
231
343
  int flex_direction,
232
344
  int flex_wrap,
@@ -234,15 +346,17 @@ void *mason_node_update_style_with_values_size_compute_and_layout(void *mason,
234
346
  int align_items,
235
347
  int align_self,
236
348
  int align_content,
349
+ int justify_items,
350
+ int justify_self,
237
351
  int justify_content,
238
- int position_left_type,
239
- float position_left_value,
240
- int position_right_type,
241
- float position_right_value,
242
- int position_top_type,
243
- float position_top_value,
244
- int position_bottom_type,
245
- float position_bottom_value,
352
+ int inset_left_type,
353
+ float inset_left_value,
354
+ int inset_right_type,
355
+ float inset_right_value,
356
+ int inset_top_type,
357
+ float inset_top_value,
358
+ int inset_bottom_type,
359
+ float inset_bottom_value,
246
360
  int margin_left_type,
247
361
  float margin_left_value,
248
362
  int margin_right_type,
@@ -283,11 +397,27 @@ void *mason_node_update_style_with_values_size_compute_and_layout(void *mason,
283
397
  float max_width_value,
284
398
  int max_height_type,
285
399
  float max_height_value,
286
- int flex_gap_width_type,
287
- float flex_gap_width_value,
288
- int flex_gap_height_type,
289
- float flex_gap_height_value,
400
+ int32_t gap_row_type,
401
+ float gap_row_value,
402
+ int32_t gap_column_type,
403
+ float gap_column_value,
290
404
  float aspect_ratio,
405
+ struct CMasonNonRepeatedTrackSizingFunctionArray *grid_auto_rows,
406
+ struct CMasonNonRepeatedTrackSizingFunctionArray *grid_auto_columns,
407
+ int32_t grid_auto_flow,
408
+ int32_t grid_column_start_type,
409
+ int16_t grid_column_start_value,
410
+ int32_t grid_column_end_type,
411
+ int16_t grid_column_end_value,
412
+ int32_t grid_row_start_type,
413
+ int16_t grid_row_start_value,
414
+ int32_t grid_row_end_type,
415
+ int16_t grid_row_end_value,
416
+ struct CMasonTrackSizingFunctionArray *grid_template_rows,
417
+ struct CMasonTrackSizingFunctionArray *grid_template_columns,
418
+ int32_t overflow_x,
419
+ int32_t overflow_y,
420
+ float scrollbar_width,
291
421
  void *(*layout)(const float*));
292
422
 
293
423
  void *mason_node_update_set_style_compute_and_layout(void *mason,
@@ -341,12 +471,16 @@ void *mason_node_remove_child(void *mason, void *node, void *child);
341
471
 
342
472
  struct NodeArray mason_node_get_children(void *mason, void *node);
343
473
 
344
- void mason_node_set_measure_func(void *mason,
345
- void *node,
346
- void *measure_data,
347
- long long (*measure)(const void*, float, float, float, float));
474
+ void mason_node_set_context(void *mason,
475
+ void *node,
476
+ void *measure_data,
477
+ long long (*measure)(const void*, float, float, float, float));
478
+
479
+ void mason_node_remove_context(void *mason, void *node);
348
480
 
349
- void mason_node_remove_measure_func(void *mason, void *node);
481
+ void mason_destroy_non_repeated_track_sizing_function_array(struct CMasonNonRepeatedTrackSizingFunctionArray *array);
482
+
483
+ void mason_destroy_track_sizing_function_array(struct CMasonTrackSizingFunctionArray *array);
350
484
 
351
485
  void *mason_style_init(void);
352
486
 
@@ -354,196 +488,313 @@ void mason_style_destroy(void *style);
354
488
 
355
489
  int mason_style_get_display(void *style);
356
490
 
357
- void mason_style_set_display(int display, void *style);
491
+ void mason_style_set_display(void *style, int display);
358
492
 
359
- void mason_style_set_position_type(int position_type, void *style);
493
+ void mason_style_set_position(void *style, int position);
360
494
 
361
- int mason_style_get_position_type(void *style);
495
+ int mason_style_get_position(void *style);
362
496
 
363
- void mason_style_set_direction(int _direction, void *_style);
497
+ void mason_style_set_direction(void *_style, int _direction);
364
498
 
365
499
  int mason_style_get_direction(void *_style);
366
500
 
367
- void mason_style_set_flex_direction(int direction, void *style);
501
+ void mason_style_set_flex_direction(void *style, int direction);
368
502
 
369
503
  int mason_style_get_flex_direction(void *style);
370
504
 
371
- void mason_style_set_flex_wrap(int wrap, void *style);
505
+ void mason_style_set_flex_wrap(void *style, int wrap);
372
506
 
373
507
  int mason_style_get_flex_wrap(void *style);
374
508
 
375
- void mason_style_set_overflow(int _overflow, void *_style);
376
-
377
- int mason_style_get_overflow(void *_style);
378
-
379
- void mason_style_set_align_items(int align, void *style);
509
+ void mason_style_set_align_items(void *style, int align);
380
510
 
381
511
  int mason_style_get_align_items(void *style);
382
512
 
383
- void mason_style_set_align_self(int align, void *style);
513
+ void mason_style_set_align_self(void *style, int align);
384
514
 
385
515
  int mason_style_get_align_self(void *style);
386
516
 
387
- void mason_style_set_align_content(int align, void *style);
517
+ void mason_style_set_align_content(void *style, int align);
388
518
 
389
519
  int mason_style_get_align_content(void *style);
390
520
 
391
- void mason_style_set_justify_content(int justify, void *style);
521
+ void mason_style_set_justify_items(void *style, int align);
522
+
523
+ int mason_style_get_justify_items(void *style);
524
+
525
+ void mason_style_set_justify_self(void *style, int align);
526
+
527
+ int mason_style_get_justify_self(void *style);
528
+
529
+ void mason_style_set_justify_content(void *style, int justify);
392
530
 
393
531
  int mason_style_get_justify_content(void *style);
394
532
 
395
- void mason_style_set_position(float left_value,
396
- enum CMasonDimensionType left_value_type,
397
- float right_value,
398
- enum CMasonDimensionType right_value_type,
399
- float top_value,
400
- enum CMasonDimensionType top_value_type,
401
- float bottom_value,
402
- enum CMasonDimensionType bottom_value_type,
403
- void *style);
533
+ void mason_style_set_inset(void *style,
534
+ float value,
535
+ enum CMasonLengthPercentageAutoType value_type);
536
+
537
+ void mason_style_set_inset_lrtb(void *style,
538
+ float left_value,
539
+ enum CMasonLengthPercentageAutoType left_value_type,
540
+ float right_value,
541
+ enum CMasonLengthPercentageAutoType right_value_type,
542
+ float top_value,
543
+ enum CMasonLengthPercentageAutoType top_value_type,
544
+ float bottom_value,
545
+ enum CMasonLengthPercentageAutoType bottom_value_type);
404
546
 
405
- void mason_style_set_position_left(float value, enum CMasonDimensionType value_type, void *style);
547
+ void mason_style_set_inset_left(void *style,
548
+ float value,
549
+ enum CMasonLengthPercentageAutoType value_type);
406
550
 
407
- struct CMasonDimension mason_style_get_position_left(void *style);
551
+ struct CMasonLengthPercentageAuto mason_style_get_inset_left(void *style);
408
552
 
409
- void mason_style_set_position_right(float value, enum CMasonDimensionType value_type, void *style);
553
+ void mason_style_set_inset_right(void *style,
554
+ float value,
555
+ enum CMasonLengthPercentageAutoType value_type);
410
556
 
411
- struct CMasonDimension mason_style_get_position_right(void *style);
557
+ struct CMasonLengthPercentageAuto mason_style_get_inset_right(void *style);
412
558
 
413
- void mason_style_set_position_top(float value, enum CMasonDimensionType value_type, void *style);
559
+ void mason_style_set_inset_top(void *style,
560
+ float value,
561
+ enum CMasonLengthPercentageAutoType value_type);
414
562
 
415
- struct CMasonDimension mason_style_get_position_top(void *style);
563
+ struct CMasonLengthPercentageAuto mason_style_get_inset_top(void *style);
416
564
 
417
- void mason_style_set_position_bottom(float value, enum CMasonDimensionType value_type, void *style);
565
+ void mason_style_set_inset_bottom(void *style,
566
+ float value,
567
+ enum CMasonLengthPercentageAutoType value_type);
418
568
 
419
- struct CMasonDimension mason_style_get_position_bottom(void *style);
569
+ struct CMasonLengthPercentageAuto mason_style_get_inset_bottom(void *style);
420
570
 
421
- void mason_style_set_margin(float left_value,
422
- enum CMasonDimensionType left_value_type,
571
+ void mason_style_set_margin(void *style,
572
+ float left_value,
573
+ enum CMasonLengthPercentageAutoType left_value_type,
423
574
  float right_value,
424
- enum CMasonDimensionType right_value_type,
575
+ enum CMasonLengthPercentageAutoType right_value_type,
425
576
  float top_value,
426
- enum CMasonDimensionType top_value_type,
577
+ enum CMasonLengthPercentageAutoType top_value_type,
427
578
  float bottom_value,
428
- enum CMasonDimensionType bottom_value_type,
429
- void *style);
579
+ enum CMasonLengthPercentageAutoType bottom_value_type);
430
580
 
431
- void mason_style_set_margin_left(float value, enum CMasonDimensionType value_type, void *style);
581
+ void mason_style_set_margin_left(void *style,
582
+ float value,
583
+ enum CMasonLengthPercentageAutoType value_type);
432
584
 
433
- struct CMasonDimension mason_style_get_margin_left(void *style);
585
+ struct CMasonLengthPercentageAuto mason_style_get_margin_left(void *style);
434
586
 
435
- void mason_style_set_margin_right(float value, enum CMasonDimensionType value_type, void *style);
587
+ void mason_style_set_margin_right(void *style,
588
+ float value,
589
+ enum CMasonLengthPercentageAutoType value_type);
436
590
 
437
- struct CMasonDimension mason_style_get_margin_right(void *style);
591
+ struct CMasonLengthPercentageAuto mason_style_get_margin_right(void *style);
438
592
 
439
- void mason_style_set_margin_top(float value, enum CMasonDimensionType value_type, void *style);
593
+ void mason_style_set_margin_top(void *style,
594
+ float value,
595
+ enum CMasonLengthPercentageAutoType value_type);
440
596
 
441
- struct CMasonDimension mason_style_get_margin_top(void *style);
597
+ struct CMasonLengthPercentageAuto mason_style_get_margin_top(void *style);
442
598
 
443
- void mason_style_set_margin_bottom(float value, enum CMasonDimensionType value_type, void *style);
599
+ void mason_style_set_margin_bottom(void *style,
600
+ float value,
601
+ enum CMasonLengthPercentageAutoType value_type);
444
602
 
445
- struct CMasonDimension mason_style_get_margin_bottom(void *style);
603
+ struct CMasonLengthPercentageAuto mason_style_get_margin_bottom(void *style);
446
604
 
447
- void mason_style_set_padding(float left_value,
448
- enum CMasonDimensionType left_value_type,
605
+ void mason_style_set_padding(void *style,
606
+ float left_value,
607
+ enum CMasonLengthPercentageType left_value_type,
449
608
  float right_value,
450
- enum CMasonDimensionType right_value_type,
609
+ enum CMasonLengthPercentageType right_value_type,
451
610
  float top_value,
452
- enum CMasonDimensionType top_value_type,
611
+ enum CMasonLengthPercentageType top_value_type,
453
612
  float bottom_value,
454
- enum CMasonDimensionType bottom_value_type,
455
- void *style);
613
+ enum CMasonLengthPercentageType bottom_value_type);
456
614
 
457
- void mason_style_set_padding_left(float value, enum CMasonDimensionType value_type, void *style);
615
+ void mason_style_set_padding_left(void *style,
616
+ float value,
617
+ enum CMasonLengthPercentageType value_type);
458
618
 
459
- struct CMasonDimension mason_style_get_padding_left(void *style);
619
+ struct CMasonLengthPercentage mason_style_get_padding_left(void *style);
460
620
 
461
- void mason_style_set_padding_right(float value, enum CMasonDimensionType value_type, void *style);
621
+ void mason_style_set_padding_right(void *style,
622
+ float value,
623
+ enum CMasonLengthPercentageType value_type);
462
624
 
463
- struct CMasonDimension mason_style_get_padding_right(void *style);
625
+ struct CMasonLengthPercentage mason_style_get_padding_right(void *style);
464
626
 
465
- void mason_style_set_padding_top(float value, enum CMasonDimensionType value_type, void *style);
627
+ void mason_style_set_padding_top(void *style,
628
+ float value,
629
+ enum CMasonLengthPercentageType value_type);
466
630
 
467
- struct CMasonDimension mason_style_get_padding_top(void *style);
631
+ struct CMasonLengthPercentage mason_style_get_padding_top(void *style);
468
632
 
469
- void mason_style_set_padding_bottom(float value, enum CMasonDimensionType value_type, void *style);
633
+ void mason_style_set_padding_bottom(void *style,
634
+ float value,
635
+ enum CMasonLengthPercentageType value_type);
470
636
 
471
- struct CMasonDimension mason_style_get_padding_bottom(void *style);
637
+ struct CMasonLengthPercentage mason_style_get_padding_bottom(void *style);
472
638
 
473
- void mason_style_set_border(float left_value,
474
- enum CMasonDimensionType left_value_type,
639
+ void mason_style_set_border(void *style,
640
+ float left_value,
641
+ enum CMasonLengthPercentageType left_value_type,
475
642
  float right_value,
476
- enum CMasonDimensionType right_value_type,
643
+ enum CMasonLengthPercentageType right_value_type,
477
644
  float top_value,
478
- enum CMasonDimensionType top_value_type,
645
+ enum CMasonLengthPercentageType top_value_type,
479
646
  float bottom_value,
480
- enum CMasonDimensionType bottom_value_type,
481
- void *style);
647
+ enum CMasonLengthPercentageType bottom_value_type);
482
648
 
483
- void mason_style_set_border_left(float value, enum CMasonDimensionType value_type, void *style);
649
+ void mason_style_set_border_left(void *style,
650
+ float value,
651
+ enum CMasonLengthPercentageType value_type);
484
652
 
485
- struct CMasonDimension mason_style_get_border_left(void *style);
653
+ struct CMasonLengthPercentage mason_style_get_border_left(void *style);
486
654
 
487
- void mason_style_set_border_right(float value, enum CMasonDimensionType value_type, void *style);
655
+ void mason_style_set_border_right(void *style,
656
+ float value,
657
+ enum CMasonLengthPercentageType value_type);
488
658
 
489
- struct CMasonDimension mason_style_get_border_right(void *style);
659
+ struct CMasonLengthPercentage mason_style_get_border_right(void *style);
490
660
 
491
- void mason_style_set_border_top(float value, enum CMasonDimensionType value_type, void *style);
661
+ void mason_style_set_border_top(void *style,
662
+ float value,
663
+ enum CMasonLengthPercentageType value_type);
492
664
 
493
- struct CMasonDimension mason_style_get_border_top(void *style);
665
+ struct CMasonLengthPercentage mason_style_get_border_top(void *style);
494
666
 
495
- void mason_style_set_border_bottom(float value, enum CMasonDimensionType value_type, void *style);
667
+ void mason_style_set_border_bottom(void *style,
668
+ float value,
669
+ enum CMasonLengthPercentageType value_type);
496
670
 
497
- struct CMasonDimension mason_style_get_border_bottom(void *style);
671
+ struct CMasonLengthPercentage mason_style_get_border_bottom(void *style);
498
672
 
499
- void mason_style_set_flex_grow(float grow);
673
+ void mason_style_set_flex_grow(void *style, float grow);
500
674
 
501
675
  float mason_style_get_flex_grow(void *style);
502
676
 
503
- void mason_style_set_flex_shrink(float shrink);
677
+ void mason_style_set_flex_shrink(void *style, float shrink);
504
678
 
505
679
  float mason_style_get_flex_shrink(void *style);
506
680
 
507
- void mason_style_set_flex_basis(float value, enum CMasonDimensionType value_type, void *style);
681
+ void mason_style_set_flex_basis(void *style, float value, enum CMasonDimensionType value_type);
508
682
 
509
683
  struct CMasonDimension mason_style_get_flex_basis(void *style);
510
684
 
511
- void mason_style_set_width(float value, enum CMasonDimensionType value_type, void *style);
685
+ void mason_style_set_width(void *style, float value, enum CMasonDimensionType value_type);
512
686
 
513
687
  struct CMasonDimension mason_style_get_width(void *style);
514
688
 
515
- void mason_style_set_height(float value, enum CMasonDimensionType value_type, void *style);
689
+ void mason_style_set_height(void *style, float value, enum CMasonDimensionType value_type);
516
690
 
517
691
  struct CMasonDimension mason_style_get_height(void *style);
518
692
 
519
- void mason_style_set_min_width(float value, enum CMasonDimensionType value_type, void *style);
693
+ void mason_style_set_min_width(void *style, float value, enum CMasonDimensionType value_type);
520
694
 
521
695
  struct CMasonDimension mason_style_get_min_width(void *style);
522
696
 
523
- void mason_style_set_min_height(float value, enum CMasonDimensionType value_type, void *style);
697
+ void mason_style_set_min_height(void *style, float value, enum CMasonDimensionType value_type);
524
698
 
525
699
  struct CMasonDimension mason_style_get_min_height(void *style);
526
700
 
527
- void mason_style_set_max_width(float value, enum CMasonDimensionType value_type, void *style);
701
+ void mason_style_set_max_width(void *style, float value, enum CMasonDimensionType value_type);
528
702
 
529
703
  struct CMasonDimension mason_style_get_max_width(void *style);
530
704
 
531
- void mason_style_set_max_height(float value, enum CMasonDimensionType value_type, void *style);
705
+ void mason_style_set_max_height(void *style, float value, enum CMasonDimensionType value_type);
532
706
 
533
707
  struct CMasonDimension mason_style_get_max_height(void *style);
534
708
 
535
- void mason_style_set_gap_width(float value, enum CMasonDimensionType value_type, void *style);
709
+ struct CMasonLengthPercentageSize mason_style_get_gap(void *style);
710
+
711
+ void mason_style_set_gap(void *style,
712
+ float width_value,
713
+ enum CMasonLengthPercentageType width_type,
714
+ float height_value,
715
+ enum CMasonLengthPercentageType height_type);
716
+
717
+ void mason_style_set_row_gap(void *style, float value, enum CMasonLengthPercentageType value_type);
536
718
 
537
- struct CMasonDimension mason_style_get_gap_width(void *style);
719
+ struct CMasonLengthPercentage mason_style_get_row_gap(void *style);
538
720
 
539
- void mason_style_set_gap_height(float value, enum CMasonDimensionType value_type, void *style);
721
+ void mason_style_set_column_gap(void *style,
722
+ float value,
723
+ enum CMasonLengthPercentageType value_type);
540
724
 
541
- struct CMasonDimension mason_style_get_gap_height(void *style);
725
+ struct CMasonLengthPercentage mason_style_get_column_gap(void *style);
542
726
 
543
- void mason_style_set_aspect_ratio(float ratio, void *style);
727
+ void mason_style_set_aspect_ratio(void *style, float ratio);
544
728
 
545
729
  float mason_style_get_aspect_ratio(void *style);
546
730
 
731
+ struct CMasonNonRepeatedTrackSizingFunctionArray *mason_style_get_grid_auto_rows(void *style);
732
+
733
+ void mason_style_set_grid_auto_rows(void *style,
734
+ struct CMasonNonRepeatedTrackSizingFunctionArray *value);
735
+
736
+ struct CMasonNonRepeatedTrackSizingFunctionArray *mason_style_get_grid_auto_columns(void *style);
737
+
738
+ void mason_style_set_grid_auto_columns(void *style,
739
+ struct CMasonNonRepeatedTrackSizingFunctionArray *value);
740
+
741
+ int32_t mason_style_get_grid_auto_flow(void *style);
742
+
743
+ void mason_style_set_grid_auto_flow(void *style, int32_t value);
744
+
745
+ void mason_style_set_grid_area(void *style,
746
+ struct CMasonGridPlacement row_start,
747
+ struct CMasonGridPlacement row_end,
748
+ struct CMasonGridPlacement column_start,
749
+ struct CMasonGridPlacement column_end);
750
+
751
+ struct CMasonGridPlacement mason_style_get_grid_column_start(void *style);
752
+
753
+ void mason_style_set_grid_column(void *style,
754
+ struct CMasonGridPlacement start,
755
+ struct CMasonGridPlacement end);
756
+
757
+ void mason_style_set_grid_column_start(void *style, struct CMasonGridPlacement value);
758
+
759
+ struct CMasonGridPlacement mason_style_get_grid_column_end(void *style);
760
+
761
+ void mason_style_set_grid_column_end(void *style, struct CMasonGridPlacement value);
762
+
763
+ struct CMasonGridPlacement mason_style_get_grid_row_start(void *style);
764
+
765
+ void mason_style_set_grid_row(void *style,
766
+ struct CMasonGridPlacement start,
767
+ struct CMasonGridPlacement end);
768
+
769
+ void mason_style_set_grid_row_start(void *style, struct CMasonGridPlacement value);
770
+
771
+ struct CMasonGridPlacement mason_style_get_grid_row_end(void *style);
772
+
773
+ void mason_style_set_grid_row_end(void *style, struct CMasonGridPlacement value);
774
+
775
+ struct CMasonTrackSizingFunctionArray *mason_style_get_grid_template_rows(void *style);
776
+
777
+ void mason_style_set_grid_template_rows(void *style, struct CMasonTrackSizingFunctionArray *value);
778
+
779
+ struct CMasonTrackSizingFunctionArray *mason_style_get_grid_template_columns(void *style);
780
+
781
+ void mason_style_set_grid_template_columns(void *style,
782
+ struct CMasonTrackSizingFunctionArray *value);
783
+
784
+ void mason_style_set_scrollbar_width(void *style, float value);
785
+
786
+ float mason_style_get_scrollbar_width(void *style);
787
+
788
+ void mason_style_set_overflow(void *style, int32_t value);
789
+
790
+ void mason_style_set_overflow_x(void *style, int32_t value);
791
+
792
+ int32_t mason_style_get_overflow_x(void *style);
793
+
794
+ void mason_style_set_overflow_y(void *style, int32_t value);
795
+
796
+ int32_t mason_style_get_overflow_y(void *style);
797
+
547
798
  void *mason_style_init_with_values(int display,
548
799
  int position_type,
549
800
  int direction,
@@ -553,15 +804,17 @@ void *mason_style_init_with_values(int display,
553
804
  int align_items,
554
805
  int align_self,
555
806
  int align_content,
807
+ int justify_items,
808
+ int justify_self,
556
809
  int justify_content,
557
- int position_left_type,
558
- float position_left_value,
559
- int position_right_type,
560
- float position_right_value,
561
- int position_top_type,
562
- float position_top_value,
563
- int position_bottom_type,
564
- float position_bottom_value,
810
+ int inset_left_type,
811
+ float inset_left_value,
812
+ int inset_right_type,
813
+ float inset_right_value,
814
+ int inset_top_type,
815
+ float inset_top_value,
816
+ int inset_bottom_type,
817
+ float inset_bottom_value,
565
818
  int margin_left_type,
566
819
  float margin_left_value,
567
820
  int margin_right_type,
@@ -602,11 +855,27 @@ void *mason_style_init_with_values(int display,
602
855
  float max_width_value,
603
856
  int max_height_type,
604
857
  float max_height_value,
605
- int flex_gap_width_type,
606
- float flex_gap_width_value,
607
- int flex_gap_height_type,
608
- float flex_gap_height_value,
609
- float aspect_ratio);
858
+ int32_t gap_row_type,
859
+ float gap_row_value,
860
+ int32_t gap_column_type,
861
+ float gap_column_value,
862
+ float aspect_ratio,
863
+ struct CMasonNonRepeatedTrackSizingFunctionArray *grid_auto_rows,
864
+ struct CMasonNonRepeatedTrackSizingFunctionArray *grid_auto_columns,
865
+ int32_t grid_auto_flow,
866
+ int32_t grid_column_start_type,
867
+ int16_t grid_column_start_value,
868
+ int32_t grid_column_end_type,
869
+ int16_t grid_column_end_value,
870
+ int32_t grid_row_start_type,
871
+ int16_t grid_row_start_value,
872
+ int32_t grid_row_end_type,
873
+ int16_t grid_row_end_value,
874
+ const struct CMasonTrackSizingFunctionArray *grid_template_rows,
875
+ const struct CMasonTrackSizingFunctionArray *grid_template_columns,
876
+ int32_t overflow_x,
877
+ int32_t overflow_y,
878
+ float scrollbar_width);
610
879
 
611
880
  void mason_style_update_with_values(void *style,
612
881
  int display,
@@ -618,15 +887,17 @@ void mason_style_update_with_values(void *style,
618
887
  int align_items,
619
888
  int align_self,
620
889
  int align_content,
890
+ int justify_items,
891
+ int justify_self,
621
892
  int justify_content,
622
- int position_left_type,
623
- float position_left_value,
624
- int position_right_type,
625
- float position_right_value,
626
- int position_top_type,
627
- float position_top_value,
628
- int position_bottom_type,
629
- float position_bottom_value,
893
+ int inset_left_type,
894
+ float inset_left_value,
895
+ int inset_right_type,
896
+ float inset_right_value,
897
+ int inset_top_type,
898
+ float inset_top_value,
899
+ int inset_bottom_type,
900
+ float inset_bottom_value,
630
901
  int margin_left_type,
631
902
  float margin_left_value,
632
903
  int margin_right_type,
@@ -667,10 +938,35 @@ void mason_style_update_with_values(void *style,
667
938
  float max_width_value,
668
939
  int max_height_type,
669
940
  float max_height_value,
670
- int flex_gap_width_type,
671
- float flex_gap_width_value,
672
- int flex_gap_height_type,
673
- float flex_gap_height_value,
674
- float aspect_ratio);
941
+ int32_t gap_row_type,
942
+ float gap_row_value,
943
+ int32_t gap_column_type,
944
+ float gap_column_value,
945
+ float aspect_ratio,
946
+ struct CMasonNonRepeatedTrackSizingFunctionArray *grid_auto_rows,
947
+ struct CMasonNonRepeatedTrackSizingFunctionArray *grid_auto_columns,
948
+ int32_t grid_auto_flow,
949
+ int32_t grid_column_start_type,
950
+ int16_t grid_column_start_value,
951
+ int32_t grid_column_end_type,
952
+ int16_t grid_column_end_value,
953
+ int32_t grid_row_start_type,
954
+ int16_t grid_row_start_value,
955
+ int32_t grid_row_end_type,
956
+ int16_t grid_row_end_value,
957
+ struct CMasonTrackSizingFunctionArray *grid_template_rows,
958
+ struct CMasonTrackSizingFunctionArray *grid_template_columns,
959
+ int32_t overflow_x,
960
+ int32_t overflow_y,
961
+ float scrollbar_width);
962
+
963
+ struct CMasonMinMax mason_util_create_non_repeated_track_sizing_function_with_type_value(int32_t track_type,
964
+ float track_value);
965
+
966
+ char *mason_util_parse_non_repeated_track_sizing_function(struct CMasonNonRepeatedTrackSizingFunctionArray *value);
967
+
968
+ char *mason_util_parse_auto_repeating_track_sizing_function(struct CMasonTrackSizingFunctionArray *value);
969
+
970
+ void mason_util_destroy_string(char *string);
675
971
 
676
972
  #endif /* CBINDGEN_BINDINGS_H */