@triniwiz/nativescript-masonkit 1.0.0-beta.114 → 1.0.0-beta.116
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/common.d.ts +4 -1
- package/common.js +25 -2
- package/common.js.map +1 -1
- package/input/common.d.ts +9 -0
- package/input/common.js +33 -5
- package/input/common.js.map +1 -1
- package/package.json +1 -1
- package/platforms/android/masonkit-release.aar +0 -0
- package/platforms/ios/Mason.xcframework/Info.plist +11 -11
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/Mason-Swift.h +4 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Mason +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.abi.json +13794 -4323
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.private.swiftinterface +4 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.swiftinterface +4 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/aarch64/Mason.yml +9154 -9145
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason-Swift.h +8 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Mason +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.abi.json +13794 -4323
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +4 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftinterface +4 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json +13794 -4323
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +4 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +4 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/_CodeSignature/CodeResources +26 -26
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +2 -2
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/aarch64/Mason.yml +9148 -9139
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/x86_64/Mason.yml +8723 -8715
- package/platforms/ios/Mason.xcframework/xros-arm64/Mason.framework/Headers/Mason-Swift.h +4 -0
- package/platforms/ios/Mason.xcframework/xros-arm64/Mason.framework/Mason +0 -0
- package/platforms/ios/Mason.xcframework/xros-arm64/Mason.framework/Modules/Mason.swiftmodule/Project/arm64-apple-xros.swiftsourceinfo +0 -0
- package/platforms/ios/Mason.xcframework/xros-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-xros.abi.json +13794 -4323
- package/platforms/ios/Mason.xcframework/xros-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-xros.private.swiftinterface +4 -0
- package/platforms/ios/Mason.xcframework/xros-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-xros.swiftdoc +0 -0
- package/platforms/ios/Mason.xcframework/xros-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-xros.swiftinterface +4 -0
- package/platforms/ios/Mason.xcframework/xros-arm64/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
- package/platforms/ios/Mason.xcframework/xros-arm64/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/aarch64/Mason.yml +8644 -8635
- package/platforms/ios/Mason.xcframework/xros-arm64-simulator/Mason.framework/Headers/Mason-Swift.h +4 -0
- package/platforms/ios/Mason.xcframework/xros-arm64-simulator/Mason.framework/Mason +0 -0
- package/platforms/ios/Mason.xcframework/xros-arm64-simulator/Mason.framework/Modules/Mason.swiftmodule/Project/arm64-apple-xros-simulator.swiftsourceinfo +0 -0
- package/platforms/ios/Mason.xcframework/xros-arm64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-xros-simulator.abi.json +13794 -4323
- package/platforms/ios/Mason.xcframework/xros-arm64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-xros-simulator.private.swiftinterface +4 -0
- package/platforms/ios/Mason.xcframework/xros-arm64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-xros-simulator.swiftdoc +0 -0
- package/platforms/ios/Mason.xcframework/xros-arm64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-xros-simulator.swiftinterface +4 -0
- package/platforms/ios/Mason.xcframework/xros-arm64-simulator/Mason.framework/_CodeSignature/CodeResources +14 -14
- package/platforms/ios/Mason.xcframework/xros-arm64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
- package/platforms/ios/Mason.xcframework/xros-arm64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/aarch64/Mason.yml +8643 -8634
- package/platforms/windows/arm64/NativeScript.Mason.dll +0 -0
- package/platforms/windows/arm64/NativeScript.Mason.winmd +0 -0
- package/platforms/windows/x64/NativeScript.Mason.dll +0 -0
- package/platforms/windows/x64/NativeScript.Mason.winmd +0 -0
- package/properties.d.ts +7 -0
- package/properties.js +41 -1
- package/properties.js.map +1 -1
- package/symbols.d.ts +1 -0
- package/symbols.js +1 -0
- package/symbols.js.map +1 -1
- package/textarea/index.windows.d.ts +3 -1
- package/textarea/index.windows.js +27 -2
- package/textarea/index.windows.js.map +1 -1
- package/typings/windows.d.ts +2 -0
package/input/common.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
var _a, _b, _c;
|
|
1
|
+
var _a, _b, _c, _d;
|
|
2
2
|
import { booleanConverter, CssProperty, Property, Style } from '@nativescript/core';
|
|
3
3
|
import { ViewBase } from '../common';
|
|
4
4
|
import { native_ } from '../symbols';
|
|
5
5
|
export const defaultValueProperty = Symbol('input:default:value');
|
|
6
6
|
export const getValueProperty = Symbol('input:get:value');
|
|
7
7
|
export const setValueProperty = Symbol('input:set:value');
|
|
8
|
+
const defaultValueState = Symbol('input:default:state');
|
|
8
9
|
export const pendingValue = Symbol('input:pending:value');
|
|
9
10
|
export const getCheckedProperty = Symbol('input:get:checked');
|
|
10
11
|
export const setCheckedProperty = Symbol('input:set:checked');
|
|
@@ -25,6 +26,8 @@ export class InputBase extends ViewBase {
|
|
|
25
26
|
constructor() {
|
|
26
27
|
super(...arguments);
|
|
27
28
|
this[_a] = null;
|
|
29
|
+
// `any`: core types setNative keys as plain `symbol`, so ViewBase has a symbol index signature without `string`.
|
|
30
|
+
this[_b] = null;
|
|
28
31
|
}
|
|
29
32
|
[(_a = pendingValue, defaultValueProperty)]() {
|
|
30
33
|
return undefined;
|
|
@@ -40,7 +43,7 @@ export class InputBase extends ViewBase {
|
|
|
40
43
|
return this[pendingValue];
|
|
41
44
|
}
|
|
42
45
|
const defaultValue = this[defaultValueProperty];
|
|
43
|
-
return defaultValue != null ? defaultValue() : undefined;
|
|
46
|
+
return (defaultValue != null ? defaultValue() : undefined);
|
|
44
47
|
}
|
|
45
48
|
return this[getValueProperty]();
|
|
46
49
|
}
|
|
@@ -51,8 +54,31 @@ export class InputBase extends ViewBase {
|
|
|
51
54
|
this[pendingValue] = text;
|
|
52
55
|
return;
|
|
53
56
|
}
|
|
57
|
+
// Setting the text it already has is a no-op, as in the DOM: writing it
|
|
58
|
+
// back would move the caret, which breaks frameworks that sync `value`
|
|
59
|
+
// after every keystroke (React, Vue v-model, ...).
|
|
60
|
+
if (this[getValueProperty]() === text) {
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
54
63
|
this[setValueProperty](text);
|
|
55
64
|
}
|
|
65
|
+
/**
|
|
66
|
+
* As on the web: the initial value. It sets `value` while the field still
|
|
67
|
+
* holds what `defaultValue` last put there, i.e. until the user or code
|
|
68
|
+
* changes it.
|
|
69
|
+
*/
|
|
70
|
+
get defaultValue() {
|
|
71
|
+
return this[defaultValueState] ?? '';
|
|
72
|
+
}
|
|
73
|
+
set defaultValue(value) {
|
|
74
|
+
const text = value == null ? '' : String(value);
|
|
75
|
+
const current = this.value ?? '';
|
|
76
|
+
const untouched = current === '' || current === (this[defaultValueState] ?? '');
|
|
77
|
+
this[defaultValueState] = text;
|
|
78
|
+
if (untouched) {
|
|
79
|
+
this.value = text;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
56
82
|
initNativeView() {
|
|
57
83
|
super.initNativeView();
|
|
58
84
|
if (this[pendingValue] !== null) {
|
|
@@ -61,14 +87,16 @@ export class InputBase extends ViewBase {
|
|
|
61
87
|
}
|
|
62
88
|
}
|
|
63
89
|
}
|
|
90
|
+
_b = defaultValueState;
|
|
64
91
|
/** HTMLInputElement's state beyond `value`; `<textarea>` has none of it. */
|
|
65
92
|
export class InputElementBase extends InputBase {
|
|
66
93
|
constructor() {
|
|
67
94
|
super(...arguments);
|
|
68
|
-
|
|
69
|
-
this[_c] =
|
|
95
|
+
//@ts-ignore
|
|
96
|
+
this[_c] = null;
|
|
97
|
+
this[_d] = false;
|
|
70
98
|
}
|
|
71
|
-
[(
|
|
99
|
+
[(_c = pendingChecked, _d = checkedState, getCheckedProperty)]() {
|
|
72
100
|
return this[checkedState];
|
|
73
101
|
}
|
|
74
102
|
//@ts-ignore
|
package/input/common.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../../../packages/nativescript-masonkit/input/common.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AACpF,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAErC,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,MAAM,CAAC,MAAM,oBAAoB,GAAG,MAAM,CAAC,qBAAqB,CAAC,CAAC;AAClE,MAAM,CAAC,MAAM,gBAAgB,GAAG,MAAM,CAAC,iBAAiB,CAAC,CAAC;AAC1D,MAAM,CAAC,MAAM,gBAAgB,GAAG,MAAM,CAAC,iBAAiB,CAAC,CAAC;AAC1D,MAAM,CAAC,MAAM,YAAY,GAAG,MAAM,CAAC,qBAAqB,CAAC,CAAC;AAC1D,M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AG,IAAI,QAAQ,CAAqB;IAC/D,IAAI,EAAE,UAAU;IAChB,YAAY,EAAE,KAAK;IACnB,cAAc,EAAE,gBAAgB;CACjC,CAAC,CAAC;AAEH,gBAAgB,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;AAErC,MAAM,CAAC,MAAM,cAAc,GAAG,IAAI,QAAQ,CAAoB;IAC5D,IAAI,EAAE,QAAQ;IACd,YAAY,EAAE,KAAK;CACpB,CAAC,CAAC;AAEH,cAAc,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;AAEnC;;;GAGG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,IAAI,WAAW,CAAyB;IACxE,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,YAAY;IACrB,YAAY,EAAE,MAAM;IACpB,cAAc,EAAE,eAAe;CAChC,CAAC,CAAC;AAEH,kBAAkB,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC"}
|
package/package.json
CHANGED
|
Binary file
|
|
@@ -10,15 +10,18 @@
|
|
|
10
10
|
<key>DebugSymbolsPath</key>
|
|
11
11
|
<string>dSYMs</string>
|
|
12
12
|
<key>LibraryIdentifier</key>
|
|
13
|
-
<string>ios-
|
|
13
|
+
<string>ios-arm64_x86_64-simulator</string>
|
|
14
14
|
<key>LibraryPath</key>
|
|
15
15
|
<string>Mason.framework</string>
|
|
16
16
|
<key>SupportedArchitectures</key>
|
|
17
17
|
<array>
|
|
18
18
|
<string>arm64</string>
|
|
19
|
+
<string>x86_64</string>
|
|
19
20
|
</array>
|
|
20
21
|
<key>SupportedPlatform</key>
|
|
21
22
|
<string>ios</string>
|
|
23
|
+
<key>SupportedPlatformVariant</key>
|
|
24
|
+
<string>simulator</string>
|
|
22
25
|
</dict>
|
|
23
26
|
<dict>
|
|
24
27
|
<key>BinaryPath</key>
|
|
@@ -26,7 +29,7 @@
|
|
|
26
29
|
<key>DebugSymbolsPath</key>
|
|
27
30
|
<string>dSYMs</string>
|
|
28
31
|
<key>LibraryIdentifier</key>
|
|
29
|
-
<string>
|
|
32
|
+
<string>ios-arm64</string>
|
|
30
33
|
<key>LibraryPath</key>
|
|
31
34
|
<string>Mason.framework</string>
|
|
32
35
|
<key>SupportedArchitectures</key>
|
|
@@ -34,9 +37,7 @@
|
|
|
34
37
|
<string>arm64</string>
|
|
35
38
|
</array>
|
|
36
39
|
<key>SupportedPlatform</key>
|
|
37
|
-
<string>
|
|
38
|
-
<key>SupportedPlatformVariant</key>
|
|
39
|
-
<string>simulator</string>
|
|
40
|
+
<string>ios</string>
|
|
40
41
|
</dict>
|
|
41
42
|
<dict>
|
|
42
43
|
<key>BinaryPath</key>
|
|
@@ -44,7 +45,7 @@
|
|
|
44
45
|
<key>DebugSymbolsPath</key>
|
|
45
46
|
<string>dSYMs</string>
|
|
46
47
|
<key>LibraryIdentifier</key>
|
|
47
|
-
<string>xros-arm64</string>
|
|
48
|
+
<string>xros-arm64-simulator</string>
|
|
48
49
|
<key>LibraryPath</key>
|
|
49
50
|
<string>Mason.framework</string>
|
|
50
51
|
<key>SupportedArchitectures</key>
|
|
@@ -53,6 +54,8 @@
|
|
|
53
54
|
</array>
|
|
54
55
|
<key>SupportedPlatform</key>
|
|
55
56
|
<string>xros</string>
|
|
57
|
+
<key>SupportedPlatformVariant</key>
|
|
58
|
+
<string>simulator</string>
|
|
56
59
|
</dict>
|
|
57
60
|
<dict>
|
|
58
61
|
<key>BinaryPath</key>
|
|
@@ -60,18 +63,15 @@
|
|
|
60
63
|
<key>DebugSymbolsPath</key>
|
|
61
64
|
<string>dSYMs</string>
|
|
62
65
|
<key>LibraryIdentifier</key>
|
|
63
|
-
<string>
|
|
66
|
+
<string>xros-arm64</string>
|
|
64
67
|
<key>LibraryPath</key>
|
|
65
68
|
<string>Mason.framework</string>
|
|
66
69
|
<key>SupportedArchitectures</key>
|
|
67
70
|
<array>
|
|
68
71
|
<string>arm64</string>
|
|
69
|
-
<string>x86_64</string>
|
|
70
72
|
</array>
|
|
71
73
|
<key>SupportedPlatform</key>
|
|
72
|
-
<string>
|
|
73
|
-
<key>SupportedPlatformVariant</key>
|
|
74
|
-
<string>simulator</string>
|
|
74
|
+
<string>xros</string>
|
|
75
75
|
</dict>
|
|
76
76
|
</array>
|
|
77
77
|
<key>CFBundlePackageType</key>
|
|
@@ -1202,6 +1202,10 @@ SWIFT_CLASS_NAMED("MasonNode")
|
|
|
1202
1202
|
/// Set to true by applyToView after Mason has applied layout to this node’s view.
|
|
1203
1203
|
/// NativeScript can read this to skip redundant layout passes for Mason-managed children.
|
|
1204
1204
|
@property (nonatomic) BOOL isLayoutValid;
|
|
1205
|
+
/// CSS <code>touch-action</code> as pan flags (1 pan-x, 2 pan-y, 4 pinch-zoom; 7 is
|
|
1206
|
+
/// <code>auto</code>). A Mason scroll view only pans along an axis every element from
|
|
1207
|
+
/// the touched one up to it allows.
|
|
1208
|
+
@property (nonatomic) NSInteger touchAction;
|
|
1205
1209
|
@property (nonatomic, readonly, strong) MasonDocument * _Nullable document;
|
|
1206
1210
|
- (void)setPseudoString:(uint16_t)pseudoState :(NSString * _Nonnull)key :(NSString * _Nonnull)value;
|
|
1207
1211
|
- (NSString * _Nullable)getPseudoString:(uint16_t)pseudoState :(NSString * _Nonnull)key SWIFT_WARN_UNUSED_RESULT;
|
|
Binary file
|