@nativescript/core 8.9.0-next-01-17-2025-12834437745 → 8.9.0-next-01-22-2025-12918162303

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (317) hide show
  1. package/accessibility/accessibility-service.d.ts +10 -0
  2. package/accessibility/font-scale.d.ts +9 -0
  3. package/accessibility/index.d.ts +37 -0
  4. package/animation-frame/animation-native.d.ts +4 -0
  5. package/animation-frame/index.d.ts +17 -3
  6. package/application/application.d.ts +194 -0
  7. package/application/index.d.ts +2 -0
  8. package/application-settings/index.d.ts +70 -0
  9. package/cli-hooks/before-checkForChanges.js +60 -0
  10. package/cli-hooks/postinstall.js +2 -0
  11. package/cli-hooks/preuninstall.js +2 -0
  12. package/color/index.d.ts +206 -0
  13. package/connectivity/index.d.ts +52 -0
  14. package/css/css-tree-parser.js +21 -17
  15. package/css/lib/parse/index.js +602 -0
  16. package/css/package.json +36 -0
  17. package/css/reworkcss.d.ts +47 -0
  18. package/css/reworkcss.js +1 -0
  19. package/css-value/package.json +23 -0
  20. package/css-value/reworkcss-value.d.ts +8 -0
  21. package/css-value/reworkcss-value.js +113 -0
  22. package/debugger/css-agent.d.ts +59 -0
  23. package/debugger/devtools-elements.d.ts +23 -5
  24. package/debugger/dom-node.d.ts +23 -20
  25. package/fetch/index.js +539 -0
  26. package/file-system/file-system-access.d.ts +441 -0
  27. package/file-system/index.d.ts +370 -95
  28. package/fps-meter/fps-native.d.ts +24 -0
  29. package/fps-meter/index.d.ts +24 -7
  30. package/global-types.d.ts +393 -0
  31. package/globals/index.d.ts +4 -19
  32. package/http/http-request/index.d.ts +3 -0
  33. package/http/index.d.ts +149 -73
  34. package/image-asset/index.d.ts +17 -0
  35. package/image-source/index.d.ts +350 -0
  36. package/index.d.ts +24 -7
  37. package/js-libs/easysax/easysax.d.ts +8 -0
  38. package/js-libs/easysax/easysax.js +782 -0
  39. package/js-libs/easysax/package.json +35 -0
  40. package/matrix/index.d.ts +32 -5
  41. package/module-name-resolver/index.d.ts +21 -13
  42. package/module-name-resolver/qualifier-matcher/index.d.ts +12 -6
  43. package/package.json +1 -1
  44. package/platform/device/index.d.ts +70 -0
  45. package/platform/index.d.ts +26 -0
  46. package/platform/screen/index.d.ts +48 -0
  47. package/platforms/android/native-api-usage.json +32 -0
  48. package/platforms/android/res/values/ids.xml +4 -0
  49. package/platforms/android/widgets-release.aar +0 -0
  50. package/platforms/android/winter_tc-release.aar +0 -0
  51. package/platforms/ios/NSCWinterTC.xcframework/Info.plist +102 -0
  52. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64/NSCWinterTC.framework/Headers/NSCCrypto.h +79 -0
  53. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64/NSCWinterTC.framework/Headers/NSCWinterTC.h +20 -0
  54. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64/NSCWinterTC.framework/Headers/NSString+WinterTC.h +21 -0
  55. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64/NSCWinterTC.framework/Info.plist +0 -0
  56. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64/NSCWinterTC.framework/Modules/module.modulemap +6 -0
  57. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64/NSCWinterTC.framework/NSCWinterTC +0 -0
  58. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64/dSYMs/NSCWinterTC.framework.dSYM/Contents/Info.plist +20 -0
  59. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/DWARF/NSCWinterTC +0 -0
  60. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/Relocations/aarch64/NSCWinterTC.yml +40 -0
  61. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Headers/NSCCrypto.h +79 -0
  62. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Headers/NSCWinterTC.h +20 -0
  63. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Headers/NSString+WinterTC.h +21 -0
  64. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Modules/module.modulemap +6 -0
  65. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/NSCWinterTC +0 -0
  66. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Resources/Info.plist +52 -0
  67. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/A/Headers/NSCCrypto.h +79 -0
  68. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/A/Headers/NSCWinterTC.h +20 -0
  69. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/A/Headers/NSString+WinterTC.h +21 -0
  70. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/A/Modules/module.modulemap +6 -0
  71. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/A/NSCWinterTC +0 -0
  72. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/A/Resources/Info.plist +52 -0
  73. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/Current/NSCWinterTC +0 -0
  74. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/NSCWinterTC.framework.dSYM/Contents/Info.plist +20 -0
  75. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/DWARF/NSCWinterTC +0 -0
  76. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/Relocations/aarch64/NSCWinterTC.yml +40 -0
  77. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/Relocations/x86_64/NSCWinterTC.yml +40 -0
  78. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/NSCWinterTC.framework/Headers/NSCCrypto.h +79 -0
  79. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/NSCWinterTC.framework/Headers/NSCWinterTC.h +20 -0
  80. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/NSCWinterTC.framework/Headers/NSString+WinterTC.h +21 -0
  81. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/NSCWinterTC.framework/Info.plist +0 -0
  82. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/NSCWinterTC.framework/Modules/module.modulemap +6 -0
  83. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/NSCWinterTC.framework/NSCWinterTC +0 -0
  84. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/NSCWinterTC.framework/_CodeSignature/CodeResources +146 -0
  85. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/dSYMs/NSCWinterTC.framework.dSYM/Contents/Info.plist +20 -0
  86. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/DWARF/NSCWinterTC +0 -0
  87. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/Relocations/aarch64/NSCWinterTC.yml +40 -0
  88. package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/Relocations/x86_64/NSCWinterTC.yml +40 -0
  89. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/NSCWinterTC.framework/Headers/NSCCrypto.h +79 -0
  90. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/NSCWinterTC.framework/Headers/NSCWinterTC.h +20 -0
  91. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/NSCWinterTC.framework/Headers/NSString+WinterTC.h +21 -0
  92. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/NSCWinterTC.framework/Info.plist +0 -0
  93. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/NSCWinterTC.framework/Modules/module.modulemap +6 -0
  94. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/NSCWinterTC.framework/NSCWinterTC +0 -0
  95. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/dSYMs/NSCWinterTC.framework.dSYM/Contents/Info.plist +20 -0
  96. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/DWARF/NSCWinterTC +0 -0
  97. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/Relocations/aarch64/NSCWinterTC.yml +40 -0
  98. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/NSCWinterTC.framework/Headers/NSCCrypto.h +79 -0
  99. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/NSCWinterTC.framework/Headers/NSCWinterTC.h +20 -0
  100. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/NSCWinterTC.framework/Headers/NSString+WinterTC.h +21 -0
  101. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/NSCWinterTC.framework/Info.plist +0 -0
  102. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/NSCWinterTC.framework/Modules/module.modulemap +6 -0
  103. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/NSCWinterTC.framework/NSCWinterTC +0 -0
  104. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/NSCWinterTC.framework/_CodeSignature/CodeResources +146 -0
  105. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/dSYMs/NSCWinterTC.framework.dSYM/Contents/Info.plist +20 -0
  106. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/DWARF/NSCWinterTC +0 -0
  107. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/Relocations/aarch64/NSCWinterTC.yml +40 -0
  108. package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/Relocations/x86_64/NSCWinterTC.yml +40 -0
  109. package/platforms/ios/TNSWidgets.xcframework/Info.plist +102 -0
  110. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/NSCCrypto.h +60 -0
  111. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/NSData+Async.h +24 -0
  112. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/NSFileHandle+Async.h +22 -0
  113. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/NSString+Async.h +25 -0
  114. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/TNSLabel.h +16 -0
  115. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/TNSProcess.h +29 -0
  116. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/TNSWidgets.h +25 -0
  117. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +26 -0
  118. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +17 -0
  119. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Info.plist +0 -0
  120. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Modules/module.modulemap +6 -0
  121. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +17 -0
  122. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +18 -0
  123. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/TNSWidgets +0 -0
  124. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Info.plist +20 -0
  125. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets +0 -0
  126. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/aarch64/TNSWidgets.yml +82 -0
  127. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/NSCCrypto.h +60 -0
  128. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/NSData+Async.h +24 -0
  129. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/NSFileHandle+Async.h +22 -0
  130. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/NSString+Async.h +25 -0
  131. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/TNSLabel.h +16 -0
  132. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/TNSProcess.h +29 -0
  133. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/TNSWidgets.h +25 -0
  134. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +26 -0
  135. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +17 -0
  136. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Modules/module.modulemap +6 -0
  137. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +17 -0
  138. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +18 -0
  139. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Resources/Info.plist +52 -0
  140. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/TNSWidgets +0 -0
  141. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/NSCCrypto.h +60 -0
  142. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/NSData+Async.h +24 -0
  143. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/NSFileHandle+Async.h +22 -0
  144. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/NSString+Async.h +25 -0
  145. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/TNSLabel.h +16 -0
  146. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/TNSProcess.h +29 -0
  147. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/TNSWidgets.h +25 -0
  148. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/UIImage+TNSBlocks.h +26 -0
  149. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/UIView+PassThroughParent.h +17 -0
  150. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Modules/module.modulemap +6 -0
  151. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/PrivateHeaders/NSObject+Swizzling.h +17 -0
  152. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/PrivateHeaders/UIView+PropertyBag.h +18 -0
  153. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Resources/Info.plist +52 -0
  154. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/TNSWidgets +0 -0
  155. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/TNSWidgets +0 -0
  156. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/TNSWidgets.framework.dSYM/Contents/Info.plist +20 -0
  157. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets +0 -0
  158. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/aarch64/TNSWidgets.yml +82 -0
  159. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/x86_64/TNSWidgets.yml +82 -0
  160. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSCCrypto.h +60 -0
  161. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSData+Async.h +24 -0
  162. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSFileHandle+Async.h +22 -0
  163. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSString+Async.h +25 -0
  164. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSLabel.h +16 -0
  165. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSProcess.h +29 -0
  166. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSWidgets.h +25 -0
  167. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +26 -0
  168. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +17 -0
  169. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Info.plist +0 -0
  170. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Modules/module.modulemap +6 -0
  171. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +17 -0
  172. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +18 -0
  173. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/TNSWidgets +0 -0
  174. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/_CodeSignature/CodeResources +223 -0
  175. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Info.plist +20 -0
  176. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets +0 -0
  177. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/aarch64/TNSWidgets.yml +82 -0
  178. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/x86_64/TNSWidgets.yml +82 -0
  179. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/NSCCrypto.h +60 -0
  180. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/NSData+Async.h +24 -0
  181. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/NSFileHandle+Async.h +22 -0
  182. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/NSString+Async.h +25 -0
  183. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/TNSLabel.h +16 -0
  184. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/TNSProcess.h +29 -0
  185. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/TNSWidgets.h +25 -0
  186. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +26 -0
  187. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +17 -0
  188. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Info.plist +0 -0
  189. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Modules/module.modulemap +6 -0
  190. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +17 -0
  191. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +18 -0
  192. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/TNSWidgets +0 -0
  193. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Info.plist +20 -0
  194. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets +0 -0
  195. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/aarch64/TNSWidgets.yml +82 -0
  196. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSCCrypto.h +60 -0
  197. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSData+Async.h +24 -0
  198. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSFileHandle+Async.h +22 -0
  199. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSString+Async.h +25 -0
  200. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSLabel.h +16 -0
  201. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSProcess.h +29 -0
  202. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSWidgets.h +25 -0
  203. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +26 -0
  204. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +17 -0
  205. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Info.plist +0 -0
  206. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Modules/module.modulemap +6 -0
  207. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +17 -0
  208. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +18 -0
  209. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/TNSWidgets +0 -0
  210. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/_CodeSignature/CodeResources +223 -0
  211. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Info.plist +20 -0
  212. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets +0 -0
  213. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/aarch64/TNSWidgets.yml +82 -0
  214. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/x86_64/TNSWidgets.yml +82 -0
  215. package/platforms/ios/native-api-usage.json +41 -0
  216. package/platforms/ios/src/NativeScriptEmbedder.h +31 -0
  217. package/platforms/ios/src/NativeScriptEmbedder.m +43 -0
  218. package/platforms/ios/src/NativeScriptMainWindow.swift +196 -0
  219. package/platforms/ios/src/NativeScriptUtils.h +16 -0
  220. package/platforms/ios/src/NativeScriptUtils.m +137 -0
  221. package/platforms/ios/src/UIView+NativeScript.h +15 -0
  222. package/platforms/ios/src/UIView+NativeScript.m +148 -0
  223. package/platforms/ios/src/module.modulemap +14 -0
  224. package/platforms/ios/typings/objc!MaterialComponents.d.ts +808 -0
  225. package/platforms/ios/typings/objc!NativeScriptUtils.d.ts +18 -0
  226. package/profiling/index.d.ts +153 -26
  227. package/references.d.ts +10 -0
  228. package/text/formatted-string.d.ts +1 -1
  229. package/text/index.d.ts +36 -0
  230. package/text/span.d.ts +1 -1
  231. package/timer/index.d.ts +27 -0
  232. package/trace/index.d.ts +131 -105
  233. package/ui/action-bar/index.d.ts +304 -0
  234. package/ui/activity-indicator/index.d.ts +25 -0
  235. package/ui/animation/index.d.ts +139 -0
  236. package/ui/animation/keyframe-animation.d.ts +118 -67
  237. package/ui/builder/binding-builder.d.ts +15 -12
  238. package/ui/builder/index.d.ts +69 -27
  239. package/ui/button/index.d.ts +50 -0
  240. package/ui/content-view/index.d.ts +11 -21
  241. package/ui/core/control-state-change/index.d.ts +17 -0
  242. package/ui/core/view/index.d.ts +1216 -0
  243. package/ui/core/view/view-helper/index.d.ts +76 -0
  244. package/ui/core/weak-event-listener/index.d.ts +18 -2
  245. package/ui/date-picker/index.d.ts +95 -0
  246. package/ui/dialogs/index.d.ts +311 -0
  247. package/ui/editable-text-base/index.d.ts +142 -0
  248. package/ui/embedding/index.d.ts +10 -0
  249. package/ui/frame/fragment.d.ts +5 -0
  250. package/ui/frame/fragment.transitions.d.ts +43 -0
  251. package/ui/frame/frame-common.d.ts +1 -0
  252. package/ui/frame/frame-common.js +6 -0
  253. package/ui/frame/frame-common.js.map +1 -1
  254. package/ui/frame/index.android.d.ts +1 -0
  255. package/ui/frame/index.android.js +12 -15
  256. package/ui/frame/index.android.js.map +1 -1
  257. package/ui/frame/index.d.ts +590 -0
  258. package/ui/frame/index.ios.js +13 -0
  259. package/ui/frame/index.ios.js.map +1 -1
  260. package/ui/frame/transition-definitions.android.d.ts +54 -0
  261. package/ui/gestures/index.d.ts +59 -0
  262. package/ui/html-view/index.d.ts +41 -0
  263. package/ui/image/index.d.ts +119 -0
  264. package/ui/image/symbol-effects.d.ts +13 -0
  265. package/ui/image-cache/index.d.ts +147 -0
  266. package/ui/label/index.d.ts +25 -0
  267. package/ui/layouts/absolute-layout/index.d.ts +42 -0
  268. package/ui/layouts/dock-layout/index.d.ts +39 -0
  269. package/ui/layouts/flexbox-layout/index.d.ts +98 -0
  270. package/ui/layouts/grid-layout/index.d.ts +201 -0
  271. package/ui/layouts/index.d.ts +1 -2
  272. package/ui/layouts/layout-base.d.ts +119 -0
  273. package/ui/layouts/root-layout/index.d.ts +48 -0
  274. package/ui/layouts/stack-layout/index.d.ts +22 -0
  275. package/ui/layouts/wrap-layout/index.d.ts +51 -0
  276. package/ui/list-picker/index.d.ts +43 -0
  277. package/ui/list-view/index.d.ts +232 -0
  278. package/ui/page/index.d.ts +241 -0
  279. package/ui/placeholder/index.d.ts +46 -8
  280. package/ui/progress/index.d.ts +50 -0
  281. package/ui/scroll-view/index.d.ts +99 -0
  282. package/ui/search-bar/index.d.ts +103 -0
  283. package/ui/segmented-bar/index.d.ts +122 -0
  284. package/ui/slider/index.d.ts +99 -0
  285. package/ui/styling/background.d.ts +95 -0
  286. package/ui/styling/converters.d.ts +2 -2
  287. package/ui/styling/font.d.ts +62 -0
  288. package/ui/styling/style-properties.d.ts +101 -81
  289. package/ui/styling/style-scope.d.ts +48 -79
  290. package/ui/switch/index.d.ts +46 -0
  291. package/ui/tab-view/index.d.ts +213 -0
  292. package/ui/text-base/formatted-string.d.ts +97 -36
  293. package/ui/text-base/index.d.ts +208 -0
  294. package/ui/text-base/span.d.ts +111 -36
  295. package/ui/text-field/index.d.ts +54 -0
  296. package/ui/text-view/index.d.ts +35 -0
  297. package/ui/time-picker/index.d.ts +107 -0
  298. package/ui/transition/fade-transition.d.ts +3 -0
  299. package/ui/transition/flip-transition.d.ts +5 -0
  300. package/ui/transition/index.d.ts +59 -0
  301. package/ui/transition/modal-transition.d.ts +2 -0
  302. package/ui/transition/page-transition.d.ts +4 -0
  303. package/ui/transition/shared-transition-helper.d.ts +14 -0
  304. package/ui/transition/slide-transition.d.ts +5 -0
  305. package/ui/utils.d.ts +44 -0
  306. package/ui/web-view/index.d.ts +142 -0
  307. package/utils/constants.d.ts +1 -0
  308. package/utils/debug.d.ts +61 -17
  309. package/utils/index.d.ts +183 -0
  310. package/utils/layout-helper/index.d.ts +82 -0
  311. package/utils/lazy.d.ts +5 -0
  312. package/utils/macrotask-scheduler.d.ts +5 -1
  313. package/utils/mainthread-helper.d.ts +16 -0
  314. package/utils/native-helper.d.ts +280 -0
  315. package/utils/types.d.ts +115 -23
  316. package/utils/typescript-utils.d.ts +6 -0
  317. package/xml/index.d.ts +105 -44
@@ -0,0 +1,441 @@
1
+ /**
2
+ * An utility class used to provide methods to access and work with the file system.
3
+ */
4
+ export interface IFileSystemAccess {
5
+ /**
6
+ * Appends binary to a file with a given path.
7
+ * @param path The path to the source file.
8
+ * @param content The content which will be written to the file.
9
+ * @param onError (optional) A callback function to use if any error occurs.
10
+ */
11
+ append(path: string, content: any, onError?: (error: any) => any);
12
+
13
+ /**
14
+ * Appends binary to a file with a given path.
15
+ * @param path The path to the source file.
16
+ * @param content The content which will be written to the file.
17
+ */
18
+ appendAsync(path: string, content: any): Promise<void>;
19
+
20
+ /**
21
+ * Appends a binary to a file with a given path.
22
+ * @param path The path to the source file.
23
+ * @param content The content which will be written to the file.
24
+ * @param onError (optional) A callback function to use if any error occurs.
25
+ */
26
+ appendSync(path: string, content: any, onError?: (error: any) => any);
27
+
28
+ /**
29
+ * Appends text to a file with a given path.
30
+ * @param path The path to the source file.
31
+ * @param content The content which will be written to the file.
32
+ * @param onError (optional) A callback function to use if any error occurs.
33
+ * @param encoding (optional) If set writes the text with the specified encoding (default UTF-8).
34
+ */
35
+ appendText(path: string, content: string, onError?: (error: any) => any, encoding?: any);
36
+
37
+ /**
38
+ * Appends text to a file with a given path.
39
+ * @param path The path to the source file.
40
+ * @param content The content which will be written to the file.
41
+ * @param encoding (optional) If set writes the text with the specified encoding (default UTF-8).
42
+ */
43
+ appendTextAsync(path: string, content: string, encoding?: any): Promise<void>;
44
+
45
+ /**
46
+ * Appends text to a file with a given path.
47
+ * @param path The path to the source file.
48
+ * @param content The content which will be written to the file.
49
+ * @param onError (optional) A callback function to use if any error occurs.
50
+ * @param encoding (optional) If set writes the text with the specified encoding (default UTF-8).
51
+ */
52
+ appendTextSync(path: string, content: string, onError?: (error: any) => any, encoding?: any);
53
+
54
+ /**
55
+ * Copies a file to a given path.
56
+ * @param src The path to the source file.
57
+ * @param dest The path to the destination file.
58
+ * @param onError (optional) A callback function to use if any error occurs.
59
+ * Returns a Promise with a boolean.
60
+ */
61
+ copy(src: string, dest: string, onError?: (error: any) => any): any;
62
+
63
+ /**
64
+ * Copies a file to a given path.
65
+ * @param src The path to the source file.
66
+ * @param dest The path to the destination file.
67
+ * Returns a Promise with a boolean.
68
+ */
69
+ copyAsync(src: string, dest: string): Promise<any>;
70
+
71
+ /**
72
+ * Copies a file to a given path.
73
+ * @param src The path to the source file.
74
+ * @param dest The path to the destination file.
75
+ * @param onError (optional) A callback function to use if any error occurs.
76
+ * Returns a Promise with a boolean.
77
+ */
78
+ copySync(src: string, dest: string, onError?: (error: any) => any): any;
79
+
80
+ /**
81
+ * Gets the last modified date of a file with a given path.
82
+ * @param path Path to the file.
83
+ */
84
+ getLastModified(path: string): Date;
85
+
86
+ /**
87
+ * Gets the size in bytes of a file with a given path.
88
+ * @param path Path to the file.
89
+ */
90
+ getFileSize(path: string): number;
91
+
92
+ /**
93
+ * Gets the parent folder of a file with a given path.
94
+ * @param path Path to the file.
95
+ * @param onError A callback function to use if any error occurs.
96
+ * Returns path Absolute path of the parent folder, name Name of the parent folder.
97
+ */
98
+ getParent(path: string, onError?: (error: any) => any): { path: string; name: string };
99
+
100
+ /**
101
+ * Gets a file from a given path.
102
+ * @param path Path to the file.
103
+ * @param onError A callback function to use if any error occurs.
104
+ * Returns path Absolute path of the file, name Name of the file, extension Extension of the file.
105
+ */
106
+ getFile(path: string, onError?: (error: any) => any): { path: string; name: string; extension: string };
107
+
108
+ /**
109
+ * Gets the folder of a file with a given path.
110
+ * @param path Path to the file.
111
+ * @param onError A callback function to use if any error occurs.
112
+ * Returns path Absolute path of the folder, name Name of the folder.
113
+ */
114
+ getFolder(path: string, onError?: (error: any) => any): { path: string; name: string };
115
+
116
+ /**
117
+ * Gets all entities of a given path (folder)
118
+ * @param path Path to the file.
119
+ * @param onError (optional) A callback function to use if any error occurs.
120
+ * Returns an array of entities in the folder.
121
+ */
122
+ getEntities(path: string, onError?: (error: any) => any): Array<{ path: string; name: string; extension: string }>;
123
+
124
+ /**
125
+ * Performs an action onSuccess for every entity in a folder with a given path.
126
+ * Breaks the loop if onSuccess function returns false
127
+ * @param path Path to the file.
128
+ * @param onEntity A callback function which is called for each entity.
129
+ * @param onError (optional) A callback function to use if any error occurs.
130
+ */
131
+ eachEntity(path: string, onEntity: (entity: { path: string; name: string; extension: string }) => boolean, onError?: (error: any) => any);
132
+
133
+ /**
134
+ * Checks if a file with a given path exist.
135
+ */
136
+ fileExists(path: string): boolean;
137
+
138
+ /**
139
+ * Checks if a folder with a given path exist.
140
+ */
141
+ folderExists(path: string): boolean;
142
+
143
+ /**
144
+ * Deletes a file with a given path.
145
+ * @param path Path of the file.
146
+ * @param onError (optional) A callback function to use if any error occurs.
147
+ */
148
+ deleteFile(path: string, onError?: (error: any) => any);
149
+
150
+ /**
151
+ * Deletes a folder with a given path.
152
+ * @param path Path of the folder.
153
+ * @param onError (optional) A callback function to use if any error occurs.
154
+ */
155
+ deleteFolder(path: string, onError?: (error: any) => any);
156
+
157
+ /**
158
+ * Deletes all content of a folder with a given path.
159
+ * @param path Path of the folder.
160
+ * @param onError (optional) A callback function to use if any error occurs.
161
+ */
162
+ emptyFolder(path: string, onError?: (error: any) => any): void;
163
+
164
+ /**
165
+ * Rename a file or a folder with a given path.
166
+ * @param path Current path of the entity which should be renamed.
167
+ * @param newPath The new path which will be asigned of the entity.
168
+ * @param onError (optional) A callback function to use if any error occurs.
169
+ */
170
+ rename(path: string, newPath: string, onError?: (error: any) => any): void;
171
+
172
+ /**
173
+ * Gets the special documents folder.
174
+ * Returns for Android: "/data/data/applicationPackageName/files", iOS: "/var/mobile/Applications/appID/Documents"
175
+ */
176
+ getDocumentsFolderPath(): string;
177
+
178
+ /**
179
+ * Gets the special documents folder on external storage.
180
+ * As there is no external storage on iOS it is the same as getDocumentsFolderPath
181
+ */
182
+ getExternalDocumentsFolderPath(): string;
183
+
184
+ /**
185
+ * Gets the special temp folder.
186
+ * Returns for Android: "/data/data/applicationPackageName/cache", iOS: "/var/mobile/Applications/appID/Library/Caches"
187
+ */
188
+ getTempFolderPath(): string;
189
+
190
+ /**
191
+ * Gets the path to the logical root of the application - that is /path/to/appfiles/app.
192
+ */
193
+ getLogicalRootPath(): string;
194
+
195
+ /**
196
+ * Gets the root folder for the current application. This Folder is private for the application and not accessible from Users/External apps.
197
+ * iOS - this folder is read-only and contains the app and all its resources.
198
+ */
199
+ getCurrentAppPath(): string;
200
+
201
+ /**
202
+ * Reads a text from a file with a given path.
203
+ * @param path The path to the source file.
204
+ * @param onError (optional) A callback function to use if any error occurs.
205
+ * @param encoding (optional) If set reads the text with the specified encoding (default UTF-8).
206
+ * Returns the text read.
207
+ */
208
+ readText(path: string, onError?: (error: any) => any, encoding?: any): string;
209
+
210
+ /**
211
+ * Reads a text from a file with a given path.
212
+ * @param path The path to the source file.
213
+ * @param encoding (optional) If set reads the text with the specified encoding (default UTF-8).
214
+ * Returns Promise of the text read.
215
+ */
216
+ readTextAsync(path: string, encoding?: any): Promise<string>;
217
+
218
+ /**
219
+ * Reads a text from a file with a given path.
220
+ * @param path The path to the source file.
221
+ * @param onError (optional) A callback function to use if any error occurs.
222
+ * @param encoding (optional) If set reads the text with the specified encoding (default UTF-8).
223
+ * Returns the text read.
224
+ */
225
+ readTextSync(path: string, onError?: (error: any) => any, encoding?: any): string;
226
+
227
+ /**
228
+ * Reads a binary content from a file with a given path.
229
+ * @param path The path to the source file.
230
+ * @param onError (optional) A callback function to use if any error occurs.
231
+ * Returns the binary content read.
232
+ */
233
+ read(path: string, onError?: (error: any) => any): any;
234
+
235
+ /**
236
+ * Reads a binary content from a file with a given path.
237
+ * @param path The path to the source file.
238
+ * Returns a Promise with the binary content read.
239
+ */
240
+ readAsync(path: string): Promise<any>;
241
+
242
+ /**
243
+ * Reads a binary content from a file with a given path.
244
+ * @param path The path to the source file.
245
+ * @param onError (optional) A callback function to use if any error occurs.
246
+ * Returns the binary content read.
247
+ */
248
+ readSync(path: string, onError?: (error: any) => any): any;
249
+
250
+ /**
251
+ * Writes a text to a file with a given path.
252
+ * @param path The path to the source file.
253
+ * @param content The content which will be written to the file.
254
+ * @param onError (optional) A callback function to use if any error occurs.
255
+ * @param encoding (optional) If set writes the text with the specified encoding (default UTF-8).
256
+ */
257
+ writeText(path: string, content: string, onError?: (error: any) => any, encoding?: any);
258
+
259
+ /**
260
+ * Writes a text to a file with a given path.
261
+ * @param path The path to the source file.
262
+ * @param content The content which will be written to the file.
263
+ * @param encoding (optional) If set writes the text with the specified encoding (default UTF-8).
264
+ */
265
+ writeTextAsync(path: string, content: string, encoding?: any): Promise<void>;
266
+
267
+ /**
268
+ * Writes a text to a file with a given path.
269
+ * @param path The path to the source file.
270
+ * @param content The content which will be written to the file.
271
+ * @param onError (optional) A callback function to use if any error occurs.
272
+ * @param encoding (optional) If set writes the text with the specified encoding (default UTF-8).
273
+ */
274
+ writeTextSync(path: string, content: string, onError?: (error: any) => any, encoding?: any);
275
+
276
+ /**
277
+ * Writes a binary to a file with a given path.
278
+ * @param path The path to the source file.
279
+ * @param content The content which will be written to the file.
280
+ * @param onError (optional) A callback function to use if any error occurs.
281
+ */
282
+ write(path: string, content: any, onError?: (error: any) => any);
283
+
284
+ /**
285
+ * Writes a binary to a file with a given path.
286
+ * @param path The path to the source file.
287
+ * @param content The content which will be written to the file.
288
+ */
289
+ writeAsync(path: string, content: any): Promise<void>;
290
+
291
+ /**
292
+ * Writes a binary to a file with a given path.
293
+ * @param path The path to the source file.
294
+ * @param content The content which will be written to the file.
295
+ * @param onError (optional) A callback function to use if any error occurs.
296
+ */
297
+ writeSync(path: string, content: any, onError?: (error: any) => any);
298
+
299
+ /**
300
+ * Gets extension of the file with a given path.
301
+ * @param path A path to the file.
302
+ */
303
+ getFileExtension(path: string): string;
304
+
305
+ /**
306
+ * Gets the path separator (for the current platform).
307
+ */
308
+ getPathSeparator(): string;
309
+
310
+ /**
311
+ * Normalizes a path.
312
+ * @param path A path which should be normalized.
313
+ * Returns a normalized path as string.
314
+ */
315
+ normalizePath(path: string): string;
316
+
317
+ /**
318
+ * Joins two paths (without normalize). Only removes some trailing and duplicate path separators.
319
+ * @param left First path to join.
320
+ * @param right Second path to join.
321
+ * Returns the joined path.
322
+ */
323
+ joinPath(left: string, right: string): string;
324
+
325
+ /**
326
+ * Joins an array of file paths.
327
+ * @param paths An array of paths.
328
+ * Returns the joined path.
329
+ */
330
+ joinPaths(paths: string[]): string;
331
+ }
332
+
333
+ export class FileSystemAccess implements IFileSystemAccess {
334
+ appendBuffer(path: string, content: ArrayBuffer | Uint8Array | Uint8ClampedArray, onError?: (error: any) => any);
335
+
336
+ appendBufferAsync(path: string, content: ArrayBuffer | Uint8Array | Uint8ClampedArray): Promise<void>;
337
+
338
+ appendBufferSync(path: string, content: ArrayBuffer | Uint8Array | Uint8ClampedArray, onError?: (error: any) => any);
339
+
340
+ append(path: string, content: any, onError?: (error: any) => any);
341
+
342
+ appendAsync(path: string, content: any): Promise<void>;
343
+
344
+ appendSync(path: string, content: any, onError?: (error: any) => any);
345
+
346
+ appendText(path: string, content: string, onError?: (error: any) => any, encoding?: any);
347
+
348
+ appendTextAsync(path: string, content: string, encoding?: any): Promise<void>;
349
+
350
+ appendTextSync(path: string, content: string, onError?: (error: any) => any, encoding?: any);
351
+
352
+ copy(src: string, dest: string, onError?: (error: any) => any): boolean;
353
+
354
+ copySync(src: string, dest: string, onError?: (error: any) => any): boolean;
355
+
356
+ copyAsync(src: string, dest: string): Promise<boolean>;
357
+
358
+ getLastModified(path: string): Date;
359
+
360
+ getFileSize(path: string): number;
361
+
362
+ getParent(path: string, onError?: (error: any) => any): { path: string; name: string };
363
+
364
+ getFile(path: string, onError?: (error: any) => any): { path: string; name: string; extension: string };
365
+
366
+ getFolder(path: string, onError?: (error: any) => any): { path: string; name: string };
367
+
368
+ getEntities(path: string, onError?: (error: any) => any): Array<{ path: string; name: string; extension: string }>;
369
+
370
+ eachEntity(path: string, onEntity: (entity: { path: string; name: string; extension: string }) => boolean, onError?: (error: any) => any);
371
+
372
+ fileExists(path: string): boolean;
373
+
374
+ folderExists(path: string): boolean;
375
+
376
+ deleteFile(path: string, onError?: (error: any) => any);
377
+
378
+ deleteFolder(path: string, onError?: (error: any) => any);
379
+
380
+ emptyFolder(path: string, onError?: (error: any) => any): void;
381
+
382
+ rename(path: string, newPath: string, onError?: (error: any) => any): void;
383
+
384
+ getDocumentsFolderPath(): string;
385
+
386
+ getExternalDocumentsFolderPath(): string;
387
+
388
+ getTempFolderPath(): string;
389
+
390
+ getLogicalRootPath(): string;
391
+
392
+ getCurrentAppPath(): string;
393
+
394
+ readText(path: string, onError?: (error: any) => any, encoding?: any): string;
395
+
396
+ readTextAsync(path: string, encoding?: any): Promise<string>;
397
+
398
+ readTextSync(path: string, onError?: (error: any) => any, encoding?: any): string;
399
+
400
+ readBuffer(path: string, onError?: (error: any) => any): ArrayBuffer;
401
+
402
+ readBufferAsync(path: string): Promise<ArrayBuffer>;
403
+
404
+ readBufferSync(path: string, onError?: (error: any) => any): ArrayBuffer;
405
+
406
+ read(path: string, onError?: (error: any) => any): any;
407
+
408
+ readAsync(path: string): Promise<any>;
409
+
410
+ readSync(path: string, onError?: (error: any) => any): any;
411
+
412
+ writeText(path: string, content: string, onError?: (error: any) => any, encoding?: any);
413
+
414
+ writeTextAsync(path: string, content: string, encoding?: any): Promise<void>;
415
+
416
+ writeTextSync(path: string, content: string, onError?: (error: any) => any, encoding?: any);
417
+
418
+ writeBuffer(path: string, content: ArrayBuffer | Uint8Array | Uint8ClampedArray, onError?: (error: any) => any);
419
+
420
+ writeBufferAsync(path: string, content: ArrayBuffer | Uint8Array | Uint8ClampedArray): Promise<void>;
421
+
422
+ writeBufferSync(path: string, content: ArrayBuffer | Uint8Array | Uint8ClampedArray, onError?: (error: any) => any);
423
+
424
+ write(path: string, content: any, onError?: (error: any) => any);
425
+
426
+ writeAsync(path: string, content: any): Promise<void>;
427
+
428
+ writeSync(path: string, content: any, onError?: (error: any) => any);
429
+
430
+ getFileExtension(path: string): string;
431
+
432
+ getPathSeparator(): string;
433
+
434
+ normalizePath(path: string): string;
435
+
436
+ joinPath(left: string, right: string): string;
437
+
438
+ joinPaths(paths: string[]): string;
439
+ }
440
+
441
+ export class FileSystemAccess29 extends FileSystemAccess {}