@akylas/nativescript 8.0.10 → 8.1.6

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 (137) hide show
  1. package/{js-libs/easysax/LICENSE → LICENSE} +11 -12
  2. package/accessibility/accessibility-types.d.ts +58 -58
  3. package/accessibility/accessibility-types.js +58 -58
  4. package/accessibility/accessibility-types.js.map +1 -1
  5. package/accessibility/index.android.d.ts +0 -1
  6. package/accessibility/index.android.js +11 -3
  7. package/accessibility/index.android.js.map +1 -1
  8. package/accessibility/index.ios.d.ts +0 -1
  9. package/accessibility/index.ios.js +21 -13
  10. package/accessibility/index.ios.js.map +1 -1
  11. package/application/index.android.js +0 -4
  12. package/application/index.android.js.map +1 -1
  13. package/application/index.d.ts +1 -1
  14. package/application/index.ios.js +0 -4
  15. package/application/index.ios.js.map +1 -1
  16. package/bundle-entry-points.js.map +1 -1
  17. package/color/color-common.d.ts +3 -3
  18. package/color/color-common.js +35 -40
  19. package/color/color-common.js.map +1 -1
  20. package/color/index.d.ts +11 -11
  21. package/config/config.interface.d.ts +43 -0
  22. package/core-types/index.d.ts +2 -1
  23. package/core-types/index.js +1 -0
  24. package/core-types/index.js.map +1 -1
  25. package/css/parser.d.ts +7 -10
  26. package/css/parser.js +16 -67
  27. package/css/parser.js.map +1 -1
  28. package/debugger/dom-node.js +1 -1
  29. package/debugger/dom-node.js.map +1 -1
  30. package/global-types.d.ts +2 -2
  31. package/globals/index.js +18 -14
  32. package/globals/index.js.map +1 -1
  33. package/image-source/index.android.d.ts +3 -0
  34. package/image-source/index.android.js +51 -0
  35. package/image-source/index.android.js.map +1 -1
  36. package/image-source/index.d.ts +28 -0
  37. package/image-source/index.ios.d.ts +3 -0
  38. package/image-source/index.ios.js +76 -0
  39. package/image-source/index.ios.js.map +1 -1
  40. package/package.json +1 -1
  41. package/platforms/android/native-api-usage.json +246 -25
  42. package/platforms/android/widgets-release.aar +0 -0
  43. package/platforms/ios/TNSWidgets.xcframework/Info.plist +5 -5
  44. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Info.plist +0 -0
  45. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/TNSWidgets +0 -0
  46. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets +0 -0
  47. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Info.plist +0 -0
  48. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/TNSWidgets +0 -0
  49. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/_CodeSignature/CodeResources +1 -1
  50. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets +0 -0
  51. package/platforms/ios/native-api-usage.json +1 -0
  52. package/polyfills/formdata.d.ts +6 -0
  53. package/polyfills/formdata.js +16 -0
  54. package/polyfills/formdata.js.map +1 -0
  55. package/ui/action-bar/index.ios.d.ts +3 -0
  56. package/ui/action-bar/index.ios.js +58 -18
  57. package/ui/action-bar/index.ios.js.map +1 -1
  58. package/ui/builder/component-builder/index.js +1 -1
  59. package/ui/builder/component-builder/index.js.map +1 -1
  60. package/ui/builder/xml2ui.d.ts +1 -1
  61. package/ui/builder/xml2ui.js.map +1 -1
  62. package/ui/button/button-common.d.ts +0 -3
  63. package/ui/button/button-common.js +0 -6
  64. package/ui/button/button-common.js.map +1 -1
  65. package/ui/button/index.ios.js +8 -1
  66. package/ui/button/index.ios.js.map +1 -1
  67. package/ui/core/bindable/index.js +3 -3
  68. package/ui/core/bindable/index.js.map +1 -1
  69. package/ui/core/properties/index.js +1 -1
  70. package/ui/core/properties/index.js.map +1 -1
  71. package/ui/core/view/index.android.d.ts +0 -1
  72. package/ui/core/view/index.android.js +30 -16
  73. package/ui/core/view/index.android.js.map +1 -1
  74. package/ui/core/view/index.ios.d.ts +1 -1
  75. package/ui/core/view/index.ios.js +15 -5
  76. package/ui/core/view/index.ios.js.map +1 -1
  77. package/ui/core/view/view-common.d.ts +0 -4
  78. package/ui/core/view/view-common.js +1 -5
  79. package/ui/core/view/view-common.js.map +1 -1
  80. package/ui/editable-text-base/index.android.js +1 -5
  81. package/ui/editable-text-base/index.android.js.map +1 -1
  82. package/ui/frame/fragment.transitions.android.js +2 -2
  83. package/ui/frame/fragment.transitions.android.js.map +1 -1
  84. package/ui/frame/frame-common.d.ts +1 -1
  85. package/ui/frame/frame-common.js +15 -5
  86. package/ui/frame/frame-common.js.map +1 -1
  87. package/ui/frame/index.android.js +21 -19
  88. package/ui/frame/index.android.js.map +1 -1
  89. package/ui/frame/index.ios.js +9 -14
  90. package/ui/frame/index.ios.js.map +1 -1
  91. package/ui/layouts/layout-base.android.js +3 -11
  92. package/ui/layouts/layout-base.android.js.map +1 -1
  93. package/ui/page/index.android.js +3 -1
  94. package/ui/page/index.android.js.map +1 -1
  95. package/ui/slider/slider-common.d.ts +0 -3
  96. package/ui/slider/slider-common.js +0 -6
  97. package/ui/slider/slider-common.js.map +1 -1
  98. package/ui/styling/background.android.js +1 -1
  99. package/ui/styling/background.android.js.map +1 -1
  100. package/ui/styling/css-selector/index.js +2 -1
  101. package/ui/styling/css-selector/index.js.map +1 -1
  102. package/ui/styling/linear-gradient.js +1 -1
  103. package/ui/styling/linear-gradient.js.map +1 -1
  104. package/ui/styling/style-properties.js +12 -2
  105. package/ui/styling/style-properties.js.map +1 -1
  106. package/ui/styling/style-scope.js +10 -7
  107. package/ui/styling/style-scope.js.map +1 -1
  108. package/ui/text-base/index.android.js +11 -4
  109. package/ui/text-base/index.android.js.map +1 -1
  110. package/ui/text-base/index.ios.js +3 -0
  111. package/ui/text-base/index.ios.js.map +1 -1
  112. package/ui/text-base/text-base-common.js +4 -5
  113. package/ui/text-base/text-base-common.js.map +1 -1
  114. package/ui/text-field/index.ios.js +2 -1
  115. package/ui/text-field/index.ios.js.map +1 -1
  116. package/ui/text-view/index.ios.js +1 -1
  117. package/ui/text-view/index.ios.js.map +1 -1
  118. package/ui/web-view/index.d.ts +5 -0
  119. package/utils/index.android.d.ts +1 -1
  120. package/utils/index.android.js +2 -2
  121. package/utils/index.android.js.map +1 -1
  122. package/utils/index.d.ts +2 -1
  123. package/xhr/index.d.ts +0 -6
  124. package/xhr/index.js +0 -15
  125. package/xhr/index.js.map +1 -1
  126. package/css/LICENSE +0 -9
  127. package/css/Readme.md +0 -278
  128. package/css-value/LICENSE +0 -9
  129. package/css-value/Readme.md +0 -45
  130. package/fetch/LICENSE +0 -20
  131. package/fetch/README.md +0 -1
  132. package/js-libs/easysax/README.md +0 -46
  133. package/js-libs/esprima/LICENSE.BSD +0 -19
  134. package/js-libs/esprima/README.md +0 -24
  135. package/js-libs/polymer-expressions/LICENSE +0 -27
  136. package/js-libs/polymer-expressions/README.md +0 -0
  137. package/platforms/README.md +0 -1
@@ -1,45 +0,0 @@
1
-
2
- # css-value
3
-
4
- WIP CSS value parser
5
-
6
- ## Example
7
-
8
- The CSS value string "1px 0 0 5% .5px .10 1.5" yields:
9
-
10
- ```js
11
- [
12
- { type: 'number', string: '1px', unit: 'px', value: 1 },
13
- { type: 'number', string: '0', unit: '', value: 0 },
14
- { type: 'number', string: '0', unit: '', value: 0 },
15
- { type: 'number', string: '5%', unit: '%', value: 5 },
16
- { type: 'number', string: '.5px', unit: 'px', value: .5 },
17
- { type: 'number', string: '.10', unit: '', value: .1 },
18
- { type: 'number', string: '1.5', unit: '', value: 1.5 }
19
- ]
20
- ```
21
-
22
- ## License
23
-
24
- (The MIT License)
25
-
26
- Copyright (c) 2013 TJ Holowaychuk <tj@vision-media.ca>
27
-
28
- Permission is hereby granted, free of charge, to any person obtaining
29
- a copy of this software and associated documentation files (the
30
- 'Software'), to deal in the Software without restriction, including
31
- without limitation the rights to use, copy, modify, merge, publish,
32
- distribute, sublicense, and/or sell copies of the Software, and to
33
- permit persons to whom the Software is furnished to do so, subject to
34
- the following conditions:
35
-
36
- The above copyright notice and this permission notice shall be
37
- included in all copies or substantial portions of the Software.
38
-
39
- THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
40
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
41
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
42
- IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
43
- CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
44
- TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
45
- SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/fetch/LICENSE DELETED
@@ -1,20 +0,0 @@
1
- Copyright (c) 2014-2016 GitHub, Inc.
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining
4
- a copy of this software and associated documentation files (the
5
- "Software"), to deal in the Software without restriction, including
6
- without limitation the rights to use, copy, modify, merge, publish,
7
- distribute, sublicense, and/or sell copies of the Software, and to
8
- permit persons to whom the Software is furnished to do so, subject to
9
- the following conditions:
10
-
11
- The above copyright notice and this permission notice shall be
12
- included in all copies or substantial portions of the Software.
13
-
14
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/fetch/README.md DELETED
@@ -1 +0,0 @@
1
- Implementation of [fetch API](https://fetch.spec.whatwg.org/). Modified version of https://github.com/github/fetch.
@@ -1,46 +0,0 @@
1
- EASYSAX - pure javascript sax-style parser for xml
2
- ==================================================
3
- Простой и быстрый SAX парсер XML файлов.
4
- Реализован по принципу парсить только то что нужно и как можно быстрее.
5
- Парсер не потоковый, и не расчитан на гиганские файлы. Весь XML должен быть в памяти.
6
- Встроенный уникальный механизм работы с пространсвами имен.
7
-
8
-
9
- Парсер был написан для RSS ридера http://zzreader.com
10
- На конец 2012 года остается самым быстрым SAX парсером под NODE.JS
11
-
12
-
13
-
14
- BENCHMARK
15
- ---------------------------------------------------
16
-
17
- **benchmark/test.js, parse file #1**
18
- ```
19
- sax-js: 12671ms
20
- libxmljs: 11311ms
21
- expat: 6118ms
22
- expat buffer: 5278ms
23
- easysax : 1739ms // namespace--on, attr()--on , entity_decode--on
24
- easysax: 1035ms // namespace--off, attr()--on , entity_decode--on
25
- easysax: 740ms // namespace--off, attr()--off , entity_decode--off
26
- ```
27
-
28
-
29
- **benchmark/test.js, parse file #2 (много атрибутов)**
30
- ```
31
- sax-js: 84060ms
32
- libxmljs: 48919ms
33
- expat: 39444ms
34
- expat buffer: 35375ms
35
- easysax: 14655ms // namespace--on, attr()--on , entity_decode--on
36
- easysax: 9874ms // namespace--off, attr()--on , entity_decode--on
37
- easysax: 3531ms // namespace--off, attr()--off , entity_decode--on
38
- easysax: 2954ms // namespace--off, attr()--off , entity_decode--off
39
- ```
40
-
41
-
42
- **demo/example.js, parse file #2**
43
- ```
44
- 1,000 pages for: 13335ms - attr()--all
45
- 1,000 pages for: 7300ms - attr()--on_request
46
- ```
@@ -1,19 +0,0 @@
1
- Redistribution and use in source and binary forms, with or without
2
- modification, are permitted provided that the following conditions are met:
3
-
4
- * Redistributions of source code must retain the above copyright
5
- notice, this list of conditions and the following disclaimer.
6
- * Redistributions in binary form must reproduce the above copyright
7
- notice, this list of conditions and the following disclaimer in the
8
- documentation and/or other materials provided with the distribution.
9
-
10
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
11
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
12
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
13
- ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
14
- DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
15
- (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
16
- LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
17
- ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
18
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
19
- THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -1,24 +0,0 @@
1
- **Esprima** ([esprima.org](http://esprima.org), BSD license) is a high performance,
2
- standard-compliant [ECMAScript](http://www.ecma-international.org/publications/standards/Ecma-262.htm)
3
- parser written in ECMAScript (also popularly known as
4
- [JavaScript](http://en.wikipedia.org/wiki/JavaScript>JavaScript)).
5
- Esprima is created and maintained by [Ariya Hidayat](http://twitter.com/ariyahidayat),
6
- with the help of [many contributors](https://github.com/ariya/esprima/contributors).
7
-
8
- ### Features
9
-
10
- - Full support for ECMAScript 5.1 ([ECMA-262](http://www.ecma-international.org/publications/standards/Ecma-262.htm))
11
- - Sensible [syntax tree format](http://esprima.org/doc/index.html#ast) compatible with Mozilla
12
- [Parser AST](https://developer.mozilla.org/en/SpiderMonkey/Parser_API)
13
- - Optional tracking of syntax node location (index-based and line-column)
14
- - Heavily tested (> 700 [unit tests](http://esprima.org/test/) with [full code coverage](http://esprima.org/test/coverage.html))
15
- - [Partial support](http://esprima.org/doc/es6.html) for ECMAScript 6
16
-
17
- Esprima serves as a **building block** for some JavaScript
18
- language tools, from [code instrumentation](http://esprima.org/demo/functiontrace.html)
19
- to [editor autocompletion](http://esprima.org/demo/autocomplete.html).
20
-
21
- Esprima runs on many popular web browsers, as well as other ECMAScript platforms such as
22
- [Rhino](http://www.mozilla.org/rhino), [Nashorn](http://openjdk.java.net/projects/nashorn/), and [Node.js](https://npmjs.org/package/esprima).
23
-
24
- For more information, check the web site [esprima.org](http://esprima.org).
@@ -1,27 +0,0 @@
1
- // Copyright (c) 2014 The Polymer Authors. All rights reserved.
2
- //
3
- // Redistribution and use in source and binary forms, with or without
4
- // modification, are permitted provided that the following conditions are
5
- // met:
6
- //
7
- // * Redistributions of source code must retain the above copyright
8
- // notice, this list of conditions and the following disclaimer.
9
- // * Redistributions in binary form must reproduce the above
10
- // copyright notice, this list of conditions and the following disclaimer
11
- // in the documentation and/or other materials provided with the
12
- // distribution.
13
- // * Neither the name of Google Inc. nor the names of its
14
- // contributors may be used to endorse or promote products derived from
15
- // this software without specific prior written permission.
16
- //
17
- // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18
- // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19
- // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
20
- // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
21
- // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22
- // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
23
- // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24
- // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25
- // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26
- // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27
- // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
File without changes
@@ -1 +0,0 @@
1
- ## Platform specific native code