@nativescript/core 8.9.3-next-07-07-2025-16130102669 → 8.9.4
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/package.json +4 -2
- package/profiling/index.js +20 -18
- package/profiling/index.js.map +1 -1
- package/ui/action-bar/index.android.d.ts +1 -12
- package/ui/action-bar/index.ios.d.ts +1 -32
- package/ui/activity-indicator/index.android.d.ts +1 -13
- package/ui/activity-indicator/index.ios.d.ts +1 -12
- package/ui/button/index.android.d.ts +0 -21
- package/ui/button/index.ios.d.ts +0 -33
- package/ui/core/properties/index.d.ts +4 -4
- package/ui/core/properties/index.js.map +1 -1
- package/ui/core/view/index.android.d.ts +2 -84
- package/ui/core/view/index.android.js +0 -5
- package/ui/core/view/index.android.js.map +1 -1
- package/ui/core/view/index.ios.d.ts +3 -84
- package/ui/date-picker/index.android.d.ts +1 -15
- package/ui/date-picker/index.ios.d.ts +1 -30
- package/ui/editable-text-base/index.android.d.ts +1 -33
- package/ui/editable-text-base/index.ios.d.ts +1 -16
- package/ui/html-view/index.android.d.ts +1 -28
- package/ui/html-view/index.ios.d.ts +1 -18
- package/ui/image/index.android.d.ts +1 -14
- package/ui/image/index.ios.d.ts +1 -10
- package/ui/image/index.ios.js +0 -1
- package/ui/image/index.ios.js.map +1 -1
- package/ui/label/index.android.d.ts +1 -3
- package/ui/label/index.ios.d.ts +1 -13
- package/ui/layouts/dock-layout/index.android.d.ts +1 -4
- package/ui/layouts/flexbox-layout/index.android.d.ts +1 -16
- package/ui/layouts/layout-base.android.d.ts +1 -20
- package/ui/layouts/layout-base.ios.d.ts +1 -6
- package/ui/layouts/root-layout/index.android.js +19 -30
- package/ui/layouts/root-layout/index.android.js.map +1 -1
- package/ui/layouts/stack-layout/index.android.d.ts +1 -2
- package/ui/layouts/wrap-layout/index.android.d.ts +1 -5
- package/ui/list-picker/index.android.d.ts +1 -12
- package/ui/list-picker/index.ios.d.ts +1 -12
- package/ui/list-view/index.android.d.ts +2 -18
- package/ui/list-view/index.ios.d.ts +2 -12
- package/ui/page/index.android.d.ts +1 -19
- package/ui/page/index.ios.d.ts +1 -6
- package/ui/progress/index.android.d.ts +1 -18
- package/ui/progress/index.ios.d.ts +1 -18
- package/ui/scroll-view/index.android.d.ts +1 -10
- package/ui/scroll-view/index.ios.d.ts +1 -7
- package/ui/search-bar/index.android.d.ts +1 -42
- package/ui/search-bar/index.android.js +0 -2
- package/ui/search-bar/index.android.js.map +1 -1
- package/ui/search-bar/index.ios.d.ts +1 -31
- package/ui/search-bar/index.ios.js +3 -4
- package/ui/search-bar/index.ios.js.map +1 -1
- package/ui/segmented-bar/index.android.d.ts +1 -31
- package/ui/segmented-bar/index.ios.d.ts +1 -19
- package/ui/slider/index.android.d.ts +1 -20
- package/ui/slider/index.ios.d.ts +1 -22
- package/ui/styling/style/index.d.ts +2 -1
- package/ui/styling/style/index.js.map +1 -1
- package/ui/styling/style-properties.js +5 -5
- package/ui/styling/style-properties.js.map +1 -1
- package/ui/switch/index.android.d.ts +1 -18
- package/ui/switch/index.ios.d.ts +1 -18
- package/ui/tab-view/index.android.d.ts +1 -51
- package/ui/tab-view/index.ios.d.ts +1 -34
- package/ui/tab-view/index.ios.js +1 -1
- package/ui/tab-view/index.ios.js.map +1 -1
- package/ui/text-base/index.android.d.ts +1 -75
- package/ui/text-base/index.android.js +0 -4
- package/ui/text-base/index.android.js.map +1 -1
- package/ui/text-base/index.ios.d.ts +1 -41
- package/ui/text-field/index.android.d.ts +1 -4
- package/ui/text-field/index.ios.d.ts +1 -43
- package/ui/text-view/index.ios.d.ts +1 -47
- package/ui/time-picker/index.android.d.ts +1 -3
- package/ui/time-picker/index.ios.d.ts +1 -30
- package/ui/web-view/index.android.d.ts +1 -2
- package/ui/web-view/index.ios.d.ts +1 -2
- package/ui/web-view/web-view-common.d.ts +0 -3
- package/wgc/crypto/index.d.ts +1 -1
- package/xhr/index.d.ts +3 -3
package/ui/image/index.ios.d.ts
CHANGED
|
@@ -1,15 +1,6 @@
|
|
|
1
|
-
import { ImageBase
|
|
2
|
-
import { ImageSource, iosSymbolScaleType } from '../../image-source';
|
|
3
|
-
import { ImageAsset } from '../../image-asset';
|
|
4
|
-
import { Color } from '../../color';
|
|
1
|
+
import { ImageBase } from './image-common';
|
|
5
2
|
export * from './image-common';
|
|
6
3
|
export declare class Image extends ImageBase {
|
|
7
|
-
[stretchProperty.setNative]: (value: "none" | "aspectFill" | "aspectFit" | "fill") => void;
|
|
8
|
-
[tintColorProperty.setNative]: (value: Color) => void;
|
|
9
|
-
[imageSourceProperty.setNative]: (value: ImageSource) => void;
|
|
10
|
-
[srcProperty.setNative]: (value: string | ImageSource | ImageAsset) => void;
|
|
11
|
-
[iosSymbolEffectProperty.setNative]: (value: ImageSymbolEffect | ImageSymbolEffects) => void;
|
|
12
|
-
[iosSymbolScaleProperty.setNative]: (value: iosSymbolScaleType) => void;
|
|
13
4
|
nativeViewProtected: UIImageView;
|
|
14
5
|
private _imageSourceAffectsLayout;
|
|
15
6
|
private _templateImageWasCreated;
|
package/ui/image/index.ios.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.ios.js","sourceRoot":"","sources":["../../../../../packages/core/ui/image/index.ios.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,WAAW,EAAE,uBAAuB,EAAE,iBAAiB,EAAsB,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAIzM,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEpD,cAAc,gBAAgB,CAAC;AAE/B,MAAM,OAAO,KAAM,SAAQ,SAAS;IAApC;;QAES,8BAAyB,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"index.ios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jE,CAAC;IACF,CAAC;IAED,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,KAAwC;QAC/D,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IACrB,CAAC;IAED,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC,KAA6C;QAChF,IAAI,WAAW,GAAG,EAAE,EAAE,CAAC;YACtB,OAAO;QACR,CAAC;QACD,MAAM,MAAM,GAAG,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,iBAAiB,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;QACvF,IAAI,MAAM,EAAE,MAAM,EAAE,CAAC;YACpB,gGAAgG;YAChG,4KAA4K;YAC5K,IAAI,CAAC,mBAAmB,CAAC,wCAAwC,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,OAAO,IAAI,qBAAqB,CAAC,oBAAoB,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,UAAU,IAAI,IAAI,CAAC,CAAC;QACnL,CAAC;aAAM,CAAC;YACP,IAAI,CAAC,mBAAmB,CAAC,sBAAsB,EAAE,CAAC;QACnD,CAAC;IACF,CAAC;IAED,CAAC,sBAAsB,CAAC,SAAS,CAAC,CAAC,KAAyB;QAC3D,+BAA+B;QAC/B,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IACxB,CAAC;CACD"}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { Label as LabelDefinition } from '.';
|
|
2
|
-
import { TextBase
|
|
3
|
-
import { CoreTypes } from '../../core-types';
|
|
2
|
+
import { TextBase } from '../text-base';
|
|
4
3
|
export * from '../text-base';
|
|
5
4
|
export declare class Label extends TextBase implements LabelDefinition {
|
|
6
|
-
[whiteSpaceProperty.setNative]: (value: CoreTypes.WhiteSpaceType) => void;
|
|
7
5
|
nativeViewProtected: org.nativescript.widgets.StyleableTextView;
|
|
8
6
|
nativeTextViewProtected: org.nativescript.widgets.StyleableTextView;
|
|
9
7
|
get textWrap(): boolean;
|
package/ui/label/index.ios.d.ts
CHANGED
|
@@ -1,19 +1,7 @@
|
|
|
1
1
|
import { Label as LabelDefinition } from '.';
|
|
2
2
|
import { Background } from '../styling/background';
|
|
3
|
-
import {
|
|
4
|
-
import { CoreTypes } from '../../core-types';
|
|
5
|
-
import { TextBase, whiteSpaceProperty, textOverflowProperty } from '../text-base';
|
|
3
|
+
import { TextBase } from '../text-base';
|
|
6
4
|
export declare class Label extends TextBase implements LabelDefinition {
|
|
7
|
-
[whiteSpaceProperty.setNative]: (value: CoreTypes.WhiteSpaceType) => void;
|
|
8
|
-
[textOverflowProperty.setNative]: (value: CoreTypes.TextOverflowType) => void;
|
|
9
|
-
[borderTopWidthProperty.setNative]: (value: CoreTypes.LengthType) => void;
|
|
10
|
-
[borderRightWidthProperty.setNative]: (value: CoreTypes.LengthType) => void;
|
|
11
|
-
[borderBottomWidthProperty.setNative]: (value: CoreTypes.LengthType) => void;
|
|
12
|
-
[borderLeftWidthProperty.setNative]: (value: CoreTypes.LengthType) => void;
|
|
13
|
-
[paddingTopProperty.setNative]: (value: CoreTypes.LengthType) => void;
|
|
14
|
-
[paddingRightProperty.setNative]: (value: CoreTypes.LengthType) => void;
|
|
15
|
-
[paddingBottomProperty.setNative]: (value: CoreTypes.LengthType) => void;
|
|
16
|
-
[paddingLeftProperty.setNative]: (value: CoreTypes.LengthType) => void;
|
|
17
5
|
nativeViewProtected: TNSLabel;
|
|
18
6
|
nativeTextViewProtected: TNSLabel;
|
|
19
7
|
private _fixedSize;
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import { DockLayoutBase
|
|
1
|
+
import { DockLayoutBase } from './dock-layout-common';
|
|
2
2
|
export * from './dock-layout-common';
|
|
3
3
|
export declare class DockLayout extends DockLayoutBase {
|
|
4
|
-
[stretchLastChildProperty.setNative]: (value: boolean) => void;
|
|
5
|
-
[stretchLastChildProperty.getDefault]: () => boolean;
|
|
6
|
-
[stretchLastChildProperty.setNative]: (value: boolean) => void;
|
|
7
4
|
nativeViewProtected: org.nativescript.widgets.DockLayout;
|
|
8
5
|
createNativeView(): org.nativescript.widgets.DockLayout;
|
|
9
6
|
}
|
|
@@ -1,23 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FlexboxLayoutBase } from './flexbox-layout-common';
|
|
2
2
|
import { CoreTypes } from '../../../core-types';
|
|
3
3
|
import { View } from '../../core/view';
|
|
4
4
|
export * from './flexbox-layout-common';
|
|
5
5
|
export declare class FlexboxLayout extends FlexboxLayoutBase {
|
|
6
|
-
[flexDirectionProperty.setNative]: (flexDirection: FlexDirection) => void;
|
|
7
|
-
[flexWrapProperty.setNative]: (flexWrap: FlexWrap) => void;
|
|
8
|
-
[justifyContentProperty.setNative]: (justifyContent: JustifyContent) => void;
|
|
9
|
-
[alignItemsProperty.setNative]: (alignItems: AlignItems) => void;
|
|
10
|
-
[alignContentProperty.setNative]: (alignContent: AlignContent) => void;
|
|
11
|
-
[flexDirectionProperty.getDefault]: () => FlexDirection;
|
|
12
|
-
[flexDirectionProperty.setNative]: (flexDirection: FlexDirection) => void;
|
|
13
|
-
[flexWrapProperty.getDefault]: () => FlexWrap;
|
|
14
|
-
[flexWrapProperty.setNative]: (flexWrap: FlexWrap) => void;
|
|
15
|
-
[justifyContentProperty.getDefault]: () => JustifyContent;
|
|
16
|
-
[justifyContentProperty.setNative]: (justifyContent: JustifyContent) => void;
|
|
17
|
-
[alignItemsProperty.getDefault]: () => AlignItems;
|
|
18
|
-
[alignItemsProperty.setNative]: (alignItems: AlignItems) => void;
|
|
19
|
-
[alignContentProperty.getDefault]: () => AlignContent;
|
|
20
|
-
[alignContentProperty.setNative]: (alignContent: AlignContent) => void;
|
|
21
6
|
nativeViewProtected: org.nativescript.widgets.FlexboxLayout;
|
|
22
7
|
constructor();
|
|
23
8
|
createNativeView(): org.nativescript.widgets.FlexboxLayout;
|
|
@@ -1,23 +1,4 @@
|
|
|
1
|
-
import { LayoutBaseCommon
|
|
2
|
-
import { paddingLeftProperty, paddingTopProperty, paddingRightProperty, paddingBottomProperty } from '../styling/style-properties';
|
|
3
|
-
import { CoreTypes } from '../../core-types';
|
|
1
|
+
import { LayoutBaseCommon } from './layout-base-common';
|
|
4
2
|
export * from './layout-base-common';
|
|
5
3
|
export declare class LayoutBase extends LayoutBaseCommon {
|
|
6
|
-
[clipToBoundsProperty.setNative]: (value: boolean) => void;
|
|
7
|
-
[isPassThroughParentEnabledProperty.setNative]: (value: boolean) => void;
|
|
8
|
-
[paddingTopProperty.setNative]: (value: CoreTypes.LengthType) => void;
|
|
9
|
-
[paddingRightProperty.setNative]: (value: CoreTypes.LengthType) => void;
|
|
10
|
-
[paddingBottomProperty.setNative]: (value: CoreTypes.LengthType) => void;
|
|
11
|
-
[paddingLeftProperty.setNative]: (value: CoreTypes.LengthType) => void;
|
|
12
|
-
[clipToBoundsProperty.getDefault]: () => boolean;
|
|
13
|
-
[clipToBoundsProperty.setNative]: (value: boolean) => void;
|
|
14
|
-
[isPassThroughParentEnabledProperty.setNative]: (value: boolean) => void;
|
|
15
|
-
[paddingTopProperty.getDefault]: () => CoreTypes.LengthType;
|
|
16
|
-
[paddingTopProperty.setNative]: (value: CoreTypes.LengthType) => void;
|
|
17
|
-
[paddingRightProperty.getDefault]: () => CoreTypes.LengthType;
|
|
18
|
-
[paddingRightProperty.setNative]: (value: CoreTypes.LengthType) => void;
|
|
19
|
-
[paddingBottomProperty.getDefault]: () => CoreTypes.LengthType;
|
|
20
|
-
[paddingBottomProperty.setNative]: (value: CoreTypes.LengthType) => void;
|
|
21
|
-
[paddingLeftProperty.getDefault]: () => CoreTypes.LengthType;
|
|
22
|
-
[paddingLeftProperty.setNative]: (value: CoreTypes.LengthType) => void;
|
|
23
4
|
}
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
import { LayoutBaseCommon
|
|
1
|
+
import { LayoutBaseCommon } from './layout-base-common';
|
|
2
2
|
import { View } from '../core/view';
|
|
3
3
|
export * from './layout-base-common';
|
|
4
4
|
export declare class LayoutBase extends LayoutBaseCommon {
|
|
5
|
-
[clipToBoundsProperty.setNative]: (value: boolean) => void;
|
|
6
|
-
[isPassThroughParentEnabledProperty.setNative]: (value: boolean) => void;
|
|
7
|
-
[clipToBoundsProperty.getDefault]: () => boolean;
|
|
8
|
-
[clipToBoundsProperty.setNative]: (value: boolean) => void;
|
|
9
|
-
[isPassThroughParentEnabledProperty.setNative]: (value: boolean) => void;
|
|
10
5
|
nativeViewProtected: UIView;
|
|
11
6
|
addChild(child: View): void;
|
|
12
7
|
insertChild(child: View, atIndex: number): boolean;
|
|
@@ -2,7 +2,6 @@ import { Color } from '../../../color';
|
|
|
2
2
|
import { RootLayoutBase, defaultShadeCoverOptions } from './root-layout-common';
|
|
3
3
|
import { parseLinearGradient } from '../../../css/parser';
|
|
4
4
|
import { LinearGradient } from '../../styling/linear-gradient';
|
|
5
|
-
import { layout } from '../../../utils';
|
|
6
5
|
export * from './root-layout-common';
|
|
7
6
|
export class RootLayout extends RootLayoutBase {
|
|
8
7
|
insertChild(view, atIndex) {
|
|
@@ -31,19 +30,11 @@ export class RootLayout extends RootLayoutBase {
|
|
|
31
30
|
view.nativeViewProtected.bringToFront();
|
|
32
31
|
}
|
|
33
32
|
_initShadeCover(view, shadeOptions) {
|
|
34
|
-
const
|
|
33
|
+
const initialState = {
|
|
35
34
|
...defaultShadeCoverOptions.animation.enterFrom,
|
|
36
35
|
...shadeOptions?.animation?.enterFrom,
|
|
37
36
|
};
|
|
38
|
-
|
|
39
|
-
if (nativeView) {
|
|
40
|
-
nativeView.setAlpha(options.opacity);
|
|
41
|
-
nativeView.setScaleX(float(options.scaleX));
|
|
42
|
-
nativeView.setScaleY(float(options.scaleY));
|
|
43
|
-
nativeView.setTranslationX(layout.toDevicePixels(options.translateX));
|
|
44
|
-
nativeView.setTranslationY(layout.toDevicePixels(options.translateY));
|
|
45
|
-
nativeView.setRotation(float(options.rotate));
|
|
46
|
-
}
|
|
37
|
+
this._playAnimation(this._getAnimationSet(view, initialState));
|
|
47
38
|
}
|
|
48
39
|
_updateShadeCover(view, shadeOptions) {
|
|
49
40
|
const options = {
|
|
@@ -51,19 +42,6 @@ export class RootLayout extends RootLayoutBase {
|
|
|
51
42
|
...shadeOptions,
|
|
52
43
|
};
|
|
53
44
|
const duration = options.animation?.enterFrom?.duration || defaultShadeCoverOptions.animation.enterFrom.duration;
|
|
54
|
-
const isBackgroundGradient = options.color && options.color.startsWith('linear-gradient');
|
|
55
|
-
if (isBackgroundGradient) {
|
|
56
|
-
if (view.backgroundColor) {
|
|
57
|
-
view.backgroundColor = undefined;
|
|
58
|
-
}
|
|
59
|
-
const parsedGradient = parseLinearGradient(options.color);
|
|
60
|
-
view.backgroundImage = LinearGradient.parse(parsedGradient.value);
|
|
61
|
-
}
|
|
62
|
-
else {
|
|
63
|
-
if (view.backgroundImage) {
|
|
64
|
-
view.backgroundImage = undefined;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
45
|
return this._playAnimation(this._getAnimationSet(view, {
|
|
68
46
|
translateX: 0,
|
|
69
47
|
translateY: 0,
|
|
@@ -71,7 +49,7 @@ export class RootLayout extends RootLayoutBase {
|
|
|
71
49
|
scaleY: 1,
|
|
72
50
|
rotate: 0,
|
|
73
51
|
opacity: options.opacity,
|
|
74
|
-
},
|
|
52
|
+
}, options.color), duration);
|
|
75
53
|
}
|
|
76
54
|
_closeShadeCover(view, shadeOptions) {
|
|
77
55
|
const exitState = {
|
|
@@ -80,15 +58,26 @@ export class RootLayout extends RootLayoutBase {
|
|
|
80
58
|
};
|
|
81
59
|
return this._playAnimation(this._getAnimationSet(view, exitState), exitState?.duration);
|
|
82
60
|
}
|
|
83
|
-
_getAnimationSet(view, shadeCoverAnimation, backgroundColor) {
|
|
84
|
-
const
|
|
85
|
-
animationSet
|
|
86
|
-
animationSet[
|
|
61
|
+
_getAnimationSet(view, shadeCoverAnimation, backgroundColor = defaultShadeCoverOptions.color) {
|
|
62
|
+
const isBackgroundGradient = backgroundColor && backgroundColor.startsWith('linear-gradient');
|
|
63
|
+
const animationSet = Array.create(android.animation.Animator, isBackgroundGradient ? 6 : 7);
|
|
64
|
+
animationSet[0] = android.animation.ObjectAnimator.ofFloat(view.nativeViewProtected, 'translationX', [shadeCoverAnimation.translateX]);
|
|
65
|
+
animationSet[1] = android.animation.ObjectAnimator.ofFloat(view.nativeViewProtected, 'translationY', [shadeCoverAnimation.translateY]);
|
|
87
66
|
animationSet[2] = android.animation.ObjectAnimator.ofFloat(view.nativeViewProtected, 'scaleX', [shadeCoverAnimation.scaleX]);
|
|
88
67
|
animationSet[3] = android.animation.ObjectAnimator.ofFloat(view.nativeViewProtected, 'scaleY', [shadeCoverAnimation.scaleY]);
|
|
89
68
|
animationSet[4] = android.animation.ObjectAnimator.ofFloat(view.nativeViewProtected, 'rotation', [shadeCoverAnimation.rotate]);
|
|
90
69
|
animationSet[5] = android.animation.ObjectAnimator.ofFloat(view.nativeViewProtected, 'alpha', [shadeCoverAnimation.opacity]);
|
|
91
|
-
if (
|
|
70
|
+
if (isBackgroundGradient) {
|
|
71
|
+
if (view.backgroundColor) {
|
|
72
|
+
view.backgroundColor = undefined;
|
|
73
|
+
}
|
|
74
|
+
const parsedGradient = parseLinearGradient(backgroundColor);
|
|
75
|
+
view.backgroundImage = LinearGradient.parse(parsedGradient.value);
|
|
76
|
+
}
|
|
77
|
+
else {
|
|
78
|
+
if (view.backgroundImage) {
|
|
79
|
+
view.backgroundImage = undefined;
|
|
80
|
+
}
|
|
92
81
|
animationSet[6] = this._getBackgroundColorAnimator(view, backgroundColor);
|
|
93
82
|
}
|
|
94
83
|
return animationSet;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.android.js","sourceRoot":"","sources":["../../../../../../packages/core/ui/layouts/root-layout/index.android.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAEvC,OAAO,EAAE,cAAc,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AAEhF,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.android.js","sourceRoot":"","sources":["../../../../../../packages/core/ui/layouts/root-layout/index.android.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAEvC,OAAO,EAAE,cAAc,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AAEhF,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAE/D,cAAc,sBAAsB,CAAC;AAErC,MAAM,OAAO,UAAW,SAAQ,cAAc;IAC7C,WAAW,CAAC,IAAU,EAAE,OAAe;QACtC,IAAI,KAAK,CAAC,WAAW,CAAC,IAAI,EAAE,OAAO,CAAC,EAAE,CAAC;YACtC,IAAI,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,CAAC;gBACjC,gEAAgE;gBAChE,IAAI,IAAI,CAAC,mBAAmB,EAAE,CAAC;oBAC9B,IAAI,CAAC,mBAAmB,CAAC,kBAAkB,CAC1C,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC;wBACrC,OAAO,EAAE,UAAU,IAAI,EAAE,KAAK;4BAC7B,OAAO,IAAI,CAAC;wBACb,CAAC;qBACD,CAAC,CACF,CAAC;gBACH,CAAC;YACF,CAAC;YACD,OAAO,IAAI,CAAC;QACb,CAAC;QACD,OAAO,KAAK,CAAC;IACd,CAAC;IACD,WAAW,CAAC,IAAU;QACrB,IAAI,IAAI,CAAC,mBAAmB,EAAE,IAAI,IAAI,CAAC,mBAAmB,EAAE,CAAC;YAC5D,IAAI,CAAC,mBAAmB,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC;QACn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class StackLayout extends StackLayoutBase {
|
|
4
|
-
[orientationProperty.setNative]: (value: "horizontal" | "vertical") => void;
|
|
5
4
|
nativeViewProtected: org.nativescript.widgets.StackLayout;
|
|
6
5
|
createNativeView(): org.nativescript.widgets.StackLayout;
|
|
7
6
|
}
|
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
import { WrapLayoutBase
|
|
2
|
-
import { CoreTypes } from '../../../core-types';
|
|
1
|
+
import { WrapLayoutBase } from './wrap-layout-common';
|
|
3
2
|
export * from './wrap-layout-common';
|
|
4
3
|
export declare class WrapLayout extends WrapLayoutBase {
|
|
5
|
-
[orientationProperty.setNative]: (value: "horizontal" | "vertical") => void;
|
|
6
|
-
[itemWidthProperty.setNative]: (value: CoreTypes.LengthType) => void;
|
|
7
|
-
[itemHeightProperty.setNative]: (value: CoreTypes.LengthType) => void;
|
|
8
4
|
nativeViewProtected: org.nativescript.widgets.WrapLayout;
|
|
9
5
|
createNativeView(): org.nativescript.widgets.WrapLayout;
|
|
10
6
|
}
|
|
@@ -1,17 +1,6 @@
|
|
|
1
|
-
import { ListPickerBase
|
|
2
|
-
import { colorProperty } from '../styling/style-properties';
|
|
3
|
-
import { Color } from '../../color';
|
|
1
|
+
import { ListPickerBase } from './list-picker-common';
|
|
4
2
|
export * from './list-picker-common';
|
|
5
3
|
export declare class ListPicker extends ListPickerBase {
|
|
6
|
-
[selectedIndexProperty.setNative]: (value: number) => void;
|
|
7
|
-
[itemsProperty.setNative]: (value: any[] | ItemsSource) => void;
|
|
8
|
-
[colorProperty.setNative]: (value: number | Color) => void;
|
|
9
|
-
[selectedIndexProperty.getDefault]: () => number;
|
|
10
|
-
[selectedIndexProperty.setNative]: (value: number) => void;
|
|
11
|
-
[itemsProperty.getDefault]: () => any[];
|
|
12
|
-
[itemsProperty.setNative]: (value: any[] | ItemsSource) => void;
|
|
13
|
-
[colorProperty.getDefault]: () => number;
|
|
14
|
-
[colorProperty.setNative]: (value: number | Color) => void;
|
|
15
4
|
nativeViewProtected: android.widget.NumberPicker;
|
|
16
5
|
private _selectorWheelPaint;
|
|
17
6
|
createNativeView(): globalAndroid.widget.NumberPicker;
|
|
@@ -1,17 +1,6 @@
|
|
|
1
|
-
import { ListPickerBase
|
|
2
|
-
import { Color } from '../../color';
|
|
3
|
-
import { colorProperty } from '../styling/style-properties';
|
|
1
|
+
import { ListPickerBase } from './list-picker-common';
|
|
4
2
|
export * from './list-picker-common';
|
|
5
3
|
export declare class ListPicker extends ListPickerBase {
|
|
6
|
-
[selectedIndexProperty.setNative]: (value: number) => void;
|
|
7
|
-
[itemsProperty.setNative]: (value: any[] | ItemsSource) => void;
|
|
8
|
-
[colorProperty.setNative]: (value: UIColor | Color) => void;
|
|
9
|
-
[selectedIndexProperty.getDefault]: () => number;
|
|
10
|
-
[selectedIndexProperty.setNative]: (value: number) => void;
|
|
11
|
-
[itemsProperty.getDefault]: () => any[];
|
|
12
|
-
[itemsProperty.setNative]: (value: any[] | ItemsSource) => void;
|
|
13
|
-
[colorProperty.getDefault]: () => UIColor;
|
|
14
|
-
[colorProperty.setNative]: (value: UIColor | Color) => void;
|
|
15
4
|
nativeViewProtected: UIPickerView;
|
|
16
5
|
private _dataSource;
|
|
17
6
|
private _delegate;
|
|
@@ -1,23 +1,7 @@
|
|
|
1
|
-
import { ListViewBase
|
|
2
|
-
import { View
|
|
3
|
-
import { Color } from '../../color';
|
|
1
|
+
import { ListViewBase } from './list-view-common';
|
|
2
|
+
import { View } from '../core/view';
|
|
4
3
|
export * from './list-view-common';
|
|
5
4
|
export declare class ListView extends ListViewBase {
|
|
6
|
-
[separatorColorProperty.setNative]: (value: Color | {
|
|
7
|
-
dividerHeight: number;
|
|
8
|
-
divider: android.graphics.drawable.Drawable;
|
|
9
|
-
}) => void;
|
|
10
|
-
[itemTemplatesProperty.setNative]: (value: KeyedTemplate[]) => void;
|
|
11
|
-
[separatorColorProperty.getDefault]: () => {
|
|
12
|
-
dividerHeight: number;
|
|
13
|
-
divider: android.graphics.drawable.Drawable;
|
|
14
|
-
};
|
|
15
|
-
[separatorColorProperty.setNative]: (value: Color | {
|
|
16
|
-
dividerHeight: number;
|
|
17
|
-
divider: android.graphics.drawable.Drawable;
|
|
18
|
-
}) => void;
|
|
19
|
-
[itemTemplatesProperty.getDefault]: () => KeyedTemplate[];
|
|
20
|
-
[itemTemplatesProperty.setNative]: (value: KeyedTemplate[]) => void;
|
|
21
5
|
nativeViewProtected: android.widget.ListView;
|
|
22
6
|
private _androidViewId;
|
|
23
7
|
_realizedItems: Map<globalAndroid.view.View, {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { ListViewBase
|
|
1
|
+
import { ListViewBase } from './list-view-common';
|
|
2
2
|
import { CoreTypes } from '../../core-types';
|
|
3
|
-
import { View
|
|
4
|
-
import { Color } from '../../color';
|
|
3
|
+
import { View } from '../core/view';
|
|
5
4
|
export * from './list-view-common';
|
|
6
5
|
declare class ListViewCell extends UITableViewCell {
|
|
7
6
|
static initWithEmptyBackground(): ListViewCell;
|
|
@@ -11,15 +10,6 @@ declare class ListViewCell extends UITableViewCell {
|
|
|
11
10
|
owner: WeakRef<View>;
|
|
12
11
|
}
|
|
13
12
|
export declare class ListView extends ListViewBase {
|
|
14
|
-
[separatorColorProperty.setNative]: (value: Color | UIColor) => void;
|
|
15
|
-
[itemTemplatesProperty.setNative]: (value: KeyedTemplate[]) => void;
|
|
16
|
-
[iosEstimatedRowHeightProperty.setNative]: (value: CoreTypes.LengthType) => void;
|
|
17
|
-
[separatorColorProperty.getDefault]: () => UIColor;
|
|
18
|
-
[separatorColorProperty.setNative]: (value: Color | UIColor) => void;
|
|
19
|
-
[itemTemplatesProperty.getDefault]: () => KeyedTemplate[];
|
|
20
|
-
[itemTemplatesProperty.setNative]: (value: KeyedTemplate[]) => void;
|
|
21
|
-
[iosEstimatedRowHeightProperty.getDefault]: () => CoreTypes.LengthType;
|
|
22
|
-
[iosEstimatedRowHeightProperty.setNative]: (value: CoreTypes.LengthType) => void;
|
|
23
13
|
nativeViewProtected: UITableView;
|
|
24
14
|
private _dataSource;
|
|
25
15
|
private _delegate;
|
|
@@ -1,25 +1,7 @@
|
|
|
1
|
-
import { PageBase
|
|
1
|
+
import { PageBase } from './page-common';
|
|
2
2
|
import { View } from '../core/view';
|
|
3
|
-
import { Color } from '../../color';
|
|
4
3
|
export * from './page-common';
|
|
5
4
|
export declare class Page extends PageBase {
|
|
6
|
-
[actionBarHiddenProperty.setNative]: (value: boolean) => void;
|
|
7
|
-
[statusBarStyleProperty.setNative]: (value: "dark" | "light" | {
|
|
8
|
-
color: number;
|
|
9
|
-
systemUiVisibility: number;
|
|
10
|
-
}) => void;
|
|
11
|
-
[androidStatusBarBackgroundProperty.setNative]: (value: number | Color) => void;
|
|
12
|
-
[actionBarHiddenProperty.setNative]: (value: boolean) => void;
|
|
13
|
-
[statusBarStyleProperty.getDefault]: () => {
|
|
14
|
-
color: number;
|
|
15
|
-
systemUiVisibility: number;
|
|
16
|
-
};
|
|
17
|
-
[statusBarStyleProperty.setNative]: (value: "dark" | "light" | {
|
|
18
|
-
color: number;
|
|
19
|
-
systemUiVisibility: number;
|
|
20
|
-
}) => void;
|
|
21
|
-
[androidStatusBarBackgroundProperty.getDefault]: () => number;
|
|
22
|
-
[androidStatusBarBackgroundProperty.setNative]: (value: number | Color) => void;
|
|
23
5
|
nativeViewProtected: org.nativescript.widgets.GridLayout;
|
|
24
6
|
createNativeView(): org.nativescript.widgets.GridLayout;
|
|
25
7
|
initNativeView(): void;
|
package/ui/page/index.ios.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { View } from '../core/view';
|
|
2
|
-
import { PageBase
|
|
2
|
+
import { PageBase } from './page-common';
|
|
3
3
|
export * from './page-common';
|
|
4
4
|
declare class UIViewControllerImpl extends UIViewController {
|
|
5
5
|
private _owner;
|
|
@@ -24,11 +24,6 @@ declare class UIViewControllerImpl extends UIViewController {
|
|
|
24
24
|
get preferredStatusBarStyle(): UIStatusBarStyle;
|
|
25
25
|
}
|
|
26
26
|
export declare class Page extends PageBase {
|
|
27
|
-
[actionBarHiddenProperty.setNative]: (value: boolean) => void;
|
|
28
|
-
[statusBarStyleProperty.setNative]: (value: string | UIBarStyle) => void;
|
|
29
|
-
[actionBarHiddenProperty.setNative]: (value: boolean) => void;
|
|
30
|
-
[statusBarStyleProperty.getDefault]: () => UIBarStyle;
|
|
31
|
-
[statusBarStyleProperty.setNative]: (value: string | UIBarStyle) => void;
|
|
32
27
|
nativeViewProtected: UIView;
|
|
33
28
|
viewController: UIViewControllerImpl;
|
|
34
29
|
onAccessibilityPerformEscape: () => boolean;
|
|
@@ -1,23 +1,6 @@
|
|
|
1
|
-
import { ProgressBase
|
|
2
|
-
import { Color } from '../../color';
|
|
3
|
-
import { colorProperty, backgroundColorProperty, backgroundInternalProperty } from '../styling/style-properties';
|
|
1
|
+
import { ProgressBase } from './progress-common';
|
|
4
2
|
export * from './progress-common';
|
|
5
3
|
export declare class Progress extends ProgressBase {
|
|
6
|
-
[valueProperty.setNative]: (value: number) => void;
|
|
7
|
-
[maxValueProperty.setNative]: (value: number) => void;
|
|
8
|
-
[colorProperty.setNative]: (value: Color) => void;
|
|
9
|
-
[backgroundColorProperty.setNative]: (value: Color) => void;
|
|
10
|
-
[backgroundInternalProperty.setNative]: (value: Color) => void;
|
|
11
|
-
[valueProperty.getDefault]: () => number;
|
|
12
|
-
[valueProperty.setNative]: (value: number) => void;
|
|
13
|
-
[maxValueProperty.getDefault]: () => number;
|
|
14
|
-
[maxValueProperty.setNative]: (value: number) => void;
|
|
15
|
-
[colorProperty.getDefault]: () => android.graphics.drawable.Drawable;
|
|
16
|
-
[colorProperty.setNative]: (value: Color) => void;
|
|
17
|
-
[backgroundColorProperty.getDefault]: () => number;
|
|
18
|
-
[backgroundColorProperty.setNative]: (value: Color) => void;
|
|
19
|
-
[backgroundInternalProperty.getDefault]: () => number;
|
|
20
|
-
[backgroundInternalProperty.setNative]: (value: Color) => void;
|
|
21
4
|
nativeViewProtected: android.widget.ProgressBar;
|
|
22
5
|
createNativeView(): globalAndroid.widget.ProgressBar;
|
|
23
6
|
}
|
|
@@ -1,23 +1,6 @@
|
|
|
1
|
-
import { ProgressBase
|
|
2
|
-
import { Color } from '../../color';
|
|
3
|
-
import { colorProperty, backgroundColorProperty, backgroundInternalProperty } from '../styling/style-properties';
|
|
1
|
+
import { ProgressBase } from './progress-common';
|
|
4
2
|
export * from './progress-common';
|
|
5
3
|
export declare class Progress extends ProgressBase {
|
|
6
|
-
[valueProperty.setNative]: (value: number) => void;
|
|
7
|
-
[maxValueProperty.setNative]: (value: number) => void;
|
|
8
|
-
[colorProperty.setNative]: (value: Color | UIColor) => void;
|
|
9
|
-
[backgroundColorProperty.setNative]: (value: UIColor | Color) => void;
|
|
10
|
-
[backgroundInternalProperty.setNative]: (value: Color) => void;
|
|
11
|
-
[valueProperty.getDefault]: () => number;
|
|
12
|
-
[valueProperty.setNative]: (value: number) => void;
|
|
13
|
-
[maxValueProperty.getDefault]: () => number;
|
|
14
|
-
[maxValueProperty.setNative]: (value: number) => void;
|
|
15
|
-
[colorProperty.getDefault]: () => UIColor;
|
|
16
|
-
[colorProperty.setNative]: (value: Color | UIColor) => void;
|
|
17
|
-
[backgroundColorProperty.getDefault]: () => UIColor;
|
|
18
|
-
[backgroundColorProperty.setNative]: (value: UIColor | Color) => void;
|
|
19
|
-
[backgroundInternalProperty.getDefault]: () => UIColor;
|
|
20
|
-
[backgroundInternalProperty.setNative]: (value: Color) => void;
|
|
21
4
|
nativeViewProtected: UIProgressView;
|
|
22
5
|
createNativeView(): UIProgressView;
|
|
23
6
|
get ios(): UIProgressView;
|
|
@@ -1,15 +1,6 @@
|
|
|
1
|
-
import { ScrollViewBase
|
|
2
|
-
import { isUserInteractionEnabledProperty } from '../core/view';
|
|
1
|
+
import { ScrollViewBase } from './scroll-view-common';
|
|
3
2
|
export * from './scroll-view-common';
|
|
4
3
|
export declare class ScrollView extends ScrollViewBase {
|
|
5
|
-
[isUserInteractionEnabledProperty.setNative]: (value: boolean) => void;
|
|
6
|
-
[isScrollEnabledProperty.setNative]: (value: boolean) => void;
|
|
7
|
-
[scrollBarIndicatorVisibleProperty.setNative]: (value: boolean) => void;
|
|
8
|
-
[isUserInteractionEnabledProperty.setNative]: (value: boolean) => void;
|
|
9
|
-
[isScrollEnabledProperty.getDefault]: () => boolean;
|
|
10
|
-
[isScrollEnabledProperty.setNative]: (value: boolean) => void;
|
|
11
|
-
[scrollBarIndicatorVisibleProperty.getDefault]: () => boolean;
|
|
12
|
-
[scrollBarIndicatorVisibleProperty.setNative]: (value: boolean) => void;
|
|
13
4
|
nativeViewProtected: org.nativescript.widgets.VerticalScrollView | org.nativescript.widgets.HorizontalScrollView;
|
|
14
5
|
private _androidViewId;
|
|
15
6
|
private handler;
|
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
import { ScrollViewBase
|
|
1
|
+
import { ScrollViewBase } from './scroll-view-common';
|
|
2
2
|
export * from './scroll-view-common';
|
|
3
3
|
export declare class ScrollView extends ScrollViewBase {
|
|
4
|
-
[isScrollEnabledProperty.setNative]: (value: boolean) => void;
|
|
5
|
-
[scrollBarIndicatorVisibleProperty.setNative]: (value: boolean) => void;
|
|
6
|
-
[isScrollEnabledProperty.getDefault]: () => boolean;
|
|
7
|
-
[isScrollEnabledProperty.setNative]: (value: boolean) => void;
|
|
8
|
-
[scrollBarIndicatorVisibleProperty.getDefault]: () => boolean;
|
|
9
|
-
[scrollBarIndicatorVisibleProperty.setNative]: (value: boolean) => void;
|
|
10
4
|
nativeViewProtected: UIScrollView;
|
|
11
5
|
private _contentMeasuredWidth;
|
|
12
6
|
private _contentMeasuredHeight;
|
|
@@ -1,47 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { SearchBarBase, textProperty, hintProperty, textFieldHintColorProperty, textFieldBackgroundColorProperty } from './search-bar-common';
|
|
3
|
-
import { isUserInteractionEnabledProperty, isEnabledProperty } from '../core/view';
|
|
4
|
-
import { Color } from '../../color';
|
|
5
|
-
import { colorProperty, backgroundColorProperty, backgroundInternalProperty, fontInternalProperty, fontSizeProperty } from '../styling/style-properties';
|
|
1
|
+
import { SearchBarBase } from './search-bar-common';
|
|
6
2
|
export * from './search-bar-common';
|
|
7
3
|
export declare class SearchBar extends SearchBarBase {
|
|
8
|
-
[isEnabledProperty.setNative]: (value: boolean) => void;
|
|
9
|
-
[isUserInteractionEnabledProperty.setNative]: (value: boolean) => void;
|
|
10
|
-
[backgroundColorProperty.setNative]: (value: Color) => void;
|
|
11
|
-
[colorProperty.setNative]: (value: Color) => void;
|
|
12
|
-
[fontSizeProperty.setNative]: (value: number | {
|
|
13
|
-
nativeSize: number;
|
|
14
|
-
}) => void;
|
|
15
|
-
[fontInternalProperty.setNative]: (value: Font | android.graphics.Typeface) => void;
|
|
16
|
-
[backgroundInternalProperty.setNative]: (value: any) => void;
|
|
17
|
-
[textProperty.setNative]: (value: string) => void;
|
|
18
|
-
[hintProperty.setNative]: (value: string) => void;
|
|
19
|
-
[textFieldBackgroundColorProperty.setNative]: (value: Color) => void;
|
|
20
|
-
[textFieldHintColorProperty.setNative]: (value: Color) => void;
|
|
21
|
-
[isEnabledProperty.setNative]: (value: boolean) => void;
|
|
22
|
-
[isUserInteractionEnabledProperty.setNative]: (value: boolean) => void;
|
|
23
|
-
[backgroundColorProperty.getDefault]: () => number;
|
|
24
|
-
[backgroundColorProperty.setNative]: (value: Color) => void;
|
|
25
|
-
[colorProperty.getDefault]: () => number;
|
|
26
|
-
[colorProperty.setNative]: (value: Color) => void;
|
|
27
|
-
[fontSizeProperty.getDefault]: () => {
|
|
28
|
-
nativeSize: number;
|
|
29
|
-
};
|
|
30
|
-
[fontSizeProperty.setNative]: (value: number | {
|
|
31
|
-
nativeSize: number;
|
|
32
|
-
}) => void;
|
|
33
|
-
[fontInternalProperty.getDefault]: () => android.graphics.Typeface;
|
|
34
|
-
[fontInternalProperty.setNative]: (value: Font | android.graphics.Typeface) => void;
|
|
35
|
-
[backgroundInternalProperty.getDefault]: () => any;
|
|
36
|
-
[backgroundInternalProperty.setNative]: (value: any) => void;
|
|
37
|
-
[textProperty.getDefault]: () => string;
|
|
38
|
-
[textProperty.setNative]: (value: string) => void;
|
|
39
|
-
[hintProperty.getDefault]: () => string;
|
|
40
|
-
[hintProperty.setNative]: (value: string) => void;
|
|
41
|
-
[textFieldBackgroundColorProperty.getDefault]: () => android.graphics.drawable.Drawable;
|
|
42
|
-
[textFieldBackgroundColorProperty.setNative]: (value: Color) => void;
|
|
43
|
-
[textFieldHintColorProperty.getDefault]: () => number;
|
|
44
|
-
[textFieldHintColorProperty.setNative]: (value: Color) => void;
|
|
45
4
|
nativeViewProtected: androidx.appcompat.widget.SearchView;
|
|
46
5
|
private _searchTextView;
|
|
47
6
|
private _searchPlate;
|
|
@@ -192,7 +192,6 @@ export class SearchBar extends SearchBarBase {
|
|
|
192
192
|
[textProperty.getDefault]() {
|
|
193
193
|
return '';
|
|
194
194
|
}
|
|
195
|
-
// @ts-expect-error
|
|
196
195
|
[textProperty.setNative](value) {
|
|
197
196
|
const text = value === null || value === undefined ? '' : value.toString();
|
|
198
197
|
this.nativeViewProtected.setQuery(text, false);
|
|
@@ -200,7 +199,6 @@ export class SearchBar extends SearchBarBase {
|
|
|
200
199
|
[hintProperty.getDefault]() {
|
|
201
200
|
return null;
|
|
202
201
|
}
|
|
203
|
-
// @ts-expect-error
|
|
204
202
|
[hintProperty.setNative](value) {
|
|
205
203
|
if (value === null || value === undefined) {
|
|
206
204
|
this.nativeViewProtected.setQueryHint(null);
|