@triniwiz/nativescript-masonkit 1.0.0-alpha.1 → 1.0.0-alpha.11

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 (358) hide show
  1. package/common.d.ts +53 -30
  2. package/common.js +489 -1113
  3. package/common.js.map +1 -1
  4. package/helpers.d.ts +116 -94
  5. package/helpers.js +474 -2538
  6. package/helpers.js.map +1 -1
  7. package/index.android.d.ts +28 -20
  8. package/index.android.js +110 -65
  9. package/index.android.js.map +1 -1
  10. package/index.d.ts +112 -18
  11. package/index.ios.d.ts +42 -21
  12. package/index.ios.js +316 -96
  13. package/index.ios.js.map +1 -1
  14. package/node.d.ts +2 -0
  15. package/node.js +3 -0
  16. package/node.js.map +1 -0
  17. package/package.json +3 -3
  18. package/platforms/android/include.gradle +18 -1
  19. package/platforms/android/masonkit-release.aar +0 -0
  20. package/platforms/ios/Mason.xcframework/Info.plist +4 -0
  21. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/Mason-Swift.h +345 -314
  22. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/Mason.h +11 -0
  23. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/mason_native.h +215 -818
  24. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Info.plist +0 -0
  25. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Mason +0 -0
  26. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
  27. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.abi.json +20667 -16180
  28. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.private.swiftinterface +444 -308
  29. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  30. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.swiftinterface +444 -308
  31. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/module.modulemap +1 -1
  32. package/platforms/ios/Mason.xcframework/ios-arm64/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
  33. package/platforms/ios/Mason.xcframework/ios-arm64/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/aarch64/Mason.yml +1937 -0
  34. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason-Swift.h +690 -628
  35. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason.h +11 -0
  36. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/mason_native.h +215 -818
  37. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Info.plist +0 -0
  38. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Mason +0 -0
  39. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
  40. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
  41. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.abi.json +20667 -16180
  42. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +444 -308
  43. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  44. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftinterface +444 -308
  45. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json +20667 -16180
  46. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +444 -308
  47. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  48. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +444 -308
  49. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/module.modulemap +1 -1
  50. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/_CodeSignature/CodeResources +33 -97
  51. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
  52. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/aarch64/Mason.yml +1937 -0
  53. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/x86_64/Mason.yml +1888 -0
  54. package/platforms/ios/Podfile +1 -1
  55. package/platforms/ios/build.xcconfig +4 -1
  56. package/platforms/ios/prebuild.sh +101 -0
  57. package/platforms/new_native_src/cpp/Caches.cpp +36 -0
  58. package/platforms/new_native_src/cpp/Caches.h +42 -0
  59. package/platforms/new_native_src/cpp/Common.h +34 -0
  60. package/platforms/new_native_src/cpp/ConcurrentMap.h +57 -0
  61. package/platforms/new_native_src/cpp/Helpers.cpp +101 -0
  62. package/platforms/new_native_src/cpp/Helpers.h +364 -0
  63. package/platforms/new_native_src/cpp/MasonImpl.cpp +68 -0
  64. package/platforms/new_native_src/cpp/MasonImpl.h +40 -0
  65. package/platforms/new_native_src/cpp/MasonNodeImpl.cpp +89 -0
  66. package/platforms/new_native_src/cpp/MasonNodeImpl.h +47 -0
  67. package/platforms/new_native_src/cpp/MasonStyleImpl.cpp +2181 -0
  68. package/platforms/new_native_src/cpp/MasonStyleImpl.h +420 -0
  69. package/platforms/{ios/src → new_native_src/cpp}/include/mason_native.h +47 -20
  70. package/platforms/new_native_src/cpp/include/robin_hood.h +2544 -0
  71. package/src-native/pods/Headers/include/APIDesign.md +72 -0
  72. package/src-native/pods/Headers/include/DEPS +10 -0
  73. package/src-native/pods/Headers/include/DIR_METADATA +11 -0
  74. package/src-native/pods/Headers/include/OWNERS +23 -0
  75. package/src-native/pods/Headers/include/cppgc/DEPS +8 -0
  76. package/src-native/pods/Headers/include/cppgc/OWNERS +2 -0
  77. package/src-native/pods/Headers/include/cppgc/README.md +133 -0
  78. package/src-native/pods/Headers/include/cppgc/allocation.h +310 -0
  79. package/src-native/pods/Headers/include/cppgc/common.h +29 -0
  80. package/src-native/pods/Headers/include/cppgc/cross-thread-persistent.h +465 -0
  81. package/src-native/pods/Headers/include/cppgc/custom-space.h +97 -0
  82. package/src-native/pods/Headers/include/cppgc/default-platform.h +67 -0
  83. package/src-native/pods/Headers/include/cppgc/ephemeron-pair.h +30 -0
  84. package/src-native/pods/Headers/include/cppgc/explicit-management.h +100 -0
  85. package/src-native/pods/Headers/include/cppgc/garbage-collected.h +106 -0
  86. package/src-native/pods/Headers/include/cppgc/heap-consistency.h +266 -0
  87. package/src-native/pods/Headers/include/cppgc/heap-state.h +82 -0
  88. package/src-native/pods/Headers/include/cppgc/heap-statistics.h +120 -0
  89. package/src-native/pods/Headers/include/cppgc/heap.h +206 -0
  90. package/src-native/pods/Headers/include/cppgc/internal/api-constants.h +55 -0
  91. package/src-native/pods/Headers/include/cppgc/internal/atomic-entry-flag.h +48 -0
  92. package/src-native/pods/Headers/include/cppgc/internal/caged-heap-local-data.h +79 -0
  93. package/src-native/pods/Headers/include/cppgc/internal/compiler-specific.h +38 -0
  94. package/src-native/pods/Headers/include/cppgc/internal/finalizer-trait.h +93 -0
  95. package/src-native/pods/Headers/include/cppgc/internal/gc-info.h +156 -0
  96. package/src-native/pods/Headers/include/cppgc/internal/logging.h +50 -0
  97. package/src-native/pods/Headers/include/cppgc/internal/name-trait.h +122 -0
  98. package/src-native/pods/Headers/include/cppgc/internal/persistent-node.h +216 -0
  99. package/src-native/pods/Headers/include/cppgc/internal/pointer-policies.h +186 -0
  100. package/src-native/pods/Headers/include/cppgc/internal/write-barrier.h +435 -0
  101. package/src-native/pods/Headers/include/cppgc/liveness-broker.h +77 -0
  102. package/src-native/pods/Headers/include/cppgc/macros.h +26 -0
  103. package/src-native/pods/Headers/include/cppgc/member.h +291 -0
  104. package/src-native/pods/Headers/include/cppgc/name-provider.h +65 -0
  105. package/src-native/pods/Headers/include/cppgc/object-size-trait.h +58 -0
  106. package/src-native/pods/Headers/include/cppgc/persistent.h +370 -0
  107. package/src-native/pods/Headers/include/cppgc/platform.h +156 -0
  108. package/src-native/pods/Headers/include/cppgc/prefinalizer.h +75 -0
  109. package/src-native/pods/Headers/include/cppgc/process-heap-statistics.h +36 -0
  110. package/src-native/pods/Headers/include/cppgc/sentinel-pointer.h +32 -0
  111. package/src-native/pods/Headers/include/cppgc/source-location.h +92 -0
  112. package/src-native/pods/Headers/include/cppgc/testing.h +106 -0
  113. package/src-native/pods/Headers/include/cppgc/trace-trait.h +116 -0
  114. package/src-native/pods/Headers/include/cppgc/type-traits.h +240 -0
  115. package/src-native/pods/Headers/include/cppgc/visitor.h +379 -0
  116. package/src-native/pods/Headers/include/js_protocol-1.2.json +936 -0
  117. package/src-native/pods/Headers/include/js_protocol-1.3.json +1112 -0
  118. package/src-native/pods/Headers/include/js_protocol.pdl +1709 -0
  119. package/src-native/pods/Headers/include/libffi/arm64/ffi.h +524 -0
  120. package/src-native/pods/Headers/include/libffi/arm64/ffitarget.h +92 -0
  121. package/src-native/pods/Headers/include/libffi/x86_64/ffi.h +524 -0
  122. package/src-native/pods/Headers/include/libffi/x86_64/ffitarget.h +147 -0
  123. package/src-native/pods/Headers/include/libffi.h +12 -0
  124. package/src-native/pods/Headers/include/libplatform/DEPS +9 -0
  125. package/src-native/pods/Headers/include/libplatform/libplatform-export.h +29 -0
  126. package/src-native/pods/Headers/include/libplatform/libplatform.h +106 -0
  127. package/src-native/pods/Headers/include/libplatform/v8-tracing.h +333 -0
  128. package/src-native/pods/Headers/include/v8-array-buffer.h +433 -0
  129. package/src-native/pods/Headers/include/v8-callbacks.h +397 -0
  130. package/src-native/pods/Headers/include/v8-container.h +129 -0
  131. package/src-native/pods/Headers/include/v8-context.h +407 -0
  132. package/src-native/pods/Headers/include/v8-cppgc.h +215 -0
  133. package/src-native/pods/Headers/include/v8-data.h +80 -0
  134. package/src-native/pods/Headers/include/v8-date.h +43 -0
  135. package/src-native/pods/Headers/include/v8-debug.h +168 -0
  136. package/src-native/pods/Headers/include/v8-embedder-heap.h +218 -0
  137. package/src-native/pods/Headers/include/v8-embedder-state-scope.h +51 -0
  138. package/src-native/pods/Headers/include/v8-exception.h +217 -0
  139. package/src-native/pods/Headers/include/v8-extension.h +62 -0
  140. package/src-native/pods/Headers/include/v8-external.h +37 -0
  141. package/src-native/pods/Headers/include/v8-fast-api-calls.h +939 -0
  142. package/src-native/pods/Headers/include/v8-forward.h +81 -0
  143. package/src-native/pods/Headers/include/v8-function-callback.h +475 -0
  144. package/src-native/pods/Headers/include/v8-function.h +125 -0
  145. package/src-native/pods/Headers/include/v8-initialization.h +315 -0
  146. package/src-native/pods/Headers/include/v8-inspector-protocol.h +13 -0
  147. package/src-native/pods/Headers/include/v8-inspector.h +376 -0
  148. package/src-native/pods/Headers/include/v8-internal.h +661 -0
  149. package/src-native/pods/Headers/include/v8-isolate.h +1709 -0
  150. package/src-native/pods/Headers/include/v8-json.h +47 -0
  151. package/src-native/pods/Headers/include/v8-local-handle.h +455 -0
  152. package/src-native/pods/Headers/include/v8-locker.h +149 -0
  153. package/src-native/pods/Headers/include/v8-maybe.h +137 -0
  154. package/src-native/pods/Headers/include/v8-memory-span.h +43 -0
  155. package/src-native/pods/Headers/include/v8-message.h +216 -0
  156. package/src-native/pods/Headers/include/v8-metrics.h +255 -0
  157. package/src-native/pods/Headers/include/v8-microtask-queue.h +152 -0
  158. package/src-native/pods/Headers/include/v8-microtask.h +28 -0
  159. package/src-native/pods/Headers/include/v8-object.h +775 -0
  160. package/src-native/pods/Headers/include/v8-persistent-handle.h +590 -0
  161. package/src-native/pods/Headers/include/v8-platform.h +1092 -0
  162. package/src-native/pods/Headers/include/v8-primitive-object.h +118 -0
  163. package/src-native/pods/Headers/include/v8-primitive.h +866 -0
  164. package/src-native/pods/Headers/include/v8-profiler.h +1198 -0
  165. package/src-native/pods/Headers/include/v8-promise.h +174 -0
  166. package/src-native/pods/Headers/include/v8-proxy.h +50 -0
  167. package/src-native/pods/Headers/include/v8-regexp.h +105 -0
  168. package/src-native/pods/Headers/include/v8-script.h +748 -0
  169. package/src-native/pods/Headers/include/v8-snapshot.h +196 -0
  170. package/src-native/pods/Headers/include/v8-statistics.h +217 -0
  171. package/src-native/pods/Headers/include/v8-template.h +1079 -0
  172. package/src-native/pods/Headers/include/v8-traced-handle.h +420 -0
  173. package/src-native/pods/Headers/include/v8-typed-array.h +282 -0
  174. package/src-native/pods/Headers/include/v8-unwinder-state.h +31 -0
  175. package/src-native/pods/Headers/include/v8-unwinder.h +132 -0
  176. package/src-native/pods/Headers/include/v8-util.h +658 -0
  177. package/src-native/pods/Headers/include/v8-value-serializer-version.h +24 -0
  178. package/src-native/pods/Headers/include/v8-value-serializer.h +279 -0
  179. package/src-native/pods/Headers/include/v8-value.h +526 -0
  180. package/src-native/pods/Headers/include/v8-version-string.h +38 -0
  181. package/src-native/pods/Headers/include/v8-version.h +20 -0
  182. package/src-native/pods/Headers/include/v8-wasm-trap-handler-posix.h +31 -0
  183. package/src-native/pods/Headers/include/v8-wasm-trap-handler-win.h +28 -0
  184. package/src-native/pods/Headers/include/v8-wasm.h +257 -0
  185. package/src-native/pods/Headers/include/v8-weak-callback-info.h +86 -0
  186. package/src-native/pods/Headers/include/v8.h +88 -0
  187. package/src-native/pods/Headers/include/v8config.h +605 -0
  188. package/src-native/pods/Headers/inspector/InspectorServer.h +20 -0
  189. package/src-native/pods/Headers/inspector/JsV8InspectorClient.h +66 -0
  190. package/src-native/pods/Headers/inspector/base/trace_event/common/trace_event_common.h +1123 -0
  191. package/src-native/pods/Headers/inspector/base64.h +9 -0
  192. package/src-native/pods/Headers/inspector/src/base/address-region.h +95 -0
  193. package/src-native/pods/Headers/inspector/src/base/atomic-utils.h +219 -0
  194. package/src-native/pods/Headers/inspector/src/base/atomicops.h +332 -0
  195. package/src-native/pods/Headers/inspector/src/base/atomicops_internals_atomicword_compat.h +89 -0
  196. package/src-native/pods/Headers/inspector/src/base/base-export.h +31 -0
  197. package/src-native/pods/Headers/inspector/src/base/bits.h +343 -0
  198. package/src-native/pods/Headers/inspector/src/base/build_config.h +234 -0
  199. package/src-native/pods/Headers/inspector/src/base/compiler-specific.h +136 -0
  200. package/src-native/pods/Headers/inspector/src/base/export-template.h +163 -0
  201. package/src-native/pods/Headers/inspector/src/base/flags.h +130 -0
  202. package/src-native/pods/Headers/inspector/src/base/immediate-crash.h +162 -0
  203. package/src-native/pods/Headers/inspector/src/base/lazy-instance.h +258 -0
  204. package/src-native/pods/Headers/inspector/src/base/logging.h +417 -0
  205. package/src-native/pods/Headers/inspector/src/base/macros.h +423 -0
  206. package/src-native/pods/Headers/inspector/src/base/memory.h +89 -0
  207. package/src-native/pods/Headers/inspector/src/base/once.h +108 -0
  208. package/src-native/pods/Headers/inspector/src/base/optional.h +882 -0
  209. package/src-native/pods/Headers/inspector/src/base/platform/mutex.h +370 -0
  210. package/src-native/pods/Headers/inspector/src/base/platform/platform.h +476 -0
  211. package/src-native/pods/Headers/inspector/src/base/platform/semaphore.h +108 -0
  212. package/src-native/pods/Headers/inspector/src/base/platform/v8-time.h +513 -0
  213. package/src-native/pods/Headers/inspector/src/base/platform/wrappers.h +73 -0
  214. package/src-native/pods/Headers/inspector/src/base/safe_conversions.h +389 -0
  215. package/src-native/pods/Headers/inspector/src/base/safe_conversions_impl.h +822 -0
  216. package/src-native/pods/Headers/inspector/src/base/template-utils.h +113 -0
  217. package/src-native/pods/Headers/inspector/src/base/v8-fallthrough.h +21 -0
  218. package/src-native/pods/Headers/inspector/src/common/checks.h +38 -0
  219. package/src-native/pods/Headers/inspector/src/common/globals.h +1842 -0
  220. package/src-native/pods/Headers/inspector/src/debug/debug-interface.h +667 -0
  221. package/src-native/pods/Headers/inspector/src/debug/interface-types.h +175 -0
  222. package/src-native/pods/Headers/inspector/src/init/v8.h +52 -0
  223. package/src-native/pods/Headers/inspector/src/inspector/custom-preview.h +24 -0
  224. package/src-native/pods/Headers/inspector/src/inspector/injected-script.h +251 -0
  225. package/src-native/pods/Headers/inspector/src/inspector/inspected-context.h +79 -0
  226. package/src-native/pods/Headers/inspector/src/inspector/protocol/CSS.h +2148 -0
  227. package/src-native/pods/Headers/inspector/src/inspector/protocol/Console.h +211 -0
  228. package/src-native/pods/Headers/inspector/src/inspector/protocol/DOM.h +1008 -0
  229. package/src-native/pods/Headers/inspector/src/inspector/protocol/Debugger.h +892 -0
  230. package/src-native/pods/Headers/inspector/src/inspector/protocol/Forward.h +75 -0
  231. package/src-native/pods/Headers/inspector/src/inspector/protocol/HeapProfiler.h +346 -0
  232. package/src-native/pods/Headers/inspector/src/inspector/protocol/Log.h +342 -0
  233. package/src-native/pods/Headers/inspector/src/inspector/protocol/Network.h +2528 -0
  234. package/src-native/pods/Headers/inspector/src/inspector/protocol/Overlay.h +281 -0
  235. package/src-native/pods/Headers/inspector/src/inspector/protocol/Page.h +1189 -0
  236. package/src-native/pods/Headers/inspector/src/inspector/protocol/Profiler.h +1001 -0
  237. package/src-native/pods/Headers/inspector/src/inspector/protocol/Protocol.h +617 -0
  238. package/src-native/pods/Headers/inspector/src/inspector/protocol/Runtime.h +1696 -0
  239. package/src-native/pods/Headers/inspector/src/inspector/protocol/Schema.h +146 -0
  240. package/src-native/pods/Headers/inspector/src/inspector/protocol/Security.h +793 -0
  241. package/src-native/pods/Headers/inspector/src/inspector/remote-object-id.h +54 -0
  242. package/src-native/pods/Headers/inspector/src/inspector/search-util.h +26 -0
  243. package/src-native/pods/Headers/inspector/src/inspector/string-16.h +180 -0
  244. package/src-native/pods/Headers/inspector/src/inspector/string-util.h +128 -0
  245. package/src-native/pods/Headers/inspector/src/inspector/v8-console-agent-impl.h +48 -0
  246. package/src-native/pods/Headers/inspector/src/inspector/v8-console-message.h +147 -0
  247. package/src-native/pods/Headers/inspector/src/inspector/v8-console.h +173 -0
  248. package/src-native/pods/Headers/inspector/src/inspector/v8-css-agent-impl.h +62 -0
  249. package/src-native/pods/Headers/inspector/src/inspector/v8-debugger-agent-impl.h +248 -0
  250. package/src-native/pods/Headers/inspector/src/inspector/v8-debugger-id.h +44 -0
  251. package/src-native/pods/Headers/inspector/src/inspector/v8-debugger-script.h +123 -0
  252. package/src-native/pods/Headers/inspector/src/inspector/v8-debugger.h +257 -0
  253. package/src-native/pods/Headers/inspector/src/inspector/v8-dom-agent-impl.h +91 -0
  254. package/src-native/pods/Headers/inspector/src/inspector/v8-heap-profiler-agent-impl.h +80 -0
  255. package/src-native/pods/Headers/inspector/src/inspector/v8-inspector-impl.h +191 -0
  256. package/src-native/pods/Headers/inspector/src/inspector/v8-inspector-session-impl.h +156 -0
  257. package/src-native/pods/Headers/inspector/src/inspector/v8-log-agent-impl.h +34 -0
  258. package/src-native/pods/Headers/inspector/src/inspector/v8-network-agent-impl.h +71 -0
  259. package/src-native/pods/Headers/inspector/src/inspector/v8-ns-debugger-agent-impl.h +24 -0
  260. package/src-native/pods/Headers/inspector/src/inspector/v8-overlay-agent-impl.h +70 -0
  261. package/src-native/pods/Headers/inspector/src/inspector/v8-page-agent-impl.h +88 -0
  262. package/src-native/pods/Headers/inspector/src/inspector/v8-profiler-agent-impl.h +104 -0
  263. package/src-native/pods/Headers/inspector/src/inspector/v8-regex.h +38 -0
  264. package/src-native/pods/Headers/inspector/src/inspector/v8-runtime-agent-impl.h +157 -0
  265. package/src-native/pods/Headers/inspector/src/inspector/v8-schema-agent-impl.h +38 -0
  266. package/src-native/pods/Headers/inspector/src/inspector/v8-stack-trace-impl.h +164 -0
  267. package/src-native/pods/Headers/inspector/src/inspector/v8-string-conversions.h +17 -0
  268. package/src-native/pods/Headers/inspector/src/inspector/v8-value-utils.h +23 -0
  269. package/src-native/pods/Headers/inspector/src/inspector/value-mirror.h +87 -0
  270. package/src-native/pods/Headers/inspector/src/libplatform/default-platform.h +92 -0
  271. package/src-native/pods/Headers/inspector/src/logging/tracing-flags.h +50 -0
  272. package/src-native/pods/Headers/inspector/src/numbers/conversions.h +183 -0
  273. package/src-native/pods/Headers/inspector/src/tracing/trace-event.h +664 -0
  274. package/src-native/pods/Headers/inspector/src/utils/allocation.h +367 -0
  275. package/src-native/pods/Headers/inspector/src/utils/vector.h +324 -0
  276. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/cbor.h +305 -0
  277. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/dispatch.h +314 -0
  278. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/error_support.h +62 -0
  279. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/export.h +6 -0
  280. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/find_by_first.h +58 -0
  281. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/frontend_channel.h +47 -0
  282. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/glue.h +80 -0
  283. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/json.h +52 -0
  284. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/json_platform.h +26 -0
  285. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/maybe.h +104 -0
  286. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/parser_handler.h +39 -0
  287. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/protocol_core.h +406 -0
  288. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/serializable.h +32 -0
  289. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/serializer_traits.h +158 -0
  290. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/span.h +99 -0
  291. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/status.h +139 -0
  292. package/src-native/pods/Headers/inspector/utils.h +32 -0
  293. package/src-native/pods/Headers/inspector/v8-inspector-platform.h +44 -0
  294. package/src-native/pods/Headers/jsi/decorator.h +762 -0
  295. package/src-native/pods/Headers/jsi/instrumentation.h +117 -0
  296. package/src-native/pods/Headers/jsi/jsi-inl.h +322 -0
  297. package/src-native/pods/Headers/jsi/jsi.h +1387 -0
  298. package/src-native/pods/Headers/jsi/jsilib.h +59 -0
  299. package/src-native/pods/Headers/jsi/threadsafe.h +79 -0
  300. package/src-native/pods/Headers/runtime/ArgConverter.h +61 -0
  301. package/src-native/pods/Headers/runtime/ArrayAdapter.h +13 -0
  302. package/src-native/pods/Headers/runtime/Caches.h +98 -0
  303. package/src-native/pods/Headers/runtime/ClassBuilder.h +61 -0
  304. package/src-native/pods/Headers/runtime/Common.h +9 -0
  305. package/src-native/pods/Headers/runtime/ConcurrentMap.h +55 -0
  306. package/src-native/pods/Headers/runtime/ConcurrentQueue.h +28 -0
  307. package/src-native/pods/Headers/runtime/Console.h +27 -0
  308. package/src-native/pods/Headers/runtime/Constants.h +15 -0
  309. package/src-native/pods/Headers/runtime/DataWrapper.h +671 -0
  310. package/src-native/pods/Headers/runtime/DictionaryAdapter.h +13 -0
  311. package/src-native/pods/Headers/runtime/ExtVector.h +21 -0
  312. package/src-native/pods/Headers/runtime/FFICall.h +105 -0
  313. package/src-native/pods/Headers/runtime/FastEnumerationAdapter.h +13 -0
  314. package/src-native/pods/Headers/runtime/FunctionReference.h +18 -0
  315. package/src-native/pods/Headers/runtime/Helpers.h +84 -0
  316. package/src-native/pods/Headers/runtime/InlineFunctions.h +16 -0
  317. package/src-native/pods/Headers/runtime/Interop.h +202 -0
  318. package/src-native/pods/Headers/runtime/KnownUnknownClassPair.h +35 -0
  319. package/src-native/pods/Headers/runtime/Metadata.h +981 -0
  320. package/src-native/pods/Headers/runtime/MetadataBuilder.h +72 -0
  321. package/src-native/pods/Headers/runtime/MetadataInlines.h +157 -0
  322. package/src-native/pods/Headers/runtime/ModuleInternal.h +59 -0
  323. package/src-native/pods/Headers/runtime/NSDataAdapter.h +13 -0
  324. package/src-native/pods/Headers/runtime/NativeScriptException.h +27 -0
  325. package/src-native/pods/Headers/runtime/ObjectManager.h +31 -0
  326. package/src-native/pods/Headers/runtime/OneByteStringResource.h +21 -0
  327. package/src-native/pods/Headers/runtime/Pointer.h +26 -0
  328. package/src-native/pods/Headers/runtime/PromiseProxy.h +15 -0
  329. package/src-native/pods/Headers/runtime/Reference.h +38 -0
  330. package/src-native/pods/Headers/runtime/Runtime.h +67 -0
  331. package/src-native/pods/Headers/runtime/RuntimeConfig.h +17 -0
  332. package/src-native/pods/Headers/runtime/SetTimeout.h +34 -0
  333. package/src-native/pods/Headers/runtime/SimpleAllocator.h +23 -0
  334. package/src-native/pods/Headers/runtime/StringHasher.h +315 -0
  335. package/src-native/pods/Headers/runtime/SymbolIterator.h +18 -0
  336. package/src-native/pods/Headers/runtime/SymbolLoader.h +27 -0
  337. package/src-native/pods/Headers/runtime/TNSDerivedClass.h +8 -0
  338. package/src-native/pods/Headers/runtime/TSHelpers.h +15 -0
  339. package/src-native/pods/Headers/runtime/Tasks.h +19 -0
  340. package/src-native/pods/Headers/runtime/UnmanagedType.h +21 -0
  341. package/src-native/pods/Headers/runtime/WeakRef.h +15 -0
  342. package/src-native/pods/Headers/runtime/Worker.h +26 -0
  343. package/src-native/pods/Headers/runtime/robin_hood.h +2184 -0
  344. package/src-native/pods/Headers/v8runtime/HostProxy.h +71 -0
  345. package/src-native/pods/Headers/v8runtime/JSIV8ValueConverter.h +70 -0
  346. package/src-native/pods/Headers/v8runtime/V8PointerValue.h +44 -0
  347. package/src-native/pods/Headers/v8runtime/V8Runtime.h +215 -0
  348. package/src-native/pods/Headers/v8runtime/V8RuntimeConfig.h +26 -0
  349. package/src-native/pods/Headers/v8runtime/V8RuntimeFactory.h +21 -0
  350. package/src-native/pods/NativeScript.podspec +68 -0
  351. package/style.d.ts +166 -0
  352. package/style.js +1686 -0
  353. package/style.js.map +1 -0
  354. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/PrivateHeaders/mason_native.h +0 -676
  355. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/PrivateHeaders/mason_native.h +0 -676
  356. package/platforms/ios/src/JSIModule.h +0 -217
  357. package/platforms/ios/src/JSIModule.mm +0 -2788
  358. package/platforms/ios/src/module.modulemap +0 -4
@@ -1,6 +1,6 @@
1
1
  #if 0
2
2
  #elif defined(__arm64__) && __arm64__
3
- // Generated by Apple Swift version 5.7 (swiftlang-5.7.0.127.4 clang-1400.0.29.50)
3
+ // Generated by Apple Swift version 6.0.2 effective-5.10 (swiftlang-6.0.2.1.2 clang-1600.0.26.4)
4
4
  #ifndef MASON_SWIFT_H
5
5
  #define MASON_SWIFT_H
6
6
  #pragma clang diagnostic push
@@ -23,7 +23,6 @@
23
23
  # include <swift/objc-prologue.h>
24
24
  #endif
25
25
 
26
- #pragma clang diagnostic ignored "-Wduplicate-method-match"
27
26
  #pragma clang diagnostic ignored "-Wauto-import"
28
27
  #if defined(__OBJC__)
29
28
  #include <Foundation/Foundation.h>
@@ -32,10 +31,33 @@
32
31
  #include <cstdint>
33
32
  #include <cstddef>
34
33
  #include <cstdbool>
34
+ #include <cstring>
35
+ #include <stdlib.h>
36
+ #include <new>
37
+ #include <type_traits>
35
38
  #else
36
39
  #include <stdint.h>
37
40
  #include <stddef.h>
38
41
  #include <stdbool.h>
42
+ #include <string.h>
43
+ #endif
44
+ #if defined(__cplusplus)
45
+ #pragma clang diagnostic push
46
+ #pragma clang diagnostic ignored "-Wnon-modular-include-in-framework-module"
47
+ #if defined(__arm64e__) && __has_include(<ptrauth.h>)
48
+ # include <ptrauth.h>
49
+ #else
50
+ #pragma clang diagnostic push
51
+ #pragma clang diagnostic ignored "-Wreserved-macro-identifier"
52
+ # ifndef __ptrauth_swift_value_witness_function_pointer
53
+ # define __ptrauth_swift_value_witness_function_pointer(x)
54
+ # endif
55
+ # ifndef __ptrauth_swift_class_method_pointer
56
+ # define __ptrauth_swift_class_method_pointer(x)
57
+ # endif
58
+ #pragma clang diagnostic pop
59
+ #endif
60
+ #pragma clang diagnostic pop
39
61
  #endif
40
62
 
41
63
  #if !defined(SWIFT_TYPEDEFS)
@@ -71,53 +93,66 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
71
93
  # if __has_feature(objc_class_property)
72
94
  # define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
73
95
  # else
74
- # define SWIFT_CLASS_PROPERTY(...)
96
+ # define SWIFT_CLASS_PROPERTY(...)
75
97
  # endif
76
98
  #endif
77
-
78
- #if __has_attribute(objc_runtime_name)
79
- # define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
80
- #else
81
- # define SWIFT_RUNTIME_NAME(X)
99
+ #if !defined(SWIFT_RUNTIME_NAME)
100
+ # if __has_attribute(objc_runtime_name)
101
+ # define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
102
+ # else
103
+ # define SWIFT_RUNTIME_NAME(X)
104
+ # endif
82
105
  #endif
83
- #if __has_attribute(swift_name)
84
- # define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
85
- #else
86
- # define SWIFT_COMPILE_NAME(X)
106
+ #if !defined(SWIFT_COMPILE_NAME)
107
+ # if __has_attribute(swift_name)
108
+ # define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
109
+ # else
110
+ # define SWIFT_COMPILE_NAME(X)
111
+ # endif
87
112
  #endif
88
- #if __has_attribute(objc_method_family)
89
- # define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
90
- #else
91
- # define SWIFT_METHOD_FAMILY(X)
113
+ #if !defined(SWIFT_METHOD_FAMILY)
114
+ # if __has_attribute(objc_method_family)
115
+ # define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
116
+ # else
117
+ # define SWIFT_METHOD_FAMILY(X)
118
+ # endif
92
119
  #endif
93
- #if __has_attribute(noescape)
94
- # define SWIFT_NOESCAPE __attribute__((noescape))
95
- #else
96
- # define SWIFT_NOESCAPE
120
+ #if !defined(SWIFT_NOESCAPE)
121
+ # if __has_attribute(noescape)
122
+ # define SWIFT_NOESCAPE __attribute__((noescape))
123
+ # else
124
+ # define SWIFT_NOESCAPE
125
+ # endif
97
126
  #endif
98
- #if __has_attribute(ns_consumed)
99
- # define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
100
- #else
101
- # define SWIFT_RELEASES_ARGUMENT
127
+ #if !defined(SWIFT_RELEASES_ARGUMENT)
128
+ # if __has_attribute(ns_consumed)
129
+ # define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
130
+ # else
131
+ # define SWIFT_RELEASES_ARGUMENT
132
+ # endif
102
133
  #endif
103
- #if __has_attribute(warn_unused_result)
104
- # define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
105
- #else
106
- # define SWIFT_WARN_UNUSED_RESULT
134
+ #if !defined(SWIFT_WARN_UNUSED_RESULT)
135
+ # if __has_attribute(warn_unused_result)
136
+ # define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
137
+ # else
138
+ # define SWIFT_WARN_UNUSED_RESULT
139
+ # endif
107
140
  #endif
108
- #if __has_attribute(noreturn)
109
- # define SWIFT_NORETURN __attribute__((noreturn))
110
- #else
111
- # define SWIFT_NORETURN
141
+ #if !defined(SWIFT_NORETURN)
142
+ # if __has_attribute(noreturn)
143
+ # define SWIFT_NORETURN __attribute__((noreturn))
144
+ # else
145
+ # define SWIFT_NORETURN
146
+ # endif
112
147
  #endif
113
148
  #if !defined(SWIFT_CLASS_EXTRA)
114
- # define SWIFT_CLASS_EXTRA
149
+ # define SWIFT_CLASS_EXTRA
115
150
  #endif
116
151
  #if !defined(SWIFT_PROTOCOL_EXTRA)
117
- # define SWIFT_PROTOCOL_EXTRA
152
+ # define SWIFT_PROTOCOL_EXTRA
118
153
  #endif
119
154
  #if !defined(SWIFT_ENUM_EXTRA)
120
- # define SWIFT_ENUM_EXTRA
155
+ # define SWIFT_ENUM_EXTRA
121
156
  #endif
122
157
  #if !defined(SWIFT_CLASS)
123
158
  # if __has_attribute(objc_subclassing_restricted)
@@ -137,28 +172,25 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
137
172
  # define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
138
173
  # endif
139
174
  #endif
140
-
141
175
  #if !defined(SWIFT_PROTOCOL)
142
176
  # define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
143
177
  # define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
144
178
  #endif
145
-
146
179
  #if !defined(SWIFT_EXTENSION)
147
180
  # define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
148
181
  #endif
149
-
150
182
  #if !defined(OBJC_DESIGNATED_INITIALIZER)
151
183
  # if __has_attribute(objc_designated_initializer)
152
184
  # define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
153
185
  # else
154
- # define OBJC_DESIGNATED_INITIALIZER
186
+ # define OBJC_DESIGNATED_INITIALIZER
155
187
  # endif
156
188
  #endif
157
189
  #if !defined(SWIFT_ENUM_ATTR)
158
- # if defined(__has_attribute) && __has_attribute(enum_extensibility)
190
+ # if __has_attribute(enum_extensibility)
159
191
  # define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
160
192
  # else
161
- # define SWIFT_ENUM_ATTR(_extensibility)
193
+ # define SWIFT_ENUM_ATTR(_extensibility)
162
194
  # endif
163
195
  #endif
164
196
  #if !defined(SWIFT_ENUM)
@@ -187,14 +219,16 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
187
219
  #if !defined(SWIFT_DEPRECATED_MSG)
188
220
  # define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
189
221
  #endif
190
- #if __has_feature(attribute_diagnose_if_objc)
191
- # define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
192
- #else
193
- # define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
222
+ #if !defined(SWIFT_DEPRECATED_OBJC)
223
+ # if __has_feature(attribute_diagnose_if_objc)
224
+ # define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
225
+ # else
226
+ # define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
227
+ # endif
194
228
  #endif
195
229
  #if defined(__OBJC__)
196
230
  #if !defined(IBSegueAction)
197
- # define IBSegueAction
231
+ # define IBSegueAction
198
232
  #endif
199
233
  #endif
200
234
  #if !defined(SWIFT_EXTERN)
@@ -207,36 +241,51 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
207
241
  #if !defined(SWIFT_CALL)
208
242
  # define SWIFT_CALL __attribute__((swiftcall))
209
243
  #endif
244
+ #if !defined(SWIFT_INDIRECT_RESULT)
245
+ # define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result))
246
+ #endif
247
+ #if !defined(SWIFT_CONTEXT)
248
+ # define SWIFT_CONTEXT __attribute__((swift_context))
249
+ #endif
250
+ #if !defined(SWIFT_ERROR_RESULT)
251
+ # define SWIFT_ERROR_RESULT __attribute__((swift_error_result))
252
+ #endif
210
253
  #if defined(__cplusplus)
211
- #if !defined(SWIFT_NOEXCEPT)
212
254
  # define SWIFT_NOEXCEPT noexcept
213
- #endif
214
255
  #else
215
- #if !defined(SWIFT_NOEXCEPT)
216
256
  # define SWIFT_NOEXCEPT
217
257
  #endif
258
+ #if !defined(SWIFT_C_INLINE_THUNK)
259
+ # if __has_attribute(always_inline)
260
+ # if __has_attribute(nodebug)
261
+ # define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug))
262
+ # else
263
+ # define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline))
264
+ # endif
265
+ # else
266
+ # define SWIFT_C_INLINE_THUNK inline
267
+ # endif
268
+ #endif
269
+ #if defined(_WIN32)
270
+ #if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
271
+ # define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
218
272
  #endif
219
- #if defined(__cplusplus)
220
- #if !defined(SWIFT_CXX_INT_DEFINED)
221
- #define SWIFT_CXX_INT_DEFINED
222
- namespace swift {
223
- using Int = ptrdiff_t;
224
- using UInt = size_t;
225
- }
273
+ #else
274
+ #if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
275
+ # define SWIFT_IMPORT_STDLIB_SYMBOL
226
276
  #endif
227
277
  #endif
228
278
  #if defined(__OBJC__)
229
- #if __has_feature(modules)
279
+ #if __has_feature(objc_modules)
230
280
  #if __has_warning("-Watimport-in-framework-header")
231
281
  #pragma clang diagnostic ignored "-Watimport-in-framework-header"
232
282
  #endif
283
+ @import CoreFoundation;
233
284
  @import Foundation;
234
285
  @import ObjectiveC;
235
286
  @import UIKit;
236
287
  #endif
237
288
 
238
- #import <Mason/Mason.h>
239
-
240
289
  #endif
241
290
  #pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
242
291
  #pragma clang diagnostic ignored "-Wduplicate-method-arg"
@@ -246,6 +295,7 @@ using UInt = size_t;
246
295
  #pragma clang diagnostic ignored "-Wunknown-pragmas"
247
296
  #pragma clang diagnostic ignored "-Wnullability"
248
297
  #pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
298
+ #pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
249
299
 
250
300
  #if __has_attribute(external_source_symbol)
251
301
  # pragma push_macro("any")
@@ -290,6 +340,13 @@ typedef SWIFT_ENUM_NAMED(NSInteger, AlignSelf, "AlignSelf", open) {
290
340
  AlignSelfFlexEnd = 6,
291
341
  };
292
342
 
343
+ typedef SWIFT_ENUM_NAMED(NSInteger, DecorationLine, "DecorationLine", open) {
344
+ DecorationLineNone = 0,
345
+ DecorationLineUnderline = 1,
346
+ DecorationLineOverline = 2,
347
+ DecorationLineLineThrough = 3,
348
+ };
349
+
293
350
  typedef SWIFT_ENUM_NAMED(NSInteger, Direction, "Direction", open) {
294
351
  DirectionInherit = 0,
295
352
  DirectionLTR = 1,
@@ -300,6 +357,7 @@ typedef SWIFT_ENUM_NAMED(NSInteger, Display, "Display", open) {
300
357
  DisplayNone = 0,
301
358
  DisplayFlex = 1,
302
359
  DisplayGrid = 2,
360
+ DisplayBlock = 3,
303
361
  };
304
362
 
305
363
  typedef SWIFT_ENUM_NAMED(NSInteger, FlexDirection, "FlexDirection", open) {
@@ -315,6 +373,12 @@ typedef SWIFT_ENUM_NAMED(NSInteger, FlexWrap, "FlexWrap", open) {
315
373
  FlexWrapWrapReverse = 2,
316
374
  };
317
375
 
376
+ typedef SWIFT_ENUM_NAMED(NSInteger, FontStyle, "FontStyle", open) {
377
+ FontStyleNormal = 0,
378
+ FontStyleItalic = 1,
379
+ FontStyleOblique = 2,
380
+ };
381
+
318
382
  typedef SWIFT_ENUM_NAMED(NSInteger, FlexGridAutoFlowWrap, "GridAutoFlow", open) {
319
383
  FlexGridAutoFlowWrapRow = 0,
320
384
  FlexGridAutoFlowWrapColumn = 1,
@@ -403,6 +467,11 @@ SWIFT_CLASS_NAMED("LineGridPlacementCompat")
403
467
  + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
404
468
  @end
405
469
 
470
+ typedef SWIFT_ENUM_NAMED(NSInteger, MasonBoxSizing, "MasonBoxSizing", open) {
471
+ MasonBoxSizingBorderBox = 0,
472
+ MasonBoxSizingContentBox = 1,
473
+ };
474
+
406
475
  enum MasonDimensionCompatType : NSInteger;
407
476
 
408
477
  SWIFT_CLASS_NAMED("MasonDimensionCompat")
@@ -550,187 +619,58 @@ SWIFT_CLASS_NAMED("MasonLengthPercentageSizeCompat")
550
619
  @end
551
620
 
552
621
  @class MasonStyle;
622
+ @class NSCMason;
553
623
 
554
624
  SWIFT_CLASS_NAMED("MasonNode")
555
625
  @interface MasonNode : NSObject
556
- @property (nonatomic, readonly) void * _Null_unspecified nativePtr;
626
+ @property (nonatomic, readonly) void * _Nullable nativePtr;
627
+ @property (nonatomic, readonly, strong) MasonLayout * _Nullable layoutCache;
628
+ @property (nonatomic) id _Nullable data;
557
629
  @property (nonatomic, strong) MasonStyle * _Nonnull style;
558
- @property (nonatomic) BOOL includeInLayout;
559
- @property (nonatomic) BOOL isEnabled;
560
- @property (nonatomic, strong) id _Nullable data;
561
630
  @property (nonatomic, readonly, strong) MasonNode * _Nullable owner;
562
631
  @property (nonatomic, readonly, copy) NSArray<MasonNode *> * _Nonnull children;
563
- - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
564
- - (nonnull instancetype)initWithStyle:(MasonStyle * _Nonnull)style OBJC_DESIGNATED_INITIALIZER;
565
- - (nonnull instancetype)initWithStyle:(MasonStyle * _Nonnull)style children:(NSArray<MasonNode *> * _Nonnull)children OBJC_DESIGNATED_INITIALIZER;
566
- - (void)updateNodeStyle;
632
+ - (nonnull instancetype)initWithMason:(NSCMason * _Nonnull)doc children:(NSArray<MasonNode *> * _Nonnull)nodes OBJC_DESIGNATED_INITIALIZER;
567
633
  - (MasonLayout * _Nonnull)layout;
568
634
  @property (nonatomic, readonly) BOOL isDirty;
569
635
  - (void)markDirty;
570
636
  - (MasonNode * _Nullable)getRoot SWIFT_WARN_UNUSED_RESULT;
571
- - (void)rootCompute;
572
- - (void)rootCompute:(float)width :(float)height;
573
- - (void)rootComputeMaxContent;
574
- - (void)rootComputeMinContent;
575
- - (void)rootComputeWithViewSize;
576
- - (void)rootComputeWithMaxContent;
577
637
  - (void)compute;
578
638
  - (void)compute:(float)width :(float)height;
579
639
  - (void)computeMaxContent;
580
640
  - (void)computeMinContent;
581
641
  - (void)computeWithSize:(float)width :(float)height;
582
642
  - (void)computeWithViewSize;
643
+ - (void)computeWithViewSizeWithLayout:(BOOL)layout;
583
644
  - (void)computeWithMaxContent;
584
645
  - (void)computeWithMinContent;
585
646
  - (void)attachAndApply;
586
- - (void)setChildrenWithChildren:(NSArray<MasonNode *> * _Nonnull)children;
647
+ - (void)setChildrenWithValue:(NSArray<MasonNode *> * _Nonnull)value;
587
648
  - (void)addChildren:(NSArray<MasonNode *> * _Nonnull)children;
588
- @property (nonatomic, readonly) BOOL isLeaf;
589
649
  - (void)configure:(SWIFT_NOESCAPE void (^ _Nonnull)(MasonNode * _Nonnull))block;
650
+ - (nonnull instancetype)init SWIFT_UNAVAILABLE;
651
+ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
590
652
  @end
591
653
 
592
-
593
- SWIFT_CLASS_NAMED("MasonReexports")
594
- @interface MasonReexports : NSObject
595
- + (void)node_set_style:(void * _Nonnull)mason :(void * _Nonnull)node :(void * _Nonnull)style;
596
- + (void)node_compute:(void * _Nonnull)mason :(void * _Nonnull)node;
597
- + (void)node_compute_wh:(void * _Nonnull)mason :(void * _Nonnull)node width:(float)width height:(float)height;
598
- + (void)node_compute_max_content:(void * _Nonnull)mason :(void * _Nonnull)node;
599
- + (void)node_compute_min_content:(void * _Nonnull)mason :(void * _Nonnull)node;
600
- + (BOOL)node_dirty:(void * _Nonnull)mason :(void * _Nonnull)node SWIFT_WARN_UNUSED_RESULT;
601
- + (void)node_mark_dirty:(void * _Nonnull)mason :(void * _Nonnull)node;
602
- + (int32_t)style_get_display:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
603
- + (void)style_set_display:(void * _Nonnull)style :(int32_t)display;
604
- + (int32_t)style_get_position:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
605
- + (void)style_set_position:(void * _Nonnull)style :(int32_t)position;
606
- + (int32_t)style_get_direction:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
607
- + (void)style_set_direction:(void * _Nonnull)style :(int32_t)direction;
608
- + (int32_t)style_get_flex_direction:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
609
- + (void)style_set_flex_direction:(void * _Nonnull)style :(int32_t)flex_direction;
610
- + (int32_t)style_get_flex_wrap:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
611
- + (void)style_set_flex_wrap:(void * _Nonnull)style :(int32_t)flex_wrap;
612
- + (int32_t)style_get_overflow:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
613
- + (void)style_set_overflow:(void * _Nonnull)style :(int32_t)overflow;
614
- + (int32_t)style_get_align_items:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
615
- + (void)style_set_align_items:(void * _Nonnull)style :(int32_t)align_items;
616
- + (int32_t)style_get_align_self:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
617
- + (void)style_set_align_self:(void * _Nonnull)style :(int32_t)align_self;
618
- + (int32_t)style_get_align_content:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
619
- + (void)style_set_align_content:(void * _Nonnull)style :(int32_t)align_content;
620
- + (int32_t)style_get_justify_items:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
621
- + (void)style_set_justify_items:(void * _Nonnull)style :(int32_t)align_items;
622
- + (int32_t)style_get_justify_self:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
623
- + (void)style_set_justify_self:(void * _Nonnull)style :(int32_t)align_self;
624
- + (int32_t)style_get_justify_content:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
625
- + (void)style_set_justify_content:(void * _Nonnull)style :(int32_t)justify_content;
626
- + (void)style_set_inset:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
627
- + (CMasonLengthPercentageAuto)style_get_inset_left:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
628
- + (void)style_set_inset_left:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
629
- + (CMasonLengthPercentageAuto)style_get_inset_right:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
630
- + (void)style_set_inset_right:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
631
- + (CMasonLengthPercentageAuto)style_get_inset_top:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
632
- + (void)style_set_inset_top:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
633
- + (CMasonLengthPercentageAuto)style_get_inset_bottom:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
634
- + (void)style_set_inset_bottom:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
635
- + (void)style_set_margin:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
636
- + (CMasonLengthPercentageAuto)style_get_margin_left:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
637
- + (void)style_set_margin_left:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
638
- + (CMasonLengthPercentageAuto)style_get_margin_right:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
639
- + (void)style_set_margin_right:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
640
- + (CMasonLengthPercentageAuto)style_get_margin_top:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
641
- + (void)style_set_margin_top:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
642
- + (CMasonLengthPercentageAuto)style_get_margin_bottom:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
643
- + (void)style_set_margin_bottom:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
644
- + (void)style_set_padding:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
645
- + (CMasonLengthPercentage)style_get_padding_left:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
646
- + (void)style_set_padding_left:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
647
- + (CMasonLengthPercentage)style_get_padding_right:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
648
- + (void)style_set_padding_right:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
649
- + (CMasonLengthPercentage)style_get_padding_top:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
650
- + (void)style_set_padding_top:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
651
- + (CMasonLengthPercentage)style_get_padding_bottom:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
652
- + (void)style_set_padding_bottom:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
653
- + (void)style_set_border:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
654
- + (CMasonLengthPercentage)style_get_border_left:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
655
- + (void)style_set_border_left:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
656
- + (CMasonLengthPercentage)style_get_border_right:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
657
- + (void)style_set_border_right:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
658
- + (CMasonLengthPercentage)style_get_border_top:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
659
- + (void)style_set_border_top:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
660
- + (CMasonLengthPercentage)style_get_border_bottom:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
661
- + (void)style_set_border_bottom:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
662
- + (float)style_get_flex_grow:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
663
- + (void)style_set_flex_grow:(void * _Nonnull)style :(float)value;
664
- + (void)style_set_border_bottom:(void * _Nonnull)style :(float)value;
665
- + (float)style_get_flex_shrink:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
666
- + (void)style_set_flex_shrink:(void * _Nonnull)style :(float)value;
667
- + (void)style_set_flex_basis:(void * _Nonnull)style :(float)value :(CMasonDimensionType)value_type;
668
- + (CMasonDimension)style_get_flex_basis:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
669
- + (CMasonDimension)style_get_width:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
670
- + (void)style_set_width:(void * _Nonnull)style :(float)value :(CMasonDimensionType)value_type;
671
- + (CMasonDimension)style_get_height:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
672
- + (void)style_set_height:(void * _Nonnull)style :(float)value :(CMasonDimensionType)value_type;
673
- + (CMasonDimension)style_get_min_width:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
674
- + (void)style_set_min_width:(void * _Nonnull)style :(float)value :(CMasonDimensionType)value_type;
675
- + (CMasonDimension)style_get_min_height:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
676
- + (void)style_set_min_height:(void * _Nonnull)style :(float)value :(CMasonDimensionType)value_type;
677
- + (CMasonDimension)style_get_max_width:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
678
- + (void)style_set_max_width:(void * _Nonnull)style :(float)value :(CMasonDimensionType)value_type;
679
- + (CMasonDimension)style_get_max_height:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
680
- + (void)style_set_max_height:(void * _Nonnull)style :(float)value :(CMasonDimensionType)value_type;
681
- + (CMasonLengthPercentageSize)style_get_gap:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
682
- + (void)style_set_gap:(void * _Nonnull)style :(float)width_value :(CMasonLengthPercentageType)width_type :(float)height_value :(CMasonLengthPercentageType)height_type;
683
- + (CMasonLengthPercentage)style_get_row_gap:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
684
- + (void)style_set_row_gap:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
685
- + (CMasonLengthPercentage)style_get_column_gap:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
686
- + (void)style_set_column_gap:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
687
- + (float)style_get_aspect_ratio:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
688
- + (void)style_set_aspect_ratio:(void * _Nonnull)style :(float)value;
689
- + (CMasonNonRepeatedTrackSizingFunctionArray * _Nonnull)style_get_grid_auto_rows:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
690
- + (void)style_set_grid_auto_rows:(void * _Nonnull)style :(CMasonNonRepeatedTrackSizingFunctionArray * _Nonnull)value;
691
- + (CMasonNonRepeatedTrackSizingFunctionArray * _Nonnull)style_get_grid_auto_columns:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
692
- + (void)style_set_grid_auto_columns:(void * _Nonnull)style :(CMasonNonRepeatedTrackSizingFunctionArray * _Nonnull)value;
693
- + (int32_t)style_get_grid_auto_flow:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
694
- + (void)style_set_grid_auto_flow:(void * _Nonnull)style :(int32_t)value;
695
- + (void)style_set_grid_area:(void * _Nonnull)style :(CMasonGridPlacement)row_start :(CMasonGridPlacement)row_end :(CMasonGridPlacement)column_start :(CMasonGridPlacement)column_end;
696
- + (void)style_set_grid_column:(void * _Nonnull)style :(CMasonGridPlacement)start :(CMasonGridPlacement)end;
697
- + (CMasonGridPlacement)style_get_grid_column_start:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
698
- + (void)style_set_grid_column_start:(void * _Nonnull)style :(CMasonGridPlacement)value;
699
- + (CMasonGridPlacement)style_get_grid_column_end:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
700
- + (void)style_set_grid_column_end:(void * _Nonnull)style :(CMasonGridPlacement)value;
701
- + (void)style_set_grid_row:(void * _Nonnull)style :(CMasonGridPlacement)start :(CMasonGridPlacement)end;
702
- + (CMasonGridPlacement)style_get_grid_row_start:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
703
- + (void)style_set_grid_row_start:(void * _Nonnull)style :(CMasonGridPlacement)value;
704
- + (CMasonGridPlacement)style_get_grid_row_end:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
705
- + (void)style_set_grid_row_end:(void * _Nonnull)style :(CMasonGridPlacement)value;
706
- + (CMasonTrackSizingFunctionArray * _Nonnull)style_get_grid_template_rows:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
707
- + (void)style_set_grid_template_rows:(void * _Nonnull)style :(CMasonTrackSizingFunctionArray * _Nonnull)value;
708
- + (CMasonTrackSizingFunctionArray * _Nonnull)style_get_grid_template_columns:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
709
- + (void)style_set_grid_template_columns:(void * _Nonnull)style :(CMasonTrackSizingFunctionArray * _Nonnull)value;
710
- + (void)destroyWithNonRepeatedTrackSizingFunctionArray:(CMasonNonRepeatedTrackSizingFunctionArray * _Nonnull)nonRepeatedTrackSizingFunctionArray;
711
- + (void)destroyWithTrackSizingFunctionArray:(CMasonTrackSizingFunctionArray * _Nonnull)trackSizingFunctionArray;
712
- + (NSString * _Nonnull)util_parse_non_repeated_track_sizing_function:(CMasonNonRepeatedTrackSizingFunctionArray * _Nonnull)value SWIFT_WARN_UNUSED_RESULT;
713
- + (NSString * _Nonnull)util_parse_auto_repeating_track_sizing_function:(CMasonTrackSizingFunctionArray * _Nonnull)value SWIFT_WARN_UNUSED_RESULT;
714
- + (CMasonMinMax)util_create_non_repeated_track_sizing_function_with_type_value:(int32_t)track_type :(float)track_value SWIFT_WARN_UNUSED_RESULT;
715
- + (void)style_update_with_values:(void * _Nonnull)style :(int32_t)display :(int32_t)position :(int32_t)direction :(int32_t)flexDirection :(int32_t)flexWrap :(int32_t)overflow :(int32_t)alignItems :(int32_t)alignSelf :(int32_t)alignContent :(int32_t)justifyItems :(int32_t)justifySelf :(int32_t)justifyContent :(int32_t)insetLeftType :(float)insetLeftValue :(int32_t)insetRightType :(float)insetRightValue :(int32_t)insetTopType :(float)insetTopValue :(int32_t)insetBottomType :(float)insetBottomValue :(int32_t)marginLeftType :(float)marginLeftValue :(int32_t)marginRightType :(float)marginRightValue :(int32_t)marginTopType :(float)marginTopValue :(int32_t)marginBottomType :(float)marginBottomValue :(int32_t)paddingLeftType :(float)paddingLeftValue :(int32_t)paddingRightType :(float)paddingRightValue :(int32_t)paddingTopType :(float)paddingTopValue :(int32_t)paddingBottomType :(float)paddingBottomValue :(int32_t)borderLeftType :(float)borderLeftValue :(int32_t)borderRightType :(float)borderRightValue :(int32_t)borderTopType :(float)borderTopValue :(int32_t)borderBottomType :(float)borderBottomValue :(float)flexGrow :(float)flexShrink :(int32_t)flexBasisType :(float)flexBasisValue :(int32_t)widthType :(float)widthValue :(int32_t)heightType :(float)heightValue :(int32_t)minWidthType :(float)minWidthValue :(int32_t)minHeightType :(float)minHeightValue :(int32_t)maxWidthType :(float)maxWidthValue :(int32_t)maxHeightType :(float)maxHeightValue :(int32_t)gapRowType :(float)gapRowValue :(int32_t)gapColumnType :(float)gapColumnValue :(float)aspectRatio :(CMasonNonRepeatedTrackSizingFunctionArray * _Nonnull)gridAutoRows :(CMasonNonRepeatedTrackSizingFunctionArray * _Nonnull)gridAutoColumns :(int32_t)gridAutoFlow :(int32_t)gridColumnStartType :(int16_t)gridColumnStartValue :(int32_t)gridColumnEndType :(int16_t)gridColumnEndValue :(int32_t)gridRowStartType :(int16_t)gridRowStartValue :(int32_t)gridRowEndType :(int16_t)gridRowEndValue :(CMasonTrackSizingFunctionArray * _Nonnull)gridTemplateRows gridTemplateColumns:(CMasonTrackSizingFunctionArray * _Nonnull)gridTemplateColumns;
716
- - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
717
- @end
718
-
654
+ @class NSMutableData;
655
+ @class NSData;
719
656
  enum Position : NSInteger;
720
657
  enum Overflow : NSInteger;
658
+ enum MasonTextAlign : NSInteger;
721
659
  @class MinMax;
722
660
  @class TrackSizingFunction;
723
661
 
724
662
  SWIFT_CLASS_NAMED("MasonStyle")
725
663
  @interface MasonStyle : NSObject
726
- @property (nonatomic, readonly) void * _Null_unspecified nativePtr;
727
- - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
664
+ @property (nonatomic, strong) NSMutableData * _Nonnull valuesCompat;
665
+ @property (nonatomic, copy) NSData * _Nonnull values;
666
+ - (nonnull instancetype)initWithNode:(MasonNode * _Nonnull)node OBJC_DESIGNATED_INITIALIZER;
728
667
  @property (nonatomic) enum Display display;
729
668
  @property (nonatomic) enum Position position;
730
669
  @property (nonatomic) enum Direction direction;
731
670
  @property (nonatomic) enum FlexDirection flexDirection;
732
671
  @property (nonatomic) enum FlexWrap flexWrap;
733
- @property (nonatomic) enum Overflow overflow;
672
+ @property (nonatomic) enum Overflow overflowX;
673
+ @property (nonatomic) enum Overflow overflowY;
734
674
  @property (nonatomic) enum AlignItems alignItems;
735
675
  @property (nonatomic) enum AlignSelf alignSelf;
736
676
  @property (nonatomic) enum AlignContent alignContent;
@@ -764,6 +704,9 @@ SWIFT_CLASS_NAMED("MasonStyle")
764
704
  @property (nonatomic) float flexGrow;
765
705
  @property (nonatomic) float flexShrink;
766
706
  - (void)setFlexBasis:(float)value :(NSInteger)type;
707
+ - (void)setScrollBarWidth:(float)value;
708
+ @property (nonatomic) enum MasonTextAlign textAlign;
709
+ @property (nonatomic) enum MasonBoxSizing boxSizing;
767
710
  @property (nonatomic, strong) MasonDimensionSizeCompat * _Nonnull minSizeCompat;
768
711
  - (void)setMinSizeWidth:(float)value :(NSInteger)type;
769
712
  - (void)setMinSizeHeight:(float)value :(NSInteger)type;
@@ -794,132 +737,97 @@ SWIFT_CLASS_NAMED("MasonStyle")
794
737
  @property (nonatomic, strong) GridPlacementCompat * _Nonnull gridRowEndCompat;
795
738
  @property (nonatomic, copy) NSArray<TrackSizingFunction *> * _Nonnull gridTemplateRows;
796
739
  @property (nonatomic, copy) NSArray<TrackSizingFunction *> * _Nonnull gridTemplateColumns;
740
+ - (void)updateNativeStyle;
797
741
  @property (nonatomic, readonly, copy) NSString * _Nonnull description;
798
- @end
799
-
800
-
801
- SWIFT_CLASS_NAMED("MaxSizing")
802
- @interface MaxSizing : NSObject
803
- @property (nonatomic, readonly) float value;
804
- + (MaxSizing * _Nonnull)Points:(float)points SWIFT_WARN_UNUSED_RESULT;
805
- + (MaxSizing * _Nonnull)Percent:(float)percent SWIFT_WARN_UNUSED_RESULT;
806
- + (MaxSizing * _Nonnull)FitContent:(float)fit SWIFT_WARN_UNUSED_RESULT;
807
- + (MaxSizing * _Nonnull)FitContentPercent:(float)fit SWIFT_WARN_UNUSED_RESULT;
808
- + (MaxSizing * _Nonnull)Flex:(float)flex SWIFT_WARN_UNUSED_RESULT;
809
- SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MaxSizing * _Nonnull Auto;)
810
- + (MaxSizing * _Nonnull)Auto SWIFT_WARN_UNUSED_RESULT;
811
- SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MaxSizing * _Nonnull MinContent;)
812
- + (MaxSizing * _Nonnull)MinContent SWIFT_WARN_UNUSED_RESULT;
813
- SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MaxSizing * _Nonnull MaxContent;)
814
- + (MaxSizing * _Nonnull)MaxContent SWIFT_WARN_UNUSED_RESULT;
815
- @property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
816
- @property (nonatomic, readonly, copy) NSString * _Nullable jsonValue;
817
742
  - (nonnull instancetype)init SWIFT_UNAVAILABLE;
818
743
  + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
819
744
  @end
820
745
 
821
-
822
- SWIFT_CLASS_NAMED("MeasureOutput")
823
- @interface MeasureOutput : NSObject
824
- - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
825
- @end
826
-
827
- @class MinSizing;
828
-
829
- SWIFT_CLASS_NAMED("MinMax")
830
- @interface MinMax : NSObject
831
- - (nonnull instancetype)init:(MinSizing * _Nonnull)min :(MaxSizing * _Nonnull)max OBJC_DESIGNATED_INITIALIZER;
832
- + (MinMax * _Nonnull)PointsWithPoints:(float)points SWIFT_WARN_UNUSED_RESULT;
833
- + (MinMax * _Nonnull)PercentWithPercent:(float)percent SWIFT_WARN_UNUSED_RESULT;
834
- + (MinMax * _Nonnull)FlexWithFlex:(float)flex SWIFT_WARN_UNUSED_RESULT;
835
- + (MinMax * _Nonnull)FitContentWithFit:(float)fit SWIFT_WARN_UNUSED_RESULT;
836
- + (MinMax * _Nonnull)FitContentPercentWithFit:(float)fit SWIFT_WARN_UNUSED_RESULT;
837
- SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinMax * _Nonnull Auto;)
838
- + (MinMax * _Nonnull)Auto SWIFT_WARN_UNUSED_RESULT;
839
- + (MinMax * _Nullable)fromTypeValue:(NSInteger)minType :(float)minValue :(NSInteger)maxType :(float)maxValue SWIFT_WARN_UNUSED_RESULT;
840
- @property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
841
- @property (nonatomic, readonly, copy) NSString * _Nullable jsonValue;
842
- - (nonnull instancetype)init SWIFT_UNAVAILABLE;
843
- + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
844
- @end
845
-
846
-
847
- SWIFT_CLASS_NAMED("MinSizing")
848
- @interface MinSizing : NSObject
849
- @property (nonatomic, readonly) float value;
850
- + (MinSizing * _Nonnull)Points:(float)points SWIFT_WARN_UNUSED_RESULT;
851
- + (MinSizing * _Nonnull)Percent:(float)percent SWIFT_WARN_UNUSED_RESULT;
852
- SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinSizing * _Nonnull Auto;)
853
- + (MinSizing * _Nonnull)Auto SWIFT_WARN_UNUSED_RESULT;
854
- SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinSizing * _Nonnull MinContent;)
855
- + (MinSizing * _Nonnull)MinContent SWIFT_WARN_UNUSED_RESULT;
856
- SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinSizing * _Nonnull MaxContent;)
857
- + (MinSizing * _Nonnull)MaxContent SWIFT_WARN_UNUSED_RESULT;
858
- @property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
859
- @property (nonatomic, readonly, copy) NSString * _Nullable jsonValue;
860
- - (nonnull instancetype)init SWIFT_UNAVAILABLE;
861
- + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
746
+ @class NSCoder;
747
+ @class NSMutableAttributedString;
748
+ @class UIFont;
749
+ enum TextTransform : NSInteger;
750
+ @class UIColor;
751
+ enum TextWrap : NSInteger;
752
+
753
+ SWIFT_CLASS_NAMED("MasonText")
754
+ @interface MasonText : UIView
755
+ @property (nonatomic, readonly, strong) MasonText * _Nullable owner;
756
+ @property (nonatomic, readonly, strong) MasonNode * _Nonnull node;
757
+ @property (nonatomic, readonly, copy) NSData * _Nonnull textValues;
758
+ - (nonnull instancetype)initWithMason:(NSCMason * _Nonnull)mason OBJC_DESIGNATED_INITIALIZER;
759
+ - (nonnull instancetype)initWithNode:(MasonNode * _Nonnull)masonNode OBJC_DESIGNATED_INITIALIZER;
760
+ - (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
761
+ @property (nonatomic, readonly, strong) UIView * _Nonnull uiView;
762
+ @property (nonatomic, readonly, strong) MasonStyle * _Nonnull style;
763
+ - (void)markNodeDirty;
764
+ - (BOOL)isNodeDirty SWIFT_WARN_UNUSED_RESULT;
765
+ - (void)configure:(SWIFT_NOESCAPE void (^ _Nonnull)(MasonNode * _Nonnull))block;
766
+ - (void)updateText:(NSString * _Nullable)value;
767
+ @property (nonatomic, strong) NSMutableAttributedString * _Nonnull txtToRender;
768
+ @property (nonatomic, readonly, strong) UIFont * _Nonnull font;
769
+ - (void)invalidateStyle:(int64_t)state;
770
+ @property (nonatomic) enum TextTransform textTransform;
771
+ @property (nonatomic) CGFloat fontSize;
772
+ @property (nonatomic) enum FontStyle fontStyle;
773
+ - (void)setFontStyle:(enum FontStyle)style slant:(int32_t)slant;
774
+ @property (nonatomic, copy) NSString * _Nonnull fontWeight;
775
+ @property (nonatomic) uint32_t color;
776
+ @property (nonatomic) uint32_t backgroundColorValue;
777
+ - (void)setColorWithUi:(UIColor * _Nonnull)color;
778
+ - (void)setBackgroundColorWithUi:(UIColor * _Nonnull)color;
779
+ - (void)setDecorationColorWithUi:(UIColor * _Nonnull)color;
780
+ @property (nonatomic) uint32_t decorationColor;
781
+ @property (nonatomic) enum DecorationLine decorationLine;
782
+ @property (nonatomic) enum TextWrap textWrap;
783
+ - (void)drawRect:(CGRect)rect;
784
+ - (void)addView:(UIView * _Nonnull)view :(NSInteger)index;
785
+ - (void)removeView:(UIView * _Nonnull)view;
786
+ @property (nonatomic, copy) NSString * _Nullable text;
787
+ - (void)syncStyle:(NSString * _Nonnull)state :(NSString * _Nonnull)textState;
788
+ - (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
862
789
  @end
863
790
 
864
- typedef SWIFT_ENUM_NAMED(NSInteger, Overflow, "Overflow", open) {
865
- OverflowVisible = 0,
866
- OverflowHidden = 1,
867
- OverflowScroll = 2,
868
- };
869
-
870
- typedef SWIFT_ENUM_NAMED(NSInteger, Position, "Position", open) {
871
- PositionRelative = 0,
872
- PositionAbsolute = 1,
791
+ typedef SWIFT_ENUM_NAMED(NSInteger, MasonTextAlign, "MasonTextAlign", open) {
792
+ MasonTextAlignAuto = 0,
793
+ MasonTextAlignLeft = 1,
794
+ MasonTextAlignRight = 2,
795
+ MasonTextAlignCenter = 3,
796
+ MasonTextAlignJustify = 4,
797
+ MasonTextAlignStart = 5,
798
+ MasonTextAlignEnd = 6,
873
799
  };
874
800
 
875
801
 
876
- SWIFT_CLASS_NAMED("TSCMason")
877
- @interface TSCMason : NSObject
878
- @property (nonatomic, readonly) void * _Null_unspecified nativePtr;
879
- - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
880
- - (void)clear;
881
- SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) TSCMason * _Nonnull instance;)
882
- + (TSCMason * _Nonnull)instance SWIFT_WARN_UNUSED_RESULT;
883
- SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL shared;)
884
- + (BOOL)shared SWIFT_WARN_UNUSED_RESULT;
885
- + (void)setShared:(BOOL)value;
886
- SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL alwaysEnable;)
887
- + (BOOL)alwaysEnable SWIFT_WARN_UNUSED_RESULT;
888
- + (void)setAlwaysEnable:(BOOL)value;
889
- @end
890
-
891
-
892
- SWIFT_CLASS_NAMED("TrackSizingFunction")
893
- @interface TrackSizingFunction : NSObject
894
- @property (nonatomic, readonly) BOOL isRepeating;
895
- @property (nonatomic, readonly) id _Nullable value;
896
- + (TrackSizingFunction * _Nonnull)Single:(MinMax * _Nonnull)value SWIFT_WARN_UNUSED_RESULT;
897
- + (TrackSizingFunction * _Nonnull)AutoRepeat:(GridTrackRepetition * _Nonnull)gridTrackRepetition :(NSArray<MinMax *> * _Nonnull)value SWIFT_WARN_UNUSED_RESULT;
898
- - (nonnull instancetype)init SWIFT_UNAVAILABLE;
899
- + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
900
- @end
901
-
902
-
903
- @interface UIView (SWIFT_EXTENSION(Mason))
904
- + (UIView * _Nonnull)createGridView SWIFT_WARN_UNUSED_RESULT;
905
- + (UIView * _Nonnull)createFlexView SWIFT_WARN_UNUSED_RESULT;
906
- @property (nonatomic, readonly, strong) MasonNode * _Nonnull mason;
907
- SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) NSInteger masonPtr;)
908
- + (NSInteger)masonPtr SWIFT_WARN_UNUSED_RESULT;
909
- @property (nonatomic, readonly) NSInteger masonNodePtr;
910
- @property (nonatomic, readonly) NSInteger masonStylePtr;
911
- @property (nonatomic, readonly) BOOL isMasonEnabled;
802
+ SWIFT_CLASS_NAMED("MasonUIView")
803
+ @interface MasonUIView : UIView
804
+ @property (nonatomic, readonly, strong) UIView * _Nonnull uiView;
805
+ - (void)markNodeDirty;
806
+ - (BOOL)isNodeDirty SWIFT_WARN_UNUSED_RESULT;
807
+ @property (nonatomic, readonly, strong) MasonNode * _Nonnull node;
808
+ @property (nonatomic, readonly, strong) NSCMason * _Nonnull mason;
809
+ - (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
810
+ + (MasonUIView * _Nonnull)createGridView:(NSCMason * _Nonnull)mason SWIFT_WARN_UNUSED_RESULT;
811
+ + (MasonUIView * _Nonnull)createFlexView:(NSCMason * _Nonnull)mason SWIFT_WARN_UNUSED_RESULT;
812
+ + (MasonUIView * _Nonnull)createBlockView:(NSCMason * _Nonnull)mason SWIFT_WARN_UNUSED_RESULT;
813
+ @property (nonatomic, readonly) int64_t masonPtr;
814
+ @property (nonatomic, readonly) int64_t masonNodePtr;
815
+ @property (nonatomic, readonly, copy) NSString * _Nonnull masonPtrs;
912
816
  @property (nonatomic, strong) MasonStyle * _Nonnull style;
817
+ - (void)addView:(UIView * _Nonnull)view;
818
+ - (void)addView:(UIView * _Nonnull)view at:(NSInteger)at;
819
+ - (void)syncStyle:(NSString * _Nonnull)state;
913
820
  - (void)addSubviews:(NSArray<UIView *> * _Nonnull)views;
914
821
  - (void)addSubviews:(NSArray<UIView *> * _Nonnull)views at:(NSInteger)index;
915
822
  - (void)configure:(SWIFT_NOESCAPE void (^ _Nonnull)(MasonNode * _Nonnull))block;
916
823
  @property (nonatomic) BOOL inBatch;
917
824
  @property (nonatomic) enum Display display;
918
- @property (nonatomic) enum Position position;
825
+ @property (nonatomic) enum Position _position;
919
826
  @property (nonatomic) enum Direction direction;
920
827
  @property (nonatomic) enum FlexDirection flexDirection;
921
828
  @property (nonatomic) enum FlexWrap flexWrap;
922
- @property (nonatomic) enum Overflow overflow;
829
+ @property (nonatomic) enum Overflow overflowX;
830
+ @property (nonatomic) enum Overflow overflowY;
923
831
  @property (nonatomic) enum AlignItems alignItems;
924
832
  @property (nonatomic) enum AlignSelf alignSelf;
925
833
  @property (nonatomic) enum AlignContent alignContent;
@@ -928,6 +836,7 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) NSInteger masonPtr;)
928
836
  @property (nonatomic) enum JustifyContent justifyContent;
929
837
  @property (nonatomic) float flexGrow;
930
838
  @property (nonatomic) float flexShrink;
839
+ @property (nonatomic, strong) MasonDimensionCompat * _Nonnull scrollBarWidthCompat;
931
840
  @property (nonatomic, strong) MasonDimensionCompat * _Nonnull flexBasisCompat;
932
841
  @property (nonatomic) float aspectRatio;
933
842
  @property (nonatomic, copy) NSArray<MinMax *> * _Nonnull gridAutoRows;
@@ -1006,19 +915,141 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) NSInteger masonPtr;)
1006
915
  - (void)setColumnGap:(float)column :(NSInteger)type;
1007
916
  - (MasonLengthPercentageCompat * _Nonnull)getRowGap SWIFT_WARN_UNUSED_RESULT;
1008
917
  - (MasonLengthPercentageCompat * _Nonnull)getColumnGap SWIFT_WARN_UNUSED_RESULT;
918
+ - (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
1009
919
  @end
1010
920
 
1011
- #endif
1012
- #if defined(__cplusplus)
921
+
922
+ SWIFT_CLASS_NAMED("MaxSizing")
923
+ @interface MaxSizing : NSObject
924
+ @property (nonatomic, readonly) float value;
925
+ + (MaxSizing * _Nonnull)Points:(float)points SWIFT_WARN_UNUSED_RESULT;
926
+ + (MaxSizing * _Nonnull)Percent:(float)percent SWIFT_WARN_UNUSED_RESULT;
927
+ + (MaxSizing * _Nonnull)FitContent:(float)fit SWIFT_WARN_UNUSED_RESULT;
928
+ + (MaxSizing * _Nonnull)FitContentPercent:(float)fit SWIFT_WARN_UNUSED_RESULT;
929
+ + (MaxSizing * _Nonnull)Fraction:(float)flex SWIFT_WARN_UNUSED_RESULT;
930
+ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MaxSizing * _Nonnull Auto;)
931
+ + (MaxSizing * _Nonnull)Auto SWIFT_WARN_UNUSED_RESULT;
932
+ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MaxSizing * _Nonnull MinContent;)
933
+ + (MaxSizing * _Nonnull)MinContent SWIFT_WARN_UNUSED_RESULT;
934
+ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MaxSizing * _Nonnull MaxContent;)
935
+ + (MaxSizing * _Nonnull)MaxContent SWIFT_WARN_UNUSED_RESULT;
936
+ @property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
937
+ @property (nonatomic, readonly, copy) NSString * _Nullable jsonValue;
938
+ - (nonnull instancetype)init SWIFT_UNAVAILABLE;
939
+ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
940
+ @end
941
+
942
+
943
+ SWIFT_CLASS_NAMED("MeasureOutput")
944
+ @interface MeasureOutput : NSObject
945
+ - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
946
+ @end
947
+
948
+ @class MinSizing;
949
+
950
+ SWIFT_CLASS_NAMED("MinMax")
951
+ @interface MinMax : NSObject
952
+ - (nonnull instancetype)init:(MinSizing * _Nonnull)min :(MaxSizing * _Nonnull)max OBJC_DESIGNATED_INITIALIZER;
953
+ + (MinMax * _Nonnull)PointsWithPoints:(float)points SWIFT_WARN_UNUSED_RESULT;
954
+ + (MinMax * _Nonnull)PercentWithPercent:(float)percent SWIFT_WARN_UNUSED_RESULT;
955
+ + (MinMax * _Nonnull)FlexWithFlex:(float)flex SWIFT_WARN_UNUSED_RESULT;
956
+ + (MinMax * _Nonnull)FitContentWithFit:(float)fit SWIFT_WARN_UNUSED_RESULT;
957
+ + (MinMax * _Nonnull)FitContentPercentWithFit:(float)fit SWIFT_WARN_UNUSED_RESULT;
958
+ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinMax * _Nonnull Auto;)
959
+ + (MinMax * _Nonnull)Auto SWIFT_WARN_UNUSED_RESULT;
960
+ + (MinMax * _Nullable)fromTypeValue:(NSInteger)minType :(float)minValue :(NSInteger)maxType :(float)maxValue SWIFT_WARN_UNUSED_RESULT;
961
+ @property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
962
+ @property (nonatomic, readonly, copy) NSString * _Nullable jsonValue;
963
+ - (nonnull instancetype)init SWIFT_UNAVAILABLE;
964
+ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
965
+ @end
966
+
967
+
968
+ SWIFT_CLASS_NAMED("MinSizing")
969
+ @interface MinSizing : NSObject
970
+ @property (nonatomic, readonly) float value;
971
+ + (MinSizing * _Nonnull)Points:(float)points SWIFT_WARN_UNUSED_RESULT;
972
+ + (MinSizing * _Nonnull)Percent:(float)percent SWIFT_WARN_UNUSED_RESULT;
973
+ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinSizing * _Nonnull Auto;)
974
+ + (MinSizing * _Nonnull)Auto SWIFT_WARN_UNUSED_RESULT;
975
+ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinSizing * _Nonnull MinContent;)
976
+ + (MinSizing * _Nonnull)MinContent SWIFT_WARN_UNUSED_RESULT;
977
+ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinSizing * _Nonnull MaxContent;)
978
+ + (MinSizing * _Nonnull)MaxContent SWIFT_WARN_UNUSED_RESULT;
979
+ @property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
980
+ @property (nonatomic, readonly, copy) NSString * _Nullable jsonValue;
981
+ - (nonnull instancetype)init SWIFT_UNAVAILABLE;
982
+ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
983
+ @end
984
+
985
+
986
+ SWIFT_CLASS_NAMED("NSCMason")
987
+ @interface NSCMason : NSObject
988
+ @property (nonatomic, readonly) void * _Nullable nativePtr;
989
+ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, strong) NSCMason * _Nonnull shared;)
990
+ + (NSCMason * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT;
991
+ + (void)setShared:(NSCMason * _Nonnull)value;
992
+ - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
993
+ - (MasonNode * _Nonnull)nodeForView:(UIView * _Nonnull)view :(BOOL)isLeaf SWIFT_WARN_UNUSED_RESULT;
994
+ - (void)clear;
995
+ - (MasonUIView * _Nonnull)createView SWIFT_WARN_UNUSED_RESULT;
996
+ - (MasonText * _Nonnull)createTextView SWIFT_WARN_UNUSED_RESULT;
997
+ - (MasonNode * _Nonnull)createNode SWIFT_WARN_UNUSED_RESULT;
998
+ - (void)printTree:(MasonNode * _Nonnull)node;
999
+ - (MasonNode * _Nonnull)createTextNode SWIFT_WARN_UNUSED_RESULT;
1000
+ @end
1001
+
1002
+ typedef SWIFT_ENUM_NAMED(NSInteger, Overflow, "Overflow", open) {
1003
+ OverflowUnset = 0,
1004
+ OverflowVisible = 1,
1005
+ OverflowHidden = 2,
1006
+ OverflowScroll = 3,
1007
+ };
1008
+
1009
+ typedef SWIFT_ENUM_NAMED(NSInteger, Position, "Position", open) {
1010
+ PositionRelative = 0,
1011
+ PositionAbsolute = 1,
1012
+ };
1013
+
1014
+ typedef SWIFT_ENUM_NAMED(NSInteger, TextTransform, "TextTransform", open) {
1015
+ TextTransformNone = 0,
1016
+ TextTransformCapitalize = 1,
1017
+ TextTransformUppercase = 2,
1018
+ TextTransformLowercase = 3,
1019
+ TextTransformFullWidth = 4,
1020
+ TextTransformFullSizeKana = 5,
1021
+ TextTransformMathAuto = 6,
1022
+ };
1023
+
1024
+ typedef SWIFT_ENUM_NAMED(NSInteger, TextWrap, "TextWrap", open) {
1025
+ TextWrapNoWrap = 0,
1026
+ TextWrapWrap = 1,
1027
+ TextWrapBalance = 2,
1028
+ };
1029
+
1030
+
1031
+ SWIFT_CLASS_NAMED("TrackSizingFunction")
1032
+ @interface TrackSizingFunction : NSObject
1033
+ @property (nonatomic, readonly) BOOL isRepeating;
1034
+ @property (nonatomic, readonly) id _Nullable value;
1035
+ + (TrackSizingFunction * _Nonnull)Single:(MinMax * _Nonnull)value SWIFT_WARN_UNUSED_RESULT;
1036
+ + (TrackSizingFunction * _Nonnull)AutoRepeat:(GridTrackRepetition * _Nonnull)gridTrackRepetition :(NSArray<MinMax *> * _Nonnull)value SWIFT_WARN_UNUSED_RESULT;
1037
+ - (nonnull instancetype)init SWIFT_UNAVAILABLE;
1038
+ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
1039
+ @end
1040
+
1041
+
1013
1042
  #endif
1014
1043
  #if __has_attribute(external_source_symbol)
1015
1044
  # pragma clang attribute pop
1016
1045
  #endif
1046
+ #if defined(__cplusplus)
1047
+ #endif
1017
1048
  #pragma clang diagnostic pop
1018
1049
  #endif
1019
1050
 
1020
1051
  #elif defined(__x86_64__) && __x86_64__
1021
- // Generated by Apple Swift version 5.7 (swiftlang-5.7.0.127.4 clang-1400.0.29.50)
1052
+ // Generated by Apple Swift version 6.0.2 effective-5.10 (swiftlang-6.0.2.1.2 clang-1600.0.26.4)
1022
1053
  #ifndef MASON_SWIFT_H
1023
1054
  #define MASON_SWIFT_H
1024
1055
  #pragma clang diagnostic push
@@ -1041,7 +1072,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) NSInteger masonPtr;)
1041
1072
  # include <swift/objc-prologue.h>
1042
1073
  #endif
1043
1074
 
1044
- #pragma clang diagnostic ignored "-Wduplicate-method-match"
1045
1075
  #pragma clang diagnostic ignored "-Wauto-import"
1046
1076
  #if defined(__OBJC__)
1047
1077
  #include <Foundation/Foundation.h>
@@ -1050,10 +1080,33 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) NSInteger masonPtr;)
1050
1080
  #include <cstdint>
1051
1081
  #include <cstddef>
1052
1082
  #include <cstdbool>
1083
+ #include <cstring>
1084
+ #include <stdlib.h>
1085
+ #include <new>
1086
+ #include <type_traits>
1053
1087
  #else
1054
1088
  #include <stdint.h>
1055
1089
  #include <stddef.h>
1056
1090
  #include <stdbool.h>
1091
+ #include <string.h>
1092
+ #endif
1093
+ #if defined(__cplusplus)
1094
+ #pragma clang diagnostic push
1095
+ #pragma clang diagnostic ignored "-Wnon-modular-include-in-framework-module"
1096
+ #if defined(__arm64e__) && __has_include(<ptrauth.h>)
1097
+ # include <ptrauth.h>
1098
+ #else
1099
+ #pragma clang diagnostic push
1100
+ #pragma clang diagnostic ignored "-Wreserved-macro-identifier"
1101
+ # ifndef __ptrauth_swift_value_witness_function_pointer
1102
+ # define __ptrauth_swift_value_witness_function_pointer(x)
1103
+ # endif
1104
+ # ifndef __ptrauth_swift_class_method_pointer
1105
+ # define __ptrauth_swift_class_method_pointer(x)
1106
+ # endif
1107
+ #pragma clang diagnostic pop
1108
+ #endif
1109
+ #pragma clang diagnostic pop
1057
1110
  #endif
1058
1111
 
1059
1112
  #if !defined(SWIFT_TYPEDEFS)
@@ -1089,53 +1142,66 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
1089
1142
  # if __has_feature(objc_class_property)
1090
1143
  # define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
1091
1144
  # else
1092
- # define SWIFT_CLASS_PROPERTY(...)
1145
+ # define SWIFT_CLASS_PROPERTY(...)
1093
1146
  # endif
1094
1147
  #endif
1095
-
1096
- #if __has_attribute(objc_runtime_name)
1097
- # define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
1098
- #else
1099
- # define SWIFT_RUNTIME_NAME(X)
1148
+ #if !defined(SWIFT_RUNTIME_NAME)
1149
+ # if __has_attribute(objc_runtime_name)
1150
+ # define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
1151
+ # else
1152
+ # define SWIFT_RUNTIME_NAME(X)
1153
+ # endif
1100
1154
  #endif
1101
- #if __has_attribute(swift_name)
1102
- # define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
1103
- #else
1104
- # define SWIFT_COMPILE_NAME(X)
1155
+ #if !defined(SWIFT_COMPILE_NAME)
1156
+ # if __has_attribute(swift_name)
1157
+ # define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
1158
+ # else
1159
+ # define SWIFT_COMPILE_NAME(X)
1160
+ # endif
1105
1161
  #endif
1106
- #if __has_attribute(objc_method_family)
1107
- # define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
1108
- #else
1109
- # define SWIFT_METHOD_FAMILY(X)
1162
+ #if !defined(SWIFT_METHOD_FAMILY)
1163
+ # if __has_attribute(objc_method_family)
1164
+ # define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
1165
+ # else
1166
+ # define SWIFT_METHOD_FAMILY(X)
1167
+ # endif
1110
1168
  #endif
1111
- #if __has_attribute(noescape)
1112
- # define SWIFT_NOESCAPE __attribute__((noescape))
1113
- #else
1114
- # define SWIFT_NOESCAPE
1169
+ #if !defined(SWIFT_NOESCAPE)
1170
+ # if __has_attribute(noescape)
1171
+ # define SWIFT_NOESCAPE __attribute__((noescape))
1172
+ # else
1173
+ # define SWIFT_NOESCAPE
1174
+ # endif
1115
1175
  #endif
1116
- #if __has_attribute(ns_consumed)
1117
- # define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
1118
- #else
1119
- # define SWIFT_RELEASES_ARGUMENT
1176
+ #if !defined(SWIFT_RELEASES_ARGUMENT)
1177
+ # if __has_attribute(ns_consumed)
1178
+ # define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
1179
+ # else
1180
+ # define SWIFT_RELEASES_ARGUMENT
1181
+ # endif
1120
1182
  #endif
1121
- #if __has_attribute(warn_unused_result)
1122
- # define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
1123
- #else
1124
- # define SWIFT_WARN_UNUSED_RESULT
1183
+ #if !defined(SWIFT_WARN_UNUSED_RESULT)
1184
+ # if __has_attribute(warn_unused_result)
1185
+ # define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
1186
+ # else
1187
+ # define SWIFT_WARN_UNUSED_RESULT
1188
+ # endif
1125
1189
  #endif
1126
- #if __has_attribute(noreturn)
1127
- # define SWIFT_NORETURN __attribute__((noreturn))
1128
- #else
1129
- # define SWIFT_NORETURN
1190
+ #if !defined(SWIFT_NORETURN)
1191
+ # if __has_attribute(noreturn)
1192
+ # define SWIFT_NORETURN __attribute__((noreturn))
1193
+ # else
1194
+ # define SWIFT_NORETURN
1195
+ # endif
1130
1196
  #endif
1131
1197
  #if !defined(SWIFT_CLASS_EXTRA)
1132
- # define SWIFT_CLASS_EXTRA
1198
+ # define SWIFT_CLASS_EXTRA
1133
1199
  #endif
1134
1200
  #if !defined(SWIFT_PROTOCOL_EXTRA)
1135
- # define SWIFT_PROTOCOL_EXTRA
1201
+ # define SWIFT_PROTOCOL_EXTRA
1136
1202
  #endif
1137
1203
  #if !defined(SWIFT_ENUM_EXTRA)
1138
- # define SWIFT_ENUM_EXTRA
1204
+ # define SWIFT_ENUM_EXTRA
1139
1205
  #endif
1140
1206
  #if !defined(SWIFT_CLASS)
1141
1207
  # if __has_attribute(objc_subclassing_restricted)
@@ -1155,28 +1221,25 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
1155
1221
  # define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
1156
1222
  # endif
1157
1223
  #endif
1158
-
1159
1224
  #if !defined(SWIFT_PROTOCOL)
1160
1225
  # define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
1161
1226
  # define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
1162
1227
  #endif
1163
-
1164
1228
  #if !defined(SWIFT_EXTENSION)
1165
1229
  # define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
1166
1230
  #endif
1167
-
1168
1231
  #if !defined(OBJC_DESIGNATED_INITIALIZER)
1169
1232
  # if __has_attribute(objc_designated_initializer)
1170
1233
  # define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
1171
1234
  # else
1172
- # define OBJC_DESIGNATED_INITIALIZER
1235
+ # define OBJC_DESIGNATED_INITIALIZER
1173
1236
  # endif
1174
1237
  #endif
1175
1238
  #if !defined(SWIFT_ENUM_ATTR)
1176
- # if defined(__has_attribute) && __has_attribute(enum_extensibility)
1239
+ # if __has_attribute(enum_extensibility)
1177
1240
  # define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
1178
1241
  # else
1179
- # define SWIFT_ENUM_ATTR(_extensibility)
1242
+ # define SWIFT_ENUM_ATTR(_extensibility)
1180
1243
  # endif
1181
1244
  #endif
1182
1245
  #if !defined(SWIFT_ENUM)
@@ -1205,14 +1268,16 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
1205
1268
  #if !defined(SWIFT_DEPRECATED_MSG)
1206
1269
  # define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
1207
1270
  #endif
1208
- #if __has_feature(attribute_diagnose_if_objc)
1209
- # define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
1210
- #else
1211
- # define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
1271
+ #if !defined(SWIFT_DEPRECATED_OBJC)
1272
+ # if __has_feature(attribute_diagnose_if_objc)
1273
+ # define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
1274
+ # else
1275
+ # define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
1276
+ # endif
1212
1277
  #endif
1213
1278
  #if defined(__OBJC__)
1214
1279
  #if !defined(IBSegueAction)
1215
- # define IBSegueAction
1280
+ # define IBSegueAction
1216
1281
  #endif
1217
1282
  #endif
1218
1283
  #if !defined(SWIFT_EXTERN)
@@ -1225,36 +1290,51 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
1225
1290
  #if !defined(SWIFT_CALL)
1226
1291
  # define SWIFT_CALL __attribute__((swiftcall))
1227
1292
  #endif
1293
+ #if !defined(SWIFT_INDIRECT_RESULT)
1294
+ # define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result))
1295
+ #endif
1296
+ #if !defined(SWIFT_CONTEXT)
1297
+ # define SWIFT_CONTEXT __attribute__((swift_context))
1298
+ #endif
1299
+ #if !defined(SWIFT_ERROR_RESULT)
1300
+ # define SWIFT_ERROR_RESULT __attribute__((swift_error_result))
1301
+ #endif
1228
1302
  #if defined(__cplusplus)
1229
- #if !defined(SWIFT_NOEXCEPT)
1230
1303
  # define SWIFT_NOEXCEPT noexcept
1231
- #endif
1232
1304
  #else
1233
- #if !defined(SWIFT_NOEXCEPT)
1234
1305
  # define SWIFT_NOEXCEPT
1235
1306
  #endif
1307
+ #if !defined(SWIFT_C_INLINE_THUNK)
1308
+ # if __has_attribute(always_inline)
1309
+ # if __has_attribute(nodebug)
1310
+ # define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug))
1311
+ # else
1312
+ # define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline))
1313
+ # endif
1314
+ # else
1315
+ # define SWIFT_C_INLINE_THUNK inline
1316
+ # endif
1317
+ #endif
1318
+ #if defined(_WIN32)
1319
+ #if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
1320
+ # define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
1236
1321
  #endif
1237
- #if defined(__cplusplus)
1238
- #if !defined(SWIFT_CXX_INT_DEFINED)
1239
- #define SWIFT_CXX_INT_DEFINED
1240
- namespace swift {
1241
- using Int = ptrdiff_t;
1242
- using UInt = size_t;
1243
- }
1322
+ #else
1323
+ #if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
1324
+ # define SWIFT_IMPORT_STDLIB_SYMBOL
1244
1325
  #endif
1245
1326
  #endif
1246
1327
  #if defined(__OBJC__)
1247
- #if __has_feature(modules)
1328
+ #if __has_feature(objc_modules)
1248
1329
  #if __has_warning("-Watimport-in-framework-header")
1249
1330
  #pragma clang diagnostic ignored "-Watimport-in-framework-header"
1250
1331
  #endif
1332
+ @import CoreFoundation;
1251
1333
  @import Foundation;
1252
1334
  @import ObjectiveC;
1253
1335
  @import UIKit;
1254
1336
  #endif
1255
1337
 
1256
- #import <Mason/Mason.h>
1257
-
1258
1338
  #endif
1259
1339
  #pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
1260
1340
  #pragma clang diagnostic ignored "-Wduplicate-method-arg"
@@ -1264,6 +1344,7 @@ using UInt = size_t;
1264
1344
  #pragma clang diagnostic ignored "-Wunknown-pragmas"
1265
1345
  #pragma clang diagnostic ignored "-Wnullability"
1266
1346
  #pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
1347
+ #pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
1267
1348
 
1268
1349
  #if __has_attribute(external_source_symbol)
1269
1350
  # pragma push_macro("any")
@@ -1308,6 +1389,13 @@ typedef SWIFT_ENUM_NAMED(NSInteger, AlignSelf, "AlignSelf", open) {
1308
1389
  AlignSelfFlexEnd = 6,
1309
1390
  };
1310
1391
 
1392
+ typedef SWIFT_ENUM_NAMED(NSInteger, DecorationLine, "DecorationLine", open) {
1393
+ DecorationLineNone = 0,
1394
+ DecorationLineUnderline = 1,
1395
+ DecorationLineOverline = 2,
1396
+ DecorationLineLineThrough = 3,
1397
+ };
1398
+
1311
1399
  typedef SWIFT_ENUM_NAMED(NSInteger, Direction, "Direction", open) {
1312
1400
  DirectionInherit = 0,
1313
1401
  DirectionLTR = 1,
@@ -1318,6 +1406,7 @@ typedef SWIFT_ENUM_NAMED(NSInteger, Display, "Display", open) {
1318
1406
  DisplayNone = 0,
1319
1407
  DisplayFlex = 1,
1320
1408
  DisplayGrid = 2,
1409
+ DisplayBlock = 3,
1321
1410
  };
1322
1411
 
1323
1412
  typedef SWIFT_ENUM_NAMED(NSInteger, FlexDirection, "FlexDirection", open) {
@@ -1333,6 +1422,12 @@ typedef SWIFT_ENUM_NAMED(NSInteger, FlexWrap, "FlexWrap", open) {
1333
1422
  FlexWrapWrapReverse = 2,
1334
1423
  };
1335
1424
 
1425
+ typedef SWIFT_ENUM_NAMED(NSInteger, FontStyle, "FontStyle", open) {
1426
+ FontStyleNormal = 0,
1427
+ FontStyleItalic = 1,
1428
+ FontStyleOblique = 2,
1429
+ };
1430
+
1336
1431
  typedef SWIFT_ENUM_NAMED(NSInteger, FlexGridAutoFlowWrap, "GridAutoFlow", open) {
1337
1432
  FlexGridAutoFlowWrapRow = 0,
1338
1433
  FlexGridAutoFlowWrapColumn = 1,
@@ -1421,6 +1516,11 @@ SWIFT_CLASS_NAMED("LineGridPlacementCompat")
1421
1516
  + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
1422
1517
  @end
1423
1518
 
1519
+ typedef SWIFT_ENUM_NAMED(NSInteger, MasonBoxSizing, "MasonBoxSizing", open) {
1520
+ MasonBoxSizingBorderBox = 0,
1521
+ MasonBoxSizingContentBox = 1,
1522
+ };
1523
+
1424
1524
  enum MasonDimensionCompatType : NSInteger;
1425
1525
 
1426
1526
  SWIFT_CLASS_NAMED("MasonDimensionCompat")
@@ -1568,187 +1668,58 @@ SWIFT_CLASS_NAMED("MasonLengthPercentageSizeCompat")
1568
1668
  @end
1569
1669
 
1570
1670
  @class MasonStyle;
1671
+ @class NSCMason;
1571
1672
 
1572
1673
  SWIFT_CLASS_NAMED("MasonNode")
1573
1674
  @interface MasonNode : NSObject
1574
- @property (nonatomic, readonly) void * _Null_unspecified nativePtr;
1675
+ @property (nonatomic, readonly) void * _Nullable nativePtr;
1676
+ @property (nonatomic, readonly, strong) MasonLayout * _Nullable layoutCache;
1677
+ @property (nonatomic) id _Nullable data;
1575
1678
  @property (nonatomic, strong) MasonStyle * _Nonnull style;
1576
- @property (nonatomic) BOOL includeInLayout;
1577
- @property (nonatomic) BOOL isEnabled;
1578
- @property (nonatomic, strong) id _Nullable data;
1579
1679
  @property (nonatomic, readonly, strong) MasonNode * _Nullable owner;
1580
1680
  @property (nonatomic, readonly, copy) NSArray<MasonNode *> * _Nonnull children;
1581
- - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
1582
- - (nonnull instancetype)initWithStyle:(MasonStyle * _Nonnull)style OBJC_DESIGNATED_INITIALIZER;
1583
- - (nonnull instancetype)initWithStyle:(MasonStyle * _Nonnull)style children:(NSArray<MasonNode *> * _Nonnull)children OBJC_DESIGNATED_INITIALIZER;
1584
- - (void)updateNodeStyle;
1681
+ - (nonnull instancetype)initWithMason:(NSCMason * _Nonnull)doc children:(NSArray<MasonNode *> * _Nonnull)nodes OBJC_DESIGNATED_INITIALIZER;
1585
1682
  - (MasonLayout * _Nonnull)layout;
1586
1683
  @property (nonatomic, readonly) BOOL isDirty;
1587
1684
  - (void)markDirty;
1588
1685
  - (MasonNode * _Nullable)getRoot SWIFT_WARN_UNUSED_RESULT;
1589
- - (void)rootCompute;
1590
- - (void)rootCompute:(float)width :(float)height;
1591
- - (void)rootComputeMaxContent;
1592
- - (void)rootComputeMinContent;
1593
- - (void)rootComputeWithViewSize;
1594
- - (void)rootComputeWithMaxContent;
1595
1686
  - (void)compute;
1596
1687
  - (void)compute:(float)width :(float)height;
1597
1688
  - (void)computeMaxContent;
1598
1689
  - (void)computeMinContent;
1599
1690
  - (void)computeWithSize:(float)width :(float)height;
1600
1691
  - (void)computeWithViewSize;
1692
+ - (void)computeWithViewSizeWithLayout:(BOOL)layout;
1601
1693
  - (void)computeWithMaxContent;
1602
1694
  - (void)computeWithMinContent;
1603
1695
  - (void)attachAndApply;
1604
- - (void)setChildrenWithChildren:(NSArray<MasonNode *> * _Nonnull)children;
1696
+ - (void)setChildrenWithValue:(NSArray<MasonNode *> * _Nonnull)value;
1605
1697
  - (void)addChildren:(NSArray<MasonNode *> * _Nonnull)children;
1606
- @property (nonatomic, readonly) BOOL isLeaf;
1607
1698
  - (void)configure:(SWIFT_NOESCAPE void (^ _Nonnull)(MasonNode * _Nonnull))block;
1699
+ - (nonnull instancetype)init SWIFT_UNAVAILABLE;
1700
+ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
1608
1701
  @end
1609
1702
 
1610
-
1611
- SWIFT_CLASS_NAMED("MasonReexports")
1612
- @interface MasonReexports : NSObject
1613
- + (void)node_set_style:(void * _Nonnull)mason :(void * _Nonnull)node :(void * _Nonnull)style;
1614
- + (void)node_compute:(void * _Nonnull)mason :(void * _Nonnull)node;
1615
- + (void)node_compute_wh:(void * _Nonnull)mason :(void * _Nonnull)node width:(float)width height:(float)height;
1616
- + (void)node_compute_max_content:(void * _Nonnull)mason :(void * _Nonnull)node;
1617
- + (void)node_compute_min_content:(void * _Nonnull)mason :(void * _Nonnull)node;
1618
- + (BOOL)node_dirty:(void * _Nonnull)mason :(void * _Nonnull)node SWIFT_WARN_UNUSED_RESULT;
1619
- + (void)node_mark_dirty:(void * _Nonnull)mason :(void * _Nonnull)node;
1620
- + (int32_t)style_get_display:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
1621
- + (void)style_set_display:(void * _Nonnull)style :(int32_t)display;
1622
- + (int32_t)style_get_position:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
1623
- + (void)style_set_position:(void * _Nonnull)style :(int32_t)position;
1624
- + (int32_t)style_get_direction:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
1625
- + (void)style_set_direction:(void * _Nonnull)style :(int32_t)direction;
1626
- + (int32_t)style_get_flex_direction:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
1627
- + (void)style_set_flex_direction:(void * _Nonnull)style :(int32_t)flex_direction;
1628
- + (int32_t)style_get_flex_wrap:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
1629
- + (void)style_set_flex_wrap:(void * _Nonnull)style :(int32_t)flex_wrap;
1630
- + (int32_t)style_get_overflow:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
1631
- + (void)style_set_overflow:(void * _Nonnull)style :(int32_t)overflow;
1632
- + (int32_t)style_get_align_items:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
1633
- + (void)style_set_align_items:(void * _Nonnull)style :(int32_t)align_items;
1634
- + (int32_t)style_get_align_self:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
1635
- + (void)style_set_align_self:(void * _Nonnull)style :(int32_t)align_self;
1636
- + (int32_t)style_get_align_content:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
1637
- + (void)style_set_align_content:(void * _Nonnull)style :(int32_t)align_content;
1638
- + (int32_t)style_get_justify_items:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
1639
- + (void)style_set_justify_items:(void * _Nonnull)style :(int32_t)align_items;
1640
- + (int32_t)style_get_justify_self:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
1641
- + (void)style_set_justify_self:(void * _Nonnull)style :(int32_t)align_self;
1642
- + (int32_t)style_get_justify_content:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
1643
- + (void)style_set_justify_content:(void * _Nonnull)style :(int32_t)justify_content;
1644
- + (void)style_set_inset:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
1645
- + (CMasonLengthPercentageAuto)style_get_inset_left:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
1646
- + (void)style_set_inset_left:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
1647
- + (CMasonLengthPercentageAuto)style_get_inset_right:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
1648
- + (void)style_set_inset_right:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
1649
- + (CMasonLengthPercentageAuto)style_get_inset_top:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
1650
- + (void)style_set_inset_top:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
1651
- + (CMasonLengthPercentageAuto)style_get_inset_bottom:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
1652
- + (void)style_set_inset_bottom:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
1653
- + (void)style_set_margin:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
1654
- + (CMasonLengthPercentageAuto)style_get_margin_left:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
1655
- + (void)style_set_margin_left:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
1656
- + (CMasonLengthPercentageAuto)style_get_margin_right:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
1657
- + (void)style_set_margin_right:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
1658
- + (CMasonLengthPercentageAuto)style_get_margin_top:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
1659
- + (void)style_set_margin_top:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
1660
- + (CMasonLengthPercentageAuto)style_get_margin_bottom:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
1661
- + (void)style_set_margin_bottom:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageAutoType)value_type;
1662
- + (void)style_set_padding:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
1663
- + (CMasonLengthPercentage)style_get_padding_left:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
1664
- + (void)style_set_padding_left:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
1665
- + (CMasonLengthPercentage)style_get_padding_right:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
1666
- + (void)style_set_padding_right:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
1667
- + (CMasonLengthPercentage)style_get_padding_top:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
1668
- + (void)style_set_padding_top:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
1669
- + (CMasonLengthPercentage)style_get_padding_bottom:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
1670
- + (void)style_set_padding_bottom:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
1671
- + (void)style_set_border:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
1672
- + (CMasonLengthPercentage)style_get_border_left:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
1673
- + (void)style_set_border_left:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
1674
- + (CMasonLengthPercentage)style_get_border_right:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
1675
- + (void)style_set_border_right:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
1676
- + (CMasonLengthPercentage)style_get_border_top:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
1677
- + (void)style_set_border_top:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
1678
- + (CMasonLengthPercentage)style_get_border_bottom:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
1679
- + (void)style_set_border_bottom:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
1680
- + (float)style_get_flex_grow:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
1681
- + (void)style_set_flex_grow:(void * _Nonnull)style :(float)value;
1682
- + (void)style_set_border_bottom:(void * _Nonnull)style :(float)value;
1683
- + (float)style_get_flex_shrink:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
1684
- + (void)style_set_flex_shrink:(void * _Nonnull)style :(float)value;
1685
- + (void)style_set_flex_basis:(void * _Nonnull)style :(float)value :(CMasonDimensionType)value_type;
1686
- + (CMasonDimension)style_get_flex_basis:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
1687
- + (CMasonDimension)style_get_width:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
1688
- + (void)style_set_width:(void * _Nonnull)style :(float)value :(CMasonDimensionType)value_type;
1689
- + (CMasonDimension)style_get_height:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
1690
- + (void)style_set_height:(void * _Nonnull)style :(float)value :(CMasonDimensionType)value_type;
1691
- + (CMasonDimension)style_get_min_width:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
1692
- + (void)style_set_min_width:(void * _Nonnull)style :(float)value :(CMasonDimensionType)value_type;
1693
- + (CMasonDimension)style_get_min_height:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
1694
- + (void)style_set_min_height:(void * _Nonnull)style :(float)value :(CMasonDimensionType)value_type;
1695
- + (CMasonDimension)style_get_max_width:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
1696
- + (void)style_set_max_width:(void * _Nonnull)style :(float)value :(CMasonDimensionType)value_type;
1697
- + (CMasonDimension)style_get_max_height:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
1698
- + (void)style_set_max_height:(void * _Nonnull)style :(float)value :(CMasonDimensionType)value_type;
1699
- + (CMasonLengthPercentageSize)style_get_gap:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
1700
- + (void)style_set_gap:(void * _Nonnull)style :(float)width_value :(CMasonLengthPercentageType)width_type :(float)height_value :(CMasonLengthPercentageType)height_type;
1701
- + (CMasonLengthPercentage)style_get_row_gap:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
1702
- + (void)style_set_row_gap:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
1703
- + (CMasonLengthPercentage)style_get_column_gap:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
1704
- + (void)style_set_column_gap:(void * _Nonnull)style :(float)value :(CMasonLengthPercentageType)value_type;
1705
- + (float)style_get_aspect_ratio:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
1706
- + (void)style_set_aspect_ratio:(void * _Nonnull)style :(float)value;
1707
- + (CMasonNonRepeatedTrackSizingFunctionArray * _Nonnull)style_get_grid_auto_rows:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
1708
- + (void)style_set_grid_auto_rows:(void * _Nonnull)style :(CMasonNonRepeatedTrackSizingFunctionArray * _Nonnull)value;
1709
- + (CMasonNonRepeatedTrackSizingFunctionArray * _Nonnull)style_get_grid_auto_columns:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
1710
- + (void)style_set_grid_auto_columns:(void * _Nonnull)style :(CMasonNonRepeatedTrackSizingFunctionArray * _Nonnull)value;
1711
- + (int32_t)style_get_grid_auto_flow:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
1712
- + (void)style_set_grid_auto_flow:(void * _Nonnull)style :(int32_t)value;
1713
- + (void)style_set_grid_area:(void * _Nonnull)style :(CMasonGridPlacement)row_start :(CMasonGridPlacement)row_end :(CMasonGridPlacement)column_start :(CMasonGridPlacement)column_end;
1714
- + (void)style_set_grid_column:(void * _Nonnull)style :(CMasonGridPlacement)start :(CMasonGridPlacement)end;
1715
- + (CMasonGridPlacement)style_get_grid_column_start:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
1716
- + (void)style_set_grid_column_start:(void * _Nonnull)style :(CMasonGridPlacement)value;
1717
- + (CMasonGridPlacement)style_get_grid_column_end:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
1718
- + (void)style_set_grid_column_end:(void * _Nonnull)style :(CMasonGridPlacement)value;
1719
- + (void)style_set_grid_row:(void * _Nonnull)style :(CMasonGridPlacement)start :(CMasonGridPlacement)end;
1720
- + (CMasonGridPlacement)style_get_grid_row_start:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
1721
- + (void)style_set_grid_row_start:(void * _Nonnull)style :(CMasonGridPlacement)value;
1722
- + (CMasonGridPlacement)style_get_grid_row_end:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
1723
- + (void)style_set_grid_row_end:(void * _Nonnull)style :(CMasonGridPlacement)value;
1724
- + (CMasonTrackSizingFunctionArray * _Nonnull)style_get_grid_template_rows:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
1725
- + (void)style_set_grid_template_rows:(void * _Nonnull)style :(CMasonTrackSizingFunctionArray * _Nonnull)value;
1726
- + (CMasonTrackSizingFunctionArray * _Nonnull)style_get_grid_template_columns:(void * _Nonnull)style SWIFT_WARN_UNUSED_RESULT;
1727
- + (void)style_set_grid_template_columns:(void * _Nonnull)style :(CMasonTrackSizingFunctionArray * _Nonnull)value;
1728
- + (void)destroyWithNonRepeatedTrackSizingFunctionArray:(CMasonNonRepeatedTrackSizingFunctionArray * _Nonnull)nonRepeatedTrackSizingFunctionArray;
1729
- + (void)destroyWithTrackSizingFunctionArray:(CMasonTrackSizingFunctionArray * _Nonnull)trackSizingFunctionArray;
1730
- + (NSString * _Nonnull)util_parse_non_repeated_track_sizing_function:(CMasonNonRepeatedTrackSizingFunctionArray * _Nonnull)value SWIFT_WARN_UNUSED_RESULT;
1731
- + (NSString * _Nonnull)util_parse_auto_repeating_track_sizing_function:(CMasonTrackSizingFunctionArray * _Nonnull)value SWIFT_WARN_UNUSED_RESULT;
1732
- + (CMasonMinMax)util_create_non_repeated_track_sizing_function_with_type_value:(int32_t)track_type :(float)track_value SWIFT_WARN_UNUSED_RESULT;
1733
- + (void)style_update_with_values:(void * _Nonnull)style :(int32_t)display :(int32_t)position :(int32_t)direction :(int32_t)flexDirection :(int32_t)flexWrap :(int32_t)overflow :(int32_t)alignItems :(int32_t)alignSelf :(int32_t)alignContent :(int32_t)justifyItems :(int32_t)justifySelf :(int32_t)justifyContent :(int32_t)insetLeftType :(float)insetLeftValue :(int32_t)insetRightType :(float)insetRightValue :(int32_t)insetTopType :(float)insetTopValue :(int32_t)insetBottomType :(float)insetBottomValue :(int32_t)marginLeftType :(float)marginLeftValue :(int32_t)marginRightType :(float)marginRightValue :(int32_t)marginTopType :(float)marginTopValue :(int32_t)marginBottomType :(float)marginBottomValue :(int32_t)paddingLeftType :(float)paddingLeftValue :(int32_t)paddingRightType :(float)paddingRightValue :(int32_t)paddingTopType :(float)paddingTopValue :(int32_t)paddingBottomType :(float)paddingBottomValue :(int32_t)borderLeftType :(float)borderLeftValue :(int32_t)borderRightType :(float)borderRightValue :(int32_t)borderTopType :(float)borderTopValue :(int32_t)borderBottomType :(float)borderBottomValue :(float)flexGrow :(float)flexShrink :(int32_t)flexBasisType :(float)flexBasisValue :(int32_t)widthType :(float)widthValue :(int32_t)heightType :(float)heightValue :(int32_t)minWidthType :(float)minWidthValue :(int32_t)minHeightType :(float)minHeightValue :(int32_t)maxWidthType :(float)maxWidthValue :(int32_t)maxHeightType :(float)maxHeightValue :(int32_t)gapRowType :(float)gapRowValue :(int32_t)gapColumnType :(float)gapColumnValue :(float)aspectRatio :(CMasonNonRepeatedTrackSizingFunctionArray * _Nonnull)gridAutoRows :(CMasonNonRepeatedTrackSizingFunctionArray * _Nonnull)gridAutoColumns :(int32_t)gridAutoFlow :(int32_t)gridColumnStartType :(int16_t)gridColumnStartValue :(int32_t)gridColumnEndType :(int16_t)gridColumnEndValue :(int32_t)gridRowStartType :(int16_t)gridRowStartValue :(int32_t)gridRowEndType :(int16_t)gridRowEndValue :(CMasonTrackSizingFunctionArray * _Nonnull)gridTemplateRows gridTemplateColumns:(CMasonTrackSizingFunctionArray * _Nonnull)gridTemplateColumns;
1734
- - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
1735
- @end
1736
-
1703
+ @class NSMutableData;
1704
+ @class NSData;
1737
1705
  enum Position : NSInteger;
1738
1706
  enum Overflow : NSInteger;
1707
+ enum MasonTextAlign : NSInteger;
1739
1708
  @class MinMax;
1740
1709
  @class TrackSizingFunction;
1741
1710
 
1742
1711
  SWIFT_CLASS_NAMED("MasonStyle")
1743
1712
  @interface MasonStyle : NSObject
1744
- @property (nonatomic, readonly) void * _Null_unspecified nativePtr;
1745
- - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
1713
+ @property (nonatomic, strong) NSMutableData * _Nonnull valuesCompat;
1714
+ @property (nonatomic, copy) NSData * _Nonnull values;
1715
+ - (nonnull instancetype)initWithNode:(MasonNode * _Nonnull)node OBJC_DESIGNATED_INITIALIZER;
1746
1716
  @property (nonatomic) enum Display display;
1747
1717
  @property (nonatomic) enum Position position;
1748
1718
  @property (nonatomic) enum Direction direction;
1749
1719
  @property (nonatomic) enum FlexDirection flexDirection;
1750
1720
  @property (nonatomic) enum FlexWrap flexWrap;
1751
- @property (nonatomic) enum Overflow overflow;
1721
+ @property (nonatomic) enum Overflow overflowX;
1722
+ @property (nonatomic) enum Overflow overflowY;
1752
1723
  @property (nonatomic) enum AlignItems alignItems;
1753
1724
  @property (nonatomic) enum AlignSelf alignSelf;
1754
1725
  @property (nonatomic) enum AlignContent alignContent;
@@ -1782,6 +1753,9 @@ SWIFT_CLASS_NAMED("MasonStyle")
1782
1753
  @property (nonatomic) float flexGrow;
1783
1754
  @property (nonatomic) float flexShrink;
1784
1755
  - (void)setFlexBasis:(float)value :(NSInteger)type;
1756
+ - (void)setScrollBarWidth:(float)value;
1757
+ @property (nonatomic) enum MasonTextAlign textAlign;
1758
+ @property (nonatomic) enum MasonBoxSizing boxSizing;
1785
1759
  @property (nonatomic, strong) MasonDimensionSizeCompat * _Nonnull minSizeCompat;
1786
1760
  - (void)setMinSizeWidth:(float)value :(NSInteger)type;
1787
1761
  - (void)setMinSizeHeight:(float)value :(NSInteger)type;
@@ -1812,132 +1786,97 @@ SWIFT_CLASS_NAMED("MasonStyle")
1812
1786
  @property (nonatomic, strong) GridPlacementCompat * _Nonnull gridRowEndCompat;
1813
1787
  @property (nonatomic, copy) NSArray<TrackSizingFunction *> * _Nonnull gridTemplateRows;
1814
1788
  @property (nonatomic, copy) NSArray<TrackSizingFunction *> * _Nonnull gridTemplateColumns;
1789
+ - (void)updateNativeStyle;
1815
1790
  @property (nonatomic, readonly, copy) NSString * _Nonnull description;
1816
- @end
1817
-
1818
-
1819
- SWIFT_CLASS_NAMED("MaxSizing")
1820
- @interface MaxSizing : NSObject
1821
- @property (nonatomic, readonly) float value;
1822
- + (MaxSizing * _Nonnull)Points:(float)points SWIFT_WARN_UNUSED_RESULT;
1823
- + (MaxSizing * _Nonnull)Percent:(float)percent SWIFT_WARN_UNUSED_RESULT;
1824
- + (MaxSizing * _Nonnull)FitContent:(float)fit SWIFT_WARN_UNUSED_RESULT;
1825
- + (MaxSizing * _Nonnull)FitContentPercent:(float)fit SWIFT_WARN_UNUSED_RESULT;
1826
- + (MaxSizing * _Nonnull)Flex:(float)flex SWIFT_WARN_UNUSED_RESULT;
1827
- SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MaxSizing * _Nonnull Auto;)
1828
- + (MaxSizing * _Nonnull)Auto SWIFT_WARN_UNUSED_RESULT;
1829
- SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MaxSizing * _Nonnull MinContent;)
1830
- + (MaxSizing * _Nonnull)MinContent SWIFT_WARN_UNUSED_RESULT;
1831
- SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MaxSizing * _Nonnull MaxContent;)
1832
- + (MaxSizing * _Nonnull)MaxContent SWIFT_WARN_UNUSED_RESULT;
1833
- @property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
1834
- @property (nonatomic, readonly, copy) NSString * _Nullable jsonValue;
1835
1791
  - (nonnull instancetype)init SWIFT_UNAVAILABLE;
1836
1792
  + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
1837
1793
  @end
1838
1794
 
1839
-
1840
- SWIFT_CLASS_NAMED("MeasureOutput")
1841
- @interface MeasureOutput : NSObject
1842
- - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
1843
- @end
1844
-
1845
- @class MinSizing;
1846
-
1847
- SWIFT_CLASS_NAMED("MinMax")
1848
- @interface MinMax : NSObject
1849
- - (nonnull instancetype)init:(MinSizing * _Nonnull)min :(MaxSizing * _Nonnull)max OBJC_DESIGNATED_INITIALIZER;
1850
- + (MinMax * _Nonnull)PointsWithPoints:(float)points SWIFT_WARN_UNUSED_RESULT;
1851
- + (MinMax * _Nonnull)PercentWithPercent:(float)percent SWIFT_WARN_UNUSED_RESULT;
1852
- + (MinMax * _Nonnull)FlexWithFlex:(float)flex SWIFT_WARN_UNUSED_RESULT;
1853
- + (MinMax * _Nonnull)FitContentWithFit:(float)fit SWIFT_WARN_UNUSED_RESULT;
1854
- + (MinMax * _Nonnull)FitContentPercentWithFit:(float)fit SWIFT_WARN_UNUSED_RESULT;
1855
- SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinMax * _Nonnull Auto;)
1856
- + (MinMax * _Nonnull)Auto SWIFT_WARN_UNUSED_RESULT;
1857
- + (MinMax * _Nullable)fromTypeValue:(NSInteger)minType :(float)minValue :(NSInteger)maxType :(float)maxValue SWIFT_WARN_UNUSED_RESULT;
1858
- @property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
1859
- @property (nonatomic, readonly, copy) NSString * _Nullable jsonValue;
1860
- - (nonnull instancetype)init SWIFT_UNAVAILABLE;
1861
- + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
1862
- @end
1863
-
1864
-
1865
- SWIFT_CLASS_NAMED("MinSizing")
1866
- @interface MinSizing : NSObject
1867
- @property (nonatomic, readonly) float value;
1868
- + (MinSizing * _Nonnull)Points:(float)points SWIFT_WARN_UNUSED_RESULT;
1869
- + (MinSizing * _Nonnull)Percent:(float)percent SWIFT_WARN_UNUSED_RESULT;
1870
- SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinSizing * _Nonnull Auto;)
1871
- + (MinSizing * _Nonnull)Auto SWIFT_WARN_UNUSED_RESULT;
1872
- SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinSizing * _Nonnull MinContent;)
1873
- + (MinSizing * _Nonnull)MinContent SWIFT_WARN_UNUSED_RESULT;
1874
- SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinSizing * _Nonnull MaxContent;)
1875
- + (MinSizing * _Nonnull)MaxContent SWIFT_WARN_UNUSED_RESULT;
1876
- @property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
1877
- @property (nonatomic, readonly, copy) NSString * _Nullable jsonValue;
1878
- - (nonnull instancetype)init SWIFT_UNAVAILABLE;
1879
- + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
1795
+ @class NSCoder;
1796
+ @class NSMutableAttributedString;
1797
+ @class UIFont;
1798
+ enum TextTransform : NSInteger;
1799
+ @class UIColor;
1800
+ enum TextWrap : NSInteger;
1801
+
1802
+ SWIFT_CLASS_NAMED("MasonText")
1803
+ @interface MasonText : UIView
1804
+ @property (nonatomic, readonly, strong) MasonText * _Nullable owner;
1805
+ @property (nonatomic, readonly, strong) MasonNode * _Nonnull node;
1806
+ @property (nonatomic, readonly, copy) NSData * _Nonnull textValues;
1807
+ - (nonnull instancetype)initWithMason:(NSCMason * _Nonnull)mason OBJC_DESIGNATED_INITIALIZER;
1808
+ - (nonnull instancetype)initWithNode:(MasonNode * _Nonnull)masonNode OBJC_DESIGNATED_INITIALIZER;
1809
+ - (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
1810
+ @property (nonatomic, readonly, strong) UIView * _Nonnull uiView;
1811
+ @property (nonatomic, readonly, strong) MasonStyle * _Nonnull style;
1812
+ - (void)markNodeDirty;
1813
+ - (BOOL)isNodeDirty SWIFT_WARN_UNUSED_RESULT;
1814
+ - (void)configure:(SWIFT_NOESCAPE void (^ _Nonnull)(MasonNode * _Nonnull))block;
1815
+ - (void)updateText:(NSString * _Nullable)value;
1816
+ @property (nonatomic, strong) NSMutableAttributedString * _Nonnull txtToRender;
1817
+ @property (nonatomic, readonly, strong) UIFont * _Nonnull font;
1818
+ - (void)invalidateStyle:(int64_t)state;
1819
+ @property (nonatomic) enum TextTransform textTransform;
1820
+ @property (nonatomic) CGFloat fontSize;
1821
+ @property (nonatomic) enum FontStyle fontStyle;
1822
+ - (void)setFontStyle:(enum FontStyle)style slant:(int32_t)slant;
1823
+ @property (nonatomic, copy) NSString * _Nonnull fontWeight;
1824
+ @property (nonatomic) uint32_t color;
1825
+ @property (nonatomic) uint32_t backgroundColorValue;
1826
+ - (void)setColorWithUi:(UIColor * _Nonnull)color;
1827
+ - (void)setBackgroundColorWithUi:(UIColor * _Nonnull)color;
1828
+ - (void)setDecorationColorWithUi:(UIColor * _Nonnull)color;
1829
+ @property (nonatomic) uint32_t decorationColor;
1830
+ @property (nonatomic) enum DecorationLine decorationLine;
1831
+ @property (nonatomic) enum TextWrap textWrap;
1832
+ - (void)drawRect:(CGRect)rect;
1833
+ - (void)addView:(UIView * _Nonnull)view :(NSInteger)index;
1834
+ - (void)removeView:(UIView * _Nonnull)view;
1835
+ @property (nonatomic, copy) NSString * _Nullable text;
1836
+ - (void)syncStyle:(NSString * _Nonnull)state :(NSString * _Nonnull)textState;
1837
+ - (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
1880
1838
  @end
1881
1839
 
1882
- typedef SWIFT_ENUM_NAMED(NSInteger, Overflow, "Overflow", open) {
1883
- OverflowVisible = 0,
1884
- OverflowHidden = 1,
1885
- OverflowScroll = 2,
1886
- };
1887
-
1888
- typedef SWIFT_ENUM_NAMED(NSInteger, Position, "Position", open) {
1889
- PositionRelative = 0,
1890
- PositionAbsolute = 1,
1840
+ typedef SWIFT_ENUM_NAMED(NSInteger, MasonTextAlign, "MasonTextAlign", open) {
1841
+ MasonTextAlignAuto = 0,
1842
+ MasonTextAlignLeft = 1,
1843
+ MasonTextAlignRight = 2,
1844
+ MasonTextAlignCenter = 3,
1845
+ MasonTextAlignJustify = 4,
1846
+ MasonTextAlignStart = 5,
1847
+ MasonTextAlignEnd = 6,
1891
1848
  };
1892
1849
 
1893
1850
 
1894
- SWIFT_CLASS_NAMED("TSCMason")
1895
- @interface TSCMason : NSObject
1896
- @property (nonatomic, readonly) void * _Null_unspecified nativePtr;
1897
- - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
1898
- - (void)clear;
1899
- SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) TSCMason * _Nonnull instance;)
1900
- + (TSCMason * _Nonnull)instance SWIFT_WARN_UNUSED_RESULT;
1901
- SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL shared;)
1902
- + (BOOL)shared SWIFT_WARN_UNUSED_RESULT;
1903
- + (void)setShared:(BOOL)value;
1904
- SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL alwaysEnable;)
1905
- + (BOOL)alwaysEnable SWIFT_WARN_UNUSED_RESULT;
1906
- + (void)setAlwaysEnable:(BOOL)value;
1907
- @end
1908
-
1909
-
1910
- SWIFT_CLASS_NAMED("TrackSizingFunction")
1911
- @interface TrackSizingFunction : NSObject
1912
- @property (nonatomic, readonly) BOOL isRepeating;
1913
- @property (nonatomic, readonly) id _Nullable value;
1914
- + (TrackSizingFunction * _Nonnull)Single:(MinMax * _Nonnull)value SWIFT_WARN_UNUSED_RESULT;
1915
- + (TrackSizingFunction * _Nonnull)AutoRepeat:(GridTrackRepetition * _Nonnull)gridTrackRepetition :(NSArray<MinMax *> * _Nonnull)value SWIFT_WARN_UNUSED_RESULT;
1916
- - (nonnull instancetype)init SWIFT_UNAVAILABLE;
1917
- + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
1918
- @end
1919
-
1920
-
1921
- @interface UIView (SWIFT_EXTENSION(Mason))
1922
- + (UIView * _Nonnull)createGridView SWIFT_WARN_UNUSED_RESULT;
1923
- + (UIView * _Nonnull)createFlexView SWIFT_WARN_UNUSED_RESULT;
1924
- @property (nonatomic, readonly, strong) MasonNode * _Nonnull mason;
1925
- SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) NSInteger masonPtr;)
1926
- + (NSInteger)masonPtr SWIFT_WARN_UNUSED_RESULT;
1927
- @property (nonatomic, readonly) NSInteger masonNodePtr;
1928
- @property (nonatomic, readonly) NSInteger masonStylePtr;
1929
- @property (nonatomic, readonly) BOOL isMasonEnabled;
1851
+ SWIFT_CLASS_NAMED("MasonUIView")
1852
+ @interface MasonUIView : UIView
1853
+ @property (nonatomic, readonly, strong) UIView * _Nonnull uiView;
1854
+ - (void)markNodeDirty;
1855
+ - (BOOL)isNodeDirty SWIFT_WARN_UNUSED_RESULT;
1856
+ @property (nonatomic, readonly, strong) MasonNode * _Nonnull node;
1857
+ @property (nonatomic, readonly, strong) NSCMason * _Nonnull mason;
1858
+ - (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
1859
+ + (MasonUIView * _Nonnull)createGridView:(NSCMason * _Nonnull)mason SWIFT_WARN_UNUSED_RESULT;
1860
+ + (MasonUIView * _Nonnull)createFlexView:(NSCMason * _Nonnull)mason SWIFT_WARN_UNUSED_RESULT;
1861
+ + (MasonUIView * _Nonnull)createBlockView:(NSCMason * _Nonnull)mason SWIFT_WARN_UNUSED_RESULT;
1862
+ @property (nonatomic, readonly) int64_t masonPtr;
1863
+ @property (nonatomic, readonly) int64_t masonNodePtr;
1864
+ @property (nonatomic, readonly, copy) NSString * _Nonnull masonPtrs;
1930
1865
  @property (nonatomic, strong) MasonStyle * _Nonnull style;
1866
+ - (void)addView:(UIView * _Nonnull)view;
1867
+ - (void)addView:(UIView * _Nonnull)view at:(NSInteger)at;
1868
+ - (void)syncStyle:(NSString * _Nonnull)state;
1931
1869
  - (void)addSubviews:(NSArray<UIView *> * _Nonnull)views;
1932
1870
  - (void)addSubviews:(NSArray<UIView *> * _Nonnull)views at:(NSInteger)index;
1933
1871
  - (void)configure:(SWIFT_NOESCAPE void (^ _Nonnull)(MasonNode * _Nonnull))block;
1934
1872
  @property (nonatomic) BOOL inBatch;
1935
1873
  @property (nonatomic) enum Display display;
1936
- @property (nonatomic) enum Position position;
1874
+ @property (nonatomic) enum Position _position;
1937
1875
  @property (nonatomic) enum Direction direction;
1938
1876
  @property (nonatomic) enum FlexDirection flexDirection;
1939
1877
  @property (nonatomic) enum FlexWrap flexWrap;
1940
- @property (nonatomic) enum Overflow overflow;
1878
+ @property (nonatomic) enum Overflow overflowX;
1879
+ @property (nonatomic) enum Overflow overflowY;
1941
1880
  @property (nonatomic) enum AlignItems alignItems;
1942
1881
  @property (nonatomic) enum AlignSelf alignSelf;
1943
1882
  @property (nonatomic) enum AlignContent alignContent;
@@ -1946,6 +1885,7 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) NSInteger masonPtr;)
1946
1885
  @property (nonatomic) enum JustifyContent justifyContent;
1947
1886
  @property (nonatomic) float flexGrow;
1948
1887
  @property (nonatomic) float flexShrink;
1888
+ @property (nonatomic, strong) MasonDimensionCompat * _Nonnull scrollBarWidthCompat;
1949
1889
  @property (nonatomic, strong) MasonDimensionCompat * _Nonnull flexBasisCompat;
1950
1890
  @property (nonatomic) float aspectRatio;
1951
1891
  @property (nonatomic, copy) NSArray<MinMax *> * _Nonnull gridAutoRows;
@@ -2024,14 +1964,136 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) NSInteger masonPtr;)
2024
1964
  - (void)setColumnGap:(float)column :(NSInteger)type;
2025
1965
  - (MasonLengthPercentageCompat * _Nonnull)getRowGap SWIFT_WARN_UNUSED_RESULT;
2026
1966
  - (MasonLengthPercentageCompat * _Nonnull)getColumnGap SWIFT_WARN_UNUSED_RESULT;
1967
+ - (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
2027
1968
  @end
2028
1969
 
2029
- #endif
2030
- #if defined(__cplusplus)
1970
+
1971
+ SWIFT_CLASS_NAMED("MaxSizing")
1972
+ @interface MaxSizing : NSObject
1973
+ @property (nonatomic, readonly) float value;
1974
+ + (MaxSizing * _Nonnull)Points:(float)points SWIFT_WARN_UNUSED_RESULT;
1975
+ + (MaxSizing * _Nonnull)Percent:(float)percent SWIFT_WARN_UNUSED_RESULT;
1976
+ + (MaxSizing * _Nonnull)FitContent:(float)fit SWIFT_WARN_UNUSED_RESULT;
1977
+ + (MaxSizing * _Nonnull)FitContentPercent:(float)fit SWIFT_WARN_UNUSED_RESULT;
1978
+ + (MaxSizing * _Nonnull)Fraction:(float)flex SWIFT_WARN_UNUSED_RESULT;
1979
+ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MaxSizing * _Nonnull Auto;)
1980
+ + (MaxSizing * _Nonnull)Auto SWIFT_WARN_UNUSED_RESULT;
1981
+ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MaxSizing * _Nonnull MinContent;)
1982
+ + (MaxSizing * _Nonnull)MinContent SWIFT_WARN_UNUSED_RESULT;
1983
+ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MaxSizing * _Nonnull MaxContent;)
1984
+ + (MaxSizing * _Nonnull)MaxContent SWIFT_WARN_UNUSED_RESULT;
1985
+ @property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
1986
+ @property (nonatomic, readonly, copy) NSString * _Nullable jsonValue;
1987
+ - (nonnull instancetype)init SWIFT_UNAVAILABLE;
1988
+ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
1989
+ @end
1990
+
1991
+
1992
+ SWIFT_CLASS_NAMED("MeasureOutput")
1993
+ @interface MeasureOutput : NSObject
1994
+ - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
1995
+ @end
1996
+
1997
+ @class MinSizing;
1998
+
1999
+ SWIFT_CLASS_NAMED("MinMax")
2000
+ @interface MinMax : NSObject
2001
+ - (nonnull instancetype)init:(MinSizing * _Nonnull)min :(MaxSizing * _Nonnull)max OBJC_DESIGNATED_INITIALIZER;
2002
+ + (MinMax * _Nonnull)PointsWithPoints:(float)points SWIFT_WARN_UNUSED_RESULT;
2003
+ + (MinMax * _Nonnull)PercentWithPercent:(float)percent SWIFT_WARN_UNUSED_RESULT;
2004
+ + (MinMax * _Nonnull)FlexWithFlex:(float)flex SWIFT_WARN_UNUSED_RESULT;
2005
+ + (MinMax * _Nonnull)FitContentWithFit:(float)fit SWIFT_WARN_UNUSED_RESULT;
2006
+ + (MinMax * _Nonnull)FitContentPercentWithFit:(float)fit SWIFT_WARN_UNUSED_RESULT;
2007
+ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinMax * _Nonnull Auto;)
2008
+ + (MinMax * _Nonnull)Auto SWIFT_WARN_UNUSED_RESULT;
2009
+ + (MinMax * _Nullable)fromTypeValue:(NSInteger)minType :(float)minValue :(NSInteger)maxType :(float)maxValue SWIFT_WARN_UNUSED_RESULT;
2010
+ @property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
2011
+ @property (nonatomic, readonly, copy) NSString * _Nullable jsonValue;
2012
+ - (nonnull instancetype)init SWIFT_UNAVAILABLE;
2013
+ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
2014
+ @end
2015
+
2016
+
2017
+ SWIFT_CLASS_NAMED("MinSizing")
2018
+ @interface MinSizing : NSObject
2019
+ @property (nonatomic, readonly) float value;
2020
+ + (MinSizing * _Nonnull)Points:(float)points SWIFT_WARN_UNUSED_RESULT;
2021
+ + (MinSizing * _Nonnull)Percent:(float)percent SWIFT_WARN_UNUSED_RESULT;
2022
+ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinSizing * _Nonnull Auto;)
2023
+ + (MinSizing * _Nonnull)Auto SWIFT_WARN_UNUSED_RESULT;
2024
+ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinSizing * _Nonnull MinContent;)
2025
+ + (MinSizing * _Nonnull)MinContent SWIFT_WARN_UNUSED_RESULT;
2026
+ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) MinSizing * _Nonnull MaxContent;)
2027
+ + (MinSizing * _Nonnull)MaxContent SWIFT_WARN_UNUSED_RESULT;
2028
+ @property (nonatomic, readonly, copy) NSString * _Nonnull cssValue;
2029
+ @property (nonatomic, readonly, copy) NSString * _Nullable jsonValue;
2030
+ - (nonnull instancetype)init SWIFT_UNAVAILABLE;
2031
+ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
2032
+ @end
2033
+
2034
+
2035
+ SWIFT_CLASS_NAMED("NSCMason")
2036
+ @interface NSCMason : NSObject
2037
+ @property (nonatomic, readonly) void * _Nullable nativePtr;
2038
+ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, strong) NSCMason * _Nonnull shared;)
2039
+ + (NSCMason * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT;
2040
+ + (void)setShared:(NSCMason * _Nonnull)value;
2041
+ - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
2042
+ - (MasonNode * _Nonnull)nodeForView:(UIView * _Nonnull)view :(BOOL)isLeaf SWIFT_WARN_UNUSED_RESULT;
2043
+ - (void)clear;
2044
+ - (MasonUIView * _Nonnull)createView SWIFT_WARN_UNUSED_RESULT;
2045
+ - (MasonText * _Nonnull)createTextView SWIFT_WARN_UNUSED_RESULT;
2046
+ - (MasonNode * _Nonnull)createNode SWIFT_WARN_UNUSED_RESULT;
2047
+ - (void)printTree:(MasonNode * _Nonnull)node;
2048
+ - (MasonNode * _Nonnull)createTextNode SWIFT_WARN_UNUSED_RESULT;
2049
+ @end
2050
+
2051
+ typedef SWIFT_ENUM_NAMED(NSInteger, Overflow, "Overflow", open) {
2052
+ OverflowUnset = 0,
2053
+ OverflowVisible = 1,
2054
+ OverflowHidden = 2,
2055
+ OverflowScroll = 3,
2056
+ };
2057
+
2058
+ typedef SWIFT_ENUM_NAMED(NSInteger, Position, "Position", open) {
2059
+ PositionRelative = 0,
2060
+ PositionAbsolute = 1,
2061
+ };
2062
+
2063
+ typedef SWIFT_ENUM_NAMED(NSInteger, TextTransform, "TextTransform", open) {
2064
+ TextTransformNone = 0,
2065
+ TextTransformCapitalize = 1,
2066
+ TextTransformUppercase = 2,
2067
+ TextTransformLowercase = 3,
2068
+ TextTransformFullWidth = 4,
2069
+ TextTransformFullSizeKana = 5,
2070
+ TextTransformMathAuto = 6,
2071
+ };
2072
+
2073
+ typedef SWIFT_ENUM_NAMED(NSInteger, TextWrap, "TextWrap", open) {
2074
+ TextWrapNoWrap = 0,
2075
+ TextWrapWrap = 1,
2076
+ TextWrapBalance = 2,
2077
+ };
2078
+
2079
+
2080
+ SWIFT_CLASS_NAMED("TrackSizingFunction")
2081
+ @interface TrackSizingFunction : NSObject
2082
+ @property (nonatomic, readonly) BOOL isRepeating;
2083
+ @property (nonatomic, readonly) id _Nullable value;
2084
+ + (TrackSizingFunction * _Nonnull)Single:(MinMax * _Nonnull)value SWIFT_WARN_UNUSED_RESULT;
2085
+ + (TrackSizingFunction * _Nonnull)AutoRepeat:(GridTrackRepetition * _Nonnull)gridTrackRepetition :(NSArray<MinMax *> * _Nonnull)value SWIFT_WARN_UNUSED_RESULT;
2086
+ - (nonnull instancetype)init SWIFT_UNAVAILABLE;
2087
+ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
2088
+ @end
2089
+
2090
+
2031
2091
  #endif
2032
2092
  #if __has_attribute(external_source_symbol)
2033
2093
  # pragma clang attribute pop
2034
2094
  #endif
2095
+ #if defined(__cplusplus)
2096
+ #endif
2035
2097
  #pragma clang diagnostic pop
2036
2098
  #endif
2037
2099