@triniwiz/nativescript-masonkit 1.0.0-alpha.1 → 1.0.0-alpha.10
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.
- package/common.d.ts +53 -30
- package/common.js +489 -1113
- package/common.js.map +1 -1
- package/helpers.d.ts +116 -94
- package/helpers.js +474 -2538
- package/helpers.js.map +1 -1
- package/index.android.d.ts +28 -20
- package/index.android.js +110 -65
- package/index.android.js.map +1 -1
- package/index.d.ts +112 -18
- package/index.ios.d.ts +42 -21
- package/index.ios.js +316 -96
- package/index.ios.js.map +1 -1
- package/node.d.ts +2 -0
- package/node.js +3 -0
- package/node.js.map +1 -0
- package/package.json +3 -3
- package/platforms/android/include.gradle +18 -1
- package/platforms/android/masonkit-release.aar +0 -0
- package/platforms/ios/Mason.xcframework/Info.plist +4 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/Mason-Swift.h +345 -314
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/Mason.h +11 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/mason_native.h +215 -818
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Info.plist +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Mason +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.abi.json +23676 -16086
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.private.swiftinterface +444 -308
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.swiftinterface +444 -308
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/module.modulemap +1 -1
- package/platforms/ios/Mason.xcframework/ios-arm64/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/aarch64/Mason.yml +1937 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason-Swift.h +690 -628
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason.h +11 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/mason_native.h +215 -818
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Info.plist +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Mason +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.abi.json +23676 -16086
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +444 -308
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftinterface +444 -308
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json +23676 -16086
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +444 -308
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +444 -308
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/module.modulemap +1 -1
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/_CodeSignature/CodeResources +33 -97
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/aarch64/Mason.yml +1937 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/x86_64/Mason.yml +1888 -0
- package/platforms/ios/Podfile +1 -1
- package/platforms/ios/build.xcconfig +4 -1
- package/platforms/ios/prebuild.sh +101 -0
- package/platforms/new_native_src/cpp/Caches.cpp +36 -0
- package/platforms/new_native_src/cpp/Caches.h +42 -0
- package/platforms/new_native_src/cpp/Common.h +34 -0
- package/platforms/new_native_src/cpp/ConcurrentMap.h +57 -0
- package/platforms/new_native_src/cpp/Helpers.cpp +101 -0
- package/platforms/new_native_src/cpp/Helpers.h +364 -0
- package/platforms/new_native_src/cpp/MasonImpl.cpp +68 -0
- package/platforms/new_native_src/cpp/MasonImpl.h +40 -0
- package/platforms/new_native_src/cpp/MasonNodeImpl.cpp +89 -0
- package/platforms/new_native_src/cpp/MasonNodeImpl.h +47 -0
- package/platforms/new_native_src/cpp/MasonStyleImpl.cpp +2181 -0
- package/platforms/new_native_src/cpp/MasonStyleImpl.h +420 -0
- package/platforms/{ios/src → new_native_src/cpp}/include/mason_native.h +47 -20
- package/platforms/new_native_src/cpp/include/robin_hood.h +2544 -0
- package/src-native/pods/Headers/include/APIDesign.md +72 -0
- package/src-native/pods/Headers/include/DEPS +10 -0
- package/src-native/pods/Headers/include/DIR_METADATA +11 -0
- package/src-native/pods/Headers/include/OWNERS +23 -0
- package/src-native/pods/Headers/include/cppgc/DEPS +8 -0
- package/src-native/pods/Headers/include/cppgc/OWNERS +2 -0
- package/src-native/pods/Headers/include/cppgc/README.md +133 -0
- package/src-native/pods/Headers/include/cppgc/allocation.h +310 -0
- package/src-native/pods/Headers/include/cppgc/common.h +29 -0
- package/src-native/pods/Headers/include/cppgc/cross-thread-persistent.h +465 -0
- package/src-native/pods/Headers/include/cppgc/custom-space.h +97 -0
- package/src-native/pods/Headers/include/cppgc/default-platform.h +67 -0
- package/src-native/pods/Headers/include/cppgc/ephemeron-pair.h +30 -0
- package/src-native/pods/Headers/include/cppgc/explicit-management.h +100 -0
- package/src-native/pods/Headers/include/cppgc/garbage-collected.h +106 -0
- package/src-native/pods/Headers/include/cppgc/heap-consistency.h +266 -0
- package/src-native/pods/Headers/include/cppgc/heap-state.h +82 -0
- package/src-native/pods/Headers/include/cppgc/heap-statistics.h +120 -0
- package/src-native/pods/Headers/include/cppgc/heap.h +206 -0
- package/src-native/pods/Headers/include/cppgc/internal/api-constants.h +55 -0
- package/src-native/pods/Headers/include/cppgc/internal/atomic-entry-flag.h +48 -0
- package/src-native/pods/Headers/include/cppgc/internal/caged-heap-local-data.h +79 -0
- package/src-native/pods/Headers/include/cppgc/internal/compiler-specific.h +38 -0
- package/src-native/pods/Headers/include/cppgc/internal/finalizer-trait.h +93 -0
- package/src-native/pods/Headers/include/cppgc/internal/gc-info.h +156 -0
- package/src-native/pods/Headers/include/cppgc/internal/logging.h +50 -0
- package/src-native/pods/Headers/include/cppgc/internal/name-trait.h +122 -0
- package/src-native/pods/Headers/include/cppgc/internal/persistent-node.h +216 -0
- package/src-native/pods/Headers/include/cppgc/internal/pointer-policies.h +186 -0
- package/src-native/pods/Headers/include/cppgc/internal/write-barrier.h +435 -0
- package/src-native/pods/Headers/include/cppgc/liveness-broker.h +77 -0
- package/src-native/pods/Headers/include/cppgc/macros.h +26 -0
- package/src-native/pods/Headers/include/cppgc/member.h +291 -0
- package/src-native/pods/Headers/include/cppgc/name-provider.h +65 -0
- package/src-native/pods/Headers/include/cppgc/object-size-trait.h +58 -0
- package/src-native/pods/Headers/include/cppgc/persistent.h +370 -0
- package/src-native/pods/Headers/include/cppgc/platform.h +156 -0
- package/src-native/pods/Headers/include/cppgc/prefinalizer.h +75 -0
- package/src-native/pods/Headers/include/cppgc/process-heap-statistics.h +36 -0
- package/src-native/pods/Headers/include/cppgc/sentinel-pointer.h +32 -0
- package/src-native/pods/Headers/include/cppgc/source-location.h +92 -0
- package/src-native/pods/Headers/include/cppgc/testing.h +106 -0
- package/src-native/pods/Headers/include/cppgc/trace-trait.h +116 -0
- package/src-native/pods/Headers/include/cppgc/type-traits.h +240 -0
- package/src-native/pods/Headers/include/cppgc/visitor.h +379 -0
- package/src-native/pods/Headers/include/js_protocol-1.2.json +936 -0
- package/src-native/pods/Headers/include/js_protocol-1.3.json +1112 -0
- package/src-native/pods/Headers/include/js_protocol.pdl +1709 -0
- package/src-native/pods/Headers/include/libffi/arm64/ffi.h +524 -0
- package/src-native/pods/Headers/include/libffi/arm64/ffitarget.h +92 -0
- package/src-native/pods/Headers/include/libffi/x86_64/ffi.h +524 -0
- package/src-native/pods/Headers/include/libffi/x86_64/ffitarget.h +147 -0
- package/src-native/pods/Headers/include/libffi.h +12 -0
- package/src-native/pods/Headers/include/libplatform/DEPS +9 -0
- package/src-native/pods/Headers/include/libplatform/libplatform-export.h +29 -0
- package/src-native/pods/Headers/include/libplatform/libplatform.h +106 -0
- package/src-native/pods/Headers/include/libplatform/v8-tracing.h +333 -0
- package/src-native/pods/Headers/include/v8-array-buffer.h +433 -0
- package/src-native/pods/Headers/include/v8-callbacks.h +397 -0
- package/src-native/pods/Headers/include/v8-container.h +129 -0
- package/src-native/pods/Headers/include/v8-context.h +407 -0
- package/src-native/pods/Headers/include/v8-cppgc.h +215 -0
- package/src-native/pods/Headers/include/v8-data.h +80 -0
- package/src-native/pods/Headers/include/v8-date.h +43 -0
- package/src-native/pods/Headers/include/v8-debug.h +168 -0
- package/src-native/pods/Headers/include/v8-embedder-heap.h +218 -0
- package/src-native/pods/Headers/include/v8-embedder-state-scope.h +51 -0
- package/src-native/pods/Headers/include/v8-exception.h +217 -0
- package/src-native/pods/Headers/include/v8-extension.h +62 -0
- package/src-native/pods/Headers/include/v8-external.h +37 -0
- package/src-native/pods/Headers/include/v8-fast-api-calls.h +939 -0
- package/src-native/pods/Headers/include/v8-forward.h +81 -0
- package/src-native/pods/Headers/include/v8-function-callback.h +475 -0
- package/src-native/pods/Headers/include/v8-function.h +125 -0
- package/src-native/pods/Headers/include/v8-initialization.h +315 -0
- package/src-native/pods/Headers/include/v8-inspector-protocol.h +13 -0
- package/src-native/pods/Headers/include/v8-inspector.h +376 -0
- package/src-native/pods/Headers/include/v8-internal.h +661 -0
- package/src-native/pods/Headers/include/v8-isolate.h +1709 -0
- package/src-native/pods/Headers/include/v8-json.h +47 -0
- package/src-native/pods/Headers/include/v8-local-handle.h +455 -0
- package/src-native/pods/Headers/include/v8-locker.h +149 -0
- package/src-native/pods/Headers/include/v8-maybe.h +137 -0
- package/src-native/pods/Headers/include/v8-memory-span.h +43 -0
- package/src-native/pods/Headers/include/v8-message.h +216 -0
- package/src-native/pods/Headers/include/v8-metrics.h +255 -0
- package/src-native/pods/Headers/include/v8-microtask-queue.h +152 -0
- package/src-native/pods/Headers/include/v8-microtask.h +28 -0
- package/src-native/pods/Headers/include/v8-object.h +775 -0
- package/src-native/pods/Headers/include/v8-persistent-handle.h +590 -0
- package/src-native/pods/Headers/include/v8-platform.h +1092 -0
- package/src-native/pods/Headers/include/v8-primitive-object.h +118 -0
- package/src-native/pods/Headers/include/v8-primitive.h +866 -0
- package/src-native/pods/Headers/include/v8-profiler.h +1198 -0
- package/src-native/pods/Headers/include/v8-promise.h +174 -0
- package/src-native/pods/Headers/include/v8-proxy.h +50 -0
- package/src-native/pods/Headers/include/v8-regexp.h +105 -0
- package/src-native/pods/Headers/include/v8-script.h +748 -0
- package/src-native/pods/Headers/include/v8-snapshot.h +196 -0
- package/src-native/pods/Headers/include/v8-statistics.h +217 -0
- package/src-native/pods/Headers/include/v8-template.h +1079 -0
- package/src-native/pods/Headers/include/v8-traced-handle.h +420 -0
- package/src-native/pods/Headers/include/v8-typed-array.h +282 -0
- package/src-native/pods/Headers/include/v8-unwinder-state.h +31 -0
- package/src-native/pods/Headers/include/v8-unwinder.h +132 -0
- package/src-native/pods/Headers/include/v8-util.h +658 -0
- package/src-native/pods/Headers/include/v8-value-serializer-version.h +24 -0
- package/src-native/pods/Headers/include/v8-value-serializer.h +279 -0
- package/src-native/pods/Headers/include/v8-value.h +526 -0
- package/src-native/pods/Headers/include/v8-version-string.h +38 -0
- package/src-native/pods/Headers/include/v8-version.h +20 -0
- package/src-native/pods/Headers/include/v8-wasm-trap-handler-posix.h +31 -0
- package/src-native/pods/Headers/include/v8-wasm-trap-handler-win.h +28 -0
- package/src-native/pods/Headers/include/v8-wasm.h +257 -0
- package/src-native/pods/Headers/include/v8-weak-callback-info.h +86 -0
- package/src-native/pods/Headers/include/v8.h +88 -0
- package/src-native/pods/Headers/include/v8config.h +605 -0
- package/src-native/pods/Headers/inspector/InspectorServer.h +20 -0
- package/src-native/pods/Headers/inspector/JsV8InspectorClient.h +66 -0
- package/src-native/pods/Headers/inspector/base/trace_event/common/trace_event_common.h +1123 -0
- package/src-native/pods/Headers/inspector/base64.h +9 -0
- package/src-native/pods/Headers/inspector/src/base/address-region.h +95 -0
- package/src-native/pods/Headers/inspector/src/base/atomic-utils.h +219 -0
- package/src-native/pods/Headers/inspector/src/base/atomicops.h +332 -0
- package/src-native/pods/Headers/inspector/src/base/atomicops_internals_atomicword_compat.h +89 -0
- package/src-native/pods/Headers/inspector/src/base/base-export.h +31 -0
- package/src-native/pods/Headers/inspector/src/base/bits.h +343 -0
- package/src-native/pods/Headers/inspector/src/base/build_config.h +234 -0
- package/src-native/pods/Headers/inspector/src/base/compiler-specific.h +136 -0
- package/src-native/pods/Headers/inspector/src/base/export-template.h +163 -0
- package/src-native/pods/Headers/inspector/src/base/flags.h +130 -0
- package/src-native/pods/Headers/inspector/src/base/immediate-crash.h +162 -0
- package/src-native/pods/Headers/inspector/src/base/lazy-instance.h +258 -0
- package/src-native/pods/Headers/inspector/src/base/logging.h +417 -0
- package/src-native/pods/Headers/inspector/src/base/macros.h +423 -0
- package/src-native/pods/Headers/inspector/src/base/memory.h +89 -0
- package/src-native/pods/Headers/inspector/src/base/once.h +108 -0
- package/src-native/pods/Headers/inspector/src/base/optional.h +882 -0
- package/src-native/pods/Headers/inspector/src/base/platform/mutex.h +370 -0
- package/src-native/pods/Headers/inspector/src/base/platform/platform.h +476 -0
- package/src-native/pods/Headers/inspector/src/base/platform/semaphore.h +108 -0
- package/src-native/pods/Headers/inspector/src/base/platform/v8-time.h +513 -0
- package/src-native/pods/Headers/inspector/src/base/platform/wrappers.h +73 -0
- package/src-native/pods/Headers/inspector/src/base/safe_conversions.h +389 -0
- package/src-native/pods/Headers/inspector/src/base/safe_conversions_impl.h +822 -0
- package/src-native/pods/Headers/inspector/src/base/template-utils.h +113 -0
- package/src-native/pods/Headers/inspector/src/base/v8-fallthrough.h +21 -0
- package/src-native/pods/Headers/inspector/src/common/checks.h +38 -0
- package/src-native/pods/Headers/inspector/src/common/globals.h +1842 -0
- package/src-native/pods/Headers/inspector/src/debug/debug-interface.h +667 -0
- package/src-native/pods/Headers/inspector/src/debug/interface-types.h +175 -0
- package/src-native/pods/Headers/inspector/src/init/v8.h +52 -0
- package/src-native/pods/Headers/inspector/src/inspector/custom-preview.h +24 -0
- package/src-native/pods/Headers/inspector/src/inspector/injected-script.h +251 -0
- package/src-native/pods/Headers/inspector/src/inspector/inspected-context.h +79 -0
- package/src-native/pods/Headers/inspector/src/inspector/protocol/CSS.h +2148 -0
- package/src-native/pods/Headers/inspector/src/inspector/protocol/Console.h +211 -0
- package/src-native/pods/Headers/inspector/src/inspector/protocol/DOM.h +1008 -0
- package/src-native/pods/Headers/inspector/src/inspector/protocol/Debugger.h +892 -0
- package/src-native/pods/Headers/inspector/src/inspector/protocol/Forward.h +75 -0
- package/src-native/pods/Headers/inspector/src/inspector/protocol/HeapProfiler.h +346 -0
- package/src-native/pods/Headers/inspector/src/inspector/protocol/Log.h +342 -0
- package/src-native/pods/Headers/inspector/src/inspector/protocol/Network.h +2528 -0
- package/src-native/pods/Headers/inspector/src/inspector/protocol/Overlay.h +281 -0
- package/src-native/pods/Headers/inspector/src/inspector/protocol/Page.h +1189 -0
- package/src-native/pods/Headers/inspector/src/inspector/protocol/Profiler.h +1001 -0
- package/src-native/pods/Headers/inspector/src/inspector/protocol/Protocol.h +617 -0
- package/src-native/pods/Headers/inspector/src/inspector/protocol/Runtime.h +1696 -0
- package/src-native/pods/Headers/inspector/src/inspector/protocol/Schema.h +146 -0
- package/src-native/pods/Headers/inspector/src/inspector/protocol/Security.h +793 -0
- package/src-native/pods/Headers/inspector/src/inspector/remote-object-id.h +54 -0
- package/src-native/pods/Headers/inspector/src/inspector/search-util.h +26 -0
- package/src-native/pods/Headers/inspector/src/inspector/string-16.h +180 -0
- package/src-native/pods/Headers/inspector/src/inspector/string-util.h +128 -0
- package/src-native/pods/Headers/inspector/src/inspector/v8-console-agent-impl.h +48 -0
- package/src-native/pods/Headers/inspector/src/inspector/v8-console-message.h +147 -0
- package/src-native/pods/Headers/inspector/src/inspector/v8-console.h +173 -0
- package/src-native/pods/Headers/inspector/src/inspector/v8-css-agent-impl.h +62 -0
- package/src-native/pods/Headers/inspector/src/inspector/v8-debugger-agent-impl.h +248 -0
- package/src-native/pods/Headers/inspector/src/inspector/v8-debugger-id.h +44 -0
- package/src-native/pods/Headers/inspector/src/inspector/v8-debugger-script.h +123 -0
- package/src-native/pods/Headers/inspector/src/inspector/v8-debugger.h +257 -0
- package/src-native/pods/Headers/inspector/src/inspector/v8-dom-agent-impl.h +91 -0
- package/src-native/pods/Headers/inspector/src/inspector/v8-heap-profiler-agent-impl.h +80 -0
- package/src-native/pods/Headers/inspector/src/inspector/v8-inspector-impl.h +191 -0
- package/src-native/pods/Headers/inspector/src/inspector/v8-inspector-session-impl.h +156 -0
- package/src-native/pods/Headers/inspector/src/inspector/v8-log-agent-impl.h +34 -0
- package/src-native/pods/Headers/inspector/src/inspector/v8-network-agent-impl.h +71 -0
- package/src-native/pods/Headers/inspector/src/inspector/v8-ns-debugger-agent-impl.h +24 -0
- package/src-native/pods/Headers/inspector/src/inspector/v8-overlay-agent-impl.h +70 -0
- package/src-native/pods/Headers/inspector/src/inspector/v8-page-agent-impl.h +88 -0
- package/src-native/pods/Headers/inspector/src/inspector/v8-profiler-agent-impl.h +104 -0
- package/src-native/pods/Headers/inspector/src/inspector/v8-regex.h +38 -0
- package/src-native/pods/Headers/inspector/src/inspector/v8-runtime-agent-impl.h +157 -0
- package/src-native/pods/Headers/inspector/src/inspector/v8-schema-agent-impl.h +38 -0
- package/src-native/pods/Headers/inspector/src/inspector/v8-stack-trace-impl.h +164 -0
- package/src-native/pods/Headers/inspector/src/inspector/v8-string-conversions.h +17 -0
- package/src-native/pods/Headers/inspector/src/inspector/v8-value-utils.h +23 -0
- package/src-native/pods/Headers/inspector/src/inspector/value-mirror.h +87 -0
- package/src-native/pods/Headers/inspector/src/libplatform/default-platform.h +92 -0
- package/src-native/pods/Headers/inspector/src/logging/tracing-flags.h +50 -0
- package/src-native/pods/Headers/inspector/src/numbers/conversions.h +183 -0
- package/src-native/pods/Headers/inspector/src/tracing/trace-event.h +664 -0
- package/src-native/pods/Headers/inspector/src/utils/allocation.h +367 -0
- package/src-native/pods/Headers/inspector/src/utils/vector.h +324 -0
- package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/cbor.h +305 -0
- package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/dispatch.h +314 -0
- package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/error_support.h +62 -0
- package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/export.h +6 -0
- package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/find_by_first.h +58 -0
- package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/frontend_channel.h +47 -0
- package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/glue.h +80 -0
- package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/json.h +52 -0
- package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/json_platform.h +26 -0
- package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/maybe.h +104 -0
- package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/parser_handler.h +39 -0
- package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/protocol_core.h +406 -0
- package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/serializable.h +32 -0
- package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/serializer_traits.h +158 -0
- package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/span.h +99 -0
- package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/status.h +139 -0
- package/src-native/pods/Headers/inspector/utils.h +32 -0
- package/src-native/pods/Headers/inspector/v8-inspector-platform.h +44 -0
- package/src-native/pods/Headers/jsi/decorator.h +762 -0
- package/src-native/pods/Headers/jsi/instrumentation.h +117 -0
- package/src-native/pods/Headers/jsi/jsi-inl.h +322 -0
- package/src-native/pods/Headers/jsi/jsi.h +1387 -0
- package/src-native/pods/Headers/jsi/jsilib.h +59 -0
- package/src-native/pods/Headers/jsi/threadsafe.h +79 -0
- package/src-native/pods/Headers/runtime/ArgConverter.h +61 -0
- package/src-native/pods/Headers/runtime/ArrayAdapter.h +13 -0
- package/src-native/pods/Headers/runtime/Caches.h +98 -0
- package/src-native/pods/Headers/runtime/ClassBuilder.h +61 -0
- package/src-native/pods/Headers/runtime/Common.h +9 -0
- package/src-native/pods/Headers/runtime/ConcurrentMap.h +55 -0
- package/src-native/pods/Headers/runtime/ConcurrentQueue.h +28 -0
- package/src-native/pods/Headers/runtime/Console.h +27 -0
- package/src-native/pods/Headers/runtime/Constants.h +15 -0
- package/src-native/pods/Headers/runtime/DataWrapper.h +671 -0
- package/src-native/pods/Headers/runtime/DictionaryAdapter.h +13 -0
- package/src-native/pods/Headers/runtime/ExtVector.h +21 -0
- package/src-native/pods/Headers/runtime/FFICall.h +105 -0
- package/src-native/pods/Headers/runtime/FastEnumerationAdapter.h +13 -0
- package/src-native/pods/Headers/runtime/FunctionReference.h +18 -0
- package/src-native/pods/Headers/runtime/Helpers.h +84 -0
- package/src-native/pods/Headers/runtime/InlineFunctions.h +16 -0
- package/src-native/pods/Headers/runtime/Interop.h +202 -0
- package/src-native/pods/Headers/runtime/KnownUnknownClassPair.h +35 -0
- package/src-native/pods/Headers/runtime/Metadata.h +981 -0
- package/src-native/pods/Headers/runtime/MetadataBuilder.h +72 -0
- package/src-native/pods/Headers/runtime/MetadataInlines.h +157 -0
- package/src-native/pods/Headers/runtime/ModuleInternal.h +59 -0
- package/src-native/pods/Headers/runtime/NSDataAdapter.h +13 -0
- package/src-native/pods/Headers/runtime/NativeScriptException.h +27 -0
- package/src-native/pods/Headers/runtime/ObjectManager.h +31 -0
- package/src-native/pods/Headers/runtime/OneByteStringResource.h +21 -0
- package/src-native/pods/Headers/runtime/Pointer.h +26 -0
- package/src-native/pods/Headers/runtime/PromiseProxy.h +15 -0
- package/src-native/pods/Headers/runtime/Reference.h +38 -0
- package/src-native/pods/Headers/runtime/Runtime.h +67 -0
- package/src-native/pods/Headers/runtime/RuntimeConfig.h +17 -0
- package/src-native/pods/Headers/runtime/SetTimeout.h +34 -0
- package/src-native/pods/Headers/runtime/SimpleAllocator.h +23 -0
- package/src-native/pods/Headers/runtime/StringHasher.h +315 -0
- package/src-native/pods/Headers/runtime/SymbolIterator.h +18 -0
- package/src-native/pods/Headers/runtime/SymbolLoader.h +27 -0
- package/src-native/pods/Headers/runtime/TNSDerivedClass.h +8 -0
- package/src-native/pods/Headers/runtime/TSHelpers.h +15 -0
- package/src-native/pods/Headers/runtime/Tasks.h +19 -0
- package/src-native/pods/Headers/runtime/UnmanagedType.h +21 -0
- package/src-native/pods/Headers/runtime/WeakRef.h +15 -0
- package/src-native/pods/Headers/runtime/Worker.h +26 -0
- package/src-native/pods/Headers/runtime/robin_hood.h +2184 -0
- package/src-native/pods/Headers/v8runtime/HostProxy.h +71 -0
- package/src-native/pods/Headers/v8runtime/JSIV8ValueConverter.h +70 -0
- package/src-native/pods/Headers/v8runtime/V8PointerValue.h +44 -0
- package/src-native/pods/Headers/v8runtime/V8Runtime.h +215 -0
- package/src-native/pods/Headers/v8runtime/V8RuntimeConfig.h +26 -0
- package/src-native/pods/Headers/v8runtime/V8RuntimeFactory.h +21 -0
- package/src-native/pods/NativeScript.podspec +68 -0
- package/style.d.ts +166 -0
- package/style.js +1686 -0
- package/style.js.map +1 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/PrivateHeaders/mason_native.h +0 -676
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/PrivateHeaders/mason_native.h +0 -676
- package/platforms/ios/src/JSIModule.h +0 -217
- package/platforms/ios/src/JSIModule.mm +0 -2788
- 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.
|
|
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
|
-
#
|
|
80
|
-
#else
|
|
81
|
-
#
|
|
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
|
|
84
|
-
#
|
|
85
|
-
#
|
|
86
|
-
#
|
|
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
|
|
89
|
-
#
|
|
90
|
-
#
|
|
91
|
-
#
|
|
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
|
|
94
|
-
#
|
|
95
|
-
#
|
|
96
|
-
#
|
|
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
|
|
99
|
-
#
|
|
100
|
-
#
|
|
101
|
-
#
|
|
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
|
|
104
|
-
#
|
|
105
|
-
#
|
|
106
|
-
#
|
|
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
|
|
109
|
-
#
|
|
110
|
-
#
|
|
111
|
-
#
|
|
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
|
|
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
|
|
191
|
-
#
|
|
192
|
-
#
|
|
193
|
-
#
|
|
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
|
-
#
|
|
220
|
-
#if !defined(
|
|
221
|
-
#define
|
|
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(
|
|
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 *
|
|
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)
|
|
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)
|
|
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
|
-
|
|
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,
|
|
727
|
-
|
|
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
|
|
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
|
-
|
|
823
|
-
@
|
|
824
|
-
|
|
825
|
-
@
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
@
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
@property (nonatomic,
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
- (
|
|
861
|
-
|
|
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,
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
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("
|
|
877
|
-
@interface
|
|
878
|
-
@property (nonatomic, readonly)
|
|
879
|
-
- (
|
|
880
|
-
- (
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
+ (
|
|
885
|
-
+ (
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
@
|
|
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
|
|
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
|
|
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,14 +915,136 @@ 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
|
-
|
|
1012
|
-
|
|
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
|
|