@nativescript/core 8.9.0-alpha.2 → 8.9.0-next-01-13-2025-12739393522
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/accessibility/accessibility-properties.js +0 -1
- package/accessibility/accessibility-properties.js.map +1 -1
- package/animation-frame/index.d.ts +3 -17
- package/core-types/index.d.ts +2 -2
- package/core-types/index.js +3 -3
- package/core-types/index.js.map +1 -1
- package/css/css-tree-parser.js +17 -21
- package/css/parser.js +2 -1
- package/css/parser.js.map +1 -1
- package/data/observable/index.d.ts +1 -0
- package/data/observable/index.js +1 -0
- package/data/observable/index.js.map +1 -1
- package/debugger/devtools-elements.d.ts +5 -23
- package/debugger/dom-node.d.ts +20 -23
- package/file-system/file-system-access.ios.js +2 -2
- package/file-system/file-system-access.ios.js.map +1 -1
- package/file-system/index.d.ts +95 -370
- package/fps-meter/index.d.ts +7 -24
- package/globals/index.d.ts +19 -4
- package/globals/index.js +5 -3
- package/globals/index.js.map +1 -1
- package/http/index.d.ts +73 -149
- package/image-source/index.android.d.ts +3 -2
- package/image-source/index.android.js +13 -6
- package/image-source/index.android.js.map +1 -1
- package/image-source/index.ios.d.ts +3 -2
- package/image-source/index.ios.js +10 -3
- package/image-source/index.ios.js.map +1 -1
- package/index.d.ts +6 -23
- package/matrix/index.d.ts +5 -32
- package/module-name-resolver/index.d.ts +13 -21
- package/module-name-resolver/qualifier-matcher/index.d.ts +6 -12
- package/package.json +1 -1
- package/platform/index.d.ts +0 -26
- package/profiling/index.d.ts +26 -153
- package/text/formatted-string.d.ts +1 -1
- package/text/span.d.ts +1 -1
- package/trace/index.d.ts +105 -131
- package/ui/action-bar/index.android.d.ts +1 -0
- package/ui/action-bar/index.android.js +3 -0
- package/ui/action-bar/index.android.js.map +1 -1
- package/ui/action-bar/index.ios.d.ts +7 -2
- package/ui/action-bar/index.ios.js +120 -19
- package/ui/action-bar/index.ios.js.map +1 -1
- package/ui/animation/animation-common.d.ts +1 -8
- package/ui/animation/animation-common.js +0 -8
- package/ui/animation/animation-common.js.map +1 -1
- package/ui/animation/animation-interfaces.d.ts +11 -0
- package/ui/animation/animation-interfaces.js +12 -1
- package/ui/animation/animation-interfaces.js.map +1 -1
- package/ui/animation/index.android.d.ts +2 -2
- package/ui/animation/index.android.js +2 -2
- package/ui/animation/index.android.js.map +1 -1
- package/ui/animation/index.ios.d.ts +2 -2
- package/ui/animation/index.ios.js +4 -4
- package/ui/animation/index.ios.js.map +1 -1
- package/ui/animation/keyframe-animation.d.ts +67 -118
- package/ui/builder/binding-builder.d.ts +12 -15
- package/ui/builder/index.d.ts +27 -69
- package/ui/button/index.android.d.ts +1 -0
- package/ui/button/index.android.js +3 -0
- package/ui/button/index.android.js.map +1 -1
- package/ui/content-view/index.d.ts +23 -4
- package/ui/core/view/index.android.js +3 -4
- package/ui/core/view/index.android.js.map +1 -1
- package/ui/core/view/index.ios.js +1 -3
- package/ui/core/view/index.ios.js.map +1 -1
- package/ui/core/view/view-common.d.ts +8 -1
- package/ui/core/view/view-common.js +16 -3
- package/ui/core/view/view-common.js.map +1 -1
- package/ui/core/view-base/index.d.ts +93 -2
- package/ui/core/view-base/index.js +18 -0
- package/ui/core/view-base/index.js.map +1 -1
- package/ui/core/weak-event-listener/index.d.ts +2 -18
- package/ui/date-picker/date-picker-common.d.ts +1 -0
- package/ui/date-picker/date-picker-common.js +1 -0
- package/ui/date-picker/date-picker-common.js.map +1 -1
- package/ui/editable-text-base/editable-text-base-common.d.ts +1 -0
- package/ui/editable-text-base/editable-text-base-common.js.map +1 -1
- package/ui/frame/frame-common.d.ts +3 -2
- package/ui/frame/frame-common.js +6 -6
- package/ui/frame/frame-common.js.map +1 -1
- package/ui/gestures/gestures-common.d.ts +22 -0
- package/ui/gestures/gestures-common.js +22 -0
- package/ui/gestures/gestures-common.js.map +1 -1
- package/ui/html-view/html-view-common.d.ts +1 -0
- package/ui/html-view/html-view-common.js.map +1 -1
- package/ui/image/image-common.d.ts +2 -0
- package/ui/image/image-common.js +3 -1
- package/ui/image/image-common.js.map +1 -1
- package/ui/index.d.ts +3 -1
- package/ui/index.js +1 -1
- package/ui/index.js.map +1 -1
- package/ui/layouts/index.d.ts +2 -1
- package/ui/layouts/layout-base-common.d.ts +0 -1
- package/ui/layouts/layout-base-common.js +1 -8
- package/ui/layouts/layout-base-common.js.map +1 -1
- package/ui/list-picker/list-picker-common.d.ts +1 -0
- package/ui/list-picker/list-picker-common.js +1 -0
- package/ui/list-picker/list-picker-common.js.map +1 -1
- package/ui/placeholder/index.android.d.ts +1 -1
- package/ui/placeholder/index.d.ts +8 -42
- package/ui/proxy-view-container/index.d.ts +2 -0
- package/ui/proxy-view-container/index.js +2 -0
- package/ui/proxy-view-container/index.js.map +1 -1
- package/ui/repeater/index.d.ts +2 -0
- package/ui/repeater/index.js +2 -0
- package/ui/repeater/index.js.map +1 -1
- package/ui/slider/slider-common.d.ts +1 -0
- package/ui/slider/slider-common.js +1 -0
- package/ui/slider/slider-common.js.map +1 -1
- package/ui/styling/background.ios.d.ts +1 -15
- package/ui/styling/background.ios.js +52 -54
- package/ui/styling/background.ios.js.map +1 -1
- package/ui/styling/converters.d.ts +2 -2
- package/ui/styling/style/index.d.ts +3 -1
- package/ui/styling/style/index.js.map +1 -1
- package/ui/styling/style-properties.d.ts +81 -100
- package/ui/styling/style-properties.js.map +1 -1
- package/ui/styling/style-scope.d.ts +79 -48
- package/ui/text-base/formatted-string.d.ts +36 -73
- package/ui/text-base/index.android.js +2 -11
- package/ui/text-base/index.android.js.map +1 -1
- package/ui/text-base/span.d.ts +36 -81
- package/ui/text-base/text-base-common.d.ts +2 -0
- package/ui/text-base/text-base-common.js +6 -0
- package/ui/text-base/text-base-common.js.map +1 -1
- package/ui/text-view/index.android.d.ts +0 -1
- package/ui/text-view/index.android.js +0 -1
- package/ui/text-view/index.android.js.map +1 -1
- package/ui/text-view/index.ios.d.ts +0 -3
- package/ui/text-view/index.ios.js +8 -64
- package/ui/text-view/index.ios.js.map +1 -1
- package/ui/text-view/text-view-common.d.ts +0 -26
- package/ui/text-view/text-view-common.js +0 -34
- package/ui/text-view/text-view-common.js.map +1 -1
- package/ui/time-picker/time-picker-common.d.ts +1 -0
- package/ui/time-picker/time-picker-common.js +1 -0
- package/ui/time-picker/time-picker-common.js.map +1 -1
- package/ui/utils.ios.d.ts +1 -2
- package/ui/utils.ios.js.map +1 -1
- package/ui/web-view/web-view-common.d.ts +1 -1
- package/utils/debug.d.ts +17 -61
- package/utils/lazy.d.ts +0 -5
- package/utils/macrotask-scheduler.d.ts +1 -5
- package/utils/native-helper.ios.js +1 -0
- package/utils/native-helper.ios.js.map +1 -1
- package/utils/types.d.ts +23 -115
- package/xml/index.d.ts +44 -105
- package/xml/index.js +1 -1
- package/xml/index.js.map +1 -1
- package/accessibility/accessibility-service.d.ts +0 -10
- package/accessibility/font-scale.d.ts +0 -9
- package/accessibility/index.d.ts +0 -37
- package/animation-frame/animation-native.d.ts +0 -4
- package/application/application.d.ts +0 -194
- package/application/index.d.ts +0 -2
- package/application-settings/index.d.ts +0 -70
- package/cli-hooks/before-checkForChanges.js +0 -60
- package/cli-hooks/postinstall.js +0 -2
- package/cli-hooks/preuninstall.js +0 -2
- package/color/index.d.ts +0 -206
- package/connectivity/index.d.ts +0 -52
- package/css/lib/parse/index.js +0 -602
- package/css/package.json +0 -36
- package/css/reworkcss.d.ts +0 -47
- package/css/reworkcss.js +0 -1
- package/css-value/package.json +0 -23
- package/css-value/reworkcss-value.d.ts +0 -8
- package/css-value/reworkcss-value.js +0 -113
- package/debugger/css-agent.d.ts +0 -59
- package/fetch/index.js +0 -539
- package/file-system/file-system-access.d.ts +0 -441
- package/fps-meter/fps-native.d.ts +0 -24
- package/global-types.d.ts +0 -393
- package/http/http-request/index.d.ts +0 -3
- package/image-asset/index.d.ts +0 -17
- package/image-source/index.d.ts +0 -345
- package/js-libs/easysax/easysax.d.ts +0 -8
- package/js-libs/easysax/easysax.js +0 -782
- package/js-libs/easysax/package.json +0 -35
- package/platform/device/index.d.ts +0 -70
- package/platform/screen/index.d.ts +0 -48
- package/platforms/android/native-api-usage.json +0 -32
- package/platforms/android/res/values/ids.xml +0 -4
- package/platforms/android/widgets-release.aar +0 -0
- package/platforms/android/winter_cg-release.aar +0 -0
- package/platforms/ios/NSCWinterCG.xcframework/Info.plist +0 -102
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64/NSCWinterCG.framework/Headers/NSCCrypto.h +0 -79
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64/NSCWinterCG.framework/Headers/NSCWinterCG.h +0 -20
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64/NSCWinterCG.framework/Headers/NSString+WinterCG.h +0 -21
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64/NSCWinterCG.framework/Info.plist +0 -0
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64/NSCWinterCG.framework/Modules/module.modulemap +0 -6
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64/NSCWinterCG.framework/NSCWinterCG +0 -0
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64/dSYMs/NSCWinterCG.framework.dSYM/Contents/Info.plist +0 -20
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/DWARF/NSCWinterCG +0 -0
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/Relocations/aarch64/NSCWinterCG.yml +0 -40
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Headers/NSCCrypto.h +0 -79
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Headers/NSCWinterCG.h +0 -20
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Headers/NSString+WinterCG.h +0 -21
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Modules/module.modulemap +0 -6
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/NSCWinterCG +0 -0
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Resources/Info.plist +0 -52
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Versions/A/Headers/NSCCrypto.h +0 -79
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Versions/A/Headers/NSCWinterCG.h +0 -20
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Versions/A/Headers/NSString+WinterCG.h +0 -21
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Versions/A/Modules/module.modulemap +0 -6
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Versions/A/NSCWinterCG +0 -0
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Versions/A/Resources/Info.plist +0 -52
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Versions/Current/NSCWinterCG +0 -0
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/NSCWinterCG.framework.dSYM/Contents/Info.plist +0 -20
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/DWARF/NSCWinterCG +0 -0
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/Relocations/aarch64/NSCWinterCG.yml +0 -40
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/Relocations/x86_64/NSCWinterCG.yml +0 -40
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-simulator/NSCWinterCG.framework/Headers/NSCCrypto.h +0 -79
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-simulator/NSCWinterCG.framework/Headers/NSCWinterCG.h +0 -20
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-simulator/NSCWinterCG.framework/Headers/NSString+WinterCG.h +0 -21
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-simulator/NSCWinterCG.framework/Info.plist +0 -0
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-simulator/NSCWinterCG.framework/Modules/module.modulemap +0 -6
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-simulator/NSCWinterCG.framework/NSCWinterCG +0 -0
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-simulator/NSCWinterCG.framework/_CodeSignature/CodeResources +0 -146
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-simulator/dSYMs/NSCWinterCG.framework.dSYM/Contents/Info.plist +0 -20
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-simulator/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/DWARF/NSCWinterCG +0 -0
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-simulator/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/Relocations/aarch64/NSCWinterCG.yml +0 -40
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-simulator/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/Relocations/x86_64/NSCWinterCG.yml +0 -40
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64/NSCWinterCG.framework/Headers/NSCCrypto.h +0 -79
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64/NSCWinterCG.framework/Headers/NSCWinterCG.h +0 -20
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64/NSCWinterCG.framework/Headers/NSString+WinterCG.h +0 -21
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64/NSCWinterCG.framework/Info.plist +0 -0
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64/NSCWinterCG.framework/Modules/module.modulemap +0 -6
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64/NSCWinterCG.framework/NSCWinterCG +0 -0
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64/dSYMs/NSCWinterCG.framework.dSYM/Contents/Info.plist +0 -20
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/DWARF/NSCWinterCG +0 -0
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/Relocations/aarch64/NSCWinterCG.yml +0 -40
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64_x86_64-simulator/NSCWinterCG.framework/Headers/NSCCrypto.h +0 -79
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64_x86_64-simulator/NSCWinterCG.framework/Headers/NSCWinterCG.h +0 -20
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64_x86_64-simulator/NSCWinterCG.framework/Headers/NSString+WinterCG.h +0 -21
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64_x86_64-simulator/NSCWinterCG.framework/Info.plist +0 -0
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64_x86_64-simulator/NSCWinterCG.framework/Modules/module.modulemap +0 -6
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64_x86_64-simulator/NSCWinterCG.framework/NSCWinterCG +0 -0
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64_x86_64-simulator/NSCWinterCG.framework/_CodeSignature/CodeResources +0 -146
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64_x86_64-simulator/dSYMs/NSCWinterCG.framework.dSYM/Contents/Info.plist +0 -20
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64_x86_64-simulator/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/DWARF/NSCWinterCG +0 -0
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64_x86_64-simulator/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/Relocations/aarch64/NSCWinterCG.yml +0 -40
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64_x86_64-simulator/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/Relocations/x86_64/NSCWinterCG.yml +0 -40
- package/platforms/ios/TNSWidgets.xcframework/Info.plist +0 -102
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/NSCCrypto.h +0 -60
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/NSData+Async.h +0 -24
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/NSFileHandle+Async.h +0 -22
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/NSString+Async.h +0 -25
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/TNSLabel.h +0 -16
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/TNSProcess.h +0 -29
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/TNSWidgets.h +0 -25
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +0 -26
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +0 -17
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Info.plist +0 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Modules/module.modulemap +0 -6
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +0 -17
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +0 -18
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Info.plist +0 -20
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/aarch64/TNSWidgets.yml +0 -82
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/NSCCrypto.h +0 -60
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/NSData+Async.h +0 -24
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/NSFileHandle+Async.h +0 -22
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/NSString+Async.h +0 -25
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/TNSLabel.h +0 -16
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/TNSProcess.h +0 -29
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/TNSWidgets.h +0 -25
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +0 -26
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +0 -17
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Modules/module.modulemap +0 -6
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +0 -17
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +0 -18
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Resources/Info.plist +0 -52
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/NSCCrypto.h +0 -60
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/NSData+Async.h +0 -24
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/NSFileHandle+Async.h +0 -22
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/NSString+Async.h +0 -25
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/TNSLabel.h +0 -16
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/TNSProcess.h +0 -29
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/TNSWidgets.h +0 -25
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/UIImage+TNSBlocks.h +0 -26
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/UIView+PassThroughParent.h +0 -17
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Modules/module.modulemap +0 -6
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/PrivateHeaders/NSObject+Swizzling.h +0 -17
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/PrivateHeaders/UIView+PropertyBag.h +0 -18
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Resources/Info.plist +0 -52
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/TNSWidgets.framework.dSYM/Contents/Info.plist +0 -20
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/aarch64/TNSWidgets.yml +0 -82
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/x86_64/TNSWidgets.yml +0 -82
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSCCrypto.h +0 -60
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSData+Async.h +0 -24
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSFileHandle+Async.h +0 -22
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSString+Async.h +0 -25
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSLabel.h +0 -16
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSProcess.h +0 -29
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSWidgets.h +0 -25
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +0 -26
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +0 -17
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Info.plist +0 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Modules/module.modulemap +0 -6
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +0 -17
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +0 -18
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/_CodeSignature/CodeResources +0 -223
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Info.plist +0 -20
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/aarch64/TNSWidgets.yml +0 -82
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/x86_64/TNSWidgets.yml +0 -82
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/NSCCrypto.h +0 -60
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/NSData+Async.h +0 -24
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/NSFileHandle+Async.h +0 -22
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/NSString+Async.h +0 -25
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/TNSLabel.h +0 -16
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/TNSProcess.h +0 -29
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/TNSWidgets.h +0 -25
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +0 -26
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +0 -17
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Info.plist +0 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Modules/module.modulemap +0 -6
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +0 -17
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +0 -18
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Info.plist +0 -20
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/aarch64/TNSWidgets.yml +0 -82
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSCCrypto.h +0 -60
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSData+Async.h +0 -24
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSFileHandle+Async.h +0 -22
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSString+Async.h +0 -25
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSLabel.h +0 -16
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSProcess.h +0 -29
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSWidgets.h +0 -25
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +0 -26
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +0 -17
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Info.plist +0 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Modules/module.modulemap +0 -6
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +0 -17
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +0 -18
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/_CodeSignature/CodeResources +0 -223
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Info.plist +0 -20
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/aarch64/TNSWidgets.yml +0 -82
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/x86_64/TNSWidgets.yml +0 -82
- package/platforms/ios/native-api-usage.json +0 -41
- package/platforms/ios/src/NativeScriptEmbedder.h +0 -31
- package/platforms/ios/src/NativeScriptEmbedder.m +0 -43
- package/platforms/ios/src/NativeScriptMainWindow.swift +0 -179
- package/platforms/ios/src/NativeScriptUtils.h +0 -16
- package/platforms/ios/src/NativeScriptUtils.m +0 -137
- package/platforms/ios/src/UIView+NativeScript.h +0 -15
- package/platforms/ios/src/UIView+NativeScript.m +0 -150
- package/platforms/ios/src/module.modulemap +0 -14
- package/platforms/ios/typings/objc!MaterialComponents.d.ts +0 -808
- package/platforms/ios/typings/objc!NativeScriptUtils.d.ts +0 -18
- package/references.d.ts +0 -10
- package/text/index.d.ts +0 -36
- package/timer/index.d.ts +0 -27
- package/ui/action-bar/index.d.ts +0 -271
- package/ui/activity-indicator/index.d.ts +0 -21
- package/ui/animation/index.d.ts +0 -152
- package/ui/button/index.d.ts +0 -44
- package/ui/core/control-state-change/index.d.ts +0 -15
- package/ui/core/view/index.d.ts +0 -992
- package/ui/core/view/view-helper/index.d.ts +0 -76
- package/ui/date-picker/index.d.ts +0 -65
- package/ui/dialogs/index.d.ts +0 -311
- package/ui/editable-text-base/index.d.ts +0 -100
- package/ui/embedding/index.d.ts +0 -10
- package/ui/frame/fragment.d.ts +0 -5
- package/ui/frame/fragment.transitions.d.ts +0 -43
- package/ui/frame/index.d.ts +0 -553
- package/ui/frame/transition-definitions.android.d.ts +0 -54
- package/ui/gestures/index.d.ts +0 -59
- package/ui/html-view/index.d.ts +0 -27
- package/ui/image/index.d.ts +0 -77
- package/ui/image/symbol-effects.d.ts +0 -13
- package/ui/image-cache/index.d.ts +0 -147
- package/ui/label/index.d.ts +0 -21
- package/ui/layouts/absolute-layout/index.d.ts +0 -40
- package/ui/layouts/dock-layout/index.d.ts +0 -35
- package/ui/layouts/flexbox-layout/index.d.ts +0 -66
- package/ui/layouts/grid-layout/index.d.ts +0 -182
- package/ui/layouts/layout-base.d.ts +0 -105
- package/ui/layouts/root-layout/index.d.ts +0 -45
- package/ui/layouts/stack-layout/index.d.ts +0 -19
- package/ui/layouts/wrap-layout/index.d.ts +0 -43
- package/ui/list-picker/index.d.ts +0 -32
- package/ui/list-view/index.d.ts +0 -208
- package/ui/page/index.d.ts +0 -212
- package/ui/progress/index.d.ts +0 -37
- package/ui/scroll-view/index.d.ts +0 -89
- package/ui/search-bar/index.d.ts +0 -89
- package/ui/segmented-bar/index.d.ts +0 -106
- package/ui/slider/index.d.ts +0 -72
- package/ui/styling/background.d.ts +0 -93
- package/ui/styling/font.d.ts +0 -62
- package/ui/switch/index.d.ts +0 -35
- package/ui/tab-view/index.d.ts +0 -175
- package/ui/text-base/index.d.ts +0 -161
- package/ui/text-field/index.d.ts +0 -41
- package/ui/text-view/index.d.ts +0 -35
- package/ui/time-picker/index.d.ts +0 -80
- package/ui/transition/fade-transition.d.ts +0 -3
- package/ui/transition/flip-transition.d.ts +0 -5
- package/ui/transition/index.d.ts +0 -59
- package/ui/transition/modal-transition.d.ts +0 -2
- package/ui/transition/page-transition.d.ts +0 -4
- package/ui/transition/shared-transition-helper.d.ts +0 -14
- package/ui/transition/slide-transition.d.ts +0 -5
- package/ui/utils.d.ts +0 -44
- package/ui/web-view/index.d.ts +0 -130
- package/utils/constants.d.ts +0 -1
- package/utils/index.d.ts +0 -177
- package/utils/layout-helper/index.d.ts +0 -82
- package/utils/mainthread-helper.d.ts +0 -16
- package/utils/native-helper.d.ts +0 -280
- package/utils/typescript-utils.d.ts +0 -6
package/utils/index.d.ts
DELETED
|
@@ -1,177 +0,0 @@
|
|
|
1
|
-
export { clearInterval, clearTimeout, setInterval, setTimeout } from '../timer';
|
|
2
|
-
export * from './common';
|
|
3
|
-
export * from './constants';
|
|
4
|
-
export * from './debug';
|
|
5
|
-
export * from './layout-helper';
|
|
6
|
-
export * from './macrotask-scheduler';
|
|
7
|
-
export * from './mainthread-helper';
|
|
8
|
-
export * from './native-helper';
|
|
9
|
-
export * from './types';
|
|
10
|
-
|
|
11
|
-
export const RESOURCE_PREFIX: string;
|
|
12
|
-
export const FILE_PREFIX: string;
|
|
13
|
-
|
|
14
|
-
//@private
|
|
15
|
-
/**
|
|
16
|
-
* Used by various android event listener implementations.
|
|
17
|
-
* @private
|
|
18
|
-
*/
|
|
19
|
-
interface Owned {
|
|
20
|
-
owner: any;
|
|
21
|
-
}
|
|
22
|
-
//@endprivate
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* An utility function that invokes garbage collection on the JavaScript side.
|
|
26
|
-
*/
|
|
27
|
-
export function GC();
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* An utility function that queues a garbage collection, multiple calls in quick succession are debounced by default and only one gc will be executed after 900ms.
|
|
31
|
-
* @param delay Customize the delay
|
|
32
|
-
* @param useThrottle Instead of default debounce strategy, use throttling
|
|
33
|
-
*/
|
|
34
|
-
export function queueGC(delay?: number, useThrottle?: boolean);
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* A simple throttle utility
|
|
38
|
-
* @param fn Function to throttle
|
|
39
|
-
* @param delay Customize the delay (default is 300ms)
|
|
40
|
-
*/
|
|
41
|
-
export function throttle<T extends Function = any>(fn: T, delay?: number): T;
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* A simple debounce utility
|
|
45
|
-
* @param fn Function to debounce
|
|
46
|
-
* @param delay Customize the delay (default is 300ms)
|
|
47
|
-
*/
|
|
48
|
-
export function debounce<T extends Function = any>(fn: T, delay?: number, options?: { leading?: boolean }): T;
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
* Releases the reference to the wrapped native object
|
|
52
|
-
* @param object The Java/Objective-C object to release.
|
|
53
|
-
*/
|
|
54
|
-
export function releaseNativeObject(object: any /*java.lang.Object | NSObject*/);
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* Queues the passed function to be ran in a macroTask
|
|
58
|
-
* @param task the function to execute as a macroTask
|
|
59
|
-
*/
|
|
60
|
-
export function queueMacrotask(task: () => void): void;
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* Checks if the current thread is the main thread. Directly calls the passed function
|
|
64
|
-
* if it is, or dispatches it to the main thread otherwise.
|
|
65
|
-
* @param func The function to execute on the main thread.
|
|
66
|
-
*/
|
|
67
|
-
export function executeOnMainThread(func: Function);
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* Runs the passed function on the UI Thread.
|
|
71
|
-
* @param func The function to execute on the UI thread.
|
|
72
|
-
*/
|
|
73
|
-
export function executeOnUIThread(func: Function);
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* Returns a function wrapper which executes the supplied function on the main thread.
|
|
77
|
-
* The wrapper behaves like the original function and passes all of its arguments BUT
|
|
78
|
-
* discards its return value.
|
|
79
|
-
* @param func The function to execute on the main thread
|
|
80
|
-
* @returns The wrapper function which schedules execution to the main thread
|
|
81
|
-
*/
|
|
82
|
-
export function mainThreadify(func: Function): (...args: any[]) => void;
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* Returns true if the specified URI is a font icon URI like "fontIcon://".
|
|
86
|
-
* @param uri The URI.
|
|
87
|
-
*/
|
|
88
|
-
export function isFontIconURI(uri: string): boolean;
|
|
89
|
-
|
|
90
|
-
/**
|
|
91
|
-
* Returns true if the specified path points to a resource or local file.
|
|
92
|
-
* @param path The path.
|
|
93
|
-
*/
|
|
94
|
-
export function isFileOrResourcePath(path: string): boolean;
|
|
95
|
-
|
|
96
|
-
/**
|
|
97
|
-
* Get file extension from file path
|
|
98
|
-
* @param path file path
|
|
99
|
-
* @returns file extension
|
|
100
|
-
*/
|
|
101
|
-
export function getFileExtension(path: string): string;
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
* Returns true if the specified URI is data URI (http://en.wikipedia.org/wiki/Data_URI_scheme).
|
|
105
|
-
* @param uri The URI.
|
|
106
|
-
*/
|
|
107
|
-
export function isDataURI(uri: string): boolean;
|
|
108
|
-
|
|
109
|
-
/**
|
|
110
|
-
* Opens url.
|
|
111
|
-
* @param url The url.
|
|
112
|
-
*/
|
|
113
|
-
export function openUrl(url: string): boolean;
|
|
114
|
-
|
|
115
|
-
/**
|
|
116
|
-
* Opens file.
|
|
117
|
-
* @param filePath The file.
|
|
118
|
-
* @param title Optional title for Android. Default is: 'Open File...'
|
|
119
|
-
*/
|
|
120
|
-
export function openFile(filePath: string, title?: string): boolean;
|
|
121
|
-
|
|
122
|
-
/**
|
|
123
|
-
* Escapes special regex symbols (., *, ^, $ and so on) in string in order to create a valid regex from it.
|
|
124
|
-
* @param source The original value.
|
|
125
|
-
*/
|
|
126
|
-
export function escapeRegexSymbols(source: string): string;
|
|
127
|
-
|
|
128
|
-
/**
|
|
129
|
-
* Converts string value to number or boolean.
|
|
130
|
-
* @param value The original value.
|
|
131
|
-
*/
|
|
132
|
-
export function convertString(value: any): any;
|
|
133
|
-
|
|
134
|
-
/**
|
|
135
|
-
* Gets module name from path.
|
|
136
|
-
* @param path The module path.
|
|
137
|
-
*/
|
|
138
|
-
export function getModuleName(path: string): string;
|
|
139
|
-
|
|
140
|
-
/**
|
|
141
|
-
* Sorts an array by using merge sort algorithm (which ensures stable sort since the built-in Array.sort() does not promise a stable sort).
|
|
142
|
-
* @param arr - array to be sorted
|
|
143
|
-
* @param compareFunc - function that will be used to compare two elements of the array
|
|
144
|
-
*/
|
|
145
|
-
export function mergeSort(arr: Array<any>, compareFunc: (a: any, b: any) => number): Array<any>;
|
|
146
|
-
|
|
147
|
-
/**
|
|
148
|
-
* Checks if array has any duplicate elements.
|
|
149
|
-
* @param arr - The array to be checked.
|
|
150
|
-
*/
|
|
151
|
-
export function hasDuplicates(arr: Array<any>): boolean;
|
|
152
|
-
|
|
153
|
-
/**
|
|
154
|
-
* Removes duplicate elements from array.
|
|
155
|
-
* @param arr - The array.
|
|
156
|
-
*/
|
|
157
|
-
export function eliminateDuplicates(arr: Array<any>): Array<any>;
|
|
158
|
-
|
|
159
|
-
/**
|
|
160
|
-
* Checks whether the application is running on real device and not on simulator/emulator.
|
|
161
|
-
*/
|
|
162
|
-
export function isRealDevice(): boolean;
|
|
163
|
-
|
|
164
|
-
/**
|
|
165
|
-
* Hides the soft input method, usually a soft keyboard.
|
|
166
|
-
*/
|
|
167
|
-
export function dismissSoftInput(nativeView?: any): void;
|
|
168
|
-
|
|
169
|
-
/**
|
|
170
|
-
* Dismiss any keyboard visible on the screen.
|
|
171
|
-
*/
|
|
172
|
-
export function dismissKeyboard(): void;
|
|
173
|
-
|
|
174
|
-
/**
|
|
175
|
-
* Copy value to device clipboard.
|
|
176
|
-
*/
|
|
177
|
-
export function copyToClipboard(value: string): void;
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { CoreTypes } from '../../core-types';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Utility module related to layout.
|
|
5
|
-
*/
|
|
6
|
-
export namespace layout {
|
|
7
|
-
/**
|
|
8
|
-
* Bits that provide the actual measured size.
|
|
9
|
-
*/
|
|
10
|
-
export const MEASURED_HEIGHT_STATE_SHIFT: number;
|
|
11
|
-
export const MEASURED_SIZE_MASK: number;
|
|
12
|
-
export const MEASURED_STATE_MASK: number;
|
|
13
|
-
export const MEASURED_STATE_TOO_SMALL: number;
|
|
14
|
-
export const UNSPECIFIED: number;
|
|
15
|
-
export const EXACTLY: number;
|
|
16
|
-
export const AT_MOST: number;
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Gets layout mode from a given specification as string.
|
|
20
|
-
* @param mode - The measure specification mode.
|
|
21
|
-
*/
|
|
22
|
-
export function getMode(mode: number): string;
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* Gets measure specification mode from a given specification.
|
|
26
|
-
* @param spec - The measure specification.
|
|
27
|
-
*/
|
|
28
|
-
export function getMeasureSpecMode(spec: number): number;
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Gets measure specification size from a given specification.
|
|
32
|
-
* @param spec - The measure specification.
|
|
33
|
-
*/
|
|
34
|
-
export function getMeasureSpecSize(spec: number): number;
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Creates measure specification size from size and mode.
|
|
38
|
-
* @param size - The size component of measure specification.
|
|
39
|
-
* @param mode - The mode component of measure specification.
|
|
40
|
-
*/
|
|
41
|
-
export function makeMeasureSpec(px: number, mode: number): number;
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* Gets display density for the current device.
|
|
45
|
-
*/
|
|
46
|
-
export function getDisplayDensity(): number;
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* Convert device independent pixels to device pixels - dip to px.
|
|
50
|
-
* @param value - The pixel to convert.
|
|
51
|
-
*/
|
|
52
|
-
export function toDevicePixels(value: CoreTypes.dip): CoreTypes.px;
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Convert device pixels to device independent pixels - px to dip.
|
|
56
|
-
* @param value - The pixel to convert.
|
|
57
|
-
*/
|
|
58
|
-
export function toDeviceIndependentPixels(value: CoreTypes.px): CoreTypes.dip;
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* Rounds value used in layout.
|
|
62
|
-
* @param px to round.
|
|
63
|
-
*/
|
|
64
|
-
export function round(px: CoreTypes.px): CoreTypes.px;
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* Converts device pixels to device independent pixes and measure the nativeView.
|
|
68
|
-
* Returns the desired size of the nativeView in device pixels.
|
|
69
|
-
* @param nativeView the nativeView to measure (UIView or android.view.View)
|
|
70
|
-
* @param width the available width
|
|
71
|
-
* @param widthMode width mode - UNSPECIFIED, EXACTLY or AT_MOST
|
|
72
|
-
* @param height the available hegiht
|
|
73
|
-
* @param heightMode height mode - UNSPECIFIED, EXACTLY or AT_MOST
|
|
74
|
-
*/
|
|
75
|
-
export function measureNativeView(nativeView: any /* UIView or android.view.View */, width: number, widthMode: number, height: number, heightMode: number): { width: number; height: number };
|
|
76
|
-
|
|
77
|
-
/**
|
|
78
|
-
* Prints user friendly version of the measureSpec.
|
|
79
|
-
* @param measureSpec the spec to print
|
|
80
|
-
*/
|
|
81
|
-
export function measureSpecToString(measureSpec: number): string;
|
|
82
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Dispatches the passed function for execution on the main thread
|
|
3
|
-
* @param func The function to execute on the main thread.
|
|
4
|
-
*/
|
|
5
|
-
export function dispatchToMainThread(func: Function);
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* @returns Boolean value indicating whether the current thread is the main thread
|
|
9
|
-
*/
|
|
10
|
-
export function isMainThread(): boolean;
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Dispatches the passed function for execution on the UI thread
|
|
14
|
-
* @param func The function to execute on the UI thread.
|
|
15
|
-
*/
|
|
16
|
-
export function dispatchToUIThread(func: Function);
|
package/utils/native-helper.d.ts
DELETED
|
@@ -1,280 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Data serialization from JS > Native
|
|
3
|
-
* @param wrapPrimitives Optionally wrap primitive types (Some APIs may require this)
|
|
4
|
-
*/
|
|
5
|
-
export function dataSerialize(data?: any, wrapPrimitives?: boolean): any;
|
|
6
|
-
/**
|
|
7
|
-
* Data deserialization from Native > JS
|
|
8
|
-
* @param nativeData Native platform data
|
|
9
|
-
*/
|
|
10
|
-
export function dataDeserialize(nativeData?: any): any;
|
|
11
|
-
|
|
12
|
-
// /**
|
|
13
|
-
// * Module with android specific utilities.
|
|
14
|
-
// */
|
|
15
|
-
// declare namespace AndroidUtils {
|
|
16
|
-
// /**
|
|
17
|
-
// * Gets the native Android application instance.
|
|
18
|
-
// */
|
|
19
|
-
// export function getApplication(): any; /* android.app.Application */
|
|
20
|
-
|
|
21
|
-
// /**
|
|
22
|
-
// * Get the current native Android activity.
|
|
23
|
-
// */
|
|
24
|
-
// export function getCurrentActivity(): any; /* android.app.Activity */
|
|
25
|
-
// /**
|
|
26
|
-
// * Gets the native Android application resources.
|
|
27
|
-
// */
|
|
28
|
-
// export function getResources(): any; /* android.content.res.Resources */
|
|
29
|
-
|
|
30
|
-
// /**
|
|
31
|
-
// * Gets the Android application context.
|
|
32
|
-
// */
|
|
33
|
-
// export function getApplicationContext(): any; /* android.content.Context */
|
|
34
|
-
|
|
35
|
-
// /**
|
|
36
|
-
// * Gets the native Android input method manager.
|
|
37
|
-
// */
|
|
38
|
-
// export function getInputMethodManager(): any; /* android.view.inputmethod.InputMethodManager */
|
|
39
|
-
|
|
40
|
-
// /**
|
|
41
|
-
// * Hides the soft input method, usually a soft keyboard.
|
|
42
|
-
// */
|
|
43
|
-
// export function dismissSoftInput(nativeView?: any /* android.view.View */): void;
|
|
44
|
-
|
|
45
|
-
// /**
|
|
46
|
-
// * Shows the soft input method, usually a soft keyboard.
|
|
47
|
-
// */
|
|
48
|
-
// export function showSoftInput(nativeView: any /* android.view.View */): void;
|
|
49
|
-
|
|
50
|
-
// /**
|
|
51
|
-
// * Utility module dealing with some android collections.
|
|
52
|
-
// */
|
|
53
|
-
// namespace collections {
|
|
54
|
-
// /**
|
|
55
|
-
// * Converts string array into a String [hash set](http://developer.android.com/reference/java/util/HashSet.html).
|
|
56
|
-
// * @param str - An array of strings to convert.
|
|
57
|
-
// */
|
|
58
|
-
// export function stringArrayToStringSet(str: string[]): any;
|
|
59
|
-
|
|
60
|
-
// /**
|
|
61
|
-
// * Converts string hash set into array of strings.
|
|
62
|
-
// * @param stringSet - A string hash set to convert.
|
|
63
|
-
// */
|
|
64
|
-
// export function stringSetToStringArray(stringSet: any): string[];
|
|
65
|
-
// }
|
|
66
|
-
|
|
67
|
-
// /**
|
|
68
|
-
// * Utility module related to android resources.
|
|
69
|
-
// */
|
|
70
|
-
// export namespace resources {
|
|
71
|
-
// /**
|
|
72
|
-
// * Gets the drawable id from a given name.
|
|
73
|
-
// * @param name - Name of the resource.
|
|
74
|
-
// */
|
|
75
|
-
// export function getDrawableId(name);
|
|
76
|
-
|
|
77
|
-
// /**
|
|
78
|
-
// * Gets the string id from a given name.
|
|
79
|
-
// * @param name - Name of the resource.
|
|
80
|
-
// */
|
|
81
|
-
// export function getStringId(name);
|
|
82
|
-
|
|
83
|
-
// /**
|
|
84
|
-
// * Gets the id from a given name.
|
|
85
|
-
// * @param name - Name of the resource.
|
|
86
|
-
// */
|
|
87
|
-
// export function getId(name: string): number;
|
|
88
|
-
|
|
89
|
-
// /**
|
|
90
|
-
// * Gets the id from a given name with optional type.
|
|
91
|
-
// * This sets an explicit package name.
|
|
92
|
-
// * https://developer.android.com/reference/android/content/res/Resources#getIdentifier(java.lang.String,%20java.lang.String,%20java.lang.String)
|
|
93
|
-
// * @param name - Name of the resource.
|
|
94
|
-
// * @param type - (Optional) type
|
|
95
|
-
// */
|
|
96
|
-
// export function getResource(name: string, type?: string): number;
|
|
97
|
-
|
|
98
|
-
// /**
|
|
99
|
-
// * [Obsolete - please use getPaletteColor] Gets a color from current theme.
|
|
100
|
-
// * @param name - Name of the color
|
|
101
|
-
// */
|
|
102
|
-
// export function getPalleteColor();
|
|
103
|
-
|
|
104
|
-
// /**
|
|
105
|
-
// * Gets a color from the current theme.
|
|
106
|
-
// * @param name - Name of the color resource.
|
|
107
|
-
// */
|
|
108
|
-
// export function getPaletteColor(name: string, context: any /* android.content.Context */): number;
|
|
109
|
-
// }
|
|
110
|
-
|
|
111
|
-
// /**
|
|
112
|
-
// * Checks whether the application is running on real device and not on emulator.
|
|
113
|
-
// */
|
|
114
|
-
// export function isRealDevice(): boolean;
|
|
115
|
-
// }
|
|
116
|
-
|
|
117
|
-
// /**
|
|
118
|
-
// * Module with ios specific utilities.
|
|
119
|
-
// */
|
|
120
|
-
// declare namespace iOSUtils {
|
|
121
|
-
// // Common properties between UILabel, UITextView and UITextField
|
|
122
|
-
// export interface TextUIView {
|
|
123
|
-
// font: any;
|
|
124
|
-
// textAlignment: number;
|
|
125
|
-
// textColor: any;
|
|
126
|
-
// text: string;
|
|
127
|
-
// attributedText: any;
|
|
128
|
-
// lineBreakMode: number;
|
|
129
|
-
// numberOfLines: number;
|
|
130
|
-
// }
|
|
131
|
-
|
|
132
|
-
// /**
|
|
133
|
-
// * Utility module dealing with some iOS collections.
|
|
134
|
-
// */
|
|
135
|
-
// export namespace collections {
|
|
136
|
-
// /**
|
|
137
|
-
// * Converts JavaScript array to [NSArray](https://developer.apple.com/library/ios/documentation/Cocoa/Reference/Foundation/Classes/NSArray_Class/).
|
|
138
|
-
// * @param str - JavaScript string array to convert.
|
|
139
|
-
// */
|
|
140
|
-
// export function jsArrayToNSArray<T>(str: T[]): NSArray<T>;
|
|
141
|
-
|
|
142
|
-
// /**
|
|
143
|
-
// * Converts NSArray to JavaScript array.
|
|
144
|
-
// * @param a - NSArray to convert.
|
|
145
|
-
// */
|
|
146
|
-
// export function nsArrayToJSArray<T>(a: NSArray<T>): T[];
|
|
147
|
-
// }
|
|
148
|
-
|
|
149
|
-
// /**
|
|
150
|
-
// * Get the root UIViewController of the app
|
|
151
|
-
// */
|
|
152
|
-
// export function getRootViewController(): any; /* UIViewController */
|
|
153
|
-
|
|
154
|
-
// /**
|
|
155
|
-
// * Get the UIWindow of the app
|
|
156
|
-
// */
|
|
157
|
-
// export function getWindow(): any; /* UIWindow */
|
|
158
|
-
|
|
159
|
-
// /**
|
|
160
|
-
// * Set the window background color of base view of the app.
|
|
161
|
-
// * Often this is shown when opening a modal as the view underneath scales down revealing the window color.
|
|
162
|
-
// * @param value color (hex, rgb, rgba, etc.)
|
|
163
|
-
// */
|
|
164
|
-
// export function setWindowBackgroundColor(value: string): void;
|
|
165
|
-
|
|
166
|
-
// /**
|
|
167
|
-
// * Data serialize and deserialize helpers
|
|
168
|
-
// */
|
|
169
|
-
// export function dataSerialize(data?: any): any;
|
|
170
|
-
// export function dataDeserialize(nativeData?: any): any;
|
|
171
|
-
|
|
172
|
-
// /**
|
|
173
|
-
// * @deprecated use application.orientation instead
|
|
174
|
-
// *
|
|
175
|
-
// * Gets an information about if current mode is Landscape.
|
|
176
|
-
// */
|
|
177
|
-
// export function isLandscape(): boolean;
|
|
178
|
-
|
|
179
|
-
// /**
|
|
180
|
-
// * Gets the iOS device major version (for 8.1 will return 8).
|
|
181
|
-
// */
|
|
182
|
-
// export const MajorVersion: number;
|
|
183
|
-
|
|
184
|
-
// /**
|
|
185
|
-
// * Opens file with associated application.
|
|
186
|
-
// * @param filePath The file path.
|
|
187
|
-
// */
|
|
188
|
-
// export function openFile(filePath: string): boolean;
|
|
189
|
-
|
|
190
|
-
// /**
|
|
191
|
-
// * Joins an array of file paths.
|
|
192
|
-
// * @param paths An array of paths.
|
|
193
|
-
// * Returns the joined path.
|
|
194
|
-
// */
|
|
195
|
-
// export function joinPaths(...paths: string[]): string;
|
|
196
|
-
|
|
197
|
-
// /**
|
|
198
|
-
// * Gets the root folder for the current application. This Folder is private for the application and not accessible from Users/External apps.
|
|
199
|
-
// * iOS - this folder is read-only and contains the app and all its resources.
|
|
200
|
-
// */
|
|
201
|
-
// export function getCurrentAppPath(): string;
|
|
202
|
-
|
|
203
|
-
// /**
|
|
204
|
-
// * Gets the currently visible(topmost) UIViewController.
|
|
205
|
-
// * @param rootViewController The root UIViewController instance to start searching from (normally window.rootViewController).
|
|
206
|
-
// * Returns the visible UIViewController.
|
|
207
|
-
// */
|
|
208
|
-
// export function getVisibleViewController(rootViewController: any /* UIViewController*/): any; /* UIViewController*/
|
|
209
|
-
|
|
210
|
-
// /**
|
|
211
|
-
// *
|
|
212
|
-
// * @param transform Applies a rotation transform over X,Y and Z axis
|
|
213
|
-
// * @param x Rotation over X axis in degrees
|
|
214
|
-
// * @param y Rotation over Y axis in degrees
|
|
215
|
-
// * @param z Rotation over Z axis in degrees
|
|
216
|
-
// */
|
|
217
|
-
// export function applyRotateTransform(transform: any /* CATransform3D*/, x: number, y: number, z: number): any; /* CATransform3D*/
|
|
218
|
-
|
|
219
|
-
// /**
|
|
220
|
-
// * Create a UIDocumentInteractionControllerDelegate implementation for use with UIDocumentInteractionController
|
|
221
|
-
// */
|
|
222
|
-
// export function createUIDocumentInteractionControllerDelegate(): any;
|
|
223
|
-
|
|
224
|
-
// /**
|
|
225
|
-
// * Checks whether the application is running on real device and not on simulator.
|
|
226
|
-
// */
|
|
227
|
-
// export function isRealDevice(): boolean;
|
|
228
|
-
|
|
229
|
-
// /**
|
|
230
|
-
// * Debug utility to insert CGRect values into logging output.
|
|
231
|
-
// * Note: when printing a CGRect directly it will print blank so this helps show the values.
|
|
232
|
-
// * @param rect CGRect
|
|
233
|
-
// */
|
|
234
|
-
// export function printCGRect(rect: CGRect): void;
|
|
235
|
-
|
|
236
|
-
// /**
|
|
237
|
-
// * Take a snapshot of a View on screen.
|
|
238
|
-
// * @param view view to snapshot
|
|
239
|
-
// * @param scale screen scale
|
|
240
|
-
// */
|
|
241
|
-
// export function snapshotView(view: UIView, scale: number): UIImage;
|
|
242
|
-
|
|
243
|
-
// /**
|
|
244
|
-
// * Copy layer properties from one view to another.
|
|
245
|
-
// * @param view a view to copy layer properties to
|
|
246
|
-
// * @param toView a view to copy later properties from
|
|
247
|
-
// * @param (optional) custom properties to copy between both views
|
|
248
|
-
// */
|
|
249
|
-
// export function copyLayerProperties(view: UIView, toView: UIView, customProperties?: { view?: Array<string> /* Array<keyof UIView> */; layer?: Array<string> /* Array<keyof CALayer> */ }): void;
|
|
250
|
-
|
|
251
|
-
// /**
|
|
252
|
-
// * Animate views with a configurable spring effect
|
|
253
|
-
// * @param options various animation settings for the spring
|
|
254
|
-
// * - tension: number
|
|
255
|
-
// * - friction: number
|
|
256
|
-
// * - mass: number
|
|
257
|
-
// * - delay: number
|
|
258
|
-
// * - velocity: number
|
|
259
|
-
// * - animateOptions: UIViewAnimationOptions
|
|
260
|
-
// * - animations: () => void, Callback containing the property changes you want animated
|
|
261
|
-
// * - completion: (finished: boolean) => void, Callback when animation is finished
|
|
262
|
-
// */
|
|
263
|
-
// export function animateWithSpring(options?: { tension?: number; friction?: number; mass?: number; delay?: number; velocity?: number; animateOptions?: UIViewAnimationOptions; animations?: () => void; completion?: (finished?: boolean) => void });
|
|
264
|
-
// }
|
|
265
|
-
|
|
266
|
-
import * as AndroidUtils from './android';
|
|
267
|
-
export import android = AndroidUtils;
|
|
268
|
-
|
|
269
|
-
/**
|
|
270
|
-
* @deprecated use Utils.android instead.
|
|
271
|
-
*/
|
|
272
|
-
export import ad = AndroidUtils;
|
|
273
|
-
|
|
274
|
-
import * as iOSUtils from './ios';
|
|
275
|
-
export import ios = iOSUtils;
|
|
276
|
-
|
|
277
|
-
/**
|
|
278
|
-
* @deprecated use Utils.ios instead.
|
|
279
|
-
*/
|
|
280
|
-
export import iOSNativeHelper = iOSUtils;
|